You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
2.3 MiB

!function(){function t(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return n};var e,n={},i=Object.prototype,r=i.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(e){c=function(t,e,n){return t[e]=n}}function h(t,e,n,i){var r=e&&e.prototype instanceof _?e:_,a=Object.create(r.prototype),s=new P(i||[]);return o(a,"_invoke",{value:C(t,n,s)}),a}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=h;var p="suspendedStart",f="suspendedYield",g="executing",m="completed",v={};function _(){}function x(){}function b(){}var w={};c(w,s,(function(){return this}));var S=Object.getPrototypeOf,A=S&&S(S(R([])));A&&A!==i&&r.call(A,s)&&(w=A);var T=b.prototype=_.prototype=Object.create(w);function M(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function I(t,e){function n(i,o,a,s){var l=d(t[i],t,o);if("throw"!==l.type){var u=l.arg,c=u.value;return c&&"object"==y(c)&&r.call(c,"__await")?e.resolve(c.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(c).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(o,o):o()}})}function C(t,n,i){var r=p;return function(o,a){if(r===g)throw Error("Generator is already running");if(r===m){if("throw"===o)throw a;return{value:e,done:!0}}for(i.method=o,i.arg=a;;){var s=i.delegate;if(s){var l=D(s,i);if(l){if(l===v)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===p)throw r=m,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=g;var u=d(t,n,i);if("normal"===u.type){if(r=i.done?m:f,u.arg===v)continue;return{value:u.arg,done:i.done}}"throw"===u.type&&(r=m,i.method="throw",i.arg=u.arg)}}}function D(t,n){var i=n.method,r=t.iterator[i];if(r===e)return n.delegate=null,"throw"===i&&t.iterator.return&&(n.method="return",n.arg=e,D(t,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),v;var o=d(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function R(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(y(t)+" is not iterable")}return x.prototype=b,o(T,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:x,configurable:!0}),x.displayName=c(b,u,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===x||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(T),t},n.awrap=function(t){return{__await:t}},M(I.prototype),c(I.prototype,l,(function(){return this})),n.AsyncIterator=I,n.async=function(t,e,i,r,o){void 0===o&&(o=Promise);var a=new I(h(t,e,i,r),o);return n.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},M(T),c(T,u,"Generator"),c(T,s,(function(){return this})),c(T,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),n=[];for(var i in e)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},n.values=R,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(i,r){return s.type="throw",s.arg=t,n.next=i,r&&(n.method="next",n.arg=e),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;L(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(t,n,i){return this.delegate={iterator:R(t),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=e),v}},n}function e(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function n(t){return function(){var n=this,i=arguments;return new Promise((function(r,o){var a=t.apply(n,i);function s(t){e(a,r,o,s,l,"next",t)}function l(t){e(a,r,o,s,l,"throw",t)}s(void 0)}))}}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=u(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){u=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw r}}return s}}(t,e)||u(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e,n){return(e=d(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||u(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.")}()}function u(t,e){if(t){if("string"==typeof t)return c(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function h(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,d(i.key),i)}}function d(t){var e=function(t,e){if("object"!=y(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=y(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==y(e)?e:e+""}function p(t,e,n){return e=v(e),function(t,e){if(e&&("object"==y(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,g()?Reflect.construct(e,n||[],v(t).constructor):e.apply(t,n))}function f(t){var e="function"==typeof Map?new Map:void 0;return f=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return function(t,e,n){if(g())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,e);var r=new(t.bind.apply(t,i));return n&&m(r,n.prototype),r}(t,arguments,v(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),m(n,t)},f(t)}function g(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(g=function(){return!!t})()}function m(t,e){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},m(t,e)}function v(t){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},v(t)}function y(t){return y="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},y(t)}System.register(["./index-legacy-BceoyPKk.js"],(function(e,i){"use strict";var u,c,d,g,v,_,x,b,w,S,A,T,M,I,C,D,E,L,P,R,N,k,O,B,z,F,V,G,U,H,W,X,j,Y,Z,Q,q,J,K,$,tt,et,nt,it,rt,ot,at,st,lt,ut,ct,ht;return{setters:[function(t){u=t.d,c=t.r,d=t.a,g=t.o,v=t.b,_=t.c,x=t.e,b=t._,w=t.f,S=t.w,A=t.n,T=t.g,M=t.h,I=t.F,C=t.i,D=t.j,E=t.u,L=t.k,P=t.t,R=t.p,N=t.l,k=t.m,O=t.q,B=t.s,z=t.v,F=t.x,V=t.y,G=t.z,U=t.A,H=t.B,W=t.C,X=t.D,j=t.E,Y=t.G,Z=t.N,Q=t.H,q=t.I,J=t.J,K=t.K,$=t.T,tt=t.L,et=t.M,nt=t.O,it=t.P,rt=t.Q,ot=t.R,at=t.S,st=t.U,lt=t.V,ut=t.W,ct=t.X,ht=t.Y}],execute:function(){var dt=document.createElement("style");dt.textContent='@charset "UTF-8";*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*,body{padding:0;margin:0;font-family:PingFang SC,Lantinghei SC,Microsoft YaHei,HanHei SC,Helvetica Neue,Open Sans,Arial,Hiragino Sans GB,微软雅黑,STHeiti,WenQuanYi Micro Hei,SimSun,sans-serif,HYWenHei-GEW}body,html{height:100%}li{list-style-type:none}i{margin:0;padding:0;text-indent:0;font-style:normal}img{border:none;max-width:100%}a{text-decoration:none;color:#fff}a.active,a:focus{outline:0!important;text-decoration:none}h1,h2,h3,h4,h5,h6,ol,p,ul{padding:0;margin:0}a:hover{color:#06c;text-decoration:none!important}::-webkit-scrollbar{width:3px;position:absolute}::-webkit-scrollbar-thumb{background:red}::-webkit-scrollbar-track{background:#6c1a1a}body{color:#fff;font-size:14px;overflow-x:hidden;background:#000d4a url('+new URL("bg-Ca7X2M0b.jpg",i.meta.url).href+') center center;background-size:cover;color:rgba(255,255,255,.75);overflow:hidden}.videobg{position:fixed;width:100%;height:100%;left:0;top:0;z-index:1;background:#000;background:-webkit-radial-gradient(50% 10%,farthest-corner,#2a4fa9 0%,#101e42 50%,#0b1024,#000)}.videobg video{object-fit:cover;filter:blur(2px);opacity:.05;filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius="5");position:relative}.style1,.style2{position:absolute;width:100%;height:100%;pointer-events:none;border-radius:3px}.style2{border:none}.style1:before{width:100%;height:1px;content:"";background:linear-gradient(to right,rgba(255,255,255,.02),rgba(108,176,255,.1),rgba(255,255,255,.02));position:absolute;top:0}.style2:after,.style2:before{width:1px;height:100%;content:"";background:linear-gradient(to bottom,rgba(108,176,255,.04),rgba(255,255,255,0));position:absolute}.style2:before{left:-1px}.style2:after{right:-1px}body:before{content:"";position:absolute;width:100%;opacity:1;transition:all .5s;height:100%;top:0;left:0;pointer-events:none;background-color:transparent;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdcAAAHZCAYAAADUjnGxAAAKlUlEQVR4nO3d3WrjVhhAUfknM7Tv/5i9KxQ6k1jF4IsQjts0s2X7JGuBL2qYRv58pG1LItmt67pM4rAsy/7Npp6WZXmZ5QVM7Gmw6T+/+lBu4PuyLN/e/Jgfy7L8/Slf7WM5Lsuye7NFz8uyTHPAnNTuMvvX1svsp/I2VgDALxJXAIiJKwDExBUAYuIKADFxBYCYuAJATFwBICauABATVwCIiSsAxMQVAGLiCgAxcQWAmLgCQExcASAmrgAQE1cAiIkrAMTEFQBi4goAMXEFgJi4AkBMXAEgJq4AEBNXAIiJKwDExBUAYuIKADFxBYCYuAJATFwBICauABATVwCIiSsAxMQVAGLiCgAxcQWAmLgCQExcASAmrgAQE1cAiIkrAMSOy7IcJhnq3oeBuxnNfZZ1M7Pd5fHazuxvYj+Y/Xnu6yd9vY9iNzjerDOu+eNEwRLX+xnN3XuxvdGatx/cxiiuq7hu7lpcp5u7nRQAYuIKADFxBYDY+ZrraeKhnibf/lmMZmzu2xutb2v+NkY3k51cc93caO7rjGv+HNeXB9iOjzpNvv2zGJ3hMPftHQcH89Xsb2J0kH8R181di+t0a95pYQCIiSsAxMQVAGLiCgAxcQWAmLgCQExcASAmrgAQE1cAiIkrAMTEFQBi4goAMXEFgJi4AkBMXAEgJq4AEBNXAIiJKwDExBUAYuIKADFxBYCYuAJATFwBICauABATVwCIiSsAxMQVAGLiCgAxcQWAmLgCQExcASAmrgAQE1cAiIkrAMTEFQBi4goAMXEFgJi4AkBMXAEgJq4AEBNXAIiJKwDExBUAYuIKADFxBYCYuAJATFwBICauABATVwCIiSsAxMQVAGLiCgAxcQWAmLgCQExcASAmrgAQE1cAiIkrAMTEFQBi4goAMXEFgJi4AkBMXAEgJq4AEBNXAIiJKwDExBUAYuIKADFxBYCYuAJATFwBICauABATVwCIiSsAxMQVAGLiCgAxcQWAmLgCQExcASAmrgAQE1cAiIkrAMTEFQBi4goAMXEFgJi4AkBMXAEgJq4AEDsuy/I0yVD3gw8DJx8QbuL4BV7jIzpcHq8dJtpnZ3ae8+7N9p//e/3qg9nYbrDm18F78fCECQBi4goAMXEFgJi4AkDsfKPKz0mGerhyQ9PLnbbnq5tl3cxsP1jfL2Z/E6ObaJ7d0LS50U1j62X2U/HNFQBi4goAMXEFgJi4AkBMXAEgJq4AEBNXAIiJKwDExBUAYuIKADFxBYCYuAJATFwBICauABATVwCIiSsAxMQVAGLiCgAxcQWAmLgCQExcASAmrgAQE1cAiIkrAMTEFQBi4goAMXEFgJi4AkBMXAEgJq4AEBNXAIiJKwDExBUAYuIKADFxBYCYuAJATFwBICauABATVwCIiSsAxMQVAGLiCgAxcQWAmLgCQExcASAmrgAQE1cAiIkrAMTEFQBi4goAMXEFgJi4AkBMXAEgJq4AEBNXAIiJKwDExBUAYuIKADFxBYCYuAJATFwBICauABATVwCIiSsAxMQVAGLiCgAxcQWAmLgCQExcASAmrgAQE1cAiIkrAMTEFQBi4goAMXEFgNjRQOGhnT8AP73awMPl8Ze3DR6XuMJj2y3L8u3VFn677LfiCg/MaWEAiIkrAMTEFQBi4goAMXEFgJi4AkBMXAEgJq4AEBNXAIiJKwDExBUAYuffUfp9kqHuBh8GTn4/8k0cBj/EB7PtHa/MfjfRfjur/WXOr53fi/WrD2Zjo+P8emU/eGjHN78UfLahnyz2mxgt7JdP+Dq3NDpY/5fDldmfn/vtg9vqfXuf0fvleLO9a3E9zfZCfOuD23gKP8ieDz6/f/Df/un9hu05tQcAMXEFgNj5tPCPSYbqmuv9uOb66w4Pcn/DLPv7vbnmeh+f6prr3w+wHe9xuBJXB/ntPQ1+ws/P9iI3dvjAPQ67f1n3zx/c3Fn293s7DuL6LK6b2w32k/UX1vvduKEJbuOvy+P/+H65K/jtzUvnA80f3jd4XK65AkBMXAEgJq4AEBNXAIiJKwDExBUAYuIKADFxBYCYuAJATFwBICauABATVwCIiSsAxPxVHHhs5z+p+OerLfzhz8bB4/PNFQBi4goAMXEFgJi4AkBMXAEgJq4AEBNXAIiJKwDExBUAYuIKADFxBYCYuAJATFwBICauABATVwCIiSsAxMQVAGLiCgAxcQWAmLgCQExcASAmrgAQE1cAiIkrAMTEFQBi4goAMXEFgJi4AkBMXAEgJq4AEBNXAIiJKwDExBUAYuIKADFxBYCYuAJATFwBICauABATVwCIiSsAxMQVAGLiCgAxcQWAmLgCQExcASAmrgAQE1cAiIkrAMTEFQBi4goAMXEFgJi4AkBMXAEgJq4AEBNXAIiJKwDExBUAYuIKADFxBYCYuAJATFwBICauABATVwCIiSsAxMQVAGLiCgAxcQWAmLgCQExcASAmrgAQE1cAiIkrAMTEFQBix8tjBvvBh4Hd5cG2DoP/+2rmmxut+f1E++zMDleOLdb9tnaD482UMz9OFKdRSMX1NkYzNvftWfP3c232bOva+p5u9k4LA0BMXAEgJq4AEDtfc32eZKiHwYXt07IsL3fanq9kdL1jlnUzs8Nljb92MvubebvuXwbvB63RF751xjV/nOhOrHWwraPn2Gb273mOfu7W/H2MZnwy+82dBoGdcs07LQwAMXEFgJi4AkBMXAEgJq4AEBNXAIiJKwDExBUAYuIKADFxBYCYuAJATFwBICauABATVwCIiSsAxMQVAGLiCgAxcQWAmLgCQExcASAmrgAQE1cAiIkrAMTEFQBi4goAMXEFgJi4AkBMXAEgJq4AEBNXAIiJKwDExBUAYuIKADFxBYCYuAJATFwBICauABATVwCIiSsAxMQVAGLiCgAxcQWAmLgCQExcASAmrgAQE1cAiIkrAMTEFQBi4goAMXEFgJi4AkBMXAEgJq4AEBNXAIiJKwDExBUAYuIKADFxBYCYuAJATFwBICauABATVwCIiSsAxMQVAGLiCgAxcQWAmLgCQExcASAmrgAQE1cAiIkrAMTEFQBi4goAMXEFgJi4AkBMXAEgJq4AEBNXAIiJKwDExBUAYuIKADFxBYCYuAJATFwBICauABATVwCIiSsAxI7LsuwmGepusK2j59hm9u95jn7u1vx9jOZ8/jJy+ioDuJP9ZzneHC+PGewH37QdaG7jMPgp62d8oQ9mtOb3E+2zMztcObY427et3eB4M+WxxkIBgJi4AkBMXAEgdpzofPY62NbRc2wz+/c8Rz93a/4+rq15s9/ep1jz57g+P8B2vMdhMODznXsvj7m5n8roxo5Z1s3MDoO7U09mfzNv1/2zuG5udKxZZ1zzTgsDQExcASAmrgAQE1cAiIkrAMTEFQBi4goAMXEFgJi4AkBMXAEgJq4AEBNXAIiJKwDExBUAYuIKADFxBYCYuAJATFwBICauABATVwCIiSsAxMQVAGLiCgAxcQWAmLgCQExcASAmrgAQE1cAiIkrAMTEFQBi4goAMXEFgJi4AkBMXAEgJq4AEBNXAIiJKwDExBUAYuIKADFxBYCYuAJATFwBICauABATVwAoLcvyD7SBqBy6bQg1AAAAAElFTkSuQmCC);background-size:4.6875rem;background-repeat:repeat;background-attachment:initial;z-index:11;opacity:.8}body:after{position:absolute;top:0;left:0;z-index:1;content:"";width:100%;height:100%;background:url('+new URL("bg1-B6_C6NJE.png",i.meta.url).href+') no-repeat center top;opacity:.3;pointer-events:none}.mainbox{position:relative;z-index:10}.mainbox>ul{display:flex;padding:10px 15px}.mainbox>ul>li{width:25%;padding:0}.mainbox>ul,.mainbox>ul>li{height:100%}.tit{padding:10px 10px 0 30px;font-size:16px;font-weight:500;color:#bcdcff;position:relative;font-weight:bolder;display:flex}.tit:before{transform:rotate(45deg);border-radius:3px;position:absolute;content:"";width:6px;height:6px;border:2px solid #81bcff;left:12px;top:16px}.card{position:relative;height:300px;margin-bottom:10px;backdrop-filter:blur(3px);background:linear-gradient(135deg,rgba(0,169,247,.2),transparent,transparent,rgba(0,169,247,.1));box-shadow:0 0 20px rgba(0,0,0,.1)}.card:before{position:absolute;right:0;top:0;pointer-events:none;content:"";border-right:2px solid #0793ff;border-top:2px solid #0793ff;width:calc(100% - 200px);height:calc(100% - 20px)}.card:after{position:absolute;left:190px;top:0;pointer-events:none;content:"";background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAALCAYAAADC6Ps2AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGsWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNy4wLWMwMDAgNzkuMTM1N2M5ZSwgMjAyMS8wNy8xNC0wMDozOTo1NiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjUgKFdpbmRvd3MpIiB4bXA6Q3JlYXRlRGF0ZT0iMjAyMi0xMS0wN1QyMzoxOToxMSswODowMCIgeG1wOk1vZGlmeURhdGU9IjIwMjItMTItMTRUMTc6MDY6MjArMDg6MDAiIHhtcDpNZXRhZGF0YURhdGU9IjIwMjItMTItMTRUMTc6MDY6MjArMDg6MDAiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIzIiBwaG90b3Nob3A6SUNDUHJvZmlsZT0ic1JHQiBJRUM2MTk2Ni0yLjEiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDUwZjA4NWMtNmVmNC04NTQyLTkzOTUtNzAyN2VjNzNhOTUzIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjAzZTQzZTc0LTk5NzItZDM0NS1iNjM2LTQwMjdmNjE5MzA2MyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjAzZTQzZTc0LTk5NzItZDM0NS1iNjM2LTQwMjdmNjE5MzA2MyI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDNlNDNlNzQtOTk3Mi1kMzQ1LWI2MzYtNDAyN2Y2MTkzMDYzIiBzdEV2dDp3aGVuPSIyMDIyLTExLTA3VDIzOjE5OjExKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjIuNSAoV2luZG93cykiLz4gPHJkZjpsaSBzdEV2dDphY3Rpb249InNhdmVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjBkMmVkZTE5LTVhMWMtNjM0My1iNGFiLWM3NTljYjA4MjA5NiIgc3RFdnQ6d2hlbj0iMjAyMi0xMi0xMFQxOTowNTowNSswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIDIyLjUgKFdpbmRvd3MpIiBzdEV2dDpjaGFuZ2VkPSIvIi8+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJzYXZlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NTBmMDg1Yy02ZWY0LTg1NDItOTM5NS03MDI3ZWM3M2E5NTMiIHN0RXZ0OndoZW49IjIwMjItMTItMTRUMTc6MDY6MjArMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMi41IChXaW5kb3dzKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4Tw9zRAAABX0lEQVRIib3UvUpcQQCG4WejsImo9yAEUigoFhZeQ1qjJKkS8Qe0UC9AvQGDrMEfMJWCKSy9BYsUgoWF6FVIUKy0mFk8rrvrYVbmhYGBmfPOd74znEq19qANC6i12/AKW1h8A09utiptihnFKaqJ8jOMY7BDT27OMP6uxWI//gov8xuVkmM+Pn+Dyfh8iif3aMx9392imD18jO2ttNjTyAh+xfkMrnGU4MnNiJe5Nbsxs0JrN5jCfQl5n1DCe+wKt2QuwZObYu4dITdeFjPsqb1ZXJU8YAefcI6l6NlI8OSmmHu5uFAspldo7IPw1Y9KyqfxFf+FG9KV6MlNY+674mLxH7Pt+VcvwxA243welzhI8OSmmHtOyP2MejE/8D3Oj/G55AHr6MEfoZCf+JbgyU099z4Om22oVGsPg/gXN6ZwgTEMdOjJTT33bbPFbkzgpIMD1qL8S4ee3KxqUQo8AnjuT82IgM+GAAAAAElFTkSuQmCC);width:70px;height:11px}.boxnav{padding:10px 15px;height:calc(100% - 33px);position:relative;z-index:10}.boxnav:before{position:absolute;left:0;bottom:0;pointer-events:none;content:"";border-left:2px solid #0793ff;border-bottom:2px solid #0793ff;width:calc(100% - 100px);height:calc(100% - 50px)}.boxnav:after{position:absolute;right:0;bottom:0;pointer-events:none;content:"";background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAAALCAYAAAA3FnCGAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGsWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNy4wLWMwMDAgNzkuMTM1N2M5ZSwgMjAyMS8wNy8xNC0wMDozOTo1NiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjUgKFdpbmRvd3MpIiB4bXA6Q3JlYXRlRGF0ZT0iMjAyMi0xMS0wN1QyMzoxOToxMSswODowMCIgeG1wOk1vZGlmeURhdGU9IjIwMjItMTItMTRUMTc6MDY6MjYrMDg6MDAiIHhtcDpNZXRhZGF0YURhdGU9IjIwMjItMTItMTRUMTc6MDY6MjYrMDg6MDAiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIzIiBwaG90b3Nob3A6SUNDUHJvZmlsZT0ic1JHQiBJRUM2MTk2Ni0yLjEiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ZTljMmIwNzQtZmJlYi0wMDRjLTg0NTgtODU3MWJiNDEyODY4IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjcwZThkM2JjLTI0NGEtYzQ0My1hYzNjLTkzMDI4ODlkNWIyNCIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjcwZThkM2JjLTI0NGEtYzQ0My1hYzNjLTkzMDI4ODlkNWIyNCI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6NzBlOGQzYmMtMjQ0YS1jNDQzLWFjM2MtOTMwMjg4OWQ1YjI0IiBzdEV2dDp3aGVuPSIyMDIyLTExLTA3VDIzOjE5OjExKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjIuNSAoV2luZG93cykiLz4gPHJkZjpsaSBzdEV2dDphY3Rpb249InNhdmVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOmNkNWE1YmZmLTVjMzQtODA0MC1iODAyLTE0ZDU2MmU4MmFiNiIgc3RFdnQ6d2hlbj0iMjAyMi0xMi0xMFQxOTowNTowMSswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIDIyLjUgKFdpbmRvd3MpIiBzdEV2dDpjaGFuZ2VkPSIvIi8+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJzYXZlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDplOWMyYjA3NC1mYmViLTAwNGMtODQ1OC04NTcxYmI0MTI4NjgiIHN0RXZ0OndoZW49IjIwMjItMTItMTRUMTc6MDY6MjYrMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMi41IChXaW5kb3dzKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5MxxvnAAAAfklEQVRIie2VQQrAIAwE1yJ47iv7IE9+sn1Cek2F0IghKjgniYkblgVDylSg4xLq9by2bzlCykTaXqFez2v7liOys1ciJJ2ZKcA3WX+JsEqWdD8zBADH6C1WYpvVwDargW1WA/w3PJ00vXTM4WbdTppeOuZEAE/nG9r5Xp3hvMzFFkni80T8AAAAAElFTkSuQmCC);width:75px;height:11px}.boxnav:after,.boxnav:before,.card:after,.card:before{opacity:.15}.fadeIn{opacity:0;animation:fadeIn 1.5s forwards}.fadeInDown{opacity:0;transform:translate3d(0,-100%,0);animation:fadeInDown .6s forwards}.fadeInUp{animation:fadeInUp 1s forwards;opacity:0}.fadeInLeft{animation:fadeInLeft .6s forwards}.bounceIn{transform:scaleX(0);animation:bounceIn .6s forwards}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeIn{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}.delay02{animation-delay:.2s}.delay04{animation-delay:.4s}.delay06{animation-delay:.6s}.delay08{animation-delay:.8s}.delay1{animation-delay:1s}.delay12{animation-delay:1.2s}.delay14{animation-delay:1.4s}.delay16{animation-delay:1.6s}.delay18{animation-delay:1.8s}.delay2{animation-delay:2s}.str_wrap{overflow:hidden;width:100%;position:relative;-moz-user-select:none;-khtml-user-select:none;user-select:none;white-space:nowrap}.str_move{white-space:nowrap;position:absolute;top:0;left:0;cursor:move}.str_move_clone{display:inline-block;vertical-align:top;position:absolute;left:100%;top:0}.str_vertical .str_move_clone{left:0;top:100%}.str_down .str_move_clone{left:0;bottom:100%}.str_down .str_move,.str_vertical .str_move{white-space:normal;width:100%}.noStop .str_move,.no_drag .str_move,.str_static .str_move{cursor:inherit}.str_wrap img{max-width:none!important}.listhead{display:flex;justify-content:space-between;color:rgba(255,255,255,.5);border-bottom:1px solid rgba(255,255,255,.1)}.listnav{height:calc(100% - 30px);border-bottom:1px solid rgba(255,255,255,.1);overflow-y:hidden}.listnav ul li{height:100%;display:flex;justify-content:space-between;border:1px solid rgba(255,255,255,.1);border-top:none;border-bottom:none}.listhead span,.listnav li span{padding:8px 0;text-align:center;font-size:13px}.listhead span{padding-top:0}.listhead span:nth-child(1),.listnav li span:nth-child(1){width:8%;white-space:nowrap}.listhead span:nth-child(2),.listnav li span:nth-child(2){width:52%;text-align:left;padding-right:10px}.listhead span:nth-child(3),.listnav li span:nth-child(3){width:23%;text-align:left}.listhead span:nth-child(4),.listnav li span:nth-child(4){width:12%;white-space:nowrap}.listnav ul li:nth-child(odd){background:rgba(255,255,255,.05)}.txtnum{height:100%;display:flex;align-items:center;justify-content:center}.txtnum li{text-align:center;position:relative;padding:0 30px}.txtnum li>div{position:relative;z-index:10}.txtnum span{color:rgba(255,255,255,.75);display:block;padding-top:5px;white-space:nowrap}.txtnum p{font-size:24px;font-style:normal;font-weight:bolder;color:#fff;display:inline;white-space:nowrap;background:linear-gradient(0deg,#f2f9ff,#bfe0ff);background-size:cover;font-family:等线;font-size:30px;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-fill-color:transparent}.txtnum li:after{height:100%;width:100%;content:"";left:0;top:-2px;position:absolute;background:-webkit-radial-gradient(50% 50%,farthest-corner,#0076d1 0,transparent,transparent);opacity:.4}.txtnum li:before{height:120%;width:1px;content:"";right:0;top:-10%;position:absolute;background:linear-gradient(to bottom,transparent,#a8d6ff,transparent);opacity:.5}.txtnum li:last-child:before{display:none}.maptabs{position:absolute;left:-30px;top:120px;z-index:11;padding:10px 20px}.maptabs li a{display:block;transition:all .5s;color:rgba(255,255,255,.75);text-align:center;height:48px;background:url('+new URL("btn1-CRKIxnkF.png",i.meta.url).href+") right top no-repeat;width:140px;padding:6px 0 0 10px;font-size:15px;margin:10px 0}.maptabs li.active a{background:url("+new URL("btn2-B0GpvJoC.png",i.meta.url).href+") right top no-repeat;color:#fff;font-weight:700}.maptabs li a:hover{transform:translate(10px);color:rgba(0,191,255,.85)}.maptabs p{padding:15px 30px;color:#07e5ff}.head{display:flex;justify-content:center;align-items:center}.head h1{flex-shrink:0;background:url("+new URL("headcenter-Njohw23C.png",i.meta.url).href+') no-repeat center bottom;background-size:100% auto;height:85px;line-height:85px}.head h1 span{font-size:46px;background:linear-gradient(to bottom,#00fff7,#37cdff);padding:0 20px;background-size:cover;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-fill-color:transparent;font-weight:700;font-family:Microsoft YaHei;line-height:1;letter-spacing:2px}.head:after,.head:before{height:85px;content:"";width:100%}.head:before{background:url('+new URL("headleft-BoeOVS0y.png",i.meta.url).href+") no-repeat right bottom}.head:after{background:url("+new URL("headright-C5bcIe9i.png",i.meta.url).href+') no-repeat left bottom}.timebox{position:absolute;right:30px;font-size:16px;color:#50c2ff;padding-bottom:42px}.timebox span{color:#fff;padding-left:10px}.map{display:flex;justify-content:center;align-items:center}.mapbox{width:90%;position:relative}.mapbox img{width:100%}.others{position:relative;height:100%;display:flex;align-items:center}.others>span{position:absolute}.others .img1{top:5px;width:200px;right:50px}.others .img2{width:180px;left:130px;top:-10px}.others .img3{width:100px;left:30px;transform:rotate(45deg);top:0}.drqk{height:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center}.drqk li{width:50%;display:flex;align-items:center}.icon{display:flex;position:relative;justify-content:center;align-items:center;flex-shrink:0;margin-right:15px;padding:15px;width:60px;height:60px}.icon:before{position:absolute;content:"";background:url('+new URL("iconbg-un2BVcht.png",i.meta.url).href+') no-repeat center center;background-size:auto 100%;width:100%;height:100%;left:0;top:0}.drqk li em{background:linear-gradient(0deg,#f2f9ff,#bfe0ff);font-style:normal;background-size:cover;font-family:等线;font-weight:bolder;font-size:24px;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-fill-color:transparent}.linebox{position:absolute;width:100%;transform:scale(1.3,.65);overflow:hidden;height:100%;left:0;top:15%;display:flex;justify-content:center;align-items:center}.linebox>span{position:absolute;opacity:.1;width:100%;height:100%}.linebox>span img{width:100%;height:100%;object-fit:contain}.linebox .line1{width:30%;animation:scales1 60s linear infinite}.linebox .line2{width:40%;animation:scales2 55s linear infinite}.linebox .line3{width:47%;animation:scales1 50s linear infinite}.linebox .line4{width:60%;animation:scales2 45s linear infinite}.linebox .line5{width:20%;animation:scales1 40s linear infinite}.linebox .line6{width:70%;animation:scales2 35s linear infinite}.linebox .line7{width:75%;animation:scales1 30s linear infinite}@keyframes scales1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes scales2{0%{transform:rotate(0)}to{transform:rotate(-360deg)}}.marker{animation:fadeInDown 1s forwards;cursor:pointer;position:absolute;transition:all .5s;align-items:center;display:flex;justify-content:center}.marker:before{width:8px;height:8px;border-radius:5px;background:#0ff;position:absolute;content:"";transform:scaleY(.75)}.marker:hover span{display:block}.marker>i{width:20px;height:20px;position:absolute;display:flex;align-items:center;justify-content:center;transform:scaleY(.75)}.marker>i:after,.marker>i:before{position:absolute;content:"";background:rgba(0,179,255,.7);border:1px solid rgb(161,203,255);border-radius:100px;transform:scale(0);opacity:0}.marker>i:after{width:150%;height:150%;animation:fadein 2s infinite linear}.marker>i:before{width:200%;height:200%;animation:fadein 2s 1s infinite linear}@keyframes fadein{0%{transform:scale(0);opacity:0}50%{transform:scale(.5);opacity:1}to{transform:scale(1);opacity:0}}.user-container[data-v-87df4956],.user-container[data-v-f4a29e9a]{height:100%}:root{--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645,.045,.355,1);--el-transition-function-fast-bezier:cubic-bezier(.23,1,.32,1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px;color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:#79bbff;--el-color-primary-light-5:#a0cfff;--el-color-primary-light-7:#c6e2ff;--el-color-primary-light-8:#d9ecff;--el-color-primary-light-9:#ecf5ff;--el-color-primary-dark-2:#337ecc;--el-color-success:#67c23a;--el-color-success-light-3:#95d475;--el-color-success-light-5:#b3e19d;--el-color-success-light-7:#d1edc4;--el-color-success-light-8:#e1f3d8;--el-color-success-light-9:#f0f9eb;--el-color-success-dark-2:#529b2e;--el-color-warning:#e6a23c;--el-color-warning-light-3:#eebe77;--el-color-warning-light-5:#f3d19e;--el-color-warning-light-7:#f8e3c5;--el-color-warning-light-8:#faecd8;--el-color-warning-light-9:#fdf6ec;--el-color-warning-dark-2:#b88230;--el-color-danger:#f56c6c;--el-color-danger-light-3:#f89898;--el-color-danger-light-5:#fab6b6;--el-color-danger-light-7:#fcd3d3;--el-color-danger-light-8:#fde2e2;--el-color-danger-light-9:#fef0f0;--el-color-danger-dark-2:#c45656;--el-color-error:#f56c6c;--el-color-error-light-3:#f89898;--el-color-error-light-5:#fab6b6;--el-color-error-light-7:#fcd3d3;--el-color-error-light-8:#fde2e2;--el-color-error-light-9:#fef0f0;--el-color-error-dark-2:#c45656;--el-color-info:#909399;--el-color-info-light-3:#b1b3b8;--el-color-info-light-5:#c8c9cc;--el-color-info-light-7:#dedfe0;--el-color-info-light-8:#e9e9eb;--el-color-info-light-9:#f4f4f5;--el-color-info-dark-2:#73767a;--el-bg-color:#ffffff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#ffffff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#ffffff;--el-box-shadow:0px 12px 32px 4px rgba(0,0,0,.04),0px 8px 20px rgba(0,0,0,.08);--el-box-shadow-light:0px 0px 12px rgba(0,0,0,.12);--el-box-shadow-lighter:0px 0px 6px rgba(0,0,0,.12);--el-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,.08),0px 12px 32px rgba(0,0,0,.12),0px 8px 16px -8px rgba(0,0,0,.16);--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:rgba(0,0,0,.8);--el-overlay-color-light:rgba(0,0,0,.7);--el-overlay-color-lighter:rgba(0,0,0,.5);--el-mask-color:rgba(255,255,255,.9);--el-mask-color-extra-light:rgba(255,255,255,.3);--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transform-origin:center top;transition:var(--el-transition-md-fade)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transform-origin:center bottom;transition:var(--el-transition-md-fade)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transform-origin:top left;transition:var(--el-transition-md-fade)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon-loading{animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.el-icon{--color:inherit;align-items:center;display:inline-flex;height:1em;justify-content:center;line-height:1em;position:relative;width:1em;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}:root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:.5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{background:var(--el-popup-modal-bg-color);height:100%;left:0;opacity:var(--el-popup-modal-opacity);position:fixed;top:0;width:100%}.el-popup-parent--hidden{overflow:hidden}.el-dialog{--el-dialog-width:50%;--el-dialog-margin-top:15vh;--el-dialog-bg-color:var(--el-bg-color);--el-dialog-box-shadow:var(--el-box-shadow);--el-dialog-title-font-size:var(--el-font-size-large);--el-dialog-content-font-size:14px;--el-dialog-font-line-height:var(--el-font-line-height-primary);--el-dialog-padding-primary:16px;--el-dialog-border-radius:var(--el-border-radius-small);background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;margin:var(--el-dialog-margin-top,15vh) auto 50px;overflow-wrap:break-word;padding:var(--el-dialog-padding-primary);position:relative;width:var(--el-dialog-width,50%)}.el-dialog:focus{outline:none!important}.el-dialog.is-align-center{margin:auto}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;height:100%;margin-bottom:0;overflow:auto}.el-dialog__wrapper{bottom:0;left:0;margin:0;overflow:auto;position:fixed;right:0;top:0}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-dialog__header{padding-bottom:var(--el-dialog-padding-primary)}.el-dialog__header.show-close{padding-right:calc(var(--el-dialog-padding-primary) + var(--el-message-close-size, 16px))}.el-dialog__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:48px;outline:none;padding:0;position:absolute;right:0;top:0;width:48px}.el-dialog__headerbtn .el-dialog__close{color:var(--el-color-info);font-size:inherit}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:var(--el-color-primary)}.el-dialog__title{color:var(--el-text-color-primary);font-size:var(--el-dialog-title-font-size);line-height:var(--el-dialog-font-line-height)}.el-dialog__body{color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size)}.el-dialog__footer{box-sizing:border-box;padding-top:var(--el-dialog-padding-primary);text-align:right}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-overlay-dialog{bottom:0;left:0;overflow:auto;position:fixed;right:0;top:0}.dialog-fade-enter-active{animation:modal-fade-in var(--el-transition-duration)}.dialog-fade-enter-active .el-overlay-dialog{animation:dialog-fade-in var(--el-transition-duration)}.dialog-fade-leave-active{animation:modal-fade-out var(--el-transition-duration)}.dialog-fade-leave-active .el-overlay-dialog{animation:dialog-fade-out var(--el-transition-duration)}@keyframes dialog-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes dialog-fade-out{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20px,0)}}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}.el-overlay{background-color:var(--el-overlay-color-lighter);bottom:0;height:100%;left:0;overflow:auto;position:fixed;right:0;top:0;z-index:2000}.el-overlay .el-overlay-root{height:0}.el-row{box-sizing:border-box;display:flex;flex-wrap:wrap;position:relative}.el-row.is-justify-center{justify-content:center}.el-row.is-justify-end{justify-content:flex-end}.el-row.is-justify-space-between{justify-content:space-between}.el-row.is-justify-space-around{justify-content:space-around}.el-row.is-justify-space-evenly{justify-content:space-evenly}.el-row.is-align-top{align-items:flex-start}.el-row.is-align-middle{align-items:center}.el-row.is-align-bottom{align-items:flex-end}[class*=el-col-]{box-sizing:border-box}[class*=el-col-].is-guttered{display:block;min-height:1px}.el-col-0{flex:0 0 0%;max-width:0}.el-col-0,.el-col-0.is-guttered{display:none}.el-col-offset-0{margin-left:0}.el-col-pull-0{position:relative;right:0}.el-col-push-0{left:0;position:relative}.el-col-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-1,.el-col-1.is-guttered{display:block}.el-col-offset-1{margin-left:4.1666666667%}.el-col-pull-1{position:relative;right:4.1666666667%}.el-col-push-1{left:4.1666666667%;position:relative}.el-col-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-2,.el-col-2.is-guttered{display:block}.el-col-offset-2{margin-left:8.3333333333%}.el-col-pull-2{position:relative;right:8.3333333333%}.el-col-push-2{left:8.3333333333%;position:relative}.el-col-3{flex:0 0 12.5%;max-width:12.5%}.el-col-3,.el-col-3.is-guttered{display:block}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{left:12.5%;position:relative}.el-col-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-4,.el-col-4.is-guttered{display:block}.el-col-offset-4{margin-left:16.6666666667%}.el-col-pull-4{position:relative;right:16.6666666667%}.el-col-push-4{left:16.6666666667%;position:relative}.el-col-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-5,.el-col-5.is-guttered{display:block}.el-col-offset-5{margin-left:20.8333333333%}.el-col-pull-5{position:relative;right:20.8333333333%}.el-col-push-5{left:20.8333333333%;position:relative}.el-col-6{flex:0 0 25%;max-width:25%}.el-col-6,.el-col-6.is-guttered{display:block}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{left:25%;position:relative}.el-col-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-7,.el-col-7.is-guttered{display:block}.el-col-offset-7{margin-left:29.1666666667%}.el-col-pull-7{position:relative;right:29.1666666667%}.el-col-push-7{left:29.1666666667%;position:relative}.el-col-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-8,.el-col-8.is-guttered{display:block}.el-col-offset-8{margin-left:33.3333333333%}.el-col-pull-8{position:relative;right:33.3333333333%}.el-col-push-8{left:33.3333333333%;position:relative}.el-col-9{flex:0 0 37.5%;max-width:37.5%}.el-col-9,.el-col-9.is-guttered{display:block}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{left:37.5%;position:relative}.el-col-10{flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-10,.el-col-10.is-guttered{display:block}.el-col-offset-10{margin-left:41.6666666667%}.el-col-pull-10{position:relative;right:41.6666666667%}.el-col-push-10{left:41.6666666667%;position:relative}.el-col-11{flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-11,.el-col-11.is-guttered{display:block}.el-col-offset-11{margin-left:45.8333333333%}.el-col-pull-11{position:relative;right:45.8333333333%}.el-col-push-11{left:45.8333333333%;position:relative}.el-col-12{flex:0 0 50%;max-width:50%}.el-col-12,.el-col-12.is-guttered{display:block}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{left:50%;position:relative}.el-col-13{flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-13,.el-col-13.is-guttered{display:block}.el-col-offset-13{margin-left:54.1666666667%}.el-col-pull-13{position:relative;right:54.1666666667%}.el-col-push-13{left:54.1666666667%;position:relative}.el-col-14{flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-14,.el-col-14.is-guttered{display:block}.el-col-offset-14{margin-left:58.3333333333%}.el-col-pull-14{position:relative;right:58.3333333333%}.el-col-push-14{left:58.3333333333%;position:relative}.el-col-15{flex:0 0 62.5%;max-width:62.5%}.el-col-15,.el-col-15.is-guttered{display:block}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{left:62.5%;position:relative}.el-col-16{flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-16,.el-col-16.is-guttered{display:block}.el-col-offset-16{margin-left:66.6666666667%}.el-col-pull-16{position:relative;right:66.6666666667%}.el-col-push-16{left:66.6666666667%;position:relative}.el-col-17{flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-17,.el-col-17.is-guttered{display:block}.el-col-offset-17{margin-left:70.8333333333%}.el-col-pull-17{position:relative;right:70.8333333333%}.el-col-push-17{left:70.8333333333%;position:relative}.el-col-18{flex:0 0 75%;max-width:75%}.el-col-18,.el-col-18.is-guttered{display:block}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{left:75%;position:relative}.el-col-19{flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-19,.el-col-19.is-guttered{display:block}.el-col-offset-19{margin-left:79.1666666667%}.el-col-pull-19{position:relative;right:79.1666666667%}.el-col-push-19{left:79.1666666667%;position:relative}.el-col-20{flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-20,.el-col-20.is-guttered{display:block}.el-col-offset-20{margin-left:83.3333333333%}.el-col-pull-20{position:relative;right:83.3333333333%}.el-col-push-20{left:83.3333333333%;position:relative}.el-col-21{flex:0 0 87.5%;max-width:87.5%}.el-col-21,.el-col-21.is-guttered{display:block}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{left:87.5%;position:relative}.el-col-22{flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-22,.el-col-22.is-guttered{display:block}.el-col-offset-22{margin-left:91.6666666667%}.el-col-pull-22{position:relative;right:91.6666666667%}.el-col-push-22{left:91.6666666667%;position:relative}.el-col-23{flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-23,.el-col-23.is-guttered{display:block}.el-col-offset-23{margin-left:95.8333333333%}.el-col-pull-23{position:relative;right:95.8333333333%}.el-col-push-23{left:95.8333333333%;position:relative}.el-col-24{flex:0 0 100%;max-width:100%}.el-col-24,.el-col-24.is-guttered{display:block}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{left:100%;position:relative}@media only screen and (max-width:767px){.el-col-xs-0{display:none;flex:0 0 0%;max-width:0}.el-col-xs-0.is-guttered{display:none}.el-col-xs-offset-0{margin-left:0}.el-col-xs-pull-0{position:relative;right:0}.el-col-xs-push-0{left:0;position:relative}.el-col-xs-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-xs-1,.el-col-xs-1.is-guttered{display:block}.el-col-xs-offset-1{margin-left:4.1666666667%}.el-col-xs-pull-1{position:relative;right:4.1666666667%}.el-col-xs-push-1{left:4.1666666667%;position:relative}.el-col-xs-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-xs-2,.el-col-xs-2.is-guttered{display:block}.el-col-xs-offset-2{margin-left:8.3333333333%}.el-col-xs-pull-2{position:relative;right:8.3333333333%}.el-col-xs-push-2{left:8.3333333333%;position:relative}.el-col-xs-3{flex:0 0 12.5%;max-width:12.5%}.el-col-xs-3,.el-col-xs-3.is-guttered{display:block}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{left:12.5%;position:relative}.el-col-xs-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-xs-4,.el-col-xs-4.is-guttered{display:block}.el-col-xs-offset-4{margin-left:16.6666666667%}.el-col-xs-pull-4{position:relative;right:16.6666666667%}.el-col-xs-push-4{left:16.6666666667%;position:relative}.el-col-xs-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-xs-5,.el-col-xs-5.is-guttered{display:block}.el-col-xs-offset-5{margin-left:20.8333333333%}.el-col-xs-pull-5{position:relative;right:20.8333333333%}.el-col-xs-push-5{left:20.8333333333%;position:relative}.el-col-xs-6{flex:0 0 25%;max-width:25%}.el-col-xs-6,.el-col-xs-6.is-guttered{display:block}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{left:25%;position:relative}.el-col-xs-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-xs-7,.el-col-xs-7.is-guttered{display:block}.el-col-xs-offset-7{margin-left:29.1666666667%}.el-col-xs-pull-7{position:relative;right:29.1666666667%}.el-col-xs-push-7{left:29.1666666667%;position:relative}.el-col-xs-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-xs-8,.el-col-xs-8.is-guttered{display:block}.el-col-xs-offset-8{margin-left:33.3333333333%}.el-col-xs-pull-8{position:relative;right:33.3333333333%}.el-col-xs-push-8{left:33.3333333333%;position:relative}.el-col-xs-9{flex:0 0 37.5%;max-width:37.5%}.el-col-xs-9,.el-col-xs-9.is-guttered{display:block}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{left:37.5%;position:relative}.el-col-xs-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-xs-10.is-guttered{display:block}.el-col-xs-offset-10{margin-left:41.6666666667%}.el-col-xs-pull-10{position:relative;right:41.6666666667%}.el-col-xs-push-10{left:41.6666666667%;position:relative}.el-col-xs-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-xs-11.is-guttered{display:block}.el-col-xs-offset-11{margin-left:45.8333333333%}.el-col-xs-pull-11{position:relative;right:45.8333333333%}.el-col-xs-push-11{left:45.8333333333%;position:relative}.el-col-xs-12{display:block;flex:0 0 50%;max-width:50%}.el-col-xs-12.is-guttered{display:block}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{left:50%;position:relative}.el-col-xs-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-xs-13.is-guttered{display:block}.el-col-xs-offset-13{margin-left:54.1666666667%}.el-col-xs-pull-13{position:relative;right:54.1666666667%}.el-col-xs-push-13{left:54.1666666667%;position:relative}.el-col-xs-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-xs-14.is-guttered{display:block}.el-col-xs-offset-14{margin-left:58.3333333333%}.el-col-xs-pull-14{position:relative;right:58.3333333333%}.el-col-xs-push-14{left:58.3333333333%;position:relative}.el-col-xs-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-xs-15.is-guttered{display:block}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{left:62.5%;position:relative}.el-col-xs-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-xs-16.is-guttered{display:block}.el-col-xs-offset-16{margin-left:66.6666666667%}.el-col-xs-pull-16{position:relative;right:66.6666666667%}.el-col-xs-push-16{left:66.6666666667%;position:relative}.el-col-xs-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-xs-17.is-guttered{display:block}.el-col-xs-offset-17{margin-left:70.8333333333%}.el-col-xs-pull-17{position:relative;right:70.8333333333%}.el-col-xs-push-17{left:70.8333333333%;position:relative}.el-col-xs-18{display:block;flex:0 0 75%;max-width:75%}.el-col-xs-18.is-guttered{display:block}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{left:75%;position:relative}.el-col-xs-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-xs-19.is-guttered{display:block}.el-col-xs-offset-19{margin-left:79.1666666667%}.el-col-xs-pull-19{position:relative;right:79.1666666667%}.el-col-xs-push-19{left:79.1666666667%;position:relative}.el-col-xs-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-xs-20.is-guttered{display:block}.el-col-xs-offset-20{margin-left:83.3333333333%}.el-col-xs-pull-20{position:relative;right:83.3333333333%}.el-col-xs-push-20{left:83.3333333333%;position:relative}.el-col-xs-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-xs-21.is-guttered{display:block}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{left:87.5%;position:relative}.el-col-xs-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-xs-22.is-guttered{display:block}.el-col-xs-offset-22{margin-left:91.6666666667%}.el-col-xs-pull-22{position:relative;right:91.6666666667%}.el-col-xs-push-22{left:91.6666666667%;position:relative}.el-col-xs-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-xs-23.is-guttered{display:block}.el-col-xs-offset-23{margin-left:95.8333333333%}.el-col-xs-pull-23{position:relative;right:95.8333333333%}.el-col-xs-push-23{left:95.8333333333%;position:relative}.el-col-xs-24{display:block;flex:0 0 100%;max-width:100%}.el-col-xs-24.is-guttered{display:block}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{left:100%;position:relative}}@media only screen and (min-width:768px){.el-col-sm-0{display:none;flex:0 0 0%;max-width:0}.el-col-sm-0.is-guttered{display:none}.el-col-sm-offset-0{margin-left:0}.el-col-sm-pull-0{position:relative;right:0}.el-col-sm-push-0{left:0;position:relative}.el-col-sm-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-sm-1,.el-col-sm-1.is-guttered{display:block}.el-col-sm-offset-1{margin-left:4.1666666667%}.el-col-sm-pull-1{position:relative;right:4.1666666667%}.el-col-sm-push-1{left:4.1666666667%;position:relative}.el-col-sm-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-sm-2,.el-col-sm-2.is-guttered{display:block}.el-col-sm-offset-2{margin-left:8.3333333333%}.el-col-sm-pull-2{position:relative;right:8.3333333333%}.el-col-sm-push-2{left:8.3333333333%;position:relative}.el-col-sm-3{flex:0 0 12.5%;max-width:12.5%}.el-col-sm-3,.el-col-sm-3.is-guttered{display:block}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{left:12.5%;position:relative}.el-col-sm-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-sm-4,.el-col-sm-4.is-guttered{display:block}.el-col-sm-offset-4{margin-left:16.6666666667%}.el-col-sm-pull-4{position:relative;right:16.6666666667%}.el-col-sm-push-4{left:16.6666666667%;position:relative}.el-col-sm-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-sm-5,.el-col-sm-5.is-guttered{display:block}.el-col-sm-offset-5{margin-left:20.8333333333%}.el-col-sm-pull-5{position:relative;right:20.8333333333%}.el-col-sm-push-5{left:20.8333333333%;position:relative}.el-col-sm-6{flex:0 0 25%;max-width:25%}.el-col-sm-6,.el-col-sm-6.is-guttered{display:block}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{left:25%;position:relative}.el-col-sm-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-sm-7,.el-col-sm-7.is-guttered{display:block}.el-col-sm-offset-7{margin-left:29.1666666667%}.el-col-sm-pull-7{position:relative;right:29.1666666667%}.el-col-sm-push-7{left:29.1666666667%;position:relative}.el-col-sm-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-sm-8,.el-col-sm-8.is-guttered{display:block}.el-col-sm-offset-8{margin-left:33.3333333333%}.el-col-sm-pull-8{position:relative;right:33.3333333333%}.el-col-sm-push-8{left:33.3333333333%;position:relative}.el-col-sm-9{flex:0 0 37.5%;max-width:37.5%}.el-col-sm-9,.el-col-sm-9.is-guttered{display:block}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{left:37.5%;position:relative}.el-col-sm-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-sm-10.is-guttered{display:block}.el-col-sm-offset-10{margin-left:41.6666666667%}.el-col-sm-pull-10{position:relative;right:41.6666666667%}.el-col-sm-push-10{left:41.6666666667%;position:relative}.el-col-sm-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-sm-11.is-guttered{display:block}.el-col-sm-offset-11{margin-left:45.8333333333%}.el-col-sm-pull-11{position:relative;right:45.8333333333%}.el-col-sm-push-11{left:45.8333333333%;position:relative}.el-col-sm-12{display:block;flex:0 0 50%;max-width:50%}.el-col-sm-12.is-guttered{display:block}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{left:50%;position:relative}.el-col-sm-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-sm-13.is-guttered{display:block}.el-col-sm-offset-13{margin-left:54.1666666667%}.el-col-sm-pull-13{position:relative;right:54.1666666667%}.el-col-sm-push-13{left:54.1666666667%;position:relative}.el-col-sm-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-sm-14.is-guttered{display:block}.el-col-sm-offset-14{margin-left:58.3333333333%}.el-col-sm-pull-14{position:relative;right:58.3333333333%}.el-col-sm-push-14{left:58.3333333333%;position:relative}.el-col-sm-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-sm-15.is-guttered{display:block}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{left:62.5%;position:relative}.el-col-sm-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-sm-16.is-guttered{display:block}.el-col-sm-offset-16{margin-left:66.6666666667%}.el-col-sm-pull-16{position:relative;right:66.6666666667%}.el-col-sm-push-16{left:66.6666666667%;position:relative}.el-col-sm-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-sm-17.is-guttered{display:block}.el-col-sm-offset-17{margin-left:70.8333333333%}.el-col-sm-pull-17{position:relative;right:70.8333333333%}.el-col-sm-push-17{left:70.8333333333%;position:relative}.el-col-sm-18{display:block;flex:0 0 75%;max-width:75%}.el-col-sm-18.is-guttered{display:block}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{left:75%;position:relative}.el-col-sm-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-sm-19.is-guttered{display:block}.el-col-sm-offset-19{margin-left:79.1666666667%}.el-col-sm-pull-19{position:relative;right:79.1666666667%}.el-col-sm-push-19{left:79.1666666667%;position:relative}.el-col-sm-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-sm-20.is-guttered{display:block}.el-col-sm-offset-20{margin-left:83.3333333333%}.el-col-sm-pull-20{position:relative;right:83.3333333333%}.el-col-sm-push-20{left:83.3333333333%;position:relative}.el-col-sm-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-sm-21.is-guttered{display:block}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{left:87.5%;position:relative}.el-col-sm-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-sm-22.is-guttered{display:block}.el-col-sm-offset-22{margin-left:91.6666666667%}.el-col-sm-pull-22{position:relative;right:91.6666666667%}.el-col-sm-push-22{left:91.6666666667%;position:relative}.el-col-sm-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-sm-23.is-guttered{display:block}.el-col-sm-offset-23{margin-left:95.8333333333%}.el-col-sm-pull-23{position:relative;right:95.8333333333%}.el-col-sm-push-23{left:95.8333333333%;position:relative}.el-col-sm-24{display:block;flex:0 0 100%;max-width:100%}.el-col-sm-24.is-guttered{display:block}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{left:100%;position:relative}}@media only screen and (min-width:992px){.el-col-md-0{display:none;flex:0 0 0%;max-width:0}.el-col-md-0.is-guttered{display:none}.el-col-md-offset-0{margin-left:0}.el-col-md-pull-0{position:relative;right:0}.el-col-md-push-0{left:0;position:relative}.el-col-md-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-md-1,.el-col-md-1.is-guttered{display:block}.el-col-md-offset-1{margin-left:4.1666666667%}.el-col-md-pull-1{position:relative;right:4.1666666667%}.el-col-md-push-1{left:4.1666666667%;position:relative}.el-col-md-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-md-2,.el-col-md-2.is-guttered{display:block}.el-col-md-offset-2{margin-left:8.3333333333%}.el-col-md-pull-2{position:relative;right:8.3333333333%}.el-col-md-push-2{left:8.3333333333%;position:relative}.el-col-md-3{flex:0 0 12.5%;max-width:12.5%}.el-col-md-3,.el-col-md-3.is-guttered{display:block}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{left:12.5%;position:relative}.el-col-md-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-md-4,.el-col-md-4.is-guttered{display:block}.el-col-md-offset-4{margin-left:16.6666666667%}.el-col-md-pull-4{position:relative;right:16.6666666667%}.el-col-md-push-4{left:16.6666666667%;position:relative}.el-col-md-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-md-5,.el-col-md-5.is-guttered{display:block}.el-col-md-offset-5{margin-left:20.8333333333%}.el-col-md-pull-5{position:relative;right:20.8333333333%}.el-col-md-push-5{left:20.8333333333%;position:relative}.el-col-md-6{flex:0 0 25%;max-width:25%}.el-col-md-6,.el-col-md-6.is-guttered{display:block}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{left:25%;position:relative}.el-col-md-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-md-7,.el-col-md-7.is-guttered{display:block}.el-col-md-offset-7{margin-left:29.1666666667%}.el-col-md-pull-7{position:relative;right:29.1666666667%}.el-col-md-push-7{left:29.1666666667%;position:relative}.el-col-md-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-md-8,.el-col-md-8.is-guttered{display:block}.el-col-md-offset-8{margin-left:33.3333333333%}.el-col-md-pull-8{position:relative;right:33.3333333333%}.el-col-md-push-8{left:33.3333333333%;position:relative}.el-col-md-9{flex:0 0 37.5%;max-width:37.5%}.el-col-md-9,.el-col-md-9.is-guttered{display:block}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{left:37.5%;position:relative}.el-col-md-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-md-10.is-guttered{display:block}.el-col-md-offset-10{margin-left:41.6666666667%}.el-col-md-pull-10{position:relative;right:41.6666666667%}.el-col-md-push-10{left:41.6666666667%;position:relative}.el-col-md-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-md-11.is-guttered{display:block}.el-col-md-offset-11{margin-left:45.8333333333%}.el-col-md-pull-11{position:relative;right:45.8333333333%}.el-col-md-push-11{left:45.8333333333%;position:relative}.el-col-md-12{display:block;flex:0 0 50%;max-width:50%}.el-col-md-12.is-guttered{display:block}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{left:50%;position:relative}.el-col-md-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-md-13.is-guttered{display:block}.el-col-md-offset-13{margin-left:54.1666666667%}.el-col-md-pull-13{position:relative;right:54.1666666667%}.el-col-md-push-13{left:54.1666666667%;position:relative}.el-col-md-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-md-14.is-guttered{display:block}.el-col-md-offset-14{margin-left:58.3333333333%}.el-col-md-pull-14{position:relative;right:58.3333333333%}.el-col-md-push-14{left:58.3333333333%;position:relative}.el-col-md-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-md-15.is-guttered{display:block}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{left:62.5%;position:relative}.el-col-md-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-md-16.is-guttered{display:block}.el-col-md-offset-16{margin-left:66.6666666667%}.el-col-md-pull-16{position:relative;right:66.6666666667%}.el-col-md-push-16{left:66.6666666667%;position:relative}.el-col-md-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-md-17.is-guttered{display:block}.el-col-md-offset-17{margin-left:70.8333333333%}.el-col-md-pull-17{position:relative;right:70.8333333333%}.el-col-md-push-17{left:70.8333333333%;position:relative}.el-col-md-18{display:block;flex:0 0 75%;max-width:75%}.el-col-md-18.is-guttered{display:block}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{left:75%;position:relative}.el-col-md-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-md-19.is-guttered{display:block}.el-col-md-offset-19{margin-left:79.1666666667%}.el-col-md-pull-19{position:relative;right:79.1666666667%}.el-col-md-push-19{left:79.1666666667%;position:relative}.el-col-md-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-md-20.is-guttered{display:block}.el-col-md-offset-20{margin-left:83.3333333333%}.el-col-md-pull-20{position:relative;right:83.3333333333%}.el-col-md-push-20{left:83.3333333333%;position:relative}.el-col-md-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-md-21.is-guttered{display:block}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{left:87.5%;position:relative}.el-col-md-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-md-22.is-guttered{display:block}.el-col-md-offset-22{margin-left:91.6666666667%}.el-col-md-pull-22{position:relative;right:91.6666666667%}.el-col-md-push-22{left:91.6666666667%;position:relative}.el-col-md-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-md-23.is-guttered{display:block}.el-col-md-offset-23{margin-left:95.8333333333%}.el-col-md-pull-23{position:relative;right:95.8333333333%}.el-col-md-push-23{left:95.8333333333%;position:relative}.el-col-md-24{display:block;flex:0 0 100%;max-width:100%}.el-col-md-24.is-guttered{display:block}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{left:100%;position:relative}}@media only screen and (min-width:1200px){.el-col-lg-0{display:none;flex:0 0 0%;max-width:0}.el-col-lg-0.is-guttered{display:none}.el-col-lg-offset-0{margin-left:0}.el-col-lg-pull-0{position:relative;right:0}.el-col-lg-push-0{left:0;position:relative}.el-col-lg-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-lg-1,.el-col-lg-1.is-guttered{display:block}.el-col-lg-offset-1{margin-left:4.1666666667%}.el-col-lg-pull-1{position:relative;right:4.1666666667%}.el-col-lg-push-1{left:4.1666666667%;position:relative}.el-col-lg-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-lg-2,.el-col-lg-2.is-guttered{display:block}.el-col-lg-offset-2{margin-left:8.3333333333%}.el-col-lg-pull-2{position:relative;right:8.3333333333%}.el-col-lg-push-2{left:8.3333333333%;position:relative}.el-col-lg-3{flex:0 0 12.5%;max-width:12.5%}.el-col-lg-3,.el-col-lg-3.is-guttered{display:block}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{left:12.5%;position:relative}.el-col-lg-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-lg-4,.el-col-lg-4.is-guttered{display:block}.el-col-lg-offset-4{margin-left:16.6666666667%}.el-col-lg-pull-4{position:relative;right:16.6666666667%}.el-col-lg-push-4{left:16.6666666667%;position:relative}.el-col-lg-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-lg-5,.el-col-lg-5.is-guttered{display:block}.el-col-lg-offset-5{margin-left:20.8333333333%}.el-col-lg-pull-5{position:relative;right:20.8333333333%}.el-col-lg-push-5{left:20.8333333333%;position:relative}.el-col-lg-6{flex:0 0 25%;max-width:25%}.el-col-lg-6,.el-col-lg-6.is-guttered{display:block}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{left:25%;position:relative}.el-col-lg-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-lg-7,.el-col-lg-7.is-guttered{display:block}.el-col-lg-offset-7{margin-left:29.1666666667%}.el-col-lg-pull-7{position:relative;right:29.1666666667%}.el-col-lg-push-7{left:29.1666666667%;position:relative}.el-col-lg-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-lg-8,.el-col-lg-8.is-guttered{display:block}.el-col-lg-offset-8{margin-left:33.3333333333%}.el-col-lg-pull-8{position:relative;right:33.3333333333%}.el-col-lg-push-8{left:33.3333333333%;position:relative}.el-col-lg-9{flex:0 0 37.5%;max-width:37.5%}.el-col-lg-9,.el-col-lg-9.is-guttered{display:block}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{left:37.5%;position:relative}.el-col-lg-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-lg-10.is-guttered{display:block}.el-col-lg-offset-10{margin-left:41.6666666667%}.el-col-lg-pull-10{position:relative;right:41.6666666667%}.el-col-lg-push-10{left:41.6666666667%;position:relative}.el-col-lg-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-lg-11.is-guttered{display:block}.el-col-lg-offset-11{margin-left:45.8333333333%}.el-col-lg-pull-11{position:relative;right:45.8333333333%}.el-col-lg-push-11{left:45.8333333333%;position:relative}.el-col-lg-12{display:block;flex:0 0 50%;max-width:50%}.el-col-lg-12.is-guttered{display:block}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{left:50%;position:relative}.el-col-lg-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-lg-13.is-guttered{display:block}.el-col-lg-offset-13{margin-left:54.1666666667%}.el-col-lg-pull-13{position:relative;right:54.1666666667%}.el-col-lg-push-13{left:54.1666666667%;position:relative}.el-col-lg-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-lg-14.is-guttered{display:block}.el-col-lg-offset-14{margin-left:58.3333333333%}.el-col-lg-pull-14{position:relative;right:58.3333333333%}.el-col-lg-push-14{left:58.3333333333%;position:relative}.el-col-lg-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-lg-15.is-guttered{display:block}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{left:62.5%;position:relative}.el-col-lg-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-lg-16.is-guttered{display:block}.el-col-lg-offset-16{margin-left:66.6666666667%}.el-col-lg-pull-16{position:relative;right:66.6666666667%}.el-col-lg-push-16{left:66.6666666667%;position:relative}.el-col-lg-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-lg-17.is-guttered{display:block}.el-col-lg-offset-17{margin-left:70.8333333333%}.el-col-lg-pull-17{position:relative;right:70.8333333333%}.el-col-lg-push-17{left:70.8333333333%;position:relative}.el-col-lg-18{display:block;flex:0 0 75%;max-width:75%}.el-col-lg-18.is-guttered{display:block}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{left:75%;position:relative}.el-col-lg-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-lg-19.is-guttered{display:block}.el-col-lg-offset-19{margin-left:79.1666666667%}.el-col-lg-pull-19{position:relative;right:79.1666666667%}.el-col-lg-push-19{left:79.1666666667%;position:relative}.el-col-lg-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-lg-20.is-guttered{display:block}.el-col-lg-offset-20{margin-left:83.3333333333%}.el-col-lg-pull-20{position:relative;right:83.3333333333%}.el-col-lg-push-20{left:83.3333333333%;position:relative}.el-col-lg-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-lg-21.is-guttered{display:block}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{left:87.5%;position:relative}.el-col-lg-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-lg-22.is-guttered{display:block}.el-col-lg-offset-22{margin-left:91.6666666667%}.el-col-lg-pull-22{position:relative;right:91.6666666667%}.el-col-lg-push-22{left:91.6666666667%;position:relative}.el-col-lg-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-lg-23.is-guttered{display:block}.el-col-lg-offset-23{margin-left:95.8333333333%}.el-col-lg-pull-23{position:relative;right:95.8333333333%}.el-col-lg-push-23{left:95.8333333333%;position:relative}.el-col-lg-24{display:block;flex:0 0 100%;max-width:100%}.el-col-lg-24.is-guttered{display:block}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{left:100%;position:relative}}@media only screen and (min-width:1920px){.el-col-xl-0{display:none;flex:0 0 0%;max-width:0}.el-col-xl-0.is-guttered{display:none}.el-col-xl-offset-0{margin-left:0}.el-col-xl-pull-0{position:relative;right:0}.el-col-xl-push-0{left:0;position:relative}.el-col-xl-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-xl-1,.el-col-xl-1.is-guttered{display:block}.el-col-xl-offset-1{margin-left:4.1666666667%}.el-col-xl-pull-1{position:relative;right:4.1666666667%}.el-col-xl-push-1{left:4.1666666667%;position:relative}.el-col-xl-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-xl-2,.el-col-xl-2.is-guttered{display:block}.el-col-xl-offset-2{margin-left:8.3333333333%}.el-col-xl-pull-2{position:relative;right:8.3333333333%}.el-col-xl-push-2{left:8.3333333333%;position:relative}.el-col-xl-3{flex:0 0 12.5%;max-width:12.5%}.el-col-xl-3,.el-col-xl-3.is-guttered{display:block}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{left:12.5%;position:relative}.el-col-xl-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-xl-4,.el-col-xl-4.is-guttered{display:block}.el-col-xl-offset-4{margin-left:16.6666666667%}.el-col-xl-pull-4{position:relative;right:16.6666666667%}.el-col-xl-push-4{left:16.6666666667%;position:relative}.el-col-xl-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-xl-5,.el-col-xl-5.is-guttered{display:block}.el-col-xl-offset-5{margin-left:20.8333333333%}.el-col-xl-pull-5{position:relative;right:20.8333333333%}.el-col-xl-push-5{left:20.8333333333%;position:relative}.el-col-xl-6{flex:0 0 25%;max-width:25%}.el-col-xl-6,.el-col-xl-6.is-guttered{display:block}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{left:25%;position:relative}.el-col-xl-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-xl-7,.el-col-xl-7.is-guttered{display:block}.el-col-xl-offset-7{margin-left:29.1666666667%}.el-col-xl-pull-7{position:relative;right:29.1666666667%}.el-col-xl-push-7{left:29.1666666667%;position:relative}.el-col-xl-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-xl-8,.el-col-xl-8.is-guttered{display:block}.el-col-xl-offset-8{margin-left:33.3333333333%}.el-col-xl-pull-8{position:relative;right:33.3333333333%}.el-col-xl-push-8{left:33.3333333333%;position:relative}.el-col-xl-9{flex:0 0 37.5%;max-width:37.5%}.el-col-xl-9,.el-col-xl-9.is-guttered{display:block}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{left:37.5%;position:relative}.el-col-xl-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-xl-10.is-guttered{display:block}.el-col-xl-offset-10{margin-left:41.6666666667%}.el-col-xl-pull-10{position:relative;right:41.6666666667%}.el-col-xl-push-10{left:41.6666666667%;position:relative}.el-col-xl-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-xl-11.is-guttered{display:block}.el-col-xl-offset-11{margin-left:45.8333333333%}.el-col-xl-pull-11{position:relative;right:45.8333333333%}.el-col-xl-push-11{left:45.8333333333%;position:relative}.el-col-xl-12{display:block;flex:0 0 50%;max-width:50%}.el-col-xl-12.is-guttered{display:block}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{left:50%;position:relative}.el-col-xl-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-xl-13.is-guttered{display:block}.el-col-xl-offset-13{margin-left:54.1666666667%}.el-col-xl-pull-13{position:relative;right:54.1666666667%}.el-col-xl-push-13{left:54.1666666667%;position:relative}.el-col-xl-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-xl-14.is-guttered{display:block}.el-col-xl-offset-14{margin-left:58.3333333333%}.el-col-xl-pull-14{position:relative;right:58.3333333333%}.el-col-xl-push-14{left:58.3333333333%;position:relative}.el-col-xl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-xl-15.is-guttered{display:block}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{left:62.5%;position:relative}.el-col-xl-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-xl-16.is-guttered{display:block}.el-col-xl-offset-16{margin-left:66.6666666667%}.el-col-xl-pull-16{position:relative;right:66.6666666667%}.el-col-xl-push-16{left:66.6666666667%;position:relative}.el-col-xl-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-xl-17.is-guttered{display:block}.el-col-xl-offset-17{margin-left:70.8333333333%}.el-col-xl-pull-17{position:relative;right:70.8333333333%}.el-col-xl-push-17{left:70.8333333333%;position:relative}.el-col-xl-18{display:block;flex:0 0 75%;max-width:75%}.el-col-xl-18.is-guttered{display:block}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{left:75%;position:relative}.el-col-xl-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-xl-19.is-guttered{display:block}.el-col-xl-offset-19{margin-left:79.1666666667%}.el-col-xl-pull-19{position:relative;right:79.1666666667%}.el-col-xl-push-19{left:79.1666666667%;position:relative}.el-col-xl-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-xl-20.is-guttered{display:block}.el-col-xl-offset-20{margin-left:83.3333333333%}.el-col-xl-pull-20{position:relative;right:83.3333333333%}.el-col-xl-push-20{left:83.3333333333%;position:relative}.el-col-xl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-xl-21.is-guttered{display:block}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{left:87.5%;position:relative}.el-col-xl-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-xl-22.is-guttered{display:block}.el-col-xl-offset-22{margin-left:91.6666666667%}.el-col-xl-pull-22{position:relative;right:91.6666666667%}.el-col-xl-push-22{left:91.6666666667%;position:relative}.el-col-xl-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-xl-23.is-guttered{display:block}.el-col-xl-offset-23{margin-left:95.8333333333%}.el-col-xl-pull-23{position:relative;right:95.8333333333%}.el-col-xl-push-23{left:95.8333333333%;position:relative}.el-col-xl-24{display:block;flex:0 0 100%;max-width:100%}.el-col-xl-24.is-guttered{display:block}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{left:100%;position:relative}}.hukou-dialog{background-color:transparent;background-image:url('+new URL("eath-CHEjiCYl.png",i.meta.url).href+');background-size:100% 100%}.hukou-dialog .el-dialog__header{background:transparent;color:#00fff7}.hukou-dialog .el-dialog__header .el-dialog__title{color:#00fff7}.hukou-dialog .el-dialog__footer{padding:0}.drqk[data-v-6c25d3d0]{display:block;margin-top:4%}.weight-text[data-v-6c25d3d0]{position:absolute;right:8%;top:12%;color:#bfe0ff}.weight-text img[data-v-6c25d3d0]{width:40px}.drqk li[data-v-6c25d3d0]{display:inline-block;margin-top:10px}.people-content[data-v-6c25d3d0],.man-box[data-v-6c25d3d0]{display:flex;justify-content:space-around}.boxnav[data-v-6c25d3d0]{text-align:center;color:#bfe0ff}.man-box-item img[data-v-6c25d3d0]{width:50px}.largText[data-v-6c25d3d0]{font-size:1.2rem}.el-progress{align-items:center;display:flex;line-height:1;position:relative}.el-progress__text{color:var(--el-text-color-regular);font-size:14px;line-height:1;margin-left:5px;min-width:50px}.el-progress__text i{display:block;vertical-align:middle}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{left:0;margin:0;position:absolute;text-align:center;top:50%;transform:translateY(-50%);width:100%}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{display:inline-block;vertical-align:middle}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{display:block;margin-right:0;padding-right:0}.el-progress--text-inside .el-progress-bar{margin-right:0;padding-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{box-sizing:border-box;flex-grow:1}.el-progress-bar__outer{background-color:var(--el-border-color-lighter);border-radius:100px;height:6px;overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{background-color:var(--el-color-primary);border-radius:100px;height:100%;left:0;line-height:1;position:absolute;text-align:right;top:0;transition:width .6s ease;white-space:nowrap}.el-progress-bar__inner:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{animation:indeterminate 3s infinite;transform:translateZ(0)}.el-progress-bar__inner--striped{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0,transparent 50%,rgba(0,0,0,.1) 0,rgba(0,0,0,.1) 75%,transparent 0,transparent);background-size:1.25em 1.25em}.el-progress-bar__inner--striped.el-progress-bar__inner--striped-flow{animation:striped-flow 3s linear infinite}.el-progress-bar__innerText{color:#fff;display:inline-block;font-size:12px;margin:0 5px;vertical-align:middle}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}@keyframes striped-flow{0%{background-position:-100%}to{background-position:100%}}.cancer-dialog{background-color:transparent;background-image:url('+new URL("eath-CHEjiCYl.png",i.meta.url).href+");background-size:100% 100%}.cancer-dialog .el-dialog__title{background:transparent;color:#00fff7}.cancer-progress .el-progress__text{color:#ddd}.cancer-progress .el-progress-bar__outer{background-color:transparent;border:1px solid #fff}.cancerName[data-v-a56edc48]{position:relative;height:100%}.cancerNameItem[data-v-a56edc48]{position:absolute;cursor:pointer;transform:translate(-50%,-50%)}.rolling_6[data-v-3ffbc59f]{animation:rolling_6-3ffbc59f 2.1s ease}@font-face{font-family:electronicFont;src:url("+new URL("DS-DIGIT-Bz4sH1xK.TTF",i.meta.url).href+")}.data_cage[data-v-3ffbc59f]{display:block;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAABUCAYAAADaroR4AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjYxNTBCMjE4RjlFNzExRThCOEQ4OUFCNzg1N0FDQUMwIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjYxNTBCMjE5RjlFNzExRThCOEQ4OUFCNzg1N0FDQUMwIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NjE1MEIyMTZGOUU3MTFFOEI4RDg5QUI3ODU3QUNBQzAiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NjE1MEIyMTdGOUU3MTFFOEI4RDg5QUI3ODU3QUNBQzAiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz68zp8VAAAD9ElEQVR42uRcXY6cMAy2h+xo97FHqDTPPUnVy/QefdyDbG/S51Y9Rlc7JS6EOAmB0PG+5RukCIaBkC/+jTFmehaKGzf29XEPm+wcr/auAKbtVO25U+DafLUP/7sK8NyGOCFDca4n8CXguY1T+xv3em5F8VP8/TC1c2zlBPQEvAT8Fts1/paS4krpGfTj1J7i/hzPDZ0BHyPQGfBrxLcSgZLiLgJ9unyi3xvVwI1H8ME5qdSj3Dh977lO2s/4+YM+VqxPNcXPgdIi29GK9i/TL87PEr1C8jNLwNqHVPvUcx55HjuHfmt0UqFenlWOUQdZ9hmOHyMHXFVs92T8rPf/+vr9C3W8Xb59fomTovoq6apTBXyRc5HN/Pa4STBgAcdDraTdjg0fCAN3FK1wMNR+iauEMTQRKWSvY9iSKL5xxNzeDUFdCADJfRvDaX+mIPg8Wux9LG5fKYAIuUg0kjcCJxSCi5nVUQguTRyuzSL9bzzjsMj4rA0RgAcHhowUJwQ7PitpNgBfbsDQ6i3krnU9Q/C60Y7PwiEorG6ScY9hyI/suGtqQwbx1e3KDYPibHVgcvim8+W4aZEiCKotOmJiZXUA38173yTgfiBinilmDIqbtLr8x9HtyI6zVaszSiBCDC7rcgNBULxlz/YpPnqI1RkdwGgvUghAxs0RGJBAxGTPjMtSmEVK2zodeG4I786srD56EFY3hpdRXhoG6+QN5sx7kEWKrs6GO9PqSUnfChxFqwdzZnFg6MDw9+fAGO04RiDCGoHxGL662Y7zPFOEsR4nMlIcgtl9m3jgMTexxdxQUmCCP2IyZ95jANc85rtbllrDy3Au6+0UhzDjkYCmxICJRTzIuzPyFlYnEogIjDnmhqHVF5G1UBzlNfG7EgMQWF28Na5Od2rOAqsj5MCQMQKDlPVkDkQwinKz5qt7kJROMcs4iB2nO5Txoy8OoAMRZpcVZllq/ibFY9hx9mRN28Zgd3P2MoqQ218hIX1pSGZWx0gFMWY2eoLJDPBkozjEdrC8dhXcpQlIzG0t6Cs37kTbKjmjHLBIV3Y8R2C0+M2mHEpZNOZKAhKBkZStd63AUw08VMpJH7FcPrxoqROKnbDKAnMqfZLLZOUCJ7JcsiQLqmotPvxLfUnsv7hGuLC/rKVWWH+mDwi56Ejy49OYilXmW8S2Al5Se6mUE6OTubxCrvUSBrQgWr+lUCZiPZ9nRBdJzJo/rtKXpjGvnTlHhMMEzNwaJnl9T9k3hzFpP0V1C0nz8BqxJaozPUtZ2GopgINX8ugPZfCh4JXbyHcyBOEYrchVoviejEsBHLGs2UrGqVL3I+EWstuYM6qMPHTpwn8CDAB3FsM1ar9q+gAAAABJRU5ErkJggg==);height:100%;width:38px;float:left;margin-left:1px;color:#fff;text-align:center;font-size:40px;line-height:52px;background-repeat:no-repeat;background-size:100%}.count-flop-num[data-v-3ffbc59f]{font-family:electronicFont}.count-flop[data-v-3ffbc59f]{margin:0 10px;display:inline-block;font-size:0;height:50px;line-height:50px;font-size:36px;color:#4898f1}.count-flop>div[data-v-3ffbc59f]{position:relative;display:inline-block;overflow:hidden;height:100%}.count-flop-box[data-v-3ffbc59f]{margin-right:5px;width:36px;border:1px solid rgba(72,152,241,.3);line-height:48px;border-radius:6px}.count-flop-point[data-v-3ffbc59f]{margin-right:5px;width:10px}.count-flop-content[data-v-3ffbc59f]{font-family:MicrosoftYaHei-Bold;text-align:center;position:absolute;left:0;top:0;width:100%;animation-fill-mode:forwards!important;transition:transform 2s linear}.rolling_0[data-v-3ffbc59f]{animation:rolling_0-3ffbc59f 2.1s ease}@keyframes rolling_0-3ffbc59f{0%{transform:translateY(-90%)}to{transform:translateY(0)}}.rolling_1[data-v-3ffbc59f]{animation:rolling_1-3ffbc59f 3s ease}@keyframes rolling_1-3ffbc59f{0%{transform:translateY(0)}to{transform:translateY(-10%)}}.rolling_2[data-v-3ffbc59f]{animation:rolling_2-3ffbc59f 2.1s ease}@keyframes rolling_2-3ffbc59f{0%{transform:translateY(0)}to{transform:translateY(-20%)}}.rolling_3[data-v-3ffbc59f]{animation:rolling_3-3ffbc59f 3s ease}@keyframes rolling_3-3ffbc59f{0%{transform:translateY(0)}to{transform:translateY(-30%)}}.rolling_4[data-v-3ffbc59f]{animation:rolling_4-3ffbc59f 2.1s ease}@keyframes rolling_4-3ffbc59f{0%{transform:translateY(0)}to{transform:translateY(-40%)}}.rolling_5[data-v-3ffbc59f]{animation:rolling_5-3ffbc59f 3s ease}@keyframes rolling_5-3ffbc59f{0%{transform:translateY(0)}to{transform:translateY(-50%)}}@keyframes rolling_6-3ffbc59f{0%{transform:translateY(0)}to{transform:translateY(-60%)}}.rolling_7[data-v-3ffbc59f]{animation:rolling_7-3ffbc59f 3.1s ease}@keyframes rolling_7-3ffbc59f{0%{transform:translateY(0)}to{transform:translateY(-70%)}}.rolling_8[data-v-3ffbc59f]{animation:rolling_8-3ffbc59f 2.1s ease}@keyframes rolling_8-3ffbc59f{0%{transform:translateY(0)}to{transform:translateY(-80%)}}.rolling_9[data-v-3ffbc59f]{animation:rolling_9-3ffbc59f 3.6s ease}@keyframes rolling_9-3ffbc59f{0%{transform:translateY(0)}to{transform:translateY(-90%)}}@font-face{font-family:electronicFont;src:url("+new URL("DS-DIGIT-Bz4sH1xK.TTF",i.meta.url).href+")}.born-box[data-v-76147bb7]{display:flex;height:45%;line-height:52px}.p_a01[data-v-76147bb7]{font-size:15px;color:#00aeff;float:left;margin-right:1%}\n",document.head.appendChild(dt);var pt=""+new URL("icon1-DzZ3EAAm.png",i.meta.url).href,ft=""+new URL("icon2-TfyNJkmG.png",i.meta.url).href,gt=""+new URL("icon3-CVEMzhGp.png",i.meta.url).href,mt=""+new URL("icon4-BG4veA_t.png",i.meta.url).href,vt=""+new URL("line1-B71bjm7p.png",i.meta.url).href,yt=""+new URL("line2-BHsY8Ivs.png",i.meta.url).href,_t=""+new URL("line3-CtTb4JFW.png",i.meta.url).href,xt=""+new URL("line4-CEdqVrZG.png",i.meta.url).href,bt=""+new URL("line5-CHX4vXjx.png",i.meta.url).href,wt=""+new URL("line6-CbecP0qS.png",i.meta.url).href,St=""+new URL("line7-CDANFz2y.png",i.meta.url).href,At=function(t,e){return At=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},At(t,e)};function Tt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}At(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Mt=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},It=new function(){this.browser=new Mt,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"===("undefined"==typeof wx?"undefined":y(wx))&&"function"==typeof wx.getSystemInfoSync?(It.wxa=!0,It.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?It.worker=!0:"undefined"==typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(It.node=!0,It.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]);r&&(n.ie=!0,n.version=r[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);a&&(n.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,It);var Ct=12,Dt="sans-serif",Et=Ct+"px "+Dt;var Lt,Pt,Rt=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-20)/100;e[i]=r}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),Nt={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!Lt){var n=Nt.createCanvas();Lt=n&&n.getContext("2d")}if(Lt)return Pt!==e&&(Pt=Lt.font=e||Et),Lt.measureText(t);t=t||"";var i=/((?:\d+)?\.?\d*)px/.exec(e=e||Et),r=i&&+i[1]||Ct,o=0;if(e.indexOf("mono")>=0)o=r*t.length;else for(var a=0;a<t.length;a++){var s=Rt[t[a]];o+=null==s?r:s*r}return{width:o}},loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i}},kt=ae(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),Ot=ae(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),Bt=Object.prototype.toString,zt=Array.prototype,Ft=zt.forEach,Vt=zt.filter,Gt=zt.slice,Ut=zt.map,Ht=function(){}.constructor,Wt=Ht?Ht.prototype:null,Xt="__proto__",jt=2311;function Yt(){return jt++}function Zt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function Qt(t){if(null==t||"object"!==y(t))return t;var e=t,n=Bt.call(t);if("[object Array]"===n){if(!Le(t)){e=[];for(var i=0,r=t.length;i<r;i++)e[i]=Qt(t[i])}}else if(Ot[n]){if(!Le(t)){var o=t.constructor;if(o.from)e=o.from(t);else{e=new o(t.length);for(i=0,r=t.length;i<r;i++)e[i]=t[i]}}}else if(!kt[n]&&!Le(t)&&!_e(t))for(var a in e={},t)t.hasOwnProperty(a)&&a!==Xt&&(e[a]=Qt(t[a]));return e}function qt(t,e,n){if(!me(e)||!me(t))return n?Qt(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==Xt){var r=t[i],o=e[i];!me(o)||!me(r)||he(o)||he(r)||_e(o)||_e(r)||ve(o)||ve(r)||Le(o)||Le(r)?!n&&i in t||(t[i]=Qt(e[i])):qt(r,o,n)}return t}function Jt(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=qt(n,t[i],e);return n}function Kt(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==Xt&&(t[n]=e[n]);return t}function $t(t,e,n){for(var i=le(e),r=0;r<i.length;r++){var o=i[r];(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}function te(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1}function ee(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}function ne(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else $t(t,e,n)}function ie(t){return!!t&&("string"!=typeof t&&"number"==typeof t.length)}function re(t,e,n){if(t&&e)if(t.forEach&&t.forEach===Ft)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function oe(t,e,n){if(!t)return[];if(!e)return Te(t);if(t.map&&t.map===Ut)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i}function ae(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function se(t,e,n){if(!t)return[];if(!e)return Te(t);if(t.filter&&t.filter===Vt)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}function le(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}var ue=Wt&&de(Wt.bind)?Wt.call.bind(Wt.bind):function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(Gt.call(arguments)))}};function ce(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(Gt.call(arguments)))}}function he(t){return Array.isArray?Array.isArray(t):"[object Array]"===Bt.call(t)}function de(t){return"function"==typeof t}function pe(t){return"string"==typeof t}function fe(t){return"[object String]"===Bt.call(t)}function ge(t){return"number"==typeof t}function me(t){var e=y(t);return"function"===e||!!t&&"object"===e}function ve(t){return!!kt[Bt.call(t)]}function ye(t){return!!Ot[Bt.call(t)]}function _e(t){return"object"===y(t)&&"number"==typeof t.nodeType&&"object"===y(t.ownerDocument)}function xe(t){return null!=t.colorStops}function be(t){return t!=t}function we(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]}function Se(t,e){return null!=t?t:e}function Ae(t,e,n){return null!=t?t:null!=e?e:n}function Te(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Gt.apply(t,e)}function Me(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function Ie(t,e){if(!t)throw new Error(e)}function Ce(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var De="__ec_primitive__";function Ee(t){t[De]=!0}function Le(t){return t[De]}var Pe=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return le(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),Re="function"==typeof Map;var Ne=function(){function t(e){var n=he(e);this.data=Re?new Map:new Pe;var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&re(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach((function(n,i){t.call(e,n,i)}))},t.prototype.keys=function(){var t=this.data.keys();return Re?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function ke(t){return new Ne(t)}function Oe(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];var r=t.length;for(i=0;i<e.length;i++)n[i+r]=e[i];return n}function Be(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&Kt(n,e),n}function ze(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function Fe(t,e){return t.hasOwnProperty(e)}function Ve(){}var Ge=180/Math.PI;function Ue(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function He(t,e){return t[0]=e[0],t[1]=e[1],t}function We(t){return[t[0],t[1]]}function Xe(t,e,n){return t[0]=e,t[1]=n,t}function je(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function Ye(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t}function Ze(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function Qe(t){return Math.sqrt(function(t){return t[0]*t[0]+t[1]*t[1]}(t))}function qe(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function Je(t,e){var n=Qe(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function Ke(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var $e=Ke;var tn=function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])};function en(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function nn(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function rn(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function on(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var an=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},sn=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new an(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new an(e,t),"drag",t.event);var a=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new an(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new an(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new an(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new an(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),ln=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}(),un=Math.log(2);function cn(t,e,n,i,r,o){var a=i+"-"+r,s=t.length;if(o.hasOwnProperty(a))return o[a];if(1===e){var l=Math.round(Math.log((1<<s)-1&~r)/un);return t[n][l]}for(var u=i|1<<n,c=n+1;i&1<<c;)c++;for(var h=0,d=0,p=0;d<s;d++){var f=1<<d;f&r||(h+=(p%2?-1:1)*t[n][d]*cn(t,e-1,c,u,r|f,o),p++)}return o[a]=h,h}function hn(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=cn(n,8,0,0,0,i);if(0!==r){for(var o=[],a=0;a<8;a++)for(var s=0;s<8;s++)null==o[s]&&(o[s]=0),o[s]+=((a+s)%2?-1:1)*cn(n,7,0===a?1:0,1<<a,1<<s,i)/r*e[a];return function(t,e,n){var i=e*o[6]+n*o[7]+1;t[0]=(e*o[0]+n*o[1]+o[2])/i,t[1]=(e*o[3]+n*o[4]+o[5])/i}}}var dn="___zrEVENTSAVED",pn=[];function fn(t,e,n,i,r){if(e.getBoundingClientRect&&It.domSupported&&!gn(e)){var o=e[dn]||(e[dn]={}),a=function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=o%2,l=(o>>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,o),s=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var c=t[u].getBoundingClientRect(),h=2*u,d=c.left,p=c.top;a.push(d,p),l=l&&o&&d===o[h]&&p===o[h+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?hn(s,a):hn(a,s))}(a,o,r);if(s)return s(t,n,i),!0}return!1}function gn(t){return"CANVAS"===t.nodeName.toUpperCase()}var mn=/([&<>"'])/g,vn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function yn(t){return null==t?"":(t+"").replace(mn,(function(t,e){return vn[e]}))}var _n=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,xn=[],bn=It.browser.firefox&&+It.browser.version.split(".")[0]<39;function wn(t,e,n,i){return n=n||{},i?Sn(t,e,n):bn&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):Sn(t,e,n),n}function Sn(t,e,n){if(It.domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(gn(t)){var o=t.getBoundingClientRect();return n.zrX=i-o.left,void(n.zrY=r-o.top)}if(fn(xn,t,i,r))return n.zrX=xn[0],void(n.zrY=xn[1])}n.zrX=n.zrY=0}function An(t){return t||window.event}function Tn(t,e,n){if(null!=(e=An(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&wn(t,r,e,n)}else{wn(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;var r=0!==i?Math.abs(i):Math.abs(n),o=i>0?-1:i<0?1:n>0?-1:1;return 3*r*o}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&_n.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function Mn(t,e,n,i){t.addEventListener(e,n,i)}var In=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function Cn(t){return 2===t.which||3===t.which}var Dn=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],l=wn(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in Ln)if(Ln.hasOwnProperty(e)){var n=Ln[e](this._track,t);if(n)return n}},t}();function En(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var Ln={pinch:function(t,e){var n=t.length;if(n){var i,r=(t[n-1]||{}).points,o=(t[n-2]||{}).points||r;if(o&&o.length>1&&r&&r.length>1){var a=En(r)/En(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function Pn(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function Rn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function Nn(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function kn(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function On(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],c=Math.sin(n),h=Math.cos(n);return t[0]=r*h+s*c,t[1]=-r*c+s*h,t[2]=o*h+l*c,t[3]=-o*c+h*l,t[4]=h*(a-i[0])+c*(u-i[1])+i[0],t[5]=h*(u-i[1])-c*(a-i[0])+i[1],t}function Bn(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function zn(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}var Fn=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),Vn=Math.min,Gn=Math.max,Un=new Fn,Hn=new Fn,Wn=new Fn,Xn=new Fn,jn=new Fn,Yn=new Fn,Zn=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=Vn(t.x,this.x),n=Vn(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Gn(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Gn(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=[1,0,0,1,0,0];return kn(r,r,[-e.x,-e.y]),Bn(r,r,[n,i]),kn(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,c=e.y,h=e.y+e.height,d=!(o<l||u<r||s<c||h<a);if(n){var p=1/0,f=0,g=Math.abs(o-l),m=Math.abs(u-r),v=Math.abs(s-c),y=Math.abs(h-a),_=Math.min(g,m),x=Math.min(v,y);o<l||u<r?_>f&&(f=_,g<m?Fn.set(Yn,-g,0):Fn.set(Yn,m,0)):_<p&&(p=_,g<m?Fn.set(jn,g,0):Fn.set(jn,-m,0)),s<c||h<a?x>f&&(f=x,v<y?Fn.set(Yn,0,-v):Fn.set(Yn,0,y)):_<p&&(p=_,v<y?Fn.set(jn,0,v):Fn.set(jn,0,-y))}return n&&Fn.copy(n,d?jn:Yn),d},t.prototype.contain=function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}Un.x=Wn.x=n.x,Un.y=Xn.y=n.y,Hn.x=Xn.x=n.x+n.width,Hn.y=Wn.y=n.y+n.height,Un.transform(i),Xn.transform(i),Hn.transform(i),Wn.transform(i),e.x=Vn(Un.x,Hn.x,Wn.x,Xn.x),e.y=Vn(Un.y,Hn.y,Wn.y,Xn.y);var l=Gn(Un.x,Hn.x,Wn.x,Xn.x),u=Gn(Un.y,Hn.y,Wn.y,Xn.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),Qn="silent";function qn(){In(this.event)}var Jn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return Tt(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(ln),Kn=function(t,e){this.x=t,this.y=e},$n=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],ti=new Zn(0,0,0,0),ei=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new Kn(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new Jn,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new sn(a),a}return Tt(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(re($n,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=ri(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new Kn(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new Kn(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:qn}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new Kn(t,e);if(ii(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new Zn(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var c=i[u];c===n||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(ti.copy(c.getBoundingRect()),c.transform&&ti.applyTransform(c.transform),ti.intersect(l)&&o.push(c))}if(o.length)for(var h=Math.PI/12,d=2*Math.PI,p=0;p<s;p+=4)for(var f=0;f<d;f+=h){if(ii(o,r,t+p*Math.cos(f),e+p*Math.sin(f),n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new Dn);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new Kn;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(ln);function ni(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,o=!1;i;){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1}i.silent&&(r=!0);var s=i.__hostTarget;i=s||i.parent}return!r||Qn}return!1}function ii(t,e,n,i,r){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=ni(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==Qn)){e.target=a;break}}}function ri(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}re(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){ei.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=ri(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||$e(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var oi=32,ai=7;function si(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r<n&&i(t[r],t[r-1])<0;)r++;!function(t,e,n){n--;for(;e<n;){var i=t[e];t[e++]=t[n],t[n--]=i}}(t,e,r)}else for(;r<n&&i(t[r],t[r-1])>=0;)r++;return r-e}function li(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,l=i;s<l;)r(a,t[o=s+l>>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function ui(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l<s&&o(t,e[n+r+l])>0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&o(t,e[n+r-l])<=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a<l;){var c=a+(l-a>>>1);o(t,e[n+c])>0?a=c+1:l=c}return l}function ci(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;l<s&&o(t,e[n+r-l])<0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l<s&&o(t,e[n+r+l])>=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a<l;){var c=a+(l-a>>>1);o(t,e[n+c])<0?l=c:a=c+1}return l}function hi(t,e){var n,i,r=ai,o=0,a=[];function s(s){var l=n[s],u=i[s],c=n[s+1],h=i[s+1];i[s]=u+h,s===o-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),o--;var d=ci(t[c],t,l,u,0,e);l+=d,0!==(u-=d)&&0!==(h=ui(t[l+u-1],t,c,h,h-1,e))&&(u<=h?function(n,i,o,s){var l=0;for(l=0;l<i;l++)a[l]=t[n+l];var u=0,c=o,h=n;if(t[h++]=t[c++],0==--s){for(l=0;l<i;l++)t[h+l]=a[u+l];return}if(1===i){for(l=0;l<s;l++)t[h+l]=t[c+l];return void(t[h+s]=a[u])}var d,p,f,g=r;for(;;){d=0,p=0,f=!1;do{if(e(t[c],a[u])<0){if(t[h++]=t[c++],p++,d=0,0==--s){f=!0;break}}else if(t[h++]=a[u++],d++,p=0,1==--i){f=!0;break}}while((d|p)<g);if(f)break;do{if(0!==(d=ci(t[c],a,u,i,0,e))){for(l=0;l<d;l++)t[h+l]=a[u+l];if(h+=d,u+=d,(i-=d)<=1){f=!0;break}}if(t[h++]=t[c++],0==--s){f=!0;break}if(0!==(p=ui(a[u],t,c,s,0,e))){for(l=0;l<p;l++)t[h+l]=t[c+l];if(h+=p,c+=p,0===(s-=p)){f=!0;break}}if(t[h++]=a[u++],1==--i){f=!0;break}g--}while(d>=ai||p>=ai);if(f)break;g<0&&(g=0),g+=2}if((r=g)<1&&(r=1),1===i){for(l=0;l<s;l++)t[h+l]=t[c+l];t[h+s]=a[u]}else{if(0===i)throw new Error;for(l=0;l<i;l++)t[h+l]=a[u+l]}}(l,u,c,h):function(n,i,o,s){var l=0;for(l=0;l<s;l++)a[l]=t[o+l];var u=n+i-1,c=s-1,h=o+s-1,d=0,p=0;if(t[h--]=t[u--],0==--i){for(d=h-(s-1),l=0;l<s;l++)t[d+l]=a[l];return}if(1===s){for(p=(h-=i)+1,d=(u-=i)+1,l=i-1;l>=0;l--)t[p+l]=t[d+l];return void(t[h]=a[c])}var f=r;for(;;){var g=0,m=0,v=!1;do{if(e(a[c],t[u])<0){if(t[h--]=t[u--],g++,m=0,0==--i){v=!0;break}}else if(t[h--]=a[c--],m++,g=0,1==--s){v=!0;break}}while((g|m)<f);if(v)break;do{if(0!==(g=i-ci(a[c],t,n,i,i-1,e))){for(i-=g,p=(h-=g)+1,d=(u-=g)+1,l=g-1;l>=0;l--)t[p+l]=t[d+l];if(0===i){v=!0;break}}if(t[h--]=a[c--],1==--s){v=!0;break}if(0!==(m=s-ui(t[u],a,0,s,s-1,e))){for(s-=m,p=(h-=m)+1,d=(c-=m)+1,l=0;l<m;l++)t[p+l]=a[d+l];if(s<=1){v=!0;break}}if(t[h--]=t[u--],0==--i){v=!0;break}f--}while(g>=ai||m>=ai);if(v)break;f<0&&(f=0),f+=2}(r=f)<1&&(r=1);if(1===s){for(p=(h-=i)+1,d=(u-=i)+1,l=i-1;l>=0;l--)t[p+l]=t[d+l];t[h]=a[c]}else{if(0===s)throw new Error;for(d=h-(s-1),l=0;l<s;l++)t[d+l]=a[l]}}(l,u,c,h))}return n=[],i=[],{mergeRuns:function(){for(;o>1;){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;s(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&i[t-1]<i[t+1]&&t--,s(t)}},pushRun:function(t,e){n[o]=t,i[o]=e,o+=1}}}function di(t,e,n,i){n||(n=0),i||(i=t.length);var r=i-n;if(!(r<2)){var o=0;if(r<oi)li(t,n,i,n+(o=si(t,n,i,e)),e);else{var a=hi(t,e),s=function(t){for(var e=0;t>=oi;)e|=1&t,t>>=1;return t+e}(r);do{if((o=si(t,n,i,e))<s){var l=r;l>s&&(l=s),li(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}}var pi=1,fi=4,gi=!1;function mi(){gi||(gi=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function vi(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var yi,_i=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=vi}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return!t&&n.length||this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,di(n,vi)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];for(var r=i,o=t;r;)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=pi),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else{var u=t;e&&e.length?u.__clipPaths=e:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(mi(),u.z=0),isNaN(u.z2)&&(mi(),u.z2=0),isNaN(u.zlevel)&&(mi(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=t.getDecalElement&&t.getDecalElement();c&&this._updateAndAddDisplayable(c,e,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,n);var d=t.getTextContent();d&&this._updateAndAddDisplayable(d,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);else{var i=te(this._roots,t);i>=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}();yi=It.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var xi={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-xi.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*xi.bounceIn(2*t):.5*xi.bounceOut(2*t-1)+.5}},bi=Math.pow,wi=Math.sqrt,Si=1e-8,Ai=1e-4,Ti=wi(3),Mi=1/3,Ii=Ue(),Ci=Ue(),Di=Ue();function Ei(t){return t>-Si&&t<Si}function Li(t){return t>Si||t<-Si}function Pi(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function Ri(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function Ni(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,c=s*s-3*a*l,h=s*l-9*a*u,d=l*l-3*s*u,p=0;if(Ei(c)&&Ei(h)){if(Ei(s))o[0]=0;else(A=-l/s)>=0&&A<=1&&(o[p++]=A)}else{var f=h*h-4*c*d;if(Ei(f)){var g=h/c,m=-g/2;(A=-s/a+g)>=0&&A<=1&&(o[p++]=A),m>=0&&m<=1&&(o[p++]=m)}else if(f>0){var v=wi(f),y=c*s+1.5*a*(-h+v),_=c*s+1.5*a*(-h-v);(A=(-s-((y=y<0?-bi(-y,Mi):bi(y,Mi))+(_=_<0?-bi(-_,Mi):bi(_,Mi))))/(3*a))>=0&&A<=1&&(o[p++]=A)}else{var x=(2*c*s-3*a*h)/(2*wi(c*c*c)),b=Math.acos(x)/3,w=wi(c),S=Math.cos(b),A=(-s-2*w*S)/(3*a),T=(m=(-s+w*(S+Ti*Math.sin(b)))/(3*a),(-s+w*(S-Ti*Math.sin(b)))/(3*a));A>=0&&A<=1&&(o[p++]=A),m>=0&&m<=1&&(o[p++]=m),T>=0&&T<=1&&(o[p++]=T)}}return p}function ki(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(Ei(a)){if(Li(o))(c=-s/o)>=0&&c<=1&&(r[l++]=c)}else{var u=o*o-4*a*s;if(Ei(u))r[0]=-o/(2*a);else if(u>0){var c,h=wi(u),d=(-o-h)/(2*a);(c=(-o+h)/(2*a))>=0&&c<=1&&(r[l++]=c),d>=0&&d<=1&&(r[l++]=d)}}return l}function Oi(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,c=(l-s)*r+s,h=(c-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=h,o[4]=h,o[5]=c,o[6]=l,o[7]=i}function Bi(t,e,n,i,r,o,a,s,l,u,c){var h,d,p,f,g,m=.005,v=1/0;Ii[0]=l,Ii[1]=u;for(var y=0;y<1;y+=.05)Ci[0]=Pi(t,n,r,a,y),Ci[1]=Pi(e,i,o,s,y),(f=tn(Ii,Ci))<v&&(h=y,v=f);v=1/0;for(var _=0;_<32&&!(m<Ai);_++)d=h-m,p=h+m,Ci[0]=Pi(t,n,r,a,d),Ci[1]=Pi(e,i,o,s,d),f=tn(Ci,Ii),d>=0&&f<v?(h=d,v=f):(Di[0]=Pi(t,n,r,a,p),Di[1]=Pi(e,i,o,s,p),g=tn(Di,Ii),p<=1&&g<v?(h=p,v=g):m*=.5);return c&&(c[0]=Pi(t,n,r,a,h),c[1]=Pi(e,i,o,s,h)),wi(v)}function zi(t,e,n,i,r,o,a,s,l){for(var u=t,c=e,h=0,d=1/l,p=1;p<=l;p++){var f=p*d,g=Pi(t,n,r,a,f),m=Pi(e,i,o,s,f),v=g-u,y=m-c;h+=Math.sqrt(v*v+y*y),u=g,c=m}return h}function Fi(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function Vi(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function Gi(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function Ui(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function Hi(t,e,n,i,r,o,a,s,l){var u,c=.005,h=1/0;Ii[0]=a,Ii[1]=s;for(var d=0;d<1;d+=.05){Ci[0]=Fi(t,n,r,d),Ci[1]=Fi(e,i,o,d),(m=tn(Ii,Ci))<h&&(u=d,h=m)}h=1/0;for(var p=0;p<32&&!(c<Ai);p++){var f=u-c,g=u+c;Ci[0]=Fi(t,n,r,f),Ci[1]=Fi(e,i,o,f);var m=tn(Ci,Ii);if(f>=0&&m<h)u=f,h=m;else{Di[0]=Fi(t,n,r,g),Di[1]=Fi(e,i,o,g);var v=tn(Di,Ii);g<=1&&v<h?(u=g,h=v):c*=.5}}return l&&(l[0]=Fi(t,n,r,u),l[1]=Fi(e,i,o,u)),wi(h)}function Wi(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,c=1/a,h=1;h<=a;h++){var d=h*c,p=Fi(t,n,r,d),f=Fi(e,i,o,d),g=p-s,m=f-l;u+=Math.sqrt(g*g+m*m),s=p,l=f}return u}var Xi=/cubic-bezier\(([0-9,\.e ]+)\)/;function ji(t){var e=t&&Xi.exec(t);if(e){var n=e[1].split(","),i=+Ce(n[0]),r=+Ce(n[1]),o=+Ce(n[2]),a=+Ce(n[3]);if(isNaN(i+r+o+a))return;var s=[];return function(t){return t<=0?0:t>=1?1:Ni(0,i,o,1,t,s)&&Pi(0,r,a,1,s[0])}}}var Yi=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Ve,this.ondestroy=t.ondestroy||Ve,this.onrestart=t.onrestart||Ve,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=de(t)?t:xi[t]||ji(t)},t}(),Zi=function(t){this.value=t},Qi=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new Zi(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),qi=function(){function t(t){this._list=new Qi,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new Zi(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),Ji={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Ki(t){return(t=Math.round(t))<0?0:t>255?255:t}function $i(t){return t<0?0:t>1?1:t}function tr(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Ki(parseFloat(e)/100*255):Ki(parseInt(e,10))}function er(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?$i(parseFloat(e)/100):$i(parseFloat(e))}function nr(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function ir(t,e,n){return t+(e-t)*n}function rr(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function or(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var ar=new qi(20),sr=null;function lr(t,e){sr&&or(sr,e),sr=ar.put(t,sr||e.slice())}function ur(t,e){if(t){e=e||[];var n=ar.get(t);if(n)return or(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in Ji)return or(e,Ji[i]),lr(t,e),e;var r,o=i.length;if("#"===i.charAt(0))return 4===o||5===o?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(rr(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(i.slice(4),16)/15:1),lr(t,e),e):void rr(e,0,0,0,1):7===o||9===o?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(rr(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(i.slice(7),16)/255:1),lr(t,e),e):void rr(e,0,0,0,1):void 0;var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var l=i.substr(0,a),u=i.substr(a+1,s-(a+1)).split(","),c=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?rr(e,+u[0],+u[1],+u[2],1):rr(e,0,0,0,1);c=er(u.pop());case"rgb":return u.length>=3?(rr(e,tr(u[0]),tr(u[1]),tr(u[2]),3===u.length?c:er(u[3])),lr(t,e),e):void rr(e,0,0,0,1);case"hsla":return 4!==u.length?void rr(e,0,0,0,1):(u[3]=er(u[3]),cr(u,e),lr(t,e),e);case"hsl":return 3!==u.length?void rr(e,0,0,0,1):(cr(u,e),lr(t,e),e);default:return}}rr(e,0,0,0,1)}}function cr(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=er(t[1]),r=er(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return rr(e=e||[],Ki(255*nr(a,o,n+1/3)),Ki(255*nr(a,o,n)),Ki(255*nr(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function hr(t,e){var n=ur(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return gr(n,4===n.length?"rgba":"rgb")}}function dr(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=Ki(ir(a[0],s[0],l)),n[1]=Ki(ir(a[1],s[1],l)),n[2]=Ki(ir(a[2],s[2],l)),n[3]=$i(ir(a[3],s[3],l)),n}}function pr(t,e,n,i){var r=ur(t);if(t)return r=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-o)/6+l/2)/l;i===s?e=d-h:r===s?e=1/3+c-d:o===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,n,u];return null!=t[3]&&p.push(t[3]),p}}(r),null!=e&&(r[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(r[1]=er(n)),null!=i&&(r[2]=er(i)),gr(cr(r),"rgba")}function fr(t,e){var n=ur(t);if(n&&null!=e)return n[3]=$i(e),gr(n,"rgba")}function gr(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function mr(t,e){var n=ur(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var vr=new qi(100);function yr(t){if(pe(t)){var e=vr.get(t);return e||(e=hr(t,-.1),vr.put(t,e)),e}if(xe(t)){var n=Kt({},t);return n.colorStops=oe(t.colorStops,(function(t){return{offset:t.offset,color:hr(t.color,-.1)}})),n}return t}var _r=Math.round;function xr(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=ur(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var br=1e-4;function wr(t){return t<br&&t>-br}function Sr(t){return _r(1e3*t)/1e3}function Ar(t){return _r(1e4*t)/1e4}var Tr={left:"start",right:"end",center:"middle",middle:"middle"};function Mr(t){return t&&!!t.image}function Ir(t){return Mr(t)||function(t){return t&&!!t.svgElement}(t)}function Cr(t){return"linear"===t.type}function Dr(t){return"radial"===t.type}function Er(t){return t&&("linear"===t.type||"radial"===t.type)}function Lr(t){return"url(#"+t+")"}function Pr(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function Rr(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*Ge,r=Se(t.scaleX,1),o=Se(t.scaleY,1),a=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===r&&1===o||l.push("scale("+r+","+o+")"),(a||s)&&l.push("skew("+_r(a*Ge)+"deg, "+_r(s*Ge)+"deg)"),l.join(" ")}var Nr=It.hasGlobalWindow&&de(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!=typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null},kr=Array.prototype.slice;function Or(t,e,n){return(e-t)*n+t}function Br(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=Or(e[o],n[o],i);return t}function zr(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function Fr(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*i}return t}function Vr(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,i);s++)r.push({offset:a.offset,color:a.color.slice()})}function Gr(t,e,n){var i=t,r=e;if(i.push&&r.push){var o=i.length,a=r.length;if(o!==a)if(o>a)i.length=a;else for(var s=o;s<a;s++)i.push(1===n?r[s]:kr.call(r[s]));var l=i[0]&&i[0].length;for(s=0;s<i.length;s++)if(1===n)isNaN(i[s])&&(i[s]=r[s]);else for(var u=0;u<l;u++)isNaN(i[s][u])&&(i[s][u]=r[s][u])}}function Ur(t){if(ie(t)){var e=t.length;if(ie(t[0])){for(var n=[],i=0;i<e;i++)n.push(kr.call(t[i]));return n}return kr.call(t)}return t}function Hr(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function Wr(t){return 4===t||5===t}function Xr(t){return 1===t||2===t}var jr=[0,0,0,0],Yr=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(ie(e)){var l=function(t){return ie(t&&t[0])?2:1}(e);a=l,(1===l&&!ge(e[0])||2===l&&!ge(e[0][0]))&&(o=!0)}else if(ge(e)&&!be(e))a=0;else if(pe(e))if(isNaN(+e)){var u=ur(e);u&&(s=u,a=3)}else a=0;else if(xe(e)){var c=Kt({},s);c.colorStops=oe(e.colorStops,(function(t){return{offset:t.offset,color:ur(t.color)}})),Cr(e)?a=4:Dr(e)&&(a=5),s=c}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var h={time:t,value:s,rawValue:e,percent:0};return n&&(h.easing=n,h.easingFunc=de(n)?n:xi[n]||ji(n)),i.push(h),h},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=Xr(i),l=Wr(i),u=0;u<r;u++){var c=n[u],h=c.value,d=o.value;c.percent=c.time/t,a||(s&&u!==r-1?Gr(h,d,i):l&&Vr(h.colorStops,d.colorStops))}if(!a&&5!==i&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;var p=n[0].value;for(u=0;u<r;u++)0===i?n[u].additiveValue=n[u].value-p:3===i?n[u].additiveValue=zr([],n[u].value,p,-1):Xr(i)&&(n[u].additiveValue=1===i?zr([],n[u].value,p,-1):Fr([],n[u].value,p,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,r,o=null!=this._additiveTrack,a=o?"additiveValue":"value",s=this.valType,l=this.keyframes,u=l.length,c=this.propName,h=3===s,d=this._lastFr,p=Math.min;if(1===u)i=r=l[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=p(d+1,u-1);n>=0&&!(l[n].percent<=e);n--);n=p(n,u-2)}else{for(n=d;n<u&&!(l[n].percent>e);n++);n=p(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var f=r.percent-i.percent,g=0===f?1:p((e-i.percent)/f,1);r.easingFunc&&(g=r.easingFunc(g));var m=o?this._additiveValue:h?jr:t[c];if(!Xr(s)&&!h||m||(m=this._additiveValue=[]),this.discrete)t[c]=g<1?i.rawValue:r.rawValue;else if(Xr(s))1===s?Br(m,i[a],r[a],g):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=Or(e[a][s],n[a][s],i)}}(m,i[a],r[a],g);else if(Wr(s)){var v=i[a],y=r[a],_=4===s;t[c]={type:_?"linear":"radial",x:Or(v.x,y.x,g),y:Or(v.y,y.y,g),colorStops:oe(v.colorStops,(function(t,e){var n=y.colorStops[e];return{offset:Or(t.offset,n.offset,g),color:Hr(Br([],t.color,n.color,g))}})),global:y.global},_?(t[c].x2=Or(v.x2,y.x2,g),t[c].y2=Or(v.y2,y.y2,g)):t[c].r=Or(v.r,y.r,g)}else if(h)Br(m,i[a],r[a],g),o||(t[c]=Hr(m));else{var x=Or(i[a],r[a],g);o?this._additiveValue=x:t[c]=x}o&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;0===e?t[n]=t[n]+i:3===e?(ur(t[n],jr),zr(jr,jr,i,1),t[n]=Hr(jr)):1===e?zr(t[n],t[n],i,1):2===e&&Fr(t[n],t[n],i,1)},t}(),Zr=function(){function t(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i?Zt("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,le(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o<n.length;o++){var a=n[o],s=r[a];if(!s){s=r[a]=new Yr(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var c=u.keyframes,h=c[c.length-1];l=h&&h.value,3===u.valType&&l&&(l=Hr(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,Ur(l),i),this._trackKeys.push(a)}s.addKeyframe(t,Ur(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],a=this._tracks[o],s=this._getAdditiveTrack(o),l=a.keyframes,u=l.length;if(a.prepare(i,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var c=l[u-1];c&&(e._target[a.propName]=c.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var h=new Yi({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,o=0;o<i.length;o++)if(i[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=h,this.animation&&this.animation.addClip(h),t&&h.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return oe(this._trackKeys,(function(e){return t._tracks[e]}))},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var o=n[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(r=0;r<i.length;r++)if(!n[i[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],o=this._tracks[r];if(o&&!o.isFinished()){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[r]=Ur(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||le(t);for(var n=0;n<e.length;n++){var i=e[n],r=this._tracks[i];if(r){var o=r.keyframes;if(o.length>1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}();function Qr(){return(new Date).getTime()}var qr,Jr,Kr=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return Tt(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=Qr()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,yi((function e(){t._running&&(yi(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=Qr(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Qr(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Qr()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new Zr(t,e.loop);return this.addAnimator(n),n},e}(ln),$r=It.domSupported,to=(Jr={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:qr=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:oe(qr,(function(t){var e=t.replace("mouse","pointer");return Jr.hasOwnProperty(e)?e:t}))}),eo=["mousemove","mouseup"],no=["pointermove","pointerup"],io=!1;function ro(t){var e=t.pointerType;return"pen"===e||"touch"===e}function oo(t){t&&(t.zrByTouch=!0)}function ao(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var so=function(t,e){this.stopPropagation=Ve,this.stopImmediatePropagation=Ve,this.preventDefault=Ve,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},lo={mousedown:function(t){t=Tn(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=Tn(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=Tn(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){ao(this,(t=Tn(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){io=!0,t=Tn(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){io||(t=Tn(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){oo(t=Tn(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),lo.mousemove.call(this,t),lo.mousedown.call(this,t)},touchmove:function(t){oo(t=Tn(this.dom,t)),this.handler.processGesture(t,"change"),lo.mousemove.call(this,t)},touchend:function(t){oo(t=Tn(this.dom,t)),this.handler.processGesture(t,"end"),lo.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&lo.click.call(this,t)},pointerdown:function(t){lo.mousedown.call(this,t)},pointermove:function(t){ro(t)||lo.mousemove.call(this,t)},pointerup:function(t){lo.mouseup.call(this,t)},pointerout:function(t){ro(t)||lo.mouseout.call(this,t)}};re(["click","dblclick","contextmenu"],(function(t){lo[t]=function(e){e=Tn(this.dom,e),this.trigger(t,e)}}));var uo={pointermove:function(t){ro(t)||uo.mousemove.call(this,t)},pointerup:function(t){uo.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function co(t,e){var n=e.domHandlers;It.pointerEventsSupported?re(to.pointer,(function(i){po(e,i,(function(e){n[i].call(t,e)}))})):(It.touchEventsSupported&&re(to.touch,(function(i){po(e,i,(function(r){n[i].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),re(to.mouse,(function(i){po(e,i,(function(r){r=An(r),e.touching||n[i].call(t,r)}))})))}function ho(t,e){function n(n){po(e,n,(function(i){i=An(i),ao(t,i.target)||(i=function(t,e){return Tn(t.dom,new so(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))}),{capture:!0})}It.pointerEventsSupported?re(no,n):It.touchEventsSupported||re(eo,n)}function po(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,Mn(t.domTarget,e,n,i)}function fo(t){var e,n,i,r,o=t.mounted;for(var a in o)o.hasOwnProperty(a)&&(e=t.domTarget,n=a,i=o[a],r=t.listenerOpts[a],e.removeEventListener(n,i,r));t.mounted={}}var go=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},mo=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new go(e,lo),$r&&(i._globalHandlerScope=new go(document,uo)),co(i,i._localHandlerScope),i}return Tt(e,t),e.prototype.dispose=function(){fo(this._localHandlerScope),$r&&fo(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,$r&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?ho(this,e):fo(e)}},e}(ln),vo=1;It.hasGlobalWindow&&(vo=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var yo=vo,_o="#333",xo="#ccc",bo=Pn,wo=5e-5;function So(t){return t>wo||t<-5e-5}var Ao=[],To=[],Mo=[1,0,0,1,0,0],Io=Math.abs,Co=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return So(this.rotation)||So(this.x)||So(this.y)||So(this.scaleX-1)||So(this.scaleY-1)||So(this.skewX)||So(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):bo(n),t&&(e?Nn(n,t,n):Rn(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(bo(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(Ao);var n=Ao[0]<0?-1:1,i=Ao[1]<0?-1:1,r=((Ao[0]-n)*e+n)/Ao[0]||0,o=((Ao[1]-i)*e+i)/Ao[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],zn(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||[1,0,0,1,0,0],Nn(To,t.invTransform,e),e=To);var n=this.originX,i=this.originY;(n||i)&&(Mo[4]=n,Mo[5]=i,Nn(To,e,Mo),To[4]-=n,To[5]-=i,e=To),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&nn(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&nn(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&Io(t[0]-1)>1e-10&&Io(t[3]-1)>1e-10?Math.sqrt(Io(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){Eo(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,c=t.y,h=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var p=n+a,f=i+s;e[4]=-p*r-h*f*o,e[5]=-f*o-d*p*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=d*r,e[2]=h*o,l&&On(e,e,l),e[4]+=n+u,e[5]+=i+c,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),Do=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Eo(t,e){for(var n=0;n<Do.length;n++){var i=Do[n];t[i]=e[i]}}var Lo={};function Po(t,e){var n=Lo[e=e||Et];n||(n=Lo[e]=new qi(500));var i=n.get(t);return null==i&&(i=Nt.measureText(t,e).width,n.put(t,i)),i}function Ro(t,e,n,i){var r=Po(t,e),o=Bo(e),a=ko(0,r,n),s=Oo(0,o,i);return new Zn(a,s,r,o)}function No(t,e,n,i){var r=((t||"")+"").split("\n");if(1===r.length)return Ro(r[0],e,n,i);for(var o=new Zn(0,0,0,0),a=0;a<r.length;a++){var s=Ro(r[a],e,n,i);0===a?o.copy(s):o.union(s)}return o}function ko(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function Oo(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function Bo(t){return Po("国",t)}function zo(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function Fo(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",h="top";if(i instanceof Array)l+=zo(i[0],n.width),u+=zo(i[1],n.height),c=null,h=null;else switch(i){case"left":l-=r,u+=s,c="right",h="middle";break;case"right":l+=r+a,u+=s,h="middle";break;case"top":l+=a/2,u-=r,c="center",h="bottom";break;case"bottom":l+=a/2,u+=o+r,c="center";break;case"inside":l+=a/2,u+=s,c="center",h="middle";break;case"insideLeft":l+=r,u+=s,h="middle";break;case"insideRight":l+=a-r,u+=s,c="right",h="middle";break;case"insideTop":l+=a/2,u+=r,c="center";break;case"insideBottom":l+=a/2,u+=o-r,c="center",h="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,c="right";break;case"insideBottomLeft":l+=r,u+=o-r,h="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,c="right",h="bottom"}return(t=t||{}).x=l,t.y=u,t.align=c,t.verticalAlign=h,t}var Vo="__zr_normal__",Go=Do.concat(["ignore"]),Uo=ae(Do,(function(t,e){return t[e]=!0,t}),{ignore:!1}),Ho={},Wo=new Zn(0,0,0,0),Xo=function(){function t(t){this.id=Yt(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=Wo;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Ho,n,u):Fo(Ho,n,u),r.x=Ho.x,r.y=Ho.y,o=Ho.align,a=Ho.verticalAlign;var c=n.origin;if(c&&null!=n.rotation){var h=void 0,d=void 0;"center"===c?(h=.5*u.width,d=.5*u.height):(h=zo(c[0],u.width),d=zo(c[1],u.height)),l=!0,r.originX=-r.x+h+(i?0:u.x),r.originY=-r.y+d+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var p=n.offset;p&&(r.x+=p[0],r.y+=p[1],l||(r.originX=-p[0],r.originY=-p[1]));var f=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,v=void 0,y=void 0;f&&this.canBeInsideText()?(m=n.insideFill,v=n.insideStroke,null!=m&&"auto"!==m||(m=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(m),y=!0)):(m=n.outsideFill,v=n.outsideStroke,null!=m&&"auto"!==m||(m=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(m),y=!0)),(m=m||"#000")===g.fill&&v===g.stroke&&y===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=m,g.stroke=v,g.autoStroke=y,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=pi,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?xo:_o},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&ur(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,gr(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},Kt(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(me(t))for(var n=le(t),i=0;i<n.length;i++){var r=n[i];this.attrKV(r,t[r])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!(i.getLoop()||r&&r!==Vo)){var o=i.targetName,a=o?e[o]:e;i.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,Go)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(Vo,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===Vo;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!(te(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,c=this._textGuide;return u&&u.useState(t,e,n,l),c&&c.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~pi),s}Zt("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s<o;s++)if(t[s]!==r[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&i.push(u)}var c=i[o-1],h=!!(c&&c.hoverLayer||n);h&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(i),p=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(t.join(","),d,this._normalState,!1,!e&&!this.__inHover&&p&&p.duration>0,p);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,h),g&&g.useStates(t,e,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~pi)}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=te(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=te(i,t),o=te(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i<t.length;i++){var r=t[i];Kt(n,r),r.textConfig&&Kt(e=e||{},r.textConfig)}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,o){var a=!(e&&i);e&&e.textConfig?(this.textConfig=Kt({},i?this.textConfig:n.textConfig),Kt(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,u=0;u<Go.length;u++){var c=Go[u],h=r&&Uo[c];e&&null!=e[c]?h?(l=!0,s[c]=e[c]):this[c]=e[c]:a&&null!=n[c]&&(h?(l=!0,s[c]=n[c]):this[c]=n[c])}if(!r)for(u=0;u<this.animators.length;u++){var d=this.animators[u],p=d.targetName;d.getLoop()||d.__changeFinalValue(p?(e||n)[p]:e||n)}l&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new Co,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),Kt(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=pi;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this,r=new Zr(i,e,n);return t&&(r.targetName=t),this.addAnimator(r,t),r},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during((function(){i.updateDuringAnimation(e)})).done((function(){var e=i.animators,n=te(e,t);n>=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o<i;o++){var a=n[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){jo(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){jo(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=jo(this,e,n,i),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;function n(t,n,i,r){function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}Object.defineProperty(e,t,{get:function(){this[n]||o(this,this[n]=[]);return this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,o(this,t)}})}e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=pi,Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function jo(t,e,n,i,r){var o=[];Qo(t,"",t,e,n=n||{},i,o,r);var a=o.length,s=!1,l=n.done,u=n.aborted,c=function(){s=!0,--a<=0&&(s?l&&l():u&&u())},h=function(){--a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var d=0;d<o.length;d++){var p=o[d];c&&p.done(c),h&&p.aborted(h),n.force&&p.duration(n.duration),p.start(n.easing)}return o}function Yo(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function Zo(t,e,n){if(ie(e[n]))if(ie(t[n])||(t[n]=[]),ye(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),Yo(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if(ie(r[0]))for(var s=r[0].length,l=0;l<a;l++)o[l]?Yo(o[l],r[l],s):o[l]=Array.prototype.slice.call(r[l]);else Yo(o,r,a);o.length=r.length}else t[n]=e[n]}function Qo(t,e,n,i,r,o,a,s){for(var l=le(i),u=r.duration,c=r.delay,h=r.additive,d=r.setToFinal,p=!me(o),f=t.animators,g=[],m=0;m<l.length;m++){var v=l[m],y=i[v];if(null!=y&&null!=n[v]&&(p||o[v]))if(!me(y)||ie(y)||xe(y))g.push(v);else{if(e){s||(n[v]=y,t.updateDuringAnimation(e));continue}Qo(t,v,n[v],y,r,o&&o[v],a,s)}else s||(n[v]=y,t.updateDuringAnimation(e),g.push(v))}var _=g.length;if(!h&&_)for(var x=0;x<f.length;x++){if((w=f[x]).targetName===e)if(w.stopTracks(g)){var b=te(f,w);f.splice(b,1)}}if(r.force||(g=se(g,(function(t){return e=i[t],r=n[t],!(e===r||ie(e)&&ie(r)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}(e,r));var e,r})),_=g.length),_>0||r.force&&!a.length){var w,S=void 0,A=void 0,T=void 0;if(s){A={},d&&(S={});for(x=0;x<_;x++){A[v=g[x]]=n[v],d?S[v]=i[v]:n[v]=i[v]}}else if(d){T={};for(x=0;x<_;x++){T[v=g[x]]=Ur(n[v]),Zo(n,i,v)}}(w=new Zr(n,!1,!1,h?se(f,(function(t){return t.targetName===e})):null)).targetName=e,r.scope&&(w.scope=r.scope),d&&S&&w.whenWithKeys(0,S,g),T&&w.whenWithKeys(0,T,g),w.whenWithKeys(null==u?500:u,s?A:i,g).delay(c||0),t.addAnimator(w,e),a.push(w)}}ne(Xo,ln),ne(Xo,Co);var qo=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return Tt(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=te(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=te(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new Zn(0,0,0,0),n=t||this._children,i=[],r=null,o=0;o<n.length;o++){var a=n[o];if(!a.ignore&&!a.invisible){var s=a.getBoundingRect(),l=a.getLocalTransform(i);l?(Zn.applyTransform(e,s,l),(r=r||e.clone()).union(e)):(r=r||s.clone()).union(s)}}return r||e},e}(Xo);qo.prototype.type="group";
/*!
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/
var Jo={},Ko={};var $o,ta=function(){function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var r=new _i,o=n.renderer||"canvas";Jo[o]||(o=le(Jo)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var a=new Jo[o](e,r,n,t),s=n.ssr||a.ssrOnly;this.storage=r,this.painter=a;var l,u=It.node||It.worker||s?null:new mo(a.getViewportRoot(),a.root),c=n.useCoarsePointer;(null==c||"auto"===c?It.touchEventsSupported:!!c)&&(l=Se(n.pointerSize,44)),this.handler=new ei(r,a,u,a.root,l),this.animation=new Kr({stage:{update:s?null:function(){return i._flush(!0)}}}),s||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return mr(t,1)<.4;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=mr(e[r].color,1);return(n/=i)<.4}return!1}(t))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!1)},t.prototype._flush=function(t){var e,n=Qr();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=Qr();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof qo&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){var t;this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,t=this.id,delete Ko[t])},t}();function ea(t,e){var n=new ta(Yt(),t,e);return Ko[n.id]=n,n}var na=1e-4,ia=20;function ra(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(i)if(l>0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function oa(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return pe(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function aa(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),ia),t=(+t).toFixed(e),n?t:+t}function sa(t){return t.sort((function(t,e){return t-e})),t}function la(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return ua(t)}function ua(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}function ca(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function ha(t,e){var n=Math.max(la(t),la(e)),i=t+e;return n>ia?i:aa(i,n)}var da=9007199254740991;function pa(t){var e=2*Math.PI;return(t%e+e)%e}function fa(t){return t>-na&&t<na}var ga=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function ma(t){if(t instanceof Date)return t;if(pe(t)){var e=ga.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function va(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function ya(t,e){var n=va(t),i=Math.pow(10,n),r=t/i;return t=(r<1.5?1:r<2.5?2:r<4?3:r<7?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function _a(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function xa(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,o=t[i].close,a=0;a<2;a++)r[a]<=e&&(r[a]=e,o[a]=a?1:1-n),e=r[a],n=o[a];r[0]===r[1]&&o[0]*o[1]!=1?t.splice(i,1):i++}return t;function s(t,e,n){return t.interval[n]<e.interval[n]||t.interval[n]===e.interval[n]&&(t.close[n]-e.close[n]==(n?-1:1)||!n&&s(t,e,1))}}function ba(t){var e=parseFloat(t);return e==t&&(0!==e||!pe(t)||t.indexOf("x")<=0)?e:NaN}function wa(t){return!isNaN(ba(t))}function Sa(){return Math.round(9*Math.random())}function Aa(t,e){return 0===e?t:Aa(e,t%e)}function Ta(t,e){return null==t?e:null==e?t:t*e/Aa(t,e)}"undefined"!=typeof console&&console.warn&&console.log;function Ma(t){throw new Error(t)}function Ia(t,e,n){return(e-t)*n+t}var Ca="series\0",Da="\0_ec_\0";function Ea(t){return t instanceof Array?t:null==t?[]:[t]}function La(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var Pa=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function Ra(t){return!me(t)||he(t)||t instanceof Date?t:t.value}function Na(t){return me(t)&&!(t instanceof Array)}function ka(t,e,n){var i="normalMerge"===n,r="replaceMerge"===n,o="replaceAll"===n;t=t||[],e=(e||[]).slice();var a=ke();re(e,(function(t,n){me(t)||(e[n]=null)}));var s,l,u=function(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),i.push({existing:"replaceMerge"===n||Va(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return i}(t,a,n);return(i||r)&&function(t,e,n,i){re(i,(function(r,o){if(r&&null!=r.id){var a=Ba(r.id),s=n.get(a);if(null!=s){var l=t[s];Ie(!l.newOption,'Duplicated option on id "'+a+'".'),l.newOption=r,l.existing=e[s],i[o]=null}}}))}(u,t,a,e),i&&function(t,e){re(e,(function(n,i){if(n&&null!=n.name)for(var r=0;r<t.length;r++){var o=t[r].existing;if(!t[r].newOption&&o&&(null==o.id||null==n.id)&&!Va(n)&&!Va(o)&&Oa("name",o,n))return t[r].newOption=n,void(e[i]=null)}}))}(u,e),i||r?function(t,e,n){re(e,(function(e){if(e){for(var i,r=0;(i=t[r])&&(i.newOption||Va(i.existing)||i.existing&&null!=e.id&&!Oa("id",e,i.existing));)r++;i?(i.newOption=e,i.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),r++}}))}(u,e,r):o&&function(t,e){re(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}(u,e),s=u,l=ke(),re(s,(function(t){var e=t.existing;e&&l.set(e.id,t)})),re(s,(function(t){var e=t.newOption;Ie(!e||null==e.id||!l.get(e.id)||l.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&l.set(e.id,t),!t.keyInfo&&(t.keyInfo={})})),re(s,(function(t,e){var n=t.existing,i=t.newOption,r=t.keyInfo;if(me(i)){if(r.name=null!=i.name?Ba(i.name):n?n.name:Ca+e,n)r.id=Ba(n.id);else if(null!=i.id)r.id=Ba(i.id);else{var o=0;do{r.id="\0"+r.name+"\0"+o++}while(l.get(r.id))}l.set(r.id,t)}})),u}function Oa(t,e,n){var i=za(e[t],null),r=za(n[t],null);return null!=i&&null!=r&&i===r}function Ba(t){return za(t,"")}function za(t,e){return null==t?e:pe(t)?t:ge(t)||fe(t)?t+"":e}function Fa(t){var e=t.name;return!(!e||!e.indexOf(Ca))}function Va(t){return t&&null!=t.id&&0===Ba(t.id).indexOf(Da)}function Ga(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?he(e.dataIndex)?oe(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?he(e.name)?oe(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function Ua(){var t="__ec_inner_"+Ha++;return function(e){return e[t]||(e[t]={})}}var Ha=Sa();function Wa(t,e,n){var i=Xa(e,n),r=i.mainTypeSpecified,o=i.queryOptionMap,a=i.others,s=n?n.defaultMainType:null;return!r&&s&&o.set(s,{}),o.each((function(e,i){var r=Za(t,i,e,{useDefault:s===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[i+"Models"]=r.models,a[i+"Model"]=r.models[0]})),a}function Xa(t,e){var n;if(pe(t)){var i={};i[t+"Index"]=0,n=i}else n=t;var r=ke(),o={},a=!1;return re(n,(function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var i=n.match(/^(\w+)(Index|Id|Name)$/)||[],s=i[1],l=(i[2]||"").toLowerCase();if(s&&l&&!(e&&e.includeMainTypes&&te(e.includeMainTypes,s)<0))a=a||!!s,(r.get(s)||r.set(s,{}))[l]=t}else o[n]=t})),{mainTypeSpecified:a,queryOptionMap:r,others:o}}var ja={useDefault:!0,enableAll:!1,enableNone:!1},Ya={useDefault:!1,enableAll:!0,enableNone:!0};function Za(t,e,n,i){i=i||ja;var r=n.index,o=n.id,a=n.name,s={models:null,specified:null!=r||null!=o||null!=a};if(!s.specified){var l=void 0;return s.models=i.useDefault&&(l=t.getComponent(e))?[l]:[],s}return"none"===r||!1===r?(Ie(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===r&&(Ie(i.enableAll,'`"all"` is not a valid value on index option.'),r=o=a=null),s.models=t.queryComponents({mainType:e,index:r,id:o,name:a}),s)}function Qa(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function qa(t,e){var n=ke(),i=[];return re(t,(function(t){var r=e(t);(n.get(r)||(i.push(r),n.set(r,[]))).push(t)})),{keys:i,buckets:n}}function Ja(t,e,n,i,r){var o=null==e||"auto"===e;if(null==i)return i;if(ge(i))return aa(f=Ia(n||0,i,r),o?Math.max(la(n||0),la(i)):e);if(pe(i))return r<1?n:i;for(var a=[],s=n,l=i,u=Math.max(s?s.length:0,l.length),c=0;c<u;++c){var h=t.getDimensionInfo(c);if(h&&"ordinal"===h.type)a[c]=(r<1&&s?s:l)[c];else{var d=s&&s[c]?s[c]:0,p=l[c],f=Ia(d,p,r);a[c]=aa(f,o?Math.max(la(d),la(p)):e)}}return a}var Ka=".",$a="___EC__COMPONENT__CONTAINER___",ts="___EC__EXTENDED_CLASS___";function es(t){var e={main:"",sub:""};if(t){var n=t.split(Ka);e.main=n[0]||"",e.sub=n[1]||""}return e}function ns(t,e){t.$constructor=t,t.extend=function(t){var e,n,i=this;return de(n=i)&&/^class\s/.test(Function.prototype.toString.call(n))?e=function(t){function e(){return t.apply(this,arguments)||this}return Tt(e,t),e}(i):(e=function(){(t.$constructor||i).apply(this,arguments)},ee(e,this)),Kt(e.prototype,t),e[ts]=!0,e.extend=this.extend,e.superCall=os,e.superApply=as,e.superClass=i,e}}function is(t,e){t.extend=e.extend}var rs=Math.round(10*Math.random());function os(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function as(t,e,n){return this.superClass.prototype[e].apply(t,n)}function ss(t){var e={};t.registerClass=function(t){var n,i=t.type||t.prototype.type;if(i){Ie(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n=i),'componentType "'+n+'" illegal'),t.prototype.type=i;var r=es(i);if(r.sub){if(r.sub!==$a){var o=function(t){var n=e[t.main];n&&n[$a]||((n=e[t.main]={})[$a]=!0);return n}(r);o[r.sub]=t}}else e[r.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[$a]&&(r=n?r[n]:null),i&&!r)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=es(t),i=[],r=e[n.main];return r&&r[$a]?re(r,(function(t,e){e!==$a&&i.push(t)})):i.push(r),i},t.hasClass=function(t){var n=es(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return re(e,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){var n=es(t),i=e[n.main];return i&&i[$a]}}function ls(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,i,r){for(var o={},a=0;a<t.length;a++){var s=t[a][1];if(!(i&&te(i,s)>=0||r&&te(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var us=ls([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),cs=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return us(this,t,e)},t}(),hs=new qi(50);function ds(t){if("string"==typeof t){var e=hs.get(t);return e&&e.image}return t}function ps(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=hs.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!gs(e=o.image)&&o.pending.push(a):((e=Nt.loadImage(t,fs,fs)).__zrImageSrc=t,hs.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function fs(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function gs(t){return t&&t.width&&t.height}var ms=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function vs(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=ys(e,n,i,r);for(var a=0,s=o.length;a<s;a++)o[a]=_s(o[a],r);return o.join("\n")}function ys(t,e,n,i){var r=Kt({},i=i||{});r.font=e,n=Se(n,"..."),r.maxIterations=Se(i.maxIterations,2);var o=r.minChar=Se(i.minChar,0);r.cnCharWidth=Po("国",e);var a=r.ascCharWidth=Po("a",e);r.placeholder=Se(i.placeholder,"");for(var s=t=Math.max(0,t-1),l=0;l<o&&s>=a;l++)s-=a;var u=Po(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function _s(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=Po(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?xs(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=Po(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function xs(t,e,n,i){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?n:i}return o}var bs=function(){},ws=function(t){this.tokens=[],t&&(this.tokens=t)},Ss=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function As(t,e,n,i,r){var o,a,s=""===e,l=r&&n.rich[r]||{},u=t.lines,c=l.font||n.font,h=!1;if(i){var d=l.padding,p=d?d[1]+d[3]:0;if(null!=l.width&&"auto"!==l.width){var f=zo(l.width,i.width)+p;u.length>0&&f+i.accumWidth>i.width&&(o=e.split("\n"),h=!0),i.accumWidth=f}else{var g=Is(e,c,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+p,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var m=0;m<o.length;m++){var v=o[m],y=new bs;if(y.styleName=r,y.text=v,y.isLineHolder=!v&&!s,"number"==typeof l.width?y.width=l.width:y.width=a?a[m]:Po(v,c),m||h)u.push(new ws([y]));else{var _=(u[u.length-1]||(u[0]=new ws)).tokens,x=_.length;1===x&&_[0].isLineHolder?_[0]=y:(v||!x||s)&&_.push(y)}}}var Ts=ae(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function Ms(t){return!function(t){var e=t.charCodeAt(0);return e>=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!Ts[t]}function Is(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,c=0,h=0;h<t.length;h++){var d=t.charAt(h);if("\n"!==d){var p=Po(d,e),f=!i&&!Ms(d);(o.length?c+p>n:r+c+p>n)?c?(s||l)&&(f?(s||(s=l,l="",c=u=0),o.push(s),a.push(c-u),l+=d,s="",c=u+=p):(l&&(s+=l,l="",u=0),o.push(s),a.push(c),s=d,c=p)):f?(o.push(l),a.push(u),l=d,u=p):(o.push(d),a.push(p)):(c+=p,f?(l+=d,u+=p):(l&&(s+=l,l="",u=0),s+=d))}else l&&(s+=l,c+=u),o.push(s),a.push(c),s="",l="",u=0,c=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(c)),1===o.length&&(c+=r),{accumWidth:c,lines:o,linesWidths:a}}var Cs="__zr_style_"+Math.round(10*Math.random()),Ds={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Es={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Ds[Cs]=!0;var Ls=["z","z2","invisible"],Ps=["invisible"],Rs=function(t){function e(e){return t.call(this,e)||this}var n;return Tt(e,t),e.prototype._init=function(e){for(var n=le(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,n,i){var r=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(t,e,n){Ns.copy(t.getBoundingRect()),t.transform&&Ns.applyTransform(t.transform);return ks.width=e,ks.height=n,!Ns.intersect(ks)}(this,t,e)||r&&!r[0]&&!r[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(i&&this.parent)for(var a=this.parent;a;){if(a.ignore)return!1;a=a.parent}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,o=i.shadowOffsetX||0,a=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new Zn(0,0,0,0)),e?Zn.applyTransform(t,n,e):t.copy(n),(r||o||a)&&(t.width+=2*r+Math.abs(o),t.height+=2*r+Math.abs(a),t.x=Math.min(t.x,t.x+o-r),t.y=Math.min(t.y,t.y+a-r));var s=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-s),t.y=Math.floor(t.y-s),t.width=Math.ceil(t.width+1+2*s),t.height=Math.ceil(t.height+1+2*s))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new Zn(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},e.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:Kt(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=2,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(2&this.__dirty)},e.prototype.styleUpdated=function(){this.__dirty&=-3},e.prototype.createStyle=function(t){return Be(Ds,t)},e.prototype.useStyle=function(t){t[Cs]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[Cs]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,Ls)},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.style?o?r?s=n.style:(s=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(s,n.style)):(s=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(s,n.style)):l&&(s=i.style),s)if(o){var u=this.style;if(this.style=this.createStyle(l?{}:u),l)for(var c=le(u),h=0;h<c.length;h++){(p=c[h])in s&&(s[p]=s[p],this.style[p]=u[p])}var d=le(s);for(h=0;h<d.length;h++){var p=d[h];this.style[p]=this.style[p]}this._transitionState(e,{style:s},a,this.getAnimationStyleProps())}else this.useStyle(s);var f=this.__inHover?Ps:Ls;for(h=0;h<f.length;h++){p=f[h];n&&null!=n[p]?this[p]=n[p]:l&&null!=i[p]&&(this[p]=i[p])}},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},e.prototype._mergeStyle=function(t,e){return Kt(t,e),t},e.prototype.getAnimationStyleProps=function(){return Es},e.initDefaultProps=((n=e.prototype).type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,void(n.__dirty=2|pi)),e}(Xo),Ns=new Zn(0,0,0,0),ks=new Zn(0,0,0,0);var Os=Math.min,Bs=Math.max,zs=Math.sin,Fs=Math.cos,Vs=2*Math.PI,Gs=Ue(),Us=Ue(),Hs=Ue();function Ws(t,e,n){if(0!==t.length){for(var i=t[0],r=i[0],o=i[0],a=i[1],s=i[1],l=1;l<t.length;l++)i=t[l],r=Os(r,i[0]),o=Bs(o,i[0]),a=Os(a,i[1]),s=Bs(s,i[1]);e[0]=r,e[1]=a,n[0]=o,n[1]=s}}function Xs(t,e,n,i,r,o){r[0]=Os(t,n),r[1]=Os(e,i),o[0]=Bs(t,n),o[1]=Bs(e,i)}var js=[],Ys=[];function Zs(t,e,n,i,r,o,a,s,l,u){var c=ki,h=Pi,d=c(t,n,r,a,js);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var p=0;p<d;p++){var f=h(t,n,r,a,js[p]);l[0]=Os(f,l[0]),u[0]=Bs(f,u[0])}d=c(e,i,o,s,Ys);for(p=0;p<d;p++){var g=h(e,i,o,s,Ys[p]);l[1]=Os(g,l[1]),u[1]=Bs(g,u[1])}l[0]=Os(t,l[0]),u[0]=Bs(t,u[0]),l[0]=Os(a,l[0]),u[0]=Bs(a,u[0]),l[1]=Os(e,l[1]),u[1]=Bs(e,u[1]),l[1]=Os(s,l[1]),u[1]=Bs(s,u[1])}function Qs(t,e,n,i,r,o,a,s){var l=Gi,u=Fi,c=Bs(Os(l(t,n,r),1),0),h=Bs(Os(l(e,i,o),1),0),d=u(t,n,r,c),p=u(e,i,o,h);a[0]=Os(t,r,d),a[1]=Os(e,o,p),s[0]=Bs(t,r,d),s[1]=Bs(e,o,p)}function qs(t,e,n,i,r,o,a,s,l){var u=rn,c=on,h=Math.abs(r-o);if(h%Vs<1e-4&&h>1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(Gs[0]=Fs(r)*n+t,Gs[1]=zs(r)*i+e,Us[0]=Fs(o)*n+t,Us[1]=zs(o)*i+e,u(s,Gs,Us),c(l,Gs,Us),(r%=Vs)<0&&(r+=Vs),(o%=Vs)<0&&(o+=Vs),r>o&&!a?o+=Vs:r<o&&a&&(r+=Vs),a){var d=o;o=r,r=d}for(var p=0;p<o;p+=Math.PI/2)p>r&&(Hs[0]=Fs(p)*n+t,Hs[1]=zs(p)*i+e,u(s,Hs,s),c(l,Hs,l))}var Js={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Ks=[],$s=[],tl=[],el=[],nl=[],il=[],rl=Math.min,ol=Math.max,al=Math.cos,sl=Math.sin,ll=Math.abs,ul=Math.PI,cl=2*ul,hl="undefined"!=typeof Float32Array,dl=[];function pl(t){return Math.round(t/ul*1e8)/1e8%2*ul}function fl(t,e){var n=pl(t[0]);n<0&&(n+=cl);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=cl?r=n+cl:e&&n-r>=cl?r=n-cl:!e&&n>r?r=n+(cl-pl(n-r)):e&&n<r&&(r=n-(cl-pl(r-n))),t[0]=n,t[1]=r}var gl=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=ll(n/yo/t)||0,this._uy=ll(n/yo/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Js.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=ll(t-this._xi),i=ll(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(Js.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(Js.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(Js.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),dl[0]=i,dl[1]=r,fl(dl,o),i=dl[0];var a=(r=dl[1])-i;return this.addData(Js.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=al(r)*n+t,this._yi=sl(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(Js.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Js.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!hl||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();hl&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},t.prototype.addData=function(t,e,n,i,r,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,hl&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){tl[0]=tl[1]=nl[0]=nl[1]=Number.MAX_VALUE,el[0]=el[1]=il[0]=il[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;t<this._len;){var a=e[t++],s=1===t;switch(s&&(r=n=e[t],o=i=e[t+1]),a){case Js.M:n=r=e[t++],i=o=e[t++],nl[0]=r,nl[1]=o,il[0]=r,il[1]=o;break;case Js.L:Xs(n,i,e[t],e[t+1],nl,il),n=e[t++],i=e[t++];break;case Js.C:Zs(n,i,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],nl,il),n=e[t++],i=e[t++];break;case Js.Q:Qs(n,i,e[t++],e[t++],e[t],e[t+1],nl,il),n=e[t++],i=e[t++];break;case Js.A:var l=e[t++],u=e[t++],c=e[t++],h=e[t++],d=e[t++],p=e[t++]+d;t+=1;var f=!e[t++];s&&(r=al(d)*c+l,o=sl(d)*h+u),qs(l,u,c,h,d,p,f,nl,il),n=al(p)*c+l,i=sl(p)*h+u;break;case Js.R:Xs(r=n=e[t++],o=i=e[t++],r+e[t++],o+e[t++],nl,il);break;case Js.Z:n=r,i=o}rn(tl,tl,nl),on(el,el,il)}return 0===t&&(tl[0]=tl[1]=el[0]=el[1]=0),new Zn(tl[0],tl[1],el[0]-tl[0],el[1]-tl[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,o=0,a=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,c=0,h=0;h<e;){var d=t[h++],p=1===h;p&&(a=r=t[h],s=o=t[h+1]);var f=-1;switch(d){case Js.M:r=a=t[h++],o=s=t[h++];break;case Js.L:var g=t[h++],m=(_=t[h++])-o;(ll(D=g-r)>n||ll(m)>i||h===e-1)&&(f=Math.sqrt(D*D+m*m),r=g,o=_);break;case Js.C:var v=t[h++],y=t[h++],_=(g=t[h++],t[h++]),x=t[h++],b=t[h++];f=zi(r,o,v,y,g,_,x,b,10),r=x,o=b;break;case Js.Q:f=Wi(r,o,v=t[h++],y=t[h++],g=t[h++],_=t[h++],10),r=g,o=_;break;case Js.A:var w=t[h++],S=t[h++],A=t[h++],T=t[h++],M=t[h++],I=t[h++],C=I+M;h+=1,p&&(a=al(M)*A+w,s=sl(M)*T+S),f=ol(A,T)*rl(cl,Math.abs(I)),r=al(C)*A+w,o=sl(C)*T+S;break;case Js.R:a=r=t[h++],s=o=t[h++],f=2*t[h++]+2*t[h++];break;case Js.Z:var D=a-r;m=s-o;f=Math.sqrt(D*D+m*m),r=a,o=s}f>=0&&(l[c++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,c,h,d=this.data,p=this._ux,f=this._uy,g=this._len,m=e<1,v=0,y=0,_=0;if(!m||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var x=0;x<g;){var b=d[x++],w=1===x;switch(w&&(n=r=d[x],i=o=d[x+1]),b!==Js.L&&_>0&&(t.lineTo(c,h),_=0),b){case Js.M:n=r=d[x++],i=o=d[x++],t.moveTo(r,o);break;case Js.L:a=d[x++],s=d[x++];var S=ll(a-r),A=ll(s-o);if(S>p||A>f){if(m){if(v+(Z=l[y++])>u){var T=(u-v)/Z;t.lineTo(r*(1-T)+a*T,o*(1-T)+s*T);break t}v+=Z}t.lineTo(a,s),r=a,o=s,_=0}else{var M=S*S+A*A;M>_&&(c=a,h=s,_=M)}break;case Js.C:var I=d[x++],C=d[x++],D=d[x++],E=d[x++],L=d[x++],P=d[x++];if(m){if(v+(Z=l[y++])>u){Oi(r,I,D,L,T=(u-v)/Z,Ks),Oi(o,C,E,P,T,$s),t.bezierCurveTo(Ks[1],$s[1],Ks[2],$s[2],Ks[3],$s[3]);break t}v+=Z}t.bezierCurveTo(I,C,D,E,L,P),r=L,o=P;break;case Js.Q:I=d[x++],C=d[x++],D=d[x++],E=d[x++];if(m){if(v+(Z=l[y++])>u){Ui(r,I,D,T=(u-v)/Z,Ks),Ui(o,C,E,T,$s),t.quadraticCurveTo(Ks[1],$s[1],Ks[2],$s[2]);break t}v+=Z}t.quadraticCurveTo(I,C,D,E),r=D,o=E;break;case Js.A:var R=d[x++],N=d[x++],k=d[x++],O=d[x++],B=d[x++],z=d[x++],F=d[x++],V=!d[x++],G=k>O?k:O,U=ll(k-O)>.001,H=B+z,W=!1;if(m)v+(Z=l[y++])>u&&(H=B+z*(u-v)/Z,W=!0),v+=Z;if(U&&t.ellipse?t.ellipse(R,N,k,O,F,B,H,V):t.arc(R,N,G,B,H,V),W)break t;w&&(n=al(B)*k+R,i=sl(B)*O+N),r=al(H)*k+R,o=sl(H)*O+N;break;case Js.R:n=r=d[x],i=o=d[x+1],a=d[x++],s=d[x++];var X=d[x++],j=d[x++];if(m){if(v+(Z=l[y++])>u){var Y=u-v;t.moveTo(a,s),t.lineTo(a+rl(Y,X),s),(Y-=X)>0&&t.lineTo(a+X,s+rl(Y,j)),(Y-=j)>0&&t.lineTo(a+ol(X-Y,0),s+j),(Y-=X)>0&&t.lineTo(a,s+ol(j-Y,0));break t}v+=Z}t.rect(a,s,X,j);break;case Js.Z:if(m){var Z;if(v+(Z=l[y++])>u){T=(u-v)/Z;t.lineTo(r*(1-T)+n*T,o*(1-T)+i*T);break t}v+=Z}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=Js,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();function ml(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||a<e-s&&a<i-s||o>t+s&&o>n+s||o<t-s&&o<n-s)return!1;if(t===n)return Math.abs(o-t)<=s/2;var u=(l=(e-i)/(t-n))*o-a+(t*i-n*e)/(t-n);return u*u/(l*l+1)<=s/2*s/2}function vl(t,e,n,i,r,o,a,s,l,u,c){if(0===l)return!1;var h=l;return!(c>e+h&&c>i+h&&c>o+h&&c>s+h||c<e-h&&c<i-h&&c<o-h&&c<s-h||u>t+h&&u>n+h&&u>r+h&&u>a+h||u<t-h&&u<n-h&&u<r-h&&u<a-h)&&Bi(t,e,n,i,r,o,a,s,u,c,null)<=h/2}function yl(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=a;return!(l>e+u&&l>i+u&&l>o+u||l<e-u&&l<i-u&&l<o-u||s>t+u&&s>n+u&&s>r+u||s<t-u&&s<n-u&&s<r-u)&&Hi(t,e,n,i,r,o,s,l,null)<=u/2}var _l=2*Math.PI;function xl(t){return(t%=_l)<0&&(t+=_l),t}var bl=2*Math.PI;function wl(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=a;s-=t,l-=e;var c=Math.sqrt(s*s+l*l);if(c-u>n||c+u<n)return!1;if(Math.abs(i-r)%bl<1e-4)return!0;if(o){var h=i;i=xl(r),r=xl(h)}else i=xl(i),r=xl(r);i>r&&(r+=bl);var d=Math.atan2(l,s);return d<0&&(d+=bl),d>=i&&d<=r||d+bl>=i&&d+bl<=r}function Sl(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i)return 0;if(i===e)return 0;var a=(o-e)/(i-e),s=i<e?1:-1;1!==a&&0!==a||(s=i<e?.5:-.5);var l=a*(n-t)+t;return l===r?1/0:l>r?s:0}var Al=gl.CMD,Tl=2*Math.PI,Ml=1e-4;var Il=[-1,-1,-1],Cl=[-1,-1];function Dl(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u<e&&u<i&&u<o&&u<s)return 0;var c,h=Ni(e,i,o,s,u,Il);if(0===h)return 0;for(var d=0,p=-1,f=void 0,g=void 0,m=0;m<h;m++){var v=Il[m],y=0===v||1===v?.5:1;Pi(t,n,r,a,v)<l||(p<0&&(p=ki(e,i,o,s,Cl),Cl[1]<Cl[0]&&p>1&&(c=void 0,c=Cl[0],Cl[0]=Cl[1],Cl[1]=c),f=Pi(e,i,o,s,Cl[0]),p>1&&(g=Pi(e,i,o,s,Cl[1]))),2===p?v<Cl[0]?d+=f<e?y:-y:v<Cl[1]?d+=g<f?y:-y:d+=s<g?y:-y:v<Cl[0]?d+=f<e?y:-y:d+=s<f?y:-y)}return d}function El(t,e,n,i,r,o,a,s){if(s>e&&s>i&&s>o||s<e&&s<i&&s<o)return 0;var l=function(t,e,n,i,r){var o=t-2*e+n,a=2*(e-t),s=t-i,l=0;if(Ei(o))Li(a)&&(c=-s/a)>=0&&c<=1&&(r[l++]=c);else{var u=a*a-4*o*s;if(Ei(u))(c=-a/(2*o))>=0&&c<=1&&(r[l++]=c);else if(u>0){var c,h=wi(u),d=(-a-h)/(2*o);(c=(-a+h)/(2*o))>=0&&c<=1&&(r[l++]=c),d>=0&&d<=1&&(r[l++]=d)}}return l}(e,i,o,s,Il);if(0===l)return 0;var u=Gi(e,i,o);if(u>=0&&u<=1){for(var c=0,h=Fi(e,i,o,u),d=0;d<l;d++){var p=0===Il[d]||1===Il[d]?.5:1;Fi(t,n,r,Il[d])<a||(Il[d]<u?c+=h<e?p:-p:c+=o<h?p:-p)}return c}p=0===Il[0]||1===Il[0]?.5:1;return Fi(t,n,r,Il[0])<a?0:o<e?p:-p}function Ll(t,e,n,i,r,o,a,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);Il[0]=-l,Il[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=Tl-1e-4){i=0,r=Tl;var c=o?1:-1;return a>=Il[0]+t&&a<=Il[1]+t?c:0}if(i>r){var h=i;i=r,r=h}i<0&&(i+=Tl,r+=Tl);for(var d=0,p=0;p<2;p++){var f=Il[p];if(f+t>a){var g=Math.atan2(s,f);c=o?1:-1;g<0&&(g=Tl+g),(g>=i&&g<=r||g+Tl>=i&&g+Tl<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(c=-c),d+=c)}}return d}function Pl(t,e,n,i,r){for(var o,a,s,l,u=t.data,c=t.len(),h=0,d=0,p=0,f=0,g=0,m=0;m<c;){var v=u[m++],y=1===m;switch(v===Al.M&&m>1&&(n||(h+=Sl(d,p,f,g,i,r))),y&&(f=d=u[m],g=p=u[m+1]),v){case Al.M:d=f=u[m++],p=g=u[m++];break;case Al.L:if(n){if(ml(d,p,u[m],u[m+1],e,i,r))return!0}else h+=Sl(d,p,u[m],u[m+1],i,r)||0;d=u[m++],p=u[m++];break;case Al.C:if(n){if(vl(d,p,u[m++],u[m++],u[m++],u[m++],u[m],u[m+1],e,i,r))return!0}else h+=Dl(d,p,u[m++],u[m++],u[m++],u[m++],u[m],u[m+1],i,r)||0;d=u[m++],p=u[m++];break;case Al.Q:if(n){if(yl(d,p,u[m++],u[m++],u[m],u[m+1],e,i,r))return!0}else h+=El(d,p,u[m++],u[m++],u[m],u[m+1],i,r)||0;d=u[m++],p=u[m++];break;case Al.A:var _=u[m++],x=u[m++],b=u[m++],w=u[m++],S=u[m++],A=u[m++];m+=1;var T=!!(1-u[m++]);o=Math.cos(S)*b+_,a=Math.sin(S)*w+x,y?(f=o,g=a):h+=Sl(d,p,o,a,i,r);var M=(i-_)*w/b+_;if(n){if(wl(_,x,w,S,S+A,T,e,M,r))return!0}else h+=Ll(_,x,w,S,S+A,T,M,r);d=Math.cos(S+A)*b+_,p=Math.sin(S+A)*w+x;break;case Al.R:if(f=d=u[m++],g=p=u[m++],o=f+u[m++],a=g+u[m++],n){if(ml(f,g,o,g,e,i,r)||ml(o,g,o,a,e,i,r)||ml(o,a,f,a,e,i,r)||ml(f,a,f,g,e,i,r))return!0}else h+=Sl(o,g,o,a,i,r),h+=Sl(f,a,f,g,i,r);break;case Al.Z:if(n){if(ml(d,p,f,g,e,i,r))return!0}else h+=Sl(d,p,f,g,i,r);d=f,p=g}}return n||(s=p,l=g,Math.abs(s-l)<Ml)||(h+=Sl(d,p,f,g,i,r)||0),0!==h}var Rl=$t({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Ds),Nl={style:$t({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Es.style)},kl=Do.concat(["invisible","culling","z","z2","zlevel","parent"]),Ol=function(t){function e(e){return t.call(this,e)||this}var n;return Tt(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<kl.length;++s)r[kl[s]]=this[kl[s]];r.__dirty|=pi}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=le(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var o=n[r],a=e[o];"style"===o?this.style?Kt(this.style,a):this.useStyle(a):"shape"===o?Kt(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if(pe(t)){var e=mr(t,0);return e>.5?_o:e>.2?"#eee":xo}if(t)return xo}return _o},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(pe(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===mr(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=~fi},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new gl(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&fi)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return Pl(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return Pl(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=fi,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:Kt(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&fi)},e.prototype.createStyle=function(t){return Be(Rl,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=Kt({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=Kt({},i.shape),Kt(s,n.shape)):(s=Kt({},r?this.shape:i.shape),Kt(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=Kt({},this.shape);for(var u={},c=le(s),h=0;h<c.length;h++){var d=c[h];"object"===y(s[d])?this.shape[d]=s[d]:u[d]=s[d]}this._transitionState(e,{shape:u},a)}else this.shape=s,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(i.shape=n),i},e.prototype.getAnimationStyleProps=function(){return Nl},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var n=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return Tt(n,e),n.prototype.getDefaultStyle=function(){return Qt(t.style)},n.prototype.getDefaultShape=function(){return Qt(t.shape)},n}(e);for(var i in t)"function"==typeof t[i]&&(n.prototype[i]=t[i]);return n},e.initDefaultProps=((n=e.prototype).type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,void(n.__dirty=2|pi|fi)),e}(Rs),Bl=$t({strokeFirst:!0,font:Et,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},Rl),zl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return Be(Bl,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=No(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(Rs);zl.prototype.type="tspan";var Fl=$t({x:0,y:0},Ds),Vl={style:$t({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Es.style)};var Gl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.prototype.createStyle=function(t){return Be(Fl,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return Vl},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Zn(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Rs);Gl.prototype.type="image";var Ul=Math.round;function Hl(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(Ul(2*i)===Ul(2*r)&&(t.x1=t.x2=Xl(i,s,!0)),Ul(2*o)===Ul(2*a)&&(t.y1=t.y2=Xl(o,s,!0)),t):t}}function Wl(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=Xl(i,s,!0),t.y=Xl(r,s,!0),t.width=Math.max(Xl(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(Xl(r+a,s,!1)-t.y,0===a?0:1),t):t}}function Xl(t,e,n){if(!e)return t;var i=Ul(2*t);return(i+Ul(e))%2==0?i/2:(i+(n?1:-1))/2}var jl=function(){this.x=0,this.y=0,this.width=0,this.height=0},Yl={},Zl=function(t){function e(e){return t.call(this,e)||this}return Tt(e,t),e.prototype.getDefaultShape=function(){return new jl},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=Wl(Yl,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,c=e.height,h=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"==typeof h?n=i=r=o=h:h instanceof Array?1===h.length?n=i=r=o=h[0]:2===h.length?(n=r=h[0],i=o=h[1]):3===h.length?(n=h[0],i=o=h[1],r=h[2]):(n=h[0],i=h[1],r=h[2],o=h[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>c&&(i*=c/(a=i+r),r*=c/a),n+o>c&&(n*=c/(a=n+o),o*=c/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+c-r),0!==r&&t.arc(s+u-r,l+c-r,r,0,Math.PI/2),t.lineTo(s+o,l+c),0!==o&&t.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Ol);Zl.prototype.type="rect";var Ql={fill:"#000"},ql={style:$t({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Es.style)},Jl=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Ql,n.attr(e),n}return Tt(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,ru(t=this.style),re(t.rich,ru),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new Zn(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),(i=i||t.clone()).union(t)):(i=i||a.clone()).union(a)}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||Ql},e.prototype.setTextContent=function(t){},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return Kt(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=le(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},Kt(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return ql},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||Et,n=t.padding,i=function(t,e){null!=t&&(t+="");var n,i=e.overflow,r=e.padding,o=e.font,a="truncate"===i,s=Bo(o),l=Se(e.lineHeight,s),u=!!e.backgroundColor,c="truncate"===e.lineOverflow,h=e.width,d=(n=null==h||"break"!==i&&"breakAll"!==i?t?t.split("\n"):[]:t?Is(t,e.font,h,"breakAll"===i,0).lines:[]).length*l,p=Se(e.height,d);if(d>p&&c){var f=Math.floor(p/l);n=n.slice(0,f)}if(t&&a&&null!=h)for(var g=ys(h,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),m=0;m<n.length;m++)n[m]=_s(n[m],g);var v=p,y=0;for(m=0;m<n.length;m++)y=Math.max(Po(n[m],o),y);null==h&&(h=y);var _=y;return r&&(v+=r[0]+r[2],_+=r[1]+r[3],h+=r[1]+r[3]),u&&(_=h),{lines:n,height:p,outerWidth:_,outerHeight:v,lineHeight:l,calculatedLineHeight:s,contentWidth:y,contentHeight:d,width:h}}(lu(t),t),r=uu(t),o=!!t.backgroundColor,a=i.outerHeight,s=i.outerWidth,l=i.contentWidth,u=i.lines,c=i.lineHeight,h=this._defaultStyle,d=t.x||0,p=t.y||0,f=t.align||h.align||"left",g=t.verticalAlign||h.verticalAlign||"top",m=d,v=Oo(p,i.contentHeight,g);if(r||n){var y=ko(d,s,f),_=Oo(p,a,g);r&&this._renderBackground(t,t,y,_,s,a)}v+=c/2,n&&(m=su(d,f,n),"top"===g?v+=n[0]:"bottom"===g&&(v-=n[2]));for(var x=0,b=!1,w=(au("fill"in t?t.fill:(b=!0,h.fill))),S=(ou("stroke"in t?t.stroke:o||h.autoStroke&&!b?null:(x=2,h.stroke))),A=t.textShadowBlur>0,T=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),M=i.calculatedLineHeight,I=0;I<u.length;I++){var C=this._getOrCreateChild(zl),D=C.createStyle();C.useStyle(D),D.text=u[I],D.x=m,D.y=v,f&&(D.textAlign=f),D.textBaseline="middle",D.opacity=t.opacity,D.strokeFirst=!0,A&&(D.shadowBlur=t.textShadowBlur||0,D.shadowColor=t.textShadowColor||"transparent",D.shadowOffsetX=t.textShadowOffsetX||0,D.shadowOffsetY=t.textShadowOffsetY||0),D.stroke=S,D.fill=w,S&&(D.lineWidth=t.lineWidth||x,D.lineDash=t.lineDash,D.lineDashOffset=t.lineDashOffset||0),D.font=e,nu(D,t),v+=c,T&&C.setBoundingRect(new Zn(ko(D.x,t.width,D.textAlign),Oo(D.y,M,D.textBaseline),l,M))}},e.prototype._updateRichTexts=function(){var t=this.style,e=function(t,e){var n=new Ss;if(null!=t&&(t+=""),!t)return n;for(var i,r=e.width,o=e.height,a=e.overflow,s="break"!==a&&"breakAll"!==a||null==r?null:{width:r,accumWidth:0,breakAll:"breakAll"===a},l=ms.lastIndex=0;null!=(i=ms.exec(t));){var u=i.index;u>l&&As(n,t.substring(l,u),e,s),As(n,i[2],e,s,i[1]),l=ms.lastIndex}l<t.length&&As(n,t.substring(l,t.length),e,s);var c=[],h=0,d=0,p=e.padding,f="truncate"===a,g="truncate"===e.lineOverflow;function m(t,e,n){t.width=e,t.lineHeight=n,h+=n,d=Math.max(d,e)}t:for(var v=0;v<n.lines.length;v++){for(var y=n.lines[v],_=0,x=0,b=0;b<y.tokens.length;b++){var w=(P=y.tokens[b]).styleName&&e.rich[P.styleName]||{},S=P.textPadding=w.padding,A=S?S[1]+S[3]:0,T=P.font=w.font||e.font;P.contentHeight=Bo(T);var M=Se(w.height,P.contentHeight);if(P.innerHeight=M,S&&(M+=S[0]+S[2]),P.height=M,P.lineHeight=Ae(w.lineHeight,e.lineHeight,M),P.align=w&&w.align||e.align,P.verticalAlign=w&&w.verticalAlign||"middle",g&&null!=o&&h+P.lineHeight>o){b>0?(y.tokens=y.tokens.slice(0,b),m(y,x,_),n.lines=n.lines.slice(0,v+1)):n.lines=n.lines.slice(0,v);break t}var I=w.width,C=null==I||"auto"===I;if("string"==typeof I&&"%"===I.charAt(I.length-1))P.percentWidth=I,c.push(P),P.contentWidth=Po(P.text,T);else{if(C){var D=w.backgroundColor,E=D&&D.image;E&&gs(E=ds(E))&&(P.width=Math.max(P.width,E.width*M/E.height))}var L=f&&null!=r?r-x:null;null!=L&&L<P.width?!C||L<A?(P.text="",P.width=P.contentWidth=0):(P.text=vs(P.text,L-A,T,e.ellipsis,{minChar:e.truncateMinChar}),P.width=P.contentWidth=Po(P.text,T)):P.contentWidth=Po(P.text,T)}P.width+=A,x+=P.width,w&&(_=Math.max(_,P.lineHeight))}m(y,x,_)}for(n.outerWidth=n.width=Se(r,d),n.outerHeight=n.height=Se(o,h),n.contentHeight=h,n.contentWidth=d,p&&(n.outerWidth+=p[1]+p[3],n.outerHeight+=p[0]+p[2]),v=0;v<c.length;v++){var P,R=(P=c[v]).percentWidth;P.width=parseInt(R,10)/100*n.width}return n}(lu(t),t),n=e.width,i=e.outerWidth,r=e.outerHeight,o=t.padding,a=t.x||0,s=t.y||0,l=this._defaultStyle,u=t.align||l.align,c=t.verticalAlign||l.verticalAlign,h=ko(a,i,u),d=Oo(s,r,c),p=h,f=d;o&&(p+=o[3],f+=o[0]);var g=p+n;uu(t)&&this._renderBackground(t,t,h,d,i,r);for(var m=!!t.backgroundColor,v=0;v<e.lines.length;v++){for(var y=e.lines[v],_=y.tokens,x=_.length,b=y.lineHeight,w=y.width,S=0,A=p,T=g,M=x-1,I=void 0;S<x&&(!(I=_[S]).align||"left"===I.align);)this._placeToken(I,t,b,f,A,"left",m),w-=I.width,A+=I.width,S++;for(;M>=0&&"right"===(I=_[M]).align;)this._placeToken(I,t,b,f,T,"right",m),w-=I.width,T-=I.width,M--;for(A+=(n-(A-p)-(g-T)-w)/2;S<=M;)I=_[S],this._placeToken(I,t,b,f,A+I.width/2,"center",m),A+=I.width,S++;f+=b}},e.prototype._placeToken=function(t,e,n,i,r,o,a){var s=e.rich[t.styleName]||{};s.text=t.text;var l=t.verticalAlign,u=i+n/2;"top"===l?u=i+t.height/2:"bottom"===l&&(u=i+n-t.height/2),!t.isLineHolder&&uu(s)&&this._renderBackground(s,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,u-t.height/2,t.width,t.height);var c=!!s.backgroundColor,h=t.textPadding;h&&(r=su(r,o,h),u-=t.height/2-h[0]-t.innerHeight/2);var d=this._getOrCreateChild(zl),p=d.createStyle();d.useStyle(p);var f=this._defaultStyle,g=!1,m=0,v=au("fill"in s?s.fill:"fill"in e?e.fill:(g=!0,f.fill)),y=ou("stroke"in s?s.stroke:"stroke"in e?e.stroke:c||a||f.autoStroke&&!g?null:(m=2,f.stroke)),_=s.textShadowBlur>0||e.textShadowBlur>0;p.text=t.text,p.x=r,p.y=u,_&&(p.shadowBlur=s.textShadowBlur||e.textShadowBlur||0,p.shadowColor=s.textShadowColor||e.textShadowColor||"transparent",p.shadowOffsetX=s.textShadowOffsetX||e.textShadowOffsetX||0,p.shadowOffsetY=s.textShadowOffsetY||e.textShadowOffsetY||0),p.textAlign=o,p.textBaseline="middle",p.font=t.font||Et,p.opacity=Ae(s.opacity,e.opacity,1),nu(p,s),y&&(p.lineWidth=Ae(s.lineWidth,e.lineWidth,m),p.lineDash=Se(s.lineDash,e.lineDash),p.lineDashOffset=e.lineDashOffset||0,p.stroke=y),v&&(p.fill=v);var x=t.contentWidth,b=t.contentHeight;d.setBoundingRect(new Zn(ko(p.x,x,p.textAlign),Oo(p.y,b,p.textBaseline),x,b))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,u=t.backgroundColor,c=t.borderWidth,h=t.borderColor,d=u&&u.image,p=u&&!d,f=t.borderRadius,g=this;if(p||t.lineHeight||c&&h){(a=this._getOrCreateChild(Zl)).useStyle(a.createStyle()),a.style.fill=null;var m=a.shape;m.x=n,m.y=i,m.width=r,m.height=o,m.r=f,a.dirtyShape()}if(p)(l=a.style).fill=u||null,l.fillOpacity=Se(t.fillOpacity,1);else if(d){(s=this._getOrCreateChild(Gl)).onload=function(){g.dirtyStyle()};var v=s.style;v.image=u.image,v.x=n,v.y=i,v.width=r,v.height=o}c&&h&&((l=a.style).lineWidth=c,l.stroke=h,l.strokeOpacity=Se(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var y=(a||s).style;y.shadowBlur=t.shadowBlur||0,y.shadowColor=t.shadowColor||"transparent",y.shadowOffsetX=t.shadowOffsetX||0,y.shadowOffsetY=t.shadowOffsetY||0,y.opacity=Ae(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return iu(t)&&(e=[t.fontStyle,t.fontWeight,eu(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&Ce(e)||t.textFont||t.font},e}(Rs),Kl={left:!0,right:1,center:1},$l={top:1,bottom:1,middle:1},tu=["fontStyle","fontWeight","fontSize","fontFamily"];function eu(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?Ct+"px":t+"px":t}function nu(t,e){for(var n=0;n<tu.length;n++){var i=tu[n],r=e[i];null!=r&&(t[i]=r)}}function iu(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function ru(t){if(t){t.font=Jl.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||Kl[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||$l[n]?n:"top",t.padding&&(t.padding=Me(t.padding))}}function ou(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function au(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function su(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function lu(t){var e=t.text;return null!=e&&(e+=""),e}function uu(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var cu=Ua(),hu=function(t,e,n,i){if(i){var r=cu(i);r.dataIndex=n,r.dataType=e,r.seriesIndex=t,r.ssrType="chart","group"===i.type&&i.traverse((function(i){var r=cu(i);r.seriesIndex=t,r.dataIndex=n,r.dataType=e,r.ssrType="chart"}))}},du=1,pu={},fu=Ua(),gu=Ua(),mu=0,vu=1,yu=2,_u=["emphasis","blur","select"],xu=["normal","emphasis","blur","select"],bu=10,wu=9,Su="highlight",Au="downplay",Tu="select",Mu="unselect",Iu="toggleSelect";function Cu(t){return null!=t&&"none"!==t}function Du(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function Eu(t){Du(t,"emphasis",yu)}function Lu(t){t.hoverState===yu&&Du(t,"normal",mu)}function Pu(t){Du(t,"blur",vu)}function Ru(t){t.hoverState===vu&&Du(t,"normal",mu)}function Nu(t){t.selected=!0}function ku(t){t.selected=!1}function Ou(t,e,n){e(t,n)}function Bu(t,e,n){Ou(t,e,n),t.isGroup&&t.traverse((function(t){Ou(t,e,n)}))}function zu(t,e){switch(e){case"emphasis":t.hoverState=yu;break;case"normal":t.hoverState=mu;break;case"blur":t.hoverState=vu;break;case"select":t.selected=!0}}function Fu(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,i){var r=n&&te(n,"select")>=0,o=!1;if(t instanceof Ol){var a=fu(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(Cu(s)||Cu(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(o=!0,i=Kt({},i),(u=Kt({},u)).fill=s):!Cu(u.fill)&&Cu(s)?(o=!0,i=Kt({},i),(u=Kt({},u)).fill=yr(s)):!Cu(u.stroke)&&Cu(l)&&(o||(i=Kt({},i),u=Kt({},u)),u.stroke=yr(l)),i.style=u}}if(i&&null==i.z2){o||(i=Kt({},i));var c=t.z2EmphasisLift;i.z2=t.z2+(null!=c?c:bu)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=te(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?i&&i[s]:l}for(a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&"style"===u.targetName&&u.saveTo(o,e)}return o}(t,["opacity"],e,{opacity:1}),a=(n=n||{}).style||{};return null==a.opacity&&(n=Kt({},n),a=Kt({opacity:i?r:.1*o.opacity},a),n.style=a),n}(this,t,n);if("select"===t)return function(t,e,n){if(n&&null==n.z2){n=Kt({},n);var i=t.z2SelectLift;n.z2=t.z2+(null!=i?i:wu)}return n}(this,0,n)}return n}function Vu(t){t.stateProxy=Fu;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=Fu),n&&(n.stateProxy=Fu)}function Gu(t,e){!Qu(t,e)&&!t.__highByOuter&&Bu(t,Eu)}function Uu(t,e){!Qu(t,e)&&!t.__highByOuter&&Bu(t,Lu)}function Hu(t,e){t.__highByOuter|=1<<(e||0),Bu(t,Eu)}function Wu(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&Bu(t,Lu)}function Xu(t){Bu(t,Pu)}function ju(t){Bu(t,Ru)}function Yu(t){Bu(t,Nu)}function Zu(t){Bu(t,ku)}function Qu(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function qu(t){var e=t.getModel(),n=[],i=[];e.eachComponent((function(e,r){var o=gu(r),a="series"===e,s=a?t.getViewOfSeriesModel(r):t.getViewOfComponentModel(r);!a&&i.push(s),o.isBlured&&(s.group.traverse((function(t){Ru(t)})),a&&n.push(r)),o.isBlured=!1})),re(i,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)}))}function Ju(t,e,n,i){var r=i.getModel();function o(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&ju(i)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var a=r.getSeriesByIndex(t),s=a.coordinateSystem;s&&s.master&&(s=s.master);var l=[];r.eachSeries((function(t){var r=a===t,u=t.coordinateSystem;if(u&&u.master&&(u=u.master),!("series"===n&&!r||"coordinateSystem"===n&&!(u&&s?u===s:r)||"series"===e&&r)){if(i.getViewOfSeriesModel(t).group.traverse((function(t){t.__highByOuter&&r&&"self"===e||Pu(t)})),ie(e))o(t.getData(),e);else if(me(e))for(var c=le(e),h=0;h<c.length;h++)o(t.getData(c[h]),e[c[h]]);l.push(t),gu(t).isBlured=!0}})),r.eachComponent((function(t,e){if("series"!==t){var n=i.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(l,!0,r)}}))}}function Ku(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){gu(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse((function(t){Pu(t)}))}}}function $u(t,e,n,i){var r={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return r;var o=i.getModel().getComponent(t,e);if(!o)return r;var a=i.getViewOfComponentModel(o);if(!a||!a.findHighDownDispatchers)return r;for(var s,l=a.findHighDownDispatchers(n),u=0;u<l.length;u++)if("self"===cu(l[u]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function tc(t){re(t.getAllData(),(function(e){var n=e.data,i=e.type;n.eachItemGraphicEl((function(e,n){t.isSelected(n,i)?Yu(e):Zu(e)}))}))}function ec(t){var e=[];return t.eachSeries((function(t){re(t.getAllData(),(function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function nc(t,e,n){lc(t,!0),Bu(t,Vu),rc(t,e,n)}function ic(t,e,n,i){i?function(t){lc(t,!1)}(t):nc(t,e,n)}function rc(t,e,n){var i=cu(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var oc=["emphasis","blur","select"],ac={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function sc(t,e,n,i){n=n||"itemStyle";for(var r=0;r<oc.length;r++){var o=oc[r],a=e.getModel([o,n]);t.ensureState(o).style=i?i(a):a[ac[n]]()}}function lc(t,e){var n=!1===e,i=t;t.highDownSilentOnTouch&&(i.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!i.__highDownDispatcher||(i.__highByOuter=i.__highByOuter||0,i.__highDownDispatcher=!n)}function uc(t){return!(!t||!t.__highDownDispatcher)}function cc(t){var e=t.type;return e===Tu||e===Mu||e===Iu}function hc(t){var e=t.type;return e===Su||e===Au}var dc=gl.CMD,pc=[[],[],[]],fc=Math.sqrt,gc=Math.atan2;function mc(t,e){if(e){var n,i,r,o,a,s,l=t.data,u=t.len(),c=dc.M,h=dc.C,d=dc.L,p=dc.R,f=dc.A,g=dc.Q;for(r=0,o=0;r<u;){switch(n=l[r++],o=r,i=0,n){case c:case d:i=1;break;case h:i=3;break;case g:i=2;break;case f:var m=e[4],v=e[5],y=fc(e[0]*e[0]+e[1]*e[1]),_=fc(e[2]*e[2]+e[3]*e[3]),x=gc(-e[1]/_,e[0]/y);l[r]*=y,l[r++]+=m,l[r]*=_,l[r++]+=v,l[r++]*=y,l[r++]*=_,l[r++]+=x,l[r++]+=x,o=r+=2;break;case p:s[0]=l[r++],s[1]=l[r++],nn(s,s,e),l[o++]=s[0],l[o++]=s[1],s[0]+=l[r++],s[1]+=l[r++],nn(s,s,e),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<i;a++){var b=pc[a];b[0]=l[r++],b[1]=l[r++],nn(b,b,e),l[o++]=b[0],l[o++]=b[1]}}t.increaseVersion()}}var vc=Math.sqrt,yc=Math.sin,_c=Math.cos,xc=Math.PI;function bc(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function wc(t,e){return(t[0]*e[0]+t[1]*e[1])/(bc(t)*bc(e))}function Sc(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(wc(t,e))}function Ac(t,e,n,i,r,o,a,s,l,u,c){var h=l*(xc/180),d=_c(h)*(t-n)/2+yc(h)*(e-i)/2,p=-1*yc(h)*(t-n)/2+_c(h)*(e-i)/2,f=d*d/(a*a)+p*p/(s*s);f>1&&(a*=vc(f),s*=vc(f));var g=(r===o?-1:1)*vc((a*a*(s*s)-a*a*(p*p)-s*s*(d*d))/(a*a*(p*p)+s*s*(d*d)))||0,m=g*a*p/s,v=g*-s*d/a,y=(t+n)/2+_c(h)*m-yc(h)*v,_=(e+i)/2+yc(h)*m+_c(h)*v,x=Sc([1,0],[(d-m)/a,(p-v)/s]),b=[(d-m)/a,(p-v)/s],w=[(-1*d-m)/a,(-1*p-v)/s],S=Sc(b,w);if(wc(b,w)<=-1&&(S=xc),wc(b,w)>=1&&(S=0),S<0){var A=Math.round(S/xc*1e6)/1e6;S=2*xc+A%2*xc}c.addData(u,y,_,a,s,x,S,h,o)}var Tc=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Mc=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var Ic=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.prototype.applyTransform=function(t){},e}(Ol);function Cc(t){return null!=t.setData}function Dc(t,e){var n=function(t){var e=new gl;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=gl.CMD,l=t.match(Tc);if(!l)return e;for(var u=0;u<l.length;u++){for(var c=l[u],h=c.charAt(0),d=void 0,p=c.match(Mc)||[],f=p.length,g=0;g<f;g++)p[g]=parseFloat(p[g]);for(var m=0;m<f;){var v=void 0,y=void 0,_=void 0,x=void 0,b=void 0,w=void 0,S=void 0,A=i,T=r,M=void 0,I=void 0;switch(h){case"l":i+=p[m++],r+=p[m++],d=s.L,e.addData(d,i,r);break;case"L":i=p[m++],r=p[m++],d=s.L,e.addData(d,i,r);break;case"m":i+=p[m++],r+=p[m++],d=s.M,e.addData(d,i,r),o=i,a=r,h="l";break;case"M":i=p[m++],r=p[m++],d=s.M,e.addData(d,i,r),o=i,a=r,h="L";break;case"h":i+=p[m++],d=s.L,e.addData(d,i,r);break;case"H":i=p[m++],d=s.L,e.addData(d,i,r);break;case"v":r+=p[m++],d=s.L,e.addData(d,i,r);break;case"V":r=p[m++],d=s.L,e.addData(d,i,r);break;case"C":d=s.C,e.addData(d,p[m++],p[m++],p[m++],p[m++],p[m++],p[m++]),i=p[m-2],r=p[m-1];break;case"c":d=s.C,e.addData(d,p[m++]+i,p[m++]+r,p[m++]+i,p[m++]+r,p[m++]+i,p[m++]+r),i+=p[m-2],r+=p[m-1];break;case"S":v=i,y=r,M=e.len(),I=e.data,n===s.C&&(v+=i-I[M-4],y+=r-I[M-3]),d=s.C,A=p[m++],T=p[m++],i=p[m++],r=p[m++],e.addData(d,v,y,A,T,i,r);break;case"s":v=i,y=r,M=e.len(),I=e.data,n===s.C&&(v+=i-I[M-4],y+=r-I[M-3]),d=s.C,A=i+p[m++],T=r+p[m++],i+=p[m++],r+=p[m++],e.addData(d,v,y,A,T,i,r);break;case"Q":A=p[m++],T=p[m++],i=p[m++],r=p[m++],d=s.Q,e.addData(d,A,T,i,r);break;case"q":A=p[m++]+i,T=p[m++]+r,i+=p[m++],r+=p[m++],d=s.Q,e.addData(d,A,T,i,r);break;case"T":v=i,y=r,M=e.len(),I=e.data,n===s.Q&&(v+=i-I[M-4],y+=r-I[M-3]),i=p[m++],r=p[m++],d=s.Q,e.addData(d,v,y,i,r);break;case"t":v=i,y=r,M=e.len(),I=e.data,n===s.Q&&(v+=i-I[M-4],y+=r-I[M-3]),i+=p[m++],r+=p[m++],d=s.Q,e.addData(d,v,y,i,r);break;case"A":_=p[m++],x=p[m++],b=p[m++],w=p[m++],S=p[m++],Ac(A=i,T=r,i=p[m++],r=p[m++],w,S,_,x,b,d=s.A,e);break;case"a":_=p[m++],x=p[m++],b=p[m++],w=p[m++],S=p[m++],Ac(A=i,T=r,i+=p[m++],r+=p[m++],w,S,_,x,b,d=s.A,e)}}"z"!==h&&"Z"!==h||(d=s.Z,e.addData(d),i=o,r=a),n=d}return e.toStatic(),e}(t),i=Kt({},e);return i.buildPath=function(t){if(Cc(t)){t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e,1)}else{var e=t;n.rebuildPath(e,1)}},i.applyTransform=function(t){mc(n,t),this.dirtyShape()},i}function Ec(t,e){return new Ic(Dc(t,e))}function Lc(t,e){e=e||{};var n=new Ol;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?mc(n.path,t.getComputedTransform()):e.toLocal?n.setLocalTransform(t.getComputedTransform()):n.copyTransform(t),n.buildPath=t.buildPath,n.applyTransform=n.applyTransform,n.z=t.z,n.z2=t.z2,n.zlevel=t.zlevel,n}var Pc=function(){this.cx=0,this.cy=0,this.r=0},Rc=function(t){function e(e){return t.call(this,e)||this}return Tt(e,t),e.prototype.getDefaultShape=function(){return new Pc},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(Ol);Rc.prototype.type="circle";var Nc=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},kc=function(t){function e(e){return t.call(this,e)||this}return Tt(e,t),e.prototype.getDefaultShape=function(){return new Nc},e.prototype.buildPath=function(t,e){var n=.5522848,i=e.cx,r=e.cy,o=e.rx,a=e.ry,s=o*n,l=a*n;t.moveTo(i-o,r),t.bezierCurveTo(i-o,r-l,i-s,r-a,i,r-a),t.bezierCurveTo(i+s,r-a,i+o,r-l,i+o,r),t.bezierCurveTo(i+o,r+l,i+s,r+a,i,r+a),t.bezierCurveTo(i-s,r+a,i-o,r+l,i-o,r),t.closePath()},e}(Ol);kc.prototype.type="ellipse";var Oc=Math.PI,Bc=2*Oc,zc=Math.sin,Fc=Math.cos,Vc=Math.acos,Gc=Math.atan2,Uc=Math.abs,Hc=Math.sqrt,Wc=Math.max,Xc=Math.min,jc=1e-4;function Yc(t,e,n,i,r,o,a){var s=t-n,l=e-i,u=(a?o:-o)/Hc(s*s+l*l),c=u*l,h=-u*s,d=t+c,p=e+h,f=n+c,g=i+h,m=(d+f)/2,v=(p+g)/2,y=f-d,_=g-p,x=y*y+_*_,b=r-o,w=d*g-f*p,S=(_<0?-1:1)*Hc(Wc(0,b*b*x-w*w)),A=(w*_-y*S)/x,T=(-w*y-_*S)/x,M=(w*_+y*S)/x,I=(-w*y+_*S)/x,C=A-m,D=T-v,E=M-m,L=I-v;return C*C+D*D>E*E+L*L&&(A=M,T=I),{cx:A,cy:T,x0:-c,y0:-h,x1:A*(r/b-1),y1:T*(r/b-1)}}function Zc(t,e){var n,i=Wc(e.r,0),r=Wc(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,c=e.cy,h=!!e.clockwise,d=Uc(l-s),p=d>Bc&&d%Bc;if(p>jc&&(d=p),i>jc)if(d>Bc-jc)t.moveTo(u+i*Fc(s),c+i*zc(s)),t.arc(u,c,i,s,l,!h),r>jc&&(t.moveTo(u+r*Fc(l),c+r*zc(l)),t.arc(u,c,r,l,s,h));else{var f=void 0,g=void 0,m=void 0,v=void 0,y=void 0,_=void 0,x=void 0,b=void 0,w=void 0,S=void 0,A=void 0,T=void 0,M=void 0,I=void 0,C=void 0,D=void 0,E=i*Fc(s),L=i*zc(s),P=r*Fc(l),R=r*zc(l),N=d>jc;if(N){var k=e.cornerRadius;k&&(n=function(t){var e;if(he(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(k),f=n[0],g=n[1],m=n[2],v=n[3]);var O=Uc(i-r)/2;if(y=Xc(O,m),_=Xc(O,v),x=Xc(O,f),b=Xc(O,g),A=w=Wc(y,_),T=S=Wc(x,b),(w>jc||S>jc)&&(M=i*Fc(l),I=i*zc(l),C=r*Fc(s),D=r*zc(s),d<Oc)){var B=function(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,c=a-r,h=s-o,d=h*l-c*u;if(!(d*d<jc))return[t+(d=(c*(e-o)-h*(t-r))/d)*l,e+d*u]}(E,L,C,D,M,I,P,R);if(B){var z=E-B[0],F=L-B[1],V=M-B[0],G=I-B[1],U=1/zc(Vc((z*V+F*G)/(Hc(z*z+F*F)*Hc(V*V+G*G)))/2),H=Hc(B[0]*B[0]+B[1]*B[1]);A=Xc(w,(i-H)/(U+1)),T=Xc(S,(r-H)/(U-1))}}}if(N)if(A>jc){var W=Xc(m,A),X=Xc(v,A),j=Yc(C,D,E,L,i,W,h),Y=Yc(M,I,P,R,i,X,h);t.moveTo(u+j.cx+j.x0,c+j.cy+j.y0),A<w&&W===X?t.arc(u+j.cx,c+j.cy,A,Gc(j.y0,j.x0),Gc(Y.y0,Y.x0),!h):(W>0&&t.arc(u+j.cx,c+j.cy,W,Gc(j.y0,j.x0),Gc(j.y1,j.x1),!h),t.arc(u,c,i,Gc(j.cy+j.y1,j.cx+j.x1),Gc(Y.cy+Y.y1,Y.cx+Y.x1),!h),X>0&&t.arc(u+Y.cx,c+Y.cy,X,Gc(Y.y1,Y.x1),Gc(Y.y0,Y.x0),!h))}else t.moveTo(u+E,c+L),t.arc(u,c,i,s,l,!h);else t.moveTo(u+E,c+L);if(r>jc&&N)if(T>jc){W=Xc(f,T),j=Yc(P,R,M,I,r,-(X=Xc(g,T)),h),Y=Yc(E,L,C,D,r,-W,h);t.lineTo(u+j.cx+j.x0,c+j.cy+j.y0),T<S&&W===X?t.arc(u+j.cx,c+j.cy,T,Gc(j.y0,j.x0),Gc(Y.y0,Y.x0),!h):(X>0&&t.arc(u+j.cx,c+j.cy,X,Gc(j.y0,j.x0),Gc(j.y1,j.x1),!h),t.arc(u,c,r,Gc(j.cy+j.y1,j.cx+j.x1),Gc(Y.cy+Y.y1,Y.cx+Y.x1),h),W>0&&t.arc(u+Y.cx,c+Y.cy,W,Gc(Y.y1,Y.x1),Gc(Y.y0,Y.x0),!h))}else t.lineTo(u+P,c+R),t.arc(u,c,r,l,s,h);else t.lineTo(u+P,c+R)}else t.moveTo(u,c);t.closePath()}}}var Qc=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},qc=function(t){function e(e){return t.call(this,e)||this}return Tt(e,t),e.prototype.getDefaultShape=function(){return new Qc},e.prototype.buildPath=function(t,e){Zc(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Ol);qc.prototype.type="sector";var Jc=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},Kc=function(t){function e(e){return t.call(this,e)||this}return Tt(e,t),e.prototype.getDefaultShape=function(){return new Jc},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(Ol);function $c(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],u=[],c=[],h=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var d=0,p=t.length;d<p;d++)rn(a,a,t[d]),on(s,s,t[d]);rn(a,a,i[0]),on(s,s,i[1])}for(d=0,p=t.length;d<p;d++){var f=t[d];if(n)r=t[d?d-1:p-1],o=t[(d+1)%p];else{if(0===d||d===p-1){l.push(We(t[d]));continue}r=t[d-1],o=t[d+1]}Ze(u,o,r),qe(u,u,e);var g=Ke(f,r),m=Ke(f,o),v=g+m;0!==v&&(g/=v,m/=v),qe(c,u,-g),qe(h,u,m);var y=je([],f,c),_=je([],f,h);i&&(on(y,y,a),rn(y,y,s),on(_,_,a),rn(_,_,s)),l.push(y),l.push(_)}return n&&l.push(l.shift()),l}(r,i,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var a=r.length,s=0;s<(n?a:a-1);s++){var l=o[2*s],u=o[2*s+1],c=r[(s+1)%a];t.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{t.moveTo(r[0][0],r[0][1]);s=1;for(var h=r.length;s<h;s++)t.lineTo(r[s][0],r[s][1])}n&&t.closePath()}}Kc.prototype.type="ring";var th=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},eh=function(t){function e(e){return t.call(this,e)||this}return Tt(e,t),e.prototype.getDefaultShape=function(){return new th},e.prototype.buildPath=function(t,e){$c(t,e,!0)},e}(Ol);eh.prototype.type="polygon";var nh=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},ih=function(t){function e(e){return t.call(this,e)||this}return Tt(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new nh},e.prototype.buildPath=function(t,e){$c(t,e,!1)},e}(Ol);ih.prototype.type="polyline";var rh={},oh=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},ah=function(t){function e(e){return t.call(this,e)||this}return Tt(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new oh},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=Hl(rh,e,this.style);n=a.x1,i=a.y1,r=a.x2,o=a.y2}else n=e.x1,i=e.y1,r=e.x2,o=e.y2;var s=e.percent;0!==s&&(t.moveTo(n,i),s<1&&(r=n*(1-s)+r*s,o=i*(1-s)+o*s),t.lineTo(r,o))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(Ol);ah.prototype.type="line";var sh=[],lh=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function uh(t,e,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?Ri:Pi)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?Ri:Pi)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?Vi:Fi)(t.x1,t.cpx1,t.x2,e),(n?Vi:Fi)(t.y1,t.cpy1,t.y2,e)]}var ch=function(t){function e(e){return t.call(this,e)||this}return Tt(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new lh},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,a=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,c=e.percent;0!==c&&(t.moveTo(n,i),null==l||null==u?(c<1&&(Ui(n,a,r,c,sh),a=sh[1],r=sh[2],Ui(i,s,o,c,sh),s=sh[1],o=sh[2]),t.quadraticCurveTo(a,s,r,o)):(c<1&&(Oi(n,a,l,r,c,sh),a=sh[1],l=sh[2],r=sh[3],Oi(i,s,u,o,c,sh),s=sh[1],u=sh[2],o=sh[3]),t.bezierCurveTo(a,s,l,u,r,o)))},e.prototype.pointAt=function(t){return uh(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=uh(this.shape,t,!0);return Je(e,e)},e}(Ol);ch.prototype.type="bezier-curve";var hh=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},dh=function(t){function e(e){return t.call(this,e)||this}return Tt(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new hh},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)},e}(Ol);dh.prototype.type="arc";var ph=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return Tt(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Ol.prototype.getBoundingRect.call(this)},e}(Ol),fh=ph,gh=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}(),mh=function(t){function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return Tt(e,t),e}(gh),vh=function(t){function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return Tt(e,t),e}(gh),yh=vh,_h=[0,0],xh=[0,0],bh=new Fn,wh=new Fn,Sh=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new Fn;for(n=0;n<2;n++)this._axes[n]=new Fn;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,i=this._axes,r=t.x,o=t.y,a=r+t.width,s=o+t.height;if(n[0].set(r,o),n[1].set(a,o),n[2].set(a,s),n[3].set(r,s),e)for(var l=0;l<4;l++)n[l].transform(e);Fn.sub(i[0],n[1],n[0]),Fn.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(l=0;l<2;l++)this._origin[l]=i[l].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,i=!e;return bh.set(1/0,1/0),wh.set(0,0),!this._intersectCheckOneSide(this,t,bh,wh,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,bh,wh,i,-1)&&(n=!1,i)||i||Fn.copy(e,n?bh:wh),n},t.prototype._intersectCheckOneSide=function(t,e,n,i,r,o){for(var a=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,t._corners,_h),this._getProjMinMaxOnAxis(s,e._corners,xh),_h[1]<xh[0]||_h[0]>xh[1]){if(a=!1,r)return a;var u=Math.abs(xh[0]-_h[1]),c=Math.abs(_h[0]-xh[1]);Math.min(u,c)>i.len()&&(u<c?Fn.scale(i,l,-u*o):Fn.scale(i,l,c*o))}else if(n){u=Math.abs(xh[0]-_h[1]),c=Math.abs(_h[0]-xh[1]);Math.min(u,c)<n.len()&&(u<c?Fn.scale(n,l,u*o):Fn.scale(n,l,-c*o))}}return a},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,o=e[0].dot(i)+r[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(i)+r[t];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},t}(),Ah=Sh,Th=[],Mh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return Tt(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){(e=this._displayables[t]).parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){var e;(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new Zn(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(Th)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++){if(this._displayables[i].contain(t,e))return!0}return!1},e}(Rs),Ih=Mh,Ch=Ua();function Dh(t,e,n,i,r){var o;if(e&&e.ecModel){var a=e.ecModel.getUpdatePayload();o=a&&a.animation}var s="update"===t;if(e&&e.isAnimationEnabled()){var l=void 0,u=void 0,c=void 0;return i?(l=Se(i.duration,200),u=Se(i.easing,"cubicOut"),c=0):(l=e.getShallow(s?"animationDurationUpdate":"animationDuration"),u=e.getShallow(s?"animationEasingUpdate":"animationEasing"),c=e.getShallow(s?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(l=o.duration),null!=o.easing&&(u=o.easing),null!=o.delay&&(c=o.delay)),de(c)&&(c=c(n,r)),de(l)&&(l=l(n)),{duration:l||0,delay:c,easing:u}}return null}function Eh(t,e,n,i,r,o,a){var s,l=!1;de(r)?(a=o,o=r,r=null):me(r)&&(o=r.cb,a=r.during,l=r.isFrom,s=r.removeOpt,r=r.dataIndex);var u="leave"===t;u||e.stopAnimation("leave");var c=Dh(t,i,r,u?s||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null);if(c&&c.duration>0){var h={duration:c.duration,delay:c.delay||0,easing:c.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,h):e.animateTo(n,h)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function Lh(t,e,n,i,r,o){Eh("update",t,e,n,i,r,o)}function Ph(t,e,n,i,r,o){Eh("enter",t,e,n,i,r,o)}function Rh(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){if("leave"===t.animators[e].scope)return!0}return!1}function Nh(t,e,n,i,r,o){Rh(t)||Eh("leave",t,e,n,i,r,o)}function kh(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),Nh(t,{style:{opacity:0}},e,n,i)}function Oh(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||kh(t,e,n,i)})):kh(t,e,n,i)}function Bh(t){Ch(t).oldStyle=t.style}var zh=Math.max,Fh=Math.min,Vh={};var Gh=function(t,e){var n=Dc(t,e);return function(t){function e(e){var i=t.call(this,e)||this;return i.applyTransform=n.applyTransform,i.buildPath=n.buildPath,i}return Tt(e,t),e}(Ic)};function Uh(t,e){Vh[t]=e}function Hh(t){if(Vh.hasOwnProperty(t))return Vh[t]}function Wh(t,e,n,i){var r=Ec(t,e);return n&&("center"===i&&(n=jh(n,r.getBoundingRect())),Zh(r,n)),r}function Xh(t,e,n){var i=new Gl({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(jh(e,r))}}});return i}function jh(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.width?t.height:(r=t.width)/i,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}var Yh=function(t,e){for(var n=[],i=t.length,r=0;r<i;r++){var o=t[r];n.push(o.getUpdatedPathProxy(!0))}var a=new Ol(e);return a.createPathProxy(),a.buildPath=function(t){if(Cc(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},a};function Zh(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function Qh(t,e){return Hl(t,t,{lineWidth:e}),t}var qh=Xl;function Jh(t,e){for(var n=Pn([]);t&&t!==e;)Nn(n,t.getLocalTransform(),n),t=t.parent;return n}function Kh(t,e,n){return e&&!ie(e)&&(e=Co.getLocalTransform(e)),n&&(e=zn([],e)),nn([],t,e)}function $h(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=Kh(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function td(t){return!t.isGroup}function ed(t,e,n){if(t&&e){var i=function(t){var e={};return t.traverse((function(t){td(t)&&t.anid&&(e[t.anid]=t)})),e}(t);e.traverse((function(t){if(td(t)&&t.anid){var e=i[t.anid];if(e){var o=r(t);t.attr(r(e)),Lh(t,o,n,cu(t).dataIndex)}}}))}function r(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=Kt({},t.shape)),e}}function nd(t,e){return oe(t,(function(t){var n=t[0];n=zh(n,e.x),n=Fh(n,e.x+e.width);var i=t[1];return i=zh(i,e.y),[n,i=Fh(i,e.y+e.height)]}))}function id(t,e,n){var i=Kt({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),$t(r,n),new Gl(i)):Wh(t.replace("path://",""),i,n,"center")}function rd(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(od(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function od(t,e,n,i,r,o,a,s){var l,u=n-t,c=i-e,h=a-r,d=s-o,p=ad(h,d,u,c);if((l=p)<=1e-6&&l>=-1e-6)return!1;var f=t-r,g=e-o,m=ad(f,g,u,c)/p;if(m<0||m>1)return!1;var v=ad(f,g,h,d)/p;return!(v<0||v>1)}function ad(t,e,n,i){return t*i-n*e}function sd(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=pe(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&re(le(l),(function(t){Fe(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=cu(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:$t({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function ld(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function ud(t,e){if(t)if(he(t))for(var n=0;n<t.length;n++)ld(t[n],e);else ld(t,e)}Uh("circle",Rc),Uh("ellipse",kc),Uh("sector",qc),Uh("ring",Kc),Uh("polygon",eh),Uh("polyline",ih),Uh("rect",Zl),Uh("line",ah),Uh("bezierCurve",ch),Uh("arc",dh);var cd=Object.freeze(Object.defineProperty({__proto__:null,Arc:dh,BezierCurve:ch,BoundingRect:Zn,Circle:Rc,CompoundPath:fh,Ellipse:kc,Group:qo,Image:Gl,IncrementalDisplayable:Ih,Line:ah,LinearGradient:mh,OrientedBoundingRect:Ah,Path:Ol,Point:Fn,Polygon:eh,Polyline:ih,RadialGradient:yh,Rect:Zl,Ring:Kc,Sector:qc,Text:Jl,applyTransform:Kh,clipPointsByRect:nd,clipRectByRect:function(t,e){var n=zh(t.x,e.x),i=Fh(t.x+t.width,e.x+e.width),r=zh(t.y,e.y),o=Fh(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}},createIcon:id,extendPath:function(t,e){return Gh(t,e)},extendShape:function(t){return Ol.extend(t)},getShapeClass:Hh,getTransform:Jh,groupTransition:ed,initProps:Ph,isElementRemoved:Rh,lineLineIntersect:od,linePolygonIntersect:rd,makeImage:Xh,makePath:Wh,mergePath:Yh,registerShape:Uh,removeElement:Nh,removeElementWithFadeOut:Oh,resizePath:Zh,setTooltipConfig:sd,subPixelOptimize:qh,subPixelOptimizeLine:Qh,subPixelOptimizeRect:function(t){return Wl(t.shape,t.shape,t.style),t},transformDirection:$h,traverseElements:ud,updateProps:Lh},Symbol.toStringTag,{value:"Module"})),hd={};function dd(t,e){for(var n=0;n<_u.length;n++){var i=_u[n],r=e[i],o=t.ensureState(i);o.style=o.style||{},o.style.text=r}var a=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(a,!0)}function pd(t,e,n){var i,r=t.labelFetcher,o=t.labelDataIndex,a=t.labelDimIndex,s=e.normal;r&&(i=r.getFormattedLabel(o,"normal",null,a,s&&s.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=de(t.defaultText)?t.defaultText(o,t,n):t.defaultText);for(var l={normal:i},u=0;u<_u.length;u++){var c=_u[u],h=e[c];l[c]=Se(r?r.getFormattedLabel(o,c,null,a,h&&h.get("formatter")):null,i)}return l}function fd(t,e,n,i){n=n||hd;for(var r=t instanceof Jl,o=!1,a=0;a<xu.length;a++){if((d=e[xu[a]])&&d.getShallow("show")){o=!0;break}}var s=r?t:t.getTextContent();if(o){r||(s||(s=new Jl,t.setTextContent(s)),t.stateProxy&&(s.stateProxy=t.stateProxy));var l=pd(n,e),u=e.normal,c=!!u.getShallow("show"),h=md(u,i&&i.normal,n,!1,!r);h.text=l.normal,r||t.setTextConfig(vd(u,n,!1));for(a=0;a<_u.length;a++){var d,p=_u[a];if(d=e[p]){var f=s.ensureState(p),g=!!Se(d.getShallow("show"),c);if(g!==c&&(f.ignore=!g),f.style=md(d,i&&i[p],n,!0,!r),f.style.text=l[p],!r)t.ensureState(p).textConfig=vd(d,n,!0)}}s.silent=!!u.getShallow("silent"),null!=s.style.x&&(h.x=s.style.x),null!=s.style.y&&(h.y=s.style.y),s.ignore=!c,s.useStyle(h),s.dirty(),n.enableTextSetter&&(Sd(s).setLabelText=function(t){var i=pd(n,e,t);dd(s,i)})}else s&&(s.ignore=!0);t.dirty()}function gd(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<_u.length;i++){var r=_u[i];n[r]=t.getModel([r,e])}return n}function md(t,e,n,i,r){var o={};return function(t,e,n,i,r){n=n||hd;var o,a=e.ecModel,s=a&&a.option.textStyle,l=function(t){var e;for(;t&&t!==t.ecModel;){var n=(t.option||hd).rich;if(n){e=e||{};for(var i=le(n),r=0;r<i.length;r++){e[i[r]]=1}}t=t.parentModel}return e}(e);if(l)for(var u in o={},l)if(l.hasOwnProperty(u)){var c=e.getModel(["rich",u]);bd(o[u]={},c,s,n,i,r,!1,!0)}o&&(t.rich=o);var h=e.get("overflow");h&&(t.overflow=h);var d=e.get("minMargin");null!=d&&(t.margin=d);bd(t,e,s,n,i,r,!0,!1)}(o,t,n,i,r),e&&Kt(o,e),o}function vd(t,e,n){e=e||{};var i,r={},o=t.getShallow("rotate"),a=Se(t.getShallow("distance"),n?null:5),s=t.getShallow("offset");return"outside"===(i=t.getShallow("position")||(n?null:"inside"))&&(i=e.defaultOutsidePosition||"top"),null!=i&&(r.position=i),null!=s&&(r.offset=s),null!=o&&(o*=Math.PI/180,r.rotation=o),null!=a&&(r.distance=a),r.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",r}var yd=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],_d=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],xd=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function bd(t,e,n,i,r,o,a,s){n=!r&&n||hd;var l=i&&i.inheritColor,u=e.getShallow("color"),c=e.getShallow("textBorderColor"),h=Se(e.getShallow("opacity"),n.opacity);"inherit"!==u&&"auto"!==u||(u=l||null),"inherit"!==c&&"auto"!==c||(c=l||null),o||(u=u||n.color,c=c||n.textBorderColor),null!=u&&(t.fill=u),null!=c&&(t.stroke=c);var d=Se(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=d&&(t.lineWidth=d);var p=Se(e.getShallow("textBorderType"),n.textBorderType);null!=p&&(t.lineDash=p);var f=Se(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=f&&(t.lineDashOffset=f),r||null!=h||s||(h=i&&i.defaultOpacity),null!=h&&(t.opacity=h),r||o||null==t.fill&&i.inheritColor&&(t.fill=i.inheritColor);for(var g=0;g<yd.length;g++){var m=yd[g];null!=(y=Se(e.getShallow(m),n[m]))&&(t[m]=y)}for(g=0;g<_d.length;g++){m=_d[g];null!=(y=e.getShallow(m))&&(t[m]=y)}if(null==t.verticalAlign){var v=e.getShallow("baseline");null!=v&&(t.verticalAlign=v)}if(!a||!i.disableBox){for(g=0;g<xd.length;g++){var y;m=xd[g];null!=(y=e.getShallow(m))&&(t[m]=y)}var _=e.getShallow("borderType");null!=_&&(t.borderDash=_),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!l||(t.backgroundColor=l),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!l||(t.borderColor=l)}}function wd(t,e){var n=e&&e.getModel("textStyle");return Ce([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var Sd=Ua();function Ad(t,e,n,i){if(t){var r=Sd(t);r.prevValue=r.value,r.value=n;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=i,r.statesModels=e)}}function Td(t,e,n,i,r){var o=Sd(t);if(o.valueAnimation&&o.prevValue!==o.value){var a=o.defaultInterpolatedText,s=Se(o.interpolatedValue,o.prevValue),l=o.value;t.percent=0,(null==o.prevValue?Ph:Lh)(t,{percent:1},i,e,null,(function(i){var u=Ja(n,o.precision,s,l,i);o.interpolatedValue=1===i?null:u;var c=pd({labelDataIndex:e,labelFetcher:r,defaultText:a?a(u):u+""},o.statesModels,u);dd(t,c)}))}}var Md,Id,Cd=["textStyle","color"],Dd=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Ed=new Jl,Ld=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(Cd):null)},t.prototype.getFont=function(){return wd({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<Dd.length;n++)e[Dd[n]]=this.getShallow(Dd[n]);return Ed.useStyle(e),Ed.update(),Ed.getBoundingRect()},t}(),Pd=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],Rd=ls(Pd),Nd=function(){function t(){}return t.prototype.getLineStyle=function(t){return Rd(this,t)},t}(),kd=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],Od=ls(kd),Bd=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return Od(this,t,e)},t}(),zd=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){},t.prototype.mergeOption=function(t,e){qt(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null;return new t(i?this._doGet(r):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new(0,this.constructor)(Qt(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!It.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&(!t[i]||null!=(n=n&&"object"===y(n)?n[t[i]]:null));i++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();ns(zd),Md=zd,Id=["__\0is_clz",rs++].join("_"),Md.prototype[Id]=!0,Md.isInstance=function(t){return!(!t||!t[Id])},ne(zd,Nd),ne(zd,Bd),ne(zd,cs),ne(zd,Ld);var Fd=Math.round(10*Math.random());function Vd(t){return[t||"",Fd++].join("_")}function Gd(t,e){return qt(qt({},t,!0),e,!0)}var Ud="ZH",Hd="EN",Wd=Hd,Xd={},jd={},Yd=It.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||Wd).toUpperCase().indexOf(Ud)>-1?Ud:Wd;function Zd(t,e){t=t.toUpperCase(),jd[t]=new zd(e),Xd[t]=e}function Qd(t){return jd[t]}Zd(Hd,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),Zd(Ud,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}});var qd=1e3,Jd=60*qd,Kd=60*Jd,$d=24*Kd,tp=365*$d,ep={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},np="{yyyy}-{MM}-{dd}",ip={year:"{yyyy}",month:"{yyyy}-{MM}",day:np,hour:np+" "+ep.hour,minute:np+" "+ep.minute,second:np+" "+ep.second,millisecond:ep.none},rp=["year","month","day","hour","minute","second","millisecond"],op=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function ap(t,e){return"0000".substr(0,e-(t+="").length)+t}function sp(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function lp(t){return t===sp(t)}function up(t,e,n,i){var r=ma(t),o=r[dp(n)](),a=r[pp(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[fp(n)](),u=r["get"+(n?"UTC":"")+"Day"](),c=r[gp(n)](),h=(c-1)%12+1,d=r[mp(n)](),p=r[vp(n)](),f=r[yp(n)](),g=c>=12?"pm":"am",m=g.toUpperCase(),v=(i instanceof zd?i:Qd(i||Yd)||jd[Wd]).getModel("time"),y=v.get("month"),_=v.get("monthAbbr"),x=v.get("dayOfWeek"),b=v.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,g+"").replace(/{A}/g,m+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,ap(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,y[a-1]).replace(/{MMM}/g,_[a-1]).replace(/{MM}/g,ap(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,ap(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,x[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,ap(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,ap(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,ap(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,ap(p,2)).replace(/{s}/g,p+"").replace(/{SSS}/g,ap(f,3)).replace(/{S}/g,f+"")}function cp(t,e){var n=ma(t),i=n[pp(e)]()+1,r=n[fp(e)](),o=n[gp(e)](),a=n[mp(e)](),s=n[vp(e)](),l=0===n[yp(e)](),u=l&&0===s,c=u&&0===a,h=c&&0===o,d=h&&1===r;return d&&1===i?"year":d?"month":h?"day":c?"hour":u?"minute":l?"second":"millisecond"}function hp(t,e,n){var i=ge(t)?ma(t):t;switch(e=e||cp(t,n)){case"year":return i[dp(n)]();case"half-year":return i[pp(n)]()>=6?1:0;case"quarter":return Math.floor((i[pp(n)]()+1)/4);case"month":return i[pp(n)]();case"day":return i[fp(n)]();case"half-day":return i[gp(n)]()/24;case"hour":return i[gp(n)]();case"minute":return i[mp(n)]();case"second":return i[vp(n)]();case"millisecond":return i[yp(n)]()}}function dp(t){return t?"getUTCFullYear":"getFullYear"}function pp(t){return t?"getUTCMonth":"getMonth"}function fp(t){return t?"getUTCDate":"getDate"}function gp(t){return t?"getUTCHours":"getHours"}function mp(t){return t?"getUTCMinutes":"getMinutes"}function vp(t){return t?"getUTCSeconds":"getSeconds"}function yp(t){return t?"getUTCMilliseconds":"getMilliseconds"}function _p(t){return t?"setUTCFullYear":"setFullYear"}function xp(t){return t?"setUTCMonth":"setMonth"}function bp(t){return t?"setUTCDate":"setDate"}function wp(t){return t?"setUTCHours":"setHours"}function Sp(t){return t?"setUTCMinutes":"setMinutes"}function Ap(t){return t?"setUTCSeconds":"setSeconds"}function Tp(t){return t?"setUTCMilliseconds":"setMilliseconds"}function Mp(t){if(!wa(t))return pe(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function Ip(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var Cp=Me;function Dp(t,e,n){function i(t){return t&&Ce(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?ma(t):t;if(!isNaN(+s))return up(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===e)return fe(t)?i(t):ge(t)&&r(t)?t+"":"-";var l=ba(t);return r(l)?Mp(l):fe(t)?i(t):"boolean"==typeof t?t+"":"-"}var Ep=["a","b","c","d","e","f","g"],Lp=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Pp(t,e,n){he(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;o<r.length;o++){var a=Ep[o];t=t.replace(Lp(a),Lp(a,0))}for(var s=0;s<i;s++)for(var l=0;l<r.length;l++){var u=e[s][r[l]];t=t.replace(Lp(Ep[l],s),n?yn(u):u)}return t}function Rp(t,e){var n=pe(t)?{color:t,extraCssText:e}:t||{},i=n.color,r=n.type;e=n.extraCssText;var o=n.renderMode||"html";return i?"html"===o?"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+yn(i)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+yn(i)+";"+(e||"")+'"></span>':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}function Np(t,e){return e=e||"transparent",pe(t)?t:me(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function kp(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var Op=re,Bp=["left","right","top","bottom","width","height"],zp=[["width","left","right"],["height","top","bottom"]];function Fp(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var c,h,d=l.getBoundingRect(),p=e.childAt(u+1),f=p&&p.getBoundingRect();if("horizontal"===t){var g=d.width+(f?-f.x+d.x:0);(c=o+g)>i||l.newline?(o=0,c=g,a+=s+n,s=d.height):s=Math.max(s,d.height)}else{var m=d.height+(f?-f.y+d.y:0);(h=a+m)>r||l.newline?(o+=s+n,a=0,h=m,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=c+n:a=h+n)}))}var Vp=Fp;function Gp(t,e,n){n=Cp(n||0);var i=e.width,r=e.height,o=oa(t.left,i),a=oa(t.top,r),s=oa(t.right,i),l=oa(t.bottom,r),u=oa(t.width,i),c=oa(t.height,r),h=n[2]+n[0],d=n[1]+n[3],p=t.aspect;switch(isNaN(u)&&(u=i-s-d-o),isNaN(c)&&(c=r-l-h-a),null!=p&&(isNaN(u)&&isNaN(c)&&(p>i/r?u=.8*i:c=.8*r),isNaN(u)&&(u=p*c),isNaN(c)&&(c=u/p)),isNaN(o)&&(o=i-s-u-d),isNaN(a)&&(a=r-l-c-h),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-d}switch(t.top||t.bottom){case"middle":case"center":a=r/2-c/2-n[0];break;case"bottom":a=r-c-h}o=o||0,a=a||0,isNaN(u)&&(u=i-d-o-(s||0)),isNaN(c)&&(c=r-h-a-(l||0));var f=new Zn(o+n[3],a+n[0],u,c);return f.margin=n,f}function Up(t,e,n,i,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new Zn(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var c=t.getLocalTransform();(a=a.clone()).applyTransform(c)}var h=Gp($t({width:a.width,height:a.height},e),n,i),d=s?h.x-a.x:0,p=l?h.y-a.y:0;return"raw"===u?(o.x=d,o.y=p):(o.x+=d,o.y+=p),o===t&&t.markRedraw(),!0}function Hp(t){var e=t.layoutMode||t.constructor.layoutMode;return me(e)?e:e?{type:e}:null}function Wp(t,e,n){var i=n&&n.ignoreSize;!he(i)&&(i=[i,i]);var r=a(zp[0],0),o=a(zp[1],1);function a(n,r){var o={},a=0,u={},c=0;if(Op(n,(function(e){u[e]=t[e]})),Op(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&c++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(2!==c&&a){if(a>=2)return o;for(var h=0;h<n.length;h++){var d=n[h];if(!s(o,d)&&s(t,d)){o[d]=t[d];break}}return o}return u}function s(t,e){return t.hasOwnProperty(e)}function l(t,e){return null!=t[e]&&"auto"!==t[e]}function u(t,e,n){Op(t,(function(t){e[t]=n[t]}))}u(zp[0],t,r),u(zp[1],t,o)}function Xp(t){return jp({},t)}function jp(t,e){return e&&t&&Op(Bp,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}ce(Fp,"vertical"),ce(Fp,"horizontal");var Yp=Ua(),Zp=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=Vd("ec_cpt_model"),r}return Tt(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=Hp(this),i=n?Xp(t):{};qt(t,e.getTheme().get(this.mainType)),qt(t,this.getDefaultOption()),n&&Wp(t,i,n)},e.prototype.mergeOption=function(t,e){qt(this.option,t,!0);var n=Hp(this);n&&Wp(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!function(t){return!(!t||!t[ts])}(t))return t.defaultOption;var e=Yp(this);if(!e.defaultOption){for(var n=[],i=t;i;){var r=i.prototype.defaultOption;r&&n.push(r),i=i.superClass}for(var o={},a=n.length-1;a>=0;a--)o=qt(o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return Za(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(zd);is(Zp,zd),ss(Zp),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=es(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=es(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}(Zp),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,r,o){if(t.length){var a=function(t){var i={},r=[];return re(t,(function(o){var a=n(i,o),s=function(t,e){var n=[];return re(t,(function(t){te(e,t)>=0&&n.push(t)})),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&r.push(o),re(s,(function(t){te(a.predecessor,t)<0&&a.predecessor.push(t);var e=n(i,t);te(e.successor,t)<0&&e.successor.push(o)}))})),{graph:i,noEntryList:r}}(i),s=a.graph,l=a.noEntryList,u={};for(re(t,(function(t){u[t]=!0}));l.length;){var c=l.pop(),h=s[c],d=!!u[c];d&&(r.call(o,c,h.originalDeps.slice()),delete u[c]),re(h.successor,d?f:p)}re(u,(function(){throw new Error("")}))}function p(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function f(t){u[t]=!0,p(t)}}}(Zp,(function(t){var e=[];re(Zp.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=oe(e,(function(t){return es(t).main})),"dataset"!==t&&te(e,"dataset")<=0&&e.unshift("dataset");return e}));var Qp="";"undefined"!=typeof navigator&&(Qp=navigator.platform||"");var qp="rgba(0, 0, 0, 0.2)",Jp={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:qp,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:qp,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:qp,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:qp,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:qp,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:qp,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Qp.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Kp=ke(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),$p="original",tf="arrayRows",ef="objectRows",nf="keyedColumns",rf="typedArray",of="unknown",af="column",sf="row",lf={Must:1,Might:2,Not:3},uf=Ua();function cf(t,e,n){var i={},r=df(e);if(!r||!t)return i;var o,a,s=[],l=[],u=e.ecModel,c=uf(u).datasetMap,h=r.uid+"_"+n.seriesLayoutBy;re(t=t.slice(),(function(e,n){var r=me(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=f(r)),i[r.name]=[]}));var d=c.get(h)||c.set(h,{categoryWayDim:a,valueWayDim:0});function p(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function f(t){var e=t.dimsDef;return e?e.length:1}return re(t,(function(t,e){var n=t.name,r=f(t);if(null==o){var a=d.valueWayDim;p(i[n],a,r),p(l,a,r),d.valueWayDim+=r}else if(o===e)p(i[n],0,r),p(s,0,r);else{a=d.categoryWayDim;p(i[n],a,r),p(l,a,r),d.categoryWayDim+=r}})),s.length&&(i.itemName=s),l.length&&(i.seriesName=l),i}function hf(t,e,n){var i={};if(!df(t))return i;var r,o=e.sourceFormat,a=e.dimensionsDefine;o!==ef&&o!==nf||re(a,(function(t,e){"name"===(me(t)?t.name:t)&&(r=e)}));var s=function(){for(var t={},i={},s=[],l=0,u=Math.min(5,n);l<u;l++){var c=ff(e.data,o,e.seriesLayoutBy,a,e.startIndex,l);s.push(c);var h=c===lf.Not;if(h&&null==t.v&&l!==r&&(t.v=l),(null==t.n||t.n===t.v||!h&&s[t.n]===lf.Not)&&(t.n=l),d(t)&&s[t.n]!==lf.Not)return t;h||(c===lf.Might&&null==i.v&&l!==r&&(i.v=l),null!=i.n&&i.n!==i.v||(i.n=l))}function d(t){return null!=t.v&&null!=t.n}return d(t)?t:d(i)?i:null}();if(s){i.value=[s.v];var l=null!=r?r:s.n;i.itemName=[l],i.seriesName=[l]}return i}function df(t){if(!t.get("data",!0))return Za(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},ja).models[0]}function pf(t,e){return ff(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function ff(t,e,n,i,r,o){var a,s,l;if(ye(t))return lf.Not;if(i){var u=i[o];me(u)?(s=u.name,l=u.type):pe(u)&&(s=u)}if(null!=l)return"ordinal"===l?lf.Must:lf.Not;if(e===tf){var c=t;if(n===sf){for(var h=c[o],d=0;d<(h||[]).length&&d<5;d++)if(null!=(a=_(h[r+d])))return a}else for(d=0;d<c.length&&d<5;d++){var p=c[r+d];if(p&&null!=(a=_(p[o])))return a}}else if(e===ef){var f=t;if(!s)return lf.Not;for(d=0;d<f.length&&d<5;d++){if((v=f[d])&&null!=(a=_(v[s])))return a}}else if(e===nf){var g=t;if(!s)return lf.Not;if(!(h=g[s])||ye(h))return lf.Not;for(d=0;d<h.length&&d<5;d++)if(null!=(a=_(h[d])))return a}else if(e===$p){var m=t;for(d=0;d<m.length&&d<5;d++){var v,y=Ra(v=m[d]);if(!he(y))return lf.Not;if(null!=(a=_(y[o])))return a}}function _(t){var e=pe(t);return null!=t&&Number.isFinite(Number(t))&&""!==t?e?lf.Might:lf.Not:e&&"-"!==t?lf.Must:void 0}return lf.Not}var gf=ke();var mf,vf,yf,_f=Ua(),xf=Ua(),bf=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var i=Ea(this.get("color",!0)),r=this.get("colorLayer",!0);return Sf(this,_f,i,r,t,e,n)},t.prototype.clearColorPalette=function(){!function(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}(this,_f)},t}();function wf(t,e,n,i){var r=Ea(t.get(["aria","decal","decals"]));return Sf(t,xf,r,null,e,n,i)}function Sf(t,e,n,i,r,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var c=null!=a&&i?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}(i,a):n;if((c=c||n)&&c.length){var h=c[l];return r&&(u[r]=h),s.paletteIdx=(l+1)%c.length,h}}var Af="\0_ec_inner",Tf=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new zd(i),this._locale=new zd(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=Cf(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,Cf(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):yf(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&re(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=ke(),s=e&&e.replaceMergeMainTypeMap;uf(this).datasetMap=ke(),re(t,(function(t,e){null!=t&&(Zp.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?Qt(t):qt(n[e],t,!0))})),s&&s.each((function(t,e){Zp.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),Zp.topologicalTravel(o,Zp.getAllClassMainTypes(),(function(e){var o=function(t,e,n){var i=gf.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,Ea(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=ka(a,o,l);(function(t,e,n){re(t,(function(t){var i=t.newOption;me(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))}))})(u,e,Zp),n[e]=null,i.set(e,null),r.set(e,0);var c,h=[],d=[],p=0;re(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=Zp.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(c)return;c=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=Kt({componentIndex:n},t.keyInfo);Kt(i=new a(r,this,this,s),s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(h.push(i.option),d.push(i),p++):(h.push(void 0),d.push(void 0))}),this),n[e]=h,i.set(e,d),r.set(e,p),"series"===e&&mf(this)}),this),this._seriesIndices||mf(this)},e.prototype.getOption=function(){var t=Qt(this.option);return re(t,(function(e,n){if(Zp.hasClass(n)){for(var i=Ea(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!Va(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[Af],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r<n.length;r++)if(n[r])return n[r]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,r=t.id,o=t.name,a=this._componentsMap.get(e);return a&&a.length?(null!=i?(n=[],re(Ea(i),(function(t){a[t]&&n.push(a[t])}))):n=null!=r?Mf("id",r,a):null!=o?Mf("name",o,a):se(a,(function(t){return!!t})),If(n,t)):[]},e.prototype.findComponents=function(t){var e,n,i,r,o,a=t.query,s=t.mainType,l=(n=s+"Index",i=s+"Id",r=s+"Name",!(e=a)||null==e[n]&&null==e[i]&&null==e[r]?null:{mainType:s,index:e[n],id:e[i],name:e[r]}),u=l?this.queryComponents(l):se(this._componentsMap.get(s),(function(t){return!!t}));return o=If(u,t),t.filter?se(o,t.filter):o},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if(de(t)){var r=e,o=t;i.each((function(t,e){for(var n=0;t&&n<t.length;n++){var i=t[n];i&&o.call(r,e,i,i.componentIndex)}}))}else for(var a=pe(t)?i.get(t):me(t)?this.findComponents(t):null,s=0;a&&s<a.length;s++){var l=a[s];l&&e.call(n,l,l.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=za(t,null);return se(this._componentsMap.get("series"),(function(t){return!!t&&null!=e&&t.name===e}))},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return se(this._componentsMap.get("series"),(function(e){return!!e&&e.subType===t}))},e.prototype.getSeries=function(){return se(this._componentsMap.get("series"),(function(t){return!!t}))},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){vf(this),re(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)}),this)},e.prototype.eachRawSeries=function(t,e){re(this._componentsMap.get("series"),(function(n){n&&t.call(e,n,n.componentIndex)}))},e.prototype.eachSeriesByType=function(t,e,n){vf(this),re(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)}),this)},e.prototype.eachRawSeriesByType=function(t,e,n){return re(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return vf(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){vf(this);var n=[];re(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)}),this),this._seriesIndices=n,this._seriesIndicesMap=ke(n)},e.prototype.restoreData=function(t){mf(this);var e=this._componentsMap,n=[];e.each((function(t,e){Zp.hasClass(e)&&n.push(e)})),Zp.topologicalTravel(n,Zp.getAllClassMainTypes(),(function(n){re(e.get(n),(function(e){!e||"series"===n&&function(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t)||e.restoreData()}))}))},e.internalField=(mf=function(t){var e=t._seriesIndices=[];re(t._componentsMap.get("series"),(function(t){t&&e.push(t.componentIndex)})),t._seriesIndicesMap=ke(e)},vf=function(t){},void(yf=function(t,e){t.option={},t.option[Af]=1,t._componentsMap=ke({series:[]}),t._componentsCount=ke();var n=e.aria;me(n)&&null==n.enabled&&(n.enabled=!0),function(t,e){var n=t.color&&!t.colorLayer;re(e,(function(e,i){"colorLayer"===i&&n||Zp.hasClass(i)||("object"===y(e)?t[i]=t[i]?qt(t[i],e,!1):Qt(e):null==t[i]&&(t[i]=e))}))}(e,t._theme.option),qt(e,Jp,!1),t._mergeOption(e,null)})),e}(zd);function Mf(t,e,n){if(he(e)){var i=ke();return re(e,(function(t){null!=t&&(null!=za(t,null)&&i.set(t,!0))})),se(n,(function(e){return e&&i.get(e[t])}))}var r=za(e,null);return se(n,(function(e){return e&&null!=r&&e[t]===r}))}function If(t,e){return e.hasOwnProperty("subType")?se(t,(function(t){return t&&t.subType===e.subType})):t}function Cf(t){var e=ke();return t&&re(Ea(t.replaceMerge),(function(t){e.set(t,!0)})),{replaceMergeMainTypeMap:e}}ne(Tf,bf);var Df=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],Ef=function(t){re(Df,(function(e){this[e]=ue(t[e],t)}),this)},Lf={},Pf=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];re(Lf,(function(i,r){var o=i.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},t.prototype.update=function(t,e){re(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){Lf[t]=e},t.get=function(t){return Lf[t]},t}(),Rf=/^(min|max)?(.+)$/,Nf=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&(re(Ea(t.series),(function(t){t&&t.data&&ye(t.data)&&Ee(t.data)})),re(Ea(t.dataset),(function(t){t&&t.source&&ye(t.source)&&Ee(t.source)}))),t=Qt(t);var i=this._optionBackup,r=function(t,e,n){var i,r,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,c=!!t.media,h=!!(l||s||a&&a.timeline);a?(r=a).timeline||(r.timeline=s):((h||c)&&(t.options=t.media=null),r=t);c&&he(u)&&re(u,(function(t){t&&t.option&&(t.query?o.push(t):i||(i=t))}));function d(t){re(e,(function(e){e(t,n)}))}return d(r),re(l,(function(t){return d(t)})),re(o,(function(t){return d(t.option)})),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:o}}(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],Qt(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=Qt(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,i=this._api.getWidth(),r=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var u=0,c=o.length;u<c;u++)kf(o[u].query,i,r)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(e=s,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(l=oe(s,(function(t){return Qt(-1===t?a.option:o[t].option)}))),this._currentMediaIndices=s,l},t}();function kf(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return re(t,(function(t,e){var n=e.match(Rf);if(n&&n[1]&&n[2]){var o=n[1],a=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}})),r}var Of=re,Bf=me,zf=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Ff(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=zf.length;n<i;n++){var r=zf[n],o=e.normal,a=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?qt(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),a&&a[r]&&(t[r]=t[r]||{},t[r].emphasis?qt(t[r].emphasis,a[r]):t[r].emphasis=a[r],a[r]=null)}}function Vf(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,$t(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function Gf(t){Vf(t,"itemStyle"),Vf(t,"lineStyle"),Vf(t,"areaStyle"),Vf(t,"label"),Vf(t,"labelLine"),Vf(t,"upperLabel"),Vf(t,"edgeLabel")}function Uf(t,e){var n=Bf(t)&&t[e],i=Bf(n)&&n.textStyle;if(i)for(var r=0,o=Pa.length;r<o;r++){var a=Pa[r];i.hasOwnProperty(a)&&(n[a]=i[a])}}function Hf(t){t&&(Gf(t),Uf(t,"label"),t.emphasis&&Uf(t.emphasis,"label"))}function Wf(t){return he(t)?t:t?[t]:[]}function Xf(t){return(he(t)?t[0]:t)||{}}function jf(t,e){Of(Wf(t.series),(function(t){Bf(t)&&function(t){if(Bf(t)){Ff(t),Gf(t),Uf(t,"label"),Uf(t,"upperLabel"),Uf(t,"edgeLabel"),t.emphasis&&(Uf(t.emphasis,"label"),Uf(t.emphasis,"upperLabel"),Uf(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(Ff(e),Hf(e));var n=t.markLine;n&&(Ff(n),Hf(n));var i=t.markArea;i&&Hf(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var o=t.links||t.edges;if(o&&!ye(o))for(var a=0;a<o.length;a++)Hf(o[a]);re(t.categories,(function(t){Gf(t)}))}if(r&&!ye(r))for(a=0;a<r.length;a++)Hf(r[a]);if((e=t.markPoint)&&e.data){var s=e.data;for(a=0;a<s.length;a++)Hf(s[a])}if((n=t.markLine)&&n.data){var l=n.data;for(a=0;a<l.length;a++)he(l[a])?(Hf(l[a][0]),Hf(l[a][1])):Hf(l[a])}"gauge"===t.type?(Uf(t,"axisLabel"),Uf(t,"title"),Uf(t,"detail")):"treemap"===t.type?(Vf(t.breadcrumb,"itemStyle"),re(t.levels,(function(t){Gf(t)}))):"tree"===t.type&&Gf(t.leaves)}}(t)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),Of(n,(function(e){Of(Wf(t[e]),(function(t){t&&(Uf(t,"axisLabel"),Uf(t.axisPointer,"label"))}))})),Of(Wf(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;Uf(e,"axisLabel"),Uf(e&&e.axisPointer,"label")})),Of(Wf(t.calendar),(function(t){Vf(t,"itemStyle"),Uf(t,"dayLabel"),Uf(t,"monthLabel"),Uf(t,"yearLabel")})),Of(Wf(t.radar),(function(t){Uf(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)})),Of(Wf(t.geo),(function(t){Bf(t)&&(Hf(t),Of(Wf(t.regions),(function(t){Hf(t)})))})),Of(Wf(t.timeline),(function(t){Hf(t),Vf(t,"label"),Vf(t,"itemStyle"),Vf(t,"controlStyle",!0);var e=t.data;he(e)&&re(e,(function(t){me(t)&&(Vf(t,"label"),Vf(t,"itemStyle"))}))})),Of(Wf(t.toolbox),(function(t){Vf(t,"iconStyle"),Of(t.feature,(function(t){Vf(t,"iconStyle")}))})),Uf(Xf(t.axisPointer),"label"),Uf(Xf(t.tooltip).axisPointer,"label")}function Yf(t){t&&re(Zf,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var Zf=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],Qf=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],qf=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function Jf(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<qf.length;n++){var i=qf[n][1],r=qf[n][0];null!=e[i]&&(e[r]=e[i])}}function Kf(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function $f(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function tg(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&tg(t[n].children,e)}function eg(t,e){jf(t,e),t.series=Ea(t.series),re(t.series,(function(t){if(me(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){if(null!=t.clockWise&&(t.clockwise=t.clockWise),Kf(t.label),(r=t.data)&&!ye(r))for(var n=0;n<r.length;n++)Kf(r[n]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var i=function(t,e){for(var n=e.split(","),i=t,r=0;r<n.length&&null!=(i=i&&i[n[r]]);r++);return i}(t,"pointer.color");null!=i&&function(t,e,n){for(var i,r=e.split(","),o=t,a=0;a<r.length-1;a++)null==o[i=r[a]]&&(o[i]={}),o=o[i];null==o[r[a]]&&(o[r[a]]=n)}(t,"itemStyle.color",i)}else if("bar"===e){var r;if(Jf(t),Jf(t.backgroundStyle),Jf(t.emphasis),(r=t.data)&&!ye(r))for(n=0;n<r.length;n++)"object"===y(r[n])&&(Jf(r[n]),Jf(r[n]&&r[n].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),$f(t),tg(t.data,$f)}else"graph"===e||"sankey"===e?function(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&$t(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),Yf(t)}})),t.dataRange&&(t.visualMap=t.dataRange),re(Qf,(function(e){var n=t[e];n&&(he(n)||(n=[n]),re(n,(function(t){Yf(t)})))}))}function ng(t){re(t,(function(e,n){var i=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,(function(o,u,c){var h,d,p=a.get(e.stackedDimension,c);if(isNaN(p))return r;s?d=a.getRawIndex(c):h=a.get(e.stackedByDimension,c);for(var f=NaN,g=n-1;g>=0;g--){var m=t[g];if(s||(d=m.data.rawIndexOf(m.stackedByDimension,h)),d>=0){var v=m.data.getByRawIndex(m.stackResultDimension,d);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&p>=0&&v>0||"samesign"===l&&p<=0&&v<0){p=ha(p,v),f=v;break}}}return i[0]=p,i[1]=f,i}))}))}var ig,rg,og,ag,sg,lg=function(){return function(t){this.data=t.data||(t.sourceFormat===nf?{}:[]),this.sourceFormat=t.sourceFormat||of,this.seriesLayoutBy=t.seriesLayoutBy||af,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&pf(this,n)===lf.Must&&(i.type="ordinal")}}}();function ug(t){return t instanceof lg}function cg(t,e,n){n=n||dg(t);var i=e.seriesLayoutBy,r=function(t,e,n,i,r){var o,a;if(!t)return{dimensionsDefine:pg(r),startIndex:a,dimensionsDetectedCount:o};if(e===tf){var s=t;"auto"===i||null==i?fg((function(t){null!=t&&"-"!==t&&(pe(t)?null==a&&(a=1):a=0)}),n,s,10):a=ge(i)?i:i?1:0,r||1!==a||(r=[],fg((function(t,e){r[e]=null!=t?t+"":""}),n,s,1/0)),o=r?r.length:n===sf?s.length:s[0]?s[0].length:null}else if(e===ef)r||(r=function(t){var e,n=0;for(;n<t.length&&!(e=t[n++]););if(e)return le(e)}(t));else if(e===nf)r||(r=[],re(t,(function(t,e){r.push(e)})));else if(e===$p){var l=Ra(t[0]);o=he(l)&&l.length||1}return{startIndex:a,dimensionsDefine:pg(r),dimensionsDetectedCount:o}}(t,n,i,e.sourceHeader,e.dimensions);return new lg({data:t,sourceFormat:n,seriesLayoutBy:i,dimensionsDefine:r.dimensionsDefine,startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount,metaRawOption:Qt(e)})}function hg(t){return new lg({data:t,sourceFormat:ye(t)?rf:$p})}function dg(t){var e=of;if(ye(t))e=rf;else if(he(t)){0===t.length&&(e=tf);for(var n=0,i=t.length;n<i;n++){var r=t[n];if(null!=r){if(he(r)||ye(r)){e=tf;break}if(me(r)){e=ef;break}}}}else if(me(t))for(var o in t)if(Fe(t,o)&&ie(t[o])){e=nf;break}return e}function pg(t){if(t){var e=ke();return oe(t,(function(t,n){var i={name:(t=me(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==i.name)return i;i.name+="",null==i.displayName&&(i.displayName=i.name);var r=e.get(i.name);return r?i.name+="-"+r.count++:e.set(i.name,{count:1}),i}))}}function fg(t,e,n,i){if(e===sf)for(var r=0;r<n.length&&r<i;r++)t(n[r]?n[r][0]:null,r);else{var o=n[0]||[];for(r=0;r<o.length&&r<i;r++)t(o[r],r)}}function gg(t){var e=t.sourceFormat;return e===ef||e===nf}var mg=function(){function t(t,e){var n=ug(t)?t:hg(t);this._source=n;var i=this._data=n.data;n.sourceFormat===rf&&(this._offset=0,this._dimSize=e,this._data=i),sg(this,i,n)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var t;sg=function(t,r,o){var a=o.sourceFormat,s=o.seriesLayoutBy,l=o.startIndex,u=o.dimensionsDefine;if(Kt(t,ag[Mg(a,s)]),a===rf)t.getItem=e,t.count=i,t.fillStorage=n;else{var c=_g(a,s);t.getItem=ue(c,null,r,l,u);var h=wg(a,s);t.count=ue(h,null,r,l,u)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=e-t,h=n[a],d=0;d<c;d++){var p=r[d*o+a];h[t+d]=p,p<l&&(l=p),p>u&&(u=p)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={})[tf+"_"+af]={pure:!0,appendData:r},t[tf+"_"+sf]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[ef]={pure:!0,appendData:r},t[nf]={pure:!0,appendData:function(t){var e=this._data;re(t,(function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])}))}},t[$p]={appendData:r},t[rf]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},ag=t}(),t}(),vg=function(t,e,n,i){return t[i]},yg=((ig={})[tf+"_"+af]=function(t,e,n,i){return t[i+e]},ig[tf+"_"+sf]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=t,s=0;s<a.length;s++){var l=a[s];o[s]=l?l[i]:null}return o},ig[ef]=vg,ig[nf]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){var s=t[n[a].name];o[a]=s?s[i]:null}return o},ig[$p]=vg,ig);function _g(t,e){return yg[Mg(t,e)]}var xg=function(t,e,n){return t.length},bg=((rg={})[tf+"_"+af]=function(t,e,n){return Math.max(0,t.length-e)},rg[tf+"_"+sf]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},rg[ef]=xg,rg[nf]=function(t,e,n){var i=t[n[0].name];return i?i.length:0},rg[$p]=xg,rg);function wg(t,e){return bg[Mg(t,e)]}var Sg=function(t,e,n){return t[e]},Ag=((og={})[tf]=Sg,og[ef]=function(t,e,n){return t[n]},og[nf]=Sg,og[$p]=function(t,e,n){var i=Ra(t);return i instanceof Array?i[e]:i},og[rf]=Sg,og);function Tg(t){return Ag[t]}function Mg(t,e){return t===tf?t+"_"+e:t}function Ig(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return Tg(o)(i,a,s)}var l=i;return o===$p&&(l=Ra(i)),l}}}var Cg=/\{@(.+?)\}/g,Dg=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,h="series"===c,d=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:l,borderColor:u,dimensionNames:d?d.fullDimensions:null,encode:d?d.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,i,r,o){e=e||"normal";var a=this.getData(n),s=this.getDataParams(t,n);(o&&(s.value=o.interpolatedValue),null!=i&&he(s.value)&&(s.value=s.value[i]),r)||(r=a.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"]));return de(r)?(s.status=e,s.dimensionIndex=i,r(s)):pe(r)?Pp(r,s).replace(Cg,(function(e,n){var i=n.length,r=n;"["===r.charAt(0)&&"]"===r.charAt(i-1)&&(r=+r.slice(1,i-1));var s=Ig(a,t,r);if(o&&he(o.interpolatedValue)){var l=a.getDimensionIndex(r);l>=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return Ig(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function Eg(t){var e,n;return me(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function Lg(t){return new Pg(t)}var Pg=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=c(this._modBy),s=this._modDataCount||0,l=c(t&&t.modBy),u=t&&t.modDataCount||0;function c(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var h=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,p=Math.min(null!=h?this._dueIndex+h:1/0,this._dueEnd);if(!i&&(o||d<p)){var f=this._progress;if(he(f))for(var g=0;g<f.length;g++)this._doProgress(f[g],d,p,l,u);else this._doProgress(f,d,p,l,u)}this._dueIndex=p;var m=null!=this._settedOutputEnd?this._settedOutputEnd:p;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){Rg.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:Rg.next},this.context)},t.prototype._doReset=function(t){var e,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),he(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),Rg=function(){var t,e,n,i,r,o={reset:function(l,u,c,h){e=l,t=u,n=c,i=h,r=Math.ceil(i/n),o.next=n>1&&i>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}}();function Ng(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||ge(t)||null==t||"-"===t||(t=+ma(t)),null==t||""===t?NaN:Number(t))}var kg=ke({number:function(t){return parseFloat(t)},time:function(t){return+ma(t)},trim:function(t){return pe(t)?Ce(t):t}});function Og(t){return kg.get(t)}var Bg={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},zg=function(){function t(t,e){if(!ge(e)){Ma("")}this._opFn=Bg[t],this._rvalFloat=ba(e)}return t.prototype.evaluate=function(t){return ge(t)?this._opFn(t,this._rvalFloat):this._opFn(ba(t),this._rvalFloat)},t}(),Fg=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=ge(t)?t:ba(t),i=ge(e)?e:ba(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=pe(t),s=pe(e);a&&(n=s?t:0),s&&(i=a?e:0)}return n<i?this._resultLT:n>i?-this._resultLT:0},t}(),Vg=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=y(e),this._rvalFloat=ba(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=y(t);n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=ba(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function Gg(t,e){return"eq"===t||"ne"===t?new Vg("eq"===t,e):Fe(Bg,t)?new zg(t,e):null}var Ug=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return Ng(t,e)},t}();function Hg(t){if(!Qg(t.sourceFormat)){Ma("")}return t.data}function Wg(t){var e=t.sourceFormat,n=t.data;if(!Qg(e)){Ma("")}if(e===tf){for(var i=[],r=0,o=n.length;r<o;r++)i.push(n[r].slice());return i}if(e===ef){for(i=[],r=0,o=n.length;r<o;r++)i.push(Kt({},n[r]));return i}}function Xg(t,e,n){if(null!=n)return ge(n)||!isNaN(n)&&!Fe(e,n)?t[n]:Fe(e,n)?e[n]:void 0}function jg(t){return Qt(t)}var Yg=ke();function Zg(t,e,n,i){e.length||Ma(""),me(t)||Ma("");var r=t.type,o=Yg.get(r);o||Ma("");var a=oe(e,(function(t){return function(t,e){var n=new Ug,i=t.data,r=n.sourceFormat=t.sourceFormat,o=t.startIndex;t.seriesLayoutBy!==af&&Ma("");var a=[],s={},l=t.dimensionsDefine;if(l)re(l,(function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};a.push(i),null!=n&&(Fe(s,n)&&Ma(""),s[n]=i)}));else for(var u=0;u<t.dimensionsDetectedCount;u++)a.push({index:u});var c=_g(r,af);e.__isBuiltIn&&(n.getRawDataItem=function(t){return c(i,o,a,t)},n.getRawData=ue(Hg,null,t)),n.cloneRawData=ue(Wg,null,t);var h=wg(r,af);n.count=ue(h,null,i,o,a);var d=Tg(r);n.retrieveValue=function(t,e){var n=c(i,o,a,t);return p(n,e)};var p=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=a[e];return n?d(t,e,n.name):void 0}};return n.getDimensionInfo=ue(Xg,null,a,s),n.cloneAllDimensionInfo=ue(jg,null,a),n}(t,o)}));return oe(Ea(o.transform({upstream:a[0],upstreamList:a,config:Qt(t.config)})),(function(t,n){var i;me(t)||Ma(""),t.data||Ma(""),Qg(dg(t.data))||Ma("");var r=e[0];if(r&&0===n&&!t.dimensions){var o=r.startIndex;o&&(t.data=r.data.slice(0,o).concat(t.data)),i={seriesLayoutBy:af,sourceHeader:o,dimensions:r.metaRawOption.dimensions}}else i={seriesLayoutBy:af,sourceHeader:0,dimensions:t.dimensions};return cg(t.data,i,null)}))}function Qg(t){return t===tf||t===ef}var qg,Jg="undefined",Kg=("undefined"==typeof Uint32Array?"undefined":y(Uint32Array))===Jg?Array:Uint32Array,$g=("undefined"==typeof Uint16Array?"undefined":y(Uint16Array))===Jg?Array:Uint16Array,tm=("undefined"==typeof Int32Array?"undefined":y(Int32Array))===Jg?Array:Int32Array,em=("undefined"==typeof Float64Array?"undefined":y(Float64Array))===Jg?Array:Float64Array,nm={float:em,int:tm,ordinal:Array,number:Array,time:em};function im(t){return t>65535?Kg:$g}function rm(t,e,n,i,r){var o=nm[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(i)}var om=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=ke()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=t.getSource(),r=this.defaultDimValueGetter=qg[i.sourceFormat];this._dimValueGetter=n||r,this._rawExtent=[],gg(i),this._dimensions=oe(e,(function(t){return{type:t.type,property:t.property}})),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new nm[e||"float"](this._rawCount),this._rawExtent[r]=[1/0,-1/0],r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=[1/0,-1/0]);for(var s=r[t],l=o;l<a;l++){var u=n[l]=e.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,i=this._dimensions,r=i.length,o=this._rawExtent,a=this.count(),s=a+Math.max(t.length,e||0),l=0;l<r;l++){rm(n,l,(p=i[l]).type,s,!0)}for(var u=[],c=a;c<s;c++)for(var h=c-a,d=0;d<r;d++){var p=i[d],f=qg.arrayRows.call(this,t[h]||u,p.property,h,d);n[d][c]=f;var g=o[d];f<g[0]&&(g[0]=f),f>g[1]&&(g[1]=f)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=oe(o,(function(t){return t.property})),u=0;u<a;u++){var c=o[u];s[u]||(s[u]=[1/0,-1/0]),rm(r,u,c.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,r,s);else for(var h=[],d=t;d<e;d++){h=i.getItem(d,h);for(var p=0;p<a;p++){var f=r[p],g=this._dimValueGetter(h,l[p],d,p);f[d]=g;var m=s[p];g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;r=0;for(var o=i.length;r<o;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=0;if(this._chunks[t])for(var n=0,i=this.count();n<i;n++){var r=this.get(t,n);isNaN(r)||(e+=r)}return e},t.prototype.getMedian=function(t){var e=[];this.each([t],(function(t){isNaN(t)||e.push(t)}));var n=e.sort((function(t,e){return t-e})),i=this.count();return 0===i?0:i%2==1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,r=this._count-1;i<=r;){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l<u;l++){var c=e-i[this.getRawIndex(l)],h=Math.abs(c);h<=n&&((h<o||h===o&&c>=0&&a<0)&&(o=h,a=c,s=0),c===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{t=new(n=im(this._rawCount))(this.count());for(r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=new(im(n._rawCount))(i),o=[],a=t.length,s=0,l=t[0],u=n._chunks,c=0;c<i;c++){var h=void 0,d=n.getRawIndex(c);if(0===a)h=e(c);else if(1===a){h=e(u[l][d],c)}else{for(var p=0;p<a;p++)o[p]=u[t[p]][d];o[p]=c,h=e.apply(null,o)}h&&(r[s++]=d)}return s<i&&(n._indices=r),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=le(t),r=i.length;if(!r)return this;var o=e.count(),a=new(im(e._rawCount))(o),s=0,l=i[0],u=t[l][0],c=t[l][1],h=e._chunks,d=!1;if(!e._indices){var p=0;if(1===r){for(var f=h[i[0]],g=0;g<n;g++){((_=f[g])>=u&&_<=c||isNaN(_))&&(a[s++]=p),p++}d=!0}else if(2===r){f=h[i[0]];var m=h[i[1]],v=t[i[1]][0],y=t[i[1]][1];for(g=0;g<n;g++){var _=f[g],x=m[g];(_>=u&&_<=c||isNaN(_))&&(x>=v&&x<=y||isNaN(x))&&(a[s++]=p),p++}d=!0}}if(!d)if(1===r)for(g=0;g<o;g++){var b=e.getRawIndex(g);((_=h[i[0]][b])>=u&&_<=c||isNaN(_))&&(a[s++]=b)}else for(g=0;g<o;g++){for(var w=!0,S=(b=e.getRawIndex(g),0);S<r;S++){var A=i[S];((_=h[A][b])<t[A][0]||_>t[A][1])&&(w=!1)}w&&(a[s++]=e.getRawIndex(g))}return s<o&&(e._indices=a),e._count=s,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=[1/0,-1/0];for(var c=0;c<a;c++){for(var h=t.getRawIndex(c),d=0;d<o;d++)s[d]=i[e[d]][h];s[o]=c;var p=n&&n.apply(null,s);if(null!=p){"object"!==y(p)&&(r[0]=p,p=r);for(u=0;u<p.length;u++){var f=e[u],g=p[u],m=l[f],v=i[f];v&&(v[h]=g),g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),c=this.getRawIndex(0),h=new(im(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));h[l++]=c;for(var d=1;d<s-1;d+=u){for(var p=Math.min(d+u,s-1),f=Math.min(d+2*u,s),g=(f+p)/2,m=0,v=p;v<f;v++){var y=a[T=this.getRawIndex(v)];isNaN(y)||(m+=y)}m/=f-p;var _=d,x=Math.min(d+u,s),b=d-1,w=a[c];n=-1,r=_;var S=-1,A=0;for(v=_;v<x;v++){var T;y=a[T=this.getRawIndex(v)];isNaN(y)?(A++,S<0&&(S=T)):(i=Math.abs((b-g)*(y-w)-(b-v)*(m-w)))>n&&(n=i,r=T)}A>0&&A<x-_&&(h[l++]=Math.min(S,r),r=Math.max(S,r)),h[l++]=r,c=r}return h[l++]=this.getRawIndex(s-1),o._count=l,o._indices=h,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),c=r._rawExtent[t]=[1/0,-1/0],h=new(im(this._rawCount))(Math.ceil(u/s)),d=0,p=0;p<u;p+=s){s>u-p&&(s=u-p,a.length=s);for(var f=0;f<s;f++){var g=this.getRawIndex(p+f);a[f]=l[g]}var m=n(a),v=this.getRawIndex(Math.min(p+i(a,m)||0,u-1));l[v]=m,m<c[0]&&(c[0]=m),m>c[1]&&(c[1]=m),h[d++]=v}return r._count=d,r._indices=h,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,l=[];s<n;s++)l[s]=i[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=[1/0,-1/0];if(!e)return n;var i,r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(i=this._extent[t])return i.slice();for(var o=(i=n)[0],a=i[1],s=0;s<r;s++){var l=e[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i,r,o=new t,a=this._chunks,s=e&&ae(e,(function(t,e){return t[e]=!0,t}),{});if(s)for(var l=0;l<a.length;l++)o._chunks[l]=s[l]?(i=a[l],r=void 0,(r=i.constructor)===Array?i.slice():new r(i)):a[l];else o._chunks=a;return this._copyCommonProps(o),n||(o._indices=this._cloneIndices()),o._updateGetRawIdx(),o},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=Qt(this._extent),t._rawExtent=Qt(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return Ng(t[i],this._dimensions[i])}qg={arrayRows:t,objectRows:function(t,e,n,i){return Ng(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return Ng(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),am=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(lm(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=ye(a=o.get("data",!0))?rf:$p,e=[];var c=this._getSourceMetaRawOption()||{},h=l&&l.metaRawOption||{},d=Se(c.seriesLayoutBy,h.seriesLayoutBy)||null,p=Se(c.sourceHeader,h.sourceHeader),f=Se(c.dimensions,h.dimensions);t=d!==h.seriesLayoutBy||!!p!=!!h.sourceHeader||f?[cg(a,{seriesLayoutBy:d,sourceHeader:p,dimensions:f},s)]:[]}else{var g=n;if(r){var m=this._applyTransform(i);t=m.sourceList,e=m.upstreamSignList}else{t=[cg(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){1!==t.length&&um("")}var o,a=[],s=[];return re(t,(function(t){t.prepareSource();var e=t.getSource(r||0);null==r||e||um(""),a.push(e),s.push(t._getVersionSign())})),i?e=function(t,e){var n=Ea(t),i=n.length;i||Ma("");for(var r=0,o=i;r<o;r++)e=Zg(n[r],e),r!==o-1&&(e.length=Math.max(e.length,1));return e}(i,a,n.componentIndex):null!=r&&(e=[(o=a[0],new lg({data:o.data,sourceFormat:o.sourceFormat,seriesLayoutBy:o.seriesLayoutBy,dimensionsDefine:Qt(o.dimensionsDefine),startIndex:o.startIndex,dimensionsDetectedCount:o.dimensionsDetectedCount}))]),{sourceList:e,upstreamSignList:s}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=this._storeList,r=i[0];r||(r=i[0]={});var o=r[n];if(!o){var a=this._getUpstreamSourceManagers()[0];lm(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new om).initData(new mg(e,t.length),t),r[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(lm(t)){var e=df(t);return e?[e.getSourceManager()]:[]}return oe(function(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?Za(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},ja).models:[]}(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;if(lm(i))t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var r=i;t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function sm(t){t.option.transform&&Ee(t.option.transform)}function lm(t){return"series"===t.mainType}function um(t){throw new Error(t)}var cm="line-height:1";function hm(t,e){var n=t.color||"#6e7079",i=t.fontSize||12,r=t.fontWeight||"400",o=t.color||"#464646",a=t.fontSize||14,s=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+yn(i+"")+"px;color:"+yn(n)+";font-weight:"+yn(r+""),valueStyle:"font-size:"+yn(a+"")+"px;color:"+yn(o)+";font-weight:"+yn(s+"")}:{nameStyle:{fontSize:i,fill:n,fontWeight:r},valueStyle:{fontSize:a,fill:o,fontWeight:s}}}var dm=[0,10,20,30],pm=["","\n","\n\n","\n\n\n"];function fm(t,e){return e.type=t,e}function gm(t){return"section"===t.type}function mm(t){return gm(t)?ym:_m}function vm(t){if(gm(t)){var e=0,n=t.blocks.length,i=n>1||n>0&&!t.noHeader;return re(t.blocks,(function(t){var n=vm(t);n>=e&&(e=n+ +(i&&(!n||gm(t)&&!t.noHeader)))})),e}return 0}function ym(t,e,n,i){var r,o=e.noHeader,a=(r=vm(e),{html:dm[r],richText:pm[r]}),s=[],l=e.blocks||[];Ie(!l||he(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var c={valueAsc:"asc",valueDesc:"desc"};if(Fe(c,u)){var h=new Fg(c[u],null);l.sort((function(t,e){return h.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===u&&l.reverse()}re(l,(function(n,r){var o=e.valueFormatter,l=mm(n)(o?Kt(Kt({},t),{valueFormatter:o}):t,n,r>0?a.html:0,i);null!=l&&s.push(l)}));var d="richText"===t.renderMode?s.join(a.richText):bm(s.join(""),o?n:a.html);if(o)return d;var p=Dp(e.header,"ordinal",t.useUTC),f=hm(i,t.renderMode).nameStyle;return"richText"===t.renderMode?wm(t,p,f)+a.richText+d:bm('<div style="'+f+";"+cm+';">'+yn(p)+"</div>"+d,n)}function _m(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,c=e.valueFormatter||t.valueFormatter||function(t){return oe(t=he(t)?t:[t],(function(t,e){return Dp(t,he(p)?p[e]:p,u)}))};if(!o||!a){var h=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),d=o?"":Dp(l,"ordinal",u),p=e.valueType,f=a?[]:c(e.value,e.dataIndex),g=!s||!o,m=!s&&o,v=hm(i,r),y=v.nameStyle,_=v.valueStyle;return"richText"===r?(s?"":h)+(o?"":wm(t,d,y))+(a?"":function(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(he(e)?e.join(" "):e,o)}(t,f,g,m,_)):bm((s?"":h)+(o?"":function(t,e,n){return'<span style="'+n+";"+(e?"margin-left:2px":"")+'">'+yn(t)+"</span>"}(d,!s,y))+(a?"":function(t,e,n,i){var r=n?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=he(t)?t:[t],'<span style="'+o+";"+i+'">'+oe(t,(function(t){return yn(t)})).join("&nbsp;&nbsp;")+"</span>"}(f,g,m,_)),n)}}function xm(t,e,n,i,r,o){if(t)return mm(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function bm(t,e){return'<div style="'+("margin: "+e+"px 0 0")+";"+cm+';">'+t+'<div style="clear:both"></div></div>'}function wm(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function Sm(t,e){return Np(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function Am(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var Tm=function(){function t(){this.richTextStyles={},this._nextStyleNameId=Sa()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=Rp({color:e,type:t,renderMode:n,markerId:i});return pe(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};he(e)?re(e,(function(t){return Kt(n,t)})):Kt(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function Mm(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),c=u.length,h=o.getRawValue(a),d=he(h),p=Sm(o,a);if(c>1||d&&!c){var f=function(t,e,n,i,r){var o=e.getData(),a=ae(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function c(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(fm("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?re(i,(function(t){c(Ig(o,n,t),t)})):re(t,c),{inlineValues:s,inlineValueTypes:l,blocks:u}}(h,o,a,u,p);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(c){var g=l.getDimensionInfo(u[0]);r=e=Ig(l,a,u[0]),n=g.type}else r=e=d?h[0]:h;var m=Fa(o),v=m&&o.name||"",y=l.getName(a),_=s?v:y;return fm("section",{header:v,noHeader:s||!m,sortParam:r,blocks:[fm("nameValue",{markerType:"item",markerColor:p,name:_,noName:!Ce(_),value:e,valueType:n,dataIndex:a})].concat(i||[])})}var Im=Ua();function Cm(t,e){return t.getName(e)||t.getId(e)}var Dm="__universalTransitionEnabled",Em=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return Tt(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=Lg({count:Pm,reset:Rm}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(Im(this).sourceManager=new am(this)).prepareSource();var i=this.getInitialData(t,n);km(i,this),this.dataTask.context.data=i,Im(this).dataBeforeProcessed=i,Lm(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=Hp(this),i=n?Xp(t):{},r=this.subType;Zp.hasClass(r)&&(r+="Series"),qt(t,e.getTheme().get(this.subType)),qt(t,this.getDefaultOption()),La(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Wp(t,i,n)},e.prototype.mergeOption=function(t,e){t=qt(this.option,t,!0),this.fillDataTextStyle(t.data);var n=Hp(this);n&&Wp(this.option,t,n);var i=Im(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);km(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,Im(this).dataBeforeProcessed=r,Lm(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!ye(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&La(t[n],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){this.getRawData().appendData(t.data)},e.prototype.getData=function(t){var e=Bm(this);if(e){var n=e.context.data;return null!=t&&n.getLinkedData?n.getLinkedData(t):n}return Im(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var e=Bm(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}Im(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return ke(t)},e.prototype.getSourceManager=function(){return Im(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return Im(this).dataBeforeProcessed},e.prototype.getColorBy=function(){return this.get("colorBy")||"series"},e.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,n){return Mm({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(It.node&&(!t||!t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=bf.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<t.length;o++){var a=Cm(r,t[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},e.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=le(t),n=[],i=0;i<e.length;i++){var r=t[e[i]];r>=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[Cm(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[Dm])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){me(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l<a;l++){var u=e[l];s[h=Cm(t,u)]=!0,this._selectedDataIndicesMap[h]=t.getRawIndex(u)}}else if("single"===o||!0===o){var c=e[a-1],h=Cm(t,c);r.selectedMap=((n={})[h]=!0,n),this._selectedDataIndicesMap=((i={})[h]=t.getRawIndex(c),i)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each((function(n){var i=t.getRawDataItem(n);i&&i.selected&&e.push(n)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return Zp.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(Zp);function Lm(t){var e=t.name;Fa(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return re(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function Pm(t){return t.model.getRawData().count()}function Rm(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),Nm}function Nm(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function km(t,e){re(Oe(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,ce(Om,e))}))}function Om(t,e){var n=Bm(t);return n&&n.setOutputEnd((e||this).count()),e}function Bm(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}ne(Em,Dg),ne(Em,bf),is(Em,Zp);var zm=function(){function t(){this.group=new qo,this.uid=Vd("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();function Fm(){var t=Ua();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}ns(zm),ss(zm);var Vm=Ua(),Gm=Fm(),Um=function(){function t(){this.group=new qo,this.uid=Vd("viewChart"),this.renderTask=Lg({plan:Xm,reset:jm}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&Wm(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&Wm(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){ud(this.group,t)},t.markUpdateMethod=function(t,e){Vm(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function Hm(t,e,n){t&&uc(t)&&("emphasis"===e?Hu:Wu)(t,n)}function Wm(t,e,n){var i=Ga(t,e),r=e&&null!=e.highlightKey?function(t){var e=pu[t];return null==e&&du<=32&&(e=pu[t]=du++),e}(e.highlightKey):null;null!=i?re(Ea(i),(function(e){Hm(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){Hm(t,n,r)}))}function Xm(t){return Gm(t.model)}function jm(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&Vm(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),Ym[l]}ns(Um),ss(Um);var Ym={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Zm="\0__throttleOriginMethod",Qm="\0__throttleRate",qm="\0__throttleType";function Jm(t,e,n){var i,r,o,a,s,l=0,u=0,c=null;function h(){u=(new Date).getTime(),c=null,t.apply(o,a||[])}e=e||0;var d=function(){for(var t=[],d=0;d<arguments.length;d++)t[d]=arguments[d];i=(new Date).getTime(),o=this,a=t;var p=s||e,f=s||n;s=null,r=i-(f?l:u)-p,clearTimeout(c),f?c=setTimeout(h,p):r>=0?h():c=setTimeout(h,-r),l=i};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){s=t},d}function Km(t,e,n,i){var r=t[e];if(r){var o=r[Zm]||r,a=r[qm];if(r[Qm]!==n||a!==i){if(null==n||!i)return t[e]=o;(r=t[e]=Jm(o,n,"debounce"===i))[Zm]=o,r[qm]=i,r[Qm]=n}return r}}function $m(t,e){var n=t[e];n&&n[Zm]&&(n.clear&&n.clear(),t[e]=n[Zm])}var tv=Ua(),ev={itemStyle:ls(kd,!0),lineStyle:ls(Pd,!0)},nv={lineStyle:"stroke",itemStyle:"fill"};function iv(t,e){var n=t.visualStyleMapper||ev[e];return n||(console.warn("Unknown style type '"+e+"'."),ev.itemStyle)}function rv(t,e){var n=t.visualDrawType||nv[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var ov={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=iv(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=rv(t,i),l=o[s],u=de(l)?l:null,c="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||c){var h=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=h,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||de(o.fill)?h:o.fill,o.stroke="auto"===o.stroke||de(o.stroke)?h:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=Kt({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}},av=new zd,sv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=iv(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){av.option=n[i];var a=r(av);Kt(t.ensureUniqueItemVisual(e,"style"),a),av.option.decal&&(t.setItemVisual(e,"decal",av.option.decal),av.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},lv={performRawSeries:!0,overallReset:function(t){var e=ke();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),tv(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=tv(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=rv(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",c=n.count();l[s]=e.getColorFromPalette(u,o,c)}}))}}))}},uv=Math.PI;var cv=function(){function t(t,e,n,i){this._stageTaskMap=ke(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=ke();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;re(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{});Ie(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}re(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,d=c.agentStubMap;d.each((function(t){a(i,t)&&(t.dirty(),h=!0)})),h&&c.dirty(),o.updatePayload(c,n);var p=o.getPerformArgs(c,i.block);d.each((function(t){t.perform(p)})),c.perform(p)&&(r=!0)}else u&&u.each((function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=ke(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||Lg({plan:gv,reset:mv,count:_v}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||Lg({reset:hv});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=ke(),l=t.seriesType,u=t.getTargetSeries,c=!0,h=!1;function d(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(h=!0,Lg({reset:dv,onDirty:fv})));n.context={model:t,overallProgress:c},n.agent=o,n.__block=c,r._pipe(t,n)}Ie(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,d):u?u(n,i).each(d):(c=!1,re(n.getSeries(),d)),h&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return de(t)&&(t={overallReset:t,seriesType:xv(t)}),t.uid=Vd("stageHandler"),e&&(t.visualType=e),t},t}();function hv(t){t.overallReset(t.ecModel,t.api,t.payload)}function dv(t){return t.overallProgress&&pv}function pv(){this.agent.dirty(),this.getDownstream().dirty()}function fv(){this.agent&&this.agent.dirty()}function gv(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function mv(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Ea(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?oe(e,(function(t,e){return yv(e)})):vv}var vv=yv(0);function yv(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(e,i)}}function _v(t){return t.data.count()}function xv(t){bv=null;try{t(wv,Sv)}catch(KJ){}return bv}var bv,wv={},Sv={};function Av(t,e){for(var n in e.prototype)t[n]=Ve}Av(wv,Tf),Av(Sv,Ef),wv.eachSeriesByType=wv.eachRawSeriesByType=function(t){bv=t},wv.eachComponent=function(t){"series"===t.mainType&&t.subType&&(bv=t.subType)};var Tv=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],Mv={color:Tv,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Tv]},Iv="#B9B8CE",Cv="#100C2A",Dv=function(){return{axisLine:{lineStyle:{color:Iv}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},Ev=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Lv={darkMode:!0,color:Ev,backgroundColor:Cv,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Iv}},textStyle:{color:Iv},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Iv}},dataZoom:{borderColor:"#71708A",textStyle:{color:Iv},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:Iv}},timeline:{lineStyle:{color:Iv},label:{color:Iv},controlStyle:{color:Iv,borderColor:Iv}},calendar:{itemStyle:{color:Cv},dayLabel:{color:Iv},monthLabel:{color:Iv},yearLabel:{color:Iv}},timeAxis:Dv(),logAxis:Dv(),valueAxis:Dv(),categoryAxis:Dv(),line:{symbol:"circle"},graph:{color:Ev},gauge:{title:{color:Iv},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Iv},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Lv.categoryAxis.splitLine.show=!1;var Pv=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(pe(t)){var r=es(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};re(t,(function(t,r){for(var s=!1,l=0;l<o.length;l++){var u=o[l],c=r.lastIndexOf(u);if(c>0&&c===r.length-u.length){var h=r.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Rv=["symbol","symbolSize","symbolRotate","symbolOffset"],Nv=Rv.concat(["symbolKeepAspect"]),kv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a<Rv.length;a++){var s=Rv[a],l=t.get(s);de(l)?(o=!0,r[s]=l):i[s]=l}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual(Kt({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var u=le(r);return{dataEach:o?function(e,n){for(var i=t.getRawValue(n),o=t.getDataParams(n),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(n,s,r[s](i,o))}}:null}}}}},Ov={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var n=t.getItemModel(e),i=0;i<Nv.length;i++){var r=Nv[i],o=n.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}:null}}};function Bv(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n)}}function zv(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}function Fv(t,e,n,i){switch(n){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=i,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=i;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,i)}}function Vv(t,e){function n(e,n){var i=[];return e.eachComponent({mainType:"series",subType:t,query:n},(function(t){i.push(t.seriesIndex)})),i}re([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],(function(t){e(t[0],(function(e,i,r){e=Kt({},e),r.dispatchAction(Kt(e,{type:t[1],seriesIndex:n(i,e)}))}))}))}function Gv(t,e,n,i,r){var o=t+e;n.isSilent(o)||i.eachComponent({mainType:"series",subType:"pie"},(function(t){for(var e=t.seriesIndex,i=t.option.selectedMap,a=r.selected,s=0;s<a.length;s++)if(a[s].seriesIndex===e){var l=t.getData(),u=Ga(l,r.fromActionPayload);n.trigger(o,{type:o,seriesId:t.id,name:he(u)?l.getName(u[0]):l.getName(u),selected:pe(i)?i:Kt({},i)})}}))}function Uv(t,e,n){for(var i;t&&(!e(t)||(i=t,!n));)t=t.__hostTarget||t.parent;return i}var Hv=Math.round(9*Math.random()),Wv="function"==typeof Object.defineProperty,Xv=function(){function t(){this._id="__ec_inner_"+Hv++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return Wv?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),jv=Ol.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),Yv=Ol.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),Zv=Ol.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,h=Math.sin(u),d=Math.cos(u),p=.6*a,f=.7*a;t.moveTo(n-c,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-h*p,l+s+d*p,n,i-f,n,i),t.bezierCurveTo(n,i-f,n-c+h*p,l+s+d*p,n-c,l+s),t.closePath()}}),Qv=Ol.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),qv={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},Jv={};re({line:ah,rect:Zl,roundRect:Zl,square:Zl,circle:Rc,diamond:Yv,pin:Zv,arrow:Qv,triangle:jv},(function(t,e){Jv[e]=new t}));var Kv=Ol.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=Fo(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=Jv[i];r||(r=Jv[i="rect"]),qv[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function $v(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function ty(t,e,n,i,r,o,a){var s,l=0===t.indexOf("empty");return l&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?Xh(t.slice(8),new Zn(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?Wh(t.slice(7),{},new Zn(e,n,i,r),a?"center":"cover"):new Kv({shape:{symbolType:t,x:e,y:n,width:i,height:r}})).__isEmptyBrush=l,s.setColor=$v,o&&s.setColor(o),s}function ey(t){return he(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function ny(t,e){if(null!=t)return he(t)||(t=[t,t]),[oa(t[0],e[0])||0,oa(Se(t[1],t[0]),e[1])||0]}function iy(t){return isFinite(t)}function ry(t,e,n){for(var i="radial"===e.type?function(t,e,n){var i=n.width,r=n.height,o=Math.min(i,r),a=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(a=a*i+n.x,s=s*r+n.y,l*=o),a=iy(a)?a:.5,s=iy(s)?s:.5,l=l>=0&&iy(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,n):function(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=iy(i)?i:0,r=iy(r)?r:1,o=iy(o)?o:0,a=iy(a)?a:0,t.createLinearGradient(i,o,r,a)}(t,e,n),r=e.colorStops,o=0;o<r.length;o++)i.addColorStop(r[o].offset,r[o].color);return i}function oy(t){return parseInt(t,10)}function ay(t,e,n){var i=["width","height"][e],r=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var s=document.defaultView.getComputedStyle(t);return(t[r]||oy(s[i])||oy(t.style[i]))-(oy(s[o])||0)-(oy(s[a])||0)|0}function sy(t){var e,n,i=t.style,r=i.lineDash&&i.lineWidth>0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:ge(e)?[e]:he(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=oe(r,(function(t){return t/a})),o/=a)}return[r,o]}var ly=new gl(!0);function uy(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function cy(t){return"string"==typeof t&&"none"!==t}function hy(t){var e=t.fill;return null!=e&&"none"!==e}function dy(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function py(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function fy(t,e,n){var i=ps(e.image,e.__image,n);if(gs(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*Ge),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}var gy=["shadowBlur","shadowOffsetX","shadowOffsetY"],my=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function vy(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){Ay(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?Ds.opacity:a}(i||e.blend!==n.blend)&&(o||(Ay(t,r),o=!0),t.globalCompositeOperation=e.blend||Ds.blend);for(var s=0;s<gy.length;s++){var l=gy[s];(i||e[l]!==n[l])&&(o||(Ay(t,r),o=!0),t[l]=t.dpr*(e[l]||0))}return(i||e.shadowColor!==n.shadowColor)&&(o||(Ay(t,r),o=!0),t.shadowColor=e.shadowColor||Ds.shadowColor),o}function yy(t,e,n,i,r){var o=Ty(e,r.inHover),a=i?null:n&&Ty(n,r.inHover)||{};if(o===a)return!1;var s=vy(t,o,a,i,r);if((i||o.fill!==a.fill)&&(s||(Ay(t,r),s=!0),cy(o.fill)&&(t.fillStyle=o.fill)),(i||o.stroke!==a.stroke)&&(s||(Ay(t,r),s=!0),cy(o.stroke)&&(t.strokeStyle=o.stroke)),(i||o.opacity!==a.opacity)&&(s||(Ay(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(Ay(t,r),s=!0),t.lineWidth=l)}for(var u=0;u<my.length;u++){var c=my[u],h=c[0];(i||o[h]!==a[h])&&(s||(Ay(t,r),s=!0),t[h]=o[h]||c[1])}return s}function _y(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}var xy=1,by=2,wy=3,Sy=4;function Ay(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function Ty(t,e){return e&&t.__hoverStyle||t.style}function My(t,e){Iy(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function Iy(t,e,n,i){var r=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return e.__dirty&=~pi,void(e.__isRendered=!1);var o=e.__clipPaths,a=n.prevElClipPaths,s=!1,l=!1;if(a&&!function(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}(o,a)||(a&&a.length&&(Ay(t,n),t.restore(),l=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),o&&o.length&&(Ay(t,n),t.save(),function(t,e,n){for(var i=!1,r=0;r<t.length;r++){var o=t[r];i=i||o.isZeroArea(),_y(e,o),e.beginPath(),o.buildPath(e,o.shape),e.clip()}n.allClipped=i}(o,t,n),s=!0),n.prevElClipPaths=o),n.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var u=n.prevEl;u||(l=s=!0);var c,h,d=e instanceof Ol&&e.autoBatch&&function(t){var e=hy(t),n=uy(t);return!(t.lineDash||!(+e^+n)||e&&"string"!=typeof t.fill||n&&"string"!=typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}(e.style);s||(c=r,h=u.transform,c&&h?c[0]!==h[0]||c[1]!==h[1]||c[2]!==h[2]||c[3]!==h[3]||c[4]!==h[4]||c[5]!==h[5]:c||h)?(Ay(t,n),_y(t,e)):d||Ay(t,n);var p=Ty(e,n.inHover);e instanceof Ol?(n.lastDrawType!==xy&&(l=!0,n.lastDrawType=xy),yy(t,e,u,l,n),d&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,i){var r,o=uy(n),a=hy(n),s=n.strokePercent,l=s<1,u=!e.path;e.silent&&!l||!u||e.createPathProxy();var c=e.path||ly,h=e.__dirty;if(!i){var d=n.fill,p=n.stroke,f=a&&!!d.colorStops,g=o&&!!p.colorStops,m=a&&!!d.image,v=o&&!!p.image,y=void 0,_=void 0,x=void 0,b=void 0,w=void 0;(f||g)&&(w=e.getBoundingRect()),f&&(y=h?ry(t,d,w):e.__canvasFillGradient,e.__canvasFillGradient=y),g&&(_=h?ry(t,p,w):e.__canvasStrokeGradient,e.__canvasStrokeGradient=_),m&&(x=h||!e.__canvasFillPattern?fy(t,d,e):e.__canvasFillPattern,e.__canvasFillPattern=x),v&&(b=h||!e.__canvasStrokePattern?fy(t,p,e):e.__canvasStrokePattern,e.__canvasStrokePattern=x),f?t.fillStyle=y:m&&(x?t.fillStyle=x:a=!1),g?t.strokeStyle=_:v&&(b?t.strokeStyle=b:o=!1)}var S,A,T=e.getGlobalScale();c.setScale(T[0],T[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(S=(r=sy(e))[0],A=r[1]);var M=!0;(u||h&fi)&&(c.setDPR(t.dpr),l?c.setContext(null):(c.setContext(t),M=!1),c.reset(),e.buildPath(c,e.shape,i),c.toStatic(),e.pathUpdated()),M&&c.rebuildPath(t,l?s:1),S&&(t.setLineDash(S),t.lineDashOffset=A),i||(n.strokeFirst?(o&&py(t,n),a&&dy(t,n)):(a&&dy(t,n),o&&py(t,n))),S&&t.setLineDash([])}(t,e,p,d),d&&(n.batchFill=p.fill||"",n.batchStroke=p.stroke||"")):e instanceof zl?(n.lastDrawType!==wy&&(l=!0,n.lastDrawType=wy),yy(t,e,u,l,n),function(t,e,n){var i,r=n.text;if(null!=r&&(r+=""),r){t.font=n.font||Et,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var o=void 0,a=void 0;t.setLineDash&&n.lineDash&&(o=(i=sy(e))[0],a=i[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),n.strokeFirst?(uy(n)&&t.strokeText(r,n.x,n.y),hy(n)&&t.fillText(r,n.x,n.y)):(hy(n)&&t.fillText(r,n.x,n.y),uy(n)&&t.strokeText(r,n.x,n.y)),o&&t.setLineDash([])}}(t,e,p)):e instanceof Gl?(n.lastDrawType!==by&&(l=!0,n.lastDrawType=by),function(t,e,n,i,r){vy(t,Ty(e,r.inHover),n&&Ty(n,r.inHover),i,r)}(t,e,u,l,n),function(t,e,n){var i=e.__image=ps(n.image,e.__image,e,e.onload);if(i&&gs(i)){var r=n.x||0,o=n.y||0,a=e.getWidth(),s=e.getHeight(),l=i.width/i.height;if(null==a&&null!=s?a=s*l:null==s&&null!=a?s=a/l:null==a&&null==s&&(a=i.width,s=i.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;t.drawImage(i,u,c,n.sWidth,n.sHeight,r,o,a,s)}else if(n.sx&&n.sy){var h=a-(u=n.sx),d=s-(c=n.sy);t.drawImage(i,u,c,h,d,r,o,a,s)}else t.drawImage(i,r,o,a,s)}}(t,e,p)):e.getTemporalDisplayables&&(n.lastDrawType!==Sy&&(l=!0,n.lastDrawType=Sy),function(t,e,n){var i=e.getDisplayables(),r=e.getTemporalDisplayables();t.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(o=e.getCursor(),a=i.length;o<a;o++){(c=i[o]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),Iy(t,c,s,o===a-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),s.prevEl=c}for(var l=0,u=r.length;l<u;l++){var c;(c=r[l]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),Iy(t,c,s,l===u-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),s.prevEl=c}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n)),d&&i&&Ay(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}}var Cy=new Xv,Dy=new qi(100),Ey=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function Ly(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&Cy.delete(t);var o=Cy.get(t);if(o)return o;var a=$t(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var s={repeat:"repeat"};return function(t){for(var e,o=[n],s=!0,l=0;l<Ey.length;++l){var u=a[Ey[l]];if(null!=u&&!he(u)&&!pe(u)&&!ge(u)&&"boolean"!=typeof u){s=!1;break}o.push(u)}if(s){e=o.join(",")+(r?"-svg":"");var c=Dy.get(e);c&&(r?t.svgElement=c:t.image=c)}var h,d=Ry(a.dashArrayX),p=function(t){if(!t||"object"===y(t)&&0===t.length)return[0,0];if(ge(t)){var e=Math.ceil(t);return[e,e]}var n=oe(t,(function(t){return Math.ceil(t)}));return t.length%2?n.concat(n):n}(a.dashArrayY),f=Py(a.symbol),g=(b=d,oe(b,(function(t){return Ny(t)}))),m=Ny(p),v=!r&&Nt.createCanvas(),_=r&&{tag:"g",attrs:{},key:"dcl",children:[]},x=function(){for(var t=1,e=0,n=g.length;e<n;++e)t=Ta(t,g[e]);var i=1;for(e=0,n=f.length;e<n;++e)i=Ta(i,f[e].length);t*=i;var r=m*g.length*f.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}();var b;v&&(v.width=x.width*n,v.height=x.height*n,h=v.getContext("2d"));(function(){h&&(h.clearRect(0,0,v.width,v.height),a.backgroundColor&&(h.fillStyle=a.backgroundColor,h.fillRect(0,0,v.width,v.height)));for(var t=0,e=0;e<p.length;++e)t+=p[e];if(t<=0)return;var o=-m,s=0,l=0,u=0;for(;o<x.height;){if(s%2==0){for(var c=l/2%f.length,g=0,y=0,b=0;g<2*x.width;){var w=0;for(e=0;e<d[u].length;++e)w+=d[u][e];if(w<=0)break;if(y%2==0){var S=.5*(1-a.symbolSize),A=g+d[u][y]*S,T=o+p[s]*S,M=d[u][y]*a.symbolSize,I=p[s]*a.symbolSize,C=b/2%f[c].length;D(A,T,M,I,f[c][C])}g+=d[u][y],++b,++y===d[u].length&&(y=0)}++u===d.length&&(u=0)}o+=p[s],++l,++s===p.length&&(s=0)}function D(t,e,o,s,l){var u=r?1:n,c=ty(l,t*u,e*u,o*u,s*u,a.color,a.symbolKeepAspect);if(r){var d=i.painter.renderOneToVNode(c);d&&_.children.push(d)}else My(h,c)}})(),s&&Dy.put(e,v||_);t.image=v,t.svgElement=_,t.svgWidth=x.width,t.svgHeight=x.height}(s),s.rotation=a.rotation,s.scaleX=s.scaleY=r?1:1/n,Cy.set(t,s),t.dirty=!1,s}function Py(t){if(!t||0===t.length)return[["rect"]];if(pe(t))return[[t]];for(var e=!0,n=0;n<t.length;++n)if(!pe(t[n])){e=!1;break}if(e)return Py([t]);var i=[];for(n=0;n<t.length;++n)pe(t[n])?i.push([t[n]]):i.push(t[n]);return i}function Ry(t){if(!t||0===t.length)return[[0,0]];if(ge(t))return[[r=Math.ceil(t),r]];for(var e=!0,n=0;n<t.length;++n)if(!ge(t[n])){e=!1;break}if(e)return Ry([t]);var i=[];for(n=0;n<t.length;++n)if(ge(t[n])){var r=Math.ceil(t[n]);i.push([r,r])}else{(r=oe(t[n],(function(t){return Math.ceil(t)}))).length%2==1?i.push(r.concat(r)):i.push(r)}return i}function Ny(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}var ky=new ln,Oy={};function By(t){return Oy[t]}var zy=2e3,Fy=4500,Vy={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:zy,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:Fy,ARIA:6e3,DECAL:7e3}},Gy="__flagInMainProcess",Uy="__pendingUpdate",Hy="__needsUpdateStatus",Wy=/^[a-zA-Z0-9_]+$/,Xy="__connectUpdateStatus";function jy(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!this.isDisposed())return Zy(this,t,e);this.id}}function Yy(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Zy(this,t,e)}}function Zy(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),ln.prototype[e].apply(t,n)}var Qy,qy,Jy,Ky,$y,t_,e_,n_,i_,r_,o_,a_,s_,l_,u_,c_,h_,d_,p_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e}(ln),f_=p_.prototype;f_.on=Yy("on"),f_.off=Yy("off");var g_=function(t){function e(e,n,i){var r=t.call(this,new Pv)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},pe(n)&&(n=S_[n]),r._dom=e;i.ssr&&($o=function(t){var e=cu(t),n=e.dataIndex;if(null!=n){var i=ke();return i.set("series_index",e.seriesIndex),i.set("data_index",n),e.ssrType&&i.set("ssr_type",e.ssrType),i}});var o=r._zr=ea(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:Se(i.useDirtyRect,!1),useCoarsePointer:Se(i.useCoarsePointer,"auto"),pointerSize:i.pointerSize});r._ssr=i.ssr,r._throttledZrFlush=Jm(ue(o.flush,o),17),(n=Qt(n))&&eg(n,!0),r._theme=n,r._locale=function(t){if(pe(t)){var e=Xd[t.toUpperCase()]||{};return t===Ud||t===Hd?Qt(e):qt(Qt(e),Qt(Xd[Wd]),!1)}return qt(Qt(t),Qt(Xd[Wd]),!1)}(i.locale||Yd),r._coordSysMgr=new Pf;var a=r._api=u_(r);function s(t,e){return t.__prio-e.__prio}return di(w_,s),di(x_,s),r._scheduler=new cv(r,a,x_,w_),r._messageCenter=new p_,r._initEvents(),r.resize=ue(r.resize,r),o.animation.on("frame",r._onframe,r),r_(o,r),o_(o,r),Ee(r),r}return Tt(e,t),e.prototype._onframe=function(){if(!this._disposed){d_(this);var t=this._scheduler;if(this[Uy]){var e=this[Uy].silent;this[Gy]=!0;try{Qy(this),Ky.update.call(this,null,this[Uy].updateParams)}catch(KJ){throw this[Gy]=!1,this[Uy]=null,KJ}this._zr.flush(),this[Gy]=!1,this[Uy]=null,n_.call(this,e),i_.call(this,e)}else if(t.unfinished){var n=1,i=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),t_(this,i),t.performVisualTasks(i),l_(this,this._model,r,"remain",{}),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[Gy])if(this._disposed)this.id;else{var i,r,o;if(me(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[Gy]=!0,!this._model||e){var a=new Nf(this._api),s=this._theme,l=this._model=new Tf;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},b_);var u={seriesTransition:o,optionChanged:!0};if(n)this[Uy]={silent:i,updateParams:u},this[Gy]=!1,this.getZr().wakeUp();else{try{Qy(this),Ky.update.call(this,null,u)}catch(KJ){throw this[Uy]=null,this[Gy]=!1,KJ}this._ssr||this._zr.flush(),this[Uy]=null,this[Gy]=!1,n_.call(this,i),i_.call(this,i)}}},e.prototype.setTheme=function(){},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||It.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(It.svgSupported){var t=this._zr;return re(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;re(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return re(i,(function(t){t.group.ignore=!1})),o}this.id},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(M_[n]){var a=o,s=o,l=-1/0,u=-1/0,c=[],h=t&&t.pixelRatio||this.getDevicePixelRatio();re(T_,(function(o,h){if(o.group===n){var d=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(Qt(t)),p=o.getDom().getBoundingClientRect();a=i(p.left,a),s=i(p.top,s),l=r(p.right,l),u=r(p.bottom,u),c.push({dom:d,left:p.left,top:p.top})}}));var d=(l*=h)-(a*=h),p=(u*=h)-(s*=h),f=Nt.createCanvas(),g=ea(f,{renderer:e?"svg":"canvas"});if(g.resize({width:d,height:p}),e){var m="";return re(c,(function(t){var e=t.left-a,n=t.top-s;m+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"})),g.painter.getSvgRoot().innerHTML=m,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}return t.connectedBackgroundColor&&g.add(new Zl({shape:{x:0,y:0,width:d,height:p},style:{fill:t.connectedBackgroundColor}})),re(c,(function(t){var e=new Gl({style:{x:t.left*h-a,y:t.top*h-s,image:t.dom}});g.add(e)})),g.refreshImmediately(),f.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}this.id},e.prototype.convertToPixel=function(t,e){return $y(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return $y(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return re(Wa(this._model,t),(function(t,i){i.indexOf("Models")>=0&&re(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}}),this)}),this),!!n;this.id},e.prototype.getVisual=function(t,e){var n=Wa(this._model,t,{defaultMainType:"series"}),i=n.seriesModel.getData(),r=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?i.indexOfRawIndex(n.dataIndex):null;return null!=r?Bv(i,r,e):zv(i,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,n,i=this;re(v_,(function(t){var e=function(e){var n,r=i.getModel(),o=e.target;if("globalout"===t?n={}:o&&Uv(o,(function(t){var e=cu(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=Kt({},e.eventData),!0}),!0),n){var a=n.componentType,s=n.componentIndex;"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",s=n.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&i["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:u},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)})),re(__,(function(t,e){i._messageCenter.on(e,(function(t){this.trigger(e,t)}),i)})),re(["selectchanged"],(function(t){i._messageCenter.on(t,(function(e){this.trigger(t,e)}),i)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(Gv("map","selectchanged",e,i,t),Gv("pie","selectchanged",e,i,t)):"select"===t.fromAction?(Gv("map","selected",e,i,t),Gv("pie","selected",e,i,t)):"unselect"===t.fromAction&&(Gv("map","unselected",e,i,t),Gv("pie","unselected",e,i,t))}))},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,this.getDom()&&Qa(this.getDom(),C_,"");var t=this,e=t._api,n=t._model;re(t._componentsViews,(function(t){t.dispose(n,e)})),re(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete T_[t.id]}},e.prototype.resize=function(t){if(!this[Gy])if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[Uy]&&(null==i&&(i=this[Uy].silent),n=!0,this[Uy]=null),this[Gy]=!0;try{n&&Qy(this),Ky.update.call(this,{type:"resize",animation:Kt({duration:0},t&&t.animation)})}catch(KJ){throw this[Gy]=!1,KJ}this[Gy]=!1,n_.call(this,i),i_.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)this.id;else if(me(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),A_[t]){var n=A_[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=Kt({},t);return e.type=__[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)this.id;else if(me(e)||(e={silent:!!e}),y_[t.type]&&this._model)if(this[Gy])this._pendingActions.push(t);else{var n=e.silent;e_.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&It.browser.weChat&&this._throttledZrFlush(),n_.call(this,n),i_.call(this,n)}},e.prototype.updateLabelLayout=function(){ky.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)this.id;else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===yu&&t.states.emphasis?e.push("emphasis"):t.hoverState===vu&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,r=t.get("zlevel")||0;e.eachRendered((function(t){return i(t,n,r,-1/0),!0}))}}function i(t,e,n,r){var o=t.getTextContent(),a=t.getTextGuideLine();if(t.isGroup)for(var s=t.childrenRef(),l=0;l<s.length;l++)r=Math.max(i(s[l],e,n,r),r);else t.z=e,t.zlevel=n,r=Math.max(t.z2,r);if(o&&(o.z=e,o.zlevel=n,isFinite(r)&&(o.z2=r+2)),a){var u=t.textGuideLineConfig;a.z=e,a.zlevel=n,isFinite(r)&&(a.z2=r+(u&&u.showAbove?1:-1))}return r}function r(t,e){e.eachRendered((function(t){if(!Rh(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}}))}function o(t,n){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=i.get("duration"),a=o>0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered((function(t){if(t.states&&t.states.emphasis){if(Rh(t))return;if(t instanceof Ol&&function(t){var e=fu(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}}))}Qy=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),qy(t,!0),qy(t,!1),e.plan()},qy=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<r.length;l++)r[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,c=!l&&o[u];if(!c){var h=es(t.type);(c=new(e?zm.getClass(h.main,h.sub):Um.getClass(h.sub))).init(n,s),o[u]=c,r.push(c),a.add(c.group)}t.__viewId=c.__id=u,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&i.prepareView(c,t,n,s)}e?n.eachComponent((function(t,e){"series"!==t&&u(e)})):n.eachSeries(u);for(l=0;l<r.length;){var c=r[l];c.__alive?l++:(!e&&c.renderTask.dispose(),a.remove(c.group),c.dispose(n,s),r.splice(l,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},Jy=function(t,e,n,i,r){var o=t._model;if(o.setUpdatePayload(n),i){var a={};a[i+"Id"]=n[i+"Id"],a[i+"Index"]=n[i+"Index"],a[i+"Name"]=n[i+"Name"];var s={mainType:i,query:a};r&&(s.subType=r);var l,u=n.excludeSeriesId;null!=u&&(l=ke(),re(Ea(u),(function(t){var e=za(t,null);null!=e&&l.set(e,!0)}))),o&&o.eachComponent(s,(function(e){if(!(l&&null!=l.get(e.id)))if(hc(n))if(e instanceof Em)n.type!==Su||n.notBlur||e.get(["emphasis","disabled"])||function(t,e,n){var i=t.seriesIndex,r=t.getData(e.dataType);if(r){var o=Ga(r,e);o=(he(o)?o[0]:o)||0;var a=r.getItemGraphicEl(o);if(!a)for(var s=r.count(),l=0;!a&&l<s;)a=r.getItemGraphicEl(l++);if(a){var u=cu(a);Ju(i,u.focus,u.blurScope,n)}else{var c=t.get(["emphasis","focus"]),h=t.get(["emphasis","blurScope"]);null!=c&&Ju(i,c,h,n)}}}(e,n,t._api);else{var i=$u(e.mainType,e.componentIndex,n.name,t._api),r=i.focusSelf,o=i.dispatchers;n.type===Su&&r&&!n.notBlur&&Ku(e.mainType,e.componentIndex,t._api),o&&re(o,(function(t){n.type===Su?Hu(t):Wu(t)}))}else cc(n)&&e instanceof Em&&(!function(t,e){if(cc(e)){var n=e.dataType,i=Ga(t.getData(n),e);he(i)||(i=[i]),t[e.type===Iu?"toggleSelect":e.type===Tu?"select":"unselect"](i,n)}}(e,n,t._api),tc(e),h_(t))}),t),o&&o.eachComponent(s,(function(e){l&&null!=l.get(e.id)||c(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else re([].concat(t._componentsViews).concat(t._chartsViews),c);function c(i){i&&i.__alive&&i[e]&&i[e](i.__model,o,t._api,n)}},Ky={prepareAndUpdate:function(t){Qy(this),Ky.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),a.create(i,r),s.performDataProcessorTasks(i,e),t_(this,i),a.update(i,r),t(i),s.performVisualTasks(i,e),a_(this,i,r,e,n);var l=i.get("backgroundColor")||"transparent",u=i.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),ky.trigger("afterupdate",i,r)}},updateTransform:function(e){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(e);var o=[];i.eachComponent((function(t,a){if("series"!==t){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,i,r,e);l&&l.update&&o.push(s)}else o.push(s)}}));var a=ke();i.eachSeries((function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,i,r,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)})),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:a}),l_(this,i,r,e,{},a),ky.trigger("afterupdate",i,r)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),Um.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),a_(this,n,this._api,e,{}),ky.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries((function(t){t.getData().clearAllVisual()})),Um.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent((function(t,r){if("series"!==t){var o=n.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,i,n._api,e)}})),i.eachSeries((function(t){n._chartsMap[t.__viewId].updateVisual(t,i,n._api,e)})),ky.trigger("afterupdate",i,this._api))},updateLayout:function(t){Ky.update.call(this,t)}},$y=function(t,e,n,i){if(t._disposed)t.id;else for(var r,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=Wa(o,n),l=0;l<a.length;l++){var u=a[l];if(u[e]&&null!=(r=u[e](o,s,i)))return r}},t_=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))},e_=function(t,e){var n=this,i=this.getModel(),r=t.type,o=t.escapeConnect,a=y_[r],s=a.actionInfo,l=(s.update||"update").split(":"),u=l.pop(),c=null!=l[0]&&es(l[0]);this[Gy]=!0;var h=[t],d=!1;t.batch&&(d=!0,h=oe(t.batch,(function(e){return(e=$t(Kt({},e),t)).batch=null,e})));var p,f=[],g=cc(t),m=hc(t);if(m&&qu(this._api),re(h,(function(e){if((p=(p=a.action(e,n._model,n._api))||Kt({},e)).type=s.event||p.type,f.push(p),m){var i=Xa(t),r=i.queryOptionMap,o=i.mainTypeSpecified?r.keys()[0]:"series";Jy(n,u,e,o),h_(n)}else g?(Jy(n,u,e,"series"),h_(n)):c&&Jy(n,u,e,c.main,c.sub)})),"none"!==u&&!m&&!g&&!c)try{this[Uy]?(Qy(this),Ky.update.call(this,t),this[Uy]=null):Ky[u].call(this,t)}catch(KJ){throw this[Gy]=!1,KJ}if(p=d?{type:s.event||r,escapeConnect:o,batch:f}:f[0],this[Gy]=!1,!e){var v=this._messageCenter;if(v.trigger(p.type,p),g){var y={type:"selectchanged",escapeConnect:o,selected:ec(i),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};v.trigger(y.type,y)}}},n_=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();e_.call(this,n,t)}},i_=function(t){!t&&this.trigger("updated")},r_=function(t,e){t.on("rendered",(function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[Uy]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))},o_=function(t,e){t.on("mouseover",(function(t){var n=Uv(t.target,uc);n&&(!function(t,e,n){var i=cu(t),r=$u(i.componentMainType,i.componentIndex,i.componentHighDownName,n),o=r.dispatchers,a=r.focusSelf;o?(a&&Ku(i.componentMainType,i.componentIndex,n),re(o,(function(t){return Gu(t,e)}))):(Ju(i.seriesIndex,i.focus,i.blurScope,n),"self"===i.focus&&Ku(i.componentMainType,i.componentIndex,n),Gu(t,e))}(n,t,e._api),h_(e))})).on("mouseout",(function(t){var n=Uv(t.target,uc);n&&(!function(t,e,n){qu(n);var i=cu(t),r=$u(i.componentMainType,i.componentIndex,i.componentHighDownName,n).dispatchers;r?re(r,(function(t){return Uu(t,e)})):Uu(t,e)}(n,t,e._api),h_(e))})).on("click",(function(t){var n=Uv(t.target,(function(t){return null!=cu(t).dataIndex}),!0);if(n){var i=n.selected?"unselect":"select",r=cu(n);e._api.dispatchAction({type:i,dataType:r.dataType,dataIndexInside:r.dataIndex,seriesIndex:r.seriesIndex,isFromClick:!0})}}))},a_=function(t,e,n,i,r){!function(t){var e=[],n=[],i=!1;if(t.eachComponent((function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})})),i){var r,o,a=e.concat(n);di(a,(function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel})),re(a,(function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,a=e.key;null!=r&&(i=Math.max(r,i)),a?(i===r&&a!==o&&i++,o=a):o&&(i===r&&i++,o=""),r=i,n.setZLevel(i)}))}}(e),s_(t,e,n,i,r),re(t._chartsViews,(function(t){t.__alive=!1})),l_(t,e,n,i,r),re(t._chartsViews,(function(t){t.__alive||t.remove(e,n)}))},s_=function(t,e,i,a,s,l){re(l||t._componentsViews,(function(t){var s=t.__model;r(s,t),t.render(s,e,i,a),n(s,t),o(s,t)}))},l_=function(t,e,i,a,s,l){var u=t._scheduler;s=Kt(s||{},{updatedSeries:e.getSeries()}),ky.trigger("series:beforeupdate",e,i,s);var c=!1;e.eachSeries((function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var i=n.renderTask;u.updatePayload(i,a),r(e,n),l&&l.get(e.uid)&&i.dirty(),i.perform(u.getPerformArgs(i))&&(c=!0),n.group.silent=!!e.get("silent"),function(t,e){var n=t.get("blendMode")||null;e.eachRendered((function(t){t.isGroup||(t.style.blend=n)}))}(e,n),tc(e)})),u.unfinished=c||u.unfinished,ky.trigger("series:layoutlabels",e,i,s),ky.trigger("series:transition",e,i,s),e.eachSeries((function(e){var i=t._chartsMap[e.__viewId];n(e,i),o(e,i)})),function(t,e){var n=t._zr,i=n.storage,r=0;i.traverse((function(t){t.isGroup||r++})),r>e.get("hoverLayerThreshold")&&!It.node&&!It.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,e),ky.trigger("series:afterupdate",e,i,s)},h_=function(t){t[Hy]=!0,t.getZr().wakeUp()},d_=function(t){t[Hy]&&(t.getZr().storage.traverse((function(t){Rh(t)||e(t)})),t[Hy]=!1)},u_=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Tt(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){Hu(e,n),h_(t)},n.prototype.leaveEmphasis=function(e,n){Wu(e,n),h_(t)},n.prototype.enterBlur=function(e){Xu(e),h_(t)},n.prototype.leaveBlur=function(e){ju(e),h_(t)},n.prototype.enterSelect=function(e){Yu(e),h_(t)},n.prototype.leaveSelect=function(e){Zu(e),h_(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(Ef))(t)},c_=function(t){function e(t,e){for(var n=0;n<t.length;n++){t[n][Xy]=e}}re(__,(function(n,i){t._messageCenter.on(i,(function(n){if(M_[t.group]&&0!==t[Xy]){if(n&&n.escapeConnect)return;var i=t.makeActionFromEvent(n),r=[];re(T_,(function(e){e!==t&&e.group===t.group&&r.push(e)})),e(r,0),re(r,(function(t){1!==t[Xy]&&t.dispatchAction(i)})),e(r,2)}}))}))}}(),e}(ln),m_=g_.prototype;m_.on=jy("on"),m_.off=jy("off"),m_.one=function(t,e,n){var i=this;this.on.call(this,t,(function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e&&e.apply&&e.apply(this,r),i.off(t,n)}),n)};var v_=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];var y_={},__={},x_=[],b_=[],w_=[],S_={},A_={},T_={},M_={},I_=+new Date-0,C_="_echarts_instance_";function D_(t,e,n){var i=function(t){return T_[function(t,e){return t.getAttribute?t.getAttribute(e):t[e]}(t,C_)]}(t);if(i)return i;var r=new g_(t,e,n);return r.id="ec_"+I_++,T_[r.id]=r,Qa(t,C_,r.id),c_(r),ky.trigger("afterinit",r),r}function E_(t,e){S_[t]=e}function L_(t){te(b_,t)<0&&b_.push(t)}function P_(t,e){G_(x_,t,e,2e3)}function R_(t){k_("afterinit",t)}function N_(t){k_("afterupdate",t)}function k_(t,e){ky.on(t,e)}function O_(t,e,n){de(e)&&(n=e,e="");var i=me(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,__[e]||(Ie(Wy.test(i)&&Wy.test(e)),y_[i]||(y_[i]={action:n,actionInfo:t}),__[e]=i)}function B_(t){var e=Pf.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function z_(t,e){G_(w_,t,e,1e3,"layout")}function F_(t,e){G_(w_,t,e,3e3,"visual")}var V_=[];function G_(t,e,n,i,r){if((de(e)||me(e))&&(n=e,e=i),!(te(V_,n)>=0)){V_.push(n);var o=cv.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function U_(t,e){A_[t]=e}function H_(t,e,n){var i=By("registerMap");i&&i(t,e,n)}function W_(t){var e=By("getMap");return e&&e(t)}var X_=function(t){var e=(t=Qt(t)).type;e||Ma("");var n=e.split(":");2!==n.length&&Ma("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,Yg.set(e,t)};F_(zy,ov),F_(Fy,sv),F_(Fy,lv),F_(zy,kv),F_(Fy,Ov),F_(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=Ly(n,e))}));var r=i.getVisual("decal");if(r)i.getVisual("style").decal=Ly(r,e)}}))})),L_(eg),P_(900,(function(t){var e=ke();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(ng)})),U_("default",(function(t,e){$t(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new qo,i=new Zl({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new Jl({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new Zl({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new dh({shape:{startAngle:-uv/2,endAngle:-uv/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*uv/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*uv/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),O_({type:Su,event:Su,update:Su},Ve),O_({type:Au,event:Au,update:Au},Ve),O_({type:Tu,event:Tu,update:Tu},Ve),O_({type:Mu,event:Mu,update:Mu},Ve),O_({type:Iu,event:Iu,update:Iu},Ve),E_("light",Mv),E_("dark",Lv);var j_=[],Y_={registerPreprocessor:L_,registerProcessor:P_,registerPostInit:R_,registerPostUpdate:N_,registerUpdateLifecycle:k_,registerAction:O_,registerCoordinateSystem:function(t,e){Pf.register(t,e)},registerLayout:z_,registerVisual:F_,registerTransform:X_,registerLoading:U_,registerMap:H_,registerImpl:function(t,e){Oy[t]=e},PRIORITY:Vy,ComponentModel:Zp,ComponentView:zm,SeriesModel:Em,ChartView:Um,registerComponentModel:function(t){Zp.registerClass(t)},registerComponentView:function(t){zm.registerClass(t)},registerSeriesModel:function(t){Em.registerClass(t)},registerChartView:function(t){Um.registerClass(t)},registerSubTypeDefaulter:function(t,e){Zp.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){var n;n=e,Jo[t]=n}};function Z_(t){he(t)?re(t,(function(t){Z_(t)})):te(j_,t)>=0||(j_.push(t),de(t)&&(t={install:t}),t.install(Y_))}function Q_(t){return null==t?0:t.length||1}function q_(t){return t}var J_=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||q_,this._newKeyGetter=i||q_,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o<t.length;o++){var a=i[o],s=n[a],l=Q_(s);if(l>1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a<r.length;a++){var s=r[a],l=n[s],u=i[s],c=Q_(l),h=Q_(u);if(c>1&&1===h)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===c&&h>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===c&&1===h)this._update&&this._update(u,l),i[s]=null;else if(c>1&&h>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(c>1)for(var d=0;d<c;d++)this._remove&&this._remove(l[d]);else this._remove&&this._remove(l)}this._performRestAdd(o,i)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=e[i],o=Q_(r);if(o>1)for(var a=0;a<o;a++)this._add&&this._add(r[a]);else 1===o&&this._add&&this._add(r);e[i]=null}},t.prototype._initIndexMap=function(t,e,n,i){for(var r=this._diffModeMultiple,o=0;o<t.length;o++){var a="_ec_"+this[i](t[o],o);if(r||(n[o]=a),e){var s=e[a],l=Q_(s);0===l?(e[a]=o,r&&n.push(a)):1===l?e[a]=[s,o]:s.push(o)}}},t}(),K_=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function $_(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function tx(t){return"category"===t?"ordinal":"time"===t?"time":"float"}var ex=function(t){this.otherDims={},null!=t&&Kt(this,t)},nx=Ua(),ix={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},rx=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=sx(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return Se(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=gg(this.source),n=!lx(t),i="",r=[],o=0,a=0;o<t;o++){var s=void 0,l=void 0,u=void 0,c=this.dimensions[a];if(c&&c.storeDimIndex===o)s=e?c.name:null,l=c.type,u=c.ordinalMeta,a++;else{var h=this.getSourceDimension(o);h&&(s=e?h.name:null,l=h.type)}r.push({property:s,type:l,ordinalMeta:u}),!e||null==s||c&&c.isCalculationCoord||(i+=n?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),i+="$",i+=ix[l]||"f",u&&(i+=u.uid),i+="$"}var d=this.source;return{dimensions:r,hash:[d.seriesLayoutBy,d.startIndex,i].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function ox(t){return t instanceof rx}function ax(t){for(var e=ke(),n=0;n<(t||[]).length;n++){var i=t[n],r=me(i)?i.name:i;null!=r&&null==e.get(r)&&e.set(r,n)}return e}function sx(t){var e=nx(t);return e.dimNameMap||(e.dimNameMap=ax(t.dimensionsDefine))}function lx(t){return t>30}var ux,cx,hx,dx,px,fx,gx,mx=me,vx=oe,yx="undefined"==typeof Int32Array?Array:Int32Array,_x=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],xx=["_approximateExtent"],bx=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;ox(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u<n.length;u++){var c=n[u],h=pe(c)?new ex({name:c}):c instanceof ex?c:new ex(c),d=h.name;h.type=h.type||"float",h.coordDim||(h.coordDim=d,h.coordDimIndex=0);var p=h.otherDims=h.otherDims||{};o.push(d),r[d]=h,null!=l[d]&&(s=!0),h.createInvertedIndices&&(a[d]=[]),0===p.itemName&&(this._nameDimIdx=u),0===p.itemId&&(this._idDimIdx=u),i&&(h.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var f=this._dimIdxToName=ke();re(o,(function(t){f.set(r[t].storeDimIndex,t)}))}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);return i?i.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(ge(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof om&&(i=t),!i){var o=this.dimensions,a=ug(t)||ie(t)?new mg(t,o.length):t;i=new om;var s=vx(o,(function(t){return{type:r._dimInfos[t].type,property:t}}));i.initData(a,s,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=function(t,e){var n={},i=n.encode={},r=ke(),o=[],a=[],s={};re(t.dimensions,(function(e){var n,l=t.getDimensionInfo(e),u=l.coordDim;if(u){var c=l.coordDimIndex;$_(i,u)[c]=e,l.isExtraCoord||(r.set(u,1),"ordinal"!==(n=l.type)&&"time"!==n&&(o[0]=e),$_(s,u)[c]=t.getDimensionIndex(l.name)),l.defaultTooltip&&a.push(e)}Kp.each((function(t,e){var n=$_(i,e),r=l.otherDims[e];null!=r&&!1!==r&&(n[r]=l.name)}))}));var l=[],u={};r.each((function(t,e){var n=i[e];u[e]=n[0],l=l.concat(n)})),n.dataDimsOnCoord=l,n.dataDimIndicesOnCoord=oe(l,(function(e){return t.getDimensionInfo(e).storeDimIndex})),n.encodeFirstDimNotExtra=u;var c=i.label;c&&c.length&&(o=c.slice());var h=i.tooltip;return h&&h.length?a=h.slice():a.length||(a=o.slice()),i.defaultedLabel=o,i.defaultedTooltip=a,n.userOutput=new K_(s,e),n}(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&gx(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==rf&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if(n.getSource().sourceFormat===$p&&!n.pure)for(var o=[],a=t;a<e;a++){var s=n.getItem(a,o);if(!this.hasItemOption&&Na(s)&&(this.hasItemOption=!0),s){var l=s.name;null==i[a]&&null!=l&&(i[a]=za(l,null));var u=s.id;null==r[a]&&null!=u&&(r[a]=za(u,null))}}if(this._shouldMakeIdFromName())for(a=t;a<e;a++)gx(this,a);ux(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){mx(t)?Kt(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=hx(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return cx(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return he(t)?i.getValues(vx(t,(function(t){return n._getStoreDimIndex(t)})),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return-1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=(t&&this._invertedIndicesMap[t])[e];return null==n||isNaN(n)?-1:n},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){de(t)&&(n=e,e=t,t=[]);var i=n||this,r=vx(dx(t),this._getStoreDimIndex,this);this._store.each(r,i?ue(e,i):e)},t.prototype.filterSelf=function(t,e,n){de(t)&&(n=e,e=t,t=[]);var i=n||this,r=vx(dx(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?ue(e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={};return re(le(t),(function(i){var r=e._getStoreDimIndex(i);n[r]=t[i]})),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){de(t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,(function(){i.push(e&&e.apply(this,arguments))}),n),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,o=vx(dx(t),this._getStoreDimIndex,this),a=fx(this);return a._store=this._store.map(o,r?ue(e,r):e),a},t.prototype.modify=function(t,e,n,i){var r=n||i||this,o=vx(dx(t),this._getStoreDimIndex,this);this._store.modify(o,r?ue(e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=fx(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.lttbDownSample=function(t,e){var n=fx(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new zd(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new J_(t?t.getStore().getIndices():[],this.getStore().getIndices(),(function(e){return cx(t,e)}),(function(t){return cx(e,t)}))},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},mx(t)?Kt(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(he(r=this.getVisual(e))?r=r.slice():mx(r)&&(r=Kt({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,mx(e)?Kt(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){mx(t)?Kt(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?Kt(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;hu(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){re(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:vx(this.dimensions,this._getDimInfo,this),this.hostModel)),px(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];de(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(Te(arguments)))})},t.internalField=(ux=function(t){var e=t._invertedIndicesMap;re(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new yx(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}}))},hx=function(t,e,n){return za(t._getCategory(e,n),null)},cx=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=hx(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},dx=function(t){return he(t)||(t=null!=t?[t]:[]),t},fx=function(e){var n=new t(e._schema?e._schema:vx(e.dimensions,e._getDimInfo,e),e.hostModel);return px(n,e),n},px=function(t,e){re(_x.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,re(xx,(function(n){t[n]=Qt(e[n])})),t._calculationInfo=Kt({},e._calculationInfo)},void(gx=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,o=t._idDimIdx,a=n[e],s=i[e];if(null==a&&null!=r&&(n[e]=a=hx(t,r,e)),null==s&&null!=o&&(i[e]=s=hx(t,o,e)),null==s&&null!=a){var l=t._nameRepeatCount,u=l[a]=(l[a]||0)+1;s=a,u>1&&(s+="__ec__"+u),i[e]=s}})),t}();function Sx(t,e){return Ax(t,e).dimensions}function Ax(t,e){ug(t)||(t=hg(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=ke(),o=[],a=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return re(e,(function(t){var e;me(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&lx(a),l=i===t.dimensionsDefine,u=l?sx(t):ax(i),c=e.encodeDefine;!c&&e.encodeDefaulter&&(c=e.encodeDefaulter(t,a));for(var h=ke(c),d=new tm(a),p=0;p<d.length;p++)d[p]=-1;function f(t){var e=d[t];if(e<0){var n=i[t],r=me(n)?n:{name:n},a=new ex,s=r.name;null!=s&&null!=u.get(s)&&(a.name=a.displayName=s),null!=r.type&&(a.type=r.type),null!=r.displayName&&(a.displayName=r.displayName);var l=o.length;return d[t]=l,a.storeDimIndex=t,o.push(a),a}return o[e]}if(!s)for(p=0;p<a;p++)f(p);h.each((function(t,e){var n=Ea(t).slice();if(1===n.length&&!pe(n[0])&&n[0]<0)h.set(e,!1);else{var i=h.set(e,[]);re(n,(function(t,n){var r=pe(t)?u.get(t):t;null!=r&&r<a&&(i[n]=r,m(f(r),e,n))}))}}));var g=0;function m(t,e,n){null!=Kp.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,r.set(e,!0))}re(n,(function(t){var e,n,i,r;if(pe(t))e=t,r={};else{e=(r=t).name;var o=r.ordinalMeta;r.ordinalMeta=null,(r=Kt({},r)).ordinalMeta=o,n=r.dimsDef,i=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var s=h.get(e);if(!1!==s){if(!(s=Ea(s)).length)for(var u=0;u<(n&&n.length||1);u++){for(;g<a&&null!=f(g).coordDim;)g++;g<a&&s.push(g++)}re(s,(function(t,o){var a=f(t);if(l&&null!=r.type&&(a.type=r.type),m($t(a,r),e,o),null==a.name&&n){var s=n[o];!me(s)&&(s={name:s}),a.name=a.displayName=s.name,a.defaultTooltip=s.defaultTooltip}i&&$t(a.otherDims,i)}))}}));var v=e.generateCoord,y=e.generateCoordCount,_=null!=y;y=v?y||1:0;var x=v||"value";function b(t){null==t.name&&(t.name=t.coordDim)}if(s)re(o,(function(t){b(t)})),o.sort((function(t,e){return t.storeDimIndex-e.storeDimIndex}));else for(var w=0;w<a;w++){var S=f(w);null==S.coordDim&&(S.coordDim=Tx(x,r,_),S.coordDimIndex=0,(!v||y<=0)&&(S.isExtraCoord=!0),y--),b(S),null!=S.type||pf(t,w)!==lf.Must&&(!S.isExtraCoord||null==S.otherDims.itemName&&null==S.otherDims.seriesName)||(S.type="ordinal")}return function(t){for(var e=ke(),n=0;n<t.length;n++){var i=t[n],r=i.name,o=e.get(r)||0;o>0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(o),new rx({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function Tx(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}var Mx=function(){return function(t){this.coordSysDims=[],this.axisMap=ke(),this.categoryAxisMap=ke(),this.coordSysName=t}}();var Ix={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",ja).models[0],o=t.getReferringComponents("yAxis",ja).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),Cx(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),Cx(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",ja).models[0];e.coordSysDims=["single"],n.set("single",r),Cx(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",ja).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),Cx(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),Cx(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();re(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),Cx(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function Cx(t){return"category"===t.get("type")}function Dx(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!ox(t.schema)}(e)?(r=e.schema,i=r.dimensions,o=e.store):i=e;var l,u,c,h,d=!(!t||!t.get("stack"));if(re(i,(function(t,e){pe(t)&&(i[e]=t={name:t}),d&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){c="__\0ecstackresult_"+t.id,h="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var p=u.coordDim,f=u.type,g=0;re(i,(function(t){t.coordDim===p&&g++}));var m={name:c,coordDim:p,coordDimIndex:g,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},v={name:h,coordDim:h,coordDimIndex:g+1,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(m.storeDimIndex=o.ensureCalculationDimension(h,f),v.storeDimIndex=o.ensureCalculationDimension(c,f)),r.appendCalculationDimension(m),r.appendCalculationDimension(v)):(i.push(m),i.push(v))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:h,stackResultDimension:c}}function Ex(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function Lx(t,e){return Ex(t,e)?t.getCalculationInfo("stackResultDimension"):e}function Px(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=hg(t)):o=(i=r.getSource()).sourceFormat===$p;var a=function(t){var e=t.get("coordinateSystem"),n=new Mx(e),i=Ix[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=Pf.get(i);return e&&e.coordSysDims&&(n=oe(e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=tx(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,u=de(l)?l:l?ce(cf,s,e):null,c=Ax(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),h=function(t,e,n){var i,r;return n&&re(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}(c.dimensions,n.createInvertedIndices,a),d=o?null:r.getSharedDataStore(c),p=Dx(e,{schema:c,store:d}),f=new bx(c,e);f.setCalculationInfo(p);var g=null!=h&&function(t){if(t.sourceFormat===$p){var e=function(t){var e=0;for(;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!he(Ra(e))}}(i)?function(t,e,n,i){return i===h?n:this.defaultDimValueGetter(t,e,n,i)}:null;return f.hasItemOption=!1,f.initData(o?i:d,null,g),f}var Rx=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();ss(Rx);var Nx=0,kx=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Nx}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&oe(i,Ox);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!pe(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=ke(this.categories))},t}();function Ox(t){return me(t)&&null!=t.value?t.value:t+""}function Bx(t){return"interval"===t.type||"log"===t.type}function zx(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=ya(o/e);null!=n&&a<n&&(a=r.interval=n),null!=i&&a>i&&(a=r.interval=i);var s=r.intervalPrecision=Vx(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),Gx(t,0,e),Gx(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[aa(Math.ceil(t[0]/a)*a,s),aa(Math.floor(t[1]/a)*a,s)],t),r}function Fx(t){var e=Math.pow(10,va(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,aa(n*e)}function Vx(t){return la(t)+2}function Gx(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function Ux(t,e){return t>=e[0]&&t<=e[1]}function Hx(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function Wx(t,e){return t*(e[1]-e[0])+e[0]}var Xx=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new kx({})),he(i)&&(i=new kx({categories:oe(i,(function(t){return me(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return Tt(e,t),e.prototype.parse=function(t){return null==t?NaN:pe(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return Ux(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return Hx(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(Wx(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r<a;++r){var s=e[r];n[r]=s,i[s]=r}for(var l=0;r<o;++r){for(;null!=i[l];)l++;n.push(l),i[l]=r}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(Rx);Rx.registerClass(Xx);var jx=aa,Yx=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return Tt(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Ux(t,this._extent)},e.prototype.normalize=function(t){return Hx(t,this._extent)},e.prototype.scale=function(t){return Wx(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=Vx(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]<i[0]&&(t?o.push({value:jx(i[0]-e,r)}):o.push({value:n[0]}));for(var a=i[0];a<=i[1]&&(o.push({value:a}),(a=jx(a+e,r))!==o[o.length-1].value);)if(o.length>1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:jx(s+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;r<e.length;r++){for(var o=e[r],a=e[r-1],s=0,l=[],u=(o.value-a.value)/t;s<t-1;){var c=jx(a.value+(s+1)*u);c>i[0]&&c<i[1]&&l.push(c),s++}n.push(l)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;return null==n?n=la(t.value)||0:"auto"===n&&(n=this._intervalPrecision),Mp(jx(t.value,n,!0))},e.prototype.calcNiceTicks=function(t,e,n){t=t||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var o=zx(i,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=Math.abs(e[0]);t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;var i=e[1]-e[0];isFinite(i)||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=jx(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=jx(Math.ceil(e[1]/r)*r))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(Rx);Rx.registerClass(Yx);var Zx="undefined"!=typeof Float32Array,Qx=Zx?Float32Array:Array;function qx(t){return he(t)?Zx?new Float32Array(t):t:new Qx(t)}var Jx="__ec_stack_";function Kx(t){return t.get("stack")||Jx+t.seriesIndex}function $x(t){return t.dim+t.index}function tb(t,e){var n=[];return e.eachSeriesByType(t,(function(t){ob(t)&&n.push(t)})),n}function eb(t){var e=function(t){var e={};re(t,(function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var i=t.getData(),r=n.dim+"_"+n.index,o=i.getDimensionIndex(i.mapDimension(n.dim)),a=i.getStore(),s=0,l=a.count();s<l;++s){var u=a.get(o,s);e[r]?e[r].push(u):e[r]=[u]}}));var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];if(r){r.sort((function(t,e){return t-e}));for(var o=null,a=1;a<r.length;++a){var s=r[a]-r[a-1];s>0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}(t),n=[];return re(t,(function(t){var i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,s=e[a],l=Math.abs(o[1]-o[0]),u=r.scale.getExtent(),c=Math.abs(u[1]-u[0]);i=s?l/c*s:l}else{var h=t.getData();i=Math.abs(o[1]-o[0])/h.count()}var d=oa(t.get("barWidth"),i),p=oa(t.get("barMaxWidth"),i),f=oa(t.get("barMinWidth")||(ab(t)?.5:1),i),g=t.get("barGap"),m=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:d,barMaxWidth:p,barMinWidth:f,barGap:g,barCategoryGap:m,axisKey:$x(r),stackId:Kx(t)})})),nb(n)}function nb(t){var e={};re(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var c=t.barMinWidth;c&&(a[s].minWidth=c);var h=t.barGap;null!=h&&(o.gap=h);var d=t.barCategoryGap;null!=d&&(o.categoryGap=d)}));var n={};return re(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=le(i).length;o=Math.max(35-4*a,15)+"%"}var s=oa(o,r),l=oa(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),re(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,c--}else{var i=h;e&&e<i&&(i=Math.min(e,u)),n&&n>i&&(i=n),i!==h&&(t.width=i,u-=i+l*i,c--)}})),h=(u-s)/(c+(c-1)*l),h=Math.max(h,0);var d,p=0;re(i,(function(t,e){t.width||(t.width=h),d=t,p+=t.width*(1+l)})),d&&(p-=d.width*l);var f=-p/2;re(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:f,width:t.width},f+=t.width*(1+l)}))})),n}function ib(t,e){var n=tb(t,e),i=eb(n);re(n,(function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=Kx(t),o=i[$x(n)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function rb(t){return{seriesType:t,plan:Fm(),reset:function(t){if(ob(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),c=Ex(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),h=r.isHorizontal(),d=function(t,e){var n=e.model.get("startValue");n||(n=0);return e.toGlobalCoord(e.dataToCoord("log"===e.type?n>0?n:1:n))}(0,r),p=ab(t),f=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),m=e.getLayout("size"),v=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=p&&qx(3*r),u=p&&s&&qx(3*r),y=p&&qx(r),_=n.master.getRect(),x=h?_.width:_.height,b=e.getStore(),w=0;null!=(i=t.next());){var S=b.get(c?g:o,i),A=b.get(a,i),T=d,M=void 0;c&&(M=+S-b.get(o,i));var I=void 0,C=void 0,D=void 0,E=void 0;if(h){var L=n.dataToPoint([S,A]);if(c)T=n.dataToPoint([M,A])[0];I=T,C=L[1]+v,D=L[0]-T,E=m,Math.abs(D)<f&&(D=(D<0?-1:1)*f)}else{L=n.dataToPoint([A,S]);if(c)T=n.dataToPoint([A,M])[1];I=L[0]+v,C=T,D=m,E=L[1]-T,Math.abs(E)<f&&(E=(E<=0?-1:1)*f)}p?(l[w]=I,l[w+1]=C,l[w+2]=h?D:E,u&&(u[w]=h?_.x:I,u[w+1]=h?C:_.y,u[w+2]=x),y[i]=i):e.setItemLayout(i,{x:I,y:C,width:D,height:E}),w+=3}p&&e.setLayout({largePoints:l,largeDataIndices:y,largeBackgroundPoints:u,valueAxisHorizontal:h})}}}}}}function ob(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function ab(t){return t.pipelineContext&&t.pipelineContext.large}var sb=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return Tt(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return up(t.value,ip[function(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(sp(this._minLevelUnit))]||ip.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC");return function(t,e,n,i,r){var o=null;if(pe(n))o=n;else if(de(n))o=n(t.value,e,{level:t.level});else{var a=Kt({},ep);if(t.level>0)for(var s=0;s<rp.length;++s)a[rp[s]]="{primary|"+a[rp[s]]+"}";var l=n?!1===n.inherit?n:$t(n,a):a,u=cp(t.value,r);if(l[u])o=l[u];else if(l.inherit){for(s=op.indexOf(u)-1;s>=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(he(o)){var c=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[c=Math.min(c,o.length-1)]}}return up(new Date(t.value),o,r,i)}(t,e,n,this.getSetting("locale"),i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,i){var r=1e4,o=op,a=0;function s(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,c=l[r]();u<n&&u<=i[1];)s.push({value:u}),c+=t,l[o](c),u=l.getTime();s.push({value:u,notAdd:!0})}function l(t,r,o){var a=[],l=!r.length;if(!function(t,e,n,i){var r=ma(e),o=ma(n),a=function(t){return hp(r,t,i)===hp(o,t,i)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},c=function(){return u()&&a("hour")},h=function(){return c()&&a("minute")},d=function(){return h()&&a("second")},p=function(){return d()&&a("millisecond")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return h();case"second":return d();case"millisecond":return p()}}(sp(t),i[0],i[1],n)){l&&(r=[{value:fb(new Date(i[0]),t,n)},{value:i[1]}]);for(var u=0;u<r.length-1;u++){var c=r[u].value,h=r[u+1].value;if(c!==h){var d=void 0,p=void 0,f=void 0,g=!1;switch(t){case"year":d=Math.max(1,Math.round(e/$d/365)),p=dp(n),f=_p(n);break;case"half-year":case"quarter":case"month":d=cb(e),p=pp(n),f=xp(n);break;case"week":case"half-week":case"day":d=ub(e),p=fp(n),f=bp(n),g=!0;break;case"half-day":case"quarter-day":case"hour":d=hb(e),p=gp(n),f=wp(n);break;case"minute":d=db(e,!0),p=mp(n),f=Sp(n);break;case"second":d=db(e,!1),p=vp(n),f=Ap(n);break;case"millisecond":d=pb(e),p=yp(n),f=Tp(n)}s(d,c,h,p,f,g,a),"year"===t&&o.length>1&&0===u&&o.unshift({value:o[0].value-d})}}for(u=0;u<a.length;u++)o.push(a[u]);return a}}for(var u=[],c=[],h=0,d=0,p=0;p<o.length&&a++<r;++p){var f=sp(o[p]);if(lp(o[p]))if(l(o[p],u[u.length-1]||[],c),f!==(o[p+1]?sp(o[p+1]):null)){if(c.length){d=h,c.sort((function(t,e){return t.value-e.value}));for(var g=[],m=0;m<c.length;++m){var v=c[m].value;0!==m&&c[m-1].value===v||(g.push(c[m]),v>=i[0]&&v<=i[1]&&h++)}var y=(i[1]-i[0])/e;if(h>1.5*y&&d>y/1.5)break;if(u.push(g),h>y||t===o[p])break}c=[]}}var _=se(oe(u,(function(t){return se(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),x=[],b=_.length-1;for(p=0;p<_.length;++p)for(var w=_[p],S=0;S<w.length;++S)x.push({value:w[S].value,level:b-p});x.sort((function(t,e){return t.value-e.value}));var A=[];for(p=0;p<x.length;++p)0!==p&&x[p].value===x[p-1].value||A.push(x[p]);return A}(this._minLevelUnit,this._approxInterval,i,e);return(n=n.concat(r)).push({value:e[1],level:0}),n},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=$d,e[1]+=$d),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-$d}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,n){t=t||10;var i=this._extent,r=i[1]-i[0];this._approxInterval=r/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=lb.length,a=Math.min(function(t,e,n,i){for(;n<i;){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n}(lb,this._approxInterval,0,o),o-1);this._interval=lb[a][1],this._minLevelUnit=lb[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return ge(t)?t:+ma(t)},e.prototype.contain=function(t){return Ux(this.parse(t),this._extent)},e.prototype.normalize=function(t){return Hx(this.parse(t),this._extent)},e.prototype.scale=function(t){return Wx(t,this._extent)},e.type="time",e}(Yx),lb=[["second",qd],["minute",Jd],["hour",Kd],["quarter-day",6*Kd],["half-day",12*Kd],["day",1.2*$d],["half-week",3.5*$d],["week",7*$d],["month",31*$d],["quarter",95*$d],["half-year",tp/2],["year",tp]];function ub(t,e){return(t/=$d)>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function cb(t){return(t/=30*$d)>6?6:t>3?3:t>2?2:1}function hb(t){return(t/=Kd)>12?12:t>6?6:t>3.5?4:t>2?2:1}function db(t,e){return(t/=e?Jd:qd)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function pb(t){return ya(t)}function fb(t,e,n){var i=new Date(t);switch(sp(e)){case"year":case"month":i[xp(n)](0);case"day":i[bp(n)](1);case"hour":i[wp(n)](0);case"minute":i[Sp(n)](0);case"second":i[Ap(n)](0),i[Tp(n)](0)}return i.getTime()}Rx.registerClass(sb);var gb=Rx.prototype,mb=Yx.prototype,vb=aa,yb=Math.floor,_b=Math.ceil,xb=Math.pow,bb=Math.log,wb=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Yx,e._interval=0,e}return Tt(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent();return oe(mb.getTicks.call(this,t),(function(t){var e=t.value,r=aa(xb(this.base,e));return r=e===n[0]&&this._fixMin?Ab(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?Ab(r,i[1]):r}}),this)},e.prototype.setExtent=function(t,e){var n=bb(this.base);t=bb(Math.max(0,t))/n,e=bb(Math.max(0,e))/n,mb.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=gb.getExtent.call(this);e[0]=xb(t,e[0]),e[1]=xb(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=Ab(e[0],n[0])),this._fixMax&&(e[1]=Ab(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=bb(t[0])/bb(e),t[1]=bb(t[1])/bb(e),gb.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i,r=(i=n,Math.pow(10,va(i)));for(t/n*r<=.5&&(r*=10);!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0;)r*=10;var o=[aa(_b(e[0]/r)*r),aa(yb(e[1]/r)*r)];this._interval=r,this._niceExtent=o}},e.prototype.calcNiceExtent=function(t){mb.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Ux(t=bb(t)/bb(this.base),this._extent)},e.prototype.normalize=function(t){return Hx(t=bb(t)/bb(this.base),this._extent)},e.prototype.scale=function(t){return t=Wx(t,this._extent),xb(this.base,t)},e.type="log",e}(Rx),Sb=wb.prototype;function Ab(t,e){return vb(t,la(e))}Sb.getMinorTicks=mb.getMinorTicks,Sb.getLabel=mb.getLabel,Rx.registerClass(wb);var Tb=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var i=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var r=e.get("min",!0);null==r&&(r=e.get("startValue",!0));var o=this._modelMinRaw=r;de(o)?this._modelMinNum=Db(t,o({min:n[0],max:n[1]})):"dataMin"!==o&&(this._modelMinNum=Db(t,o));var a=this._modelMaxRaw=e.get("max",!0);if(de(a)?this._modelMaxNum=Db(t,a({min:n[0],max:n[1]})):"dataMax"!==a&&(this._modelMaxNum=Db(t,a)),i)this._axisDataLen=e.getCategories().length;else{var s=e.get("boundaryGap"),l=he(s)?s:[s||0,s||0];"boolean"==typeof l[0]||"boolean"==typeof l[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[zo(l[0],1),zo(l[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,i=this._axisDataLen,r=this._boundaryGapInner,o=t?null:n-e||Math.abs(e),a="dataMin"===this._modelMinRaw?e:this._modelMinNum,s="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,l=null!=a,u=null!=s;null==a&&(a=t?i?0:NaN:e-r[0]*o),null==s&&(s=t?i?i-1:NaN:n+r[1]*o),(null==a||!isFinite(a))&&(a=NaN),(null==s||!isFinite(s))&&(s=NaN);var c=be(a)||be(s)||t&&!i;this._needCrossZero&&(a>0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var h=this._determinedMin,d=this._determinedMax;return null!=h&&(a=h,l=!0),null!=d&&(s=d,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:c}},t.prototype.modifyDataMinMax=function(t,e){this[Ib[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[Mb[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),Mb={min:"_determinedMin",max:"_determinedMax"},Ib={min:"_dataMin",max:"_dataMax"};function Cb(t,e,n){var i=t.rawExtentInfo;return i||(i=new Tb(t,e,n),t.rawExtentInfo=i,i)}function Db(t,e){return null==e?null:be(e)?NaN:t.parse(e)}function Eb(t,e){var n=t.type,i=Cb(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=tb("bar",a),l=!1;if(re(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=eb(s),c=function(t,e,n,i){var r=n.axis.getExtent(),o=r[1]-r[0],a=function(t,e,n){if(t&&e){var i=t[$x(e)];return null!=i&&null!=n?i[Kx(n)]:i}}(i,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;re(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;re(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=e-t,h=c/(1-(s+l)/o)-c;return e+=h*(l/u),t-=h*(s/u),{min:t,max:e}}(r,o,e,u);r=c.min,o=c.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function Lb(t,e){var n=e,i=Eb(t,n),r=i.extent,o=n.get("splitNumber");t instanceof wb&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function Pb(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Xx({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new sb({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Rx.getClass(e)||Yx)}}function Rb(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=i,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):pe(i)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(i):de(i)?(e=i,function(n,i){return null!=r&&(i=n.value-r),e(Nb(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function Nb(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function kb(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new Zn(t.x,t.y,o,a)}function Ob(t){var e=t.get("interval");return null==e?"auto":e}function Bb(t){return"category"===t.type&&0===Ob(t.getLabelModel())}function zb(t,e){var n={};return re(t.mapDimensionsAll(e),(function(e){n[Lx(t,e)]=!0})),le(n)}var Fb=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();var Vb={isDimensionStacked:Ex,enableDataStack:Dx,getStackedDimension:Lx};function Gb(t,e){var n=e;e instanceof zd||(n=new zd(e));var i=Pb(n);return i.setExtent(t[0],t[1]),Lb(i,n),i}function Ub(t,e){return md(t,null,null,"normal"!==(e=e||{}).state)}var Hb=1e-8;function Wb(t,e){return Math.abs(t-e)<Hb}function Xb(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;o<t.length;o++){var a=t[o];i+=Sl(r[0],r[1],a[0],a[1],e,n),r=a}var s=t[0];return Wb(r[0],s[0])&&Wb(r[1],s[1])||(i+=Sl(r[0],r[1],s[0],s[1],e,n)),0!==i}var jb=[];function Yb(t,e){for(var n=0;n<t.length;n++)nn(t[n],t[n],e)}function Zb(t,e,n,i){for(var r=0;r<t.length;r++){var o=t[r];i&&(o=i.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(rn(e,e,o),on(n,n,o))}}var Qb=function(){function t(t){this.name=t}return t.prototype.setCenter=function(t){this._center=t},t.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},t}(),qb=function(t,e){this.type="polygon",this.exterior=t,this.interiors=e},Jb=function(t){this.type="linestring",this.points=t},Kb=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.type="geoJSON",r.geometries=n,r._center=i&&[i[0],i[1]],r}return Tt(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,n=0,i=0;i<e.length;i++){var r=e[i],o=r.exterior,a=o&&o.length;a>n&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s<r;s++){var l=t[s][0],u=t[s][1],c=o*u-l*a;e+=c,n+=(o+l)*c,i+=(a+u)*c,o=l,a=u}return e?[n/e/3,i/e/3,e]:[t[0][0]||0,t[0][1]||0]}(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var n=[1/0,1/0],i=[-1/0,-1/0];return re(this.geometries,(function(e){"polygon"===e.type?Zb(e.exterior,n,i,t):re(e.points,(function(e){Zb(e,n,i,t)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])||(n[0]=n[1]=i[0]=i[1]=0),e=new Zn(n[0],n[1],i[0]-n[0],i[1]-n[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var i=0,r=n.length;i<r;i++){var o=n[i];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(Xb(a,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(Xb(s[l],t[0],t[1]))continue t;return!0}}}return!1},e.prototype.transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=r.width/r.height;n?i||(i=n/o):n=o*i;for(var a=new Zn(t,e,n,i),s=r.calculateTransform(a),l=this.geometries,u=0;u<l.length;u++){var c=l[u];"polygon"===c.type?(Yb(c.exterior,s),re(c.interiors,(function(t){Yb(t,s)}))):re(c.points,(function(t){Yb(t,s)}))}(r=this._rect).copy(a),this._center=[r.x+r.width/2,r.y+r.height/2]},e.prototype.cloneShallow=function(t){null==t&&(t=this.name);var n=new e(t,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},e}(Qb),$b=function(t){function e(e,n){var i=t.call(this,e)||this;return i.type="geoSVG",i._elOnlyForCalculate=n,i}return Tt(e,t),e.prototype.calcCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],i=Pn(jb),r=t;r&&!r.isGeoSVGGraphicRoot;)Nn(i,r.getLocalTransform(),i),r=r.parent;return zn(i,i),nn(n,n,i),n},e}(Qb);function tw(t,e,n){for(var i=0;i<t.length;i++)t[i]=ew(t[i],e[i],n)}function ew(t,e,n){for(var i=[],r=e[0],o=e[1],a=0;a<t.length;a+=2){var s=t.charCodeAt(a)-64,l=t.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function nw(t,e){return oe(se((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),re(e.features,(function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=ew(r,i,n);break;case"Polygon":case"MultiLineString":tw(r,i,n);break;case"MultiPolygon":re(r,(function(t,e){return tw(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new qb(o[0],o.slice(1)));break;case"MultiPolygon":re(i.coordinates,(function(t){t[0]&&r.push(new qb(t[0],t.slice(1)))}));break;case"LineString":r.push(new Jb([i.coordinates]));break;case"MultiLineString":r.push(new Jb(i.coordinates))}var a=new Kb(n[e||"name"],r,n.cp);return a.properties=n,a}))}var iw=Ua();function rw(t,e){var n=oe(e,(function(e){return t.scale.parse(e)}));return"time"===t.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function ow(t){var e=t.getLabelModel().get("customValues");if(e){var n=Rb(t);return{labels:rw(t,e).map((function(e){var i={value:e};return{formattedLabel:n(i),rawLabel:t.scale.getLabel(i),tickValue:e}}))}}return"category"===t.type?function(t){var e=t.getLabelModel(),n=sw(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=Rb(t);return{labels:oe(e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function aw(t,e){var n=t.getTickModel().get("customValues");return n?{ticks:rw(t,n)}:"category"===t.type?function(t,e){var n,i,r=lw(t,"ticks"),o=Ob(e),a=uw(r,o);if(a)return a;e.get("show")&&!t.scale.isBlank()||(n=[]);if(de(o))n=dw(t,o,!0);else if("auto"===o){var s=sw(t,t.getLabelModel());i=s.labelCategoryInterval,n=oe(s.labels,(function(t){return t.tickValue}))}else n=hw(t,i=o,!0);return cw(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:oe(t.scale.getTicks(),(function(t){return t.value}))}}function sw(t,e){var n,i,r=lw(t,"labels"),o=Ob(e),a=uw(r,o);return a||(de(o)?n=dw(t,o):(i="auto"===o?function(t){var e=iw(t).autoInterval;return null!=e?e:iw(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=hw(t,i)),cw(r,o,{labels:n,labelCategoryInterval:i}))}function lw(t,e){return iw(t)[e]||(iw(t)[e]=[])}function uw(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function cw(t,e,n){return t.push({key:e,value:n}),n}function hw(t,e,n){var i=Rb(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=o[0],c=r.count();0!==u&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var h=Bb(t),d=a.get("showMinLabel")||h,p=a.get("showMaxLabel")||h;d&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return p&&f-l!==o[1]&&g(o[1]),s}function dw(t,e,n){var i=t.scale,r=Rb(t),o=[];return re(i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var pw=[0,1],fw=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return ca(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&gw(n=n.slice(),i.count()),ra(t,pw,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&gw(n=n.slice(),i.count());var r=ra(t,n,pw,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=oe(aw(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,i){var r=e.length;if(!t.onBand||n||!r)return;var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[1]};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;re(e,(function(t){t.coord-=u/2})),a=1+t.scale.getExtent()[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a},e.push(o)}var c=s[0]>s[1];h(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift());i&&h(s[0],e[0].coord)&&e.unshift({coord:s[0]});h(s[1],o.coord)&&(i?o.coord=s[1]:e.pop());i&&h(o.coord,s[1])&&e.push({coord:s[1]});function h(t,e){return t=aa(t),e=aa(e),c?t>e:t<e}}(this,n,e.get("alignWithLabel"),t.clamp),n},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");return t>0&&t<100||(t=5),oe(this.scale.getMinorTicks(t),(function(t){return oe(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return ow(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=Rb(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),c=Math.abs(u*Math.cos(i)),h=Math.abs(u*Math.sin(i)),d=0,p=0;l<=o[1];l+=s){var f,g,m=No(n({value:l}),e.font,"center","top");f=1.3*m.width,g=1.3*m.height,d=Math.max(d,f,7),p=Math.max(p,g,7)}var v=d/c,y=p/h;isNaN(v)&&(v=1/0),isNaN(y)&&(y=1/0);var _=Math.max(0,Math.floor(Math.min(v,y))),x=iw(t.model),b=t.getExtent(),w=x.lastAutoInterval,S=x.lastTickCount;return null!=w&&null!=S&&Math.abs(w-_)<=1&&Math.abs(S-a)<=1&&w>_&&x.axisExtent0===b[0]&&x.axisExtent1===b[1]?_=w:(x.lastTickCount=a,x.lastAutoInterval=_,x.axisExtent0=b[0],x.axisExtent1=b[1]),_}(this)},t}();function gw(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var mw=2*Math.PI,vw=gl.CMD,yw=["top","right","bottom","left"];function _w(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0)}}function xw(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),c=(a/=u)*n+t,h=(s/=u)*n+e;if(Math.abs(i-r)%mw<1e-4)return l[0]=c,l[1]=h,u-n;if(o){var d=i;i=xl(r),r=xl(d)}else i=xl(i),r=xl(r);i>r&&(r+=mw);var p=Math.atan2(s,a);if(p<0&&(p+=mw),p>=i&&p<=r||p+mw>=i&&p+mw<=r)return l[0]=c,l[1]=h,u-n;var f=n*Math.cos(i)+t,g=n*Math.sin(i)+e,m=n*Math.cos(r)+t,v=n*Math.sin(r)+e,y=(f-a)*(f-a)+(g-s)*(g-s),_=(m-a)*(m-a)+(v-s)*(v-s);return y<_?(l[0]=f,l[1]=g,Math.sqrt(y)):(l[0]=m,l[1]=v,Math.sqrt(_))}function bw(t,e,n,i,r,o,a,s){var l=r-t,u=o-e,c=n-t,h=i-e,d=Math.sqrt(c*c+h*h),p=(l*(c/=d)+u*(h/=d))/d;s&&(p=Math.min(Math.max(p,0),1)),p*=d;var f=a[0]=t+p*c,g=a[1]=e+p*h;return Math.sqrt((f-r)*(f-r)+(g-o)*(g-o))}function ww(t,e,n,i,r,o,a){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i);var s=t+n,l=e+i,u=a[0]=Math.min(Math.max(r,t),s),c=a[1]=Math.min(Math.max(o,e),l);return Math.sqrt((u-r)*(u-r)+(c-o)*(c-o))}var Sw=[];function Aw(t,e,n){var i=ww(e.x,e.y,e.width,e.height,t.x,t.y,Sw);return n.set(Sw[0],Sw[1]),i}function Tw(t,e,n){for(var i,r,o=0,a=0,s=0,l=0,u=1/0,c=e.data,h=t.x,d=t.y,p=0;p<c.length;){var f=c[p++];1===p&&(s=o=c[p],l=a=c[p+1]);var g=u;switch(f){case vw.M:o=s=c[p++],a=l=c[p++];break;case vw.L:g=bw(o,a,c[p],c[p+1],h,d,Sw,!0),o=c[p++],a=c[p++];break;case vw.C:g=Bi(o,a,c[p++],c[p++],c[p++],c[p++],c[p],c[p+1],h,d,Sw),o=c[p++],a=c[p++];break;case vw.Q:g=Hi(o,a,c[p++],c[p++],c[p],c[p+1],h,d,Sw),o=c[p++],a=c[p++];break;case vw.A:var m=c[p++],v=c[p++],y=c[p++],_=c[p++],x=c[p++],b=c[p++];p+=1;var w=!!(1-c[p++]);i=Math.cos(x)*y+m,r=Math.sin(x)*_+v,p<=1&&(s=i,l=r),g=xw(m,v,_,x,x+b,w,(h-m)*_/y+m,d,Sw),o=Math.cos(x+b)*y+m,a=Math.sin(x+b)*_+v;break;case vw.R:g=ww(s=o=c[p++],l=a=c[p++],c[p++],c[p++],h,d,Sw);break;case vw.Z:g=bw(o,a,s,l,h,d,Sw,!0),o=s,a=l}g<u&&(u=g,n.set(Sw[0],Sw[1]))}return u}var Mw=new Fn,Iw=new Fn,Cw=new Fn,Dw=new Fn,Ew=new Fn;function Lw(t,e){if(t){var n=t.getTextGuideLine(),i=t.getTextContent();if(i&&n){var r=t.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=r.candidates||yw,s=i.getBoundingRect().clone();s.applyTransform(i.getComputedTransform());var l=1/0,u=r.anchor,c=t.getComputedTransform(),h=c&&zn([],c),d=e.get("length2")||0;u&&Cw.copy(u);for(var p=0;p<a.length;p++){_w(a[p],0,s,Mw,Dw),Fn.scaleAndAdd(Iw,Mw,Dw,d),Iw.transform(h);var f=t.getBoundingRect(),g=u?u.distance(Iw):t instanceof Ol?Tw(Iw,t.path,Cw):Aw(Iw,f,Cw);g<l&&(l=g,Iw.transform(c),Cw.transform(c),Cw.toArray(o[0]),Iw.toArray(o[1]),Mw.toArray(o[2]))}Nw(o,e.get("minTurnAngle")),n.setShape({points:o})}}}var Pw=[],Rw=new Fn;function Nw(t,e){if(e<=180&&e>0){e=e/180*Math.PI,Mw.fromArray(t[0]),Iw.fromArray(t[1]),Cw.fromArray(t[2]),Fn.sub(Dw,Mw,Iw),Fn.sub(Ew,Cw,Iw);var n=Dw.len(),i=Ew.len();if(!(n<.001||i<.001)){Dw.scale(1/n),Ew.scale(1/i);var r=Dw.dot(Ew);if(Math.cos(e)<r){var o=bw(Iw.x,Iw.y,Cw.x,Cw.y,Mw.x,Mw.y,Pw,!1);Rw.fromArray(Pw),Rw.scaleAndAdd(Ew,o/Math.tan(Math.PI-e));var a=Cw.x!==Iw.x?(Rw.x-Iw.x)/(Cw.x-Iw.x):(Rw.y-Iw.y)/(Cw.y-Iw.y);if(isNaN(a))return;a<0?Fn.copy(Rw,Iw):a>1&&Fn.copy(Rw,Cw),Rw.toArray(t[1])}}}}function kw(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,Mw.fromArray(t[0]),Iw.fromArray(t[1]),Cw.fromArray(t[2]),Fn.sub(Dw,Iw,Mw),Fn.sub(Ew,Cw,Iw);var i=Dw.len(),r=Ew.len();if(!(i<.001||r<.001))if(Dw.scale(1/i),Ew.scale(1/r),Dw.dot(e)<Math.cos(n)){var o=bw(Iw.x,Iw.y,Cw.x,Cw.y,Mw.x,Mw.y,Pw,!1);Rw.fromArray(Pw);var a=Math.PI/2,s=a+Math.acos(Ew.dot(e))-n;if(s>=a)Fn.copy(Rw,Cw);else{Rw.scaleAndAdd(Ew,o/Math.tan(Math.PI/2-s));var l=Cw.x!==Iw.x?(Rw.x-Iw.x)/(Cw.x-Iw.x):(Rw.y-Iw.y)/(Cw.y-Iw.y);if(isNaN(l))return;l<0?Fn.copy(Rw,Iw):l>1&&Fn.copy(Rw,Cw)}Rw.toArray(t[1])}}}function Ow(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function Bw(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=$e(i[0],i[1]),o=$e(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=en([],i[1],i[0],a/r),l=en([],i[1],i[2],a/o),u=en([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var c=1;c<i.length;c++)t.lineTo(i[c][0],i[c][1])}function zw(t,e,n){var i=t.getTextGuideLine(),r=t.getTextContent();if(r){for(var o=e.normal,a=o.get("show"),s=r.ignore,l=0;l<xu.length;l++){var u=xu[l],c=e[u],h="normal"===u;if(c){var d=c.get("show");if((h?s:Se(r.states[u]&&r.states[u].ignore,s))||!Se(d,a)){var p=h?i:i&&i.states[u];p&&(p.ignore=!0),i&&Ow(i,!0,u,c);continue}i||(i=new ih,t.setTextGuideLine(i),h||!s&&a||Ow(i,!0,"normal",e.normal),t.stateProxy&&(i.stateProxy=t.stateProxy)),Ow(i,!1,u,c)}}if(i){$t(i.style,n),i.style.fill=null;var f=o.get("showAbove");(t.textGuideLineConfig=t.textGuideLineConfig||{}).showAbove=f||!1,i.buildPath=Bw}}else i&&t.removeTextGuideLine()}function Fw(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},i=0;i<_u.length;i++){var r=_u[i];n[r]=t.getModel([r,e])}return n}function Vw(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];if(!i.defaultAttr.ignore){var r=i.label,o=r.getComputedTransform(),a=r.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,l=r.style.margin||0,u=a.clone();u.applyTransform(o),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var c=s?new Ah(a,o):null;e.push({label:r,labelLine:i.labelLine,rect:u,localRect:a,obb:c,priority:i.priority,defaultAttr:i.defaultAttr,layoutOption:i.computedLayoutOption,axisAligned:s,transform:o})}}return e}function Gw(t,e,n,i,r,o){var a=t.length;if(!(a<2)){t.sort((function(t,n){return t.rect[e]-n.rect[e]}));for(var s,l=0,u=!1,c=0,h=0;h<a;h++){var d=t[h],p=d.rect;(s=p[e]-l)<0&&(p[e]-=s,d.label[e]-=s,u=!0),c+=Math.max(-s,0),l=p[e]+p[n]}c>0&&o&&x(-c/a,0,a);var f,g,m=t[0],v=t[a-1];return y(),f<0&&b(-f,.8),g<0&&b(g,.8),y(),_(f,g,1),_(g,f,-1),y(),f<0&&w(-f),g<0&&w(g),u}function y(){f=m.rect[e]-i,g=r-v.rect[e]-v.rect[n]}function _(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){x(i*n,0,a);var r=i+t;r<0&&b(-r*n,1)}else b(-t*n,1)}}function x(n,i,r){0!==n&&(u=!0);for(var o=i;o<r;o++){var a=t[o];a.rect[e]+=n,a.label[e]+=n}}function b(i,r){for(var o=[],s=0,l=1;l<a;l++){var u=t[l-1].rect,c=Math.max(t[l].rect[e]-u[e]-u[n],0);o.push(c),s+=c}if(s){var h=Math.min(Math.abs(i)/s,r);if(i>0)for(l=0;l<a-1;l++){x(o[l]*h,0,l+1)}else for(l=a-1;l>0;l--){x(-(o[l-1]*h),l,a)}}}function w(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i<a-1;i++)if(e>0?x(n,0,i+1):x(-n,a-i-1,a),(t-=n)<=0)return}}function Uw(t,e,n,i){return Gw(t,"y","height",e,n,i)}function Hw(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new Zn(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r<t.length;r++){var o=t[r],a=o.axisAligned,s=o.localRect,l=o.transform,u=o.label,c=o.labelLine;n.copy(o.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var h=o.obb,d=!1,p=0;p<e.length;p++){var f=e[p];if(n.intersect(f.rect)){if(a&&f.axisAligned){d=!0;break}if(f.obb||(f.obb=new Ah(f.localRect,f.transform)),h||(h=new Ah(s,l)),h.intersect(f.obb)){d=!0;break}}}d?(i(u),c&&i(c)):(u.attr("ignore",o.defaultAttr.ignore),c&&c.attr("ignore",o.defaultAttr.labelGuideIgnore),e.push(o))}}function Ww(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function Xw(t,e){var n=t.label,i=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:Ww(i&&i.shape.points)}}var jw=["align","verticalAlign","width","height","fontSize"],Yw=new Co,Zw=Ua(),Qw=Ua();function qw(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null!=e[r]&&(t[r]=e[r])}}var Jw=["x","y","rotation"],Kw=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,i,r){var o=i.style,a=i.__hostTarget.textConfig||{},s=i.getComputedTransform(),l=i.getBoundingRect().plain();Zn.applyTransform(l,l,s),s?Yw.setLocalTransform(s):(Yw.x=Yw.y=Yw.rotation=Yw.originX=Yw.originY=0,Yw.scaleX=Yw.scaleY=1),Yw.rotation=xl(Yw.rotation);var u,c=i.__hostTarget;if(c){u=c.getBoundingRect().plain();var h=c.getComputedTransform();Zn.applyTransform(u,u,h)}var d=u&&c.getTextGuideLine();this._labelList.push({label:i,labelLine:d,seriesModel:n,dataIndex:t,dataType:e,layoutOption:r,computedLayoutOption:null,rect:l,hostRect:u,priority:u?u.width*u.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:d&&d.ignore,x:Yw.x,y:Yw.y,scaleX:Yw.scaleX,scaleY:Yw.scaleY,rotation:Yw.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:i.cursor,attachedPos:a.position,attachedRot:a.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,i=n.get("labelLayout");(de(i)||le(i).length)&&t.group.traverse((function(t){if(t.ignore)return!0;var r=t.getTextContent(),o=cu(t);r&&!r.disableLabelLayout&&e._addLabel(o.dataIndex,o.dataType,n,r,i)}))},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function i(t,e){return function(){Lw(t,e)}}for(var r=0;r<this._labelList.length;r++){var o=this._labelList[r],a=o.label,s=a.__hostTarget,l=o.defaultAttr,u=void 0;u=(u=de(o.layoutOption)?o.layoutOption(Xw(o,s)):o.layoutOption)||{},o.computedLayoutOption=u;var c=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=u.x||null!=u.y?null:l.attachedPos,rotation:null!=u.rotate?u.rotate*c:l.attachedRot,offset:[u.dx||0,u.dy||0]});var h=!1;if(null!=u.x?(a.x=oa(u.x,e),a.setStyle("x",0),h=!0):(a.x=l.x,a.setStyle("x",l.style.x)),null!=u.y?(a.y=oa(u.y,n),a.setStyle("y",0),h=!0):(a.y=l.y,a.setStyle("y",l.style.y)),u.labelLinePoints){var d=s.getTextGuideLine();d&&(d.setShape({points:u.labelLinePoints}),h=!1)}Zw(a).needsUpdateLabelLine=h,a.rotation=null!=u.rotate?u.rotate*c:l.rotation,a.scaleX=l.scaleX,a.scaleY=l.scaleY;for(var p=0;p<jw.length;p++){var f=jw[p];a.setStyle(f,null!=u[f]?u[f]:l.style[f])}if(u.draggable){if(a.draggable=!0,a.cursor="move",s){var g=o.seriesModel;if(null!=o.dataIndex)g=o.seriesModel.getData(o.dataType).getItemModel(o.dataIndex);a.on("drag",i(s,g.getModel("labelLine")))}}else a.off("drag"),a.cursor=l.cursor}},t.prototype.layout=function(t){var e,n=t.getWidth(),i=t.getHeight(),r=Vw(this._labelList),o=se(r,(function(t){return"shiftX"===t.layoutOption.moveOverlap})),a=se(r,(function(t){return"shiftY"===t.layoutOption.moveOverlap}));Gw(o,"x","width",0,n,e),Uw(a,0,i),Hw(se(r,(function(t){return t.layoutOption.hideOverlap})))},t.prototype.processLabelsOverall=function(){var t=this;re(this._chartViewList,(function(e){var n=e.__model,i=e.ignoreLabelLineUpdate,r=n.isAnimationEnabled();e.group.traverse((function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var o=!i,a=e.getTextContent();!o&&a&&(o=Zw(a).needsUpdateLabelLine),o&&t._updateLabelLine(e,n),r&&t._animateLabels(e,n)}))}))},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),i=cu(t),r=i.dataIndex;if(n&&null!=r){var o=e.getData(i.dataType),a=o.getItemModel(r),s={},l=o.getItemVisual(r,"style");if(l){var u=o.getVisual("drawType");s.stroke=l[u]}var c=a.getModel("labelLine");zw(t,Fw(a),s),Lw(t,c)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),i=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!Rh(t))){var r=(p=Zw(n)).oldLayout,o=cu(t),a=o.dataIndex,s={x:n.x,y:n.y,rotation:n.rotation},l=e.getData(o.dataType);if(r){n.attr(r);var u=t.prevStates;u&&(te(u,"select")>=0&&n.attr(p.oldLayoutSelect),te(u,"emphasis")>=0&&n.attr(p.oldLayoutEmphasis)),Lh(n,s,e,a)}else if(n.attr(s),!Sd(n).valueAnimation){var c=Se(n.style.opacity,1);n.style.opacity=0,Ph(n,{style:{opacity:c}},e,a)}if(p.oldLayout=s,n.states.select){var h=p.oldLayoutSelect={};qw(h,s,Jw),qw(h,n.states.select,Jw)}if(n.states.emphasis){var d=p.oldLayoutEmphasis={};qw(d,s,Jw),qw(d,n.states.emphasis,Jw)}Td(n,a,l,e,e)}if(i&&!i.ignore&&!i.invisible){r=(p=Qw(i)).oldLayout;var p,f={points:i.shape.points};r?(i.attr({shape:r}),Lh(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,Ph(i,{style:{strokePercent:1}},e)),p.oldLayout=f}},t}(),$w=Ua();function tS(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var i=$w(e).labelManager;i||(i=$w(e).labelManager=new Kw),i.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var i=$w(e).labelManager;n.updatedSeries.forEach((function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()}))}var eS=Math.sin,nS=Math.cos,iS=Math.PI,rS=2*Math.PI,oS=180/iS,aS=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){this._add("C",t,e,n,i,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,o){this.ellipse(t,e,n,n,0,i,r,o)},t.prototype.ellipse=function(t,e,n,i,r,o,a,s){var l=a-o,u=!s,c=Math.abs(l),h=wr(c-rS)||(u?l>=rS:-l>=rS),d=l>0?l%rS:l%rS+rS,p=!1;p=!!h||!wr(c)&&d>=iS==!!u;var f=t+n*nS(o),g=e+i*eS(o);this._start&&this._add("M",f,g);var m=Math.round(r*oS);if(h){var v=1/this._p,y=(u?1:-1)*(rS-v);this._add("A",n,i,m,1,+u,t+n*nS(o+y),e+i*eS(o+y)),v>.01&&this._add("A",n,i,m,0,+u,f,g)}else{var _=t+n*nS(a),x=e+i*eS(a);this._add("A",n,i,m,+p,+u,_,x)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var u=[],c=this._p,h=1;h<arguments.length;h++){var d=arguments[h];if(isNaN(d))return void(this._invalid=!0);u.push(Math.round(d*c)/c)}this._d.push(t+u.join(" ")),this._start="Z"===t},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},t.prototype.getStr=function(){return this._str},t}(),sS="none",lS=Math.round;var uS=["lineCap","miterLimit","lineJoin"],cS=oe(uS,(function(t){return"stroke-"+t.toLowerCase()}));function hS(t,e,n,i){var r=null==e.opacity?1:e.opacity;if(n instanceof Gl)t("opacity",r);else{if(function(t){var e=t.fill;return null!=e&&e!==sS}(e)){var o=xr(e.fill);t("fill",o.color);var a=null!=e.fillOpacity?e.fillOpacity*o.opacity*r:o.opacity*r;a<1&&t("fill-opacity",a)}else t("fill",sS);if(function(t){var e=t.stroke;return null!=e&&e!==sS}(e)){var s=xr(e.stroke);t("stroke",s.color);var l=e.strokeNoScale?n.getLineScale():1,u=l?(e.lineWidth||0)/l:0,c=null!=e.strokeOpacity?e.strokeOpacity*s.opacity*r:s.opacity*r,h=e.strokeFirst;if(1!==u&&t("stroke-width",u),h&&t("paint-order",h?"stroke":"fill"),c<1&&t("stroke-opacity",c),e.lineDash){var d=sy(n),p=d[0],f=d[1];p&&(f=lS(f||0),t("stroke-dasharray",p.join(",")),(f||i)&&t("stroke-dashoffset",f))}for(var g=0;g<uS.length;g++){var m=uS[g];if(e[m]!==Rl[m]){var v=e[m]||Rl[m];v&&t(cS[g],v)}}}}}var dS="http://www.w3.org/2000/svg",pS="http://www.w3.org/1999/xlink",fS="http://www.w3.org/2000/xmlns/",gS="http://www.w3.org/XML/1998/namespace",mS="ecmeta_";function vS(t){return document.createElementNS(dS,t)}function yS(t,e,n,i,r){return{tag:t,attrs:n||{},children:i,text:r,key:e}}function _S(t,e){var n=(e=e||{}).newline?"\n":"";return function t(e){var i=e.children,r=e.tag,o=e.attrs,a=e.text;return function(t,e){var n=[];if(e)for(var i in e){var r=e[i],o=i;!1!==r&&(!0!==r&&null!=r&&(o+='="'+r+'"'),n.push(o))}return"<"+t+" "+n.join(" ")+">"}(r,o)+("style"!==r?yn(a):a||"")+(i?""+n+oe(i,(function(e){return t(e)})).join(n)+n:"")+("</"+r+">")}(t)}function xS(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function bS(t,e,n,i){return yS("svg","root",{width:t,height:e,xmlns:dS,"xmlns:xlink":pS,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var wS=0;function SS(){return wS++}var AS={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},TS="transform-origin";function MS(t,e,n){var i=Kt({},t.shape);Kt(i,e),t.buildPath(n,i);var r=new aS;return r.reset(Pr(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function IS(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[TS]=n+"px "+i+"px")}var CS={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function DS(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function ES(t){return pe(t)?AS[t]?"cubic-bezier("+AS[t]+")":ji(t)?t:"":""}function LS(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof fh){var s=function(t,e,n){var i,r,o=t.shape.paths,a={};if(re(o,(function(t){var e=xS(n.zrId);e.animation=!0,LS(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=le(o),u=l.length;if(u){var c=o[r=l[u-1]];for(var h in c){var d=c[h];a[h]=a[h]||{d:""},a[h].d+=d.d||""}for(var p in s){var f=s[p].animation;f.indexOf(r)>=0&&(i=f)}}})),i){e.d=!1;var s=DS(a,n);return i.replace(r,s)}}(t,e,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u<o;u++){var c=r[u],h=[c.getMaxTime()/1e3+"s"],d=ES(c.getClip().easing),p=c.getDelay();d?h.push(d):h.push("linear"),p&&h.push(p/1e3+"s"),c.getLoop()&&h.push("infinite");var f=h.join(" ");l[f]=l[f]||[f,[]],l[f][1].push(c)}function g(r){var o,a=r[1],s=a.length,l={},u={},c={},h="animation-timing-function";function d(t,e,n){for(var i=t.getTracks(),r=t.getMaxTime(),o=0;o<i.length;o++){var a=i[o];if(a.needsAnimate()){var s=a.keyframes,l=a.propName;if(n&&(l=n(l)),l)for(var u=0;u<s.length;u++){var c=s[u],d=Math.round(c.time/r*100)+"%",p=ES(c.easing),f=c.rawValue;(pe(f)||ge(f))&&(e[d]=e[d]||{},e[d][l]=c.rawValue,p&&(e[d][h]=p))}}}}for(var p=0;p<s;p++){(S=(w=a[p]).targetName)?"shape"===S&&d(w,u):!i&&d(w,l)}for(var f in l){var g={};Eo(g,t),Kt(g,l[f]);var m=Rr(g),v=l[f][h];c[f]=m?{transform:m}:{},IS(c[f],g),v&&(c[f][h]=v)}var y=!0;for(var f in u){c[f]=c[f]||{};var _=!o;v=u[f][h];_&&(o=new gl);var x=o.len();o.reset(),c[f].d=MS(t,u[f],o);var b=o.len();if(!_&&x!==b){y=!1;break}v&&(c[f][h]=v)}if(!y)for(var f in c)delete c[f].d;if(!i)for(p=0;p<s;p++){var w,S;"style"===(S=(w=a[p]).targetName)&&d(w,c,(function(t){return CS[t]}))}var A,T=le(c),M=!0;for(p=1;p<T.length;p++){var I=T[p-1],C=T[p];if(c[I][TS]!==c[C][TS]){M=!1;break}A=c[I][TS]}if(M&&A){for(var f in c)c[f][TS]&&delete c[f][TS];e[TS]=A}if(se(T,(function(t){return le(c[t]).length>0})).length)return DS(c,n)+" "+r[0]+" both"}for(var m in l){(s=g(l[m]))&&a.push(s)}if(a.length){var v=n.zrId+"-cls-"+SS();n.cssNodes["."+v]={animation:a.join(",")},e.class=v}}function PS(t,e,n,i){var r=JSON.stringify(t),o=n.cssStyleCache[r];o||(o=n.zrId+"-cls-"+SS(),n.cssStyleCache[r]=o,n.cssNodes["."+o+":hover"]=t),e.class=e.class?e.class+" "+o:o}var RS=Math.round;function NS(t){return t&&pe(t.src)}function kS(t){return t&&de(t.toDataURL)}function OS(t,e,n,i){hS((function(r,o){var a="fill"===r||"stroke"===r;a&&Er(o)?YS(e,t,r,i):a&&Ir(o)?ZS(n,t,r,i):t[r]=a&&"none"===o?"transparent":o}),e,n,!1),function(t,e,n){var i=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(i)){var r=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(t),o=n.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var c=i.shadowOffsetX||0,h=i.shadowOffsetY||0,d=i.shadowBlur,p=xr(i.shadowColor),f=p.opacity,g=p.color,m=d/2/l+" "+d/2/u;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=yS("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[yS("feDropShadow","",{dx:c/l,dy:h/u,stdDeviation:m,"flood-color":g,"flood-opacity":f})]),o[r]=a}e.filter=Lr(a)}}(n,t,i)}function BS(t,e){var n=function(t){if("function"==typeof $o)return $o(t)}(e);n&&(n.each((function(e,n){null!=e&&(t[(mS+n).toLowerCase()]=e+"")})),e.isSilent()&&(t[mS+"silent"]="true"))}function zS(t){return wr(t[0]-1)&&wr(t[1])&&wr(t[2])&&wr(t[3]-1)}function FS(t,e,n){if(e&&(!function(t){return wr(t[4])&&wr(t[5])}(e)||!zS(e))){var i=1e4;t.transform=zS(e)?"translate("+RS(e[4]*i)/i+" "+RS(e[5]*i)/i+")":function(t){return"matrix("+Sr(t[0])+","+Sr(t[1])+","+Sr(t[2])+","+Sr(t[3])+","+Ar(t[4])+","+Ar(t[5])+")"}(e)}}function VS(t,e,n){for(var i=t.points,r=[],o=0;o<i.length;o++)r.push(RS(i[o][0]*n)/n),r.push(RS(i[o][1]*n)/n);e.points=r.join(" ")}function GS(t){return!t.smooth}var US,HS,WS={circle:[(US=["cx","cy","r"],HS=oe(US,(function(t){return"string"==typeof t?[t,t]:t})),function(t,e,n){for(var i=0;i<HS.length;i++){var r=HS[i],o=t[r[0]];null!=o&&(e[r[1]]=RS(o*n)/n)}})],polyline:[VS,GS],polygon:[VS,GS]};function XS(t,e){var n=t.style,i=t.shape,r=WS[t.type],o={},a=e.animation,s="path",l=t.style.strokePercent,u=e.compress&&Pr(t)||4;if(!r||e.willUpdate||r[1]&&!r[1](i)||a&&function(t){for(var e=t.animators,n=0;n<e.length;n++)if("shape"===e[n].targetName)return!0;return!1}(t)||l<1){var c=!t.path||t.shapeChanged();t.path||t.createPathProxy();var h=t.path;c&&(h.beginPath(),t.buildPath(h,t.shape),t.pathUpdated());var d=h.getVersion(),p=t,f=p.__svgPathBuilder;p.__svgPathVersion===d&&f&&l===p.__svgPathStrokePercent||(f||(f=p.__svgPathBuilder=new aS),f.reset(u),h.rebuildPath(f,l),f.generateStr(),p.__svgPathVersion=d,p.__svgPathStrokePercent=l),o.d=f.getStr()}else{s=t.type;var g=Math.pow(10,u);r[0](i,o,g)}return FS(o,t.transform),OS(o,n,t,e),BS(o,t),e.animation&&LS(t,o,e),e.emphasis&&function(t,e,n){if(!t.ignore)if(t.isSilent())PS(u={"pointer-events":"none"},e,n);else{var i=t.states.emphasis&&t.states.emphasis.style?t.states.emphasis.style:{},r=i.fill;if(!r){var o=t.style&&t.style.fill,a=t.states.select&&t.states.select.style&&t.states.select.style.fill,s=t.currentStates.indexOf("select")>=0&&a||o;s&&(r=yr(s))}var l=i.lineWidth;l&&(l/=!i.strokeNoScale&&t.transform?t.transform[0]:1);var u={cursor:"pointer"};r&&(u.fill=r),i.stroke&&(u.stroke=i.stroke),l&&(u["stroke-width"]=l),PS(u,e,n)}}(t,o,e),yS(s,t.id+"",o)}function jS(t,e){return t instanceof Ol?XS(t,e):t instanceof Gl?function(t,e){var n=t.style,i=n.image;if(i&&!pe(i)&&(NS(i)?i=i.src:kS(i)&&(i=i.toDataURL())),i){var r=n.x||0,o=n.y||0,a={href:i,width:n.width,height:n.height};return r&&(a.x=r),o&&(a.y=o),FS(a,t.transform),OS(a,n,t,e),BS(a,t),e.animation&&LS(t,a,e),yS("image",t.id+"",a)}}(t,e):t instanceof zl?function(t,e){var n=t.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var r=n.font||Et,o=n.x||0,a=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(n.y||0,Bo(r),n.textBaseline),s={"dominant-baseline":"central","text-anchor":Tr[n.textAlign]||n.textAlign};if(iu(n)){var l="",u=n.fontStyle,c=eu(n.fontSize);if(!parseFloat(c))return;var h=n.fontFamily||Dt,d=n.fontWeight;l+="font-size:"+c+";font-family:"+h+";",u&&"normal"!==u&&(l+="font-style:"+u+";"),d&&"normal"!==d&&(l+="font-weight:"+d+";"),s.style=l}else s.style="font: "+r;return i.match(/\s/)&&(s["xml:space"]="preserve"),o&&(s.x=o),a&&(s.y=a),FS(s,t.transform),OS(s,n,t,e),BS(s,t),e.animation&&LS(t,s,e),yS("text",t.id+"",s,void 0,i)}}(t,e):void 0}function YS(t,e,n,i){var r,o=t[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(Cr(o))r="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!Dr(o))return;r="radialGradient",a.cx=Se(o.x,.5),a.cy=Se(o.y,.5),a.r=Se(o.r,.5)}for(var s=o.colorStops,l=[],u=0,c=s.length;u<c;++u){var h=100*Ar(s[u].offset)+"%",d=xr(s[u].color),p=d.color,f=d.opacity,g={offset:h};g["stop-color"]=p,f<1&&(g["stop-opacity"]=f),l.push(yS("stop",u+"",g))}var m=_S(yS(r,"",a,l)),v=i.gradientCache,y=v[m];y||(y=i.zrId+"-g"+i.gradientIdx++,v[m]=y,a.id=y,i.defs[y]=yS(r,y,a,l)),e[n]=Lr(y)}function ZS(t,e,n,i){var r,o=t.style[n],a=t.getBoundingRect(),s={},l=o.repeat,u="no-repeat"===l,c="repeat-x"===l,h="repeat-y"===l;if(Mr(o)){var d=o.imageWidth,p=o.imageHeight,f=void 0,g=o.image;if(pe(g)?f=g:NS(g)?f=g.src:kS(g)&&(f=g.toDataURL()),"undefined"==typeof Image){var m="Image width/height must been given explictly in svg-ssr renderer.";Ie(d,m),Ie(p,m)}else if(null==d||null==p){var v=function(t,e){if(t){var n=t.elm,i=d||e.width,r=p||e.height;"pattern"===t.tag&&(c?(r=1,i/=a.width):h&&(i=1,r/=a.height)),t.attrs.width=i,t.attrs.height=r,n&&(n.setAttribute("width",i),n.setAttribute("height",r))}},y=ps(f,null,t,(function(t){u||v(w,t),v(r,t)}));y&&y.width&&y.height&&(d=d||y.width,p=p||y.height)}r=yS("image","img",{href:f,width:d,height:p}),s.width=d,s.height=p}else o.svgElement&&(r=Qt(o.svgElement),s.width=o.svgWidth,s.height=o.svgHeight);if(r){var _,x;u?_=x=1:c?(x=1,_=s.width/a.width):h?(_=1,x=s.height/a.height):s.patternUnits="userSpaceOnUse",null==_||isNaN(_)||(s.width=_),null==x||isNaN(x)||(s.height=x);var b=Rr(o);b&&(s.patternTransform=b);var w=yS("pattern","",s,[r]),S=_S(w),A=i.patternCache,T=A[S];T||(T=i.zrId+"-p"+i.patternIdx++,A[S]=T,s.id=T,w=i.defs[T]=yS("pattern",T,s,[r])),e[n]=Lr(T)}}function QS(t,e,n){var i=n.clipPathCache,r=n.defs,o=i[t.id];if(!o){var a={id:o=n.zrId+"-c"+n.clipPathIdx++};i[t.id]=o,r[o]=yS("clipPath",o,a,[XS(t,n)])}e["clip-path"]=Lr(o)}function qS(t){return document.createTextNode(t)}function JS(t,e,n){t.insertBefore(e,n)}function KS(t,e){t.removeChild(e)}function $S(t,e){t.appendChild(e)}function tA(t){return t.parentNode}function eA(t){return t.nextSibling}function nA(t,e){t.textContent=e}var iA=58,rA=120,oA=yS("","");function aA(t){return void 0===t}function sA(t){return void 0!==t}function lA(t,e,n){for(var i={},r=e;r<=n;++r){var o=t[r].key;void 0!==o&&(i[o]=r)}return i}function uA(t,e){var n=t.key===e.key;return t.tag===e.tag&&n}function cA(t){var e,n=t.children,i=t.tag;if(sA(i)){var r=t.elm=vS(i);if(pA(oA,t),he(n))for(e=0;e<n.length;++e){var o=n[e];null!=o&&$S(r,cA(o))}else sA(t.text)&&!me(t.text)&&$S(r,qS(t.text))}else t.elm=qS(t.text);return t.elm}function hA(t,e,n,i,r){for(;i<=r;++i){var o=n[i];null!=o&&JS(t,cA(o),e)}}function dA(t,e,n,i){for(;n<=i;++n){var r=e[n];if(null!=r)if(sA(r.tag))KS(tA(r.elm),r.elm);else KS(t,r.elm)}}function pA(t,e){var n,i=e.elm,r=t&&t.attrs||{},o=e.attrs||{};if(r!==o){for(n in o){var a=o[n];r[n]!==a&&(!0===a?i.setAttribute(n,""):!1===a?i.removeAttribute(n):"style"===n?i.style.cssText=a:n.charCodeAt(0)!==rA?i.setAttribute(n,a):"xmlns:xlink"===n||"xmlns"===n?i.setAttributeNS(fS,n,a):n.charCodeAt(3)===iA?i.setAttributeNS(gS,n,a):n.charCodeAt(5)===iA?i.setAttributeNS(pS,n,a):i.setAttribute(n,a))}for(n in r)n in o||i.removeAttribute(n)}}function fA(t,e){var n=e.elm=t.elm,i=t.children,r=e.children;t!==e&&(pA(t,e),aA(e.text)?sA(i)&&sA(r)?i!==r&&function(t,e,n){for(var i,r,o,a=0,s=0,l=e.length-1,u=e[0],c=e[l],h=n.length-1,d=n[0],p=n[h];a<=l&&s<=h;)null==u?u=e[++a]:null==c?c=e[--l]:null==d?d=n[++s]:null==p?p=n[--h]:uA(u,d)?(fA(u,d),u=e[++a],d=n[++s]):uA(c,p)?(fA(c,p),c=e[--l],p=n[--h]):uA(u,p)?(fA(u,p),JS(t,u.elm,eA(c.elm)),u=e[++a],p=n[--h]):uA(c,d)?(fA(c,d),JS(t,c.elm,u.elm),c=e[--l],d=n[++s]):(aA(i)&&(i=lA(e,a,l)),aA(r=i[d.key])||(o=e[r]).tag!==d.tag?JS(t,cA(d),u.elm):(fA(o,d),e[r]=void 0,JS(t,o.elm,u.elm)),d=n[++s]);(a<=l||s<=h)&&(a>l?hA(t,null==n[h+1]?null:n[h+1].elm,n,s,h):dA(t,e,a,l))}(n,i,r):sA(r)?(sA(t.text)&&nA(n,""),hA(n,null,r,0,r.length-1)):sA(i)?dA(n,i,0,i.length-1):sA(t.text)&&nA(n,""):t.text!==e.text&&(sA(i)&&dA(n,i,0,i.length-1),nA(n,e.text)))}var gA=0,mA=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=function(){},this.configLayer=function(){},this.storage=e,this._opts=n=Kt({},n),this.root=t,this._id="zr"+gA++,this._oldVNode=bS(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=vS("svg");pA(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(uA(t,e))fA(t,e);else{var n=t.elm,i=tA(n);cA(e),null!==i&&(JS(i,e.elm,eA(n)),dA(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return jS(t,xS(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=xS(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress,r.emphasis=t.emphasis;var o=[],a=this._bgVNode=function(t,e,n,i){var r;if(n&&"none"!==n)if(r=yS("rect","bg",{width:t,height:e,x:"0",y:"0"}),Er(n))YS({fill:n},r.attrs,"fill",i);else if(Ir(n))ZS({style:{fill:n},dirty:Ve,getBoundingRect:function(){return{width:t,height:e}}},r.attrs,"fill",i);else{var o=xr(n),a=o.color,s=o.opacity;r.attrs.fill=a,s<1&&(r.attrs["fill-opacity"]=s)}return r}(n,i,this._backgroundColor,r);a&&o.push(a);var s=t.compress?null:this._mainVNode=yS("g","main",{},[]);this._paintList(e,r,s?s.children:o),s&&o.push(s);var l=oe(le(r.defs),(function(t){return r.defs[t]}));if(l.length&&o.push(yS("defs","defs",{},l)),t.animation){var u=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,o=i+"}",a=oe(le(t),(function(e){return e+r+oe(le(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(i)+o})).join(i),s=oe(le(e),(function(t){return"@keyframes "+t+r+oe(le(e[t]),(function(n){return n+r+oe(le(e[t][n]),(function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+o})).join(i)+o})).join(i);return a||s?["<![CDATA[",a,s,"]]>"].join(i):""}(r.cssNodes,r.cssAnims,{newline:!0});if(u){var c=yS("style","stl",{},[],u);o.push(c)}}return bS(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},_S(this.renderToVNode({animation:Se(t.cssAnimation,!0),emphasis:Se(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:Se(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,u=0;u<o;u++){var c=t[u];if(!c.invisible){var h=c.__clipPaths,d=h&&h.length||0,p=r&&r.length||0,f=void 0;for(f=Math.max(d-1,p-1);f>=0&&(!h||!r||h[f]!==r[f]);f--);for(var g=p-1;g>f;g--)i=a[--s-1];for(var m=f+1;m<d;m++){var v={};QS(h[m],v,e);var y=yS("g","clip-g-"+l++,v,[]);(i?i.children:n).push(y),a[s++]=y,i=y}r=h;var _=jS(c,e);_&&(i?i.children:n).push(_)}}},t.prototype.resize=function(t,e){var n=this._opts,i=this.root,r=this._viewport;if(null!=t&&(n.width=t),null!=e&&(n.height=e),i&&r&&(r.style.display="none",t=ay(i,0,n),e=ay(i,1,n),r.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,r){var o=r.style;o.width=t+"px",o.height=e+"px"}if(Ir(this._backgroundColor))this.refresh();else{var a=this._svgDom;a&&(a.setAttribute("width",t),a.setAttribute("height",e));var s=this._bgVNode&&this._bgVNode.elm;s&&(s.setAttribute("width",t),s.setAttribute("height",e))}}},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},t.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},t.prototype.toDataURL=function(t){var e=this.renderToString(),n="data:image/svg+xml;";return t?(e=Nr(e))&&n+"base64,"+e:n+"charset=UTF-8,"+encodeURIComponent(e)},t}();function vA(t,e,n){var i=Nt.createCanvas(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}var yA=function(t){function e(e,n,i){var r,o=t.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,i=i||yo,"string"==typeof e?r=vA(e,n,i):me(e)&&(e=(r=e).id),o.id=e,o.dom=r;var a=r.style;return a&&(ze(r),r.onselectstart=function(){return!1},a.padding="0",a.margin="0",a.borderWidth="0"),o.painter=n,o.dpr=i,o}return Tt(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=vA("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new Zn(0,0,0,0);function u(t){if(t.isFinite()&&!t.isZero())if(0===o.length){(e=new Zn(0,0,0,0)).copy(t),o.push(e)}else{for(var e,n=!1,i=1/0,r=0,u=0;u<o.length;++u){var c=o[u];if(c.intersect(t)){var h=new Zn(0,0,0,0);h.copy(c),h.union(t),o[u]=h,n=!0;break}if(s){l.copy(t),l.union(c);var d=t.width*t.height,p=c.width*c.height,f=l.width*l.height-d-p;f<i&&(i=f,r=u)}}if(s&&(o[r].union(t),n=!0),!n)(e=new Zn(0,0,0,0)).copy(t),o.push(e);s||(s=o.length>=a)}}for(var c=this.__startIndex;c<this.__endIndex;++c){if(p=t[c]){var h=p.shouldBePainted(n,i,!0,!0);(f=p.__isRendered&&(p.__dirty&pi||!h)?p.getPrevPaintRect():null)&&u(f);var d=h&&(p.__dirty&pi||!p.__isRendered)?p.getPaintRect():null;d&&u(d)}}for(c=this.__prevStartIndex;c<this.__prevEndIndex;++c){var p,f;h=(p=e[c])&&p.shouldBePainted(n,i,!0,!0);if(p&&(!h||!p.__zr)&&p.__isRendered)(f=p.getPrevPaintRect())&&u(f)}do{r=!1;for(c=0;c<o.length;)if(o[c].isZero())o.splice(c,1);else{for(var g=c+1;g<o.length;)o[c].intersect(o[g])?(r=!0,o[c].union(o[g]),o.splice(g,1)):g++;c++}}while(r);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var i=this.dom,r=this.ctx,o=i.width,a=i.height;e=e||this.clearColor;var s=this.motionBlur&&!t,l=this.lastFrameAlpha,u=this.dpr,c=this;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,o/u,a/u));var h=this.domBack;function d(t,n,i,o){if(r.clearRect(t,n,i,o),e&&"transparent"!==e){var a=void 0;if(xe(e))a=(e.global||e.__width===i&&e.__height===o)&&e.__canvasGradient||ry(r,e,{x:0,y:0,width:i,height:o}),e.__canvasGradient=a,e.__width=i,e.__height=o;else null!=e.image&&(e.scaleX=e.scaleX||u,e.scaleY=e.scaleY||u,a=fy(r,e,{dirty:function(){c.setUnpainted(),c.painter.refresh()}}));r.save(),r.fillStyle=a||e,r.fillRect(t,n,i,o),r.restore()}s&&(r.save(),r.globalAlpha=l,r.drawImage(h,t,n,i,o),r.restore())}!n||s?d(0,0,o,a):n.length&&re(n,(function(t){d(t.x*u,t.y*u,t.width*u,t.height*u)}))},e}(ln),_A=1e5,xA=314159,bA=.01;var wA=function(){function t(t,e,n,i){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var r=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=Kt({},n||{}),this.dpr=n.devicePixelRatio||yo,this._singleCanvas=r,this.root=t,t.style&&(ze(t),t.innerHTML=""),this.storage=e;var o=this._zlevelList;this._prevDisplayList=[];var a=this._layers;if(r){var s=t,l=s.width,u=s.height;null!=n.width&&(l=n.width),null!=n.height&&(u=n.height),this.dpr=n.devicePixelRatio||1,s.width=l*this.dpr,s.height=u*this.dpr,this._width=l,this._height=u;var c=new yA(s,this,this.dpr);c.__builtin__=!0,c.initContext(),a[314159]=c,c.zlevel=xA,o.push(xA),this._domRoot=t}else{this._width=ay(t,0,n),this._height=ay(t,1,n);var h=this._domRoot=function(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}(this._width,this._height);t.appendChild(h)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var r=0;r<i.length;r++){var o=i[r],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===r?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e=t.length,n=this._hoverlayer;if(n&&n.clear(),e){for(var i,r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<e;o++){var a=t[o];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(_A)),i||(i=n.ctx).save(),Iy(i,a,r,o===e-1))}i&&i.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(_A)},t.prototype.paintOne=function(t,e){My(t,e)},t.prototype._paintList=function(t,e,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,n),o=r.finished,a=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer((function(t){t.afterBrush&&t.afterBrush()}));else{var s=this;yi((function(){s._paintList(t,e,n,i)}))}}},t.prototype._compositeManually=function(){var t=this.getLayer(xA).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer((function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)}))},t.prototype._doPaintList=function(t,e,n){for(var i=this,r=[],o=this._opts.useDirtyRect,a=0;a<this._zlevelList.length;a++){var s=this._zlevelList[a],l=this._layers[s];l.__builtin__&&l!==this._hoverlayer&&(l.__dirty||n)&&r.push(l)}for(var u=!0,c=!1,h=function(a){var s,l=r[a],h=l.ctx,p=o&&l.createRepaintRects(t,e,d._width,d._height),f=n?l.__startIndex:l.__drawIndex,g=!n&&l.incremental&&Date.now,m=g&&Date.now(),v=l.zlevel===d._zlevelList[0]?d._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,v,p);else if(f===l.__startIndex){var y=t[f];y.incremental&&y.notClear&&!n||l.clear(!1,v,p)}-1===f&&(console.error("For some unknown reason. drawIndex is -1"),f=l.__startIndex);var _=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(s=f;s<l.__endIndex;s++){var r=t[s];if(r.__inHover&&(c=!0),i._doPaintEl(r,l,o,e,n,s===l.__endIndex-1),g)if(Date.now()-m>15)break}n.prevElClipPaths&&h.restore()};if(p)if(0===p.length)s=l.__endIndex;else for(var x=d.dpr,b=0;b<p.length;++b){var w=p[b];h.save(),h.beginPath(),h.rect(w.x*x,w.y*x,w.width*x,w.height*x),h.clip(),_(w),h.restore()}else h.save(),_(),h.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(u=!1)},d=this,p=0;p<r.length;p++)h(p);return It.wxa&&re(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),{finished:u,needsRefreshHover:c}},t.prototype._doPaintEl=function(t,e,n,i,r,o){var a=e.ctx;if(n){var s=t.getPaintRect();(!i||s&&s.intersect(i))&&(Iy(a,t,r,o),t.setPrevPaintRect(s))}else Iy(a,t,r,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=xA);var n=this._layers[t];return n||((n=new yA("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?qt(n,this._layerConfig[t],!0):this._layerConfig[t-bA]&&qt(n,this._layerConfig[t-bA],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,i=this._zlevelList,r=i.length,o=this._domRoot,a=null,s=-1;if(!n[t]&&function(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}(e)){if(r>0&&t>i[0]){for(s=0;s<r-1&&!(i[s]<t&&i[s+1]>t);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__&&t.call(e,o,r)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__||t.call(e,o,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){o&&(o.__endIndex!==t&&(o.__dirty=!0),o.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var n=1;n<t.length;n++){if((s=t[n]).zlevel!==t[n-1].zlevel||s.incremental){this._needsManuallyCompositing=!0;break}}var i,r,o=null,a=0;for(r=0;r<t.length;r++){var s,l=(s=t[r]).zlevel,u=void 0;i!==l&&(i=l,a=0),s.incremental?((u=this.getLayer(l+.001,this._needsManuallyCompositing)).incremental=!0,a=1):u=this.getLayer(l+(a>0?bA:0),this._needsManuallyCompositing),u.__builtin__||Zt("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==r&&(u.__dirty=!0),u.__startIndex=r,u.incremental?u.__drawIndex=-1:u.__drawIndex=r,e(r),o=u),s.__dirty&pi&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=r))}e(r),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,re(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?qt(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i];if(r===t||r===t+bA)qt(this._layers[r],n[t],!0)}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(te(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=ay(r,0,i),e=ay(r,1,i),n.style.display="",this._width!==t||e!==this._height){for(var o in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(xA).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new yA("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;this.eachLayer((function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())}))}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var u=a[s];Iy(n,u,o,s===l-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();function SA(t){t.registerPainter("canvas",wA)}var AA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return Tt(e,t),e.prototype.getInitialData=function(t){return Px(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new qo,n=ty("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===i?"circle":i,a=.8*t.itemHeight,s=ty(o,(t.itemWidth-a)/2,(t.itemHeight-a)/2,a,a,t.itemStyle.fill);e.add(s),s.setStyle(t.itemStyle);var l="inherit"===t.iconRotate?r:t.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(Em);function TA(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=Ig(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a<n.length;a++)o.push(Ig(t,e,n[a]));return o.join(" ")}}function MA(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!he(e))return e+"";for(var i=[],r=0;r<n.length;r++){var o=t.getDimensionIndex(n[r]);o>=0&&i.push(e[o])}return i.join(" ")}var IA=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return Tt(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=ty(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=CA,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){Hu(this.childAt(0))},e.prototype.downplay=function(){Wu(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var c=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,c)}else{(d=this.childAt(0)).silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};u?d.attr(h):Lh(d,h,a,n),Bh(d)}if(this._updateCommon(t,n,s,i,r),l){var d=this.childAt(0);if(!u){h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}};d.scaleX=d.scaleY=0,d.style.opacity=0,Ph(d,h,a,n)}}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,u,c,h,d,p,f=this.childAt(0),g=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,h=i.labelStatesModels,d=i.hoverScale,p=i.cursorStyle,c=i.emphasisDisabled),!i||t.hasItemOption){var m=i&&i.itemModel?i.itemModel:t.getItemModel(e),v=m.getModel("emphasis");o=v.getModel("itemStyle").getItemStyle(),s=m.getModel(["select","itemStyle"]).getItemStyle(),a=m.getModel(["blur","itemStyle"]).getItemStyle(),l=v.get("focus"),u=v.get("blurScope"),c=v.get("disabled"),h=gd(m),d=v.getShallow("scale"),p=m.getShallow("cursor")}var y=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(y||0)*Math.PI/180||0);var _=ny(t.getItemVisual(e,"symbolOffset"),n);_&&(f.x=_[0],f.y=_[1]),p&&f.attr("cursor",p);var x=t.getItemVisual(e,"style"),b=x.fill;if(f instanceof Gl){var w=f.style;f.useStyle(Kt({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},x))}else f.__isEmptyBrush?f.useStyle(Kt({},x)):f.useStyle(x),f.style.decal=null,f.setColor(b,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),A=this._z2;null!=S?null==A&&(this._z2=f.z2,f.z2+=S):null!=A&&(f.z2=A,this._z2=null);var T=r&&r.useNameLabel;fd(f,h,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return T?t.getName(e):TA(t,e)},inheritColor:b,defaultOpacity:x.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var M=f.ensureState("emphasis");M.style=o,f.ensureState("select").style=s,f.ensureState("blur").style=a;var I=null==d||!0===d?Math.max(1.1,3/this._sizeY):isFinite(d)&&d>0?+d:1;M.scaleX=this._sizeX*I,M.scaleY=this._sizeY*I,this.setSymbolScale(1),ic(this,l,u,c)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=cu(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&Nh(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();Nh(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return ey(t.getItemVisual(e,"symbolSize"))},e}(qo);function CA(t,e){this.parent.drift(t,e)}function DA(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function EA(t){return null==t||me(t)||(t={isIgnore:t}),t||{}}function LA(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:gd(e),cursorStyle:e.get("cursor")}}var PA=function(){function t(t){this.group=new qo,this._SymbolCtor=t||IA}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=EA(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=LA(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=u(i);if(DA(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(c,h){var d=r.getItemGraphicEl(h),p=u(c);if(DA(t,p,c,e)){var f=t.getItemVisual(c,"symbol")||"circle",g=d&&d.getSymbolType&&d.getSymbolType();if(!d||g&&g!==f)n.remove(d),(d=new o(t,c,s,l)).setPosition(p);else{d.updateData(t,c,s,l);var m={x:p[0],y:p[1]};a?d.attr(m):Lh(d,m,i)}n.add(d),t.setItemGraphicEl(c,d)}else n.remove(d)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=LA(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=EA(n);for(var r=t.start;r<t.end;r++){var o=e.getItemLayout(r);if(DA(e,o,r,n)){var a=new this._SymbolCtor(e,r,this._seriesScope);a.traverse(i),a.setPosition(o),this.group.add(a),e.setItemGraphicEl(r,a),this._progressiveEls.push(a)}}},t.prototype.eachRendered=function(t){ud(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}),n.hostModel)})):e.removeAll()},t}();function RA(t,e,n){var i=t.getBaseAxis(),r=t.getOtherAxis(i),o=function(t,e){var n=0,i=t.scale.getExtent();"start"===e?n=i[0]:"end"===e?n=i[1]:ge(e)&&!isNaN(e)?n=e:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]);return n}(r,n),a=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(a),c="x"===s||"radius"===s?1:0,h=oe(t.dimensions,(function(t){return e.mapDimension(t)})),d=!1,p=e.getCalculationInfo("stackResultDimension");return Ex(e,h[0])&&(d=!0,h[0]=p),Ex(e,h[1])&&(d=!0,h[1]=p),{dataDimsForPoint:h,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!d,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function NA(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var kA=Math.min,OA=Math.max;function BA(t,e){return isNaN(t)||isNaN(e)}function zA(t,e,n,i,r,o,a,s,l){for(var u,c,h,d,p,f,g=n,m=0;m<i;m++){var v=e[2*g],y=e[2*g+1];if(g>=r||g<0)break;if(BA(v,y)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](v,y),h=v,d=y;else{var _=v-u,x=y-c;if(_*_+x*x<.5){g+=o;continue}if(a>0){for(var b=g+o,w=e[2*b],S=e[2*b+1];w===v&&S===y&&m<i;)m++,g+=o,w=e[2*(b+=o)],S=e[2*b+1],_=(v=e[2*g])-u,x=(y=e[2*g+1])-c;var A=m+1;if(l)for(;BA(w,S)&&A<i;)A++,w=e[2*(b+=o)],S=e[2*b+1];var T=.5,M=0,I=0,C=void 0,D=void 0;if(A>=i||BA(w,S))p=v,f=y;else{M=w-u,I=S-c;var E=v-u,L=w-v,P=y-c,R=S-y,N=void 0,k=void 0;if("x"===s){var O=M>0?1:-1;p=v-O*(N=Math.abs(E))*a,f=y,C=v+O*(k=Math.abs(L))*a,D=y}else if("y"===s){var B=I>0?1:-1;p=v,f=y-B*(N=Math.abs(P))*a,C=v,D=y+B*(k=Math.abs(R))*a}else N=Math.sqrt(E*E+P*P),p=v-M*a*(1-(T=(k=Math.sqrt(L*L+R*R))/(k+N))),f=y-I*a*(1-T),D=y+I*a*T,C=kA(C=v+M*a*T,OA(w,v)),D=kA(D,OA(S,y)),C=OA(C,kA(w,v)),f=y-(I=(D=OA(D,kA(S,y)))-y)*N/k,p=kA(p=v-(M=C-v)*N/k,OA(u,v)),f=kA(f,OA(c,y)),C=v+(M=v-(p=OA(p,kA(u,v))))*k/N,D=y+(I=y-(f=OA(f,kA(c,y))))*k/N}t.bezierCurveTo(h,d,p,f,v,y),h=C,d=D}else t.lineTo(v,y)}u=v,c=y,g+=o}return m}var FA=function(){this.smooth=0,this.smoothConstraint=!0},VA=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return Tt(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new FA},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&BA(n[2*r-2],n[2*r-1]);r--);for(;i<r&&BA(n[2*i],n[2*i+1]);i++);}for(;i<r;)i+=zA(t,n,i,r,r,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,i,r=this.path.data,o=gl.CMD,a="x"===e,s=[],l=0;l<r.length;){var u=void 0,c=void 0,h=void 0,d=void 0,p=void 0,f=void 0,g=void 0;switch(r[l++]){case o.M:n=r[l++],i=r[l++];break;case o.L:if(u=r[l++],c=r[l++],(g=a?(t-n)/(u-n):(t-i)/(c-i))<=1&&g>=0){var m=a?(c-i)*g+i:(u-n)*g+n;return a?[t,m]:[m,t]}n=u,i=c;break;case o.C:u=r[l++],c=r[l++],h=r[l++],d=r[l++],p=r[l++],f=r[l++];var v=a?Ni(n,u,h,p,t,s):Ni(i,c,d,f,t,s);if(v>0)for(var y=0;y<v;y++){var _=s[y];if(_<=1&&_>=0){m=a?Pi(i,c,d,f,_):Pi(n,u,h,p,_);return a?[t,m]:[m,t]}}n=p,i=f}}},e}(Ol),GA=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e}(FA),UA=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return Tt(e,t),e.prototype.getDefaultShape=function(){return new GA},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&BA(n[2*o-2],n[2*o-1]);o--);for(;r<o&&BA(n[2*r],n[2*r+1]);r++);}for(;r<o;){var s=zA(t,n,r,o,o,1,e.smooth,a,e.connectNulls);zA(t,i,r+s-1,s,o,-1,e.stackedOnSmooth,a,e.connectNulls),r+=s+1,t.closePath()}},e}(Ol);function HA(t,e,n,i,r){var o=t.getArea(),a=o.x,s=o.y,l=o.width,u=o.height,c=n.get(["lineStyle","width"])||2;a-=c/2,s-=c/2,l+=c,u+=c,l=Math.ceil(l),a!==Math.floor(a)&&(a=Math.floor(a),l++);var h=new Zl({shape:{x:a,y:s,width:l,height:u}});if(e){var d=t.getBaseAxis(),p=d.isHorizontal(),f=d.inverse;p?(f&&(h.shape.x+=l),h.shape.width=0):(f||(h.shape.y+=u),h.shape.height=0);var g=de(r)?function(t){r(t,h)}:null;Ph(h,{shape:{width:l,height:u,x:a,y:s}},n,null,i,g)}return h}function WA(t,e,n){var i=t.getArea(),r=aa(i.r0,1),o=aa(i.r,1),a=new qc({shape:{cx:aa(t.cx,1),cy:aa(t.cy,1),r0:r,r:o,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});e&&("angle"===t.getBaseAxis().dim?a.shape.endAngle=i.startAngle:a.shape.r=r,Ph(a,{shape:{endAngle:i.endAngle,r:o}},n));return a}function XA(t,e,n,i,r){return t?"polar"===t.type?WA(t,e,n):"cartesian2d"===t.type?HA(t,e,n,i,r):null:null}function jA(t,e){return t.type===e}function YA(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function ZA(t){for(var e=1/0,n=1/0,i=-1/0,r=-1/0,o=0;o<t.length;){var a=t[o++],s=t[o++];isNaN(a)||(e=Math.min(a,e),i=Math.max(a,i)),isNaN(s)||(n=Math.min(s,n),r=Math.max(s,r))}return[[e,n],[i,r]]}function QA(t,e){var n=ZA(t),i=n[0],r=n[1],o=ZA(e),a=o[0],s=o[1];return Math.max(Math.abs(i[0]-a[0]),Math.abs(i[1]-a[1]),Math.abs(r[0]-s[0]),Math.abs(r[1]-s[1]))}function qA(t){return ge(t)?t:t?.5:0}function JA(t,e,n,i){var r=e.getBaseAxis(),o="x"===r.dim||"radius"===r.dim?0:1,a=[],s=0,l=[],u=[],c=[],h=[];if(i){for(s=0;s<t.length;s+=2)isNaN(t[s])||isNaN(t[s+1])||h.push(t[s],t[s+1]);t=h}for(s=0;s<t.length-2;s+=2)switch(c[0]=t[s+2],c[1]=t[s+3],u[0]=t[s],u[1]=t[s+1],a.push(u[0],u[1]),n){case"end":l[o]=c[o],l[1-o]=u[1-o],a.push(l[0],l[1]);break;case"middle":var d=(u[o]+c[o])/2,p=[];l[o]=p[o]=d,l[1-o]=u[1-o],p[1-o]=c[1-o],a.push(l[0],l[1]),a.push(p[0],p[1]);break;default:l[o]=u[o],l[1-o]=c[1-o],a.push(l[0],l[1])}return a.push(t[s++],t[s++]),a}function KA(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:function(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=ur(e[r]),s=ur(e[o]),l=i-r,u=gr([Ki(ir(a[0],s[0],l)),Ki(ir(a[1],s[1],l)),Ki(ir(a[2],s[2],l)),$i(ir(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:o,value:i}:u}}((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;s<o;s++){var l=t[s],u=l.coord;if(u<0)n=l;else{if(u>e){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}function $A(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;a<r;a+=o)if(1.5*IA.getSymbolSize(e,a)[t.isHorizontal()?1:0]>i)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return re(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function tT(t,e){return[t[2*e],t[2*e+1]]}function eT(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<_u.length;e++)if(t.get([_u[e],"endLabel","show"]))return!0;return!1}function nT(t,e,n,i){if(jA(e,"cartesian2d")){var r=i.getModel("endLabel"),o=r.get("valueAnimation"),a=i.getData(),s={lastFrameIndex:0},l=eT(i)?function(n,i){t._endLabelOnDuring(n,i,a,s,o,r,e)}:null,u=e.getBaseAxis().isHorizontal(),c=HA(e,n,i,(function(){var e=t._endLabel;e&&n&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})}),l);if(!i.get("clip",!0)){var h=c.shape,d=Math.max(h.width,h.height);u?(h.y-=d,h.height+=2*d):(h.x-=d,h.width+=2*d)}return l&&l(1,c),c}return WA(e,n,i)}var iT=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.prototype.init=function(){var t=new qo,e=new PA;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem,o=this.group,a=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=a.getLayout("points")||[],c="polar"===r.type,h=this._coordSys,d=this._symbolDraw,p=this._polyline,f=this._polygon,g=this._lineGroup,m=!e.ssr&&t.get("animation"),v=!l.isEmpty(),y=l.get("origin"),_=RA(r,a,y),x=v&&function(t,e,n){if(!n.valueDim)return[];for(var i=e.count(),r=qx(2*i),o=0;o<i;o++){var a=NA(n,t,e,o);r[2*o]=a[0],r[2*o+1]=a[1]}return r}(r,a,_),b=t.get("showSymbol"),w=t.get("connectNulls"),S=b&&!c&&$A(t,a,r),A=this._data;A&&A.eachItemGraphicEl((function(t,e){t.__temp&&(o.remove(t),A.setItemGraphicEl(e,null))})),b||d.remove(),o.add(g);var T,M=!c&&t.get("step");r&&r.getArea&&t.get("clip",!0)&&(null!=(T=r.getArea()).width?(T.x-=.1,T.y-=.1,T.width+=.2,T.height+=.2):T.r0&&(T.r0-=.5,T.r+=.5)),this._clipShapeForSymbol=T;var I=function(t,e,n){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()&&"cartesian2d"===e.type){for(var r,o,a=i.length-1;a>=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),u=oe(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),c=u.length,h=o.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),h.reverse());var d=KA(u,"x"===r?n.getWidth():n.getHeight()),p=d.length;if(!p&&c)return u[0].coord<0?h[1]?h[1]:u[c-1].color:h[0]?h[0]:u[0].color;var f=d[0].coord-10,g=d[p-1].coord+10,m=g-f;if(m<.001)return"transparent";re(d,(function(t){t.offset=(t.coord-f)/m})),d.push({offset:p?d[p-1].offset:.5,color:h[1]||"transparent"}),d.unshift({offset:p?d[0].offset:.5,color:h[0]||"transparent"});var v=new mh(0,0,0,0,d,!0);return v[r]=f,v[r+"2"]=g,v}}}(a,r,n)||a.getVisual("style")[a.getVisual("drawType")];if(p&&h.type===r.type&&M===this._step){v&&!f?f=this._newPolygon(u,x):f&&!v&&(g.remove(f),f=this._polygon=null),c||this._initOrUpdateEndLabel(t,r,Np(I));var C=g.getClipPath();if(C)Ph(C,{shape:nT(this,r,!1,t).shape},t);else g.setClipPath(nT(this,r,!0,t));b&&d.updateData(a,{isIgnore:S,clipShape:T,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),YA(this._stackedOnPoints,x)&&YA(this._points,u)||(m?this._doUpdateAnimation(a,x,r,n,M,y,w):(M&&(u=JA(u,r,M,w),x&&(x=JA(x,r,M,w))),p.setShape({points:u}),f&&f.setShape({points:u,stackedOnPoints:x})))}else b&&d.updateData(a,{isIgnore:S,clipShape:T,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),m&&this._initSymbolLabelAnimation(a,r,T),M&&(u=JA(u,r,M,w),x&&(x=JA(x,r,M,w))),p=this._newPolyline(u),v?f=this._newPolygon(u,x):f&&(g.remove(f),f=this._polygon=null),c||this._initOrUpdateEndLabel(t,r,Np(I)),g.setClipPath(nT(this,r,!0,t));var D=t.getModel("emphasis"),E=D.get("focus"),L=D.get("blurScope"),P=D.get("disabled");(p.useStyle($t(s.getLineStyle(),{fill:"none",stroke:I,lineJoin:"bevel"})),sc(p,t,"lineStyle"),p.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(p.getState("emphasis").style.lineWidth=+p.style.lineWidth+1);cu(p).seriesIndex=t.seriesIndex,ic(p,E,L,P);var R=qA(t.get("smooth")),N=t.get("smoothMonotone");if(p.setShape({smooth:R,smoothMonotone:N,connectNulls:w}),f){var k=a.getCalculationInfo("stackedOnSeries"),O=0;f.useStyle($t(l.getAreaStyle(),{fill:I,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),k&&(O=qA(k.get("smooth"))),f.setShape({smooth:R,stackedOnSmooth:O,smoothMonotone:N,connectNulls:w}),sc(f,t,"areaStyle"),cu(f).seriesIndex=t.seriesIndex,ic(f,E,L,P)}var B=function(t){i._changePolyState(t)};a.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=B)})),this._polyline.onHoverStateChange=B,this._data=a,this._coordSys=r,this._stackedOnPoints=x,this._points=u,this._step=M,this._valueOrigin=y,t.get("triggerLineEvent")&&(this.packEventData(t,p),f&&this.packEventData(t,f))},e.prototype.packEventData=function(t,e){cu(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=Ga(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=t.get("zlevel")||0,h=t.get("z")||0;(s=new IA(r,o)).x=l,s.y=u,s.setZ(c,h);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=c,d.z=h,d.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Um.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=Ga(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Um.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;zu(this._polyline,t),e&&zu(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new VA({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new UA({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");de(l)&&(l=l(null));var u=s.get("animationDelay")||0,c=de(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var h=[t.x,t.y],d=void 0,p=void 0,f=void 0;if(n)if(r){var g=n,m=e.pointToCoord(h);i?(d=g.startAngle,p=g.endAngle,f=-m[1]/180*Math.PI):(d=g.r0,p=g.r,f=m[0])}else{var v=n;i?(d=v.x,p=v.x+v.width,f=t.x):(d=v.y+v.height,p=v.y,f=t.y)}var y=p===d?0:(f-d)/(p-d);a&&(y=1-y);var _=de(u)?u(o):l*y+c,x=s.getSymbolPath(),b=x.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:_}),b&&b.animateFrom({style:{opacity:0}},{duration:300,delay:_}),x.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(eT(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new Jl({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(a);l>=0&&(fd(o,gd(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?MA(r,n):TA(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),c=n.hostModel,h=c.get("connectNulls"),d=o.get("precision"),p=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),m=f.inverse,v=e.shape,y=m?g?v.x:v.y+v.height:g?v.x+v.width:v.y,_=(g?p:0)*(m?-1:1),x=(g?0:-p)*(m?-1:1),b=g?"x":"y",w=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u<o;u++)if(r=t[2*u+a],!isNaN(r)&&!isNaN(t[2*u+1-a]))if(0!==u){if(i<=e&&r>=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,y,b),S=w.range,A=S[1]-S[0],T=void 0;if(A>=1){if(A>1&&!h){var M=tT(u,S[0]);s.attr({x:M[0]+_,y:M[1]+x}),r&&(T=c.getRawValue(S[0]))}else{(M=l.getPointOn(y,b))&&s.attr({x:M[0]+_,y:M[1]+x});var I=c.getRawValue(S[0]),C=c.getRawValue(S[1]);r&&(T=Ja(n,d,I,C,w.t))}i.lastFrameIndex=S[0]}else{var D=1===t||i.lastFrameIndex>0?S[0]:0;M=tT(u,D);r&&(T=c.getRawValue(D)),s.attr({x:M[0]+_,y:M[1]+x})}if(r){var E=Sd(s);"function"==typeof E.setLabelText&&E.setLabelText(T)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,c=function(t,e,n,i,r,o,a){for(var s=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),l=[],u=[],c=[],h=[],d=[],p=[],f=[],g=RA(r,e,a),m=t.getLayout("points")||[],v=e.getLayout("points")||[],y=0;y<s.length;y++){var _=s[y],x=!0,b=void 0,w=void 0;switch(_.cmd){case"=":b=2*_.idx,w=2*_.idx1;var S=m[b],A=m[b+1],T=v[w],M=v[w+1];(isNaN(S)||isNaN(A))&&(S=T,A=M),l.push(S,A),u.push(T,M),c.push(n[b],n[b+1]),h.push(i[w],i[w+1]),f.push(e.getRawIndex(_.idx1));break;case"+":var I=_.idx,C=g.dataDimsForPoint,D=r.dataToPoint([e.get(C[0],I),e.get(C[1],I)]);w=2*I,l.push(D[0],D[1]),u.push(v[w],v[w+1]);var E=NA(g,r,e,I);c.push(E[0],E[1]),h.push(i[w],i[w+1]),f.push(e.getRawIndex(I));break;case"-":x=!1}x&&(d.push(_),p.push(p.length))}p.sort((function(t,e){return f[t]-f[e]}));var L=l.length,P=qx(L),R=qx(L),N=qx(L),k=qx(L),O=[];for(y=0;y<p.length;y++){var B=p[y],z=2*y,F=2*B;P[z]=l[F],P[z+1]=l[F+1],R[z]=u[F],R[z+1]=u[F+1],N[z]=c[F],N[z+1]=c[F+1],k[z]=h[F],k[z+1]=h[F+1],O[y]=d[B]}return{current:P,next:R,stackedOnCurrent:N,stackedOnNext:k,status:O}}(this._data,t,this._stackedOnPoints,e,this._coordSys,0,this._valueOrigin),h=c.current,d=c.stackedOnCurrent,p=c.next,f=c.stackedOnNext;if(r&&(h=JA(c.current,n,r,a),d=JA(c.stackedOnCurrent,n,r,a),p=JA(c.next,n,r,a),f=JA(c.stackedOnNext,n,r,a)),QA(h,p)>3e3||l&&QA(d,f)>3e3)return s.stopAnimation(),s.setShape({points:p}),void(l&&(l.stopAnimation(),l.setShape({points:p,stackedOnPoints:f})));s.shape.__points=c.current,s.shape.points=h;var g={shape:{points:p}};c.current!==h&&(g.shape.__points=c.next),s.stopAnimation(),Lh(s,g,u),l&&(l.setShape({points:h,stackedOnPoints:d}),l.stopAnimation(),Lh(l,{shape:{stackedOnPoints:f}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var m=[],v=c.status,y=0;y<v.length;y++){if("="===v[y].cmd){var _=t.getItemGraphicEl(v[y].idx1);_&&m.push({el:_,ptIdx:y})}}s.animators&&s.animators.length&&s.animators[0].during((function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;e<m.length;e++){var n=m[e].el,i=2*m[e].ptIdx;n.x=t[i],n.y=t[i+1],n.markRedraw()}}))},e.prototype.remove=function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(Um);function rT(t,e){return{seriesType:t,plan:Fm(),reset:function(t){var n=t.getData(),i=t.coordinateSystem,r=t.pipelineContext,o=e||r.large;if(i){var a=oe(i.dimensions,(function(t){return n.mapDimension(t)})).slice(0,2),s=a.length,l=n.getCalculationInfo("stackResultDimension");Ex(n,a[0])&&(a[0]=l),Ex(n,a[1])&&(a[1]=l);var u=n.getStore(),c=n.getDimensionIndex(a[0]),h=n.getDimensionIndex(a[1]);return s&&{progress:function(t,e){for(var n=t.end-t.start,r=o&&qx(n*s),a=[],l=[],d=t.start,p=0;d<t.end;d++){var f=void 0;if(1===s){var g=u.get(c,d);f=i.dataToPoint(g,null,l)}else a[0]=u.get(c,d),a[1]=u.get(h,d),f=i.dataToPoint(a,null,l);o?(r[p++]=f[0],r[p++]=f[1]):e.setItemLayout(d,f.slice())}o&&e.setLayout("points",r)}}}}}}var oT={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)isNaN(t[i])||(e+=t[i],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},minmax:function(t){for(var e=-1/0,n=-1/0,i=0;i<t.length;i++){var r=t[i],o=Math.abs(r);o>e&&(e=o,n=r)}return isFinite(n)?n:NaN},nearest:function(t){return t[0]}},aT=function(t){return Math.round(t.length/2)};function sT(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,a=i.count();if(a>10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),c=n.getDevicePixelRatio(),h=Math.abs(u[1]-u[0])*(c||1),d=Math.round(a/h);if(isFinite(d)&&d>1){"lttb"===r&&t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/d));var p=void 0;pe(r)?p=oT[r]:de(r)&&(p=r),p&&t.setData(i.downSample(i.mapDimension(l.dim),1/d,p,aT))}}}}}var lT=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.getInitialData=function(t,e){return Px(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)re(i.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=t.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===e[n]||"y1"===e[n];if(l&&!a&&(s+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[l?1:0]));for(var u=void 0,c=void 0,h=1,d=0;d<i.length;d++){var p=i[d].coord,f=d===i.length-1?i[d-1].tickValue+h:i[d].tickValue;if(f===s){c=p;break}if(f<s)u=p;else if(null!=u&&f>s){c=(p+u)/2;break}1===d&&(h=f-i[0].tickValue)}null==c&&(u?u&&(c=i[i.length-1].coord):c=i[0].coord),o[n]=t.toGlobalCoord(c)}}));else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(Em);Em.registerClass(lT);var uT=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.getInitialData=function(){return Px(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=Gd(lT.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(lT),cT=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},hT=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return Tt(e,t),e.prototype.getDefaultShape=function(){return new cT},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,c=e.clockwise,h=2*Math.PI,d=c?u-l<h:l-u<h;d||(l=u-(c?h:-h));var p=Math.cos(l),f=Math.sin(l),g=Math.cos(u),m=Math.sin(u);d?(t.moveTo(p*r+n,f*r+i),t.arc(p*s+n,f*s+i,a,-Math.PI+l,l,!c)):t.moveTo(p*o+n,f*o+i),t.arc(n,i,o,l,u,!c),t.arc(g*s+n,m*s+i,a,u-2*Math.PI,u-Math.PI,!c),0!==r&&t.arc(n,i,r,u,l,c)},e}(Ol);function dT(t,e,n){return e*Math.sin(t)*(n?-1:1)}function pT(t,e,n){return e*Math.cos(t)*(n?1:-1)}function fT(t,e,n){var i=t.get("borderRadius");if(null==i)return n?{cornerRadius:0}:null;he(i)||(i=[i,i,i,i]);var r=Math.abs(e.r||0-e.r0||0);return{cornerRadius:oe(i,(function(t){return zo(t,r)}))}}var gT=Math.max,mT=Math.min;var vT=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return Tt(e,t),e.prototype.render=function(t,e,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var r=t.get("coordinateSystem");"cartesian2d"!==r&&"polar"!==r||(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,i))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){ud(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,n,i){var r,o=this.group,a=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?r=u.isHorizontal():"polar"===l.type&&(r="angle"===u.dim);var c=t.isAnimationEnabled()?t:null,h=function(t,e){var n=t.get("realtimeSort",!0),i=e.getBaseAxis();if(n&&"category"===i.type&&"cartesian2d"===e.type)return{baseAxis:i,otherAxis:e.getOtherAxis(i)}}(t,l);h&&this._enableRealtimeSort(h,a,n);var d=t.get("clip",!0)||h,p=function(t,e){var n=t.getArea&&t.getArea();if(jA(t,"cartesian2d")){var i=t.getBaseAxis();if("category"!==i.type||!i.onBand){var r=e.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}(l,a);o.removeClipPath();var f=t.get("roundCap",!0),g=t.get("showBackground",!0),m=t.getModel("backgroundStyle"),v=m.get("borderRadius")||0,y=[],_=this._backgroundEls,x=i&&i.isInitSort,b=i&&"changeAxisOrder"===i.type;function w(t){var e=TT[l.type](a,t),n=function(t,e,n){var i="polar"===t.type?qc:Zl;return new i({shape:PT(e,n,t),silent:!0,z2:0})}(l,r,e);return n.useStyle(m.getItemStyle()),"cartesian2d"===l.type?n.setShape("r",v):n.setShape("cornerRadius",v),y[t]=n,n}a.diff(s).add((function(e){var n=a.getItemModel(e),i=TT[l.type](a,e,n);if(g&&w(e),a.hasValue(e)&&AT[l.type](i)){var s=!1;d&&(s=yT[l.type](p,i));var m=_T[l.type](t,a,e,i,r,c,u.model,!1,f);h&&(m.forceLabelAnimation=!0),IT(m,a,e,n,i,t,r,"polar"===l.type),x?m.attr({shape:i}):h?xT(h,c,m,i,e,r,!1,!1):Ph(m,{shape:i},t,e),a.setItemGraphicEl(e,m),o.add(m),m.ignore=s}})).update((function(e,n){var i=a.getItemModel(e),S=TT[l.type](a,e,i);if(g){var A=void 0;0===_.length?A=w(n):((A=_[n]).useStyle(m.getItemStyle()),"cartesian2d"===l.type?A.setShape("r",v):A.setShape("cornerRadius",v),y[e]=A);var T=TT[l.type](a,e);Lh(A,{shape:PT(r,T,l)},c,e)}var M=s.getItemGraphicEl(n);if(a.hasValue(e)&&AT[l.type](S)){var I=!1;if(d&&(I=yT[l.type](p,S))&&o.remove(M),M?Bh(M):M=_T[l.type](t,a,e,S,r,c,u.model,!!M,f),h&&(M.forceLabelAnimation=!0),b){var C=M.getTextContent();if(C){var D=Sd(C);null!=D.prevValue&&(D.prevValue=D.value)}}else IT(M,a,e,i,S,t,r,"polar"===l.type);x?M.attr({shape:S}):h?xT(h,c,M,S,e,r,!0,b):Lh(M,{shape:S},t,e,null),a.setItemGraphicEl(e,M),M.ignore=I,o.add(M)}else o.remove(M)})).remove((function(e){var n=s.getItemGraphicEl(e);n&&Oh(n,t,e)})).execute();var S=this._backgroundGroup||(this._backgroundGroup=new qo);S.removeAll();for(var A=0;A<y.length;++A)S.add(y[A]);o.add(S),this._backgroundEls=y,this._data=a},e.prototype._renderLarge=function(t,e,n){this._clear(),ET(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),ET(e,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)&&XA(t.coordinateSystem,!1,t),n=this.group;e?n.setClipPath(e):n.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var i=this;if(e.count()){var r=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var o=function(t){var n=e.getItemGraphicEl(t),i=n&&n.shape;return i&&Math.abs(r.isHorizontal()?i.height:i.width)||0};this._onRendered=function(){i._updateSortWithinSameData(e,o,r,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var i=[];return t.each(t.mapDimension(e.dim),(function(t,e){var r=n(e);r=null==r?NaN:r,i.push({dataIndex:e,mappedValue:r,ordinalNumber:t})})),i.sort((function(t,e){return e.mappedValue-t.mappedValue})),{ordinalNumbers:oe(i,(function(t){return t.ordinalNumber}))}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var i=n.scale,r=t.mapDimension(n.dim),o=Number.MAX_VALUE,a=0,s=i.getOrdinalMeta().categories.length;a<s;++a){var l=t.rawIndexOf(r,i.getRawOrdinalNumber(a)),u=l<0?Number.MIN_VALUE:e(t.indexOfRawIndex(l));if(u>o)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){Oh(e,t,cu(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(Um),yT={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=gT(e.x,t.x),s=mT(e.x+e.width,r),l=gT(e.y,t.y),u=mT(e.y+e.height,o),c=s<a,h=u<l;return e.x=c&&a>r?s:a,e.y=h&&l>o?u:l,e.width=c?0:s-a,e.height=h?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),c||h},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=mT(e.r,t.r),o=gT(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return a}},_T={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new Zl({shape:Kt({},i),z2:1});(u.__dataIndex=n,u.name="item",o)&&(u.shape[r?"height":"width"]=0);return u},polar:function(t,e,n,i,r,o,a,s,l){var u=!r&&l?hT:qc,c=new u({shape:i,z2:1});c.name="item";var h,d,p=MT(r);if(c.calculateTextPosition=(h=p,d=({isRoundCap:u===hT}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return Fo(t,e,n);var r=h(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,u=a.r,c=a.r0,p=(u+c)/2,f=a.startAngle,g=a.endAngle,m=(f+g)/2,v=d?Math.abs(u-c)/2:0,y=Math.cos,_=Math.sin,x=s+u*y(f),b=l+u*_(f),w="left",S="top";switch(r){case"startArc":x=s+(c-o)*y(m),b=l+(c-o)*_(m),w="center",S="top";break;case"insideStartArc":x=s+(c+o)*y(m),b=l+(c+o)*_(m),w="center",S="bottom";break;case"startAngle":x=s+p*y(f)+dT(f,o+v,!1),b=l+p*_(f)+pT(f,o+v,!1),w="right",S="middle";break;case"insideStartAngle":x=s+p*y(f)+dT(f,-o+v,!1),b=l+p*_(f)+pT(f,-o+v,!1),w="left",S="middle";break;case"middle":x=s+p*y(m),b=l+p*_(m),w="center",S="middle";break;case"endArc":x=s+(u+o)*y(m),b=l+(u+o)*_(m),w="center",S="bottom";break;case"insideEndArc":x=s+(u-o)*y(m),b=l+(u-o)*_(m),w="center",S="top";break;case"endAngle":x=s+p*y(g)+dT(g,o+v,!0),b=l+p*_(g)+pT(g,o+v,!0),w="left",S="middle";break;case"insideEndAngle":x=s+p*y(g)+dT(g,-o+v,!0),b=l+p*_(g)+pT(g,-o+v,!0),w="right",S="middle";break;default:return Fo(t,e,n)}return(t=t||{}).x=x,t.y=b,t.align=w,t.verticalAlign=S,t}),o){var f=r?"r":"endAngle",g={};c.shape[f]=r?i.r0:i.startAngle,g[f]=i[f],(s?Lh:Ph)(c,{shape:g},o)}return c}};function xT(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?Lh:Ph)(n,{shape:l},e,r,null),(a?Lh:Ph)(n,{shape:u},e?t.baseAxis.model:null,r)}function bT(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var wT=["x","y","width","height"],ST=["cx","cy","r","startAngle","endAngle"],AT={cartesian2d:function(t){return!bT(t,wT)},polar:function(t){return!bT(t,ST)}},TT={cartesian2d:function(t,e,n){var i=t.getItemLayout(e),r=n?function(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var i=t.get(["itemStyle","borderWidth"])||0,r=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),o=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(i,r,o)}(n,i):0,o=i.width>0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function MT(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function IT(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=t.shape;Kt(u,fT(i.getModel("itemStyle"),u,!0)),t.setShape(u)}}else{var c=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",c)}t.useStyle(l);var h=i.getShallow("cursor");h&&t.attr("cursor",h);var d=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",p=gd(i);fd(t,p,{labelFetcher:o,labelDataIndex:n,defaultText:TA(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:d});var f=t.getTextContent();if(s&&f){var g=i.get(["label","position"]);t.textConfig.inside="middle"===g||null,function(t,e,n,i){if(ge(i))t.setTextConfig({rotation:i});else if(he(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var c=1.5*Math.PI-r;"middle"===u&&c>Math.PI/2&&c<1.5*Math.PI&&(c-=Math.PI),t.setTextConfig({rotation:c})}}(t,"outside"===g?d:g,MT(a),i.get(["label","rotate"]))}Ad(f,p,o.getRawValue(n),(function(t){return MA(e,t)}));var m=i.getModel(["emphasis"]);ic(t,m.get("focus"),m.get("blurScope"),m.get("disabled")),sc(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",re(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var CT=function(){return function(){}}(),DT=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return Tt(e,t),e.prototype.getDefaultShape=function(){return new CT},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l<n.length;l+=3)a[i]=s,a[r]=n[l+2],o[i]=n[l+i],o[r]=n[l+r],t.rect(o[0],o[1],a[0],a[1])},e}(Ol);function ET(t,e,n,i){var r=t.getData(),o=r.getLayout("valueAxisHorizontal")?1:0,a=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=t.getModel("backgroundStyle"),u=r.getLayout("largeBackgroundPoints");if(u){var c=new DT({shape:{points:u},incremental:!!i,silent:!0,z2:0});c.baseDimIdx=o,c.largeDataIndices=a,c.barWidth=s,c.useStyle(l.getItemStyle()),e.add(c),n&&n.push(c)}var h=new DT({shape:{points:r.getLayout("largePoints")},incremental:!!i,ignoreCoarsePointer:!0,z2:1});h.baseDimIdx=o,h.largeDataIndices=a,h.barWidth=s,e.add(h),h.useStyle(r.getVisual("style")),cu(h).seriesIndex=t.seriesIndex,t.get("silent")||(h.on("mousedown",LT),h.on("mousemove",LT)),n&&n.push(h)}var LT=Jm((function(t){var e=function(t,e,n){for(var i=t.baseDimIdx,r=1-i,o=t.shape.points,a=t.largeDataIndices,s=[],l=[],u=t.barWidth,c=0,h=o.length/3;c<h;c++){var d=3*c;if(l[i]=u,l[r]=o[d+2],s[i]=o[d+i],s[r]=o[d+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),e>=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[c]}return-1}(this,t.offsetX,t.offsetY);cu(this).dataIndex=e>=0?e:null}),30,!1);function PT(t,e,n){if(jA(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}var RT=2*Math.PI,NT=Math.PI/180;function kT(t,e){return Gp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function OT(t,e){var n=kT(t,e),i=t.get("center"),r=t.get("radius");he(r)||(r=[0,r]);var o,a,s=oa(n.width,e.getWidth()),l=oa(n.height,e.getHeight()),u=Math.min(s,l),c=oa(r[0],u/2),h=oa(r[1],u/2),d=t.coordinateSystem;if(d){var p=d.dataToPoint(i);o=p[0]||0,a=p[1]||0}else he(i)||(i=[i,i]),o=oa(i[0],s)+n.x,a=oa(i[1],l)+n.y;return{cx:o,cy:a,r0:c,r:h}}function BT(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=kT(t,n),o=OT(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,c=-t.get("startAngle")*NT,h=t.get("endAngle"),d=t.get("padAngle")*NT;h="auto"===h?c-RT:-h*NT;var p=t.get("minAngle")*NT+d,f=0;e.each(i,(function(t){!isNaN(t)&&f++}));var g=e.getSum(i),m=Math.PI/(g||f)*2,v=t.get("clockwise"),y=t.get("roseType"),_=t.get("stillShowZeroSum"),x=e.getDataExtent(i);x[0]=0;var b=v?1:-1,w=[c,h],S=b*d/2;fl(w,!v),c=w[0],h=w[1];var A=zT(t);A.startAngle=c,A.endAngle=h,A.clockwise=v;var T=Math.abs(h-c),M=T,I=0,C=c;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:v,cx:a,cy:s,r0:u,r:y?NaN:l});else{(i="area"!==y?0===g&&_?m:t*m:T/f)<p?(i=p,M-=p):I+=t;var r=C+b*i,o=0,c=0;d>i?c=o=C+b*i/2:(o=C+S,c=r-S),e.setItemLayout(n,{angle:i,startAngle:o,endAngle:c,clockwise:v,cx:a,cy:s,r0:u,r:y?ra(t,x,[u,l]):l}),C=r}})),M<RT&&f)if(M<=.001){var D=T/f;e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n);i.angle=D;var r=0,o=0;D<d?o=r=c+b*(n+.5)*D:(r=c+b*n*D+S,o=c+b*(n+1)*D-S),i.startAngle=r,i.endAngle=o}}))}else m=M/I,C=c,e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n),r=i.angle===p?p:t*m,o=0,a=0;r<d?a=o=C+b*r/2:(o=C+S,a=C+b*r-S),i.startAngle=o,i.endAngle=a,C+=b*r}}))}))}var zT=Ua();function FT(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var i=t.getData();i.filterSelf((function(t){for(var e=i.getName(t),r=0;r<n.length;r++)if(!n[r].isSelected(e))return!1;return!0}))}}}}var VT=Math.PI/180;function GT(t,e,n,i,r,o,a,s,l,u){if(!(t.length<2)){for(var c=t.length,h=0;h<c;h++)if("outer"===t[h].position&&"labelLine"===t[h].labelAlignTo){var d=t[h].label.x-u;t[h].linePoints[1][0]+=d,t[h].label.x=u}Uw(t,l,l+a)&&function(t){for(var o={list:[],maxY:0},a={list:[],maxY:0},s=0;s<t.length;s++)if("none"===t[s].labelAlignTo){var l=t[s],u=l.label.y>n?a:o,c=Math.abs(l.label.y-n);if(c>=u.maxY){var h=l.label.x-e-l.len2*r,d=i+l.len,f=Math.abs(h)<d?Math.sqrt(c*c/(1-h*h/d/d)):d;u.rB=f,u.maxY=c}u.list.push(l)}p(o),p(a)}(t)}function p(t){for(var o=t.rB,a=o*o,s=0;s<t.list.length;s++){var l=t.list[s],u=Math.abs(l.label.y-n),c=i+l.len,h=c*c,d=Math.sqrt((1-Math.abs(u*u/a))*h),p=e+(d+l.len2)*r,f=p-l.label.x;UT(l,l.targetTextWidth-f*r,!0),l.label.x=p}}}function UT(t,e,n){if(void 0===n&&(n=!1),null==t.labelStyleWidth){var i=t.label,r=i.style,o=t.rect,a=r.backgroundColor,s=r.padding,l=s?s[1]+s[3]:0,u=r.overflow,c=o.width+(a?0:l);if(e<c||n){var h=o.height;if(u&&u.match("break")){i.setStyle("backgroundColor",null),i.setStyle("width",e-l);var d=i.getBoundingRect();i.setStyle("width",Math.ceil(d.width)),i.setStyle("backgroundColor",a)}else{var p=e-l,f=e<c?p:n?p>t.unconstrainedWidth?null:p:null;i.setStyle("width",f)}var g=i.getBoundingRect();o.width=g.width;var m=(i.style.margin||0)+2.1;o.height=g.height+m,o.y-=(o.height-h)/2}}}function HT(t){return"center"===t.position}function WT(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*VT,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,c=s.x,h=s.y,d=s.height;function p(t){t.ignore=!0}i.each((function(t){var s=i.getItemGraphicEl(t),h=s.shape,d=s.getTextContent(),f=s.getTextGuideLine(),g=i.getItemModel(t),m=g.getModel("label"),v=m.get("position")||g.get(["emphasis","label","position"]),y=m.get("distanceToLabelLine"),_=m.get("alignTo"),x=oa(m.get("edgeDistance"),u),b=m.get("bleedMargin"),w=g.getModel("labelLine"),S=w.get("length");S=oa(S,u);var A=w.get("length2");if(A=oa(A,u),Math.abs(h.endAngle-h.startAngle)<a)return re(d.states,p),d.ignore=!0,void(f&&(re(f.states,p),f.ignore=!0));if(function(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}(d)){var T,M,I,C,D=(h.startAngle+h.endAngle)/2,E=Math.cos(D),L=Math.sin(D);e=h.cx,n=h.cy;var P="inside"===v||"inner"===v;if("center"===v)T=h.cx,M=h.cy,C="center";else{var R=(P?(h.r+h.r0)/2*E:h.r*E)+e,N=(P?(h.r+h.r0)/2*L:h.r*L)+n;if(T=R+3*E,M=N+3*L,!P){var k=R+E*(S+l-h.r),O=N+L*(S+l-h.r),B=k+(E<0?-1:1)*A;T="edge"===_?E<0?c+x:c+u-x:B+(E<0?-y:y),M=O,I=[[R,N],[k,O],[B,O]]}C=P?"center":"edge"===_?E>0?"right":"left":E>0?"left":"right"}var z=Math.PI,F=0,V=m.get("rotate");if(ge(V))F=V*(z/180);else if("center"===v)F=0;else if("radial"===V||!0===V){F=E<0?-D+z:-D}else if("tangential"===V&&"outside"!==v&&"outer"!==v){var G=Math.atan2(E,L);G<0&&(G=2*z+G),L>0&&(G=z+G),F=G-z}if(o=!!F,d.x=T,d.y=M,d.rotation=F,d.setStyle({verticalAlign:"middle"}),P){d.setStyle({align:C});var U=d.states.select;U&&(U.x+=d.x,U.y+=d.y)}else{var H=d.getBoundingRect().clone();H.applyTransform(d.getComputedTransform());var W=(d.style.margin||0)+2.1;H.y-=W/2,H.height+=W,r.push({label:d,labelLine:f,position:v,len:S,len2:A,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new Fn(E,L),linePoints:I,textAlign:C,labelDistance:y,labelAlignTo:_,edgeDistance:x,bleedMargin:b,rect:H,unconstrainedWidth:H.width,labelStyleWidth:d.style.width})}s.setTextConfig({inside:P})}})),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],c=Number.MAX_VALUE,h=-Number.MAX_VALUE,d=0;d<t.length;d++){var p=t[d].label;HT(t[d])||(p.x<e?(c=Math.min(c,p.x),l.push(t[d])):(h=Math.max(h,p.x),u.push(t[d])))}for(d=0;d<t.length;d++)if(!HT(m=t[d])&&m.linePoints){if(null!=m.labelStyleWidth)continue;p=m.label;var f=m.linePoints,g=void 0;g="edge"===m.labelAlignTo?p.x<e?f[2][0]-m.labelDistance-a-m.edgeDistance:a+r-m.edgeDistance-f[2][0]-m.labelDistance:"labelLine"===m.labelAlignTo?p.x<e?c-a-m.bleedMargin:a+r-h-m.bleedMargin:p.x<e?p.x-a-m.bleedMargin:a+r-p.x-m.bleedMargin,m.targetTextWidth=g,UT(m,g)}for(GT(u,e,n,i,1,0,o,0,s,h),GT(l,e,n,i,-1,0,o,0,s,c),d=0;d<t.length;d++){var m;if(!HT(m=t[d])&&m.linePoints){p=m.label,f=m.linePoints;var v="edge"===m.labelAlignTo,y=p.style.padding,_=y?y[1]+y[3]:0,x=p.style.backgroundColor?0:_,b=m.rect.width+x,w=f[1][0]-f[2][0];v?p.x<e?f[2][0]=a+m.edgeDistance+b+m.labelDistance:f[2][0]=a+r-m.edgeDistance-b-m.labelDistance:(p.x<e?f[2][0]=p.x+m.labelDistance:f[2][0]=p.x-m.labelDistance,f[1][0]=f[2][0]+w),f[1][1]=f[2][1]=p.y}}}(r,e,n,l,u,d,c,h);for(var f=0;f<r.length;f++){var g=r[f],m=g.label,v=g.labelLine,y=isNaN(m.x)||isNaN(m.y);if(m){m.setStyle({align:g.textAlign}),y&&(re(m.states,p),m.ignore=!0);var _=m.states.select;_&&(_.x+=m.x,_.y+=m.y)}if(v){var x=g.linePoints;y||!x?(re(v.states,p),v.ignore=!0):(Nw(x,g.minTurnAngle),kw(x,g.surfaceNormal,g.maxSurfaceAngle),v.setShape({points:x}),m.__hostTarget.textGuideLineConfig={anchor:new Fn(x[0][0],x[0][1])})}}}var XT=function(t){function e(e,n,i){var r=t.call(this)||this;r.z2=2;var o=new Jl;return r.setTextContent(o),r.updateData(e,n,i,!0),r}return Tt(e,t),e.prototype.updateData=function(t,e,n,i){var r=this,o=t.hostModel,a=t.getItemModel(e),s=a.getModel("emphasis"),l=t.getItemLayout(e),u=Kt(fT(a.getModel("itemStyle"),l,!0),l);if(isNaN(u.startAngle))r.setShape(u);else{if(i){r.setShape(u);var c=o.getShallow("animationType");o.ecModel.ssr?(Ph(r,{scaleX:0,scaleY:0},o,{dataIndex:e,isFrom:!0}),r.originX=u.cx,r.originY=u.cy):"scale"===c?(r.shape.r=l.r0,Ph(r,{shape:{r:l.r}},o,e)):null!=n?(r.setShape({startAngle:n,endAngle:n}),Ph(r,{shape:{startAngle:l.startAngle,endAngle:l.endAngle}},o,e)):(r.shape.endAngle=l.startAngle,Lh(r,{shape:{endAngle:l.endAngle}},o,e))}else Bh(r),Lh(r,{shape:u},o,e);r.useStyle(t.getItemVisual(e,"style")),sc(r,a);var h=(l.startAngle+l.endAngle)/2,d=o.get("selectedOffset"),p=Math.cos(h)*d,f=Math.sin(h)*d,g=a.getShallow("cursor");g&&r.attr("cursor",g),this._updateLabel(o,t,e),r.ensureState("emphasis").shape=Kt({r:l.r+(s.get("scale")&&s.get("scaleSize")||0)},fT(s.getModel("itemStyle"),l)),Kt(r.ensureState("select"),{x:p,y:f,shape:fT(a.getModel(["select","itemStyle"]),l)}),Kt(r.ensureState("blur"),{shape:fT(a.getModel(["blur","itemStyle"]),l)});var m=r.getTextGuideLine(),v=r.getTextContent();m&&Kt(m.ensureState("select"),{x:p,y:f}),Kt(v.ensureState("select"),{x:p,y:f}),ic(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))}},e.prototype._updateLabel=function(t,e,n){var i=this,r=e.getItemModel(n),o=r.getModel("labelLine"),a=e.getItemVisual(n,"style"),s=a&&a.fill,l=a&&a.opacity;fd(i,gd(r),{labelFetcher:e.hostModel,labelDataIndex:n,inheritColor:s,defaultOpacity:l,defaultText:t.getFormattedLabel(n,"normal")||e.getName(n)});var u=i.getTextContent();i.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var c=t.get(["label","position"]);if("outside"!==c&&"outer"!==c)i.removeTextGuideLine();else{var h=this.getTextGuideLine();h||(h=new ih,this.setTextGuideLine(h)),zw(this,Fw(r),{stroke:s,opacity:Ae(o.get(["lineStyle","opacity"]),l,1)})}},e}(qc),jT=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return Tt(e,t),e.prototype.render=function(t,e,n,i){var r,o=t.getData(),a=this._data,s=this.group;if(!a&&o.count()>0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u<o.count();++u)l=o.getItemLayout(u);l&&(r=l.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===o.count()&&t.get("showEmptyCircle")){var c=zT(t),h=new qc({shape:Kt(OT(t,n),c)});h.useStyle(t.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=h,s.add(h)}o.diff(a).add((function(t){var e=new XT(o,t,r);o.setItemGraphicEl(t,e),s.add(e)})).update((function(t,e){var n=a.getItemGraphicEl(e);n.updateData(o,t,r),n.off("click"),s.add(n),o.setItemGraphicEl(t,n)})).remove((function(e){Oh(a.getItemGraphicEl(e),t,e)})).execute(),WT(t),"expansion"!==t.get("animationTypeUpdate")&&(this._data=o)},e.prototype.dispose=function(){},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},e.type="pie",e}(Um);function YT(t,e,n){e=he(e)&&{coordDimensions:e}||Kt({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=Ax(i,e).dimensions,o=new bx(r,t);return o.initData(i,n),o}var ZT=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),QT=Ua(),qT=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new ZT(ue(this.getData,this),ue(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return YT(this,{coordDimensions:["value"],encodeDefaulter:ce(hf,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=QT(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),(function(t){o.push(t)})),r=i.seats=function(t,e){var n=ae(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];for(var i=Math.pow(10,e),r=oe(t,(function(t){return(isNaN(t)?0:t)/n*i*100})),o=100*i,a=oe(r,(function(t){return Math.floor(t)})),s=ae(a,(function(t,e){return t+e}),0),l=oe(r,(function(t,e){return t-a[e]}));s<o;){for(var u=Number.NEGATIVE_INFINITY,c=null,h=0,d=l.length;h<d;++h)l[h]>u&&(u=l[h],c=h);++a[c],l[c]=0,++s}return oe(a,(function(t){return t/i}))}(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){La(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(Em);var JT=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return Tt(e,t),e.prototype.getInitialData=function(t,e){return Px(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(Em),KT=function(){},$T=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return Tt(e,t),e.prototype.getDefaultShape=function(){return new KT},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n<i.length;){var c=i[n++],h=i[n++];isNaN(c)||isNaN(h)||(u&&!u.contain(c,h)||(a.x=c-r[0]/2,a.y=h-r[1]/2,a.width=r[0],a.height=r[1],o.buildPath(t,a,!0)))}this.incremental&&(this._off=n,this.notClear=!0)}},e.prototype.afterBrush=function(){var t,e=this.shape,n=e.points,i=e.size,r=this._ctx,o=this.softClipShape;if(r){for(t=this._off;t<n.length;){var a=n[t++],s=n[t++];isNaN(a)||isNaN(s)||(o&&!o.contain(a,s)||r.fillRect(a-i[0]/2,s-i[1]/2,i[0],i[1]))}this.incremental&&(this._off=t,this.notClear=!0)}},e.prototype.findDataIndex=function(t,e){for(var n=this.shape,i=n.points,r=n.size,o=Math.max(r[0],4),a=Math.max(r[1],4),s=i.length/2-1;s>=0;s--){var l=2*s,u=i[l]-o/2,c=i[l+1]-a/2;if(t>=u&&e>=c&&t<=u+o&&e<=c+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,c=0;c<n.length;){var h=n[c++],d=n[c++];a=Math.min(h,a),l=Math.max(h,l),s=Math.min(d,s),u=Math.max(d,u)}t=this._rect=new Zn(a-r/2,s-o/2,l-a+r,u-s+o)}return t},e}(Ol),tM=function(){function t(){this.group=new qo}return t.prototype.updateData=function(t,e){this._clear();var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,e)},t.prototype.updateLayout=function(t){var e=t.getLayout("points");this.group.eachChild((function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),i=4*t.startIndex*2;e=new Float32Array(e.buffer,i,n)}t.setShape("points",e),t.reset()}))},t.prototype.incrementalPrepareUpdate=function(t){this._clear()},t.prototype.incrementalUpdate=function(t,e,n){var i=this._newAdded[0],r=e.getLayout("points"),o=i&&i.shape.points;if(o&&o.length<2e4){var a=o.length,s=new Float32Array(a+r.length);s.set(o),s.set(r,a),i.endIndex=t.end,i.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=t.start,l.endIndex=t.end,l.incremental=!0,l.setShape({points:r}),this._setCommon(l,e,n)}},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new $T({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;n=n||{};var r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.softClipShape=n.clipShape||null,t.symbolProxy=ty(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<4;t.useStyle(i.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=e.getVisual("style"),s=a&&a.fill;s&&t.setColor(s);var l=cu(t);l.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){l.dataIndex=null;var n=t.hoverDataIdx;n>=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),eM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=rT("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){if(t.get("clip",!0)){var e=t.coordinateSystem;return e&&e.getArea&&e.getArea(.1)}},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new tM:new PA,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(Um),nM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(Zp),iM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",ja).models[0]},e.type="cartesian2dAxis",e}(Zp);ne(iM,Fb);var rM={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},oM=qt({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},rM),aM=qt({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},rM),sM={category:oM,value:aM,time:qt({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},aM),log:$t({logBase:10},aM)},lM={value:1,category:1,time:1,log:1};function uM(t,e,n,i){re(lM,(function(r,o){var a=qt(qt({},sM[o],!0),i,!0),s=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+o,n}return Tt(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=Hp(this),i=n?Xp(t):{};qt(t,e.getTheme().get(o+"Axis")),qt(t,this.getDefaultOption()),t.type=cM(t),n&&Wp(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=kx.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+o,n.defaultOption=a,n}(n);t.registerComponentModel(s)})),t.registerSubTypeDefaulter(e+"Axis",cM)}function cM(t){return t.type||(t.data?"category":"value")}var hM=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return oe(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),se(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),dM=["x","y"];function pM(t){return"interval"===t.type||"time"===t.type}var fM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=dM,e}return Tt(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(pM(t)&&pM(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,c=r[0]-n[0]*l,h=r[1]-i[0]*u,d=this._transform=[l,0,0,u,c,h];this._invTransform=zn([],d)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new Zn(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return nn(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return nn(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new Zn(i,r,o,a)},e}(hM),gM=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return Tt(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(fw);function mM(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,c=i.getRect(),h=[c.x,c.x+c.width,c.y,c.y+c.height],d={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,f="x"===u?[h[2]-p,h[3]+p]:[h[0]-p,h[1]+p];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));f[d.onZero]=Math.max(Math.min(g,f[1]),f[0])}o.position=["y"===u?f[d[l]]:h[0],"x"===u?f[d[l]]:h[3]],o.rotation=Math.PI/2*("x"===u?0:1);o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?f[d[s]]-f[d.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),we(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var m=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-m:m,o.z2=1,o}function vM(t){return"cartesian2d"===t.get("coordinateSystem")}function yM(t){var e={xAxisModel:null,yAxisModel:null};return re(e,(function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,ja).models[0];e[i]=o})),e}var _M=Math.log;function xM(t,e,n){var i=Yx.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=Eb(t,e),u=l.extent,c=l.fixMin,h=l.fixMax;if("log"===t.type){var d=_M(t.base);u=[_M(u[0])/d,_M(u[1])/d]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:h});var p=i.getExtent.call(t);c&&(u[0]=p[0]),h&&(u[1]=p[1]);var f=i.getInterval.call(t),g=u[0],m=u[1];if(c&&h)f=(m-g)/a;else if(c)for(m=u[0]+f*a;m<u[1]&&isFinite(m)&&isFinite(u[1]);)f=Fx(f),m=u[0]+f*a;else if(h)for(g=u[1]-f*a;g>u[0]&&isFinite(g)&&isFinite(u[0]);)f=Fx(f),g=u[1]-f*a;else{t.getTicks().length-1>a&&(f=Fx(f));var v=f*a;(g=aa((m=Math.ceil(u[1]/f)*f)-v))<0&&u[0]>=0?(g=0,m=aa(v)):m>0&&u[1]<=0&&(m=0,g=-aa(v))}var y=(r[0].value-o[0].value)/s,_=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*y,m+f*_),i.setInterval.call(t,f),(y||_)&&i.setNiceExtent.call(t,g+f,m-f)}var bM=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=dM,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=le(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;Bx(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(Lb(l,s),Bx(l)&&(e=a))}r.length&&(e||Lb((e=r.pop()).scale,e.model),re(r,(function(t){xM(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};re(n.x,(function(t){SM(n,"y",t,r)})),re(n.y,(function(t){SM(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=Gp(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){re(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?o.x:o.y)}))}s(),r&&(re(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();r=n instanceof Xx?n.count():(i=n.getTicks()).length;var a,s=t.getLabelModel(),l=Rb(t),u=1;r>40&&(u=Math.ceil(r/40));for(var c=0;c<r;c+=u){var h=l(i?i[c]:{value:o[0]+c},c),d=kb(s.getTextRect(h),s.get("rotate")||0);a?a.union(d):a=d}return a}}(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get(["axisLabel","margin"]);o[n]-=e[n]+i,"top"===t.position?o.y+=e.height+i:"left"===t.position&&(o.x+=e.width+i)}}})),s()),re(this._coordsList,(function(t){t.calcAffineTransform()}))},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}me(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===t||r[i].getAxis("y").index===e)return r[i]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,i=t.seriesModel,r=t.xAxisModel||i&&i.getReferringComponents("xAxis",ja).models[0],o=t.yAxisModel||i&&i.getReferringComponents("yAxis",ja).models[0],a=t.gridModel,s=this._coordsList;if(i)te(s,e=i.coordinateSystem)<0&&(e=null);else if(r&&o)e=this.getCartesian(r.componentIndex,o.componentIndex);else if(r)n=this.getAxis("x",r.componentIndex);else if(o)n=this.getAxis("y",o.componentIndex);else if(a){a.coordinateSystem===this&&(e=this._coordsList[0])}return{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var i=this,r=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",l("x"),this),e.eachComponent("yAxis",l("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function l(e){return function(n,i){if(wM(n,t)){var l=n.get("position");"x"===e?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new gM(e,Pb(n),[0,0],n.get("type"),l),c="category"===u.type;u.onBand=c&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=r,u.index=i,r._axesList.push(u),a[e][i]=u,s[e]++}}}this._axesMap=a,re(a.x,(function(e,n){re(a.y,(function(r,o){var a="x"+n+"y"+o,s=new fM(a);s.master=i,s.model=t,i._coordsMap[a]=s,i._coordsList.push(s),s.addAxis(e),s.addAxis(r)}))}))},t.prototype._updateScale=function(t,e){function n(t,e){re(zb(t,e.dim),(function(n){e.scale.unionExtentFromData(t,n)}))}re(this._axesList,(function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}})),t.eachSeries((function(t){if(vM(t)){var i=yM(t),r=i.xAxisModel,o=i.yAxisModel;if(!wM(r,e)||!wM(o,e))return;var a=this.getCartesian(r.componentIndex,o.componentIndex),s=t.getData(),l=a.getAxis("x"),u=a.getAxis("y");n(s,l),n(s,u)}}),this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return re(this.getCartesians(),(function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),o=i.getOtherAxis(r);te(e,r)<0&&e.push(r),te(n,o)<0&&n.push(o)})),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var i=[];return e.eachComponent("grid",(function(r,o){var a=new t(r,e,n);a.name="grid_"+o,a.resize(r,n,!0),r.coordinateSystem=a,i.push(a)})),e.eachSeries((function(t){if(vM(t)){var e=yM(t),n=e.xAxisModel,i=e.yAxisModel,r=n.getCoordSysModel().coordinateSystem;t.coordinateSystem=r.getCartesian(n.componentIndex,i.componentIndex)}})),i},t.dimensions=dM,t}();function wM(t,e){return t.getCoordSysModel()===e}function SM(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)AM(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&AM(o[u])&&!i[c(o[u])]){r=o[u];break}r&&(i[c(r)]=!0)}function c(t){return t.dim+"_"+t.index}}function AM(t){return t&&"category"!==t.type&&"time"!==t.type&&function(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}(t)}var TM=Math.PI,MM=function(){function t(t,e){this.group=new qo,this.opt=e,this.axisModel=t,$t(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new qo({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!IM[t]},t.prototype.add=function(t){IM[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=pa(e-t);return fa(o)?(r=n>0?"top":"bottom",i="center"):fa(o-TM)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<TM?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),IM={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(nn(s,s,a),nn(l,l,a));var c=Kt({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new ah({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});Qh(h.shape,h.style.lineWidth),h.anid="line",n.add(h);var d=e.get(["axisLine","symbol"]);if(null!=d){var p=e.get(["axisLine","symbolSize"]);pe(d)&&(d=[d,d]),(pe(p)||ge(p))&&(p=[p,p]);var f=ny(e.get(["axisLine","symbolOffset"])||0,p),g=p[0],m=p[1];re([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==d[i]&&null!=d[i]){var r=ty(d[i],-g/2,-m/2,g,m,c.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,o=n.getModel("axisTick"),a=o.get("show");"auto"===a&&i.handleAutoShown&&(a=i.handleAutoShown("axisTick"));if(!a||r.scale.isBlank())return;for(var s=o.getModel("lineStyle"),l=i.tickDirection*o.get("length"),u=LM(r.getTicksCoords(),e.transform,l,$t(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;c<u.length;c++)t.add(u[c]);return u}(n,i,e,t),o=function(t,e,n,i){var r=n.axis,o=we(i.axisLabelShow,n.get(["axisLabel","show"]));if(!o||r.scale.isBlank())return;var a=n.getModel("axisLabel"),s=a.get("margin"),l=r.getViewLabels(),u=(we(i.labelRotate,a.get("rotate"))||0)*TM/180,c=MM.innerTextLayout(i.rotation,u,i.labelDirection),h=n.getCategories&&n.getCategories(!0),d=[],p=MM.isLabelSilent(n),f=n.get("triggerEvent");return re(l,(function(o,u){var g="ordinal"===r.scale.type?r.scale.getRawOrdinalNumber(o.tickValue):o.tickValue,m=o.formattedLabel,v=o.rawLabel,y=a;if(h&&h[g]){var _=h[g];me(_)&&_.textStyle&&(y=new zd(_.textStyle,a,n.ecModel))}var x=y.getTextColor()||n.get(["axisLine","lineStyle","color"]),b=r.dataToCoord(g),w=y.getShallow("align",!0)||c.textAlign,S=Se(y.getShallow("alignMinLabel",!0),w),A=Se(y.getShallow("alignMaxLabel",!0),w),T=y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||c.textVerticalAlign,M=Se(y.getShallow("verticalAlignMinLabel",!0),T),I=Se(y.getShallow("verticalAlignMaxLabel",!0),T),C=new Jl({x:b,y:i.labelOffset+i.labelDirection*s,rotation:c.rotation,silent:p,z2:10+(o.level||0),style:md(y,{text:m,align:0===u?S:u===l.length-1?A:w,verticalAlign:0===u?M:u===l.length-1?I:T,fill:de(x)?x("category"===r.type?v:"value"===r.type?g+"":g,u):x})});if(C.anid="label_"+g,f){var D=MM.makeAxisEventDataBase(n);D.targetType="axisLabel",D.value=v,D.tickIndex=u,"category"===r.type&&(D.dataIndex=g),cu(C).eventData=D}e.add(C),C.updateTransform(),d.push(C),t.add(C),C.decomposeTransform()})),d}(n,i,e,t);(function(t,e,n){if(Bb(t.axis))return;var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);e=e||[],n=n||[];var o=e[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],c=n[1],h=n[n.length-1],d=n[n.length-2];!1===i?(CM(o),CM(u)):DM(o,a)&&(i?(CM(a),CM(c)):(CM(o),CM(u)));!1===r?(CM(s),CM(h)):DM(l,s)&&(r?(CM(l),CM(d)):(CM(s),CM(h)))}(e,o,r),function(t,e,n,i){var r=n.axis,o=n.getModel("minorTick");if(!o.get("show")||r.scale.isBlank())return;var a=r.getMinorTicksCoords();if(!a.length)return;for(var s=o.getModel("lineStyle"),l=i*o.get("length"),u=$t(s.getLineStyle(),$t(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<a.length;c++)for(var h=LM(a[c],e.transform,l,u,"minorticks_"+c),d=0;d<h.length;d++)t.add(h[d])}(n,i,e,t.tickDirection),e.get(["axisLabel","hideOverlap"]))&&Hw(Vw(oe(o,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}}))))},axisName:function(t,e,n,i){var r=we(t.axisName,e.get("name"));if(r){var o,a,s=e.get("nameLocation"),l=t.nameDirection,u=e.getModel("nameTextStyle"),c=e.get("nameGap")||0,h=e.axis.getExtent(),d=h[0]>h[1]?-1:1,p=["start"===s?h[0]-d*c:"end"===s?h[1]+d*c:(h[0]+h[1])/2,EM(s)?t.labelOffset+l*c:0],f=e.get("nameRotate");null!=f&&(f=f*TM/180),EM(s)?o=MM.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(o=function(t,e,n,i){var r,o,a=pa(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;fa(a-TM/2)?(o=l?"bottom":"top",r="center"):fa(a-1.5*TM)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*TM&&a>TM/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,s,f||0,h),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),m=e.get("nameTruncate",!0)||{},v=m.ellipsis,y=we(t.nameTruncateMaxWidth,m.maxWidth,a),_=new Jl({x:p[0],y:p[1],rotation:o.rotation,silent:MM.isLabelSilent(e),style:md(u,{text:r,font:g,overflow:"truncate",width:y,ellipsis:v,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(sd({el:_,componentModel:e,itemName:r}),_.__fullText=r,_.anid="name",e.get("triggerEvent")){var x=MM.makeAxisEventDataBase(e);x.targetType="axisName",x.name=r,cu(_).eventData=x}i.add(_),_.updateTransform(),n.add(_),_.decomposeTransform()}}};function CM(t){t&&(t.ignore=!0)}function DM(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=Pn([]);return On(r,r,-t.rotation),n.applyTransform(Nn([],r,t.getLocalTransform())),i.applyTransform(Nn([],r,e.getLocalTransform())),n.intersect(i)}}function EM(t){return"middle"===t||"center"===t}function LM(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l<t.length;l++){var u=t[l].coord;a[0]=u,a[1]=0,s[0]=u,s[1]=n,e&&(nn(a,a,e),nn(s,s,e));var c=new ah({shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:i,z2:2,autoBatch:!0,silent:!0});Qh(c.shape,c.style.lineWidth),c.anid=r+"_"+t[l].tickValue,o.push(c)}return o}function PM(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var i=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),o=r.get("link",!0)||[],a=[];re(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var s=OM(n.model),l=t.coordSysAxesInfo[s]={};t.coordSysMap[s]=n;var u=n.model.getModel("tooltip",i);if(re(n.getAxes(),ce(p,!1,null)),n.getTooltipAxes&&i&&u.get("show")){var c="axis"===u.get("trigger"),h="cross"===u.get(["axisPointer","type"]),d=n.getTooltipAxes(u.get(["axisPointer","axis"]));(c||h)&&re(d.baseAxes,ce(p,!h||"cross",c)),h&&re(d.otherAxes,ce(p,"cross",!1))}}function p(i,s,c){var h=c.model.getModel("axisPointer",r),d=h.get("show");if(d&&("auto"!==d||i||kM(h))){null==s&&(s=h.get("triggerTooltip")),h=i?function(t,e,n,i,r,o){var a=e.getModel("axisPointer"),s={};re(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){s[t]=Qt(a.get(t))})),s.snap="category"!==t.type&&!!o,"cross"===a.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===r){var u=a.get(["label","show"]);if(l.show=null==u||u,!o){var c=s.lineStyle=a.get("crossStyle");c&&$t(l,c.textStyle)}}return t.model.getModel("axisPointer",new zd(s,n,i))}(c,u,r,e,i,s):h;var p=h.get("snap"),f=h.get("triggerEmphasis"),g=OM(c.model),m=s||p||"category"===c.type,v=t.axesInfo[g]={key:g,axis:c,coordSys:n,axisPointerModel:h,triggerTooltip:s,triggerEmphasis:f,involveSeries:m,snap:p,useHandle:kM(h),seriesModels:[],linkGroup:null};l[g]=v,t.seriesInvolved=t.seriesInvolved||m;var y=function(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(RM(o[i+"AxisId"],n.id)||RM(o[i+"AxisIndex"],n.componentIndex)||RM(o[i+"AxisName"],n.name))return r}}(o,c);if(null!=y){var _=a[y]||(a[y]={axesInfo:{}});_.axesInfo[g]=v,_.mapper=o[y].mapper,v.linkGroup=_}}}}))}(n,t,e),n.seriesInvolved&&function(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),r=e.get(["tooltip","show"],!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==r&&!1!==e.get(["axisPointer","show"],!0)&&re(t.coordSysAxesInfo[OM(n.model)],(function(t){var i=t.axis;n.getAxis(i.dim)===i&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}))}(n,t),n}function RM(t,e){return"all"===t||he(t)&&te(t,e)>=0||t===e}function NM(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[OM(t)]}function kM(t){return!!t.get(["handle","show"])}function OM(t){return t.type+"||"+t.id}var BM={},zM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.render=function(e,n,i,r){this.axisPointerClass&&function(t){var e=NM(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=kM(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),r.value=a,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var r=e.getAxisPointerClass(this.axisPointerClass);if(r){var o=function(t){var e=NM(t);return e&&e.axisPointerModel}(t);o?(this._axisPointer||(this._axisPointer=new r)).render(t,o,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){BM[t]=e},e.getAxisPointerClass=function(t){return t&&BM[t]},e.type="axis",e}(zm),FM=Ua();function VM(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),l=i.coordinateSystem.getRect(),u=r.getTicksCoords({tickModel:o,clamp:!0});if(u.length){var c=s.length,h=FM(t).splitAreaColors,d=ke(),p=0;if(h)for(var f=0;f<u.length;f++){var g=h.get(u[f].tickValue);if(null!=g){p=(g+(c-1)*f)%c;break}}var m=r.toGlobalCoord(u[0].coord),v=a.getAreaStyle();s=he(s)?s:[s];for(f=1;f<u.length;f++){var y=r.toGlobalCoord(u[f].coord),_=void 0,x=void 0,b=void 0,w=void 0;r.isHorizontal()?(_=m,x=l.y,b=y-_,w=l.height,m=_+b):(_=l.x,x=m,b=l.width,m=x+(w=y-x));var S=u[f-1].tickValue;null!=S&&d.set(S,p),e.add(new Zl({anid:null!=S?"area_"+S:null,shape:{x:_,y:x,width:b,height:w},style:$t({fill:s[p]},v),autoBatch:!0,silent:!0})),p=(p+1)%c}FM(t).splitAreaColors=d}}}function GM(t){FM(t).splitAreaColors=null}var UM=["axisLine","axisTickLabel","axisName"],HM=["splitArea","splitLine","minorSplitLine"],WM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return Tt(e,t),e.prototype.render=function(e,n,i,r){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new qo,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),s=mM(a,e),l=new MM(e,Kt({handleAutoShown:function(t){for(var n=a.coordinateSystem.getCartesians(),i=0;i<n.length;i++)if(Bx(n[i].getOtherAxis(e.axis).scale))return!0;return!1}},s));re(UM,l.add,l),this._axisGroup.add(l.getGroup()),re(HM,(function(t){e.get([t,"show"])&&XM[t](this,this._axisGroup,e,a)}),this),r&&"changeAxisOrder"===r.type&&r.isInitSort||ed(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)}},e.prototype.remove=function(){GM(this)},e.type="cartesianAxis",e}(zM),XM={splitLine:function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=he(s)?s:[s];for(var l=i.coordinateSystem.getRect(),u=r.isHorizontal(),c=0,h=r.getTicksCoords({tickModel:o}),d=[],p=[],f=a.getLineStyle(),g=0;g<h.length;g++){var m=r.toGlobalCoord(h[g].coord);u?(d[0]=m,d[1]=l.y,p[0]=m,p[1]=l.y+l.height):(d[0]=l.x,d[1]=m,p[0]=l.x+l.width,p[1]=m);var v=c++%s.length,y=h[g].tickValue,_=new ah({anid:null!=y?"line_"+h[g].tickValue:null,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:p[0],y2:p[1]},style:$t({stroke:s[v]},f),silent:!0});Qh(_.shape,f.lineWidth),e.add(_)}}},minorSplitLine:function(t,e,n,i){var r=n.axis,o=n.getModel("minorSplitLine").getModel("lineStyle"),a=i.coordinateSystem.getRect(),s=r.isHorizontal(),l=r.getMinorTicksCoords();if(l.length)for(var u=[],c=[],h=o.getLineStyle(),d=0;d<l.length;d++)for(var p=0;p<l[d].length;p++){var f=r.toGlobalCoord(l[d][p].coord);s?(u[0]=f,u[1]=a.y,c[0]=f,c[1]=a.y+a.height):(u[0]=a.x,u[1]=f,c[0]=a.x+a.width,c[1]=f);var g=new ah({anid:"minor_line_"+l[d][p].tickValue,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:c[0],y2:c[1]},style:h,silent:!0});Qh(g.shape,h.lineWidth),e.add(g)}},splitArea:function(t,e,n,i){VM(t,e,n,i)}},jM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.type="xAxis",e}(WM),YM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=jM.type,e}return Tt(e,t),e.type="yAxis",e}(WM),ZM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return Tt(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new Zl({shape:t.coordinateSystem.getRect(),style:$t({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(zm),QM={offset:0};function qM(t){t.registerComponentView(ZM),t.registerComponentModel(nM),t.registerCoordinateSystem("cartesian2d",bM),uM(t,"x",iM,QM),uM(t,"y",iM,QM),t.registerComponentView(jM),t.registerComponentView(YM),t.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))}function JM(t){t.eachSeriesByType("radar",(function(t){var e=t.getData(),n=[],i=t.coordinateSystem;if(i){var r=i.getIndicatorAxes();re(r,(function(t,o){e.each(e.mapDimension(r[o].dim),(function(t,e){n[e]=n[e]||[];var r=i.dataToPoint(t,o);n[e][o]=KM(r)?r:$M(i)}))})),e.each((function(t){var r=function(t,e,n){if(t&&e)for(var i=0,r=t.length;i<r;i++)if(e.call(n,t[i],i,t))return t[i]}(n[t],(function(t){return KM(t)}))||$M(i);n[t].push(r.slice()),e.setItemLayout(t,n[t])}))}}))}function KM(t){return!isNaN(t[0])&&!isNaN(t[1])}function $M(t){return[t.cx,t.cy]}function tI(t){var e=t.polar;if(e){he(e)||(e=[e]);var n=[];re(e,(function(e,i){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],he(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)})),t.polar=n}re(t.series,(function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)}))}var eI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.render=function(t,e,n){var i=t.coordinateSystem,r=this.group,o=t.getData(),a=this._data;function s(t,e){var n=t.getItemVisual(e,"symbol")||"circle";if("none"!==n){var i=ey(t.getItemVisual(e,"symbolSize")),r=ty(n,-1,-1,2,2),o=t.getItemVisual(e,"symbolRotate")||0;return r.attr({style:{strokeNoScale:!0},z2:100,scaleX:i[0]/2,scaleY:i[1]/2,rotation:o*Math.PI/180||0}),r}}function l(e,n,i,r,o,a){i.removeAll();for(var l=0;l<n.length-1;l++){var u=s(r,o);u&&(u.__dimIdx=l,e[l]?(u.setPosition(e[l]),cd[a?"initProps":"updateProps"](u,{x:n[l][0],y:n[l][1]},t,o)):u.setPosition(n[l]),i.add(u))}}function u(t){return oe(t,(function(t){return[i.cx,i.cy]}))}o.diff(a).add((function(e){var n=o.getItemLayout(e);if(n){var i=new eh,r=new ih,a={shape:{points:n}};i.shape.points=u(n),r.shape.points=u(n),Ph(i,a,t,e),Ph(r,a,t,e);var s=new qo,c=new qo;s.add(r),s.add(i),s.add(c),l(r.shape.points,n,c,o,e,!0),o.setItemGraphicEl(e,s)}})).update((function(e,n){var i=a.getItemGraphicEl(n),r=i.childAt(0),s=i.childAt(1),u=i.childAt(2),c={shape:{points:o.getItemLayout(e)}};c.shape.points&&(l(r.shape.points,c.shape.points,u,o,e,!1),Bh(s),Bh(r),Lh(r,c,t),Lh(s,c,t),o.setItemGraphicEl(e,i))})).remove((function(t){r.remove(a.getItemGraphicEl(t))})).execute(),o.eachItemGraphicEl((function(t,e){var n=o.getItemModel(e),i=t.childAt(0),a=t.childAt(1),s=t.childAt(2),l=o.getItemVisual(e,"style"),u=l.fill;r.add(t),i.useStyle($t(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:u})),sc(i,n,"lineStyle"),sc(a,n,"areaStyle");var c=n.getModel("areaStyle"),h=c.isEmpty()&&c.parentModel.isEmpty();a.ignore=h,re(["emphasis","select","blur"],(function(t){var e=n.getModel([t,"areaStyle"]),i=e.isEmpty()&&e.parentModel.isEmpty();a.ensureState(t).ignore=i&&h})),a.useStyle($t(c.getAreaStyle(),{fill:u,opacity:.7,decal:l.decal}));var d=n.getModel("emphasis"),p=d.getModel("itemStyle").getItemStyle();s.eachChild((function(t){if(t instanceof Gl){var i=t.style;t.useStyle(Kt({image:i.image,x:i.x,y:i.y,width:i.width,height:i.height},l))}else t.useStyle(l),t.setColor(u),t.style.strokeNoScale=!0;t.ensureState("emphasis").style=Qt(p);var r=o.getStore().get(o.getDimensionIndex(t.__dimIdx),e);(null==r||isNaN(r))&&(r=""),fd(t,gd(n),{labelFetcher:o.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:r,inheritColor:u,defaultOpacity:l.opacity})})),ic(t,d.get("focus"),d.get("blurScope"),d.get("disabled"))})),this._data=o},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.type="radar",e}(Um),nI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return Tt(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new ZT(ue(this.getData,this),ue(this.getRawData,this))},e.prototype.getInitialData=function(t,e){return YT(this,{generateCoord:"indicator_",generateCoordCount:1/0})},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.coordinateSystem.getIndicatorAxes(),o=this.getData().getName(t),a=""===o?this.name:o,s=Sm(this,t);return fm("section",{header:a,sortBlocks:!0,blocks:oe(r,(function(e){var n=i.get(i.mapDimension(e.dim),t);return fm("nameValue",{markerType:"subItem",markerColor:s,name:e.name,value:n,sortParam:n})}))})},e.prototype.getTooltipPosition=function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,i=e.getValues(oe(n.dimensions,(function(t){return e.mapDimension(t)})),t),r=0,o=i.length;r<o;r++)if(!isNaN(i[r])){var a=n.getIndicatorAxes();return n.coordToPoint(a[r].dataToCoord(i[r]),r)}},e.type="series.radar",e.dependencies=["radar"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},e}(Em),iI=sM.value;function rI(t,e){return $t({show:e},t)}var oI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.optionUpdated=function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),r=this.get("axisTick"),o=this.get("axisLabel"),a=this.get("axisName"),s=this.get(["axisName","show"]),l=this.get(["axisName","formatter"]),u=this.get("axisNameGap"),c=this.get("triggerEvent"),h=oe(this.get("indicator")||[],(function(h){null!=h.max&&h.max>0&&!h.min?h.min=0:null!=h.min&&h.min<0&&!h.max&&(h.max=0);var d=a;null!=h.color&&(d=$t({color:h.color},a));var p=qt(Qt(h),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:h.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:d,triggerEvent:c},!1);if(pe(l)){var f=p.name;p.name=l.replace("{value}",null!=f?f:"")}else de(l)&&(p.name=l(p.name,p));var g=new zd(p,null,this.ecModel);return ne(g,Fb.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=h},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:qt({lineStyle:{color:"#bbb"}},iI.axisLine),axisLabel:rI(iI.axisLabel,!1),axisTick:rI(iI.axisTick,!1),splitLine:rI(iI.splitLine,!0),splitArea:rI(iI.splitArea,!0),indicator:[]},e}(Zp),aI=["axisLine","axisTickLabel","axisName"],sI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem;re(oe(e.getIndicatorAxes(),(function(t){var n=t.model.get("showName")?t.name:"";return new MM(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){re(aI,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),s=o.getModel("areaStyle"),l=r.get("show"),u=o.get("show"),c=a.get("color"),h=s.get("color"),d=he(c)?c:[c],p=he(h)?h:[h],f=[],g=[];if("circle"===i)for(var m=n[0].getTicksCoords(),v=e.cx,y=e.cy,_=0;_<m.length;_++){if(l)f[I(f,d,_)].push(new Rc({shape:{cx:v,cy:y,r:m[_].coord}}));if(u&&_<m.length-1)g[I(g,p,_)].push(new Kc({shape:{cx:v,cy:y,r0:m[_].coord,r:m[_+1].coord}}))}else{var x,b=oe(n,(function(t,n){var i=t.getTicksCoords();return x=null==x?i.length-1:Math.min(i.length-1,x),oe(i,(function(t){return e.coordToPoint(t.coord,n)}))})),w=[];for(_=0;_<=x;_++){for(var S=[],A=0;A<n.length;A++)S.push(b[A][_]);if(S[0]&&S.push(S[0].slice()),l)f[I(f,d,_)].push(new ih({shape:{points:S}}));if(u&&w)g[I(g,p,_-1)].push(new eh({shape:{points:S.concat(w)}}));w=S.slice().reverse()}}var T=a.getLineStyle(),M=s.getAreaStyle();re(g,(function(t,e){this.group.add(Yh(t,{style:$t({stroke:"none",fill:p[e%p.length]},M),silent:!0}))}),this),re(f,(function(t,e){this.group.add(Yh(t,{style:$t({fill:"none",stroke:d[e%d.length]},T),silent:!0}))}),this)}function I(t,e,n){var i=n%e.length;return t[i]=t[i]||[],i}},e.type="radar",e}(zm),lI=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.type="value",r.angle=0,r.name="",r}return Tt(e,t),e}(fw),uI=function(){function t(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=oe(t.getIndicatorModels(),(function(t,e){var n="indicator_"+e,i=new lI(n,new Yx);return i.name=t.get("name"),i.model=t,t.axis=i,this.dimensions.push(n),i}),this),this.resize(t,n)}return t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},t.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},t.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var r,o=Math.atan2(-n,e),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(o-u.angle);c<a&&(r=u,s=l,a=c)}return[s,+(r&&r.coordToData(i))]},t.prototype.resize=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r)/2;this.cx=oa(n[0],i),this.cy=oa(n[1],r),this.startAngle=t.get("startAngle")*Math.PI/180;var a=t.get("radius");(pe(a)||ge(a))&&(a=[0,a]),this.r0=oa(a[0],o),this.r=oa(a[1],o),re(this._indicatorAxes,(function(t,e){t.setExtent(this.r0,this.r);var n=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),t.angle=n}),this)},t.prototype.update=function(t,e){var n=this._indicatorAxes,i=this._model;re(n,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeriesByType("radar",(function(e,r){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===i){var o=e.getData();re(n,(function(t){t.scale.unionExtentFromData(o,o.mapDimension(t.dim))}))}}),this);var r=i.get("splitNumber"),o=new Yx;o.setExtent(0,r),o.setInterval(1),re(n,(function(t,e){xM(t.scale,t.model,o)}))},t.prototype.convertToPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.convertFromPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.create=function(e,n){var i=[];return e.eachComponent("radar",(function(r){var o=new t(r,e,n);i.push(o),r.coordinateSystem=o})),e.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])})),i},t.dimensions=[],t}();function cI(t){t.registerCoordinateSystem("radar",uI),t.registerComponentModel(oI),t.registerComponentView(sI),t.registerVisual({seriesType:"radar",reset:function(t){var e=t.getData();e.each((function(t){e.setItemVisual(t,"legendIcon","roundRect")})),e.setVisual("legendIcon","roundRect")}})}var hI="\0_ec_interaction_mutex";function dI(t,e){return!!pI(t)[e]}function pI(t){return t[hI]||(t[hI]={})}O_({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},Ve);var fI=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var i=ue(n._mousedownHandler,n),r=ue(n._mousemoveHandler,n),o=ue(n._mouseupHandler,n),a=ue(n._mousewheelHandler,n),s=ue(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=$t(Qt(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",i),e.on("mousemove",r),e.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",a),e.on("pinch",s))},n.disable=function(){e.off("mousedown",i),e.off("mousemove",r),e.off("mouseup",o),e.off("mousewheel",a),e.off("pinch",s)},n}return Tt(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!Cn(t)){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var n=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&vI("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!dI(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,i=this._x,r=this._y,o=e-i,a=n-r;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&In(t.event),mI(this,"pan","moveOnMouseMove",t,{dx:o,dy:a,oldX:i,oldY:r,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){Cn(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=vI("zoomOnMouseWheel",t,this._opt),n=vI("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,r=Math.abs(i),o=t.offsetX,a=t.offsetY;if(0!==i&&(e||n)){if(e){var s=r>3?1.4:r>1?1.2:1.1;gI(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);gI(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){dI(this._zr,"globalPan")||gI(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(ln);function gI(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(In(i.event),mI(t,e,n,i,r))}function mI(t,e,n,i,r){r.isAvailableBehavior=ue(vI,null,n,i),t.trigger(e,r)}function vI(t,e,n){var i=n[t];return!t||i&&(!pe(i)||e.event[i+"Key"])}function yI(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function _I(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,r.x-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var xI,bI={axisPointer:1,tooltip:1,brush:1};function wI(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!bI.hasOwnProperty(i.mainType)&&r&&r.model!==n}function SI(t){pe(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var AI={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},TI=le(AI),MI={"alignment-baseline":"textBaseline","stop-color":"stopColor"},II=le(MI),CI=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=SI(t);this._defsUsePending=[];var i=new qo;this._root=i;var r=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),NI(n,i,null,!0,!1);for(var l,u,c=n.firstChild;c;)this._parseNode(c,i,r,null,!1,!1),c=c.nextSibling;if(function(t,e){for(var n=0;n<e.length;n++){var i=e[n];i[0].style[i[1]]=t[i[2]]}}(this._defs,this._defsUsePending),this._defsUsePending=[],o){var h=zI(o);h.length>=4&&(l={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(l&&null!=a&&null!=s&&(u=HI(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var d=i;(i=new qo).add(d),d.scaleX=d.scaleY=u.scale,d.x=u.x,d.y=u.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new Zl({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var u=xI[s];if(u&&Fe(xI,s)){a=u.call(this,t,e);var c=t.getAttribute("name");if(c){var h={name:c,namedFrom:null,svgNodeTagLower:s,el:a};n.push(h),"g"===s&&(l=h)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:a});e.add(a)}}var d=DI[s];if(d&&Fe(DI,s)){var p=d.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=p)}}if(a&&a.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,a,n,l,r,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new zl({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});PI(e,n),NI(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=void(xI={g:function(t,e){var n=new qo;return PI(e,n),NI(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Zl;return PI(e,n),NI(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new Rc;return PI(e,n),NI(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new ah;return PI(e,n),NI(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new kc;return PI(e,n),NI(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=RI(i));var r=new eh({shape:{points:n||[]},silent:!0});return PI(e,r),NI(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=RI(i));var r=new ih({shape:{points:n||[]},silent:!0});return PI(e,r),NI(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new Gl;return PI(e,n),NI(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new qo;return PI(e,a),NI(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new qo;return PI(e,a),NI(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=Ec(t.getAttribute("d")||"");return PI(e,n),NI(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),DI={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new mh(e,n,i,r);return EI(t,o),LI(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new yh(e,n,i);return EI(t,r),LI(t,r),r}};function EI(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function LI(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};UI(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function PI(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),$t(e.__inheritedStyle,t.__inheritedStyle))}function RI(t){for(var e=zI(t),n=[],i=0;i<e.length;i+=2){var r=parseFloat(e[i]),o=parseFloat(e[i+1]);n.push([r,o])}return n}function NI(t,e,n,i,r){var o=e,a=o.__inheritedStyle=o.__inheritedStyle||{},s={};1===t.nodeType&&(function(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var i=[],r=null;n.replace(FI,(function(t,e,n){return i.push(e,n),""}));for(var o=i.length-1;o>0;o-=2){var a=i[o],s=i[o-1],l=zI(a);switch(r=r||[1,0,0,1,0,0],s){case"translate":kn(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":Bn(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":On(r,r,-parseFloat(l[0])*VI,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":Nn(r,[1,0,Math.tan(parseFloat(l[0])*VI),1,0,0],r);break;case"skewY":Nn(r,[1,Math.tan(parseFloat(l[0])*VI),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}(t,e),UI(t,a,s),i||function(t,e,n){for(var i=0;i<TI.length;i++){var r=TI[i];null!=(o=t.getAttribute(r))&&(e[AI[r]]=o)}for(i=0;i<II.length;i++){var o;r=II[i];null!=(o=t.getAttribute(r))&&(n[MI[r]]=o)}}(t,a,s)),o.style=o.style||{},null!=a.fill&&(o.style.fill=OI(o,"fill",a.fill,n)),null!=a.stroke&&(o.style.stroke=OI(o,"stroke",a.stroke,n)),re(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){null!=a[t]&&(o.style[t]=parseFloat(a[t]))})),re(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(t){null!=a[t]&&(o.style[t]=a[t])})),r&&(o.__selfStyle=s),a.lineDash&&(o.style.lineDash=oe(zI(a.lineDash),(function(t){return parseFloat(t)}))),"hidden"!==a.visibility&&"collapse"!==a.visibility||(o.invisible=!0),"none"===a.display&&(o.ignore=!0)}var kI=/^url\(\s*#(.*?)\)/;function OI(t,e,n,i){var r=n&&n.match(kI);if(!r)return"none"===n&&(n=null),n;var o=Ce(r[1]);i.push([t,e,o])}var BI=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function zI(t){return t.match(BI)||[]}var FI=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,VI=Math.PI/180;var GI=/([^\s:;]+)\s*:\s*([^:;]+)/g;function UI(t,e,n){var i,r=t.getAttribute("style");if(r)for(GI.lastIndex=0;null!=(i=GI.exec(r));){var o=i[1],a=Fe(AI,o)?AI[o]:null;a&&(e[a]=i[2]);var s=Fe(MI,o)?MI[o]:null;s&&(n[s]=i[2])}}function HI(t,e){var n=e.width/t.width,i=e.height/t.height,r=Math.min(n,i);return{scale:r,x:-(t.x+t.width/2)*r+(e.x+e.width/2),y:-(t.y+t.height/2)*r+(e.y+e.height/2)}}var WI=ke(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),XI=function(){function t(t,e){this.type="geoSVG",this._usedGraphicMap=ke(),this._freedGraphics=[],this._mapName=t,this._parsedXML=SI(e)}return t.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var e=function(t){var e=[],n=ke();return re(t,(function(t){if(null==t.namedFrom){var i=new $b(t.name,t.el);e.push(i),n.set(t.name,i)}})),{regions:e,regionsMap:n}}(t.named),n=e.regions,i=e.regionsMap;this._regions=n,this._regionsMap=i}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},t.prototype._buildGraphic=function(t){var e,n,i,r;try{Ie(null!=(n=(e=t&&(i=t,r={ignoreViewBox:!0,ignoreRootClip:!0},(new CI).parse(i,r))||{}).root))}catch(KJ){throw new Error("Invalid svg format\n"+KJ.message)}var o=new qo;o.add(n),o.isGeoSVGGraphicRoot=!0;var a=e.width,s=e.height,l=e.viewBoxRect,u=this._boundingRect;if(!u){var c=void 0,h=void 0,d=void 0,p=void 0;if(null!=a?(c=0,d=a):l&&(c=l.x,d=l.width),null!=s?(h=0,p=s):l&&(h=l.y,p=l.height),null==c||null==h){var f=n.getBoundingRect();null==c&&(c=f.x,d=f.width),null==h&&(h=f.y,p=f.height)}u=this._boundingRect=new Zn(c,h,d,p)}if(l){var g=HI(l,u);n.scaleX=n.scaleY=g.scale,n.x=g.x,n.y=g.y}o.setClipPath(new Zl({shape:u.plain()}));var m=[];return re(e.named,(function(t){var e;null!=WI.get(t.svgNodeTagLower)&&(m.push(t),(e=t.el).silent=!1,e.isGroup&&e.traverse((function(t){t.silent=!1})))})),{root:o,boundingRect:u,named:m}},t.prototype.useGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,n),n)},t.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);n&&(e.removeKey(t),this._freedGraphics.push(n))},t}();for(var jI=[126,25],YI="南海诸岛",ZI=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],QI=0;QI<ZI.length;QI++)for(var qI=0;qI<ZI[QI].length;qI++)ZI[QI][qI][0]/=10.5,ZI[QI][qI][1]/=-14,ZI[QI][qI][0]+=jI[0],ZI[QI][qI][1]+=jI[1];var JI={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function KI(t,e){if("china"===t){var n=JI[e.name];if(n){var i=e.getCenter();i[0]+=n[0]/10.5,i[1]+=-n[1]/14,e.setCenter(i)}}}var $I=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];var tC=function(){function t(t,e,n){var i;this.type="geoJSON",this._parsedMap=ke(),this._mapName=t,this._specialAreas=n,this._geoJSON=pe(i=e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(i):new Function("return ("+i+");")():i}return t.prototype.load=function(t,e){e=e||"name";var n=this._parsedMap.get(e);if(!n){var i=this._parseToRegions(e);n=this._parsedMap.set(e,{regions:i,boundingRect:eC(i)})}var r=ke(),o=[];return re(n.regions,(function(e){var n=e.name;t&&Fe(t,n)&&(e=e.cloneShallow(n=t[n])),o.push(e),r.set(n,e)})),{regions:o,boundingRect:n.boundingRect||new Zn(0,0,0,0),regionsMap:r}},t.prototype._parseToRegions=function(t){var e,n=this._mapName,i=this._geoJSON;try{e=i?nw(i,t):[]}catch(KJ){throw new Error("Invalid geoJson format\n"+KJ.message)}return function(t,e){if("china"===t){for(var n=0;n<e.length;n++)if(e[n].name===YI)return;e.push(new Kb(YI,oe(ZI,(function(t){return{type:"polygon",exterior:t}})),jI))}}(n,e),re(e,(function(t){var e=t.name;KI(n,t),function(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:$I[0]})}(n,t);var i=this._specialAreas&&this._specialAreas[e];i&&t.transformTo(i.left,i.top,i.width,i.height)}),this),e},t.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},t}();function eC(t){for(var e,n=0;n<t.length;n++){var i=t[n].getBoundingRect();(e=e||i.clone()).union(i)}return e}var nC=ke(),iC={registerMap:function(t,e,n){if(e.svg){var i=new XI(t,e.svg);nC.set(t,i)}else{var r=e.geoJson||e.geoJSON;r&&!e.features?n=e.specialAreas:r=e;i=new tC(t,r,n);nC.set(t,i)}},getGeoResource:function(t){return nC.get(t)},getMapForUser:function(t){var e=nC.get(t);return e&&"geoJSON"===e.type&&e.getMapForUser()},load:function(t,e,n){var i=nC.get(t);if(i)return i.load(e,n)}},rC=["rect","circle","line","ellipse","polygon","polyline","path"],oC=ke(rC),aC=ke(rC.concat(["g"])),sC=ke(rC.concat(["g"])),lC=Ua();function uC(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}function cC(t){var e=t.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}var hC=function(){function t(t){var e=new qo;this.uid=Vd("ec_map_draw"),this._controller=new fI(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new qo),e.add(this._svgGroup=new qo)}return t.prototype.draw=function(t,e,n,i,r){var o="geo"===t.mainType,a=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},(function(e){a||e.getHostGeoModel()!==t||(a=e.getData())}));var s=t.coordinateSystem,l=this._regionsGroup,u=this.group,c=s.getTransformInfo(),h=c.raw,d=c.roam;!l.childAt(0)||r?(u.x=d.x,u.y=d.y,u.scaleX=d.scaleX,u.scaleY=d.scaleY,u.dirty()):Lh(u,d,t);var p=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,f={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:p,isGeo:o,transformInfoRaw:h};"geoJSON"===s.resourceType?this._buildGeoJSON(f):"geoSVG"===s.resourceType&&this._buildSVG(f),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=ke(),n=ke(),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function c(t){for(var e=[],n=!l&&s&&s.project,i=0;i<t.length;++i){var r=u(t[i],n);r&&e.push(r)}return e}function h(t){return{shape:{points:c(t)}}}i.removeAll(),re(t.geo.regions,(function(r){var c=r.name,d=e.get(c),p=n.get(c)||{},f=p.dataIdx,g=p.regionModel;d||(d=e.set(c,new qo),i.add(d),f=a?a.indexOfName(c):null,g=t.isGeo?o.getRegionModel(c):a?a.getItemModel(f):null,n.set(c,{dataIdx:f,regionModel:g}));var m=[],v=[];re(r.geometries,(function(t){if("polygon"===t.type){var e=[t.exterior].concat(t.interiors||[]);l&&(e=vC(e,l)),re(e,(function(t){m.push(new eh(h(t)))}))}else{var n=t.points;l&&(n=vC(n,l,!0)),re(n,(function(t){v.push(new ih(h(t)))}))}}));var y=u(r.getCenter(),s&&s.project);function _(e,n){if(e.length){var i=new fh({culling:!0,segmentIgnoreThreshold:1,shape:{paths:e}});d.add(i),dC(t,i,f,g),pC(t,i,c,g,o,f,y),n&&(cC(i),re(i.states,cC))}}_(m),_(v,!0)})),e.each((function(e,i){var r=n.get(i),a=r.dataIdx,s=r.regionModel;fC(t,e,i,s,o,a),gC(t,e,i,s,o),mC(t,e,i,s,o)}),this)},t.prototype._buildSVG=function(t){var e=t.geo.map,n=t.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(e)&&(this._freeSVG(),this._useSVG(e));var i=this._svgDispatcherMap=ke(),r=!1;re(this._svgGraphicRecord.named,(function(e){var n=e.name,o=t.mapOrGeoModel,a=t.data,s=e.svgNodeTagLower,l=e.el,u=a?a.indexOfName(n):null,c=o.getRegionModel(n);(null!=oC.get(s)&&l instanceof Rs&&dC(t,l,u,c),l instanceof Rs&&(l.culling=!0),l.z2EmphasisLift=0,e.namedFrom)||(null!=sC.get(s)&&pC(t,l,n,c,o,u,null),fC(t,l,n,c,o,u),gC(t,l,n,c,o),null!=aC.get(s)&&("self"===mC(t,l,n,c,o)&&(r=!0),(i.get(n)||i.set(n,[])).push(l)))}),this),this._enableBlurEntireSVG(r,t)},t.prototype._enableBlurEntireSVG=function(t,e){if(t&&e.isGeo){var n=e.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle().opacity;this._svgGraphicRecord.root.traverse((function(t){if(!t.isGroup){Vu(t);var e=t.ensureState("blur").style||{};null==e.opacity&&null!=n&&(e.opacity=n),t.ensureState("emphasis")}}))}},t.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},t.prototype.findHighDownDispatchers=function(t,e){if(null==t)return[];var n=e.coordinateSystem;if("geoJSON"===n.resourceType){var i=this._regionsGroupByName;if(i){var r=i.get(t);return r?[r]:[]}}else if("geoSVG"===n.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},t.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},t.prototype._useSVG=function(t){var e=iC.getGeoResource(t);if(e&&"geoSVG"===e.type){var n=e.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=t}},t.prototype._freeSVG=function(){var t=this._svgMapName;if(null!=t){var e=iC.getGeoResource(t);e&&"geoSVG"===e.type&&e.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},t.prototype._updateController=function(t,e,n){var i=t.coordinateSystem,r=this._controller,o=this._controllerHost;o.zoomLimit=t.get("scaleLimit"),o.zoom=i.getZoom(),r.enable(t.get("roam")||!1);var a=t.mainType;function s(){var e={type:"geoRoam",componentType:a};return e[a+"Id"]=t.id,e}r.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,yI(o,t.dx,t.dy),n.dispatchAction(Kt(s(),{dx:t.dx,dy:t.dy,animation:{duration:0}}))}),this),r.off("zoom").on("zoom",(function(t){this._mouseDownFlag=!1,_I(o,t.scale,t.originX,t.originY),n.dispatchAction(Kt(s(),{totalZoom:o.zoom,zoom:t.scale,originX:t.originX,originY:t.originY,animation:{duration:0}}))}),this),r.setPointerChecker((function(e,r,o){return i.containPoint([r,o])&&!wI(e,n,t)}))},t.prototype.resetForLabelLayout=function(){this.group.traverse((function(t){var e=t.getTextContent();e&&(e.ignore=lC(e).ignore)}))},t.prototype._updateMapSelectHandler=function(t,e,n,i){var r=this;e.off("mousedown"),e.off("click"),t.get("selectedMode")&&(e.on("mousedown",(function(){r._mouseDownFlag=!0})),e.on("click",(function(t){r._mouseDownFlag&&(r._mouseDownFlag=!1)})))},t}();function dC(t,e,n,i){var r=i.getModel("itemStyle"),o=i.getModel(["emphasis","itemStyle"]),a=i.getModel(["blur","itemStyle"]),s=i.getModel(["select","itemStyle"]),l=uC(r),u=uC(o),c=uC(s),h=uC(a),d=t.data;if(d){var p=d.getItemVisual(n,"style"),f=d.getItemVisual(n,"decal");t.isVisualEncodedByVisualMap&&p.fill&&(l.fill=p.fill),f&&(l.decal=Ly(f,t.api))}e.setStyle(l),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=u,e.ensureState("select").style=c,e.ensureState("blur").style=h,Vu(e)}function pC(t,e,n,i,r,o,a){var s=t.data,l=t.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),o)),c=s&&s.getItemLayout(o);if(l||u||c&&c.showLabel){var h=l?n:o,d=void 0;(!s||o>=0)&&(d=r);var p=a?{normal:{align:"center",verticalAlign:"middle"}}:null;fd(e,gd(i),{labelFetcher:d,labelDataIndex:h,defaultText:n},p);var f=e.getTextContent();if(f&&(lC(f).ignore=f.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function fC(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):cu(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function gC(t,e,n,i,r){t.data||sd({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function mC(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return ic(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&function(t,e,n){var i=cu(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}(e,r,n),a}function vC(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),re(t,(function(t){s.lineStart();for(var e=0;e<t.length;e++)s.point(t[e][0],t[e][1]);s.lineEnd()})),!n&&s.polygonEnd(),r}var yC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.render=function(t,e,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var r=this.group;if(r.removeAll(),!t.getHostGeoModel()){if(this._mapDraw&&i&&"geoRoam"===i.type&&this._mapDraw.resetForLabelLayout(),i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===t.id)(o=this._mapDraw)&&r.add(o.group);else if(t.needsDrawMap){var o=this._mapDraw||new hC(n);r.add(o.group),o.draw(t,e,n,this,i),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},e.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},e.prototype._renderSymbols=function(t,e,n){var i=t.originalData,r=this.group;i.each(i.mapDimension("value"),(function(e,n){if(!isNaN(e)){var o=i.getItemLayout(n);if(o&&o.point){var a=o.point,s=o.offset,l=new Rc({style:{fill:t.getData().getVisual("style").fill},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:8+(s?0:bu+1)});if(!s){var u=t.mainSeries.getData(),c=i.getName(n),h=u.indexOfName(c),d=i.getItemModel(n),p=d.getModel("label"),f=u.getItemGraphicEl(h);fd(l,gd(d),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(h,n)}},defaultText:c}),l.disableLabelAnimation=!0,p.get("position")||l.setTextConfig({position:"bottom"}),f.onHoverStateChange=function(t){zu(l,t)}}r.add(l)}}}))},e.type="map",e}(Um),_C=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.getCenter())}},n}return Tt(e,t),e.prototype.getInitialData=function(t){for(var e=YT(this,{coordDimensions:["value"],encodeDefaulter:ce(hf,this)}),n=ke(),i=[],r=0,o=e.count();r<o;r++){var a=e.getName(r);n.set(a,!0)}return re(iC.load(this.getMapType(),this.option.nameMap,this.option.nameProperty).regions,(function(t){var e=t.name;n.get(e)||i.push(e)})),e.appendValues([],i),e},e.prototype.getHostGeoModel=function(){var t=this.option.geoIndex;return null!=t?this.ecModel.getComponent("geo",t):null},e.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},e.prototype.getRawValue=function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},e.prototype.getRegionModel=function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData(),r=this.getRawValue(t),o=i.getName(t),a=this.seriesGroup,s=[],l=0;l<a.length;l++){var u=a[l].originalData.indexOfName(o),c=i.mapDimension("value");isNaN(a[l].originalData.get(c,u))||s.push(a[l].name)}return fm("section",{header:s.join(", "),noHeader:!s.length,blocks:[fm("nameValue",{name:o,value:r})]})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.getLegendIcon=function(t){var e=t.icon||"roundRect",n=ty(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill);return n.setStyle(t.itemStyle),n.style.stroke="none",e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(Em);function xC(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)})),re(e,(function(t,e){for(var n,i,r,o=(n=oe(t,(function(t){return t.getData()})),i=t[0].get("mapValueCalculation"),r={},re(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var o="ec-"+n[0].getName(e),a=0,s=1/0,l=-1/0,u=r[o].length,c=0;c<u;c++)s=Math.min(s,r[o][c]),l=Math.max(l,r[o][c]),a+=r[o][c];return 0===u?NaN:"min"===i?s:"max"===i?l:"average"===i?a/u:a}))),a=0;a<t.length;a++)t[a].originalData=t[a].getData();for(a=0;a<t.length;a++)t[a].seriesGroup=t,t[a].needsDrawMap=0===a&&!t[a].getHostGeoModel(),t[a].setData(o.cloneShallow()),t[a].mainSeries=t[0]}))}function bC(t){var e={};t.eachSeriesByType("map",(function(n){var i=n.getMapType();if(!n.getHostGeoModel()&&!e[i]){var r={};re(n.seriesGroup,(function(e){var n=e.coordinateSystem,i=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&i.each(i.mapDimension("value"),(function(t,e){var o=i.getName(e),a=n.getRegion(o);if(a&&!isNaN(t)){var s=r[o]||0,l=n.dataToPoint(a.getCenter());r[o]=s+1,i.setItemLayout(e,{point:l,offset:s})}}))}));var o=n.getData();o.each((function(t){var e=o.getName(t),n=o.getItemLayout(t)||{};n.showLabel=!r[e],o.setItemLayout(t,n)})),e[i]=!0}}))}var wC=nn,SC=function(t){function e(e){var n=t.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new Co,n._rawTransformable=new Co,n.name=e,n}return Tt(e,t),e.prototype.setBoundingRect=function(t,e,n,i){return this._rect=new Zn(t,e,n,i),this._rect},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.setViewRect=function(t,e,n,i){this._transformTo(t,e,n,i),this._viewRect=new Zn(t,e,n,i)},e.prototype._transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new Zn(t,e,n,i));var a=o.parent;o.parent=null,o.decomposeTransform(),o.parent=a,this._updateTransform()},e.prototype.setCenter=function(t,e){t&&(this._center=[oa(t[0],e.getWidth()),oa(t[1],e.getHeight())],this._updateCenterAndZoom())},e.prototype.setZoom=function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},e.prototype.getDefaultCenter=function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},e.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},e.prototype.getZoom=function(){return this._zoom||1},e.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},e.prototype._updateCenterAndZoom=function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),r=this.getZoom();i=nn([],i,t),n=nn([],n,t),e.originX=i[0],e.originY=i[1],e.x=n[0]-i[0],e.y=n[1]-i[1],e.scaleX=e.scaleY=r,this._updateTransform()},e.prototype._updateTransform=function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),Rn(this.transform||(this.transform=[]),e.transform||[1,0,0,1,0,0]),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],zn(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var t=this._rawTransformable,e=this._roamTransformable,n=new Co;return n.transform=e.transform,n.decomposeTransform(),{roam:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY},raw:{x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY}}},e.prototype.getViewRect=function(){return this._viewRect},e.prototype.getViewRectAfterRoam=function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},e.prototype.dataToPoint=function(t,e,n){var i=e?this._rawTransform:this.transform;return n=n||[],i?wC(n,t,i):He(n,t)},e.prototype.pointToData=function(t){var e=this.invTransform;return e?wC([],t,e):[t[0],t[1]]},e.prototype.convertToPixel=function(t,e,n){var i=AC(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=AC(e);return i===this?i.pointToData(n):null},e.prototype.containPoint=function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])},e.dimensions=["x","y"],e}(Co);function AC(t){var e=t.seriesModel;return e?e.coordinateSystem:null}var TC={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},MC=["lng","lat"],IC=function(t){function e(e,n,i){var r=t.call(this,e)||this;r.dimensions=MC,r.type="geo",r._nameCoordMap=ke(),r.map=n;var o=i.projection,a=iC.load(n,i.nameMap,i.nameProperty),s=iC.getGeoResource(n);r.resourceType=s?s.type:null;var l,u=r.regions=a.regions,c=TC[s.type];if(r._regionsMap=a.regionsMap,r.regions=a.regions,r.projection=o,o)for(var h=0;h<u.length;h++){var d=u[h].getBoundingRect(o);(l=l||d.clone()).union(d)}else l=a.boundingRect;return r.setBoundingRect(l.x,l.y,l.width,l.height),r.aspectScale=o?1:Se(i.aspectScale,c.aspectScale),r._invertLongitute=!o&&c.invertLongitute,r}return Tt(e,t),e.prototype._transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=this._invertLongitute;r=r.clone(),o&&(r.y=-r.y-r.height);var a=this._rawTransformable;a.transform=r.calculateTransform(new Zn(t,e,n,i));var s=a.parent;a.parent=null,a.decomposeTransform(),a.parent=s,o&&(a.scaleY=-a.scaleY),this._updateTransform()},e.prototype.getRegion=function(t){return this._regionsMap.get(t)},e.prototype.getRegionByCoord=function(t){for(var e=this.regions,n=0;n<e.length;n++){var i=e[n];if("geoJSON"===i.type&&i.contain(t))return e[n]}},e.prototype.addGeoCoord=function(t,e){this._nameCoordMap.set(t,e)},e.prototype.getGeoCoord=function(t){var e=this._regionsMap.get(t);return this._nameCoordMap.get(t)||e&&e.getCenter()},e.prototype.dataToPoint=function(t,e,n){if(pe(t)&&(t=this.getGeoCoord(t)),t){var i=this.projection;return i&&(t=i.project(t)),t&&this.projectedToPoint(t,e,n)}},e.prototype.pointToData=function(t){var e=this.projection;return e&&(t=e.unproject(t)),t&&this.pointToProjected(t)},e.prototype.pointToProjected=function(e){return t.prototype.pointToData.call(this,e)},e.prototype.projectedToPoint=function(e,n,i){return t.prototype.dataToPoint.call(this,e,n,i)},e.prototype.convertToPixel=function(t,e,n){var i=CC(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=CC(e);return i===this?i.pointToData(n):null},e}(SC);function CC(t){var e=t.geoModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",ja).models[0]||{}).coordinateSystem:null}ne(IC,SC);var DC=IC;function EC(t,e){var n=t.get("boundingCoords");if(null!=n){var i=n[0],r=n[1];if(isFinite(i[0])&&isFinite(i[1])&&isFinite(r[0])&&isFinite(r[1])){var o=this.projection;if(o){var a=i[0],s=i[1],l=r[0],u=r[1];i=[1/0,1/0],r=[-1/0,-1/0];var c=function(t,e,n,a){for(var s=n-t,l=a-e,u=0;u<=100;u++){var c=u/100,h=o.project([t+s*c,e+l*c]);rn(i,i,h),on(r,r,h)}};c(a,s,l,s),c(l,s,l,u),c(l,u,a,u),c(a,u,l,s)}this.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1])}else;}var h,d,p,f=this.getBoundingRect(),g=t.get("layoutCenter"),m=t.get("layoutSize"),v=e.getWidth(),y=e.getHeight(),_=f.width/f.height*this.aspectScale,x=!1;if(g&&m&&(h=[oa(g[0],v),oa(g[1],y)],d=oa(m,Math.min(v,y)),isNaN(h[0])||isNaN(h[1])||isNaN(d)||(x=!0)),x)p={},_>1?(p.width=d,p.height=d/_):(p.height=d,p.width=d*_),p.y=h[1]-p.height/2,p.x=h[0]-p.width/2;else{var b=t.getBoxLayoutParams();b.aspect=_,p=Gp(b,{width:v,height:y})}this.setViewRect(p.x,p.y,p.width,p.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}var LC=function(){function t(){this.dimensions=MC}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,r){var o=t.get("map"),a=new DC(o+r,o,Kt({nameMap:t.get("nameMap")},i(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=EC,a.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),re(r,(function(t,r){var o=oe(t,(function(t){return t.get("nameMap")})),a=new DC(r,r,Kt({nameMap:Jt(o)},i(t[0])));a.zoomLimit=we.apply(null,oe(t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=EC,a.resize(t[0],e),re(t,(function(t){t.coordinateSystem=a,function(t,e){re(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=ke(),a=0;a<r.length;a++)o.set(r[a].name,r[a]);return re(iC.load(e,n,i).regions,(function(t){var e=t.name;!o.get(e)&&r.push({name:e})})),r},t}(),PC=new LC,RC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.init=function(t,e,n){var i=iC.getGeoResource(t.map);if(i&&"geoJSON"===i.type){var r=t.itemStyle=t.itemStyle||{};"color"in r||(r.color="#eee")}this.mergeDefaultAndTheme(t,n),La(t,"label",["show"])},e.prototype.optionUpdated=function(){var t=this,e=this.option;e.regions=PC.getFilledRegions(e.regions,e.map,e.nameMap,e.nameProperty);var n={};this._optionModelMap=ae(e.regions||[],(function(e,i){var r=i.name;return r&&(e.set(r,new zd(i,t,t.ecModel)),i.selected&&(n[r]=!0)),e}),ke()),e.selectedMap||(e.selectedMap=n)},e.prototype.getRegionModel=function(t){return this._optionModelMap.get(t)||new zd(null,this,this.ecModel)},e.prototype.getFormattedLabel=function(t,e){var n=this.getRegionModel(t),i="normal"===e?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),r={name:t};return de(i)?(r.status=e,i(r)):pe(i)?i.replace("{a}",null!=t?t:""):void 0},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.select=function(t){var e=this.option,n=e.selectedMode;n&&("multiple"!==n&&(e.selectedMap=null),(e.selectedMap||(e.selectedMap={}))[t]=!0)},e.prototype.unSelect=function(t){var e=this.option.selectedMap;e&&(e[t]=!1)},e.prototype.toggleSelected=function(t){this[this.isSelected(t)?"unSelect":"select"](t)},e.prototype.isSelected=function(t){var e=this.option.selectedMap;return!(!e||!e[t])},e.type="geo",e.layoutMode="box",e.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},e}(Zp);function NC(t,e){return t.pointToProjected?t.pointToProjected(e):t.pointToData(e)}function kC(t,e,n,i){var r=t.getZoom(),o=t.getCenter(),a=e.zoom,s=t.projectedToPoint?t.projectedToPoint(o):t.dataToPoint(o);if(null!=e.dx&&null!=e.dy&&(s[0]-=e.dx,s[1]-=e.dy,t.setCenter(NC(t,s),i)),null!=a){if(n){var l=n.min||0,u=n.max||1/0;a=Math.max(Math.min(r*a,u),l)/r}t.scaleX*=a,t.scaleY*=a;var c=(e.originX-t.x)*(a-1),h=(e.originY-t.y)*(a-1);t.x-=c,t.y-=h,t.updateTransform(),t.setCenter(NC(t,s),i),t.setZoom(a*r)}return{center:t.getCenter(),zoom:t.getZoom()}}var OC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.focusBlurEnabled=!0,n}return Tt(e,t),e.prototype.init=function(t,e){this._api=e},e.prototype.render=function(t,e,n,i){if(this._model=t,!t.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new hC(n));var r=this._mapDraw;r.draw(t,e,n,this,i),r.group.on("click",this._handleRegionClick,this),r.group.silent=t.get("silent"),this.group.add(r.group),this.updateSelectStatus(t,e,n)},e.prototype._handleRegionClick=function(t){var e;Uv(t.target,(function(t){return null!=(e=cu(t).eventData)}),!0),e&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:e.name})},e.prototype.updateSelectStatus=function(t,e,n){var i=this;this._mapDraw.group.traverse((function(t){var e=cu(t).eventData;if(e)return i._model.isSelected(e.name)?n.enterSelect(t):n.leaveSelect(t),!0}))},e.prototype.findHighDownDispatchers=function(t){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(t,this._model)},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},e.type="geo",e}(zm);function BC(t,e,n){iC.registerMap(t,e,n)}function zC(t){function e(e,n){n.update="geo:updateSelectStatus",t.registerAction(n,(function(t,n){var i={},r=[];return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name),re(n.coordinateSystem.regions,(function(t){i[t.name]=n.isSelected(t.name)||!1}));var o=[];re(i,(function(t,e){i[e]&&o.push(e)})),r.push({geoIndex:n.componentIndex,name:o})})),{selected:i,allSelected:r,name:t.name}}))}t.registerCoordinateSystem("geo",PC),t.registerComponentModel(RC),t.registerComponentView(OC),t.registerImpl("registerMap",BC),t.registerImpl("getMap",(function(t){return iC.getMapForUser(t)})),e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"}),t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,e,n){var i=t.componentType||"series";e.eachComponent({mainType:i,query:t},(function(e){var r=e.coordinateSystem;if("geo"===r.type){var o=kC(r,t,e.get("scaleLimit"),n);e.setCenter&&e.setCenter(o.center),e.setZoom&&e.setZoom(o.zoom),"series"===i&&re(e.seriesGroup,(function(t){t.setCenter(o.center),t.setZoom(o.zoom)}))}}))}))}function FC(t,e){var n=t.isExpand?t.children:[],i=t.parentNode.children,r=t.hierNode.i?i[t.hierNode.i-1]:null;if(n.length){!function(t){var e=t.children,n=e.length,i=0,r=0;for(;--n>=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,h=s.hierNode.modifier;s=HC(s),o=WC(o),s&&o;){r=HC(r),a=WC(a),r.hierNode.ancestor=t;var d=s.hierNode.prelim+h-o.hierNode.prelim-u+i(s,o);d>0&&(jC(XC(s,t,n),t,d),u+=d,l+=d),h+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,c+=a.hierNode.modifier}s&&!HC(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=h-l),o&&!WC(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function VC(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function GC(t){return arguments.length?t:YC}function UC(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function HC(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function WC(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function XC(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function jC(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function YC(t,e){return t.parentNode===e.parentNode?1:2}var ZC=function(){return function(){this.parentPoint=[],this.childPoints=[]}}(),QC=function(t){function e(e){return t.call(this,e)||this}return Tt(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new ZC},e.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=oa(e.forkPosition,1),h=[];h[l]=r[l],h[u]=r[u]+(a[u]-r[u])*c,t.moveTo(r[0],r[1]),t.lineTo(h[0],h[1]),t.moveTo(o[0],o[1]),h[l]=o[l],t.lineTo(h[0],h[1]),h[l]=a[l],t.lineTo(h[0],h[1]),t.lineTo(a[0],a[1]);for(var d=1;d<i-1;d++){var p=n[d];t.moveTo(p[0],p[1]),h[l]=p[l],t.lineTo(h[0],h[1])}},e}(Ol),qC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._mainGroup=new qo,n}return Tt(e,t),e.prototype.init=function(t,e){this._controller=new fI(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},e.prototype.render=function(t,e,n){var i=t.getData(),r=t.layoutInfo,o=this._mainGroup;"radial"===t.get("layout")?(o.x=r.x+r.width/2,o.y=r.y+r.height/2):(o.x=r.x,o.y=r.y),this._updateViewCoordSys(t,n),this._updateController(t,e,n);var a=this._data;i.diff(a).add((function(e){JC(i,e)&&KC(i,e,null,o,t)})).update((function(e,n){var r=a.getItemGraphicEl(n);JC(i,e)?KC(i,e,r,o,t):r&&eD(a,n,r,o,t)})).remove((function(e){var n=a.getItemGraphicEl(e);n&&eD(a,e,n,o,t)})).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===t.get("expandAndCollapse")&&i.eachItemGraphicEl((function(e,i){e.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:i})}))})),this._data=i},e.prototype._updateViewCoordSys=function(t,e){var n=t.getData(),i=[];n.each((function(t){var e=n.getItemLayout(t);!e||isNaN(e.x)||isNaN(e.y)||i.push([+e.x,+e.y])}));var r=[],o=[];Ws(i,r,o);var a=this._min,s=this._max;o[0]-r[0]==0&&(r[0]=a?a[0]:r[0]-1,o[0]=s?s[0]:o[0]+1),o[1]-r[1]==0&&(r[1]=a?a[1]:r[1]-1,o[1]=s?s[1]:o[1]+1);var l=t.coordinateSystem=new SC;l.zoomLimit=t.get("scaleLimit"),l.setBoundingRect(r[0],r[1],o[0]-r[0],o[1]-r[1]),l.setCenter(t.get("center"),e),l.setZoom(t.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=r,this._max=o},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!wI(e,n,t)})),r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){yI(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){_I(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(t),n.updateLabelLayout()}))},e.prototype._updateNodeAndLinkScale=function(t){var e=t.getData(),n=this._getNodeGlobalScale(t);e.eachItemGraphicEl((function(t,e){t.setSymbolScale(n)}))},e.prototype._getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,i=e.scaleX||1;return((e.getZoom()-1)*n+1)/i},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},e.type="tree",e}(Um);function JC(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)}function KC(t,e,n,i,r){var o=!n,a=t.tree.getNodeByDataIndex(e),s=a.getModel(),l=a.getVisual("style").fill,u=!1===a.isExpand&&0!==a.children.length?l:"#fff",c=t.tree.root,h=a.parentNode===c?a:a.parentNode||a,d=t.getItemGraphicEl(h.dataIndex),p=h.getLayout(),f=d?{x:d.__oldX,y:d.__oldY,rawX:d.__radialOldRawX,rawY:d.__radialOldRawY}:p,g=a.getLayout();o?((n=new IA(t,e,null,{symbolInnerColor:u,useNameLabel:!0})).x=f.x,n.y=f.y):n.updateData(t,e,null,{symbolInnerColor:u,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=g.rawX,n.__radialRawY=g.rawY,i.add(n),t.setItemGraphicEl(e,n),n.__oldX=n.x,n.__oldY=n.y,Lh(n,{x:g.x,y:g.y},r);var m=n.getSymbolPath();if("radial"===r.get("layout")){var v=c.children[0],y=v.getLayout(),_=v.children.length,x=void 0,b=void 0;if(g.x===y.x&&!0===a.isExpand&&v.children.length){var w={x:(v.children[0].getLayout().x+v.children[_-1].getLayout().x)/2,y:(v.children[0].getLayout().y+v.children[_-1].getLayout().y)/2};(x=Math.atan2(w.y-y.y,w.x-y.x))<0&&(x=2*Math.PI+x),(b=w.x<y.x)&&(x-=Math.PI)}else(x=Math.atan2(g.y-y.y,g.x-y.x))<0&&(x=2*Math.PI+x),0===a.children.length||0!==a.children.length&&!1===a.isExpand?(b=g.x<y.x)&&(x-=Math.PI):(b=g.x>y.x)||(x-=Math.PI);var S=b?"left":"right",A=s.getModel("label"),T=A.get("rotate"),M=T*(Math.PI/180),I=m.getTextContent();I&&(m.setTextConfig({position:A.get("position")||S,rotation:null==T?-x:M,origin:"center"}),I.setStyle("verticalAlign","middle"))}var C=s.get(["emphasis","focus"]),D="relative"===C?Oe(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===C?a.getAncestorsIndices():"descendant"===C?a.getDescendantIndices():null;D&&(cu(n).focus=D),function(t,e,n,i,r,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),c=t.get("layout"),h=t.getOrient(),d=t.get(["lineStyle","curveness"]),p=t.get("edgeForkPosition"),f=l.getModel("lineStyle").getLineStyle(),g=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=i.__edge=new ch({shape:nD(c,h,d,r,r)})),Lh(g,{shape:nD(c,h,d,o,a)},t));else if("polyline"===u&&"orthogonal"===c&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var m=e.children,v=[],y=0;y<m.length;y++){var _=m[y].getLayout();v.push([_.x,_.y])}g||(g=i.__edge=new QC({shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]],orient:h,forkPosition:p}})),Lh(g,{shape:{parentPoint:[a.x,a.y],childPoints:v}},t)}g&&("polyline"!==u||e.isExpand)&&(g.useStyle($t({strokeNoScale:!0,fill:null},f)),sc(g,l,"lineStyle"),Vu(g),s.add(g))}(r,a,c,n,f,p,g,i),n.__edge&&(n.onHoverStateChange=function(e){if("blur"!==e){var i=a.parentNode&&t.getItemGraphicEl(a.parentNode.dataIndex);i&&i.hoverState===vu||zu(n.__edge,e)}})}function $C(t,e,n,i,r){var o=tD(e.tree.root,t),a=o.source,s=o.sourceLayout,l=e.getItemGraphicEl(t.dataIndex);if(l){var u=e.getItemGraphicEl(a.dataIndex).__edge,c=l.__edge||(!1===a.isExpand||1===a.children.length?u:void 0),h=i.get("edgeShape"),d=i.get("layout"),p=i.get("orient"),f=i.get(["lineStyle","curveness"]);c&&("curve"===h?Nh(c,{shape:nD(d,p,f,s,s),style:{opacity:0}},i,{cb:function(){n.remove(c)},removeOpt:r}):"polyline"===h&&"orthogonal"===i.get("layout")&&Nh(c,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},i,{cb:function(){n.remove(c)},removeOpt:r}))}}function tD(t,e){for(var n,i=e.parentNode===t?e:e.parentNode||e;null==(n=i.getLayout());)i=i.parentNode===t?i:i.parentNode||i;return{source:i,sourceLayout:n}}function eD(t,e,n,i,r){var o=t.tree.getNodeByDataIndex(e),a=tD(t.tree.root,o).sourceLayout,s={duration:r.get("animationDurationUpdate"),easing:r.get("animationEasingUpdate")};Nh(n,{x:a.x+1,y:a.y+1},r,{cb:function(){i.remove(n),t.setItemGraphicEl(e,null)},removeOpt:s}),n.fadeOut(null,t.hostModel,{fadeLabel:!0,animation:s}),o.children.forEach((function(e){$C(e,t,i,r,s)})),$C(o,t,i,r,s)}function nD(t,e,n,i,r){var o,a,s,l,u,c,h,d;if("radial"===t){u=i.rawX,h=i.rawY,c=r.rawX,d=r.rawY;var p=UC(u,h),f=UC(u,h+(d-h)*n),g=UC(c,d+(h-d)*n),m=UC(c,d);return{x1:p.x||0,y1:p.y||0,x2:m.x||0,y2:m.y||0,cpx1:f.x||0,cpy1:f.y||0,cpx2:g.x||0,cpy2:g.y||0}}return u=i.x,h=i.y,c=r.x,d=r.y,"LR"!==e&&"RL"!==e||(o=u+(c-u)*n,a=h,s=c+(u-c)*n,l=d),"TB"!==e&&"BT"!==e||(o=u,a=h+(d-h)*n,s=c,l=d+(h-d)*n),{x1:u,y1:h,x2:c,y2:d,cpx1:o,cpy1:a,cpx2:s,cpy2:l}}var iD=Ua();function rD(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,cD(e,n,t),re(n,(function(n){re(e.TRANSFERABLE_METHODS,(function(e){n.wrapMethod(e,ce(oD,t))}))})),e.wrapMethod("cloneShallow",ce(sD,t)),re(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,ce(aD,t))})),Ie(n[e.dataType]===e)}function oD(t,e){if(iD(i=this).mainData===i){var n=Kt({},iD(this).datas);n[this.dataType]=e,cD(e,n,t)}else hD(e,this.dataType,iD(this).mainData,t);var i;return e}function aD(t,e){return t.struct&&t.struct.update(),e}function sD(t,e){return re(iD(e).datas,(function(n,i){n!==e&&hD(n.cloneShallow(),i,e,t)})),e}function lD(t){var e=iD(this).mainData;return null==t||null==e?e:iD(e).datas[t]}function uD(){var t=iD(this).mainData;return null==t?[{data:t}]:oe(le(iD(t).datas),(function(e){return{type:e,data:iD(t).datas[e]}}))}function cD(t,e,n){iD(t).datas={},re(e,(function(e,i){hD(e,i,t,n)}))}function hD(t,e,n,i){iD(n).datas[e]=t,iD(t).mainData=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=lD,t.getLinkedDataAll=uD}var dD=function(){function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(t,e,n){de(t)&&(n=e,e=t,t=null),pe(t=t||{})&&(t={order:t});var i,r=t.order||"preorder",o=this[t.attr||"children"];"preorder"===r&&(i=e.call(n,this));for(var a=0;!i&&a<o.length;a++)o[a].eachNode(t,e,n);"postorder"===r&&e.call(n,this)},t.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(t+1),i.height>e&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].getNodeById(t);if(r)return r}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].contains(t);if(r)return r}},t.prototype.getAncestors=function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){for(var t=[],e=this;e;)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},t.prototype.getDescendantIndices=function(){var t=[];return this.eachNode((function(e){t.push(e.dataIndex)})),t},t.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},t.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e;return-1}return-1},t.prototype.isAncestorOf=function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}(),pD=function(){function t(t){this.type="tree",this._nodes=[],this.hostModel=t}return t.prototype.eachNode=function(t,e,n){this.root.eachNode(t,e,n)},t.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},t.prototype.getNodeById=function(t){return this.root.getNodeById(t)},t.prototype.update=function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n<i;n++)e[n].dataIndex=-1;for(n=0,i=t.count();n<i;n++)e[t.getRawIndex(n)].dataIndex=n},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,n,i){var r=new t(n),o=[],a=1;!function t(e,n){var i=e.value;a=Math.max(a,he(i)?i.length:1),o.push(e);var s=new dD(za(e.name,""),r);n?function(t,e){var n=e.children;if(t.parentNode===e)return;n.push(t),t.parentNode=e}(s,n):r.root=s,r._nodes.push(s);var l=e.children;if(l)for(var u=0;u<l.length;u++)t(l[u],s)}(e),r.root.updateDepthAndHeight(0);var s=Ax(o,{coordDimensions:["value"],dimensionsCount:a}).dimensions,l=new bx(s,n);return l.initData(o),i&&i(l),rD({mainData:l,struct:r,structAttr:"tree"}),r.update(),r},t}();function fD(t,e,n){if(t&&te(e,t.type)>=0){var i=n.getData().tree.root,r=t.targetNode;if(pe(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function gD(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function mD(t,e){return te(gD(t),e)>=0}function vD(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var yD=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return Tt(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new zd(n,this,this.ecModel),r=pD.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=i),t}))}));var o=0;r.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a})),r.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==r;)s=o.parentNode.name+"."+s,o=o.parentNode;return fm("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=vD(i,this),n.collapsed=!i.isExpand,n},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(Em);function _D(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}function xD(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=function(t,e){return Gp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,o=0,a=null;"radial"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,a=GC((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,o=n.height,a=GC());var s=t.getData().tree.root,l=s.children[0];if(l){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,i,r=[e];n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var o=i.length-1;o>=0;o--){var a=i[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}(s),function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;s<a.length;s++)r.push(a[s])}for(;i=o.pop();)e(i,n)}(l,FC,a),s.hierNode.modifier=-l.hierNode.prelim,_D(l,VC);var u=l,c=l,h=l;_D(l,(function(t){var e=t.getLayout().x;e<u.getLayout().x&&(u=t),e>c.getLayout().x&&(c=t),t.depth>h.depth&&(h=t)}));var d=u===c?1:a(u,c)/2,p=d-u.getLayout().x,f=0,g=0,m=0,v=0;if("radial"===i)f=r/(c.getLayout().x+d+p),g=o/(h.depth-1||1),_D(l,(function(t){m=(t.getLayout().x+p)*f,v=(t.depth-1)*g;var e=UC(m,v);t.setLayout({x:e.x,y:e.y,rawX:m,rawY:v},!0)}));else{var y=t.getOrient();"RL"===y||"LR"===y?(g=o/(c.getLayout().x+d+p),f=r/(h.depth-1||1),_D(l,(function(t){v=(t.getLayout().x+p)*g,m="LR"===y?(t.depth-1)*f:r-(t.depth-1)*f,t.setLayout({x:m,y:v},!0)}))):"TB"!==y&&"BT"!==y||(f=r/(c.getLayout().x+d+p),g=o/(h.depth-1||1),_D(l,(function(t){m=(t.getLayout().x+p)*f,v="TB"===y?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:m,y:v},!0)})))}}}(t,e)}))}function bD(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();Kt(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)}))}))}var wD=["treemapZoomToNode","treemapRender","treemapMove"];function SD(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var i=e;i&&i.depth>1;)i=i.parentNode;var r=wf(t.ecModel,i.name||i.dataIndex+"",n);e.setVisual("decal",r)}))}var AD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return Tt(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};TD(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new zd({itemStyle:r},this,e);i=t.levels=function(t,e){var n,i,r=Ea(e.get("color")),o=Ea(e.get(["aria","decal","decals"]));if(!r)return;t=t||[],re(t,(function(t){var e=new zd(t),r=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(i=!0)}));var a=t[0]||(t[0]={});n||(a.color=r.slice());!i&&o&&(a.decal=o.slice());return t}(i,e);var a=oe(i||[],(function(t){return new zd(t,o,e)}),this),s=pD.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),i=n?a[n.depth]:null;return t.parentModel=i||o,t}))}));return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t);return fm("nameValue",{name:i.getName(t),value:r})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=vD(i,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},Kt(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=ke(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){SD(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(Em);function TD(t){var e=0;re(t.children,(function(t){TD(t);var n=t.value;he(n)&&(n=n[0]),e+=n}));var n=t.value;he(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),he(t.value)?t.value[0]=n:t.value=n}var MD=function(){function t(t){this.group=new qo,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle"),s=r.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),c={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,c,l),this._renderContent(t,c,a,s,l,u,i),Up(o,c.pos,c.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=za(i.getModel().get("name"),""),o=n.getTextRect(r),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:i,text:r,width:a})}},t.prototype._renderContent=function(t,e,n,i,r,o,a){for(var s,l,u,c,h,d,p,f,g,m=0,v=e.emptyItemWidth,y=t.get(["breadcrumb","height"]),_=(s=e.pos,l=e.box,c=l.width,h=l.height,d=oa(s.left,c),p=oa(s.top,h),f=oa(s.right,c),g=oa(s.bottom,h),(isNaN(d)||isNaN(parseFloat(s.left)))&&(d=0),(isNaN(f)||isNaN(parseFloat(s.right)))&&(f=c),(isNaN(p)||isNaN(parseFloat(s.top)))&&(p=0),(isNaN(g)||isNaN(parseFloat(s.bottom)))&&(g=h),u=Cp(u||0),{width:Math.max(f-d-u[1]-u[3],0),height:Math.max(g-p-u[0]-u[2],0)}),x=e.totalWidth,b=e.renderList,w=i.getModel("itemStyle").getItemStyle(),S=b.length-1;S>=0;S--){var A=b[S],T=A.node,M=A.width,I=A.text;x>_.width&&(x-=M-v,M=v,I=null);var C=new eh({shape:{points:ID(m,0,M,y,S===b.length-1,0===S)},style:$t(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new Jl({style:md(r,{text:I})}),textConfig:{position:"inside"},z2:1e4*bu,onclick:ce(a,T)});C.disableLabelAnimation=!0,C.getTextContent().ensureState("emphasis").style=md(o,{text:I}),C.ensureState("emphasis").style=w,ic(C,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(C),CD(C,t,T),m+=M+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function ID(t,e,n,i,r,o){var a=[[r?t:t-5,e],[t+n,e],[t+n,e+i],[r?t:t-5,e+i]];return!o&&a.splice(2,0,[t+n+5,e+i/2]),!r&&a.push([t,e+i/2]),a}function CD(t,e,n){cu(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&vD(n,e)}}var DD=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i<r;i++){var o=this._storage[i];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:n,aborted:n})}return this},t}();var ED=qo,LD=Zl,PD="label",RD="upperLabel",ND=10*bu,kD=2*bu,OD=3*bu,BD=ls([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),zD=function(t){var e=BD(t);return e.stroke=e.fill=e.lineWidth=null,e},FD=Ua(),VD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._state="ready",n._storage={nodeGroup:[],background:[],content:[]},n}return Tt(e,t),e.prototype.render=function(t,e,n,i){if(!(te(e.findComponents({mainType:"series",subType:"treemap",query:i}),t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var r=fD(i,["treemapZoomToNode","treemapRootToNode"],t),o=i&&i.type,a=t.layoutInfo,s=!this._oldTree,l=this._storage,u="treemapRootToNode"===o&&r&&l?{rootNodeGroup:l.nodeGroup[r.node.getRawIndex()],direction:i.direction}:null,c=this._giveContainerGroup(a),h=t.get("animation"),d=this._doRender(c,t,u);!h||s||o&&"treemapZoomToNode"!==o&&"treemapRootToNode"!==o?d.renderFinally():this._doAnimation(c,d,t,u),this._resetController(n),this._renderBreadcrumb(t,n,r)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new ED,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,n){var i=e.getData().tree,r=this._oldTree,o={nodeGroup:[],background:[],content:[]},a={nodeGroup:[],background:[],content:[]},s=this._storage,l=[];function u(t,i,r,u){return function(t,e,n,i,r,o,a,s,l,u){if(!a)return;var c=a.getLayout(),h=t.getData(),d=a.getModel();if(h.setItemGraphicEl(a.dataIndex,null),!c||!c.isInView)return;var p=c.width,f=c.height,g=c.borderWidth,m=c.invisible,v=a.getRawIndex(),y=s&&s.getRawIndex(),_=a.viewChildren,x=c.upperHeight,b=_&&_.length,w=d.getModel("itemStyle"),S=d.getModel(["emphasis","itemStyle"]),A=d.getModel(["blur","itemStyle"]),T=d.getModel(["select","itemStyle"]),M=w.get("borderRadius")||0,I=V("nodeGroup",ED);if(!I)return;if(l.add(I),I.x=c.x||0,I.y=c.y||0,I.markRedraw(),FD(I).nodeWidth=p,FD(I).nodeHeight=f,c.isAboveViewRoot)return I;var C=V("background",LD,u,kD);C&&k(I,C,b&&c.upperLabelHeight);var D=d.getModel("emphasis"),E=D.get("focus"),L=D.get("blurScope"),P=D.get("disabled"),R="ancestor"===E?a.getAncestorsIndices():"descendant"===E?a.getDescendantIndices():E;if(b)uc(I)&&lc(I,!1),C&&(lc(C,!P),h.setItemGraphicEl(a.dataIndex,C),rc(C,R,L));else{var N=V("content",LD,u,OD);N&&O(I,N),C.disableMorphing=!0,C&&uc(C)&&lc(C,!1),lc(I,!P),h.setItemGraphicEl(a.dataIndex,I),rc(I,R,L)}return I;function k(e,n,i){var r=cu(n);if(r.dataIndex=a.dataIndex,r.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:p,height:f,r:M}),m)B(n);else{n.invisible=!1;var o=a.getVisual("style"),s=o.stroke,l=zD(w);l.fill=s;var u=BD(S);u.fill=S.get("borderColor");var c=BD(A);c.fill=A.get("borderColor");var h=BD(T);if(h.fill=T.get("borderColor"),i){var d=p-2*g;z(n,s,o.opacity,{x:g,y:0,width:d,height:x})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=u,n.ensureState("blur").style=c,n.ensureState("select").style=h,Vu(n)}e.add(n)}function O(e,n){var i=cu(n);i.dataIndex=a.dataIndex,i.seriesIndex=t.seriesIndex;var r=Math.max(p-2*g,0),o=Math.max(f-2*g,0);if(n.culling=!0,n.setShape({x:g,y:g,width:r,height:o,r:M}),m)B(n);else{n.invisible=!1;var s=a.getVisual("style"),l=s.fill,u=zD(w);u.fill=l,u.decal=s.decal;var c=BD(S),h=BD(A),d=BD(T);z(n,l,s.opacity,null),n.setStyle(u),n.ensureState("emphasis").style=c,n.ensureState("blur").style=h,n.ensureState("select").style=d,Vu(n)}e.add(n)}function B(t){!t.invisible&&o.push(t)}function z(e,n,i,r){var o=d.getModel(r?RD:PD),s=za(d.get("name"),null),l=o.getShallow("show");fd(e,gd(d,r?RD:PD),{defaultText:l?s:null,inheritColor:n,defaultOpacity:i,labelFetcher:t,labelDataIndex:a.dataIndex});var u=e.getTextContent();if(u){var h=u.style,p=Me(h.padding||0);r&&(e.setTextConfig({layoutRect:r}),u.disableLabelLayout=!0),u.beforeUpdate=function(){var t=Math.max((r?r.width:e.shape.width)-p[1]-p[3],0),n=Math.max((r?r.height:e.shape.height)-p[0]-p[2],0);h.width===t&&h.height===n||u.setStyle({width:t,height:n})},h.truncateMinChar=2,h.lineOverflow="truncate",F(h,r,c);var f=u.getState("emphasis");F(f?f.style:null,r,c)}}function F(e,n,i){var r=e?e.text:null;if(!n&&i.isLeafRoot&&null!=r){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+r:r}}function V(t,i,o,a){var s=null!=y&&n[t][y],l=r[t];return s?(n[t][y]=null,G(l,s)):m||((s=new i)instanceof Rs&&(s.z2=function(t,e){return t*ND+e}(o,a)),U(l,s)),e[t][v]=s}function G(t,e){var n=t[v]={};e instanceof ED?(n.oldX=e.x,n.oldY=e.y):n.oldShape=Kt({},e.shape)}function U(t,e){var n=t[v]={},o=a.parentNode,s=e instanceof qo;if(o&&(!i||"drillDown"===i.direction)){var l=0,u=0,c=r.background[o.getRawIndex()];!i&&c&&c.oldShape&&(l=c.oldShape.width,u=c.oldShape.height),s?(n.oldX=0,n.oldY=u):n.oldShape={x:l,y:u,width:0,height:0}}n.fadein=!s}}(e,a,s,n,o,l,t,i,r,u)}!function t(e,n,i,r,o){r?(n=e,re(e,(function(t,e){!t.isRemoved()&&s(e,e)}))):new J_(n,e,a,a).add(s).update(s).remove(ce(s,null)).execute();function a(t){return t.getId()}function s(a,s){var l=null!=a?e[a]:null,c=null!=s?n[s]:null,h=u(l,c,i,o);h&&t(l&&l.viewChildren||[],c&&c.viewChildren||[],h,r,o+1)}}(i.root?[i.root]:[],r&&r.root?[r.root]:[],t,i===r||!r,0);var c=function(t){var e={nodeGroup:[],background:[],content:[]};return t&&re(t,(function(t,n){var i=e[n];re(t,(function(t){t&&(i.push(t),FD(t).willDelete=!0)}))})),e}(s);if(this._oldTree=i,this._storage=a,this._controllerHost){var h=this.seriesModel.layoutInfo,d=i.root.getLayout();d.width===h.width&&d.height===h.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:o,willDeleteEls:c,renderFinally:function(){re(c,(function(t){re(t,(function(t){t.parent&&t.parent.remove(t)}))})),re(l,(function(t){t.invisible=!0,t.dirty()}))}}},e.prototype._doAnimation=function(t,e,n,i){var r=n.get("animationDurationUpdate"),o=n.get("animationEasing"),a=(de(r)?0:r)||0,s=(de(o)?null:o)||"cubicOut",l=new DD;re(e.willDeleteEls,(function(t,e){re(t,(function(t,n){if(!t.invisible){var r,o=t.parent,u=FD(o);if(i&&"drillDown"===i.direction)r=o===i.rootNodeGroup?{shape:{x:0,y:0,width:u.nodeWidth,height:u.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,h=0;u.willDelete||(c=u.nodeWidth/2,h=u.nodeHeight/2),r="nodeGroup"===e?{x:c,y:h,style:{opacity:0}}:{shape:{x:c,y:h,width:0,height:0},style:{opacity:0}}}r&&l.add(t,r,a,0,s)}}))})),re(this._storage,(function(t,n){re(t,(function(t,i){var r=e.lastsForAnimation[n][i],o={};r&&(t instanceof qo?null!=r.oldX&&(o.x=t.x,o.y=t.y,t.x=r.oldX,t.y=r.oldY):(r.oldShape&&(o.shape=Kt({},t.shape),t.setShape(r.oldShape)),r.fadein?(t.setStyle("opacity",0),o.style={opacity:1}):1!==t.style.opacity&&(o.style={opacity:1})),l.add(t,o,a,0,s))}))}),this),this._state="animating",l.finished(ue((function(){this._state="ready",e.renderFinally()}),this)).start()},e.prototype._resetController=function(t){var e=this._controller,n=this._controllerHost;n||(this._controllerHost={target:this.group},n=this._controllerHost),e||((e=this._controller=new fI(t.getZr())).enable(this.seriesModel.get("roam")),n.zoomLimit=this.seriesModel.get("scaleLimit"),n.zoom=this.seriesModel.get("zoom"),e.on("pan",ue(this._onPan,this)),e.on("zoom",ue(this._onZoom,this)));var i=new Zn(0,0,t.getWidth(),t.getHeight());e.setPointerChecker((function(t,e,n){return i.contain(e,n)}))},e.prototype._clearController=function(){var t=this._controller;this._controllerHost=null,t&&(t.dispose(),t=null)},e.prototype._onPan=function(t){if("animating"!==this._state&&(Math.abs(t.dx)>3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY,i=t.scale;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var o=r.getLayout();if(!o)return;var a,s=new Zn(o.x,o.y,o.width,o.height),l=this._controllerHost;a=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=i,a){var c=a.min||0,h=a.max||1/0;u=Math.max(Math.min(h,u),c)}var d=u/l.zoom;l.zoom=u;var p=this.seriesModel.layoutInfo,f=[1,0,0,1,0,0];kn(f,f,[-(e-=p.x),-(n-=p.y)]),Bn(f,f,[d,d]),kn(f,f,[e,n]),s.applyTransform(f),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&kp(a,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new MD(this.group))).render(t,e,n.node,(function(e){"animating"!==i._state&&(mD(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n},e.type="treemap",e}(Um);var GD=re,UD=me,HD=-1,WD=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=Qt(e);this.type=i,this.mappingMethod=n,this._normalizeData=tE[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(XD(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,re(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(GD(e,(function(t,e){n[t]=e})),!he(i)){var r=[];me(i)?GD(i,(function(t,e){var i=n[e];r[null!=i?i:HD]=t})):r[HD]=i,i=$D(t,r)}for(var o=e.length-1;o>=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}(r):XD(r,!0):(Ie("linear"!==n||r.dataExtent),XD(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return ue(this._normalizeData,this)},t.listVisualTypes=function(){return le(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){me(t)?re(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=he(e)?[]:me(e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,i={};return e&&GD(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(he(t))t=t.slice();else{if(!UD(t))return[];var e=[];GD(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;o<a;o++){var s=e[o].value;if(null!=s){if(s===t||pe(s)&&s===t+"")return o;n&&h(s,o)}}for(o=0,a=e.length;o<a;o++){var l=e[o],u=l.interval,c=l.close;if(u){if(u[0]===-1/0){if(eE(c[1],t,u[1]))return o}else if(u[1]===1/0){if(eE(c[0],u[0],t))return o}else if(eE(c[0],u[0],t)&&eE(c[1],t,u[1]))return o;n&&h(u[0],o),n&&h(u[1],o)}}if(n)return t===1/0?e.length-1:t===-1/0?0:i;function h(e,n){var o=Math.abs(e-t);o<r&&(r=o,i=n)}},t.visualHandlers={color:{applyVisual:ZD("color"),getColorMapper:function(){var t=this.option;return ue("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),QD.call(this,t)}:function(e,n,i){var r=!!i;return!n&&(e=this._normalizeData(e)),i=dr(e,t.parsedVisual,i),r?i:gr(i,"rgba")},this)},_normalizedToVisual:{linear:function(t){return gr(dr(t,this.option.parsedVisual),"rgba")},category:QD,piecewise:function(t,e){var n=KD.call(this,e);return null==n&&(n=gr(dr(t,this.option.parsedVisual),"rgba")),n},fixed:qD}},colorHue:jD((function(t,e){return pr(t,e)})),colorSaturation:jD((function(t,e){return pr(t,null,e)})),colorLightness:jD((function(t,e){return pr(t,null,null,e)})),colorAlpha:jD((function(t,e){return fr(t,e)})),decal:{applyVisual:ZD("decal"),_normalizedToVisual:{linear:null,category:QD,piecewise:null,fixed:null}},opacity:{applyVisual:ZD("opacity"),_normalizedToVisual:JD([0,1])},liftZ:{applyVisual:ZD("liftZ"),_normalizedToVisual:{linear:qD,category:qD,piecewise:qD,fixed:qD}},symbol:{applyVisual:function(t,e,n){n("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:YD,category:QD,piecewise:function(t,e){var n=KD.call(this,e);return null==n&&(n=YD.call(this,t)),n},fixed:qD}},symbolSize:{applyVisual:ZD("symbolSize"),_normalizedToVisual:JD([0,1])}},t}();function XD(t,e){var n=t.visual,i=[];me(n)?GD(n,(function(t){i.push(t)})):null!=n&&i.push(n);e||1!==i.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(i[1]=i[0]),$D(t,i)}function jD(t){return{applyVisual:function(e,n,i){var r=this.mapValueToVisual(e);i("color",t(n("color"),r))},_normalizedToVisual:JD([0,1])}}function YD(t){var e=this.option.visual;return e[Math.round(ra(t,[0,1],[0,e.length-1],!0))]||{}}function ZD(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function QD(t){var e=this.option.visual;return e[this.option.loop&&t!==HD?t%e.length:t]}function qD(){return this.option.visual[0]}function JD(t){return{linear:function(e){return ra(e,t,this.option.visual,!0)},category:QD,piecewise:function(e,n){var i=KD.call(this,n);return null==i&&(i=ra(e,t,this.option.visual,!0)),i},fixed:qD}}function KD(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=n[WD.findPieceIndex(t,n)];if(i&&i.visual)return i.visual[this.type]}}function $D(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=oe(e,(function(t){var e=ur(t);return e||[0,0,0,1]}))),e}var tE={linear:function(t){return ra(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=WD.findPieceIndex(t,e,!0);if(null!=n)return ra(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?HD:e},fixed:Ve};function eE(t,e,n){return t?e<=n:e<n}var nE=Ua(),iE={seriesType:"treemap",reset:function(t){var e=t.getData().tree.root;e.isRemoved()||rE(e,{},t.getViewRoot().getAncestors(),t)}};function rE(t,e,n,i){var r=t.getModel(),o=t.getLayout(),a=t.hostTree.data;if(o&&!o.invisible&&o.isInView){var s,l=r.getModel("itemStyle"),u=function(t,e,n){var i=Kt({},e),r=n.designatedVisualItemStyle;return re(["color","colorAlpha","colorSaturation"],(function(n){r[n]=e[n];var o=t.get(n);r[n]=null,null!=o&&(i[n]=o)})),i}(l,e,i),c=a.ensureUniqueItemVisual(t.dataIndex,"style"),h=l.get("borderColor"),d=l.get("borderColorSaturation");null!=d&&(h=function(t,e){return null!=e?pr(e,null,null,t):null}(d,s=oE(u))),c.stroke=h;var p=t.viewChildren;if(p&&p.length){var f=function(t,e,n,i,r,o){if(!o||!o.length)return;var a=sE(e,"color")||null!=r.color&&"none"!==r.color&&(sE(e,"colorAlpha")||sE(e,"colorSaturation"));if(!a)return;var s=e.get("visualMin"),l=e.get("visualMax"),u=n.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var c=e.get("colorMappingBy"),h={type:a.name,dataExtent:u,visual:a.range};"color"!==h.type||"index"!==c&&"id"!==c?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var d=new WD(h);return nE(d).drColorMappingBy=c,d}(0,r,o,0,u,p);re(p,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var o=function(t,e,n,i,r,o){var a=Kt({},e);if(r){var s=r.type,l="color"===s&&nE(r).drColorMappingBy,u="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(u)}return a}(r,u,t,e,f,i);rE(t,o,n,i)}}))}else s=oE(u),c.fill=s}}function oE(t){var e=aE(t,"color");if(e){var n=aE(t,"colorAlpha"),i=aE(t,"colorSaturation");return i&&(e=pr(e,null,null,i)),n&&(e=fr(e,n)),e}}function aE(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function sE(t,e){var n=t.get(e);return he(n)&&n.length?{name:e,range:n}:null}var lE=Math.max,uE=Math.min,cE=we,hE=re,dE=["itemStyle","borderWidth"],pE=["itemStyle","gapWidth"],fE=["upperLabel","show"],gE=["upperLabel","height"],mE={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),o=n.getHeight(),a=t.option,s=Gp(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],u=oa(cE(s.width,l[0]),r),c=oa(cE(s.height,l[1]),o),h=i&&i.type,d=fD(i,["treemapZoomToNode","treemapRootToNode"],t),p="treemapRender"===h||"treemapMove"===h?i.rootRect:null,f=t.getViewRoot(),g=gD(f);if("treemapMove"!==h){var m="treemapZoomToNode"===h?function(t,e,n,i,r){var o,a=(e||{}).node,s=[i,r];if(!a||a===n)return s;var l=i*r,u=l*t.option.zoomToNodeRatio;for(;o=a.parentNode;){for(var c=0,h=o.children,d=0,p=h.length;d<p;d++)c+=h[d].getValue();var f=a.getValue();if(0===f)return s;u*=c/f;var g=o.getModel(),m=g.get(dE);(u+=4*m*m+(3*m+Math.max(m,bE(g)))*Math.pow(u,.5))>da&&(u=da),a=o}u<l&&(u=l);var v=Math.pow(u/l,.5);return[i*v,r*v]}(t,d,f,u,c):p?[p.width,p.height]:[u,c],v=a.sort;v&&"asc"!==v&&"desc"!==v&&(v="desc");var y={squareRatio:a.squareRatio,sort:v,leafDepth:a.leafDepth};f.hostTree.clearLayouts();var _={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};f.setLayout(_),vE(f,y,!1,0),_=f.getLayout(),hE(g,(function(t,e){var n=(g[e+1]||f).getValue();t.setLayout(Kt({dataExtent:[n,n],borderWidth:0,upperHeight:0},_))}))}var x=t.getData().tree.root;x.setLayout(function(t,e,n){if(e)return{x:e.x,y:e.y};var i={x:0,y:0};if(!n)return i;var r=n.node,o=r.getLayout();if(!o)return i;var a=[o.width/2,o.height/2],s=r;for(;s;){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:t.width/2-a[0],y:t.height/2-a[1]}}(s,p,d),!0),t.setLayoutInfo(s),xE(x,new Zn(-s.x,-s.y,r,o),g,f,0)}};function vE(t,e,n,i){var r,o;if(!t.isRemoved()){var a=t.getLayout();r=a.width,o=a.height;var s=t.getModel(),l=s.get(dE),u=s.get(pE)/2,c=bE(s),h=Math.max(l,c),d=l-u,p=h-u;t.setLayout({borderWidth:l,upperHeight:h,upperLabelHeight:c},!0);var f=(r=lE(r-2*d,0))*(o=lE(o-d-p,0)),g=function(t,e,n,i,r,o){var a=t.children||[],s=i.sort;"asc"!==s&&"desc"!==s&&(s=null);var l=null!=i.leafDepth&&i.leafDepth<=o;if(r&&!l)return t.viewChildren=[];a=se(a,(function(t){return!t.isRemoved()})),function(t,e){e&&t.sort((function(t,n){var i="asc"===e?t.getValue()-n.getValue():n.getValue()-t.getValue();return 0===i?"asc"===e?t.dataIndex-n.dataIndex:n.dataIndex-t.dataIndex:i}))}(a,s);var u=function(t,e,n){for(var i=0,r=0,o=e.length;r<o;r++)i+=e[r].getValue();var a,s=t.get("visualDimension");e&&e.length?"value"===s&&n?(a=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&a.reverse()):(a=[1/0,-1/0],hE(e,(function(t){var e=t.getValue(s);e<a[0]&&(a[0]=e),e>a[1]&&(a[1]=e)}))):a=[NaN,NaN];return{sum:i,dataExtent:a}}(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*e<o&&(s=l,n-=u)}return"asc"===i?r.splice(0,a-s):r.splice(s,a-s),n}(e,n,u.sum,s,a),0===u.sum)return t.viewChildren=[];for(var c=0,h=a.length;c<h;c++){var d=a[c].getValue()/u.sum*n;a[c].setLayout({area:d})}l&&(a.length&&t.setLayout({isLeafRoot:!0},!0),a.length=0);return t.viewChildren=a,t.setLayout({dataExtent:u.dataExtent},!0),a}(t,s,f,e,n,i);if(g.length){var m={x:d,y:p,width:r,height:o},v=uE(r,o),y=1/0,_=[];_.area=0;for(var x=0,b=g.length;x<b;){var w=g[x];_.push(w),_.area+=w.getLayout().area;var S=yE(_,v,e.squareRatio);S<=y?(x++,y=S):(_.area-=_.pop().getLayout().area,_E(_,v,m,u,!1),v=uE(m.width,m.height),_.length=_.area=0,y=1/0)}if(_.length&&_E(_,v,m,u,!0),!n){var A=s.get("childrenVisibleMin");null!=A&&f<A&&(n=!0)}for(x=0,b=g.length;x<b;x++)vE(g[x],e,n,i+1)}}}function yE(t,e,n){for(var i=0,r=1/0,o=0,a=void 0,s=t.length;o<s;o++)(a=t[o].getLayout().area)&&(a<r&&(r=a),a>i&&(i=a));var l=t.area*t.area,u=e*e*n;return l?lE(u*i/l,l/(u*r)):1/0}function _E(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],c=e?t.area/e:0;(r||c>n[l[a]])&&(c=n[l[a]]);for(var h=0,d=t.length;h<d;h++){var p=t[h],f={},g=c?p.getLayout().area/c:0,m=f[l[a]]=lE(c-2*i,0),v=n[s[o]]+n[l[o]]-u,y=h===d-1||v<g?v:g,_=f[l[o]]=lE(y-2*i,0);f[s[a]]=n[s[a]]+uE(i,m/2),f[s[o]]=u+uE(i,_/2),u+=y,p.setLayout(f,!0)}n[s[a]]+=c,n[l[a]]-=c}function xE(t,e,n,i,r){var o=t.getLayout(),a=n[r],s=a&&a===t;if(!(a&&!s||r===n.length&&t!==i)){t.setLayout({isInView:!0,invisible:!s&&!e.intersect(o),isAboveViewRoot:s},!0);var l=new Zn(e.x-o.x,e.y-o.y,e.width,e.height);hE(t.viewChildren||[],(function(t){xE(t,l,n,i,r+1)}))}}function bE(t){return t.get(fE)?t.get(gE):0}function wE(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getGraph().data,r=n.mapArray(n.getName);i.filterSelf((function(t){var n=i.getItemModel(t).getShallow("category");if(null!=n){ge(n)&&(n=r[n]);for(var o=0;o<e.length;o++)if(!e[o].isSelected(n))return!1}return!0}))}))}function SE(t){var e={};t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getData(),r={};n.each((function(i){var o=n.getName(i);r["ec-"+o]=i;var a=n.getItemModel(i),s=a.getModel("itemStyle").getItemStyle();s.fill||(s.fill=t.getColorFromPalette(o,e)),n.setItemVisual(i,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=a.getShallow(l[u],!0);null!=c&&n.setItemVisual(i,l[u],c)}})),n.count()&&i.each((function(t){var e=i.getItemModel(t).getShallow("category");if(null!=e){pe(e)&&(e=r["ec-"+e]);var o=n.getItemVisual(e,"style");Kt(i.ensureUniqueItemVisual(t,"style"),o);for(var a=["symbol","symbolSize","symbolKeepAspect"],s=0;s<a.length;s++)i.setItemVisual(t,a[s],n.getItemVisual(e,a[s]))}}))}))}function AE(t){return t instanceof Array||(t=[t,t]),t}function TE(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(),n=t.getEdgeData(),i=AE(t.get("edgeSymbol")),r=AE(t.get("edgeSymbolSize"));n.setVisual("fromSymbol",i&&i[0]),n.setVisual("toSymbol",i&&i[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]),n.setVisual("style",t.getModel("lineStyle").getLineStyle()),n.each((function(t){var i=n.getItemModel(t),r=e.getEdgeByIndex(t),o=AE(i.getShallow("symbol",!0)),a=AE(i.getShallow("symbolSize",!0)),s=i.getModel("lineStyle").getLineStyle(),l=n.ensureUniqueItemVisual(t,"style");switch(Kt(l,s),l.stroke){case"source":var u=r.node1.getVisual("style");l.stroke=u&&u.fill;break;case"target":u=r.node2.getVisual("style");l.stroke=u&&u.fill}o[0]&&r.setVisual("fromSymbol",o[0]),o[1]&&r.setVisual("toSymbol",o[1]),a[0]&&r.setVisual("fromSymbolSize",a[0]),a[1]&&r.setVisual("toSymbolSize",a[1])}))}))}var ME="--\x3e",IE=function(t){return t.get("autoCurveness")||null},CE=function(t,e){var n=IE(t),i=20,r=[];if(ge(n))i=n;else if(he(n))return void(t.__curvenessList=n);e>i&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a<o;a++)r.push((a%2?a+1:a)/10*(a%2?-1:1));t.__curvenessList=r},DE=function(t,e,n){var i=[t.id,t.dataIndex].join("."),r=[e.id,e.dataIndex].join(".");return[n.uid,i,r].join(ME)},EE=function(t){var e=t.split(ME);return[e[0],e[2],e[1]].join(ME)},LE=function(t,e){var n=DE(t.node1,t.node2,e);return e.__edgeMap[n]},PE=function(t,e){return RE(DE(t.node1,t.node2,e),e)+RE(DE(t.node2,t.node1,e),e)},RE=function(t,e){var n=e.__edgeMap;return n[t]?n[t].length:0};function NE(t,e,n,i){var r=IE(e),o=he(r);if(!r)return null;var a=LE(t,e);if(!a)return null;for(var s=-1,l=0;l<a.length;l++)if(a[l]===n){s=l;break}var u=PE(t,e);CE(e,u),t.lineStyle=t.lineStyle||{};var c=DE(t.node1,t.node2,e),h=e.__curvenessList,d=o||u%2?0:1;if(a.isForward)return h[d+s];var p=EE(c),f=RE(p,e),g=h[s+f+d];return i?o?r&&0===r[0]?(f+d)%2?g:-g:((f%2?0:1)+d)%2?g:-g:(f+d)%2?g:-g:h[s+f+d]}function kE(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),OE(n,t)}}function OE(t,e){t.eachEdge((function(t,n){var i=Ae(t.getModel().get(["lineStyle","curveness"]),-NE(t,e,n,!0),0),r=We(t.node1.getLayout()),o=We(t.node2.getLayout()),a=[r,o];+i&&a.push([(r[0]+o[0])/2-(r[1]-o[1])*i,(r[1]+o[1])/2-(o[0]-r[0])*i]),t.setLayout(a)}))}function BE(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var i=t.getData(),r=[];re(n.dimensions,(function(t){r=r.concat(i.mapDimensionsAll(t))}));for(var o=0;o<i.count();o++){for(var a=[],s=!1,l=0;l<r.length;l++){var u=i.get(r[l],o);isNaN(u)||(s=!0),a.push(u)}s?i.setItemLayout(o,n.dataToPoint(a)):i.setItemLayout(o,[NaN,NaN])}OE(i.graph,t)}else e&&"none"!==e||kE(t)}))}function zE(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,i=e.scaleX;return((e.getZoom()-1)*n+1)/i}function FE(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}var VE=Math.PI,GE=[];function UE(t,e,n,i){var r=t.coordinateSystem;if(!r||"view"===r.type){var o=r.getBoundingRect(),a=t.getData(),s=a.graph,l=o.width/2+o.x,u=o.height/2+o.y,c=Math.min(o.width,o.height)/2,h=a.count();if(a.setLayout({cx:l,cy:u}),h){if(n){var d=r.pointToData(i),p=d[0],f=d[1],g=[p-l,f-u];Je(g,g),qe(g,g,c),n.setLayout([l+g[0],u+g[1]],!0),WE(n,t.get(["circular","rotateLabel"]),l,u)}HE[e](t,s,a,c,l,u,h),s.eachEdge((function(e,n){var i,r=Ae(e.getModel().get(["lineStyle","curveness"]),NE(e,t,n),0),o=We(e.node1.getLayout()),a=We(e.node2.getLayout()),s=(o[0]+a[0])/2,c=(o[1]+a[1])/2;+r&&(i=[l*(r*=3)+s*(1-r),u*r+c*(1-r)]),e.setLayout([o,a,i])}))}}}var HE={value:function(t,e,n,i,r,o,a){var s=0,l=n.getSum("value"),u=2*Math.PI/(l||a);e.eachNode((function(t){var e=t.getValue("value"),n=u*(l?e:1)/2;s+=n,t.setLayout([i*Math.cos(s)+r,i*Math.sin(s)+o]),s+=n}))},symbolSize:function(t,e,n,i,r,o,a){var s=0;GE.length=a;var l=zE(t);e.eachNode((function(t){var e=FE(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=l;var n=Math.asin(e/2/i);isNaN(n)&&(n=VE/2),GE[t.dataIndex]=n,s+=2*n}));var u=(2*VE-s)/a/2,c=0;e.eachNode((function(t){var e=u+GE[t.dataIndex];c+=e,(!t.getLayout()||!t.getLayout().fixed)&&t.setLayout([i*Math.cos(c)+r,i*Math.sin(c)+o]),c+=e}))}};function WE(t,e,n,i){var r=t.getGraphicEl();if(r){var o=t.getModel().get(["label","rotate"])||0,a=r.getSymbolPath();if(e){var s=t.getLayout(),l=Math.atan2(s[1]-i,s[0]-n);l<0&&(l=2*Math.PI+l);var u=s[0]<n;u&&(l-=Math.PI);var c=u?"left":"right";a.setTextConfig({rotation:-l,position:c,origin:"center"});var h=a.ensureState("emphasis");Kt(h.textConfig||(h.textConfig={}),{position:c})}else a.setTextConfig({rotation:o*=Math.PI/180})}}function XE(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&UE(t,"symbolSize")}))}var jE=Ye;function YE(t){t.eachSeriesByType("graph",(function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var n=t.preservedPoints||{},i=t.getGraph(),r=i.data,o=i.edgeData,a=t.getModel("force"),s=a.get("initLayout");t.preservedPoints?r.each((function(t){var e=r.getId(t);r.setItemLayout(t,n[e]||[NaN,NaN])})):s&&"none"!==s?"circular"===s&&UE(t,"value"):kE(t);var l=r.getDataExtent("value"),u=o.getDataExtent("value"),c=a.get("repulsion"),h=a.get("edgeLength"),d=he(c)?c:[c,c],p=he(h)?h:[h,h];p=[p[1],p[0]];var f=r.mapArray("value",(function(t,e){var n=r.getItemLayout(e),i=ra(t,l,d);return isNaN(i)&&(i=(d[0]+d[1])/2),{w:i,rep:i,fixed:r.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),g=o.mapArray("value",(function(e,n){var r=i.getEdgeByIndex(n),o=ra(e,u,p);isNaN(o)&&(o=(p[0]+p[1])/2);var a=r.getModel(),s=Ae(r.getModel().get(["lineStyle","curveness"]),-NE(r,t,n,!0),0);return{n1:f[r.node1.dataIndex],n2:f[r.node2.dataIndex],d:o,curveness:s,ignoreForceLayout:a.get("ignoreForceLayout")}})),m=e.getBoundingRect(),v=function(t,e,n){for(var i=t,r=e,o=n.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],u=null==n.gravity?.1:n.gravity,c=0;c<i.length;c++){var h=i[c];h.p||(h.p=Ue(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),h.pp=We(h.p),h.edges=null}var d,p,f=null==n.friction?.6:n.friction,g=f;return{warmUp:function(){g=.8*f},setFixed:function(t){i[t].fixed=!0},setUnfixed:function(t){i[t].fixed=!1},beforeStep:function(t){d=t},afterStep:function(t){p=t},step:function(t){d&&d(i,r);for(var e=[],n=i.length,o=0;o<r.length;o++){var a=r[o];if(!a.ignoreForceLayout){var s=a.n1;Ze(e,(m=a.n2).p,s.p);var c=Qe(e)-a.d,h=m.w/(s.w+m.w);isNaN(h)&&(h=0),Je(e,e),!s.fixed&&jE(s.p,s.p,e,h*c*g),!m.fixed&&jE(m.p,m.p,e,-(1-h)*c*g)}}for(o=0;o<n;o++)(_=i[o]).fixed||(Ze(e,l,_.p),jE(_.p,_.p,e,u*g));for(o=0;o<n;o++){s=i[o];for(var f=o+1;f<n;f++){var m;Ze(e,(m=i[f]).p,s.p),0===(c=Qe(e))&&(Xe(e,Math.random()-.5,Math.random()-.5),c=1);var v=(s.rep+m.rep)/c/c;!s.fixed&&jE(s.pp,s.pp,e,v),!m.fixed&&jE(m.pp,m.pp,e,-v)}}var y=[];for(o=0;o<n;o++){var _;(_=i[o]).fixed||(Ze(y,_.p,_.pp),jE(_.p,_.p,y,g),He(_.pp,_.p))}var x=(g*=.992)<.01;p&&p(i,r,x),t&&t(x)}}}(f,g,{rect:m,gravity:a.get("gravity"),friction:a.get("friction")});v.beforeStep((function(t,e){for(var n=0,r=t.length;n<r;n++)t[n].fixed&&He(t[n].p,i.getNodeByIndex(n).getLayout())})),v.afterStep((function(t,e,o){for(var a=0,s=t.length;a<s;a++)t[a].fixed||i.getNodeByIndex(a).setLayout(t[a].p),n[r.getId(a)]=t[a].p;for(a=0,s=e.length;a<s;a++){var l=e[a],u=i.getEdgeByIndex(a),c=l.n1.p,h=l.n2.p,d=u.getLayout();(d=d?d.slice():[])[0]=d[0]||[],d[1]=d[1]||[],He(d[0],c),He(d[1],h),+l.curveness&&(d[2]=[(c[0]+h[0])/2-(c[1]-h[1])*l.curveness,(c[1]+h[1])/2-(h[0]-c[0])*l.curveness]),u.setLayout(d)}})),t.forceLayout=v,t.preservedPoints=n,v.step()}else t.forceLayout=null}))}function ZE(t,e){var n=[];return t.eachSeriesByType("graph",(function(t){var i=t.get("coordinateSystem");if(!i||"view"===i){var r=t.getData(),o=[],a=[];Ws(r.mapArray((function(t){var e=r.getItemModel(t);return[+e.get("x"),+e.get("y")]})),o,a),a[0]-o[0]==0&&(a[0]+=1,o[0]-=1),a[1]-o[1]==0&&(a[1]+=1,o[1]-=1);var s=(a[0]-o[0])/(a[1]-o[1]),l=function(t,e,n){return Gp(Kt(t.getBoxLayoutParams(),{aspect:n}),{width:e.getWidth(),height:e.getHeight()})}(t,e,s);isNaN(s)&&(o=[l.x,l.y],a=[l.x+l.width,l.y+l.height]);var u=a[0]-o[0],c=a[1]-o[1],h=l.width,d=l.height,p=t.coordinateSystem=new SC;p.zoomLimit=t.get("scaleLimit"),p.setBoundingRect(o[0],o[1],u,c),p.setViewRect(l.x,l.y,h,d),p.setCenter(t.get("center"),e),p.setZoom(t.get("zoom")),n.push(p)}})),n}var QE=ah.prototype,qE=ch.prototype,JE=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};function KE(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}!function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Tt(e,t)}(JE);var $E=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return Tt(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new JE},e.prototype.buildPath=function(t,e){KE(e)?QE.buildPath.call(this,t,e):qE.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return KE(this.shape)?QE.pointAt.call(this,t):qE.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=KE(e)?[e.x2-e.x1,e.y2-e.y1]:qE.tangentAt.call(this,t);return Je(n,n)},e}(Ol),tL=["fromSymbol","toSymbol"];function eL(t){return"_"+t+"Type"}function nL(t,e,n){var i=e.getItemVisual(n,t);if(!i||"none"===i)return i;var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=ey(r);return i+l+ny(a||0,l)+(o||"")+(s||"")}function iL(t,e,n){var i=e.getItemVisual(n,t);if(i&&"none"!==i){var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=ey(r),u=ny(a||0,l),c=ty(i,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return c.__specifiedRotation=null==o||isNaN(o)?void 0:+o*Math.PI/180||0,c.name=t,c}}function rL(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=NaN,t.cpy1=NaN)}var oL=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createLine(e,n,i),r}return Tt(e,t),e.prototype._createLine=function(t,e,n){var i=t.hostModel,r=function(t){var e=new $E({name:"line",subPixelOptimize:!0});return rL(e.shape,t),e}(t.getItemLayout(e));r.shape.percent=0,Ph(r,{shape:{percent:1}},i,e),this.add(r),re(tL,(function(n){var i=iL(n,t,e);this.add(i),this[eL(n)]=nL(n,t,e)}),this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),a={shape:{}};rL(a.shape,o),Lh(r,a,i,e),re(tL,(function(n){var i=nL(n,t,e),r=eL(n);if(this[r]!==i){this.remove(this.childOfName(n));var o=iL(n,t,e);this.add(o)}this[r]=i}),this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=n&&n.emphasisLineStyle,a=n&&n.blurLineStyle,s=n&&n.selectLineStyle,l=n&&n.labelStatesModels,u=n&&n.emphasisDisabled,c=n&&n.focus,h=n&&n.blurScope;if(!n||t.hasItemOption){var d=t.getItemModel(e),p=d.getModel("emphasis");o=p.getModel("lineStyle").getLineStyle(),a=d.getModel(["blur","lineStyle"]).getLineStyle(),s=d.getModel(["select","lineStyle"]).getLineStyle(),u=p.get("disabled"),c=p.get("focus"),h=p.get("blurScope"),l=gd(d)}var f=t.getItemVisual(e,"style"),g=f.stroke;r.useStyle(f),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=o,r.ensureState("blur").style=a,r.ensureState("select").style=s,re(tL,(function(t){var e=this.childOfName(t);if(e){e.setColor(g),e.style.opacity=f.opacity;for(var n=0;n<_u.length;n++){var i=_u[n],o=r.getState(i);if(o){var a=o.style||{},s=e.ensureState(i),l=s.style||(s.style={});null!=a.stroke&&(l[e.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}e.markRedraw()}}),this);var m=i.getRawValue(e);fd(this,l,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,n){return i.getFormattedLabel(e,n,t.dataType)}},inheritColor:g||"#000",defaultOpacity:f.opacity,defaultText:(null==m?t.getName(e):isFinite(m)?aa(m):m)+""});var v=this.getTextContent();if(v){var y=l.normal;v.__align=v.style.align,v.__verticalAlign=v.style.verticalAlign,v.__position=y.get("position")||"middle";var _=y.get("distance");he(_)||(_=[_,_]),v.__labelDistance=_}this.setTextConfig({position:null,local:!0,inside:!1}),ic(this,c,h,u)},e.prototype.highlight=function(){Hu(this)},e.prototype.downplay=function(){Wu(this)},e.prototype.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");rL(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this,e=t.childOfName("fromSymbol"),n=t.childOfName("toSymbol"),i=t.getTextContent();if(e||n||i&&!i.ignore){for(var r=1,o=this.parent;o;)o.scaleX&&(r/=o.scaleX),o=o.parent;var a=t.childOfName("line");if(this.__dirty||a.__dirty){var s=a.shape.percent,l=a.pointAt(0),u=a.pointAt(s),c=Ze([],u,l);if(Je(c,c),e&&(e.setPosition(l),S(e,0),e.scaleX=e.scaleY=r*s,e.markRedraw()),n&&(n.setPosition(u),S(n,1),n.scaleX=n.scaleY=r*s,n.markRedraw()),i&&!i.ignore){i.x=i.y=0,i.originX=i.originY=0;var h=void 0,d=void 0,p=i.__labelDistance,f=p[0]*r,g=p[1]*r,m=s/2,v=a.tangentAt(m),y=[v[1],-v[0]],_=a.pointAt(m);y[1]>0&&(y[0]=-y[0],y[1]=-y[1]);var x=v[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var b=-Math.atan2(v[1],v[0]);u[0]<l[0]&&(b=Math.PI+b),i.rotation=b}var w=void 0;switch(i.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":w=-g,d="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":w=g,d="top";break;default:w=0,d="middle"}switch(i.__position){case"end":i.x=c[0]*f+u[0],i.y=c[1]*g+u[1],h=c[0]>.8?"left":c[0]<-.8?"right":"center",d=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":i.x=-c[0]*f+l[0],i.y=-c[1]*g+l[1],h=c[0]>.8?"right":c[0]<-.8?"left":"center",d=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=f*x+l[0],i.y=l[1]+w,h=v[0]<0?"right":"left",i.originX=-f*x,i.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=_[0],i.y=_[1]+w,h="center",i.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-f*x+u[0],i.y=u[1]+w,h=v[0]>=0?"right":"left",i.originX=f*x,i.originY=-w}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||d,align:i.__align||h})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(qo),aL=function(){function t(t){this.group=new qo,this._LineCtor=t||oL}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=sL(t);t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,i){e._doUpdate(r,t,i,n,o)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=sL(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i<t.end;i++){if(uL(e.getItemLayout(i))){var r=new this._LineCtor(e,i,this._seriesScope);r.traverse(n),this.group.add(r),e.setItemGraphicEl(i,r),this._progressiveEls.push(r)}}},t.prototype.remove=function(){this.group.removeAll()},t.prototype.eachRendered=function(t){ud(this._progressiveEls||this.group,t)},t.prototype._doAdd=function(t,e,n){if(uL(t.getItemLayout(e))){var i=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,i),this.group.add(i)}},t.prototype._doUpdate=function(t,e,n,i,r){var o=t.getItemGraphicEl(n);uL(e.getItemLayout(i))?(o?o.updateData(e,i,r):o=new this._LineCtor(e,i,r),e.setItemGraphicEl(i,o),this.group.add(o)):this.group.remove(o)},t}();function sL(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:gd(e)}}function lL(t){return isNaN(t[0])||isNaN(t[1])}function uL(t){return t&&!lL(t[0])&&!lL(t[1])}var cL=[],hL=[],dL=[],pL=Fi,fL=tn,gL=Math.abs;function mL(t,e,n){for(var i,r=t[0],o=t[1],a=t[2],s=1/0,l=n*n,u=.1,c=.1;c<=.9;c+=.1){cL[0]=pL(r[0],o[0],a[0],c),cL[1]=pL(r[1],o[1],a[1],c),(p=gL(fL(cL,e)-l))<s&&(s=p,i=c)}for(var h=0;h<32;h++){var d=i+u;hL[0]=pL(r[0],o[0],a[0],i),hL[1]=pL(r[1],o[1],a[1],i),dL[0]=pL(r[0],o[0],a[0],d),dL[1]=pL(r[1],o[1],a[1],d);var p=fL(hL,e)-l;if(gL(p)<.01)break;var f=fL(dL,e)-l;u/=2,p<0?f>=0?i+=u:i-=u:f>=0?i-=u:i+=u}return i}function vL(t,e){var n=[],i=Ui,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),c=t.getVisual("toSymbol");l.__original||(l.__original=[We(l[0]),We(l[1])],l[2]&&l.__original.push(We(l[2])));var h=l.__original;if(null!=l[2]){if(He(r[0],h[0]),He(r[1],h[2]),He(r[2],h[1]),u&&"none"!==u){var d=FE(t.node1),p=mL(r,h[0],d*e);i(r[0][0],r[1][0],r[2][0],p,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],p,n),r[0][1]=n[3],r[1][1]=n[4]}if(c&&"none"!==c){d=FE(t.node2),p=mL(r,h[1],d*e);i(r[0][0],r[1][0],r[2][0],p,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],p,n),r[1][1]=n[1],r[2][1]=n[2]}He(l[0],r[0]),He(l[1],r[2]),He(l[2],r[1])}else{if(He(o[0],h[0]),He(o[1],h[1]),Ze(a,o[1],o[0]),Je(a,a),u&&"none"!==u){d=FE(t.node1);Ye(o[0],o[0],a,d*e)}if(c&&"none"!==c){d=FE(t.node2);Ye(o[1],o[1],a,-d*e)}He(l[0],o[0]),He(l[1],o[1])}}))}function yL(t){return"view"===t.type}var _L=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.init=function(t,e){var n=new PA,i=new aL,r=this.group;this._controller=new fI(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(yL(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):Lh(s,l,t)}vL(t.getGraph(),zE(t));var u=t.getData();o.updateData(u);var c=t.getEdgeData();a.updateData(c),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var h=t.forceLayout,d=t.get(["force","layoutAnimation"]);h&&this._startForceLayoutIteration(h,d);var p=t.get("layout");u.graph.eachNode((function(e){var n=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off("drag").off("dragend");var a=o.get("draggable");a&&r.on("drag",(function(o){switch(p){case"force":h.warmUp(),!i._layouting&&i._startForceLayoutIteration(h,d),h.setFixed(n),u.setItemLayout(n,[r.x,r.y]);break;case"circular":u.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),UE(t,"symbolSize",e,[o.offsetX,o.offsetY]),i.updateLayout(t);break;default:u.setItemLayout(n,[r.x,r.y]),OE(t.getGraph(),t),i.updateLayout(t)}})).on("dragend",(function(){h&&h.setUnfixed(n)})),r.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emphasis","focus"])&&(cu(r).focus=e.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(cu(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=u.getLayout("cx"),m=u.getLayout("cy");u.graph.eachNode((function(t){WE(t,f,g,m)})),this._firstRender=!1},e.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;!function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))}()},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!wI(e,n,t)})),yL(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){yI(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){_I(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),vL(t.getGraph(),zE(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=zE(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){vL(t.getGraph(),zE(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(Um);function xL(t){return"_EC_"+t}var bL=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[xL(t)]){var i=new wL(t,e);return i.hostGraph=this,this.nodes.push(i),n[xL(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[xL(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(ge(t)&&(t=this.nodes[t]),ge(e)&&(e=this.nodes[e]),t instanceof wL||(t=i[xL(t)]),e instanceof wL||(e=i[xL(e)]),t&&e){var o=t.id+"-"+e.id,a=new SL(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof wL&&(t=t.id),e instanceof wL&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof wL||(e=this._nodesMap[xL(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(i,e,null))for(var a=[e];a.length;){var s=a.shift(),l=s[r];for(o=0;o<l.length;o++){var u=l[o],c=u.node1===s?u.node2:u.node1;if(!c.__visited){if(t.call(i,c,s))return;a.push(c),c.__visited=!0}}}}},t.prototype.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,i=this.edges,r=0,o=n.length;r<o;r++)n[r].dataIndex=-1;for(r=0,o=t.count();r<o;r++)n[t.getRawIndex(r)].dataIndex=r;e.filterSelf((function(t){var n=i[e.getRawIndex(t)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r<o;r++)i[r].dataIndex=-1;for(r=0,o=e.count();r<o;r++)i[e.getRawIndex(r)].dataIndex=r},t.prototype.clone=function(){for(var e=new t(this._directed),n=this.nodes,i=this.edges,r=0;r<n.length;r++)e.addNode(n[r].id,n[r].dataIndex);for(r=0;r<i.length;r++){var o=i[r];e.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return e},t}(),wL=function(){function t(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==t?"":t,this.dataIndex=null==e?-1:e}return t.prototype.degree=function(){return this.edges.length},t.prototype.inDegree=function(){return this.inEdges.length},t.prototype.outDegree=function(){return this.outEdges.length},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var n=this.edges[e];n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},t.prototype.getTrajectoryDataIndices=function(){for(var t=ke(),e=ke(),n=0;n<this.edges.length;n++){var i=this.edges[n];if(!(i.dataIndex<0)){t.set(i.dataIndex,!0);for(var r=[i.node1],o=[i.node2],a=0;a<r.length;){var s=r[a];a++,e.set(s.dataIndex,!0);for(var l=0;l<s.inEdges.length;l++)t.set(s.inEdges[l].dataIndex,!0),r.push(s.inEdges[l].node1)}for(a=0;a<o.length;){var u=o[a];a++,e.set(u.dataIndex,!0);for(l=0;l<u.outEdges.length;l++)t.set(u.outEdges[l].dataIndex,!0),o.push(u.outEdges[l].node2)}}}return{edge:t.keys(),node:e.keys()}},t}(),SL=function(){function t(t,e,n){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}return t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},t.prototype.getTrajectoryDataIndices=function(){var t=ke(),e=ke();t.set(this.dataIndex,!0);for(var n=[this.node1],i=[this.node2],r=0;r<n.length;){var o=n[r];r++,e.set(o.dataIndex,!0);for(var a=0;a<o.inEdges.length;a++)t.set(o.inEdges[a].dataIndex,!0),n.push(o.inEdges[a].node1)}for(r=0;r<i.length;){var s=i[r];r++,e.set(s.dataIndex,!0);for(a=0;a<s.outEdges.length;a++)t.set(s.outEdges[a].dataIndex,!0),i.push(s.outEdges[a].node2)}return{edge:t.keys(),node:e.keys()}},t}();function AL(t,e){return{getValue:function(n){var i=this[t][e];return i.getStore().get(i.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}function TL(t,e,n,i,r){for(var o=new bL(i),a=0;a<t.length;a++)o.addNode(we(t[a].id,t[a].name,a),a);var s=[],l=[],u=0;for(a=0;a<e.length;a++){var c=e[a],h=c.source,d=c.target;o.addEdge(h,d,u)&&(l.push(c),s.push(we(za(c.id,null),h+" > "+d)),u++)}var p,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)p=Px(t,n);else{var g=Pf.get(f),m=g&&g.dimensions||[];te(m,"value")<0&&m.concat(["value"]);var v=Ax(t,{coordDimensions:m,encodeDefine:n.getEncode()}).dimensions;(p=new bx(v,n)).initData(t)}var y=new bx(["value"],n);return y.initData(l,s),r&&r(p,y),rD({mainData:p,struct:o,structAttr:"graph",datas:{node:p,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}ne(wL,AL("hostGraph","data")),ne(SL,AL("hostGraph","edgeData"));var ML=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return Tt(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new ZT(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),La(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],r=t.data||t.nodes||[],o=this;if(r&&i){IE(n=this)&&(n.__curvenessList=[],n.__edgeMap={},CE(n));var a=TL(r,i,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=zd.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=r,i}function r(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=r,t.getModel=i,t}))}));return re(a.edges,(function(t){!function(t,e,n,i){if(IE(n)){var r=DE(t,e,n),o=n.__edgeMap,a=o[EE(r)];o[r]&&!a?o[r].isForward=!0:a&&o[r]&&(a.isForward=!0,o[r].isForward=!1),o[r]=o[r]||[],o[r].push(i)}}(t.node1,t.node2,this,t.dataIndex)}),this),a.data}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),fm("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}return Mm({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=oe(this.option.categories||[],(function(t){return null!=t.value?t:Kt({value:0},t)})),e=new bx(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Em),IL={type:"graphRoam",event:"graphRoam",update:"none"};var CL=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},DL=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return Tt(e,t),e.prototype.getDefaultShape=function(){return new CL},e.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},e}(Ol);function EL(t,e){var n=null==t?"":t+"";return e&&(pe(e)?n=e.replace("{value}",n):de(e)&&(n=e(t))),n}var LL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r);return{cx:oa(n[0],e.getWidth()),cy:oa(n[1],e.getHeight()),r:oa(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,i,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),c=u.get("roundCap")?hT:qc,h=u.get("show"),d=u.getModel("lineStyle"),p=d.get("width"),f=[s,l];fl(f,!a);for(var g=(l=f[1])-(s=f[0]),m=s,v=[],y=0;h&&y<i.length;y++){var _=new c({shape:{startAngle:m,endAngle:l=s+g*Math.min(Math.max(i[y][0],0),1),cx:r.cx,cy:r.cy,clockwise:a,r0:r.r-p,r:r.r},silent:!0});_.setStyle({fill:i[y][1]}),_.setStyle(d.getLineStyle(["color","width"])),v.push(_),m=l}v.reverse(),re(v,(function(t){return o.add(t)}));var x=function(t){if(t<=0)return i[0][1];var e;for(e=0;e<i.length;e++)if(i[e][0]>=t&&(0===e?0:i[e-1][0])<t)return i[e][1];return i[e-1][1]};this._renderTicks(t,e,n,x,r,s,l,a,p),this._renderTitleAndDetail(t,e,n,x,r),this._renderAnchor(t,r),this._renderPointer(t,e,n,x,r,s,l,a,p)},e.prototype._renderTicks=function(t,e,n,i,r,o,a,s,l){for(var u,c,h=this.group,d=r.cx,p=r.cy,f=r.r,g=+t.get("min"),m=+t.get("max"),v=t.getModel("splitLine"),y=t.getModel("axisTick"),_=t.getModel("axisLabel"),x=t.get("splitNumber"),b=y.get("splitNumber"),w=oa(v.get("length"),f),S=oa(y.get("length"),f),A=o,T=(a-o)/x,M=T/b,I=v.getModel("lineStyle").getLineStyle(),C=y.getModel("lineStyle").getLineStyle(),D=v.get("distance"),E=0;E<=x;E++){if(u=Math.cos(A),c=Math.sin(A),v.get("show")){var L=new ah({shape:{x1:u*(f-(P=D?D+l:l))+d,y1:c*(f-P)+p,x2:u*(f-w-P)+d,y2:c*(f-w-P)+p},style:I,silent:!0});"auto"===I.stroke&&L.setStyle({stroke:i(E/x)}),h.add(L)}if(_.get("show")){var P=_.get("distance")+D,R=EL(aa(E/x*(m-g)+g),_.get("formatter")),N=i(E/x),k=u*(f-w-P)+d,O=c*(f-w-P)+p,B=_.get("rotate"),z=0;"radial"===B?(z=-A+2*Math.PI)>Math.PI/2&&(z+=Math.PI):"tangential"===B?z=-A-Math.PI/2:ge(B)&&(z=B*Math.PI/180),0===z?h.add(new Jl({style:md(_,{text:R,x:k,y:O,verticalAlign:c<-.8?"top":c>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:N}),silent:!0})):h.add(new Jl({style:md(_,{text:R,x:k,y:O,verticalAlign:"middle",align:"center"},{inheritColor:N}),silent:!0,originX:k,originY:O,rotation:z}))}if(y.get("show")&&E!==x){P=(P=y.get("distance"))?P+l:l;for(var F=0;F<=b;F++){u=Math.cos(A),c=Math.sin(A);var V=new ah({shape:{x1:u*(f-P)+d,y1:c*(f-P)+p,x2:u*(f-S-P)+d,y2:c*(f-S-P)+p},silent:!0,style:C});"auto"===C.stroke&&V.setStyle({stroke:i((E+F/b)/x)}),h.add(V),A+=M}A-=M}else A+=T}},e.prototype._renderPointer=function(t,e,n,i,r,o,a,s,l){var u=this.group,c=this._data,h=this._progressEls,d=[],p=t.get(["pointer","show"]),f=t.getModel("progress"),g=f.get("show"),m=t.getData(),v=m.mapDimension("value"),y=+t.get("min"),_=+t.get("max"),x=[y,_],b=[o,a];function w(e,n){var i,o=m.getItemModel(e).getModel("pointer"),a=oa(o.get("width"),r.r),s=oa(o.get("length"),r.r),l=t.get(["pointer","icon"]),u=o.get("offsetCenter"),c=oa(u[0],r.r),h=oa(u[1],r.r),d=o.get("keepAspect");return(i=l?ty(l,c-a/2,h-s,a,s,null,d):new DL({shape:{angle:-Math.PI/2,width:a,r:s,x:c,y:h}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(t,e){var n=f.get("roundCap")?hT:qc,i=f.get("overlap"),a=i?f.get("width"):l/m.count(),u=i?r.r-a:r.r-(t+1)*a,c=i?r.r:r.r-t*a,h=new n({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:u,r:c}});return i&&(h.z2=_-m.get(v,t)%_),h}(g||p)&&(m.diff(c).add((function(e){var n=m.get(v,e);if(p){var i=w(e,o);Ph(i,{rotation:-((isNaN(+n)?b[0]:ra(n,x,b,!0))+Math.PI/2)},t),u.add(i),m.setItemGraphicEl(e,i)}if(g){var r=S(e,o),a=f.get("clip");Ph(r,{shape:{endAngle:ra(n,x,b,a)}},t),u.add(r),hu(t.seriesIndex,m.dataType,e,r),d[e]=r}})).update((function(e,n){var i=m.get(v,e);if(p){var r=c.getItemGraphicEl(n),a=r?r.rotation:o,s=w(e,a);s.rotation=a,Lh(s,{rotation:-((isNaN(+i)?b[0]:ra(i,x,b,!0))+Math.PI/2)},t),u.add(s),m.setItemGraphicEl(e,s)}if(g){var l=h[n],y=S(e,l?l.shape.endAngle:o),_=f.get("clip");Lh(y,{shape:{endAngle:ra(i,x,b,_)}},t),u.add(y),hu(t.seriesIndex,m.dataType,e,y),d[e]=y}})).execute(),m.each((function(t){var e=m.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(p){var s=m.getItemGraphicEl(t),l=m.getItemVisual(t,"style"),u=l.fill;if(s instanceof Gl){var c=s.style;s.useStyle(Kt({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(ra(m.get(v,t),x,[0,1],!0))),s.z2EmphasisLift=0,sc(s,e),ic(s,r,o,a)}if(g){var h=d[t];h.useStyle(m.getItemVisual(t,"style")),h.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),h.z2EmphasisLift=0,sc(h,e),ic(h,r,o,a)}})),this._progressEls=d)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=ty(r,e.cx-i/2+oa(o[0],e.r),e.cy-i/2+oa(o[1],e.r),i,i,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},e.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),c=new qo,h=[],d=[],p=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){h[t]=new Jl({silent:!0}),d[t]=new Jl({silent:!0})})).update((function(t,e){h[t]=o._titleEls[e],d[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new qo,m=i(ra(o,[l,u],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var y=v.get("offsetCenter"),_=r.cx+oa(y[0],r.r),x=r.cy+oa(y[1],r.r);(C=h[e]).attr({z2:f?0:2,style:md(v,{x:_,y:x,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:m})}),g.add(C)}var b=n.getModel("detail");if(b.get("show")){var w=b.get("offsetCenter"),S=r.cx+oa(w[0],r.r),A=r.cy+oa(w[1],r.r),T=oa(b.get("width"),r.r),M=oa(b.get("height"),r.r),I=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:m,C=d[e],D=b.get("formatter");C.attr({z2:f?0:2,style:md(b,{x:S,y:A,text:EL(o,D),width:isNaN(T)?null:T,height:isNaN(M)?null:M,align:"center",verticalAlign:"middle"},{inheritColor:I})}),Ad(C,{normal:b},o,(function(t){return EL(t,D)})),p&&Td(C,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return EL(a?a.interpolatedValue:o,D)}}),g.add(C)}c.add(g)})),this.group.add(c),this._titleEls=h,this._detailEls=d},e.type="gauge",e}(Um),PL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return Tt(e,t),e.prototype.getInitialData=function(t,e){return YT(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(Em);var RL=["itemStyle","opacity"],NL=function(t){function e(e,n){var i=t.call(this)||this,r=i,o=new ih,a=new Jl;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return Tt(e,t),e.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(RL);l=null==l?1:l,n||Bh(i),i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:a.points}),i.style.opacity=0,Ph(i,{style:{opacity:l}},r,e)):Lh(i,{style:{opacity:l},shape:{points:a.points}},r,e),sc(i,o),this._updateLabel(t,e),ic(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"style"),u=l.fill;fd(r,gd(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:l.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var c=s.linePoints;i.setShape({points:c}),n.textGuideLineConfig={anchor:c?new Fn(c[0][0],c[0][1]):null},Lh(r,{style:{x:s.x,y:s.y}},o,e),r.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),zw(n,Fw(a),{stroke:u})},e}(eh),kL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return Tt(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add((function(t){var e=new NL(i,t);i.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)})).remove((function(e){Oh(r.getItemGraphicEl(e),t,e)})).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(Um),OL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new ZT(ue(this.getData,this),ue(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return YT(this,{coordDimensions:["value"],encodeDefaulter:ce(hf,this)})},e.prototype._defaultLabelLine=function(t){La(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Em);function BL(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=function(t,e){return Gp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),a=t.get("orient"),s=o.width,l=o.height,u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a<s;a++)r[a]=a;return de(e)?r.sort(e):"none"!==e&&r.sort((function(t,e){return o?i[t]-i[e]:i[e]-i[t]})),r}(n,r),c=o.x,h=o.y,d="horizontal"===a?[oa(t.get("minSize"),l),oa(t.get("maxSize"),l)]:[oa(t.get("minSize"),s),oa(t.get("maxSize"),s)],p=n.getDataExtent(i),f=t.get("min"),g=t.get("max");null==f&&(f=Math.min(p[0],0)),null==g&&(g=p[1]);var m=t.get("funnelAlign"),v=t.get("gap"),y=(("horizontal"===a?s:l)-v*(n.count()-1))/n.count(),_=function(t,e){if("horizontal"===a){var r=ra(n.get(i,t)||0,[f,g],d,!0),o=void 0;switch(m){case"top":o=h;break;case"center":o=h+(l-r)/2;break;case"bottom":o=h+(l-r)}return[[e,o],[e,o+r]]}var u,p=ra(n.get(i,t)||0,[f,g],d,!0);switch(m){case"left":u=c;break;case"center":u=c+(s-p)/2;break;case"right":u=c+s-p}return[[u,e],[u+p,e]]};"ascending"===r&&(y=-y,v=-v,"horizontal"===a?c+=s:h+=l,u=u.reverse());for(var x=0;x<u.length;x++){var b=u[x],w=u[x+1],S=n.getItemModel(b);if("horizontal"===a){var A=S.get(["itemStyle","width"]);null==A?A=y:(A=oa(A,s),"ascending"===r&&(A=-A));var T=_(b,c),M=_(w,c+A);c+=A+v,n.setItemLayout(b,{points:T.concat(M.slice().reverse())})}else{var I=S.get(["itemStyle","height"]);null==I?I=y:(I=oa(I,l),"ascending"===r&&(I=-I));T=_(b,h),M=_(w,h+I);h+=I+v,n.setItemLayout(b,{points:T.concat(M.slice().reverse())})}}!function(t){var e=t.hostModel.get("orient");t.each((function(n){var i,r,o,a,s=t.getItemModel(n),l=s.getModel("label").get("position"),u=s.getModel("labelLine"),c=t.getItemLayout(n),h=c.points,d="inner"===l||"inside"===l||"center"===l||"insideLeft"===l||"insideRight"===l;if(d)"insideLeft"===l?(r=(h[0][0]+h[3][0])/2+5,o=(h[0][1]+h[3][1])/2,i="left"):"insideRight"===l?(r=(h[1][0]+h[2][0])/2-5,o=(h[1][1]+h[2][1])/2,i="right"):(r=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,o=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4,i="center"),a=[[r,o],[r,o]];else{var p=void 0,f=void 0,g=void 0,m=void 0,v=u.get("length");"left"===l?(p=(h[3][0]+h[0][0])/2,f=(h[3][1]+h[0][1])/2,r=(g=p-v)-5,i="right"):"right"===l?(p=(h[1][0]+h[2][0])/2,f=(h[1][1]+h[2][1])/2,r=(g=p+v)+5,i="left"):"top"===l?(p=(h[3][0]+h[0][0])/2,o=(m=(f=(h[3][1]+h[0][1])/2)-v)-5,i="center"):"bottom"===l?(p=(h[1][0]+h[2][0])/2,o=(m=(f=(h[1][1]+h[2][1])/2)+v)+5,i="center"):"rightTop"===l?(p="horizontal"===e?h[3][0]:h[1][0],f="horizontal"===e?h[3][1]:h[1][1],"horizontal"===e?(o=(m=f-v)-5,i="center"):(r=(g=p+v)+5,i="top")):"rightBottom"===l?(p=h[2][0],f=h[2][1],"horizontal"===e?(o=(m=f+v)+5,i="center"):(r=(g=p+v)+5,i="bottom")):"leftTop"===l?(p=h[0][0],f="horizontal"===e?h[0][1]:h[1][1],"horizontal"===e?(o=(m=f-v)-5,i="center"):(r=(g=p-v)-5,i="right")):"leftBottom"===l?(p="horizontal"===e?h[1][0]:h[3][0],f="horizontal"===e?h[1][1]:h[2][1],"horizontal"===e?(o=(m=f+v)+5,i="center"):(r=(g=p-v)-5,i="right")):(p=(h[1][0]+h[2][0])/2,f=(h[1][1]+h[2][1])/2,"horizontal"===e?(o=(m=f+v)+5,i="center"):(r=(g=p+v)+5,i="left")),"horizontal"===e?r=g=p:o=m=f,a=[[p,f],[g,m]]}c.label={linePoints:a,x:r,y:o,verticalAlign:"middle",textAlign:i,inside:d}}))}(n)}))}var zL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._dataGroup=new qo,n._initialized=!1,n}return Tt(e,t),e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._dataGroup,o=t.getData(),a=this._data,s=t.coordinateSystem,l=s.dimensions,u=GL(t);if(o.diff(a).add((function(t){UL(VL(o,r,t,l,s),o,t,u)})).update((function(e,n){var i=a.getItemGraphicEl(n),r=FL(o,e,l,s);o.setItemGraphicEl(e,i),Lh(i,{shape:{points:r}},t,e),Bh(i),UL(i,o,e,u)})).remove((function(t){var e=a.getItemGraphicEl(t);r.remove(e)})).execute(),!this._initialized){this._initialized=!0;var c=function(t,e,n){var i=t.model,r=t.getRect(),o=new Zl({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),a="horizontal"===i.get("layout")?"width":"height";return o.setShape(a,0),Ph(o,{shape:{width:r.width,height:r.height}},e,n),o}(s,t,(function(){setTimeout((function(){r.removeClipPath()}))}));r.setClipPath(c)}this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},e.prototype.incrementalRender=function(t,e,n){for(var i=e.getData(),r=e.coordinateSystem,o=r.dimensions,a=GL(e),s=this._progressiveEls=[],l=t.start;l<t.end;l++){var u=VL(i,this._dataGroup,l,o,r);u.incremental=!0,UL(u,i,l,a),s.push(u)}},e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},e.type="parallel",e}(Um);function FL(t,e,n,i){for(var r,o=[],a=0;a<n.length;a++){var s=n[a],l=t.get(t.mapDimension(s),e);r=l,("category"===i.getAxis(s).type?null==r:null==r||isNaN(r))||o.push(i.dataToPoint(l,s))}return o}function VL(t,e,n,i,r){var o=FL(t,n,i,r),a=new ih({shape:{points:o},z2:10});return e.add(a),t.setItemGraphicEl(n,a),a}function GL(t){var e=t.get("smooth",!0);return!0===e&&(e=.3),be(e=ba(e))&&(e=0),{smooth:e}}function UL(t,e,n,i){t.useStyle(e.getItemVisual(n,"style")),t.style.fill=null,t.setShape("smooth",i.smooth);var r=e.getItemModel(n),o=r.getModel("emphasis");sc(t,r,"lineStyle"),ic(t,o.get("focus"),o.get("blurScope"),o.get("disabled"))}var HL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return Tt(e,t),e.prototype.getInitialData=function(t,e){return Px(null,this,{useEncodeDefaulter:ue(WL,null,this)})},e.prototype.getRawIndicesByActiveState=function(t){var e=this.coordinateSystem,n=this.getData(),i=[];return e.eachActiveState(n,(function(e,r){t===e&&i.push(n.getRawIndex(r))})),i},e.type="series.parallel",e.dependencies=["parallel"],e.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},e}(Em);function WL(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(e){var n={};return re(e.dimensions,(function(t){var e=+t.replace("dim","");n[t]=e})),n}}var XL=["lineStyle","opacity"],jL={seriesType:"parallel",reset:function(t,e){var n=t.coordinateSystem,i={normal:t.get(["lineStyle","opacity"]),active:t.get("activeOpacity"),inactive:t.get("inactiveOpacity")};return{progress:function(t,e){n.eachActiveState(e,(function(t,n){var r=i[t];if("normal"===t&&e.hasItemOption){var o=e.getItemModel(n).get(XL,!0);null!=o&&(r=o)}e.ensureUniqueItemVisual(n,"style").opacity=r}),t.start,t.end)}}}};function YL(t){!function(t){if(t.parallel)return;var e=!1;re(t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}(t),function(t){var e=Ea(t.parallelAxis);re(e,(function(e){if(me(e)){var n=e.parallelIndex||0,i=Ea(t.parallel)[n];i&&i.parallelAxisDefault&&qt(e,i.parallelAxisDefault,!1)}}))}(t)}var ZL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.render=function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},re(QL,(function(t,e){n.getZr().on(e,this._handlers[e]=ue(t,this))}),this)),Km(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(t,e){$m(this,"_throttledDispatchExpand"),re(this._handlers,(function(t,n){e.getZr().off(n,t)})),this._handlers=null},e.prototype._throttledDispatchExpand=function(t){this._dispatchExpand(t)},e.prototype._dispatchExpand=function(t){t&&this._api.dispatchAction(Kt({type:"parallelAxisExpand"},t))},e.type="parallel",e}(zm),QL={mousedown:function(t){qL(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(qL(this,"click")&&e){var n=[t.offsetX,t.offsetY];if(Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2)>5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&qL(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function qL(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var JL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&qt(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){re(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];re(se(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this),(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(Zp),KL=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return Tt(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(fw);function $L(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=eP(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=eP(s,[0,a]),r=o=eP(s,[r,o]),i=0}e[0]=eP(e[0],n),e[1]=eP(e[1],n);var l=tP(e,i);e[i]+=t;var u,c=r||0,h=n.slice();return l.sign<0?h[0]+=c:h[1]-=c,e[i]=eP(e[i],h),u=tP(e,i),null!=r&&(u.sign!==l.sign||u.span<r)&&(e[1-i]=e[i]+l.sign*r),u=tP(e,i),null!=o&&u.span>o&&(e[1-i]=e[i]+u.sign*o),e}function tP(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function eP(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var nP=re,iP=Math.min,rP=Math.max,oP=Math.floor,aP=Math.ceil,sP=aa,lP=Math.PI,uP=function(){function t(t,e,n){this.type="parallel",this._axesMap=ke(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;nP(i,(function(t,n){var i=r[n],o=e.getComponent("parallelAxis",i),a=this._axesMap.set(t,new KL(t,Pb(o),[0,0],o.get("type"),i)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();nP(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),Lb(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=Gp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,c=cP(e.get("axisExpandWidth"),l),h=cP(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,p=e.get("axisExpandWindow");p?(t=cP(p[1]-p[0],l),p[1]=p[0]+t):(t=cP(c*(h-1),l),(p=[c*(e.get("axisExpandCenter")||oP(u/2))-t/2])[1]=p[0]+t);var f=(s-t)/(u-h);f<3&&(f=0);var g=[oP(sP(p[0]/c,1))+1,aP(sP(p[1]/c,1))-1],m=f/c*p[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:f,axisExpandWindow:p,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:m}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),nP(n,(function(e,n){var o=(i.axisExpandable?dP:hP)(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:lP/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],c=[1,0,0,1,0,0];On(c,c,u),kn(c,c,l),this._axesLayout[e]={position:l,rotation:u,transform:c,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];re(o,(function(e){a.push(t.mapDimension(e)),s.push(r.get(e).model)}));for(var l=this.hasAxisBrushed(),u=n;u<i;u++){var c=void 0;if(l){c="active";for(var h=t.getValues(a,u),d=0,p=o.length;d<p;d++){if("inactive"===s[d].getActiveState(h[d])){c="inactive";break}}}else c="normal";e(c,u)}},t.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,n=!1,i=0,r=t.length;i<r;i++)"normal"!==e.get(t[i]).model.getActiveState()&&(n=!0);return n},t.prototype.axisCoordToPoint=function(t,e){return Kh([t,0],this._axesLayout[e].transform)},t.prototype.getAxisLayout=function(t){return Qt(this._axesLayout[t])},t.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,i=e.axisExpandWindow.slice(),r=i[1]-i[0],o=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:i};var a,s=t[n]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",u=e.axisCollapseWidth,c=this._model.get("axisExpandSlideTriggerArea"),h=null!=c[0];if(u)h&&u&&s<r*c[0]?(l="jump",a=s-r*c[2]):h&&u&&s>r*(1-c[0])?(l="jump",a=s-r*(1-c[2])):(a=s-r*c[1])>=0&&(a=s-r*(1-c[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?$L(a,i,o,"all"):l="none";else{var d=i[1]-i[0];(i=[rP(0,o[1]*s/d-d/2)])[1]=iP(o[1],i[0]+d),i[0]=i[1]-d}return{axisExpandWindow:i,behavior:l}},t}();function cP(t,e){return iP(rP(t,e[0]),e[1])}function hP(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function dP(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,c=!1;return t<l[0]?(n=t*s,i=s):t<=l[1]?(n=e.axisExpandWindow0Pos+t*o-e.axisExpandWindow[0],u=o,c=!0):(n=r-(a-1-t)*s,i=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:i}}var pP={create:function(t,e){var n=[];return t.eachComponent("parallel",(function(i,r){var o=new uP(i,t,e);o.name="parallel_"+r,o.resize(i,e),i.coordinateSystem=o,o.model=i,n.push(o)})),t.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",ja).models[0];t.coordinateSystem=e.coordinateSystem}})),n}},fP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.activeIntervals=[],n}return Tt(e,t),e.prototype.getAreaSelectStyle=function(){return ls([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=Qt(t);if(e)for(var n=e.length-1;n>=0;n--)sa(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i<r;i++)if(e[i][0]<=t&&t<=e[i][1])return"active";return"inactive"},e}(Zp);ne(fP,Fb);var gP=!0,mP=Math.min,vP=Math.max,yP=Math.pow,_P=1e4,xP=6,bP=6,wP="globalPan",SP={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},AP={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},TP={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},MP=0,IP=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new qo,n._uid="brushController_"+MP++,re(tR,(function(t,e){this._handlers[e]=ue(t,this)}),n),n}return Tt(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||function(t,e,n){pI(t)[e]=n}(e,wP,this._uid),re(this._handlers,(function(t,n){e.on(n,t)})),this._brushType=t.brushType,this._brushOption=qt(Qt(TP),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;!function(t,e,n){var i=pI(t);i[e]===n&&(i[e]=null)}(t,wP,this._uid),re(this._handlers,(function(e,n){t.off(n,e)})),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};re(t,(function(t){e[t.panelId]=Qt(t)}))}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){t=oe(t,(function(t){return qt(Qt(TP),t,!0)}));var e="\0-brush-index-",n=this._covers,i=this._covers=[],r=this,o=this._creatingCover;return new J_(n,t,(function(t,e){return a(t.__brushOption,e)}),a).add(s).update(s).remove((function(t){n[t]!==o&&r.group.remove(n[t])})).execute(),this;function a(t,n){return(null!=t.id?t.id:e+n)+"-"+t.brushType}function s(e,a){var s=t[e];if(null!=a&&n[a]===o)i[e]=n[a];else{var l=i[e]=null!=a?(n[a].__brushOption=s,n[a]):DP(r,CP(r,s));PP(r,l)}}},e.prototype.unmount=function(){return this.enableBrush(!1),OP(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(ln);function CP(t,e){var n=nR[e.brushType].createCover(t,e);return n.__brushOption=e,LP(n,e),t.group.add(n),n}function DP(t,e){var n=RP(e);return n.endCreating&&(n.endCreating(t,e),LP(e,e.__brushOption)),e}function EP(t,e){var n=e.__brushOption;RP(e).updateCoverShape(t,e,n.range,n)}function LP(t,e){var n=e.z;null==n&&(n=_P),t.traverse((function(t){t.z=n,t.z2=n}))}function PP(t,e){RP(e).updateCommon(t,e),EP(t,e)}function RP(t){return nR[t.__brushOption.brushType]}function NP(t,e,n){var i,r=t._panels;if(!r)return gP;var o=t._transform;return re(r,(function(t){t.isTargetByCursor(e,n,o)&&(i=t)})),i}function kP(t,e){var n=t._panels;if(!n)return gP;var i=e.__brushOption.panelId;return null!=i?n[i]:gP}function OP(t){var e=t._covers,n=e.length;return re(e,(function(e){t.group.remove(e)}),t),e.length=0,!!n}function BP(t,e){var n=oe(t._covers,(function(t){var e=t.__brushOption,n=Qt(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}}));t.trigger("brush",{areas:n,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function zP(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function FP(t,e,n,i){var r=new qo;return r.add(new Zl({name:"main",style:HP(n),silent:!0,draggable:!0,cursor:"move",drift:ce(jP,t,e,r,["n","s","w","e"]),ondragend:ce(BP,e,{isEnd:!0})})),re(i,(function(n){r.add(new Zl({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:ce(jP,t,e,r,n),ondragend:ce(BP,e,{isEnd:!0})}))})),r}function VP(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=vP(r,bP),a=n[0][0],s=n[1][0],l=a-r/2,u=s-r/2,c=n[0][1],h=n[1][1],d=c-o+r/2,p=h-o+r/2,f=c-a,g=h-s,m=f+r,v=g+r;UP(t,e,"main",a,s,f,g),i.transformable&&(UP(t,e,"w",l,u,o,v),UP(t,e,"e",d,u,o,v),UP(t,e,"n",l,u,m,o),UP(t,e,"s",l,p,m,o),UP(t,e,"nw",l,u,o,o),UP(t,e,"ne",d,u,o,o),UP(t,e,"sw",l,p,o,o),UP(t,e,"se",d,p,o,o))}function GP(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);r.useStyle(HP(n)),r.attr({silent:!i,cursor:i?"move":"default"}),re([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var r=e.childOfName(n.join("")),o=1===n.length?XP(t,n[0]):function(t,e){var n=[XP(t,e[0]),XP(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}(t,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?AP[o]+"-resize":null})}))}function UP(t,e,n,i,r,o,a){var s=e.childOfName(n);s&&s.setShape(function(t){var e=mP(t[0][0],t[1][0]),n=mP(t[0][1],t[1][1]),i=vP(t[0][0],t[1][0]),r=vP(t[0][1],t[1][1]);return{x:e,y:n,width:i-e,height:r-n}}(QP(t,e,[[i,r],[i+o,r+a]])))}function HP(t){return $t({strokeNoScale:!0},t.brushStyle)}function WP(t,e,n,i){var r=[mP(t,n),mP(e,i)],o=[vP(t,n),vP(e,i)];return[[r[0],o[0]],[r[1],o[1]]]}function XP(t,e){var n=$h({w:"left",e:"right",n:"top",s:"bottom"}[e],function(t){return Jh(t.group)}(t));return{left:"w",right:"e",top:"n",bottom:"s"}[n]}function jP(t,e,n,i,r,o){var a=n.__brushOption,s=t.toRectRange(a.range),l=ZP(e,r,o);re(i,(function(t){var e=SP[t];s[e[0]][e[1]]+=l[e[0]]})),a.range=t.fromRectRange(WP(s[0][0],s[1][0],s[0][1],s[1][1])),PP(e,n),BP(e,{isEnd:!1})}function YP(t,e,n,i){var r=e.__brushOption.range,o=ZP(t,n,i);re(r,(function(t){t[0]+=o[0],t[1]+=o[1]})),PP(t,e),BP(t,{isEnd:!1})}function ZP(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function QP(t,e,n){var i=kP(t,e);return i&&i!==gP?i.clipPath(n,t._transform):Qt(n)}function qP(t){var e=t.event;e.preventDefault&&e.preventDefault()}function JP(t,e,n){return t.childOfName("main").contain(e,n)}function KP(t,e,n,i){var r,o=t._creatingCover,a=t._creatingPanel,s=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],r=n[0]-i[0],o=n[1]-i[1];return yP(r*r+o*o,.5)>xP}(t)||o){if(a&&!o){"single"===s.brushMode&&OP(t);var l=Qt(s);l.brushType=$P(l.brushType,a),l.panelId=a===gP?null:a.panelId,o=t._creatingCover=CP(t,l),t._covers.push(o)}if(o){var u=nR[$P(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(QP(t,o,t._track)),i&&(DP(t,o),u.updateCommon(t,o)),EP(t,o),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&NP(t,e,n)&&OP(t)&&(r={isEnd:i,removeOnClick:!0});return r}function $P(t,e){return"auto"===t?e.defaultBrushType:t}var tR={mousedown:function(t){if(this._dragging)eR(this,t);else if(!t.target||!t.target.draggable){qP(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=NP(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=NP(t,e,n);if(!t._dragging)for(var a=0;a<r.length;a++){var s=r[a].__brushOption;if(o&&(o===gP||s.panelId===o.panelId)&&nR[s.brushType].contain(r[a],n[0],n[1]))return}o&&i.setCursorStyle("crosshair")}}(this,t,i),this._dragging){qP(t);var r=KP(this,t,i,!1);r&&BP(this,r)}},mouseup:function(t){eR(this,t)}};function eR(t,e){if(t._dragging){qP(e);var n=e.offsetX,i=e.offsetY,r=t.group.transformCoordToLocal(n,i),o=KP(t,e,r,!0);t._dragging=!1,t._track=[],t._creatingCover=null,o&&BP(t,o)}}var nR={lineX:iR(0),lineY:iR(1),rect:{createCover:function(t,e){function n(t){return t}return FP({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=zP(t);return WP(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){VP(t,e,n,i)},updateCommon:GP,contain:JP},polygon:{createCover:function(t,e){var n=new qo;return n.add(new ih({name:"main",style:HP(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new eh({name:"main",draggable:!0,drift:ce(YP,t,e),ondragend:ce(BP,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:QP(t,e,n)})},updateCommon:GP,contain:JP}};function iR(t){return{createCover:function(e,n){return FP({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=zP(e);return[mP(n[0][t],n[1][t]),vP(n[0][t],n[1][t])]},updateCoverShape:function(e,n,i,r){var o,a=kP(e,n);if(a!==gP&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[i,o];t&&l.reverse(),VP(e,n,l,r)},updateCommon:GP,contain:JP}}function rR(t){return t=sR(t),function(e){return nd(e,t)}}function oR(t,e){return t=sR(t),function(n){var i=null!=e?e:n,r=i?t.width:t.height,o=i?t.x:t.y;return[o,o+(r||0)]}}function aR(t,e,n){var i=sR(t);return function(t,r){return i.contain(r[0],r[1])&&!wI(t,e,n)}}function sR(t){return Zn.create(t)}var lR=["axisLine","axisTickLabel","axisName"],uR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments),(this._brushController=new IP(n.getZr())).on("brush",ue(this._onBrush,this))},e.prototype.render=function(t,e,n,i){if(!function(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}(t,e,i)){this.axisModel=t,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new qo,this.group.add(this._axisGroup),t.get("show")){var o=function(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}(t,e),a=o.coordinateSystem,s=t.getAreaSelectStyle(),l=s.width,u=t.axis.dim,c=Kt({strokeContainThreshold:l},a.getAxisLayout(u)),h=new MM(t,c);re(lR,h.add,h),this._axisGroup.add(h.getGroup()),this._refreshBrushController(c,s,t,o,l,n),ed(r,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,n,i,r,o){var a=n.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),u=Zn.create({x:a[0],y:-r/2,width:s,height:r});u.x-=l,u.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:rR(u),isTargetByCursor:aR(u,o,i),getLinearBrushOtherExtent:oR(u,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(function(t){var e=t.axis;return oe(t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}(n))},e.prototype._onBrush=function(t){var e=t.areas,n=this.axisModel,i=n.axis,r=oe(e,(function(t){return[i.coordToData(t.range[0],!0),i.coordToData(t.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:r})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(zm);var cR={type:"axisAreaSelect",event:"axisAreaSelected"};var hR={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function dR(t){t.registerComponentView(ZL),t.registerComponentModel(JL),t.registerCoordinateSystem("parallel",pP),t.registerPreprocessor(YL),t.registerComponentModel(fP),t.registerComponentView(uR),uM(t,"parallel",fP,hR),function(t){t.registerAction(cR,(function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},(function(e){e.axis.model.setActiveIntervals(t.intervals)}))})),t.registerAction("parallelAxisExpand",(function(t,e){e.eachComponent({mainType:"parallel",query:t},(function(e){e.setAxisExpand(t)}))}))}(t)}var pR=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0},fR=function(t){function e(e){return t.call(this,e)||this}return Tt(e,t),e.prototype.getDefaultShape=function(){return new pR},e.prototype.buildPath=function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},e.prototype.highlight=function(){Hu(this)},e.prototype.downplay=function(){Wu(this)},e}(Ol),gR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._focusAdjacencyDisabled=!1,n}return Tt(e,t),e.prototype.render=function(t,e,n){var i=this,r=t.getGraph(),o=this.group,a=t.layoutInfo,s=a.width,l=a.height,u=t.getData(),c=t.getData("edge"),h=t.get("orient");this._model=t,o.removeAll(),o.x=a.x,o.y=a.y,r.eachEdge((function(e){var n=new fR,i=cu(n);i.dataIndex=e.dataIndex,i.seriesIndex=t.seriesIndex,i.dataType="edge";var r,a,u,d,p,f,g,m,v=e.getModel(),y=v.getModel("lineStyle"),_=y.get("curveness"),x=e.node1.getLayout(),b=e.node1.getModel(),w=b.get("localX"),S=b.get("localY"),A=e.node2.getLayout(),T=e.node2.getModel(),M=T.get("localX"),I=T.get("localY"),C=e.getLayout();n.shape.extent=Math.max(1,C.dy),n.shape.orient=h,"vertical"===h?(r=(null!=w?w*s:x.x)+C.sy,a=(null!=S?S*l:x.y)+x.dy,u=(null!=M?M*s:A.x)+C.ty,p=r,f=a*(1-_)+(d=null!=I?I*l:A.y)*_,g=u,m=a*_+d*(1-_)):(r=(null!=w?w*s:x.x)+x.dx,a=(null!=S?S*l:x.y)+C.sy,p=r*(1-_)+(u=null!=M?M*s:A.x)*_,f=a,g=r*_+u*(1-_),m=d=(null!=I?I*l:A.y)+C.ty),n.setShape({x1:r,y1:a,x2:u,y2:d,cpx1:p,cpy1:f,cpx2:g,cpy2:m}),n.useStyle(y.getItemStyle()),mR(n.style,h,e);var D=""+v.get("value"),E=gd(v,"edgeLabel");fd(n,E,{labelFetcher:{getFormattedLabel:function(e,n,i,r,o,a){return t.getFormattedLabel(e,n,"edge",r,Ae(o,E.normal&&E.normal.get("formatter"),D),a)}},labelDataIndex:e.dataIndex,defaultText:D}),n.setTextConfig({position:"inside"});var L=v.getModel("emphasis");sc(n,v,"lineStyle",(function(t){var n=t.getItemStyle();return mR(n,h,e),n})),o.add(n),c.setItemGraphicEl(e.dataIndex,n);var P=L.get("focus");ic(n,"adjacency"===P?e.getAdjacentDataIndices():"trajectory"===P?e.getTrajectoryDataIndices():P,L.get("blurScope"),L.get("disabled"))})),r.eachNode((function(e){var n=e.getLayout(),i=e.getModel(),r=i.get("localX"),a=i.get("localY"),c=i.getModel("emphasis"),h=i.get(["itemStyle","borderRadius"])||0,d=new Zl({shape:{x:null!=r?r*s:n.x,y:null!=a?a*l:n.y,width:n.dx,height:n.dy,r:h},style:i.getModel("itemStyle").getItemStyle(),z2:10});fd(d,gd(i),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(e,n,"node")}},labelDataIndex:e.dataIndex,defaultText:e.id}),d.disableLabelAnimation=!0,d.setStyle("fill",e.getVisual("color")),d.setStyle("decal",e.getVisual("style").decal),sc(d,i),o.add(d),u.setItemGraphicEl(e.dataIndex,d),cu(d).dataType="node";var p=c.get("focus");ic(d,"adjacency"===p?e.getAdjacentDataIndices():"trajectory"===p?e.getTrajectoryDataIndices():p,c.get("blurScope"),c.get("disabled"))})),u.eachItemGraphicEl((function(e,r){u.getItemModel(r).get("draggable")&&(e.drift=function(e,o){i._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:u.getRawIndex(r),localX:this.shape.x/s,localY:this.shape.y/l})},e.ondragend=function(){i._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")})),!this._data&&t.isAnimationEnabled()&&o.setClipPath(function(t,e,n){var i=new Zl({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Ph(i,{shape:{width:t.width+20}},e,n),i}(o.getBoundingRect(),t,(function(){o.removeClipPath()}))),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(Um);function mR(t,e,n){switch(t.fill){case"source":t.fill=n.node1.getVisual("color"),t.decal=n.node1.getVisual("style").decal;break;case"target":t.fill=n.node2.getVisual("color"),t.decal=n.node2.getVisual("style").decal;break;case"gradient":var i=n.node1.getVisual("color"),r=n.node2.getVisual("color");pe(i)&&pe(r)&&(t.fill=new mh(0,0,+("horizontal"===e),+("vertical"===e),[{color:i,offset:0},{color:r,offset:1}]))}}var vR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.getInitialData=function(t,e){var n=t.edges||t.links,i=t.data||t.nodes,r=t.levels;this.levelModels=[];for(var o=this.levelModels,a=0;a<r.length;a++)null!=r[a].depth&&r[a].depth>=0&&(o[r[a].depth]=new zd(r[a],this,e));if(i&&n){var s=TL(i,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t}))}));return s.data}},e.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value;return fm("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:i(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return fm("nameValue",{name:null!=l?l+"":null,value:s,noValue:i(s)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e).getLayout().value;i.value=r}return i},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(Em);function yR(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=function(t,e){return Gp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var o=r.width,a=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;!function(t){re(t,(function(t){var e=CR(t.outEdges,IR),n=CR(t.inEdges,IR),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}(l),function(t,e,n,i,r,o,a,s,l){(function(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],c=[],h=0,d=0;d<e.length;d++)s[d]=1;for(d=0;d<t.length;d++)l[d]=t[d].inEdges.length,0===l[d]&&u.push(t[d]);var p=-1;for(;u.length;){for(var f=0;f<u.length;f++){var g=u[f],m=g.hostGraph.data.getRawDataItem(g.dataIndex),v=null!=m.depth&&m.depth>=0;v&&m.depth>p&&(p=m.depth),g.setLayout({depth:v?m.depth:h},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var y=0;y<g.outEdges.length;y++){var _=g.outEdges[y];s[e.indexOf(_)]=0;var x=_.node2;0==--l[t.indexOf(x)]&&c.indexOf(x)<0&&c.push(x)}}++h,u=c,c=[]}for(d=0;d<s.length;d++)if(1===s[d])throw new Error("Sankey is a DAG, the original data has cycle!");var b=p>h-1?p:h-1;a&&"left"!==a&&function(t,e,n,i){if("right"===e){for(var r=[],o=t,a=0;o.length;){for(var s=0;s<o.length;s++){var l=o[s];l.setLayout({skNodeHeight:a},!0);for(var u=0;u<l.inEdges.length;u++){var c=l.inEdges[u];r.indexOf(c.node1)<0&&r.push(c.node1)}}o=r,r=[],++a}re(t,(function(t){_R(t)||t.setLayout({depth:Math.max(0,i-t.getLayout().skNodeHeight)},!0)}))}else"justify"===e&&function(t,e){re(t,(function(t){_R(t)||t.outEdges.length||t.setLayout({depth:e},!0)}))}(t,i)}(t,a,0,b);var w="vertical"===o?(r-n)/b:(i-n)/b;!function(t,e,n){re(t,(function(t){var i=t.getLayout().depth*e;"vertical"===n?t.setLayout({y:i},!0):t.setLayout({x:i},!0)}))}(t,w,o)})(t,e,n,r,o,s,l),function(t,e,n,i,r,o,a){var s=function(t,e){var n=[],i="vertical"===e?"y":"x",r=qa(t,(function(t){return t.getLayout()[i]}));return r.keys.sort((function(t,e){return t-e})),re(r.keys,(function(t){n.push(r.buckets.get(t))})),n}(t,a);(function(t,e,n,i,r,o){var a=1/0;re(t,(function(t){var e=t.length,s=0;re(t,(function(t){s+=t.getLayout().value}));var l="vertical"===o?(i-(e-1)*r)/s:(n-(e-1)*r)/s;l<a&&(a=l)})),re(t,(function(t){re(t,(function(t,e){var n=t.getLayout().value*a;"vertical"===o?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))}))})),re(e,(function(t){var e=+t.getValue()*a;t.setLayout({dy:e},!0)}))})(s,e,n,i,r,a),xR(s,r,n,i,a);for(var l=1;o>0;o--)bR(s,l*=.99,a),xR(s,r,n,i,a),DR(s,l,a),xR(s,r,n,i,a)}(t,e,o,r,i,a,s),function(t,e){var n="vertical"===e?"x":"y";re(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),re(t,(function(t){var e=0,n=0;re(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),re(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,s)}(l,u,n,i,o,a,0!==se(l,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function _R(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function xR(t,e,n,i,r){var o="vertical"===r?"x":"y";re(t,(function(t){var a,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,c=t.length,h="vertical"===r?"dx":"dy",d=0;d<c;d++)(l=u-(s=t[d]).getLayout()[o])>0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[h]+e;if((l=u-e-("vertical"===r?i:n))>0){a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a;for(d=c-2;d>=0;--d)(l=(s=t[d]).getLayout()[o]+s.getLayout()[h]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}}))}function bR(t,e,n){re(t.slice().reverse(),(function(t){re(t,(function(t){if(t.outEdges.length){var i=CR(t.outEdges,wR,n)/CR(t.outEdges,IR);if(isNaN(i)){var r=t.outEdges.length;i=r?CR(t.outEdges,SR,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-MR(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-MR(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function wR(t,e){return MR(t.node2,e)*t.getValue()}function SR(t,e){return MR(t.node2,e)}function AR(t,e){return MR(t.node1,e)*t.getValue()}function TR(t,e){return MR(t.node1,e)}function MR(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function IR(t){return t.getValue()}function CR(t,e,n){for(var i=0,r=t.length,o=-1;++o<r;){var a=+e(t[o],n);isNaN(a)||(i+=a)}return i}function DR(t,e,n){re(t,(function(t){re(t,(function(t){if(t.inEdges.length){var i=CR(t.inEdges,AR,n)/CR(t.inEdges,IR);if(isNaN(i)){var r=t.inEdges.length;i=r?CR(t.inEdges,TR,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-MR(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-MR(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function ER(t){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph(),n=e.nodes,i=e.edges;if(n.length){var r=1/0,o=-1/0;re(n,(function(t){var e=t.getLayout().value;e<r&&(r=e),e>o&&(o=e)})),re(n,(function(e){var n=new WD({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),i=e.getModel().get(["itemStyle","color"]);null!=i?(e.setVisual("color",i),e.setVisual("style",{fill:i})):(e.setVisual("color",n),e.setVisual("style",{fill:n}))}))}i.length&&re(i,(function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)}))}))}var LR=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!0):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),i=!0):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,c=this._baseAxisDim=l[u],h=l[1-u],d=[r,o],p=d[u].get("type"),f=d[1-u].get("type"),g=t.data;if(g&&i){var m=[];re(g,(function(t,e){var n;he(t)?(n=t.slice(),t.unshift(e)):he(t.value)?((n=Kt({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,m.push(n)})),t.data=m}var v=this.defaultValueDimensions,y=[{name:c,type:tx(p),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:tx(f),dimsDef:v.slice()}];return YT(this,{coordDimensions:y,dimensionsCount:v.length+1,encodeDefaulter:ce(cf,y,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),PR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return Tt(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(Em);ne(PR,LR,!0);var RR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=OR(i.getItemLayout(t),i,t,a,!0);i.setItemGraphicEl(t,e),r.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(Bh(n),BR(s,n,i,t)):n=OR(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(Um),NR=function(){},kR=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return Tt(e,t),e.prototype.getDefaultShape=function(){return new NR},e.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i<n.length;i++)t.moveTo(n[i][0],n[i][1]),i++,t.lineTo(n[i][0],n[i][1])},e}(Ol);function OR(t,e,n,i,r){var o=t.ends,a=new kR({shape:{points:r?zR(o,i,t):o}});return BR(t,a,e,n,r),a}function BR(t,e,n,i,r){var o=n.hostModel;(0,cd[r?"initProps":"updateProps"])(e,{shape:{points:t.ends}},o,i),e.useStyle(n.getItemVisual(i,"style")),e.style.strokeNoScale=!0,e.z2=100;var a=n.getItemModel(i),s=a.getModel("emphasis");sc(e,a),ic(e,s.get("focus"),s.get("blurScope"),s.get("disabled"))}function zR(t,e,n){return oe(t,(function(t){return(t=t.slice())[e]=n.initBaseline,t}))}var FR=re;function VR(t){var e=function(t){var e=[],n=[];return t.eachSeriesByType("boxplot",(function(t){var i=t.getBaseAxis(),r=te(n,i);r<0&&(r=n.length,n[r]=i,e[r]={axis:i,seriesModels:[]}),e[r].seriesModels.push(t)})),e}(t);FR(e,(function(t){var e=t.seriesModels;e.length&&(!function(t){var e,n=t.axis,i=t.seriesModels,r=i.length,o=t.boxWidthList=[],a=t.boxOffsetList=[],s=[];if("category"===n.type)e=n.getBandWidth();else{var l=0;FR(i,(function(t){l=Math.max(l,t.getData().count())}));var u=n.getExtent();e=Math.abs(u[1]-u[0])/l}FR(i,(function(t){var n=t.get("boxWidth");he(n)||(n=[n,n]),s.push([oa(n[0],e)||0,oa(n[1],e)||0])}));var c=.8*e-2,h=c/r*.3,d=(c-h*(r-1))/r,p=d/2-c/2;FR(i,(function(t,e){a.push(p),p+=h+d,o.push(Math.min(Math.max(d,s[e][0]),s[e][1]))}))}(t),FR(e,(function(e,n){!function(t,e,n){var i=t.coordinateSystem,r=t.getData(),o=n/2,a="horizontal"===t.get("layout")?0:1,s=1-a,l=["x","y"],u=r.mapDimension(l[a]),c=r.mapDimensionsAll(l[s]);if(null==u||c.length<5)return;for(var h=0;h<r.count();h++){var d=r.get(u,h),p=_(d,c[2],h),f=_(d,c[0],h),g=_(d,c[1],h),m=_(d,c[3],h),v=_(d,c[4],h),y=[];x(y,g,!1),x(y,m,!0),y.push(f,g,v,m),b(y,f),b(y,v),b(y,p),r.setItemLayout(h,{initBaseline:p[s],ends:y})}function _(t,n,o){var l,u=r.get(n,o),c=[];return c[a]=t,c[s]=u,isNaN(t)||isNaN(u)?l=[NaN,NaN]:(l=i.dataToPoint(c))[a]+=e,l}function x(t,e,n){var i=e.slice(),r=e.slice();i[a]+=o,r[a]-=o,n?t.push(i,r):t.push(r,i)}function b(t,e){var n=e.slice(),i=e.slice();n[a]-=o,i[a]+=o,t.push(n,i)}}(e,t.boxOffsetList[n],t.boxWidthList[n])})))}))}var GR={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==tf){Ma("")}var n=function(t,e){for(var n=[],i=[],r=(e=e||{}).boundIQR,o="none"===r||0===r,a=0;a<t.length;a++){var s=sa(t[a].slice()),l=_a(s,.25),u=_a(s,.5),c=_a(s,.75),h=s[0],d=s[s.length-1],p=(null==r?1.5:r)*(c-l),f=o?h:Math.max(h,l-p),g=o?d:Math.min(d,c+p),m=e.itemNameFormatter,v=de(m)?m({value:a}):pe(m)?m.replace("{value}",a+""):a+"";n.push([v,f,l,u,c,g]);for(var y=0;y<s.length;y++){var _=s[y];if(_<f||_>g){var x=[v,_];i.push(x)}}}return{boxData:n,outliers:i}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};var UR=["color","borderColor"],HR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){ud(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&YR(s,a))return;var l=jR(a,n,!0);Ph(l,{shape:{points:a.ends}},t,n),ZR(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(e.hasValue(a)){var c=e.getItemLayout(a);o&&YR(s,c)?i.remove(u):(u?(Lh(u,{shape:{points:c.ends}},t,a),Bh(u)):u=jR(c),ZR(u,e,a,r),i.add(u),e.setItemGraphicEl(a,u))}else i.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),KR(t,this.group);var e=t.get("clip",!0)?XA(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox");null!=(n=t.next());){var o=jR(i.getItemLayout(n));ZR(o,i,n,r),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},e.prototype._incrementalRenderLarge=function(t,e){KR(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(Um),WR=function(){},XR=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return Tt(e,t),e.prototype.getDefaultShape=function(){return new WR},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(Ol);function jR(t,e,n){var i=t.ends;return new XR({shape:{points:n?QR(i,t):i},z2:100})}function YR(t,e){for(var n=!0,i=0;i<e.ends.length;i++)if(t.contain(e.ends[i][0],e.ends[i][1])){n=!1;break}return n}function ZR(t,e,n,i){var r=e.getItemModel(n);t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.__simpleBox=i,sc(t,r)}function QR(t,e){return oe(t,(function(t){return(t=t.slice())[1]=e.initBaseline,t}))}var qR=function(){},JR=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeCandlestickBox",n}return Tt(e,t),e.prototype.getDefaultShape=function(){return new qR},e.prototype.buildPath=function(t,e){for(var n=e.points,i=0;i<n.length;)if(this.__sign===n[i++]){var r=n[i++];t.moveTo(r,n[i++]),t.lineTo(r,n[i++])}else i+=3},e}(Ol);function KR(t,e,n,i){var r=t.getData().getLayout("largePoints"),o=new JR({shape:{points:r},__sign:1,ignoreCoarsePointer:!0});e.add(o);var a=new JR({shape:{points:r},__sign:-1,ignoreCoarsePointer:!0});e.add(a);var s=new JR({shape:{points:r},__sign:0,ignoreCoarsePointer:!0});e.add(s),$R(1,o,t),$R(-1,a,t),$R(0,s,t),i&&(o.incremental=!0,a.incremental=!0),n&&n.push(o,a)}function $R(t,e,n,i){var r=n.get(["itemStyle",t>0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]);0===t&&(r=n.get(["itemStyle","borderColorDoji"]));var o=n.getModel("itemStyle").getItemStyle(UR);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var tN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return Tt(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(Em);function eN(t){t&&he(t.series)&&re(t.series,(function(t){me(t)&&"k"===t.type&&(t.type="candlestick")}))}ne(tN,LR,!0);var nN=["itemStyle","borderColor"],iN=["itemStyle","borderColor0"],rN=["itemStyle","borderColorDoji"],oN=["itemStyle","color"],aN=["itemStyle","color0"],sN={seriesType:"candlestick",plan:Fm(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?oN:aN)}function i(t,e){return e.get(0===t?rN:t>0?nN:iN)}if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var r;null!=(r=t.next());){var o=e.getItemModel(r),a=e.getItemLayout(r).sign,s=o.getItemStyle();s.fill=n(a,o),s.stroke=i(a,o)||s.fill,Kt(e.ensureUniqueItemVisual(r,"style"),s)}}}}},lN={seriesType:"candlestick",plan:Fm(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=function(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=oa(Se(t.get("barMaxWidth"),r),r),a=oa(Se(t.get("barMinWidth"),1),r),s=t.get("barWidth");return null!=s?oa(s,r):Math.max(Math.min(r/2,o),a)}(t,n),r=["x","y"],o=n.getDimensionIndex(n.mapDimension(r[0])),a=oe(n.mapDimensionsAll(r[1]),n.getDimensionIndex,n),s=a[0],l=a[1],u=a[2],c=a[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(o<0||a.length<4))return{progress:t.pipelineContext.large?function(n,i){var r,a,h=qx(4*n.count),d=0,p=[],f=[],g=i.getStore(),m=!!t.get(["itemStyle","borderColorDoji"]);for(;null!=(a=n.next());){var v=g.get(o,a),y=g.get(s,a),_=g.get(l,a),x=g.get(u,a),b=g.get(c,a);isNaN(v)||isNaN(x)||isNaN(b)?(h[d++]=NaN,d+=3):(h[d++]=uN(g,a,y,_,l,m),p[0]=v,p[1]=x,r=e.dataToPoint(p,null,f),h[d++]=r?r[0]:NaN,h[d++]=r?r[1]:NaN,p[1]=b,r=e.dataToPoint(p,null,f),h[d++]=r?r[1]:NaN)}i.setLayout("largePoints",h)}:function(t,n){var r,a=n.getStore();for(;null!=(r=t.next());){var h=a.get(o,r),d=a.get(s,r),p=a.get(l,r),f=a.get(u,r),g=a.get(c,r),m=Math.min(d,p),v=Math.max(d,p),y=A(m,h),_=A(v,h),x=A(f,h),b=A(g,h),w=[];T(w,_,0),T(w,y,1),w.push(I(b),I(_),I(x),I(y));var S=!!n.getItemModel(r).get(["itemStyle","borderColorDoji"]);n.setItemLayout(r,{sign:uN(a,r,d,p,l,S),initBaseline:d>p?_[1]:y[1],ends:w,brushRect:M(f,g,h)})}function A(t,n){var i=[];return i[0]=n,i[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function T(t,e,n){var r=e.slice(),o=e.slice();r[0]=qh(r[0]+i/2,1,!1),o[0]=qh(o[0]-i/2,1,!0),n?t.push(r,o):t.push(o,r)}function M(t,e,n){var r=A(t,n),o=A(e,n);return r[0]-=i/2,o[0]-=i/2,{x:r[0],y:r[1],width:i,height:o[1]-r[1]}}function I(t){return t[0]=qh(t[0],1),t}}}}};function uN(t,e,n,i,r,o){return n>i?-1:n<i?1:o?0:e>0?t.get(r,e-1)<=i?1:-1:1}function cN(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var hN=function(t){function e(e,n){var i=t.call(this)||this,r=new IA(e,n),o=new qo;return i.add(r),i.add(o),i.updateData(e,n),i}return Tt(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o<i;o++){var a=ty(e,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-o/i*t.period+t.effectOffset;a.animate("",!0).when(t.period,{scaleX:t.rippleScale/2,scaleY:t.rippleScale/2}).delay(s).start(),a.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),r.add(a)}cN(r,t)},e.prototype.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale","rippleNumber"],r=0;r<i.length;r++){var o=i[r];if(e[o]!==t[o])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}cN(n,t)},e.prototype.highlight=function(){Hu(this)},e.prototype.downplay=function(){Wu(this)},e.prototype.getSymbolType=function(){var t=this.childAt(0);return t&&t.getSymbolType()},e.prototype.updateData=function(t,e){var n=this,i=t.hostModel;this.childAt(0).updateData(t,e);var r=this.childAt(1),o=t.getItemModel(e),a=t.getItemVisual(e,"symbol"),s=ey(t.getItemVisual(e,"symbolSize")),l=t.getItemVisual(e,"style"),u=l&&l.fill,c=o.getModel("emphasis");r.setScale(s),r.traverse((function(t){t.setStyle("fill",u)}));var h=ny(t.getItemVisual(e,"symbolOffset"),s);h&&(r.x=h[0],r.y=h[1]);var d=t.getItemVisual(e,"symbolRotate");r.rotation=(d||0)*Math.PI/180||0;var p={};p.showEffectOn=i.get("showEffectOn"),p.rippleScale=o.get(["rippleEffect","scale"]),p.brushType=o.get(["rippleEffect","brushType"]),p.period=1e3*o.get(["rippleEffect","period"]),p.effectOffset=e/t.count(),p.z=i.getShallow("z")||0,p.zlevel=i.getShallow("zlevel")||0,p.symbolType=a,p.color=u,p.rippleEffectColor=o.get(["rippleEffect","color"]),p.rippleNumber=o.get(["rippleEffect","number"]),"render"===p.showEffectOn?(this._effectCfg?this.updateEffectAnimation(p):this.startEffectAnimation(p),this._effectCfg=p):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(t){"emphasis"===t?"render"!==p.showEffectOn&&n.startEffectAnimation(p):"normal"===t&&"render"!==p.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=p,ic(this,c.get("focus"),c.get("blurScope"),c.get("disabled"))},e.prototype.fadeOut=function(t){t&&t()},e}(qo),dN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.init=function(){this._symbolDraw=new PA(hN)},e.prototype.render=function(t,e,n){var i=t.getData(),r=this._symbolDraw;r.updateData(i,{clipShape:this._getClipShape(t)}),this.group.add(r.group)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype.updateTransform=function(t,e,n){var i=t.getData();this.group.dirty();var r=rT("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout()},e.prototype._updateGroupTransform=function(t){var e,n,i=t.coordinateSystem;i&&i.getRoamTransform&&(this.group.transform=(e=i.getRoamTransform(),Rn(n=[1,0,0,1,0,0],e),n),this.group.decomposeTransform())},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0)},e.type="effectScatter",e}(Um),pN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return Tt(e,t),e.prototype.getInitialData=function(t,e){return Px(null,this,{useEncodeDefaulter:!0})},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.type="series.effectScatter",e.dependencies=["grid","polar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},e}(Em);var fN=function(t){function e(e,n,i){var r=t.call(this)||this;return r.add(r.createLine(e,n,i)),r._updateEffectSymbol(e,n),r}return Tt(e,t),e.prototype.createLine=function(t,e,n){return new oL(t,e,n)},e.prototype._updateEffectSymbol=function(t,e){var n=t.getItemModel(e).getModel("effect"),i=n.get("symbolSize"),r=n.get("symbol");he(i)||(i=[i,i]);var o=t.getItemVisual(e,"style"),a=n.get("color")||o&&o.stroke,s=this.childAt(1);this._symbolType!==r&&(this.remove(s),(s=ty(r,-.5,-.5,1,1,a)).z2=100,s.culling=!0,this.add(s)),s&&(s.setStyle("shadowColor",a),s.setStyle(n.getItemStyle(["color"])),s.scaleX=i[0],s.scaleY=i[1],s.setColor(a),this._symbolType=r,this._symbolScale=i,this._updateEffectAnimation(t,n,e))},e.prototype._updateEffectAnimation=function(t,e,n){var i=this.childAt(1);if(i){var r=t.getItemLayout(n),o=1e3*e.get("period"),a=e.get("loop"),s=e.get("roundTrip"),l=e.get("constantSpeed"),u=we(e.get("delay"),(function(e){return e/t.count()*o/3}));if(i.ignore=!0,this._updateAnimationPoints(i,r),l>0&&(o=this._getLineLength(i)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){i.stopAnimation();var c=void 0;c=de(u)?u(n):u,i.__t>0&&(c=-o*i.__t),this._animateSymbol(i,o,c,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},e.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var o=this,a=t.animate("",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during((function(){o._updateSymbolPosition(t)}));i||a.done((function(){o.remove(t)})),a.start()}},e.prototype._getLineLength=function(t){return $e(t.__p1,t.__cp1)+$e(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=Fi,l=Vi;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var u=t.__t<1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),c=t.__t<1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(c,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT<t.__t?(t.scaleY=1.05*$e(a,o),1===r&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)):1===t.__lastT?t.scaleY=2*$e(e,o):t.scaleY=this._symbolScale[1]),t.__lastT=t.__t,t.ignore=!1,t.x=o[0],t.y=o[1]},e.prototype.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},e}(qo),gN=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createPolyline(e,n,i),r}return Tt(e,t),e.prototype._createPolyline=function(t,e,n){var i=t.getItemLayout(e),r=new ih({shape:{points:i}});this.add(r),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel;Lh(this.childAt(0),{shape:{points:t.getItemLayout(e)}},i,e),this._updateCommonStl(t,e,n)},e.prototype._updateCommonStl=function(t,e,n){var i=this.childAt(0),r=t.getItemModel(e),o=n&&n.emphasisLineStyle,a=n&&n.focus,s=n&&n.blurScope,l=n&&n.emphasisDisabled;if(!n||t.hasItemOption){var u=r.getModel("emphasis");o=u.getModel("lineStyle").getLineStyle(),l=u.get("disabled"),a=u.get("focus"),s=u.get("blurScope")}i.useStyle(t.getItemVisual(e,"style")),i.style.fill=null,i.style.strokeNoScale=!0,i.ensureState("emphasis").style=o,ic(this,a,s,l)},e.prototype.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},e}(qo),mN=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return Tt(e,t),e.prototype.createLine=function(t,e,n){return new gN(t,e,n)},e.prototype._updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],i=0,r=1;r<e.length;r++){var o=e[r-1],a=e[r];i+=$e(o,a),n.push(i)}if(0!==i){for(r=0;r<n.length;r++)n[r]/=i;this._offsets=n,this._length=i}else this._length=0},e.prototype._getLineLength=function(){return this._length},e.prototype._updateSymbolPosition=function(t){var e=t.__t<1?t.__t:2-t.__t,n=this._points,i=this._offsets,r=n.length;if(i){var o,a=this._lastFrame;if(e<this._lastFramePercent){for(o=Math.min(a+1,r-1);o>=0&&!(i[o]<=e);o--);o=Math.min(o,r-2)}else{for(o=a;o<r&&!(i[o]>e);o++);o=Math.min(o-1,r-2)}var s=(e-i[o])/(i[o+1]-i[o]),l=n[o],u=n[o+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1];var c=t.__t<1?u[0]-l[0]:l[0]-u[0],h=t.__t<1?u[1]-l[1]:l[1]-u[1];t.rotation=-Math.atan2(h,c)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(fN),vN=function(){this.polyline=!1,this.curveness=0,this.segs=[]},yN=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return Tt(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new vN},e.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n<i.length;){var o=i[n++];if(o>0){t.moveTo(i[n++],i[n++]);for(var a=1;a<o;a++)t.lineTo(i[n++],i[n++])}}else for(n=this._off;n<i.length;){var s=i[n++],l=i[n++],u=i[n++],c=i[n++];if(t.moveTo(s,l),r>0){var h=(s+u)/2-(l-c)*r,d=(l+c)/2-(u-s)*r;t.quadraticCurveTo(h,d,u,c)}else t.lineTo(u,c)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s<i.length;){var l=i[s++];if(l>0)for(var u=i[s++],c=i[s++],h=1;h<l;h++){if(ml(u,c,d=i[s++],p=i[s++],o,t,e))return a}a++}else for(a=0,s=0;s<i.length;){u=i[s++],c=i[s++];var d=i[s++],p=i[s++];if(r>0){if(yl(u,c,(u+d)/2-(c-p)*r,(c+p)/2-(d-u)*r,d,p,o,t,e))return a}else if(ml(u,c,d,p,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a<e.length;){var s=e[a++],l=e[a++];n=Math.min(s,n),r=Math.max(s,r),i=Math.min(l,i),o=Math.max(l,o)}t=this._rect=new Zn(n,i,r,o)}return t},e}(Ol),_N=function(){function t(){this.group=new qo}return t.prototype.updateData=function(t){this._clear();var e=this._create();e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t)},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clear()},t.prototype.incrementalUpdate=function(t,e){var n=this._newAdded[0],i=e.getLayout("linesPoints"),r=n&&n.shape.segs;if(r&&r.length<2e4){var o=r.length,a=new Float32Array(o+i.length);a.set(r),a.set(i,o),n.setShape({segs:a})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:i}),this._setCommon(s,e),s.__startIndex=t.start}},t.prototype.remove=function(){this._clear()},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new yN({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(t),this.group.add(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get(["lineStyle","curveness"])}),t.useStyle(i.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var r=e.getVisual("style");r&&r.stroke&&t.setStyle("stroke",r.stroke),t.setStyle("fill",null);var o=cu(t);o.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){o.dataIndex=null;var n=t.hoverDataIdx;n>0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),xN={seriesType:"lines",plan:Fm(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,c=r.start;c<r.end;c++)u+=t.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var h=0,d=[];for(c=r.start;c<r.end;c++){var p=t.getLineCoords(c,a);n&&(s[h++]=p);for(var f=0;f<p;f++)d=e.dataToPoint(a[f],!1,d),s[h++]=d[0],s[h++]=d[1]}o.setLayout("linesPoints",s)}else for(c=r.start;c<r.end;c++){var g=o.getItemModel(c),m=(p=t.getLineCoords(c,a),[]);if(n)for(var v=0;v<p;v++)m.push(e.dataToPoint(a[v]));else{m[0]=e.dataToPoint(a[0]),m[1]=e.dataToPoint(a[1]);var y=g.get(["lineStyle","curveness"]);+y&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*y,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*y])}o.setItemLayout(c,m)}}}}}},bN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t),o=t.get("zlevel"),a=t.get(["effect","trailLength"]),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&a>0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&XA(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=xN.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new _N:new aL(r?i?mN:gN:i?fN:oL),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(Um),wN="undefined"==typeof Uint32Array?Array:Uint32Array,SN="undefined"==typeof Float64Array?Array:Float64Array;function AN(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=oe(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),Jt([e,t[0],t[1]])})))}var TN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return Tt(e,t),e.prototype.init=function(e){e.data=e.data||[],AN(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(AN(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=Oe(this._flatCoords,e.flatCoords),this._flatCoordsOffset=Oe(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r<i;r++)e[r]=e[r]||[],e[r][0]=this._flatCoords[n+2*r],e[r][1]=this._flatCoords[n+2*r+1];return i}var o=this._getCoordsFromItemModel(t);for(r=0;r<o.length;r++)e[r]=e[r]||[],e[r][0]=o[r][0],e[r][1]=o[r][1];return o.length},e.prototype._processFlatCoordsArray=function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),ge(t[0])){for(var n=t.length,i=new wN(n),r=new SN(n),o=0,a=0,s=0,l=0;l<n;){s++;var u=t[l++];i[a++]=o+e,i[a++]=u;for(var c=0;c<u;c++){var h=t[l++],d=t[l++];r[o++]=h,r[o++]=d}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,a),flatCoords:r,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,e){var n=new bx(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],(function(t,e,i,r){if(t instanceof Array)return NaN;n.hasItemOption=!0;var o=t.value;return null!=o?o instanceof Array?o[r]:o:void 0})),n},e.prototype.formatTooltip=function(t,e,n){var i=this.getData().getItemModel(t),r=i.get("name");if(r)return r;var o=i.get("fromName"),a=i.get("toName"),s=[];return null!=o&&s.push(o),null!=a&&s.push(a),fm("nameValue",{name:s.join(" > ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(Em);function MN(t){return t instanceof Array||(t=[t,t]),t}var IN={seriesType:"lines",reset:function(t){var e=MN(t.get("symbol")),n=MN(t.get("symbolSize")),i=t.getData();return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?function(t,e){var n=t.getItemModel(e),i=MN(n.getShallow("symbol",!0)),r=MN(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}};var CN=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=Nt.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,h=c.getContext("2d"),d=t.length;c.width=e,c.height=n;for(var p=0;p<d;++p){var f=t[p],g=f[0],m=f[1],v=i(f[2]);h.globalAlpha=v,h.drawImage(a,g-u,m-u)}if(!c.width||!c.height)return c;for(var y=h.getImageData(0,0,c.width,c.height),_=y.data,x=0,b=_.length,w=this.minOpacity,S=this.maxOpacity-w;x<b;){v=_[x+3]/256;var A=4*Math.floor(255*v);if(v>0){var T=o(v)?s:l;v>0&&(v=v*S+w),_[x++]=T[A],_[x++]=T[A+1],_[x++]=T[A+2],_[x++]=T[A+3]*v*256}else x+=4}return h.putImageData(y,0,0),c},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=Nt.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}();function DN(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var EN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):DN(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(DN(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){ud(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var o,a,s,l,u=t.coordinateSystem,c=jA(u,"cartesian2d");if(c){var h=u.getAxis("x"),d=u.getAxis("y");o=h.getBandWidth()+.5,a=d.getBandWidth()+.5,s=h.scale.getExtent(),l=d.scale.getExtent()}for(var p=this.group,f=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),m=t.getModel(["blur","itemStyle"]).getItemStyle(),v=t.getModel(["select","itemStyle"]).getItemStyle(),y=t.get(["itemStyle","borderRadius"]),_=gd(t),x=t.getModel("emphasis"),b=x.get("focus"),w=x.get("blurScope"),S=x.get("disabled"),A=c?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],T=n;T<i;T++){var M=void 0,I=f.getItemVisual(T,"style");if(c){var C=f.get(A[0],T),D=f.get(A[1],T);if(isNaN(f.get(A[2],T))||isNaN(C)||isNaN(D)||C<s[0]||C>s[1]||D<l[0]||D>l[1])continue;var E=u.dataToPoint([C,D]);M=new Zl({shape:{x:E[0]-o/2,y:E[1]-a/2,width:o,height:a},style:I})}else{if(isNaN(f.get(A[1],T)))continue;M=new Zl({z2:1,shape:u.dataToRect([f.get(A[0],T)]).contentShape,style:I})}if(f.hasItemOption){var L=f.getItemModel(T),P=L.getModel("emphasis");g=P.getModel("itemStyle").getItemStyle(),m=L.getModel(["blur","itemStyle"]).getItemStyle(),v=L.getModel(["select","itemStyle"]).getItemStyle(),y=L.get(["itemStyle","borderRadius"]),b=P.get("focus"),w=P.get("blurScope"),S=P.get("disabled"),_=gd(L)}M.shape.r=y;var R=t.getRawValue(T),N="-";R&&null!=R[2]&&(N=R[2]+""),fd(M,_,{labelFetcher:t,labelDataIndex:T,defaultOpacity:I.opacity,defaultText:N}),M.ensureState("emphasis").style=g,M.ensureState("blur").style=m,M.ensureState("select").style=v,ic(M,b,w,S),M.incremental=r,r&&(M.states.emphasis.hoverLayer=!0),p.add(M),f.setItemGraphicEl(T,M),this._progressiveEls&&this._progressiveEls.push(M)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new CN;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var c=Math.max(l.x,0),h=Math.max(l.y,0),d=Math.min(l.width+l.x,i.getWidth()),p=Math.min(l.height+l.y,i.getHeight()),f=d-c,g=p-h,m=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(m,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=c,r[1]-=h,r.push(i),r})),y=n.getExtent(),_="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(y,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=oe(e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}))).length,o=0;return function(t){var i;for(i=o;i<r;i++)if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}if(i===r)for(i=o-1;i>=0;i--){var a;if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i<r&&n[i]}}(y,n.getPieceList(),n.option.selected);s.update(v,f,g,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:o.color.getColorMapper()},_);var x=new Gl({style:{width:f,height:g,x:c,y:h,image:s.canvas},silent:!0});this.group.add(x)},e.type="heatmap",e}(Um),LN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.getInitialData=function(t,e){return Px(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=Pf.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(Em);var PN=["itemStyle","borderWidth"],RN=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],NN=new Rc,kN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.render=function(t,e,n){var i=this.group,r=t.getData(),o=this._data,a=t.coordinateSystem,s=a.getBaseAxis().isHorizontal(),l=a.master.getRect(),u={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:a,coordSysExtent:[[l.x,l.x+l.width],[l.y,l.y+l.height]],isHorizontal:s,valueDim:RN[+s],categoryDim:RN[1-+s]};r.diff(o).add((function(t){if(r.hasValue(t)){var e=HN(r,t),n=ON(r,t,e,u),o=jN(r,u,n);r.setItemGraphicEl(t,o),i.add(o),JN(o,u,n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(r.hasValue(t)){var a=HN(r,t),s=ON(r,t,a,u),l=ZN(r,s);n&&l!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(t,null),n=null),n?function(t,e,n){var i=n.animationModel,r=n.dataIndex,o=t.__pictorialBundle;Lh(o,{x:n.bundlePosition[0],y:n.bundlePosition[1]},i,r),n.symbolRepeat?FN(t,e,n,!0):VN(t,e,n,!0);GN(t,n,!0),UN(t,e,n,!0)}(n,u,s):n=jN(r,u,s,!0),r.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,i.add(n),JN(n,u,s)}else i.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&YN(o,t,e.__pictorialSymbolMeta.animationModel,e)})).execute();var c=t.get("clip",!0)?XA(t.coordinateSystem,!1,t):null;return c?i.setClipPath(c):i.removeClipPath(),this._data=r,this.group},e.prototype.remove=function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl((function(e){YN(i,cu(e).dataIndex,t,e)})):n.removeAll()},e.type="pictorialBar",e}(Um);function ON(t,e,n,i){var r=t.getItemLayout(e),o=n.get("symbolRepeat"),a=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=(n.get("symbolRotate")||0)*Math.PI/180||0,u=n.get("symbolPatternSize")||2,c=n.isAnimationEnabled(),h={dataIndex:e,layout:r,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:u,rotation:l,animationModel:c?n:null,hoverScale:c&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};!function(t,e,n,i,r){var o,a=i.valueDim,s=t.get("symbolBoundingData"),l=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),u=l.toGlobalCoord(l.dataToCoord(0)),c=1-+(n[a.wh]<=0);if(he(s)){var h=[BN(l,s[0])-u,BN(l,s[1])-u];h[1]<h[0]&&h.reverse(),o=h[c]}else o=null!=s?BN(l,s)-u:e?i.coordSysExtent[a.index][c]-u:n[a.wh];r.boundingLength=o,e&&(r.repeatCutLength=n[a.wh]);r.pxSign=o>0?1:-1}(n,o,r,i,h),function(t,e,n,i,r,o,a,s,l,u){var c,h=l.valueDim,d=l.categoryDim,p=Math.abs(n[d.wh]),f=t.getItemVisual(e,"symbolSize");c=he(f)?f.slice():null==f?["100%","100%"]:[f,f];c[d.index]=oa(c[d.index],p),c[h.index]=oa(c[h.index],i?p:Math.abs(o)),u.symbolSize=c;var g=u.symbolScale=[c[0]/s,c[1]/s];g[h.index]*=(l.isHorizontal?-1:1)*a}(t,e,r,o,0,h.boundingLength,h.pxSign,u,i,h),function(t,e,n,i,r){var o=t.get(PN)||0;o&&(NN.attr({scaleX:e[0],scaleY:e[1],rotation:n}),NN.updateTransform(),o/=NN.getLineScale(),o*=e[i.valueDim.index]);r.valueLineWidth=o||0}(n,h.symbolScale,l,i,h);var d=h.symbolSize,p=ny(n.get("symbolOffset"),d);return function(t,e,n,i,r,o,a,s,l,u,c,h){var d=c.categoryDim,p=c.valueDim,f=h.pxSign,g=Math.max(e[p.index]+s,0),m=g;if(i){var v=Math.abs(l),y=we(t.get("symbolMargin"),"15%")+"",_=!1;y.lastIndexOf("!")===y.length-1&&(_=!0,y=y.slice(0,y.length-1));var x=oa(y,e[p.index]),b=Math.max(g+2*x,0),w=_?0:2*x,S=wa(i),A=S?i:KN((v+w)/b);b=g+2*(x=(v-A*g)/2/(_?A:Math.max(A-1,1))),w=_?0:2*x,S||"fixed"===i||(A=u?KN((Math.abs(u)+w)/b):0),m=A*b-w,h.repeatTimes=A,h.symbolMargin=x}var T=f*(m/2),M=h.pathPosition=[];M[d.index]=n[d.wh]/2,M[p.index]="start"===a?T:"end"===a?l-T:l/2,o&&(M[0]+=o[0],M[1]+=o[1]);var I=h.bundlePosition=[];I[d.index]=n[d.xy],I[p.index]=n[p.xy];var C=h.barRectShape=Kt({},n);C[p.wh]=f*Math.max(Math.abs(n[p.wh]),Math.abs(M[p.index]+T)),C[d.wh]=n[d.wh];var D=h.clipShape={};D[d.xy]=-n[d.xy],D[d.wh]=c.ecSize[d.wh],D[p.xy]=0,D[p.wh]=n[p.wh]}(n,d,r,o,0,p,s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,i,h),h}function BN(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function zN(t){var e=t.symbolPatternSize,n=ty(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function FN(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,c=0,h=o[e.valueDim.index]+a+2*n.symbolMargin;for(QN(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c<u?qN(t,null,f(c),n,i):qN(t,null,{scaleX:0,scaleY:0},n,i,(function(){r.remove(t)})),c++}));c<u;c++){var d=zN(n);d.__pictorialAnimationIndex=c,d.__pictorialRepeatTimes=u,r.add(d);var p=f(c);qN(d,{x:p.x,y:p.y,scaleX:0,scaleY:0},{scaleX:p.scaleX,scaleY:p.scaleY,rotation:p.rotation},n,i)}function f(t){var e=s.slice(),i=n.pxSign,r=t;return("start"===n.symbolRepeatDirection?i>0:i<0)&&(r=u-1-t),e[l.index]=h*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function VN(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?qN(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=zN(n),r.add(o),qN(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function GN(t,e,n){var i=Kt({},e.barRectShape),r=t.__pictorialBarRect;r?qN(r,null,{shape:i},e,n):((r=t.__pictorialBarRect=new Zl({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function UN(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,o=Kt({},n.clipShape),a=e.valueDim,s=n.animationModel,l=n.dataIndex;if(r)Lh(r,{shape:o},s,l);else{o[a.wh]=0,r=new Zl({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var u={};u[a.wh]=n.clipShape[a.wh],cd[i?"updateProps":"initProps"](r,{shape:u},s,l)}}}function HN(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=WN,n.isAnimationEnabled=XN,n}function WN(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function XN(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function jN(t,e,n,i){var r=new qo,o=new qo;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?FN(r,e,n):VN(r,0,n),GN(r,n,i),UN(r,e,n,i),r.__pictorialShapeStr=ZN(t,n),r.__pictorialSymbolMeta=n,r}function YN(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];QN(i,(function(t){o.push(t)})),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),re(o,(function(t){Nh(t,{scaleX:0,scaleY:0},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function ZN(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function QN(t,e,n){re(t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function qN(t,e,n,i,r,o){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&cd[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function JN(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),c=o.get("focus"),h=o.get("blurScope"),d=o.get("scale");QN(t,(function(t){if(t instanceof Gl){var e=t.style;t.useStyle(Kt({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=a,d&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2}));var p=e.valueDim.posDesc[+(n.boundingLength>0)],f=t.__pictorialBarRect;f.ignoreClip=!0,fd(f,gd(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:TA(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:p}),ic(t,c,h,o.get("disabled"))}function KN(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var $N=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return Tt(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=Gd(lT.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(lT);var tk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return Tt(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function c(t){return t.name}o.x=0,o.y=l.y+u[0];var h=new J_(this._layersSeries||[],a,c,c),d=[];function p(e,n,s){var l=r._layers;if("remove"!==e){for(var u,c,h=[],p=[],f=a[n].indices,g=0;g<f.length;g++){var m=i.getItemLayout(f[g]),v=m.x,y=m.y0,_=m.y;h.push(v,y),p.push(v,y+_),u=i.getItemVisual(f[g],"style")}var x=i.getItemLayout(f[0]),b=t.getModel("label").get("margin"),w=t.getModel("emphasis");if("add"===e){var S=d[n]=new qo;c=new UA({shape:{points:h,stackedOnPoints:p,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),S.add(c),o.add(S),t.isAnimationEnabled()&&c.setClipPath(function(t,e,n){var i=new Zl({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Ph(i,{shape:{x:t.x-50,width:t.width+100,height:t.height+20}},e,n),i}(c.getBoundingRect(),t,(function(){c.removeClipPath()})))}else{S=l[s];c=S.childAt(0),o.add(S),d[n]=S,Lh(c,{shape:{points:h,stackedOnPoints:p}},t),Bh(c)}fd(c,gd(t),{labelDataIndex:f[g-1],defaultText:i.getName(f[g-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),c.setTextConfig({position:null,local:!0});var A=c.getTextContent();A&&(A.x=x.x-b,A.y=x.y0+x.y/2),c.useStyle(u),i.setItemGraphicEl(n,c),sc(c,t),ic(c,w.get("focus"),w.get("blurScope"),w.get("disabled"))}else o.remove(l[n])}h.add(ue(p,this,"add")).update(ue(p,this,"update")).remove(ue(p,this,"remove")).execute(),this._layersSeries=a,this._layers=d},e.type="themeRiver",e}(Um);var ek=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new ZT(ue(this.getData,this),ue(this.getRawData,this))},e.prototype.fixData=function(t){var e=t.length,n={},i=qa(t,(function(t){return n.hasOwnProperty(t[0]+"")||(n[t[0]+""]=-1),t[2]})),r=[];i.buckets.each((function(t,e){r.push({name:e,dataList:t})}));for(var o=r.length,a=0;a<o;++a){for(var s=r[a].name,l=0;l<r[a].dataList.length;++l){var u=r[a].dataList[l][0]+"";n[u]=a}for(var u in n)n.hasOwnProperty(u)&&n[u]!==a&&(n[u]=a,t[e]=[u,0,s],e++)}return t},e.prototype.getInitialData=function(t,e){for(var n=this.getReferringComponents("singleAxis",ja).models[0].get("type"),i=se(t.data,(function(t){return void 0!==t[2]})),r=this.fixData(i||[]),o=[],a=this.nameMap=ke(),s=0,l=0;l<r.length;++l)o.push(r[l][2]),a.get(r[l][2])||(a.set(r[l][2],s),s++);var u=Ax(r,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:tx(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,c=new bx(u,this);return c.initData(r),c},e.prototype.getLayerSeries=function(){for(var t=this.getData(),e=t.count(),n=[],i=0;i<e;++i)n[i]=i;var r=t.mapDimension("single"),o=qa(n,(function(e){return t.get("name",e)})),a=[];return o.buckets.each((function(e,n){e.sort((function(e,n){return t.get(r,e)-t.get(r,n)})),a.push({name:n,indices:e})})),a},e.prototype.getAxisTooltipData=function(t,e,n){he(t)||(t=t?[t]:[]);for(var i,r=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,l=0;l<s;++l){for(var u=Number.MAX_VALUE,c=-1,h=o[l].indices.length,d=0;d<h;++d){var p=r.get(t[0],o[l].indices[d]),f=Math.abs(p-e);f<=u&&(i=p,u=f,c=o[l].indices[d])}a.push(c)}return{dataIndices:a,nestestValue:i}},e.prototype.formatTooltip=function(t,e,n){var i=this.getData();return fm("nameValue",{name:i.getName(t),value:i.get(i.mapDimension("value"),t)})},e.type="series.themeRiver",e.dependencies=["singleAxis"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},e}(Em);function nk(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),n=t.coordinateSystem,i={},r=n.getRect();i.rect=r;var o=t.get("boundaryGap"),a=n.getAxis();(i.boundaryGap=o,"horizontal"===a.orient)?(o[0]=oa(o[0],r.height),o[1]=oa(o[1],r.height),ik(e,t,r.height-o[0]-o[1])):(o[0]=oa(o[0],r.width),o[1]=oa(o[1],r.width),ik(e,t,r.width-o[0]-o[1]));e.setLayout("layoutInfo",i)}))}function ik(t,e,n){if(t.count())for(var i,r=e.coordinateSystem,o=e.getLayerSeries(),a=t.mapDimension("single"),s=t.mapDimension("value"),l=oe(o,(function(e){return oe(e.indices,(function(e){var n=r.dataToPoint(t.get(a,e));return n[1]=t.get(s,e),n}))})),u=function(t){for(var e=t.length,n=t[0].length,i=[],r=[],o=0,a=0;a<n;++a){for(var s=0,l=0;l<e;++l)s+=t[l][a][1];s>o&&(o=s),i.push(s)}for(var u=0;u<n;++u)r[u]=(o-i[u])/2;o=0;for(var c=0;c<n;++c){var h=i[c]+r[c];h>o&&(o=h)}return{y0:r,max:o}}(l),c=u.y0,h=n/u.max,d=o.length,p=o[0].indices.length,f=0;f<p;++f){i=c[f]*h,t.setItemLayout(o[0].indices[f],{layerIndex:0,x:l[0][f][0],y0:i,y:l[0][f][1]*h});for(var g=1;g<d;++g)i+=l[g-1][f][1]*h,t.setItemLayout(o[g].indices[f],{layerIndex:g,x:l[g][f][0],y0:i,y:l[g][f][1]*h})}}var rk=function(t){function e(e,n,i,r){var o=t.call(this)||this;o.z2=2,o.textConfig={inside:!0},cu(o).seriesIndex=n.seriesIndex;var a=new Jl({z2:4,silent:e.getModel().get(["label","silent"])});return o.setTextContent(a),o.updateData(!0,e,n,i,r),o}return Tt(e,t),e.prototype.updateData=function(t,e,n,i,r){this.node=e,e.piece=this,n=n||this._seriesModel,i=i||this._ecModel;var o=this;cu(o).dataIndex=e.dataIndex;var a=e.getModel(),s=a.getModel("emphasis"),l=e.getLayout(),u=Kt({},l);u.label=null;var c=e.getVisual("style");c.lineJoin="bevel";var h=e.getVisual("decal");h&&(c.decal=Ly(h,r));var d=fT(a.getModel("itemStyle"),u,!0);Kt(u,d),re(_u,(function(t){var e=o.ensureState(t),n=a.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var i=fT(n,u);i&&(e.shape=i)})),t?(o.setShape(u),o.shape.r=l.r0,Ph(o,{shape:{r:l.r}},n,e.dataIndex)):(Lh(o,{shape:u},n),Bh(o)),o.useStyle(c),this._updateLabel(n);var p=a.getShallow("cursor");p&&o.attr("cursor",p),this._seriesModel=n||this._seriesModel,this._ecModel=i||this._ecModel;var f=s.get("focus");ic(this,"ancestor"===f?e.getAncestorsIndices():"descendant"===f?e.getDescendantIndices():f,s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t){var e=this,n=this.node.getModel(),i=n.getModel("label"),r=this.node.getLayout(),o=r.endAngle-r.startAngle,a=(r.startAngle+r.endAngle)/2,s=Math.cos(a),l=Math.sin(a),u=this,c=u.getTextContent(),h=this.node.dataIndex,d=i.get("minAngle")/180*Math.PI,p=i.get("show")&&!(null!=d&&Math.abs(o)<d);function f(t,e){var n=t.get(e);return null==n?i.get(e):n}c.ignore=!p,re(xu,(function(i){var d="normal"===i?n.getModel("label"):n.getModel([i,"label"]),p="normal"===i,g=p?c:c.ensureState(i),m=t.getFormattedLabel(h,i);p&&(m=m||e.node.name),g.style=md(d,{},null,"normal"!==i,!0),m&&(g.style.text=m);var v=d.get("show");null==v||p||(g.ignore=!v);var y,_=f(d,"position"),x=p?u:u.states[i],b=x.style.fill;x.textConfig={outsideFill:"inherit"===d.get("color")?b:null,inside:"outside"!==_};var w=f(d,"distance")||0,S=f(d,"align"),A=f(d,"rotate"),T=.5*Math.PI,M=1.5*Math.PI,I=xl("tangential"===A?Math.PI/2-a:a),C=I>T&&!fa(I-T)&&I<M;"outside"===_?(y=r.r+w,S=C?"right":"left"):S&&"center"!==S?"left"===S?(y=r.r0+w,S=C?"right":"left"):"right"===S&&(y=r.r-w,S=C?"left":"right"):(y=o===2*Math.PI&&0===r.r0?0:(r.r+r.r0)/2,S="center"),g.style.align=S,g.style.verticalAlign=f(d,"verticalAlign")||"middle",g.x=y*s+r.cx,g.y=y*l+r.cy;var D=0;"radial"===A?D=xl(-a)+(C?Math.PI:0):"tangential"===A?D=xl(Math.PI/2-a)+(C?Math.PI:0):ge(A)&&(D=A*Math.PI/180),g.rotation=xl(D)})),c.dirtyStyle()},e}(qc),ok="sunburstRootToNode",ak="sunburstHighlight",sk="sunburstUnhighlight";var lk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.render=function(t,e,n,i){var r=this;this.seriesModel=t,this.api=n,this.ecModel=e;var o=t.getData(),a=o.tree.root,s=t.getViewRoot(),l=this.group,u=t.get("renderLabelForZeroData"),c=[];s.eachNode((function(t){c.push(t)}));var h=this._oldChildren||[];!function(i,r){if(0===i.length&&0===r.length)return;function s(t){return t.getId()}function c(s,c){!function(i,r){u||!i||i.getValue()||(i=null);if(i!==a&&r!==a)if(r&&r.piece)i?(r.piece.updateData(!1,i,t,e,n),o.setItemGraphicEl(i.dataIndex,r.piece)):function(t){if(!t)return;t.piece&&(l.remove(t.piece),t.piece=null)}(r);else if(i){var s=new rk(i,t,e,n);l.add(s),o.setItemGraphicEl(i.dataIndex,s)}}(null==s?null:i[s],null==c?null:r[c])}new J_(r,i,s,s).add(c).update(c).remove(ce(c,null)).execute()}(c,h),function(i,o){o.depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new rk(i,t,e,n),l.add(r.virtualPiece)),o.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(o.parentNode)}))):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}(a,s),this._initEvents(),this._oldChildren=c},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a)kp(a,o.get("target",!0)||"_blank")}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:ok,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},e.type="sunburst",e}(Um),uk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return Tt(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};ck(n);var i=this._levelModels=oe(t.levels||[],(function(t){return new zd(t,this,e)}),this),r=pD.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),o=i[n.depth];return o&&(t.parentModel=o),t}))}));return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=vD(i,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){SD(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(Em);function ck(t){var e=0;re(t.children,(function(t){ck(t);var n=t.value;he(n)&&(n=n[0]),e+=n}));var n=t.value;he(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),he(t.value)?t.value[0]=n:t.value=n}var hk=Math.PI/180;function dk(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),i=t.get("radius");he(i)||(i=[0,i]),he(e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),a=Math.min(r,o),s=oa(e[0],r),l=oa(e[1],o),u=oa(i[0],a/2),c=oa(i[1],a/2),h=-t.get("startAngle")*hk,d=t.get("minAngle")*hk,p=t.getData().tree.root,f=t.getViewRoot(),g=f.depth,m=t.get("sort");null!=m&&pk(f,m);var v=0;re(f.children,(function(t){!isNaN(t.getValue())&&v++}));var y=f.getValue(),_=Math.PI/(y||v)*2,x=f.depth>0,b=f.height-(x?-1:1),w=(c-u)/(b||1),S=t.get("clockwise"),A=t.get("stillShowZeroSum"),T=S?1:-1,M=function(e,n){if(e){var i=n;if(e!==p){var r=e.getValue(),o=0===y&&A?_:r*_;o<d&&(o=d),i=n+T*o;var c=e.depth-g-(x?-1:1),h=u+w*c,f=u+w*(c+1),m=t.getLevelModel(e);if(m){var v=m.get("r0",!0),b=m.get("r",!0),I=m.get("radius",!0);null!=I&&(v=I[0],b=I[1]),null!=v&&(h=oa(v,a/2)),null!=b&&(f=oa(b,a/2))}e.setLayout({angle:o,startAngle:n,endAngle:i,clockwise:S,cx:s,cy:l,r0:h,r:f})}if(e.children&&e.children.length){var C=0;re(e.children,(function(t){C+=M(t,n+C)}))}return i-n}};if(x){var I=u,C=u+w,D=2*Math.PI;p.setLayout({angle:D,startAngle:h,endAngle:h+D,clockwise:S,cx:s,cy:l,r0:I,r:C})}M(f,h)}))}function pk(t,e){var n=t.children||[];t.children=function(t,e){if(de(e)){var n=oe(t,(function(t,e){var n=t.getValue();return{params:{depth:t.depth,height:t.height,dataIndex:t.dataIndex,getValue:function(){return n}},index:e}}));return n.sort((function(t,n){return e(t.params,n.params)})),oe(n,(function(e){return t[e.index]}))}var i="asc"===e;return t.sort((function(t,e){var n=(t.getValue()-e.getValue())*(i?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(i?-1:1):n}))}(n,e),n.length&&re(t.children,(function(t){pk(t,e)}))}function fk(t){var e={};t.eachSeriesByType("sunburst",(function(t){var n=t.getData(),i=n.tree;i.eachNode((function(r){var o=r.getModel().getModel("itemStyle").getItemStyle();o.fill||(o.fill=function(t,n,i){for(var r=t;r&&r.depth>1;)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&pe(o)&&(o=hr(o,(t.depth-1)/(i-1)*.5)),o}(r,t,i.root.height)),Kt(n.ensureUniqueItemVisual(r.dataIndex,"style"),o)}))}))}var gk={color:"fill",borderColor:"stroke"},mk={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},vk=Ua(),yk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return Px(null,this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=vk(i).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(Em);function _k(t,e){return e=e||[0,0],oe(["x","y"],(function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function xk(t,e){return e=e||[0,0],oe([0,1],(function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function bk(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function wk(t,e){return e=e||[0,0],oe(["Radius","Angle"],(function(n,i){var r=this["get"+n+"Axis"](),o=e[i],a=t[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function Sk(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||Fe(t,"text")))}function Ak(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},Fe(a,"text")&&(o.text=a.text),Fe(a,"rich")&&(o.rich=a.rich),Fe(a,"textFill")&&(o.fill=a.textFill),Fe(a,"textStroke")&&(o.stroke=a.textStroke),Fe(a,"fontFamily")&&(o.fontFamily=a.fontFamily),Fe(a,"fontSize")&&(o.fontSize=a.fontSize),Fe(a,"fontStyle")&&(o.fontStyle=a.fontStyle),Fe(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},i={};var s=Fe(a,"textPosition");n?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),Fe(a,"textPosition")&&(i.position=a.textPosition),Fe(a,"textOffset")&&(i.offset=a.textOffset),Fe(a,"textRotation")&&(i.rotation=a.textRotation),Fe(a,"textDistance")&&(i.distance=a.textDistance)}return Tk(o,t),re(o.rich,(function(t){Tk(t,t)})),{textConfig:i,textContent:r}}function Tk(t,e){e&&(e.font=e.textFont||e.font,Fe(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),Fe(e,"textAlign")&&(t.align=e.textAlign),Fe(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),Fe(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),Fe(e,"textWidth")&&(t.width=e.textWidth),Fe(e,"textHeight")&&(t.height=e.textHeight),Fe(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),Fe(e,"textPadding")&&(t.padding=e.textPadding),Fe(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),Fe(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),Fe(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),Fe(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),Fe(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),Fe(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),Fe(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function Mk(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,o=t.fill||"#000";Ik(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,re(e.rich,(function(t){Ik(t,t)})),i}function Ik(t,e){e&&(Fe(e,"fill")&&(t.textFill=e.fill),Fe(e,"stroke")&&(t.textStroke=e.fill),Fe(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),Fe(e,"font")&&(t.font=e.font),Fe(e,"fontStyle")&&(t.fontStyle=e.fontStyle),Fe(e,"fontWeight")&&(t.fontWeight=e.fontWeight),Fe(e,"fontSize")&&(t.fontSize=e.fontSize),Fe(e,"fontFamily")&&(t.fontFamily=e.fontFamily),Fe(e,"align")&&(t.textAlign=e.align),Fe(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),Fe(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),Fe(e,"width")&&(t.textWidth=e.width),Fe(e,"height")&&(t.textHeight=e.height),Fe(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),Fe(e,"padding")&&(t.textPadding=e.padding),Fe(e,"borderColor")&&(t.textBorderColor=e.borderColor),Fe(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),Fe(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),Fe(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),Fe(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),Fe(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),Fe(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),Fe(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),Fe(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),Fe(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),Fe(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var Ck={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},Dk=le(Ck);ae(Do,(function(t,e){return t[e]=1,t}),{}),Do.join(", ");var Ek=["","style","shape","extra"],Lk=Ua();function Pk(t,e,n,i,r){var o=t+"Animation",a=Dh(t,i,r)||{},s=Lk(e).userDuring;return a.duration>0&&(a.during=s?ue(Fk,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),Kt(a,n[o]),a}function Rk(t,e,n,i){var r=(i=i||{}).dataIndex,o=i.isInit,a=i.clearStyle,s=n.isAnimationEnabled(),l=Lk(t),u=e.style;l.userDuring=e.during;var c={},h={};if(function(t,e,n){for(var i=0;i<Dk.length;i++){var r=Dk[i],o=Ck[r],a=e[r];a&&(n[o[0]]=a[0],n[o[1]]=a[1])}for(i=0;i<Do.length;i++){var s=Do[i];null!=e[s]&&(n[s]=e[s])}}(0,e,h),Gk("shape",e,h),Gk("extra",e,h),!o&&s&&(function(t,e,n){for(var i=e.transition,r=Ok(i)?Do:Ea(i||[]),o=0;o<r.length;o++){var a=r[o];if("style"!==a&&"shape"!==a&&"extra"!==a){var s=t[a];n[a]=s}}}(t,e,c),Vk("shape",t,e,c),Vk("extra",t,e,c),function(t,e,n,i){if(!n)return;var r,o=t.style;if(o){var a=n.transition,s=e.transition;if(a&&!Ok(a)){var l=Ea(a);!r&&(r=i.style={});for(var u=0;u<l.length;u++){var c=o[f=l[u]];r[f]=c}}else if(t.getAnimationStyleProps&&(Ok(s)||Ok(a)||te(s,"style")>=0)){var h=t.getAnimationStyleProps(),d=h?h.style:null;if(d){!r&&(r=i.style={});var p=le(n);for(u=0;u<p.length;u++){var f;if(d[f=p[u]]){c=o[f];r[f]=c}}}}}}(t,e,u,c)),h.style=u,function(t,e,n){var i=e.style;if(!t.isGroup&&i){if(n){t.useStyle({});for(var r=t.animators,o=0;o<r.length;o++){var a=r[o];"style"===a.targetName&&a.changeTarget(t.style)}}t.setStyle(i)}e&&(e.style=null,e&&t.attr(e),e.style=i)}(t,h,a),function(t,e){Fe(e,"silent")&&(t.silent=e.silent),Fe(e,"ignore")&&(t.ignore=e.ignore),t instanceof Rs&&Fe(e,"invisible")&&(t.invisible=e.invisible);t instanceof Ol&&Fe(e,"autoBatch")&&(t.autoBatch=e.autoBatch)}(t,e),s)if(o){var d={};re(Ek,(function(t){var n=t?e[t]:e;n&&n.enterFrom&&(t&&(d[t]=d[t]||{}),Kt(t?d[t]:d,n.enterFrom))}));var p=Pk("enter",t,e,n,r);p.duration>0&&t.animateFrom(d,p)}else!function(t,e,n,i,r){if(r){var o=Pk("update",t,e,i,n);o.duration>0&&t.animateFrom(r,o)}}(t,e,r||0,n,c);Nk(t,e),u?t.dirty():t.markRedraw()}function Nk(t,e){for(var n=Lk(t).leaveToProps,i=0;i<Ek.length;i++){var r=Ek[i],o=r?e[r]:e;o&&o.leaveTo&&(n||(n=Lk(t).leaveToProps={}),r&&(n[r]=n[r]||{}),Kt(r?n[r]:n,o.leaveTo))}}function kk(t,e,n,i){if(t){var r=t.parent,o=Lk(t).leaveToProps;if(o){var a=Pk("update",t,e,n,0);a.done=function(){r.remove(t)},t.animateTo(o,a)}else r.remove(t)}}function Ok(t){return"all"===t}var Bk={},zk={setTransform:function(t,e){return Bk.el[t]=e,this},getTransform:function(t){return Bk.el[t]},setShape:function(t,e){var n=Bk.el;return(n.shape||(n.shape={}))[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){var e=Bk.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=Bk.el,i=n.style;return i&&(i[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){var e=Bk.el.style;if(e)return e[t]},setExtra:function(t,e){return(Bk.el.extra||(Bk.el.extra={}))[t]=e,this},getExtra:function(t){var e=Bk.el.extra;if(e)return e[t]}};function Fk(){var t=this,e=t.el;if(e){var n=Lk(e).userDuring,i=t.userDuring;n===i?(Bk.el=e,i(zk)):t.el=t.userDuring=null}}function Vk(t,e,n,i){var r=n[t];if(r){var o,a=e[t];if(a){var s=n.transition,l=r.transition;if(l)if(!o&&(o=i[t]={}),Ok(l))Kt(o,a);else for(var u=Ea(l),c=0;c<u.length;c++){var h=a[p=u[c]];o[p]=h}else if(Ok(s)||te(s,t)>=0){!o&&(o=i[t]={});var d=le(a);for(c=0;c<d.length;c++){var p;h=a[p=d[c]];Uk(r[p],h)&&(o[p]=h)}}}}}function Gk(t,e,n){var i=e[t];if(i)for(var r=n[t]={},o=le(i),a=0;a<o.length;a++){var s=o[a];r[s]=Ur(i[s])}}function Uk(t,e){return ie(t)?t!==e:null!=t&&isFinite(t)}var Hk=Ua(),Wk=["percent","easing","shape","style","extra"];function Xk(t){t.stopAnimation("keyframe"),t.attr(Hk(t))}function jk(t,e,n){if(n.isAnimationEnabled()&&e)if(he(e))re(e,(function(e){jk(t,e,n)}));else{var i=e.keyframes,r=e.duration;if(n&&null==r){var o=Dh("enter",n,0);r=o&&o.duration}if(i&&r){var a=Hk(t);re(Ek,(function(n){var o;n&&!t[n]||(i.sort((function(t,e){return t.percent-e.percent})),re(i,(function(i){var s=t.animators,l=n?i[n]:i;if(l){var u=le(l);if(n||(u=se(u,(function(t){return te(Wk,t)<0}))),u.length){o||((o=t.animate(n,e.loop,!0)).scope="keyframe");for(var c=0;c<s.length;c++)s[c]!==o&&s[c].targetName===o.targetName&&s[c].stopTracks(u);n&&(a[n]=a[n]||{});var h=n?a[n]:a;re(u,(function(e){h[e]=((n?t[n]:t)||{})[e]})),o.whenWithKeys(r*i.percent,l,u,i.easing)}}})),o&&o.delay(e.delay||0).duration(r).start(e.easing))}))}}}var Yk="emphasis",Zk="normal",Qk="blur",qk="select",Jk=[Zk,Yk,Qk,qk],Kk={normal:["itemStyle"],emphasis:[Yk,"itemStyle"],blur:[Qk,"itemStyle"],select:[qk,"itemStyle"]},$k={normal:["label"],emphasis:[Yk,"label"],blur:[Qk,"label"],select:[qk,"label"]},tO=["x","y"],eO="e\0\0",nO={normal:{},emphasis:{},blur:{},select:{}},iO={cartesian2d:function(t){var e=t.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:ue(_k,t)}}},geo:function(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:ue(xk,t)}}},single:function(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:ue(bk,t)}}},polar:function(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),i=e.getExtent();return i[0]>i[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:ue(wk,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function rO(t){return t instanceof Ol}function oO(t){return t instanceof Rs}var aO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=hO(t,o,e,n);r||a.removeAll(),o.diff(r).add((function(e){pO(n,null,e,s(e,i),t,a,o)})).remove((function(e){var n=r.getItemGraphicEl(e);n&&kk(n,vk(n).option,t)})).update((function(e,l){var u=r.getItemGraphicEl(l);pO(n,u,e,s(e,i),t,a,o)})).execute();var l=t.get("clip",!0)?XA(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,i,r){var o=e.getData(),a=hO(e,o,n,i),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u<t.end;u++){var c=pO(null,null,u,a(u,r),e,this.group,o);c&&(c.traverse(l),s.push(c))}},e.prototype.eachRendered=function(t){ud(this._progressiveEls||this.group,t)},e.prototype.filterForExposedEvent=function(t,e,n,i){var r=e.element;if(null==r||n.name===r)return!0;for(;(n=n.__hostTarget||n.parent)&&n!==this.group;)if(n.name===r)return!0;return!1},e.type="custom",e}(Um);function sO(t){var e,n=t.type;if("path"===n){var i=t.shape,r=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,o=SO(i);e=Wh(o,null,r,i.layout||"center"),vk(e).customPathData=o}else if("image"===n)e=new Gl({}),vk(e).customImagePath=t.style.image;else if("text"===n)e=new Jl({});else if("group"===n)e=new qo;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var a=Hh(n);if(!a){Ma("")}e=new a}return vk(e).customGraphicType=n,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function lO(t,e,n,i,r,o,a){Xk(e);var s=r&&r.normal.cfg;s&&e.setTextConfig(s),i&&null==i.transition&&(i.transition=tO);var l=i&&i.style;if(l){if("text"===e.type){var u=l;Fe(u,"textFill")&&(u.fill=u.textFill),Fe(u,"textStroke")&&(u.stroke=u.textStroke)}var c=void 0,h=rO(e)?l.decal:null;t&&h&&(h.dirty=!0,c=Ly(h,t)),l.__decalPattern=c}oO(e)&&(l&&(c=l.__decalPattern)&&(l.decal=c));Rk(e,i,o,{dataIndex:n,isInit:a,clearStyle:!0}),jk(e,i.keyframeAnimation,o)}function uO(t,e,n,i,r){var o=e.isGroup?null:e,a=r&&r[t].cfg;if(o){var s=o.ensureState(t);if(!1===i){var l=o.getState(t);l&&(l.style=null)}else s.style=i||null;a&&(s.textConfig=a),Vu(o)}}function cO(t,e,n){var i=n===Zk,r=i?e:vO(e,n),o=r?r.z2:null;null!=o&&((i?t:t.ensureState(n)).z2=o||0)}function hO(t,e,n,i){var r=t.get("renderItem"),o=t.coordinateSystem,a={};o&&(a=o.prepareCustoms?o.prepareCustoms(o):iO[o.type](o));for(var s,l,u=$t({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:function(t,n){return null==n&&(n=s),e.getStore().get(e.getDimensionIndex(t||0),n)},style:function(n,i){null==i&&(i=s);var r=e.getItemVisual(i,"style"),o=r&&r.fill,a=r&&r.opacity,l=y(i,Zk).getItemStyle();null!=o&&(l.fill=o),null!=a&&(l.opacity=a);var u={inheritColor:pe(o)?o:"#000"},c=_(i,Zk),h=md(c,null,u,!1,!0);h.text=c.getShallow("show")?Se(t.getFormattedLabel(i,Zk),TA(e,i)):null;var d=vd(c,u,!1);return b(n,l),l=Mk(l,h,d),n&&x(l,n),l.legacy=!0,l},ordinalRawValue:function(t,n){null==n&&(n=s),t=t||0;var i=e.getDimensionInfo(t);if(!i){var r=e.getDimensionIndex(t);return r>=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,i){null==i&&(i=s);var r=y(i,Yk).getItemStyle(),o=_(i,Yk),a=md(o,null,null,!0,!0);a.text=o.getShallow("show")?Ae(t.getFormattedLabel(i,Yk),t.getFormattedLabel(i,Zk),TA(e,i)):null;var l=vd(o,null,!0);return b(n,r),r=Mk(r,a,l),n&&x(r,n),r.legacy=!0,r},visual:function(t,n){if(null==n&&(n=s),Fe(gk,t)){var i=e.getItemVisual(n,"style");return i?i[gk[t]]:null}if(Fe(mk,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===o.type){return function(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var r=n.getBandWidth(),o=0;o<t.count;o++)e.push($t({bandWidth:r,axisKey:i,stackId:Jx+o},t));var a=nb(e),s=[];for(o=0;o<t.count;o++){var l=a[i][Jx+o];l.offsetCenter=l.offset+l.width/2,s.push(l)}return s}}($t({axis:o.getBaseAxis()},t))}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(t){return wd(t,n)}},a.api||{}),c={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:a.coordSys,dataInsideLength:e.count(),encode:dO(t.getData())},h={},d={},p={},f={},g=0;g<Jk.length;g++){var m=Jk[g];p[m]=t.getModel(Kk[m]),f[m]=t.getModel($k[m])}function v(t){return t===s?l||(l=e.getItemModel(t)):e.getItemModel(t)}function y(t,n){return e.hasItemOption?t===s?h[n]||(h[n]=v(t).getModel(Kk[n])):v(t).getModel(Kk[n]):p[n]}function _(t,n){return e.hasItemOption?t===s?d[n]||(d[n]=v(t).getModel($k[n])):v(t).getModel($k[n]):f[n]}return function(t,n){return s=t,l=null,h={},d={},r&&r($t({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},c),u)};function x(t,e){for(var n in e)Fe(e,n)&&(t[n]=e[n])}function b(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}}function dO(t){var e={};return re(t.dimensions,(function(n){var i=t.getDimensionInfo(n);if(!i.isExtraCoord){var r=i.coordDim;(e[r]=e[r]||[])[i.coordDimIndex]=t.getDimensionIndex(n)}})),e}function pO(t,e,n,i,r,o,a){if(i){var s=fO(t,e,n,i,r,o);return s&&a.setItemGraphicEl(n,s),s&&ic(s,i.focus,i.blurScope,i.emphasisDisabled),s}o.remove(e)}function fO(t,e,n,i,r,o){var a=-1,s=e;e&&gO(e,i,r)&&(a=te(o.childrenRef(),e),e=null);var l,u,c=!e,h=e;h?h.clearStates():(h=sO(i),s&&(l=s,(u=h).copyTransform(l),oO(u)&&oO(l)&&(u.setStyle(l.style),u.z=l.z,u.z2=l.z2,u.zlevel=l.zlevel,u.invisible=l.invisible,u.ignore=l.ignore,rO(u)&&rO(l)&&u.setShape(l.shape)))),!1===i.morph?h.disableMorphing=!0:h.disableMorphing&&(h.disableMorphing=!1),nO.normal.cfg=nO.normal.conOpt=nO.emphasis.cfg=nO.emphasis.conOpt=nO.blur.cfg=nO.blur.conOpt=nO.select.cfg=nO.select.conOpt=null,nO.isLegacy=!1,function(t,e,n,i,r,o){if(t.isGroup)return;mO(n,null,o),mO(n,Yk,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,u=o.select.conOpt;if(null!=a||null!=s||null!=u||null!=l){var c=t.getTextContent();if(!1===a)c&&t.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},c?c.clearStates():(c=sO(a),t.setTextContent(c)),lO(null,c,e,a,null,i,r);for(var h=a&&a.style,d=0;d<Jk.length;d++){var p=Jk[d];if(p!==Zk){var f=o[p].conOpt;uO(p,c,0,yO(a,f,p),null)}}h?c.dirty():c.markRedraw()}}}(h,n,i,r,c,nO),function(t,e,n,i,r){var o=n.clipPath;if(!1===o)t&&t.getClipPath()&&t.removeClipPath();else if(o){var a=t.getClipPath();a&&gO(a,o,i)&&(a=null),a||(a=sO(o),t.setClipPath(a)),lO(null,a,e,o,null,i,r)}}(h,n,i,r,c),lO(t,h,n,i,nO,r,c),Fe(i,"info")&&(vk(h).info=i.info);for(var d=0;d<Jk.length;d++){var p=Jk[d];if(p!==Zk){var f=vO(i,p);uO(p,h,0,yO(i,f,p),nO)}}return function(t,e,n){if(!t.isGroup){var i=t,r=n.currentZ,o=n.currentZLevel;i.z=r,i.zlevel=o;var a=e.z2;null!=a&&(i.z2=a||0);for(var s=0;s<Jk.length;s++)cO(i,e,Jk[s])}}(h,i,r),"group"===i.type&&function(t,e,n,i,r){var o=i.children,a=o?o.length:0,s=i.$mergeChildren,l="byName"===s||i.diffChildrenByName,u=!1===s;if(!a&&!l&&!u)return;if(l)return c={api:t,oldChildren:e.children()||[],newChildren:o||[],dataIndex:n,seriesModel:r,group:e},void new J_(c.oldChildren,c.newChildren,xO,xO,c).add(bO).update(bO).remove(wO).execute();var c;u&&e.removeAll();for(var h=0;h<a;h++){var d=o[h],p=e.childAt(h);d?(null==d.ignore&&(d.ignore=!1),fO(t,p,n,d,r,e)):p.ignore=!0}for(var f=e.childCount()-1;f>=h;f--){var g=e.childAt(f);_O(e,g,r)}}(t,h,n,i,r),a>=0?o.replaceAt(h,a):o.add(h),h}function gO(t,e,n){var i,r=vk(t),o=e.type,a=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&((i=a)&&(Fe(i,"pathData")||Fe(i,"d")))&&SO(a)!==r.customPathData||"image"===o&&Fe(s,"image")&&s.image!==r.customImagePath}function mO(t,e,n){var i=e?vO(t,e):t,r=e?yO(t,i,Yk):t.style,o=t.type,a=i?i.textConfig:null,s=t.textContent,l=s?e?vO(s,e):s:null;if(r&&(n.isLegacy||Sk(r,o,!!a,!!l))){n.isLegacy=!0;var u=Ak(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var c=l;!c.type&&(c.type="text")}var h=e?n[e]:n.normal;h.cfg=a,h.conOpt=l}function vO(t,e){return e?t?t[e]:null:t}function yO(t,e,n){var i=e&&e.style;return null==i&&n===Yk&&t&&(i=t.styleEmphasis),i}function _O(t,e,n){e&&kk(e,vk(t).option,n)}function xO(t,e){var n=t&&t.name;return null!=n?n:eO+e}function bO(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;fO(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function wO(t){var e=this.context,n=e.oldChildren[t];n&&kk(n,vk(n).option,e.seriesModel)}function SO(t){return t&&(t.pathData||t.d)}var AO=Ua(),TO=Qt,MO=ue,IO=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var c=this._moveAnimation=this.determineAnimation(t,e);if(a){var h=ce(CO,e,c);this.updatePointerEl(a,l,h),this.updateLabelEl(a,l,h,e)}else a=this._group=new qo,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);PO(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=NM(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=AO(t).pointerEl=new cd[r.type](TO(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=AO(t).labelEl=new Jl(TO(e.label));t.add(r),EO(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=AO(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=AO(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),EO(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=id(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){In(t.event)},onmousedown:MO(this._onHandleDragMove,this,0,0),drift:MO(this._onHandleDragMove,this),ondragend:MO(this._onHandleDragEnd,this)}),i.add(r)),PO(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");he(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,Km(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){CO(this._axisPointerModel,!e&&this._moveAnimation,this._handle,LO(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(LO(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(LO(i)),AO(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),$m(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function CO(t,e,n,i){DO(AO(n).lastProp,i)||(AO(n).lastProp=i,e?Lh(n,i,t):(n.stopAnimation(),n.attr(i)))}function DO(t,e){if(me(t)&&me(e)){var n=!0;return re(e,(function(e,i){n=n&&DO(t[i],e)})),!!n}return t===e}function EO(t,e){t[e.get(["label","show"])?"show":"hide"]()}function LO(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function PO(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}function RO(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function NO(t,e,n,i,r){var o=kO(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=Cp(a.get("padding")||0),l=a.getFont(),u=No(o,l),c=r.position,h=u.width+s[1]+s[3],d=u.height+s[0]+s[2],p=r.align;"right"===p&&(c[0]-=h),"center"===p&&(c[0]-=h/2);var f=r.verticalAlign;"bottom"===f&&(c[1]-=d),"middle"===f&&(c[1]-=d/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(c,h,d,i);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:c[0],y:c[1],style:md(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function kO(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:Nb(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};re(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)})),pe(a)?o=a.replace("{value}",o):de(a)&&(o=a(s))}return o}function OO(t,e,n){var i=[1,0,0,1,0,0];return On(i,i,n.rotation),kn(i,i,n.position),Kh([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function BO(t,e,n,i,r,o){var a=MM.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),NO(e,i,r,o,{position:OO(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function zO(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function FO(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function VO(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}var GO=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=UO(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var c=RO(i),h=HO[s](o,u,l);h.style=c,t.graphicKey=h.type,t.pointer=h}BO(e,t,mM(a.model,n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=mM(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=OO(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=UO(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var c=(s[1]+s[0])/2,h=[c,c];h[l]=u[l];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:h,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(IO);function UO(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var HO={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:zO([e,n[0]],[e,n[1]],WO(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:FO([e-i/2,n[0]],[i,r],WO(t))}}};function WO(t){return"x"===t.dim?0:1}var XO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(Zp),jO=Ua(),YO=re;function ZO(t,e,n){if(!It.node){var i=e.getZr();jO(i).records||(jO(i).records={}),function(t,e){if(jO(t).initialized)return;function n(n,i){t.on(n,(function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);YO(jO(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]);n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)}))}jO(t).initialized=!0,n("click",ce(qO,"click")),n("mousemove",ce(qO,"mousemove")),n("globalout",QO)}(i,e),(jO(i).records[t]||(jO(i).records[t]={})).handler=n}}function QO(t,e,n){t.handler("leave",null,n)}function qO(t,e,n,i){e.handler(t,n,i)}function JO(t,e){if(!It.node){var n=e.getZr();(jO(n).records||{})[t]&&(jO(n).records[t]=null)}}var KO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";ZO("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){JO("axisPointer",e)},e.prototype.dispose=function(t,e){JO("axisPointer",e)},e.type="axisPointer",e}(zm);function $O(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=Ga(o,t);if(null==a||a<0||he(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),c=l.getOtherAxis(u).dim,h=u.dim,d="x"===c||"radius"===c?1:0,p=o.mapDimension(h),f=[];f[d]=o.get(p,a),f[1-d]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(f)||[]}else i=l.dataToPoint(o.getValues(oe(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),i=[g.x+g.width/2,g.y+g.height/2]}return{point:i,el:s}}var tB=Ua();function eB(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||ue(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){aB(r)&&(r=$O({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=aB(r),u=o.axesInfo,c=s.axesInfo,h="leave"===i||aB(r),d={},p={},f={list:[],map:{}},g={showPointer:ce(iB,p),showTooltip:ce(rB,f)};re(s.coordSysMap,(function(t,e){var n=l||t.containPoint(r);re(s.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(u,t);if(!h&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&nB(t,a,g,!1,d)}}))}));var m={};return re(c,(function(t,e){var n=t.linkGroup;n&&!p[e]&&re(n.axesInfo,(function(e,i){var r=p[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,oB(e),oB(t)))),m[t.key]=o}}))})),re(m,(function(t,e){nB(c[e],t,g,!0,d)})),function(t,e,n){var i=n.axesInfo=[];re(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(p,c,d),function(t,e,n,i){if(aB(e)||!t.list.length)return void i({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(f,r,t,a),function(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=tB(i)[r]||{},a=tB(i)[r]={};re(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&re(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];re(o,(function(t,e){!a[e]&&l.push(t)})),re(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(c,0,n),d}}function nB(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return re(e.seriesModels,(function(e,l){var u,c,h=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var d=e.getAxisTooltipData(h,t,n);c=d.dataIndices,u=d.nestestValue}else{if(!(c=e.getData().indicesOfNearest(h[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(h[0],c[0])}if(null!=u&&isFinite(u)){var p=t-u,f=Math.abs(p);f<=a&&((f<a||p>=0&&s<0)&&(a=f,s=p,r=u,o.length=0),re(c,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&Kt(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function iB(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function rB(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=OM(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function oB(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function aB(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function sB(t){zM.registerAxisPointerClass("CartesianAxisPointer",GO),t.registerComponentModel(XO),t.registerComponentView(KO),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!he(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=PM(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},eB)}var lB=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(e),u=i.get("type");if(u&&"none"!==u){var c=RO(i),h=uB[u](o,a,l,s);h.style=c,t.graphicKey=h.type,t.pointer=h}var d=function(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,c,h=i.getRadiusAxis().getExtent();if("radius"===o.dim){var d=[1,0,0,1,0,0];On(d,d,s),kn(d,d,[i.cx,i.cy]),l=Kh([a,-r],d);var p=e.getModel("axisLabel").get("rotate")||0,f=MM.innerTextLayout(s,p*Math.PI/180,-1);u=f.textAlign,c=f.textVerticalAlign}else{var g=h[1];l=i.coordToPoint([g+r,a]);var m=i.cx,v=i.cy;u=Math.abs(l[0]-m)/g<.3?"center":l[0]>m?"left":"right",c=Math.abs(l[1]-v)/g<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:c}}(e,n,0,a,i.get(["label","margin"]));NO(t,n,i,r,d)},e}(IO);var uB={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:zO(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:VO(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:VO(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},cB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(Zp),hB=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",ja).models[0]},e.type="polarAxis",e}(Zp);ne(hB,Fb);var dB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.type="angleAxis",e}(hB),pB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.type="radiusAxis",e}(hB),fB=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return Tt(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(fw);fB.prototype.dataToRadius=fw.prototype.dataToCoord,fB.prototype.radiusToData=fw.prototype.coordToData;var gB=Ua(),mB=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return Tt(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=No(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var c=Math.max(0,Math.floor(u)),h=gB(t.model),d=h.lastAutoInterval,p=h.lastTickCount;return null!=d&&null!=p&&Math.abs(d-c)<=1&&Math.abs(p-r)<=1&&d>c?c=d:(h.lastTickCount=r,h.lastAutoInterval=c),c},e}(fw);mB.prototype.dataToAngle=fw.prototype.dataToCoord,mB.prototype.angleToData=fw.prototype.coordToData;var vB=["radius","angle"],yB=function(){function t(t){this.dimensions=vB,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new fB,this._angleAxis=new mB,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=l<o?1:-1;l<o||l>a;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i-1e-4,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}},t.prototype.convertToPixel=function(t,e,n){return _B(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return _B(e)===this?this.pointToData(n):null},t}();function _B(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var xB=yB;function bB(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();re(zb(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),re(zb(e,"angle"),(function(t){i.scale.unionExtentFromData(e,t)}))}})),Lb(i.scale,i.model),Lb(r.scale,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function wB(t,e){var n;if(t.type=e.get("type"),t.scale=Pb(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var i=e.get("startAngle"),r=null!==(n=e.get("endAngle"))&&void 0!==n?n:i+(t.inverse?-360:360);t.setExtent(i,r)}e.axis=t,t.model=e}var SB={dimensions:vB,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new xB(i+"");r.update=bB;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");wB(o,s),wB(a,l),function(t,e,n){var i=e.get("center"),r=n.getWidth(),o=n.getHeight();t.cx=oa(i[0],r),t.cy=oa(i[1],o);var a=t.getRadiusAxis(),s=Math.min(r,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:he(l)||(l=[0,l]);var u=[oa(l[0],s),oa(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",ja).models[0];t.coordinateSystem=e.coordinateSystem}})),n}},AB=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function TB(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function MB(t){return t.getRadiusAxis().inverse?0:1}function IB(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var CB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return Tt(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=oe(n.getViewLabels(),(function(t){t=Qt(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t}));IB(s),IB(o),re(AB,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||DB[e](this.group,t,i,o,a,r,s)}),this)}},e.type="angleAxis",e}(zM),DB={axisLine:function(t,e,n,i,r,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=n.getAngleAxis(),u=Math.PI/180,c=l.getExtent(),h=MB(n),d=h?0:1,p=360===Math.abs(c[1]-c[0])?"Circle":"Arc";(a=0===o[d]?new cd[p]({shape:{cx:n.cx,cy:n.cy,r:o[h],startAngle:-c[0]*u,endAngle:-c[1]*u,clockwise:l.inverse},style:s.getLineStyle(),z2:1,silent:!0}):new Kc({shape:{cx:n.cx,cy:n.cy,r:o[h],r0:o[d]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(a)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[MB(n)],u=oe(i,(function(t){return new ah({shape:TB(n,[l,l+s],t.coord)})}));t.add(Yh(u,{style:$t(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[MB(n)],c=[],h=0;h<r.length;h++)for(var d=0;d<r[h].length;d++)c.push(new ah({shape:TB(n,[u,u+l],r[h][d].coord)}));t.add(Yh(c,{style:$t(s.getModel("lineStyle").getLineStyle(),$t(a.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(t,e,n,i,r,o,a){var s=e.getCategories(!0),l=e.getModel("axisLabel"),u=l.get("margin"),c=e.get("triggerEvent");re(a,(function(i,r){var a=l,h=i.tickValue,d=o[MB(n)],p=n.coordToPoint([d+u,i.coord]),f=n.cx,g=n.cy,m=Math.abs(p[0]-f)/d<.3?"center":p[0]>f?"left":"right",v=Math.abs(p[1]-g)/d<.3?"middle":p[1]>g?"top":"bottom";if(s&&s[h]){var y=s[h];me(y)&&y.textStyle&&(a=new zd(y.textStyle,l,l.ecModel))}var _=new Jl({silent:MM.isLabelSilent(e),style:md(a,{x:p[0],y:p[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:m,verticalAlign:v})});if(t.add(_),c){var x=MM.makeAxisEventDataBase(e);x.targetType="axisLabel",x.value=i.rawLabel,cu(_).eventData=x}}),this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=0;c<i.length;c++){var h=l++%s.length;u[h]=u[h]||[],u[h].push(new ah({shape:TB(n,o,i[c].coord)}))}for(c=0;c<u.length;c++)t.add(Yh(u[c],{style:$t({stroke:s[c%s.length]},a.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("minorSplitLine").getModel("lineStyle"),s=[],l=0;l<r.length;l++)for(var u=0;u<r[l].length;u++)s.push(new ah({shape:TB(n,o,r[l][u].coord)}));t.add(Yh(s,{style:a.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(t,e,n,i,r,o){if(i.length){var a=e.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=Math.PI/180,h=-i[0].coord*c,d=Math.min(o[0],o[1]),p=Math.max(o[0],o[1]),f=e.get("clockwise"),g=1,m=i.length;g<=m;g++){var v=g===m?i[0].coord:i[g].coord,y=l++%s.length;u[y]=u[y]||[],u[y].push(new qc({shape:{cx:n.cx,cy:n.cy,r0:d,r:p,startAngle:h,endAngle:-v*c,clockwise:f},silent:!0})),h=-v*c}for(g=0;g<u.length;g++)t.add(Yh(u[g],{style:$t({fill:s[g%s.length]},a.getAreaStyle()),silent:!0}))}}},EB=["axisLine","axisTickLabel","axisName"],LB=["splitLine","splitArea","minorSplitLine"],PB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return Tt(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=this._axisGroup,i=this._axisGroup=new qo;this.group.add(i);var r=t.axis,o=r.polar,a=o.getAngleAxis(),s=r.getTicksCoords(),l=r.getMinorTicksCoords(),u=a.getExtent()[0],c=r.getExtent(),h=function(t,e,n){return{position:[t.cx,t.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}(o,t,u),d=new MM(t,h);re(EB,d.add,d),i.add(d.getGroup()),ed(n,i,t),re(LB,(function(e){t.get([e,"show"])&&!r.scale.isBlank()&&RB[e](this.group,t,o,u,c,s,l)}),this)}},e.type="radiusAxis",e}(zM),RB={splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0,u=n.getAngleAxis(),c=Math.PI/180,h=u.getExtent(),d=360===Math.abs(h[1]-h[0])?"Circle":"Arc";s=s instanceof Array?s:[s];for(var p=[],f=0;f<o.length;f++){var g=l++%s.length;p[g]=p[g]||[],p[g].push(new cd[d]({shape:{cx:n.cx,cy:n.cy,r:Math.max(o[f].coord,0),startAngle:-h[0]*c,endAngle:-h[1]*c,clockwise:u.inverse}}))}for(f=0;f<p.length;f++)t.add(Yh(p[f],{style:$t({stroke:s[f%s.length],fill:null},a.getLineStyle()),silent:!0}))},minorSplitLine:function(t,e,n,i,r,o,a){if(a.length){for(var s=e.getModel("minorSplitLine").getModel("lineStyle"),l=[],u=0;u<a.length;u++)for(var c=0;c<a[u].length;c++)l.push(new Rc({shape:{cx:n.cx,cy:n.cy,r:a[u][c].coord}}));t.add(Yh(l,{style:$t({fill:null},s.getLineStyle()),silent:!0}))}},splitArea:function(t,e,n,i,r,o){if(o.length){var a=e.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=o[0].coord,h=1;h<o.length;h++){var d=l++%s.length;u[d]=u[d]||[],u[d].push(new qc({shape:{cx:n.cx,cy:n.cy,r0:c,r:o[h].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),c=o[h].coord}for(h=0;h<u.length;h++)t.add(Yh(u[h],{style:$t({fill:s[h%s.length]},a.getAreaStyle()),silent:!0}))}}};function NB(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function kB(t,e){return e.dim+t.model.componentIndex}function OB(t,e,n){var i={},r=function(t){var e={};re(t,(function(t,n){var i=t.getData(),r=t.coordinateSystem,o=r.getBaseAxis(),a=kB(r,o),s=o.getExtent(),l="category"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/i.count(),u=e[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},c=u.stacks;e[a]=u;var h=NB(t);c[h]||u.autoWidthCount++,c[h]=c[h]||{width:0,maxWidth:0};var d=oa(t.get("barWidth"),l),p=oa(t.get("barMaxWidth"),l),f=t.get("barGap"),g=t.get("barCategoryGap");d&&!c[h].width&&(d=Math.min(u.remainedWidth,d),c[h].width=d,u.remainedWidth-=d),p&&(c[h].maxWidth=p),null!=f&&(u.gap=f),null!=g&&(u.categoryGap=g)}));var n={};return re(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=oa(t.categoryGap,r),a=oa(t.gap,1),s=t.remainedWidth,l=t.autoWidthCount,u=(s-o)/(l+(l-1)*a);u=Math.max(u,0),re(i,(function(t,e){var n=t.maxWidth;n&&n<u&&(n=Math.min(n,s),t.width&&(n=Math.min(n,t.width)),s-=n,t.width=n,l--)})),u=(s-o)/(l+(l-1)*a),u=Math.max(u,0);var c,h=0;re(i,(function(t,e){t.width||(t.width=u),c=t,h+=t.width*(1+a)})),c&&(h-=c.width*a);var d=-h/2;re(i,(function(t,i){n[e][i]=n[e][i]||{offset:d,width:t.width},d+=t.width*(1+a)}))})),n}(se(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})));e.eachSeriesByType(t,(function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),n=t.coordinateSystem,o=n.getBaseAxis(),a=kB(n,o),s=NB(t),l=r[a][s],u=l.offset,c=l.width,h=n.getOtherAxis(o),d=t.coordinateSystem.cx,p=t.coordinateSystem.cy,f=t.get("barMinHeight")||0,g=t.get("barMinAngle")||0;i[s]=i[s]||[];for(var m=e.mapDimension(h.dim),v=e.mapDimension(o.dim),y=Ex(e,m),_="radius"!==o.dim||!t.get("roundCap",!0),x=h.model.get("startValue"),b=h.dataToCoord(x||0),w=0,S=e.count();w<S;w++){var A=e.get(m,w),T=e.get(v,w),M=A>=0?"p":"n",I=b;y&&(i[s][T]||(i[s][T]={p:b,n:b}),I=i[s][T][M]);var C=void 0,D=void 0,E=void 0,L=void 0;if("radius"===h.dim){var P=h.dataToCoord(A)-b,R=o.dataToCoord(T);Math.abs(P)<f&&(P=(P<0?-1:1)*f),C=I,D=I+P,L=(E=R-u)-c,y&&(i[s][T][M]=D)}else{var N=h.dataToCoord(A,_)-b,k=o.dataToCoord(T);Math.abs(N)<g&&(N=(N<0?-1:1)*g),D=(C=k+u)+c,E=I,L=I+N,y&&(i[s][T][M]=L)}e.setItemLayout(w,{cx:d,cy:p,r0:C,r:D,startAngle:-E*Math.PI/180,endAngle:-L*Math.PI/180,clockwise:E>=L})}}}))}var BB={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},zB={splitNumber:5},FB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.type="polar",e}(zm);function VB(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.position,a=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]];r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a];r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),we(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var c=e.rotate;return null==c&&(c=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-c:c,r.z2=1,r}var GB=["axisLine","axisTickLabel","axisName"],UB=["splitArea","splitLine"],HB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return Tt(e,t),e.prototype.render=function(e,n,i,r){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new qo;var s=VB(e),l=new MM(e,s);re(GB,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),re(UB,(function(t){e.get([t,"show"])&&WB[t](this,this.group,this._axisGroup,e)}),this),ed(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},e.prototype.remove=function(){GM(this)},e.type="singleAxis",e}(zM),WB={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),u=i.coordinateSystem.getRect(),c=r.isHorizontal(),h=[],d=0,p=r.getTicksCoords({tickModel:o}),f=[],g=[],m=0;m<p.length;++m){var v=r.toGlobalCoord(p[m].coord);c?(f[0]=v,f[1]=u.y,g[0]=v,g[1]=u.y+u.height):(f[0]=u.x,f[1]=v,g[0]=u.x+u.width,g[1]=v);var y=new ah({shape:{x1:f[0],y1:f[1],x2:g[0],y2:g[1]},silent:!0});Qh(y.shape,l);var _=d++%s.length;h[_]=h[_]||[],h[_].push(y)}var x=a.getLineStyle(["color"]);for(m=0;m<h.length;++m)e.add(Yh(h[m],{style:$t({stroke:s[m%s.length]},x),silent:!0}))}},splitArea:function(t,e,n,i){VM(t,n,i,i)}},XB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.getCoordSysModel=function(){return this},e.type="singleAxis",e.layoutMode="box",e.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},e}(Zp);ne(XB,Fb.prototype);var jB=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.position=o||"bottom",a}return Tt(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.pointToData=function(t,e){return this.coordinateSystem.pointToData(t)[0]},e}(fw),YB=["single"],ZB=function(){function t(t,e,n){this.type="single",this.dimension="single",this.dimensions=YB,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=this.dimension,r=new jB(i,Pb(t),[0,0],t.get("type"),t.get("position")),o="category"===r.type;r.onBand=o&&t.get("boundaryGap"),r.inverse=t.get("inverse"),r.orient=t.get("orient"),t.axis=r,r.model=t,r.coordinateSystem=this,this._axis=r},t.prototype.update=function(t,e){t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData();re(e.mapDimensionsAll(this.dimension),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),Lb(this._axis.scale,this._axis.model)}}),this)},t.prototype.resize=function(t,e){this._rect=Gp({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},t.prototype.getRect=function(){return this._rect},t.prototype._adjustAxis=function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],r=e.inverse?1:0;e.setExtent(i[r],i[1-r]),this._updateAxisTransform(e,n?t.x:t.y)},t.prototype._updateAxisTransform=function(t,e){var n=t.getExtent(),i=n[0]+n[1],r=t.isHorizontal();t.toGlobalCoord=r?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return i-t+e}},t.prototype.getAxis=function(){return this._axis},t.prototype.getBaseAxis=function(){return this._axis},t.prototype.getAxes=function(){return[this._axis]},t.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},t.prototype.containPoint=function(t){var e=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){return QB(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return QB(e)===this?this.pointToData(n):null},t}();function QB(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var qB={create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(i,r){var o=new ZB(i,t,e);o.name="single_"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",ja).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n},dimensions:YB},JB=["x","y"],KB=["width","height"],$B=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=nz(a,1-ez(o)),l=a.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var c=RO(i),h=tz[u](o,l,s);h.style=c,t.graphicKey=h.type,t.pointer=h}BO(e,t,VB(n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=VB(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=OO(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=ez(r),s=nz(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=nz(o,1-a),c=(u[1]+u[0])/2,h=[c,c];return h[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}},e}(IO),tz={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:zO([e,n[0]],[e,n[1]],ez(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:FO([e-i/2,n[0]],[i,r],ez(t))}}};function ez(t){return t.isHorizontal()?0:1}function nz(t,e){var n=t.getRect();return[n[JB[e]],n[JB[e]]+n[KB[e]]]}var iz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.type="single",e}(zm);var rz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.init=function(e,n,i){var r=Xp(e);t.prototype.init.apply(this,arguments),oz(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),oz(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(Zp);function oz(t,e){var n,i=t.cellSize;1===(n=he(i)?i:t.cellSize=[i,i]).length&&(n[1]=n[0]);var r=oe([0,1],(function(t){return function(t,e){return null!=t[zp[e][0]]||null!=t[zp[e][1]]&&null!=t[zp[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));Wp(t,e,{type:"box",ignoreSize:r})}var az=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},e.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new Zl({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(u)}},e.prototype._renderLines=function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,c=0;u.time<=e.end.time;c++){d(u.formatedDate),0===c&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var h=u.date;h.setMonth(h.getMonth()+1),u=o.getDateInfo(h)}function d(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}d(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},e.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},e.prototype._drawSplitline=function(t,e,n){var i=new ih({z2:20,shape:{points:t},style:e});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return pe(t)&&t?(n=t,re(e,(function(t,e){n=n.replace("{"+e+"}",t)})),n):de(t)?t(e):e.nameMap;var n},e.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===i?(a+=r,s=["center","top"]):"left"===i?o-=r:"right"===i?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,c="horizontal"===n?0:1,h={top:[l,s[c][1]],bottom:[l,s[1-c][1]],left:[s[1-c][0],u],right:[s[c][0],u]},d=e.start.y;+e.end.y>+e.start.y&&(d=d+"-"+e.end.y);var p=r.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:d},g=this._formatterLabel(p,f),m=new Jl({z2:30,style:md(r,{text:g})});m.attr(this._yearTextPositionControl(m,h[a],n,a,o)),i.add(m)}},e.prototype._monthTextPositionControl=function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];o&&!pe(o)||(o&&(e=Qd(o)||e),o=e.get(["time","monthAbbr"])||[]);var c="start"===s?0:1,h="horizontal"===n?0:1;a="start"===s?-a:a;for(var d="center"===l,p=0;p<u[c].length-1;p++){var f=u[c][p].slice(),g=this._firstDayOfMonth[p];if(d){var m=this._firstDayPoints[p];f[h]=(m[h]+u[0][p+1][h])/2}var v=r.get("formatter"),y=o[+g.m-1],_={yyyy:g.y,yy:(g.y+"").slice(2),MM:g.m,M:+g.m,nameMap:y},x=this._formatterLabel(v,_),b=new Jl({z2:30,style:Kt(md(r,{text:x}),this._monthTextPositionControl(f,d,n,s,a))});i.add(b)}}},e.prototype._weekTextPositionControl=function(t,e,n,i,r){var o="center",a="middle",s=t[0],l=t[1],u="start"===n;return"horizontal"===e?(s=s+i+(u?1:-1)*r[0]/2,o=u?"right":"left"):(l=l+i+(u?1:-1)*r[1]/2,a=u?"bottom":"top"),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderWeekText=function(t,e,n,i,r){var o=t.getModel("dayLabel");if(o.get("show")){var a=t.coordinateSystem,s=o.get("position"),l=o.get("nameMap"),u=o.get("margin"),c=a.getFirstDayOfWeek();if(!l||pe(l))l&&(e=Qd(l)||e),l=e.get(["time","dayOfWeekShort"])||oe(e.get(["time","dayOfWeekAbbr"]),(function(t){return t[0]}));var h=a.getNextNDay(n.end.time,7-n.lweek).time,d=[a.getCellWidth(),a.getCellHeight()];u=oa(u,Math.min(d[1],d[0])),"start"===s&&(h=a.getNextNDay(n.start.time,-(7+n.fweek)).time,u=-u);for(var p=0;p<7;p++){var f,g=a.getNextNDay(h,p),m=a.dataToRect([g.time],!1).center;f=Math.abs((p+c)%7);var v=new Jl({z2:30,style:Kt(md(o,{text:l[f]}),this._weekTextPositionControl(m,i,s,u,d))});r.add(v)}}},e.type="calendar",e}(zm),sz=864e5,lz=function(){function t(e,n,i){this.type="calendar",this.dimensions=t.dimensions,this.getDimensionsInfo=t.getDimensionsInfo,this._model=e}return t.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},t.prototype.getRangeInfo=function(){return this._rangeInfo},t.prototype.getModel=function(){return this._model},t.prototype.getRect=function(){return this._rect},t.prototype.getCellWidth=function(){return this._sw},t.prototype.getCellHeight=function(){return this._sh},t.prototype.getOrient=function(){return this._orient},t.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},t.prototype.getDateInfo=function(t){var e=(t=ma(t)).getFullYear(),n=t.getMonth()+1,i=n<10?"0"+n:""+n,r=t.getDate(),o=r<10?"0"+r:""+r,a=t.getDay();return{y:e+"",m:i,d:o,day:a=Math.abs((a+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+i+"-"+o,date:t}},t.prototype.getNextNDay=function(t,e){return 0===(e=e||0)||(t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t)},t.prototype.update=function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,i=["width","height"],r=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[n,7]:[7,n];re([0,1],(function(t){u(r,t)&&(o[i[t]]=r[t]*a[t])}));var s={width:e.getWidth(),height:e.getHeight()},l=this._rect=Gp(o,s);function u(t,e){return null!=t[e]&&"auto"!==t[e]}re([0,1],(function(t){u(r,t)||(r[t]=l[i[t]]/a[t])})),this._sw=r[0],this._sh=r[1]},t.prototype.dataToPoint=function(t,e){he(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),i=this._rangeInfo,r=n.formatedDate;if(e&&!(n.time>=i.start.time&&n.time<i.end.time+sz))return[NaN,NaN];var o=n.day,a=this._getRangeInfo([i.start.time,r]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]:[this._rect.x+a*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},t.prototype.pointToData=function(t){var e=this.pointToDate(t);return e&&e.time},t.prototype.dataToRect=function(t,e){var n=this.dataToPoint(t,e);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},t.prototype.pointToDate=function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,e-1,i):this._getDateByWeeksAndDay(e,n-1,i)},t.prototype.convertToPixel=function(t,e,n){var i=uz(e);return i===this?i.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=uz(e);return i===this?i.pointToData(n):null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.prototype._initRangeOption=function(){var t,e=this._model.get("range");if(he(e)&&1===e.length&&(e=e[0]),he(e))t=e;else{var n=e.toString();if(/^\d{4}$/.test(n)&&(t=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var i=this.getDateInfo(n),r=i.date;r.setMonth(r.getMonth()+1);var o=this.getNextNDay(r,-1);t=[i.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(t=[n,n])}if(!t)return e;var a=this._getRangeInfo(t);return a.start.time>a.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/sz)-Math.floor(n[0].time/sz)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a)for(var l=r.getTime()-n[1].time>0?1:-1;(s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0;)i-=l,r.setDate(s-l);var u=Math.floor((i+n[0].day+6)/7),c=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:c,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&e<i.fweek||t===i.weeks&&e>i.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",(function(e){var n=new t(e);i.push(n),e.coordinateSystem=n})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])})),i},t.dimensions=["time","value"],t}();function uz(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}function cz(t,e){var n;return re(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}var hz=["transition","enterFrom","leaveTo"],dz=hz.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function pz(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?hz:dz,r=0;r<i.length;r++){var o=i[r];null==t[o]&&null!=e[o]&&(t[o]=e[o])}}var fz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventAutoZ=!0,n}return Tt(e,t),e.prototype.mergeOption=function(e,n){var i=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,e,n),this.option.elements=i},e.prototype.optionUpdated=function(t,e){var n=this.option,i=(e?n:t).elements,r=n.elements=e?[]:n.elements,o=[];this._flatten(i,o,null);var a=ka(r,o,"normalMerge"),s=this._elOptionsToUpdate=[];re(a,(function(t,e){var n=t.newOption;n&&(s.push(n),function(t,e){var n=t.existing;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var i=e.parentOption;i?e.parentId=i.id:n&&(e.parentId=n.parentId)}e.parentOption=null}(t,n),function(t,e,n){var i=Kt({},n),r=t[e],o=n.$action||"merge";"merge"===o?r?(qt(r,i,!0),Wp(r,i,{ignoreSize:!0}),jp(n,r),pz(n,r),pz(n,r,"shape"),pz(n,r,"style"),pz(n,r,"extra"),n.clipPath=r.clipPath):t[e]=i:"replace"===o?t[e]=i:"remove"===o&&r&&(t[e]=null)}(r,e,n),function(t,e){if(t&&(t.hv=e.hv=[cz(e,["left","right"]),cz(e,["top","bottom"])],"group"===t.type)){var n=t,i=e;null==n.width&&(n.width=i.width=0),null==n.height&&(n.height=i.height=0)}}(r[e],n))}),this),n.elements=se(r,(function(t){return t&&delete t.$action,null!=t}))},e.prototype._flatten=function(t,e,n){re(t,(function(t){if(t){n&&(t.parentOption=n),e.push(t);var i=t.children;i&&i.length&&this._flatten(i,e,t),delete t.children}}),this)},e.prototype.useElOptionsToUpdate=function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t},e.type="graphic",e.defaultOption={elements:[]},e}(Zp),gz={path:null,compoundPath:null,group:qo,image:Gl,text:Jl},mz=Ua(),vz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.init=function(){this._elMap=ke()},e.prototype.render=function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},e.prototype._updateElements=function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,i=this.group,r=t.get("z"),o=t.get("zlevel");re(e,(function(e){var a=za(e.id,null),s=null!=a?n.get(a):null,l=za(e.parentId,null),u=null!=l?n.get(l):i,c=e.type,h=e.style;"text"===c&&h&&e.hv&&e.hv[1]&&(h.textVerticalAlign=h.textBaseline=h.verticalAlign=h.align=null);var d=e.textContent,p=e.textConfig;if(h&&Sk(h,c,!!p,!!d)){var f=Ak(h,c,!0);!p&&f.textConfig&&(p=e.textConfig=f.textConfig),!d&&f.textContent&&(d=f.textContent)}var g=function(t){return t=Kt({},t),re(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(Bp),(function(e){delete t[e]})),t}(e),m=e.$action||"merge",v="merge"===m,y="replace"===m;if(v){var _=s;(M=!s)?_=_z(a,u,e.type,n):(_&&(mz(_).isNew=!1),Xk(_)),_&&(Rk(_,g,t,{isInit:M}),bz(_,e,r,o))}else if(y){xz(s,e,n,t);var x=_z(a,u,e.type,n);x&&(Rk(x,g,t,{isInit:!0}),bz(x,e,r,o))}else"remove"===m&&(Nk(s,e),xz(s,e,n,t));var b=n.get(a);if(b&&d)if(v){var w=b.getTextContent();w?w.attr(d):b.setTextContent(new Jl(d))}else y&&b.setTextContent(new Jl(d));if(b){var S=e.clipPath;if(S){var A=S.type,T=void 0,M=!1;if(v){var I=b.getClipPath();T=(M=!I||mz(I).type!==A)?yz(A):I}else y&&(M=!0,T=yz(A));b.setClipPath(T),Rk(T,S,t,{isInit:M}),jk(T,S.keyframeAnimation,t)}var C=mz(b);b.setTextConfig(p),C.option=e,function(t,e,n){var i=cu(t).eventData;t.silent||t.ignore||i||(i=cu(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name});i&&(i.info=n.info)}(b,t,e),sd({el:b,componentModel:t,itemName:b.name,itemTooltipOption:e.tooltip}),jk(b,e.keyframeAnimation,t)}}))}},e.prototype._relocate=function(t,e){for(var n=t.option.elements,i=this.group,r=this._elMap,o=e.getWidth(),a=e.getHeight(),s=["x","y"],l=0;l<n.length;l++){if((f=null!=(p=za((d=n[l]).id,null))?r.get(p):null)&&f.isGroup){var u=(g=f.parent)===i,c=mz(f),h=mz(g);c.width=oa(c.option.width,u?o:h.width)||0,c.height=oa(c.option.height,u?a:h.height)||0}}for(l=n.length-1;l>=0;l--){var d,p,f;if(f=null!=(p=za((d=n[l]).id,null))?r.get(p):null){var g=f.parent,m=(h=mz(g),{}),v=Up(f,d,g===i?{width:o,height:a}:{width:h.width,height:h.height},null,{hv:d.hv,boundingMode:d.bounding},m);if(!mz(f).isNew&&v){for(var y=d.transition,_={},x=0;x<s.length;x++){var b=s[x],w=m[b];y&&(Ok(y)||te(y,b)>=0)?_[b]=w:f[b]=w}Lh(f,_,t,0)}else f.attr(m)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){xz(n,mz(n).option,e,t._lastGraphicModel)})),this._elMap=ke()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(zm);function yz(t){var e=new(Fe(gz,t)?gz[t]:Hh(t))({});return mz(e).type=t,e}function _z(t,e,n,i){var r=yz(n);return e.add(r),i.set(t,r),mz(r).id=t,mz(r).isNew=!0,r}function xz(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse((function(t){xz(t,e,n,i)})),kk(t,e,i),n.removeKey(mz(t).id))}function bz(t,e,n,i){t.isGroup||re([["cursor",Rs.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],(function(n){var i=n[0];Fe(e,i)?t[i]=Se(e[i],n[1]):null==t[i]&&(t[i]=n[1])})),re(le(e),(function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=de(i)?i:null}})),Fe(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var wz=["x","y","radius","angle","single"],Sz=["cartesian2d","polar","singleAxis"];function Az(t){return t+"Axis"}function Tz(t,e){var n,i=ke(),r=[],o=ke();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),r.push(t),t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}function Mz(t){var e=t.ecModel,n={infoList:[],infoMap:ke()};return t.eachTargetAxis((function(t,i){var r=e.getComponent(Az(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}})),n}var Iz=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),Cz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return Tt(e,t),e.prototype.init=function(t,e,n){var i=Dz(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=Dz(t);qt(this.option,t,!0),qt(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;re([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=ke();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return re(wz,(function(n){var i=this.getReferringComponents(Az(n),Ya);if(i.specified){e=!0;var r=new Iz;re(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";o(n.findComponents({mainType:r+"Axis"}),r)}i&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single");function o(e,n){var r=e[0];if(r){var o=new Iz;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",ja).models[0];a&&re(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",ja).models[0]&&o.add(t.componentIndex)}))}}}i&&re(wz,(function(e){if(i){var r=n.findComponents({mainType:Az(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new Iz;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");re([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(Az(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){re(n.indexList,(function(n){t.call(e,i,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(Az(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;re([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;re(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var r=n[i],o=this._targetAxisInfoMap.get(r),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(r,o.indexList[a]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(Zp);function Dz(t){var e={};return re(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}var Ez=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.type="dataZoom.select",e}(Cz),Lz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.render=function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(zm),Pz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.type="dataZoom.select",e}(Lz),Rz=re,Nz=sa,kz=function(){function t(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries((function(e){if(function(t){var e=t.get("coordinateSystem");return te(Sz,e)>=0}(e)){var n=Az(this._dimName),i=e.getReferringComponents(n,ja).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return Qt(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];Rz(["start","end"],(function(l,u){var c=t[l],h=t[l+"Value"];"percent"===r[u]?(null==c&&(c=o[u]),h=i.parse(ra(c,o,n))):(e=!0,c=ra(h=null==h?n[u]:i.parse(h),n,o)),s[u]=null==h||isNaN(h)?n[u]:h,a[u]=null==c||isNaN(c)?o[u]:c})),Nz(s),Nz(a);var l=this._minMaxSpan;function u(t,e,n,r,o){var a=o?"Span":"ValueSpan";$L(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=ra(t[s],n,r,!0),o&&(e[s]=i.parse(e[s]))}return e?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];Rz(n,(function(t){!function(t,e,n){e&&re(zb(e,n),(function(n){var i=e.getApproximateExtent(n);i[0]<t[0]&&(t[0]=i[0]),i[1]>t[1]&&(t[1]=i[1])}))}(i,t.getData(),e)}));var r=t.getAxisModel(),o=Cb(r.axis.scale,r,i).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&Rz(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var a=e.getStore(),s=oe(i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,l=0;l<i.length;l++){var u=a.get(s[l],t),c=!isNaN(u),h=u<o[0],d=u>o[1];if(c&&!h&&!d)return!0;c&&(r=!0),h&&(e=!0),d&&(n=!0)}return r&&e&&n}))}else Rz(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}}));Rz(i,(function(t){e.setApproximateExtent(o,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;Rz(["min","max"],(function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=ra(n[0]+o,n,[0,100],!0):null!=r&&(o=ra(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=ca(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();var Oz={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent(Az(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new kz(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=ke();return re(n,(function(t){re(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}};var Bz=!1;function zz(t){Bz||(Bz=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,Oz),function(t){t.registerAction("dataZoom",(function(t,e){re(Tz(e,t),(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function Fz(t){t.registerComponentModel(Ez),t.registerComponentView(Pz),zz(t)}var Vz=function(){},Gz={};function Uz(t,e){Gz[t]=e}function Hz(t){return Gz[t]}var Wz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;re(this.option.feature,(function(t,n){var i=Hz(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),qt(t,i.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(Zp);function Xz(t,e){var n=Cp(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new Zl({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}var jz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];re(s,(function(t,e){u.push(e)})),new J_(this._featureNames||[],u).add(c).update(c).remove(ce(c,null)).execute(),this._featureNames=u,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=Gp(i,o,r);Vp(e.get("orient"),t,e.get("itemGap"),a.width,a.height),Up(t,i,o,r)}(r,t,n),r.add(Xz(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!de(l)&&e){var u=l.style||(l.style={}),c=No(e,Jl.makeFont(u)),h=t.x+r.x,d=!1;t.y+r.y+o+c.height>n.getHeight()&&(a.position="top",d=!0);var p=d?-5-c.height:o+10;h+c.width/2>n.getWidth()?(a.position=["100%",p],u.align="right"):h-c.width/2<0&&(a.position=[0,p],u.align="left")}}))}function c(c,h){var d,p=u[c],f=u[h],g=s[p],m=new zd(g,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===p&&(g.title=i.newTitle),p&&!f){if(function(t){return 0===t.indexOf("my")}(p))d={onclick:m.option.onclick,featureName:p};else{var v=Hz(p);if(!v)return;d=new v}l[p]=d}else if(!(d=l[f]))return;d.uid=Vd("toolbox-feature"),d.model=m,d.ecModel=e,d.api=n;var y=d instanceof Vz;p||!f?!m.get("show")||y&&d.unusable?y&&d.remove&&d.remove(e,n):(!function(i,s,l){var u,c,h=i.getModel("iconStyle"),d=i.getModel(["emphasis","iconStyle"]),p=s instanceof Vz&&s.getIcons?s.getIcons():i.get("icon"),f=i.get("title")||{};pe(p)?(u={})[l]=p:u=p;pe(f)?(c={})[l]=f:c=f;var g=i.iconPaths={};re(u,(function(l,u){var p=id(l,{},{x:-o/2,y:-o/2,width:o,height:o});p.setStyle(h.getItemStyle()),p.ensureState("emphasis").style=d.getItemStyle();var f=new Jl({style:{text:c[u],align:d.get("textAlign"),borderRadius:d.get("textBorderRadius"),padding:d.get("textPadding"),fill:null,font:wd({fontStyle:d.get("textFontStyle"),fontFamily:d.get("textFontFamily"),fontSize:d.get("textFontSize"),fontWeight:d.get("textFontWeight")},e)},ignore:!0});p.setTextContent(f),sd({el:p,componentModel:t,itemName:u,formatterParamsExtra:{title:c[u]}}),p.__title=c[u],p.on("mouseover",(function(){var e=d.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";f.setStyle({fill:d.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:d.get("textBackgroundColor")}),p.setTextConfig({position:d.get("textPosition")||i}),f.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),f.hide()})),("emphasis"===i.get(["iconStatus",u])?Hu:Wu)(p),r.add(p),p.on("click",ue(s.onclick,s,e,n,u)),g[u]=p}))}(m,d,p),m.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?Hu:Wu)(i[t])},d instanceof Vz&&d.render&&d.render(m,e,n,i)):y&&d.dispose&&d.dispose(e,n)}},e.prototype.updateView=function(t,e,n,i){re(this._features,(function(t){t instanceof Vz&&t.updateView&&t.updateView(t.model,e,n,i)}))},e.prototype.remove=function(t,e){re(this._features,(function(n){n instanceof Vz&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){re(this._features,(function(n){n instanceof Vz&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(zm);var Yz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),o=r?"svg":n.get("type",!0)||"png",a=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=It.browser;if("function"!=typeof MouseEvent||!s.newEdge&&(s.ie||s.edge))if(window.navigator.msSaveOrOpenBlob||r){var l=a.split(","),u=l[0].indexOf("base64")>-1,c=r?decodeURIComponent(l[1]):l[1];u&&(c=window.atob(c));var h=i+"."+o;if(window.navigator.msSaveOrOpenBlob){for(var d=c.length,p=new Uint8Array(d);d--;)p[d]=c.charCodeAt(d);var f=new Blob([p]);window.navigator.msSaveOrOpenBlob(f,h)}else{var g=document.createElement("iframe");document.body.appendChild(g);var m=g.contentWindow,v=m.document;v.open("image/svg+xml","replace"),v.write(c),v.close(),m.focus(),v.execCommand("SaveAs",!0,h),document.body.removeChild(g)}}else{var y=n.get("lang"),_='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(y&&y[0]||"")+'" /></body>',x=window.open();x.document.write(_),x.document.title=i}else{var b=document.createElement("a");b.download=i+"."+o,b.target="_blank",b.href=a;var w=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});b.dispatchEvent(w)}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(Vz),Zz="__ec_magicType_stack__",Qz=[["line","bar"],["stack"]],qz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return re(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(Jz[n]){var o,a={series:[]};re(Qz,(function(t){te(t,n)>=0&&re(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},(function(t){var e=t.subType,r=t.id,o=Jz[n](e,r,t,i);o&&($t(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",c=t.getReferringComponents(u,ja).models[0].componentIndex;a[u]=a[u]||[];for(var h=0;h<=c;h++)a[u][c]=a[u][c]||{};a[u][c].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(o=qt({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},e}(Vz),Jz={line:function(t,e,n,i){if("bar"===t)return qt({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return qt({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===Zz;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),qt({id:e,stack:r?"":Zz},i.get(["option","stack"])||{},!0)}};O_({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var Kz=new Array(60).join("-"),$z="\t";function tF(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var eF=new RegExp("["+$z+"]+","g");function nF(t,e){var n=t.split(new RegExp("\n*"+Kz+"\n*","g")),i={series:[]};return re(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf($z)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],i=oe(tF(e.shift()).split(eF),(function(t){return{name:t,data:[]}})),r=0;r<e.length;r++){var o=tF(e[r]).split(eF);n.push(o.shift());for(var a=0;a<o.length;a++)i[a]&&(i[a].data[r]=o[a])}return{series:i,categories:n}}(t),o=e[n],a=o.axisDim+"Axis";o&&(i[a]=i[a]||[],i[a][o.axisIndex]={data:r.categories},i.series=i.series.concat(r.series))}else{r=function(t){for(var e=t.split(/\n+/g),n=tF(e.shift()),i=[],r=0;r<e.length;r++){var o=tF(e[r]);if(o){var a=o.split(eF),s="",l=void 0,u=!1;isNaN(a[0])?(u=!0,s=a[0],a=a.slice(1),i[r]={name:s,value:[]},l=i[r].value):l=i[r]=[];for(var c=0;c<a.length;c++)l.push(+a[c]);1===l.length&&(u?i[r].value=l[0]:i[r]=l[0])}}return{name:n,data:i}}(t);i.series.push(r)}})),i}var iF=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.prototype.onclick=function(t,e){setTimeout((function(){e.dispatchAction({type:"hideTip"})}));var n=e.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",r.style.backgroundColor=i.get("backgroundColor")||"#fff";var o=document.createElement("h4"),a=i.get("lang")||[];o.innerHTML=a[0]||i.get("title"),o.style.cssText="margin:10px 20px",o.style.color=i.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="overflow:auto";var u=i.get("optionToContent"),c=i.get("contentToOption"),h=function(t){var e,n,i,r=function(t){var e={},n=[],i=[];return t.eachRawSeries((function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(t);else{var o=r.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;e[a]||(e[a]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},i.push({axisDim:o.dim,axisIndex:o.index})),e[a].series.push(t)}else n.push(t)}})),{seriesGroupByCategoryAxis:e,other:n,meta:i}}(t);return{value:se([(n=r.seriesGroupByCategoryAxis,i=[],re(n,(function(t,e){var n=t.categoryAxis,r=t.valueAxis.dim,o=[" "].concat(oe(t.series,(function(t){return t.name}))),a=[n.model.getCategories()];re(t.series,(function(t){var e=t.getRawData();a.push(t.getRawData().mapArray(e.mapDimension(r),(function(t){return t})))}));for(var s=[o.join($z)],l=0;l<a[0].length;l++){for(var u=[],c=0;c<a.length;c++)u.push(a[c][l]);s.push(u.join($z))}i.push(s.join("\n"))})),i.join("\n\n"+Kz+"\n\n")),(e=r.other,oe(e,(function(t){var e=t.getRawData(),n=[t.name],i=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,r=arguments[t-1],o=e.getName(r),a=0;a<t-1;a++)i[a]=arguments[a];n.push((o?o+$z:"")+i.join($z))})),n.join("\n")})).join("\n\n"+Kz+"\n\n"))],(function(t){return!!t.replace(/[\n\t\s]/g,"")})).join("\n\n"+Kz+"\n\n"),meta:r.meta}}(t);if(de(u)){var d=u(e.getOption());pe(d)?s.innerHTML=d:_e(d)&&s.appendChild(d)}else{l.readOnly=i.get("readOnly");var p=l.style;p.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",p.color=i.get("textColor"),p.borderColor=i.get("textareaBorderColor"),p.backgroundColor=i.get("textareaColor"),l.value=h.value,s.appendChild(l)}var f=h.meta,g=document.createElement("div");g.style.cssText="position:absolute;bottom:5px;left:0;right:0";var m="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",v=document.createElement("div"),y=document.createElement("div");m+=";background-color:"+i.get("buttonColor"),m+=";color:"+i.get("buttonTextColor");var _=this;function x(){n.removeChild(r),_._dom=null}Mn(v,"click",x),Mn(y,"click",(function(){if(null==c&&null!=u||null!=c&&null==u)x();else{var t;try{t=de(c)?c(s,e.getOption()):nF(l.value,f)}catch(KJ){throw x(),new Error("Data view format error "+KJ)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),x()}})),v.innerHTML=a[1],y.innerHTML=a[2],y.style.cssText=v.style.cssText=m,!i.get("readOnly")&&g.appendChild(y),g.appendChild(v),r.appendChild(o),r.appendChild(s),r.appendChild(g),s.style.height=n.clientHeight-80+"px",n.appendChild(r),this._dom=r},e.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.getDefaultOption=function(t){return{show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:t.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"}},e}(Vz);function rF(t,e){return oe(t,(function(t,n){var i=e&&e[n];if(me(i)&&!he(i)){me(t)&&!he(t)||(t={value:t});var r=null!=i.name&&null==t.name;return t=$t(t,i),r&&delete t.name,t}return t}))}O_({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(t,e){var n=[];re(t.newOption.series,(function(t){var i=e.getSeriesByName(t.name)[0];if(i){var r=i.get("data");n.push({name:t.name,data:rF(t.data,r)})}else n.push(Kt({type:"scatter"},t))})),e.mergeOption($t({series:n},t.newOption))}));var oF=re,aF=Ua();function sF(t){var e=aF(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var lF=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.prototype.onclick=function(t,e){!function(t){aF(t).snapshots=null}(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){return{show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])}},e}(Vz);O_({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var uF=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],cF=function(){function t(t,e,n){var i=this;this._targetInfoList=[];var r=dF(e,t);re(pF,(function(t,e){(!n||!n.include||te(n.include,e)>=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=mF[t.brushType](0,n,e);t.__rangeOffset={offset:yF[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){re(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&re(i.coordSyses,(function(i){var r=mF[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){re(t,(function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=mF[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?yF[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=xF(n),o=xF(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},t.prototype.makePanelOpts=function(t,e){return oe(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:rR(i),isTargetByCursor:aR(i,t,n.coordSysModel),getLinearBrushOtherExtent:oR(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&te(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=dF(e,t),r=0;r<n.length;r++){var o=n[r],a=t.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<fF.length;s++)if(fF[s](i,o))return o}return!0},t}();function hF(t){return t[0]>t[1]&&t.reverse(),t}function dF(t,e){return Wa(t,e,{includeMainTypes:uF})}var pF={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=ke(),a={},s={};(n||i||r)&&(re(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),re(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),re(r,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];re(r.getCartesians(),(function(t,e){(te(n,t.getAxis("x").model)>=0||te(i,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:gF.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){re(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:gF.geo})}))}},fF=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],gF={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Jh(t)),e}},mF={lineX:ce(vF,0),lineY:ce(vF,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[hF([r[0],o[0]]),hF([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:oe(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o})),xyMinMax:r}}};function vF(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=hF(oe([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var yF={lineX:ce(_F,0),lineY:ce(_F,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return oe(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function _F(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function xF(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var bF,wF,SF=re,AF=Da+"toolbox-dataZoom_",TF=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new IP(n.getZr()),this._brushController.on("brush",ue(this._onBrush,this)).mount()),function(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new cF(IF(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return sF(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){MF[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new cF(IF(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}})),function(t,e){var n=sF(t);oF(e,(function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}})),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)})),i}(t,a,i),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=$L(0,r.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];SF(t,(function(t,n){e.push(Qt(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(Vz),MF={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=sF(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return oF(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}})),i}(this.ecModel))}};function IF(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}bF="dataZoom",wF=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=Wa(t,IF(i));return SF(o.xAxisModels,(function(t){return a(t,"xAxis","xAxisIndex")})),SF(o.yAxisModels,(function(t){return a(t,"yAxis","yAxisIndex")})),r}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:AF+e+o};a[n]=o,r.push(a)}},Ie(null==gf.get(bF)&&wF),gf.set(bF,wF);var CF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(Zp);function DF(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function EF(t){if(It.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}var LF=EF(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);function PF(t,e){if(!t)return e;e=Ip(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var RF=PF(EF(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),"transition"),NF=PF(LF,"transform"),kF="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(It.transform3dSupported?"will-change:transform;":"");function OF(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!It.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=It.transform3dSupported,a="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+NF+":"+a+";":[["top",0],["left",0],[LF,a]]}function BF(t,e,n){var i=[],r=t.get("transitionDuration"),o=t.get("backgroundColor"),a=t.get("shadowBlur"),s=t.get("shadowColor"),l=t.get("shadowOffsetX"),u=t.get("shadowOffsetY"),c=t.getModel("textStyle"),h=Am(t,"html"),d=l+"px "+u+"px "+a+"px "+s;return i.push("box-shadow:"+d),e&&r&&i.push(function(t,e){var n="cubic-bezier(0.23,1,0.32,1)",i=" "+t/2+"s "+n,r="opacity"+i+",visibility"+i;return e||(i=" "+t+"s "+n,r+=It.transformSupported?","+NF+i:",left"+i+",top"+i),RF+":"+r}(r,n)),o&&i.push("background-color:"+o),re(["width","color","radius"],(function(e){var n="border-"+e,r=Ip(n),o=t.get(r);null!=o&&i.push(n+":"+o+("color"===e?"":"px"))})),i.push(function(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px");var r=t.get("textShadowColor"),o=t.get("textShadowBlur")||0,a=t.get("textShadowOffsetX")||0,s=t.get("textShadowOffsetY")||0;return r&&o&&e.push("text-shadow:"+a+"px "+s+"px "+o+"px "+r),re(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}(c)),null!=h&&i.push("padding:"+Cp(h).join("px ")+"px"),i.join(";")+";"}function zF(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&function(t,e,n,i,r){fn(pn,e,i,r,!0)&&fn(t,n,pn[0],pn[1])}(t,a,n,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var FF=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,It.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),r=e.appendTo,o=r&&(pe(r)?document.querySelector(r):_e(r)?r:de(r)&&r(t.getDom()));zF(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=i.handler;Tn(i.painter.getViewportRoot(),t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),n=(o="position",(a=(r=e).currentStyle||document.defaultView&&document.defaultView.getComputedStyle(r))?a[o]:null),i=e.style;"absolute"!==i.position&&"absolute"!==n&&(i.position="relative")}var r,o,a,s=t.get("alwaysShowContent");s&&this._moveIfResized(),this._alwaysShowContent=s,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,r=this._styleCoord;n.innerHTML?i.cssText=kF+BF(t,!this._firstShow,this._longHide)+OF(r[0],r[1],!0)+"border-color:"+Np(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null!=t){var a="";if(pe(r)&&"item"===n.get("trigger")&&!DF(n)&&(a=function(t,e,n){if(!pe(n)||"inside"===n)return"";var i=t.get("backgroundColor"),r=t.get("borderWidth");e=Np(e);var o,a,s="left"===(o=n)?"right":"right"===o?"left":"top"===o?"bottom":"top",l=Math.max(1.5*Math.round(r),6),u="",c=NF+":";te(["left","right"],s)>-1?(u+="top:50%",c+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",c+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var h=a*Math.PI/180,d=l+r,p=d*Math.abs(Math.cos(h))+d*Math.abs(Math.sin(h)),f=e+" solid "+r+"px;";return'<div style="'+["position:absolute;width:"+l+"px;height:"+l+"px;z-index:-1;",(u+=";"+s+":-"+Math.round(100*((p-Math.SQRT2*r)/2+Math.SQRT2*r-(p-d)/2))/100+"px")+";"+c+";","border-bottom:"+f,"border-right:"+f,"background-color:"+i+";"].join("")+'"></div>'}(n,i,r)),pe(t))o.innerHTML=t+a;else if(t){o.innerHTML="",he(t)||(t=[t]);for(var s=0;s<t.length;s++)_e(t[s])&&t[s].parentNode!==o&&o.appendChild(t[s]);if(a&&o.childNodes.length){var l=document.createElement("div");l.innerHTML=a,o.appendChild(l)}}}else o.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var n=this._styleCoord;if(zF(n,this._zr,this._container,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style;re(OF(n[0],n[1]),(function(t){i[t[0]]=t[1]}))}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",It.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return t._longHide=!0}),500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(ue(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},t}(),VF=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),HF(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){var o=this;me(t)&&Ma(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new Jl({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:Am(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),re(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(t){o.el.style[t]=n.get(t)})),re(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(t){o.el.style[t]=a.get(t)||0})),this._zr.add(this.el);var s=this;this.el.on("mouseover",(function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0})),this.el.on("mouseout",(function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1}))},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=UF(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;HF(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,o=GF(r.borderWidth||0),a=UF(r);n.x=t+o+a.left,n.y=e+o+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(ue(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function GF(t){return Math.max(0,t)}function UF(t){var e=GF(t.shadowBlur||0),n=GF(t.shadowOffsetX||0),i=GF(t.shadowOffsetY||0);return{left:GF(e-n),right:GF(e+n),top:GF(e-i),bottom:GF(e+i)}}function HF(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var WF=new Zl({shape:{x:-1,y:-1,width:2,height:2}}),XF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.init=function(t,e){if(!It.node&&e.getDom()){var n,i=t.getComponent("tooltip"),r=this._renderMode="auto"===(n=i.get("renderMode"))?It.domSupported?"html":"richText":n||"html";this._tooltipContent="richText"===r?new VF(e):new FF(e,{appendTo:i.get("appendToBody",!0)?"body":i.get("appendTo",!0)})}},e.prototype.render=function(t,e,n){if(!It.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?Km(this,"_updatePosition",50,"fixRate"):$m(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");ZO("itemTooltip",this._api,ue((function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!It.node&&n.getDom()){var r=YF(i,n);this._ticket="";var o=i.dataByCoordSys,a=function(t,e,n){var i=Xa(t).queryOptionMap,r=i.keys()[0];if(!r||"series"===r)return;var o=Za(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(!a)return;var s,l=n.getViewOfComponentModel(a);if(l.group.traverse((function(e){var n=cu(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s)return{componentMainType:r,componentIndex:a.componentIndex,el:s}}(i,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var l=WF;l.x=i.x,l.y=i.y,l.update(),cu(l).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:l},r)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var u=$O(i,e),c=u.point[0],h=u.point[1];null!=c&&null!=h&&this._tryShow({offsetX:c,offsetY:h,target:u.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(YF(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s)if("axis"===jF([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,o;if("legend"===cu(n).ssrType)return;this._lastDataByCoordSys=null,Uv(n,(function(t){return null!=cu(t).dataIndex?(r=t,!0):null!=cu(t).tooltipConfig?(o=t,!0):void 0}),!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=ue(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=jF([e.tooltipOption],i),a=this._renderMode,s=[],l=fm("section",{blocks:[],noHeader:!0}),u=[],c=new Tm;re(t,(function(t){re(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=kO(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),h=fm("section",{header:o,noHeader:!Ce(o),sortBlocks:!0,blocks:[]});l.blocks.push(h),re(t.seriesDataIndices,(function(l){var d=n.getSeriesByIndex(l.seriesIndex),p=l.dataIndexInside,f=d.getDataParams(p);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=Nb(e.axis,{value:r}),f.axisValueLabel=o,f.marker=c.makeTooltipMarker("item",Np(f.color),a);var g=Eg(d.formatTooltip(p,!0,null)),m=g.frag;if(m){var v=jF([d],i).get("valueFormatter");h.blocks.push(v?Kt({valueFormatter:v},m):m)}g.text&&u.push(g.text),s.push(f)}}))}}))})),l.blocks.reverse(),u.reverse();var h=e.position,d=o.get("order"),p=xm(l,c,a,d,n.get("useUTC"),o.get("textStyle"));p&&u.unshift(p);var f="richText"===a?"\n\n":"<br/>",g=u.join(f);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,h,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",r[0],r[1],h,null,c)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=cu(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,c=s.getData(u),h=this._renderMode,d=t.positionDefault,p=jF([c.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),f=p.get("trigger");if(null==f||"item"===f){var g=s.getDataParams(l,u),m=new Tm;g.marker=m.makeTooltipMarker("item",Np(g.color),h);var v=Eg(s.formatTooltip(l,!1,u)),y=p.get("order"),_=p.get("valueFormatter"),x=v.frag,b=x?xm(_?Kt({valueFormatter:_},x):x,m,h,y,i.get("useUTC"),p.get("textStyle")):v.text,w="item_"+s.name+"_"+l;this._showOrMove(p,(function(){this._showTooltipContent(p,b,g,w,t.offsetX,t.offsetY,t.position,t.target,m)})),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=cu(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;if(pe(o)){o={content:o,formatter:o},a=!0}a&&i&&o.content&&((o=Qt(o)).content=yn(o.content));var s=[o],l=this._ecModel.getComponent(r.componentMainType,r.componentIndex);l&&s.push(l),s.push({formatter:o.content});var u=t.positionDefault,c=jF(s,this._tooltipModel,u?{position:u}:null),h=c.get("content"),d=Math.random()+"",p=new Tm;this._showOrMove(c,(function(){var n=Qt(c.get("formatterParams")||{});this._showTooltipContent(c,h,n,d,t.offsetX,t.offsetY,t.position,e,p)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var c=t.get("formatter");a=a||t.get("position");var h=e,d=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(c)if(pe(c)){var p=t.ecModel.get("useUTC"),f=he(n)?n[0]:n;h=c,f&&f.axisType&&f.axisType.indexOf("time")>=0&&(h=up(f.axisValue,h,p)),h=Pp(h,n,!0)}else if(de(c)){var g=ue((function(e,i){e===this._ticket&&(u.setContent(i,l,t,d,a),this._updatePosition(t,a,r,o,u,n,s))}),this);this._ticket=i,h=c(n,i,g)}else h=c;u.setContent(h,l,t,d,a),u.show(t,d),this._updatePosition(t,a,r,o,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||he(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:he(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),c=t.get("align"),h=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();if(a&&d.applyTransform(a.transform),de(e)&&(e=e([n,i],o,r.el,d,{viewSize:[s,l],contentSize:u.slice()})),he(e))n=oa(e[0],s),i=oa(e[1],l);else if(me(e)){var p=e;p.width=u[0],p.height=u[1];var f=Gp(p,{width:s,height:l});n=f.x,i=f.y,c=null,h=null}else if(pe(e)&&a){var g=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,c=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+c/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+c+a;break;case"left":s=e.x-r-a,l=e.y+c/2-o/2;break;case"right":s=e.x+u+a,l=e.y+c/2-o/2}return[s,l]}(e,d,u,t.get("borderWidth"));n=g[0],i=g[1]}else{g=function(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];null!=o&&(t+l+o+2>i?t-=l+o:t+=o);null!=a&&(e+u+a>r?e-=u+a:e+=a);return[t,e]}(n,i,r,s,l,c?null:20,h?null:20);n=g[0],i=g[1]}if(c&&(n-=ZF(c)?u[0]/2:"right"===c?u[0]:0),h&&(i-=ZF(h)?u[1]/2:"bottom"===h?u[1]:0),DF(t)){g=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,r,s,l);n=g[0],i=g[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&re(n,(function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&re(a,(function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&re(a,(function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&re(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!It.node&&e.getDom()&&($m(this,"_updatePosition"),this._tooltipContent.dispose(),JO("itemTooltip",e))},e.type="tooltip",e}(zm);function jF(t,e,n){var i,r=e.ecModel;n?(i=new zd(n,r,r),i=new zd(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof zd&&(a=a.get("tooltip",!0)),pe(a)&&(a={formatter:a}),a&&(i=new zd(a,i,r)))}return i}function YF(t,e){return t.dispatchAction||ue(e.dispatchAction,e)}function ZF(t){return"center"===t||"middle"===t}var QF=["rect","polygon","keep","clear"];function qF(t,e){var n=Ea(t?t.brush:[]);if(n.length){var i=[];re(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))}));var r=t&&t.toolbox;he(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o=r.feature||(r.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,i),function(t){var e={};re(t,(function(t){e[t]=1})),t.length=0,re(e,(function(e,n){t.push(n)}))}(s),e&&!s.length&&s.push.apply(s,QF)}}var JF=re;function KF(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function $F(t,e,n){var i={};return JF(e,(function(e){var r,o=i[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);JF(t[e],(function(t,i){if(WD.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new WD(r),"opacity"===i&&((r=Qt(r)).type="colorAlpha",o.__hidden.__alphaForOpacity=new WD(r))}}))})),i}function tV(t,e,n){var i;re(n,(function(t){e.hasOwnProperty(t)&&KF(e[t])&&(i=!0)})),i&&re(n,(function(n){e.hasOwnProperty(n)&&KF(e[n])?t[n]=Qt(e[n]):delete t[n]}))}var eV={lineX:nV(0),lineY:nV(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&Xb(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=i[0];return!!(Xb(i,r,o)||Xb(i,r+a,o)||Xb(i,r,o+s)||Xb(i,r+a,o+s)||Zn.create(t).contain(l[0],l[1])||rd(r,o,r+a,o,i)||rd(r,o,r,o+s,i)||rd(r+a,o,r+a,o+s,i)||rd(r,o+s,r+a,o+s,i))||void 0}}};function nV(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range;return iV(e[t],r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]<s[0]&&s.reverse(),iV(s[0],a)||iV(s[1],a)||iV(a[0],s)||iV(a[1],s)}}}}function iV(t,e){return e[0]<=t&&t<=e[1]}var rV=["inBrush","outOfBrush"],oV="__ecBrushSelect",aV="__ecInBrushSelectEvent";function sV(t){t.eachComponent({mainType:"brush"},(function(e){(e.brushTargetManager=new cF(e.option,t)).setInputRanges(e.areas,t)}))}function lV(t,e,n){var i,r,o=[];t.eachComponent({mainType:"brush"},(function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),sV(t),t.eachComponent({mainType:"brush"},(function(e,n){var a={brushId:e.id,brushIndex:n,brushName:e.name,areas:Qt(e.areas),selected:[]};o.push(a);var s=e.option,l=s.brushLink,u=[],c=[],h=[],d=!1;n||(i=s.throttleType,r=s.throttleDelay);var p=oe(e.areas,(function(t){var e=hV[t.brushType],n=$t({boundingRect:e?e(t):void 0},t);return n.selectors=function(t){var e=t.brushType,n={point:function(i){return eV[e].point(i,n,t)},rect:function(i){return eV[e].rect(i,n,t)}};return n}(n),n})),f=$F(e.option,rV,(function(t){t.mappingMethod="fixed"}));function g(t){return"all"===l||!!u[t]}function m(t){return!!t.length}he(l)&&re(l,(function(t){u[t]=1})),t.eachSeries((function(n,i){var r=h[i]=[];"parallel"===n.subType?function(t,e){var n=t.coordinateSystem;d=d||n.hasAxisBrushed(),g(e)&&n.eachActiveState(t.getData(),(function(t,e){"active"===t&&(c[e]=1)}))}(n,i):function(n,i,r){if(!n.brushSelector||function(t,e){var n=t.option.seriesIndex;return null!=n&&"all"!==n&&(he(n)?te(n,e)<0:e!==n)}(e,i))return;if(re(p,(function(i){e.brushTargetManager.controlSeries(i,n,t)&&r.push(i),d=d||m(r)})),g(i)&&m(r)){var o=n.getData();o.each((function(t){cV(n,r,o,t)&&(c[t]=1)}))}}(n,i,r)})),t.eachSeries((function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};a.selected.push(n);var i=h[e],r=t.getData(),o=g(e)?function(t){return c[t]?(n.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(e){return cV(t,i,r,e)?(n.dataIndex.push(r.getRawIndex(e)),"inBrush"):"outOfBrush"};(g(e)?d:m(i))&&function(t,e,n,i,r){var o,a={};function s(t){return Bv(n,o,t)}function l(t,e){Fv(n,o,t,e)}re(t,(function(t){var n=WD.prepareVisualTypes(e[t]);a[t]=n})),n.each((function(t,u){o=t;var c=n.getRawDataItem(o);if(!c||!1!==c.visualMap)for(var h=i.call(r,t),d=e[h],p=a[h],f=0,g=p.length;f<g;f++){var m=p[f];d[m]&&d[m].applyVisual(t,s,l)}}))}(rV,f,r,o)}))})),function(t,e,n,i,r){if(!r)return;var o=t.getZr();if(o[aV])return;o[oV]||(o[oV]=uV);var a=Km(o,oV,n,e);a(t,i)}(e,i,r,o,n)}function uV(t,e){if(!t.isDisposed()){var n=t.getZr();n[aV]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[aV]=!1}}function cV(t,e,n,i){for(var r=0,o=e.length;r<o;r++){var a=e[r];if(t.brushSelector(i,n,a.selectors,a))return!0}}var hV={rect:function(t){return dV(t.range)},polygon:function(t){for(var e,n=t.range,i=0,r=n.length;i<r;i++){e=e||[[1/0,-1/0],[1/0,-1/0]];var o=n[i];o[0]<e[0][0]&&(e[0][0]=o[0]),o[0]>e[0][1]&&(e[0][1]=o[0]),o[1]<e[1][0]&&(e[1][0]=o[1]),o[1]>e[1][1]&&(e[1][1]=o[1])}return e&&dV(e)}};function dV(t){return new Zn(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var pV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new IP(e.getZr())).on("brush",ue(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},e.prototype.updateTransform=function(t,e,n,i){sV(e),this._updateController(t,e,n,i)},e.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},e.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},e.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:Qt(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:Qt(n),$from:e})},e.type="brush",e}(zm),fV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return Tt(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&tV(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=oe(t,(function(t){return gV(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=gV(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(Zp);function gV(t,e){return qt({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new zd(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var mV=["rect","polygon","lineX","lineY","keep","clear"],vV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Tt(e,t),e.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:"brush"},(function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=i,this._brushMode=r,re(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===i)?"emphasis":"normal")}))},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return re(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){return{show:!0,type:mV.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},e}(Vz);var yV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return Tt(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(Zp),_V=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=Se(t.get("textBaseline"),t.get("textVerticalAlign")),l=new Jl({style:md(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),c=t.get("subtext"),h=new Jl({style:md(o,{text:c,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=t.get("link"),p=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!d&&!f,h.silent=!p&&!f,d&&l.on("click",(function(){kp(d,"_"+t.get("target"))})),p&&h.on("click",(function(){kp(p,"_"+t.get("subtarget"))})),cu(l).eventData=cu(h).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),c&&i.add(h);var g=i.getBoundingRect(),m=t.getBoxLayoutParams();m.width=g.width,m.height=g.height;var v=Gp(m,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?v.x+=v.width:"center"===a&&(v.x+=v.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),i.x=v.x,i.y=v.y,i.markRedraw();var y={align:a,verticalAlign:s};l.setStyle(y),h.setStyle(y),g=i.getBoundingRect();var _=v.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var b=new Zl({shape:{x:g.x-_[3],y:g.y-_[0],width:g.width+_[1]+_[3],height:g.height+_[0]+_[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});i.add(b)}},e.type="title",e}(zm);var xV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return Tt(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],re(n,(function(e,n){var i,o=za(Ra(e),"");me(e)?(i=Qt(e)).value=n:i=n,t.push(i),r.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number";(this._data=new bx([{name:"value",type:o}],this)).initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(Zp),bV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.type="timeline.slider",e.defaultOption=Gd(xV.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(xV);ne(bV,Dg.prototype);var wV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.type="timeline",e}(zm),SV=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return Tt(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(fw),AV=Math.PI,TV=Ua(),MV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){return fm("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},re(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](i,r,a,t)}),this),this._renderAxisLabel(i,o,a,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,i,r,o,a=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return Gp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2<e.getHeight()/2?"-":"+":l.x+l.width/2<e.getWidth()/2?"+":"-":pe(a)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[s][a]:a)>=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:AV/2},d="vertical"===s?l.height:l.width,p=t.getModel("controlStyle"),f=p.get("show",!0),g=f?p.get("itemSize"):0,m=f?p.get("itemGap"):0,v=g+m,y=t.get(["label","rotate"])||0;y=y*AV/180;var _=p.get("position",!0),x=f&&p.get("showPlayBtn",!0),b=f&&p.get("showPrevBtn",!0),w=f&&p.get("showNextBtn",!0),S=0,A=d;"left"===_||"bottom"===_?(x&&(i=[0,0],S+=v),b&&(r=[S,0],S+=v),w&&(o=[A-g,0],A-=v)):(x&&(i=[A-g,0],A-=v),b&&(r=[0,0],S+=v),w&&(o=[A-g,0],A-=v));var T=[S,A];return t.get("inverse")&&T.reverse(),{viewRect:l,mainLength:d,orient:s,rotation:h[s],labelRotation:y,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||c[s],playPosition:i,prevBtnPosition:r,nextBtnPosition:o,axisExtent:T,controlSize:g,controlGap:m}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],a=r.x,s=r.y+r.height;kn(o,o,[-a,-s]),On(o,o,-AV/2),kn(o,o,[a,s]),(r=r.clone()).applyTransform(o)}var l=m(r),u=m(n.getBoundingRect()),c=m(i.getBoundingRect()),h=[n.x,n.y],d=[i.x,i.y];d[0]=h[0]=l[0][0];var p,f=t.labelPosOpt;null==f||pe(f)?(v(h,u,l,1,p="+"===f?0:1),v(d,c,l,1,1-p)):(v(h,u,l,1,p=f>=0?0:1),d[1]=h[1]+f);function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function m(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function v(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.setPosition(h),i.setPosition(d),n.rotation=i.rotation=t.rotation,g(n),g(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new Xx({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new sb({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new Yx}}(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new SV("value",r,t.axisExtent,i);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new qo;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new ah({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:Kt({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new ah({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:$t({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],re(a,(function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),c=s.getModel(["progress","itemStyle"]),h={x:a,y:0,onclick:ue(r._changeTimeline,r,t.value)},d=IV(s,l,e,h);d.ensureState("emphasis").style=u.getItemStyle(),d.ensureState("progress").style=c.getItemStyle(),nc(d);var p=cu(d);s.get("tooltip")?(p.dataIndex=t.value,p.dataModel=i):p.dataIndex=p.dataModel=null,r._tickSymbols.push(d)}))},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();this._tickLabels=[],re(a,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),c=s.getModel(["progress","label"]),h=n.dataToCoord(i.tickValue),d=new Jl({x:h,y:0,rotation:t.labelRotation-t.rotation,onclick:ue(r._changeTimeline,r,a),silent:!1,style:md(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});d.ensureState("emphasis").style=md(u),d.ensureState("progress").style=md(c),e.add(d),nc(d),TV(d).dataIndex=a,r._tickLabels.push(d)}))}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function c(t,n,l,u){if(t){var c=zo(Se(i.get(["controlStyle",n+"BtnSize"]),r),r),h=function(t,e,n,i){var r=i.style,o=id(t.get(["controlStyle",e]),i||{},new Zn(n[0],n[1],n[2],n[3]));r&&o.setStyle(r);return o}(i,n+"Icon",[0,-c/2,c,c],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});h.ensureState("emphasis").style=s,e.add(h),nc(h)}}c(t.nextBtnPosition,"next",ue(this._changeTimeline,this,u?"-":"+")),c(t.prevBtnPosition,"prev",ue(this._changeTimeline,this,u?"+":"-")),c(t.playPosition,l?"stop":"play",ue(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=ue(s._handlePointerDrag,s),t.ondragend=ue(s._handlePointerDragend,s),CV(t,s._progressLine,o,n,i,!0)},onUpdate:function(t){CV(t,s._progressLine,o,n,i)}};this._currentPointer=IV(a,a,this._mainGroup,{},this._currentPointer,l)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=sa(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n<i[0]&&(n=i[0]),this._currentPointer.x=n,this._currentPointer.markRedraw();var r=this._progressLine;r&&(r.shape.x2=n,r.dirty());var o=this._findNearestTick(n),a=this.model;(e||o!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(o)},e.prototype._doPlayStop=function(){var t=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout((function(){var e=t.model;t._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))}),this.model.get("playInterval")))},e.prototype._toAxisCoord=function(t){return Kh(t,this._mainGroup.getLocalTransform(),!0)},e.prototype._findNearestTick=function(t){var e,n=this.model.getData(),i=1/0,r=this._axis;return n.each(["value"],(function(n,o){var a=r.dataToCoord(n),s=Math.abs(a-t);s<i&&(i=s,e=o)})),e},e.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},e.prototype._changeTimeline=function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})},e.prototype._updateTicksStatus=function(){var t=this.model.getCurrentIndex(),e=this._tickSymbols,n=this._tickLabels;if(e)for(var i=0;i<e.length;i++)e&&e[i]&&e[i].toggleState("progress",i<t);if(n)for(i=0;i<n.length;i++)n&&n[i]&&n[i].toggleState("progress",TV(n[i]).dataIndex<=t)},e.type="timeline.slider",e}(wV);function IV(t,e,n,i,r,o){var a=e.get("color");r?(r.setColor(a),n.add(r),o&&o.onUpdate(r)):((r=ty(t.get("symbol"),-1,-1,2,2,a)).setStyle("strokeNoScale",!0),n.add(r),o&&o.onCreate(r));var s=e.getItemStyle(["color"]);r.setStyle(s),i=qt({rectHover:!0,z2:100},i,!0);var l=ey(t.get("symbolSize"));i.scaleX=l[0]/2,i.scaleY=l[1]/2;var u=ny(t.get("symbolOffset"),l);u&&(i.x=(i.x||0)+u[0],i.y=(i.y||0)+u[1]);var c=t.get("symbolRotate");return i.rotation=(c||0)*Math.PI/180||0,r.attr(i),r.updateTransform(),r}function CV(t,e,n,i,r,o){if(!t.dragging){var a=r.getModel("checkpointStyle"),s=i.dataToCoord(r.getData().get("value",n));if(o||!a.get("animation",!0))t.attr({x:s,y:0}),e&&e.attr({shape:{x2:s}});else{var l={duration:a.get("animationDuration",!0),easing:a.get("animationEasing",!0)};t.stopAnimation(null,!0),t.animateTo({x:s,y:0},l),e&&e.animateTo({shape:{x2:s}},l)}}}function DV(t){var e=t&&t.timeline;he(e)||(e=e?[e]:[]),re(e,(function(t){t&&function(t){var e=t.type,n={number:"value",time:"time"};n[e]&&(t.axisType=n[e],delete t.type);if(EV(t),LV(t,"controlPosition")){var i=t.controlStyle||(t.controlStyle={});LV(i,"position")||(i.position=t.controlPosition),"none"!==i.position||LV(i,"show")||(i.show=!1,delete i.position),delete t.controlPosition}re(t.data||[],(function(t){me(t)&&!he(t)&&(!LV(t,"value")&&LV(t,"name")&&(t.value=t.name),EV(t))}))}(t)}))}function EV(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),i=t.label||t.label||{},r=i.normal||(i.normal={}),o={normal:1,emphasis:1};re(i,(function(t,e){o[e]||LV(r,e)||(r[e]=t)})),n.label&&!LV(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function LV(t,e){return t.hasOwnProperty(e)}function PV(t,e){if(!t)return!1;for(var n=he(t)?t:[t],i=0;i<n.length;i++)if(n[i]&&n[i][e])return!0;return!1}function RV(t){La(t,"label",["show"])}var NV=Ua(),kV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n}return Tt(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if(It.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},e.prototype.mergeOption=function(t,e){this._mergeOption(t,e,!1,!1)},e.prototype._mergeOption=function(t,e,n,i){var r=this.mainType;n||e.eachSeries((function(t){var n=t.get(this.mainType,!0),o=NV(t)[r];n&&n.data?(o?o._mergeOption(n,e,!0):(i&&RV(n),re(n.data,(function(t){t instanceof Array?(RV(t[0]),RV(t[1])):RV(t)})),Kt(o=this.createMarkerModelFromSeries(n,this,e),{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),o.__hostSeries=t),NV(t)[r]=o):NV(t)[r]=null}),this)},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t),o=i.getName(t);return fm("section",{header:this.name,blocks:[fm("nameValue",{name:o,value:r,noName:!o,noValue:null==r})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.prototype.getDataParams=function(t,e){var n=Dg.prototype.getDataParams.call(this,t,e),i=this.__hostSeries;return i&&(n.seriesId=i.id,n.seriesName=i.name,n.seriesType=i.subType),n},e.getMarkerModelFromSeries=function(t,e){return NV(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(Zp);ne(kV,Dg.prototype);var OV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markPoint",e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(kV);function BV(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function zV(t,e,n,i,r,o){var a=[],s=Ex(e,i)?e.getCalculationInfo("stackResultDimension"):i,l=WV(e,s,t),u=e.indicesOfNearest(s,l)[0];a[r]=e.get(n,u),a[o]=e.get(s,u);var c=e.get(i,u),h=la(e.get(i,u));return(h=Math.min(h,20))>=0&&(a[o]=+a[o].toFixed(h)),[a,c]}var FV={min:ce(zV,"min"),max:ce(zV,"max"),average:ce(zV,"average"),median:ce(zV,"median")};function VV(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i&&i.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!he(e.coord)&&he(r)){var o=GV(e,n,i,t);if((e=Qt(e)).type&&FV[e.type]&&o.baseAxis&&o.valueAxis){var a=te(r,o.baseAxis.dim),s=te(r,o.valueAxis.dim),l=FV[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&he(r))for(var u=e.coord,c=0;c<2;c++)FV[u[c]]&&(u[c]=WV(n,n.mapDimension(r[c]),u[c]));else e.coord=[];return e}}function GV(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function UV(t,e){return!(t&&t.containData&&e.coord&&!BV(e))||t.containData(e.coord)}function HV(t,e){return t?function(t,n,i,r){return Ng(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return Ng(t.value,e[r])}}function WV(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var XV=Ua(),jV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.init=function(){this.markerGroupMap=ke()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){XV(t).keep=!1})),e.eachSeries((function(t){var r=kV.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!XV(t).keep&&i.group.remove(t.group)}))},e.prototype.markKeep=function(t){XV(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;re(t,(function(t){var i=kV.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl((function(t){t&&(e?Xu(t):ju(t))}))}))},e.type="marker",e}(zm);function YV(t,e,n){var i=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=oa(a.get("x"),n.getWidth()),l=oa(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),c=t.get(i.dimensions[1],r);o=i.dataToPoint([u,c])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}var ZV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=kV.getMarkerModelFromSeries(t,"markPoint");e&&(YV(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new PA),u=function(t,e,n){var i;i=t?oe(t&&t.dimensions,(function(t){return Kt(Kt({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new bx(i,n),o=oe(n.get("data"),ce(VV,e));t&&(o=se(o,ce(UV,t)));var a=HV(!!t,i);return r.initData(o,null,a),r}(r,t,e);e.setData(u),YV(e.getData(),t,i),u.each((function(t){var n=u.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(de(i)||de(r)||de(o)||de(s)){var c=e.getRawValue(t),h=e.getDataParams(t);de(i)&&(i=i(c,h)),de(r)&&(r=r(c,h)),de(o)&&(o=o(c,h)),de(s)&&(s=s(c,h))}var d=n.getModel("itemStyle").getItemStyle(),p=zv(a,"color");d.fill||(d.fill=p),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:d})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){cu(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(jV);var QV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(kV),qV=Ua(),JV=function(t,e,n,i){var r,o=t.getData();if(he(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=we(i.yAxis,i.xAxis);else{var u=GV(i,o,e,t);s=u.valueAxis,l=WV(o,Lx(o,u.valueDataDim),a)}var c="x"===s.dim?0:1,h=1-c,d=Qt(i),p={coord:[]};d.type=null,d.coord=[],d.coord[h]=-1/0,p.coord[h]=1/0;var f=n.get("precision");f>=0&&ge(l)&&(l=+l.toFixed(Math.min(f,20))),d.coord[c]=p.coord[c]=l,r=[d,p,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var g=[VV(t,r[0]),VV(t,r[1]),Kt({},r[2])];return g[2].type=g[2].type||null,qt(g[2],g[0]),qt(g[2],g[1]),g};function KV(t){return!isNaN(t)&&!isFinite(t)}function $V(t,e,n,i){var r=1-t,o=i.dimensions[t];return KV(e[r])&&KV(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function tG(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&($V(1,n,i,t)||$V(0,n,i,t)))return!0}return UV(t,e[0])&&UV(t,e[1])}function eG(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=oa(s.get("x"),r.getWidth()),u=oa(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var c=a.dimensions,h=t.get(c[0],e),d=t.get(c[1],e);o=a.dataToPoint([h,d])}if(jA(a,"cartesian2d")){var p=a.getAxis("x"),f=a.getAxis("y");c=a.dimensions;KV(t.get(c[0],e))?o[0]=p.toGlobalCoord(p.getExtent()[n?0:1]):KV(t.get(c[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var nG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=kV.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=qV(e).from,o=qV(e).to;r.each((function(e){eG(r,e,!0,t,n),eG(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new aL);this.group.add(l.group);var u=function(t,e,n){var i;i=t?oe(t&&t.dimensions,(function(t){return Kt(Kt({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new bx(i,n),o=new bx(i,n),a=new bx([],n),s=oe(n.get("data"),ce(JV,e,t,n));t&&(s=se(s,ce(tG,t)));var l=HV(!!t,i);return r.initData(oe(s,(function(t){return t[0]})),null,l),o.initData(oe(s,(function(t){return t[1]})),null,l),a.initData(oe(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}(r,t,e),c=u.from,h=u.to,d=u.line;qV(e).from=c,qV(e).to=h,e.setData(d);var p=e.get("symbol"),f=e.get("symbolSize"),g=e.get("symbolRotate"),m=e.get("symbolOffset");function v(e,n,r){var o=e.getItemModel(n);eG(e,n,r,t,i);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=zv(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:Se(o.get("symbolOffset",!0),m[r?0:1]),symbolRotate:Se(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:Se(o.get("symbolSize"),f[r?0:1]),symbol:Se(o.get("symbol",!0),p[r?0:1]),style:s})}he(p)||(p=[p,p]),he(f)||(f=[f,f]),he(g)||(g=[g,g]),he(m)||(m=[m,m]),u.from.each((function(t){v(c,t,!0),v(h,t,!1)})),d.each((function(t){var e=d.getItemModel(t).getModel("lineStyle").getLineStyle();d.setItemLayout(t,[c.getItemLayout(t),h.getItemLayout(t)]),null==e.stroke&&(e.stroke=c.getItemVisual(t,"style").fill),d.setItemVisual(t,{fromSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:c.getItemVisual(t,"symbolOffset"),fromSymbolRotate:c.getItemVisual(t,"symbolRotate"),fromSymbolSize:c.getItemVisual(t,"symbolSize"),fromSymbol:c.getItemVisual(t,"symbol"),toSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:h.getItemVisual(t,"symbolOffset"),toSymbolRotate:h.getItemVisual(t,"symbolRotate"),toSymbolSize:h.getItemVisual(t,"symbolSize"),toSymbol:h.getItemVisual(t,"symbol"),style:e})})),l.updateData(d),u.line.eachItemGraphicEl((function(t){cu(t).dataModel=e,t.traverse((function(t){cu(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(jV);var iG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(kV),rG=Ua(),oG=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=VV(t,r),s=VV(t,o),l=a.coord,u=s.coord;l[0]=we(l[0],-1/0),l[1]=we(l[1],-1/0),u[0]=we(u[0],1/0),u[1]=we(u[1],1/0);var c=Jt([{},a,s]);return c.coord=[a.coord,s.coord],c.x0=a.x,c.y0=a.y,c.x1=s.x,c.y1=s.y,c}};function aG(t){return!isNaN(t)&&!isFinite(t)}function sG(t,e,n,i){var r=1-t;return aG(e[r])&&aG(n[r])}function lG(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return jA(t,"cartesian2d")?!(!n||!i||!sG(1,n,i)&&!sG(0,n,i))||function(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!BV(e)&&!BV(n))||t.containZone(e.coord,n.coord)}(t,r,o):UV(t,r)||UV(t,o)}function uG(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=oa(s.get(n[0]),r.getWidth()),u=oa(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition){var c=t.getValues(["x0","y0"],e),h=t.getValues(["x1","y1"],e),d=a.clampData(c),p=a.clampData(h),f=[];"x0"===n[0]?f[0]=d[0]>p[0]?h[0]:c[0]:f[0]=d[0]>p[0]?c[0]:h[0],"y0"===n[1]?f[1]=d[1]>p[1]?h[1]:c[1]:f[1]=d[1]>p[1]?c[1]:h[1],o=i.getMarkerPosition(f,n,!0)}else{var g=[y=t.get(n[0],e),_=t.get(n[1],e)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(jA(a,"cartesian2d")){var m=a.getAxis("x"),v=a.getAxis("y"),y=t.get(n[0],e),_=t.get(n[1],e);aG(y)?o[0]=m.toGlobalCoord(m.getExtent()["x0"===n[0]?0:1]):aG(_)&&(o[1]=v.toGlobalCoord(v.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var cG=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],hG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=kV.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each((function(e){var r=oe(cG,(function(r){return uG(i,e,r,t,n)}));i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)}))}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new qo});this.group.add(l.group),this.markKeep(l);var u=function(t,e,n){var i,r,o=["x0","y0","x1","y1"];if(t){var a=oe(t&&t.dimensions,(function(t){var n=e.getData();return Kt(Kt({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));r=oe(o,(function(t,e){return{name:t,type:a[e%2].type}})),i=new bx(r,n)}else i=new bx(r=[{name:"value",type:"float"}],n);var s=oe(n.get("data"),ce(oG,e,t,n));t&&(s=se(s,ce(lG,t)));var l=t?function(t,e,n,i){return Ng(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return Ng(t.value,r[i])};return i.initData(s,null,l),i.hasItemOption=!0,i}(r,t,e);e.setData(u),u.each((function(e){var n=oe(cG,(function(n){return uG(u,e,n,t,i)})),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),c=s.getExtent(),h=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],d=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];sa(h),sa(d);var p=!!(l[0]>h[1]||l[1]<h[0]||c[0]>d[1]||c[1]<d[0]);u.setItemLayout(e,{points:n,allClipped:p});var f=u.getItemModel(e).getModel("itemStyle").getItemStyle(),g=zv(a,"color");f.fill||(f.fill=g,pe(f.fill)&&(f.fill=fr(f.fill,.4))),f.stroke||(f.stroke=g),u.setItemVisual(e,"style",f)})),u.diff(rG(l).data).add((function(t){var e=u.getItemLayout(t);if(!e.allClipped){var n=new eh({shape:{points:e.points}});u.setItemGraphicEl(t,n),l.group.add(n)}})).update((function(t,n){var i=rG(l).data.getItemGraphicEl(n),r=u.getItemLayout(t);r.allClipped?i&&l.group.remove(i):(i?Lh(i,{shape:{points:r.points}},e,t):i=new eh({shape:{points:r.points}}),u.setItemGraphicEl(t,i),l.group.add(i))})).remove((function(t){var e=rG(l).data.getItemGraphicEl(t);l.group.remove(e)})).execute(),u.eachItemGraphicEl((function(t,n){var i=u.getItemModel(n),r=u.getItemVisual(n,"style");t.useStyle(u.getItemVisual(n,"style")),fd(t,gd(i),{labelFetcher:e,labelDataIndex:n,defaultText:u.getName(n)||"",inheritColor:pe(r.fill)?fr(r.fill,1):"#000"}),sc(t,i),ic(t,null,null,i.get(["emphasis","disabled"])),cu(t).dataModel=e})),rG(l).data=u,l.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(jV);var dG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return Tt(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,n=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),he(e)&&re(e,(function(t,i){pe(t)&&(t={type:t}),e[i]=qt(t,function(t,e){return"all"===e?{type:"all",title:t.getLocaleModel().get(["legend","selector","all"])}:"inverse"===e?{type:"inverse",title:t.getLocaleModel().get(["legend","selector","inverse"])}:void 0}(n,t.type))}))},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}!e&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries((function(i){var r,o=i.name;if(n.push(o),i.legendVisualProvider){var a=i.legendVisualProvider.getAllNames();t.isSeriesFiltered(i)||(n=n.concat(a)),a.length?e=e.concat(a):r=!0}else r=!0;r&&Fa(i)&&e.push(i.name)})),this._availableNames=n;var i=this.get("data")||e,r=ke(),o=oe(i,(function(t){return(pe(t)||ge(t))&&(t={name:t}),r.get(t.name)?null:(r.set(t.name,!0),new zd(t,this,this.ecModel))}),this);this._data=se(o,(function(t){return!!t}))},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected;"single"===this.get("selectedMode")&&re(this._data,(function(t){e[t.get("name")]=!1}));e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,e=this.option.selected;re(t,(function(t){e[t.get("name",!0)]=!0}))},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;re(t,(function(t){var n=t.get("name",!0);e.hasOwnProperty(n)||(e[n]=!0),e[n]=!e[n]}))},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&te(this._availableNames,t)>=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(Zp),pG=ce,fG=re,gG=qo,mG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return Tt(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new gG),this.group.add(this._selectorGroup=new gG),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},c=t.get("padding"),h=Gp(l,u,c),d=this.layoutInner(t,r,h,i,a,s),p=Gp($t({width:d.width,height:d.height},l),u,c);this.group.x=p.x-d.x,this.group.y=p.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Xz(d,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=ke(),u=e.get("selectedMode"),c=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&c.push(t.id)})),fG(e.getData(),(function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var h=new gG;return h.newline=!0,void s.add(h)}var d=n.getSeriesByName(a)[0];if(!l.get(a))if(d){var p=d.getData(),f=p.getVisual("legendLineStyle")||{},g=p.getVisual("legendIcon"),m=p.getVisual("style"),v=this._createItem(d,a,o,r,e,t,f,m,g,u,i);v.on("click",pG(vG,a,null,i,c)).on("mouseover",pG(_G,d.name,null,i,c)).on("mouseout",pG(xG,d.name,null,i,c)),n.ssr&&v.eachChild((function(t){var e=cu(t);e.seriesIndex=d.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}else n.eachRawSeries((function(s){if(!l.get(a)&&s.legendVisualProvider){var h=s.legendVisualProvider;if(!h.containName(a))return;var d=h.indexOfName(a),p=h.getItemVisual(d,"style"),f=h.getItemVisual(d,"legendIcon"),g=ur(p.fill);g&&0===g[3]&&(g[3]=.2,p=Kt(Kt({},p),{fill:gr(g,"rgba")}));var m=this._createItem(s,a,o,r,e,t,{},p,f,u,i);m.on("click",pG(vG,null,a,i,c)).on("mouseover",pG(_G,null,a,i,c)).on("mouseout",pG(xG,null,a,i,c)),n.ssr&&m.eachChild((function(t){var e=cu(t);e.seriesIndex=s.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}}),this)}),this),r&&this._createSelector(r,e,i,o,a)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();fG(t,(function(t){var i=t.type,r=new Jl({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r),fd(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),nc(r)}))},e.prototype._createItem=function(t,e,n,i,r,o,a,s,l,u,c){var h=t.visualDrawType,d=r.get("itemWidth"),p=r.get("itemHeight"),f=r.isSelected(e),g=i.get("symbolRotate"),m=i.get("symbolKeepAspect"),v=i.get("icon"),y=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),fG(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),c=0===t.lastIndexOf("empty",0)?"fill":"stroke",h=l.getShallow("decal");u.decal=h&&"inherit"!==h?Ly(h,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]);"inherit"===u.stroke&&(u.stroke=i[c]);"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity);s(u,i);var d=e.getModel("lineStyle"),p=d.getLineStyle();if(s(p,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===p.stroke&&(p.stroke=i.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[c];u.lineWidth="auto"===f?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),p.stroke=d.get("inactiveColor"),p.lineWidth=d.get("inactiveWidth")}return{itemStyle:u,lineStyle:p}}(l=v||l||"roundRect",i,a,s,h,f,c),_=new gG,x=i.getModel("textStyle");if(!de(t.getLegendIcon)||v&&"inherit"!==v){var b="inherit"===v&&t.getData().getVisual("symbol")?"inherit"===g?t.getData().getVisual("symbolRotate"):g:0;_.add(function(t){var e=t.icon||"roundRect",n=ty(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:d,itemHeight:p,icon:l,iconRotate:b,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:m}))}else _.add(t.getLegendIcon({itemWidth:d,itemHeight:p,icon:l,iconRotate:g,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:m}));var w="left"===o?d+5:-5,S=o,A=r.get("formatter"),T=e;pe(A)&&A?T=A.replace("{name}",null!=e?e:""):de(A)&&(T=A(e));var M=f?x.getTextColor():i.get("inactiveColor");_.add(new Jl({style:md(x,{text:T,x:w,y:p/2,fill:M,align:S,verticalAlign:"middle"},{inheritColor:M})}));var I=new Zl({shape:_.getBoundingRect(),style:{fill:"transparent"}}),C=i.getModel("tooltip");return C.get("show")&&sd({el:I,componentModel:r,itemName:e,itemTooltipOption:C.option}),_.add(I),_.eachChild((function(t){t.silent=!0})),I.silent=!u,this.getContentGroup().add(_),nc(_),_.__legendDataIndex=n,_},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();Vp(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){Vp("horizontal",s,t.get("selectorItemGap",!0));var c=s.getBoundingRect(),h=[-c.x,-c.y],d=t.get("selectorButtonGap",!0),p=t.getOrient().index,f=0===p?"width":"height",g=0===p?"height":"width",m=0===p?"y":"x";"end"===o?h[p]+=l[f]+d:u[p]+=c[f]+d,h[1-p]+=l[g]/2-c[g]/2,s.x=h[0],s.y=h[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[f]=l[f]+d+c[f],v[g]=Math.max(l[g],c[g]),v[m]=Math.min(0,c[m]+h[1-p]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(zm);function vG(t,e,n,i){xG(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),_G(t,e,n,i)}function yG(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;i<r&&!(e=n[i].states.emphasis);)i++;return e&&e.hoverLayer}function _G(t,e,n,i){yG(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function xG(t,e,n,i){yG(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}function bG(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0}))}function wG(t,e,n){var i,r={},o="toggleSelected"===t;return n.eachComponent("legend",(function(n){o&&null!=i?n[i?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),i=n.isSelected(e.name)),re(n.getData(),(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var i=n.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&i:r[e]=i}}))})),"allSelect"===t||"inverseSelect"===t?{selected:r}:{name:e.name,selected:r}}function SG(t){t.registerComponentModel(dG),t.registerComponentView(mG),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,bG),t.registerSubTypeDefaulter("legend",(function(){return"plain"})),function(t){t.registerAction("legendToggleSelect","legendselectchanged",ce(wG,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",ce(wG,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",ce(wG,"inverseSelect")),t.registerAction("legendSelect","legendselected",ce(wG,"select")),t.registerAction("legendUnSelect","legendunselected",ce(wG,"unSelect"))}(t)}var AG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,i){var r=Xp(e);t.prototype.init.call(this,e,n,i),TG(this,e,r)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),TG(this,this.option,e)},e.type="legend.scroll",e.defaultOption=Gd(dG.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(dG);function TG(t,e,n){var i=[1,1];i[t.getOrient().index]=0,Wp(e,n,{type:"box",ignoreSize:!!i})}var MG=qo,IG=["width","height"],CG=["x","y"],DG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return Tt(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new MG),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new MG)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,i,r,o,a,s){var l=this;t.prototype.renderInner.call(this,e,n,i,r,o,a,s);var u=this._controllerGroup,c=n.get("pageIconSize",!0),h=he(c)?c:[c,c];p("pagePrev",0);var d=n.getModel("pageTextStyle");function p(t,e){var i=t+"DataIndex",o=id(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:ue(l._pageGo,l,i,n,r)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});o.name=t,u.add(o)}u.add(new Jl({name:"pageText",style:{text:"xx/xx",fill:d.getTextColor(),font:d.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),p("pageNext",1)},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getSelectorGroup(),s=t.getOrient().index,l=IG[s],u=CG[s],c=IG[1-s],h=CG[1-s];r&&Vp("horizontal",a,t.get("selectorItemGap",!0));var d=t.get("selectorButtonGap",!0),p=a.getBoundingRect(),f=[-p.x,-p.y],g=Qt(n);r&&(g[l]=n[l]-p[l]-d);var m=this._layoutContentAndController(t,i,g,s,l,c,h,u);if(r){if("end"===o)f[s]+=m[l]+d;else{var v=p[l]+d;f[s]-=v,m[u]-=v}m[l]+=p[l]+d,f[1-s]+=m[h]+m[c]/2-p[c]/2,m[c]=Math.max(m[c],p[c]),m[h]=Math.min(m[h],p[h]+f[1-s]),a.x=f[0],a.y=f[1],a.markRedraw()}return m},e.prototype._layoutContentAndController=function(t,e,n,i,r,o,a,s){var l=this.getContentGroup(),u=this._containerGroup,c=this._controllerGroup;Vp(t.get("orient"),l,t.get("itemGap"),i?n.width:null,i?null:n.height),Vp("horizontal",c,t.get("pageButtonItemGap",!0));var h=l.getBoundingRect(),d=c.getBoundingRect(),p=this._showController=h[r]>n[r],f=[-h.x,-h.y];e||(f[i]=l[s]);var g=[0,0],m=[-d.x,-d.y],v=Se(t.get("pageButtonGap",!0),t.get("itemGap",!0));p&&("end"===t.get("pageButtonPosition",!0)?m[i]+=n[r]-d[r]:g[i]+=d[r]+v);m[1-i]+=h[o]/2-d[o]/2,l.setPosition(f),u.setPosition(g),c.setPosition(m);var y={x:0,y:0};if(y[r]=p?n[r]:h[r],y[o]=Math.max(h[o],d[o]),y[a]=Math.min(0,d[a]+m[1-i]),u.__rectSize=n[r],p){var _={x:0,y:0};_[r]=Math.max(n[r]-d[r]-v,0),_[o]=y[o],u.setClipPath(new Zl({shape:_})),u.__rectSize=_[r]}else c.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var x=this._getPageInfo(t);return null!=x.pageIndex&&Lh(l,{x:x.contentPosition[0],y:x.contentPosition[1]},p?t:null),this._updatePageInfoView(t,x),y},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;re(["pagePrev","pageNext"],(function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",pe(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=IG[r],a=CG[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],c=l.length,h=c?1:0,d={contentPosition:[n.x,n.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return d;var p=y(u);d.contentPosition[r]=-p.s;for(var f=s+1,g=p,m=p,v=null;f<=c;++f)(!(v=y(l[f]))&&m.e>g.s+i||v&&!_(v,g.s))&&(g=m.i>g.i?m:v)&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=g.i),++d.pageCount),m=v;for(f=s-1,g=p,m=p,v=null;f>=-1;--f)(v=y(l[f]))&&_(m,v.s)||!(g.i<m.i)||(m=g,null==d.pagePrevDataIndex&&(d.pagePrevDataIndex=g.i),++d.pageCount,++d.pageIndex),g=v;return d;function y(t){if(t){var e=t.getBoundingRect(),n=e[a]+t[a];return{s:n,e:n+e[o],i:t.__legendDataIndex}}}function _(t,e){return t.e>=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(mG);function EG(t){Z_(SG),t.registerComponentModel(AG),t.registerComponentView(DG),function(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}(t)}var LG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.type="dataZoom.inside",e.defaultOption=Gd(Cz.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(Cz),PG=Ua();function RG(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function NG(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function kG(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function OG(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=PG(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=ke());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){re(Mz(t).infoList,(function(n){var r=n.model.uid,o=i.get(r)||i.set(r,function(t,e){var n={model:e,containsPoint:ce(kG,e),dispatchAction:ce(NG,t),dataZoomInfoMap:null,controller:null},i=n.controller=new fI(t.getZr());return re(["pan","zoom","scrollMove"],(function(t){i.on(t,(function(e){var i=[];n.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&a&&i.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}})),i.length&&n.dispatchAction(i)}))})),n}(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=ke())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),i.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=function(t){var e,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");i[n+a]>i[n+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),Km(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else RG(i,t)}))}))}var BG=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return Tt(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),function(t,e,n){PG(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}(i,e,{pan:ue(zG.pan,this),zoom:ue(zG.zoom,this),scrollMove:ue(zG.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=PG(t).coordSysRecordMap,i=n.keys(),r=0;r<i.length;r++){var o=i[r],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=e.uid;s.get(l)&&(s.removeKey(l),s.keys().length||RG(n,a))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(Lz),zG={zoom:function(t,e,n,i){var r=this.range,o=r.slice(),a=t.axisModels[0];if(a){var s=VG[e](null,[i.originX,i.originY],a,n,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return $L(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:FG((function(t,e,n,i,r,o){var a=VG[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:FG((function(t,e,n,i,r,o){return VG[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta}))};function FG(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return $L(t(a,s,e,n,i,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var VG={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};function GG(t){zz(t),t.registerComponentModel(LG),t.registerComponentView(BG),OG(t)}var UG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Gd(Cz.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(Cz),HG=Zl,WG="horizontal",XG="vertical",jG=["line","bar","candlestick","scatter"],YG={easing:"cubicOut",duration:100,delay:0},ZG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return Tt(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=ue(this._onBrush,this),this._onBrushEnd=ue(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),Km(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){$m(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new qo;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===WG?{right:r.width-i.x-i.width,top:r.height-30-7-n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=Xp(t.option);re(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=Gp(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===XG&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==WG||r?n===WG&&r?{scaleY:a?1:-1,scaleX:-1}:n!==XG||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new HG({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new HG({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:ue(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=r.getDataExtent(a),c=.3*(u[1]-u[0]);u=[u[0]-c,u[1]+c];var h,d=[0,e[1]],p=[0,e[0]],f=[[e[0],0],[0,0]],g=[],m=p[1]/(r.count()-1),v=0,y=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(y>0&&e%y)v+=m;else{var n=null==t||isNaN(t)||""===t,i=n?0:ra(t,u,d,!0);n&&!h&&e?(f.push([f[f.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&h&&(f.push([v,0]),g.push([v,0])),f.push([v,i]),g.push([v,i]),v+=m,h=n}})),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var _,x,b,w,S,A=this.dataZoomModel,T=0;T<3;T++){var M=(_=1===T,x=void 0,b=void 0,w=void 0,S=void 0,x=A.getModel(_?"selectedDataBackground":"dataBackground"),b=new qo,w=new eh({shape:{points:s},segmentIgnoreThreshold:1,style:x.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),S=new ih({shape:{points:l},segmentIgnoreThreshold:1,style:x.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19}),b.add(w),b.add(S),b);this._displayables.sliderGroup.add(M),this._displayables.dataShadowSegs.push(M)}}}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(r,o){re(t.getAxisProxy(r,o).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&te(jG,t.get("type"))<0)){var a,s=i.getComponent(Az(r),o).axis,l=function(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}(r),u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),c=e.filler=new HG({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(c),r.add(new HG({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),re([0,1],(function(e){var o=a.get("handleIcon");!Jv[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=ty(o,-1,0,2,2,null,!0);s.attr({cursor:QG(this._orient),draggable:!0,drift:ue(this._onDragMove,this,e),ondragend:ue(this._onDragEnd,this),onmouseover:ue(this._showDataInfo,this,!0),onmouseout:ue(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=oa(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),nc(s);var c=a.get("handleColor");null!=c&&(s.style.fill=c),r.add(n[e]=s);var h=a.getModel("textStyle");t.add(i[e]=new Jl({silent:!0,invisible:!0,style:md(h,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:h.getTextColor(),font:h.getFont()}),z2:10}))}),this);var h=c;if(u){var d=oa(a.get("moveHandleSize"),o[1]),p=e.moveHandle=new Zl({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:d}}),f=.8*d,g=e.moveHandleIcon=ty(a.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);g.silent=!0,g.y=o[1]+d/2-.5,p.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var m=Math.min(o[1]/2,Math.max(d,10));(h=e.moveZone=new Zl({invisible:!0,shape:{y:o[1]-m,height:d+m}})).on("mouseover",(function(){s.enterEmphasis(p)})).on("mouseout",(function(){s.leaveEmphasis(p)})),r.add(p),r.add(g),r.add(h)}h.attr({draggable:!0,cursor:QG(this._orient),drift:ue(this._onDragMove,this,"all"),ondragstart:ue(this._showDataInfo,this,!0),ondragend:ue(this._onDragEnd,this),onmouseover:ue(this._showDataInfo,this,!0),onmouseout:ue(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[ra(t[0],[0,100],e,!0),ra(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];$L(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?ra(o.minSpan,a,r,!0):null,null!=o.maxSpan?ra(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=sa([ra(i[0],r,a,!0),ra(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=sa(n.slice()),r=this._size;re([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;l<a.length;l++){var u=a[l],c=u.getClipPath();c||(c=new Zl,u.setClipPath(c)),c.setShape({x:s[l],y:0,width:s[l+1]-s[l],height:r[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,o=["",""];if(e.get("showDetail")){var a=e.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,u=t?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var c=sa(this._handleEnds.slice());function h(t){var e=Jh(n.handles[t].parent,this.group),a=$h(0===t?"right":"left",e),s=this._handleWidth/2+5,l=Kh([c[t]+(0===t?-s:s),this._size[1]/2],e);i[t].setStyle({x:l[0],y:l[1],verticalAlign:r===WG?"middle":a,align:r===WG?a:"center",text:o[t]})}h.call(this,0),h.call(this,1)},e.prototype._formatLabel=function(t,e){var n=this.dataZoomModel,i=n.get("labelFormatter"),r=n.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(r,20));return de(i)?i(t,o):pe(i)?i.replace("{value}",o):o},e.prototype._showDataInfo=function(t){t=this._dragging||t;var e=this._displayables,n=e.handleLabels;n[0].attr("invisible",!t),n[1].attr("invisible",!t),e.moveHandle&&this.api[t?"enterEmphasis":"leaveEmphasis"](e.moveHandle,1)},e.prototype._onDragMove=function(t,e,n,i){this._dragging=!0,In(i.event);var r=Kh([e,n],this._displayables.sliderGroup.getLocalTransform(),!0),o=this._updateInterval(t,r[0]),a=this.dataZoomModel.get("realtime");this._updateView(!a),o&&a&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new Fn(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100];this._range=sa([ra(n.x,i,r,!0),ra(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(In(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new HG({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?YG:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=Mz(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(Lz);function QG(t){return"vertical"===t?"ns-resize":"ew-resize"}function qG(t){t.registerComponentModel(UG),t.registerComponentView(ZG),zz(t)}var JG=function(t,e,n){var i=Qt((KG[t]||{})[e]);return n&&he(i)?i[i.length-1]:i},KG={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},$G=WD.mapVisual,tU=WD.eachVisual,eU=he,nU=re,iU=sa,rU=ra,oU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return Tt(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&tV(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=ue(t,this),this.controllerVisuals=$F(this.option.controller,e,t),this.targetVisuals=$F(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=Ea(t),e},e.prototype.eachTargetSeries=function(t,e){re(this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,s=r.formatter;n=n||["<",">"],he(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return pe(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):de(s)?i?s(t[0],t[1]):s(t):i?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=iU([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});qt(i,n),qt(r,n);var o=this.isCategory();function a(n){eU(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}a.call(this,i),a.call(this,r),function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},nU(i,(function(t,e){if(WD.isValidType(e)){var n=JG(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";nU(this.stateList,(function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&Qt(e)||(o?r:[r])),null==l.symbolSize&&(l.symbolSize=n&&Qt(n)||(o?s[0]:[s[0],s[0]])),l.symbol=$G(l.symbol,(function(t){return"none"===t?r:t}));var u=l.symbolSize;if(null!=u){var c=-1/0;tU(u,(function(t){t>c&&(c=t)})),l.symbolSize=$G(u,(function(t){return rU(t,[0,c],[0,s[0]],!0)}))}}),this)}.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(Zp),aU=[20,140],sU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=aU[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=aU[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):he(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),re(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=sa((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},e.prototype.getValueState=function(t){var e=this.option.range,n=this.getExtent();return(e[0]<=n[0]||e[0]<=t)&&(e[1]>=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},e.prototype.getVisualMeta=function(t){var e=lU(this,"outOfRange",this.getExtent()),n=lU(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;a<l&&(!n.length||e[a]<=n[0]);a++)e[a]<n[o]&&r(e[a],"outOfRange");for(var u=1;o<s;o++,u=0)u&&i.length&&r(n[o],"outOfRange"),r(n[o],"inRange");for(u=1;a<l;a++)(!n.length||n[n.length-1]<e[a])&&(u&&(i.length&&r(i[i.length-1].value,"outOfRange"),u=0),r(e[a],"outOfRange"));var c=i.length;return{stops:i,outerColors:[c?i[0].color:"transparent",c?i[c-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=Gd(oU.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),e}(oU);function lU(t,e,n){if(n[0]===n[1])return n.slice();for(var i=(n[1]-n[0])/200,r=n[0],o=[],a=0;a<=200&&r<n[1];a++)o.push(r),r+=i;return o.push(n[1]),o}var uU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return Tt(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,n,i){this.visualMapModel=t,!1!==t.get("show")?this.doRender(t,e,n,i):this.group.removeAll()},e.prototype.renderBackground=function(t){var e=this.visualMapModel,n=Cp(e.get("padding")||0),i=t.getBoundingRect();t.add(new Zl({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},e.prototype.getControllerVisual=function(t,e,n){var i=(n=n||{}).forceState,r=this.visualMapModel,o={};if("color"===e){var a=r.get("contentColor");o.color=a}function s(t){return o[t]}function l(t,e){o[t]=e}var u=r.controllerVisuals[i||r.getValueState(t)];return re(WD.prepareVisualTypes(u),(function(i){var r=u[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",r=u.__alphaForOpacity),WD.dependsOn(i,e)&&r&&r.applyVisual(t,s,l)})),o[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,n=this.api;Up(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},e.prototype.doRender=function(t,e,n,i){},e.type="visualMap",e}(zm),cU=[["left","right","width"],["top","bottom","height"]];function hU(t,e,n){var i=t.option,r=i.align;if(null!=r&&"auto"!==r)return r;for(var o={width:e.getWidth(),height:e.getHeight()},a="horizontal"===i.orient?1:0,s=cU[a],l=[0,null,10],u={},c=0;c<3;c++)u[cU[1-a][c]]=l[c],u[s[c]]=2===c?n[0]:i[s[c]];var h=[["x","width",3],["y","height",0]][a],d=Gp(u,o,i.padding);return s[(d.margin[h[2]]||0)+d[h[0]]+.5*d[h[1]]<.5*o[h[1]]?0:1]}function dU(t,e){return re(t||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")})),t}var pU=ra,fU=re,gU=Math.min,mU=Math.max,vU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return Tt(e,t),e.prototype.init=function(e,n){t.prototype.init.call(this,e,n),this._hoverLinkFromSeriesMouseOver=ue(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=ue(this._hideIndicator,this)},e.prototype.doRender=function(t,e,n,i){i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},e.prototype._buildView=function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,n){if(e){var i=e[1-n];i=null!=i?i+"":"";var r=this.visualMapModel,o=r.get("textGap"),a=r.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],s),u=this._applyTransform(0===n?"bottom":"top",s),c=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new Jl({style:md(h,{x:l[0],y:l[1],verticalAlign:"horizontal"===c?"middle":u,align:"horizontal"===c?u:"center",text:i})}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,n=this._shapes,i=e.itemSize,r=this._orient,o=this._useHandle,a=hU(e,this.api,i),s=n.mainGroup=this._createBarGroup(a),l=new qo;s.add(l),l.add(n.outOfRange=yU()),l.add(n.inRange=yU(null,o?xU(this._orient):null,ue(this._dragHandle,this,"all",!1),ue(this._dragHandle,this,"all",!0))),l.setClipPath(new Zl({shape:{x:0,y:0,width:i[0],height:i[1],r:3}}));var u=e.textStyleModel.getTextRect("国"),c=mU(u.width,u.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(e,s,0,i,c,r),this._createHandle(e,s,1,i,c,r)),this._createIndicator(e,s,i,c,r),t.add(s)},e.prototype._createHandle=function(t,e,n,i,r,o){var a=ue(this._dragHandle,this,n,!1),s=ue(this._dragHandle,this,n,!0),l=zo(t.get("handleSize"),i[0]),u=ty(t.get("handleIcon"),-l/2,-l/2,l,l,null,!0),c=xU(this._orient);u.attr({cursor:c,draggable:!0,drift:a,ondragend:s,onmousemove:function(t){In(t.event)}}),u.x=i[0]/2,u.useStyle(t.getModel("handleStyle").getItemStyle()),u.setStyle({strokeNoScale:!0,strokeFirst:!0}),u.style.lineWidth*=2,u.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),lc(u,!0),e.add(u);var h=this.visualMapModel.textStyleModel,d=new Jl({cursor:c,draggable:!0,drift:a,onmousemove:function(t){In(t.event)},ondragend:s,style:md(h,{x:0,y:0,text:""})});d.ensureState("blur").style={opacity:.1},d.stateTransition={duration:200},this.group.add(d);var p=[l,0],f=this._shapes;f.handleThumbs[n]=u,f.handleLabelPoints[n]=p,f.handleLabels[n]=d},e.prototype._createIndicator=function(t,e,n,i,r){var o=zo(t.get("indicatorSize"),n[0]),a=ty(t.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);a.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var s=t.getModel("indicatorStyle").getItemStyle();if(a instanceof Gl){var l=a.style;a.useStyle(Kt({image:l.image,x:l.x,y:l.y,width:l.width,height:l.height},s))}else a.useStyle(s);e.add(a);var u=this.visualMapModel.textStyleModel,c=new Jl({silent:!0,invisible:!0,style:md(u,{x:0,y:0,text:""})});this.group.add(c);var h=[("horizontal"===r?i/2:6)+n[0]/2,0],d=this._shapes;d.indicator=a,d.indicatorLabel=c,d.indicatorLabelPoint=h,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,n,i){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([n,i],this._shapes.mainGroup,!0);this._updateInterval(t,r[1]),this._hideIndicator(),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():_U(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),i=[0,t.itemSize[1]];this._handleEnds=[pU(e[0],n,i,!0),pU(e[1],n,i,!0)]},e.prototype._updateInterval=function(t,e){e=e||0;var n=this.visualMapModel,i=this._handleEnds,r=[0,n.itemSize[1]];$L(e,i,r,t,0);var o=n.getExtent();this._dataInterval=[pU(i[0],r,o,!0),pU(i[1],r,o,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,r=[0,e.itemSize[1]],o=t?r:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,r,"outOfRange");i.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),i.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(o,a)},e.prototype._createBarVisual=function(t,e,n,i){var r={forceState:i,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,r),a=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],s=this._createBarPoints(n,a);return{barColor:new mh(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var n=[],i=(t[1]-t[0])/100;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;r<100;r++){var o=t[0]+i*r;if(o>t[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new qo("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent();fU([0,1],(function(l){var u=r[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var c=pU(t[l],[0,a[1]],s,!0),h=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=h/a[0],u.x=a[0]-h/2;var d=Kh(n.handleLabelPoints[l],Jh(u,this.group));o[l].setStyle({x:d[0],y:d[1],text:i.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),h=this.getControllerVisual(t,"symbolSize"),d=pU(t,o,s,!0),p=a[0]-h/2,f={x:u.x,y:u.y};u.y=d,u.x=p;var g=Kh(l.indicatorLabelPoint,Jh(u,this.group)),m=l.indicatorLabel;m.attr("invisible",!1);var v=this._applyTransform("left",l.mainGroup),y="horizontal"===this._orient;m.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:y?v:"middle",align:y?"center":v});var _={x:p,y:d,style:{fill:c}},x={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=f.x,u.y=f.y,u.animateTo(_,b),m.animateTo(x,b)}else u.attr(_),m.attr(x);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var S=0;S<w.length;S++)this.api.enterBlur(w[S])}},e.prototype._enableHoverLinkToSeries=function(){var t=this;this._shapes.mainGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,i=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,!0);i[1]=gU(mU(0,i[1]),n[1]),t._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},e.prototype._enableHoverLinkFromSeries=function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},e.prototype._doHoverLinkToSeries=function(t,e){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var r=[0,i[1]],o=n.getExtent();t=gU(mU(r[0],t),r[1]);var a=function(t,e,n){var i=6,r=t.get("hoverLinkDataSize");r&&(i=pU(r,e,n,!0)/2);return i}(n,o,r),s=[t-a,t+a],l=pU(t,r,o,!0),u=[pU(s[0],r,o,!0),pU(s[1],r,o,!0)];s[0]<r[0]&&(u[0]=-1/0),s[1]>r[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var c=this._hoverLinkDataIndices,h=[];(e||_U(n))&&(h=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var d=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i<r;i++){var o=za(t[i].seriesId,null);if(null==o)return;for(var a=Ea(t[i].dataIndex),s=n&&n[o],l=0,u=a.length;l<u;l++){var c=a[l];s&&s[c]?s[c]=null:(e[o]||(e[o]={}))[c]=1}}}function o(t,e){var n=[];for(var i in t)if(t.hasOwnProperty(i)&&null!=t[i])if(e)n.push(+i);else{var r=o(t[i],!0);r.length&&n.push({seriesId:i,dataIndex:r})}return n}}(c,h);this._dispatchHighDown("downplay",dU(d[0],n)),this._dispatchHighDown("highlight",dU(d[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e;if(Uv(t.target,(function(t){var n=cu(t);if(null!=n.dataIndex)return e=n,!0}),!0),e){var n=this.ecModel.getSeriesByIndex(e.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(n)){var r=n.getData(e.dataType),o=r.getStore().get(i.getDataDimensionIndex(r),e.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var n=0;n<e.length;n++)this.api.leaveBlur(e[n])},e.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",dU(t,this.visualMapModel)),t.length=0},e.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},e.prototype._applyTransform=function(t,e,n,i){var r=Jh(e,i?null:this.group);return he(t)?Kh(t,r,n):$h(t,r,n)},e.prototype._dispatchHighDown=function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},e.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.type="visualMap.continuous",e}(uU);function yU(t,e,n,i){return new eh({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){In(t.event)},ondragend:i})}function _U(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function xU(t){return"vertical"===t?"ns-resize":"ew-resize"}var bU={type:"selectDataRange",event:"dataRangeSelected",update:"update"},wU=function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))},SU=[{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",(function(e){var i,r,o,a,s,l=t.pipelineContext;!e.isTargetSeries(t)||l&&l.large||n.push((i=e.stateList,r=e.targetVisuals,o=ue(e.getValueState,e),a=e.getDataDimensionIndex(t.getData()),s={},re(i,(function(t){var e=WD.prepareVisualTypes(r[t]);s[t]=e})),{progress:function(t,e){var n,i;function l(t){return Bv(e,i,t)}function u(t,n){Fv(e,i,t,n)}null!=a&&(n=e.getDimensionIndex(a));for(var c=e.getStore();null!=(i=t.next());){var h=e.getRawDataItem(i);if(!h||!1!==h.visualMap)for(var d=null!=a?c.get(n,i):i,p=o(d),f=r[p],g=s[p],m=0,v=g.length;m<v;m++){var y=g[m];f[y]&&f[y].applyVisual(d,l,u)}}}}))})),n}},{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),i=[];e.eachComponent("visualMap",(function(e){if(e.isTargetSeries(t)){var r=e.getVisualMeta(ue(AU,null,t,e))||{stops:[],outerColors:[]},o=e.getDataDimensionIndex(n);o>=0&&(r.dimension=o,i.push(r))}})),t.getData().setVisual("visualMeta",i)}}];function AU(t,e,n,i){for(var r=e.targetVisuals[i],o=WD.prepareVisualTypes(r),a={color:zv(t.getData(),"color")},s=0,l=o.length;s<l;s++){var u=o[s],c=r["opacity"===u?"__alphaForOpacity":u];c&&c.applyVisual(n,h,d)}return a.color;function h(t){return a[t]}function d(t,e){a[t]=e}}var TU=re;function MU(t){var e=t&&t.visualMap;he(e)||(e=e?[e]:[]),TU(e,(function(t){if(t){IU(t,"splitList")&&!IU(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&he(e)&&TU(e,(function(t){me(t)&&(IU(t,"start")&&!IU(t,"min")&&(t.min=t.start),IU(t,"end")&&!IU(t,"max")&&(t.max=t.end))}))}}))}function IU(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var CU=!1;function DU(t){CU||(CU=!0,t.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(bU,wU),re(SU,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(MU))}function EU(t){t.registerComponentModel(sU),t.registerComponentView(vU),DU(t)}var LU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return Tt(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],PU[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=Qt(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=oe(this._pieceList,(function(t){return t=Qt(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=WD.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}re(e.pieces,(function(t){re(i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),re(n,(function(t,n){var i=!1;re(this.stateList,(function(t){i=i||o(e,t,n)||o(e.target,t,n)}),this),!i&&re(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=JG(n,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,re(i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var o=!1;re(i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=Qt(t)},e.prototype.getValueState=function(t){var e=WD.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),(function(e,i){WD.findPieceIndex(e,n)===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return re(r,(function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])}),this),{stops:e,outerColors:n}}function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=Gd(oU.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(oU),PU={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var o=(i[1]-i[0])/r;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,s=i[0];a<r;s+=o,a++){var l=a===r-1?i[1]:s+o;t.push({interval:[s,l],close:[1,1]})}e.maxOpen&&t.push({interval:[i[1],1/0],close:[0,0]}),xa(t),re(t,(function(t,e){t.index=e,t.text=this.formatValueText(t.interval)}),this)},categories:function(t){var e=this.option;re(e.categories,(function(e){t.push({text:this.formatValueText(e,!0),value:e})}),this),RU(e,t)},pieces:function(t){var e=this.option;re(e.pieces,(function(e,n){me(e)||(e={value:e});var i={text:"",index:n};if(null!=e.label&&(i.text=e.label),e.hasOwnProperty("value")){var r=i.value=e.value;i.interval=[r,r],i.close=[1,1]}else{for(var o=i.interval=[],a=i.close=[0,0],s=[1,0,1],l=[-1/0,1/0],u=[],c=0;c<2;c++){for(var h=[["gte","gt","min"],["lte","lt","max"]][c],d=0;d<3&&null==o[c];d++)o[c]=e[h[d]],a[c]=s[d],u[c]=2===d;null==o[c]&&(o[c]=l[c])}u[0]&&o[1]===1/0&&(a[0]=0),u[1]&&o[0]===-1/0&&(a[1]=0),o[0]===o[1]&&a[0]&&a[1]&&(i.value=o[0])}i.visual=WD.retrieveVisuals(e),t.push(i)}),this),RU(e,t),xa(t),re(t,(function(t){var e=t.close,n=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function RU(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var NU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Tt(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,c=we(e.get("showLabel",!0),!u);u&&this._renderEndsText(t,u[0],s,c,a),re(l.viewPieceList,(function(i){var l=i.piece,u=new qo;u.onclick=ue(this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var h=e.getRepresentValue(l);if(this._createItemSymbol(u,h,[0,0,s[0],s[1]]),c){var d=this.visualMapModel.getValueState(h);u.add(new Jl({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===d?.5:1}}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,c,a),Vp(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:dU(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return hU(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new qo,a=this.visualMapModel.textStyleModel;o.add(new Jl({style:md(a,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=oe(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add(ty(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=Qt(n.selected),o=e.getSelectedMapKey(t);"single"===i||!0===i?(r[o]=!0,re(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},e.type="visualMap.piecewise",e}(uU);function kU(t){t.registerComponentModel(LU),t.registerComponentView(NU),DU(t)}var OU={label:{enabled:!0},decal:{show:!1}},BU=Ua(),zU={};function FU(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=Qt(OU);qt(i.label,t.getLocaleModel().get("aria"),!1),qt(n.option,i,!1),function(){if(n.getModel("decal").get("show")){var e=ke();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),BU(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(de(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=wf(e.ecModel,e.name,zU,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var o=e.getRawData(),a={},s=BU(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var i=a[t],r=o.getName(t)||t+"",c=wf(e.ecModel,r,s,l),h=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(h,c))}))}}function u(t,e){var n=t?Kt(Kt({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var i=e.getZr().dom;if(!i)return;var a=t.getLocaleModel().get("aria"),s=n.getModel("label");if(s.option=$t(s.option,a),!s.get("enabled"))return;if(s.get("description"))return void i.setAttribute("aria-label",s.get("description"));var l,u=t.getSeriesCount(),c=s.get(["data","maxCount"])||10,h=s.get(["series","maxCount"])||10,d=Math.min(u,h);if(u<1)return;var p=function(){var e=t.get("title");e&&e.length&&(e=e[0]);return e&&e.text}();l=p?r(s.get(["general","withTitle"]),{title:p}):s.get(["general","withoutTitle"]);var f=[];l+=r(u>1?s.get(["series","multiple","prefix"]):s.get(["series","single","prefix"]),{seriesCount:u}),t.eachSeries((function(t,e){if(e<d){var n=void 0,i=t.get("name")?"withName":"withoutName";n=r(n=u>1?s.get(["series","multiple",i]):s.get(["series","single",i]),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:o(t.subType)});var a=t.getData();if(a.count()>c)n+=r(s.get(["data","partialData"]),{displayCnt:c});else n+=s.get(["data","allData"]);for(var l=s.get(["data","separator","middle"]),h=s.get(["data","separator","end"]),p=[],g=0;g<a.count();g++)if(g<c){var m=a.getName(g),v=a.getValues(g),y=s.get(["data",m?"withName":"withoutName"]);p.push(r(y,{name:m,value:v.join(l)}))}n+=p.join(l)+h,f.push(n)}}));var g=s.getModel(["series","multiple","separator"]),m=g.get("middle"),v=g.get("end");l+=f.join(m)+v,i.setAttribute("aria-label",l)}()}function r(t,e){if(!pe(t))return t;var n=t;return re(e,(function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)})),n}function o(e){var n=t.getLocaleModel().get(["series","typeNames"]);return n[e]||n.chart}}function VU(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.show),e.label=e.label||{},re(["description","general","series","data"],(function(t){null!=e[t]&&(e.label[t]=e[t])}))}}var GU={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},UU=function(){function t(t){var e;if(null==(this._condVal=pe(t)?new RegExp(t):(e=t,"[object RegExp]"===Bt.call(e)?t:null))){Ma("")}}return t.prototype.evaluate=function(t){var e=y(t);return pe(e)?this._condVal.test(t):!!ge(e)&&this._condVal.test(t+"")},t}(),HU=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),WU=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},t}(),XU=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},t}(),jU=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),YU=function(){function t(){}return t.prototype.evaluate=function(){for(var t=!!this.valueParser,e=(0,this.getValue)(this.valueGetterParam),n=t?this.valueParser(e):null,i=0;i<this.subCondList.length;i++)if(!this.subCondList[i].evaluate(t?n:e))return!1;return!0},t}();function ZU(t,e){if(!0===t||!1===t){var n=new HU;return n.value=t,n}return qU(t)||Ma(""),t.and?QU("and",t,e):t.or?QU("or",t,e):t.not?function(t,e){var n=t.not,i="";qU(n)||Ma(i);var r=new jU;r.child=ZU(n,e),r.child||Ma(i);return r}(t,e):function(t,e){for(var n="",i=e.prepareGetValue(t),r=[],o=le(t),a=t.parser,s=a?Og(a):null,l=0;l<o.length;l++){var u=o[l];if("parser"!==u&&!e.valueGetterAttrMap.get(u)){var c=Fe(GU,u)?GU[u]:u,h=t[u],d=s?s(h):h,p=Gg(c,d)||"reg"===c&&new UU(d);p||Ma(n),r.push(p)}}r.length||Ma(n);var f=new YU;return f.valueGetterParam=i,f.valueParser=s,f.getValue=e.getValue,f.subCondList=r,f}(t,e)}function QU(t,e,n){var i=e[t];he(i)||Ma(""),i.length||Ma("");var r="and"===t?new WU:new XU;return r.children=oe(i,(function(t){return ZU(t,n)})),r.children.length||Ma(""),r}function qU(t){return me(t)&&!ie(t)}var JU=function(){function t(t,e){this._cond=ZU(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();var KU={type:"echarts:filter",transform:function(t){for(var e,n,i,r=t.upstream,o=(n=t.config,i={valueGetterAttrMap:ke({dimension:!0}),prepareGetValue:function(t){var e=t.dimension;Fe(t,"dimension")||Ma("");var n=r.getDimensionInfo(e);return n||Ma(""),{dimIdx:n.index}},getValue:function(t){return r.retrieveValueFromItem(e,t.dimIdx)}},new JU(n,i)),a=[],s=0,l=r.count();s<l;s++)e=r.getRawDataItem(s),o.evaluate()&&a.push(e);return{data:a}}},$U={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,i="",r=Ea(n);r.length||Ma(i);var o=[];re(r,(function(t){var n=t.dimension,r=t.order,a=t.parser,s=t.incomparable;if(null==n&&Ma(i),"asc"!==r&&"desc"!==r&&Ma(i),s&&"min"!==s&&"max"!==s){Ma("")}if("asc"!==r&&"desc"!==r){Ma("")}var l=e.getDimensionInfo(n);l||Ma(i);var u=a?Og(a):null;a&&!u&&Ma(i),o.push({dimIdx:l.index,parser:u,comparator:new Fg(r,s)})}));var a=e.sourceFormat;a!==tf&&a!==ef&&Ma(i);for(var s=[],l=0,u=e.count();l<u;l++)s.push(e.getRawDataItem(l));return s.sort((function(t,n){for(var i=0;i<o.length;i++){var r=o[i],a=e.retrieveValueFromItem(t,r.dimIdx),s=e.retrieveValueFromItem(n,r.dimIdx);r.parser&&(a=r.parser(a),s=r.parser(s));var l=r.comparator.evaluate(a,s);if(0!==l)return l}return 0})),{data:s}}};var tH=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return Tt(e,t),e.prototype.init=function(e,n,i){t.prototype.init.call(this,e,n,i),this._sourceManager=new am(this),sm(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),sm(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:af},e}(Zp),eH=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return Tt(e,t),e.type="dataset",e}(zm);function nH(t){t.registerComponentModel(tH),t.registerComponentView(eH)}var iH=gl.CMD;function rH(t,e){return Math.abs(t-e)<1e-5}function oH(t){var e,n,i,r,o,a=t.data,s=t.len(),l=[],u=0,c=0,h=0,d=0;function p(t,n){e&&e.length>2&&l.push(e),e=[t,n]}function f(t,n,i,r){rH(t,i)&&rH(n,r)||e.push(t,n,i,r,i,r)}function g(t,n,i,r,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=n<t?-1:1,c=Math.cos(t),h=Math.sin(t),d=Math.cos(n),p=Math.sin(n),f=c*o+i,g=h*a+r,m=d*o+i,v=p*a+r,y=o*l*u,_=a*l*u;e.push(f-y*h,g+_*c,m+y*p,v-_*d,m,v)}for(var m=0;m<s;){var v=a[m++],y=1===m;switch(y&&(h=u=a[m],d=c=a[m+1],v!==iH.L&&v!==iH.C&&v!==iH.Q||(e=[h,d])),v){case iH.M:u=h=a[m++],c=d=a[m++],p(h,d);break;case iH.L:f(u,c,n=a[m++],i=a[m++]),u=n,c=i;break;case iH.C:e.push(a[m++],a[m++],a[m++],a[m++],u=a[m++],c=a[m++]);break;case iH.Q:n=a[m++],i=a[m++],r=a[m++],o=a[m++],e.push(u+2/3*(n-u),c+2/3*(i-c),r+2/3*(n-r),o+2/3*(i-o),r,o),u=r,c=o;break;case iH.A:var _=a[m++],x=a[m++],b=a[m++],w=a[m++],S=a[m++],A=a[m++]+S;m+=1;var T=!a[m++];n=Math.cos(S)*b+_,i=Math.sin(S)*w+x,y?p(h=n,d=i):f(u,c,n,i),u=Math.cos(A)*b+_,c=Math.sin(A)*w+x;for(var M=(T?-1:1)*Math.PI/2,I=S;T?I>A:I<A;I+=M){g(I,T?Math.max(I+M,A):Math.min(I+M,A),_,x,b,w)}break;case iH.R:h=u=a[m++],d=c=a[m++],n=h+a[m++],i=d+a[m++],p(n,d),f(n,d,n,i),f(n,i,h,i),f(h,i,h,d),f(h,d,n,d);break;case iH.Z:e&&f(u,c,h,d),u=h,c=d}}return e&&e.length>2&&l.push(e),l}function aH(t,e,n,i,r,o,a,s,l,u){if(rH(t,n)&&rH(e,i)&&rH(r,a)&&rH(o,s))l.push(a,s);else{var c=2/u,h=c*c,d=a-t,p=s-e,f=Math.sqrt(d*d+p*p);d/=f,p/=f;var g=n-t,m=i-e,v=r-a,y=o-s,_=g*g+m*m,x=v*v+y*y;if(_<h&&x<h)l.push(a,s);else{var b=d*g+p*m,w=-d*v-p*y;if(_-b*b<h&&b>=0&&x-w*w<h&&w>=0)l.push(a,s);else{var S=[],A=[];Oi(t,n,r,a,.5,S),Oi(e,i,o,s,.5,A),aH(S[0],A[0],S[1],A[1],S[2],A[2],S[3],A[3],l,u),aH(S[4],A[4],S[5],A[5],S[6],A[6],S[7],A[7],l,u)}}}}function sH(t,e,n){var i=t[e],r=t[1-e],o=Math.abs(i/r),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u<a;u++)l.push(s);var c=n-a*s;if(c>0)for(u=0;u<c;u++)l[u%a]+=1;return l}function lH(t,e,n){for(var i=t.r0,r=t.r,o=t.startAngle,a=t.endAngle,s=Math.abs(a-o),l=s*r,u=r-i,c=l>Math.abs(u),h=sH([l,u],c?0:1,e),d=(c?s:u)/h.length,p=0;p<h.length;p++)for(var f=(c?u:s)/h[p],g=0;g<h[p];g++){var m={};c?(m.startAngle=o+d*p,m.endAngle=o+d*(p+1),m.r0=i+f*g,m.r=i+f*(g+1)):(m.startAngle=o+f*g,m.endAngle=o+f*(g+1),m.r0=i+d*p,m.r=i+d*(p+1)),m.clockwise=t.clockwise,m.cx=t.cx,m.cy=t.cy,n.push(m)}}function uH(t,e,n,i){return t*i-n*e}function cH(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,c=a-r,h=s-o,d=uH(c,h,l,u);if(Math.abs(d)<1e-6)return null;var p=uH(t-r,e-o,c,h)/d;return p<0||p>1?null:new Fn(p*l+t,p*u+e)}function hH(t,e,n){var i=new Fn;Fn.sub(i,n,e),i.normalize();var r=new Fn;return Fn.sub(r,t,e),r.dot(i)}function dH(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function pH(t){var e=t.points,n=[],i=[];Ws(e,n,i);var r=new Zn(n[0],n[1],i[0]-n[0],i[1]-n[1]),o=r.width,a=r.height,s=r.x,l=r.y,u=new Fn,c=new Fn;return o>a?(u.x=c.x=s+o/2,u.y=l,c.y=l+a):(u.y=c.y=l+a/2,u.x=s,c.x=s+o),function(t,e,n){for(var i=t.length,r=[],o=0;o<i;o++){var a=t[o],s=t[(o+1)%i],l=cH(a[0],a[1],s[0],s[1],e.x,e.y,n.x,n.y);l&&r.push({projPt:hH(l,e,n),pt:l,idx:o})}if(r.length<2)return[{points:t},{points:t}];r.sort((function(t,e){return t.projPt-e.projPt}));var u=r[0],c=r[r.length-1];if(c.idx<u.idx){var h=u;u=c,c=h}var d=[u.pt.x,u.pt.y],p=[c.pt.x,c.pt.y],f=[d],g=[p];for(o=u.idx+1;o<=c.idx;o++)dH(f,t[o].slice());for(dH(f,p),dH(f,d),o=c.idx+1;o<=u.idx+i;o++)dH(g,t[o%i].slice());return dH(g,d),dH(g,p),[{points:f},{points:g}]}(e,u,c)}function fH(t,e,n,i){if(1===n)i.push(e);else{var r=Math.floor(n/2),o=t(e);fH(t,o[0],r,i),fH(t,o[1],n-r,i)}return i}function gH(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function mH(t,e){var n,i=[],r=t.shape;switch(t.type){case"rect":!function(t,e,n){for(var i=t.width,r=t.height,o=i>r,a=sH([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",c=o?"y":"x",h=t[s]/a.length,d=0;d<a.length;d++)for(var p=t[l]/a[d],f=0;f<a[d];f++){var g={};g[u]=d*h,g[c]=f*p,g[s]=h,g[l]=p,g.x+=t.x,g.y+=t.y,n.push(g)}}(r,e,i),n=Zl;break;case"sector":lH(r,e,i),n=qc;break;case"circle":lH({r0:0,r:r.r,startAngle:0,endAngle:2*Math.PI,cx:r.cx,cy:r.cy},e,i),n=qc;break;default:var o=t.getComputedTransform(),a=o?Math.sqrt(Math.max(o[0]*o[0]+o[1]*o[1],o[2]*o[2]+o[3]*o[3])):1,s=oe(function(t,e){var n=oH(t),i=[];e=e||1;for(var r=0;r<n.length;r++){var o=n[r],a=[],s=o[0],l=o[1];a.push(s,l);for(var u=2;u<o.length;){var c=o[u++],h=o[u++],d=o[u++],p=o[u++],f=o[u++],g=o[u++];aH(s,l,c,h,d,p,f,g,a,e),s=f,l=g}i.push(a)}return i}(t.getUpdatedPathProxy(),a),(function(t){return function(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}(t)})),l=s.length;if(0===l)fH(pH,{points:s[0]},e,i);else if(l===e)for(var u=0;u<l;u++)i.push({points:s[u]});else{var c=0,h=oe(s,(function(t){var e=[],n=[];Ws(t,e,n);var i=(n[1]-e[1])*(n[0]-e[0]);return c+=i,{poly:t,area:i}}));h.sort((function(t,e){return e.area-t.area}));var d=e;for(u=0;u<l;u++){var p=h[u];if(d<=0)break;var f=u===l-1?d:Math.ceil(p.area/c*e);f<0||(fH(pH,{points:p.poly},f,i),d-=f)}}n=eh}if(!n)return function(t,e){for(var n=[],i=0;i<e;i++)n.push(Lc(t));return n}(t,e);var g=[];for(u=0;u<i.length;u++){var m=new n;m.setShape(i[u]),gH(t,m),g.push(m)}return g}function vH(t,e){var n=t.length,i=e.length;if(n===i)return[t,e];for(var r=[],o=[],a=n<i?t:e,s=Math.min(n,i),l=Math.abs(i-n)/6,u=(s-2)/6,c=Math.ceil(l/u)+1,h=[a[0],a[1]],d=l,p=2;p<s;){var f=a[p-2],g=a[p-1],m=a[p++],v=a[p++],y=a[p++],_=a[p++],x=a[p++],b=a[p++];if(d<=0)h.push(m,v,y,_,x,b);else{for(var w=Math.min(d,c-1)+1,S=1;S<=w;S++){var A=S/w;Oi(f,m,y,x,A,r),Oi(g,v,_,b,A,o),f=r[3],g=o[3],h.push(r[1],o[1],r[2],o[2],f,g),m=r[5],v=o[5],y=r[6],_=o[6]}d-=w-1}}return a===t?[h,e]:[t,h]}function yH(t,e){for(var n=t.length,i=t[n-2],r=t[n-1],o=[],a=0;a<e.length;)o[a++]=i,o[a++]=r;return o}function _H(t){for(var e=0,n=0,i=0,r=t.length,o=0,a=r-2;o<r;a=o,o+=2){var s=t[a],l=t[a+1],u=t[o],c=t[o+1],h=s*c-u*l;e+=h,n+=(s+u)*h,i+=(l+c)*h}return 0===e?[t[0]||0,t[1]||0]:[n/e/3,i/e/3,e]}function xH(t,e,n,i){for(var r=(t.length-2)/6,o=1/0,a=0,s=t.length,l=s-2,u=0;u<r;u++){for(var c=6*u,h=0,d=0;d<s;d+=2){var p=0===d?c:(c+d-2)%l+2,f=t[p]-n[0],g=t[p+1]-n[1],m=e[d]-i[0]-f,v=e[d+1]-i[1]-g;h+=m*m+v*v}h<o&&(o=h,a=u)}return a}function bH(t){for(var e=[],n=t.length,i=0;i<n;i+=2)e[i]=t[n-i-2],e[i+1]=t[n-i-1];return e}function wH(t){return t.__isCombineMorphing}var SH="__mOriginal_";function AH(t,e,n){var i=SH+e,r=t[i]||t[e];t[i]||(t[i]=t[e]);var o=n.replace,a=n.after,s=n.before;t[e]=function(){var t,e=arguments;return s&&s.apply(this,e),t=o?o.apply(this,e):r.apply(this,e),a&&a.apply(this,e),t}}function TH(t,e){var n=SH+e;t[n]&&(t[e]=t[n],t[n]=null)}function MH(t,e){for(var n=0;n<t.length;n++)for(var i=t[n],r=0;r<i.length;){var o=i[r],a=i[r+1];i[r++]=e[0]*o+e[2]*a+e[4],i[r++]=e[1]*o+e[3]*a+e[5]}}function IH(t,e){var n=t.getUpdatedPathProxy(),i=e.getUpdatedPathProxy(),r=function(t,e){for(var n,i,r,o=[],a=[],s=0;s<Math.max(t.length,e.length);s++){var l=t[s],u=e[s],c=void 0,h=void 0;l?u?(i=c=(n=vH(l,u))[0],r=h=n[1]):(h=yH(r||l,l),c=l):(c=yH(i||u,u),h=u),o.push(c),a.push(h)}return[o,a]}(oH(n),oH(i)),o=r[0],a=r[1],s=t.getComputedTransform(),l=e.getComputedTransform();s&&MH(o,s),l&&MH(a,l),AH(e,"updateTransform",{replace:function(){this.transform=null}}),e.transform=null;var u=function(t,e,n,i){for(var r,o=[],a=0;a<t.length;a++){var s=t[a],l=e[a],u=_H(s),c=_H(l);null==r&&(r=u[2]<0!=c[2]<0);var h=[],d=[],p=0,f=1/0,g=[],m=s.length;r&&(s=bH(s));for(var v=6*xH(s,l,u,c),y=m-2,_=0;_<y;_+=2){var x=(v+_)%y+2;h[_+2]=s[x]-u[0],h[_+3]=s[x+1]-u[1]}h[0]=s[v]-u[0],h[1]=s[v+1]-u[1];for(var b=i/n,w=-i/2;w<=i/2;w+=b){var S=Math.sin(w),A=Math.cos(w),T=0;for(_=0;_<s.length;_+=2){var M=h[_],I=h[_+1],C=l[_]-c[0],D=l[_+1]-c[1],E=C*A-D*S,L=C*S+D*A;g[_]=E,g[_+1]=L;var P=E-M,R=L-I;T+=P*P+R*R}if(T<f){f=T,p=w;for(var N=0;N<g.length;N++)d[N]=g[N]}}o.push({from:h,to:d,fromCp:u,toCp:c,rotation:-p})}return o}(o,a,10,Math.PI),c=[];AH(e,"buildPath",{replace:function(t){for(var n=e.__morphT,i=1-n,r=[],o=0;o<u.length;o++){var a=u[o],s=a.from,l=a.to,h=a.rotation*n,d=a.fromCp,p=a.toCp,f=Math.sin(h),g=Math.cos(h);en(r,d,p,n);for(var m=0;m<s.length;m+=2){var v=s[m],y=s[m+1],_=v*i+(S=l[m])*n,x=y*i+(A=l[m+1])*n;c[m]=_*g-x*f+r[0],c[m+1]=_*f+x*g+r[1]}var b=c[0],w=c[1];t.moveTo(b,w);for(m=2;m<s.length;){var S=c[m++],A=c[m++],T=c[m++],M=c[m++],I=c[m++],C=c[m++];b===S&&w===A&&T===I&&M===C?t.lineTo(I,C):t.bezierCurveTo(S,A,T,M,I,C),b=I,w=C}}}})}function CH(t,e,n){if(!t||!e)return e;var i=n.done,r=n.during;return IH(t,e),e.__morphT=0,e.animateTo({__morphT:1},$t({during:function(t){e.dirtyShape(),r&&r(t)},done:function(){TH(e,"buildPath"),TH(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape(),i&&i()}},n)),e}function DH(t,e,n,i,r,o){t=r===n?0:Math.round(32767*(t-n)/(r-n)),e=o===i?0:Math.round(32767*(e-i)/(o-i));for(var a,s=0,l=32768;l>0;l/=2){var u=0,c=0;(t&l)>0&&(u=1),(e&l)>0&&(c=1),s+=l*l*(3*u^c),0===c&&(1===u&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}function EH(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,o=oe(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]}));return oe(o,(function(o,a){return{cp:o,z:DH(o[0],o[1],e,n,i,r),path:t[a]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function LH(t){return mH(t.path,t.count)}function PH(t){return he(t[0])}function RH(t,e){for(var n=[],i=t.length,r=0;r<i;r++)n.push({one:t[r],many:[]});for(r=0;r<e.length;r++){var o=e[r].length,a=void 0;for(a=0;a<o;a++)n[a%i].many.push(e[r][a])}var s=0;for(r=i-1;r>=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[r].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var NH={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i<t.count;i++){var r=Lc(t.path);r.setStyle("opacity",n),e.push(r)}return e},split:null};function kH(t,e,n,i,r,o){if(t.length&&e.length){var a=Dh("update",i,r);if(a&&a.duration>0){var s,l,u=i.getModel("universalTransition").get("delay"),c=Object.assign({setToFinal:!0},a);PH(t)&&(s=t,l=e),PH(e)&&(s=e,l=t);for(var h=s?s===t:t.length>e.length,d=s?RH(l,s):RH(h?e:t,[h?t:e]),p=0,f=0;f<d.length;f++)p+=d[f].many.length;var g=0;for(f=0;f<d.length;f++)m(d[f],h,g,p),g+=d[f].many.length}}function m(t,e,i,r,a){var s=t.many,l=t.one;if(1!==s.length||a)for(var h=$t({dividePath:NH[n],individualDelay:u&&function(t,e,n,o){return u(t+i,r)}},c),d=e?function(t,e,n){var i=[];!function t(e){for(var n=0;n<e.length;n++){var r=e[n];wH(r)?t(r.childrenRef()):r instanceof Ol&&i.push(r)}}(t);var r=i.length;if(!r)return{fromIndividuals:[],toIndividuals:[],count:0};var o=(n.dividePath||LH)({path:e,count:r});if(o.length!==r)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0};i=EH(i),o=EH(o);for(var a=n.done,s=n.during,l=n.individualDelay,u=new Co,c=0;c<r;c++){var h=i[c],d=o[c];d.parent=e,d.copyTransform(u),l||IH(h,d)}function p(t){for(var e=0;e<o.length;e++)o[e].addSelfToZr(t)}function f(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,TH(e,"addSelfToZr"),TH(e,"removeSelfFromZr")}e.__isCombineMorphing=!0,e.childrenRef=function(){return o},AH(e,"addSelfToZr",{after:function(t){p(t)}}),AH(e,"removeSelfFromZr",{after:function(t){for(var e=0;e<o.length;e++)o[e].removeSelfFromZr(t)}});var g=o.length;if(l){var m=g,v=function(){0==--m&&(f(),a&&a())};for(c=0;c<g;c++){var y=l?$t({delay:(n.delay||0)+l(c,g,i[c],o[c]),done:v},n):n;CH(i[c],o[c],y)}}else e.__morphT=0,e.animateTo({__morphT:1},$t({during:function(t){for(var n=0;n<g;n++){var i=o[n];i.__morphT=e.__morphT,i.dirtyShape()}s&&s(t)},done:function(){f();for(var e=0;e<t.length;e++)TH(t[e],"updateTransform");a&&a()}},n));return e.__zr&&p(e.__zr),{fromIndividuals:i,toIndividuals:o,count:g}}(s,l,h):function(t,e,n){var i=e.length,r=[],o=n.dividePath||LH;if(wH(t)){!function t(e){for(var n=0;n<e.length;n++){var i=e[n];wH(i)?t(i.childrenRef()):i instanceof Ol&&r.push(i)}}(t.childrenRef());var a=r.length;if(a<i)for(var s=0,l=a;l<i;l++)r.push(Lc(r[s++%a]));r.length=i}else{r=o({path:t,count:i});var u=t.getComputedTransform();for(l=0;l<r.length;l++)r[l].setLocalTransform(u);if(r.length!==i)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0}}r=EH(r),e=EH(e);var c=n.individualDelay;for(l=0;l<i;l++){var h=c?$t({delay:(n.delay||0)+c(l,i,r[l],e[l])},n):n;CH(r[l],e[l],h)}return{fromIndividuals:r,toIndividuals:e,count:e.length}}(l,s,h),p=d.fromIndividuals,f=d.toIndividuals,g=p.length,v=0;v<g;v++){y=u?$t({delay:u(v,g)},c):c;o(p[v],f[v],e?s[v]:t.one,e?t.one:s[v],y)}else{var y,_=e?s[0]:l,x=e?l:s[0];if(wH(_))m({many:[_],one:x},!0,i,r,!0);else CH(_,x,y=u?$t({delay:u(i,r)},c):c),o(_,x,_,x,y)}}}function OH(t){if(!t)return[];if(he(t)){for(var e=[],n=0;n<t.length;n++)e.push(OH(t[n]));return e}var i=[];return t.traverse((function(t){t instanceof Ol&&!t.disableMorphing&&!t.invisible&&!t.ignore&&i.push(t)})),i}var BH=1e4,zH=0,FH=1,VH=2,GH=Ua();function UH(t,e,n,i){var r=function(t,e){for(var n=t.dimensions,i=0;i<n.length;i++){var r=t.getDimensionInfo(n[i]);if(r&&0===r.otherDims[e])return n[i]}}(t,i?"itemChildGroupId":"itemGroupId");if(r){var o=function(t,e,n){var i=t.getDimensionInfo(n),r=i&&i.ordinalMeta;if(i){var o=t.get(i.name,e);return r&&r.categories[o]||o+""}}(t,e,r);return o}var a=t.getRawDataItem(e),s=i?"childGroupId":"groupId";return a&&a[s]?a[s]+"":i?void 0:n||t.getId(e)}function HH(t){var e=[];return re(t,(function(t){var n=t.data,i=t.dataGroupId;if(!(n.count()>BH))for(var r=n.getIndices(),o=0;o<r.length;o++)e.push({data:n,groupId:UH(n,o,i,!1),childGroupId:UH(n,o,i,!0),divide:t.divide,dataIndex:o})})),e}function WH(t,e,n){t.traverse((function(t){t instanceof Ol&&Ph(t,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})}))}function XH(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function jH(t){t.stopAnimation(),t.isGroup&&t.traverse((function(t){t.stopAnimation()}))}function YH(t,e,n){var i=Dh("update",n,e);i&&t.traverse((function(t){if(t instanceof Rs){var e=function(t){return Ch(t).oldStyle}(t);e&&t.animateFrom({style:e},i)}}))}function ZH(t,e,n){var i=HH(t),r=HH(e);function o(t,e,n,i,r){(n||t)&&e.animateFrom({style:n&&n!==t?Kt(Kt({},n.style),t.style):t.style},r)}var a=!1,s=zH,l=ke(),u=ke();i.forEach((function(t){t.groupId&&l.set(t.groupId,!0),t.childGroupId&&u.set(t.childGroupId,!0)}));for(var c=0;c<r.length;c++){var h=r[c].groupId;if(u.get(h)){s=FH;break}var d=r[c].childGroupId;if(d&&l.get(d)){s=VH;break}}function p(t,e){return function(n){var i=n.data,r=n.dataIndex;return e?i.getId(r):t?s===FH?n.childGroupId:n.groupId:s===VH?n.childGroupId:n.groupId}}var f=function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++){var r=t[i],o=e[i];if(r.data.getId(r.dataIndex)!==o.data.getId(o.dataIndex))return!1}return!0}(i,r),g={};if(!f)for(c=0;c<r.length;c++){var m=r[c],v=m.data.getItemGraphicEl(m.dataIndex);v&&(g[v.id]=!0)}function y(t,e){var n=i[e],s=r[t],l=s.data.hostModel,u=n.data.getItemGraphicEl(n.dataIndex),c=s.data.getItemGraphicEl(s.dataIndex);u!==c?u&&g[u.id]||c&&(jH(c),u?(jH(u),XH(u),a=!0,kH(OH(u),OH(c),s.divide,l,t,o)):WH(c,l,t)):c&&YH(c,s.dataIndex,l)}new J_(i,r,p(!0,f),p(!1,f),null,"multiple").update(y).updateManyToOne((function(t,e){var n=r[t],s=n.data,l=s.hostModel,u=s.getItemGraphicEl(n.dataIndex),c=se(oe(e,(function(t){return i[t].data.getItemGraphicEl(i[t].dataIndex)})),(function(t){return t&&t!==u&&!g[t.id]}));u&&(jH(u),c.length?(re(c,(function(t){jH(t),XH(t)})),a=!0,kH(OH(c),OH(u),n.divide,l,t,o)):WH(u,l,n.dataIndex))})).updateOneToMany((function(t,e){var n=i[e],s=n.data.getItemGraphicEl(n.dataIndex);if(!s||!g[s.id]){var l=se(oe(t,(function(t){return r[t].data.getItemGraphicEl(r[t].dataIndex)})),(function(t){return t&&t!==s})),u=r[t[0]].data.hostModel;l.length&&(re(l,(function(t){return jH(t)})),s?(jH(s),XH(s),a=!0,kH(OH(s),OH(l),n.divide,u,t[0],o)):re(l,(function(e){return WH(e,u,t[0])})))}})).updateManyToMany((function(t,e){new J_(e,t,(function(t){return i[t].data.getId(i[t].dataIndex)}),(function(t){return r[t].data.getId(r[t].dataIndex)})).update((function(n,i){y(t[n],e[i])})).execute()})).execute(),a&&re(e,(function(t){var e=t.data.hostModel,i=e&&n.getViewOfSeriesModel(e),r=Dh("update",e,0);i&&e.isAnimationEnabled()&&r&&r.duration>0&&i.group.traverse((function(t){t instanceof Ol&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)}))}))}function QH(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function qH(t){return he(t)?t.sort().join(","):t}function JH(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function KH(t,e){for(var n=0;n<t.length;n++){if(null!=e.seriesIndex&&e.seriesIndex===t[n].seriesIndex||null!=e.seriesId&&e.seriesId===t[n].id)return n}}function $H(t,e,n){"object"==y(e)&&(n=e,e=null);var i,r=this;if(!(t instanceof Function))for(var o in i=[],t)t.hasOwnProperty(o)&&i.push(o);var a=function(e){if(r.apply(this,arguments),t instanceof Function?tW(this,t.call(this,e)):function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];t[r]=e[r]}}(this,t,i),this.constructor===a)for(var n=a.__initializers__,o=0;o<n.length;o++)n[o].apply(this,arguments)};a.__super__=r,r.__initializers__?a.__initializers__=r.__initializers__.slice():a.__initializers__=[],e&&a.__initializers__.push(e);var s=function(){};return s.prototype=r.prototype,a.prototype=new s,a.prototype.constructor=a,tW(a.prototype,n),a.extend=r.extend,a.derive=r.extend,a}function tW(t,e){if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}Z_([SA]),Z_([function(t){t.registerPainter("svg",mA)}]),Z_([function(t){t.registerChartView(iT),t.registerSeriesModel(AA),t.registerLayout(rT("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,sT("line"))},function(t){t.registerChartView(vT),t.registerSeriesModel(uT),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,ce(ib,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,rb("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,sT("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))},function(t){t.registerChartView(jT),t.registerSeriesModel(qT),Vv("pie",t.registerAction),t.registerLayout(ce(BT,"pie")),t.registerProcessor(FT("pie")),t.registerProcessor(function(t){return{seriesType:t,reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension("value"),i=n.get(e,t);return!(ge(i)&&!isNaN(i)&&i<0)}))}}}("pie"))},function(t){Z_(qM),t.registerSeriesModel(JT),t.registerChartView(eM),t.registerLayout(rT("scatter"))},function(t){Z_(cI),t.registerChartView(eI),t.registerSeriesModel(nI),t.registerLayout(JM),t.registerProcessor(FT("radar")),t.registerPreprocessor(tI)},function(t){Z_(zC),t.registerChartView(yC),t.registerSeriesModel(_C),t.registerLayout(bC),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,xC),Vv("map",t.registerAction)},function(t){t.registerChartView(qC),t.registerSeriesModel(yD),t.registerLayout(xD),t.registerVisual(bD),function(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=t.dataIndex,i=e.getData().tree.getNodeByDataIndex(n);i.isExpand=!i.isExpand}))})),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e,n){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var i=kC(e.coordinateSystem,t,void 0,n);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)}))}))}(t)},function(t){t.registerSeriesModel(AD),t.registerChartView(VD),t.registerVisual(iE),t.registerLayout(mE),function(t){for(var e=0;e<wD.length;e++)t.registerAction({type:wD[e],update:"updateView"},Ve);t.registerAction({type:"treemapRootToNode",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"treemap",query:t},(function(e,n){var i=fD(t,["treemapZoomToNode","treemapRootToNode"],e);if(i){var r=e.getViewRoot();r&&(t.direction=mD(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}}))}))}(t)},function(t){t.registerChartView(_L),t.registerSeriesModel(ML),t.registerProcessor(wE),t.registerVisual(SE),t.registerVisual(TE),t.registerLayout(BE),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,XE),t.registerLayout(YE),t.registerCoordinateSystem("graphView",{dimensions:SC.dimensions,create:ZE}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},Ve),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},Ve),t.registerAction(IL,(function(t,e,n){e.eachComponent({mainType:"series",query:t},(function(e){var i=kC(e.coordinateSystem,t,void 0,n);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)}))}))},function(t){t.registerChartView(LL),t.registerSeriesModel(PL)},function(t){t.registerChartView(kL),t.registerSeriesModel(OL),t.registerLayout(BL),t.registerProcessor(FT("funnel"))},function(t){Z_(dR),t.registerChartView(zL),t.registerSeriesModel(HL),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,jL)},function(t){t.registerChartView(gR),t.registerSeriesModel(vR),t.registerLayout(yR),t.registerVisual(ER),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))},function(t){t.registerSeriesModel(PR),t.registerChartView(RR),t.registerLayout(VR),t.registerTransform(GR)},function(t){t.registerChartView(HR),t.registerSeriesModel(tN),t.registerPreprocessor(eN),t.registerVisual(sN),t.registerLayout(lN)},function(t){t.registerChartView(dN),t.registerSeriesModel(pN),t.registerLayout(rT("effectScatter"))},function(t){t.registerChartView(bN),t.registerSeriesModel(TN),t.registerLayout(xN),t.registerVisual(IN)},function(t){t.registerChartView(EN),t.registerSeriesModel(LN)},function(t){t.registerChartView(kN),t.registerSeriesModel($N),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,ce(ib,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,rb("pictorialBar"))},function(t){t.registerChartView(tk),t.registerSeriesModel(ek),t.registerLayout(nk),t.registerProcessor(FT("themeRiver"))},function(t){t.registerChartView(lk),t.registerSeriesModel(uk),t.registerLayout(ce(dk,"sunburst")),t.registerProcessor(ce(FT,"sunburst")),t.registerVisual(fk),function(t){t.registerAction({type:ok,update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){var i=fD(t,[ok],e);if(i){var r=e.getViewRoot();r&&(t.direction=mD(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}}))})),t.registerAction({type:ak,update:"none"},(function(t,e,n){t=Kt({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e){var n=fD(t,[ak],e);n&&(t.dataIndex=n.node.dataIndex)})),n.dispatchAction(Kt(t,{type:"highlight"}))})),t.registerAction({type:sk,update:"updateView"},(function(t,e,n){t=Kt({},t),n.dispatchAction(Kt(t,{type:"downplay"}))}))}(t)},function(t){t.registerChartView(aO),t.registerSeriesModel(yk)}]),Z_((function(t){Z_(qM),Z_(sB)})),Z_((function(t){Z_(sB),zM.registerAxisPointerClass("PolarAxisPointer",lB),t.registerCoordinateSystem("polar",SB),t.registerComponentModel(cB),t.registerComponentView(FB),uM(t,"angle",dB,BB),uM(t,"radius",pB,zB),t.registerComponentView(CB),t.registerComponentView(PB),t.registerLayout(ce(OB,"bar"))})),Z_(zC),Z_((function(t){Z_(sB),zM.registerAxisPointerClass("SingleAxisPointer",$B),t.registerComponentView(iz),t.registerComponentView(HB),t.registerComponentModel(XB),uM(t,"single",XB,XB.defaultOption),t.registerCoordinateSystem("single",qB)})),Z_(dR),Z_((function(t){t.registerComponentModel(rz),t.registerComponentView(az),t.registerCoordinateSystem("calendar",lz)})),Z_((function(t){t.registerComponentModel(fz),t.registerComponentView(vz),t.registerPreprocessor((function(t){var e=t.graphic;he(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])}))})),Z_((function(t){t.registerComponentModel(Wz),t.registerComponentView(jz),Uz("saveAsImage",Yz),Uz("magicType",qz),Uz("dataView",iF),Uz("dataZoom",TF),Uz("restore",lF),Z_(Fz)})),Z_((function(t){Z_(sB),t.registerComponentModel(CF),t.registerComponentView(XF),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Ve),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Ve)})),Z_(sB),Z_((function(t){t.registerComponentView(pV),t.registerComponentModel(fV),t.registerPreprocessor(qF),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,lV),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},Ve),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},Ve),Uz("brush",vV)})),Z_((function(t){t.registerComponentModel(yV),t.registerComponentView(_V)})),Z_((function(t){t.registerComponentModel(bV),t.registerComponentView(MV),t.registerSubTypeDefaulter("timeline",(function(){return"slider"})),function(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e,n){var i=e.getComponent("timeline");return i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.getPlayState()&&(i.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:i.get("replaceMerge",!0)}),$t({currentIndex:i.option.currentIndex},t)})),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(t,e){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)}))}(t),t.registerPreprocessor(DV)})),Z_((function(t){t.registerComponentModel(OV),t.registerComponentView(ZV),t.registerPreprocessor((function(t){PV(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})}))})),Z_((function(t){t.registerComponentModel(QV),t.registerComponentView(nG),t.registerPreprocessor((function(t){PV(t.series,"markLine")&&(t.markLine=t.markLine||{})}))})),Z_((function(t){t.registerComponentModel(iG),t.registerComponentView(hG),t.registerPreprocessor((function(t){PV(t.series,"markArea")&&(t.markArea=t.markArea||{})}))})),Z_((function(t){Z_(SG),Z_(EG)})),Z_((function(t){Z_(GG),Z_(qG)})),Z_(GG),Z_(qG),Z_((function(t){Z_(EU),Z_(kU)})),Z_(EU),Z_(kU),Z_((function(t){t.registerPreprocessor(VU),t.registerVisual(t.PRIORITY.VISUAL.ARIA,FU)})),Z_((function(t){t.registerTransform(KU),t.registerTransform($U)})),Z_(nH),Z_((function(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){re(Ea(n.seriesTransition),(function(t){re(Ea(t.to),(function(t){for(var e=n.updatedSeries,i=0;i<e.length;i++)(null!=t.seriesIndex&&t.seriesIndex===e[i].seriesIndex||null!=t.seriesId&&t.seriesId===e[i].id)&&(e[i][Dm]=!0)}))}))})),t.registerUpdateLifecycle("series:transition",(function(t,e,n){var i=GH(e);if(i.oldSeries&&n.updatedSeries&&n.optionChanged){var r=n.seriesTransition;if(r)re(Ea(r),(function(t){!function(t,e,n,i){var r=[],o=[];re(Ea(t.from),(function(t){var n=KH(e.oldSeries,t);n>=0&&r.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:JH(e.oldData[n]),groupIdDim:t.dimension})})),re(Ea(t.to),(function(t){var i=KH(n.updatedSeries,t);if(i>=0){var r=n.updatedSeries[i].getData();o.push({dataGroupId:e.oldDataGroupIds[i],data:r,divide:JH(r),groupIdDim:t.dimension})}})),r.length>0&&o.length>0&&ZH(r,o,i)}(t,i,n,e)}));else{var o=function(t,e){var n=ke(),i=ke(),r=ke();return re(t.oldSeries,(function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=QH(e),l=qH(s);i.set(l,{dataGroupId:o,data:a}),he(s)&&re(s,(function(t){r.set(t,{key:l,dataGroupId:o,data:a})}))})),re(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),o=t.getData(),a=QH(t),s=qH(a),l=i.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:JH(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:JH(o),data:o}]});else if(he(a)){var u=[];re(a,(function(t){var e=i.get(t);e.data&&u.push({dataGroupId:e.dataGroupId,divide:JH(e.data),data:e.data})})),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:e,data:o,divide:JH(o)}]})}else{var c=r.get(a);if(c){var h=n.get(c.key);h||(h={oldSeries:[{dataGroupId:c.dataGroupId,data:c.data,divide:JH(c.data)}],newSeries:[]},n.set(c.key,h)),h.newSeries.push({dataGroupId:e,data:o,divide:JH(o)})}}}})),n}(i,n);re(o.keys(),(function(t){var n=o.get(t);ZH(n.oldSeries,n.newSeries,e)}))}re(n.updatedSeries,(function(t){t[Dm]&&(t[Dm]=!1)}))}for(var a=t.getSeries(),s=i.oldSeries=[],l=i.oldDataGroupIds=[],u=i.oldData=[],c=0;c<a.length;c++){var h=a[c].getData();h.count()<BH&&(s.push(a[c]),l.push(a[c].get("dataGroupId")),u.push(h))}}))})),Z_(tS),Z_([SA,nH]),Z_(tS);var eW={extend:$H,derive:$H};function nW(t,e){this.action=t,this.context=e}var iW={trigger:function(t){if(this.hasOwnProperty("__handlers__")&&this.__handlers__.hasOwnProperty(t)){var e=this.__handlers__[t],n=e.length,i=-1,r=arguments;switch(r.length){case 1:for(;++i<n;)e[i].action.call(e[i].context);return;case 2:for(;++i<n;)e[i].action.call(e[i].context,r[1]);return;case 3:for(;++i<n;)e[i].action.call(e[i].context,r[1],r[2]);return;case 4:for(;++i<n;)e[i].action.call(e[i].context,r[1],r[2],r[3]);return;case 5:for(;++i<n;)e[i].action.call(e[i].context,r[1],r[2],r[3],r[4]);return;default:for(;++i<n;)e[i].action.apply(e[i].context,Array.prototype.slice.call(r,1));return}}},on:function(t,e,n){if(t&&e){var i=this.__handlers__||(this.__handlers__={});if(i[t]){if(this.has(t,e))return}else i[t]=[];var r=new nW(e,n||this);return i[t].push(r),this}},once:function(t,e,n){if(t&&e){var i=this;return this.on(t,(function n(){i.off(t,n),e.apply(this,arguments)}),n)}},before:function(t,e,n){if(t&&e)return t="before"+t,this.on(t,e,n)},after:function(t,e,n){if(t&&e)return t="after"+t,this.on(t,e,n)},success:function(t,e){return this.once("success",t,e)},error:function(t,e){return this.once("error",t,e)},off:function(t,e){var n=this.__handlers__||(this.__handlers__={});if(e){if(n[t]){for(var i=n[t],r=[],o=0;o<i.length;o++)e&&i[o].action!==e&&r.push(i[o]);n[t]=r}return this}n[t]=[]},has:function(t,e){var n=this.__handlers__;if(!n||!n[t])return!1;for(var i=n[t],r=0;r<i.length;r++)if(i[r].action===e)return!0}},rW=0,oW=Array.prototype.forEach,aW={genGUID:function(){return++rW},relative2absolute:function(t,e){if(!e||t.match(/^\//))return t;for(var n=t.split("/"),i=e.split("/"),r=n[0];"."===r||".."===r;)".."===r&&i.pop(),n.shift(),r=n[0];return i.join("/")+"/"+n.join("/")},extend:function(t,e){if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},defaults:function(t,e){if(e)for(var n in e)void 0===t[n]&&(t[n]=e[n]);return t},extendWithPropList:function(t,e,n){if(e)for(var i=0;i<n.length;i++){var r=n[i];t[r]=e[r]}return t},defaultsWithPropList:function(t,e,n){if(e)for(var i=0;i<n.length;i++){var r=n[i];null==t[r]&&(t[r]=e[r])}return t},each:function(t,e,n){if(t&&e)if(t.forEach&&t.forEach===oW)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)},isObject:function(t){return t===Object(t)},isArray:function(t){return Array.isArray(t)},isArrayLike:function(t){return!!t&&t.length===+t.length},clone:function(t){if(aW.isObject(t)){if(aW.isArray(t))return t.slice();if(aW.isArrayLike(t)){for(var e=new t.constructor(t.length),n=0;n<t.length;n++)e[n]=t[n];return e}return aW.extend({},t)}return t}},sW=function(){this.__uid__=aW.genGUID()};sW.__initializers__=[function(t){aW.extend(this,t)}],aW.extend(sW,eW),aW.extend(sW.prototype,iW);var lW=["OES_texture_float","OES_texture_half_float","OES_texture_float_linear","OES_texture_half_float_linear","OES_standard_derivatives","OES_vertex_array_object","OES_element_index_uint","WEBGL_compressed_texture_s3tc","WEBGL_depth_texture","EXT_texture_filter_anisotropic","EXT_shader_texture_lod","WEBGL_draw_buffers","EXT_frag_depth","EXT_sRGB","ANGLE_instanced_arrays"],uW=["MAX_TEXTURE_SIZE","MAX_CUBE_MAP_TEXTURE_SIZE"];function cW(t){for(var e={},n={},i=0;i<lW.length;i++){o(lW[i])}for(i=0;i<uW.length;i++){var r=uW[i];n[r]=t.getParameter(t[r])}function o(n){if(t.getExtension){var i=t.getExtension(n);i||(i=t.getExtension("MOZ_"+n)),i||(i=t.getExtension("WEBKIT_"+n)),e[n]=i}}this.getExtension=function(t){return t in e||o(t),e[t]},this.getParameter=function(t){return n[t]}}var hW={DEPTH_BUFFER_BIT:256,STENCIL_BUFFER_BIT:1024,COLOR_BUFFER_BIT:16384,POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6,ZERO:0,ONE:1,SRC_COLOR:768,ONE_MINUS_SRC_COLOR:769,SRC_ALPHA:770,ONE_MINUS_SRC_ALPHA:771,DST_ALPHA:772,ONE_MINUS_DST_ALPHA:773,DST_COLOR:774,ONE_MINUS_DST_COLOR:775,SRC_ALPHA_SATURATE:776,FUNC_ADD:32774,BLEND_EQUATION:32777,BLEND_EQUATION_RGB:32777,BLEND_EQUATION_ALPHA:34877,FUNC_SUBTRACT:32778,FUNC_REVERSE_SUBTRACT:32779,BLEND_DST_RGB:32968,BLEND_SRC_RGB:32969,BLEND_DST_ALPHA:32970,BLEND_SRC_ALPHA:32971,CONSTANT_COLOR:32769,ONE_MINUS_CONSTANT_COLOR:32770,CONSTANT_ALPHA:32771,ONE_MINUS_CONSTANT_ALPHA:32772,BLEND_COLOR:32773,ARRAY_BUFFER:34962,ELEMENT_ARRAY_BUFFER:34963,ARRAY_BUFFER_BINDING:34964,ELEMENT_ARRAY_BUFFER_BINDING:34965,STREAM_DRAW:35040,STATIC_DRAW:35044,DYNAMIC_DRAW:35048,BUFFER_SIZE:34660,BUFFER_USAGE:34661,CURRENT_VERTEX_ATTRIB:34342,FRONT:1028,BACK:1029,FRONT_AND_BACK:1032,CULL_FACE:2884,BLEND:3042,DITHER:3024,STENCIL_TEST:2960,DEPTH_TEST:2929,SCISSOR_TEST:3089,POLYGON_OFFSET_FILL:32823,SAMPLE_ALPHA_TO_COVERAGE:32926,SAMPLE_COVERAGE:32928,NO_ERROR:0,INVALID_ENUM:1280,INVALID_VALUE:1281,INVALID_OPERATION:1282,OUT_OF_MEMORY:1285,CW:2304,CCW:2305,LINE_WIDTH:2849,ALIASED_POINT_SIZE_RANGE:33901,ALIASED_LINE_WIDTH_RANGE:33902,CULL_FACE_MODE:2885,FRONT_FACE:2886,DEPTH_RANGE:2928,DEPTH_WRITEMASK:2930,DEPTH_CLEAR_VALUE:2931,DEPTH_FUNC:2932,STENCIL_CLEAR_VALUE:2961,STENCIL_FUNC:2962,STENCIL_FAIL:2964,STENCIL_PASS_DEPTH_FAIL:2965,STENCIL_PASS_DEPTH_PASS:2966,STENCIL_REF:2967,STENCIL_VALUE_MASK:2963,STENCIL_WRITEMASK:2968,STENCIL_BACK_FUNC:34816,STENCIL_BACK_FAIL:34817,STENCIL_BACK_PASS_DEPTH_FAIL:34818,STENCIL_BACK_PASS_DEPTH_PASS:34819,STENCIL_BACK_REF:36003,STENCIL_BACK_VALUE_MASK:36004,STENCIL_BACK_WRITEMASK:36005,VIEWPORT:2978,SCISSOR_BOX:3088,COLOR_CLEAR_VALUE:3106,COLOR_WRITEMASK:3107,UNPACK_ALIGNMENT:3317,PACK_ALIGNMENT:3333,MAX_TEXTURE_SIZE:3379,MAX_VIEWPORT_DIMS:3386,SUBPIXEL_BITS:3408,RED_BITS:3410,GREEN_BITS:3411,BLUE_BITS:3412,ALPHA_BITS:3413,DEPTH_BITS:3414,STENCIL_BITS:3415,POLYGON_OFFSET_UNITS:10752,POLYGON_OFFSET_FACTOR:32824,TEXTURE_BINDING_2D:32873,SAMPLE_BUFFERS:32936,SAMPLES:32937,SAMPLE_COVERAGE_VALUE:32938,SAMPLE_COVERAGE_INVERT:32939,COMPRESSED_TEXTURE_FORMATS:34467,DONT_CARE:4352,FASTEST:4353,NICEST:4354,GENERATE_MIPMAP_HINT:33170,BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,DEPTH_COMPONENT:6402,ALPHA:6406,RGB:6407,RGBA:6408,LUMINANCE:6409,LUMINANCE_ALPHA:6410,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,FRAGMENT_SHADER:35632,VERTEX_SHADER:35633,MAX_VERTEX_ATTRIBS:34921,MAX_VERTEX_UNIFORM_VECTORS:36347,MAX_VARYING_VECTORS:36348,MAX_COMBINED_TEXTURE_IMAGE_UNITS:35661,MAX_VERTEX_TEXTURE_IMAGE_UNITS:35660,MAX_TEXTURE_IMAGE_UNITS:34930,MAX_FRAGMENT_UNIFORM_VECTORS:36349,SHADER_TYPE:35663,DELETE_STATUS:35712,LINK_STATUS:35714,VALIDATE_STATUS:35715,ATTACHED_SHADERS:35717,ACTIVE_UNIFORMS:35718,ACTIVE_ATTRIBUTES:35721,SHADING_LANGUAGE_VERSION:35724,CURRENT_PROGRAM:35725,NEVER:512,LESS:513,EQUAL:514,LEQUAL:515,GREATER:516,NOTEQUAL:517,GEQUAL:518,ALWAYS:519,KEEP:7680,REPLACE:7681,INCR:7682,DECR:7683,INVERT:5386,INCR_WRAP:34055,DECR_WRAP:34056,VENDOR:7936,RENDERER:7937,VERSION:7938,NEAREST:9728,LINEAR:9729,NEAREST_MIPMAP_NEAREST:9984,LINEAR_MIPMAP_NEAREST:9985,NEAREST_MIPMAP_LINEAR:9986,LINEAR_MIPMAP_LINEAR:9987,TEXTURE_MAG_FILTER:10240,TEXTURE_MIN_FILTER:10241,TEXTURE_WRAP_S:10242,TEXTURE_WRAP_T:10243,TEXTURE_2D:3553,TEXTURE:5890,TEXTURE_CUBE_MAP:34067,TEXTURE_BINDING_CUBE_MAP:34068,TEXTURE_CUBE_MAP_POSITIVE_X:34069,TEXTURE_CUBE_MAP_NEGATIVE_X:34070,TEXTURE_CUBE_MAP_POSITIVE_Y:34071,TEXTURE_CUBE_MAP_NEGATIVE_Y:34072,TEXTURE_CUBE_MAP_POSITIVE_Z:34073,TEXTURE_CUBE_MAP_NEGATIVE_Z:34074,MAX_CUBE_MAP_TEXTURE_SIZE:34076,TEXTURE0:33984,TEXTURE1:33985,TEXTURE2:33986,TEXTURE3:33987,TEXTURE4:33988,TEXTURE5:33989,TEXTURE6:33990,TEXTURE7:33991,TEXTURE8:33992,TEXTURE9:33993,TEXTURE10:33994,TEXTURE11:33995,TEXTURE12:33996,TEXTURE13:33997,TEXTURE14:33998,TEXTURE15:33999,TEXTURE16:34e3,TEXTURE17:34001,TEXTURE18:34002,TEXTURE19:34003,TEXTURE20:34004,TEXTURE21:34005,TEXTURE22:34006,TEXTURE23:34007,TEXTURE24:34008,TEXTURE25:34009,TEXTURE26:34010,TEXTURE27:34011,TEXTURE28:34012,TEXTURE29:34013,TEXTURE30:34014,TEXTURE31:34015,ACTIVE_TEXTURE:34016,REPEAT:10497,CLAMP_TO_EDGE:33071,MIRRORED_REPEAT:33648,FLOAT_VEC2:35664,FLOAT_VEC3:35665,FLOAT_VEC4:35666,INT_VEC2:35667,INT_VEC3:35668,INT_VEC4:35669,BOOL:35670,BOOL_VEC2:35671,BOOL_VEC3:35672,BOOL_VEC4:35673,FLOAT_MAT2:35674,FLOAT_MAT3:35675,FLOAT_MAT4:35676,SAMPLER_2D:35678,SAMPLER_CUBE:35680,VERTEX_ATTRIB_ARRAY_ENABLED:34338,VERTEX_ATTRIB_ARRAY_SIZE:34339,VERTEX_ATTRIB_ARRAY_STRIDE:34340,VERTEX_ATTRIB_ARRAY_TYPE:34341,VERTEX_ATTRIB_ARRAY_NORMALIZED:34922,VERTEX_ATTRIB_ARRAY_POINTER:34373,VERTEX_ATTRIB_ARRAY_BUFFER_BINDING:34975,COMPILE_STATUS:35713,LOW_FLOAT:36336,MEDIUM_FLOAT:36337,HIGH_FLOAT:36338,LOW_INT:36339,MEDIUM_INT:36340,HIGH_INT:36341,FRAMEBUFFER:36160,RENDERBUFFER:36161,RGBA4:32854,RGB5_A1:32855,RGB565:36194,DEPTH_COMPONENT16:33189,STENCIL_INDEX:6401,STENCIL_INDEX8:36168,DEPTH_STENCIL:34041,RENDERBUFFER_WIDTH:36162,RENDERBUFFER_HEIGHT:36163,RENDERBUFFER_INTERNAL_FORMAT:36164,RENDERBUFFER_RED_SIZE:36176,RENDERBUFFER_GREEN_SIZE:36177,RENDERBUFFER_BLUE_SIZE:36178,RENDERBUFFER_ALPHA_SIZE:36179,RENDERBUFFER_DEPTH_SIZE:36180,RENDERBUFFER_STENCIL_SIZE:36181,FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE:36048,FRAMEBUFFER_ATTACHMENT_OBJECT_NAME:36049,FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL:36050,FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE:36051,COLOR_ATTACHMENT0:36064,DEPTH_ATTACHMENT:36096,STENCIL_ATTACHMENT:36128,DEPTH_STENCIL_ATTACHMENT:33306,NONE:0,FRAMEBUFFER_COMPLETE:36053,FRAMEBUFFER_INCOMPLETE_ATTACHMENT:36054,FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT:36055,FRAMEBUFFER_INCOMPLETE_DIMENSIONS:36057,FRAMEBUFFER_UNSUPPORTED:36061,FRAMEBUFFER_BINDING:36006,RENDERBUFFER_BINDING:36007,MAX_RENDERBUFFER_SIZE:34024,INVALID_FRAMEBUFFER_OPERATION:1286,UNPACK_FLIP_Y_WEBGL:37440,UNPACK_PREMULTIPLY_ALPHA_WEBGL:37441,CONTEXT_LOST_WEBGL:37442,UNPACK_COLORSPACE_CONVERSION_WEBGL:37443,BROWSER_DEFAULT_WEBGL:37444};var dW,pW={get:function(t){var e=new XMLHttpRequest;e.open("get",t.url),e.responseType=t.responseType||"text",t.onprogress&&(e.onprogress=function(e){if(e.lengthComputable){var n=e.loaded/e.total;t.onprogress(n,e.loaded,e.total)}else t.onprogress(null)}),e.onload=function(n){e.status>=400?t.onerror&&t.onerror():t.onload&&t.onload(e.response)},t.onerror&&(e.onerror=t.onerror),e.send(null)}},fW={supportWebGL:function(){if(null==dW)try{var t=document.createElement("canvas");if(!(t.getContext("webgl")||t.getContext("experimental-webgl")))throw new Error}catch(KJ){dW=!1}return dW}};fW.Int8Array="undefined"==typeof Int8Array?Array:Int8Array,fW.Uint8Array="undefined"==typeof Uint8Array?Array:Uint8Array,fW.Uint16Array="undefined"==typeof Uint16Array?Array:Uint16Array,fW.Uint32Array="undefined"==typeof Uint32Array?Array:Uint32Array,fW.Int16Array="undefined"==typeof Int16Array?Array:Int16Array,fW.Float32Array="undefined"==typeof Float32Array?Array:Float32Array,fW.Float64Array="undefined"==typeof Float64Array?Array:Float64Array;var gW={};"undefined"!=typeof window?gW=window:"undefined"!=typeof global&&(gW=global),fW.requestAnimationFrame=gW.requestAnimationFrame||gW.msRequestAnimationFrame||gW.mozRequestAnimationFrame||gW.webkitRequestAnimationFrame||function(t){setTimeout(t,16)},fW.createCanvas=function(){return document.createElement("canvas")},fW.createImage=function(){return new gW.Image},fW.request={get:pW.get},fW.addEventListener=function(t,e,n,i){t.addEventListener(e,n,i)},fW.removeEventListener=function(t,e,n){t.removeEventListener(e,n)};var mW=function(){this.head=null,this.tail=null,this._length=0};mW.prototype.insert=function(t){var e=new mW.Entry(t);return this.insertEntry(e),e},mW.prototype.insertAt=function(t,e){if(!(t<0)){for(var n=this.head,i=0;n&&i!=t;)n=n.next,i++;if(n){var r=new mW.Entry(e),o=n.prev;o?(o.next=r,r.prev=o):this.head=r,r.next=n,n.prev=r}else this.insert(e)}},mW.prototype.insertBeforeEntry=function(t,e){var n=new mW.Entry(t),i=e.prev;i?(i.next=n,n.prev=i):this.head=n,n.next=e,e.prev=n,this._length++},mW.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,this.tail=t):this.head=this.tail=t,this._length++},mW.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._length--},mW.prototype.removeAt=function(t){if(!(t<0)){for(var e=this.head,n=0;e&&n!=t;)e=e.next,n++;return e?(this.remove(e),e.value):void 0}},mW.prototype.getHead=function(){if(this.head)return this.head.value},mW.prototype.getTail=function(){if(this.tail)return this.tail.value},mW.prototype.getAt=function(t){if(!(t<0)){for(var e=this.head,n=0;e&&n!=t;)e=e.next,n++;return e.value}},mW.prototype.indexOf=function(t){for(var e=this.head,n=0;e;){if(e.value===t)return n;e=e.next,n++}},mW.prototype.length=function(){return this._length},mW.prototype.isEmpty=function(){return 0===this._length},mW.prototype.forEach=function(t,e){for(var n=this.head,i=0,r=void 0!==e;n;)r?t.call(e,n.value,i):t(n.value,i),n=n.next,i++},mW.prototype.clear=function(){this.tail=this.head=null,this._length=0},mW.Entry=function(t){this.value=t,this.next=null,this.prev=null};var vW=function(t){this._list=new mW,this._map={},this._maxSize=t||10};vW.prototype.setMaxSize=function(t){this._maxSize=t},vW.prototype.put=function(t,e){if(!this._map.hasOwnProperty(t)){var n=this._list.length();if(n>=this._maxSize&&n>0){var i=this._list.head;this._list.remove(i),delete this._map[i.key]}var r=this._list.insert(e);r.key=t,this._map[t]=r}},vW.prototype.get=function(t){var e=this._map[t];if(this._map.hasOwnProperty(t))return e!==this._list.tail&&(this._list.remove(e),this._list.insertEntry(e)),e.value},vW.prototype.remove=function(t){var e=this._map[t];void 0!==e&&(delete this._map[t],this._list.remove(e))},vW.prototype.clear=function(){this._list.clear(),this._map={}};var yW={},_W={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function xW(t){return(t=Math.round(t))<0?0:t>255?255:t}function bW(t){return t<0?0:t>1?1:t}function wW(t){return t.length&&"%"===t.charAt(t.length-1)?xW(parseFloat(t)/100*255):xW(parseInt(t,10))}function SW(t){return t.length&&"%"===t.charAt(t.length-1)?bW(parseFloat(t)/100):bW(parseFloat(t))}function AW(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function TW(t,e,n){return t+(e-t)*n}function MW(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function IW(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var CW=new vW(20),DW=null;function EW(t,e){DW&&IW(DW,e),DW=CW.put(t,DW||e.slice())}function LW(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=SW(t[1]),r=SW(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return MW(e=e||[],xW(255*AW(a,o,n+1/3)),xW(255*AW(a,o,n)),xW(255*AW(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}yW.parse=function(t,e){if(t){e=e||[];var n=CW.get(t);if(n)return IW(e,n);var i,r=(t+="").replace(/ /g,"").toLowerCase();if(r in _W)return IW(e,_W[r]),EW(t,e),e;if("#"===r.charAt(0))return 4===r.length?(i=parseInt(r.substr(1),16))>=0&&i<=4095?(MW(e,(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,1),EW(t,e),e):void MW(e,0,0,0,1):7===r.length?(i=parseInt(r.substr(1),16))>=0&&i<=16777215?(MW(e,(16711680&i)>>16,(65280&i)>>8,255&i,1),EW(t,e),e):void MW(e,0,0,0,1):void 0;var o=r.indexOf("("),a=r.indexOf(")");if(-1!==o&&a+1===r.length){var s=r.substr(0,o),l=r.substr(o+1,a-(o+1)).split(","),u=1;switch(s){case"rgba":if(4!==l.length)return void MW(e,0,0,0,1);u=SW(l.pop());case"rgb":return 3!==l.length?void MW(e,0,0,0,1):(MW(e,wW(l[0]),wW(l[1]),wW(l[2]),u),EW(t,e),e);case"hsla":return 4!==l.length?void MW(e,0,0,0,1):(l[3]=SW(l[3]),LW(l,e),EW(t,e),e);case"hsl":return 3!==l.length?void MW(e,0,0,0,1):(LW(l,e),EW(t,e),e);default:return}}MW(e,0,0,0,1)}},yW.parseToFloat=function(t,e){if(e=yW.parse(t,e))return e[0]/=255,e[1]/=255,e[2]/=255,e},yW.lift=function(t,e){var n=yW.parse(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0;return yW.stringify(n,4===n.length?"rgba":"rgb")}},yW.toHex=function(t){var e=yW.parse(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},yW.fastLerp=function(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=xW(TW(a[0],s[0],l)),n[1]=xW(TW(a[1],s[1],l)),n[2]=xW(TW(a[2],s[2],l)),n[3]=bW(TW(a[3],s[3],l)),n}},yW.fastMapToColor=yW.fastLerp,yW.lerp=function(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=yW.parse(e[r]),s=yW.parse(e[o]),l=i-r,u=yW.stringify([xW(TW(a[0],s[0],l)),xW(TW(a[1],s[1],l)),xW(TW(a[2],s[2],l)),bW(TW(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:o,value:i}:u}},yW.mapToColor=yW.lerp,yW.modifyHSL=function(t,e,n,i){if(t=yW.parse(t))return t=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-o)/6+l/2)/l;i===s?e=d-h:r===s?e=1/3+c-d:o===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,n,u];return null!=t[3]&&p.push(t[3]),p}}(t),null!=e&&(t[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(t[1]=SW(n)),null!=i&&(t[2]=SW(i)),yW.stringify(LW(t),"rgba")},yW.modifyAlpha=function(t,e){if((t=yW.parse(t))&&null!=e)return t[3]=bW(e),yW.stringify(t,"rgba")},yW.stringify=function(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}};var PW=yW.parseToFloat,RW={};function NW(t){var e=Object.keys(t);e.sort();for(var n=[],i=0;i<e.length;i++){var r=e[i],o=t[r];null===o?n.push(r):n.push(r+" "+o.toString())}return n.join("\n")}var kW,OW=sW.extend((function(){return{name:"",depthTest:!0,depthMask:!0,transparent:!1,blend:null,autoUpdateTextureStatus:!0,uniforms:{},vertexDefines:{},fragmentDefines:{},_textureStatus:{},_enabledUniforms:null}}),(function(){this.name||(this.name="MATERIAL_"+this.__uid__),this.shader&&this.attachShader(this.shader,!0)}),{precision:"highp",setUniform:function(t,e){void 0===e&&console.warn('Uniform value "'+t+'" is undefined');var n=this.uniforms[t];n&&("string"==typeof e&&(e=PW(e)||e),n.value=e,this.autoUpdateTextureStatus&&"t"===n.type&&(e?this.enableTexture(t):this.disableTexture(t)))},setUniforms:function(t){for(var e in t){var n=t[e];this.setUniform(e,n)}},isUniformEnabled:function(t){return this._enabledUniforms.indexOf(t)>=0},getEnabledUniforms:function(){return this._enabledUniforms},getTextureUniforms:function(){return this._textureUniforms},set:function(t,e){if("object"===y(t))for(var n in t){var i=t[n];this.setUniform(n,i)}else this.setUniform(t,e)},get:function(t){var e=this.uniforms[t];if(e)return e.value},attachShader:function(t,e){var n=this.uniforms;this.uniforms=t.createUniforms(),this.shader=t;var i=this.uniforms;this._enabledUniforms=Object.keys(i),this._enabledUniforms.sort(),this._textureUniforms=this._enabledUniforms.filter((function(t){var e=this.uniforms[t].type;return"t"===e||"tv"===e}),this);var r=this.vertexDefines,o=this.fragmentDefines;if(this.vertexDefines=aW.clone(t.vertexDefines),this.fragmentDefines=aW.clone(t.fragmentDefines),e){for(var a in n)i[a]&&(i[a].value=n[a].value);aW.defaults(this.vertexDefines,r),aW.defaults(this.fragmentDefines,o)}var s={};for(var l in t.textures)s[l]={shaderType:t.textures[l].shaderType,type:t.textures[l].type,enabled:!(!e||!this._textureStatus[l])&&this._textureStatus[l].enabled};this._textureStatus=s,this._programKey=""},clone:function(){var t=new this.constructor({name:this.name,shader:this.shader});for(var e in this.uniforms)t.uniforms[e].value=this.uniforms[e].value;return t.depthTest=this.depthTest,t.depthMask=this.depthMask,t.transparent=this.transparent,t.blend=this.blend,t.vertexDefines=aW.clone(this.vertexDefines),t.fragmentDefines=aW.clone(this.fragmentDefines),t.enableTexture(this.getEnabledTextures()),t.precision=this.precision,t},define:function(t,e,n){var i=this.vertexDefines,r=this.fragmentDefines;"vertex"!==t&&"fragment"!==t&&"both"!==t&&arguments.length<3&&(n=e,e=t,t="both"),n=null!=n?n:null,"vertex"!==t&&"both"!==t||i[e]!==n&&(i[e]=n,this._programKey=""),"fragment"!==t&&"both"!==t||r[e]!==n&&(r[e]=n,"both"!==t&&(this._programKey=""))},undefine:function(t,e){"vertex"!==t&&"fragment"!==t&&"both"!==t&&arguments.length<2&&(e=t,t="both"),"vertex"!==t&&"both"!==t||this.isDefined("vertex",e)&&(delete this.vertexDefines[e],this._programKey=""),"fragment"!==t&&"both"!==t||this.isDefined("fragment",e)&&(delete this.fragmentDefines[e],"both"!==t&&(this._programKey=""))},isDefined:function(t,e){switch(t){case"vertex":return void 0!==this.vertexDefines[e];case"fragment":return void 0!==this.fragmentDefines[e]}},getDefine:function(t,e){switch(t){case"vertex":return this.vertexDefines[e];case"fragment":return this.fragmentDefines[e]}},enableTexture:function(t){if(Array.isArray(t))for(var e=0;e<t.length;e++)this.enableTexture(t[e]);else{var n=this._textureStatus[t];if(n)n.enabled||(n.enabled=!0,this._programKey="")}},enableTexturesAll:function(){var t=this._textureStatus;for(var e in t)t[e].enabled=!0;this._programKey=""},disableTexture:function(t){if(Array.isArray(t))for(var e=0;e<t.length;e++)this.disableTexture(t[e]);else{var n=this._textureStatus[t];if(n)!n.enabled||(n.enabled=!1,this._programKey="")}},disableTexturesAll:function(){var t=this._textureStatus;for(var e in t)t[e].enabled=!1;this._programKey=""},isTextureEnabled:function(t){var e=this._textureStatus;return!!e[t]&&e[t].enabled},getEnabledTextures:function(){var t=[],e=this._textureStatus;for(var n in e)e[n].enabled&&t.push(n);return t},dirtyDefines:function(){this._programKey=""},getProgramKey:function(){return this._programKey||(this._programKey=function(t,e,n){n.sort();for(var i=[],r=0;r<n.length;r++){var o=n[r];i.push(o)}var a=NW(t)+"\n"+NW(e)+"\n"+i.join("\n");if(RW[a])return RW[a];var s=aW.genGUID();return RW[a]=s,s}(this.vertexDefines,this.fragmentDefines,this.getEnabledTextures())),this._programKey}}),BW=1e-6,zW=Array,FW=Math.random,VW={};VW.create=function(){var t=new zW(2);return t[0]=0,t[1]=0,t},VW.clone=function(t){var e=new zW(2);return e[0]=t[0],e[1]=t[1],e},VW.fromValues=function(t,e){var n=new zW(2);return n[0]=t,n[1]=e,n},VW.copy=function(t,e){return t[0]=e[0],t[1]=e[1],t},VW.set=function(t,e,n){return t[0]=e,t[1]=n,t},VW.add=function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},VW.subtract=function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t},VW.sub=VW.subtract,VW.multiply=function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},VW.mul=VW.multiply,VW.divide=function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},VW.div=VW.divide,VW.min=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},VW.max=function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t},VW.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},VW.scaleAndAdd=function(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t},VW.distance=function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return Math.sqrt(n*n+i*i)},VW.dist=VW.distance,VW.squaredDistance=function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return n*n+i*i},VW.sqrDist=VW.squaredDistance,VW.length=function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)},VW.len=VW.length,VW.squaredLength=function(t){var e=t[0],n=t[1];return e*e+n*n},VW.sqrLen=VW.squaredLength,VW.negate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t},VW.inverse=function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t},VW.normalize=function(t,e){var n=e[0],i=e[1],r=n*n+i*i;return r>0&&(r=1/Math.sqrt(r),t[0]=e[0]*r,t[1]=e[1]*r),t},VW.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]},VW.cross=function(t,e,n){var i=e[0]*n[1]-e[1]*n[0];return t[0]=t[1]=0,t[2]=i,t},VW.lerp=function(t,e,n,i){var r=e[0],o=e[1];return t[0]=r+i*(n[0]-r),t[1]=o+i*(n[1]-o),t},VW.random=function(t,e){e=e||1;var n=2*GLMAT_RANDOM()*Math.PI;return t[0]=Math.cos(n)*e,t[1]=Math.sin(n)*e,t},VW.transformMat2=function(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r,t[1]=n[1]*i+n[3]*r,t},VW.transformMat2d=function(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t},VW.transformMat3=function(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[3]*r+n[6],t[1]=n[1]*i+n[4]*r+n[7],t},VW.transformMat4=function(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[4]*r+n[12],t[1]=n[1]*i+n[5]*r+n[13],t},VW.forEach=(kW=VW.create(),function(t,e,n,i,r,o){var a,s;for(e||(e=2),n||(n=0),s=i?Math.min(i*e+n,t.length):t.length,a=n;a<s;a+=e)kW[0]=t[a],kW[1]=t[a+1],r(kW,kW,o),t[a]=kW[0],t[a+1]=kW[1];return t});var GW=function(t,e){t=t||0,e=e||0,this.array=VW.fromValues(t,e),this._dirty=!0};if(GW.prototype={constructor:GW,add:function(t){return VW.add(this.array,this.array,t.array),this._dirty=!0,this},set:function(t,e){return this.array[0]=t,this.array[1]=e,this._dirty=!0,this},setArray:function(t){return this.array[0]=t[0],this.array[1]=t[1],this._dirty=!0,this},clone:function(){return new GW(this.x,this.y)},copy:function(t){return VW.copy(this.array,t.array),this._dirty=!0,this},cross:function(t,e){return VW.cross(t.array,this.array,e.array),t._dirty=!0,this},dist:function(t){return VW.dist(this.array,t.array)},distance:function(t){return VW.distance(this.array,t.array)},div:function(t){return VW.div(this.array,this.array,t.array),this._dirty=!0,this},divide:function(t){return VW.divide(this.array,this.array,t.array),this._dirty=!0,this},dot:function(t){return VW.dot(this.array,t.array)},len:function(){return VW.len(this.array)},length:function(){return VW.length(this.array)},lerp:function(t,e,n){return VW.lerp(this.array,t.array,e.array,n),this._dirty=!0,this},min:function(t){return VW.min(this.array,this.array,t.array),this._dirty=!0,this},max:function(t){return VW.max(this.array,this.array,t.array),this._dirty=!0,this},mul:function(t){return VW.mul(this.array,this.array,t.array),this._dirty=!0,this},multiply:function(t){return VW.multiply(this.array,this.array,t.array),this._dirty=!0,this},negate:function(){return VW.negate(this.array,this.array),this._dirty=!0,this},normalize:function(){return VW.normalize(this.array,this.array),this._dirty=!0,this},random:function(t){return VW.random(this.array,t),this._dirty=!0,this},scale:function(t){return VW.scale(this.array,this.array,t),this._dirty=!0,this},scaleAndAdd:function(t,e){return VW.scaleAndAdd(this.array,this.array,t.array,e),this._dirty=!0,this},sqrDist:function(t){return VW.sqrDist(this.array,t.array)},squaredDistance:function(t){return VW.squaredDistance(this.array,t.array)},sqrLen:function(){return VW.sqrLen(this.array)},squaredLength:function(){return VW.squaredLength(this.array)},sub:function(t){return VW.sub(this.array,this.array,t.array),this._dirty=!0,this},subtract:function(t){return VW.subtract(this.array,this.array,t.array),this._dirty=!0,this},transformMat2:function(t){return VW.transformMat2(this.array,this.array,t.array),this._dirty=!0,this},transformMat2d:function(t){return VW.transformMat2d(this.array,this.array,t.array),this._dirty=!0,this},transformMat3:function(t){return VW.transformMat3(this.array,this.array,t.array),this._dirty=!0,this},transformMat4:function(t){return VW.transformMat4(this.array,this.array,t.array),this._dirty=!0,this},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}},Object.defineProperty){var UW=GW.prototype;Object.defineProperty(UW,"x",{get:function(){return this.array[0]},set:function(t){this.array[0]=t,this._dirty=!0}}),Object.defineProperty(UW,"y",{get:function(){return this.array[1]},set:function(t){this.array[1]=t,this._dirty=!0}})}GW.add=function(t,e,n){return VW.add(t.array,e.array,n.array),t._dirty=!0,t},GW.set=function(t,e,n){return VW.set(t.array,e,n),t._dirty=!0,t},GW.copy=function(t,e){return VW.copy(t.array,e.array),t._dirty=!0,t},GW.cross=function(t,e,n){return VW.cross(t.array,e.array,n.array),t._dirty=!0,t},GW.distance=GW.dist=function(t,e){return VW.distance(t.array,e.array)},GW.div=function(t,e,n){return VW.divide(t.array,e.array,n.array),t._dirty=!0,t},GW.divide=GW.div,GW.dot=function(t,e){return VW.dot(t.array,e.array)},GW.len=function(t){return VW.length(t.array)},GW.lerp=function(t,e,n,i){return VW.lerp(t.array,e.array,n.array,i),t._dirty=!0,t},GW.min=function(t,e,n){return VW.min(t.array,e.array,n.array),t._dirty=!0,t},GW.max=function(t,e,n){return VW.max(t.array,e.array,n.array),t._dirty=!0,t},GW.mul=function(t,e,n){return VW.multiply(t.array,e.array,n.array),t._dirty=!0,t},GW.multiply=GW.mul,GW.negate=function(t,e){return VW.negate(t.array,e.array),t._dirty=!0,t},GW.normalize=function(t,e){return VW.normalize(t.array,e.array),t._dirty=!0,t},GW.random=function(t,e){return VW.random(t.array,e),t._dirty=!0,t},GW.scale=function(t,e,n){return VW.scale(t.array,e.array,n),t._dirty=!0,t},GW.scaleAndAdd=function(t,e,n,i){return VW.scaleAndAdd(t.array,e.array,n.array,i),t._dirty=!0,t},GW.squaredDistance=GW.sqrDist=function(t,e){return VW.sqrDist(t.array,e.array)},GW.squaredLength=GW.sqrLen=function(t){return VW.sqrLen(t.array)},GW.sub=function(t,e,n){return VW.subtract(t.array,e.array,n.array),t._dirty=!0,t},GW.subtract=GW.sub,GW.transformMat2=function(t,e,n){return VW.transformMat2(t.array,e.array,n.array),t._dirty=!0,t},GW.transformMat2d=function(t,e,n){return VW.transformMat2d(t.array,e.array,n.array),t._dirty=!0,t},GW.transformMat3=function(t,e,n){return VW.transformMat3(t.array,e.array,n.array),t._dirty=!0,t},GW.transformMat4=function(t,e,n){return VW.transformMat4(t.array,e.array,n.array),t._dirty=!0,t};var HW={};function WW(t){for(var e=t.split("\n"),n=0,i=e.length;n<i;n++)e[n]=n+1+": "+e[n];return e.join("\n")}function XW(t,e,n){if(!t.getShaderParameter(e,t.COMPILE_STATUS))return[t.getShaderInfoLog(e),WW(n)].join("\n")}var jW=new fW.Float32Array(16),YW=sW.extend({uniformSemantics:{},attributes:{}},(function(){this._locations={},this._textureSlot=0,this._program=null}),{bind:function(t){this._textureSlot=0,t.gl.useProgram(this._program)},hasUniform:function(t){var e=this._locations[t];return null!=e},useTextureSlot:function(t,e,n){e&&(t.gl.activeTexture(t.gl.TEXTURE0+n),e.isRenderable()?e.bind(t):e.unbind(t))},currentTextureSlot:function(){return this._textureSlot},resetTextureSlot:function(t){this._textureSlot=t||0},takeCurrentTextureSlot:function(t,e){var n=this._textureSlot;return this.useTextureSlot(t,e,n),this._textureSlot++,n},setUniform:function(t,e,n,i){var r=this._locations[n];if(null==r)return!1;switch(e){case"m4":if(!(i instanceof Float32Array)){for(var o=0;o<i.length;o++)jW[o]=i[o];i=jW}t.uniformMatrix4fv(r,!1,i);break;case"2i":t.uniform2i(r,i[0],i[1]);break;case"2f":t.uniform2f(r,i[0],i[1]);break;case"3i":t.uniform3i(r,i[0],i[1],i[2]);break;case"3f":t.uniform3f(r,i[0],i[1],i[2]);break;case"4i":t.uniform4i(r,i[0],i[1],i[2],i[3]);break;case"4f":t.uniform4f(r,i[0],i[1],i[2],i[3]);break;case"1i":t.uniform1i(r,i);break;case"1f":t.uniform1f(r,i);break;case"1fv":t.uniform1fv(r,i);break;case"1iv":t.uniform1iv(r,i);break;case"2iv":t.uniform2iv(r,i);break;case"2fv":t.uniform2fv(r,i);break;case"3iv":t.uniform3iv(r,i);break;case"3fv":t.uniform3fv(r,i);break;case"4iv":t.uniform4iv(r,i);break;case"4fv":t.uniform4fv(r,i);break;case"m2":case"m2v":t.uniformMatrix2fv(r,!1,i);break;case"m3":case"m3v":t.uniformMatrix3fv(r,!1,i);break;case"m4v":if(Array.isArray(i)&&Array.isArray(i[0])){var a=new fW.Float32Array(16*i.length),s=0;for(o=0;o<i.length;o++)for(var l=i[o],u=0;u<16;u++)a[s++]=l[u];t.uniformMatrix4fv(r,!1,a)}else t.uniformMatrix4fv(r,!1,i)}return!0},setUniformOfSemantic:function(t,e,n){var i=this.uniformSemantics[e];return!!i&&this.setUniform(t,i.type,i.symbol,n)},enableAttributes:function(t,e,n){var i,r=t.gl,o=this._program,a=this._locations;(i=n?n.__enabledAttributeList:HW[t.__uid__])||(i=n?n.__enabledAttributeList=[]:HW[t.__uid__]=[]);for(var s=[],l=0;l<e.length;l++){var u=e[l];if(this.attributes[u]){var c=a[u];if(null==c){if(-1===(c=r.getAttribLocation(o,u))){s[l]=-1;continue}a[u]=c}s[l]=c,i[c]?i[c]=2:i[c]=1}else s[l]=-1}for(l=0;l<i.length;l++)switch(i[l]){case 1:r.enableVertexAttribArray(l),i[l]=3;break;case 2:i[l]=3;break;case 3:r.disableVertexAttribArray(l),i[l]=0}return s},getAttribLocation:function(t,e){var n=this._locations,i=n[e];return null==i&&(i=t.getAttribLocation(this._program,e),n[e]=i),i},buildProgram:function(t,e,n,i){var r=t.createShader(t.VERTEX_SHADER),o=t.createProgram();t.shaderSource(r,n),t.compileShader(r);var a=t.createShader(t.FRAGMENT_SHADER);t.shaderSource(a,i),t.compileShader(a);var s=XW(t,r,n);if(s)return s;if(s=XW(t,a,i))return s;if(t.attachShader(o,r),t.attachShader(o,a),e.attributeSemantics.POSITION)t.bindAttribLocation(o,0,e.attributeSemantics.POSITION.symbol);else{var l=Object.keys(this.attributes);t.bindAttribLocation(o,0,l[0])}if(t.linkProgram(o),t.deleteShader(r),t.deleteShader(a),this._program=o,this.vertexCode=n,this.fragmentCode=i,!t.getProgramParameter(o,t.LINK_STATUS))return"Could not link program\n"+t.getProgramInfoLog(o);for(var u=0;u<e.uniforms.length;u++){var c=e.uniforms[u];this._locations[c]=t.getUniformLocation(o,c)}}}),ZW=/for\s*?\(int\s*?_idx_\s*\=\s*([\w-]+)\;\s*_idx_\s*<\s*([\w-]+);\s*_idx_\s*\+\+\s*\)\s*\{\{([\s\S]+?)(?=\}\})\}\}/g;function QW(t,e,n){var i={};for(var r in n)i[r+"_COUNT"]=n[r];return t.replace(ZW,(function(t,n,r,o){var a="";isNaN(n)&&(n=n in e?e[n]:i[n]),isNaN(r)&&(r=r in e?e[r]:i[r]);for(var s=parseInt(n);s<parseInt(r);s++)a+="{"+o.replace(/float\s*\(\s*_idx_\s*\)/g,s.toFixed(1)).replace(/_idx_/g,s)+"}";return a}))}function qW(t,e,n){var i=[];if(e)for(var r in e){var o=e[r];o>0&&i.push("#define "+r.toUpperCase()+"_COUNT "+o)}if(n)for(var a=0;a<n.length;a++){var s=n[a];i.push("#define "+s.toUpperCase()+"_ENABLED")}for(var s in t){var l=t[s];null===l?i.push("#define "+s):i.push("#define "+s+" "+l.toString())}return i.join("\n")}function JW(t){this._renderer=t,this._cache={}}JW.prototype.getProgram=function(t,e,n){var i=this._cache,r=t.isSkinnedMesh&&t.isSkinnedMesh(),o=t.isInstancedMesh&&t.isInstancedMesh(),a="s"+e.shader.shaderID+"m"+e.getProgramKey();if(n&&(a+="se"+n.getProgramKey(t.lightGroup)),r&&(a+=",sk"+t.joints.length),o&&(a+=",is"),y=i[a])return y;var s=n?n.getLightsNumbers(t.lightGroup):{},l=this._renderer,u=l.gl,c=e.getEnabledTextures(),h="";if(r){var d={SKINNING:null,JOINT_COUNT:t.joints.length};t.joints.length>l.getMaxJointNumber()&&(d.USE_SKIN_MATRICES_TEXTURE=null),h+="\n"+qW(d)+"\n"}o&&(h+="\n#define INSTANCING\n");var p=h+qW(e.vertexDefines,s,c),f=h+qW(e.fragmentDefines,s,c),g=p+"\n"+e.shader.vertex,m=["OES_standard_derivatives","EXT_shader_texture_lod"].filter((function(t){return null!=l.getGLExtension(t)}));m.indexOf("EXT_shader_texture_lod")>=0&&(f+="\n#define SUPPORT_TEXTURE_LOD"),m.indexOf("OES_standard_derivatives")>=0&&(f+="\n#define SUPPORT_STANDARD_DERIVATIVES");var v,y,_=function(t){for(var e=[],n=0;n<t.length;n++)e.push("#extension GL_"+t[n]+" : enable");return e.join("\n")}(m)+"\n"+(["precision",v=e.precision,"float"].join(" ")+";\n"+["precision",v,"int"].join(" ")+";\n"+["precision",v,"sampler2D"].join(" ")+";\n\n")+f+"\n"+e.shader.fragment,x=QW(g,e.vertexDefines,s),b=QW(_,e.fragmentDefines,s);(y=new YW).uniformSemantics=e.shader.uniformSemantics,y.attributes=e.shader.attributes;var w=y.buildProgram(u,e.shader,x,b);return y.__error=w,i[a]=y,y};var KW=/uniform\s+(bool|float|int|vec2|vec3|vec4|ivec2|ivec3|ivec4|mat2|mat3|mat4|sampler2D|samplerCube)\s+([\s\S]*?);/g,$W=/attribute\s+(float|int|vec2|vec3|vec4)\s+([\s\S]*?);/g,tX=/#define\s+(\w+)?(\s+[\d-.]+)?\s*;?\s*\n/g,eX={bool:"1i",int:"1i",sampler2D:"t",samplerCube:"t",float:"1f",vec2:"2f",vec3:"3f",vec4:"4f",ivec2:"2i",ivec3:"3i",ivec4:"4i",mat2:"m2",mat3:"m3",mat4:"m4"};function nX(t){for(var e=[],n=0;n<t;n++)e[n]=0;return e}var iX={bool:function(){return!0},int:function(){return 0},float:function(){return 0},sampler2D:function(){return null},samplerCube:function(){return null},vec2:function(){return nX(2)},vec3:function(){return nX(3)},vec4:function(){return nX(4)},ivec2:function(){return nX(2)},ivec3:function(){return nX(3)},ivec4:function(){return nX(4)},mat2:function(){return nX(4)},mat3:function(){return nX(9)},mat4:function(){return nX(16)},array:function(){return[]}},rX=["POSITION","NORMAL","BINORMAL","TANGENT","TEXCOORD","TEXCOORD_0","TEXCOORD_1","COLOR","JOINT","WEIGHT"],oX=["SKIN_MATRIX","VIEWPORT_SIZE","VIEWPORT","DEVICEPIXELRATIO","WINDOW_SIZE","NEAR","FAR","TIME"],aX=["WORLD","VIEW","PROJECTION","WORLDVIEW","VIEWPROJECTION","WORLDVIEWPROJECTION","WORLDINVERSE","VIEWINVERSE","PROJECTIONINVERSE","WORLDVIEWINVERSE","VIEWPROJECTIONINVERSE","WORLDVIEWPROJECTIONINVERSE","WORLDTRANSPOSE","VIEWTRANSPOSE","PROJECTIONTRANSPOSE","WORLDVIEWTRANSPOSE","VIEWPROJECTIONTRANSPOSE","WORLDVIEWPROJECTIONTRANSPOSE","WORLDINVERSETRANSPOSE","VIEWINVERSETRANSPOSE","PROJECTIONINVERSETRANSPOSE","WORLDVIEWINVERSETRANSPOSE","VIEWPROJECTIONINVERSETRANSPOSE","WORLDVIEWPROJECTIONINVERSETRANSPOSE"],sX={vec4:4,vec3:3,vec2:2,float:1},lX={},uX={};function cX(t){return t.replace(/[ \t]*\/\/.*\n/g,"").replace(/[ \t]*\/\*[\s\S]*?\*\//g,"")}function hX(){console.error("Wrong uniform/attributes syntax")}function dX(t,e){for(var n=/[,=\(\):]/,i=e.replace(/:\s*\[\s*(.*)\s*\]/g,"="+t+"($1)").replace(/\s+/g,"").split(/(?=[,=\(\):])/g),r=[],o=0;o<i.length;o++)i[o].match(n)?r.push(i[o].charAt(0),i[o].slice(1)):r.push(i[o]);var a,s=0,l={},u=null;function c(t){t||hX();var e=t.match(/\[(.*?)\]/);a=t.replace(/\[(.*?)\]/,""),l[a]={},e&&(l[a].isArray=!0,l[a].arraySize=e[1])}c((i=r)[0]);for(o=1;o<i.length;o++){var h=i[o];if(h)if("="!==h)if(":"!==h)if(","!==h)if(")"!==h)if("("!==h)if(h.indexOf("vec")>=0){if(1!==s&&4!==s){hX();break}s=2,u=[]}else if(1!==s)if(4!==s)c(h),s=0;else{var d=h;rX.indexOf(d)>=0||oX.indexOf(d)>=0||aX.indexOf(d)>=0?l[a].semantic=d:"ignore"===d||"unconfigurable"===d?l[a].ignore=!0:l[a].value="bool"===t?"true"===d:parseFloat(d)}else l[a].value="bool"===t?"true"===h:parseFloat(h),u=null;else{if(2!==s){hX();break}if(!(u instanceof Array)){hX();break}u.push(+i[++o])}else l[a].value=new fW.Float32Array(u),u=null,s=5;else if(2===s){if(!(u instanceof Array)){hX();break}u.push(+i[++o])}else s=5;else s=4;else{if(0!==s&&3!==s){hX();break}s=1}}return l}function pX(t,e){"object"===y(t)&&(e=t.fragment,t=t.vertex),t=cX(t),e=cX(e),this._shaderID=function(t,e){var n="vertex:"+t+"fragment:"+e;if(lX[n])return lX[n];var i=aW.genGUID();return lX[n]=i,uX[i]={vertex:t,fragment:e},i}(t,e),this._vertexCode=pX.parseImport(t),this._fragmentCode=pX.parseImport(e),this.attributeSemantics={},this.matrixSemantics={},this.uniformSemantics={},this.matrixSemanticKeys=[],this.uniformTemplates={},this.attributes={},this.textures={},this.vertexDefines={},this.fragmentDefines={},this._parseAttributes(),this._parseUniforms(),this._parseDefines()}pX.prototype={constructor:pX,createUniforms:function(){var t={};for(var e in this.uniformTemplates){var n=this.uniformTemplates[e];t[e]={type:n.type,value:n.value()}}return t},_parseImport:function(){this._vertexCode=pX.parseImport(this.vertex),this._fragmentCode=pX.parseImport(this.fragment)},_addSemanticUniform:function(t,e,n){if(rX.indexOf(n)>=0)this.attributeSemantics[n]={symbol:t,type:e};else if(aX.indexOf(n)>=0){var i=!1,r=n;n.match(/TRANSPOSE$/)&&(i=!0,r=n.slice(0,-9)),this.matrixSemantics[n]={symbol:t,type:e,isTranspose:i,semanticNoTranspose:r}}else oX.indexOf(n)>=0&&(this.uniformSemantics[n]={symbol:t,type:e})},_addMaterialUniform:function(t,e,n,i,r,o){o[t]={type:n,value:r?iX.array:i||iX[e],semantic:null}},_parseUniforms:function(){var t={},e=this;function n(t){return null!=t?function(){return t}:null}function i(i,r,o){var a=dX(r,o),s=[];for(var l in a){var u=a[l],c=u.semantic,h=l,d=eX[r],p=n(a[l].value);a[l].isArray&&(h+="["+a[l].arraySize+"]",d+="v"),s.push(h),e._uniformList.push(l),u.ignore||("sampler2D"!==r&&"samplerCube"!==r||(e.textures[l]={shaderType:"fragment",type:r}),c?e._addSemanticUniform(l,d,c):e._addMaterialUniform(l,r,d,p,a[l].isArray,t))}return s.length>0?"uniform "+r+" "+s.join(",")+";\n":""}this._uniformList=[],this._vertexCode=this._vertexCode.replace(KW,i),this._fragmentCode=this._fragmentCode.replace(KW,i),e.matrixSemanticKeys=Object.keys(this.matrixSemantics),this.uniformTemplates=t},_parseAttributes:function(){var t={},e=this;this._vertexCode=this._vertexCode.replace($W,(function(n,i,r){var o=dX(i,r),a=sX[i]||1,s=[];for(var l in o){var u=o[l].semantic;if(t[l]={type:"float",size:a,semantic:u||null},u){if(rX.indexOf(u)<0)throw new Error('Unkown semantic "'+u+'"');e.attributeSemantics[u]={symbol:l,type:i}}s.push(l)}return"attribute "+i+" "+s.join(",")+";\n"})),this.attributes=t},_parseDefines:function(){var t=this;function e(e,n,i){var r=t.fragmentDefines;return r[n]||(r[n]="false"!==i&&("true"===i||(i?isNaN(parseFloat(i))?i.trim():parseFloat(i):null))),""}this._vertexCode=this._vertexCode.replace(tX,e),this._fragmentCode=this._fragmentCode.replace(tX,e)},clone:function(){var t=uX[this._shaderID];return new pX(t.vertex,t.fragment)}},Object.defineProperty&&(Object.defineProperty(pX.prototype,"shaderID",{get:function(){return this._shaderID}}),Object.defineProperty(pX.prototype,"vertex",{get:function(){return this._vertexCode}}),Object.defineProperty(pX.prototype,"fragment",{get:function(){return this._fragmentCode}}),Object.defineProperty(pX.prototype,"uniforms",{get:function(){return this._uniformList}}));var fX=/(@import)\s*([0-9a-zA-Z_\-\.]*)/g;pX.parseImport=function(t){return t=t.replace(fX,(function(t,e,n){return(t=pX.source(n))?pX.parseImport(t):(console.error('Shader chunk "'+n+'" not existed in library'),"")}))};var gX=/(@export)\s*([0-9a-zA-Z_\-\.]*)\s*\n([\s\S]*?)@end/g;pX.import=function(t){t.replace(gX,(function(t,e,n,i){if(i=i.replace(/(^[\s\t\xa0\u3000]+)|([\u3000\xa0\s\t]+\x24)/g,"")){for(var r,o=n.split("."),a=pX.codes,s=0;s<o.length-1;)a[r=o[s++]]||(a[r]={}),a=a[r];a[r=o[s]]=i}return i}))},pX.codes={},pX.source=function(t){for(var e=t.split("."),n=pX.codes,i=0;n&&i<e.length;){n=n[e[i++]]}return"string"!=typeof n?(console.error('Shader "'+t+'" not existed in library'),""):n};var mX="@export clay.prez.vertex\nuniform mat4 WVP : WORLDVIEWPROJECTION;\nattribute vec3 pos : POSITION;\nattribute vec2 uv : TEXCOORD_0;\nuniform vec2 uvRepeat : [1.0, 1.0];\nuniform vec2 uvOffset : [0.0, 0.0];\n@import clay.chunk.skinning_header\n@import clay.chunk.instancing_header\nvarying vec2 v_Texcoord;\nvoid main()\n{\n vec4 P = vec4(pos, 1.0);\n#ifdef SKINNING\n @import clay.chunk.skin_matrix\n P = skinMatrixWS * P;\n#endif\n#ifdef INSTANCING\n @import clay.chunk.instancing_matrix\n P = instanceMat * P;\n#endif\n gl_Position = WVP * P;\n v_Texcoord = uv * uvRepeat + uvOffset;\n}\n@end\n@export clay.prez.fragment\nuniform sampler2D alphaMap;\nuniform float alphaCutoff: 0.0;\nvarying vec2 v_Texcoord;\nvoid main()\n{\n if (alphaCutoff > 0.0) {\n if (texture2D(alphaMap, v_Texcoord).a <= alphaCutoff) {\n discard;\n }\n }\n gl_FragColor = vec4(0.0,0.0,0.0,1.0);\n}\n@end",vX={create:function(){var t=new zW(16);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},clone:function(t){var e=new zW(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},transpose:function(t,e){if(t===e){var n=e[1],i=e[2],r=e[3],o=e[6],a=e[7],s=e[11];t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=n,t[6]=e[9],t[7]=e[13],t[8]=i,t[9]=o,t[11]=e[14],t[12]=r,t[13]=a,t[14]=s}else t[0]=e[0],t[1]=e[4],t[2]=e[8],t[3]=e[12],t[4]=e[1],t[5]=e[5],t[6]=e[9],t[7]=e[13],t[8]=e[2],t[9]=e[6],t[10]=e[10],t[11]=e[14],t[12]=e[3],t[13]=e[7],t[14]=e[11],t[15]=e[15];return t},invert:function(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],h=e[9],d=e[10],p=e[11],f=e[12],g=e[13],m=e[14],v=e[15],y=n*s-i*a,_=n*l-r*a,x=n*u-o*a,b=i*l-r*s,w=i*u-o*s,S=r*u-o*l,A=c*g-h*f,T=c*m-d*f,M=c*v-p*f,I=h*m-d*g,C=h*v-p*g,D=d*v-p*m,E=y*D-_*C+x*I+b*M-w*T+S*A;return E?(E=1/E,t[0]=(s*D-l*C+u*I)*E,t[1]=(r*C-i*D-o*I)*E,t[2]=(g*S-m*w+v*b)*E,t[3]=(d*w-h*S-p*b)*E,t[4]=(l*M-a*D-u*T)*E,t[5]=(n*D-r*M+o*T)*E,t[6]=(m*x-f*S-v*_)*E,t[7]=(c*S-d*x+p*_)*E,t[8]=(a*C-s*M+u*A)*E,t[9]=(i*M-n*C-o*A)*E,t[10]=(f*w-g*x+v*y)*E,t[11]=(h*x-c*w-p*y)*E,t[12]=(s*T-a*I-l*A)*E,t[13]=(n*I-i*T+r*A)*E,t[14]=(g*_-f*b-m*y)*E,t[15]=(c*b-h*_+d*y)*E,t):null},adjoint:function(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],h=e[9],d=e[10],p=e[11],f=e[12],g=e[13],m=e[14],v=e[15];return t[0]=s*(d*v-p*m)-h*(l*v-u*m)+g*(l*p-u*d),t[1]=-(i*(d*v-p*m)-h*(r*v-o*m)+g*(r*p-o*d)),t[2]=i*(l*v-u*m)-s*(r*v-o*m)+g*(r*u-o*l),t[3]=-(i*(l*p-u*d)-s*(r*p-o*d)+h*(r*u-o*l)),t[4]=-(a*(d*v-p*m)-c*(l*v-u*m)+f*(l*p-u*d)),t[5]=n*(d*v-p*m)-c*(r*v-o*m)+f*(r*p-o*d),t[6]=-(n*(l*v-u*m)-a*(r*v-o*m)+f*(r*u-o*l)),t[7]=n*(l*p-u*d)-a*(r*p-o*d)+c*(r*u-o*l),t[8]=a*(h*v-p*g)-c*(s*v-u*g)+f*(s*p-u*h),t[9]=-(n*(h*v-p*g)-c*(i*v-o*g)+f*(i*p-o*h)),t[10]=n*(s*v-u*g)-a*(i*v-o*g)+f*(i*u-o*s),t[11]=-(n*(s*p-u*h)-a*(i*p-o*h)+c*(i*u-o*s)),t[12]=-(a*(h*m-d*g)-c*(s*m-l*g)+f*(s*d-l*h)),t[13]=n*(h*m-d*g)-c*(i*m-r*g)+f*(i*d-r*h),t[14]=-(n*(s*m-l*g)-a*(i*m-r*g)+f*(i*l-r*s)),t[15]=n*(s*d-l*h)-a*(i*d-r*h)+c*(i*l-r*s),t},determinant:function(t){var e=t[0],n=t[1],i=t[2],r=t[3],o=t[4],a=t[5],s=t[6],l=t[7],u=t[8],c=t[9],h=t[10],d=t[11],p=t[12],f=t[13],g=t[14],m=t[15];return(e*a-n*o)*(h*m-d*g)-(e*s-i*o)*(c*m-d*f)+(e*l-r*o)*(c*g-h*f)+(n*s-i*a)*(u*m-d*p)-(n*l-r*a)*(u*g-h*p)+(i*l-r*s)*(u*f-c*p)},multiply:function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],h=e[8],d=e[9],p=e[10],f=e[11],g=e[12],m=e[13],v=e[14],y=e[15],_=n[0],x=n[1],b=n[2],w=n[3];return t[0]=_*i+x*s+b*h+w*g,t[1]=_*r+x*l+b*d+w*m,t[2]=_*o+x*u+b*p+w*v,t[3]=_*a+x*c+b*f+w*y,_=n[4],x=n[5],b=n[6],w=n[7],t[4]=_*i+x*s+b*h+w*g,t[5]=_*r+x*l+b*d+w*m,t[6]=_*o+x*u+b*p+w*v,t[7]=_*a+x*c+b*f+w*y,_=n[8],x=n[9],b=n[10],w=n[11],t[8]=_*i+x*s+b*h+w*g,t[9]=_*r+x*l+b*d+w*m,t[10]=_*o+x*u+b*p+w*v,t[11]=_*a+x*c+b*f+w*y,_=n[12],x=n[13],b=n[14],w=n[15],t[12]=_*i+x*s+b*h+w*g,t[13]=_*r+x*l+b*d+w*m,t[14]=_*o+x*u+b*p+w*v,t[15]=_*a+x*c+b*f+w*y,t},multiplyAffine:function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[4],s=e[5],l=e[6],u=e[8],c=e[9],h=e[10],d=e[12],p=e[13],f=e[14],g=n[0],m=n[1],v=n[2];return t[0]=g*i+m*a+v*u,t[1]=g*r+m*s+v*c,t[2]=g*o+m*l+v*h,g=n[4],m=n[5],v=n[6],t[4]=g*i+m*a+v*u,t[5]=g*r+m*s+v*c,t[6]=g*o+m*l+v*h,g=n[8],m=n[9],v=n[10],t[8]=g*i+m*a+v*u,t[9]=g*r+m*s+v*c,t[10]=g*o+m*l+v*h,g=n[12],m=n[13],v=n[14],t[12]=g*i+m*a+v*u+d,t[13]=g*r+m*s+v*c+p,t[14]=g*o+m*l+v*h+f,t}};vX.mul=vX.multiply,vX.mulAffine=vX.multiplyAffine,vX.translate=function(t,e,n){var i,r,o,a,s,l,u,c,h,d,p,f,g=n[0],m=n[1],v=n[2];return e===t?(t[12]=e[0]*g+e[4]*m+e[8]*v+e[12],t[13]=e[1]*g+e[5]*m+e[9]*v+e[13],t[14]=e[2]*g+e[6]*m+e[10]*v+e[14],t[15]=e[3]*g+e[7]*m+e[11]*v+e[15]):(i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],h=e[8],d=e[9],p=e[10],f=e[11],t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t[6]=u,t[7]=c,t[8]=h,t[9]=d,t[10]=p,t[11]=f,t[12]=i*g+s*m+h*v+e[12],t[13]=r*g+l*m+d*v+e[13],t[14]=o*g+u*m+p*v+e[14],t[15]=a*g+c*m+f*v+e[15]),t},vX.scale=function(t,e,n){var i=n[0],r=n[1],o=n[2];return t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i,t[3]=e[3]*i,t[4]=e[4]*r,t[5]=e[5]*r,t[6]=e[6]*r,t[7]=e[7]*r,t[8]=e[8]*o,t[9]=e[9]*o,t[10]=e[10]*o,t[11]=e[11]*o,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},vX.rotate=function(t,e,n,i){var r,o,a,s,l,u,c,h,d,p,f,g,m,v,y,_,x,b,w,S,A,T,M,I,C=i[0],D=i[1],E=i[2],L=Math.sqrt(C*C+D*D+E*E);return Math.abs(L)<BW?null:(C*=L=1/L,D*=L,E*=L,r=Math.sin(n),a=1-(o=Math.cos(n)),s=e[0],l=e[1],u=e[2],c=e[3],h=e[4],d=e[5],p=e[6],f=e[7],g=e[8],m=e[9],v=e[10],y=e[11],_=C*C*a+o,x=D*C*a+E*r,b=E*C*a-D*r,w=C*D*a-E*r,S=D*D*a+o,A=E*D*a+C*r,T=C*E*a+D*r,M=D*E*a-C*r,I=E*E*a+o,t[0]=s*_+h*x+g*b,t[1]=l*_+d*x+m*b,t[2]=u*_+p*x+v*b,t[3]=c*_+f*x+y*b,t[4]=s*w+h*S+g*A,t[5]=l*w+d*S+m*A,t[6]=u*w+p*S+v*A,t[7]=c*w+f*S+y*A,t[8]=s*T+h*M+g*I,t[9]=l*T+d*M+m*I,t[10]=u*T+p*M+v*I,t[11]=c*T+f*M+y*I,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t)},vX.rotateX=function(t,e,n){var i=Math.sin(n),r=Math.cos(n),o=e[4],a=e[5],s=e[6],l=e[7],u=e[8],c=e[9],h=e[10],d=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=o*r+u*i,t[5]=a*r+c*i,t[6]=s*r+h*i,t[7]=l*r+d*i,t[8]=u*r-o*i,t[9]=c*r-a*i,t[10]=h*r-s*i,t[11]=d*r-l*i,t},vX.rotateY=function(t,e,n){var i=Math.sin(n),r=Math.cos(n),o=e[0],a=e[1],s=e[2],l=e[3],u=e[8],c=e[9],h=e[10],d=e[11];return e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=o*r-u*i,t[1]=a*r-c*i,t[2]=s*r-h*i,t[3]=l*r-d*i,t[8]=o*i+u*r,t[9]=a*i+c*r,t[10]=s*i+h*r,t[11]=l*i+d*r,t},vX.rotateZ=function(t,e,n){var i=Math.sin(n),r=Math.cos(n),o=e[0],a=e[1],s=e[2],l=e[3],u=e[4],c=e[5],h=e[6],d=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=o*r+u*i,t[1]=a*r+c*i,t[2]=s*r+h*i,t[3]=l*r+d*i,t[4]=u*r-o*i,t[5]=c*r-a*i,t[6]=h*r-s*i,t[7]=d*r-l*i,t},vX.fromRotationTranslation=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=i+i,l=r+r,u=o+o,c=i*s,h=i*l,d=i*u,p=r*l,f=r*u,g=o*u,m=a*s,v=a*l,y=a*u;return t[0]=1-(p+g),t[1]=h+y,t[2]=d-v,t[3]=0,t[4]=h-y,t[5]=1-(c+g),t[6]=f+m,t[7]=0,t[8]=d+v,t[9]=f-m,t[10]=1-(c+p),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t},vX.fromQuat=function(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=n+n,s=i+i,l=r+r,u=n*a,c=i*a,h=i*s,d=r*a,p=r*s,f=r*l,g=o*a,m=o*s,v=o*l;return t[0]=1-h-f,t[1]=c+v,t[2]=d-m,t[3]=0,t[4]=c-v,t[5]=1-u-f,t[6]=p+g,t[7]=0,t[8]=d+m,t[9]=p-g,t[10]=1-u-h,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},vX.frustum=function(t,e,n,i,r,o,a){var s=1/(n-e),l=1/(r-i),u=1/(o-a);return t[0]=2*o*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*o*l,t[6]=0,t[7]=0,t[8]=(n+e)*s,t[9]=(r+i)*l,t[10]=(a+o)*u,t[11]=-1,t[12]=0,t[13]=0,t[14]=a*o*2*u,t[15]=0,t},vX.perspective=function(t,e,n,i,r){var o=1/Math.tan(e/2),a=1/(i-r);return t[0]=o/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=(r+i)*a,t[11]=-1,t[12]=0,t[13]=0,t[14]=2*r*i*a,t[15]=0,t},vX.ortho=function(t,e,n,i,r,o,a){var s=1/(e-n),l=1/(i-r),u=1/(o-a);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+n)*s,t[13]=(r+i)*l,t[14]=(a+o)*u,t[15]=1,t},vX.lookAt=function(t,e,n,i){var r,o,a,s,l,u,c,h,d,p,f=e[0],g=e[1],m=e[2],v=i[0],y=i[1],_=i[2],x=n[0],b=n[1],w=n[2];return Math.abs(f-x)<BW&&Math.abs(g-b)<BW&&Math.abs(m-w)<BW?vX.identity(t):(c=f-x,h=g-b,d=m-w,r=y*(d*=p=1/Math.sqrt(c*c+h*h+d*d))-_*(h*=p),o=_*(c*=p)-v*d,a=v*h-y*c,(p=Math.sqrt(r*r+o*o+a*a))?(r*=p=1/p,o*=p,a*=p):(r=0,o=0,a=0),s=h*a-d*o,l=d*r-c*a,u=c*o-h*r,(p=Math.sqrt(s*s+l*l+u*u))?(s*=p=1/p,l*=p,u*=p):(s=0,l=0,u=0),t[0]=r,t[1]=s,t[2]=c,t[3]=0,t[4]=o,t[5]=l,t[6]=h,t[7]=0,t[8]=a,t[9]=u,t[10]=d,t[11]=0,t[12]=-(r*f+o*g+a*m),t[13]=-(s*f+l*g+u*m),t[14]=-(c*f+h*g+d*m),t[15]=1,t)},vX.frob=function(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2)+Math.pow(t[2],2)+Math.pow(t[3],2)+Math.pow(t[4],2)+Math.pow(t[5],2)+Math.pow(t[6],2)+Math.pow(t[7],2)+Math.pow(t[8],2)+Math.pow(t[9],2)+Math.pow(t[10],2)+Math.pow(t[11],2)+Math.pow(t[12],2)+Math.pow(t[13],2)+Math.pow(t[14],2)+Math.pow(t[15],2))};var yX={create:function(){var t=new zW(3);return t[0]=0,t[1]=0,t[2]=0,t},clone:function(t){var e=new zW(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},fromValues:function(t,e,n){var i=new zW(3);return i[0]=t,i[1]=e,i[2]=n,i},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},set:function(t,e,n,i){return t[0]=e,t[1]=n,t[2]=i,t},add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t},subtract:function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}};yX.sub=yX.subtract,yX.multiply=function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t},yX.mul=yX.multiply,yX.divide=function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t},yX.div=yX.divide,yX.min=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t},yX.max=function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t},yX.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t},yX.scaleAndAdd=function(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t[2]=e[2]+n[2]*i,t},yX.distance=function(t,e){var n=e[0]-t[0],i=e[1]-t[1],r=e[2]-t[2];return Math.sqrt(n*n+i*i+r*r)},yX.dist=yX.distance,yX.squaredDistance=function(t,e){var n=e[0]-t[0],i=e[1]-t[1],r=e[2]-t[2];return n*n+i*i+r*r},yX.sqrDist=yX.squaredDistance,yX.length=function(t){var e=t[0],n=t[1],i=t[2];return Math.sqrt(e*e+n*n+i*i)},yX.len=yX.length,yX.squaredLength=function(t){var e=t[0],n=t[1],i=t[2];return e*e+n*n+i*i},yX.sqrLen=yX.squaredLength,yX.negate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t},yX.inverse=function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t},yX.normalize=function(t,e){var n=e[0],i=e[1],r=e[2],o=n*n+i*i+r*r;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o),t},yX.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]},yX.cross=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=n[0],s=n[1],l=n[2];return t[0]=r*l-o*s,t[1]=o*a-i*l,t[2]=i*s-r*a,t},yX.lerp=function(t,e,n,i){var r=e[0],o=e[1],a=e[2];return t[0]=r+i*(n[0]-r),t[1]=o+i*(n[1]-o),t[2]=a+i*(n[2]-a),t},yX.random=function(t,e){e=e||1;var n=2*FW()*Math.PI,i=2*FW()-1,r=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(n)*r,t[1]=Math.sin(n)*r,t[2]=i*e,t},yX.transformMat4=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=n[3]*i+n[7]*r+n[11]*o+n[15];return a=a||1,t[0]=(n[0]*i+n[4]*r+n[8]*o+n[12])/a,t[1]=(n[1]*i+n[5]*r+n[9]*o+n[13])/a,t[2]=(n[2]*i+n[6]*r+n[10]*o+n[14])/a,t},yX.transformMat3=function(t,e,n){var i=e[0],r=e[1],o=e[2];return t[0]=i*n[0]+r*n[3]+o*n[6],t[1]=i*n[1]+r*n[4]+o*n[7],t[2]=i*n[2]+r*n[5]+o*n[8],t},yX.transformQuat=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=n[0],s=n[1],l=n[2],u=n[3],c=u*i+s*o-l*r,h=u*r+l*i-a*o,d=u*o+a*r-s*i,p=-a*i-s*r-l*o;return t[0]=c*u+p*-a+h*-l-d*-s,t[1]=h*u+p*-s+d*-a-c*-l,t[2]=d*u+p*-l+c*-s-h*-a,t},yX.rotateX=function(t,e,n,i){var r=[],o=[];return r[0]=e[0]-n[0],r[1]=e[1]-n[1],r[2]=e[2]-n[2],o[0]=r[0],o[1]=r[1]*Math.cos(i)-r[2]*Math.sin(i),o[2]=r[1]*Math.sin(i)+r[2]*Math.cos(i),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},yX.rotateY=function(t,e,n,i){var r=[],o=[];return r[0]=e[0]-n[0],r[1]=e[1]-n[1],r[2]=e[2]-n[2],o[0]=r[2]*Math.sin(i)+r[0]*Math.cos(i),o[1]=r[1],o[2]=r[2]*Math.cos(i)-r[0]*Math.sin(i),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},yX.rotateZ=function(t,e,n,i){var r=[],o=[];return r[0]=e[0]-n[0],r[1]=e[1]-n[1],r[2]=e[2]-n[2],o[0]=r[0]*Math.cos(i)-r[1]*Math.sin(i),o[1]=r[0]*Math.sin(i)+r[1]*Math.cos(i),o[2]=r[2],t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},yX.forEach=function(){var t=yX.create();return function(e,n,i,r,o,a){var s,l;for(n||(n=3),i||(i=0),l=r?Math.min(r*n+i,e.length):e.length,s=i;s<l;s+=n)t[0]=e[s],t[1]=e[s+1],t[2]=e[s+2],o(t,t,a),e[s]=t[0],e[s+1]=t[1],e[s+2]=t[2];return e}}(),yX.angle=function(t,e){var n=yX.fromValues(t[0],t[1],t[2]),i=yX.fromValues(e[0],e[1],e[2]);yX.normalize(n,n),yX.normalize(i,i);var r=yX.dot(n,i);return r>1?0:Math.acos(r)},pX.import(mX);var _X=vX.create,xX={};function bX(t){return t.material}function wX(t,e,n){return e.uniforms[n].value}function SX(t,e,n,i){return n!==i}function AX(t){return!0}function TX(){}var MX={float:hW.FLOAT,byte:hW.BYTE,ubyte:hW.UNSIGNED_BYTE,short:hW.SHORT,ushort:hW.UNSIGNED_SHORT};function IX(t,e,n){this.availableAttributes=t,this.availableAttributeSymbols=e,this.indicesBuffer=n,this.vao=null}function CX(t){var e,n;this.bind=function(t){e||((e=fW.createCanvas()).width=e.height=1,e.getContext("2d"));var i=t.gl,r=!n;r&&(n=i.createTexture()),i.bindTexture(i.TEXTURE_2D,n),r&&i.texImage2D(i.TEXTURE_2D,0,i.RGBA,i.RGBA,i.UNSIGNED_BYTE,e)},this.unbind=function(t){t.gl.bindTexture(t.gl.TEXTURE_2D,null)},this.isRenderable=function(){return!0}}var DX=sW.extend((function(){return{canvas:null,_width:100,_height:100,devicePixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1,clearColor:[0,0,0,0],clearBit:17664,alpha:!0,depth:!0,stencil:!1,antialias:!0,premultipliedAlpha:!0,preserveDrawingBuffer:!1,throwError:!0,gl:null,viewport:{},maxJointNumber:20,__currentFrameBuffer:null,_viewportStack:[],_clearStack:[],_sceneRendering:null}}),(function(){this.canvas||(this.canvas=fW.createCanvas());var t=this.canvas;try{var e={alpha:this.alpha,depth:this.depth,stencil:this.stencil,antialias:this.antialias,premultipliedAlpha:this.premultipliedAlpha,preserveDrawingBuffer:this.preserveDrawingBuffer};if(this.gl=t.getContext("webgl",e)||t.getContext("experimental-webgl",e),!this.gl)throw new Error;this._glinfo=new cW(this.gl),this.gl.targetRenderer&&console.error("Already created a renderer"),this.gl.targetRenderer=this,this.resize()}catch(KJ){throw"Error creating WebGL Context "+KJ}this._programMgr=new JW(this),this._placeholderTexture=new CX}),{resize:function(t,e){var n=this.canvas,i=this.devicePixelRatio;null!=t?(n.style&&(n.style.width=t+"px",n.style.height=e+"px"),n.width=t*i,n.height=e*i,this._width=t,this._height=e):(this._width=n.width/i,this._height=n.height/i),this.setViewport(0,0,this._width,this._height)},getWidth:function(){return this._width},getHeight:function(){return this._height},getViewportAspect:function(){var t=this.viewport;return t.width/t.height},setDevicePixelRatio:function(t){this.devicePixelRatio=t,this.resize(this._width,this._height)},getDevicePixelRatio:function(){return this.devicePixelRatio},getGLExtension:function(t){return this._glinfo.getExtension(t)},getGLParameter:function(t){return this._glinfo.getParameter(t)},setViewport:function(t,e,n,i,r){if("object"===y(t)){var o=t;t=o.x,e=o.y,n=o.width,i=o.height,r=o.devicePixelRatio}r=r||this.devicePixelRatio,this.gl.viewport(t*r,e*r,n*r,i*r),this.viewport={x:t,y:e,width:n,height:i,devicePixelRatio:r}},saveViewport:function(){this._viewportStack.push(this.viewport)},restoreViewport:function(){this._viewportStack.length>0&&this.setViewport(this._viewportStack.pop())},saveClear:function(){this._clearStack.push({clearBit:this.clearBit,clearColor:this.clearColor})},restoreClear:function(){if(this._clearStack.length>0){var t=this._clearStack.pop();this.clearColor=t.clearColor,this.clearBit=t.clearBit}},bindSceneRendering:function(t){this._sceneRendering=t},render:function(t,e,n,i){var r=this.gl,o=this.clearColor;if(this.clearBit){r.colorMask(!0,!0,!0,!0),r.depthMask(!0);var a=this.viewport,s=!1,l=a.devicePixelRatio;(a.width!==this._width||a.height!==this._height||l&&l!==this.devicePixelRatio||a.x||a.y)&&(s=!0,r.enable(r.SCISSOR_TEST),r.scissor(a.x*l,a.y*l,a.width*l,a.height*l)),r.clearColor(o[0],o[1],o[2],o[3]),r.clear(this.clearBit),s&&r.disable(r.SCISSOR_TEST)}if(n||t.update(!1),t.updateLights(),e=e||t.getMainCamera()){e.update();var u=t.updateRenderList(e,!0);this._sceneRendering=t;var c=u.opaque,h=u.transparent,d=t.material;t.trigger("beforerender",this,t,e,u),i?(this.renderPreZ(c,t,e),r.depthFunc(r.LEQUAL)):r.depthFunc(r.LESS);for(var p=_X(),f=yX.create(),g=0;g<h.length;g++){var m=h[g];vX.multiplyAffine(p,e.viewMatrix.array,m.worldTransform.array),yX.transformMat4(f,m.position.array,p),m.__depth=f[2]}this.renderPass(c,e,{getMaterial:function(t){return d||t.material},sortCompare:this.opaqueSortCompare}),this.renderPass(h,e,{getMaterial:function(t){return d||t.material},sortCompare:this.transparentSortCompare}),t.trigger("afterrender",this,t,e,u),this._sceneRendering=null}else console.error("Can't find camera in the scene.")},getProgram:function(t,e,n){return e=e||t.material,this._programMgr.getProgram(t,e,n)},validateProgram:function(t){if(t.__error){var e=t.__error;if(xX[t.__uid__])return;if(xX[t.__uid__]=!0,this.throwError)throw new Error(e);this.trigger("error",e)}},updatePrograms:function(t,e,n){var i=n&&n.getMaterial||bX;e=e||null;for(var r=0;r<t.length;r++){var o=t[r],a=i.call(this,o);if(r>0){var s=t[r-1],l=s.joints?s.joints.length:0;if((o.joints?o.joints.length:0)===l&&o.material===s.material&&o.lightGroup===s.lightGroup){o.__program=s.__program;continue}}var u=this._programMgr.getProgram(o,a,e);this.validateProgram(u),o.__program=u}},renderPass:function(t,e,n){this.trigger("beforerenderpass",this,t,e,n),(n=n||{}).getMaterial=n.getMaterial||bX,n.getUniform=n.getUniform||wX,n.isMaterialChanged=n.isMaterialChanged||SX,n.beforeRender=n.beforeRender||TX,n.afterRender=n.afterRender||TX;var i=n.ifRender||AX;this.updatePrograms(t,this._sceneRendering,n),n.sortCompare&&t.sort(n.sortCompare);var r=this.viewport,o=r.devicePixelRatio,a=[r.x*o,r.y*o,r.width*o,r.height*o],s=this.devicePixelRatio,l=this.__currentFrameBuffer?[this.__currentFrameBuffer.getTextureWidth(),this.__currentFrameBuffer.getTextureHeight()]:[this._width*s,this._height*s],u=[a[2],a[3]],c=Date.now();e?(vX.copy(EX.VIEW,e.viewMatrix.array),vX.copy(EX.PROJECTION,e.projectionMatrix.array),vX.copy(EX.VIEWINVERSE,e.worldTransform.array)):(vX.identity(EX.VIEW),vX.identity(EX.PROJECTION),vX.identity(EX.VIEWINVERSE)),vX.multiply(EX.VIEWPROJECTION,EX.PROJECTION,EX.VIEW),vX.invert(EX.PROJECTIONINVERSE,EX.PROJECTION),vX.invert(EX.VIEWPROJECTIONINVERSE,EX.VIEWPROJECTION);for(var h,d,p,f,g,m,v,y,_,x,b,w,S=this.gl,A=this._sceneRendering,T=null,M=0;M<t.length;M++){var I,C=t[M],D=null!=C.worldTransform;if(i(C)){D&&(I=C.isSkinnedMesh&&C.isSkinnedMesh()?C.offsetMatrix?C.offsetMatrix.array:EX.IDENTITY:C.worldTransform.array);var E=C.geometry,L=n.getMaterial.call(this,C),P=C.__program,R=L.shader,N=E.__uid__+"-"+P.__uid__,k=N!==x;x=N,D&&(vX.copy(EX.WORLD,I),vX.multiply(EX.WORLDVIEWPROJECTION,EX.VIEWPROJECTION,I),vX.multiplyAffine(EX.WORLDVIEW,EX.VIEW,I),(R.matrixSemantics.WORLDINVERSE||R.matrixSemantics.WORLDINVERSETRANSPOSE)&&vX.invert(EX.WORLDINVERSE,I),(R.matrixSemantics.WORLDVIEWINVERSE||R.matrixSemantics.WORLDVIEWINVERSETRANSPOSE)&&vX.invert(EX.WORLDVIEWINVERSE,EX.WORLDVIEW),(R.matrixSemantics.WORLDVIEWPROJECTIONINVERSE||R.matrixSemantics.WORLDVIEWPROJECTIONINVERSETRANSPOSE)&&vX.invert(EX.WORLDVIEWPROJECTIONINVERSE,EX.WORLDVIEWPROJECTION)),C.beforeRender&&C.beforeRender(this),n.beforeRender.call(this,C,L,h);var O=P!==d;O?(P.bind(this),P.setUniformOfSemantic(S,"VIEWPORT",a),P.setUniformOfSemantic(S,"WINDOW_SIZE",l),e&&(P.setUniformOfSemantic(S,"NEAR",e.near),P.setUniformOfSemantic(S,"FAR",e.far)),P.setUniformOfSemantic(S,"DEVICEPIXELRATIO",o),P.setUniformOfSemantic(S,"TIME",c),P.setUniformOfSemantic(S,"VIEWPORT_SIZE",u),A&&A.setLightUniforms(P,C.lightGroup,this)):P=d,(O||n.isMaterialChanged(C,p,L,h))&&(L.depthTest!==f&&(L.depthTest?S.enable(S.DEPTH_TEST):S.disable(S.DEPTH_TEST),f=L.depthTest),L.depthMask!==g&&(S.depthMask(L.depthMask),g=L.depthMask),L.transparent!==_&&(L.transparent?S.enable(S.BLEND):S.disable(S.BLEND),_=L.transparent),L.transparent&&(L.blend?L.blend(S):(S.blendEquationSeparate(S.FUNC_ADD,S.FUNC_ADD),S.blendFuncSeparate(S.SRC_ALPHA,S.ONE_MINUS_SRC_ALPHA,S.ONE,S.ONE_MINUS_SRC_ALPHA))),w=this._bindMaterial(C,L,P,p||null,h||null,d||null,n.getUniform),h=L);var B=R.matrixSemanticKeys;if(D)for(var z=0;z<B.length;z++){var F=B[z],V=R.matrixSemantics[F],G=EX[F];if(V.isTranspose){var U=EX[V.semanticNoTranspose];vX.transpose(G,U)}P.setUniform(S,V.type,V.symbol,G)}C.cullFace!==v&&(v=C.cullFace,S.cullFace(v)),C.frontFace!==y&&(y=C.frontFace,S.frontFace(y)),C.culling!==m&&((m=C.culling)?S.enable(S.CULL_FACE):S.disable(S.CULL_FACE)),this._updateSkeleton(C,P,w),k&&(b=this._bindVAO(T,R,E,P)),this._renderObject(C,b,P),n.afterRender(this,C),C.afterRender&&C.afterRender(this),d=P,p=C}}this.trigger("afterrenderpass",this,t,e,n)},getMaxJointNumber:function(){return this.maxJointNumber},_updateSkeleton:function(t,e,n){var i=this.gl,r=t.skeleton;if(r)if(r.update(),t.joints.length>this.getMaxJointNumber()){var o=r.getSubSkinMatricesTexture(t.__uid__,t.joints);e.useTextureSlot(this,o,n),e.setUniform(i,"1i","skinMatricesTexture",n),e.setUniform(i,"1f","skinMatricesTextureSize",o.width)}else{var a=r.getSubSkinMatrices(t.__uid__,t.joints);e.setUniformOfSemantic(i,"SKIN_MATRIX",a)}},_renderObject:function(t,e,n){var i=this.gl,r=t.geometry,o=t.mode;null==o&&(o=4);var a=null,s=t.isInstancedMesh&&t.isInstancedMesh();if(!s||(a=this.getGLExtension("ANGLE_instanced_arrays"))){var l;if(s&&(l=this._bindInstancedAttributes(t,n,a)),e.indicesBuffer){var u=this.getGLExtension("OES_element_index_uint")&&r.indices instanceof Uint32Array?i.UNSIGNED_INT:i.UNSIGNED_SHORT;s?a.drawElementsInstancedANGLE(o,e.indicesBuffer.count,u,0,t.getInstanceCount()):i.drawElements(o,e.indicesBuffer.count,u,0)}else s?a.drawArraysInstancedANGLE(o,0,r.vertexCount,t.getInstanceCount()):i.drawArrays(o,0,r.vertexCount);if(s)for(var c=0;c<l.length;c++)i.disableVertexAttribArray(l[c])}else console.warn("Device not support ANGLE_instanced_arrays extension")},_bindInstancedAttributes:function(t,e,n){for(var i=this.gl,r=t.getInstancedAttributesBuffers(this),o=[],a=0;a<r.length;a++){var s=r[a],l=e.getAttribLocation(i,s.symbol);if(!(l<0)){var u=MX[s.type]||i.FLOAT;i.enableVertexAttribArray(l),i.bindBuffer(i.ARRAY_BUFFER,s.buffer),i.vertexAttribPointer(l,s.size,u,!1,0,0),n.vertexAttribDivisorANGLE(l,s.divisor),o.push(l)}}return o},_bindMaterial:function(t,e,n,i,r,o,a){for(var s=this.gl,l=o===n,u=n.currentTextureSlot(),c=e.getEnabledUniforms(),h=e.getTextureUniforms(),d=this._placeholderTexture,p=0;p<h.length;p++){var f=a(t,e,v=h[p]);if("t"===(m=e.uniforms[v].type)&&f)f.__slot=-1;else if("tv"===m)for(var g=0;g<f.length;g++)f[g]&&(f[g].__slot=-1)}d.__slot=-1;for(p=0;p<c.length;p++){var m,v=c[p],y=e.uniforms[v],_=(f=a(t,e,v),"t"===(m=y.type));if(_&&(f&&f.isRenderable()||(f=d)),r&&l){var x=a(i,r,v);if(_&&(x&&x.isRenderable()||(x=d)),x===f){if(_)n.takeCurrentTextureSlot(this,null);else if("tv"===m&&f)for(g=0;g<f.length;g++)n.takeCurrentTextureSlot(this,null);continue}}if(null!=f)if(_)if(f.__slot<0){var b=n.currentTextureSlot();n.setUniform(s,"1i",v,b)&&(n.takeCurrentTextureSlot(this,f),f.__slot=b)}else n.setUniform(s,"1i",v,f.__slot);else if(Array.isArray(f)){if(0===f.length)continue;if("tv"===m){if(!n.hasUniform(v))continue;var w=[];for(g=0;g<f.length;g++){var S=f[g];if(S.__slot<0){b=n.currentTextureSlot();w.push(b),n.takeCurrentTextureSlot(this,S),S.__slot=b}else w.push(S.__slot)}n.setUniform(s,"1iv",v,w)}else n.setUniform(s,y.type,v,f)}else n.setUniform(s,y.type,v,f)}var A=n.currentTextureSlot();return n.resetTextureSlot(u),A},_bindVAO:function(t,e,n,i){var r=!n.dynamic,o=this.gl,a=this.__uid__+"-"+i.__uid__,s=n.__vaoCache[a];if(!s){var l=n.getBufferChunks(this);if(!l||!l.length)return;for(var u=l[0],c=u.attributeBuffers,h=u.indicesBuffer,d=[],p=[],f=0;f<c.length;f++){var g,m=(w=c[f]).name,v=w.semantic;if(v){var y=e.attributeSemantics[v];g=y&&y.symbol}else g=m;g&&i.attributes[g]&&(d.push(w),p.push(g))}s=new IX(d,p,h),r&&(n.__vaoCache[a]=s)}var _=!0;t&&r&&(null==s.vao?s.vao=t.createVertexArrayOES():_=!1,t.bindVertexArrayOES(s.vao));d=s.availableAttributes,h=s.indicesBuffer;if(_){var x=i.enableAttributes(this,s.availableAttributeSymbols,t&&r&&s);for(f=0;f<d.length;f++){var b=x[f];if(-1!==b){var w,S=(w=d[f]).buffer,A=w.size,T=MX[w.type]||o.FLOAT;o.bindBuffer(o.ARRAY_BUFFER,S),o.vertexAttribPointer(b,A,T,!1,0,0)}}n.isUseIndices()&&o.bindBuffer(o.ELEMENT_ARRAY_BUFFER,h.buffer)}return s},renderPreZ:function(t,e,n){var i=this.gl,r=this._prezMaterial||new OW({shader:new pX(pX.source("clay.prez.vertex"),pX.source("clay.prez.fragment"))});this._prezMaterial=r,i.colorMask(!1,!1,!1,!1),i.depthMask(!0),this.renderPass(t,n,{ifRender:function(t){return!t.ignorePreZ},isMaterialChanged:function(t,e){var n=t.material,i=e.material;return n.get("diffuseMap")!==i.get("diffuseMap")||(n.get("alphaCutoff")||0)!==(i.get("alphaCutoff")||0)},getUniform:function(t,e,n){return"alphaMap"===n?t.material.get("diffuseMap"):"alphaCutoff"===n?t.material.isDefined("fragment","ALPHA_TEST")&&t.material.get("diffuseMap")&&t.material.get("alphaCutoff")||0:"uvRepeat"===n?t.material.get("uvRepeat"):"uvOffset"===n?t.material.get("uvOffset"):e.get(n)},getMaterial:function(){return r},sort:this.opaqueSortCompare}),i.colorMask(!0,!0,!0,!0),i.depthMask(!0)},disposeScene:function(t){this.disposeNode(t,!0,!0),t.dispose()},disposeNode:function(t,e,n){t.getParent()&&t.getParent().remove(t);var i={};t.traverse((function(t){var r=t.material;if(t.geometry&&e&&t.geometry.dispose(this),n&&r&&!i[r.__uid__]){for(var o=r.getTextureUniforms(),a=0;a<o.length;a++){var s=o[a],l=r.uniforms[s].value,u=r.uniforms[s].type;if(l)if("t"===u)l.dispose&&l.dispose(this);else if("tv"===u)for(var c=0;c<l.length;c++)l[c]&&l[c].dispose&&l[c].dispose(this)}i[r.__uid__]=!0}t.dispose&&t.dispose(this)}),this)},disposeGeometry:function(t){t.dispose(this)},disposeTexture:function(t){t.dispose(this)},disposeFrameBuffer:function(t){t.dispose(this)},dispose:function(){},screenToNDC:function(t,e,n){n||(n=new GW),e=this._height-e;var i=this.viewport,r=n.array;return r[0]=(t-i.x)/i.width,r[0]=2*r[0]-1,r[1]=(e-i.y)/i.height,r[1]=2*r[1]-1,n}});DX.opaqueSortCompare=DX.prototype.opaqueSortCompare=function(t,e){return t.renderOrder===e.renderOrder?t.__program===e.__program?t.material===e.material?t.geometry.__uid__-e.geometry.__uid__:t.material.__uid__-e.material.__uid__:t.__program&&e.__program?t.__program.__uid__-e.__program.__uid__:0:t.renderOrder-e.renderOrder},DX.transparentSortCompare=DX.prototype.transparentSortCompare=function(t,e){return t.renderOrder===e.renderOrder?t.__depth===e.__depth?t.__program===e.__program?t.material===e.material?t.geometry.__uid__-e.geometry.__uid__:t.material.__uid__-e.material.__uid__:t.__program&&e.__program?t.__program.__uid__-e.__program.__uid__:0:t.__depth-e.__depth:t.renderOrder-e.renderOrder};var EX={IDENTITY:_X(),WORLD:_X(),VIEW:_X(),PROJECTION:_X(),WORLDVIEW:_X(),VIEWPROJECTION:_X(),WORLDVIEWPROJECTION:_X(),WORLDINVERSE:_X(),VIEWINVERSE:_X(),PROJECTIONINVERSE:_X(),WORLDVIEWINVERSE:_X(),VIEWPROJECTIONINVERSE:_X(),WORLDVIEWPROJECTIONINVERSE:_X(),WORLDTRANSPOSE:_X(),VIEWTRANSPOSE:_X(),PROJECTIONTRANSPOSE:_X(),WORLDVIEWTRANSPOSE:_X(),VIEWPROJECTIONTRANSPOSE:_X(),WORLDVIEWPROJECTIONTRANSPOSE:_X(),WORLDINVERSETRANSPOSE:_X(),VIEWINVERSETRANSPOSE:_X(),PROJECTIONINVERSETRANSPOSE:_X(),WORLDVIEWINVERSETRANSPOSE:_X(),VIEWPROJECTIONINVERSETRANSPOSE:_X(),WORLDVIEWPROJECTIONINVERSETRANSPOSE:_X()};DX.COLOR_BUFFER_BIT=hW.COLOR_BUFFER_BIT,DX.DEPTH_BUFFER_BIT=hW.DEPTH_BUFFER_BIT,DX.STENCIL_BUFFER_BIT=hW.STENCIL_BUFFER_BIT;var LX=function(t,e,n){t=t||0,e=e||0,n=n||0,this.array=yX.fromValues(t,e,n),this._dirty=!0};LX.prototype={constructor:LX,add:function(t){return yX.add(this.array,this.array,t.array),this._dirty=!0,this},set:function(t,e,n){return this.array[0]=t,this.array[1]=e,this.array[2]=n,this._dirty=!0,this},setArray:function(t){return this.array[0]=t[0],this.array[1]=t[1],this.array[2]=t[2],this._dirty=!0,this},clone:function(){return new LX(this.x,this.y,this.z)},copy:function(t){return yX.copy(this.array,t.array),this._dirty=!0,this},cross:function(t,e){return yX.cross(this.array,t.array,e.array),this._dirty=!0,this},dist:function(t){return yX.dist(this.array,t.array)},distance:function(t){return yX.distance(this.array,t.array)},div:function(t){return yX.div(this.array,this.array,t.array),this._dirty=!0,this},divide:function(t){return yX.divide(this.array,this.array,t.array),this._dirty=!0,this},dot:function(t){return yX.dot(this.array,t.array)},len:function(){return yX.len(this.array)},length:function(){return yX.length(this.array)},lerp:function(t,e,n){return yX.lerp(this.array,t.array,e.array,n),this._dirty=!0,this},min:function(t){return yX.min(this.array,this.array,t.array),this._dirty=!0,this},max:function(t){return yX.max(this.array,this.array,t.array),this._dirty=!0,this},mul:function(t){return yX.mul(this.array,this.array,t.array),this._dirty=!0,this},multiply:function(t){return yX.multiply(this.array,this.array,t.array),this._dirty=!0,this},negate:function(){return yX.negate(this.array,this.array),this._dirty=!0,this},normalize:function(){return yX.normalize(this.array,this.array),this._dirty=!0,this},random:function(t){return yX.random(this.array,t),this._dirty=!0,this},scale:function(t){return yX.scale(this.array,this.array,t),this._dirty=!0,this},scaleAndAdd:function(t,e){return yX.scaleAndAdd(this.array,this.array,t.array,e),this._dirty=!0,this},sqrDist:function(t){return yX.sqrDist(this.array,t.array)},squaredDistance:function(t){return yX.squaredDistance(this.array,t.array)},sqrLen:function(){return yX.sqrLen(this.array)},squaredLength:function(){return yX.squaredLength(this.array)},sub:function(t){return yX.sub(this.array,this.array,t.array),this._dirty=!0,this},subtract:function(t){return yX.subtract(this.array,this.array,t.array),this._dirty=!0,this},transformMat3:function(t){return yX.transformMat3(this.array,this.array,t.array),this._dirty=!0,this},transformMat4:function(t){return yX.transformMat4(this.array,this.array,t.array),this._dirty=!0,this},transformQuat:function(t){return yX.transformQuat(this.array,this.array,t.array),this._dirty=!0,this},applyProjection:function(t){var e=this.array;if(0===(t=t.array)[15]){var n=-1/e[2];e[0]=t[0]*e[0]*n,e[1]=t[5]*e[1]*n,e[2]=(t[10]*e[2]+t[14])*n}else e[0]=t[0]*e[0]+t[12],e[1]=t[5]*e[1]+t[13],e[2]=t[10]*e[2]+t[14];return this._dirty=!0,this},eulerFromQuat:function(t,e){LX.eulerFromQuat(this,t,e)},eulerFromMat3:function(t,e){LX.eulerFromMat3(this,t,e)},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}};var PX=Object.defineProperty;if(PX){var RX=LX.prototype;PX(RX,"x",{get:function(){return this.array[0]},set:function(t){this.array[0]=t,this._dirty=!0}}),PX(RX,"y",{get:function(){return this.array[1]},set:function(t){this.array[1]=t,this._dirty=!0}}),PX(RX,"z",{get:function(){return this.array[2]},set:function(t){this.array[2]=t,this._dirty=!0}})}function NX(t,e,n){return t<e?e:t>n?n:t}LX.add=function(t,e,n){return yX.add(t.array,e.array,n.array),t._dirty=!0,t},LX.set=function(t,e,n,i){yX.set(t.array,e,n,i),t._dirty=!0},LX.copy=function(t,e){return yX.copy(t.array,e.array),t._dirty=!0,t},LX.cross=function(t,e,n){return yX.cross(t.array,e.array,n.array),t._dirty=!0,t},LX.dist=function(t,e){return yX.distance(t.array,e.array)},LX.distance=LX.dist,LX.div=function(t,e,n){return yX.divide(t.array,e.array,n.array),t._dirty=!0,t},LX.divide=LX.div,LX.dot=function(t,e){return yX.dot(t.array,e.array)},LX.len=function(t){return yX.length(t.array)},LX.lerp=function(t,e,n,i){return yX.lerp(t.array,e.array,n.array,i),t._dirty=!0,t},LX.min=function(t,e,n){return yX.min(t.array,e.array,n.array),t._dirty=!0,t},LX.max=function(t,e,n){return yX.max(t.array,e.array,n.array),t._dirty=!0,t},LX.mul=function(t,e,n){return yX.multiply(t.array,e.array,n.array),t._dirty=!0,t},LX.multiply=LX.mul,LX.negate=function(t,e){return yX.negate(t.array,e.array),t._dirty=!0,t},LX.normalize=function(t,e){return yX.normalize(t.array,e.array),t._dirty=!0,t},LX.random=function(t,e){return yX.random(t.array,e),t._dirty=!0,t},LX.scale=function(t,e,n){return yX.scale(t.array,e.array,n),t._dirty=!0,t},LX.scaleAndAdd=function(t,e,n,i){return yX.scaleAndAdd(t.array,e.array,n.array,i),t._dirty=!0,t},LX.sqrDist=function(t,e){return yX.sqrDist(t.array,e.array)},LX.squaredDistance=LX.sqrDist,LX.sqrLen=function(t){return yX.sqrLen(t.array)},LX.squaredLength=LX.sqrLen,LX.sub=function(t,e,n){return yX.subtract(t.array,e.array,n.array),t._dirty=!0,t},LX.subtract=LX.sub,LX.transformMat3=function(t,e,n){return yX.transformMat3(t.array,e.array,n.array),t._dirty=!0,t},LX.transformMat4=function(t,e,n){return yX.transformMat4(t.array,e.array,n.array),t._dirty=!0,t},LX.transformQuat=function(t,e,n){return yX.transformQuat(t.array,e.array,n.array),t._dirty=!0,t};var kX=Math.atan2,OX=Math.asin,BX=Math.abs;LX.eulerFromQuat=function(t,e,n){t._dirty=!0,e=e.array;var i=t.array,r=e[0],o=e[1],a=e[2],s=e[3],l=r*r,u=o*o,c=a*a,h=s*s;switch(n=(n||"XYZ").toUpperCase()){case"XYZ":i[0]=kX(2*(r*s-o*a),h-l-u+c),i[1]=OX(NX(2*(r*a+o*s),-1,1)),i[2]=kX(2*(a*s-r*o),h+l-u-c);break;case"YXZ":i[0]=OX(NX(2*(r*s-o*a),-1,1)),i[1]=kX(2*(r*a+o*s),h-l-u+c),i[2]=kX(2*(r*o+a*s),h-l+u-c);break;case"ZXY":i[0]=OX(NX(2*(r*s+o*a),-1,1)),i[1]=kX(2*(o*s-a*r),h-l-u+c),i[2]=kX(2*(a*s-r*o),h-l+u-c);break;case"ZYX":i[0]=kX(2*(r*s+a*o),h-l-u+c),i[1]=OX(NX(2*(o*s-r*a),-1,1)),i[2]=kX(2*(r*o+a*s),h+l-u-c);break;case"YZX":i[0]=kX(2*(r*s-a*o),h-l+u-c),i[1]=kX(2*(o*s-r*a),h+l-u-c),i[2]=OX(NX(2*(r*o+a*s),-1,1));break;case"XZY":i[0]=kX(2*(r*s+o*a),h-l+u-c),i[1]=kX(2*(r*a+o*s),h+l-u-c),i[2]=OX(NX(2*(a*s-r*o),-1,1));break;default:console.warn("Unkown order: "+n)}return t},LX.eulerFromMat3=function(t,e,n){var i=e.array,r=i[0],o=i[3],a=i[6],s=i[1],l=i[4],u=i[7],c=i[2],h=i[5],d=i[8],p=t.array;switch(n=(n||"XYZ").toUpperCase()){case"XYZ":p[1]=OX(NX(a,-1,1)),BX(a)<.99999?(p[0]=kX(-u,d),p[2]=kX(-o,r)):(p[0]=kX(h,l),p[2]=0);break;case"YXZ":p[0]=OX(-NX(u,-1,1)),BX(u)<.99999?(p[1]=kX(a,d),p[2]=kX(s,l)):(p[1]=kX(-c,r),p[2]=0);break;case"ZXY":p[0]=OX(NX(h,-1,1)),BX(h)<.99999?(p[1]=kX(-c,d),p[2]=kX(-o,l)):(p[1]=0,p[2]=kX(s,r));break;case"ZYX":p[1]=OX(-NX(c,-1,1)),BX(c)<.99999?(p[0]=kX(h,d),p[2]=kX(s,r)):(p[0]=0,p[2]=kX(-o,l));break;case"YZX":p[2]=OX(NX(s,-1,1)),BX(s)<.99999?(p[0]=kX(-u,l),p[1]=kX(-c,r)):(p[0]=0,p[1]=kX(a,d));break;case"XZY":p[2]=OX(-NX(o,-1,1)),BX(o)<.99999?(p[0]=kX(h,l),p[1]=kX(a,r)):(p[0]=kX(-u,d),p[1]=0);break;default:console.warn("Unkown order: "+n)}return t._dirty=!0,t},Object.defineProperties(LX,{POSITIVE_X:{get:function(){return new LX(1,0,0)}},NEGATIVE_X:{get:function(){return new LX(-1,0,0)}},POSITIVE_Y:{get:function(){return new LX(0,1,0)}},NEGATIVE_Y:{get:function(){return new LX(0,-1,0)}},POSITIVE_Z:{get:function(){return new LX(0,0,1)}},NEGATIVE_Z:{get:function(){return new LX(0,0,-1)}},UP:{get:function(){return new LX(0,1,0)}},ZERO:{get:function(){return new LX}}});var zX,FX,VX,GX,UX,HX=1e-5,WX=function(t,e){this.origin=t||new LX,this.direction=e||new LX};WX.prototype={constructor:WX,intersectPlane:function(t,e){var n=t.normal.array,i=t.distance,r=this.origin.array,o=this.direction.array,a=yX.dot(n,o);if(0===a)return null;e||(e=new LX);var s=(yX.dot(n,r)-i)/a;return yX.scaleAndAdd(e.array,r,o,-s),e._dirty=!0,e},mirrorAgainstPlane:function(t){var e=yX.dot(t.normal.array,this.direction.array);yX.scaleAndAdd(this.direction.array,this.direction.array,t.normal.array,2*-e),this.direction._dirty=!0},distanceToPoint:(UX=yX.create(),function(t){yX.sub(UX,t,this.origin.array);var e=yX.dot(UX,this.direction.array);if(e<0)return yX.distance(this.origin.array,t);var n=yX.lenSquared(UX);return Math.sqrt(n-e*e)}),intersectSphere:function(){var t=yX.create();return function(e,n,i){var r=this.origin.array,o=this.direction.array;e=e.array,yX.sub(t,e,r);var a=yX.dot(t,o),s=yX.squaredLength(t)-a*a,l=n*n;if(!(s>l)){var u=Math.sqrt(l-s),c=a-u,h=a+u;return i||(i=new LX),c<0?h<0?null:(yX.scaleAndAdd(i.array,r,o,h),i):(yX.scaleAndAdd(i.array,r,o,c),i)}}}(),intersectBoundingBox:function(t,e){var n,i,r,o,a,s,l=this.direction.array,u=this.origin.array,c=t.min.array,h=t.max.array,d=1/l[0],p=1/l[1],f=1/l[2];if(d>=0?(n=(c[0]-u[0])*d,i=(h[0]-u[0])*d):(i=(c[0]-u[0])*d,n=(h[0]-u[0])*d),p>=0?(r=(c[1]-u[1])*p,o=(h[1]-u[1])*p):(o=(c[1]-u[1])*p,r=(h[1]-u[1])*p),n>o||r>i)return null;if((r>n||n!=n)&&(n=r),(o<i||i!=i)&&(i=o),f>=0?(a=(c[2]-u[2])*f,s=(h[2]-u[2])*f):(s=(c[2]-u[2])*f,a=(h[2]-u[2])*f),n>s||a>i)return null;if((a>n||n!=n)&&(n=a),(s<i||i!=i)&&(i=s),i<0)return null;var g=n>=0?n:i;return e||(e=new LX),yX.scaleAndAdd(e.array,u,l,g),e},intersectTriangle:(zX=yX.create(),FX=yX.create(),VX=yX.create(),GX=yX.create(),function(t,e,n,i,r,o){var a=this.direction.array,s=this.origin.array;t=t.array,e=e.array,n=n.array,yX.sub(zX,e,t),yX.sub(FX,n,t),yX.cross(GX,FX,a);var l=yX.dot(zX,GX);if(i){if(l>-1e-5)return null}else if(l>-1e-5&&l<HX)return null;yX.sub(VX,s,t);var u=yX.dot(GX,VX)/l;if(u<0||u>1)return null;yX.cross(GX,zX,VX);var c=yX.dot(a,GX)/l;if(c<0||c>1||u+c>1)return null;yX.cross(GX,zX,FX);var h=-yX.dot(VX,GX)/l;return h<0?null:(r||(r=new LX),o&&LX.set(o,1-u-c,u,c),yX.scaleAndAdd(r.array,s,a,h),r)}),applyTransform:function(t){LX.add(this.direction,this.direction,this.origin),LX.transformMat4(this.origin,this.origin,t),LX.transformMat4(this.direction,this.direction,t),LX.sub(this.direction,this.direction,this.origin),LX.normalize(this.direction,this.direction)},copy:function(t){LX.copy(this.origin,t.origin),LX.copy(this.direction,t.direction)},clone:function(){var t=new WX;return t.copy(this),t}};var XX={create:function(){var t=new zW(4);return t[0]=0,t[1]=0,t[2]=0,t[3]=0,t},clone:function(t){var e=new zW(4);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e},fromValues:function(t,e,n,i){var r=new zW(4);return r[0]=t,r[1]=e,r[2]=n,r[3]=i,r},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t},set:function(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t},add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t},subtract:function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t}};XX.sub=XX.subtract,XX.multiply=function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t[3]=e[3]*n[3],t},XX.mul=XX.multiply,XX.divide=function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t[3]=e[3]/n[3],t},XX.div=XX.divide,XX.min=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t[3]=Math.min(e[3],n[3]),t},XX.max=function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t[3]=Math.max(e[3],n[3]),t},XX.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t},XX.scaleAndAdd=function(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t[2]=e[2]+n[2]*i,t[3]=e[3]+n[3]*i,t},XX.distance=function(t,e){var n=e[0]-t[0],i=e[1]-t[1],r=e[2]-t[2],o=e[3]-t[3];return Math.sqrt(n*n+i*i+r*r+o*o)},XX.dist=XX.distance,XX.squaredDistance=function(t,e){var n=e[0]-t[0],i=e[1]-t[1],r=e[2]-t[2],o=e[3]-t[3];return n*n+i*i+r*r+o*o},XX.sqrDist=XX.squaredDistance,XX.length=function(t){var e=t[0],n=t[1],i=t[2],r=t[3];return Math.sqrt(e*e+n*n+i*i+r*r)},XX.len=XX.length,XX.squaredLength=function(t){var e=t[0],n=t[1],i=t[2],r=t[3];return e*e+n*n+i*i+r*r},XX.sqrLen=XX.squaredLength,XX.negate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},XX.inverse=function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},XX.normalize=function(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=n*n+i*i+r*r+o*o;return a>0&&(a=1/Math.sqrt(a),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a,t[3]=e[3]*a),t},XX.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]},XX.lerp=function(t,e,n,i){var r=e[0],o=e[1],a=e[2],s=e[3];return t[0]=r+i*(n[0]-r),t[1]=o+i*(n[1]-o),t[2]=a+i*(n[2]-a),t[3]=s+i*(n[3]-s),t},XX.random=function(t,e){return e=e||1,t[0]=FW(),t[1]=FW(),t[2]=FW(),t[3]=FW(),XX.normalize(t,t),XX.scale(t,t,e),t},XX.transformMat4=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3];return t[0]=n[0]*i+n[4]*r+n[8]*o+n[12]*a,t[1]=n[1]*i+n[5]*r+n[9]*o+n[13]*a,t[2]=n[2]*i+n[6]*r+n[10]*o+n[14]*a,t[3]=n[3]*i+n[7]*r+n[11]*o+n[15]*a,t},XX.transformQuat=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=n[0],s=n[1],l=n[2],u=n[3],c=u*i+s*o-l*r,h=u*r+l*i-a*o,d=u*o+a*r-s*i,p=-a*i-s*r-l*o;return t[0]=c*u+p*-a+h*-l-d*-s,t[1]=h*u+p*-s+d*-a-c*-l,t[2]=d*u+p*-l+c*-s-h*-a,t},XX.forEach=function(){var t=XX.create();return function(e,n,i,r,o,a){var s,l;for(n||(n=4),i||(i=0),l=r?Math.min(r*n+i,e.length):e.length,s=i;s<l;s+=n)t[0]=e[s],t[1]=e[s+1],t[2]=e[s+2],t[3]=e[s+3],o(t,t,a),e[s]=t[0],e[s+1]=t[1],e[s+2]=t[2],e[s+3]=t[3];return e}}();var jX={create:function(){var t=new zW(9);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromMat4:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t},clone:function(t){var e=new zW(9);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},transpose:function(t,e){if(t===e){var n=e[1],i=e[2],r=e[5];t[1]=e[3],t[2]=e[6],t[3]=n,t[5]=e[7],t[6]=i,t[7]=r}else t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8];return t},invert:function(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],h=c*a-s*u,d=-c*o+s*l,p=u*o-a*l,f=n*h+i*d+r*p;return f?(f=1/f,t[0]=h*f,t[1]=(-c*i+r*u)*f,t[2]=(s*i-r*a)*f,t[3]=d*f,t[4]=(c*n-r*l)*f,t[5]=(-s*n+r*o)*f,t[6]=p*f,t[7]=(-u*n+i*l)*f,t[8]=(a*n-i*o)*f,t):null},adjoint:function(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8];return t[0]=a*c-s*u,t[1]=r*u-i*c,t[2]=i*s-r*a,t[3]=s*l-o*c,t[4]=n*c-r*l,t[5]=r*o-n*s,t[6]=o*u-a*l,t[7]=i*l-n*u,t[8]=n*a-i*o,t},determinant:function(t){var e=t[0],n=t[1],i=t[2],r=t[3],o=t[4],a=t[5],s=t[6],l=t[7],u=t[8];return e*(u*o-a*l)+n*(-u*r+a*s)+i*(l*r-o*s)},multiply:function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],h=e[8],d=n[0],p=n[1],f=n[2],g=n[3],m=n[4],v=n[5],y=n[6],_=n[7],x=n[8];return t[0]=d*i+p*a+f*u,t[1]=d*r+p*s+f*c,t[2]=d*o+p*l+f*h,t[3]=g*i+m*a+v*u,t[4]=g*r+m*s+v*c,t[5]=g*o+m*l+v*h,t[6]=y*i+_*a+x*u,t[7]=y*r+_*s+x*c,t[8]=y*o+_*l+x*h,t}};jX.mul=jX.multiply,jX.translate=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],h=e[8],d=n[0],p=n[1];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t[6]=d*i+p*a+u,t[7]=d*r+p*s+c,t[8]=d*o+p*l+h,t},jX.rotate=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],h=e[8],d=Math.sin(n),p=Math.cos(n);return t[0]=p*i+d*a,t[1]=p*r+d*s,t[2]=p*o+d*l,t[3]=p*a-d*i,t[4]=p*s-d*r,t[5]=p*l-d*o,t[6]=u,t[7]=c,t[8]=h,t},jX.scale=function(t,e,n){var i=n[0],r=n[1];return t[0]=i*e[0],t[1]=i*e[1],t[2]=i*e[2],t[3]=r*e[3],t[4]=r*e[4],t[5]=r*e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t},jX.fromMat2d=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=0,t[3]=e[2],t[4]=e[3],t[5]=0,t[6]=e[4],t[7]=e[5],t[8]=1,t},jX.fromQuat=function(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=n+n,s=i+i,l=r+r,u=n*a,c=i*a,h=i*s,d=r*a,p=r*s,f=r*l,g=o*a,m=o*s,v=o*l;return t[0]=1-h-f,t[3]=c-v,t[6]=d+m,t[1]=c+v,t[4]=1-u-f,t[7]=p-g,t[2]=d-m,t[5]=p+g,t[8]=1-u-h,t},jX.normalFromMat4=function(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],h=e[9],d=e[10],p=e[11],f=e[12],g=e[13],m=e[14],v=e[15],y=n*s-i*a,_=n*l-r*a,x=n*u-o*a,b=i*l-r*s,w=i*u-o*s,S=r*u-o*l,A=c*g-h*f,T=c*m-d*f,M=c*v-p*f,I=h*m-d*g,C=h*v-p*g,D=d*v-p*m,E=y*D-_*C+x*I+b*M-w*T+S*A;return E?(E=1/E,t[0]=(s*D-l*C+u*I)*E,t[1]=(l*M-a*D-u*T)*E,t[2]=(a*C-s*M+u*A)*E,t[3]=(r*C-i*D-o*I)*E,t[4]=(n*D-r*M+o*T)*E,t[5]=(i*M-n*C-o*A)*E,t[6]=(g*S-m*w+v*b)*E,t[7]=(m*x-f*S-v*_)*E,t[8]=(f*w-g*x+v*y)*E,t):null},jX.frob=function(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2)+Math.pow(t[2],2)+Math.pow(t[3],2)+Math.pow(t[4],2)+Math.pow(t[5],2)+Math.pow(t[6],2)+Math.pow(t[7],2)+Math.pow(t[8],2))};var YX,ZX,QX,qX,JX={};JX.create=function(){var t=new zW(4);return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},JX.rotationTo=(YX=yX.create(),ZX=yX.fromValues(1,0,0),QX=yX.fromValues(0,1,0),function(t,e,n){var i=yX.dot(e,n);return i<-.999999?(yX.cross(YX,ZX,e),yX.length(YX)<1e-6&&yX.cross(YX,QX,e),yX.normalize(YX,YX),JX.setAxisAngle(t,YX,Math.PI),t):i>.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):(yX.cross(YX,e,n),t[0]=YX[0],t[1]=YX[1],t[2]=YX[2],t[3]=1+i,JX.normalize(t,t))}),JX.setAxes=(qX=jX.create(),function(t,e,n,i){return qX[0]=n[0],qX[3]=n[1],qX[6]=n[2],qX[1]=i[0],qX[4]=i[1],qX[7]=i[2],qX[2]=-e[0],qX[5]=-e[1],qX[8]=-e[2],JX.normalize(t,JX.fromMat3(t,qX))}),JX.clone=XX.clone,JX.fromValues=XX.fromValues,JX.copy=XX.copy,JX.set=XX.set,JX.identity=function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},JX.setAxisAngle=function(t,e,n){n*=.5;var i=Math.sin(n);return t[0]=i*e[0],t[1]=i*e[1],t[2]=i*e[2],t[3]=Math.cos(n),t},JX.add=XX.add,JX.multiply=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=n[0],l=n[1],u=n[2],c=n[3];return t[0]=i*c+a*s+r*u-o*l,t[1]=r*c+a*l+o*s-i*u,t[2]=o*c+a*u+i*l-r*s,t[3]=a*c-i*s-r*l-o*u,t},JX.mul=JX.multiply,JX.scale=XX.scale,JX.rotateX=function(t,e,n){n*=.5;var i=e[0],r=e[1],o=e[2],a=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=i*l+a*s,t[1]=r*l+o*s,t[2]=o*l-r*s,t[3]=a*l-i*s,t},JX.rotateY=function(t,e,n){n*=.5;var i=e[0],r=e[1],o=e[2],a=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=i*l-o*s,t[1]=r*l+a*s,t[2]=o*l+i*s,t[3]=a*l-r*s,t},JX.rotateZ=function(t,e,n){n*=.5;var i=e[0],r=e[1],o=e[2],a=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=i*l+r*s,t[1]=r*l-i*s,t[2]=o*l+a*s,t[3]=a*l-o*s,t},JX.calculateW=function(t,e){var n=e[0],i=e[1],r=e[2];return t[0]=n,t[1]=i,t[2]=r,t[3]=Math.sqrt(Math.abs(1-n*n-i*i-r*r)),t},JX.dot=XX.dot,JX.lerp=XX.lerp,JX.slerp=function(t,e,n,i){var r,o,a,s,l,u=e[0],c=e[1],h=e[2],d=e[3],p=n[0],f=n[1],g=n[2],m=n[3];return(o=u*p+c*f+h*g+d*m)<0&&(o=-o,p=-p,f=-f,g=-g,m=-m),1-o>1e-6?(r=Math.acos(o),a=Math.sin(r),s=Math.sin((1-i)*r)/a,l=Math.sin(i*r)/a):(s=1-i,l=i),t[0]=s*u+l*p,t[1]=s*c+l*f,t[2]=s*h+l*g,t[3]=s*d+l*m,t},JX.invert=function(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=n*n+i*i+r*r+o*o,s=a?1/a:0;return t[0]=-n*s,t[1]=-i*s,t[2]=-r*s,t[3]=o*s,t},JX.conjugate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=e[3],t},JX.length=XX.length,JX.len=JX.length,JX.squaredLength=XX.squaredLength,JX.sqrLen=JX.squaredLength,JX.normalize=XX.normalize,JX.fromMat3=function(t,e){var n,i=e[0]+e[4]+e[8];if(i>0)n=Math.sqrt(i+1),t[3]=.5*n,n=.5/n,t[0]=(e[5]-e[7])*n,t[1]=(e[6]-e[2])*n,t[2]=(e[1]-e[3])*n;else{var r=0;e[4]>e[0]&&(r=1),e[8]>e[3*r+r]&&(r=2);var o=(r+1)%3,a=(r+2)%3;n=Math.sqrt(e[3*r+r]-e[3*o+o]-e[3*a+a]+1),t[r]=.5*n,n=.5/n,t[3]=(e[3*o+a]-e[3*a+o])*n,t[o]=(e[3*o+r]+e[3*r+o])*n,t[a]=(e[3*a+r]+e[3*r+a])*n}return t};var KX,$X,tj,ej,nj=function(){this._axisX=new LX,this._axisY=new LX,this._axisZ=new LX,this.array=vX.create(),this._dirty=!0};nj.prototype={constructor:nj,setArray:function(t){for(var e=0;e<this.array.length;e++)this.array[e]=t[e];return this._dirty=!0,this},adjoint:function(){return vX.adjoint(this.array,this.array),this._dirty=!0,this},clone:function(){return(new nj).copy(this)},copy:function(t){return vX.copy(this.array,t.array),this._dirty=!0,this},determinant:function(){return vX.determinant(this.array)},fromQuat:function(t){return vX.fromQuat(this.array,t.array),this._dirty=!0,this},fromRotationTranslation:function(t,e){return vX.fromRotationTranslation(this.array,t.array,e.array),this._dirty=!0,this},fromMat2d:function(t){return nj.fromMat2d(this,t),this},frustum:function(t,e,n,i,r,o){return vX.frustum(this.array,t,e,n,i,r,o),this._dirty=!0,this},identity:function(){return vX.identity(this.array),this._dirty=!0,this},invert:function(){return vX.invert(this.array,this.array),this._dirty=!0,this},lookAt:function(t,e,n){return vX.lookAt(this.array,t.array,e.array,n.array),this._dirty=!0,this},mul:function(t){return vX.mul(this.array,this.array,t.array),this._dirty=!0,this},mulLeft:function(t){return vX.mul(this.array,t.array,this.array),this._dirty=!0,this},multiply:function(t){return vX.multiply(this.array,this.array,t.array),this._dirty=!0,this},multiplyLeft:function(t){return vX.multiply(this.array,t.array,this.array),this._dirty=!0,this},ortho:function(t,e,n,i,r,o){return vX.ortho(this.array,t,e,n,i,r,o),this._dirty=!0,this},perspective:function(t,e,n,i){return vX.perspective(this.array,t,e,n,i),this._dirty=!0,this},rotate:function(t,e){return vX.rotate(this.array,this.array,t,e.array),this._dirty=!0,this},rotateX:function(t){return vX.rotateX(this.array,this.array,t),this._dirty=!0,this},rotateY:function(t){return vX.rotateY(this.array,this.array,t),this._dirty=!0,this},rotateZ:function(t){return vX.rotateZ(this.array,this.array,t),this._dirty=!0,this},scale:function(t){return vX.scale(this.array,this.array,t.array),this._dirty=!0,this},translate:function(t){return vX.translate(this.array,this.array,t.array),this._dirty=!0,this},transpose:function(){return vX.transpose(this.array,this.array),this._dirty=!0,this},decomposeMatrix:(KX=yX.create(),$X=yX.create(),tj=yX.create(),ej=jX.create(),function(t,e,n){var i=this.array;yX.set(KX,i[0],i[1],i[2]),yX.set($X,i[4],i[5],i[6]),yX.set(tj,i[8],i[9],i[10]);var r=yX.length(KX),o=yX.length($X),a=yX.length(tj);this.determinant()<0&&(r=-r),t&&t.set(r,o,a),n.set(i[12],i[13],i[14]),jX.fromMat4(ej,i),ej[0]/=r,ej[1]/=r,ej[2]/=r,ej[3]/=o,ej[4]/=o,ej[5]/=o,ej[6]/=a,ej[7]/=a,ej[8]/=a,JX.fromMat3(e.array,ej),JX.normalize(e.array,e.array),e._dirty=!0,n._dirty=!0}),toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}};var ij=Object.defineProperty;if(ij){var rj=nj.prototype;ij(rj,"z",{get:function(){var t=this.array;return this._axisZ.set(t[8],t[9],t[10]),this._axisZ},set:function(t){var e=this.array;t=t.array,e[8]=t[0],e[9]=t[1],e[10]=t[2],this._dirty=!0}}),ij(rj,"y",{get:function(){var t=this.array;return this._axisY.set(t[4],t[5],t[6]),this._axisY},set:function(t){var e=this.array;t=t.array,e[4]=t[0],e[5]=t[1],e[6]=t[2],this._dirty=!0}}),ij(rj,"x",{get:function(){var t=this.array;return this._axisX.set(t[0],t[1],t[2]),this._axisX},set:function(t){var e=this.array;t=t.array,e[0]=t[0],e[1]=t[1],e[2]=t[2],this._dirty=!0}})}nj.adjoint=function(t,e){return vX.adjoint(t.array,e.array),t._dirty=!0,t},nj.copy=function(t,e){return vX.copy(t.array,e.array),t._dirty=!0,t},nj.determinant=function(t){return vX.determinant(t.array)},nj.identity=function(t){return vX.identity(t.array),t._dirty=!0,t},nj.ortho=function(t,e,n,i,r,o,a){return vX.ortho(t.array,e,n,i,r,o,a),t._dirty=!0,t},nj.perspective=function(t,e,n,i,r){return vX.perspective(t.array,e,n,i,r),t._dirty=!0,t},nj.lookAt=function(t,e,n,i){return vX.lookAt(t.array,e.array,n.array,i.array),t._dirty=!0,t},nj.invert=function(t,e){return vX.invert(t.array,e.array),t._dirty=!0,t},nj.mul=function(t,e,n){return vX.mul(t.array,e.array,n.array),t._dirty=!0,t},nj.multiply=nj.mul,nj.fromQuat=function(t,e){return vX.fromQuat(t.array,e.array),t._dirty=!0,t},nj.fromRotationTranslation=function(t,e,n){return vX.fromRotationTranslation(t.array,e.array,n.array),t._dirty=!0,t},nj.fromMat2d=function(t,e){t._dirty=!0;e=e.array;return(t=t.array)[0]=e[0],t[4]=e[2],t[12]=e[4],t[1]=e[1],t[5]=e[3],t[13]=e[5],t},nj.rotate=function(t,e,n,i){return vX.rotate(t.array,e.array,n,i.array),t._dirty=!0,t},nj.rotateX=function(t,e,n){return vX.rotateX(t.array,e.array,n),t._dirty=!0,t},nj.rotateY=function(t,e,n){return vX.rotateY(t.array,e.array,n),t._dirty=!0,t},nj.rotateZ=function(t,e,n){return vX.rotateZ(t.array,e.array,n),t._dirty=!0,t},nj.scale=function(t,e,n){return vX.scale(t.array,e.array,n.array),t._dirty=!0,t},nj.transpose=function(t,e){return vX.transpose(t.array,e.array),t._dirty=!0,t},nj.translate=function(t,e,n){return vX.translate(t.array,e.array,n.array),t._dirty=!0,t};var oj=function(t,e,n,i){t=t||0,e=e||0,n=n||0,i=void 0===i?1:i,this.array=JX.fromValues(t,e,n,i),this._dirty=!0};oj.prototype={constructor:oj,add:function(t){return JX.add(this.array,this.array,t.array),this._dirty=!0,this},calculateW:function(){return JX.calculateW(this.array,this.array),this._dirty=!0,this},set:function(t,e,n,i){return this.array[0]=t,this.array[1]=e,this.array[2]=n,this.array[3]=i,this._dirty=!0,this},setArray:function(t){return this.array[0]=t[0],this.array[1]=t[1],this.array[2]=t[2],this.array[3]=t[3],this._dirty=!0,this},clone:function(){return new oj(this.x,this.y,this.z,this.w)},conjugate:function(){return JX.conjugate(this.array,this.array),this._dirty=!0,this},copy:function(t){return JX.copy(this.array,t.array),this._dirty=!0,this},dot:function(t){return JX.dot(this.array,t.array)},fromMat3:function(t){return JX.fromMat3(this.array,t.array),this._dirty=!0,this},fromMat4:function(){var t=jX.create();return function(e){return jX.fromMat4(t,e.array),jX.transpose(t,t),JX.fromMat3(this.array,t),this._dirty=!0,this}}(),identity:function(){return JX.identity(this.array),this._dirty=!0,this},invert:function(){return JX.invert(this.array,this.array),this._dirty=!0,this},len:function(){return JX.len(this.array)},length:function(){return JX.length(this.array)},lerp:function(t,e,n){return JX.lerp(this.array,t.array,e.array,n),this._dirty=!0,this},mul:function(t){return JX.mul(this.array,this.array,t.array),this._dirty=!0,this},mulLeft:function(t){return JX.multiply(this.array,t.array,this.array),this._dirty=!0,this},multiply:function(t){return JX.multiply(this.array,this.array,t.array),this._dirty=!0,this},multiplyLeft:function(t){return JX.multiply(this.array,t.array,this.array),this._dirty=!0,this},normalize:function(){return JX.normalize(this.array,this.array),this._dirty=!0,this},rotateX:function(t){return JX.rotateX(this.array,this.array,t),this._dirty=!0,this},rotateY:function(t){return JX.rotateY(this.array,this.array,t),this._dirty=!0,this},rotateZ:function(t){return JX.rotateZ(this.array,this.array,t),this._dirty=!0,this},rotationTo:function(t,e){return JX.rotationTo(this.array,t.array,e.array),this._dirty=!0,this},setAxes:function(t,e,n){return JX.setAxes(this.array,t.array,e.array,n.array),this._dirty=!0,this},setAxisAngle:function(t,e){return JX.setAxisAngle(this.array,t.array,e),this._dirty=!0,this},slerp:function(t,e,n){return JX.slerp(this.array,t.array,e.array,n),this._dirty=!0,this},sqrLen:function(){return JX.sqrLen(this.array)},squaredLength:function(){return JX.squaredLength(this.array)},fromEuler:function(t,e){return oj.fromEuler(this,t,e)},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}};var aj=Object.defineProperty;if(aj){var sj=oj.prototype;aj(sj,"x",{get:function(){return this.array[0]},set:function(t){this.array[0]=t,this._dirty=!0}}),aj(sj,"y",{get:function(){return this.array[1]},set:function(t){this.array[1]=t,this._dirty=!0}}),aj(sj,"z",{get:function(){return this.array[2]},set:function(t){this.array[2]=t,this._dirty=!0}}),aj(sj,"w",{get:function(){return this.array[3]},set:function(t){this.array[3]=t,this._dirty=!0}})}oj.add=function(t,e,n){return JX.add(t.array,e.array,n.array),t._dirty=!0,t},oj.set=function(t,e,n,i,r){JX.set(t.array,e,n,i,r),t._dirty=!0},oj.copy=function(t,e){return JX.copy(t.array,e.array),t._dirty=!0,t},oj.calculateW=function(t,e){return JX.calculateW(t.array,e.array),t._dirty=!0,t},oj.conjugate=function(t,e){return JX.conjugate(t.array,e.array),t._dirty=!0,t},oj.identity=function(t){return JX.identity(t.array),t._dirty=!0,t},oj.invert=function(t,e){return JX.invert(t.array,e.array),t._dirty=!0,t},oj.dot=function(t,e){return JX.dot(t.array,e.array)},oj.len=function(t){return JX.length(t.array)},oj.lerp=function(t,e,n,i){return JX.lerp(t.array,e.array,n.array,i),t._dirty=!0,t},oj.slerp=function(t,e,n,i){return JX.slerp(t.array,e.array,n.array,i),t._dirty=!0,t},oj.mul=function(t,e,n){return JX.multiply(t.array,e.array,n.array),t._dirty=!0,t},oj.multiply=oj.mul,oj.rotateX=function(t,e,n){return JX.rotateX(t.array,e.array,n),t._dirty=!0,t},oj.rotateY=function(t,e,n){return JX.rotateY(t.array,e.array,n),t._dirty=!0,t},oj.rotateZ=function(t,e,n){return JX.rotateZ(t.array,e.array,n),t._dirty=!0,t},oj.setAxisAngle=function(t,e,n){return JX.setAxisAngle(t.array,e.array,n),t._dirty=!0,t},oj.normalize=function(t,e){return JX.normalize(t.array,e.array),t._dirty=!0,t},oj.squaredLength=oj.sqrLen=function(t){return JX.sqrLen(t.array)},oj.fromMat3=function(t,e){return JX.fromMat3(t.array,e.array),t._dirty=!0,t},oj.setAxes=function(t,e,n,i){return JX.setAxes(t.array,e.array,n.array,i.array),t._dirty=!0,t},oj.rotationTo=function(t,e,n){return JX.rotationTo(t.array,e.array,n.array),t._dirty=!0,t},oj.fromEuler=function(t,e,n){t._dirty=!0,e=e.array;var i=t.array,r=Math.cos(e[0]/2),o=Math.cos(e[1]/2),a=Math.cos(e[2]/2),s=Math.sin(e[0]/2),l=Math.sin(e[1]/2),u=Math.sin(e[2]/2);switch(n=(n||"XYZ").toUpperCase()){case"XYZ":i[0]=s*o*a+r*l*u,i[1]=r*l*a-s*o*u,i[2]=r*o*u+s*l*a,i[3]=r*o*a-s*l*u;break;case"YXZ":i[0]=s*o*a+r*l*u,i[1]=r*l*a-s*o*u,i[2]=r*o*u-s*l*a,i[3]=r*o*a+s*l*u;break;case"ZXY":i[0]=s*o*a-r*l*u,i[1]=r*l*a+s*o*u,i[2]=r*o*u+s*l*a,i[3]=r*o*a-s*l*u;break;case"ZYX":i[0]=s*o*a-r*l*u,i[1]=r*l*a+s*o*u,i[2]=r*o*u-s*l*a,i[3]=r*o*a+s*l*u;break;case"YZX":i[0]=s*o*a+r*l*u,i[1]=r*l*a+s*o*u,i[2]=r*o*u-s*l*a,i[3]=r*o*a-s*l*u;break;case"XZY":i[0]=s*o*a-r*l*u,i[1]=r*l*a-s*o*u,i[2]=r*o*u+s*l*a,i[3]=r*o*a+s*l*u}};var lj,uj,cj,hj,dj,pj,fj=yX.set,gj=yX.copy,mj=function(t,e){this.min=t||new LX(1/0,1/0,1/0),this.max=e||new LX(-1/0,-1/0,-1/0),this.vertices=null};mj.prototype={constructor:mj,updateFromVertices:function(t){if(t.length>0){var e=this.min,n=this.max,i=e.array,r=n.array;gj(i,t[0]),gj(r,t[0]);for(var o=1;o<t.length;o++){var a=t[o];a[0]<i[0]&&(i[0]=a[0]),a[1]<i[1]&&(i[1]=a[1]),a[2]<i[2]&&(i[2]=a[2]),a[0]>r[0]&&(r[0]=a[0]),a[1]>r[1]&&(r[1]=a[1]),a[2]>r[2]&&(r[2]=a[2])}e._dirty=!0,n._dirty=!0}},union:function(t){var e=this.min,n=this.max;return yX.min(e.array,e.array,t.min.array),yX.max(n.array,n.array,t.max.array),e._dirty=!0,n._dirty=!0,this},intersection:function(t){var e=this.min,n=this.max;return yX.max(e.array,e.array,t.min.array),yX.min(n.array,n.array,t.max.array),e._dirty=!0,n._dirty=!0,this},intersectBoundingBox:function(t){var e=this.min.array,n=this.max.array,i=t.min.array,r=t.max.array;return!(e[0]>r[0]||e[1]>r[1]||e[2]>r[2]||n[0]<i[0]||n[1]<i[1]||n[2]<i[2])},containBoundingBox:function(t){var e=this.min.array,n=this.max.array,i=t.min.array,r=t.max.array;return e[0]<=i[0]&&e[1]<=i[1]&&e[2]<=i[2]&&n[0]>=r[0]&&n[1]>=r[1]&&n[2]>=r[2]},containPoint:function(t){var e=this.min.array,n=this.max.array,i=t.array;return e[0]<=i[0]&&e[1]<=i[1]&&e[2]<=i[2]&&n[0]>=i[0]&&n[1]>=i[1]&&n[2]>=i[2]},isFinite:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){var t=this.min.array,e=this.max.array;return isFinite(t[0])&&isFinite(t[1])&&isFinite(t[2])&&isFinite(e[0])&&isFinite(e[1])&&isFinite(e[2])})),applyTransform:function(t){this.transformFrom(this,t)},transformFrom:(lj=yX.create(),uj=yX.create(),cj=yX.create(),hj=yX.create(),dj=yX.create(),pj=yX.create(),function(t,e){var n=t.min.array,i=t.max.array,r=e.array;return lj[0]=r[0]*n[0],lj[1]=r[1]*n[0],lj[2]=r[2]*n[0],uj[0]=r[0]*i[0],uj[1]=r[1]*i[0],uj[2]=r[2]*i[0],cj[0]=r[4]*n[1],cj[1]=r[5]*n[1],cj[2]=r[6]*n[1],hj[0]=r[4]*i[1],hj[1]=r[5]*i[1],hj[2]=r[6]*i[1],dj[0]=r[8]*n[2],dj[1]=r[9]*n[2],dj[2]=r[10]*n[2],pj[0]=r[8]*i[2],pj[1]=r[9]*i[2],pj[2]=r[10]*i[2],n=this.min.array,i=this.max.array,n[0]=Math.min(lj[0],uj[0])+Math.min(cj[0],hj[0])+Math.min(dj[0],pj[0])+r[12],n[1]=Math.min(lj[1],uj[1])+Math.min(cj[1],hj[1])+Math.min(dj[1],pj[1])+r[13],n[2]=Math.min(lj[2],uj[2])+Math.min(cj[2],hj[2])+Math.min(dj[2],pj[2])+r[14],i[0]=Math.max(lj[0],uj[0])+Math.max(cj[0],hj[0])+Math.max(dj[0],pj[0])+r[12],i[1]=Math.max(lj[1],uj[1])+Math.max(cj[1],hj[1])+Math.max(dj[1],pj[1])+r[13],i[2]=Math.max(lj[2],uj[2])+Math.max(cj[2],hj[2])+Math.max(dj[2],pj[2])+r[14],this.min._dirty=!0,this.max._dirty=!0,this}),applyProjection:function(t){var e=this.min.array,n=this.max.array,i=t.array,r=e[0],o=e[1],a=e[2],s=n[0],l=n[1],u=e[2],c=n[0],h=n[1],d=n[2];if(1===i[15])e[0]=i[0]*r+i[12],e[1]=i[5]*o+i[13],n[2]=i[10]*a+i[14],n[0]=i[0]*c+i[12],n[1]=i[5]*h+i[13],e[2]=i[10]*d+i[14];else{var p=-1/a;e[0]=i[0]*r*p,e[1]=i[5]*o*p,n[2]=(i[10]*a+i[14])*p,p=-1/u,n[0]=i[0]*s*p,n[1]=i[5]*l*p,p=-1/d,e[2]=(i[10]*d+i[14])*p}return this.min._dirty=!0,this.max._dirty=!0,this},updateVertices:function(){var t=this.vertices;if(!t){t=[];for(var e=0;e<8;e++)t[e]=yX.fromValues(0,0,0);this.vertices=t}var n=this.min.array,i=this.max.array;return fj(t[0],n[0],n[1],n[2]),fj(t[1],n[0],i[1],n[2]),fj(t[2],i[0],n[1],n[2]),fj(t[3],i[0],i[1],n[2]),fj(t[4],n[0],n[1],i[2]),fj(t[5],n[0],i[1],i[2]),fj(t[6],i[0],n[1],i[2]),fj(t[7],i[0],i[1],i[2]),this},copy:function(t){var e=this.min,n=this.max;return gj(e.array,t.min.array),gj(n.array,t.max.array),e._dirty=!0,n._dirty=!0,this},clone:function(){var t=new mj;return t.copy(this),t}};var vj,yj,_j=0,xj=sW.extend({name:"",position:null,rotation:null,scale:null,worldTransform:null,localTransform:null,autoUpdateLocalTransform:!0,_parent:null,_scene:null,_needsUpdateWorldTransform:!0,_inIterating:!1,__depth:0},(function(){this.name||(this.name=(this.type||"NODE")+"_"+_j++),this.position||(this.position=new LX),this.rotation||(this.rotation=new oj),this.scale||(this.scale=new LX(1,1,1)),this.worldTransform=new nj,this.localTransform=new nj,this._children=[]}),{target:null,invisible:!1,isSkinnedMesh:function(){return!1},isRenderable:function(){return!1},setName:function(t){var e=this._scene;if(e){var n=e._nodeRepository;delete n[this.name],n[t]=this}this.name=t},add:function(t){var e=t._parent;if(e!==this){e&&e.remove(t),t._parent=this,this._children.push(t);var n=this._scene;n&&n!==t.scene&&t.traverse(this._addSelfToScene,this),t._needsUpdateWorldTransform=!0}},remove:function(t){var e=this._children,n=e.indexOf(t);n<0||(e.splice(n,1),t._parent=null,this._scene&&t.traverse(this._removeSelfFromScene,this))},removeAll:function(){for(var t=this._children,e=0;e<t.length;e++)t[e]._parent=null,this._scene&&t[e].traverse(this._removeSelfFromScene,this);this._children=[]},getScene:function(){return this._scene},getParent:function(){return this._parent},_removeSelfFromScene:function(t){t._scene.removeFromScene(t),t._scene=null},_addSelfToScene:function(t){this._scene.addToScene(t),t._scene=this._scene},isAncestor:function(t){for(var e=t._parent;e;){if(e===this)return!0;e=e._parent}return!1},children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},getChildByName:function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},getDescendantByName:function(t){for(var e=this._children,n=0;n<e.length;n++){var i=e[n];if(i.name===t)return i;var r=i.getDescendantByName(t);if(r)return r}},queryNode:function(t){if(t){for(var e=t.split("/"),n=this,i=0;i<e.length;i++){var r=e[i];if(r){for(var o=!1,a=n._children,s=0;s<a.length;s++){var l=a[s];if(l.name===r){n=l,o=!0;break}}if(!o)return}}return n}},getPath:function(t){if(!this._parent)return"/";for(var e=this._parent,n=this.name;e._parent&&(n=e.name+"/"+n,e._parent!=t);)e=e._parent;return!e._parent&&t?null:n},traverse:function(t,e){t.call(e,this);for(var n=this._children,i=0,r=n.length;i<r;i++)n[i].traverse(t,e)},eachChild:function(t,e){for(var n=this._children,i=0,r=n.length;i<r;i++){var o=n[i];t.call(e,o,i)}},setLocalTransform:function(t){vX.copy(this.localTransform.array,t.array),this.decomposeLocalTransform()},decomposeLocalTransform:function(t){var e=t?null:this.scale;this.localTransform.decomposeMatrix(e,this.rotation,this.position)},setWorldTransform:function(t){vX.copy(this.worldTransform.array,t.array),this.decomposeWorldTransform()},decomposeWorldTransform:(vj=vX.create(),function(t){var e=this.localTransform,n=this.worldTransform;this._parent?(vX.invert(vj,this._parent.worldTransform.array),vX.multiply(e.array,vj,n.array)):vX.copy(e.array,n.array);var i=t?null:this.scale;e.decomposeMatrix(i,this.rotation,this.position)}),transformNeedsUpdate:function(){return this.position._dirty||this.rotation._dirty||this.scale._dirty},updateLocalTransform:function(){var t=this.position,e=this.rotation,n=this.scale;if(this.transformNeedsUpdate()){var i=this.localTransform.array;vX.fromRotationTranslation(i,e.array,t.array),vX.scale(i,i,n.array),e._dirty=!1,n._dirty=!1,t._dirty=!1,this._needsUpdateWorldTransform=!0}},_updateWorldTransformTopDown:function(){var t=this.localTransform.array,e=this.worldTransform.array;this._parent?vX.multiplyAffine(e,this._parent.worldTransform.array,t):vX.copy(e,t)},updateWorldTransform:function(){for(var t=this;t&&t.getParent()&&t.getParent().transformNeedsUpdate();)t=t.getParent();t.update()},update:function(t){this.autoUpdateLocalTransform?this.updateLocalTransform():t=!0,(t||this._needsUpdateWorldTransform)&&(this._updateWorldTransformTopDown(),t=!0,this._needsUpdateWorldTransform=!1);for(var e=this._children,n=0,i=e.length;n<i;n++)e[n].update(t)},getBoundingBox:function(){function t(t){return!t.invisible&&t.geometry}var e=new mj,n=new nj,i=new nj;return function(r,o){return o=o||new mj,this._parent?nj.invert(i,this._parent.worldTransform):nj.identity(i),this.traverse((function(t){t.geometry&&t.geometry.boundingBox&&(e.copy(t.geometry.boundingBox),nj.multiply(n,i,t.worldTransform),e.applyTransform(n),o.union(e))}),this,t),o}}(),getWorldPosition:function(t){this.transformNeedsUpdate()&&this.updateWorldTransform();var e=this.worldTransform.array;if(t){var n=t.array;return n[0]=e[12],n[1]=e[13],n[2]=e[14],t}return new LX(e[12],e[13],e[14])},clone:function(){var t=new this.constructor,e=this._children;t.setName(this.name),t.position.copy(this.position),t.rotation.copy(this.rotation),t.scale.copy(this.scale);for(var n=0;n<e.length;n++)t.add(e[n].clone());return t},rotateAround:function(){var t=new LX,e=new nj;return function(n,i,r){t.copy(this.position).subtract(n);var o=this.localTransform;o.identity(),o.translate(n),o.rotate(r,i),e.fromRotationTranslation(this.rotation,t),o.multiply(e),o.scale(this.scale),this.decomposeLocalTransform(),this._needsUpdateWorldTransform=!0}}(),lookAt:function(){var t=new nj;return function(e,n){t.lookAt(this.position,e,n||this.localTransform.y).invert(),this.setLocalTransform(t),this.target=e}}()}),bj=xj.extend({material:null,geometry:null,mode:hW.TRIANGLES,_renderInfo:null},{__program:null,lightGroup:0,renderOrder:0,culling:!0,cullFace:hW.BACK,frontFace:hW.CCW,frustumCulling:!0,receiveShadow:!0,castShadow:!0,ignorePicking:!1,ignorePreZ:!1,ignoreGBuffer:!1,isRenderable:function(){return this.geometry&&this.material&&this.material.shader&&!this.invisible&&this.geometry.vertexCount>0},beforeRender:function(t){},afterRender:function(t,e){},getBoundingBox:function(t,e){return e=xj.prototype.getBoundingBox.call(this,t,e),this.geometry&&this.geometry.boundingBox&&e.union(this.geometry.boundingBox),e},clone:(yj=["castShadow","receiveShadow","mode","culling","cullFace","frontFace","frustumCulling","renderOrder","lineWidth","ignorePicking","ignorePreZ","ignoreGBuffer"],function(){var t=xj.prototype.clone.call(this);t.geometry=this.geometry,t.material=this.material;for(var e=0;e<yj.length;e++){var n=yj[e];t[n]!==this[n]&&(t[n]=this[n])}return t})});bj.POINTS=hW.POINTS,bj.LINES=hW.LINES,bj.LINE_LOOP=hW.LINE_LOOP,bj.LINE_STRIP=hW.LINE_STRIP,bj.TRIANGLES=hW.TRIANGLES,bj.TRIANGLE_STRIP=hW.TRIANGLE_STRIP,bj.TRIANGLE_FAN=hW.TRIANGLE_FAN,bj.BACK=hW.BACK,bj.FRONT=hW.FRONT,bj.FRONT_AND_BACK=hW.FRONT_AND_BACK,bj.CW=hW.CW,bj.CCW=hW.CCW;var wj=sW.extend({scene:null,camera:null,renderer:null},(function(){this._ray=new WX,this._ndc=new GW}),{pick:function(t,e,n){return this.pickAll(t,e,[],n)[0]||null},pickAll:function(t,e,n,i){return this.renderer.screenToNDC(t,e,this._ndc),this.camera.castRay(this._ndc,this._ray),n=n||[],this._intersectNode(this.scene,n,i||!1),n.sort(this._intersectionCompareFunc),n},_intersectNode:function(t,e,n){t instanceof bj&&t.isRenderable()&&(t.ignorePicking&&!n||!(t.mode===hW.TRIANGLES&&t.geometry.isUseIndices()||t.geometry.pickByRay||t.geometry.pick)||this._intersectRenderable(t,e));for(var i=0;i<t._children.length;i++)this._intersectNode(t._children[i],e,n)},_intersectRenderable:function(){var t=new LX,e=new LX,n=new LX,i=new WX,r=new nj;return function(o,a){var s=o.isSkinnedMesh();i.copy(this._ray),nj.invert(r,o.worldTransform),s||i.applyTransform(r);var l=o.geometry,u=s?o.skeleton.boundingBox:l.boundingBox;if(!u||i.intersectBoundingBox(u))if(l.pick)l.pick(this._ndc.x,this._ndc.y,this.renderer,this.camera,o,a);else if(l.pickByRay)l.pickByRay(i,o,a);else{var c,h,d=o.cullFace===hW.BACK&&o.frontFace===hW.CCW||o.cullFace===hW.FRONT&&o.frontFace===hW.CW,p=l.indices,f=l.attributes.position,g=l.attributes.weight,m=l.attributes.joint,v=[];if(f&&f.value&&p){if(s){h=o.skeleton.getSubSkinMatrices(o.__uid__,o.joints);for(var y=0;y<o.joints.length;y++){v[y]=v[y]||[];for(var _=0;_<16;_++)v[y][_]=h[16*y+_]}var x=[],b=[],w=[],S=[],A=[],T=l.attributes.skinnedPosition;T&&T.value||(l.createAttribute("skinnedPosition","f",3),(T=l.attributes.skinnedPosition).init(l.vertexCount));for(y=0;y<l.vertexCount;y++){f.get(y,x),g.get(y,b),m.get(y,w),b[3]=1-b[0]-b[1]-b[2],yX.set(S,0,0,0);for(_=0;_<4;_++)w[_]>=0&&b[_]>1e-4&&(yX.transformMat4(A,x,v[w[_]]),yX.scaleAndAdd(S,S,A,b[_]));T.set(y,S)}}for(y=0;y<p.length;y+=3){var M=p[y],I=p[y+1],C=p[y+2],D=s?l.attributes.skinnedPosition:f;if(D.get(M,t.array),D.get(I,e.array),D.get(C,n.array),c=d?i.intersectTriangle(t,e,n,o.culling):i.intersectTriangle(t,n,e,o.culling)){var E=new LX;s?LX.copy(E,c):LX.transformMat4(E,c,o.worldTransform),a.push(new wj.Intersection(c,E,o,[M,I,C],y/3,LX.dist(E,this._ray.origin)))}}}}}}(),_intersectionCompareFunc:function(t,e){return t.distance-e.distance}});wj.Intersection=function(t,e,n,i,r,o){this.point=t,this.pointWorld=e,this.target=n,this.triangle=i,this.triangleIndex=r,this.distance=o};var Sj="__dt__",Aj=function(){this._contextId=0,this._caches=[],this._context={}};Aj.prototype={use:function(t,e){var n=this._caches;n[t]||(n[t]={},e&&(n[t]=e())),this._contextId=t,this._context=n[t]},put:function(t,e){this._context[t]=e},get:function(t){return this._context[t]},dirty:function(t){var e=Sj+(t=t||"");this.put(e,!0)},dirtyAll:function(t){for(var e=Sj+(t=t||""),n=this._caches,i=0;i<n.length;i++)n[i]&&(n[i][e]=!0)},fresh:function(t){var e=Sj+(t=t||"");this.put(e,!1)},freshAll:function(t){for(var e=Sj+(t=t||""),n=this._caches,i=0;i<n.length;i++)n[i]&&(n[i][e]=!1)},isDirty:function(t){var e=Sj+(t=t||""),n=this._context;return!n.hasOwnProperty(e)||!0===n[e]},deleteContext:function(t){delete this._caches[t],this._context={}},delete:function(t){delete this._context[t]},clearAll:function(){this._caches={}},getContext:function(){return this._context},eachContext:function(t,e){Object.keys(this._caches).forEach((function(n){t&&t.call(e,n)}))},miss:function(t){return!this._context.hasOwnProperty(t)}},Aj.prototype.constructor=Aj;var Tj=sW.extend({width:512,height:512,type:hW.UNSIGNED_BYTE,format:hW.RGBA,wrapS:hW.REPEAT,wrapT:hW.REPEAT,minFilter:hW.LINEAR_MIPMAP_LINEAR,magFilter:hW.LINEAR,useMipmap:!0,anisotropic:1,flipY:!0,sRGB:!0,unpackAlignment:4,premultiplyAlpha:!1,dynamic:!1,NPOT:!1,__used:0},(function(){this._cache=new Aj}),{getWebGLTexture:function(t){var e=t.gl,n=this._cache;return n.use(t.__uid__),n.miss("webgl_texture")&&n.put("webgl_texture",e.createTexture()),this.dynamic?this.update(t):n.isDirty()&&(this.update(t),n.fresh()),n.get("webgl_texture")},bind:function(){},unbind:function(){},dirty:function(){this._cache&&this._cache.dirtyAll()},update:function(t){},updateCommon:function(t){var e=t.gl;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,this.flipY),e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,this.premultiplyAlpha),e.pixelStorei(e.UNPACK_ALIGNMENT,this.unpackAlignment),this.format===hW.DEPTH_COMPONENT&&(this.useMipmap=!1);var n=t.getGLExtension("EXT_sRGB");this.format!==Tj.SRGB||n||(this.format=Tj.RGB),this.format!==Tj.SRGB_ALPHA||n||(this.format=Tj.RGBA),this.NPOT=!this.isPowerOfTwo()},getAvailableWrapS:function(){return this.NPOT?hW.CLAMP_TO_EDGE:this.wrapS},getAvailableWrapT:function(){return this.NPOT?hW.CLAMP_TO_EDGE:this.wrapT},getAvailableMinFilter:function(){var t=this.minFilter;return this.NPOT||!this.useMipmap?t===hW.NEAREST_MIPMAP_NEAREST||t===hW.NEAREST_MIPMAP_LINEAR?hW.NEAREST:t===hW.LINEAR_MIPMAP_LINEAR||t===hW.LINEAR_MIPMAP_NEAREST?hW.LINEAR:t:t},getAvailableMagFilter:function(){return this.magFilter},nextHighestPowerOfTwo:function(t){--t;for(var e=1;e<32;e<<=1)t|=t>>e;return t+1},dispose:function(t){var e=this._cache;e.use(t.__uid__);var n=e.get("webgl_texture");n&&t.gl.deleteTexture(n),e.deleteContext(t.__uid__)},isRenderable:function(){},isPowerOfTwo:function(){}});Object.defineProperty(Tj.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t}}),Object.defineProperty(Tj.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t}}),Tj.BYTE=hW.BYTE,Tj.UNSIGNED_BYTE=hW.UNSIGNED_BYTE,Tj.SHORT=hW.SHORT,Tj.UNSIGNED_SHORT=hW.UNSIGNED_SHORT,Tj.INT=hW.INT,Tj.UNSIGNED_INT=hW.UNSIGNED_INT,Tj.FLOAT=hW.FLOAT,Tj.HALF_FLOAT=36193,Tj.UNSIGNED_INT_24_8_WEBGL=34042,Tj.DEPTH_COMPONENT=hW.DEPTH_COMPONENT,Tj.DEPTH_STENCIL=hW.DEPTH_STENCIL,Tj.ALPHA=hW.ALPHA,Tj.RGB=hW.RGB,Tj.RGBA=hW.RGBA,Tj.LUMINANCE=hW.LUMINANCE,Tj.LUMINANCE_ALPHA=hW.LUMINANCE_ALPHA,Tj.SRGB=35904,Tj.SRGB_ALPHA=35906,Tj.COMPRESSED_RGB_S3TC_DXT1_EXT=33776,Tj.COMPRESSED_RGBA_S3TC_DXT1_EXT=33777,Tj.COMPRESSED_RGBA_S3TC_DXT3_EXT=33778,Tj.COMPRESSED_RGBA_S3TC_DXT5_EXT=33779,Tj.NEAREST=hW.NEAREST,Tj.LINEAR=hW.LINEAR,Tj.NEAREST_MIPMAP_NEAREST=hW.NEAREST_MIPMAP_NEAREST,Tj.LINEAR_MIPMAP_NEAREST=hW.LINEAR_MIPMAP_NEAREST,Tj.NEAREST_MIPMAP_LINEAR=hW.NEAREST_MIPMAP_LINEAR,Tj.LINEAR_MIPMAP_LINEAR=hW.LINEAR_MIPMAP_LINEAR,Tj.REPEAT=hW.REPEAT,Tj.CLAMP_TO_EDGE=hW.CLAMP_TO_EDGE,Tj.MIRRORED_REPEAT=hW.MIRRORED_REPEAT;var Mj=bj.extend({skeleton:null,joints:null},(function(){this.joints||(this.joints=[])}),{offsetMatrix:null,isInstancedMesh:function(){return!1},isSkinnedMesh:function(){return!!(this.skeleton&&this.joints&&this.joints.length>0)},clone:function(){var t=bj.prototype.clone.call(this);return t.skeleton=this.skeleton,this.joints&&(t.joints=this.joints.slice()),t}});Mj.POINTS=hW.POINTS,Mj.LINES=hW.LINES,Mj.LINE_LOOP=hW.LINE_LOOP,Mj.LINE_STRIP=hW.LINE_STRIP,Mj.TRIANGLES=hW.TRIANGLES,Mj.TRIANGLE_STRIP=hW.TRIANGLE_STRIP,Mj.TRIANGLE_FAN=hW.TRIANGLE_FAN,Mj.BACK=hW.BACK,Mj.FRONT=hW.FRONT,Mj.FRONT_AND_BACK=hW.FRONT_AND_BACK,Mj.CW=hW.CW,Mj.CCW=hW.CCW;var Ij={isPowerOfTwo:function(t){return!(t&t-1)},nextPowerOfTwo:function(t){return t--,t|=t>>1,t|=t>>2,t|=t>>4,t|=t>>8,t|=t>>16,++t},nearestPowerOfTwo:function(t){return Math.pow(2,Math.round(Math.log(t)/Math.LN2))}},Cj=Ij.isPowerOfTwo;function Dj(t){return Math.pow(2,Math.round(Math.log(t)/Math.LN2))}var Ej=Tj.extend((function(){return{image:null,pixels:null,mipmaps:[],convertToPOT:!1}}),{textureType:"texture2D",update:function(t){var e=t.gl;e.bindTexture(e.TEXTURE_2D,this._cache.get("webgl_texture")),this.updateCommon(t);var n=this.format,i=this.type,r=!(!this.convertToPOT||this.mipmaps.length||!this.image||this.wrapS!==Tj.REPEAT&&this.wrapT!==Tj.REPEAT||!this.NPOT);e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,r?this.wrapS:this.getAvailableWrapS()),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,r?this.wrapT:this.getAvailableWrapT()),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,r?this.magFilter:this.getAvailableMagFilter()),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,r?this.minFilter:this.getAvailableMinFilter());var o=t.getGLExtension("EXT_texture_filter_anisotropic");(o&&this.anisotropic>1&&e.texParameterf(e.TEXTURE_2D,o.TEXTURE_MAX_ANISOTROPY_EXT,this.anisotropic),36193===i)&&(t.getGLExtension("OES_texture_half_float")||(i=hW.FLOAT));if(this.mipmaps.length)for(var a=this.width,s=this.height,l=0;l<this.mipmaps.length;l++){var u=this.mipmaps[l];this._updateTextureData(e,u,l,a,s,n,i,!1),a/=2,s/=2}else this._updateTextureData(e,this,0,this.width,this.height,n,i,r),!this.useMipmap||this.NPOT&&!r||e.generateMipmap(e.TEXTURE_2D);e.bindTexture(e.TEXTURE_2D,null)},_updateTextureData:function(t,e,n,i,r,o,a,s){if(e.image){var l=e.image;s&&(this._potCanvas=function(t,e){var n=Dj(t.width),i=Dj(t.height);return(e=e||document.createElement("canvas")).width=n,e.height=i,e.getContext("2d").drawImage(t.image,0,0,n,i),e}(this,this._potCanvas),l=this._potCanvas),t.texImage2D(t.TEXTURE_2D,n,o,o,a,l)}else o<=Tj.COMPRESSED_RGBA_S3TC_DXT5_EXT&&o>=Tj.COMPRESSED_RGB_S3TC_DXT1_EXT?t.compressedTexImage2D(t.TEXTURE_2D,n,o,i,r,0,e.pixels):t.texImage2D(t.TEXTURE_2D,n,o,i,r,0,o,a,e.pixels)},generateMipmap:function(t){var e=t.gl;this.useMipmap&&!this.NPOT&&(e.bindTexture(e.TEXTURE_2D,this._cache.get("webgl_texture")),e.generateMipmap(e.TEXTURE_2D))},isPowerOfTwo:function(){return Cj(this.width)&&Cj(this.height)},isRenderable:function(){return this.image?this.image.width>0&&this.image.height>0:!(!this.width||!this.height)},bind:function(t){t.gl.bindTexture(t.gl.TEXTURE_2D,this.getWebGLTexture(t))},unbind:function(t){t.gl.bindTexture(t.gl.TEXTURE_2D,null)},load:function(t,e){var n=fW.createImage();e&&(n.crossOrigin=e);var i=this;return n.onload=function(){i.dirty(),i.trigger("success",i)},n.onerror=function(){i.trigger("error",i)},n.src=t,this.image=n,this}});function Lj(t){return{byte:fW.Int8Array,ubyte:fW.Uint8Array,short:fW.Int16Array,ushort:fW.Uint16Array}[t]||fW.Float32Array}function Pj(t){return"attr_"+t}function Rj(t,e,n,i){switch(this.name=t,this.type=e,this.size=n,this.semantic=i||"",this.value=null,n){case 1:this.get=function(t){return this.value[t]},this.set=function(t,e){this.value[t]=e},this.copy=function(t,e){this.value[t]=this.value[t]};break;case 2:this.get=function(t,e){var n=this.value;return e[0]=n[2*t],e[1]=n[2*t+1],e},this.set=function(t,e){var n=this.value;n[2*t]=e[0],n[2*t+1]=e[1]},this.copy=function(t,e){var n=this.value;e*=2,n[t*=2]=n[e],n[t+1]=n[e+1]};break;case 3:this.get=function(t,e){var n=3*t,i=this.value;return e[0]=i[n],e[1]=i[n+1],e[2]=i[n+2],e},this.set=function(t,e){var n=3*t,i=this.value;i[n]=e[0],i[n+1]=e[1],i[n+2]=e[2]},this.copy=function(t,e){var n=this.value;e*=3,n[t*=3]=n[e],n[t+1]=n[e+1],n[t+2]=n[e+2]};break;case 4:this.get=function(t,e){var n=this.value,i=4*t;return e[0]=n[i],e[1]=n[i+1],e[2]=n[i+2],e[3]=n[i+3],e},this.set=function(t,e){var n=this.value,i=4*t;n[i]=e[0],n[i+1]=e[1],n[i+2]=e[2],n[i+3]=e[3]},this.copy=function(t,e){var n=this.value;e*=4,n[t*=4]=n[e],n[t+1]=n[e+1],n[t+2]=n[e+2],n[t+3]=n[e+3]}}}function Nj(t,e,n,i,r){this.name=t,this.type=e,this.buffer=n,this.size=i,this.semantic=r,this.symbol="",this.needsRemove=!1}function kj(t){this.buffer=t,this.count=0}Object.defineProperty(Ej.prototype,"width",{get:function(){return this.image?this.image.width:this._width},set:function(t){this.image?console.warn("Texture from image can't set width"):(this._width!==t&&this.dirty(),this._width=t)}}),Object.defineProperty(Ej.prototype,"height",{get:function(){return this.image?this.image.height:this._height},set:function(t){this.image?console.warn("Texture from image can't set height"):(this._height!==t&&this.dirty(),this._height=t)}}),Rj.prototype.init=function(t){if(!this.value||this.value.length!==t*this.size){var e=Lj(this.type);this.value=new e(t*this.size)}},Rj.prototype.fromArray=function(t){var e,n=Lj(this.type);if(t[0]&&t[0].length){var i=0,r=this.size;e=new n(t.length*r);for(var o=0;o<t.length;o++)for(var a=0;a<r;a++)e[i++]=t[o][a]}else e=new n(t);this.value=e},Rj.prototype.clone=function(t){var e=new Rj(this.name,this.type,this.size,this.semantic);return t&&console.warn("todo"),e};var Oj=sW.extend((function(){return{attributes:{},indices:null,dynamic:!0,_enabledAttributes:null,__used:0}}),(function(){this._cache=new Aj,this._attributeList=Object.keys(this.attributes),this.__vaoCache={}}),{mainAttribute:"",pick:null,pickByRay:null,dirty:function(){for(var t=this.getEnabledAttributes(),e=0;e<t.length;e++)this.dirtyAttribute(t[e]);this.dirtyIndices(),this._enabledAttributes=null,this._cache.dirty("any")},dirtyIndices:function(){this._cache.dirtyAll("indices")},dirtyAttribute:function(t){this._cache.dirtyAll(Pj(t)),this._cache.dirtyAll("attributes")},getTriangleIndices:function(t,e){if(t<this.triangleCount&&t>=0){e||(e=[]);var n=this.indices;return e[0]=n[3*t],e[1]=n[3*t+1],e[2]=n[3*t+2],e}},setTriangleIndices:function(t,e){var n=this.indices;n[3*t]=e[0],n[3*t+1]=e[1],n[3*t+2]=e[2]},isUseIndices:function(){return!!this.indices},initIndicesFromArray:function(t){var e,n=this.vertexCount>65535?fW.Uint32Array:fW.Uint16Array;if(t[0]&&t[0].length){var i=0;e=new n(3*t.length);for(var r=0;r<t.length;r++)for(var o=0;o<3;o++)e[i++]=t[r][o]}else e=new n(t);this.indices=e},createAttribute:function(t,e,n,i){var r=new Rj(t,e,n,i);return this.attributes[t]&&this.removeAttribute(t),this.attributes[t]=r,this._attributeList.push(t),r},removeAttribute:function(t){var e=this._attributeList,n=e.indexOf(t);return n>=0&&(e.splice(n,1),delete this.attributes[t],!0)},getAttribute:function(t){return this.attributes[t]},getEnabledAttributes:function(){var t=this._enabledAttributes,e=this._attributeList;if(t)return t;for(var n=[],i=this.vertexCount,r=0;r<e.length;r++){var o=e[r],a=this.attributes[o];a.value&&a.value.length===i*a.size&&n.push(o)}return this._enabledAttributes=n,n},getBufferChunks:function(t){var e=this._cache;e.use(t.__uid__);var n=e.isDirty("attributes"),i=e.isDirty("indices");if(n||i){this._updateBuffer(t.gl,n,i);for(var r=this.getEnabledAttributes(),o=0;o<r.length;o++)e.fresh(Pj(r[o]));e.fresh("attributes"),e.fresh("indices")}return e.fresh("any"),e.get("chunks")},_updateBuffer:function(t,e,n){var i=this._cache,r=i.get("chunks"),o=!1;r||((r=[])[0]={attributeBuffers:[],indicesBuffer:null},i.put("chunks",r),o=!0);var a=r[0],s=a.attributeBuffers,l=a.indicesBuffer;if(e||o){var u=this.getEnabledAttributes(),c={};if(!o)for(var h=0;h<s.length;h++)c[s[h].name]=s[h];for(var d=0;d<u.length;d++){var p,f,g=u[d],m=this.attributes[g];o||(p=c[g]),f=p?p.buffer:t.createBuffer(),i.isDirty(Pj(g))&&(t.bindBuffer(t.ARRAY_BUFFER,f),t.bufferData(t.ARRAY_BUFFER,m.value,this.dynamic?t.DYNAMIC_DRAW:t.STATIC_DRAW)),s[d]=new Nj(g,m.type,f,m.size,m.semantic)}for(h=d;h<s.length;h++)t.deleteBuffer(s[h].buffer);s.length=d}this.isUseIndices()&&(n||o)&&(l||(l=new kj(t.createBuffer()),a.indicesBuffer=l),l.count=this.indices.length,t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,l.buffer),t.bufferData(t.ELEMENT_ARRAY_BUFFER,this.indices,this.dynamic?t.DYNAMIC_DRAW:t.STATIC_DRAW))},dispose:function(t){var e=this._cache;e.use(t.__uid__);var n=e.get("chunks");if(n)for(var i=0;i<n.length;i++){for(var r=n[i],o=0;o<r.attributeBuffers.length;o++){var a=r.attributeBuffers[o];t.gl.deleteBuffer(a.buffer)}r.indicesBuffer&&t.gl.deleteBuffer(r.indicesBuffer.buffer)}if(this.__vaoCache){var s=t.getGLExtension("OES_vertex_array_object");for(var l in this.__vaoCache){var u=this.__vaoCache[l].vao;u&&s.deleteVertexArrayOES(u)}}this.__vaoCache={},e.deleteContext(t.__uid__)}});Object.defineProperty&&(Object.defineProperty(Oj.prototype,"vertexCount",{enumerable:!1,get:function(){var t=this.attributes[this.mainAttribute];return t||(t=this.attributes[this._attributeList[0]]),t&&t.value?t.value.length/t.size:0}}),Object.defineProperty(Oj.prototype,"triangleCount",{enumerable:!1,get:function(){var t=this.indices;return t?t.length/3:0}})),Oj.STATIC_DRAW=hW.STATIC_DRAW,Oj.DYNAMIC_DRAW=hW.DYNAMIC_DRAW,Oj.STREAM_DRAW=hW.STREAM_DRAW,Oj.AttributeBuffer=Nj,Oj.IndicesBuffer=kj,Oj.Attribute=Rj;var Bj=yX.create,zj=yX.add,Fj=yX.set,Vj=Oj.Attribute,Gj=Oj.extend((function(){return{attributes:{position:new Vj("position","float",3,"POSITION"),texcoord0:new Vj("texcoord0","float",2,"TEXCOORD_0"),texcoord1:new Vj("texcoord1","float",2,"TEXCOORD_1"),normal:new Vj("normal","float",3,"NORMAL"),tangent:new Vj("tangent","float",4,"TANGENT"),color:new Vj("color","float",4,"COLOR"),weight:new Vj("weight","float",3,"WEIGHT"),joint:new Vj("joint","float",4,"JOINT"),barycentric:new Vj("barycentric","float",3,null)},boundingBox:null}}),{mainAttribute:"position",updateBoundingBox:function(){var t=this.boundingBox;t||(t=this.boundingBox=new mj);var e=this.attributes.position.value;if(e&&e.length){var n=t.min,i=t.max,r=n.array,o=i.array;yX.set(r,e[0],e[1],e[2]),yX.set(o,e[0],e[1],e[2]);for(var a=3;a<e.length;){var s=e[a++],l=e[a++],u=e[a++];s<r[0]&&(r[0]=s),l<r[1]&&(r[1]=l),u<r[2]&&(r[2]=u),s>o[0]&&(o[0]=s),l>o[1]&&(o[1]=l),u>o[2]&&(o[2]=u)}n._dirty=!0,i._dirty=!0}},generateVertexNormals:function(){if(this.vertexCount){var t=this.indices,e=this.attributes,n=e.position.value,i=e.normal.value;if(i&&i.length===n.length)for(var r=0;r<i.length;r++)i[r]=0;else i=e.normal.value=new fW.Float32Array(n.length);for(var o,a,s,l=Bj(),u=Bj(),c=Bj(),h=Bj(),d=Bj(),p=Bj(),f=t?t.length:this.vertexCount,g=0;g<f;){t?(o=t[g++],a=t[g++],s=t[g++]):(o=g++,a=g++,s=g++),Fj(l,n[3*o],n[3*o+1],n[3*o+2]),Fj(u,n[3*a],n[3*a+1],n[3*a+2]),Fj(c,n[3*s],n[3*s+1],n[3*s+2]),yX.sub(h,l,u),yX.sub(d,u,c),yX.cross(p,h,d);for(r=0;r<3;r++)i[3*o+r]=i[3*o+r]+p[r],i[3*a+r]=i[3*a+r]+p[r],i[3*s+r]=i[3*s+r]+p[r]}for(r=0;r<i.length;)Fj(p,i[r],i[r+1],i[r+2]),yX.normalize(p,p),i[r++]=p[0],i[r++]=p[1],i[r++]=p[2];this.dirty()}},generateFaceNormals:function(){if(this.vertexCount){this.isUniqueVertex()||this.generateUniqueVertex();var t=this.indices,e=this.attributes,n=e.position.value,i=e.normal.value,r=Bj(),o=Bj(),a=Bj(),s=Bj(),l=Bj(),u=Bj();i||(i=e.normal.value=new Float32Array(n.length));for(var c,h,d,p=t?t.length:this.vertexCount,f=0;f<p;){t?(c=t[f++],h=t[f++],d=t[f++]):(c=f++,h=f++,d=f++),Fj(r,n[3*c],n[3*c+1],n[3*c+2]),Fj(o,n[3*h],n[3*h+1],n[3*h+2]),Fj(a,n[3*d],n[3*d+1],n[3*d+2]),yX.sub(s,r,o),yX.sub(l,o,a),yX.cross(u,s,l),yX.normalize(u,u);for(var g=0;g<3;g++)i[3*c+g]=u[g],i[3*h+g]=u[g],i[3*d+g]=u[g]}this.dirty()}},generateTangents:function(){if(this.vertexCount){var t=this.vertexCount,e=this.attributes;e.tangent.value||(e.tangent.value=new Float32Array(4*t));var n=e.texcoord0.value,i=e.position.value,r=e.tangent.value,o=e.normal.value;if(n){for(var a=[],s=[],l=0;l<t;l++)a[l]=[0,0,0],s[l]=[0,0,0];var u,c,h,d=[0,0,0],p=[0,0,0],f=this.indices,g=f?f.length:this.vertexCount;for(l=0;l<g;){f?(u=f[l++],c=f[l++],h=f[l++]):(u=l++,c=l++,h=l++);var m=n[2*u],v=n[2*c],y=n[2*h],_=n[2*u+1],x=n[2*c+1],b=n[2*h+1],w=i[3*u],S=i[3*c],A=i[3*h],T=i[3*u+1],M=i[3*c+1],I=i[3*h+1],C=i[3*u+2],D=S-w,E=A-w,L=M-T,P=I-T,R=i[3*c+2]-C,N=i[3*h+2]-C,k=v-m,O=y-m,B=x-_,z=b-_,F=1/(k*z-B*O);d[0]=(z*D-B*E)*F,d[1]=(z*L-B*P)*F,d[2]=(z*R-B*N)*F,p[0]=(k*E-O*D)*F,p[1]=(k*P-O*L)*F,p[2]=(k*N-O*R)*F,zj(a[u],a[u],d),zj(a[c],a[c],d),zj(a[h],a[h],d),zj(s[u],s[u],p),zj(s[c],s[c],p),zj(s[h],s[h],p)}var V=Bj(),G=Bj(),U=Bj();for(l=0;l<t;l++){U[0]=o[3*l],U[1]=o[3*l+1],U[2]=o[3*l+2];var H=a[l];yX.scale(V,U,yX.dot(U,H)),yX.sub(V,H,V),yX.normalize(V,V),yX.cross(G,U,H),r[4*l]=V[0],r[4*l+1]=V[1],r[4*l+2]=V[2],r[4*l+3]=yX.dot(G,s[l])<0?-1:1}this.dirty()}else console.warn("Geometry without texcoords can't generate tangents.")}},isUniqueVertex:function(){return!this.isUseIndices()||this.vertexCount===this.indices.length},generateUniqueVertex:function(){if(this.vertexCount&&this.indices){this.indices.length>65535&&(this.indices=new fW.Uint32Array(this.indices));for(var t=this.attributes,e=this.indices,n=this.getEnabledAttributes(),i={},r=0;r<n.length;r++){i[l=n[r]]=t[l].value,t[l].init(this.indices.length)}for(var o=0,a=0;a<e.length;a++){var s=e[a];for(r=0;r<n.length;r++)for(var l,u=t[l=n[r]].value,c=t[l].size,h=0;h<c;h++)u[o*c+h]=i[l][s*c+h];e[a]=o,o++}this.dirty()}},generateBarycentric:function(){if(this.vertexCount){this.isUniqueVertex()||this.generateUniqueVertex();var t=this.attributes,e=t.barycentric.value,n=this.indices;if(!e||e.length!==3*n.length){e=t.barycentric.value=new Float32Array(3*n.length);for(var i=0;i<(n?n.length:this.vertexCount/3);)for(var r=0;r<3;r++){e[3*(n?n[i++]:3*i+r)+r]=1}this.dirty()}}},applyTransform:function(t){var e=this.attributes,n=e.position.value,i=e.normal.value,r=e.tangent.value;t=t.array;var o=vX.create();vX.invert(o,t),vX.transpose(o,o);var a=yX.transformMat4,s=yX.forEach;s(n,3,0,null,a,t),i&&s(i,3,0,null,a,o),r&&s(r,4,0,null,a,o),this.boundingBox&&this.updateBoundingBox()},dispose:function(t){var e=this._cache;e.use(t.__uid__);var n=e.get("chunks");if(n)for(var i=0;i<n.length;i++){for(var r=n[i],o=0;o<r.attributeBuffers.length;o++){var a=r.attributeBuffers[o];t.gl.deleteBuffer(a.buffer)}r.indicesBuffer&&t.gl.deleteBuffer(r.indicesBuffer.buffer)}if(this.__vaoCache){var s=t.getGLExtension("OES_vertex_array_object");for(var l in this.__vaoCache){var u=this.__vaoCache[l].vao;u&&s.deleteVertexArrayOES(u)}}this.__vaoCache={},e.deleteContext(t.__uid__)}});Gj.STATIC_DRAW=Oj.STATIC_DRAW,Gj.DYNAMIC_DRAW=Oj.DYNAMIC_DRAW,Gj.STREAM_DRAW=Oj.STREAM_DRAW,Gj.AttributeBuffer=Oj.AttributeBuffer,Gj.IndicesBuffer=Oj.IndicesBuffer,Gj.Attribute=Vj;var Uj="uniform vec3 ",Hj="uniform float ",Wj="@export clay.header.",Xj="@end",jj=":unconfigurable;",Yj=[Wj+"directional_light",Uj+"directionalLightDirection[DIRECTIONAL_LIGHT_COUNT]"+jj,Uj+"directionalLightColor[DIRECTIONAL_LIGHT_COUNT]"+jj,Xj,Wj+"ambient_light",Uj+"ambientLightColor[AMBIENT_LIGHT_COUNT]"+jj,Xj,Wj+"ambient_sh_light",Uj+"ambientSHLightColor[AMBIENT_SH_LIGHT_COUNT]"+jj,Uj+"ambientSHLightCoefficients[AMBIENT_SH_LIGHT_COUNT * 9]"+jj,"vec3 calcAmbientSHLight(int idx, vec3 N) {\n int offset = 9 * idx;\n return ambientSHLightCoefficients[0]\n + ambientSHLightCoefficients[1] * N.x\n + ambientSHLightCoefficients[2] * N.y\n + ambientSHLightCoefficients[3] * N.z\n + ambientSHLightCoefficients[4] * N.x * N.z\n + ambientSHLightCoefficients[5] * N.z * N.y\n + ambientSHLightCoefficients[6] * N.y * N.x\n + ambientSHLightCoefficients[7] * (3.0 * N.z * N.z - 1.0)\n + ambientSHLightCoefficients[8] * (N.x * N.x - N.y * N.y);\n}",Xj,Wj+"ambient_cubemap_light",Uj+"ambientCubemapLightColor[AMBIENT_CUBEMAP_LIGHT_COUNT]"+jj,"uniform samplerCube ambientCubemapLightCubemap[AMBIENT_CUBEMAP_LIGHT_COUNT]"+jj,"uniform sampler2D ambientCubemapLightBRDFLookup[AMBIENT_CUBEMAP_LIGHT_COUNT]"+jj,Xj,Wj+"point_light",Uj+"pointLightPosition[POINT_LIGHT_COUNT]"+jj,Hj+"pointLightRange[POINT_LIGHT_COUNT]"+jj,Uj+"pointLightColor[POINT_LIGHT_COUNT]"+jj,Xj,Wj+"spot_light",Uj+"spotLightPosition[SPOT_LIGHT_COUNT]"+jj,Uj+"spotLightDirection[SPOT_LIGHT_COUNT]"+jj,Hj+"spotLightRange[SPOT_LIGHT_COUNT]"+jj,Hj+"spotLightUmbraAngleCosine[SPOT_LIGHT_COUNT]"+jj,Hj+"spotLightPenumbraAngleCosine[SPOT_LIGHT_COUNT]"+jj,Hj+"spotLightFalloffFactor[SPOT_LIGHT_COUNT]"+jj,Uj+"spotLightColor[SPOT_LIGHT_COUNT]"+jj,Xj].join("\n");pX.import(Yj);var Zj,Qj,qj,Jj,Kj=xj.extend((function(){return{color:[1,1,1],intensity:1,castShadow:!0,shadowResolution:512,group:0}}),{type:"",clone:function(){var t=xj.prototype.clone.call(this);return t.color=Array.prototype.slice.call(this.color),t.intensity=this.intensity,t.castShadow=this.castShadow,t.shadowResolution=this.shadowResolution,t}}),$j=function(t,e){this.normal=t||new LX(0,1,0),this.distance=e||0};$j.prototype={constructor:$j,distanceToPoint:function(t){return yX.dot(t.array,this.normal.array)-this.distance},projectPoint:function(t,e){e||(e=new LX);var n=this.distanceToPoint(t);return yX.scaleAndAdd(e.array,t.array,this.normal.array,-n),e._dirty=!0,e},normalize:function(){var t=1/yX.len(this.normal.array);yX.scale(this.normal.array,t),this.distance*=t},intersectFrustum:function(t){for(var e=t.vertices,n=this.normal.array,i=yX.dot(e[0].array,n)>this.distance,r=1;r<8;r++)if(yX.dot(e[r].array,n)>this.distance!=i)return!0},intersectLine:(Jj=yX.create(),function(t,e,n){var i=this.distanceToPoint(t),r=this.distanceToPoint(e);if(i>0&&r>0||i<0&&r<0)return null;var o=this.normal.array,a=this.distance,s=t.array;yX.sub(Jj,e.array,t.array),yX.normalize(Jj,Jj);var l=yX.dot(o,Jj);if(0===l)return null;n||(n=new LX);var u=(yX.dot(o,s)-a)/l;return yX.scaleAndAdd(n.array,s,Jj,-u),n._dirty=!0,n}),applyTransform:(Zj=vX.create(),Qj=XX.create(),qj=XX.create(),qj[3]=1,function(t){t=t.array,yX.scale(qj,this.normal.array,this.distance),XX.transformMat4(qj,qj,t),this.distance=yX.dot(qj,this.normal.array),vX.invert(Zj,t),vX.transpose(Zj,Zj),Qj[3]=0,yX.copy(Qj,this.normal.array),XX.transformMat4(Qj,Qj,Zj),yX.copy(this.normal.array,Qj)}),copy:function(t){yX.copy(this.normal.array,t.normal.array),this.normal._dirty=!0,this.distance=t.distance},clone:function(){var t=new $j;return t.copy(this),t}};var tY,eY=yX.set,nY=yX.copy,iY=yX.transformMat4,rY=Math.min,oY=Math.max,aY=function(){this.planes=[];for(var t=0;t<6;t++)this.planes.push(new $j);this.boundingBox=new mj,this.vertices=[];for(t=0;t<8;t++)this.vertices[t]=yX.fromValues(0,0,0)};aY.prototype={setFromProjection:function(t){var e=this.planes,n=t.array,i=n[0],r=n[1],o=n[2],a=n[3],s=n[4],l=n[5],u=n[6],c=n[7],h=n[8],d=n[9],p=n[10],f=n[11],g=n[12],m=n[13],v=n[14],y=n[15];eY(e[0].normal.array,a-i,c-s,f-h),e[0].distance=-(y-g),e[0].normalize(),eY(e[1].normal.array,a+i,c+s,f+h),e[1].distance=-(y+g),e[1].normalize(),eY(e[2].normal.array,a+r,c+l,f+d),e[2].distance=-(y+m),e[2].normalize(),eY(e[3].normal.array,a-r,c-l,f-d),e[3].distance=-(y-m),e[3].normalize(),eY(e[4].normal.array,a-o,c-u,f-p),e[4].distance=-(y-v),e[4].normalize(),eY(e[5].normal.array,a+o,c+u,f+p),e[5].distance=-(y+v),e[5].normalize();var _=this.boundingBox,x=this.vertices;if(0===y){var b=l/i,w=-v/(p-1),S=-v/(p+1),A=-S/l,T=-w/l;_.min.set(-A*b,-A,S),_.max.set(A*b,A,w),eY(x[0],-A*b,-A,S),eY(x[1],-A*b,A,S),eY(x[2],A*b,-A,S),eY(x[3],A*b,A,S),eY(x[4],-T*b,-T,w),eY(x[5],-T*b,T,w),eY(x[6],T*b,-T,w),eY(x[7],T*b,T,w)}else{var M=(-1-g)/i,I=(1-g)/i,C=(1-m)/l,D=(-1-m)/l,E=(-1-v)/p,L=(1-v)/p;_.min.set(Math.min(M,I),Math.min(D,C),Math.min(L,E)),_.max.set(Math.max(I,M),Math.max(C,D),Math.max(E,L));var P=_.min.array,R=_.max.array;eY(x[0],P[0],P[1],P[2]),eY(x[1],P[0],R[1],P[2]),eY(x[2],R[0],P[1],P[2]),eY(x[3],R[0],R[1],P[2]),eY(x[4],P[0],P[1],R[2]),eY(x[5],P[0],R[1],R[2]),eY(x[6],R[0],P[1],R[2]),eY(x[7],R[0],R[1],R[2])}},getTransformedBoundingBox:(tY=yX.create(),function(t,e){var n=this.vertices,i=e.array,r=t.min,o=t.max,a=r.array,s=o.array,l=n[0];iY(tY,l,i),nY(a,tY),nY(s,tY);for(var u=1;u<8;u++)l=n[u],iY(tY,l,i),a[0]=rY(tY[0],a[0]),a[1]=rY(tY[1],a[1]),a[2]=rY(tY[2],a[2]),s[0]=oY(tY[0],s[0]),s[1]=oY(tY[1],s[1]),s[2]=oY(tY[2],s[2]);return r._dirty=!0,o._dirty=!0,t})};var sY,lY=xj.extend((function(){return{projectionMatrix:new nj,invProjectionMatrix:new nj,viewMatrix:new nj,frustum:new aY}}),(function(){this.update(!0)}),{update:function(t){xj.prototype.update.call(this,t),nj.invert(this.viewMatrix,this.worldTransform),this.updateProjectionMatrix(),nj.invert(this.invProjectionMatrix,this.projectionMatrix),this.frustum.setFromProjection(this.projectionMatrix)},setViewMatrix:function(t){nj.copy(this.viewMatrix,t),nj.invert(this.worldTransform,t),this.decomposeWorldTransform()},decomposeProjectionMatrix:function(){},setProjectionMatrix:function(t){nj.copy(this.projectionMatrix,t),nj.invert(this.invProjectionMatrix,t),this.decomposeProjectionMatrix()},updateProjectionMatrix:function(){},castRay:(sY=XX.create(),function(t,e){var n=void 0!==e?e:new WX,i=t.array[0],r=t.array[1];return XX.set(sY,i,r,-1,1),XX.transformMat4(sY,sY,this.invProjectionMatrix.array),XX.transformMat4(sY,sY,this.worldTransform.array),yX.scale(n.origin.array,sY,1/sY[3]),XX.set(sY,i,r,1,1),XX.transformMat4(sY,sY,this.invProjectionMatrix.array),XX.transformMat4(sY,sY,this.worldTransform.array),yX.scale(sY,sY,1/sY[3]),yX.sub(n.direction.array,sY,n.origin.array),yX.normalize(n.direction.array,n.direction.array),n.direction._dirty=!0,n.origin._dirty=!0,n})}),uY=vX.create(),cY=vX.create(),hY={};function dY(t){var e=[],n=Object.keys(t);n.sort();for(var i=0;i<n.length;i++){var r=n[i];e.push(r+" "+t[r])}var o=e.join("\n");if(hY[o])return hY[o];var a=aW.genGUID();return hY[o]=a,a}function pY(){this.opaque=[],this.transparent=[],this._opaqueCount=0,this._transparentCount=0}pY.prototype.startCount=function(){this._opaqueCount=0,this._transparentCount=0},pY.prototype.add=function(t,e){e?this.transparent[this._transparentCount++]=t:this.opaque[this._opaqueCount++]=t},pY.prototype.endCount=function(){this.transparent.length=this._transparentCount,this.opaque.length=this._opaqueCount};var fY,gY,mY=xj.extend((function(){return{material:null,lights:[],viewBoundingBoxLastFrame:new mj,shadowUniforms:{},_cameraList:[],_lightUniforms:{},_previousLightNumber:{},_lightNumber:{},_lightProgramKeys:{},_nodeRepository:{},_renderLists:new vW(20)}}),(function(){this._scene=this}),{addToScene:function(t){t instanceof lY?(this._cameraList.length>0&&console.warn("Found multiple camera in one scene. Use the fist one."),this._cameraList.push(t)):t instanceof Kj&&this.lights.push(t),t.name&&(this._nodeRepository[t.name]=t)},removeFromScene:function(t){var e;t instanceof lY?(e=this._cameraList.indexOf(t))>=0&&this._cameraList.splice(e,1):t instanceof Kj&&(e=this.lights.indexOf(t))>=0&&this.lights.splice(e,1),t.name&&delete this._nodeRepository[t.name]},getNode:function(t){return this._nodeRepository[t]},setMainCamera:function(t){var e=this._cameraList.indexOf(t);e>=0&&this._cameraList.splice(e,1),this._cameraList.unshift(t)},getMainCamera:function(){return this._cameraList[0]},getLights:function(){return this.lights},updateLights:function(){var t=this.lights;this._previousLightNumber=this._lightNumber;for(var e={},n=0;n<t.length;n++){var i=t[n];if(!i.invisible){var r=i.group;e[r]||(e[r]={}),e[r][i.type]=e[r][i.type]||0,e[r][i.type]++}}for(var o in this._lightNumber=e,e)this._lightProgramKeys[o]=dY(e[o]);this._updateLightUniforms()},cloneNode:function(t){var e=t.clone(),n={};return function t(e,i){n[e.__uid__]=i;for(var r=0;r<e._children.length;r++){t(e._children[r],i._children[r])}}(t,e),e.traverse((function(t){t.skeleton&&(t.skeleton=t.skeleton.clone(n)),t.material&&(t.material=t.material.clone())})),e},updateRenderList:function(t,e){var n=t.__uid__,i=this._renderLists.get(n);i||(i=new pY,this._renderLists.put(n,i)),i.startCount(),e&&(this.viewBoundingBoxLastFrame.min.set(1/0,1/0,1/0),this.viewBoundingBoxLastFrame.max.set(-1/0,-1/0,-1/0));var r=this.material&&this.material.transparent||!1;return this._doUpdateRenderList(this,t,r,i,e),i.endCount(),i},getRenderList:function(t){return this._renderLists.get(t.__uid__)},_doUpdateRenderList:function(t,e,n,i,r){if(!t.invisible)for(var o=0;o<t._children.length;o++){var a=t._children[o];if(a.isRenderable()){var s=a.isSkinnedMesh()?uY:a.worldTransform.array,l=a.geometry;vX.multiplyAffine(cY,e.viewMatrix.array,s),(r&&!l.boundingBox||!this.isFrustumCulled(a,e,cY))&&i.add(a,a.material.transparent||n)}a._children.length>0&&this._doUpdateRenderList(a,e,n,i,r)}},isFrustumCulled:(fY=new mj,gY=new nj,function(t,e,n){var i=t.boundingBox;if(i||(i=t.skeleton&&t.skeleton.boundingBox?t.skeleton.boundingBox:t.geometry.boundingBox),!i)return!1;if(gY.array=n,fY.transformFrom(i,gY),t.castShadow&&this.viewBoundingBoxLastFrame.union(fY),t.frustumCulling){if(!fY.intersectBoundingBox(e.frustum.boundingBox))return!0;gY.array=e.projectionMatrix.array,fY.max.array[2]>0&&fY.min.array[2]<0&&(fY.max.array[2]=-1e-20),fY.applyProjection(gY);var r=fY.min.array,o=fY.max.array;if(o[0]<-1||r[0]>1||o[1]<-1||r[1]>1||o[2]<-1||r[2]>1)return!0}return!1}),_updateLightUniforms:function(){var t=this.lights;t.sort(vY);var e=this._lightUniforms;for(var n in e)for(var i in e[n])e[n][i].value.length=0;for(var r=0;r<t.length;r++){var o=t[r];if(!o.invisible){n=o.group;for(var i in o.uniformTemplates){var a=o.uniformTemplates[i],s=a.value(o);if(null!=s){e[n]||(e[n]={}),e[n][i]||(e[n][i]={type:"",value:[]});var l=e[n][i];switch(l.type=a.type+"v",a.type){case"1i":case"1f":case"t":l.value.push(s);break;case"2f":case"3f":case"4f":for(var u=0;u<s.length;u++)l.value.push(s[u]);break;default:console.error("Unkown light uniform type "+a.type)}}}}}},getLightGroups:function(){var t=[];for(var e in this._lightNumber)t.push(e);return t},getNumberChangedLightGroups:function(){var t=[];for(var e in this._lightNumber)this.isLightNumberChanged(e)&&t.push(e);return t},isLightNumberChanged:function(t){var e=this._previousLightNumber,n=this._lightNumber;for(var i in n[t]){if(!e[t])return!0;if(n[t][i]!==e[t][i])return!0}for(var i in e[t]){if(!n[t])return!0;if(n[t][i]!==e[t][i])return!0}return!1},getLightsNumbers:function(t){return this._lightNumber[t]},getProgramKey:function(t){return this._lightProgramKeys[t]},setLightUniforms:function(){function t(t,e,n){for(var i in t){var r=t[i];if("tv"===r.type){if(!e.hasUniform(i))continue;for(var o=[],a=0;a<r.value.length;a++){var s=r.value[a],l=e.takeCurrentTextureSlot(n,s);o.push(l)}e.setUniform(n.gl,"1iv",i,o)}else e.setUniform(n.gl,r.type,i,r.value)}}return function(e,n,i){t(this._lightUniforms[n],e,i),t(this.shadowUniforms,e,i)}}(),dispose:function(){this.material=null,this._opaqueList=[],this._transparentList=[],this.lights=[],this._lightUniforms={},this._lightNumber={},this._nodeRepository={}}});function vY(t,e){if(e.castShadow&&!t.castShadow)return!0}var yY=Ij.isPowerOfTwo,_Y=["px","nx","py","ny","pz","nz"],xY=Tj.extend((function(){return{image:{px:null,nx:null,py:null,ny:null,pz:null,nz:null},pixels:{px:null,nx:null,py:null,ny:null,pz:null,nz:null},mipmaps:[]}}),{textureType:"textureCube",update:function(t){var e=t.gl;e.bindTexture(e.TEXTURE_CUBE_MAP,this._cache.get("webgl_texture")),this.updateCommon(t);var n=this.format,i=this.type;e.texParameteri(e.TEXTURE_CUBE_MAP,e.TEXTURE_WRAP_S,this.getAvailableWrapS()),e.texParameteri(e.TEXTURE_CUBE_MAP,e.TEXTURE_WRAP_T,this.getAvailableWrapT()),e.texParameteri(e.TEXTURE_CUBE_MAP,e.TEXTURE_MAG_FILTER,this.getAvailableMagFilter()),e.texParameteri(e.TEXTURE_CUBE_MAP,e.TEXTURE_MIN_FILTER,this.getAvailableMinFilter());var r=t.getGLExtension("EXT_texture_filter_anisotropic");(r&&this.anisotropic>1&&e.texParameterf(e.TEXTURE_CUBE_MAP,r.TEXTURE_MAX_ANISOTROPY_EXT,this.anisotropic),36193===i)&&(t.getGLExtension("OES_texture_half_float")||(i=hW.FLOAT));if(this.mipmaps.length)for(var o=this.width,a=this.height,s=0;s<this.mipmaps.length;s++){var l=this.mipmaps[s];this._updateTextureData(e,l,s,o,a,n,i),o/=2,a/=2}else this._updateTextureData(e,this,0,this.width,this.height,n,i),!this.NPOT&&this.useMipmap&&e.generateMipmap(e.TEXTURE_CUBE_MAP);e.bindTexture(e.TEXTURE_CUBE_MAP,null)},_updateTextureData:function(t,e,n,i,r,o,a){for(var s=0;s<6;s++){var l=_Y[s],u=e.image&&e.image[l];u?t.texImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+s,n,o,o,a,u):t.texImage2D(t.TEXTURE_CUBE_MAP_POSITIVE_X+s,n,o,i,r,0,o,a,e.pixels&&e.pixels[l])}},generateMipmap:function(t){var e=t.gl;this.useMipmap&&!this.NPOT&&(e.bindTexture(e.TEXTURE_CUBE_MAP,this._cache.get("webgl_texture")),e.generateMipmap(e.TEXTURE_CUBE_MAP))},bind:function(t){t.gl.bindTexture(t.gl.TEXTURE_CUBE_MAP,this.getWebGLTexture(t))},unbind:function(t){t.gl.bindTexture(t.gl.TEXTURE_CUBE_MAP,null)},isPowerOfTwo:function(){return this.image.px?yY(this.image.px.width)&&yY(this.image.px.height):yY(this.width)&&yY(this.height)},isRenderable:function(){return this.image.px?bY(this.image.px)&&bY(this.image.nx)&&bY(this.image.py)&&bY(this.image.ny)&&bY(this.image.pz)&&bY(this.image.nz):!(!this.width||!this.height)},load:function(t,e){var n=0,i=this;return aW.each(t,(function(t,r){var o=fW.createImage();e&&(o.crossOrigin=e),o.onload=function(){0===--n&&(i.dirty(),i.trigger("success",i))},o.onerror=function(){n--},n++,o.src=t,i.image[r]=o})),this}});function bY(t){return t.width>0&&t.height>0}Object.defineProperty(xY.prototype,"width",{get:function(){return this.image&&this.image.px?this.image.px.width:this._width},set:function(t){this.image&&this.image.px?console.warn("Texture from image can't set width"):(this._width!==t&&this.dirty(),this._width=t)}}),Object.defineProperty(xY.prototype,"height",{get:function(){return this.image&&this.image.px?this.image.px.height:this._height},set:function(t){this.image&&this.image.px?console.warn("Texture from image can't set height"):(this._height!==t&&this.dirty(),this._height=t)}});var wY=lY.extend({fov:50,aspect:1,near:.1,far:2e3},{updateProjectionMatrix:function(){var t=this.fov/180*Math.PI;this.projectionMatrix.perspective(t,this.aspect,this.near,this.far)},decomposeProjectionMatrix:function(){var t=this.projectionMatrix.array,e=2*Math.atan(1/t[5]);this.fov=e/Math.PI*180,this.aspect=t[5]/t[0],this.near=t[14]/(t[10]-1),this.far=t[14]/(t[10]+1)},clone:function(){var t=lY.prototype.clone.call(this);return t.fov=this.fov,t.aspect=this.aspect,t.near=this.near,t.far=this.far,t}}),SY="framebuffer",AY="renderbuffer",TY=AY+"_width",MY=AY+"_height",IY=AY+"_attached",CY="depthtexture_attached",DY=hW.FRAMEBUFFER,EY=hW.RENDERBUFFER,LY=hW.DEPTH_ATTACHMENT,PY=hW.COLOR_ATTACHMENT0,RY=sW.extend({depthBuffer:!0,viewport:null,_width:0,_height:0,_textures:null,_boundRenderer:null},(function(){this._cache=new Aj,this._textures={}}),{getTextureWidth:function(){return this._width},getTextureHeight:function(){return this._height},bind:function(t){if(t.__currentFrameBuffer){if(t.__currentFrameBuffer===this)return;console.warn("Renderer already bound with another framebuffer. Unbind it first")}t.__currentFrameBuffer=this;var e=t.gl;e.bindFramebuffer(DY,this._getFrameBufferGL(t)),this._boundRenderer=t;var n=this._cache;n.put("viewport",t.viewport);var i,r,o=!1;for(var a in this._textures){o=!0;var s=this._textures[a];s&&(i=s.texture.width,r=s.texture.height,this._doAttach(t,s.texture,a,s.target))}this._width=i,this._height=r,!o&&this.depthBuffer&&console.error("Must attach texture before bind, or renderbuffer may have incorrect width and height."),this.viewport?t.setViewport(this.viewport):t.setViewport(0,0,i,r,1);var l=n.get("attached_textures");if(l)for(var a in l)if(!this._textures[a]){var u=l[a];this._doDetach(e,a,u)}if(!n.get(CY)&&this.depthBuffer){n.miss(AY)&&n.put(AY,e.createRenderbuffer());var c=n.get(AY);i===n.get(TY)&&r===n.get(MY)||(e.bindRenderbuffer(EY,c),e.renderbufferStorage(EY,e.DEPTH_COMPONENT16,i,r),n.put(TY,i),n.put(MY,r),e.bindRenderbuffer(EY,null)),n.get(IY)||(e.framebufferRenderbuffer(DY,LY,EY,c),n.put(IY,!0))}},unbind:function(t){t.__currentFrameBuffer=null,t.gl.bindFramebuffer(DY,null),this._boundRenderer=null,this._cache.use(t.__uid__);var e=this._cache.get("viewport");e&&t.setViewport(e),this.updateMipmap(t)},updateMipmap:function(t){var e=t.gl;for(var n in this._textures){var i=this._textures[n];if(i){var r=i.texture;if(!r.NPOT&&r.useMipmap&&r.minFilter===Tj.LINEAR_MIPMAP_LINEAR){var o="textureCube"===r.textureType?hW.TEXTURE_CUBE_MAP:hW.TEXTURE_2D;e.bindTexture(o,r.getWebGLTexture(t)),e.generateMipmap(o),e.bindTexture(o,null)}}}},checkStatus:function(t){return t.checkFramebufferStatus(DY)},_getFrameBufferGL:function(t){var e=this._cache;return e.use(t.__uid__),e.miss(SY)&&e.put(SY,t.gl.createFramebuffer()),e.get(SY)},attach:function(t,e,n){if(!t.width)throw new Error("The texture attached to color buffer is not a valid.");e=e||PY,n=n||hW.TEXTURE_2D;var i,r=this._boundRenderer;if(r&&r.gl){var o=this._cache;o.use(r.__uid__),i=o.get("attached_textures")}var a=this._textures[e];if(!a||a.target!==n||a.texture!==t||!i||null==i[e]){var s=!0;r&&(s=this._doAttach(r,t,e,n),this.viewport||r.setViewport(0,0,t.width,t.height,1)),s&&(this._textures[e]=this._textures[e]||{},this._textures[e].texture=t,this._textures[e].target=n)}},_doAttach:function(t,e,n,i){var r=t.gl,o=e.getWebGLTexture(t),a=this._cache.get("attached_textures");if(a&&a[n]){var s=a[n];if(s.texture===e&&s.target===i)return}var l=!0;if(((n=+n)===LY||n===hW.DEPTH_STENCIL_ATTACHMENT)&&(t.getGLExtension("WEBGL_depth_texture")||(console.error("Depth texture is not supported by the browser"),l=!1),e.format!==hW.DEPTH_COMPONENT&&e.format!==hW.DEPTH_STENCIL&&(console.error("The texture attached to depth buffer is not a valid."),l=!1),l)){var u=this._cache.get(AY);u&&(r.framebufferRenderbuffer(DY,LY,EY,null),r.deleteRenderbuffer(u),this._cache.put(AY,!1)),this._cache.put(IY,!1),this._cache.put(CY,!0)}return r.framebufferTexture2D(DY,n,i,o,0),a||(a={},this._cache.put("attached_textures",a)),a[n]=a[n]||{},a[n].texture=e,a[n].target=i,l},_doDetach:function(t,e,n){t.framebufferTexture2D(DY,e,n,null,0);var i=this._cache.get("attached_textures");i&&i[e]&&(i[e]=null),e!==LY&&e!==hW.DEPTH_STENCIL_ATTACHMENT||this._cache.put(CY,!1)},detach:function(t,e){(this._textures[t]=null,this._boundRenderer)&&(this._cache.use(this._boundRenderer.__uid__),this._doDetach(this._boundRenderer.gl,t,e))},dispose:function(t){var e=t.gl,n=this._cache;n.use(t.__uid__);var i=n.get(AY);i&&e.deleteRenderbuffer(i);var r=n.get(SY);r&&e.deleteFramebuffer(r),n.deleteContext(t.__uid__),this._textures={}}});RY.DEPTH_ATTACHMENT=LY,RY.COLOR_ATTACHMENT0=PY,RY.STENCIL_ATTACHMENT=hW.STENCIL_ATTACHMENT,RY.DEPTH_STENCIL_ATTACHMENT=hW.DEPTH_STENCIL_ATTACHMENT;var NY=["px","nx","py","ny","pz","nz"],kY=sW.extend((function(){var t={position:new LX,far:1e3,near:.1,texture:null,shadowMapPass:null},e=t._cameras={px:new wY({fov:90}),nx:new wY({fov:90}),py:new wY({fov:90}),ny:new wY({fov:90}),pz:new wY({fov:90}),nz:new wY({fov:90})};return e.px.lookAt(LX.POSITIVE_X,LX.NEGATIVE_Y),e.nx.lookAt(LX.NEGATIVE_X,LX.NEGATIVE_Y),e.py.lookAt(LX.POSITIVE_Y,LX.POSITIVE_Z),e.ny.lookAt(LX.NEGATIVE_Y,LX.NEGATIVE_Z),e.pz.lookAt(LX.POSITIVE_Z,LX.NEGATIVE_Y),e.nz.lookAt(LX.NEGATIVE_Z,LX.NEGATIVE_Y),t._frameBuffer=new RY,t}),{getCamera:function(t){return this._cameras[t]},render:function(t,e,n){var i=t.gl;n||e.update();for(var r=this.texture.width,o=2*Math.atan(r/(r-.5))/Math.PI*180,a=0;a<6;a++){var s=NY[a],l=this._cameras[s];if(LX.copy(l.position,this.position),l.far=this.far,l.near=this.near,l.fov=o,this.shadowMapPass){l.update();var u=e.getBoundingBox();u.applyTransform(l.viewMatrix),e.viewBoundingBoxLastFrame.copy(u),this.shadowMapPass.render(t,e,l,!0)}this._frameBuffer.attach(this.texture,i.COLOR_ATTACHMENT0,i.TEXTURE_CUBE_MAP_POSITIVE_X+a),this._frameBuffer.bind(t),t.render(e,l,!0),this._frameBuffer.unbind(t)}},dispose:function(t){this._frameBuffer.dispose(t)}}),OY=Gj.extend({dynamic:!1,widthSegments:1,heightSegments:1},(function(){this.build()}),{build:function(){for(var t=this.heightSegments,e=this.widthSegments,n=this.attributes,i=[],r=[],o=[],a=[],s=0;s<=t;s++)for(var l=s/t,u=0;u<=e;u++){var c=u/e;if(i.push([2*c-1,2*l-1,0]),r&&r.push([c,l]),o&&o.push([0,0,1]),u<e&&s<t){var h=u+s*(e+1);a.push([h,h+1,h+e+1]),a.push([h+e+1,h+1,h+e+2])}}n.position.fromArray(i),n.texcoord0.fromArray(r),n.normal.fromArray(o),this.initIndicesFromArray(a),this.boundingBox=new mj,this.boundingBox.min.set(-1,-1,0),this.boundingBox.max.set(1,1,0)}}),BY=new nj,zY=Gj.extend({dynamic:!1,widthSegments:1,heightSegments:1,depthSegments:1,inside:!1},(function(){this.build()}),{build:function(){var t={px:FY("px",this.depthSegments,this.heightSegments),nx:FY("nx",this.depthSegments,this.heightSegments),py:FY("py",this.widthSegments,this.depthSegments),ny:FY("ny",this.widthSegments,this.depthSegments),pz:FY("pz",this.widthSegments,this.heightSegments),nz:FY("nz",this.widthSegments,this.heightSegments)},e=["position","texcoord0","normal"],n=0,i=0;for(var r in t)n+=t[r].vertexCount,i+=t[r].indices.length;for(var o=0;o<e.length;o++)this.attributes[e[o]].init(n);this.indices=new fW.Uint16Array(i);var a=0,s=0;for(var r in t){var l=t[r];for(o=0;o<e.length;o++)for(var u=e[o],c=l.attributes[u].value,h=l.attributes[u].size,d="normal"===u,p=0;p<c.length;p++){var f=c[p];this.inside&&d&&(f=-f),this.attributes[u].value[p+h*s]=f}var g=l.indices.length;for(p=0;p<l.indices.length;p++)this.indices[p+a]=s+l.indices[this.inside?g-p-1:p];a+=l.indices.length,s+=l.vertexCount}this.boundingBox=new mj,this.boundingBox.max.set(1,1,1),this.boundingBox.min.set(-1,-1,-1)}});function FY(t,e,n){BY.identity();var i=new OY({widthSegments:e,heightSegments:n});switch(t){case"px":nj.translate(BY,BY,LX.POSITIVE_X),nj.rotateY(BY,BY,Math.PI/2);break;case"nx":nj.translate(BY,BY,LX.NEGATIVE_X),nj.rotateY(BY,BY,-Math.PI/2);break;case"py":nj.translate(BY,BY,LX.POSITIVE_Y),nj.rotateX(BY,BY,-Math.PI/2);break;case"ny":nj.translate(BY,BY,LX.NEGATIVE_Y),nj.rotateX(BY,BY,Math.PI/2);break;case"pz":nj.translate(BY,BY,LX.POSITIVE_Z);break;case"nz":nj.translate(BY,BY,LX.NEGATIVE_Z),nj.rotateY(BY,BY,Math.PI)}return i.applyTransform(BY),i}pX.import("@export clay.skybox.vertex\n#define SHADER_NAME skybox\nuniform mat4 world : WORLD;\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nattribute vec3 position : POSITION;\nvarying vec3 v_WorldPosition;\nvoid main()\n{\n v_WorldPosition = (world * vec4(position, 1.0)).xyz;\n gl_Position = worldViewProjection * vec4(position, 1.0);\n}\n@end\n@export clay.skybox.fragment\n#define PI 3.1415926\nuniform mat4 viewInverse : VIEWINVERSE;\n#ifdef EQUIRECTANGULAR\nuniform sampler2D environmentMap;\n#else\nuniform samplerCube environmentMap;\n#endif\nuniform float lod: 0.0;\nvarying vec3 v_WorldPosition;\n@import clay.util.rgbm\n@import clay.util.srgb\n@import clay.util.ACES\nvoid main()\n{\n vec3 eyePos = viewInverse[3].xyz;\n vec3 V = normalize(v_WorldPosition - eyePos);\n#ifdef EQUIRECTANGULAR\n float phi = acos(V.y);\n float theta = atan(-V.x, V.z) + PI * 0.5;\n vec2 uv = vec2(theta / 2.0 / PI, phi / PI);\n vec4 texel = decodeHDR(texture2D(environmentMap, fract(uv)));\n#else\n #if defined(LOD) || defined(SUPPORT_TEXTURE_LOD)\n vec4 texel = decodeHDR(textureCubeLodEXT(environmentMap, V, lod));\n #else\n vec4 texel = decodeHDR(textureCube(environmentMap, V));\n #endif\n#endif\n#ifdef SRGB_DECODE\n texel = sRGBToLinear(texel);\n#endif\n#ifdef TONEMAPPING\n texel.rgb = ACESToneMapping(texel.rgb);\n#endif\n#ifdef SRGB_ENCODE\n texel = linearTosRGB(texel);\n#endif\n gl_FragColor = encodeHDR(vec4(texel.rgb, 1.0));\n}\n@end");var VY=Mj.extend((function(){var t=new pX({vertex:pX.source("clay.skybox.vertex"),fragment:pX.source("clay.skybox.fragment")}),e=new OW({shader:t,depthMask:!1});return{scene:null,geometry:new zY,material:e,environmentMap:null,culling:!1,_dummyCamera:new wY}}),(function(){var t=this.scene;t&&this.attachScene(t),this.environmentMap&&this.setEnvironmentMap(this.environmentMap)}),{attachScene:function(t){this.scene&&this.detachScene(),t.skybox=this,this.scene=t,t.on("beforerender",this._beforeRenderScene,this)},detachScene:function(){this.scene&&(this.scene.off("beforerender",this._beforeRenderScene),this.scene.skybox=null),this.scene=null},dispose:function(t){this.detachScene(),this.geometry.dispose(t)},setEnvironmentMap:function(t){"texture2D"===t.textureType?(this.material.define("EQUIRECTANGULAR"),t.minFilter=Tj.LINEAR):this.material.undefine("EQUIRECTANGULAR"),this.material.set("environmentMap",t)},getEnvironmentMap:function(){return this.material.get("environmentMap")},_beforeRenderScene:function(t,e,n){this.renderSkybox(t,n)},renderSkybox:function(t,e){var n=this._dummyCamera;n.aspect=t.getViewportAspect(),n.fov=e.fov||50,n.updateProjectionMatrix(),nj.invert(n.invProjectionMatrix,n.projectionMatrix),n.worldTransform.copy(e.worldTransform),n.viewMatrix.copy(e.viewMatrix),this.position.copy(e.getWorldPosition()),this.update(),t.gl.disable(t.gl.BLEND),this.material.get("lod")>0?this.material.define("fragment","LOD"):this.material.undefine("fragment","LOD"),t.renderPass([this],n)}});function GY(t){return t.charCodeAt(0)+(t.charCodeAt(1)<<8)+(t.charCodeAt(2)<<16)+(t.charCodeAt(3)<<24)}var UY=GY("DXT1"),HY=GY("DXT3"),WY=GY("DXT5"),XY=function(t,e){var n=new Int32Array(t,0,31);if(542327876!==n[0])return null;if(4&!n(20))return null;var i,r,o=n(21),a=n[4],s=n[3],l=512&n[28],u=131072&n[2];switch(o){case UY:i=8,r=Tj.COMPRESSED_RGB_S3TC_DXT1_EXT;break;case HY:i=16,r=Tj.COMPRESSED_RGBA_S3TC_DXT3_EXT;break;case WY:i=16,r=Tj.COMPRESSED_RGBA_S3TC_DXT5_EXT;break;default:return null}var c=n[1]+4,h=l?6:1,d=1;u&&(d=Math.max(1,n[7]));for(var p=[],f=0;f<h;f++){var g=a,m=s;p[f]=new Ej({width:g,height:m,format:r});for(var v=[],y=0;y<d;y++){var _=Math.max(4,g)/4*Math.max(4,m)/4*i,x=new Uint8Array(t,c,_);c+=_,g*=.5,m*=.5,v[y]=x}p[f].pixels=v[0],u&&(p[f].mipmaps=v)}if(!e)return p[0];e.width=p[0].width,e.height=p[0].height,e.format=p[0].format,e.pixels=p[0].pixels,e.mipmaps=p[0].mipmaps},jY=String.fromCharCode;function YY(t,e,n,i){if(t[3]>0){var r=Math.pow(2,t[3]-128-8+i);e[n+0]=t[0]*r,e[n+1]=t[1]*r,e[n+2]=t[2]*r}else e[n+0]=0,e[n+1]=0,e[n+2]=0;return e[n+3]=1,e}function ZY(t,e,n,i){for(var r,o,a=0,s=0,l=i;l>0;)if(t[s][0]=e[n++],t[s][1]=e[n++],t[s][2]=e[n++],t[s][3]=e[n++],1===t[s][0]&&1===t[s][1]&&1===t[s][2]){for(var u=t[s][3]<<a>>>0;u>0;u--)r=t[s-1],(o=t[s])[0]=r[0],o[1]=r[1],o[2]=r[2],o[3]=r[3],s++,l--;a+=8}else s++,l--,a=0;return n}function QY(t,e,n,i){if(i<8|i>32767)return ZY(t,e,n,i);if(2!=(r=e[n++]))return ZY(t,e,n-1,i);if(t[0][1]=e[n++],t[0][2]=e[n++],r=e[n++],(t[0][2]<<8>>>0|r)>>>0!==i)return null;for(var r=0;r<4;r++)for(var o=0;o<i;){var a=e[n++];if(a>128){a=(127&a)>>>0;for(var s=e[n++];a--;)t[o++][r]=s}else for(;a--;)t[o++][r]=e[n++]}return n}var qY=function(t,e,n){null==n&&(n=0);var i=new Uint8Array(t),r=i.length;if("#?"===function(t,e,n){for(var i="",r=e;r<n;r++)i+=jY(t[r]);return i}(i,0,2)){for(var o=2;o<r&&("\n"!==jY(i[o])||"\n"!==jY(i[o+1]));o++);if(!(o>=r)){o+=2;for(var a="";o<r;o++){var s=jY(i[o]);if("\n"===s)break;a+=s}var l=a.split(" "),u=parseInt(l[1]),c=parseInt(l[3]);if(c&&u){for(var h=o+1,d=[],p=0;p<c;p++){d[p]=[];for(var f=0;f<4;f++)d[p][f]=0}for(var g=new Float32Array(c*u*4),m=0,v=0;v<u;v++){if(!(h=QY(d,i,h,c)))return null;for(p=0;p<c;p++)YY(d[p],g,m,n),m+=4}return e||(e=new Ej),e.width=c,e.height=u,e.pixels=g,e.type=Tj.FLOAT,e}}}},JY={loadTexture:function(t,e,n,i){var r;if("function"==typeof e?(i=n=e,e={}):e=e||{},"string"==typeof t){if(t.match(/.hdr$/)||"hdr"===e.fileType)return r=new Ej({width:0,height:0,sRGB:!1}),JY._fetchTexture(t,(function(t){qY(t,r,e.exposure),r.dirty(),n&&n(r)}),i),r;t.match(/.dds$/)||"dds"===e.fileType?(r=new Ej({width:0,height:0}),JY._fetchTexture(t,(function(t){XY(t,r),r.dirty(),n&&n(r)}),i)):((r=new Ej).load(t),r.success(n),r.error(i))}else"object"===y(t)&&void 0!==t.px&&((r=new xY).load(t),r.success(n),r.error(i));return r},loadPanorama:function(t,e,n,i,r,o){var a=this;"function"==typeof i?(o=r=i,i={}):i=i||{},JY.loadTexture(e,i,(function(e){e.flipY=i.flipY||!1,a.panoramaToCubeMap(t,e,n,i),e.dispose(t),r&&r(n)}),o)},panoramaToCubeMap:function(t,e,n,i){var r=new kY,o=new VY({scene:new mY});return o.setEnvironmentMap(e),(i=i||{}).encodeRGBM&&o.material.define("fragment","RGBM_ENCODE"),n.sRGB=e.sRGB,r.texture=n,r.render(t,o.scene),r.texture=null,r.dispose(t),n},heightToNormal:function(t,e){var n=document.createElement("canvas"),i=n.width=t.width,r=n.height=t.height,o=n.getContext("2d");o.drawImage(t,0,0,i,r),e=e||!1;for(var a=o.getImageData(0,0,i,r),s=o.createImageData(i,r),l=0;l<a.data.length;l+=4){if(e){var u=a.data[l],c=a.data[l+1],h=a.data[l+2];if(Math.abs(u-c)+Math.abs(c-h)>20)return console.warn("Given image is not a height map"),t}var d,p,f,g;l%(4*i)==0?(d=a.data[l],f=a.data[l+4]):l%(4*i)==4*(i-1)?(d=a.data[l-4],f=a.data[l]):(d=a.data[l-4],f=a.data[l+4]),l<4*i?(p=a.data[l],g=a.data[l+4*i]):l>i*(r-1)*4?(p=a.data[l-4*i],g=a.data[l]):(p=a.data[l-4*i],g=a.data[l+4*i]),s.data[l]=d-f+127,s.data[l+1]=p-g+127,s.data[l+2]=255,s.data[l+3]=255}return o.putImageData(s,0,0),n},isHeightImage:function(t,e,n){if(!t||!t.width||!t.height)return!1;var i=document.createElement("canvas"),r=i.getContext("2d"),o=e||32;n=n||20,i.width=i.height=o,r.drawImage(t,0,0,o,o);for(var a=r.getImageData(0,0,o,o),s=0;s<a.data.length;s+=4){var l=a.data[s],u=a.data[s+1],c=a.data[s+2];if(Math.abs(l-u)+Math.abs(u-c)>n)return!1}return!0},_fetchTexture:function(t,e,n){fW.request.get({url:t,responseType:"arraybuffer",onload:e,onerror:n})},createChessboard:function(t,e,n,i){t=t||512,e=e||64,n=n||"black",i=i||"white";var r=Math.ceil(t/e),o=document.createElement("canvas");o.width=t,o.height=t;var a=o.getContext("2d");a.fillStyle=i,a.fillRect(0,0,t,t),a.fillStyle=n;for(var s=0;s<r;s++)for(var l=0;l<r;l++){(l%2?s%2:s%2-1)&&a.fillRect(s*e,l*e,e,e)}return new Ej({image:o,anisotropic:8})},createBlank:function(t){var e=document.createElement("canvas");e.width=1,e.height=1;var n=e.getContext("2d");return n.fillStyle=t,n.fillRect(0,0,1,1),new Ej({image:e})}},KY=["mousedown","mouseup","mousemove","mouseover","mouseout","click","dblclick","contextmenu"];function $Y(t){return"_on"+t}var tZ=function(t){var e=this;this._texture=new Ej({anisotropic:32,flipY:!1,surface:this,dispose:function(t){e.dispose(),Ej.prototype.dispose.call(this,t)}}),KY.forEach((function(t){this[$Y(t)]=function(e){e.triangle&&this._meshes.forEach((function(n){this.dispatchEvent(t,n,e.triangle,e.point)}),this)}}),this),this._meshes=[],t&&this.setECharts(t),this.onupdate=null};tZ.prototype={constructor:tZ,getTexture:function(){return this._texture},setECharts:function(t){this._chart=t;var e=t.getDom();if(e instanceof HTMLCanvasElement){var n=this,i=t.getZr(),r=i.__oldRefreshImmediately||i.refreshImmediately;i.refreshImmediately=function(){r.call(this),n._texture.dirty(),n.onupdate&&n.onupdate()},i.__oldRefreshImmediately=r}else console.error("ECharts must init on canvas if it is used as texture."),e=document.createElement("canvas");this._texture.image=e,this._texture.dirty(),this.onupdate&&this.onupdate()},dispatchEvent:function(){var t=new LX,e=new LX,n=new LX,i=new GW,r=new GW,o=new GW,a=new GW,s=new LX;return function(l,u,c,h){var d=u.geometry,p=d.attributes.position,f=d.attributes.texcoord0,g=LX.dot,m=LX.cross;p.get(c[0],t.array),p.get(c[1],e.array),p.get(c[2],n.array),f.get(c[0],i.array),f.get(c[1],r.array),f.get(c[2],o.array),m(s,e,n);var v=g(t,s),y=g(h,s)/v;m(s,n,t);var _=g(h,s)/v;m(s,t,e);var x=g(h,s)/v;GW.scale(a,i,y),GW.scaleAndAdd(a,a,r,_),GW.scaleAndAdd(a,a,o,x);var b=a.x*this._chart.getWidth(),w=a.y*this._chart.getHeight();this._chart.getZr().handler.dispatch(l,{zrX:b,zrY:w})}}(),attachToMesh:function(t){this._meshes.indexOf(t)>=0||(KY.forEach((function(e){t.on(e,this[$Y(e)],this)}),this),this._meshes.push(t))},detachFromMesh:function(t){var e=this._meshes.indexOf(t);e>=0&&this._meshes.splice(e,1),KY.forEach((function(e){t.off(e,this[$Y(e)])}),this)},dispose:function(){this._meshes.forEach((function(t){this.detachFromMesh(t)}),this)}};var eZ=lY.extend({left:-1,right:1,near:-1,far:1,top:1,bottom:-1},{updateProjectionMatrix:function(){this.projectionMatrix.ortho(this.left,this.right,this.bottom,this.top,this.near,this.far)},decomposeProjectionMatrix:function(){var t=this.projectionMatrix.array;this.left=(-1-t[12])/t[0],this.right=(1-t[12])/t[0],this.top=(1-t[13])/t[5],this.bottom=(-1-t[13])/t[5],this.near=-(-1-t[14])/t[10],this.far=-(1-t[14])/t[10]},clone:function(){var t=lY.prototype.clone.call(this);return t.left=this.left,t.right=this.right,t.near=this.near,t.far=this.far,t.top=this.top,t.bottom=this.bottom,t}});pX.import("\n@export clay.compositor.vertex\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nattribute vec3 position : POSITION;\nattribute vec2 texcoord : TEXCOORD_0;\nvarying vec2 v_Texcoord;\nvoid main()\n{\n v_Texcoord = texcoord;\n gl_Position = worldViewProjection * vec4(position, 1.0);\n}\n@end");var nZ=new OY,iZ=new Mj({geometry:nZ,frustumCulling:!1}),rZ=new eZ,oZ=sW.extend((function(){return{fragment:"",outputs:null,material:null,blendWithPrevious:!1,clearColor:!1,clearDepth:!0}}),(function(){var t=new pX(pX.source("clay.compositor.vertex"),this.fragment),e=new OW({shader:t});e.enableTexturesAll(),this.material=e}),{setUniform:function(t,e){this.material.setUniform(t,e)},getUniform:function(t){var e=this.material.uniforms[t];if(e)return e.value},attachOutput:function(t,e){this.outputs||(this.outputs={}),e=e||hW.COLOR_ATTACHMENT0,this.outputs[e]=t},detachOutput:function(t){for(var e in this.outputs)this.outputs[e]===t&&(this.outputs[e]=null)},bind:function(t,e){if(this.outputs)for(var n in this.outputs){var i=this.outputs[n];i&&e.attach(i,n)}e&&e.bind(t)},unbind:function(t,e){e.unbind(t)},render:function(t,e){var n=t.gl;if(e){this.bind(t,e);var i=t.getGLExtension("EXT_draw_buffers");if(i&&this.outputs){var r=[];for(var o in this.outputs)(o=+o)>=n.COLOR_ATTACHMENT0&&o<=n.COLOR_ATTACHMENT0+8&&r.push(o);i.drawBuffersEXT(r)}}this.trigger("beforerender",this,t);var a=this.clearDepth?n.DEPTH_BUFFER_BIT:0;if(n.depthMask(!0),this.clearColor){a|=n.COLOR_BUFFER_BIT,n.colorMask(!0,!0,!0,!0);var s=this.clearColor;Array.isArray(s)&&n.clearColor(s[0],s[1],s[2],s[3])}n.clear(a),this.blendWithPrevious?(n.enable(n.BLEND),this.material.transparent=!0):(n.disable(n.BLEND),this.material.transparent=!1),this.renderQuad(t),this.trigger("afterrender",this,t),e&&this.unbind(t,e)},renderQuad:function(t){iZ.material=this.material,t.renderPass([iZ],rZ)},dispose:function(t){}}),aZ={},sZ=["px","nx","py","ny","pz","nz"];aZ.prefilterEnvironmentMap=function(t,e,n,i,r){r&&i||(i=aZ.generateNormalDistribution(),r=aZ.integrateBRDF(t,i));var o=(n=n||{}).width||64,a=n.height||64,s=n.type||e.type,l=new xY({width:o,height:a,type:s,flipY:!1,mipmaps:[]});l.isPowerOfTwo()||console.warn("Width and height must be power of two to enable mipmap.");var u=Math.min(o,a),c=Math.log(u)/Math.log(2)+1,h=new OW({shader:new pX({vertex:pX.source("clay.skybox.vertex"),fragment:"#define SHADER_NAME prefilter\n#define SAMPLE_NUMBER 1024\n#define PI 3.14159265358979\nuniform mat4 viewInverse : VIEWINVERSE;\nuniform samplerCube environmentMap;\nuniform sampler2D normalDistribution;\nuniform float roughness : 0.5;\nvarying vec2 v_Texcoord;\nvarying vec3 v_WorldPosition;\n@import clay.util.rgbm\nvec3 importanceSampleNormal(float i, float roughness, vec3 N) {\n vec3 H = texture2D(normalDistribution, vec2(roughness, i)).rgb;\n vec3 upVector = abs(N.y) > 0.999 ? vec3(1.0, 0.0, 0.0) : vec3(0.0, 1.0, 0.0);\n vec3 tangentX = normalize(cross(N, upVector));\n vec3 tangentZ = cross(N, tangentX);\n return normalize(tangentX * H.x + N * H.y + tangentZ * H.z);\n}\nvoid main() {\n vec3 eyePos = viewInverse[3].xyz;\n vec3 V = normalize(v_WorldPosition - eyePos);\n vec3 N = V;\n vec3 prefilteredColor = vec3(0.0);\n float totalWeight = 0.0;\n float fMaxSampleNumber = float(SAMPLE_NUMBER);\n for (int i = 0; i < SAMPLE_NUMBER; i++) {\n vec3 H = importanceSampleNormal(float(i) / fMaxSampleNumber, roughness, N);\n vec3 L = reflect(-V, H);\n float NoL = clamp(dot(N, L), 0.0, 1.0);\n if (NoL > 0.0) {\n prefilteredColor += decodeHDR(textureCube(environmentMap, L)).rgb * NoL;\n totalWeight += NoL;\n }\n }\n gl_FragColor = encodeHDR(vec4(prefilteredColor / totalWeight, 1.0));\n}\n"})});h.set("normalDistribution",i),n.encodeRGBM&&h.define("fragment","RGBM_ENCODE"),n.decodeRGBM&&h.define("fragment","RGBM_DECODE");var d,p=new mY;if("texture2D"===e.textureType){var f=new xY({width:o,height:a,type:s===Tj.FLOAT?Tj.HALF_FLOAT:s});JY.panoramaToCubeMap(t,e,f,{encodeRGBM:n.decodeRGBM}),e=f}(d=new VY({scene:p,material:h})).material.set("environmentMap",e);var g=new kY({texture:l});n.encodeRGBM&&(s=l.type=Tj.UNSIGNED_BYTE);for(var m=new Ej({width:o,height:a,type:s}),v=new RY({depthBuffer:!1}),y=fW[s===Tj.UNSIGNED_BYTE?"Uint8Array":"Float32Array"],_=0;_<c;_++){l.mipmaps[_]={pixels:{}},d.material.set("roughness",_/(c-1));for(var x=m.width,b=2*Math.atan(x/(x-.5))/Math.PI*180,w=0;w<sZ.length;w++){var S=new y(m.width*m.height*4);v.attach(m),v.bind(t);var A=g.getCamera(sZ[w]);A.fov=b,t.render(p,A),t.gl.readPixels(0,0,m.width,m.height,Tj.RGBA,s,S),v.unbind(t),l.mipmaps[_].pixels[sZ[w]]=S}m.width/=2,m.height/=2,m.dirty()}return v.dispose(t),m.dispose(t),d.dispose(t),i.dispose(t),{environmentMap:l,brdfLookup:r,normalDistribution:i,maxMipmapLevel:c}},aZ.integrateBRDF=function(t,e){e=e||aZ.generateNormalDistribution();var n=new RY({depthBuffer:!1}),i=new oZ({fragment:"#define SAMPLE_NUMBER 1024\n#define PI 3.14159265358979\nuniform sampler2D normalDistribution;\nuniform vec2 viewportSize : [512, 256];\nconst vec3 N = vec3(0.0, 0.0, 1.0);\nconst float fSampleNumber = float(SAMPLE_NUMBER);\nvec3 importanceSampleNormal(float i, float roughness, vec3 N) {\n vec3 H = texture2D(normalDistribution, vec2(roughness, i)).rgb;\n vec3 upVector = abs(N.y) > 0.999 ? vec3(1.0, 0.0, 0.0) : vec3(0.0, 1.0, 0.0);\n vec3 tangentX = normalize(cross(N, upVector));\n vec3 tangentZ = cross(N, tangentX);\n return normalize(tangentX * H.x + N * H.y + tangentZ * H.z);\n}\nfloat G_Smith(float roughness, float NoV, float NoL) {\n float k = roughness * roughness / 2.0;\n float G1V = NoV / (NoV * (1.0 - k) + k);\n float G1L = NoL / (NoL * (1.0 - k) + k);\n return G1L * G1V;\n}\nvoid main() {\n vec2 uv = gl_FragCoord.xy / viewportSize;\n float NoV = uv.x;\n float roughness = uv.y;\n vec3 V;\n V.x = sqrt(1.0 - NoV * NoV);\n V.y = 0.0;\n V.z = NoV;\n float A = 0.0;\n float B = 0.0;\n for (int i = 0; i < SAMPLE_NUMBER; i++) {\n vec3 H = importanceSampleNormal(float(i) / fSampleNumber, roughness, N);\n vec3 L = reflect(-V, H);\n float NoL = clamp(L.z, 0.0, 1.0);\n float NoH = clamp(H.z, 0.0, 1.0);\n float VoH = clamp(dot(V, H), 0.0, 1.0);\n if (NoL > 0.0) {\n float G = G_Smith(roughness, NoV, NoL);\n float G_Vis = G * VoH / (NoH * NoV);\n float Fc = pow(1.0 - VoH, 5.0);\n A += (1.0 - Fc) * G_Vis;\n B += Fc * G_Vis;\n }\n }\n gl_FragColor = vec4(vec2(A, B) / fSampleNumber, 0.0, 1.0);\n}\n"}),r=new Ej({width:512,height:256,type:Tj.HALF_FLOAT,wrapS:Tj.CLAMP_TO_EDGE,wrapT:Tj.CLAMP_TO_EDGE,minFilter:Tj.NEAREST,magFilter:Tj.NEAREST,useMipmap:!1});return i.setUniform("normalDistribution",e),i.setUniform("viewportSize",[512,256]),i.attachOutput(r),i.render(t,n),n.dispose(t),r},aZ.generateNormalDistribution=function(t,e){for(var n=new Ej({width:t=t||256,height:e=e||1024,type:Tj.FLOAT,minFilter:Tj.NEAREST,magFilter:Tj.NEAREST,wrapS:Tj.CLAMP_TO_EDGE,wrapT:Tj.CLAMP_TO_EDGE,useMipmap:!1}),i=new Float32Array(e*t*4),r=[],o=0;o<t;o++){for(var a=o/t,s=a*a,l=0;l<e;l++){var u=(l<<16|l>>>16)>>>0;u=(((16711935&(u=((252645135&(u=((858993459&(u=((1431655765&u)<<1|(2863311530&u)>>>1)>>>0))<<2|(3435973836&u)>>>2)>>>0))<<4|(4042322160&u)>>>4)>>>0))<<8|(4278255360&u)>>>8)>>>0)/4294967296;var c=Math.sqrt((1-u)/(1+(s*s-1)*u));r[l]=c}for(l=0;l<e;l++){var h=4*(l*t+o),d=(c=r[l],Math.sqrt(1-c*c)),p=l/e,f=2*Math.PI*p;i[h]=d*Math.cos(f),i[h+1]=c,i[h+2]=d*Math.sin(f),i[h+3]=1}}return n.pixels=i,n};var lZ=Kj.extend({cubemap:null,castShadow:!1,_normalDistribution:null,_brdfLookup:null},{type:"AMBIENT_CUBEMAP_LIGHT",prefilter:function(t,e){if(t.getGLExtension("EXT_shader_texture_lod")){this._brdfLookup||(this._normalDistribution=aZ.generateNormalDistribution(),this._brdfLookup=aZ.integrateBRDF(t,this._normalDistribution));var n=this.cubemap;if(!n.__prefiltered){var i=aZ.prefilterEnvironmentMap(t,n,{encodeRGBM:!0,width:e,height:e},this._normalDistribution,this._brdfLookup);this.cubemap=i.environmentMap,this.cubemap.__prefiltered=!0,n.dispose(t)}}else console.warn("Device not support textureCubeLodEXT")},getBRDFLookup:function(){return this._brdfLookup},uniformTemplates:{ambientCubemapLightColor:{type:"3f",value:function(t){var e=t.color,n=t.intensity;return[e[0]*n,e[1]*n,e[2]*n]}},ambientCubemapLightCubemap:{type:"t",value:function(t){return t.cubemap}},ambientCubemapLightBRDFLookup:{type:"t",value:function(t){return t._brdfLookup}}}}),uZ=Kj.extend({castShadow:!1,coefficients:[]},(function(){this._coefficientsTmpArr=new fW.Float32Array(27)}),{type:"AMBIENT_SH_LIGHT",uniformTemplates:{ambientSHLightColor:{type:"3f",value:function(t){var e=t.color,n=t.intensity;return[e[0]*n,e[1]*n,e[2]*n]}},ambientSHLightCoefficients:{type:"3f",value:function(t){for(var e=t._coefficientsTmpArr,n=0;n<t.coefficients.length;n++)e[n]=t.coefficients[n];return e}}}}),cZ={},hZ=["px","nx","py","ny","pz","nz"];function dZ(t,e){var n=t[0],i=t[1],r=t[2];return 0===e?1:1===e?n:2===e?i:3===e?r:4===e?n*r:5===e?i*r:6===e?n*i:7===e?3*r*r-1:n*n-i*i}var pZ={px:[2,1,0,-1,-1,1],nx:[2,1,0,1,-1,-1],py:[0,2,1,1,-1,-1],ny:[0,2,1,1,1,1],pz:[0,1,2,-1,-1,-1],nz:[0,1,2,1,-1,1]};cZ.projectEnvironmentMap=function(t,e,n){var i;(n=n||{}).lod=n.lod||0;var r=new mY,o=64;"texture2D"===e.textureType||(o=e.image&&e.image.px?e.image.px.width:e.width),i=new VY({scene:r,environmentMap:e});var a=Math.ceil(o/Math.pow(2,n.lod)),s=Math.ceil(o/Math.pow(2,n.lod)),l=new Ej({width:a,height:s}),u=new RY;i.material.define("fragment","RGBM_ENCODE"),n.decodeRGBM&&i.material.define("fragment","RGBM_DECODE"),i.material.set("lod",n.lod);for(var c=new kY({texture:l}),h={},d=0;d<hZ.length;d++){h[hZ[d]]=new Uint8Array(a*s*4);var p=c.getCamera(hZ[d]);p.fov=90,u.attach(l),u.bind(t),t.render(r,p),t.gl.readPixels(0,0,a,s,Tj.RGBA,Tj.UNSIGNED_BYTE,h[hZ[d]]),u.unbind(t)}return i.dispose(t),u.dispose(t),l.dispose(t),function(t,e,n,i){for(var r=new fW.Float32Array(27),o=yX.create(),a=yX.create(),s=yX.create(),l=0;l<9;l++){for(var u=yX.create(),c=0;c<hZ.length;c++){for(var h=e[hZ[c]],d=yX.create(),p=0,f=0,g=pZ[hZ[c]],m=0;m<i;m++)for(var v=0;v<n;v++){o[0]=v/(n-1)*2-1,o[1]=m/(i-1)*2-1,o[2]=-1,yX.normalize(o,o),s[0]=o[g[0]]*g[3],s[1]=o[g[1]]*g[4],s[2]=o[g[2]]*g[5],a[0]=h[f++]/255,a[1]=h[f++]/255,a[2]=h[f++]/255;var y=h[f++]/255*8.12;a[0]*=y,a[1]*=y,a[2]*=y,yX.scaleAndAdd(d,d,a,dZ(s,l)*-o[2]),p+=-o[2]}yX.scaleAndAdd(u,u,d,1/p)}r[3*l]=u[0]/6,r[3*l+1]=u[1]/6,r[3*l+2]=u[2]/6}return r}(0,h,a,s)};var fZ=function(){for(var t=0,e=arguments.length;t<e;t++)if(null!=arguments[t])return arguments[t]},gZ=function(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?he(e.dataIndex)?oe(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?he(e.name)?oe(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0},mZ=Gj.extend({dynamic:!1,widthSegments:40,heightSegments:20,phiStart:0,phiLength:2*Math.PI,thetaStart:0,thetaLength:Math.PI,radius:1},(function(){this.build()}),{build:function(){var t=this.heightSegments,e=this.widthSegments,n=this.attributes.position,i=this.attributes.texcoord0,r=this.attributes.normal,o=(e+1)*(t+1);n.init(o),i.init(o),r.init(o);var a,s,l,u,c,h,d,p,f,g,m,v=o>65535?Uint32Array:Uint16Array,y=this.indices=new v(e*t*6),_=this.radius,x=this.phiStart,b=this.phiLength,w=this.thetaStart,S=this.thetaLength,A=[],T=[],M=0,I=1/(_=this.radius);for(d=0;d<=t;d++)for(h=0;h<=e;h++)u=h/e,c=d/t,a=-_*Math.cos(x+u*b)*Math.sin(w+c*S),s=_*Math.cos(w+c*S),l=_*Math.sin(x+u*b)*Math.sin(w+c*S),A[0]=a,A[1]=s,A[2]=l,T[0]=u,T[1]=c,n.set(M,A),i.set(M,T),A[0]*=I,A[1]*=I,A[2]*=I,r.set(M,A),M++;var C=e+1,D=0;for(d=0;d<t;d++)for(h=0;h<e;h++)f=d*C+h,p=d*C+h+1,m=(d+1)*C+h+1,g=(d+1)*C+h,y[D++]=p,y[D++]=f,y[D++]=m,y[D++]=f,y[D++]=g,y[D++]=m;this.boundingBox=new mj,this.boundingBox.max.set(_,_,_),this.boundingBox.min.set(-_,-_,-_)}}),vZ=Kj.extend({castShadow:!1},{type:"AMBIENT_LIGHT",uniformTemplates:{ambientLightColor:{type:"3f",value:function(t){var e=t.color,n=t.intensity;return[e[0]*n,e[1]*n,e[2]*n]}}}}),yZ=Kj.extend({shadowBias:.001,shadowSlopeScale:2,shadowCascade:1,cascadeSplitLogFactor:.2},{type:"DIRECTIONAL_LIGHT",uniformTemplates:{directionalLightDirection:{type:"3f",value:function(t){return t.__dir=t.__dir||new LX,t.__dir.copy(t.worldTransform.z).normalize().negate().array}},directionalLightColor:{type:"3f",value:function(t){var e=t.color,n=t.intensity;return[e[0]*n,e[1]*n,e[2]*n]}}},clone:function(){var t=Kj.prototype.clone.call(this);return t.shadowBias=this.shadowBias,t.shadowSlopeScale=this.shadowSlopeScale,t}}),_Z=Kj.extend({range:100,castShadow:!1},{type:"POINT_LIGHT",uniformTemplates:{pointLightPosition:{type:"3f",value:function(t){return t.getWorldPosition().array}},pointLightRange:{type:"1f",value:function(t){return t.range}},pointLightColor:{type:"3f",value:function(t){var e=t.color,n=t.intensity;return[e[0]*n,e[1]*n,e[2]*n]}}},clone:function(){var t=Kj.prototype.clone.call(this);return t.range=this.range,t}}),xZ=Kj.extend({range:20,umbraAngle:30,penumbraAngle:45,falloffFactor:2,shadowBias:.001,shadowSlopeScale:2},{type:"SPOT_LIGHT",uniformTemplates:{spotLightPosition:{type:"3f",value:function(t){return t.getWorldPosition().array}},spotLightRange:{type:"1f",value:function(t){return t.range}},spotLightUmbraAngleCosine:{type:"1f",value:function(t){return Math.cos(t.umbraAngle*Math.PI/180)}},spotLightPenumbraAngleCosine:{type:"1f",value:function(t){return Math.cos(t.penumbraAngle*Math.PI/180)}},spotLightFalloffFactor:{type:"1f",value:function(t){return t.falloffFactor}},spotLightDirection:{type:"3f",value:function(t){return t.__dir=t.__dir||new LX,t.__dir.copy(t.worldTransform.z).negate().array}},spotLightColor:{type:"3f",value:function(t){var e=t.color,n=t.intensity;return[e[0]*n,e[1]*n,e[2]*n]}}},clone:function(){var t=Kj.prototype.clone.call(this);return t.range=this.range,t.umbraAngle=this.umbraAngle,t.penumbraAngle=this.penumbraAngle,t.falloffFactor=this.falloffFactor,t.shadowBias=this.shadowBias,t.shadowSlopeScale=this.shadowSlopeScale,t}}),bZ=function(t,e,n,i){t=t||0,e=e||0,n=n||0,i=i||0,this.array=XX.fromValues(t,e,n,i),this._dirty=!0};bZ.prototype={constructor:bZ,add:function(t){return XX.add(this.array,this.array,t.array),this._dirty=!0,this},set:function(t,e,n,i){return this.array[0]=t,this.array[1]=e,this.array[2]=n,this.array[3]=i,this._dirty=!0,this},setArray:function(t){return this.array[0]=t[0],this.array[1]=t[1],this.array[2]=t[2],this.array[3]=t[3],this._dirty=!0,this},clone:function(){return new bZ(this.x,this.y,this.z,this.w)},copy:function(t){return XX.copy(this.array,t.array),this._dirty=!0,this},dist:function(t){return XX.dist(this.array,t.array)},distance:function(t){return XX.distance(this.array,t.array)},div:function(t){return XX.div(this.array,this.array,t.array),this._dirty=!0,this},divide:function(t){return XX.divide(this.array,this.array,t.array),this._dirty=!0,this},dot:function(t){return XX.dot(this.array,t.array)},len:function(){return XX.len(this.array)},length:function(){return XX.length(this.array)},lerp:function(t,e,n){return XX.lerp(this.array,t.array,e.array,n),this._dirty=!0,this},min:function(t){return XX.min(this.array,this.array,t.array),this._dirty=!0,this},max:function(t){return XX.max(this.array,this.array,t.array),this._dirty=!0,this},mul:function(t){return XX.mul(this.array,this.array,t.array),this._dirty=!0,this},multiply:function(t){return XX.multiply(this.array,this.array,t.array),this._dirty=!0,this},negate:function(){return XX.negate(this.array,this.array),this._dirty=!0,this},normalize:function(){return XX.normalize(this.array,this.array),this._dirty=!0,this},random:function(t){return XX.random(this.array,t),this._dirty=!0,this},scale:function(t){return XX.scale(this.array,this.array,t),this._dirty=!0,this},scaleAndAdd:function(t,e){return XX.scaleAndAdd(this.array,this.array,t.array,e),this._dirty=!0,this},sqrDist:function(t){return XX.sqrDist(this.array,t.array)},squaredDistance:function(t){return XX.squaredDistance(this.array,t.array)},sqrLen:function(){return XX.sqrLen(this.array)},squaredLength:function(){return XX.squaredLength(this.array)},sub:function(t){return XX.sub(this.array,this.array,t.array),this._dirty=!0,this},subtract:function(t){return XX.subtract(this.array,this.array,t.array),this._dirty=!0,this},transformMat4:function(t){return XX.transformMat4(this.array,this.array,t.array),this._dirty=!0,this},transformQuat:function(t){return XX.transformQuat(this.array,this.array,t.array),this._dirty=!0,this},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}};var wZ=Object.defineProperty;if(wZ){var SZ=bZ.prototype;wZ(SZ,"x",{get:function(){return this.array[0]},set:function(t){this.array[0]=t,this._dirty=!0}}),wZ(SZ,"y",{get:function(){return this.array[1]},set:function(t){this.array[1]=t,this._dirty=!0}}),wZ(SZ,"z",{get:function(){return this.array[2]},set:function(t){this.array[2]=t,this._dirty=!0}}),wZ(SZ,"w",{get:function(){return this.array[3]},set:function(t){this.array[3]=t,this._dirty=!0}})}bZ.add=function(t,e,n){return XX.add(t.array,e.array,n.array),t._dirty=!0,t},bZ.set=function(t,e,n,i,r){XX.set(t.array,e,n,i,r),t._dirty=!0},bZ.copy=function(t,e){return XX.copy(t.array,e.array),t._dirty=!0,t},bZ.distance=bZ.dist=function(t,e){return XX.distance(t.array,e.array)},bZ.div=function(t,e,n){return XX.divide(t.array,e.array,n.array),t._dirty=!0,t},bZ.divide=bZ.div,bZ.dot=function(t,e){return XX.dot(t.array,e.array)},bZ.len=function(t){return XX.length(t.array)},bZ.lerp=function(t,e,n,i){return XX.lerp(t.array,e.array,n.array,i),t._dirty=!0,t},bZ.min=function(t,e,n){return XX.min(t.array,e.array,n.array),t._dirty=!0,t},bZ.max=function(t,e,n){return XX.max(t.array,e.array,n.array),t._dirty=!0,t},bZ.mul=function(t,e,n){return XX.multiply(t.array,e.array,n.array),t._dirty=!0,t},bZ.multiply=bZ.mul,bZ.negate=function(t,e){return XX.negate(t.array,e.array),t._dirty=!0,t},bZ.normalize=function(t,e){return XX.normalize(t.array,e.array),t._dirty=!0,t},bZ.random=function(t,e){return XX.random(t.array,e),t._dirty=!0,t},bZ.scale=function(t,e,n){return XX.scale(t.array,e.array,n),t._dirty=!0,t},bZ.scaleAndAdd=function(t,e,n,i){return XX.scaleAndAdd(t.array,e.array,n.array,i),t._dirty=!0,t},bZ.squaredDistance=bZ.sqrDist=function(t,e){return XX.sqrDist(t.array,e.array)},bZ.squaredLength=bZ.sqrLen=function(t){return XX.sqrLen(t.array)},bZ.sub=function(t,e,n){return XX.subtract(t.array,e.array,n.array),t._dirty=!0,t},bZ.subtract=bZ.sub,bZ.transformMat4=function(t,e,n){return XX.transformMat4(t.array,e.array,n.array),t._dirty=!0,t},bZ.transformQuat=function(t,e,n){return XX.transformQuat(t.array,e.array,n.array),t._dirty=!0,t};var AZ={create:function(){var t=new zW(4);return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t},clone:function(t){var e=new zW(4);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t},transpose:function(t,e){if(t===e){var n=e[1];t[1]=e[2],t[2]=n}else t[0]=e[0],t[1]=e[2],t[2]=e[1],t[3]=e[3];return t},invert:function(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=n*o-r*i;return a?(a=1/a,t[0]=o*a,t[1]=-i*a,t[2]=-r*a,t[3]=n*a,t):null},adjoint:function(t,e){var n=e[0];return t[0]=e[3],t[1]=-e[1],t[2]=-e[2],t[3]=n,t},determinant:function(t){return t[0]*t[3]-t[2]*t[1]},multiply:function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=n[0],l=n[1],u=n[2],c=n[3];return t[0]=i*s+o*l,t[1]=r*s+a*l,t[2]=i*u+o*c,t[3]=r*u+a*c,t}};AZ.mul=AZ.multiply,AZ.rotate=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=Math.sin(n),l=Math.cos(n);return t[0]=i*l+o*s,t[1]=r*l+a*s,t[2]=i*-s+o*l,t[3]=r*-s+a*l,t},AZ.scale=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=n[0],l=n[1];return t[0]=i*s,t[1]=r*s,t[2]=o*l,t[3]=a*l,t},AZ.frob=function(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2)+Math.pow(t[2],2)+Math.pow(t[3],2))},AZ.LDU=function(t,e,n,i){return t[2]=i[2]/i[0],n[0]=i[0],n[1]=i[1],n[3]=i[3]-t[2]*n[1],[t,e,n]};var TZ=function(){this.array=AZ.create(),this._dirty=!0};TZ.prototype={constructor:TZ,setArray:function(t){for(var e=0;e<this.array.length;e++)this.array[e]=t[e];return this._dirty=!0,this},clone:function(){return(new TZ).copy(this)},copy:function(t){return AZ.copy(this.array,t.array),this._dirty=!0,this},adjoint:function(){return AZ.adjoint(this.array,this.array),this._dirty=!0,this},determinant:function(){return AZ.determinant(this.array)},identity:function(){return AZ.identity(this.array),this._dirty=!0,this},invert:function(){return AZ.invert(this.array,this.array),this._dirty=!0,this},mul:function(t){return AZ.mul(this.array,this.array,t.array),this._dirty=!0,this},mulLeft:function(t){return AZ.mul(this.array,t.array,this.array),this._dirty=!0,this},multiply:function(t){return AZ.multiply(this.array,this.array,t.array),this._dirty=!0,this},multiplyLeft:function(t){return AZ.multiply(this.array,t.array,this.array),this._dirty=!0,this},rotate:function(t){return AZ.rotate(this.array,this.array,t),this._dirty=!0,this},scale:function(t){return AZ.scale(this.array,this.array,t.array),this._dirty=!0,this},transpose:function(){return AZ.transpose(this.array,this.array),this._dirty=!0,this},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}},TZ.adjoint=function(t,e){return AZ.adjoint(t.array,e.array),t._dirty=!0,t},TZ.copy=function(t,e){return AZ.copy(t.array,e.array),t._dirty=!0,t},TZ.determinant=function(t){return AZ.determinant(t.array)},TZ.identity=function(t){return AZ.identity(t.array),t._dirty=!0,t},TZ.invert=function(t,e){return AZ.invert(t.array,e.array),t._dirty=!0,t},TZ.mul=function(t,e,n){return AZ.mul(t.array,e.array,n.array),t._dirty=!0,t},TZ.multiply=TZ.mul,TZ.rotate=function(t,e,n){return AZ.rotate(t.array,e.array,n),t._dirty=!0,t},TZ.scale=function(t,e,n){return AZ.scale(t.array,e.array,n.array),t._dirty=!0,t},TZ.transpose=function(t,e){return AZ.transpose(t.array,e.array),t._dirty=!0,t};var MZ={create:function(){var t=new zW(6);return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t},clone:function(t){var e=new zW(6);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t},invert:function(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],l=n*o-i*r;return l?(l=1/l,t[0]=o*l,t[1]=-i*l,t[2]=-r*l,t[3]=n*l,t[4]=(r*s-o*a)*l,t[5]=(i*a-n*s)*l,t):null},determinant:function(t){return t[0]*t[3]-t[1]*t[2]},multiply:function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=n[0],c=n[1],h=n[2],d=n[3],p=n[4],f=n[5];return t[0]=i*u+o*c,t[1]=r*u+a*c,t[2]=i*h+o*d,t[3]=r*h+a*d,t[4]=i*p+o*f+s,t[5]=r*p+a*f+l,t}};MZ.mul=MZ.multiply,MZ.rotate=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=Math.sin(n),c=Math.cos(n);return t[0]=i*c+o*u,t[1]=r*c+a*u,t[2]=i*-u+o*c,t[3]=r*-u+a*c,t[4]=s,t[5]=l,t},MZ.scale=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=n[0],c=n[1];return t[0]=i*u,t[1]=r*u,t[2]=o*c,t[3]=a*c,t[4]=s,t[5]=l,t},MZ.translate=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=n[0],c=n[1];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=i*u+o*c+s,t[5]=r*u+a*c+l,t},MZ.frob=function(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2)+Math.pow(t[2],2)+Math.pow(t[3],2)+Math.pow(t[4],2)+Math.pow(t[5],2)+1)};var IZ=function(){this.array=MZ.create(),this._dirty=!0};IZ.prototype={constructor:IZ,setArray:function(t){for(var e=0;e<this.array.length;e++)this.array[e]=t[e];return this._dirty=!0,this},clone:function(){return(new IZ).copy(this)},copy:function(t){return MZ.copy(this.array,t.array),this._dirty=!0,this},determinant:function(){return MZ.determinant(this.array)},identity:function(){return MZ.identity(this.array),this._dirty=!0,this},invert:function(){return MZ.invert(this.array,this.array),this._dirty=!0,this},mul:function(t){return MZ.mul(this.array,this.array,t.array),this._dirty=!0,this},mulLeft:function(t){return MZ.mul(this.array,t.array,this.array),this._dirty=!0,this},multiply:function(t){return MZ.multiply(this.array,this.array,t.array),this._dirty=!0,this},multiplyLeft:function(t){return MZ.multiply(this.array,t.array,this.array),this._dirty=!0,this},rotate:function(t){return MZ.rotate(this.array,this.array,t),this._dirty=!0,this},scale:function(t){return MZ.scale(this.array,this.array,t.array),this._dirty=!0,this},translate:function(t){return MZ.translate(this.array,this.array,t.array),this._dirty=!0,this},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}},IZ.copy=function(t,e){return MZ.copy(t.array,e.array),t._dirty=!0,t},IZ.determinant=function(t){return MZ.determinant(t.array)},IZ.identity=function(t){return MZ.identity(t.array),t._dirty=!0,t},IZ.invert=function(t,e){return MZ.invert(t.array,e.array),t._dirty=!0,t},IZ.mul=function(t,e,n){return MZ.mul(t.array,e.array,n.array),t._dirty=!0,t},IZ.multiply=IZ.mul,IZ.rotate=function(t,e,n){return MZ.rotate(t.array,e.array,n),t._dirty=!0,t},IZ.scale=function(t,e,n){return MZ.scale(t.array,e.array,n.array),t._dirty=!0,t},IZ.translate=function(t,e,n){return MZ.translate(t.array,e.array,n.array),t._dirty=!0,t};var CZ=function(){this.array=jX.create(),this._dirty=!0};CZ.prototype={constructor:CZ,setArray:function(t){for(var e=0;e<this.array.length;e++)this.array[e]=t[e];return this._dirty=!0,this},adjoint:function(){return jX.adjoint(this.array,this.array),this._dirty=!0,this},clone:function(){return(new CZ).copy(this)},copy:function(t){return jX.copy(this.array,t.array),this._dirty=!0,this},determinant:function(){return jX.determinant(this.array)},fromMat2d:function(t){return jX.fromMat2d(this.array,t.array),this._dirty=!0,this},fromMat4:function(t){return jX.fromMat4(this.array,t.array),this._dirty=!0,this},fromQuat:function(t){return jX.fromQuat(this.array,t.array),this._dirty=!0,this},identity:function(){return jX.identity(this.array),this._dirty=!0,this},invert:function(){return jX.invert(this.array,this.array),this._dirty=!0,this},mul:function(t){return jX.mul(this.array,this.array,t.array),this._dirty=!0,this},mulLeft:function(t){return jX.mul(this.array,t.array,this.array),this._dirty=!0,this},multiply:function(t){return jX.multiply(this.array,this.array,t.array),this._dirty=!0,this},multiplyLeft:function(t){return jX.multiply(this.array,t.array,this.array),this._dirty=!0,this},rotate:function(t){return jX.rotate(this.array,this.array,t),this._dirty=!0,this},scale:function(t){return jX.scale(this.array,this.array,t.array),this._dirty=!0,this},translate:function(t){return jX.translate(this.array,this.array,t.array),this._dirty=!0,this},normalFromMat4:function(t){return jX.normalFromMat4(this.array,t.array),this._dirty=!0,this},transpose:function(){return jX.transpose(this.array,this.array),this._dirty=!0,this},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}},CZ.adjoint=function(t,e){return jX.adjoint(t.array,e.array),t._dirty=!0,t},CZ.copy=function(t,e){return jX.copy(t.array,e.array),t._dirty=!0,t},CZ.determinant=function(t){return jX.determinant(t.array)},CZ.identity=function(t){return jX.identity(t.array),t._dirty=!0,t},CZ.invert=function(t,e){return jX.invert(t.array,e.array),t},CZ.mul=function(t,e,n){return jX.mul(t.array,e.array,n.array),t._dirty=!0,t},CZ.multiply=CZ.mul,CZ.fromMat2d=function(t,e){return jX.fromMat2d(t.array,e.array),t._dirty=!0,t},CZ.fromMat4=function(t,e){return jX.fromMat4(t.array,e.array),t._dirty=!0,t},CZ.fromQuat=function(t,e){return jX.fromQuat(t.array,e.array),t._dirty=!0,t},CZ.normalFromMat4=function(t,e){return jX.normalFromMat4(t.array,e.array),t._dirty=!0,t},CZ.rotate=function(t,e,n){return jX.rotate(t.array,e.array,n),t._dirty=!0,t},CZ.scale=function(t,e,n){return jX.scale(t.array,e.array,n.array),t._dirty=!0,t},CZ.transpose=function(t,e){return jX.transpose(t.array,e.array),t._dirty=!0,t},CZ.translate=function(t,e,n){return jX.translate(t.array,e.array,n.array),t._dirty=!0,t};var DZ={_animators:null,getAnimators:function(){return this._animators=this._animators||[],this._animators},animate:function(t,e){this._animators=this._animators||[];var n;if(t){for(var i=t.split("."),r=this,o=0,a=i.length;o<a;o++)r&&(r=r[i[o]]);r&&(n=r)}else n=this;if(null==n)throw new Error("Target "+t+" not exists");var s=this._animators,l=new Zr(n,e),u=this;return l.during((function(){u.__zr&&u.__zr.refresh()})).done((function(){var t=s.indexOf(l);t>=0&&s.splice(t,1)})),s.push(l),this.__zr&&this.__zr.animation.addAnimator(l),l},stopAnimation:function(t){this._animators=this._animators||[];for(var e=this._animators,n=e.length,i=0;i<n;i++)e[i].stop(t);return e.length=0,this},addAnimatorsToZr:function(t){if(this._animators)for(var e=0;e<this._animators.length;e++)t.animation.addAnimator(this._animators[e])},removeAnimatorsFromZr:function(t){if(this._animators)for(var e=0;e<this._animators.length;e++)t.animation.removeAnimator(this._animators[e])}},EZ="\n@export clay.util.rand\nhighp float rand(vec2 uv) {\n const highp float a = 12.9898, b = 78.233, c = 43758.5453;\n highp float dt = dot(uv.xy, vec2(a,b)), sn = mod(dt, 3.141592653589793);\n return fract(sin(sn) * c);\n}\n@end\n@export clay.util.calculate_attenuation\nuniform float attenuationFactor : 5.0;\nfloat lightAttenuation(float dist, float range)\n{\n float attenuation = 1.0;\n attenuation = dist*dist/(range*range+1.0);\n float att_s = attenuationFactor;\n attenuation = 1.0/(attenuation*att_s+1.0);\n att_s = 1.0/(att_s+1.0);\n attenuation = attenuation - att_s;\n attenuation /= 1.0 - att_s;\n return clamp(attenuation, 0.0, 1.0);\n}\n@end\n@export clay.util.edge_factor\n#ifdef SUPPORT_STANDARD_DERIVATIVES\nfloat edgeFactor(float width)\n{\n vec3 d = fwidth(v_Barycentric);\n vec3 a3 = smoothstep(vec3(0.0), d * width, v_Barycentric);\n return min(min(a3.x, a3.y), a3.z);\n}\n#else\nfloat edgeFactor(float width)\n{\n return 1.0;\n}\n#endif\n@end\n@export clay.util.encode_float\nvec4 encodeFloat(const in float depth)\n{\n const vec4 bitShifts = vec4(256.0*256.0*256.0, 256.0*256.0, 256.0, 1.0);\n const vec4 bit_mask = vec4(0.0, 1.0/256.0, 1.0/256.0, 1.0/256.0);\n vec4 res = fract(depth * bitShifts);\n res -= res.xxyz * bit_mask;\n return res;\n}\n@end\n@export clay.util.decode_float\nfloat decodeFloat(const in vec4 color)\n{\n const vec4 bitShifts = vec4(1.0/(256.0*256.0*256.0), 1.0/(256.0*256.0), 1.0/256.0, 1.0);\n return dot(color, bitShifts);\n}\n@end\n@export clay.util.float\n@import clay.util.encode_float\n@import clay.util.decode_float\n@end\n@export clay.util.rgbm_decode\nvec3 RGBMDecode(vec4 rgbm, float range) {\n return range * rgbm.rgb * rgbm.a;\n}\n@end\n@export clay.util.rgbm_encode\nvec4 RGBMEncode(vec3 color, float range) {\n if (dot(color, color) == 0.0) {\n return vec4(0.0);\n }\n vec4 rgbm;\n color /= range;\n rgbm.a = clamp(max(max(color.r, color.g), max(color.b, 1e-6)), 0.0, 1.0);\n rgbm.a = ceil(rgbm.a * 255.0) / 255.0;\n rgbm.rgb = color / rgbm.a;\n return rgbm;\n}\n@end\n@export clay.util.rgbm\n@import clay.util.rgbm_decode\n@import clay.util.rgbm_encode\nvec4 decodeHDR(vec4 color)\n{\n#if defined(RGBM_DECODE) || defined(RGBM)\n return vec4(RGBMDecode(color, 8.12), 1.0);\n#else\n return color;\n#endif\n}\nvec4 encodeHDR(vec4 color)\n{\n#if defined(RGBM_ENCODE) || defined(RGBM)\n return RGBMEncode(color.xyz, 8.12);\n#else\n return color;\n#endif\n}\n@end\n@export clay.util.srgb\nvec4 sRGBToLinear(in vec4 value) {\n return vec4(mix(pow(value.rgb * 0.9478672986 + vec3(0.0521327014), vec3(2.4)), value.rgb * 0.0773993808, vec3(lessThanEqual(value.rgb, vec3(0.04045)))), value.w);\n}\nvec4 linearTosRGB(in vec4 value) {\n return vec4(mix(pow(value.rgb, vec3(0.41666)) * 1.055 - vec3(0.055), value.rgb * 12.92, vec3(lessThanEqual(value.rgb, vec3(0.0031308)))), value.w);\n}\n@end\n@export clay.chunk.skinning_header\n#ifdef SKINNING\nattribute vec3 weight : WEIGHT;\nattribute vec4 joint : JOINT;\n#ifdef USE_SKIN_MATRICES_TEXTURE\nuniform sampler2D skinMatricesTexture : ignore;\nuniform float skinMatricesTextureSize: ignore;\nmat4 getSkinMatrix(sampler2D tex, float idx) {\n float j = idx * 4.0;\n float x = mod(j, skinMatricesTextureSize);\n float y = floor(j / skinMatricesTextureSize) + 0.5;\n vec2 scale = vec2(skinMatricesTextureSize);\n return mat4(\n texture2D(tex, vec2(x + 0.5, y) / scale),\n texture2D(tex, vec2(x + 1.5, y) / scale),\n texture2D(tex, vec2(x + 2.5, y) / scale),\n texture2D(tex, vec2(x + 3.5, y) / scale)\n );\n}\nmat4 getSkinMatrix(float idx) {\n return getSkinMatrix(skinMatricesTexture, idx);\n}\n#else\nuniform mat4 skinMatrix[JOINT_COUNT] : SKIN_MATRIX;\nmat4 getSkinMatrix(float idx) {\n return skinMatrix[int(idx)];\n}\n#endif\n#endif\n@end\n@export clay.chunk.skin_matrix\nmat4 skinMatrixWS = getSkinMatrix(joint.x) * weight.x;\nif (weight.y > 1e-4)\n{\n skinMatrixWS += getSkinMatrix(joint.y) * weight.y;\n}\nif (weight.z > 1e-4)\n{\n skinMatrixWS += getSkinMatrix(joint.z) * weight.z;\n}\nfloat weightW = 1.0-weight.x-weight.y-weight.z;\nif (weightW > 1e-4)\n{\n skinMatrixWS += getSkinMatrix(joint.w) * weightW;\n}\n@end\n@export clay.chunk.instancing_header\n#ifdef INSTANCING\nattribute vec4 instanceMat1;\nattribute vec4 instanceMat2;\nattribute vec4 instanceMat3;\n#endif\n@end\n@export clay.chunk.instancing_matrix\nmat4 instanceMat = mat4(\n vec4(instanceMat1.xyz, 0.0),\n vec4(instanceMat2.xyz, 0.0),\n vec4(instanceMat3.xyz, 0.0),\n vec4(instanceMat1.w, instanceMat2.w, instanceMat3.w, 1.0)\n);\n@end\n@export clay.util.parallax_correct\nvec3 parallaxCorrect(in vec3 dir, in vec3 pos, in vec3 boxMin, in vec3 boxMax) {\n vec3 first = (boxMax - pos) / dir;\n vec3 second = (boxMin - pos) / dir;\n vec3 further = max(first, second);\n float dist = min(further.x, min(further.y, further.z));\n vec3 fixedPos = pos + dir * dist;\n vec3 boxCenter = (boxMax + boxMin) * 0.5;\n return normalize(fixedPos - boxCenter);\n}\n@end\n@export clay.util.clamp_sample\nvec4 clampSample(const in sampler2D texture, const in vec2 coord)\n{\n#ifdef STEREO\n float eye = step(0.5, coord.x) * 0.5;\n vec2 coordClamped = clamp(coord, vec2(eye, 0.0), vec2(0.5 + eye, 1.0));\n#else\n vec2 coordClamped = clamp(coord, vec2(0.0), vec2(1.0));\n#endif\n return texture2D(texture, coordClamped);\n}\n@end\n@export clay.util.ACES\nvec3 ACESToneMapping(vec3 color)\n{\n const float A = 2.51;\n const float B = 0.03;\n const float C = 2.43;\n const float D = 0.59;\n const float E = 0.14;\n return (color * (A * color + B)) / (color * (C * color + D) + E);\n}\n@end";function LZ(t){return t instanceof HTMLCanvasElement||t instanceof HTMLImageElement||t instanceof Image}Object.assign(xj.prototype,DZ),pX.import(EZ),pX.import(mX),pX.import("\n@export ecgl.common.transformUniforms\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform mat4 worldInverseTranspose : WORLDINVERSETRANSPOSE;\nuniform mat4 world : WORLD;\n@end\n\n@export ecgl.common.attributes\nattribute vec3 position : POSITION;\nattribute vec2 texcoord : TEXCOORD_0;\nattribute vec3 normal : NORMAL;\n@end\n\n@export ecgl.common.uv.header\nuniform vec2 uvRepeat : [1.0, 1.0];\nuniform vec2 uvOffset : [0.0, 0.0];\nuniform vec2 detailUvRepeat : [1.0, 1.0];\nuniform vec2 detailUvOffset : [0.0, 0.0];\n\nvarying vec2 v_Texcoord;\nvarying vec2 v_DetailTexcoord;\n@end\n\n@export ecgl.common.uv.main\nv_Texcoord = texcoord * uvRepeat + uvOffset;\nv_DetailTexcoord = texcoord * detailUvRepeat + detailUvOffset;\n@end\n\n@export ecgl.common.uv.fragmentHeader\nvarying vec2 v_Texcoord;\nvarying vec2 v_DetailTexcoord;\n@end\n\n\n@export ecgl.common.albedo.main\n\n vec4 albedoTexel = vec4(1.0);\n#ifdef DIFFUSEMAP_ENABLED\n albedoTexel = texture2D(diffuseMap, v_Texcoord);\n #ifdef SRGB_DECODE\n albedoTexel = sRGBToLinear(albedoTexel);\n #endif\n#endif\n\n#ifdef DETAILMAP_ENABLED\n vec4 detailTexel = texture2D(detailMap, v_DetailTexcoord);\n #ifdef SRGB_DECODE\n detailTexel = sRGBToLinear(detailTexel);\n #endif\n albedoTexel.rgb = mix(albedoTexel.rgb, detailTexel.rgb, detailTexel.a);\n albedoTexel.a = detailTexel.a + (1.0 - detailTexel.a) * albedoTexel.a;\n#endif\n\n@end\n\n@export ecgl.common.wireframe.vertexHeader\n\n#ifdef WIREFRAME_QUAD\nattribute vec4 barycentric;\nvarying vec4 v_Barycentric;\n#elif defined(WIREFRAME_TRIANGLE)\nattribute vec3 barycentric;\nvarying vec3 v_Barycentric;\n#endif\n\n@end\n\n@export ecgl.common.wireframe.vertexMain\n\n#if defined(WIREFRAME_QUAD) || defined(WIREFRAME_TRIANGLE)\n v_Barycentric = barycentric;\n#endif\n\n@end\n\n\n@export ecgl.common.wireframe.fragmentHeader\n\nuniform float wireframeLineWidth : 1;\nuniform vec4 wireframeLineColor: [0, 0, 0, 0.5];\n\n#ifdef WIREFRAME_QUAD\nvarying vec4 v_Barycentric;\nfloat edgeFactor () {\n vec4 d = fwidth(v_Barycentric);\n vec4 a4 = smoothstep(vec4(0.0), d * wireframeLineWidth, v_Barycentric);\n return min(min(min(a4.x, a4.y), a4.z), a4.w);\n}\n#elif defined(WIREFRAME_TRIANGLE)\nvarying vec3 v_Barycentric;\nfloat edgeFactor () {\n vec3 d = fwidth(v_Barycentric);\n vec3 a3 = smoothstep(vec3(0.0), d * wireframeLineWidth, v_Barycentric);\n return min(min(a3.x, a3.y), a3.z);\n}\n#endif\n\n@end\n\n\n@export ecgl.common.wireframe.fragmentMain\n\n#if defined(WIREFRAME_QUAD) || defined(WIREFRAME_TRIANGLE)\n if (wireframeLineWidth > 0.) {\n vec4 lineColor = wireframeLineColor;\n#ifdef SRGB_DECODE\n lineColor = sRGBToLinear(lineColor);\n#endif\n\n gl_FragColor.rgb = mix(gl_FragColor.rgb, lineColor.rgb, (1.0 - edgeFactor()) * lineColor.a);\n }\n#endif\n@end\n\n\n\n\n@export ecgl.common.bumpMap.header\n\n#ifdef BUMPMAP_ENABLED\nuniform sampler2D bumpMap;\nuniform float bumpScale : 1.0;\n\n\nvec3 bumpNormal(vec3 surfPos, vec3 surfNormal, vec3 baseNormal)\n{\n vec2 dSTdx = dFdx(v_Texcoord);\n vec2 dSTdy = dFdy(v_Texcoord);\n\n float Hll = bumpScale * texture2D(bumpMap, v_Texcoord).x;\n float dHx = bumpScale * texture2D(bumpMap, v_Texcoord + dSTdx).x - Hll;\n float dHy = bumpScale * texture2D(bumpMap, v_Texcoord + dSTdy).x - Hll;\n\n vec3 vSigmaX = dFdx(surfPos);\n vec3 vSigmaY = dFdy(surfPos);\n vec3 vN = surfNormal;\n\n vec3 R1 = cross(vSigmaY, vN);\n vec3 R2 = cross(vN, vSigmaX);\n\n float fDet = dot(vSigmaX, R1);\n\n vec3 vGrad = sign(fDet) * (dHx * R1 + dHy * R2);\n return normalize(abs(fDet) * baseNormal - vGrad);\n\n}\n#endif\n\n@end\n\n@export ecgl.common.normalMap.vertexHeader\n\n#ifdef NORMALMAP_ENABLED\nattribute vec4 tangent : TANGENT;\nvarying vec3 v_Tangent;\nvarying vec3 v_Bitangent;\n#endif\n\n@end\n\n@export ecgl.common.normalMap.vertexMain\n\n#ifdef NORMALMAP_ENABLED\n if (dot(tangent, tangent) > 0.0) {\n v_Tangent = normalize((worldInverseTranspose * vec4(tangent.xyz, 0.0)).xyz);\n v_Bitangent = normalize(cross(v_Normal, v_Tangent) * tangent.w);\n }\n#endif\n\n@end\n\n\n@export ecgl.common.normalMap.fragmentHeader\n\n#ifdef NORMALMAP_ENABLED\nuniform sampler2D normalMap;\nvarying vec3 v_Tangent;\nvarying vec3 v_Bitangent;\n#endif\n\n@end\n\n@export ecgl.common.normalMap.fragmentMain\n#ifdef NORMALMAP_ENABLED\n if (dot(v_Tangent, v_Tangent) > 0.0) {\n vec3 normalTexel = texture2D(normalMap, v_DetailTexcoord).xyz;\n if (dot(normalTexel, normalTexel) > 0.0) { N = normalTexel * 2.0 - 1.0;\n mat3 tbn = mat3(v_Tangent, v_Bitangent, v_Normal);\n N = normalize(tbn * N);\n }\n }\n#endif\n@end\n\n\n\n@export ecgl.common.vertexAnimation.header\n\n#ifdef VERTEX_ANIMATION\nattribute vec3 prevPosition;\nattribute vec3 prevNormal;\nuniform float percent;\n#endif\n\n@end\n\n@export ecgl.common.vertexAnimation.main\n\n#ifdef VERTEX_ANIMATION\n vec3 pos = mix(prevPosition, position, percent);\n vec3 norm = mix(prevNormal, normal, percent);\n#else\n vec3 pos = position;\n vec3 norm = normal;\n#endif\n\n@end\n\n\n@export ecgl.common.ssaoMap.header\n#ifdef SSAOMAP_ENABLED\nuniform sampler2D ssaoMap;\nuniform vec4 viewport : VIEWPORT;\n#endif\n@end\n\n@export ecgl.common.ssaoMap.main\n float ao = 1.0;\n#ifdef SSAOMAP_ENABLED\n ao = texture2D(ssaoMap, (gl_FragCoord.xy - viewport.xy) / viewport.zw).r;\n#endif\n@end\n\n\n\n\n@export ecgl.common.diffuseLayer.header\n\n#if (LAYER_DIFFUSEMAP_COUNT > 0)\nuniform float layerDiffuseIntensity[LAYER_DIFFUSEMAP_COUNT];\nuniform sampler2D layerDiffuseMap[LAYER_DIFFUSEMAP_COUNT];\n#endif\n\n@end\n\n@export ecgl.common.emissiveLayer.header\n\n#if (LAYER_EMISSIVEMAP_COUNT > 0)\nuniform float layerEmissionIntensity[LAYER_EMISSIVEMAP_COUNT];\nuniform sampler2D layerEmissiveMap[LAYER_EMISSIVEMAP_COUNT];\n#endif\n\n@end\n\n@export ecgl.common.layers.header\n@import ecgl.common.diffuseLayer.header\n@import ecgl.common.emissiveLayer.header\n@end\n\n@export ecgl.common.diffuseLayer.main\n\n#if (LAYER_DIFFUSEMAP_COUNT > 0)\n for (int _idx_ = 0; _idx_ < LAYER_DIFFUSEMAP_COUNT; _idx_++) {{\n float intensity = layerDiffuseIntensity[_idx_];\n vec4 texel2 = texture2D(layerDiffuseMap[_idx_], v_Texcoord);\n #ifdef SRGB_DECODE\n texel2 = sRGBToLinear(texel2);\n #endif\n albedoTexel.rgb = mix(albedoTexel.rgb, texel2.rgb * intensity, texel2.a);\n albedoTexel.a = texel2.a + (1.0 - texel2.a) * albedoTexel.a;\n }}\n#endif\n\n@end\n\n@export ecgl.common.emissiveLayer.main\n\n#if (LAYER_EMISSIVEMAP_COUNT > 0)\n for (int _idx_ = 0; _idx_ < LAYER_EMISSIVEMAP_COUNT; _idx_++)\n {{\n vec4 texel2 = texture2D(layerEmissiveMap[_idx_], v_Texcoord) * layerEmissionIntensity[_idx_];\n #ifdef SRGB_DECODE\n texel2 = sRGBToLinear(texel2);\n #endif\n float intensity = layerEmissionIntensity[_idx_];\n gl_FragColor.rgb += texel2.rgb * texel2.a * intensity;\n }}\n#endif\n\n@end\n"),pX.import("@export ecgl.color.vertex\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\n@import ecgl.common.uv.header\n\nattribute vec2 texcoord : TEXCOORD_0;\nattribute vec3 position: POSITION;\n\n@import ecgl.common.wireframe.vertexHeader\n\n#ifdef VERTEX_COLOR\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n#endif\n\n#ifdef VERTEX_ANIMATION\nattribute vec3 prevPosition;\nuniform float percent : 1.0;\n#endif\n\n#ifdef ATMOSPHERE_ENABLED\nattribute vec3 normal: NORMAL;\nuniform mat4 worldInverseTranspose : WORLDINVERSETRANSPOSE;\nvarying vec3 v_Normal;\n#endif\n\nvoid main()\n{\n#ifdef VERTEX_ANIMATION\n vec3 pos = mix(prevPosition, position, percent);\n#else\n vec3 pos = position;\n#endif\n\n gl_Position = worldViewProjection * vec4(pos, 1.0);\n\n @import ecgl.common.uv.main\n\n#ifdef VERTEX_COLOR\n v_Color = a_Color;\n#endif\n\n#ifdef ATMOSPHERE_ENABLED\n v_Normal = normalize((worldInverseTranspose * vec4(normal, 0.0)).xyz);\n#endif\n\n @import ecgl.common.wireframe.vertexMain\n\n}\n\n@end\n\n@export ecgl.color.fragment\n\n#define LAYER_DIFFUSEMAP_COUNT 0\n#define LAYER_EMISSIVEMAP_COUNT 0\n\nuniform sampler2D diffuseMap;\nuniform sampler2D detailMap;\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\n#ifdef ATMOSPHERE_ENABLED\nuniform mat4 viewTranspose: VIEWTRANSPOSE;\nuniform vec3 glowColor;\nuniform float glowPower;\nvarying vec3 v_Normal;\n#endif\n\n#ifdef VERTEX_COLOR\nvarying vec4 v_Color;\n#endif\n\n@import ecgl.common.layers.header\n\n@import ecgl.common.uv.fragmentHeader\n\n@import ecgl.common.wireframe.fragmentHeader\n\n@import clay.util.srgb\n\nvoid main()\n{\n#ifdef SRGB_DECODE\n gl_FragColor = sRGBToLinear(color);\n#else\n gl_FragColor = color;\n#endif\n\n#ifdef VERTEX_COLOR\n gl_FragColor *= v_Color;\n#endif\n\n @import ecgl.common.albedo.main\n\n @import ecgl.common.diffuseLayer.main\n\n gl_FragColor *= albedoTexel;\n\n#ifdef ATMOSPHERE_ENABLED\n float atmoIntensity = pow(1.0 - dot(v_Normal, (viewTranspose * vec4(0.0, 0.0, 1.0, 0.0)).xyz), glowPower);\n gl_FragColor.rgb += glowColor * atmoIntensity;\n#endif\n\n @import ecgl.common.emissiveLayer.main\n\n @import ecgl.common.wireframe.fragmentMain\n\n}\n@end"),pX.import("/**\n * http: */\n\n@export ecgl.lambert.vertex\n\n@import ecgl.common.transformUniforms\n\n@import ecgl.common.uv.header\n\n\n@import ecgl.common.attributes\n\n@import ecgl.common.wireframe.vertexHeader\n\n#ifdef VERTEX_COLOR\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n#endif\n\n\n@import ecgl.common.vertexAnimation.header\n\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nvoid main()\n{\n @import ecgl.common.uv.main\n\n @import ecgl.common.vertexAnimation.main\n\n\n gl_Position = worldViewProjection * vec4(pos, 1.0);\n\n v_Normal = normalize((worldInverseTranspose * vec4(norm, 0.0)).xyz);\n v_WorldPosition = (world * vec4(pos, 1.0)).xyz;\n\n#ifdef VERTEX_COLOR\n v_Color = a_Color;\n#endif\n\n @import ecgl.common.wireframe.vertexMain\n}\n\n@end\n\n\n@export ecgl.lambert.fragment\n\n#define LAYER_DIFFUSEMAP_COUNT 0\n#define LAYER_EMISSIVEMAP_COUNT 0\n\n#define NORMAL_UP_AXIS 1\n#define NORMAL_FRONT_AXIS 2\n\n@import ecgl.common.uv.fragmentHeader\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nuniform sampler2D diffuseMap;\nuniform sampler2D detailMap;\n\n@import ecgl.common.layers.header\n\nuniform float emissionIntensity: 1.0;\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\nuniform mat4 viewInverse : VIEWINVERSE;\n\n#ifdef ATMOSPHERE_ENABLED\nuniform mat4 viewTranspose: VIEWTRANSPOSE;\nuniform vec3 glowColor;\nuniform float glowPower;\n#endif\n\n#ifdef AMBIENT_LIGHT_COUNT\n@import clay.header.ambient_light\n#endif\n#ifdef AMBIENT_SH_LIGHT_COUNT\n@import clay.header.ambient_sh_light\n#endif\n\n#ifdef DIRECTIONAL_LIGHT_COUNT\n@import clay.header.directional_light\n#endif\n\n#ifdef VERTEX_COLOR\nvarying vec4 v_Color;\n#endif\n\n\n@import ecgl.common.ssaoMap.header\n\n@import ecgl.common.bumpMap.header\n\n@import clay.util.srgb\n\n@import ecgl.common.wireframe.fragmentHeader\n\n@import clay.plugin.compute_shadow_map\n\nvoid main()\n{\n#ifdef SRGB_DECODE\n gl_FragColor = sRGBToLinear(color);\n#else\n gl_FragColor = color;\n#endif\n\n#ifdef VERTEX_COLOR\n #ifdef SRGB_DECODE\n gl_FragColor *= sRGBToLinear(v_Color);\n #else\n gl_FragColor *= v_Color;\n #endif\n#endif\n\n @import ecgl.common.albedo.main\n\n @import ecgl.common.diffuseLayer.main\n\n gl_FragColor *= albedoTexel;\n\n vec3 N = v_Normal;\n#ifdef DOUBLE_SIDED\n vec3 eyePos = viewInverse[3].xyz;\n vec3 V = normalize(eyePos - v_WorldPosition);\n\n if (dot(N, V) < 0.0) {\n N = -N;\n }\n#endif\n\n float ambientFactor = 1.0;\n\n#ifdef BUMPMAP_ENABLED\n N = bumpNormal(v_WorldPosition, v_Normal, N);\n ambientFactor = dot(v_Normal, N);\n#endif\n\n vec3 N2 = vec3(N.x, N[NORMAL_UP_AXIS], N[NORMAL_FRONT_AXIS]);\n\n vec3 diffuseColor = vec3(0.0, 0.0, 0.0);\n\n @import ecgl.common.ssaoMap.main\n\n#ifdef AMBIENT_LIGHT_COUNT\n for(int i = 0; i < AMBIENT_LIGHT_COUNT; i++)\n {\n diffuseColor += ambientLightColor[i] * ambientFactor * ao;\n }\n#endif\n#ifdef AMBIENT_SH_LIGHT_COUNT\n for(int _idx_ = 0; _idx_ < AMBIENT_SH_LIGHT_COUNT; _idx_++)\n {{\n diffuseColor += calcAmbientSHLight(_idx_, N2) * ambientSHLightColor[_idx_] * ao;\n }}\n#endif\n#ifdef DIRECTIONAL_LIGHT_COUNT\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT];\n if(shadowEnabled)\n {\n computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir);\n }\n#endif\n for(int i = 0; i < DIRECTIONAL_LIGHT_COUNT; i++)\n {\n vec3 lightDirection = -directionalLightDirection[i];\n vec3 lightColor = directionalLightColor[i];\n\n float shadowContrib = 1.0;\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n if (shadowEnabled)\n {\n shadowContrib = shadowContribsDir[i];\n }\n#endif\n\n float ndl = dot(N, normalize(lightDirection)) * shadowContrib;\n\n diffuseColor += lightColor * clamp(ndl, 0.0, 1.0);\n }\n#endif\n\n gl_FragColor.rgb *= diffuseColor;\n\n#ifdef ATMOSPHERE_ENABLED\n float atmoIntensity = pow(1.0 - dot(v_Normal, (viewTranspose * vec4(0.0, 0.0, 1.0, 0.0)).xyz), glowPower);\n gl_FragColor.rgb += glowColor * atmoIntensity;\n#endif\n\n @import ecgl.common.emissiveLayer.main\n\n @import ecgl.common.wireframe.fragmentMain\n}\n\n@end"),pX.import("@export ecgl.realistic.vertex\n\n@import ecgl.common.transformUniforms\n\n@import ecgl.common.uv.header\n\n@import ecgl.common.attributes\n\n\n@import ecgl.common.wireframe.vertexHeader\n\n#ifdef VERTEX_COLOR\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n#endif\n\n#ifdef NORMALMAP_ENABLED\nattribute vec4 tangent : TANGENT;\nvarying vec3 v_Tangent;\nvarying vec3 v_Bitangent;\n#endif\n\n@import ecgl.common.vertexAnimation.header\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nvoid main()\n{\n\n @import ecgl.common.uv.main\n\n @import ecgl.common.vertexAnimation.main\n\n gl_Position = worldViewProjection * vec4(pos, 1.0);\n\n v_Normal = normalize((worldInverseTranspose * vec4(norm, 0.0)).xyz);\n v_WorldPosition = (world * vec4(pos, 1.0)).xyz;\n\n#ifdef VERTEX_COLOR\n v_Color = a_Color;\n#endif\n\n#ifdef NORMALMAP_ENABLED\n v_Tangent = normalize((worldInverseTranspose * vec4(tangent.xyz, 0.0)).xyz);\n v_Bitangent = normalize(cross(v_Normal, v_Tangent) * tangent.w);\n#endif\n\n @import ecgl.common.wireframe.vertexMain\n\n}\n\n@end\n\n\n\n@export ecgl.realistic.fragment\n\n#define LAYER_DIFFUSEMAP_COUNT 0\n#define LAYER_EMISSIVEMAP_COUNT 0\n#define PI 3.14159265358979\n#define ROUGHNESS_CHANEL 0\n#define METALNESS_CHANEL 1\n\n#define NORMAL_UP_AXIS 1\n#define NORMAL_FRONT_AXIS 2\n\n#ifdef VERTEX_COLOR\nvarying vec4 v_Color;\n#endif\n\n@import ecgl.common.uv.fragmentHeader\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nuniform sampler2D diffuseMap;\n\nuniform sampler2D detailMap;\nuniform sampler2D metalnessMap;\nuniform sampler2D roughnessMap;\n\n@import ecgl.common.layers.header\n\nuniform float emissionIntensity: 1.0;\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\nuniform float metalness : 0.0;\nuniform float roughness : 0.5;\n\nuniform mat4 viewInverse : VIEWINVERSE;\n\n#ifdef ATMOSPHERE_ENABLED\nuniform mat4 viewTranspose: VIEWTRANSPOSE;\nuniform vec3 glowColor;\nuniform float glowPower;\n#endif\n\n#ifdef AMBIENT_LIGHT_COUNT\n@import clay.header.ambient_light\n#endif\n\n#ifdef AMBIENT_SH_LIGHT_COUNT\n@import clay.header.ambient_sh_light\n#endif\n\n#ifdef AMBIENT_CUBEMAP_LIGHT_COUNT\n@import clay.header.ambient_cubemap_light\n#endif\n\n#ifdef DIRECTIONAL_LIGHT_COUNT\n@import clay.header.directional_light\n#endif\n\n@import ecgl.common.normalMap.fragmentHeader\n\n@import ecgl.common.ssaoMap.header\n\n@import ecgl.common.bumpMap.header\n\n@import clay.util.srgb\n\n@import clay.util.rgbm\n\n@import ecgl.common.wireframe.fragmentHeader\n\n@import clay.plugin.compute_shadow_map\n\nvec3 F_Schlick(float ndv, vec3 spec) {\n return spec + (1.0 - spec) * pow(1.0 - ndv, 5.0);\n}\n\nfloat D_Phong(float g, float ndh) {\n float a = pow(8192.0, g);\n return (a + 2.0) / 8.0 * pow(ndh, a);\n}\n\nvoid main()\n{\n vec4 albedoColor = color;\n\n vec3 eyePos = viewInverse[3].xyz;\n vec3 V = normalize(eyePos - v_WorldPosition);\n#ifdef VERTEX_COLOR\n #ifdef SRGB_DECODE\n albedoColor *= sRGBToLinear(v_Color);\n #else\n albedoColor *= v_Color;\n #endif\n#endif\n\n @import ecgl.common.albedo.main\n\n @import ecgl.common.diffuseLayer.main\n\n albedoColor *= albedoTexel;\n\n float m = metalness;\n\n#ifdef METALNESSMAP_ENABLED\n float m2 = texture2D(metalnessMap, v_DetailTexcoord)[METALNESS_CHANEL];\n m = clamp(m2 + (m - 0.5) * 2.0, 0.0, 1.0);\n#endif\n\n vec3 baseColor = albedoColor.rgb;\n albedoColor.rgb = baseColor * (1.0 - m);\n vec3 specFactor = mix(vec3(0.04), baseColor, m);\n\n float g = 1.0 - roughness;\n\n#ifdef ROUGHNESSMAP_ENABLED\n float g2 = 1.0 - texture2D(roughnessMap, v_DetailTexcoord)[ROUGHNESS_CHANEL];\n g = clamp(g2 + (g - 0.5) * 2.0, 0.0, 1.0);\n#endif\n\n vec3 N = v_Normal;\n\n#ifdef DOUBLE_SIDED\n if (dot(N, V) < 0.0) {\n N = -N;\n }\n#endif\n\n float ambientFactor = 1.0;\n\n#ifdef BUMPMAP_ENABLED\n N = bumpNormal(v_WorldPosition, v_Normal, N);\n ambientFactor = dot(v_Normal, N);\n#endif\n\n@import ecgl.common.normalMap.fragmentMain\n\n vec3 N2 = vec3(N.x, N[NORMAL_UP_AXIS], N[NORMAL_FRONT_AXIS]);\n\n vec3 diffuseTerm = vec3(0.0);\n vec3 specularTerm = vec3(0.0);\n\n float ndv = clamp(dot(N, V), 0.0, 1.0);\n vec3 fresnelTerm = F_Schlick(ndv, specFactor);\n\n @import ecgl.common.ssaoMap.main\n\n#ifdef AMBIENT_LIGHT_COUNT\n for(int _idx_ = 0; _idx_ < AMBIENT_LIGHT_COUNT; _idx_++)\n {{\n diffuseTerm += ambientLightColor[_idx_] * ambientFactor * ao;\n }}\n#endif\n\n#ifdef AMBIENT_SH_LIGHT_COUNT\n for(int _idx_ = 0; _idx_ < AMBIENT_SH_LIGHT_COUNT; _idx_++)\n {{\n diffuseTerm += calcAmbientSHLight(_idx_, N2) * ambientSHLightColor[_idx_] * ao;\n }}\n#endif\n\n#ifdef DIRECTIONAL_LIGHT_COUNT\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT];\n if(shadowEnabled)\n {\n computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir);\n }\n#endif\n for(int _idx_ = 0; _idx_ < DIRECTIONAL_LIGHT_COUNT; _idx_++)\n {{\n vec3 L = -directionalLightDirection[_idx_];\n vec3 lc = directionalLightColor[_idx_];\n\n vec3 H = normalize(L + V);\n float ndl = clamp(dot(N, normalize(L)), 0.0, 1.0);\n float ndh = clamp(dot(N, H), 0.0, 1.0);\n\n float shadowContrib = 1.0;\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n if (shadowEnabled)\n {\n shadowContrib = shadowContribsDir[_idx_];\n }\n#endif\n\n vec3 li = lc * ndl * shadowContrib;\n\n diffuseTerm += li;\n specularTerm += li * fresnelTerm * D_Phong(g, ndh);\n }}\n#endif\n\n\n#ifdef AMBIENT_CUBEMAP_LIGHT_COUNT\n vec3 L = reflect(-V, N);\n L = vec3(L.x, L[NORMAL_UP_AXIS], L[NORMAL_FRONT_AXIS]);\n float rough2 = clamp(1.0 - g, 0.0, 1.0);\n float bias2 = rough2 * 5.0;\n vec2 brdfParam2 = texture2D(ambientCubemapLightBRDFLookup[0], vec2(rough2, ndv)).xy;\n vec3 envWeight2 = specFactor * brdfParam2.x + brdfParam2.y;\n vec3 envTexel2;\n for(int _idx_ = 0; _idx_ < AMBIENT_CUBEMAP_LIGHT_COUNT; _idx_++)\n {{\n envTexel2 = RGBMDecode(textureCubeLodEXT(ambientCubemapLightCubemap[_idx_], L, bias2), 8.12);\n specularTerm += ambientCubemapLightColor[_idx_] * envTexel2 * envWeight2 * ao;\n }}\n#endif\n\n gl_FragColor.rgb = albedoColor.rgb * diffuseTerm + specularTerm;\n gl_FragColor.a = albedoColor.a;\n\n#ifdef ATMOSPHERE_ENABLED\n float atmoIntensity = pow(1.0 - dot(v_Normal, (viewTranspose * vec4(0.0, 0.0, 1.0, 0.0)).xyz), glowPower);\n gl_FragColor.rgb += glowColor * atmoIntensity;\n#endif\n\n#ifdef SRGB_ENCODE\n gl_FragColor = linearTosRGB(gl_FragColor);\n#endif\n\n @import ecgl.common.emissiveLayer.main\n\n @import ecgl.common.wireframe.fragmentMain\n}\n\n@end"),pX.import("@export ecgl.hatching.vertex\n\n@import ecgl.realistic.vertex\n\n@end\n\n\n@export ecgl.hatching.fragment\n\n#define NORMAL_UP_AXIS 1\n#define NORMAL_FRONT_AXIS 2\n\n@import ecgl.common.uv.fragmentHeader\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nuniform vec4 color : [0.0, 0.0, 0.0, 1.0];\nuniform vec4 paperColor : [1.0, 1.0, 1.0, 1.0];\n\nuniform mat4 viewInverse : VIEWINVERSE;\n\n#ifdef AMBIENT_LIGHT_COUNT\n@import clay.header.ambient_light\n#endif\n#ifdef AMBIENT_SH_LIGHT_COUNT\n@import clay.header.ambient_sh_light\n#endif\n\n#ifdef DIRECTIONAL_LIGHT_COUNT\n@import clay.header.directional_light\n#endif\n\n#ifdef VERTEX_COLOR\nvarying vec4 v_Color;\n#endif\n\n\n@import ecgl.common.ssaoMap.header\n\n@import ecgl.common.bumpMap.header\n\n@import clay.util.srgb\n\n@import ecgl.common.wireframe.fragmentHeader\n\n@import clay.plugin.compute_shadow_map\n\nuniform sampler2D hatch1;\nuniform sampler2D hatch2;\nuniform sampler2D hatch3;\nuniform sampler2D hatch4;\nuniform sampler2D hatch5;\nuniform sampler2D hatch6;\n\nfloat shade(in float tone) {\n vec4 c = vec4(1. ,1., 1., 1.);\n float step = 1. / 6.;\n vec2 uv = v_DetailTexcoord;\n if (tone <= step / 2.0) {\n c = mix(vec4(0.), texture2D(hatch6, uv), 12. * tone);\n }\n else if (tone <= step) {\n c = mix(texture2D(hatch6, uv), texture2D(hatch5, uv), 6. * tone);\n }\n if(tone > step && tone <= 2. * step){\n c = mix(texture2D(hatch5, uv), texture2D(hatch4, uv) , 6. * (tone - step));\n }\n if(tone > 2. * step && tone <= 3. * step){\n c = mix(texture2D(hatch4, uv), texture2D(hatch3, uv), 6. * (tone - 2. * step));\n }\n if(tone > 3. * step && tone <= 4. * step){\n c = mix(texture2D(hatch3, uv), texture2D(hatch2, uv), 6. * (tone - 3. * step));\n }\n if(tone > 4. * step && tone <= 5. * step){\n c = mix(texture2D(hatch2, uv), texture2D(hatch1, uv), 6. * (tone - 4. * step));\n }\n if(tone > 5. * step){\n c = mix(texture2D(hatch1, uv), vec4(1.), 6. * (tone - 5. * step));\n }\n\n return c.r;\n}\n\nconst vec3 w = vec3(0.2125, 0.7154, 0.0721);\n\nvoid main()\n{\n#ifdef SRGB_DECODE\n vec4 inkColor = sRGBToLinear(color);\n#else\n vec4 inkColor = color;\n#endif\n\n#ifdef VERTEX_COLOR\n #ifdef SRGB_DECODE\n inkColor *= sRGBToLinear(v_Color);\n #else\n inkColor *= v_Color;\n #endif\n#endif\n\n vec3 N = v_Normal;\n#ifdef DOUBLE_SIDED\n vec3 eyePos = viewInverse[3].xyz;\n vec3 V = normalize(eyePos - v_WorldPosition);\n\n if (dot(N, V) < 0.0) {\n N = -N;\n }\n#endif\n\n float tone = 0.0;\n\n float ambientFactor = 1.0;\n\n#ifdef BUMPMAP_ENABLED\n N = bumpNormal(v_WorldPosition, v_Normal, N);\n ambientFactor = dot(v_Normal, N);\n#endif\n\n vec3 N2 = vec3(N.x, N[NORMAL_UP_AXIS], N[NORMAL_FRONT_AXIS]);\n\n @import ecgl.common.ssaoMap.main\n\n#ifdef AMBIENT_LIGHT_COUNT\n for(int i = 0; i < AMBIENT_LIGHT_COUNT; i++)\n {\n tone += dot(ambientLightColor[i], w) * ambientFactor * ao;\n }\n#endif\n#ifdef AMBIENT_SH_LIGHT_COUNT\n for(int _idx_ = 0; _idx_ < AMBIENT_SH_LIGHT_COUNT; _idx_++)\n {{\n tone += dot(calcAmbientSHLight(_idx_, N2) * ambientSHLightColor[_idx_], w) * ao;\n }}\n#endif\n#ifdef DIRECTIONAL_LIGHT_COUNT\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT];\n if(shadowEnabled)\n {\n computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir);\n }\n#endif\n for(int i = 0; i < DIRECTIONAL_LIGHT_COUNT; i++)\n {\n vec3 lightDirection = -directionalLightDirection[i];\n float lightTone = dot(directionalLightColor[i], w);\n\n float shadowContrib = 1.0;\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n if (shadowEnabled)\n {\n shadowContrib = shadowContribsDir[i];\n }\n#endif\n\n float ndl = dot(N, normalize(lightDirection)) * shadowContrib;\n\n tone += lightTone * clamp(ndl, 0.0, 1.0);\n }\n#endif\n\n gl_FragColor = mix(inkColor, paperColor, shade(clamp(tone, 0.0, 1.0)));\n }\n@end\n"),pX.import("@export ecgl.sm.depth.vertex\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\nattribute vec3 position : POSITION;\nattribute vec2 texcoord : TEXCOORD_0;\n\n#ifdef VERTEX_ANIMATION\nattribute vec3 prevPosition;\nuniform float percent : 1.0;\n#endif\n\nvarying vec4 v_ViewPosition;\nvarying vec2 v_Texcoord;\n\nvoid main(){\n\n#ifdef VERTEX_ANIMATION\n vec3 pos = mix(prevPosition, position, percent);\n#else\n vec3 pos = position;\n#endif\n\n v_ViewPosition = worldViewProjection * vec4(pos, 1.0);\n gl_Position = v_ViewPosition;\n\n v_Texcoord = texcoord;\n\n}\n@end\n\n\n\n@export ecgl.sm.depth.fragment\n\n@import clay.sm.depth.fragment\n\n@end");var PZ=mY.prototype.addToScene,RZ=mY.prototype.removeFromScene;mY.prototype.addToScene=function(t){if(PZ.call(this,t),this.__zr){var e=this.__zr;t.traverse((function(t){t.__zr=e,t.addAnimatorsToZr&&t.addAnimatorsToZr(e)}))}},mY.prototype.removeFromScene=function(t){RZ.call(this,t),t.traverse((function(t){var e=t.__zr;t.__zr=null,e&&t.removeAnimatorsFromZr&&t.removeAnimatorsFromZr(e)}))},OW.prototype.setTextureImage=function(t,e,n,i){if(this.shader){var r,o,a=n.getZr(),s=this;return s.autoUpdateTextureStatus=!1,s.disableTexture(t),(o=e)&&"none"!==o&&(r=NZ.loadTexture(e,n,i,(function(e){s.enableTexture(t),a&&a.refresh()})),s.set(t,r)),r}};var NZ={};NZ.Renderer=DX,NZ.Node=xj,NZ.Mesh=Mj,NZ.Shader=pX,NZ.Material=OW,NZ.Texture=Tj,NZ.Texture2D=Ej,NZ.Geometry=Gj,NZ.SphereGeometry=mZ,NZ.PlaneGeometry=OY,NZ.CubeGeometry=zY,NZ.AmbientLight=vZ,NZ.DirectionalLight=yZ,NZ.PointLight=_Z,NZ.SpotLight=xZ,NZ.PerspectiveCamera=wY,NZ.OrthographicCamera=eZ,NZ.Vector2=GW,NZ.Vector3=LX,NZ.Vector4=bZ,NZ.Quaternion=oj,NZ.Matrix2=TZ,NZ.Matrix2d=IZ,NZ.Matrix3=CZ,NZ.Matrix4=nj,NZ.Plane=$j,NZ.Ray=WX,NZ.BoundingBox=mj,NZ.Frustum=aY;var kZ=null;function OZ(t){return Math.pow(2,Math.round(Math.log(t)/Math.LN2))}function BZ(t){if((t.wrapS===Tj.REPEAT||t.wrapT===Tj.REPEAT)&&t.image){var e=OZ(t.width),n=OZ(t.height);if(e!==t.width||n!==t.height){var i=document.createElement("canvas");i.width=e,i.height=n,i.getContext("2d").drawImage(t.image,0,0,e,n),t.image=i}}}NZ.loadTexture=function(t,e,n,i){"function"==typeof n&&(i=n,n={}),n=n||{};for(var r=Object.keys(n).sort(),o="",a=0;a<r.length;a++)o+=r[a]+"_"+n[r[a]]+"_";var s,l=e.__textureCache=e.__textureCache||new qi(20);if((s=t).getZr&&s.setOption){var u=t.__textureid__;if(h=l.get(o+u))h.texture.surface.setECharts(t),i&&i(h.texture);else{var c=new tZ(t);c.onupdate=function(){e.getZr().refresh()},h={texture:c.getTexture()};for(a=0;a<r.length;a++)h.texture[r[a]]=n[r[a]];u=t.__textureid__||"__ecgl_ec__"+h.texture.__uid__,t.__textureid__=u,l.put(o+u,h),i&&i(h.texture)}return h.texture}if(LZ(t)){var h;u=t.__textureid__;if(!(h=l.get(o+u))){h={texture:new NZ.Texture2D({image:t})};for(a=0;a<r.length;a++)h.texture[r[a]]=n[r[a]];u=t.__textureid__||"__ecgl_image__"+h.texture.__uid__,t.__textureid__=u,l.put(o+u,h),BZ(h.texture),i&&i(h.texture)}return h.texture}if(h=l.get(o+t))h.callbacks?h.callbacks.push(i):i&&i(h.texture);else if(t.match(/.hdr$|^data:application\/octet-stream/)){h={callbacks:[i]};var d=JY.loadTexture(t,{exposure:n.exposure,fileType:"hdr"},(function(){d.dirty(),h.callbacks.forEach((function(t){t&&t(d)})),h.callbacks=null}));h.texture=d,l.put(o+t,h)}else{for(d=new NZ.Texture2D({image:new Image}),a=0;a<r.length;a++)d[r[a]]=n[r[a]];h={texture:d,callbacks:[i]};var p=d.image;p.onload=function(){d.image=p,BZ(d),d.dirty(),h.callbacks.forEach((function(t){t&&t(d)})),h.callbacks=null},p.crossOrigin="Anonymous",p.src=t,d.image=null!==kZ?kZ:kZ=JY.createBlank("rgba(255,255,255,0)").image,l.put(o+t,h)}return h.texture},NZ.createAmbientCubemap=function(t,e,n,i){var r=(t=t||{}).texture,o=fZ(t.exposure,1),a=new lZ({intensity:fZ(t.specularIntensity,1)}),s=new uZ({intensity:fZ(t.diffuseIntensity,1),coefficients:[.844,.712,.691,-.037,.083,.167,.343,.288,.299,-.041,-.021,-.009,-.003,-.041,-.064,-.011,-.007,-.004,-.031,.034,.081,-.06,-.049,-.06,.046,.056,.05]});return a.cubemap=NZ.loadTexture(r,n,{exposure:o},(function(){a.cubemap.flipY=!1,a.prefilter(e,32),s.coefficients=cZ.projectEnvironmentMap(e,a.cubemap,{lod:1}),i&&i()})),{specular:a,diffuse:s}},NZ.createBlankTexture=JY.createBlank,NZ.isImage=LZ,NZ.additiveBlend=function(t){t.blendEquation(t.FUNC_ADD),t.blendFunc(t.SRC_ALPHA,t.ONE)},NZ.parseColor=function(t,e){return t instanceof Array?(e||(e=[]),e[0]=t[0],e[1]=t[1],e[2]=t[2],t.length>3?e[3]=t[3]:e[3]=1,e):((e=ur(t||"#000",e)||[0,0,0,0])[0]/=255,e[1]/=255,e[2]/=255,e)},NZ.directionFromAlphaBeta=function(t,e){var n=t/180*Math.PI+Math.PI/2,i=-e/180*Math.PI+Math.PI/2,r=[],o=Math.sin(n);return r[0]=o*Math.cos(i),r[1]=-Math.cos(n),r[2]=o*Math.sin(i),r},NZ.getShadowResolution=function(t){var e=1024;switch(t){case"low":e=512;break;case"medium":break;case"high":e=2048;break;case"ultra":e=4096}return e},NZ.COMMON_SHADERS=["lambert","color","realistic","hatching","shadow"],NZ.createShader=function(t){"ecgl.shadow"===t&&(t="ecgl.displayShadow");var e=pX.source(t+".vertex"),n=pX.source(t+".fragment");e||console.error("Vertex shader of '%s' not exits",t),n||console.error("Fragment shader of '%s' not exits",t);var i=new pX(e,n);return i.name=t,i},NZ.createMaterial=function(t,e){e instanceof Array||(e=[e]);var n=NZ.createShader(t),i=new OW({shader:n});return e.forEach((function(t){"string"==typeof t&&i.define(t)})),i},NZ.setMaterialFromModel=function(t,e,n,i){e.autoUpdateTextureStatus=!1;var r=n.getModel(t+"Material"),o=r.get("detailTexture"),a=fZ(r.get("textureTiling"),1),s=fZ(r.get("textureOffset"),0);"number"==typeof a&&(a=[a,a]),"number"==typeof s&&(s=[s,s]);var l=a[0]>1||a[1]>1?NZ.Texture.REPEAT:NZ.Texture.CLAMP_TO_EDGE,u={anisotropic:8,wrapS:l,wrapT:l};if("realistic"===t){var c=r.get("roughness"),h=r.get("metalness");null!=h?isNaN(h)&&(e.setTextureImage("metalnessMap",h,i,u),h=fZ(r.get("metalnessAdjust"),.5)):h=0,null!=c?isNaN(c)&&(e.setTextureImage("roughnessMap",c,i,u),c=fZ(r.get("roughnessAdjust"),.5)):c=.5;var d=r.get("normalTexture");e.setTextureImage("detailMap",o,i,u),e.setTextureImage("normalMap",d,i,u),e.set({roughness:c,metalness:h,detailUvRepeat:a,detailUvOffset:s})}else if("lambert"===t)e.setTextureImage("detailMap",o,i,u),e.set({detailUvRepeat:a,detailUvOffset:s});else if("color"===t)e.setTextureImage("detailMap",o,i,u),e.set({detailUvRepeat:a,detailUvOffset:s});else if("hatching"===t){var p=r.get("hatchingTextures")||[];p.length;for(var f=0;f<6;f++)e.setTextureImage("hatch"+(f+1),p[f],i,{anisotropic:8,wrapS:NZ.Texture.REPEAT,wrapT:NZ.Texture.REPEAT});e.set({detailUvRepeat:a,detailUvOffset:s})}},NZ.updateVertexAnimation=function(t,e,n,i){var r=i.get("animation"),o=i.get("animationDurationUpdate"),a=i.get("animationEasingUpdate"),s=n.shadowDepthMaterial;if(r&&e&&o>0&&e.geometry.vertexCount===n.geometry.vertexCount){n.material.define("vertex","VERTEX_ANIMATION"),n.ignorePreZ=!0,s&&s.define("vertex","VERTEX_ANIMATION");for(var l=0;l<t.length;l++)n.geometry.attributes[t[l][0]].value=e.geometry.attributes[t[l][1]].value;n.geometry.dirty(),n.__percent=0,n.material.set("percent",0),n.stopAnimation(),n.animate().when(o,{__percent:1}).during((function(){n.material.set("percent",n.__percent),s&&s.set("percent",n.__percent)})).done((function(){n.ignorePreZ=!1,n.material.undefine("vertex","VERTEX_ANIMATION"),s&&s.undefine("vertex","VERTEX_ANIMATION")})).start(a)}else n.material.undefine("vertex","VERTEX_ANIMATION"),s&&s.undefine("vertex","VERTEX_ANIMATION")};var zZ=function(t,e){this.id=t,this.zr=e;try{this.renderer=new DX({clearBit:0,devicePixelRatio:e.painter.dpr,preserveDrawingBuffer:!0,premultipliedAlpha:!0}),this.renderer.resize(e.painter.getWidth(),e.painter.getHeight())}catch(KJ){return this.renderer=null,this.dom=document.createElement("div"),this.dom.style.cssText="position:absolute; left: 0; top: 0; right: 0; bottom: 0;",this.dom.className="ecgl-nowebgl",this.dom.innerHTML="Sorry, your browser does not support WebGL",void console.error(KJ)}this.onglobalout=this.onglobalout.bind(this),e.on("globalout",this.onglobalout),this.dom=this.renderer.canvas;var n=this.dom.style;n.position="absolute",n.left="0",n.top="0",this.views=[],this._picking=new wj({renderer:this.renderer}),this._viewsToDispose=[],this._accumulatingId=0,this._zrEventProxy=new Zl({shape:{x:-1,y:-1,width:2,height:2},__isGLToZRProxy:!0}),this._backgroundColor=null,this._disposed=!1};function FZ(t){var e=t.__zr;t.__zr=null,e&&t.removeAnimatorsFromZr&&t.removeAnimatorsFromZr(e)}zZ.prototype.setUnpainted=function(){},zZ.prototype.addView=function(t){if(t.layer!==this){var e=this._viewsToDispose.indexOf(t);e>=0&&this._viewsToDispose.splice(e,1),this.views.push(t),t.layer=this;var n=this.zr;t.scene.traverse((function(t){t.__zr=n,t.addAnimatorsToZr&&t.addAnimatorsToZr(n)}))}},zZ.prototype.removeView=function(t){if(t.layer===this){var e=this.views.indexOf(t);e>=0&&(this.views.splice(e,1),t.scene.traverse(FZ,this),t.layer=null,this._viewsToDispose.push(t))}},zZ.prototype.removeViewsAll=function(){this.views.forEach((function(t){t.scene.traverse(FZ,this),t.layer=null,this._viewsToDispose.push(t)}),this),this.views.length=0},zZ.prototype.resize=function(t,e){this.renderer.resize(t,e)},zZ.prototype.clear=function(){var t=this.renderer.gl,e=this._backgroundColor||[0,0,0,0];t.clearColor(e[0],e[1],e[2],e[3]),t.depthMask(!0),t.colorMask(!0,!0,!0,!0),t.clear(t.DEPTH_BUFFER_BIT|t.COLOR_BUFFER_BIT)},zZ.prototype.clearDepth=function(){var t=this.renderer.gl;t.clear(t.DEPTH_BUFFER_BIT)},zZ.prototype.clearColor=function(){var t=this.renderer.gl;t.clearColor(0,0,0,0),t.clear(t.COLOR_BUFFER_BIT)},zZ.prototype.needsRefresh=function(){this.zr.refresh()},zZ.prototype.refresh=function(t){this._backgroundColor=t?NZ.parseColor(t):[0,0,0,0],this.renderer.clearColor=this._backgroundColor;for(var e=0;e<this.views.length;e++)this.views[e].prepareRender(this.renderer);this._doRender(!1),this._trackAndClean();for(e=0;e<this._viewsToDispose.length;e++)this._viewsToDispose[e].dispose(this.renderer);this._viewsToDispose.length=0,this._startAccumulating()},zZ.prototype.renderToCanvas=function(t){this._startAccumulating(!0),t.drawImage(this.dom,0,0,t.canvas.width,t.canvas.height)},zZ.prototype._doRender=function(t){this.clear(),this.renderer.saveViewport();for(var e=0;e<this.views.length;e++)this.views[e].render(this.renderer,t);this.renderer.restoreViewport()},zZ.prototype._stopAccumulating=function(){this._accumulatingId=0,clearTimeout(this._accumulatingTimeout)};var VZ=1;function GZ(t){for(var e=0;e<t.length;e++)t[e].__used__=0}function UZ(t,e){for(var n=0;n<e.length;n++)e[n].__used__||e[n].dispose(t)}function HZ(t,e){t.__used__=t.__used__||0,t.__used__++,1===t.__used__&&e.push(t)}function WZ(t,e,n){var i,r;t.traverse((function(t){if(t.isRenderable()){var o=t.geometry,a=t.material;if(a!==i)for(var s=a.getTextureUniforms(),l=0;l<s.length;l++){var u=s[l],c=a.uniforms[u].value;if(c)if(c instanceof Tj)HZ(c,e);else if(c instanceof Array)for(var h=0;h<c.length;h++)c[h]instanceof Tj&&HZ(c[h],e)}o!==r&&HZ(o,n),i=a,r=o}}));for(var o=0;o<t.lights.length;o++)t.lights[o].cubemap&&HZ(t.lights[o].cubemap,e)}zZ.prototype._startAccumulating=function(t){var e=this;this._stopAccumulating();for(var n=!1,i=0;i<this.views.length;i++)n=this.views[i].needsAccumulate()||n;function r(i){if(e._accumulatingId&&i===e._accumulatingId){for(var o=!0,a=0;a<e.views.length;a++)o=e.views[a].isAccumulateFinished()&&n;o||(e._doRender(!0),t?r(i):yi((function(){r(i)})))}}n&&(this._accumulatingId=VZ++,t?r(e._accumulatingId):this._accumulatingTimeout=setTimeout((function(){r(e._accumulatingId)}),50))},zZ.prototype._trackAndClean=function(){var t=[],e=[];this._textureList&&(GZ(this._textureList),GZ(this._geometriesList));for(var n=0;n<this.views.length;n++)WZ(this.views[n].scene,t,e);this._textureList&&(UZ(this.renderer,this._textureList),UZ(this.renderer,this._geometriesList)),this._textureList=t,this._geometriesList=e},zZ.prototype.dispose=function(){this._disposed||(this._stopAccumulating(),this._textureList&&(GZ(this._textureList),GZ(this._geometriesList),UZ(this.renderer,this._textureList),UZ(this.renderer,this._geometriesList)),this.zr.off("globalout",this.onglobalout),this._disposed=!0)},zZ.prototype.onmousedown=function(t){if(!t.target||!t.target.__isGLToZRProxy){t=t.event;var e=this.pickObject(t.offsetX,t.offsetY);e&&(this._dispatchEvent("mousedown",t,e),this._dispatchDataEvent("mousedown",t,e)),this._downX=t.offsetX,this._downY=t.offsetY}},zZ.prototype.onmousemove=function(t){if(!t.target||!t.target.__isGLToZRProxy){t=t.event;var e=this.pickObject(t.offsetX,t.offsetY),n=e&&e.target,i=this._hovered;this._hovered=e,i&&n!==i.target&&(i.relatedTarget=n,this._dispatchEvent("mouseout",t,i),this.zr.setCursorStyle("default")),this._dispatchEvent("mousemove",t,e),e&&(this.zr.setCursorStyle("pointer"),i&&n===i.target||this._dispatchEvent("mouseover",t,e)),this._dispatchDataEvent("mousemove",t,e)}},zZ.prototype.onmouseup=function(t){if(!t.target||!t.target.__isGLToZRProxy){t=t.event;var e=this.pickObject(t.offsetX,t.offsetY);e&&(this._dispatchEvent("mouseup",t,e),this._dispatchDataEvent("mouseup",t,e)),this._upX=t.offsetX,this._upY=t.offsetY}},zZ.prototype.onclick=zZ.prototype.dblclick=function(t){if(!t.target||!t.target.__isGLToZRProxy){var e=this._upX-this._downX,n=this._upY-this._downY;if(!(Math.sqrt(e*e+n*n)>20)){t=t.event;var i=this.pickObject(t.offsetX,t.offsetY);i&&(this._dispatchEvent(t.type,t,i),this._dispatchDataEvent(t.type,t,i));var r=this._clickToSetFocusPoint(t);if(r)r.view.setDOFFocusOnPoint(r.distance)&&this.zr.refresh()}}},zZ.prototype._clickToSetFocusPoint=function(t){for(var e=this.renderer,n=e.viewport,i=this.views.length-1;i>=0;i--){var r=this.views[i];if(r.hasDOF()&&r.containPoint(t.offsetX,t.offsetY)){this._picking.scene=r.scene,this._picking.camera=r.camera,e.viewport=r.viewport;var o=this._picking.pick(t.offsetX,t.offsetY,!0);if(o)return o.view=r,o}}e.viewport=n},zZ.prototype.onglobalout=function(t){var e=this._hovered;e&&this._dispatchEvent("mouseout",t,{target:e.target})},zZ.prototype.pickObject=function(t,e){for(var n=[],i=this.renderer,r=i.viewport,o=0;o<this.views.length;o++){var a=this.views[o];a.containPoint(t,e)&&(this._picking.scene=a.scene,this._picking.camera=a.camera,i.viewport=a.viewport,this._picking.pickAll(t,e,n))}return i.viewport=r,n.sort((function(t,e){return t.distance-e.distance})),n[0]},zZ.prototype._dispatchEvent=function(t,e,n){n||(n={});var i=n.target;for(n.cancelBubble=!1,n.event=e,n.type=t,n.offsetX=e.offsetX,n.offsetY=e.offsetY;i&&(i.trigger(t,n),i=i.getParent(),!n.cancelBubble););this._dispatchToView(t,n)},zZ.prototype._dispatchDataEvent=function(t,e,n){var i=n&&n.target,r=i&&i.dataIndex,o=i&&i.seriesIndex,a=i&&i.eventData,s=!1,l=this._zrEventProxy;l.x=e.offsetX,l.y=e.offsetY,l.update();var u={target:l},c=cu(l);"mousemove"===t&&(null!=r?r!==this._lastDataIndex&&(parseInt(this._lastDataIndex,10)>=0&&(c.dataIndex=this._lastDataIndex,c.seriesIndex=this._lastSeriesIndex,this.zr.handler.dispatchToElement(u,"mouseout",e)),s=!0):null!=a&&a!==this._lastEventData&&(null!=this._lastEventData&&(c.eventData=this._lastEventData,this.zr.handler.dispatchToElement(u,"mouseout",e)),s=!0),this._lastEventData=a,this._lastDataIndex=r,this._lastSeriesIndex=o),c.eventData=a,c.dataIndex=r,c.seriesIndex=o,(null!=a||parseInt(r,10)>=0&&parseInt(o,10)>=0)&&(this.zr.handler.dispatchToElement(u,t,e),s&&this.zr.handler.dispatchToElement(u,"mouseover",e))},zZ.prototype._dispatchToView=function(t,e){for(var n=0;n<this.views.length;n++)this.views[n].containPoint(e.offsetX,e.offsetY)&&this.views[n].trigger(t,e)},Object.assign(zZ.prototype,iW);var XZ=["bar3D","line3D","map3D","scatter3D","surface","lines3D","scatterGL","scatter3D"];function jZ(t,e){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var n=t[e].normal,i=t[e].emphasis;n&&(t[e]=n),i&&(t.emphasis=t.emphasis||{},t.emphasis[e]=i)}}function YZ(t){t&&(t instanceof Array||(t=[t]),re(t,(function(t){if(t.axisLabel){var e=t.axisLabel;Object.assign(e,e.textStyle),e.textStyle=null}})))}function ZZ(t){this._layers={},this._zr=t}ZZ.prototype.update=function(t,e){var n=this,i=e.getZr();if(i.getWidth()&&i.getHeight()){for(var r in this._layers)this._layers[r].removeViewsAll();t.eachComponent((function(n,i){if("series"!==n){var r=e.getViewOfComponentModel(i),s=i.coordinateSystem;if(r.__ecgl__){if(s){if(!s.viewGL)return void console.error("Can't find viewGL in coordinateSystem of component "+i.id);l=s.viewGL}else{if(!i.viewGL)return void console.error("Can't find viewGL of component "+i.id);l=s.viewGL}var l=s.viewGL,u=o(i);u.addView(l),r.afterRender&&r.afterRender(i,t,e,u),a(r.groupGL,i.get("silent"))}}})),t.eachSeries((function(n){var i=e.getViewOfSeriesModel(n),r=n.coordinateSystem;if(i.__ecgl__){if(r&&!r.viewGL&&!i.viewGL)return void console.error("Can't find viewGL of series "+i.id);var s=r&&r.viewGL||i.viewGL,l=o(n);l.addView(s),i.afterRender&&i.afterRender(n,t,e,l),a(i.groupGL,n.get("silent"))}}))}else console.warn("Dom has no width or height");function o(t){var e;i.setSleepAfterStill(0),e=(t.coordinateSystem&&t.coordinateSystem.model,t.get("zlevel"));var r=n._layers,o=r[e];if(!o){if(o=r[e]=new zZ("gl-"+e,i),i.painter.isSingleCanvas()){o.virtual=!0;var a=new Gl({z:1e4,style:{image:o.renderer.canvas},silent:!0});o.__hostImage=a,i.add(a)}i.painter.insertLayer(e,o)}return o.__hostImage&&o.__hostImage.setStyle({width:o.renderer.getWidth(),height:o.renderer.getHeight()}),o}function a(t,e){t&&t.traverse((function(t){t.isRenderable&&t.isRenderable()&&(t.ignorePicking=null!=t.$ignorePicking?t.$ignorePicking:e)}))}},R_((function(t){var e=t.getZr(),n=e.painter.dispose;e.painter.dispose=function(){"function"==typeof this.eachOtherLayer&&this.eachOtherLayer((function(t){t instanceof zZ&&t.dispose()})),n.call(this)},e.painter.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas)return this._layers[0].dom;var e=document.createElement("canvas"),n=t.pixelRatio||this.dpr;e.width=this.getWidth()*n,e.height=this.getHeight()*n;var i=e.getContext("2d");i.dpr=n,i.clearRect(0,0,e.width,e.height),t.backgroundColor&&(i.fillStyle=t.backgroundColor,i.fillRect(0,0,e.width,e.height));var r,o=this.storage.getDisplayList(!0),a={},s=this;function l(t,e){var n,r=s._zlevelList;null==t&&(t=-1/0);for(var o=0;o<r.length;o++){var a=r[o],l=s._layers[a];if(!l.__builtin__&&a>t&&a<e){n=l;break}}n&&n.renderToCanvas&&(i.save(),n.renderToCanvas(i),i.restore())}for(var u={ctx:i},c=0;c<o.length;c++){var h=o[c];h.zlevel!==r&&(l(r,h.zlevel),r=h.zlevel),this._doPaintEl(h,u,!0,null,a)}return l(r,1/0),e}})),N_((function(t,e){var n=e.getZr();(n.__egl=n.__egl||new ZZ(n)).update(t,e)})),L_((function(t){re(t.series,(function(e){te(XZ,e.type)>=0&&(!function(t){jZ(t,"itemStyle"),jZ(t,"lineStyle"),jZ(t,"areaStyle"),jZ(t,"label")}(e),"mapbox"===e.coordinateSystem&&(e.coordinateSystem="mapbox3D",t.mapbox3D=t.mapbox))})),YZ(t.xAxis3D),YZ(t.yAxis3D),YZ(t.zAxis3D),YZ(t.grid3D),jZ(t.geo3D)}));var QZ={defaultOption:{viewControl:{projection:"perspective",autoRotate:!1,autoRotateDirection:"cw",autoRotateSpeed:10,autoRotateAfterStill:3,damping:.8,rotateSensitivity:1,zoomSensitivity:1,panSensitivity:1,panMouseButton:"middle",rotateMouseButton:"left",distance:150,minDistance:40,maxDistance:400,orthographicSize:150,maxOrthographicSize:400,minOrthographicSize:20,center:[0,0,0],alpha:0,beta:0,minAlpha:-90,maxAlpha:90}},setView:function(t){t=t||{},this.option.viewControl=this.option.viewControl||{},null!=t.alpha&&(this.option.viewControl.alpha=t.alpha),null!=t.beta&&(this.option.viewControl.beta=t.beta),null!=t.distance&&(this.option.viewControl.distance=t.distance),null!=t.center&&(this.option.viewControl.center=t.center)}},qZ={defaultOption:{postEffect:{enable:!1,bloom:{enable:!0,intensity:.1},depthOfField:{enable:!1,focalRange:20,focalDistance:50,blurRadius:10,fstop:2.8,quality:"medium"},screenSpaceAmbientOcclusion:{enable:!1,radius:2,quality:"medium",intensity:1},screenSpaceReflection:{enable:!1,quality:"medium",maxRoughness:.8},colorCorrection:{enable:!0,exposure:0,brightness:0,contrast:1,saturation:1,lookupTexture:""},edge:{enable:!1},FXAA:{enable:!1}},temporalSuperSampling:{enable:"auto"}}},JZ={defaultOption:{light:{main:{shadow:!1,shadowQuality:"high",color:"#fff",intensity:1,alpha:0,beta:0},ambient:{color:"#fff",intensity:.2},ambientCubemap:{texture:null,exposure:1,diffuseIntensity:.5,specularIntensity:.5}}}},KZ=Zp.extend({type:"grid3D",dependencies:["xAxis3D","yAxis3D","zAxis3D"],defaultOption:{show:!0,zlevel:-10,left:0,top:0,width:"100%",height:"100%",environment:"auto",boxWidth:100,boxHeight:100,boxDepth:100,axisPointer:{show:!0,lineStyle:{color:"rgba(0, 0, 0, 0.8)",width:1},label:{show:!0,formatter:null,margin:8,textStyle:{fontSize:14,color:"#fff",backgroundColor:"rgba(0,0,0,0.5)",padding:3,borderRadius:3}}},axisLine:{show:!0,lineStyle:{color:"#333",width:2,type:"solid"}},axisTick:{show:!0,inside:!1,length:3,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,margin:8,textStyle:{fontSize:12}},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}},light:{main:{alpha:30,beta:40},ambient:{intensity:.4}},viewControl:{alpha:20,beta:40,autoRotate:!1,distance:200,minDistance:40,maxDistance:400}}});qt(KZ.prototype,QZ),qt(KZ.prototype,qZ),qt(KZ.prototype,JZ);var $Z=fZ,tQ={left:0,middle:1,right:2};function eQ(t){return t instanceof Array||(t=[t,t]),t}var nQ=sW.extend((function(){return{zr:null,viewGL:null,_center:new LX,minDistance:.5,maxDistance:1.5,maxOrthographicSize:300,minOrthographicSize:30,minAlpha:-90,maxAlpha:90,minBeta:-1/0,maxBeta:1/0,autoRotateAfterStill:0,autoRotateDirection:"cw",autoRotateSpeed:60,damping:.8,rotateSensitivity:1,zoomSensitivity:1,panSensitivity:1,panMouseButton:"middle",rotateMouseButton:"left",_mode:"rotate",_camera:null,_needsUpdate:!1,_rotating:!1,_phi:0,_theta:0,_mouseX:0,_mouseY:0,_rotateVelocity:new GW,_panVelocity:new GW,_distance:500,_zoomSpeed:0,_stillTimeout:0,_animators:[]}}),(function(){["_mouseDownHandler","_mouseWheelHandler","_mouseMoveHandler","_mouseUpHandler","_pinchHandler","_contextMenuHandler","_update"].forEach((function(t){this[t]=this[t].bind(this)}),this)}),{init:function(){var t=this.zr;t&&(t.on("mousedown",this._mouseDownHandler),t.on("globalout",this._mouseUpHandler),t.on("mousewheel",this._mouseWheelHandler),t.on("pinch",this._pinchHandler),t.animation.on("frame",this._update),t.dom.addEventListener("contextmenu",this._contextMenuHandler))},dispose:function(){var t=this.zr;t&&(t.off("mousedown",this._mouseDownHandler),t.off("mousemove",this._mouseMoveHandler),t.off("mouseup",this._mouseUpHandler),t.off("mousewheel",this._mouseWheelHandler),t.off("pinch",this._pinchHandler),t.off("globalout",this._mouseUpHandler),t.dom.removeEventListener("contextmenu",this._contextMenuHandler),t.animation.off("frame",this._update)),this.stopAllAnimation()},getDistance:function(){return this._distance},setDistance:function(t){this._distance=t,this._needsUpdate=!0},getOrthographicSize:function(){return this._orthoSize},setOrthographicSize:function(t){this._orthoSize=t,this._needsUpdate=!0},getAlpha:function(){return this._theta/Math.PI*180},getBeta:function(){return-this._phi/Math.PI*180},getCenter:function(){return this._center.toArray()},setAlpha:function(t){t=Math.max(Math.min(this.maxAlpha,t),this.minAlpha),this._theta=t/180*Math.PI,this._needsUpdate=!0},setBeta:function(t){t=Math.max(Math.min(this.maxBeta,t),this.minBeta),this._phi=-t/180*Math.PI,this._needsUpdate=!0},setCenter:function(t){this._center.setArray(t)},setViewGL:function(t){this.viewGL=t},getCamera:function(){return this.viewGL.camera},setFromViewControlModel:function(t,e){var n=(e=e||{}).baseDistance||0,i=e.baseOrthoSize||1,r=t.get("projection");"perspective"!==r&&"orthographic"!==r&&"isometric"!==r&&(r="perspective"),this._projection=r,this.viewGL.setProjection(r);var o=t.get("distance")+n,a=t.get("orthographicSize")+i;[["damping",.8],["autoRotate",!1],["autoRotateAfterStill",3],["autoRotateDirection","cw"],["autoRotateSpeed",10],["minDistance",30],["maxDistance",400],["minOrthographicSize",30],["maxOrthographicSize",300],["minAlpha",-90],["maxAlpha",90],["minBeta",-1/0],["maxBeta",1/0],["rotateSensitivity",1],["zoomSensitivity",1],["panSensitivity",1],["panMouseButton","left"],["rotateMouseButton","middle"]].forEach((function(e){this[e[0]]=$Z(t.get(e[0]),e[1])}),this),this.minDistance+=n,this.maxDistance+=n,this.minOrthographicSize+=i,this.maxOrthographicSize+=i;var s=t.ecModel,l={};["animation","animationDurationUpdate","animationEasingUpdate"].forEach((function(e){l[e]=$Z(t.get(e),s&&s.get(e))}));var u=$Z(e.alpha,t.get("alpha"))||0,c=$Z(e.beta,t.get("beta"))||0,h=$Z(e.center,t.get("center"))||[0,0,0];l.animation&&l.animationDurationUpdate>0&&this._notFirst?this.animateTo({alpha:u,beta:c,center:h,distance:o,orthographicSize:a,easing:l.animationEasingUpdate,duration:l.animationDurationUpdate}):(this.setDistance(o),this.setAlpha(u),this.setBeta(c),this.setCenter(h),this.setOrthographicSize(a)),this._notFirst=!0,this._validateProperties()},_validateProperties:function(){},animateTo:function(t){var e=this.zr,n=this,i={},r={};return null!=t.distance&&(i.distance=this.getDistance(),r.distance=t.distance),null!=t.orthographicSize&&(i.orthographicSize=this.getOrthographicSize(),r.orthographicSize=t.orthographicSize),null!=t.alpha&&(i.alpha=this.getAlpha(),r.alpha=t.alpha),null!=t.beta&&(i.beta=this.getBeta(),r.beta=t.beta),null!=t.center&&(i.center=this.getCenter(),r.center=t.center),this._addAnimator(e.animation.animate(i).when(t.duration||1e3,r).during((function(){null!=i.alpha&&n.setAlpha(i.alpha),null!=i.beta&&n.setBeta(i.beta),null!=i.distance&&n.setDistance(i.distance),null!=i.center&&n.setCenter(i.center),null!=i.orthographicSize&&n.setOrthographicSize(i.orthographicSize),n._needsUpdate=!0}))).start(t.easing||"linear")},stopAllAnimation:function(){for(var t=0;t<this._animators.length;t++)this._animators[t].stop();this._animators.length=0},update:function(){this._needsUpdate=!0,this._update(20)},_isAnimating:function(){return this._animators.length>0},_update:function(t){if(this._rotating){var e=("cw"===this.autoRotateDirection?1:-1)*this.autoRotateSpeed/180*Math.PI;this._phi-=e*t/1e3,this._needsUpdate=!0}else this._rotateVelocity.len()>0&&(this._needsUpdate=!0);(Math.abs(this._zoomSpeed)>.1||this._panVelocity.len()>0)&&(this._needsUpdate=!0),this._needsUpdate&&(t=Math.min(t,50),this._updateDistanceOrSize(t),this._updatePan(t),this._updateRotate(t),this._updateTransform(),this.getCamera().update(),this.zr&&this.zr.refresh(),this.trigger("update"),this._needsUpdate=!1)},_updateRotate:function(t){var e=this._rotateVelocity;this._phi=e.y*t/20+this._phi,this._theta=e.x*t/20+this._theta,this.setAlpha(this.getAlpha()),this.setBeta(this.getBeta()),this._vectorDamping(e,Math.pow(this.damping,t/16))},_updateDistanceOrSize:function(t){"perspective"===this._projection?this._setDistance(this._distance+this._zoomSpeed*t/20):this._setOrthoSize(this._orthoSize+this._zoomSpeed*t/20),this._zoomSpeed*=Math.pow(this.damping,t/16)},_setDistance:function(t){this._distance=Math.max(Math.min(t,this.maxDistance),this.minDistance)},_setOrthoSize:function(t){this._orthoSize=Math.max(Math.min(t,this.maxOrthographicSize),this.minOrthographicSize);var e=this.getCamera(),n=this._orthoSize,i=n/this.viewGL.viewport.height*this.viewGL.viewport.width;e.left=-i/2,e.right=i/2,e.top=n/2,e.bottom=-n/2},_updatePan:function(t){var e=this._panVelocity,n=this._distance,i=this.getCamera(),r=i.worldTransform.y,o=i.worldTransform.x;this._center.scaleAndAdd(o,-e.x*n/200).scaleAndAdd(r,-e.y*n/200),this._vectorDamping(e,0)},_updateTransform:function(){var t=this.getCamera(),e=new LX,n=this._theta+Math.PI/2,i=this._phi+Math.PI/2,r=Math.sin(n);e.x=r*Math.cos(i),e.y=-Math.cos(n),e.z=r*Math.sin(i),t.position.copy(this._center).scaleAndAdd(e,this._distance),t.rotation.identity().rotateY(-this._phi).rotateX(-this._theta)},_startCountingStill:function(){clearTimeout(this._stillTimeout);var t=this.autoRotateAfterStill,e=this;!isNaN(t)&&t>0&&(this._stillTimeout=setTimeout((function(){e._rotating=!0}),1e3*t))},_vectorDamping:function(t,e){var n=t.len();(n*=e)<1e-4&&(n=0),t.normalize().scale(n)},_decomposeTransform:function(){if(this.getCamera()){this.getCamera().updateWorldTransform();var t=this.getCamera().worldTransform.z,e=Math.asin(t.y),n=Math.atan2(t.x,t.z);this._theta=e,this._phi=-n,this.setBeta(this.getBeta()),this.setAlpha(this.getAlpha()),this.getCamera().aspect?this._setDistance(this.getCamera().position.dist(this._center)):this._setOrthoSize(this.getCamera().top-this.getCamera().bottom)}},_mouseDownHandler:function(t){if(!t.target&&!this._isAnimating()){var e=t.offsetX,n=t.offsetY;this.viewGL&&!this.viewGL.containPoint(e,n)||(this.zr.on("mousemove",this._mouseMoveHandler),this.zr.on("mouseup",this._mouseUpHandler),t.event.targetTouches?1===t.event.targetTouches.length&&(this._mode="rotate"):t.event.button===tQ[this.rotateMouseButton]?this._mode="rotate":t.event.button===tQ[this.panMouseButton]?this._mode="pan":this._mode="",this._rotateVelocity.set(0,0),this._rotating=!1,this.autoRotate&&this._startCountingStill(),this._mouseX=t.offsetX,this._mouseY=t.offsetY)}},_mouseMoveHandler:function(t){if(!(t.target&&t.target.__isGLToZRProxy||this._isAnimating())){var e=eQ(this.panSensitivity),n=eQ(this.rotateSensitivity);"rotate"===this._mode?(this._rotateVelocity.y=(t.offsetX-this._mouseX)/this.zr.getHeight()*2*n[0],this._rotateVelocity.x=(t.offsetY-this._mouseY)/this.zr.getWidth()*2*n[1]):"pan"===this._mode&&(this._panVelocity.x=(t.offsetX-this._mouseX)/this.zr.getWidth()*e[0]*400,this._panVelocity.y=(-t.offsetY+this._mouseY)/this.zr.getHeight()*e[1]*400),this._mouseX=t.offsetX,this._mouseY=t.offsetY,t.event.preventDefault()}},_mouseWheelHandler:function(t){if(!this._isAnimating()){var e=t.event.wheelDelta||-t.event.detail;this._zoomHandler(t,e)}},_pinchHandler:function(t){this._isAnimating()||(this._zoomHandler(t,t.pinchScale>1?1:-1),this._mode="")},_zoomHandler:function(t,e){if(0!==e){var n,i=t.offsetX,r=t.offsetY;if(!this.viewGL||this.viewGL.containPoint(i,r))n="perspective"===this._projection?Math.max(Math.max(Math.min(this._distance-this.minDistance,this.maxDistance-this._distance))/20,.5):Math.max(Math.max(Math.min(this._orthoSize-this.minOrthographicSize,this.maxOrthographicSize-this._orthoSize))/20,.5),this._zoomSpeed=(e>0?-1:1)*n*this.zoomSensitivity,this._rotating=!1,this.autoRotate&&"rotate"===this._mode&&this._startCountingStill(),t.event.preventDefault()}},_mouseUpHandler:function(){this.zr.off("mousemove",this._mouseMoveHandler),this.zr.off("mouseup",this._mouseUpHandler)},_isRightMouseButtonUsed:function(){return"right"===this.rotateMouseButton||"right"===this.panMouseButton},_contextMenuHandler:function(t){this._isRightMouseButtonUsed()&&t.preventDefault()},_addAnimator:function(t){var e=this._animators;return e.push(t),t.done((function(){var n=e.indexOf(t);n>=0&&e.splice(n,1)})),t}});Object.defineProperty(nQ.prototype,"autoRotate",{get:function(t){return this._autoRotate},set:function(t){this._autoRotate=t,this._rotating=t}});var iQ={convertToDynamicArray:function(t){t&&this.resetOffset();var e=this.attributes;for(var n in e)t||!e[n].value?e[n].value=[]:e[n].value=Array.prototype.slice.call(e[n].value);t||!this.indices?this.indices=[]:this.indices=Array.prototype.slice.call(this.indices)},convertToTypedArray:function(){var t=this.attributes;for(var e in t)t[e].value&&t[e].value.length>0?t[e].value=new Float32Array(t[e].value):t[e].value=null;this.indices&&this.indices.length>0&&(this.indices=this.vertexCount>65535?new Uint32Array(this.indices):new Uint16Array(this.indices)),this.dirty()}},rQ={vec2:VW,vec3:yX,vec4:XX,mat2:AZ,mat2d:MZ,mat3:jX,mat4:vX,quat:JX},oQ=rQ.vec3,aQ=[[0,0],[1,1]],sQ=Gj.extend((function(){return{segmentScale:1,dynamic:!0,useNativeLine:!0,attributes:{position:new Gj.Attribute("position","float",3,"POSITION"),positionPrev:new Gj.Attribute("positionPrev","float",3),positionNext:new Gj.Attribute("positionNext","float",3),prevPositionPrev:new Gj.Attribute("prevPositionPrev","float",3),prevPosition:new Gj.Attribute("prevPosition","float",3),prevPositionNext:new Gj.Attribute("prevPositionNext","float",3),offset:new Gj.Attribute("offset","float",1),color:new Gj.Attribute("color","float",4,"COLOR")}}}),{resetOffset:function(){this._vertexOffset=0,this._triangleOffset=0,this._itemVertexOffsets=[]},setVertexCount:function(t){var e=this.attributes;this.vertexCount!==t&&(e.position.init(t),e.color.init(t),this.useNativeLine||(e.positionPrev.init(t),e.positionNext.init(t),e.offset.init(t)),t>65535?this.indices instanceof Uint16Array&&(this.indices=new Uint32Array(this.indices)):this.indices instanceof Uint32Array&&(this.indices=new Uint16Array(this.indices)))},setTriangleCount:function(t){this.triangleCount!==t&&(this.indices=0===t?null:this.vertexCount>65535?new Uint32Array(3*t):new Uint16Array(3*t))},_getCubicCurveApproxStep:function(t,e,n,i){return 1/(oQ.dist(t,e)+oQ.dist(n,e)+oQ.dist(i,n)+1)*this.segmentScale},getCubicCurveVertexCount:function(t,e,n,i){var r=this._getCubicCurveApproxStep(t,e,n,i),o=Math.ceil(1/r);return this.useNativeLine?2*o:2*o+2},getCubicCurveTriangleCount:function(t,e,n,i){var r=this._getCubicCurveApproxStep(t,e,n,i),o=Math.ceil(1/r);return this.useNativeLine?0:2*o},getLineVertexCount:function(){return this.getPolylineVertexCount(aQ)},getLineTriangleCount:function(){return this.getPolylineTriangleCount(aQ)},getPolylineVertexCount:function(t){var e;"number"==typeof t?e=t:e="number"!=typeof t[0]?t.length:t.length/3;return this.useNativeLine?2*(e-1):2*(e-1)+2},getPolylineTriangleCount:function(t){var e;"number"==typeof t?e=t:e="number"!=typeof t[0]?t.length:t.length/3;return this.useNativeLine?0:2*Math.max(e-1,0)},addCubicCurve:function(t,e,n,i,r,o){null==o&&(o=1);var a=t[0],s=t[1],l=t[2],u=e[0],c=e[1],h=e[2],d=n[0],p=n[1],f=n[2],g=i[0],m=i[1],v=i[2],y=this._getCubicCurveApproxStep(t,e,n,i),_=y*y,x=_*y,b=3*y,w=3*_,S=6*_,A=6*x,T=a-2*u+d,M=s-2*c+p,I=l-2*h+f,C=3*(u-d)-a+g,D=3*(c-p)-s+m,E=3*(h-f)-l+v,L=a,P=s,R=l,N=(u-a)*b+T*w+C*x,k=(c-s)*b+M*w+D*x,O=(h-l)*b+I*w+E*x,B=T*S+C*A,z=M*S+D*A,F=I*S+E*A,V=C*A,G=D*A,U=E*A,H=0,W=0,X=Math.ceil(1/y),j=new Float32Array(3*(X+1)),Y=(j=[],0);for(W=0;W<X+1;W++)j[Y++]=L,j[Y++]=P,j[Y++]=R,L+=N,P+=k,R+=O,N+=B,k+=z,O+=F,B+=V,z+=G,F+=U,(H+=y)>1&&(L=N>0?Math.min(L,g):Math.max(L,g),P=k>0?Math.min(P,m):Math.max(P,m),R=O>0?Math.min(R,v):Math.max(R,v));return this.addPolyline(j,r,o)},addLine:function(t,e,n,i){return this.addPolyline([t,e],n,i)},addPolyline:function(t,e,n,i,r){if(t.length){var o="number"!=typeof t[0];if(null==r&&(r=o?t.length:t.length/3),!(r<2)){null==i&&(i=0),null==n&&(n=1),this._itemVertexOffsets.push(this._vertexOffset);var a,s,l=(o="number"!=typeof t[0])?"number"!=typeof e[0]:e.length/4===r,u=this.attributes.position,c=this.attributes.positionPrev,h=this.attributes.positionNext,d=this.attributes.color,p=this.attributes.offset,f=this.indices,g=this._vertexOffset;n=Math.max(n,.01);for(var m=i;m<r;m++){if(o)a=t[m],s=l?e[m]:e;else{var v=3*m;if((a=a||[])[0]=t[v],a[1]=t[v+1],a[2]=t[v+2],l){var y=4*m;(s=s||[])[0]=e[y],s[1]=e[y+1],s[2]=e[y+2],s[3]=e[y+3]}else s=e}if(this.useNativeLine?m>1&&(u.copy(g,g-1),d.copy(g,g-1),g++):(m<r-1&&(c.set(g+2,a),c.set(g+3,a)),m>0&&(h.set(g-2,a),h.set(g-1,a)),u.set(g,a),u.set(g+1,a),d.set(g,s),d.set(g+1,s),p.set(g,n/2),p.set(g+1,-n/2),g+=2),this.useNativeLine)d.set(g,s),u.set(g,a),g++;else if(m>0){var _=3*this._triangleOffset;(f=this.indices)[_]=g-4,f[_+1]=g-3,f[_+2]=g-2,f[_+3]=g-3,f[_+4]=g-1,f[_+5]=g-2,this._triangleOffset+=2}}if(!this.useNativeLine){var x=this._vertexOffset,b=this._vertexOffset+2*r;c.copy(x,x+2),c.copy(x+1,x+3),h.copy(b-1,b-3),h.copy(b-2,b-4)}return this._vertexOffset=g,this._vertexOffset}}},setItemColor:function(t,e){for(var n=this._itemVertexOffsets[t],i=t<this._itemVertexOffsets.length-1?this._itemVertexOffsets[t+1]:this._vertexOffset,r=n;r<i;r++)this.attributes.color.set(r,e);this.dirty("color")},currentTriangleOffset:function(){return this._triangleOffset},currentVertexOffset:function(){return this._vertexOffset}});function lQ(t,e,n,i,r,o,a){this._zr=t,this._x=0,this._y=0,this._rowHeight=0,this.width=i,this.height=r,this.offsetX=e,this.offsetY=n,this.dpr=a,this.gap=o}function uQ(t){(t=t||{}).width=t.width||512,t.height=t.height||512,t.devicePixelRatio=t.devicePixelRatio||1,t.gap=null==t.gap?2:t.gap;var e=document.createElement("canvas");e.width=t.width*t.devicePixelRatio,e.height=t.height*t.devicePixelRatio,this._canvas=e,this._texture=new Ej({image:e,flipY:!1});var n=this;this._zr=ea(e);var i=this._zr.refreshImmediately;this._zr.refreshImmediately=function(){i.call(this),n._texture.dirty(),n.onupdate&&n.onupdate()},this._dpr=t.devicePixelRatio,this._coords={},this.onupdate=t.onupdate,this._gap=t.gap,this._textureAtlasNodes=[new lQ(this._zr,0,0,t.width,t.height,this._gap,this._dpr)],this._nodeWidth=t.width,this._nodeHeight=t.height,this._currentNodeIdx=0}function cQ(){}$t(sQ.prototype,iQ),lQ.prototype={constructor:lQ,clear:function(){this._x=0,this._y=0,this._rowHeight=0},add:function(t,e,n){var i=t.getBoundingRect();null==e&&(e=i.width),null==n&&(n=i.height),e*=this.dpr,n*=this.dpr,this._fitElement(t,e,n);var r=this._x,o=this._y,a=this.width*this.dpr,s=this.height*this.dpr,l=this.gap;if(r+e+l>a&&(r=this._x=0,o+=this._rowHeight+l,this._y=o,this._rowHeight=0),this._x+=e+l,this._rowHeight=Math.max(this._rowHeight,n),o+n+l>s)return null;t.x+=this.offsetX*this.dpr+r,t.y+=this.offsetY*this.dpr+o,this._zr.add(t);var u=[this.offsetX/this.width,this.offsetY/this.height];return[[r/a+u[0],o/s+u[1]],[(r+e)/a+u[0],(o+n)/s+u[1]]]},_fitElement:function(t,e,n){var i=t.getBoundingRect(),r=e/i.width,o=n/i.height;t.x=-i.x*r,t.y=-i.y*o,t.scaleX=r,t.scaleY=o,t.update()}},uQ.prototype={clear:function(){for(var t=0;t<this._textureAtlasNodes.length;t++)this._textureAtlasNodes[t].clear();this._currentNodeIdx=0,this._zr.clear(),this._coords={}},getWidth:function(){return this._width},getHeight:function(){return this._height},getTexture:function(){return this._texture},getDevicePixelRatio:function(){return this._dpr},getZr:function(){return this._zr},_getCurrentNode:function(){return this._textureAtlasNodes[this._currentNodeIdx]},_expand:function(){if(this._currentNodeIdx++,this._textureAtlasNodes[this._currentNodeIdx])return this._textureAtlasNodes[this._currentNodeIdx];var t=4096/this._dpr,e=this._textureAtlasNodes.length,n=e*this._nodeWidth%t,i=Math.floor(e*this._nodeWidth/t)*this._nodeHeight;if(!(i>=t)){var r=(n+this._nodeWidth)*this._dpr,o=(i+this._nodeHeight)*this._dpr;try{this._zr.resize({width:r,height:o})}catch(KJ){this._canvas.width=r,this._canvas.height=o}var a=new lQ(this._zr,n,i,this._nodeWidth,this._nodeHeight,this._gap,this._dpr);return this._textureAtlasNodes.push(a),a}},add:function(t,e,n){if(this._coords[t.id])return this._coords[t.id];var i=this._getCurrentNode().add(t,e,n);if(!i){var r=this._expand();if(!r)return;i=r.add(t,e,n)}return this._coords[t.id]=i,i},getCoordsScale:function(){var t=this._dpr;return[this._nodeWidth/this._canvas.width*t,this._nodeHeight/this._canvas.height*t]},getCoords:function(t){return this._coords[t]},dispose:function(){this._zr.dispose()}},cQ.prototype={constructor:cQ,setScene:function(t){this._scene=t,this._skybox&&this._skybox.attachScene(this._scene)},initLight:function(t){this._lightRoot=t,this.mainLight=new NZ.DirectionalLight({shadowBias:.005}),this.ambientLight=new NZ.AmbientLight,t.add(this.mainLight),t.add(this.ambientLight)},dispose:function(){this._lightRoot&&(this._lightRoot.remove(this.mainLight),this._lightRoot.remove(this.ambientLight))},updateLight:function(t){var e=this.mainLight,n=this.ambientLight,i=t.getModel("light"),r=i.getModel("main"),o=i.getModel("ambient");e.intensity=r.get("intensity"),n.intensity=o.get("intensity"),e.color=NZ.parseColor(r.get("color")).slice(0,3),n.color=NZ.parseColor(o.get("color")).slice(0,3);var a=r.get("alpha")||0,s=r.get("beta")||0;e.position.setArray(NZ.directionFromAlphaBeta(a,s)),e.lookAt(NZ.Vector3.ZERO),e.castShadow=r.get("shadow"),e.shadowResolution=NZ.getShadowResolution(r.get("shadowQuality"))},updateAmbientCubemap:function(t,e,n){var i=e.getModel("light.ambientCubemap"),r=i.get("texture");if(r){this._cubemapLightsCache=this._cubemapLightsCache||{};var o=this._cubemapLightsCache[r];if(!o){var a=this;o=this._cubemapLightsCache[r]=NZ.createAmbientCubemap(i.option,t,n,(function(){a._isSkyboxFromAmbientCubemap&&a._skybox.setEnvironmentMap(o.specular.cubemap),n.getZr().refresh()}))}this._lightRoot.add(o.diffuse),this._lightRoot.add(o.specular),this._currentCubemapLights=o}else this._currentCubemapLights&&(this._lightRoot.remove(this._currentCubemapLights.diffuse),this._lightRoot.remove(this._currentCubemapLights.specular),this._currentCubemapLights=null)},updateSkybox:function(t,e,n){var i=e.get("environment"),r=this;var o=(r._skybox=r._skybox||new VY,r._skybox);if(i&&"none"!==i)if("auto"===i)if(this._isSkyboxFromAmbientCubemap=!0,this._currentCubemapLights){var a=this._currentCubemapLights.specular.cubemap;o.setEnvironmentMap(a),this._scene&&o.attachScene(this._scene),o.material.set("lod",3)}else this._skybox&&this._skybox.detachScene();else if("object"===y(i)&&i.colorStops||"string"==typeof i&&ur(i)){this._isSkyboxFromAmbientCubemap=!1;var s=new NZ.Texture2D({anisotropic:8,flipY:!1});o.setEnvironmentMap(s);var l=s.image=document.createElement("canvas");l.width=l.height=16,My(l.getContext("2d"),new Zl({shape:{x:0,y:0,width:16,height:16},style:{fill:i}})),o.attachScene(this._scene)}else{this._isSkyboxFromAmbientCubemap=!1;s=NZ.loadTexture(i,n,{anisotropic:8,flipY:!1});o.setEnvironmentMap(s),o.attachScene(this._scene)}else this._skybox&&this._skybox.detachScene(this._scene),this._skybox=null;var u=e.coordinateSystem;if(this._skybox)if(!u||!u.viewGL||"auto"===i||i.match&&i.match(/.hdr$/))this._skybox.material.undefine("fragment","SRGB_DECODE");else{var c=u.viewGL.isLinearSpace()?"define":"undefine";this._skybox.material[c]("fragment","SRGB_DECODE")}}};var hQ=rQ.vec3,dQ=Gj.extend((function(){return{segmentScale:1,useNativeLine:!0,attributes:{position:new Gj.Attribute("position","float",3,"POSITION"),normal:new Gj.Attribute("normal","float",3,"NORMAL"),color:new Gj.Attribute("color","float",4,"COLOR")}}}),{resetOffset:function(){this._vertexOffset=0,this._faceOffset=0},setQuadCount:function(t){var e=this.attributes,n=this.getQuadVertexCount()*t,i=this.getQuadTriangleCount()*t;this.vertexCount!==n&&(e.position.init(n),e.normal.init(n),e.color.init(n)),this.triangleCount!==i&&(this.indices=n>65535?new Uint32Array(3*i):new Uint16Array(3*i))},getQuadVertexCount:function(){return 4},getQuadTriangleCount:function(){return 2},addQuad:function(){var t=hQ.create(),e=hQ.create(),n=hQ.create(),i=[0,3,1,3,2,1];return function(r,o){var a=this.attributes.position,s=this.attributes.normal,l=this.attributes.color;hQ.sub(t,r[1],r[0]),hQ.sub(e,r[2],r[1]),hQ.cross(n,t,e),hQ.normalize(n,n);for(var u=0;u<4;u++)a.set(this._vertexOffset+u,r[u]),l.set(this._vertexOffset+u,o),s.set(this._vertexOffset+u,n);var c=3*this._faceOffset;for(u=0;u<6;u++)this.indices[c+u]=i[u]+this._vertexOffset;this._vertexOffset+=4,this._faceOffset+=2}}()});$t(dQ.prototype,iQ);var pQ=fZ,fQ={x:0,y:2,z:1};function gQ(t,e,n){this.rootNode=new NZ.Node;var i=new NZ.Mesh({geometry:new sQ({useNativeLine:!1}),material:e,castShadow:!1,ignorePicking:!0,$ignorePicking:!0,renderOrder:1}),r=new NZ.Mesh({geometry:new dQ,material:n,castShadow:!1,culling:!1,ignorePicking:!0,$ignorePicking:!0,renderOrder:0});this.rootNode.add(r),this.rootNode.add(i),this.faceInfo=t,this.plane=new NZ.Plane,this.linesMesh=i,this.quadsMesh=r}gQ.prototype.update=function(t,e,n){var i=t.coordinateSystem,r=[i.getAxis(this.faceInfo[0]),i.getAxis(this.faceInfo[1])],o=this.linesMesh.geometry,a=this.quadsMesh.geometry;o.convertToDynamicArray(!0),a.convertToDynamicArray(!0),this._updateSplitLines(o,r,t,n),this._udpateSplitAreas(a,r,t,n),o.convertToTypedArray(),a.convertToTypedArray();var s=i.getAxis(this.faceInfo[2]);!function(t,e,n,i){var r=[0,0,0],o=i<0?n.getExtentMin():n.getExtentMax();r[fQ[n.dim]]=o,t.position.setArray(r),t.rotation.identity(),e.distance=-Math.abs(o),e.normal.set(0,0,0),"x"===n.dim?(t.rotation.rotateY(i*Math.PI/2),e.normal.x=-i):"z"===n.dim?(t.rotation.rotateX(-i*Math.PI/2),e.normal.y=-i):(i>0&&t.rotation.rotateY(Math.PI),e.normal.z=-i)}(this.rootNode,this.plane,s,this.faceInfo[3])},gQ.prototype._updateSplitLines=function(t,e,n,i){var r=i.getDevicePixelRatio();e.forEach((function(i,o){var a=i.model,s=e[1-o].getExtent();if(!i.scale.isBlank()){var l=a.getModel("splitLine",n.getModel("splitLine"));if(l.get("show")){var u=l.getModel("lineStyle"),c=u.get("color"),h=pQ(u.get("opacity"),1),d=pQ(u.get("width"),1);c=he(c)?c:[c];for(var p=i.getTicksCoords({tickModel:l}),f=0,g=0;g<p.length;g++){var m=p[g].coord,v=NZ.parseColor(c[f%c.length]);v[3]*=h;var y=[0,0,0],_=[0,0,0];y[o]=_[o]=m,y[1-o]=s[0],_[1-o]=s[1],t.addLine(y,_,v,d*r),f++}}}}))},gQ.prototype._udpateSplitAreas=function(t,e,n,i){e.forEach((function(i,r){var o=i.model,a=e[1-r].getExtent();if(!i.scale.isBlank()){var s=o.getModel("splitArea",n.getModel("splitArea"));if(s.get("show")){var l=s.getModel("areaStyle"),u=l.get("color"),c=pQ(l.get("opacity"),1);u=he(u)?u:[u];for(var h=i.getTicksCoords({tickModel:s,clamp:!0}),d=0,p=[0,0,0],f=[0,0,0],g=0;g<h.length;g++){var m=h[g].coord,v=[0,0,0],y=[0,0,0];if(v[r]=y[r]=m,v[1-r]=a[0],y[1-r]=a[1],0!==g){var _=NZ.parseColor(u[d%u.length]);_[3]*=c,t.addQuad([p,v,y,f],_),p=v,f=y,d++}else p=v,f=y}}}}))};var mQ=[0,1,2,0,2,3],vQ=Gj.extend((function(){return{attributes:{position:new Gj.Attribute("position","float",3,"POSITION"),texcoord:new Gj.Attribute("texcoord","float",2,"TEXCOORD_0"),offset:new Gj.Attribute("offset","float",2),color:new Gj.Attribute("color","float",4,"COLOR")}}}),{resetOffset:function(){this._vertexOffset=0,this._faceOffset=0},setSpriteCount:function(t){this._spriteCount=t;var e=4*t,n=2*t;this.vertexCount!==e&&(this.attributes.position.init(e),this.attributes.offset.init(e),this.attributes.color.init(e)),this.triangleCount!==n&&(this.indices=e>65535?new Uint32Array(3*n):new Uint16Array(3*n))},setSpriteAlign:function(t,e,n,i,r){var o,a,s,l;switch(null==n&&(n="left"),null==i&&(i="top"),r=r||0,n){case"left":o=r,s=e[0]+r;break;case"center":case"middle":o=-e[0]/2,s=e[0]/2;break;case"right":o=-e[0]-r,s=-r}switch(i){case"bottom":a=r,l=e[1]+r;break;case"middle":a=-e[1]/2,l=e[1]/2;break;case"top":a=-e[1]-r,l=-r}var u=4*t,c=this.attributes.offset;c.set(u,[o,l]),c.set(u+1,[s,l]),c.set(u+2,[s,a]),c.set(u+3,[o,a])},addSprite:function(t,e,n,i,r,o){var a=this._vertexOffset;this.setSprite(this._vertexOffset/4,t,e,n,i,r,o);for(var s=0;s<mQ.length;s++)this.indices[3*this._faceOffset+s]=mQ[s]+a;return this._faceOffset+=2,this._vertexOffset+=4,a/4},setSprite:function(t,e,n,i,r,o,a){for(var s=4*t,l=this.attributes,u=0;u<4;u++)l.position.set(s+u,e);var c=l.texcoord;c.set(s,[i[0][0],i[0][1]]),c.set(s+1,[i[1][0],i[0][1]]),c.set(s+2,[i[1][0],i[1][1]]),c.set(s+3,[i[0][0],i[1][1]]),this.setSpriteAlign(t,n,r,o,a)}});$t(vQ.prototype,iQ);NZ.Shader.import("@export ecgl.labels.vertex\n\nattribute vec3 position: POSITION;\nattribute vec2 texcoord: TEXCOORD_0;\nattribute vec2 offset;\n#ifdef VERTEX_COLOR\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n#endif\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform vec4 viewport : VIEWPORT;\n\nvarying vec2 v_Texcoord;\n\nvoid main()\n{\n vec4 proj = worldViewProjection * vec4(position, 1.0);\n\n vec2 screen = (proj.xy / abs(proj.w) + 1.0) * 0.5 * viewport.zw;\n\n screen += offset;\n\n proj.xy = (screen / viewport.zw - 0.5) * 2.0 * abs(proj.w);\n gl_Position = proj;\n#ifdef VERTEX_COLOR\n v_Color = a_Color;\n#endif\n v_Texcoord = texcoord;\n}\n@end\n\n\n@export ecgl.labels.fragment\n\nuniform vec3 color : [1.0, 1.0, 1.0];\nuniform float alpha : 1.0;\nuniform sampler2D textureAtlas;\nuniform vec2 uvScale: [1.0, 1.0];\n\n#ifdef VERTEX_COLOR\nvarying vec4 v_Color;\n#endif\nvarying float v_Miter;\n\nvarying vec2 v_Texcoord;\n\nvoid main()\n{\n gl_FragColor = vec4(color, alpha) * texture2D(textureAtlas, v_Texcoord * uvScale);\n#ifdef VERTEX_COLOR\n gl_FragColor *= v_Color;\n#endif\n}\n\n@end");var yQ=NZ.Mesh.extend((function(){return{geometry:new vQ({dynamic:!0}),material:new NZ.Material({shader:NZ.createShader("ecgl.labels"),transparent:!0,depthMask:!1}),culling:!1,castShadow:!1,ignorePicking:!0}})),_Q=fZ,xQ={x:0,y:2,z:1};function bQ(t,e){var n=new NZ.Mesh({geometry:new sQ({useNativeLine:!1}),material:e,castShadow:!1,ignorePicking:!0,renderOrder:2}),i=new yQ;i.material.depthMask=!1;var r=new NZ.Node;r.add(n),r.add(i),this.rootNode=r,this.dim=t,this.linesMesh=n,this.labelsMesh=i,this.axisLineCoords=null,this.labelElements=[]}var wQ={x:"y",y:"x",z:"y"};bQ.prototype.update=function(t,e,n){var i=t.coordinateSystem.getAxis(this.dim),r=this.linesMesh.geometry,o=this.labelsMesh.geometry;r.convertToDynamicArray(!0),o.convertToDynamicArray(!0);var a=i.model,s=i.getExtent(),l=n.getDevicePixelRatio(),u=a.getModel("axisLine",t.getModel("axisLine")),c=a.getModel("axisTick",t.getModel("axisTick")),h=a.getModel("axisLabel",t.getModel("axisLabel")),d=u.get("lineStyle.color");if(u.get("show")){var p=u.getModel("lineStyle"),f=[0,0,0];(A=[0,0,0])[T=xQ[i.dim]]=s[0],f[T]=s[1],this.axisLineCoords=[A,f];var g=NZ.parseColor(d),m=_Q(p.get("width"),1),v=_Q(p.get("opacity"),1);g[3]*=v,r.addLine(A,f,g,m*l)}if(c.get("show")){var y=c.getModel("lineStyle"),_=NZ.parseColor(_Q(y.get("color"),d));m=_Q(y.get("width"),1);_[3]*=_Q(y.get("opacity"),1);for(var x=i.getTicksCoords(),b=c.get("length"),w=0;w<x.length;w++){var S=x[w].coord,A=[0,0,0],T=(f=[0,0,0],xQ[i.dim]),M=xQ[wQ[i.dim]];A[T]=f[T]=S,f[M]=b,r.addLine(A,f,_,m*l)}}this.labelElements=[];l=n.getDevicePixelRatio();if(h.get("show")){x=i.getTicksCoords();var I=a.get("data"),C=h.get("margin"),D=i.getViewLabels();for(w=0;w<D.length;w++){var E=D[w].tickValue,L=D[w].formattedLabel,P=D[w].rawLabel,R=(S=i.dataToCoord(E),[0,0,0]);T=xQ[i.dim],M=xQ[wQ[i.dim]];R[T]=R[T]=S,R[M]=C;var N=h;I&&I[E]&&I[E].textStyle&&(N=new zd(I[E].textStyle,h,a.ecModel));var k=_Q(N.get("color"),d),O=new Jl({style:md(N,{text:L,fill:"function"==typeof k?k("category"===i.type?P:"value"===i.type?E+"":E,w):k,verticalAlign:"top",align:"left"})}),B=e.add(O),z=O.getBoundingRect();o.addSprite(R,[z.width*l,z.height*l],B),this.labelElements.push(O)}}if(a.get("name")){var F=a.getModel("nameTextStyle"),V=(R=[0,0,0],T=xQ[i.dim],M=xQ[wQ[i.dim]],_Q(F.get("color"),d)),G=F.get("borderColor");m=F.get("borderWidth");R[T]=R[T]=(s[0]+s[1])/2,R[M]=a.get("nameGap");O=new Jl({style:md(F,{text:a.get("name"),fill:V,stroke:G,lineWidth:m})}),B=e.add(O),z=O.getBoundingRect();o.addSprite(R,[z.width*l,z.height*l],B),O.__idx=this.labelElements.length,this.nameLabelElement=O}this.labelsMesh.material.set("textureAtlas",e.getTexture()),this.labelsMesh.material.set("uvScale",e.getCoordsScale()),r.convertToTypedArray(),o.convertToTypedArray()},bQ.prototype.setSpriteAlign=function(t,e,n){for(var i=n.getDevicePixelRatio(),r=this.labelsMesh.geometry,o=0;o<this.labelElements.length;o++){var a=this.labelElements[o].getBoundingRect();r.setSpriteAlign(o,[a.width*i,a.height*i],t,e)}var s=this.nameLabelElement;if(s){a=s.getBoundingRect();r.setSpriteAlign(s.__idx,[a.width*i,a.height*i],t,e),r.dirty()}this.textAlign=t,this.textVerticalAlign=e};var SQ="@export ecgl.lines3D.vertex\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\nattribute vec3 position: POSITION;\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n\nvoid main()\n{\n gl_Position = worldViewProjection * vec4(position, 1.0);\n v_Color = a_Color;\n}\n\n@end\n\n@export ecgl.lines3D.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\nvarying vec4 v_Color;\n\n@import clay.util.srgb\n\nvoid main()\n{\n#ifdef SRGB_DECODE\n gl_FragColor = sRGBToLinear(color * v_Color);\n#else\n gl_FragColor = color * v_Color;\n#endif\n}\n@end\n\n\n\n@export ecgl.lines3D.clipNear\n\nvec4 clipNear(vec4 p1, vec4 p2) {\n float n = (p1.w - near) / (p1.w - p2.w);\n return vec4(mix(p1.xy, p2.xy, n), -near, near);\n}\n\n@end\n\n@export ecgl.lines3D.expandLine\n#ifdef VERTEX_ANIMATION\n vec4 prevProj = worldViewProjection * vec4(mix(prevPositionPrev, positionPrev, percent), 1.0);\n vec4 currProj = worldViewProjection * vec4(mix(prevPosition, position, percent), 1.0);\n vec4 nextProj = worldViewProjection * vec4(mix(prevPositionNext, positionNext, percent), 1.0);\n#else\n vec4 prevProj = worldViewProjection * vec4(positionPrev, 1.0);\n vec4 currProj = worldViewProjection * vec4(position, 1.0);\n vec4 nextProj = worldViewProjection * vec4(positionNext, 1.0);\n#endif\n\n if (currProj.w < 0.0) {\n if (nextProj.w > 0.0) {\n currProj = clipNear(currProj, nextProj);\n }\n else if (prevProj.w > 0.0) {\n currProj = clipNear(currProj, prevProj);\n }\n }\n\n vec2 prevScreen = (prevProj.xy / abs(prevProj.w) + 1.0) * 0.5 * viewport.zw;\n vec2 currScreen = (currProj.xy / abs(currProj.w) + 1.0) * 0.5 * viewport.zw;\n vec2 nextScreen = (nextProj.xy / abs(nextProj.w) + 1.0) * 0.5 * viewport.zw;\n\n vec2 dir;\n float len = offset;\n if (position == positionPrev) {\n dir = normalize(nextScreen - currScreen);\n }\n else if (position == positionNext) {\n dir = normalize(currScreen - prevScreen);\n }\n else {\n vec2 dirA = normalize(currScreen - prevScreen);\n vec2 dirB = normalize(nextScreen - currScreen);\n\n vec2 tanget = normalize(dirA + dirB);\n\n float miter = 1.0 / max(dot(tanget, dirA), 0.5);\n len *= miter;\n dir = tanget;\n }\n\n dir = vec2(-dir.y, dir.x) * len;\n currScreen += dir;\n\n currProj.xy = (currScreen / viewport.zw - 0.5) * 2.0 * abs(currProj.w);\n@end\n\n\n@export ecgl.meshLines3D.vertex\n\nattribute vec3 position: POSITION;\nattribute vec3 positionPrev;\nattribute vec3 positionNext;\nattribute float offset;\nattribute vec4 a_Color : COLOR;\n\n#ifdef VERTEX_ANIMATION\nattribute vec3 prevPosition;\nattribute vec3 prevPositionPrev;\nattribute vec3 prevPositionNext;\nuniform float percent : 1.0;\n#endif\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform vec4 viewport : VIEWPORT;\nuniform float near : NEAR;\n\nvarying vec4 v_Color;\n\n@import ecgl.common.wireframe.vertexHeader\n\n@import ecgl.lines3D.clipNear\n\nvoid main()\n{\n @import ecgl.lines3D.expandLine\n\n gl_Position = currProj;\n\n v_Color = a_Color;\n\n @import ecgl.common.wireframe.vertexMain\n}\n@end\n\n\n@export ecgl.meshLines3D.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\nvarying vec4 v_Color;\n\n@import ecgl.common.wireframe.fragmentHeader\n\n@import clay.util.srgb\n\nvoid main()\n{\n#ifdef SRGB_DECODE\n gl_FragColor = sRGBToLinear(color * v_Color);\n#else\n gl_FragColor = color * v_Color;\n#endif\n\n @import ecgl.common.wireframe.fragmentMain\n}\n\n@end",AQ=fZ;NZ.Shader.import(SQ);var TQ={x:0,y:2,z:1},MQ=zm.extend({type:"grid3D",__ecgl__:!0,init:function(t,e){var n=new NZ.Material({shader:NZ.createShader("ecgl.color"),depthMask:!1,transparent:!0}),i=new NZ.Material({shader:NZ.createShader("ecgl.meshLines3D"),depthMask:!1,transparent:!0});n.define("fragment","DOUBLE_SIDED"),n.define("both","VERTEX_COLOR"),this.groupGL=new NZ.Node,this._control=new nQ({zr:e.getZr()}),this._control.init(),this._faces=[["y","z","x",-1,"left"],["y","z","x",1,"right"],["x","y","z",-1,"bottom"],["x","y","z",1,"top"],["x","z","y",-1,"far"],["x","z","y",1,"near"]].map((function(t){var e=new gQ(t,i,n);return this.groupGL.add(e.rootNode),e}),this),this._axes=["x","y","z"].map((function(t){var e=new bQ(t,i);return this.groupGL.add(e.rootNode),e}),this);var r=e.getDevicePixelRatio();this._axisLabelSurface=new uQ({width:256,height:256,devicePixelRatio:r}),this._axisLabelSurface.onupdate=function(){e.getZr().refresh()},this._axisPointerLineMesh=new NZ.Mesh({geometry:new sQ({useNativeLine:!1}),material:i,castShadow:!1,ignorePicking:!0,renderOrder:3}),this.groupGL.add(this._axisPointerLineMesh),this._axisPointerLabelsSurface=new uQ({width:128,height:128,devicePixelRatio:r}),this._axisPointerLabelsMesh=new yQ({ignorePicking:!0,renderOrder:4,castShadow:!1}),this._axisPointerLabelsMesh.material.set("textureAtlas",this._axisPointerLabelsSurface.getTexture()),this.groupGL.add(this._axisPointerLabelsMesh),this._lightRoot=new NZ.Node,this._sceneHelper=new cQ,this._sceneHelper.initLight(this._lightRoot)},render:function(t,e,n){this._model=t,this._api=n;var i=t.coordinateSystem;i.viewGL.add(this._lightRoot),t.get("show")?i.viewGL.add(this.groupGL):i.viewGL.remove(this.groupGL);var r=this._control;r.setViewGL(i.viewGL);var o=t.getModel("viewControl");r.setFromViewControlModel(o,0),this._axisLabelSurface.clear(),r.off("update"),t.get("show")&&(this._faces.forEach((function(i){i.update(t,e,n)}),this),this._axes.forEach((function(e){e.update(t,this._axisLabelSurface,n)}),this)),r.on("update",this._onCameraChange.bind(this,t,n),this),this._sceneHelper.setScene(i.viewGL.scene),this._sceneHelper.updateLight(t),i.viewGL.setPostEffect(t.getModel("postEffect"),n),i.viewGL.setTemporalSuperSampling(t.getModel("temporalSuperSampling")),this._initMouseHandler(t)},afterRender:function(t,e,n,i){var r=i.renderer;this._sceneHelper.updateAmbientCubemap(r,t,n),this._sceneHelper.updateSkybox(r,t,n)},showAxisPointer:function(t,e,n,i){this._doShowAxisPointer(),this._updateAxisPointer(i.value)},hideAxisPointer:function(t,e,n,i){this._doHideAxisPointer()},_initMouseHandler:function(t){var e=t.coordinateSystem.viewGL;t.get("show")&&t.get("axisPointer.show")?e.on("mousemove",this._updateAxisPointerOnMousePosition,this):e.off("mousemove",this._updateAxisPointerOnMousePosition)},_updateAxisPointerOnMousePosition:function(t){if(!t.target){for(var e,n=this._model.coordinateSystem,i=n.viewGL,r=i.castRay(t.offsetX,t.offsetY,new NZ.Ray),o=0;o<this._faces.length;o++){var a=this._faces[o];if(!a.rootNode.invisible){a.plane.normal.dot(i.camera.worldTransform.z)<0&&a.plane.normal.negate();var s=r.intersectPlane(a.plane);if(s){var l=n.getAxis(a.faceInfo[0]),u=n.getAxis(a.faceInfo[1]),c=TQ[a.faceInfo[0]],h=TQ[a.faceInfo[1]];l.contain(s.array[c])&&u.contain(s.array[h])&&(e=s)}}}if(e){var d=n.pointToData(e.array,[],!0);this._updateAxisPointer(d),this._doShowAxisPointer()}else this._doHideAxisPointer()}},_onCameraChange:function(t,e){t.get("show")&&(this._updateFaceVisibility(),this._updateAxisLinePosition());var n=this._control;e.dispatchAction({type:"grid3DChangeCamera",alpha:n.getAlpha(),beta:n.getBeta(),distance:n.getDistance(),center:n.getCenter(),from:this.uid,grid3DId:t.id})},_updateFaceVisibility:function(){var t=this._control.getCamera(),e=new NZ.Vector3;t.update();for(var n=0;n<this._faces.length/2;n++){for(var i=[],r=0;r<2;r++){this._faces[2*n+r].rootNode.getWorldPosition(e),e.transformMat4(t.viewMatrix),i[r]=e.z}var o=i[0]>i[1]?0:1,a=this._faces[2*n+o],s=this._faces[2*n+1-o];a.rootNode.invisible=!0,s.rootNode.invisible=!1}},_updateAxisLinePosition:function(){var t=this._model.coordinateSystem,e=t.getAxis("x"),n=t.getAxis("y"),i=t.getAxis("z"),r=i.getExtentMax(),o=i.getExtentMin(),a=e.getExtentMin(),s=e.getExtentMax(),l=n.getExtentMax(),u=n.getExtentMin(),c=this._axes[0].rootNode,h=this._axes[1].rootNode,d=this._axes[2].rootNode,p=this._faces,f=p[4].rootNode.invisible?u:l,g=p[2].rootNode.invisible?r:o,m=p[0].rootNode.invisible?a:s,v=p[2].rootNode.invisible?r:o,y=p[0].rootNode.invisible?s:a,_=p[4].rootNode.invisible?u:l;c.rotation.identity(),h.rotation.identity(),d.rotation.identity(),p[4].rootNode.invisible&&(this._axes[0].flipped=!0,c.rotation.rotateX(Math.PI)),p[0].rootNode.invisible&&(this._axes[1].flipped=!0,h.rotation.rotateZ(Math.PI)),p[4].rootNode.invisible&&(this._axes[2].flipped=!0,d.rotation.rotateY(Math.PI)),c.position.set(0,g,f),h.position.set(m,v,0),d.position.set(y,0,_),c.update(),h.update(),d.update(),this._updateAxisLabelAlign()},_updateAxisLabelAlign:function(){var t=this._control.getCamera(),e=[new NZ.Vector4,new NZ.Vector4],n=new NZ.Vector4;this.groupGL.getWorldPosition(n),n.w=1,n.transformMat4(t.viewMatrix).transformMat4(t.projectionMatrix),n.x/=n.w,n.y/=n.w,this._axes.forEach((function(i){var r=i.axisLineCoords;i.labelsMesh.geometry;for(var o=0;o<e.length;o++)e[o].setArray(r[o]),e[o].w=1,e[o].transformMat4(i.rootNode.worldTransform).transformMat4(t.viewMatrix).transformMat4(t.projectionMatrix),e[o].x/=e[o].w,e[o].y/=e[o].w;var a,s,l=e[1].x-e[0].x,u=e[1].y-e[0].y,c=(e[1].x+e[0].x)/2,h=(e[1].y+e[0].y)/2;Math.abs(u/l)<.5?(a="center",s=h>n.y?"bottom":"top"):(s="middle",a=c>n.x?"left":"right"),i.setSpriteAlign(a,s,this._api)}),this)},_doShowAxisPointer:function(){this._axisPointerLineMesh.invisible&&(this._axisPointerLineMesh.invisible=!1,this._axisPointerLabelsMesh.invisible=!1,this._api.getZr().refresh())},_doHideAxisPointer:function(){this._axisPointerLineMesh.invisible||(this._axisPointerLineMesh.invisible=!0,this._axisPointerLabelsMesh.invisible=!0,this._api.getZr().refresh())},_updateAxisPointer:function(t){var e=this._model.coordinateSystem,n=e.dataToPoint(t),i=this._axisPointerLineMesh.geometry,r=this._model.getModel("axisPointer"),o=this._api.getDevicePixelRatio();function a(t){return fZ(t.model.get("axisPointer.show"),r.get("show"))}function s(t){var e=t.model.getModel("axisPointer",r).getModel("lineStyle"),n=NZ.parseColor(e.get("color")),i=AQ(e.get("width"),1),o=AQ(e.get("opacity"),1);return n[3]*=o,{color:n,lineWidth:i}}i.convertToDynamicArray(!0);for(var l=0;l<this._faces.length;l++){var u=this._faces[l];if(!u.rootNode.invisible){for(var c=u.faceInfo,h=c[3]<0?e.getAxis(c[2]).getExtentMin():e.getAxis(c[2]).getExtentMax(),d=TQ[c[2]],p=0;p<2;p++){var f=c[p],g=c[1-p],m=e.getAxis(f),v=e.getAxis(g);if(a(m)){var y=TQ[f],_=TQ[g];(w=[0,0,0])[y]=(b=[0,0,0])[y]=n[y],w[d]=b[d]=h,w[_]=v.getExtentMin(),b[_]=v.getExtentMax();var x=s(m);i.addLine(w,b,x.color,x.lineWidth*o)}}if(a(e.getAxis(c[2]))){var b,w=n.slice();(b=n.slice())[d]=h;x=s(e.getAxis(c[2]));i.addLine(w,b,x.color,x.lineWidth*o)}}}i.convertToTypedArray(),this._updateAxisPointerLabelsMesh(t),this._api.getZr().refresh()},_updateAxisPointerLabelsMesh:function(t){var e=this._model,n=this._axisPointerLabelsMesh,i=this._axisPointerLabelsSurface,r=e.coordinateSystem,o=e.getModel("axisPointer");n.geometry.convertToDynamicArray(!0),i.clear();var a={x:"y",y:"x",z:"y"};this._axes.forEach((function(e,s){var l=r.getAxis(e.dim),u=l.model.getModel("axisPointer",o),c=u.getModel("label"),h=u.get("lineStyle.color");if(c.get("show")&&u.get("show")){var d=t[s],p=c.get("formatter"),f=l.scale.getLabel({value:d});if(null!=p)f=p(f,t);else if("interval"===l.scale.type||"log"===l.scale.type){var g=ua(l.scale.getTicks()[0]);f=d.toFixed(g+2)}var m=c.get("color"),v=new Jl({style:md(c,{text:f,fill:m||h,align:"left",verticalAlign:"top"})}),y=i.add(v),_=v.getBoundingRect(),x=this._api.getDevicePixelRatio(),b=e.rootNode.position.toArray();b[TQ[a[e.dim]]]+=(e.flipped?-1:1)*c.get("margin"),b[TQ[e.dim]]=l.dataToCoord(t[s]),n.geometry.addSprite(b,[_.width*x,_.height*x],y,e.textAlign,e.textVerticalAlign)}}),this),i.getZr().refreshImmediately(),n.material.set("uvScale",i.getCoordsScale()),n.geometry.convertToTypedArray()},dispose:function(){this.groupGL.removeAll(),this._control.dispose(),this._axisLabelSurface.dispose(),this._axisPointerLabelsSurface.dispose()}});function IQ(t){hM.call(this,t),this.type="cartesian3D",this.dimensions=["x","y","z"],this.size=[0,0,0]}function CQ(t,e,n){fw.call(this,t,e,n)}IQ.prototype={constructor:IQ,model:null,containPoint:function(t){return this.getAxis("x").contain(t[0])&&this.getAxis("y").contain(t[2])&&this.getAxis("z").contain(t[1])},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])&&this.getAxis("z").containData(t[2])},dataToPoint:function(t,e,n){return(e=e||[])[0]=this.getAxis("x").dataToCoord(t[0],n),e[2]=this.getAxis("y").dataToCoord(t[1],n),e[1]=this.getAxis("z").dataToCoord(t[2],n),e},pointToData:function(t,e,n){return(e=e||[])[0]=this.getAxis("x").coordToData(t[0],n),e[1]=this.getAxis("y").coordToData(t[2],n),e[2]=this.getAxis("z").coordToData(t[1],n),e}},ee(IQ,hM),CQ.prototype={constructor:CQ,getExtentMin:function(){var t=this._extent;return Math.min(t[0],t[1])},getExtentMax:function(){var t=this._extent;return Math.max(t[0],t[1])},calculateCategoryInterval:function(){return Math.floor(this.scale.count()/8)}},ee(CQ,fw);var DQ=function(){this._pool={},this._allocatedTextures=[]};DQ.prototype={constructor:DQ,get:function(t){var e=PQ(t);this._pool.hasOwnProperty(e)||(this._pool[e]=[]);var n=this._pool[e];if(!n.length){var i=new Ej(t);return this._allocatedTextures.push(i),i}return n.pop()},put:function(t){var e=PQ(t);this._pool.hasOwnProperty(e)||(this._pool[e]=[]),this._pool[e].push(t)},clear:function(t){for(var e=0;e<this._allocatedTextures.length;e++)this._allocatedTextures[e].dispose(t);this._pool={},this._allocatedTextures=[]}};var EQ={width:512,height:512,type:hW.UNSIGNED_BYTE,format:hW.RGBA,wrapS:hW.CLAMP_TO_EDGE,wrapT:hW.CLAMP_TO_EDGE,minFilter:hW.LINEAR_MIPMAP_LINEAR,magFilter:hW.LINEAR,useMipmap:!0,anisotropic:1,flipY:!0,unpackAlignment:4,premultiplyAlpha:!1},LQ=Object.keys(EQ);function PQ(t){aW.defaultsWithPropList(t,EQ,LQ),function(t){var e=(n=t.width,i=t.height,!(n&n-1||i&i-1));var n,i;t.format===hW.DEPTH_COMPONENT&&(t.useMipmap=!1);e&&t.useMipmap||(t.minFilter==hW.NEAREST_MIPMAP_NEAREST||t.minFilter==hW.NEAREST_MIPMAP_LINEAR?t.minFilter=hW.NEAREST:t.minFilter!=hW.LINEAR_MIPMAP_LINEAR&&t.minFilter!=hW.LINEAR_MIPMAP_NEAREST||(t.minFilter=hW.LINEAR));e||(t.wrapS=hW.CLAMP_TO_EDGE,t.wrapT=hW.CLAMP_TO_EDGE)}(t);for(var e="",n=0;n<LQ.length;n++){e+=t[LQ[n]].toString()}return e}var RQ=["px","nx","py","ny","pz","nz"];function NQ(t,e,n){return"alphaMap"===n?t.material.get("diffuseMap"):"alphaCutoff"===n?t.material.isDefined("fragment","ALPHA_TEST")&&t.material.get("diffuseMap")&&t.material.get("alphaCutoff")||0:"uvRepeat"===n?t.material.get("uvRepeat"):"uvOffset"===n?t.material.get("uvOffset"):e.get(n)}function kQ(t,e){var n=t.material,i=e.material;return n.get("diffuseMap")!==i.get("diffuseMap")||(n.get("alphaCutoff")||0)!==(i.get("alphaCutoff")||0)}pX.import("@export clay.sm.depth.vertex\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nattribute vec3 position : POSITION;\nattribute vec2 texcoord : TEXCOORD_0;\nuniform vec2 uvRepeat = vec2(1.0, 1.0);\nuniform vec2 uvOffset = vec2(0.0, 0.0);\n@import clay.chunk.skinning_header\n@import clay.chunk.instancing_header\nvarying vec4 v_ViewPosition;\nvarying vec2 v_Texcoord;\nvoid main(){\n vec4 P = vec4(position, 1.0);\n#ifdef SKINNING\n @import clay.chunk.skin_matrix\n P = skinMatrixWS * P;\n#endif\n#ifdef INSTANCING\n @import clay.chunk.instancing_matrix\n P = instanceMat * P;\n#endif\n v_ViewPosition = worldViewProjection * P;\n gl_Position = v_ViewPosition;\n v_Texcoord = texcoord * uvRepeat + uvOffset;\n}\n@end\n@export clay.sm.depth.fragment\nvarying vec4 v_ViewPosition;\nvarying vec2 v_Texcoord;\nuniform float bias : 0.001;\nuniform float slopeScale : 1.0;\nuniform sampler2D alphaMap;\nuniform float alphaCutoff: 0.0;\n@import clay.util.encode_float\nvoid main(){\n float depth = v_ViewPosition.z / v_ViewPosition.w;\n if (alphaCutoff > 0.0) {\n if (texture2D(alphaMap, v_Texcoord).a <= alphaCutoff) {\n discard;\n }\n }\n#ifdef USE_VSM\n depth = depth * 0.5 + 0.5;\n float moment1 = depth;\n float moment2 = depth * depth;\n #ifdef SUPPORT_STANDARD_DERIVATIVES\n float dx = dFdx(depth);\n float dy = dFdy(depth);\n moment2 += 0.25*(dx*dx+dy*dy);\n #endif\n gl_FragColor = vec4(moment1, moment2, 0.0, 1.0);\n#else\n #ifdef SUPPORT_STANDARD_DERIVATIVES\n float dx = dFdx(depth);\n float dy = dFdy(depth);\n depth += sqrt(dx*dx + dy*dy) * slopeScale + bias;\n #else\n depth += bias;\n #endif\n gl_FragColor = encodeFloat(depth * 0.5 + 0.5);\n#endif\n}\n@end\n@export clay.sm.debug_depth\nuniform sampler2D depthMap;\nvarying vec2 v_Texcoord;\n@import clay.util.decode_float\nvoid main() {\n vec4 tex = texture2D(depthMap, v_Texcoord);\n#ifdef USE_VSM\n gl_FragColor = vec4(tex.rgb, 1.0);\n#else\n float depth = decodeFloat(tex);\n gl_FragColor = vec4(depth, depth, depth, 1.0);\n#endif\n}\n@end\n@export clay.sm.distance.vertex\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform mat4 world : WORLD;\nattribute vec3 position : POSITION;\n@import clay.chunk.skinning_header\nvarying vec3 v_WorldPosition;\nvoid main (){\n vec4 P = vec4(position, 1.0);\n#ifdef SKINNING\n @import clay.chunk.skin_matrix\n P = skinMatrixWS * P;\n#endif\n#ifdef INSTANCING\n @import clay.chunk.instancing_matrix\n P = instanceMat * P;\n#endif\n gl_Position = worldViewProjection * P;\n v_WorldPosition = (world * P).xyz;\n}\n@end\n@export clay.sm.distance.fragment\nuniform vec3 lightPosition;\nuniform float range : 100;\nvarying vec3 v_WorldPosition;\n@import clay.util.encode_float\nvoid main(){\n float dist = distance(lightPosition, v_WorldPosition);\n#ifdef USE_VSM\n gl_FragColor = vec4(dist, dist * dist, 0.0, 0.0);\n#else\n dist = dist / range;\n gl_FragColor = encodeFloat(dist);\n#endif\n}\n@end\n@export clay.plugin.shadow_map_common\n@import clay.util.decode_float\nfloat tapShadowMap(sampler2D map, vec2 uv, float z){\n vec4 tex = texture2D(map, uv);\n return step(z, decodeFloat(tex) * 2.0 - 1.0);\n}\nfloat pcf(sampler2D map, vec2 uv, float z, float textureSize, vec2 scale) {\n float shadowContrib = tapShadowMap(map, uv, z);\n vec2 offset = vec2(1.0 / textureSize) * scale;\n#ifdef PCF_KERNEL_SIZE\n for (int _idx_ = 0; _idx_ < PCF_KERNEL_SIZE; _idx_++) {{\n shadowContrib += tapShadowMap(map, uv + offset * pcfKernel[_idx_], z);\n }}\n return shadowContrib / float(PCF_KERNEL_SIZE + 1);\n#else\n shadowContrib += tapShadowMap(map, uv+vec2(offset.x, 0.0), z);\n shadowContrib += tapShadowMap(map, uv+vec2(offset.x, offset.y), z);\n shadowContrib += tapShadowMap(map, uv+vec2(-offset.x, offset.y), z);\n shadowContrib += tapShadowMap(map, uv+vec2(0.0, offset.y), z);\n shadowContrib += tapShadowMap(map, uv+vec2(-offset.x, 0.0), z);\n shadowContrib += tapShadowMap(map, uv+vec2(-offset.x, -offset.y), z);\n shadowContrib += tapShadowMap(map, uv+vec2(offset.x, -offset.y), z);\n shadowContrib += tapShadowMap(map, uv+vec2(0.0, -offset.y), z);\n return shadowContrib / 9.0;\n#endif\n}\nfloat pcf(sampler2D map, vec2 uv, float z, float textureSize) {\n return pcf(map, uv, z, textureSize, vec2(1.0));\n}\nfloat chebyshevUpperBound(vec2 moments, float z){\n float p = 0.0;\n z = z * 0.5 + 0.5;\n if (z <= moments.x) {\n p = 1.0;\n }\n float variance = moments.y - moments.x * moments.x;\n variance = max(variance, 0.0000001);\n float mD = moments.x - z;\n float pMax = variance / (variance + mD * mD);\n pMax = clamp((pMax-0.4)/(1.0-0.4), 0.0, 1.0);\n return max(p, pMax);\n}\nfloat computeShadowContrib(\n sampler2D map, mat4 lightVPM, vec3 position, float textureSize, vec2 scale, vec2 offset\n) {\n vec4 posInLightSpace = lightVPM * vec4(position, 1.0);\n posInLightSpace.xyz /= posInLightSpace.w;\n float z = posInLightSpace.z;\n if(all(greaterThan(posInLightSpace.xyz, vec3(-0.99, -0.99, -1.0))) &&\n all(lessThan(posInLightSpace.xyz, vec3(0.99, 0.99, 1.0)))){\n vec2 uv = (posInLightSpace.xy+1.0) / 2.0;\n #ifdef USE_VSM\n vec2 moments = texture2D(map, uv * scale + offset).xy;\n return chebyshevUpperBound(moments, z);\n #else\n return pcf(map, uv * scale + offset, z, textureSize, scale);\n #endif\n }\n return 1.0;\n}\nfloat computeShadowContrib(sampler2D map, mat4 lightVPM, vec3 position, float textureSize) {\n return computeShadowContrib(map, lightVPM, position, textureSize, vec2(1.0), vec2(0.0));\n}\nfloat computeShadowContribOmni(samplerCube map, vec3 direction, float range)\n{\n float dist = length(direction);\n vec4 shadowTex = textureCube(map, direction);\n#ifdef USE_VSM\n vec2 moments = shadowTex.xy;\n float variance = moments.y - moments.x * moments.x;\n float mD = moments.x - dist;\n float p = variance / (variance + mD * mD);\n if(moments.x + 0.001 < dist){\n return clamp(p, 0.0, 1.0);\n }else{\n return 1.0;\n }\n#else\n return step(dist, (decodeFloat(shadowTex) + 0.0002) * range);\n#endif\n}\n@end\n@export clay.plugin.compute_shadow_map\n#if defined(SPOT_LIGHT_SHADOWMAP_COUNT) || defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT) || defined(POINT_LIGHT_SHADOWMAP_COUNT)\n#ifdef SPOT_LIGHT_SHADOWMAP_COUNT\nuniform sampler2D spotLightShadowMaps[SPOT_LIGHT_SHADOWMAP_COUNT]:unconfigurable;\nuniform mat4 spotLightMatrices[SPOT_LIGHT_SHADOWMAP_COUNT]:unconfigurable;\nuniform float spotLightShadowMapSizes[SPOT_LIGHT_SHADOWMAP_COUNT]:unconfigurable;\n#endif\n#ifdef DIRECTIONAL_LIGHT_SHADOWMAP_COUNT\n#if defined(SHADOW_CASCADE)\nuniform sampler2D directionalLightShadowMaps[1]:unconfigurable;\nuniform mat4 directionalLightMatrices[SHADOW_CASCADE]:unconfigurable;\nuniform float directionalLightShadowMapSizes[1]:unconfigurable;\nuniform float shadowCascadeClipsNear[SHADOW_CASCADE]:unconfigurable;\nuniform float shadowCascadeClipsFar[SHADOW_CASCADE]:unconfigurable;\n#else\nuniform sampler2D directionalLightShadowMaps[DIRECTIONAL_LIGHT_SHADOWMAP_COUNT]:unconfigurable;\nuniform mat4 directionalLightMatrices[DIRECTIONAL_LIGHT_SHADOWMAP_COUNT]:unconfigurable;\nuniform float directionalLightShadowMapSizes[DIRECTIONAL_LIGHT_SHADOWMAP_COUNT]:unconfigurable;\n#endif\n#endif\n#ifdef POINT_LIGHT_SHADOWMAP_COUNT\nuniform samplerCube pointLightShadowMaps[POINT_LIGHT_SHADOWMAP_COUNT]:unconfigurable;\n#endif\nuniform bool shadowEnabled : true;\n#ifdef PCF_KERNEL_SIZE\nuniform vec2 pcfKernel[PCF_KERNEL_SIZE];\n#endif\n@import clay.plugin.shadow_map_common\n#if defined(SPOT_LIGHT_SHADOWMAP_COUNT)\nvoid computeShadowOfSpotLights(vec3 position, inout float shadowContribs[SPOT_LIGHT_COUNT] ) {\n float shadowContrib;\n for(int _idx_ = 0; _idx_ < SPOT_LIGHT_SHADOWMAP_COUNT; _idx_++) {{\n shadowContrib = computeShadowContrib(\n spotLightShadowMaps[_idx_], spotLightMatrices[_idx_], position,\n spotLightShadowMapSizes[_idx_]\n );\n shadowContribs[_idx_] = shadowContrib;\n }}\n for(int _idx_ = SPOT_LIGHT_SHADOWMAP_COUNT; _idx_ < SPOT_LIGHT_COUNT; _idx_++){{\n shadowContribs[_idx_] = 1.0;\n }}\n}\n#endif\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n#ifdef SHADOW_CASCADE\nvoid computeShadowOfDirectionalLights(vec3 position, inout float shadowContribs[DIRECTIONAL_LIGHT_COUNT]){\n float depth = (2.0 * gl_FragCoord.z - gl_DepthRange.near - gl_DepthRange.far)\n / (gl_DepthRange.far - gl_DepthRange.near);\n float shadowContrib;\n shadowContribs[0] = 1.0;\n for (int _idx_ = 0; _idx_ < SHADOW_CASCADE; _idx_++) {{\n if (\n depth >= shadowCascadeClipsNear[_idx_] &&\n depth <= shadowCascadeClipsFar[_idx_]\n ) {\n shadowContrib = computeShadowContrib(\n directionalLightShadowMaps[0], directionalLightMatrices[_idx_], position,\n directionalLightShadowMapSizes[0],\n vec2(1.0 / float(SHADOW_CASCADE), 1.0),\n vec2(float(_idx_) / float(SHADOW_CASCADE), 0.0)\n );\n shadowContribs[0] = shadowContrib;\n }\n }}\n for(int _idx_ = DIRECTIONAL_LIGHT_SHADOWMAP_COUNT; _idx_ < DIRECTIONAL_LIGHT_COUNT; _idx_++) {{\n shadowContribs[_idx_] = 1.0;\n }}\n}\n#else\nvoid computeShadowOfDirectionalLights(vec3 position, inout float shadowContribs[DIRECTIONAL_LIGHT_COUNT]){\n float shadowContrib;\n for(int _idx_ = 0; _idx_ < DIRECTIONAL_LIGHT_SHADOWMAP_COUNT; _idx_++) {{\n shadowContrib = computeShadowContrib(\n directionalLightShadowMaps[_idx_], directionalLightMatrices[_idx_], position,\n directionalLightShadowMapSizes[_idx_]\n );\n shadowContribs[_idx_] = shadowContrib;\n }}\n for(int _idx_ = DIRECTIONAL_LIGHT_SHADOWMAP_COUNT; _idx_ < DIRECTIONAL_LIGHT_COUNT; _idx_++) {{\n shadowContribs[_idx_] = 1.0;\n }}\n}\n#endif\n#endif\n#if defined(POINT_LIGHT_SHADOWMAP_COUNT)\nvoid computeShadowOfPointLights(vec3 position, inout float shadowContribs[POINT_LIGHT_COUNT] ){\n vec3 lightPosition;\n vec3 direction;\n for(int _idx_ = 0; _idx_ < POINT_LIGHT_SHADOWMAP_COUNT; _idx_++) {{\n lightPosition = pointLightPosition[_idx_];\n direction = position - lightPosition;\n shadowContribs[_idx_] = computeShadowContribOmni(pointLightShadowMaps[_idx_], direction, pointLightRange[_idx_]);\n }}\n for(int _idx_ = POINT_LIGHT_SHADOWMAP_COUNT; _idx_ < POINT_LIGHT_COUNT; _idx_++) {{\n shadowContribs[_idx_] = 1.0;\n }}\n}\n#endif\n#endif\n@end");var OQ,BQ,zQ,FQ,VQ,GQ,UQ,HQ=sW.extend((function(){return{softShadow:HQ.PCF,shadowBlur:1,lightFrustumBias:"auto",kernelPCF:new Float32Array([1,0,1,1,-1,1,0,1,-1,0,-1,-1,1,-1,0,-1]),precision:"highp",_lastRenderNotCastShadow:!1,_frameBuffer:new RY,_textures:{},_shadowMapNumber:{POINT_LIGHT:0,DIRECTIONAL_LIGHT:0,SPOT_LIGHT:0},_depthMaterials:{},_distanceMaterials:{},_receivers:[],_lightsCastShadow:[],_lightCameras:{},_lightMaterials:{},_texturePool:new DQ}}),(function(){this._gaussianPassH=new oZ({fragment:pX.source("clay.compositor.gaussian_blur")}),this._gaussianPassV=new oZ({fragment:pX.source("clay.compositor.gaussian_blur")}),this._gaussianPassH.setUniform("blurSize",this.shadowBlur),this._gaussianPassH.setUniform("blurDir",0),this._gaussianPassV.setUniform("blurSize",this.shadowBlur),this._gaussianPassV.setUniform("blurDir",1),this._outputDepthPass=new oZ({fragment:pX.source("clay.sm.debug_depth")})}),{render:function(t,e,n,i){n||(n=e.getMainCamera()),this.trigger("beforerender",this,t,e,n),this._renderShadowPass(t,e,n,i),this.trigger("afterrender",this,t,e,n)},renderDebug:function(t,e){t.saveClear();var n=t.viewport,i=0,r=e||n.width/4,o=r;for(var a in this.softShadow===HQ.VSM?this._outputDepthPass.material.define("fragment","USE_VSM"):this._outputDepthPass.material.undefine("fragment","USE_VSM"),this._textures){var s=this._textures[a];t.setViewport(i,0,r*s.width/s.height,o),this._outputDepthPass.setUniform("depthMap",s),this._outputDepthPass.render(t),i+=r*s.width/s.height}t.setViewport(n),t.restoreClear()},_updateReceivers:function(t,e){if(e.receiveShadow?(this._receivers.push(e),e.material.set("shadowEnabled",1),e.material.set("pcfKernel",this.kernelPCF)):e.material.set("shadowEnabled",0),this.softShadow===HQ.VSM)e.material.define("fragment","USE_VSM"),e.material.undefine("fragment","PCF_KERNEL_SIZE");else{e.material.undefine("fragment","USE_VSM");var n=this.kernelPCF;n&&n.length?e.material.define("fragment","PCF_KERNEL_SIZE",n.length/2):e.material.undefine("fragment","PCF_KERNEL_SIZE")}},_update:function(t,e){var n=this;e.traverse((function(e){e.isRenderable()&&n._updateReceivers(t,e)}));for(var i=0;i<e.lights.length;i++){var r=e.lights[i];r.castShadow&&!r.invisible&&this._lightsCastShadow.push(r)}},_renderShadowPass:function(t,e,n,i){for(var r in this._shadowMapNumber)this._shadowMapNumber[r]=0;this._lightsCastShadow.length=0,this._receivers.length=0;var o=t.gl;if(i||e.update(),n&&n.update(),e.updateLights(),this._update(t,e),this._lightsCastShadow.length||!this._lastRenderNotCastShadow){this._lastRenderNotCastShadow=0===this._lightsCastShadow,o.enable(o.DEPTH_TEST),o.depthMask(!0),o.disable(o.BLEND),o.clearColor(1,1,1,1);for(var a,s=[],l=[],u=[],c=[],h=[],d=[],p=0;p<this._lightsCastShadow.length;p++){var f=this._lightsCastShadow[p];if("DIRECTIONAL_LIGHT"===f.type){if(a){console.warn("Only one direectional light supported with shadow cascade");continue}if(f.shadowCascade>4){console.warn("Support at most 4 cascade");continue}f.shadowCascade>1&&(a=f),this.renderDirectionalLightShadow(t,e,n,f,h,c,u)}else"SPOT_LIGHT"===f.type?this.renderSpotLightShadow(t,e,f,l,s):"POINT_LIGHT"===f.type&&this.renderPointLightShadow(t,e,f,d);this._shadowMapNumber[f.type]++}for(var g in this._shadowMapNumber){var m=this._shadowMapNumber[g],v=g+"_SHADOWMAP_COUNT";for(p=0;p<this._receivers.length;p++){(y=this._receivers[p].material).fragmentDefines[v]!==m&&(m>0?y.define("fragment",v,m):y.isDefined("fragment",v)&&y.undefine("fragment",v))}}for(p=0;p<this._receivers.length;p++){var y=this._receivers[p].material;a?y.define("fragment","SHADOW_CASCADE",a.shadowCascade):y.undefine("fragment","SHADOW_CASCADE")}var _=e.shadowUniforms;if(u.length>0){var x=u.map(A);if(_.directionalLightShadowMaps={value:u,type:"tv"},_.directionalLightMatrices={value:c,type:"m4v"},_.directionalLightShadowMapSizes={value:x,type:"1fv"},a){var b=h.slice(),w=h.slice();b.pop(),w.shift(),b.reverse(),w.reverse(),c.reverse(),_.shadowCascadeClipsNear={value:b,type:"1fv"},_.shadowCascadeClipsFar={value:w,type:"1fv"}}}if(s.length>0){var S=s.map(A);(_=e.shadowUniforms).spotLightShadowMaps={value:s,type:"tv"},_.spotLightMatrices={value:l,type:"m4v"},_.spotLightShadowMapSizes={value:S,type:"1fv"}}d.length>0&&(_.pointLightShadowMaps={value:d,type:"tv"})}function A(t){return t.height}},renderDirectionalLightShadow:(OQ=new aY,BQ=new nj,zQ=new mj,FQ=new nj,VQ=new nj,GQ=new nj,UQ=new nj,function(t,e,n,i,r,o,a){var s=this._getDepthMaterial(i),l={getMaterial:function(t){return t.shadowDepthMaterial||s},isMaterialChanged:kQ,getUniform:NQ,ifRender:function(t){return t.castShadow},sortCompare:DX.opaqueSortCompare};if(!e.viewBoundingBoxLastFrame.isFinite()){var u=e.getBoundingBox();e.viewBoundingBoxLastFrame.copy(u).applyTransform(n.viewMatrix)}var c=Math.min(-e.viewBoundingBoxLastFrame.min.z,n.far),h=Math.max(-e.viewBoundingBoxLastFrame.max.z,n.near),d=this._getDirectionalLightCamera(i,e,n),p=GQ.array;UQ.copy(d.projectionMatrix),vX.invert(VQ.array,d.worldTransform.array),vX.multiply(VQ.array,VQ.array,n.worldTransform.array),vX.multiply(p,UQ.array,VQ.array);for(var f=[],g=n instanceof wY,m=(n.near+n.far)/(n.near-n.far),v=2*n.near*n.far/(n.near-n.far),y=0;y<=i.shadowCascade;y++){var _=h*Math.pow(c/h,y/i.shadowCascade),x=h+(c-h)*y/i.shadowCascade,b=_*i.cascadeSplitLogFactor+x*(1-i.cascadeSplitLogFactor);f.push(b),r.push(-(-b*m+v)/-b)}var w=this._getTexture(i,i.shadowCascade);a.push(w);var S=t.viewport,A=t.gl;for(this._frameBuffer.attach(w),this._frameBuffer.bind(t),A.clear(A.COLOR_BUFFER_BIT|A.DEPTH_BUFFER_BIT),y=0;y<i.shadowCascade;y++){var T=f[y],M=f[y+1];g?vX.perspective(BQ.array,n.fov/180*Math.PI,n.aspect,T,M):vX.ortho(BQ.array,n.left,n.right,n.bottom,n.top,T,M),OQ.setFromProjection(BQ),OQ.getTransformedBoundingBox(zQ,VQ),zQ.applyProjection(UQ);var I=zQ.min.array,C=zQ.max.array;I[0]=Math.max(I[0],-1),I[1]=Math.max(I[1],-1),C[0]=Math.min(C[0],1),C[1]=Math.min(C[1],1),FQ.ortho(I[0],C[0],I[1],C[1],1,-1),d.projectionMatrix.multiplyLeft(FQ);var D=i.shadowResolution||512;t.setViewport((i.shadowCascade-y-1)*D,0,D,D,1);var E=e.updateRenderList(d);t.renderPass(E.opaque,d,l),this.softShadow===HQ.VSM&&this._gaussianFilter(t,w,w.width);var L=new nj;L.copy(d.viewMatrix).multiplyLeft(d.projectionMatrix),o.push(L.array),d.projectionMatrix.copy(UQ)}this._frameBuffer.unbind(t),t.setViewport(S)}),renderSpotLightShadow:function(t,e,n,i,r){var o=this._getTexture(n),a=this._getSpotLightCamera(n),s=t.gl;this._frameBuffer.attach(o),this._frameBuffer.bind(t),s.clear(s.COLOR_BUFFER_BIT|s.DEPTH_BUFFER_BIT);var l=this._getDepthMaterial(n),u={getMaterial:function(t){return t.shadowDepthMaterial||l},isMaterialChanged:kQ,getUniform:NQ,ifRender:function(t){return t.castShadow},sortCompare:DX.opaqueSortCompare},c=e.updateRenderList(a);t.renderPass(c.opaque,a,u),this._frameBuffer.unbind(t),this.softShadow===HQ.VSM&&this._gaussianFilter(t,o,o.width);var h=new nj;h.copy(a.worldTransform).invert().multiplyLeft(a.projectionMatrix),r.push(o),i.push(h.array)},renderPointLightShadow:function(t,e,n,i){var r=this._getTexture(n),o=t.gl;i.push(r);var a=this._getDepthMaterial(n),s={getMaterial:function(t){return t.shadowDepthMaterial||a},getUniform:NQ,sortCompare:DX.opaqueSortCompare},l={px:[],py:[],pz:[],nx:[],ny:[],nz:[]},u=new mj,c=n.getWorldPosition().array,h=new mj,d=n.range;h.min.setArray(c),h.max.setArray(c);var p=new LX(d,d,d);h.max.add(p),h.min.sub(p);var f={px:!1,py:!1,pz:!1,nx:!1,ny:!1,nz:!1};e.traverse((function(t){if(t.isRenderable()&&t.castShadow){var e=t.geometry;if(!e.boundingBox){for(var n=0;n<RQ.length;n++)l[RQ[n]].push(t);return}if(u.transformFrom(e.boundingBox,t.worldTransform),!u.intersectBoundingBox(h))return;u.updateVertices();for(n=0;n<RQ.length;n++)f[RQ[n]]=!1;for(n=0;n<8;n++){var i=u.vertices[n],r=i[0]-c[0],o=i[1]-c[1],a=i[2]-c[2],s=Math.abs(r),d=Math.abs(o),p=Math.abs(a);s>d?s>p?f[r>0?"px":"nx"]=!0:f[a>0?"pz":"nz"]=!0:d>p?f[o>0?"py":"ny"]=!0:f[a>0?"pz":"nz"]=!0}for(n=0;n<RQ.length;n++)f[RQ[n]]&&l[RQ[n]].push(t)}}));for(var g=0;g<6;g++){var m=RQ[g],v=this._getPointLightCamera(n,m);this._frameBuffer.attach(r,o.COLOR_ATTACHMENT0,o.TEXTURE_CUBE_MAP_POSITIVE_X+g),this._frameBuffer.bind(t),o.clear(o.COLOR_BUFFER_BIT|o.DEPTH_BUFFER_BIT),t.renderPass(l[m],v,s)}this._frameBuffer.unbind(t)},_getDepthMaterial:function(t){var e=this._lightMaterials[t.__uid__],n="POINT_LIGHT"===t.type;if(!e){var i=n?"clay.sm.distance.":"clay.sm.depth.";e=new OW({precision:this.precision,shader:new pX(pX.source(i+"vertex"),pX.source(i+"fragment"))}),this._lightMaterials[t.__uid__]=e}return null!=t.shadowSlopeScale&&e.setUniform("slopeScale",t.shadowSlopeScale),null!=t.shadowBias&&e.setUniform("bias",t.shadowBias),this.softShadow===HQ.VSM?e.define("fragment","USE_VSM"):e.undefine("fragment","USE_VSM"),n&&(e.set("lightPosition",t.getWorldPosition().array),e.set("range",t.range)),e},_gaussianFilter:function(t,e,n){var i={width:n,height:n,type:Tj.FLOAT},r=this._texturePool.get(i);this._frameBuffer.attach(r),this._frameBuffer.bind(t),this._gaussianPassH.setUniform("texture",e),this._gaussianPassH.setUniform("textureWidth",n),this._gaussianPassH.render(t),this._frameBuffer.attach(e),this._gaussianPassV.setUniform("texture",r),this._gaussianPassV.setUniform("textureHeight",n),this._gaussianPassV.render(t),this._frameBuffer.unbind(t),this._texturePool.put(r)},_getTexture:function(t,e){var n=t.__uid__,i=this._textures[n],r=t.shadowResolution||512;return e=e||1,i||((i="POINT_LIGHT"===t.type?new xY:new Ej).width=r*e,i.height=r,this.softShadow===HQ.VSM?(i.type=Tj.FLOAT,i.anisotropic=4):(i.minFilter=hW.NEAREST,i.magFilter=hW.NEAREST,i.useMipmap=!1),this._textures[n]=i),i},_getPointLightCamera:function(t,e){this._lightCameras.point||(this._lightCameras.point={px:new wY,nx:new wY,py:new wY,ny:new wY,pz:new wY,nz:new wY});var n=this._lightCameras.point[e];switch(n.far=t.range,n.fov=90,n.position.set(0,0,0),e){case"px":n.lookAt(LX.POSITIVE_X,LX.NEGATIVE_Y);break;case"nx":n.lookAt(LX.NEGATIVE_X,LX.NEGATIVE_Y);break;case"py":n.lookAt(LX.POSITIVE_Y,LX.POSITIVE_Z);break;case"ny":n.lookAt(LX.NEGATIVE_Y,LX.NEGATIVE_Z);break;case"pz":n.lookAt(LX.POSITIVE_Z,LX.NEGATIVE_Y);break;case"nz":n.lookAt(LX.NEGATIVE_Z,LX.NEGATIVE_Y)}return t.getWorldPosition(n.position),n.update(),n},_getDirectionalLightCamera:function(){var t=new nj,e=new mj,n=new mj;return function(i,r,o){this._lightCameras.directional||(this._lightCameras.directional=new eZ);var a=this._lightCameras.directional;e.copy(r.viewBoundingBoxLastFrame),e.intersection(o.frustum.boundingBox),a.position.copy(e.min).add(e.max).scale(.5).transformMat4(o.worldTransform),a.rotation.copy(i.rotation),a.scale.copy(i.scale),a.updateWorldTransform(),nj.invert(t,a.worldTransform),nj.multiply(t,t,o.worldTransform),n.copy(e).applyTransform(t);var s=n.min.array,l=n.max.array;return a.position.set((s[0]+l[0])/2,(s[1]+l[1])/2,l[2]).transformMat4(a.worldTransform),a.near=0,a.far=-s[2]+l[2],isNaN(this.lightFrustumBias)?a.far*=4:a.far+=this.lightFrustumBias,a.left=s[0],a.right=l[0],a.top=l[1],a.bottom=s[1],a.update(!0),a}}(),_getSpotLightCamera:function(t){this._lightCameras.spot||(this._lightCameras.spot=new wY);var e=this._lightCameras.spot;return e.fov=2*t.penumbraAngle,e.far=t.range,e.worldTransform.copy(t.worldTransform),e.updateProjectionMatrix(),vX.invert(e.viewMatrix.array,e.worldTransform.array),e},dispose:function(t){var e=t.gl||t;for(var n in this._frameBuffer&&this._frameBuffer.dispose(e),this._textures)this._textures[n].dispose(e);this._texturePool.clear(t.gl),this._depthMaterials={},this._distanceMaterials={},this._textures={},this._lightCameras={},this._shadowMapNumber={POINT_LIGHT:0,DIRECTIONAL_LIGHT:0,SPOT_LIGHT:0},this._meshMaterials={};for(var i=0;i<this._receivers.length;i++){var r=this._receivers[i];if(r.material){var o=r.material;o.undefine("fragment","POINT_LIGHT_SHADOW_COUNT"),o.undefine("fragment","DIRECTIONAL_LIGHT_SHADOW_COUNT"),o.undefine("fragment","AMBIENT_LIGHT_SHADOW_COUNT"),o.set("shadowEnabled",0)}}this._receivers=[],this._lightsCastShadow=[]}});HQ.VSM=1,HQ.PCF=2;var WQ=sW.extend((function(){return{name:"",inputLinks:{},outputLinks:{},_prevOutputTextures:{},_outputTextures:{},_outputReferences:{},_rendering:!1,_rendered:!1,_compositor:null}}),{updateParameter:function(t,e){var n,i,r=this.outputs[t],o=r.parameters,a=r._parametersCopy;if(a||(a=r._parametersCopy={}),o)for(var s in o)"width"!==s&&"height"!==s&&(a[s]=o[s]);return n=o.width instanceof Function?o.width.call(this,e):o.width,i=o.height instanceof Function?o.height.call(this,e):o.height,a.width===n&&a.height===i||this._outputTextures[t]&&this._outputTextures[t].dispose(e.gl),a.width=n,a.height=i,a},setParameter:function(t,e){},getParameter:function(t){},setParameters:function(t){for(var e in t)this.setParameter(e,t[e])},render:function(){},getOutput:function(t,e){if(null==e)return e=t,this._outputTextures[e];var n=this.outputs[e];return n?this._rendered?n.outputLastFrame?this._prevOutputTextures[e]:this._outputTextures[e]:this._rendering?(this._prevOutputTextures[e]||(this._prevOutputTextures[e]=this._compositor.allocateTexture(n.parameters||{})),this._prevOutputTextures[e]):(this.render(t),this._outputTextures[e]):void 0},removeReference:function(t){(this._outputReferences[t]--,0===this._outputReferences[t])&&(this.outputs[t].keepLastFrame?(this._prevOutputTextures[t]&&this._compositor.releaseTexture(this._prevOutputTextures[t]),this._prevOutputTextures[t]=this._outputTextures[t]):this._compositor.releaseTexture(this._outputTextures[t]))},link:function(t,e,n){this.inputLinks[t]={node:e,pin:n},e.outputLinks[n]||(e.outputLinks[n]=[]),e.outputLinks[n].push({node:this,pin:t}),this.pass.material.enableTexture(t)},clear:function(){this.inputLinks={},this.outputLinks={}},updateReference:function(t){if(!this._rendering){for(var e in this._rendering=!0,this.inputLinks){var n=this.inputLinks[e];n.node.updateReference(n.pin)}this._rendering=!1}t&&this._outputReferences[t]++},beforeFrame:function(){for(var t in this._rendered=!1,this.outputLinks)this._outputReferences[t]=0},afterFrame:function(){for(var t in this.outputLinks){if(this._outputReferences[t]>0)this.outputs[t].keepLastFrame?(this._prevOutputTextures[t]&&this._compositor.releaseTexture(this._prevOutputTextures[t]),this._prevOutputTextures[t]=this._outputTextures[t]):this._compositor.releaseTexture(this._outputTextures[t])}}}),XQ=sW.extend((function(){return{nodes:[]}}),{dirty:function(){this._dirty=!0},addNode:function(t){this.nodes.indexOf(t)>=0||(this.nodes.push(t),this._dirty=!0)},removeNode:function(t){"string"==typeof t&&(t=this.getNodeByName(t));var e=this.nodes.indexOf(t);e>=0&&(this.nodes.splice(e,1),this._dirty=!0)},getNodeByName:function(t){for(var e=0;e<this.nodes.length;e++)if(this.nodes[e].name===t)return this.nodes[e]},update:function(){for(var t=0;t<this.nodes.length;t++)this.nodes[t].clear();for(t=0;t<this.nodes.length;t++){var e=this.nodes[t];if(e.inputs)for(var n in e.inputs)if(e.inputs[n])if(!e.pass||e.pass.material.isUniformEnabled(n)){var i=e.inputs[n],r=this.findPin(i);r?e.link(n,r.node,r.pin):"string"==typeof i?console.warn("Node "+i+" not exist"):console.warn("Pin of "+i.node+"."+i.pin+" not exist")}else console.warn("Pin "+e.name+"."+n+" not used.")}},findPin:function(t){var e;if(("string"==typeof t||t instanceof WQ)&&(t={node:t}),"string"==typeof t.node)for(var n=0;n<this.nodes.length;n++){var i=this.nodes[n];i.name===t.node&&(e=i)}else e=t.node;if(e){var r=t.pin;if(r||e.outputs&&(r=Object.keys(e.outputs)[0]),e.outputs[r])return{node:e,pin:r}}}}),jQ=XQ.extend((function(){return{_outputs:[],_texturePool:new DQ,_frameBuffer:new RY({depthBuffer:!1})}}),{addNode:function(t){XQ.prototype.addNode.call(this,t),t._compositor=this},render:function(t,e){if(this._dirty){this.update(),this._dirty=!1,this._outputs.length=0;for(var n=0;n<this.nodes.length;n++)this.nodes[n].outputs||this._outputs.push(this.nodes[n])}for(n=0;n<this.nodes.length;n++)this.nodes[n].beforeFrame();for(n=0;n<this._outputs.length;n++)this._outputs[n].updateReference();for(n=0;n<this._outputs.length;n++)this._outputs[n].render(t,e);for(n=0;n<this.nodes.length;n++)this.nodes[n].afterFrame()},allocateTexture:function(t){return this._texturePool.get(t)},releaseTexture:function(t){this._texturePool.put(t)},getFrameBuffer:function(){return this._frameBuffer},dispose:function(t){this._texturePool.clear(t)}}),YQ=WQ.extend({name:"scene",scene:null,camera:null,autoUpdateScene:!0,preZ:!1},(function(){this.frameBuffer=new RY}),{render:function(t){this._rendering=!0;var e,n=t.gl;if(this.trigger("beforerender"),this.outputs){var i=this.frameBuffer;for(var r in this.outputs){var o=this.updateParameter(r,t),a=this.outputs[r],s=this._compositor.allocateTexture(o);this._outputTextures[r]=s,"string"==typeof(c=a.attachment||n.COLOR_ATTACHMENT0)&&(c=n[c]),i.attach(s,c)}i.bind(t);var l=t.getGLExtension("EXT_draw_buffers");if(l){var u=[];for(var c in this.outputs)(c=parseInt(c))>=n.COLOR_ATTACHMENT0&&c<=n.COLOR_ATTACHMENT0+8&&u.push(c);l.drawBuffersEXT(u)}t.saveClear(),t.clearBit=hW.DEPTH_BUFFER_BIT|hW.COLOR_BUFFER_BIT,e=t.render(this.scene,this.camera,!this.autoUpdateScene,this.preZ),t.restoreClear(),i.unbind(t)}else e=t.render(this.scene,this.camera,!this.autoUpdateScene,this.preZ);this.trigger("afterrender",e),this._rendering=!1,this._rendered=!0}}),ZQ=WQ.extend((function(){return{texture:null,outputs:{color:{}}}}),(function(){}),{getOutput:function(t,e){return this.texture},beforeFrame:function(){},afterFrame:function(){}}),QQ=WQ.extend((function(){return{name:"",inputs:{},outputs:null,shader:"",inputLinks:{},outputLinks:{},pass:null,_prevOutputTextures:{},_outputTextures:{},_outputReferences:{},_rendering:!1,_rendered:!1,_compositor:null}}),(function(){var t=new oZ({fragment:this.shader});this.pass=t}),{render:function(t,e){this.trigger("beforerender",t),this._rendering=!0;var n=t.gl;for(var i in this.inputLinks){var r=(h=this.inputLinks[i]).node.getOutput(t,h.pin);this.pass.setUniform(i,r)}if(this.outputs){this.pass.outputs={};var o={};for(var a in this.outputs){var s=this.updateParameter(a,t);isNaN(s.width)&&this.updateParameter(a,t);var l=this.outputs[a],u=this._compositor.allocateTexture(s);this._outputTextures[a]=u,"string"==typeof(c=l.attachment||n.COLOR_ATTACHMENT0)&&(c=n[c]),o[c]=u}for(var c in this._compositor.getFrameBuffer().bind(t),o)this._compositor.getFrameBuffer().attach(o[c],c);this.pass.render(t),this._compositor.getFrameBuffer().updateMipmap(t)}else this.pass.outputs=null,this._compositor.getFrameBuffer().unbind(t),this.pass.render(t,e);for(var i in this.inputLinks){var h;(h=this.inputLinks[i]).node.removeReference(h.pin)}this._rendering=!1,this._rendered=!0,this.trigger("afterrender",t)},updateParameter:function(t,e){var n,i,r=this.outputs[t],o=r.parameters,a=r._parametersCopy;if(a||(a=r._parametersCopy={}),o)for(var s in o)"width"!==s&&"height"!==s&&(a[s]=o[s]);return n="function"==typeof o.width?o.width.call(this,e):o.width,i="function"==typeof o.height?o.height.call(this,e):o.height,n=Math.ceil(n),i=Math.ceil(i),a.width===n&&a.height===i||this._outputTextures[t]&&this._outputTextures[t].dispose(e),a.width=n,a.height=i,a},setParameter:function(t,e){this.pass.setUniform(t,e)},getParameter:function(t){return this.pass.getUniform(t)},setParameters:function(t){for(var e in t)this.setParameter(e,t[e])},define:function(t,e){this.pass.material.define("fragment",t,e)},undefine:function(t){this.pass.material.undefine("fragment",t)},removeReference:function(t){(this._outputReferences[t]--,0===this._outputReferences[t])&&(this.outputs[t].keepLastFrame?(this._prevOutputTextures[t]&&this._compositor.releaseTexture(this._prevOutputTextures[t]),this._prevOutputTextures[t]=this._outputTextures[t]):this._compositor.releaseTexture(this._outputTextures[t]))},clear:function(){WQ.prototype.clear.call(this),this.pass.material.disableTexturesAll()}}),qQ="@export clay.compositor.kernel.gaussian_9\nfloat gaussianKernel[9];\ngaussianKernel[0] = 0.07;\ngaussianKernel[1] = 0.09;\ngaussianKernel[2] = 0.12;\ngaussianKernel[3] = 0.14;\ngaussianKernel[4] = 0.16;\ngaussianKernel[5] = 0.14;\ngaussianKernel[6] = 0.12;\ngaussianKernel[7] = 0.09;\ngaussianKernel[8] = 0.07;\n@end\n@export clay.compositor.kernel.gaussian_13\nfloat gaussianKernel[13];\ngaussianKernel[0] = 0.02;\ngaussianKernel[1] = 0.03;\ngaussianKernel[2] = 0.06;\ngaussianKernel[3] = 0.08;\ngaussianKernel[4] = 0.11;\ngaussianKernel[5] = 0.13;\ngaussianKernel[6] = 0.14;\ngaussianKernel[7] = 0.13;\ngaussianKernel[8] = 0.11;\ngaussianKernel[9] = 0.08;\ngaussianKernel[10] = 0.06;\ngaussianKernel[11] = 0.03;\ngaussianKernel[12] = 0.02;\n@end\n@export clay.compositor.gaussian_blur\n#define SHADER_NAME gaussian_blur\nuniform sampler2D texture;varying vec2 v_Texcoord;\nuniform float blurSize : 2.0;\nuniform vec2 textureSize : [512.0, 512.0];\nuniform float blurDir : 0.0;\n@import clay.util.rgbm\n@import clay.util.clamp_sample\nvoid main (void)\n{\n @import clay.compositor.kernel.gaussian_9\n vec2 off = blurSize / textureSize;\n off *= vec2(1.0 - blurDir, blurDir);\n vec4 sum = vec4(0.0);\n float weightAll = 0.0;\n for (int i = 0; i < 9; i++) {\n float w = gaussianKernel[i];\n vec4 texel = decodeHDR(clampSample(texture, v_Texcoord + float(i - 4) * off));\n sum += texel * w;\n weightAll += w;\n }\n gl_FragColor = encodeHDR(sum / max(weightAll, 0.01));\n}\n@end\n",JQ="\n@export clay.compositor.lut\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform sampler2D lookup;\nvoid main()\n{\n vec4 tex = texture2D(texture, v_Texcoord);\n float blueColor = tex.b * 63.0;\n vec2 quad1;\n quad1.y = floor(floor(blueColor) / 8.0);\n quad1.x = floor(blueColor) - (quad1.y * 8.0);\n vec2 quad2;\n quad2.y = floor(ceil(blueColor) / 8.0);\n quad2.x = ceil(blueColor) - (quad2.y * 8.0);\n vec2 texPos1;\n texPos1.x = (quad1.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * tex.r);\n texPos1.y = (quad1.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * tex.g);\n vec2 texPos2;\n texPos2.x = (quad2.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * tex.r);\n texPos2.y = (quad2.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * tex.g);\n vec4 newColor1 = texture2D(lookup, texPos1);\n vec4 newColor2 = texture2D(lookup, texPos2);\n vec4 newColor = mix(newColor1, newColor2, fract(blueColor));\n gl_FragColor = vec4(newColor.rgb, tex.w);\n}\n@end",KQ="@export clay.compositor.output\n#define OUTPUT_ALPHA\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\n@import clay.util.rgbm\nvoid main()\n{\n vec4 tex = decodeHDR(texture2D(texture, v_Texcoord));\n gl_FragColor.rgb = tex.rgb;\n#ifdef OUTPUT_ALPHA\n gl_FragColor.a = tex.a;\n#else\n gl_FragColor.a = 1.0;\n#endif\n gl_FragColor = encodeHDR(gl_FragColor);\n#ifdef PREMULTIPLY_ALPHA\n gl_FragColor.rgb *= gl_FragColor.a;\n#endif\n}\n@end",$Q="@export clay.compositor.bright\nuniform sampler2D texture;\nuniform float threshold : 1;\nuniform float scale : 1.0;\nuniform vec2 textureSize: [512, 512];\nvarying vec2 v_Texcoord;\nconst vec3 lumWeight = vec3(0.2125, 0.7154, 0.0721);\n@import clay.util.rgbm\nvec4 median(vec4 a, vec4 b, vec4 c)\n{\n return a + b + c - min(min(a, b), c) - max(max(a, b), c);\n}\nvoid main()\n{\n vec4 texel = decodeHDR(texture2D(texture, v_Texcoord));\n#ifdef ANTI_FLICKER\n vec3 d = 1.0 / textureSize.xyx * vec3(1.0, 1.0, 0.0);\n vec4 s1 = decodeHDR(texture2D(texture, v_Texcoord - d.xz));\n vec4 s2 = decodeHDR(texture2D(texture, v_Texcoord + d.xz));\n vec4 s3 = decodeHDR(texture2D(texture, v_Texcoord - d.zy));\n vec4 s4 = decodeHDR(texture2D(texture, v_Texcoord + d.zy));\n texel = median(median(texel, s1, s2), s3, s4);\n#endif\n float lum = dot(texel.rgb , lumWeight);\n vec4 color;\n if (lum > threshold && texel.a > 0.0)\n {\n color = vec4(texel.rgb * scale, texel.a * scale);\n }\n else\n {\n color = vec4(0.0);\n }\n gl_FragColor = encodeHDR(color);\n}\n@end\n",tq="@export clay.compositor.downsample\nuniform sampler2D texture;\nuniform vec2 textureSize : [512, 512];\nvarying vec2 v_Texcoord;\n@import clay.util.rgbm\nfloat brightness(vec3 c)\n{\n return max(max(c.r, c.g), c.b);\n}\n@import clay.util.clamp_sample\nvoid main()\n{\n vec4 d = vec4(-1.0, -1.0, 1.0, 1.0) / textureSize.xyxy;\n#ifdef ANTI_FLICKER\n vec3 s1 = decodeHDR(clampSample(texture, v_Texcoord + d.xy)).rgb;\n vec3 s2 = decodeHDR(clampSample(texture, v_Texcoord + d.zy)).rgb;\n vec3 s3 = decodeHDR(clampSample(texture, v_Texcoord + d.xw)).rgb;\n vec3 s4 = decodeHDR(clampSample(texture, v_Texcoord + d.zw)).rgb;\n float s1w = 1.0 / (brightness(s1) + 1.0);\n float s2w = 1.0 / (brightness(s2) + 1.0);\n float s3w = 1.0 / (brightness(s3) + 1.0);\n float s4w = 1.0 / (brightness(s4) + 1.0);\n float oneDivideSum = 1.0 / (s1w + s2w + s3w + s4w);\n vec4 color = vec4(\n (s1 * s1w + s2 * s2w + s3 * s3w + s4 * s4w) * oneDivideSum,\n 1.0\n );\n#else\n vec4 color = decodeHDR(clampSample(texture, v_Texcoord + d.xy));\n color += decodeHDR(clampSample(texture, v_Texcoord + d.zy));\n color += decodeHDR(clampSample(texture, v_Texcoord + d.xw));\n color += decodeHDR(clampSample(texture, v_Texcoord + d.zw));\n color *= 0.25;\n#endif\n gl_FragColor = encodeHDR(color);\n}\n@end",eq="\n@export clay.compositor.upsample\n#define HIGH_QUALITY\nuniform sampler2D texture;\nuniform vec2 textureSize : [512, 512];\nuniform float sampleScale: 0.5;\nvarying vec2 v_Texcoord;\n@import clay.util.rgbm\n@import clay.util.clamp_sample\nvoid main()\n{\n#ifdef HIGH_QUALITY\n vec4 d = vec4(1.0, 1.0, -1.0, 0.0) / textureSize.xyxy * sampleScale;\n vec4 s;\n s = decodeHDR(clampSample(texture, v_Texcoord - d.xy));\n s += decodeHDR(clampSample(texture, v_Texcoord - d.wy)) * 2.0;\n s += decodeHDR(clampSample(texture, v_Texcoord - d.zy));\n s += decodeHDR(clampSample(texture, v_Texcoord + d.zw)) * 2.0;\n s += decodeHDR(clampSample(texture, v_Texcoord )) * 4.0;\n s += decodeHDR(clampSample(texture, v_Texcoord + d.xw)) * 2.0;\n s += decodeHDR(clampSample(texture, v_Texcoord + d.zy));\n s += decodeHDR(clampSample(texture, v_Texcoord + d.wy)) * 2.0;\n s += decodeHDR(clampSample(texture, v_Texcoord + d.xy));\n gl_FragColor = encodeHDR(s / 16.0);\n#else\n vec4 d = vec4(-1.0, -1.0, +1.0, +1.0) / textureSize.xyxy;\n vec4 s;\n s = decodeHDR(clampSample(texture, v_Texcoord + d.xy));\n s += decodeHDR(clampSample(texture, v_Texcoord + d.zy));\n s += decodeHDR(clampSample(texture, v_Texcoord + d.xw));\n s += decodeHDR(clampSample(texture, v_Texcoord + d.zw));\n gl_FragColor = encodeHDR(s / 4.0);\n#endif\n}\n@end",nq="@export clay.compositor.hdr.composite\n#define TONEMAPPING\nuniform sampler2D texture;\n#ifdef BLOOM_ENABLED\nuniform sampler2D bloom;\n#endif\n#ifdef LENSFLARE_ENABLED\nuniform sampler2D lensflare;\nuniform sampler2D lensdirt;\n#endif\n#ifdef LUM_ENABLED\nuniform sampler2D lum;\n#endif\n#ifdef LUT_ENABLED\nuniform sampler2D lut;\n#endif\n#ifdef COLOR_CORRECTION\nuniform float brightness : 0.0;\nuniform float contrast : 1.0;\nuniform float saturation : 1.0;\n#endif\n#ifdef VIGNETTE\nuniform float vignetteDarkness: 1.0;\nuniform float vignetteOffset: 1.0;\n#endif\nuniform float exposure : 1.0;\nuniform float bloomIntensity : 0.25;\nuniform float lensflareIntensity : 1;\nvarying vec2 v_Texcoord;\n@import clay.util.srgb\nvec3 ACESToneMapping(vec3 color)\n{\n const float A = 2.51;\n const float B = 0.03;\n const float C = 2.43;\n const float D = 0.59;\n const float E = 0.14;\n return (color * (A * color + B)) / (color * (C * color + D) + E);\n}\nfloat eyeAdaption(float fLum)\n{\n return mix(0.2, fLum, 0.5);\n}\n#ifdef LUT_ENABLED\nvec3 lutTransform(vec3 color) {\n float blueColor = color.b * 63.0;\n vec2 quad1;\n quad1.y = floor(floor(blueColor) / 8.0);\n quad1.x = floor(blueColor) - (quad1.y * 8.0);\n vec2 quad2;\n quad2.y = floor(ceil(blueColor) / 8.0);\n quad2.x = ceil(blueColor) - (quad2.y * 8.0);\n vec2 texPos1;\n texPos1.x = (quad1.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * color.r);\n texPos1.y = (quad1.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * color.g);\n vec2 texPos2;\n texPos2.x = (quad2.x * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * color.r);\n texPos2.y = (quad2.y * 0.125) + 0.5/512.0 + ((0.125 - 1.0/512.0) * color.g);\n vec4 newColor1 = texture2D(lut, texPos1);\n vec4 newColor2 = texture2D(lut, texPos2);\n vec4 newColor = mix(newColor1, newColor2, fract(blueColor));\n return newColor.rgb;\n}\n#endif\n@import clay.util.rgbm\nvoid main()\n{\n vec4 texel = vec4(0.0);\n vec4 originalTexel = vec4(0.0);\n#ifdef TEXTURE_ENABLED\n texel = decodeHDR(texture2D(texture, v_Texcoord));\n originalTexel = texel;\n#endif\n#ifdef BLOOM_ENABLED\n vec4 bloomTexel = decodeHDR(texture2D(bloom, v_Texcoord));\n texel.rgb += bloomTexel.rgb * bloomIntensity;\n texel.a += bloomTexel.a * bloomIntensity;\n#endif\n#ifdef LENSFLARE_ENABLED\n texel += decodeHDR(texture2D(lensflare, v_Texcoord)) * texture2D(lensdirt, v_Texcoord) * lensflareIntensity;\n#endif\n texel.a = min(texel.a, 1.0);\n#ifdef LUM_ENABLED\n float fLum = texture2D(lum, vec2(0.5, 0.5)).r;\n float adaptedLumDest = 3.0 / (max(0.1, 1.0 + 10.0*eyeAdaption(fLum)));\n float exposureBias = adaptedLumDest * exposure;\n#else\n float exposureBias = exposure;\n#endif\n#ifdef TONEMAPPING\n texel.rgb *= exposureBias;\n texel.rgb = ACESToneMapping(texel.rgb);\n#endif\n texel = linearTosRGB(texel);\n#ifdef LUT_ENABLED\n texel.rgb = lutTransform(clamp(texel.rgb,vec3(0.0),vec3(1.0)));\n#endif\n#ifdef COLOR_CORRECTION\n texel.rgb = clamp(texel.rgb + vec3(brightness), 0.0, 1.0);\n texel.rgb = clamp((texel.rgb - vec3(0.5))*contrast+vec3(0.5), 0.0, 1.0);\n float lum = dot(texel.rgb, vec3(0.2125, 0.7154, 0.0721));\n texel.rgb = mix(vec3(lum), texel.rgb, saturation);\n#endif\n#ifdef VIGNETTE\n vec2 uv = (v_Texcoord - vec2(0.5)) * vec2(vignetteOffset);\n texel.rgb = mix(texel.rgb, vec3(1.0 - vignetteDarkness), dot(uv, uv));\n#endif\n gl_FragColor = encodeHDR(texel);\n#ifdef DEBUG\n #if DEBUG == 1\n gl_FragColor = encodeHDR(decodeHDR(texture2D(texture, v_Texcoord)));\n #elif DEBUG == 2\n gl_FragColor = encodeHDR(decodeHDR(texture2D(bloom, v_Texcoord)) * bloomIntensity);\n #elif DEBUG == 3\n gl_FragColor = encodeHDR(decodeHDR(texture2D(lensflare, v_Texcoord) * lensflareIntensity));\n #endif\n#endif\n if (originalTexel.a <= 0.01 && gl_FragColor.a > 1e-5) {\n gl_FragColor.a = dot(gl_FragColor.rgb, vec3(0.2125, 0.7154, 0.0721));\n }\n#ifdef PREMULTIPLY_ALPHA\n gl_FragColor.rgb *= gl_FragColor.a;\n#endif\n}\n@end",iq="@export clay.compositor.blend\n#define SHADER_NAME blend\n#ifdef TEXTURE1_ENABLED\nuniform sampler2D texture1;\nuniform float weight1 : 1.0;\n#endif\n#ifdef TEXTURE2_ENABLED\nuniform sampler2D texture2;\nuniform float weight2 : 1.0;\n#endif\n#ifdef TEXTURE3_ENABLED\nuniform sampler2D texture3;\nuniform float weight3 : 1.0;\n#endif\n#ifdef TEXTURE4_ENABLED\nuniform sampler2D texture4;\nuniform float weight4 : 1.0;\n#endif\n#ifdef TEXTURE5_ENABLED\nuniform sampler2D texture5;\nuniform float weight5 : 1.0;\n#endif\n#ifdef TEXTURE6_ENABLED\nuniform sampler2D texture6;\nuniform float weight6 : 1.0;\n#endif\nvarying vec2 v_Texcoord;\n@import clay.util.rgbm\nvoid main()\n{\n vec4 tex = vec4(0.0);\n#ifdef TEXTURE1_ENABLED\n tex += decodeHDR(texture2D(texture1, v_Texcoord)) * weight1;\n#endif\n#ifdef TEXTURE2_ENABLED\n tex += decodeHDR(texture2D(texture2, v_Texcoord)) * weight2;\n#endif\n#ifdef TEXTURE3_ENABLED\n tex += decodeHDR(texture2D(texture3, v_Texcoord)) * weight3;\n#endif\n#ifdef TEXTURE4_ENABLED\n tex += decodeHDR(texture2D(texture4, v_Texcoord)) * weight4;\n#endif\n#ifdef TEXTURE5_ENABLED\n tex += decodeHDR(texture2D(texture5, v_Texcoord)) * weight5;\n#endif\n#ifdef TEXTURE6_ENABLED\n tex += decodeHDR(texture2D(texture6, v_Texcoord)) * weight6;\n#endif\n gl_FragColor = encodeHDR(tex);\n}\n@end",rq="@export clay.compositor.fxaa\nuniform sampler2D texture;\nuniform vec4 viewport : VIEWPORT;\nvarying vec2 v_Texcoord;\n#define FXAA_REDUCE_MIN (1.0/128.0)\n#define FXAA_REDUCE_MUL (1.0/8.0)\n#define FXAA_SPAN_MAX 8.0\n@import clay.util.rgbm\nvoid main()\n{\n vec2 resolution = 1.0 / viewport.zw;\n vec3 rgbNW = decodeHDR( texture2D( texture, ( gl_FragCoord.xy + vec2( -1.0, -1.0 ) ) * resolution ) ).xyz;\n vec3 rgbNE = decodeHDR( texture2D( texture, ( gl_FragCoord.xy + vec2( 1.0, -1.0 ) ) * resolution ) ).xyz;\n vec3 rgbSW = decodeHDR( texture2D( texture, ( gl_FragCoord.xy + vec2( -1.0, 1.0 ) ) * resolution ) ).xyz;\n vec3 rgbSE = decodeHDR( texture2D( texture, ( gl_FragCoord.xy + vec2( 1.0, 1.0 ) ) * resolution ) ).xyz;\n vec4 rgbaM = decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution ) );\n vec3 rgbM = rgbaM.xyz;\n float opacity = rgbaM.w;\n vec3 luma = vec3( 0.299, 0.587, 0.114 );\n float lumaNW = dot( rgbNW, luma );\n float lumaNE = dot( rgbNE, luma );\n float lumaSW = dot( rgbSW, luma );\n float lumaSE = dot( rgbSE, luma );\n float lumaM = dot( rgbM, luma );\n float lumaMin = min( lumaM, min( min( lumaNW, lumaNE ), min( lumaSW, lumaSE ) ) );\n float lumaMax = max( lumaM, max( max( lumaNW, lumaNE) , max( lumaSW, lumaSE ) ) );\n vec2 dir;\n dir.x = -((lumaNW + lumaNE) - (lumaSW + lumaSE));\n dir.y = ((lumaNW + lumaSW) - (lumaNE + lumaSE));\n float dirReduce = max( ( lumaNW + lumaNE + lumaSW + lumaSE ) * ( 0.25 * FXAA_REDUCE_MUL ), FXAA_REDUCE_MIN );\n float rcpDirMin = 1.0 / ( min( abs( dir.x ), abs( dir.y ) ) + dirReduce );\n dir = min( vec2( FXAA_SPAN_MAX, FXAA_SPAN_MAX),\n max( vec2(-FXAA_SPAN_MAX, -FXAA_SPAN_MAX),\n dir * rcpDirMin)) * resolution;\n vec3 rgbA = decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution + dir * ( 1.0 / 3.0 - 0.5 ) ) ).xyz;\n rgbA += decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution + dir * ( 2.0 / 3.0 - 0.5 ) ) ).xyz;\n rgbA *= 0.5;\n vec3 rgbB = decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution + dir * -0.5 ) ).xyz;\n rgbB += decodeHDR( texture2D( texture, gl_FragCoord.xy * resolution + dir * 0.5 ) ).xyz;\n rgbB *= 0.25;\n rgbB += rgbA * 0.5;\n float lumaB = dot( rgbB, luma );\n if ( ( lumaB < lumaMin ) || ( lumaB > lumaMax ) )\n {\n gl_FragColor = vec4( rgbA, opacity );\n }\n else {\n gl_FragColor = vec4( rgbB, opacity );\n }\n}\n@end";!function(t){t.import("@export clay.compositor.coloradjust\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float brightness : 0.0;\nuniform float contrast : 1.0;\nuniform float exposure : 0.0;\nuniform float gamma : 1.0;\nuniform float saturation : 1.0;\nconst vec3 w = vec3(0.2125, 0.7154, 0.0721);\nvoid main()\n{\n vec4 tex = texture2D( texture, v_Texcoord);\n vec3 color = clamp(tex.rgb + vec3(brightness), 0.0, 1.0);\n color = clamp( (color-vec3(0.5))*contrast+vec3(0.5), 0.0, 1.0);\n color = clamp( color * pow(2.0, exposure), 0.0, 1.0);\n color = clamp( pow(color, vec3(gamma)), 0.0, 1.0);\n float luminance = dot( color, w );\n color = mix(vec3(luminance), color, saturation);\n gl_FragColor = vec4(color, tex.a);\n}\n@end\n@export clay.compositor.brightness\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float brightness : 0.0;\nvoid main()\n{\n vec4 tex = texture2D( texture, v_Texcoord);\n vec3 color = tex.rgb + vec3(brightness);\n gl_FragColor = vec4(color, tex.a);\n}\n@end\n@export clay.compositor.contrast\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float contrast : 1.0;\nvoid main()\n{\n vec4 tex = texture2D( texture, v_Texcoord);\n vec3 color = (tex.rgb-vec3(0.5))*contrast+vec3(0.5);\n gl_FragColor = vec4(color, tex.a);\n}\n@end\n@export clay.compositor.exposure\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float exposure : 0.0;\nvoid main()\n{\n vec4 tex = texture2D(texture, v_Texcoord);\n vec3 color = tex.rgb * pow(2.0, exposure);\n gl_FragColor = vec4(color, tex.a);\n}\n@end\n@export clay.compositor.gamma\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float gamma : 1.0;\nvoid main()\n{\n vec4 tex = texture2D(texture, v_Texcoord);\n vec3 color = pow(tex.rgb, vec3(gamma));\n gl_FragColor = vec4(color, tex.a);\n}\n@end\n@export clay.compositor.saturation\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float saturation : 1.0;\nconst vec3 w = vec3(0.2125, 0.7154, 0.0721);\nvoid main()\n{\n vec4 tex = texture2D(texture, v_Texcoord);\n vec3 color = tex.rgb;\n float luminance = dot(color, w);\n color = mix(vec3(luminance), color, saturation);\n gl_FragColor = vec4(color, tex.a);\n}\n@end"),t.import(qQ),t.import("@export clay.compositor.hdr.log_lum\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nconst vec3 w = vec3(0.2125, 0.7154, 0.0721);\n@import clay.util.rgbm\nvoid main()\n{\n vec4 tex = decodeHDR(texture2D(texture, v_Texcoord));\n float luminance = dot(tex.rgb, w);\n luminance = log(luminance + 0.001);\n gl_FragColor = encodeHDR(vec4(vec3(luminance), 1.0));\n}\n@end\n@export clay.compositor.hdr.lum_adaption\nvarying vec2 v_Texcoord;\nuniform sampler2D adaptedLum;\nuniform sampler2D currentLum;\nuniform float frameTime : 0.02;\n@import clay.util.rgbm\nvoid main()\n{\n float fAdaptedLum = decodeHDR(texture2D(adaptedLum, vec2(0.5, 0.5))).r;\n float fCurrentLum = exp(encodeHDR(texture2D(currentLum, vec2(0.5, 0.5))).r);\n fAdaptedLum += (fCurrentLum - fAdaptedLum) * (1.0 - pow(0.98, 30.0 * frameTime));\n gl_FragColor = encodeHDR(vec4(vec3(fAdaptedLum), 1.0));\n}\n@end\n@export clay.compositor.lum\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nconst vec3 w = vec3(0.2125, 0.7154, 0.0721);\nvoid main()\n{\n vec4 tex = texture2D( texture, v_Texcoord );\n float luminance = dot(tex.rgb, w);\n gl_FragColor = vec4(vec3(luminance), 1.0);\n}\n@end"),t.import(JQ),t.import("@export clay.compositor.vignette\n#define OUTPUT_ALPHA\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float darkness: 1;\nuniform float offset: 1;\n@import clay.util.rgbm\nvoid main()\n{\n vec4 texel = decodeHDR(texture2D(texture, v_Texcoord));\n gl_FragColor.rgb = texel.rgb;\n vec2 uv = (v_Texcoord - vec2(0.5)) * vec2(offset);\n gl_FragColor = encodeHDR(vec4(mix(texel.rgb, vec3(1.0 - darkness), dot(uv, uv)), texel.a));\n}\n@end"),t.import(KQ),t.import($Q),t.import(tq),t.import(eq),t.import(nq),t.import("@export clay.compositor.lensflare\n#define SAMPLE_NUMBER 8\nuniform sampler2D texture;\nuniform sampler2D lenscolor;\nuniform vec2 textureSize : [512, 512];\nuniform float dispersal : 0.3;\nuniform float haloWidth : 0.4;\nuniform float distortion : 1.0;\nvarying vec2 v_Texcoord;\n@import clay.util.rgbm\nvec4 textureDistorted(\n in vec2 texcoord,\n in vec2 direction,\n in vec3 distortion\n) {\n return vec4(\n decodeHDR(texture2D(texture, texcoord + direction * distortion.r)).r,\n decodeHDR(texture2D(texture, texcoord + direction * distortion.g)).g,\n decodeHDR(texture2D(texture, texcoord + direction * distortion.b)).b,\n 1.0\n );\n}\nvoid main()\n{\n vec2 texcoord = -v_Texcoord + vec2(1.0); vec2 textureOffset = 1.0 / textureSize;\n vec2 ghostVec = (vec2(0.5) - texcoord) * dispersal;\n vec2 haloVec = normalize(ghostVec) * haloWidth;\n vec3 distortion = vec3(-textureOffset.x * distortion, 0.0, textureOffset.x * distortion);\n vec4 result = vec4(0.0);\n for (int i = 0; i < SAMPLE_NUMBER; i++)\n {\n vec2 offset = fract(texcoord + ghostVec * float(i));\n float weight = length(vec2(0.5) - offset) / length(vec2(0.5));\n weight = pow(1.0 - weight, 10.0);\n result += textureDistorted(offset, normalize(ghostVec), distortion) * weight;\n }\n result *= texture2D(lenscolor, vec2(length(vec2(0.5) - texcoord)) / length(vec2(0.5)));\n float weight = length(vec2(0.5) - fract(texcoord + haloVec)) / length(vec2(0.5));\n weight = pow(1.0 - weight, 10.0);\n vec2 offset = fract(texcoord + haloVec);\n result += textureDistorted(offset, normalize(ghostVec), distortion) * weight;\n gl_FragColor = result;\n}\n@end"),t.import(iq),t.import(rq)}(pX);var oq=/^#source\((.*?)\)/;function aq(t,e){var n=new jQ;e=e||{};var i={textures:{},parameters:{}};for(var r in t.parameters){var o=t.parameters[r];i.parameters[r]=cq(o)}return function(t,e,n,i){if(!t.textures)return void i({});var r={},o=0,a=!1,s=n.textureRootPath;aW.each(t.textures,(function(t,e){var n,l=t.path,u=cq(t.parameters);if(Array.isArray(l)&&6===l.length)s&&(l=l.map((function(t){return aW.relative2absolute(t,s)}))),n=new xY(u);else{if("string"!=typeof l)return;s&&(l=aW.relative2absolute(l,s)),n=new Ej(u)}n.load(l),o++,n.once("success",(function(){r[e]=n,0===--o&&(i(r),a=!0)}))})),0!==o||a||i(r)}(t,0,e,(function(r){i.textures=r,function(){for(var r=0;r<t.nodes.length;r++){var o=sq(t.nodes[r],i,e);o&&n.addNode(o)}}()})),n}function sq(t,e,n){var i,r,o,a,s=t.type||"filter";if("filter"===s){var l=t.shader.trim(),u=oq.exec(l);if(u?i=pX.source(u[1].trim()):"#"===l.charAt(0)&&(i=e.shaders[l.substr(1)]),i||(i=l),!i)return}if(t.inputs)for(var c in r={},t.inputs)"string"==typeof t.inputs[c]?r[c]=t.inputs[c]:r[c]={node:t.inputs[c].node,pin:t.inputs[c].pin};if(t.outputs)for(var c in o={},t.outputs){var h=t.outputs[c];o[c]={},null!=h.attachment&&(o[c].attachment=h.attachment),null!=h.keepLastFrame&&(o[c].keepLastFrame=h.keepLastFrame),null!=h.outputLastFrame&&(o[c].outputLastFrame=h.outputLastFrame),h.parameters&&(o[c].parameters=cq(h.parameters))}if(a="scene"===s?new YQ({name:t.name,scene:n.scene,camera:n.camera,outputs:o}):"texture"===s?new ZQ({name:t.name,outputs:o}):new QQ({name:t.name,shader:i,inputs:r,outputs:o})){if(t.parameters)for(var c in t.parameters){"string"==typeof(d=t.parameters[c])?"#"===(d=d.trim()).charAt(0)?d=e.textures[d.substr(1)]:a.on("beforerender",hq(c,dq(d))):"function"==typeof d&&a.on("beforerender",d),a.setParameter(c,d)}if(t.defines&&a.pass)for(var c in t.defines){var d=t.defines[c];a.pass.material.define("fragment",c,d)}}return a}function lq(t,e){return t}function uq(t,e){return e}function cq(t){var e={};if(!t)return e;["type","minFilter","magFilter","wrapS","wrapT","flipY","useMipmap"].forEach((function(n){var i=t[n];null!=i&&("string"==typeof i&&(i=Tj[i]),e[n]=i)}));var n=t.scale||1;return["width","height"].forEach((function(i){if(null!=t[i]){var r=t[i];"string"==typeof r?(r=r.trim(),e[i]=function(t,e,n){return n=n||1,function(t){var i=t.getDevicePixelRatio(),r=t.getWidth()*n,o=t.getHeight()*n;return e(r,o,i)}}(0,dq(r),n)):e[i]=r}})),e.width||(e.width=lq),e.height||(e.height=uq),null!=t.useMipmap&&(e.useMipmap=t.useMipmap),e}function hq(t,e){return function(n){var i=n.getDevicePixelRatio(),r=n.getWidth(),o=n.getHeight(),a=e(r,o,i);this.setParameter(t,a)}}function dq(t){var e=/^expr\((.*)\)$/.exec(t);if(e)try{var n=new Function("width","height","dpr","return "+e[1]);return n(1,1),n}catch(KJ){throw new Error("Invalid expression.")}}function pq(t,e){for(var n=0,i=1/e,r=t;r>0;)n+=i*(r%e),r=Math.floor(r/e),i/=e;return n}function fq(t){for(var e=new Uint8Array(t*t*4),n=0,i=new LX,r=0;r<t;r++)for(var o=0;o<t;o++)i.set(2*Math.random()-1,2*Math.random()-1,0).normalize(),e[n++]=255*(.5*i.x+.5),e[n++]=255*(.5*i.y+.5),e[n++]=0,e[n++]=255;return e}function gq(t){return new Ej({pixels:fq(t),wrapS:Tj.REPEAT,wrapT:Tj.REPEAT,width:t,height:t})}function mq(t,e,n){var i=new Float32Array(3*t);e=e||0;for(var r=0;r<t;r++){var o=pq(r+e,2)*(n?1:2)*Math.PI,a=pq(r+e,3)*Math.PI,s=Math.random(),l=Math.cos(o)*Math.sin(a)*s,u=Math.cos(a)*s,c=Math.sin(o)*Math.sin(a)*s;i[3*r]=l,i[3*r+1]=u,i[3*r+2]=c}return i}function vq(t){t=t||{},this._ssaoPass=new oZ({fragment:pX.source("ecgl.ssao.estimate")}),this._blurPass=new oZ({fragment:pX.source("ecgl.ssao.blur")}),this._framebuffer=new RY({depthBuffer:!1}),this._ssaoTexture=new Ej,this._blurTexture=new Ej,this._blurTexture2=new Ej,this._depthTex=t.depthTexture,this._normalTex=t.normalTexture,this.setNoiseSize(4),this.setKernelSize(t.kernelSize||12),null!=t.radius&&this.setParameter("radius",t.radius),null!=t.power&&this.setParameter("power",t.power),this._normalTex||(this._ssaoPass.material.disableTexture("normalTex"),this._blurPass.material.disableTexture("normalTex")),this._depthTex||this._blurPass.material.disableTexture("depthTex"),this._blurPass.material.setUniform("normalTex",this._normalTex),this._blurPass.material.setUniform("depthTex",this._depthTex)}pX.import("@export ecgl.ssao.estimate\n\nuniform sampler2D depthTex;\n\nuniform sampler2D normalTex;\n\nuniform sampler2D noiseTex;\n\nuniform vec2 depthTexSize;\n\nuniform vec2 noiseTexSize;\n\nuniform mat4 projection;\n\nuniform mat4 projectionInv;\n\nuniform mat4 viewInverseTranspose;\n\nuniform vec3 kernel[KERNEL_SIZE];\n\nuniform float radius : 1;\n\nuniform float power : 1;\n\nuniform float bias: 1e-2;\n\nuniform float intensity: 1.0;\n\nvarying vec2 v_Texcoord;\n\nfloat ssaoEstimator(in vec3 originPos, in mat3 kernelBasis) {\n float occlusion = 0.0;\n\n for (int i = 0; i < KERNEL_SIZE; i++) {\n vec3 samplePos = kernel[i];\n#ifdef NORMALTEX_ENABLED\n samplePos = kernelBasis * samplePos;\n#endif\n samplePos = samplePos * radius + originPos;\n\n vec4 texCoord = projection * vec4(samplePos, 1.0);\n texCoord.xy /= texCoord.w;\n\n vec4 depthTexel = texture2D(depthTex, texCoord.xy * 0.5 + 0.5);\n\n float sampleDepth = depthTexel.r * 2.0 - 1.0;\n if (projection[3][3] == 0.0) {\n sampleDepth = projection[3][2] / (sampleDepth * projection[2][3] - projection[2][2]);\n }\n else {\n sampleDepth = (sampleDepth - projection[3][2]) / projection[2][2];\n }\n \n float rangeCheck = smoothstep(0.0, 1.0, radius / abs(originPos.z - sampleDepth));\n occlusion += rangeCheck * step(samplePos.z, sampleDepth - bias);\n }\n#ifdef NORMALTEX_ENABLED\n occlusion = 1.0 - occlusion / float(KERNEL_SIZE);\n#else\n occlusion = 1.0 - clamp((occlusion / float(KERNEL_SIZE) - 0.6) * 2.5, 0.0, 1.0);\n#endif\n return pow(occlusion, power);\n}\n\nvoid main()\n{\n\n vec4 depthTexel = texture2D(depthTex, v_Texcoord);\n\n#ifdef NORMALTEX_ENABLED\n vec4 tex = texture2D(normalTex, v_Texcoord);\n if (dot(tex.rgb, tex.rgb) == 0.0) {\n gl_FragColor = vec4(1.0);\n return;\n }\n vec3 N = tex.rgb * 2.0 - 1.0;\n N = (viewInverseTranspose * vec4(N, 0.0)).xyz;\n\n vec2 noiseTexCoord = depthTexSize / vec2(noiseTexSize) * v_Texcoord;\n vec3 rvec = texture2D(noiseTex, noiseTexCoord).rgb * 2.0 - 1.0;\n vec3 T = normalize(rvec - N * dot(rvec, N));\n vec3 BT = normalize(cross(N, T));\n mat3 kernelBasis = mat3(T, BT, N);\n#else\n if (depthTexel.r > 0.99999) {\n gl_FragColor = vec4(1.0);\n return;\n }\n mat3 kernelBasis;\n#endif\n\n float z = depthTexel.r * 2.0 - 1.0;\n\n vec4 projectedPos = vec4(v_Texcoord * 2.0 - 1.0, z, 1.0);\n vec4 p4 = projectionInv * projectedPos;\n\n vec3 position = p4.xyz / p4.w;\n\n float ao = ssaoEstimator(position, kernelBasis);\n ao = clamp(1.0 - (1.0 - ao) * intensity, 0.0, 1.0);\n gl_FragColor = vec4(vec3(ao), 1.0);\n}\n\n@end\n\n\n@export ecgl.ssao.blur\n#define SHADER_NAME SSAO_BLUR\n\nuniform sampler2D ssaoTexture;\n\n#ifdef NORMALTEX_ENABLED\nuniform sampler2D normalTex;\n#endif\n\nvarying vec2 v_Texcoord;\n\nuniform vec2 textureSize;\nuniform float blurSize : 1.0;\n\nuniform int direction: 0.0;\n\n#ifdef DEPTHTEX_ENABLED\nuniform sampler2D depthTex;\nuniform mat4 projection;\nuniform float depthRange : 0.5;\n\nfloat getLinearDepth(vec2 coord)\n{\n float depth = texture2D(depthTex, coord).r * 2.0 - 1.0;\n return projection[3][2] / (depth * projection[2][3] - projection[2][2]);\n}\n#endif\n\nvoid main()\n{\n float kernel[5];\n kernel[0] = 0.122581;\n kernel[1] = 0.233062;\n kernel[2] = 0.288713;\n kernel[3] = 0.233062;\n kernel[4] = 0.122581;\n\n vec2 off = vec2(0.0);\n if (direction == 0) {\n off[0] = blurSize / textureSize.x;\n }\n else {\n off[1] = blurSize / textureSize.y;\n }\n\n vec2 coord = v_Texcoord;\n\n float sum = 0.0;\n float weightAll = 0.0;\n\n#ifdef NORMALTEX_ENABLED\n vec3 centerNormal = texture2D(normalTex, v_Texcoord).rgb * 2.0 - 1.0;\n#endif\n#if defined(DEPTHTEX_ENABLED)\n float centerDepth = getLinearDepth(v_Texcoord);\n#endif\n\n for (int i = 0; i < 5; i++) {\n vec2 coord = clamp(v_Texcoord + vec2(float(i) - 2.0) * off, vec2(0.0), vec2(1.0));\n\n float w = kernel[i];\n#ifdef NORMALTEX_ENABLED\n vec3 normal = texture2D(normalTex, coord).rgb * 2.0 - 1.0;\n w *= clamp(dot(normal, centerNormal), 0.0, 1.0);\n#endif\n#ifdef DEPTHTEX_ENABLED\n float d = getLinearDepth(coord);\n w *= (1.0 - smoothstep(abs(centerDepth - d) / depthRange, 0.0, 1.0));\n#endif\n\n weightAll += w;\n sum += texture2D(ssaoTexture, coord).r * w;\n }\n\n gl_FragColor = vec4(vec3(sum / weightAll), 1.0);\n}\n\n@end\n"),vq.prototype.setDepthTexture=function(t){this._depthTex=t},vq.prototype.setNormalTexture=function(t){this._normalTex=t,this._ssaoPass.material[t?"enableTexture":"disableTexture"]("normalTex"),this.setKernelSize(this._kernelSize)},vq.prototype.update=function(t,e,n){var i=t.getWidth(),r=t.getHeight(),o=this._ssaoPass,a=this._blurPass;o.setUniform("kernel",this._kernels[n%this._kernels.length]),o.setUniform("depthTex",this._depthTex),null!=this._normalTex&&o.setUniform("normalTex",this._normalTex),o.setUniform("depthTexSize",[this._depthTex.width,this._depthTex.height]);var s=new nj;nj.transpose(s,e.worldTransform),o.setUniform("projection",e.projectionMatrix.array),o.setUniform("projectionInv",e.invProjectionMatrix.array),o.setUniform("viewInverseTranspose",s.array);var l=this._ssaoTexture,u=this._blurTexture,c=this._blurTexture2;l.width=i/2,l.height=r/2,u.width=i,u.height=r,c.width=i,c.height=r,this._framebuffer.attach(l),this._framebuffer.bind(t),t.gl.clearColor(1,1,1,1),t.gl.clear(t.gl.COLOR_BUFFER_BIT),o.render(t),a.setUniform("textureSize",[i/2,r/2]),a.setUniform("projection",e.projectionMatrix.array),this._framebuffer.attach(u),a.setUniform("direction",0),a.setUniform("ssaoTexture",l),a.render(t),this._framebuffer.attach(c),a.setUniform("textureSize",[i,r]),a.setUniform("direction",1),a.setUniform("ssaoTexture",u),a.render(t),this._framebuffer.unbind(t);var h=t.clearColor;t.gl.clearColor(h[0],h[1],h[2],h[3])},vq.prototype.getTargetTexture=function(){return this._blurTexture2},vq.prototype.setParameter=function(t,e){"noiseTexSize"===t?this.setNoiseSize(e):"kernelSize"===t?this.setKernelSize(e):"intensity"===t?this._ssaoPass.material.set("intensity",e):this._ssaoPass.setUniform(t,e)},vq.prototype.setKernelSize=function(t){this._kernelSize=t,this._ssaoPass.material.define("fragment","KERNEL_SIZE",t),this._kernels=this._kernels||[];for(var e=0;e<30;e++)this._kernels[e]=mq(t,e*t,!!this._normalTex)},vq.prototype.setNoiseSize=function(t){var e=this._ssaoPass.getUniform("noiseTex");e?(e.data=fq(t),e.width=e.height=t,e.dirty()):(e=gq(t),this._ssaoPass.setUniform("noiseTex",gq(t))),this._ssaoPass.setUniform("noiseTexSize",[t,t])},vq.prototype.dispose=function(t){this._blurTexture.dispose(t),this._ssaoTexture.dispose(t),this._blurTexture2.dispose(t)};function yq(t){t=t||{},this._ssrPass=new oZ({fragment:pX.source("ecgl.ssr.main"),clearColor:[0,0,0,0]}),this._blurPass1=new oZ({fragment:pX.source("ecgl.ssr.blur"),clearColor:[0,0,0,0]}),this._blurPass2=new oZ({fragment:pX.source("ecgl.ssr.blur"),clearColor:[0,0,0,0]}),this._blendPass=new oZ({fragment:pX.source("clay.compositor.blend")}),this._blendPass.material.disableTexturesAll(),this._blendPass.material.enableTexture(["texture1","texture2"]),this._ssrPass.setUniform("gBufferTexture1",t.normalTexture),this._ssrPass.setUniform("gBufferTexture2",t.depthTexture),this._blurPass1.setUniform("gBufferTexture1",t.normalTexture),this._blurPass1.setUniform("gBufferTexture2",t.depthTexture),this._blurPass2.setUniform("gBufferTexture1",t.normalTexture),this._blurPass2.setUniform("gBufferTexture2",t.depthTexture),this._blurPass2.material.define("fragment","VERTICAL"),this._blurPass2.material.define("fragment","BLEND"),this._ssrTexture=new Ej({type:Tj.HALF_FLOAT}),this._texture2=new Ej({type:Tj.HALF_FLOAT}),this._texture3=new Ej({type:Tj.HALF_FLOAT}),this._prevTexture=new Ej({type:Tj.HALF_FLOAT}),this._currentTexture=new Ej({type:Tj.HALF_FLOAT}),this._frameBuffer=new RY({depthBuffer:!1}),this._normalDistribution=null,this._totalSamples=256,this._samplePerFrame=4,this._ssrPass.material.define("fragment","SAMPLE_PER_FRAME",this._samplePerFrame),this._ssrPass.material.define("fragment","TOTAL_SAMPLES",this._totalSamples),this._downScale=1}pX.import("@export ecgl.ssr.main\n\n#define SHADER_NAME SSR\n#define MAX_ITERATION 20;\n#define SAMPLE_PER_FRAME 5;\n#define TOTAL_SAMPLES 128;\n\nuniform sampler2D sourceTexture;\nuniform sampler2D gBufferTexture1;\nuniform sampler2D gBufferTexture2;\nuniform sampler2D gBufferTexture3;\nuniform samplerCube specularCubemap;\nuniform float specularIntensity: 1;\n\nuniform mat4 projection;\nuniform mat4 projectionInv;\nuniform mat4 toViewSpace;\nuniform mat4 toWorldSpace;\n\nuniform float maxRayDistance: 200;\n\nuniform float pixelStride: 16;\nuniform float pixelStrideZCutoff: 50; \nuniform float screenEdgeFadeStart: 0.9; \nuniform float eyeFadeStart : 0.2; uniform float eyeFadeEnd: 0.8; \nuniform float minGlossiness: 0.2; uniform float zThicknessThreshold: 1;\n\nuniform float nearZ;\nuniform vec2 viewportSize : VIEWPORT_SIZE;\n\nuniform float jitterOffset: 0;\n\nvarying vec2 v_Texcoord;\n\n#ifdef DEPTH_DECODE\n@import clay.util.decode_float\n#endif\n\n#ifdef PHYSICALLY_CORRECT\nuniform sampler2D normalDistribution;\nuniform float sampleOffset: 0;\nuniform vec2 normalDistributionSize;\n\nvec3 transformNormal(vec3 H, vec3 N) {\n vec3 upVector = N.y > 0.999 ? vec3(1.0, 0.0, 0.0) : vec3(0.0, 1.0, 0.0);\n vec3 tangentX = normalize(cross(N, upVector));\n vec3 tangentZ = cross(N, tangentX);\n return normalize(tangentX * H.x + N * H.y + tangentZ * H.z);\n}\nvec3 importanceSampleNormalGGX(float i, float roughness, vec3 N) {\n float p = fract((i + sampleOffset) / float(TOTAL_SAMPLES));\n vec3 H = texture2D(normalDistribution,vec2(roughness, p)).rgb;\n return transformNormal(H, N);\n}\nfloat G_Smith(float g, float ndv, float ndl) {\n float roughness = 1.0 - g;\n float k = roughness * roughness / 2.0;\n float G1V = ndv / (ndv * (1.0 - k) + k);\n float G1L = ndl / (ndl * (1.0 - k) + k);\n return G1L * G1V;\n}\nvec3 F_Schlick(float ndv, vec3 spec) {\n return spec + (1.0 - spec) * pow(1.0 - ndv, 5.0);\n}\n#endif\n\nfloat fetchDepth(sampler2D depthTexture, vec2 uv)\n{\n vec4 depthTexel = texture2D(depthTexture, uv);\n return depthTexel.r * 2.0 - 1.0;\n}\n\nfloat linearDepth(float depth)\n{\n if (projection[3][3] == 0.0) {\n return projection[3][2] / (depth * projection[2][3] - projection[2][2]);\n }\n else {\n return (depth - projection[3][2]) / projection[2][2];\n }\n}\n\nbool rayIntersectDepth(float rayZNear, float rayZFar, vec2 hitPixel)\n{\n if (rayZFar > rayZNear)\n {\n float t = rayZFar; rayZFar = rayZNear; rayZNear = t;\n }\n float cameraZ = linearDepth(fetchDepth(gBufferTexture2, hitPixel));\n return rayZFar <= cameraZ && rayZNear >= cameraZ - zThicknessThreshold;\n}\n\n\nbool traceScreenSpaceRay(\n vec3 rayOrigin, vec3 rayDir, float jitter,\n out vec2 hitPixel, out vec3 hitPoint, out float iterationCount\n)\n{\n float rayLength = ((rayOrigin.z + rayDir.z * maxRayDistance) > -nearZ)\n ? (-nearZ - rayOrigin.z) / rayDir.z : maxRayDistance;\n\n vec3 rayEnd = rayOrigin + rayDir * rayLength;\n\n vec4 H0 = projection * vec4(rayOrigin, 1.0);\n vec4 H1 = projection * vec4(rayEnd, 1.0);\n\n float k0 = 1.0 / H0.w, k1 = 1.0 / H1.w;\n\n vec3 Q0 = rayOrigin * k0, Q1 = rayEnd * k1;\n\n vec2 P0 = (H0.xy * k0 * 0.5 + 0.5) * viewportSize;\n vec2 P1 = (H1.xy * k1 * 0.5 + 0.5) * viewportSize;\n\n P1 += dot(P1 - P0, P1 - P0) < 0.0001 ? 0.01 : 0.0;\n vec2 delta = P1 - P0;\n\n bool permute = false;\n if (abs(delta.x) < abs(delta.y)) {\n permute = true;\n delta = delta.yx;\n P0 = P0.yx;\n P1 = P1.yx;\n }\n float stepDir = sign(delta.x);\n float invdx = stepDir / delta.x;\n\n vec3 dQ = (Q1 - Q0) * invdx;\n float dk = (k1 - k0) * invdx;\n\n vec2 dP = vec2(stepDir, delta.y * invdx);\n\n float strideScaler = 1.0 - min(1.0, -rayOrigin.z / pixelStrideZCutoff);\n float pixStride = 1.0 + strideScaler * pixelStride;\n\n dP *= pixStride; dQ *= pixStride; dk *= pixStride;\n\n vec4 pqk = vec4(P0, Q0.z, k0);\n vec4 dPQK = vec4(dP, dQ.z, dk);\n\n pqk += dPQK * jitter;\n float rayZFar = (dPQK.z * 0.5 + pqk.z) / (dPQK.w * 0.5 + pqk.w);\n float rayZNear;\n\n bool intersect = false;\n\n vec2 texelSize = 1.0 / viewportSize;\n\n iterationCount = 0.0;\n\n for (int i = 0; i < MAX_ITERATION; i++)\n {\n pqk += dPQK;\n\n rayZNear = rayZFar;\n rayZFar = (dPQK.z * 0.5 + pqk.z) / (dPQK.w * 0.5 + pqk.w);\n\n hitPixel = permute ? pqk.yx : pqk.xy;\n hitPixel *= texelSize;\n\n intersect = rayIntersectDepth(rayZNear, rayZFar, hitPixel);\n\n iterationCount += 1.0;\n\n dPQK *= 1.2;\n\n if (intersect) {\n break;\n }\n }\n\n Q0.xy += dQ.xy * iterationCount;\n Q0.z = pqk.z;\n hitPoint = Q0 / pqk.w;\n\n return intersect;\n}\n\nfloat calculateAlpha(\n float iterationCount, float reflectivity,\n vec2 hitPixel, vec3 hitPoint, float dist, vec3 rayDir\n)\n{\n float alpha = clamp(reflectivity, 0.0, 1.0);\n alpha *= 1.0 - (iterationCount / float(MAX_ITERATION));\n vec2 hitPixelNDC = hitPixel * 2.0 - 1.0;\n float maxDimension = min(1.0, max(abs(hitPixelNDC.x), abs(hitPixelNDC.y)));\n alpha *= 1.0 - max(0.0, maxDimension - screenEdgeFadeStart) / (1.0 - screenEdgeFadeStart);\n\n float _eyeFadeStart = eyeFadeStart;\n float _eyeFadeEnd = eyeFadeEnd;\n if (_eyeFadeStart > _eyeFadeEnd) {\n float tmp = _eyeFadeEnd;\n _eyeFadeEnd = _eyeFadeStart;\n _eyeFadeStart = tmp;\n }\n\n float eyeDir = clamp(rayDir.z, _eyeFadeStart, _eyeFadeEnd);\n alpha *= 1.0 - (eyeDir - _eyeFadeStart) / (_eyeFadeEnd - _eyeFadeStart);\n\n alpha *= 1.0 - clamp(dist / maxRayDistance, 0.0, 1.0);\n\n return alpha;\n}\n\n@import clay.util.rand\n\n@import clay.util.rgbm\n\nvoid main()\n{\n vec4 normalAndGloss = texture2D(gBufferTexture1, v_Texcoord);\n\n if (dot(normalAndGloss.rgb, vec3(1.0)) == 0.0) {\n discard;\n }\n\n float g = normalAndGloss.a;\n#if !defined(PHYSICALLY_CORRECT)\n if (g <= minGlossiness) {\n discard;\n }\n#endif\n\n float reflectivity = (g - minGlossiness) / (1.0 - minGlossiness);\n\n vec3 N = normalize(normalAndGloss.rgb * 2.0 - 1.0);\n N = normalize((toViewSpace * vec4(N, 0.0)).xyz);\n\n vec4 projectedPos = vec4(v_Texcoord * 2.0 - 1.0, fetchDepth(gBufferTexture2, v_Texcoord), 1.0);\n vec4 pos = projectionInv * projectedPos;\n vec3 rayOrigin = pos.xyz / pos.w;\n vec3 V = -normalize(rayOrigin);\n\n float ndv = clamp(dot(N, V), 0.0, 1.0);\n float iterationCount;\n float jitter = rand(fract(v_Texcoord + jitterOffset));\n\n#ifdef PHYSICALLY_CORRECT\n vec4 color = vec4(vec3(0.0), 1.0);\n vec4 albedoMetalness = texture2D(gBufferTexture3, v_Texcoord);\n vec3 albedo = albedoMetalness.rgb;\n float m = albedoMetalness.a;\n vec3 diffuseColor = albedo * (1.0 - m);\n vec3 spec = mix(vec3(0.04), albedo, m);\n\n float jitter2 = rand(fract(v_Texcoord)) * float(TOTAL_SAMPLES);\n\n for (int i = 0; i < SAMPLE_PER_FRAME; i++) {\n vec3 H = importanceSampleNormalGGX(float(i) + jitter2, 1.0 - g, N);\n vec3 rayDir = normalize(reflect(-V, H));\n#else\n vec3 rayDir = normalize(reflect(-V, N));\n#endif\n vec2 hitPixel;\n vec3 hitPoint;\n\n bool intersect = traceScreenSpaceRay(rayOrigin, rayDir, jitter, hitPixel, hitPoint, iterationCount);\n\n float dist = distance(rayOrigin, hitPoint);\n\n vec3 hitNormal = texture2D(gBufferTexture1, hitPixel).rgb * 2.0 - 1.0;\n hitNormal = normalize((toViewSpace * vec4(hitNormal, 0.0)).xyz);\n#ifdef PHYSICALLY_CORRECT\n float ndl = clamp(dot(N, rayDir), 0.0, 1.0);\n float vdh = clamp(dot(V, H), 0.0, 1.0);\n float ndh = clamp(dot(N, H), 0.0, 1.0);\n vec3 litTexel = vec3(0.0);\n if (dot(hitNormal, rayDir) < 0.0 && intersect) {\n litTexel = texture2D(sourceTexture, hitPixel).rgb;\n litTexel *= pow(clamp(1.0 - dist / 200.0, 0.0, 1.0), 3.0);\n\n }\n else {\n #ifdef SPECULARCUBEMAP_ENABLED\n vec3 rayDirW = normalize(toWorldSpace * vec4(rayDir, 0.0)).rgb;\n litTexel = RGBMDecode(textureCubeLodEXT(specularCubemap, rayDirW, 0.0), 8.12).rgb * specularIntensity;\n#endif\n }\n color.rgb += ndl * litTexel * (\n F_Schlick(ndl, spec) * G_Smith(g, ndv, ndl) * vdh / (ndh * ndv + 0.001)\n );\n }\n color.rgb /= float(SAMPLE_PER_FRAME);\n#else\n #if !defined(SPECULARCUBEMAP_ENABLED)\n if (dot(hitNormal, rayDir) >= 0.0) {\n discard;\n }\n if (!intersect) {\n discard;\n }\n#endif\n float alpha = clamp(calculateAlpha(iterationCount, reflectivity, hitPixel, hitPoint, dist, rayDir), 0.0, 1.0);\n vec4 color = texture2D(sourceTexture, hitPixel);\n color.rgb *= alpha;\n\n#ifdef SPECULARCUBEMAP_ENABLED\n vec3 rayDirW = normalize(toWorldSpace * vec4(rayDir, 0.0)).rgb;\n alpha = alpha * (intersect ? 1.0 : 0.0);\n float bias = (1.0 -g) * 5.0;\n color.rgb += (1.0 - alpha)\n * RGBMDecode(textureCubeLodEXT(specularCubemap, rayDirW, bias), 8.12).rgb\n * specularIntensity;\n#endif\n\n#endif\n\n gl_FragColor = encodeHDR(color);\n}\n@end\n\n@export ecgl.ssr.blur\n\nuniform sampler2D texture;\nuniform sampler2D gBufferTexture1;\nuniform sampler2D gBufferTexture2;\nuniform mat4 projection;\nuniform float depthRange : 0.05;\n\nvarying vec2 v_Texcoord;\n\nuniform vec2 textureSize;\nuniform float blurSize : 1.0;\n\n#ifdef BLEND\n #ifdef SSAOTEX_ENABLED\nuniform sampler2D ssaoTex;\n #endif\nuniform sampler2D sourceTexture;\n#endif\n\nfloat getLinearDepth(vec2 coord)\n{\n float depth = texture2D(gBufferTexture2, coord).r * 2.0 - 1.0;\n return projection[3][2] / (depth * projection[2][3] - projection[2][2]);\n}\n\n@import clay.util.rgbm\n\n\nvoid main()\n{\n @import clay.compositor.kernel.gaussian_9\n\n vec4 centerNTexel = texture2D(gBufferTexture1, v_Texcoord);\n float g = centerNTexel.a;\n float maxBlurSize = clamp(1.0 - g, 0.0, 1.0) * blurSize;\n#ifdef VERTICAL\n vec2 off = vec2(0.0, maxBlurSize / textureSize.y);\n#else\n vec2 off = vec2(maxBlurSize / textureSize.x, 0.0);\n#endif\n\n vec2 coord = v_Texcoord;\n\n vec4 sum = vec4(0.0);\n float weightAll = 0.0;\n\n vec3 cN = centerNTexel.rgb * 2.0 - 1.0;\n float cD = getLinearDepth(v_Texcoord);\n for (int i = 0; i < 9; i++) {\n vec2 coord = clamp((float(i) - 4.0) * off + v_Texcoord, vec2(0.0), vec2(1.0));\n float w = gaussianKernel[i]\n * clamp(dot(cN, texture2D(gBufferTexture1, coord).rgb * 2.0 - 1.0), 0.0, 1.0);\n float d = getLinearDepth(coord);\n w *= (1.0 - smoothstep(abs(cD - d) / depthRange, 0.0, 1.0));\n\n weightAll += w;\n sum += decodeHDR(texture2D(texture, coord)) * w;\n }\n\n#ifdef BLEND\n float aoFactor = 1.0;\n #ifdef SSAOTEX_ENABLED\n aoFactor = texture2D(ssaoTex, v_Texcoord).r;\n #endif\n gl_FragColor = encodeHDR(\n sum / weightAll * aoFactor + decodeHDR(texture2D(sourceTexture, v_Texcoord))\n );\n#else\n gl_FragColor = encodeHDR(sum / weightAll);\n#endif\n}\n\n@end"),yq.prototype.setAmbientCubemap=function(t,e){this._ssrPass.material.set("specularCubemap",t),this._ssrPass.material.set("specularIntensity",e);var n=t&&e;this._ssrPass.material[n?"enableTexture":"disableTexture"]("specularCubemap")},yq.prototype.update=function(t,e,n,i){var r=t.getWidth(),o=t.getHeight(),a=this._ssrTexture,s=this._texture2,l=this._texture3;a.width=this._prevTexture.width=this._currentTexture.width=r/this._downScale,a.height=this._prevTexture.height=this._currentTexture.height=o/this._downScale,s.width=l.width=r,s.height=l.height=o;var u=this._frameBuffer,c=this._ssrPass,h=this._blurPass1,d=this._blurPass2,p=this._blendPass,f=new nj,g=new nj;nj.transpose(f,e.worldTransform),nj.transpose(g,e.viewMatrix),c.setUniform("sourceTexture",n),c.setUniform("projection",e.projectionMatrix.array),c.setUniform("projectionInv",e.invProjectionMatrix.array),c.setUniform("toViewSpace",f.array),c.setUniform("toWorldSpace",g.array),c.setUniform("nearZ",e.near);var m=i/this._totalSamples*this._samplePerFrame;if(c.setUniform("jitterOffset",m),c.setUniform("sampleOffset",i*this._samplePerFrame),h.setUniform("textureSize",[a.width,a.height]),d.setUniform("textureSize",[r,o]),d.setUniform("sourceTexture",n),h.setUniform("projection",e.projectionMatrix.array),d.setUniform("projection",e.projectionMatrix.array),u.attach(a),u.bind(t),c.render(t),this._physicallyCorrect&&(u.attach(this._currentTexture),p.setUniform("texture1",this._prevTexture),p.setUniform("texture2",a),p.material.set({weight1:i>=1?.95:0,weight2:i>=1?.05:1}),p.render(t)),u.attach(s),h.setUniform("texture",this._physicallyCorrect?this._currentTexture:a),h.render(t),u.attach(l),d.setUniform("texture",s),d.render(t),u.unbind(t),this._physicallyCorrect){var v=this._prevTexture;this._prevTexture=this._currentTexture,this._currentTexture=v}},yq.prototype.getTargetTexture=function(){return this._texture3},yq.prototype.setParameter=function(t,e){"maxIteration"===t?this._ssrPass.material.define("fragment","MAX_ITERATION",e):this._ssrPass.setUniform(t,e)},yq.prototype.setPhysicallyCorrect=function(t){t?(this._normalDistribution||(this._normalDistribution=aZ.generateNormalDistribution(64,this._totalSamples)),this._ssrPass.material.define("fragment","PHYSICALLY_CORRECT"),this._ssrPass.material.set("normalDistribution",this._normalDistribution),this._ssrPass.material.set("normalDistributionSize",[64,this._totalSamples])):this._ssrPass.material.undefine("fragment","PHYSICALLY_CORRECT"),this._physicallyCorrect=t},yq.prototype.setSSAOTexture=function(t){var e=this._blurPass2;t?(e.material.enableTexture("ssaoTex"),e.material.set("ssaoTex",t)):e.material.disableTexture("ssaoTex")},yq.prototype.isFinished=function(t){return!this._physicallyCorrect||t>this._totalSamples/this._samplePerFrame},yq.prototype.dispose=function(t){this._ssrTexture.dispose(t),this._texture2.dispose(t),this._texture3.dispose(t),this._prevTexture.dispose(t),this._currentTexture.dispose(t),this._frameBuffer.dispose(t)};var _q=[0,0,-.321585265978,-.154972575841,.458126042375,.188473391593,.842080129861,.527766490688,.147304551086,-.659453822776,-.331943915203,-.940619700594,.0479226680259,.54812163202,.701581552186,-.709825561388,-.295436780218,.940589268233,-.901489676764,.237713156085,.973570876096,-.109899459384,-.866792314779,-.451805525005,.330975007087,.800048655954,-.344275183665,.381779221166,-.386139432542,-.437418421534,-.576478634965,-.0148463392551,.385798197415,-.262426961053,-.666302061145,.682427250835,-.628010632582,-.732836215494,.10163141741,-.987658134403,.711995289051,-.320024291314,.0296005138058,.950296523438,.0130612307608,-.351024443122,-.879596633704,-.10478487883,.435712737232,.504254490347,.779203817497,.206477676721,.388264289969,-.896736162545,-.153106280781,-.629203242522,-.245517550697,.657969239148,.126830499058,.26862328493,-.634888119007,-.302301223431,.617074219636,.779817204925];function xq(t,e,n,i,r){var o=t.gl;e.setUniform(o,"1i",n,r),o.activeTexture(o.TEXTURE0+r),i.isRenderable()?i.bind(t):i.unbind(t)}function bq(t,e,n,i,r){var o,a,s,l,u=t.gl;return function(r,c,h){if(!l||l.material!==r.material){var d=r.material,p=r.__program,f=d.get("roughness");null==f&&(f=1);var g=d.get("normalMap")||e,m=d.get("roughnessMap"),v=d.get("bumpMap"),y=d.get("uvRepeat"),_=d.get("uvOffset"),x=d.get("detailUvRepeat"),b=d.get("detailUvOffset"),w=!!v&&d.isTextureEnabled("bumpMap"),S=!!m&&d.isTextureEnabled("roughnessMap"),A=d.isDefined("fragment","DOUBLE_SIDED");v=v||n,m=m||i,h!==c?(c.set("normalMap",g),c.set("bumpMap",v),c.set("roughnessMap",m),c.set("useBumpMap",w),c.set("useRoughnessMap",S),c.set("doubleSide",A),null!=y&&c.set("uvRepeat",y),null!=_&&c.set("uvOffset",_),null!=x&&c.set("detailUvRepeat",x),null!=b&&c.set("detailUvOffset",b),c.set("roughness",f)):(p.setUniform(u,"1f","roughness",f),o!==g&&xq(t,p,"normalMap",g,0),a!==v&&v&&xq(t,p,"bumpMap",v,1),s!==m&&m&&xq(t,p,"roughnessMap",m,2),null!=y&&p.setUniform(u,"2f","uvRepeat",y),null!=_&&p.setUniform(u,"2f","uvOffset",_),null!=x&&p.setUniform(u,"2f","detailUvRepeat",x),null!=b&&p.setUniform(u,"2f","detailUvOffset",b),p.setUniform(u,"1i","useBumpMap",+w),p.setUniform(u,"1i","useRoughnessMap",+S),p.setUniform(u,"1i","doubleSide",+A)),o=g,a=v,s=m,l=r}}}function wq(t){this._depthTex=new Ej({format:Tj.DEPTH_COMPONENT,type:Tj.UNSIGNED_INT}),this._normalTex=new Ej({type:Tj.HALF_FLOAT}),this._framebuffer=new RY,this._framebuffer.attach(this._normalTex),this._framebuffer.attach(this._depthTex,RY.DEPTH_ATTACHMENT),this._normalMaterial=new OW({shader:new pX(pX.source("ecgl.normal.vertex"),pX.source("ecgl.normal.fragment"))}),this._normalMaterial.enableTexture(["normalMap","bumpMap","roughnessMap"]),this._defaultNormalMap=JY.createBlank("#000"),this._defaultBumpMap=JY.createBlank("#000"),this._defaultRoughessMap=JY.createBlank("#000"),this._debugPass=new oZ({fragment:pX.source("clay.compositor.output")}),this._debugPass.setUniform("texture",this._normalTex),this._debugPass.material.undefine("fragment","OUTPUT_ALPHA")}function Sq(t){t=t||{},this._edgePass=new oZ({fragment:pX.source("ecgl.edge")}),this._edgePass.setUniform("normalTexture",t.normalTexture),this._edgePass.setUniform("depthTexture",t.depthTexture),this._targetTexture=new Ej({type:Tj.HALF_FLOAT}),this._frameBuffer=new RY,this._frameBuffer.attach(this._targetTexture)}pX.import("@export ecgl.normal.vertex\n\n@import ecgl.common.transformUniforms\n\n@import ecgl.common.uv.header\n\n@import ecgl.common.attributes\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\n@import ecgl.common.normalMap.vertexHeader\n\n@import ecgl.common.vertexAnimation.header\n\nvoid main()\n{\n\n @import ecgl.common.vertexAnimation.main\n\n @import ecgl.common.uv.main\n\n v_Normal = normalize((worldInverseTranspose * vec4(normal, 0.0)).xyz);\n v_WorldPosition = (world * vec4(pos, 1.0)).xyz;\n\n @import ecgl.common.normalMap.vertexMain\n\n gl_Position = worldViewProjection * vec4(pos, 1.0);\n\n}\n\n\n@end\n\n\n@export ecgl.normal.fragment\n\n#define ROUGHNESS_CHANEL 0\n\nuniform bool useBumpMap;\nuniform bool useRoughnessMap;\nuniform bool doubleSide;\nuniform float roughness;\n\n@import ecgl.common.uv.fragmentHeader\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nuniform mat4 viewInverse : VIEWINVERSE;\n\n@import ecgl.common.normalMap.fragmentHeader\n@import ecgl.common.bumpMap.header\n\nuniform sampler2D roughnessMap;\n\nvoid main()\n{\n vec3 N = v_Normal;\n \n bool flipNormal = false;\n if (doubleSide) {\n vec3 eyePos = viewInverse[3].xyz;\n vec3 V = normalize(eyePos - v_WorldPosition);\n\n if (dot(N, V) < 0.0) {\n flipNormal = true;\n }\n }\n\n @import ecgl.common.normalMap.fragmentMain\n\n if (useBumpMap) {\n N = bumpNormal(v_WorldPosition, v_Normal, N);\n }\n\n float g = 1.0 - roughness;\n\n if (useRoughnessMap) {\n float g2 = 1.0 - texture2D(roughnessMap, v_DetailTexcoord)[ROUGHNESS_CHANEL];\n g = clamp(g2 + (g - 0.5) * 2.0, 0.0, 1.0);\n }\n\n if (flipNormal) {\n N = -N;\n }\n\n gl_FragColor.rgb = (N.xyz + 1.0) * 0.5;\n gl_FragColor.a = g;\n}\n@end"),wq.prototype.getDepthTexture=function(){return this._depthTex},wq.prototype.getNormalTexture=function(){return this._normalTex},wq.prototype.update=function(t,e,n){var i=t.getWidth(),r=t.getHeight(),o=this._depthTex,a=this._normalTex,s=this._normalMaterial;o.width=i,o.height=r,a.width=i,a.height=r;var l=e.getRenderList(n).opaque;this._framebuffer.bind(t),t.gl.clearColor(0,0,0,0),t.gl.clear(t.gl.COLOR_BUFFER_BIT|t.gl.DEPTH_BUFFER_BIT),t.gl.disable(t.gl.BLEND),t.renderPass(l,n,{getMaterial:function(){return s},ifRender:function(t){return t.renderNormal},beforeRender:bq(t,this._defaultNormalMap,this._defaultBumpMap,this._defaultRoughessMap,this._normalMaterial),sort:t.opaqueSortCompare}),this._framebuffer.unbind(t)},wq.prototype.renderDebug=function(t){this._debugPass.render(t)},wq.prototype.dispose=function(t){this._depthTex.dispose(t),this._normalTex.dispose(t)},Sq.prototype.update=function(t,e,n,i){var r=t.getWidth(),o=t.getHeight(),a=this._targetTexture;a.width=r,a.height=o;var s=this._frameBuffer;s.bind(t),this._edgePass.setUniform("projectionInv",e.invProjectionMatrix.array),this._edgePass.setUniform("textureSize",[r,o]),this._edgePass.setUniform("texture",n),this._edgePass.render(t),s.unbind(t)},Sq.prototype.getTargetTexture=function(){return this._targetTexture},Sq.prototype.setParameter=function(t,e){this._edgePass.setUniform(t,e)},Sq.prototype.dispose=function(t){this._targetTexture.dispose(t),this._frameBuffer.dispose(t)};var Aq={type:"compositor",nodes:[{name:"source",type:"texture",outputs:{color:{}}},{name:"source_half",shader:"#source(clay.compositor.downsample)",inputs:{texture:"source"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"}},{name:"bright",shader:"#source(clay.compositor.bright)",inputs:{texture:"source_half"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{threshold:2,scale:4,textureSize:"expr([width * 1.0 / 2, height / 2])"}},{name:"bright_downsample_4",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 2, height / 2] )"}},{name:"bright_downsample_8",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright_downsample_4"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 4, height / 4] )"}},{name:"bright_downsample_16",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright_downsample_8"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 16)",height:"expr(height * 1.0 / 16)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 8, height / 8] )"}},{name:"bright_downsample_32",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright_downsample_16"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 32)",height:"expr(height * 1.0 / 32)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 16, height / 16] )"}},{name:"bright_upsample_16_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_32"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 16)",height:"expr(height * 1.0 / 16)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 32, height / 32] )"}},{name:"bright_upsample_16_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_16_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 16)",height:"expr(height * 1.0 / 16)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 16, height * 1.0 / 16] )"}},{name:"bright_upsample_8_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_16"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 16, height * 1.0 / 16] )"}},{name:"bright_upsample_8_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_8_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 8, height * 1.0 / 8] )"}},{name:"bright_upsample_8_blend",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_8_blur_v",texture2:"bright_upsample_16_blur_v"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"bright_upsample_4_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_8"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 8, height * 1.0 / 8] )"}},{name:"bright_upsample_4_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_4_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 4, height * 1.0 / 4] )"}},{name:"bright_upsample_4_blend",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_4_blur_v",texture2:"bright_upsample_8_blend"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"bright_upsample_2_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_4"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 4, height * 1.0 / 4] )"}},{name:"bright_upsample_2_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_2_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 2, height * 1.0 / 2] )"}},{name:"bright_upsample_2_blend",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_2_blur_v",texture2:"bright_upsample_4_blend"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"bright_upsample_full_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 2, height * 1.0 / 2] )"}},{name:"bright_upsample_full_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_full_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0, height * 1.0] )"}},{name:"bloom_composite",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_full_blur_v",texture2:"bright_upsample_2_blend"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"coc",shader:"#source(ecgl.dof.coc)",outputs:{color:{parameters:{minFilter:"NEAREST",magFilter:"NEAREST",width:"expr(width * 1.0)",height:"expr(height * 1.0)"}}},parameters:{focalDist:50,focalRange:30}},{name:"dof_far_blur",shader:"#source(ecgl.dof.diskBlur)",inputs:{texture:"source",coc:"coc"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"}},{name:"dof_near_blur",shader:"#source(ecgl.dof.diskBlur)",inputs:{texture:"source",coc:"coc"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"},defines:{BLUR_NEARFIELD:null}},{name:"dof_coc_blur",shader:"#source(ecgl.dof.diskBlur)",inputs:{texture:"coc"},outputs:{color:{parameters:{minFilter:"NEAREST",magFilter:"NEAREST",width:"expr(width * 1.0)",height:"expr(height * 1.0)"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"},defines:{BLUR_COC:null}},{name:"dof_composite",shader:"#source(ecgl.dof.composite)",inputs:{original:"source",blurred:"dof_far_blur",nearfield:"dof_near_blur",coc:"coc",nearcoc:"dof_coc_blur"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}}},{name:"composite",shader:"#source(clay.compositor.hdr.composite)",inputs:{texture:"source",bloom:"bloom_composite"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)"}}},defines:{}},{name:"FXAA",shader:"#source(clay.compositor.fxaa)",inputs:{texture:"composite"}}]};function Tq(t,e){return{color:{parameters:{width:t,height:e}}}}pX.import(qQ),pX.import(JQ),pX.import(KQ),pX.import($Q),pX.import(tq),pX.import(eq),pX.import(nq),pX.import(iq),pX.import(rq),pX.import("@export ecgl.dof.coc\n\nuniform sampler2D depth;\n\nuniform float zNear: 0.1;\nuniform float zFar: 2000;\n\nuniform float focalDistance: 3;\nuniform float focalRange: 1;\nuniform float focalLength: 30;\nuniform float fstop: 2.8;\n\nvarying vec2 v_Texcoord;\n\n@import clay.util.encode_float\n\nvoid main()\n{\n float z = texture2D(depth, v_Texcoord).r * 2.0 - 1.0;\n\n float dist = 2.0 * zNear * zFar / (zFar + zNear - z * (zFar - zNear));\n\n float aperture = focalLength / fstop;\n\n float coc;\n\n float uppper = focalDistance + focalRange;\n float lower = focalDistance - focalRange;\n if (dist <= uppper && dist >= lower) {\n coc = 0.5;\n }\n else {\n float focalAdjusted = dist > uppper ? uppper : lower;\n\n coc = abs(aperture * (focalLength * (dist - focalAdjusted)) / (dist * (focalAdjusted - focalLength)));\n coc = clamp(coc, 0.0, 2.0) / 2.00001;\n\n if (dist < lower) {\n coc = -coc;\n }\n coc = coc * 0.5 + 0.5;\n }\n\n gl_FragColor = encodeFloat(coc);\n}\n@end\n\n\n@export ecgl.dof.composite\n\n#define DEBUG 0\n\nuniform sampler2D original;\nuniform sampler2D blurred;\nuniform sampler2D nearfield;\nuniform sampler2D coc;\nuniform sampler2D nearcoc;\nvarying vec2 v_Texcoord;\n\n@import clay.util.rgbm\n@import clay.util.float\n\nvoid main()\n{\n vec4 blurredColor = texture2D(blurred, v_Texcoord);\n vec4 originalColor = texture2D(original, v_Texcoord);\n\n float fCoc = decodeFloat(texture2D(coc, v_Texcoord));\n\n fCoc = abs(fCoc * 2.0 - 1.0);\n\n float weight = smoothstep(0.0, 1.0, fCoc);\n \n#ifdef NEARFIELD_ENABLED\n vec4 nearfieldColor = texture2D(nearfield, v_Texcoord);\n float fNearCoc = decodeFloat(texture2D(nearcoc, v_Texcoord));\n fNearCoc = abs(fNearCoc * 2.0 - 1.0);\n\n gl_FragColor = encodeHDR(\n mix(\n nearfieldColor, mix(originalColor, blurredColor, weight),\n pow(1.0 - fNearCoc, 4.0)\n )\n );\n#else\n gl_FragColor = encodeHDR(mix(originalColor, blurredColor, weight));\n#endif\n\n}\n\n@end\n\n\n\n@export ecgl.dof.diskBlur\n\n#define POISSON_KERNEL_SIZE 16;\n\nuniform sampler2D texture;\nuniform sampler2D coc;\nvarying vec2 v_Texcoord;\n\nuniform float blurRadius : 10.0;\nuniform vec2 textureSize : [512.0, 512.0];\n\nuniform vec2 poissonKernel[POISSON_KERNEL_SIZE];\n\nuniform float percent;\n\nfloat nrand(const in vec2 n) {\n return fract(sin(dot(n.xy ,vec2(12.9898,78.233))) * 43758.5453);\n}\n\n@import clay.util.rgbm\n@import clay.util.float\n\n\nvoid main()\n{\n vec2 offset = blurRadius / textureSize;\n\n float rnd = 6.28318 * nrand(v_Texcoord + 0.07 * percent );\n float cosa = cos(rnd);\n float sina = sin(rnd);\n vec4 basis = vec4(cosa, -sina, sina, cosa);\n\n#if !defined(BLUR_NEARFIELD) && !defined(BLUR_COC)\n offset *= abs(decodeFloat(texture2D(coc, v_Texcoord)) * 2.0 - 1.0);\n#endif\n\n#ifdef BLUR_COC\n float cocSum = 0.0;\n#else\n vec4 color = vec4(0.0);\n#endif\n\n\n float weightSum = 0.0;\n\n for (int i = 0; i < POISSON_KERNEL_SIZE; i++) {\n vec2 ofs = poissonKernel[i];\n\n ofs = vec2(dot(ofs, basis.xy), dot(ofs, basis.zw));\n\n vec2 uv = v_Texcoord + ofs * offset;\n vec4 texel = texture2D(texture, uv);\n\n float w = 1.0;\n#ifdef BLUR_COC\n float fCoc = decodeFloat(texel) * 2.0 - 1.0;\n cocSum += clamp(fCoc, -1.0, 0.0) * w;\n#else\n texel = texel;\n #if !defined(BLUR_NEARFIELD)\n float fCoc = decodeFloat(texture2D(coc, uv)) * 2.0 - 1.0;\n w *= abs(fCoc);\n #endif\n texel.rgb *= texel.a;\n color += texel * w;\n#endif\n\n weightSum += w;\n }\n\n#ifdef BLUR_COC\n gl_FragColor = encodeFloat(clamp(cocSum / weightSum, -1.0, 0.0) * 0.5 + 0.5);\n#else\n color /= weightSum;\n color.rgb /= (color.a + 0.0001);\n gl_FragColor = color;\n#endif\n}\n\n@end"),pX.import("@export ecgl.edge\n\nuniform sampler2D texture;\n\nuniform sampler2D normalTexture;\nuniform sampler2D depthTexture;\n\nuniform mat4 projectionInv;\n\nuniform vec2 textureSize;\n\nuniform vec4 edgeColor: [0,0,0,0.8];\n\nvarying vec2 v_Texcoord;\n\nvec3 packColor(vec2 coord) {\n float z = texture2D(depthTexture, coord).r * 2.0 - 1.0;\n vec4 p = vec4(v_Texcoord * 2.0 - 1.0, z, 1.0);\n vec4 p4 = projectionInv * p;\n\n return vec3(\n texture2D(normalTexture, coord).rg,\n -p4.z / p4.w / 5.0\n );\n}\n\nvoid main() {\n vec2 cc = v_Texcoord;\n vec3 center = packColor(cc);\n\n float size = clamp(1.0 - (center.z - 10.0) / 100.0, 0.0, 1.0) * 0.5;\n float dx = size / textureSize.x;\n float dy = size / textureSize.y;\n\n vec2 coord;\n vec3 topLeft = packColor(cc+vec2(-dx, -dy));\n vec3 top = packColor(cc+vec2(0.0, -dy));\n vec3 topRight = packColor(cc+vec2(dx, -dy));\n vec3 left = packColor(cc+vec2(-dx, 0.0));\n vec3 right = packColor(cc+vec2(dx, 0.0));\n vec3 bottomLeft = packColor(cc+vec2(-dx, dy));\n vec3 bottom = packColor(cc+vec2(0.0, dy));\n vec3 bottomRight = packColor(cc+vec2(dx, dy));\n\n vec3 v = -topLeft-2.0*top-topRight+bottomLeft+2.0*bottom+bottomRight;\n vec3 h = -bottomLeft-2.0*left-topLeft+bottomRight+2.0*right+topRight;\n\n float edge = sqrt(dot(h, h) + dot(v, v));\n\n edge = smoothstep(0.8, 1.0, edge);\n\n gl_FragColor = mix(texture2D(texture, v_Texcoord), vec4(edgeColor.rgb, 1.0), edgeColor.a * edge);\n}\n@end");var Mq=["composite","FXAA"];function Iq(){this._width,this._height,this._dpr,this._sourceTexture=new Ej({type:Tj.HALF_FLOAT}),this._depthTexture=new Ej({format:Tj.DEPTH_COMPONENT,type:Tj.UNSIGNED_INT}),this._framebuffer=new RY,this._framebuffer.attach(this._sourceTexture),this._framebuffer.attach(this._depthTexture,RY.DEPTH_ATTACHMENT),this._normalPass=new wq,this._compositor=aq(Aq);var t=this._compositor.getNodeByName("source");t.texture=this._sourceTexture;var e=this._compositor.getNodeByName("coc");this._sourceNode=t,this._cocNode=e,this._compositeNode=this._compositor.getNodeByName("composite"),this._fxaaNode=this._compositor.getNodeByName("FXAA"),this._dofBlurNodes=["dof_far_blur","dof_near_blur","dof_coc_blur"].map((function(t){return this._compositor.getNodeByName(t)}),this),this._dofBlurKernel=0,this._dofBlurKernelSize=new Float32Array(0),this._finalNodesChain=Mq.map((function(t){return this._compositor.getNodeByName(t)}),this);var n={normalTexture:this._normalPass.getNormalTexture(),depthTexture:this._normalPass.getDepthTexture()};this._ssaoPass=new vq(n),this._ssrPass=new yq(n),this._edgePass=new Sq(n)}function Cq(t){for(var e=[],n=0;n<30;n++)e.push([pq(n,2),pq(n,3)]);this._haltonSequence=e,this._frame=0,this._sourceTex=new Ej,this._sourceFb=new RY,this._sourceFb.attach(this._sourceTex),this._prevFrameTex=new Ej,this._outputTex=new Ej;var i=this._blendPass=new oZ({fragment:pX.source("clay.compositor.blend")});i.material.disableTexturesAll(),i.material.enableTexture(["texture1","texture2"]),this._blendFb=new RY({depthBuffer:!1}),this._outputPass=new oZ({fragment:pX.source("clay.compositor.output"),blendWithPrevious:!0}),this._outputPass.material.define("fragment","OUTPUT_ALPHA"),this._outputPass.material.blend=function(t){t.blendEquationSeparate(t.FUNC_ADD,t.FUNC_ADD),t.blendFuncSeparate(t.ONE,t.ONE_MINUS_SRC_ALPHA,t.ONE,t.ONE_MINUS_SRC_ALPHA)}}function Dq(t){t=t||"perspective",this.layer=null,this.scene=new mY,this.rootNode=this.scene,this.viewport={x:0,y:0,width:0,height:0},this.setProjection(t),this._compositor=new Iq,this._temporalSS=new Cq,this._shadowMapPass=new HQ;for(var e=[],n=0,i=0;i<30;i++){for(var r=[],o=0;o<6;o++)r.push(4*pq(n,2)-2),r.push(4*pq(n,3)-2),n++;e.push(r)}this._pcfKernels=e,this.scene.on("beforerender",(function(t,e,n){this.needsTemporalSS()&&this._temporalSS.jitterProjection(t,n)}),this)}Iq.prototype.resize=function(t,e,n){t*=n=n||1,e*=n;var i=this._sourceTexture,r=this._depthTexture;i.width=t,i.height=e,r.width=t,r.height=e;var o={getWidth:function(){return t},getHeight:function(){return e},getDevicePixelRatio:function(){return n}};function a(t,e){if("function"==typeof t[e]){var n=t[e].__original||t[e];t[e]=function(t){return n.call(this,o)},t[e].__original=n}}this._compositor.nodes.forEach((function(t){for(var e in t.outputs){var n=t.outputs[e].parameters;n&&(a(n,"width"),a(n,"height"))}for(var i in t.parameters)a(t.parameters,i)})),this._width=t,this._height=e,this._dpr=n},Iq.prototype.getWidth=function(){return this._width},Iq.prototype.getHeight=function(){return this._height},Iq.prototype._ifRenderNormalPass=function(){return this._enableSSAO||this._enableEdge||this._enableSSR},Iq.prototype._getPrevNode=function(t){for(var e=Mq.indexOf(t.name)-1,n=this._finalNodesChain[e];n&&!this._compositor.getNodeByName(n.name);)e-=1,n=this._finalNodesChain[e];return n},Iq.prototype._getNextNode=function(t){for(var e=Mq.indexOf(t.name)+1,n=this._finalNodesChain[e];n&&!this._compositor.getNodeByName(n.name);)e+=1,n=this._finalNodesChain[e];return n},Iq.prototype._addChainNode=function(t){var e=this._getPrevNode(t),n=this._getNextNode(t);e&&(t.inputs.texture=e.name,n?(t.outputs=Tq(this.getWidth.bind(this),this.getHeight.bind(this)),n.inputs.texture=t.name):t.outputs=null,this._compositor.addNode(t))},Iq.prototype._removeChainNode=function(t){var e=this._getPrevNode(t),n=this._getNextNode(t);e&&(n?(e.outputs=Tq(this.getWidth.bind(this),this.getHeight.bind(this)),n.inputs.texture=e.name):e.outputs=null,this._compositor.removeNode(t))},Iq.prototype.updateNormal=function(t,e,n,i){this._ifRenderNormalPass()&&this._normalPass.update(t,e,n)},Iq.prototype.updateSSAO=function(t,e,n,i){this._ssaoPass.update(t,n,i)},Iq.prototype.enableSSAO=function(){this._enableSSAO=!0},Iq.prototype.disableSSAO=function(){this._enableSSAO=!1},Iq.prototype.enableSSR=function(){this._enableSSR=!0},Iq.prototype.disableSSR=function(){this._enableSSR=!1},Iq.prototype.getSSAOTexture=function(){return this._ssaoPass.getTargetTexture()},Iq.prototype.getSourceFrameBuffer=function(){return this._framebuffer},Iq.prototype.getSourceTexture=function(){return this._sourceTexture},Iq.prototype.disableFXAA=function(){this._removeChainNode(this._fxaaNode)},Iq.prototype.enableFXAA=function(){this._addChainNode(this._fxaaNode)},Iq.prototype.enableBloom=function(){this._compositeNode.inputs.bloom="bloom_composite",this._compositor.dirty()},Iq.prototype.disableBloom=function(){this._compositeNode.inputs.bloom=null,this._compositor.dirty()},Iq.prototype.enableDOF=function(){this._compositeNode.inputs.texture="dof_composite",this._compositor.dirty()},Iq.prototype.disableDOF=function(){this._compositeNode.inputs.texture="source",this._compositor.dirty()},Iq.prototype.enableColorCorrection=function(){this._compositeNode.define("COLOR_CORRECTION"),this._enableColorCorrection=!0},Iq.prototype.disableColorCorrection=function(){this._compositeNode.undefine("COLOR_CORRECTION"),this._enableColorCorrection=!1},Iq.prototype.enableEdge=function(){this._enableEdge=!0},Iq.prototype.disableEdge=function(){this._enableEdge=!1},Iq.prototype.setBloomIntensity=function(t){this._compositeNode.setParameter("bloomIntensity",t)},Iq.prototype.setSSAOParameter=function(t,e){switch(t){case"quality":var n={low:6,medium:12,high:32,ultra:62}[e]||12;this._ssaoPass.setParameter("kernelSize",n);break;case"radius":this._ssaoPass.setParameter(t,e),this._ssaoPass.setParameter("bias",e/200);break;case"intensity":this._ssaoPass.setParameter(t,e)}},Iq.prototype.setDOFParameter=function(t,e){switch(t){case"focalDistance":case"focalRange":case"fstop":this._cocNode.setParameter(t,e);break;case"blurRadius":for(var n=0;n<this._dofBlurNodes.length;n++)this._dofBlurNodes[n].setParameter("blurRadius",e);break;case"quality":var i={low:4,medium:8,high:16,ultra:32}[e]||8;this._dofBlurKernelSize=i;for(n=0;n<this._dofBlurNodes.length;n++)this._dofBlurNodes[n].pass.material.define("POISSON_KERNEL_SIZE",i);this._dofBlurKernel=new Float32Array(2*i)}},Iq.prototype.setSSRParameter=function(t,e){if(null!=e)switch(t){case"quality":var n={low:10,medium:15,high:30,ultra:80}[e]||20,i={low:32,medium:16,high:8,ultra:4}[e]||16;this._ssrPass.setParameter("maxIteration",n),this._ssrPass.setParameter("pixelStride",i);break;case"maxRoughness":this._ssrPass.setParameter("minGlossiness",Math.max(Math.min(1-e,1),0));break;case"physical":this.setPhysicallyCorrectSSR(e);break;default:console.warn("Unkown SSR parameter "+t)}},Iq.prototype.setPhysicallyCorrectSSR=function(t){this._ssrPass.setPhysicallyCorrect(t)},Iq.prototype.setEdgeColor=function(t){var e=NZ.parseColor(t);this._edgePass.setParameter("edgeColor",e)},Iq.prototype.setExposure=function(t){this._compositeNode.setParameter("exposure",Math.pow(2,t))},Iq.prototype.setColorLookupTexture=function(t,e){this._compositeNode.pass.material.setTextureImage("lut",this._enableColorCorrection?t:"none",e,{minFilter:NZ.Texture.NEAREST,magFilter:NZ.Texture.NEAREST,flipY:!1})},Iq.prototype.setColorCorrection=function(t,e){this._compositeNode.setParameter(t,e)},Iq.prototype.isSSREnabled=function(){return this._enableSSR},Iq.prototype.composite=function(t,e,n,i,r){var o=this._sourceTexture,a=o;this._enableEdge&&(this._edgePass.update(t,n,o,r),o=a=this._edgePass.getTargetTexture()),this._enableSSR&&(this._ssrPass.update(t,n,o,r),a=this._ssrPass.getTargetTexture(),this._ssrPass.setSSAOTexture(this._enableSSAO?this._ssaoPass.getTargetTexture():null)),this._sourceNode.texture=a,this._cocNode.setParameter("depth",this._depthTexture);for(var s=this._dofBlurKernel,l=this._dofBlurKernelSize,u=r%Math.floor(_q.length/2/l),c=0;c<2*l;c++)s[c]=_q[c+u*l*2];for(c=0;c<this._dofBlurNodes.length;c++)this._dofBlurNodes[c].setParameter("percent",r/30),this._dofBlurNodes[c].setParameter("poissonKernel",s);this._cocNode.setParameter("zNear",n.near),this._cocNode.setParameter("zFar",n.far),this._compositor.render(t,i)},Iq.prototype.dispose=function(t){this._sourceTexture.dispose(t),this._depthTexture.dispose(t),this._framebuffer.dispose(t),this._compositor.dispose(t),this._normalPass.dispose(t),this._ssaoPass.dispose(t)},Cq.prototype={constructor:Cq,jitterProjection:function(t,e){var n=t.viewport,i=n.devicePixelRatio||t.getDevicePixelRatio(),r=n.width*i,o=n.height*i,a=this._haltonSequence[this._frame%this._haltonSequence.length],s=new nj;s.array[12]=(2*a[0]-1)/r,s.array[13]=(2*a[1]-1)/o,nj.mul(e.projectionMatrix,s,e.projectionMatrix),nj.invert(e.invProjectionMatrix,e.projectionMatrix)},resetFrame:function(){this._frame=0},getFrame:function(){return this._frame},getSourceFrameBuffer:function(){return this._sourceFb},getOutputTexture:function(){return this._outputTex},resize:function(t,e){this._prevFrameTex.width=t,this._prevFrameTex.height=e,this._outputTex.width=t,this._outputTex.height=e,this._sourceTex.width=t,this._sourceTex.height=e,this._prevFrameTex.dirty(),this._outputTex.dirty(),this._sourceTex.dirty()},isFinished:function(){return this._frame>=this._haltonSequence.length},render:function(t,e,n){var i=this._blendPass;0===this._frame?(i.setUniform("weight1",0),i.setUniform("weight2",1)):(i.setUniform("weight1",.9),i.setUniform("weight2",.1)),i.setUniform("texture1",this._prevFrameTex),i.setUniform("texture2",e||this._sourceTex),this._blendFb.attach(this._outputTex),this._blendFb.bind(t),i.render(t),this._blendFb.unbind(t),n||(this._outputPass.setUniform("texture",this._outputTex),this._outputPass.render(t));var r=this._prevFrameTex;this._prevFrameTex=this._outputTex,this._outputTex=r,this._frame++},dispose:function(t){this._sourceFb.dispose(t),this._blendFb.dispose(t),this._prevFrameTex.dispose(t),this._outputTex.dispose(t),this._sourceTex.dispose(t),this._outputPass.dispose(t),this._blendPass.dispose(t)}},Dq.prototype.setProjection=function(t){var e=this.camera;e&&e.update(),"perspective"===t?this.camera instanceof wY||(this.camera=new wY,e&&this.camera.setLocalTransform(e.localTransform)):this.camera instanceof eZ||(this.camera=new eZ,e&&this.camera.setLocalTransform(e.localTransform)),this.camera.near=.1,this.camera.far=2e3},Dq.prototype.setViewport=function(t,e,n,i,r){this.camera instanceof wY&&(this.camera.aspect=n/i),r=r||1,this.viewport.x=t,this.viewport.y=e,this.viewport.width=n,this.viewport.height=i,this.viewport.devicePixelRatio=r,this._compositor.resize(n*r,i*r),this._temporalSS.resize(n*r,i*r)},Dq.prototype.containPoint=function(t,e){var n=this.viewport;return e=this.layer.renderer.getHeight()-e,t>=n.x&&e>=n.y&&t<=n.x+n.width&&e<=n.y+n.height};var Eq=new GW;function Lq(t,e){var n=Gp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});n.y=e.getHeight()-n.y-n.height,this.viewGL.setViewport(n.x,n.y,n.width,n.height,e.getDevicePixelRatio());var i=t.get("boxWidth"),r=t.get("boxHeight"),o=t.get("boxDepth");this.getAxis("x").setExtent(-i/2,i/2),this.getAxis("y").setExtent(o/2,-o/2),this.getAxis("z").setExtent(-r/2,r/2),this.size=[i,r,o]}function Pq(t,e){var n={};t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData();["x","y","z"].forEach((function(t){e.mapDimensionsAll(t,!0).forEach((function(i){!function(t,e){n[t]=n[t]||[1/0,-1/0],n[t][0]=Math.min(e[0],n[t][0]),n[t][1]=Math.max(e[1],n[t][1])}(t,e.getDataExtent(i,!0))}))}))}}),this),["xAxis3D","yAxis3D","zAxis3D"].forEach((function(e){t.eachComponent(e,(function(t){var i=e.charAt(0),r=t.getReferringComponents("grid3D").models[0],o=r.coordinateSystem;if(o===this){var a=o.getAxis(i);if(!a){(a=new CQ(i,Gb(n[i]||[1/0,-1/0],t))).type=t.get("type");var s="category"===a.type;a.onBand=s&&t.get("boundaryGap"),a.inverse=t.get("inverse"),t.axis=a,a.model=t,a.getLabelModel=function(){return t.getModel("axisLabel",r.getModel("axisLabel"))},a.getTickModel=function(){return t.getModel("axisTick",r.getModel("axisTick"))},o.addAxis(a)}}}),this)}),this),this.resize(this.model,e)}Dq.prototype.castRay=function(t,e,n){var i=this.layer.renderer,r=i.viewport;return i.viewport=this.viewport,i.screenToNDC(t,e,Eq),this.camera.castRay(Eq,n),i.viewport=r,n},Dq.prototype.prepareRender=function(){this.scene.update(),this.camera.update(),this.scene.updateLights();var t=this.scene.updateRenderList(this.camera);this._needsSortProgressively=!1;for(var e=0;e<t.transparent.length;e++){var n=t.transparent[e].geometry;n.needsSortVerticesProgressively&&n.needsSortVerticesProgressively()&&(this._needsSortProgressively=!0),n.needsSortTrianglesProgressively&&n.needsSortTrianglesProgressively()&&(this._needsSortProgressively=!0)}this._frame=0,this._temporalSS.resetFrame()},Dq.prototype.render=function(t,e){this._doRender(t,e,this._frame),this._frame++},Dq.prototype.needsAccumulate=function(){return this.needsTemporalSS()||this._needsSortProgressively},Dq.prototype.needsTemporalSS=function(){var t=this._enableTemporalSS;return"auto"===t&&(t=this._enablePostEffect),t},Dq.prototype.hasDOF=function(){return this._enableDOF},Dq.prototype.isAccumulateFinished=function(){return this.needsTemporalSS()?this._temporalSS.isFinished():this._frame>30},Dq.prototype._doRender=function(t,e,n){var i=this.scene,r=this.camera;n=n||0,this._updateTransparent(t,i,r,n),e||(this._shadowMapPass.kernelPCF=this._pcfKernels[0],this._shadowMapPass.render(t,i,r,!0)),this._updateShadowPCFKernel(n);var o,a=t.clearColor;(t.gl.clearColor(a[0],a[1],a[2],a[3]),this._enablePostEffect&&(this.needsTemporalSS()&&this._temporalSS.jitterProjection(t,r),this._compositor.updateNormal(t,i,r,this._temporalSS.getFrame())),this._updateSSAO(t,i,r,this._temporalSS.getFrame()),this._enablePostEffect)?((o=this._compositor.getSourceFrameBuffer()).bind(t),t.gl.clear(t.gl.DEPTH_BUFFER_BIT|t.gl.COLOR_BUFFER_BIT),t.render(i,r,!0,!0),o.unbind(t),this.needsTemporalSS()&&e?(this._compositor.composite(t,i,r,this._temporalSS.getSourceFrameBuffer(),this._temporalSS.getFrame()),t.setViewport(this.viewport),this._temporalSS.render(t)):(t.setViewport(this.viewport),this._compositor.composite(t,i,r,null,0))):this.needsTemporalSS()&&e?((o=this._temporalSS.getSourceFrameBuffer()).bind(t),t.saveClear(),t.clearBit=t.gl.DEPTH_BUFFER_BIT|t.gl.COLOR_BUFFER_BIT,t.render(i,r,!0,!0),t.restoreClear(),o.unbind(t),t.setViewport(this.viewport),this._temporalSS.render(t)):(t.setViewport(this.viewport),t.render(i,r,!0,!0))},Dq.prototype._updateTransparent=function(t,e,n,i){for(var r=new LX,o=new nj,a=n.getWorldPosition(),s=e.getRenderList(n).transparent,l=0;l<s.length;l++){var u=s[l],c=u.geometry;nj.invert(o,u.worldTransform),LX.transformMat4(r,a,o),c.needsSortTriangles&&c.needsSortTriangles()&&c.doSortTriangles(r,i),c.needsSortVertices&&c.needsSortVertices()&&c.doSortVertices(r,i)}},Dq.prototype._updateSSAO=function(t,e,n){var i=this._enableSSAO&&this._enablePostEffect;i&&this._compositor.updateSSAO(t,e,n,this._temporalSS.getFrame());for(var r=e.getRenderList(n),o=0;o<r.opaque.length;o++){var a=r.opaque[o];a.renderNormal&&a.material[i?"enableTexture":"disableTexture"]("ssaoMap"),i&&a.material.set("ssaoMap",this._compositor.getSSAOTexture())}},Dq.prototype._updateShadowPCFKernel=function(t){for(var e=this._pcfKernels[t%this._pcfKernels.length],n=this.scene.getRenderList(this.camera).opaque,i=0;i<n.length;i++)n[i].receiveShadow&&(n[i].material.set("pcfKernel",e),n[i].material.define("fragment","PCF_KERNEL_SIZE",e.length/2))},Dq.prototype.dispose=function(t){this._compositor.dispose(t.gl),this._temporalSS.dispose(t.gl),this._shadowMapPass.dispose(t)},Dq.prototype.setPostEffect=function(t,e){var n=this._compositor;this._enablePostEffect=t.get("enable");var i=t.getModel("bloom"),r=t.getModel("edge"),o=t.getModel("DOF",t.getModel("depthOfField")),a=t.getModel("SSAO",t.getModel("screenSpaceAmbientOcclusion")),s=t.getModel("SSR",t.getModel("screenSpaceReflection")),l=t.getModel("FXAA"),u=t.getModel("colorCorrection");i.get("enable")?n.enableBloom():n.disableBloom(),o.get("enable")?n.enableDOF():n.disableDOF(),s.get("enable")?n.enableSSR():n.disableSSR(),u.get("enable")?n.enableColorCorrection():n.disableColorCorrection(),r.get("enable")?n.enableEdge():n.disableEdge(),l.get("enable")?n.enableFXAA():n.disableFXAA(),this._enableDOF=o.get("enable"),this._enableSSAO=a.get("enable"),this._enableSSAO?n.enableSSAO():n.disableSSAO(),n.setBloomIntensity(i.get("intensity")),n.setEdgeColor(r.get("color")),n.setColorLookupTexture(u.get("lookupTexture"),e),n.setExposure(u.get("exposure")),["radius","quality","intensity"].forEach((function(t){n.setSSAOParameter(t,a.get(t))})),["quality","maxRoughness","physical"].forEach((function(t){n.setSSRParameter(t,s.get(t))})),["quality","focalDistance","focalRange","blurRadius","fstop"].forEach((function(t){n.setDOFParameter(t,o.get(t))})),["brightness","contrast","saturation"].forEach((function(t){n.setColorCorrection(t,u.get(t))}))},Dq.prototype.setDOFFocusOnPoint=function(t){if(this._enablePostEffect){if(t>this.camera.far||t<this.camera.near)return;return this._compositor.setDOFParameter("focalDistance",t),!0}},Dq.prototype.setTemporalSuperSampling=function(t){this._enableTemporalSS=t.get("enable")},Dq.prototype.isLinearSpace=function(){return this._enablePostEffect},Dq.prototype.setRootNode=function(t){if(this.rootNode!==t){for(var e=this.rootNode.children(),n=0;n<e.length;n++)t.add(e[n]);t!==this.scene&&this.scene.add(t),this.rootNode=t}},Dq.prototype.add=function(t){this.rootNode.add(t)},Dq.prototype.remove=function(t){this.rootNode.remove(t)},Dq.prototype.removeAll=function(t){this.rootNode.removeAll(t)},Object.assign(Dq.prototype,iW);var Rq={dimensions:IQ.prototype.dimensions,create:function(t,e){var n=[];t.eachComponent("grid3D",(function(t){t.__viewGL=t.__viewGL||new Dq;var e=new IQ;e.model=t,e.viewGL=t.__viewGL,t.coordinateSystem=e,n.push(e),e.resize=Lq,e.update=Pq}));var i=["xAxis3D","yAxis3D","zAxis3D"];return t.eachSeries((function(e){if("cartesian3D"===e.get("coordinateSystem")){if(null==(r=e.getReferringComponents("grid3D").models[0])){var n=function(t,e){return i.map((function(n){var i=t.getReferringComponents(n).models[0];return null==i&&(i=e.getComponent(n)),i}))}(e,t),r=n[0].getCoordSysModel();n.forEach((function(t){t.getCoordSysModel()}))}var o=r.coordinateSystem;e.coordinateSystem=o}})),n}},Nq=Zp.extend({type:"cartesian3DAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid3D",index:this.option.gridIndex,id:this.option.gridId})[0]}});!function(t){ne(t,Fb)}(Nq);var kq={show:!0,grid3DIndex:0,inverse:!1,name:"",nameLocation:"middle",nameTextStyle:{fontSize:16},nameGap:20,axisPointer:{},axisLine:{},axisTick:{},axisLabel:{},splitArea:{}},Oq=qt({boundaryGap:!0,axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"},axisPointer:{label:{show:!1}}},kq),Bq=qt({boundaryGap:[0,0],splitNumber:5,axisPointer:{label:{}}},kq),zq=$t({scale:!0,min:"dataMin",max:"dataMax"},Bq),Fq=$t({logBase:10},Bq);Fq.scale=!0;var Vq={categoryAxis3D:Oq,valueAxis3D:Bq,timeAxis3D:zq,logAxis3D:Fq},Gq=["value","category","time","log"];function Uq(t,e){return e.type||(e.data?"category":"value")}Z_((function(t){t.registerComponentModel(KZ),t.registerComponentView(MQ),t.registerCoordinateSystem("grid3D",Rq),["x","y","z"].forEach((function(e){!function(t,e,n,i,r){Gq.forEach((function(o){var a=n.extend({type:e+"Axis3D."+o,__ordinalMeta:null,mergeDefaultAndTheme:function(t,n){qt(t,n.getTheme().get(o+"Axis3D")),qt(t,this.getDefaultOption()),t.type=i(e,t)},optionUpdated:function(){"category"===this.option.type&&(this.__ordinalMeta=kx.createByAxisModel(this))},getCategories:function(){if("category"===this.option.type)return this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:qt(Qt(Vq[o+"Axis3D"]),r||{},!0)});t.registerComponentModel(a)})),t.registerSubTypeDefaulter(e+"Axis3D",ce(i,e))}(t,e,Nq,Uq,{name:e.toUpperCase()});var n=t.ComponentView.extend({type:e+"Axis3D"});t.registerComponentView(n)})),t.registerAction({type:"grid3DChangeCamera",event:"grid3dcamerachanged",update:"series:updateCamera"},(function(t,e){e.eachComponent({mainType:"grid3D",query:t},(function(e){e.setView(t)}))})),t.registerAction({type:"grid3DShowAxisPointer",event:"grid3dshowaxispointer",update:"grid3D:showAxisPointer"},(function(t,e){})),t.registerAction({type:"grid3DHideAxisPointer",event:"grid3dhideaxispointer",update:"grid3D:hideAxisPointer"},(function(t,e){}))}));var Hq={defaultOption:{shading:null,realisticMaterial:{textureTiling:1,textureOffset:0,detailTexture:null},lambertMaterial:{textureTiling:1,textureOffset:0,detailTexture:null},colorMaterial:{textureTiling:1,textureOffset:0,detailTexture:null},hatchingMaterial:{textureTiling:1,textureOffset:0,paperColor:"#fff"}}},Wq={getFilledRegions:function(t,e){var n,i=(t||[]).slice();if("string"==typeof e?n=(e=W_(e))&&e.geoJson:e&&e.features&&(n=e),!n)return[];for(var r={},o=n.features,a=0;a<i.length;a++)r[i[a].name]=i[a];for(a=0;a<o.length;a++){var s=o[a].properties.name;r[s]||i.push({name:s})}return i},defaultOption:{show:!0,zlevel:-10,map:"",left:0,top:0,width:"100%",height:"100%",boxWidth:100,boxHeight:10,boxDepth:"auto",regionHeight:3,environment:"auto",groundPlane:{show:!1,color:"#aaa"},shading:"lambert",light:{main:{alpha:40,beta:30}},viewControl:{alpha:40,beta:0,distance:100,orthographicSize:60,minAlpha:5,minBeta:-80,maxBeta:80},label:{show:!1,distance:2,textStyle:{fontSize:20,color:"#000",backgroundColor:"rgba(255,255,255,0.7)",padding:3,borderRadius:4}},itemStyle:{color:"#fff",borderWidth:0,borderColor:"#333"},emphasis:{itemStyle:{color:"#639fc0"},label:{show:!0}}}},Xq=Zp.extend({type:"geo3D",layoutMode:"box",coordinateSystem:null,optionUpdated:function(){var t=this.option;t.regions=this.getFilledRegions(t.regions,t.map);var e=Sx(t.data||[],{coordDimensions:["value"],encodeDefine:this.get("encode"),dimensionsDefine:this.get("dimensions")}),n=new bx(e,this);n.initData(t.regions);var i={};n.each((function(t){var e=n.getName(t),r=n.getItemModel(t);i[e]=r})),this._regionModelMap=i,this._data=n},getData:function(){return this._data},getRegionModel:function(t){var e=this.getData().getName(t);return this._regionModelMap[e]||new zd(null,this)},getRegionPolygonCoords:function(t){var e=this.getData().getName(t),n=this.coordinateSystem.getRegion(e);return n?n.geometries:[]},getFormattedLabel:function(t,e){var n=this._data.getName(t),i=this.getRegionModel(t),r=i.get("normal"===e?["label","formatter"]:["emphasis","label","formatter"]);null==r&&(r=i.get(["label","formatter"]));var o={name:n};if("function"==typeof r)return o.status=e,r(o);if("string"==typeof r){var a=o.seriesName;return r.replace("{a}",null!=a?a:"")}return n},defaultOption:{regions:[]}});function jq(t,e,n){n=n||2;var i,r,o,a,s,l,u,c=e&&e.length,h=c?e[0]*n:t.length,d=Yq(t,0,h,n,!0),p=[];if(!d)return p;if(c&&(d=function(t,e,n,i){var r,o,a,s=[];for(r=0,o=e.length;r<o;r++)(a=Yq(t,e[r]*i,r<o-1?e[r+1]*i:t.length,i,!1))===a.next&&(a.steiner=!0),s.push(iJ(a));for(s.sort(tJ),r=0;r<s.length;r++)eJ(s[r],n),n=Zq(n,n.next);return n}(t,e,d,n)),t.length>80*n){i=o=t[0],r=a=t[1];for(var f=n;f<h;f+=n)(s=t[f])<i&&(i=s),(l=t[f+1])<r&&(r=l),s>o&&(o=s),l>a&&(a=l);u=Math.max(o-i,a-r)}return Qq(d,p,n,i,r,u),p}function Yq(t,e,n,i,r){var o,a;if(r===fJ(t,e,n,i)>0)for(o=e;o<n;o+=i)a=hJ(o,t[o],t[o+1],a);else for(o=n-i;o>=e;o-=i)a=hJ(o,t[o],t[o+1],a);return a&&sJ(a,a.next)&&(dJ(a),a=a.next),a}function Zq(t,e){if(!t)return t;e||(e=t);var n,i=t;do{if(n=!1,i.steiner||!sJ(i,i.next)&&0!==aJ(i.prev,i,i.next))i=i.next;else{if(dJ(i),(i=e=i.prev)===i.next)return null;n=!0}}while(n||i!==e);return e}function Qq(t,e,n,i,r,o,a){if(t){!a&&o&&function(t,e,n,i){var r=t;do{null===r.z&&(r.z=nJ(r.x,r.y,e,n,i)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next}while(r!==t);r.prevZ.nextZ=null,r.prevZ=null,function(t){var e,n,i,r,o,a,s,l,u=1;do{for(n=t,t=null,o=null,a=0;n;){for(a++,i=n,s=0,e=0;e<u&&(s++,i=i.nextZ);e++);for(l=u;s>0||l>0&&i;)0!==s&&(0===l||!i||n.z<=i.z)?(r=n,n=n.nextZ,s--):(r=i,i=i.nextZ,l--),o?o.nextZ=r:t=r,r.prevZ=o,o=r;n=i}o.nextZ=null,u*=2}while(a>1)}(r)}(t,i,r,o);for(var s,l,u=t;t.prev!==t.next;)if(s=t.prev,l=t.next,o?Jq(t,i,r,o):qq(t))e.push(s.i/n),e.push(t.i/n),e.push(l.i/n),dJ(t),t=l.next,u=l.next;else if((t=l)===u){a?1===a?Qq(t=Kq(t,e,n),e,n,i,r,o,2):2===a&&$q(t,e,n,i,r,o):Qq(Zq(t),e,n,i,r,o,1);break}}}function qq(t){var e=t.prev,n=t,i=t.next;if(aJ(e,n,i)>=0)return!1;for(var r=t.next.next;r!==t.prev;){if(rJ(e.x,e.y,n.x,n.y,i.x,i.y,r.x,r.y)&&aJ(r.prev,r,r.next)>=0)return!1;r=r.next}return!0}function Jq(t,e,n,i){var r=t.prev,o=t,a=t.next;if(aJ(r,o,a)>=0)return!1;for(var s=r.x<o.x?r.x<a.x?r.x:a.x:o.x<a.x?o.x:a.x,l=r.y<o.y?r.y<a.y?r.y:a.y:o.y<a.y?o.y:a.y,u=r.x>o.x?r.x>a.x?r.x:a.x:o.x>a.x?o.x:a.x,c=r.y>o.y?r.y>a.y?r.y:a.y:o.y>a.y?o.y:a.y,h=nJ(s,l,e,n,i),d=nJ(u,c,e,n,i),p=t.nextZ;p&&p.z<=d;){if(p!==t.prev&&p!==t.next&&rJ(r.x,r.y,o.x,o.y,a.x,a.y,p.x,p.y)&&aJ(p.prev,p,p.next)>=0)return!1;p=p.nextZ}for(p=t.prevZ;p&&p.z>=h;){if(p!==t.prev&&p!==t.next&&rJ(r.x,r.y,o.x,o.y,a.x,a.y,p.x,p.y)&&aJ(p.prev,p,p.next)>=0)return!1;p=p.prevZ}return!0}function Kq(t,e,n){var i=t;do{var r=i.prev,o=i.next.next;!sJ(r,o)&&lJ(r,i,i.next,o)&&uJ(r,o)&&uJ(o,r)&&(e.push(r.i/n),e.push(i.i/n),e.push(o.i/n),dJ(i),dJ(i.next),i=t=o),i=i.next}while(i!==t);return i}function $q(t,e,n,i,r,o){var a=t;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&oJ(a,s)){var l=cJ(a,s);return a=Zq(a,a.next),l=Zq(l,l.next),Qq(a,e,n,i,r,o),void Qq(l,e,n,i,r,o)}s=s.next}a=a.next}while(a!==t)}function tJ(t,e){return t.x-e.x}function eJ(t,e){if(e=function(t,e){var n,i=e,r=t.x,o=t.y,a=-1/0;do{if(o<=i.y&&o>=i.next.y&&i.next.y!==i.y){var s=i.x+(o-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(s<=r&&s>a){if(a=s,s===r){if(o===i.y)return i;if(o===i.next.y)return i.next}n=i.x<i.next.x?i:i.next}}i=i.next}while(i!==e);if(!n)return null;if(r===a)return n.prev;var l,u=n,c=n.x,h=n.y,d=1/0;i=n.next;for(;i!==u;)r>=i.x&&i.x>=c&&r!==i.x&&rJ(o<h?r:a,o,c,h,o<h?a:r,o,i.x,i.y)&&((l=Math.abs(o-i.y)/(r-i.x))<d||l===d&&i.x>n.x)&&uJ(i,t)&&(n=i,d=l),i=i.next;return n}(t,e),e){var n=cJ(e,t);Zq(n,n.next)}}function nJ(t,e,n,i,r){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-n)/r)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-i)/r)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function iJ(t){var e=t,n=t;do{e.x<n.x&&(n=e),e=e.next}while(e!==t);return n}function rJ(t,e,n,i,r,o,a,s){return(r-a)*(e-s)-(t-a)*(o-s)>=0&&(t-a)*(i-s)-(n-a)*(e-s)>=0&&(n-a)*(o-s)-(r-a)*(i-s)>=0}function oJ(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&lJ(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}(t,e)&&uJ(t,e)&&uJ(e,t)&&function(t,e){var n=t,i=!1,r=(t.x+e.x)/2,o=(t.y+e.y)/2;do{n.y>o!=n.next.y>o&&n.next.y!==n.y&&r<(n.next.x-n.x)*(o-n.y)/(n.next.y-n.y)+n.x&&(i=!i),n=n.next}while(n!==t);return i}(t,e)}function aJ(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function sJ(t,e){return t.x===e.x&&t.y===e.y}function lJ(t,e,n,i){return!!(sJ(t,e)&&sJ(n,i)||sJ(t,i)&&sJ(n,e))||aJ(t,e,n)>0!=aJ(t,e,i)>0&&aJ(n,i,t)>0!=aJ(n,i,e)>0}function uJ(t,e){return aJ(t.prev,t,t.next)<0?aJ(t,e,t.next)>=0&&aJ(t,t.prev,e)>=0:aJ(t,e,t.prev)<0||aJ(t,t.next,e)<0}function cJ(t,e){var n=new pJ(t.i,t.x,t.y),i=new pJ(e.i,e.x,e.y),r=t.next,o=e.prev;return t.next=e,e.prev=t,n.next=r,r.prev=n,i.next=n,n.prev=i,o.next=i,i.prev=o,i}function hJ(t,e,n,i){var r=new pJ(t,e,n);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function dJ(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function pJ(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function fJ(t,e,n,i){for(var r=0,o=e,a=n-i;o<n;o+=i)r+=(t[a]-t[o])*(t[o+1]+t[a+1]),a=o;return r}function gJ(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function mJ(t,e,n,i,r){var o=n,a=t[e];gJ(t,e,i);for(var s=n;s<i;s++)r(t[s],a)<0&&(gJ(t,s,o),o++);return gJ(t,i,o),o}function vJ(t,e,n,i){if(n<i){var r=mJ(t,Math.floor((n+i)/2),n,i,e);vJ(t,e,n,r-1),vJ(t,e,r+1,i)}}function yJ(){this._parts=[]}qt(Xq.prototype,Wq),qt(Xq.prototype,QZ),qt(Xq.prototype,qZ),qt(Xq.prototype,JZ),qt(Xq.prototype,Hq),jq.deviation=function(t,e,n,i){var r=e&&e.length,o=r?e[0]*n:t.length,a=Math.abs(fJ(t,0,o,n));if(r)for(var s=0,l=e.length;s<l;s++){var u=e[s]*n,c=s<l-1?e[s+1]*n:t.length;a-=Math.abs(fJ(t,u,c,n))}var h=0;for(s=0;s<i.length;s+=3){var d=i[s]*n,p=i[s+1]*n,f=i[s+2]*n;h+=Math.abs((t[d]-t[f])*(t[p+1]-t[d+1])-(t[d]-t[p])*(t[f+1]-t[d+1]))}return 0===a&&0===h?0:Math.abs((h-a)/a)},yJ.prototype.step=function(t,e,n){var i=t.length;if(0===n){this._parts=[],this._sorted=!1;var r=Math.floor(i/2);this._parts.push({pivot:r,left:0,right:i-1}),this._currentSortPartIdx=0}if(!this._sorted){var o=this._parts;if(0===o.length)return this._sorted=!0,!0;if(o.length<512){for(var a=0;a<o.length;a++)o[a].pivot=mJ(t,o[a].pivot,o[a].left,o[a].right,e);var s=[];for(a=0;a<o.length;a++){var l=o[a].left;(u=o[a].pivot-1)>l&&s.push({pivot:Math.floor((u+l)/2),left:l,right:u});var u;l=o[a].pivot+1;(u=o[a].right)>l&&s.push({pivot:Math.floor((u+l)/2),left:l,right:u})}o=this._parts=s}else for(a=0;a<Math.floor(o.length/10);a++){var c=o.length-1-this._currentSortPartIdx;if(vJ(t,e,o[c].left,o[c].right),this._currentSortPartIdx++,this._currentSortPartIdx===o.length)return this._sorted=!0,!0}return!1}},yJ.sort=vJ;var _J=rQ.vec3,xJ=_J.create(),bJ=_J.create(),wJ=_J.create(),SJ={needsSortTriangles:function(){return this.indices&&this.sortTriangles},needsSortTrianglesProgressively:function(){return this.needsSortTriangles()&&this.triangleCount>=2e4},doSortTriangles:function(t,e){var n=this.indices;if(0===e){var i=this.attributes.position;t=t.array;this._triangleZList&&this._triangleZList.length===this.triangleCount||(this._triangleZList=new Float32Array(this.triangleCount),this._sortedTriangleIndices=new Uint32Array(this.triangleCount),this._indicesTmp=new n.constructor(n.length),this._triangleZListTmp=new Float32Array(this.triangleCount));for(var r,o=0,a=0;a<n.length;){i.get(n[a++],xJ),i.get(n[a++],bJ),i.get(n[a++],wJ);var s=_J.sqrDist(xJ,t),l=_J.sqrDist(bJ,t),u=_J.sqrDist(wJ,t),c=Math.min(s,l);c=Math.min(c,u),3===a?(r=c,c=0):c-=r,this._triangleZList[o++]=c}}var h=this._sortedTriangleIndices;for(a=0;a<h.length;a++)h[a]=a;if(this.triangleCount<2e4)0===e&&this._simpleSort(!0);else for(a=0;a<3;a++)this._progressiveQuickSort(3*e+a);var d=this._indicesTmp,p=this._triangleZListTmp,f=this._triangleZList;for(a=0;a<this.triangleCount;a++){var g=3*h[a],m=3*a;d[m++]=n[g++],d[m++]=n[g++],d[m]=n[g],p[a]=f[h[a]]}var v=this._indicesTmp;this._indicesTmp=this.indices,this.indices=v;v=this._triangleZListTmp;this._triangleZListTmp=this._triangleZList,this._triangleZList=v,this.dirtyIndices()},_simpleSort:function(t){var e=this._triangleZList,n=this._sortedTriangleIndices;function i(t,n){return e[n]-e[t]}t?Array.prototype.sort.call(n,i):yJ.sort(n,i,0,n.length-1)},_progressiveQuickSort:function(t){var e=this._triangleZList,n=this._sortedTriangleIndices;this._quickSort=this._quickSort||new yJ,this._quickSort.step(n,(function(t,n){return e[n]-e[t]}),t)}};function AJ(t,e){var n=t.getItemVisual(e,"style");if(n)return n[t.getVisual("drawType")]}function TJ(t,e){var n=t.getItemVisual(e,"style");return n&&n.opacity}function MJ(t,e,n){this._labelsMesh=new yQ,this._labelTextureSurface=new uQ({width:512,height:512,devicePixelRatio:n.getDevicePixelRatio(),onupdate:function(){n.getZr().refresh()}}),this._api=n,this._labelsMesh.material.set("textureAtlas",this._labelTextureSurface.getTexture())}MJ.prototype.getLabelPosition=function(t,e,n){return[0,0,0]},MJ.prototype.getLabelDistance=function(t,e,n){return 0},MJ.prototype.getMesh=function(){return this._labelsMesh},MJ.prototype.updateData=function(t,e,n){null==e&&(e=0),null==n&&(n=t.count()),this._labelsVisibilitiesBits&&this._labelsVisibilitiesBits.length===n-e||(this._labelsVisibilitiesBits=new Uint8Array(n-e));for(var i=["label","show"],r=["emphasis","label","show"],o=e;o<n;o++){var a=t.getItemModel(o),s=a.get(i),l=a.get(r);null==l&&(l=s);var u=(s?1:0)|(l?2:0);this._labelsVisibilitiesBits[o-e]=u}this._start=e,this._end=n,this._data=t},MJ.prototype.updateLabels=function(t){if(this._data){for(var e=(t=t||[]).length>0,n={},i=0;i<t.length;i++)n[t[i]]=!0;this._labelsMesh.geometry.convertToDynamicArray(!0),this._labelTextureSurface.clear();for(var r=["label"],o=["emphasis","label"],a=this._data.hostModel,s=this._data,l=a.getModel(r),u=a.getModel(o,l),c={left:"right",right:"left",top:"center",bottom:"center"},h={left:"middle",right:"middle",top:"bottom",bottom:"top"},d=this._start;d<this._end;d++){var p=!1;if(e&&n[d]&&(p=!0),this._labelsVisibilitiesBits[d-this._start]&(p?2:1)){var f=s.getItemModel(d).getModel(p?o:r,p?u:l),g=f.get("distance")||0,m=f.get("position"),v=this._api.getDevicePixelRatio(),y=a.getFormattedLabel(d,p?"emphasis":"normal");if(null==y||""===y)return;var _=new Jl({style:md(f,{text:y,fill:f.get("color")||AJ(s,d)||"#000",align:"left",verticalAlign:"top",opacity:fZ(f.get("opacity"),TJ(s,d),1)})}),x=_.getBoundingRect();x.height*=1.2;var b=this._labelTextureSurface.add(_),w=c[m]||"center",S=h[m]||"bottom";this._labelsMesh.geometry.addSprite(this.getLabelPosition(d,m,g),[x.width*v,x.height*v],b,w,S,this.getLabelDistance(d,m,g)*v)}}this._labelsMesh.material.set("uvScale",this._labelTextureSurface.getCoordsScale()),this._labelTextureSurface.getZr().refreshImmediately(),this._labelsMesh.geometry.convertToTypedArray(),this._labelsMesh.geometry.dirty()}},MJ.prototype.dispose=function(){this._labelTextureSurface.dispose()};var IJ=rQ.vec3;function CJ(t){this.rootNode=new NZ.Node,this._triangulationResults={},this._shadersMap=NZ.COMMON_SHADERS.filter((function(t){return"shadow"!==t})).reduce((function(t,e){return t[e]=NZ.createShader("ecgl."+e),t}),{}),this._linesShader=NZ.createShader("ecgl.meshLines3D");var e={};NZ.COMMON_SHADERS.forEach((function(t){e[t]=new NZ.Material({shader:NZ.createShader("ecgl."+t)})})),this._groundMaterials=e,this._groundMesh=new NZ.Mesh({geometry:new NZ.PlaneGeometry({dynamic:!0}),castShadow:!1,renderNormal:!0,$ignorePicking:!0}),this._groundMesh.rotation.rotateX(-Math.PI/2),this._labelsBuilder=new MJ(512,512,t),this._labelsBuilder.getMesh().renderOrder=100,this._labelsBuilder.getMesh().material.depthTest=!1,this.rootNode.add(this._labelsBuilder.getMesh()),this._initMeshes(),this._api=t}NZ.Shader.import(SQ),CJ.prototype={constructor:CJ,extrudeY:!0,update:function(t,e,n,i,r){var o=t.getData();null==i&&(i=0),null==r&&(r=o.count()),this._startIndex=i,this._endIndex=r-1,this._triangulation(t,i,r);var a=this._getShader(t.get("shading"));this._prepareMesh(t,a,n,i,r),this.rootNode.updateWorldTransform(),this._updateRegionMesh(t,n,i,r);var s=t.coordinateSystem;"geo3D"===s.type&&this._updateGroundPlane(t,s,n);var l=this;this._labelsBuilder.updateData(o,i,r),this._labelsBuilder.getLabelPosition=function(t,e,n){var i=o.getName(t),r=n;if("geo3D"===s.type){var a=s.getRegion(i);return a?(c=a.getCenter(),s.dataToPoint([c[0],c[1],r])):[NaN,NaN,NaN]}var u=l._triangulationResults[t-l._startIndex],c=l.extrudeY?[(u.max[0]+u.min[0])/2,u.max[1]+r,(u.max[2]+u.min[2])/2]:[(u.max[0]+u.min[0])/2,(u.max[1]+u.min[1])/2,u.max[2]+r]},this._data=o,this._labelsBuilder.updateLabels(),this._updateDebugWireframe(t),this._lastHoverDataIndex=0},_initMeshes:function(){var t=this;var e=function(){var e=new NZ.Mesh({name:"Polygon",material:new NZ.Material({shader:t._shadersMap.lambert}),geometry:new NZ.Geometry({sortTriangles:!0,dynamic:!0}),culling:!1,ignorePicking:!0,renderNormal:!0});return Object.assign(e.geometry,SJ),e}(),n=new NZ.Mesh({material:new NZ.Material({shader:this._linesShader}),castShadow:!1,ignorePicking:!0,$ignorePicking:!0,geometry:new sQ({useNativeLine:!1})});this.rootNode.add(e),this.rootNode.add(n),e.material.define("both","VERTEX_COLOR"),e.material.define("fragment","DOUBLE_SIDED"),this._polygonMesh=e,this._linesMesh=n,this.rootNode.add(this._groundMesh)},_getShader:function(t){var e=this._shadersMap[t];return e||(e=this._shadersMap.lambert),e.__shading=t,e},_prepareMesh:function(t,e,n,i,r){for(var o=0,a=0,s=0,l=0,u=i;u<r;u++){var c=this._getRegionPolygonInfo(u),h=this._getRegionLinesInfo(u,t,this._linesMesh.geometry);o+=c.vertexCount,a+=c.triangleCount,s+=h.vertexCount,l+=h.triangleCount}var d=this._polygonMesh,p=d.geometry;["position","normal","texcoord0","color"].forEach((function(t){p.attributes[t].init(o)})),p.indices=o>65535?new Uint32Array(3*a):new Uint16Array(3*a),d.material.shader!==e&&d.material.attachShader(e,!0),NZ.setMaterialFromModel(e.__shading,d.material,t,n),s>0&&(this._linesMesh.geometry.resetOffset(),this._linesMesh.geometry.setVertexCount(s),this._linesMesh.geometry.setTriangleCount(l)),this._dataIndexOfVertex=new Uint32Array(o),this._vertexRangeOfDataIndex=new Uint32Array(2*(r-i))},_updateRegionMesh:function(t,e,n,i){for(var r=t.getData(),o=0,a=0,s=!1,l=this._polygonMesh,u=this._linesMesh,c=n;c<i;c++){var h=t.getRegionModel(c),d=h.getModel("itemStyle"),p=fZ(AJ(r,c),d.get("color"),"#fff"),f=fZ(TJ(r,c),d.get("opacity"),1),g=NZ.parseColor(p),m=NZ.parseColor(d.get("borderColor"));g[3]*=f,m[3]*=f;var v=g[3]<.99;l.material.set("color",[1,1,1,1]),s=s||v;for(var y=fZ(h.get("height",!0),t.get("regionHeight")),_=this._updatePolygonGeometry(t,l.geometry,c,y,o,a,g),x=o;x<_.vertexOffset;x++)this._dataIndexOfVertex[x]=c;this._vertexRangeOfDataIndex[2*(c-n)]=o,this._vertexRangeOfDataIndex[2*(c-n)+1]=_.vertexOffset,o=_.vertexOffset,a=_.triangleOffset;var b=d.get("borderWidth"),w=b>0;w&&(b*=e.getDevicePixelRatio(),this._updateLinesGeometry(u.geometry,t,c,y,b,t.coordinateSystem.transform)),u.invisible=!w,u.material.set({color:m})}(l=this._polygonMesh).material.transparent=s,l.material.depthMask=!s,l.geometry.updateBoundingBox(),l.frontFace=this.extrudeY?NZ.Mesh.CCW:NZ.Mesh.CW,l.material.get("normalMap")&&l.geometry.generateTangents(),l.seriesIndex=t.seriesIndex,l.on("mousemove",this._onmousemove,this),l.on("mouseout",this._onmouseout,this)},_updateDebugWireframe:function(t){var e=t.getModel("debug.wireframe");if(e.get("show")){var n=NZ.parseColor(e.get("lineStyle.color")||"rgba(0,0,0,0.5)"),i=fZ(e.get("lineStyle.width"),1),r=this._polygonMesh;r.geometry.generateBarycentric(),r.material.define("both","WIREFRAME_TRIANGLE"),r.material.set("wireframeLineColor",n),r.material.set("wireframeLineWidth",i)}},_onmousemove:function(t){var e=this._dataIndexOfVertex[t.triangle[0]];null==e&&(e=-1),e!==this._lastHoverDataIndex&&(this.downplay(this._lastHoverDataIndex),this.highlight(e),this._labelsBuilder.updateLabels([e])),this._lastHoverDataIndex=e,this._polygonMesh.dataIndex=e},_onmouseout:function(t){t.target&&(this.downplay(this._lastHoverDataIndex),this._lastHoverDataIndex=-1,this._polygonMesh.dataIndex=-1),this._labelsBuilder.updateLabels([])},_updateGroundPlane:function(t,e,n){var i=t.getModel("groundPlane",t);if(this._groundMesh.invisible=!i.get("show",!0),!this._groundMesh.invisible){var r=t.get("shading"),o=this._groundMaterials[r];o||(o=this._groundMaterials.lambert),NZ.setMaterialFromModel(r,o,i,n),o.get("normalMap")&&this._groundMesh.geometry.generateTangents(),this._groundMesh.material=o,this._groundMesh.material.set("color",NZ.parseColor(i.get("color"))),this._groundMesh.scale.set(e.size[0],e.size[2],1)}},_triangulation:function(t,e,n){this._triangulationResults=[];for(var i=[1/0,1/0,1/0],r=[-1/0,-1/0,-1/0],o=t.coordinateSystem,a=e;a<n;a++){for(var s=[],l=t.getRegionPolygonCoords(a),u=0;u<l.length;u++){var c=l[u].exterior,h=l[u].interiors,d=[],p=[];if(!(c.length<3)){for(var f=0,g=0;g<c.length;g++){var m=c[g];d[f++]=m[0],d[f++]=m[1]}for(g=0;g<h.length;g++)if(!(h[g].length<3)){for(var v=d.length/2,y=0;y<h[g].length;y++){m=h[g][y];d.push(m[0]),d.push(m[1])}p.push(v)}var _=jq(d,p),x=new Float64Array(d.length/2*3),b=[],w=[1/0,1/0,1/0],S=[-1/0,-1/0,-1/0],A=0;for(g=0;g<d.length;)IJ.set(b,d[g++],0,d[g++]),o&&o.transform&&IJ.transformMat4(b,b,o.transform),IJ.min(w,w,b),IJ.max(S,S,b),x[A++]=b[0],x[A++]=b[1],x[A++]=b[2];IJ.min(i,i,w),IJ.max(r,r,S),s.push({points:x,indices:_,min:w,max:S})}}this._triangulationResults.push(s)}this._geoBoundingBox=[i,r]},_getRegionPolygonInfo:function(t){for(var e=this._triangulationResults[t-this._startIndex],n=0,i=0,r=0;r<e.length;r++)n+=e[r].points.length/3,i+=e[r].indices.length/3;return{vertexCount:2*n+4*n,triangleCount:2*i+2*n}},_updatePolygonGeometry:function(t,e,n,i,r,o,a){var s=t.get("projectUVOnGround"),l=e.attributes.position,u=e.attributes.normal,c=e.attributes.texcoord0,h=e.attributes.color,d=this._triangulationResults[n-this._startIndex],p=h.value&&a,f=e.indices,g=this.extrudeY?1:2,m=this.extrudeY?2:1,v=[this.rootNode.worldTransform.x.len(),this.rootNode.worldTransform.y.len(),this.rootNode.worldTransform.z.len()],y=IJ.mul([],this._geoBoundingBox[0],v),_=IJ.mul([],this._geoBoundingBox[1],v),x=Math.max(_[0]-y[0],_[2]-y[2]);function b(t,e,n){var i=r;!function(t,e){for(var n=t.points,i=n.length,o=[],s=[],u=0;u<i;u+=3)o[0]=n[u],o[g]=e,o[m]=n[u+2],s[0]=(n[u]*v[0]-y[0])/x,s[1]=(n[u+2]*v[m]-y[2])/x,l.set(r,o),p&&h.set(r,a),c.set(r++,s)}(t,e);for(var s=t.indices.length,u=0;u<s;u++)f[3*o+u]=t.indices[u]+i;o+=t.indices.length/3}for(var w=this.extrudeY?[0,1,0]:[0,0,1],S=IJ.negate([],w),A=0;A<d.length;A++){var T=r,M=d[A];b(M,0),b(M,i);for(var I=M.points.length/3,C=0;C<I;C++)u.set(T+C,S),u.set(T+C+I,w);var D=[0,3,1,1,3,2],E=[[],[],[],[]],L=[],P=[],R=[],N=[],k=0;for(C=0;C<I;C++){for(var O=(C+1)%I,B=(M.points[3*O]-M.points[3*C])*v[0],z=(M.points[3*O+2]-M.points[3*C+2])*v[m],F=Math.sqrt(B*B+z*z),V=0;V<4;V++){var G=0===V||3===V,U=3*(G?C:O);E[V][0]=M.points[U],E[V][g]=V>1?i:0,E[V][m]=M.points[U+2],l.set(r+V,E[V]),s?(N[0]=(M.points[U]*v[0]-y[0])/x,N[1]=(M.points[U+2]*v[m]-y[m])/x):(N[0]=(G?k:k+F)/x,N[1]=(E[V][g]*v[g]-y[g])/x),c.set(r+V,N)}IJ.sub(L,E[1],E[0]),IJ.sub(P,E[3],E[0]),IJ.cross(R,L,P),IJ.normalize(R,R);for(V=0;V<4;V++)u.set(r+V,R),p&&h.set(r+V,a);for(V=0;V<6;V++)f[3*o+V]=D[V]+r;r+=4,o+=2,k+=F}}return e.dirty(),{vertexOffset:r,triangleOffset:o}},_getRegionLinesInfo:function(t,e,n){var i=0,r=0;e.getRegionModel(t).getModel("itemStyle").get("borderWidth")>0&&e.getRegionPolygonCoords(t).forEach((function(t){var e=t.exterior,o=t.interiors;i+=n.getPolylineVertexCount(e),r+=n.getPolylineTriangleCount(e);for(var a=0;a<o.length;a++)i+=n.getPolylineVertexCount(o[a]),r+=n.getPolylineTriangleCount(o[a])}),this);return{vertexCount:i,triangleCount:r}},_updateLinesGeometry:function(t,e,n,i,r,o){function a(t){for(var e=new Float64Array(3*t.length),n=0,r=[],a=0;a<t.length;a++)r[0]=t[a][0],r[1]=i+.1,r[2]=t[a][1],o&&IJ.transformMat4(r,r,o),e[n++]=r[0],e[n++]=r[1],e[n++]=r[2];return e}var s=[1,1,1,1];e.getRegionPolygonCoords(n).forEach((function(e){var n=e.exterior,i=e.interiors;t.addPolyline(a(n),s,r);for(var o=0;o<i.length;o++)t.addPolyline(a(i[o]),s,r)}))},highlight:function(t){var e=this._data;if(e){var n=e.getItemModel(t).getModel(["emphasis","itemStyle"]),i=n.get("color"),r=fZ(n.get("opacity"),TJ(e,t),1);if(null==i)i=hr(AJ(e,t),-.4);null==r&&(r=TJ(e,t));var o=NZ.parseColor(i);o[3]*=r,this._setColorOfDataIndex(e,t,o)}},downplay:function(t){var e=this._data;if(e){var n=e.getItemModel(t),i=fZ(AJ(e,t),n.get(["itemStyle","color"]),"#fff"),r=fZ(TJ(e,t),n.get(["itemStyle","opacity"]),1),o=NZ.parseColor(i);o[3]*=r,this._setColorOfDataIndex(e,t,o)}},dispose:function(){this._labelsBuilder.dispose()},_setColorOfDataIndex:function(t,e,n){if(!(e<this._startIndex&&e>this._endIndex)){e-=this._startIndex;for(var i=this._vertexRangeOfDataIndex[2*e];i<this._vertexRangeOfDataIndex[2*e+1];i++)this._polygonMesh.geometry.attributes.color.set(i,n);this._polygonMesh.geometry.dirty(),this._api.getZr().refresh()}}};var DJ=zm.extend({type:"geo3D",__ecgl__:!0,init:function(t,e){this._geo3DBuilder=new CJ(e),this.groupGL=new NZ.Node,this._lightRoot=new NZ.Node,this._sceneHelper=new cQ(this._lightRoot),this._sceneHelper.initLight(this._lightRoot),this._control=new nQ({zr:e.getZr()}),this._control.init()},render:function(t,e,n){this.groupGL.add(this._geo3DBuilder.rootNode);var i=t.coordinateSystem;if(i&&i.viewGL){i.viewGL.add(this._lightRoot),t.get("show")?i.viewGL.add(this.groupGL):i.viewGL.remove(this.groupGL);var r=this._control;r.setViewGL(i.viewGL);var o=t.getModel("viewControl");r.setFromViewControlModel(o,0),this._sceneHelper.setScene(i.viewGL.scene),this._sceneHelper.updateLight(t),i.viewGL.setPostEffect(t.getModel("postEffect"),n),i.viewGL.setTemporalSuperSampling(t.getModel("temporalSuperSampling")),this._geo3DBuilder.update(t,e,n,0,t.getData().count());var a=i.viewGL.isLinearSpace()?"define":"undefine";this._geo3DBuilder.rootNode.traverse((function(t){t.material&&t.material[a]("fragment","SRGB_DECODE")})),r.off("update"),r.on("update",(function(){n.dispatchAction({type:"geo3DChangeCamera",alpha:r.getAlpha(),beta:r.getBeta(),distance:r.getDistance(),center:r.getCenter(),from:this.uid,geo3DId:t.id})})),r.update()}},afterRender:function(t,e,n,i){var r=i.renderer;this._sceneHelper.updateAmbientCubemap(r,t,n),this._sceneHelper.updateSkybox(r,t,n)},dispose:function(){this._control.dispose(),this._geo3DBuilder.dispose()}}),EJ={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};var LJ=rQ.vec3,PJ=rQ.mat4,RJ=[KI,function(t,e){if("world"===t){var n=EJ[e.name];if(n){var i=[n[0],n[1]];e.setCenter(i)}}}];function NJ(t,e,n,i,r){this.name=t,this.map=e,this.regionHeight=0,this.regions=[],this._nameCoordMap={},this.loadGeoJson(n,i,r),this.transform=PJ.identity(new Float64Array(16)),this.invTransform=PJ.identity(new Float64Array(16)),this.extrudeY=!0,this.altitudeAxis}function kJ(t,e){var n=Gp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});n.y=e.getHeight()-n.y-n.height,this.viewGL.setViewport(n.x,n.y,n.width,n.height,e.getDevicePixelRatio());var i=this.getGeoBoundingRect(),r=i.width/i.height*(t.get("aspectScale")||.75),o=t.get("boxWidth"),a=t.get("boxDepth"),s=t.get("boxHeight");null==s&&(s=5),isNaN(o)&&isNaN(a)&&(o=100),isNaN(a)?a=o/r:isNaN(o)&&(o=a/r),this.setSize(o,s,a),this.regionHeight=t.get("regionHeight"),this.altitudeAxis&&this.altitudeAxis.setExtent(0,Math.max(s-this.regionHeight,0))}function OJ(t,e){var n=[1/0,-1/0];if(t.eachSeries((function(t){if(t.coordinateSystem===this&&"series.map3D"!==t.type){var e=t.getData(),i=t.coordDimToDataDim("alt"),r=i&&i[0];if(r){var o=e.getDataExtent(r,!0);n[0]=Math.min(n[0],o[0]),n[1]=Math.max(n[1],o[1])}}}),this),n&&isFinite(n[1]-n[0])){var i=Gb(n,{type:"value",min:"dataMin",max:"dataMax"});this.altitudeAxis=new fw("altitude",i),this.resize(this.model,e)}}NJ.prototype={constructor:NJ,type:"geo3D",dimensions:["lng","lat","alt"],containPoint:function(){},loadGeoJson:function(t,e,n){var i=nw||nw;try{this.regions=t?i(t):[]}catch(KJ){throw"Invalid geoJson format\n"+KJ}e=e||{},n=n||{};for(var r=this.regions,o={},a=0;a<r.length;a++){var s=r[a].name;s=n[s]||s,r[a].name=s,o[s]=r[a],this.addGeoCoord(s,r[a].getCenter());var l=e[s];l&&r[a].transformTo(l.left,l.top,l.width,l.height)}this._regionsMap=o,this._geoRect=null,RJ.forEach((function(t){t(this)}),this)},getGeoBoundingRect:function(){if(this._geoRect)return this._geoRect;for(var t,e=this.regions,n=0;n<e.length;n++){var i=e[n].getBoundingRect();(t=t||i.clone()).union(i)}return this._geoRect=t||new Zn(0,0,0,0)},addGeoCoord:function(t,e){this._nameCoordMap[t]=e},getRegion:function(t){return this._regionsMap[t]},getRegionByCoord:function(t){for(var e=this.regions,n=0;n<e.length;n++)if(e[n].contain(t))return e[n]},setSize:function(t,e,n){this.size=[t,e,n];var i=this.getGeoBoundingRect(),r=t/i.width,o=-n/i.height,a=-t/2-i.x*r,s=n/2-i.y*o,l=this.extrudeY?[a,0,s]:[a,s,0],u=this.extrudeY?[r,1,o]:[r,o,1],c=this.transform;PJ.identity(c),PJ.translate(c,c,l),PJ.scale(c,c,u),PJ.invert(this.invTransform,c)},dataToPoint:function(t,e){e=e||[];var n=this.extrudeY?1:2,i=this.extrudeY?2:1,r=t[2];return isNaN(r)&&(r=0),e[0]=t[0],e[i]=t[1],this.altitudeAxis?e[n]=this.altitudeAxis.dataToCoord(r):e[n]=0,e[n]+=this.regionHeight,LJ.transformMat4(e,e,this.transform),e},pointToData:function(t,e){}};var BJ=0,zJ={dimensions:NJ.prototype.dimensions,create:function(t,e){var n=[];if(!W_)throw new Error("geo3D component depends on geo component");function i(t,i){var r=zJ.createGeo3D(t);t.__viewGL=t.__viewGL||new Dq,r.viewGL=t.__viewGL,t.coordinateSystem=r,r.model=t,n.push(r),r.resize=kJ,r.resize(t,e),r.update=OJ}return t.eachComponent("geo3D",(function(t,e){i(t)})),t.eachSeriesByType("map3D",(function(t,e){var n=t.get("coordinateSystem");null==n&&(n="geo3D"),"geo3D"===n&&i(t)})),t.eachSeries((function(e){if("geo3D"===e.get("coordinateSystem")){if("series.map3D"===e.type)return;var n=e.getReferringComponents("geo3D").models[0];if(n||(n=t.getComponent("geo3D")),!n)throw new Error('geo "'+fZ(e.get("geo3DIndex"),e.get("geo3DId"),0)+'" not found');e.coordinateSystem=n.coordinateSystem}})),n},createGeo3D:function(t){var e,n=t.get("map");return"string"==typeof n?(e=n,n=W_(n)):n&&n.features&&(n={geoJson:n}),null==e&&(e="GEO_ANONYMOUS_"+BJ++),new NJ(e+BJ++,e,n&&n.geoJson,n&&n.specialAreas,t.get("nameMap"))}};function FJ(t){t.registerComponentModel(Xq),t.registerComponentView(DJ),t.registerAction({type:"geo3DChangeCamera",event:"geo3dcamerachanged",update:"series:updateCamera"},(function(t,e){e.eachComponent({mainType:"geo3D",query:t},(function(e){e.setView(t)}))})),t.registerCoordinateSystem("geo3D",zJ)}function VJ(t,e){t.id=t.id||t.name||e+""}Z_(FJ);var GJ=Zp.extend({type:"globe",layoutMode:"box",coordinateSystem:null,init:function(){GJ.superApply(this,"init",arguments),re(this.option.layers,(function(t,e){qt(t,this.defaultLayerOption),VJ(t,e)}),this)},mergeOption:function(t){var e=this.option.layers;function n(t){return ae(t,(function(t,e,n){return VJ(e,n),t[e.id]=e,t}),{})}if(this.option.layers=null,GJ.superApply(this,"mergeOption",arguments),e&&e.length){var i=n(t.layers),r=n(e);for(var o in i)r[o]?qt(r[o],i[o],!0):e.push(t.layers[o]);this.option.layers=e}re(this.option.layers,(function(t){qt(t,this.defaultLayerOption)}),this)},optionUpdated:function(){this.updateDisplacementHash()},defaultLayerOption:{show:!0,type:"overlay"},defaultOption:{show:!0,zlevel:-10,left:0,top:0,width:"100%",height:"100%",environment:"auto",baseColor:"#fff",baseTexture:"",heightTexture:"",displacementTexture:"",displacementScale:0,displacementQuality:"medium",globeRadius:100,globeOuterRadius:150,shading:"lambert",light:{main:{time:""}},atmosphere:{show:!1,offset:5,color:"#ffffff",glowPower:6,innerGlowPower:2},viewControl:{autoRotate:!0,panSensitivity:0,targetCoord:null},layers:[]},setDisplacementData:function(t,e,n){this.displacementData=t,this.displacementWidth=e,this.displacementHeight=n},getDisplacementTexture:function(){return this.get("displacementTexture")||this.get("heightTexture")},getDisplacemenScale:function(){var t=this.getDisplacementTexture(),e=this.get("displacementScale");return t&&"none"!==t||(e=0),e},hasDisplacement:function(){return this.getDisplacemenScale()>0},_displacementChanged:!0,_displacementScale:0,updateDisplacementHash:function(){var t=this.getDisplacementTexture(),e=this.getDisplacemenScale();this._displacementChanged=this._displacementTexture!==t||this._displacementScale!==e,this._displacementTexture=t,this._displacementScale=e},isDisplacementChanged:function(){return this._displacementChanged}});qt(GJ.prototype,QZ),qt(GJ.prototype,qZ),qt(GJ.prototype,JZ),qt(GJ.prototype,Hq);var UJ=Math.PI,HJ=Math.sin,WJ=Math.cos,XJ=Math.tan,jJ=Math.asin,YJ=Math.atan2,ZJ=UJ/180,QJ=864e5,qJ=2440588;function JJ(t){return function(t){return t.valueOf()/QJ-.5+qJ}(t)-2451545}var KJ=23.4397*ZJ;function $J(t,e){return YJ(HJ(t)*WJ(KJ)-XJ(e)*HJ(KJ),WJ(t))}function tK(t,e,n){return YJ(HJ(t),WJ(t)*HJ(e)-XJ(n)*WJ(e))}function eK(t,e,n){return jJ(HJ(e)*HJ(n)+WJ(e)*WJ(n)*WJ(t))}function nK(t){var e,n,i=function(t){return ZJ*(357.5291+.98560028*t)}(t),r=function(t){return t+ZJ*(1.9148*HJ(t)+.02*HJ(2*t)+3e-4*HJ(3*t))+102.9372*ZJ+UJ}(i);return{dec:(e=r,n=0,jJ(HJ(n)*WJ(KJ)+WJ(n)*HJ(KJ)*HJ(e))),ra:$J(r,0)}}var iK={};iK.getPosition=function(t,e,n){var i=ZJ*-n,r=ZJ*e,o=JJ(t),a=nK(o),s=function(t,e){return ZJ*(280.16+360.9856235*t)-e}(o,i)-a.ra;return{azimuth:tK(s,r,a.dec),altitude:eK(s,r,a.dec)}};NZ.Shader.import(EZ),NZ.Shader.import("@export ecgl.atmosphere.vertex\nattribute vec3 position: POSITION;\nattribute vec3 normal : NORMAL;\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform mat4 normalMatrix : WORLDINVERSETRANSPOSE;\n\nvarying vec3 v_Normal;\n\nvoid main() {\n v_Normal = normalize((normalMatrix * vec4(normal, 0.0)).xyz);\n gl_Position = worldViewProjection * vec4(position, 1.0);\n}\n@end\n\n\n@export ecgl.atmosphere.fragment\nuniform mat4 viewTranspose: VIEWTRANSPOSE;\nuniform float glowPower;\nuniform vec3 glowColor;\n\nvarying vec3 v_Normal;\n\nvoid main() {\n float intensity = pow(1.0 - dot(v_Normal, (viewTranspose * vec4(0.0, 0.0, 1.0, 0.0)).xyz), glowPower);\n gl_FragColor = vec4(glowColor, intensity * intensity);\n}\n@end");var rK=zm.extend({type:"globe",__ecgl__:!0,_displacementScale:0,init:function(t,e){this.groupGL=new NZ.Node,this._sphereGeometry=new NZ.SphereGeometry({widthSegments:200,heightSegments:100,dynamic:!0}),this._overlayGeometry=new NZ.SphereGeometry({widthSegments:80,heightSegments:40}),this._planeGeometry=new NZ.PlaneGeometry,this._earthMesh=new NZ.Mesh({renderNormal:!0}),this._atmosphereMesh=new NZ.Mesh,this._atmosphereGeometry=new NZ.SphereGeometry({widthSegments:80,heightSegments:40}),this._atmosphereMaterial=new NZ.Material({shader:new NZ.Shader(NZ.Shader.source("ecgl.atmosphere.vertex"),NZ.Shader.source("ecgl.atmosphere.fragment")),transparent:!0}),this._atmosphereMesh.geometry=this._atmosphereGeometry,this._atmosphereMesh.material=this._atmosphereMaterial,this._atmosphereMesh.frontFace=NZ.Mesh.CW,this._lightRoot=new NZ.Node,this._sceneHelper=new cQ,this._sceneHelper.initLight(this._lightRoot),this.groupGL.add(this._atmosphereMesh),this.groupGL.add(this._earthMesh),this._control=new nQ({zr:e.getZr()}),this._control.init(),this._layerMeshes={}},render:function(t,e,n){var i=t.coordinateSystem,r=t.get("shading");i.viewGL.add(this._lightRoot),t.get("show")?i.viewGL.add(this.groupGL):i.viewGL.remove(this.groupGL),this._sceneHelper.setScene(i.viewGL.scene),i.viewGL.setPostEffect(t.getModel("postEffect"),n),i.viewGL.setTemporalSuperSampling(t.getModel("temporalSuperSampling"));var o=this._earthMesh;o.geometry=this._sphereGeometry;var a="ecgl."+r;o.material&&o.material.shader.name===a||(o.material=NZ.createMaterial(a)),NZ.setMaterialFromModel(r,o.material,t,n),["roughnessMap","metalnessMap","detailMap","normalMap"].forEach((function(t){var e=o.material.get(t);e&&(e.flipY=!1)})),o.material.set("color",NZ.parseColor(t.get("baseColor")));var s=.99*i.radius;if(o.scale.set(s,s,s),t.get("atmosphere.show")){o.material.define("both","ATMOSPHERE_ENABLED"),this._atmosphereMesh.invisible=!1,this._atmosphereMaterial.setUniforms({glowPower:t.get("atmosphere.glowPower")||6,glowColor:t.get("atmosphere.color")||"#ffffff"}),o.material.setUniforms({glowPower:t.get("atmosphere.innerGlowPower")||2,glowColor:t.get("atmosphere.color")||"#ffffff"});var l=t.get("atmosphere.offset")||5;this._atmosphereMesh.scale.set(s+l,s+l,s+l)}else o.material.undefine("both","ATMOSPHERE_ENABLED"),this._atmosphereMesh.invisible=!0;var u=o.material.setTextureImage("diffuseMap",t.get("baseTexture"),n,{flipY:!1,anisotropic:8});u&&u.surface&&u.surface.attachToMesh(o);var c=o.material.setTextureImage("bumpMap",t.get("heightTexture"),n,{flipY:!1,anisotropic:8});c&&c.surface&&c.surface.attachToMesh(o),o.material[t.get("postEffect.enable")?"define":"undefine"]("fragment","SRGB_DECODE"),this._updateLight(t,n),this._displaceVertices(t,n),this._updateViewControl(t,n),this._updateLayers(t,n)},afterRender:function(t,e,n,i){var r=i.renderer;this._sceneHelper.updateAmbientCubemap(r,t,n),this._sceneHelper.updateSkybox(r,t,n)},_updateLayers:function(t,e){var n=t.coordinateSystem,i=t.get("layers"),r=n.radius,o=[],a=[],s=[],l=[];re(i,(function(t){var i=new zd(t),u=i.get("type"),c=NZ.loadTexture(i.get("texture"),e,{flipY:!1,anisotropic:8});if(c.surface&&c.surface.attachToMesh(this._earthMesh),"blend"===u){var h=i.get("blendTo"),d=fZ(i.get("intensity"),1);"emission"===h?(s.push(c),l.push(d)):(o.push(c),a.push(d))}else{var p=i.get("id"),f=this._layerMeshes[p];f||(f=this._layerMeshes[p]=new NZ.Mesh({geometry:this._overlayGeometry,castShadow:!1,ignorePicking:!0})),"lambert"===i.get("shading")?(f.material=f.__lambertMaterial||new NZ.Material({autoUpdateTextureStatus:!1,shader:NZ.createShader("ecgl.lambert"),transparent:!0,depthMask:!1}),f.__lambertMaterial=f.material):(f.material=f.__colorMaterial||new NZ.Material({autoUpdateTextureStatus:!1,shader:NZ.createShader("ecgl.color"),transparent:!0,depthMask:!1}),f.__colorMaterial=f.material),f.material.enableTexture("diffuseMap");var g=i.get("distance"),m=r+(null==g?n.radius/100:g);f.scale.set(m,m,m),r=m;var v=this._blankTexture||(this._blankTexture=NZ.createBlankTexture("rgba(255, 255, 255, 0)"));f.material.set("diffuseMap",v),NZ.loadTexture(i.get("texture"),e,{flipY:!1,anisotropic:8},(function(t){t.surface&&t.surface.attachToMesh(f),f.material.set("diffuseMap",t),e.getZr().refresh()})),i.get("show")?this.groupGL.add(f):this.groupGL.remove(f)}}),this);var u=this._earthMesh.material;u.define("fragment","LAYER_DIFFUSEMAP_COUNT",o.length),u.define("fragment","LAYER_EMISSIVEMAP_COUNT",s.length),u.set("layerDiffuseMap",o),u.set("layerDiffuseIntensity",a),u.set("layerEmissiveMap",s),u.set("layerEmissionIntensity",l);var c=t.getModel("debug.wireframe");if(c.get("show")){u.define("both","WIREFRAME_TRIANGLE");var h=NZ.parseColor(c.get("lineStyle.color")||"rgba(0,0,0,0.5)"),d=fZ(c.get("lineStyle.width"),1);u.set("wireframeLineWidth",d),u.set("wireframeLineColor",h)}else u.undefine("both","WIREFRAME_TRIANGLE")},_updateViewControl:function(t,e){var n=t.coordinateSystem,i=t.getModel("viewControl");n.viewGL.camera;var r=this;var o=this._control;o.setViewGL(n.viewGL);var a,s,l=i.get("targetCoord");null!=l&&(s=l[0]+90,a=l[1]),o.setFromViewControlModel(i,{baseDistance:n.radius,alpha:a,beta:s}),o.off("update"),o.on("update",(function(){e.dispatchAction({type:"globeChangeCamera",alpha:o.getAlpha(),beta:o.getBeta(),distance:o.getDistance()-n.radius,center:o.getCenter(),from:r.uid,globeId:t.id})}))},_displaceVertices:function(t,e){var n=t.get("displacementQuality"),i=t.get("debug.wireframe.show"),r=t.coordinateSystem;if(t.isDisplacementChanged()||n!==this._displacementQuality||i!==this._showDebugWireframe){this._displacementQuality=n,this._showDebugWireframe=i;var o=this._sphereGeometry,a={low:100,medium:200,high:400,ultra:800}[n]||200,s=a/2;(o.widthSegments!==a||i)&&(o.widthSegments=a,o.heightSegments=s,o.build()),this._doDisplaceVertices(o,r),i&&o.generateBarycentric()}},_doDisplaceVertices:function(t,e){var n=t.attributes.position.value,i=t.attributes.texcoord0.value,r=t.__originalPosition;r&&r.length===n.length||((r=new Float32Array(n.length)).set(n),t.__originalPosition=r);for(var o=e.displacementWidth,a=e.displacementHeight,s=e.displacementData,l=0;l<t.vertexCount;l++){var u=3*l,c=2*l,h=r[u+1],d=r[u+2],p=r[u+3],f=i[c++],g=i[c++],m=Math.round(f*(o-1)),v=Math.round(g*(a-1)),y=s?s[v*o+m]:0;n[u+1]=h+h*y,n[u+2]=d+d*y,n[u+3]=p+p*y}t.generateVertexNormals(),t.dirty(),t.updateBoundingBox()},_updateLight:function(t,e){var n=this._earthMesh;this._sceneHelper.updateLight(t);var i=this._sceneHelper.mainLight,r=t.get("light.main.time")||new Date,o=iK.getPosition(ma(r),0,0),a=Math.cos(o.altitude);i.position.y=-a*Math.cos(o.azimuth),i.position.x=Math.sin(o.altitude),i.position.z=a*Math.sin(o.azimuth),i.lookAt(n.getWorldPosition())},dispose:function(t,e){this.groupGL.removeAll(),this._control.dispose()}}),oK=rQ.vec3;function aK(t){this.radius=t,this.viewGL=null,this.altitudeAxis,this.displacementData=null,this.displacementWidth,this.displacementHeight}function sK(t,e){var n=Gp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});n.y=e.getHeight()-n.y-n.height,this.viewGL.setViewport(n.x,n.y,n.width,n.height,e.getDevicePixelRatio()),this.radius=t.get("globeRadius");var i=t.get("globeOuterRadius");this.altitudeAxis&&this.altitudeAxis.setExtent(0,i-this.radius)}function lK(t,e){var n=[1/0,-1/0];if(t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData(),i=t.coordDimToDataDim("alt"),r=i&&i[0];if(r){var o=e.getDataExtent(r,!0);n[0]=Math.min(n[0],o[0]),n[1]=Math.max(n[1],o[1])}}}),this),n&&isFinite(n[1]-n[0])){var i=Gb(n,{type:"value",min:"dataMin",max:"dataMax"});this.altitudeAxis=new fw("altitude",i),this.resize(this.model,e)}}aK.prototype={constructor:aK,dimensions:["lng","lat","alt"],type:"globe",containPoint:function(){},setDisplacementData:function(t,e,n){this.displacementData=t,this.displacementWidth=e,this.displacementHeight=n},_getDisplacementScale:function(t,e){var n=(t+180)/360*(this.displacementWidth-1),i=(90-e)/180*(this.displacementHeight-1),r=Math.round(n)+Math.round(i)*this.displacementWidth;return this.displacementData[r]},dataToPoint:function(t,e){var n=t[0],i=t[1],r=t[2]||0,o=this.radius;this.displacementData&&(o*=1+this._getDisplacementScale(n,i)),this.altitudeAxis&&(o+=this.altitudeAxis.dataToCoord(r)),n=n*Math.PI/180,i=i*Math.PI/180;var a=Math.cos(i)*o;return(e=e||[])[0]=-a*Math.cos(n+Math.PI),e[1]=Math.sin(i)*o,e[2]=a*Math.sin(n+Math.PI),e},pointToData:function(t,e){var n=t[0],i=t[1],r=t[2],o=oK.len(t);n/=o,i/=o,r/=o;var a=Math.asin(i),s=Math.atan2(r,-n);s<0&&(s=2*Math.PI+s);var l=180*a/Math.PI,u=180*s/Math.PI-180;return(e=e||[])[0]=u,e[1]=l,e[2]=o-this.radius,this.altitudeAxis&&(e[2]=this.altitudeAxis.coordToData(e[2])),e}};var uK={dimensions:aK.prototype.dimensions,create:function(t,e){var n=[];return t.eachComponent("globe",(function(t){t.__viewGL=t.__viewGL||new Dq;var i=new aK;i.viewGL=t.__viewGL,t.coordinateSystem=i,i.model=t,n.push(i),i.resize=sK,i.resize(t,e),i.update=lK})),t.eachSeries((function(e){if("globe"===e.get("coordinateSystem")){var n=e.getReferringComponents("globe").models[0];if(n||(n=t.getComponent("globe")),!n)throw new Error('globe "'+fZ(e.get("globe3DIndex"),e.get("globe3DId"),0)+'" not found');var i=n.coordinateSystem;e.coordinateSystem=i}})),t.eachComponent("globe",(function(t,n){var i=t.coordinateSystem,r=t.getDisplacementTexture(),o=t.getDisplacemenScale();if(t.isDisplacementChanged()){if(t.hasDisplacement()){var a=!0;NZ.loadTexture(r,e,(function(n){var i=function(t,e){var n=document.createElement("canvas"),i=n.getContext("2d"),r=t.width,o=t.height;n.width=r,n.height=o,i.drawImage(t,0,0,r,o);for(var a=i.getImageData(0,0,r,o).data,s=new Float32Array(a.length/4),l=0;l<a.length/4;l++){var u=a[4*l];s[l]=u/255*e}return{data:s,width:r,height:o}}(n.image,o);t.setDisplacementData(i.data,i.width,i.height),a||e.dispatchAction({type:"globeUpdateDisplacment"})})),a=!1}else i.setDisplacementData(null,0,0);i.setDisplacementData(t.displacementData,t.displacementWidth,t.displacementHeight)}})),n}};Z_((function(t){t.registerComponentModel(GJ),t.registerComponentView(rK),t.registerCoordinateSystem("globe",uK),t.registerAction({type:"globeChangeCamera",event:"globecamerachanged",update:"series:updateCamera"},(function(t,e){e.eachComponent({mainType:"globe",query:t},(function(e){e.setView(t)}))})),t.registerAction({type:"globeUpdateDisplacment",event:"globedisplacementupdated",update:"update"},(function(t,e){}))}));var cK=["zoom","center","pitch","bearing"],hK=Zp.extend({type:"mapbox3D",layoutMode:"box",coordinateSystem:null,defaultOption:{zlevel:-10,style:"mapbox://styles/mapbox/light-v9",center:[0,0],zoom:0,pitch:0,bearing:0,light:{main:{alpha:20,beta:30}},altitudeScale:1,boxHeight:"auto"},getMapboxCameraOption:function(){var t=this;return cK.reduce((function(e,n){return e[n]=t.get(n),e}),{})},setMapboxCameraOption:function(t){null!=t&&cK.forEach((function(e){null!=t[e]&&(this.option[e]=t[e])}),this)},getMapbox:function(){return this._mapbox},setMapbox:function(t){this._mapbox=t}});function dK(t,e){if(this.id=t,this.zr=e,this.dom=document.createElement("div"),this.dom.style.cssText="position:absolute;left:0;right:0;top:0;bottom:0;",!mapboxgl)throw new Error("Mapbox GL library must be included. See https://www.mapbox.com/mapbox-gl-js/api/");this._mapbox=new mapboxgl.Map({container:this.dom}),this._initEvents()}qt(hK.prototype,qZ),qt(hK.prototype,JZ),dK.prototype.setUnpainted=function(){},dK.prototype.resize=function(){this._mapbox.resize()},dK.prototype.getMapbox=function(){return this._mapbox},dK.prototype.clear=function(){},dK.prototype.refresh=function(){this._mapbox.resize()};var pK=["mousedown","mouseup","click","dblclick","mousemove","mousewheel","wheel","touchstart","touchend","touchmove","touchcancel"];dK.prototype._initEvents=function(){var t=this._mapbox.getCanvasContainer();this._handlers=this._handlers||{contextmenu:function(t){return t.preventDefault(),!1}},pK.forEach((function(e){this._handlers[e]=function(e){var n={};for(var i in e)n[i]=e[i];n.bubbles=!1;var r=new e.constructor(e.type,n);t.dispatchEvent(r)},this.zr.dom.addEventListener(e,this._handlers[e])}),this),this.zr.dom.addEventListener("contextmenu",this._handlers.contextmenu)},dK.prototype.dispose=function(){pK.forEach((function(t){this.zr.dom.removeEventListener(t,this._handlers[t])}),this)};var fK="\n@export ecgl.displayShadow.vertex\n\n@import ecgl.common.transformUniforms\n\n@import ecgl.common.uv.header\n\n@import ecgl.common.attributes\n\nvarying vec3 v_WorldPosition;\n\nvarying vec3 v_Normal;\n\nvoid main()\n{\n @import ecgl.common.uv.main\n v_Normal = normalize((worldInverseTranspose * vec4(normal, 0.0)).xyz);\n\n v_WorldPosition = (world * vec4(position, 1.0)).xyz;\n gl_Position = worldViewProjection * vec4(position, 1.0);\n}\n\n@end\n\n\n@export ecgl.displayShadow.fragment\n\n@import ecgl.common.uv.fragmentHeader\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nuniform float roughness: 0.2;\n\n#ifdef DIRECTIONAL_LIGHT_COUNT\n@import clay.header.directional_light\n#endif\n\n@import ecgl.common.ssaoMap.header\n\n@import clay.plugin.compute_shadow_map\n\nvoid main()\n{\n float shadow = 1.0;\n\n @import ecgl.common.ssaoMap.main\n\n#if defined(DIRECTIONAL_LIGHT_COUNT) && defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT];\n if(shadowEnabled)\n {\n computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir);\n }\n for (int i = 0; i < DIRECTIONAL_LIGHT_COUNT; i++) {\n shadow = min(shadow, shadowContribsDir[i] * 0.5 + 0.5);\n }\n#endif\n\n shadow *= 0.5 + ao * 0.5;\n shadow = clamp(shadow, 0.0, 1.0);\n\n gl_FragColor = vec4(vec3(0.0), 1.0 - shadow);\n}\n\n@end";NZ.Shader.import(fK);var gK=zm.extend({type:"mapbox3D",__ecgl__:!0,init:function(t,e){var n=e.getZr();this._zrLayer=new dK("mapbox3D",n),n.painter.insertLayer(-1e3,this._zrLayer),this._lightRoot=new NZ.Node,this._sceneHelper=new cQ(this._lightRoot),this._sceneHelper.initLight(this._lightRoot);var i=this._zrLayer.getMapbox(),r=this._dispatchInteractAction.bind(this,e,i);["zoom","rotate","drag","pitch","rotate","move"].forEach((function(t){i.on(t,r)})),this._groundMesh=new NZ.Mesh({geometry:new NZ.PlaneGeometry,material:new NZ.Material({shader:new NZ.Shader({vertex:NZ.Shader.source("ecgl.displayShadow.vertex"),fragment:NZ.Shader.source("ecgl.displayShadow.fragment")}),depthMask:!1}),renderOrder:-100,culling:!1,castShadow:!1,$ignorePicking:!0,renderNormal:!0})},render:function(t,e,n){var i=this._zrLayer.getMapbox(),r=t.get("style"),o=JSON.stringify(r);o!==this._oldStyleStr&&r&&i.setStyle(r),this._oldStyleStr=o,i.setCenter(t.get("center")),i.setZoom(t.get("zoom")),i.setPitch(t.get("pitch")),i.setBearing(t.get("bearing")),t.setMapbox(i);var a=t.coordinateSystem;a.viewGL.scene.add(this._lightRoot),a.viewGL.add(this._groundMesh),this._updateGroundMesh(),this._sceneHelper.setScene(a.viewGL.scene),this._sceneHelper.updateLight(t),a.viewGL.setPostEffect(t.getModel("postEffect"),n),a.viewGL.setTemporalSuperSampling(t.getModel("temporalSuperSampling")),this._mapbox3DModel=t},afterRender:function(t,e,n,i){var r=i.renderer;this._sceneHelper.updateAmbientCubemap(r,t,n),this._sceneHelper.updateSkybox(r,t,n),t.coordinateSystem.viewGL.scene.traverse((function(t){t.material&&(t.material.define("fragment","NORMAL_UP_AXIS",2),t.material.define("fragment","NORMAL_FRONT_AXIS",1))}))},updateCamera:function(t,e,n,i){t.coordinateSystem.setCameraOption(i),this._updateGroundMesh(),n.getZr().refresh()},_dispatchInteractAction:function(t,e,n){t.dispatchAction({type:"mapbox3DChangeCamera",pitch:e.getPitch(),zoom:e.getZoom(),center:e.getCenter().toArray(),bearing:e.getBearing(),mapbox3DId:this._mapbox3DModel&&this._mapbox3DModel.id})},_updateGroundMesh:function(){if(this._mapbox3DModel){var t=this._mapbox3DModel.coordinateSystem,e=t.dataToPoint(t.center);this._groundMesh.position.set(e[0],e[1],-.001);var n=new NZ.Plane(new NZ.Vector3(0,0,1),0),i=t.viewGL.camera.castRay(new NZ.Vector2(-1,-1)),r=t.viewGL.camera.castRay(new NZ.Vector2(1,1)),o=i.intersectPlane(n),a=r.intersectPlane(n),s=o.dist(a)/t.viewGL.rootNode.scale.x;this._groundMesh.scale.set(s,s,1)}},dispose:function(t,e){this._zrLayer&&this._zrLayer.dispose(),e.getZr().painter.delLayer(-1e3)}}),mK=rQ.mat4,vK=512,yK=.6435011087932844,_K=Math.PI,xK=.1;function bK(){this.width=0,this.height=0,this.altitudeScale=1,this.boxHeight="auto",this.altitudeExtent,this.bearing=0,this.pitch=0,this.center=[0,0],this._origin,this.zoom=0,this._initialZoom,this.maxPitch=60,this.zoomOffset=0}function wK(){bK.apply(this,arguments)}function SK(t,e,n){function i(t,e){var n=e.getWidth(),i=e.getHeight(),r=e.getDevicePixelRatio();this.viewGL.setViewport(0,0,n,i,r),this.width=n,this.height=i,this.altitudeScale=t.get("altitudeScale"),this.boxHeight=t.get("boxHeight")}function r(t,e){if("auto"!==this.model.get("boxHeight")){var n=[1/0,-1/0];t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData(),i=t.coordDimToDataDim("alt")[0];if(i){var r=e.getDataExtent(i,!0);n[0]=Math.min(n[0],r[0]),n[1]=Math.max(n[1],r[1])}}}),this),n&&isFinite(n[1]-n[0])&&(this.altitudeExtent=n)}}return{dimensions:e.prototype.dimensions,create:function(o,a){var s=[];return o.eachComponent(t,(function(t){var n=t.__viewGL;n||(n=t.__viewGL=new Dq).setRootNode(new NZ.Node);var o=new e;o.viewGL=t.__viewGL,o.resize=i,o.resize(t,a),s.push(o),t.coordinateSystem=o,o.model=t,o.update=r})),o.eachSeries((function(e){if(e.get("coordinateSystem")===t){var n=e.getReferringComponents(t).models[0];if(n||(n=o.getComponent(t)),!n)throw new Error(t+' "'+fZ(e.get(t+"Index"),e.get(t+"Id"),0)+'" not found');e.coordinateSystem=n.coordinateSystem}})),n&&n(s,o,a),s}}}bK.prototype={constructor:bK,dimensions:["lng","lat","alt"],containPoint:function(){},setCameraOption:function(t){this.bearing=t.bearing,this.pitch=t.pitch,this.center=t.center,this.zoom=t.zoom,this._origin||(this._origin=this.projectOnTileWithScale(this.center,vK)),null==this._initialZoom&&(this._initialZoom=this.zoom),this.updateTransform()},updateTransform:function(){if(this.height){var t=.5/Math.tan(yK/2)*this.height*xK,e=Math.max(Math.min(this.pitch,this.maxPitch),0)/180*Math.PI,n=yK/2,i=Math.PI/2+e,r=Math.sin(n)*t/Math.sin(Math.PI-i-n),o=1.1*(Math.cos(Math.PI/2-e)*r+t);this.pitch>50&&(o=1e3);var a=[];mK.perspective(a,yK,this.width/this.height,1,o),this.viewGL.camera.projectionMatrix.setArray(a),this.viewGL.camera.decomposeProjectionMatrix();a=mK.identity([]);var s=this.dataToPoint(this.center);mK.scale(a,a,[1,-1,1]),mK.translate(a,a,[0,0,-t]),mK.rotateX(a,a,e),mK.rotateZ(a,a,-this.bearing/180*Math.PI),mK.translate(a,a,[-s[0]*this.getScale()*xK,-s[1]*this.getScale()*xK,0]),this.viewGL.camera.viewMatrix.array=a;var l=[];mK.invert(l,a),this.viewGL.camera.worldTransform.array=l,this.viewGL.camera.decomposeWorldTransform();var u,c=vK*this.getScale();if(this.altitudeExtent&&!isNaN(this.boxHeight)){var h=this.altitudeExtent[1]-this.altitudeExtent[0];u=this.boxHeight/h*this.getScale()/Math.pow(2,this._initialZoom-this.zoomOffset)}else u=c/(2*Math.PI*6378e3*Math.abs(Math.cos(this.center[1]*(Math.PI/180))))*this.altitudeScale*xK;this.viewGL.rootNode.scale.set(this.getScale()*xK,this.getScale()*xK,u)}},getScale:function(){return Math.pow(2,this.zoom-this.zoomOffset)},projectOnTile:function(t,e){return this.projectOnTileWithScale(t,this.getScale()*vK,e)},projectOnTileWithScale:function(t,e,n){var i=t[0],r=t[1]*_K/180,o=e*(i*_K/180+_K)/(2*_K),a=e*(_K-Math.log(Math.tan(_K/4+.5*r)))/(2*_K);return(n=n||[])[0]=o,n[1]=a,n},unprojectFromTile:function(t,e){return this.unprojectOnTileWithScale(t,this.getScale()*vK,e)},unprojectOnTileWithScale:function(t,e,n){var i=t[0],r=t[1],o=i/e*(2*_K)-_K,a=2*(Math.atan(Math.exp(_K-r/e*(2*_K)))-_K/4);return(n=n||[])[0]=180*o/_K,n[1]=180*a/_K,n},dataToPoint:function(t,e){return(e=this.projectOnTileWithScale(t,vK,e))[0]-=this._origin[0],e[1]-=this._origin[1],e[2]=isNaN(t[2])?0:t[2],isNaN(t[2])||(e[2]=t[2],this.altitudeExtent&&(e[2]-=this.altitudeExtent[0])),e}},wK.prototype=new bK,wK.prototype.constructor=wK,wK.prototype.type="mapbox3D";var AK=SK("mapbox3D",wK,(function(t){t.forEach((function(t){t.setCameraOption(t.model.getMapboxCameraOption())}))}));Z_((function(t){t.registerComponentModel(hK),t.registerComponentView(gK),t.registerCoordinateSystem("mapbox3D",AK),t.registerAction({type:"mapbox3DChangeCamera",event:"mapbox3dcamerachanged",update:"mapbox3D:updateCamera"},(function(t,e){e.eachComponent({mainType:"mapbox3D",query:t},(function(e){e.setMapboxCameraOption(t)}))}))}));var TK=["zoom","center","pitch","bearing"],MK=Zp.extend({type:"maptalks3D",layoutMode:"box",coordinateSystem:null,defaultOption:{zlevel:-10,urlTemplate:"http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png",attribution:'&copy; <a href="http://osm.org">OpenStreetMap</a> contributors, &copy; <a href="https://carto.com/">CARTO</a>',center:[0,0],zoom:0,pitch:0,bearing:0,light:{main:{alpha:20,beta:30}},altitudeScale:1,boxHeight:"auto"},getMaptalksCameraOption:function(){var t=this;return TK.reduce((function(e,n){return e[n]=t.get(n),e}),{})},setMaptalksCameraOption:function(t){null!=t&&TK.forEach((function(e){null!=t[e]&&(this.option[e]=t[e])}),this)},getMaptalks:function(){return this._maptalks},setMaptalks:function(t){this._maptalks=t}});function IK(t,e,n,i){if(this.id=t,this.zr=e,this.dom=document.createElement("div"),this.dom.style.cssText="position:absolute;left:0;right:0;top:0;bottom:0;",!maptalks)throw new Error("Maptalks library must be included. See https://maptalks.org");this._maptalks=new maptalks.Map(this.dom,{center:n,zoom:i,doubleClickZoom:!1,fog:!1}),this._initEvents()}qt(MK.prototype,qZ),qt(MK.prototype,JZ),IK.prototype.setUnpainted=function(){},IK.prototype.resize=function(){this._maptalks.checkSize()},IK.prototype.getMaptalks=function(){return this._maptalks},IK.prototype.clear=function(){},IK.prototype.refresh=function(){this._maptalks.checkSize()};var CK=["mousedown","mouseup","click","dblclick","mousemove","mousewheel","DOMMouseScroll","touchstart","touchend","touchmove","touchcancel"];IK.prototype._initEvents=function(){var t=this.dom;this._handlers=this._handlers||{contextmenu:function(t){return t.preventDefault(),!1}},CK.forEach((function(e){this._handlers[e]=function(n){var i={};for(var r in n)i[r]=n[r];i.bubbles=!1;var o=new n.constructor(n.type,i);"mousewheel"===e||"DOMMouseScroll"===e?t.dispatchEvent(o):t.firstElementChild.dispatchEvent(o)},this.zr.dom.addEventListener(e,this._handlers[e])}),this),this.zr.dom.addEventListener("contextmenu",this._handlers.contextmenu)},IK.prototype.dispose=function(){CK.forEach((function(t){this.zr.dom.removeEventListener(t,this._handlers[t])}),this),this._maptalks.remove()},NZ.Shader.import(fK);var DK=zm.extend({type:"maptalks3D",__ecgl__:!0,init:function(t,e){this._groundMesh=new NZ.Mesh({geometry:new NZ.PlaneGeometry,material:new NZ.Material({shader:new NZ.Shader({vertex:NZ.Shader.source("ecgl.displayShadow.vertex"),fragment:NZ.Shader.source("ecgl.displayShadow.fragment")}),depthMask:!1}),renderOrder:-100,culling:!1,castShadow:!1,$ignorePicking:!0,renderNormal:!0})},_initMaptalksLayer:function(t,e){var n=e.getZr();this._zrLayer=new IK("maptalks3D",n,t.get("center"),t.get("zoom")),n.painter.insertLayer(-1e3,this._zrLayer),this._lightRoot=new NZ.Node,this._sceneHelper=new cQ(this._lightRoot),this._sceneHelper.initLight(this._lightRoot);var i=this._zrLayer.getMaptalks(),r=this._dispatchInteractAction.bind(this,e,i);["zoomend","zooming","zoomstart","dragrotating","pitch","pitchend","movestart","moving","moveend","resize","touchstart","touchmove","touchend","animating"].forEach((function(t){i.on(t,r)}))},render:function(t,e,n){this._zrLayer||this._initMaptalksLayer(t,n);var i=this._zrLayer.getMaptalks(),r=t.get("urlTemplate"),o=i.getBaseLayer();r!==this._oldUrlTemplate&&(o?o.setOptions({urlTemplate:r,attribution:t.get("attribution")}):(o=new maptalks.TileLayer("maptalks-echarts-gl-baselayer",{urlTemplate:r,subdomains:["a","b","c"],attribution:t.get("attribution")}),i.setBaseLayer(o))),this._oldUrlTemplate=r,i.setCenter(t.get("center")),i.setZoom(t.get("zoom"),{animation:!1}),i.setPitch(t.get("pitch")),i.setBearing(t.get("bearing")),t.setMaptalks(i);var a=t.coordinateSystem;a.viewGL.scene.add(this._lightRoot),a.viewGL.add(this._groundMesh),this._updateGroundMesh(),this._sceneHelper.setScene(a.viewGL.scene),this._sceneHelper.updateLight(t),a.viewGL.setPostEffect(t.getModel("postEffect"),n),a.viewGL.setTemporalSuperSampling(t.getModel("temporalSuperSampling")),this._maptalks3DModel=t},afterRender:function(t,e,n,i){var r=i.renderer;this._sceneHelper.updateAmbientCubemap(r,t,n),this._sceneHelper.updateSkybox(r,t,n),t.coordinateSystem.viewGL.scene.traverse((function(t){t.material&&(t.material.define("fragment","NORMAL_UP_AXIS",2),t.material.define("fragment","NORMAL_FRONT_AXIS",1))}))},updateCamera:function(t,e,n,i){t.coordinateSystem.setCameraOption(i),this._updateGroundMesh(),n.getZr().refresh()},_dispatchInteractAction:function(t,e,n){var i;t.dispatchAction({type:"maptalks3DChangeCamera",pitch:e.getPitch(),zoom:(i=e.getResolution(),19-Math.log(i/EK)/Math.LN2+1),center:e.getCenter().toArray(),bearing:e.getBearing(),maptalks3DId:this._maptalks3DModel&&this._maptalks3DModel.id})},_updateGroundMesh:function(){if(this._maptalks3DModel){var t=this._maptalks3DModel.coordinateSystem,e=t.dataToPoint(t.center);this._groundMesh.position.set(e[0],e[1],-.001);var n=new NZ.Plane(new NZ.Vector3(0,0,1),0),i=t.viewGL.camera.castRay(new NZ.Vector2(-1,-1)),r=t.viewGL.camera.castRay(new NZ.Vector2(1,1)),o=i.intersectPlane(n),a=r.intersectPlane(n),s=o.dist(a)/t.viewGL.rootNode.scale.x;this._groundMesh.scale.set(s,s,1)}},dispose:function(t,e){this._zrLayer&&this._zrLayer.dispose(),e.getZr().painter.delLayer(-1e3)}}),EK=12756274*Math.PI/(256*Math.pow(2,20));function LK(){bK.apply(this,arguments),this.maxPitch=85,this.zoomOffset=1}LK.prototype=new bK,LK.prototype.constructor=LK,LK.prototype.type="maptalks3D";var PK=SK("maptalks3D",LK,(function(t){t.forEach((function(t){t.setCameraOption(t.model.getMaptalksCameraOption())}))}));Z_((function(t){t.registerComponentModel(MK),t.registerComponentView(DK),t.registerCoordinateSystem("maptalks3D",PK),t.registerAction({type:"maptalks3DChangeCamera",event:"maptalks3dcamerachanged",update:"maptalks3D:updateCamera"},(function(t,e){e.eachComponent({mainType:"maptalks3D",query:t},(function(e){e.setMaptalksCameraOption(t)}))}))}));var RK=rQ.vec3,NK=Vb.isDimensionStacked;function kK(t,e,n){for(var i=t.getDataExtent(e),r=t.getDataExtent(n),o=i[1]-i[0]||i[0],a=r[1]-r[0]||r[0],s=new Uint8Array(2500),l=0;l<t.count();l++){var u=t.get(e,l),c=t.get(n,l),h=Math.floor((u-i[0])/o*49),d=50*Math.floor((c-r[0])/a*49)+h;s[d]=s[d]||1}var p=0;for(l=0;l<s.length;l++)s[l]&&p++;return p/s.length}var OK=rQ.vec3,BK=Vb.isDimensionStacked;function zK(t,e){var n=BK(t,e[2]);return{dimension:n?t.getCalculationInfo("stackResultDimension"):e[2],isStacked:n}}function FK(t){t.registerLayout((function(t,e){t.eachSeriesByType("bar3D",(function(t){var e=t.coordinateSystem,n=e&&e.type;"globe"===n?function(t,e){var n=t.getData(),i=t.get("minHeight")||0,r=t.get("barSize"),o=["lng","lat","alt"].map((function(e){return t.coordDimToDataDim(e)[0]}));if(null==r){var a=e.radius*Math.PI,s=kK(n,o[0],o[1]);r=[a/Math.sqrt(n.count()/s),a/Math.sqrt(n.count()/s)]}else he(r)||(r=[r,r]);var l=zK(n,o);n.each(o,(function(t,o,a,s){var u=n.get(l.dimension,s),c=l.isStacked?u-a:e.altitudeAxis.scale.getExtent()[0],h=Math.max(e.altitudeAxis.dataToCoord(a),i),d=e.dataToPoint([t,o,c]),p=e.dataToPoint([t,o,u]),f=OK.sub([],p,d);OK.normalize(f,f);var g=[r[0],h,r[1]];n.setItemLayout(s,[d,f,g])})),n.setLayout("orient",LX.UP.array)}(t,e):"cartesian3D"===n?function(t,e){var n=t.getData(),i=t.get("barSize");if(null==i){var r,o,a=e.size,s=e.getAxis("x"),l=e.getAxis("y");r="category"===s.type?.7*s.getBandWidth():.6*Math.round(a[0]/Math.sqrt(n.count())),o="category"===l.type?.7*l.getBandWidth():.6*Math.round(a[1]/Math.sqrt(n.count())),i=[r,o]}else he(i)||(i=[i,i]);var u=e.getAxis("z").scale.getExtent(),c=function(t){var e=t[0],n=t[1];return!(e>0&&n>0||e<0&&n<0)}(u),h=["x","y","z"].map((function(e){return t.coordDimToDataDim(e)[0]})),d=NK(n,h[2]),p=d?n.getCalculationInfo("stackResultDimension"):h[2];n.each(h,(function(t,r,o,a){var s=n.get(p,a),l=d?s-o:c?0:u[0],h=e.dataToPoint([t,r,l]),f=e.dataToPoint([t,r,s]),g=RK.dist(h,f),m=[0,f[1]<h[1]?-1:1,0];0===Math.abs(g)&&(g=.1);var v=[i[0],g,i[1]];n.setItemLayout(a,[h,m,v])})),n.setLayout("orient",[1,0,0])}(t,e):"geo3D"===n?function(t,e){var n=t.getData(),i=t.get("barSize"),r=t.get("minHeight")||0,o=["lng","lat","alt"].map((function(e){return t.coordDimToDataDim(e)[0]}));if(null==i){var a=Math.min(e.size[0],e.size[2]),s=kK(n,o[0],o[1]);i=[a/Math.sqrt(n.count()/s),a/Math.sqrt(n.count()/s)]}else he(i)||(i=[i,i]);var l=[0,1,0],u=zK(n,o);n.each(o,(function(t,o,a,s){var c=n.get(u.dimension,s),h=u.isStacked?c-a:e.altitudeAxis.scale.getExtent()[0],d=Math.max(e.altitudeAxis.dataToCoord(a),r),p=e.dataToPoint([t,o,h]),f=[i[0],d,i[1]];n.setItemLayout(s,[p,l,f])})),n.setLayout("orient",[1,0,0])}(t,e):"mapbox3D"!==n&&"maptalks3D"!==n||function(t,e){var n=t.getData(),i=t.coordDimToDataDim("lng")[0],r=t.coordDimToDataDim("lat")[0],o=t.coordDimToDataDim("alt")[0],a=t.get("barSize"),s=t.get("minHeight")||0;if(null==a){var l=n.getDataExtent(i),u=n.getDataExtent(r),c=e.dataToPoint([l[0],u[0]]),h=e.dataToPoint([l[1],u[1]]),d=Math.min(Math.abs(c[0]-h[0]),Math.abs(c[1]-h[1]))||1,p=kK(n,i,r);a=[d/Math.sqrt(n.count()/p),d/Math.sqrt(n.count()/p)]}else he(a)||(a=[a,a]),a[0]/=e.getScale()/16,a[1]/=e.getScale()/16;var f=[0,0,1],g=[i,r,o],m=zK(n,g);n.each(g,(function(t,i,r,o){var l=n.get(m.dimension,o),u=m.isStacked?l-r:0,c=e.dataToPoint([t,i,u]),h=e.dataToPoint([t,i,l]),d=Math.max(h[2]-c[2],s),p=[a[0],d,a[1]];n.setItemLayout(o,[c,f,p])})),n.setLayout("orient",[1,0,0])}(t,e)}))}))}var VK={};function GK(t,e,n){var i=t.getData(),r=t.getRawValue(e),o=he(r)?function(t){var r=[],o=function(t,e){var n=[];return re(t.dimensions,(function(i){var r=t.getDimensionInfo(i),o=r.otherDims[e];null!=o&&!1!==o&&(n[o]=r.name)})),n}(i,"tooltip");function a(t,e){var o=i.getDimensionInfo(e);if(o&&!1!==o.otherDims.tooltip){var a=o.type,s="- "+(o.tooltipName||o.name)+": "+("ordinal"===a?t+"":"time"===a?n?"":function(t,e){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var n=ma(e),i="get",r=n[i+"FullYear"](),o=n[i+"Month"]()+1,a=n[i+"Date"](),s=n[i+"Hours"](),l=n[i+"Minutes"](),u=n[i+"Seconds"](),c=n[i+"Milliseconds"]();return t.replace("MM",ap(o,2)).replace("M",o).replace("yyyy",r).replace("yy",ap(r%100+"",2)).replace("dd",ap(a,2)).replace("d",a).replace("hh",ap(s,2)).replace("h",s).replace("mm",ap(l,2)).replace("m",l).replace("ss",ap(u,2)).replace("s",u).replace("SSS",ap(c,3))}("yyyy/MM/dd hh:mm:ss",t):Mp(t));s&&r.push(yn(s))}}return o.length?re(o,(function(t){a(i.get(t,e),t)})):re(t,a),"<br/>"+r.join("<br/>")}(r):yn(Mp(r)),a=i.getName(e),s=AJ(i,e);me(s)&&s.colorStops&&(s=(s.colorStops[0]||{}).color);var l=Rp(s=s||"transparent"),u=t.name;return"\0-"===u&&(u=""),u=u?yn(u)+(n?": ":"<br/>"):"",n?l+u+o:u+l+(a?yn(a)+": "+o:o)}function UK(t,e,n){n=n||t.getSource();var i=e||B_(t.get("coordinateSystem"))||["x","y","z"],r=Sx(n,{dimensionsDefine:n.dimensionsDefine||t.get("dimensions"),encodeDefine:n.encodeDefine||t.get("encode"),coordDimensions:i.map((function(e){var n=t.getReferringComponents(e+"Axis3D").models[0];return{type:n&&"category"===n.get("type")?"ordinal":"float",name:e}}))});"cartesian3D"===t.get("coordinateSystem")&&r.forEach((function(e){if(i.indexOf(e.coordDim)>=0){var n=t.getReferringComponents(e.coordDim+"Axis3D").models[0];n&&"category"===n.get("type")&&(e.ordinalMeta=n.getOrdinalMeta())}}));var o=Vb.enableDataStack(t,r,{byIndex:!0,stackedCoordDimension:"z"}),a=new bx(r,t);return a.setCalculationInfo(o),a.initData(n),a}VK.getFormattedLabel=function(t,e,n,i,r){n=n||"normal";var o=t.getData(i).getItemModel(e),a=t.getDataParams(e,i);null!=r&&a.value instanceof Array&&(a.value=a.value[r]);var s,l=o.get("normal"===n?["label","formatter"]:["emphasis","label","formatter"]);return null==l&&(l=o.get(["label","formatter"])),"function"==typeof l?(a.status=n,s=l(a)):"string"==typeof l&&(s=Pp(l,a)),s},VK.normalizeToArray=function(t){return t instanceof Array?t:null==t?[]:[t]};var HK=Em.extend({type:"series.bar3D",dependencies:["globe"],visualStyleAccessPathvisu:"itemStyle",getInitialData:function(t,e){return UK(this)},getFormattedLabel:function(t,e,n,i){var r=VK.getFormattedLabel(this,t,e,n,i);return null==r&&(r=this.getData().get("z",t)),r},formatTooltip:function(t){return GK(this,t)},defaultOption:{coordinateSystem:"cartesian3D",globeIndex:0,grid3DIndex:0,zlevel:-10,bevelSize:0,bevelSmoothness:2,onGridPlane:"xy",shading:"color",minHeight:0,itemStyle:{opacity:1},label:{show:!1,distance:2,textStyle:{fontSize:14,color:"#000",backgroundColor:"rgba(255,255,255,0.7)",padding:3,borderRadius:3}},emphasis:{label:{show:!0}},animationDurationUpdate:500}});qt(HK.prototype,Hq);var WK,XK,jK,YK,ZK,QK,qK,JK,KK=rQ.vec3,$K=rQ.mat3,t$=Gj.extend((function(){return{attributes:{position:new Gj.Attribute("position","float",3,"POSITION"),normal:new Gj.Attribute("normal","float",3,"NORMAL"),color:new Gj.Attribute("color","float",4,"COLOR"),prevPosition:new Gj.Attribute("prevPosition","float",3),prevNormal:new Gj.Attribute("prevNormal","float",3)},dynamic:!0,enableNormal:!1,bevelSize:1,bevelSegments:0,_dataIndices:null,_vertexOffset:0,_triangleOffset:0}}),{resetOffset:function(){this._vertexOffset=0,this._triangleOffset=0},setBarCount:function(t){var e=this.enableNormal,n=this.getBarVertexCount()*t,i=this.getBarTriangleCount()*t;this.vertexCount!==n&&(this.attributes.position.init(n),e?this.attributes.normal.init(n):this.attributes.normal.value=null,this.attributes.color.init(n)),this.triangleCount!==i&&(this.indices=n>65535?new Uint32Array(3*i):new Uint16Array(3*i),this._dataIndices=new Uint32Array(n))},getBarVertexCount:function(){var t=this.bevelSize>0?this.bevelSegments:0;return t>0?this._getBevelBarVertexCount(t):this.enableNormal?24:8},getBarTriangleCount:function(){var t=this.bevelSize>0?this.bevelSegments:0;return t>0?this._getBevelBarTriangleCount(t):12},_getBevelBarVertexCount:function(t){return 4*(t+1)*(t+1)*2},_getBevelBarTriangleCount:function(t){return(4*t+3+1)*(2*t+1)*2+4},setColor:function(t,e){for(var n=this.getBarVertexCount(),i=n*(t+1),r=n*t;r<i;r++)this.attributes.color.set(r,e);this.dirtyAttribute("color")},getDataIndexOfVertex:function(t){return this._dataIndices?this._dataIndices[t]:null},addBar:function(){for(var t=KK.create,e=KK.scaleAndAdd,n=t(),i=t(),r=t(),o=t(),a=t(),s=t(),l=t(),u=[],c=[],h=0;h<8;h++)u[h]=t();var d=[[0,1,5,4],[2,3,7,6],[4,5,6,7],[3,2,1,0],[0,4,7,3],[1,2,6,5]],p=[0,1,2,0,2,3],f=[];for(h=0;h<d.length;h++)for(var g=d[h],m=0;m<2;m++){for(var v=[],y=0;y<3;y++)v.push(g[p[3*m+y]]);f.push(v)}return function(t,h,g,m,v,y){var _=this._vertexOffset;if(this.bevelSize>0&&this.bevelSegments>0)this._addBevelBar(t,h,g,m,this.bevelSize,this.bevelSegments,v);else{KK.copy(r,h),KK.normalize(r,r),KK.cross(o,g,r),KK.normalize(o,o),KK.cross(i,r,o),KK.normalize(o,o),KK.negate(a,i),KK.negate(s,r),KK.negate(l,o),e(u[0],t,i,m[0]/2),e(u[0],u[0],o,m[2]/2),e(u[1],t,i,m[0]/2),e(u[1],u[1],l,m[2]/2),e(u[2],t,a,m[0]/2),e(u[2],u[2],l,m[2]/2),e(u[3],t,a,m[0]/2),e(u[3],u[3],o,m[2]/2),e(n,t,r,m[1]),e(u[4],n,i,m[0]/2),e(u[4],u[4],o,m[2]/2),e(u[5],n,i,m[0]/2),e(u[5],u[5],l,m[2]/2),e(u[6],n,a,m[0]/2),e(u[6],u[6],l,m[2]/2),e(u[7],n,a,m[0]/2),e(u[7],u[7],o,m[2]/2);var x=this.attributes;if(this.enableNormal){c[0]=i,c[1]=a,c[2]=r,c[3]=s,c[4]=o,c[5]=l;for(var b=this._vertexOffset,w=0;w<d.length;w++){for(var S=3*this._triangleOffset,A=0;A<6;A++)this.indices[S++]=b+p[A];b+=4,this._triangleOffset+=2}for(w=0;w<d.length;w++){var T=c[w];for(A=0;A<4;A++){var M=d[w][A];x.position.set(this._vertexOffset,u[M]),x.normal.set(this._vertexOffset,T),x.color.set(this._vertexOffset++,v)}}}else{for(w=0;w<f.length;w++){for(S=3*this._triangleOffset,A=0;A<3;A++)this.indices[S+A]=f[w][A]+this._vertexOffset;this._triangleOffset++}for(w=0;w<u.length;w++)x.position.set(this._vertexOffset,u[w]),x.color.set(this._vertexOffset++,v)}}var I=this._vertexOffset;for(w=_;w<I;w++)this._dataIndices[w]=y}}(),_addBevelBar:(WK=KK.create(),XK=KK.create(),jK=KK.create(),YK=$K.create(),ZK=[],QK=[1,-1,-1,1],qK=[1,1,-1,-1],JK=[2,0],function(t,e,n,i,r,o,a){KK.copy(XK,e),KK.normalize(XK,XK),KK.cross(jK,n,XK),KK.normalize(jK,jK),KK.cross(WK,XK,jK),KK.normalize(jK,jK),YK[0]=WK[0],YK[1]=WK[1],YK[2]=WK[2],YK[3]=XK[0],YK[4]=XK[1],YK[5]=XK[2],YK[6]=jK[0],YK[7]=jK[1],YK[8]=jK[2],r=Math.min(i[0],i[2])/2*r;for(var s=0;s<3;s++)ZK[s]=Math.max(i[s]-2*r,0);var l=(i[0]-ZK[0])/2,u=(i[1]-ZK[1])/2,c=(i[2]-ZK[2])/2,h=[],d=[],p=this._vertexOffset,f=[];for(s=0;s<2;s++){f[s]=f[s]=[];for(var g=0;g<=o;g++)for(var m=0;m<4;m++){(0===g&&0===s||1===s&&g===o)&&f[s].push(p);for(var v=0;v<=o;v++){var y=v/o*Math.PI/2+Math.PI/2*m,_=g/o*Math.PI/2+Math.PI/2*s;d[0]=l*Math.cos(y)*Math.sin(_),d[1]=u*Math.cos(_),d[2]=c*Math.sin(y)*Math.sin(_),h[0]=d[0]+QK[m]*ZK[0]/2,h[1]=d[1]+u+JK[s]*ZK[1]/2,h[2]=d[2]+qK[m]*ZK[2]/2,Math.abs(l-u)<1e-6&&Math.abs(u-c)<1e-6||(d[0]/=l*l,d[1]/=u*u,d[2]/=c*c),KK.normalize(d,d),KK.transformMat3(h,h,YK),KK.transformMat3(d,d,YK),KK.add(h,h,t),this.attributes.position.set(p,h),this.enableNormal&&this.attributes.normal.set(p,d),this.attributes.color.set(p,a),p++}}}var x=4*o+3,b=2*o+1,w=x+1;for(m=0;m<b;m++)for(s=0;s<=x;s++){var S=m*w+s+this._vertexOffset,A=m*w+(s+1)%w+this._vertexOffset,T=(m+1)*w+(s+1)%w+this._vertexOffset,M=(m+1)*w+s+this._vertexOffset;this.setTriangleIndices(this._triangleOffset++,[T,S,A]),this.setTriangleIndices(this._triangleOffset++,[T,M,S])}this.setTriangleIndices(this._triangleOffset++,[f[0][0],f[0][2],f[0][1]]),this.setTriangleIndices(this._triangleOffset++,[f[0][0],f[0][3],f[0][2]]),this.setTriangleIndices(this._triangleOffset++,[f[1][0],f[1][1],f[1][2]]),this.setTriangleIndices(this._triangleOffset++,[f[1][0],f[1][2],f[1][3]]),this._vertexOffset=p})});$t(t$.prototype,iQ),$t(t$.prototype,SJ);var e$=rQ.vec3,n$=Um.extend({type:"bar3D",__ecgl__:!0,init:function(t,e){this.groupGL=new NZ.Node,this._api=e,this._labelsBuilder=new MJ(256,256,e);var n=this;this._labelsBuilder.getLabelPosition=function(t,e,i){if(n._data){var r=n._data.getItemLayout(t),o=r[0],a=r[1],s=r[2][1];return e$.scaleAndAdd([],o,a,i+s)}return[0,0]},this._labelsBuilder.getMesh().renderOrder=100},render:function(t,e,n){var i=this._prevBarMesh;this._prevBarMesh=this._barMesh,this._barMesh=i,this._barMesh||(this._barMesh=new NZ.Mesh({geometry:new t$,shadowDepthMaterial:new NZ.Material({shader:new NZ.Shader(NZ.Shader.source("ecgl.sm.depth.vertex"),NZ.Shader.source("ecgl.sm.depth.fragment"))}),culling:"cartesian3D"===t.coordinateSystem.type,renderOrder:10,renderNormal:!0})),this.groupGL.remove(this._prevBarMesh),this.groupGL.add(this._barMesh),this.groupGL.add(this._labelsBuilder.getMesh());var r=t.coordinateSystem;if(this._doRender(t,n),r&&r.viewGL){r.viewGL.add(this.groupGL);var o=r.viewGL.isLinearSpace()?"define":"undefine";this._barMesh.material[o]("fragment","SRGB_DECODE")}this._data=t.getData(),this._labelsBuilder.updateData(this._data),this._labelsBuilder.updateLabels(),this._updateAnimation(t)},_updateAnimation:function(t){NZ.updateVertexAnimation([["prevPosition","position"],["prevNormal","normal"]],this._prevBarMesh,this._barMesh,t)},_doRender:function(t,e){var n=t.getData(),i=t.get("shading"),r="color"!==i,o=this,a=this._barMesh,s="ecgl."+i;a.material&&a.material.shader.name===s||(a.material=NZ.createMaterial(s,["VERTEX_COLOR"])),NZ.setMaterialFromModel(i,a.material,t,e),a.geometry.enableNormal=r,a.geometry.resetOffset();var l=t.get("bevelSize"),u=t.get("bevelSmoothness");a.geometry.bevelSegments=u,a.geometry.bevelSize=l;var c=[],h=new Float32Array(4*n.count()),d=0,p=0,f=!1;n.each((function(t){if(n.hasValue(t)){var e=AJ(n,t),i=TJ(n,t);null==i&&(i=1),NZ.parseColor(e,c),c[3]*=i,h[d++]=c[0],h[d++]=c[1],h[d++]=c[2],h[d++]=c[3],c[3]>0&&(p++,c[3]<.99&&(f=!0))}})),a.geometry.setBarCount(p);var g=n.getLayout("orient"),m=this._barIndexOfData=new Int32Array(n.count());p=0;n.each((function(t){if(n.hasValue(t)){var e=n.getItemLayout(t),i=e[0],r=e[1],a=e[2],s=4*t;c[0]=h[s++],c[1]=h[s++],c[2]=h[s++],c[3]=h[s++],c[3]>0&&(o._barMesh.geometry.addBar(i,r,g,a,c,t),m[t]=p++)}else m[t]=-1})),a.geometry.dirty(),a.geometry.updateBoundingBox();var v=a.material;v.transparent=f,v.depthMask=!f,a.geometry.sortTriangles=f,this._initHandler(t,e)},_initHandler:function(t,e){var n=t.getData(),i=this._barMesh,r="cartesian3D"===t.coordinateSystem.type;i.seriesIndex=t.seriesIndex;var o=-1;i.off("mousemove"),i.off("mouseout"),i.on("mousemove",(function(t){var a=i.geometry.getDataIndexOfVertex(t.triangle[0]);a!==o&&(this._downplay(o),this._highlight(a),this._labelsBuilder.updateLabels([a]),r&&e.dispatchAction({type:"grid3DShowAxisPointer",value:[n.get("x",a),n.get("y",a),n.get("z",a,!0)]})),o=a,i.dataIndex=a}),this),i.on("mouseout",(function(t){this._downplay(o),this._labelsBuilder.updateLabels(),o=-1,i.dataIndex=-1,r&&e.dispatchAction({type:"grid3DHideAxisPointer"})}),this)},_highlight:function(t){var e=this._data;if(e){var n=this._barIndexOfData[t];if(!(n<0)){var i=e.getItemModel(t).getModel("emphasis.itemStyle"),r=i.get("color"),o=i.get("opacity");if(null==r)r=hr(AJ(e,t),-.4);null==o&&(o=TJ(e,t));var a=NZ.parseColor(r);a[3]*=o,this._barMesh.geometry.setColor(n,a),this._api.getZr().refresh()}}},_downplay:function(t){var e=this._data;if(e){var n=this._barIndexOfData[t];if(!(n<0)){var i=AJ(e,t),r=TJ(e,t),o=NZ.parseColor(i);o[3]*=r,this._barMesh.geometry.setColor(n,o),this._api.getZr().refresh()}}},highlight:function(t,e,n,i){this._toggleStatus("highlight",t,e,n,i)},downplay:function(t,e,n,i){this._toggleStatus("downplay",t,e,n,i)},_toggleStatus:function(t,e,n,i,r){var o=e.getData(),a=gZ(o,r),s=this;null!=a?re(VK.normalizeToArray(a),(function(e){"highlight"===t?this._highlight(e):this._downplay(e)}),this):o.each((function(e){"highlight"===t?s._highlight(e):s._downplay(e)}))},remove:function(){this.groupGL.removeAll()},dispose:function(){this._labelsBuilder.dispose(),this.groupGL.removeAll()}});Z_((function(t){t.registerChartView(n$),t.registerSeriesModel(HK),FK(t),t.registerProcessor((function(t,e){t.eachSeriesByType("bar3d",(function(t){var e=t.getData();e.filterSelf((function(t){return e.hasValue(t)}))}))}))}));var i$=Em.extend({type:"series.line3D",dependencies:["grid3D"],visualStyleAccessPath:"lineStyle",visualDrawType:"stroke",getInitialData:function(t,e){return UK(this)},formatTooltip:function(t){return GK(this,t)},defaultOption:{coordinateSystem:"cartesian3D",zlevel:-10,grid3DIndex:0,lineStyle:{width:2},animationDurationUpdate:500}}),r$=rQ.vec3;NZ.Shader.import(SQ);var o$=Um.extend({type:"line3D",__ecgl__:!0,init:function(t,e){this.groupGL=new NZ.Node,this._api=e},render:function(t,e,n){var i=this._prevLine3DMesh;this._prevLine3DMesh=this._line3DMesh,this._line3DMesh=i,this._line3DMesh||(this._line3DMesh=new NZ.Mesh({geometry:new sQ({useNativeLine:!1,sortTriangles:!0}),material:new NZ.Material({shader:NZ.createShader("ecgl.meshLines3D")}),renderOrder:10}),this._line3DMesh.geometry.pick=this._pick.bind(this)),this.groupGL.remove(this._prevLine3DMesh),this.groupGL.add(this._line3DMesh);var r=t.coordinateSystem;if(r&&r.viewGL){r.viewGL.add(this.groupGL);var o=r.viewGL.isLinearSpace()?"define":"undefine";this._line3DMesh.material[o]("fragment","SRGB_DECODE")}this._doRender(t,n),this._data=t.getData(),this._camera=r.viewGL.camera,this.updateCamera(),this._updateAnimation(t)},updateCamera:function(){this._updateNDCPosition()},_doRender:function(t,e){var n=t.getData(),i=this._line3DMesh;i.geometry.resetOffset();var r=n.getLayout("points"),o=[],a=new Float32Array(r.length/3*4),s=0,l=!1;n.each((function(t){var e=AJ(n,t),i=TJ(n,t);null==i&&(i=1),NZ.parseColor(e,o),o[3]*=i,a[s++]=o[0],a[s++]=o[1],a[s++]=o[2],a[s++]=o[3],o[3]<.99&&(l=!0)})),i.geometry.setVertexCount(i.geometry.getPolylineVertexCount(r)),i.geometry.setTriangleCount(i.geometry.getPolylineTriangleCount(r)),i.geometry.addPolyline(r,a,fZ(t.get("lineStyle.width"),1)),i.geometry.dirty(),i.geometry.updateBoundingBox();var u=i.material;u.transparent=l,u.depthMask=!l;var c=t.getModel("debug.wireframe");c.get("show")?(i.geometry.createAttribute("barycentric","float",3),i.geometry.generateBarycentric(),i.material.set("both","WIREFRAME_TRIANGLE"),i.material.set("wireframeLineColor",NZ.parseColor(c.get("lineStyle.color")||"rgba(0,0,0,0.5)")),i.material.set("wireframeLineWidth",fZ(c.get("lineStyle.width"),1))):i.material.set("both","WIREFRAME_TRIANGLE"),this._points=r,this._initHandler(t,e)},_updateAnimation:function(t){NZ.updateVertexAnimation([["prevPosition","position"],["prevPositionPrev","positionPrev"],["prevPositionNext","positionNext"]],this._prevLine3DMesh,this._line3DMesh,t)},_initHandler:function(t,e){var n=t.getData(),i=t.coordinateSystem,r=this._line3DMesh,o=-1;r.seriesIndex=t.seriesIndex,r.off("mousemove"),r.off("mouseout"),r.on("mousemove",(function(t){var a=i.pointToData(t.point.array),s=n.indicesOfNearest("x",a[0])[0];s!==o&&(e.dispatchAction({type:"grid3DShowAxisPointer",value:[n.get("x",s),n.get("y",s),n.get("z",s)]}),r.dataIndex=s),o=s}),this),r.on("mouseout",(function(t){o=-1,r.dataIndex=-1,e.dispatchAction({type:"grid3DHideAxisPointer"})}),this)},_updateNDCPosition:function(){var t=new nj,e=this._camera;nj.multiply(t,e.projectionMatrix,e.viewMatrix);var n=this._positionNDC,i=this._points,r=i.length/3;n&&n.length/2===r||(n=this._positionNDC=new Float32Array(2*r));for(var o=[],a=0;a<r;a++){var s=3*a,l=2*a;o[0]=i[s],o[1]=i[s+1],o[2]=i[s+2],o[3]=1,r$.transformMat4(o,o,t.array),n[l]=o[0]/o[3],n[l+1]=o[1]/o[3]}},_pick:function(t,e,n,i,r,o){var a=this._positionNDC,s=this._data.hostModel.get("lineStyle.width"),l=-1,u=.5*n.viewport.width,c=.5*n.viewport.height;t=(t+1)*u,e=(e+1)*c;for(var h=1;h<a.length/2;h++){var d=(a[2*(h-1)]+1)*u,p=(a[2*(h-1)+1]+1)*c,f=(a[2*h]+1)*u,g=(a[2*h+1]+1)*c;if(ml(d,p,f,g,s,t,e))l=(d-t)*(d-t)+(p-e)*(p-e)<(f-t)*(f-t)+(g-e)*(g-e)?h-1:h}if(l>=0){var m=3*l,v=new LX(this._points[m],this._points[m+1],this._points[m+2]);o.push({dataIndex:l,point:v,pointWorld:v.clone(),target:this._line3DMesh,distance:this._camera.getWorldPosition().dist(v)})}},remove:function(){this.groupGL.removeAll()},dispose:function(){this.groupGL.removeAll()}});Z_((function(t){t.registerChartView(o$),t.registerSeriesModel(i$),t.registerLayout((function(t,e){t.eachSeriesByType("line3D",(function(t){var e=t.getData(),n=t.coordinateSystem;if(n){if("cartesian3D"!==n.type)return;var i=new Float32Array(3*e.count()),r=[],o=[],a=n.dimensions.map((function(e){return t.coordDimToDataDim(e)[0]}));n&&e.each(a,(function(t,e,a,s){r[0]=t,r[1]=e,r[2]=a,n.dataToPoint(r,o),i[3*s]=o[0],i[3*s+1]=o[1],i[3*s+2]=o[2]})),e.setLayout("points",i)}}))}))}));var a$=Em.extend({type:"series.scatter3D",dependencies:["globe","grid3D","geo3D"],visualStyleAccessPath:"itemStyle",hasSymbolVisual:!0,getInitialData:function(t,e){return UK(this)},getFormattedLabel:function(t,e,n,i){var r=VK.getFormattedLabel(this,t,e,n,i);if(null==r){var o=this.getData(),a=o.dimensions[o.dimensions.length-1];r=o.get(a,t)}return r},formatTooltip:function(t){return GK(this,t)},defaultOption:{coordinateSystem:"cartesian3D",zlevel:-10,progressive:1e5,progressiveThreshold:1e5,grid3DIndex:0,globeIndex:0,symbol:"circle",symbolSize:10,blendMode:"source-over",label:{show:!1,position:"right",distance:5,textStyle:{fontSize:14,color:"#000",backgroundColor:"rgba(255,255,255,0.7)",padding:3,borderRadius:3}},itemStyle:{opacity:.8},emphasis:{label:{show:!0}},animationDurationUpdate:500}});function s$(t,e,n){(e=e||document.createElement("canvas")).width=t,e.height=t;var i=e.getContext("2d");return n&&n(i),e}var l$={getMarginByStyle:function(t){var e=t.minMargin||0,n=0;t.stroke&&"none"!==t.stroke&&(n=null==t.lineWidth?1:t.lineWidth);var i=t.shadowBlur||0,r=t.shadowOffsetX||0,o=t.shadowOffsetY||0,a={};return a.left=Math.max(n/2,-r+i,e),a.right=Math.max(n/2,r+i,e),a.top=Math.max(n/2,-o+i,e),a.bottom=Math.max(n/2,o+i,e),a},createSymbolSprite:function(t,e,n,i){var r=function(t,e,n,i){he(e)||(e=[e,e]);var r=l$.getMarginByStyle(n,i),o=e[0]+r.left+r.right,a=e[1]+r.top+r.bottom,s=ty(t,0,0,e[0],e[1]),l=Math.max(o,a);s.x=r.left,s.y=r.top,o>a?s.y+=(l-a)/2:s.x+=(l-o)/2;var u=s.getBoundingRect();return s.x-=u.x,s.y-=u.y,s.setStyle(n),s.update(),s.__size=l,s}(t,e,n),o=l$.getMarginByStyle(n);return{image:s$(r.__size,i,(function(t){My(t,r)})),margin:o}},createSDFFromCanvas:function(t,e,n,i){return s$(e,i,(function(e){var i=t.getContext("2d").getImageData(0,0,t.width,t.height);e.putImageData(function(t,e,n){var i=e.width,r=e.height,o=t.canvas.width,a=t.canvas.height,s=i/o,l=r/a;function u(t){return t<128?1:-1}function c(t,o){var a=1/0;t=Math.floor(t*s);for(var c=(o=Math.floor(o*l))*i+t,h=u(e.data[4*c]),d=Math.max(o-n,0);d<Math.min(o+n,r);d++)for(var p=Math.max(t-n,0);p<Math.min(t+n,i);p++){c=d*i+p;var f=p-t,g=d-o;if(h!==u(e.data[4*c])){var m=f*f+g*g;m<a&&(a=m)}}return h*Math.sqrt(a)}for(var h=t.createImageData(o,a),d=0;d<a;d++)for(var p=0;p<o;p++){var f=c(p,d)/n*.5+.5,g=4*(d*o+p);h.data[g++]=255*(1-f),h.data[g++]=255*(1-f),h.data[g++]=255*(1-f),h.data[g++]=255}return h}(e,i,n),0,0)}))},createSimpleSprite:function(t,e){return s$(t,e,(function(e){var n=t/2;e.beginPath(),e.arc(n,n,60,0,2*Math.PI,!1),e.closePath();var i=e.createRadialGradient(n,n,0,n,n,n);i.addColorStop(0,"rgba(255, 255, 255, 1)"),i.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),i.addColorStop(1,"rgba(255, 255, 255, 0)"),e.fillStyle=i,e.fill()}))}},u$=rQ.vec3,c$={needsSortVertices:function(){return this.sortVertices},needsSortVerticesProgressively:function(){return this.needsSortVertices()&&this.vertexCount>=2e4},doSortVertices:function(t,e){var n=this.indices,i=u$.create();if(!n){n=this.indices=this.vertexCount>65535?new Uint32Array(this.vertexCount):new Uint16Array(this.vertexCount);for(var r=0;r<n.length;r++)n[r]=r}if(0===e){var o,a=this.attributes.position,s=(t=t.array,0);this._zList&&this._zList.length===this.vertexCount||(this._zList=new Float32Array(this.vertexCount));for(r=0;r<this.vertexCount;r++){a.get(r,i);var l=u$.sqrDist(i,t);isNaN(l)&&(l=1e7,s++),0===r?(o=l,l=0):l-=o,this._zList[r]=l}this._noneCount=s}if(this.vertexCount<2e4)0===e&&this._simpleSort(this._noneCount/this.vertexCount>.05);else for(r=0;r<3;r++)this._progressiveQuickSort(3*e+r);this.dirtyIndices()},_simpleSort:function(t){var e=this._zList,n=this.indices;function i(t,n){return e[n]-e[t]}t?Array.prototype.sort.call(n,i):yJ.sort(n,i,0,n.length-1)},_progressiveQuickSort:function(t){var e=this._zList,n=this.indices;this._quickSort=this._quickSort||new yJ,this._quickSort.step(n,(function(t,n){return e[n]-e[t]}),t)}},h$=rQ.vec4;NZ.Shader.import("@export ecgl.sdfSprite.vertex\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform float elapsedTime : 0;\n\nattribute vec3 position : POSITION;\n\n#ifdef VERTEX_SIZE\nattribute float size;\n#else\nuniform float u_Size;\n#endif\n\n#ifdef VERTEX_COLOR\nattribute vec4 a_FillColor: COLOR;\nvarying vec4 v_Color;\n#endif\n\n#ifdef VERTEX_ANIMATION\nattribute vec3 prevPosition;\nattribute float prevSize;\nuniform float percent : 1.0;\n#endif\n\n\n#ifdef POSITIONTEXTURE_ENABLED\nuniform sampler2D positionTexture;\n#endif\n\nvarying float v_Size;\n\nvoid main()\n{\n\n#ifdef POSITIONTEXTURE_ENABLED\n gl_Position = worldViewProjection * vec4(texture2D(positionTexture, position.xy).xy, -10.0, 1.0);\n#else\n\n #ifdef VERTEX_ANIMATION\n vec3 pos = mix(prevPosition, position, percent);\n #else\n vec3 pos = position;\n #endif\n gl_Position = worldViewProjection * vec4(pos, 1.0);\n#endif\n\n#ifdef VERTEX_SIZE\n#ifdef VERTEX_ANIMATION\n v_Size = mix(prevSize, size, percent);\n#else\n v_Size = size;\n#endif\n#else\n v_Size = u_Size;\n#endif\n\n#ifdef VERTEX_COLOR\n v_Color = a_FillColor;\n #endif\n\n gl_PointSize = v_Size;\n}\n\n@end\n\n@export ecgl.sdfSprite.fragment\n\nuniform vec4 color: [1, 1, 1, 1];\nuniform vec4 strokeColor: [1, 1, 1, 1];\nuniform float smoothing: 0.07;\n\nuniform float lineWidth: 0.0;\n\n#ifdef VERTEX_COLOR\nvarying vec4 v_Color;\n#endif\n\nvarying float v_Size;\n\nuniform sampler2D sprite;\n\n@import clay.util.srgb\n\nvoid main()\n{\n gl_FragColor = color;\n\n vec4 _strokeColor = strokeColor;\n\n#ifdef VERTEX_COLOR\n gl_FragColor *= v_Color;\n #endif\n\n#ifdef SPRITE_ENABLED\n float d = texture2D(sprite, gl_PointCoord).r;\n gl_FragColor.a *= smoothstep(0.5 - smoothing, 0.5 + smoothing, d);\n\n if (lineWidth > 0.0) {\n float sLineWidth = lineWidth / 2.0;\n\n float outlineMaxValue0 = 0.5 + sLineWidth;\n float outlineMaxValue1 = 0.5 + sLineWidth + smoothing;\n float outlineMinValue0 = 0.5 - sLineWidth - smoothing;\n float outlineMinValue1 = 0.5 - sLineWidth;\n\n if (d <= outlineMaxValue1 && d >= outlineMinValue0) {\n float a = _strokeColor.a;\n if (d <= outlineMinValue1) {\n a = a * smoothstep(outlineMinValue0, outlineMinValue1, d);\n }\n else {\n a = a * smoothstep(outlineMaxValue1, outlineMaxValue0, d);\n }\n gl_FragColor.rgb = mix(gl_FragColor.rgb * gl_FragColor.a, _strokeColor.rgb, a);\n gl_FragColor.a = gl_FragColor.a * (1.0 - a) + a;\n }\n }\n#endif\n\n#ifdef SRGB_DECODE\n gl_FragColor = sRGBToLinear(gl_FragColor);\n#endif\n}\n@end");var d$=NZ.Mesh.extend((function(){var t=new NZ.Geometry({dynamic:!0,attributes:{color:new NZ.Geometry.Attribute("color","float",4,"COLOR"),position:new NZ.Geometry.Attribute("position","float",3,"POSITION"),size:new NZ.Geometry.Attribute("size","float",1),prevPosition:new NZ.Geometry.Attribute("prevPosition","float",3),prevSize:new NZ.Geometry.Attribute("prevSize","float",1)}});Object.assign(t,c$);var e=new NZ.Material({shader:NZ.createShader("ecgl.sdfSprite"),transparent:!0,depthMask:!1});e.enableTexture("sprite"),e.define("both","VERTEX_COLOR"),e.define("both","VERTEX_SIZE");var n=new NZ.Texture2D({image:document.createElement("canvas"),flipY:!1});return e.set("sprite",n),t.pick=this._pick.bind(this),{geometry:t,material:e,mode:NZ.Mesh.POINTS,sizeScale:1}}),{_pick:function(t,e,n,i,r,o){var a=this._positionNDC;if(a)for(var s=n.viewport,l=2/s.width,u=2/s.height,c=this.geometry.vertexCount-1;c>=0;c--){var h,d=a[2*(h=this.geometry.indices?this.geometry.indices[c]:c)],p=a[2*h+1],f=this.geometry.attributes.size.get(h)/this.sizeScale/2;if(t>d-f*l&&t<d+f*l&&e>p-f*u&&e<p+f*u){var g=new NZ.Vector3,m=new NZ.Vector3;this.geometry.attributes.position.get(h,g.array),NZ.Vector3.transformMat4(m,g,this.worldTransform),o.push({vertexIndex:h,point:g,pointWorld:m,target:this,distance:m.distance(i.getWorldPosition())})}}},updateNDCPosition:function(t,e,n){var i=this._positionNDC,r=this.geometry;i&&i.length/2===r.vertexCount||(i=this._positionNDC=new Float32Array(2*r.vertexCount));for(var o=h$.create(),a=0;a<r.vertexCount;a++)r.attributes.position.get(a,o),o[3]=1,h$.transformMat4(o,o,t.array),h$.scale(o,o,1/o[3]),i[2*a]=o[0],i[2*a+1]=o[1]}});function p$(t,e){this.rootNode=new NZ.Node,this.is2D=t,this._labelsBuilder=new MJ(256,256,e),this._labelsBuilder.getMesh().renderOrder=100,this.rootNode.add(this._labelsBuilder.getMesh()),this._api=e,this._spriteImageCanvas=document.createElement("canvas"),this._startDataIndex=0,this._endDataIndex=0,this._sizeScale=1}p$.prototype={constructor:p$,highlightOnMouseover:!0,update:function(t,e,n,i,r){var o=this._prevMesh;this._prevMesh=this._mesh,this._mesh=o;var a=t.getData();if(null==i&&(i=0),null==r&&(r=a.count()),this._startDataIndex=i,this._endDataIndex=r-1,!this._mesh){var s=this._prevMesh&&this._prevMesh.material;this._mesh=new d$({renderOrder:10,frustumCulling:!1}),s&&(this._mesh.material=s)}s=this._mesh.material;var l=this._mesh.geometry,u=l.attributes;this.rootNode.remove(this._prevMesh),this.rootNode.add(this._mesh),this._setPositionTextureToMesh(this._mesh,this._positionTexture);var c=this._getSymbolInfo(t,i,r),h=n.getDevicePixelRatio(),d=t.getModel("itemStyle").getItemStyle(),p=t.get("large"),f=1;c.maxSize>2?(f=this._updateSymbolSprite(t,d,c,h),s.enableTexture("sprite")):s.disableTexture("sprite"),u.position.init(r-i);var g=[];if(p){s.undefine("VERTEX_SIZE"),s.undefine("VERTEX_COLOR");var m=function(t){var e=t.getVisual("style");if(e)return e[t.getVisual("drawType")]}(a),v=function(t){return t.getVisual("style").opacity}(a);NZ.parseColor(m,g),g[3]*=v,s.set({color:g,u_Size:c.maxSize*this._sizeScale})}else s.set({color:[1,1,1,1]}),s.define("VERTEX_SIZE"),s.define("VERTEX_COLOR"),u.size.init(r-i),u.color.init(r-i),this._originalOpacity=new Float32Array(r-i);for(var y=a.getLayout("points"),_=u.position.value,x=0;x<r-i;x++){var b=3*x,w=2*x;if(this.is2D?(_[b]=y[w],_[b+1]=y[w+1],_[b+2]=-10):(_[b]=y[b],_[b+1]=y[b+1],_[b+2]=y[b+2]),!p){m=AJ(a,x),v=TJ(a,x);NZ.parseColor(m,g),g[3]*=v,u.color.set(x,g),g[3];var S=a.getItemVisual(x,"symbolSize");S=S instanceof Array?Math.max(S[0],S[1]):S,isNaN(S)&&(S=0),u.size.value[x]=S*f*this._sizeScale,this._originalOpacity[x]=g[3]}}this._mesh.sizeScale=f,l.updateBoundingBox(),l.dirty(),this._updateMaterial(t,d);var A=t.coordinateSystem;A&&A.viewGL&&s[A.viewGL.isLinearSpace()?"define":"undefine"]("fragment","SRGB_DECODE");p||this._updateLabelBuilder(t,i,r),this._updateHandler(t,e,n),this._updateAnimation(t),this._api=n},getPointsMesh:function(){return this._mesh},updateLabels:function(t){this._labelsBuilder.updateLabels(t)},hideLabels:function(){this.rootNode.remove(this._labelsBuilder.getMesh())},showLabels:function(){this.rootNode.add(this._labelsBuilder.getMesh())},dispose:function(){this._labelsBuilder.dispose()},_updateSymbolSprite:function(t,e,n,i){n.maxSize=Math.min(2*n.maxSize,200);var r,o,a=[];return n.aspect>1?(a[0]=n.maxSize,a[1]=n.maxSize/n.aspect):(a[1]=n.maxSize,a[0]=n.maxSize*n.aspect),a[0]=a[0]||1,a[1]=a[1]||1,this._symbolType===n.type&&(r=this._symbolSize,o=a,r&&o&&r[0]===o[0]&&r[1]===o[1])&&this._lineWidth===e.lineWidth||(l$.createSymbolSprite(n.type,a,{fill:"#fff",lineWidth:e.lineWidth,stroke:"transparent",shadowColor:"transparent",minMargin:Math.min(a[0]/2,10)},this._spriteImageCanvas),l$.createSDFFromCanvas(this._spriteImageCanvas,Math.min(this._spriteImageCanvas.width,32),20,this._mesh.material.get("sprite").image),this._symbolType=n.type,this._symbolSize=a,this._lineWidth=e.lineWidth),this._spriteImageCanvas.width/n.maxSize*i},_updateMaterial:function(t,e){var n="lighter"===t.get("blendMode")?NZ.additiveBlend:null,i=this._mesh.material;i.blend=n,i.set("lineWidth",e.lineWidth/20);var r=NZ.parseColor(e.stroke);i.set("strokeColor",r),i.transparent=!0,i.depthMask=!1,i.depthTest=!this.is2D,i.sortVertices=!this.is2D},_updateLabelBuilder:function(t,e,n){var i=t.getData(),r=this._mesh.geometry,o=r.attributes.position.value,a=(e=this._startDataIndex,this._mesh.sizeScale);this._labelsBuilder.updateData(i,e,n),this._labelsBuilder.getLabelPosition=function(t,n,i){var r=3*(t-e);return[o[r],o[r+1],o[r+2]]},this._labelsBuilder.getLabelDistance=function(t,n,i){return r.attributes.size.get(t-e)/a/2+i},this._labelsBuilder.updateLabels()},_updateAnimation:function(t){NZ.updateVertexAnimation([["prevPosition","position"],["prevSize","size"]],this._prevMesh,this._mesh,t)},_updateHandler:function(t,e,n){var i,r=t.getData(),o=this._mesh,a=this,s=-1,l=t.coordinateSystem&&"cartesian3D"===t.coordinateSystem.type;l&&(i=t.coordinateSystem.model),o.seriesIndex=t.seriesIndex,o.off("mousemove"),o.off("mouseout"),o.on("mousemove",(function(e){var u=e.vertexIndex+a._startDataIndex;u!==s&&(this.highlightOnMouseover&&(this.downplay(r,s),this.highlight(r,u),this._labelsBuilder.updateLabels([u])),l&&n.dispatchAction({type:"grid3DShowAxisPointer",value:[r.get(t.coordDimToDataDim("x")[0],u),r.get(t.coordDimToDataDim("y")[0],u),r.get(t.coordDimToDataDim("z")[0],u)],grid3DIndex:i.componentIndex})),o.dataIndex=u,s=u}),this),o.on("mouseout",(function(t){var e=t.vertexIndex+a._startDataIndex;this.highlightOnMouseover&&(this.downplay(r,e),this._labelsBuilder.updateLabels()),s=-1,o.dataIndex=-1,l&&n.dispatchAction({type:"grid3DHideAxisPointer",grid3DIndex:i.componentIndex})}),this)},updateLayout:function(t,e,n){var i=t.getData();if(this._mesh){var r=this._mesh.geometry.attributes.position.value,o=i.getLayout("points");if(this.is2D)for(var a=0;a<o.length/2;a++){var s=3*a,l=2*a;r[s]=o[l],r[s+1]=o[l+1],r[s+2]=-10}else for(a=0;a<o.length;a++)r[a]=o[a];this._mesh.geometry.dirty(),n.getZr().refresh()}},updateView:function(t){if(this._mesh){var e=new nj;nj.mul(e,t.viewMatrix,this._mesh.worldTransform),nj.mul(e,t.projectionMatrix,e),this._mesh.updateNDCPosition(e,this.is2D,this._api)}},highlight:function(t,e){if(!(e>this._endDataIndex||e<this._startDataIndex)){var n=t.getItemModel(e).getModel("emphasis.itemStyle"),i=n.get("color"),r=n.get("opacity");if(null==i)i=hr(AJ(t,e),-.4);null==r&&(r=TJ(t,e));var o=NZ.parseColor(i);o[3]*=r,this._mesh.geometry.attributes.color.set(e-this._startDataIndex,o),this._mesh.geometry.dirtyAttribute("color"),this._api.getZr().refresh()}},downplay:function(t,e){if(!(e>this._endDataIndex||e<this._startDataIndex)){var n=AJ(t,e),i=TJ(t,e),r=NZ.parseColor(n);r[3]*=i,this._mesh.geometry.attributes.color.set(e-this._startDataIndex,r),this._mesh.geometry.dirtyAttribute("color"),this._api.getZr().refresh()}},fadeOutAll:function(t){if(this._originalOpacity){for(var e=this._mesh.geometry,n=0;n<e.vertexCount;n++){var i=this._originalOpacity[n]*t;e.attributes.color.value[4*n+3]=i}e.dirtyAttribute("color"),this._api.getZr().refresh()}},fadeInAll:function(){this.fadeOutAll(1)},setPositionTexture:function(t){this._mesh&&this._setPositionTextureToMesh(this._mesh,t),this._positionTexture=t},removePositionTexture:function(){this._positionTexture=null,this._mesh&&this._setPositionTextureToMesh(this._mesh,null)},setSizeScale:function(t){if(t!==this._sizeScale){if(this._mesh){var e=this._mesh.material.get("u_Size");this._mesh.material.set("u_Size",e/this._sizeScale*t);var n=this._mesh.geometry.attributes;if(n.size.value)for(var i=0;i<n.size.value.length;i++)n.size.value[i]=n.size.value[i]/this._sizeScale*t}this._sizeScale=t}},_setPositionTextureToMesh:function(t,e){e&&t.material.set("positionTexture",e),t.material[e?"enableTexture":"disableTexture"]("positionTexture")},_getSymbolInfo:function(t,e,n){if(t.get("large"))return(u=fZ(t.get("symbolSize"),1))instanceof Array?(a=Math.max(u[0],u[1]),i=u[0]/u[1]):(a=u,i=1),{maxSize:u,type:t.get("symbol"),aspect:i};for(var i,r=t.getData(),o=r.getItemVisual(0,"symbol")||"circle",a=0,s=e;s<n;s++){var l,u=r.getItemVisual(s,"symbolSize"),c=r.getItemVisual(s,"symbol");if(u instanceof Array)l=u[0]/u[1],a=Math.max(Math.max(u[0],u[1]),a);else{if(isNaN(u))continue;l=1,a=Math.max(u,a)}o=c,i=l}return{maxSize:a,type:o,aspect:i}}};var f$=Um.extend({type:"scatter3D",hasSymbolVisual:!0,__ecgl__:!0,init:function(t,e){this.groupGL=new NZ.Node,this._pointsBuilderList=[],this._currentStep=0},render:function(t,e,n){if(this.groupGL.removeAll(),t.getData().count()){var i=t.coordinateSystem;if(i&&i.viewGL){i.viewGL.add(this.groupGL),this._camera=i.viewGL.camera;var r=this._pointsBuilderList[0];r||(r=this._pointsBuilderList[0]=new p$(!1,n)),this._pointsBuilderList.length=1,this.groupGL.add(r.rootNode),r.update(t,e,n),r.updateView(i.viewGL.camera)}}},incrementalPrepareRender:function(t,e,n){var i=t.coordinateSystem;i&&i.viewGL&&(i.viewGL.add(this.groupGL),this._camera=i.viewGL.camera),this.groupGL.removeAll(),this._currentStep=0},incrementalRender:function(t,e,n,i){if(!(t.end<=t.start)){var r=this._pointsBuilderList[this._currentStep];r||(r=new p$(!1,i),this._pointsBuilderList[this._currentStep]=r),this.groupGL.add(r.rootNode),r.update(e,n,i,t.start,t.end),r.updateView(e.coordinateSystem.viewGL.camera),this._currentStep++}},updateCamera:function(){this._pointsBuilderList.forEach((function(t){t.updateView(this._camera)}),this)},highlight:function(t,e,n,i){this._toggleStatus("highlight",t,e,n,i)},downplay:function(t,e,n,i){this._toggleStatus("downplay",t,e,n,i)},_toggleStatus:function(t,e,n,i,r){var o=e.getData(),a=gZ(o,r),s="highlight"===t;null!=a?re(VK.normalizeToArray(a),(function(t){for(var e=0;e<this._pointsBuilderList.length;e++){var n=this._pointsBuilderList[e];s?n.highlight(o,t):n.downplay(o,t)}}),this):o.each((function(t){for(var e=0;e<this._pointsBuilderList.length;e++){var n=this._pointsBuilderList[e];s?n.highlight(o,t):n.downplay(o,t)}}))},dispose:function(){this._pointsBuilderList.forEach((function(t){t.dispose()})),this.groupGL.removeAll()},remove:function(){this.groupGL.removeAll()}});Z_((function(t){t.registerChartView(f$),t.registerSeriesModel(a$),t.registerLayout({seriesType:"scatter3D",reset:function(t){var e=t.coordinateSystem;if(e){var n=e.dimensions;if(n.length<3)return;var i=n.map((function(e){return t.coordDimToDataDim(e)[0]})),r=[],o=[];return{progress:function(t,n){for(var a=new Float32Array(3*(t.end-t.start)),s=t.start;s<t.end;s++){var l=3*(s-t.start);r[0]=n.get(i[0],s),r[1]=n.get(i[1],s),r[2]=n.get(i[2],s),e.dataToPoint(r,o),a[l]=o[0],a[l+1]=o[1],a[l+2]=o[2]}n.setLayout("points",a)}}}}})}));var g$=rQ.vec3,m$=rQ.vec2,v$=g$.normalize,y$=g$.cross,_$=g$.sub,x$=g$.add,b$=g$.create,w$=b$(),S$=b$(),A$=b$(),T$=b$(),M$=[],I$=[];function C$(t,e){m$.copy(M$,t[0]),m$.copy(I$,t[1]);var n=[],i=n[0]=b$(),r=n[1]=b$(),o=n[2]=b$(),a=n[3]=b$();e.dataToPoint(M$,i),e.dataToPoint(I$,a),v$(w$,i),_$(S$,a,i),v$(S$,S$),y$(A$,S$,w$),v$(A$,A$),y$(S$,w$,A$),x$(r,w$,S$),v$(r,r),v$(w$,a),_$(S$,i,a),v$(S$,S$),y$(A$,S$,w$),v$(A$,A$),y$(S$,w$,A$),x$(o,w$,S$),v$(o,o),x$(T$,i,a),v$(T$,T$);var s=g$.dot(i,T$),l=g$.dot(T$,r),u=(Math.max(g$.len(i),g$.len(a))-s)/l*2;return g$.scaleAndAdd(r,i,r,u),g$.scaleAndAdd(o,a,o,u),n}function D$(t,e){for(var n=new Float32Array(3*t.length),i=0,r=[],o=0;o<t.length;o++)e.dataToPoint(t[o],r),n[i++]=r[0],n[i++]=r[1],n[i++]=r[2];return n}function E$(t){var e=[];return t.each((function(n){var i=t.getItemModel(n),r=i.option instanceof Array?i.option:i.getShallow("coords",!0);e.push(r)})),{coordsList:e}}function L$(t,e,n){var i=t.getData(),r=t.get("polyline"),o=E$(i);i.setLayout("lineType",r?"polyline":"cubicBezier"),i.each((function(t){var a=o.coordsList[t],s=r?D$(a,e):function(t,e,n){var i=[],r=i[0]=g$.create(),o=i[1]=g$.create(),a=i[2]=g$.create(),s=i[3]=g$.create();e.dataToPoint(t[0],r),e.dataToPoint(t[1],s);var l=g$.dist(r,s);return g$.lerp(o,r,s,.3),g$.lerp(a,r,s,.3),g$.scaleAndAdd(o,o,n,Math.min(.1*l,10)),g$.scaleAndAdd(a,a,n,Math.min(.1*l,10)),i}(a,e,n);i.setItemLayout(t,s)}))}function P$(t,e){t.eachSeriesByType("lines3D",(function(t){var e=t.coordinateSystem;"globe"===e.type?function(t,e){var n=t.getData(),i=t.get("polyline");n.setLayout("lineType",i?"polyline":"cubicBezier");var r=E$(n);n.each((function(t){var o=r.coordsList[t],a=i?D$:C$;n.setItemLayout(t,a(o,e))}))}(t,e):"geo3D"===e.type?L$(t,e,[0,1,0]):"mapbox3D"!==e.type&&"maptalks3D"!==e.type||L$(t,e,[0,0,1])}))}var R$=Em.extend({type:"series.lines3D",dependencies:["globe"],visualStyleAccessPath:"lineStyle",visualDrawType:"stroke",getInitialData:function(t,e){var n=new bx(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],(function(t,e,i,r){if(t instanceof Array)return NaN;n.hasItemOption=!0;var o=t.value;return null!=o?o instanceof Array?o[r]:o:void 0})),n},defaultOption:{coordinateSystem:"globe",globeIndex:0,geo3DIndex:0,zlevel:-10,polyline:!1,effect:{show:!1,period:4,trailWidth:4,trailLength:.2,spotIntensity:6},silent:!0,blendMode:"source-over",lineStyle:{width:1,opacity:.5}}}),N$=rQ.vec3;NZ.Shader.import("@export ecgl.trail2.vertex\nattribute vec3 position: POSITION;\nattribute vec3 positionPrev;\nattribute vec3 positionNext;\nattribute float offset;\nattribute float dist;\nattribute float distAll;\nattribute float start;\n\nattribute vec4 a_Color : COLOR;\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform vec4 viewport : VIEWPORT;\nuniform float near : NEAR;\n\nuniform float speed : 0;\nuniform float trailLength: 0.3;\nuniform float time;\nuniform float period: 1000;\n\nuniform float spotSize: 1;\n\nvarying vec4 v_Color;\nvarying float v_Percent;\nvarying float v_SpotPercent;\n\n@import ecgl.common.wireframe.vertexHeader\n\n@import ecgl.lines3D.clipNear\n\nvoid main()\n{\n @import ecgl.lines3D.expandLine\n\n gl_Position = currProj;\n\n v_Color = a_Color;\n\n @import ecgl.common.wireframe.vertexMain\n\n#ifdef CONSTANT_SPEED\n float t = mod((speed * time + start) / distAll, 1. + trailLength) - trailLength;\n#else\n float t = mod((time + start) / period, 1. + trailLength) - trailLength;\n#endif\n\n float trailLen = distAll * trailLength;\n\n v_Percent = (dist - t * distAll) / trailLen;\n\n v_SpotPercent = spotSize / distAll;\n\n }\n@end\n\n\n@export ecgl.trail2.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\nuniform float spotIntensity: 5;\n\nvarying vec4 v_Color;\nvarying float v_Percent;\nvarying float v_SpotPercent;\n\n@import ecgl.common.wireframe.fragmentHeader\n\n@import clay.util.srgb\n\nvoid main()\n{\n if (v_Percent > 1.0 || v_Percent < 0.0) {\n discard;\n }\n\n float fade = v_Percent;\n\n#ifdef SRGB_DECODE\n gl_FragColor = sRGBToLinear(color * v_Color);\n#else\n gl_FragColor = color * v_Color;\n#endif\n\n @import ecgl.common.wireframe.fragmentMain\n\n if (v_Percent > (1.0 - v_SpotPercent)) {\n gl_FragColor.rgb *= spotIntensity;\n }\n\n gl_FragColor.a *= fade;\n}\n\n@end");var k$=NZ.Mesh.extend((function(){var t=new NZ.Material({shader:new NZ.Shader(NZ.Shader.source("ecgl.trail2.vertex"),NZ.Shader.source("ecgl.trail2.fragment")),transparent:!0,depthMask:!1}),e=new sQ({dynamic:!0});return e.createAttribute("dist","float",1),e.createAttribute("distAll","float",1),e.createAttribute("start","float",1),{geometry:e,material:t,culling:!1,$ignorePicking:!0}}),{updateData:function(t,e,n){var i=t.hostModel,r=this.geometry,o=i.getModel("effect"),a=o.get("trailWidth")*e.getDevicePixelRatio(),s=o.get("trailLength"),l=i.get("effect.constantSpeed"),u=1e3*i.get("effect.period"),c=null!=l;c?this.material.set("speed",l/1e3):this.material.set("period",u),this.material[c?"define":"undefine"]("vertex","CONSTANT_SPEED");var h=i.get("polyline");r.trailLength=s,this.material.set("trailLength",s),r.resetOffset(),["position","positionPrev","positionNext"].forEach((function(t){r.attributes[t].value=n.attributes[t].value}));["dist","distAll","start","offset","color"].forEach((function(t){r.attributes[t].init(r.vertexCount)})),r.indices=n.indices;var d=[],p=o.get("trailColor"),f=o.get("trailOpacity"),g=null!=p,m=null!=f;this.updateWorldTransform();var v=this.worldTransform.x.len(),y=this.worldTransform.y.len(),_=this.worldTransform.z.len(),x=0,b=0;t.each((function(e){var i=t.getItemLayout(e),o=m?f:TJ(t,e),s=AJ(t,e);null==o&&(o=1),(d=NZ.parseColor(g?p:s,d))[3]*=o;for(var l=h?n.getPolylineVertexCount(i):n.getCubicCurveVertexCount(i[0],i[1],i[2],i[3]),w=0,S=[],A=[],T=x;T<x+l;T++)r.attributes.position.get(T,S),S[0]*=v,S[1]*=y,S[2]*=_,T>x&&(w+=N$.dist(S,A)),r.attributes.dist.set(T,w),N$.copy(A,S);b=Math.max(b,w);var M=Math.random()*(c?w:u);for(T=x;T<x+l;T++)r.attributes.distAll.set(T,w),r.attributes.start.set(T,M),r.attributes.offset.set(T,(n.attributes.offset.get(T)>0?1:-1)*a/2),r.attributes.color.set(T,d);x+=l})),this.material.set("spotSize",.1*b*s),this.material.set("spotIntensity",o.get("spotIntensity")),r.dirty()},setAnimationTime:function(t){this.material.set("time",t)}});NZ.Shader.import(SQ);var O$=Um.extend({type:"lines3D",__ecgl__:!0,init:function(t,e){this.groupGL=new NZ.Node,this._meshLinesMaterial=new NZ.Material({shader:NZ.createShader("ecgl.meshLines3D"),transparent:!0,depthMask:!1}),this._linesMesh=new NZ.Mesh({geometry:new sQ,material:this._meshLinesMaterial,$ignorePicking:!0}),this._trailMesh=new k$},render:function(t,e,n){this.groupGL.add(this._linesMesh);var i=t.coordinateSystem,r=t.getData();if(i&&i.viewGL){i.viewGL.add(this.groupGL),this._updateLines(t,e,n);var o=i.viewGL.isLinearSpace()?"define":"undefine";this._linesMesh.material[o]("fragment","SRGB_DECODE"),this._trailMesh.material[o]("fragment","SRGB_DECODE")}var a=this._trailMesh;if(a.stopAnimation(),t.get("effect.show")){this.groupGL.add(a),a.updateData(r,n,this._linesMesh.geometry),a.__time=a.__time||0;var s=36e5;this._curveEffectsAnimator=a.animate("",{loop:!0}).when(s,{__time:s}).during((function(){a.setAnimationTime(a.__time)})).start()}else this.groupGL.remove(a),this._curveEffectsAnimator=null;this._linesMesh.material.blend=this._trailMesh.material.blend="lighter"===t.get("blendMode")?NZ.additiveBlend:null},pauseEffect:function(){this._curveEffectsAnimator&&this._curveEffectsAnimator.pause()},resumeEffect:function(){this._curveEffectsAnimator&&this._curveEffectsAnimator.resume()},toggleEffect:function(){var t=this._curveEffectsAnimator;t&&(t.isPaused()?t.resume():t.pause())},_updateLines:function(t,e,n){var i=t.getData(),r=t.coordinateSystem,o=this._linesMesh.geometry,a=t.get("polyline");o.expandLine=!0;var s=function(t){return null!=t.radius?t.radius:null!=t.size?Math.max(t.size[0],t.size[1],t.size[2]):100}(r);o.segmentScale=s/20;var l="lineStyle.width".split("."),u=n.getDevicePixelRatio();i.each((function(t){var e=i.getItemModel(t).get(l);null==e&&(e=1),i.setItemVisual(t,"lineWidth",e)})),o.useNativeLine=!1;var c=0,h=0;i.each((function(t){var e=i.getItemLayout(t);a?(c+=o.getPolylineVertexCount(e),h+=o.getPolylineTriangleCount(e)):(c+=o.getCubicCurveVertexCount(e[0],e[1],e[2],e[3]),h+=o.getCubicCurveTriangleCount(e[0],e[1],e[2],e[3]))})),o.setVertexCount(c),o.setTriangleCount(h),o.resetOffset();var d=[];i.each((function(t){var e=i.getItemLayout(t),n=AJ(i,t),r=TJ(i,t),s=i.getItemVisual(t,"lineWidth")*u;null==r&&(r=1),(d=NZ.parseColor(n,d))[3]*=r,a?o.addPolyline(e,d,s):o.addCubicCurve(e[0],e[1],e[2],e[3],d,s)})),o.dirty()},remove:function(){this.groupGL.removeAll()},dispose:function(){this.groupGL.removeAll()}});function B$(t,e){for(var n=[],i=0;i<e.length;i++)n.push(t.dataToPoint(e[i]));return n}Z_((function(t){t.registerChartView(O$),t.registerSeriesModel(R$),t.registerLayout(P$),t.registerAction({type:"lines3DPauseEffect",event:"lines3deffectpaused",update:"series.lines3D:pauseEffect"},(function(){})),t.registerAction({type:"lines3DResumeEffect",event:"lines3deffectresumed",update:"series.lines3D:resumeEffect"},(function(){})),t.registerAction({type:"lines3DToggleEffect",event:"lines3deffectchanged",update:"series.lines3D:toggleEffect"},(function(){}))}));var z$=Em.extend({type:"series.polygons3D",getRegionModel:function(t){return this.getData().getItemModel(t)},getRegionPolygonCoords:function(t){var e=this.coordinateSystem,n=this.getData().getItemModel(t),i=n.option instanceof Array?n.option:n.getShallow("coords");n.get("multiPolygon")||(i=[i]);for(var r=[],o=0;o<i.length;o++){for(var a=[],s=1;s<i[o].length;s++)a.push(B$(e,i[o][s]));r.push({exterior:B$(e,i[o][0]),interiors:a})}return r},getInitialData:function(t){var e=new bx(["value"],this);return e.hasItemOption=!1,e.initData(t.data,[],(function(t,n,i,r){if(t instanceof Array)return NaN;e.hasItemOption=!0;var o=t.value;return null!=o?o instanceof Array?o[r]:o:void 0})),e},defaultOption:{show:!0,data:null,multiPolygon:!1,progressiveThreshold:1e3,progressive:1e3,zlevel:-10,label:{show:!1,distance:2,textStyle:{fontSize:20,color:"#000",backgroundColor:"rgba(255,255,255,0.7)",padding:3,borderRadius:4}},itemStyle:{color:"#fff",borderWidth:0,borderColor:"#333"},emphasis:{itemStyle:{color:"#639fc0"},label:{show:!0}}}});qt(z$.prototype,Hq);var F$=Um.extend({type:"polygons3D",__ecgl__:!0,init:function(t,e){this.groupGL=new NZ.Node,this._geo3DBuilderList=[],this._currentStep=0},render:function(t,e,n){this.groupGL.removeAll();var i=t.coordinateSystem;i&&i.viewGL&&i.viewGL.add(this.groupGL);var r=this._geo3DBuilderList[0];r||((r=new CJ(n)).extrudeY="mapbox3D"!==i.type&&"maptalks3D"!==i.type,this._geo3DBuilderList[0]=r),this._updateShaderDefines(i,r),r.update(t,e,n),this._geo3DBuilderList.length=1,this.groupGL.add(r.rootNode)},incrementalPrepareRender:function(t,e,n){this.groupGL.removeAll();var i=t.coordinateSystem;i&&i.viewGL&&i.viewGL.add(this.groupGL),this._currentStep=0},incrementalRender:function(t,e,n,i){var r=this._geo3DBuilderList[this._currentStep],o=e.coordinateSystem;r||((r=new CJ(i)).extrudeY="mapbox3D"!==o.type&&"maptalks3D"!==o.type,this._geo3DBuilderList[this._currentStep]=r),r.update(e,n,i,t.start,t.end),this.groupGL.add(r.rootNode),this._updateShaderDefines(o,r),this._currentStep++},_updateShaderDefines:function(t,e){var n=t.viewGL.isLinearSpace()?"define":"undefine";e.rootNode.traverse((function(e){e.material&&(e.material[n]("fragment","SRGB_DECODE"),"mapbox3D"!==t.type&&"maptalks3D"!==t.type||(e.material.define("fragment","NORMAL_UP_AXIS",2),e.material.define("fragment","NORMAL_FRONT_AXIS",1)))}))},remove:function(){this.groupGL.removeAll()},dispose:function(){this.groupGL.removeAll(),this._geo3DBuilderList.forEach((function(t){t.dispose()}))}});Z_((function(t){t.registerChartView(F$),t.registerSeriesModel(z$)}));var V$=Em.extend({type:"series.surface",dependencies:["globe","grid3D","geo3D"],visualStyleAccessPath:"itemStyle",formatTooltip:function(t){return GK(this,t)},getInitialData:function(t,e){var n=t.data;function i(t){return!(isNaN(t.min)||isNaN(t.max)||isNaN(t.step))}function r(t){var e=ua;return Math.max(e(t.min),e(t.max),e(t.step))+1}if(!n)if(t.parametric){var o=t.parametricEquation||{},a=o.u||{},s=o.v||{};["u","v"].forEach((function(t){i(o[t])})),["x","y","z"].forEach((function(t){o[t]}));var l=Math.floor((a.max+a.step-a.min)/a.step),u=Math.floor((s.max+s.step-s.min)/s.step);n=new Float32Array(l*u*5);var c=r(a),h=r(s);for(S=0,A=0;A<u;A++)for(T=0;T<l;T++){var d=T*a.step+a.min,p=A*s.step+s.min,f=aa(Math.min(d,a.max),c),g=aa(Math.min(p,s.max),h);M=o.x(f,g),I=o.y(f,g),E=o.z(f,g);n[S++]=M,n[S++]=I,n[S++]=E,n[S++]=f,n[S++]=g}}else{var m=t.equation||{},v=m.x||{},y=m.y||{};if(["x","y"].forEach((function(t){i(m[t])})),"function"!=typeof m.z)return;var _=Math.floor((v.max+v.step-v.min)/v.step),x=Math.floor((y.max+y.step-y.min)/y.step);n=new Float32Array(_*x*3);for(var b=r(v),w=r(y),S=0,A=0;A<x;A++)for(var T=0;T<_;T++){var M=T*v.step+v.min,I=A*y.step+y.min,C=aa(Math.min(M,v.max),b),D=aa(Math.min(I,y.max),w),E=m.z(C,D);n[S++]=C,n[S++]=D,n[S++]=E}}var L=["x","y","z"];return t.parametric&&L.push("u","v"),UK(this,L,n)},defaultOption:{coordinateSystem:"cartesian3D",zlevel:-10,grid3DIndex:0,shading:"lambert",parametric:!1,wireframe:{show:!0,lineStyle:{color:"rgba(0,0,0,0.5)",width:1}},equation:{x:{min:-1,max:1,step:.1},y:{min:-1,max:1,step:.1},z:null},parametricEquation:{u:{min:-1,max:1,step:.1},v:{min:-1,max:1,step:.1},x:null,y:null,z:null},dataShape:null,itemStyle:{},animationDurationUpdate:500}});qt(V$.prototype,Hq);var G$=rQ.vec3;var U$=Um.extend({type:"surface",__ecgl__:!0,init:function(t,e){this.groupGL=new NZ.Node},render:function(t,e,n){var i=this._prevSurfaceMesh;this._prevSurfaceMesh=this._surfaceMesh,this._surfaceMesh=i,this._surfaceMesh||(this._surfaceMesh=this._createSurfaceMesh()),this.groupGL.remove(this._prevSurfaceMesh),this.groupGL.add(this._surfaceMesh);var r=t.coordinateSystem,o=t.get("shading"),a=t.getData(),s="ecgl."+o;if(this._surfaceMesh.material&&this._surfaceMesh.material.shader.name===s||(this._surfaceMesh.material=NZ.createMaterial(s,["VERTEX_COLOR","DOUBLE_SIDED"])),NZ.setMaterialFromModel(o,this._surfaceMesh.material,t,n),r&&r.viewGL){r.viewGL.add(this.groupGL);var l=r.viewGL.isLinearSpace()?"define":"undefine";this._surfaceMesh.material[l]("fragment","SRGB_DECODE")}var u=t.get("parametric"),c=t.get("dataShape");c||(c=this._getDataShape(a,u));var h=t.getModel("wireframe"),d=h.get("lineStyle.width"),p=h.get("show")&&d>0;this._updateSurfaceMesh(this._surfaceMesh,t,c,p);var f=this._surfaceMesh.material;p?(f.define("WIREFRAME_QUAD"),f.set("wireframeLineWidth",d),f.set("wireframeLineColor",NZ.parseColor(h.get("lineStyle.color")))):f.undefine("WIREFRAME_QUAD"),this._initHandler(t,n),this._updateAnimation(t)},_updateAnimation:function(t){NZ.updateVertexAnimation([["prevPosition","position"],["prevNormal","normal"]],this._prevSurfaceMesh,this._surfaceMesh,t)},_createSurfaceMesh:function(){var t=new NZ.Mesh({geometry:new NZ.Geometry({dynamic:!0,sortTriangles:!0}),shadowDepthMaterial:new NZ.Material({shader:new NZ.Shader(NZ.Shader.source("ecgl.sm.depth.vertex"),NZ.Shader.source("ecgl.sm.depth.fragment"))}),culling:!1,renderOrder:10,renderNormal:!0});return t.geometry.createAttribute("barycentric","float",4),t.geometry.createAttribute("prevPosition","float",3),t.geometry.createAttribute("prevNormal","float",3),Object.assign(t.geometry,SJ),t},_initHandler:function(t,e){var n=t.getData(),i=this._surfaceMesh,r=t.coordinateSystem;i.seriesIndex=t.seriesIndex;var o=-1;i.off("mousemove"),i.off("mouseout"),i.on("mousemove",(function(t){var a=function(t,e){for(var n=1/0,r=-1,o=[],a=0;a<t.length;a++){i.geometry.attributes.position.get(t[a],o);var s=G$.dist(e.array,o);s<n&&(n=s,r=t[a])}return r}(t.triangle,t.point);if(a>=0){var s=[];i.geometry.attributes.position.get(a,s);for(var l=r.pointToData(s),u=1/0,c=-1,h=[],d=0;d<n.count();d++){h[0]=n.get("x",d),h[1]=n.get("y",d),h[2]=n.get("z",d);var p=G$.squaredDistance(h,l);p<u&&(c=d,u=p)}c!==o&&e.dispatchAction({type:"grid3DShowAxisPointer",value:l}),o=c,i.dataIndex=c}else i.dataIndex=-1}),this),i.on("mouseout",(function(t){o=-1,i.dataIndex=-1,e.dispatchAction({type:"grid3DHideAxisPointer"})}),this)},_updateSurfaceMesh:function(t,e,n,i){var r=t.geometry,o=e.getData(),a=o.getLayout("points"),s=0;o.each((function(t){o.hasValue(t)||s++}));var l=s||i,u=r.attributes.position,c=r.attributes.normal,h=r.attributes.texcoord0,d=r.attributes.barycentric,p=r.attributes.color,f=n[0],g=n[1],m="color"!==e.get("shading");if(l){var v=(f-1)*(g-1)*4;u.init(v),i&&d.init(v)}else u.value=new Float32Array(a);p.init(r.vertexCount),h.init(r.vertexCount);var y,_=[0,3,1,1,3,2],x=[[1,1,0,0],[0,1,0,1],[1,0,0,1],[1,0,1,0]],b=r.indices=new(r.vertexCount>65535?Uint32Array:Uint16Array)((f-1)*(g-1)*6),w=function(t,e,n){n[1]=t*g+e,n[0]=t*g+e+1,n[3]=(t+1)*g+e+1,n[2]=(t+1)*g+e},S=!1;if(l){var A=[],T=[],M=0;m?c.init(r.vertexCount):c.value=null;for(var I=[[],[],[]],C=[],D=[],E=G$.create(),L=function(t,e,n){var i=3*e;return n[0]=t[i],n[1]=t[i+1],n[2]=t[i+2],n},P=new Float32Array(a.length),R=new Float32Array(a.length/3*4),N=0;N<o.count();N++)if(o.hasValue(N)){var k=NZ.parseColor(AJ(o,N));null!=(j=TJ(o,N))&&(k[3]*=j),k[3]<.99&&(S=!0);for(var O=0;O<4;O++)R[4*N+O]=k[O]}var B=[1e7,1e7,1e7];for(N=0;N<f-1;N++)for(var z=0;z<g-1;z++){var F=4*(N*(g-1)+z);w(N,z,A);var V=!1;for(O=0;O<4;O++)L(a,A[O],T),y=T,(isNaN(y[0])||isNaN(y[1])||isNaN(y[2]))&&(V=!0);for(O=0;O<4;O++)V?u.set(F+O,B):(L(a,A[O],T),u.set(F+O,T)),i&&d.set(F+O,x[O]);for(O=0;O<6;O++)b[M++]=_[O]+F;if(m&&!V)for(O=0;O<2;O++){for(var G=3*O,U=0;U<3;U++){L(a,X=A[_[G]+U],I[U])}G$.sub(C,I[0],I[1]),G$.sub(D,I[1],I[2]),G$.cross(E,C,D);for(U=0;U<3;U++){var H=3*A[_[G]+U];P[H]=P[H]+E[0],P[H+1]=P[H+1]+E[1],P[H+2]=P[H+2]+E[2]}}}if(m)for(N=0;N<P.length/3;N++)L(P,N,E),G$.normalize(E,E),P[3*N]=E[0],P[3*N+1]=E[1],P[3*N+2]=E[2];k=[];var W=[];for(N=0;N<f-1;N++)for(z=0;z<g-1;z++){F=4*(N*(g-1)+z);w(N,z,A);for(O=0;O<4;O++){for(U=0;U<4;U++)k[U]=R[4*A[O]+U];p.set(F+O,k),m&&(L(P,A[O],E),c.set(F+O,E));var X=A[O];W[0]=X%g/(g-1),W[1]=Math.floor(X/g)/(f-1),h.set(F+O,W)}0}}else{for(W=[],N=0;N<o.count();N++){W[0]=N%g/(g-1),W[1]=Math.floor(N/g)/(f-1);var j;k=NZ.parseColor(AJ(o,N));null!=(j=TJ(o,N))&&(k[3]*=j),k[3]<.99&&(S=!0),p.set(N,k),h.set(N,W)}A=[];var Y=0;for(N=0;N<f-1;N++)for(z=0;z<g-1;z++){w(N,z,A);for(O=0;O<6;O++)b[Y++]=A[_[O]]}m?r.generateVertexNormals():c.value=null}t.material.get("normalMap")&&r.generateTangents(),r.updateBoundingBox(),r.dirty(),t.material.transparent=S,t.material.depthMask=!S},_getDataShape:function(t,e){for(var n=-1/0,i=0,r=0,o=!1,a=e?"u":"x",s=t.count(),l=0;l<s;l++){var u=t.get(a,l);u<n&&(r=0,i++),n=u,r++}if(i&&1!==r||(o=!0),!o)return[i+1,r];for(var c=Math.floor(Math.sqrt(s));c>0;){if(Math.floor(s/c)===s/c)return[c,s/c];c--}return[c=Math.floor(Math.sqrt(s)),c]},dispose:function(){this.groupGL.removeAll()},remove:function(){this.groupGL.removeAll()}});function H$(t,e){for(var n=[],i=0;i<e.length;i++)n.push(t.dataToPoint(e[i]));return n}Z_((function(t){t.registerChartView(U$),t.registerSeriesModel(V$),t.registerLayout((function(t,e){t.eachSeriesByType("surface",(function(t){var e=t.coordinateSystem;!e||e.type;var n=t.getData(),i=new Float32Array(3*n.count()),r=[NaN,NaN,NaN];if(e&&"cartesian3D"===e.type){var o=e.dimensions.map((function(e){return t.coordDimToDataDim(e)[0]}));n.each(o,(function(t,o,a,s){var l;l=n.hasValue(s)?e.dataToPoint([t,o,a]):r,i[3*s]=l[0],i[3*s+1]=l[1],i[3*s+2]=l[2]}))}n.setLayout("points",i)}))}))}));var W$=Em.extend({type:"series.map3D",layoutMode:"box",coordinateSystem:null,visualStyleAccessPath:"itemStyle",optionUpdated:function(t){var e=this.get("coordinateSystem");null!=e&&"geo3D"!==e&&(this.get("groundPlane.show")&&(this.option.groundPlane.show=!1),this._geo=null)},getInitialData:function(t){t.data=this.getFilledRegions(t.data,t.map);var e=Sx(t.data,{coordDimensions:["value"]}),n=new bx(e,this);n.initData(t.data);var i={};return n.each((function(t){var e=n.getName(t),r=n.getItemModel(t);i[e]=r})),this._regionModelMap=i,n},formatTooltip:function(t){return GK(this,t)},getRegionModel:function(t){var e=this.getData().getName(t);return this._regionModelMap[e]||new zd(null,this)},getRegionPolygonCoords:function(t){var e=this.coordinateSystem,n=this.getData().getName(t);if(e.transform)return(i=e.getRegion(n))?i.geometries:[];this._geo||(this._geo=zJ.createGeo3D(this));for(var i=this._geo.getRegion(n),r=[],o=0;o<i.geometries.length;o++){var a=i.geometries[o],s=[],l=H$(e,a.exterior);if(s&&s.length)for(var u=0;u<a.interiors.length;u++)s.push(H$(e,s[u]));r.push({interiors:s,exterior:l})}return r},getFormattedLabel:function(t,e){var n=VK.getFormattedLabel(this,t,e);return null==n&&(n=this.getData().getName(t)),n},defaultOption:{coordinateSystem:"geo3D",data:null}});qt(W$.prototype,Wq),qt(W$.prototype,QZ),qt(W$.prototype,qZ),qt(W$.prototype,JZ),qt(W$.prototype,Hq);var X$=Um.extend({type:"map3D",__ecgl__:!0,init:function(t,e){this._geo3DBuilder=new CJ(e),this.groupGL=new NZ.Node},render:function(t,e,n){var i=t.coordinateSystem;if(i&&i.viewGL){if(this.groupGL.add(this._geo3DBuilder.rootNode),i.viewGL.add(this.groupGL),"geo3D"===i.type){this._sceneHelper||(this._sceneHelper=new cQ,this._sceneHelper.initLight(this.groupGL)),this._sceneHelper.setScene(i.viewGL.scene),this._sceneHelper.updateLight(t),i.viewGL.setPostEffect(t.getModel("postEffect"),n),i.viewGL.setTemporalSuperSampling(t.getModel("temporalSuperSampling"));var r=this._control;r||(r=this._control=new nQ({zr:n.getZr()}),this._control.init());var o=t.getModel("viewControl");r.setViewGL(i.viewGL),r.setFromViewControlModel(o,0),r.off("update"),r.on("update",(function(){n.dispatchAction({type:"map3DChangeCamera",alpha:r.getAlpha(),beta:r.getBeta(),distance:r.getDistance(),from:this.uid,map3DId:t.id})})),this._geo3DBuilder.extrudeY=!0}else this._control&&(this._control.dispose(),this._control=null),this._sceneHelper&&(this._sceneHelper.dispose(),this._sceneHelper=null),t.getData().getLayout("geo3D"),this._geo3DBuilder.extrudeY=!1;this._geo3DBuilder.update(t,e,n,0,t.getData().count());var a=i.viewGL.isLinearSpace()?"define":"undefine";this._geo3DBuilder.rootNode.traverse((function(t){t.material&&t.material[a]("fragment","SRGB_DECODE")}))}},afterRender:function(t,e,n,i){var r=i.renderer,o=t.coordinateSystem;o&&"geo3D"===o.type&&(this._sceneHelper.updateAmbientCubemap(r,t,n),this._sceneHelper.updateSkybox(r,t,n))},dispose:function(){this.groupGL.removeAll(),this._control.dispose(),this._geo3DBuilder.dispose()}});Z_((function(t){FJ(t),t.registerChartView(X$),t.registerSeriesModel(W$),t.registerAction({type:"map3DChangeCamera",event:"map3dcamerachanged",update:"series:updateCamera"},(function(t,e){e.eachComponent({mainType:"series",subType:"map3D",query:t},(function(e){e.setView(t)}))}))}));var j$=Em.extend({type:"series.scatterGL",dependencies:["grid","polar","geo","singleAxis"],visualStyleAccessPath:"itemStyle",hasSymbolVisual:!0,getInitialData:function(){return Px(null,this)},defaultOption:{coordinateSystem:"cartesian2d",zlevel:10,progressive:1e5,progressiveThreshold:1e5,large:!1,symbol:"circle",symbolSize:10,zoomScale:0,blendMode:"source-over",itemStyle:{opacity:.8},postEffect:{enable:!1,colorCorrection:{exposure:0,brightness:0,contrast:1,saturation:1,enable:!0}}}});function Y$(t){this.viewGL=t}Y$.prototype.reset=function(t,e){this._updateCamera(e.getWidth(),e.getHeight(),e.getDevicePixelRatio()),this._viewTransform=[1,0,0,1,0,0],this.updateTransform(t,e)},Y$.prototype.updateTransform=function(t,e){var n=t.coordinateSystem;n.getRoamTransform&&(zn(this._viewTransform,n.getRoamTransform()),this._setCameraTransform(this._viewTransform),e.getZr().refresh())},Y$.prototype.dataToPoint=function(t,e,n){n=t.dataToPoint(e,null,n);var i=this._viewTransform;i&&nn(n,n,i)},Y$.prototype.removeTransformInPoint=function(t){return this._viewTransform&&nn(t,t,this._viewTransform),t},Y$.prototype.getZoom=function(){if(this._viewTransform){var t=this._viewTransform;return 1/Math.max(Math.sqrt(t[0]*t[0]+t[1]*t[1]),Math.sqrt(t[2]*t[2]+t[3]*t[3]))}return 1},Y$.prototype._setCameraTransform=function(t){var e=this.viewGL.camera;e.position.set(t[4],t[5],0),e.scale.set(Math.sqrt(t[0]*t[0]+t[1]*t[1]),Math.sqrt(t[2]*t[2]+t[3]*t[3]),1)},Y$.prototype._updateCamera=function(t,e,n){this.viewGL.setViewport(0,0,t,e,n);var i=this.viewGL.camera;i.left=i.top=0,i.bottom=e,i.right=t,i.near=0,i.far=100};var Z$=Um.extend({type:"scatterGL",__ecgl__:!0,init:function(t,e){this.groupGL=new NZ.Node,this.viewGL=new Dq("orthographic"),this.viewGL.add(this.groupGL),this._pointsBuilderList=[],this._currentStep=0,this._sizeScale=1,this._glViewHelper=new Y$(this.viewGL)},render:function(t,e,n){if(this.groupGL.removeAll(),this._glViewHelper.reset(t,n),t.getData().count()){var i=this._pointsBuilderList[0];i||(i=this._pointsBuilderList[0]=new p$(!0,n)),this._pointsBuilderList.length=1,this.groupGL.add(i.rootNode),this._removeTransformInPoints(t.getData().getLayout("points")),i.update(t,e,n),this.viewGL.setPostEffect(t.getModel("postEffect"),n)}},incrementalPrepareRender:function(t,e,n){this.groupGL.removeAll(),this._glViewHelper.reset(t,n),this._currentStep=0,this.viewGL.setPostEffect(t.getModel("postEffect"),n)},incrementalRender:function(t,e,n,i){if(!(t.end<=t.start)){var r=this._pointsBuilderList[this._currentStep];r||(r=new p$(!0,i),this._pointsBuilderList[this._currentStep]=r),this.groupGL.add(r.rootNode),this._removeTransformInPoints(e.getData().getLayout("points")),r.setSizeScale(this._sizeScale),r.update(e,n,i,t.start,t.end),i.getZr().refresh(),this._currentStep++}},updateTransform:function(t,e,n){if(t.coordinateSystem.getRoamTransform){this._glViewHelper.updateTransform(t,n);var i=this._glViewHelper.getZoom(),r=Math.max((t.get("zoomScale")||0)*(i-1)+1,0);this._sizeScale=r,this._pointsBuilderList.forEach((function(t){t.setSizeScale(r)}))}},_removeTransformInPoints:function(t){if(t)for(var e=[],n=0;n<t.length;n+=2)e[0]=t[n],e[1]=t[n+1],this._glViewHelper.removeTransformInPoint(e),t[n]=e[0],t[n+1]=e[1]},dispose:function(){this.groupGL.removeAll(),this._pointsBuilderList.forEach((function(t){t.dispose()}))},remove:function(){this.groupGL.removeAll()}});Z_((function(t){t.registerChartView(Z$),t.registerSeriesModel(j$),t.registerLayout({seriesType:"scatterGL",reset:function(t){var e,n=t.coordinateSystem,i=t.getData();if(n){var r=n.dimensions.map((function(t){return i.mapDimension(t)})).slice(0,2),o=[];1===r.length?e=function(t){for(var e=new Float32Array(2*(t.end-t.start)),o=t.start;o<t.end;o++){var a=2*(o-t.start),s=i.get(r[0],o),l=n.dataToPoint(s);e[a]=l[0],e[a+1]=l[1]}i.setLayout("points",e)}:2===r.length&&(e=function(t){for(var e=new Float32Array(2*(t.end-t.start)),a=t.start;a<t.end;a++){var s=2*(a-t.start),l=i.get(r[0],a),u=i.get(r[1],a);o[0]=l,o[1]=u,o=n.dataToPoint(o),e[s]=o[0],e[s+1]=o[1]}i.setLayout("points",e)})}return{progress:e}}})}));var Q$=Em.extend({type:"series.graphGL",visualStyleAccessPath:"itemStyle",hasSymbolVisual:!0,init:function(t){Q$.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._categoriesData},this._updateCategoriesData()},mergeOption:function(t){Q$.superApply(this,"mergeOption",arguments),this._updateCategoriesData()},getFormattedLabel:function(t,e,n,i){var r=VK.getFormattedLabel(this,t,e,n,i);if(null==r){var o=this.getData(),a=o.dimensions[o.dimensions.length-1];r=o.get(a,t)}return r},getInitialData:function(t,e){var n=t.edges||t.links||[],i=t.data||t.nodes||[],r=this;if(i&&n)return function(t,e,n,i,r){for(var o=new bL(i),a=0;a<t.length;a++)o.addNode(fZ(t[a].id,t[a].name,a),a);var s,l=[],u=[],c=0;for(a=0;a<e.length;a++){var h=e[a],d=h.source,p=h.target;o.addEdge(d,p,c)&&(u.push(h),l.push(fZ(h.id,d+" > "+p)),c++)}var f=Sx(t,{coordDimensions:["value"]});(s=new bx(f,n)).initData(t);var g=new bx(["value"],n);return g.initData(u,l),r&&r(s,g),rD({mainData:s,struct:o,structAttr:"graph",datas:{node:s,edge:g},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}(i,n,this,!0,(function(t,n){t.wrapMethod("getItemModel",(function(t){var e=r._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var i=e.getModel([]).getModel;function o(t,e){var n=i.call(this,t,e);return n.resolveParentPath=a,n}function a(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}n.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=a,t.getModel=o,t}))})).data},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),l=yn(l.join(" > ")),r.value&&(l+=" : "+yn(r.value)),l}return Q$.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=(this.option.categories||[]).map((function(t){return null!=t.value?t:Object.assign({value:0},t)})),e=new bx(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t,!0)}))},setView:function(t){null!=t.zoom&&(this.option.zoom=t.zoom),null!=t.offset&&(this.option.offset=t.offset)},setNodePosition:function(t){for(var e=0;e<t.length/2;e++){var n=t[2*e],i=t[2*e+1],r=this.getData().getRawDataItem(e);r.x=n,r.y=i}},isAnimationEnabled:function(){return Q$.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:10,z:2,legendHoverLink:!0,layout:"forceAtlas2",forceAtlas2:{initLayout:null,GPU:!0,steps:1,maxSteps:1e3,repulsionByDegree:!0,linLogMode:!1,strongGravityMode:!1,gravity:1,edgeWeightInfluence:1,edgeWeight:[1,4],nodeWeight:[1,4],preventOverlap:!1,gravityCenter:null},focusNodeAdjacency:!0,focusNodeAdjacencyOn:"mouseover",left:"center",top:"center",symbol:"circle",symbolSize:5,roam:!1,center:null,zoom:1,label:{show:!1,formatter:"{b}",position:"right",distance:5,textStyle:{fontSize:14}},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}},animation:!1}}),q$=rQ.vec2,J$=[[0,0],[1,1]],K$=Gj.extend((function(){return{segmentScale:4,dynamic:!0,useNativeLine:!0,attributes:{position:new Gj.Attribute("position","float",2,"POSITION"),normal:new Gj.Attribute("normal","float",2),offset:new Gj.Attribute("offset","float",1),color:new Gj.Attribute("color","float",4,"COLOR")}}}),{resetOffset:function(){this._vertexOffset=0,this._faceOffset=0,this._itemVertexOffsets=[]},setVertexCount:function(t){var e=this.attributes;this.vertexCount!==t&&(e.position.init(t),e.color.init(t),this.useNativeLine||(e.offset.init(t),e.normal.init(t)),t>65535?this.indices instanceof Uint16Array&&(this.indices=new Uint32Array(this.indices)):this.indices instanceof Uint32Array&&(this.indices=new Uint16Array(this.indices)))},setTriangleCount:function(t){this.triangleCount!==t&&(this.indices=0===t?null:this.vertexCount>65535?new Uint32Array(3*t):new Uint16Array(3*t))},_getCubicCurveApproxStep:function(t,e,n,i){return 1/(q$.dist(t,e)+q$.dist(n,e)+q$.dist(i,n)+1)*this.segmentScale},getCubicCurveVertexCount:function(t,e,n,i){var r=this._getCubicCurveApproxStep(t,e,n,i),o=Math.ceil(1/r);return this.useNativeLine?2*o:2*o+2},getCubicCurveTriangleCount:function(t,e,n,i){var r=this._getCubicCurveApproxStep(t,e,n,i),o=Math.ceil(1/r);return this.useNativeLine?0:2*o},getLineVertexCount:function(){return this.getPolylineVertexCount(J$)},getLineTriangleCount:function(){return this.getPolylineTriangleCount(J$)},getPolylineVertexCount:function(t){var e;"number"==typeof t?e=t:e="number"!=typeof t[0]?t.length:t.length/2;return this.useNativeLine?2*(e-1):2*(e-1)+2},getPolylineTriangleCount:function(t){var e;"number"==typeof t?e=t:e="number"!=typeof t[0]?t.length:t.length/2;return this.useNativeLine?0:2*(e-1)},addCubicCurve:function(t,e,n,i,r,o){null==o&&(o=1);var a=t[0],s=t[1],l=e[0],u=e[1],c=n[0],h=n[1],d=i[0],p=i[1],f=this._getCubicCurveApproxStep(t,e,n,i),g=f*f,m=g*f,v=3*f,y=3*g,_=6*g,x=6*m,b=a-2*l+c,w=s-2*u+h,S=3*(l-c)-a+d,A=3*(u-h)-s+p,T=a,M=s,I=(l-a)*v+b*y+S*m,C=(u-s)*v+w*y+A*m,D=b*_+S*x,E=w*_+A*x,L=S*x,P=A*x,R=0,N=0,k=Math.ceil(1/f),O=new Float32Array(3*(k+1)),B=(O=[],0);for(N=0;N<k+1;N++)O[B++]=T,O[B++]=M,T+=I,M+=C,I+=D,C+=E,D+=L,E+=P,(R+=f)>1&&(T=I>0?Math.min(T,d):Math.max(T,d),M=C>0?Math.min(M,p):Math.max(M,p));this.addPolyline(O,r,o)},addLine:function(t,e,n,i){this.addPolyline([t,e],n,i)},addPolyline:function(){var t=q$.create(),e=q$.create(),n=q$.create(),i=q$.create(),r=[],o=[],a=[];return function(s,l,u,c,h){if(s.length){var d="number"!=typeof s[0];if(null==h&&(h=d?s.length:s.length/2),!(h<2)){null==c&&(c=0),null==u&&(u=1),this._itemVertexOffsets.push(this._vertexOffset);for(var p,f=d?"number"!=typeof l[0]:l.length/4===h,g=this.attributes.position,m=this.attributes.color,v=this.attributes.offset,y=this.attributes.normal,_=this.indices,x=this._vertexOffset,b=0;b<h;b++){if(d)r=s[b+c],p=f?l[b+c]:l;else{var w=2*b+c;if((r=r||[])[0]=s[w],r[1]=s[w+1],f){var S=4*b+c;(p=p||[])[0]=l[S],p[1]=l[S+1],p[2]=l[S+2],p[3]=l[S+3]}else p=l}if(this.useNativeLine)b>1&&(g.copy(x,x-1),m.copy(x,x-1),x++);else{var A;if(b<h-1){if(d)q$.copy(o,s[b+1]);else{w=2*(b+1)+c;(o=o||[])[0]=s[w],o[1]=s[w+1]}if(b>0){q$.sub(t,r,a),q$.sub(e,o,r),q$.normalize(t,t),q$.normalize(e,e),q$.add(i,t,e),q$.normalize(i,i);var T=u/2*Math.min(1/q$.dot(t,i),2);n[0]=-i[1],n[1]=i[0],A=T}else q$.sub(t,o,r),q$.normalize(t,t),n[0]=-t[1],n[1]=t[0],A=u/2}else q$.sub(t,r,a),q$.normalize(t,t),n[0]=-t[1],n[1]=t[0],A=u/2;y.set(x,n),y.set(x+1,n),v.set(x,A),v.set(x+1,-A),q$.copy(a,r),g.set(x,r),g.set(x+1,r),m.set(x,p),m.set(x+1,p),x+=2}if(this.useNativeLine)m.set(x,p),g.set(x,r),x++;else if(b>0){var M=3*this._faceOffset;(_=this.indices)[M]=x-4,_[M+1]=x-3,_[M+2]=x-2,_[M+3]=x-3,_[M+4]=x-1,_[M+5]=x-2,this._faceOffset+=2}}this._vertexOffset=x}}}}(),setItemColor:function(t,e){for(var n=this._itemVertexOffsets[t],i=t<this._itemVertexOffsets.length-1?this._itemVertexOffsets[t+1]:this._vertexOffset,r=n;r<i;r++)this.attributes.color.set(r,e);this.dirty("color")}});$t(K$.prototype,iQ);NZ.Shader.import("@export ecgl.forceAtlas2.updateNodeRepulsion\n\n#define NODE_COUNT 0\n\nuniform sampler2D positionTex;\n\nuniform vec2 textureSize;\nuniform float gravity;\nuniform float scaling;\nuniform vec2 gravityCenter;\n\nuniform bool strongGravityMode;\nuniform bool preventOverlap;\n\nvarying vec2 v_Texcoord;\n\nvoid main() {\n\n vec4 n0 = texture2D(positionTex, v_Texcoord);\n\n vec2 force = vec2(0.0);\n for (int i = 0; i < NODE_COUNT; i++) {\n vec2 uv = vec2(\n mod(float(i), textureSize.x) / (textureSize.x - 1.0),\n floor(float(i) / textureSize.x) / (textureSize.y - 1.0)\n );\n vec4 n1 = texture2D(positionTex, uv);\n\n vec2 dir = n0.xy - n1.xy;\n float d2 = dot(dir, dir);\n\n if (d2 > 0.0) {\n float factor = 0.0;\n if (preventOverlap) {\n float d = sqrt(d2);\n d = d - n0.w - n1.w;\n if (d > 0.0) {\n factor = scaling * n0.z * n1.z / (d * d);\n }\n else if (d < 0.0) {\n factor = scaling * 100.0 * n0.z * n1.z;\n }\n }\n else {\n factor = scaling * n0.z * n1.z / d2;\n }\n force += dir * factor;\n }\n }\n\n vec2 dir = gravityCenter - n0.xy;\n float d = 1.0;\n if (!strongGravityMode) {\n d = length(dir);\n }\n\n force += dir * n0.z * gravity / (d + 1.0);\n\n gl_FragColor = vec4(force, 0.0, 1.0);\n}\n@end\n\n@export ecgl.forceAtlas2.updateEdgeAttraction.vertex\n\nattribute vec2 node1;\nattribute vec2 node2;\nattribute float weight;\n\nuniform sampler2D positionTex;\nuniform float edgeWeightInfluence;\nuniform bool preventOverlap;\nuniform bool linLogMode;\n\nuniform vec2 windowSize: WINDOW_SIZE;\n\nvarying vec2 v_Force;\n\nvoid main() {\n\n vec4 n0 = texture2D(positionTex, node1);\n vec4 n1 = texture2D(positionTex, node2);\n\n vec2 dir = n1.xy - n0.xy;\n float d = length(dir);\n float w;\n if (edgeWeightInfluence == 0.0) {\n w = 1.0;\n }\n else if (edgeWeightInfluence == 1.0) {\n w = weight;\n }\n else {\n w = pow(weight, edgeWeightInfluence);\n }\n vec2 offset = vec2(1.0 / windowSize.x, 1.0 / windowSize.y);\n vec2 scale = vec2((windowSize.x - 1.0) / windowSize.x, (windowSize.y - 1.0) / windowSize.y);\n vec2 pos = node1 * scale * 2.0 - 1.0;\n gl_Position = vec4(pos + offset, 0.0, 1.0);\n gl_PointSize = 1.0;\n\n float factor;\n if (preventOverlap) {\n d = d - n1.w - n0.w;\n }\n if (d <= 0.0) {\n v_Force = vec2(0.0);\n return;\n }\n\n if (linLogMode) {\n factor = w * log(d) / d;\n }\n else {\n factor = w;\n }\n v_Force = dir * factor;\n}\n@end\n\n@export ecgl.forceAtlas2.updateEdgeAttraction.fragment\n\nvarying vec2 v_Force;\n\nvoid main() {\n gl_FragColor = vec4(v_Force, 0.0, 0.0);\n}\n@end\n\n@export ecgl.forceAtlas2.calcWeightedSum.vertex\n\nattribute vec2 node;\n\nvarying vec2 v_NodeUv;\n\nvoid main() {\n\n v_NodeUv = node;\n gl_Position = vec4(0.0, 0.0, 0.0, 1.0);\n gl_PointSize = 1.0;\n}\n@end\n\n@export ecgl.forceAtlas2.calcWeightedSum.fragment\n\nvarying vec2 v_NodeUv;\n\nuniform sampler2D positionTex;\nuniform sampler2D forceTex;\nuniform sampler2D forcePrevTex;\n\nvoid main() {\n vec2 force = texture2D(forceTex, v_NodeUv).rg;\n vec2 forcePrev = texture2D(forcePrevTex, v_NodeUv).rg;\n\n float mass = texture2D(positionTex, v_NodeUv).z;\n float swing = length(force - forcePrev) * mass;\n float traction = length(force + forcePrev) * 0.5 * mass;\n\n gl_FragColor = vec4(swing, traction, 0.0, 0.0);\n}\n@end\n\n@export ecgl.forceAtlas2.calcGlobalSpeed\n\nuniform sampler2D globalSpeedPrevTex;\nuniform sampler2D weightedSumTex;\nuniform float jitterTolerence;\n\nvoid main() {\n vec2 weightedSum = texture2D(weightedSumTex, vec2(0.5)).xy;\n float prevGlobalSpeed = texture2D(globalSpeedPrevTex, vec2(0.5)).x;\n float globalSpeed = jitterTolerence * jitterTolerence\n * weightedSum.y / weightedSum.x;\n if (prevGlobalSpeed > 0.0) {\n globalSpeed = min(globalSpeed / prevGlobalSpeed, 1.5) * prevGlobalSpeed;\n }\n gl_FragColor = vec4(globalSpeed, 0.0, 0.0, 1.0);\n}\n@end\n\n@export ecgl.forceAtlas2.updatePosition\n\nuniform sampler2D forceTex;\nuniform sampler2D forcePrevTex;\nuniform sampler2D positionTex;\nuniform sampler2D globalSpeedTex;\n\nvarying vec2 v_Texcoord;\n\nvoid main() {\n vec2 force = texture2D(forceTex, v_Texcoord).xy;\n vec2 forcePrev = texture2D(forcePrevTex, v_Texcoord).xy;\n vec4 node = texture2D(positionTex, v_Texcoord);\n\n float globalSpeed = texture2D(globalSpeedTex, vec2(0.5)).r;\n float swing = length(force - forcePrev);\n float speed = 0.1 * globalSpeed / (0.1 + globalSpeed * sqrt(swing));\n\n float df = length(force);\n if (df > 0.0) {\n speed = min(df * speed, 10.0) / df;\n\n gl_FragColor = vec4(node.xy + speed * force, node.zw);\n }\n else {\n gl_FragColor = node;\n }\n}\n@end\n\n@export ecgl.forceAtlas2.edges.vertex\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\nattribute vec2 node;\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n\nuniform sampler2D positionTex;\n\nvoid main()\n{\n gl_Position = worldViewProjection * vec4(\n texture2D(positionTex, node).xy, -10.0, 1.0\n );\n v_Color = a_Color;\n}\n@end\n\n@export ecgl.forceAtlas2.edges.fragment\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\nvarying vec4 v_Color;\nvoid main() {\n gl_FragColor = color * v_Color;\n}\n@end");var $$={repulsionByDegree:!0,linLogMode:!1,strongGravityMode:!1,gravity:1,scaling:1,edgeWeightInfluence:1,jitterTolerence:.1,preventOverlap:!1,dissuadeHubs:!1,gravityCenter:null};function t1(t){var e={type:NZ.Texture.FLOAT,minFilter:NZ.Texture.NEAREST,magFilter:NZ.Texture.NEAREST};this._positionSourceTex=new NZ.Texture2D(e),this._positionSourceTex.flipY=!1,this._positionTex=new NZ.Texture2D(e),this._positionPrevTex=new NZ.Texture2D(e),this._forceTex=new NZ.Texture2D(e),this._forcePrevTex=new NZ.Texture2D(e),this._weightedSumTex=new NZ.Texture2D(e),this._weightedSumTex.width=this._weightedSumTex.height=1,this._globalSpeedTex=new NZ.Texture2D(e),this._globalSpeedPrevTex=new NZ.Texture2D(e),this._globalSpeedTex.width=this._globalSpeedTex.height=1,this._globalSpeedPrevTex.width=this._globalSpeedPrevTex.height=1,this._nodeRepulsionPass=new oZ({fragment:NZ.Shader.source("ecgl.forceAtlas2.updateNodeRepulsion")}),this._positionPass=new oZ({fragment:NZ.Shader.source("ecgl.forceAtlas2.updatePosition")}),this._globalSpeedPass=new oZ({fragment:NZ.Shader.source("ecgl.forceAtlas2.calcGlobalSpeed")}),this._copyPass=new oZ({fragment:NZ.Shader.source("clay.compositor.output")});var n=function(t){t.blendEquation(t.FUNC_ADD),t.blendFunc(t.ONE,t.ONE)};this._edgeForceMesh=new NZ.Mesh({geometry:new NZ.Geometry({attributes:{node1:new NZ.Geometry.Attribute("node1","float",2),node2:new NZ.Geometry.Attribute("node2","float",2),weight:new NZ.Geometry.Attribute("weight","float",1)},dynamic:!0,mainAttribute:"node1"}),material:new NZ.Material({transparent:!0,shader:NZ.createShader("ecgl.forceAtlas2.updateEdgeAttraction"),blend:n,depthMask:!1,depthText:!1}),mode:NZ.Mesh.POINTS}),this._weightedSumMesh=new NZ.Mesh({geometry:new NZ.Geometry({attributes:{node:new NZ.Geometry.Attribute("node","float",2)},dynamic:!0,mainAttribute:"node"}),material:new NZ.Material({transparent:!0,shader:NZ.createShader("ecgl.forceAtlas2.calcWeightedSum"),blend:n,depthMask:!1,depthText:!1}),mode:NZ.Mesh.POINTS}),this._framebuffer=new RY({depthBuffer:!1}),this._dummyCamera=new NZ.OrthographicCamera({left:-1,right:1,top:1,bottom:-1,near:0,far:100}),this._globalSpeed=0}t1.prototype.updateOption=function(t){for(var e in $$)this[e]=$$[e];var n=this._nodes.length;if(this.jitterTolerence=n>5e4?10:n>5e3?1:.1,this.scaling=n>100?2:10,t)for(var e in $$)null!=t[e]&&(this[e]=t[e]);if(this.repulsionByDegree)for(var i=this._positionSourceTex.pixels,r=0;r<this._nodes.length;r++)i[4*r+2]=(this._nodes[r].degree||0)+1},t1.prototype._updateGravityCenter=function(t){var e=this._nodes,n=this._edges;if(this.gravityCenter)this._gravityCenter=this.gravityCenter;else{for(var i=[1/0,1/0],r=[-1/0,-1/0],o=0;o<e.length;o++)i[0]=Math.min(e[o].x,i[0]),i[1]=Math.min(e[o].y,i[1]),r[0]=Math.max(e[o].x,r[0]),r[1]=Math.max(e[o].y,r[1]);this._gravityCenter=[.5*(i[0]+r[0]),.5*(i[1]+r[1])]}for(o=0;o<n.length;o++){var a=n[o].node1,s=n[o].node2;e[a].degree=(e[a].degree||0)+1,e[s].degree=(e[s].degree||0)+1}},t1.prototype.initData=function(t,e){this._nodes=t,this._edges=e,this._updateGravityCenter();var n=Math.ceil(Math.sqrt(t.length)),i=n,r=new Float32Array(n*i*4);this._resize(n,i);for(var o=0,a=0;a<t.length;a++){var s=t[a];r[o++]=s.x||0,r[o++]=s.y||0,r[o++]=s.mass||1,r[o++]=s.size||1}this._positionSourceTex.pixels=r;var l=this._edgeForceMesh.geometry,u=e.length;l.attributes.node1.init(2*u),l.attributes.node2.init(2*u),l.attributes.weight.init(2*u);var c=[];for(a=0;a<e.length;a++){var h=l.attributes,d=e[a].weight;null==d&&(d=1),h.node1.set(a,this.getNodeUV(e[a].node1,c)),h.node2.set(a,this.getNodeUV(e[a].node2,c)),h.weight.set(a,d),h.node1.set(a+u,this.getNodeUV(e[a].node2,c)),h.node2.set(a+u,this.getNodeUV(e[a].node1,c)),h.weight.set(a+u,d)}var p=this._weightedSumMesh.geometry;p.attributes.node.init(t.length);for(a=0;a<t.length;a++)p.attributes.node.set(a,this.getNodeUV(a,c));l.dirty(),p.dirty(),this._nodeRepulsionPass.material.define("fragment","NODE_COUNT",t.length),this._nodeRepulsionPass.material.setUniform("textureSize",[n,i]),this._inited=!1,this._frame=0},t1.prototype.getNodes=function(){return this._nodes},t1.prototype.getEdges=function(){return this._edges},t1.prototype.step=function(t){this._inited||(this._initFromSource(t),this._inited=!0),this._frame++,this._framebuffer.attach(this._forceTex),this._framebuffer.bind(t);var e=this._nodeRepulsionPass;e.setUniform("strongGravityMode",this.strongGravityMode),e.setUniform("gravity",this.gravity),e.setUniform("gravityCenter",this._gravityCenter),e.setUniform("scaling",this.scaling),e.setUniform("preventOverlap",this.preventOverlap),e.setUniform("positionTex",this._positionPrevTex),e.render(t);var n=this._edgeForceMesh;n.material.set("linLogMode",this.linLogMode),n.material.set("edgeWeightInfluence",this.edgeWeightInfluence),n.material.set("preventOverlap",this.preventOverlap),n.material.set("positionTex",this._positionPrevTex),t.gl.enable(t.gl.BLEND),t.renderPass([n],this._dummyCamera),this._framebuffer.attach(this._weightedSumTex),t.gl.clearColor(0,0,0,0),t.gl.clear(t.gl.COLOR_BUFFER_BIT),t.gl.enable(t.gl.BLEND);var i=this._weightedSumMesh;i.material.set("positionTex",this._positionPrevTex),i.material.set("forceTex",this._forceTex),i.material.set("forcePrevTex",this._forcePrevTex),t.renderPass([i],this._dummyCamera),this._framebuffer.attach(this._globalSpeedTex);var r=this._globalSpeedPass;r.setUniform("globalSpeedPrevTex",this._globalSpeedPrevTex),r.setUniform("weightedSumTex",this._weightedSumTex),r.setUniform("jitterTolerence",this.jitterTolerence),t.gl.disable(t.gl.BLEND),r.render(t);var o=this._positionPass;this._framebuffer.attach(this._positionTex),o.setUniform("globalSpeedTex",this._globalSpeedTex),o.setUniform("positionTex",this._positionPrevTex),o.setUniform("forceTex",this._forceTex),o.setUniform("forcePrevTex",this._forcePrevTex),o.render(t),this._framebuffer.unbind(t),this._swapTexture()},t1.prototype.update=function(t,e,n){null==e&&(e=1),e=Math.max(e,1);for(var i=0;i<e;i++)this.step(t);n&&n()},t1.prototype.getNodePositionTexture=function(){return this._inited?this._positionPrevTex:this._positionSourceTex},t1.prototype.getNodeUV=function(t,e){e=e||[];var n=this._positionTex.width,i=this._positionTex.height;return e[0]=t%n/(n-1),e[1]=Math.floor(t/n)/(i-1)||0,e},t1.prototype.getNodePosition=function(t,e){var n=this._positionArr,i=this._positionTex.width,r=this._positionTex.height,o=i*r;n&&n.length===4*o||(n=this._positionArr=new Float32Array(4*o)),this._framebuffer.bind(t),this._framebuffer.attach(this._positionPrevTex),t.gl.readPixels(0,0,i,r,t.gl.RGBA,t.gl.FLOAT,n),this._framebuffer.unbind(t),e||(e=new Float32Array(2*this._nodes.length));for(var a=0;a<this._nodes.length;a++)e[2*a]=n[4*a],e[2*a+1]=n[4*a+1];return e},t1.prototype.getTextureData=function(t,e){var n=this["_"+e+"Tex"],i=n.width,r=n.height;this._framebuffer.bind(t),this._framebuffer.attach(n);var o=new Float32Array(i*r*4);return t.gl.readPixels(0,0,i,r,t.gl.RGBA,t.gl.FLOAT,o),this._framebuffer.unbind(t),o},t1.prototype.getTextureSize=function(){return{width:this._positionTex.width,height:this._positionTex.height}},t1.prototype.isFinished=function(t){return this._frame>t},t1.prototype._swapTexture=function(){var t=this._positionPrevTex;this._positionPrevTex=this._positionTex,this._positionTex=t;t=this._forcePrevTex;this._forcePrevTex=this._forceTex,this._forceTex=t;t=this._globalSpeedPrevTex;this._globalSpeedPrevTex=this._globalSpeedTex,this._globalSpeedTex=t},t1.prototype._initFromSource=function(t){this._framebuffer.attach(this._positionPrevTex),this._framebuffer.bind(t),this._copyPass.setUniform("texture",this._positionSourceTex),this._copyPass.render(t),t.gl.clearColor(0,0,0,0),this._framebuffer.attach(this._forcePrevTex),t.gl.clear(t.gl.COLOR_BUFFER_BIT),this._framebuffer.attach(this._globalSpeedPrevTex),t.gl.clear(t.gl.COLOR_BUFFER_BIT),this._framebuffer.unbind(t)},t1.prototype._resize=function(t,e){["_positionSourceTex","_positionTex","_positionPrevTex","_forceTex","_forcePrevTex"].forEach((function(n){this[n].width=t,this[n].height=e,this[n].dirty()}),this)},t1.prototype.dispose=function(t){this._framebuffer.dispose(t),this._copyPass.dispose(t),this._nodeRepulsionPass.dispose(t),this._positionPass.dispose(t),this._globalSpeedPass.dispose(t),this._edgeForceMesh.geometry.dispose(t),this._weightedSumMesh.geometry.dispose(t),this._positionSourceTex.dispose(t),this._positionTex.dispose(t),this._positionPrevTex.dispose(t),this._forceTex.dispose(t),this._forcePrevTex.dispose(t),this._weightedSumTex.dispose(t),this._globalSpeedTex.dispose(t),this._globalSpeedPrevTex.dispose(t)};var e1=function(){var t=function(){return new Float32Array(2)},e=function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return Math.sqrt(n*n+i*i)},n=function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)},i=function(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t},r=function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},o=function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t},a=function(t,e){return t[0]=e[0],t[1]=e[1],t},s=function(t,e,n){return t[0]=e,t[1]=n,t};function l(){this.subRegions=[],this.nSubRegions=0,this.node=null,this.mass=0,this.centerOfMass=null,this.bbox=new Float32Array(4),this.size=0}var u=l.prototype;function c(){this.position=new Float32Array(2),this.force=t(),this.forcePrev=t(),this.mass=1,this.inDegree=0,this.outDegree=0}function h(t,e){this.source=t,this.target=e,this.weight=1}function d(){this.autoSettings=!0,this.barnesHutOptimize=!0,this.barnesHutTheta=1.5,this.repulsionByDegree=!0,this.linLogMode=!1,this.strongGravityMode=!1,this.gravity=1,this.scaling=1,this.edgeWeightInfluence=1,this.jitterTolerence=.1,this.preventOverlap=!1,this.dissuadeHubs=!1,this.rootRegion=new l,this.rootRegion.centerOfMass=t(),this.nodes=[],this.edges=[],this.bbox=new Float32Array(4),this.gravityCenter=null,this._massArr=null,this._swingingArr=null,this._sizeArr=null,this._globalSpeed=0}u.beforeUpdate=function(){for(var t=0;t<this.nSubRegions;t++)this.subRegions[t].beforeUpdate();this.mass=0,this.centerOfMass&&(this.centerOfMass[0]=0,this.centerOfMass[1]=0),this.nSubRegions=0,this.node=null},u.afterUpdate=function(){this.subRegions.length=this.nSubRegions;for(var t=0;t<this.nSubRegions;t++)this.subRegions[t].afterUpdate()},u.addNode=function(t){if(0===this.nSubRegions){if(null==this.node)return void(this.node=t);this._addNodeToSubRegion(this.node),this.node=null}this._addNodeToSubRegion(t),this._updateCenterOfMass(t)},u.findSubRegion=function(t,e){for(var n=0;n<this.nSubRegions;n++){var i=this.subRegions[n];if(i.contain(t,e))return i}},u.contain=function(t,e){return this.bbox[0]<=t&&this.bbox[2]>=t&&this.bbox[1]<=e&&this.bbox[3]>=e},u.setBBox=function(t,e,n,i){this.bbox[0]=t,this.bbox[1]=e,this.bbox[2]=n,this.bbox[3]=i,this.size=(n-t+i-e)/2},u._newSubRegion=function(){var t=this.subRegions[this.nSubRegions];return t||(t=new l,this.subRegions[this.nSubRegions]=t),this.nSubRegions++,t},u._addNodeToSubRegion=function(t){var e=this.findSubRegion(t.position[0],t.position[1]),n=this.bbox;if(!e){var i=(n[0]+n[2])/2,r=(n[1]+n[3])/2,o=(n[2]-n[0])/2,a=(n[3]-n[1])/2,s=t.position[0]>=i?1:0,l=t.position[1]>=r?1:0;(e=this._newSubRegion()).setBBox(s*o+n[0],l*a+n[1],(s+1)*o+n[0],(l+1)*a+n[1])}e.addNode(t)},u._updateCenterOfMass=function(t){null==this.centerOfMass&&(this.centerOfMass=new Float32Array(2));var e=this.centerOfMass[0]*this.mass,n=this.centerOfMass[1]*this.mass;e+=t.position[0]*t.mass,n+=t.position[1]*t.mass,this.mass+=t.mass,this.centerOfMass[0]=e/this.mass,this.centerOfMass[1]=n/this.mass};var p=d.prototype;p.initNodes=function(t,e,n){var i=e.length;this.nodes.length=0;for(var r=void 0!==n,o=0;o<i;o++){var a=new c;a.position[0]=t[2*o],a.position[1]=t[2*o+1],a.mass=e[o],r&&(a.size=n[o]),this.nodes.push(a)}this._massArr=e,this._swingingArr=new Float32Array(i),r&&(this._sizeArr=n)},p.initEdges=function(t,e){var n=t.length/2;this.edges.length=0;for(var i=0;i<n;i++){var r=t[2*i],o=t[2*i+1],a=this.nodes[r],s=this.nodes[o];if(!a||!s)return void console.error("Node not exists, try initNodes before initEdges");a.outDegree++,s.inDegree++;var l=new h(a,s);e&&(l.weight=e[i]),this.edges.push(l)}},p.updateSettings=function(){if(this.repulsionByDegree)for(var t=0;t<this.nodes.length;t++){(e=this.nodes[t]).mass=e.inDegree+e.outDegree+1}else for(t=0;t<this.nodes.length;t++){var e;(e=this.nodes[t]).mass=this._massArr[t]}},p.update=function(){var o=this.nodes.length;if(this.updateSettings(),this.updateBBox(),this.barnesHutOptimize){this.rootRegion.setBBox(this.bbox[0],this.bbox[1],this.bbox[2],this.bbox[3]),this.rootRegion.beforeUpdate();for(var l=0;l<o;l++)this.rootRegion.addNode(this.nodes[l]);this.rootRegion.afterUpdate()}for(l=0;l<o;l++){var u=this.nodes[l];a(u.forcePrev,u.force),s(u.force,0,0)}for(l=0;l<o;l++){var c=this.nodes[l];if(this.barnesHutOptimize)this.applyRegionToNodeRepulsion(this.rootRegion,c);else for(var h=l+1;h<o;h++){var d=this.nodes[h];this.applyNodeToNodeRepulsion(c,d,!1)}this.gravity>0&&(this.strongGravityMode?this.applyNodeStrongGravity(c):this.applyNodeGravity(c))}for(l=0;l<this.edges.length;l++)this.applyEdgeAttraction(this.edges[l]);var p=0,f=0,g=t();for(l=0;l<o;l++){u=this.nodes[l];p+=(v=e(u.force,u.forcePrev))*u.mass,r(g,u.force,u.forcePrev),f+=.5*n(g)*u.mass,this._swingingArr[l]=v}var m=this.jitterTolerence*this.jitterTolerence*f/p;this._globalSpeed>0&&(m=Math.min(m/this._globalSpeed,1.5)*this._globalSpeed),this._globalSpeed=m;for(l=0;l<o;l++){u=this.nodes[l];var v=this._swingingArr[l],y=.1*m/(1+m*Math.sqrt(v)),_=n(u.force);_>0&&(y=Math.min(_*y,10)/_,i(u.position,u.position,u.force,y))}},p.applyRegionToNodeRepulsion=function(){var e=t();return function(t,n){if(t.node)this.applyNodeToNodeRepulsion(t.node,n,!0);else{o(e,n.position,t.centerOfMass);var r=e[0]*e[0]+e[1]*e[1];if(r>this.barnesHutTheta*t.size*t.size){var a=this.scaling*n.mass*t.mass/r;i(n.force,n.force,e,a)}else for(var s=0;s<t.nSubRegions;s++)this.applyRegionToNodeRepulsion(t.subRegions[s],n)}}}(),p.applyNodeToNodeRepulsion=function(){var e=t();return function(t,n,r){if(t!=n){o(e,t.position,n.position);var a=e[0]*e[0]+e[1]*e[1];if(0!==a){var s;if(this.preventOverlap){var l=Math.sqrt(a);if((l=l-t.size-n.size)>0)s=this.scaling*t.mass*n.mass/(l*l);else{if(!(l<0))return;s=100*this.scaling*t.mass*n.mass}}else s=this.scaling*t.mass*n.mass/a;i(t.force,t.force,e,s),i(n.force,n.force,e,-s)}}}}(),p.applyEdgeAttraction=function(){var e=t();return function(t){var r=t.source,a=t.target;o(e,r.position,a.position);var s,l,u=n(e);s=0===this.edgeWeightInfluence?1:1===this.edgeWeightInfluence?t.weight:Math.pow(t.weight,this.edgeWeightInfluence),this.preventOverlap&&(u=u-r.size-a.size)<=0||(l=this.linLogMode?-s*Math.log(u+1)/(u+1):-s,i(r.force,r.force,e,l),i(a.force,a.force,e,-l))}}(),p.applyNodeGravity=function(){var e=t();return function(t){o(e,this.gravityCenter,t.position);var r=n(e);i(t.force,t.force,e,this.gravity*t.mass/(r+1))}}(),p.applyNodeStrongGravity=function(){var e=t();return function(t){o(e,this.gravityCenter,t.position),i(t.force,t.force,e,this.gravity*t.mass)}}(),p.updateBBox=function(){for(var t=1/0,e=1/0,n=-1/0,i=-1/0,r=0;r<this.nodes.length;r++){var o=this.nodes[r].position;t=Math.min(t,o[0]),e=Math.min(e,o[1]),n=Math.max(n,o[0]),i=Math.max(i,o[1])}this.bbox[0]=t,this.bbox[1]=e,this.bbox[2]=n,this.bbox[3]=i},p.getGlobalSpeed=function(){return this._globalSpeed};var f=null;self.onmessage=function(t){switch(t.data.cmd){case"init":(f=new d).initNodes(t.data.nodesPosition,t.data.nodesMass,t.data.nodesSize),f.initEdges(t.data.edges,t.data.edgesWeight);break;case"updateConfig":if(f)for(var e in t.data.config)f[e]=t.data.config[e];break;case"update":var n=t.data.steps;if(f){for(var i=0;i<n;i++)f.update();var r=f.nodes.length,o=new Float32Array(2*r);for(i=0;i<r;i++){var a=f.nodes[i];o[2*i]=a.position[0],o[2*i+1]=a.position[1]}self.postMessage({buffer:o.buffer,globalSpeed:f.getGlobalSpeed()},[o.buffer])}else{var s=new Float32Array;self.postMessage({buffer:s.buffer,globalSpeed:f.getGlobalSpeed()},[s.buffer])}}}}.toString();e1=e1.slice(e1.indexOf("{")+1,e1.lastIndexOf("}"));var n1={barnesHutOptimize:!0,barnesHutTheta:1.5,repulsionByDegree:!0,linLogMode:!1,strongGravityMode:!1,gravity:1,scaling:1,edgeWeightInfluence:1,jitterTolerence:.1,preventOverlap:!1,dissuadeHubs:!1,gravityCenter:null},i1=function(t){for(var e in n1)this[e]=n1[e];if(t)for(var e in t)this[e]=t[e];this._nodes=[],this._edges=[],this._disposed=!1,this._positionTex=new Ej({type:Tj.FLOAT,flipY:!1,minFilter:Tj.NEAREST,magFilter:Tj.NEAREST})};i1.prototype.initData=function(t,e){var n=new Blob([e1]),i=window.URL.createObjectURL(n);this._worker=new Worker(i),this._worker.onmessage=this._$onupdate.bind(this),this._nodes=t,this._edges=e,this._frame=0;for(var r=t.length,o=e.length,a=new Float32Array(2*r),s=new Float32Array(r),l=new Float32Array(r),u=new Float32Array(2*o),c=new Float32Array(o),h=0;h<t.length;h++){var d=t[h];a[2*h]=d.x,a[2*h+1]=d.y,s[h]=null==d.mass?1:d.mass,l[h]=null==d.size?1:d.size}for(h=0;h<e.length;h++){var p=e[h],f=p.node1,g=p.node2;u[2*h]=f,u[2*h+1]=g,c[h]=null==p.weight?1:p.weight}var m=Math.ceil(Math.sqrt(t.length)),v=m,y=new Float32Array(m*v*4),_=this._positionTex;_.width=m,_.height=v,_.pixels=y,this._worker.postMessage({cmd:"init",nodesPosition:a,nodesMass:s,nodesSize:l,edges:u,edgesWeight:c}),this._globalSpeed=1/0},i1.prototype.updateOption=function(t){var e={};for(var n in n1)e[n]=n1[n];var i=this._nodes,r=this._edges,o=i.length;if(e.jitterTolerence=o>5e4?10:o>5e3?1:.1,e.scaling=o>100?2:10,e.barnesHutOptimize=o>1e3,t)for(var n in n1)null!=t[n]&&(e[n]=t[n]);if(!e.gravityCenter){for(var a=[1/0,1/0],s=[-1/0,-1/0],l=0;l<i.length;l++)a[0]=Math.min(i[l].x,a[0]),a[1]=Math.min(i[l].y,a[1]),s[0]=Math.max(i[l].x,s[0]),s[1]=Math.max(i[l].y,s[1]);e.gravityCenter=[.5*(a[0]+s[0]),.5*(a[1]+s[1])]}for(l=0;l<r.length;l++){var u=r[l].node1,c=r[l].node2;i[u].degree=(i[u].degree||0)+1,i[c].degree=(i[c].degree||0)+1}this._worker&&this._worker.postMessage({cmd:"updateConfig",config:e})},i1.prototype.update=function(t,e,n){null==e&&(e=1),e=Math.max(e,1),this._frame+=e,this._onupdate=n,this._worker&&this._worker.postMessage({cmd:"update",steps:Math.round(e)})},i1.prototype._$onupdate=function(t){if(!this._disposed){var e=new Float32Array(t.data.buffer);this._globalSpeed=t.data.globalSpeed,this._positionArr=e,this._updateTexture(e),this._onupdate&&this._onupdate()}},i1.prototype.getNodePositionTexture=function(){return this._positionTex},i1.prototype.getNodeUV=function(t,e){e=e||[];var n=this._positionTex.width,i=this._positionTex.height;return e[0]=t%n/(n-1),e[1]=Math.floor(t/n)/(i-1),e},i1.prototype.getNodes=function(){return this._nodes},i1.prototype.getEdges=function(){return this._edges},i1.prototype.isFinished=function(t){return this._frame>t},i1.prototype.getNodePosition=function(t,e){if(e||(e=new Float32Array(2*this._nodes.length)),this._positionArr)for(var n=0;n<this._positionArr.length;n++)e[n]=this._positionArr[n];return e},i1.prototype._updateTexture=function(t){for(var e=this._positionTex.pixels,n=0,i=0;i<t.length;)e[n++]=t[i++],e[n++]=t[i++],e[n++]=1,e[n++]=1;this._positionTex.dirty()},i1.prototype.dispose=function(t){this._disposed=!0,this._worker=null};var r1=sW.extend((function(){return{zr:null,viewGL:null,minZoom:.2,maxZoom:5,_needsUpdate:!1,_dx:0,_dy:0,_zoom:1}}),(function(){this._mouseDownHandler=this._mouseDownHandler.bind(this),this._mouseWheelHandler=this._mouseWheelHandler.bind(this),this._mouseMoveHandler=this._mouseMoveHandler.bind(this),this._mouseUpHandler=this._mouseUpHandler.bind(this),this._update=this._update.bind(this)}),{init:function(){var t=this.zr;t.on("mousedown",this._mouseDownHandler),t.on("mousewheel",this._mouseWheelHandler),t.on("globalout",this._mouseUpHandler),t.animation.on("frame",this._update)},setTarget:function(t){this._target=t},setZoom:function(t){this._zoom=Math.max(Math.min(t,this.maxZoom),this.minZoom),this._needsUpdate=!0},setOffset:function(t){this._dx=t[0],this._dy=t[1],this._needsUpdate=!0},getZoom:function(){return this._zoom},getOffset:function(){return[this._dx,this._dy]},_update:function(){if(this._target&&this._needsUpdate){var t=this._target,e=this._zoom;t.position.x=this._dx,t.position.y=this._dy,t.scale.set(e,e,e),this.zr.refresh(),this._needsUpdate=!1,this.trigger("update")}},_mouseDownHandler:function(t){if(!t.target){var e=t.offsetX,n=t.offsetY;if(!this.viewGL||this.viewGL.containPoint(e,n)){this.zr.on("mousemove",this._mouseMoveHandler),this.zr.on("mouseup",this._mouseUpHandler);var i=this._convertPos(e,n);this._x=i.x,this._y=i.y}}},_convertPos:function(t,e){var n=this.viewGL.camera,i=this.viewGL.viewport;return{x:(t-i.x)/i.width*(n.right-n.left)+n.left,y:(e-i.y)/i.height*(n.bottom-n.top)+n.top}},_mouseMoveHandler:function(t){var e=this._convertPos(t.offsetX,t.offsetY);this._dx+=e.x-this._x,this._dy+=e.y-this._y,this._x=e.x,this._y=e.y,this._needsUpdate=!0},_mouseUpHandler:function(t){this.zr.off("mousemove",this._mouseMoveHandler),this.zr.off("mouseup",this._mouseUpHandler)},_mouseWheelHandler:function(t){var e=(t=t.event).wheelDelta||-t.detail;if(0!==e){var n=t.offsetX,i=t.offsetY;if(!this.viewGL||this.viewGL.containPoint(n,i)){var r=e>0?1.1:.9,o=Math.max(Math.min(this._zoom*r,this.maxZoom),this.minZoom);r=o/this._zoom;var a=this._convertPos(n,i),s=(a.x-this._dx)*(r-1),l=(a.y-this._dy)*(r-1);this._dx-=s,this._dy-=l,this._zoom=o,this._needsUpdate=!0}}},dispose:function(){var t=this.zr;t.off("mousedown",this._mouseDownHandler),t.off("mousemove",this._mouseMoveHandler),t.off("mouseup",this._mouseUpHandler),t.off("mousewheel",this._mouseWheelHandler),t.off("globalout",this._mouseUpHandler),t.animation.off("frame",this._update)}}),o1=rQ.vec2;NZ.Shader.import("@export ecgl.lines2D.vertex\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\nattribute vec2 position: POSITION;\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n\n#ifdef POSITIONTEXTURE_ENABLED\nuniform sampler2D positionTexture;\n#endif\n\nvoid main()\n{\n gl_Position = worldViewProjection * vec4(position, -10.0, 1.0);\n\n v_Color = a_Color;\n}\n\n@end\n\n@export ecgl.lines2D.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\nvarying vec4 v_Color;\n\nvoid main()\n{\n gl_FragColor = color * v_Color;\n}\n@end\n\n\n@export ecgl.meshLines2D.vertex\n\nattribute vec2 position: POSITION;\nattribute vec2 normal;\nattribute float offset;\nattribute vec4 a_Color : COLOR;\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform vec4 viewport : VIEWPORT;\n\nvarying vec4 v_Color;\nvarying float v_Miter;\n\nvoid main()\n{\n vec4 p2 = worldViewProjection * vec4(position + normal, -10.0, 1.0);\n gl_Position = worldViewProjection * vec4(position, -10.0, 1.0);\n\n p2.xy /= p2.w;\n gl_Position.xy /= gl_Position.w;\n\n vec2 N = normalize(p2.xy - gl_Position.xy);\n gl_Position.xy += N * offset / viewport.zw * 2.0;\n\n gl_Position.xy *= gl_Position.w;\n\n v_Color = a_Color;\n}\n@end\n\n\n@export ecgl.meshLines2D.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\nvarying vec4 v_Color;\nvarying float v_Miter;\n\nvoid main()\n{\n gl_FragColor = color * v_Color;\n}\n\n@end");var a1=1,s1=Um.extend({type:"graphGL",__ecgl__:!0,init:function(t,e){this.groupGL=new NZ.Node,this.viewGL=new Dq("orthographic"),this.viewGL.camera.left=this.viewGL.camera.right=0,this.viewGL.add(this.groupGL),this._pointsBuilder=new p$(!0,e),this._forceEdgesMesh=new NZ.Mesh({material:new NZ.Material({shader:NZ.createShader("ecgl.forceAtlas2.edges"),transparent:!0,depthMask:!1,depthTest:!1}),$ignorePicking:!0,geometry:new NZ.Geometry({attributes:{node:new NZ.Geometry.Attribute("node","float",2),color:new NZ.Geometry.Attribute("color","float",4,"COLOR")},dynamic:!0,mainAttribute:"node"}),renderOrder:-1,mode:NZ.Mesh.LINES}),this._edgesMesh=new NZ.Mesh({material:new NZ.Material({shader:NZ.createShader("ecgl.meshLines2D"),transparent:!0,depthMask:!1,depthTest:!1}),$ignorePicking:!0,geometry:new K$({useNativeLine:!1,dynamic:!0}),renderOrder:-1,culling:!1}),this._layoutId=0,this._control=new r1({zr:e.getZr(),viewGL:this.viewGL}),this._control.setTarget(this.groupGL),this._control.init(),this._clickHandler=this._clickHandler.bind(this)},render:function(t,e,n){this.groupGL.add(this._pointsBuilder.rootNode),this._model=t,this._api=n,this._initLayout(t,e,n),this._pointsBuilder.update(t,e,n),this._forceLayoutInstance instanceof t1||this.groupGL.remove(this._forceEdgesMesh),this._updateCamera(t,n),this._control.off("update"),this._control.on("update",(function(){n.dispatchAction({type:"graphGLRoam",seriesId:t.id,zoom:this._control.getZoom(),offset:this._control.getOffset()}),this._pointsBuilder.updateView(this.viewGL.camera)}),this),this._control.setZoom(fZ(t.get("zoom"),1)),this._control.setOffset(t.get("offset")||[0,0]);var i=this._pointsBuilder.getPointsMesh();if(i.off("mousemove",this._mousemoveHandler),i.off("mouseout",this._mouseOutHandler,this),n.getZr().off("click",this._clickHandler),this._pointsBuilder.highlightOnMouseover=!0,t.get("focusNodeAdjacency")){var r=t.get("focusNodeAdjacencyOn");"click"===r?n.getZr().on("click",this._clickHandler):"mouseover"===r&&(i.on("mousemove",this._mousemoveHandler,this),i.on("mouseout",this._mouseOutHandler,this),this._pointsBuilder.highlightOnMouseover=!1)}this._lastMouseOverDataIndex=-1},_clickHandler:function(t){if(!this._layouting){var e=this._pointsBuilder.getPointsMesh().dataIndex;e>=0?this._api.dispatchAction({type:"graphGLFocusNodeAdjacency",seriesId:this._model.id,dataIndex:e}):this._api.dispatchAction({type:"graphGLUnfocusNodeAdjacency",seriesId:this._model.id})}},_mousemoveHandler:function(t){if(!this._layouting){var e=this._pointsBuilder.getPointsMesh().dataIndex;e>=0?e!==this._lastMouseOverDataIndex&&this._api.dispatchAction({type:"graphGLFocusNodeAdjacency",seriesId:this._model.id,dataIndex:e}):this._mouseOutHandler(t),this._lastMouseOverDataIndex=e}},_mouseOutHandler:function(t){this._layouting||(this._api.dispatchAction({type:"graphGLUnfocusNodeAdjacency",seriesId:this._model.id}),this._lastMouseOverDataIndex=-1)},_updateForceEdgesGeometry:function(t,e){var n=this._forceEdgesMesh.geometry,i=e.getEdgeData(),r=0,o=this._forceLayoutInstance,a=2*i.count();n.attributes.node.init(a),n.attributes.color.init(a),i.each((function(e){var a=t[e];n.attributes.node.set(r,o.getNodeUV(a.node1)),n.attributes.node.set(r+1,o.getNodeUV(a.node2));var s=AJ(i,a.dataIndex),l=NZ.parseColor(s);l[3]*=fZ(TJ(i,a.dataIndex),1),n.attributes.color.set(r,l),n.attributes.color.set(r+1,l),r+=2})),n.dirty()},_updateMeshLinesGeometry:function(){var t=this._model.getEdgeData(),e=this._edgesMesh.geometry,n=(t=this._model.getEdgeData(),this._model.getData().getLayout("points"));e.resetOffset(),e.setVertexCount(t.count()*e.getLineVertexCount()),e.setTriangleCount(t.count()*e.getLineTriangleCount());var i=[],r=[],o=["lineStyle","width"];this._originalEdgeColors=new Float32Array(4*t.count()),this._edgeIndicesMap=new Float32Array(t.count()),t.each((function(a){var s=t.graph.getEdgeByIndex(a),l=2*s.node1.dataIndex,u=2*s.node2.dataIndex;i[0]=n[l],i[1]=n[l+1],r[0]=n[u],r[1]=n[u+1];var c=AJ(t,s.dataIndex),h=NZ.parseColor(c);h[3]*=fZ(TJ(t,s.dataIndex),1);var d=t.getItemModel(s.dataIndex),p=fZ(d.get(o),1)*this._api.getDevicePixelRatio();e.addLine(i,r,h,p);for(var f=0;f<4;f++)this._originalEdgeColors[4*s.dataIndex+f]=h[f];this._edgeIndicesMap[s.dataIndex]=a}),this),e.dirty()},_updateForceNodesGeometry:function(t){for(var e=this._pointsBuilder.getPointsMesh(),n=[],i=0;i<t.count();i++)this._forceLayoutInstance.getNodeUV(i,n),e.geometry.attributes.position.set(i,n);e.geometry.dirty("position")},_initLayout:function(t,e,n){var i=t.get("layout"),r=t.getGraph(),o=Gp(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()});"force"===i&&(i="forceAtlas2"),this.stopLayout(t,e,n,{beforeLayout:!0});var a=t.getData(),s=t.getData();if("forceAtlas2"===i){var l=t.getModel("forceAtlas2"),u=this._forceLayoutInstance,c=[],h=[],d=a.getDataExtent("value"),p=s.getDataExtent("value"),f=fZ(l.get("edgeWeight"),1),g=fZ(l.get("nodeWeight"),1);"number"==typeof f&&(f=[f,f]),"number"==typeof g&&(g=[g,g]);var m=0,v={},y=new Float32Array(2*a.count());if(r.eachNode((function(t){var e,n,i=t.dataIndex,r=a.get("value",i);if(a.hasItemOption){var s=a.getItemModel(i);e=s.get("x"),n=s.get("y")}null==e&&(e=o.x+Math.random()*o.width,n=o.y+Math.random()*o.height),y[2*m]=e,y[2*m+1]=n,v[t.id]=m++;var l=ra(r,d,g);isNaN(l)&&(l=isNaN(g[0])?1:g[0]),c.push({x:e,y:n,mass:l,size:a.getItemVisual(i,"symbolSize")})})),a.setLayout("points",y),r.eachEdge((function(t){var e=t.dataIndex,n=ra(a.get("value",e),p,f);isNaN(n)&&(n=isNaN(f[0])?1:f[0]),h.push({node1:v[t.node1.id],node2:v[t.node2.id],weight:n,dataIndex:e})})),!u){var _=l.get("GPU");this._forceLayoutInstance&&((!_||this._forceLayoutInstance instanceof t1)&&(_||this._forceLayoutInstance instanceof i1)||(this._forceLayoutInstanceToDispose=this._forceLayoutInstance)),u=this._forceLayoutInstance=_?new t1:new i1}u.initData(c,h),u.updateOption(l.option),this._updateForceEdgesGeometry(u.getEdges(),t),this._updatePositionTexture(),n.dispatchAction({type:"graphGLStartLayout",from:this.uid})}else{y=new Float32Array(2*a.count()),m=0;r.eachNode((function(t){var e,n,i=t.dataIndex;if(a.hasItemOption){var r=a.getItemModel(i);e=r.get("x"),n=r.get("y")}y[m++]=e,y[m++]=n})),a.setLayout("points",y),this._updateAfterLayout(t,e,n)}},_updatePositionTexture:function(){var t=this._forceLayoutInstance.getNodePositionTexture();this._pointsBuilder.setPositionTexture(t),this._forceEdgesMesh.material.set("positionTex",t)},startLayout:function(t,e,n,i){if(!i||null==i.from||i.from===this.uid){var r=this.viewGL,o=(n=this._api,this._forceLayoutInstance),a=this._model.getData(),s=this._model.getModel("forceAtlas2");if(o&&(this.groupGL.remove(this._edgesMesh),this.groupGL.add(this._forceEdgesMesh),this._forceLayoutInstance)){this._updateForceNodesGeometry(t.getData()),this._pointsBuilder.hideLabels();var l=this,u=this._layoutId=a1++,c=s.getShallow("maxSteps"),h=s.getShallow("steps"),d=0,p=Math.max(2*h,20),f=function(e){if(e===l._layoutId)return o.isFinished(c)?(n.dispatchAction({type:"graphGLStopLayout",from:l.uid}),void n.dispatchAction({type:"graphGLFinishLayout",points:a.getLayout("points"),from:l.uid})):void o.update(r.layer.renderer,h,(function(){l._updatePositionTexture(),(d+=h)>=p&&(l._syncNodePosition(t),d=0),n.getZr().refresh(),yi((function(){f(e)}))}))};yi((function(){l._forceLayoutInstanceToDispose&&(l._forceLayoutInstanceToDispose.dispose(r.layer.renderer),l._forceLayoutInstanceToDispose=null),f(u)})),this._layouting=!0}}},stopLayout:function(t,e,n,i){i&&null!=i.from&&i.from!==this.uid||(this._layoutId=0,this.groupGL.remove(this._forceEdgesMesh),this.groupGL.add(this._edgesMesh),this._forceLayoutInstance&&this.viewGL.layer&&(i&&i.beforeLayout||(this._syncNodePosition(t),this._updateAfterLayout(t,e,n)),this._api.getZr().refresh(),this._layouting=!1))},_syncNodePosition:function(t){var e=this._forceLayoutInstance.getNodePosition(this.viewGL.layer.renderer);t.getData().setLayout("points",e),t.setNodePosition(e)},_updateAfterLayout:function(t,e,n){this._updateMeshLinesGeometry(),this._pointsBuilder.removePositionTexture(),this._pointsBuilder.updateLayout(t,e,n),this._pointsBuilder.updateView(this.viewGL.camera),this._pointsBuilder.updateLabels(),this._pointsBuilder.showLabels()},focusNodeAdjacency:function(t,e,n,i){var r=this._model.getData();this._downplayAll();var o=i.dataIndex,a=r.graph,s=[],l=a.getNodeByIndex(o);s.push(l),l.edges.forEach((function(t){t.dataIndex<0||(t.node1!==l&&s.push(t.node1),t.node2!==l&&s.push(t.node2))}),this),this._pointsBuilder.fadeOutAll(.05),this._fadeOutEdgesAll(.05),s.forEach((function(t){this._pointsBuilder.highlight(r,t.dataIndex)}),this),this._pointsBuilder.updateLabels(s.map((function(t){return t.dataIndex})));var u=[];l.edges.forEach((function(t){t.dataIndex>=0&&(this._highlightEdge(t.dataIndex),u.push(t))}),this),this._focusNodes=s,this._focusEdges=u},unfocusNodeAdjacency:function(t,e,n,i){this._downplayAll(),this._pointsBuilder.fadeInAll(),this._fadeInEdgesAll(),this._pointsBuilder.updateLabels()},_highlightEdge:function(t){var e=this._model.getEdgeData().getItemModel(t),n=NZ.parseColor(e.get("emphasis.lineStyle.color")||e.get("lineStyle.color")),i=fZ(e.get("emphasis.lineStyle.opacity"),e.get("lineStyle.opacity"),1);n[3]*=i,this._edgesMesh.geometry.setItemColor(this._edgeIndicesMap[t],n)},_downplayAll:function(){this._focusNodes&&this._focusNodes.forEach((function(t){this._pointsBuilder.downplay(this._model.getData(),t.dataIndex)}),this),this._focusEdges&&this._focusEdges.forEach((function(t){this._downplayEdge(t.dataIndex)}),this)},_downplayEdge:function(t){var e=this._getColor(t,[]);this._edgesMesh.geometry.setItemColor(this._edgeIndicesMap[t],e)},_setEdgeFade:function(){var t=[];return function(e,n){this._getColor(e,t),t[3]*=n,this._edgesMesh.geometry.setItemColor(this._edgeIndicesMap[e],t)}}(),_getColor:function(t,e){for(var n=0;n<4;n++)e[n]=this._originalEdgeColors[4*t+n];return e},_fadeOutEdgesAll:function(t){this._model.getData().graph.eachEdge((function(e){this._setEdgeFade(e.dataIndex,t)}),this)},_fadeInEdgesAll:function(){this._fadeOutEdgesAll(1)},_updateCamera:function(t,e){this.viewGL.setViewport(0,0,e.getWidth(),e.getHeight(),e.getDevicePixelRatio());for(var n=this.viewGL.camera,i=t.getData().getLayout("points"),r=o1.create(1/0,1/0),o=o1.create(-1/0,-1/0),a=[],s=0;s<i.length;)a[0]=i[s++],a[1]=i[s++],o1.min(r,r,a),o1.max(o,o,a);var l=(o[1]+r[1])/2,u=(o[0]+r[0])/2;if(!(u>n.left&&u<n.right&&l<n.bottom&&l>n.top)){var c=Math.max(o[0]-r[0],10),h=c/e.getWidth()*e.getHeight();c*=1.4,h*=1.4,r[0]-=.2*c,n.left=r[0],n.top=l-h/2,n.bottom=l+h/2,n.right=c+r[0],n.near=0,n.far=100}},dispose:function(){var t=this.viewGL.layer.renderer;this._forceLayoutInstance&&this._forceLayoutInstance.dispose(t),this.groupGL.removeAll(),this._layoutId=-1,this._pointsBuilder.dispose()},remove:function(){this.groupGL.removeAll(),this._control.dispose()}});function l1(t){return t instanceof Array||(t=[t,t]),t}Z_((function(t){function e(){}t.registerChartView(s1),t.registerSeriesModel(Q$),t.registerVisual((function(t){var e={};t.eachSeriesByType("graphGL",(function(t){var n=t.getCategoriesData(),i=t.getData(),r={};n.each((function(i){var o=n.getName(i);r["ec-"+o]=i;var a=n.getItemModel(i),s=a.getModel("itemStyle").getItemStyle();s.fill||(s.fill=t.getColorFromPalette(o,e)),n.setItemVisual(i,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=a.getShallow(l[u],!0);null!=c&&n.setItemVisual(i,l[u],c)}})),n.count()&&i.each((function(t){var e=i.getItemModel(t).getShallow("category");if(null!=e){"string"==typeof e&&(e=r["ec-"+e]);var o=n.getItemVisual(e,"style");Kt(i.ensureUniqueItemVisual(t,"style"),o);for(var a=["symbol","symbolSize","symbolKeepAspect"],s=0;s<a.length;s++)i.setItemVisual(t,a[s],n.getItemVisual(e,a[s]))}}))}))})),t.registerVisual((function(t){t.eachSeriesByType("graphGL",(function(t){var e=t.getGraph(),n=t.getEdgeData(),i=l1(t.get("edgeSymbol")),r=l1(t.get("edgeSymbolSize"));n.setVisual("drawType","stroke"),n.setVisual("fromSymbol",i&&i[0]),n.setVisual("toSymbol",i&&i[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]),n.setVisual("style",t.getModel("lineStyle").getLineStyle()),n.each((function(t){var i=n.getItemModel(t),r=e.getEdgeByIndex(t),o=l1(i.getShallow("symbol",!0)),a=l1(i.getShallow("symbolSize",!0)),s=i.getModel("lineStyle").getLineStyle(),l=n.ensureUniqueItemVisual(t,"style");switch(Kt(l,s),l.stroke){case"source":var u=r.node1.getVisual("style");l.stroke=u&&u.fill;break;case"target":u=r.node2.getVisual("style");l.stroke=u&&u.fill}o[0]&&r.setVisual("fromSymbol",o[0]),o[1]&&r.setVisual("toSymbol",o[1]),a[0]&&r.setVisual("fromSymbolSize",a[0]),a[1]&&r.setVisual("toSymbolSize",a[1])}))}))})),t.registerAction({type:"graphGLRoam",event:"graphglroam",update:"series.graphGL:roam"},(function(t,e){e.eachComponent({mainType:"series",query:t},(function(e){e.setView(t)}))})),t.registerAction({type:"graphGLStartLayout",event:"graphgllayoutstarted",update:"series.graphGL:startLayout"},e),t.registerAction({type:"graphGLStopLayout",event:"graphgllayoutstopped",update:"series.graphGL:stopLayout"},e),t.registerAction({type:"graphGLFocusNodeAdjacency",event:"graphGLFocusNodeAdjacency",update:"series.graphGL:focusNodeAdjacency"},e),t.registerAction({type:"graphGLUnfocusNodeAdjacency",event:"graphGLUnfocusNodeAdjacency",update:"series.graphGL:unfocusNodeAdjacency"},e)}));var u1=Em.extend({type:"series.flowGL",dependencies:["geo","grid","bmap"],visualStyleAccessPath:"itemStyle",getInitialData:function(t,e){var n=this.get("coordinateSystem"),i="geo"===n?["lng","lat"]:B_(n)||["x","y"];i.push("vx","vy");var r=Sx(this.getSource(),{coordDimensions:i,encodeDefine:this.get("encode"),dimensionsDefine:this.get("dimensions")}),o=new bx(r,this);return o.initData(this.getSource()),o},defaultOption:{coordinateSystem:"cartesian2d",zlevel:10,supersampling:1,particleType:"point",particleDensity:128,particleSize:1,particleSpeed:1,particleTrail:2,colorTexture:null,gridWidth:"auto",gridHeight:"auto",itemStyle:{color:"#fff",opacity:.8}}}),c1=Gj.extend((function(){return{dynamic:!0,attributes:{position:new Gj.Attribute("position","float",3,"POSITION")}}}),{resetOffset:function(){this._vertexOffset=0,this._faceOffset=0},setLineCount:function(t){var e=this.attributes,n=4*t,i=2*t;this.vertexCount!==n&&e.position.init(n),this.triangleCount!==i&&(this.indices=0===i?null:this.vertexCount>65535?new Uint32Array(3*i):new Uint16Array(3*i))},addLine:function(t){var e=this._vertexOffset;this.attributes.position.set(e,[t[0],t[1],1]),this.attributes.position.set(e+1,[t[0],t[1],-1]),this.attributes.position.set(e+2,[t[0],t[1],2]),this.attributes.position.set(e+3,[t[0],t[1],-2]),this.setTriangleIndices(this._faceOffset++,[e,e+1,e+2]),this.setTriangleIndices(this._faceOffset++,[e+1,e+2,e+3]),this._vertexOffset+=4}});pX.import("@export ecgl.vfParticle.particle.fragment\n\nuniform sampler2D particleTexture;\nuniform sampler2D spawnTexture;\nuniform sampler2D velocityTexture;\n\nuniform float deltaTime;\nuniform float elapsedTime;\n\nuniform float speedScaling : 1.0;\n\nuniform vec2 textureSize;\nuniform vec4 region : [0, 0, 1, 1];\nuniform float firstFrameTime;\n\nvarying vec2 v_Texcoord;\n\n\nvoid main()\n{\n vec4 p = texture2D(particleTexture, v_Texcoord);\n bool spawn = false;\n if (p.w <= 0.0) {\n p = texture2D(spawnTexture, fract(v_Texcoord + elapsedTime / 10.0));\n p.w -= firstFrameTime;\n spawn = true;\n }\n vec2 v = texture2D(velocityTexture, fract(p.xy * region.zw + region.xy)).xy;\n v = (v - 0.5) * 2.0;\n p.z = length(v);\n p.xy += v * deltaTime / 10.0 * speedScaling;\n p.w -= deltaTime;\n\n if (spawn || p.xy != fract(p.xy)) {\n p.z = 0.0;\n }\n p.xy = fract(p.xy);\n\n gl_FragColor = p;\n}\n@end\n\n@export ecgl.vfParticle.renderPoints.vertex\n\n#define PI 3.1415926\n\nattribute vec2 texcoord : TEXCOORD_0;\n\nuniform sampler2D particleTexture;\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\nuniform float size : 1.0;\n\nvarying float v_Mag;\nvarying vec2 v_Uv;\n\nvoid main()\n{\n vec4 p = texture2D(particleTexture, texcoord);\n\n if (p.w > 0.0 && p.z > 1e-5) {\n gl_Position = worldViewProjection * vec4(p.xy * 2.0 - 1.0, 0.0, 1.0);\n }\n else {\n gl_Position = vec4(100000.0, 100000.0, 100000.0, 1.0);\n }\n\n v_Mag = p.z;\n v_Uv = p.xy;\n\n gl_PointSize = size;\n}\n\n@end\n\n@export ecgl.vfParticle.renderPoints.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\nuniform sampler2D gradientTexture;\nuniform sampler2D colorTexture;\nuniform sampler2D spriteTexture;\n\nvarying float v_Mag;\nvarying vec2 v_Uv;\n\nvoid main()\n{\n gl_FragColor = color;\n#ifdef SPRITETEXTURE_ENABLED\n gl_FragColor *= texture2D(spriteTexture, gl_PointCoord);\n if (color.a == 0.0) {\n discard;\n }\n#endif\n#ifdef GRADIENTTEXTURE_ENABLED\n gl_FragColor *= texture2D(gradientTexture, vec2(v_Mag, 0.5));\n#endif\n#ifdef COLORTEXTURE_ENABLED\n gl_FragColor *= texture2D(colorTexture, v_Uv);\n#endif\n}\n\n@end\n\n@export ecgl.vfParticle.renderLines.vertex\n\n#define PI 3.1415926\n\nattribute vec3 position : POSITION;\n\nuniform sampler2D particleTexture;\nuniform sampler2D prevParticleTexture;\n\nuniform float size : 1.0;\nuniform vec4 vp: VIEWPORT;\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\nvarying float v_Mag;\nvarying vec2 v_Uv;\n\n@import clay.util.rand\n\nvoid main()\n{\n vec4 p = texture2D(particleTexture, position.xy);\n vec4 p2 = texture2D(prevParticleTexture, position.xy);\n\n p.xy = p.xy * 2.0 - 1.0;\n p2.xy = p2.xy * 2.0 - 1.0;\n\n if (p.w > 0.0 && p.z > 1e-5) {\n vec2 dir = normalize(p.xy - p2.xy);\n vec2 norm = vec2(dir.y / vp.z, -dir.x / vp.w) * sign(position.z) * size;\n if (abs(position.z) == 2.0) {\n gl_Position = vec4(p.xy + norm, 0.0, 1.0);\n v_Uv = p.xy;\n v_Mag = p.z;\n }\n else {\n gl_Position = vec4(p2.xy + norm, 0.0, 1.0);\n v_Mag = p2.z;\n v_Uv = p2.xy;\n }\n gl_Position = worldViewProjection * gl_Position;\n }\n else {\n gl_Position = vec4(100000.0, 100000.0, 100000.0, 1.0);\n }\n}\n\n@end\n\n@export ecgl.vfParticle.renderLines.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\nuniform sampler2D gradientTexture;\nuniform sampler2D colorTexture;\n\nvarying float v_Mag;\nvarying vec2 v_Uv;\n\nvoid main()\n{\n gl_FragColor = color;\n #ifdef GRADIENTTEXTURE_ENABLED\n gl_FragColor *= texture2D(gradientTexture, vec2(v_Mag, 0.5));\n#endif\n#ifdef COLORTEXTURE_ENABLED\n gl_FragColor *= texture2D(colorTexture, v_Uv);\n#endif\n}\n\n@end\n");var h1=function(){this.motionBlurFactor=.99,this.vectorFieldTexture=new Ej({type:Tj.FLOAT,flipY:!1}),this.particleLife=[5,20],this._particleType="point",this._particleSize=1,this.particleColor=[1,1,1,1],this.particleSpeedScaling=1,this._thisFrameTexture=null,this._particlePass=null,this._spawnTexture=null,this._particleTexture0=null,this._particleTexture1=null,this._particlePointsMesh=null,this._surfaceFrameBuffer=null,this._elapsedTime=0,this._scene=null,this._camera=null,this._lastFrameTexture=null,this._supersampling=1,this._downsampleTextures=[],this._width=512,this._height=512,this.init()};h1.prototype={constructor:h1,init:function(){var t={type:Tj.FLOAT,minFilter:Tj.NEAREST,magFilter:Tj.NEAREST,useMipmap:!1};this._spawnTexture=new Ej(t),this._particleTexture0=new Ej(t),this._particleTexture1=new Ej(t),this._frameBuffer=new RY({depthBuffer:!1}),this._particlePass=new oZ({fragment:pX.source("ecgl.vfParticle.particle.fragment")}),this._particlePass.setUniform("velocityTexture",this.vectorFieldTexture),this._particlePass.setUniform("spawnTexture",this._spawnTexture),this._downsamplePass=new oZ({fragment:pX.source("clay.compositor.downsample")});var e=new Mj({renderOrder:10,material:new OW({shader:new pX(pX.source("ecgl.vfParticle.renderPoints.vertex"),pX.source("ecgl.vfParticle.renderPoints.fragment"))}),mode:Mj.POINTS,geometry:new Gj({dynamic:!0,mainAttribute:"texcoord0"})}),n=new Mj({renderOrder:10,material:new OW({shader:new pX(pX.source("ecgl.vfParticle.renderLines.vertex"),pX.source("ecgl.vfParticle.renderLines.fragment"))}),geometry:new c1,culling:!1}),i=new Mj({material:new OW({shader:new pX(pX.source("ecgl.color.vertex"),pX.source("ecgl.color.fragment"))}),geometry:new OY});i.material.enableTexture("diffuseMap"),this._particlePointsMesh=e,this._particleLinesMesh=n,this._lastFrameFullQuadMesh=i,this._camera=new eZ,this._thisFrameTexture=new Ej,this._lastFrameTexture=new Ej},setParticleDensity:function(t,e){for(var n=new Float32Array(4*(t*e)),i=0,r=this.particleLife,o=0;o<t;o++)for(var a=0;a<e;a++,i++){n[4*i]=Math.random(),n[4*i+1]=Math.random(),n[4*i+2]=Math.random();var s=(r[1]-r[0])*Math.random()+r[0];n[4*i+3]=s}"line"===this._particleType?this._setLineGeometry(t,e):this._setPointsGeometry(t,e),this._spawnTexture.width=t,this._spawnTexture.height=e,this._spawnTexture.pixels=n,this._particleTexture0.width=this._particleTexture1.width=t,this._particleTexture0.height=this._particleTexture1.height=e,this._particlePass.setUniform("textureSize",[t,e])},_setPointsGeometry:function(t,e){var n=t*e,i=this._particlePointsMesh.geometry,r=i.attributes;r.texcoord0.init(n);for(var o=0,a=0;a<t;a++)for(var s=0;s<e;s++,o++)r.texcoord0.value[2*o]=a/t,r.texcoord0.value[2*o+1]=s/e;i.dirty()},_setLineGeometry:function(t,e){var n=t*e,i=this._getParticleMesh().geometry;i.setLineCount(n),i.resetOffset();for(var r=0;r<t;r++)for(var o=0;o<e;o++)i.addLine([r/t,o/e]);i.dirty()},_getParticleMesh:function(){return"line"===this._particleType?this._particleLinesMesh:this._particlePointsMesh},update:function(t,e,n,i){var r=this._getParticleMesh(),o=this._frameBuffer,a=this._particlePass;i&&this._updateDownsampleTextures(t,e),r.material.set("size",this._particleSize*this._supersampling),r.material.set("color",this.particleColor),a.setUniform("speedScaling",this.particleSpeedScaling),o.attach(this._particleTexture1),a.setUniform("firstFrameTime",i?(this.particleLife[1]+this.particleLife[0])/2:0),a.setUniform("particleTexture",this._particleTexture0),a.setUniform("deltaTime",n),a.setUniform("elapsedTime",this._elapsedTime),a.render(t,o),r.material.set("particleTexture",this._particleTexture1),r.material.set("prevParticleTexture",this._particleTexture0),o.attach(this._thisFrameTexture),o.bind(t),t.gl.clear(t.gl.DEPTH_BUFFER_BIT|t.gl.COLOR_BUFFER_BIT);var s=this._lastFrameFullQuadMesh;s.material.set("diffuseMap",this._lastFrameTexture),s.material.set("color",[1,1,1,this.motionBlurFactor]),this._camera.update(!0),t.renderPass([s,r],this._camera),o.unbind(t),this._downsample(t),this._swapTexture(),this._elapsedTime+=n},_downsample:function(t){var e=this._downsampleTextures;if(0!==e.length)for(var n=0,i=this._thisFrameTexture,r=e[n];r;)this._frameBuffer.attach(r),this._downsamplePass.setUniform("texture",i),this._downsamplePass.setUniform("textureSize",[i.width,i.height]),this._downsamplePass.render(t,this._frameBuffer),i=r,r=e[++n]},getSurfaceTexture:function(){var t=this._downsampleTextures;return t.length>0?t[t.length-1]:this._lastFrameTexture},setRegion:function(t){this._particlePass.setUniform("region",t)},resize:function(t,e){this._lastFrameTexture.width=t*this._supersampling,this._lastFrameTexture.height=e*this._supersampling,this._thisFrameTexture.width=t*this._supersampling,this._thisFrameTexture.height=e*this._supersampling,this._width=t,this._height=e},setParticleSize:function(t){var e=this._getParticleMesh();if(t<=2)return e.material.disableTexture("spriteTexture"),void(e.material.transparent=!1);this._spriteTexture||(this._spriteTexture=new Ej),this._spriteTexture.image&&this._spriteTexture.image.width===t||(this._spriteTexture.image=function(t){var e=document.createElement("canvas");e.width=e.height=t;var n=e.getContext("2d");return n.fillStyle="#fff",n.arc(t/2,t/2,t/2,0,2*Math.PI),n.fill(),e}(t),this._spriteTexture.dirty()),e.material.transparent=!0,e.material.enableTexture("spriteTexture"),e.material.set("spriteTexture",this._spriteTexture),this._particleSize=t},setGradientTexture:function(t){var e=this._getParticleMesh().material;e[t?"enableTexture":"disableTexture"]("gradientTexture"),e.setUniform("gradientTexture",t)},setColorTextureImage:function(t,e){this._getParticleMesh().material.setTextureImage("colorTexture",t,e,{flipY:!0})},setParticleType:function(t){this._particleType=t},clearFrame:function(t){var e=this._frameBuffer;e.attach(this._lastFrameTexture),e.bind(t),t.gl.clear(t.gl.DEPTH_BUFFER_BIT|t.gl.COLOR_BUFFER_BIT),e.unbind(t)},setSupersampling:function(t){this._supersampling=t,this.resize(this._width,this._height)},_updateDownsampleTextures:function(t,e){for(var n=this._downsampleTextures,i=Math.max(Math.floor(Math.log(this._supersampling/e.getDevicePixelRatio())/Math.log(2)),0),r=2,o=this._width*this._supersampling,a=this._height*this._supersampling,s=0;s<i;s++)n[s]=n[s]||new Ej,n[s].width=o/r,n[s].height=a/r,r*=2;for(;s<n.length;s++)n[s].dispose(t);n.length=i},_swapTexture:function(){var t=this._particleTexture0;this._particleTexture0=this._particleTexture1,this._particleTexture1=t;t=this._thisFrameTexture;this._thisFrameTexture=this._lastFrameTexture,this._lastFrameTexture=t},dispose:function(t){t.disposeFrameBuffer(this._frameBuffer),t.disposeTexture(this.vectorFieldTexture),t.disposeTexture(this._spawnTexture),t.disposeTexture(this._particleTexture0),t.disposeTexture(this._particleTexture1),t.disposeTexture(this._thisFrameTexture),t.disposeTexture(this._lastFrameTexture),t.disposeGeometry(this._particleLinesMesh.geometry),t.disposeGeometry(this._particlePointsMesh.geometry),t.disposeGeometry(this._lastFrameFullQuadMesh.geometry),this._spriteTexture&&t.disposeTexture(this._spriteTexture),this._particlePass.dispose(t),this._downsamplePass.dispose(t),this._downsampleTextures.forEach((function(e){e.dispose(t)}))}};var d1=Um.extend({type:"flowGL",__ecgl__:!0,init:function(t,e){this.viewGL=new Dq("orthographic"),this.groupGL=new NZ.Node,this.viewGL.add(this.groupGL),this._particleSurface=new h1;var n=new NZ.Mesh({geometry:new NZ.PlaneGeometry,material:new NZ.Material({shader:new NZ.Shader({vertex:NZ.Shader.source("ecgl.color.vertex"),fragment:NZ.Shader.source("ecgl.color.fragment")}),transparent:!0})});n.material.enableTexture("diffuseMap"),this.groupGL.add(n),this._planeMesh=n},render:function(t,e,n){var i=this._particleSurface;i.setParticleType(t.get("particleType")),i.setSupersampling(t.get("supersampling")),this._updateData(t,n),this._updateCamera(n.getWidth(),n.getHeight(),n.getDevicePixelRatio());var r=fZ(t.get("particleDensity"),128);i.setParticleDensity(r,r);var o=this._planeMesh,a=+new Date,s=this,l=!0;o.__percent=0,o.stopAnimation(),o.animate("",{loop:!0}).when(1e5,{__percent:1}).during((function(){var t=+new Date,e=Math.min(t-a,20);a+=e,s._renderer&&(i.update(s._renderer,n,e/1e3,l),o.material.set("diffuseMap",i.getSurfaceTexture())),l=!1})).start();var u=t.getModel("itemStyle"),c=NZ.parseColor(u.get("color"));c[3]*=fZ(u.get("opacity"),1),o.material.set("color",c),i.setColorTextureImage(t.get("colorTexture"),n),i.setParticleSize(t.get("particleSize")),i.particleSpeedScaling=t.get("particleSpeed"),i.motionBlurFactor=1-Math.pow(.1,t.get("particleTrail"))},updateTransform:function(t,e,n){this._updateData(t,n)},afterRender:function(t,e,n,i){var r=i.renderer;this._renderer=r},_updateData:function(t,e){var n=t.coordinateSystem,i=n.dimensions.map((function(e){return t.coordDimToDataDim(e)[0]})),r=t.getData(),o=r.getDataExtent(i[0]),a=r.getDataExtent(i[1]),s=t.get("gridWidth"),l=t.get("gridHeight");if(null==s||"auto"===s){var u=(o[1]-o[0])/(a[1]-a[0]);s=Math.round(Math.sqrt(u*r.count()))}null!=l&&"auto"!==l||(l=Math.ceil(r.count()/s));var c=this._particleSurface.vectorFieldTexture,h=c.pixels;if(h&&h.length===l*s*4)for(var d=0;d<h.length;d++)h[d]=0;else h=c.pixels=new Float32Array(s*l*4);var p=0,f=1/0,g=new Float32Array(2*r.count()),m=0,v=[[1/0,1/0],[-1/0,-1/0]];r.each([i[0],i[1],"vx","vy"],(function(t,e,i,r){var o=n.dataToPoint([t,e]);g[m++]=o[0],g[m++]=o[1],v[0][0]=Math.min(o[0],v[0][0]),v[0][1]=Math.min(o[1],v[0][1]),v[1][0]=Math.max(o[0],v[1][0]),v[1][1]=Math.max(o[1],v[1][1]);var a=Math.sqrt(i*i+r*r);p=Math.max(p,a),f=Math.min(f,a)})),r.each(["vx","vy"],(function(t,e,n){var i=Math.round((g[2*n]-v[0][0])/(v[1][0]-v[0][0])*(s-1)),r=4*((l-1-Math.round((g[2*n+1]-v[0][1])/(v[1][1]-v[0][1])*(l-1)))*s+i);h[r]=t/p*.5+.5,h[r+1]=e/p*.5+.5,h[r+3]=1})),c.width=s,c.height=l,"bmap"===t.get("coordinateSystem")&&this._fillEmptyPixels(c),c.dirty(),this._updatePlanePosition(v[0],v[1],t,e),this._updateGradientTexture(r.getVisual("visualMeta"),[f,p])},_fillEmptyPixels:function(t){var e=t.pixels,n=t.width,i=t.height;function r(t,r,o){t=Math.max(Math.min(t,n-1),0);var a=4*((r=Math.max(Math.min(r,i-1),0))*(n-1)+t);return 0!==e[a+3]&&(o[0]=e[a],o[1]=e[a+1],!0)}function o(t,e,n){n[0]=t[0]+e[0],n[1]=t[1]+e[1]}for(var a=[],s=[],l=[],u=[],c=[],h=0,d=0;d<i;d++)for(var p=0;p<n;p++){var f=4*(d*(n-1)+p);0===e[f+3]&&(h=a[0]=a[1]=0,r(p-1,d,s)&&(h++,o(s,a,a)),r(p+1,d,l)&&(h++,o(l,a,a)),r(p,d-1,u)&&(h++,o(u,a,a)),r(p,d+1,c)&&(h++,o(c,a,a)),a[0]/=h,a[1]/=h,e[f]=a[0],e[f+1]=a[1]),e[f+3]=1}},_updateGradientTexture:function(t,e){if(t&&t.length){this._gradientTexture=this._gradientTexture||new NZ.Texture2D({image:document.createElement("canvas")});var n=this._gradientTexture,i=n.image;i.width=200,i.height=1;var r=i.getContext("2d"),o=r.createLinearGradient(0,.5,i.width,.5);t[0].stops.forEach((function(t){var n;e[1]===e[0]?n=0:(n=t.value/e[1],n=Math.min(Math.max(n,0),1)),o.addColorStop(n,t.color)})),r.fillStyle=o,r.fillRect(0,0,i.width,i.height),n.dirty(),this._particleSurface.setGradientTexture(this._gradientTexture)}else this._particleSurface.setGradientTexture(null)},_updatePlanePosition:function(t,e,n,i){var r=this._limitInViewportAndFullFill(t,e,n,i);t=r.leftTop,e=r.rightBottom,this._particleSurface.setRegion(r.region),this._planeMesh.position.set((t[0]+e[0])/2,i.getHeight()-(t[1]+e[1])/2,0);var o=e[0]-t[0],a=e[1]-t[1];this._planeMesh.scale.set(o/2,a/2,1),this._particleSurface.resize(Math.max(Math.min(o,2048),1),Math.max(Math.min(a,2048),1)),this._renderer&&this._particleSurface.clearFrame(this._renderer)},_limitInViewportAndFullFill:function(t,e,n,i){var r=[Math.max(t[0],0),Math.max(t[1],0)],o=[Math.min(e[0],i.getWidth()),Math.min(e[1],i.getHeight())];if("bmap"===n.get("coordinateSystem")){var a=n.getData().getDataExtent(n.coordDimToDataDim("lng")[0]);Math.floor(a[1]-a[0])>=359&&(r[0]>0&&(r[0]=0),o[0]<i.getWidth()&&(o[0]=i.getWidth()))}var s=e[0]-t[0],l=e[1]-t[1],u=o[0]-r[0],c=o[1]-r[1];return{leftTop:r,rightBottom:o,region:[(r[0]-t[0])/s,1-c/l-(r[1]-t[1])/l,u/s,c/l]}},_updateCamera:function(t,e,n){this.viewGL.setViewport(0,0,t,e,n);var i=this.viewGL.camera;i.left=i.bottom=0,i.top=e,i.right=t,i.near=0,i.far=100,i.position.z=10},remove:function(){this._planeMesh.stopAnimation(),this.groupGL.removeAll()},dispose:function(){this._renderer&&this._particleSurface.dispose(this._renderer),this.groupGL.removeAll()}});Z_((function(t){t.registerChartView(d1),t.registerSeriesModel(u1)}));var p1=Em.extend({type:"series.linesGL",dependencies:["grid","geo"],visualStyleAccessPath:"lineStyle",visualDrawType:"stroke",streamEnabled:!0,init:function(t){var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count)),p1.superApply(this,"init",arguments)},mergeOption:function(t){var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count)),p1.superApply(this,"mergeOption",arguments)},appendData:function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=Oe(this._flatCoords,e.flatCoords),this._flatCoordsOffset=Oe(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},_getCoordsFromItemModel:function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},getLineCoordsCount:function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},getLineCoords:function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r<i;r++)e[r]=e[r]||[],e[r][0]=this._flatCoords[n+2*r],e[r][1]=this._flatCoords[n+2*r+1];return i}var o=this._getCoordsFromItemModel(t);for(r=0;r<o.length;r++)e[r]=e[r]||[],e[r][0]=o[r][0],e[r][1]=o[r][1];return o.length},_processFlatCoordsArray:function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),"number"==typeof t[0]){for(var n=t.length,i=new Uint32Array(n),r=new Float64Array(n),o=0,a=0,s=0,l=0;l<n;){s++;var u=t[l++];i[a++]=o+e,i[a++]=u;for(var c=0;c<u;c++){var h=t[l++],d=t[l++];r[o++]=h,r[o++]=d}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,a),flatCoords:r,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},getInitialData:function(t,e){var n=new bx(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],(function(t,e,i,r){if(t instanceof Array)return NaN;n.hasItemOption=!0;var o=t.value;return null!=o?o instanceof Array?o[r]:o:void 0})),n},defaultOption:{coordinateSystem:"geo",zlevel:10,progressive:1e4,progressiveThreshold:5e4,blendMode:"source-over",lineStyle:{opacity:.8},postEffect:{enable:!1,colorCorrection:{exposure:0,brightness:0,contrast:1,saturation:1,enable:!0}}}}),f1=Um.extend({type:"linesGL",__ecgl__:!0,init:function(t,e){this.groupGL=new NZ.Node,this.viewGL=new Dq("orthographic"),this.viewGL.add(this.groupGL),this._glViewHelper=new Y$(this.viewGL),this._nativeLinesShader=NZ.createShader("ecgl.lines3D"),this._meshLinesShader=NZ.createShader("ecgl.meshLines3D"),this._linesMeshes=[],this._currentStep=0},render:function(t,e,n){this.groupGL.removeAll(),this._glViewHelper.reset(t,n);var i=this._linesMeshes[0];i||(i=this._linesMeshes[0]=this._createLinesMesh(t)),this._linesMeshes.length=1,this.groupGL.add(i),this._updateLinesMesh(t,i,0,t.getData().count()),this.viewGL.setPostEffect(t.getModel("postEffect"),n)},incrementalPrepareRender:function(t,e,n){this.groupGL.removeAll(),this._glViewHelper.reset(t,n),this._currentStep=0,this.viewGL.setPostEffect(t.getModel("postEffect"),n)},incrementalRender:function(t,e,n,i){var r=this._linesMeshes[this._currentStep];r||(r=this._createLinesMesh(e),this._linesMeshes[this._currentStep]=r),this._updateLinesMesh(e,r,t.start,t.end),this.groupGL.add(r),i.getZr().refresh(),this._currentStep++},updateTransform:function(t,e,n){t.coordinateSystem.getRoamTransform&&this._glViewHelper.updateTransform(t,n)},_createLinesMesh:function(t){return new NZ.Mesh({$ignorePicking:!0,material:new NZ.Material({shader:NZ.createShader("ecgl.lines3D"),transparent:!0,depthMask:!1,depthTest:!1}),geometry:new K$({segmentScale:10,useNativeLine:!0,dynamic:!1}),mode:NZ.Mesh.LINES,culling:!1})},_updateLinesMesh:function(t,e,n,i){var r=t.getData();e.material.blend="lighter"===t.get("blendMode")?NZ.additiveBlend:null;var o=t.get("lineStyle.curveness")||0,a=t.get("polyline"),s=e.geometry,l=t.coordinateSystem,u=fZ(t.get("lineStyle.width"),1);u>1?(e.material.shader!==this._meshLinesShader&&e.material.attachShader(this._meshLinesShader),e.mode=NZ.Mesh.TRIANGLES):(e.material.shader!==this._nativeLinesShader&&e.material.attachShader(this._nativeLinesShader),e.mode=NZ.Mesh.LINES),n=n||0,i=i||r.count(),s.resetOffset();var c=0,h=0,d=[],p=[],f=[],g=[],m=[],v=.3,y=.7;function _(){p[0]=d[0]*y+g[0]*v-(d[1]-g[1])*o,p[1]=d[1]*y+g[1]*v-(g[0]-d[0])*o,f[0]=d[0]*v+g[0]*y-(d[1]-g[1])*o,f[1]=d[1]*v+g[1]*y-(g[0]-d[0])*o}if(a||0!==o)for(var x=n;x<i;x++)if(a){var b=t.getLineCoordsCount(x);c+=s.getPolylineVertexCount(b),h+=s.getPolylineTriangleCount(b)}else t.getLineCoords(x,m),this._glViewHelper.dataToPoint(l,m[0],d),this._glViewHelper.dataToPoint(l,m[1],g),_(),c+=s.getCubicCurveVertexCount(d,p,f,g),h+=s.getCubicCurveTriangleCount(d,p,f,g);else{var w=i-n;c+=w*s.getLineVertexCount(),h+=w*s.getLineVertexCount()}s.setVertexCount(c),s.setTriangleCount(h);var S=n,A=[];for(x=n;x<i;x++){NZ.parseColor(AJ(r,S),A);var T=fZ(TJ(r,S),1);A[3]*=T;b=t.getLineCoords(x,m);for(var M=0;M<b;M++)this._glViewHelper.dataToPoint(l,m[M],m[M]);a?s.addPolyline(m,A,u,0,b):0!==o?(d=m[0],g=m[1],_(),s.addCubicCurve(d,p,f,g,A,u)):s.addPolyline(m,A,u,0,2),S++}},dispose:function(){this.groupGL.removeAll()},remove:function(){this.groupGL.removeAll()}});Z_((function(t){t.registerChartView(f1),t.registerSeriesModel(p1)}));var g1={type:"FeatureCollection",features:[{type:"Feature",geometry:{type:"Polygon",coordinates:[[[116.27600847421468,29.69689413515643],[116.27679247348908,29.696552142108846],[116.27742747369868,29.696600141082733],[116.27781947423395,29.69703313195755],[116.27800447418181,29.69703413233867],[116.27823247378757,29.696759138149268],[116.2785174741929,29.696680139841845],[116.27878347343345,29.69648814397154],[116.2780324737713,29.696160151083788],[116.27789047348124,29.69588315683836],[116.27573547350553,29.695574163234085],[116.27552647416677,29.694909177735376],[116.27534747406676,29.694652183443768],[116.27545347347376,29.69446518728832],[116.27585647387994,29.694158194051965],[116.27608747385872,29.693885199837396],[116.27675647350544,29.693367211497986],[116.2769994740781,29.693070217545113],[116.27696447391817,29.69276922414337],[116.2775634741428,29.692783223822264],[116.27809447369704,29.69269022582305],[116.27825647407887,29.692532229769146],[116.27819647380447,29.692344233142276],[116.27825847372876,29.69223423604065],[116.27892147352762,29.691926242580795],[116.27913047376495,29.691949242353925],[116.27923647407023,29.691869243733915],[116.27868547352644,29.691190258788048],[116.27867147418094,29.69148625240012],[116.27859047399006,29.6915662505448],[116.27807147413131,29.691649248365753],[116.277593473382,29.692044240334926],[116.27668147406136,29.69188224387574],[116.27626947343457,29.691616249637526],[116.27605747372273,29.691146259759343],[116.2764964741139,29.690945263392223],[116.27644747371008,29.69093326434161],[116.27493847381469,29.690566271873443],[116.27425747357455,29.68996928468546],[116.27385447406704,29.689446296506702],[116.2733304741859,29.688466317773003],[116.27310147385737,29.687660334810637],[116.27319147426934,29.687109346955673],[116.27364447400595,29.686754354127913],[116.27584447418782,29.686319364037583],[116.27738847424388,29.68529338580209],[116.27843447345909,29.684832395848588],[116.27922747385269,29.684312407436973],[116.27939047405944,29.684015414037926],[116.27945247398391,29.683534424313915],[116.27970847407708,29.6831804318642],[116.28069147354304,29.68285343899023],[116.28072847425139,29.682657443482373],[116.2806054742278,29.682532445856488],[116.28045347389188,29.682435447972363],[116.28027247414192,29.68245544755912],[116.27985747404016,29.682694442553068],[116.2792824741049,29.682841438968673],[116.2790404742555,29.683066434358324],[116.27894647364543,29.684056413088037],[116.27875447402478,29.684265408564556],[116.27801247368491,29.684519402928455],[116.27708847377001,29.68508539061946],[116.27678547382133,29.68519738795726],[116.27609647408333,29.685248386820174],[116.27589747389163,29.685344384613508],[116.27554847391201,29.68597137107076],[116.27539947394908,29.686057369520256],[116.27427747366765,29.68629436433761],[116.27314147404101,29.68630936383888],[116.27254247381629,29.686477360483863],[116.27216447352434,29.68696234975249],[116.27173447425244,29.68685635258723],[116.27164747421382,29.686899351442452],[116.27154947340593,29.687633335276686],[116.27189847338518,29.68793132860312],[116.2719544734615,29.68832732004762],[116.27156347364918,29.688577314775458],[116.27137647405134,29.688888308180363],[116.27135647395978,29.689047304961463],[116.27104247414047,29.689039305182334],[116.27087547373586,29.689119302933573],[116.27076247375787,29.689307299350258],[116.27058947350552,29.689370297709193],[116.2703184742422,29.689363297632344],[116.27027647351115,29.689207301165347],[116.26948647349026,29.690600271365444],[116.27015147383683,29.691381254171738],[116.27084147339914,29.69260222827262],[116.27091747356688,29.693107216665975],[116.27073647381675,29.693599206495133],[116.27109647366676,29.693724203623923],[116.27132947419344,29.693997197497243],[116.27160347382971,29.69406519652828],[116.27189347425775,29.69447918749658],[116.27253247376701,29.694618184513413],[116.27274847367693,29.69476018098499],[116.27274947350169,29.69524717087415],[116.2728374742635,29.695339168452552],[116.27281647344873,29.6954121669967],[116.27222647344463,29.695939155339005],[116.27202747415146,29.695831158274924],[116.27167147360102,29.69585515754445],[116.27150847339448,29.69578315893412],[116.27142747410197,29.695646161978487],[116.27140847383552,29.69538416758846],[116.27128547381193,29.695289169638073],[116.27106047368103,29.69530116972827],[116.27056647393658,29.695564163947683],[116.2703734735928,29.69552216451257],[116.26996447423743,29.695147173129875],[116.26801447340303,29.69428419164463],[116.26729947372573,29.694309190909603],[116.2670774739679,29.694467187290464],[116.26674347405688,29.694897178346963],[116.26640747359794,29.694897178345773],[116.26518447393303,29.694043196847442],[116.26480447399148,29.693984197597025],[116.26400547375044,29.693712204099935],[116.26363747350459,29.693473208771277],[116.26358947382414,29.693263213295655],[116.26374547346019,29.69220323675617],[116.26363647368036,29.691950241950092],[116.26328947424905,29.692040240124758],[116.26272247381125,29.692575228482564],[116.26226747352655,29.692711225298343],[116.26205047379142,29.6931112167521],[116.26182847403354,29.693340211889524],[116.26149047392474,29.693392210939916],[116.26069047385873,29.69325621348074],[116.2604074740016,29.6931052173506],[116.25976247374659,29.6922332355473],[116.25932247353094,29.691434253074426],[116.25930047378988,29.69098426257705],[116.25915047400208,29.69085826550046],[116.25897147390198,29.690903264306474],[116.25883947365742,29.6910782610344],[116.25871747345847,29.691610249310408],[116.25879847364907,29.692204236386964],[116.259048473894,29.6928472227007],[116.25908647352868,29.693170215723026],[116.25904247404574,29.693928199527182],[116.25896147385482,29.69409319547428],[116.25856047399684,29.694198193178405],[116.25805147418393,29.694007197655],[116.25700347352262,29.693869200203466],[116.25627847379965,29.693617206102626],[116.25607747395824,29.69364220553541],[116.25567647410011,29.69397619817988],[116.25492947373743,29.694269191722967],[116.25404347345791,29.693613205997572],[116.25374247405759,29.69320221505783],[116.25360447396554,29.69269322622753],[116.25376247414944,29.692391232050827],[116.25461247354632,29.69139725407994],[116.25498547381538,29.690841265775287],[116.25528347374147,29.690245279111693],[116.25544647394835,29.689597292606667],[116.25569547347047,29.689262299775915],[116.25574347404954,29.688753311279267],[116.25613647351176,29.688412318300884],[116.25613847405998,29.68819932333013],[116.25589047346467,29.6880283265895],[116.25555547372919,29.687429339761987],[116.25553247416306,29.687275342809087],[116.25570047349446,29.686798353446388],[116.25566047420995,29.686422361799263],[116.25534547366783,29.685447382592578],[116.25523047404042,29.684759397341093],[116.25531447370624,29.6842274086982],[116.25542547403437,29.684026413320126],[116.25565247381515,29.683802418250014],[116.25630247409353,29.683529423999456],[116.2563644740179,29.68326043029526],[116.25629647424593,29.683167432066206],[116.25569847384632,29.682938437157972],[116.25515847407158,29.6820894550161],[116.25396747419384,29.680945479915806],[116.25342947406874,29.680529489076854],[116.25307447424179,29.679945501720997],[116.25312647412046,29.67955851034087],[116.25365047400211,29.67949551129639],[116.25400047380673,29.678740528029415],[116.2547044736136,29.678196539743833],[116.2546744734764,29.67805754265007],[116.25448747387871,29.677952544470426],[116.25421047386955,29.677561553266727],[116.25401347422603,29.67756655301538],[116.25378747427023,29.677638551407483],[116.25358047368269,29.677615552261766],[116.25328247375697,29.677417556315877],[116.2533684739714,29.675872589975693],[116.25318447384846,29.675742592659],[116.25275647422637,29.67570759299119],[116.25211647399406,29.67527260269765],[116.25200447384103,29.67536160116184],[116.2519464741146,29.675638594993007],[116.25233747392677,29.67571359342395],[116.2524014735008,29.675844590588575],[116.2529124738618,29.676066585824326],[116.25291147403685,29.676148584150916],[116.25263047382938,29.676366578709544],[116.25261947395862,29.676553574980073],[116.25274947365494,29.676692571811913],[116.25279047366246,29.67749855452496],[116.25319647354303,29.677989543710318],[116.25282447399745,29.677897545857796],[116.25266547398877,29.677929545390864],[116.25258847399577,29.678254538320836],[116.25271847369207,29.67836853581832],[116.25269947342542,29.678523532152877],[116.25204347419754,29.678966523006004],[116.25191047412802,29.67921851715808],[116.25190947340468,29.679470512239956],[116.25204547384693,29.679889502869305],[116.25205147369445,29.680410491295827],[116.25198447374724,29.680641486804195],[116.2520274734047,29.68109747689706],[116.25215747399933,29.681203474671303],[116.2522424734893,29.6822654512197],[116.25243547383299,29.682635443568543],[116.2525934740167,29.682701442217095],[116.25260947391001,29.683149432083983],[116.25272747391062,29.683491424705185],[116.25290347363767,29.68362342239535],[116.25306247364628,29.68363242155803],[116.25317147342606,29.68394541489785],[116.2531504735095,29.684287407932032],[116.25268147387938,29.684734398030084],[116.25264247352125,29.684865395146495],[116.25263347419869,29.6849463935998],[116.25282847419234,29.68500439219274],[116.25282647364405,29.68520838789059],[116.2529564742387,29.685273386693382],[116.2524734734662,29.686405362107568],[116.25260947390844,29.68684035261436],[116.2524854740597,29.687222344005274],[116.25233547427183,29.687408339896315],[116.25242647360999,29.687661334431247],[116.25229447426366,29.688022326877565],[116.25241247426426,29.68838831880009],[116.25240147349523,29.688592314652947],[116.25225047388238,29.688835309390246],[116.25191347359846,29.689105303459982],[116.25161447384762,29.68924130029022],[116.25107347424763,29.68931229922659],[116.25072947339282,29.689171301757398],[116.24991847345608,29.6892733001087],[116.24941847386411,29.68893630683396],[116.24850547382076,29.687551336871977],[116.24852647373726,29.687304342583353],[116.24839947351586,29.68679935312263],[116.24801147407724,29.685629378986885],[116.24765447370223,29.684846395742404],[116.24783447362749,29.684375405695423],[116.24778147392422,29.68398141452907],[116.24760747384713,29.683646421708065],[116.24658747367336,29.682987436096834],[116.24638447418218,29.682749440759096],[116.24603247382989,29.682503446119895],[116.24578747360765,29.68213245431711],[116.24582847361572,29.681685464353528],[116.24603347365519,29.68154846691005],[116.24610947382327,29.681296472354546],[116.24442647385091,29.68034049283269],[116.24403247366551,29.68064748613557],[116.24364947424917,29.680824482292593],[116.24251447354798,29.683243430031233],[116.24251247389805,29.683527424482005],[116.24240847414089,29.683787418324055],[116.24305347349758,29.684640399846906],[116.24332047346105,29.68507339075049],[116.24336547366683,29.685301385758617],[116.24452247410777,29.68623836580008],[116.24441747362735,29.686587358325465],[116.24457447398615,29.686665356281864],[116.24468347376585,29.687154345779927],[116.24463547408466,29.68852431579386],[116.2445314734292,29.6887143119091],[116.24424247372421,29.688802309716106],[116.24390847381349,29.68864531347411],[116.24387047417858,29.688783310292173],[116.24397047373759,29.68906030460068],[116.24393147427769,29.689296299686927],[116.24374447378162,29.689377297690132],[116.24360547386453,29.689319298499367],[116.24286747372258,29.689673291176764],[116.24270147404135,29.689395297320775],[116.24248847360616,29.689239300902805],[116.24201447395333,29.68916430241738],[116.24182047378468,29.688943306912858],[116.2417574740356,29.68862531354999],[116.24105447405404,29.68849431664929],[116.24084247344369,29.688274321699822],[116.240319473387,29.688409318407135],[116.24029947419373,29.688572314683324],[116.24012147391844,29.688742311594684],[116.23958047342003,29.688894307715977],[116.23893547406315,29.688540315411263],[116.23873047402375,29.688523316088318],[116.23832247359492,29.688244321703948],[116.23822147421102,29.688072326131515],[116.23765247412354,29.688208322797923],[116.23710447395254,29.688115325243256],[116.23703147415772,29.68795232822554],[116.23718147394561,29.687766332560884],[116.23712747351905,29.68745733897591],[116.2367004737219,29.68730834210968],[116.23648347398711,29.687002349337433],[116.23620447342964,29.686854352279006],[116.23620647397787,29.68669235604104],[116.236569474201,29.686620357110243],[116.2367134741413,29.686067368817987],[116.23611647356636,29.68622736586562],[116.23591247425018,29.686194366143038],[116.23581947346557,29.686095368472994],[116.2357934735264,29.685827374323424],[116.235635474241,29.68583437386463],[116.23548647427806,29.685890373302485],[116.23546647418648,29.686110368006695],[116.23535347420854,29.686264365183415],[116.23513947394835,29.68619836653288],[116.23506647415351,29.68605136956144],[116.23510447378838,29.685937372192473],[116.23479047396921,29.685561380445144],[116.23478347339832,29.685265386550995],[116.23525247392685,29.684730398298342],[116.2352634737976,29.684568401758693],[116.23509847394135,29.68416041047236],[116.23496947407,29.684094412001436],[116.23471847399988,29.684008413431805],[116.23383647391805,29.684171409818607],[116.23353947381712,29.684113411524987],[116.23327047420376,29.68388441643175],[116.23300947408785,29.684029413210116],[116.23203447411976,29.683682420630102],[116.23197047364744,29.68348642517744],[116.23205547403631,29.683324428194005],[116.231843473426,29.68309543364474],[116.23158147348516,29.68324843024005],[116.23121547378746,29.68295843655907],[116.23078547361708,29.683225430814765],[116.2301174737956,29.682920437057696],[116.22966447405928,29.682568445052986],[116.22887847423705,29.682317450456495],[116.22795847362214,29.68222345238499],[116.22775547413103,29.681986457329586],[116.22708747341115,29.681746462457188],[116.22700547339552,29.681494468397396],[116.22709947400521,29.681380470543058],[116.22767647359026,29.68131847161655],[116.22792847348535,29.68120547410121],[116.22739047425847,29.680991478924774],[116.2272244736789,29.680876481518766],[116.22719747391479,29.68073848477073],[116.2273294741594,29.680437491116702],[116.22786247426191,29.680106498049213],[116.22789147367594,29.68001449979384],[116.22729547382434,29.68001950019965],[116.22702747403589,29.67978150485896],[116.22689747344126,29.679806504611953],[116.22676647391978,29.68030949377079],[116.22605747409018,29.68059148761526],[116.22590047373146,29.680484490211313],[116.22582947358657,29.6799715011076],[116.225597473783,29.679945501624303],[116.22553347420899,29.679766505154824],[116.22543147410174,29.67972550669444],[116.22510947388672,29.679216517509097],[116.22463647405891,29.678993522424758],[116.22459047402819,29.678920523660814],[116.2250304742443,29.678564531786204],[116.22502247384851,29.678450533730924],[116.2249494740536,29.678238538509724],[116.22461447341963,29.67822053921772],[116.22437847341821,29.677915545106373],[116.22453747342693,29.6778185474514],[116.22462647401402,29.67711056319398],[116.22437547394387,29.677125562507797],[116.22416247350856,29.677010565362387],[116.22409347391171,29.67684456888525],[116.22407547347015,29.676689572303626],[116.22443247384564,29.67627658122869],[116.22452747428031,29.675919588766423],[116.22420247369206,29.6758685898501],[116.224139473943,29.675555596338924],[116.22402047411738,29.67538459994342],[116.22415247346366,29.675157604896256],[116.22428347388325,29.675100606685557],[116.22459847352742,29.675208604173683],[116.22560547418114,29.675009608356312],[116.22590947395456,29.67527160278885],[116.22605847391743,29.675272602605943],[116.22618347359112,29.674838611815183],[116.22630447396492,29.67473361417757],[116.22608247420719,29.674585617788104],[116.22591547380266,29.674568617666324],[116.22588847403851,29.674373622222365],[116.22596447420659,29.674202626158987],[116.22637447428542,29.674147627063444],[116.22654247361659,29.673977630445535],[116.2266684740136,29.673332644725196],[116.22706847404656,29.67339164361051],[116.22722747405524,29.673294645493836],[116.2272754737359,29.67309964992118],[116.22776747383041,29.67322364695131],[116.22825147352897,29.67322664724434],[116.22851147381992,29.67333364456756],[116.22892647392135,29.673782634644475],[116.22977147419313,29.67403962922936],[116.23059747419835,29.674246624806795],[116.23315247420716,29.674390621621637],[116.23357547380635,29.67453061892699],[116.23414047369566,29.67491661032985],[116.23469447371473,29.674300624037798],[116.23469747408795,29.67390263231085],[116.2363064735443,29.66985771959274],[116.23660547419341,29.669590725741504],[116.23661647406416,29.669444728557927],[116.23684147419513,29.669290732155122],[116.23705847393032,29.668755743973055],[116.2372364742056,29.668601747295668],[116.23759147403284,29.66848974942292],[116.23763947371347,29.66825375466537],[116.2371574736648,29.667999759792995],[116.23759447350828,29.666826784952296],[116.23776047408836,29.6657738084604],[116.23818347368788,29.665203820106605],[116.23864647347013,29.665096822722887],[116.2394604737801,29.664539835001747],[116.23958247397893,29.664320839858664],[116.23981347395801,29.66337485988315],[116.24037547347464,29.662847870981615],[116.24053447348336,29.662691874743086],[116.24100147346358,29.662523878164134],[116.24094847376031,29.6622058855411],[116.23967847423968,29.66144990130766],[116.23910147375635,29.661446901443625],[116.23866247426352,29.66157489859695],[116.23829247346951,29.661309904525087],[116.23831347428435,29.66100091159457],[116.238538473517,29.660814915249187],[116.23869747352568,29.660749917028923],[116.23901347389312,29.66078491565692],[116.23954247379746,29.66100691134941],[116.23967347421704,29.66089391364678],[116.23961047356966,29.6606579190222],[116.23885047368675,29.66015392995608],[116.23828347414752,29.66007793088239],[116.2375184742415,29.66023592798161],[116.23723047346316,29.660169929418984],[116.2363424735338,29.65955994241153],[116.23633447403634,29.65936394677722],[116.23655347342134,29.658722960162045],[116.23654847339878,29.658092974007843],[116.23676447420722,29.657808980323434],[116.23714647379865,29.657745981704863],[116.23764747411391,29.657902978578033],[116.23811247354593,29.657954977225923],[116.23889147369542,29.658365967849996],[116.24002747422045,29.658322969286143],[116.2403704734537,29.658503964859673],[116.24081747424064,29.65855496399474],[116.24080947384542,29.657045996654016],[116.24062347407258,29.657077995795742],[116.2393904734635,29.656412010127642],[116.2389414739249,29.656613006056283],[116.23882147427436,29.656514008145514],[116.23881347387851,29.65639201082317],[116.23903847400948,29.656114017064176],[116.23958047343451,29.655856022731864],[116.24011047406269,29.654700047175684],[116.24012147393346,29.654489051877395],[116.24031747375201,29.654416053283306],[116.24112047419098,29.654756046001467],[116.2413374739261,29.654367054446443],[116.24189947344269,29.65398706320413],[116.24257147346233,29.653714068422037],[116.24271147410279,29.653577071907534],[116.2427004742322,29.65344307452607],[116.24232147411576,29.653010084044325],[116.24198647348167,29.653032083312343],[116.24124947406307,29.653232078929225],[116.24057947369333,29.65316308034641],[116.24017847383541,29.653226079492033],[116.23946147360991,29.653393075947037],[116.23861747406092,29.65418605844935],[116.23831047391431,29.654160059325733],[116.2380784741108,29.65404506168408],[116.23797747382856,29.6538570656919],[116.23811247354799,29.65325607899036],[116.23857247385573,29.652648091533724],[116.23892747368303,29.652463095405498],[116.23957947361109,29.65244209605779],[116.24047147373854,29.652634091739685],[116.24159947386777,29.652412097097294],[116.24203947408385,29.652146102270976],[116.24231147407056,29.651773110799883],[116.2424344740943,29.651529116223344],[116.2424304738966,29.650891129841202],[116.2425624741412,29.650591135921516],[116.24287147393771,29.650389140392196],[116.24353247408665,29.65034414141232],[116.24393247411969,29.650411140238013],[116.2452184735339,29.65099612739471],[116.24600047405659,29.65095212874489],[116.2464004740896,29.65110812523056],[116.24695647375819,29.651103124948566],[116.2471454739041,29.650999127575012],[116.24851147368572,29.648295186238233],[116.24841047340345,29.64812318947756],[116.24876647395405,29.647751197241636],[116.24879547426644,29.64760520115521],[116.24907747340049,29.647387205161667],[116.24932247362305,29.646859216746638],[116.2495044740965,29.646230230599716],[116.24987047379453,29.64581723938627],[116.25077647416599,29.645396248695555],[116.25105447400037,29.64510925474724],[116.2512324742756,29.64507025566746],[116.25132547416207,29.644989257109],[116.25128047395638,29.644671264508002],[116.25178647429473,29.64432927183247],[116.25219647347518,29.644315271656897],[116.25268147389731,29.643716284457362],[116.25318647351249,29.643377292061558],[116.25375547359992,29.643177296381904],[116.254119473648,29.643146296860824],[116.25472447372033,29.64325529443609],[116.25495747424716,29.643184296554004],[116.25535647355711,29.64286530358007],[116.25627547344948,29.641378335489506],[116.25641647391483,29.64126533760904],[116.2571524735085,29.641237338745885],[116.25752647360235,29.641035342404926],[116.25765847384689,29.640857346344063],[116.25731847408859,29.64016836119708],[116.25654147358911,29.639412377726735],[116.25663747384871,29.639030385890777],[116.25809547369091,29.638376400134298],[116.25849647354892,29.638240403231677],[116.25895347348334,29.63822740317518],[116.25938147400377,29.638254402694965],[116.2603664740176,29.63855239632236],[116.26120647426636,29.63917638271661],[116.26171747372908,29.63926038101157],[116.26204347414229,29.639311379747085],[116.26308547405772,29.63909838463575],[116.26353847379407,29.639418378008106],[116.26376247409998,29.63943537704271],[116.26546147396637,29.6392633807673],[116.26557247429476,29.638494397509294],[116.26547747386026,29.638481398264332],[116.25804347381282,29.637385421357695],[116.25802447354738,29.634745478233036],[116.25779147391894,29.634751478767036],[116.25724047427306,29.635009472533557],[116.25704647410438,29.634853476089226],[116.25647047344607,29.634654480873802],[116.25633247425222,29.63448348445647],[116.25651147345421,29.634090492523324],[116.25642047411604,29.633853498070692],[116.25645847375091,29.633756500098187],[116.256598473493,29.63370850080173],[116.25668447370684,29.633404507846755],[116.25720847358856,29.633089514506608],[116.25724547429682,29.63298451624682],[116.25698447418094,29.633015515773298],[116.25684447354048,29.63313651308112],[116.25674247343329,29.63306351461885],[116.25664747389695,29.63332250904013],[116.2563774735602,29.63337850804092],[116.25615447397756,29.63331150959336],[116.25604447347445,29.63308351464949],[116.2557454737237,29.63313051322707],[116.25571747413473,29.632954516941624],[116.25554147350927,29.632990516099746],[116.2555504737301,29.633072514395757],[116.25533647346987,29.633168512791414],[116.25537247345481,29.633299509910668],[116.2555214734177,29.633324509502998],[116.25561447420246,29.63325951070792],[116.2562004740082,29.63345050682262],[116.25602947340558,29.633758499774075],[116.25619447416013,29.634150491217063],[116.25598147372436,29.635198468797714],[116.25619447415957,29.63545246369609],[116.25619347343626,29.63563145937126],[116.25611747416654,29.635785455753314],[116.25564247379043,29.63575845635222],[116.25536247340793,29.635854454529895],[116.25540447413881,29.63648944112191],[116.25523347353604,29.63701742926253],[116.25466247379866,29.637383421740427],[116.25449047426926,29.63789541077569],[116.25403347343655,29.63800640815899],[116.25344847345565,29.637848411293827],[116.25299447389443,29.637495419094968],[116.2522294739889,29.636490440531908],[116.25143547377081,29.636087449682552],[116.25020447370949,29.63629144542254],[116.25025647358774,29.636869432812794],[116.24986847414822,29.637697414719508],[116.2504644739998,29.637750413845648],[116.25065847416849,29.63791741021147],[116.25071247369671,29.63812940529657],[116.25012347351772,29.63847539789776],[116.24994347359248,29.63894638816293],[116.24980647422333,29.63906238527116],[116.24842547347585,29.63947037678166],[116.24812647372507,29.639712371357362],[116.24793847340402,29.639947366521042],[116.24793647375411,29.640118362248916],[116.24833347341385,29.640652351067175],[116.24829447395403,29.640807347738075],[116.2479034741418,29.640886346220245],[116.24770847414823,29.640779347962138],[116.2475684735078,29.640803347879835],[116.24698947427291,29.641052342690212],[116.24680447342648,29.641436334187947],[116.24682947354067,29.641835325675586],[116.24660647395797,29.641785326806673],[116.24661647400376,29.641615330156984],[116.24651547372149,29.641516332329058],[116.24595447402987,29.641839325487204],[116.24574747344222,29.642049320609377],[116.24569947376158,29.64228831558165],[116.24523147395635,29.642627308521146],[116.24485547421251,29.643138297302524],[116.24492847400737,29.643370291878053],[116.2452524738723,29.64364028621873],[116.24290847375025,29.644403270027635],[116.24251547428815,29.6446372650517],[116.2422454739515,29.644595265423117],[116.24218147347906,29.644481267906844],[116.24215447371496,29.64437527047036],[116.24226847351785,29.64412327569015],[116.24159947387152,29.643918280066476],[116.24037347383329,29.64354328828667],[116.24019247408305,29.644096276176793],[116.23937447357486,29.64525525128962],[116.23928347423649,29.64549424645871],[116.23933747376422,29.646897215781024],[116.23923347400701,29.647206209078835],[116.23887547380654,29.647785197142035],[116.23849047384192,29.64819018818386],[116.23806147349654,29.64837418427454],[116.23587547355841,29.648790175380046],[116.2352034735387,29.649079169135877],[116.23509047356075,29.649209165778917],[116.23507047346912,29.64943616083042],[116.23514347416236,29.649494159604654],[116.23575847428056,29.649440161126243],[116.23602947354388,29.649344163410046],[116.23615947413855,29.64935316329797],[116.23620447344602,29.649499159972184],[116.23600647397741,29.649949150323888],[116.23542547419424,29.650394140685385],[116.23476747352015,29.650154145370315],[116.23333347396748,29.650711133876634],[116.2317704736453,29.650655135140312],[116.23066347343251,29.650937128595903],[116.22914747386432,29.65084813037471],[116.2289904735055,29.650774132201118],[116.22884247426595,29.650578136629125],[116.22890947421313,29.65038314074015],[116.22907747354438,29.650278143338298],[116.22995247395352,29.650217144041704],[116.23047247363709,29.650318142032038],[116.23090247380743,29.650108146983406],[116.23260847424498,29.649596157600726],[116.23288847372916,29.649451161141535],[116.23288147405655,29.649264165231365],[116.23274247413949,29.64910016839815],[116.2324074735054,29.64908216857603],[116.2317834740647,29.64920116594265],[116.23114047345908,29.64943416145053],[116.23009847354373,29.64937216234243],[116.22941247417893,29.649092168553196],[116.22889147377208,29.64902417033301],[116.22848347424151,29.648843174103963],[116.22778947358262,29.64832618488293],[116.22757747387065,29.648057190705565],[116.22749047383232,29.647337206632635],[116.2263654740762,29.647547201994684],[116.22559647397202,29.648101189835888],[116.22545247403173,29.648775175706813],[116.22480847360093,29.649459160917846],[116.22447647423792,29.650288142410254],[116.22533347420487,29.65148611701597],[116.22428747409104,29.652570093684247],[116.22247947354597,29.65377206778282],[116.2222624738105,29.65504203968474],[116.22148947350792,29.656612005992795],[116.22176547369237,29.656674004541518],[116.22231947371115,29.656555007423076],[116.22347247395403,29.65789297863526],[116.22367547344508,29.658437966664437],[116.2241724735624,29.658512964651607],[116.22549047366167,29.659935934554422],[116.22626847398585,29.66128390485902],[116.22650347416156,29.663296861765303],[116.22625147426636,29.663658853421794],[116.22624147422,29.66500182498554],[116.22494347421103,29.666426794235903],[116.22447747405525,29.667549769719347],[116.22430247415255,29.668819742559286],[116.22384447349485,29.66899973809928],[116.22363747380568,29.6688897404278],[116.2231454737115,29.668124757483955],[116.22269147415025,29.66775976505031],[116.22206847363614,29.667755765482983],[116.22186847362012,29.666774786152704],[116.22145747371663,29.666300796809185],[116.22083647375086,29.665934804871863],[116.22033747398356,29.666040802236264],[116.21996547353972,29.665893805452573],[116.21942647358952,29.665891805631038],[116.21888447416451,29.666142799856384],[116.21867447410207,29.66646879331696],[116.2184244738568,29.666649789064312],[116.21826147365041,29.666212798807422],[116.21826247347535,29.666030802364396],[116.21814047417507,29.665812807254763],[116.21797447359546,29.66577580821278],[116.21764147350954,29.665810807431722],[116.21743147344718,29.666135800499646],[116.21734947343144,29.6659908036735],[116.21697847371082,29.66577080787361],[116.21199947411276,29.66556581261534],[116.210380473714,29.665703809885876],[116.20689147374456,29.66619579879191],[116.20614147390708,29.666519791491147],[116.20078447401598,29.66934273103286],[116.1976614737439,29.670889697502037],[116.1952884742078,29.671968674274005],[116.18950547344546,29.67620758193991],[116.18829547419848,29.67718256100505],[116.18417647404097,29.68077448385711],[116.18032247419673,29.68560137896074],[116.1793984742815,29.68705034798782],[116.17864547407076,29.687773331761626],[116.17794647428686,29.688210322744002],[116.17894447382054,29.689846287357398],[116.17986247388653,29.691726246296266],[116.18078447415076,29.69312921621198],[116.18288447387255,29.698718095268305],[116.1842704737432,29.701545034061482],[116.185645473743,29.70489596169123],[116.18600947379076,29.705457949681723],[116.18642847408996,29.70632093036083],[116.1866524734973,29.707016915351485],[116.18832247394809,29.71053583918852],[116.18917047369382,29.71258679527958],[116.19139247361453,29.717729683566454],[116.19226047345192,29.719349648578792],[116.19308147343352,29.721282606439697],[116.19366547358914,29.722271585238023],[116.19505947385552,29.7254925154014],[116.19548447400257,29.726236498947998],[116.1958714736164,29.72720747819574],[116.19641947378696,29.72827145530956],[116.19699447372156,29.729630425520448],[116.19731147391362,29.730380409877068],[116.19752047415069,29.730852399539618],[116.19878047362485,29.73334234513899],[116.19943747357509,29.73502430864232],[116.2016104739908,29.738976223544725],[116.20200447417568,29.73991420271855],[116.20369847401795,29.742598144834744],[116.20470847414579,29.743674121489402],[116.20548547374706,29.744198110252665],[116.20649847424822,29.744688099495175],[116.20761747415614,29.74536508475389],[116.20863247340885,29.745745076782203],[116.21115747417821,29.747125046430515],[116.21278447407403,29.748328020379194],[116.21546447375556,29.750031983564032],[116.2185314739494,29.7523859326074],[116.21991147397313,29.75331091269028],[116.22122747352451,29.75398089796349],[116.22274547364043,29.75502387518317],[116.22439247362766,29.756278847934908],[116.22594847337827,29.757588820010103],[116.2261044739121,29.757768815561143],[116.22628047363897,29.758264804938094],[116.22670547378641,29.758063809608235],[116.22798247387841,29.758067809481034],[116.22880347386076,29.758270805127346],[116.23079647345425,29.759685773947094],[116.23354747417908,29.761827727430124],[116.23419747355874,29.762407715303752],[116.23479047393535,29.762973702916838],[116.23642247385371,29.764794663387327],[116.2368664733691,29.765382650393697],[116.23734447411793,29.766274631472015],[116.23803447368034,29.767129612494628],[116.24108447415554,29.770009550331164],[116.2449874735018,29.773180481166147],[116.24721347362191,29.774996442099628],[116.25027347414296,29.777597385920707],[116.25420547380163,29.780388324883166],[116.2583614737663,29.783090266801928],[116.25896747366353,29.783399259858243],[116.25907047359559,29.78364025442769],[116.2587554739509,29.78463923303884],[116.26673947381856,29.787155177852746],[116.27679847419387,29.791026094426098],[116.28461047363325,29.79531000113482],[116.2908244734891,29.79879492586923],[116.29828447347398,29.803938813377602],[116.30330147360367,29.807688732591373],[116.30827547407578,29.81111965751825],[116.31226747400817,29.81562556012143],[116.31878247416151,29.822172417434683],[116.32854147406121,29.829715253192624],[116.32842447388707,29.825889336605094],[116.32739447366899,29.821905423647436],[116.32713747375163,29.820639450513056],[116.33044147377528,29.815314566923227],[116.33177147357166,29.813082614960344],[116.32850947338376,29.811704645273622],[116.32221147386261,29.80774273099874],[116.32053547356327,29.805915770933908],[116.32029147406436,29.80539578182971],[116.31869947342965,29.805903770819647],[116.31727047390072,29.804380803972247],[116.317522473796,29.803907814434943],[116.3163844736214,29.803294827450028],[116.31713447345898,29.8027318396751],[116.3177784738898,29.801986856363552],[116.31631947332512,29.800906879538143],[116.31550447408877,29.800906879535265],[116.31486047365827,29.80105587606552],[116.31434547399752,29.801055876063707],[116.31387347399459,29.800757882775077],[116.31347647343648,29.800362891684976],[116.3129344740118,29.799796904149293],[116.3118564741119,29.798709927607526],[116.31125547333953,29.797853946366274],[116.31047647408876,29.796453976767527],[116.31008347372875,29.79578599062225],[116.31104347362921,29.79376203505385],[116.3080394740823,29.792682058312867],[116.30638547352368,29.79243306356911],[116.30525247337224,29.791285088729882],[116.30392047392745,29.79019511257907],[116.30512147385187,29.78925713237781],[116.30404847397483,29.788251154436214],[116.30214747354387,29.788205155371692],[116.30057147370191,29.7865951906182],[116.30074247340684,29.78482722918813],[116.30005547421808,29.78236928204574],[116.29962647387302,29.78166129762115],[116.2994974740021,29.78061832014744],[116.2987254735253,29.780245328566057],[116.29842447412487,29.77998533431146],[116.29803847343734,29.779761338983327],[116.29743747356288,29.779761338981224],[116.29589647388023,29.7799103358047],[116.29529047398294,29.77980033800805],[116.29460347389475,29.779949334776536],[116.29393347352504,29.779793337997788],[116.29411247362528,29.77958734285249],[116.29405547372403,29.779249349997027],[116.29383047359325,29.779092353346645],[116.29387947399717,29.77883335878297],[116.29456347371219,29.778941356955215],[116.29462047361376,29.77854236569268],[116.29447847422202,29.778267371120826],[116.2952044737703,29.77741638992828],[116.2952044737706,29.776708404789687],[116.2950754738994,29.776224415266302],[116.29486047381438,29.776000420102328],[116.29456047334047,29.775963421113044],[116.29438847381142,29.775814424648164],[116.29434547415386,29.775404433133374],[116.29395947346634,29.77518143807515],[116.29305847401628,29.77518143807198],[116.29262947367101,29.774957442913472],[116.29189947392537,29.77443645472972],[116.28872547360254,29.769518561408155],[116.28821047394253,29.767916596120482],[116.28722347338066,29.76739560718079],[116.28606447418817,29.76650062688002],[116.28533447354405,29.766314630938442],[116.2846054736232,29.766053636693478],[116.28396147409114,29.76586764070213],[116.28374647400611,29.765606646074264],[116.28344647353224,29.76549564846588],[116.28288847421382,29.765457649015943],[116.28258847373993,29.76534665202231],[116.28237347365489,29.765159655798307],[116.28228747344129,29.76490066107372],[116.28220247395095,29.76467666631875],[116.28237347365524,29.764378672340115],[116.28250247352669,29.764192676360995],[116.2828454736585,29.763931682050465],[116.28336047421767,29.763558690710294],[116.28396147409232,29.763149699439992],[116.28641347416959,29.761858727181934],[116.28486747356645,29.760401759054446],[116.2869204734361,29.757978811215274],[116.28680847418146,29.757913812691815],[116.28531747382968,29.7570298318636],[116.28222247404663,29.75500287641893],[116.28205247416739,29.75482687979718],[116.28177447343464,29.755124873326558],[116.28110847416093,29.75570186083048],[116.28042247389742,29.75629784803867],[116.27974247348169,29.75691483417933],[116.27888847388692,29.757733816594076],[116.27744847358785,29.75877879405028],[116.27617747424237,29.757900813256754],[116.27503347422032,29.75666984008821],[116.27348047394388,29.756629840834144],[116.26998447340308,29.75791381263264],[116.26904047339711,29.75767081820949],[116.26788147420415,29.75780181529927],[116.26783847364753,29.75917978554623],[116.26852747338467,29.761238741000373],[116.26857047394054,29.761452735920773],[116.26861347359814,29.761741730066475],[116.26866347382669,29.76208672242344],[116.26866247400132,29.76315069910756],[116.26888447375875,29.764101678397385],[116.26849747414425,29.76465766639302],[116.26760147381863,29.764869661617684],[116.2656044740267,29.7645126698666],[116.26491047336745,29.76458766819596],[116.26454347384475,29.764527669377795],[116.26364447404448,29.764682666049843],[116.26343047378425,29.764668666263674],[116.26310047407148,29.76452566917759],[116.26288947418442,29.764267674863333],[116.26246447403712,29.764097678747383],[116.26233247379271,29.76396668130571],[116.26233647399093,29.763317695307972],[116.26216447356376,29.762775707724483],[116.26193247376038,29.762343716361293],[116.26225247342772,29.761825728061964],[116.26197447359345,29.761599733196547],[116.2609224736326,29.761091743924883],[116.26108347418949,29.760789750441926],[116.26181347393528,29.76100574580924],[116.26210047399042,29.761010745303913],[116.26225047377827,29.76090174833175],[116.26223247423518,29.760365759432712],[116.26233247379429,29.760369759209535],[116.26257347381855,29.760655753341418],[116.26271647393364,29.76070175257809],[116.2630834734565,29.760474756991478],[116.26396547353825,29.760592754493853],[116.26420947393575,29.76047875754737],[116.2642694742102,29.760372759243563],[116.26421947398164,29.760169763958757],[116.26367647383354,29.76000576720482],[116.26343247343631,29.75953477804471],[116.26308347345693,29.759477778594334],[116.26271147391122,29.75958477682093],[116.26213847362591,29.759478779128873],[116.26210647383888,29.75938478077448],[116.26226947404561,29.759205784768394],[116.26286947409518,29.7591897854779],[116.26301347403522,29.759036788409123],[116.26305447404336,29.758479800647947],[116.26306047389126,29.758165807498862],[116.26288947418723,29.757805815160513],[116.26209247359591,29.757739816747115],[116.2621264739312,29.757582819916223],[116.26228147374192,29.75746182265824],[116.26285547385218,29.757442822974305],[116.26312447346575,29.75732882556401],[116.2633624740154,29.75732682522605],[116.26330847358854,29.757773816127074],[116.26336147418995,29.75856879867724],[116.26388447334791,29.7594467798545],[116.26410747382891,29.75960577639901],[116.2642944734266,29.759629775238057],[116.26484147377278,29.75940778069653],[116.26529647405735,29.7594887790593],[116.26550047337356,29.759352781475823],[116.2653454735631,29.75895379016434],[116.26558647358756,29.758713795224526],[116.2656624737557,29.75831580425867],[116.26624647391186,29.757952812362234],[116.26643947335748,29.75772881689311],[116.26644847357845,29.757506822037758],[116.26604547407092,29.75697883273925],[116.26579947402367,29.75697083291458],[116.26551147414376,29.75659584104227],[116.26560147365727,29.756347846820496],[116.26547747380876,29.75615785080628],[116.26527847361716,29.756124851453034],[116.26538747339721,29.75594385549661],[116.2651444737232,29.755403867399693],[116.26463347336222,29.75510887332212],[116.26436047355075,29.755225871099228],[116.2642404739003,29.75493987706889],[116.26366147376727,29.754636883954884],[116.2636344740032,29.754392889579663],[116.26327547397815,29.754062895991606],[116.26338547358344,29.753213914701462],[116.26374247395856,29.75366190504645],[116.26432147409153,29.753966898394246],[116.2648144740108,29.75438688917125],[116.26587247381953,29.75476888092785],[116.2664724738691,29.754733881509342],[116.26653947381627,29.754618884329965],[116.2665264733976,29.7543938893986],[116.26635947389153,29.754023897085613],[116.26563547399367,29.753470909588927],[116.26562147375002,29.753338911694232],[116.26624647391392,29.75330791261472],[116.26664047409912,29.753370911368847],[116.26694647352235,29.753767902661156],[116.26706147404803,29.754612884712675],[116.26732447381346,29.75517987247947],[116.26783547417453,29.755272870300452],[116.26786747396159,29.755387867509683],[116.26779047396856,29.75562286285405],[116.26791147344399,29.755739860032524],[116.26853347413319,29.75566986185941],[116.26888747413528,29.756046853661807],[116.26927147337645,29.756128851412836],[116.27016547405238,29.75565586160035],[116.27040147405391,29.75561586272777],[116.27120647414282,29.755713860683002],[116.27159147410713,29.755857857661052],[116.27174247371997,29.755623862664386],[116.27133247364186,29.75411189537741],[116.2706494737517,29.75408889580689],[116.26983247396727,29.75382490146859],[116.26963747397383,29.753356911573295],[116.2697964739828,29.752630927195522],[116.26905247399337,29.75232893394947],[116.26892947396988,29.751994941255486],[116.26859447423432,29.751647948798905],[116.26779147379531,29.751366954670594],[116.26663547407725,29.751141959454664],[116.2656824738506,29.75060397169512],[116.26476547360878,29.750344976782813],[116.26475147336517,29.750226979696315],[116.26496747417364,29.74984898798955],[116.26558447394197,29.74904500537144],[116.26607447348846,29.748888008961256],[116.26675847410188,29.74886600884072],[116.26702147386769,29.74868201343864],[116.26874947404652,29.748029027245185],[116.2687984735521,29.74791702979295],[116.26874347419886,29.7478230315141],[116.26826947364786,29.747455039660053],[116.26729047348184,29.747067048038843],[116.26698047386047,29.747116046915316],[116.266295473422,29.74740804069813],[116.26611847386991,29.74759003712556],[116.26588947354078,29.748373020132107],[116.2657394737529,29.748520016337206],[116.26536347400926,29.748550016251354],[116.26513647422864,29.748484017204675],[116.26507747377931,29.74797302813176],[116.26486547406726,29.7478210317518],[116.26459047370771,29.74781003157295],[116.26404147371169,29.74799302792184],[116.26371547419674,29.748260022406495],[116.26364447405147,29.748659013392704],[116.26329447424682,29.74933099905464],[116.26328547402596,29.749484995979632],[116.26314547338553,29.749560993716006],[116.26303047375787,29.74948199562558],[116.2631434737359,29.749098004279908],[116.26294147406989,29.748292021356303],[116.26280047360468,29.748216023436868],[116.26205847416318,29.748319020948934],[116.26193247376668,29.747942028939445],[116.2619574738811,29.747856031236154],[116.26223247424059,29.7479430288136],[116.262361474112,29.747901030235468],[116.26254747388498,29.747662035223065],[116.26338247411117,29.74751203813013],[116.26415647423832,29.746721055558908],[116.26469347364068,29.745931072879202],[116.26427047404181,29.745127090035847],[116.26414747401817,29.74510809035124],[116.26375647420583,29.745507082180776],[116.26351747383097,29.746102069279136],[116.26169647376577,29.746501060267907],[116.26148047385564,29.74671405557234],[116.26086547373744,29.746847052713147],[116.26007347406703,29.747382041493832],[116.2590514742434,29.746817053841642],[116.25910747342175,29.746484060610346],[116.25961347376051,29.7452590870278],[116.2596924734034,29.74486609597304],[116.25988747339714,29.744582101838258],[116.25978347364021,29.74433610734962],[116.25993647380125,29.743892117102217],[116.2600894739622,29.74366612157868],[116.2603454740556,29.742730142251695],[116.26073947424108,29.74233115107175],[116.26128747351378,29.74227215212176],[116.2615454741548,29.74252714633889],[116.26177847378307,29.743027135946136],[116.26211447424205,29.74290113866106],[116.26238047348235,29.74314113324515],[116.2627244734389,29.74309213398623],[116.26281447385067,29.74291013797354],[116.26329047405177,29.742697143168964],[116.2636984735824,29.742797140341587],[116.26415647424008,29.742671143547927],[116.26428347356328,29.742800140896822],[116.2640784735237,29.743275130373256],[116.26362947398503,29.743612123006205],[116.26356147421292,29.74380111870585],[116.26373647411506,29.743858117711103],[116.26431547424826,29.743738120181455],[116.26439047369298,29.743778119114907],[116.26435547353283,29.743962115717885],[116.26458647351147,29.743963115631512],[116.2644044739367,29.743742119841837],[116.26442647367807,29.743663121846605],[116.26460247340516,29.743599123317093],[116.26492547344522,29.74372612042252],[116.26508047415427,29.74360912326242],[116.26531347378287,29.743338129195518],[116.26555047360945,29.742878138872896],[116.26566247376249,29.74282214001574],[116.26574247412864,29.742345150095247],[116.26599847422177,29.742071156717472],[116.2663354736074,29.741866161160182],[116.26700947417557,29.740856182481863],[116.2673914737668,29.740996179973184],[116.26741847353135,29.740240195729683],[116.26863047422398,29.74105017841116],[116.26879347353228,29.740849182881536],[116.2694794737957,29.74053219004603],[116.26986347393533,29.740244196317875],[116.26978947341719,29.74017119761044],[116.26956547400957,29.740154197667987],[116.26943447359014,29.73992920303214],[116.26929847404604,29.739937202655454],[116.26862147400381,29.739385214635107],[116.2689104737089,29.739236217598396],[116.26901847366396,29.739094220849275],[116.26919547411426,29.739126220387593],[116.26898147385424,29.73873022880152],[116.2690524739994,29.738526233400954],[116.26958947340141,29.738555232441698],[116.26978647394317,29.73870022985084],[116.27005247408223,29.73788124715462],[116.27012547387719,29.73783624834033],[116.27014847344354,29.737460256676478],[116.27002447359519,29.737135263419923],[116.27008547369489,29.736297281410813],[116.27028747336132,29.735999288080052],[116.27065047358445,29.7360912857611],[116.27066147345481,29.73670627305164],[116.27080447356988,29.73675727150162],[116.27140047342152,29.736726271975172],[116.27151047392476,29.736519276437868],[116.27155847360552,29.736099285694134],[116.27183447379002,29.736070286726218],[116.27186647357716,29.735867290589006],[116.27200947369228,29.73575429359918],[116.27192247365376,29.735557297581902],[116.27154147388741,29.735349301971848],[116.27180047345522,29.735170305950263],[116.27194347357043,29.734964310324646],[116.27222747415082,29.734907311726257],[116.27239347383234,29.734558319404567],[116.27249347339165,29.73409632935042],[116.27260347389485,29.733983331925494],[116.27282147345463,29.734124328880267],[116.27293747380548,29.734355323329414],[116.27284247337084,29.734584318793324],[116.27301847399612,29.734700316337758],[116.2732774735636,29.735398301121048],[116.27349747367154,29.735424300291275],[116.27372247380248,29.7353213027927],[116.27383647360536,29.735229304407135],[116.27382947393272,29.735126306707564],[116.27366447407647,29.73474931502012],[116.2735664741674,29.73419932733132],[116.27337047345074,29.733813335154533],[116.27341047363366,29.73374133724188],[116.273584473711,29.733705337486693],[116.2734464736189,29.733289346737614],[116.27350847354325,29.73312735051514],[116.27375547341552,29.73292535468619],[116.27385147367502,29.732747358263538],[116.27383147358368,29.732551362608085],[116.27394547338658,29.732315367761533],[116.27409747372253,29.732201370640727],[116.2741604734717,29.73228436842106],[116.27485347340749,29.732568362281874],[116.27528147392798,29.73250236363953],[116.27544047393683,29.73203337403573],[116.27592247398567,29.731878377579775],[116.27631747399593,29.731659381755282],[116.27633447371441,29.73155838436345],[116.27565447419738,29.731228391285683],[116.2754874737929,29.7310613954276],[116.27526947423354,29.72999541815447],[116.27554847389285,29.72980342202],[116.27571747394713,29.729975418673266],[116.27588147397864,29.729990417896246],[116.27596347399447,29.729818422049682],[116.27581547385658,29.729599426406992],[116.27544447413591,29.729386431414454],[116.27541147362578,29.729106437373012],[116.27505847344858,29.728754444957627],[116.27511247387532,29.72851245013932],[116.27528347357955,29.728564448921016],[116.27546147385482,29.728382453069827],[116.27550347368766,29.728227456432453],[116.27533447363341,29.727966462091295],[116.27506647384489,29.727881463712194],[116.27496547356262,29.7276124694254],[116.27512047337342,29.72747847244087],[116.27550547423616,29.727449473321496],[116.27569247383396,29.727211478795883],[116.27711747406403,29.726978483340687],[116.27719647370688,29.726710489058807],[116.27694347398703,29.726397496354945],[116.27688447353758,29.726186500987083],[116.2771264733871,29.725639512668707],[116.27712247408772,29.725052525124237],[116.27706047416355,29.724927527984107],[116.27651647419064,29.72458953565397],[116.27571947359928,29.724613535070134],[116.27567047409381,29.724619534923782],[116.27544547396253,29.72556751434473],[116.27532347376379,29.725581514129626],[116.27499647352582,29.725331519450705],[116.27469947342493,29.72529152018103],[116.27474847382882,29.725119524080416],[116.27507447424206,29.725011526415592],[116.27500547374699,29.724570535974596],[116.27475047347897,29.724367539970267],[116.2743484737961,29.724390539333008],[116.27385547387676,29.724127544931033],[116.27381247421913,29.72400954820112],[116.2738914738619,29.723836551350146],[116.27413847373407,29.72391354991425],[116.27469947342557,29.723803552285027],[116.27472147406543,29.723303562809413],[116.27439647347718,29.723084567769305],[116.27405947409187,29.722622577927332],[116.27370147389165,29.72264457756481],[116.27336847380586,29.722442581692324],[116.27322747423904,29.72208258981848],[116.27279647424406,29.721573600685474],[116.27199547345482,29.721620599261517],[116.27180547348406,29.721542601142485],[116.27155947343691,29.72127060738891],[116.27131047391495,29.721198609056025],[116.27120347378494,29.72102161225397],[116.27121847385366,29.720680619598514],[116.27105247417265,29.72007463294833],[116.27097547417975,29.720003634689853],[116.27089147361598,29.71973764003254],[116.26997247372478,29.718529666392737],[116.27019747385562,29.718534666444818],[116.27052447409382,29.718365670191222],[116.26981847373966,29.71702869886863],[116.27013347338428,29.716132718131558],[116.27033347340083,29.716116718988673],[116.27054247363833,29.71574572647859],[116.27029347411634,29.715718727475995],[116.27014047395544,29.71586572394616],[116.26985147425044,29.71589072408241],[116.26980147402182,29.71564372925572],[116.26962547339662,29.715360735285163],[116.26965047351104,29.715119740356613],[116.26941847370762,29.71468575001389],[116.26944447364697,29.71461775090058],[116.26992247349781,29.714541753215475],[116.27006247413836,29.71419376048635],[116.27001947358245,29.713923765968577],[116.27095147389319,29.713387777969107],[116.27159947362352,29.712953787163997],[116.2726814737223,29.71193580970681]]]},properties:{name:"双钟镇","fill-opacity":0,"stroke-opacity":1,stroke:"#ff0000"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[116.36554847413431,29.73809724307942],[116.36550847395141,29.73785724812524],[116.36523847361491,29.737432257633504],[116.36503847359822,29.737873247701085],[116.36491147337655,29.737961246111073],[116.36456147357234,29.73776824964564],[116.36447947355654,29.737929246200153],[116.36472447377881,29.738062243295612],[116.36468147412104,29.738305238446628],[116.36420847339461,29.73859523221514],[116.36403747369044,29.738552232873854],[116.3641854738287,29.737851248278407],[116.36484047413,29.73742825772039],[116.36507047338557,29.737097264474095],[116.36501947423037,29.736972267519928],[116.36479847339898,29.737330259833435],[116.36428447356305,29.737589254038976],[116.36396547372084,29.737527255485396],[116.3638004738644,29.73756825453188],[116.36378647362065,29.737782250065784],[116.3636714739928,29.7379592461614],[116.36329447352603,29.737988245362914],[116.36265547401679,29.73785924806257],[116.3626714739103,29.73797024585646],[116.36255047353642,29.738037243994167],[116.36237847400717,29.73831323819184],[116.36232347375562,29.73833423754108],[116.36226547402943,29.738064243230227],[116.36221947399855,29.738213240448932],[116.36181347411778,29.738273239416902],[116.3615904736366,29.738639231494073],[116.361362474031,29.73863523084967],[116.36121347406797,29.738835226952652],[116.36087147376115,29.739065221509478],[116.36080847401176,29.739541211474233],[116.36092247381427,29.74013419897209],[116.36066947409434,29.7402161972571],[116.36059147337812,29.740307195019273],[116.36058347388047,29.74052718985143],[116.3604354737424,29.74064618737923],[116.36027947410683,29.740640187703356],[116.3604844741463,29.740466191502513],[116.3603844736892,29.739774206615447],[116.36043247336994,29.739298216976454],[116.36063047373666,29.739213218840252],[116.36061647349305,29.739155219574616],[116.36053547420055,29.739032222769175],[116.36028547395526,29.739158220235606],[116.35999847390016,29.739076221863694],[116.35988947412021,29.739169219801326],[116.35956247388212,29.739015222631075],[116.35949647375989,29.73911122050892],[116.35982447382278,29.73939121470645],[116.35981347395182,29.740032200797522],[116.3602184740076,29.740394192904343],[116.36020047356583,29.74049419081201],[116.35987347422612,29.740420192337563],[116.35955347366067,29.740504191063078],[116.3594504737285,29.74045119150293],[116.35935147399447,29.74013919872126],[116.35926947397877,29.740075200281765],[116.35911247361994,29.74009119950487],[116.35890447410588,29.739960202665532],[116.35845447384419,29.739872204447483],[116.35845247419445,29.739761206418574],[116.35861647422591,29.73976020646446],[116.35863947379225,29.739544211337254],[116.35821147417016,29.7394242141018],[116.35793247361251,29.739658208690997],[116.3578674742134,29.73996920223583],[116.35766247417402,29.740010201063875],[116.35733247356289,29.73991720312456],[116.35719947349358,29.739735207588918],[116.35711847420095,29.739809205787367],[116.35720147404153,29.74007220041979],[116.35715847348551,29.74010119979144],[116.3569434734004,29.74005520046047],[116.35666147336813,29.740138198760913],[116.35655947415927,29.740008201155586],[116.35625247401265,29.740027201024986],[116.35598947334866,29.73992120293226],[116.35578347348427,29.74020919680859],[116.3556884739477,29.740933181554542],[116.35534047379329,29.740667187002256],[116.35509947376892,29.74069518625577],[116.3550724740048,29.74060518879157],[116.35523247383854,29.740084199831205],[116.35526847382373,29.739684208306873],[116.35548347390905,29.73923621790302],[116.35492747424038,29.739313216345458],[116.35471647345494,29.739229218180604],[116.35465447353062,29.739356215359003],[116.35444247381858,29.73930621662944],[116.35432247416792,29.739460213351357],[116.3541724734818,29.739463213223843],[116.35413147347418,29.738911224936896],[116.35389247399804,29.738632230925617],[116.35381747365521,29.738102242894353],[116.35358447402686,29.737880247475108],[116.35353747417125,29.737620253262968],[116.35308647408476,29.737318260044397],[116.35290747398462,29.737425257744523],[116.35283547401448,29.737679251829235],[116.3525394737384,29.737890247205335],[116.3525704737005,29.73802924418372],[116.35248847368467,29.738105242803385],[116.3518674737188,29.73802724423733],[116.35179447392387,29.7380502435899],[116.35171447355782,29.73827623928988],[116.35137147342618,29.738288238921918],[116.35134847385973,29.738783228000607],[116.35142847422566,29.738817227566052],[116.35155847392208,29.738659230774246],[116.35170947353475,29.73873622888222],[116.35174747406764,29.739277217018245],[116.35173247399905,29.73933521621321],[116.35128647393525,29.739351215553366],[116.3511864734777,29.73965120897702],[116.35127247369128,29.739918203056337],[116.35154147420297,29.740235196276064],[116.3519494737335,29.7404281926743],[116.35170647405917,29.740716185874525],[116.35169747383813,29.74114517703273],[116.35135247405658,29.741344172090646],[116.35135047350829,29.741708164790655],[116.35127847353823,29.74188416104403],[116.3507014739534,29.74149016930191],[116.3505764733816,29.74149516898852],[116.35031447344072,29.741724164530094],[116.35027647380579,29.7419801585123],[116.35038247411083,29.742244152841213],[116.35016547347757,29.74227015257523],[116.34998147335453,29.742418149076364],[116.3496894741745,29.74315113354167],[116.34982447389359,29.743463126312253],[116.35016147417728,29.743745120668496],[116.34991647395492,29.74386311758341],[116.34980847399981,29.744003114774802],[116.34977947368726,29.744460104893705],[116.34952447341924,29.74431210828496],[116.3493804734792,29.74436810708989],[116.34927447407227,29.7445161036147],[116.34918647420878,29.74447310447257],[116.34911647388853,29.74452410365199],[116.34912547410921,29.74487709600873],[116.34901047358314,29.74501409285745],[116.34899747406259,29.745165089691454],[116.34912647393384,29.745587080480178],[116.34900847393304,29.745668079090663],[116.34947447408798,29.74634406408077],[116.34936147411003,29.746486060703177],[116.34916647411637,29.746512060117272],[116.34906447400905,29.74677605499286],[116.34936447358459,29.7469160520182],[116.34940047356952,29.746999050100516],[116.34921447379668,29.7471700462423],[116.34897647414535,29.747026049263056],[116.34876347371019,29.74677305455762],[116.34874747381674,29.74662905778891],[116.34887047384049,29.746343064189567],[116.34867647367173,29.746344064077945],[116.34849847339639,29.746658057603426],[116.34879047347415,29.747198045239315],[116.34897247394733,29.74736604218641],[116.34886247344413,29.74735004256323],[116.34860247405159,29.74712404703288],[116.34854647397508,29.74716804647833],[116.34857047336604,29.747547038032288],[116.34829647372956,29.74777803276106],[116.34843647347158,29.747952029534236],[116.34859447365528,29.74801402788155],[116.34860347387604,29.748095026091637],[116.34832647386652,29.748450018090185],[116.34852247368502,29.748574015689936],[116.34857247391363,29.748794011103282],[116.34884447390004,29.74895800748436],[116.34907847335326,29.74933399893423],[116.34899847388564,29.749364998464742],[116.34863647348753,29.749140003437738],[116.34835047415565,29.74911400392351],[116.34811447415404,29.749395997982795],[116.34821847391099,29.749663991708054],[116.34817147405525,29.74975798982031],[116.34835947347787,29.749765990220478],[116.34836147402599,29.749816989047535],[116.34789147367275,29.74993598646814],[116.34779247393844,29.750230979389723],[116.34756047413487,29.750293978515707],[116.34743947376083,29.75075196866183],[116.3474204734941,29.750980963340417],[116.34717047414716,29.75114695972375],[116.34731747356192,29.751226957902375],[116.34745947385211,29.751188959283194],[116.34758447352561,29.75108096160915],[116.34752947417245,29.75086296622307],[116.34823247415409,29.75092696479844],[116.34832247366744,29.751035962481364],[116.34817247387949,29.751357955622556],[116.34825147352217,29.75141295377394],[116.34861047354735,29.751242957690874],[116.34859547347854,29.751726947023386],[116.34816847368128,29.75193794247627],[116.34809747353592,29.752411932507844],[116.34785547368632,29.753110917054073],[116.34770047387555,29.753361911723232],[116.34796047416641,29.75353090829697],[116.34768547380672,29.753876900658184],[116.3474974734857,29.753993898314],[116.34764247414877,29.754360890530517],[116.34747647356903,29.75459188515609],[116.3471594733767,29.75454488642658],[116.34709147360458,29.754673883314865],[116.34720847378033,29.754922878363505],[116.34752947417059,29.75516687300933],[116.34752347342436,29.75541586761269],[116.34731747355998,29.7556368626234],[116.34694847348908,29.75563986279098],[116.34697147395356,29.755703861433496],[116.34687947389203,29.755796858766193],[116.34676047406633,29.75581085901087],[116.3466344736696,29.755963855545666],[116.34663247401964,29.75626484896519],[116.34697147395302,29.756873835481038],[116.34686047362494,29.75703583233445],[116.34688947393721,29.75710683089723],[116.34728847414526,29.757212827978094],[116.347359473392,29.757357824919993],[116.34719747390858,29.75745282339358],[116.34723547354339,29.757508821877465],[116.3474614734992,29.757468822964498],[116.34739647410007,29.75765781905604],[116.34686247417261,29.758016810591172],[116.34684047353298,29.75810580903054],[116.34692047389885,29.758247806149466],[116.34720547340582,29.758300804880633],[116.34763647340084,29.75862279808063],[116.3475074735293,29.758847792875866],[116.34748447396296,29.759121787193628],[116.34738247385577,29.759091787322586],[116.34729947401523,29.758838793436148],[116.34717547416665,29.758835793362564],[116.34723847391577,29.75908278790494],[116.3476624733398,29.75935178200568],[116.3480994740811,29.7593057829312],[116.34840347385457,29.759394781006776],[116.34850647378653,29.759845771059986],[116.34903747334073,29.76000976729596],[116.3491644735623,29.76012176527408],[116.34919147422474,29.760282761806604],[116.34901247412442,29.760602754601223],[116.34824547367032,29.760648753859034],[116.34822047355594,29.760663753172455],[116.34827247343436,29.760931747963333],[116.348514474182,29.760920747665413],[116.34845547373236,29.76119774177635],[116.34866047377167,29.761310739726298],[116.3488134739324,29.76165773226034],[116.34903947388806,29.761943725835376],[116.34894447345329,29.76232071742896],[116.3489634737197,29.7627117092249],[116.34916147408642,29.762811706706884],[116.34950847351764,29.762844706198173],[116.34952847360906,29.763018702549722],[116.34928647375966,29.763176699162347],[116.3492154736145,29.763312696235147],[116.34926247347003,29.763683688281144],[116.34945847418675,29.76392568244348],[116.34986647371738,29.764050680105747],[116.35040347401755,29.764393672894265],[116.35112647409075,29.764348673505378],[116.35139547370419,29.76450566987429],[116.351664474216,29.764500670555886],[116.35198947390585,29.76468866615679],[116.35170847369845,29.764738664702076],[116.3516924738048,29.76501565917554],[116.3519814735097,29.76521565489879],[116.35198147350964,29.765344652087713],[116.3517414742084,29.765562647164334],[116.35187547410258,29.76572964326614],[116.35186647388167,29.7659276389555],[116.3515314741458,29.76628363142471],[116.35181247345467,29.766645623869564],[116.3517054742228,29.766823620156465],[116.35154847386403,29.766878618397175],[116.35144847340659,29.7670196158768],[116.35175947375104,29.767184611747872],[116.35174447368234,29.76733960899105],[116.35138847403013,29.767528604398283],[116.35127347350402,29.767762599667282],[116.35097447375324,29.767988594665105],[116.35039347397024,29.767953595181062],[116.35028747366513,29.767866597039312],[116.35004147361775,29.76803159385267],[116.35024447400721,29.768329587103864],[116.35003747341956,29.76861858090656],[116.35017747405985,29.76887857504076],[116.34965047380504,29.76920256787578],[116.34960947379723,29.76904757195543],[116.34982447388252,29.768715578952122],[116.34948447412403,29.768559581829958],[116.34937747399385,29.76866357993721],[116.3492294738559,29.768631580470473],[116.34922347400818,29.768446584257653],[116.34913147394673,29.76832858743021],[116.34883447384591,29.768178590072345],[116.34825247333966,29.76830958746245],[116.34784147343599,29.768276588211474],[116.34769347419638,29.768182590312716],[116.34769447402135,29.768003594427775],[116.34747547373833,29.767891596682343],[116.34720847377478,29.767592603230693],[116.34693147376542,29.767591602772843],[116.34684547355167,29.767664601786034],[116.34689447395536,29.767776599004936],[116.34721347379755,29.76790159654081],[116.34695647387953,29.768159590852402],[116.34704747411604,29.76823458957343],[116.34741647418696,29.768217589713664],[116.34748647360878,29.768354586631567],[116.34751447409609,29.76849658326178],[116.34742147420965,29.768644580029157],[116.34756247377659,29.768663579930802],[116.34741947366138,29.76893957402486],[116.34729847418589,29.768994572663516],[116.34710747349192,29.76878257758644],[116.34649747339661,29.768951573883186],[116.34600547420021,29.769306566082815],[116.34614547394217,29.769575560025732],[116.34662647416593,29.769788555419964],[116.3465054737916,29.771018529178843],[116.3480844740072,29.771350521573254],[116.34805447386985,29.77158551612894],[116.34861147336309,29.77223350273845],[116.34862847397967,29.772655493396897],[116.34896147406548,29.77285848911534],[116.34896647408824,29.77310648379747],[116.34868947407874,29.773202481774298],[116.34824347401502,29.773156482038395],[116.34765547366116,29.772905487826286],[116.34720447357469,29.77252549585309],[116.34697047412126,29.77259149465981],[116.34675447421107,29.773003486019437],[116.34675347348775,29.773213481497343],[116.34741747400952,29.773603472490382],[116.34735847355986,29.773948465323716],[116.34601747389348,29.774578451505167],[116.34633247353743,29.775182438640428],[116.34626047356736,29.775354434635393],[116.34596047399167,29.77558042965752],[116.34595947416665,29.775741426297763],[116.34636247367426,29.77605941965342],[116.34640347368203,29.776281414724433],[116.3462544737191,29.77636741298422],[116.34605547352756,29.77635941314846],[116.34536447413993,29.77581142448301],[116.34511647354458,29.775741426294786],[116.34445447357064,29.776054419344632],[116.34506947368848,29.776769403868535],[116.34512647358973,29.777061397798086],[116.34493647361893,29.77716339571113],[116.34428447369088,29.777169395537037],[116.3441554738195,29.777079397296465],[116.34411747418478,29.77677040423039],[116.34382347355869,29.776579408371685],[116.34350747408958,29.776623407358812],[116.34298047383479,29.77701039879473],[116.34199447399587,29.777098397149274],[116.34138947392321,29.777618385157503],[116.34119047373127,29.778391368633162],[116.34116447379192,29.778488366570954],[116.34085447417077,29.778146374057094],[116.34046947420671,29.777292392311907],[116.34109847367056,29.776684405525803],[116.34059447388076,29.775966421614946],[116.33989747374723,29.77511044000713],[116.33903847413008,29.77486644558338],[116.33874747387682,29.775057440808506],[116.33837147413321,29.775304435902015],[116.33848147373756,29.776428411288254],[116.33863247334995,29.777143395479378],[116.33847047386612,29.77816337378391],[116.33787847421212,29.77902435517441],[116.33713147384924,29.779597342475217],[116.33685147346635,29.78058232098503],[116.33687647358045,29.78118630777086],[116.33688547380122,29.781399303419104],[116.3362194736293,29.781598298853755],[116.33466247405363,29.78060132095274],[116.33376947410159,29.779744339645134],[116.33310547357964,29.779740339080558],[116.33298447410395,29.780181330127768],[116.33332847405994,29.78140830315787],[116.33305347370026,29.781577299201732],[116.33281447422368,29.78232428304897],[116.33456947416622,29.782982268697594],[116.33518947340862,29.78366725412214],[116.33592847337508,29.784231241868294],[116.33560547333421,29.785930205100872],[116.3357564738449,29.786646189533368],[116.3372724734125,29.788051158834758],[116.33757947355878,29.788871141080183],[116.33776847370423,29.78985911948433],[116.33717547332691,29.79091009680052],[116.33670447404698,29.791213090115818],[116.33635447334444,29.7909380960461],[116.3340134735961,29.790275110865807],[116.33245747384544,29.78907313640615],[116.33110347376153,29.78688618458126],[116.32978147346418,29.785890205820873],[116.3283784738742,29.78509722314085],[116.3269004739412,29.78410024499981],[116.3261944735863,29.784469236654225],[116.32587647356874,29.785148221906972],[116.32631647378443,29.785859206663936],[116.32719447366782,29.78689218381298],[116.32742347399629,29.787724166148315],[116.32671347344314,29.788706145040514],[116.32651347342632,29.789386129859032],[116.32618547336236,29.791663080868844],[116.32729147374909,29.793997030077367],[116.32839047356532,29.795139004679125],[116.3287474739398,29.797125961502008],[116.32961447395289,29.797321957937665],[116.33177847414902,29.798564930579456],[116.33263047409253,29.801123875078716],[116.3341434741855,29.802173852463426],[116.33500147397709,29.80388181516815],[116.33412947394088,29.80434880506864],[116.33498947338254,29.805582777786945],[116.33715147392863,29.80720474255541],[116.33811747367523,29.809007703765953],[116.33963547379143,29.80930169726342],[116.34093347379945,29.81016167888479],[116.3428814740856,29.811214655772833],[116.34287647406242,29.81197063909199],[116.34211247398109,29.81262762542568],[116.3416724737647,29.813475606518747],[116.34101647363836,29.814132592317495],[116.3400374734722,29.814220590766503],[116.33841747414743,29.812980617044307],[116.33700647416124,29.812781621654],[116.33613047392674,29.81390959701762],[116.33612147370532,29.815232568558592],[116.33480947345271,29.816547539996037],[116.33361447337649,29.816539540251053],[116.33254347404637,29.81814650494336],[116.33134147339875,29.8190774851273],[116.33026947334584,29.81989646720707],[116.32894047337525,29.820119462380838],[116.32713747375163,29.820639450513056],[116.32739447366899,29.821905423647436],[116.32842447388707,29.825889336605094],[116.32854147406121,29.829715253192624],[116.33907647373734,29.837856076599603],[116.3461124734007,29.840940009391208],[116.35567947368098,29.845785903822875],[116.37207447411139,29.85183077266263],[116.37377147342929,29.8524567592005],[116.38841947341471,29.857856641578987],[116.39060747390091,29.857729644376356],[116.39081347376522,29.85761064657446],[116.39269447410676,29.8528417502581],[116.39309347341678,29.85243275931957],[116.39327647371498,29.852091766823655],[116.39416247399593,29.849388825766393],[116.39464447404526,29.84823785062942],[116.39490347361341,29.847338870218618],[116.39477847394015,29.84682788165339],[116.39425447405878,29.8463218927158],[116.39378647335553,29.846048898385657],[116.39194947339725,29.845262915172615],[116.39085247412902,29.8445379316642],[116.39047347401254,29.84416993924604],[116.39016547404127,29.843510953592542],[116.3900734739806,29.841627994597815],[116.38879547406464,29.83956503976261],[116.38804147402972,29.838621059695818],[116.38767547343379,29.83813407043409],[116.38724747381185,29.837727079541978],[116.38651647334287,29.83748908442341],[116.38553747407518,29.83700209509546],[116.38470847369719,29.836139113635436],[116.38463147370449,29.835774122327017],[116.38475047353023,29.83558312612007],[116.38505747367691,29.835422129927984],[116.38691447372717,29.834889141256998],[116.38752647347256,29.834326153714283],[116.38893647363422,29.833585169664097],[116.38932547379676,29.833185178331664],[116.38937847350047,29.832641189979295],[116.38975147376979,29.831551214106362],[116.38987847399169,29.830856228679586],[116.39008647350592,29.830592234943786],[116.39040847372128,29.830348240219887],[116.39069447395156,29.830253242346643],[116.39100247392304,29.830317240827156],[116.39192147381412,29.83176020925267],[116.3923314738928,29.8320162037405],[116.39280347389582,29.83204520298488],[116.39330847351107,29.831454216193013],[116.39370447334628,29.83118522181519],[116.39393647404812,29.831239220713897],[116.39458647342786,29.83162521227692],[116.3954744733573,29.832018203377146],[116.39625747370489,29.83217020052339],[116.39651747399589,29.832123201591163],[116.3980594735037,29.831239220728417],[116.39829447368032,29.831181221767544],[116.40070547374908,29.831418216514994],[116.4019624737497,29.831174222252766],[116.40247547376049,29.83140621713645],[116.40295047413692,29.830717231995212],[116.40410247365729,29.830303240917168],[116.40467747359264,29.829906249975572],[116.40491247376941,29.829530257945446],[116.40498047354154,29.82932326249796],[116.40496947367104,29.82893327046318],[116.40486047389122,29.828724275645584],[116.4046024741485,29.828487280750533],[116.40457747403431,29.828202287004288],[116.40469147383729,29.82778129586861],[116.40527847346836,29.8269783130818],[116.40541147353794,29.826583321911958],[116.40560847408027,29.825275350722265],[116.40557947376857,29.82394037931792],[116.40567647385296,29.823822381671672],[116.40548447333411,29.823757383033364],[116.40331447418832,29.82294740131351],[116.40293747372199,29.82189942364999],[116.4028554737065,29.821204438902047],[116.40265247331713,29.82076044884181],[116.40253247366685,29.820099463221815],[116.40251447412386,29.819261480817843],[116.4020844739539,29.818596495628835],[116.4012364733093,29.817823512514114],[116.40063047341206,29.81754151862689],[116.40016447415516,29.817533518963995],[116.39905547339426,29.817672515321366],[116.39875847419175,29.817548518323388],[116.3982754734201,29.81673353635029],[116.39770347385831,29.81597555246162],[116.3954684735175,29.813774600291442],[116.39539347407286,29.813654603122394],[116.39541647363937,29.812936618651808],[116.39529247379112,29.81212763579042],[116.39537447380727,29.811265654671754],[116.39542547386098,29.811149657696305],[116.39571047336803,29.811031659762154],[116.39690647416737,29.81122865547501],[116.3976824739442,29.810790664914506],[116.39807247393155,29.810670668063405],[116.39898347342734,29.810615668941427],[116.4001504739145,29.810652668374487],[116.40138947347336,29.810544670913156],[116.40187347407037,29.81035467484493],[116.40204147340167,29.81001168206826],[116.40227947395144,29.80974568776723],[116.40261547351207,29.809687689584997],[116.40295047414605,29.809869685089996],[116.40316647405584,29.81036767445263],[116.40316547333222,29.811225655434754],[116.4030364734606,29.811711644868144],[116.40306747342261,29.81201563833478],[116.40336147404864,29.81226163340819],[116.4037624739066,29.81220863440194],[116.40403947391616,29.81186764177798],[116.40411547408432,29.811475650188786],[116.40391847354317,29.80999268222698],[116.40395547335334,29.80952769302893],[116.40450947337271,29.808093723690583],[116.40501147351335,29.807245742168607],[116.4050234741075,29.80662875589037],[116.40476947366489,29.805397782285123],[116.40430647388291,29.804767795968576],[116.40407847337951,29.803586821479982],[116.40373047412373,29.802709840769708],[116.40359947370443,29.80210685380337],[116.40251547395708,29.800246894070348],[116.40234947337767,29.799812903505423],[116.40223947377315,29.79905292048299],[116.40094247359059,29.79691496638031],[116.40081447354432,29.79650697586631],[116.4008494737046,29.79605598563769],[116.40113347338685,29.795759991842285],[116.40134447417229,29.795715992690404],[116.40185947383304,29.795843990173367],[116.40233947333371,29.795747992079534],[116.40253847352533,29.795661994097955],[116.40285347406802,29.795340000707178],[116.40327847331714,29.795130005646378],[116.40337147410196,29.79495800932553],[116.4033944736684,29.79444102073821],[116.40364047371578,29.794134027073877],[116.40623147371015,29.79301005168606],[116.40703047395137,29.792898053848248],[116.40719947400588,29.792555061241426],[116.40717747336666,29.79165508098186],[116.40716847404418,29.791515084104738],[116.40718647358763,29.791440085669382],[116.40716747332107,29.791367087616358],[116.40711347379269,29.791305088811466],[116.40703147377698,29.791262089479368],[116.40680347417138,29.791220090349036],[116.40668247379763,29.79117709098022],[116.40658247334024,29.79111809272299],[116.4065454735303,29.7910730936458],[116.40651547339324,29.790729100794557],[116.40646647388782,29.79056110483501],[116.40638347404723,29.790398108179335],[116.40631747392507,29.790319110326298],[116.40612647412937,29.79021411264889],[116.40604347339044,29.79014511384799],[116.40598547366419,29.79005711604284],[116.40595947372495,29.78996611746058],[116.40596147337526,29.78897113919031],[116.40599647353544,29.788669145569315],[116.406097473818,29.788203156015257],[116.40602447402317,29.78789516245082],[116.40600547375674,29.787677167648226],[116.4060214736503,29.787526170948592],[116.40606347348313,29.787403173479046],[116.40616247411572,29.787227176868797],[116.40639847411741,29.786882184569304],[116.40639747339425,29.78668718900551],[116.40647947341007,29.786528192569726],[116.4064964740269,29.786379195454767],[116.40646547406493,29.785977204167406],[116.40646347351695,29.785634212010418],[116.40642947408021,29.785360217706224],[116.4064294740809,29.783780251922924],[116.40598747421502,29.783810251415062],[116.40543147364819,29.78367625391669],[116.40489947337059,29.783822251050314],[116.40474347373504,29.78377525200051],[116.40464247345278,29.78367225428841],[116.40472347364398,29.78282127303129],[116.40459847397067,29.782567277954318],[116.40439247410643,29.782397281711486],[116.40423647357252,29.782387282519224],[116.40381947382097,29.782634276684735],[116.40330547398524,29.782407281678072],[116.40302247412806,29.782357282594802],[116.40285147352554,29.78241528180799],[116.40273747372262,29.78261627739804],[116.40279547344873,29.783116266583367],[116.4027114737831,29.78325226309092],[116.40254347355362,29.783318261845004],[116.40239247394086,29.78332926202248],[116.40208547379441,29.783025268705423],[116.40179847373932,29.78295626962621],[116.40125147339307,29.78316926540524],[116.40109047373466,29.783084267051155],[116.40102047341455,29.782929270784752],[116.4010034736963,29.782361283045418],[116.40058847359477,29.782244284989396],[116.4005024733811,29.782157287566527],[116.40055847345762,29.78196429122238],[116.40071847418959,29.781834294073455],[116.40114447416191,29.78180629461881],[116.40128947392687,29.781732296241803],[116.40149947398925,29.781282306027105],[116.40191347336787,29.78097531254468],[116.40200847380257,29.780628320656184],[116.40156247373895,29.78025832854492],[116.40130547382118,29.77990533606584],[116.40038547410465,29.77965134138529],[116.40028247417254,29.77950234495033],[116.40035547396769,29.779071354334754],[116.4003084741121,29.778951356863214],[116.39993647366832,29.778554365554026],[116.39974047384996,29.77815537430791],[116.39940647393924,29.77794837855642],[116.39894547380705,29.777434389731276],[116.39838347339241,29.777168395366232],[116.39766747389048,29.776643407083125],[116.39735347407124,29.77655840864632],[116.39683047401455,29.77654440895938],[116.39546247368622,29.776116418417875],[116.39544547396783,29.776012420251583],[116.3956334733906,29.775666427914892],[116.39607247378198,29.775002442581467],[116.3964694734422,29.774556452521463],[116.3963724733578,29.774465453883597],[116.3960634735614,29.77448345385097],[116.39595347395665,29.774267458694634],[116.3955534739237,29.774069463114266],[116.39484747356896,29.773963465152328],[116.39446547397753,29.774044463439957],[116.39436447369536,29.773818468069162],[116.39434547342894,29.77344347609551],[116.39383547379103,29.77347947561492],[116.39372947348582,29.773582473674953],[116.39337847385657,29.773660471861973],[116.39292647394501,29.773591473346247],[116.39277347378422,29.773389477173826],[116.39243647350045,29.773281480032608],[116.39204947388613,29.773437476815733],[116.39175147396034,29.77346147623845],[116.39162147336573,29.773421476675427],[116.39136547417121,29.772997486098618],[116.39067447388504,29.773096483824656],[116.39006247414022,29.77248649725515],[116.39003947367596,29.771903509571313],[116.3899504739876,29.771732513522846],[116.38953247351293,29.771598516236352],[116.38948947385528,29.771471519359537],[116.38961347370396,29.771196524865307],[116.38936147380896,29.77105552780549],[116.38893047381399,29.770651536519868],[116.38813747342056,29.770784533864322],[116.38770447377544,29.771153526246625],[116.38756647368315,29.77117652579612],[116.38724247381819,29.770956530391423],[116.38703947342866,29.77091053118439],[116.38699147374814,29.7707565344334],[116.38761547408717,29.770704535702055],[116.38745147405585,29.77020854630463],[116.38725347368913,29.77024354577773],[116.38688847381631,29.77012554794709],[116.38669047344972,29.76986255418734],[116.38650047347889,29.769898553435453],[116.3864964741792,29.770073549664332],[116.38634647349296,29.770297544827347],[116.3861404736287,29.770268544833517],[116.38598047379509,29.770409542219983],[116.38588247388581,29.77035654365647],[116.38600747355935,29.770123548640417],[116.38585047409892,29.770049550206256],[116.385618473397,29.77006554932343],[116.38565447338216,29.76977455570562],[116.38580047387033,29.769768556214665],[116.3857844739768,29.769659558632902],[116.3855324740818,29.76964155857645],[116.38547847365533,29.769195568815103],[116.38529547335726,29.769153569784745],[116.38509047421628,29.768953574125717],[116.38506447337878,29.768790577380567],[116.3852514738748,29.768833576227774],[116.38538247339609,29.768772577949658],[116.38531547344905,29.76847658379375],[116.38491247394154,29.767899596545746],[116.38487147393386,29.767567603635662],[116.38474147333922,29.767458605997845],[116.38468747381081,29.767538604411097],[116.38457347400806,29.76754060454566],[116.38447347355064,29.76745160668829],[116.38390547418652,29.76735860847307],[116.38418147347285,29.766962616901917],[116.38456547361233,29.767044615077893],[116.3845694738103,29.76696461704973],[116.38480047378903,29.76682961994074],[116.38479747341617,29.766342630397325],[116.38460447397065,29.766388629361288],[116.38431947356568,29.7656856442851],[116.38475447375889,29.765426650142377],[116.38484847347037,29.765131656719344],[116.38476547362976,29.76496766029035],[116.38430847369546,29.764677666384213],[116.38419947391563,29.76448767056759],[116.3841594737327,29.76437367337267],[116.38425447416726,29.76430467470006],[116.38407447334403,29.764066679522475],[116.38418347402238,29.763865684132092],[116.38396147336623,29.763776686128793],[116.38362547380582,29.76331369607601],[116.38345547392655,29.763269696698952],[116.38342247341652,29.762818706460244],[116.3832224734,29.76272370917327],[116.38303747345225,29.762479714211295],[116.38295647415994,29.761883727114096],[116.3830734734375,29.761881726866655],[116.38321647355254,29.762026724071564],[116.38357947377564,29.761945725423722],[116.38358947382153,29.761717730578827],[116.38345747357711,29.761627732490943],[116.38327547400225,29.76162673275371],[116.38304447402358,29.761757730134114],[116.38305947409225,29.7615707342309],[116.3834494740796,29.761385738237866],[116.38329247372083,29.761303739330234],[116.38337147336351,29.761285740113006],[116.38336947371377,29.76117974266265],[116.38356747408045,29.761185741889317],[116.38386547400613,29.761377737987512],[116.38418147347537,29.761195742420238],[116.38413147414506,29.76099274646319],[116.38466847354717,29.76085174986112],[116.38463447411041,29.76068475342751],[116.38427347353712,29.760685753172172],[116.38412347374937,29.760525756254445],[116.38425147379596,29.760349760754668],[116.38477047365474,29.76019876340031],[116.38480247344171,29.760264762531012],[116.38509547334468,29.760238762785203],[116.3851084737634,29.760353760534773],[116.38522247356617,29.76040175940759],[116.38546947343848,29.760197763651906],[116.38572047350844,29.760475757950914],[116.38658547387206,29.759955769068604],[116.38656847415373,29.759728774130235],[116.38670647334767,29.759663775183103],[116.38687447357715,29.759673775084547],[116.38685447348557,29.759871771043755],[116.38702947338767,29.760041767310252],[116.38690447371421,29.760083766260255],[116.38688747399571,29.760173764174702],[116.38701547404226,29.760190763841432],[116.38705247385208,29.760306761395924],[116.38721547405872,29.760255762447954],[116.38736647367134,29.76032276129121],[116.38741447335168,29.76092974783413],[116.38756347421297,29.760916748048327],[116.38804447353873,29.76032376104318],[116.38824247390542,29.760293761533013],[116.38844447357171,29.760403758916564],[116.38847647335854,29.760963746911095],[116.3885254737623,29.761016745764678],[116.38881847366524,29.76095174765355],[116.3888634738712,29.760664753841464],[116.38880947344478,29.760133764771762],[116.38858847351194,29.75990776998958],[116.38859747373287,29.759836771851706],[116.3889634734307,29.75971977399901],[116.38896347343086,29.759362781842167],[116.3892054741786,29.759068788264607],[116.38919047411008,29.75893879103062],[116.38916347344764,29.758860793077112],[116.38900947346181,29.758904792049556],[116.3888284737119,29.758849793329702],[116.38880747379555,29.75871779550053],[116.38915747360018,29.758118808550606],[116.38937947335798,29.75808880916024],[116.38953647371694,29.757845814385405],[116.38937147386054,29.757750817063087],[116.38922147407283,29.757508822025198],[116.38912247344027,29.7576318195594],[116.38895347338597,29.757412823824545],[116.38878947335445,29.75743582340915],[116.38865447363534,29.75732682566692],[116.38824347373152,29.757513821689876],[116.38823247386084,29.757683818056474],[116.38833147359497,29.757764816251733],[116.38841147396077,29.758097809442962],[116.38817747360899,29.758207806895967],[116.38817347341107,29.75810580917598],[116.38794247343256,29.757881814047348],[116.38803747386714,29.757780815770854],[116.38784747389657,29.757349825268957],[116.38783047417824,29.75703483269622],[116.38767647419252,29.75695883360658],[116.38747847382585,29.756969833559726],[116.38716047380866,29.75681483743015],[116.38706547337422,29.756470844647577],[116.38652447377422,29.756439844972913],[116.38624647393998,29.756312848375785],[116.38633047360557,29.75622185032307],[116.38631047351419,29.75601585427101],[116.38640547394877,29.755907857118462],[116.38630347384164,29.755760860048152],[116.38605047412159,29.755905856750026],[116.38596047371006,29.755673862236513],[116.38567947350276,29.755380868552262],[116.38543847347846,29.755363868849003],[116.38536147348545,29.755549864839235],[116.38562147377621,29.756063853659118],[116.38574847399752,29.75666784012576],[116.38569247392094,29.756832836665662],[116.3858274736401,29.756963834075485],[116.38621747362735,29.75705483223603],[116.38642547403974,29.757186829136806],[116.38638647368164,29.757259827152737],[116.38612947376369,29.7572798266524],[116.38603547405248,29.75714782987446],[116.38560847335701,29.75693083420766],[116.38534347394162,29.75654084303727],[116.38527847364448,29.756316847530766],[116.38530747395693,29.755980855282402],[116.38514147337743,29.755615863131506],[116.38533647337125,29.755170873126364],[116.38529347371362,29.755129873477927],[116.38496747419865,29.75528187047183],[116.38478047370263,29.75524087086827],[116.3846314737397,29.755291870028863],[116.3844854741498,29.755419867716718],[116.3841134737058,29.755464866437446],[116.38417247415536,29.755584863970704],[116.3843294736158,29.75566986226687],[116.38455947376953,29.755678861991317],[116.38460947399814,29.755880857220827],[116.38478447390018,29.756094852665395],[116.3847434738923,29.756202850396527],[116.38434247403433,29.756231849780505],[116.38415547353834,29.75617085084771],[116.3840294740399,29.756276848916716],[116.38377547359678,29.756192850925785],[116.3834284741656,29.75595285561091],[116.3832574735631,29.755953855403543],[116.38305147369873,29.756101852761258],[116.38295647416228,29.756593841881898],[116.38273647405424,29.756608841801583],[116.38279447378048,29.756901835014645],[116.3824004735953,29.756737838372157],[116.38199247406442,29.757217828562936],[116.38184847412444,29.757180828875445],[116.38174447346917,29.75692483471337],[116.38162447381886,29.756252849266865],[116.3813744735736,29.75630384791212],[116.38142747417531,29.756426845366057],[116.38140047351266,29.756840836485402],[116.38156247389426,29.757030832764567],[116.38160147335394,29.757206828634995],[116.38158247398557,29.757291827114678],[116.38128047386179,29.757486822206726],[116.38107247344924,29.757846814909776],[116.38103147344154,29.757367825169446],[116.38067947398743,29.757280827193046],[116.38032047396234,29.75706083168824],[116.38029647367294,29.756994832786894],[116.38068847420868,29.756336847203322],[116.38064347400294,29.75612785201325],[116.38028547380262,29.756144851584807],[116.38013647383984,29.75602085399192],[116.38004047358041,29.755852858291878],[116.38004847397656,29.755394868055774],[116.38023147337647,29.755121873488704],[116.38060347382044,29.755050875080915],[116.38087947400501,29.75479288054932],[116.38090947414233,29.75465888400372],[116.38083747417237,29.75451988668147],[116.3809444734042,29.754340890564666],[116.38115347364163,29.754276891832507],[116.38101947374746,29.753974898868474],[116.38109947411346,29.753776902957185],[116.38123847403065,29.753725903805574],[116.3814754738572,29.753437910539166],[116.38162647346992,29.75349290910936],[116.38168747356931,29.753403911253066],[116.38137747394813,29.75304091872046],[116.38146247343863,29.752886922579236],[116.38116347368808,29.752620927763715],[116.38115047416765,29.75243393196883],[116.38100447367948,29.752517929989086],[116.38069147368508,29.752535930000345],[116.38053247367645,29.75244393180903],[116.38043047356928,29.75222093633535],[116.37990247348992,29.75196994192631],[116.37964947376996,29.751991941367113],[116.37952347337331,29.751887943892385],[116.37967647353426,29.75165494882247],[116.37997047416053,29.751426953963175],[116.38007347409284,29.750956964105654],[116.37995047406925,29.750873966180094],[116.37980047338293,29.751429954257453],[116.37921547340184,29.751766946776613],[116.3791684735461,29.751929943139093],[116.37921247392684,29.75226793536929],[116.37878247375666,29.752192937174136],[116.3783204737993,29.752296935110188],[116.3782614733498,29.752206937140922],[116.37837647387593,29.751956942532164],[116.37802547334849,29.751718947663857],[116.37778047402433,29.751969941918826],[116.37727547351096,29.752152938473177],[116.377450473413,29.752354933790183],[116.37726247399013,29.75299591967559],[116.37711747422527,29.75276592509534],[116.37676147367482,29.75290092165447],[116.37662647395543,29.753296913427278],[116.3765234740232,29.75338791101598],[116.37619547396021,29.75346890956216],[116.376163474173,29.75376690323047],[116.3759084739049,29.753858900985968],[116.37561847347672,29.753817902359735],[116.37552647341546,29.753273913668245],[116.37528147409148,29.753127917235048],[116.3751234739077,29.75322191521831],[116.37485847359356,29.753849901095265],[116.37459147362988,29.753920899574254],[116.37445647391056,29.75420689339182],[116.3744264737732,29.754553886347093],[116.37434747413069,29.75421389362526],[116.37405247367975,29.753803902610613],[116.37380447398266,29.75385090168559],[116.37355647338723,29.754038896987982],[116.37340247340143,29.754035897550523],[116.37332847378165,29.75391089987481],[116.37353147417134,29.753668904924833],[116.37345747365329,29.753347912006554],[116.37301747343736,29.753217915149165],[116.37312847376569,29.752684926745783],[116.37283947406101,29.751904943380886],[116.37262947399886,29.75167194834922],[116.37257847394542,29.751345955299573],[116.37207547398025,29.751247957754174],[116.37164147361234,29.75062697087587],[116.37093347360799,29.750189980921927],[116.37097247396609,29.7500109848718],[116.37126547386906,29.749995984744857],[116.3711054740356,29.749760990245854],[116.37112847360204,29.74922600167867],[116.37135547338288,29.748878009134646],[116.37111947338143,29.748693013107268],[116.37102147347228,29.74835402065308],[116.37080947376035,29.748124025561165],[116.37083047367709,29.747258044370035],[116.37069047393513,29.747068048284547],[116.3700284739614,29.746863052800308],[116.37004347403006,29.746771054862922],[116.37024247422167,29.746741055195788],[116.37051347348506,29.74651406074708],[116.37068747356247,29.74610006909335],[116.37026747343816,29.745706078317927],[116.37052347353143,29.745094091325445],[116.37044047369089,29.744869096074048],[116.37038347378947,29.744874096372452],[116.37030647379645,29.7452420883382],[116.37009047388638,29.745252088117248],[116.36993247370268,29.745154090075758],[116.36967447396007,29.74470109962073],[116.36976947349642,29.744495104071937],[116.36960747401326,29.743922116448484],[116.36936847363874,29.743788119410077],[116.36881647416813,29.7438041188194],[116.3689794734765,29.743563124346935],[116.368683474099,29.743175132486837],[116.3687194740842,29.74265414439806],[116.36860447355835,29.742320151451064],[116.3685644733755,29.74202815766806],[116.36864047354355,29.741859161204047],[116.36856347355074,29.741732164074904],[116.36828747336627,29.741659165669894],[116.36798247376777,29.7417101647197],[116.36782547340886,29.741837161875928],[116.36787247416281,29.74197915864163],[116.3677884735989,29.74200915817401],[116.36762047336943,29.74202215807208],[116.36747647342943,29.741892160568884],[116.36750447391688,29.741788162757455],[116.36790747342474,29.741568167572986],[116.36784147420099,29.741212175446613],[116.36799847366163,29.741039179400044],[116.36799547418686,29.740953181235923],[116.3676504735071,29.740956181063066],[116.36756247364352,29.741073178198807],[116.36755447414568,29.741523168851494],[116.367317473421,29.741448170418803],[116.36708547361764,29.741106177824683],[116.36682847370012,29.740005201334984],[116.36689547364739,29.73979020591003],[116.36706147422711,29.739692207991666],[116.36756347346908,29.73962921000499],[116.36779347362275,29.739762207186125],[116.36787147344059,29.73967720866278],[116.36742347372713,29.739280216951943],[116.36755647379658,29.73917621955218],[116.36704247396086,29.738872226411416],[116.36694547387648,29.738976224126503],[116.36678347349476,29.73900322311022],[116.36652647357673,29.73927721707026],[116.36624747391751,29.739275217150276],[116.36618947419112,29.73943421370985],[116.3660194734136,29.739275217149462],[116.3661284740919,29.73901822254047],[116.3660064738935,29.738438235827374],[116.36631247421535,29.738065243216084],[116.36634247345434,29.737934246071298],[116.36627547350732,29.73766825214595],[116.36628747410141,29.737131263835057],[116.36706747407655,29.73580529286724],[116.36719747377296,29.73568229507435],[116.36758547411048,29.735606296960007],[116.36748747420124,29.73544430057855],[116.36687647338275,29.735366302283317],[116.3665194739057,29.73555629791814],[116.36615547385766,29.735549297940327],[116.36614247343877,29.735740294004497],[116.36600047404681,29.735911290625083],[116.36595447401515,29.73800424492878],[116.36554847413431,29.73809724307942]]]},properties:{name:"流泗镇","fill-opacity":0,"stroke-opacity":1,stroke:"#ff0000"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[116.31701947387978,29.691902243285995],[116.31700847400923,29.691700247215536],[116.31714547337826,29.691627249096417],[116.31774147412816,29.691631249274774],[116.31806747364313,29.691410253734805],[116.318334473607,29.690922264317592],[116.31839847407971,29.690298278093415],[116.31818347399444,29.69060927085464],[116.31805547394795,29.69059327154615],[116.31822847420038,29.690253279015266],[116.31801547376514,29.690229279186106],[116.31783747348997,29.69011028196748],[116.31810347362884,29.689830288417557],[116.31795247401632,29.689353298694023],[116.3177654735203,29.689352298236482],[116.31756747405181,29.68958829341684],[116.31748347348794,29.689484295251297],[116.31719347395813,29.689497294929307],[116.31723647361584,29.689370297873328],[116.31714547337938,29.689095303777513],[116.3174704739678,29.68886030868212],[116.31763947402206,29.689106303370266],[116.31775847384768,29.68915930273098],[116.31859347407381,29.689187302311062],[116.31859447389878,29.689053304765757],[116.3182224734551,29.688508316412808],[116.31798347397879,29.68859631440045],[116.31777947376439,29.688507316726312],[116.31778047358934,29.688380319199588],[116.3176194739309,29.68832032084011],[116.31761247425833,29.68804532699298],[116.3177654735209,29.688046326683054],[116.31790847363585,29.68836631969018],[116.31794247397106,29.688307321010008],[116.31830047417128,29.688325320837205],[116.31836047354736,29.688407318529457],[116.3184114736011,29.688296321333212],[116.3182984736234,29.687747333227758],[116.31790447343808,29.687966328077653],[116.31768147385543,29.68769833423384],[116.31758547359621,29.6872493438733],[116.31768147385597,29.68651735976589],[116.31734347374748,29.685802375573964],[116.31687047391985,29.68514738970588],[116.31646347421452,29.684317406981698],[116.31639147424448,29.684277408543593],[116.31582647345668,29.68438940600039],[116.31582747417977,29.68472139873761],[116.3157244742476,29.68475139821503],[116.31555047417042,29.684583401804094],[116.31543947384257,29.68420440971133],[116.31519647416835,29.684089412078507],[116.31573147392065,29.683934415742605],[116.31586847418797,29.684008413717375],[116.31600247408227,29.68394241514749],[116.31618647420538,29.683697420821236],[116.31625547380234,29.683738420002935],[116.31617747398447,29.683913415940022],[116.31623147351279,29.683944415389433],[116.31630747368077,29.683891416401007],[116.31669947421614,29.683994414381903],[116.3168574735016,29.683855417500993],[116.3166454737897,29.683553424079324],[116.31642547368176,29.68339242771905],[116.31594847365581,29.683458425868398],[116.31562847398875,29.683307429064048],[116.31570347343337,29.68359642278376],[116.31546647360693,29.68367842121146],[116.31525147352197,29.68324443080492],[116.31496147399226,29.682981436337332],[116.31488947402227,29.682818439578384],[116.31525547372009,29.682814439833074],[116.31566547379879,29.683169432531663],[116.31578747399747,29.683173432264564],[116.31563247418688,29.6829794360794],[116.31558847380603,29.682769440527522],[116.31586747346535,29.682672442873606],[116.31612847358107,29.682966436339537],[116.31582347398256,29.68300743581804],[116.31582647345722,29.683080433955418],[116.3159094741962,29.683158432291762],[116.31618047345945,29.68317643226035],[116.3164034739406,29.683011435558978],[116.31629947418377,29.682539445753306],[116.31635647408517,29.682519446182884],[116.31656847379709,29.682873438620696],[116.31687747359354,29.682875438884178],[116.31639347389519,29.682257451908036],[116.31650047402533,29.682251451864662],[116.31657247399531,29.682358449728895],[116.31650047402539,29.68217245385734],[116.3165104740712,29.681886459979058],[116.31642647350738,29.681805461400927],[116.31623647353659,29.681798461577944],[116.3161274737568,29.681568466920595],[116.31592347354264,29.680666486568736],[116.31583947387713,29.680615487719717],[116.31588847338278,29.680253495439093],[116.31603347404604,29.680234495961788],[116.31623547371214,29.68073548501687],[116.31634347366722,29.680632486820265],[116.3162264734915,29.68040249183664],[116.31624647358302,29.680216496248615],[116.3164474734243,29.68053048906289],[116.31656547342507,29.68053148960807],[116.3166584742099,29.6803584927786],[116.31654747388201,29.679830504122847],[116.3166994742182,29.679276516161455],[116.31664547379177,29.678824526299582],[116.31669447419551,29.678794526614084],[116.31737147423789,29.67913151955293],[116.31736247401714,29.678822525959095],[116.3169714742053,29.67799154429433],[116.31704447400031,29.677868546692775],[116.31704647365022,29.677639551423102],[116.31733247388021,29.67816054058374],[116.31743147361438,29.678180540241495],[116.31730347356809,29.67783754771218],[116.3174804740184,29.67774154977402],[116.31760147349385,29.677809548096278],[116.31778147341889,29.677711550546743],[116.31772847371568,29.677255559925186],[116.31714247391024,29.67632557987047],[116.31692047415234,29.676474576623917],[116.31675347374785,29.676376579332977],[116.31668247360287,29.676076585695924],[116.31659947376225,29.676029586876844],[116.3165224737693,29.676035586511077],[116.3164414735784,29.676217582800273],[116.31641647346387,29.676590574183383],[116.31680647345097,29.677038564747384],[116.3168434741592,29.677111563316753],[116.31675947359525,29.677187561225338],[116.31643347408045,29.67693956664448],[116.31632047410277,29.67660657415907],[116.31601047358295,29.676833569056402],[116.31563647348919,29.67685056879335],[116.31527547381465,29.675892589525525],[116.31492447418539,29.67593358876691],[116.31485447386534,29.675610595765498],[116.31462647425973,29.67560759554455],[116.31457247383331,29.67510860632969],[116.3146424741535,29.67508260715091],[116.31452447415279,29.674962609351613],[116.31408947395967,29.674962609350082],[116.31403747408122,29.674802613102592],[116.31399047422548,29.67497560934587],[116.31371547386588,29.67500360897055],[116.31374447417838,29.674654616033944],[116.31356847355289,29.674819612402118],[116.31356747372791,29.674955609829915],[116.31340647406947,29.67501460854151],[116.31325947375647,29.674793613147287],[116.31325447373375,29.674464620658764],[116.3131224734895,29.673922632310624],[116.31297947427262,29.67411462836389],[116.31253947405654,29.674330622996774],[116.31245047346992,29.673997630456764],[116.31211647355926,29.67368263770008],[116.31147947369976,29.673757636025233],[116.31120247369047,29.67345664254427],[116.31083747381753,29.67351664118816],[116.31068047345867,29.673631638425736],[116.31059447414323,29.673840633720914],[116.31080647385514,29.67409462867056],[116.31080547403019,29.674210625855338],[116.31046147407356,29.674404621788895],[116.31018047386628,29.67422662542746],[116.31006747388848,29.67401263022741],[116.31000447413949,29.673633638089115],[116.30992547359845,29.67359263946948],[116.30988147411577,29.673822634420794],[116.30981347344537,29.67385463369001],[116.30969247396997,29.67369463724037],[116.30959247351251,29.673759635681858],[116.3095754737942,29.673417642736545],[116.30947347368705,29.673266646462185],[116.3090634736083,29.67316164874228],[116.30843347342154,29.673140649027122],[116.30786247368398,29.673900632907895],[116.30768747378161,29.674345622709115],[116.30769047415457,29.67467561618992],[116.30760247339263,29.67478261353115],[116.30692847372335,29.67463461643173],[116.30679447382897,29.674884611653958],[116.30662747342433,29.67499060895309],[116.30622547374179,29.67428762420618],[116.30613447350525,29.674278624207137],[116.30606047388528,29.67446562045808],[116.30632547419894,29.67498560907459],[116.30643947400166,29.675022608630737],[116.30661547372867,29.67523660402305],[116.30665147371354,29.67542759931397],[116.30642247338471,29.67556059647765],[116.30631547415251,29.676430578149485],[116.30589047400514,29.676499576380326],[116.30554547422372,29.67632957983447],[116.30565047380544,29.676936567206535],[116.30596047342675,29.677002565694607],[116.30637147422884,29.67688656782975],[116.30641847408424,29.677407556989028],[116.30648647385628,29.677479555495992],[116.30628047399192,29.67760555217264],[116.30583747340286,29.67761455265238],[116.30549747364469,29.676693572580483],[116.30528247355954,29.67672357133128],[116.30521647343717,29.677065563959097],[116.30547147370524,29.677170561504344],[116.30549247362151,29.67744255606031],[116.30574747388931,29.678163540686988],[116.30545847418416,29.678483533156246],[116.30476347369992,29.67886052540041],[116.30457947357684,29.679077520544332],[116.30433747372749,29.67911651971118],[116.30433147387961,29.67934251462985],[116.30449447408616,29.67952351062272],[116.30445247425334,29.67965450828621],[116.30384647345764,29.679812505072345],[116.30346047366834,29.67960750879504],[116.30285747414406,29.679659507925937],[116.30277247375538,29.679347515065626],[116.30266847399835,29.67929151588412],[116.30227147344003,29.67934051507039],[116.30217347353066,29.679586509643382],[116.30180947348268,29.67945251256483],[116.30170047370285,29.67924951666947],[116.30145047345765,29.67908052064999],[116.30127947375365,29.678773527242853],[116.30067447368104,29.67920651765962],[116.30062647400032,29.679540510673007],[116.30078547400895,29.679608509339563],[116.30100547411693,29.67954651009941],[116.30114847423214,29.679340515066414],[116.30153947404435,29.679494511690304],[116.30166147424293,29.679682507379603],[116.30176547399998,29.679679507281286],[116.30202447356763,29.679883502860154],[116.3018964735211,29.679950501523646],[116.30173047383964,29.68021549564964],[116.3015904740976,29.680190496777954],[116.30127447373017,29.680089498339328],[116.30081447342269,29.68013349751493],[116.30051947386994,29.6800804988573],[116.3002384736627,29.67992350225964],[116.30007847382946,29.679196518321586],[116.29993447388955,29.678927523948687],[116.29988447366115,29.678291537620566],[116.29968447364466,29.678166540029082],[116.29966347372842,29.67784254738574],[116.29954147352974,29.67777054913854],[116.29922447423567,29.677672550768836],[116.29844347353782,29.67781454776591],[116.29838447398666,29.67770255000585],[116.29818647362,29.677645551675738],[116.29807147399227,29.677748549030127],[116.29784447421159,29.67767955087361],[116.29758347409562,29.677808548234484],[116.29746847356964,29.677783548764314],[116.29756447382934,29.677160561938056],[116.29750647410316,29.6769375669779],[116.29733947369868,29.676772570181537],[116.2970744733848,29.676786570524737],[116.29668347357241,29.677345557917473],[116.29698147349805,29.677598552805573],[116.2969354734673,29.677698550050614],[116.29656247409672,29.677735549387197],[116.29637247412597,29.67764755125522],[116.29642047380668,29.677349557880753],[116.29530747374633,29.677143562244265],[116.29520747418711,29.677387557138427],[116.29463047370383,29.677297559107675],[116.29435847371741,29.677017564984617],[116.29398647417186,29.67692856720399],[116.29339247396999,29.677103563286718],[116.29302447372409,29.676928567200594],[116.2928484739969,29.677099563310772],[116.2927274736232,29.676993565892385],[116.29242347384962,29.67693756696001],[116.29222447365792,29.677122562571576],[116.29204147425818,29.677134562489748],[116.29174047395944,29.676827569384027],[116.29145847392714,29.676951566497205],[116.29137347353823,29.677169561657028],[116.29130447394125,29.677162562292104],[116.29113947408497,29.67690256770509],[116.29136047401796,29.67669857232324],[116.29139247380508,29.67655257531266],[116.29133247353069,29.676453577512802],[116.2910524740466,29.676312580737584],[116.29061347365543,29.676525575919708],[116.29065247401354,29.676393578276237],[116.29054047386067,29.67611658496336],[116.29033847419437,29.676026586576764],[116.29003247387256,29.67622358233069],[116.2897684733838,29.675923589016964],[116.28955347419696,29.675944588147967],[116.28952747425768,29.676043586448625],[116.28929047353284,29.676156583521937],[116.28910147338699,29.67614458426624],[116.28896247346985,29.67604458625553],[116.28867047339183,29.676152583508106],[116.28835247427301,29.675941588714043],[116.28757747342262,29.676702572299924],[116.28710647414266,29.677052564169465],[116.28677547370656,29.677160561900095],[116.28617347400723,29.677057563940846],[116.28575647425582,29.676888568138654],[116.28545247358393,29.67694256671587],[116.28494747396901,29.67676257055996],[116.2847314740589,29.67682656955824],[116.28470147392163,29.676935566552306],[116.28509947340636,29.677324558257048],[116.28518147342197,29.677637551724892],[116.28515847385563,29.677951544788435],[116.28490447341245,29.677967544547],[116.28404247342225,29.67764855178529],[116.28355647407382,29.67764555162427],[116.2827694735279,29.67848753299537],[116.28227947398113,29.67922051760009],[116.28164047357326,29.67993550177869],[116.28096047405579,29.680545488522988],[116.28076847353678,29.68083948274473],[116.28077847358179,29.68247844715949],[116.2806054742278,29.682532445856488],[116.28072847425139,29.682657443482373],[116.28069147354304,29.68285343899023],[116.27970847407708,29.6831804318642],[116.27945247398391,29.683534424313915],[116.27939047405944,29.684015414037926],[116.27922747385269,29.684312407436973],[116.27843447345909,29.684832395848588],[116.27738847424388,29.68529338580209],[116.27584447418782,29.686319364037583],[116.27364447400595,29.686754354127913],[116.27319147426934,29.687109346955673],[116.27310147385737,29.687660334810637],[116.2733304741859,29.688466317773003],[116.27385447406704,29.689446296506702],[116.27425747357455,29.68996928468546],[116.27493847381469,29.690566271873443],[116.27644747371008,29.69093326434161],[116.2764964741139,29.690945263392223],[116.27605747372273,29.691146259759343],[116.27626947343457,29.691616249637526],[116.27668147406136,29.69188224387574],[116.277593473382,29.692044240334926],[116.27807147413131,29.691649248365753],[116.27859047399006,29.6915662505448],[116.27867147418094,29.69148625240012],[116.27868547352644,29.691190258788048],[116.27923647407023,29.691869243733915],[116.27913047376495,29.691949242353925],[116.27892147352762,29.691926242580795],[116.27825847372876,29.69223423604065],[116.27819647380447,29.692344233142276],[116.27825647407887,29.692532229769146],[116.27809447369704,29.69269022582305],[116.2775634741428,29.692783223822264],[116.27696447391817,29.69276922414337],[116.2769994740781,29.693070217545113],[116.27675647350544,29.693367211497986],[116.27608747385872,29.693885199837396],[116.27585647387994,29.694158194051965],[116.27545347347376,29.69446518728832],[116.27534747406676,29.694652183443768],[116.27552647416677,29.694909177735376],[116.27573547350553,29.695574163234085],[116.27789047348124,29.69588315683836],[116.2780324737713,29.696160151083788],[116.27878347343345,29.69648814397154],[116.2785174741929,29.696680139841845],[116.27823247378757,29.696759138149268],[116.27800447418181,29.69703413233867],[116.27781947423395,29.69703313195755],[116.27742747369868,29.696600141082733],[116.27679247348908,29.696552142108846],[116.27600847421468,29.69689413515643],[116.27531347373038,29.697466122516687],[116.2748424735521,29.69771311757635],[116.2741134736311,29.697870113692524],[116.27381047368237,29.69801311061871],[116.2729164739047,29.698677096272604],[116.27153947425354,29.698846092888477],[116.27096047412043,29.698719095161586],[116.27052747357708,29.698937090707382],[116.27044547356124,29.69904908821405],[116.27044347391129,29.69938008132168],[116.27090347421857,29.69985707104493],[116.27072047392028,29.70030806116509],[116.27047947389589,29.700382059566177],[116.27043547351488,29.700484057463676],[116.27061447361496,29.700603054880663],[116.27073347344036,29.70106704451641],[116.27049847416205,29.70122704109039],[116.27031747351366,29.701522035228024],[116.2702064740839,29.701570034165446],[116.2697934736321,29.701487035953715],[116.26967647345631,29.70139403742586],[116.26949447388168,29.70092504759211],[116.26950147355443,29.700743051564974],[116.26918847356015,29.70054205566689],[116.26910547371956,29.700267061715525],[116.2686794737474,29.699965068454315],[116.26873747347382,29.69979107195162],[116.26819847352388,29.699239083928195],[116.26768547351301,29.69903708856103],[116.26728547347993,29.699159085646833],[116.26676647362096,29.69985407075362],[116.265991473669,29.700397059293575],[116.26524747367932,29.700567055704166],[116.26501747352555,29.700715052071086],[116.26495847397423,29.70101404595494],[116.26424847342169,29.7005110566386],[116.26422047383272,29.700337060300996],[116.26359847404215,29.699610076547415],[116.26302747340667,29.699532077713283],[116.26294147409119,29.69968107439904],[116.2630484742209,29.700604054418662],[116.26353247391945,29.70070605209265],[116.26373047338767,29.701057044990026],[116.26393147412746,29.7009330471845],[116.2642454739468,29.70091004790925],[116.26455847394115,29.700987046111777],[116.26472647417046,29.701461035777307],[116.26489647404965,29.701662032176824],[116.26544047402275,29.70151603475679],[116.26575447384207,29.70156803347921],[116.26592347389627,29.701917026602263],[116.26586147397174,29.702490013780384],[116.26591847387311,29.702566012006013],[116.26620447410332,29.70256701233231],[116.26680047395472,29.703020002633643],[116.26674247422838,29.703168998827376],[116.26707947361355,29.70394398271465],[116.2673074741174,29.704069979766142],[116.26392547337754,29.709657858410157],[116.27106847406976,29.71178081262989],[116.27276247391374,29.710559839144036],[116.27352747381941,29.711161826101442],[116.2726814737223,29.71193580970681],[116.27159947362352,29.712953787163997],[116.27095147389319,29.713387777969107],[116.2697914739769,29.713892767186458],[116.27001947358245,29.713923765968577],[116.27006247413836,29.71419376048635],[116.26992247349781,29.714541753215475],[116.26944447364697,29.71461775090058],[116.26941847370762,29.71468575001389],[116.26965047351104,29.715119740356613],[116.26962547339662,29.715360735285163],[116.26980147402182,29.71564372925572],[116.26985147425044,29.71589072408241],[116.27014047395544,29.71586572394616],[116.27029347411634,29.715718727475995],[116.27054247363833,29.71574572647859],[116.27033347340083,29.716116718988673],[116.27013347338428,29.716132718131558],[116.26981847373966,29.71702869886863],[116.27052447409382,29.718365670191222],[116.27019747385562,29.718534666444818],[116.26997247372478,29.718529666392737],[116.27089147361598,29.71973764003254],[116.27097547417975,29.720003634689853],[116.27105247417265,29.72007463294833],[116.27121847385366,29.720680619598514],[116.27120347378494,29.72102161225397],[116.27131047391495,29.721198609056025],[116.27155947343691,29.72127060738891],[116.27180547348406,29.721542601142485],[116.27199547345482,29.721620599261517],[116.27279647424406,29.721573600685474],[116.27322747423904,29.72208258981848],[116.27336847380586,29.722442581692324],[116.27370147389165,29.72264457756481],[116.27405947409187,29.722622577927332],[116.27439647347718,29.723084567769305],[116.27472147406543,29.723303562809413],[116.27469947342557,29.723803552285027],[116.27413847373407,29.72391354991425],[116.2738914738619,29.723836551350146],[116.27381247421913,29.72400954820112],[116.27385547387676,29.724127544931033],[116.2743484737961,29.724390539333008],[116.27475047347897,29.724367539970267],[116.27500547374699,29.724570535974596],[116.27507447424206,29.725011526415592],[116.27474847382882,29.725119524080416],[116.27469947342493,29.72529152018103],[116.27499647352582,29.725331519450705],[116.27532347376379,29.725581514129626],[116.27544547396253,29.72556751434473],[116.27567047409381,29.724619534923782],[116.27571947359928,29.724613535070134],[116.27651647419064,29.72458953565397],[116.27706047416355,29.724927527984107],[116.27712247408772,29.725052525124237],[116.2771264733871,29.725639512668707],[116.27688447353758,29.726186500987083],[116.27694347398703,29.726397496354945],[116.27719647370688,29.726710489058807],[116.27711747406403,29.726978483340687],[116.27569247383396,29.727211478795883],[116.27550547423616,29.727449473321496],[116.27512047337342,29.72747847244087],[116.27496547356262,29.7276124694254],[116.27506647384489,29.727881463712194],[116.27533447363341,29.727966462091295],[116.27550347368766,29.728227456432453],[116.27546147385482,29.728382453069827],[116.27528347357955,29.728564448921016],[116.27511247387532,29.72851245013932],[116.27505847344858,29.728754444957627],[116.27541147362578,29.729106437373012],[116.27544447413591,29.729386431414454],[116.27581547385658,29.729599426406992],[116.27596347399447,29.729818422049682],[116.27588147397864,29.729990417896246],[116.27571747394713,29.729975418673266],[116.27554847389285,29.72980342202],[116.27526947423354,29.72999541815447],[116.2754874737929,29.7310613954276],[116.27565447419738,29.731228391285683],[116.27633447371441,29.73155838436345],[116.27631747399593,29.731659381755282],[116.27592247398567,29.731878377579775],[116.27544047393683,29.73203337403573],[116.27528147392798,29.73250236363953],[116.27485347340749,29.732568362281874],[116.2741604734717,29.73228436842106],[116.27409747372253,29.732201370640727],[116.27394547338658,29.732315367761533],[116.27383147358368,29.732551362608085],[116.27385147367502,29.732747358263538],[116.27375547341552,29.73292535468619],[116.27350847354325,29.73312735051514],[116.2734464736189,29.733289346737614],[116.273584473711,29.733705337486693],[116.27341047363366,29.73374133724188],[116.27337047345074,29.733813335154533],[116.2735664741674,29.73419932733132],[116.27366447407647,29.73474931502012],[116.27382947393272,29.735126306707564],[116.27383647360536,29.735229304407135],[116.27372247380248,29.7353213027927],[116.27349747367154,29.735424300291275],[116.2732774735636,29.735398301121048],[116.27301847399612,29.734700316337758],[116.27284247337084,29.734584318793324],[116.27293747380548,29.734355323329414],[116.27282147345463,29.734124328880267],[116.27260347389485,29.733983331925494],[116.27249347339165,29.73409632935042],[116.27239347383234,29.734558319404567],[116.27222747415082,29.734907311726257],[116.27194347357043,29.734964310324646],[116.27180047345522,29.735170305950263],[116.27154147388741,29.735349301971848],[116.27192247365376,29.735557297581902],[116.27200947369228,29.73575429359918],[116.27186647357716,29.735867290589006],[116.27183447379002,29.736070286726218],[116.27155847360552,29.736099285694134],[116.27151047392476,29.736519276437868],[116.27140047342152,29.736726271975172],[116.27080447356988,29.73675727150162],[116.27066147345481,29.73670627305164],[116.27065047358445,29.7360912857611],[116.27028747336132,29.735999288080052],[116.27008547369489,29.736297281410813],[116.27002447359519,29.737135263419923],[116.27014847344354,29.737460256676478],[116.27012547387719,29.73783624834033],[116.27005247408223,29.73788124715462],[116.26978647394317,29.73870022985084],[116.26958947340141,29.738555232441698],[116.2690524739994,29.738526233400954],[116.26898147385424,29.73873022880152],[116.26919547411426,29.739126220387593],[116.26901847366396,29.739094220849275],[116.2689104737089,29.739236217598396],[116.26862147400381,29.739385214635107],[116.26929847404604,29.739937202655454],[116.26943447359014,29.73992920303214],[116.26956547400957,29.740154197667987],[116.26978947341719,29.74017119761044],[116.26986347393533,29.740244196317875],[116.2694794737957,29.74053219004603],[116.26879347353228,29.740849182881536],[116.26863047422398,29.74105017841116],[116.26741847353135,29.740240195729683],[116.2673914737668,29.740996179973184],[116.26700947417557,29.740856182481863],[116.2663354736074,29.741866161160182],[116.26599847422177,29.742071156717472],[116.26574247412864,29.742345150095247],[116.26566247376249,29.74282214001574],[116.26555047360945,29.742878138872896],[116.26531347378287,29.743338129195518],[116.26508047415427,29.74360912326242],[116.26492547344522,29.74372612042252],[116.26460247340516,29.743599123317093],[116.26442647367807,29.743663121846605],[116.2644044739367,29.743742119841837],[116.26458647351147,29.743963115631512],[116.26435547353283,29.743962115717885],[116.26439047369298,29.743778119114907],[116.26431547424826,29.743738120181455],[116.26373647411506,29.743858117711103],[116.26356147421292,29.74380111870585],[116.26362947398503,29.743612123006205],[116.2640784735237,29.743275130373256],[116.26428347356328,29.742800140896822],[116.26415647424008,29.742671143547927],[116.2636984735824,29.742797140341587],[116.26329047405177,29.742697143168964],[116.26281447385067,29.74291013797354],[116.2627244734389,29.74309213398623],[116.26238047348235,29.74314113324515],[116.26211447424205,29.74290113866106],[116.26177847378307,29.743027135946136],[116.2615454741548,29.74252714633889],[116.26128747351378,29.74227215212176],[116.26073947424108,29.74233115107175],[116.2603454740556,29.742730142251695],[116.2600894739622,29.74366612157868],[116.25993647380125,29.743892117102217],[116.25978347364021,29.74433610734962],[116.25988747339714,29.744582101838258],[116.2596924734034,29.74486609597304],[116.25961347376051,29.7452590870278],[116.25910747342175,29.746484060610346],[116.2590514742434,29.746817053841642],[116.26007347406703,29.747382041493832],[116.26086547373744,29.746847052713147],[116.26148047385564,29.74671405557234],[116.26169647376577,29.746501060267907],[116.26351747383097,29.746102069279136],[116.26375647420583,29.745507082180776],[116.26414747401817,29.74510809035124],[116.26427047404181,29.745127090035847],[116.26469347364068,29.745931072879202],[116.26415647423832,29.746721055558908],[116.26338247411117,29.74751203813013],[116.26254747388498,29.747662035223065],[116.262361474112,29.747901030235468],[116.26223247424059,29.7479430288136],[116.2619574738811,29.747856031236154],[116.26193247376668,29.747942028939445],[116.26205847416318,29.748319020948934],[116.26280047360468,29.748216023436868],[116.26294147406989,29.748292021356303],[116.2631434737359,29.749098004279908],[116.26303047375787,29.74948199562558],[116.26314547338553,29.749560993716006],[116.26328547402596,29.749484995979632],[116.26329447424682,29.74933099905464],[116.26364447405147,29.748659013392704],[116.26371547419674,29.748260022406495],[116.26404147371169,29.74799302792184],[116.26459047370771,29.74781003157295],[116.26486547406726,29.7478210317518],[116.26507747377931,29.74797302813176],[116.26513647422864,29.748484017204675],[116.26536347400926,29.748550016251354],[116.2657394737529,29.748520016337206],[116.26588947354078,29.748373020132107],[116.26611847386991,29.74759003712556],[116.266295473422,29.74740804069813],[116.26698047386047,29.747116046915316],[116.26729047348184,29.747067048038843],[116.26826947364786,29.747455039660053],[116.26874347419886,29.7478230315141],[116.2687984735521,29.74791702979295],[116.26874947404652,29.748029027245185],[116.26702147386769,29.74868201343864],[116.26675847410188,29.74886600884072],[116.26607447348846,29.748888008961256],[116.26558447394197,29.74904500537144],[116.26496747417364,29.74984898798955],[116.26475147336517,29.750226979696315],[116.26476547360878,29.750344976782813],[116.2656824738506,29.75060397169512],[116.26663547407725,29.751141959454664],[116.26779147379531,29.751366954670594],[116.26859447423432,29.751647948798905],[116.26892947396988,29.751994941255486],[116.26905247399337,29.75232893394947],[116.2697964739828,29.752630927195522],[116.26963747397383,29.753356911573295],[116.26983247396727,29.75382490146859],[116.2706494737517,29.75408889580689],[116.27133247364186,29.75411189537741],[116.27174247371997,29.755623862664386],[116.27159147410713,29.755857857661052],[116.27120647414282,29.755713860683002],[116.27040147405391,29.75561586272777],[116.27016547405238,29.75565586160035],[116.26927147337645,29.756128851412836],[116.26888747413528,29.756046853661807],[116.26853347413319,29.75566986185941],[116.26791147344399,29.755739860032524],[116.26779047396856,29.75562286285405],[116.26786747396159,29.755387867509683],[116.26783547417453,29.755272870300452],[116.26732447381346,29.75517987247947],[116.26706147404803,29.754612884712675],[116.26694647352235,29.753767902661156],[116.26664047409912,29.753370911368847],[116.26624647391392,29.75330791261472],[116.26562147375002,29.753338911694232],[116.26563547399367,29.753470909588927],[116.26635947389153,29.754023897085613],[116.2665264733976,29.7543938893986],[116.26653947381627,29.754618884329965],[116.2664724738691,29.754733881509342],[116.26587247381953,29.75476888092785],[116.2648144740108,29.75438688917125],[116.26432147409153,29.753966898394246],[116.26374247395856,29.75366190504645],[116.26338547358344,29.753213914701462],[116.26327547397815,29.754062895991606],[116.2636344740032,29.754392889579663],[116.26366147376727,29.754636883954884],[116.2642404739003,29.75493987706889],[116.26436047355075,29.755225871099228],[116.26463347336222,29.75510887332212],[116.2651444737232,29.755403867399693],[116.26538747339721,29.75594385549661],[116.26527847361716,29.756124851453034],[116.26547747380876,29.75615785080628],[116.26560147365727,29.756347846820496],[116.26551147414376,29.75659584104227],[116.26579947402367,29.75697083291458],[116.26604547407092,29.75697883273925],[116.26644847357845,29.757506822037758],[116.26643947335748,29.75772881689311],[116.26624647391186,29.757952812362234],[116.2656624737557,29.75831580425867],[116.26558647358756,29.758713795224526],[116.2653454735631,29.75895379016434],[116.26550047337356,29.759352781475823],[116.26529647405735,29.7594887790593],[116.26484147377278,29.75940778069653],[116.2642944734266,29.759629775238057],[116.26410747382891,29.75960577639901],[116.26388447334791,29.7594467798545],[116.26336147418995,29.75856879867724],[116.26330847358854,29.757773816127074],[116.2633624740154,29.75732682522605],[116.26312447346575,29.75732882556401],[116.26285547385218,29.757442822974305],[116.26228147374192,29.75746182265824],[116.2621264739312,29.757582819916223],[116.26209247359591,29.757739816747115],[116.26288947418723,29.757805815160513],[116.26306047389126,29.758165807498862],[116.26305447404336,29.758479800647947],[116.26301347403522,29.759036788409123],[116.26286947409518,29.7591897854779],[116.26226947404561,29.759205784768394],[116.26210647383888,29.75938478077448],[116.26213847362591,29.759478779128873],[116.26271147391122,29.75958477682093],[116.26308347345693,29.759477778594334],[116.26343247343631,29.75953477804471],[116.26367647383354,29.76000576720482],[116.26421947398164,29.760169763958757],[116.2642694742102,29.760372759243563],[116.26420947393575,29.76047875754737],[116.26396547353825,29.760592754493853],[116.2630834734565,29.760474756991478],[116.26271647393364,29.76070175257809],[116.26257347381855,29.760655753341418],[116.26233247379429,29.760369759209535],[116.26223247423518,29.760365759432712],[116.26225047377827,29.76090174833175],[116.26210047399042,29.761010745303913],[116.26181347393528,29.76100574580924],[116.26108347418949,29.760789750441926],[116.2609224736326,29.761091743924883],[116.26197447359345,29.761599733196547],[116.26225247342772,29.761825728061964],[116.26193247376038,29.762343716361293],[116.26216447356376,29.762775707724483],[116.26233647399093,29.763317695307972],[116.26233247379271,29.76396668130571],[116.26246447403712,29.764097678747383],[116.26288947418442,29.764267674863333],[116.26310047407148,29.76452566917759],[116.26343047378425,29.764668666263674],[116.26364447404448,29.764682666049843],[116.26454347384475,29.764527669377795],[116.26491047336745,29.76458766819596],[116.2656044740267,29.7645126698666],[116.26760147381863,29.764869661617684],[116.26849747414425,29.76465766639302],[116.26888447375875,29.764101678397385],[116.26866247400132,29.76315069910756],[116.26866347382669,29.76208672242344],[116.26861347359814,29.761741730066475],[116.26857047394054,29.761452735920773],[116.26852747338467,29.761238741000373],[116.26783847364753,29.75917978554623],[116.26788147420415,29.75780181529927],[116.26904047339711,29.75767081820949],[116.26998447340308,29.75791381263264],[116.27348047394388,29.756629840834144],[116.27503347422032,29.75666984008821],[116.27617747424237,29.757900813256754],[116.27744847358785,29.75877879405028],[116.27888847388692,29.757733816594076],[116.27974247348169,29.75691483417933],[116.28042247389742,29.75629784803867],[116.28110847416093,29.75570186083048],[116.28177447343464,29.755124873326558],[116.28205247416739,29.75482687979718],[116.28222247404663,29.75500287641893],[116.28531747382968,29.7570298318636],[116.28680847418146,29.757913812691815],[116.28702847339129,29.757648818517865],[116.28721647371232,29.757420823255057],[116.28736647350017,29.75727582640504],[116.2875224740342,29.757112830158135],[116.28793447376295,29.75665683979464],[116.28834747421503,29.75617685081631],[116.28850347385064,29.75596185497504],[116.2887734741875,29.75571186037377],[116.28896647363294,29.755813858191285],[116.28918147371799,29.755957855025024],[116.28978047394263,29.75599585417856],[116.28989847394344,29.7558688570202],[116.29020847356482,29.75580485848425],[116.29063547336219,29.755447866420365],[116.29088947380527,29.755715860343454],[116.29095947412536,29.75595285528553],[116.29108047360079,29.756086852441292],[116.29135847343505,29.756251849159053],[116.29149447387732,29.75647884417501],[116.29168147347505,29.756537842565773],[116.29171147361227,29.756621841046616],[116.29181847374232,29.756617841120974],[116.29171247343687,29.757178828996366],[116.29220747390431,29.75757182013555],[116.29258447347284,29.757436823628872],[116.29345747423216,29.757473822444556],[116.29353747369981,29.75738182410739],[116.2942974735828,29.75756382036648],[116.29473947344867,29.757460822994254],[116.29488747358673,29.757156829144552],[116.29483447388351,29.756784837323803],[116.2959464741194,29.755990854456424],[116.29604847422675,29.755832858210994],[116.29607147379306,29.755553864493717],[116.29701847417219,29.755556863888565],[116.2971344736247,29.755698860719836],[116.29712747395196,29.75590185648249],[116.29739747339035,29.755876856958377],[116.29743647374836,29.755988854875937],[116.29762147369621,29.756099852097368],[116.29791647414724,29.7561688509622],[116.29816547366929,29.756068853091577],[116.2983054734115,29.755706860649305],[116.29842247358738,29.75563686245134],[116.29917647362265,29.75577485921186],[116.29942047402014,29.755696861136407],[116.29945647400517,29.75555086433416],[116.29933047360852,29.75550086510214],[116.29904047407864,29.755565863629368],[116.2989594738878,29.75552086495245],[116.29895047366708,29.75538586802133],[116.29945847365519,29.755179872592553],[116.29952647342719,29.755142872933277],[116.29935147352525,29.75471888220384],[116.29875947387214,29.75360090623321],[116.29877247339276,29.753246914357117],[116.2986714740088,29.753151916575266],[116.29843347345916,29.753101917705923],[116.29804647384522,29.75241593242564],[116.29786847356999,29.752414932596523],[116.2976694733783,29.752616928164112],[116.29773847387344,29.75295792066675],[116.29763547394126,29.753116917366306],[116.29743247355165,29.753119916829966],[116.29719547372532,29.752931921361974],[116.29715047351958,29.75273692520555],[116.29720347412139,29.752502929941418],[116.29746547406238,29.75202094090181],[116.29728347358929,29.75193594263066],[116.29721647364218,29.7519439420762],[116.29689847362465,29.752476930519457],[116.29637347391802,29.752800924139127],[116.29612047419813,29.75270192585168],[116.29609547408378,29.752599927987383],[116.29645747358373,29.752416932248554],[116.29680047371554,29.752046940438596],[116.29689947344994,29.751656948983204],[116.2968064735637,29.751149959849815],[116.29683747352594,29.75098696299892],[116.29705147378617,29.75089096557234],[116.29740047376552,29.751100960606287],[116.29792447364714,29.750967963649224],[116.29822147374819,29.750639970958705],[116.29820547385488,29.7500519832382],[116.2986524737436,29.750032983709026],[116.29864447334784,29.749610992915798],[116.2984424736815,29.749613993264354],[116.29837947393229,29.74974598982461],[116.29774047352474,29.749661991818588],[116.2975924733867,29.74980698876445],[116.29748647397984,29.749618992543013],[116.29685947416624,29.7494109972402],[116.29670047415757,29.749520994868185],[116.29651447348652,29.749341999182548],[116.29672147407422,29.74876901118278],[116.29684447409791,29.748621014696376],[116.29677947380077,29.748356020129794],[116.29664847338128,29.74827002200118],[116.29666447417318,29.748092026294092],[116.29690947349731,29.747877030270022],[116.29722347421487,29.748038026975056],[116.29807847363429,29.747854030835338],[116.29837247336212,29.747857031238212],[116.29846547414692,29.747623036282132],[116.29843047398685,29.747512038253483],[116.29851247400265,29.747455039766464],[116.29845347355328,29.74709604783724],[116.29858247342479,29.74679605406783],[116.29883747369293,29.74672805565766],[116.29882747364725,29.746648057009136],[116.29857947395017,29.746557059540436],[116.29827847365127,29.7467850545563],[116.29817647354406,29.7466530572167],[116.29837547373573,29.746448061666918],[116.298726473365,29.746479061311366],[116.29871447366945,29.74640806224015],[116.298442473683,29.74625506593738],[116.29859847421693,29.746139068499435],[116.29900947412047,29.746447061781183],[116.2989984733516,29.746234065908702],[116.29937147362027,29.74673905517624],[116.29928047338358,29.746895051949775],[116.2994634736816,29.747112047504167],[116.29993247420994,29.747010049413436],[116.29953447382682,29.746752055242222],[116.29971547357687,29.746537059464213],[116.30009447369355,29.74641306246687],[116.29992147344127,29.746309064664004],[116.30021347351938,29.74605107025124],[116.2999494739289,29.745781076437467],[116.30003347359458,29.745531081402856],[116.30021547406781,29.745472082774505],[116.30039847346748,29.74561208006024],[116.30070747416225,29.74560508000675],[116.30075747349277,29.745359084908667],[116.30098147379879,29.745216088350183],[116.30090647345585,29.74490909509138],[116.3012544736103,29.744963093758976],[116.30105547341876,29.744825096935262],[116.30106747401274,29.74467009996636],[116.30120247373198,29.74454310327815],[116.30109847397492,29.744462104538076],[116.30085247392769,29.744467104856074],[116.30083047418643,29.74436810691904],[116.30119047403647,29.74437510628131],[116.30174247350723,29.744214109937147],[116.30181447347731,29.744000114868708],[116.30144847377956,29.743803118667945],[116.30151947392478,29.743486125808367],[116.30165647419223,29.74330612956971],[116.30210547373076,29.743217132030786],[116.30257447336062,29.74355012441438],[116.30314947419406,29.743630122416835],[116.30340547338876,29.743552124251067],[116.3036444737636,29.743067135310273],[116.30358647403747,29.742589145068262],[116.30340047336644,29.742450148169468],[116.30338247382319,29.742144154953117],[116.30346347401417,29.741875160693727],[116.30374347349834,29.741734163716895],[116.30381447364353,29.741506168914757],[116.30359347371065,29.741538168462068],[116.30355947337553,29.741382171153557],[116.30328847411228,29.741300173040116],[116.30297847359255,29.741413170800975],[116.30306347398141,29.741260173897714],[116.30333347341988,29.741157176152505],[116.30333047394527,29.740794184516812],[116.30284447369888,29.739967202136953],[116.30276347350826,29.73946821283116],[116.30290847417179,29.738806227009615],[116.30305147338869,29.738541233024467],[116.30305647341174,29.73822823979145],[116.30320447354985,29.737898246818148],[116.30353747363594,29.73740625798741],[116.30423247412013,29.737259261091463],[116.30436647401453,29.73693526794738],[116.30426047370943,29.736727272075708],[116.30433947335233,29.736289281617218],[116.30418947356448,29.736338281080624],[116.30406747336566,29.736506277500503],[116.30392747362365,29.736483277793127],[116.30401047346449,29.736150284566484],[116.30437747388552,29.736184284245486],[116.30457247387922,29.736065286883832],[116.30473047406294,29.736098285819725],[116.30490047394227,29.736005288154825],[116.30519247402029,29.735978288364592],[116.30527247348795,29.735817291798583],[116.30558147418274,29.735806292644956],[116.30589147380412,29.735587296814963],[116.30598047349261,29.73559629678155],[116.30614947354694,29.73568429485027],[116.30597547346959,29.735948289370768],[116.30614147404921,29.736057286956783],[116.3063284736469,29.736000288199087],[116.306795473627,29.73628228170049],[116.30678847395411,29.736727272084586],[116.30666447410547,29.736914268313132],[116.30689747373381,29.737318259881857],[116.30702147358232,29.737365258886385],[116.30742347416351,29.737277260734466],[116.30771447351825,29.737377258631046],[116.30779547370902,29.7375432549178],[116.30779347405907,29.73776724947136],[116.30797147343601,29.737632252814336],[116.3081384738405,29.737841248343326],[116.30826547406205,29.737859247871167],[116.30818747424446,29.73749025613473],[116.30829547419953,29.737383258503694],[116.30804147375653,29.737043265271428],[116.30810447350576,29.73680727085237],[116.30823447410046,29.736700273272813],[116.30894147338182,29.736700273275307],[116.30893947373201,29.736647274045318],[116.30830747389551,29.736377279871288],[116.30832647416221,29.73611928564554],[116.3084994735163,29.735982288345795],[116.30855947379084,29.735753293733133],[116.30856947383673,29.735396301248816],[116.30845447420903,29.735319302917038],[116.30871147412698,29.735261304520673],[116.31003947337396,29.736039287119734],[116.31048547343775,29.736034287162227],[116.31070747409406,29.73559229681326],[116.31088647419425,29.735457299568967],[116.31140547405298,29.735352302108083],[116.31205547343295,29.73530630294215],[116.31214747349435,29.73545529957822],[116.31216247356285,29.735736293835384],[116.31226047347215,29.73566029576086],[116.31231447389902,29.735318302931617],[116.312538474205,29.73522130532408],[116.31272147360473,29.73523730454263],[116.31303547342415,29.735001309775402],[116.3132874742175,29.734939311184238],[116.31325647335713,29.73483931319808],[116.31295947415461,29.734777314504807],[116.31259147390851,29.735040309069873],[116.31204047336446,29.73503230905355],[116.31206547347888,29.73487331253592],[116.31249747419736,29.734732315856164],[116.312909473926,29.734484321374385],[116.3132164740726,29.734488320624553],[116.31369747339807,29.734876312551858],[116.31394347344525,29.73497331049467],[116.3142124739571,29.73487931256385],[116.31431147369135,29.734676317136714],[116.31410647365209,29.734403323094796],[116.31373047390854,29.734394323020126],[116.31371147364197,29.734311324645578],[116.3139154738565,29.734238326301135],[116.31422747402594,29.734268325810223],[116.31428247337928,29.73412232900441],[116.31455447336586,29.733954332492477],[116.3146634740441,29.734021330973345],[116.31476047412855,29.733886333954622],[116.31530647375133,29.734035331141417],[116.3157294742488,29.734240326327],[116.31589947412822,29.734007331589993],[116.31620247407696,29.733896334091845],[116.31591647384712,29.73291135529388],[116.31603847404615,29.732200370758232],[116.31600547353612,29.731662382001247],[116.31631047403326,29.730885399047597],[116.31607747350662,29.730518406712065],[116.31561247407467,29.730308411476862],[116.31559247398334,29.730041417559672],[116.3157894736269,29.729735423929743],[116.31565847410569,29.729726424217205],[116.31539347379176,29.730013417670772],[116.31522747411047,29.729928419466003],[116.31519647414837,29.729737424036873],[116.31529247350961,29.729616426716312],[116.31563647346613,29.7296224262722],[116.31569747356548,29.729537428517077],[116.31554147393007,29.729188435454503],[116.31561547354997,29.729100437928953],[116.31555747382373,29.72894844102771],[116.31533647389091,29.72875544516374],[116.31557147406748,29.72872544556816],[116.31565247336009,29.728604448587166],[116.31531847344948,29.728185457538082],[116.31524747420289,29.7277154679605],[116.31566047375642,29.727720467555628],[116.31593147391807,29.727562471227756],[116.3163114738596,29.727701467696523],[116.31631447423271,29.727492472884673],[116.31609247357686,29.72689248573991],[116.31620547355477,29.72681048748391],[116.31641347396713,29.72696948351958],[116.31657247397577,29.72698948360212],[116.31704047378093,29.72672548890955],[116.31709247365973,29.726137502166786],[116.31747847344924,29.725738510511132],[116.31762247338928,29.725690511426045],[116.31776247402976,29.725483515740553],[116.31798147341446,29.725571514098952],[116.31815047346869,29.725849508457397],[116.31835147420846,29.726001504592904],[116.3194104738423,29.725834508620377],[116.31958147354665,29.725517515139295],[116.31957047367614,29.725166522716627],[116.31980747350258,29.725185522278732],[116.31980047382991,29.725118524138274],[116.32008547423528,29.724983526842223],[116.31970447357061,29.72469653304114],[116.31966547411108,29.724139544857657],[116.31932747400255,29.723727553908947],[116.31911447356731,29.723590556848542],[116.31911547339226,29.723429560685613],[116.31930147406351,29.723220564778053],[116.31950047335684,29.72315756658744],[116.31940347417083,29.72297357082604],[116.31842047380663,29.7232265647121],[116.31830547417908,29.722799574401662],[116.31823747350869,29.722873572611107],[116.31816847391175,29.722813573792553],[116.31819847404923,29.722175588066065],[116.31809847359187,29.721988591668996],[116.31814047342472,29.721929593234307],[116.31793747393357,29.72176459699038],[116.3174354737934,29.72155360124139],[116.31732447346522,29.721633599621626],[116.31747647380111,29.721865594097256],[116.31782547378046,29.721986592184447],[116.31796847389549,29.722165588325158],[116.31800147350734,29.722388582760672],[116.3179504734537,29.722448581832868],[116.3177714742519,29.722417582563015],[116.31761047369518,29.722252586341288],[116.31741347405175,29.722332584164068],[116.31725347421825,29.722116588957686],[116.31703847413306,29.72235258360867],[116.31685847420802,29.722366583841925],[116.31665647364342,29.72211258921336],[116.3165184735512,29.7222225863571],[116.31623047367125,29.72196059264753],[116.31599047347173,29.721995591804134],[116.31565747338588,29.721919593461035],[116.31531947417557,29.721664599125912],[116.31496047415038,29.721743597282487],[116.31505847405988,29.72116460991469],[116.31532347347553,29.720951614182994],[116.31545947391787,29.721048612325475],[116.31576647406452,29.721036612191533],[116.31597047338064,29.721163609777822],[116.31605547376947,29.721134610392777],[116.31602247415753,29.720963614330643],[116.31626347418208,29.72073161933162],[116.31633247377908,29.720561622729324],[116.31631647388564,29.72045062517774],[116.31610347345033,29.7203816267004],[116.3155744735459,29.72041562547895],[116.31547347416193,29.720265628982734],[116.31542647340825,29.719620643134345],[116.31525647352903,29.719491645622806],[116.31479847376981,29.719140653187218],[116.31452547395837,29.719146653367314],[116.31404547355928,29.71949964531176],[116.31390947401513,29.719491645618078],[116.31335947419456,29.718960657726303],[116.31312947404078,29.718928657996777],[116.3128124738484,29.719060655153072],[116.31241747383802,29.719488645922706],[116.31198947421584,29.71976063982218],[116.31171647350602,29.719839638697543],[116.31127147416547,29.7198296387232],[116.31065047419963,29.719683641968782],[116.30969747397283,29.719335649117472],[116.30961347340906,29.71914965305032],[116.30966847366078,29.718809660439895],[116.309869473502,29.7191886522677],[116.31021047398387,29.71912365356638],[116.31068247398709,29.7187406623991],[116.31098847341046,29.71877266140865],[116.31102447339559,29.718535666754754],[116.31075147358415,29.718518667046666],[116.31070147425379,29.718443668579365],[116.31130047358026,29.718083676407506],[116.31132747424282,29.717876680635065],[116.31109847391409,29.717720683979024],[116.31110847395995,29.717430690722942],[116.31131347399935,29.717372692127928],[116.311645473362,29.71744869001319],[116.31173347412398,29.717026699433724],[116.31190447382824,29.71697570031769],[116.31224447358679,29.717096698058462],[116.3124494736262,29.717068698459844],[116.3128264740931,29.716766705016447],[116.31335647382252,29.71653970983061],[116.31353547392285,29.71619371738512],[116.31345147425739,29.715932722954612],[116.31345147425745,29.715821725745418],[116.31357247373293,29.715725727427962],[116.3135244740526,29.715242737765177],[116.31379747386407,29.715222738463904],[116.31396847356831,29.715015743033792],[116.31407447387373,29.714540753164798],[116.31436347357862,29.714676749890447],[116.31437847364715,29.71489174530043],[116.31455647392224,29.71516073935604],[116.31446147348764,29.715323735915963],[116.31452947415796,29.715390734353786],[116.3147844735277,29.715437733488123],[116.3149464739095,29.715304736830053],[116.31489047383317,29.71491074524821],[116.31503647342308,29.714784747757147],[116.31556347367761,29.714914745279813],[116.31560847388354,29.714640751101],[116.31579647420456,29.714582752454366],[116.31589447411407,29.71391576677262],[116.31606647364337,29.713649772367756],[116.3162114734083,29.713665771905045],[116.3162544739643,29.713569773866197],[116.31640847395012,29.713570774082488],[116.31670747370113,29.712900788812917],[116.31679247408995,29.712879788821873],[116.3168034739607,29.712545796616322],[116.31689047399942,29.712337800899864],[116.31715547341501,29.712250802872088],[116.31722647356025,29.7118198117507],[116.31738047354605,29.711791813020753],[116.3174144738813,29.71169481451607],[116.31722947393351,29.71136782159223],[116.3170414736126,29.711387821661745],[116.31698147423639,29.711498819091698],[116.31667347336648,29.711637815959662],[116.31662147348788,29.711793812704716],[116.31677247399878,29.712084806091152],[116.31673047416594,29.712143804850992],[116.31628847340194,29.711850811168784],[116.3161464740103,29.71138882111584],[116.31596047423757,29.71123182506208],[116.31568647370278,29.71130482297816],[116.31561847393075,29.71143782025425],[116.31532247365466,29.71156281780849],[116.31506647356169,29.71160581701181],[116.31488547381167,29.71181281245067],[116.31480847381873,29.711796812618395],[116.31481847386462,29.711596817233453],[116.3151104739427,29.711420820903754],[116.31517147404216,29.711153826670476],[116.31531747363209,29.7110058293015],[116.31499547341696,29.71073683581612],[116.31536447348802,29.710344843969953],[116.31549247353455,29.710308844403553],[116.31551047397623,29.710197847218364],[116.31533147387616,29.710099849263354],[116.31502447372948,29.710245845909057],[116.3150254735545,29.710000851741267],[116.31487247339362,29.70996485205052],[116.31482447371334,29.709399864324403],[116.31490347425445,29.709243867761128],[116.3147844735305,29.709138870177355],[116.31458847371191,29.709152869912813],[116.31432047392317,29.709603859643103],[116.31414347347295,29.70942386425193],[116.31423847390762,29.709105870956844],[116.31405047358665,29.7092528677465],[116.31371847422399,29.70920586883743],[116.3139494742027,29.70899687296334],[116.31395847352528,29.708884875625838],[116.31369447393483,29.70856488243208],[116.31392747356333,29.708461884672836],[116.31429447398438,29.70849388383805],[116.31452447413815,29.70842888523385],[116.31462847389527,29.708317887531262],[116.31473447420076,29.707672902162596],[116.31475347356913,29.70737990791961],[116.31444947379576,29.70693991754104],[116.31387747423355,29.7069949166367],[116.31382847382991,29.706704922828244],[116.31401847380081,29.706415929250422],[116.31496647400505,29.706021937902417],[116.31517147404438,29.706074936142553],[116.31533347352776,29.705986938638798],[116.31551247362793,29.706002937836722],[116.31559847384172,29.705855940970817],[116.31599047347875,29.705954938678335],[116.31600147424788,29.705547947918],[116.31652347358202,29.703991981449313],[116.31624647357287,29.703336995549996],[116.31610247363294,29.703216997932106],[116.31600247407397,29.70287500534015],[116.31601347394478,29.702585012119766],[116.31622647348178,29.70255701237562],[116.3162414735505,29.70222001996119],[116.31624647357346,29.70211902181525],[116.3159224737084,29.70206202328695],[116.31578047341833,29.7017560301883],[116.31602947383877,29.70140903718112],[116.31586147360952,29.701041045188244],[116.31546147357653,29.70087404904183],[116.31539647417766,29.700540055918733],[116.31564447387483,29.700341060311416],[116.31567047381412,29.700244062450498],[116.31553547409506,29.70008006603041],[116.31518347374245,29.700375059634442],[116.31463447374682,29.699667075085014],[116.31493547404578,29.699379081121208],[116.31507047376493,29.69955807777396],[116.31522347392576,29.699574077215598],[116.31550647378305,29.69940508104032],[116.31549447408777,29.69864009777078],[116.31519947363692,29.698152107571506],[116.3154214733948,29.69802011101875],[116.3156574733962,29.698430102171145],[116.31594047415179,29.698172107155045],[116.31606747347499,29.69832110429811],[116.31628047391027,29.69833810430448],[116.3163814741925,29.698517099690765],[116.31656047339435,29.6984811005665],[116.31694547425721,29.698209106762928],[116.31692247379279,29.697946112442754],[116.31713747387803,29.697643118854756],[116.31723247341438,29.69734612505597],[116.3175654735003,29.697334125990757],[116.31778947380663,29.696500144056614],[116.31804747354958,29.69613815124474],[116.31789547411209,29.69586215733075],[116.31788847354117,29.695691161145437],[116.31822947402296,29.695723160477723],[116.31825247358927,29.695532164733773],[116.3179294735492,29.695374168465065],[116.31791447348064,29.69512117384013],[116.31826647383323,29.694826179634394],[116.31783547383843,29.69406519669095],[116.31802547380931,29.69383620164507],[116.31835947372021,29.693645205436418],[116.31880347413416,29.6935222082627],[116.31878647351746,29.693426210476854],[116.31865147379833,29.693344212197545],[116.31865147379838,29.693218214959252],[116.31844747358399,29.693053218354713],[116.31855247406436,29.692824223343187],[116.31821147358258,29.69272522518008],[116.31774247395262,29.692744224636137],[116.31769247372395,29.692669226427025],[116.31801747341397,29.69250822984458],[116.31792547425088,29.69224023562794],[116.31759147344172,29.692379232617267],[116.31746447411845,29.692333234043858],[116.31720947385045,29.69216023801706],[116.31701947387978,29.691902243285995]]]},properties:{name:"马影镇","fill-opacity":0,"stroke-opacity":1,stroke:"#ff0000"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[116.39215747391043,29.615174901804696],[116.39226347421567,29.615074903348415],[116.39404547392247,29.615472894983526],[116.39418147346662,29.615443895566624],[116.39430147401556,29.615223900199727],[116.395468473605,29.613722932764038],[116.39602447417235,29.61285295181597],[116.39736147364124,29.611091989882333],[116.40047847406673,29.60669708424677],[116.40104247413156,29.6060340988493],[116.40089347416908,29.605069119929567],[116.40089447399433,29.604324135788058],[116.40108647361518,29.603699149371174],[116.40158447355766,29.60335215631763],[116.40423547382635,29.60243917671084],[116.40481647360944,29.602154182533766],[116.40496547357243,29.60200918573479],[116.40501547380211,29.599787233673222],[116.40522747351504,29.597759277092376],[116.40729947365054,29.597069291912078],[116.40861147390264,29.596976294503065],[116.40867547347695,29.596469305205893],[116.40900447426364,29.595436327698966],[116.40932147355798,29.59474734208054],[116.40915147367882,29.59442934947329],[116.40841347353728,29.593823362052273],[116.40796047380096,29.593550368250114],[116.4071854738494,29.5932323749923],[116.40653347392151,29.592834383842057],[116.40608947350792,29.592064400273703],[116.40528847361716,29.591450412983974],[116.40475947371321,29.590370436671815],[116.40460947392582,29.58942045697257],[116.40475247404125,29.588712472106227],[116.40463547386564,29.588094485908663],[116.4044284741766,29.587650495255314],[116.40377147422603,29.58686151205243],[116.4033184735916,29.58598653099011],[116.4032864738049,29.585345544592364],[116.40309047398694,29.583990574016312],[116.40300247412355,29.583572583434254],[116.40277247397006,29.583133592948705],[116.40276647412247,29.582601603952924],[116.40268847340646,29.582347609462797],[116.40137347368012,29.581339631101148],[116.40129747351227,29.581087636501213],[116.40138947357401,29.580496649070316],[116.401250473657,29.580189655856497],[116.40021347376475,29.57956566911334],[116.39966847396701,29.579105679376642],[116.39946047355465,29.57884968469715],[116.399271473409,29.57845069385634],[116.39887047330032,29.578077701449825],[116.39855547390718,29.57763671127469],[116.39867047353525,29.576864727347594],[116.39860747378677,29.575229762663664],[116.3977364735767,29.572748816045156],[116.39760347350735,29.5726998173363],[116.39544547405663,29.573085809156346],[116.39511247397071,29.573078809587727],[116.39394947368167,29.572855813846136],[116.39380647356656,29.572790815128457],[116.39283647362144,29.572349825296072],[116.392388473908,29.571929834046223],[116.39131547403086,29.57117485061861],[116.3905284734857,29.570140872720476],[116.38892347422951,29.56903389644637],[116.38868347403017,29.568684903528876],[116.38854647376326,29.567773923745275],[116.38837547405917,29.567463929812902],[116.38780747379681,29.567175936531505],[116.38699147383768,29.566128959119997],[116.38661147389648,29.565283977188315],[116.38610047353549,29.56507398154212],[116.38604647400737,29.564579992336007],[116.3858824739761,29.564093002467004],[116.38515547370524,29.56340001794873],[116.38433047352504,29.562945027199962],[116.38283247350036,29.562453038044673],[116.38223747347371,29.562362040298126],[116.38204847422627,29.562170044547152],[116.38025747429944,29.560024090029014],[116.3801104739865,29.55963209875143],[116.38003847401686,29.55885711569471],[116.37993747373459,29.55862212062028],[116.37972147382465,29.558463124187693],[116.37924347397386,29.55832812673909],[116.37892947415467,29.55805413285263],[116.37852747357412,29.55663016346656],[116.3780764734879,29.55572718300677],[116.37793047389847,29.554805202597667],[116.37770947396567,29.554485209504655],[116.37729247421433,29.55410221763035],[116.37625147412422,29.553426232811614],[116.37582447342886,29.553059240112542],[116.37558947415086,29.552390254791256],[116.37543347361701,29.552255257825653],[116.37504447345465,29.552137260364088],[116.37460747361175,29.552118260944063],[116.37385547412451,29.552236258423775],[116.37322147373965,29.55248425289317],[116.37268647398733,29.552788245964837],[116.37233847383264,29.55317723804679],[116.37198147345705,29.553812224046336],[116.37189047411877,29.553817223686114],[116.37167947423171,29.553585229339355],[116.37077647423364,29.553298235024315],[116.37002047365046,29.552698248353252],[116.36912047402551,29.552192258845427],[116.36855547413617,29.551970264137296],[116.36750147362721,29.55126627871677],[116.36717947431045,29.55090228679669],[116.3669274735173,29.55037629843732],[116.36654047390326,29.550014306212404],[116.36635347430571,29.549553316003706],[116.36625247402371,29.548868330194008],[116.36611347410673,29.54844633996974],[116.36588747415112,29.54807034760998],[116.36546747402677,29.547691356073223],[116.36300447407983,29.546704377488982],[116.36244347349005,29.5466573784901],[116.3622274735799,29.546938371834294],[116.36165847349221,29.547507359863104],[116.36075447366899,29.54778235372907],[116.36050147394901,29.54779035378593],[116.36023947400854,29.54708636894805],[116.36011347361236,29.545998392257214],[116.35950547406553,29.545243408831688],[116.35914747386542,29.544918415860266],[116.3578934742384,29.544085433286693],[116.35709547382227,29.54376544063567],[116.35664847393367,29.54350844591256],[116.35645347394004,29.54348644618736],[116.35594947414997,29.543546444854528],[116.35563747398037,29.543697441710634],[116.35544447363648,29.543882438147254],[116.35507347391547,29.54456142292865],[116.35485647418002,29.545665399126104],[116.3546664742092,29.54582039644093],[116.35373147352554,29.546014391850346],[116.35313647349896,29.545789396678835],[116.35201647376589,29.545635400414994],[116.35188147404666,29.545660399853766],[116.35111147411759,29.546216387845277],[116.35037947382375,29.54581739624812],[116.35005647378368,29.545716398287475],[116.34965347427607,29.545353406241198],[116.34950347358995,29.54530040701106],[116.34921547370988,29.545371405824195],[116.3482504737872,29.545835395742564],[116.34796947357984,29.545819396097656],[116.34697547424362,29.54528140786135],[116.346922473642,29.54492941552424],[116.34703047359734,29.544222430856095],[116.34697147404616,29.544126432203768],[116.34603047351489,29.543930437176694],[116.34520347368465,29.543904436967967],[116.3448254742912,29.54410543294292],[116.34360947429812,29.545032413350505],[116.34349847396949,29.54634838487317],[116.34337647377055,29.546857374086258],[116.34356547391624,29.547310363992768],[116.3443504739133,29.54819434526862],[116.34462647409757,29.548720334043427],[116.34465647423455,29.549221323090627],[116.34453147366276,29.54934931977031],[116.34422547423931,29.549411318652368],[116.34416047394194,29.549491317129583],[116.34453647368531,29.54997430672039],[116.34448247415648,29.551072283144507],[116.34431647357658,29.551597271524713],[116.34378247364907,29.552136259996903],[116.34346647417982,29.55233125604414],[116.34282447429746,29.55245625349123],[116.34241647386837,29.552676248187495],[116.34232447380684,29.552822245000776],[116.34231547358584,29.55315123855112],[116.34242347354075,29.55341723283652],[116.34272347401455,29.55379522453994],[116.34327847385805,29.55428621420366],[116.34331747421597,29.554582207806998],[116.34305647409998,29.55478220341552],[116.34251647342654,29.55489920068112],[116.34189547346048,29.555147195647994],[116.34149347377753,29.55543818873082],[116.34102447414706,29.556432167905268],[116.34044847348834,29.557104152874466],[116.34049247386919,29.557328148434667],[116.34086447431304,29.5575671434267],[116.34098347413865,29.557733139556262],[116.34100847425277,29.5582711279235],[116.34135747423173,29.55922810748055],[116.3413164742237,29.559507101447377],[116.34106647397847,29.559560100258143],[116.3406174735417,29.559522101081924],[116.34043447414186,29.55968409795677],[116.34037147349402,29.560414081638353],[116.34025847351602,29.560650076623546],[116.339539473641,29.56028008462792],[116.33889047408596,29.56033208363707],[116.3378634742397,29.559170108326015],[116.33741547362781,29.559097110232432],[116.3368594739593,29.55883811582501],[116.33653447426965,29.558072132370153],[116.336268474131,29.557887136118993],[116.3361344742367,29.557941135198423],[116.3360674742895,29.55810413168133],[116.33603947380192,29.558543122378133],[116.33583747413533,29.559011111968083],[116.335668474081,29.559006111802994],[116.33505247413812,29.558527122398317],[116.33435147380641,29.55816413026179],[116.33406747412428,29.55826012808138],[116.33405547353024,29.558575121534744],[116.33374947410661,29.55910111019127],[116.33339447427933,29.559386104057776],[116.3328134735981,29.55914510908534],[116.33281347359835,29.558629120242514],[116.33274547382635,29.558566121351237],[116.33201047405747,29.55883411582579],[116.33164547418455,29.558839115997507],[116.3312544734741,29.55865811957687],[116.33086647403489,29.55881111611665],[116.32996447386151,29.55898611268516],[116.3297064741186,29.55920010766916],[116.3295934741406,29.55948610144172],[116.33027147400774,29.559774095552015],[116.33047347367406,29.559940091962662],[116.33023147382454,29.560381082845936],[116.3298424736621,29.560593077653113],[116.32974747412581,29.560770073825385],[116.32994847396691,29.561431060164004],[116.32997947392876,29.56205604661681],[116.33036047369488,29.562846029281044],[116.33016847407373,29.56408200308717],[116.33020947408147,29.56439299581503],[116.33010547342602,29.564558992448013],[116.32937347403036,29.564472994148407],[116.3289314741645,29.56461099159675],[116.32870847368349,29.56459299153162],[116.32843447404719,29.56441799529569],[116.32801447392298,29.563834008164854],[116.32781747427951,29.563721010874826],[116.32758547357766,29.563727010166264],[116.32733547423064,29.56392700642456],[116.32734247390324,29.56411700246491],[116.32769347353228,29.564611991726085],[116.32771147397386,29.564837986529035],[116.32755547343986,29.565104980646197],[116.32724447399345,29.565418973725553],[116.32673047415751,29.56564696931195],[116.32557547426431,29.565504971992702],[116.32536247382896,29.565660968690477],[116.3252574742466,29.56652295020041],[116.3255974740047,29.567518929126713],[116.32590447415114,29.568038917494924],[116.32602947382442,29.56841790927877],[116.32604447389285,29.568833900702764],[116.32629747361268,29.569127894476956],[116.32650947422285,29.56960788370001],[116.32650247365174,29.569827879332504],[116.32620947374868,29.57009687291734],[116.32621247412172,29.57025887002164],[116.32664347411658,29.57083385763744],[116.32665447398719,29.571017853545097],[116.32657347379627,29.57116985004714],[116.32619347385466,29.571353846122523],[116.32583647347931,29.571313847342324],[116.32515247376432,29.571072851920242],[116.32463447373043,29.57121584928624],[116.32432247356095,29.571222848981705],[116.32417347359811,29.571115850999075],[116.32393547394703,29.570583862735866],[116.32285047347573,29.570391866984938],[116.32209747416377,29.570032874833686],[116.32174647363634,29.569736881184003],[116.32164647407728,29.569632883441606],[116.32154547379501,29.569564884739467],[116.32127647418154,29.569504885891966],[116.32107247396715,29.5694168877268],[116.32094647357052,29.5692678911922],[116.3208584737071,29.568975897225855],[116.32030847388684,29.567663925464863],[116.3202684737039,29.567617926944838],[116.31995347405977,29.567442930480585],[116.31966847365443,29.567365931689775],[116.3191534739937,29.567381931826908],[116.31905247371137,29.56742793045396],[116.31898947396218,29.56742193060002],[116.31896147347477,29.567404931142548],[116.31879047377073,29.567078938237135],[116.31867847361782,29.566936941372134],[116.318381473517,29.566681946423426],[116.31829247382858,29.566642947469955],[116.31809947348478,29.566678946864112],[116.31778147346736,29.56694894113377],[116.31772347374107,29.566967940888407],[116.3176484742963,29.566962941117495],[116.31758047362595,29.566931941596078],[116.31747547404407,29.56678894441232],[116.31737447376173,29.56681394408718],[116.31659947380977,29.5673559321768],[116.31649347350456,29.56740293092179],[116.31633647404405,29.56743793072074],[116.31597447364591,29.56737093220882],[116.31557047431328,29.567159936105764],[116.31475847365343,29.566965940657237],[116.31449847426079,29.566947941011655],[116.31424247416788,29.56680094418331],[116.31407647358836,29.566441951770237],[116.3139594743111,29.565775966357805],[116.31378947353375,29.565295976893207],[116.31354247366174,29.564877985478994],[116.31322047344666,29.564495994070306],[116.31308347407773,29.564363996498486],[116.31270147358812,29.564176000416097],[116.31240147401253,29.564102002676268],[116.31204747401033,29.56388000678927],[116.31188547362875,29.563666011559878],[116.31153347417477,29.563333018844467],[116.31135047387673,29.563215021819143],[116.31102347363866,29.563099024171503],[116.31097647378307,29.563032025126507],[116.31091047366111,29.562399038779283],[116.31086147415608,29.56134806197886],[116.31086947365408,29.560416081885013],[116.31075747350133,29.55996109176332],[116.31075747350165,29.55918910788591],[116.31066747398847,29.558665119289962],[116.31057447410221,29.5583381261119],[116.3103414735756,29.557992133560944],[116.31017747354419,29.55779813847922],[116.30988547346637,29.557272149288153],[116.30961547402819,29.55683715859907],[116.30954447388324,29.55644016716744],[116.30956747344956,29.55627317104197],[116.30955347410425,29.556070175384658],[116.30925047415572,29.555803180828597],[116.30895847407785,29.555498188004563],[116.30869147411433,29.555119195411244],[116.30839347418865,29.554824202047747],[116.30825147389855,29.554711204838366],[116.3078794734547,29.554489209413276],[116.3074224735204,29.554216215510998],[116.30700247429431,29.553950220983427],[116.30680847412566,29.553738225519687],[116.30678347401152,29.55326423581652],[116.30661647360718,29.552694247904885],[116.30647447421543,29.552500252028604],[116.30598647431894,29.55225425732523],[116.30519047355259,29.552078261336533],[116.30356347365638,29.551986263360362],[116.30233047394523,29.55218925862189],[116.30165547355247,29.55251025220291],[116.30080147395779,29.553174237835723],[116.29991647350258,29.553953220894734],[116.29963747384313,29.554368212264507],[116.29950347394843,29.55531719181828],[116.29977947413249,29.556315169923394],[116.29910747411252,29.55725514964754],[116.29906047425678,29.557517144034264],[116.29923147396084,29.55786213644832],[116.29899047393626,29.55823012908832],[116.29896847419484,29.558436124116025],[116.29903347359381,29.558535122260036],[116.29915347414274,29.558552121647807],[116.30085447365897,29.558277127398096],[116.30126647428582,29.558416124913546],[116.30162647413577,29.55869511877997],[116.30219947352195,29.560686075676244],[116.30220247389494,29.560918070908098],[116.30188447387737,29.561421059975522],[116.30185947376287,29.561804051452725],[116.30212947409922,29.5625470358856],[116.30212947409902,29.563024025463047],[116.3025684735916,29.56349901562553],[116.30308747345026,29.56363001262293],[116.30320447362602,29.563738010084233],[116.30323347393815,29.564277998782142],[116.3034204735356,29.564974983264694],[116.30330647373239,29.565827964846637],[116.30344947384717,29.56655194954138],[116.30313047400448,29.56779392314657],[116.30315447429372,29.56822291372713],[116.30332647382251,29.568851899931328],[116.30353647388472,29.56908089489169],[116.30440247407273,29.569651882630858],[116.30492047410628,29.570243870341518],[116.3050604738481,29.57070886019286],[116.30514647406179,29.570793857795646],[116.30569447423272,29.571013853190184],[116.30575747398174,29.571367845424135],[116.30605047388465,29.57150484276402],[116.30633247391661,29.57213582895859],[116.30695047350929,29.572637818362484],[116.30703947409586,29.57304780929021],[116.3075744738475,29.574300782331708],[116.30750747390022,29.57473077342822],[116.30675447368941,29.575611754553563],[116.30631747384584,29.576983724516097],[116.30637247409719,29.577562712137563],[116.30615347381386,29.578036701882702],[116.30611747382856,29.578852684346753],[116.30542447389217,29.579802664306577],[116.3054104736484,29.580105657213448],[116.30572747384053,29.58051464908804],[116.30564747347442,29.580943639526115],[116.30517347382118,29.581813620741688],[116.30461247412934,29.582550605081998],[116.30417947358585,29.58297959545883],[116.30374547411553,29.584004573631628],[116.3036804738179,29.584567561066038],[116.30375347361256,29.585159548807894],[116.30389647372769,29.58526454610932],[116.30479947372586,29.585279545829568],[116.3048904739624,29.585387543570963],[116.30452647391415,29.585946531411793],[116.30398747396372,29.586508519812064],[116.30302147421506,29.589411456841926],[116.30293047397817,29.59006544243291],[116.30324747417033,29.590561432463833],[116.30340147415585,29.591071421383774],[116.30385047369329,29.59352136841026],[116.30370347427765,29.595585323511273],[116.3027834736623,29.596476304340808],[116.30268147355491,29.596806297645493],[116.30218947346025,29.597156290002452],[116.30122547426055,29.598093269728857],[116.30108847399309,29.598499261164438],[116.30144547346958,29.599621236803454],[116.3023234742501,29.603429154642924],[116.30394147392403,29.606947078379502],[116.30396247384041,29.60699107751128],[116.30425147354546,29.606729083428903],[116.30529847348373,29.606595086201512],[116.30591347360209,29.60619709467177],[116.30623347416751,29.60618109521987],[116.30728647395381,29.605531109147957],[116.3080304739435,29.605302114102408],[116.30881147374306,29.605154117168563],[116.30942047401345,29.60512311844451],[116.30967947358123,29.604962121582084],[116.31046347375376,29.604968121550176],[116.31123547423067,29.605198116310145],[116.31226247407707,29.605890101573607],[116.31311047382341,29.60659808616313],[116.31328547372556,29.606662085257945],[116.31373947418525,29.606647085597487],[116.31423947377762,29.60601209916208],[116.31475447343827,29.606177095581458],[116.31525547375371,29.606127096200318],[116.31588747359041,29.605807103313754],[116.31620747415587,29.60576410417353],[116.3165464740894,29.60605509820585],[116.31685547388578,29.606165095801675],[116.31648947418762,29.60684708117769],[116.31686947412905,29.60710107569244],[116.31661947388375,29.607351069943373],[116.31677347386947,29.60757806482805],[116.3173104741698,29.607554065587617],[116.31771347367763,29.607368069705682],[116.3186524736608,29.607402069217233],[116.31872247398088,29.607745061226616],[116.31923747364138,29.60828805025025],[116.31914347392998,29.608459045824794],[116.31926247375547,29.608844037856183],[116.31941747356622,29.608769039585262],[116.31959947403949,29.60849004587006],[116.31964847354497,29.608501044900848],[116.31963347347622,29.608890037113305],[116.3199564735164,29.608811038532313],[116.32016547375363,29.608986035121077],[116.32028147410448,29.60924002971367],[116.32036347411992,29.609907014640523],[116.3205394738471,29.609590021878645],[116.32045447345844,29.60924902928033],[116.3207024740539,29.609202030497254],[116.32084947346856,29.609387026431946],[116.32114747429273,29.609366026692076],[116.32120947421687,29.60959602157092],[116.32114547374445,29.60967102000801],[116.32102347354572,29.609663020166504],[116.3209674734692,29.609767018050594],[116.32143147397446,29.61011801041267],[116.32143247379922,29.610500002538746],[116.32158347341183,29.610678998028664],[116.3213884734181,29.610936992520625],[116.32143847364675,29.611044990128416],[116.32177447410568,29.611120988723783],[116.32211947388735,29.610595999795102],[116.3222484737587,29.610647998660404],[116.32241047414026,29.61094399258964],[116.3225924737151,29.610941992460102],[116.32266447368522,29.61079699580137],[116.32287947377084,29.60963202127105],[116.32238247365355,29.60946002487053],[116.32233047377521,29.60896403561004],[116.32214947402525,29.608917036692617],[116.32239747372257,29.608441046562323],[116.32250147347966,29.608403047043666],[116.32291247428157,29.60859104353918],[116.32292047377899,29.608996034413355],[116.32299847359671,29.609087032291693],[116.32311647359751,29.608981035099312],[116.3234464742087,29.609045033463055],[116.32349447388893,29.60971001952526],[116.3234564742541,29.609781017571123],[116.32322747392534,29.60969201969271],[116.32315247358221,29.609759018224906],[116.32332547383449,29.609898015143656],[116.32334747357574,29.61000801245108],[116.32336447419237,29.6103560049313],[116.32323047429786,29.610790996184868],[116.32325947371181,29.610923992850804],[116.32359447344753,29.61097899213244],[116.32364247402646,29.61085599463747],[116.32377947429376,29.610953992463884],[116.32368147348599,29.611287985501825],[116.32376247367684,29.611359983669274],[116.32414047396855,29.61131098496692],[116.32418647399942,29.611054989997502],[116.32431647369575,29.611013990880497],[116.32451347423749,29.61109298929909],[116.32474347349296,29.611029990349056],[116.32500547343372,29.61115498775883],[116.32556147400062,29.61119798694608],[116.3255544734298,29.6107079980498],[116.32591747365306,29.61034800515362],[116.32612247369238,29.610590000178696],[116.32683647354477,29.61040800393218],[116.32751047411246,29.610503002378046],[116.32785647371887,29.610382004444805],[116.3280054736818,29.61022600813974],[116.3283094734553,29.610339005694115],[116.32844347424798,29.610268007260494],[116.32867347350333,29.610357005411416],[116.32864747356389,29.61084499510036],[116.3285234737152,29.611115988821183],[116.32894647421291,29.61086899434137],[116.3289894738707,29.61065599844698],[116.3293014740402,29.61056100092972],[116.32932547343144,29.610370005163283],[116.32912247394029,29.610173009378876],[116.32917147344577,29.610072011744307],[116.32935647429198,29.61016400911519],[116.3295434738895,29.610602999910235],[116.32966547408817,29.610678998057086],[116.32964147379889,29.610351005770184],[116.32975447377689,29.610161009288532],[116.33128047428913,29.610213008383113],[116.33132847396975,29.610119010130266],[116.33140547396269,29.609965013567614],[116.33157247346897,29.60985301606214],[116.33202547410374,29.60988801520009],[116.33230647341287,29.60975901825711],[116.33249147425894,29.61000301328279],[116.33236747351201,29.610230007662818],[116.33217347424157,29.610309006694447],[116.3321644740206,29.61051600212521],[116.33103047404357,29.610900993326368],[116.33074247416357,29.6108959933881],[116.33046047413131,29.61074799685145],[116.32984147381504,29.61110598897249],[116.32977047366992,29.611225986366023],[116.32988847367068,29.61125598588784],[116.33051747403262,29.611107989101857],[116.33088847375308,29.611712976090697],[116.3307574742317,29.611942971081515],[116.33111647425682,29.612087967655512],[116.33116047373939,29.61217296633053],[116.33201147385911,29.611977970277735],[116.33238647377775,29.612051968842728],[116.3324114738921,29.612164965911454],[116.33263147400001,29.612318963019526],[116.33303447350785,29.61208796766226],[116.33308247408672,29.61214696652051],[116.33284547426008,29.612684955414537],[116.3323204736552,29.61278795286624],[116.33207547343292,29.612737953637005],[116.33153647348267,29.612814952170993],[116.33151947376412,29.613058946828556],[116.3304444742367,29.613347940805312],[116.33017547372486,29.613494937778714],[116.33050447361268,29.61375693224351],[116.3306204739636,29.613757931890643],[116.33077747342418,29.613518937170895],[116.33114547367018,29.613517936742145],[116.33133647346573,29.613841930295077],[116.33134547368644,29.61414792377],[116.33123947427939,29.6144599164971],[116.33141847348121,29.614382918437418],[116.33272547371037,29.61454091462158],[116.33284847373403,29.614467916744164],[116.33265347374054,29.614125923820463],[116.33276147369554,29.614071925119926],[116.33287847387129,29.614343919179344],[116.33309347395634,29.614536915286166],[116.33339547408005,29.614555914673442],[116.3336054741424,29.614417917570734],[116.33377347347343,29.61481790872373],[116.3340184736957,29.61481190934539],[116.33404847383298,29.614718911113005],[116.3344614742848,29.61468591214931],[116.33451047379044,29.614432917641725],[116.33471647365484,29.61421092234614],[116.33498247379349,29.614406917628557],[116.33496847354957,29.614850908430785],[116.33506347398405,29.614994905091475],[116.33514547399983,29.615004905340285],[116.3353804741765,29.614815909456954],[116.33540947359037,29.615066903736206],[116.33569247344752,29.615210900869876],[116.33604647344981,29.61512890209523],[116.33628147362654,29.614932906656502],[116.33635647396967,29.614745910692438],[116.33681847392687,29.615024904278343],[116.33692947425489,29.615028904377052],[116.33734147398334,29.61541789639352],[116.33735547422695,29.61562189182082],[116.33696047421674,29.615778887992228],[116.33704847408016,29.615945884856927],[116.33735647405172,29.61595088454478],[116.33761947381758,29.61556089339698],[116.33786047384196,29.615668890737275],[116.33797047344666,29.615883886224943],[116.33825247347895,29.61586688634159],[116.3384004736167,29.61641987467918],[116.33868947421996,29.61640587452849],[116.33894647413813,29.615904885392503],[116.33881947391677,29.615299898571983],[116.33889747373479,29.61478191011847],[116.33842147353407,29.614205922586113],[116.3386454738401,29.61400892648942],[116.3387514741454,29.613769931583672],[116.33897347390321,29.61386292991151],[116.33918247414039,29.614177923230383],[116.33938947382951,29.61429692045066],[116.33950647400523,29.614614913670568],[116.33979347406026,29.614956905716518],[116.33987947427373,29.615477894503154],[116.3400004737491,29.615727889068964],[116.33989247379412,29.615730889511987],[116.33982447402197,29.61590288536382],[116.33985247361095,29.616142880302494],[116.34011947357457,29.616209879234223],[116.34021747348385,29.61618087924823],[116.34028147395631,29.615970884080493],[116.34076247418022,29.616016883209916],[116.34102747359577,29.615911885120198],[116.34121947411462,29.615973883738913],[116.34124847352852,29.616191879786268],[116.3414324736516,29.616198879487374],[116.3414444742455,29.61600788346952],[116.34178747347885,29.61594288443668],[116.34182447418715,29.615838886676098],[116.34175847406493,29.615754889157106],[116.34188247391354,29.615608891983477],[116.34204247374716,29.61556189304132],[116.34218847423537,29.61534889769152],[116.34275847414769,29.615404896533057],[116.34296247346376,29.615519893788],[116.34312247419565,29.615419896455226],[116.34350347396216,29.615431895923155],[116.34410847403447,29.615630891621795],[116.34412347410313,29.615513893673764],[116.34396547391951,29.61534789728588],[116.34404347373729,29.615238899970734],[116.34384247389605,29.614857908255654],[116.34397247359243,29.614699911792425],[116.34423547425652,29.614651912788975],[116.34421847363981,29.614401917897702],[116.34442147402953,29.61409092463485],[116.34425147415033,29.613924928246448],[116.34487047356832,29.613476937893683],[116.34498447426964,29.6131099455982],[116.3451214736386,29.613149944992024],[116.34499447341693,29.613372939932084],[116.34504947366848,29.613421939195703],[116.3455604740295,29.61347393816668],[116.34602147416183,29.61370093332411],[116.34626547366082,29.61390992889109],[116.34649847418781,29.61357793602781],[116.34713047402428,29.61382193040278],[116.34740147418592,29.61382993069578],[116.3474024740109,29.61364793404813],[116.34733647388867,29.613576935601305],[116.34715047411589,29.613552936224448],[116.34700447362765,29.613710932923457],[116.34668347413574,29.613513937419473],[116.34656247376208,29.61322994295508],[116.34646447385326,29.61213696681652],[116.34689947404662,29.611598978903658],[116.34699547340772,29.611638977334866],[116.34705747423023,29.61185997316305],[116.34735047413312,29.61187097260805],[116.34742847395088,29.61194597091517],[116.34754547412663,29.612231965196603],[116.34765247425693,29.61181197358946],[116.34784847407548,29.611841972937192],[116.3477014737622,29.61221396503485],[116.34828047389517,29.612635955847214],[116.34850347347782,29.61272795400234],[116.34883447391398,29.61254195829332],[116.34888247359456,29.612607956835774],[116.34881547364738,29.612726954346524],[116.34855047423173,29.612922950169477],[116.34825547378068,29.612998948127835],[116.34791847349683,29.61298694837045],[116.34790647380123,29.61310694586816],[116.34799047346671,29.613249943025437],[116.34834147399437,29.61303494738821],[116.34855647407949,29.613035947823818],[116.34870447421746,29.61315694491633],[116.34897447365556,29.613746931936202],[116.34915147410578,29.61391792840531],[116.35036347390052,29.61364393468634],[116.35036647427387,29.61310594622366],[116.3514354739537,29.612349962723435],[116.35156547365003,29.61232196284996],[116.35187347362151,29.61243496039799],[116.35181847426821,29.612611957040333],[116.35203747365291,29.612677955537563],[116.35240547389894,29.612634956203866],[116.35247347367107,29.61244096070175],[116.35290347384134,29.612349962728594],[116.35318747352329,29.612675955445802],[116.35318547387337,29.612980948900898],[116.35295547371959,29.61308594613888],[116.35245447340401,29.61352693678221],[116.3517554736203,29.61351593751647],[116.35168447347512,29.61368393387243],[116.35177347406186,29.61376593148116],[116.35228247387471,29.613951928058615],[116.3529624742902,29.614027926025624],[116.35500247373993,29.61412392383198],[116.35703247404199,29.61479091003452],[116.35802847392654,29.614935906419092],[116.35854647396077,29.613953927370197],[116.35919047349331,29.61310594625474],[116.35943747426383,29.612964948984416],[116.35990547406897,29.612855951436778],[116.36095747402997,29.61305694684391],[116.36253747407027,29.613964927380703],[116.36319947404378,29.61460191377085],[116.36388947360665,29.614646913106927],[116.36491947382652,29.614530915221266],[116.36546847382238,29.614605913893993],[116.36644347379043,29.615043904457846],[116.36740947353752,29.61576488863955],[116.36750147359889,29.6159888836677],[116.36742847380381,29.616345876300336],[116.36658547407988,29.616702868446872],[116.36651347410978,29.616936863789523],[116.3666874741869,29.61716185895009],[116.36836947343598,29.61840983126825],[116.36906747339444,29.619056817527884],[116.36937647408922,29.619152815224098],[116.36922847395115,29.619203814767207],[116.3717534738225,29.619911799573707],[116.37250647403278,29.62025179166391],[116.37324447417448,29.6204307878002],[116.37342747357417,29.620633783655258],[116.37357847408492,29.621252769955976],[116.37382247358389,29.621549763550266],[116.37425247375403,29.621794758496723],[116.37475747426711,29.622280748352853],[116.3749534740855,29.622859735260374],[116.37709047362002,29.622034753471308],[116.37781747389133,29.621547763644564],[116.37834447414626,29.62091877715464],[116.38020347384672,29.619488808427334],[116.38047347418318,29.62001779701718],[116.3809054740031,29.620377788961445],[116.38090147380488,29.620945776635914],[116.38104547374482,29.621158772653224],[116.38179347393232,29.621183772136852],[116.38196147416178,29.621331768968926],[116.38234847377605,29.62118677163877],[116.38256547351097,29.6212087716143],[116.38277947377101,29.621715760687103],[116.38292347371099,29.62175875927226],[116.38321747343912,29.621106773751837],[116.38348447340286,29.62085577889665],[116.38439547379724,29.62027079157656],[116.38495047364103,29.620189793378525],[116.38702547414924,29.620137794757657],[116.38749347395458,29.619486808492255],[116.38831247428722,29.619554807135017],[116.3912464735148,29.618619826901718],[116.39165747341882,29.617761846018343],[116.391668474188,29.61735585482596],[116.39157347375362,29.6169148637513],[116.39163547367811,29.616477873131384],[116.39208347429035,29.615710890122543],[116.39215747391043,29.615174901804696]]]},properties:{name:"武山镇","fill-opacity":0,"stroke-opacity":1,stroke:"#ff0000"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[116.30144547346958,29.599621236803454],[116.30108847399309,29.598499261164438],[116.30122547426055,29.598093269728857],[116.30218947346025,29.597156290002452],[116.30268147355491,29.596806297645493],[116.3027834736623,29.596476304340808],[116.30370347427765,29.595585323511273],[116.30385047369329,29.59352136841026],[116.30340147415585,29.591071421383774],[116.30324747417033,29.590561432463833],[116.30293047397817,29.59006544243291],[116.30302147421506,29.589411456841926],[116.30398747396372,29.586508519812064],[116.30341447367826,29.58670251520225],[116.30309847420915,29.586682516120238],[116.30223947369375,29.586274524158966],[116.30187847401876,29.586182526868903],[116.30116547399135,29.586176526564806],[116.30089847402782,29.585894533078452],[116.30070447385914,29.585822533916723],[116.30016947410684,29.58597053109304],[116.29982947344995,29.58593653217099],[116.29910647427532,29.585454541823488],[116.29877747348907,29.585389543405245],[116.29837547380632,29.585195547831226],[116.29771447365748,29.585107550060574],[116.29741447408192,29.584889553996888],[116.29682447407848,29.58410857138805],[116.2966114736434,29.583577582789257],[116.29637247416721,29.5833875866486],[116.29607447424138,29.58353958327557],[116.29562047378164,29.58360558204687],[116.29563647367493,29.584060571880567],[116.29549347355982,29.584133570676155],[116.29467947414844,29.584051572407247],[116.29408347429704,29.583618582114244],[116.29355947351704,29.583882575957325],[116.29332147386557,29.584116570900083],[116.29242247406523,29.584330566532163],[116.29054147372581,29.584261567628324],[116.29009547366195,29.584386565401804],[116.28968947378117,29.584382565648962],[116.28951947390193,29.584263567502838],[116.28940447427429,29.584001573756243],[116.28919047401475,29.58241960757867],[116.28897547392978,29.58214161359112],[116.28881847357101,29.582060615229445],[116.28802047405316,29.5818806189831],[116.2876174736472,29.58160462500357],[116.28751147424012,29.582155613026014],[116.28718347417689,29.582521605510546],[116.28682347342838,29.582750600713318],[116.28605447422272,29.58290159756417],[116.28528647394407,29.582062615138767],[116.28542047383866,29.581443628876215],[116.28540647359522,29.580741643357456],[116.28511647406572,29.580043659128968],[116.28492147407215,29.5798806621164],[116.28374347371445,29.579659667305727],[116.28332647396307,29.579424672197018],[116.28125447382806,29.579020680542424],[116.279145473883,29.57906968008187],[116.27768447366789,29.579380672739912],[116.27680747360915,29.578972681728843],[116.27668047428594,29.578807685344678],[116.2766874739587,29.578594689713636],[116.27685747383802,29.578506691659438],[116.27745047421482,29.57869668761422],[116.27771747417846,29.578618689599544],[116.27789447373063,29.578237697826125],[116.27792047367018,29.577707708815474],[116.27803047417352,29.577284717955855],[116.27747847380489,29.576447736534384],[116.27727947361329,29.576414736765575],[116.27691847393824,29.576578733137744],[116.27645247378314,29.57627373976296],[116.27593647429796,29.57523676243156],[116.2758764740237,29.574711773460074],[116.27528047417213,29.574673774514906],[116.27461747347519,29.57437978047934],[116.27462047384824,29.57449877855799],[116.27488047413901,29.574826771013843],[116.27525747370748,29.574942768472827],[116.27532247400467,29.575207763161973],[116.27531847380665,29.575307760520023],[116.27495947378141,29.575551755281825],[116.27483747358269,29.575495756970938],[116.2747024738636,29.5752997610766],[116.27415247404289,29.57506376594441],[116.27371847367463,29.575146764508258],[116.2736614737732,29.57520776315613],[116.273698473583,29.575427758307033],[116.2736184741154,29.57545175737942],[116.27334847377878,29.575247761953886],[116.27310547410451,29.57538675876914],[116.27304747347995,29.575258761482996],[116.27281247420169,29.575229762221],[116.27273647403368,29.57514876456355],[116.27273547420891,29.574852770286387],[116.2723954735522,29.57445977870943],[116.27188347426456,29.574367780806693],[116.27158147414069,29.574511778230452],[116.27148347423147,29.57444477972509],[116.2713174736518,29.57447677853793],[116.27107747345224,29.57469277436406],[116.27070947410478,29.574282783083525],[116.2707134743028,29.57416978498475],[116.27091247359621,29.573873791744568],[116.27054747372334,29.57370579548914],[116.27052047395922,29.57358579799355],[116.2705984737771,29.5734028021245],[116.26978947349029,29.57314880714315],[116.26891747345445,29.572656817694483],[116.26848647345923,29.572717816282683],[116.26791747427006,29.57301081041503],[116.26760047407768,29.573020810137372],[116.26749647432064,29.572895813131815],[116.2673214735202,29.57286581313938],[116.26722147396117,29.57268781701483],[116.26703247381533,29.572695817443684],[116.26686047428628,29.57256481970601],[116.26660847349291,29.572575819527593],[116.26663747380528,29.57239882373018],[116.26657247350803,29.57221482721354],[116.26616947400032,29.57224282649986],[116.26598047385436,29.572375823986373],[116.26578047383796,29.57209583034672],[116.26545747379777,29.57224082716237],[116.26553647344035,29.572524820620835],[116.26594547369399,29.572996810481087],[116.26598047385384,29.573541799120598],[116.26562847350127,29.573814793138443],[116.26556947394924,29.573789793633644],[116.26546247382002,29.57358179779634],[116.26564647394316,29.57330480373881],[116.26562647385174,29.573129807755254],[116.26534947384242,29.57298481065157],[116.26513147428271,29.572561820316334],[116.2648284734358,29.57251982112283],[116.26487247381682,29.572194827599986],[116.2645724742415,29.571540841842364],[116.2648114737178,29.571419844833667],[116.2650504740925,29.57116385019924],[116.26506647398614,29.570990853771523],[116.2653244737291,29.570578862938028],[116.26543947425533,29.570130872271648],[116.2646164737248,29.570083873230363],[116.26437947389826,29.570302868529037],[116.2643054742783,29.57051386431421],[116.26434447373792,29.57087185624382],[116.26399747430655,29.571018853394847],[116.2639714734691,29.570718859999715],[116.26355147424306,29.570464865299947],[116.26349747381647,29.57019587113158],[116.2633604735491,29.57031986827624],[116.26318147344911,29.56990887712882],[116.26301147356993,29.569766880336147],[116.26301247429325,29.56957988423957],[116.26281447392664,29.56932488971395],[116.2626984735759,29.568912898332698],[116.2625994738417,29.56885189978802],[116.262602474215,29.568386909981015],[116.2624304737877,29.56808691657966],[116.26226747358093,29.568430908739042],[116.26200847401314,29.568535907031563],[116.26205847424163,29.569008896093013],[116.26195247393645,29.568920898277334],[116.26193847369285,29.568761901648422],[116.26177347383657,29.56847490825875],[116.26146847423803,29.568512907189593],[116.26152047411654,29.56867290352289],[116.26147447408574,29.568831900291773],[116.2616014743072,29.569038895666537],[116.26142447385679,29.569303890223207],[116.26107447405244,29.569427887681062],[116.26097547431824,29.569387888138966],[116.26072047405042,29.568787900923237],[116.26075547421073,29.56824891299586],[116.2608554737699,29.568116915641763],[116.26081047356412,29.567996918536203],[116.26056647406494,29.568068916346885],[116.26023247415424,29.567926920091754],[116.26014647394082,29.567260934314444],[116.25992747365773,29.56725493445002],[116.25994047407619,29.568039917362576],[116.26009547388664,29.568467908365736],[116.26005047368066,29.568780901055547],[116.2602964737276,29.56949688577637],[116.26059747402633,29.569903877494692],[116.26078147414908,29.570396866367396],[116.26071847350157,29.570410866654726],[116.260523473508,29.57022886979654],[116.26019447362032,29.569711881234518],[116.2598184738767,29.56976187991148],[116.25988347417393,29.569908877117225],[116.26015847363513,29.570094873307394],[116.2602614735672,29.570331867628134],[116.26014647393946,29.57043286598439],[116.2601634736577,29.57069086027605],[116.26029247352915,29.570731859375293],[116.26042747414658,29.570919854972953],[116.26022347393189,29.571255847877293],[116.2602264743051,29.570939854832353],[116.26007747344386,29.570987853542352],[116.26005247422782,29.57109785108717],[116.26010147373313,29.571399845051996],[116.26021247406119,29.571461843686084],[116.2603964741842,29.571399845053044],[116.26040747405476,29.571563841759453],[116.26018347374874,29.571768836876384],[116.25996247381583,29.571712838029537],[116.25967447393555,29.572309825661844],[116.25990147371607,29.57266181793279],[116.25987047375389,29.572771815216566],[116.25995047411976,29.57290581284011],[116.25975147392809,29.573077809061576],[116.25948747343915,29.573172806721292],[116.25927747427532,29.572880813108117],[116.2592664735065,29.572606818852947],[116.25913147378732,29.57256182029522],[116.25902047345922,29.57261981877883],[116.25886647347333,29.57286681316157],[116.25882247399055,29.573273804577852],[116.25869047374599,29.573548798630235],[116.25876647391387,29.57369079557324],[116.25909247342868,29.573796793129034],[116.25890547383078,29.57426578317702],[116.25875147384494,29.57435278098438],[116.25805147423627,29.57439478019313],[116.25784147417397,29.57465077523024],[116.25767247411952,29.57470677400879],[116.25742947354674,29.575369759034967],[116.25705547345287,29.575489756752727],[116.25677047394579,29.575686752300722],[116.25641447429366,29.575670752695103],[116.25591547362808,29.57595474666045],[116.2557814737337,29.576163742315188],[116.2554894736557,29.576027745067233],[116.25546947356436,29.57577575048836],[116.25533747421832,29.575561755465873],[116.25522747371507,29.575735751897852],[116.25477547380336,29.57600474536855],[116.25442147380107,29.576073744440023],[116.25415547366246,29.575792750094404],[116.25438947401432,29.575436757696703],[116.25422947418078,29.575381759348904],[116.25410947363183,29.575457757468676],[116.25400247350163,29.575708752035755],[116.2540504740804,29.575944747221005],[116.2546774738938,29.576664731203746],[116.25499047388797,29.577206719549494],[116.25481947418342,29.578099700947917],[116.25491147424488,29.578108700167675],[116.25516047376702,29.577871705352187],[116.25528647416361,29.577955703954856],[116.25542147388283,29.577917704670686],[116.25572847402961,29.577627710729335],[116.25576547383923,29.578197698571547],[116.25562947429515,29.578284696896898],[116.25554847410429,29.578217697770526],[116.25517947403343,29.578215697771256],[116.25493647346075,29.578430693413633],[116.25436947392164,29.578038701701978],[116.25433347393663,29.578110700165674],[116.25457747343567,29.578393694303788],[116.25421547393572,29.57850869157197],[116.25406347359974,29.578649688574604],[116.25404947425429,29.578725687359654],[116.25425447429357,29.579025680402264],[116.25410447360733,29.57926067565665],[116.25390747396382,29.579411672261735],[116.25374147428228,29.57980666405764],[116.25380847422929,29.580033659209743],[116.25405847357611,29.580321652534927],[116.2540184742914,29.580428650135502],[116.25385147388693,29.5802686536806],[116.25379847418345,29.580297653056565],[116.25397047371241,29.580685644690373],[116.25398247430608,29.58119763346112],[116.2538294741452,29.581234633103815],[116.25353047349621,29.581072636422327],[116.25328247379909,29.581125635634145],[116.25295047353806,29.581353630130188],[116.25262047382505,29.581744622282507],[116.25245647379359,29.581728622075275],[116.25238147345044,29.58181462051923],[116.25219647350251,29.581827620040876],[116.25214647417232,29.58148662733058],[116.25203747349414,29.581303631720445],[116.25132547419011,29.580914640144343],[116.2508694740805,29.581105635439595],[116.25077647419413,29.581059636793185],[116.25018847384008,29.58120563398408],[116.24993547412011,29.58112363568202],[116.24958147411806,29.580720643776356],[116.24920047345331,29.580663645232175],[116.24904947384056,29.580715643903595],[116.24902847392414,29.580809642216078],[116.24849947401975,29.580669645077847],[116.24843447372241,29.580696644389803],[116.24851047389032,29.580803642374452],[116.24848447395102,29.580920639967566],[116.24828947395727,29.58106363666748],[116.24819047422318,29.580916640077795],[116.24795747369637,29.580951639098323],[116.24789147357403,29.58114863492579],[116.24766047359539,29.581212633760373],[116.2476184737627,29.58102063791352],[116.24733847427852,29.581177634047148],[116.2474604735788,29.581414628914516],[116.24722647412538,29.581466627980053],[116.24694647374304,29.58125963230307],[116.24681047419885,29.58144262877336],[116.24689247421443,29.581751622010152],[116.24677147384038,29.58236360902262],[116.24660347361088,29.582415607599497],[116.24627947374584,29.582333609498935],[116.24606547348554,29.58252860505983],[116.24575947406223,29.582416607553853],[116.24572047370407,29.5826216032899],[116.24555647367245,29.582813599215555],[116.24492947385868,29.582991595452135],[116.24476247345403,29.583174591125772],[116.24445547420534,29.584066572127877],[116.24467447358997,29.584420564684972],[116.24519047397368,29.58498955173574],[116.24596547392515,29.585585539052197],[116.246137473454,29.586132527533728],[116.24631847410215,29.5862635248512],[116.2462244734924,29.586575517918735],[116.24656847344906,29.58637752183008],[116.24646347386738,29.585619538093056],[116.24658547406615,29.585558539487604],[116.24670147351877,29.58560553913429],[116.24682547426524,29.58653651884007],[116.24693747351974,29.586827512098708],[116.24705647424373,29.58686351132757],[116.24714147373427,29.586750514032122],[116.24736147384226,29.586748514204025],[116.2472274739477,29.5873415015589],[116.24690547373244,29.587395500511153],[116.24671947395964,29.58729550262835],[116.24670947391401,29.587198504377064],[116.2466184736774,29.587203504707688],[116.24659547411107,29.587381500234425],[116.24686447372444,29.587640494864303],[116.2469054737322,29.587990486993508],[116.247062474091,29.588085485462816],[116.24709347405303,29.588285481124647],[116.24681847369348,29.588189482943086],[116.24662247387509,29.587809491265777],[116.24651947394287,29.587993487479608],[116.24669047364699,29.588120484340344],[116.24669147347187,29.588233482445556],[116.24651947394274,29.588266481473696],[116.24645647419364,29.588099484857413],[116.24639747374405,29.58826448167449],[116.24625747400191,29.588314480537907],[116.24604247391699,29.587886489304232],[116.24595947407627,29.587968487578667],[116.24595647370312,29.588262481874075],[116.24554047377654,29.588383479005007],[116.24546147413378,29.588543475093353],[116.2450444734838,29.588854469028654],[116.24489447369605,29.58883646938007],[116.24405147397255,29.588189482933338],[116.2437414734528,29.588392478863494],[116.24420047393518,29.588845469202067],[116.24445647402794,29.589341458199268],[116.2442604742093,29.58943945583998],[116.2441424742085,29.58966245165621],[116.24380847429774,29.589553453915507],[116.24366047415973,29.589604452807496],[116.24349747395316,29.589563453561418],[116.24319347417973,29.58920946107785],[116.24321147372316,29.589019465386087],[116.2430294741484,29.58877547036874],[116.2420134741723,29.588729471308923],[116.24178347401877,29.588290480601856],[116.24131247384064,29.58827448143133],[116.24106347431861,29.588335479956946],[116.24073647408069,29.588066485753956],[116.24044647365236,29.58828548110126],[116.23974647404377,29.588206482781658],[116.23961547362408,29.588486476260893],[116.2397334736247,29.588869468193494],[116.2396834742942,29.5890894632525],[116.23977647418057,29.58916146242645],[116.23996047430367,29.588983466134216],[116.24027047392445,29.590232438699417],[116.24019447375647,29.590271437913742],[116.24016447361916,29.590443434230068],[116.24004147359557,29.590320437465945],[116.23950747366824,29.590464434003138],[116.23931947424575,29.59009444189487],[116.23914547416847,29.590020443622354],[116.2394414735459,29.590721428780103],[116.2391924740239,29.59066242988416],[116.23903047364233,29.590348436414946],[116.23889747357303,29.59025943857307],[116.23892647388519,29.59059043099952],[116.23916047423677,29.59091342413705],[116.23916547425951,29.591141419175326],[116.23922047361275,29.591227417409975],[116.23933147394081,29.591199417920578],[116.23927247349138,29.59098442291826],[116.23938147416965,29.590949423470903],[116.23960947377505,29.591355414756855],[116.2397074736841,29.59184840432198],[116.23963147351608,29.591944402145792],[116.2394884742993,29.591969401840245],[116.23938747401685,29.59216539739064],[116.23911647385523,29.592352393048824],[116.23903547366423,29.592632387521594],[116.23876347367776,29.592519389654985],[116.23873447426351,29.59307537749017],[116.23881847392883,29.59359536622899],[116.23868547385948,29.593594366381932],[116.23855947346301,29.59302737834588],[116.23834247372818,29.59286138243242],[116.2383114737662,29.592526389435008],[116.2381794735218,29.592333393381264],[116.23804547362752,29.592355393402823],[116.23773247363287,29.592914380919698],[116.23748347411075,29.593094377010317],[116.23745447379844,29.593217374297893],[116.23757247379913,29.593328372464907],[116.2376014741114,29.593483368504202],[116.23757747382187,29.593592366684874],[116.23726647347726,29.593658365130786],[116.23734147382025,29.593862360839157],[116.2373524736907,29.594317351292958],[116.23707747422947,29.594298351216683],[116.23702347380276,29.594356349708566],[116.23716747374264,29.59461734407304],[116.2373374736217,29.595304329359532],[116.2373564738882,29.595456326002974],[116.2372904737659,29.59554832420932],[116.23715947424465,29.59557132413797],[116.2370854737266,29.595343328956037],[116.2367344740975,29.595011335885488],[116.23662247394452,29.595006335941168],[116.23649947392086,29.59510533416034],[116.23629447388112,29.595875317169227],[116.23620847366738,29.59597531513982],[116.23571647357271,29.596238309640803],[116.23535747354765,29.59607531300855],[116.23512947394205,29.596059313511173],[116.23468147422837,29.596247309582424],[116.2343444739446,29.596059313508395],[116.2339764736986,29.596131311612382],[116.2337094737352,29.59552832452579],[116.23355447392451,29.595445326317318],[116.23340747361142,29.595577323867666],[116.23333847401433,29.59587131708166],[116.23315647354114,29.595935315952573],[116.23294047363098,29.596286308809137],[116.2327244737209,29.596289308268087],[116.23244147386377,29.596107311983932],[116.23228047420531,29.59612831214207],[116.23205847354915,29.596294308146156],[116.23204747367845,29.596404306232884],[116.23169047420137,29.596496303573616],[116.23139047372726,29.596967293999256],[116.23124347431248,29.59694229397999],[116.23081347414234,29.596648300761156],[116.23051347366847,29.596561302642755],[116.23039047364477,29.596679299747517],[116.23030147395615,29.597140289643267],[116.23021447391748,29.59721828818421],[116.23006547395461,29.5971792893112],[116.22982847412808,29.59736728485804],[116.22959747414944,29.597355285583973],[116.2292884734548,29.59707129169104],[116.22876847377128,29.596884295403843],[116.22869947417439,29.596768298168506],[116.22874147400728,29.596537303115774],[116.22892647395521,29.596365307034638],[116.22956447363958,29.59643330486895],[116.2299264740379,29.59617131069692],[116.23003747346775,29.595969315398865],[116.22989547407593,29.5957913193994],[116.22957247403573,29.595875317145566],[116.22931647394282,29.595672321427493],[116.22923747430035,29.595127333552362],[116.22941747422544,29.594964336689117],[116.22917147417826,29.5948083399654],[116.2287494735058,29.594371349607254],[116.22814547415648,29.59468934317575],[116.22772947422992,29.594658343574896],[116.2270764735787,29.594480347603856],[116.2264434739171,29.594679343249627],[116.22574747360805,29.594879339117657],[116.22600447352582,29.5951693326998],[116.22584247404228,29.59563932246542],[116.2257244740412,29.59633630757789],[116.22559647399454,29.596654300421644],[116.22538247373424,29.5969262946003],[116.22504347380043,29.597160289757184],[116.22435847426037,29.59720528828072],[116.22346947360762,29.597131290534733],[116.22197547378097,29.59656830211387],[116.22185647395524,29.59661930136552],[116.22172647425877,29.59691429448066],[116.22100347418576,29.596637301184327],[116.22026647386886,29.59661730094561],[116.21930547414426,29.596806297352124],[116.21872247381305,29.597037292568054],[116.21847247356781,29.59702529247358],[116.21819247408374,29.59690629517727],[116.21716747388676,29.596991293367665],[116.21665247422591,29.5972522871613],[116.21595347354393,29.597161289536434],[116.21575347352729,29.597424284070804],[116.21492047384912,29.597768276232284],[116.21392547378919,29.598386263314975],[116.21334647365583,29.59883625313504],[116.21334747348065,29.59898824992402],[116.21356047391586,29.5992522441733],[116.21373047379493,29.59973423421615],[116.21416847346265,29.600029227596284],[116.21400147395612,29.60068921331094],[116.21388547360512,29.600830210565146],[116.21365347380154,29.600848209634663],[116.21244847367979,29.600380220261183],[116.21212147344163,29.600446218952403],[116.21176447396454,29.600702212736852],[116.21151747409247,29.60041721911598],[116.21123847353496,29.600321221543076],[116.21035147343028,29.600341221041663],[116.21003047393855,29.599789232557466],[116.20990047424223,29.59968223517714],[116.20812447348466,29.59985523162987],[116.20774147406811,29.600530216713263],[116.20812447348408,29.601169203170883],[116.20823047378906,29.601681191890233],[116.20798647428985,29.601839188447723],[116.2077494735651,29.601817188931022],[116.20763847413544,29.601736190742855],[116.20755647411981,29.601407197714355],[116.20764747345824,29.601052205621812],[116.20754947354902,29.60090420869635],[116.20722147348594,29.60106520500741],[116.20703147351507,29.601250201029163],[116.20660347389293,29.601291200209996],[116.20633347355627,29.60117720289848],[116.20619547346402,29.60120420219047],[116.20602647430778,29.601617193532398],[116.20607547381321,29.6017001913484],[116.20661947378623,29.601814188850682],[116.20666847418987,29.602205180607417],[116.20610647377497,29.602611171891784],[116.205406474166,29.603301157436473],[116.20533447419594,29.603416154438225],[116.20548147361062,29.603746147688707],[116.20478147400158,29.604597129419275],[116.20451747351248,29.605021119553932],[116.20167047342596,29.604150138741343],[116.20167947364672,29.604333135091892],[116.20149647424687,29.60454413002727],[116.20160347347854,29.604791125163807],[116.20157347423954,29.605051119349145],[116.20140347346185,29.605239115063068],[116.20125347367379,29.605768103453826],[116.2010104739994,29.6061550958307],[116.2011084739084,29.606824081070883],[116.20104147396114,29.607132074184037],[116.20087847375451,29.607184073272798],[116.20072247411895,29.607124074921412],[116.20055447388954,29.606942078663423],[116.20048247391964,29.606726083133555],[116.20047047422277,29.609742018437885],[116.19973547355573,29.609668019738102],[116.19864247358693,29.609240029285637],[116.19682947391814,29.60847404556784],[116.19603747424821,29.608045055030768],[116.19343147418623,29.606977078004213],[116.1925194739675,29.606288092333838],[116.19157447413696,29.605165116931616],[116.18978747350955,29.603430153996037],[116.18783947412173,29.602308178546874],[116.18680847407722,29.60186118788426],[116.18650647395351,29.60182118869764],[116.18620047363176,29.601901187051748],[116.17930647425602,29.604703126444896],[116.17210247346196,29.60826104999364],[116.16375947356579,29.613530936276067],[116.16332147389784,29.613750931431955],[116.1456574737649,29.62260374070274],[116.14519047378465,29.62273473750219],[116.1437844738212,29.62288273439361],[116.14194247383956,29.623331724654378],[116.14273947353196,29.624715694479715],[116.14354947364346,29.625510677800694],[116.14435047353376,29.627041644887754],[116.14492347381874,29.627887626086903],[116.14565647393682,29.629700587347802],[116.14682647389773,29.632022537243465],[116.14716747348078,29.633007515837214],[116.1475784742825,29.633601503123018],[116.14925347385778,29.63721642489968],[116.14944047345521,29.637910410102062],[116.14995047399093,29.639057384818308],[116.15059947354497,29.641147340012026],[116.1511284734485,29.643288293829297],[116.15200147420666,29.645874237450037],[116.15228747353832,29.646530223902634],[116.15242447380531,29.647218209138288],[116.15326547387828,29.64943016088286],[116.15395447361567,29.6507871319366],[116.15431547418851,29.651825109181257],[116.15535947375263,29.65434005504341],[116.15614847394741,29.655778024002785],[116.15820547401245,29.65916895046291],[116.15848547349631,29.65978193740862],[116.15962347367038,29.661490900692197],[116.16165847399445,29.664089844051375],[116.16393747381765,29.66678278593754],[116.16487447415066,29.667735765112006],[116.16659547375731,29.669874719484486],[116.16920647384134,29.67283265510537],[116.17000847355658,29.674382622015898],[116.17176547404631,29.677054564141738],[116.17209147356093,29.67771854936059],[116.17437347375672,29.681478468233568],[116.17534747389927,29.683264429739054],[116.17609247371323,29.68438240508586],[116.17628347350873,29.684810396150876],[116.17757447384328,29.687292342848433],[116.17794647428686,29.688210322744002],[116.17864547407076,29.687773331761626],[116.1793984742815,29.68705034798782],[116.18032247419673,29.68560137896074],[116.18417647404097,29.68077448385711],[116.18829547419848,29.67718256100505],[116.18950547344546,29.67620758193991],[116.1952884742078,29.671968674274005],[116.1976614737439,29.670889697502037],[116.20078447401598,29.66934273103286],[116.20614147390708,29.666519791491147],[116.20689147374456,29.66619579879191],[116.210380473714,29.665703809885876],[116.21199947411276,29.66556581261534],[116.21697847371082,29.66577080787361],[116.21734947343144,29.6659908036735],[116.21743147344718,29.666135800499646],[116.21764147350954,29.665810807431722],[116.21797447359546,29.66577580821278],[116.21814047417507,29.665812807254763],[116.21826247347535,29.666030802364396],[116.21826147365041,29.666212798807422],[116.2184244738568,29.666649789064312],[116.21867447410207,29.66646879331696],[116.21888447416451,29.666142799856384],[116.21942647358952,29.665891805631038],[116.21996547353972,29.665893805452573],[116.22033747398356,29.666040802236264],[116.22083647375086,29.665934804871863],[116.22145747371663,29.666300796809185],[116.22186847362012,29.666774786152704],[116.22206847363614,29.667755765482983],[116.22269147415025,29.66775976505031],[116.2231454737115,29.668124757483955],[116.22363747380568,29.6688897404278],[116.22384447349485,29.66899973809928],[116.22430247415255,29.668819742559286],[116.22447747405525,29.667549769719347],[116.22494347421103,29.666426794235903],[116.22624147422,29.66500182498554],[116.22625147426636,29.663658853421794],[116.22650347416156,29.663296861765303],[116.22626847398585,29.66128390485902],[116.22549047366167,29.659935934554422],[116.2241724735624,29.658512964651607],[116.22367547344508,29.658437966664437],[116.22347247395403,29.65789297863526],[116.22231947371115,29.656555007423076],[116.22176547369237,29.656674004541518],[116.22148947350792,29.656612005992795],[116.2222624738105,29.65504203968474],[116.22247947354597,29.65377206778282],[116.22428747409104,29.652570093684247],[116.22533347420487,29.65148611701597],[116.22447647423792,29.650288142410254],[116.22480847360093,29.649459160917846],[116.22545247403173,29.648775175706813],[116.22559647397202,29.648101189835888],[116.2263654740762,29.647547201994684],[116.22749047383232,29.647337206632635],[116.22757747387065,29.648057190705565],[116.22778947358262,29.64832618488293],[116.22848347424151,29.648843174103963],[116.22889147377208,29.64902417033301],[116.22941247417893,29.649092168553196],[116.23009847354373,29.64937216234243],[116.23114047345908,29.64943416145053],[116.2317834740647,29.64920116594265],[116.2324074735054,29.64908216857603],[116.23274247413949,29.64910016839815],[116.23288147405655,29.649264165231365],[116.23288847372916,29.649451161141535],[116.23260847424498,29.649596157600726],[116.23090247380743,29.650108146983406],[116.23047247363709,29.650318142032038],[116.22995247395352,29.650217144041704],[116.22907747354438,29.650278143338298],[116.22890947421313,29.65038314074015],[116.22884247426595,29.650578136629125],[116.2289904735055,29.650774132201118],[116.22914747386432,29.65084813037471],[116.23066347343251,29.650937128595903],[116.2317704736453,29.650655135140312],[116.23333347396748,29.650711133876634],[116.23476747352015,29.650154145370315],[116.23542547419424,29.650394140685385],[116.23600647397741,29.649949150323888],[116.23620447344602,29.649499159972184],[116.23615947413855,29.64935316329797],[116.23602947354388,29.649344163410046],[116.23575847428056,29.649440161126243],[116.23514347416236,29.649494159604654],[116.23507047346912,29.64943616083042],[116.23509047356075,29.649209165778917],[116.2352034735387,29.649079169135877],[116.23587547355841,29.648790175380046],[116.23806147349654,29.64837418427454],[116.23849047384192,29.64819018818386],[116.23887547380654,29.647785197142035],[116.23923347400701,29.647206209078835],[116.23933747376422,29.646897215781024],[116.23928347423649,29.64549424645871],[116.23937447357486,29.64525525128962],[116.24019247408305,29.644096276176793],[116.24037347383329,29.64354328828667],[116.24159947387152,29.643918280066476],[116.24226847351785,29.64412327569015],[116.24215447371496,29.64437527047036],[116.24218147347906,29.644481267906844],[116.2422454739515,29.644595265423117],[116.24251547428815,29.6446372650517],[116.24290847375025,29.644403270027635],[116.2452524738723,29.64364028621873],[116.24492847400737,29.643370291878053],[116.24485547421251,29.643138297302524],[116.24523147395635,29.642627308521146],[116.24569947376158,29.64228831558165],[116.24574747344222,29.642049320609377],[116.24595447402987,29.641839325487204],[116.24651547372149,29.641516332329058],[116.24661647400376,29.641615330156984],[116.24660647395797,29.641785326806673],[116.24682947354067,29.641835325675586],[116.24680447342648,29.641436334187947],[116.24698947427291,29.641052342690212],[116.2475684735078,29.640803347879835],[116.24770847414823,29.640779347962138],[116.2479034741418,29.640886346220245],[116.24829447395403,29.640807347738075],[116.24833347341385,29.640652351067175],[116.24793647375411,29.640118362248916],[116.24793847340402,29.639947366521042],[116.24812647372507,29.639712371357362],[116.24842547347585,29.63947037678166],[116.24980647422333,29.63906238527116],[116.24994347359248,29.63894638816293],[116.25012347351772,29.63847539789776],[116.25071247369671,29.63812940529657],[116.25065847416849,29.63791741021147],[116.2504644739998,29.637750413845648],[116.24986847414822,29.637697414719508],[116.25025647358774,29.636869432812794],[116.25020447370949,29.63629144542254],[116.25143547377081,29.636087449682552],[116.2522294739889,29.636490440531908],[116.25299447389443,29.637495419094968],[116.25344847345565,29.637848411293827],[116.25403347343655,29.63800640815899],[116.25449047426926,29.63789541077569],[116.25466247379866,29.637383421740427],[116.25523347353604,29.63701742926253],[116.25540447413881,29.63648944112191],[116.25536247340793,29.635854454529895],[116.25564247379043,29.63575845635222],[116.25611747416654,29.635785455753314],[116.25619347343626,29.63563145937126],[116.25619447415957,29.63545246369609],[116.25598147372436,29.635198468797714],[116.25619447416013,29.634150491217063],[116.25602947340558,29.633758499774075],[116.2562004740082,29.63345050682262],[116.25561447420246,29.63325951070792],[116.2555214734177,29.633324509502998],[116.25537247345481,29.633299509910668],[116.25533647346987,29.633168512791414],[116.2555504737301,29.633072514395757],[116.25554147350927,29.632990516099746],[116.25571747413473,29.632954516941624],[116.2557454737237,29.63313051322707],[116.25604447347445,29.63308351464949],[116.25615447397756,29.63331150959336],[116.2563774735602,29.63337850804092],[116.25664747389695,29.63332250904013],[116.25674247343329,29.63306351461885],[116.25684447354048,29.63313651308112],[116.25698447418094,29.633015515773298],[116.25724547429682,29.63298451624682],[116.25720847358856,29.633089514506608],[116.25668447370684,29.633404507846755],[116.256598473493,29.63370850080173],[116.25645847375091,29.633756500098187],[116.25642047411604,29.633853498070692],[116.25651147345421,29.634090492523324],[116.25633247425222,29.63448348445647],[116.25647047344607,29.634654480873802],[116.25704647410438,29.634853476089226],[116.25724047427306,29.635009472533557],[116.25779147391894,29.634751478767036],[116.25802447354738,29.634745478233036],[116.25804347381282,29.637385421357695],[116.26547747386026,29.638481398264332],[116.26574847402246,29.637121427063278],[116.26574547364974,29.636343444356974],[116.26538947399787,29.635863454096942],[116.26439247428873,29.63499747308115],[116.26512447368485,29.633962495582868],[116.26529147408938,29.6339724955112],[116.26551747404527,29.633865497716585],[116.26567147403097,29.633903497005587],[116.26574547365097,29.63359850362762],[116.26631947376114,29.633799499044407],[116.26607647408711,29.633366508403082],[116.2659854738507,29.633052515177987],[116.26599847426958,29.632765521183398],[116.26629847384528,29.632533526382637],[116.26633247418054,29.632431528270168],[116.26608547341007,29.6323195307433],[116.26588147409386,29.632440528106187],[116.26566247381078,29.632453528129744],[116.26548947355847,29.63237552951977],[116.26547947351281,29.632296531387265],[116.26561947415327,29.63207153644607],[116.26598847422424,29.631843541039654],[116.26601547398853,29.631508548720888],[116.2661234739437,29.63132055280958],[116.26640047395311,29.631207555356546],[116.2673724735481,29.631666545383858],[116.26791047367347,29.63142055076801],[116.2682354742616,29.631724543465488],[116.26833347417093,29.631734543615796],[116.2685084740733,29.63118355550141],[116.26884047343616,29.630801563687978],[116.2695594742099,29.630283575272326],[116.26949447391273,29.62998858140716],[116.269556473837,29.629865583686428],[116.2700854737416,29.62945959284924],[116.27050647369083,29.62991258298898],[116.27064847398096,29.630186576989086],[116.2708614735179,29.63022557636875],[116.27107847415127,29.630033580122422],[116.27107647360324,29.62981258510357],[116.27120947367277,29.629486592379397],[116.2711584736192,29.629299596090714],[116.27144647349937,29.629145599163213],[116.271456473545,29.629313596013805],[116.27161147425392,29.629509591595504],[116.27164747423883,29.629694587736253],[116.27156547422294,29.630040580424833],[116.2711424737253,29.63021957634616],[116.27130547393152,29.631037558827057],[116.27215647405126,29.63094056048817],[116.27286147368307,29.630292574532668],[116.27386347341569,29.62970758734191],[116.27185147355625,29.626794650058613],[116.2700904737669,29.62400271023498],[116.27047947392944,29.623644718627187],[116.27043447372398,29.6226677394453],[116.27065247418223,29.622546742058095],[116.2708844739858,29.622584740931533],[116.27137147405719,29.623152728662713],[116.27151047397443,29.62299673259967],[116.27137747390519,29.622612740298923],[116.27154347358665,29.622367745781528],[116.27162247412801,29.621601762652006],[116.27186447397733,29.621586762871054],[116.27257347380676,29.621760758799507],[116.2725994737459,29.621970754398138],[116.27249947418672,29.62215175050958],[116.2725444734942,29.6222907475188],[116.27277947367068,29.622528742183583],[116.2728144738305,29.623172728325834],[116.27315447358907,29.623213727965087],[116.27360947387378,29.6229427331926],[116.2735464741247,29.622741737980782],[116.27360547367596,29.622664739219605],[116.27401847412779,29.622648740038972],[116.27414347380137,29.622310747353573],[116.27470147401812,29.622304746860582],[116.27467147388104,29.622038752931033],[116.27486047402715,29.621395766922497],[116.2750374735792,29.62125677024131],[116.2752414737937,29.621294768820228],[116.27582847342455,29.62101477505817],[116.27654147345193,29.621103773093147],[116.27703147389653,29.621434765807287],[116.2773464735407,29.621504764616372],[116.27747747396022,29.62163276179808],[116.2778994737345,29.621695760370823],[116.2781584742006,29.621629761532866],[116.27852047370058,29.621361767461302],[116.27916547395586,29.621603762597207],[116.27952847417909,29.621408766826573],[116.27968747418771,29.621405766552837],[116.27974347426418,29.621468765266233],[116.27971147357866,29.621780758759026],[116.27977547405088,29.62213975108778],[116.2801254738552,29.622221748846325],[116.28033647374237,29.6221777501159],[116.28037047407771,29.621835757584144],[116.28065147428518,29.62165576125507],[116.2809214737236,29.62164376174951],[116.28135547409168,29.62189975637878],[116.2815644734307,29.621815757664926],[116.2815364738417,29.621711759716998],[116.28141247399313,29.62168676036659],[116.28132647377954,29.621441765939714],[116.28150747352969,29.62098577569348],[116.28166847408649,29.62094877657471],[116.28184447381349,29.621006775357603],[116.28193047402723,29.620908777153687],[116.28194247372295,29.620706781430982],[116.28208247346498,29.620639783147364],[116.28220647421186,29.620649782836264],[116.28232047401454,29.62091477695219],[116.28253447427475,29.620914776952954],[116.28253847357458,29.620576784698482],[116.28268347423784,29.620517786089607],[116.2827684737284,29.6202937909756],[116.28253047407712,29.620231791890465],[116.28248547387132,29.620087794902727],[116.28265547375065,29.61999479685333],[116.28290147379784,29.620213792377147],[116.28291947423953,29.62008979485296],[116.28333947346592,29.619717802928044],[116.28357547346745,29.619653804313742],[116.28352747378695,29.61952480737204],[116.28375847376573,29.61919081429427],[116.28361047362776,29.61917481456013],[116.28296147407256,29.61959580553158],[116.28287647368379,29.61957880627299],[116.28284547372215,29.61849582937759],[116.28234747378002,29.618048839417334],[116.28225747426674,29.617844843435275],[116.28230647377227,29.617712846137028],[116.28267147364527,29.617494851037875],[116.28283447385192,29.61749085103802],[116.28398947374468,29.618486829860156],[116.28410247372258,29.61848282989945],[116.28418647428653,29.618389831930596],[116.2840554738672,29.61786584297815],[116.28395547340982,29.61773984569302],[116.28316747393774,29.617517850648845],[116.28314647402146,29.617338854807986],[116.28325547380139,29.617289855887112],[116.2835164739173,29.617260856212432],[116.28387547394242,29.617337854418395],[116.28383747340935,29.61717585792428],[116.28354647405465,29.61700586191047],[116.28368347342368,29.616807866202706],[116.28337147415266,29.61659987001508],[116.28299447368579,29.616733867223193],[116.28289447412668,29.61670886819993],[116.28306147363303,29.616507872269604],[116.28334547421343,29.616381874850138],[116.28353847365908,29.61612188098977],[116.28358847388797,29.61570888970517],[116.28327047387107,29.61484290803795],[116.28366047385856,29.614403917746166],[116.28388347344111,29.61479690915756],[116.28379147427782,29.615088903303313],[116.28395147411133,29.615206900596668],[116.28431147396144,29.615037904022145],[116.28441447389373,29.614740910763135],[116.28454647413824,29.61465391263552],[116.28464647369735,29.614450916451386],[116.28460347403984,29.614212922235158],[116.28452447349879,29.614173922905955],[116.2839984739674,29.614246920994884],[116.28397347385308,29.614144923112857],[116.28418747411337,29.613997926306215],[116.28449747373476,29.613935928035804],[116.28468647388056,29.614005926585982],[116.28548547412142,29.6147139111943],[116.28541047377824,29.615038904440965],[116.28508147389013,29.61544589522359],[116.28475047345398,29.615561892839725],[116.28474947362899,29.61574788844427],[116.28432647402957,29.616243877907124],[116.28530447347256,29.616087881304693],[116.28573647419104,29.61586288609165],[116.28613747404914,29.615491894594637],[116.28679147362723,29.61504990354289],[116.28786747387828,29.613814930328733],[116.28881247370965,29.613080946084334],[116.28933247429174,29.61276995343298],[116.29019847358178,29.61256095784932],[116.29101247389158,29.612472959745194],[116.29173647378964,29.612497959040226],[116.29193347343318,29.61236296200666],[116.29222747405971,29.6114669810434],[116.29261947369717,29.610615999498112],[116.29244347397021,29.610412004092723],[116.29201847382294,29.61020800827367],[116.29054747356247,29.609653020061785],[116.29035747359212,29.6085630440687],[116.29038547407968,29.608303049566594],[116.2906984740743,29.607799060093868],[116.29099047415238,29.607637063891673],[116.29175647388332,29.60747906704774],[116.29565847430426,29.607667062935363],[116.29627047404941,29.607531065974086],[116.2966644742348,29.607240072298804],[116.2969374740465,29.60666008498527],[116.29763747365551,29.605843102734546],[116.29812947375014,29.605575108084267],[116.2987374741957,29.60536611320542],[116.30021147393126,29.60507311928763],[116.30122947355733,29.60472312706867],[116.30175947418519,29.60434713492921],[116.3023234742501,29.603429154642924],[116.30144547346958,29.599621236803454]]]},properties:{name:"城山镇","fill-opacity":0,"stroke-opacity":1,stroke:"#ff0000"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[116.41262047350011,29.72340656143023],[116.4131014737245,29.722238586427597],[116.41357247390272,29.72192759330524],[116.41431147386957,29.721710597875937],[116.41508547399637,29.721660598936587],[116.41640547374618,29.72140160495885],[116.41781047388469,29.721290607561127],[116.41823847350688,29.721140610814135],[116.41852647338713,29.720651621372056],[116.41870947368555,29.71996063570178],[116.41873447380048,29.718581666189305],[116.41890347385511,29.71795367946831],[116.41908047340723,29.717622686726305],[116.41968647420319,29.716943701115593],[116.4200374738325,29.716665707835368],[116.42060147389729,29.71622471739304],[116.4219814739216,29.71565472959583],[116.4220814734808,29.715526731865754],[116.42206747413631,29.713341779405855],[116.42127947376686,29.711100828364113],[116.4210344735451,29.709722857552627],[116.42112247340884,29.70926286758925],[116.4218914735132,29.70832888773574],[116.42199747381868,29.707594903727312],[116.42183347378736,29.707257911051208],[116.42081647398639,29.707068915169813],[116.42046647418218,29.706854919674957],[116.42019547402076,29.706482927763894],[116.42013547374646,29.70606493672841],[116.41979947418602,29.70567194585377],[116.41973247423901,29.70535495267834],[116.42015547383862,29.704547969907146],[116.42019147382375,29.704245976254125],[116.41953347404818,29.703560991134324],[116.41926347371168,29.703098001634693],[116.41809347375052,29.70154803511045],[116.41773447372563,29.70089604912467],[116.41704047396502,29.700299061670233],[116.41692947363711,29.69996206948282],[116.41696647344735,29.6992470849783],[116.41683447410135,29.698899092304455],[116.41585947413381,29.69738212493466],[116.41561747338643,29.6967641382075],[116.41464447396694,29.695356168681396],[116.41443947392779,29.6948681796982],[116.41445047379855,29.694575185558314],[116.41459447373875,29.69427819205435],[116.41525947408586,29.693684204755204],[116.41547547399605,29.69335021191969],[116.41595847386996,29.692849223316664],[116.41816847409751,29.69245423139656],[116.41844647393194,29.692294234897084],[116.41871847391869,29.69177524650564],[116.41904047413406,29.69142925379647],[116.41910447370829,29.691120260549297],[116.41907747394445,29.69026827906489],[116.41898047386026,29.68990328663678],[116.41820347336076,29.689161303221688],[116.41769747392098,29.68894630735394],[116.4170684735593,29.68852831670046],[116.41692747399242,29.688266322479848],[116.41709047419931,29.68762633637227],[116.4168654740687,29.686932351443822],[116.41690147405404,29.686253365920244],[116.41673747402281,29.6856173798954],[116.4167614734142,29.684991393289888],[116.41630847367807,29.68424540904088],[116.41600847410285,29.683302429953375],[116.41593647413318,29.682502446973075],[116.4162274734882,29.681980457932877],[116.41616947376201,29.681676464836027],[116.4155934740021,29.681312472958513],[116.41368547389881,29.68045549144684],[116.4128854738328,29.680368493118024],[116.41191447406233,29.680802483449675],[116.41165647342116,29.680946480230862],[116.4106414741679,29.681817461872786],[116.40994747350852,29.682238452357716],[116.40970947385706,29.682476447342882],[116.408465473376,29.684929394217995],[116.4081064742487,29.68593437288929],[116.40803947340287,29.686811354008835],[116.40783947338619,29.687213344930775],[116.407667473857,29.687350341677025],[116.40640747348336,29.687610336551685],[116.40465747356347,29.68750533897977],[116.40370747370969,29.687305342826324],[116.40269847340655,29.68671835592509],[116.4010074739363,29.686378362764565],[116.40001847372454,29.685987371552642],[116.39941847367515,29.685819374864817],[116.39906447367281,29.685802375861535],[116.39861247376115,29.68601637093791],[116.39775847416635,29.686912351119172],[116.39687947355895,29.687632336024034],[116.3967414734666,29.68786133116113],[116.39673647344351,29.68836032028853],[116.39619947404118,29.689087304281493],[116.39523947414128,29.689665291984692],[116.39473047343003,29.689684291238873],[116.39445747361839,29.69012028204808],[116.39417047356292,29.6908052675113],[116.3941344735775,29.69181024517335],[116.39353447352723,29.693507208536285],[116.3933614741728,29.694383189491933],[116.39339547360933,29.695306169806123],[116.39373347371753,29.69645314491032],[116.3944364736988,29.69743512375601],[116.39434547346202,29.69784711491824],[116.39319447376609,29.699369081726747],[116.39301447384089,29.699746073661334],[116.39354847376758,29.70106704494856],[116.3938604739369,29.7015570341427],[116.39385947411188,29.70176302967552],[116.39404447405967,29.702065023772594],[116.39426647381714,29.70290800532112],[116.39424547390061,29.703131000398606],[116.39409347356464,29.703198998707627],[116.39349647388813,29.703238998194507],[116.3929354741967,29.70315000022464],[116.39265847418719,29.703354995293047],[116.39247147369116,29.703327996079935],[116.39229647378917,29.703001003220056],[116.39096047414617,29.702496013836157],[116.39080347378739,29.702366016622285],[116.39067747339088,29.702039023751823],[116.39056947343589,29.701978025414654],[116.39018547419471,29.701959026141243],[116.3898694738271,29.702258019442343],[116.38827647336673,29.70446597123092],[116.38992647372709,29.705562947930105],[116.38866947372615,29.706505927213723],[116.38768947373501,29.70669392308321],[116.38594047363969,29.707353908756836],[116.38549947359849,29.708054894181313],[116.38490347374682,29.70817789150584],[116.384235473925,29.708723879530304],[116.38323547384218,29.7093648656973],[116.3824824736315,29.709947852690302],[116.38206147368183,29.710474841232706],[116.38193647400792,29.71150981879889],[116.38214947354435,29.712914788254828],[116.38230047405519,29.713234781628817],[116.38204147358891,29.713849768576548],[116.3812554737663,29.71435975729098],[116.38028447399604,29.71435375760061],[116.37948547375501,29.714037763954163],[116.3788054742381,29.713543774715458],[116.37811647360184,29.713368778892214],[116.37779247373679,29.713426777459482],[116.37768047358372,29.713618772938503],[116.37785747403393,29.713909767277126],[116.37748947378772,29.71426375912222],[116.37738547403053,29.714567752706067],[116.3767434741481,29.714943744336924],[116.3764464740472,29.714837747048836],[116.37596047380046,29.71485674622313],[116.37566947354728,29.715077741670825],[116.37598947411242,29.715666728652096],[116.37587847378433,29.715784726607996],[116.37569947368414,29.715806726184592],[116.37547447355304,29.716406713290137],[116.37542647387211,29.71721469533643],[116.37501047394565,29.717093697737525],[116.37382747356462,29.71790368083659],[116.37351247392039,29.71788668102125],[116.37349447347863,29.718042677418424],[116.37416747422121,29.7185156675506],[116.37378347408125,29.719509645527687],[116.37334847388811,29.719573644602935],[116.3732274735142,29.71989963716974],[116.37298947386287,29.71980163932318],[116.37254647417218,29.719813638824128],[116.37229247372906,29.71963464316928],[116.37137947368512,29.719710641677995],[116.37107247353839,29.719872637717483],[116.37172647401455,29.720091632746197],[116.37165747351912,29.72031362852037],[116.37133447347907,29.720185631268556],[116.37101847400986,29.7202586296951],[116.37096447358303,29.72071061961061],[116.37087647371936,29.720861616364378],[116.37057847379357,29.720926614720433],[116.37045847414291,29.72103761252524],[116.37016047421717,29.720968614451202],[116.37009247354683,29.721027612670547],[116.37034647398993,29.72113361044343],[116.37097847382655,29.72103361274187],[116.37129247364584,29.721183609651373],[116.37135947359286,29.721362605663664],[116.37118747406363,29.721658599291988],[116.37085347415274,29.721871594303234],[116.37087747354377,29.72210258965779],[116.37046747346493,29.72223958640689],[116.37016747388915,29.722675577103367],[116.37002147340098,29.722660577567115],[116.36984447384907,29.72250358119864],[116.36970747358167,29.722561579949517],[116.36959547342863,29.72275457524351],[116.36916047413376,29.72290057220781],[116.36888547377403,29.723269564558585],[116.3690884741635,29.72344956008871],[116.36909647366106,29.723627556624574],[116.36889947401757,29.72366355531511],[116.36870447402394,29.723580557423922],[116.36861747398522,29.723803552615507],[116.36834547399873,29.72371255470294],[116.36824247406655,29.72383755179561],[116.36823247402066,29.724170544545977],[116.36799247382109,29.72434754125406],[116.3676434738417,29.724308541700655],[116.36757247369648,29.72459753526123],[116.36770847413884,29.724784531477773],[116.36771447398647,29.72511852430686],[116.36747747416008,29.72498352700899],[116.36727247412067,29.72502652592434],[116.36732147362608,29.72520552210334],[116.36746647339098,29.725287520111653],[116.36736347345877,29.725398517773893],[116.36701447347937,29.72537451854144],[116.36690247422464,29.725514515795794],[116.36655447407026,29.725230521471808],[116.36641847362782,29.725229521371833],[116.3663324734141,29.72532551996084],[116.36615447403724,29.72519752208071],[116.36591547366265,29.725315519753014],[116.36568147420911,29.725765510107593],[116.36470147421804,29.725677511916643],[116.3645314734405,29.72551351569073],[116.36438647367548,29.725584513951024],[116.36408547337646,29.726045504105265],[116.36419447405461,29.72632849759342],[116.36476047376867,29.727037482235996],[116.3645384740107,29.72719947893034],[116.36450947369823,29.727674468960252],[116.36365747375362,29.727737467433204],[116.36345147388926,29.727877464510758],[116.36372247405079,29.728124458875076],[116.36343147379753,29.72841245307834],[116.3633514734314,29.72885044360556],[116.36347747382791,29.729237434655246],[116.36332147419218,29.72957742782087],[116.36261347418757,29.729722424163427],[116.36246847352406,29.730266412698253],[116.36262847335752,29.730542406436875],[116.36296947383926,29.730633404396446],[116.36317847407634,29.73126639075699],[116.36343147379613,29.73160938339654],[116.36331847381807,29.732033374344926],[116.36317247422815,29.73221137047416],[116.36315247413647,29.732619361585844],[116.3633294736883,29.732940354562796],[116.36313147421978,29.73331034667444],[116.36296047361719,29.73345034377616],[116.36295747414229,29.733851335214066],[116.36262247350808,29.734221327085343],[116.36268947345512,29.734546319642828],[116.36257747420038,29.73470931669879],[116.36261847420822,29.734814314054724],[116.36228647394725,29.73476731541416],[116.36236547359003,29.734567318999762],[116.36226347348284,29.734440321997322],[116.36213547343637,29.734432321934612],[116.36204047390007,29.734602318438952],[116.36190447345766,29.734608318475058],[116.36184747355641,29.7342143270129],[116.36164347424032,29.734064330081694],[116.36194247399102,29.734014331056063],[116.36212847376378,29.73417932743814],[116.36226647385612,29.733912333683186],[116.36217447379475,29.733668338794295],[116.36085647369511,29.733199349175987],[116.36072847364862,29.733221348835524],[116.3605994737771,29.733383344905935],[116.36044747344131,29.733093351667303],[116.36032747379068,29.73312135069555],[116.35977747397004,29.73264336141243],[116.35944247423423,29.73291535553887],[116.35897447353096,29.73261536146748],[116.35894247374405,29.732333367799512],[116.3587464739255,29.732242369822366],[116.35809747347214,29.732394366410997],[116.3580364733727,29.73254236344491],[116.35787447388932,29.732579362083722],[116.35776247373623,29.73274835858342],[116.35791147369878,29.733574341184678],[116.35778047417733,29.734034331279137],[116.3568274739506,29.733693338378167],[116.35671547379756,29.733826335628844],[116.356588473576,29.733803336087053],[116.35636847346811,29.73349734222933],[116.35599347354942,29.733509342432903],[116.35591747338152,29.733383344889454],[116.3558684738762,29.733056352421336],[116.35593847419652,29.73273735908572],[116.3562904736508,29.73242036557268],[116.35627447375735,29.732256369447754],[116.35582047419582,29.732528363842984],[116.3557354738071,29.73246136514507],[116.35570347402015,29.732141372226675],[116.35555147368429,29.731961375907336],[116.35562047417966,29.731784379368452],[116.35532447390386,29.731366388376827],[116.3549564736578,29.73161638361823],[116.35537847343181,29.7323023684513],[116.35548647338663,29.73275635877195],[116.3551454738031,29.732776358479164],[116.35512947390966,29.732657360974134],[116.35505947358936,29.732909355385598],[116.35517547394005,29.733474343388362],[116.35459347343382,29.733499342257314],[116.35464347366245,29.733670338798653],[116.35456947404255,29.733914333682083],[116.35467547344936,29.734094329617225],[116.35458647376068,29.73459131912481],[116.35425147402476,29.73504930923189],[116.35423647395628,29.734767315385827],[116.35412347397828,29.73498131065516],[116.35401247365024,29.734988309890888],[116.35404047413773,29.734691316576136],[116.35396447396984,29.734550319638778],[116.35376847415127,29.734593319134415],[116.35345147395877,29.73481431402245],[116.35308447353769,29.734811314009065],[116.35311947369784,29.734685316541324],[116.35288247387155,29.734468321397028],[116.35266947343618,29.73448232149972],[116.35275547364944,29.735589296972424],[116.35256947387654,29.735876290814208],[116.35231247395852,29.736097285995925],[116.351526474136,29.736419279528516],[116.35147447335905,29.736627274478284],[116.35167547409867,29.737066265003442],[116.35181147364268,29.737163263168124],[116.3520414737964,29.737165263130127],[116.35211747396434,29.737292260582418],[116.3522454740108,29.737278260871634],[116.35238047372991,29.737561254655553],[116.35234447374486,29.737717250887194],[116.35243847345613,29.737755249932903],[116.35248847368467,29.738105242803385],[116.3525704737005,29.73802924418372],[116.3525394737384,29.737890247205335],[116.35283547401448,29.737679251829235],[116.35290747398462,29.737425257744523],[116.35308647408476,29.737318260044397],[116.35353747417125,29.737620253262968],[116.35358447402686,29.737880247475108],[116.35381747365521,29.738102242894353],[116.35389247399804,29.738632230925617],[116.35413147347418,29.738911224936896],[116.3541724734818,29.739463213223843],[116.35432247416792,29.739460213351357],[116.35444247381858,29.73930621662944],[116.35465447353062,29.739356215359003],[116.35471647345494,29.739229218180604],[116.35492747424038,29.739313216345458],[116.35548347390905,29.73923621790302],[116.35526847382373,29.739684208306873],[116.35523247383854,29.740084199831205],[116.3550724740048,29.74060518879157],[116.35509947376892,29.74069518625577],[116.35534047379329,29.740667187002256],[116.3556884739477,29.740933181554542],[116.35578347348427,29.74020919680859],[116.35598947334866,29.73992120293226],[116.35625247401265,29.740027201024986],[116.35655947415927,29.740008201155586],[116.35666147336813,29.740138198760913],[116.3569434734004,29.74005520046047],[116.35715847348551,29.74010119979144],[116.35720147404153,29.74007220041979],[116.35711847420095,29.739809205787367],[116.35719947349358,29.739735207588918],[116.35733247356289,29.73991720312456],[116.35766247417402,29.740010201063875],[116.3578674742134,29.73996920223583],[116.35793247361251,29.739658208690997],[116.35821147417016,29.7394242141018],[116.35863947379225,29.739544211337254],[116.35861647422591,29.73976020646446],[116.35845247419445,29.739761206418574],[116.35845447384419,29.739872204447483],[116.35890447410588,29.739960202665532],[116.35911247361994,29.74009119950487],[116.35926947397877,29.740075200281765],[116.35935147399447,29.74013919872126],[116.3594504737285,29.74045119150293],[116.35955347366067,29.740504191063078],[116.35987347422612,29.740420192337563],[116.36020047356583,29.74049419081201],[116.3602184740076,29.740394192904343],[116.35981347395182,29.740032200797522],[116.35982447382278,29.73939121470645],[116.35949647375989,29.73911122050892],[116.35956247388212,29.739015222631075],[116.35988947412021,29.739169219801326],[116.35999847390016,29.739076221863694],[116.36028547395526,29.739158220235606],[116.36053547420055,29.739032222769175],[116.36061647349305,29.739155219574616],[116.36063047373666,29.739213218840252],[116.36043247336994,29.739298216976454],[116.3603844736892,29.739774206615447],[116.3604844741463,29.740466191502513],[116.36027947410683,29.740640187703356],[116.3604354737424,29.74064618737923],[116.36058347388047,29.74052718985143],[116.36059147337812,29.740307195019273],[116.36066947409434,29.7402161972571],[116.36092247381427,29.74013419897209],[116.36080847401176,29.739541211474233],[116.36087147376115,29.739065221509478],[116.36121347406797,29.738835226952652],[116.361362474031,29.73863523084967],[116.3615904736366,29.738639231494073],[116.36181347411778,29.738273239416902],[116.36221947399855,29.738213240448932],[116.36226547402943,29.738064243230227],[116.36232347375562,29.73833423754108],[116.36237847400717,29.73831323819184],[116.36255047353642,29.738037243994167],[116.3626714739103,29.73797024585646],[116.36265547401679,29.73785924806257],[116.36329447352603,29.737988245362914],[116.3636714739928,29.7379592461614],[116.36378647362065,29.737782250065784],[116.3638004738644,29.73756825453188],[116.36396547372084,29.737527255485396],[116.36428447356305,29.737589254038976],[116.36479847339898,29.737330259833435],[116.36501947423037,29.736972267519928],[116.36507047338557,29.737097264474095],[116.36484047413,29.73742825772039],[116.3641854738287,29.737851248278407],[116.36403747369044,29.738552232873854],[116.36420847339461,29.73859523221514],[116.36468147412104,29.738305238446628],[116.36472447377881,29.738062243295612],[116.36447947355654,29.737929246200153],[116.36456147357234,29.73776824964564],[116.36491147337655,29.737961246111073],[116.36503847359822,29.737873247701085],[116.36523847361491,29.737432257633504],[116.36550847395141,29.73785724812524],[116.36554847413431,29.73809724307942],[116.36595447401515,29.73800424492878],[116.36600047404681,29.735911290625083],[116.36614247343877,29.735740294004497],[116.36615547385766,29.735549297940327],[116.3665194739057,29.73555629791814],[116.36687647338275,29.735366302283317],[116.36748747420124,29.73544430057855],[116.36758547411048,29.735606296960007],[116.36719747377296,29.73568229507435],[116.36706747407655,29.73580529286724],[116.36628747410141,29.737131263835057],[116.36627547350732,29.73766825214595],[116.36634247345434,29.737934246071298],[116.36631247421535,29.738065243216084],[116.3660064738935,29.738438235827374],[116.3661284740919,29.73901822254047],[116.3660194734136,29.739275217149462],[116.36618947419112,29.73943421370985],[116.36624747391751,29.739275217150276],[116.36652647357673,29.73927721707026],[116.36678347349476,29.73900322311022],[116.36694547387648,29.738976224126503],[116.36704247396086,29.738872226411416],[116.36755647379658,29.73917621955218],[116.36742347372713,29.739280216951943],[116.36787147344059,29.73967720866278],[116.36779347362275,29.739762207186125],[116.36756347346908,29.73962921000499],[116.36706147422711,29.739692207991666],[116.36689547364739,29.73979020591003],[116.36682847370012,29.740005201334984],[116.36708547361764,29.741106177824683],[116.367317473421,29.741448170418803],[116.36755447414568,29.741523168851494],[116.36756247364352,29.741073178198807],[116.3676504735071,29.740956181063066],[116.36799547418686,29.740953181235923],[116.36799847366163,29.741039179400044],[116.36784147420099,29.741212175446613],[116.36790747342474,29.741568167572986],[116.36750447391688,29.741788162757455],[116.36747647342943,29.741892160568884],[116.36762047336943,29.74202215807208],[116.3677884735989,29.74200915817401],[116.36787247416281,29.74197915864163],[116.36782547340886,29.741837161875928],[116.36798247376777,29.7417101647197],[116.36828747336627,29.741659165669894],[116.36856347355074,29.741732164074904],[116.36864047354355,29.741859161204047],[116.3685644733755,29.74202815766806],[116.36860447355835,29.742320151451064],[116.3687194740842,29.74265414439806],[116.368683474099,29.743175132486837],[116.3689794734765,29.743563124346935],[116.36881647416813,29.7438041188194],[116.36936847363874,29.743788119410077],[116.36960747401326,29.743922116448484],[116.36976947349642,29.744495104071937],[116.36967447396007,29.74470109962073],[116.36993247370268,29.745154090075758],[116.37009047388638,29.745252088117248],[116.37030647379645,29.7452420883382],[116.37038347378947,29.744874096372452],[116.37044047369089,29.744869096074048],[116.37052347353143,29.745094091325445],[116.37026747343816,29.745706078317927],[116.37068747356247,29.74610006909335],[116.37051347348506,29.74651406074708],[116.37024247422167,29.746741055195788],[116.37004347403006,29.746771054862922],[116.3700284739614,29.746863052800308],[116.37069047393513,29.747068048284547],[116.37083047367709,29.747258044370035],[116.37080947376035,29.748124025561165],[116.37102147347228,29.74835402065308],[116.37111947338143,29.748693013107268],[116.37135547338288,29.748878009134646],[116.37112847360204,29.74922600167867],[116.3711054740356,29.749760990245854],[116.37126547386906,29.749995984744857],[116.37097247396609,29.7500109848718],[116.37093347360799,29.750189980921927],[116.37164147361234,29.75062697087587],[116.37207547398025,29.751247957754174],[116.37257847394542,29.751345955299573],[116.37262947399886,29.75167194834922],[116.37283947406101,29.751904943380886],[116.37312847376569,29.752684926745783],[116.37301747343736,29.753217915149165],[116.37345747365329,29.753347912006554],[116.37353147417134,29.753668904924833],[116.37332847378165,29.75391089987481],[116.37340247340143,29.754035897550523],[116.37355647338723,29.754038896987982],[116.37380447398266,29.75385090168559],[116.37405247367975,29.753803902610613],[116.37434747413069,29.75421389362526],[116.3744264737732,29.754553886347093],[116.37445647391056,29.75420689339182],[116.37459147362988,29.753920899574254],[116.37485847359356,29.753849901095265],[116.3751234739077,29.75322191521831],[116.37528147409148,29.753127917235048],[116.37552647341546,29.753273913668245],[116.37561847347672,29.753817902359735],[116.3759084739049,29.753858900985968],[116.376163474173,29.75376690323047],[116.37619547396021,29.75346890956216],[116.3765234740232,29.75338791101598],[116.37662647395543,29.753296913427278],[116.37676147367482,29.75290092165447],[116.37711747422527,29.75276592509534],[116.37726247399013,29.75299591967559],[116.377450473413,29.752354933790183],[116.37727547351096,29.752152938473177],[116.37778047402433,29.751969941918826],[116.37802547334849,29.751718947663857],[116.37837647387593,29.751956942532164],[116.3782614733498,29.752206937140922],[116.3783204737993,29.752296935110188],[116.37878247375666,29.752192937174136],[116.37921247392684,29.75226793536929],[116.3791684735461,29.751929943139093],[116.37921547340184,29.751766946776613],[116.37980047338293,29.751429954257453],[116.37995047406925,29.750873966180094],[116.38007347409284,29.750956964105654],[116.37997047416053,29.751426953963175],[116.37967647353426,29.75165494882247],[116.37952347337331,29.751887943892385],[116.37964947376996,29.751991941367113],[116.37990247348992,29.75196994192631],[116.38043047356928,29.75222093633535],[116.38053247367645,29.75244393180903],[116.38069147368508,29.752535930000345],[116.38100447367948,29.752517929989086],[116.38115047416765,29.75243393196883],[116.38116347368808,29.752620927763715],[116.38146247343863,29.752886922579236],[116.38137747394813,29.75304091872046],[116.38168747356931,29.753403911253066],[116.38162647346992,29.75349290910936],[116.3814754738572,29.753437910539166],[116.38123847403065,29.753725903805574],[116.38109947411346,29.753776902957185],[116.38101947374746,29.753974898868474],[116.38115347364163,29.754276891832507],[116.3809444734042,29.754340890564666],[116.38083747417237,29.75451988668147],[116.38090947414233,29.75465888400372],[116.38087947400501,29.75479288054932],[116.38060347382044,29.755050875080915],[116.38023147337647,29.755121873488704],[116.38004847397656,29.755394868055774],[116.38004047358041,29.755852858291878],[116.38013647383984,29.75602085399192],[116.38028547380262,29.756144851584807],[116.38064347400294,29.75612785201325],[116.38068847420868,29.756336847203322],[116.38029647367294,29.756994832786894],[116.38032047396234,29.75706083168824],[116.38067947398743,29.757280827193046],[116.38103147344154,29.757367825169446],[116.38107247344924,29.757846814909776],[116.38128047386179,29.757486822206726],[116.38158247398557,29.757291827114678],[116.38160147335394,29.757206828634995],[116.38156247389426,29.757030832764567],[116.38140047351266,29.756840836485402],[116.38142747417531,29.756426845366057],[116.3813744735736,29.75630384791212],[116.38162447381886,29.756252849266865],[116.38174447346917,29.75692483471337],[116.38184847412444,29.757180828875445],[116.38199247406442,29.757217828562936],[116.3824004735953,29.756737838372157],[116.38279447378048,29.756901835014645],[116.38273647405424,29.756608841801583],[116.38295647416228,29.756593841881898],[116.38305147369873,29.756101852761258],[116.3832574735631,29.755953855403543],[116.3834284741656,29.75595285561091],[116.38377547359678,29.756192850925785],[116.3840294740399,29.756276848916716],[116.38415547353834,29.75617085084771],[116.38434247403433,29.756231849780505],[116.3847434738923,29.756202850396527],[116.38478447390018,29.756094852665395],[116.38460947399814,29.755880857220827],[116.38455947376953,29.755678861991317],[116.3843294736158,29.75566986226687],[116.38417247415536,29.755584863970704],[116.3841134737058,29.755464866437446],[116.3844854741498,29.755419867716718],[116.3846314737397,29.755291870028863],[116.38478047370263,29.75524087086827],[116.38496747419865,29.75528187047183],[116.38529347371362,29.755129873477927],[116.38533647337125,29.755170873126364],[116.38514147337743,29.755615863131506],[116.38530747395693,29.755980855282402],[116.38527847364448,29.756316847530766],[116.38534347394162,29.75654084303727],[116.38560847335701,29.75693083420766],[116.38603547405248,29.75714782987446],[116.38612947376369,29.7572798266524],[116.38638647368164,29.757259827152737],[116.38642547403974,29.757186829136806],[116.38621747362735,29.75705483223603],[116.3858274736401,29.756963834075485],[116.38569247392094,29.756832836665662],[116.38574847399752,29.75666784012576],[116.38562147377621,29.756063853659118],[116.38536147348545,29.755549864839235],[116.38543847347846,29.755363868849003],[116.38567947350276,29.755380868552262],[116.38596047371006,29.755673862236513],[116.38605047412159,29.755905856750026],[116.38630347384164,29.755760860048152],[116.38640547394877,29.755907857118462],[116.38631047351419,29.75601585427101],[116.38633047360557,29.75622185032307],[116.38624647393998,29.756312848375785],[116.38652447377422,29.756439844972913],[116.38706547337422,29.756470844647577],[116.38716047380866,29.75681483743015],[116.38747847382585,29.756969833559726],[116.38767647419252,29.75695883360658],[116.38783047417824,29.75703483269622],[116.38784747389657,29.757349825268957],[116.38803747386714,29.757780815770854],[116.38794247343256,29.757881814047348],[116.38817347341107,29.75810580917598],[116.38817747360899,29.758207806895967],[116.38841147396077,29.758097809442962],[116.38833147359497,29.757764816251733],[116.38823247386084,29.757683818056474],[116.38824347373152,29.757513821689876],[116.38865447363534,29.75732682566692],[116.38878947335445,29.75743582340915],[116.38895347338597,29.757412823824545],[116.38912247344027,29.7576318195594],[116.38922147407283,29.757508822025198],[116.38937147386054,29.757750817063087],[116.38953647371694,29.757845814385405],[116.38937947335798,29.75808880916024],[116.38915747360018,29.758118808550606],[116.38880747379555,29.75871779550053],[116.3888284737119,29.758849793329702],[116.38900947346181,29.758904792049556],[116.38916347344764,29.758860793077112],[116.38919047411008,29.75893879103062],[116.3892054741786,29.759068788264607],[116.38896347343086,29.759362781842167],[116.3889634734307,29.75971977399901],[116.38859747373287,29.759836771851706],[116.38858847351194,29.75990776998958],[116.38880947344478,29.760133764771762],[116.3888634738712,29.760664753841464],[116.38881847366524,29.76095174765355],[116.3885254737623,29.761016745764678],[116.38847647335854,29.760963746911095],[116.38844447357171,29.760403758916564],[116.38824247390542,29.760293761533013],[116.38804447353873,29.76032376104318],[116.38756347421297,29.760916748048327],[116.38741447335168,29.76092974783413],[116.38736647367134,29.76032276129121],[116.38721547405872,29.760255762447954],[116.38705247385208,29.760306761395924],[116.38701547404226,29.760190763841432],[116.38688747399571,29.760173764174702],[116.38690447371421,29.760083766260255],[116.38702947338767,29.760041767310252],[116.38685447348557,29.759871771043755],[116.38687447357715,29.759673775084547],[116.38670647334767,29.759663775183103],[116.38656847415373,29.759728774130235],[116.38658547387206,29.759955769068604],[116.38572047350844,29.760475757950914],[116.38546947343848,29.760197763651906],[116.38522247356617,29.76040175940759],[116.3851084737634,29.760353760534773],[116.38509547334468,29.760238762785203],[116.38480247344171,29.760264762531012],[116.38477047365474,29.76019876340031],[116.38425147379596,29.760349760754668],[116.38412347374937,29.760525756254445],[116.38427347353712,29.760685753172172],[116.38463447411041,29.76068475342751],[116.38466847354717,29.76085174986112],[116.38413147414506,29.76099274646319],[116.38418147347537,29.761195742420238],[116.38386547400613,29.761377737987512],[116.38356747408045,29.761185741889317],[116.38336947371377,29.76117974266265],[116.38337147336351,29.761285740113006],[116.38329247372083,29.761303739330234],[116.3834494740796,29.761385738237866],[116.38305947409225,29.7615707342309],[116.38304447402358,29.761757730134114],[116.38327547400225,29.76162673275371],[116.38345747357711,29.761627732490943],[116.38358947382153,29.761717730578827],[116.38357947377564,29.761945725423722],[116.38321647355254,29.762026724071564],[116.3830734734375,29.761881726866655],[116.38295647415994,29.761883727114096],[116.38303747345225,29.762479714211295],[116.3832224734,29.76272370917327],[116.38342247341652,29.762818706460244],[116.38345547392655,29.763269696698952],[116.38362547380582,29.76331369607601],[116.38396147336623,29.763776686128793],[116.38418347402238,29.763865684132092],[116.38407447334403,29.764066679522475],[116.38425447416726,29.76430467470006],[116.3841594737327,29.76437367337267],[116.38419947391563,29.76448767056759],[116.38430847369546,29.764677666384213],[116.38476547362976,29.76496766029035],[116.38484847347037,29.765131656719344],[116.38475447375889,29.765426650142377],[116.38431947356568,29.7656856442851],[116.38460447397065,29.766388629361288],[116.38479747341617,29.766342630397325],[116.38480047378903,29.76682961994074],[116.3845694738103,29.76696461704973],[116.38456547361233,29.767044615077893],[116.38418147347285,29.766962616901917],[116.38390547418652,29.76735860847307],[116.38447347355064,29.76745160668829],[116.38457347400806,29.76754060454566],[116.38468747381081,29.767538604411097],[116.38474147333922,29.767458605997845],[116.38487147393386,29.767567603635662],[116.38491247394154,29.767899596545746],[116.38531547344905,29.76847658379375],[116.38538247339609,29.768772577949658],[116.3852514738748,29.768833576227774],[116.38506447337878,29.768790577380567],[116.38509047421628,29.768953574125717],[116.38529547335726,29.769153569784745],[116.38547847365533,29.769195568815103],[116.3855324740818,29.76964155857645],[116.3857844739768,29.769659558632902],[116.38580047387033,29.769768556214665],[116.38565447338216,29.76977455570562],[116.385618473397,29.77006554932343],[116.38585047409892,29.770049550206256],[116.38600747355935,29.770123548640417],[116.38588247388581,29.77035654365647],[116.38598047379509,29.770409542219983],[116.3861404736287,29.770268544833517],[116.38634647349296,29.770297544827347],[116.3864964741792,29.770073549664332],[116.38650047347889,29.769898553435453],[116.38669047344972,29.76986255418734],[116.38688847381631,29.77012554794709],[116.38725347368913,29.77024354577773],[116.38745147405585,29.77020854630463],[116.38761547408717,29.770704535702055],[116.38699147374814,29.7707565344334],[116.38703947342866,29.77091053118439],[116.38724247381819,29.770956530391423],[116.38756647368315,29.77117652579612],[116.38770447377544,29.771153526246625],[116.38813747342056,29.770784533864322],[116.38893047381399,29.770651536519868],[116.38936147380896,29.77105552780549],[116.38961347370396,29.771196524865307],[116.38948947385528,29.771471519359537],[116.38953247351293,29.771598516236352],[116.3899504739876,29.771732513522846],[116.39003947367596,29.771903509571313],[116.39006247414022,29.77248649725515],[116.39067447388504,29.773096483824656],[116.39136547417121,29.772997486098618],[116.39162147336573,29.773421476675427],[116.39175147396034,29.77346147623845],[116.39204947388613,29.773437476815733],[116.39243647350045,29.773281480032608],[116.39277347378422,29.773389477173826],[116.39292647394501,29.773591473346247],[116.39337847385657,29.773660471861973],[116.39372947348582,29.773582473674953],[116.39383547379103,29.77347947561492],[116.39434547342894,29.77344347609551],[116.39436447369536,29.773818468069162],[116.39446547397753,29.774044463439957],[116.39484747356896,29.773963465152328],[116.3955534739237,29.774069463114266],[116.39595347395665,29.774267458694634],[116.3960634735614,29.77448345385097],[116.3963724733578,29.774465453883597],[116.3964694734422,29.774556452521463],[116.39698747347616,29.774146461316594],[116.39731747408759,29.7734864752943],[116.3973654737683,29.773150482922357],[116.39697647360623,29.7724184983652],[116.39690347381153,29.771868510701697],[116.3970134734165,29.77160651647803],[116.39741547399788,29.771113526576194],[116.39778547389442,29.769409563938154],[116.39788547345411,29.768136591568624],[116.39778747354491,29.767915596052436],[116.39764847362783,29.767797598599344],[116.39698047380637,29.76744360618507],[116.39686947347839,29.767275610141084],[116.39689847379078,29.76706961497935],[116.39717547380032,29.766635624044348],[116.39729347380111,29.766603624710566],[116.39778847337021,29.767009616092402],[116.39918247363778,29.767570603497724],[116.39964347377011,29.76785759780426],[116.40043047341736,29.76781659867092],[116.40154947332547,29.768130591992023],[116.40245747334649,29.76817459079636],[116.40305547374619,29.76829758771682],[116.40379547353791,29.768068592841164],[116.40426647371618,29.76779959875247],[116.40431647394499,29.76746460647629],[116.40405247345636,29.766830619693184],[116.40410447333498,29.766630624075955],[116.40520247332684,29.76662662455329],[116.40607047406337,29.766337630464783],[116.4069234738328,29.766402628984913],[116.40744247369163,29.76621663286577],[116.40768247389123,29.765976638166514],[116.4078164737857,29.765539648082232],[116.40753547357887,29.764322674236897],[116.40773447377147,29.762064723347457],[116.40798647366664,29.761740730041605],[116.40877547386222,29.761327739411286],[116.40898747357437,29.761138743223356],[116.40903247378046,29.76050275746612],[116.40911147342331,29.760358760145436],[116.40931347398795,29.760252762494993],[116.40980947338215,29.760180764072437],[116.40990347399183,29.760089766412616],[116.40989447377108,29.75993176961048],[116.40972447389184,29.75975077351007],[116.40838747352576,29.75904078875021],[116.4081534740725,29.75875879530874],[116.4081474742248,29.7585957983539],[116.40839647374688,29.758335804050795],[116.40855347410586,29.757982811515024],[116.40864347361952,29.757408823999352],[116.40882447336955,29.757116830491245],[116.40899947417014,29.756850836764993],[116.40932847405841,29.75603285394383],[116.40933947392925,29.755647862160707],[116.409113473974,29.7544148890015],[116.40975647368188,29.75305591849261],[116.40978947419225,29.75269192643506],[116.40968647336223,29.751777946627602],[116.4097994733403,29.751335956258593],[116.41013047377666,29.750624971318683],[116.41055847339891,29.750332977545604],[116.41144247402889,29.750207980714926],[116.41203647333246,29.750011984868724],[116.41222647420163,29.74984198874894],[116.41260847379333,29.74907400500536],[116.41283247409964,29.748250022671478],[116.41333547406536,29.74703704897351],[116.4133594734566,29.7467260562902],[116.41297747386633,29.744243110062495],[116.41300247398155,29.742338151110733],[116.41282047350853,29.741895160528664],[116.412346473856,29.741126177587468],[116.41254047402487,29.740899182126835],[116.41242847387198,29.74062218807864],[116.41269447401092,29.740253196368933],[116.41280447361582,29.74002020155948],[116.41274747371459,29.739648209326255],[116.41141647409512,29.737665252378093],[116.411246474216,29.73736825918885],[116.4112184737287,29.737112264354106],[116.41168247423451,29.73625728311207],[116.41187347403049,29.735538298137097],[116.4120804737199,29.73507630869672],[116.41239647408754,29.734634318026945],[116.4126274740663,29.734459321539703],[116.4127774738542,29.734160328198175],[116.41325747335507,29.733688338500663],[116.41343247415577,29.733238348577558],[116.41338747395015,29.73269236050584],[116.41353147389054,29.73195237659893],[116.41346247339547,29.73133338964959],[116.41335047414094,29.73109139481064],[116.41244347394525,29.72996941884073],[116.41212347338043,29.728729446166646],[116.41189647359991,29.72817545795658],[116.41196747374535,29.727521472329574],[116.41189847414888,29.726237499799005],[116.41233247361916,29.725477516271134],[116.41244347394783,29.72402354791154],[116.41262047350011,29.72340656143023]]]},properties:{name:"大垅乡","fill-opacity":0,"stroke-opacity":1,stroke:"#ff0000"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[116.31824547389442,29.746123068749995],[116.3173834739042,29.745849074772245],[116.31709647384908,29.74584307462716],[116.31693547419076,29.74553608172793],[116.31666147365605,29.745593080525275],[116.31640747411123,29.745474082626917],[116.31611247366016,29.74547208283043],[116.3160784742233,29.745397084232142],[116.31619447367606,29.745213088702748],[116.31687447409143,29.745399084811826],[116.3172504738351,29.745274087287367],[116.31760447383736,29.745312086590328],[116.3177264740361,29.74521008822723],[116.31780847405199,29.74496009410874],[116.31773947355677,29.74480609725263],[116.31729847351583,29.74485809616519],[116.31708647380394,29.74445410455153],[116.31724047378974,29.744347107330903],[116.31751647397427,29.744330107318223],[116.31770047409718,29.744560102533804],[116.31753247386787,29.744082113168606],[116.31760247418819,29.743896116959064],[116.31738747410317,29.743587123725096],[116.31723147356928,29.743558124580908],[116.31711947341626,29.74362712271763],[116.31672647395438,29.743401127374824],[116.31675147406892,29.74287513928221],[116.31649447415103,29.74283613991194],[116.3162644739974,29.74258314555372],[116.31585847411664,29.742384149831924],[116.3159334735615,29.742174154480587],[116.3160384740418,29.742108155917936],[116.31605947395835,29.741846161099247],[116.31597747394264,29.741767163169953],[116.31580947371307,29.741868161201683],[116.31559447362808,29.741583167217783],[116.31591147382062,29.74120217508119],[116.31583547365267,29.741178175730415],[116.31571747365213,29.740665186971512],[116.31553947337693,29.740649187058825],[116.31562847396344,29.74122517526486],[116.31557547336162,29.741372171810116],[116.31546147355883,29.741360171765482],[116.31541547352808,29.74131717283019],[116.31546947395492,29.74093118152702],[116.31541147422865,29.740807183835543],[116.31531847344401,29.740697186006557],[116.31481847385191,29.74059518840674],[116.31478147404205,29.740459191707842],[116.31485147346397,29.740369193252192],[116.31458547422369,29.740091199348196],[116.31434147382622,29.740055200310554],[116.31391247348084,29.74016719796322],[116.31340947351568,29.74000720105149],[116.31337347353097,29.73944321314514],[116.31345947374471,29.739376215166537],[116.31367347400484,29.739579210442713],[116.31375847349537,29.739565211050984],[116.31414247363496,29.73938521479529],[116.31412847339125,29.739313216201907],[116.31379447348048,29.73934321575092],[116.31364947371554,29.739274217005644],[116.31345147424726,29.739015222468808],[116.3127854740755,29.739044222143928],[116.31275947413619,29.739004222882365],[116.31298247371905,29.738859225914155],[116.31299047411498,29.738766228468748],[116.31290747337603,29.73872022930591],[116.31274247351965,29.738668230328347],[116.3122294735087,29.738703229895886],[116.31181947342985,29.738907224935268],[116.31120847350964,29.738934224715994],[116.31114847413346,29.73905522171777],[116.31139447418046,29.73954021134352],[116.3112864742254,29.739696208396808],[116.31110247410254,29.739388214659865],[116.31081947424546,29.73914921963488],[116.31034247421962,29.739002222949356],[116.31001447415653,29.73906822199535],[116.30989547343262,29.739026222819017],[116.30995747335695,29.738871226246992],[116.31032247412823,29.738824227169886],[116.31037947402966,29.738744228455733],[116.31058147369602,29.73876322856641],[116.31083647396419,29.738496233753423],[116.31152947390021,29.7383012383827],[116.31183047419906,29.738305238260654],[116.31232947396643,29.73806224311124],[116.31251947393716,29.73812924196862],[116.31290747337634,29.73807924340957],[116.31315747362162,29.73789224701345],[116.3130964735223,29.73780924919312],[116.31230647350205,29.737665252029327],[116.31196947411637,29.737893246982555],[116.31125647408886,29.73811324242752],[116.31094447391938,29.738113242426426],[116.31069247402428,29.738275239176033],[116.3103544739155,29.738263238760076],[116.30987947353955,29.738021244257585],[116.30972047353086,29.73814524149285],[116.30975847406388,29.73832423766648],[116.30969047339345,29.738565232249396],[116.30926247377116,29.738865225682986],[116.30954247415345,29.739271217112524],[116.30974647346956,29.739385214779816],[116.30990547347821,29.73937921502956],[116.31045547419745,29.739128220454766],[116.3106304740996,29.73914621975181],[116.31064747381802,29.73923821766504],[116.31016147357123,29.73936021503724],[116.30987947353887,29.739605210075045],[116.30977947397976,29.739612209768165],[116.30943147382538,29.739270217152512],[116.30912547350374,29.739087221260792],[116.30897447389103,29.73907822160715],[116.30898047373874,29.739272217070102],[116.30941547393178,29.739443213131196],[116.30971547350728,29.739758206382927],[116.30973247412396,29.739856204237434],[116.30955247419874,29.7403171943316],[116.30907747382261,29.740448191482187],[116.30906547412702,29.74050219021079],[116.30910247393678,29.74080818375761],[116.30939147364167,29.74100317971735],[116.30946747380952,29.741298173183154],[116.30938247342073,29.741287173849305],[116.30895547362373,29.740844183303512],[116.30895547362363,29.740961180570277],[116.30913347389875,29.741232174822382],[116.30859447394845,29.741432170425007],[116.30828347360395,29.74123617457941],[116.30802747351106,29.740882181940865],[116.30789547416492,29.740954180967265],[116.30775647334951,29.740921181289202],[116.30763247350129,29.740182197199623],[116.30748547408653,29.740169197841833],[116.30741447394135,29.74026819524409],[116.30718347396275,29.740241196599538],[116.30721247337692,29.73981020556598],[116.30704147367281,29.739583210245307],[116.30698847396926,29.739872204266376],[116.30684347420427,29.740009200932878],[116.30663447396684,29.740175197542374],[116.30643947397316,29.74020219698318],[116.30641347403392,29.74014919804371],[116.30666547392907,29.739962202387147],[116.30679347397566,29.73976520683543],[116.30692947351994,29.73934921547968],[116.30710947344497,29.739402214062505],[116.30729047409307,29.739647208999347],[116.30747347349283,29.739650208867392],[116.30799347407503,29.739170219579307],[116.3080464737785,29.738913224701083],[116.30787647389933,29.738769228344502],[116.3077314741346,29.738267238629277],[116.30784047391465,29.737955246074236],[116.30779347405907,29.73776724947136],[116.30779547370902,29.7375432549178],[116.30771447351825,29.737377258631046],[116.30742347416351,29.737277260734466],[116.30702147358232,29.737365258886385],[116.30689747373381,29.737318259881857],[116.30666447410547,29.736914268313132],[116.30678847395411,29.736727272084586],[116.306795473627,29.73628228170049],[116.3063284736469,29.736000288199087],[116.30614147404921,29.736057286956783],[116.30597547346959,29.735948289370768],[116.30614947354694,29.73568429485027],[116.30598047349261,29.73559629678155],[116.30589147380412,29.735587296814963],[116.30558147418274,29.735806292644956],[116.30527247348795,29.735817291798583],[116.30519247402029,29.735978288364592],[116.30490047394227,29.736005288154825],[116.30473047406294,29.736098285819725],[116.30457247387922,29.736065286883832],[116.30437747388552,29.736184284245486],[116.30401047346449,29.736150284566484],[116.30392747362365,29.736483277793127],[116.30406747336566,29.736506277500503],[116.30418947356448,29.736338281080624],[116.30433947335233,29.736289281617218],[116.30426047370943,29.736727272075708],[116.30436647401453,29.73693526794738],[116.30423247412013,29.737259261091463],[116.30353747363594,29.73740625798741],[116.30320447354985,29.737898246818148],[116.30305647341174,29.73822823979145],[116.30305147338869,29.738541233024467],[116.30290847417179,29.738806227009615],[116.30276347350826,29.73946821283116],[116.30284447369888,29.739967202136953],[116.30333047394527,29.740794184516812],[116.30333347341988,29.741157176152505],[116.30306347398141,29.741260173897714],[116.30297847359255,29.741413170800975],[116.30328847411228,29.741300173040116],[116.30355947337553,29.741382171153557],[116.30359347371065,29.741538168462068],[116.30381447364353,29.741506168914757],[116.30374347349834,29.741734163716895],[116.30346347401417,29.741875160693727],[116.30338247382319,29.742144154953117],[116.30340047336644,29.742450148169468],[116.30358647403747,29.742589145068262],[116.3036444737636,29.743067135310273],[116.30340547338876,29.743552124251067],[116.30314947419406,29.743630122416835],[116.30257447336062,29.74355012441438],[116.30210547373076,29.743217132030786],[116.30165647419223,29.74330612956971],[116.30151947392478,29.743486125808367],[116.30144847377956,29.743803118667945],[116.30181447347731,29.744000114868708],[116.30174247350723,29.744214109937147],[116.30119047403647,29.74437510628131],[116.30083047418643,29.74436810691904],[116.30085247392769,29.744467104856074],[116.30109847397492,29.744462104538076],[116.30120247373198,29.74454310327815],[116.30106747401274,29.74467009996636],[116.30105547341876,29.744825096935262],[116.3012544736103,29.744963093758976],[116.30090647345585,29.74490909509138],[116.30098147379879,29.745216088350183],[116.30075747349277,29.745359084908667],[116.30070747416225,29.74560508000675],[116.30039847346748,29.74561208006024],[116.30021547406781,29.745472082774505],[116.30003347359458,29.745531081402856],[116.2999494739289,29.745781076437467],[116.30021347351938,29.74605107025124],[116.29992147344127,29.746309064664004],[116.30009447369355,29.74641306246687],[116.29971547357687,29.746537059464213],[116.29953447382682,29.746752055242222],[116.29993247420994,29.747010049413436],[116.2994634736816,29.747112047504167],[116.29928047338358,29.746895051949775],[116.29937147362027,29.74673905517624],[116.2989984733516,29.746234065908702],[116.29900947412047,29.746447061781183],[116.29859847421693,29.746139068499435],[116.298442473683,29.74625506593738],[116.29871447366945,29.74640806224015],[116.298726473365,29.746479061311366],[116.29837547373573,29.746448061666918],[116.29817647354406,29.7466530572167],[116.29827847365127,29.7467850545563],[116.29857947395017,29.746557059540436],[116.29882747364725,29.746648057009136],[116.29883747369293,29.74672805565766],[116.29858247342479,29.74679605406783],[116.29845347355328,29.74709604783724],[116.29851247400265,29.747455039766464],[116.29843047398685,29.747512038253483],[116.29846547414692,29.747623036282132],[116.29837247336212,29.747857031238212],[116.29807847363429,29.747854030835338],[116.29722347421487,29.748038026975056],[116.29690947349731,29.747877030270022],[116.29666447417318,29.748092026294092],[116.29664847338128,29.74827002200118],[116.29677947380077,29.748356020129794],[116.29684447409791,29.748621014696376],[116.29672147407422,29.74876901118278],[116.29651447348652,29.749341999182548],[116.29670047415757,29.749520994868185],[116.29685947416624,29.7494109972402],[116.29748647397984,29.749618992543013],[116.2975924733867,29.74980698876445],[116.29774047352474,29.749661991818588],[116.29837947393229,29.74974598982461],[116.2984424736815,29.749613993264354],[116.29864447334784,29.749610992915798],[116.2986524737436,29.750032983709026],[116.29820547385488,29.7500519832382],[116.29822147374819,29.750639970958705],[116.29792447364714,29.750967963649224],[116.29740047376552,29.751100960606287],[116.29705147378617,29.75089096557234],[116.29683747352594,29.75098696299892],[116.2968064735637,29.751149959849815],[116.29689947344994,29.751656948983204],[116.29680047371554,29.752046940438596],[116.29645747358373,29.752416932248554],[116.29609547408378,29.752599927987383],[116.29612047419813,29.75270192585168],[116.29637347391802,29.752800924139127],[116.29689847362465,29.752476930519457],[116.29721647364218,29.7519439420762],[116.29728347358929,29.75193594263066],[116.29746547406238,29.75202094090181],[116.29720347412139,29.752502929941418],[116.29715047351958,29.75273692520555],[116.29719547372532,29.752931921361974],[116.29743247355165,29.753119916829966],[116.29763547394126,29.753116917366306],[116.29773847387344,29.75295792066675],[116.2976694733783,29.752616928164112],[116.29786847356999,29.752414932596523],[116.29804647384522,29.75241593242564],[116.29843347345916,29.753101917705923],[116.2986714740088,29.753151916575266],[116.29877247339276,29.753246914357117],[116.29875947387214,29.75360090623321],[116.29935147352525,29.75471888220384],[116.29952647342719,29.755142872933277],[116.29945847365519,29.755179872592553],[116.29895047366708,29.75538586802133],[116.2989594738878,29.75552086495245],[116.29904047407864,29.755565863629368],[116.29933047360852,29.75550086510214],[116.29945647400517,29.75555086433416],[116.29942047402014,29.755696861136407],[116.29917647362265,29.75577485921186],[116.29842247358738,29.75563686245134],[116.2983054734115,29.755706860649305],[116.29816547366929,29.756068853091577],[116.29791647414724,29.7561688509622],[116.29762147369621,29.756099852097368],[116.29743647374836,29.755988854875937],[116.29739747339035,29.755876856958377],[116.29712747395196,29.75590185648249],[116.2971344736247,29.755698860719836],[116.29701847417219,29.755556863888565],[116.29607147379306,29.755553864493717],[116.29604847422675,29.755832858210994],[116.2959464741194,29.755990854456424],[116.29483447388351,29.756784837323803],[116.29488747358673,29.757156829144552],[116.29473947344867,29.757460822994254],[116.2942974735828,29.75756382036648],[116.29353747369981,29.75738182410739],[116.29345747423216,29.757473822444556],[116.29258447347284,29.757436823628872],[116.29220747390431,29.75757182013555],[116.29171247343687,29.757178828996366],[116.29181847374232,29.756617841120974],[116.29171147361227,29.756621841046616],[116.29168147347505,29.756537842565773],[116.29149447387732,29.75647884417501],[116.29135847343505,29.756251849159053],[116.29108047360079,29.756086852441292],[116.29095947412536,29.75595285528553],[116.29088947380527,29.755715860343454],[116.29063547336219,29.755447866420365],[116.29020847356482,29.75580485848425],[116.28989847394344,29.7558688570202],[116.28978047394263,29.75599585417856],[116.28918147371799,29.755957855025024],[116.28896647363294,29.755813858191285],[116.2887734741875,29.75571186037377],[116.28850347385064,29.75596185497504],[116.28834747421503,29.75617685081631],[116.28793447376295,29.75665683979464],[116.2875224740342,29.757112830158135],[116.28736647350017,29.75727582640504],[116.28721647371232,29.757420823255057],[116.28702847339129,29.757648818517865],[116.28680847418146,29.757913812691815],[116.2869204734361,29.757978811215274],[116.28486747356645,29.760401759054446],[116.28641347416959,29.761858727181934],[116.28396147409232,29.763149699439992],[116.28336047421767,29.763558690710294],[116.2828454736585,29.763931682050465],[116.28250247352669,29.764192676360995],[116.28237347365524,29.764378672340115],[116.28220247395095,29.76467666631875],[116.28228747344129,29.76490066107372],[116.28237347365489,29.765159655798307],[116.28258847373993,29.76534665202231],[116.28288847421382,29.765457649015943],[116.28344647353224,29.76549564846588],[116.28374647400611,29.765606646074264],[116.28396147409114,29.76586764070213],[116.2846054736232,29.766053636693478],[116.28533447354405,29.766314630938442],[116.28606447418817,29.76650062688002],[116.28722347338066,29.76739560718079],[116.28821047394253,29.767916596120482],[116.28872547360254,29.769518561408155],[116.29189947392537,29.77443645472972],[116.29262947367101,29.774957442913472],[116.29305847401628,29.77518143807198],[116.29395947346634,29.77518143807515],[116.29434547415386,29.775404433133374],[116.29438847381142,29.775814424648164],[116.29456047334047,29.775963421113044],[116.29486047381438,29.776000420102328],[116.2950754738994,29.776224415266302],[116.2952044737706,29.776708404789687],[116.2952044737703,29.77741638992828],[116.29447847422202,29.778267371120826],[116.29462047361376,29.77854236569268],[116.29456347371219,29.778941356955215],[116.29387947399717,29.77883335878297],[116.29383047359325,29.779092353346645],[116.29405547372403,29.779249349997027],[116.29411247362528,29.77958734285249],[116.29393347352504,29.779793337997788],[116.29460347389475,29.779949334776536],[116.29529047398294,29.77980033800805],[116.29589647388023,29.7799103358047],[116.29743747356288,29.779761338981224],[116.29803847343734,29.779761338983327],[116.29842447412487,29.77998533431146],[116.2987254735253,29.780245328566057],[116.2994974740021,29.78061832014744],[116.29962647387302,29.78166129762115],[116.30005547421808,29.78236928204574],[116.30074247340684,29.78482722918813],[116.30057147370191,29.7865951906182],[116.30214747354387,29.788205155371692],[116.30404847397483,29.788251154436214],[116.30512147385187,29.78925713237781],[116.30392047392745,29.79019511257907],[116.30525247337224,29.791285088729882],[116.30638547352368,29.79243306356911],[116.3080394740823,29.792682058312867],[116.31104347362921,29.79376203505385],[116.31008347372875,29.79578599062225],[116.31047647408876,29.796453976767527],[116.31125547333953,29.797853946366274],[116.3118564741119,29.798709927607526],[116.3129344740118,29.799796904149293],[116.31347647343648,29.800362891684976],[116.31387347399459,29.800757882775077],[116.31434547399752,29.801055876063707],[116.31486047365827,29.80105587606552],[116.31550447408877,29.800906879535265],[116.31631947332512,29.800906879538143],[116.3177784738898,29.801986856363552],[116.31713447345898,29.8027318396751],[116.3163844736214,29.803294827450028],[116.317522473796,29.803907814434943],[116.31727047390072,29.804380803972247],[116.31869947342965,29.805903770819647],[116.32029147406436,29.80539578182971],[116.32053547356327,29.805915770933908],[116.32221147386261,29.80774273099874],[116.32850947338376,29.811704645273622],[116.33177147357166,29.813082614960344],[116.33044147377528,29.815314566923227],[116.32713747375163,29.820639450513056],[116.32894047337525,29.820119462380838],[116.33026947334584,29.81989646720707],[116.33134147339875,29.8190774851273],[116.33254347404637,29.81814650494336],[116.33361447337649,29.816539540251053],[116.33480947345271,29.816547539996037],[116.33612147370532,29.815232568558592],[116.33613047392674,29.81390959701762],[116.33700647416124,29.812781621654],[116.33841747414743,29.812980617044307],[116.3400374734722,29.814220590766503],[116.34101647363836,29.814132592317495],[116.3416724737647,29.813475606518747],[116.34211247398109,29.81262762542568],[116.34287647406242,29.81197063909199],[116.3428814740856,29.811214655772833],[116.34093347379945,29.81016167888479],[116.33963547379143,29.80930169726342],[116.33811747367523,29.809007703765953],[116.33715147392863,29.80720474255541],[116.33498947338254,29.805582777786945],[116.33412947394088,29.80434880506864],[116.33500147397709,29.80388181516815],[116.3341434741855,29.802173852463426],[116.33263047409253,29.801123875078716],[116.33177847414902,29.798564930579456],[116.32961447395289,29.797321957937665],[116.3287474739398,29.797125961502008],[116.32839047356532,29.795139004679125],[116.32729147374909,29.793997030077367],[116.32618547336236,29.791663080868844],[116.32651347342632,29.789386129859032],[116.32671347344314,29.788706145040514],[116.32742347399629,29.787724166148315],[116.32719447366782,29.78689218381298],[116.32631647378443,29.785859206663936],[116.32587647356874,29.785148221906972],[116.3261944735863,29.784469236654225],[116.3269004739412,29.78410024499981],[116.3283784738742,29.78509722314085],[116.32978147346418,29.785890205820873],[116.33110347376153,29.78688618458126],[116.33245747384544,29.78907313640615],[116.3340134735961,29.790275110865807],[116.33635447334444,29.7909380960461],[116.33670447404698,29.791213090115818],[116.33717547332691,29.79091009680052],[116.33776847370423,29.78985911948433],[116.33757947355878,29.788871141080183],[116.3372724734125,29.788051158834758],[116.3357564738449,29.786646189533368],[116.33560547333421,29.785930205100872],[116.33592847337508,29.784231241868294],[116.33518947340862,29.78366725412214],[116.33456947416622,29.782982268697594],[116.33281447422368,29.78232428304897],[116.33305347370026,29.781577299201732],[116.33332847405994,29.78140830315787],[116.33298447410395,29.780181330127768],[116.33310547357964,29.779740339080558],[116.33376947410159,29.779744339645134],[116.33466247405363,29.78060132095274],[116.3362194736293,29.781598298853755],[116.33688547380122,29.781399303419104],[116.33687647358045,29.78118630777086],[116.33685147346635,29.78058232098503],[116.33713147384924,29.779597342475217],[116.33787847421212,29.77902435517441],[116.33847047386612,29.77816337378391],[116.33863247334995,29.777143395479378],[116.33848147373756,29.776428411288254],[116.33837147413321,29.775304435902015],[116.33874747387682,29.775057440808506],[116.33903847413008,29.77486644558338],[116.33989747374723,29.77511044000713],[116.34059447388076,29.775966421614946],[116.34109847367056,29.776684405525803],[116.34046947420671,29.777292392311907],[116.34085447417077,29.778146374057094],[116.34116447379192,29.778488366570954],[116.34119047373127,29.778391368633162],[116.34138947392321,29.777618385157503],[116.34199447399587,29.777098397149274],[116.34298047383479,29.77701039879473],[116.34350747408958,29.776623407358812],[116.34382347355869,29.776579408371685],[116.34411747418478,29.77677040423039],[116.3441554738195,29.777079397296465],[116.34428447369088,29.777169395537037],[116.34493647361893,29.77716339571113],[116.34512647358973,29.777061397798086],[116.34506947368848,29.776769403868535],[116.34445447357064,29.776054419344632],[116.34511647354458,29.775741426294786],[116.34536447413993,29.77581142448301],[116.34605547352756,29.77635941314846],[116.3462544737191,29.77636741298422],[116.34640347368203,29.776281414724433],[116.34636247367426,29.77605941965342],[116.34595947416665,29.775741426297763],[116.34596047399167,29.77558042965752],[116.34626047356736,29.775354434635393],[116.34633247353743,29.775182438640428],[116.34601747389348,29.774578451505167],[116.34735847355986,29.773948465323716],[116.34741747400952,29.773603472490382],[116.34675347348775,29.773213481497343],[116.34675447421107,29.773003486019437],[116.34697047412126,29.77259149465981],[116.34720447357469,29.77252549585309],[116.34765547366116,29.772905487826286],[116.34824347401502,29.773156482038395],[116.34868947407874,29.773202481774298],[116.34896647408824,29.77310648379747],[116.34896147406548,29.77285848911534],[116.34862847397967,29.772655493396897],[116.34861147336309,29.77223350273845],[116.34805447386985,29.77158551612894],[116.3480844740072,29.771350521573254],[116.3465054737916,29.771018529178843],[116.34662647416593,29.769788555419964],[116.34614547394217,29.769575560025732],[116.34600547420021,29.769306566082815],[116.34649747339661,29.768951573883186],[116.34710747349192,29.76878257758644],[116.34729847418589,29.768994572663516],[116.34741947366138,29.76893957402486],[116.34756247377659,29.768663579930802],[116.34742147420965,29.768644580029157],[116.34751447409609,29.76849658326178],[116.34748647360878,29.768354586631567],[116.34741647418696,29.768217589713664],[116.34704747411604,29.76823458957343],[116.34695647387953,29.768159590852402],[116.34721347379755,29.76790159654081],[116.34689447395536,29.767776599004936],[116.34684547355167,29.767664601786034],[116.34693147376542,29.767591602772843],[116.34720847377478,29.767592603230693],[116.34747547373833,29.767891596682343],[116.34769447402135,29.768003594427775],[116.34769347419638,29.768182590312716],[116.34784147343599,29.768276588211474],[116.34825247333966,29.76830958746245],[116.34883447384591,29.768178590072345],[116.34913147394673,29.76832858743021],[116.34922347400818,29.768446584257653],[116.3492294738559,29.768631580470473],[116.34937747399385,29.76866357993721],[116.34948447412403,29.768559581829958],[116.34982447388252,29.768715578952122],[116.34960947379723,29.76904757195543],[116.34965047380504,29.76920256787578],[116.35017747405985,29.76887857504076],[116.35003747341956,29.76861858090656],[116.35024447400721,29.768329587103864],[116.35004147361775,29.76803159385267],[116.35028747366513,29.767866597039312],[116.35039347397024,29.767953595181062],[116.35097447375324,29.767988594665105],[116.35127347350402,29.767762599667282],[116.35138847403013,29.767528604398283],[116.35174447368234,29.76733960899105],[116.35175947375104,29.767184611747872],[116.35144847340659,29.7670196158768],[116.35154847386403,29.766878618397175],[116.3517054742228,29.766823620156465],[116.35181247345467,29.766645623869564],[116.3515314741458,29.76628363142471],[116.35186647388167,29.7659276389555],[116.35187547410258,29.76572964326614],[116.3517414742084,29.765562647164334],[116.35198147350964,29.765344652087713],[116.3519814735097,29.76521565489879],[116.3516924738048,29.76501565917554],[116.35170847369845,29.764738664702076],[116.35198947390585,29.76468866615679],[116.351664474216,29.764500670555886],[116.35139547370419,29.76450566987429],[116.35112647409075,29.764348673505378],[116.35040347401755,29.764393672894265],[116.34986647371738,29.764050680105747],[116.34945847418675,29.76392568244348],[116.34926247347003,29.763683688281144],[116.3492154736145,29.763312696235147],[116.34928647375966,29.763176699162347],[116.34952847360906,29.763018702549722],[116.34950847351764,29.762844706198173],[116.34916147408642,29.762811706706884],[116.3489634737197,29.7627117092249],[116.34894447345329,29.76232071742896],[116.34903947388806,29.761943725835376],[116.3488134739324,29.76165773226034],[116.34866047377167,29.761310739726298],[116.34845547373236,29.76119774177635],[116.348514474182,29.760920747665413],[116.34827247343436,29.760931747963333],[116.34822047355594,29.760663753172455],[116.34824547367032,29.760648753859034],[116.34901247412442,29.760602754601223],[116.34919147422474,29.760282761806604],[116.3491644735623,29.76012176527408],[116.34903747334073,29.76000976729596],[116.34850647378653,29.759845771059986],[116.34840347385457,29.759394781006776],[116.3480994740811,29.7593057829312],[116.3476624733398,29.75935178200568],[116.34723847391577,29.75908278790494],[116.34717547416665,29.758835793362564],[116.34729947401523,29.758838793436148],[116.34738247385577,29.759091787322586],[116.34748447396296,29.759121787193628],[116.3475074735293,29.758847792875866],[116.34763647340084,29.75862279808063],[116.34720547340582,29.758300804880633],[116.34692047389885,29.758247806149466],[116.34684047353298,29.75810580903054],[116.34686247417261,29.758016810591172],[116.34739647410007,29.75765781905604],[116.3474614734992,29.757468822964498],[116.34723547354339,29.757508821877465],[116.34719747390858,29.75745282339358],[116.347359473392,29.757357824919993],[116.34728847414526,29.757212827978094],[116.34688947393721,29.75710683089723],[116.34686047362494,29.75703583233445],[116.34697147395302,29.756873835481038],[116.34663247401964,29.75626484896519],[116.3466344736696,29.755963855545666],[116.34676047406633,29.75581085901087],[116.34687947389203,29.755796858766193],[116.34697147395356,29.755703861433496],[116.34694847348908,29.75563986279098],[116.34731747355998,29.7556368626234],[116.34752347342436,29.75541586761269],[116.34752947417059,29.75516687300933],[116.34720847378033,29.754922878363505],[116.34709147360458,29.754673883314865],[116.3471594733767,29.75454488642658],[116.34747647356903,29.75459188515609],[116.34764247414877,29.754360890530517],[116.3474974734857,29.753993898314],[116.34768547380672,29.753876900658184],[116.34796047416641,29.75353090829697],[116.34770047387555,29.753361911723232],[116.34785547368632,29.753110917054073],[116.34809747353592,29.752411932507844],[116.34816847368128,29.75193794247627],[116.34859547347854,29.751726947023386],[116.34861047354735,29.751242957690874],[116.34825147352217,29.75141295377394],[116.34817247387949,29.751357955622556],[116.34832247366744,29.751035962481364],[116.34823247415409,29.75092696479844],[116.34752947417245,29.75086296622307],[116.34758447352561,29.75108096160915],[116.34745947385211,29.751188959283194],[116.34731747356192,29.751226957902375],[116.34717047414716,29.75114695972375],[116.3474204734941,29.750980963340417],[116.34743947376083,29.75075196866183],[116.34710647367491,29.75080396761063],[116.34665347393846,29.75076496820412],[116.34626647342598,29.750612971377176],[116.34602247392694,29.750398975927],[116.34566547355136,29.750960964136556],[116.3453954741131,29.750675970260847],[116.34533647366354,29.75073796848263],[116.34494947404933,29.750681970114034],[116.34406347376972,29.750284978296335],[116.34344647400174,29.75029797789976],[116.34329347384093,29.75013498200259],[116.34330147423692,29.749981985148985],[116.34355547378176,29.750049983693653],[116.34371747416354,29.74988898710173],[116.34370747411782,29.749812988833504],[116.34330147423702,29.749809988488828],[116.34345447349966,29.749551994505616],[116.34339947414642,29.749389998034474],[116.3433164734075,29.749367998801308],[116.34317447401554,29.74950899518285],[116.34315847412199,29.74970299152349],[116.34250647419394,29.749573993694767],[116.3418194741059,29.749246001119353],[116.34114047351528,29.749395997958235],[116.34076647342141,29.749629992674794],[116.34057647345058,29.749618992694675],[116.34046747367076,29.749482995755827],[116.3405534738845,29.749423997112935],[116.3405614733822,29.749256000495368],[116.34079447390914,29.748964007413665],[116.34099747340034,29.748977007191268],[116.3410814739643,29.74888600871788],[116.34103547393352,29.748817010299913],[116.3406014735653,29.74885700954522],[116.34026947420257,29.749051005586626],[116.34002047378226,29.749058005399764],[116.33966047393208,29.749345998770867],[116.33945847336749,29.749200002076353],[116.33987247364428,29.748951007631824],[116.33976847388729,29.748805010362357],[116.33956447367285,29.748819010023542],[116.33891947341714,29.74958099345963],[116.33855647409224,29.749822988919195],[116.33800647337304,29.7498879872279],[116.33784447388969,29.749850987954193],[116.33773247373678,29.749687991330386],[116.33766747343964,29.749187002322053],[116.33777047337185,29.74899900649853],[116.33770547397295,29.74889200866793],[116.33766147359198,29.748952007487087],[116.33736247384132,29.74891300814055],[116.33721947372618,29.748968006852618],[116.33709347422761,29.749370998356067],[116.33702547355722,29.74945199624944],[116.33677347366218,29.749423997099626],[116.33669347419446,29.74974099068369],[116.33650647369835,29.749829988672108],[116.33615547406916,29.74977498965127],[116.33580647408981,29.749611992903038],[116.33544547351654,29.749590993574298],[116.3348634739089,29.74909100472103],[116.33441847367001,29.7491460033344],[116.33416847342474,29.74928000022969],[116.33394047381908,29.749303999980047],[116.33370147344456,29.74920000205608],[116.33353347411342,29.749207001859098],[116.33308147420173,29.749528994634623],[116.33281447423816,29.74934499888773],[116.3321394738455,29.749421997366632],[116.33206647405058,29.749393998209097],[116.33203947338822,29.749111004281843],[116.33184547411788,29.74892900827442],[116.33134047360454,29.74902900546808],[116.33108547423478,29.748936008094276],[116.33062247355424,29.748907008156195],[116.3305774733486,29.748543016631345],[116.33074147338006,29.748601015147166],[116.3308004738295,29.748804010466262],[116.33096147348795,29.74887100916592],[116.33101047389177,29.748830010060615],[116.33088947351806,29.7486300143927],[116.33090547341163,29.74842501898492],[116.33159447404802,29.748340020787523],[116.33160047389589,29.748153024806196],[116.33123447419814,29.74778603247863],[116.33098847415097,29.74768703469811],[116.33087547417296,29.74788803056016],[116.3305494737598,29.747839031278858],[116.33055747415577,29.747748033332137],[116.33072147418736,29.74756403743773],[116.33082147374643,29.747571037355915],[116.33084247366287,29.74748203892144],[116.33045147385069,29.747486039210706],[116.33038347407863,29.747577037394972],[116.33042847338605,29.74771203470399],[116.32993547346659,29.747708034420622],[116.3298794733901,29.74778603247385],[116.32996447377886,29.747831031503438],[116.32989147398393,29.747900030599574],[116.32976247411256,29.747893030704244],[116.32947147385933,29.748115025793773],[116.32939347404155,29.74802702771406],[116.32934447363789,29.747766033416845],[116.3295164740654,29.747514038897545],[116.3292564737745,29.74739504093934],[116.3291434737967,29.74717004617166],[116.32919147347742,29.74689805170566],[116.32938247417145,29.746770054835082],[116.32933747396571,29.746551059547034],[116.32895247400147,29.74619206749959],[116.32866947414426,29.746218066989588],[116.32865347335239,29.746328064221643],[116.32850647393754,29.746454061880744],[116.32831447341871,29.746325064552792],[116.32831547414197,29.74623806635231],[116.32877047352837,29.745996071598803],[116.32886147376503,29.74587707417999],[116.32877047352875,29.745057091696026],[116.32852947350445,29.74495309404635],[116.32844147364088,29.745031092682765],[116.32835947362504,29.745241087510582],[116.32848547402148,29.745724077066487],[116.32811247375253,29.7459120735706],[116.3275034734823,29.74568907838418],[116.32716547337374,29.745262087744983],[116.32709347340396,29.74471609961116],[116.32715947352618,29.744637100823553],[116.32735647406798,29.74465310087992],[116.32726447400663,29.744280108763828],[116.32772947343881,29.744026114239333],[116.32751647390211,29.743389128391325],[116.3273244733832,29.74335912849092],[116.32731547406071,29.743230131861555],[116.32741347397004,29.743115133965023],[116.32718447364144,29.74266614336129],[116.32723947389302,29.74258214566585],[116.32753847364373,29.742641144436437],[116.3277344734623,29.742572145621537],[116.32775947357672,29.742423148638995],[116.32758047347684,29.741902160542356],[116.32762247420798,29.741777163337233],[116.32776147412518,29.741682164827225],[116.32788347342559,29.741664165206448],[116.32827247358783,29.741977158637148],[116.32839947380944,29.74192215999001],[116.32794047422531,29.74159616721517],[116.32729347342217,29.74080818382163],[116.32723847406893,29.74062718828923],[116.32729247359751,29.740123198612494],[116.32707847423568,29.740051200548304],[116.32674547414979,29.74008819953674],[116.32650747360022,29.73987020442786],[116.32664247421792,29.739369215502993],[116.32663947384502,29.739108220509756],[116.32643247415577,29.739185219051784],[116.32634347356893,29.739301216734347],[116.32621947372024,29.739696208449356],[116.32582847390798,29.739908203435114],[116.32539847373775,29.739767206810196],[116.32529847417874,29.739626209988234],[116.32529647363069,29.739349215544305],[116.32522647420886,29.739310216363467],[116.32511447405588,29.739283216681486],[116.32503047349208,29.739054221804842],[116.32489747342265,29.739174219481036],[116.32477247374902,29.739557211436278],[116.32458147395337,29.73953721151921],[116.32410547375231,29.739650208925916],[116.32399447342428,29.739592210692713],[116.32402047336365,29.739354215333694],[116.32373447403182,29.739161219989036],[116.32331947393017,29.739286217333493],[116.32322747386866,29.73923021802975],[116.32331547373224,29.739135220226757],[116.32321647399807,29.73907122192656],[116.32241647393197,29.739069222000587],[116.32232347404559,29.739146219792953],[116.32237447409902,29.73942621389174],[116.32216047383874,29.739600210336924],[116.32107947356545,29.739414214390127],[116.32110247402987,29.739598210420603],[116.32155047374343,29.739690207920745],[116.32151547358328,29.73988420375972],[116.3211294737939,29.739937202837826],[116.32157747350749,29.740016201429988],[116.32158447407846,29.740118198836864],[116.3206594734406,29.740138198634234],[116.32063947334908,29.740217197066404],[116.32088647411945,29.74045719183389],[116.32055747423158,29.740419192251075],[116.32046947346964,29.740495190619605],[116.32061547395779,29.740628188211986],[116.32051147420066,29.740750185454623],[116.32056447390406,29.74085218289516],[116.3211724734511,29.741105177721813],[116.32147047337686,29.741154176393934],[116.32255047382515,29.741630165807692],[116.3227004736129,29.741811161870125],[116.32256547389368,29.741949158940635],[116.32272047370404,29.742546145947397],[116.32278247362841,29.742388149570345],[116.32275047384145,29.742054157297613],[116.32291847407096,29.74204715699524],[116.32299647388874,29.742121155828247],[116.32309347397288,29.74250614730407],[116.32368847399913,29.743531125285656],[116.32375847342064,29.744418105544586],[116.32368047360269,29.744728099241698],[116.32350647352537,29.74490809526753],[116.32311747336294,29.745056091774288],[116.32298247364365,29.745216088427597],[116.32296847339988,29.745405084223886],[116.32316047391879,29.74544208357864],[116.3233894733494,29.745189088777643],[116.32351447392122,29.745156089714193],[116.32384747400704,29.745213088729667],[116.32392947402272,29.74541908436394],[116.32392047380175,29.745648078744807],[116.32385247402972,29.745684078113356],[116.3234574740196,29.745570080586422],[116.32330847405667,29.74569107816054],[116.3232384737364,29.745863074087538],[116.32367147338142,29.74575007666196],[116.3240424740003,29.74607606997096],[116.32447547364528,29.74615406773567],[116.32462347378319,29.746355063552155],[116.32465647339504,29.746568059167668],[116.32436347349194,29.746921051346813],[116.32453847339393,29.74737404191083],[116.32469547375268,29.747543037660115],[116.32467147346321,29.747615036583767],[116.32393247349637,29.747929029246503],[116.32363047337283,29.74742404051339],[116.32346047349355,29.747371041490762],[116.32311547371229,29.74692605153864],[116.3230834739254,29.746552059411954],[116.32283547422837,29.746457061524637],[116.32266647417414,29.746141068366267],[116.32257847341221,29.746217067077904],[116.32265847377809,29.746365063214004],[116.32267847386943,29.74668005656012],[116.32277847342853,29.746759055298558],[116.32278847347419,29.746971050172903],[116.32274547381637,29.747208045512316],[116.32250947381475,29.74747803938123],[116.3217634741753,29.747601036743504],[116.3210644734933,29.74751303899046],[116.32076447391759,29.747619036075402],[116.32015947384548,29.746972050046473],[116.31973947372103,29.746874052125257],[116.31957147349195,29.74593307285865],[116.3191614734132,29.745868074322207],[116.31895447372398,29.745935072642713],[116.31905747365596,29.74628806549198],[116.31889047414961,29.746563058933233],[116.31877147342585,29.746060070123768],[116.31861147359234,29.74600407148284],[116.31862547383616,29.74568707856173],[116.31848647391902,29.745665078515902],[116.31842247344645,29.74611806851428],[116.31824547389442,29.746123068749995]]]},properties:{name:"凰村镇","fill-opacity":0,"stroke-opacity":1,stroke:"#ff0000"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[116.34953847368556,29.692739224973224],[116.3496574735114,29.692260235717022],[116.34952447344227,29.691709247329676],[116.34841947377794,29.691235257691385],[116.34852347353511,29.691050261519337],[116.34936747398217,29.690915264458983],[116.34889347343118,29.690407275414668],[116.34725347401411,29.69110926014557],[116.34738247388567,29.690768268137166],[116.34725647348903,29.690611271065325],[116.34704347395208,29.69053527315961],[116.34713047399083,29.690305278205294],[116.34797647408783,29.689851287870987],[116.34807247344905,29.689636292701067],[116.34786747340974,29.68957529385621],[116.34715047408245,29.689867287294256],[116.34606347396107,29.690499273512376],[116.34569347406507,29.69086826554156],[116.34517347348319,29.69079026772428],[116.34486247403667,29.691375254935544],[116.34437747361477,29.691394254646855],[116.34403647403137,29.691287256256174],[116.34396147368838,29.691087260608928],[116.34412647354499,29.690605271509302],[116.34394247342226,29.69005428341161],[116.34353247424175,29.690140281487867],[116.34342247373861,29.690058282868254],[116.34333047367726,29.689834287973767],[116.34317647369149,29.689841288016318],[116.34309947369853,29.689937286105256],[116.34321647387424,29.690324277326468],[116.34317547386627,29.690521273155987],[116.34294547371256,29.69044527518216],[116.34287947359039,29.690259278668055],[116.34296547380416,29.69016328088671],[116.34288047341542,29.690036283891605],[116.34241847345804,29.690278278590416],[116.34152447368068,29.690183280492096],[116.34135547362641,29.689922286354925],[116.34140847422827,29.68969929083093],[116.34157047371166,29.68957429337932],[116.34191247401841,29.68955429442931],[116.3422034733733,29.68933329900376],[116.34162447413851,29.68921030123064],[116.34167647401708,29.68909230404617],[116.34154847397062,29.689017305452218],[116.34148147402355,29.688801310376288],[116.34167847366709,29.68871331256803],[116.34120347418953,29.688353319946888],[116.34097347403576,29.688329320444282],[116.3408644742559,29.688150324856917],[116.34100947402088,29.68806932586452],[116.34107047412031,29.687823331760494],[116.34059447391941,29.68762733579679],[116.34069147400399,29.68713734656111],[116.34105347350418,29.686478360430073],[116.3418534735701,29.68676635469784],[116.34189647412619,29.686588358372507],[116.34164247368311,29.68634936326989],[116.34138747341504,29.68623636594547],[116.34178147360043,29.685949372214868],[116.34170347378272,29.685852374506666],[116.3412434734752,29.68587837402052],[116.34096347399115,29.685675377833867],[116.33961247338128,29.685139389697433],[116.33873647404555,29.685209387910643],[116.3382924736315,29.685413383971227],[116.33766947401568,29.68548438248993],[116.33756847373341,29.68540138425771],[116.33749747358866,29.684539402310488],[116.33713947338852,29.6843804062006],[116.33700547349441,29.683993414723542],[116.3370414734795,29.683748419740642],[116.33679447360736,29.6837544196941],[116.33679347378238,29.683881416822768],[116.33658847374289,29.68402741333521],[116.33622547351948,29.68470139889247],[116.33600447358657,29.6847523980087],[116.33580147409546,29.6844754043134],[116.33547747423039,29.684443404521005],[116.33527247419099,29.684531402946234],[116.33482247392936,29.684231409448827],[116.33533947413791,29.685055391446372],[116.33550047379605,29.685792375397217],[116.3347814739207,29.68605337011145],[116.33423447357478,29.685597379866422],[116.33390147348925,29.68483239604377],[116.33361147395946,29.684665399490953],[116.33322647399498,29.684768397456416],[116.33298047394766,29.684870395595713],[116.33293747339167,29.68493539383607],[116.33282447341372,29.685038391525833],[116.33291047362724,29.685439382800915],[116.33282847361126,29.68601637070643],[116.3326394734653,29.686208366295777],[116.33237447404973,29.686318363749383],[116.33228847383593,29.68649536006735],[116.33243147395095,29.68670435593646],[116.33218447407874,29.686777354509676],[116.33217547385789,29.68685435261673],[116.33243747379859,29.687057347982936],[116.33279347345052,29.6874833391932],[116.33269947373914,29.687556337201144],[116.33241747370685,29.68758433644352],[116.3324504742171,29.68771033372261],[116.33275747346539,29.687690334401488],[116.33341947343902,29.688155324053422],[116.33295447400673,29.688680312851343],[116.3326494735101,29.688350320076903],[116.33188447360428,29.68796732859752],[116.33180747361135,29.688062326446026],[116.33191847393944,29.688085325542406],[116.33212947382643,29.68846631797992],[116.33199947412997,29.688755311692933],[116.3315894740511,29.688885308568334],[116.33139347423267,29.688795310687723],[116.33160847341959,29.688447317711507],[116.3315854738535,29.68815032482426],[116.33144947341108,29.688120324799748],[116.33132847393547,29.688408319041436],[116.33124347354668,29.688378319874527],[116.33095947386447,29.688636314286715],[116.33061047388505,29.688656313419397],[116.33049147405946,29.68850631708608],[116.33043147378496,29.6886623130801],[116.33051447362547,29.68899030624944],[116.33041947408917,29.689204301562572],[116.33024747366166,29.689344298526645],[116.32972747397802,29.689452296317473],[116.32965047398514,29.689348298791685],[116.32924247355626,29.689270300575412],[116.32904547391247,29.689933285812092],[116.32888347353082,29.689932286140756],[116.32880447388796,29.69025927861851],[116.32870647397867,29.690264278516377],[116.32867847349145,29.689916285943802],[116.32857847393244,29.689692290732786],[116.32838147339058,29.689765289476956],[116.32835547345128,29.689906286111416],[116.32793647404992,29.69012628138796],[116.32778347388906,29.690066283290548],[116.32766447406344,29.689909286682763],[116.3274264735138,29.68982528853055],[116.32717047342078,29.689890286687294],[116.32680447372302,29.689769289721852],[116.32685747342656,29.689554294376343],[116.32699447369389,29.68950329535534],[116.32704647357257,29.689221301538165],[116.32737147416091,29.68908930417802],[116.32738047348346,29.689000306160793],[116.32691447422665,29.688672313022828],[116.32671147383722,29.68843331819381],[116.32655547420153,29.688677312998713],[116.32647947403355,29.68866131338281],[116.32636447350771,29.688111325241145],[116.32653447338704,29.68813432510696],[116.32669747359368,29.688002327879328],[116.32668947409616,29.687794332060655],[116.3265534736538,29.687770332424908],[116.32628047384226,29.687895329778733],[116.32611147378798,29.687690334378072],[116.32618947360588,29.687467339364265],[116.3265844736163,29.686921351297244],[116.32611347343797,29.687281343581624],[116.32587647361161,29.687116346593523],[116.32632047402556,29.687008349413713],[116.32590247355105,29.6867233549488],[116.32585347404573,29.686425361943677],[116.32572547399921,29.686380362692255],[116.3251534735387,29.68651735979218],[116.32495547407017,29.686865352427596],[116.32497647398681,29.68631536382273],[116.32486647348372,29.686158367598487],[116.32456847355795,29.686112368518206],[116.32468047371103,29.685919373034466],[116.32452847337514,29.68571037709385],[116.3242304734494,29.685612379440467],[116.32408747423268,29.68539738378598],[116.32409647355526,29.685293385966435],[116.32431847421144,29.685205388208406],[116.32442147414368,29.685065390941492],[116.32440547425017,29.68493139414368],[116.32432847425727,29.684975392762208],[116.32417547409646,29.68491439421024],[116.32412647369276,29.684669399911037],[116.32438247378582,29.684522403045847],[116.32427347400596,29.684380406155302],[116.32425647338926,29.684209409941808],[116.3243444741513,29.6838754168322],[116.32413247354097,29.683673421016053],[116.32385947372951,29.683783418902614],[116.32374747357647,29.68393041606861],[116.32399347362363,29.684133411096838],[116.32399047414876,29.684482403907815],[116.3238624741022,29.68453340235507],[116.3237014735455,29.68445840426105],[116.32374547392651,29.684302407985168],[116.32349047365848,29.684048413069487],[116.3236294735758,29.683722420407438],[116.32345847387158,29.683750419937773],[116.32344847382572,29.68402541382995],[116.32331147355833,29.684188410191766],[116.32322147404463,29.684878394890838],[116.32309347399813,29.684914394206423],[116.32300847360932,29.684876395447997],[116.32301847365517,29.684661399780598],[116.32319847358028,29.684469404357774],[116.32312247341241,29.68431240759145],[116.32284147410333,29.68430340770876],[116.32277547398124,29.68405841270068],[116.32234847418397,29.684151410884066],[116.3224734738573,29.68446440416873],[116.32234847418347,29.6853623843531],[116.32228047351306,29.68536238435287],[116.32216247351236,29.685160389184098],[116.32198347341227,29.685122389737916],[116.3218654734116,29.684987392515342],[116.32172047364668,29.68499339239521],[116.32183347362471,29.68463040054826],[116.32174047373836,29.684518403357696],[116.3216874740348,29.68483839589049],[116.32151547360723,29.685081391119393],[116.32111347392431,29.685220387864863],[116.32129147419944,29.6853993839883],[116.32122947337673,29.685741376757676],[116.32075347407391,29.686048369954417],[116.32055747425528,29.68609136915499],[116.32062447420242,29.686203366153507],[116.32093947384664,29.686257365192326],[116.32099047390022,29.686332363504402],[116.32092147340485,29.686487360046176],[116.32080947415012,29.686546359014127],[116.32044547410226,29.686298364108193],[116.32024047406284,29.686312363905405],[116.32012047351391,29.686385362763748],[116.32028147407061,29.68662435778038],[116.32004947426697,29.686793353602187],[116.31989647410609,29.686822352759222],[116.3198634735959,29.686695356224785],[116.31971847383096,29.686612357431592],[116.31928347363778,29.68674335522059],[116.31898547371205,29.686719355333256],[116.31908847364426,29.68653435943231],[116.31898047368941,29.686177366716276],[116.31885247364292,29.686064369198903],[116.31868247376367,29.686048369947116],[116.31896647344533,29.686977350103156],[116.31923847343185,29.686994349687847],[116.31903247356745,29.68727534303251],[116.31896447379536,29.687274343335073],[116.31863647373267,29.686596358263817],[116.31837247414212,29.68655735887555],[116.31843247351823,29.686453361475966],[116.31875647338329,29.68656035877023],[116.31862147366422,29.686180367400183],[116.31815347385916,29.686199366532858],[116.31817647342518,29.686570358932425],[116.31802647363706,29.687394340482246],[116.31816047353121,29.68760333604269],[116.31831447351698,29.687559337014083],[116.3182984736234,29.687747333227758],[116.3184114736011,29.688296321333212],[116.31836047354736,29.688407318529457],[116.31830047417128,29.688325320837205],[116.31794247397106,29.688307321010008],[116.31790847363585,29.68836631969018],[116.3177654735209,29.688046326683054],[116.31761247425833,29.68804532699298],[116.3176194739309,29.68832032084011],[116.31778047358934,29.688380319199588],[116.31777947376439,29.688507316726312],[116.31798347397879,29.68859631440045],[116.3182224734551,29.688508316412808],[116.31859447389878,29.689053304765757],[116.31859347407381,29.689187302311062],[116.31775847384768,29.68915930273098],[116.31763947402206,29.689106303370266],[116.3174704739678,29.68886030868212],[116.31714547337938,29.689095303777513],[116.31723647361584,29.689370297873328],[116.31719347395813,29.689497294929307],[116.31748347348794,29.689484295251297],[116.31756747405181,29.68958829341684],[116.3177654735203,29.689352298236482],[116.31795247401632,29.689353298694023],[116.31810347362884,29.689830288417557],[116.31783747348997,29.69011028196748],[116.31801547376514,29.690229279186106],[116.31822847420038,29.690253279015266],[116.31805547394795,29.69059327154615],[116.31818347399444,29.69060927085464],[116.31839847407971,29.690298278093415],[116.318334473607,29.690922264317592],[116.31806747364313,29.691410253734805],[116.31774147412816,29.691631249274774],[116.31714547337826,29.691627249096417],[116.31700847400923,29.691700247215536],[116.31701947387978,29.691902243285995],[116.31720947385045,29.69216023801706],[116.31746447411845,29.692333234043858],[116.31759147344172,29.692379232617267],[116.31792547425088,29.69224023562794],[116.31801747341397,29.69250822984458],[116.31769247372395,29.692669226427025],[116.31774247395262,29.692744224636137],[116.31821147358258,29.69272522518008],[116.31855247406436,29.692824223343187],[116.31844747358399,29.693053218354713],[116.31865147379838,29.693218214959252],[116.31865147379833,29.693344212197545],[116.31878647351746,29.693426210476854],[116.31880347413416,29.6935222082627],[116.31835947372021,29.693645205436418],[116.31802547380931,29.69383620164507],[116.31783547383843,29.69406519669095],[116.31826647383323,29.694826179634394],[116.31791447348064,29.69512117384013],[116.3179294735492,29.695374168465065],[116.31825247358927,29.695532164733773],[116.31822947402296,29.695723160477723],[116.31788847354117,29.695691161145437],[116.31789547411209,29.69586215733075],[116.31804747354958,29.69613815124474],[116.31778947380663,29.696500144056614],[116.3175654735003,29.697334125990757],[116.31723247341438,29.69734612505597],[116.31713747387803,29.697643118854756],[116.31692247379279,29.697946112442754],[116.31694547425721,29.698209106762928],[116.31656047339435,29.6984811005665],[116.3163814741925,29.698517099690765],[116.31628047391027,29.69833810430448],[116.31606747347499,29.69832110429811],[116.31594047415179,29.698172107155045],[116.3156574733962,29.698430102171145],[116.3154214733948,29.69802011101875],[116.31519947363692,29.698152107571506],[116.31549447408777,29.69864009777078],[116.31550647378305,29.69940508104032],[116.31522347392576,29.699574077215598],[116.31507047376493,29.69955807777396],[116.31493547404578,29.699379081121208],[116.31463447374682,29.699667075085014],[116.31518347374245,29.700375059634442],[116.31553547409506,29.70008006603041],[116.31567047381412,29.700244062450498],[116.31564447387483,29.700341060311416],[116.31539647417766,29.700540055918733],[116.31546147357653,29.70087404904183],[116.31586147360952,29.701041045188244],[116.31602947383877,29.70140903718112],[116.31578047341833,29.7017560301883],[116.3159224737084,29.70206202328695],[116.31624647357346,29.70211902181525],[116.3162414735505,29.70222001996119],[116.31622647348178,29.70255701237562],[116.31601347394478,29.702585012119766],[116.31600247407397,29.70287500534015],[116.31610247363294,29.703216997932106],[116.31624647357287,29.703336995549996],[116.31652347358202,29.703991981449313],[116.31600147424788,29.705547947918],[116.31599047347875,29.705954938678335],[116.31559847384172,29.705855940970817],[116.31551247362793,29.706002937836722],[116.31533347352776,29.705986938638798],[116.31517147404438,29.706074936142553],[116.31496647400505,29.706021937902417],[116.31401847380081,29.706415929250422],[116.31382847382991,29.706704922828244],[116.31387747423355,29.7069949166367],[116.31444947379576,29.70693991754104],[116.31475347356913,29.70737990791961],[116.31473447420076,29.707672902162596],[116.31462847389527,29.708317887531262],[116.31452447413815,29.70842888523385],[116.31429447398438,29.70849388383805],[116.31392747356333,29.708461884672836],[116.31369447393483,29.70856488243208],[116.31395847352528,29.708884875625838],[116.3139494742027,29.70899687296334],[116.31371847422399,29.70920586883743],[116.31405047358665,29.7092528677465],[116.31423847390762,29.709105870956844],[116.31414347347295,29.70942386425193],[116.31432047392317,29.709603859643103],[116.31458847371191,29.709152869912813],[116.3147844735305,29.709138870177355],[116.31490347425445,29.709243867761128],[116.31482447371334,29.709399864324403],[116.31487247339362,29.70996485205052],[116.3150254735545,29.710000851741267],[116.31502447372948,29.710245845909057],[116.31533147387616,29.710099849263354],[116.31551047397623,29.710197847218364],[116.31549247353455,29.710308844403553],[116.31536447348802,29.710344843969953],[116.31499547341696,29.71073683581612],[116.31531747363209,29.7110058293015],[116.31517147404216,29.711153826670476],[116.3151104739427,29.711420820903754],[116.31481847386462,29.711596817233453],[116.31480847381873,29.711796812618395],[116.31488547381167,29.71181281245067],[116.31506647356169,29.71160581701181],[116.31532247365466,29.71156281780849],[116.31561847393075,29.71143782025425],[116.31568647370278,29.71130482297816],[116.31596047423757,29.71123182506208],[116.3161464740103,29.71138882111584],[116.31628847340194,29.711850811168784],[116.31673047416594,29.712143804850992],[116.31677247399878,29.712084806091152],[116.31662147348788,29.711793812704716],[116.31667347336648,29.711637815959662],[116.31698147423639,29.711498819091698],[116.3170414736126,29.711387821661745],[116.31722947393351,29.71136782159223],[116.3174144738813,29.71169481451607],[116.31738047354605,29.711791813020753],[116.31722647356025,29.7118198117507],[116.31715547341501,29.712250802872088],[116.31689047399942,29.712337800899864],[116.3168034739607,29.712545796616322],[116.31679247408995,29.712879788821873],[116.31670747370113,29.712900788812917],[116.31640847395012,29.713570774082488],[116.3162544739643,29.713569773866197],[116.3162114734083,29.713665771905045],[116.31606647364337,29.713649772367756],[116.31589447411407,29.71391576677262],[116.31579647420456,29.714582752454366],[116.31560847388354,29.714640751101],[116.31556347367761,29.714914745279813],[116.31503647342308,29.714784747757147],[116.31489047383317,29.71491074524821],[116.3149464739095,29.715304736830053],[116.3147844735277,29.715437733488123],[116.31452947415796,29.715390734353786],[116.31446147348764,29.715323735915963],[116.31455647392224,29.71516073935604],[116.31437847364715,29.71489174530043],[116.31436347357862,29.714676749890447],[116.31407447387373,29.714540753164798],[116.31396847356831,29.715015743033792],[116.31379747386407,29.715222738463904],[116.3135244740526,29.715242737765177],[116.31357247373293,29.715725727427962],[116.31345147425745,29.715821725745418],[116.31345147425739,29.715932722954612],[116.31353547392285,29.71619371738512],[116.31335647382252,29.71653970983061],[116.3128264740931,29.716766705016447],[116.3124494736262,29.717068698459844],[116.31224447358679,29.717096698058462],[116.31190447382824,29.71697570031769],[116.31173347412398,29.717026699433724],[116.311645473362,29.71744869001319],[116.31131347399935,29.717372692127928],[116.31110847395995,29.717430690722942],[116.31109847391409,29.717720683979024],[116.31132747424282,29.717876680635065],[116.31130047358026,29.718083676407506],[116.31070147425379,29.718443668579365],[116.31075147358415,29.718518667046666],[116.31102447339559,29.718535666754754],[116.31098847341046,29.71877266140865],[116.31068247398709,29.7187406623991],[116.31021047398387,29.71912365356638],[116.309869473502,29.7191886522677],[116.30966847366078,29.718809660439895],[116.30961347340906,29.71914965305032],[116.30969747397283,29.719335649117472],[116.31065047419963,29.719683641968782],[116.31127147416547,29.7198296387232],[116.31171647350602,29.719839638697543],[116.31198947421584,29.71976063982218],[116.31241747383802,29.719488645922706],[116.3128124738484,29.719060655153072],[116.31312947404078,29.718928657996777],[116.31335947419456,29.718960657726303],[116.31390947401513,29.719491645618078],[116.31404547355928,29.71949964531176],[116.31452547395837,29.719146653367314],[116.31479847376981,29.719140653187218],[116.31525647352903,29.719491645622806],[116.31542647340825,29.719620643134345],[116.31547347416193,29.720265628982734],[116.3155744735459,29.72041562547895],[116.31610347345033,29.7203816267004],[116.31631647388564,29.72045062517774],[116.31633247377908,29.720561622729324],[116.31626347418208,29.72073161933162],[116.31602247415753,29.720963614330643],[116.31605547376947,29.721134610392777],[116.31597047338064,29.721163609777822],[116.31576647406452,29.721036612191533],[116.31545947391787,29.721048612325475],[116.31532347347553,29.720951614182994],[116.31505847405988,29.72116460991469],[116.31496047415038,29.721743597282487],[116.31531947417557,29.721664599125912],[116.31565747338588,29.721919593461035],[116.31599047347173,29.721995591804134],[116.31623047367125,29.72196059264753],[116.3165184735512,29.7222225863571],[116.31665647364342,29.72211258921336],[116.31685847420802,29.722366583841925],[116.31703847413306,29.72235258360867],[116.31725347421825,29.722116588957686],[116.31741347405175,29.722332584164068],[116.31761047369518,29.722252586341288],[116.3177714742519,29.722417582563015],[116.3179504734537,29.722448581832868],[116.31800147350734,29.722388582760672],[116.31796847389549,29.722165588325158],[116.31782547378046,29.721986592184447],[116.31747647380111,29.721865594097256],[116.31732447346522,29.721633599621626],[116.3174354737934,29.72155360124139],[116.31793747393357,29.72176459699038],[116.31814047342472,29.721929593234307],[116.31809847359187,29.721988591668996],[116.31819847404923,29.722175588066065],[116.31816847391175,29.722813573792553],[116.31823747350869,29.722873572611107],[116.31830547417908,29.722799574401662],[116.31842047380663,29.7232265647121],[116.31940347417083,29.72297357082604],[116.31950047335684,29.72315756658744],[116.31930147406351,29.723220564778053],[116.31911547339226,29.723429560685613],[116.31911447356731,29.723590556848542],[116.31932747400255,29.723727553908947],[116.31966547411108,29.724139544857657],[116.31970447357061,29.72469653304114],[116.32008547423528,29.724983526842223],[116.31980047382991,29.725118524138274],[116.31980747350258,29.725185522278732],[116.31957047367614,29.725166522716627],[116.31958147354665,29.725517515139295],[116.3194104738423,29.725834508620377],[116.31835147420846,29.726001504592904],[116.31815047346869,29.725849508457397],[116.31798147341446,29.725571514098952],[116.31776247402976,29.725483515740553],[116.31762247338928,29.725690511426045],[116.31747847344924,29.725738510511132],[116.31709247365973,29.726137502166786],[116.31704047378093,29.72672548890955],[116.31657247397577,29.72698948360212],[116.31641347396713,29.72696948351958],[116.31620547355477,29.72681048748391],[116.31609247357686,29.72689248573991],[116.31631447423271,29.727492472884673],[116.3163114738596,29.727701467696523],[116.31593147391807,29.727562471227756],[116.31566047375642,29.727720467555628],[116.31524747420289,29.7277154679605],[116.31531847344948,29.728185457538082],[116.31565247336009,29.728604448587166],[116.31557147406748,29.72872544556816],[116.31533647389091,29.72875544516374],[116.31555747382373,29.72894844102771],[116.31561547354997,29.729100437928953],[116.31554147393007,29.729188435454503],[116.31569747356548,29.729537428517077],[116.31563647346613,29.7296224262722],[116.31529247350961,29.729616426716312],[116.31519647414837,29.729737424036873],[116.31522747411047,29.729928419466003],[116.31539347379176,29.730013417670772],[116.31565847410569,29.729726424217205],[116.3157894736269,29.729735423929743],[116.31559247398334,29.730041417559672],[116.31561247407467,29.730308411476862],[116.31607747350662,29.730518406712065],[116.31631047403326,29.730885399047597],[116.31600547353612,29.731662382001247],[116.31603847404615,29.732200370758232],[116.31591647384712,29.73291135529388],[116.31620247407696,29.733896334091845],[116.31589947412822,29.734007331589993],[116.3157294742488,29.734240326327],[116.31530647375133,29.734035331141417],[116.31476047412855,29.733886333954622],[116.3146634740441,29.734021330973345],[116.31455447336586,29.733954332492477],[116.31428247337928,29.73412232900441],[116.31422747402594,29.734268325810223],[116.3139154738565,29.734238326301135],[116.31371147364197,29.734311324645578],[116.31373047390854,29.734394323020126],[116.31410647365209,29.734403323094796],[116.31431147369135,29.734676317136714],[116.3142124739571,29.73487931256385],[116.31394347344525,29.73497331049467],[116.31369747339807,29.734876312551858],[116.3132164740726,29.734488320624553],[116.312909473926,29.734484321374385],[116.31249747419736,29.734732315856164],[116.31206547347888,29.73487331253592],[116.31204047336446,29.73503230905355],[116.31259147390851,29.735040309069873],[116.31295947415461,29.734777314504807],[116.31325647335713,29.73483931319808],[116.3132874742175,29.734939311184238],[116.31303547342415,29.735001309775402],[116.31272147360473,29.73523730454263],[116.312538474205,29.73522130532408],[116.31231447389902,29.735318302931617],[116.31226047347215,29.73566029576086],[116.31216247356285,29.735736293835384],[116.31214747349435,29.73545529957822],[116.31205547343295,29.73530630294215],[116.31140547405298,29.735352302108083],[116.31088647419425,29.735457299568967],[116.31070747409406,29.73559229681326],[116.31048547343775,29.736034287162227],[116.31003947337396,29.736039287119734],[116.30871147412698,29.735261304520673],[116.30845447420903,29.735319302917038],[116.30856947383673,29.735396301248816],[116.30855947379084,29.735753293733133],[116.3084994735163,29.735982288345795],[116.30832647416221,29.73611928564554],[116.30830747389551,29.736377279871288],[116.30893947373201,29.736647274045318],[116.30894147338182,29.736700273275307],[116.30823447410046,29.736700273272813],[116.30810447350576,29.73680727085237],[116.30804147375653,29.737043265271428],[116.30829547419953,29.737383258503694],[116.30818747424446,29.73749025613473],[116.30826547406205,29.737859247871167],[116.3081384738405,29.737841248343326],[116.30797147343601,29.737632252814336],[116.30779347405907,29.73776724947136],[116.30784047391465,29.737955246074236],[116.3077314741346,29.738267238629277],[116.30787647389933,29.738769228344502],[116.3080464737785,29.738913224701083],[116.30799347407503,29.739170219579307],[116.30747347349283,29.739650208867392],[116.30729047409307,29.739647208999347],[116.30710947344497,29.739402214062505],[116.30692947351994,29.73934921547968],[116.30679347397566,29.73976520683543],[116.30666547392907,29.739962202387147],[116.30641347403392,29.74014919804371],[116.30643947397316,29.74020219698318],[116.30663447396684,29.740175197542374],[116.30684347420427,29.740009200932878],[116.30698847396926,29.739872204266376],[116.30704147367281,29.739583210245307],[116.30721247337692,29.73981020556598],[116.30718347396275,29.740241196599538],[116.30741447394135,29.74026819524409],[116.30748547408653,29.740169197841833],[116.30763247350129,29.740182197199623],[116.30775647334951,29.740921181289202],[116.30789547416492,29.740954180967265],[116.30802747351106,29.740882181940865],[116.30828347360395,29.74123617457941],[116.30859447394845,29.741432170425007],[116.30913347389875,29.741232174822382],[116.30895547362363,29.740961180570277],[116.30895547362373,29.740844183303512],[116.30938247342073,29.741287173849305],[116.30946747380952,29.741298173183154],[116.30939147364167,29.74100317971735],[116.30910247393678,29.74080818375761],[116.30906547412702,29.74050219021079],[116.30907747382261,29.740448191482187],[116.30955247419874,29.7403171943316],[116.30973247412396,29.739856204237434],[116.30971547350728,29.739758206382927],[116.30941547393178,29.739443213131196],[116.30898047373874,29.739272217070102],[116.30897447389103,29.73907822160715],[116.30912547350374,29.739087221260792],[116.30943147382538,29.739270217152512],[116.30977947397976,29.739612209768165],[116.30987947353887,29.739605210075045],[116.31016147357123,29.73936021503724],[116.31064747381802,29.73923821766504],[116.3106304740996,29.73914621975181],[116.31045547419745,29.739128220454766],[116.30990547347821,29.73937921502956],[116.30974647346956,29.739385214779816],[116.30954247415345,29.739271217112524],[116.30926247377116,29.738865225682986],[116.30969047339345,29.738565232249396],[116.30975847406388,29.73832423766648],[116.30972047353086,29.73814524149285],[116.30987947353955,29.738021244257585],[116.3103544739155,29.738263238760076],[116.31069247402428,29.738275239176033],[116.31094447391938,29.738113242426426],[116.31125647408886,29.73811324242752],[116.31196947411637,29.737893246982555],[116.31230647350205,29.737665252029327],[116.3130964735223,29.73780924919312],[116.31315747362162,29.73789224701345],[116.31290747337634,29.73807924340957],[116.31251947393716,29.73812924196862],[116.31232947396643,29.73806224311124],[116.31183047419906,29.738305238260654],[116.31152947390021,29.7383012383827],[116.31083647396419,29.738496233753423],[116.31058147369602,29.73876322856641],[116.31037947402966,29.738744228455733],[116.31032247412823,29.738824227169886],[116.30995747335695,29.738871226246992],[116.30989547343262,29.739026222819017],[116.31001447415653,29.73906822199535],[116.31034247421962,29.739002222949356],[116.31081947424546,29.73914921963488],[116.31110247410254,29.739388214659865],[116.3112864742254,29.739696208396808],[116.31139447418046,29.73954021134352],[116.31114847413346,29.73905522171777],[116.31120847350964,29.738934224715994],[116.31181947342985,29.738907224935268],[116.3122294735087,29.738703229895886],[116.31274247351965,29.738668230328347],[116.31290747337603,29.73872022930591],[116.31299047411498,29.738766228468748],[116.31298247371905,29.738859225914155],[116.31275947413619,29.739004222882365],[116.3127854740755,29.739044222143928],[116.31345147424726,29.739015222468808],[116.31364947371554,29.739274217005644],[116.31379447348048,29.73934321575092],[116.31412847339125,29.739313216201907],[116.31414247363496,29.73938521479529],[116.31375847349537,29.739565211050984],[116.31367347400484,29.739579210442713],[116.31345947374471,29.739376215166537],[116.31337347353097,29.73944321314514],[116.31340947351568,29.74000720105149],[116.31391247348084,29.74016719796322],[116.31434147382622,29.740055200310554],[116.31458547422369,29.740091199348196],[116.31485147346397,29.740369193252192],[116.31478147404205,29.740459191707842],[116.31481847385191,29.74059518840674],[116.31531847344401,29.740697186006557],[116.31541147422865,29.740807183835543],[116.31546947395492,29.74093118152702],[116.31541547352808,29.74131717283019],[116.31546147355883,29.741360171765482],[116.31557547336162,29.741372171810116],[116.31562847396344,29.74122517526486],[116.31553947337693,29.740649187058825],[116.31571747365213,29.740665186971512],[116.31583547365267,29.741178175730415],[116.31591147382062,29.74120217508119],[116.31559447362808,29.741583167217783],[116.31580947371307,29.741868161201683],[116.31597747394264,29.741767163169953],[116.31605947395835,29.741846161099247],[116.3160384740418,29.742108155917936],[116.3159334735615,29.742174154480587],[116.31585847411664,29.742384149831924],[116.3162644739974,29.74258314555372],[116.31649447415103,29.74283613991194],[116.31675147406892,29.74287513928221],[116.31672647395438,29.743401127374824],[116.31711947341626,29.74362712271763],[116.31723147356928,29.743558124580908],[116.31738747410317,29.743587123725096],[116.31760247418819,29.743896116959064],[116.31753247386787,29.744082113168606],[116.31770047409718,29.744560102533804],[116.31751647397427,29.744330107318223],[116.31724047378974,29.744347107330903],[116.31708647380394,29.74445410455153],[116.31729847351583,29.74485809616519],[116.31773947355677,29.74480609725263],[116.31780847405199,29.74496009410874],[116.3177264740361,29.74521008822723],[116.31760447383736,29.745312086590328],[116.3172504738351,29.745274087287367],[116.31687447409143,29.745399084811826],[116.31619447367606,29.745213088702748],[116.3160784742233,29.745397084232142],[116.31611247366016,29.74547208283043],[116.31640747411123,29.745474082626917],[116.31666147365605,29.745593080525275],[116.31693547419076,29.74553608172793],[116.31709647384908,29.74584307462716],[116.3173834739042,29.745849074772245],[116.31824547389442,29.746123068749995],[116.31842247344645,29.74611806851428],[116.31848647391902,29.745665078515902],[116.31862547383616,29.74568707856173],[116.31861147359234,29.74600407148284],[116.31877147342585,29.746060070123768],[116.31889047414961,29.746563058933233],[116.31905747365596,29.74628806549198],[116.31895447372398,29.745935072642713],[116.3191614734132,29.745868074322207],[116.31957147349195,29.74593307285865],[116.31973947372103,29.746874052125257],[116.32015947384548,29.746972050046473],[116.32076447391759,29.747619036075402],[116.3210644734933,29.74751303899046],[116.3217634741753,29.747601036743504],[116.32250947381475,29.74747803938123],[116.32274547381637,29.747208045512316],[116.32278847347419,29.746971050172903],[116.32277847342853,29.746759055298558],[116.32267847386943,29.74668005656012],[116.32265847377809,29.746365063214004],[116.32257847341221,29.746217067077904],[116.32266647417414,29.746141068366267],[116.32283547422837,29.746457061524637],[116.3230834739254,29.746552059411954],[116.32311547371229,29.74692605153864],[116.32346047349355,29.747371041490762],[116.32363047337283,29.74742404051339],[116.32393247349637,29.747929029246503],[116.32467147346321,29.747615036583767],[116.32469547375268,29.747543037660115],[116.32453847339393,29.74737404191083],[116.32436347349194,29.746921051346813],[116.32465647339504,29.746568059167668],[116.32462347378319,29.746355063552155],[116.32447547364528,29.74615406773567],[116.3240424740003,29.74607606997096],[116.32367147338142,29.74575007666196],[116.3232384737364,29.745863074087538],[116.32330847405667,29.74569107816054],[116.3234574740196,29.745570080586422],[116.32385247402972,29.745684078113356],[116.32392047380175,29.745648078744807],[116.32392947402272,29.74541908436394],[116.32384747400704,29.745213088729667],[116.32351447392122,29.745156089714193],[116.3233894733494,29.745189088777643],[116.32316047391879,29.74544208357864],[116.32296847339988,29.745405084223886],[116.32298247364365,29.745216088427597],[116.32311747336294,29.745056091774288],[116.32350647352537,29.74490809526753],[116.32368047360269,29.744728099241698],[116.32375847342064,29.744418105544586],[116.32368847399913,29.743531125285656],[116.32309347397288,29.74250614730407],[116.32299647388874,29.742121155828247],[116.32291847407096,29.74204715699524],[116.32275047384145,29.742054157297613],[116.32278247362841,29.742388149570345],[116.32272047370404,29.742546145947397],[116.32256547389368,29.741949158940635],[116.3227004736129,29.741811161870125],[116.32255047382515,29.741630165807692],[116.32147047337686,29.741154176393934],[116.3211724734511,29.741105177721813],[116.32056447390406,29.74085218289516],[116.32051147420066,29.740750185454623],[116.32061547395779,29.740628188211986],[116.32046947346964,29.740495190619605],[116.32055747423158,29.740419192251075],[116.32088647411945,29.74045719183389],[116.32063947334908,29.740217197066404],[116.3206594734406,29.740138198634234],[116.32158447407846,29.740118198836864],[116.32157747350749,29.740016201429988],[116.3211294737939,29.739937202837826],[116.32151547358328,29.73988420375972],[116.32155047374343,29.739690207920745],[116.32110247402987,29.739598210420603],[116.32107947356545,29.739414214390127],[116.32216047383874,29.739600210336924],[116.32237447409902,29.73942621389174],[116.32232347404559,29.739146219792953],[116.32241647393197,29.739069222000587],[116.32321647399807,29.73907122192656],[116.32331547373224,29.739135220226757],[116.32322747386866,29.73923021802975],[116.32331947393017,29.739286217333493],[116.32373447403182,29.739161219989036],[116.32402047336365,29.739354215333694],[116.32399447342428,29.739592210692713],[116.32410547375231,29.739650208925916],[116.32458147395337,29.73953721151921],[116.32477247374902,29.739557211436278],[116.32489747342265,29.739174219481036],[116.32503047349208,29.739054221804842],[116.32511447405588,29.739283216681486],[116.32522647420886,29.739310216363467],[116.32529647363069,29.739349215544305],[116.32529847417874,29.739626209988234],[116.32539847373775,29.739767206810196],[116.32582847390798,29.739908203435114],[116.32621947372024,29.739696208449356],[116.32634347356893,29.739301216734347],[116.32643247415577,29.739185219051784],[116.32663947384502,29.739108220509756],[116.32664247421792,29.739369215502993],[116.32650747360022,29.73987020442786],[116.32674547414979,29.74008819953674],[116.32707847423568,29.740051200548304],[116.32729247359751,29.740123198612494],[116.32723847406893,29.74062718828923],[116.32729347342217,29.74080818382163],[116.32794047422531,29.74159616721517],[116.32839947380944,29.74192215999001],[116.32827247358783,29.741977158637148],[116.32788347342559,29.741664165206448],[116.32776147412518,29.741682164827225],[116.32762247420798,29.741777163337233],[116.32758047347684,29.741902160542356],[116.32775947357672,29.742423148638995],[116.3277344734623,29.742572145621537],[116.32753847364373,29.742641144436437],[116.32723947389302,29.74258214566585],[116.32718447364144,29.74266614336129],[116.32741347397004,29.743115133965023],[116.32731547406071,29.743230131861555],[116.3273244733832,29.74335912849092],[116.32751647390211,29.743389128391325],[116.32772947343881,29.744026114239333],[116.32726447400663,29.744280108763828],[116.32735647406798,29.74465310087992],[116.32715947352618,29.744637100823553],[116.32709347340396,29.74471609961116],[116.32716547337374,29.745262087744983],[116.3275034734823,29.74568907838418],[116.32811247375253,29.7459120735706],[116.32848547402148,29.745724077066487],[116.32835947362504,29.745241087510582],[116.32844147364088,29.745031092682765],[116.32852947350445,29.74495309404635],[116.32877047352875,29.745057091696026],[116.32886147376503,29.74587707417999],[116.32877047352837,29.745996071598803],[116.32831547414197,29.74623806635231],[116.32831447341871,29.746325064552792],[116.32850647393754,29.746454061880744],[116.32865347335239,29.746328064221643],[116.32866947414426,29.746218066989588],[116.32895247400147,29.74619206749959],[116.32933747396571,29.746551059547034],[116.32938247417145,29.746770054835082],[116.32919147347742,29.74689805170566],[116.3291434737967,29.74717004617166],[116.3292564737745,29.74739504093934],[116.3295164740654,29.747514038897545],[116.32934447363789,29.747766033416845],[116.32939347404155,29.74802702771406],[116.32947147385933,29.748115025793773],[116.32976247411256,29.747893030704244],[116.32989147398393,29.747900030599574],[116.32996447377886,29.747831031503438],[116.3298794733901,29.74778603247385],[116.32993547346659,29.747708034420622],[116.33042847338605,29.74771203470399],[116.33038347407863,29.747577037394972],[116.33045147385069,29.747486039210706],[116.33084247366287,29.74748203892144],[116.33082147374643,29.747571037355915],[116.33072147418736,29.74756403743773],[116.33055747415577,29.747748033332137],[116.3305494737598,29.747839031278858],[116.33087547417296,29.74788803056016],[116.33098847415097,29.74768703469811],[116.33123447419814,29.74778603247863],[116.33160047389589,29.748153024806196],[116.33159447404802,29.748340020787523],[116.33090547341163,29.74842501898492],[116.33088947351806,29.7486300143927],[116.33101047389177,29.748830010060615],[116.33096147348795,29.74887100916592],[116.3308004738295,29.748804010466262],[116.33074147338006,29.748601015147166],[116.3305774733486,29.748543016631345],[116.33062247355424,29.748907008156195],[116.33108547423478,29.748936008094276],[116.33134047360454,29.74902900546808],[116.33184547411788,29.74892900827442],[116.33203947338822,29.749111004281843],[116.33206647405058,29.749393998209097],[116.3321394738455,29.749421997366632],[116.33281447423816,29.74934499888773],[116.33308147420173,29.749528994634623],[116.33353347411342,29.749207001859098],[116.33370147344456,29.74920000205608],[116.33394047381908,29.749303999980047],[116.33416847342474,29.74928000022969],[116.33441847367001,29.7491460033344],[116.3348634739089,29.74909100472103],[116.33544547351654,29.749590993574298],[116.33580647408981,29.749611992903038],[116.33615547406916,29.74977498965127],[116.33650647369835,29.749829988672108],[116.33669347419446,29.74974099068369],[116.33677347366218,29.749423997099626],[116.33702547355722,29.74945199624944],[116.33709347422761,29.749370998356067],[116.33721947372618,29.748968006852618],[116.33736247384132,29.74891300814055],[116.33766147359198,29.748952007487087],[116.33770547397295,29.74889200866793],[116.33777047337185,29.74899900649853],[116.33766747343964,29.749187002322053],[116.33773247373678,29.749687991330386],[116.33784447388969,29.749850987954193],[116.33800647337304,29.7498879872279],[116.33855647409224,29.749822988919195],[116.33891947341714,29.74958099345963],[116.33956447367285,29.748819010023542],[116.33976847388729,29.748805010362357],[116.33987247364428,29.748951007631824],[116.33945847336749,29.749200002076353],[116.33966047393208,29.749345998770867],[116.34002047378226,29.749058005399764],[116.34026947420257,29.749051005586626],[116.3406014735653,29.74885700954522],[116.34103547393352,29.748817010299913],[116.3410814739643,29.74888600871788],[116.34099747340034,29.748977007191268],[116.34079447390914,29.748964007413665],[116.3405614733822,29.749256000495368],[116.3405534738845,29.749423997112935],[116.34046747367076,29.749482995755827],[116.34057647345058,29.749618992694675],[116.34076647342141,29.749629992674794],[116.34114047351528,29.749395997958235],[116.3418194741059,29.749246001119353],[116.34250647419394,29.749573993694767],[116.34315847412199,29.74970299152349],[116.34317447401554,29.74950899518285],[116.3433164734075,29.749367998801308],[116.34339947414642,29.749389998034474],[116.34345447349966,29.749551994505616],[116.34330147423702,29.749809988488828],[116.34370747411782,29.749812988833504],[116.34371747416354,29.74988898710173],[116.34355547378176,29.750049983693653],[116.34330147423692,29.749981985148985],[116.34329347384093,29.75013498200259],[116.34344647400174,29.75029797789976],[116.34406347376972,29.750284978296335],[116.34494947404933,29.750681970114034],[116.34533647366354,29.75073796848263],[116.3453954741131,29.750675970260847],[116.34566547355136,29.750960964136556],[116.34602247392694,29.750398975927],[116.34626647342598,29.750612971377176],[116.34665347393846,29.75076496820412],[116.34710647367491,29.75080396761063],[116.34743947376083,29.75075196866183],[116.34756047413487,29.750293978515707],[116.34779247393844,29.750230979389723],[116.34789147367275,29.74993598646814],[116.34836147402599,29.749816989047535],[116.34835947347787,29.749765990220478],[116.34817147405525,29.74975798982031],[116.34821847391099,29.749663991708054],[116.34811447415404,29.749395997982795],[116.34835047415565,29.74911400392351],[116.34863647348753,29.749140003437738],[116.34899847388564,29.749364998464742],[116.34907847335326,29.74933399893423],[116.34884447390004,29.74895800748436],[116.34857247391363,29.748794011103282],[116.34852247368502,29.748574015689936],[116.34832647386652,29.748450018090185],[116.34860347387604,29.748095026091637],[116.34859447365528,29.74801402788155],[116.34843647347158,29.747952029534236],[116.34829647372956,29.74777803276106],[116.34857047336604,29.747547038032288],[116.34854647397508,29.74716804647833],[116.34860247405159,29.74712404703288],[116.34886247344413,29.74735004256323],[116.34897247394733,29.74736604218641],[116.34879047347415,29.747198045239315],[116.34849847339639,29.746658057603426],[116.34867647367173,29.746344064077945],[116.34887047384049,29.746343064189567],[116.34874747381674,29.74662905778891],[116.34876347371019,29.74677305455762],[116.34897647414535,29.747026049263056],[116.34921447379668,29.7471700462423],[116.34940047356952,29.746999050100516],[116.34936447358459,29.7469160520182],[116.34906447400905,29.74677605499286],[116.34916647411637,29.746512060117272],[116.34936147411003,29.746486060703177],[116.34947447408798,29.74634406408077],[116.34900847393304,29.745668079090663],[116.34912647393384,29.745587080480178],[116.34899747406259,29.745165089691454],[116.34901047358314,29.74501409285745],[116.34912547410921,29.74487709600873],[116.34911647388853,29.74452410365199],[116.34918647420878,29.74447310447257],[116.34927447407227,29.7445161036147],[116.3493804734792,29.74436810708989],[116.34952447341924,29.74431210828496],[116.34977947368726,29.744460104893705],[116.34980847399981,29.744003114774802],[116.34991647395492,29.74386311758341],[116.35016147417728,29.743745120668496],[116.34982447389359,29.743463126312253],[116.3496894741745,29.74315113354167],[116.34998147335453,29.742418149076364],[116.35016547347757,29.74227015257523],[116.35038247411083,29.742244152841213],[116.35027647380579,29.7419801585123],[116.35031447344072,29.741724164530094],[116.3505764733816,29.74149516898852],[116.3507014739534,29.74149016930191],[116.35127847353823,29.74188416104403],[116.35135047350829,29.741708164790655],[116.35135247405658,29.741344172090646],[116.35169747383813,29.74114517703273],[116.35170647405917,29.740716185874525],[116.3519494737335,29.7404281926743],[116.35154147420297,29.740235196276064],[116.35127247369128,29.739918203056337],[116.3511864734777,29.73965120897702],[116.35128647393525,29.739351215553366],[116.35173247399905,29.73933521621321],[116.35174747406764,29.739277217018245],[116.35170947353475,29.73873622888222],[116.35155847392208,29.738659230774246],[116.35142847422566,29.738817227566052],[116.35134847385973,29.738783228000607],[116.35137147342618,29.738288238921918],[116.35171447355782,29.73827623928988],[116.35179447392387,29.7380502435899],[116.3518674737188,29.73802724423733],[116.35248847368467,29.738105242803385],[116.35243847345613,29.737755249932903],[116.35234447374486,29.737717250887194],[116.35238047372991,29.737561254655553],[116.3522454740108,29.737278260871634],[116.35211747396434,29.737292260582418],[116.3520414737964,29.737165263130127],[116.35181147364268,29.737163263168124],[116.35167547409867,29.737066265003442],[116.35147447335905,29.736627274478284],[116.351526474136,29.736419279528516],[116.35231247395852,29.736097285995925],[116.35256947387654,29.735876290814208],[116.35275547364944,29.735589296972424],[116.35266947343618,29.73448232149972],[116.35288247387155,29.734468321397028],[116.35311947369784,29.734685316541324],[116.35308447353769,29.734811314009065],[116.35345147395877,29.73481431402245],[116.35376847415127,29.734593319134415],[116.35396447396984,29.734550319638778],[116.35404047413773,29.734691316576136],[116.35401247365024,29.734988309890888],[116.35412347397828,29.73498131065516],[116.35423647395628,29.734767315385827],[116.35425147402476,29.73504930923189],[116.35458647376068,29.73459131912481],[116.35467547344936,29.734094329617225],[116.35456947404255,29.733914333682083],[116.35464347366245,29.733670338798653],[116.35459347343382,29.733499342257314],[116.35517547394005,29.733474343388362],[116.35505947358936,29.732909355385598],[116.35512947390966,29.732657360974134],[116.3551454738031,29.732776358479164],[116.35548647338663,29.73275635877195],[116.35537847343181,29.7323023684513],[116.3549564736578,29.73161638361823],[116.35532447390386,29.731366388376827],[116.35562047417966,29.731784379368452],[116.35555147368429,29.731961375907336],[116.35570347402015,29.732141372226675],[116.3557354738071,29.73246136514507],[116.35582047419582,29.732528363842984],[116.35627447375735,29.732256369447754],[116.3562904736508,29.73242036557268],[116.35593847419652,29.73273735908572],[116.3558684738762,29.733056352421336],[116.35591747338152,29.733383344889454],[116.35599347354942,29.733509342432903],[116.35636847346811,29.73349734222933],[116.356588473576,29.733803336087053],[116.35671547379756,29.733826335628844],[116.3568274739506,29.733693338378167],[116.35778047417733,29.734034331279137],[116.35791147369878,29.733574341184678],[116.35776247373623,29.73274835858342],[116.35787447388932,29.732579362083722],[116.3580364733727,29.73254236344491],[116.35809747347214,29.732394366410997],[116.3587464739255,29.732242369822366],[116.35894247374405,29.732333367799512],[116.35897447353096,29.73261536146748],[116.35944247423423,29.73291535553887],[116.35977747397004,29.73264336141243],[116.36032747379068,29.73312135069555],[116.36044747344131,29.733093351667303],[116.3605994737771,29.733383344905935],[116.36072847364862,29.733221348835524],[116.36085647369511,29.733199349175987],[116.36217447379475,29.733668338794295],[116.36226647385612,29.733912333683186],[116.36212847376378,29.73417932743814],[116.36194247399102,29.734014331056063],[116.36164347424032,29.734064330081694],[116.36184747355641,29.7342143270129],[116.36190447345766,29.734608318475058],[116.36204047390007,29.734602318438952],[116.36213547343637,29.734432321934612],[116.36226347348284,29.734440321997322],[116.36236547359003,29.734567318999762],[116.36228647394725,29.73476731541416],[116.36261847420822,29.734814314054724],[116.36257747420038,29.73470931669879],[116.36268947345512,29.734546319642828],[116.36262247350808,29.734221327085343],[116.36295747414229,29.733851335214066],[116.36296047361719,29.73345034377616],[116.36313147421978,29.73331034667444],[116.3633294736883,29.732940354562796],[116.36315247413647,29.732619361585844],[116.36317247422815,29.73221137047416],[116.36331847381807,29.732033374344926],[116.36343147379613,29.73160938339654],[116.36317847407634,29.73126639075699],[116.36296947383926,29.730633404396446],[116.36262847335752,29.730542406436875],[116.36246847352406,29.730266412698253],[116.36261347418757,29.729722424163427],[116.36332147419218,29.72957742782087],[116.36347747382791,29.729237434655246],[116.3633514734314,29.72885044360556],[116.36343147379753,29.72841245307834],[116.36372247405079,29.728124458875076],[116.36345147388926,29.727877464510758],[116.36365747375362,29.727737467433204],[116.36450947369823,29.727674468960252],[116.3645384740107,29.72719947893034],[116.36476047376867,29.727037482235996],[116.36419447405461,29.72632849759342],[116.36408547337646,29.726045504105265],[116.36438647367548,29.725584513951024],[116.3645314734405,29.72551351569073],[116.36470147421804,29.725677511916643],[116.36568147420911,29.725765510107593],[116.36591547366265,29.725315519753014],[116.36615447403724,29.72519752208071],[116.3663324734141,29.72532551996084],[116.36641847362782,29.725229521371833],[116.36655447407026,29.725230521471808],[116.36690247422464,29.725514515795794],[116.36701447347937,29.72537451854144],[116.36736347345877,29.725398517773893],[116.36746647339098,29.725287520111653],[116.36732147362608,29.72520552210334],[116.36727247412067,29.72502652592434],[116.36747747416008,29.72498352700899],[116.36771447398647,29.72511852430686],[116.36770847413884,29.724784531477773],[116.36757247369648,29.72459753526123],[116.3676434738417,29.724308541700655],[116.36799247382109,29.72434754125406],[116.36823247402066,29.724170544545977],[116.36824247406655,29.72383755179561],[116.36834547399873,29.72371255470294],[116.36861747398522,29.723803552615507],[116.36870447402394,29.723580557423922],[116.36889947401757,29.72366355531511],[116.36909647366106,29.723627556624574],[116.3690884741635,29.72344956008871],[116.36888547377403,29.723269564558585],[116.36916047413376,29.72290057220781],[116.36959547342863,29.72275457524351],[116.36970747358167,29.722561579949517],[116.36984447384907,29.72250358119864],[116.37002147340098,29.722660577567115],[116.37016747388915,29.722675577103367],[116.37046747346493,29.72223958640689],[116.37087747354377,29.72210258965779],[116.37085347415274,29.721871594303234],[116.37118747406363,29.721658599291988],[116.37135947359286,29.721362605663664],[116.37129247364584,29.721183609651373],[116.37097847382655,29.72103361274187],[116.37034647398993,29.72113361044343],[116.37009247354683,29.721027612670547],[116.37016047421717,29.720968614451202],[116.37045847414291,29.72103761252524],[116.37057847379357,29.720926614720433],[116.37087647371936,29.720861616364378],[116.37096447358303,29.72071061961061],[116.37101847400986,29.7202586296951],[116.37133447347907,29.720185631268556],[116.37165747351912,29.72031362852037],[116.37172647401455,29.720091632746197],[116.37107247353839,29.719872637717483],[116.37137947368512,29.719710641677995],[116.37229247372906,29.71963464316928],[116.37254647417218,29.719813638824128],[116.37298947386287,29.71980163932318],[116.3732274735142,29.71989963716974],[116.37334847388811,29.719573644602935],[116.37378347408125,29.719509645527687],[116.37416747422121,29.7185156675506],[116.37349447347863,29.718042677418424],[116.37351247392039,29.71788668102125],[116.37382747356462,29.71790368083659],[116.37501047394565,29.717093697737525],[116.37542647387211,29.71721469533643],[116.37547447355304,29.716406713290137],[116.37569947368414,29.715806726184592],[116.37587847378433,29.715784726607996],[116.37598947411242,29.715666728652096],[116.37566947354728,29.715077741670825],[116.37596047380046,29.71485674622313],[116.3764464740472,29.714837747048836],[116.3767434741481,29.714943744336924],[116.37738547403053,29.714567752706067],[116.37748947378772,29.71426375912222],[116.37785747403393,29.713909767277126],[116.37768047358372,29.713618772938503],[116.37779247373679,29.713426777459482],[116.37811647360184,29.713368778892214],[116.3788054742381,29.713543774715458],[116.37948547375501,29.714037763954163],[116.38028447399604,29.71435375760061],[116.3812554737663,29.71435975729098],[116.38204147358891,29.713849768576548],[116.38230047405519,29.713234781628817],[116.38214947354435,29.712914788254828],[116.38193647400792,29.71150981879889],[116.38206147368183,29.710474841232706],[116.3824824736315,29.709947852690302],[116.38323547384218,29.7093648656973],[116.384235473925,29.708723879530304],[116.38490347374682,29.70817789150584],[116.38549947359849,29.708054894181313],[116.38594047363969,29.707353908756836],[116.38768947373501,29.70669392308321],[116.38866947372615,29.706505927213723],[116.38992647372709,29.705562947930105],[116.38827647336673,29.70446597123092],[116.38755047381893,29.70433997389425],[116.38580247354876,29.70438297306417],[116.38494447375649,29.704199977528717],[116.38391347371176,29.704178978054856],[116.3824314735803,29.704341974491534],[116.381537473803,29.704277975845162],[116.37995947341248,29.703527991504068],[116.38015147393173,29.702801007440023],[116.38011147374895,29.702384016232802],[116.37984747415832,29.70231601815093],[116.37929647361446,29.701956025888986],[116.37893247356662,29.70156803387744],[116.37856447421944,29.70042905908243],[116.3781984736233,29.700442058904688],[116.37789347402492,29.700158064656502],[116.37771547374966,29.700135065202037],[116.37742347367151,29.700445058380776],[116.37691047366044,29.70079805053274],[116.37670447379607,29.701087044670185],[116.37674447397895,29.701325039494044],[116.37712447392015,29.702048023557897],[116.37725647416434,29.7027250093822],[116.37706547347013,29.703228998070877],[116.37675747349846,29.703434994074886],[116.37626347375415,29.703386994466033],[116.37600247363847,29.70300700274779],[116.37568047342333,29.70276700814055],[116.373909473587,29.702764007944488],[116.37369147402786,29.701023046283154],[116.37322647369848,29.698912091392202],[116.37052947340085,29.69564416231906],[116.37047147367453,29.695677162058807],[116.3696044736611,29.696128152214108],[116.3690094736345,29.69606515340736],[116.36865847400513,29.69626414890104],[116.36865647345691,29.696516143383388],[116.36851147369192,29.6966641402565],[116.3682394737054,29.69655814240089],[116.36637647380842,29.694699183239756],[116.36585747394979,29.69459918495808],[116.3640574738011,29.694677183712233],[116.36366947346387,29.694140194799523],[116.36335447381971,29.694034197402242],[116.36297047368011,29.69415019498734],[116.36226347350055,29.69400419757029],[116.36122347413362,29.693368211431807],[116.36102947396502,29.693047218325013],[116.3605124737564,29.69251722992139],[116.35988947414074,29.692280234946086],[116.35915147399895,29.69222623602057],[116.35781547345768,29.691712247098398],[116.35715047400912,29.6917072472699],[116.35538947421811,29.692565229241932],[116.35444947351169,29.692641227169073],[116.35352447377235,29.692167237245535],[116.35324047409017,29.692447231307014],[116.35324447338952,29.693138216690524],[116.35308147408112,29.693330212720042],[116.351737474042,29.693433210385674],[116.35077547359485,29.692052240131268],[116.35040147350115,29.691879243620214],[116.3500344739784,29.69194324235792],[116.34984247345918,29.692618227538798],[116.34952647398993,29.692787224205727],[116.34953847368556,29.692739224973224]]]},properties:{name:"张青乡","fill-opacity":0,"stroke-opacity":1,stroke:"#ff0000"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[116.32143847364675,29.611044990128416],[116.3213884734181,29.610936992520625],[116.32158347341183,29.610678998028664],[116.32143247379922,29.610500002538746],[116.32143147397446,29.61011801041267],[116.3209674734692,29.609767018050594],[116.32102347354572,29.609663020166504],[116.32114547374445,29.60967102000801],[116.32120947421687,29.60959602157092],[116.32114747429273,29.609366026692076],[116.32084947346856,29.609387026431946],[116.3207024740539,29.609202030497254],[116.32045447345844,29.60924902928033],[116.3205394738471,29.609590021878645],[116.32036347411992,29.609907014640523],[116.32028147410448,29.60924002971367],[116.32016547375363,29.608986035121077],[116.3199564735164,29.608811038532313],[116.31963347347622,29.608890037113305],[116.31964847354497,29.608501044900848],[116.31959947403949,29.60849004587006],[116.31941747356622,29.608769039585262],[116.31926247375547,29.608844037856183],[116.31914347392998,29.608459045824794],[116.31923747364138,29.60828805025025],[116.31872247398088,29.607745061226616],[116.3186524736608,29.607402069217233],[116.31771347367763,29.607368069705682],[116.3173104741698,29.607554065587617],[116.31677347386947,29.60757806482805],[116.31661947388375,29.607351069943373],[116.31686947412905,29.60710107569244],[116.31648947418762,29.60684708117769],[116.31685547388578,29.606165095801675],[116.3165464740894,29.60605509820585],[116.31620747415587,29.60576410417353],[116.31588747359041,29.605807103313754],[116.31525547375371,29.606127096200318],[116.31475447343827,29.606177095581458],[116.31423947377762,29.60601209916208],[116.31373947418525,29.606647085597487],[116.31328547372556,29.606662085257945],[116.31311047382341,29.60659808616313],[116.31226247407707,29.605890101573607],[116.31123547423067,29.605198116310145],[116.31046347375376,29.604968121550176],[116.30967947358123,29.604962121582084],[116.30942047401345,29.60512311844451],[116.30881147374306,29.605154117168563],[116.3080304739435,29.605302114102408],[116.30728647395381,29.605531109147957],[116.30623347416751,29.60618109521987],[116.30591347360209,29.60619709467177],[116.30529847348373,29.606595086201512],[116.30425147354546,29.606729083428903],[116.30396247384041,29.60699107751128],[116.30394147392403,29.606947078379502],[116.3023234742501,29.603429154642924],[116.30175947418519,29.60434713492921],[116.30122947355733,29.60472312706867],[116.30021147393126,29.60507311928763],[116.2987374741957,29.60536611320542],[116.29812947375014,29.605575108084267],[116.29763747365551,29.605843102734546],[116.2969374740465,29.60666008498527],[116.2966644742348,29.607240072298804],[116.29627047404941,29.607531065974086],[116.29565847430426,29.607667062935363],[116.29175647388332,29.60747906704774],[116.29099047415238,29.607637063891673],[116.2906984740743,29.607799060093868],[116.29038547407968,29.608303049566594],[116.29035747359212,29.6085630440687],[116.29054747356247,29.609653020061785],[116.29201847382294,29.61020800827367],[116.29244347397021,29.610412004092723],[116.29261947369717,29.610615999498112],[116.29222747405971,29.6114669810434],[116.29193347343318,29.61236296200666],[116.29173647378964,29.612497959040226],[116.29101247389158,29.612472959745194],[116.29019847358178,29.61256095784932],[116.28933247429174,29.61276995343298],[116.28881247370965,29.613080946084334],[116.28786747387828,29.613814930328733],[116.28679147362723,29.61504990354289],[116.28613747404914,29.615491894594637],[116.28573647419104,29.61586288609165],[116.28530447347256,29.616087881304693],[116.28432647402957,29.616243877907124],[116.28474947362899,29.61574788844427],[116.28475047345398,29.615561892839725],[116.28508147389013,29.61544589522359],[116.28541047377824,29.615038904440965],[116.28548547412142,29.6147139111943],[116.28468647388056,29.614005926585982],[116.28449747373476,29.613935928035804],[116.28418747411337,29.613997926306215],[116.28397347385308,29.614144923112857],[116.2839984739674,29.614246920994884],[116.28452447349879,29.614173922905955],[116.28460347403984,29.614212922235158],[116.28464647369735,29.614450916451386],[116.28454647413824,29.61465391263552],[116.28441447389373,29.614740910763135],[116.28431147396144,29.615037904022145],[116.28395147411133,29.615206900596668],[116.28379147427782,29.615088903303313],[116.28388347344111,29.61479690915756],[116.28366047385856,29.614403917746166],[116.28327047387107,29.61484290803795],[116.28358847388797,29.61570888970517],[116.28353847365908,29.61612188098977],[116.28334547421343,29.616381874850138],[116.28306147363303,29.616507872269604],[116.28289447412668,29.61670886819993],[116.28299447368579,29.616733867223193],[116.28337147415266,29.61659987001508],[116.28368347342368,29.616807866202706],[116.28354647405465,29.61700586191047],[116.28383747340935,29.61717585792428],[116.28387547394242,29.617337854418395],[116.2835164739173,29.617260856212432],[116.28325547380139,29.617289855887112],[116.28314647402146,29.617338854807986],[116.28316747393774,29.617517850648845],[116.28395547340982,29.61773984569302],[116.2840554738672,29.61786584297815],[116.28418647428653,29.618389831930596],[116.28410247372258,29.61848282989945],[116.28398947374468,29.618486829860156],[116.28283447385192,29.61749085103802],[116.28267147364527,29.617494851037875],[116.28230647377227,29.617712846137028],[116.28225747426674,29.617844843435275],[116.28234747378002,29.618048839417334],[116.28284547372215,29.61849582937759],[116.28287647368379,29.61957880627299],[116.28296147407256,29.61959580553158],[116.28361047362776,29.61917481456013],[116.28375847376573,29.61919081429427],[116.28352747378695,29.61952480737204],[116.28357547346745,29.619653804313742],[116.28333947346592,29.619717802928044],[116.28291947423953,29.62008979485296],[116.28290147379784,29.620213792377147],[116.28265547375065,29.61999479685333],[116.28248547387132,29.620087794902727],[116.28253047407712,29.620231791890465],[116.2827684737284,29.6202937909756],[116.28268347423784,29.620517786089607],[116.28253847357458,29.620576784698482],[116.28253447427475,29.620914776952954],[116.28232047401454,29.62091477695219],[116.28220647421186,29.620649782836264],[116.28208247346498,29.620639783147364],[116.28194247372295,29.620706781430982],[116.28193047402723,29.620908777153687],[116.28184447381349,29.621006775357603],[116.28166847408649,29.62094877657471],[116.28150747352969,29.62098577569348],[116.28132647377954,29.621441765939714],[116.28141247399313,29.62168676036659],[116.2815364738417,29.621711759716998],[116.2815644734307,29.621815757664926],[116.28135547409168,29.62189975637878],[116.2809214737236,29.62164376174951],[116.28065147428518,29.62165576125507],[116.28037047407771,29.621835757584144],[116.28033647374237,29.6221777501159],[116.2801254738552,29.622221748846325],[116.27977547405088,29.62213975108778],[116.27971147357866,29.621780758759026],[116.27974347426418,29.621468765266233],[116.27968747418771,29.621405766552837],[116.27952847417909,29.621408766826573],[116.27916547395586,29.621603762597207],[116.27852047370058,29.621361767461302],[116.2781584742006,29.621629761532866],[116.2778994737345,29.621695760370823],[116.27747747396022,29.62163276179808],[116.2773464735407,29.621504764616372],[116.27703147389653,29.621434765807287],[116.27654147345193,29.621103773093147],[116.27582847342455,29.62101477505817],[116.2752414737937,29.621294768820228],[116.2750374735792,29.62125677024131],[116.27486047402715,29.621395766922497],[116.27467147388104,29.622038752931033],[116.27470147401812,29.622304746860582],[116.27414347380137,29.622310747353573],[116.27401847412779,29.622648740038972],[116.27360547367596,29.622664739219605],[116.2735464741247,29.622741737980782],[116.27360947387378,29.6229427331926],[116.27315447358907,29.623213727965087],[116.2728144738305,29.623172728325834],[116.27277947367068,29.622528742183583],[116.2725444734942,29.6222907475188],[116.27249947418672,29.62215175050958],[116.2725994737459,29.621970754398138],[116.27257347380676,29.621760758799507],[116.27186447397733,29.621586762871054],[116.27162247412801,29.621601762652006],[116.27154347358665,29.622367745781528],[116.27137747390519,29.622612740298923],[116.27151047397443,29.62299673259967],[116.27137147405719,29.623152728662713],[116.2708844739858,29.622584740931533],[116.27065247418223,29.622546742058095],[116.27043447372398,29.6226677394453],[116.27047947392944,29.623644718627187],[116.2700904737669,29.62400271023498],[116.27185147355625,29.626794650058613],[116.27386347341569,29.62970758734191],[116.27286147368307,29.630292574532668],[116.27215647405126,29.63094056048817],[116.27130547393152,29.631037558827057],[116.2711424737253,29.63021957634616],[116.27156547422294,29.630040580424833],[116.27164747423883,29.629694587736253],[116.27161147425392,29.629509591595504],[116.271456473545,29.629313596013805],[116.27144647349937,29.629145599163213],[116.2711584736192,29.629299596090714],[116.27120947367277,29.629486592379397],[116.27107647360324,29.62981258510357],[116.27107847415127,29.630033580122422],[116.2708614735179,29.63022557636875],[116.27064847398096,29.630186576989086],[116.27050647369083,29.62991258298898],[116.2700854737416,29.62945959284924],[116.269556473837,29.629865583686428],[116.26949447391273,29.62998858140716],[116.2695594742099,29.630283575272326],[116.26884047343616,29.630801563687978],[116.2685084740733,29.63118355550141],[116.26833347417093,29.631734543615796],[116.2682354742616,29.631724543465488],[116.26791047367347,29.63142055076801],[116.2673724735481,29.631666545383858],[116.26640047395311,29.631207555356546],[116.2661234739437,29.63132055280958],[116.26601547398853,29.631508548720888],[116.26598847422424,29.631843541039654],[116.26561947415327,29.63207153644607],[116.26547947351281,29.632296531387265],[116.26548947355847,29.63237552951977],[116.26566247381078,29.632453528129744],[116.26588147409386,29.632440528106187],[116.26608547341007,29.6323195307433],[116.26633247418054,29.632431528270168],[116.26629847384528,29.632533526382637],[116.26599847426958,29.632765521183398],[116.2659854738507,29.633052515177987],[116.26607647408711,29.633366508403082],[116.26631947376114,29.633799499044407],[116.26574547365097,29.63359850362762],[116.26567147403097,29.633903497005587],[116.26551747404527,29.633865497716585],[116.26529147408938,29.6339724955112],[116.26512447368485,29.633962495582868],[116.26439247428873,29.63499747308115],[116.26538947399787,29.635863454096942],[116.26574547364974,29.636343444356974],[116.26574847402246,29.637121427063278],[116.26547747386026,29.638481398264332],[116.26557247429476,29.638494397509294],[116.26546147396637,29.6392633807673],[116.26376247409998,29.63943537704271],[116.26353847379407,29.639418378008106],[116.26308547405772,29.63909838463575],[116.26204347414229,29.639311379747085],[116.26171747372908,29.63926038101157],[116.26120647426636,29.63917638271661],[116.2603664740176,29.63855239632236],[116.25938147400377,29.638254402694965],[116.25895347348334,29.63822740317518],[116.25849647354892,29.638240403231677],[116.25809547369091,29.638376400134298],[116.25663747384871,29.639030385890777],[116.25654147358911,29.639412377726735],[116.25731847408859,29.64016836119708],[116.25765847384689,29.640857346344063],[116.25752647360235,29.641035342404926],[116.2571524735085,29.641237338745885],[116.25641647391483,29.64126533760904],[116.25627547344948,29.641378335489506],[116.25535647355711,29.64286530358007],[116.25495747424716,29.643184296554004],[116.25472447372033,29.64325529443609],[116.254119473648,29.643146296860824],[116.25375547359992,29.643177296381904],[116.25318647351249,29.643377292061558],[116.25268147389731,29.643716284457362],[116.25219647347518,29.644315271656897],[116.25178647429473,29.64432927183247],[116.25128047395638,29.644671264508002],[116.25132547416207,29.644989257109],[116.2512324742756,29.64507025566746],[116.25105447400037,29.64510925474724],[116.25077647416599,29.645396248695555],[116.24987047379453,29.64581723938627],[116.2495044740965,29.646230230599716],[116.24932247362305,29.646859216746638],[116.24907747340049,29.647387205161667],[116.24879547426644,29.64760520115521],[116.24876647395405,29.647751197241636],[116.24841047340345,29.64812318947756],[116.24851147368572,29.648295186238233],[116.2471454739041,29.650999127575012],[116.24695647375819,29.651103124948566],[116.2464004740896,29.65110812523056],[116.24600047405659,29.65095212874489],[116.2452184735339,29.65099612739471],[116.24393247411969,29.650411140238013],[116.24353247408665,29.65034414141232],[116.24287147393771,29.650389140392196],[116.2425624741412,29.650591135921516],[116.2424304738966,29.650891129841202],[116.2424344740943,29.651529116223344],[116.24231147407056,29.651773110799883],[116.24203947408385,29.652146102270976],[116.24159947386777,29.652412097097294],[116.24047147373854,29.652634091739685],[116.23957947361109,29.65244209605779],[116.23892747368303,29.652463095405498],[116.23857247385573,29.652648091533724],[116.23811247354799,29.65325607899036],[116.23797747382856,29.6538570656919],[116.2380784741108,29.65404506168408],[116.23831047391431,29.654160059325733],[116.23861747406092,29.65418605844935],[116.23946147360991,29.653393075947037],[116.24017847383541,29.653226079492033],[116.24057947369333,29.65316308034641],[116.24124947406307,29.653232078929225],[116.24198647348167,29.653032083312343],[116.24232147411576,29.653010084044325],[116.2427004742322,29.65344307452607],[116.24271147410279,29.653577071907534],[116.24257147346233,29.653714068422037],[116.24189947344269,29.65398706320413],[116.2413374739261,29.654367054446443],[116.24112047419098,29.654756046001467],[116.24031747375201,29.654416053283306],[116.24012147393346,29.654489051877395],[116.24011047406269,29.654700047175684],[116.23958047343451,29.655856022731864],[116.23903847400948,29.656114017064176],[116.23881347387851,29.65639201082317],[116.23882147427436,29.656514008145514],[116.2389414739249,29.656613006056283],[116.2393904734635,29.656412010127642],[116.24062347407258,29.657077995795742],[116.24080947384542,29.657045996654016],[116.24081747424064,29.65855496399474],[116.2403704734537,29.658503964859673],[116.24002747422045,29.658322969286143],[116.23889147369542,29.658365967849996],[116.23811247354593,29.657954977225923],[116.23764747411391,29.657902978578033],[116.23714647379865,29.657745981704863],[116.23676447420722,29.657808980323434],[116.23654847339878,29.658092974007843],[116.23655347342134,29.658722960162045],[116.23633447403634,29.65936394677722],[116.2363424735338,29.65955994241153],[116.23723047346316,29.660169929418984],[116.2375184742415,29.66023592798161],[116.23828347414752,29.66007793088239],[116.23885047368675,29.66015392995608],[116.23961047356966,29.6606579190222],[116.23967347421704,29.66089391364678],[116.23954247379746,29.66100691134941],[116.23901347389312,29.66078491565692],[116.23869747352568,29.660749917028923],[116.238538473517,29.660814915249187],[116.23831347428435,29.66100091159457],[116.23829247346951,29.661309904525087],[116.23866247426352,29.66157489859695],[116.23910147375635,29.661446901443625],[116.23967847423968,29.66144990130766],[116.24094847376031,29.6622058855411],[116.24100147346358,29.662523878164134],[116.24053447348336,29.662691874743086],[116.24037547347464,29.662847870981615],[116.23981347395801,29.66337485988315],[116.23958247397893,29.664320839858664],[116.2394604737801,29.664539835001747],[116.23864647347013,29.665096822722887],[116.23818347368788,29.665203820106605],[116.23776047408836,29.6657738084604],[116.23759447350828,29.666826784952296],[116.2371574736648,29.667999759792995],[116.23763947371347,29.66825375466537],[116.23759147403284,29.66848974942292],[116.2372364742056,29.668601747295668],[116.23705847393032,29.668755743973055],[116.23684147419513,29.669290732155122],[116.23661647406416,29.669444728557927],[116.23660547419341,29.669590725741504],[116.2363064735443,29.66985771959274],[116.23469747408795,29.67390263231085],[116.23469447371473,29.674300624037798],[116.23414047369566,29.67491661032985],[116.23357547380635,29.67453061892699],[116.23315247420716,29.674390621621637],[116.23059747419835,29.674246624806795],[116.22977147419313,29.67403962922936],[116.22892647392135,29.673782634644475],[116.22851147381992,29.67333364456756],[116.22825147352897,29.67322664724434],[116.22776747383041,29.67322364695131],[116.2272754737359,29.67309964992118],[116.22722747405524,29.673294645493836],[116.22706847404656,29.67339164361051],[116.2266684740136,29.673332644725196],[116.22654247361659,29.673977630445535],[116.22637447428542,29.674147627063444],[116.22596447420659,29.674202626158987],[116.22588847403851,29.674373622222365],[116.22591547380266,29.674568617666324],[116.22608247420719,29.674585617788104],[116.22630447396492,29.67473361417757],[116.22618347359112,29.674838611815183],[116.22605847391743,29.675272602605943],[116.22590947395456,29.67527160278885],[116.22560547418114,29.675009608356312],[116.22459847352742,29.675208604173683],[116.22428347388325,29.675100606685557],[116.22415247346366,29.675157604896256],[116.22402047411738,29.67538459994342],[116.224139473943,29.675555596338924],[116.22420247369206,29.6758685898501],[116.22452747428031,29.675919588766423],[116.22443247384564,29.67627658122869],[116.22407547347015,29.676689572303626],[116.22409347391171,29.67684456888525],[116.22416247350856,29.677010565362387],[116.22437547394387,29.677125562507797],[116.22462647401402,29.67711056319398],[116.22453747342693,29.6778185474514],[116.22437847341821,29.677915545106373],[116.22461447341963,29.67822053921772],[116.2249494740536,29.678238538509724],[116.22502247384851,29.678450533730924],[116.2250304742443,29.678564531786204],[116.22459047402819,29.678920523660814],[116.22463647405891,29.678993522424758],[116.22510947388672,29.679216517509097],[116.22543147410174,29.67972550669444],[116.22553347420899,29.679766505154824],[116.225597473783,29.679945501624303],[116.22582947358657,29.6799715011076],[116.22590047373146,29.680484490211313],[116.22605747409018,29.68059148761526],[116.22676647391978,29.68030949377079],[116.22689747344126,29.679806504611953],[116.22702747403589,29.67978150485896],[116.22729547382434,29.68001950019965],[116.22789147367594,29.68001449979384],[116.22786247426191,29.680106498049213],[116.2273294741594,29.680437491116702],[116.22719747391479,29.68073848477073],[116.2272244736789,29.680876481518766],[116.22739047425847,29.680991478924774],[116.22792847348535,29.68120547410121],[116.22767647359026,29.68131847161655],[116.22709947400521,29.681380470543058],[116.22700547339552,29.681494468397396],[116.22708747341115,29.681746462457188],[116.22775547413103,29.681986457329586],[116.22795847362214,29.68222345238499],[116.22887847423705,29.682317450456495],[116.22966447405928,29.682568445052986],[116.2301174737956,29.682920437057696],[116.23078547361708,29.683225430814765],[116.23121547378746,29.68295843655907],[116.23158147348516,29.68324843024005],[116.231843473426,29.68309543364474],[116.23205547403631,29.683324428194005],[116.23197047364744,29.68348642517744],[116.23203447411976,29.683682420630102],[116.23300947408785,29.684029413210116],[116.23327047420376,29.68388441643175],[116.23353947381712,29.684113411524987],[116.23383647391805,29.684171409818607],[116.23471847399988,29.684008413431805],[116.23496947407,29.684094412001436],[116.23509847394135,29.68416041047236],[116.2352634737976,29.684568401758693],[116.23525247392685,29.684730398298342],[116.23478347339832,29.685265386550995],[116.23479047396921,29.685561380445144],[116.23510447378838,29.685937372192473],[116.23506647415351,29.68605136956144],[116.23513947394835,29.68619836653288],[116.23535347420854,29.686264365183415],[116.23546647418648,29.686110368006695],[116.23548647427806,29.685890373302485],[116.235635474241,29.68583437386463],[116.2357934735264,29.685827374323424],[116.23581947346557,29.686095368472994],[116.23591247425018,29.686194366143038],[116.23611647356636,29.68622736586562],[116.2367134741413,29.686067368817987],[116.236569474201,29.686620357110243],[116.23620647397787,29.68669235604104],[116.23620447342964,29.686854352279006],[116.23648347398711,29.687002349337433],[116.2367004737219,29.68730834210968],[116.23712747351905,29.68745733897591],[116.23718147394561,29.687766332560884],[116.23703147415772,29.68795232822554],[116.23710447395254,29.688115325243256],[116.23765247412354,29.688208322797923],[116.23822147421102,29.688072326131515],[116.23832247359492,29.688244321703948],[116.23873047402375,29.688523316088318],[116.23893547406315,29.688540315411263],[116.23958047342003,29.688894307715977],[116.24012147391844,29.688742311594684],[116.24029947419373,29.688572314683324],[116.240319473387,29.688409318407135],[116.24084247344369,29.688274321699822],[116.24105447405404,29.68849431664929],[116.2417574740356,29.68862531354999],[116.24182047378468,29.688943306912858],[116.24201447395333,29.68916430241738],[116.24248847360616,29.689239300902805],[116.24270147404135,29.689395297320775],[116.24286747372258,29.689673291176764],[116.24360547386453,29.689319298499367],[116.24374447378162,29.689377297690132],[116.24393147427769,29.689296299686927],[116.24397047373759,29.68906030460068],[116.24387047417858,29.688783310292173],[116.24390847381349,29.68864531347411],[116.24424247372421,29.688802309716106],[116.2445314734292,29.6887143119091],[116.24463547408466,29.68852431579386],[116.24468347376585,29.687154345779927],[116.24457447398615,29.686665356281864],[116.24441747362735,29.686587358325465],[116.24452247410777,29.68623836580008],[116.24336547366683,29.685301385758617],[116.24332047346105,29.68507339075049],[116.24305347349758,29.684640399846906],[116.24240847414089,29.683787418324055],[116.24251247389805,29.683527424482005],[116.24251447354798,29.683243430031233],[116.24364947424917,29.680824482292593],[116.24403247366551,29.68064748613557],[116.24442647385091,29.68034049283269],[116.24610947382327,29.681296472354546],[116.24603347365519,29.68154846691005],[116.24582847361572,29.681685464353528],[116.24578747360765,29.68213245431711],[116.24603247382989,29.682503446119895],[116.24638447418218,29.682749440759096],[116.24658747367336,29.682987436096834],[116.24760747384713,29.683646421708065],[116.24778147392422,29.68398141452907],[116.24783447362749,29.684375405695423],[116.24765447370223,29.684846395742404],[116.24801147407724,29.685629378986885],[116.24839947351586,29.68679935312263],[116.24852647373726,29.687304342583353],[116.24850547382076,29.687551336871977],[116.24941847386411,29.68893630683396],[116.24991847345608,29.6892733001087],[116.25072947339282,29.689171301757398],[116.25107347424763,29.68931229922659],[116.25161447384762,29.68924130029022],[116.25191347359846,29.689105303459982],[116.25225047388238,29.688835309390246],[116.25240147349523,29.688592314652947],[116.25241247426426,29.68838831880009],[116.25229447426366,29.688022326877565],[116.25242647360999,29.687661334431247],[116.25233547427183,29.687408339896315],[116.2524854740597,29.687222344005274],[116.25260947390844,29.68684035261436],[116.2524734734662,29.686405362107568],[116.2529564742387,29.685273386693382],[116.25282647364405,29.68520838789059],[116.25282847419234,29.68500439219274],[116.25263347419869,29.6849463935998],[116.25264247352125,29.684865395146495],[116.25268147387938,29.684734398030084],[116.2531504735095,29.684287407932032],[116.25317147342606,29.68394541489785],[116.25306247364628,29.68363242155803],[116.25290347363767,29.68362342239535],[116.25272747391062,29.683491424705185],[116.25260947391001,29.683149432083983],[116.2525934740167,29.682701442217095],[116.25243547383299,29.682635443568543],[116.2522424734893,29.6822654512197],[116.25215747399933,29.681203474671303],[116.2520274734047,29.68109747689706],[116.25198447374724,29.680641486804195],[116.25205147369445,29.680410491295827],[116.25204547384693,29.679889502869305],[116.25190947340468,29.679470512239956],[116.25191047412802,29.67921851715808],[116.25204347419754,29.678966523006004],[116.25269947342542,29.678523532152877],[116.25271847369207,29.67836853581832],[116.25258847399577,29.678254538320836],[116.25266547398877,29.677929545390864],[116.25282447399745,29.677897545857796],[116.25319647354303,29.677989543710318],[116.25279047366246,29.67749855452496],[116.25274947365494,29.676692571811913],[116.25261947395862,29.676553574980073],[116.25263047382938,29.676366578709544],[116.25291147403685,29.676148584150916],[116.2529124738618,29.676066585824326],[116.2524014735008,29.675844590588575],[116.25233747392677,29.67571359342395],[116.2519464741146,29.675638594993007],[116.25200447384103,29.67536160116184],[116.25211647399406,29.67527260269765],[116.25275647422637,29.67570759299119],[116.25318447384846,29.675742592659],[116.2533684739714,29.675872589975693],[116.25328247375697,29.677417556315877],[116.25358047368269,29.677615552261766],[116.25378747427023,29.677638551407483],[116.25401347422603,29.67756655301538],[116.25421047386955,29.677561553266727],[116.25448747387871,29.677952544470426],[116.2546744734764,29.67805754265007],[116.2547044736136,29.678196539743833],[116.25400047380673,29.678740528029415],[116.25365047400211,29.67949551129639],[116.25312647412046,29.67955851034087],[116.25307447424179,29.679945501720997],[116.25342947406874,29.680529489076854],[116.25396747419384,29.680945479915806],[116.25515847407158,29.6820894550161],[116.25569847384632,29.682938437157972],[116.25629647424593,29.683167432066206],[116.2563644740179,29.68326043029526],[116.25630247409353,29.683529423999456],[116.25565247381515,29.683802418250014],[116.25542547403437,29.684026413320126],[116.25531447370624,29.6842274086982],[116.25523047404042,29.684759397341093],[116.25534547366783,29.685447382592578],[116.25566047420995,29.686422361799263],[116.25570047349446,29.686798353446388],[116.25553247416306,29.687275342809087],[116.25555547372919,29.687429339761987],[116.25589047346467,29.6880283265895],[116.25613847405998,29.68819932333013],[116.25613647351176,29.688412318300884],[116.25574347404954,29.688753311279267],[116.25569547347047,29.689262299775915],[116.25544647394835,29.689597292606667],[116.25528347374147,29.690245279111693],[116.25498547381538,29.690841265775287],[116.25461247354632,29.69139725407994],[116.25376247414944,29.692391232050827],[116.25360447396554,29.69269322622753],[116.25374247405759,29.69320221505783],[116.25404347345791,29.693613205997572],[116.25492947373743,29.694269191722967],[116.25567647410011,29.69397619817988],[116.25607747395824,29.69364220553541],[116.25627847379965,29.693617206102626],[116.25700347352262,29.693869200203466],[116.25805147418393,29.694007197655],[116.25856047399684,29.694198193178405],[116.25896147385482,29.69409319547428],[116.25904247404574,29.693928199527182],[116.25908647352868,29.693170215723026],[116.259048473894,29.6928472227007],[116.25879847364907,29.692204236386964],[116.25871747345847,29.691610249310408],[116.25883947365742,29.6910782610344],[116.25897147390198,29.690903264306474],[116.25915047400208,29.69085826550046],[116.25930047378988,29.69098426257705],[116.25932247353094,29.691434253074426],[116.25976247374659,29.6922332355473],[116.2604074740016,29.6931052173506],[116.26069047385873,29.69325621348074],[116.26149047392474,29.693392210939916],[116.26182847403354,29.693340211889524],[116.26205047379142,29.6931112167521],[116.26226747352655,29.692711225298343],[116.26272247381125,29.692575228482564],[116.26328947424905,29.692040240124758],[116.26363647368036,29.691950241950092],[116.26374547346019,29.69220323675617],[116.26358947382414,29.693263213295655],[116.26363747350459,29.693473208771277],[116.26400547375044,29.693712204099935],[116.26480447399148,29.693984197597025],[116.26518447393303,29.694043196847442],[116.26640747359794,29.694897178345773],[116.26674347405688,29.694897178346963],[116.2670774739679,29.694467187290464],[116.26729947372573,29.694309190909603],[116.26801447340303,29.69428419164463],[116.26996447423743,29.695147173129875],[116.2703734735928,29.69552216451257],[116.27056647393658,29.695564163947683],[116.27106047368103,29.69530116972827],[116.27128547381193,29.695289169638073],[116.27140847383552,29.69538416758846],[116.27142747410197,29.695646161978487],[116.27150847339448,29.69578315893412],[116.27167147360102,29.69585515754445],[116.27202747415146,29.695831158274924],[116.27222647344463,29.695939155339005],[116.27281647344873,29.6954121669967],[116.2728374742635,29.695339168452552],[116.27274947350169,29.69524717087415],[116.27274847367693,29.69476018098499],[116.27253247376701,29.694618184513413],[116.27189347425775,29.69447918749658],[116.27160347382971,29.69406519652828],[116.27132947419344,29.693997197497243],[116.27109647366676,29.693724203623923],[116.27073647381675,29.693599206495133],[116.27091747356688,29.693107216665975],[116.27084147339914,29.69260222827262],[116.27015147383683,29.691381254171738],[116.26948647349026,29.690600271365444],[116.27027647351115,29.689207301165347],[116.2703184742422,29.689363297632344],[116.27058947350552,29.689370297709193],[116.27076247375787,29.689307299350258],[116.27087547373586,29.689119302933573],[116.27104247414047,29.689039305182334],[116.27135647395978,29.689047304961463],[116.27137647405134,29.688888308180363],[116.27156347364918,29.688577314775458],[116.2719544734615,29.68832732004762],[116.27189847338518,29.68793132860312],[116.27154947340593,29.687633335276686],[116.27164747421382,29.686899351442452],[116.27173447425244,29.68685635258723],[116.27216447352434,29.68696234975249],[116.27254247381629,29.686477360483863],[116.27314147404101,29.68630936383888],[116.27427747366765,29.68629436433761],[116.27539947394908,29.686057369520256],[116.27554847391201,29.68597137107076],[116.27589747389163,29.685344384613508],[116.27609647408333,29.685248386820174],[116.27678547382133,29.68519738795726],[116.27708847377001,29.68508539061946],[116.27801247368491,29.684519402928455],[116.27875447402478,29.684265408564556],[116.27894647364543,29.684056413088037],[116.2790404742555,29.683066434358324],[116.2792824741049,29.682841438968673],[116.27985747404016,29.682694442553068],[116.28027247414192,29.68245544755912],[116.28045347389188,29.682435447972363],[116.2806054742278,29.682532445856488],[116.28077847358179,29.68247844715949],[116.28076847353678,29.68083948274473],[116.28096047405579,29.680545488522988],[116.28164047357326,29.67993550177869],[116.28227947398113,29.67922051760009],[116.2827694735279,29.67848753299537],[116.28355647407382,29.67764555162427],[116.28404247342225,29.67764855178529],[116.28490447341245,29.677967544547],[116.28515847385563,29.677951544788435],[116.28518147342197,29.677637551724892],[116.28509947340636,29.677324558257048],[116.28470147392163,29.676935566552306],[116.2847314740589,29.67682656955824],[116.28494747396901,29.67676257055996],[116.28545247358393,29.67694256671587],[116.28575647425582,29.676888568138654],[116.28617347400723,29.677057563940846],[116.28677547370656,29.677160561900095],[116.28710647414266,29.677052564169465],[116.28757747342262,29.676702572299924],[116.28835247427301,29.675941588714043],[116.28867047339183,29.676152583508106],[116.28896247346985,29.67604458625553],[116.28910147338699,29.67614458426624],[116.28929047353284,29.676156583521937],[116.28952747425768,29.676043586448625],[116.28955347419696,29.675944588147967],[116.2897684733838,29.675923589016964],[116.29003247387256,29.67622358233069],[116.29033847419437,29.676026586576764],[116.29054047386067,29.67611658496336],[116.29065247401354,29.676393578276237],[116.29061347365543,29.676525575919708],[116.2910524740466,29.676312580737584],[116.29133247353069,29.676453577512802],[116.29139247380508,29.67655257531266],[116.29136047401796,29.67669857232324],[116.29113947408497,29.67690256770509],[116.29130447394125,29.677162562292104],[116.29137347353823,29.677169561657028],[116.29145847392714,29.676951566497205],[116.29174047395944,29.676827569384027],[116.29204147425818,29.677134562489748],[116.29222447365792,29.677122562571576],[116.29242347384962,29.67693756696001],[116.2927274736232,29.676993565892385],[116.2928484739969,29.677099563310772],[116.29302447372409,29.676928567200594],[116.29339247396999,29.677103563286718],[116.29398647417186,29.67692856720399],[116.29435847371741,29.677017564984617],[116.29463047370383,29.677297559107675],[116.29520747418711,29.677387557138427],[116.29530747374633,29.677143562244265],[116.29642047380668,29.677349557880753],[116.29637247412597,29.67764755125522],[116.29656247409672,29.677735549387197],[116.2969354734673,29.677698550050614],[116.29698147349805,29.677598552805573],[116.29668347357241,29.677345557917473],[116.2970744733848,29.676786570524737],[116.29733947369868,29.676772570181537],[116.29750647410316,29.6769375669779],[116.29756447382934,29.677160561938056],[116.29746847356964,29.677783548764314],[116.29758347409562,29.677808548234484],[116.29784447421159,29.67767955087361],[116.29807147399227,29.677748549030127],[116.29818647362,29.677645551675738],[116.29838447398666,29.67770255000585],[116.29844347353782,29.67781454776591],[116.29922447423567,29.677672550768836],[116.29954147352974,29.67777054913854],[116.29966347372842,29.67784254738574],[116.29968447364466,29.678166540029082],[116.29988447366115,29.678291537620566],[116.29993447388955,29.678927523948687],[116.30007847382946,29.679196518321586],[116.3002384736627,29.67992350225964],[116.30051947386994,29.6800804988573],[116.30081447342269,29.68013349751493],[116.30127447373017,29.680089498339328],[116.3015904740976,29.680190496777954],[116.30173047383964,29.68021549564964],[116.3018964735211,29.679950501523646],[116.30202447356763,29.679883502860154],[116.30176547399998,29.679679507281286],[116.30166147424293,29.679682507379603],[116.30153947404435,29.679494511690304],[116.30114847423214,29.679340515066414],[116.30100547411693,29.67954651009941],[116.30078547400895,29.679608509339563],[116.30062647400032,29.679540510673007],[116.30067447368104,29.67920651765962],[116.30127947375365,29.678773527242853],[116.30145047345765,29.67908052064999],[116.30170047370285,29.67924951666947],[116.30180947348268,29.67945251256483],[116.30217347353066,29.679586509643382],[116.30227147344003,29.67934051507039],[116.30266847399835,29.67929151588412],[116.30277247375538,29.679347515065626],[116.30285747414406,29.679659507925937],[116.30346047366834,29.67960750879504],[116.30384647345764,29.679812505072345],[116.30445247425334,29.67965450828621],[116.30449447408616,29.67952351062272],[116.30433147387961,29.67934251462985],[116.30433747372749,29.67911651971118],[116.30457947357684,29.679077520544332],[116.30476347369992,29.67886052540041],[116.30545847418416,29.678483533156246],[116.30574747388931,29.678163540686988],[116.30549247362151,29.67744255606031],[116.30547147370524,29.677170561504344],[116.30521647343717,29.677065563959097],[116.30528247355954,29.67672357133128],[116.30549747364469,29.676693572580483],[116.30583747340286,29.67761455265238],[116.30628047399192,29.67760555217264],[116.30648647385628,29.677479555495992],[116.30641847408424,29.677407556989028],[116.30637147422884,29.67688656782975],[116.30596047342675,29.677002565694607],[116.30565047380544,29.676936567206535],[116.30554547422372,29.67632957983447],[116.30589047400514,29.676499576380326],[116.30631547415251,29.676430578149485],[116.30642247338471,29.67556059647765],[116.30665147371354,29.67542759931397],[116.30661547372867,29.67523660402305],[116.30643947400166,29.675022608630737],[116.30632547419894,29.67498560907459],[116.30606047388528,29.67446562045808],[116.30613447350525,29.674278624207137],[116.30622547374179,29.67428762420618],[116.30662747342433,29.67499060895309],[116.30679447382897,29.674884611653958],[116.30692847372335,29.67463461643173],[116.30760247339263,29.67478261353115],[116.30769047415457,29.67467561618992],[116.30768747378161,29.674345622709115],[116.30786247368398,29.673900632907895],[116.30843347342154,29.673140649027122],[116.3090634736083,29.67316164874228],[116.30947347368705,29.673266646462185],[116.30951447369502,29.673068650539314],[116.30970047346783,29.673086649972603],[116.30977747346078,29.672919654202666],[116.30963047404619,29.67256866137055],[116.3098274736897,29.672443664471004],[116.30982347349196,29.671979673800603],[116.3099864736986,29.671832677112736],[116.31004547414823,29.671656681368614],[116.30941847343622,29.671444685870686],[116.30937747342846,29.67133368789605],[116.30940447409098,29.671238689848867],[116.30980747359881,29.67114569220896],[116.30985447345446,29.67103069446974],[116.3095724734223,29.67076170010504],[116.30955347405416,29.670564704577085],[116.30986147402567,29.670491705939295],[116.30993947384364,29.670209712645736],[116.31005847366932,29.67022171182887],[116.30995647356217,29.66997971723658],[116.30975047369795,29.66982672074164],[116.30967547425338,29.66951972718089],[116.30949147413041,29.669338731132637],[116.30929647413704,29.66873174473006],[116.30928647409146,29.668435750460528],[116.30887647401282,29.668147756759712],[116.30857247423924,29.66808675814449],[116.30866447340252,29.667924762106406],[116.30841247350754,29.667744765420746],[116.30858047373718,29.66733377486685],[116.30897147354925,29.667679766996017],[116.30908447352715,29.66763276815592],[116.30937247340707,29.667873763041936],[116.30972647340951,29.667485771360607],[116.30898347414347,29.666846784773348],[116.30879447399757,29.666893783980456],[116.30860347420195,29.66683878556902],[116.30811047338403,29.667071780047863],[116.3081314741989,29.666765786565822],[116.30796147342139,29.666604790643667],[116.30760947396728,29.666515792233728],[116.30761147361724,29.66616780019062],[116.30788647397702,29.665730809402483],[116.3080334733918,29.665691809727228],[116.30843847344752,29.666050802409888],[116.30911647421318,29.66609880111918],[116.30946047416965,29.66621979847461],[116.3096964741712,29.666152800029376],[116.30976147357066,29.665132822346884],[116.30969247397374,29.665077823753542],[116.3092164737727,29.665140821683604],[116.30886547414352,29.665079823586456],[116.30850047427094,29.66413284379361],[116.30822747356135,29.663826850737205],[116.30825947424681,29.66356385621982],[116.30836447382885,29.663414859071604],[116.30834747411058,29.66313986501208],[116.30867947347323,29.66307886648456],[116.30885647392351,29.663127865766885],[116.30945147394993,29.66371985267211],[116.30985947348064,29.663461858327032],[116.30982147384593,29.66321886392697],[116.30968947360162,29.662926869583895],[116.3094004738967,29.662804872230257],[116.30920247353001,29.6628218719975],[116.30909847377299,29.662720874068338],[116.30911447366663,29.662508879253075],[116.30941447414062,29.6623968816214],[116.30956547375344,29.66204288891157],[116.31018747354439,29.661771894810165],[116.31028347380392,29.661707896378793],[116.31038947410909,29.66167989695487],[116.31056047381333,29.661641898003133],[116.3107004735554,29.66161389856097],[116.3109684742423,29.66154889929608],[116.31117247355849,29.661502900667635],[116.31134247343753,29.66210088745156],[116.31153147358341,29.662133887276024],[116.31160747375137,29.662072888137605],[116.31165847380512,29.66185189318809],[116.31182847368449,29.661660897095263],[116.3114334736747,29.66082791498874],[116.31160047407921,29.660884914263892],[116.31181647398925,29.66084591505209],[116.31194147366287,29.6604399234528],[116.31232447397745,29.66056192133281],[116.31249847405468,29.66054492118359],[116.31261747388055,29.66017092965096],[116.31307747418779,29.66059891995268],[116.31323847384618,29.660848914936967],[116.3132494737168,29.66095791207461],[116.31316947424915,29.661036910355623],[116.31184147410347,29.661171907724924],[116.31203647409707,29.661326904805144],[116.31220147395332,29.661671897347325],[116.31249047365831,29.661611898662542],[116.31291447398095,29.661208906902164],[116.31295747363852,29.66159189883416],[116.31301747391291,29.661647897724087],[116.31309447390579,29.661645897820303],[116.31311147362436,29.66134490400105],[116.31326947380806,29.661383903020724],[116.31331147364081,29.66152990019555],[116.31384547356808,29.661522900524844],[116.31391347423848,29.661483900779185],[116.31386847403272,29.661318904388995],[116.31400147410224,29.661037911097246],[116.31428447395942,29.661055910342053],[116.3143354740129,29.661247905979018],[116.31459147410592,29.661299905239304],[116.31463547358861,29.66114590807533],[116.31480647419107,29.66111490940395],[116.31481447368883,29.660859914501472],[116.31493347351453,29.66082391516029],[116.31496747384958,29.6611779074762],[116.31536747388246,29.661413902443513],[116.31570147379317,29.661691896393258],[116.31574947347369,29.661806893881735],[116.31612247374248,29.661928891665294],[116.31612447339224,29.662037889194103],[116.31676847382279,29.66191689149561],[116.31690947339,29.661404902859406],[116.31700147345148,29.66137590339641],[116.31699947380154,29.66162589801071],[116.31688447417375,29.66186789240508],[116.3171814742746,29.66181689417124],[116.31709047403812,29.66169989679103],[116.317213474062,29.66116290813268],[116.31734247393345,29.661011911414963],[116.31762947398857,29.66096091274722],[116.31774547344129,29.66082891497111],[116.31752447350843,29.660708918118697],[116.31730247375083,29.660207928428406],[116.31730047410106,29.660056931838227],[116.31745047388894,29.659948934474578],[116.31755247399626,29.65972493884947],[116.31771647402772,29.659768938350734],[116.31777847395205,29.65972093896564],[116.31731447344679,29.659301948610622],[116.31745747356193,29.65924694917218],[116.31763747348695,29.659346947491688],[116.31770547415738,29.65924294926943],[116.31755347382146,29.65911095236097],[116.31764647370794,29.658922956466167],[116.31727747363725,29.65853296464073],[116.3169414740768,29.658034975788475],[116.31669947422749,29.658069974578243],[116.3164394739367,29.65769198324699],[116.31651047408178,29.65766098351116],[116.31684947401538,29.657915977935357],[116.31692347363521,29.657884979049136],[116.31693947352879,29.65776498180898],[116.31686447408407,29.657620984619406],[116.31669647385469,29.657519986933437],[116.3161124736987,29.657438988242927],[116.31594847366729,29.657226993226445],[116.31600447374379,29.657130995130505],[116.31632847360895,29.65697099862156],[116.31631347354039,29.656882000277037],[116.31607647371398,29.656817001856627],[116.31592347355304,29.656926999457237],[116.31565147356648,29.65698099860372],[116.31561147428187,29.656956998639114],[116.31578347381102,29.65686000106697],[116.31574147397829,29.65674800339103],[116.31564147352091,29.656718004145393],[116.31516147402019,29.656850001068303],[116.3149414739122,29.656822001852646],[116.31476747383513,29.656459009791774],[116.31425947384696,29.65667400486698],[116.3141004738385,29.65631601307816],[116.31414047402144,29.656266013596106],[116.31485647352358,29.656380011039044],[116.31517447354075,29.656683004882883],[116.31549247355802,29.65664400560398],[116.31574947347602,29.656473009063827],[116.31542347396113,29.656455009779663],[116.31438047422107,29.65590402188214],[116.31451247356729,29.65578802388244],[116.3148614735466,29.65607201780822],[116.3149624738289,29.656049018415622],[116.31500247401196,29.65593602138986],[116.31477247385833,29.655686026688972],[116.31500247401216,29.655507029978057],[116.31499047341832,29.655422031955634],[116.31483547360762,29.65537003356126],[116.31471947415521,29.654927042596434],[116.31453547403235,29.654617049558123],[116.3149394742634,29.65444405343022],[116.31501247405828,29.654496052302846],[116.31491947417183,29.654665048256856],[116.31491247360073,29.654920043245845],[116.31514747377719,29.655260035820575],[116.31535147399163,29.65526903517971],[116.3152584741053,29.655165037426062],[116.31522747414327,29.654961042451404],[116.31541947376402,29.654572050127374],[116.31509647372387,29.654532051566704],[116.31507347415776,29.654319055866377],[116.31521147425002,29.654235057647455],[116.31532347350469,29.654292056753956],[116.31552847354389,29.654642049325133],[116.31579347385774,29.654689047990363],[116.31581247412431,29.65462704900037],[116.31558247397071,29.654351055097038],[116.31555047418377,29.654173059159614],[116.31573747378161,29.653856065936072],[116.31601147341797,29.653866065450423],[116.31618747404328,29.653971063794447],[116.3162664736859,29.654137059770086],[116.31639947375527,29.65415105936221],[116.31668647381031,29.654321055921752],[116.31684747346881,29.654330055364763],[116.31704047381264,29.65428405655869],[116.31708347347036,29.654228058254716],[116.31720147347116,29.654181058594876],[116.31726647376853,29.65415305941828],[116.3172874736849,29.654107060530702],[116.31741647355632,29.65406006159509],[116.31754447360284,29.65399506291448],[116.31765147373305,29.65380906688956],[116.31778147342945,29.653614071015244],[116.3177844738026,29.65340207574807],[116.31798747419231,29.65317408101795],[116.31821547379778,29.6533190775803],[116.31821747344759,29.653397075579626],[116.3186714739072,29.653549072829964],[116.31879947395372,29.653515073280857],[116.31895447376436,29.65365607000664],[116.31934647340157,29.653369076188657],[116.31936847404126,29.65330007770223],[116.31919147359095,29.653283078666878],[116.3189514733916,29.653058082997127],[116.31846747369299,29.652939085502553],[116.31853247399039,29.652828088186883],[116.31890347371107,29.65291008672354],[116.31905347349885,29.652908086646324],[116.31909047420712,29.652845088081076],[116.3188214736955,29.652477095511145],[116.31860247341243,29.652425097156183],[116.31840347411911,29.652499094895305],[116.3183784740049,29.652174102274785],[116.31810847366829,29.65188510881442],[116.31813747398071,29.65174711132078],[116.3176714738255,29.65159211509653],[116.31786347344617,29.65153011654136],[116.3177624740622,29.65127912177049],[116.31786547399442,29.651200123635583],[116.31826047400453,29.651259122230393],[116.31863447409837,29.651054126308708],[116.31884747363532,29.651123124774408],[116.31922947412464,29.65198910605774],[116.31937747426215,29.65310208229185],[116.31981747357989,29.652991084376605],[116.31978647361791,29.652661091576867],[116.32015047366583,29.65280408879905],[116.31983747367173,29.652159102366962],[116.31973847393783,29.651562115882918],[116.31980147368708,29.651305120863757],[116.31968447351143,29.65096212880607],[116.31973647338998,29.650848130693465],[116.31993547358158,29.650810131554724],[116.31990347379465,29.65065113520532],[116.31955347399035,29.650486139006876],[116.31939947400471,29.65025514371977],[116.319501474112,29.650086147386894],[116.31941247352533,29.649922151112406],[116.31909147403337,29.649850152396105],[116.31908847366044,29.649534159681075],[116.319255474065,29.649497160118894],[116.31970247395388,29.64911116876665],[116.32007547422278,29.64904916946458],[116.32029847380558,29.648910172689003],[116.3203924735169,29.648781175739636],[116.32034047363842,29.64868717755542],[116.32010547346188,29.648588179654652],[116.32013347394927,29.648525181508177],[116.32043147387519,29.648237187026545],[116.32088847380969,29.648048191811295],[116.32130447373628,29.6480561909483],[116.32147647416379,29.647933194215483],[116.32174147357922,29.648040191897383],[116.32203247383228,29.648045191553777],[116.32218347344495,29.648248187189537],[116.32237747361366,29.648299186056196],[116.32277047397385,29.64865017847066],[116.32264047427742,29.64887217360694],[116.32340247381009,29.649440161434665],[116.32378847359938,29.64951515988162],[116.32399047416394,29.649741154954206],[116.32402547342565,29.649929150827507],[116.3243374735951,29.650061148070062],[116.32451447404529,29.650246143930957],[116.32436847355692,29.65076313265597],[116.32451547386994,29.65088213038008],[116.32453447413646,29.650990128107072],[116.32429047373884,29.65139211936417],[116.32388847405579,29.651799110045477],[116.32374547394073,29.65173111209405],[116.32338847356539,29.65174011176682],[116.32325047347307,29.651964107210752],[116.3233364736866,29.652238101323135],[116.32306047350208,29.652372097965966],[116.3234104742047,29.65240009763953],[116.32401647410215,29.652079104109358],[116.32420747389777,29.65234609837883],[116.32472347428171,29.65236409839857],[116.32525547366136,29.65128712145633],[116.32539547340383,29.65038114095172],[116.3253884737312,29.650262143416555],[116.32468147355162,29.65009914749341],[116.32510647369917,29.649667156752056],[116.32553447421994,29.64890017270166],[116.32560847383978,29.64890317293798],[116.32563647342889,29.648775176059342],[116.32551947415142,29.648700177061926],[116.32556247380924,29.648424183301202],[116.32584547366645,29.64837618475125],[116.32601247407096,29.64843718282509],[116.32613647391958,29.64830118623874],[116.3260944740869,29.648020191727362],[116.32619847384414,29.647650200072846],[116.32637847376921,29.647524202566913],[116.3264124741045,29.64734520695345],[116.32653847360288,29.647309207461834],[116.3266614736267,29.64684921758998],[116.32644847408983,29.646561223776615],[116.32618347377604,29.6463982273272],[116.32626647361678,29.64627423002497],[116.32644747426507,29.646261230224],[116.3267244742744,29.646388227073793],[116.32694147400939,29.646219231275598],[116.32681047358989,29.646112233220133],[116.32694547420749,29.645950236933867],[116.32720447377507,29.6463062294727],[116.3272554738286,29.646513224340257],[116.32733747384432,29.646528224314082],[116.32759947378521,29.64634222854414],[116.32740247414195,29.645832239736386],[116.32706947405606,29.64588023793771],[116.32731147390551,29.64543424780587],[116.32726247350178,29.645384249163328],[116.32737047345701,29.64489325931838],[116.32721247417169,29.6446832638808],[116.32729447418748,29.644624265337033],[116.32765247348935,29.6447452627518],[116.32821347407913,29.64470826377304],[116.32841947394368,29.64417227513629],[116.32788247364338,29.644048278213077],[116.32792847367428,29.643790283399106],[116.32781547369639,29.64376428393306],[116.32779747415306,29.643658286522502],[116.32782647356721,29.643356292640153],[116.32796747403259,29.64317729664304],[116.32781547369673,29.6429453016225],[116.3279404742686,29.642718306769126],[116.32793347369768,29.642592309335814],[116.3277424739021,29.64230531520036],[116.32809747372929,29.64222431754136],[116.32829847357083,29.6420203213243],[116.32854947364085,29.642270316395734],[116.328471473823,29.64242331263209],[116.3286654739917,29.6425543102055],[116.3288584734372,29.64248831176031],[116.32910647403256,29.64257630941916],[116.329304473501,29.642508311484775],[116.3292314737063,29.641985322421046],[116.32931947356985,29.641799326845785],[116.32937647347126,29.641927324006005],[116.32950547424092,29.641985322422006],[116.3299214741675,29.641983322128656],[116.32976647345836,29.642270316400005],[116.32979047374769,29.642658307720097],[116.32973547349603,29.642744305730428],[116.33013547352901,29.64284330391351],[116.33092847392254,29.64247231183026],[116.3311044736496,29.642466311756124],[116.3312194741756,29.642612309049643],[116.33194647354823,29.643020300237076],[116.33218547392268,29.64332129343259],[116.33237447406833,29.643825282474626],[116.33266247394833,29.64386528216705],[116.33298547398861,29.64361528715427],[116.33293747340988,29.643310293520813],[116.33244047419107,29.642608309269978],[116.33231347396962,29.642242317041855],[116.33207247394529,29.642087320236683],[116.33215347413623,29.641946323702317],[116.33251747418434,29.64170032842959],[116.33262547413935,29.6418433256067],[116.33291347401935,29.64185632519902],[116.33320647392242,29.641503332998887],[116.33321447342017,29.641217339038157],[116.33341847363474,29.640987343721246],[116.33338547402282,29.640902345929632],[116.33378947425382,29.64081134789445],[116.33398847354715,29.640690350438508],[116.33418447426418,29.640433355771748],[116.33491347418521,29.6402383605342],[116.33497547410953,29.640075363999216],[116.33507447384378,29.64002836475804],[116.33543047349588,29.63999636566178],[116.3361804742317,29.639697372239684],[116.33647847415756,29.63955237479633],[116.336495473876,29.6394603769289],[116.33626247424759,29.639298380869114],[116.33627147357014,29.639195382405607],[116.33669347424275,29.639354379672714],[116.33685047370327,29.639297380697155],[116.33648847420355,29.638869389599414],[116.33654647393,29.63868039397394],[116.33693347354429,29.63855639653688],[116.33730347344006,29.63866939433595],[116.33732047405677,29.638609395210157],[116.33712447423832,29.638388400268195],[116.337240473691,29.63830740179986],[116.33754047416475,29.63861539551551],[116.33766147364032,29.6385613966658],[116.33748347426366,29.638005408265727],[116.33702647343102,29.637760413701933],[116.33702447378128,29.637643416464527],[116.33709947412436,29.63758841768312],[116.33742347398936,29.63756741757369],[116.33776847377064,29.63802440791255],[116.33819847394088,29.63808940675746],[116.33839147428486,29.637748413776126],[116.33880347401345,29.637775413424237],[116.33896847386988,29.63767841532557],[116.33912947352832,29.637753413945198],[116.33906747360392,29.637959409812566],[116.33919147345237,29.63825140320321],[116.33926647379542,29.638278402715294],[116.33937047355255,29.6381604051139],[116.33931047417657,29.63779741290149],[116.33986647384519,29.637696414846218],[116.34011247389257,29.637554418218876],[116.34029647401553,29.63759441727899],[116.34056247415408,29.63796440919307],[116.34082247354674,29.637925410469197],[116.34110947360186,29.63803040826377],[116.34135747419722,29.63802540811192],[116.34135347399959,29.637362422672876],[116.34118347412051,29.636834433997432],[116.34120047383901,29.636749435823706],[116.34132947371045,29.636734435955265],[116.34143847349046,29.63652244027653],[116.34146247378,29.636179447825064],[116.34167447349235,29.63560146037981],[116.34187147403425,29.635319466128223],[116.34188347372996,29.63509147104533],[116.34236547377878,29.634936474947814],[116.34291447377463,29.635162469953258],[116.34323947346466,29.63498047357561],[116.3431694740429,29.634761478916893],[116.34270547353765,29.634370486950672],[116.34275047374354,29.634150491521634],[116.34317247351778,29.634237489996604],[116.34329647426456,29.634477484992555],[116.34366347378749,29.634269489364105],[116.34387947369744,29.63433048817653],[116.3439874736525,29.634230489990436],[116.34390347398703,29.634040494021235],[116.34371147346816,29.63390349728018],[116.34403147403361,29.633802499223073],[116.34414047381351,29.633894497574822],[116.34413447396552,29.634380486842975],[116.34436247357104,29.634602482212056],[116.3446434737782,29.635064472250395],[116.34472647361883,29.63508447188649],[116.34473947403778,29.63469747971256],[116.34448147339697,29.63393849665596],[116.3446314740831,29.633977495363563],[116.34485047346766,29.634501484075628],[116.3449604739708,29.63454048334592],[116.34503247394085,29.6344524849122],[116.34499547413101,29.63418549081675],[116.34484747399307,29.63409549318222],[116.34480847363514,29.63382749869278],[116.34537047404974,29.63407949347477],[116.34596347352841,29.633820498659347],[116.34608947392519,29.633585504033835],[116.34650847422492,29.633315510064524],[116.3463434734703,29.63296151735824],[116.346765474143,29.632956517736154],[116.34695447428885,29.63287651904132],[116.34748647366797,29.63299251689668],[116.3480194737704,29.632958517433856],[116.3483124736733,29.63301051647382],[116.34851147386499,29.632798520764993],[116.34873447344782,29.632686523647862],[116.34874947351646,29.632510527367653],[116.34730047389553,29.632133535559863],[116.3471794735218,29.63198853815632],[116.3471974739635,29.631798542643384],[116.34670847424205,29.631893540442988],[116.34663347389912,29.631520548897832],[116.3462484739347,29.631611546739197],[116.34545847391439,29.631534548507105],[116.34550447394527,29.631227554474876],[116.34567047362667,29.6311205568874],[116.34613547395698,29.631207555637125],[116.34666947388443,29.630964560670837],[116.34621247394989,29.631050558515184],[116.34589447393269,29.630966560400946],[116.34564647423566,29.630777564779823],[116.34510547373736,29.6308025642148],[116.34496647382022,29.63070356590812],[116.34496847347016,29.63049257107068],[116.34457547400812,29.630513570312544],[116.3440944737844,29.630192577273146],[116.3442684738617,29.630042580431887],[116.34496847347019,29.63045157127132],[116.3451524735932,29.63042257226084],[116.3450394736154,29.63016457767471],[116.34439447425852,29.6297275875087],[116.34423547424993,29.629712587374318],[116.34425647416614,29.629976581594494],[116.34395347421747,29.630102579194304],[116.34374447398018,29.629911582979382],[116.34292047362476,29.62979158596702],[116.34256747344752,29.629490592154788],[116.342555473752,29.629318596068405],[116.34231147425297,29.62922859798922],[116.34200047390833,29.629289596729095],[116.34163047401253,29.629215598327175],[116.34123647382738,29.628984603432986],[116.34110847378093,29.628832606578598],[116.34106647394827,29.628592611407665],[116.34112747404785,29.628133621433115],[116.34182247363367,29.62804962323272],[116.3419984742591,29.627928626061536],[116.34221647381919,29.62736963821604],[116.34214547367418,29.627244640613966],[116.34181147376341,29.627123643255022],[116.3414874738985,29.626733651613744],[116.34191747406896,29.6263556597548],[116.34217247343867,29.626507656442403],[116.34227547426904,29.626693652929166],[116.34229447363705,29.62718764181276],[116.34238147367562,29.62735763860973],[116.34249347382858,29.627461636196728],[116.34278647373146,29.627487635968034],[116.34294647356509,29.627368637926054],[116.34270747408921,29.626503656801535],[116.34281647386925,29.626305661013486],[116.34294847411365,29.62627066211232],[116.34346447359937,29.626222663154543],[116.34387847387592,29.62662365460807],[116.34418247364944,29.6267356522209],[116.34447847392543,29.62672665187465],[116.3449494741036,29.626570655099016],[116.34511947398295,29.626434658653167],[116.34547447381019,29.626368659795965],[116.34583947368306,29.626474657445854],[116.34607647350937,29.626763651220596],[116.34635047404403,29.62682664970837],[116.34643347388466,29.626800650548613],[116.34627447387622,29.62643465865723],[116.34568547369754,29.625993667485552],[116.34622747402089,29.625625675949863],[116.34656147393169,29.625737673110407],[116.34708647363784,29.62636665997758],[116.34731747361657,29.62630366120398],[116.34732647383741,29.62615666417085],[116.34718947357025,29.625874670807274],[116.34726947393627,29.625615675977965],[116.34714447426289,29.62537968142059],[116.34704047360758,29.62532568250194],[116.34695147391926,29.62498668988937],[116.34711447412603,29.62473669486538],[116.34736647402102,29.62471969569434],[116.3473764740669,29.624433701708075],[116.34694747372161,29.62426370544255],[116.34688047377463,29.623947712084153],[116.34748547384714,29.623791715691727],[116.34795247382749,29.62328972623708],[116.3474174740756,29.62257674160377],[116.34717347367838,29.622016753392582],[116.3471874739222,29.621819757724637],[116.34704547363205,29.62160776267325],[116.34704147343419,29.621444766444156],[116.34722547355724,29.62128176995202],[116.34726247426559,29.621027775246368],[116.34718147407489,29.620695782399903],[116.34737347369548,29.620613784182538],[116.34740047345974,29.6205037867349],[116.34753947427521,29.620500786434135],[116.34785647356924,29.620662783051245],[116.34796847372213,29.620746781165533],[116.3479674738972,29.620841779236233],[116.34805847413378,29.620856779129213],[116.34799947368435,29.620606784009922],[116.34784347404882,29.62046878738141],[116.34782047358446,29.62004979609933],[116.34792947426268,29.620084795600267],[116.34809747359373,29.620298790676514],[116.34867847427498,29.620468787384333],[116.34895747393406,29.62080478006748],[116.34953147404414,29.621172772033784],[116.34991347363545,29.621296769007742],[116.34996047349104,29.621448766297963],[116.35013047426868,29.621445766025474],[116.35023347420072,29.621671760839618],[116.35046747365406,29.62180575833461],[116.35147047410959,29.62201375393245],[116.35133547349194,29.622185749994433],[116.35152447363775,29.622421745004665],[116.35157347404129,29.622954733599578],[116.35103647374054,29.623924712395247],[116.3510084741513,29.624290704813774],[116.35176147346313,29.624842692685466],[116.3522474737098,29.624982689424012],[116.35258747346843,29.624908690984615],[116.35344447343569,29.625253684182052],[116.35371847397042,29.62519768534995],[116.35406247392699,29.625141686486824],[116.35434147358625,29.625067688164016],[116.35441647392933,29.625029688666213],[116.35453447393009,29.624983689748305],[116.35465247393088,29.624964689985628],[116.35475947406097,29.62491769150196],[116.35485647414536,29.624880692264945],[116.35508247410102,29.625111687197656],[116.3552814733945,29.624675696520015],[116.35517247361463,29.624636697335006],[116.35498247364397,29.624366702805123],[116.35528347394283,29.624292704694085],[116.35535847428598,29.62401871028294],[116.3555734734729,29.623815715001044],[116.35606747411565,29.623664718488797],[116.35630847414012,29.62345472251682],[116.35619747381213,29.623190728386202],[116.35579147393159,29.622713738940355],[116.35586147425182,29.622583741671427],[116.35607147341582,29.622486743780726],[116.35616947422358,29.62208675260879],[116.35603947362894,29.622086752608325],[116.35514947404938,29.622490743579693],[116.3547414736204,29.6224117455034],[116.35468147424437,29.62225974810383],[116.35470947383358,29.621952755483132],[116.35424347367828,29.62208275200287],[116.35426247394501,29.621754759340146],[116.35465647413038,29.62135476838735],[116.35499247369111,29.621188771469413],[116.35547747411309,29.62081277982818],[116.35555247355799,29.62054578550507],[116.35577047401615,29.620505786704808],[116.35697547413793,29.620839779334105],[116.35948347429111,29.620969776519168],[116.36465047420997,29.621480765092315],[116.36463847361664,29.620282791177],[116.36473347405173,29.61900581867548],[116.36483647398407,29.618526828966033],[116.36508047348327,29.618357832491135],[116.36593847417404,29.61821183596678],[116.36667247411782,29.618367832411572],[116.36725947374858,29.618340833031656],[116.36793947416389,29.61871682530951],[116.3683804742048,29.618742824214127],[116.36873547403181,29.619066817372172],[116.36907747344011,29.61925481350364],[116.36922847395115,29.619203814767207],[116.36937647408922,29.619152815224098],[116.36906747339444,29.619056817527884],[116.36836947343598,29.61840983126825],[116.3666874741869,29.61716185895009],[116.36651347410978,29.616936863789523],[116.36658547407988,29.616702868446872],[116.36742847380381,29.616345876300336],[116.36750147359889,29.6159888836677],[116.36740947353752,29.61576488863955],[116.36644347379043,29.615043904457846],[116.36546847382238,29.614605913893993],[116.36491947382652,29.614530915221266],[116.36388947360665,29.614646913106927],[116.36319947404378,29.61460191377085],[116.36253747407027,29.613964927380703],[116.36095747402997,29.61305694684391],[116.35990547406897,29.612855951436778],[116.35943747426383,29.612964948984416],[116.35919047349331,29.61310594625474],[116.35854647396077,29.613953927370197],[116.35802847392654,29.614935906419092],[116.35703247404199,29.61479091003452],[116.35500247373993,29.61412392383198],[116.3529624742902,29.614027926025624],[116.35228247387471,29.613951928058615],[116.35177347406186,29.61376593148116],[116.35168447347512,29.61368393387243],[116.3517554736203,29.61351593751647],[116.35245447340401,29.61352693678221],[116.35295547371959,29.61308594613888],[116.35318547387337,29.612980948900898],[116.35318747352329,29.612675955445802],[116.35290347384134,29.612349962728594],[116.35247347367107,29.61244096070175],[116.35240547389894,29.612634956203866],[116.35203747365291,29.612677955537563],[116.35181847426821,29.612611957040333],[116.35187347362151,29.61243496039799],[116.35156547365003,29.61232196284996],[116.3514354739537,29.612349962723435],[116.35036647427387,29.61310594622366],[116.35036347390052,29.61364393468634],[116.34915147410578,29.61391792840531],[116.34897447365556,29.613746931936202],[116.34870447421746,29.61315694491633],[116.34855647407949,29.613035947823818],[116.34834147399437,29.61303494738821],[116.34799047346671,29.613249943025437],[116.34790647380123,29.61310694586816],[116.34791847349683,29.61298694837045],[116.34825547378068,29.612998948127835],[116.34855047423173,29.612922950169477],[116.34881547364738,29.612726954346524],[116.34888247359456,29.612607956835774],[116.34883447391398,29.61254195829332],[116.34850347347782,29.61272795400234],[116.34828047389517,29.612635955847214],[116.3477014737622,29.61221396503485],[116.34784847407548,29.611841972937192],[116.34765247425693,29.61181197358946],[116.34754547412663,29.612231965196603],[116.34742847395088,29.61194597091517],[116.34735047413312,29.61187097260805],[116.34705747423023,29.61185997316305],[116.34699547340772,29.611638977334866],[116.34689947404662,29.611598978903658],[116.34646447385326,29.61213696681652],[116.34656247376208,29.61322994295508],[116.34668347413574,29.613513937419473],[116.34700447362765,29.613710932923457],[116.34715047411589,29.613552936224448],[116.34733647388867,29.613576935601305],[116.3474024740109,29.61364793404813],[116.34740147418592,29.61382993069578],[116.34713047402428,29.61382193040278],[116.34649847418781,29.61357793602781],[116.34626547366082,29.61390992889109],[116.34602147416183,29.61370093332411],[116.3455604740295,29.61347393816668],[116.34504947366848,29.613421939195703],[116.34499447341693,29.613372939932084],[116.3451214736386,29.613149944992024],[116.34498447426964,29.6131099455982],[116.34487047356832,29.613476937893683],[116.34425147415033,29.613924928246448],[116.34442147402953,29.61409092463485],[116.34421847363981,29.614401917897702],[116.34423547425652,29.614651912788975],[116.34397247359243,29.614699911792425],[116.34384247389605,29.614857908255654],[116.34404347373729,29.615238899970734],[116.34396547391951,29.61534789728588],[116.34412347410313,29.615513893673764],[116.34410847403447,29.615630891621795],[116.34350347396216,29.615431895923155],[116.34312247419565,29.615419896455226],[116.34296247346376,29.615519893788],[116.34275847414769,29.615404896533057],[116.34218847423537,29.61534889769152],[116.34204247374716,29.61556189304132],[116.34188247391354,29.615608891983477],[116.34175847406493,29.615754889157106],[116.34182447418715,29.615838886676098],[116.34178747347885,29.61594288443668],[116.3414444742455,29.61600788346952],[116.3414324736516,29.616198879487374],[116.34124847352852,29.616191879786268],[116.34121947411462,29.615973883738913],[116.34102747359577,29.615911885120198],[116.34076247418022,29.616016883209916],[116.34028147395631,29.615970884080493],[116.34021747348385,29.61618087924823],[116.34011947357457,29.616209879234223],[116.33985247361095,29.616142880302494],[116.33982447402197,29.61590288536382],[116.33989247379412,29.615730889511987],[116.3400004737491,29.615727889068964],[116.33987947427373,29.615477894503154],[116.33979347406026,29.614956905716518],[116.33950647400523,29.614614913670568],[116.33938947382951,29.61429692045066],[116.33918247414039,29.614177923230383],[116.33897347390321,29.61386292991151],[116.3387514741454,29.613769931583672],[116.3386454738401,29.61400892648942],[116.33842147353407,29.614205922586113],[116.33889747373479,29.61478191011847],[116.33881947391677,29.615299898571983],[116.33894647413813,29.615904885392503],[116.33868947421996,29.61640587452849],[116.3384004736167,29.61641987467918],[116.33825247347895,29.61586688634159],[116.33797047344666,29.615883886224943],[116.33786047384196,29.615668890737275],[116.33761947381758,29.61556089339698],[116.33735647405172,29.61595088454478],[116.33704847408016,29.615945884856927],[116.33696047421674,29.615778887992228],[116.33735547422695,29.61562189182082],[116.33734147398334,29.61541789639352],[116.33692947425489,29.615028904377052],[116.33681847392687,29.615024904278343],[116.33635647396967,29.614745910692438],[116.33628147362654,29.614932906656502],[116.33604647344981,29.61512890209523],[116.33569247344752,29.615210900869876],[116.33540947359037,29.615066903736206],[116.3353804741765,29.614815909456954],[116.33514547399983,29.615004905340285],[116.33506347398405,29.614994905091475],[116.33496847354957,29.614850908430785],[116.33498247379349,29.614406917628557],[116.33471647365484,29.61421092234614],[116.33451047379044,29.614432917641725],[116.3344614742848,29.61468591214931],[116.33404847383298,29.614718911113005],[116.3340184736957,29.61481190934539],[116.33377347347343,29.61481790872373],[116.3336054741424,29.614417917570734],[116.33339547408005,29.614555914673442],[116.33309347395634,29.614536915286166],[116.33287847387129,29.614343919179344],[116.33276147369554,29.614071925119926],[116.33265347374054,29.614125923820463],[116.33284847373403,29.614467916744164],[116.33272547371037,29.61454091462158],[116.33141847348121,29.614382918437418],[116.33123947427939,29.6144599164971],[116.33134547368644,29.61414792377],[116.33133647346573,29.613841930295077],[116.33114547367018,29.613517936742145],[116.33077747342418,29.613518937170895],[116.3306204739636,29.613757931890643],[116.33050447361268,29.61375693224351],[116.33017547372486,29.613494937778714],[116.3304444742367,29.613347940805312],[116.33151947376412,29.613058946828556],[116.33153647348267,29.612814952170993],[116.33207547343292,29.612737953637005],[116.3323204736552,29.61278795286624],[116.33284547426008,29.612684955414537],[116.33308247408672,29.61214696652051],[116.33303447350785,29.61208796766226],[116.33263147400001,29.612318963019526],[116.3324114738921,29.612164965911454],[116.33238647377775,29.612051968842728],[116.33201147385911,29.611977970277735],[116.33116047373939,29.61217296633053],[116.33111647425682,29.612087967655512],[116.3307574742317,29.611942971081515],[116.33088847375308,29.611712976090697],[116.33051747403262,29.611107989101857],[116.32988847367068,29.61125598588784],[116.32977047366992,29.611225986366023],[116.32984147381504,29.61110598897249],[116.33046047413131,29.61074799685145],[116.33074247416357,29.6108959933881],[116.33103047404357,29.610900993326368],[116.3321644740206,29.61051600212521],[116.33217347424157,29.610309006694447],[116.33236747351201,29.610230007662818],[116.33249147425894,29.61000301328279],[116.33230647341287,29.60975901825711],[116.33202547410374,29.60988801520009],[116.33157247346897,29.60985301606214],[116.33140547396269,29.609965013567614],[116.33132847396975,29.610119010130266],[116.33128047428913,29.610213008383113],[116.32975447377689,29.610161009288532],[116.32964147379889,29.610351005770184],[116.32966547408817,29.610678998057086],[116.3295434738895,29.610602999910235],[116.32935647429198,29.61016400911519],[116.32917147344577,29.610072011744307],[116.32912247394029,29.610173009378876],[116.32932547343144,29.610370005163283],[116.3293014740402,29.61056100092972],[116.3289894738707,29.61065599844698],[116.32894647421291,29.61086899434137],[116.3285234737152,29.611115988821183],[116.32864747356389,29.61084499510036],[116.32867347350333,29.610357005411416],[116.32844347424798,29.610268007260494],[116.3283094734553,29.610339005694115],[116.3280054736818,29.61022600813974],[116.32785647371887,29.610382004444805],[116.32751047411246,29.610503002378046],[116.32683647354477,29.61040800393218],[116.32612247369238,29.610590000178696],[116.32591747365306,29.61034800515362],[116.3255544734298,29.6107079980498],[116.32556147400062,29.61119798694608],[116.32500547343372,29.61115498775883],[116.32474347349296,29.611029990349056],[116.32451347423749,29.61109298929909],[116.32431647369575,29.611013990880497],[116.32418647399942,29.611054989997502],[116.32414047396855,29.61131098496692],[116.32376247367684,29.611359983669274],[116.32368147348599,29.611287985501825],[116.32377947429376,29.610953992463884],[116.32364247402646,29.61085599463747],[116.32359447344753,29.61097899213244],[116.32325947371181,29.610923992850804],[116.32323047429786,29.610790996184868],[116.32336447419237,29.6103560049313],[116.32334747357574,29.61000801245108],[116.32332547383449,29.609898015143656],[116.32315247358221,29.609759018224906],[116.32322747392534,29.60969201969271],[116.3234564742541,29.609781017571123],[116.32349447388893,29.60971001952526],[116.3234464742087,29.609045033463055],[116.32311647359751,29.608981035099312],[116.32299847359671,29.609087032291693],[116.32292047377899,29.608996034413355],[116.32291247428157,29.60859104353918],[116.32250147347966,29.608403047043666],[116.32239747372257,29.608441046562323],[116.32214947402525,29.608917036692617],[116.32233047377521,29.60896403561004],[116.32238247365355,29.60946002487053],[116.32287947377084,29.60963202127105],[116.32266447368522,29.61079699580137],[116.3225924737151,29.610941992460102],[116.32241047414026,29.61094399258964],[116.3222484737587,29.610647998660404],[116.32211947388735,29.610595999795102],[116.32177447410568,29.611120988723783],[116.32143847364675,29.611044990128416]]]},properties:{name:"均桥镇","fill-opacity":0,"stroke-opacity":1,stroke:"#ff0000"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[116.38090147380488,29.620945776635914],[116.3809054740031,29.620377788961445],[116.38047347418318,29.62001779701718],[116.38020347384672,29.619488808427334],[116.37834447414626,29.62091877715464],[116.37781747389133,29.621547763644564],[116.37709047362002,29.622034753471308],[116.3749534740855,29.622859735260374],[116.37475747426711,29.622280748352853],[116.37425247375403,29.621794758496723],[116.37382247358389,29.621549763550266],[116.37357847408492,29.621252769955976],[116.37342747357417,29.620633783655258],[116.37324447417448,29.6204307878002],[116.37250647403278,29.62025179166391],[116.3717534738225,29.619911799573707],[116.36922847395115,29.619203814767207],[116.36907747344011,29.61925481350364],[116.36873547403181,29.619066817372172],[116.3683804742048,29.618742824214127],[116.36793947416389,29.61871682530951],[116.36725947374858,29.618340833031656],[116.36667247411782,29.618367832411572],[116.36593847417404,29.61821183596678],[116.36508047348327,29.618357832491135],[116.36483647398407,29.618526828966033],[116.36473347405173,29.61900581867548],[116.36463847361664,29.620282791177],[116.36465047420997,29.621480765092315],[116.35948347429111,29.620969776519168],[116.35697547413793,29.620839779334105],[116.35577047401615,29.620505786704808],[116.35555247355799,29.62054578550507],[116.35547747411309,29.62081277982818],[116.35499247369111,29.621188771469413],[116.35465647413038,29.62135476838735],[116.35426247394501,29.621754759340146],[116.35424347367828,29.62208275200287],[116.35470947383358,29.621952755483132],[116.35468147424437,29.62225974810383],[116.3547414736204,29.6224117455034],[116.35514947404938,29.622490743579693],[116.35603947362894,29.622086752608325],[116.35616947422358,29.62208675260879],[116.35607147341582,29.622486743780726],[116.35586147425182,29.622583741671427],[116.35579147393159,29.622713738940355],[116.35619747381213,29.623190728386202],[116.35630847414012,29.62345472251682],[116.35606747411565,29.623664718488797],[116.3555734734729,29.623815715001044],[116.35535847428598,29.62401871028294],[116.35528347394283,29.624292704694085],[116.35498247364397,29.624366702805123],[116.35517247361463,29.624636697335006],[116.3552814733945,29.624675696520015],[116.35508247410102,29.625111687197656],[116.35485647414536,29.624880692264945],[116.35475947406097,29.62491769150196],[116.35465247393088,29.624964689985628],[116.35453447393009,29.624983689748305],[116.35441647392933,29.625029688666213],[116.35434147358625,29.625067688164016],[116.35406247392699,29.625141686486824],[116.35371847397042,29.62519768534995],[116.35344447343569,29.625253684182052],[116.35258747346843,29.624908690984615],[116.3522474737098,29.624982689424012],[116.35176147346313,29.624842692685466],[116.3510084741513,29.624290704813774],[116.35103647374054,29.623924712395247],[116.35157347404129,29.622954733599578],[116.35152447363775,29.622421745004665],[116.35133547349194,29.622185749994433],[116.35147047410959,29.62201375393245],[116.35046747365406,29.62180575833461],[116.35023347420072,29.621671760839618],[116.35013047426868,29.621445766025474],[116.34996047349104,29.621448766297963],[116.34991347363545,29.621296769007742],[116.34953147404414,29.621172772033784],[116.34895747393406,29.62080478006748],[116.34867847427498,29.620468787384333],[116.34809747359373,29.620298790676514],[116.34792947426268,29.620084795600267],[116.34782047358446,29.62004979609933],[116.34784347404882,29.62046878738141],[116.34799947368435,29.620606784009922],[116.34805847413378,29.620856779129213],[116.3479674738972,29.620841779236233],[116.34796847372213,29.620746781165533],[116.34785647356924,29.620662783051245],[116.34753947427521,29.620500786434135],[116.34740047345974,29.6205037867349],[116.34737347369548,29.620613784182538],[116.34718147407489,29.620695782399903],[116.34726247426559,29.621027775246368],[116.34722547355724,29.62128176995202],[116.34704147343419,29.621444766444156],[116.34704547363205,29.62160776267325],[116.3471874739222,29.621819757724637],[116.34717347367838,29.622016753392582],[116.3474174740756,29.62257674160377],[116.34795247382749,29.62328972623708],[116.34748547384714,29.623791715691727],[116.34688047377463,29.623947712084153],[116.34694747372161,29.62426370544255],[116.3473764740669,29.624433701708075],[116.34736647402102,29.62471969569434],[116.34711447412603,29.62473669486538],[116.34695147391926,29.62498668988937],[116.34704047360758,29.62532568250194],[116.34714447426289,29.62537968142059],[116.34726947393627,29.625615675977965],[116.34718947357025,29.625874670807274],[116.34732647383741,29.62615666417085],[116.34731747361657,29.62630366120398],[116.34708647363784,29.62636665997758],[116.34656147393169,29.625737673110407],[116.34622747402089,29.625625675949863],[116.34568547369754,29.625993667485552],[116.34627447387622,29.62643465865723],[116.34643347388466,29.626800650548613],[116.34635047404403,29.62682664970837],[116.34607647350937,29.626763651220596],[116.34583947368306,29.626474657445854],[116.34547447381019,29.626368659795965],[116.34511947398295,29.626434658653167],[116.3449494741036,29.626570655099016],[116.34447847392543,29.62672665187465],[116.34418247364944,29.6267356522209],[116.34387847387592,29.62662365460807],[116.34346447359937,29.626222663154543],[116.34294847411365,29.62627066211232],[116.34281647386925,29.626305661013486],[116.34270747408921,29.626503656801535],[116.34294647356509,29.627368637926054],[116.34278647373146,29.627487635968034],[116.34249347382858,29.627461636196728],[116.34238147367562,29.62735763860973],[116.34229447363705,29.62718764181276],[116.34227547426904,29.626693652929166],[116.34217247343867,29.626507656442403],[116.34191747406896,29.6263556597548],[116.3414874738985,29.626733651613744],[116.34181147376341,29.627123643255022],[116.34214547367418,29.627244640613966],[116.34221647381919,29.62736963821604],[116.3419984742591,29.627928626061536],[116.34182247363367,29.62804962323272],[116.34112747404785,29.628133621433115],[116.34106647394827,29.628592611407665],[116.34110847378093,29.628832606578598],[116.34123647382738,29.628984603432986],[116.34163047401253,29.629215598327175],[116.34200047390833,29.629289596729095],[116.34231147425297,29.62922859798922],[116.342555473752,29.629318596068405],[116.34256747344752,29.629490592154788],[116.34292047362476,29.62979158596702],[116.34374447398018,29.629911582979382],[116.34395347421747,29.630102579194304],[116.34425647416614,29.629976581594494],[116.34423547424993,29.629712587374318],[116.34439447425852,29.6297275875087],[116.3450394736154,29.63016457767471],[116.3451524735932,29.63042257226084],[116.34496847347019,29.63045157127132],[116.3442684738617,29.630042580431887],[116.3440944737844,29.630192577273146],[116.34457547400812,29.630513570312544],[116.34496847347016,29.63049257107068],[116.34496647382022,29.63070356590812],[116.34510547373736,29.6308025642148],[116.34564647423566,29.630777564779823],[116.34589447393269,29.630966560400946],[116.34621247394989,29.631050558515184],[116.34666947388443,29.630964560670837],[116.34613547395698,29.631207555637125],[116.34567047362667,29.6311205568874],[116.34550447394527,29.631227554474876],[116.34545847391439,29.631534548507105],[116.3462484739347,29.631611546739197],[116.34663347389912,29.631520548897832],[116.34670847424205,29.631893540442988],[116.3471974739635,29.631798542643384],[116.3471794735218,29.63198853815632],[116.34730047389553,29.632133535559863],[116.34874947351646,29.632510527367653],[116.34873447344782,29.632686523647862],[116.34851147386499,29.632798520764993],[116.3483124736733,29.63301051647382],[116.3480194737704,29.632958517433856],[116.34748647366797,29.63299251689668],[116.34695447428885,29.63287651904132],[116.346765474143,29.632956517736154],[116.3463434734703,29.63296151735824],[116.34650847422492,29.633315510064524],[116.34608947392519,29.633585504033835],[116.34596347352841,29.633820498659347],[116.34537047404974,29.63407949347477],[116.34480847363514,29.63382749869278],[116.34484747399307,29.63409549318222],[116.34499547413101,29.63418549081675],[116.34503247394085,29.6344524849122],[116.3449604739708,29.63454048334592],[116.34485047346766,29.634501484075628],[116.3446314740831,29.633977495363563],[116.34448147339697,29.63393849665596],[116.34473947403778,29.63469747971256],[116.34472647361883,29.63508447188649],[116.3446434737782,29.635064472250395],[116.34436247357104,29.634602482212056],[116.34413447396552,29.634380486842975],[116.34414047381351,29.633894497574822],[116.34403147403361,29.633802499223073],[116.34371147346816,29.63390349728018],[116.34390347398703,29.634040494021235],[116.3439874736525,29.634230489990436],[116.34387947369744,29.63433048817653],[116.34366347378749,29.634269489364105],[116.34329647426456,29.634477484992555],[116.34317247351778,29.634237489996604],[116.34275047374354,29.634150491521634],[116.34270547353765,29.634370486950672],[116.3431694740429,29.634761478916893],[116.34323947346466,29.63498047357561],[116.34291447377463,29.635162469953258],[116.34236547377878,29.634936474947814],[116.34188347372996,29.63509147104533],[116.34187147403425,29.635319466128223],[116.34167447349235,29.63560146037981],[116.34146247378,29.636179447825064],[116.34143847349046,29.63652244027653],[116.34132947371045,29.636734435955265],[116.34120047383901,29.636749435823706],[116.34118347412051,29.636834433997432],[116.34135347399959,29.637362422672876],[116.34135747419722,29.63802540811192],[116.34110947360186,29.63803040826377],[116.34082247354674,29.637925410469197],[116.34056247415408,29.63796440919307],[116.34029647401553,29.63759441727899],[116.34011247389257,29.637554418218876],[116.33986647384519,29.637696414846218],[116.33931047417657,29.63779741290149],[116.33937047355255,29.6381604051139],[116.33926647379542,29.638278402715294],[116.33919147345237,29.63825140320321],[116.33906747360392,29.637959409812566],[116.33912947352832,29.637753413945198],[116.33896847386988,29.63767841532557],[116.33880347401345,29.637775413424237],[116.33839147428486,29.637748413776126],[116.33819847394088,29.63808940675746],[116.33776847377064,29.63802440791255],[116.33742347398936,29.63756741757369],[116.33709947412436,29.63758841768312],[116.33702447378128,29.637643416464527],[116.33702647343102,29.637760413701933],[116.33748347426366,29.638005408265727],[116.33766147364032,29.6385613966658],[116.33754047416475,29.63861539551551],[116.337240473691,29.63830740179986],[116.33712447423832,29.638388400268195],[116.33732047405677,29.638609395210157],[116.33730347344006,29.63866939433595],[116.33693347354429,29.63855639653688],[116.33654647393,29.63868039397394],[116.33648847420355,29.638869389599414],[116.33685047370327,29.639297380697155],[116.33669347424275,29.639354379672714],[116.33627147357014,29.639195382405607],[116.33626247424759,29.639298380869114],[116.336495473876,29.6394603769289],[116.33647847415756,29.63955237479633],[116.3361804742317,29.639697372239684],[116.33543047349588,29.63999636566178],[116.33507447384378,29.64002836475804],[116.33497547410953,29.640075363999216],[116.33491347418521,29.6402383605342],[116.33418447426418,29.640433355771748],[116.33398847354715,29.640690350438508],[116.33378947425382,29.64081134789445],[116.33338547402282,29.640902345929632],[116.33341847363474,29.640987343721246],[116.33321447342017,29.641217339038157],[116.33320647392242,29.641503332998887],[116.33291347401935,29.64185632519902],[116.33262547413935,29.6418433256067],[116.33251747418434,29.64170032842959],[116.33215347413623,29.641946323702317],[116.33207247394529,29.642087320236683],[116.33231347396962,29.642242317041855],[116.33244047419107,29.642608309269978],[116.33293747340988,29.643310293520813],[116.33298547398861,29.64361528715427],[116.33266247394833,29.64386528216705],[116.33237447406833,29.643825282474626],[116.33218547392268,29.64332129343259],[116.33194647354823,29.643020300237076],[116.3312194741756,29.642612309049643],[116.3311044736496,29.642466311756124],[116.33092847392254,29.64247231183026],[116.33013547352901,29.64284330391351],[116.32973547349603,29.642744305730428],[116.32979047374769,29.642658307720097],[116.32976647345836,29.642270316400005],[116.3299214741675,29.641983322128656],[116.32950547424092,29.641985322422006],[116.32937647347126,29.641927324006005],[116.32931947356985,29.641799326845785],[116.3292314737063,29.641985322421046],[116.329304473501,29.642508311484775],[116.32910647403256,29.64257630941916],[116.3288584734372,29.64248831176031],[116.3286654739917,29.6425543102055],[116.328471473823,29.64242331263209],[116.32854947364085,29.642270316395734],[116.32829847357083,29.6420203213243],[116.32809747372929,29.64222431754136],[116.3277424739021,29.64230531520036],[116.32793347369768,29.642592309335814],[116.3279404742686,29.642718306769126],[116.32781547369673,29.6429453016225],[116.32796747403259,29.64317729664304],[116.32782647356721,29.643356292640153],[116.32779747415306,29.643658286522502],[116.32781547369639,29.64376428393306],[116.32792847367428,29.643790283399106],[116.32788247364338,29.644048278213077],[116.32841947394368,29.64417227513629],[116.32821347407913,29.64470826377304],[116.32765247348935,29.6447452627518],[116.32729447418748,29.644624265337033],[116.32721247417169,29.6446832638808],[116.32737047345701,29.64489325931838],[116.32726247350178,29.645384249163328],[116.32731147390551,29.64543424780587],[116.32706947405606,29.64588023793771],[116.32740247414195,29.645832239736386],[116.32759947378521,29.64634222854414],[116.32733747384432,29.646528224314082],[116.3272554738286,29.646513224340257],[116.32720447377507,29.6463062294727],[116.32694547420749,29.645950236933867],[116.32681047358989,29.646112233220133],[116.32694147400939,29.646219231275598],[116.3267244742744,29.646388227073793],[116.32644747426507,29.646261230224],[116.32626647361678,29.64627423002497],[116.32618347377604,29.6463982273272],[116.32644847408983,29.646561223776615],[116.3266614736267,29.64684921758998],[116.32653847360288,29.647309207461834],[116.3264124741045,29.64734520695345],[116.32637847376921,29.647524202566913],[116.32619847384414,29.647650200072846],[116.3260944740869,29.648020191727362],[116.32613647391958,29.64830118623874],[116.32601247407096,29.64843718282509],[116.32584547366645,29.64837618475125],[116.32556247380924,29.648424183301202],[116.32551947415142,29.648700177061926],[116.32563647342889,29.648775176059342],[116.32560847383978,29.64890317293798],[116.32553447421994,29.64890017270166],[116.32510647369917,29.649667156752056],[116.32468147355162,29.65009914749341],[116.3253884737312,29.650262143416555],[116.32539547340383,29.65038114095172],[116.32525547366136,29.65128712145633],[116.32472347428171,29.65236409839857],[116.32420747389777,29.65234609837883],[116.32401647410215,29.652079104109358],[116.3234104742047,29.65240009763953],[116.32306047350208,29.652372097965966],[116.3233364736866,29.652238101323135],[116.32325047347307,29.651964107210752],[116.32338847356539,29.65174011176682],[116.32374547394073,29.65173111209405],[116.32388847405579,29.651799110045477],[116.32429047373884,29.65139211936417],[116.32453447413646,29.650990128107072],[116.32451547386994,29.65088213038008],[116.32436847355692,29.65076313265597],[116.32451447404529,29.650246143930957],[116.3243374735951,29.650061148070062],[116.32402547342565,29.649929150827507],[116.32399047416394,29.649741154954206],[116.32378847359938,29.64951515988162],[116.32340247381009,29.649440161434665],[116.32264047427742,29.64887217360694],[116.32277047397385,29.64865017847066],[116.32237747361366,29.648299186056196],[116.32218347344495,29.648248187189537],[116.32203247383228,29.648045191553777],[116.32174147357922,29.648040191897383],[116.32147647416379,29.647933194215483],[116.32130447373628,29.6480561909483],[116.32088847380969,29.648048191811295],[116.32043147387519,29.648237187026545],[116.32013347394927,29.648525181508177],[116.32010547346188,29.648588179654652],[116.32034047363842,29.64868717755542],[116.3203924735169,29.648781175739636],[116.32029847380558,29.648910172689003],[116.32007547422278,29.64904916946458],[116.31970247395388,29.64911116876665],[116.319255474065,29.649497160118894],[116.31908847366044,29.649534159681075],[116.31909147403337,29.649850152396105],[116.31941247352533,29.649922151112406],[116.319501474112,29.650086147386894],[116.31939947400471,29.65025514371977],[116.31955347399035,29.650486139006876],[116.31990347379465,29.65065113520532],[116.31993547358158,29.650810131554724],[116.31973647338998,29.650848130693465],[116.31968447351143,29.65096212880607],[116.31980147368708,29.651305120863757],[116.31973847393783,29.651562115882918],[116.31983747367173,29.652159102366962],[116.32015047366583,29.65280408879905],[116.31978647361791,29.652661091576867],[116.31981747357989,29.652991084376605],[116.31937747426215,29.65310208229185],[116.31922947412464,29.65198910605774],[116.31884747363532,29.651123124774408],[116.31863447409837,29.651054126308708],[116.31826047400453,29.651259122230393],[116.31786547399442,29.651200123635583],[116.3177624740622,29.65127912177049],[116.31786347344617,29.65153011654136],[116.3176714738255,29.65159211509653],[116.31813747398071,29.65174711132078],[116.31810847366829,29.65188510881442],[116.3183784740049,29.652174102274785],[116.31840347411911,29.652499094895305],[116.31860247341243,29.652425097156183],[116.3188214736955,29.652477095511145],[116.31909047420712,29.652845088081076],[116.31905347349885,29.652908086646324],[116.31890347371107,29.65291008672354],[116.31853247399039,29.652828088186883],[116.31846747369299,29.652939085502553],[116.3189514733916,29.653058082997127],[116.31919147359095,29.653283078666878],[116.31936847404126,29.65330007770223],[116.31934647340157,29.653369076188657],[116.31895447376436,29.65365607000664],[116.31879947395372,29.653515073280857],[116.3186714739072,29.653549072829964],[116.31821747344759,29.653397075579626],[116.31821547379778,29.6533190775803],[116.31798747419231,29.65317408101795],[116.3177844738026,29.65340207574807],[116.31778147342945,29.653614071015244],[116.31765147373305,29.65380906688956],[116.31754447360284,29.65399506291448],[116.31741647355632,29.65406006159509],[116.3172874736849,29.654107060530702],[116.31726647376853,29.65415305941828],[116.31720147347116,29.654181058594876],[116.31708347347036,29.654228058254716],[116.31704047381264,29.65428405655869],[116.31684747346881,29.654330055364763],[116.31668647381031,29.654321055921752],[116.31639947375527,29.65415105936221],[116.3162664736859,29.654137059770086],[116.31618747404328,29.653971063794447],[116.31601147341797,29.653866065450423],[116.31573747378161,29.653856065936072],[116.31555047418377,29.654173059159614],[116.31558247397071,29.654351055097038],[116.31581247412431,29.65462704900037],[116.31579347385774,29.654689047990363],[116.31552847354389,29.654642049325133],[116.31532347350469,29.654292056753956],[116.31521147425002,29.654235057647455],[116.31507347415776,29.654319055866377],[116.31509647372387,29.654532051566704],[116.31541947376402,29.654572050127374],[116.31522747414327,29.654961042451404],[116.3152584741053,29.655165037426062],[116.31535147399163,29.65526903517971],[116.31514747377719,29.655260035820575],[116.31491247360073,29.654920043245845],[116.31491947417183,29.654665048256856],[116.31501247405828,29.654496052302846],[116.3149394742634,29.65444405343022],[116.31453547403235,29.654617049558123],[116.31471947415521,29.654927042596434],[116.31483547360762,29.65537003356126],[116.31499047341832,29.655422031955634],[116.31500247401216,29.655507029978057],[116.31477247385833,29.655686026688972],[116.31500247401196,29.65593602138986],[116.3149624738289,29.656049018415622],[116.3148614735466,29.65607201780822],[116.31451247356729,29.65578802388244],[116.31438047422107,29.65590402188214],[116.31542347396113,29.656455009779663],[116.31574947347602,29.656473009063827],[116.31549247355802,29.65664400560398],[116.31517447354075,29.656683004882883],[116.31485647352358,29.656380011039044],[116.31414047402144,29.656266013596106],[116.3141004738385,29.65631601307816],[116.31425947384696,29.65667400486698],[116.31476747383513,29.656459009791774],[116.3149414739122,29.656822001852646],[116.31516147402019,29.656850001068303],[116.31564147352091,29.656718004145393],[116.31574147397829,29.65674800339103],[116.31578347381102,29.65686000106697],[116.31561147428187,29.656956998639114],[116.31565147356648,29.65698099860372],[116.31592347355304,29.656926999457237],[116.31607647371398,29.656817001856627],[116.31631347354039,29.656882000277037],[116.31632847360895,29.65697099862156],[116.31600447374379,29.657130995130505],[116.31594847366729,29.657226993226445],[116.3161124736987,29.657438988242927],[116.31669647385469,29.657519986933437],[116.31686447408407,29.657620984619406],[116.31693947352879,29.65776498180898],[116.31692347363521,29.657884979049136],[116.31684947401538,29.657915977935357],[116.31651047408178,29.65766098351116],[116.3164394739367,29.65769198324699],[116.31669947422749,29.658069974578243],[116.3169414740768,29.658034975788475],[116.31727747363725,29.65853296464073],[116.31764647370794,29.658922956466167],[116.31755347382146,29.65911095236097],[116.31770547415738,29.65924294926943],[116.31763747348695,29.659346947491688],[116.31745747356193,29.65924694917218],[116.31731447344679,29.659301948610622],[116.31777847395205,29.65972093896564],[116.31771647402772,29.659768938350734],[116.31755247399626,29.65972493884947],[116.31745047388894,29.659948934474578],[116.31730047410106,29.660056931838227],[116.31730247375083,29.660207928428406],[116.31752447350843,29.660708918118697],[116.31774547344129,29.66082891497111],[116.31762947398857,29.66096091274722],[116.31734247393345,29.661011911414963],[116.317213474062,29.66116290813268],[116.31709047403812,29.66169989679103],[116.3171814742746,29.66181689417124],[116.31688447417375,29.66186789240508],[116.31699947380154,29.66162589801071],[116.31700147345148,29.66137590339641],[116.31690947339,29.661404902859406],[116.31676847382279,29.66191689149561],[116.31612447339224,29.662037889194103],[116.31612247374248,29.661928891665294],[116.31574947347369,29.661806893881735],[116.31570147379317,29.661691896393258],[116.31536747388246,29.661413902443513],[116.31496747384958,29.6611779074762],[116.31493347351453,29.66082391516029],[116.31481447368883,29.660859914501472],[116.31480647419107,29.66111490940395],[116.31463547358861,29.66114590807533],[116.31459147410592,29.661299905239304],[116.3143354740129,29.661247905979018],[116.31428447395942,29.661055910342053],[116.31400147410224,29.661037911097246],[116.31386847403272,29.661318904388995],[116.31391347423848,29.661483900779185],[116.31384547356808,29.661522900524844],[116.31331147364081,29.66152990019555],[116.31326947380806,29.661383903020724],[116.31311147362436,29.66134490400105],[116.31309447390579,29.661645897820303],[116.31301747391291,29.661647897724087],[116.31295747363852,29.66159189883416],[116.31291447398095,29.661208906902164],[116.31249047365831,29.661611898662542],[116.31220147395332,29.661671897347325],[116.31203647409707,29.661326904805144],[116.31184147410347,29.661171907724924],[116.31316947424915,29.661036910355623],[116.3132494737168,29.66095791207461],[116.31323847384618,29.660848914936967],[116.31307747418779,29.66059891995268],[116.31261747388055,29.66017092965096],[116.31249847405468,29.66054492118359],[116.31232447397745,29.66056192133281],[116.31194147366287,29.6604399234528],[116.31181647398925,29.66084591505209],[116.31160047407921,29.660884914263892],[116.3114334736747,29.66082791498874],[116.31182847368449,29.661660897095263],[116.31165847380512,29.66185189318809],[116.31160747375137,29.662072888137605],[116.31153147358341,29.662133887276024],[116.31134247343753,29.66210088745156],[116.31117247355849,29.661502900667635],[116.3109684742423,29.66154889929608],[116.3107004735554,29.66161389856097],[116.31056047381333,29.661641898003133],[116.31038947410909,29.66167989695487],[116.31028347380392,29.661707896378793],[116.31018747354439,29.661771894810165],[116.30956547375344,29.66204288891157],[116.30941447414062,29.6623968816214],[116.30911447366663,29.662508879253075],[116.30909847377299,29.662720874068338],[116.30920247353001,29.6628218719975],[116.3094004738967,29.662804872230257],[116.30968947360162,29.662926869583895],[116.30982147384593,29.66321886392697],[116.30985947348064,29.663461858327032],[116.30945147394993,29.66371985267211],[116.30885647392351,29.663127865766885],[116.30867947347323,29.66307886648456],[116.30834747411058,29.66313986501208],[116.30836447382885,29.663414859071604],[116.30825947424681,29.66356385621982],[116.30822747356135,29.663826850737205],[116.30850047427094,29.66413284379361],[116.30886547414352,29.665079823586456],[116.3092164737727,29.665140821683604],[116.30969247397374,29.665077823753542],[116.30976147357066,29.665132822346884],[116.3096964741712,29.666152800029376],[116.30946047416965,29.66621979847461],[116.30911647421318,29.66609880111918],[116.30843847344752,29.666050802409888],[116.3080334733918,29.665691809727228],[116.30788647397702,29.665730809402483],[116.30761147361724,29.66616780019062],[116.30760947396728,29.666515792233728],[116.30796147342139,29.666604790643667],[116.3081314741989,29.666765786565822],[116.30811047338403,29.667071780047863],[116.30860347420195,29.66683878556902],[116.30879447399757,29.666893783980456],[116.30898347414347,29.666846784773348],[116.30972647340951,29.667485771360607],[116.30937247340707,29.667873763041936],[116.30908447352715,29.66763276815592],[116.30897147354925,29.667679766996017],[116.30858047373718,29.66733377486685],[116.30841247350754,29.667744765420746],[116.30866447340252,29.667924762106406],[116.30857247423924,29.66808675814449],[116.30887647401282,29.668147756759712],[116.30928647409146,29.668435750460528],[116.30929647413704,29.66873174473006],[116.30949147413041,29.669338731132637],[116.30967547425338,29.66951972718089],[116.30975047369795,29.66982672074164],[116.30995647356217,29.66997971723658],[116.31005847366932,29.67022171182887],[116.30993947384364,29.670209712645736],[116.30986147402567,29.670491705939295],[116.30955347405416,29.670564704577085],[116.3095724734223,29.67076170010504],[116.30985447345446,29.67103069446974],[116.30980747359881,29.67114569220896],[116.30940447409098,29.671238689848867],[116.30937747342846,29.67133368789605],[116.30941847343622,29.671444685870686],[116.31004547414823,29.671656681368614],[116.3099864736986,29.671832677112736],[116.30982347349196,29.671979673800603],[116.3098274736897,29.672443664471004],[116.30963047404619,29.67256866137055],[116.30977747346078,29.672919654202666],[116.30970047346783,29.673086649972603],[116.30951447369502,29.673068650539314],[116.30947347368705,29.673266646462185],[116.3095754737942,29.673417642736545],[116.30959247351251,29.673759635681858],[116.30969247396997,29.67369463724037],[116.30981347344537,29.67385463369001],[116.30988147411577,29.673822634420794],[116.30992547359845,29.67359263946948],[116.31000447413949,29.673633638089115],[116.31006747388848,29.67401263022741],[116.31018047386628,29.67422662542746],[116.31046147407356,29.674404621788895],[116.31080547403019,29.674210625855338],[116.31080647385514,29.67409462867056],[116.31059447414323,29.673840633720914],[116.31068047345867,29.673631638425736],[116.31083747381753,29.67351664118816],[116.31120247369047,29.67345664254427],[116.31147947369976,29.673757636025233],[116.31211647355926,29.67368263770008],[116.31245047346992,29.673997630456764],[116.31253947405654,29.674330622996774],[116.31297947427262,29.67411462836389],[116.3131224734895,29.673922632310624],[116.31325447373375,29.674464620658764],[116.31325947375647,29.674793613147287],[116.31340647406947,29.67501460854151],[116.31356747372791,29.674955609829915],[116.31356847355289,29.674819612402118],[116.31374447417838,29.674654616033944],[116.31371547386588,29.67500360897055],[116.31399047422548,29.67497560934587],[116.31403747408122,29.674802613102592],[116.31408947395967,29.674962609350082],[116.31452447415279,29.674962609351613],[116.3146424741535,29.67508260715091],[116.31457247383331,29.67510860632969],[116.31462647425973,29.67560759554455],[116.31485447386534,29.675610595765498],[116.31492447418539,29.67593358876691],[116.31527547381465,29.675892589525525],[116.31563647348919,29.67685056879335],[116.31601047358295,29.676833569056402],[116.31632047410277,29.67660657415907],[116.31643347408045,29.67693956664448],[116.31675947359525,29.677187561225338],[116.3168434741592,29.677111563316753],[116.31680647345097,29.677038564747384],[116.31641647346387,29.676590574183383],[116.3164414735784,29.676217582800273],[116.3165224737693,29.676035586511077],[116.31659947376225,29.676029586876844],[116.31668247360287,29.676076585695924],[116.31675347374785,29.676376579332977],[116.31692047415234,29.676474576623917],[116.31714247391024,29.67632557987047],[116.31772847371568,29.677255559925186],[116.31778147341889,29.677711550546743],[116.31760147349385,29.677809548096278],[116.3174804740184,29.67774154977402],[116.31730347356809,29.67783754771218],[116.31743147361438,29.678180540241495],[116.31733247388021,29.67816054058374],[116.31704647365022,29.677639551423102],[116.31704447400031,29.677868546692775],[116.3169714742053,29.67799154429433],[116.31736247401714,29.678822525959095],[116.31737147423789,29.67913151955293],[116.31669447419551,29.678794526614084],[116.31664547379177,29.678824526299582],[116.3166994742182,29.679276516161455],[116.31654747388201,29.679830504122847],[116.3166584742099,29.6803584927786],[116.31656547342507,29.68053148960807],[116.3164474734243,29.68053048906289],[116.31624647358302,29.680216496248615],[116.3162264734915,29.68040249183664],[116.31634347366722,29.680632486820265],[116.31623547371214,29.68073548501687],[116.31603347404604,29.680234495961788],[116.31588847338278,29.680253495439093],[116.31583947387713,29.680615487719717],[116.31592347354264,29.680666486568736],[116.3161274737568,29.681568466920595],[116.31623647353659,29.681798461577944],[116.31642647350738,29.681805461400927],[116.3165104740712,29.681886459979058],[116.31650047402539,29.68217245385734],[116.31657247399531,29.682358449728895],[116.31650047402533,29.682251451864662],[116.31639347389519,29.682257451908036],[116.31687747359354,29.682875438884178],[116.31656847379709,29.682873438620696],[116.31635647408517,29.682519446182884],[116.31629947418377,29.682539445753306],[116.3164034739406,29.683011435558978],[116.31618047345945,29.68317643226035],[116.3159094741962,29.683158432291762],[116.31582647345722,29.683080433955418],[116.31582347398256,29.68300743581804],[116.31612847358107,29.682966436339537],[116.31586747346535,29.682672442873606],[116.31558847380603,29.682769440527522],[116.31563247418688,29.6829794360794],[116.31578747399747,29.683173432264564],[116.31566547379879,29.683169432531663],[116.31525547372009,29.682814439833074],[116.31488947402227,29.682818439578384],[116.31496147399226,29.682981436337332],[116.31525147352197,29.68324443080492],[116.31546647360693,29.68367842121146],[116.31570347343337,29.68359642278376],[116.31562847398875,29.683307429064048],[116.31594847365581,29.683458425868398],[116.31642547368176,29.68339242771905],[116.3166454737897,29.683553424079324],[116.3168574735016,29.683855417500993],[116.31669947421614,29.683994414381903],[116.31630747368077,29.683891416401007],[116.31623147351279,29.683944415389433],[116.31617747398447,29.683913415940022],[116.31625547380234,29.683738420002935],[116.31618647420538,29.683697420821236],[116.31600247408227,29.68394241514749],[116.31586847418797,29.684008413717375],[116.31573147392065,29.683934415742605],[116.31519647416835,29.684089412078507],[116.31543947384257,29.68420440971133],[116.31555047417042,29.684583401804094],[116.3157244742476,29.68475139821503],[116.31582747417977,29.68472139873761],[116.31582647345668,29.68438940600039],[116.31639147424448,29.684277408543593],[116.31646347421452,29.684317406981698],[116.31687047391985,29.68514738970588],[116.31734347374748,29.685802375573964],[116.31768147385597,29.68651735976589],[116.31758547359621,29.6872493438733],[116.31768147385543,29.68769833423384],[116.31790447343808,29.687966328077653],[116.3182984736234,29.687747333227758],[116.31831447351698,29.687559337014083],[116.31816047353121,29.68760333604269],[116.31802647363706,29.687394340482246],[116.31817647342518,29.686570358932425],[116.31815347385916,29.686199366532858],[116.31862147366422,29.686180367400183],[116.31875647338329,29.68656035877023],[116.31843247351823,29.686453361475966],[116.31837247414212,29.68655735887555],[116.31863647373267,29.686596358263817],[116.31896447379536,29.687274343335073],[116.31903247356745,29.68727534303251],[116.31923847343185,29.686994349687847],[116.31896647344533,29.686977350103156],[116.31868247376367,29.686048369947116],[116.31885247364292,29.686064369198903],[116.31898047368941,29.686177366716276],[116.31908847364426,29.68653435943231],[116.31898547371205,29.686719355333256],[116.31928347363778,29.68674335522059],[116.31971847383096,29.686612357431592],[116.3198634735959,29.686695356224785],[116.31989647410609,29.686822352759222],[116.32004947426697,29.686793353602187],[116.32028147407061,29.68662435778038],[116.32012047351391,29.686385362763748],[116.32024047406284,29.686312363905405],[116.32044547410226,29.686298364108193],[116.32080947415012,29.686546359014127],[116.32092147340485,29.686487360046176],[116.32099047390022,29.686332363504402],[116.32093947384664,29.686257365192326],[116.32062447420242,29.686203366153507],[116.32055747425528,29.68609136915499],[116.32075347407391,29.686048369954417],[116.32122947337673,29.685741376757676],[116.32129147419944,29.6853993839883],[116.32111347392431,29.685220387864863],[116.32151547360723,29.685081391119393],[116.3216874740348,29.68483839589049],[116.32174047373836,29.684518403357696],[116.32183347362471,29.68463040054826],[116.32172047364668,29.68499339239521],[116.3218654734116,29.684987392515342],[116.32198347341227,29.685122389737916],[116.32216247351236,29.685160389184098],[116.32228047351306,29.68536238435287],[116.32234847418347,29.6853623843531],[116.3224734738573,29.68446440416873],[116.32234847418397,29.684151410884066],[116.32277547398124,29.68405841270068],[116.32284147410333,29.68430340770876],[116.32312247341241,29.68431240759145],[116.32319847358028,29.684469404357774],[116.32301847365517,29.684661399780598],[116.32300847360932,29.684876395447997],[116.32309347399813,29.684914394206423],[116.32322147404463,29.684878394890838],[116.32331147355833,29.684188410191766],[116.32344847382572,29.68402541382995],[116.32345847387158,29.683750419937773],[116.3236294735758,29.683722420407438],[116.32349047365848,29.684048413069487],[116.32374547392651,29.684302407985168],[116.3237014735455,29.68445840426105],[116.3238624741022,29.68453340235507],[116.32399047414876,29.684482403907815],[116.32399347362363,29.684133411096838],[116.32374747357647,29.68393041606861],[116.32385947372951,29.683783418902614],[116.32413247354097,29.683673421016053],[116.3243444741513,29.6838754168322],[116.32425647338926,29.684209409941808],[116.32427347400596,29.684380406155302],[116.32438247378582,29.684522403045847],[116.32412647369276,29.684669399911037],[116.32417547409646,29.68491439421024],[116.32432847425727,29.684975392762208],[116.32440547425017,29.68493139414368],[116.32442147414368,29.685065390941492],[116.32431847421144,29.685205388208406],[116.32409647355526,29.685293385966435],[116.32408747423268,29.68539738378598],[116.3242304734494,29.685612379440467],[116.32452847337514,29.68571037709385],[116.32468047371103,29.685919373034466],[116.32456847355795,29.686112368518206],[116.32486647348372,29.686158367598487],[116.32497647398681,29.68631536382273],[116.32495547407017,29.686865352427596],[116.3251534735387,29.68651735979218],[116.32572547399921,29.686380362692255],[116.32585347404573,29.686425361943677],[116.32590247355105,29.6867233549488],[116.32632047402556,29.687008349413713],[116.32587647361161,29.687116346593523],[116.32611347343797,29.687281343581624],[116.3265844736163,29.686921351297244],[116.32618947360588,29.687467339364265],[116.32611147378798,29.687690334378072],[116.32628047384226,29.687895329778733],[116.3265534736538,29.687770332424908],[116.32668947409616,29.687794332060655],[116.32669747359368,29.688002327879328],[116.32653447338704,29.68813432510696],[116.32636447350771,29.688111325241145],[116.32647947403355,29.68866131338281],[116.32655547420153,29.688677312998713],[116.32671147383722,29.68843331819381],[116.32691447422665,29.688672313022828],[116.32738047348346,29.689000306160793],[116.32737147416091,29.68908930417802],[116.32704647357257,29.689221301538165],[116.32699447369389,29.68950329535534],[116.32685747342656,29.689554294376343],[116.32680447372302,29.689769289721852],[116.32717047342078,29.689890286687294],[116.3274264735138,29.68982528853055],[116.32766447406344,29.689909286682763],[116.32778347388906,29.690066283290548],[116.32793647404992,29.69012628138796],[116.32835547345128,29.689906286111416],[116.32838147339058,29.689765289476956],[116.32857847393244,29.689692290732786],[116.32867847349145,29.689916285943802],[116.32870647397867,29.690264278516377],[116.32880447388796,29.69025927861851],[116.32888347353082,29.689932286140756],[116.32904547391247,29.689933285812092],[116.32924247355626,29.689270300575412],[116.32965047398514,29.689348298791685],[116.32972747397802,29.689452296317473],[116.33024747366166,29.689344298526645],[116.33041947408917,29.689204301562572],[116.33051447362547,29.68899030624944],[116.33043147378496,29.6886623130801],[116.33049147405946,29.68850631708608],[116.33061047388505,29.688656313419397],[116.33095947386447,29.688636314286715],[116.33124347354668,29.688378319874527],[116.33132847393547,29.688408319041436],[116.33144947341108,29.688120324799748],[116.3315854738535,29.68815032482426],[116.33160847341959,29.688447317711507],[116.33139347423267,29.688795310687723],[116.3315894740511,29.688885308568334],[116.33199947412997,29.688755311692933],[116.33212947382643,29.68846631797992],[116.33191847393944,29.688085325542406],[116.33180747361135,29.688062326446026],[116.33188447360428,29.68796732859752],[116.3326494735101,29.688350320076903],[116.33295447400673,29.688680312851343],[116.33341947343902,29.688155324053422],[116.33275747346539,29.687690334401488],[116.3324504742171,29.68771033372261],[116.33241747370685,29.68758433644352],[116.33269947373914,29.687556337201144],[116.33279347345052,29.6874833391932],[116.33243747379859,29.687057347982936],[116.33217547385789,29.68685435261673],[116.33218447407874,29.686777354509676],[116.33243147395095,29.68670435593646],[116.33228847383593,29.68649536006735],[116.33237447404973,29.686318363749383],[116.3326394734653,29.686208366295777],[116.33282847361126,29.68601637070643],[116.33291047362724,29.685439382800915],[116.33282447341372,29.685038391525833],[116.33293747339167,29.68493539383607],[116.33298047394766,29.684870395595713],[116.33322647399498,29.684768397456416],[116.33361147395946,29.684665399490953],[116.33390147348925,29.68483239604377],[116.33423447357478,29.685597379866422],[116.3347814739207,29.68605337011145],[116.33550047379605,29.685792375397217],[116.33533947413791,29.685055391446372],[116.33482247392936,29.684231409448827],[116.33527247419099,29.684531402946234],[116.33547747423039,29.684443404521005],[116.33580147409546,29.6844754043134],[116.33600447358657,29.6847523980087],[116.33622547351948,29.68470139889247],[116.33658847374289,29.68402741333521],[116.33679347378238,29.683881416822768],[116.33679447360736,29.6837544196941],[116.3370414734795,29.683748419740642],[116.33700547349441,29.683993414723542],[116.33713947338852,29.6843804062006],[116.33749747358866,29.684539402310488],[116.33756847373341,29.68540138425771],[116.33766947401568,29.68548438248993],[116.3382924736315,29.685413383971227],[116.33873647404555,29.685209387910643],[116.33961247338128,29.685139389697433],[116.34096347399115,29.685675377833867],[116.3412434734752,29.68587837402052],[116.34170347378272,29.685852374506666],[116.34178147360043,29.685949372214868],[116.34138747341504,29.68623636594547],[116.34164247368311,29.68634936326989],[116.34189647412619,29.686588358372507],[116.3418534735701,29.68676635469784],[116.34105347350418,29.686478360430073],[116.34069147400399,29.68713734656111],[116.34059447391941,29.68762733579679],[116.34107047412031,29.687823331760494],[116.34100947402088,29.68806932586452],[116.3408644742559,29.688150324856917],[116.34097347403576,29.688329320444282],[116.34120347418953,29.688353319946888],[116.34167847366709,29.68871331256803],[116.34148147402355,29.688801310376288],[116.34154847397062,29.689017305452218],[116.34167647401708,29.68909230404617],[116.34162447413851,29.68921030123064],[116.3422034733733,29.68933329900376],[116.34191247401841,29.68955429442931],[116.34157047371166,29.68957429337932],[116.34140847422827,29.68969929083093],[116.34135547362641,29.689922286354925],[116.34152447368068,29.690183280492096],[116.34241847345804,29.690278278590416],[116.34288047341542,29.690036283891605],[116.34296547380416,29.69016328088671],[116.34287947359039,29.690259278668055],[116.34294547371256,29.69044527518216],[116.34317547386627,29.690521273155987],[116.34321647387424,29.690324277326468],[116.34309947369853,29.689937286105256],[116.34317647369149,29.689841288016318],[116.34333047367726,29.689834287973767],[116.34342247373861,29.690058282868254],[116.34353247424175,29.690140281487867],[116.34394247342226,29.69005428341161],[116.34412647354499,29.690605271509302],[116.34396147368838,29.691087260608928],[116.34403647403137,29.691287256256174],[116.34437747361477,29.691394254646855],[116.34486247403667,29.691375254935544],[116.34517347348319,29.69079026772428],[116.34569347406507,29.69086826554156],[116.34606347396107,29.690499273512376],[116.34715047408245,29.689867287294256],[116.34786747340974,29.68957529385621],[116.34807247344905,29.689636292701067],[116.34797647408783,29.689851287870987],[116.34713047399083,29.690305278205294],[116.34704347395208,29.69053527315961],[116.34725647348903,29.690611271065325],[116.34738247388567,29.690768268137166],[116.34725347401411,29.69110926014557],[116.34889347343118,29.690407275414668],[116.34936747398217,29.690915264458983],[116.34852347353511,29.691050261519337],[116.34841947377794,29.691235257691385],[116.34952447344227,29.691709247329676],[116.3496574735114,29.692260235717022],[116.34953847368556,29.692739224973224],[116.34952647398993,29.692787224205727],[116.34984247345918,29.692618227538798],[116.3500344739784,29.69194324235792],[116.35040147350115,29.691879243620214],[116.35077547359485,29.692052240131268],[116.351737474042,29.693433210385674],[116.35308147408112,29.693330212720042],[116.35324447338952,29.693138216690524],[116.35324047409017,29.692447231307014],[116.35352447377235,29.692167237245535],[116.35444947351169,29.692641227169073],[116.35538947421811,29.692565229241932],[116.35715047400912,29.6917072472699],[116.35781547345768,29.691712247098398],[116.35915147399895,29.69222623602057],[116.35988947414074,29.692280234946086],[116.3605124737564,29.69251722992139],[116.36102947396502,29.693047218325013],[116.36122347413362,29.693368211431807],[116.36226347350055,29.69400419757029],[116.36297047368011,29.69415019498734],[116.36335447381971,29.694034197402242],[116.36366947346387,29.694140194799523],[116.3640574738011,29.694677183712233],[116.36585747394979,29.69459918495808],[116.36637647380842,29.694699183239756],[116.3682394737054,29.69655814240089],[116.36851147369192,29.6966641402565],[116.36865647345691,29.696516143383388],[116.36865847400513,29.69626414890104],[116.3690094736345,29.69606515340736],[116.3696044736611,29.696128152214108],[116.37047147367453,29.695677162058807],[116.37052947340085,29.69564416231906],[116.37322647369848,29.698912091392202],[116.37369147402786,29.701023046283154],[116.373909473587,29.702764007944488],[116.37568047342333,29.70276700814055],[116.37600247363847,29.70300700274779],[116.37626347375415,29.703386994466033],[116.37675747349846,29.703434994074886],[116.37706547347013,29.703228998070877],[116.37725647416434,29.7027250093822],[116.37712447392015,29.702048023557897],[116.37674447397895,29.701325039494044],[116.37670447379607,29.701087044670185],[116.37691047366044,29.70079805053274],[116.37742347367151,29.700445058380776],[116.37771547374966,29.700135065202037],[116.37789347402492,29.700158064656502],[116.3781984736233,29.700442058904688],[116.37856447421944,29.70042905908243],[116.37893247356662,29.70156803387744],[116.37929647361446,29.701956025888986],[116.37984747415832,29.70231601815093],[116.38011147374895,29.702384016232802],[116.38015147393173,29.702801007440023],[116.37995947341248,29.703527991504068],[116.381537473803,29.704277975845162],[116.3824314735803,29.704341974491534],[116.38391347371176,29.704178978054856],[116.38494447375649,29.704199977528717],[116.38580247354876,29.70438297306417],[116.38755047381893,29.70433997389425],[116.38827647336673,29.70446597123092],[116.3898694738271,29.702258019442343],[116.39018547419471,29.701959026141243],[116.39056947343589,29.701978025414654],[116.39067747339088,29.702039023751823],[116.39080347378739,29.702366016622285],[116.39096047414617,29.702496013836157],[116.39229647378917,29.703001003220056],[116.39247147369116,29.703327996079935],[116.39265847418719,29.703354995293047],[116.3929354741967,29.70315000022464],[116.39349647388813,29.703238998194507],[116.39409347356464,29.703198998707627],[116.39424547390061,29.703131000398606],[116.39426647381714,29.70290800532112],[116.39404447405967,29.702065023772594],[116.39385947411188,29.70176302967552],[116.3938604739369,29.7015570341427],[116.39354847376758,29.70106704494856],[116.39301447384089,29.699746073661334],[116.39319447376609,29.699369081726747],[116.39434547346202,29.69784711491824],[116.3944364736988,29.69743512375601],[116.39373347371753,29.69645314491032],[116.39339547360933,29.695306169806123],[116.3933614741728,29.694383189491933],[116.39353447352723,29.693507208536285],[116.3941344735775,29.69181024517335],[116.39417047356292,29.6908052675113],[116.39445747361839,29.69012028204808],[116.39473047343003,29.689684291238873],[116.39391647401865,29.689523295332574],[116.39332147399205,29.689316299215132],[116.39243147351462,29.688597315126867],[116.39219747406162,29.687863330527875],[116.39215847370384,29.687151346423178],[116.3918294738162,29.686440361661532],[116.3919944736728,29.686095369022542],[116.3919944736729,29.685908373331582],[116.39169947412032,29.685564380920354],[116.3904464734195,29.685400383947513],[116.3901654741105,29.6852503874367],[116.38988247425371,29.684412405417106],[116.3891964739911,29.682954437373965],[116.38915447415849,29.682566445345717],[116.38934647377928,29.68200345754561],[116.38930347412165,29.681910459714594],[116.38842847371274,29.68154046781669],[116.38753147356263,29.68082548334072],[116.38711047361343,29.680235495979126],[116.38648447362482,29.67982550473218],[116.38552647337558,29.678530532670646],[116.38504547405022,29.67805354317278],[116.38458647356795,29.6773085595258],[116.38340247426112,29.67636957936717],[116.38205047382621,29.676094585600648],[116.38131447423271,29.6758555905223],[116.38054847360351,29.67588559030168],[116.37990647372133,29.675441599322657],[116.3793934737105,29.6752906029641],[116.3783264736814,29.673898632714867],[116.37734847423873,29.673307645453328],[116.37699747371146,29.672633659996688],[116.37704047426774,29.67186667695229],[116.37691147349845,29.670944696670023],[116.37610347393547,29.66941173006231],[116.37585347369088,29.668024759841565],[116.3754534736583,29.666900784294466],[116.37513647346617,29.666373795908385],[116.37485747380701,29.66622679883101],[116.37404147384753,29.66598680380885],[116.37280747341373,29.664971825594694],[116.37259947389973,29.664703831339523],[116.37262447401417,29.66441083826039],[116.37300547378088,29.66395284757555],[116.37310747388823,29.663688853456083],[116.37318947390446,29.66262787658274],[116.37293547346155,29.66191189194639],[116.37084647360815,29.661460902043018],[116.37056547340084,29.661345904158217],[116.37041347396332,29.661139908529396],[116.37014947347477,29.66035292596939],[116.36954747377558,29.659928935277836],[116.36946047373718,29.659395946431538],[116.3688774734063,29.65880795898423],[116.36797147393362,29.6581829725108],[116.36787647349949,29.657322991413807],[116.36757947339898,29.656426010634497],[116.36764047349848,29.65613901690832],[116.36857247380912,29.655913021373692],[116.36957147406682,29.655832023737187],[116.36991947422133,29.65569402619215],[116.37025947398004,29.655483030637146],[116.37038647420171,29.655306035156197],[116.37054147401275,29.654424053932352],[116.37057347380015,29.653641070496214],[116.37072947343589,29.65330407802281],[116.37122247425391,29.652676091596007],[116.3717694737019,29.652245101031372],[116.37219047365159,29.651617114241994],[116.37227347349236,29.65135711998122],[116.3722084740936,29.6508271319718],[116.3724314736765,29.650437140000484],[116.37248947340295,29.65009914766165],[116.37268747376989,29.649643157552863],[116.37295447373363,29.649316164150047],[116.37345647387401,29.64901117061458],[116.37432947373492,29.649144168358497],[116.37528047341388,29.64892717265582],[116.3762384736639,29.6483401850245],[116.3766804735298,29.648190188670103],[116.37718347349497,29.648137189578133],[116.3773594741203,29.648300186334325],[116.37735447409727,29.64860117935715],[116.37721847365475,29.648943172354823],[116.37732947398271,29.64917516760587],[116.37748347396843,29.649216166809136],[116.37822347376006,29.64909016892323],[116.37891647369584,29.649591158537216],[116.37912647375806,29.64961015755885],[116.37959447356364,29.648521181387654],[116.37973047400635,29.647848196247292],[116.37964447379281,29.647466204406754],[116.37973647385446,29.64710921197123],[116.37996947348314,29.646685220913977],[116.37992047397782,29.646303229344753],[116.37999047339976,29.646047235058564],[116.38058547342685,29.64515325406739],[116.38095047419822,29.64484326059587],[116.38121847398686,29.644721263180955],[116.38199147339053,29.64447226885647],[116.38289147391424,29.643926280808103],[116.38311847369492,29.643922281077145],[116.38339147350631,29.644075277146595],[116.38381847420162,29.64454226727707],[116.38416947383078,29.64469826432749],[116.38443447414443,29.645153254080935],[116.38464647385642,29.64531525087013],[116.38514747417176,29.64540824896829],[116.38623347356983,29.64516325368449],[116.38638647373067,29.64525325235782],[116.38658347427227,29.64564024378295],[116.38751347403435,29.646290229573577],[116.3880444735886,29.64634722849656],[116.38830047368167,29.646203231366428],[116.38857147384321,29.64628622993947],[116.3889514737848,29.646289229474007],[116.39006747421848,29.64591023751222],[116.39042947371848,29.645553245805516],[116.3904064741524,29.64520625320519],[116.38940147404752,29.644041278321748],[116.38885447370147,29.64395328038077],[116.3875044738145,29.64403827871487],[116.38716147368294,29.643903280996945],[116.38689047352152,29.643416291487537],[116.38687947365138,29.642292315875128],[116.38514447380048,29.641338336825047],[116.38471847382834,29.640967344657444],[116.38474147339468,29.640704350517385],[116.3851034737931,29.640208361229426],[116.3855374741615,29.63982136922755],[116.38615847412755,29.63947637673879],[116.38676347420024,29.63895238814814],[116.38770647348328,29.638431399722457],[116.38786947369017,29.63780441283346],[116.38821047417217,29.637341422680077],[116.38863847379446,29.636932431712633],[116.39081647423542,29.63563445969561],[116.39194847366426,29.63535546617949],[116.39347147380374,29.634763478751395],[116.39529447351872,29.63447948483858],[116.39686547423698,29.634077493204178],[116.39719447412499,29.633918496978104],[116.3976824740219,29.63314651358651],[116.39844247390528,29.632474528212267],[116.39844047425554,29.632312531847592],[116.39789347390962,29.631935540082747],[116.39780547404614,29.631792542891603],[116.39796947407767,29.6317465439383],[116.39834647364613,29.63182054204273],[116.39875147370205,29.63174654394105],[116.39939747378226,29.631927539671775],[116.39989747427278,29.63174954391142],[116.40022847381056,29.6317395437641],[116.40067347404951,29.631551548285074],[116.40159547341592,29.631600547302032],[116.40287347423123,29.63142455069041],[116.40287847425412,29.631352552021593],[116.40232247368736,29.63101455964141],[116.40190447411112,29.630608568746574],[116.40171347341723,29.630350573855686],[116.4015174735989,29.62987758423974],[116.39912547379704,29.628994603277874],[116.39800047404125,29.628469614525134],[116.39750147427432,29.627697631536527],[116.39713847405139,29.62737463831013],[116.3970124736549,29.62697664683163],[116.39658047383486,29.62687764866841],[116.39541047387324,29.62624266238601],[116.395245474017,29.625825671520168],[116.3951634740018,29.624625697863113],[116.39499547377237,29.624451701417343],[116.39488047414477,29.624181707172983],[116.39440947396686,29.623788715653497],[116.39217747399874,29.622320747291567],[116.3907264738298,29.62164876153997],[116.3900804737498,29.62108277384993],[116.38959147402849,29.620765781089453],[116.38949647359398,29.620615784269038],[116.39011447408534,29.620195793236643],[116.39066947392953,29.619215814639684],[116.3912464735148,29.618619826901718],[116.38831247428722,29.619554807135017],[116.38749347395458,29.619486808492255],[116.38702547414924,29.620137794757657],[116.38495047364103,29.620189793378525],[116.38439547379724,29.62027079157656],[116.38348447340286,29.62085577889665],[116.38321747343912,29.621106773751837],[116.38292347371099,29.62175875927226],[116.38277947377101,29.621715760687103],[116.38256547351097,29.6212087716143],[116.38234847377605,29.62118677163877],[116.38196147416178,29.621331768968926],[116.38179347393232,29.621183772136852],[116.38104547374482,29.621158772653224],[116.38090147380488,29.620945776635914]]]},properties:{name:"付垅乡","fill-opacity":0,"stroke-opacity":1,stroke:"#ff0000"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[116.21990747386872,29.53946953229305],[116.21956547356199,29.539465532324588],[116.21885347425848,29.537919565954894],[116.21880747422784,29.537544573920982],[116.21886647378007,29.53532962141244],[116.21862647358091,29.534581637145475],[116.21807947413318,29.534487639580025],[116.21788847433746,29.53453263868159],[116.21782447386485,29.53497462909455],[116.21811347356955,29.535517617228923],[116.21819847395821,29.53592860837265],[116.21791547410088,29.53624160182048],[116.2175604742736,29.536446597485423],[116.21743247422714,29.536386598510518],[116.21686647361484,29.535531616874255],[116.21666847414653,29.53537062078464],[116.21605847405128,29.535317621790572],[116.21588847417202,29.535175624840722],[116.21577147399636,29.534823632489566],[116.215751473905,29.534437640632675],[116.21606247424994,29.533626657999445],[116.21621847388631,29.531884695758507],[116.21606647355054,29.531383705991626],[116.21568547378436,29.530921716335687],[116.21547147352416,29.530853717374956],[116.2146614743106,29.530964715306027],[116.21406347391074,29.53129070825706],[116.21362247386995,29.531048713826834],[116.21348847397564,29.531048713826376],[116.2133474735103,29.531238709151687],[116.21308847394226,29.53194169445875],[116.21251747420465,29.53276667656661],[116.21232947388371,29.5327136777726],[116.21228047347999,29.532615679797654],[116.21229547354878,29.532115690199664],[116.21217147370035,29.531988693258953],[116.2110484735939,29.532418683888167],[116.21072947375177,29.532380684668492],[116.21037647357434,29.532476682747856],[116.21026647396955,29.532402684463023],[116.21026447431979,29.532239687955872],[116.21070747401065,29.531844696185537],[116.21104247374645,29.531699699235624],[116.21119147370948,29.53144370479076],[116.21113247415833,29.53127270850019],[116.21025647392474,29.53020973137626],[116.21028347368902,29.529967736706173],[116.21055447385072,29.529787740651276],[116.21060547390438,29.529680742561986],[116.21061747360005,29.52940574869881],[116.20957147348695,29.529058756667883],[116.20897547363545,29.528749763263562],[116.20894047347556,29.52820077491111],[116.20974447373968,29.528020778840283],[116.2098524736948,29.52790678087509],[116.20983847434943,29.52775878459981],[116.20966547409722,29.52758278817648],[116.20920947398773,29.527364793025107],[116.20737947370213,29.526911802857008],[116.20759447378748,29.526335814927887],[116.20745447404555,29.52604482092231],[116.20711747376178,29.525759827625002],[116.20720547362565,29.525004843163302],[116.20760047363606,29.52448285507737],[116.2073924741222,29.523949866216338],[116.20734447354347,29.523550875087388],[116.20750547410051,29.522972887254365],[116.20769647389633,29.522585895742345],[116.2076054736599,29.522314901216152],[116.20725547385568,29.52205290704887],[116.20704347414365,29.5219899080305],[116.2067974740962,29.52240789937618],[116.20618347380292,29.52240389951359],[116.20607747349779,29.52234490057708],[116.20633247376634,29.521319922922704],[116.20626947401728,29.520945930880174],[116.20598647416016,29.520877932248588],[116.20546747430133,29.521095927304202],[116.20514947428406,29.521145926583756],[116.20471647374085,29.52099792979668],[116.20412947411026,29.520611938332287],[116.20396147388088,29.520412942139828],[116.2035694742444,29.51893897375083],[116.20279747376735,29.519051971853873],[116.20220047409099,29.518822976098964],[116.2020534737779,29.518842976106573],[116.20120847350576,29.519292966252248],[116.20093647351923,29.519331965496114],[116.20028747396424,29.519347965420152],[116.1993524741788,29.519672958487707],[116.19849247383826,29.519770955709383],[116.19812247394236,29.519959952097828],[116.19761347412913,29.52052393978236],[116.19740447389175,29.520600938301513],[116.19691147397242,29.520357943522693],[116.19655847379506,29.520329943928147],[116.19633347366418,29.520391942625555],[116.19535847369536,29.52173991342431],[116.19508647370883,29.52182791167451],[116.19445047367437,29.521662914986294],[116.19322047433661,29.521077928045607],[116.19279347364126,29.520691936105255],[116.19200947346883,29.520454941059526],[116.19178947425925,29.520238945765918],[116.19123947354048,29.5193729642911],[116.19043747382489,29.51873097831425],[116.18992847401218,29.51812099163566],[116.18874347398184,29.51787299651709],[116.18804447419852,29.516853018804753],[116.1878824738169,29.51673702111117],[116.18699947391015,29.516668022949585],[116.18532547415809,29.51704901470295],[116.18465047376552,29.516919017353484],[116.18375447433863,29.516252031775196],[116.18347847415438,29.51573604288525],[116.18211747349882,29.514949059778434],[116.18198147395472,29.51496405899064],[116.18168047365576,29.515249052988462],[116.18123947361462,29.515785041844385],[116.18108747417699,29.515815040800874],[116.18085947367308,29.51572504312061],[116.18001347357671,29.514807062371947],[116.1798554742916,29.514105077455064],[116.1795994741989,29.513499090468233],[116.1794514740609,29.51334009421024],[116.17917047385365,29.513268095718576],[116.17898047388286,29.51312109899874],[116.17853247416969,29.51234811561868],[116.1784524738038,29.512091120803817],[116.17852147429956,29.511088143005846],[116.17828547429826,29.510465156285203],[116.17760647370774,29.51030015983291],[116.1775104743468,29.509994165889296],[116.17701147368167,29.509070186135755],[116.17643547392176,29.50856619703495],[116.17406347421107,29.508493198360267],[116.1736354736906,29.50855819699177],[116.17340347388695,29.508675194581475],[116.1732324741827,29.508886190020803],[116.17303647436387,29.50942917824131],[116.17228047377994,29.510602153287287],[116.17199847374758,29.510824148126165],[116.17141247394156,29.51109114262526],[116.17133247357549,29.51137013653069],[116.17142147416223,29.511580131949387],[116.17139847369742,29.512198118708458],[116.17166847403392,29.512647108831754],[116.17184147428604,29.513194097429515],[116.171836474263,29.513542089784135],[116.17174247365328,29.513742085270803],[116.17177647398837,29.513890082505576],[116.17200147411916,29.514137077366954],[116.17292847350826,29.514754063525437],[116.17306547377541,29.515060057150926],[116.17348847427274,29.515494047954785],[116.17375147403844,29.51558204616637],[116.17429047398863,29.515554046816995],[116.17445547384516,29.5153720504543],[116.17444147360177,29.514571067445335],[116.17492847367382,29.513669087221345],[116.17513147406346,29.51352009058855],[116.17542447396636,29.51357208941862],[116.17606147382553,29.514290074069425],[116.17619947391775,29.5143420725034],[116.17662447406515,29.514308073712613],[116.17702147372502,29.514604067093344],[116.17700647365629,29.514767063872753],[116.17678947392127,29.514959059756215],[116.17645847348517,29.515003058320797],[116.17595347387021,29.51495505959842],[116.17589047412096,29.51504305749584],[116.17623747355204,29.515583046012193],[116.17618847404646,29.51582304102518],[116.1762404739249,29.515918038568397],[116.17670147405728,29.516018036751507],[116.17691647414256,29.51566404451239],[116.1777234738814,29.515462048459227],[116.17788547426305,29.515488048160478],[116.17800047389069,29.515605045558967],[116.17809647414997,29.516119034670833],[116.17851347390106,29.516891017568767],[116.17851047352787,29.51722201042046],[116.17827647407427,29.51773799954933],[116.17811447369255,29.51782299792687],[116.17720747349648,29.517595003115545],[116.17656547361409,29.517838997304665],[116.1763104742442,29.518042992931345],[116.1750934735287,29.517246010015743],[116.17480547364868,29.517168012247357],[116.17421947384277,29.517237010062892],[116.1738714736885,29.516841019296244],[116.17340747408146,29.516599023914548],[116.17285647353741,29.516578024415416],[116.17206547369211,29.516774020071246],[116.17147447386338,29.516775020676263],[116.17045647423683,29.518149990801685],[116.16902347361075,29.51868797953694],[116.16830847393311,29.519601959500285],[116.16817647368829,29.520332943980492],[116.16762347349436,29.52042694218888],[116.16629647407174,29.52105392847065],[116.16620047381231,29.520977930078935],[116.16614247408612,29.52070993607737],[116.16604747365156,29.520691936011136],[116.16563647374768,29.521188925665637],[116.16539747427136,29.52133492261047],[116.16513647415567,29.520989929825035],[116.164730474275,29.520630937279332],[116.16470247378798,29.519623958936144],[116.16465747358232,29.519329965768318],[116.16453947358163,29.51913996918129],[116.16433447354231,29.51903697154836],[116.16341147435085,29.519207968194166],[116.1631014738313,29.518959973397415],[116.16293147395203,29.5189439734091],[116.1601544741845,29.52090393117825],[116.15977247369409,29.522446898036584],[116.1598414741893,29.522680893021615],[116.16015447418359,29.52290188818006],[116.16023847384909,29.523123884180944],[116.16004647422791,29.524498854021854],[116.15943547430722,29.52560283039864],[116.15975247360096,29.526302815038246],[116.159746473753,29.526801804724016],[116.15919947430473,29.527709784999814],[116.1584904735766,29.528519767687573],[116.15774847413498,29.52889975966443],[116.15760847349465,29.528870760383978],[116.1575124741336,29.528689764231384],[116.1572894736526,29.528539767337964],[116.15708347378852,29.528047777969206],[116.156851473985,29.527975779781112],[116.15669347380123,29.528076777483736],[116.1564584736244,29.528590766553638],[116.15617047374428,29.52863076504809],[116.15606347361414,29.52883976089647],[116.15587747384126,29.528980757656708],[116.1554854742041,29.529077755540232],[116.1551964736009,29.528881760265058],[116.15517847405775,29.528413770300375],[116.15578247430604,29.526672807114206],[116.15582947416198,29.52604782072339],[116.155762474215,29.525692828659633],[116.1543894738649,29.522664893603128],[116.15291747378038,29.520148947975425],[116.15230647386049,29.51940496399129],[116.15209247360038,29.519225967702525],[116.15189547395688,29.5191699686627],[116.15077347367556,29.519359964407364],[116.15045647348312,29.51949296192153],[116.15028247430408,29.51968895740577],[116.15003547353328,29.520457941060354],[116.1498444737375,29.52063193701418],[116.14821447346797,29.521118926790532],[116.14588147411496,29.521699914375155],[116.14569747399185,29.522013907854465],[116.14557847416563,29.523181882849283],[116.14532247407254,29.523445876736478],[116.14439247431012,29.523560874012375],[116.14358747422115,29.523567873880456],[116.14333747397592,29.523667872318097],[116.14228947421238,29.524605852058468],[116.14183547375225,29.525566831160983],[116.14136947359685,29.525887824073465],[116.14117147412779,29.527480790019503],[116.14092147388237,29.527805782759557],[116.14075047417818,29.527846782062387],[116.13985747422582,29.52761978688889],[116.13934947423797,29.527125797506628],[116.13927947391791,29.526893802873246],[116.13867247419572,29.526778805472265],[116.13681147394774,29.5267328063133],[116.1361294738824,29.526786804838018],[116.1349984742784,29.527276794638922],[116.13463447423023,29.527572788381857],[116.13437147356605,29.527896781110883],[116.13350847375014,29.52948174674088],[116.13313647420408,29.530491725300564],[116.13309447347216,29.532379684724276],[116.13319747430202,29.533722655387336],[116.13305347346294,29.53551361680605],[116.13292047429022,29.539303535557732],[116.13301947402252,29.543515445179082],[116.13263147368323,29.547609357092146],[116.13227947422854,29.548923328870476],[116.13223247347435,29.54950931601299],[116.13191747382957,29.550704290256324],[116.13153947353753,29.551467274070955],[116.1309154740959,29.55360322817359],[116.13035847370348,29.554914199474297],[116.1299654742412,29.55548418736444],[116.12957547425358,29.556365168383213],[116.12822647419054,29.558745116832135],[116.12795047400574,29.55943810202504],[116.12688647434827,29.56135606109658],[116.12642747386519,29.562413037963697],[116.12568447369974,29.56421699915766],[116.12533447389488,29.56544797274983],[116.12419347424401,29.568455907521933],[116.12393047357948,29.569656882414645],[116.12356947390407,29.57071785943246],[116.1225384738577,29.574464778362877],[116.12189147395078,29.578349694731514],[116.12176347390334,29.580537647890544],[116.12187147385717,29.583236589126926],[116.12244747361537,29.587596495446117],[116.12335047361186,29.591483411530852],[116.12391547350043,29.59348536858064],[116.12513447386448,29.597206288523463],[116.12534547375127,29.59810526907655],[116.12613947396862,29.600150224366097],[116.12651147351393,29.60088320924683],[116.12715947414192,29.60188018710616],[116.12978647411936,29.605201115647326],[116.13052747373537,29.606341091360513],[116.13134147404475,29.607187072944704],[116.132615473763,29.608697040472403],[116.13396747419753,29.609945013717855],[116.13457947394222,29.61080799469949],[116.13530947368761,29.61184297263596],[116.13676947407669,29.614224921325217],[116.13779247372479,29.615738888160298],[116.13905047354936,29.61765584690583],[116.13967647353749,29.61911981534042],[116.14055347359572,29.620796779595818],[116.14135147401143,29.621940754480345],[116.14194247383956,29.623331724654378],[116.1437844738212,29.62288273439361],[116.14519047378465,29.62273473750219],[116.1456574737649,29.62260374070274],[116.16332147389784,29.613750931431955],[116.16375947356579,29.613530936276067],[116.17210247346196,29.60826104999364],[116.17930647425602,29.604703126444896],[116.18620047363176,29.601901187051748],[116.18650647395351,29.60182118869764],[116.18680847407722,29.60186118788426],[116.18783947412173,29.602308178546874],[116.18978747350955,29.603430153996037],[116.19157447413696,29.605165116931616],[116.1925194739675,29.606288092333838],[116.19343147418623,29.606977078004213],[116.19603747424821,29.608045055030768],[116.19682947391814,29.60847404556784],[116.19864247358693,29.609240029285637],[116.19973547355573,29.609668019738102],[116.20047047422277,29.609742018437885],[116.20048247391964,29.606726083133555],[116.20055447388954,29.606942078663423],[116.20072247411895,29.607124074921412],[116.20087847375451,29.607184073272798],[116.20104147396114,29.607132074184037],[116.2011084739084,29.606824081070883],[116.2010104739994,29.6061550958307],[116.20125347367379,29.605768103453826],[116.20140347346185,29.605239115063068],[116.20157347423954,29.605051119349145],[116.20160347347854,29.604791125163807],[116.20149647424687,29.60454413002727],[116.20167947364672,29.604333135091892],[116.20167047342596,29.604150138741343],[116.20451747351248,29.605021119553932],[116.20478147400158,29.604597129419275],[116.20548147361062,29.603746147688707],[116.20533447419594,29.603416154438225],[116.205406474166,29.603301157436473],[116.20610647377497,29.602611171891784],[116.20666847418987,29.602205180607417],[116.20661947378623,29.601814188850682],[116.20607547381321,29.6017001913484],[116.20602647430778,29.601617193532398],[116.20619547346402,29.60120420219047],[116.20633347355627,29.60117720289848],[116.20660347389293,29.601291200209996],[116.20703147351507,29.601250201029163],[116.20722147348594,29.60106520500741],[116.20754947354902,29.60090420869635],[116.20764747345824,29.601052205621812],[116.20755647411981,29.601407197714355],[116.20763847413544,29.601736190742855],[116.2077494735651,29.601817188931022],[116.20798647428985,29.601839188447723],[116.20823047378906,29.601681191890233],[116.20812447348408,29.601169203170883],[116.20774147406811,29.600530216713263],[116.20812447348466,29.59985523162987],[116.20990047424223,29.59968223517714],[116.21003047393855,29.599789232557466],[116.21035147343028,29.600341221041663],[116.21123847353496,29.600321221543076],[116.21151747409247,29.60041721911598],[116.21176447396454,29.600702212736852],[116.21212147344163,29.600446218952403],[116.21244847367979,29.600380220261183],[116.21365347380154,29.600848209634663],[116.21388547360512,29.600830210565146],[116.21400147395612,29.60068921331094],[116.21416847346265,29.600029227596284],[116.21373047379493,29.59973423421615],[116.21356047391586,29.5992522441733],[116.21334747348065,29.59898824992402],[116.21334647365583,29.59883625313504],[116.21392547378919,29.598386263314975],[116.21492047384912,29.597768276232284],[116.21575347352729,29.597424284070804],[116.21595347354393,29.597161289536434],[116.21665247422591,29.5972522871613],[116.21716747388676,29.596991293367665],[116.21819247408374,29.59690629517727],[116.21847247356781,29.59702529247358],[116.21872247381305,29.597037292568054],[116.21930547414426,29.596806297352124],[116.22026647386886,29.59661730094561],[116.22100347418576,29.596637301184327],[116.22172647425877,29.59691429448066],[116.22185647395524,29.59661930136552],[116.22197547378097,29.59656830211387],[116.22346947360762,29.597131290534733],[116.22435847426037,29.59720528828072],[116.22504347380043,29.597160289757184],[116.22538247373424,29.5969262946003],[116.22559647399454,29.596654300421644],[116.2257244740412,29.59633630757789],[116.22584247404228,29.59563932246542],[116.22600447352582,29.5951693326998],[116.22574747360805,29.594879339117657],[116.2264434739171,29.594679343249627],[116.2270764735787,29.594480347603856],[116.22772947422992,29.594658343574896],[116.22814547415648,29.59468934317575],[116.2287494735058,29.594371349607254],[116.22917147417826,29.5948083399654],[116.22941747422544,29.594964336689117],[116.22923747430035,29.595127333552362],[116.22931647394282,29.595672321427493],[116.22957247403573,29.595875317145566],[116.22989547407593,29.5957913193994],[116.23003747346775,29.595969315398865],[116.2299264740379,29.59617131069692],[116.22956447363958,29.59643330486895],[116.22892647395521,29.596365307034638],[116.22874147400728,29.596537303115774],[116.22869947417439,29.596768298168506],[116.22876847377128,29.596884295403843],[116.2292884734548,29.59707129169104],[116.22959747414944,29.597355285583973],[116.22982847412808,29.59736728485804],[116.23006547395461,29.5971792893112],[116.23021447391748,29.59721828818421],[116.23030147395615,29.597140289643267],[116.23039047364477,29.596679299747517],[116.23051347366847,29.596561302642755],[116.23081347414234,29.596648300761156],[116.23124347431248,29.59694229397999],[116.23139047372726,29.596967293999256],[116.23169047420137,29.596496303573616],[116.23204747367845,29.596404306232884],[116.23205847354915,29.596294308146156],[116.23228047420531,29.59612831214207],[116.23244147386377,29.596107311983932],[116.2327244737209,29.596289308268087],[116.23294047363098,29.596286308809137],[116.23315647354114,29.595935315952573],[116.23333847401433,29.59587131708166],[116.23340747361142,29.595577323867666],[116.23355447392451,29.595445326317318],[116.2337094737352,29.59552832452579],[116.2339764736986,29.596131311612382],[116.2343444739446,29.596059313508395],[116.23468147422837,29.596247309582424],[116.23512947394205,29.596059313511173],[116.23535747354765,29.59607531300855],[116.23571647357271,29.596238309640803],[116.23620847366738,29.59597531513982],[116.23629447388112,29.595875317169227],[116.23649947392086,29.59510533416034],[116.23662247394452,29.595006335941168],[116.2367344740975,29.595011335885488],[116.2370854737266,29.595343328956037],[116.23715947424465,29.59557132413797],[116.2372904737659,29.59554832420932],[116.2373564738882,29.595456326002974],[116.2373374736217,29.595304329359532],[116.23716747374264,29.59461734407304],[116.23702347380276,29.594356349708566],[116.23707747422947,29.594298351216683],[116.2373524736907,29.594317351292958],[116.23734147382025,29.593862360839157],[116.23726647347726,29.593658365130786],[116.23757747382187,29.593592366684874],[116.2376014741114,29.593483368504202],[116.23757247379913,29.593328372464907],[116.23745447379844,29.593217374297893],[116.23748347411075,29.593094377010317],[116.23773247363287,29.592914380919698],[116.23804547362752,29.592355393402823],[116.2381794735218,29.592333393381264],[116.2383114737662,29.592526389435008],[116.23834247372818,29.59286138243242],[116.23855947346301,29.59302737834588],[116.23868547385948,29.593594366381932],[116.23881847392883,29.59359536622899],[116.23873447426351,29.59307537749017],[116.23876347367776,29.592519389654985],[116.23903547366423,29.592632387521594],[116.23911647385523,29.592352393048824],[116.23938747401685,29.59216539739064],[116.2394884742993,29.591969401840245],[116.23963147351608,29.591944402145792],[116.2397074736841,29.59184840432198],[116.23960947377505,29.591355414756855],[116.23938147416965,29.590949423470903],[116.23927247349138,29.59098442291826],[116.23933147394081,29.591199417920578],[116.23922047361275,29.591227417409975],[116.23916547425951,29.591141419175326],[116.23916047423677,29.59091342413705],[116.23892647388519,29.59059043099952],[116.23889747357303,29.59025943857307],[116.23903047364233,29.590348436414946],[116.2391924740239,29.59066242988416],[116.2394414735459,29.590721428780103],[116.23914547416847,29.590020443622354],[116.23931947424575,29.59009444189487],[116.23950747366824,29.590464434003138],[116.24004147359557,29.590320437465945],[116.24016447361916,29.590443434230068],[116.24019447375647,29.590271437913742],[116.24027047392445,29.590232438699417],[116.23996047430367,29.588983466134216],[116.23977647418057,29.58916146242645],[116.2396834742942,29.5890894632525],[116.2397334736247,29.588869468193494],[116.23961547362408,29.588486476260893],[116.23974647404377,29.588206482781658],[116.24044647365236,29.58828548110126],[116.24073647408069,29.588066485753956],[116.24106347431861,29.588335479956946],[116.24131247384064,29.58827448143133],[116.24178347401877,29.588290480601856],[116.2420134741723,29.588729471308923],[116.2430294741484,29.58877547036874],[116.24321147372316,29.589019465386087],[116.24319347417973,29.58920946107785],[116.24349747395316,29.589563453561418],[116.24366047415973,29.589604452807496],[116.24380847429774,29.589553453915507],[116.2441424742085,29.58966245165621],[116.2442604742093,29.58943945583998],[116.24445647402794,29.589341458199268],[116.24420047393518,29.588845469202067],[116.2437414734528,29.588392478863494],[116.24405147397255,29.588189482933338],[116.24489447369605,29.58883646938007],[116.2450444734838,29.588854469028654],[116.24546147413378,29.588543475093353],[116.24554047377654,29.588383479005007],[116.24595647370312,29.588262481874075],[116.24595947407627,29.587968487578667],[116.24604247391699,29.587886489304232],[116.24625747400191,29.588314480537907],[116.24639747374405,29.58826448167449],[116.24645647419364,29.588099484857413],[116.24651947394274,29.588266481473696],[116.24669147347187,29.588233482445556],[116.24669047364699,29.588120484340344],[116.24651947394287,29.587993487479608],[116.24662247387509,29.587809491265777],[116.24681847369348,29.588189482943086],[116.24709347405303,29.588285481124647],[116.247062474091,29.588085485462816],[116.2469054737322,29.587990486993508],[116.24686447372444,29.587640494864303],[116.24659547411107,29.587381500234425],[116.2466184736774,29.587203504707688],[116.24670947391401,29.587198504377064],[116.24671947395964,29.58729550262835],[116.24690547373244,29.587395500511153],[116.2472274739477,29.5873415015589],[116.24736147384226,29.586748514204025],[116.24714147373427,29.586750514032122],[116.24705647424373,29.58686351132757],[116.24693747351974,29.586827512098708],[116.24682547426524,29.58653651884007],[116.24670147351877,29.58560553913429],[116.24658547406615,29.585558539487604],[116.24646347386738,29.585619538093056],[116.24656847344906,29.58637752183008],[116.2462244734924,29.586575517918735],[116.24631847410215,29.5862635248512],[116.246137473454,29.586132527533728],[116.24596547392515,29.585585539052197],[116.24519047397368,29.58498955173574],[116.24467447358997,29.584420564684972],[116.24445547420534,29.584066572127877],[116.24476247345403,29.583174591125772],[116.24492947385868,29.582991595452135],[116.24555647367245,29.582813599215555],[116.24572047370407,29.5826216032899],[116.24575947406223,29.582416607553853],[116.24606547348554,29.58252860505983],[116.24627947374584,29.582333609498935],[116.24660347361088,29.582415607599497],[116.24677147384038,29.58236360902262],[116.24689247421443,29.581751622010152],[116.24681047419885,29.58144262877336],[116.24694647374304,29.58125963230307],[116.24722647412538,29.581466627980053],[116.2474604735788,29.581414628914516],[116.24733847427852,29.581177634047148],[116.2476184737627,29.58102063791352],[116.24766047359539,29.581212633760373],[116.24789147357403,29.58114863492579],[116.24795747369637,29.580951639098323],[116.24819047422318,29.580916640077795],[116.24828947395727,29.58106363666748],[116.24848447395102,29.580920639967566],[116.24851047389032,29.580803642374452],[116.24843447372241,29.580696644389803],[116.24849947401975,29.580669645077847],[116.24902847392414,29.580809642216078],[116.24904947384056,29.580715643903595],[116.24920047345331,29.580663645232175],[116.24958147411806,29.580720643776356],[116.24993547412011,29.58112363568202],[116.25018847384008,29.58120563398408],[116.25077647419413,29.581059636793185],[116.2508694740805,29.581105635439595],[116.25132547419011,29.580914640144343],[116.25203747349414,29.581303631720445],[116.25214647417232,29.58148662733058],[116.25219647350251,29.581827620040876],[116.25238147345044,29.58181462051923],[116.25245647379359,29.581728622075275],[116.25262047382505,29.581744622282507],[116.25295047353806,29.581353630130188],[116.25328247379909,29.581125635634145],[116.25353047349621,29.581072636422327],[116.2538294741452,29.581234633103815],[116.25398247430608,29.58119763346112],[116.25397047371241,29.580685644690373],[116.25379847418345,29.580297653056565],[116.25385147388693,29.5802686536806],[116.2540184742914,29.580428650135502],[116.25405847357611,29.580321652534927],[116.25380847422929,29.580033659209743],[116.25374147428228,29.57980666405764],[116.25390747396382,29.579411672261735],[116.25410447360733,29.57926067565665],[116.25425447429357,29.579025680402264],[116.25404947425429,29.578725687359654],[116.25406347359974,29.578649688574604],[116.25421547393572,29.57850869157197],[116.25457747343567,29.578393694303788],[116.25433347393663,29.578110700165674],[116.25436947392164,29.578038701701978],[116.25493647346075,29.578430693413633],[116.25517947403343,29.578215697771256],[116.25554847410429,29.578217697770526],[116.25562947429515,29.578284696896898],[116.25576547383923,29.578197698571547],[116.25572847402961,29.577627710729335],[116.25542147388283,29.577917704670686],[116.25528647416361,29.577955703954856],[116.25516047376702,29.577871705352187],[116.25491147424488,29.578108700167675],[116.25481947418342,29.578099700947917],[116.25499047388797,29.577206719549494],[116.2546774738938,29.576664731203746],[116.2540504740804,29.575944747221005],[116.25400247350163,29.575708752035755],[116.25410947363183,29.575457757468676],[116.25422947418078,29.575381759348904],[116.25438947401432,29.575436757696703],[116.25415547366246,29.575792750094404],[116.25442147380107,29.576073744440023],[116.25477547380336,29.57600474536855],[116.25522747371507,29.575735751897852],[116.25533747421832,29.575561755465873],[116.25546947356436,29.57577575048836],[116.2554894736557,29.576027745067233],[116.2557814737337,29.576163742315188],[116.25591547362808,29.57595474666045],[116.25641447429366,29.575670752695103],[116.25677047394579,29.575686752300722],[116.25705547345287,29.575489756752727],[116.25742947354674,29.575369759034967],[116.25767247411952,29.57470677400879],[116.25784147417397,29.57465077523024],[116.25805147423627,29.57439478019313],[116.25875147384494,29.57435278098438],[116.25890547383078,29.57426578317702],[116.25909247342868,29.573796793129034],[116.25876647391387,29.57369079557324],[116.25869047374599,29.573548798630235],[116.25882247399055,29.573273804577852],[116.25886647347333,29.57286681316157],[116.25902047345922,29.57261981877883],[116.25913147378732,29.57256182029522],[116.2592664735065,29.572606818852947],[116.25927747427532,29.572880813108117],[116.25948747343915,29.573172806721292],[116.25975147392809,29.573077809061576],[116.25995047411976,29.57290581284011],[116.25987047375389,29.572771815216566],[116.25990147371607,29.57266181793279],[116.25967447393555,29.572309825661844],[116.25996247381583,29.571712838029537],[116.26018347374874,29.571768836876384],[116.26040747405476,29.571563841759453],[116.2603964741842,29.571399845053044],[116.26021247406119,29.571461843686084],[116.26010147373313,29.571399845051996],[116.26005247422782,29.57109785108717],[116.26007747344386,29.570987853542352],[116.2602264743051,29.570939854832353],[116.26022347393189,29.571255847877293],[116.26042747414658,29.570919854972953],[116.26029247352915,29.570731859375293],[116.2601634736577,29.57069086027605],[116.26014647393946,29.57043286598439],[116.2602614735672,29.570331867628134],[116.26015847363513,29.570094873307394],[116.25988347417393,29.569908877117225],[116.2598184738767,29.56976187991148],[116.26019447362032,29.569711881234518],[116.260523473508,29.57022886979654],[116.26071847350157,29.570410866654726],[116.26078147414908,29.570396866367396],[116.26059747402633,29.569903877494692],[116.2602964737276,29.56949688577637],[116.26005047368066,29.568780901055547],[116.26009547388664,29.568467908365736],[116.25994047407619,29.568039917362576],[116.25992747365773,29.56725493445002],[116.26016547420764,29.566675947101828],[116.26018447357605,29.566210956652128],[116.2608604737936,29.566273955465814],[116.26095847370277,29.566460951433548],[116.26155147407958,29.56651095016085],[116.26167247355501,29.566611948432694],[116.2619774740519,29.56650095057555],[116.2623594736434,29.5662369558143],[116.26193747386931,29.565705967755637],[116.2619834739,29.565659968344136],[116.2623544736206,29.565974962164788],[116.26261247426174,29.566002960839466],[116.26284147369233,29.565864964510858],[116.26299347402829,29.565885963931038],[116.26311647405198,29.565719967135006],[116.26325847344417,29.565032982058156],[116.26309147393799,29.564898984926295],[116.26279947385977,29.56534297563639],[116.26278247414116,29.565635969290994],[116.26269147390462,29.565654968511236],[116.26251747382743,29.565513972112804],[116.26252847369832,29.564975983250964],[116.26231747381125,29.564734988332663],[116.26230247374272,29.56462199126985],[116.26211347359686,29.56454699294139],[116.26256747405671,29.564177000377686],[116.26284647371597,29.56416700056083],[116.26308547409036,29.564547992297822],[116.26331847371887,29.56447699445617],[116.26335547352885,29.564344996860175],[116.26329347360468,29.5641140018237],[116.26323147368043,29.563958005079716],[116.26305847432646,29.563913006574655],[116.26300547372479,29.563661011453792],[116.26284147369334,29.563540014378795],[116.26228547402478,29.563417016866417],[116.26188347344385,29.562923027368946],[116.26166847425704,29.562846029039317],[116.26153647401257,29.562912028056616],[116.26125647362973,29.56373700979428],[116.26114647402491,29.563764009727343],[116.26097547432083,29.56342801689941],[116.26081247411429,29.56332301876458],[116.26073647394614,29.563706010843887],[116.26016747385862,29.563998004417257],[116.2599614739943,29.564041003385757],[116.25990447409299,29.563824008073386],[116.25951647375554,29.563751009436213],[116.25940647415067,29.563814008218838],[116.25926247421053,29.56411600208676],[116.25915847355517,29.564071002871],[116.25883847388835,29.563495014892716],[116.25850147360454,29.56344101643628],[116.25835747366455,29.563345018850317],[116.2581274735109,29.56308802391203],[116.2579374735403,29.56269603280313],[116.2571484742435,29.562117045102546],[116.25671347405063,29.561533057170507],[116.2567114735026,29.561190065126016],[116.25666247399718,29.56105806792271],[116.25655247349404,29.56104606823903],[116.25636947409451,29.560466080285263],[116.25643247384386,29.560111087949437],[116.25639147383606,29.55996709108759],[116.25612447387259,29.559564099912667],[116.25546947357155,29.559340104619327],[116.2552464739889,29.559140108654486],[116.25459447406081,29.55914410862223],[116.25422147379206,29.558994112370783],[116.25430547345744,29.559338105024864],[116.25416847408846,29.559421103230914],[116.25398547379037,29.5594201030452],[116.25373547354519,29.559283105721768],[116.2531784740516,29.559311105467184],[116.25305447420298,29.5595141008635],[116.2530944734876,29.55968209728447],[116.25326147389202,29.559851093607346],[116.25285147381328,29.559852093786745],[116.25261247343886,29.559491101311597],[116.25231047421337,29.559562099531906],[116.25217847396897,29.559493101678864],[116.25203447402906,29.559277106159648],[116.25209347358042,29.558887114709293],[116.25198047360261,29.558731117707147],[116.25207947423526,29.558396124744515],[116.2518964739372,29.55843512453695],[116.25160947388206,29.558345126493542],[116.25153847373706,29.558094131746273],[116.25137047350763,29.558017132861682],[116.25123247431365,29.558096131360188],[116.2510004736118,29.558055132601076],[116.25086447406778,29.557938135080473],[116.25069947421133,29.557949134932684],[116.25066847424924,29.557841136752522],[116.25051347354028,29.557816137200227],[116.25035547425469,29.558211129081553],[116.2499474738257,29.558400124736515],[116.25003347403931,29.558608120585728],[116.2498714736575,29.558810116421853],[116.24987947405333,29.558982112427074],[116.25001047357452,29.559134109071422],[116.24999247403116,29.559210107698224],[116.2496824735115,29.559108109650282],[116.24937847373769,29.559610098951158],[116.24923247414789,29.559577099931268],[116.24912447419294,29.559377103654594],[116.24937347371508,29.559031111538037],[116.24937447354006,29.558887114699722],[116.24942047357085,29.558836115916996],[116.24957447355659,29.558869115178897],[116.24941247407334,29.558640119726597],[116.25007747352213,29.55814913012659],[116.25021847398737,29.558154130334007],[116.25036547430048,29.55805513259883],[116.2503564740797,29.557999133181518],[116.25020147426899,29.557974134449747],[116.25047747355534,29.557700140386753],[116.25052847360897,29.557562142872772],[116.2504804739285,29.557326147706288],[116.24998747400913,29.5573071484803],[116.24982947382543,29.55719115108202],[116.24965847412136,29.556894157096682],[116.24957647410561,29.556838158598488],[116.24936647404334,29.556864157820495],[116.24935847364723,29.55734414749875],[116.24922347392791,29.55763814111479],[116.24928047382919,29.557898135671245],[116.24916647402628,29.558017132853916],[116.249167473851,29.558452123931506],[116.2490754737895,29.558570121049602],[116.24907447396453,29.558762117390796],[116.24922847395023,29.55886711479651],[116.24919547343991,29.558998112328943],[116.24896547418437,29.559184108294197],[116.24884747418362,29.559188108262102],[116.24865347401503,29.558927113709302],[116.24862647425086,29.558839115705375],[116.24871347428957,29.558740117859827],[116.24862947372576,29.55853612227655],[116.24838147402876,29.558329126474504],[116.24826247420332,29.55780613752613],[116.24806047363857,29.557937134870834],[116.24802847385156,29.557881136169456],[116.24806447383679,29.55736614732786],[116.24796447427777,29.557322148436775],[116.24796147390474,29.557171151618437],[116.24814847350248,29.557088153126912],[116.24816447429448,29.55682515897962],[116.2479264737448,29.55683115868057],[116.24782347381272,29.556667162275247],[116.24786847401876,29.55616917328545],[116.24751847421463,29.555772181572433],[116.2473374735664,29.555708183021775],[116.24713547390004,29.555806180491288],[116.2474094735361,29.556438167300968],[116.24725147425052,29.556805159446956],[116.24724947370257,29.5564131674015],[116.24701647407433,29.555826180218062],[116.24691647361692,29.555857180021505],[116.24693847425645,29.555973177387944],[116.24684647419494,29.556016176647006],[116.24675747360835,29.55566418418846],[116.24622747387892,29.5558931785693],[116.2460644736724,29.55569618348004],[116.24585547433337,29.555628184772036],[116.24604047428156,29.555059197140306],[116.2458594736333,29.555010197663517],[116.24572847411196,29.555344190687208],[116.24560047406541,29.555383190095036],[116.24550147433122,29.555331190880327],[116.24557247357822,29.55486020152635],[116.24540047404913,29.554832202107747],[116.24524547423826,29.555254193015497],[116.24480847349703,29.555247192992084],[116.24492547367306,29.554761202905155],[116.24460247363297,29.554700204409166],[116.24471847398371,29.555103196230416],[116.24433547366912,29.555093196294443],[116.24415147354617,29.55499719780839],[116.24396747432152,29.554899200334358],[116.2439514735298,29.554624206294676],[116.2433604737014,29.553966220679143],[116.24281947410144,29.5537952241884],[116.24290847379008,29.553421231901524],[116.24286847360717,29.553308234686504],[116.24183647373772,29.552912242920335],[116.24142547383406,29.552841244713303],[116.24129847361247,29.552765245983977],[116.24104547389275,29.552372254420305],[116.24061947392059,29.552110259976036],[116.24047847345554,29.551411275293127],[116.24006747355203,29.551053283158375],[116.24005447403161,29.550926285779642],[116.24027647378959,29.550524294767065],[116.24032447347025,29.550276300174648],[116.24024547382776,29.549817309377346],[116.24003147356756,29.549756311023327],[116.23931647389017,29.55019530125713],[116.23873147390907,29.550380297521745],[116.23777847368221,29.550411296648463],[116.23639447346025,29.550164302050433],[116.23571347411816,29.550209301206085],[116.23506647421284,29.550370297888264],[116.2348224738153,29.550664291476945],[116.23430647432905,29.55205426114895],[116.23415147361999,29.552147259314083],[116.23381047403653,29.55209326104379],[116.23356547381422,29.551936264232857],[116.23292347393225,29.551151281210615],[116.2327014741745,29.550994284499286],[116.2316154738782,29.551088282341265],[116.23087947428454,29.55102128392464],[116.23070947350693,29.551028283457146],[116.23125047400572,29.549970305988694],[116.23060147355261,29.549476317166796],[116.23045647378771,29.549440317893044],[116.23024447407572,29.549191323479274],[116.22965747354675,29.548957328093266],[116.22920147433547,29.54913032474452],[116.22810747364329,29.549184323029976],[116.22796547425133,29.549134324325006],[116.22801947378001,29.548496337747142],[116.22779447364927,29.548180344617755],[116.22742347392867,29.547938349972405],[116.22705847405574,29.54786935121446],[116.22641047432556,29.54806934760324],[116.22624347392112,29.547801352707964],[116.22554147376445,29.547531358839105],[116.22598847365371,29.546269386154325],[116.22568547370518,29.545980392311204],[116.22554647378811,29.54570039818653],[116.22539647400004,29.546274386165507],[116.22494647373816,29.54664737801734],[116.2247994743233,29.5468783731321],[116.22469847404099,29.546909372554456],[116.224590474086,29.54680137429727],[116.2243324743432,29.546728375865154],[116.22388447373126,29.54678937448132],[116.22296247346635,29.547068369185833],[116.222358474117,29.547468360051063],[116.22193947381739,29.547534358953243],[116.22140047386716,29.54754335854985],[116.22101447407789,29.547470359871674],[116.21942247434212,29.54644738191911],[116.2193464741743,29.54621938676601],[116.21934147415158,29.54578839666955],[116.21916247405167,29.54538040515762],[116.21917247409746,29.545260407616787],[116.21936947374103,29.545007413318746],[116.21947347349828,29.544473424441552],[116.21977147432246,29.544231429520195],[116.21980747430774,29.54374144058496],[116.22030947354973,29.543615442958753],[116.22046147388579,29.543412447666203],[116.22075947381165,29.543214452131163],[116.2207004742605,29.54307445446122],[116.22046447425905,29.542917458489725],[116.2204074734594,29.542749461550486],[116.22047747377972,29.54247846790495],[116.2208554740717,29.54193347970553],[116.22097147352443,29.54164648513142],[116.2208144740641,29.541302493212733],[116.2209534739814,29.54097550012411],[116.22079147359977,29.540723505631224],[116.22107947347993,29.54055750891717],[116.22139247347427,29.540706505591487],[116.22156647355155,29.540599508113466],[116.22144447425121,29.540455510801745],[116.22155247420643,29.540031520653784],[116.22136647353534,29.539931522761744],[116.22130047431153,29.539699527022567],[116.22141147374138,29.53942853301727],[116.22185147395751,29.539091540166414],[116.22189147414072,29.538635550554492],[116.22180247355405,29.538375555680002],[116.22160247353762,29.538226559478808],[116.22126547415206,29.53820955979746],[116.22122447414417,29.538288558148658],[116.22150647417615,29.538920544301675],[116.22149147410747,29.539120539640553],[116.22133147427388,29.539223537925427],[116.22135747421306,29.539354535130443],[116.22121047389992,29.539557530755594],[116.22119847420419,29.53987252388854],[116.2213564734895,29.54006151945417],[116.2212174735722,29.54038751278077],[116.22084047400378,29.54030551416371],[116.22084147382874,29.540138517949487],[116.22071047430755,29.540010520546936],[116.22045947423744,29.53997252183568],[116.22029247383314,29.53942253305994],[116.21990747386872,29.53946953229305]]]},properties:{name:"舜德乡","fill-opacity":0,"stroke-opacity":1,stroke:"#ff0000"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[116.27532247400467,29.575207763161973],[116.27525747370748,29.574942768472827],[116.27488047413901,29.574826771013843],[116.27462047384824,29.57449877855799],[116.27461747347519,29.57437978047934],[116.27528047417213,29.574673774514906],[116.2758764740237,29.574711773460074],[116.27585447428265,29.5741297865582],[116.27619747351626,29.573459800880368],[116.27636547374621,29.572296825753934],[116.27637147359457,29.57100485323516],[116.2760364738593,29.569930876615132],[116.27605847360073,29.569770879931266],[116.27620947411184,29.56959688415854],[116.27646947350455,29.56946888656549],[116.27754147355725,29.569225892039643],[116.2779064734303,29.568938898407804],[116.27799447419223,29.568769901664076],[116.27789947375773,29.568574906091],[116.27729447368552,29.568183914496696],[116.27721047402005,29.567850921832285],[116.27723147393662,29.567433930160227],[116.27750247409836,29.567207935697613],[116.27755547380191,29.56700093969598],[116.27735847415875,29.566266955484277],[116.27735647361072,29.56602296094394],[116.27752747421341,29.56566296876878],[116.27752347401551,29.565479972605765],[116.27715947396769,29.56505898156478],[116.27693347401194,29.564956983953376],[116.2766124736216,29.564987983298234],[116.27573047353964,29.565298976358708],[116.27524147381823,29.56520197884679],[116.27494947374028,29.565013982761748],[116.274851473831,29.565048981826134],[116.27466747370785,29.56534597527615],[116.27426847349973,29.56543997305151],[116.2738444740756,29.565351975250326],[116.27332747386679,29.56508698126042],[116.27319947382041,29.56493398406645],[116.27324647367625,29.564473994085976],[116.27285047384134,29.56412200140336],[116.27274347371136,29.563844007821185],[116.27276747400086,29.56362101278775],[116.27293847370525,29.56328001953237],[116.27291247376601,29.56316402274176],[116.27235847374716,29.563240020679032],[116.2722334740738,29.563160022147184],[116.27233047415828,29.562815029854846],[116.2720114743163,29.562409038635366],[116.27213647399017,29.561421059870852],[116.27189247359283,29.561223064453273],[116.27168547390379,29.560841072506353],[116.2714184739402,29.560690075476767],[116.27126747432743,29.56075607433977],[116.27083047358589,29.561452059516043],[116.27064647346289,29.56146505931532],[116.27046647353795,29.56128106319324],[116.27043047355303,29.561086067226505],[116.27054347353109,29.56067307566471],[116.27037247382745,29.559387104021454],[116.2704434739726,29.55922210767153],[116.27106547376376,29.558511122975716],[116.27151747367564,29.557770138957892],[116.2716064742626,29.557331148028307],[116.27146147359953,29.55687115780803],[116.2715944736689,29.556895157383973],[116.27196947358746,29.557206150359306],[116.2723094742441,29.557779138429044],[116.27261247419271,29.557941134974925],[116.27297847389055,29.557946134411985],[116.27338947379447,29.55750514462147],[116.27356747407022,29.556215172420973],[116.27375247401824,29.555837180394835],[116.27395547350982,29.555142195053154],[116.27403447405085,29.55509119594301],[116.27417847399084,29.555220193229886],[116.27433247397623,29.55601117643099],[116.27452847379472,29.55621217177379],[116.27475247410077,29.556032176337734],[116.27474547352996,29.555489187431252],[116.2748214736981,29.5551891940144],[116.27520047381493,29.554707204576584],[116.27549447354282,29.554578207417677],[116.27685547419873,29.554575207504715],[116.27722547409437,29.554880200770754],[116.27772447386145,29.555057196795257],[116.27876947415034,29.554118217179283],[116.2794204742539,29.553229236479794],[116.28066347401109,29.55218025857936],[116.28062347382826,29.551927264409688],[116.28020447352898,29.551234279275576],[116.27967547362475,29.550700290472076],[116.27916847346171,29.550518294827654],[116.27805547429956,29.550530294194417],[116.27772347403865,29.55032029913922],[116.27738747357988,29.549931306998072],[116.27678547388102,29.548759332643474],[116.2767534740941,29.548527337626556],[116.27689647420931,29.548267343185245],[116.27688447361552,29.548101347135443],[116.27630047345981,29.547472360672984],[116.27604647391517,29.546867373036005],[116.27598447399134,29.545931393298943],[116.27610047344429,29.545194408991666],[116.27615847406905,29.544823417125116],[116.27647047423856,29.544676420149116],[116.2765594739271,29.544547423471425],[116.27660447413332,29.543662442005058],[116.27625447432949,29.542561466088056],[116.27575247418976,29.541282493149296],[116.27554847397546,29.540964500178973],[116.27513847389685,29.540566509327018],[116.27411047422534,29.54014051810725],[116.27350547415298,29.540046520238256],[116.272847473479,29.539734527221803],[116.2723674739785,29.53932253553107],[116.27161547359336,29.538484553345885],[116.27165847414949,29.538310557618605],[116.27221447381822,29.53805156308886],[116.27243647357633,29.53728857961002],[116.2730494740448,29.537144582274774],[116.27339147345327,29.536892587614368],[116.27322547377234,29.535987607395487],[116.27354947363816,29.534215645435268],[116.27365947414155,29.533698657056448],[116.27448847362162,29.53366165719856],[116.27570147413937,29.53388665278842],[116.27641647381667,29.533900652666446],[116.27680047395624,29.533719656137507],[116.27709947370708,29.53334966403272],[116.2772924740511,29.53290467377316],[116.27758447412921,29.53264467979694],[116.2779204736901,29.53213769028438],[116.27796847426907,29.531877695898753],[116.27782947345376,29.531549703133653],[116.27720947421126,29.531079712855686],[116.27704847365466,29.53067572170672],[116.27659147372032,29.530504725679553],[116.27678847426237,29.529892738687693],[116.27656847415463,29.5291557547137],[116.27660547396479,29.52874876301286],[116.27674747425509,29.528511768084446],[116.27724947349725,29.52808777710226],[116.27746047428292,29.52759878781821],[116.27794047378359,29.527547788882853],[116.27791047364647,29.52729279459339],[116.27798147379161,29.52712779822215],[116.27850247419855,29.526909802875288],[116.27893447401875,29.52660280940138],[116.279108474096,29.52669780698604],[116.27927147430236,29.527185796996093],[116.2794284737628,29.527376793046116],[116.2795744742509,29.527512790124284],[116.27982447359781,29.52752078944182],[116.2801764739504,29.527115798426408],[116.28055647389209,29.526871803939247],[116.28115547411679,29.52662480889879],[116.28151047394401,29.526640808454797],[116.28155847362451,29.52673380654953],[116.28133947423956,29.527193796345866],[116.28140147416377,29.52735279350379],[116.28154447427886,29.527437791621708],[116.28222747416908,29.52746379059263],[116.28269847344869,29.52788778184879],[116.28355547431417,29.528472769275517],[116.2839664742177,29.528856761038437],[116.28415447364011,29.52943574856603],[116.28435847385445,29.529662743570075],[116.28462647364306,29.529629744153436],[116.28517547363886,29.529746741615483],[116.28641147372298,29.529825740329333],[116.28732147429221,29.52974974149604],[116.287576473662,29.529828740204056],[116.28769847386064,29.530020735647685],[116.28774847408897,29.530731720667944],[116.2883094737801,29.531612701706056],[116.28892247424818,29.53210369125757],[116.2897014734995,29.53224068790787],[116.29013847424073,29.532462683737464],[116.29022747392904,29.532679678393194],[116.29027547360926,29.533465661483653],[116.2904794738235,29.534018649579973],[116.29072047384776,29.534337642944053],[116.29109247429163,29.534511639256444],[116.29152347428673,29.534582637832905],[116.29186047367229,29.534490639572006],[116.29220147415411,29.534571637784133],[116.29290547396079,29.534289644024433],[116.2932764736815,29.53434064268983],[116.29349147376671,29.534218645245847],[116.2936104735925,29.53391265250707],[116.29387847427947,29.533730656341437],[116.29389247362491,29.53361865865794],[116.29357147413302,29.533398663125077],[116.29351247368363,29.532864674680088],[116.29369647380675,29.532654678882782],[116.2937834738456,29.532236688450634],[116.29413147400011,29.53209969101729],[116.29425147365083,29.53184369680315],[116.29462647356966,29.531462705262218],[116.2950774736563,29.531517704072012],[116.29526747362699,29.531713699710295],[116.29535147419068,29.532149690335004],[116.29581447397295,29.531976693544873],[116.29596747413392,29.53181569726831],[116.29611747392174,29.531770698520837],[116.29636347396897,29.531853696700523],[116.29674247408542,29.53218468906298],[116.29734147431004,29.532200689303586],[116.297697473962,29.532580680742736],[116.29838947407308,29.5325166823612],[116.29861247365594,29.53223268821429],[116.29869047347381,29.531994693176255],[116.29863147392264,29.531833696927606],[116.29793647433706,29.531443705096],[116.29766447345234,29.531210710521655],[116.29745047409074,29.53047472646155],[116.29724347350336,29.530138733163927],[116.29709347371589,29.529446748439742],[116.29635447374955,29.52856776749342],[116.2960294740599,29.527887781895686],[116.29602947406,29.527579788543132],[116.29619747428966,29.52715279761164],[116.29660647364538,29.526766806183165],[116.2968554740657,29.526749806140828],[116.29710547431085,29.526909802940754],[116.29727847366463,29.527469790526848],[116.29756047369679,29.52766978662693],[116.2980614740123,29.52734579317167],[116.29885747388052,29.52713479791972],[116.2990484736763,29.526954801513213],[116.2987924735836,29.526215817773974],[116.2985774734985,29.52603982179264],[116.29783047403423,29.52597182267471],[116.29748347370467,29.52603382182271],[116.29719747347453,29.525830826407297],[116.29688447347995,29.526108819807682],[116.29670147408022,29.526095820149504],[116.29658847410238,29.52600382198376],[116.29654947374455,29.525544831985748],[116.29632847381187,29.524976844387954],[116.29634947372831,29.52486084662796],[116.29650247388916,29.524778848711172],[116.29697247424234,29.52492984545526],[116.2972054738709,29.524791848540413],[116.29682747357967,29.523587874271634],[116.29653147420207,29.52350987592],[116.29634947372895,29.523373878932055],[116.29551547422648,29.522374900249144],[116.29540047370044,29.52239890019724],[116.29515147417824,29.522819890713407],[116.2945554743267,29.52269389359203],[116.29408747362324,29.52294988829266],[116.293621473468,29.52287688983724],[116.29348147372595,29.52273389285204],[116.29343447387039,29.52253989654845],[116.29384947397233,29.521892910690045],[116.29385647364508,29.52168691545344],[116.29370447420759,29.52138092154198],[116.29333147393892,29.52100893007247],[116.29308947408961,29.520992930407935],[116.29270747359985,29.521145926891865],[116.29250247356038,29.521388921339252],[116.2924694739483,29.521650915661166],[116.29266047374375,29.52217490461579],[116.29239047430518,29.522567896308203],[116.29235847361976,29.522723892838187],[116.29260547349166,29.523437877615873],[116.29253047404666,29.52394586671646],[116.29219247393779,29.52425185990386],[116.2920174740356,29.524319858611296],[116.29102547345067,29.524185861431828],[116.29053647372935,29.52386486858745],[116.2900774741453,29.523392878258647],[116.28984047431892,29.523254881590656],[116.2896854736101,29.522823890538092],[116.28970547370166,29.52267689362901],[116.29036747367599,29.52158091715966],[116.29028647348518,29.52142492043039],[116.28951547373137,29.52155791757386],[116.28869747412203,29.52142792054454],[116.28842647396044,29.5212829235129],[116.2881694740427,29.521006929705646],[116.28807647415634,29.520786934884807],[116.28805447351692,29.520432942129634],[116.28828947369395,29.519505962130758],[116.28841647391562,29.51930196632605],[116.28902247381315,29.518798977171155],[116.28899547404924,29.518171990983014],[116.28892747427739,29.51776199942361],[116.28875047382712,29.517599002776816],[116.28773047365314,29.517477005461714],[116.28751147426848,29.517314009137433],[116.28739547391785,29.516538026248146],[116.28741447418496,29.515273053435717],[116.28761647385149,29.51484206200141],[116.2881384740836,29.514071078964246],[116.28836547386452,29.513479091350245],[116.28793247421952,29.513561089823902],[116.28778947410447,29.513401093022907],[116.28782847356435,29.51316809832936],[116.28826247393272,29.51278810667982],[116.28920647393899,29.512281117724008],[116.28950147349185,29.51197112402502],[116.28949247416948,29.5116391313231],[116.28888647427283,29.51014316341437],[116.28885347376279,29.50963417392402],[116.28899347350496,29.509372179763407],[116.28951047371405,29.50890519015337],[116.29006647428133,29.508098207320977],[116.2903864739489,29.5069802310423],[116.29016047399352,29.506134249656267],[116.29039747382035,29.505243268638672],[116.29036847350805,29.505141270877296],[116.29009447387176,29.505040272953597],[116.28949347399723,29.505197269857153],[116.28890847401628,29.505248268329435],[116.28848247404414,29.504925275732283],[116.28841247372411,29.50455628381829],[116.28850447378568,29.504372287331343],[116.28868847390869,29.504310288984172],[116.28944247394374,29.504886276412318],[116.28970647353431,29.50490827593315],[116.28985647422068,29.504396286862896],[116.29012247346121,29.50420529122153],[116.29072447405919,29.50353730557106],[116.29149647363795,29.503225311762343],[116.29186747425732,29.50256132654543],[116.29198247388524,29.501992338203554],[116.29196747381734,29.500352373508186],[116.29214747374256,29.499949382426102],[116.29246147356207,29.499510392242613],[116.29197447349067,29.498925404714097],[116.29184347396962,29.498520413414365],[116.29198547425986,29.498383416462495],[116.29209247349164,29.49837641641387],[116.29236247382835,29.49844141450567],[116.29274547414285,29.498654410171728],[116.29295647402999,29.498660410197985],[116.29281747411301,29.49829341814409],[116.29259047433251,29.497984424627322],[116.29249447407315,29.49767443171799],[116.29250147374601,29.497246440473475],[116.29278347377846,29.496915447985714],[116.29324247426109,29.49680645028075],[116.29339347387386,29.496603454103585],[116.29320947375119,29.495844470944675],[116.29339847389733,29.495362480941875],[116.29297447357504,29.494764493921387],[116.29284647352915,29.493461522169103],[116.29266347412968,29.492869534460397],[116.29254147393101,29.49270553833094],[116.29223647433254,29.49266353880175],[116.2920164742246,29.492509542206676],[116.29190147369853,29.49260653985994],[116.29169047381119,29.493024531345764],[116.29165347400105,29.493452521664423],[116.2917824738721,29.494256504574462],[116.29177247382627,29.49462249713729],[116.291952473751,29.495122485896],[116.29194247370516,29.495470478597774],[116.2920604737058,29.495654474840354],[116.29201047347703,29.49587946970997],[116.29178247387136,29.496003467307666],[116.2914664735039,29.49599746712355],[116.29088647354605,29.49544647929756],[116.29065747411556,29.495464479160574],[116.2903394740982,29.495660474255676],[116.28995447413357,29.49615846408587],[116.28953947403153,29.49709744389782],[116.28920647394548,29.497486435161232],[116.28896947411907,29.49743543668619],[116.28874347416348,29.49699844580932],[116.2879944741509,29.497237441075367],[116.28753447384261,29.499150399338678],[116.2871414734821,29.499553391253936],[116.28698147364834,29.49998538131378],[116.286922474097,29.500374373213564],[116.28696947395248,29.500725365804406],[116.28673647432394,29.50075836526491],[116.28562147371551,29.50046637121753],[116.28523747357598,29.500572368937036],[116.2851064740546,29.500775364977486],[116.28455147421019,29.50244032903278],[116.28458347399707,29.502814320655677],[116.28484047391478,29.503332309657218],[116.28551147410911,29.503993295440125],[116.28563747360734,29.50434928773683],[116.28511347372549,29.504981274040933],[116.28450147397974,29.506348244684393],[116.28451547422331,29.50676223604905],[116.28477247414102,29.507196226467748],[116.28475247404951,29.50728822453251],[116.2841834739618,29.50794221089673],[116.2835744736912,29.508475198852164],[116.2834164735073,29.508750193312903],[116.28338247407038,29.509009187813962],[116.28348247362938,29.509234182719936],[116.28426847434966,29.510097164500728],[116.28436947373324,29.51113214206331],[116.28468947429845,29.511557132837485],[116.28486847350025,29.511596131936976],[116.28515447373053,29.511502134124527],[116.28541947404435,29.51150613441679],[116.28585747371211,29.51170312961145],[116.28656847408972,29.511769128405902],[116.28712247410836,29.512085121956503],[116.28694447383278,29.512995101909127],[116.28692947376386,29.5136030892806],[116.28716647358976,29.514821062919815],[116.28703647389328,29.5152440533754],[116.28703047404534,29.515560047019505],[116.28716847413703,29.51679502071453],[116.28734147349084,29.517321008658246],[116.28730847387881,29.51749200507996],[116.28698547383856,29.517699000854442],[116.28682847347966,29.51796599519903],[116.28653947377423,29.518921974247668],[116.28601047386931,29.520126948327725],[116.28576447382196,29.520311944890253],[116.28533347382675,29.520333944182873],[116.28524947416099,29.520759935186184],[116.28526347350613,29.52133692259277],[116.28518647351314,29.521541917981693],[116.28504047392329,29.521624916736034],[116.28481447396753,29.521603916717687],[116.2845934740347,29.521405921473786],[116.28477847398295,29.52061793812207],[116.2846674736551,29.520113948678528],[116.28456347389816,29.51979795596482],[116.28439147347083,29.519560961172466],[116.28375447361151,29.5192999667089],[116.28358247408245,29.519089970891702],[116.28354847374739,29.518867975420818],[116.28374747393926,29.51829398821988],[116.28369747371063,29.518141991142585],[116.28355347377057,29.518108991875057],[116.28337447367042,29.518197989967764],[116.28286747350703,29.518795976951804],[116.28255647406071,29.518961973425174],[116.28247847424281,29.51908897108533],[116.28250947420489,29.519264967432047],[116.28287047387977,29.519594959758066],[116.28298847388041,29.519800955345538],[116.28297547346158,29.519950952688028],[116.28278547349075,29.520090949537344],[116.28270547402303,29.520259945604963],[116.28294147402418,29.521000930204334],[116.28305347417717,29.52115292689589],[116.28290547403905,29.521274923683574],[116.28282447384814,29.521573917906377],[116.28283847409165,29.52188591066442],[116.28262447383142,29.521927909795707],[116.28221347392792,29.521630916171933],[116.28120647417252,29.52186891135868],[116.28083447372862,29.521807912558085],[116.28018347362543,29.521847911388136],[116.27957347353022,29.521678915625266],[116.27939747380337,29.521189925847644],[116.27943247396372,29.520579939141783],[116.27899747377069,29.520362943542686],[116.27887347392223,29.52018194780214],[116.27894747354213,29.5199039537493],[116.27882847371662,29.51960995983135],[116.27879747375474,29.519096971055102],[116.27889347401421,29.519037971754393],[116.2790884740078,29.5190809710901],[116.27935647379631,29.51929796631102],[116.27965647427004,29.519778955923783],[116.27998647398282,29.519912953465536],[116.28019147402208,29.520160948271457],[116.28043647424445,29.520146948058525],[116.28057947346146,29.51968795806775],[116.2806024739261,29.5193539652837],[116.27996947426477,29.51901597218225],[116.2798684739826,29.51874397845109],[116.27999747385402,29.518620981149954],[116.28034047398566,29.518613980937953],[116.28059747390368,29.518410985489766],[116.28081647418723,29.517310009052103],[116.28113147383166,29.516821020051534],[116.28114147387748,29.51665802345324],[116.28063047351667,29.5160300366735],[116.2804764735311,29.515519047404286],[116.28023647423008,29.515198054426957],[116.27974247358749,29.515068057827456],[116.278596473915,29.515194055057513],[116.2779324742914,29.51509805699068],[116.27793347411645,29.514907061213947],[116.27821047412591,29.514698065509137],[116.27846647421909,29.51435007322125],[116.27849547363327,29.51390108283597],[116.27830847403561,29.51365008797414],[116.27764447351375,29.51354509050989],[116.27751847401555,29.513184097630475],[116.2772844736639,29.5130131017466],[116.2771634741887,29.5124181145924],[116.27722247374005,29.511977124000033],[116.27711847398308,29.511837126869782],[116.27659147372853,29.51171412977137],[116.27633047361272,29.51158013231856],[116.27584247371612,29.511555133052607],[116.27539347417758,29.511660131013677],[116.27511947364286,29.511767128616047],[116.27490647410593,29.511765128083955],[116.27451147409585,29.511574132270415],[116.27396547357463,29.511452135512048],[116.27392347374207,29.511045143737586],[116.27402547384938,29.510819149064556],[116.27389947435115,29.510571154037986],[116.27402547384968,29.51017416231833],[116.27402047382691,29.50997016724736],[116.2738014735439,29.509777171385792],[116.27328747370811,29.509686173131016],[116.27313747392044,29.50940617937615],[116.2732244739592,29.508962188463087],[116.27371647405403,29.508399201143288],[116.27415847392012,29.50769321590837],[116.27412047428541,29.507497219864625],[116.27343447402214,29.50746222119888],[116.27305647373053,29.507286224653253],[116.27296347384419,29.507141227687622],[116.2730474735102,29.506137249387283],[116.27317747410507,29.505636260348314],[116.27287947417975,29.50448328533319],[116.2726644740947,29.504310288927787],[116.27248847346934,29.504342288053934],[116.27231747376504,29.50450028442418],[116.27201447381609,29.50521026901059],[116.27197647418096,29.505777257383624],[116.27181647434742,29.505859255060972],[116.27159547351627,29.50561726078761],[116.27150847347798,29.50489927638592],[116.27118047431345,29.504565283271262],[116.27015647394158,29.50419629082376],[116.26985947384064,29.504284289473357],[116.26971947409847,29.50449328478892],[116.26945947380727,29.504984273811292],[116.2692654736385,29.50511927133381],[116.26902847381206,29.505154270806255],[116.26882947362057,29.504992274124817],[116.26866347393951,29.504173291975974],[116.26834047389967,29.503563304346827],[116.26803747395108,29.503447307059332],[116.26728247409072,29.50375830023016],[116.2662514740456,29.504661281143985],[116.26593047365513,29.505034273221042],[116.26558547387337,29.505655259873134],[116.26545647400177,29.506179248773854],[116.26558047385024,29.506338245334238],[116.26623347360308,29.506622238678897],[116.26642347357375,29.50693423218698],[116.26631047359575,29.50715922779484],[116.26608447363994,29.507190226882194],[116.26495847405909,29.50705822953494],[116.26416547366566,29.50715522732418],[116.26335847392663,29.507768214160386],[116.26289847361895,29.50828220319568],[116.26238147430826,29.508436200039945],[116.26126247350174,29.50844320017138],[116.25950347425949,29.507963209753353],[116.25875947427014,29.507483220190373],[116.258554474231,29.506924232151786],[116.25836547408522,29.50677523575286],[116.25806347396141,29.50680923472888],[116.25773047387537,29.507250225161854],[116.25761447352441,29.50729322481381],[116.25692647361146,29.50696623123287],[116.25659047405094,29.50669223732204],[116.25587747402359,29.50642924343524],[116.2554914742345,29.506094249963986],[116.25514847410307,29.505550261899877],[116.253624474139,29.505374265935508],[116.25209747380175,29.50553326219062],[116.25197147430332,29.505653259954904],[116.25198747419672,29.505868255170853],[116.25252647414659,29.50658523981293],[116.25337947391587,29.507153227445574],[116.25410047433913,29.507457220762387],[116.25436647357948,29.507491220293193],[116.25450047347373,29.507604217890172],[116.25504947346865,29.509916168278583],[116.25492947381798,29.51012816336781],[116.25450047347256,29.510380158249966],[116.2539294737351,29.510876147846748],[116.25375847403089,29.510850147742456],[116.25334147427961,29.510491155970104],[116.25305647387427,29.510425157125628],[116.25286447425367,29.510470155985715],[116.25271647411559,29.510726150339597],[116.25273347383386,29.51108414295915],[116.25219047368574,29.51099714462708],[116.25110047408978,29.51109114290569],[116.25008347428884,29.511003144695614],[116.24922447377311,29.511223139674478],[116.24887547379372,29.51124313961976],[116.24831447410226,29.511103142254512],[116.24690947396404,29.510570154056385],[116.2464584738774,29.510542154880522],[116.24624347379235,29.510381158109368],[116.24616047395196,29.509775171499623],[116.24620447433301,29.509499176798606],[116.24638447425808,29.509288181855215],[116.2470094735238,29.509001187687645],[116.24759547422806,29.508838191006483],[116.24830947408066,29.508210204964954],[116.24843847395212,29.508171205343878],[116.2492064742311,29.508177205590002],[116.2496084739139,29.508338201958082],[116.24979547351164,29.508334202324015],[116.24997047431214,29.508208205150947],[116.25030547404806,29.507683215891866],[116.25067447411926,29.507027230356098],[116.25083847415098,29.506558240238594],[116.2508594740678,29.505610260383932],[116.25072347362551,29.5052822676849],[116.25051747376128,29.505119271267834],[116.24951747367884,29.504808277580086],[116.24916147402665,29.504970274553926],[116.2490164742616,29.505300267358223],[116.24888247346898,29.505382265421975],[116.24761947362065,29.50541226511223],[116.24742347380204,29.50556026201592],[116.24706747414972,29.50610125023166],[116.24632347415998,29.506516240966697],[116.243349473851,29.507688216224707],[116.24175547356641,29.50821120485179],[116.24010247373066,29.508684194745538],[116.24008147381412,29.508959188638947],[116.2401724740505,29.509444178508154],[116.24042547377023,29.51001816586835],[116.24068847353576,29.510371158422775],[116.24128447428544,29.510920146579313],[116.24150047419526,29.511269138814775],[116.24149447434739,29.51160613211216],[116.24118647347747,29.51175912871628],[116.24103847423763,29.512164119441053],[116.24111547422994,29.513384093696843],[116.2413254742921,29.513715086292624],[116.24240647366666,29.51483906230899],[116.24250047427618,29.51506705707248],[116.24245547407021,29.515494048197453],[116.24203047392245,29.516390028817348],[116.24195447375429,29.51676402050004],[116.24224947420527,29.516939017158936],[116.2430514739211,29.517035015043454],[116.24357547380286,29.516644023404353],[116.24370547349916,29.516703022538103],[116.24381247362912,29.51693701751701],[116.24386447350763,29.51714401286465],[116.24383047407058,29.51749500516332],[116.2433814736331,29.518924974289785],[116.24338047380812,29.51909897053521],[116.24368647412953,29.519861954434766],[116.24415747430739,29.520403942613132],[116.24431447376772,29.520798933721558],[116.24436347417131,29.521232924926572],[116.2442234735306,29.522056907053187],[116.24424647399452,29.523461877142037],[116.24413347401637,29.52416886157156],[116.24397947403048,29.52430485905304],[116.24392147430419,29.524305858803796],[116.24334747419385,29.524320858190823],[116.24264847351172,29.524587852257135],[116.24144347428806,29.52461385195387],[116.2408264736217,29.52477184872809],[116.24071047416905,29.5248558469233],[116.24041247424299,29.52540183544785],[116.24017547351778,29.526477811896527],[116.23995647413287,29.526862803921123],[116.23888447408011,29.527293794177478],[116.23834447430484,29.527676786005223],[116.23720547430509,29.527750784616636],[116.23645447374437,29.52799577904171],[116.23621147407012,29.5281517757993],[116.23581247386163,29.528981758424337],[116.23579347359495,29.529183754065823],[116.23647247418515,29.53004573485947],[116.2366254743457,29.53071672048632],[116.23683947370766,29.53065172201705],[116.23698647402102,29.52993073791931],[116.23712947413611,29.52987873889943],[116.23726547368025,29.5299327373109],[116.23739747392429,29.530856718073796],[116.23777147401789,29.53129170802234],[116.23775547412427,29.53143670555829],[116.23761847385688,29.531557702771128],[116.23459247366944,29.53266667860277],[116.23408947370422,29.532771676542023],[116.23371447378543,29.533011671425104],[116.23253047357979,29.5332766658924],[116.23143747361078,29.533245666193668],[116.23127947432539,29.53316666780996],[116.23111847376875,29.53288767381749],[116.23088947433833,29.532685678537877],[116.23030747383218,29.53256468110877],[116.22980047366899,29.532724677305733],[116.22952247383452,29.533088669804695],[116.22926547391653,29.53327966564919],[116.22880947380698,29.533362664151266],[116.22808547390905,29.53298067162913],[116.2280644739927,29.532817675271815],[116.22824447391787,29.532555680951226],[116.2282384740701,29.532451683237912],[116.22810947419875,29.532349685541682],[116.22654247367859,29.532365684966976],[116.22602047434513,29.53245768359713],[116.2254674741511,29.532743677227742],[116.22520147401234,29.532768676727425],[116.22498247372934,29.532597680331616],[116.22495847433842,29.53217568940786],[116.22482747391896,29.531897695483963],[116.22459047409265,29.531641700757355],[116.22427147425041,29.531625701210864],[116.22408047355633,29.53185369644618],[116.22393147359303,29.532798676115505],[116.22381847361508,29.533010671725396],[116.22300547402838,29.533373663531872],[116.22293947390592,29.533835653709723],[116.22228247395495,29.533982650814693],[116.22194947386893,29.534163646873132],[116.22185947345722,29.53440864139882],[116.22189047431708,29.535678613878684],[116.22181447414901,29.535792611681625],[116.22162647382811,29.535808611348642],[116.22123647384082,29.535690613445528],[116.22021047381922,29.53516262480052],[116.2199764734676,29.535141625247725],[116.21981147361109,29.535233623698574],[116.2196344740589,29.535723613224604],[116.21962547383785,29.536291600655318],[116.21991447354237,29.537249580068877],[116.2199714743417,29.53810856126668],[116.2201504735434,29.53838255608301],[116.22022147368826,29.538962543390184],[116.22039847413838,29.53928353599487],[116.22029247383314,29.53942253305994],[116.22045947423744,29.53997252183568],[116.22071047430755,29.540010520546936],[116.22084147382874,29.540138517949487],[116.22084047400378,29.54030551416371],[116.2212174735722,29.54038751278077],[116.2213564734895,29.54006151945417],[116.22119847420419,29.53987252388854],[116.22121047389992,29.539557530755594],[116.22135747421306,29.539354535130443],[116.22133147427388,29.539223537925427],[116.22149147410747,29.539120539640553],[116.22150647417615,29.538920544301675],[116.22122447414417,29.538288558148658],[116.22126547415206,29.53820955979746],[116.22160247353762,29.538226559478808],[116.22180247355405,29.538375555680002],[116.22189147414072,29.538635550554492],[116.22185147395751,29.539091540166414],[116.22141147374138,29.53942853301727],[116.22130047431153,29.539699527022567],[116.22136647353534,29.539931522761744],[116.22155247420643,29.540031520653784],[116.22144447425121,29.540455510801745],[116.22156647355155,29.540599508113466],[116.22139247347427,29.540706505591487],[116.22107947347993,29.54055750891717],[116.22079147359977,29.540723505631224],[116.2209534739814,29.54097550012411],[116.2208144740641,29.541302493212733],[116.22097147352443,29.54164648513142],[116.2208554740717,29.54193347970553],[116.22047747377972,29.54247846790495],[116.2204074734594,29.542749461550486],[116.22046447425905,29.542917458489725],[116.2207004742605,29.54307445446122],[116.22075947381165,29.543214452131163],[116.22046147388579,29.543412447666203],[116.22030947354973,29.543615442958753],[116.21980747430774,29.54374144058496],[116.21977147432246,29.544231429520195],[116.21947347349828,29.544473424441552],[116.21936947374103,29.545007413318746],[116.21917247409746,29.545260407616787],[116.21916247405167,29.54538040515762],[116.21934147415158,29.54578839666955],[116.2193464741743,29.54621938676601],[116.21942247434212,29.54644738191911],[116.22101447407789,29.547470359871674],[116.22140047386716,29.54754335854985],[116.22193947381739,29.547534358953243],[116.222358474117,29.547468360051063],[116.22296247346635,29.547068369185833],[116.22388447373126,29.54678937448132],[116.2243324743432,29.546728375865154],[116.224590474086,29.54680137429727],[116.22469847404099,29.546909372554456],[116.2247994743233,29.5468783731321],[116.22494647373816,29.54664737801734],[116.22539647400004,29.546274386165507],[116.22554647378811,29.54570039818653],[116.22568547370518,29.545980392311204],[116.22598847365371,29.546269386154325],[116.22554147376445,29.547531358839105],[116.22624347392112,29.547801352707964],[116.22641047432556,29.54806934760324],[116.22705847405574,29.54786935121446],[116.22742347392867,29.547938349972405],[116.22779447364927,29.548180344617755],[116.22801947378001,29.548496337747142],[116.22796547425133,29.549134324325006],[116.22810747364329,29.549184323029976],[116.22920147433547,29.54913032474452],[116.22965747354675,29.548957328093266],[116.23024447407572,29.549191323479274],[116.23045647378771,29.549440317893044],[116.23060147355261,29.549476317166796],[116.23125047400572,29.549970305988694],[116.23070947350693,29.551028283457146],[116.23087947428454,29.55102128392464],[116.2316154738782,29.551088282341265],[116.2327014741745,29.550994284499286],[116.23292347393225,29.551151281210615],[116.23356547381422,29.551936264232857],[116.23381047403653,29.55209326104379],[116.23415147361999,29.552147259314083],[116.23430647432905,29.55205426114895],[116.2348224738153,29.550664291476945],[116.23506647421284,29.550370297888264],[116.23571347411816,29.550209301206085],[116.23639447346025,29.550164302050433],[116.23777847368221,29.550411296648463],[116.23873147390907,29.550380297521745],[116.23931647389017,29.55019530125713],[116.24003147356756,29.549756311023327],[116.24024547382776,29.549817309377346],[116.24032447347025,29.550276300174648],[116.24027647378959,29.550524294767065],[116.24005447403161,29.550926285779642],[116.24006747355203,29.551053283158375],[116.24047847345554,29.551411275293127],[116.24061947392059,29.552110259976036],[116.24104547389275,29.552372254420305],[116.24129847361247,29.552765245983977],[116.24142547383406,29.552841244713303],[116.24183647373772,29.552912242920335],[116.24286847360717,29.553308234686504],[116.24290847379008,29.553421231901524],[116.24281947410144,29.5537952241884],[116.2433604737014,29.553966220679143],[116.2439514735298,29.554624206294676],[116.24396747432152,29.554899200334358],[116.24415147354617,29.55499719780839],[116.24433547366912,29.555093196294443],[116.24471847398371,29.555103196230416],[116.24460247363297,29.554700204409166],[116.24492547367306,29.554761202905155],[116.24480847349703,29.555247192992084],[116.24524547423826,29.555254193015497],[116.24540047404913,29.554832202107747],[116.24557247357822,29.55486020152635],[116.24550147433122,29.555331190880327],[116.24560047406541,29.555383190095036],[116.24572847411196,29.555344190687208],[116.2458594736333,29.555010197663517],[116.24604047428156,29.555059197140306],[116.24585547433337,29.555628184772036],[116.2460644736724,29.55569618348004],[116.24622747387892,29.5558931785693],[116.24675747360835,29.55566418418846],[116.24684647419494,29.556016176647006],[116.24693847425645,29.555973177387944],[116.24691647361692,29.555857180021505],[116.24701647407433,29.555826180218062],[116.24724947370257,29.5564131674015],[116.24725147425052,29.556805159446956],[116.2474094735361,29.556438167300968],[116.24713547390004,29.555806180491288],[116.2473374735664,29.555708183021775],[116.24751847421463,29.555772181572433],[116.24786847401876,29.55616917328545],[116.24782347381272,29.556667162275247],[116.2479264737448,29.55683115868057],[116.24816447429448,29.55682515897962],[116.24814847350248,29.557088153126912],[116.24796147390474,29.557171151618437],[116.24796447427777,29.557322148436775],[116.24806447383679,29.55736614732786],[116.24802847385156,29.557881136169456],[116.24806047363857,29.557937134870834],[116.24826247420332,29.55780613752613],[116.24838147402876,29.558329126474504],[116.24862947372576,29.55853612227655],[116.24871347428957,29.558740117859827],[116.24862647425086,29.558839115705375],[116.24865347401503,29.558927113709302],[116.24884747418362,29.559188108262102],[116.24896547418437,29.559184108294197],[116.24919547343991,29.558998112328943],[116.24922847395023,29.55886711479651],[116.24907447396453,29.558762117390796],[116.2490754737895,29.558570121049602],[116.249167473851,29.558452123931506],[116.24916647402628,29.558017132853916],[116.24928047382919,29.557898135671245],[116.24922347392791,29.55763814111479],[116.24935847364723,29.55734414749875],[116.24936647404334,29.556864157820495],[116.24957647410561,29.556838158598488],[116.24965847412136,29.556894157096682],[116.24982947382543,29.55719115108202],[116.24998747400913,29.5573071484803],[116.2504804739285,29.557326147706288],[116.25052847360897,29.557562142872772],[116.25047747355534,29.557700140386753],[116.25020147426899,29.557974134449747],[116.2503564740797,29.557999133181518],[116.25036547430048,29.55805513259883],[116.25021847398737,29.558154130334007],[116.25007747352213,29.55814913012659],[116.24941247407334,29.558640119726597],[116.24957447355659,29.558869115178897],[116.24942047357085,29.558836115916996],[116.24937447354006,29.558887114699722],[116.24937347371508,29.559031111538037],[116.24912447419294,29.559377103654594],[116.24923247414789,29.559577099931268],[116.24937847373769,29.559610098951158],[116.2496824735115,29.559108109650282],[116.24999247403116,29.559210107698224],[116.25001047357452,29.559134109071422],[116.24987947405333,29.558982112427074],[116.2498714736575,29.558810116421853],[116.25003347403931,29.558608120585728],[116.2499474738257,29.558400124736515],[116.25035547425469,29.558211129081553],[116.25051347354028,29.557816137200227],[116.25066847424924,29.557841136752522],[116.25069947421133,29.557949134932684],[116.25086447406778,29.557938135080473],[116.2510004736118,29.558055132601076],[116.25123247431365,29.558096131360188],[116.25137047350763,29.558017132861682],[116.25153847373706,29.558094131746273],[116.25160947388206,29.558345126493542],[116.2518964739372,29.55843512453695],[116.25207947423526,29.558396124744515],[116.25198047360261,29.558731117707147],[116.25209347358042,29.558887114709293],[116.25203447402906,29.559277106159648],[116.25217847396897,29.559493101678864],[116.25231047421337,29.559562099531906],[116.25261247343886,29.559491101311597],[116.25285147381328,29.559852093786745],[116.25326147389202,29.559851093607346],[116.2530944734876,29.55968209728447],[116.25305447420298,29.5595141008635],[116.2531784740516,29.559311105467184],[116.25373547354519,29.559283105721768],[116.25398547379037,29.5594201030452],[116.25416847408846,29.559421103230914],[116.25430547345744,29.559338105024864],[116.25422147379206,29.558994112370783],[116.25459447406081,29.55914410862223],[116.2552464739889,29.559140108654486],[116.25546947357155,29.559340104619327],[116.25612447387259,29.559564099912667],[116.25639147383606,29.55996709108759],[116.25643247384386,29.560111087949437],[116.25636947409451,29.560466080285263],[116.25655247349404,29.56104606823903],[116.25666247399718,29.56105806792271],[116.2567114735026,29.561190065126016],[116.25671347405063,29.561533057170507],[116.2571484742435,29.562117045102546],[116.2579374735403,29.56269603280313],[116.2581274735109,29.56308802391203],[116.25835747366455,29.563345018850317],[116.25850147360454,29.56344101643628],[116.25883847388835,29.563495014892716],[116.25915847355517,29.564071002871],[116.25926247421053,29.56411600208676],[116.25940647415067,29.563814008218838],[116.25951647375554,29.563751009436213],[116.25990447409299,29.563824008073386],[116.2599614739943,29.564041003385757],[116.26016747385862,29.563998004417257],[116.26073647394614,29.563706010843887],[116.26081247411429,29.56332301876458],[116.26097547432083,29.56342801689941],[116.26114647402491,29.563764009727343],[116.26125647362973,29.56373700979428],[116.26153647401257,29.562912028056616],[116.26166847425704,29.562846029039317],[116.26188347344385,29.562923027368946],[116.26228547402478,29.563417016866417],[116.26284147369334,29.563540014378795],[116.26300547372479,29.563661011453792],[116.26305847432646,29.563913006574655],[116.26323147368043,29.563958005079716],[116.26329347360468,29.5641140018237],[116.26335547352885,29.564344996860175],[116.26331847371887,29.56447699445617],[116.26308547409036,29.564547992297822],[116.26284647371597,29.56416700056083],[116.26256747405671,29.564177000377686],[116.26211347359686,29.56454699294139],[116.26230247374272,29.56462199126985],[116.26231747381125,29.564734988332663],[116.26252847369832,29.564975983250964],[116.26251747382743,29.565513972112804],[116.26269147390462,29.565654968511236],[116.26278247414116,29.565635969290994],[116.26279947385977,29.56534297563639],[116.26309147393799,29.564898984926295],[116.26325847344417,29.565032982058156],[116.26311647405198,29.565719967135006],[116.26299347402829,29.565885963931038],[116.26284147369233,29.565864964510858],[116.26261247426174,29.566002960839466],[116.2623544736206,29.565974962164788],[116.2619834739,29.565659968344136],[116.26193747386931,29.565705967755637],[116.2623594736434,29.5662369558143],[116.2619774740519,29.56650095057555],[116.26167247355501,29.566611948432694],[116.26155147407958,29.56651095016085],[116.26095847370277,29.566460951433548],[116.2608604737936,29.566273955465814],[116.26018447357605,29.566210956652128],[116.26016547420764,29.566675947101828],[116.25992747365773,29.56725493445002],[116.26014647394082,29.567260934314444],[116.26023247415424,29.567926920091754],[116.26056647406494,29.568068916346885],[116.26081047356412,29.567996918536203],[116.2608554737699,29.568116915641763],[116.26075547421073,29.56824891299586],[116.26072047405042,29.568787900923237],[116.26097547431824,29.569387888138966],[116.26107447405244,29.569427887681062],[116.26142447385679,29.569303890223207],[116.2616014743072,29.569038895666537],[116.26147447408574,29.568831900291773],[116.26152047411654,29.56867290352289],[116.26146847423803,29.568512907189593],[116.26177347383657,29.56847490825875],[116.26193847369285,29.568761901648422],[116.26195247393645,29.568920898277334],[116.26205847424163,29.569008896093013],[116.26200847401314,29.568535907031563],[116.26226747358093,29.568430908739042],[116.2624304737877,29.56808691657966],[116.262602474215,29.568386909981015],[116.2625994738417,29.56885189978802],[116.2626984735759,29.568912898332698],[116.26281447392664,29.56932488971395],[116.26301247429325,29.56957988423957],[116.26301147356993,29.569766880336147],[116.26318147344911,29.56990887712882],[116.2633604735491,29.57031986827624],[116.26349747381647,29.57019587113158],[116.26355147424306,29.570464865299947],[116.2639714734691,29.570718859999715],[116.26399747430655,29.571018853394847],[116.26434447373792,29.57087185624382],[116.2643054742783,29.57051386431421],[116.26437947389826,29.570302868529037],[116.2646164737248,29.570083873230363],[116.26543947425533,29.570130872271648],[116.2653244737291,29.570578862938028],[116.26506647398614,29.570990853771523],[116.2650504740925,29.57116385019924],[116.2648114737178,29.571419844833667],[116.2645724742415,29.571540841842364],[116.26487247381682,29.572194827599986],[116.2648284734358,29.57251982112283],[116.26513147428271,29.572561820316334],[116.26534947384242,29.57298481065157],[116.26562647385174,29.573129807755254],[116.26564647394316,29.57330480373881],[116.26546247382002,29.57358179779634],[116.26556947394924,29.573789793633644],[116.26562847350127,29.573814793138443],[116.26598047385384,29.573541799120598],[116.26594547369399,29.572996810481087],[116.26553647344035,29.572524820620835],[116.26545747379777,29.57224082716237],[116.26578047383796,29.57209583034672],[116.26598047385436,29.572375823986373],[116.26616947400032,29.57224282649986],[116.26657247350803,29.57221482721354],[116.26663747380528,29.57239882373018],[116.26660847349291,29.572575819527593],[116.26686047428628,29.57256481970601],[116.26703247381533,29.572695817443684],[116.26722147396117,29.57268781701483],[116.2673214735202,29.57286581313938],[116.26749647432064,29.572895813131815],[116.26760047407768,29.573020810137372],[116.26791747427006,29.57301081041503],[116.26848647345923,29.572717816282683],[116.26891747345445,29.572656817694483],[116.26978947349029,29.57314880714315],[116.2705984737771,29.5734028021245],[116.27052047395922,29.57358579799355],[116.27054747372334,29.57370579548914],[116.27091247359621,29.573873791744568],[116.2707134743028,29.57416978498475],[116.27070947410478,29.574282783083525],[116.27107747345224,29.57469277436406],[116.2713174736518,29.57447677853793],[116.27148347423147,29.57444477972509],[116.27158147414069,29.574511778230452],[116.27188347426456,29.574367780806693],[116.2723954735522,29.57445977870943],[116.27273547420891,29.574852770286387],[116.27273647403368,29.57514876456355],[116.27281247420169,29.575229762221],[116.27304747347995,29.575258761482996],[116.27310547410451,29.57538675876914],[116.27334847377878,29.575247761953886],[116.2736184741154,29.57545175737942],[116.273698473583,29.575427758307033],[116.2736614737732,29.57520776315613],[116.27371847367463,29.575146764508258],[116.27415247404289,29.57506376594441],[116.2747024738636,29.5752997610766],[116.27483747358269,29.575495756970938],[116.27495947378141,29.575551755281825],[116.27531847380665,29.575307760520023],[116.27532247400467,29.575207763161973]]]},properties:{name:"流芳乡","fill-opacity":0,"stroke-opacity":1,stroke:"#ff0000"}}]},m1={class:"user-container layout-pd"},v1=b(u({__name:"people",setup:function(t){var e=c();c(),d({charts:{theme:"",bgColor:"",color:"#303133"}});var n=d([{value:25835,name:"0-6岁"},{value:12335,name:"7-17岁"},{value:14835,name:"18-40岁"},{value:11935,name:"41-60岁"},{value:7335,name:"60岁以上"}]),i=d([]),r=d([]);return g((function(){var t,o;n.map((function(t){i.push(t.name),r.push(t.value)})),t=D_(e.value),o={grid:{bottom:0,left:0,right:"0"},series:[{radius:["30%","60%"],center:["50%","50%"],type:"pie",roseType:"area",label:{normal:{show:!0,formatter:["{b|{b}}","{c|{c}%}"].join("\n"),rich:{c:{color:"yellow",fontSize:18,fontFamily:"等线",fontWeight:"bold"},b:{color:"rgba(255,255,255,.75)",fontSize:14,height:20}},position:"outside"},emphasis:{show:!0}},itemStyle:{borderRadius:3,borderWidth:2},labelLine:{normal:{show:!0},emphasis:{show:!0}},name:"饼图1",data:[{value:20,name:"0-6岁"},{value:22,name:"7-17岁"},{value:28,name:"18-40岁"},{value:15,name:"41-60岁"},{value:15,name:"60岁以上"}]}]},t.setOption(o)})),function(t,n){return v(),_("div",m1,[x("div",{style:{height:"100%"},ref_key:"peoplePie",ref:e},null,512)])}}}),[["__scopeId","data-v-87df4956"]]);var y1={modelValue:{type:Boolean,default:!0},list:{type:Array,required:!0,default:[]},step:{type:Number,default:1},limitScrollNum:{type:Number,default:3},hover:{type:Boolean,default:!1},direction:{type:String,default:"up"},singleHeight:{type:Number,default:0},singleWidth:{type:Number,default:0},singleWaitTime:{type:Number,default:1e3},isRemUnit:{type:Boolean,default:!1},isWatch:{type:Boolean,default:!0},delay:{type:Number,default:0},ease:{type:[String,Object],default:"ease-in"},count:{type:Number,default:-1},copyNum:{type:Number,default:1},wheel:{type:Boolean,default:!1},singleLine:{type:Boolean,default:!1}};globalThis.window.cancelAnimationFrame=globalThis.window.cancelAnimationFrame||globalThis.window.webkitCancelAnimationFrame||globalThis.window.mozCancelAnimationFrame||globalThis.window.oCancelAnimationFrame||globalThis.window.msCancelAnimationFrame||function(t){return globalThis.window.clearTimeout(t)},globalThis.window.requestAnimationFrame=globalThis.window.requestAnimationFrame||globalThis.window.webkitRequestAnimationFrame||globalThis.window.mozRequestAnimationFrame||globalThis.window.oRequestAnimationFrame||globalThis.window.msRequestAnimationFrame||function(t){return globalThis.window.setTimeout(t,1e3/60)};var _1,x1=u({name:"vue3-seamless-scroll",inheritAttrs:!1,props:y1,emits:["stop","count","move"],setup:function(t,e){var n,i,r=e.slots,o=e.emit,a=e.attrs,s=t,l=c(null),u=c(null),h=c(null),d=c(null),p=c(null),f=c(0),m=c(0),v=c(0),y=c(0),_=c(!1),x=c(0),b=w((function(){return!!s.list&&s.list.length>=s.limitScrollNum})),D=w((function(){return{width:f.value?"".concat(f.value,"px"):"auto",transform:"translate(".concat(v.value,"px,").concat(y.value,"px)"),transition:"all ".concat("string"==typeof s.ease?s.ease:"cubic-bezier("+s.ease.x1+","+s.ease.y1+","+s.ease.x2+","+s.ease.y2+")"," ").concat(s.delay,"ms"),overflow:"hidden",display:s.singleLine?"flex":"block"}})),E=w((function(){return"left"==s.direction||"right"==s.direction})),L=w((function(){return E.value?{float:"left",overflow:"hidden",display:s.singleLine?"flex":"block",flexShrink:s.singleLine?0:1}:{overflow:"hidden"}})),P=w((function(){return s.isRemUnit?parseInt(globalThis.window.getComputedStyle(globalThis.document.documentElement,null).fontSize):1})),R=w((function(){return s.singleWidth*P.value})),N=w((function(){return s.singleHeight*P.value})),k=w((function(){var t,e=s.step;return(t=E.value?R.value:N.value)>0&&t%e>0&&console.error("如果设置了单步滚动,step 需是单步大小的约数,否则无法保证单步滚动结束的位置是否准确。~~~~~"),e})),O=function(){cancelAnimationFrame(d.value),d.value=null},B=function(t,e,n){d.value=requestAnimationFrame((function(){var i=m.value/2,r=f.value/2;if("up"===t?(Math.abs(y.value)>=i&&(y.value=0,x.value+=1,o("count",x.value)),y.value-=e):"down"===t?(y.value>=0&&(y.value=-1*i,x.value+=1,o("count",x.value)),y.value+=e):"left"===t?(Math.abs(v.value)>=r&&(v.value=0,x.value+=1,o("count",x.value)),v.value-=e):"right"===t&&(v.value>=0&&(v.value=-1*r,x.value+=1,o("count",x.value)),v.value+=e),!n){var a=s.singleWaitTime;p.value&&clearTimeout(p.value),N.value?Math.abs(y.value)%N.value<e?p.value=setTimeout((function(){z()}),a):z():R.value&&Math.abs(v.value)%R.value<e?p.value=setTimeout((function(){z()}),a):z()}}))},z=function(){if(O(),_.value||!b.value||x.value===s.count)return o("stop",x.value),void(x.value=0);B(s.direction,k.value,!1)},F=function(){var t;if((t=s.list)&&"boolean"!=typeof t&&t.length>100&&console.warn("数据达到了".concat(t.length,"条有点多哦~,可能会造成部分老旧浏览器卡顿。")),E.value){var e=u.value.offsetWidth;e=2*e+1,f.value=e}b.value?(m.value=h.value.offsetHeight,s.modelValue&&z()):(O(),y.value=v.value=0)},V=function(){_.value=!1,z()},G=function(){_.value=!0,p.value&&clearTimeout(p.value),O()},U=w((function(){return s.hover&&s.modelValue&&b.value})),H=function(t,e,n,i){var r,o=!1,a=0;function s(){r&&clearTimeout(r)}function l(){for(var l=arguments.length,u=new Array(l),c=0;c<l;c++)u[c]=arguments[c];var h=this,d=Date.now()-a;function p(){a=Date.now(),n.apply(h,u)}o||(i&&!r&&p(),s(),void 0===i&&d>t?p():!0!==e&&(r=setTimeout(i?function(){r=void 0}:p,void 0===i?t-d:t)))}return"boolean"!=typeof e&&(i=n,n=e,e=void 0),l.cancel=function(){s(),o=!0},l}(30,(function(t){O();var e=N.value?N.value:15;t.deltaY<0&&B("down",e,!0),t.deltaY>0&&B("up",e,!0)})),W=function(){O(),_.value=!1,F()};n={Reset:function(){W()}},(i=C())&&Object.assign(i.proxy,n),S((function(){return s.list}),(function(){s.isWatch&&A((function(){W()}))}),{deep:!0}),S((function(){return s.modelValue}),(function(t){t?V():G()})),S((function(){return s.count}),(function(t){0!==t&&V()})),T((function(){O(),clearTimeout(p.value)})),g((function(){b.value&&F()}));var X=r.default,j=r.html,Y=new Array(s.copyNum).fill(null),Z=function(){return M(I,null,[M("div",{ref:u,style:L.value},[X&&X()]),b.value?Y.map((function(){return M("div",{style:L.value},j&&"function"==typeof j?[j()]:[X&&X()])})):null])};return function(){return M("div",{ref:l,class:a.class},[s.wheel&&s.hover?M("div",{ref:h,style:D.value,onMouseenter:function(){U.value&&G()},onMouseleave:function(){U.value&&V()},onWheel:function(t){U.value&&function(t){H(t)}(t)}},[Z()]):M("div",{ref:h,style:D.value,onMouseenter:function(){U.value&&G()},onMouseleave:function(){U.value&&V()}},[Z()])])}}}),b1={class:"boxnav"},w1=function(t){return R("data-v-f4a29e9a"),t=t(),N(),t}((function(){return x("div",{class:"listhead"},[x("span",null,"序号"),x("span",null,"医院名"),x("span",null,"床位数"),x("span",null,"就诊人数")],-1)})),S1={class:"listnav scrollDiv"},A1={class:"item"},T1=b(u({__name:"hospital",setup:function(t){var e=c(!0),n=c([{index:1,name:"湖口县中医医院",bad:854,visit:242},{index:2,name:"建民医院",bad:854,visit:242},{index:3,name:"湖口县人民医院",bad:854,visit:242},{index:4,name:"潘思宏诊所",bad:854,visit:242},{index:5,name:"湖口县中医医院新园区",bad:854,visit:242},{index:6,name:"湖口县人民医院新园区",bad:854,visit:242},{index:7,name:"潘郭华诊所",bad:854,visit:242},{index:8,name:"殷智诊所",bad:854,visit:242},{index:9,name:"庐山市人民医院",bad:854,visit:242}]);return d({hospitalList:[{index:1,name:"湖口县中医医院",bad:854,visit:242},{index:2,name:"建民医院",bad:854,visit:242},{index:3,name:"湖口县人民医院",bad:854,visit:242},{index:4,name:"潘思宏诊所",bad:854,visit:242},{index:5,name:"湖口县中医医院新园区",bad:854,visit:242},{index:6,name:"湖口县人民医院新园区",bad:854,visit:242},{index:7,name:"潘郭华诊所",bad:854,visit:242},{index:8,name:"殷智诊所",bad:854,visit:242},{index:9,name:"庐山市人民医院",bad:854,visit:242}]}),g((function(){})),function(t,i){return v(),_("div",b1,[w1,x("div",S1,[M(E(x1),{class:"scroll",modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=function(t){return e.value=t}),list:n.value,step:.3,hover:!0,"limit-scroll-num":3,wheel:!0},{default:D((function(){return[x("ul",null,[(v(!0),_(I,null,L(n.value,(function(t){return v(),_("li",A1,[x("span",null,P(t.index),1),x("span",null,P(t.name),1),x("span",null,P(t.bad),1),x("span",null,P(t.visit),1)])})),256))])]})),_:1},8,["modelValue","list"])])])}}}),[["__scopeId","data-v-f4a29e9a"]]),M1="undefined"!=typeof window;function I1(t,e){var n,i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).immediate,r=void 0===i||i,o=c(!1),a=null;function s(){a&&(clearTimeout(a),a=null)}function l(){o.value=!1,s()}function u(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];var l;s(),o.value=!0,a=setTimeout((function(){o.value=!1,a=null,t.apply(void 0,i)}),"function"==typeof(l=e)?l():E(l))}return r&&(o.value=!0,M1&&u()),n=l,O()&&B(n),{isPending:k(o),start:u,stop:l}}M1&&(null==(_1=null==window?void 0:window.navigator)?void 0:_1.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);var C1="object"==("undefined"==typeof global?"undefined":y(global))&&global&&global.Object===Object&&global,D1="object"==("undefined"==typeof self?"undefined":y(self))&&self&&self.Object===Object&&self,E1=C1||D1||Function("return this")(),L1=E1.Symbol,P1=Object.prototype,R1=P1.hasOwnProperty,N1=P1.toString,k1=L1?L1.toStringTag:void 0;var O1=Object.prototype.toString;var B1="[object Null]",z1="[object Undefined]",F1=L1?L1.toStringTag:void 0;function V1(t){return null==t?void 0===t?z1:B1:F1&&F1 in Object(t)?function(t){var e=R1.call(t,k1),n=t[k1];try{t[k1]=void 0;var i=!0}catch(KJ){}var r=N1.call(t);return i&&(e?t[k1]=n:delete t[k1]),r}(t):function(t){return O1.call(t)}(t)}var G1="[object Symbol]";function U1(t){return"symbol"==y(t)||function(t){return null!=t&&"object"==y(t)}(t)&&V1(t)==G1}var H1=Array.isArray,W1=1/0,X1=L1?L1.prototype:void 0,j1=X1?X1.toString:void 0;function Y1(t){if("string"==typeof t)return t;if(H1(t))return function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}(t,Y1)+"";if(U1(t))return j1?j1.call(t):"";var e=t+"";return"0"==e&&1/t==-W1?"-0":e}function Z1(t){var e=y(t);return null!=t&&("object"==e||"function"==e)}var Q1="[object AsyncFunction]",q1="[object Function]",J1="[object GeneratorFunction]",K1="[object Proxy]";var $1,t2=E1["__core-js_shared__"],e2=($1=/[^.]+$/.exec(t2&&t2.keys&&t2.keys.IE_PROTO||""))?"Symbol(src)_1."+$1:"";var n2=Function.prototype.toString;var i2=/^\[object .+?Constructor\]$/,r2=Function.prototype,o2=Object.prototype,a2=r2.toString,s2=o2.hasOwnProperty,l2=RegExp("^"+a2.call(s2).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function u2(t){if(!Z1(t)||(e=t,e2&&e2 in e))return!1;var e,n=function(t){if(!Z1(t))return!1;var e=V1(t);return e==q1||e==J1||e==Q1||e==K1}(t)?l2:i2;return n.test(function(t){if(null!=t){try{return n2.call(t)}catch(KJ){}try{return t+""}catch(KJ){}}return""}(t))}function c2(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return u2(n)?n:void 0}var h2=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,d2=/^\w*$/;var p2=c2(Object,"create");var f2=Object.prototype.hasOwnProperty;var g2=Object.prototype.hasOwnProperty;function m2(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function v2(t,e){for(var n,i,r=t.length;r--;)if((n=t[r][0])===(i=e)||n!=n&&i!=i)return r;return-1}m2.prototype.clear=function(){this.__data__=p2?p2(null):{},this.size=0},m2.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},m2.prototype.get=function(t){var e=this.__data__;if(p2){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return f2.call(e,t)?e[t]:void 0},m2.prototype.has=function(t){var e=this.__data__;return p2?void 0!==e[t]:g2.call(e,t)},m2.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=p2&&void 0===e?"__lodash_hash_undefined__":e,this};var y2=Array.prototype.splice;function _2(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}_2.prototype.clear=function(){this.__data__=[],this.size=0},_2.prototype.delete=function(t){var e=this.__data__,n=v2(e,t);return!(n<0)&&(n==e.length-1?e.pop():y2.call(e,n,1),--this.size,!0)},_2.prototype.get=function(t){var e=this.__data__,n=v2(e,t);return n<0?void 0:e[n][1]},_2.prototype.has=function(t){return v2(this.__data__,t)>-1},_2.prototype.set=function(t,e){var n=this.__data__,i=v2(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};var x2=c2(E1,"Map");function b2(t,e){var n=t.__data__;return function(t){var e=y(t);return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function w2(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}w2.prototype.clear=function(){this.size=0,this.__data__={hash:new m2,map:new(x2||_2),string:new m2}},w2.prototype.delete=function(t){var e=b2(this,t).delete(t);return this.size-=e?1:0,e},w2.prototype.get=function(t){return b2(this,t).get(t)},w2.prototype.has=function(t){return b2(this,t).has(t)},w2.prototype.set=function(t,e){var n=b2(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this};var S2="Expected a function";function A2(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(S2);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(A2.Cache||w2),n}A2.Cache=w2;var T2,M2,I2,C2=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,D2=/\\(\\)?/g,E2=(T2=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(C2,(function(t,n,i,r){e.push(i?r.replace(D2,"$1"):n||t)})),e},M2=A2(T2,(function(t){return 500===I2.size&&I2.clear(),t})),I2=M2.cache,M2);function L2(t,e){return H1(t)?t:function(t,e){if(H1(t))return!1;var n=y(t);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!U1(t))||d2.test(t)||!h2.test(t)||null!=e&&t in Object(e)}(t,e)?[t]:E2(function(t){return null==t?"":Y1(t)}(t))}var P2=1/0;function R2(t){if("string"==typeof t||U1(t))return t;var e=t+"";return"0"==e&&1/t==-P2?"-0":e}function N2(t,e,n){var i=null==t?void 0:function(t,e){for(var n=0,i=(e=L2(e,t)).length;null!=t&&n<i;)t=t[R2(e[n++])];return n&&n==i?t:void 0}(t,e);return void 0===i?n:i}var k2=function(t){return"number"==typeof t},O2=function(t){function e(t){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=p(this,e,[t])).name="ElementPlusError",n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&m(t,e)}(e,t),function(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(e)}(f(Error));var B2,z2=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(" ").filter((function(t){return!!t.trim()}))},F2=function(t,e){if(!t||!e)return!1;if(e.includes(" "))throw new Error("className should not contain space.");return t.classList.contains(e)};function V2(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";return t?k2(t)||z(e=t)&&!Number.isNaN(Number(e))?"".concat(t).concat(n):z(t)?t:void 0:""}var G2=function(t){var e;if(!M1)return 0;if(void 0!==B2)return B2;var n=document.createElement("div");n.className="".concat(t,"-scrollbar__wrap"),n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);var i=n.offsetWidth;n.style.overflow="scroll";var r=document.createElement("div");r.style.width="100%",n.appendChild(r);var o=r.offsetWidth;return null==(e=n.parentNode)||e.removeChild(n),B2=i-o},U2=u({name:"Check",__name:"check",setup:function(t){return function(t,e){return v(),_("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})])}}}),H2=u({name:"CircleCheck",__name:"circle-check",setup:function(t){return function(t,e){return v(),_("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),x("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})])}}}),W2=u({name:"CircleClose",__name:"circle-close",setup:function(t){return function(t,e){return v(),_("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),x("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})])}}}),X2=u({name:"Close",__name:"close",setup:function(t){return function(t,e){return v(),_("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})])}}}),j2=u({name:"WarningFilled",__name:"warning-filled",setup:function(t){return function(t,e){return v(),_("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})])}}}),Y2="__epPropKey",Z2=function(t,e){if(!V(t)||V(n=t)&&n[Y2])return t;var n,i=t.values,r=t.required,o=t.default,a=t.type,u=t.validator,c=i||u?function(n){var r=!1,a=[];if(i&&(a=Array.from(i),G(t,"default")&&a.push(o),r||(r=a.includes(n))),u&&(r||(r=u(n))),!r&&a.length>0){var s=l(new Set(a)).map((function(t){return JSON.stringify(t)})).join(", ");U("Invalid prop: validation failed".concat(e?' for prop "'.concat(e,'"'):"",". Expected one of [").concat(s,"], got value ").concat(JSON.stringify(n),"."))}return r}:void 0,h=s({type:a,required:!!r,validator:c},Y2,!0);return G(t,"default")&&(h.default=o),h},Q2=function(t){return function(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];i[r[0]]=r[1]}return i}(Object.entries(t).map((function(t){var e=a(t,2),n=e[0],i=e[1];return[n,Z2(i,n)]})))},q2=[String,Object,Function],J2={Close:X2},K2=function(t,e){return t.install=function(e){for(var n=0,i=[t].concat(l(Object.values({})));n<i.length;n++){var r=i[n];e.component(r.name,r)}},t},$2="Tab",t6="Escape",e6="update:modelValue",n6=function(t){return t[t.TEXT=1]="TEXT",t[t.CLASS=2]="CLASS",t[t.STYLE=4]="STYLE",t[t.PROPS=8]="PROPS",t[t.FULL_PROPS=16]="FULL_PROPS",t[t.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",t[t.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",t[t.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",t[t.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",t[t.NEED_PATCH=512]="NEED_PATCH",t[t.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",t[t.HOISTED=-1]="HOISTED",t[t.BAIL=-2]="BAIL",t}(n6||{}),i6=function(t,e,n,i){var r={offsetX:0,offsetY:0},o=function(e){var n=e.clientX,o=e.clientY,a=r,s=a.offsetX,l=a.offsetY,u=t.value.getBoundingClientRect(),c=u.left,h=u.top,d=u.width,p=u.height,f=document.documentElement.clientWidth,g=document.documentElement.clientHeight,m=-c+s,v=-h+l,y=f-c-d+s,_=g-h-p+l,x=function(e){var a=s+e.clientX-n,u=l+e.clientY-o;(null==i?void 0:i.value)||(a=Math.min(Math.max(a,m),y),u=Math.min(Math.max(u,v),_)),r={offsetX:a,offsetY:u},t.value&&(t.value.style.transform="translate(".concat(V2(a),", ").concat(V2(u),")"))},b=function(){document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",b)};document.addEventListener("mousemove",x),document.addEventListener("mouseup",b)},a=function(){e.value&&t.value&&e.value.removeEventListener("mousedown",o)};return g((function(){W((function(){n.value?e.value&&t.value&&e.value.addEventListener("mousedown",o):a()}))})),X((function(){a()})),{resetPostion:function(){r={offsetX:0,offsetY:0},t.value&&(t.value.style.transform="none")}}},r6={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}},o6=function(t){return function(e,n){return a6(e,n,E(t))}},a6=function(t,e,n){return N2(n,t,t).replace(/\{(\w+)\}/g,(function(t,n){var i;return"".concat(null!=(i=null==e?void 0:e[n])?i:"{".concat(n,"}"))}))},s6=Symbol("localeContextKey"),l6=function(t){var e=j(s6,c());return function(t){return{lang:w((function(){return E(t).name})),locale:Y(t)?t:c(t),t:o6(t)}}(w((function(){return e.value||r6})))},u6="el",c6=function(t,e,n,i,r){var o="".concat(t,"-").concat(e);return n&&(o+="-".concat(n)),i&&(o+="__".concat(i)),r&&(o+="--".concat(r)),o},h6=Symbol("namespaceContextKey"),d6=function(t){var e=C()?j(h6,c(u6)):c(u6);return w((function(){return E(e)||u6}))},p6=function(t,e){var n=d6();return{namespace:n,b:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return c6(n.value,t,e,"","")},e:function(e){return e?c6(n.value,t,"",e,""):""},m:function(e){return e?c6(n.value,t,"","",e):""},be:function(e,i){return e&&i?c6(n.value,t,e,i,""):""},em:function(e,i){return e&&i?c6(n.value,t,"",e,i):""},bm:function(e,i){return e&&i?c6(n.value,t,e,"",i):""},bem:function(e,i,r){return e&&i&&r?c6(n.value,t,e,i,r):""},is:function(t){return t&&(!((arguments.length<=1?0:arguments.length-1)>=1)||(arguments.length<=1?void 0:arguments[1]))?"".concat("is-").concat(t):""},cssVar:function(t){var e={};for(var i in t)t[i]&&(e["--".concat(n.value,"-").concat(i)]=t[i]);return e},cssVarName:function(t){return"--".concat(n.value,"-").concat(t)},cssVarBlock:function(e){var i={};for(var r in e)e[r]&&(i["--".concat(n.value,"-").concat(t,"-").concat(r)]=e[r]);return i},cssVarBlockName:function(e){return"--".concat(n.value,"-").concat(t,"-").concat(e)}}},f6=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Y(t)||function(t,e){throw new O2("[".concat(t,"] ").concat(e))}("[useLockscreen]","You need to pass a ref param to this function");var n=e.ns||p6("popup"),i=w((function(){return n.bm("parent","hidden")}));if(M1&&!F2(document.body,i.value)){var r=0,o=!1,a="0",s=function(){setTimeout((function(){var t,e,n;t=null==document?void 0:document.body,e=i.value,t&&e.trim()&&(n=t.classList).remove.apply(n,l(z2(e))),o&&document&&(document.body.style.width=a)}),200)};S(t,(function(t){if(t){(o=!F2(document.body,i.value))&&(a=document.body.style.width),r=G2(n.namespace.value);var e,u,c,h=document.documentElement.clientHeight<document.body.scrollHeight,d=function(t,e){var n;if(!M1||!t||!e)return"";var i=F(e);"float"===i&&(i="cssFloat");try{var r=t.style[i];if(r)return r;var o=null==(n=document.defaultView)?void 0:n.getComputedStyle(t,"");return o?o[i]:""}catch(KJ){return t.style[i]}}(document.body,"overflowY");r>0&&(h||"scroll"===d)&&o&&(document.body.style.width="calc(100% - ".concat(r,"px)")),e=document.body,u=i.value,e&&u.trim()&&(c=e.classList).add.apply(c,l(z2(u)))}else s()})),B((function(){return s()}))}},g6=function(t){if(!t)return{onClick:Z,onMousedown:Z,onMouseup:Z};var e=!1,n=!1;return{onClick:function(i){e&&n&&t(i),e=n=!1},onMousedown:function(t){e=t.target===t.currentTarget},onMouseup:function(t){n=t.target===t.currentTarget}}},m6={prefix:Math.floor(1e4*Math.random()),current:0},v6=Symbol("elIdInjection"),y6=function(t){var e=C()?j(v6,m6):m6,n=d6();return w((function(){return E(t)||"".concat(n.value,"-id-").concat(e.prefix,"-").concat(e.current++)}))},_6=[],x6=function(t){var e=t;e.key===t6&&_6.forEach((function(t){return t(e)}))},b6={current:0},w6=c(0),S6=Symbol("elZIndexContextKey"),A6=Symbol("zIndexContextKey"),T6=function(t){var e=C()?j(S6,b6):b6,n=C()?j(A6,void 0):void 0,i=w((function(){var t=E(n);return k2(t)?t:2e3})),r=w((function(){return i.value+w6.value}));return!M1&&j(S6),{initialZIndex:i,currentZIndex:r,nextZIndex:function(){return e.current++,w6.value=e.current,r.value}}},M6=Symbol(),I6=c();/*! Element Plus Icons Vue v2.3.1 */var C6=function(t,e){var n,i=t.__vccOpts||t,r=o(e);try{for(r.s();!(n=r.n()).done;){var s=a(n.value,2),l=s[0],u=s[1];i[l]=u}}catch(c){r.e(c)}finally{r.f()}return i},D6=Q2({size:{type:[Number,String]},color:{type:String}}),E6=u({name:"ElIcon",inheritAttrs:!1}),L6=u(r(r({},E6),{},{props:D6,setup:function(t){var e=t,n=p6("icon"),i=w((function(){var t,n=e.size,i=e.color;return n||i?{fontSize:(t=n,void 0===t?void 0:V2(n)),"--color":i}:{}}));return function(t,e){return v(),_("i",q({class:E(n).b(),style:E(i)},t.$attrs),[Q(t.$slots,"default")],16)}}})),P6=K2(C6(L6,[["__file","icon.vue"]])),R6="focus-trap.focus-after-trapped",N6="focus-trap.focus-after-released",k6={cancelable:!0,bubbles:!1},O6={cancelable:!0,bubbles:!1},B6="focusAfterTrapped",z6="focusAfterReleased",F6=Symbol("elFocusTrap"),V6=c(),G6=c(0),U6=c(0),H6=0,W6=function(t){for(var e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:function(t){var e="INPUT"===t.tagName&&"hidden"===t.type;return t.disabled||t.hidden||e?NodeFilter.FILTER_SKIP:t.tabIndex>=0||t===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});n.nextNode();)e.push(n.currentNode);return e},X6=function(t,e){var n,i=o(t);try{for(i.s();!(n=i.n()).done;){var r=n.value;if(!j6(r,e))return r}}catch(a){i.e(a)}finally{i.f()}},j6=function(t,e){if("hidden"===getComputedStyle(t).visibility)return!0;for(;t;){if(e&&t===e)return!1;if("none"===getComputedStyle(t).display)return!0;t=t.parentElement}return!1},Y6=function(t,e){if(t&&t.focus){var n=document.activeElement;t.focus({preventScroll:!0}),U6.value=window.performance.now(),t!==n&&function(t){return t instanceof HTMLInputElement&&"select"in t}(t)&&e&&t.select()}};function Z6(t,e){var n=l(t),i=t.indexOf(e);return-1!==i&&n.splice(i,1),n}var Q6,q6=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=document.activeElement,r=o(t);try{for(r.s();!(e=r.n()).done;){var a=e.value;if(Y6(a,n),document.activeElement!==i)return}}catch(s){r.e(s)}finally{r.f()}},J6=(Q6=[],{push:function(t){var e=Q6[0];e&&t!==e&&e.pause(),(Q6=Z6(Q6,t)).unshift(t)},remove:function(t){var e,n;null==(n=null==(e=(Q6=Z6(Q6,t))[0])?void 0:e.resume)||n.call(e)}}),K6=function(){V6.value="pointer",G6.value=window.performance.now()},$6=function(){V6.value="keyboard",G6.value=window.performance.now()},t3=function(){return g((function(){0===H6&&(document.addEventListener("mousedown",K6),document.addEventListener("touchstart",K6),document.addEventListener("keydown",$6)),H6++})),X((function(){--H6<=0&&(document.removeEventListener("mousedown",K6),document.removeEventListener("touchstart",K6),document.removeEventListener("keydown",$6))})),{focusReason:V6,lastUserFocusTimestamp:G6,lastAutomatedFocusTimestamp:U6}},e3=function(t){return new CustomEvent("focus-trap.focusout-prevented",r(r({},O6),{},{detail:t}))},n3=u({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[B6,z6,"focusin","focusout","focusout-prevented","release-requested"],setup:function(e,i){var o,s,l,u=i.emit,h=c(),d=t3().focusReason;l=function(t){e.trapped&&!p.paused&&u("release-requested",t)},g((function(){0===_6.length&&document.addEventListener("keydown",x6),M1&&_6.push(l)})),X((function(){0===(_6=_6.filter((function(t){return t!==l}))).length&&M1&&document.removeEventListener("keydown",x6)}));var p={paused:!1,pause:function(){this.paused=!0},resume:function(){this.paused=!1}},f=function(t){if((e.loop||e.trapped)&&!p.paused){var n=t.key,i=t.altKey,r=t.ctrlKey,o=t.metaKey,s=t.currentTarget,l=t.shiftKey,c=e.loop,h=n===$2&&!i&&!r&&!o,f=document.activeElement;if(h&&f){var g=s,m=function(t){var e=W6(t);return[X6(e,t),X6(e.reverse(),t)]}(g),v=a(m,2),y=v[0],_=v[1];if(y&&_)if(l||f!==_){if(l&&[y,g].includes(f)){var x=e3({focusReason:d.value});u("focusout-prevented",x),x.defaultPrevented||(t.preventDefault(),c&&Y6(_,!0))}}else{var b=e3({focusReason:d.value});u("focusout-prevented",b),b.defaultPrevented||(t.preventDefault(),c&&Y6(y,!0))}else if(f===g){var w=e3({focusReason:d.value});u("focusout-prevented",w),w.defaultPrevented||t.preventDefault()}}}};J(F6,{focusTrapRef:h,onKeydown:f}),S((function(){return e.focusTrapEl}),(function(t){t&&(h.value=t)}),{immediate:!0}),S([h],(function(t,e){var n=a(t,1)[0],i=a(e,1)[0];n&&(n.addEventListener("keydown",f),n.addEventListener("focusin",y),n.addEventListener("focusout",_)),i&&(i.removeEventListener("keydown",f),i.removeEventListener("focusin",y),i.removeEventListener("focusout",_))}));var m=function(t){u(B6,t)},v=function(t){return u(z6,t)},y=function(t){var n=E(h);if(n){var i=t.target,r=t.relatedTarget,a=i&&n.contains(i);if(!e.trapped)r&&n.contains(r)||(o=r);a&&u("focusin",t),p.paused||e.trapped&&(a?s=i:Y6(s,!0))}},_=function(t){var n=E(h);if(!p.paused&&n)if(e.trapped){var i=t.relatedTarget;null==i||n.contains(i)||setTimeout((function(){if(!p.paused&&e.trapped){var t=e3({focusReason:d.value});u("focusout-prevented",t),t.defaultPrevented||Y6(s,!0)}}),0)}else{var r=t.target;r&&n.contains(r)||u("focusout",t)}};function x(){return b.apply(this,arguments)}function b(){return(b=n(t().mark((function n(){var i,r,a;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A();case 2:(i=E(h))&&(J6.push(p),r=i.contains(document.activeElement)?o:document.activeElement,o=r,i.contains(r)||(a=new Event(R6,k6),i.addEventListener(R6,m),i.dispatchEvent(a),a.defaultPrevented||A((function(){var t=e.focusStartEl;z(t)||(Y6(t),document.activeElement!==t&&(t="first")),"first"===t&&q6(W6(i),!0),document.activeElement!==r&&"container"!==t||Y6(i)}))));case 4:case"end":return t.stop()}}),n)})))).apply(this,arguments)}function w(){var t=E(h);if(t){t.removeEventListener(R6,m);var e=new CustomEvent(N6,r(r({},k6),{},{detail:{focusReason:d.value}}));t.addEventListener(N6,v),t.dispatchEvent(e),e.defaultPrevented||"keyboard"!=d.value&&G6.value>U6.value&&!t.contains(document.activeElement)||Y6(null!=o?o:document.body),t.removeEventListener(N6,v),J6.remove(p)}}return g((function(){e.trapped&&x(),S((function(){return e.trapped}),(function(t){t?x():w()}))})),X((function(){e.trapped&&w(),h.value&&(h.value.removeEventListener("keydown",f),h.value.removeEventListener("focusin",y),h.value.removeEventListener("focusout",_),h.value=void 0)})),{onKeydown:f}}});var i3=C6(n3,[["render",function(t,e,n,i,r,o){return Q(t.$slots,"default",{handleKeydown:t.onKeydown})}],["__file","focus-trap.vue"]]),r3=Q2({to:{type:[String,Object],required:!0},disabled:Boolean}),o3=u({__name:"teleport",props:r3,setup:function(t){return function(t,e){return t.disabled?Q(t.$slots,"default",{key:0}):(v(),K($,{key:1,to:t.to},[Q(t.$slots,"default")],8,["to"]))}}}),a3=K2(C6(o3,[["__file","teleport.vue"]])),s3=Symbol("rowContextKey"),l3=Q2({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:["start","center","end","space-around","space-between","space-evenly"],default:"start"},align:{type:String,values:["top","middle","bottom"]}}),u3=u({name:"ElRow"}),c3=u(r(r({},u3),{},{props:l3,setup:function(t){var e=t,n=p6("row"),i=w((function(){return e.gutter}));J(s3,{gutter:i});var r=w((function(){var t={};return e.gutter?(t.marginRight=t.marginLeft="-".concat(e.gutter/2,"px"),t):t})),o=w((function(){return[n.b(),n.is("justify-".concat(e.justify),"start"!==e.justify),n.is("align-".concat(e.align),!!e.align)]}));return function(t,e){return v(),K(nt(t.tag),{class:tt(E(o)),style:et(E(r))},{default:D((function(){return[Q(t.$slots,"default")]})),_:3},8,["class","style"])}}})),h3=K2(C6(c3,[["__file","row.vue"]])),d3=Q2({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:[Number,Object],default:function(){return{}}},sm:{type:[Number,Object],default:function(){return{}}},md:{type:[Number,Object],default:function(){return{}}},lg:{type:[Number,Object],default:function(){return{}}},xl:{type:[Number,Object],default:function(){return{}}}}),p3=u({name:"ElCol"}),f3=u(r(r({},p3),{},{props:d3,setup:function(t){var e=t,n=j(s3,{gutter:w((function(){return 0}))}).gutter,i=p6("col"),r=w((function(){var t={};return n.value&&(t.paddingLeft=t.paddingRight="".concat(n.value/2,"px")),t})),o=w((function(){var t=[];["span","offset","pull","push"].forEach((function(n){var r=e[n];k2(r)&&("span"===n?t.push(i.b("".concat(e[n]))):r>0&&t.push(i.b("".concat(n,"-").concat(e[n]))))}));return["xs","sm","md","lg","xl"].forEach((function(n){k2(e[n])?t.push(i.b("".concat(n,"-").concat(e[n]))):V(e[n])&&Object.entries(e[n]).forEach((function(e){var r=a(e,2),o=r[0],s=r[1];t.push("span"!==o?i.b("".concat(n,"-").concat(o,"-").concat(s)):i.b("".concat(n,"-").concat(s)))}))})),n.value&&t.push(i.is("guttered")),[i.b(),t]}));return function(t,e){return v(),K(nt(t.tag),{class:tt(E(o)),style:et(E(r))},{default:D((function(){return[Q(t.$slots,"default")]})),_:3},8,["class","style"])}}})),g3=K2(C6(f3,[["__file","col.vue"]])),m3=Q2({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:[String,Array,Object]},zIndex:{type:[String,Number]}}),v3=u({name:"ElOverlay",props:m3,emits:{click:function(t){return t instanceof MouseEvent}},setup:function(t,e){var n=e.slots,i=e.emit,r=p6("overlay"),o=g6(t.customMaskEvent?void 0:function(t){i("click",t)}),a=o.onClick,s=o.onMousedown,l=o.onMouseup;return function(){return t.mask?M("div",{class:[r.b(),t.overlayClass],style:{zIndex:t.zIndex},onClick:a,onMousedown:s,onMouseup:l},[Q(n,"default")],n6.STYLE|n6.CLASS|n6.PROPS,["onClick","onMouseup","onMousedown"]):it("div",{class:t.overlayClass,style:{zIndex:t.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[Q(n,"default")])}}}),y3=v3,_3=Symbol("dialogInjectionKey"),x3=Q2({center:Boolean,alignCenter:Boolean,closeIcon:{type:q2},draggable:Boolean,overflow:Boolean,fullscreen:Boolean,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),b3=u({name:"ElDialogContent"}),w3=u(r(r({},b3),{},{props:x3,emits:{close:function(){return!0}},setup:function(t,e){var n=e.expose,i=t,r=l6().t,o=J2.Close,a=j(_3),l=a.dialogRef,u=a.headerRef,c=a.bodyId,h=a.ns,d=a.style,p=j(F6).focusTrapRef,f=w((function(){return[h.b(),h.is("fullscreen",i.fullscreen),h.is("draggable",i.draggable),h.is("align-center",i.alignCenter),s({},h.m("center"),i.center)]})),g=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){e.forEach((function(e){H(e)?e(t):e.value=t}))}}(p,l),m=w((function(){return i.draggable})),y=w((function(){return i.overflow}));return n({resetPostion:i6(l,u,m,y).resetPostion}),function(t,e){return v(),_("div",{ref:E(g),class:tt(E(f)),style:et(E(d)),tabindex:"-1"},[x("header",{ref_key:"headerRef",ref:u,class:tt([E(h).e("header"),{"show-close":t.showClose}])},[Q(t.$slots,"header",{},(function(){return[x("span",{role:"heading","aria-level":t.ariaLevel,class:tt(E(h).e("title"))},P(t.title),11,["aria-level"])]})),t.showClose?(v(),_("button",{key:0,"aria-label":E(r)("el.dialog.close"),class:tt(E(h).e("headerbtn")),type:"button",onClick:function(e){return t.$emit("close")}},[M(E(P6),{class:tt(E(h).e("close"))},{default:D((function(){return[(v(),K(nt(t.closeIcon||E(o))))]})),_:1},8,["class"])],10,["aria-label","onClick"])):rt("v-if",!0)],2),x("div",{id:E(c),class:tt(E(h).e("body"))},[Q(t.$slots,"default")],10,["id"]),t.$slots.footer?(v(),_("footer",{key:0,class:tt(E(h).e("footer"))},[Q(t.$slots,"footer")],2)):rt("v-if",!0)],6)}}})),S3=C6(w3,[["__file","dialog-content.vue"]]),A3=Q2(r(r({},x3),{},{appendToBody:Boolean,appendTo:{type:[String,Object],default:"body"},beforeClose:{type:Function},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"}})),T3=s(s(s({open:function(){return!0},opened:function(){return!0},close:function(){return!0},closed:function(){return!0}},e6,(function(t){return"boolean"==typeof t})),"openAutoFocus",(function(){return!0})),"closeAutoFocus",(function(){return!0})),M3=function(t,e){var n,i=C().emit,r=T6().nextZIndex,o="",a=y6(),s=y6(),l=c(!1),u=c(!1),h=c(!1),d=c(null!=(n=t.zIndex)?n:r()),p=void 0,f=void 0,m=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=C()?j(M6,I6):I6;return w((function(){var i,r;return null!=(r=null==(i=n.value)?void 0:i[t])?r:e}))}("namespace",u6),v=w((function(){var e={},n="--".concat(m.value,"-dialog");return t.fullscreen||(t.top&&(e["".concat(n,"-margin-top")]=t.top),t.width&&(e["".concat(n,"-width")]=V2(t.width))),e})),y=w((function(){return t.alignCenter?{display:"flex"}:{}}));function _(){if(null==f||f(),null==p||p(),t.openDelay&&t.openDelay>0){var e=I1((function(){return T()}),t.openDelay);p=e.stop}else T()}function x(){if(null==p||p(),null==f||f(),t.closeDelay&&t.closeDelay>0){var e=I1((function(){return M()}),t.closeDelay);f=e.stop}else M()}function b(){t.beforeClose?t.beforeClose((function(t){t||(u.value=!0,l.value=!1)})):x()}function T(){M1&&(l.value=!0)}function M(){l.value=!1}return t.lockScroll&&f6(l),S((function(){return t.modelValue}),(function(n){n?(u.value=!1,_(),h.value=!0,d.value=void 0===t.zIndex?r():d.value++,A((function(){i("open"),e.value&&(e.value.scrollTop=0)}))):l.value&&x()})),S((function(){return t.fullscreen}),(function(t){e.value&&(t?(o=e.value.style.transform,e.value.style.transform=""):e.value.style.transform=o)})),g((function(){t.modelValue&&(l.value=!0,h.value=!0,_())})),{afterEnter:function(){i("opened")},afterLeave:function(){i("closed"),i(e6,!1),t.destroyOnClose&&(h.value=!1)},beforeLeave:function(){i("close")},handleClose:b,onModalClick:function(){t.closeOnClickModal&&b()},close:x,doClose:M,onOpenAutoFocus:function(){i("openAutoFocus")},onCloseAutoFocus:function(){i("closeAutoFocus")},onCloseRequested:function(){t.closeOnPressEscape&&b()},onFocusoutPrevented:function(t){var e;"pointer"===(null==(e=t.detail)?void 0:e.focusReason)&&t.preventDefault()},titleId:a,bodyId:s,closed:u,style:v,overlayDialogStyle:y,rendered:h,visible:l,zIndex:d}},I3=u({name:"ElDialog",inheritAttrs:!1}),C3=u(r(r({},I3),{},{props:A3,emits:T3,setup:function(t,e){var n,i,r=e.expose,o=t,a=ot();n={scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},i=w((function(){return!!a.title})),n.from,n.replacement,n.scope,n.version,n.ref,n.type,S((function(){return E(i)}),(function(t){}),{immediate:!0});var s=p6("dialog"),l=c(),u=c(),h=c(),d=M3(o,l),p=d.visible,f=d.titleId,g=d.bodyId,m=d.style,y=d.overlayDialogStyle,_=d.rendered,b=d.zIndex,A=d.afterEnter,T=d.afterLeave,I=d.beforeLeave,C=d.handleClose,L=d.onModalClick,P=d.onOpenAutoFocus,R=d.onCloseAutoFocus,N=d.onCloseRequested,k=d.onFocusoutPrevented;J(_3,{dialogRef:l,headerRef:u,bodyId:g,ns:s,rendered:_,style:m});var O=g6(L),B=w((function(){return o.draggable&&!o.fullscreen}));return r({visible:p,dialogContentRef:h,resetPostion:function(){h.value.resetPostion()}}),function(t,e){return v(),K(E(a3),{to:t.appendTo,disabled:"body"===t.appendTo&&!t.appendToBody},{default:D((function(){return[M(at,{name:"dialog-fade",onAfterEnter:E(A),onAfterLeave:E(T),onBeforeLeave:E(I),persisted:""},{default:D((function(){return[st(M(E(y3),{"custom-mask-event":"",mask:t.modal,"overlay-class":t.modalClass,"z-index":E(b)},{default:D((function(){return[x("div",{role:"dialog","aria-modal":"true","aria-label":t.title||void 0,"aria-labelledby":t.title?void 0:E(f),"aria-describedby":E(g),class:tt("".concat(E(s).namespace.value,"-overlay-dialog")),style:et(E(y)),onClick:E(O).onClick,onMousedown:E(O).onMousedown,onMouseup:E(O).onMouseup},[M(E(i3),{loop:"",trapped:E(p),"focus-start-el":"container",onFocusAfterTrapped:E(P),onFocusAfterReleased:E(R),onFocusoutPrevented:E(k),onReleaseRequested:E(N)},{default:D((function(){return[E(_)?(v(),K(S3,q({key:0,ref_key:"dialogContentRef",ref:h},t.$attrs,{center:t.center,"align-center":t.alignCenter,"close-icon":t.closeIcon,draggable:E(B),overflow:t.overflow,fullscreen:t.fullscreen,"show-close":t.showClose,title:t.title,"aria-level":t.headerAriaLevel,onClose:E(C)}),lt({header:D((function(){return[t.$slots.title?Q(t.$slots,"title",{key:1}):Q(t.$slots,"header",{key:0,close:E(C),titleId:E(f),titleClass:E(s).e("title")})]})),default:D((function(){return[Q(t.$slots,"default")]})),_:2},[t.$slots.footer?{name:"footer",fn:D((function(){return[Q(t.$slots,"footer")]}))}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","show-close","title","aria-level","onClose"])):rt("v-if",!0)]})),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,["aria-label","aria-labelledby","aria-describedby","onClick","onMousedown","onMouseup"])]})),_:3},8,["mask","overlay-class","z-index"]),[[ut,E(p)]])]})),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])]})),_:3},8,["to","disabled"])}}})),D3=K2(C6(C3,[["__file","dialog.vue"]])),E3=Q2({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:function(t){return t>=0&&t<=100}},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:String,default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:[String,Array,Function],default:""},striped:Boolean,stripedFlow:Boolean,format:{type:Function,default:function(t){return"".concat(t,"%")}}}),L3=u({name:"ElProgress"}),P3=u(r(r({},L3),{},{props:E3,setup:function(t){var e=t,n={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},i=p6("progress"),r=w((function(){var t={width:"".concat(e.percentage,"%"),animationDuration:"".concat(e.duration,"s")},n=S(e.percentage);return n.includes("gradient")?t.background=n:t.backgroundColor=n,t})),a=w((function(){return(e.strokeWidth/e.width*100).toFixed(1)})),l=w((function(){return["circle","dashboard"].includes(e.type)?Number.parseInt("".concat(50-Number.parseFloat(a.value)/2),10):0})),u=w((function(){var t=l.value,n="dashboard"===e.type;return"\n M 50 50\n m 0 ".concat(n?"":"-").concat(t,"\n a ").concat(t," ").concat(t," 0 1 1 0 ").concat(n?"-":"").concat(2*t,"\n a ").concat(t," ").concat(t," 0 1 1 0 ").concat(n?"":"-").concat(2*t,"\n ")})),c=w((function(){return 2*Math.PI*l.value})),h=w((function(){return"dashboard"===e.type?.75:1})),d=w((function(){var t=-1*c.value*(1-h.value)/2;return"".concat(t,"px")})),p=w((function(){return{strokeDasharray:"".concat(c.value*h.value,"px, ").concat(c.value,"px"),strokeDashoffset:d.value}})),f=w((function(){return{strokeDasharray:"".concat(c.value*h.value*(e.percentage/100),"px, ").concat(c.value,"px"),strokeDashoffset:d.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"}})),g=w((function(){return e.color?S(e.percentage):n[e.status]||n.default})),m=w((function(){return"warning"===e.status?j2:"line"===e.type?"success"===e.status?H2:W2:"success"===e.status?U2:X2})),y=w((function(){return"line"===e.type?12+.4*e.strokeWidth:.111111*e.width+2})),b=w((function(){return e.format(e.percentage)}));var S=function(t){var n,i=e.color;if(H(i))return i(t);if(z(i))return i;var r,a=function(t){var e=100/t.length;return t.map((function(t,n){return z(t)?{color:t,percentage:(n+1)*e}:t})).sort((function(t,e){return t.percentage-e.percentage}))}(i),s=o(a);try{for(s.s();!(r=s.n()).done;){var l=r.value;if(l.percentage>t)return l.color}}catch(u){s.e(u)}finally{s.f()}return null==(n=a[a.length-1])?void 0:n.color};return function(t,e){return v(),_("div",{class:tt([E(i).b(),E(i).m(t.type),E(i).is(t.status),s(s({},E(i).m("without-text"),!t.showText),E(i).m("text-inside"),t.textInside)]),role:"progressbar","aria-valuenow":t.percentage,"aria-valuemin":"0","aria-valuemax":"100"},["line"===t.type?(v(),_("div",{key:0,class:tt(E(i).b("bar"))},[x("div",{class:tt(E(i).be("bar","outer")),style:et({height:"".concat(t.strokeWidth,"px")})},[x("div",{class:tt([E(i).be("bar","inner"),s({},E(i).bem("bar","inner","indeterminate"),t.indeterminate),s({},E(i).bem("bar","inner","striped"),t.striped),s({},E(i).bem("bar","inner","striped-flow"),t.stripedFlow)]),style:et(E(r))},[(t.showText||t.$slots.default)&&t.textInside?(v(),_("div",{key:0,class:tt(E(i).be("bar","innerText"))},[Q(t.$slots,"default",{percentage:t.percentage},(function(){return[x("span",null,P(E(b)),1)]}))],2)):rt("v-if",!0)],6)],6)],2)):(v(),_("div",{key:1,class:tt(E(i).b("circle")),style:et({height:"".concat(t.width,"px"),width:"".concat(t.width,"px")})},[(v(),_("svg",{viewBox:"0 0 100 100"},[x("path",{class:tt(E(i).be("circle","track")),d:E(u),stroke:"var(".concat(E(i).cssVarName("fill-color-light"),", #e5e9f2)"),"stroke-linecap":t.strokeLinecap,"stroke-width":E(a),fill:"none",style:et(E(p))},null,14,["d","stroke","stroke-linecap","stroke-width"]),x("path",{class:tt(E(i).be("circle","path")),d:E(u),stroke:E(g),fill:"none",opacity:t.percentage?1:0,"stroke-linecap":t.strokeLinecap,"stroke-width":E(a),style:et(E(f))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),!t.showText&&!t.$slots.default||t.textInside?rt("v-if",!0):(v(),_("div",{key:2,class:tt(E(i).e("text")),style:et({fontSize:"".concat(E(y),"px")})},[Q(t.$slots,"default",{percentage:t.percentage},(function(){return[t.status?(v(),K(E(P6),{key:1},{default:D((function(){return[(v(),K(nt(E(m))))]})),_:1})):(v(),_("span",{key:0},P(E(b)),1))]}))],6))],10,["aria-valuenow"])}}})),R3=K2(C6(P3,[["__file","progress.vue"]])),N3=function(t){return R("data-v-6c25d3d0"),t=t(),N(),t},k3={class:"tit"},O3=N3((function(){return x("div",{class:"boxnav people-content"},[x("div",null,[x("div",null,"18-44岁平均身高"),x("div",{class:"man-box"},[x("div",{class:"man-box-item"},[x("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACUlJREFUeF7t3VFi4jgQhGF8spmcbCcnm8zJvJiFbCYBLJuSIuMvr5HbUpV+tVoGPBz8UYACNxUYaEMBCtxWACBmBwXuKAAQ04MCADEHKLBOARlknW6u2okCANmJ0Ya5TgGArNPNVTtRACA7Mdow1ykAkHW6uWonCgBkJ0Yb5joFALJON1ftRAGA7MRow1ynAEDW6eaqnSgAkI6MHsfx59SdYRjeOurWrrsCkG+0fxzHX+fb/3OjGxMor4D5PpMA8g3an8G4BcWtHk2gXID6hl7v85YAaej7SjA+9/BFRmlnGkAaaR2C49Jb2aSRbwBpIHQYDpA08OxyC4BUFvt8MvW70m1styoJC5DKwl7Cj+M4wXE6vq3wZ6tVQdSPIWWQigJXzh62WhW9k0EaiFs5e1xG8DYMw0uD4ezyFjJIJdsbZY9T74fjA5JKw9h9WMJWmgKVTq5u9VYtUslHgFQSttH2Sh1SyT81SGVhGwOiDqnkpwxSSdjxuMeqFPpaWIBUEhsglYSVQSoJ2zgsQCoJDpBKwjYOC5BKgjvFqiRs47AAqSR4Y0B8JquSjwCpJOwUtlWh7kFhPRMBUk/bCZDpG4BLvzm4tEceEi5VbEF7gCwQa03T2llE9ljjSvk1ACnXalXLyllE7bHKlfKLAFKu1eqWlSCxtVrtSPmFACnX6qGW4eci4HjIjfKLAVKu1cMtQ5kEHA87UR4AIOVaRVqevycynWyt+RouOCIulAcBSLlW0ZYLQHmdbuxH46LyFwcDSLFU9RpefpP3U1aZPqHrN3rryV4UGSBFMmm0VwUAslfnjbtIAYAUyaTRXhUASMj5cx2x5mQq1IP3MKe6Rf2SkRUgD+h4fq7xY+WR7QN3Lr7U+0WKpbreECArBAw98Ftx54cu8QxlhXwAWSDaRsH4OEIZZYHfp63qwva7bf4EcHz0TjYpnMkAKRAq/EHDgjs2aQKSApkBMiPSk8JxGTVIZvwHyB2BnmxbdWukILkzBwByQ5yWv85ekOlrN/HNxBsKA+Q2IDXfDFV7wi+NL4sApHzO7Cx7qEdsscrhmFo+eWGuFlkwHWyxPom10+xxUsFPCH0lByAA8QDRFqs8p+50e6UOUaSXQVL7lxDLevF9rWyz/tbeFuvrFqvlm6G+j4RbK6Y35v6lDEA+yLHnAv2DDB4afhADIAD5nEsAApDr+wsZ5KQLQAACkDvFD0AAAhCAlJ2PqEEeq0FOX2E9h5h+0aT226TKXD0cPvZr6e8AyyAySCyDTD8P+jJF6+y7I++fzl3x4BMgAAGILVZZMrbFenCLJYOUTbSttgIIQDwHuUMvQAACEICUJfgVDwoV6WXSbraVDCKDyCAySNkCJoOcdHLM65jXMa9j3rJF0xbLFssWyxarbLWwxbLF+jxTZBAZRAaRQWSQMgVkEBnkzkyxxQIIQAAyl0wc8zrmdczrmHdunfjv/4p0RboiXZFetlqoQdQgahA1yNxqoQZRg6hB1CBz64Qa5ItCtli2WLZYtlhzS6ctli2WLZYt1tw6YYtli3V9jsggMogMIoPIIGUKeFDoQaEHhWWsOMVyiuUUyynW3GqhBlGDqEHUIHPrhFMsp1hOsWYp8WleRboiXZE+u1CcGijSFemKdEX63GqhSFekK9IV6XPrhCJdka5In6VEka5IV6Qr0mcXCkX6/xKpQdQgahA1SNmiaYv1/FusXwtfTy2DyCC3V4/x+D7nsrXl1GoLb5haBMgwDBZNgMQAeV9tO35P+hJA3oFfsEg8dVOrxSd7F0707gGZhrcgK74eE8gElL+zAgC5MhXGcfx93D79nJklf+3VF4JVewL+NdEL+yZ7XHEFINcBmeD45w4kX1bawklYG4xL/Gv9m8Y0gX/tT+a4IQxA7kzZ84cXp4n14/hyyz9T01tbkAAgb8fwr+fuXABdC9TNCX8e0wT/9Hd3TGtv/kzXASTkZgKQYRhezjXDksJaRgh5eC0MQELiAiQkZGdhABIyBCAhITsLA5CQIQAJCdlZGICEDAFISMjOwgAkZAhAQkJ2FgYgIUMAEhKyszAACRkCkJCQnYUBSMgQgISE7CwMQEKGACQkZGdhABIyBCAhITsLA5CQIQAJCdlZGICEDAFISMjOwgAkZAhAQkJ2FgYgIUMAEhKyszAACRkCkJCQnYUBSMgQgISE7CwMQEKGACQkZGdhABIyBCAhITsLA5CQIQAJCdlZGICEDAFISMjOwgAkZAhAQkJ2FgYgIUMAEhKyszAACRkCkJCQnYUBSMgQgISE7CwMQEKGACQkZGdhABIyBCAhITsLA5CQIQAJCdlZGICEDAFISMjOwgAkZAhAQkJ2FgYgIUMAEhKyszAACRkCkJCQnYUBSMgQgISE7CwMQEKGACQkZGdhABIyBCAhITsLA5CQIQAJCdlZGICEDAFISMjOwgAkZAhAQkJ2FgYgIUMAEhKyszAACRkCkJCQnYUBSMgQgISE7CwMQEKGACQkZGdhABIyBCAhITsLA5CQIQAJCdlZGICEDAFISMjOwgAkZAhAQkJ2FgYgIUMAEhKyszAACRkCkJCQnYUBSMgQgISE7CwMQEKGACQkZGdhABIyBCAhITsLA5CQIQAJCdlZGICEDAFISMjOwgAkZAhAQkJ2FgYgIUMAEhKyszAACRkCkJCQnYUBSMgQgISE7CwMQEKGACQkZGdhABIyBCAhITsLA5CQIQAJCdlZGICEDAFISMjOwgAkZAhAQkJ2FgYgIUMAEhKyszAACRkyjuPPw+Hw+4Fwr8Mw/JquD8D2MgzD2wN9celZAYAEp8J4nNkPhHuf1AB5QMXwpQAJCpoC5JxFVsM2HFNRcFi7DkXIoP0PrPxvwzC8fOzKA7B9iRUc4u5CASRs+cqJ/aVmeKCmUX8EPQVIUMyVBfZ7cf65Kysy0s1Y4WHuJhxAKli9YPWfndALIJmNVWGoTx8SIBUtPk/uH4fDYToCvvxNx69/Lke6pbcfx/FyhPxwrNJ7anc4AKTRLJiySurZRDJWo+Fv9jYA2ax1Ot5CAYC0UNk9NqsAQDZrnY63UAAgLVR2j80qAJDNWqfjLRQASAuV3WOzCgBks9bpeAsFANJCZffYrAIA2ax1Ot5CAYC0UNk9NqsAQDZrnY63UAAgLVR2j80qAJDNWqfjLRQASAuV3WOzCvwLY3N4I396xMQAAAAASUVORK5CYII=",alt:""}),x("div",null,"169.7厘米")]),x("div",{class:"man-box-item"},[x("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACxtJREFUeF7tnWGamzgQRM3JkjlZkpNlcjJ2GIMXY7DUrRIC+uXXfmvRoCo9uiUB0934hwIosKlAhzYogALbCgAIowMF3igAIAwPFAAQxgAK+BQgg/h046ggCgBIEKPppk8BAPHpxlFBFACQIEbTTZ8CAOLTjaOCKAAgQYymmz4FAMSnG0cFUQBAghhNN30KAIhPtypH9X3/cwjcdd1nlRMQ1KwAgJgl0x3Q9/3vMdqvjagDKH+ARqe5NRKAWBUTtB/B2IJi6wyfXdd9CE5PCIMCAGIQq7TpWEL9LYzzp+u6KfMUhuLwlAIAklJI9Lsza2ydHUhEvqTCAEhKIcHvosyxvBIgEXiTCgEgKYUKf68Ex3RVQFLoT+pwAEkpVPh73/fDnON7+bbGv+5rQlIjLjHvCiBuxZFQOXuQRSp6N4UGkIoi184eDxPJItVcBJBK0u6UPcgilfwjg1QWFkAqC7xTeDJIJaH3Kq8osyoZOIYFkEr6AkglYXcOCyCVBAeQSsLuHBZAKgkOIJWE3TksgFQSHEAqCbtzWACpJLj44cTUVfIofEoh5+8A4hQudRiApBQ6x+8AUtGn/ouSiuHnoT94TbeO0gBSR9fvqDtlEcqrih4CSEVxR0hqZxGyR0UPAaSiuDtkEbJHZf8ApLLAIyRV3gnhXZD65gFIfY2n+YgaEkqrHbwDkB1Enk4h2jz8/lYWq1b7GAcg++j8OEvhyhbvoO/sF4DsLPg4JxneUR8+HJf7rvrwdcVhQs4nSXf2C0B2Fnx5uvHFqgGUH7Pf/k3/zUfi2hoEIG315+wHVwBADm4Ql9dWAQBpqz9nP7gCALKTQdPf/lCejkm7Us31WABSQeNxKXeYdOeuUpVeBX9HpFTBjeMBRCRs4f6G6Cq+w7CRKFQTQArFnC3TWv8gTuGZk4fzIGNSonQDAElrtNniQFnjXS94ZqvAYwBxincSOKbe8YiK02cAcQh3MjiAxOHxdAiAGMU7KRxAYvQZQByC7fxBascVZh3CnCRLpnsjMohBrB2/UmK4KnNTVrcMkgFIplgnL62WvWTSnuk7gGQIdZHS6qmnvM+eYTwlVp5IF8seTNjzbGcOkquT6F3y3NPt1o4skpaaEiuh0RXLq1mXWdFK+A8gsQFhsg4g6TT6rsVVy6uxzyz5AkgxILW/rVt2gYVHMw95LyAl1ht9Lj7/YDUr4+YCIO8BUX8uNMOS3ZswD3kjOYC8B8RaXs0/7LbX67ZTD9znpszaHgQAsqGNo7x6THgdxxanjfkgdywskEU2HACQbUCs5VVTQMYPWv8euuPY+QcQALHdpB134cemm+NY28Wtt34Mck8Go8xaF5UMsqJL6QBr9Vj8osyyzp/YVV8ZCwCyDshQqli+UtK6vJp6Mc9i1j5QZgFIXiXjKJFal1cvexqOeQi76gCSBuSs5dXYs6dBbi31mIe8jg9KrIUmDkCOUl5992QxD6HMSt8T37YAkFdArMu7JXV/oX2rh89Xs6yAUGYtJAWQV0Dcqz+OuUtVQMY9EVN/KLOeLQGQmR4l5ZVnMNagY6XMsmZEVrNmxgDIMyDWwXSo+cesKyVlH4AAyPq927rqc7vdjrK8u+wQu+qi9EwGGYV0lFfLFSNTrS/ybytM0XLv/Lmuytd5+PAA8j8gVymvWO4VYgcgfkCOWl5Nw6NkufcpOwrH2+lCAcj98fDh5aYhg1j+nQYQ5wobDy/yZcU7Dw5Ajrp69QQ4L1FZ7nfrbckgd0Cs84+iVaJy27IjlCz3sqtOBnlkEOsK1NHLq5d5iKfMYledvw9SVF55Bl32vV/TkOXeQh3Dl1iO8uoU849pXPB0bxkhAPL1ZpFRwrOUV2vLvebVuuhlVmhAHKtXy91z6+TeyKKk+dOzVY7HaUI/mxUdEOsAP1V5RZlVfoMBkNvN8gXEeXllLlfK7XJHYFfdKV1YQDzl1YGf3k3ZX1pmhd1VjwxI0euojlo+NYir/s6uuk/eyICEmH+I5iFhd9VDAhKsvGK515c8vo8CkEzxCkuUzLNUbcauukPeqICEKq8osxxkjIdEBaRk9/xMy7vLkcFyr5GVcIB45h8XKK9e5iHD/3CsxIVb7gWQ9B2ltHZPn2HHFoUPLwLIjl41OZXjq+dn3T3f0rfkJapwz2VFzCDWDcKzPb2buvGU7KqTQVLqXuF3Q+29LK+sq19HlGvZp+wbRsRH38NlkHFymjsorlZe3Te/uu7J98wbRrjyKuxG4QhJKhssS5EzL+9uLvdm3jB41OSItUDta3ozYX+5Wzpeza19+SXx1/o33ACGv8u4fPw/ZOZ4bK6WqHyVY8e9kaH0+NzqU2YZchpJtuYTkxZjKbapx2k6WnihIecgVs08m4vWczRoH25FyqMxgGSodrHyaupx6NIpw/b7gkZuw8jtLgpI2Im3ZSwDSEKti5ZXq8u9loETpS2ABAaEP5STxhxA0oCk9kvSKh+3BfOQhDcAkgbE+u7IcXFYubKIj49YDAKQN2pdef4x6zZZ5M0YAJD3gFy5vGK5NyOVAAiA8PcIySAZt4pFkyDlFcu9TNLtcAxHRAKE5d7tMUKJtaHNRXfPt0YCE/UNZQBkG5BLL+8uu81y7/pAAJAVXYKVV6xmMUm3zUOClVcAAiBmQEKVV5M6lFmv44QSK/Dy7sptg5eoFqIAyCsguV88saWlc7RmNQtA3o/UoPOPSRReogKQJCAh5x/MQ1jmTRY5QZd3l7pQZs0UYQ4yE2MExPJnodeg+7HybakknMPjHotGwzeqrP+WMazHD+2HMiv8534eGdWjIMdsK+DNQs7PgT5dCMu0+pFJBhFrCiBiQRuHAxCxAQAiFrRxOAARGwAgYkEbhwMQsQEAIha0cTgAERsAIGJBG4cDELEBACIWtHE4ABEbACBiQRuHAxCxAQAiFrRxOAARGwAgYkEbhwMQsQEAIha0cTgAERsAIGJBG4cDELEBACIWtHE4ABEbACBiQRuHAxCxAQAiFrRxOAARGwAgYkEbhwMQsQEAIha0cTgAERsAIGJBG4cDELEBACIWtHE4ABEbACBiQRuHAxCxAQAiFrRxOAARGwAgYkEbhwMQsQEAIha0cTgAERsAIGJBG4cDELEBACIWtHE4ABEbACBiQRuHAxCxAQAiFrRxOAARGwAgYkEbhwMQsQEAIha0cTgAERsAIGJBG4cDELEBACIWtHE4ABEbACBiQRuHAxCxAQAiFrRxOAARGwAgYkEbhwMQsQEAIha0cTgAERsAIGJBG4cDELEBACIWtHE4ABEbACBiQRuHAxCxAQAiFrRxOAARGwAgYkEbhwMQsQEAIha0cTgAERsAIGJBG4cDELEBACIWtHE4ABEbACBiQRuHAxCxAQAiFrRxOAARGwAgYkEbhwMQsQEAIha0cTgAERsAIGJBG4cDELEBACIWtHE4AKlgQN/3vTHsZ9d1H/NjHDFuXdfhp1H4VHMETSnk+L3v+7+32+2n4dA1QH7fbrdfJTEMx9J0QwEAqTA0vhKIdXB/dF33ucggxTEqdC1cSACpZLkhi7xkj+mSDKBtxqjUvTBhAaSS1eNkfSiR3pVayYGdCdpLBqrUrXBhAaSy5WMW+LEAZSin/n3NqYcyKvlvI8Zw3J/cGMmT0GBVAQDZcWAMWWU517CeXhHDes7I7QEksvv0PakAgCQlokFkBQAksvv0PakAgCQlokFkBQAksvv0PakAgCQlokFkBQAksvv0PakAgCQlokFkBQAksvv0PakAgCQlokFkBQAksvv0PakAgCQlokFkBQAksvv0PanAfyPSgxQmo/tjAAAAAElFTkSuQmCC",alt:""}),x("div",null,"158.1厘米")])]),x("div",null,"与2015年相比分别增加"),x("div",null,[x("span",{class:"largText"},"1.2厘米"),ct(" 和 "),x("span",{class:"largText"},"0.8厘米")])]),x("div",null,[x("div",null,"6-17岁平均身高"),x("div",{style:{"margin-top":"15px"}},"与2015年相比分别增加"),x("div",{class:"man-box"},[x("div",{class:"man-box-item"},[x("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACLZJREFUeF7t3Q12m0gQRWGxsolXlmRldlbGuB0UO4pkiaIw/fP5nDmZzKgLuMXt14AkTyc/CCBwk8CEDQII3CZAEGcHAp8QIIjTAwGCOAcQiBGQIDFuRg1CgCAHNnqe5x8Xm//vw99/Lf/+Mk3Ty4G7OfSmCfLF7V+kKCJ8W7npIsnPMoYwK8lteDlBNsB7dOg8z0WG8s/3R8fced2bLERJoukifX+Qt7awJEaWGJebIcrOrZUgOwHeWYzLvS5pcnk9s9ORjVWWIDv0+4vlOB8BSXboJUGSoR4kx/koyh2vp+RDGrocQRLbP8/zc+DuVOIevJUiSSJRgiTBPDg5XJMk9fGyDEESwFYmh2uShJ6eSxBkI8zlGUdZWtX448J9Y1cIshFgJdcdt47C9cjG/hJkA8DK08NSa0NvLbES4FWeHn+OcHp9iphwuEOWAC7Y9kbSQ4oE+ytBNoJrJT2Ww3SxHuy3BAmCm1/v7QaHHjLMMiuGnSABbo0tryyzAj22xNoArbHlFUE29FqCBOA1KohnIoFeEyQArbXrjz/LBbd7V3ebIKuRnU4ECUBrdAhBAo0jSABao0MIsrJxjd7BOh/lky96WNdwgqzj9fZqCRKA1ugQggQaR5AAtEaHECTQuEYFcZs30GuCBKB5DhKA1ugQggQaV+lHbO8diQS5R+jK/ydIAFqjgriDFeg1QQLQWryT5d28sUYTJMat3OotX/W513fuBvfq5jDLqyBRggTBNSaI5VWwzwQJgluWWS2kiPTY0GOCbIDXSIpIjw09JsgGeA2kiPTY2F+CbARY+R0t6bGxvwTZCLDiFCFHQm8JkgCxQkl8zU9SXwmSBLIiSciR2FOCJMKsQBJyJPeTIMlAD5SEHDv0kiA7QF0kOf9e9PLn3j8uyHciTJCdwJ7L7vwwUWrs3D+C7Ax4J1GI8UV9I8gXgf4gynnpVf7TmuXXz+U32L588S4PvTmCHNj+5SuEzntwTZY3GXxVz3FNIshx7G25AQIEaaBJdvE4AgQ5jr0tN0CAIA00yS4eR4Agx7G35QYIEKSBJtnF4wgQ5Dj2ttwAAYI00CS7eBwBghzH3pYbIECQBppkF48jQJDj2NtyAwQI0kCT7OJxBAhyHHtbboAAQRpokl08jgBBAuyXt6mv+SxHYCupQ7xtPoiTIA+CWz46W17dyq88uHZk5w9blU8k+uDVA70nyB1InYhxSxai3Ok/QT4BtPMXLjwwf33JS3y+/RPMBLkBp9HfZBs1yrfA3yBHkCtgBpPjDwG/x/Dfk4EgF0xGlWPBIEkuzgeCfAAyyDXHvWWYa5IPhAiywFiebTzfO3sG+f8kWRpNkHdBihwtPfzb01WCEOT9/JIeV10jSfnSvj2noVZqD35hfqtNBCHI73ODINcdcdtXghQ5ynWHi/Prjgz/e0eGX2IR5NOF8PDLLILM84/G36G756UeQfak20JtDwclyGcEJIgE+ez8kCAtzPJ77qMEkSAS5BMCBCEIQQgSDWFLrCi5XsZJEAkiQSRIdD6TIFFyvYyTIBJEgkiQ6HwmQaLkehknQSSIBJEg0flMgkTJ9TJOgkgQCSJBovOZBImS62WcBJEgEkSCROczCRIl18s4CSJBJIgEic5nEiRKrpdxEkSCSBAJEp3PJEiUXC/jJIgEkSASJDqfSZAouV7GSRAJIkEkSHQ+kyBRcr2MkyASRIJIkOh8JkGi5HoZJ0EkiASRINH5TIJEyfUyToJIEAkiQaLzmQSJkutlnASRIBJEgkTnMwkSJdfLOAkiQSSIBInOZxIkSq6XcRJEgkgQCRKdzyRIlFwv4ySIBJEgEiQ6n0mQKLlexkkQCSJBJEh0PpMgUXK9jJMgEkSCSJDofCZBouR6GSdBJIgEkSDR+UyCRMn1Mk6CSBAJIkGi85kEiZLrZZwEkSASRIJE5zMJEiXXyzgJIkEkiASJzmcSJEqul3ESRIJIEAkSnc+epml6iQ7uYdzUw0FsOYZ5nr+dTqfnLTU6HkuQjpv78KHNr+ush1880AunaRp+Ah0eQDnf53kuCVKSxM87gZdpmp5GB0KQ34L8eP3j++gnw8XxD7+8KjwIspwVlll/6SE9FhwEeRdEirw7Ij0I8u+CSoq8MZEeH04NCfIBhlu+p5M7V39PnAS5CJLBL9gtrS7OB4JcuXU1qCTkuHIuEOTGvd2BllvlrSTlTYlDv6Xk1i1+gtx5+NH5Q8Th361779kXQe4R+v0gsTxlLw8Se3naTowH+u5B4YOQzi9bRCl/PT91b0GYsnT6tRxDuYVrKbWi7xJkBaxrL635WsUt243N9VaT7QBLhVofMBJke38lyHaGBElgWGsJgiR0RoIkQKy0BEESGkOQBIiVliBIQmMIkgCx0hIESWgMQRIgVlqCIAmNIUgCxEpLECShMQRJgFhpCYIkNIYgCRArLUGQhMYQJAFipSUIktAYgiRArLQEQRIaQ5AEiJWWIEhCYwiSALHSEgRJaAxBEiBWWoIgCY0hSALESksQJKExBEmAWGkJgiQ0hiAJECstQZCExhAkAWKlJQiS0BiCJECstARBEhpDkASIlZYgSEJjCJIAsdISBEloDEESIFZagiAJjSFIAsRKSxAkoTEESYBYaQmCJDSGIAkQKy1BkITGECQBYqUlCJLQGIIkQKy0BEESGkOQBIiVliBIQmMIkgCx0hIESWgMQRIgVlqCIAmNIUgCxEpLECShMQRJgFhpCYIkNIYgCRArLUGQhMYQJAFipSUIktAYgiRArLQEQRIaQ5AEiJWWIEhCYwiSALHSEgRJaAxBEiBWWoIgCY0hSALESksQJKExBEmAWGkJgiQ0hiAJECstQZCExhAkAWKlJQiS0BiCJECstARBEhpDkASIlZYgSEJj5nl+TiiTXmKapqf0ooMVJMhgDXe46wgQZB0vrx6MAEEGa7jDXUeAIOt4efVgBAgyWMMd7joCBFnHy6sHI/A/MQ429mWzRzEAAAAASUVORK5CYII=",alt:""}),x("div",{class:"largText"},"1.6厘米")]),x("div",{class:"man-box-item"},[x("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACS1JREFUeF7tnQt2m0gQRcXKkqwszsrirIwYCRysSILqfk1XUdfnzBlPBkpwHzdVfCQNF34gAIGnBAbYQAACzwkgCEcHBF4QQBAODwggCMcABMoI0EHKuLFWEgII0jHocRy/r15+/fvyx+/TL8MwXP/Nz/EEEORg5rMUP+eXfSTFsy36NcvydvAmp345BDkg/pUUFiFebdmvYRgQ5YDsEKQx5HEcpwN56RjqV0MUNdG7egjSCHBjMe63GlEa5YggDcAeLMeyB0jSIEsEEUMdx/H35XJRnWtYtw5JrMQ2lkcQIdDOcnxeGh6G4Ydwt1KXQhBR/J3Gqmdb/44kmmARRMDRmRyckwgyXUogSCVMp3IgSWWuCCICOH4YIirVpMzwcUexSeEkRYFXEbTz7sFJe0W2dBABPO/dY7WLP3jgsSxwOkgZt0uQ7kEXKcyXDlIJLlD3uO4p5yJlgdNBCrgF6x7LHjJmFWSNIAXQggrCzcOCrBGkAFq08epznuaSrzltBDEim9/8ND2QGPGHMcuYGoIYgSGIEVjwxRHEGGDQ8w9O1I05c5m3EFhwQXi/iDF3OogRGIIYgQVfHEGMASKIEVjwxRHEGGDwk3RGLGPeCGIEFlwQLvMa80YQIzAEMQILvjiCFATInfQCaEFXQZCC4Jx8eol1yzn/sBKbnoIuWCf9KkHHLAQpOHIRpABaREF4P0hB0HSQMmjTWsHGLLpHYdR0kEJwwboIghTmjCCF4AJ1EeSoyBhBKuBF6CKce1QEzDlIHby5i7T8gpzaDaR7VBKkg1QCdDxq8R50QbYIIoDoUBLkEOWKICKQzs5HeChRlCuCiEDOXWT6ZqmeH+gwfZ/6dN7B96qLckUQEch1mU5vqmKsapAlgjSA2uHqFlerGuWIII3AriSZfm31PemMVA3zm0ojSGPAjURBjANyQ5CDIC8vM1/pmk7kvxV8VfRVimtonIQflhwd5DDU/7/QfDK//h+TOMvPn/mX6xUppOgTFIL04c6rBiGAIEGCYjP7EECQPtx51SAEECRIUGxmHwII0oc7rxqEAIIECYrN7EMAQfpw51WDEECQIEGxmX0IIEgf7rxqEAIIEiQoNrMPAQTpw51XDUIAQYIExWb2IYAgfbjzqkEIIEiQoNjMPgQQRMR99V4PUcWqMtP70/nghiqEt5URRACx04c0bG05H+KwRWjH/0eQHZBeLeJUjmWT+TCHynwRpBKgc0HoIpX5IkglwABf6MmnLFZkjCAV8Jx3j2XP6CIVGSNIBbwggkwf+EDOhTkDrhDctFqA8WrZO8aswpwRpBBclO4x7x5jVmHOCFIILti33DJmFeaMIAXgnH0XyN49YMzaS2q1HIIUQAs2XnE1qyDjZRUEKYAX6OT8y95xNcseNoIYmQXtHlzNMuZMBykEFlwQrmYZc6eDGIFFHa9Wu8nJuiFzBDHACt49GLMMWTNiFcA6iSCMWYbs6SAGWCcYr+gihrynRRFkJ7CTdA/uiezMmxHLCCraoyUbu8eYtTN/OshOUCcarxizdmbOiLUT1MnGK8asnbkjyE5QJ+we1z3n0ZPtA4ARa4NR0Cd3t5O/LcFNww1SCLItyNvHmwd/7j3igi3HyTqC1B2yZx2vPi9j8n71lwcIHeQFnpOenN/vMWPWi2MAQRCEMQtBysass49XKyp0kSeHCB3kCZgk49Wy9wiCILYukkwQxiwEMQsy2tYIvzRd5EGEjFgPoCTrHgsBvioBQfb9LX+yJ3f37fTlwpiFIPuOlURXr7gnwp30fVIsSyUdr5bdp4vcHS6cg9wBSdw9riR4wvfrAYEgKx7Juwf3RDgHeT1uIciVD2PW6jChg3ztINnufTz8G4Mx6x8WBJlZ0D2+uMJNwxkHgiDIoy7CmIUgX4+L7Fev7i1hzLoRoYPcvozzzG+rtd0I+rc0YxaC3I4GBHnoEGMWgnwKwtWrx30mfRdJP2LRPV5OYOmf8EWQD0NKh/QE66Ufs1ILcvIPhVP5m3rMyi4IV6+2NUrdRbILwni1LUjqJ3zTCsLJ+Q4zuCeS90YhgpgESTtmZe4gjFcGR7I+epJSELqHwYzkYxaCFB0rKVdKOWZlFYTxqszxdPdE0gnCeFVmxrwWglThC7By0g+FUyWTbszK2EEYr+p0SdVFUgnCeFVnxrx2qi6STRC6R70jCFLP0F8FntyVZpJmzErTQRivpIKk6SKZBGG8EjqS5dGTFIIwXgnNSPboSRZBeGOU3pEU71fPIsjvjw9l/q4/RlJXTHEekkUQzj8auJzhPARBGhw4WUoiyEmS5nN32wSJIG24Hl4VQZog5xykCdYORXmCtwl0rmI1wdqhKII0gY4gTbB2KMqNQjn0FHJM1FJcxZp2lGexpJLwsKIUp5NiSCIJIk33SNVBlkMDSaokSdM5FkppRqz1YYEkZklSdY01nZSCrLrJ9HzW9M+3+c94XutyeV8dIJMY6/82mxV9hdSCqMJzeiMyxY08VYbP6iCIgDCCCCA6LYEggmAQRADRaQkEEQSDIAKITksgiCAYBBFAdFoCQQTBIIgAotMSCCIIBkEEEJ2WQBBBMAgigOi0BIIIgkEQAUSnJRBEEAyCCCA6LYEggmAQRADRaQkEEQSDIAKITksgiCAYBBFAdFoCQQTBIIgAotMSCCIIBkEEEJ2WQBBBMAgigOi0BIIIgkEQAUSnJRBEEAyCCCA6LYEggmAQRADRaQkEEQSDIAKITksgiCAYBBFAdFoCQQTBIIgAotMSCCIIBkEEEJ2WQBBBMAgigOi0BIIIgkEQAUSnJRBEEAyCCCA6LYEggmAQRADRaQkEEQSDIAKITksgiCAYBBFAdFoCQQTBIIgAotMSCCIIBkEEEJ2WQBBBMAgigOi0BIIIgkEQAUSnJRBEEAyCCCA6LYEggmAQRADRaQkEEQSDIAKITksgiCAYBBFAdFoCQQTBIIgAotMSCCIIBkEEEJ2WQBBBMAgigOi0BIIIgkEQAUSnJRBEEAyCCCA6LYEggmAQRADRaQkEEQSDIAKITksgiCAYBBFAdFoCQQTBjOP4JiijLvE+DMO7umi2egiSLXH210QAQUy4WDgbAQTJljj7ayKAICZcLJyNAIJkS5z9NRFAEBMuFs5G4C+HcFj2qmcdhAAAAABJRU5ErkJggg==",alt:""}),x("div",{class:"largText"},"1厘米")])])])],-1)})),B3={class:"tit"},z3=N3((function(){return x("div",{class:"weight-text"},[x("span",null,"超重肥胖率继续上升"),x("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADD5JREFUeF7tnWl64zYMhuWbTE4y9ckmOVmck2Ru4o5kO160EAS4gNTrH+3ThiKpD3gFgNRyGPhVVeDz+/zfNIHD8OdhIpf/Nwyn6Z/n4Wv81/Ht8F51sjsc/LDDc3ZxyhMYFyhuMEjndRqBARapXLZ2AGLTL/poAxjzsc7DB6BEmyDqAACJksvW+PPv+VMRMUKDno6/DsdQI/6uUwBAdLpFHXWNGiMc+X7n4Xh8O1xqFn7JFACQZFIud/T5fX5/KcDzjUjKlVxbAEku6b3DIpHjdf5EkqQWBZCkcj539vn3fM7Y/WrXx18H7JpIeIRMJORrN5kKculsKdylSgXaAUgiIR+7KVp3rM2fVCuJZQEkiYw+UquXUyGKJLAtgCQQ0V30uE2IKGK2LoCYJZxFjxybgdpZEkW0yl2PAxCjgAvFeZWVq9XTIIqYLAwgJvleokfJTUHpvAFEqtRiOwAxydcAIMNAmmWwMYAYxFtIrzzVH7fpAYjBxgBiEA9AEorntCsASWiYWreWhE6BW09CCq3/HUD02s2OBJCEYjrpCkASGqLy/VdrZ0INYrAxgBjEowZJKJ7TrgAkoWFcRhAeojJZGEBM8s32QcY3leR9tDZ2vgASq9hTewAxyecfEFawbAYGEJt+SytZnjYLKdCN9gUQo4CzQv3yQjgfaRbpldm6AGKWcN6Bl2Kd9MpuXACxazhPszxEEaJHEssCSBIZ3UURao9EdgWQREIudVPr1hNSq3RGBZB0WvpItXhAKqlFASSpnAupVsmnDKk7klsTQJJLughJ/qVfIkcWSwJIFlmXO820/EtBntGGAJJR3MXCPV3KNX5pavyADp88yGhDAMko7lbX19eT/lZ8UAcwCtoMQAqKvTbUBMv4OwwjMOPv+SOe4/85Dx/jv4gYZQ0GIGX1ZrTGFACQxgzGdMsqACBl9Wa0xhQAkMYMxnTLKgAgCfWevkl4K7LvBfdthNvfEo741NV9ufc8fF3/cqKot8kNIAb9rkCMu+Sa5VrDyIpD76tglxUzfiIFAEQk073R9cu1fxT7F5EjZW4OMCKBAUQgUzdQrJ3rBRbSsQV9AGQDEBcf4xQAnKwJUWUmJYAseFf3ESNEFLfN/ygEIA/OsnswXsEBlAFAhmEAjEBI2TEouwdkd3VGKL1a//sunzvZNSCZHmDSu2ALR+4smuwSkGtK5ePthy1AsePaZHeAkFIlI3IXD27tChDgSAbHvaPOXxaxG0CAIwMcty47hmQXgFCMZ4Sjc0i6BwQ4CsDRMSRdAwIcBeHoFJJuAaHmqABHh5B0CQhwVITjMnQ3u+7dAQIc1eG4TKCTHff+APl7PjtxEabRASRdAUJR7pDJxvdIugGE1MohHB3UI10AAhxu4Wi+HgEQ577VzfQaTbWaB4To0QxCTS79tg8Iq1bNEDI0GEWaBoTo0Q4b15k2F0XaBoTo0RwhrUWRZgExRo/pabjRu8aXOz+8Y3d8pSi/ZQVGzb4SvIe4qSjSLiDa6LGxu2uErlewZo/Wmp/pb6gWaRIQiyMffx02z5nd+GfO1/QyQtJMFNkXIIJ7gwDkAZCAXhatQhcqL+G4TUCU6ZXEKJbo5MWoqeYh0ktpi1aK9eYAUTuwIHqMjqXuP5VXOupHCMj4fjHN17OaSLPaA0R/xfo4vh2CX1f61PbvyLFTTUUEyPjZucOgewlfA8V6U4BYCkOJsacIAiA/fGXXTBjVUwGv6ac1QN6HwxC/VyE0hAVAjfjujxFe4Q3Fuvs0qy1A/p51+a7U0JZ0wb23KyZYQDdplFLMPskhrQGiepxWagQiyItPCQExpaYRYyTx+MhOmgHE4rwRgOhSuEjRm2ke4bzq2i1ijBq6tQSI1nnFeS5LvLMIIlr5u0YQXfrr/BVBAPLgEwACIK9Rqh1AtMuvwhUs41WwRvTPP2Yh7aQpcP4Tno8AII8RRLtKVsNyZcYskp4CSAJjGorAmDxatUqW4PS8dlEEEM/3ZRFBniMIgDyjCiBeL12P87Is8ca8I1YdpVoQUTlHafpjWuBwvNTbRAQpAYhpDKXztXAYgDRgJePVSVSDAMiyIwAIgEwKAEhVQEQXsRqu2kqKpd1FF3+nwhSlaliu1JjC+sCkX8R+S6nTvo0DIFclTAYubbWS4wFISbV1Y5mcV3h1Mo2hO602jgIQ/3YyOS+A2AwMIDb9ShwNICVUXhmjxAVGOEYNFahBbjUI92Et+5/QeUtcxABkRYES4hueq65ht3JjAkg5rbUjAYhWuQTHAUgCETN3UQgQblRctqPohsUSNsrsZovdU4PcaxAAAZCZAgACIKELMxEkpFDtv5cI39zqvmplAKkNQGh8AAkplPXvAJJV3gSdA0gCEQ1dSG55L2EjwymoD6UG4Vb3oPMASFCiug1Mz2oI1vFN/deVpsjoQkAsn0HgeRCrJdVFtOBmOwDZto4EkLGHnDay+o/2+CZSrKv4qldbSowLIIkA+T6rHmyT2Ejr4Nbj2gFE82kCQXo1wafp26p8S8cLovDtdKLvaRPaqJZczQBydWT5FSpCeAAJuF8MIDEXmwgbAYhQAdFyYqTwAJIOkIeIPH4JbP3jnpE2ErpH8mZNRZDHs59AGX/3T7Kd/r3C8kvyoc5XFUXQJZe+oQ4jIkguG9VSq1lAUgoGIGkjSErb1O4LQPg2etgHlREk3LH/FgACIGEvBZCwRj23IMUixVpTgAhCBAlf+4ggYY16bkEECUYQt/dK5fZLIggRJOxjjexZhE8kvgWAAEjYawAkrFHPLUixSLEo0jd8AEAABEAARJ8EkGLptevhSCIIEYQIQgTRX8uIIHrtejiS292JIESQ7Qiif+FAD1eI0DkQQUIK9f13IggRhAhCBNFf5Yggeu16OJIIEowgx+Pb4dSDrWPPgVtNroqp3+kUq3iL7bmbt0WrpZ0zgGzoCSBpna3F3gAEQJYUIMW6p1iqNze2eDGInbPnNx/GnktsewABkKDPAEhQov4bRL8ys39Jfs4QQHZk7LVT5YbFVScQfWGqVxcixbqlWMo3k/fqGA/nBSA7MHLwFNksJIKwirWBCYCsiLPj20xGRUix7ikWd/QuMQIgwexjFw2IIEQQUqwA6k5206fPOExTvX/aod5Fase3mZBivbhddUAWnLH68jOA1Ls4eRu56mbhRq5fc1573iQkgswjSLX7sbYcEUDqXUpZxXrQ3qsj1kyziCD14HQ3sldHrDivXe+ik2K9plgVbzfZTLHqzQtA3F3GK06o5l6IS0B2vklIBJlHkGq76QBS8cq4MTRFupO9EAABEJ8KAMi6XXa+SUiKteAatZZ6PUaQvS/xAgiAbEZ1AOF295mDEEHukgAIgMwBqbTn4DDF2v0eCCnWUor1fa6y1OsOEPZAJu9gmdfJXgiA+FzkBJDlQv1c2lwAUlpx2XgAAiDLnsIeCCnW2jWkxkqWtwjCCtbFO4ggTvZCAESW8pRuBSDLK1nvpV+Y4AwQlnivfgEgTpZ6XQHCEu+PVwAIgMwVABAACeWypV8B5CyC7Pajna9+QQRZIaX0SpYnQFjBujsFgADITAEAAZBQhjWUfpOIowjCCtaDdxBB1iJI4ZsW3QBCgf7kEQACIM8KAAiABPOra4OSK1mOIggrWKRYMkRKrmR5AYQC/dk3SLE2WAEQ2YWk51YAsgVIwULdSQRhBevFHwAEQO4KUKDPvAFAAvlBqULdRQQBEACJzZdL1SEeAKFAn3sHESQcQYp8dQpAYi9dZdoDSAiQQoW6A0Ao0Bd8AUAEF6ISdUh1QKg/Fj0BQGSAZE+zAERgiApNAEQgeolCvTYgFOjLjgAgEkAK1CEAIjBEhSYAIhC9xLcLqwJC/bHqBQAiAGRskjnN2lxByg4ogACIkIPVZlkBEThozpU06o917yCCCMnJeRWXOGhGQNn/2PABABECki3NEkSPaexcCwXC8SNk6qopgESYM4OTRl29M7xIImr8CKm6aQogkaZMConiEwMpUy1JahcpT3fNAURh0iRXcgUct6kmGv/j+HZ4V5z+rg4BEKW5DZHkNFzy/pNy6OkwEyQGOC1zbvFYADFaLcJRk4DxON2IsW+HJZ+DUT73hwNIIhNNzjr+DsPvYRj+u3Y7OuTXv/8+WSPG1jQfxv6z0g4wlHYGEKVwXg+bUr8LoD8pXE44veqQal7/A0k3DjKeVrGjAAAAAElFTkSuQmCC",alt:""})],-1)})),F3={class:"box card fadeIn delay06",style:{height:"calc(33.33% - 10px)"}},V3={class:"tit"},G3=u({__name:"townDialog",setup:function(t,e){var n=e.expose,i=c(!1),r=c({}),o=c(),a=c(),s=function(){var t={color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"#00fefb"},{offset:1,color:"#0063ce"}],global:!1},grid:{top:"30%",left:10,right:0,bottom:"30%"},xAxis:{type:"category",axisTick:!1,axisLine:{lineStyle:{color:"rgba(255, 129, 109,.1)",width:1}},axisLabel:{interval:0,color:"#08DFFE",fontSize:12},data:["成年居民","6-17岁","6岁以下"]},yAxis:{show:!1,type:"value",interval:1,axisLine:{lineStyle:{color:"rgba(255, 129, 109, 0.1)",width:1}},axisLabel:{color:"#fff"},splitArea:{areaStyle:{color:"rgba(255,255,255,.5)"}},splitLine:{show:!0,lineStyle:{color:"rgba(255, 129, 109, 0.1)",width:.5,type:"dashed"}}},series:[{data:[50,19,10.4],type:"bar",barWidth:"40%",label:{show:!0,color:"#08DFFE",fontWeight:"bolder",fontSize:12,position:"top"}}]};D_(o.value).setOption(t)},l=function(){var t=D_(a.value),e=["#0090FF","#36CE9E","#FFC005","#FF515A","#8B5CFF","#00CA69"],n={backgroundColor:"rgba(0,0,0,0.2)",color:e,legend:{right:10,left:0,top:10,textStyle:{color:"#fff"}},tooltip:{trigger:"axis",formatter:function(t){var n="";return t.forEach((function(t){n+='<div style="color: #666;font-size: 14px;line-height: 24px">\n <span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'.concat(e[t.componentIndex],';"></span>\n ').concat(t.seriesName,".").concat(t.name,'\n <span style="color:').concat(e[t.componentIndex],';font-weight:700;font-size: 18px">').concat(t.value,"</span>\n ").concat(1===t.componentIndex?"岁":"%")})),n},extraCssText:"background: #fff; border-radius: 0;box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);color: #333;",axisPointer:{type:"shadow",shadowStyle:{color:"rgba(0,0,0,.2)",shadowColor:"rgba(225,225,225,1)",shadowBlur:5}}},grid:{top:"10%",bottom:0,containLabel:!0},xAxis:[{type:"category",boundaryGap:!1,axisLabel:{formatter:"{value}年",rotate:30,textStyle:{color:"#fff"}},axisLine:{lineStyle:{color:"#fff"}},data:["2010","2011","2012","2013","2014","2015","2016","2017","2018","2019","2020","2021","2022","2023"]}],yAxis:[{type:"value",name:"单位:万千瓦时",axisLabel:{textStyle:{color:"#fff"}},nameTextStyle:{color:"#fff",fontSize:12,lineHeight:40},splitLine:{show:!1},axisLine:{show:!1},axisTick:{show:!1}}],series:[{name:"疫苗接种率",type:"line",symbolSize:8,zlevel:3,lineStyle:{normal:{color:e[0],shadowBlur:3,shadowColor:u(e[0],.5),shadowOffsetY:8}},areaStyle:{normal:{color:new mh(0,0,0,1,[{offset:0,color:u(e[0],.3)},{offset:1,color:u(e[0],.1)}],!1),shadowColor:u(e[0],.1),shadowBlur:10}},data:[72.6,78.8,71.3,83.2,64.2,79.2,85.2,86.2,84.5,82.6,87.2,88.2,89.2,90.2]},{name:"居民人均寿命",type:"line",symbolSize:8,zlevel:3,lineStyle:{normal:{color:e[1],shadowBlur:3,shadowColor:u(e[1],.5),shadowOffsetY:8}},areaStyle:{normal:{color:new mh(0,0,0,1,[{offset:0,color:u(e[1],.3)},{offset:1,color:u(e[1],.1)}],!1),shadowColor:u(e[1],.1),shadowBlur:10}},data:[65.4,68.6,70.58,73.2,73.3,73.4,75.6,73.5,73.6,76.8,73.7,73.8,73.9,83.8]},{name:"重大疾病发病率",type:"line",symbolSize:8,zlevel:3,lineStyle:{normal:{color:e[2],shadowBlur:3,shadowColor:u(e[2],.5),shadowOffsetY:8}},areaStyle:{normal:{color:new mh(0,0,0,1,[{offset:0,color:u(e[2],.3)},{offset:1,color:u(e[2],.1)}],!1),shadowColor:u(e[2],.1),shadowBlur:10}},data:[45.4,28.6,20.58,13.2,13.3,13.4,25.6,23.5,13.6,16.8,43.7,3.8,3.9,13.8]}]};t.setOption(n)},u=function(t,e){var n="";return/^#[\da-f]{6}$/i.test(t)&&(n="rgba(".concat(parseInt("0x"+t.slice(1,3)),",").concat(parseInt("0x"+t.slice(3,5)),",").concat(parseInt("0x"+t.slice(5,7)),",").concat(e,")")),n};return n({show:function(t){i.value=!0,r.value=t,setTimeout((function(){s(),l()}),100)}}),function(t,e){var n,s=g3,l=h3,u=D3;return v(),K(u,{modelValue:i.value,"onUpdate:modelValue":e[0]||(e[0]=function(t){return i.value=t}),title:(null===(n=r.value)||void 0===n?void 0:n.name)+"健康大数据",class:"hukou-dialog",width:"60%"},{footer:D((function(){return[]})),default:D((function(){var t;return[x("div",null,[M(l,{gutter:20},{default:D((function(){return[M(s,{span:15,class:"box card fadeIn delay06",style:{height:"200px"}},{default:D((function(){var t;return[x("div",k3,P(null===(t=r.value)||void 0===t?void 0:t.name)+"人更高了",1),O3]})),_:1}),M(s,{span:8,class:"box card fadeIn delay06",style:{"margin-left":"20px",height:"200px",position:"relative"}},{default:D((function(){var t;return[x("div",B3,P(null===(t=r.value)||void 0===t?void 0:t.name)+"人更胖了",1),z3,x("div",{class:"user-container layout-pd",ref_key:"weightRef",ref:o,style:{height:"200px"}},null,512)]})),_:1})]})),_:1}),x("div",F3,[x("div",V3,P(null===(t=r.value)||void 0===t?void 0:t.name)+"人更健康了",1),x("div",{class:"user-container layout-pd",ref_key:"geneRef",ref:a,style:{height:"200px"}},null,512)])])]})),_:1},8,["modelValue","title"])}}}),U3=b(G3,[["__scopeId","data-v-6c25d3d0"]]),H3=u({__name:"gene",setup:function(t){var e=c();d({charts:{theme:"",bgColor:"",color:"#303133"}});return g((function(){var t;t={color:"#04CFE4",grid:{top:20,left:10,right:0,bottom:40},xAxis:{type:"category",axisTick:!1,axisLine:{lineStyle:{color:"rgba(255, 129, 109,.1)",width:1}},axisLabel:{interval:0,color:"#08DFFE",rotate:30,fontSize:12},data:["肝癌","肺癌","胃癌","结直肠癌","食管癌","胰腺癌","脑胶质瘤","肾癌","膀胱癌","前列腺癌"]},yAxis:{show:!1,type:"value",interval:1,axisLine:{lineStyle:{color:"rgba(255, 129, 109, 0.1)",width:1}},axisLabel:{color:"#fff"},splitArea:{areaStyle:{color:"rgba(255,255,255,.5)"}},splitLine:{show:!0,lineStyle:{color:"rgba(255, 129, 109, 0.1)",width:.5,type:"dashed"}}},series:[{data:[1.23,.86,2.11,1.23,.92,1.92,2.92,.32,.12,2.92],type:"pictorialBar",barCategoryGap:"0%",symbol:"path://M0,10 L10,10 C5.5,10 5.5,5 5,0 C4.5,5 4.5,10 0,10 z",label:{show:!0,position:"top",color:"#08DFFE",fontWeight:"bolder",fontSize:12,formatter:function(t){return t.data+"%"}},itemStyle:{normal:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"#9A11FF"},{offset:1,color:"#08DFFE"}],global:!1}},emphasis:{opacity:1}}}]},D_(e.value).setOption(t)})),function(t,n){return v(),_("div",{class:"boxnav",ref_key:"geneRef",ref:e,style:{padding:"0 10px"}},null,512)}}});!function(t){var e=Em.extend(t);Em.registerClass(e)}({type:"series.wordCloud",visualStyleAccessPath:"textStyle",visualStyleMapper:function(t){return{fill:t.get("color")}},visualDrawType:"fill",optionUpdated:function(){var t=this.option;t.gridSize=Math.max(Math.floor(t.gridSize),4)},getInitialData:function(t,e){var n=Sx(t.data,{coordDimensions:["value"]}),i=new bx(n,this);return i.initData(t.data),i},defaultOption:{maskImage:null,shape:"circle",keepAspect:!1,left:"center",top:"center",width:"70%",height:"80%",sizeRange:[12,60],rotationRange:[-90,90],rotationStep:45,gridSize:8,drawOutOfBound:!1,shrinkToFit:!1,textStyle:{fontWeight:"normal"}}}),function(t){var e=Um.extend(t);Um.registerClass(e)}({type:"wordCloud",render:function(t,e,n){var i=this.group;i.removeAll();var r=t.getData(),o=t.get("gridSize");t.layoutInstance.ondraw=function(e,n,a,s){var l=r.getItemModel(a),u=l.getModel("textStyle"),c=new Jl({style:Ub(u),scaleX:1/s.info.mu,scaleY:1/s.info.mu,x:(s.gx+s.info.gw/2)*o,y:(s.gy+s.info.gh/2)*o,rotation:s.rot});c.setStyle({x:s.info.fillTextOffsetX,y:s.info.fillTextOffsetY+.5*n,text:e,verticalAlign:"middle",fill:r.getItemVisual(a,"style").fill,fontSize:n}),i.add(c),r.setItemGraphicEl(a,c),c.ensureState("emphasis").style=Ub(l.getModel(["emphasis","textStyle"]),{state:"emphasis"}),c.ensureState("blur").style=Ub(l.getModel(["blur","textStyle"]),{state:"blur"}),nc(c,l.get(["emphasis","focus"]),l.get(["emphasis","blurScope"])),c.stateTransition={duration:t.get("animation")?t.get(["stateAnimation","duration"]):0,easing:t.get(["stateAnimation","easing"])},c.__highDownDispatcher=!0},this._model=t},remove:function(){this.group.removeAll(),this._model.layoutInstance.dispose()},dispose:function(){this._model.layoutInstance.dispose()}}),
/*!
* wordcloud2.js
* http://timdream.org/wordcloud2.js/
*
* Copyright 2011 - 2019 Tim Guan-tin Chien and contributors.
* Released under the MIT license
*/
window.setImmediate||(window.setImmediate=window.msSetImmediate||window.webkitSetImmediate||window.mozSetImmediate||window.oSetImmediate||function(){if(!window.postMessage||!window.addEventListener)return null;var t=[void 0],e="zero-timeout-message";return window.addEventListener("message",(function(n){if("string"==typeof n.data&&n.data.substr(0,20)===e){n.stopImmediatePropagation();var i=parseInt(n.data.substr(20),36);t[i]&&(t[i](),t[i]=void 0)}}),!0),window.clearImmediate=function(e){t[e]&&(t[e]=void 0)},function(n){var i=t.length;return t.push(n),window.postMessage(e+i.toString(36),"*"),i}}()||function(t){window.setTimeout(t,0)}),window.clearImmediate||(window.clearImmediate=window.msClearImmediate||window.webkitClearImmediate||window.mozClearImmediate||window.oClearImmediate||function(t){window.clearTimeout(t)});var W3=function(){var t=document.createElement("canvas");if(!t||!t.getContext)return!1;var e=t.getContext("2d");return!!e&&(!!e.getImageData&&(!!e.fillText&&(!!Array.prototype.some&&!!Array.prototype.push)))}(),X3=function(){if(W3){for(var t,e,n=document.createElement("canvas").getContext("2d"),i=20;i;){if(n.font=i.toString(10)+"px sans-serif",n.measureText("W").width===t&&n.measureText("m").width===e)return i+1;t=n.measureText("W").width,e=n.measureText("m").width,i--}return 0}}(),j3=function(t){for(var e,n,i=t.length;i;)e=Math.floor(Math.random()*i),n=t[--i],t[i]=t[e],t[e]=n;return t},Y3={},Z3=function(t,e){if(W3){var n=Math.floor(Math.random()*Date.now());Array.isArray(t)||(t=[t]),t.forEach((function(e,n){if("string"==typeof e){if(t[n]=document.getElementById(e),!t[n])throw new Error("The element id specified is not found.")}else if(!e.tagName&&!e.appendChild)throw new Error("You must pass valid HTML elements, or ID of the element.")}));var i={list:[],fontFamily:'"Trebuchet MS", "Heiti TC", "微軟正黑體", "Arial Unicode MS", "Droid Fallback Sans", sans-serif',fontWeight:"normal",color:"random-dark",minSize:0,weightFactor:1,clearCanvas:!0,backgroundColor:"#fff",gridSize:8,drawOutOfBound:!1,shrinkToFit:!1,origin:null,drawMask:!1,maskColor:"rgba(255,0,0,0.3)",maskGapWidth:.3,layoutAnimation:!0,wait:0,abortThreshold:0,abort:function(){},minRotation:-Math.PI/2,maxRotation:Math.PI/2,rotationStep:.1,shuffle:!0,rotateRatio:.1,shape:"circle",ellipticity:.65,classes:null,hover:null,click:null};if(e)for(var r in e)r in i&&(i[r]=e[r]);if("function"!=typeof i.weightFactor){var o=i.weightFactor;i.weightFactor=function(t){return t*o}}if("function"!=typeof i.shape)switch(i.shape){case"circle":default:i.shape="circle";break;case"cardioid":i.shape=function(t){return 1-Math.sin(t)};break;case"diamond":i.shape=function(t){var e=t%(2*Math.PI/4);return 1/(Math.cos(e)+Math.sin(e))};break;case"square":i.shape=function(t){return Math.min(1/Math.abs(Math.cos(t)),1/Math.abs(Math.sin(t)))};break;case"triangle-forward":i.shape=function(t){var e=t%(2*Math.PI/3);return 1/(Math.cos(e)+Math.sqrt(3)*Math.sin(e))};break;case"triangle":case"triangle-upright":i.shape=function(t){var e=(t+3*Math.PI/2)%(2*Math.PI/3);return 1/(Math.cos(e)+Math.sqrt(3)*Math.sin(e))};break;case"pentagon":i.shape=function(t){var e=(t+.955)%(2*Math.PI/5);return 1/(Math.cos(e)+.726543*Math.sin(e))};break;case"star":i.shape=function(t){var e=(t+.955)%(2*Math.PI/10);return(t+.955)%(2*Math.PI/5)-2*Math.PI/10>=0?1/(Math.cos(2*Math.PI/10-e)+3.07768*Math.sin(2*Math.PI/10-e)):1/(Math.cos(e)+3.07768*Math.sin(e))}}i.gridSize=Math.max(Math.floor(i.gridSize),4);var a,s,l,u,c,h,d,p,f=i.gridSize,g=f-i.maskGapWidth,m=Math.abs(i.maxRotation-i.minRotation),v=Math.min(i.maxRotation,i.minRotation),y=i.rotationStep;switch(i.color){case"random-dark":d=function(){return P(10,50)};break;case"random-light":d=function(){return P(50,90)};break;default:"function"==typeof i.color&&(d=i.color)}"function"==typeof i.fontWeight&&(p=i.fontWeight);var _=null;"function"==typeof i.classes&&(_=i.classes);var x,b=!1,w=[],S=function(t){var e,n,i=t.currentTarget,r=i.getBoundingClientRect();t.touches?(e=t.touches[0].clientX,n=t.touches[0].clientY):(e=t.clientX,n=t.clientY);var o=e-r.left,a=n-r.top,s=Math.floor(o*(i.width/r.width||1)/f),l=Math.floor(a*(i.height/r.height||1)/f);return w[s]?w[s][l]:null},A=function(t){var e=S(t);x!==e&&(x=e,e?i.hover(e.item,e.dimension,t):i.hover(void 0,void 0,t))},T=function(t){var e=S(t);e&&(i.click(e.item,e.dimension,t),t.preventDefault())},M=[],I=function(t){if(M[t])return M[t];var e=8*t,n=e,r=[];for(0===t&&r.push([u[0],u[1],0]);n--;){var o=1;"circle"!==i.shape&&(o=i.shape(n/e*2*Math.PI)),r.push([u[0]+t*o*Math.cos(-n/e*2*Math.PI),u[1]+t*o*Math.sin(-n/e*2*Math.PI)*i.ellipticity,n/e*2*Math.PI])}return M[t]=r,r},C=function(){return i.abortThreshold>0&&(new Date).getTime()-h>i.abortThreshold},D=function(e,n,i,r,o){if(!(e>=s||n>=l||e<0||n<0)){if(a[e][n]=!1,i)t[0].getContext("2d").fillRect(e*f,n*f,g,g);b&&(w[e][n]={item:o,dimension:r})}},E=function e(n,r){if(r>20)return null;var o,u,h;Array.isArray(n)?(o=n[0],u=n[1]):(o=n.word,u=n.weight,h=n.attributes);var g=0===i.rotateRatio||Math.random()>i.rotateRatio?0:0===m?v:v+Math.round(Math.random()*m/y)*y,x=function(t){if(Array.isArray(t)){var e=t.slice();return e.splice(0,2),e}return[]}(n),w=function(t,e,n,r){var o=i.weightFactor(e);if(o<=i.minSize)return!1;var a,s=1;o<X3&&(s=function(){for(var t=2;t*o<X3;)t+=2;return t}()),a=p?p(t,e,o,r):i.fontWeight;var l=document.createElement("canvas"),u=l.getContext("2d",{willReadFrequently:!0});u.font=a+" "+(o*s).toString(10)+"px "+i.fontFamily;var c=u.measureText(t).width/s,h=Math.max(o*s,u.measureText("m").width,u.measureText("W").width)/s,d=c+2*h,g=3*h,m=Math.ceil(d/f),v=Math.ceil(g/f);d=m*f,g=v*f;var y=-c/2,_=.4*-h,x=Math.ceil((d*Math.abs(Math.sin(n))+g*Math.abs(Math.cos(n)))/f),b=Math.ceil((d*Math.abs(Math.cos(n))+g*Math.abs(Math.sin(n)))/f),w=b*f,S=x*f;l.setAttribute("width",w),l.setAttribute("height",S),u.scale(1/s,1/s),u.translate(w*s/2,S*s/2),u.rotate(-n),u.font=a+" "+(o*s).toString(10)+"px "+i.fontFamily,u.fillStyle="#000",u.textBaseline="middle",u.fillText(t,y*s,(_+.5*o)*s);var A=u.getImageData(0,0,w,S).data;if(C())return!1;for(var T,M,I,D=[],E=b,L=[x/2,b/2,x/2,b/2];E--;)for(T=x;T--;){I=f;t:for(;I--;)for(M=f;M--;)if(A[4*((T*f+I)*w+(E*f+M))+3]){D.push([E,T]),E<L[3]&&(L[3]=E),E>L[1]&&(L[1]=E),T<L[0]&&(L[0]=T),T>L[2]&&(L[2]=T);break t}}return{mu:s,occupied:D,bounds:L,gw:b,gh:x,fillTextOffsetX:y,fillTextOffsetY:_,fillTextWidth:c,fillTextHeight:h,fontSize:o}}(o,u,g,x);if(!w)return!1;if(C())return!1;if(!i.drawOutOfBound&&!i.shrinkToFit){var S=w.bounds;if(S[1]-S[3]+1>s||S[2]-S[0]+1>l)return!1}for(var A=c+1,T=function(e){var r=Math.floor(e[0]-w.gw/2),m=Math.floor(e[1]-w.gh/2);w.gw,w.gh;return!!function(t,e,n,r,o){for(var u=o.length;u--;){var c=t+o[u][0],h=e+o[u][1];if(c>=s||h>=l||c<0||h<0){if(!i.drawOutOfBound)return!1}else if(!a[c][h])return!1}return!0}(r,m,0,0,w.occupied)&&(function(e,n,r,o,a,s,l,u,c,h){var g,m,v,y=r.fontSize;g=d?d(o,a,y,s,l,h):i.color,m=p?p(o,a,y,h):i.fontWeight,v=_?_(o,a,y,h):i.classes,t.forEach((function(t){if(t.getContext){var a=t.getContext("2d"),s=r.mu;a.save(),a.scale(1/s,1/s),a.font=m+" "+(y*s).toString(10)+"px "+i.fontFamily,a.fillStyle=g,a.translate((e+r.gw/2)*f*s,(n+r.gh/2)*f*s),0!==u&&a.rotate(-u),a.textBaseline="middle",a.fillText(o,r.fillTextOffsetX*s,(r.fillTextOffsetY+.5*y)*s),a.restore()}else{var l=document.createElement("span"),h="";h="rotate("+-u/Math.PI*180+"deg) ",1!==r.mu&&(h+="translateX(-"+r.fillTextWidth/4+"px) scale("+1/r.mu+")");var d={position:"absolute",display:"block",font:m+" "+y*r.mu+"px "+i.fontFamily,left:(e+r.gw/2)*f+r.fillTextOffsetX+"px",top:(n+r.gh/2)*f+r.fillTextOffsetY+"px",width:r.fillTextWidth+"px",height:r.fillTextHeight+"px",lineHeight:y+"px",whiteSpace:"nowrap",transform:h,webkitTransform:h,msTransform:h,transformOrigin:"50% 40%",webkitTransformOrigin:"50% 40%",msTransformOrigin:"50% 40%"};for(var p in g&&(d.color=g),l.textContent=o,d)l.style[p]=d[p];if(c)for(var _ in c)l.setAttribute(_,c[_]);v&&(l.className+=v),t.appendChild(l)}}))}(r,m,w,o,u,c-A,e[2],g,h,x),function(e,n,r,o,a,u){var c,h,d=a.occupied,p=i.drawMask;if(p&&((c=t[0].getContext("2d")).save(),c.fillStyle=i.maskColor),b){var g=a.bounds;h={x:(e+g[3])*f,y:(n+g[0])*f,w:(g[1]-g[3]+1)*f,h:(g[2]-g[0]+1)*f}}for(var m=d.length;m--;){var v=e+d[m][0],y=n+d[m][1];v>=s||y>=l||v<0||y<0||D(v,y,p,h,u)}p&&c.restore()}(r,m,0,0,w,n),{gx:r,gy:m,rot:g,info:w})};A--;){var M=I(c-A);i.shuffle&&(M=[].concat(M),j3(M));for(var E=0;E<M.length;E++){var L=T(M[E]);if(L)return L}}return i.shrinkToFit?(Array.isArray(n)?n[1]=3*n[1]/4:n.weight=3*n.weight/4,e(n,r+1)):null},L=function(e,n,i){if(n)return!t.some((function(t){var n=new CustomEvent(e,{detail:i||{}});return!t.dispatchEvent(n)}),this);t.forEach((function(t){var n=new CustomEvent(e,{detail:i||{}});t.dispatchEvent(n)}),this)};!function(){var e=t[0];if(e.getContext)s=Math.ceil(e.width/f),l=Math.ceil(e.height/f);else{var r=e.getBoundingClientRect();s=Math.ceil(r.width/f),l=Math.ceil(r.height/f)}if(L("wordcloudstart",!0)){var o,d,p,g,m;if(u=i.origin?[i.origin[0]/f,i.origin[1]/f]:[s/2,l/2],c=Math.floor(Math.sqrt(s*s+l*l)),a=[],!e.getContext||i.clearCanvas)for(t.forEach((function(t){if(t.getContext){var e=t.getContext("2d");e.fillStyle=i.backgroundColor,e.clearRect(0,0,s*(f+1),l*(f+1)),e.fillRect(0,0,s*(f+1),l*(f+1))}else t.textContent="",t.style.backgroundColor=i.backgroundColor,t.style.position="relative"})),o=s;o--;)for(a[o]=[],d=l;d--;)a[o][d]=!0;else{var v=document.createElement("canvas").getContext("2d");v.fillStyle=i.backgroundColor,v.fillRect(0,0,1,1);var y,_,S=v.getImageData(0,0,1,1).data,M=e.getContext("2d").getImageData(0,0,s*f,l*f).data;for(o=s;o--;)for(a[o]=[],d=l;d--;){_=f;t:for(;_--;)for(y=f;y--;)for(p=4;p--;)if(M[4*((d*f+_)*s*f+(o*f+y))+p]!==S[p]){a[o][d]=!1;break t}!1!==a[o][d]&&(a[o][d]=!0)}M=v=S=void 0}if(i.hover||i.click){for(b=!0,o=s+1;o--;)w[o]=[];i.hover&&e.addEventListener("mousemove",A),i.click&&(e.addEventListener("click",T),e.addEventListener("touchstart",T),e.addEventListener("touchend",(function(t){t.preventDefault()})),e.style.webkitTapHighlightColor="rgba(0, 0, 0, 0)"),e.addEventListener("wordcloudstart",(function t(){e.removeEventListener("wordcloudstart",t),e.removeEventListener("mousemove",A),e.removeEventListener("click",T),x=void 0}))}p=0;var I=!0;i.layoutAnimation?0!==i.wait?(g=window.setTimeout,m=window.clearTimeout):(g=window.setImmediate,m=window.clearImmediate):(g=function(t){t()},m=function(){I=!1});var D=function(e,n){t.forEach((function(t){t.removeEventListener(e,n)}),this)},P=function t(){D("wordcloudstart",t),m(Y3[n])};!function(e,n){t.forEach((function(t){t.addEventListener(e,n)}),this)}("wordcloudstart",P),Y3[n]=(i.layoutAnimation?g:setTimeout)((function t(){if(I){if(p>=i.list.length)return m(Y3[n]),L("wordcloudstop",!1),D("wordcloudstart",P),void delete Y3[n];h=(new Date).getTime();var e=E(i.list[p],0),r=!L("wordclouddrawn",!0,{item:i.list[p],drawn:e});if(C()||r)return m(Y3[n]),i.abort(),L("wordcloudabort",!1),L("wordcloudstop",!1),void D("wordcloudstart",P);p++,Y3[n]=g(t,i.wait)}}),i.wait)}}()}function P(t,e){return"hsl("+(360*Math.random()).toFixed()+","+(30*Math.random()+70).toFixed()+"%,"+(Math.random()*(e-t)+t).toFixed()+"%)"}};if(Z3.isSupported=W3,Z3.minFontSize=X3,!Z3.isSupported)throw new Error("Sorry your browser not support wordCloud");z_((function(t,e){t.eachSeriesByType("wordCloud",(function(n){var i=Gp(n.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),r=n.get("keepAspect"),o=n.get("maskImage"),a=o?o.width/o.height:1;r&&function(t,e){var n=t.width,i=t.height;n>i*e?(t.x+=(n-i*e)/2,t.width=i*e):(t.y+=(i-n/e)/2,t.height=n/e)}(i,a);var s=n.getData(),l=document.createElement("canvas");l.width=i.width,l.height=i.height;var u=l.getContext("2d");if(o)try{u.drawImage(o,0,0,l.width,l.height),function(t){for(var e=t.getContext("2d"),n=e.getImageData(0,0,t.width,t.height),i=e.createImageData(n),r=0,o=0,a=0;a<n.data.length;a+=4)n.data[a+3]>128&&(r+=l=n.data[a]+n.data[a+1]+n.data[a+2],++o);var s=r/o;for(a=0;a<n.data.length;a+=4){var l=n.data[a]+n.data[a+1]+n.data[a+2];n.data[a+3]<128||l>s?(i.data[a]=0,i.data[a+1]=0,i.data[a+2]=0,i.data[a+3]=0):(i.data[a]=255,i.data[a+1]=255,i.data[a+2]=255,i.data[a+3]=255)}e.putImageData(i,0,0)}(l)}catch(KJ){console.error("Invalid mask image"),console.error(KJ.toString())}var c=n.get("sizeRange"),h=n.get("rotationRange"),d=s.getDataExtent("value"),p=Math.PI/180,f=n.get("gridSize");function g(t){var e=t.detail.item;t.detail.drawn&&n.layoutInstance.ondraw&&(t.detail.drawn.gx+=i.x/f,t.detail.drawn.gy+=i.y/f,n.layoutInstance.ondraw(e[0],e[1],e[2],t.detail.drawn))}Z3(l,{list:s.mapArray("value",(function(t,e){var n=s.getItemModel(e);return[s.getName(e),n.get("textStyle.fontSize",!0)||ra(t,d,c),e]})).sort((function(t,e){return e[1]-t[1]})),fontFamily:n.get("textStyle.fontFamily")||n.get("emphasis.textStyle.fontFamily")||t.get("textStyle.fontFamily"),fontWeight:n.get("textStyle.fontWeight")||n.get("emphasis.textStyle.fontWeight")||t.get("textStyle.fontWeight"),gridSize:f,ellipticity:i.height/i.width,minRotation:h[0]*p,maxRotation:h[1]*p,clearCanvas:!o,rotateRatio:1,rotationStep:n.get("rotationStep")*p,drawOutOfBound:n.get("drawOutOfBound"),shrinkToFit:n.get("shrinkToFit"),layoutAnimation:n.get("layoutAnimation"),shuffle:!1,shape:n.get("shape")}),l.addEventListener("wordclouddrawn",g),n.layoutInstance&&n.layoutInstance.dispose(),n.layoutInstance={ondraw:null,dispose:function(){l.removeEventListener("wordclouddrawn",g),l.addEventListener("wordclouddrawn",(function(t){t.preventDefault()}))}}}))})),L_((function(t){var e=(t||{}).series;!he(e)&&(e=e?[e]:[]);var n=["shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function i(t){t&&re(n,(function(e){var n;t.hasOwnProperty(e)&&(t["text"+(n=e,n?n.charAt(0).toUpperCase()+n.substr(1):n)]=t[e])}))}re(e,(function(t){if(t&&"wordCloud"===t.type){var e=t.textStyle||{};i(e.normal),i(e.emphasis)}}))}));var Q3=function(t){return R("data-v-a56edc48"),t=t(),N(),t},q3={class:"boxnav"},J3=["onClick"],K3=Q3((function(){return x("div",null,"当年随访数 726,789",-1)})),$3=Q3((function(){return x("div",null,"血压控制率 86.23%",-1)})),t4={style:{color:"#aaa","font-size":"12px",margin:"20px 0 5px 0"}},e4=u({__name:"cancer",setup:function(t){c(!0);var e=c(""),n=c(!1),i=c();c();var r=c([{name:"缺血性心脏病",top:"40%",left:"50%",fontSize:"29px",color:"rgb(255, 78, 105)"},{name:"中风",top:"46%",left:"80%",fontSize:"20px",color:"rgb(255, 123, 2)"},{name:"慢性阻塞性肺病",top:"57%",left:"59%",fontSize:"20px",color:"rgb(92, 39, 254)"},{name:"下呼吸道感染",top:"23%",left:"50%",fontSize:"20px",color:"rgb(59, 196, 199)"},{name:"新生儿疾病",top:"61%",left:"23%",fontSize:"20px",color:"rgb(255, 123, 2)"},{name:"气管癌、支气管癌、肺癌",top:"74%",left:"53%",fontSize:"15px",color:"rgb(29, 229, 226)"},{name:"阿尔兹海默症",top:"86%",left:"59%",fontSize:"15px",color:"#aaa"},{name:"腹泻",top:"25%",left:"26%",fontSize:"15px",color:"rgb(8, 199, 146)"},{name:"糖尿病",top:"10%",left:"50%",fontSize:"12px",color:"rgb(92, 39, 254)"},{name:"肾病",top:"11%",left:"40%",fontSize:"12px",color:"#58D5FF"}]);d({charts:{theme:"",bgColor:"",color:"#303133"}});var o=function(){var t=D_(i.value),e={legend:{orient:"vertical",top:"center",right:"5%",textStyle:{color:"#fff",fontSize:14}},graphic:{elements:[{type:"image",z:6,style:{image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAeUUlEQVR4Xu1da5gcRbl+v55kQSAGrxAu3sAblwCigiLnEUVuigpCNJmeQAQJkJBMdc8u4lGY6FEkO909CQkQBQOZnkSDiooCghIfPagoIiDgUUFQuSNKDCDuZvo7T2PwWdfsVk1Pd0/PdPWf/VHf9f3qnZntqvqKoB+NgEZgQgRIY6MR0AhMjIAmiJ4dGoFJENAE0dNDI6AJoueARiAaAvobJBpuWisnCGiC5KTQOs1oCGiCRMNNa+UEAU2QnBRapxkNAU2QaLhprZwgoAmSk0LrNKMhoAkSDTetlRMENEG6WGjPu2pHYNMMbMYMo2DszMCMIODNBuG+gOi+bbYZuG/BgllPdTHE3LvWBElpCtSHr5jZgnF8waD3ICQCYwYRtpW6J3ocAd8P8H0g3EdsbHjyqd99v1qtbpbqaoGOEdAE6RjCiQ24buNQA3Q4M30I4L1jdDUK8HeY6LtTAvxwUcW8O0bb2tQYBDRBYp4O9framUErOMUADmdgr5jNT2TuVgA/pIKxulyec0dKPnPhRhMkpjLXas1XFihYSKCFDIWfTjH5HWuGgGcZvKLFxopKpfiHBFzkzqQmSIclX7Vq/fSnN42eRcQLAezUobm41B9lphXbT5t64fz5szbGZTSPdjRBOqh63W0uZPBCMF7fgZnkVAm/IdCKslVckZyT/rasCRKhvq7b2NNgupCBoyKop65CwHUB8VmWVbondec97lATpM0C1mvNI5n4EgCvalO12+L3E9Pp5Urxu90OpJf8a4K0US3P8RcA6PWfKwuFba5sI+1ci2qCKJa/7jZdZhaK4pkWIyKvbBWtTAeZkeA0QRQK4dUa3wLRsQqivSPCfLWolN7fOwF3J1JNEAnunuN7AMrdKU/iXuvCNvviWzEppDRBJkHWq/lHg3BNUuBnwi7jGFExr81ELBkMQhNkgqJ43po3IjDyscfJCPYSYu6vMzg/ux6SJshWSlCtrtpu+gu3vwmM/bteoTQCINy28W9PH1Ktzn8mDXe95EMTZCvV8hx/NYCTe6mQMcR6ubDNeTHY6SsTmiDjyukMN6qGQef1VZUVkwkCXmIPlqqK4rkQ0wQZU+Zabe0bChT8BMCOuaj++CQZT4wGmw8aGjr53lzmv5WkNUHGgFJ3/YuZcXrOJ4d+9TtmAmiCbAHDG268EwZtyDk5ANBmGMFBQpTCQ1i5fzRBnieI07wK4A/mfkaEFCFaXbaKH9VYAJogANzhNR8hw1inJ8QYBILg3WJw7o15x0QTBEDd8X/CwMF5nwxj82fgKss2j887JrknSL225kgm47q8T4St5U9BcHB5cO7NecYm9wTxnKYDsN76vVUWUFXYxSWaIDlGwHP8OwHE2bOqf9Ak3CwsM9c/PXP9DbKs1jwwIL6lf2Z0/Jm0GHtXctyYLtcE8ZzmeQDrrRWT8+oTwjbPj596vWEx1wRxHf8WAg7sjVJ1Kcqc/8zKLUE8rzEDAT3UpWnXU24HWgMzFgzNeqSngo4p2NwSpO7472Pg6phw7GszBBxbts1v93WSEySXZ4J8jIEv5LHo7eZMwGll2/xiu3r9IJ9bgnhO81MAf7ofiph8DnSusIufSd5P9jzkmSAXAXxG9kqSxYjoYmEXz8xiZEnHlGOCNK4CSO/eVZph/A1hl45TEu0zodwSRG9QVJ/JBPy0bJtvU9foH8ncEsRz/PsBvLJ/SploJn8QttlrzbpjASTPBPkHgIFYUOx/IyPCNrfp/zT/M8PcEqTu+n9mxkvyWPR2cybCE2XLfGm7ev0gn1uC6F28bU3fu4Rt7tOWRp8I55cgNf8GEA7vkzommwbje6Jihve75+7JL0Fcfw0YpdxVPErChIawzLlRVHtdJ7cEcWv+UiIM9noB04ifGcNWxRxKw1fWfOSXIG5TELObtYJkMR4msiyrGN6TkrsntwRZ5jY/EjDrVj8KU94gmr3YKn5ZQbTvRHJLEN1JsY25HPBhYrD0gzY0+kY0twQJK+g5jccAelnfVDORRPhxYZdenojpHjCaa4K4NX8lEXK5S1V1bjLjIqtihtdf5/LJN0Fc/whifDeXlVdMmglHWpZ5vaJ434nlmiDVatWYPm2PR/TPrInmNT++cdO9O1er1aDvZr5iQrkmSIiR6/hfIOBjinjlSoyBL1q2eVqukh6XrCbIcGMWGfSVPE+CCb8/Av6wNVhan2dsck+Qi85vvugfA/wrALvmeSJsJfcHtxmhfc88p/jXPOOSe4I89zOr5n+cCLntHrg1AjDjHKtifj7P5Ahz1wQBcN55K3fY8YU7/hRg3cT6OUbQXU/+7cmDlyxZ8JQmSN4R2JK/6/qnE+NiDQfAhDMsy7xEY6G/Qf5tDriOfxMBb8/zxGDgx5ZtHpJnDMbmrn9ijUHDqzVmg2htricH8xxRKelNnFsmgSbIODZ4Nf8aEI7OJUkY14qKeUwuc58gaU2Q8QRZ6h+CAl8P0Hb5mij8DFp0hBgyb8pX3pNnqwmyFXw8xw83563I2URZKGxzZc5ylqarCTIBRK7TuJRAp0gR7AMBBl9m2aVT+yCV2FPQBJkE0rrj38J9fgMVAb8o2+abY59ZfWJQE0RSSM/xWwCMPqn3+DQCYZuFPs0tlrQ0QSQw1oevmMlG4fZY0M6YEQpa+5UHT7ojY2FlKhxNEIVyDA+veXnBMH5FQF8cPWXgsVYQ7Ds4OPcxhfRzLaIJ0kb5607jUu7xf9wJfFlZ/0OuXHVNEGWo/inouo2FxHRhm2qZEGfisyyrlLfX1x1hrwkSAb7whtwAuIiA3SOop67CwJ8M4My83lTbCeCaIBHRc11/XwMkmHleRBOpqBHR6gDsWZYZHgrTT5sIaIK0Cdh4cW94zbvYMBYSkKk7/Bi4ioJghRice2OHKeZaXRMkpvK7rn8cgRaC+V0xmYxmhuhGBq+wLPOqaAa01lgENEFing/ucGMeFWg+GAfFbHpyc4SbucWrrMHS6lT99rkzTZCEClwfXnMQG4WjQHx0YmQh3AymayloXVcenHtzQqnk2qwmSArlX7as+drWSPBBMugDADo9rXcTB/zNwoDxjcWLi79LIfxcu9AESbn85523fmDatNEZRDzDYGNnUGsGgBkM2jn8uyWchwn8CICHwYWHAwoeYaaHN22a+vCSJbNGUg451+40QXJdfp28DAFNEBlCejzXCGiC5Lr8OnkZApogMoT0eK4R0ATJdfl18jIENEFkCOnxXCOgCZLr8uvkZQhogsgQ0uO5RkATJNfl18nLEOgbgqxfv77wwAMje1HA+5Bh7AVgRzDvGP5lwg4yIEB0ihDF30vlEhTwvMabQvNClG5N0I3UtOc1XwPmy2SCxAivR3gSRE+GfzkI7maD7txtt4G7Z82aFXaD6fmnpwmyatXV2z3z1MZ5IMwGYyaAaZErwnycqJS+EVk/BsW607wnNFO2i3vGYC6yCa/W+CCIOtkuvwmEO8BYt90O01fPn3/sM5GD6bJiTxJk5dL1O48URuYBdDLAr4sDQ2acZ1XMT8dhK4qNes2/mAmnh7rEuKRcMc+IYicOHbfmn0uEJXHYAui3AF8+0BpYvWBoVri/rKeeniOI5zXei4DqAOL9lCV8VVjmid2o3jLXPy5gfH2sb4Nw/OIuHXryXP9KME6IGYt7YHBZiNJ3YrabqLmeIkjdbZ7CzJcmgwj/duOm3fauVg/bnIz9rVutVldtN33aDhsBnvLvErR546anpler81P9eVKtbpgyfdoDdwEUyzfz+KyJ6NSyVZT+f5NmDSbz1TME8Wr+EAgXJAkcMd5arpg/T9LHeNue618DnuA+EsK1wkr3vo56zX8LE36WKAaMs0XFXJqoj5iM9wRBvJp/AghXxpTzhGaY6FQrxU83t7ZGEBnuZHkxB5ZVmeslnfvz9l23eQol9i09JgvGiaJifjWtvKL6yTxBli69fI+phSnPvd1J+mFguWWbi5P2E9r3vDVvRGDcreTLCPYSYu6vlWQ7FHIdfxkBizo0o6Q+2tq859DQyfcqCXdJKNMEOfHE9YW3HzRyCwj7p4EPARvKtplKV5K649/FQLheI30IuLtsm6lcUV13/BsZOEwaVBwCjNt+fPPAm6+8MrtrJpkmSN31L2b+56vPVB7GEyOtwsyzz579UJL+vFqjDqL2vqmYl4lKqZxkXBdcsG6XgULrDhBekqSfsbaJcEnZ6t4rbVmemSVI3fE/xsAXZAnEPc7ER1tW6bq47T5vz3UbRxHTtVHsZzm2KPk8r0PAaWXb/GInNpLSzTJBfsLAwUklPqHdhN+weI4fbs/YPmJeTwvblG+biWg8jTeFWwuNgJ+WbfNtEcNOVC2TBPFqzRKI1ySa+UTGmZuiUjKT8O05jasA+mBntvkbwi4l0ubUqzV8EBU7iy+iNtNcUSk2ImonppZNgrj+BjDemVjWkxkmukNYxf3i9l131s5nBJfEYZdgnF6256yKw9ZYG57bvB3M4Z629B/CD4RlpvNyoI3sMkcQz/NPQJD8msekHIn5ajLHWbe7gdYf26iLVDRA4RW2PftPUkFFgUxcNWfgRCGytTaSOYLUHf9aBo5SrGsyYkymqBSbcRl3ncatBDogLnuhHQb/0rJLz22Pj+Pxas0iiP04bEW1QcB1Zds8Oqp+EnqZIkgnb3hiBmepsM2z47BZr/nnM+Hjcdgab4MYny9XzHPisO05friNZygOW53YSPpNXbuxZYogntP8PMCxTMx2gfg3+Zj2QNVra9/BFPyoo1gkysTGoeXKnP/t1Meke8I6Nd6WPl0g7GIiHyhthbFFOGME8cMO5W+NkkjMOg8K29ytU5ue4z8B4MWd2pHo/0XYZscLe57jPwBg14RjVTH/M2Gb6V4dMUlUmSHI8pq/V4twlwqCqcgYfJgQpR9E9eU5/loAs6Pqt6m3TtjmnDZ1/iXueY13IqANUfXj1isw9l5UMdX2qcXtfJy9zBDEc/wFADJzAyuBFpft4vIo+Htes4gg5X94DTKFiPZioe40FzF4WZRcE9JZKGxzZUK22zKbHYIkc4qtLTDGCjP4MivCfeLnn9980bYD/JfIjjtQfHaEXnzOOcW/tmvCdRqXUpbuf+/i6c7x2GWCIGFHkgf/OPJompvk5JOIfibsYtu/heuOfxMDb5fbj1+CgB+XbbPtC3o8p3kzwFn43++foDCe2PUVAztloTNKJgiy5Zz5t+OfMtEtEvCsMXXgFYsWzXpc1Yrn+P8N4H9U5ROS+6Swzc+q2l6+fP3LgtGRPzKwrapOKnIGvy8L59czQZC623CZSaQCfBtOCMYJZXvO11RUPK+5PwL+pYps4jIGHSBE8TYVP3Vn7YcYQeZO9hGxV7ZKlkoOScpkgiBezf9lWoei2gGTGZ+2KuZ5KjpezX8QhF1UZBOXYTwkKqbSK1u35i8hwrmJx9SuA8ZtomLGuvug3RBC+a4TxHUbexJTRi+jVNs5u3zp5Xu0UjoWrFrkQmvznosUjrPGs8NYNar25Jj4tZZVSuW49USRZYEgC4npwvagS0eaQPeqdjn0HD9sirZTOpFJvTwqbDO8FFT6hN0cGbyHVLALAkx8lmWVuvrqv+sE8Rz/mwDe3wX8lVwyGftY1hzpAma2PonVvvlcd+3exMGdSkB0R+hbwjbDq7O79mSBIH/rqKduwtAx0XzLKkqP/tbdxiAzZaLXExEPla3SsAwa122eRsyxnyuR+W1jfJOwzRe2IR+7aFcJUqs13lMguj72rOI1uFLY5kKZSc/zD0GAjjcNyvwojRt4hxDmTTJZz/HDny/hDobMPi3mIyqV0g3dCrCrBPGchgNQ11/lScD/kbDN/5IVaNWqVVOfeWr7EZlcGuPb7fD0wPz580dlvjzH/yGAQ2Vy3R1nV9glu1sxdJkgzTsBTqXfUwcAPyls80Uq+nXH706jiTHBtdMAwXP8cFtKeIdKhh+6S9jFfboVYNcIksQx1MRAVNzZ6zlNB+AufyOSK+yi9BM3azt4J6td3MeL25knXSNIt/petQPOGNlPCNs8X6abhVVp1dV/z/HDk4ifk+WUhfFu9s3qGkE81/8aGMdnoQCyGIj5y+VKSXq2Y/lyf7fWKGJrpCCLa2vjhanYfdEiMzz8NOlTrzXWMdFHZHKZGCd8XVjmh7oRS9cI4jqNhwmktJjVDWDG+mTgbkuxN67n+PcBeFWXYr5f2OarVXy7jn8XKfYGVrGXpAyDH7Hs0owkfUxkuysEycInbbtgq561qDt+k4HIp/vajWusPAFry7YpbfzWzTMrUfNT/WaMaj9TBHFd/zgad+VY3InFbY+JP2xZpfUyu67b6NrWGdWtGa7bmEVMX5HlkqVxJhxvdeFKuq58g9Td5meZ+RNZKoAsFiI4ZcusyOSW1ZoHBsS3yOSSGDeY3ry4UvyFzHbd9WvMkL7pktlJc5yIPle2iuF5m1SfrhDEc5rXA/yeVDPt2BndIOziETIzG6obptw+7cFNaR9ACg947bdp12mHKdyx2M/4y+rT7niXCNL4K0AZX6D6DyiVd8i6jn8jpXUJzZYwGdhgKV7+k7Gdx4pzlp8UdklpwVbRoJJY6gTJ9vmPyTGbiimvX2h/5LcyZD3HD4/dpv1z4LPCNj8pi22F8+XXjWLzb2RyWRzvxvmQ1Ani1RqzQRT2jOq5hwM+yxqUn09Y5jSPCcCp3gdugN672C5eIwPVHW4sJCOb529ksYN5jqiU1knlYhRInyCZ2I4RGcHLhW3Ok2m77vpdiUeki3UyO+2MMw3sZlmzHpTpeI6/GsDJMrnnxgNO7joCI0qjOrVtNEq5KQp1gSC9sIN0QvRuFbZ5oAq2nuOHnQHfqCIbg8yvhW0qXQjqOX74lkutK3zAh4nB6N0lJ8vLc3yOkLfSzuoIdidU6QJBms8A/II4k0jR1mZhm1NV/NWd5qUMPkVFtlMZAl1WtounqtjxHD/cBj9FRTb8BskWQejvwi5upxR7TEKpEmTZ8Jp9AsP4VUyxd8WMajd1111zCrFxaRpBMgWnWtbcy2S+2u42nzmCAEYQ7Lt4cG5qx4RTJYg73JhHBn1JVsgsj6u2AvK8xpsQkHTRLpZcDT5QiNKtMlttt/jJIEE44I9ag6Xw/6hUnlQJUq/5K5lwZiqZJeWE6GphFaVNJqrV6pQdp+35GAOJvrsn4K9Pbrrn5dVqdbMsZc9tfgvMx8rknh8PAl6iKtuunGGQUr+x8XaJcVG5YqZ2TDhVgniO/zMAb2kXzIzJ/0HYptJuXddpfIdAxyQZP4OvsezSe1V8eI5/P4BXqshmWObnwjZT6yOcKkHqbjNg5lR9JlHogW0Hpi1YMCu873zSJ6VevUq9eFeuXL/DyLMjm2QxZ32ciLhsFY204kxtsrrumjcTGz9PK7Ek/RiE4xcr7Cz1av7RIEgX7zqKlXGMqJjXymwsc/3jgh7bQT1RTkzBWyxrbiobQlMjyDLXPz1gXCwrZC+MM+MSq2KeIYv1wgvX7bJ5pCVdvJPZmWx8ykBh17POmv2QzIZb8y8mwukyuV4YNwhnLLbMWO6cl+WbGkE8xw9fQ35UFlAvjLdzD0dbC3PtJ6+8cNnNe0vaT0uq8SVhmymtMUljiUfAc/w7AOwbj7WuW3lK2OY0lSjqTvNCBksbz6nYGi9DoBVlu3iWiq7n+OH/HzuoyPaAzK+Ebc5MI85UvkGWL79mm9boX55NI6HUfBi0hxDF38v8eU7zZIATem9P84RdvFwag9d8DQK+VybXS+OFqS/edtGiY/6RdMypEKReu+IdTIVE7wtPGqj//PTm08t2SdrXdrmz7oAWWtJFvCjxF1B40yJ7tvTSnrrTmM+gVH6zR8kjig5x69By5aTEW72mQhDP8csAvChAZFaH8VVRMU+UxRfev/jQn5674izWy3UIeGiX3QdeoXKPn1fzrwThBFmsPTYuhG3Wk445FYJ0s9NHYgASfiMs8w0q9l2n8VUCxdrXicFfs+yS0qT3XP//wHi9Sqy9IqPawaXTfFIhiOf44QbFrvVX7RSkifSFbSrh5ziNsw3Q5+OMIwB/3LZLF6jYjLi1XMV0N2XuFLaZ+EsfpQJ3ioLnNEcBVtti3amzFPWpUDi4XJ59s8yl6zaOIibpYp7MzthxJj7askrXyXTq9XUHcav1U5lc743TZmEXlY4edJJb4gTp5TPocmD5XGGXPiOTu+CCdbsMTGmFLUnj2iIRjGwu7H722fIFQs9pfAqgT8ti7MXxNM6oJ06QuuO/j4Gre7EAspjb7CQSvnE5RGZTcfwmYZvvUJHtRocVlbjikCHg2LJtfjsOWxPZSJwgntOsACy9DizJJBO0/Wdhmy9TsR/v1QjqZ7M9x38cwEtVYuw9GRoUdrGWZNyJE8R1GpcSKJVtAUkCNZHtjZtGX1CtzpMugro1/yQiSBf1VHJgxslWxbxCJlutrt52+rSpf5fJ9eo4gy+z7JLSUeOoOSZOEM/x4/xpETXPxPSYjPdb1hzpT0jPa+6PgKWLekqBGnSAEMXbZLKuu/ZY4uBbMrkeHlf+qRk1x+QJUvP/DMJLogbYA3oXCttcJIuzWq0a06e99rfo+E5yunfjpt+9rlqtBjKfnuMvB6C0V0tmK5PjjCdExUz052OiBFn+uS+9rLXNwGOZBDeuoJjvEJXSfirmPKfpAyy9nmByW9QUdtFU8ldr3A6iVDb1qcSThEzhHyMvX/SJj4b/ZyXyJEoQ120cSkzhTap9+7Rzws2r+UMgKC3uTQgY42xRMZXuY++XE5yTTR4m/i/LKiW2zy9RgjiO/zED+ELfsmNLYqqXTNZrzSOZWLq4NxlexHRUuVL8rgzTnrokVZbMJOMBcJptm1/swMSkqokSpEfuQe8YWw6CU61BeV8qz2vMQEC/A7B9RKdPw+DXClF6WKbvDq85hYx0+nLJYkl2PNl71JMliOt/GwyljhvJgpi49a8I21S6ENOr+TeAcHikiBjfExVT6V4Vz/G/DODDkfz0khLhO8Iy35dUyIkSpO407+GO39oklXqcdvlBYZd2U7HY2beq+qel5zQeAGhXlZh6WYZA95bt4p5J5ZAYQVatWjX1mae2H0kq8KzZVd3ZW3eacxksXeTbWn4EOqlsF9eo5N6nO3i3mvp2Ozw9MH/+/LDncOxPYgRxXX9fYoTn0HPxqN4P6C1t7o9CxAXDFh0ghuQLhN28J7EbxWbCTMsyE+n5nBhB6k7zRAZLb4XtBqBJ+GTGOVbFlJ75CBvn1d1m+MHR7vmYO8tWcWb4WlkWv1vzP06E82Vy/TJOoFllu3hlEvkkRhDPaX4K4L7cZr3VQhDdKKziu1WKVHf8BgNKi33P2yPAL9tmScW+5za/D+Z3qcj2hwydK+yi9NhBlFwTI0hfHrOdBGFmPGtVTKV7T+puY5CZlBb7/kUQ4qGyVVLaFe3W/L8TYdsoE6IXdZI8fpsYQRJumJbJOu66+8AUlSYKy13/iBZDutg3NskC4chFlnm9LPGwScSDfxqRdnqX2emxceUGeu3mlSRBngaQ6m1A7SYfu7xin9ylS1fvPLUwNfynUnWj3Z9HW6P7Dg3Ne0QWcyr9gGVBpD/+jLDNqIuvk0abCEHyss1hPLLM7FmVkqUyPzyneT3ASot+AN0g7OIRKnbdWsMlIqEi208yo63New4NnRx7c7xECOINX3E4jMIN/VQAxVyUO224Nb9GBFvFLjMcq2JWVGT7tYOMLHcmHG8pdNyX2Rk/nghB6q5/JjNWthtMP8irLhh6XrOEgJUW/WDQXCGKDRV88rRAOBaP8DYse7BUVcGoHZlECOI6/jICpIeI2gm0Z2QN3kVlM6HjNPYzQNJTgWHeAXh/2y7dLsNgy2ZI6VUIMju9OM7AVZZtHh937IkQxKv514FwZNzB9oI9Ap9UtktK3wye27gdLDnQRHyHsNQOZNWdxlwGRdrG0gvYTh4j3SsS2JOVCEHqjv97Bl7d+6C3n0E7C3qu4zdIsmDIgG8pLhBGWYBsP8Psaqj+vG0ng0QIktffwVuAf1TY5s4qRVBriaTe2sZz/PA18E4qvvtRRvXgWju5x06Q5cv9F7ZGsbGdIPpNVvWTzHX9I0iyYMiEIy2FBcIQw5x/MIHAHyjbpVi7uMROENdtvpVbwTGGYXAQBLHb7wUyFaYWvl4uz5HuZK7X1+7UGm1NetdhYWrh4nJ5zqOyvOv1tTNbo63Y/0mV+c3aeNxvsnI5gbNWVB1PdhHQBMlubXRkGUBAEyQDRdAhZBcBTZDs1kZHlgEENEEyUAQdQnYR0ATJbm10ZBlAQBMkA0XQIWQXAU2Q7NZGR5YBBDRBMlAEHUJ2EdAEyW5tdGQZQEATJANF0CFkFwFNkOzWRkeWAQT+H9OJzVCAQ9C3AAAAAElFTkSuQmCC",width:25,shadowBlur:0,shadowColor:"#000",shadowOffsetX:"1",shadowOffsetY:"1"},left:"25%",top:"40%",position:[20,100]}]},series:[{name:"title",type:"pie",radius:["35%","90%"],center:["30%","50%"],color:[new mh(.3,1,.8,.1,[{offset:0,color:"#09b094"},{offset:1,color:"#015648"}]),new mh(.1,0,.1,1,[{offset:0,color:"#f09913"},{offset:1,color:"#6b4100"}]),new mh(1,.5,0,.7,[{offset:0,color:"#c2352c"},{offset:1,color:"#6f0700"}])],label:{show:!1},labelLine:{normal:{smooth:!0,length:10,lineStyle:{width:1.5}}},itemStyle:{normal:{borderColor:"#2b2a38",borderWidth:3}},data:[{value:20,name:"一级管理"},{value:20,name:"二级管理"},{value:20,name:"三级管理"}]},{type:"pie",radius:["35%","90%"],center:["30%","50%"],z:0,data:[{hoverOffset:1,value:100,itemStyle:{color:"rgba(251, 200, 79, 1)",shadowBlur:20,shadowColor:"#241210"},label:{show:!1},labelLine:{normal:{smooth:!0,lineStyle:{width:0}}},hoverAnimation:!1}]},{type:"pie",radius:["25%","0%"],center:["30%","50%"],z:0,data:[{hoverOffset:1,value:100,itemStyle:{color:"#3d3c4a"},label:{show:!1},labelLine:{normal:{smooth:!0,lineStyle:{width:0}}},hoverAnimation:!1}]}]};t.setOption(e)};return g((function(){})),function(t,a){var s=g3,l=h3,u=R3,c=D3;return v(),_("div",q3,[(v(!0),_(I,null,L(r.value,(function(t,i){return v(),_("div",{class:"cancerNameItem",onClick:function(i){return r=t.name,e.value=r,n.value=!0,void setTimeout((function(){o()}),100);var r},key:i,style:et(t)},P(t.name),13,J3)})),128)),M(c,{modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=function(t){return n.value=t}),title:e.value+"健康管理","append-to-body":!0,class:"cancer-dialog",width:"500"},{default:D((function(){return[M(l,null,{default:D((function(){return[M(s,{span:14},{default:D((function(){return[x("div",{style:{height:"150px"},ref_key:"cancerRef",ref:i},null,512)]})),_:1}),M(s,{span:10,style:{color:"#fff","line-height":"2","padding-top":"34px"}},{default:D((function(){return[K3,$3]})),_:1})]})),_:1}),x("div",t4,P(e.value)+" 患者规范管理率",1),M(u,{class:"cancer-progress",percentage:83.67,"stroke-width":15,striped:""})]})),_:1},8,["modelValue","title"])])}}}),n4=b(e4,[["__scopeId","data-v-a56edc48"]]),i4={key:1,class:"count-flop-content"},r4={key:0,class:"count-flop-unit"},o4=u({__name:"countFlop",props:{val:{type:Number,default:function(){return 0}},suffix:{type:String,default:function(){return""}}},setup:function(t){var e=t,n=d({value:[0,0,0,0],numberList:[0,1,2,3,4,5,6,7,8,9],compKey:0});S((function(){return e.val}),(function(){i()})),g((function(){i()}));var i=function(){var t=e.val.toString().split("");if(t.length<4)for(var i=t.length;i<4;i++)t.unshift("0");n.value=t};return function(e,i){return v(),_("div",{class:"count-flop",key:n.compKey},[(v(!0),_(I,null,L(n.value,(function(t,e){return v(),_("div",{class:tt("."!=t?"data_cage":"count-flop-point"),key:e},["."!=t?(v(),_("div",{key:0,class:tt(["count-flop-content",["rolling_"+t]])},[(v(!0),_(I,null,L(n.numberList,(function(t,e){return v(),_("div",{key:e,class:"count-flop-num"},P(t),1)})),128))],2)):(v(),_("div",i4,"."))],2)})),128)),t.suffix?(v(),_("div",r4,P(t.suffix),1)):rt("",!0)])}}}),a4=b(o4,[["__scopeId","data-v-3ffbc59f"]]),s4=function(t){return R("data-v-76147bb7"),t=t(),N(),t},l4=s4((function(){return x("div",{class:"videobg style1"},null,-1)})),u4={class:"mainbox",style:{width:"100%",height:"100%"}},c4={class:"head fadeInDown"},h4=s4((function(){return x("h1",null,[x("span",null,"湖口县全民健康大数据平台")],-1)})),d4={class:"timebox"},p4={style:{height:"calc(100vh - 85px)",padding:"15px 15px 15px 15px"}},f4={style:{width:"27%"}},g4=ht('<div class="box card fadeIn delay06" style="height:calc(31% - 10px);" data-v-76147bb7><div class="tit" data-v-76147bb7>湖口县概况</div><div class="boxnav" id="" data-v-76147bb7><ul class="drqk clearfix" data-v-76147bb7><li data-v-76147bb7><div class="icon" data-v-76147bb7><img src="'+pt+'" data-v-76147bb7></div><div data-v-76147bb7><span data-v-76147bb7>总面积</span><p data-v-76147bb7><em data-v-76147bb7>673</em><i data-v-76147bb7>平方公里</i></p></div></li><li data-v-76147bb7><div class="icon" data-v-76147bb7><img src="'+ft+'" data-v-76147bb7></div><div data-v-76147bb7><span data-v-76147bb7>户籍人口</span><p data-v-76147bb7><em data-v-76147bb7>28.67</em><i data-v-76147bb7>万人</i></p></div></li><li data-v-76147bb7><div class="icon" data-v-76147bb7><img src="'+gt+'" data-v-76147bb7></div><div data-v-76147bb7><span data-v-76147bb7>常住人口</span><p data-v-76147bb7><em data-v-76147bb7>22.06</em><i data-v-76147bb7>万人</i></p></div></li><li data-v-76147bb7><div class="icon" data-v-76147bb7><img src="'+mt+'" data-v-76147bb7></div><div data-v-76147bb7><span data-v-76147bb7>邮政编码</span><p data-v-76147bb7><em data-v-76147bb7>332500</em><i data-v-76147bb7></i></p></div></li></ul></div></div>',1),m4={class:"box card fadeIn delay06",style:{height:"calc(33.33% - 10px)"}},v4=s4((function(){return x("div",{class:"tit"},"居民构成",-1)})),y4={class:"boxnav"},_4={class:"box card fadeIn delay06",style:{height:"calc(34%)"}},x4=s4((function(){return x("div",{class:"tit"},"医院就诊监控",-1)})),b4={style:{width:"46%"}},w4={class:"fadeIn delay06",style:{height:"calc(100% - 10px)"}},S4=ht('<div class="linebox" data-v-76147bb7><span class="line1" data-v-76147bb7><img src="'+vt+'" data-v-76147bb7></span><span class="line2" data-v-76147bb7><img src="'+yt+'" data-v-76147bb7></span><span class="line3" data-v-76147bb7><img src="'+_t+'" data-v-76147bb7></span><span class="line4" data-v-76147bb7><img src="'+xt+'" data-v-76147bb7></span><span class="line5" data-v-76147bb7><img src="'+bt+'" data-v-76147bb7></span><span class="line6" data-v-76147bb7><img src="'+wt+'" data-v-76147bb7></span><span class="line7" data-v-76147bb7><img src="'+St+'" data-v-76147bb7></span></div>',1),A4={class:"maptabs"},T4=[s4((function(){return x("a",{href:"#"},"健康数据",-1)}))],M4=[s4((function(){return x("a",{href:"#"},"人口分布",-1)}))],I4=ht('<div style="position:absolute;top:20px;width:100%;" data-v-76147bb7><ul class="txtnum txtnum2 clearfix" data-v-76147bb7><li data-v-76147bb7><div data-v-76147bb7><p data-v-76147bb7>13153</p><span data-v-76147bb7>癌症患者管理数</span></div></li><li data-v-76147bb7><div data-v-76147bb7><p data-v-76147bb7>84.8%</p><span data-v-76147bb7>癌症患者就诊率</span></div></li><li data-v-76147bb7><div data-v-76147bb7><p data-v-76147bb7>13</p><span data-v-76147bb7>服务医院(家)</span></div></li><li data-v-76147bb7><div data-v-76147bb7><p data-v-76147bb7>71.15%</p><span data-v-76147bb7>电子健康档案开发率</span></div></li></ul></div><div class="mapbox" id="map" style="width:100%;height:100%;" data-v-76147bb7></div>',2),C4={style:{width:"27%"}},D4={class:"box card fadeIn delay06",style:{height:"calc(33.33% - 10px)"}},E4=s4((function(){return x("div",{class:"tit"},"出生死亡人口监控",-1)})),L4={class:"boxnav",id:"echarts2"},P4={class:"born-box"},R4=s4((function(){return x("span",{class:"p_a01"},"今日出生人口",-1)})),N4=s4((function(){return x("div",{class:"p_a01",style:{"font-size":"12px"}},[ct(" 环比 "),x("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAlCAMAAACXrSJOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAArlBMVEUAAAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAAAAADw1SRkAAAAOHRSTlMAAZkCU10E2OAHZ3EK5usPfIYU8fUakJoh+PsppK4x/Tm5w0NOy9UDV2IF3OIJbHdyiI+WHg7uHM8qnTsAAAABYktHRACIBR1IAAAACXBIWXMAAAsSAAALEgHS3X78AAAAkElEQVQoz+3PxxrCIBCF0bF3E3s3GnuNWO/7P5mEAAHWLv1392zmGyJZJpsjtzwKLhVLKFccqwKo2VRvcGt6lvmIa5nU7gjr9gzrI2mQ0nAkbTzRNoVqpmgeaMNC2jIlhAmtYLYWz28s2+647WF3IDqeHDtf6Aq3iG6MsbveD74icdnT9tR//O339nqrPvH8ApFsUEzskoNTAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE4LTA3LTE4VDAyOjQ3OjI4KzA4OjAw+5YazQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxOC0wNy0xOFQwMjo0NzoyOCswODowMIrLonEAAAAASUVORK5CYII=",height:"16",style:{"vertical-align":"sub"},alt:""}),ct(" 3% ")],-1)})),k4={class:"born-box"},O4=s4((function(){return x("span",{class:"p_a01"},"今日死亡人口",-1)})),B4=s4((function(){return x("div",{class:"p_a01",style:{"font-size":"12px"}},[ct(" 环比 "),x("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAMAAAArMzGQAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAolBMVEUAAAAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAA/wAAAAB/GCpjAAAANHRSTlMAAhEBHg+HmaWfenljDOnbBHNcCebWA2xWB+LRZlAF3sxfStnGWkTUwFQ+z7lNOMm0R/4y+SiTagAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxIAAAsSAdLdfvwAAACTSURBVCjP7dJHFsIgFIXhi0TR2BJ7j7132f/aRIQn4AKc+I/gG/DgHAAVy9k4bJG05f/2YysIIYpkJbWLUZZhFVRrAdUTIA2soQ5stjxqd15Tup719OT+wKEhe19v5NjYXHmSEU3pE83I5vS2ZGFoiU8rY2vH2EbTFm47bXvP+EHREX4nZefA+EVeEXa7P74MKa2eULpJ3evhxAUAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTgtMDctMThUMDI6NDc6NDMrMDg6MDA//kewAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE4LTA3LTE4VDAyOjQ3OjQzKzA4OjAwTqP/DAAAAABJRU5ErkJggg==",height:"16",style:{"vertical-align":"sub"},alt:""}),ct(" 3% ")],-1)})),z4={class:"box card fadeIn delay06",style:{height:"calc(33.33% - 10px)"}},F4=s4((function(){return x("div",{class:"tit"},"基因健康风险数据",-1)})),V4={class:"box card fadeIn delay06",style:{height:"calc(33.33% - 10px)"}},G4=s4((function(){return x("div",{class:"tit"},"高危疾病排名TOP10",-1)})),U4=u({__name:"home",setup:function(e){var i=c(null),r=c(),o=c({"双钟镇":[116.23,29.7],"流泗镇":[116.36,29.73809724307942],"马影镇":[116.29,29.68],"武山镇":[116.34,29.55],"城山镇":[116.191,29.601],"大垅乡":[116.37,29.69],"凰村镇":[116.308,29.706],"张青乡":[116.33,29.652],"均桥镇":[116.31,29.592],"付垅乡":[116.34,29.61],"舜德乡":[116.19,29.52],"流芳乡":[116.248,29.52]}),a=d({list:[],born:16,die:28,time:"",weekday:"",mapdata1:[{name:"双钟镇",value:150},{name:"流泗镇",value:190},{name:"马影镇",value:120},{name:"武山镇",value:40},{name:"城山镇",value:110},{name:"均桥镇",value:60},{name:"凰村镇",value:70},{name:"大垅乡",value:80},{name:"张青乡",value:50},{name:"付垅乡",value:30},{name:"舜德乡",value:60},{name:"流芳乡",value:90}],mapdata2:[{name:"双钟镇",value:210},{name:"流泗镇",value:190},{name:"马影镇",value:220},{name:"武山镇",value:140},{name:"城山镇",value:110},{name:"均桥镇",value:160},{name:"凰村镇",value:70},{name:"大垅乡",value:180},{name:"张青乡",value:50},{name:"付垅乡",value:130},{name:"舜德乡",value:90},{name:"流芳乡",value:120}]}),s=c(0);function l(){clearTimeout(c);var t=new Date,e=t.getFullYear(),n=t.getMonth()+1,i=t.getDate(),r=t.getHours(),o=t.getMinutes(),s=t.getSeconds(),u=t.getDay(),c=null;function h(t){return t<10?"0"+t:t}a.time=e+"-"+n+"-"+h(i)+" "+h(r)+":"+h(o)+":"+h(s),a.weekday=["星期天","星期一","星期二","星期三","星期四","星期五","星期六"][u],c=setTimeout(l,1e3)}g((function(){h(),i.value=setTimeout(l,1e3),setInterval((function(){a.born++}),2e4),setInterval((function(){a.die++}),21e3)}));var u=function(t){s.value=t,f(0===t?a.mapdata1:a.mapdata2,g1)},h=function(){f(a.mapdata1,g1)},p=function(t){for(var e=[],n=0;n<t.length;n++){var i=t[n],r=o.value[i[0].name],a=[116.36,29.79];r&&a&&e.push({coords:[r,a]})}return e};function f(t,e){return m.apply(this,arguments)}function m(){return m=n(t().mark((function e(n,i){var r,o,a,s,l,u;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for((r=D_(document.getElementById("map"))).on("click",w),r&&r.clear(),o=[],a="",s=0;s<n.length;s++)n[s].value<20&&(a="#41a9ed"),n[s].value>=20&&(a="#3c8fda"),n[s].value>=40&&(a="#397dce"),n[s].value>=60&&(a="#366ec3"),n[s].value>=80&&(a="#335eb8"),n[s].value>=100&&(a="#304ead"),n[s].value>=120&&(a="#2e40a3"),n[s].value>=140&&(a="#2b339a"),o.push({name:n[s].name,height:n[s].value/15,itemStyle:{borderWidth:0,color:a}});return H_("湖口",i),u={tooltip:{},geo3D:{type:"map3D",name:"地图",shading:"realistic",regions:o,zlevel:0,regionHeight:20,map:"湖口",label:{show:!1},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#005eda"},emphasis:{label:{show:!1},itemStyle:{color:"rgb(0, 192, 255)"}},light:{main:{color:"#00d2ff",intensity:1.1,shadow:!0,shadowQuality:"high",alpha:55,beta:30},ambient:{color:"#fff",intensity:.5}},viewControl:l={projection:"perspective",autoRotateDirection:"cw",distance:165,minDistance:40,maxDistance:200,alpha:40,beta:0,center:[-5,-5,0]}},series:[{type:"map3D",name:"模拟数据",shading:"realistic",zlevel:5,regionHeight:5,map:"湖口",label:{show:!0,formatter:function(t){return t.data.value?t.name+":"+t.data.value:t.name+":0"},distance:0,textStyle:{color:"#fff",fontFamily:"苹方",background:"rgba(0,0,0,0.4)",fontSize:14}},itemStyle:{color:"transparent"},emphasis:{label:{show:!0},itemStyle:{color:"transparent"}},viewControl:l,data:n}]},t.t0=u.series,t.next=12,y();case 12:t.t1=t.sent,u.series=t.t0.concat.call(t.t0,t.t1),r.setOption(u),window.addEventListener("resize",(function(){r.resize()}));case 16:case"end":return t.stop()}}),e)}))),m.apply(this,arguments)}var y=function(){var e=n(t().mark((function e(){var n;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=[],[["流泗镇",[[{name:"双钟镇",value:0}],[{name:"流泗镇",value:0}],[{name:"马影镇",value:0}],[{name:"武山镇",value:0}],[{name:"城山镇",value:0}],[{name:"大垅乡",value:0}],[{name:"凰村镇",value:0}],[{name:"张青乡",value:0}],[{name:"均桥镇",value:0}],[{name:"付垅乡",value:0}],[{name:"舜德乡",value:0}],[{name:"流芳乡",value:0}]]]].forEach((function(t,e){n.push({type:"lines3D",coordinateSystem:"geo3D",regionHeight:10,effect:{show:!0,period:2,trailLength:.15,symbol:"arrow",symbolSize:9,color:"#fcdd6e",trailOpacity:1,trailColor:"rgba(255, 255, 255, 0.5)"},lineStyle:{width:1,color:"rgba(118 , 192, 234, 1)",opacity:1,normal:{show:!0,width:1,opacity:1,curveness:.3,color:"#fcdd6e"}},blendMode:"lighter",data:p(t[1])}),n.push({type:"scatter3D",coordinateSystem:"geo3D",zlevel:1,rippleEffect:{period:4,brushType:"stroke",scale:3,color:"#fcdd6e"},label:{normal:{show:!1,position:"right",fontSize:13},emphasis:{show:!1}},showEffectOn:"render",hoverAnimation:!0,symbol:"circle",symbolSize:function(t){return 10},itemStyle:{normal:{show:!1,color:"#fce182"}},data:b(t[1])},{type:"scatter3D",coordinateSystem:"geo3D",zlevel:2,rippleEffect:{period:4,brushType:"stroke",scale:4,color:"#38ff85"},label:{normal:{show:!1,position:"right",color:"#38ff85",formatter:"{b}",textStyle:{color:"#38ff85"}},emphasis:{show:!1,color:"#38ff85"}},symbol:"circle",symbolSize:15,itemStyle:{color:"#38ff85"},data:[{name:t[0],value:[116.36,29.79].concat([10])}]})})),t.abrupt("return",n);case 5:case"end":return t.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),b=function(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];e.push({name:i[0].name,value:o.value[i[0].name].concat([i[0].value])})}return e},w=function(t){r.value.show(t)};return function(t,e){return v(),_(I,null,[l4,x("div",u4,[x("div",c4,[h4,x("div",d4,[ct(P(a.time),1),x("span",null,P(a.weekday),1)])]),x("ul",p4,[x("li",f4,[g4,x("div",m4,[v4,x("div",y4,[M(v1)])]),x("div",_4,[x4,M(T1)])]),x("li",b4,[x("div",w4,[S4,x("div",A4,[x("ul",null,[x("li",{class:tt(1==s.value?"active":""),onClick:e[0]||(e[0]=function(t){return u(1)})},T4,2),x("li",{class:tt(0==s.value?"active":""),onClick:e[1]||(e[1]=function(t){return u(0)})},M4,2)])]),I4])]),x("li",C4,[x("div",D4,[E4,x("div",L4,[x("div",P4,[R4,M(a4,{val:a.born},null,8,["val"]),N4]),x("div",k4,[O4,M(a4,{val:a.die},null,8,["val"]),B4])])]),x("div",z4,[F4,M(H3)]),x("div",V4,[G4,M(n4)])])]),M(U3,{ref_key:"townRef",ref:r},null,512)])],64)}}});e("default",b(U4,[["__scopeId","data-v-76147bb7"]]))}}}))}();