Repository: babybrotherzb/my-datav Branch: master Commit: e05e7c58c970 Files: 24 Total size: 1.4 MB Directory structure: gitextract_8f32zmpw/ ├── .gitignore ├── LICENSE ├── README.md ├── build/ │ ├── asset-manifest.json │ ├── index.html │ ├── manifest.json │ ├── precache-manifest.9c3f182e3e0e03e7e3da4190ca7fecd6.js │ ├── robots.txt │ ├── service-worker.js │ └── static/ │ ├── css/ │ │ └── main.381045e0.chunk.css │ └── js/ │ ├── 2.35178c5d.chunk.js │ ├── 2.35178c5d.chunk.js.LICENSE.txt │ ├── main.ed4eff3b.chunk.js │ └── runtime-main.19738b1a.js ├── package.json ├── public/ │ ├── index.html │ ├── manifest.json │ └── robots.txt └── src/ ├── App.css ├── App.js ├── geo.js ├── index.css ├── index.js └── serviceWorker.js ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # dependencies /node_modules /.pnp .pnp.js # testing /coverage # production # /build # misc .DS_Store .env.local .env.development.local .env.test.local .env.production.local npm-debug.log* yarn-debug.log* yarn-error.log* ================================================ FILE: LICENSE ================================================ Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ================================================ FILE: README.md ================================================ # my-datav **Author: "@baby张 "** **Demo在线地址:** ## 项目运行 ```sh # 安装依赖 1. npm install || yarn install # 直接运行项目 2.npm run dev || yarn dev || yarn start # http://localhost:3000/ ``` ## 来源地址 ,来点star呗 - [github地址:https://github.com/babybrotherzb](https://github.com/babybrotherzb) - [博客地址:https://blog.csdn.net/weixin_43648947](https://blog.csdn.net/weixin_43648947) - [掘金地址:https://juejin.im/user/5d90295cf265da5b5c08f32d/activities](https://juejin.im/user/5d90295cf265da5b5c08f32d/activities) ================================================ FILE: build/asset-manifest.json ================================================ { "files": { "main.css": "/static/css/main.381045e0.chunk.css", "main.js": "/static/js/main.ed4eff3b.chunk.js", "main.js.map": "/static/js/main.ed4eff3b.chunk.js.map", "runtime-main.js": "/static/js/runtime-main.19738b1a.js", "runtime-main.js.map": "/static/js/runtime-main.19738b1a.js.map", "static/js/2.35178c5d.chunk.js": "/static/js/2.35178c5d.chunk.js", "static/js/2.35178c5d.chunk.js.map": "/static/js/2.35178c5d.chunk.js.map", "index.html": "/index.html", "precache-manifest.9c3f182e3e0e03e7e3da4190ca7fecd6.js": "/precache-manifest.9c3f182e3e0e03e7e3da4190ca7fecd6.js", "service-worker.js": "/service-worker.js", "static/css/main.381045e0.chunk.css.map": "/static/css/main.381045e0.chunk.css.map", "static/js/2.35178c5d.chunk.js.LICENSE.txt": "/static/js/2.35178c5d.chunk.js.LICENSE.txt", "static/media/index.css": "/static/media/map.bab2b509.png" }, "entrypoints": [ "static/js/runtime-main.19738b1a.js", "static/js/2.35178c5d.chunk.js", "static/css/main.381045e0.chunk.css", "static/js/main.ed4eff3b.chunk.js" ] } ================================================ FILE: build/index.html ================================================ my-datav
================================================ FILE: build/manifest.json ================================================ { "short_name": "React App", "name": "Create React App Sample", "icons": [ { "src": "favicon.ico", "sizes": "64x64 32x32 24x24 16x16", "type": "image/x-icon" }, { "src": "logo192.png", "type": "image/png", "sizes": "192x192" }, { "src": "logo512.png", "type": "image/png", "sizes": "512x512" } ], "start_url": ".", "display": "standalone", "theme_color": "#000000", "background_color": "#ffffff" } ================================================ FILE: build/precache-manifest.9c3f182e3e0e03e7e3da4190ca7fecd6.js ================================================ self.__precacheManifest = (self.__precacheManifest || []).concat([ { "revision": "3181ef8d8f8bcc1cb8fff2b25c51f80e", "url": "/index.html" }, { "revision": "61f1124546667485f86e", "url": "/static/css/main.381045e0.chunk.css" }, { "revision": "baf987c9dd01bda1680d", "url": "/static/js/2.35178c5d.chunk.js" }, { "revision": "8bc88370bc2489d86f2f357f447ddb0b", "url": "/static/js/2.35178c5d.chunk.js.LICENSE.txt" }, { "revision": "61f1124546667485f86e", "url": "/static/js/main.ed4eff3b.chunk.js" }, { "revision": "a2ef8ae54b451ad83e77", "url": "/static/js/runtime-main.19738b1a.js" }, { "revision": "4ad07e23aa6dcea1cb54dbfc396681e1", "url": "/static/media/bg.4ad07e23.png" }, { "revision": "c268bab5a96dceae66414ca06d6bf7ec", "url": "/static/media/jt.c268bab5.png" }, { "revision": "0dea0f9739d68fcff939ba51d73a1e53", "url": "/static/media/lbx.0dea0f97.png" }, { "revision": "bab2b509158ad04982f4527a1f3445fe", "url": "/static/media/map.bab2b509.png" } ]); ================================================ FILE: build/robots.txt ================================================ # https://www.robotstxt.org/robotstxt.html User-agent: * Disallow: ================================================ FILE: build/service-worker.js ================================================ /** * Welcome to your Workbox-powered service worker! * * You'll need to register this file in your web app and you should * disable HTTP caching for this file too. * See https://goo.gl/nhQhGp * * The rest of the code is auto-generated. Please don't update this file * directly; instead, make changes to your Workbox build configuration * and re-run your build process. * See https://goo.gl/2aRDsh */ importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts( "/precache-manifest.9c3f182e3e0e03e7e3da4190ca7fecd6.js" ); self.addEventListener('message', (event) => { if (event.data && event.data.type === 'SKIP_WAITING') { self.skipWaiting(); } }); workbox.core.clientsClaim(); /** * The workboxSW.precacheAndRoute() method efficiently caches and responds to * requests for URLs in the manifest. * See https://goo.gl/S9QRab */ self.__precacheManifest = [].concat(self.__precacheManifest || []); workbox.precaching.precacheAndRoute(self.__precacheManifest, {}); workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/index.html"), { blacklist: [/^\/_/,/\/[^\/?]+\.[^\/]+$/], }); ================================================ FILE: build/static/css/main.381045e0.chunk.css ================================================ *{margin:0;padding:0}#root,body,html{width:100%;height:100%;min-height:635px;font-family:"microsoft yahei",arial,sans-serif;background-repeat:no-repeat;background-position:50%;background-size:100% 100%;overflow-x:hidden;overflow-y:auto}body{background-image:url(/my-datav/build/static/media/bg.4ad07e23.png)}table{height:100%;overflow-y:auto;display:block}td,tr{padding:8px}td{color:#c9ccd4}.content_title{width:200px;text-align:center;color:#01c4f7;font-size:14px;position:absolute;top:0;left:50%;margin-left:-100px}.databg{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAA4CAYAAACL3WrLAAAAtUlEQVRoge2ZvQ2CMQwFHeRZWIAJWImOjlFp6GhSUHwFNiukeFI46d0Ep+cfWcm4PLrj/5kZCM+IhHhGdjBMSaWHiDpRMRZVk92122EJD5Oa7KKIUnqUU3pMou5RLaAeLScqxYmqISUKES3Iwh9xvhFM52m3wSrjen8iEs3X+9gtsUTOz3e3wxLeo2p8OKvhHCXFGSZIoqD1REnUU68lwz2qxaJqPPVq/CuihiPq0ovBiGKedH43jpmOh01iBwAAAABJRU5ErkJggg==) 0 0 no-repeat;background-size:22px 30px;height:30px;width:22px;color:#fff;font-size:22px;display:flex;align-items:center;justify-content:center;margin-right:10px}@-webkit-keyframes bganomation{0%{width:50%}50%{width:0}to{width:50%}}@keyframes bganomation{0%{width:50%}50%{width:0}to{width:50%}}@-webkit-keyframes rotate1{to{transform:translate(-50%,-50%) rotate(1turn)}}@keyframes rotate1{to{transform:translate(-50%,-50%) rotate(1turn)}}@-webkit-keyframes retate2{to{transform:translate(-50%,-50%) rotate(-1turn)}}@keyframes retate2{to{transform:translate(-50%,-50%) rotate(-1turn)}}.map_bg{width:45.8vh;height:45.8vh;background:url(/my-datav/build/static/media/map.bab2b509.png) 50% no-repeat;background-size:45.8vh 45.8vh;opacity:.5}.circle_allow,.map_bg{position:absolute;top:54%;left:50%;min-width:280px;min-height:280px;transform:translate(-50%,-50%)}.circle_allow{width:50vh;height:50vh;background:url(/my-datav/build/static/media/jt.c268bab5.png) 50% no-repeat;background-size:50vh 50vh;-webkit-animation:retate2 10s linear infinite;animation:retate2 10s linear infinite}.circle_bg{position:absolute;top:54%;left:50%;width:52vh;height:52vh;transform:translate(-50%,-50%);background:url(/my-datav/build/static/media/lbx.0dea0f97.png) 50% no-repeat;background-size:52vh 52vh;-webkit-animation:rotate1 10s linear infinite;animation:rotate1 10s linear infinite;opacity:.4}.left_bg{width:62%;right:0;background-position:100%;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAAuCAYAAADncHD0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAFEmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpIiB4bXA6Q3JlYXRlRGF0ZT0iMjAyMC0wNS0yOFQxNzo0MToxMCswODowMCIgeG1wOk1vZGlmeURhdGU9IjIwMjAtMDUtMjhUMTc6NDI6NTArMDg6MDAiIHhtcDpNZXRhZGF0YURhdGU9IjIwMjAtMDUtMjhUMTc6NDI6NTArMDg6MDAiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIzIiBwaG90b3Nob3A6SUNDUHJvZmlsZT0ic1JHQiBJRUM2MTk2Ni0yLjEiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OGNlNTY0ZGEtOWEzNi0yYTQyLWExNmItMWE1MTdjOGVkYzc0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjhjZTU2NGRhLTlhMzYtMmE0Mi1hMTZiLTFhNTE3YzhlZGM3NCIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjhjZTU2NGRhLTlhMzYtMmE0Mi1hMTZiLTFhNTE3YzhlZGM3NCI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6OGNlNTY0ZGEtOWEzNi0yYTQyLWExNmItMWE1MTdjOGVkYzc0IiBzdEV2dDp3aGVuPSIyMDIwLTA1LTI4VDE3OjQxOjEwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpIi8+IDwvcmRmOlNlcT4gPC94bXBNTTpIaXN0b3J5PiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Prj8VioAAARzSURBVHja7d1fqN9jHMDxczDZZLZSyo0iLFZYtIQkiaVYYqXWiNYu5naUP1GWRKEsiXBxkoQi+Zvkz0jkyoUrJUxjNCObPzM+p74XT5nzfX71PGed53ldvO4+Pc/69PRr73bOflPT2/f9AwAAHNTesCxMAQvflA81AACY06fhWPEAbQTwcgAA4D/OCF8PEfyJCIY2AhgAADi4k8M3QwR/JIJBAAMAQMtOCd8OEfxhWGonIIABAKBVp4YdQwRvD8fYCQhgAABo1WnhuyGC3w9H2wkIYAAAaNWKsHOI4PfCEjsBAQwAAK06PXw/RPC7IhgEMAAAtGz2K5J+GCL4HREMAhgAAFq2Mongt0QwCGAAAGjZmWHXEMFvhsV2AgIYAABadVb4cYjgN8JRdgICGAAAWnV2+GmI4NfCkXYCAhgAAFq1KuweIvhVEQwCGAAAWnZO+HmI4FdEMAhgAABo2blJBL8sgkEAAwBAy1YnEfyiCAYBDADUcfvwl+5ebZ1wR1sLzdY4s/f77zgEb6Ok88Ke4e4XwiKfTyCAAYDytoQDHUfw/WF6gh2NzefO1jiz9/u3HIK3UdL54Zfh7ufDET6fQAADAOVt7jyCt2WETrqjsfnc2Rpn9n7/zYXf8rZ5juALwq/D3c+Fw30+gQAGAMrbGP7uOIIfD4dNsKOx+dzZGmf2fn/pt5zzNkq6MPw23P2sCAYBDADUsT7s7ziCZzJiI93R2HzubI0ze79/Q+G3PDPPIXpREsHPiGAQwABAHevCnx1H8OyPnS6aYEdj87mzNc7s/f7SbznnbZR0cRLBMyIYBDAAUMdV4Y+OI/il6fGvokl3NDafO1vjzN7vX1v4Lee8jZIuSSL4aREMAhgAqOPysLfjCH49LJ5gR2PzubM1zuz9/jWF33LO2yjp0uTP/9Q8/z4yCGAAoBvpvz716O2wZIIdjc3nztY4s/f7S7/lnLdR0mVh33D3k9Pz+z9TgwAGALox+7UsezqO4A/C0gl2NDafO1vjzN7vL/2Wc95G6Z/K+H24+wkRDAIYAKhjddjdcQR/HJZNsKOx+dzZGmf2fn/pt5zzNkpak/xO82MiGAQwAFDHqrCr4wj+LBw3wY7G5nNna5zZ+/2l33LO2yjpiiSCHxXBIIABgDpWhp0dR/Dn4fgJdjQ2nztb48ze7y/9lnPeRklXJhH8iAgGAQwA1LEi7Og4gr8IJ0ywo7H53NkaZ/Z+f+m3nPM2SlqbRPDDIhgEMABQx0nhq44j+Mtw4gQ7GpvPna1xZu/3l37LOW+jpKuTCH7IZxMIYAAAaNk14a8hgh+0DxDAAADQsmvD/iGCH7APEMAAANCydUkE32cfIIABAKBl1yURfK99gAAGAICWrU8i+B77AAEMAAAt25BE8N32AQIYAABadkMSwXfZBwhgAABo2Y3hwBDBd9oHCGAAAGjZTUkE32YfIIABAKBlG5MIvtU+QAADAEDLNiURfEtYDvw/HxoAALCwbU4iGJiDDwwAAFj4rg8zAgfm9i8X/MNxuLyAKAAAAABJRU5ErkJggg==) 0 10px no-repeat}.left_bg,.right_bg{height:100%;position:absolute}.right_bg{width:53%;top:0;left:0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAAuCAYAAADncHD0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAFEmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpIiB4bXA6Q3JlYXRlRGF0ZT0iMjAyMC0wNS0yOFQxNzo0MjoxMyswODowMCIgeG1wOk1vZGlmeURhdGU9IjIwMjAtMDUtMjhUMTc6NDM6MTQrMDg6MDAiIHhtcDpNZXRhZGF0YURhdGU9IjIwMjAtMDUtMjhUMTc6NDM6MTQrMDg6MDAiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIzIiBwaG90b3Nob3A6SUNDUHJvZmlsZT0ic1JHQiBJRUM2MTk2Ni0yLjEiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MzVmMzExNzEtZGM2MS1kZjQwLWFmYmQtNTM3MGJiZTU3M2ZmIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjM1ZjMxMTcxLWRjNjEtZGY0MC1hZmJkLTUzNzBiYmU1NzNmZiIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjM1ZjMxMTcxLWRjNjEtZGY0MC1hZmJkLTUzNzBiYmU1NzNmZiI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MzVmMzExNzEtZGM2MS1kZjQwLWFmYmQtNTM3MGJiZTU3M2ZmIiBzdEV2dDp3aGVuPSIyMDIwLTA1LTI4VDE3OjQyOjEzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpIi8+IDwvcmRmOlNlcT4gPC94bXBNTTpIaXN0b3J5PiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PrnQBC0AAAdsSURBVHja7d3/q59VAcBxHzfz20xH0K+GRUpJqCgSKSISLpExZK1lMfxCpJiixbis5dQxbYzMkCU2oiFLZOoYGn5pDDU1EaEf+geK/F5WlOnmdLt6HnYu93C99znns84euc/n9cPrt8N9Pvfcz334vD/nOc9zRPP83iOAwTgpeCLYF3wIAABMEwwwHCcGLzmxAQCAAIahx++L8R/7L8GpwWIAAGCacIBhxO8LMX7/GpxsTgAA4ONMAsxvJwR/jPH7t+Bz5gQAAAQwDM2i4LkYvy8Hp5gTAAAQwDA0xwfPxvh9Jfi8OQEAAAEMQ3Nc8Ickfr9gTgAAQADDEOP36Ri/rwVfNCcAACCAYYjxuzvG7+vNwUcdmRcAABDAMLj43RXj943gNHMCAAACGIbm2OD3MX7/HnzJnAAAgACGoTk6eCLG7z+CL5sTAAAQwDA0nwoeT+L3dHMCAAACGIYYv48l8fsVcwIAAAIYhhi/j8b4/WdwhjkBAAABDEOM350xfv8VnGlOAABAAMMQ43dHjN9/B2eZEwAAEMAwNEcFD8f4/U9wds/HPzV4NR6/hj8Hn53jWO2q9ltx3J+Cz3S8rrPjSng79qVg8RzjvhrnrR33QnBix888P3g7jn02OKFj7IXBO3Hs7ubg85hnG3dx8G4c92THuNYlwd449nfNwTt9zzV2WbAvjt0RvySZbdzyZNz2+H6a62deHuyPY+8PFmTeG1ck48fRWucnABDAQD1tgDyYxO85PR+/vbv0mxWDoStqz4mr2+24F4OTOl7X15Kofb4jatOgfSZY1PEzL0pCdXcmVNOobR9Fdewc4y4N3ovjHq0UtK0Vwftx7APBwoKg3ZYJ2jRmf10Qv98PJsc4flc7PwGAAAbqxu/2JH7P7fn46WpsDV2rr2nQPhd8uuN1XRD8L459uiNq06DdlQnaJcGeOPbxjqBtLU1C9ZGOUL0sGfdQJmi/VRi0re8moXpfR6iOErRpzN4TNJn3xvVjHL+T8fd3jgIAAQxUjN8H4gfu/8bLePs8froaW0PX5cRp0D4VHN/xur5eeDnxJUnQto+MOqYwaHdmQnV5YdSuDD4ovJR4VWHQtq5Oxm4Jjpxj3LUjBG0as3cVxO/qMV71nYxfFjhHAYAABirG72/jB+634+pon8dPV2Nr6LqcuDRoR9kfu+wQg7bW/tg0aLdmgvZ7wYE49t6OoJ0ZtZs7QvXGZNzPM0GbxuzGgvfG2jGO3/1xVd05CgAEMFAxfu+LH7jbVdHzej5+uhpbQ+n+2Fo3fEr3xuaC9juHYX/szKDtis/rklC9OzP2R8nYn3WMnUjm/o7M3/onydjbCt4bt49x/H4QvwBxjgIAAQxUjN+t8QN3e3fh83s+froaW0Pp/tiHM6u0Kwv3x5bujZ15KXGt/bE/OMSg3ZT5u6xJ5vT2jnHrknHrMj/zjmTsmszYJkb3uMbvvvh+dY4CAAEMVNJe+vqb+IH73bgS2+fxL00uL67hwZ73x5bujR11f+wNhftj00uJRwnaDZmxtzVlj9xJg3aiMGbb3+umgvjdPMbx+17833COAgABDFTSxFXIqfi9sOfjp6uxNWw7DPtjf9WU3fBpcyZo0/2xd2bGThTuj107wqXE65vyZ8hubPKP3JkZtDcWxuxknLfclzJbxjh+2//Fi52fAEAAA3Xjd0vygfuino+frsbW0Pf+2B8W7o0ddX/susKo3TDCpcSbmrJnyDZxtTn3yJ123C8LgzaN2f1xxbx0L/o4eucT+CIKABDAMPj4vTd+4N4T9+D2efx0NbaGrsuJD/WGT5sKLyUeJWhH2R87URC0k/E1d/2d707GXpcZe0+Tf+TOguSqgVzQpjG7P+6V7vr9FzbTj+AaR+1jx85zfgIAAQzUjd+p0Nn7CVxqma7G1lBrf+yPC/fHpntjb64UtKWXE48atFNfchyI894Vqlub/CN3FsTLzKfGdd2d+KgkZtsbia3IzFW7b3vHGMdv++zrc52fAEAAA3Xjdyqg2pvsLOn5+OlqbA2l+2PXZ17XhsL9sSV7Y2e7lLjG/tgj437kQwnaVZmx9zfTj9z5dkfQbm+m7068PBOzO5OxyzLzf0zw2BjH71vBmc5PACCAgbrx+4skSr7R8/FXV47fPvfHlu6Nne1S4msq7I+deSnxKEG7MhOqDzX5R+7MDNqlhTG7p+B9dlywa4zj983gdOcnABDAQF13JQHT9+NV1laOhsOxP/b6/3Nv7Gz7Y6/IjN1WsD924QiXEpcG7dTYR5r8I3dmBu2SwpgtubHaouCZMY7f14LTnJsAAJMAdd1ZuHoHAAAIYJi3No2wFxMAABDAMC9tTC6dvcx8AACAAIYhmnoET3sjpOXmAwAABDAM0fpm+uZK3zQfAAAggGGIbk3id4X5AAAAAQxDdEsSv5ebDwAAEMAwRDc3+WfKAgAAAhjmtTVJ/K4yHwAAIIBhiCZi/B4IrjQfAAAw/wJ4MZC1NMbvZHCVkwcAAMzPAP4QKPJGcLUTBwAACGAYup86aQAAwPz1EQsfvjCjb+eoAAAAAElFTkSuQmCC) 0 10px no-repeat}.header_main{margin:0 auto;width:100%;height:65px;max-width:1920px;position:relative}.header_main h3{margin:0 auto;padding-top:14px;line-height:50px;text-align:center;font-size:24px;color:#fff}.wrapper{position:absolute;top:80px;bottom:0;left:0;right:0;min-height:555px}.container-fluid{height:100%;min-height:100%}.row{margin-left:-7px;margin-right:-8px}.row>div{padding-left:7px;padding-right:8px}.xpanel-wrapper{padding-bottom:15px;box-sizing:border-box}.xpanel-wrapper-1{height:100%}.xpanel-wrapper-2{height:50%}.xpanel-wrapper-3{height:33.33333%}.xpanel-wrapper-4{height:40%}.xpanel-wrapper-5{height:60%}.xpanel-wrapper-6{height:30%}.xpanel{padding:15px;height:100%;min-height:170px;background-size:100% 100%;box-sizing:border-box}.fill-h{height:100%;min-height:100%}.no-margin{margin:0!important}.no-padding{padding:0!important}::-webkit-scrollbar{width:0;height:0}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar-thumb{border-radius:5px;background-color:rgba(0,0,0,.3)} /*# sourceMappingURL=main.381045e0.chunk.css.map */ ================================================ FILE: build/static/js/2.35178c5d.chunk.js ================================================ /*! For license information please see 2.35178c5d.chunk.js.LICENSE.txt */ (this["webpackJsonpmy-datav"]=this["webpackJsonpmy-datav"]||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(217)},function(e,t){var n={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},i={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},r=Object.prototype.toString,a=Array.prototype,o=a.forEach,s=a.filter,l=a.slice,u=a.map,c=a.reduce,d={};function h(e){if(null==e||"object"!==typeof e)return e;var t=e,a=r.call(e);if("[object Array]"===a){if(!S(e)){t=[];for(var o=0,s=e.length;o0&&e.unfinished);e.unfinished||this._zr.flush()}}},V.getDom=function(){return this._dom},V.getZr=function(){return this._zr},V.setOption=function(e,t,n){if(this._disposed)this.id;else{var i;if(D(t)&&(n=t.lazyUpdate,i=t.silent,t=t.notMerge),this[N]=!0,!this._model||t){var r=new h(this._api),a=this._theme,o=this._model=new u;o.scheduler=this._scheduler,o.init(null,null,a,r)}this._model.setOption(e,oe),n?(this.__optionUpdated={silent:i},this[N]=!1):(W(this),j.update.call(this),this._zr.flush(),this.__optionUpdated=!1,this[N]=!1,Z.call(this,i),q.call(this,i))}},V.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},V.getModel=function(){return this._model},V.getOption=function(){return this._model&&this._model.getOption()},V.getWidth=function(){return this._zr.getWidth()},V.getHeight=function(){return this._zr.getHeight()},V.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},V.getRenderedCanvas=function(e){if(o.canvasSupported)return(e=e||{}).pixelRatio=e.pixelRatio||1,e.backgroundColor=e.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(e)},V.getSvgDataURL=function(){if(o.svgSupported){var e=this._zr,t=e.storage.getDisplayList();return r.each(t,(function(e){e.stopAnimation(!0)})),e.painter.toDataURL()}},V.getDataURL=function(e){if(!this._disposed){var t=(e=e||{}).excludeComponents,n=this._model,i=[],r=this;P(t,(function(e){n.eachComponent({mainType:e},(function(e){var t=r._componentsMap[e.__viewId];t.group.ignore||(i.push(t),t.group.ignore=!0)}))}));var a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return P(i,(function(e){e.group.ignore=!1})),a}this.id},V.getConnectedDataURL=function(e){if(this._disposed)this.id;else if(o.canvasSupported){var t="svg"===e.type,n=this.group,a=Math.min,s=Math.max;if(he[n]){var l=1/0,u=1/0,c=-1/0,d=-1/0,h=[],f=e&&e.pixelRatio||1;r.each(de,(function(i,o){if(i.group===n){var f=t?i.getZr().painter.getSvgDom().innerHTML:i.getRenderedCanvas(r.clone(e)),p=i.getDom().getBoundingClientRect();l=a(p.left,l),u=a(p.top,u),c=s(p.right,c),d=s(p.bottom,d),h.push({dom:f,left:p.left,top:p.top})}}));var p=(c*=f)-(l*=f),g=(d*=f)-(u*=f),m=r.createCanvas(),v=i.init(m,{renderer:t?"svg":"canvas"});if(v.resize({width:p,height:g}),t){var y="";return P(h,(function(e){var t=e.left-l,n=e.top-u;y+=''+e.dom+""})),v.painter.getSvgRoot().innerHTML=y,e.connectedBackgroundColor&&v.painter.setBackgroundColor(e.connectedBackgroundColor),v.refreshImmediately(),v.painter.toDataURL()}return e.connectedBackgroundColor&&v.add(new x.Rect({shape:{x:0,y:0,width:p,height:g},style:{fill:e.connectedBackgroundColor}})),P(h,(function(e){var t=new x.Image({style:{x:e.left*f-l,y:e.top*f-u,image:e.dom}});v.add(t)})),v.refreshImmediately(),m.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}},V.convertToPixel=r.curry(G,"convertToPixel"),V.convertFromPixel=r.curry(G,"convertFromPixel"),V.containPixel=function(e,t){if(!this._disposed){var n,i=this._model;return e=b.parseFinder(i,e),r.each(e,(function(e,i){i.indexOf("Models")>=0&&r.each(e,(function(e){var r=e.coordinateSystem;if(r&&r.containPoint)n|=!!r.containPoint(t);else if("seriesModels"===i){var a=this._chartsMap[e.__viewId];a&&a.containPoint&&(n|=a.containPoint(t,e))}}),this)}),this),!!n}this.id},V.getVisual=function(e,t){var n=this._model,i=(e=b.parseFinder(n,e,{defaultMainType:"series"})).seriesModel.getData(),r=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?i.indexOfRawIndex(e.dataIndex):null;return null!=r?i.getItemVisual(r,t):i.getVisual(t)},V.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},V.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]};var j={prepareAndUpdate:function(e){W(this),j.update.call(this,e)},update:function(e){var t=this._model,n=this._api,i=this._zr,r=this._coordSysMgr,s=this._scheduler;if(t){s.restoreData(t,e),s.performSeriesTasks(t),r.create(t,n),s.performDataProcessorTasks(t,e),U(this,t),r.update(t,n),Q(t),s.performVisualTasks(t,e),K(this,t,n,e);var l=t.get("backgroundColor")||"transparent";if(o.canvasSupported)i.setBackgroundColor(l);else{var u=a.parse(l);l=a.stringify(u,"rgb"),0===u[3]&&(l="transparent")}$(t,n)}},updateTransform:function(e){var t=this._model,n=this,i=this._api;if(t){var a=[];t.eachComponent((function(r,o){var s=n.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,t,i,e);l&&l.update&&a.push(s)}else a.push(s)}));var o=r.createHashMap();t.eachSeries((function(r){var a=n._chartsMap[r.__viewId];if(a.updateTransform){var s=a.updateTransform(r,t,i,e);s&&s.update&&o.set(r.uid,1)}else o.set(r.uid,1)})),Q(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0,dirtyMap:o}),J(n,t,i,e,o),$(t,this._api)}},updateView:function(e){var t=this._model;t&&(y.markUpdateMethod(e,"updateView"),Q(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0}),K(this,this._model,this._api,e),$(t,this._api))},updateVisual:function(e){j.update.call(this,e)},updateLayout:function(e){j.update.call(this,e)}};function W(e){var t=e._model,n=e._scheduler;n.restorePipelines(t),n.prepareStageTasks(),X(e,"component",t,n),X(e,"chart",t,n),n.plan()}function H(e,t,n,i,a){var o=e._model;if(i){var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var l={mainType:i,query:s};a&&(l.subType=a);var u=n.excludeSeriesId;null!=u&&(u=r.createHashMap(b.normalizeToArray(u))),o&&o.eachComponent(l,(function(t){u&&null!=u.get(t.id)||c(e["series"===i?"_chartsMap":"_componentsMap"][t.__viewId])}),e)}else P(e._componentsViews.concat(e._chartsViews),c);function c(i){i&&i.__alive&&i[t]&&i[t](i.__model,o,e._api,n)}}function U(e,t){var n=e._chartsMap,i=e._scheduler;t.eachSeries((function(e){i.updateStreamModes(e,n[e.__viewId])}))}function Y(e,t){var n=e.type,i=e.escapeConnect,a=ie[n],o=a.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&L(s[0]),this[N]=!0;var u=[e],c=!1;e.batch&&(c=!0,u=r.map(e.batch,(function(t){return(t=r.defaults(r.extend({},t),e)).batch=null,t})));var d,h=[],f="highlight"===n||"downplay"===n;P(u,(function(e){(d=(d=a.action(e,this._model,this._api))||r.extend({},e)).type=o.event||d.type,h.push(d),f?H(this,l,e,"series"):s&&H(this,l,e,s.main,s.sub)}),this),"none"===l||f||s||(this.__optionUpdated?(W(this),j.update.call(this,e),this.__optionUpdated=!1):j[l].call(this,e)),d=c?{type:o.event||n,escapeConnect:i,batch:h}:h[0],this[N]=!1,!t&&this._messageCenter.trigger(d.type,d)}function Z(e){for(var t=this._pendingActions;t.length;){var n=t.shift();Y.call(this,n,e)}}function q(e){!e&&this.trigger("updated")}function X(e,t,n,i){for(var r="component"===t,a=r?e._componentsViews:e._chartsViews,o=r?e._componentsMap:e._chartsMap,s=e._zr,l=e._api,u=0;ut.get("hoverLayerThreshold")&&!o.node&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.group.traverse((function(e){e.useHoverLayer=!0}))}}))}(e,t),S(e._zr.dom,t)}function $(e,t){P(se,(function(n){n(e,t)}))}V.resize=function(e){if(this._disposed)this.id;else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),i=e&&e.silent;this[N]=!0,n&&W(this),j.update.call(this),this[N]=!1,Z.call(this,i),q.call(this,i)}}},V.showLoading=function(e,t){if(this._disposed)this.id;else if(D(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),ce[e]){var n=ce[e](this._api,t),i=this._zr;this._loadingFX=n,i.add(n)}},V.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},V.makeActionFromEvent=function(e){var t=r.extend({},e);return t.type=re[e.type],t},V.dispatchAction=function(e,t){this._disposed?this.id:(D(t)||(t={silent:!!t}),ie[e.type]&&this._model&&(this[N]?this._pendingActions.push(e):(Y.call(this,e,t.silent),t.flush?this._zr.flush(!0):!1!==t.flush&&o.browser.weChat&&this._throttledZrFlush(),Z.call(this,t.silent),q.call(this,t.silent))))},V.appendData=function(e){if(this._disposed)this.id;else{var t=e.seriesIndex;this.getModel().getSeriesByIndex(t).appendData(e),this._scheduler.unfinished=!0}},V.on=z("on",!1),V.off=z("off",!1),V.one=z("one",!1);var ee=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function te(e,t){var n=e.get("z"),i=e.get("zlevel");t.group.traverse((function(e){"group"!==e.type&&(null!=n&&(e.z=n),null!=i&&(e.zlevel=i))}))}function ne(){this.eventInfo}V._initEvents=function(){P(ee,(function(e){var t=function(t){var n,i=this.getModel(),a=t.target;if("globalout"===e)n={};else if(a&&null!=a.dataIndex){var o=a.dataModel||i.getSeriesByIndex(a.seriesIndex);n=o&&o.getDataParams(a.dataIndex,a.dataType,a)||{}}else a&&a.eventData&&(n=r.extend({},a.eventData));if(n){var s=n.componentType,l=n.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=n.seriesIndex);var u=s&&null!=l&&i.getComponent(s,l),c=u&&this["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];n.event=t,n.type=e,this._ecEventProcessor.eventInfo={targetEl:a,packedEvent:n,model:u,view:c},this.trigger(e,n)}};t.zrEventfulCallAtLast=!0,this._zr.on(e,t,this)}),this),P(re,(function(e,t){this._messageCenter.on(t,(function(e){this.trigger(t,e)}),this)}),this)},V.isDisposed=function(){return this._disposed},V.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},V.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,b.setAttribute(this.getDom(),ge,"");var e=this._api,t=this._model;P(this._componentsViews,(function(n){n.dispose(t,e)})),P(this._chartsViews,(function(n){n.dispose(t,e)})),this._zr.dispose(),delete de[this.id]}},r.mixin(F,l),ne.prototype={constructor:ne,normalizeQuery:function(e){var t={},n={},i={};if(r.isString(e)){var a=L(e);t.mainType=a.main||null,t.subType=a.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};r.each(e,(function(e,r){for(var a=!1,l=0;l0&&c===r.length-u.length){var d=r.slice(0,c);"data"!==d&&(t.mainType=d,t[u.toLowerCase()]=e,a=!0)}}s.hasOwnProperty(r)&&(n[r]=e,a=!0),a||(i[r]=e)}))}return{cptQuery:t,dataQuery:n,otherQuery:i}},filter:function(e,t,n){var i=this.eventInfo;if(!i)return!0;var r=i.targetEl,a=i.packedEvent,o=i.model,s=i.view;if(!o||!s)return!0;var l=t.cptQuery,u=t.dataQuery;return c(l,o,"mainType")&&c(l,o,"subType")&&c(l,o,"index","componentIndex")&&c(l,o,"name")&&c(l,o,"id")&&c(u,a,"name")&&c(u,a,"dataIndex")&&c(u,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(e,t.otherQuery,r,a));function c(e,t,n,i){return null==e[n]||t[i||n]===e[n]}},afterTrigger:function(){this.eventInfo=null}};var ie={},re={},ae=[],oe=[],se=[],le=[],ue={},ce={},de={},he={},fe=new Date-0,pe=new Date-0,ge="_echarts_instance_";function me(e){he[e]=!1}var ve=me;function ye(e){return de[b.getAttribute(e,ge)]}function xe(e,t){ue[e]=t}function be(e){oe.push(e)}function _e(e,t){Me(ae,e,t,1e3)}function we(e,t,n){"function"===typeof t&&(n=t,t="");var i=D(e)?e.type:[e,e={event:t}][0];e.event=(e.event||i).toLowerCase(),t=e.event,A(R.test(i)&&R.test(t)),ie[i]||(ie[i]={action:n,actionInfo:e}),re[t]=i}function Se(e,t){Me(le,e,t,3e3,"visual")}function Me(e,t,n,i,r){(E(t)||D(t))&&(n=t,t=i);var a=C.wrapStageHandler(n,r);return a.__prio=t,a.__raw=n,e.push(a),a}function Ce(e,t){ce[e]=t}Se(2e3,w),be(f),_e(900,p),Ce("default",M),we({type:"highlight",event:"highlight",update:"highlight"},r.noop),we({type:"downplay",event:"downplay",update:"downplay"},r.noop),xe("light",T),xe("dark",k);t.version="4.8.0",t.dependencies={zrender:"4.3.1"},t.PRIORITY=O,t.init=function(e,t,n){var i=ye(e);if(i)return i;var r=new F(e,t,n);return r.id="ec_"+fe++,de[r.id]=r,b.setAttribute(e,ge,r.id),function(e){var t="__connectUpdateStatus";function n(e,n){for(var i=0;i=0),l=!s&&null!=r;(s||l)&&(t={textFill:e.textFill,textStroke:e.textStroke,textStrokeWidth:e.textStrokeWidth}),s&&(e.textFill="#fff",null==e.textStroke&&(e.textStroke=r,null==e.textStrokeWidth&&(e.textStrokeWidth=2))),l&&(e.textFill=r)}e.insideRollback=t}function ae(e){var t=e.insideRollback;t&&(e.textFill=t.textFill,e.textStroke=t.textStroke,e.textStrokeWidth=t.textStrokeWidth,e.insideRollback=null)}function oe(e,t,n,i,r,a){if("function"===typeof r&&(a=r,r=null),i&&i.isAnimationEnabled()){var o=e?"Update":"",s=i.getShallow("animationDuration"+o),l=i.getShallow("animationEasing"+o),u=i.getShallow("animationDelay"+o);"function"===typeof u&&(u=u(r,i.getAnimationDelayParams?i.getAnimationDelayParams(t,r):null)),"function"===typeof s&&(s=s(r)),s>0?t.animateTo(n,s,u||0,l,a,!!a):(t.stopAnimation(),t.attr(n),a&&a())}else t.stopAnimation(),t.attr(n),a&&a()}function se(e,t,n,i,r){oe(!0,e,t,n,i,r)}function le(e,t,n){return t&&!i.isArrayLike(t)&&(t=u.getLocalTransform(t)),n&&(t=o.invert([],t)),s.applyTransform([],e,t)}function ue(e,t,n,i,r,a,o,s){var l,u=n-e,c=i-t,d=o-r,h=s-a,f=ce(d,h,u,c);if((l=f)<=1e-6&&l>=-1e-6)return!1;var p=e-r,g=t-a,m=ce(p,g,u,c)/f;if(m<0||m>1)return!1;var v=ce(p,g,d,h)/f;return!(v<0||v>1)}function ce(e,t,n,i){return e*i-n*t}O("circle",f),O("sector",p),O("ring",g),O("polygon",m),O("polyline",v),O("rect",y),O("line",x),O("bezierCurve",b),O("arc",_),t.Z2_EMPHASIS_LIFT=1,t.CACHED_LABEL_STYLE_PROPERTIES={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},t.extendShape=function(e){return l.extend(e)},t.extendPath=function(e,t){return r.extendFromString(e,t)},t.registerShape=O,t.getShapeClass=function(e){if(L.hasOwnProperty(e))return L[e]},t.makePath=N,t.makeImage=function(e,t,n){var i=new c({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var r={width:e.width,height:e.height};i.setStyle(R(t,r))}}});return i},t.mergePath=z,t.resizePath=B,t.subPixelOptimizeLine=function(e){return k.subPixelOptimizeLine(e.shape,e.shape,e.style),e},t.subPixelOptimizeRect=function(e){return k.subPixelOptimizeRect(e.shape,e.shape,e.style),e},t.subPixelOptimize=F,t.setElementHoverStyle=Z,t.setHoverStyle=function(e,t){$(e,!0),Y(e,Z,t)},t.setAsHighDownDispatcher=$,t.isHighDownDispatcher=function(e){return!(!e||!e.__highDownDispatcher)},t.getHighlightDigit=function(e){var t=D[e];return null==t&&E<=32&&(t=D[e]=E++),t},t.setLabelStyle=function(e,t,n,r,a,o,s){var l,u=(a=a||P).labelFetcher,c=a.labelDataIndex,d=a.labelDimIndex,h=a.labelProp,f=n.getShallow("show"),p=r.getShallow("show");(f||p)&&(u&&(l=u.getFormattedLabel(c,"normal",null,d,h)),null==l&&(l=i.isFunction(a.defaultText)?a.defaultText(c,a):a.defaultText));var g=f?l:null,m=p?i.retrieve2(u?u.getFormattedLabel(c,"emphasis",null,d,h):null,l):null;null==g&&null==m||(ee(e,n,o,a),ee(t,r,s,a,!0)),e.text=g,t.text=m},t.modifyLabelStyle=function(e,t,n){var r=e.style;t&&(ae(r),e.setStyle(t),re(r)),r=e.__hoverStl,n&&r&&(ae(r),i.extend(r,n),re(r))},t.setTextStyle=ee,t.setText=function(e,t,n){var i,r={isRectText:!0};!1===n?i=!0:r.autoColor=n,te(e,t,r,i)},t.getFont=function(e,t){var n=t&&t.getModel("textStyle");return i.trim([e.fontStyle||n&&n.getShallow("fontStyle")||"",e.fontWeight||n&&n.getShallow("fontWeight")||"",(e.fontSize||n&&n.getShallow("fontSize")||12)+"px",e.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))},t.updateProps=se,t.initProps=function(e,t,n,i,r){oe(!1,e,t,n,i,r)},t.getTransform=function(e,t){for(var n=o.identity([]);e&&e!==t;)o.mul(n,e.getLocalTransform(),n),e=e.parent;return n},t.applyTransform=le,t.transformDirection=function(e,t,n){var i=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),r=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),a=["left"===e?-i:"right"===e?i:0,"top"===e?-r:"bottom"===e?r:0];return a=le(a,t,n),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"},t.groupTransition=function(e,t,n,r){if(e&&t){var a=function(e){var t={};return e.traverse((function(e){!e.isGroup&&e.anid&&(t[e.anid]=e)})),t}(e);t.traverse((function(e){if(!e.isGroup&&e.anid){var t=a[e.anid];if(t){var i=o(e);e.attr(o(t)),se(e,i,n,e.dataIndex)}}}))}function o(e){var t={position:s.clone(e.position),rotation:e.rotation};return e.shape&&(t.shape=i.extend({},e.shape)),t}},t.clipPointsByRect=function(e,t){return i.map(e,(function(e){var n=e[0];n=I(n,t.x),n=A(n,t.x+t.width);var i=e[1];return i=I(i,t.y),[n,i=A(i,t.y+t.height)]}))},t.clipRectByRect=function(e,t){var n=I(e.x,t.x),i=A(e.x+e.width,t.x+t.width),r=I(e.y,t.y),a=A(e.y+e.height,t.y+t.height);if(i>=n&&a>=r)return{x:n,y:r,width:i-n,height:a-r}},t.createIcon=function(e,t,n){var r=(t=i.extend({rectHover:!0},t)).style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(r.image=e.slice(8),i.defaults(r,n),new c(t)):N(e.replace("path://",""),t,n,"center")},t.linePolygonIntersect=function(e,t,n,i,r){for(var a=0,o=r[r.length-1];a=10&&t++,t}t.linearMap=function(e,t,n,i){var r=t[1]-t[0],a=n[1]-n[0];if(0===r)return 0===a?n[0]:(n[0]+n[1])/2;if(i)if(r>0){if(e<=t[0])return n[0];if(e>=t[1])return n[1]}else{if(e>=t[0])return n[0];if(e<=t[1])return n[1]}else{if(e===t[0])return n[0];if(e===t[1])return n[1]}return(e-t[0])/r*a+n[0]},t.parsePercent=function(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%"}return"string"===typeof e?(n=e,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e;var n},t.round=function(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),n?e:+e},t.asc=function(e){return e.sort((function(e,t){return e-t})),e},t.getPrecision=function(e){if(e=+e,isNaN(e))return 0;for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n},t.getPrecisionSafe=function(e){var t=e.toString(),n=t.indexOf("e");if(n>0){var i=+t.slice(n+1);return i<0?-i:0}var r=t.indexOf(".");return r<0?0:t.length-1-r},t.getPixelPrecision=function(e,t){var n=Math.log,i=Math.LN10,r=Math.floor(n(e[1]-e[0])/i),a=Math.round(n(Math.abs(t[1]-t[0]))/i),o=Math.min(Math.max(-r+a,0),20);return isFinite(o)?o:20},t.getPercentWithPrecision=function(e,t,n){if(!e[t])return 0;var r=i.reduce(e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===r)return 0;for(var a=Math.pow(10,n),o=i.map(e,(function(e){return(isNaN(e)?0:e)/r*a*100})),s=100*a,l=i.map(o,(function(e){return Math.floor(e)})),u=i.reduce(l,(function(e,t){return e+t}),0),c=i.map(o,(function(e,t){return e-l[t]}));ud&&(d=c[f],h=f);++l[h],c[h]=0,++u}return l[t]/a},t.MAX_SAFE_INTEGER=9007199254740991,t.remRadian=function(e){var t=2*Math.PI;return(e%t+t)%t},t.isRadianAroundZero=function(e){return e>-1e-4&&e<1e-4},t.parseDate=function(e){if(e instanceof Date)return e;if("string"===typeof e){var t=r.exec(e);if(!t)return new Date(NaN);if(t[8]){var n=+t[4]||0;return"Z"!==t[8].toUpperCase()&&(n-=t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,n,+(t[5]||0),+t[6]||0,+t[7]||0))}return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,+t[7]||0)}return null==e?new Date(NaN):new Date(Math.round(e))},t.quantity=function(e){return Math.pow(10,a(e))},t.quantityExponent=a,t.nice=function(e,t){var n=a(e),i=Math.pow(10,n),r=e/i;return e=(t?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+e.toFixed(n<0?-n:0):e},t.quantile=function(e,t){var n=(e.length-1)*t+1,i=Math.floor(n),r=+e[i-1],a=n-i;return a?r+a*(e[i]-r):r},t.reformIntervals=function(e){e.sort((function(e,t){return function e(t,n,i){return t.interval[i]=0}},function(e,t,n){var i=n(1),r=n(13),a=i.each,o=i.isObject,s=i.isArray;function l(e){return e instanceof Array?e:null==e?[]:[e]}function u(e){return o(e)&&e.id&&0===(e.id+"").indexOf("\0_ec_\0")}var c=0;function d(e,t){return e&&e.hasOwnProperty(t)}t.normalizeToArray=l,t.defaultEmphasis=function(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var i=0,r=n.length;i=n.length&&n.push({option:e})}})),n},t.makeIdAndName=function(e){var t=i.createHashMap();a(e,(function(e,n){var i=e.exist;i&&t.set(i.id,e)})),a(e,(function(e,n){var r=e.option;i.assert(!r||null==r.id||!t.get(r.id)||t.get(r.id)===e,"id duplicates: "+(r&&r.id)),r&&null!=r.id&&t.set(r.id,e),!e.keyInfo&&(e.keyInfo={})})),a(e,(function(e,n){var i=e.exist,r=e.option,a=e.keyInfo;if(o(r)){if(a.name=null!=r.name?r.name+"":i?i.name:"series\0"+n,i)a.id=i.id;else if(null!=r.id)a.id=r.id+"";else{var s=0;do{a.id="\0"+a.name+"\0"+s++}while(t.get(a.id))}t.set(a.id,e)}}))},t.isNameSpecified=function(e){var t=e.name;return!(!t||!t.indexOf("series\0"))},t.isIdInner=u,t.compressBatches=function(e,t){var n={},i={};return r(e||[],n),r(t||[],i,n),[a(n),a(i)];function r(e,t,n){for(var i=0,r=e.length;ii||l.newline?(a=0,c=m,o+=s+n,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);(d=o+v)>r||l.newline?(a+=s+n,o=0,d=v,s=f.width):s=Math.max(s,f.width)}l.newline||(h[0]=a,h[1]=o,"horizontal"===e?a=c+n:o=d+n)}))}var d=c,h=i.curry(c,"vertical"),f=i.curry(c,"horizontal");function p(e,t,n){n=o.normalizeCssArray(n||0);var i=t.width,s=t.height,l=a(e.left,i),u=a(e.top,s),c=a(e.right,i),d=a(e.bottom,s),h=a(e.width,i),f=a(e.height,s),p=n[2]+n[0],g=n[1]+n[3],m=e.aspect;switch(isNaN(h)&&(h=i-c-g-l),isNaN(f)&&(f=s-d-p-u),null!=m&&(isNaN(h)&&isNaN(f)&&(m>i/s?h=.8*i:f=.8*s),isNaN(h)&&(h=m*f),isNaN(f)&&(f=h/m)),isNaN(l)&&(l=i-c-h-g),isNaN(u)&&(u=s-d-f-p),e.left||e.right){case"center":l=i/2-h/2-n[3];break;case"right":l=i-h-g}switch(e.top||e.bottom){case"middle":case"center":u=s/2-f/2-n[0];break;case"bottom":u=s-f-p}l=l||0,u=u||0,isNaN(h)&&(h=i-g-l-(c||0)),isNaN(f)&&(f=s-p-u-(d||0));var v=new r(l+n[3],u+n[0],h,f);return v.margin=n,v}function g(e,t){return t&&e&&s(l,(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}t.LOCATION_PARAMS=l,t.HV_NAMES=u,t.box=d,t.vbox=h,t.hbox=f,t.getAvailableSize=function(e,t,n){var i=t.width,r=t.height,s=a(e.x,i),l=a(e.y,r),u=a(e.x2,i),c=a(e.y2,r);return(isNaN(s)||isNaN(parseFloat(e.x)))&&(s=0),(isNaN(u)||isNaN(parseFloat(e.x2)))&&(u=i),(isNaN(l)||isNaN(parseFloat(e.y)))&&(l=0),(isNaN(c)||isNaN(parseFloat(e.y2)))&&(c=r),n=o.normalizeCssArray(n||0),{width:Math.max(u-s-n[1]-n[3],0),height:Math.max(c-l-n[0]-n[2],0)}},t.getLayoutRect=p,t.positionElement=function(e,t,n,a,o){var s=!o||!o.hv||o.hv[0],l=!o||!o.hv||o.hv[1],u=o&&o.boundingMode||"all";if(s||l){var c;if("raw"===u)c="group"===e.type?new r(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(c=e.getBoundingRect(),e.needLocalTransform()){var d=e.getLocalTransform();(c=c.clone()).applyTransform(d)}t=p(i.defaults({width:c.width,height:c.height},t),n,a);var h=e.position,f=s?t.x-c.x:0,g=l?t.y-c.y:0;e.attr("position","raw"===u?[f,g]:[h[0]+f,h[1]+g])}},t.sizeCalculable=function(e,t){return null!=e[u[t][0]]||null!=e[u[t][1]]&&null!=e[u[t][2]]},t.mergeLayoutParam=function(e,t,n){!i.isObject(n)&&(n={});var r=n.ignoreSize;!i.isArray(r)&&(r=[r,r]);var a=l(u[0],0),o=l(u[1],1);function l(n,i){var a={},o=0,l={},u=0;if(s(n,(function(t){l[t]=e[t]})),s(n,(function(e){c(t,e)&&(a[e]=l[e]=t[e]),d(a,e)&&o++,d(l,e)&&u++})),r[i])return d(t,n[1])?l[n[2]]=null:d(t,n[2])&&(l[n[1]]=null),l;if(2!==u&&o){if(o>=2)return a;for(var h=0;h"'])/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"};function u(e){return null==e?"":(e+"").replace(s,(function(e,t){return l[t]}))}var c=["a","b","c","d","e","f","g"],d=function(e,t){return"{"+e+(null==t?"":t)+"}"};function h(e,t){return"0000".substr(0,t-(e+="").length)+e}var f=r.truncateText;t.addCommas=function(e){return isNaN(e)?"-":(e=(e+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")},t.toCamelCase=function(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e},t.normalizeCssArray=o,t.encodeHTML=u,t.formatTpl=function(e,t,n){i.isArray(t)||(t=[t]);var r=t.length;if(!r)return"";for(var a=t[0].$vars||[],o=0;o':'':{renderMode:a,content:"{marker"+o+"|} ",style:{color:n}}:""},t.formatTime=function(e,t,n){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var i=a.parseDate(t),r=n?"UTC":"",o=i["get"+r+"FullYear"](),s=i["get"+r+"Month"]()+1,l=i["get"+r+"Date"](),u=i["get"+r+"Hours"](),c=i["get"+r+"Minutes"](),d=i["get"+r+"Seconds"](),f=i["get"+r+"Milliseconds"]();return e=e.replace("MM",h(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",h(l,2)).replace("d",l).replace("hh",h(u,2)).replace("h",u).replace("mm",h(c,2)).replace("m",c).replace("ss",h(d,2)).replace("s",d).replace("SSS",h(f,3))},t.capitalFirst=function(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e},t.truncateText=f,t.getTextBoundingRect=function(e){return r.getBoundingRect(e.text,e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.textLineHeight,e.rich,e.truncate)},t.getTextRect=function(e,t,n,i,a,o,s,l){return r.getBoundingRect(e,t,n,i,a,l,o,s)},t.windowOpen=function(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location=e}else window.open(e,t)}},function(e,t){var n="undefined"===typeof Float32Array?Array:Float32Array;function i(e){return Math.sqrt(a(e))}var r=i;function a(e){return e[0]*e[0]+e[1]*e[1]}var o=a;function s(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var l=s;function u(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var c=u;t.create=function(e,t){var i=new n(2);return null==e&&(e=0),null==t&&(t=0),i[0]=e,i[1]=t,i},t.copy=function(e,t){return e[0]=t[0],e[1]=t[1],e},t.clone=function(e){var t=new n(2);return t[0]=e[0],t[1]=e[1],t},t.set=function(e,t,n){return e[0]=t,e[1]=n,e},t.add=function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e},t.scaleAndAdd=function(e,t,n,i){return e[0]=t[0]+n[0]*i,e[1]=t[1]+n[1]*i,e},t.sub=function(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e},t.len=i,t.length=r,t.lenSquare=a,t.lengthSquare=o,t.mul=function(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e},t.div=function(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e},t.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]},t.scale=function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e},t.normalize=function(e,t){var n=i(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e},t.distance=s,t.dist=l,t.distanceSquare=u,t.distSquare=c,t.negate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e},t.lerp=function(e,t,n,i){return e[0]=t[0]+i*(n[0]-t[0]),e[1]=t[1]+i*(n[1]-t[1]),e},t.applyTransform=function(e,t,n){var i=t[0],r=t[1];return e[0]=n[0]*i+n[2]*r+n[4],e[1]=n[1]*i+n[3]*r+n[5],e},t.min=function(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e},t.max=function(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}},function(e,t,n){var i=n(9),r=n(17),a=i.applyTransform,o=Math.min,s=Math.max;function l(e,t,n,i){n<0&&(e+=n,n=-n),i<0&&(t+=i,i=-i),this.x=e,this.y=t,this.width=n,this.height=i}l.prototype={constructor:l,union:function(e){var t=o(e.x,this.x),n=o(e.y,this.y);this.width=s(e.x+e.width,this.x+this.width)-t,this.height=s(e.y+e.height,this.y+this.height)-n,this.x=t,this.y=n},applyTransform:function(){var e=[],t=[],n=[],i=[];return function(r){if(r){e[0]=n[0]=this.x,e[1]=i[1]=this.y,t[0]=i[0]=this.x+this.width,t[1]=n[1]=this.y+this.height,a(e,e,r),a(t,t,r),a(n,n,r),a(i,i,r),this.x=o(e[0],t[0],n[0],i[0]),this.y=o(e[1],t[1],n[1],i[1]);var l=s(e[0],t[0],n[0],i[0]),u=s(e[1],t[1],n[1],i[1]);this.width=l-this.x,this.height=u-this.y}}}(),calculateTransform:function(e){var t=this,n=e.width/t.width,i=e.height/t.height,a=r.create();return r.translate(a,a,[-t.x,-t.y]),r.scale(a,a,[n,i]),r.translate(a,a,[e.x,e.y]),a},intersect:function(e){if(!e)return!1;e instanceof l||(e=l.create(e));var t=this,n=t.x,i=t.x+t.width,r=t.y,a=t.y+t.height,o=e.x,s=e.x+e.width,u=e.y,c=e.y+e.height;return!(i=this.x&&e<=this.x+this.width&&t>=this.y&&t<=this.y+this.height},clone:function(){return new l(this.x,this.y,this.width,this.height)},copy:function(e){this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},l.create=function(e){return new l(e.x,e.y,e.width,e.height)};var u=l;e.exports=u},function(e,t,n){e.exports=n(517)},function(e,t,n){var i=n(58),r=n(1),a=n(49),o=n(237),s=n(131).prototype.getCanvasPattern,l=Math.abs,u=new a(!0);function c(e){i.call(this,e),this.path=null}c.prototype={constructor:c,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(e,t){var n,i=this.style,r=this.path||u,a=i.hasStroke(),o=i.hasFill(),l=i.fill,c=i.stroke,d=o&&!!l.colorStops,h=a&&!!c.colorStops,f=o&&!!l.image,p=a&&!!c.image;(i.bind(e,this,t),this.setTransform(e),this.__dirty)&&(d&&(n=n||this.getBoundingRect(),this._fillGradient=i.getGradient(e,l,n)),h&&(n=n||this.getBoundingRect(),this._strokeGradient=i.getGradient(e,c,n)));d?e.fillStyle=this._fillGradient:f&&(e.fillStyle=s.call(l,e)),h?e.strokeStyle=this._strokeGradient:p&&(e.strokeStyle=s.call(c,e));var g=i.lineDash,m=i.lineDashOffset,v=!!e.setLineDash,y=this.getGlobalScale();if(r.setScale(y[0],y[1],this.segmentIgnoreThreshold),this.__dirtyPath||g&&!v&&a?(r.beginPath(e),g&&!v&&(r.setLineDash(g),r.setLineDashOffset(m)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(e.beginPath(),this.path.rebuildPath(e)),o)if(null!=i.fillOpacity){var x=e.globalAlpha;e.globalAlpha=i.fillOpacity*i.opacity,r.fill(e),e.globalAlpha=x}else r.fill(e);if(g&&v&&(e.setLineDash(g),e.lineDashOffset=m),a)if(null!=i.strokeOpacity){x=e.globalAlpha;e.globalAlpha=i.strokeOpacity*i.opacity,r.stroke(e),e.globalAlpha=x}else r.stroke(e);g&&v&&e.setLineDash([]),null!=i.text&&(this.restoreTransform(e),this.drawRectText(e,this.getBoundingRect()))},buildPath:function(e,t,n){},createPathProxy:function(){this.path=new a},getBoundingRect:function(){var e=this._rect,t=this.style,n=!e;if(n){var i=this.path;i||(i=this.path=new a),this.__dirtyPath&&(i.beginPath(),this.buildPath(i,this.shape,!1)),e=i.getBoundingRect()}if(this._rect=e,t.hasStroke()){var r=this._rectWithStroke||(this._rectWithStroke=e.clone());if(this.__dirty||n){r.copy(e);var o=t.lineWidth,s=t.strokeNoScale?this.getLineScale():1;t.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),s>1e-10&&(r.width+=o/s,r.height+=o/s,r.x-=o/s/2,r.y-=o/s/2)}return r}return e},contain:function(e,t){var n=this.transformCoordToLocal(e,t),i=this.getBoundingRect(),r=this.style;if(e=n[0],t=n[1],i.contain(e,t)){var a=this.path.data;if(r.hasStroke()){var s=r.lineWidth,l=r.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(r.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.containStroke(a,s/l,e,t)))return!0}if(r.hasFill())return o.contain(a,e,t)}return!1},dirty:function(e){null==e&&(e=!0),e&&(this.__dirtyPath=e,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(e){return this.animate("shape",e)},attrKV:function(e,t){"shape"===e?(this.setShape(t),this.__dirtyPath=!0,this._rect=null):i.prototype.attrKV.call(this,e,t)},setShape:function(e,t){var n=this.shape;if(n){if(r.isObject(e))for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);else n[e]=t;this.dirty(!0)}return this},getLineScale:function(){var e=this.transform;return e&&l(e[0]-1)>1e-10&&l(e[3]-1)>1e-10?Math.sqrt(l(e[0]*e[3]-e[2]*e[1])):1}},c.extend=function(e){var t=function(t){c.call(this,t),e.style&&this.style.extendFrom(e.style,!1);var n=e.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var r in n)!i.hasOwnProperty(r)&&n.hasOwnProperty(r)&&(i[r]=n[r])}e.init&&e.init.call(this,t)};for(var n in r.inherits(t,c),e)"style"!==n&&"shape"!==n&&(t.prototype[n]=e[n]);return t},r.inherits(c,i);var d=c;e.exports=d},function(e,t){var n="object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"===typeof document&&"undefined"!==typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"===typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:function(e){var t={},n=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),r=e.match(/Edge\/([\d.]+)/),a=/micromessenger/i.test(e);n&&(t.firefox=!0,t.version=n[1]);i&&(t.ie=!0,t.version=i[1]);r&&(t.edge=!0,t.version=r[1]);a&&(t.weChat=!0);return{browser:t,os:{},node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!t.ie&&!t.edge,pointerEventsSupported:"onpointerdown"in window&&(t.edge||t.ie&&t.version>=11),domSupported:"undefined"!==typeof document}}(navigator.userAgent);e.exports=n},function(e,t,n){var i=n(1),r=n(13),a=n(5).makeInner,o=n(29),s=o.enableClassExtend,l=o.enableClassCheck,u=n(234),c=n(235),d=n(236),h=n(249),f=i.mixin,p=a();function g(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}function m(e,t,n){for(var i=0;i=0;o--)a=i.merge(a,t[o],!0);e.defaultOption=a}return e.defaultOption},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});s(f,{registerWhenExtend:!0}),a.enableSubTypeDefaulter(f),a.enableTopologicalTravel(f,(function(e){var t=[];i.each(f.getClassesByMainType(e),(function(e){t=t.concat(e.prototype.dependencies||[])})),t=i.map(t,(function(e){return l(e).main})),"dataset"!==e&&i.indexOf(t,"dataset")<=0&&t.unshift("dataset");return t})),i.mixin(f,d);var p=f;e.exports=p},function(e,t,n){n(6).__DEV__;var i=n(1),r=n(13),a=n(8),o=a.formatTime,s=a.encodeHTML,l=a.addCommas,u=a.getTooltipMarker,c=n(5),d=n(15),h=n(147),f=n(97),p=n(7),g=p.getLayoutParams,m=p.mergeLayoutParam,v=n(98).createTask,y=n(30),x=y.prepareSource,b=y.getSource,_=n(41).retrieveRawValue,w=c.makeInner(),S=d.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(e,t,n,i){this.seriesIndex=this.componentIndex,this.dataTask=v({count:C,reset:T}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n),x(this);var r=this.getInitialData(e,n);I(r,this),this.dataTask.context.data=r,w(this).dataBeforeProcessed=r,M(this)},mergeDefaultAndTheme:function(e,t){var n=this.layoutMode,r=n?g(e):{},a=this.subType;d.hasClass(a)&&(a+="Series"),i.merge(e,t.getTheme().get(this.subType)),i.merge(e,this.getDefaultOption()),c.defaultEmphasis(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&m(e,r,n)},mergeOption:function(e,t){e=i.merge(this.option,e,!0),this.fillDataTextStyle(e.data);var n=this.layoutMode;n&&m(this.option,e,n),x(this);var r=this.getInitialData(e,t);I(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,w(this).dataBeforeProcessed=r,M(this)},fillDataTextStyle:function(e){if(e&&!i.isTypedArray(e))for(var t=["show"],n=0;n":"\n",h="richText"===r,f={},p=0;function g(e){return{renderMode:r,content:s(l(e)),style:f}}var m=this.getData(),v=m.mapDimension("defaultedTooltip",!0),y=v.length,x=this.getRawValue(e),b=i.isArray(x),w=m.getItemVisual(e,"color");i.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var S=(y>1||b&&!y?function(n){var c=i.reduce(n,(function(e,t,n){var i=m.getDimensionInfo(n);return e|(i&&!1!==i.tooltip&&null!=i.displayName)}),0),d=[];function g(e,n){var i=m.getDimensionInfo(n);if(i&&!1!==i.otherDims.tooltip){var g=i.type,v="sub"+a.seriesIndex+"at"+p,y=u({color:w,type:"subItem",renderMode:r,markerId:v}),x="string"===typeof y?y:y.content,b=(c?x+s(i.displayName||"-")+": ":"")+s("ordinal"===g?e+"":"time"===g?t?"":o("yyyy/MM/dd hh:mm:ss",e):l(e));b&&d.push(b),h&&(f[v]=w,++p)}}v.length?i.each(v,(function(t){g(_(m,e,t),t)})):i.each(n,g);var y=c?h?"\n":"
":"",x=y+d.join(y||", ");return{renderMode:r,content:x,style:f}}(x):g(y?_(m,e,v[0]):b?x[0]:x)).content,M=a.seriesIndex+"at"+p,C=u({color:w,type:"item",renderMode:r,markerId:M});f[M]=w,++p;var T=m.getName(e),k=this.name;c.isNameSpecified(this)||(k=""),k=k?s(k)+(t?": ":d):"";var I="string"===typeof C?C:C.content;return{html:t?I+k+S:k+I+(T?s(T)+": "+S:S),markers:f}},isAnimationEnabled:function(){if(r.node)return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),e},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(e,t,n){var i=this.ecModel,r=h.getColorFromPalette.call(this,e,t,n);return r||(r=i.getColorFromPalette(e,t,n)),r},coordDimToDataDim:function(e){return this.getRawData().mapDimension(e,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function M(e){var t=e.name;c.isNameSpecified(e)||(e.name=function(e){var t=e.getRawData(),n=t.mapDimension("seriesName",!0),r=[];return i.each(n,(function(e){var n=t.getDimensionInfo(e);n.displayName&&r.push(n.displayName)})),r.join(" ")}(e)||t)}function C(e){return e.model.getRawData().count()}function T(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),k}function k(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function I(e,t){i.each(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,i.curry(A,t))}))}function A(e){var t=P(e);t&&t.setOutputEnd(this.count())}function P(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(e.uid))}return i}}i.mixin(S,f),i.mixin(S,h);var E=S;e.exports=E},function(e,t){var n="undefined"===typeof Float32Array?Array:Float32Array;function i(){var e=new n(6);return r(e),e}function r(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function a(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}t.create=i,t.identity=r,t.copy=a,t.mul=function(e,t,n){var i=t[0]*n[0]+t[2]*n[1],r=t[1]*n[0]+t[3]*n[1],a=t[0]*n[2]+t[2]*n[3],o=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=i,e[1]=r,e[2]=a,e[3]=o,e[4]=s,e[5]=l,e},t.translate=function(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e},t.rotate=function(e,t,n){var i=t[0],r=t[2],a=t[4],o=t[1],s=t[3],l=t[5],u=Math.sin(n),c=Math.cos(n);return e[0]=i*c+o*u,e[1]=-i*u+o*c,e[2]=r*c+s*u,e[3]=-r*u+c*s,e[4]=c*a+u*l,e[5]=c*l-u*a,e},t.scale=function(e,t,n){var i=n[0],r=n[1];return e[0]=t[0]*i,e[1]=t[1]*r,e[2]=t[2]*i,e[3]=t[3]*r,e[4]=t[4]*i,e[5]=t[5]*r,e},t.invert=function(e,t){var n=t[0],i=t[2],r=t[4],a=t[1],o=t[3],s=t[5],l=n*o-a*i;return l?(l=1/l,e[0]=o*l,e[1]=-a*l,e[2]=-i*l,e[3]=n*l,e[4]=(i*s-o*r)*l,e[5]=(a*r-n*s)*l,e):null},t.clone=function(e){var t=i();return a(t,e),t}},function(e,t,n){var i=n(10),r=n(92),a=n(1),o=a.getContext,s=a.extend,l=a.retrieve2,u=a.retrieve3,c=a.trim,d={},h=0,f=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,p={};function g(e,t){var n=e+":"+(t=t||"12px sans-serif");if(d[n])return d[n];for(var i=(e+"").split("\n"),r=0,a=0,o=i.length;a5e3&&(h=0,d={}),h++,d[n]=r,r}function m(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function v(e,t,n){return"middle"===n?e-=t/2:"bottom"===n&&(e-=t),e}function y(e,t,n){var i=t.textPosition,r=t.textDistance,a=n.x,o=n.y;r=r||0;var s=n.height,l=n.width,u=s/2,c="left",d="top";switch(i){case"left":a-=r,o+=u,c="right",d="middle";break;case"right":a+=r+l,o+=u,d="middle";break;case"top":a+=l/2,o-=r,c="center",d="bottom";break;case"bottom":a+=l/2,o+=s+r,c="center";break;case"inside":a+=l/2,o+=u,c="center",d="middle";break;case"insideLeft":a+=r,o+=u,d="middle";break;case"insideRight":a+=l-r,o+=u,c="right",d="middle";break;case"insideTop":a+=l/2,o+=r,c="center";break;case"insideBottom":a+=l/2,o+=s-r,c="center",d="bottom";break;case"insideTopLeft":a+=r,o+=r;break;case"insideTopRight":a+=l-r,o+=r,c="right";break;case"insideBottomLeft":a+=r,o+=s-r,d="bottom";break;case"insideBottomRight":a+=l-r,o+=s-r,c="right",d="bottom"}return(e=e||{}).x=a,e.y=o,e.textAlign=c,e.textVerticalAlign=d,e}function x(e,t,n,i,r){if(!t)return"";var a=(e+"").split("\n");r=b(t,n,i,r);for(var o=0,s=a.length;o=a;u++)o-=a;var c=g(n,t);return c>o&&(n="",c=0),o=e-c,i.ellipsis=n,i.ellipsisWidth=c,i.contentWidth=o,i.containerWidth=e,i}function _(e,t){var n=t.containerWidth,i=t.font,r=t.contentWidth;if(!n)return"";var a=g(e,i);if(a<=n)return e;for(var o=0;;o++){if(a<=r||o>=t.maxIterations){e+=t.ellipsis;break}var s=0===o?w(e,r,t.ascCharWidth,t.cnCharWidth):a>0?Math.floor(e.length*r/a):0;a=g(e=e.substr(0,s),i)}return""===e&&(e=t.placeholder),e}function w(e,t,n,i){for(var r=0,a=0,o=e.length;ad)e="",o=[];else if(null!=h)for(var f=b(h-(n?n[1]+n[3]:0),t,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),p=0,g=o.length;pa&&k(n,e.substring(a,o)),k(n,i[2],i[1]),a=f.lastIndex}ay)return{lines:[],width:0,height:0};z.textWidth=g(z.text,A);var E=T.textWidth,D=null==E||"auto"===E;if("string"===typeof E&&"%"===E.charAt(E.length-1))z.percentWidth=E,h.push(z),E=0;else{if(D){E=z.textWidth;var L=T.textBackgroundColor,O=L&&L.image;O&&(O=r.findExistImage(O),r.isImageReady(O)&&(E=Math.max(E,O.width*P/O.height)))}var N=I?I[1]+I[3]:0;E+=N;var R=null!=v?v-M:null;null!=R&&R65535?p:m}function y(e){var t=e.constructor;return t===Array?e.slice():new t(e)}var x=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],b=["_extent","_approximateExtent","_rawExtent"];function _(e,t){i.each(x.concat(t.__wrappedMethods||[]),(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e.__wrappedMethods=t.__wrappedMethods,i.each(b,(function(n){e[n]=i.clone(t[n])})),e._calculationInfo=i.extend(t._calculationInfo)}var w=function(e,t){e=e||["x","y"];for(var n={},r=[],a={},o=0;o=0?this._indices[e]:-1}function A(e,t){var n=e._idList[t];return null==n&&(n=T(e,e._idDimIdx,t)),null==n&&(n="e\0\0"+t),n}function P(e){return i.isArray(e)||(e=[e]),e}function E(e,t){var n=e.dimensions,r=new w(i.map(n,e.getDimensionInfo,e),e.hostModel);_(r,e);for(var a=r._storage={},o=e._storage,s=0;s=0?(a[l]=D(o[l]),r._rawExtent[l]=L(),r._extent[l]=null):a[l]=o[l])}return r}function D(e){for(var t=new Array(e.length),n=0;nx[1]&&(x[1]=y)}t&&(this._nameList[h]=t[f])}this._rawCount=this._count=l,this._extent={},C(this)},S._initDataFromProvider=function(e,t){if(!(e>=t)){for(var n,i=this._chunkSize,r=this._rawData,a=this._storage,o=this.dimensions,s=o.length,l=this._dimensionInfos,u=this._nameList,c=this._idList,d=this._rawExtent,h=this._nameRepeatCount={},f=this._chunkCount,p=0;pT[1]&&(T[1]=S)}if(!r.pure){var k=u[v];if(m&&null==k)if(null!=m.name)u[v]=k=m.name;else if(null!=n){var I=o[n],A=a[I][y];if(A){k=A[x];var P=l[I].ordinalMeta;P&&P.categories.length&&(k=P.categories[k])}}var E=null==m?null:m.id;null==E&&null!=k&&(h[k]=h[k]||0,E=k,h[k]>0&&(E+="__ec__"+h[k]),h[k]++),null!=E&&(c[v]=E)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=t,this._extent={},C(this)}},S.count=function(){return this._count},S.getIndices=function(){var e=this._indices;if(e){var t=e.constructor,n=this._count;if(t===Array){r=new t(n);for(var i=0;i=0&&t=0&&to&&(o=l)}return i=[a,o],this._extent[e]=i,i},S.getApproximateExtent=function(e){return e=this.getDimension(e),this._approximateExtent[e]||this.getDataExtent(e)},S.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},S.getCalculationInfo=function(e){return this._calculationInfo[e]},S.setCalculationInfo=function(e,t){h(e)?i.extend(this._calculationInfo,e):this._calculationInfo[e]=t},S.getSum=function(e){var t=0;if(this._storage[e])for(var n=0,i=this.count();n=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&ne))return a;r=a-1}}return-1},S.indicesOfNearest=function(e,t,n){var i=[];if(!this._storage[e])return i;null==n&&(n=1/0);for(var r=1/0,a=-1,o=0,s=0,l=this.count();s=0&&a<0)&&(r=c,a=u,o=0),u===a&&(i[o++]=s))}return i.length=o,i},S.getRawIndex=k,S.getRawDataItem=function(e){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(e));for(var t=[],n=0;n=l&&w<=u||isNaN(w))&&(a[o++]=d),d++}c=!0}else if(2===i){h=this._storage[s];var y=this._storage[t[1]],x=e[t[1]][0],b=e[t[1]][1];for(f=0;f=l&&w<=u||isNaN(w))&&(S>=x&&S<=b||isNaN(S))&&(a[o++]=d),d++}}c=!0}}if(!c)if(1===i)for(m=0;m=l&&w<=u||isNaN(w))&&(a[o++]=M)}else for(m=0;me[T][1])&&(C=!1)}C&&(a[o++]=this.getRawIndex(m))}return ow[1]&&(w[1]=_)}}}return a},S.downSample=function(e,t,n,i){for(var r=E(this,[e]),a=r._storage,o=[],s=Math.floor(1/t),l=a[e],u=this.count(),c=this._chunkSize,d=r._rawExtent[e],h=new(v(this))(u),f=0,p=0;pu-p&&(s=u-p,o.length=s);for(var g=0;gd[1]&&(d[1]=b),h[f++]=_}return r._count=f,r._indices=h,r.getRawIndex=I,r},S.getItemModel=function(e){var t=this.hostModel;return new r(this.getRawDataItem(e),t,t&&t.ecModel)},S.diff=function(e){var t=this;return new a(e?e.getIndices():[],this.getIndices(),(function(t){return A(e,t)}),(function(e){return A(t,e)}))},S.getVisual=function(e){var t=this._visual;return t&&t[e]},S.setVisual=function(e,t){if(h(e))for(var n in e)e.hasOwnProperty(n)&&this.setVisual(n,e[n]);else this._visual=this._visual||{},this._visual[e]=t},S.setLayout=function(e,t){if(h(e))for(var n in e)e.hasOwnProperty(n)&&this.setLayout(n,e[n]);else this._layout[e]=t},S.getLayout=function(e){return this._layout[e]},S.getItemLayout=function(e){return this._itemLayouts[e]},S.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?i.extend(this._itemLayouts[e]||{},t):t},S.clearItemLayouts=function(){this._itemLayouts.length=0},S.getItemVisual=function(e,t,n){var i=this._itemVisuals[e],r=i&&i[t];return null!=r||n?r:this.getVisual(t)},S.setItemVisual=function(e,t,n){var i=this._itemVisuals[e]||{},r=this.hasItemVisual;if(this._itemVisuals[e]=i,h(t))for(var a in t)t.hasOwnProperty(a)&&(i[a]=t[a],r[a]=!0);else i[t]=n,r[t]=!0},S.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var O=function(e){e.seriesIndex=this.seriesIndex,e.dataIndex=this.dataIndex,e.dataType=this.dataType};S.setItemGraphicEl=function(e,t){var n=this.hostModel;t&&(t.dataIndex=e,t.dataType=this.dataType,t.seriesIndex=n&&n.seriesIndex,"group"===t.type&&t.traverse(O,t)),this._graphicEls[e]=t},S.getItemGraphicEl=function(e){return this._graphicEls[e]},S.eachItemGraphicEl=function(e,t){i.each(this._graphicEls,(function(n,i){n&&e&&e.call(t,n,i)}))},S.cloneShallow=function(e){if(!e){var t=i.map(this.dimensions,this.getDimensionInfo,this);e=new w(t,this.hostModel)}if(e._storage=this._storage,_(e,this),this._indices){var n=this._indices.constructor;e._indices=new n(this._indices)}else e._indices=null;return e.getRawIndex=e._indices?I:k,e},S.wrapMethod=function(e,t){var n=this[e];"function"===typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(i.slice(arguments)))})},S.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],S.CHANGABLE_METHODS=["filterSelf","selectRange"];var N=w;e.exports=N},function(e,t,n){var i=n(1),r=n(3),a=n(10),o=n(18).calculateTextPosition,s=r.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,i=t.cy,r=t.width/2,a=t.height/2;e.moveTo(n,i-a),e.lineTo(n+r,i+a),e.lineTo(n-r,i+a),e.closePath()}}),l=r.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,i=t.cy,r=t.width/2,a=t.height/2;e.moveTo(n,i-a),e.lineTo(n+r,i),e.lineTo(n,i+a),e.lineTo(n-r,i),e.closePath()}}),u=r.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,i=t.y,r=t.width/5*3,a=Math.max(r,t.height),o=r/2,s=o*o/(a-o),l=i-a+o+s,u=Math.asin(s/o),c=Math.cos(u)*o,d=Math.sin(u),h=Math.cos(u),f=.6*o,p=.7*o;e.moveTo(n-c,l+s),e.arc(n,l,o,Math.PI-u,2*Math.PI+u),e.bezierCurveTo(n+c-d*f,l+s+h*f,n,i-p,n,i),e.bezierCurveTo(n,i-p,n-c+d*f,l+s+h*f,n-c,l+s),e.closePath()}}),c=r.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,i=t.width,r=t.x,a=t.y,o=i/3*2;e.moveTo(r,a),e.lineTo(r+o,a+n),e.lineTo(r,a+n/4*3),e.lineTo(r-o,a+n),e.lineTo(r,a),e.closePath()}}),d={line:r.Line,rect:r.Rect,roundRect:r.Rect,square:r.Rect,circle:r.Circle,diamond:l,pin:u,arrow:c,triangle:s},h={line:function(e,t,n,i,r){r.x1=e,r.y1=t+i/2,r.x2=e+n,r.y2=t+i/2},rect:function(e,t,n,i,r){r.x=e,r.y=t,r.width=n,r.height=i},roundRect:function(e,t,n,i,r){r.x=e,r.y=t,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(e,t,n,i,r){var a=Math.min(n,i);r.x=e,r.y=t,r.width=a,r.height=a},circle:function(e,t,n,i,r){r.cx=e+n/2,r.cy=t+i/2,r.r=Math.min(n,i)/2},diamond:function(e,t,n,i,r){r.cx=e+n/2,r.cy=t+i/2,r.width=n,r.height=i},pin:function(e,t,n,i,r){r.x=e+n/2,r.y=t+i/2,r.width=n,r.height=i},arrow:function(e,t,n,i,r){r.x=e+n/2,r.y=t+i/2,r.width=n,r.height=i},triangle:function(e,t,n,i,r){r.cx=e+n/2,r.cy=t+i/2,r.width=n,r.height=i}},f={};i.each(d,(function(e,t){f[t]=new e}));var p=r.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,n){var i=o(e,t,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===t.textPosition&&(i.y=n.y+.4*n.height),i},buildPath:function(e,t,n){var i=t.symbolType;if("none"!==i){var r=f[i];r||(r=f[i="rect"]),h[i](t.x,t.y,t.width,t.height,r.shape),r.buildPath(e,r.shape,n)}}});function g(e,t){if("image"!==this.type){var n=this.style,i=this.shape;i&&"line"===i.symbolType?n.stroke=e:this.__isEmptyBrush?(n.stroke=e,n.fill=t||"#fff"):(n.fill&&(n.fill=e),n.stroke&&(n.stroke=e)),this.dirty(!1)}}t.createSymbol=function(e,t,n,i,o,s,l){var u,c=0===e.indexOf("empty");return c&&(e=e.substr(5,1).toLowerCase()+e.substr(6)),(u=0===e.indexOf("image://")?r.makeImage(e.slice(8),new a(t,n,i,o),l?"center":"cover"):0===e.indexOf("path://")?r.makePath(e.slice(7),{},new a(t,n,i,o),l?"center":"cover"):new p({shape:{symbolType:e,x:t,y:n,width:i,height:o}})).__isEmptyBrush=c,u.setColor=g,u.setColor(s),u}},function(e,t,n){var i=n(1),r={};function a(){this._coordinateSystems=[]}a.prototype={constructor:a,create:function(e,t){var n=[];i.each(r,(function(i,r){var a=i.create(e,t);n=n.concat(a||[])})),this._coordinateSystems=n},update:function(e,t){i.each(this._coordinateSystems,(function(n){n.update&&n.update(e,t)}))},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},a.register=function(e,t){r[e]=t},a.get=function(e){return r[e]};var o=a;e.exports=o},function(e,t,n){n(6).__DEV__;var i=n(1),r=n(265),a=n(80),o=n(79),s=n(4),l=n(81),u=l.prepareLayoutBarSeries,c=l.makeColumnLayout,d=l.retrieveColumnLayout,h=n(10);function f(e,t){var n,r,a,o=e.type,l=t.getMin(),h=t.getMax(),f=e.getExtent();"ordinal"===o?n=t.getCategories().length:(r=t.get("boundaryGap"),i.isArray(r)||(r=[r||0,r||0]),"boolean"===typeof r[0]&&(r=[0,0]),r[0]=s.parsePercent(r[0],1),r[1]=s.parsePercent(r[1],1),a=f[1]-f[0]||Math.abs(f[0])),"dataMin"===l?l=f[0]:"function"===typeof l&&(l=l({min:f[0],max:f[1]})),"dataMax"===h?h=f[1]:"function"===typeof h&&(h=h({min:f[0],max:f[1]}));var p=null!=l,g=null!=h;null==l&&(l="ordinal"===o?n?0:NaN:f[0]-r[0]*a),null==h&&(h="ordinal"===o?n?n-1:NaN:f[1]+r[1]*a),(null==l||!isFinite(l))&&(l=NaN),(null==h||!isFinite(h))&&(h=NaN),e.setBlank(i.eqNaN(l)||i.eqNaN(h)||"ordinal"===o&&!e.getOrdinalMeta().categories.length),t.getNeedCrossZero()&&(l>0&&h>0&&!p&&(l=0),l<0&&h<0&&!g&&(h=0));var m=t.ecModel;if(m&&"time"===o){var v,y=u("bar",m);if(i.each(y,(function(e){v|=e.getBaseAxis()===t.axis})),v){var x=c(y),b=function(e,t,n,r){var a=n.axis.getExtent(),o=a[1]-a[0],s=d(r,n.axis);if(void 0===s)return{min:e,max:t};var l=1/0;i.each(s,(function(e){l=Math.min(e.offset,l)}));var u=-1/0;i.each(s,(function(e){u=Math.max(e.offset+e.width,u)})),l=Math.abs(l),u=Math.abs(u);var c=l+u,h=t-e,f=h/(1-(l+u)/o)-h;return{min:e-=f*(l/c),max:t+=f*(u/c)}}(l,h,t,x);l=b.min,h=b.max}}return{extent:[l,h],fixMin:p,fixMax:g}}function p(e){var t,n=e.getLabelModel().get("formatter"),i="category"===e.type?e.scale.getExtent()[0]:null;return"string"===typeof n?(t=n,n=function(n){return n=e.scale.getLabel(n),t.replace("{value}",null!=n?n:"")}):"function"===typeof n?function(t,r){return null!=i&&(r=t-i),n(g(e,t),r)}:function(t){return e.scale.getLabel(t)}}function g(e,t){return"category"===e.type?e.scale.getLabel(t):t}function m(e,t){var n=t*Math.PI/180,i=e.plain(),r=i.width,a=i.height,o=r*Math.cos(n)+a*Math.sin(n),s=r*Math.sin(n)+a*Math.cos(n);return new h(i.x,i.y,o,s)}function v(e){var t=e.get("interval");return null==t?"auto":t}n(266),n(156),t.getScaleExtent=f,t.niceScaleExtent=function(e,t){var n=f(e,t),i=n.extent,r=t.get("splitNumber");"log"===e.type&&(e.base=t.get("logBase"));var a=e.type;e.setExtent(i[0],i[1]),e.niceExtent({splitNumber:r,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:"interval"===a||"time"===a?t.get("minInterval"):null,maxInterval:"interval"===a||"time"===a?t.get("maxInterval"):null});var o=t.get("interval");null!=o&&e.setInterval&&e.setInterval(o)},t.createScaleByModel=function(e,t){if(t=t||e.get("type"))switch(t){case"category":return new r(e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),[1/0,-1/0]);case"value":return new a;default:return(o.getClass(t)||a).create(e)}},t.ifAxisCrossZero=function(e){var t=e.scale.getExtent(),n=t[0],i=t[1];return!(n>0&&i>0||n<0&&i<0)},t.makeLabelFormatter=p,t.getAxisRawValue=g,t.estimateLabelUnionRect=function(e){var t=e.model,n=e.scale;if(t.get("axisLabel.show")&&!n.isBlank()){var i,r,a="category"===e.type,o=n.getExtent();r=a?n.count():(i=n.getTicks()).length;var s,l=e.getLabelModel(),u=p(e),c=1;r>40&&(c=Math.ceil(r/40));for(var d=0;d1&&void 0!==arguments[1]?arguments[1]:600,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=null;return function(){clearTimeout(i);for(var r=arguments.length,a=Array(r),o=0;oe.length)&&(t=e.length);for(var n=0,i=new Array(t);nt+r)&&!(l>n+a)))},t.getRotatePointPos=b,t.getScalePointPos=_,t.getTranslatePointPos=w,t.getDistanceBetweenPointAndLine=S,t.getCircleRadianPoint=M,t.getRegularPolygonPoints=C,t.default=void 0;var n=Q(ne),i=Q(se),r=Q(ie),a=Math.abs,o=Math.sqrt,s=Math.sin,l=Math.cos,u=Math.max,c=Math.min,d=Math.PI;function h(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return e;var n=JSON.parse,i=JSON.stringify;if(!t)return n(i(e));var a=e instanceof Array?[]:{};if(e&&"object"===(0,r.default)(e))for(var o in e)e.hasOwnProperty(o)&&(e[o]&&"object"===(0,r.default)(e[o])?a[o]=h(e[o],!0):a[o]=e[o]);return a}function f(e){return e.map((function(e){var t=(0,i.default)(e,2),n=t[0],r=t[1];return[parseInt(n)+.5,parseInt(r)+.5]}))}function p(e,t,n,i){return g(e,[t,n])<=i}function g(e,t){var n=(0,i.default)(e,2),r=n[0],s=n[1],l=(0,i.default)(t,2),u=l[0],c=l[1],d=a(r-u),h=a(s-c);return o(d*d+h*h)}function m(e,t){for(var n=0,r=(0,i.default)(e,2),a=r[0],o=r[1],s=t.length,l=1,d=t[0];l<=s;l++){var h=t[l%s];if(a>c(d[0],h[0])&&a<=u(d[0],h[0])&&o<=u(d[1],h[1])&&d[0]!==h[0]){var f=(a-d[0])*(h[1]-d[1])/(h[0]-d[0])+d[1];(d[1]===h[1]||o<=f)&&n++}d=h}return n%2===1}function v(e,t,n,r,a,o,s){if(!e)return!1;if(g(e,[t,n])>r)return!1;if(!s){var l=h([o,a]),u=(0,i.default)(l,2);a=u[0],o=u[1]}var c=a>o;if(c){var f=[o,a];a=f[0],o=f[1]}var p=o-a;if(p>=2*d)return!0;var m=(0,i.default)(e,2),v=m[0],x=m[1],b=M(t,n,r,a),_=(0,i.default)(b,2),w=_[0],S=_[1],C=M(t,n,r,o),T=(0,i.default)(C,2),k=[v-t,x-n],I=[w-t,S-n],A=[T[0]-t,T[1]-n],P=p>d;if(P){var E=h([A,I]),D=(0,i.default)(E,2);I=D[0],A=D[1]}var L=y(I,k)&&!y(A,k);return P&&(L=!L),c&&(L=!L),L}function y(e,t){var n=(0,i.default)(e,2),r=n[0],a=n[1],o=(0,i.default)(t,2);return-a*o[0]+r*o[1]>0}function x(e,t,r){var a=r/2,o=t.map((function(e){var t=(0,i.default)(e,2);return[t[0],t[1]-a]})),s=t.map((function(e){var t=(0,i.default)(e,2);return[t[0],t[1]+a]}));return m(e,[].concat((0,n.default)(o),(0,n.default)(s.reverse())))}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0];if(!t)return!1;if(e%360===0)return t;var r=(0,i.default)(t,2),a=r[0],o=r[1],u=(0,i.default)(n,2),c=u[0],h=u[1];return[(a-c)*l(e*=d/180)-(o-h)*s(e)+c,(a-c)*s(e)+(o-h)*l(e)+h]}function _(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[1,1],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0];if(!t)return!1;if(1===e)return t;var r=(0,i.default)(t,2),a=r[0],o=r[1],s=(0,i.default)(n,2),l=s[0],u=s[1],c=(0,i.default)(e,2),d=c[0],h=c[1],f=a-l,p=o-u;return[f*d+l,p*h+u]}function w(e,t){if(!e||!t)return!1;var n=(0,i.default)(t,2),r=n[0],a=n[1],o=(0,i.default)(e,2);return[r+o[0],a+o[1]]}function S(e,t,n){if(!e||!t||!n)return!1;var r=(0,i.default)(e,2),s=r[0],l=r[1],u=(0,i.default)(t,2),c=u[0],d=u[1],h=(0,i.default)(n,2),f=h[0],p=h[1],g=p-d,m=c-f;return a(g*s+m*l+(d*(f-c)-c*(p-d)))/o(g*g+m*m)}function M(e,t,n,i){return[e+l(i)*n,t+s(i)*n]}function C(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-.5*d,a=2*d/i,o=new Array(i).fill("").map((function(e,t){return t*a+r}));return o.map((function(i){return M(e,t,n,i)}))}var T={deepClone:h,eliminateBlur:f,checkPointIsInCircle:p,checkPointIsInPolygon:m,checkPointIsInSector:v,checkPointIsNearPolyline:x,getTwoPointDistance:g,getRotatePointPos:b,getScalePointPos:_,getTranslatePointPos:w,getCircleRadianPoint:M,getRegularPolygonPoints:C,getDistanceBetweenPointAndLine:S};t.default=T}));a(le);var ue=le.deepClone,ce=(le.eliminateBlur,le.checkPointIsInCircle,le.getTwoPointDistance,le.checkPointIsInPolygon,le.checkPointIsInSector,le.checkPointIsNearPolyline,le.checkPointIsInRect,le.getRotatePointPos,le.getScalePointPos,le.getTranslatePointPos,le.getDistanceBetweenPointAndLine,le.getCircleRadianPoint,le.getRegularPolygonPoints,o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.filterNonNumber=r,t.deepMerge=a,t.mulAdd=o,t.mergeSameStackData=function(e,t){var i=e.stack;if(!i)return(0,n.default)(e.data);var r=t.filter((function(e){return e.stack===i})),a=r.findIndex((function(t){return t.data===e.data})),s=r.splice(0,a+1).map((function(e){return e.data})),l=s[0].length;return new Array(l).fill(0).map((function(e,t){return o(s.map((function(e){return e[t]})))}))},t.getTwoPointDistance=s,t.getLinearGradientColor=function(e,t,i,r){if(!e||!t||!i||!r.length)return;var a=r;"string"===typeof a&&(a=[r,r]);var o=e.createLinearGradient.apply(e,(0,n.default)(t).concat((0,n.default)(i))),s=1/(a.length-1);return a.forEach((function(e,t){return o.addColorStop(s*t,e)})),o},t.getPolylineLength=function(e){return o(new Array(e.length-1).fill(0).map((function(t,n){return[e[n],e[n+1]]})).map((function(e){return s.apply(void 0,(0,n.default)(e))})))},t.getPointToLineDistance=function(e,t,n){var i=s(e,t),r=s(e,n),a=s(t,n);return.5*Math.sqrt((i+r+a)*(i+r-a)*(i+a-r)*(r+a-i))/a},t.initNeedSeries=function(e,t,n){return(e=(e=e.filter((function(e){return e.type===n}))).map((function(e){return a((0,le.deepClone)(t,!0),e)}))).filter((function(e){return e.show}))},t.radianToAngle=function(e){return e/Math.PI*180};var n=Q(ne),i=Q(ie);function r(e){return e.filter((function(e){return"number"===typeof e}))}function a(e,t){for(var n in t)e[n]&&"object"===(0,i.default)(e[n])?a(e[n],t[n]):"object"!==(0,i.default)(t[n])?e[n]=t[n]:e[n]=(0,le.deepClone)(t[n],!0);return e}function o(e){return(e=r(e)).reduce((function(e,t){return e+t}),0)}function s(e,t){var n=Math.abs(e[0]-t[0]),i=Math.abs(e[1]-t[1]);return Math.sqrt(n*n+i*i)}})));a(ce);ce.filterNonNumber;var de=ce.deepMerge,he=(ce.mulAdd,ce.mergeSameStackData,ce.getTwoPointDistance,ce.getLinearGradientColor,ce.getPolylineLength);ce.getPointToLineDistance,ce.initNeedSeries,ce.radianToAngle;F(".dv-border-box-1 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-1 .border {\n position: absolute;\n display: block;\n}\n.dv-border-box-1 .right-top {\n right: 0px;\n transform: rotateY(180deg);\n}\n.dv-border-box-1 .left-bottom {\n bottom: 0px;\n transform: rotateX(180deg);\n}\n.dv-border-box-1 .right-bottom {\n right: 0px;\n bottom: 0px;\n transform: rotateX(180deg) rotateY(180deg);\n}\n.dv-border-box-1 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n");var fe=["left-top","right-top","left-bottom","right-bottom"],pe=["#4fd2dd","#235fa7"],ge=function(e){var t=e.children,n=e.className,a=e.style,o=e.color,s=void 0===o?[]:o,l=Object(i.useMemo)((function(){return de(ue(pe,!0),s||[])}),[s]),u=Object(i.useMemo)((function(){return q("dv-border-box-1",n)}),[n]);return r.a.createElement("div",{className:u,style:a},fe.map((function(e){return r.a.createElement("svg",{width:"150px",height:"150px",key:e,className:e+" border"},r.a.createElement("polygon",{fill:l[0],points:"6,66 6,18 12,12 18,12 24,6 27,6 30,9 36,9 39,6 84,6 81,9 75,9 73.2,7 40.8,7 37.8,10.2 24,10.2 12,21 12,24 9,27 9,51 7.8,54 7.8,63"},r.a.createElement("animate",{attributeName:"fill",values:l[0]+";"+l[1]+";"+l[0],dur:"0.5s",begin:"0s",repeatCount:"indefinite"})),r.a.createElement("polygon",{fill:l[1],points:"27.599999999999998,4.8 38.4,4.8 35.4,7.8 30.599999999999998,7.8"},r.a.createElement("animate",{attributeName:"fill",values:l[1]+";"+l[0]+";"+l[1],dur:"0.5s",begin:"0s",repeatCount:"indefinite"})),r.a.createElement("polygon",{fill:l[0],points:"9,54 9,63 7.199999999999999,66 7.199999999999999,75 7.8,78 7.8,110 8.4,110 8.4,66 9.6,66 9.6,54"},r.a.createElement("animate",{attributeName:"fill",values:l[0]+";"+l[1]+";transparent",dur:"1s",begin:"0s",repeatCount:"indefinite"})))})),r.a.createElement("div",{className:"border-box-content"},t))};ge.propTypes={children:B.node,className:B.string,style:B.object,color:B.array};var me=ge;F(".dv-border-box-2 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-2 .dv-border-svg-container {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n}\n.dv-border-box-2 .dv-border-svg-container polyline {\n fill: none;\n stroke-width: 1;\n}\n.dv-border-box-2 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n");var ve=["#fff","rgba(255, 255, 255, 0.6)"],ye=Object(i.forwardRef)((function(e,t){var n=e.children,a=e.className,o=e.style,s=e.color,l=void 0===s?[]:s,u=Y(t),c=u.width,d=u.height,h=u.domRef,f=Object(i.useMemo)((function(){return de(ue(ve,!0),l||[])}),[l]),p=Object(i.useMemo)((function(){return q("dv-border-box-2",a)}),[a]);return r.a.createElement("div",{className:p,style:o,ref:h},r.a.createElement("svg",{className:"dv-border-svg-container",width:c,height:d},r.a.createElement("polyline",{stroke:f[0],points:"2, 2 "+(c-2)+" ,2 "+(c-2)+", "+(d-2)+" 2, "+(d-2)+" 2, 2"}),r.a.createElement("polyline",{stroke:f[1],points:"6, 6 "+(c-6)+", 6 "+(c-6)+", "+(d-6)+" 6, "+(d-6)+" 6, 6"}),r.a.createElement("circle",{fill:f[0],cx:"11",cy:"11",r:"1"}),r.a.createElement("circle",{fill:f[0],cx:c-11,cy:"11",r:"1"}),r.a.createElement("circle",{fill:f[0],cx:c-11,cy:d-11,r:"1"}),r.a.createElement("circle",{fill:f[0],cx:"11",cy:d-11,r:"1"})),r.a.createElement("div",{className:"border-box-content"},n))}));ye.propTypes={children:B.node,className:B.string,style:B.object,color:B.array};F(".dv-border-box-3 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-3 .dv-border-svg-container {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n}\n.dv-border-box-3 .dv-border-svg-container polyline {\n fill: none;\n}\n.dv-border-box-3 .dv-bb3-line1 {\n stroke-width: 3;\n}\n.dv-border-box-3 .dv-bb3-line2 {\n stroke-width: 1;\n}\n.dv-border-box-3 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n");var xe=["#2862b7","#2862b7"],be=Object(i.forwardRef)((function(e,t){var n=e.children,a=e.className,o=e.style,s=e.color,l=void 0===s?[]:s,u=Y(t),c=u.width,d=u.height,h=u.domRef,f=Object(i.useMemo)((function(){return de(ue(xe,!0),l||[])}),[l]),p=Object(i.useMemo)((function(){return q("dv-border-box-3",a)}),[a]);return r.a.createElement("div",{className:p,style:o,ref:h},r.a.createElement("svg",{className:"dv-border-svg-container",width:c,height:d},r.a.createElement("polyline",{className:"dv-bb3-line1",stroke:f[0],points:"4, 4 "+(c-22)+" ,4 "+(c-22)+", "+(d-22)+" 4, "+(d-22)+" 4, 4"}),r.a.createElement("polyline",{className:"dv-bb3-line2",stroke:f[1],points:"10, 10 "+(c-16)+", 10 "+(c-16)+", "+(d-16)+" 10, "+(d-16)+" 10, 10"}),r.a.createElement("polyline",{className:"dv-bb3-line2",stroke:f[1],points:"16, 16 "+(c-10)+", 16 "+(c-10)+", "+(d-10)+" 16, "+(d-10)+" 16, 16"}),r.a.createElement("polyline",{className:"dv-bb3-line2",stroke:f[1],points:"22, 22 "+(c-4)+", 22 "+(c-4)+", "+(d-4)+" 22, "+(d-4)+" 22, 22"})),r.a.createElement("div",{className:"border-box-content"},n))}));be.propTypes={children:B.node,className:B.string,style:B.object,color:B.array};F(".dv-border-box-4 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-4 .dv-reverse {\n transform: rotate(180deg);\n}\n.dv-border-box-4 .dv-border-svg-container {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n}\n.dv-border-box-4 .dv-border-svg-container polyline {\n fill: none;\n}\n.dv-border-box-4 .sw1 {\n stroke-width: 1;\n}\n.dv-border-box-4 .sw3 {\n stroke-width: 3px;\n stroke-linecap: round;\n}\n.dv-border-box-4 .dv-bb4-line-1 {\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-2 {\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-3 {\n stroke-width: 3px;\n stroke-linecap: round;\n}\n.dv-border-box-4 .dv-bb4-line-4 {\n stroke-width: 3px;\n stroke-linecap: round;\n}\n.dv-border-box-4 .dv-bb4-line-5 {\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-6 {\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-7 {\n stroke-width: 1;\n}\n.dv-border-box-4 .dv-bb4-line-8 {\n stroke-width: 3px;\n stroke-linecap: round;\n}\n.dv-border-box-4 .dv-bb4-line-9 {\n stroke-width: 3px;\n stroke-linecap: round;\n stroke-dasharray: 100 250;\n}\n.dv-border-box-4 .dv-bb4-line-10 {\n stroke-width: 1;\n stroke-dasharray: 80 270;\n}\n.dv-border-box-4 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n");var _e=["red","rgba(0,0,255,0.8)"],we=Object(i.forwardRef)((function(e,t){var n=e.children,a=e.reverse,o=void 0!==a&&a,s=e.className,l=e.style,u=e.color,c=void 0===u?[]:u,d=Y(t),h=d.width,f=d.height,p=d.domRef,g=Object(i.useMemo)((function(){return de(ue(_e,!0),c||[])}),[c]),m=Object(i.useMemo)((function(){return q("dv-border-box-4",s)}),[s]);return r.a.createElement("div",{className:m,style:l,ref:p},r.a.createElement("svg",{className:"dv-border-svg-container "+(o&&"dv-reverse"),width:h,height:f},r.a.createElement("polyline",{className:"dv-bb4-line-1",stroke:g[0],points:"145, "+(f-5)+" 40, "+(f-5)+" 10, "+(f-35)+"\n 10, 40 40, 5 150, 5 170, 20 "+(h-15)+", 20"}),r.a.createElement("polyline",{className:"dv-bb4-line-2",stroke:g[1],points:"245, "+(f-1)+" 36, "+(f-1)+" 14, "+(f-23)+"\n 14, "+(f-100)}),r.a.createElement("polyline",{className:"dv-bb4-line-3",stroke:g[0],points:"7, "+(f-40)+" 7, "+(f-75)}),r.a.createElement("polyline",{className:"dv-bb4-line-4",stroke:g[0],points:"28, 24 13, 41 13, 64"}),r.a.createElement("polyline",{className:"dv-bb4-line-5",stroke:g[0],points:"5, 45 5, 140"}),r.a.createElement("polyline",{className:"dv-bb4-line-6",stroke:g[1],points:"14, 75 14, 180"}),r.a.createElement("polyline",{className:"dv-bb4-line-7",stroke:g[1],points:"55, 11 147, 11 167, 26 250, 26"}),r.a.createElement("polyline",{className:"dv-bb4-line-8",stroke:g[1],points:"158, 5 173, 16"}),r.a.createElement("polyline",{className:"dv-bb4-line-9",stroke:g[0],points:"200, 17 "+(h-10)+", 17"}),r.a.createElement("polyline",{className:"dv-bb4-line-10",stroke:g[1],points:"385, 17 "+(h-10)+", 17"})),r.a.createElement("div",{className:"border-box-content"},n))}));we.propTypes={children:B.node,reverse:B.bool,className:B.string,style:B.object,color:B.array},we.defaultProps={reverse:!1};F(".dv-border-box-5 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-5 .dv-reverse {\n transform: rotate(180deg);\n}\n.dv-border-box-5 .dv-svg-container {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-5 .dv-svg-container polyline {\n fill: none;\n}\n.dv-border-box-5 .dv-bb5-line-1,\n.dv-border-box-5 .dv-bb5-line-2 {\n stroke-width: 1;\n}\n.dv-border-box-5 .dv-bb5-line-3,\n.dv-border-box-5 .dv-bb5-line-6 {\n stroke-width: 5;\n}\n.dv-border-box-5 .dv-bb5-line-4,\n.dv-border-box-5 .dv-bb5-line-5 {\n stroke-width: 2;\n}\n.dv-border-box-5 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n");var Se=["rgba(255, 255, 255, 0.35)","rgba(255, 255, 255, 0.20)"],Me=Object(i.forwardRef)((function(e,t){var n=e.children,a=e.reverse,o=void 0!==a&&a,s=e.className,l=e.style,u=e.color,c=void 0===u?[]:u,d=Y(t),h=d.width,f=d.height,p=d.domRef,g=Object(i.useMemo)((function(){return de(ue(Se,!0),c||[])}),[c]),m=Object(i.useMemo)((function(){return q("dv-border-box-5",s)}),[s]);return r.a.createElement("div",{className:m,style:l,ref:p},r.a.createElement("svg",{className:"dv-svg-container "+(o&&"dv-reverse"),width:h,height:f},r.a.createElement("polyline",{className:"dv-bb5-line-1",stroke:g[0],points:"8, 5 "+(h-5)+", 5 "+(h-5)+", "+(f-100)+"\n "+(h-100)+", "+(f-5)+" 8, "+(f-5)+" 8, 5"}),r.a.createElement("polyline",{className:"dv-bb5-line-2",stroke:g[1],points:"3, 5 "+(h-20)+", 5 "+(h-20)+", "+(f-60)+"\n "+(h-74)+", "+(f-5)+" 3, "+(f-5)+" 3, 5"}),r.a.createElement("polyline",{className:"dv-bb5-line-3",stroke:g[1],points:"50, 13 "+(h-35)+", 13"}),r.a.createElement("polyline",{className:"dv-bb5-line-4",stroke:g[1],points:"15, 20 "+(h-35)+", 20"}),r.a.createElement("polyline",{className:"dv-bb5-line-5",stroke:g[1],points:"15, "+(f-20)+" "+(h-110)+", "+(f-20)}),r.a.createElement("polyline",{className:"dv-bb5-line-6",stroke:g[1],points:"15, "+(f-13)+" "+(h-110)+", "+(f-13)})),r.a.createElement("div",{className:"border-box-content"},n))}));Me.propTypes={children:B.node,reverse:B.bool,className:B.string,style:B.object,color:B.array},Me.defaultProps={reverse:!1};F(".dv-border-box-6 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-6 .dv-svg-container {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-6 .dv-svg-container polyline {\n fill: none;\n stroke-width: 1;\n}\n.dv-border-box-6 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n");var Ce=["rgba(255, 255, 255, 0.35)","gray"],Te=Object(i.forwardRef)((function(e,t){var n=e.children,a=e.className,o=e.style,s=e.color,l=void 0===s?[]:s,u=Y(t),c=u.width,d=u.height,h=u.domRef,f=Object(i.useMemo)((function(){return de(ue(Ce,!0),l||[])}),[l]),p=Object(i.useMemo)((function(){return q("dv-border-box-6",a)}),[a]);return r.a.createElement("div",{className:p,style:o,ref:h},r.a.createElement("svg",{className:"dv-svg-container",width:c,height:d},r.a.createElement("circle",{fill:f[1],cx:"5",cy:"5",r:"2"}),r.a.createElement("circle",{fill:f[1],cx:c-5,cy:"5",r:"2"}),r.a.createElement("circle",{fill:f[1],cx:c-5,cy:d-5,r:"2"}),r.a.createElement("circle",{fill:f[1],cx:"5",cy:d-5,r:"2"}),r.a.createElement("polyline",{stroke:f[0],points:"10, 4 "+(c-10)+", 4"}),r.a.createElement("polyline",{stroke:f[0],points:"10, "+(d-4)+" "+(c-10)+", "+(d-4)}),r.a.createElement("polyline",{stroke:f[0],points:"5, 70 5, "+(d-70)}),r.a.createElement("polyline",{stroke:f[0],points:c-5+", 70 "+(c-5)+", "+(d-70)}),r.a.createElement("polyline",{stroke:f[0],points:"3, 10, 3, 50"}),r.a.createElement("polyline",{stroke:f[0],points:"7, 30 7, 80"}),r.a.createElement("polyline",{stroke:f[0],points:c-3+", 10 "+(c-3)+", 50"}),r.a.createElement("polyline",{stroke:f[0],points:c-7+", 30 "+(c-7)+", 80"}),r.a.createElement("polyline",{stroke:f[0],points:"3, "+(d-10)+" 3, "+(d-50)}),r.a.createElement("polyline",{stroke:f[0],points:"7, "+(d-30)+" 7, "+(d-80)}),r.a.createElement("polyline",{stroke:f[0],points:c-3+", "+(d-10)+" "+(c-3)+", "+(d-50)}),r.a.createElement("polyline",{stroke:f[0],points:c-7+", "+(d-30)+" "+(c-7)+", "+(d-80)})),r.a.createElement("div",{className:"border-box-content"},n))}));Te.propTypes={children:B.node,className:B.string,style:B.object,color:B.array};F(".dv-border-box-7 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-7 .dv-svg-container {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-7 .dv-svg-container polyline {\n fill: none;\n stroke-linecap: round;\n}\n.dv-border-box-7 .dv-bb7-line-width-2 {\n stroke-width: 2;\n}\n.dv-border-box-7 .dv-bb7-line-width-5 {\n stroke-width: 5;\n}\n.dv-border-box-7 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n");var ke=["rgba(128,128,128,0.3)","rgba(128,128,128,0.5)"],Ie=Object(i.forwardRef)((function(e,t){var n=e.children,a=e.className,o=e.style,s=e.color,l=void 0===s?[]:s,u=Y(t),c=u.width,d=u.height,h=u.domRef,f=Object(i.useMemo)((function(){return de(ue(ke,!0),l||[])}),[l]),p=Object(i.useMemo)((function(){return q("dv-border-box-7",a)}),[a]),g=Object(i.useMemo)((function(){return W({boxShadow:"inset 0 0 40px "+f[0],border:"1px solid "+f[0]},o)}),[o,f]);return r.a.createElement("div",{className:p,style:g,ref:h},r.a.createElement("svg",{className:"dv-svg-container",width:c,height:d},r.a.createElement("polyline",{className:"dv-bb7-line-width-2",stroke:f[0],points:"0, 25 0, 0 25, 0"}),r.a.createElement("polyline",{className:"dv-bb7-line-width-2",stroke:f[0],points:c-25+", 0 "+c+", 0 "+c+", 25"}),r.a.createElement("polyline",{className:"dv-bb7-line-width-2",stroke:f[0],points:c-25+", "+d+" "+c+", "+d+" "+c+", "+(d-25)}),r.a.createElement("polyline",{className:"dv-bb7-line-width-2",stroke:f[0],points:"0, "+(d-25)+" 0, "+d+" 25, "+d}),r.a.createElement("polyline",{className:"dv-bb7-line-width-5",stroke:f[1],points:"0, 10 0, 0 10, 0"}),r.a.createElement("polyline",{className:"dv-bb7-line-width-5",stroke:f[1],points:c-10+", 0 "+c+", 0 "+c+", 10"}),r.a.createElement("polyline",{className:"dv-bb7-line-width-5",stroke:f[1],points:c-10+", "+d+" "+c+", "+d+" "+c+", "+(d-10)}),r.a.createElement("polyline",{className:"dv-bb7-line-width-5",stroke:f[1],points:"0, "+(d-10)+" 0, "+d+" 10, "+d})),r.a.createElement("div",{className:"border-box-content"},n))}));Ie.propTypes={children:B.node,className:B.string,style:B.object,color:B.array};F(".dv-border-box-8 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-8 svg {\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0px;\n top: 0px;\n}\n.dv-border-box-8 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n");var Ae=["#235fa7","#4fd2dd"],Pe=Object(i.forwardRef)((function(e,t){var n=e.children,a=e.className,o=e.style,s=e.color,l=void 0===s?[]:s,u=e.dur,c=void 0===u?3:u,d=Y(t),h=d.width,f=d.height,p=d.domRef,g=Object(i.useState)((function(){var e=Date.now();return{path:"border-box-8-path-"+e,gradient:"border-box-8-gradient-"+e,mask:"border-box-8-mask-"+e}})),m=H(g,1)[0],v=m.path,y=m.gradient,x=m.mask,b=Object(i.useMemo)((function(){return de(ue(Ae,!0),l||[])}),[l]),_=Object(i.useMemo)((function(){return 2*(h+f-5)}),[h,f]),w=Object(i.useMemo)((function(){return q("dv-border-box-8",a)}),[a]);return r.a.createElement("div",{className:w,style:o,ref:p},r.a.createElement("svg",{className:"dv-svg-container",width:h,height:f},r.a.createElement("defs",null,r.a.createElement("path",{id:v,d:"M2.5, 2.5 L"+(h-2.5)+", 2.5 L"+(h-2.5)+", "+(f-2.5)+" L2.5, "+(f-2.5)+" L2.5, 2.5",fill:"transparent"}),r.a.createElement("radialGradient",{id:y,cx:"50%",cy:"50%",r:"50%"},r.a.createElement("stop",{offset:"0%",stopColor:"#fff",stopOpacity:"1"}),r.a.createElement("stop",{offset:"100%",stopColor:"#fff",stopOpacity:"0"})),r.a.createElement("mask",{id:x},r.a.createElement("circle",{cx:"0",cy:"0",r:"150",fill:"url(#"+y+")"},r.a.createElement("animateMotion",{dur:c+"s",path:"M2.5, 2.5 L"+(h-2.5)+", 2.5 L"+(h-2.5)+", "+(f-2.5)+" L2.5, "+(f-2.5)+" L2.5, 2.5",rotate:"auto",repeatCount:"indefinite"})))),r.a.createElement("use",{stroke:b[0],strokeWidth:"1",href:"#"+v}),r.a.createElement("use",{stroke:b[1],strokeWidth:"3",href:"#"+v,mask:"url(#"+x+")"},r.a.createElement("animate",{attributeName:"stroke-dasharray",from:"0, "+_,to:_+", 0",dur:c+"s",repeatCount:"indefinite"}))),r.a.createElement("div",{className:"border-box-content"},n))}));Pe.propTypes={children:B.node,className:B.string,style:B.object,color:B.array,dur:B.number};var Ee=Pe;F(".dv-border-box-9 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-9 svg {\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0px;\n top: 0px;\n}\n.dv-border-box-9 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n");var De=["#11eefd","#0078d2"],Le=Object(i.forwardRef)((function(e,t){var n=e.children,a=e.className,o=e.style,s=e.color,l=void 0===s?[]:s,u=Y(t),c=u.width,d=u.height,h=u.domRef,f=Object(i.useState)((function(){var e=Date.now();return{gradientId:"border-box-9-gradient-"+e,maskId:"border-box-9-mask-"+e}})),p=H(f,1)[0],g=p.gradientId,m=p.maskId,v=Object(i.useMemo)((function(){return de(ue(De,!0),l||[])}),[l]),y=Object(i.useMemo)((function(){return q("dv-border-box-9",a)}),[a]);return r.a.createElement("div",{className:y,style:o,ref:h},r.a.createElement("svg",{className:"dv-svg-container",width:c,height:d},r.a.createElement("defs",null,r.a.createElement("linearGradient",{id:g,x1:"0%",y1:"0%",x2:"100%",y2:"100%"},r.a.createElement("animate",{attributeName:"x1",values:"0%;100%;0%",dur:"10s",begin:"0s",repeatCount:"indefinite"}),r.a.createElement("animate",{attributeName:"x2",values:"100%;0%;100%",dur:"10s",begin:"0s",repeatCount:"indefinite"}),r.a.createElement("stop",{offset:"0%",stopColor:v[0]},r.a.createElement("animate",{attributeName:"stop-color",values:v[0]+";"+v[1]+";"+v[0],dur:"10s",begin:"0s",repeatCount:"indefinite"})),r.a.createElement("stop",{offset:"100%",stopColor:v[1]},r.a.createElement("animate",{attributeName:"stop-color",values:v[1]+";"+v[0]+";"+v[1],dur:"10s",begin:"0s",repeatCount:"indefinite"}))),r.a.createElement("mask",{id:m},r.a.createElement("polyline",{stroke:"#fff",strokeWidth:"3",fill:"transparent",points:"8, "+.4*d+" 8, 3, "+(.4*c+7)+", 3"}),r.a.createElement("polyline",{fill:"#fff",points:"8, "+.15*d+" 8, 3, "+(.1*c+7)+", 3\n "+.1*c+", 8 14, 8 14, "+(.15*d-7)+"\n "}),r.a.createElement("polyline",{stroke:"#fff",strokeWidth:"3",fill:"transparent",points:.5*c+", 3 "+(c-3)+", 3, "+(c-3)+", "+.25*d}),r.a.createElement("polyline",{fill:"#fff",points:"\n "+.52*c+", 3 "+.58*c+", 3\n "+(.58*c-7)+", 9 "+(.52*c+7)+", 9\n "}),r.a.createElement("polyline",{fill:"#fff",points:"\n "+.9*c+", 3 "+(c-3)+", 3 "+(c-3)+", "+.1*d+"\n "+(c-9)+", "+(.1*d-7)+" "+(c-9)+", 9 "+(.9*c+7)+", 9\n "}),r.a.createElement("polyline",{stroke:"#fff",strokeWidth:"3",fill:"transparent",points:"8, "+.5*d+" 8, "+(d-3)+" "+(.3*c+7)+", "+(d-3)}),r.a.createElement("polyline",{fill:"#fff",points:"\n 8, "+.55*d+" 8, "+.7*d+"\n 2, "+(.7*d-7)+" 2, "+(.55*d+7)+"\n "}),r.a.createElement("polyline",{stroke:"#fff",strokeWidth:"3",fill:"transparent",points:.35*c+", "+(d-3)+" "+(c-3)+", "+(d-3)+" "+(c-3)+", "+.35*d}),r.a.createElement("polyline",{fill:"#fff",points:"\n "+.92*c+", "+(d-3)+" "+(c-3)+", "+(d-3)+" "+(c-3)+", "+.8*d+"\n "+(c-9)+", "+(.8*d+7)+" "+(c-9)+", "+(d-9)+" "+(.92*c+7)+", "+(d-9)+"\n "}))),r.a.createElement("rect",{x:"0",y:"0",width:c,height:d,fill:"url(#"+g+")",mask:"url(#"+m+")"})),r.a.createElement("div",{className:"border-box-content"},n))}));Le.propTypes={children:B.node,className:B.string,style:B.object,color:B.array};F(".dv-border-box-10 {\n position: relative;\n width: 100%;\n height: 100%;\n border-radius: 6px;\n}\n.dv-border-box-10 .border {\n position: absolute;\n display: block;\n}\n.dv-border-box-10 .right-top {\n right: 0px;\n transform: rotateY(180deg);\n}\n.dv-border-box-10 .left-bottom {\n bottom: 0px;\n transform: rotateX(180deg);\n}\n.dv-border-box-10 .right-bottom {\n right: 0px;\n bottom: 0px;\n transform: rotateX(180deg) rotateY(180deg);\n}\n.dv-border-box-10 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n");var Oe=["left-top","right-top","left-bottom","right-bottom"],Ne=["#1d48c4","#d3e1f8"],Re=function(e){var t=e.children,n=e.className,a=e.style,o=e.color,s=void 0===o?[]:o,l=Object(i.useMemo)((function(){return de(ue(Ne,!0),s||[])}),[s]),u=Object(i.useMemo)((function(){return q("dv-border-box-10",n)}),[n]),c=Object(i.useMemo)((function(){return W({boxShadow:"inset 0 0 25px 3px "+l[0]},a)}),[a,l]);return r.a.createElement("div",{className:u,style:c},Oe.map((function(e){return r.a.createElement("svg",{width:"150px",height:"150px",key:e,className:e+" border"},r.a.createElement("polygon",{fill:l[1],points:"40, 0 5, 0 0, 5 0, 16 3, 19 3, 7 7, 3 35, 3"}))})),r.a.createElement("div",{className:"border-box-content"},t))};Re.propTypes={children:B.node,className:B.string,style:B.object,color:B.array};var ze=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=new Map([["transparent","rgba(0,0,0,0)"],["black","#000000"],["silver","#C0C0C0"],["gray","#808080"],["white","#FFFFFF"],["maroon","#800000"],["red","#FF0000"],["purple","#800080"],["fuchsia","#FF00FF"],["green","#008000"],["lime","#00FF00"],["olive","#808000"],["yellow","#FFFF00"],["navy","#000080"],["blue","#0000FF"],["teal","#008080"],["aqua","#00FFFF"],["aliceblue","#f0f8ff"],["antiquewhite","#faebd7"],["aquamarine","#7fffd4"],["azure","#f0ffff"],["beige","#f5f5dc"],["bisque","#ffe4c4"],["blanchedalmond","#ffebcd"],["blueviolet","#8a2be2"],["brown","#a52a2a"],["burlywood","#deb887"],["cadetblue","#5f9ea0"],["chartreuse","#7fff00"],["chocolate","#d2691e"],["coral","#ff7f50"],["cornflowerblue","#6495ed"],["cornsilk","#fff8dc"],["crimson","#dc143c"],["cyan","#00ffff"],["darkblue","#00008b"],["darkcyan","#008b8b"],["darkgoldenrod","#b8860b"],["darkgray","#a9a9a9"],["darkgreen","#006400"],["darkgrey","#a9a9a9"],["darkkhaki","#bdb76b"],["darkmagenta","#8b008b"],["darkolivegreen","#556b2f"],["darkorange","#ff8c00"],["darkorchid","#9932cc"],["darkred","#8b0000"],["darksalmon","#e9967a"],["darkseagreen","#8fbc8f"],["darkslateblue","#483d8b"],["darkslategray","#2f4f4f"],["darkslategrey","#2f4f4f"],["darkturquoise","#00ced1"],["darkviolet","#9400d3"],["deeppink","#ff1493"],["deepskyblue","#00bfff"],["dimgray","#696969"],["dimgrey","#696969"],["dodgerblue","#1e90ff"],["firebrick","#b22222"],["floralwhite","#fffaf0"],["forestgreen","#228b22"],["gainsboro","#dcdcdc"],["ghostwhite","#f8f8ff"],["gold","#ffd700"],["goldenrod","#daa520"],["greenyellow","#adff2f"],["grey","#808080"],["honeydew","#f0fff0"],["hotpink","#ff69b4"],["indianred","#cd5c5c"],["indigo","#4b0082"],["ivory","#fffff0"],["khaki","#f0e68c"],["lavender","#e6e6fa"],["lavenderblush","#fff0f5"],["lawngreen","#7cfc00"],["lemonchiffon","#fffacd"],["lightblue","#add8e6"],["lightcoral","#f08080"],["lightcyan","#e0ffff"],["lightgoldenrodyellow","#fafad2"],["lightgray","#d3d3d3"],["lightgreen","#90ee90"],["lightgrey","#d3d3d3"],["lightpink","#ffb6c1"],["lightsalmon","#ffa07a"],["lightseagreen","#20b2aa"],["lightskyblue","#87cefa"],["lightslategray","#778899"],["lightslategrey","#778899"],["lightsteelblue","#b0c4de"],["lightyellow","#ffffe0"],["limegreen","#32cd32"],["linen","#faf0e6"],["magenta","#ff00ff"],["mediumaquamarine","#66cdaa"],["mediumblue","#0000cd"],["mediumorchid","#ba55d3"],["mediumpurple","#9370db"],["mediumseagreen","#3cb371"],["mediumslateblue","#7b68ee"],["mediumspringgreen","#00fa9a"],["mediumturquoise","#48d1cc"],["mediumvioletred","#c71585"],["midnightblue","#191970"],["mintcream","#f5fffa"],["mistyrose","#ffe4e1"],["moccasin","#ffe4b5"],["navajowhite","#ffdead"],["oldlace","#fdf5e6"],["olivedrab","#6b8e23"],["orange","#ffa500"],["orangered","#ff4500"],["orchid","#da70d6"],["palegoldenrod","#eee8aa"],["palegreen","#98fb98"],["paleturquoise","#afeeee"],["palevioletred","#db7093"],["papayawhip","#ffefd5"],["peachpuff","#ffdab9"],["peru","#cd853f"],["pink","#ffc0cb"],["plum","#dda0dd"],["powderblue","#b0e0e6"],["rosybrown","#bc8f8f"],["royalblue","#4169e1"],["saddlebrown","#8b4513"],["salmon","#fa8072"],["sandybrown","#f4a460"],["seagreen","#2e8b57"],["seashell","#fff5ee"],["sienna","#a0522d"],["skyblue","#87ceeb"],["slateblue","#6a5acd"],["slategray","#708090"],["slategrey","#708090"],["snow","#fffafa"],["springgreen","#00ff7f"],["steelblue","#4682b4"],["tan","#d2b48c"],["thistle","#d8bfd8"],["tomato","#ff6347"],["turquoise","#40e0d0"],["violet","#ee82ee"],["wheat","#f5deb3"],["whitesmoke","#f5f5f5"],["yellowgreen","#9acd32"]]);t.default=n}));a(ze);var Be=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getRgbValue=l,t.getRgbaValue=u,t.getOpacity=c,t.toRgb=d,t.toHex=h,t.getColorFromRgbValue=f,t.darken=p,t.lighten=g,t.fade=m,t.default=void 0;var n=Q(ne),i=Q(ze),r=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/,a=/^(rgb|rgba|RGB|RGBA)/,o=/^(rgba|RGBA)/;function s(e){var t=r.test(e),n=a.test(e);return t||n?e:(e=function(e){if(!e)return console.error("getColorByKeywords: Missing parameters!"),!1;return!!i.default.has(e)&&i.default.get(e)}(e))||(console.error("Color: Invalid color!"),!1)}function l(e){if(!e)return console.error("getRgbValue: Missing parameters!"),!1;if(!(e=s(e)))return!1;var t=r.test(e),n=a.test(e),i=e.toLowerCase();return t?function(e){3===(e=e.replace("#","")).length&&(e=Array.from(e).map((function(e){return e+e})).join(""));return e=e.split(""),new Array(3).fill(0).map((function(t,n){return parseInt("0x".concat(e[2*n]).concat(e[2*n+1]))}))}(i):n?function(e){return e.replace(/rgb\(|rgba\(|\)/g,"").split(",").slice(0,3).map((function(e){return parseInt(e)}))}(i):void 0}function u(e){if(!e)return console.error("getRgbaValue: Missing parameters!"),!1;var t=l(e);return!!t&&(t.push(c(e)),t)}function c(e){return e?!!(e=s(e))&&(o.test(e)?(e=e.toLowerCase(),Number(e.split(",").slice(-1)[0].replace(/[)|\s]/g,""))):1):(console.error("getOpacity: Missing parameters!"),!1)}function d(e,t){if(!e)return console.error("toRgb: Missing parameters!"),!1;var n=l(e);return!!n&&("number"===typeof t?"rgba("+n.join(",")+",".concat(t,")"):"rgb("+n.join(",")+")")}function h(e){return e?r.test(e)?e:!!(e=l(e))&&"#"+e.map((function(e){return Number(e).toString(16)})).map((function(e){return"0"===e?"00":e})).join(""):(console.error("toHex: Missing parameters!"),!1)}function f(e){if(!e)return console.error("getColorFromRgbValue: Missing parameters!"),!1;var t=e.length;if(3!==t&&4!==t)return console.error("getColorFromRgbValue: Value is illegal!"),!1;var n=3===t?"rgb(":"rgba(";return n+=e.join(",")+")"}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!e)return console.error("darken: Missing parameters!"),!1;var n=u(e);return!!n&&f(n=n.map((function(e,n){return 3===n?e:e-Math.ceil(2.55*t)})).map((function(e){return e<0?0:e})))}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!e)return console.error("lighten: Missing parameters!"),!1;var n=u(e);return!!n&&f(n=n.map((function(e,n){return 3===n?e:e+Math.ceil(2.55*t)})).map((function(e){return e>255?255:e})))}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;if(!e)return console.error("fade: Missing parameters!"),!1;var i=l(e);if(!i)return!1;var r=[].concat((0,n.default)(i),[t/100]);return f(r)}var v={fade:m,toHex:h,toRgb:d,darken:p,lighten:g,getOpacity:c,getRgbValue:l,getRgbaValue:u,getColorFromRgbValue:f};t.default=v}));a(Be);Be.getRgbValue,Be.getRgbaValue,Be.getOpacity,Be.toRgb,Be.toHex,Be.getColorFromRgbValue,Be.darken,Be.lighten;var Fe=Be.fade;F(".dv-border-box-11 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-11 .dv-border-svg-container {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n}\n.dv-border-box-11 .dv-border-svg-container polyline {\n fill: none;\n stroke-width: 1;\n}\n.dv-border-box-11 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n");var Ve=["#8aaafb","#1f33a2"],Ge=Object(i.forwardRef)((function(e,t){var n=e.children,a=e.className,o=e.style,s=e.color,l=void 0===s?[]:s,u=e.titleWidth,c=void 0===u?250:u,d=e.title,h=void 0===d?"":d,f=Object(i.useRef)("border-box-11-filterId-"+Date.now()).current,p=Y(t),g=p.width,m=p.height,v=p.domRef,y=Object(i.useMemo)((function(){return de(ue(Ve,!0),l||[])}),[l]),x=Object(i.useMemo)((function(){return q("dv-border-box-11",a)}),[a]);return r.a.createElement("div",{className:x,style:o,ref:v},r.a.createElement("svg",{className:"dv-border-svg-container",width:g,height:m},r.a.createElement("defs",null,r.a.createElement("filter",{id:f,height:"150%",width:"150%",x:"-25%",y:"-25%"},r.a.createElement("feMorphology",{operator:"dilate",radius:"2",in:"SourceAlpha",result:"thicken"}),r.a.createElement("feGaussianBlur",{in:"thicken",stdDeviation:"3",result:"blurred"}),r.a.createElement("feFlood",{floodColor:y[1],result:"glowColor"}),r.a.createElement("feComposite",{in:"glowColor",in2:"blurred",operator:"in",result:"softGlowColored"}),r.a.createElement("feMerge",null,r.a.createElement("feMergeNode",{in:"softGlowColored"}),r.a.createElement("feMergeNode",{in:"SourceGraphic"})))),r.a.createElement("polyline",{stroke:y[0],filter:"url(#"+f+")",points:"\n "+(g-c)/2+", 30\n 20, 30 7, 50 7, "+(50+(m-167)/2)+"\n 13, "+(55+(m-167)/2)+" 13, "+(135+(m-167)/2)+"\n 7, "+(140+(m-167)/2)+" 7, "+(m-27)+"\n 20, "+(m-7)+" "+(g-20)+", "+(m-7)+" "+(g-7)+", "+(m-27)+"\n "+(g-7)+", "+(140+(m-167)/2)+" "+(g-13)+", "+(135+(m-167)/2)+"\n "+(g-13)+", "+(55+(m-167)/2)+" "+(g-7)+", "+(50+(m-167)/2)+"\n "+(g-7)+", 50 "+(g-20)+", 30 "+(g+c)/2+", 30\n "+((g+c)/2-20)+", 7 "+((g-c)/2+20)+", 7\n "+(g-c)/2+", 30 "+((g-c)/2+20)+", 52\n "+((g+c)/2-20)+", 52 "+(g+c)/2+", 30\n "}),r.a.createElement("polygon",{stroke:y[0],fill:"transparent",points:"\n "+((g+c)/2-5)+", 30 "+((g+c)/2-21)+", 11\n "+((g+c)/2-27)+", 11 "+((g+c)/2-8)+", 34\n "}),r.a.createElement("polygon",{stroke:y[0],fill:"transparent",points:"\n "+((g-c)/2+5)+", 30 "+((g-c)/2+22)+", 49\n "+((g-c)/2+28)+", 49 "+((g-c)/2+8)+", 26\n "}),r.a.createElement("polygon",{stroke:y[0],fill:Fe(y[1]||Ve[1],30),filter:"url(#"+f+")",points:"\n "+((g+c)/2-11)+", 37 "+((g+c)/2-32)+", 11\n "+((g-c)/2+23)+", 11 "+((g-c)/2+11)+", 23\n "+((g-c)/2+33)+", 49 "+((g+c)/2-22)+", 49\n "}),r.a.createElement("polygon",{filter:"url(#"+f+")",fill:y[0],opacity:"1",points:"\n "+((g-c)/2-10)+", 37 "+((g-c)/2-31)+", 37\n "+((g-c)/2-25)+", 46 "+((g-c)/2-4)+", 46\n "},r.a.createElement("animate",{attributeName:"opacity",values:"1;0.7;1",dur:"2s",begin:"0s",repeatCount:"indefinite"})),r.a.createElement("polygon",{filter:"url(#"+f+")",fill:y[0],opacity:"0.7",points:"\n "+((g-c)/2-40)+", 37 "+((g-c)/2-61)+", 37\n "+((g-c)/2-55)+", 46 "+((g-c)/2-34)+", 46\n "},r.a.createElement("animate",{attributeName:"opacity",values:"0.7;0.4;0.7",dur:"2s",begin:"0s",repeatCount:"indefinite"})),r.a.createElement("polygon",{filter:"url(#"+f+")",fill:y[0],opacity:"0.5",points:"\n "+((g-c)/2-70)+", 37 "+((g-c)/2-91)+", 37\n "+((g-c)/2-85)+", 46 "+((g-c)/2-64)+", 46\n "},r.a.createElement("animate",{attributeName:"opacity",values:"0.5;0.2;0.5",dur:"2s",begin:"0s",repeatCount:"indefinite"})),r.a.createElement("polygon",{filter:"url(#"+f+")",fill:y[0],opacity:"1",points:"\n "+((g+c)/2+30)+", 37 "+((g+c)/2+9)+", 37\n "+((g+c)/2+3)+", 46 "+((g+c)/2+24)+", 46\n "},r.a.createElement("animate",{attributeName:"opacity",values:"1;0.7;1",dur:"2s",begin:"0s",repeatCount:"indefinite"})),r.a.createElement("polygon",{filter:"url(#"+f+")",fill:y[0],opacity:"0.7",points:"\n "+((g+c)/2+60)+", 37 "+((g+c)/2+39)+", 37\n "+((g+c)/2+33)+", 46 "+((g+c)/2+54)+", 46\n "},r.a.createElement("animate",{attributeName:"opacity",values:"0.7;0.4;0.7",dur:"2s",begin:"0s",repeatCount:"indefinite"})),r.a.createElement("polygon",{filter:"url(#"+f+")",fill:y[0],opacity:"0.5",points:"\n "+((g+c)/2+90)+", 37 "+((g+c)/2+69)+", 37\n "+((g+c)/2+63)+", 46 "+((g+c)/2+84)+", 46\n "},r.a.createElement("animate",{attributeName:"opacity",values:"0.5;0.2;0.5",dur:"2s",begin:"0s",repeatCount:"indefinite"})),r.a.createElement("text",{className:"dv-border-box-11-title",x:""+g/2,y:"32",fill:"#fff",fontSize:"18",textAnchor:"middle",dominantBaseline:"middle"},h),r.a.createElement("polygon",{fill:y[0],filter:"url(#"+f+")",points:"\n 7, "+(53+(m-167)/2)+" 11, "+(57+(m-167)/2)+"\n 11, "+(133+(m-167)/2)+" 7, "+(137+(m-167)/2)+"\n "}),r.a.createElement("polygon",{fill:y[0],filter:"url(#"+f+")",points:"\n "+(g-7)+", "+(53+(m-167)/2)+" "+(g-11)+", "+(57+(m-167)/2)+"\n "+(g-11)+", "+(133+(m-167)/2)+" "+(g-7)+", "+(137+(m-167)/2)+"\n "})),r.a.createElement("div",{className:"border-box-content"},n))}));Ge.propTypes={children:B.node,className:B.string,style:B.object,color:B.array,titleWidth:B.number,title:B.string};F(".dv-border-box-12 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-12 .dv-border-svg-container {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n}\n.dv-border-box-12 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n");var je=["#2e6099","#7ce7fd"],We=Object(i.forwardRef)((function(e,t){var n=e.children,a=e.className,o=e.style,s=e.color,l=void 0===s?[]:s,u=Object(i.useRef)("border-box-12-filterId-"+Date.now()).current,c=Y(t),d=c.width,h=c.height,f=c.domRef,p=Object(i.useMemo)((function(){return de(ue(je,!0),l||[])}),[l]),g=Object(i.useMemo)((function(){return q("dv-border-box-12",a)}),[a]);return r.a.createElement("div",{className:g,style:o,ref:f},r.a.createElement("svg",{className:"dv-border-svg-container",width:d,height:h},r.a.createElement("defs",null,r.a.createElement("filter",{id:u,height:"150%",width:"150%",x:"-25%",y:"-25%"},r.a.createElement("feMorphology",{operator:"dilate",radius:"1",in:"SourceAlpha",result:"thicken"}),r.a.createElement("feGaussianBlur",{in:"thicken",stdDeviation:"2",result:"blurred"}),r.a.createElement("feFlood",{floodColor:Fe(p[1]||je[1],70),result:"glowColor"},r.a.createElement("animate",{attributeName:"flood-color",values:"\n "+Fe(p[1]||je[1],70)+";\n "+Fe(p[1]||je[1],30)+";\n "+Fe(p[1]||je[1],70)+";\n ",dur:"3s",begin:"0s",repeatCount:"indefinite"})),r.a.createElement("feComposite",{in:"glowColor",in2:"blurred",operator:"in",result:"softGlowColored"}),r.a.createElement("feMerge",null,r.a.createElement("feMergeNode",{in:"softGlowColored"}),r.a.createElement("feMergeNode",{in:"SourceGraphic"})))),d&&h&&r.a.createElement("path",{fill:"transparent",strokeWidth:"2",stroke:p[0],d:"\n M15 5 L "+(d-15)+" 5 Q "+(d-5)+" 5, "+(d-5)+" 15\n L "+(d-5)+" "+(h-15)+" Q "+(d-5)+" "+(h-5)+", "+(d-15)+" "+(h-5)+"\n L 15, "+(h-5)+" Q 5 "+(h-5)+" 5 "+(h-15)+" L 5 15\n Q 5 5 15 5\n "}),r.a.createElement("path",{strokeWidth:"2",fill:"transparent",strokeLinecap:"round",filter:"url(#"+u+")",stroke:p[1],d:"M 20 5 L 15 5 Q 5 5 5 15 L 5 20"}),r.a.createElement("path",{strokeWidth:"2",fill:"transparent",strokeLinecap:"round",filter:"url(#"+u+")",stroke:p[1],d:"M "+(d-20)+" 5 L "+(d-15)+" 5 Q "+(d-5)+" 5 "+(d-5)+" 15 L "+(d-5)+" 20"}),r.a.createElement("path",{strokeWidth:"2",fill:"transparent",strokeLinecap:"round",filter:"url(#"+u+")",stroke:p[1],d:"\n M "+(d-20)+" "+(h-5)+" L "+(d-15)+" "+(h-5)+"\n Q "+(d-5)+" "+(h-5)+" "+(d-5)+" "+(h-15)+"\n L "+(d-5)+" "+(h-20)+"\n "}),r.a.createElement("path",{strokeWidth:"2",fill:"transparent",strokeLinecap:"round",filter:"url(#"+u+")",stroke:p[1],d:"\n M 20 "+(h-5)+" L 15 "+(h-5)+"\n Q 5 "+(h-5)+" 5 "+(h-15)+"\n L 5 "+(h-20)+"\n "})),r.a.createElement("div",{className:"border-box-content"},n))}));We.propTypes={children:B.node,className:B.string,style:B.object,color:B.array};F(".dv-border-box-13 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-border-box-13 .dv-border-svg-container {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n}\n.dv-border-box-13 .border-box-content {\n position: relative;\n width: 100%;\n height: 100%;\n}\n");var He=["#6586ec","#2cf7fe"],Ue=Object(i.forwardRef)((function(e,t){var n=e.children,a=e.className,o=e.style,s=e.color,l=void 0===s?[]:s,u=Y(t),c=u.width,d=u.height,h=u.domRef,f=Object(i.useMemo)((function(){return de(ue(He,!0),l||[])}),[l]),p=Object(i.useMemo)((function(){return q("dv-border-box-13",a)}),[a]);return r.a.createElement("div",{className:p,style:o,ref:h},r.a.createElement("svg",{className:"dv-border-svg-container",width:c,height:d},r.a.createElement("path",{fill:"transparent",stroke:f[0],d:"\n M 5 20 L 5 10 L 12 3 L 60 3 L 68 10\n L "+(c-20)+" 10 L "+(c-5)+" 25\n L "+(c-5)+" "+(d-5)+" L 20 "+(d-5)+"\n L 5 "+(d-20)+" L 5 20\n "}),r.a.createElement("path",{fill:"transparent",strokeWidth:"3",strokeLinecap:"round",strokeDasharray:"10, 5",stroke:f[0],d:"M 16 9 L 61 9"}),r.a.createElement("path",{fill:"transparent",stroke:f[1],d:"M 5 20 L 5 10 L 12 3 L 60 3 L 68 10"}),r.a.createElement("path",{fill:"transparent",stroke:f[1],d:"M "+(c-5)+" "+(d-30)+" L "+(c-5)+" "+(d-5)+" L "+(c-30)+" "+(d-5)})),r.a.createElement("div",{className:"border-box-content"},n))}));Ue.propTypes={children:B.node,className:B.string,style:B.object,color:B.array};var Ye=Ue;F(".dv-decoration-1 {\n width: 100%;\n height: 100%;\n}\n.dv-decoration-1 svg {\n transform-origin: left top;\n}\n");var Ze=["#fff","#0de7c2"],qe=[200,50];var Xe=Object(i.forwardRef)((function(e,t){var n=e.className,a=e.style,o=e.color,s=void 0===o?[]:o,l=Y(t),u=l.width,c=l.height,d=l.domRef;var h=Object(i.useMemo)((function(){return de(ue(Ze,!0),s||[])}),[s]),f=Object(i.useMemo)((function(){var e=function(){var e=qe[0]/21,t=qe[1]/5;return new Array(4).fill(0).map((function(n,i){return new Array(20).fill(0).map((function(n,r){return[e*(r+1),t*(i+1)]}))})).reduce((function(e,t){return[].concat(U(e),U(t))}),[])}();return{points:e,rects:[e[39],e[37]],svgScale:[u/qe[0],c/qe[1]]}}),[u,c]),p=f.svgScale,g=f.points,m=f.rects,v=Object(i.useMemo)((function(){return q("dv-decoration-1",n)}),[n]);return r.a.createElement("div",{className:v,style:a,ref:d},r.a.createElement("svg",{width:qe[0]+"px",height:qe[1]+"px",style:{transform:"scale("+p[0]+","+p[1]+")"}},g.reduce((function(e,t,n){return Math.random()>.6?[].concat(U(e),[r.a.createElement("rect",{key:n,fill:h[0],x:t[0]-1.25,y:t[1]-1.25,width:2.5,height:2.5},Math.random()>.6&&r.a.createElement("animate",{attributeName:"fill",values:h[0]+";transparent",dur:"1s",begin:2*Math.random(),repeatCount:"indefinite"}))]):e}),[]),!!m[0]&&r.a.createElement("rect",{fill:h[1],x:m[0][0]-2.5,y:m[0][1]-2.5,width:5,height:5},r.a.createElement("animate",{attributeName:"width",values:"0;5",dur:"2s",repeatCount:"indefinite"}),r.a.createElement("animate",{attributeName:"height",values:"0;5",dur:"2s",repeatCount:"indefinite"}),r.a.createElement("animate",{attributeName:"x",values:m[0][0]+";"+(m[0][0]-2.5),dur:"2s",repeatCount:"indefinite"}),r.a.createElement("animate",{attributeName:"y",values:m[0][1]+";"+(m[0][1]-2.5),dur:"2s",repeatCount:"indefinite"})),!!m[1]&&r.a.createElement("rect",{fill:h[1],x:m[1][0]-40,y:m[1][1]-2.5,width:"40",height:5},r.a.createElement("animate",{attributeName:"width",values:"0;40;0",dur:"2s",repeatCount:"indefinite"}),r.a.createElement("animate",{attributeName:"x",values:m[1][0]+";"+(m[1][0]-40)+";"+m[1][0],dur:"2s",repeatCount:"indefinite"}))))}));Xe.propTypes={className:B.string,style:B.object,color:B.array};var Qe=Xe;F(".dv-decoration-2 {\n display: flex;\n width: 100%;\n height: 100%;\n justify-content: center;\n align-items: center;\n}\n");var Ke=["#3faacb","#fff"],Je=Object(i.forwardRef)((function(e,t){var n=e.reverse,a=void 0!==n&&n,o=e.className,s=e.style,l=e.color,u=void 0===l?[]:l,c=Y(t),d=c.width,h=c.height,f=c.domRef;var p=Object(i.useMemo)((function(){return de(ue(Ke,!0),u||[])}),[u]),g=Object(i.useMemo)((function(){return a?{w:1,h:h,x:d/2,y:0}:{w:d,h:1,x:0,y:h/2}}),[a,d,h]),m=g.x,v=g.y,y=g.w,x=g.h,b=Object(i.useMemo)((function(){return q("dv-decoration-2",o)}),[o]);return r.a.createElement("div",{className:b,style:s,ref:f},r.a.createElement("svg",{width:d+"px",height:h+"px"},r.a.createElement("rect",{x:m,y:v,width:y,height:x,fill:p[0]},r.a.createElement("animate",{attributeName:a?"height":"width",from:"0",to:a?h:d,dur:"6s",calcMode:"spline",keyTimes:"0;1",keySplines:".42,0,.58,1",repeatCount:"indefinite"})),r.a.createElement("rect",{x:m,y:v,width:"1",height:"1",fill:p[1]},r.a.createElement("animate",{attributeName:a?"y":"x",from:"0",to:a?h:d,dur:"6s",calcMode:"spline",keyTimes:"0;1",keySplines:"0.42,0,0.58,1",repeatCount:"indefinite"}))))}));Je.propTypes={reverse:B.bool,className:B.string,style:B.object,color:B.array},Je.defaultProps={reverse:!1};F(".dv-decoration-3 {\n width: 100%;\n height: 100%;\n}\n.dv-decoration-3 svg {\n transform-origin: left top;\n}\n");var $e=["#7acaec","transparent"],et=[300,35];function tt(){var e=et[0]/26,t=et[1]/3;return new Array(2).fill(0).map((function(n,i){return new Array(25).fill(0).map((function(n,r){return[e*(r+1),t*(i+1)]}))})).reduce((function(e,t){return[].concat(U(e),U(t))}),[])}var nt=Object(i.forwardRef)((function(e,t){var n=e.className,a=e.style,o=e.color,s=void 0===o?[]:o,l=Y(t),u=l.width,c=l.height,d=l.domRef;var h=Object(i.useMemo)((function(){return de(ue($e,!0),s||[])}),[s]),f=Object(i.useMemo)((function(){return{points:tt(),svgScale:[u/et[0],c/et[1]]}}),[u,c]),p=f.svgScale,g=f.points,m=Object(i.useMemo)((function(){return q("dv-decoration-3",n)}),[n]);return r.a.createElement("div",{className:m,style:a,ref:d},r.a.createElement("svg",{width:et[0]+"px",height:et[1]+"px",style:{transform:"scale("+p[0]+","+p[1]+")"}},g.map((function(e,t){return r.a.createElement("rect",{key:t,fill:h[0],x:e[0]-3.5,y:e[1]-3.5,width:7,height:7},Math.random()>.6&&r.a.createElement("animate",{attributeName:"fill",values:""+h.join(";"),dur:Math.random()+1+"s",begin:2*Math.random(),repeatCount:"indefinite"}))}))))}));nt.propTypes={className:B.string,style:B.object,color:B.array};F(".dv-decoration-4 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-decoration-4 .container {\n display: flex;\n overflow: hidden;\n position: absolute;\n}\n.dv-decoration-4 .normal {\n height: 0% !important;\n animation: ani-height 3s ease-in-out infinite;\n left: 50%;\n margin-left: -2px;\n}\n.dv-decoration-4 .reverse {\n width: 0% !important;\n animation: ani-width 3s ease-in-out infinite;\n top: 50%;\n margin-top: -2px;\n}\n@keyframes ani-height {\n 70% {\n height: 100%;\n }\n 100% {\n height: 100%;\n }\n}\n@keyframes ani-width {\n 70% {\n width: 100%;\n }\n 100% {\n width: 100%;\n }\n}\n");var it=["rgba(255, 255, 255, 0.3)","rgba(255, 255, 255, 0.3)"],rt=Object(i.forwardRef)((function(e,t){var n=e.reverse,a=void 0!==n&&n,o=e.className,s=e.style,l=e.color,u=void 0===l?[]:l,c=Y(t),d=c.width,h=c.height,f=c.domRef,p=Object(i.useMemo)((function(){return de(ue(it,!0),u||[])}),[u]),g=Object(i.useMemo)((function(){return q("dv-decoration-4",o)}),[o]);return r.a.createElement("div",{className:g,style:s,ref:f},r.a.createElement("div",{className:"container "+(a?"reverse":"normal"),style:a?{width:d+"px",height:"5px"}:{width:"5px",height:h+"px"}},r.a.createElement("svg",{width:a?d:5,height:a?5:h},r.a.createElement("polyline",{stroke:p[0],points:a?"0, 2.5 "+d+", 2.5":"2.5, 0 2.5, "+h}),r.a.createElement("polyline",{className:"bold-line",stroke:p[1],strokeWidth:"3",strokeDasharray:"20, 80",strokeDashoffset:"-30",points:a?"0, 2.5 "+d+", 2.5":"2.5, 0 2.5, "+h}))))}));rt.propTypes={reverse:B.bool,className:B.string,style:B.object,color:B.array},rt.defaultProps={reverse:!1};F(".dv-decoration-5 {\n width: 100%;\n height: 100%;\n}\n");var at=["#3f96a5","#3f96a5"],ot=Object(i.forwardRef)((function(e,t){var n=e.className,a=e.style,o=e.color,s=void 0===o?[]:o,l=Y(t),u=l.width,c=l.height,d=l.domRef;var h=Object(i.useMemo)((function(){return de(ue(at,!0),s||[])}),[s]),f=Object(i.useMemo)((function(){var e=[[0,.2*c],[.18*u,.2*c],[.2*u,.4*c],[.25*u,.4*c],[.27*u,.6*c],[.72*u,.6*c],[.75*u,.4*c],[.8*u,.4*c],[.82*u,.2*c],[u,.2*c]],t=[[.3*u,.8*c],[.7*u,.8*c]],n=he(e),i=he(t);return{line1Points:e=e.map((function(e){return e.join(",")})).join(" "),line2Points:t=t.map((function(e){return e.join(",")})).join(" "),line1Length:n,line2Length:i}}),[u,c]),p=f.line1Points,g=f.line2Points,m=f.line1Length,v=f.line2Length,y=Object(i.useMemo)((function(){return q("dv-decoration-5",n)}),[n]);return r.a.createElement("div",{className:y,style:a,ref:d},r.a.createElement("svg",{width:u,height:c},r.a.createElement("polyline",{fill:"transparent",stroke:h[0],strokeWidth:"3",points:p},r.a.createElement("animate",{attributeName:"stroke-dasharray",attributeType:"XML",from:"0, "+m/2+", 0, "+m/2,to:"0, 0, "+m+", 0",dur:"1.2s",begin:"0s",calcMode:"spline",keyTimes:"0;1",keySplines:"0.4,1,0.49,0.98",repeatCount:"indefinite"})),r.a.createElement("polyline",{fill:"transparent",stroke:h[1],strokeWidth:"2",points:g},r.a.createElement("animate",{attributeName:"stroke-dasharray",attributeType:"XML",from:"0, "+v/2+", 0, "+v/2,to:"0, 0, "+v+", 0",dur:"1.2s",begin:"0s",calcMode:"spline",keyTimes:"0;1",keySplines:".4,1,.49,.98",repeatCount:"indefinite"}))))}));ot.propTypes={className:B.string,style:B.object,color:B.array};F(".dv-decoration-6 {\n width: 100%;\n height: 100%;\n}\n.dv-decoration-6 svg {\n transform-origin: left top;\n}\n");var st=["#7acaec","#7acaec"],lt=[300,35];function ut(){var e=lt[0]/41,t=lt[1]/2;return new Array(1).fill(0).map((function(n,i){return new Array(40).fill(0).map((function(n,r){return[e*(r+1),t*(i+1)]}))})).reduce((function(e,t){return[].concat(U(e),U(t))}),[])}var ct=Object(i.forwardRef)((function(e,t){var n=e.className,a=e.style,o=e.color,s=void 0===o?[]:o,l=Y(t),u=l.width,c=l.height,d=l.domRef;var h=Object(i.useMemo)((function(){return de(ue(st,!0),s||[])}),[s]),f=Object(i.useMemo)((function(){return W({},function(){var e=lt[1],t=new Array(40).fill(0).map((function(t){return Math.random()>.8?V(.7*e,e):V(.2*e,.5*e)})),n=new Array(40).fill(0).map((function(e,n){return t[n]*Math.random()})),i=new Array(40).fill(0).map((function(e){return Math.random()+1.5}));return{heights:t,minHeights:n,randoms:i}}(),{points:ut(),svgScale:[u/lt[0],c/lt[1]]})}),[u,c]),p=f.points,g=f.heights,m=f.minHeights,v=f.randoms,y=f.svgScale,x=Object(i.useMemo)((function(){return q("dv-decoration-6",n)}),[[n]]);return r.a.createElement("div",{className:x,style:a,ref:d},r.a.createElement("svg",{width:lt[0]+"px",height:lt[1]+"px",style:{transform:"scale("+y[0]+","+y[1]+")"}},p.map((function(e,t){return r.a.createElement("rect",{key:t,fill:h[Math.random()>.5?0:1],x:e[0]-3.5,y:e[1]-g[t]/2,width:7,height:g[t]},r.a.createElement("animate",{attributeName:"y",values:e[1]-m[t]/2+";"+(e[1]-g[t]/2)+";"+(e[1]-m[t]/2),dur:v[t]+"s",keyTimes:"0;0.5;1",calcMode:"spline",keySplines:"0.42,0,0.58,1;0.42,0,0.58,1",begin:"0s",repeatCount:"indefinite"}),r.a.createElement("animate",{attributeName:"height",values:m[t]+";"+g[t]+";"+m[t],dur:v[t]+"s",keyTimes:"0;0.5;1",calcMode:"spline",keySplines:"0.42,0,0.58,1;0.42,0,0.58,1",begin:"0s",repeatCount:"indefinite"}))}))))}));ct.propTypes={className:B.string,style:B.object,color:B.array};F(".dv-decoration-7 {\n display: flex;\n width: 100%;\n height: 100%;\n justify-content: center;\n align-items: center;\n}\n");var dt=["#1dc1f5","#1dc1f5"],ht=function(e){var t=e.children,n=e.className,a=e.style,o=e.color,s=void 0===o?[]:o,l=Object(i.useMemo)((function(){return de(ue(dt,!0),s||[])}),[s]),u=Object(i.useMemo)((function(){return q("dv-decoration-7",n)}),[n]);return r.a.createElement("div",{className:u,style:a},r.a.createElement("svg",{width:"21px",height:"20px"},r.a.createElement("polyline",{strokeWidth:"4",fill:"transparent",stroke:l[0],points:"10, 0 19, 10 10, 20"}),r.a.createElement("polyline",{strokeWidth:"2",fill:"transparent",stroke:l[1],points:"2, 0 11, 10 2, 20"})),t,r.a.createElement("svg",{width:"21px",height:"20px"},r.a.createElement("polyline",{strokeWidth:"4",fill:"transparent",stroke:l[0],points:"11, 0 2, 10 11, 20"}),r.a.createElement("polyline",{strokeWidth:"2",fill:"transparent",stroke:l[1],points:"19, 0 10, 10 19, 20"})))};ht.propTypes={children:B.node,className:B.string,style:B.object,color:B.array};F(".dv-decoration-8 {\n display: flex;\n width: 100%;\n height: 100%;\n}\n");var ft=["#3f96a5","#3f96a5"],pt=Object(i.forwardRef)((function(e,t){var n=e.reverse,a=void 0!==n&&n,o=e.className,s=e.style,l=e.color,u=void 0===l?[]:l,c=Y(t),d=c.width,h=c.height,f=c.domRef,p=function(e){return a?d-e:e},g=Object(i.useMemo)((function(){return de(ue(ft,!0),u||[])}),[u]),m=Object(i.useMemo)((function(){return[p(0)+", 0 "+p(30)+", "+h/2,p(20)+", 0 "+p(50)+", "+h/2+" "+p(d)+", "+h/2,p(0)+", "+(h-3)+", "+p(200)+", "+(h-3)]}),[a,d,h]),v=H(m,3),y=v[0],x=v[1],b=v[2],_=Object(i.useMemo)((function(){return q("dv-decoration-8",o)}),[o]);return r.a.createElement("div",{className:_,style:s,ref:f},r.a.createElement("svg",{width:d,height:h},r.a.createElement("polyline",{stroke:g[0],strokeWidth:"2",fill:"transparent",points:y}),r.a.createElement("polyline",{stroke:g[0],strokeWidth:"2",fill:"transparent",points:x}),r.a.createElement("polyline",{stroke:g[1],fill:"transparent",strokeWidth:"3",points:b})))}));pt.propTypes={reverse:B.bool,className:B.string,style:B.object,color:B.array},pt.defaultProps={reverse:!1};F(".dv-decoration-9 {\n position: relative;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.dv-decoration-9 svg {\n position: absolute;\n left: 0px;\n top: 0px;\n transform-origin: left top;\n}\n");var gt=["rgba(3, 166, 224, 0.8)","rgba(3, 166, 224, 0.5)"],mt=[100,100],vt=Object(i.forwardRef)((function(e,t){var n=e.children,a=e.className,o=e.style,s=e.color,l=void 0===s?[]:s,u=e.dur,c=void 0===u?3:u,d=Y(t),h=d.width,f=d.height,p=d.domRef,g=Object(i.useRef)("decoration-9-polygon-"+Date.now()),m=Object(i.useMemo)((function(){return de(ue(gt,!0),l||[])}),[l]),v=Object(i.useMemo)((function(){return[h/mt[0],f/mt[1]]}),[h,f]),y=Object(i.useMemo)((function(){return q("dv-decoration-9",a)}),[a]);return r.a.createElement("div",{className:y,style:o,ref:p},r.a.createElement("svg",{width:mt[0]+"px",height:mt[1]+"px",style:{transform:"scale("+v[0]+","+v[1]+")"}},r.a.createElement("defs",null,r.a.createElement("polygon",{id:g.current,points:"15, 46.5, 21, 47.5, 21, 52.5, 15, 53.5"})),r.a.createElement("circle",{cx:"50",cy:"50",r:"45",fill:"transparent",stroke:m[1],strokeWidth:"10",strokeDasharray:"80, 100, 30, 100"},r.a.createElement("animateTransform",{attributeName:"transform",type:"rotate",values:"0 50 50;360 50 50",dur:c+"s",repeatCount:"indefinite"})),r.a.createElement("circle",{cx:"50",cy:"50",r:"45",fill:"transparent",stroke:m[0],strokeWidth:"6",strokeDasharray:"50, 66, 100, 66"},r.a.createElement("animateTransform",{attributeName:"transform",type:"rotate",values:"0 50 50;-360 50 50",dur:c+"s",repeatCount:"indefinite"})),r.a.createElement("circle",{cx:"50",cy:"50",r:"38",fill:"transparent",stroke:Fe(m[1]||gt[1],30),strokeWidth:"1",strokeDasharray:"5, 1"}),new Array(20).fill(0).map((function(e,t){return r.a.createElement("use",{key:t,href:"#"+g.current,stroke:m[1],fill:Math.random()>.4?"transparent":m[0]},r.a.createElement("animateTransform",{attributeName:"transform",type:"rotate",values:"0 50 50;360 50 50",dur:c+"s",begin:t*c/20+"s",repeatCount:"indefinite"}))})),r.a.createElement("circle",{cx:"50",cy:"50",r:"26",fill:"transparent",stroke:Fe(m[1]||gt[1],30),strokeWidth:"1",strokeDasharray:"5, 1"})),n)}));vt.propTypes={children:B.node,className:B.string,style:B.object,color:B.array,dur:B.number};F(".dv-decoration-10 {\n width: 100%;\n height: 100%;\n display: flex;\n}\n");var yt=["#00c2ff","rgba(0, 194, 255, 0.3)"],xt=Object(i.forwardRef)((function(e,t){var n=e.className,a=e.style,o=e.color,s=void 0===o?[]:o,l=Y(t),u=l.width,c=l.height,d=l.domRef,h=Object(i.useRef)({animationId1:"d10ani1"+Date.now(),animationId2:"d10ani2"+Date.now(),animationId3:"d10ani3"+Date.now(),animationId4:"d10ani4"+Date.now(),animationId5:"d10ani5"+Date.now(),animationId6:"d10ani6"+Date.now(),animationId7:"d10ani7"+Date.now()}).current,f=h.animationId1,p=h.animationId2,g=h.animationId3,m=h.animationId4,v=h.animationId5,y=h.animationId6,x=h.animationId7,b=Object(i.useMemo)((function(){return de(ue(yt,!0),s||[])}),[s]),_=Object(i.useMemo)((function(){return q("dv-decoration-10",n)}),[n]);return r.a.createElement("div",{className:_,style:a,ref:d},r.a.createElement("svg",{width:u,height:c},r.a.createElement("polyline",{stroke:b[1],strokeWidth:"2",points:"0, "+c/2+" "+u+", "+c/2}),r.a.createElement("polyline",{stroke:b[0],strokeWidth:"2",points:"5, "+c/2+" "+(.2*u-3)+", "+c/2,strokeDasharray:"0, "+.2*u,fill:"freeze"},r.a.createElement("animate",{id:p,attributeName:"stroke-dasharray",values:"0, "+.2*u+";"+.2*u+", 0;",dur:"3s",begin:f+".end",fill:"freeze"}),r.a.createElement("animate",{attributeName:"stroke-dasharray",values:.2*u+", 0;0, "+.2*u,dur:"0.01s",begin:x+".end",fill:"freeze"})),r.a.createElement("polyline",{stroke:b[0],strokeWidth:"2",points:.2*u+3+", "+c/2+" "+(.8*u-3)+", "+c/2,strokeDasharray:"0, "+.6*u},r.a.createElement("animate",{id:m,attributeName:"stroke-dasharray",values:"0, "+.6*u+";"+.6*u+", 0",dur:"3s",begin:g+".end + 1s",fill:"freeze"}),r.a.createElement("animate",{attributeName:"stroke-dasharray",values:.6*u+", 0;0, "+.6*u,dur:"0.01s",begin:x+".end",fill:"freeze"})),r.a.createElement("polyline",{stroke:b[0],strokeWidth:"2",points:.8*u+3+", "+c/2+" "+(u-5)+", "+c/2,"strke-dasharray":"0, "+.2*u},r.a.createElement("animate",{id:y,attributeName:"stroke-dasharray",values:"0, "+.2*u+";"+.2*u+", 0",dur:"3s",begin:v+".end + 1s",fill:"freeze"}),r.a.createElement("animate",{attributeName:"stroke-dasharray",values:.2*u+", 0;0, "+.3*u,dur:"0.01s",begin:x+".end",fill:"freeze"})),r.a.createElement("circle",{cx:"2",cy:c/2,r:"2",fill:b[1]},r.a.createElement("animate",{id:f,attributeName:"fill",values:b[1]+";"+b[0],begin:"0s;"+x+".end",dur:"0.3s",fill:"freeze"})),r.a.createElement("circle",{cx:.2*u,cy:c/2,r:"2",fill:b[1]},r.a.createElement("animate",{id:g,attributeName:"fill",values:b[1]+";"+b[0],begin:p+".end",dur:"0.3s",fill:"freeze"}),r.a.createElement("animate",{attributeName:"fill",values:b[1]+";"+b[1],dur:"0.01s",begin:x+".end",fill:"freeze"})),r.a.createElement("circle",{cx:.8*u,cy:c/2,r:"2",fill:b[1]},r.a.createElement("animate",{id:v,attributeName:"fill",values:b[1]+";"+b[0],begin:m+".end",dur:"0.3s",fill:"freeze"}),r.a.createElement("animate",{attributeName:"fill",values:b[1]+";"+b[1],dur:"0.01s",begin:x+".end",fill:"freeze"})),r.a.createElement("circle",{cx:u-2,cy:c/2,r:"2",fill:b[1]},r.a.createElement("animate",{id:x,attributeName:"fill",values:b[1]+";"+b[0],begin:y+".end",dur:"0.3s",fill:"freeze"}),r.a.createElement("animate",{attributeName:"fill",values:b[1]+";"+b[1],dur:"0.01s",begin:x+".end",fill:"freeze"}))))}));xt.propTypes={className:B.string,style:B.object,color:B.array};var bt=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")};var _t=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},wt=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.bezierCurveToPolyline=p,t.getBezierCurveLength=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(!e)return console.error("getBezierCurveLength: Missing parameters!"),!1;if(!(e instanceof Array))return console.error("getBezierCurveLength: Parameter bezierCurve must be an array!"),!1;if("number"!==typeof t)return console.error("getBezierCurveLength: Parameter precision must be a number!"),!1;var n=l(e,t),i=n.segmentPoints,r=d([i])[0],a=c(r);return a},t.default=void 0;var n=Q(se),i=Q(ne),r=Math.sqrt,a=Math.pow,o=Math.ceil,s=Math.abs;function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=e.length-1,r=e[0],a=e[n][2],o=e.slice(1),s=o.map((function(e,t){var n=0===t?r:o[t-1][2];return u.apply(void 0,[n].concat((0,i.default)(e)))})),l=new Array(n).fill(50),c=h(s,l),d=f(c,s,o,t);return d.segmentPoints.push(a),d}function u(e,t,n,i){return function(r){var o=1-r,s=a(o,3),l=a(o,2),u=a(r,3),c=a(r,2);return[e[0]*s+3*t[0]*r*l+3*n[0]*c*o+i[0]*u,e[1]*s+3*t[1]*r*l+3*n[1]*c*o+i[1]*u]}}function c(e){return e.reduce((function(e,t){return e+t}),0)}function d(e){return e.map((function(e,t){return new Array(e.length-1).fill(0).map((function(t,i){return function(e,t){var i=(0,n.default)(e,2),o=i[0],s=i[1],l=(0,n.default)(t,2),u=l[0],c=l[1];return r(a(o-u,2)+a(s-c,2))}(e[i],e[i+1])}))}))}function h(e,t){return e.map((function(e,n){var i=1/t[n];return new Array(t[n]).fill("").map((function(t,n){return e(n*i)}))}))}function f(e,t,n,i){var r=4,a=1,l=function(){var l=e.reduce((function(e,t){return e+t.length}),0);e.forEach((function(e,t){return e.push(n[t][2])}));var u=d(e),f=u.reduce((function(e,t){return e+t.length}),0),p=u.map((function(e){return c(e)})),g=c(p),m=g/f;if(function(e,t){return e.map((function(e){return e.map((function(e){return s(e-t)}))})).map((function(e){return c(e)})).reduce((function(e,t){return e+t}),0)}(u,m)<=i)return"break";l=o(m/i*l*1.1);var v=p.map((function(e){return o(e/g*l)}));e=h(t,v),l=e.reduce((function(e,t){return e+t.length}),0);var y=JSON.parse(JSON.stringify(e));y.forEach((function(e,t){return e.push(n[t][2])})),f=(u=d(y)).reduce((function(e,t){return e+t.length}),0),p=u.map((function(e){return c(e)})),g=c(p),m=g/f;var x=1/l/10;t.forEach((function(t,n){for(var i=v[n],a=new Array(i).fill("").map((function(e,t){return t/v[n]})),o=0;o1&&(a[u]=1),a[u]<0&&(a[u]=0),e[n][u]=t(a[u])}})),r*=4,a++};do{if("break"===l())break}while(r<=1025);return{segmentPoints:e=e.reduce((function(e,t){return e.concat(t)}),[]),cycles:a,rounds:r}}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;if(!e)return console.error("bezierCurveToPolyline: Missing parameters!"),!1;if(!(e instanceof Array))return console.error("bezierCurveToPolyline: Parameter bezierCurve must be an array!"),!1;if("number"!==typeof t)return console.error("bezierCurveToPolyline: Parameter precision must be a number!"),!1;var n=l(e,t),i=n.segmentPoints;return i}var g=p;t.default=g}));a(wt);wt.bezierCurveToPolyline,wt.getBezierCurveLength;var St=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=Q(se),i=Q(ne);function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.25,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.25,a=e.length;if(!(a<3||t>=a)){var o=t-1;o<0&&(o=n?a+o:0);var s=t+1;s>=a&&(s=n?s-a:a-1);var l=t+2;l>=a&&(l=n?l-a:a-1);var u=e[o],c=e[t],d=e[s],h=e[l];return[[c[0]+i*(d[0]-u[0]),c[1]+i*(d[1]-u[1])],[d[0]-r*(h[0]-c[0]),d[1]-r*(h[1]-c[1])]]}}function a(e,t){var n=e[0],i=e.slice(-1)[0];return e.push([o(i[1],i[2]),o(n[0],t),t]),e}function o(e,t){var i=(0,n.default)(e,2),r=i[0],a=i[1],o=(0,n.default)(t,2),s=o[0],l=o[1];return[s+(s-r),l+(l-a)]}var s=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.25,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.25;if(!(e instanceof Array))return console.error("polylineToBezierCurve: Parameter polyline must be an array!"),!1;if(e.length<=2)return console.error("polylineToBezierCurve: Converting to a curve requires at least 3 points!"),!1;var s=e[0],l=e.length-1,u=new Array(l).fill(0).map((function(a,s){return[].concat((0,i.default)(r(e,s,t,n,o)),[e[s+1]])}));return t&&a(u,s),u.unshift(e[0]),u};t.default=s}));a(St);var Mt=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"bezierCurveToPolyline",{enumerable:!0,get:function(){return wt.bezierCurveToPolyline}}),Object.defineProperty(t,"getBezierCurveLength",{enumerable:!0,get:function(){return wt.getBezierCurveLength}}),Object.defineProperty(t,"polylineToBezierCurve",{enumerable:!0,get:function(){return n.default}}),t.default=void 0;var n=Q(St),i={bezierCurveToPolyline:wt.bezierCurveToPolyline,getBezierCurveLength:wt.getBezierCurveLength,polylineToBezierCurve:n.default};t.default=i}));a(Mt);var Ct=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.drawPolylinePath=i,t.drawBezierCurvePath=r,t.default=void 0;var n=Q(ne);function i(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e||t.length<2)return!1;i&&e.beginPath(),t.forEach((function(t,i){return t&&(0===i?e.moveTo.apply(e,(0,n.default)(t)):e.lineTo.apply(e,(0,n.default)(t)))})),r&&e.closePath()}function r(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!e||!t)return!1;r&&e.beginPath(),i&&e.moveTo.apply(e,(0,n.default)(i)),t.forEach((function(t){return t&&e.bezierCurveTo.apply(e,(0,n.default)(t[0]).concat((0,n.default)(t[1]),(0,n.default)(t[2])))})),a&&e.closePath()}var a={drawPolylinePath:i,drawBezierCurvePath:r};t.default=a}));a(Ct);Ct.drawPolylinePath,Ct.drawBezierCurvePath;var Tt=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.extendNewGraph=function(e,t){if(!e||!t)return void console.error("ExtendNewGraph Missing Parameters!");if(!t.shape)return void console.error("Required attribute of shape to extendNewGraph!");if(!t.validator)return void console.error("Required function of validator to extendNewGraph!");if(!t.draw)return void console.error("Required function of draw to extendNewGraph!");y.set(e,t)},t.default=t.text=t.bezierCurve=t.smoothline=t.polyline=t.regPolygon=t.sector=t.arc=t.ring=t.rect=t.ellipse=t.circle=void 0;var n=Q(ne),i=Q(se),r=Q(Mt),a=r.default.polylineToBezierCurve,o=r.default.bezierCurveToPolyline,s={shape:{rx:0,ry:0,r:0},validator:function(e){var t=e.shape,n=t.rx,i=t.ry,r=t.r;return"number"===typeof n&&"number"===typeof i&&"number"===typeof r||(console.error("Circle shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape;n.beginPath();var r=i.rx,a=i.ry,o=i.r;n.arc(r,a,o>0?o:.01,0,2*Math.PI),n.fill(),n.stroke(),n.closePath()},hoverCheck:function(e,t){var n=t.shape,i=n.rx,r=n.ry,a=n.r;return(0,le.checkPointIsInCircle)(e,i,r,a)},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.rx,a=n.ry;i.graphCenter=[r,a]},move:function(e,t){var n=e.movementX,i=e.movementY,r=t.shape;this.attr("shape",{rx:r.rx+n,ry:r.ry+i})}};t.circle=s;var l={shape:{rx:0,ry:0,hr:0,vr:0},validator:function(e){var t=e.shape,n=t.rx,i=t.ry,r=t.hr,a=t.vr;return"number"===typeof n&&"number"===typeof i&&"number"===typeof r&&"number"===typeof a||(console.error("Ellipse shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape;n.beginPath();var r=i.rx,a=i.ry,o=i.hr,s=i.vr;n.ellipse(r,a,o>0?o:.01,s>0?s:.01,0,0,2*Math.PI),n.fill(),n.stroke(),n.closePath()},hoverCheck:function(e,t){var n=t.shape,i=n.rx,r=n.ry,a=n.hr,o=n.vr,s=Math.max(a,o),l=Math.min(a,o),u=Math.sqrt(s*s-l*l),c=[i-u,r],d=[i+u,r];return(0,le.getTwoPointDistance)(e,c)+(0,le.getTwoPointDistance)(e,d)<=2*s},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.rx,a=n.ry;i.graphCenter=[r,a]},move:function(e,t){var n=e.movementX,i=e.movementY,r=t.shape;this.attr("shape",{rx:r.rx+n,ry:r.ry+i})}};t.ellipse=l;var u={shape:{x:0,y:0,w:0,h:0},validator:function(e){var t=e.shape,n=t.x,i=t.y,r=t.w,a=t.h;return"number"===typeof n&&"number"===typeof i&&"number"===typeof r&&"number"===typeof a||(console.error("Rect shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape;n.beginPath();var r=i.x,a=i.y,o=i.w,s=i.h;n.rect(r,a,o,s),n.fill(),n.stroke(),n.closePath()},hoverCheck:function(e,t){var n=t.shape,i=n.x,r=n.y,a=n.w,o=n.h;return(0,le.checkPointIsInRect)(e,i,r,a,o)},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.x,a=n.y,o=n.w,s=n.h;i.graphCenter=[r+o/2,a+s/2]},move:function(e,t){var n=e.movementX,i=e.movementY,r=t.shape;this.attr("shape",{x:r.x+n,y:r.y+i})}};t.rect=u;var c={shape:{rx:0,ry:0,r:0},validator:function(e){var t=e.shape,n=t.rx,i=t.ry,r=t.r;return"number"===typeof n&&"number"===typeof i&&"number"===typeof r||(console.error("Ring shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape;n.beginPath();var r=i.rx,a=i.ry,o=i.r;n.arc(r,a,o>0?o:.01,0,2*Math.PI),n.stroke(),n.closePath()},hoverCheck:function(e,t){var n=t.shape,i=t.style,r=n.rx,a=n.ry,o=n.r,s=i.lineWidth/2,l=o-s,u=o+s,c=(0,le.getTwoPointDistance)(e,[r,a]);return c>=l&&c<=u},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.rx,a=n.ry;i.graphCenter=[r,a]},move:function(e,t){var n=e.movementX,i=e.movementY,r=t.shape;this.attr("shape",{rx:r.rx+n,ry:r.ry+i})}};t.ring=c;var d={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,clockWise:!0},validator:function(e){var t=e.shape;return!["rx","ry","r","startAngle","endAngle"].find((function(e){return"number"!==typeof t[e]}))||(console.error("Arc shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape;n.beginPath();var r=i.rx,a=i.ry,o=i.r,s=i.startAngle,l=i.endAngle,u=i.clockWise;n.arc(r,a,o>0?o:.001,s,l,!u),n.stroke(),n.closePath()},hoverCheck:function(e,t){var n=t.shape,i=t.style,r=n.rx,a=n.ry,o=n.r,s=n.startAngle,l=n.endAngle,u=n.clockWise,c=i.lineWidth/2,d=o-c,h=o+c;return!(0,le.checkPointIsInSector)(e,r,a,d,s,l,u)&&(0,le.checkPointIsInSector)(e,r,a,h,s,l,u)},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.rx,a=n.ry;i.graphCenter=[r,a]},move:function(e,t){var n=e.movementX,i=e.movementY,r=t.shape;this.attr("shape",{rx:r.rx+n,ry:r.ry+i})}};t.arc=d;var h={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,clockWise:!0},validator:function(e){var t=e.shape;return!["rx","ry","r","startAngle","endAngle"].find((function(e){return"number"!==typeof t[e]}))||(console.error("Sector shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape;n.beginPath();var r=i.rx,a=i.ry,o=i.r,s=i.startAngle,l=i.endAngle,u=i.clockWise;n.arc(r,a,o>0?o:.01,s,l,!u),n.lineTo(r,a),n.closePath(),n.stroke(),n.fill()},hoverCheck:function(e,t){var n=t.shape,i=n.rx,r=n.ry,a=n.r,o=n.startAngle,s=n.endAngle,l=n.clockWise;return(0,le.checkPointIsInSector)(e,i,r,a,o,s,l)},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.rx,a=n.ry;i.graphCenter=[r,a]},move:function(e,t){var n=e.movementX,i=e.movementY,r=t.shape,a=r.rx,o=r.ry;this.attr("shape",{rx:a+n,ry:o+i})}};t.sector=h;var f={shape:{rx:0,ry:0,r:0,side:0},validator:function(e){var t=e.shape,n=t.side;return["rx","ry","r","side"].find((function(e){return"number"!==typeof t[e]}))?(console.error("RegPolygon shape configuration is abnormal!"),!1):!(n<3)||(console.error("RegPolygon at least trigon!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape,r=t.cache;n.beginPath();var a=i.rx,o=i.ry,s=i.r,l=i.side;if(!r.points||r.rx!==a||r.ry!==o||r.r!==s||r.side!==l){var u=(0,le.getRegularPolygonPoints)(a,o,s,l);Object.assign(r,{points:u,rx:a,ry:o,r:s,side:l})}var c=r.points;(0,Ct.drawPolylinePath)(n,c),n.closePath(),n.stroke(),n.fill()},hoverCheck:function(e,t){var n=t.cache.points;return(0,le.checkPointIsInPolygon)(e,n)},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.rx,a=n.ry;i.graphCenter=[r,a]},move:function(e,t){var n=e.movementX,r=e.movementY,a=t.shape,o=t.cache,s=a.rx,l=a.ry;o.rx+=n,o.ry+=r,this.attr("shape",{rx:s+n,ry:l+r}),o.points=o.points.map((function(e){var t=(0,i.default)(e,2),a=t[0],o=t[1];return[a+n,o+r]}))}};t.regPolygon=f;var p={shape:{points:[],close:!1},validator:function(e){return e.shape.points instanceof Array||(console.error("Polyline points should be an array!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape,r=t.style.lineWidth;n.beginPath();var a=i.points,o=i.close;1===r&&(a=(0,le.eliminateBlur)(a)),(0,Ct.drawPolylinePath)(n,a),o?(n.closePath(),n.fill(),n.stroke()):n.stroke()},hoverCheck:function(e,t){var n=t.shape,i=t.style,r=n.points,a=n.close,o=i.lineWidth;return a?(0,le.checkPointIsInPolygon)(e,r):(0,le.checkPointIsNearPolyline)(e,r,o)},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.points;i.graphCenter=r[0]},move:function(e,t){var n=e.movementX,r=e.movementY,a=t.shape.points.map((function(e){var t=(0,i.default)(e,2),a=t[0],o=t[1];return[a+n,o+r]}));this.attr("shape",{points:a})}};t.polyline=p;var g={shape:{points:[],close:!1},validator:function(e){return e.shape.points instanceof Array||(console.error("Smoothline points should be an array!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape,r=t.cache,s=i.points,l=i.close;if(!r.points||r.points.toString()!==s.toString()){var u=a(s,l),c=o(u);Object.assign(r,{points:(0,le.deepClone)(s,!0),bezierCurve:u,hoverPoints:c})}var d=r.bezierCurve;n.beginPath(),(0,Ct.drawBezierCurvePath)(n,d.slice(1),d[0]),l?(n.closePath(),n.fill(),n.stroke()):n.stroke()},hoverCheck:function(e,t){var n=t.cache,i=t.shape,r=t.style,a=n.hoverPoints,o=i.close,s=r.lineWidth;return o?(0,le.checkPointIsInPolygon)(e,a):(0,le.checkPointIsNearPolyline)(e,a,s)},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.points;i.graphCenter=r[0]},move:function(e,t){var r=e.movementX,a=e.movementY,o=t.shape,s=t.cache,l=o.points.map((function(e){var t=(0,i.default)(e,2),n=t[0],o=t[1];return[n+r,o+a]}));s.points=l;var u=(0,i.default)(s.bezierCurve[0],2),c=u[0],d=u[1],h=s.bezierCurve.slice(1);s.bezierCurve=[[c+r,d+a]].concat((0,n.default)(h.map((function(e){return e.map((function(e){var t=(0,i.default)(e,2),n=t[0],o=t[1];return[n+r,o+a]}))})))),s.hoverPoints=s.hoverPoints.map((function(e){var t=(0,i.default)(e,2),n=t[0],o=t[1];return[n+r,o+a]})),this.attr("shape",{points:l})}};t.smoothline=g;var m={shape:{points:[],close:!1},validator:function(e){return e.shape.points instanceof Array||(console.error("BezierCurve points should be an array!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape,r=t.cache,a=i.points,s=i.close;if(!r.points||r.points.toString()!==a.toString()){var l=o(a,20);Object.assign(r,{points:(0,le.deepClone)(a,!0),hoverPoints:l})}n.beginPath(),(0,Ct.drawBezierCurvePath)(n,a.slice(1),a[0]),s?(n.closePath(),n.fill(),n.stroke()):n.stroke()},hoverCheck:function(e,t){var n=t.cache,i=t.shape,r=t.style,a=n.hoverPoints,o=i.close,s=r.lineWidth;return o?(0,le.checkPointIsInPolygon)(e,a):(0,le.checkPointIsNearPolyline)(e,a,s)},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.points;i.graphCenter=r[0]},move:function(e,t){var r=e.movementX,a=e.movementY,o=t.shape,s=t.cache,l=o.points,u=(0,i.default)(l[0],2),c=u[0],d=u[1],h=l.slice(1),f=[[c+r,d+a]].concat((0,n.default)(h.map((function(e){return e.map((function(e){var t=(0,i.default)(e,2),n=t[0],o=t[1];return[n+r,o+a]}))}))));s.points=f,s.hoverPoints=s.hoverPoints.map((function(e){var t=(0,i.default)(e,2),n=t[0],o=t[1];return[n+r,o+a]})),this.attr("shape",{points:f})}};t.bezierCurve=m;var v={shape:{content:"",position:[],maxWidth:void 0,rowGap:0},validator:function(e){var t=e.shape,n=t.content,i=t.position,r=t.rowGap;return"string"!==typeof n?(console.error("Text content should be a string!"),!1):i instanceof Array?"number"===typeof r||(console.error("Text rowGap should be a number!"),!1):(console.error("Text position should be an array!"),!1)},draw:function(e,t){var r=e.ctx,a=t.shape,o=a.content,s=a.position,l=a.maxWidth,u=a.rowGap,c=r.textBaseline,d=r.font,h=parseInt(d.replace(/\D/g,"")),f=s,p=(0,i.default)(f,2),g=p[0],m=p[1],v=(o=o.split("\n")).length,y=h+u,x=v*y-u,b=0;"middle"===c&&(b=x/2,m+=h/2),"bottom"===c&&(b=x,m+=h),s=new Array(v).fill(0).map((function(e,t){return[g,m+t*y-b]})),r.beginPath(),o.forEach((function(e,t){r.fillText.apply(r,[e].concat((0,n.default)(s[t]),[l])),r.strokeText.apply(r,[e].concat((0,n.default)(s[t]),[l]))})),r.closePath()},hoverCheck:function(e,t){t.shape,t.style;return!1},setGraphCenter:function(e,t){var i=t.shape,r=t.style,a=i.position;r.graphCenter=(0,n.default)(a)},move:function(e,t){var n=e.movementX,r=e.movementY,a=t.shape,o=(0,i.default)(a.position,2),s=o[0],l=o[1];this.attr("shape",{position:[s+n,l+r]})}};t.text=v;var y=new Map([["circle",s],["ellipse",l],["rect",u],["ring",c],["arc",d],["sector",h],["regPolygon",f],["polyline",p],["smoothline",g],["bezierCurve",m],["text",v]]),x=y;t.default=x}));a(Tt);Tt.extendNewGraph,Tt.text,Tt.bezierCurve,Tt.smoothline,Tt.polyline,Tt.regPolygon,Tt.sector,Tt.arc,Tt.ring,Tt.rect,Tt.ellipse,Tt.circle;var kt=o((function(e){var t=function(e){var t=Object.prototype,n=t.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},r=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",o=i.toStringTag||"@@toStringTag";function s(e,t,n,i){var r=t&&t.prototype instanceof c?t:c,a=Object.create(r.prototype),o=new w(i||[]);return a._invoke=function(e,t,n){var i="suspendedStart";return function(r,a){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw a;return M()}for(n.method=r,n.arg=a;;){var o=n.delegate;if(o){var s=x(o,n);if(s){if(s===u)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var c=l(e,t,n);if("normal"===c.type){if(i=n.done?"completed":"suspendedYield",c.arg===u)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i="completed",n.method="throw",n.arg=c.arg)}}}(e,n,o),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(i){return{type:"throw",arg:i}}}e.wrap=s;var u={};function c(){}function d(){}function h(){}var f={};f[r]=function(){return this};var p=Object.getPrototypeOf,g=p&&p(p(S([])));g&&g!==t&&n.call(g,r)&&(f=g);var m=h.prototype=c.prototype=Object.create(f);function v(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function y(e,t){var i;this._invoke=function(r,a){function o(){return new t((function(i,o){!function i(r,a,o,s){var u=l(e[r],e,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"===typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,o,s)}),(function(e){i("throw",e,o,s)})):t.resolve(d).then((function(e){c.value=e,o(c)}),(function(e){return i("throw",e,o,s)}))}s(u.arg)}(r,a,i,o)}))}return i=i?i.then(o,o):o()}}function x(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var i=l(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,u;var r=i.arg;return r?r.done?(t[e.resultName]=r.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):r:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function S(e){if(e){var t=e[r];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function t(){for(;++i=0;--r){var a=this.tryEntries[r],o=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(s&&l){if(this.prev=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;_(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}(e.exports);try{regeneratorRuntime=t}catch(n){Function("r","regeneratorRuntime = r")(t)}}));function It(e,t,n,i,r,a,o){try{var s=e[a](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(i,r)}var At=function(e){return function(){var t=this,n=arguments;return new Promise((function(i,r){var a=e.apply(t,n);function o(e){It(a,i,r,o,s,"next",e)}function s(e){It(a,i,r,o,s,"throw",e)}o(void 0)}))}},Pt=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=Q(ne),i=Q(bt),r=function e(t){(0,i.default)(this,e),this.colorProcessor(t);Object.assign(this,{fill:[0,0,0,1],stroke:[0,0,0,0],opacity:1,lineCap:null,lineJoin:null,lineDash:null,lineDashOffset:null,shadowBlur:0,shadowColor:[0,0,0,0],shadowOffsetX:0,shadowOffsetY:0,lineWidth:0,graphCenter:null,scale:null,rotate:null,translate:null,hoverCursor:"pointer",fontStyle:"normal",fontVarient:"normal",fontWeight:"normal",fontSize:10,fontFamily:"Arial",textAlign:"center",textBaseline:"middle",gradientColor:null,gradientType:"linear",gradientParams:null,gradientWith:"stroke",gradientStops:"auto",colors:null},t)};t.default=r,r.prototype.colorProcessor=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t?Be.getColorFromRgbValue:Be.getRgbaValue,i=["fill","stroke","shadowColor"],r=Object.keys(e),a=r.filter((function(e){return i.find((function(t){return t===e}))}));a.forEach((function(t){return e[t]=n(e[t])}));var o=e.gradientColor,s=e.colors;if(o&&(e.gradientColor=o.map((function(e){return n(e)}))),s){var l=Object.keys(s);l.forEach((function(e){return s[e]=n(s[e])}))}},r.prototype.initStyle=function(e){!function(e,t){e.save();var i=t.graphCenter,r=t.rotate,a=t.scale,o=t.translate;if(!(i instanceof Array))return;e.translate.apply(e,(0,n.default)(i)),r&&e.rotate(r*Math.PI/180);a instanceof Array&&e.scale.apply(e,(0,n.default)(a));o&&e.translate.apply(e,(0,n.default)(o));e.translate(-i[0],-i[1])}(e,this),function(e,t){var i=t.fill,r=t.stroke,o=t.shadowColor,s=t.opacity;a.forEach((function(n){(n||"number"===typeof n)&&(e[n]=t[n])})),i=(0,n.default)(i),r=(0,n.default)(r),o=(0,n.default)(o),i[3]*=s,r[3]*=s,o[3]*=s,e.fillStyle=(0,Be.getColorFromRgbValue)(i),e.strokeStyle=(0,Be.getColorFromRgbValue)(r),e.shadowColor=(0,Be.getColorFromRgbValue)(o);var l=t.lineDash,u=t.shadowBlur;l&&(l=l.map((function(e){return e>=0?e:0})),e.setLineDash(l));"number"===typeof u&&(e.shadowBlur=u>0?u:.001);var c=t.fontStyle,d=t.fontVarient,h=t.fontWeight,f=t.fontSize,p=t.fontFamily;e.font=c+" "+d+" "+h+" "+f+"px "+p}(e,this),function(e,t){if(!function(e){var t=e.gradientColor,n=e.gradientParams,i=e.gradientType,r=e.gradientWith,a=e.gradientStops;if(!t||!n)return!1;if(1===t.length)return console.warn("The gradient needs to provide at least two colors"),!1;if("linear"!==i&&"radial"!==i)return console.warn("GradientType only supports linear or radial, current value is "+i),!1;var o=n.length;if("linear"===i&&4!==o||"radial"===i&&6!==o)return console.warn("The expected length of gradientParams is "+("linear"===i?"4":"6")),!1;if("fill"!==r&&"stroke"!==r)return console.warn("GradientWith only supports fill or stroke, current value is "+r),!1;if("auto"!==a&&!(a instanceof Array))return console.warn("gradientStops only supports 'auto' or Number Array ([0, .5, 1]), current value is "+a),!1;return!0}(t))return;var i=t.gradientColor,r=t.gradientParams,a=t.gradientType,o=t.gradientWith,s=t.gradientStops,l=t.opacity;i=(i=i.map((function(e){var t=e[3]*l,i=(0,n.default)(e);return i[3]=t,i}))).map((function(e){return(0,Be.getColorFromRgbValue)(e)})),"auto"===s&&(s=function(e){var t=1/(e.length-1);return e.map((function(e,n){return t*n}))}(i));var u=e["create".concat(a.slice(0,1).toUpperCase()+a.slice(1),"Gradient")].apply(e,(0,n.default)(r));s.forEach((function(e,t){return u.addColorStop(e,i[t])})),e["".concat(o,"Style")]=u}(e,this)};var a=["lineCap","lineJoin","lineDashOffset","shadowOffsetX","shadowOffsetY","lineWidth","textAlign","textBaseline"];r.prototype.restoreTransform=function(e){e.restore()},r.prototype.update=function(e){this.colorProcessor(e),Object.assign(this,e)},r.prototype.getStyle=function(){var e=(0,le.deepClone)(this,!0);return this.colorProcessor(e,!0),e}}));a(Pt);var Et=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.easeInOutBounce=t.easeOutBounce=t.easeInBounce=t.easeInOutElastic=t.easeOutElastic=t.easeInElastic=t.easeInOutBack=t.easeOutBack=t.easeInBack=t.easeInOutQuint=t.easeOutQuint=t.easeInQuint=t.easeInOutQuart=t.easeOutQuart=t.easeInQuart=t.easeInOutCubic=t.easeOutCubic=t.easeInCubic=t.easeInOutQuad=t.easeOutQuad=t.easeInQuad=t.easeInOutSine=t.easeOutSine=t.easeInSine=t.linear=void 0;var n=[[[0,1],"",[.33,.67]],[[1,0],[.67,.33]]];t.linear=n;var i=[[[0,1]],[[.538,.564],[.169,.912],[.88,.196]],[[1,0]]];t.easeInSine=i;var r=[[[0,1]],[[.444,.448],[.169,.736],[.718,.16]],[[1,0]]];t.easeOutSine=r;var a=[[[0,1]],[[.5,.5],[.2,1],[.8,0]],[[1,0]]];t.easeInOutSine=a;var o=[[[0,1]],[[.55,.584],[.231,.904],[.868,.264]],[[1,0]]];t.easeInQuad=o;var s=[[[0,1]],[[.413,.428],[.065,.816],[.76,.04]],[[1,0]]];t.easeOutQuad=s;var l=[[[0,1]],[[.5,.5],[.3,.9],[.7,.1]],[[1,0]]];t.easeInOutQuad=l;var u=[[[0,1]],[[.679,.688],[.366,.992],[.992,.384]],[[1,0]]];t.easeInCubic=u;var c=[[[0,1]],[[.321,.312],[.008,.616],[.634,.008]],[[1,0]]];t.easeOutCubic=c;var d=[[[0,1]],[[.5,.5],[.3,1],[.7,0]],[[1,0]]];t.easeInOutCubic=d;var h=[[[0,1]],[[.812,.74],[.611,.988],[1.013,.492]],[[1,0]]];t.easeInQuart=h;var f=[[[0,1]],[[.152,.244],[.001,.448],[.285,-.02]],[[1,0]]];t.easeOutQuart=f;var p=[[[0,1]],[[.5,.5],[.4,1],[.6,0]],[[1,0]]];t.easeInOutQuart=p;var g=[[[0,1]],[[.857,.856],[.714,1],[1,.712]],[[1,0]]];t.easeInQuint=g;var m=[[[0,1]],[[.108,.2],[.001,.4],[.214,-.012]],[[1,0]]];t.easeOutQuint=m;var v=[[[0,1]],[[.5,.5],[.5,1],[.5,0]],[[1,0]]];t.easeInOutQuint=v;var y=[[[0,1]],[[.667,.896],[.38,1.184],[.955,.616]],[[1,0]]];t.easeInBack=y;var x=[[[0,1]],[[.335,.028],[.061,.22],[.631,-.18]],[[1,0]]];t.easeOutBack=x;var b=[[[0,1]],[[.5,.5],[.4,1.4],[.6,-.4]],[[1,0]]];t.easeInOutBack=b;var _=[[[0,1]],[[.474,.964],[.382,.988],[.557,.952]],[[.619,1.076],[.565,1.088],[.669,1.08]],[[.77,.916],[.712,.924],[.847,.904]],[[.911,1.304],[.872,1.316],[.961,1.34]],[[1,0]]];t.easeInElastic=_;var w=[[[0,1]],[[.073,-.32],[.034,-.328],[.104,-.344]],[[.191,.092],[.11,.06],[.256,.08]],[[.31,-.076],[.26,-.068],[.357,-.076]],[[.432,.032],[.362,.028],[.683,-.004]],[[1,0]]];t.easeOutElastic=w;var S=[[[0,1]],[[.21,.94],[.167,.884],[.252,.98]],[[.299,1.104],[.256,1.092],[.347,1.108]],[[.5,.496],[.451,.672],[.548,.324]],[[.696,-.108],[.652,-.112],[.741,-.124]],[[.805,.064],[.756,.012],[.866,.096]],[[1,0]]];t.easeInOutElastic=S;var M=[[[0,1]],[[.148,1],[.075,.868],[.193,.848]],[[.326,1],[.276,.836],[.405,.712]],[[.6,1],[.511,.708],[.671,.348]],[[1,0]]];t.easeInBounce=M;var C=[[[0,1]],[[.357,.004],[.27,.592],[.376,.252]],[[.604,-.004],[.548,.312],[.669,.184]],[[.82,0],[.749,.184],[.905,.132]],[[1,0]]];t.easeOutBounce=C;var T=[[[0,1]],[[.102,1],[.05,.864],[.117,.86]],[[.216,.996],[.208,.844],[.227,.808]],[[.347,.996],[.343,.8],[.48,.292]],[[.635,.004],[.511,.676],[.656,.208]],[[.787,0],[.76,.2],[.795,.144]],[[.905,-.004],[.899,.164],[.944,.144]],[[1,0]]];t.easeInOutBounce=T;var k=new Map([["linear",n],["easeInSine",i],["easeOutSine",r],["easeInOutSine",a],["easeInQuad",o],["easeOutQuad",s],["easeInOutQuad",l],["easeInCubic",u],["easeOutCubic",c],["easeInOutCubic",d],["easeInQuart",h],["easeOutQuart",f],["easeInOutQuart",p],["easeInQuint",g],["easeOutQuint",m],["easeInOutQuint",v],["easeInBack",y],["easeOutBack",x],["easeInOutBack",b],["easeInElastic",_],["easeOutElastic",w],["easeInOutElastic",S],["easeInBounce",M],["easeOutBounce",C],["easeInOutBounce",T]]);t.default=k}));a(Et);Et.easeInOutBounce,Et.easeOutBounce,Et.easeInBounce,Et.easeInOutElastic,Et.easeOutElastic,Et.easeInElastic,Et.easeInOutBack,Et.easeOutBack,Et.easeInBack,Et.easeInOutQuint,Et.easeOutQuint,Et.easeInQuint,Et.easeInOutQuart,Et.easeOutQuart,Et.easeInQuart,Et.easeInOutCubic,Et.easeOutCubic,Et.easeInCubic,Et.easeInOutQuad,Et.easeOutQuad,Et.easeInQuad,Et.easeInOutSine,Et.easeOutSine,Et.easeInSine,Et.linear;var Dt=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.transition=a,t.injectNewCurve=function(e,t){if(!e||!t)return void console.error("InjectNewCurve Missing Parameters!");r.default.set(e,t)},t.default=void 0;var n=Q(se),i=Q(ie),r=Q(Et);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:30,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(!o.apply(void 0,arguments))return!1;try{var a=s(e),c=l(a,i);return r&&"number"!==typeof n?d(t,n,c):u(t,n,c)}catch(h){return console.warn("Transition parameter may be abnormal!"),[n]}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:30;if(!e||!1===t||!1===n||!a)return console.error("transition: Missing Parameters!"),!1;if((0,i.default)(t)!==(0,i.default)(n))return console.error("transition: Inconsistent Status Types!"),!1;var o=(0,i.default)(n);return"string"!==o&&"boolean"!==o&&e.length?(r.default.has(e)||e instanceof Array||console.warn("transition: Transition curve not found, default curve will be used!"),!0):(console.error("transition: Unsupported Data Type of State!"),!1)}function s(e){return r.default.has(e)?r.default.get(e):e instanceof Array?e:r.default.get("linear")}function l(e,t){var i=1/(t-1);return new Array(t).fill(0).map((function(e,t){return t*i})).map((function(t){return function(e,t){var i=function(e,t){var n=e.length-1,i="",r="";e.findIndex((function(a,o){if(o!==n){i=a,r=e[o+1];var s=i[0][0],l=r[0][0];return t>=s&&t1&&void 0!==arguments[1]?arguments[1]:void 0;if(!e||void 0===t)return!1;var n="object"===(0,r.default)(this[e]);n&&(t=(0,le.deepClone)(t,!0));var i=this.render;"style"===e?this.style.update(t):n?Object.assign(this[e],t):this[e]=t,"index"===e&&i.sortGraphsByIndex(),i.drawAllGraph()},u.prototype.animation=function(){var e=(0,i.default)(n.default.mark((function e(t,r){var a,o,s,u,d,h,f,p,g,m=arguments;return n.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=m.length>2&&void 0!==m[2]&&m[2],"shape"===t||"style"===t){e.next=4;break}return console.error("Only supported shape and style animation!"),e.abrupt("return");case 4:if(r=(0,le.deepClone)(r,!0),"style"===t&&this.style.colorProcessor(r),o=this[t],s=Object.keys(r),u={},s.forEach((function(e){return u[e]=o[e]})),d=this.animationFrame,h=this.animationCurve,f=this.animationDelay,p=(0,l.default)(h,u,r,d,!0),this.animationRoot.push(o),this.animationKeys.push(s),this.animationFrameState.push(p),!a){e.next=17;break}return e.abrupt("return");case 17:if(!(f>0)){e.next=20;break}return e.next=20,c(f);case 20:return g=this.render,e.abrupt("return",new Promise(function(){var e=(0,i.default)(n.default.mark((function e(t){return n.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.launchAnimation();case 2:t();case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 22:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}(),u.prototype.turnNextAnimationFrame=function(e){var t=this.animationDelay,n=this.animationRoot,i=this.animationKeys,r=this.animationFrameState;this.animationPause||Date.now()-e0&&void 0!==arguments[0]?arguments[0]:{},t=e.name;if(t){var n=s.default.get(t);if(n){var i=new l.default(n,e);if(i.validator(i))return i.render=this,this.graphs.push(i),this.sortGraphsByIndex(),this.drawAllGraph(),i}else console.warn("No corresponding graph configuration found!")}else console.error("add Missing parameters!")},c.prototype.sortGraphsByIndex=function(){this.graphs.sort((function(e,t){return e.index>t.index?1:e.index===t.index?0:e.index0?o:0,l,u,!c);var d=(0,le.getCircleRadianPoint)(r,a,s,u).map((function(e){return parseInt(e)+.5})),h=(0,le.getCircleRadianPoint)(r,a,o,l).map((function(e){return parseInt(e)+.5}));n.lineTo.apply(n,(0,zt.default)(d)),n.arc(r,a,s>0?s:0,u,l,c),n.lineTo.apply(n,(0,zt.default)(h)),n.closePath(),n.stroke(),n.fill()}},Ft={shape:{rx:0,ry:0,r:0,startAngle:0,endAngle:0,gradientStartAngle:null,gradientEndAngle:null},validator:function(e){var t=e.shape;return!["rx","ry","r","startAngle","endAngle"].find((function(e){return"number"!==typeof t[e]}))||(console.error("AgArc shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape,r=t.style.gradient;1===(r=r.map((function(e){return(0,Be.getColorFromRgbValue)(e)}))).length&&(r=[r[0],r[0]]);var a=r.length-1,o=i.gradientStartAngle,s=i.gradientEndAngle,l=i.startAngle,u=i.endAngle,c=i.r,d=i.rx,h=i.ry;null===o&&(o=l),null===s&&(s=u);var f=(s-o)/a;f===2*Math.PI&&(f=2*Math.PI-.001);for(var p=0;pu&&(x=u,b=!0),n.arc(d,h,c,y,x),n.strokeStyle=v,n.stroke(),b)break}}},Vt={shape:{number:[],content:"",position:[0,0],toFixed:0},validator:function(e){var t=e.shape,n=t.number,i=t.content,r=t.position;return n instanceof Array&&"string"===typeof i&&r instanceof Array||(console.error("NumberText shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape;n.beginPath();var r=i.number,a=i.content,o=i.position,s=i.toFixed,l=a.split("{nt}"),u=l.length-1,c="";l.forEach((function(e,t){var n=r[t];t===u&&(n=""),"number"===typeof n&&(n=n.toFixed(s)),c+=e+(n||"")})),n.closePath(),n.strokeText.apply(n,[c].concat((0,zt.default)(o))),n.fillText.apply(n,[c].concat((0,zt.default)(o)))}},Gt={shape:{x:0,y:0,w:0,h:0},validator:function(e){var t=e.shape,n=t.x,i=t.y,r=t.w,a=t.h;return"number"===typeof n&&"number"===typeof i&&"number"===typeof r&&"number"===typeof a||(console.error("lineIcon shape configuration is abnormal!"),!1)},draw:function(e,t){var n=e.ctx,i=t.shape;n.beginPath();var r=i.x,a=i.y,o=i.w,s=i.h/2;n.strokeStyle=n.fillStyle,n.moveTo(r,a+s),n.lineTo(r+o,a+s),n.lineWidth=1,n.stroke(),n.beginPath();var l=s-10;l<=0&&(l=3),n.arc(r+o/2,a+s,l,0,2*Math.PI),n.lineWidth=5,n.stroke(),n.fillStyle="#fff",n.fill()},hoverCheck:function(e,t){var n=t.shape,i=n.x,r=n.y,a=n.w,o=n.h;return(0,le.checkPointIsInRect)(e,i,r,a,o)},setGraphCenter:function(e,t){var n=t.shape,i=t.style,r=n.x,a=n.y,o=n.w,s=n.h;i.graphCenter=[r+o/2,a+s/2]}};(0,Nt.extendNewGraph)("pie",Bt),(0,Nt.extendNewGraph)("agArc",Ft),(0,Nt.extendNewGraph)("numberText",Vt),(0,Nt.extendNewGraph)("lineIcon",Gt);var jt=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.colorConfig=void 0;t.colorConfig=["#37a2da","#32c5e9","#67e0e3","#9fe6b8","#ffdb5c","#ff9f7f","#fb7293","#e062ae","#e690d1","#e7bcf3","#9d96f5","#8378ea","#96bfff"]}));a(jt);jt.colorConfig;var Wt=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.gridConfig=void 0;t.gridConfig={left:"10%",right:"10%",top:60,bottom:60,style:{fill:"rgba(0, 0, 0, 0)"},rLevel:-30,animationCurve:"easeOutCubic",animationFrame:30}}));a(Wt);Wt.gridConfig;var Ht=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.yAxisConfig=t.xAxisConfig=void 0;t.xAxisConfig={name:"",show:!0,position:"bottom",nameGap:15,nameLocation:"end",nameTextStyle:{fill:"#333",fontSize:10},min:"20%",max:"20%",interval:null,minInterval:null,maxInterval:null,boundaryGap:null,splitNumber:5,axisLine:{show:!0,style:{stroke:"#333",lineWidth:1}},axisTick:{show:!0,style:{stroke:"#333",lineWidth:1}},axisLabel:{show:!0,formatter:null,style:{fill:"#333",fontSize:10,rotate:0}},splitLine:{show:!1,style:{stroke:"#d4d4d4",lineWidth:1}},rLevel:-20,animationCurve:"easeOutCubic",animationFrame:50};t.yAxisConfig={name:"",show:!0,position:"left",nameGap:15,nameLocation:"end",nameTextStyle:{fill:"#333",fontSize:10},min:"20%",max:"20%",interval:null,minInterval:null,maxInterval:null,boundaryGap:null,splitNumber:5,axisLine:{show:!0,style:{stroke:"#333",lineWidth:1}},axisTick:{show:!0,style:{stroke:"#333",lineWidth:1}},axisLabel:{show:!0,formatter:null,style:{fill:"#333",fontSize:10,rotate:0}},splitLine:{show:!0,style:{stroke:"#d4d4d4",lineWidth:1}},rLevel:-20,animationCurve:"easeOutCubic",animationFrame:50}}));a(Ht);Ht.yAxisConfig,Ht.xAxisConfig;var Ut=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.titleConfig=void 0;t.titleConfig={show:!0,text:"",offset:[0,-20],style:{fill:"#333",fontSize:17,fontWeight:"bold",textAlign:"center",textBaseline:"bottom"},rLevel:20,animationCurve:"easeOutCubic",animationFrame:50}}));a(Ut);Ut.titleConfig;var Yt=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.lineConfig=void 0;t.lineConfig={show:!0,name:"",stack:"",smooth:!1,xAxisIndex:0,yAxisIndex:0,data:[],lineStyle:{lineWidth:1},linePoint:{show:!0,radius:2,style:{fill:"#fff",lineWidth:1}},lineArea:{show:!1,gradient:[],style:{opacity:.5}},label:{show:!1,position:"top",offset:[0,-10],formatter:null,style:{fontSize:10}},rLevel:10,animationCurve:"easeOutCubic",animationFrame:50}}));a(Yt);Yt.lineConfig;var Zt=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.barConfig=void 0;t.barConfig={show:!0,name:"",stack:"",shapeType:"normal",echelonOffset:10,barWidth:"auto",barGap:"30%",barCategoryGap:"20%",xAxisIndex:0,yAxisIndex:0,data:[],backgroundBar:{show:!1,width:"auto",style:{fill:"rgba(200, 200, 200, .4)"}},label:{show:!1,position:"top",offset:[0,-10],formatter:null,style:{fontSize:10}},gradient:{color:[],local:!0},barStyle:{},independentColor:!1,independentColors:[],rLevel:0,animationCurve:"easeOutCubic",animationFrame:50}}));a(Zt);Zt.barConfig;var qt=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.pieConfig=void 0;var n={show:!0,name:"",radius:"50%",center:["50%","50%"],startAngle:-Math.PI/2,roseType:!1,roseSort:!0,roseIncrement:"auto",data:[],insideLabel:{show:!1,formatter:"{percent}%",style:{fontSize:10,fill:"#fff",textAlign:"center",textBaseline:"middle"}},outsideLabel:{show:!0,formatter:"{name}",style:{fontSize:11},labelLineBendGap:"20%",labelLineEndLength:50,labelLineStyle:{lineWidth:1}},pieStyle:{},percentToFixed:0,rLevel:10,animationDelayGap:60,animationCurve:"easeOutCubic",startAnimationCurve:"easeOutBack",animationFrame:50};t.pieConfig=n}));a(qt);qt.pieConfig;var Xt=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.radarAxisConfig=void 0;var n={show:!0,center:["50%","50%"],radius:"65%",startAngle:-Math.PI/2,splitNum:5,polygon:!1,axisLabel:{show:!0,labelGap:15,color:[],style:{fill:"#333"}},axisLine:{show:!0,color:[],style:{stroke:"#999",lineWidth:1}},splitLine:{show:!0,color:[],style:{stroke:"#d4d4d4",lineWidth:1}},splitArea:{show:!1,color:["#f5f5f5","#e6e6e6"],style:{}},rLevel:-10,animationCurve:"easeOutCubic",animationFrane:50};t.radarAxisConfig=n}));a(Xt);Xt.radarAxisConfig;var Qt=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.radarConfig=void 0;t.radarConfig={show:!0,name:"",data:[],radarStyle:{lineWidth:1},point:{show:!0,radius:2,style:{fill:"#fff"}},label:{show:!0,offset:[0,0],labelGap:5,formatter:null,style:{fontSize:10}},rLevel:10,animationCurve:"easeOutCubic",animationFrane:50}}));a(Qt);Qt.radarConfig;var Kt=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.gaugeConfig=void 0;var n={show:!0,name:"",radius:"60%",center:["50%","50%"],startAngle:-Math.PI/4*5,endAngle:Math.PI/4,min:0,max:100,splitNum:5,arcLineWidth:15,data:[],dataItemStyle:{},axisTick:{show:!0,tickLength:6,style:{stroke:"#999",lineWidth:1}},axisLabel:{show:!0,data:[],formatter:null,labelGap:5,style:{}},pointer:{show:!0,valueIndex:0,style:{scale:[1,1],fill:"#fb7293"}},details:{show:!1,formatter:null,offset:[0,0],valueToFixed:0,position:"center",style:{fontSize:20,fontWeight:"bold",textAlign:"center",textBaseline:"middle"}},backgroundArc:{show:!0,style:{stroke:"#e0e0e0"}},rLevel:10,animationCurve:"easeOutCubic",animationFrame:50};t.gaugeConfig=n}));a(Kt);Kt.gaugeConfig;var Jt=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.legendConfig=void 0;t.legendConfig={show:!0,orient:"horizontal",left:"auto",right:"auto",top:"auto",bottom:"auto",itemGap:10,iconWidth:25,iconHeight:10,selectAble:!0,data:[],textStyle:{fontFamily:"Arial",fontSize:13,fill:"#000"},iconStyle:{},textUnselectedStyle:{fontFamily:"Arial",fontSize:13,fill:"#999"},iconUnselectedStyle:{fill:"#999"},rLevel:20,animationCurve:"easeOutCubic",animationFrame:50}}));a(Jt);Jt.legendConfig;var $t=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.changeDefaultConfig=function(e,t){if(!n["".concat(e,"Config")])return void console.warn("Change default config Error - Invalid key!");(0,ce.deepMerge)(n["".concat(e,"Config")],t)},Object.defineProperty(t,"colorConfig",{enumerable:!0,get:function(){return jt.colorConfig}}),Object.defineProperty(t,"gridConfig",{enumerable:!0,get:function(){return Wt.gridConfig}}),Object.defineProperty(t,"xAxisConfig",{enumerable:!0,get:function(){return Ht.xAxisConfig}}),Object.defineProperty(t,"yAxisConfig",{enumerable:!0,get:function(){return Ht.yAxisConfig}}),Object.defineProperty(t,"titleConfig",{enumerable:!0,get:function(){return Ut.titleConfig}}),Object.defineProperty(t,"lineConfig",{enumerable:!0,get:function(){return Yt.lineConfig}}),Object.defineProperty(t,"barConfig",{enumerable:!0,get:function(){return Zt.barConfig}}),Object.defineProperty(t,"pieConfig",{enumerable:!0,get:function(){return qt.pieConfig}}),Object.defineProperty(t,"radarAxisConfig",{enumerable:!0,get:function(){return Xt.radarAxisConfig}}),Object.defineProperty(t,"radarConfig",{enumerable:!0,get:function(){return Qt.radarConfig}}),Object.defineProperty(t,"gaugeConfig",{enumerable:!0,get:function(){return Kt.gaugeConfig}}),Object.defineProperty(t,"legendConfig",{enumerable:!0,get:function(){return Jt.legendConfig}}),t.keys=void 0;var n={colorConfig:jt.colorConfig,gridConfig:Wt.gridConfig,xAxisConfig:Ht.xAxisConfig,yAxisConfig:Ht.yAxisConfig,titleConfig:Ut.titleConfig,lineConfig:Yt.lineConfig,barConfig:Zt.barConfig,pieConfig:qt.pieConfig,radarAxisConfig:Xt.radarAxisConfig,radarConfig:Qt.radarConfig,gaugeConfig:Kt.gaugeConfig,legendConfig:Jt.legendConfig};t.keys=["color","title","legend","xAxis","yAxis","grid","radarAxis","line","bar","pie","radar","gauge"]}));a($t);$t.changeDefaultConfig,$t.keys;var en=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.mergeColor=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,le.deepClone)($t.colorConfig,!0),i=t.color,r=t.series;r||(r=[]);i||(i=[]);if(t.color=i=(0,ce.deepMerge)(n,i),!r.length)return;var a=i.length;r.forEach((function(e,t){e.color||(e.color=i[t%a])}));var o=r.filter((function(e){return"pie"===e.type}));o.forEach((function(e){return e.data.forEach((function(e,t){return e.color=i[t%a]}))}));var s=r.filter((function(e){return"gauge"===e.type}));s.forEach((function(e){return e.data.forEach((function(e,t){return e.color=i[t%a]}))}));var l=r.filter((function(e){var t=e.type,n=e.independentColor;return"bar"===t&&n}));l.forEach((function(e){e.independentColors||(e.independentColors=i)}))}}));a(en);en.mergeColor;var tn=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.doUpdate=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.chart,n=e.series,i=e.key,r=e.getGraphConfig,o=e.getStartGraphConfig,s=e.beforeChange,l=e.beforeUpdate,u=e.afterAddGraph;t[i]?t[i].update(n):t[i]=new a({chart:t,key:i,getGraphConfig:r,getStartGraphConfig:o,beforeChange:s,beforeUpdate:l,afterAddGraph:u},n)},t.Updater=void 0;var n=Q(ne),i=Q(ie),r=Q(bt),a=function e(t,n){(0,r.default)(this,e);var i=t.chart,a=t.key;"function"===typeof t.getGraphConfig?(i[a]||(this.graphs=i[a]=[]),Object.assign(this,t),this.update(n)):console.warn("Updater need function getGraphConfig!")};function o(e,t){Object.keys(t).forEach((function(n){"shape"===n||"style"===n?e.animation(n,t[n],!0):e[n]=t[n]}))}t.Updater=a,a.prototype.update=function(e){var t=this,r=this.graphs,a=this.beforeUpdate;if(function(e,t){var n=e.graphs,i=e.chart.render,r=n.length,a=t.length;if(r>a){n.splice(a).forEach((function(e){return e.forEach((function(e){return i.delGraph(e)}))}))}}(this,e),e.length){var s=(0,i.default)(a);e.forEach((function(e,i){"function"===s&&a(r,e,i,t);var l=r[i];l?function(e,t,i,r){var a=r.getGraphConfig,s=r.chart.render,l=r.beforeChange,u=a(t,r);(function(e,t,i){var r=e.length,a=t.length;if(a>r){var o=e.slice(-1)[0],s=new Array(a-r).fill(0).map((function(e){return i.clone(o)}));e.push.apply(e,(0,n.default)(s))}else if(a1&&void 0!==arguments[1]?arguments[1]:{},n=[];t.title&&(n[0]=(0,ce.deepMerge)((0,le.deepClone)($t.titleConfig,!0),t.title));(0,tn.doUpdate)({chart:e,series:n,key:"title",getGraphConfig:i})};var n=Q(se);function i(e,t){var i=$t.titleConfig.animationCurve,r=$t.titleConfig.animationFrame,a=$t.titleConfig.rLevel,o=function(e,t){var i=e.offset,r=e.text,a=t.chart.gridArea,o=a.x,s=a.y,l=a.w,u=(0,n.default)(i,2),c=u[0],d=u[1];return{content:r,position:[o+l/2+c,s+d]}}(e,t),s=function(e){return e.style}(e);return[{name:"text",index:a,visible:e.show,animationCurve:i,animationFrame:r,shape:o,style:s}]}}));a(nn);nn.title;var rn=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.grid=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.grid;n=(0,ce.deepMerge)((0,le.deepClone)($t.gridConfig,!0),n||{}),(0,tn.doUpdate)({chart:e,series:[n],key:"grid",getGraphConfig:a})};var n=Q(se),i=Q(_t);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function a(e,t){var a=e.animationCurve,s=e.animationFrame,l=e.rLevel,u=function(e,t){var i=(0,n.default)(t.chart.render.area,2),r=i[0],a=i[1],s=o(e.left,r),l=o(e.right,r),u=o(e.top,a),c=o(e.bottom,a);return{x:s,y:u,w:r-s-l,h:a-u-c}}(e,t),c=function(e){return e.style}(e);return t.chart.gridArea=function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=t.xAxis,i=t.yAxis,r=t.series,a=[];n&&i&&r&&(a=w(a=_(a=b(a=x(a=y(a=p(a=f(a=(a=h(a=d(n,i))).filter((function(e){return e.show}))),r)),e))),e));(0,tn.doUpdate)({chart:e,series:a,key:"axisLine",getGraphConfig:S}),(0,tn.doUpdate)({chart:e,series:a,key:"axisTick",getGraphConfig:T}),(0,tn.doUpdate)({chart:e,series:a,key:"axisLabel",getGraphConfig:k}),(0,tn.doUpdate)({chart:e,series:a,key:"axisName",getGraphConfig:A}),(0,tn.doUpdate)({chart:e,series:a,key:"splitLine",getGraphConfig:D}),e.axisData=a};var n=Q(ie),i=Q(se),r=Q(_t),a=Q(ne);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e){for(var t=1;t1&&(c=parseInt(c.toString().replace(/\d$/,"0")));0===c&&(c=1);return"number"===typeof r&&ca?a:c}(d,h,e),p=e.axisLabel.formatter,y=[];return s({},e,{maxValue:(y=(y=r[0]===r[1]?r:d<0&&h>0?function(e,t,n){var i=[],r=[],o=0,s=0;do{i.push(o-=n)}while(o>e);do{r.push(s+=n)}while(s1&&void 0!==arguments[1]?arguments[1]:{},n=t.xAxis,i=t.yAxis,r=t.series,a=[];n&&i&&r&&(a=d(a=(0,ce.initNeedSeries)(r,$t.lineConfig,"line"),e));(0,tn.doUpdate)({chart:e,series:a,key:"lineArea",getGraphConfig:h,getStartGraphConfig:m,beforeUpdate:v,beforeChange:y}),(0,tn.doUpdate)({chart:e,series:a,key:"line",getGraphConfig:x,getStartGraphConfig:w,beforeUpdate:v,beforeChange:y}),(0,tn.doUpdate)({chart:e,series:a,key:"linePoint",getGraphConfig:S,getStartGraphConfig:M}),(0,tn.doUpdate)({chart:e,series:a,key:"lineLabel",getGraphConfig:C})};var n=Q(ie),i=Q(se),r=Q(ne),a=Q(_t),o=Q(Mt);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function l(e){for(var t=1;t=l||"number"!==typeof e)return null;var n=[e,s[t][1-u]];return 0===u||n.reverse(),n}))}(i,r),o=function(e){var t=e.find((function(e){return"value"===e.data})),n=t.axis,i=t.linePosition,r=t.minValue,a=t.maxValue,o="x"===n?0:1,s=i[0][o];if(r<0&&a>0){var l=a-r,u=Math.abs(i[0][o]-i[1][o]),c=Math.abs(r)/l*u;"y"===n&&(c*=-1),s+=c}return{changeIndex:o,changeValue:s}}(r);return l({},t,{linePosition:a.filter((function(e){return e})),lineFillBottomPos:o})}))}function h(e){var t=e.animationCurve,n=e.animationFrame,i=e.lineFillBottomPos,r=e.rLevel;return[{name:b(e),index:r,animationCurve:t,animationFrame:n,visible:e.lineArea.show,lineFillBottomPos:i,shape:f(e),style:p(e),drawed:g}]}function f(e){return{points:e.linePosition}}function p(e){var t=e.lineArea,n=e.color,i=t.gradient,a=t.style,o=[a.fill||n],s=(0,ce.deepMerge)(o,i);1===s.length&&s.push(s[0]);var u=function(e){var t=e.lineFillBottomPos,n=e.linePosition,i=t.changeIndex,a=t.changeValue,o=n.map((function(e){return e[i]})),s=Math.max.apply(Math,(0,r.default)(o)),l=Math.min.apply(Math,(0,r.default)(o)),u=s;1===i&&(u=l);return 1===i?[0,u,0,a]:[u,0,a,0]}(e);return a=l({},a,{stroke:"rgba(0, 0, 0, 0)"}),(0,ce.deepMerge)({gradientColor:s,gradientParams:u,gradientType:"linear",gradientWith:"fill"},a)}function g(e,t){var n=e.lineFillBottomPos,i=e.shape,a=t.ctx,o=i.points,s=n.changeIndex,l=n.changeValue,u=(0,r.default)(o[o.length-1]),c=(0,r.default)(o[0]);u[s]=l,c[s]=l,a.lineTo.apply(a,(0,r.default)(u)),a.lineTo.apply(a,(0,r.default)(c)),a.closePath(),a.fill()}function m(e){var t=h(e)[0],n=l({},t.style);return n.opacity=0,t.style=n,[t]}function v(e,t,n,i){var r=e[n];if(r){var a=b(t),o=i.chart.render;a!==r[0].name&&(r.forEach((function(e){return o.delGraph(e)})),e[n]=null)}}function y(e,t){var n=t.shape.points,i=e.shape.points,a=i.length,o=n.length;if(o>a){var s=i.slice(-1)[0],l=new Array(o-a).fill(0).map((function(e){return(0,r.default)(s)}));i.push.apply(i,(0,r.default)(l))}else o1&&void 0!==arguments[1]&&arguments[1];if(!t)return(0,ce.getPolylineLength)(e);var n=u(e);return c(n)}(e.linePosition,i);return(0,ce.deepMerge)({stroke:n,lineDash:[r,0]},t)}function w(e){var t=e.lineStyle.lineDash,n=x(e)[0],i=n.style.lineDash;return i=t?[0,0]:(0,r.default)(i).reverse(),n.style.lineDash=i,[n]}function S(e){var t=e.animationCurve,n=e.animationFrame,r=e.rLevel,a=function(e){var t=e.linePosition,n=e.linePoint.radius;return t.map((function(e){var t=(0,i.default)(e,2),r=t[0],a=t[1];return{r:n,rx:r,ry:a}}))}(e),o=function(e){var t=e.color,n=e.linePoint.style;return(0,ce.deepMerge)({stroke:t},n)}(e);return a.map((function(i){return{name:"circle",index:r+2,visible:e.linePoint.show,animationCurve:t,animationFrame:n,shape:i,style:o}}))}function M(e){var t=S(e);return t.forEach((function(e){e.shape.r=.1})),t}function C(e){var t=e.animationCurve,a=e.animationFrame,o=e.rLevel,s=function(e){var t=function(e){var t=e.data,i=e.label.formatter;if(t=t.filter((function(e){return"number"===typeof e})).map((function(e){return e.toString()})),!i)return t;var r=(0,n.default)(i);return"string"===r?t.map((function(e){return i.replace("{value}",e)})):"function"===r?t.map((function(e,t){return i({value:e,index:t})})):t}(e),a=function(e){var t=e.linePosition,n=e.lineFillBottomPos,a=e.label,o=a.position,s=a.offset,l=n.changeIndex,u=n.changeValue;return t.map((function(e){if("bottom"===o&&((e=(0,r.default)(e))[l]=u),"center"===o){var t=(0,r.default)(e);t[l]=u,e=function(e,t){var n=(0,i.default)(e,2),r=n[0],a=n[1],o=(0,i.default)(t,2),s=o[0],l=o[1];return[(r+s)/2,(a+l)/2]}(e,t)}return function(e,t){var n=(0,i.default)(e,2),r=n[0],a=n[1],o=(0,i.default)(t,2),s=o[0],l=o[1];return[r+s,a+l]}(e,s)}))}(e);return t.map((function(e,t){return{content:e,position:a[t]}}))}(e),l=function(e){var t=e.color,n=e.label.style;return(0,ce.deepMerge)({fill:t},n)}(e);return s.map((function(n,i){return{name:"text",index:o+3,visible:e.label.show,animationCurve:t,animationFrame:a,shape:n,style:l}}))}}));a(on);on.line;var sn=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.bar=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.xAxis,i=t.yAxis,r=t.series,a=[];n&&i&&r&&(a=c(a=u(a=l(a=(0,ce.initNeedSeries)(r,$t.barConfig,"bar"),e))));(0,tn.doUpdate)({chart:e,series:a.slice(-1),key:"backgroundBar",getGraphConfig:h}),a.reverse(),(0,tn.doUpdate)({chart:e,series:a,key:"bar",getGraphConfig:f,getStartGraphConfig:v,beforeUpdate:y}),(0,tn.doUpdate)({chart:e,series:a,key:"barLabel",getGraphConfig:x})};var n=Q(ie),i=Q(_t),r=Q(se),a=Q(ne);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e){for(var t=1;tr&&(n.splice(r),i.splice(r))})),e}(e=function(e){return e.map((function(e){var t=e.barLabelAxisPos;return e.data.forEach((function(e,n){"number"!==typeof e&&(t[n]=null)})),s({},e,{barLabelAxisPos:t.filter((function(e){return null!==e}))})}))}(e=function(e){return e.map((function(e){var t=e.labelAxis,n=e.barAllWidthAndGap,i=e.barGap,r=e.barWidth,a=e.barIndex,o=t.tickGap,l=t.tickPosition,u="x"===t.axis?0:1;return s({},e,{barLabelAxisPos:l.map((function(e,t){return l[t][u]-o/2+(o-n)/2+(a+.5)*r+a*i}))})}))}(e=function(e){return e.map((function(t){var n=(0,ce.mergeSameStackData)(t,e);n=function(e,t){var n=e.data;return t.map((function(e,t){return"number"===typeof n[t]?e:null})).filter((function(e){return null!==e}))}(t,n);var i=t.valueAxis,r=i.axis,a=i.minValue,o=i.maxValue,l=i.linePosition,u=d(a,o,a<0?0:a,l,r);return s({},t,{barValueAxisPos:n.map((function(e){return d(a,o,e,l,r)})).map((function(e){return[u,e]}))})}))}(e))))}function d(e,t,n,i,r){if("number"!==typeof n)return null;var a=t-e,o="x"===r?0:1,s=(n-e)/a;return 0===a&&(s=0),s*(i[1][o]-i[0][o])+i[0][o]}function h(e){var t=e.animationCurve,n=e.animationFrame,i=e.rLevel,r=function(e){var t=e.labelAxis,n=e.valueAxis,i=t.tickPosition,r=n.axis,a=n.linePosition,o=function(e){var t=e.barAllWidthAndGap,n=e.barCategoryWidth,i=e.backgroundBar.width;return"number"===typeof i?i:"auto"===i?t:parseInt(i)/100*n}(e),s=o/2,l="x"===r?0:1,u=i.map((function(e){return e[1-l]})),c=[a[0][l],a[1][l]],d=c[0],h=c[1];return u.map((function(e){return"x"===r?{x:d,y:e-s,w:h-d,h:o}:{x:e-s,y:h,w:o,h:d-h}}))}(e),a=function(e){return e.backgroundBar.style}(e);return r.map((function(r){return{name:"rect",index:i,visible:e.backgroundBar.show,animationCurve:t,animationFrame:n,shape:r,style:a}}))}function f(e){var t=e.barLabelAxisPos,n=e.animationCurve,i=e.animationFrame,r=e.rLevel,a=p(e);return t.map((function(t,o){return{name:a,index:r,animationCurve:n,animationFrame:i,shape:g(e,o),style:m(e,o)}}))}function p(e){var t=e.shapeType;return"leftEchelon"===t||"rightEchelon"===t?"polyline":"rect"}function g(e,t){var n=e.shapeType;return"leftEchelon"===n?function(e,t){var n=e.barValueAxisPos,i=e.barLabelAxisPos,a=e.barWidth,o=e.echelonOffset,s=(0,r.default)(n[t],2),l=s[0],u=s[1],c=i[t],d=a/2,h=e.valueAxis.axis,f=[];"x"===h?(f[0]=[u,c-d],f[1]=[u,c+d],f[2]=[l,c+d],f[3]=[l+o,c-d],u-l1&&void 0!==arguments[1]?arguments[1]:{},n=t.series;n||(n=[]);var i=(0,ce.initNeedSeries)(n,qt.pieConfig,"pie");i=m(i=g(i=p(i=f(i=d(i=c(i=l(i=s(i,e),e))))))),(0,tn.doUpdate)({chart:e,series:i,key:"pie",getGraphConfig:_,getStartGraphConfig:w,beforeChange:S}),(0,tn.doUpdate)({chart:e,series:i,key:"pieInsideLabel",getGraphConfig:T}),(0,tn.doUpdate)({chart:e,series:i,key:"pieOutsideLabelLine",getGraphConfig:A,getStartGraphConfig:P}),(0,tn.doUpdate)({chart:e,series:i,key:"pieOutsideLabel",getGraphConfig:L,getStartGraphConfig:O})};var n=Q(_t),i=Q(ie),r=Q(se),a=Q(ne);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e,t){var n=t.render.area;return e.forEach((function(e){var t=e.center;t=t.map((function(e,t){return"number"===typeof e?e:parseInt(e)/100*n[t]})),e.center=t})),e}function l(e,t){var n=Math.min.apply(Math,(0,a.default)(t.render.area))/2;return e.forEach((function(e){var t=e.radius,i=e.data;t=u(t,n),i.forEach((function(e){var i=e.radius;i||(i=t),i=u(i,n),e.radius=i})),e.radius=t})),e}function u(e,t){return e instanceof Array||(e=[0,e]),e=e.map((function(e){return"number"===typeof e?e:parseInt(e)/100*t}))}function c(e,t){return e.filter((function(e){return e.roseType})).forEach((function(e){var t=e.radius,n=e.data,i=e.roseSort,r=function(e){var t=e.radius,n=e.roseIncrement;if("number"===typeof n)return n;if("auto"===n){var i=e.data,r=i.reduce((function(e,t){var n=t.radius;return[].concat((0,a.default)(e),(0,a.default)(n))}),[]),o=Math.min.apply(Math,(0,a.default)(r));return.6*(Math.max.apply(Math,(0,a.default)(r))-o)/(i.length-1||1)}return parseInt(n)/100*t[1]}(e),o=(0,a.default)(n);(n=function(e){return e.sort((function(e,t){var n=e.value,i=t.value;return n===i?0:n>i?-1:n1&&void 0!==arguments[1]?arguments[1]:0,n=e.toString(),i=n.split("."),r=i[1]||"0",a=r.slice(0,t);return i[1]=a,parseFloat(i.join("."))}function f(e){return e.forEach((function(e){var t=e.startAngle,n=e.data;n.forEach((function(e,i){var a=function(e,t){var n=2*Math.PI,i=e.slice(0,t+1),r=(0,ce.mulAdd)(i.map((function(e){return e.percent}))),a=e[t].percent;return[n*(r-a)/100,n*r/100]}(n,i),o=(0,r.default)(a,2),s=o[0],l=o[1];e.startAngle=t+s,e.endAngle=t+l}))})),e}function p(e){return e.forEach((function(e){e.data.forEach((function(t){t.insideLabelPos=function(e,t){var n=e.center,i=t.startAngle,o=t.endAngle,s=(0,r.default)(t.radius,2),l=s[0],u=s[1],c=(l+u)/2,d=(i+o)/2;return le.getCircleRadianPoint.apply(void 0,(0,a.default)(n).concat([c,d]))}(e,t)}))})),e}function g(e){return e.forEach((function(e){var t=e.data,n=e.center;t.forEach((function(e){var t=e.startAngle,i=e.endAngle,r=e.radius,o=(t+i)/2,s=le.getCircleRadianPoint.apply(void 0,(0,a.default)(n).concat([r[1],o]));e.edgeCenterPos=s}))})),e}function m(e){return e.forEach((function(e){var t=y(e),n=y(e,!1);t=x(t),n=x(n),b(t,e),b(n,e,!1)})),e}function v(e){var t=e.outsideLabel.labelLineBendGap,n=function(e){var t=e.data.map((function(e){var t=(0,r.default)(e.radius,2);t[0];return t[1]}));return Math.max.apply(Math,(0,a.default)(t))}(e);return"number"!==typeof t&&(t=parseInt(t)/100*n),t+n}function y(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.data,i=e.center,r=i[0];return n.filter((function(e){var n=e.edgeCenterPos[0];return t?n<=r:n>r}))}function x(e){return e.sort((function(e,t){var n=(0,r.default)(e.edgeCenterPos,2),i=(n[0],n[1]),a=(0,r.default)(t.edgeCenterPos,2),o=(a[0],a[1]);return i>o?1:i2&&void 0!==arguments[2])||arguments[2],i=t.center,r=t.outsideLabel,o=v(t);e.forEach((function(e){var t=e.edgeCenterPos,s=e.startAngle,l=e.endAngle,u=r.labelLineEndLength,c=(s+l)/2,d=le.getCircleRadianPoint.apply(void 0,(0,a.default)(i).concat([o,c])),h=(0,a.default)(d);h[0]+=u*(n?-1:1),e.labelLine=[t,d,h],e.labelLineLength=(0,ce.getPolylineLength)(e.labelLine),e.align={textAlign:"left",textBaseline:"middle"},n&&(e.align.textAlign="right")}))}function _(e){var t=e.data,n=e.animationCurve,i=e.animationFrame,r=e.rLevel;return t.map((function(t,a){return{name:"pie",index:r,animationCurve:n,animationFrame:i,shape:M(e,a),style:C(e,a)}}))}function w(e){var t=e.animationDelayGap,n=e.startAnimationCurve,i=_(e);return i.forEach((function(e,i){e.animationCurve=n,e.animationDelay=i*t,e.shape.or=e.shape.ir})),i}function S(e){e.animationDelay=0}function M(e,t){var n=e.center,i=e.data[t],r=i.radius;return{startAngle:i.startAngle,endAngle:i.endAngle,ir:r[0],or:r[1],rx:n[0],ry:n[1]}}function C(e,t){var n=e.pieStyle,i=e.data[t].color;return(0,ce.deepMerge)({fill:i},n)}function T(e){var t=e.animationCurve,n=e.animationFrame,i=e.data,r=e.rLevel;return i.map((function(i,a){return{name:"text",index:r,visible:e.insideLabel.show,animationCurve:t,animationFrame:n,shape:k(e,a),style:I(e)}}))}function k(e,t){var n=e.insideLabel,r=e.data,a=n.formatter,o=r[t],s=(0,i.default)(a),l="";return"string"===s&&(l=(l=(l=a.replace("{name}",o.name)).replace("{percent}",o.percent)).replace("{value}",o.value)),"function"===s&&(l=a(o)),{content:l,position:o.insideLabelPos}}function I(e,t){return e.insideLabel.style}function A(e){var t=e.animationCurve,n=e.animationFrame,i=e.data,r=e.rLevel;return i.map((function(i,a){return{name:"polyline",index:r,visible:e.outsideLabel.show,animationCurve:t,animationFrame:n,shape:E(e,a),style:D(e,a)}}))}function P(e){var t=e.data,n=A(e);return n.forEach((function(e,n){e.style.lineDash=[0,t[n].labelLineLength]})),n}function E(e,t){return{points:e.data[t].labelLine}}function D(e,t){var n=e.outsideLabel,i=e.data,r=n.labelLineStyle,a=i[t].color;return(0,ce.deepMerge)({stroke:a,lineDash:[i[t].labelLineLength,0]},r)}function L(e){var t=e.animationCurve,n=e.animationFrame,i=e.data,r=e.rLevel;return i.map((function(i,a){return{name:"text",index:r,visible:e.outsideLabel.show,animationCurve:t,animationFrame:n,shape:N(e,a),style:R(e,a)}}))}function O(e){var t=e.data,n=L(e);return n.forEach((function(e,n){e.shape.position=t[n].labelLine[1]})),n}function N(e,t){var n=e.outsideLabel,r=e.data,a=n.formatter,o=r[t],s=o.labelLine,l=o.name,u=o.percent,c=o.value,d=(0,i.default)(a),h="";return"string"===d&&(h=(h=(h=a.replace("{name}",l)).replace("{percent}",u)).replace("{value}",c)),"function"===d&&(h=a(r[t])),{content:h,position:s[2]}}function R(e,t){var i=e.outsideLabel,r=e.data[t],a=r.color,s=r.align,l=i.style;return(0,ce.deepMerge)(function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=t.radar,i=[];n&&(i=[i=h(i=d(i=c(i=u(i=l(i=s(n),e),e))))]);var r=i;i.length&&!i[0].show&&(r=[]);(0,tn.doUpdate)({chart:e,series:r,key:"radarAxisSplitArea",getGraphConfig:f,beforeUpdate:m,beforeChange:v}),(0,tn.doUpdate)({chart:e,series:r,key:"radarAxisSplitLine",getGraphConfig:y,beforeUpdate:_,beforeChange:w}),(0,tn.doUpdate)({chart:e,series:r,key:"radarAxisLine",getGraphConfig:S}),(0,tn.doUpdate)({chart:e,series:r,key:"radarAxisLable",getGraphConfig:T}),e.radarAxis=i[0]};var n=Q(se),i=Q(_t),r=Q(ne);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;ta?"left":"right",h=c[1]>o?"top":"bottom";if(u=(0,ce.deepMerge)({textAlign:d,textBaseline:h},u),!l.length)return u;var f=l.length;return(0,ce.deepMerge)(u,{fill:l[t%f]})}}));a(un);un.radarAxis;var cn=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.radar=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.series;n||(n=[]);var i=(0,ce.initNeedSeries)(n,$t.radarConfig,"radar");i=u(i=l(i=s(i,e),e),e),(0,tn.doUpdate)({chart:e,series:i,key:"radar",getGraphConfig:c,getStartGraphConfig:d,beforeChange:p}),(0,tn.doUpdate)({chart:e,series:i,key:"radarPoint",getGraphConfig:g,getStartGraphConfig:m}),(0,tn.doUpdate)({chart:e,series:i,key:"radarLabel",getGraphConfig:x})};var n=Q(_t),i=Q(ie),r=Q(se),a=Q(ne);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e,t){var n=t.radarAxis;if(!n)return[];var i=n.indicator,r=n.axisLineAngles,o=n.radius,s=n.centerPos;return e.forEach((function(e){var t=e.data;e.dataRadius=[],e.radarPosition=i.map((function(n,i){var l=n.max,u=n.min,c=t[i];"number"!==typeof l&&(l=c),"number"!==typeof u&&(u=0),"number"!==typeof c&&(c=u);var d=(c-u)/(l-u)*o;return e.dataRadius[i]=d,le.getCircleRadianPoint.apply(void 0,(0,a.default)(s).concat([d,r[i]]))}))})),e}function l(e,t){var n=t.radarAxis;if(!n)return[];var i=n.centerPos,r=n.axisLineAngles;return e.forEach((function(e){var t=e.dataRadius,n=e.label.labelGap;e.labelPosition=t.map((function(e,t){return le.getCircleRadianPoint.apply(void 0,(0,a.default)(i).concat([e+n,r[t]]))}))})),e}function u(e,t){var n=t.radarAxis;if(!n)return[];var i=(0,r.default)(n.centerPos,2),a=i[0],o=i[1];return e.forEach((function(e){var t=e.labelPosition.map((function(e){var t=(0,r.default)(e,2),n=t[0],i=t[1];return{textAlign:n>a?"left":"right",textBaseline:i>o?"top":"bottom"}}));e.labelAlign=t})),e}function c(e){var t=e.animationCurve,n=e.animationFrame;return[{name:"polyline",index:e.rLevel,animationCurve:t,animationFrame:n,shape:h(e),style:f(e)}]}function d(e,t){var n=t.chart.radarAxis.centerPos,i=c(e)[0],r=i.shape.points.length,o=new Array(r).fill(0).map((function(e){return(0,a.default)(n)}));return i.shape.points=o,[i]}function h(e){return{points:e.radarPosition,close:!0}}function f(e){var t=e.radarStyle,n=e.color,i=(0,Be.getRgbaValue)(n);i[3]=.5;var r={stroke:n,fill:(0,Be.getColorFromRgbValue)(i)};return(0,ce.deepMerge)(r,t)}function p(e,t){var n=t.shape,i=e.shape.points,r=i.length,o=n.points.length;if(o>r){var s=i.slice(-1)[0],l=new Array(o-r).fill(0).map((function(e){return(0,a.default)(s)}));i.push.apply(i,(0,a.default)(l))}else o1&&void 0!==arguments[1]?arguments[1]:{},n=t.series;n||(n=[]);var i=(0,ce.initNeedSeries)(n,Kt.gaugeConfig,"gauge");i=v(i=m(i=g(i=p(i=f(i=h(i=d(i=c(i=u(i=l(i,e),e),e)))))))),(0,tn.doUpdate)({chart:e,series:i,key:"gaugeAxisTick",getGraphConfig:y}),(0,tn.doUpdate)({chart:e,series:i,key:"gaugeAxisLabel",getGraphConfig:_}),(0,tn.doUpdate)({chart:e,series:i,key:"gaugeBackgroundArc",getGraphConfig:M,getStartGraphConfig:k}),(0,tn.doUpdate)({chart:e,series:i,key:"gaugeArc",getGraphConfig:I,getStartGraphConfig:E,beforeChange:D}),(0,tn.doUpdate)({chart:e,series:i,key:"gaugePointer",getGraphConfig:L,getStartGraphConfig:z}),(0,tn.doUpdate)({chart:e,series:i,key:"gaugeDetails",getGraphConfig:B})};var n=Q(_t),i=Q(ie),r=Q(se),a=Q(ne);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e){for(var t=1;tt[0]?"right":"left",textBaseline:a>t[1]?"bottom":"top"}}));e.labelPosition=s,e.labelAlign=l})),e}function g(e,t){return e.forEach((function(e){var t=e.axisLabel,n=e.min,r=e.max,a=e.splitNum,o=t.data,s=t.formatter,l=(r-n)/(a-1),u=new Array(a).fill(0).map((function(e,t){return parseInt(n+l*t)})),c=(0,i.default)(s);o=(0,ce.deepMerge)(u,o).map((function(e,t){var n=e;return"string"===c&&(n=s.replace("{value}",e)),"function"===c&&(n=s({value:e,index:t})),n})),t.data=o})),e}function m(e,t){return e.forEach((function(e){var t=e.data,n=e.details,i=e.center,o=n.position,s=n.offset,l=t.map((function(e){var t=e.startAngle,n=e.endAngle,l=e.radius,u=null;return"center"===o?u=i:"start"===o?u=le.getCircleRadianPoint.apply(void 0,(0,a.default)(i).concat([l,t])):"end"===o&&(u=le.getCircleRadianPoint.apply(void 0,(0,a.default)(i).concat([l,n]))),function(e,t){var n=(0,r.default)(e,2),i=n[0],a=n[1],o=(0,r.default)(t,2),s=o[0],l=o[1];return[i+s,a+l]}(u,s)}));e.detailsPosition=l})),e}function v(e,t){return e.forEach((function(e){var t=e.data,n=e.details.formatter,r=(0,i.default)(n),a=t.map((function(e){var t=e.value;return"string"===r&&(t=(t=n.replace("{value}","{nt}")).replace("{name}",e.name)),"function"===r&&(t=n(e)),t.toString()}));e.detailsContent=a})),e}function y(e){var t=e.tickPosition,n=e.animationCurve,i=e.animationFrame,r=e.rLevel;return t.map((function(t,a){return{name:"polyline",index:r,visible:e.axisTick.show,animationCurve:n,animationFrame:i,shape:x(e,a),style:b(e)}}))}function x(e,t){return{points:e.tickPosition[t]}}function b(e,t){return e.axisTick.style}function _(e){var t=e.labelPosition,n=e.animationCurve,i=e.animationFrame,r=e.rLevel;return t.map((function(t,a){return{name:"text",index:r,visible:e.axisLabel.show,animationCurve:n,animationFrame:i,shape:w(e,a),style:S(e,a)}}))}function w(e,t){var n=e.labelPosition;return{content:e.axisLabel.data[t].toString(),position:n[t]}}function S(e,t){var n=e.labelAlign,i=e.axisLabel.style;return(0,ce.deepMerge)(s({},n[t]),i)}function M(e){var t=e.animationCurve,n=e.animationFrame;return[{name:"arc",index:e.rLevel,visible:e.backgroundArc.show,animationCurve:t,animationFrame:n,shape:C(e),style:T(e)}]}function C(e){var t=e.startAngle,n=e.endAngle,i=e.center,r=e.radius;return{rx:i[0],ry:i[1],r:r,startAngle:t,endAngle:n}}function T(e){var t=e.backgroundArc,n=e.arcLineWidth,i=t.style;return(0,ce.deepMerge)({lineWidth:n},i)}function k(e){var t=M(e)[0],n=s({},t.shape);return n.endAngle=t.shape.startAngle,t.shape=n,[t]}function I(e){var t=e.data,n=e.animationCurve,i=e.animationFrame,r=e.rLevel;return t.map((function(t,a){return{name:"agArc",index:r,animationCurve:n,animationFrame:i,shape:A(e,a),style:P(e,a)}}))}function A(e,t){var n=e.data,i=e.center,r=e.endAngle,a=n[t],o=a.radius,s=a.startAngle,l=a.endAngle;return a.localGradient&&(r=l),{rx:i[0],ry:i[1],r:o,startAngle:s,endAngle:l,gradientEndAngle:r}}function P(e,t){var n=e.data,i=e.dataItemStyle,r=n[t],a=r.lineWidth,o=r.gradient;return o=o.map((function(e){return(0,Be.getRgbaValue)(e)})),(0,ce.deepMerge)({lineWidth:a,gradient:o},i)}function E(e){var t=I(e);return t.map((function(e){var t=s({},e.shape);t.endAngle=e.shape.startAngle,e.shape=t})),t}function D(e,t){var n=e.style.gradient,i=n.length,r=t.style.gradient.length;if(i>r)n.splice(r);else{var o=n.slice(-1)[0];n.push.apply(n,(0,a.default)(new Array(r-i).fill(0).map((function(e){return(0,a.default)(o)}))))}}function L(e){var t=e.animationCurve,n=e.animationFrame,i=e.center;return[{name:"polyline",index:e.rLevel,visible:e.pointer.show,animationCurve:t,animationFrame:n,shape:O(e),style:N(e),setGraphCenter:function(e,t){t.style.graphCenter=i}}]}function O(e){return{points:R(e.center),close:!0}}function N(e){var t=e.startAngle,n=e.endAngle,i=e.min,r=e.max,a=e.data,o=e.pointer,s=e.center,l=o.valueIndex,u=o.style,c=((a[l]?a[l].value:0)-i)/(r-i)*(n-t)+t+Math.PI/2;return(0,ce.deepMerge)({rotate:(0,ce.radianToAngle)(c),scale:[1,1],graphCenter:s},u)}function R(e){var t=(0,r.default)(e,2),n=t[0],i=t[1];return[[n,i-40],[n+5,i],[n,i+10],[n-5,i]]}function z(e){var t=e.startAngle,n=L(e)[0];return n.style.rotate=(0,ce.radianToAngle)(t+Math.PI/2),[n]}function B(e){var t=e.detailsPosition,n=e.animationCurve,i=e.animationFrame,r=e.rLevel,a=e.details.show;return t.map((function(t,o){return{name:"numberText",index:r,visible:a,animationCurve:n,animationFrame:i,shape:F(e,o),style:V(e,o)}}))}function F(e,t){var n=e.detailsPosition,i=e.detailsContent,r=e.data,a=e.details,o=n[t],s=i[t];return{number:[r[t].value],content:s,position:o,toFixed:a.valueToFixed}}function V(e,t){var n=e.details,i=e.data,r=n.style,a=i[t].color;return(0,ce.deepMerge)({fill:a},r)}}));a(dn);dn.gauge;var hn=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.legend=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.legend;n=n?[n=l(n=s(n=o(n=a(n=(0,ce.deepMerge)((0,le.deepClone)($t.legendConfig,!0),n)),t,e),e),e)]:[];(0,tn.doUpdate)({chart:e,series:n,key:"legendIcon",getGraphConfig:d}),(0,tn.doUpdate)({chart:e,series:n,key:"legendText",getGraphConfig:p})};var n=Q(_t),i=Q(se),r=Q(ie);function a(e){var t=e.data;return e.data=t.map((function(e){var t=(0,r.default)(e);return"string"===t?{name:e}:"object"===t?e:{name:""}})),e}function o(e,t,n){var i=t.series,r=n.legendStatus,a=e.data.filter((function(e){var t=e.name,n=i.find((function(e){var n=e.name;return t===n}));return!!n&&(e.color||(e.color=n.color),e.icon||(e.icon=n.type),e)}));return r&&r.length===e.data.length||(r=new Array(e.data.length).fill(!0)),a.forEach((function(e,t){return e.status=r[t]})),e.data=a,n.legendStatus=r,e}function s(e,t){var n=t.render.ctx,i=e.data,r=e.textStyle,a=e.textUnselectedStyle;return i.forEach((function(e){var t=e.status,i=e.name;e.textWidth=function(e,t,n){return e.font=function(e){var t=e.fontFamily,n=e.fontSize;return"".concat(n,"px ").concat(t)}(n),e.measureText(t).width}(n,i,t?r:a)})),e}function l(e,t){return"vertical"===e.orient?function(e,t){var n=function(e,t){var n=e.left,i=e.right,r=t.render.area[0],a=[n,i].findIndex((function(e){return"auto"!==e}));if(-1===a)return[!0,r-10];var o=[n,i][a];return"number"!==typeof o&&(o=parseInt(o)/100*r),[Boolean(a),o]}(e,t),r=(0,i.default)(n,2),a=r[0],o=r[1],s=function(e,t){var n=e.iconHeight,i=e.itemGap,r=e.data,a=e.top,o=e.bottom,s=t.render.area[1],l=r.length,u=l*n+(l-1)*i,c=[a,o].findIndex((function(e){return"auto"!==e}));if(-1===c)return(s-u)/2;var d=[a,o][c];return"number"!==typeof d&&(d=parseInt(d)/100*s),1===c&&(d=s-d-u),d}(e,t);!function(e,t){var n=e.data,i=e.iconWidth,r=e.iconHeight,a=e.itemGap,o=r/2;n.forEach((function(e,n){var s=e.textWidth,l=(r+a)*n+o,u=t?0-i:0,c=t?u-5-s:i+5;e.iconPosition=[u,l],e.textPosition=[c,l]}))}(e,a);var l={textAlign:"left",textBaseline:"middle"};e.data.forEach((function(e){var t=e.textPosition,n=e.iconPosition;e.textPosition=c(t,[o,s]),e.iconPosition=c(n,[o,s]),e.align=l}))}(e,t):function(e,t){var n=e.iconHeight,i=e.itemGap,r=function(e,t){var n=e.data,i=e.iconWidth,r=t.render.area[0],a=0,o=[[]];return n.forEach((function(t,n){var s=u(a,n,e);s+i+5+t.textWidth>=r&&(s=u(a=n,n,e),o.push([])),t.iconPosition=[s,0],t.textPosition=[s+i+5,0],o.slice(-1)[0].push(t)})),o}(e,t),a=r.map((function(n){return function(e,t,n){var i=t.left,r=t.right,a=t.iconWidth,o=t.itemGap,s=n.render.area[0],l=e.length,u=(0,ce.mulAdd)(e.map((function(e){return e.textWidth})))+l*(5+a)+(l-1)*o,c=[i,r].findIndex((function(e){return"auto"!==e}));return-1===c?(s-u)/2:0===c?"number"===typeof i?i:parseInt(i)/100*s:("number"!==typeof r&&(r=parseInt(r)/100*s),s-(u+r))}(n,e,t)})),o=function(e,t){var n=e.top,i=e.bottom,r=e.iconHeight,a=t.render.area[1],o=[n,i].findIndex((function(e){return"auto"!==e})),s=r/2;if(-1===o){var l=t.gridArea,u=l.y,c=l.h;return u+c+45-s}return 0===o?"number"===typeof n?n-s:parseInt(n)/100*a-s:("number"!==typeof i&&(i=parseInt(i)/100*a),a-i-s)}(e,t),s={textAlign:"left",textBaseline:"middle"};r.forEach((function(e,t){return e.forEach((function(e){var r=e.iconPosition,l=e.textPosition,u=a[t],d=o+t*(i+n);e.iconPosition=c(r,[u,d]),e.textPosition=c(l,[u,d]),e.align=s}))}))}(e,t),e}function u(e,t,n){var i=n.data,r=n.iconWidth,a=n.itemGap,o=i.slice(e,t);return(0,ce.mulAdd)(o.map((function(e){return e.textWidth})))+(t-e)*(a+5+r)}function c(e,t){var n=(0,i.default)(e,2),r=n[0],a=n[1],o=(0,i.default)(t,2);return[r+o[0],a+o[1]]}function d(e,t){var i=e.data,r=e.selectAble,a=e.animationCurve,o=e.animationFrame,s=e.rLevel;return i.map((function(i,l){return(0,n.default)({name:"line"===i.icon?"lineIcon":"rect",index:s,visible:e.show,hover:r,click:r,animationCurve:a,animationFrame:o,shape:h(e,l),style:f(e,l)},"click",y(e,l,t))}))}function h(e,t){var n=e.data,r=e.iconWidth,a=e.iconHeight,o=(0,i.default)(n[t].iconPosition,2);return{x:o[0],y:o[1]-a/2,w:r,h:a}}function f(e,t){var n=e.data,i=e.iconStyle,r=e.iconUnselectedStyle,a=n[t],o=a.status,s=a.color,l=o?i:r;return(0,ce.deepMerge)({fill:s},l)}function p(e,t){var n=e.data,i=e.selectAble,r=e.animationCurve,a=e.animationFrame,o=e.rLevel;return n.map((function(n,s){return{name:"text",index:o,visible:e.show,hover:i,animationCurve:r,animationFrame:a,hoverRect:v(e,s),shape:g(e,s),style:m(e,s),click:y(e,s,t)}}))}function g(e,t){var n=e.data[t],i=n.textPosition;return{content:n.name,position:i}}function m(e,t){var n=e.textStyle,i=e.textUnselectedStyle,r=e.data[t],a=r.status,o=r.align,s=a?n:i;return(0,ce.deepMerge)((0,le.deepClone)(s,!0),o)}function v(e,t){var n=e.textStyle,r=e.textUnselectedStyle,a=e.data[t],o=a.status,s=(0,i.default)(a.textPosition,2),l=s[0],u=s[1],c=a.textWidth,d=(o?n:r).fontSize;return[l,u-d/2,c,d]}function y(e,t,n){var i=e.data[t].name;return function(){var e=n.chart,r=e.legendStatus,a=e.option,o=!r[t];a.series.find((function(e){return e.name===i})).show=o,r[t]=o,n.chart.setOption(a)}}}));a(hn);hn.legend;var fn=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"mergeColor",{enumerable:!0,get:function(){return en.mergeColor}}),Object.defineProperty(t,"title",{enumerable:!0,get:function(){return nn.title}}),Object.defineProperty(t,"grid",{enumerable:!0,get:function(){return rn.grid}}),Object.defineProperty(t,"axis",{enumerable:!0,get:function(){return an.axis}}),Object.defineProperty(t,"line",{enumerable:!0,get:function(){return on.line}}),Object.defineProperty(t,"bar",{enumerable:!0,get:function(){return sn.bar}}),Object.defineProperty(t,"pie",{enumerable:!0,get:function(){return ln.pie}}),Object.defineProperty(t,"radarAxis",{enumerable:!0,get:function(){return un.radarAxis}}),Object.defineProperty(t,"radar",{enumerable:!0,get:function(){return cn.radar}}),Object.defineProperty(t,"gauge",{enumerable:!0,get:function(){return dn.gauge}}),Object.defineProperty(t,"legend",{enumerable:!0,get:function(){return hn.legend}})}));a(fn);var pn=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=Q(ie),i=Q(bt),r=Q(Nt),a=function e(t){if((0,i.default)(this,e),!t)return console.error("Charts Missing parameters!"),!1;var n=t.clientWidth,a=t.clientHeight,o=document.createElement("canvas");o.setAttribute("width",n),o.setAttribute("height",a),t.appendChild(o);var s={container:t,canvas:o,render:new r.default(o),option:null};Object.assign(this,s)};t.default=a,a.prototype.setOption=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e||"object"!==(0,n.default)(e))return console.error("setOption Missing parameters!"),!1;t&&this.render.graphs.forEach((function(e){return e.animationEnd()}));var i=(0,le.deepClone)(e,!0);(0,fn.mergeColor)(this,i),(0,fn.grid)(this,i),(0,fn.axis)(this,i),(0,fn.radarAxis)(this,i),(0,fn.title)(this,i),(0,fn.bar)(this,i),(0,fn.line)(this,i),(0,fn.pie)(this,i),(0,fn.radar)(this,i),(0,fn.gauge)(this,i),(0,fn.legend)(this,i),this.option=e,this.render.launchAnimation()},a.prototype.resize=function(){var e=this.container,t=this.canvas,n=this.render,i=this.option,r=e.clientWidth,a=e.clientHeight;t.setAttribute("width",r),t.setAttribute("height",a),n.area=[r,a],this.setOption(i)}}));a(pn);var gn=a(o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"changeDefaultConfig",{enumerable:!0,get:function(){return $t.changeDefaultConfig}}),t.default=void 0;var n=Q(pn).default;t.default=n})));F(".dv-charts-container {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.dv-charts-container .charts-canvas-container {\n width: 100%;\n height: 100%;\n}\n");var mn=Object(i.forwardRef)((function(e,t){var n=e.option,a=void 0===n?{}:n,o=e.className,s=e.style,l=Y(t),u=l.width,c=l.height,d=l.domRef,h=Object(i.useRef)(null),f=Object(i.useRef)(null);Object(i.useEffect)((function(){f.current||(f.current=new gn(h.current)),f.current.setOption(a||{},!0)}),[a]),Object(i.useEffect)((function(){f.current.resize()}),[u,c]);var p=Object(i.useMemo)((function(){return q("dv-charts-container",o)}),[o]);return r.a.createElement("div",{className:p,style:s,ref:d},r.a.createElement("div",{className:"charts-canvas-container",ref:h}))}));mn.propTypes={option:B.object,className:B.string,style:B.object},mn.defaultProps={option:{}};F(".dv-digital-flop canvas {\n width: 100%;\n height: 100%;\n}\n");var vn={number:[],content:"",toFixed:0,textAlign:"center",style:{fontSize:30,fill:"#3de7c9"},animationCurve:"easeOutCubic",animationFrame:50},yn=function(e){var t=e.config,n=void 0===t?{}:t,a=e.className,o=e.style,s=Object(i.useRef)(null),l=Object(i.useRef)(null),u=Object(i.useRef)(null);function c(e){var t=e.number,n=e.content,i=e.toFixed,r=e.textAlign,a=H(l.current.area,2),o=a[0],s=[o/2,a[1]/2];return"left"===r&&(s[0]=0),"right"===r&&(s[0]=o),{number:t,content:n,toFixed:i,position:s}}function d(e){var t=e.style,n=e.textAlign;return de(t,{textAlign:n,textBaseline:"middle"})}Object(i.useEffect)((function(){var e=de(ue(vn,!0),n||{});l.current||(l.current=new Rt(s.current),u.current=function(e){var t=e.animationCurve,n=e.animationFrame;return l.current.add({name:"numberText",animationCurve:t,animationFrame:n,shape:c(e),style:d(e)})}(e));var t=u.current;t.animationEnd();var i=c(e);t.shape.number.length!==i.number.length&&(t.shape.number=i.number);var r=e.animationCurve,a=e.animationFrame;Object.assign(t,{animationCurve:r,animationFrame:a}),t.animation("style",d(e),!0),t.animation("shape",i)}),[n]);var h=Object(i.useMemo)((function(){return q("dv-digital-flop",a)}),[a]);return r.a.createElement("div",{className:h,style:o},r.a.createElement("canvas",{ref:s}))};yn.propTypes={config:B.object,className:B.string,style:B.object},yn.defaultProps={config:{}};var xn=yn,bn=n(11),_n=n.n(bn);F(".dv-active-ring-chart {\n position: relative;\n}\n.dv-active-ring-chart .active-ring-chart-container {\n width: 100%;\n height: 100%;\n}\n.dv-active-ring-chart .active-ring-info {\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0px;\n top: 0px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n.dv-active-ring-chart .active-ring-info .dv-digital-flop {\n width: 100px;\n height: 30px;\n}\n.dv-active-ring-chart .active-ring-info .active-ring-name {\n width: 100px;\n height: 30px;\n color: #fff;\n text-align: center;\n vertical-align: middle;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}\n");var wn={radius:"50%",activeRadius:"55%",data:[{name:"",value:0}],lineWidth:20,activeTimeGap:3e3,color:[],digitalFlopStyle:{fontSize:25,fill:"#fff"},digitalFlopToFixed:0,animationCurve:"easeOutCubic",animationFrame:50},Sn=function(e){var t=e.config,n=void 0===t?{}:t,a=e.className,o=e.style,s=Object(i.useState)({activeIndex:0,mergedConfig:null}),l=H(s,2),u=l[0],c=u.activeIndex,d=u.mergedConfig,h=l[1],f=Object(i.useRef)(null),p=Object(i.useRef)(null),g=Object(i.useMemo)((function(){if(!d)return{};var e=d.digitalFlopStyle,t=d.digitalFlopToFixed,n=d.data.map((function(e){return e.value})),i=n.reduce((function(e,t){return e+t}),0);return{content:"{nt}%",number:[parseFloat(n[c]/i*100)||0],style:e,toFixed:t}}),[d,c]),m=Object(i.useMemo)((function(){return d?d.data[c].name:""}),[d,c]),v=Object(i.useMemo)((function(){return d?{fontSize:d.digitalFlopStyle.fontSize+"px"}:{}}),[d]);function y(e){var t=x(e),n=W({},e,{data:e.data.map((function(e){return W({},e,{radius:t})}))});return{series:[W({type:"pie"},n,{outsideLabel:{show:!1}})],color:n.color}}function x(e){var t=e.radius,n=e.activeRadius,i=e.lineWidth,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=Math.min.apply(Math,U(p.current.render.area))/2,o=i/2,s=r?n:t;"number"!==typeof s&&(s=parseInt(s)/100*a);var l=s-o,u=s+o;return[l,u]}function b(e,t){var n=x(e),i=x(e,!0),r=y(e);return W({},r,{series:r.series.reduce((function(e,r,a){return[].concat(U(e),0!==a?[r]:[W({},r,{data:r.data.map((function(e,r){return W({},e,{radius:r===t?i:n})}))})])}),[])})}Object(i.useEffect)((function(){var e=_n.a.mark(r);p.current||(p.current=new gn(f.current));var t=de(ue(wn,!0),n||{});p.current.setOption(y(t),!0);var i=0;function r(){var n,r=this;return _n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=_n.a.mark((function e(){var n,a,o,s;return _n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h({mergedConfig:t,activeIndex:i}),n=b(t,i),p.current.setOption(n,!0),a=n.series[0],o=a.activeTimeGap,s=a.data,e.next=6,new Promise((function(e){return setTimeout(e,o)}));case 6:(i+=1)>=s.length&&(i=0);case 8:case"end":return e.stop()}}),e,r)}));case 1:return e.delegateYield(n(),"t0",3);case 3:e.next=1;break;case 5:case"end":return e.stop()}}),e,this)}return j(r)}),[n]);var _=Object(i.useMemo)((function(){return q("dv-active-ring-chart",a)}),[a]);return r.a.createElement("div",{className:_,style:o},r.a.createElement("div",{className:"active-ring-chart-container",ref:f}),r.a.createElement("div",{className:"active-ring-info"},r.a.createElement(xn,{config:g}),r.a.createElement("div",{className:"active-ring-name",style:v},m)))};Sn.propTypes={config:B.object,className:B.string,style:B.object},Sn.defaultProps={config:{}};F(".dv-capsule-chart {\n position: relative;\n display: flex;\n flex-direction: row;\n box-sizing: border-box;\n padding: 10px;\n color: #fff;\n}\n.dv-capsule-chart .label-column {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n box-sizing: border-box;\n padding-right: 10px;\n text-align: right;\n font-size: 12px;\n}\n.dv-capsule-chart .label-column div {\n height: 20px;\n line-height: 20px;\n}\n.dv-capsule-chart .capsule-container {\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n.dv-capsule-chart .capsule-item {\n box-shadow: 0 0 3px #999;\n height: 10px;\n margin: 5px 0px;\n border-radius: 5px;\n}\n.dv-capsule-chart .capsule-item div {\n height: 8px;\n margin-top: 1px;\n border-radius: 5px;\n transition: all 0.3s;\n}\n.dv-capsule-chart .unit-label {\n height: 20px;\n font-size: 12px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n}\n.dv-capsule-chart .unit-text {\n text-align: right;\n display: flex;\n align-items: flex-end;\n font-size: 12px;\n line-height: 20px;\n margin-left: 10px;\n}\n");var Mn={data:[],colors:["#37a2da","#32c5e9","#67e0e3","#9fe6b8","#ffdb5c","#ff9f7f","#fb7293"],unit:""},Cn=function(e){var t=e.config,n=void 0===t?{}:t,a=e.className,o=e.style,s=Object(i.useState)({mergedConfig:null,labelData:[],capsuleLength:[]}),l=H(s,2),u=l[0],c=u.mergedConfig,d=u.labelData,h=u.capsuleLength,f=l[1];Object(i.useEffect)((function(){var e=de(ue(Mn,!0),n||{}),t=e.data;if(t.length){var i=t.map((function(e){return e.value})),r=Math.max.apply(Math,U(i)),a=r/5;f({mergedConfig:e,capsuleLength:i.map((function(e){return r?e/r:0})),labelData:[].concat(U(new Set(new Array(6).fill(0).map((function(e,t){return Math.ceil(t*a)})))))})}}),[n]);var p=Object(i.useMemo)((function(){return q("dv-capsule-chart",a)}),[a]);return r.a.createElement("div",{className:p,style:o},!!c&&r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{className:"label-column"},c.data.map((function(e){var t=e.name;return r.a.createElement("div",{key:t},t)})),r.a.createElement("div",null,"\xa0")),r.a.createElement("div",{className:"capsule-container"},h.map((function(e,t){return r.a.createElement("div",{className:"capsule-item",key:t},r.a.createElement("div",{style:{width:100*e+"%",backgroundColor:""+c.colors[t%c.colors.length]}}))})),r.a.createElement("div",{className:"unit-label"},d.map((function(e,t){return r.a.createElement("div",{key:e+t},e)})))),!!c.unit&&r.a.createElement("div",{className:"unit-text"},c.unit)))};Cn.propTypes={config:B.object,className:B.string,style:B.object},Cn.defaultProps={config:{}};F(".dv-water-pond-level {\n position: relative;\n}\n.dv-water-pond-level svg {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n}\n.dv-water-pond-level text {\n font-size: 25px;\n font-weight: bold;\n text-anchor: middle;\n dominant-baseline: middle;\n}\n.dv-water-pond-level ellipse,\n.dv-water-pond-level rect {\n fill: none;\n stroke-width: 3;\n}\n.dv-water-pond-level canvas {\n margin-top: 8px;\n margin-left: 8px;\n width: calc(100% - 16px);\n height: calc(100% - 16px);\n box-sizing: border-box;\n}\n");var Tn=_n.a.mark(En),kn={data:[],shape:"rect",waveNum:3,waveHeight:40,waveOpacity:.4,colors:["#3DE7C9","#00BAFF"],formatter:"{value}%"};function In(e,t){var n=e.shape.points,i=t.ctx,r=t.area,a=n[0],o=n.slice(-1)[0],s=r[1];i.lineTo(o[0],s),i.lineTo(a[0],s),i.closePath(),i.fill()}function An(e,t){var n=e.waveNum,i=e.waveHeight,r=e.data,a=H(t,2),o=a[0],s=a[1],l=4*n+4,u=o/n/2;return r.map((function(e){var t=new Array(l).fill(0).map((function(t,n){var r=(1-e/100)*s;return[o-u*n,n%2===0?r:r-i]}));return{points:t=t.map((function(e){return function(e,t){var n=H(e,2),i=n[0],r=n[1],a=H(t,2);return[i+a[0],r+a[1]]}(e,[2*u,0])}))}}))}function Pn(e,t){var n=t.area,i=An(e,n),r=function(e,t){var n=e.colors,i=e.waveOpacity;return{gradientColor:n,gradientType:"linear",gradientParams:[0,0,0,t[1]],gradientWith:"fill",opacity:i,translate:[0,0]}}(e,n);return i.map((function(e){return t.add({name:"smoothline",animationFrame:300,shape:e,style:r,drawed:In})}))}function En(e,t){return _n.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e.forEach((function(e){e.attr("style",{translate:[0,0]}),e.animation("style",{translate:[t.area[0],0]},!0)})),n.next=3,t.launchAnimation();case 3:case"end":return n.stop()}}),Tn,this)}var Dn=function(e){var t=e.config,n=e.className,a=e.style,o=Object(i.useState)(null),s=H(o,2),l=s[0],u=s[1],c=Object(i.useRef)("water-level-pond-"+Date.now()).current,d=Object(i.useRef)(null),h=Object(i.useMemo)((function(){return de(ue(kn,!0),t)}),[t]),f=Object(i.useMemo)((function(){return function(e){var t=e.colors,n=100/(t.length-1);return t.map((function(e,t){return[n*t,e]}))}(h)}),[h]),p=Object(i.useMemo)((function(){return function(e){var t=e.data,n=e.formatter;if(!t.length)return"";var i=Math.max.apply(Math,U(t));return n.replace("{value}",i)}(h)}),[h]),g=Object(i.useMemo)((function(){var e=h.shape;return"round"===e?"50%":"rect"===e?"0":"roundRect"===e?"10px":"0"}),[h]),m=Object(i.useMemo)((function(){return h.shape||"rect"}),[h]);Object(i.useEffect)((function(){var e=_n.a.mark(n),t=l;function n(){var n;return _n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new Promise((function(e){return setTimeout(e,30)}));case 2:n=Pn(h,t);case 3:return e.delegateYield(En(n,t),"t0",5);case 5:if(t.graphs.length){e.next=7;break}return e.abrupt("return");case 7:e.next=3;break;case 9:case"end":return e.stop()}}),e,this)}l||(t=new Rt(d.current),u(t));var i=j(n);return function(){t.delAllGraph(),t.graphs.forEach((function(e){return e.pauseAnimation()})),t.animationStatus=!1,i()}}),[h]);var v=Object(i.useMemo)((function(){return q("dv-water-pond-level",n)}),[n]);return r.a.createElement("div",{className:v,style:a},!!l&&r.a.createElement("svg",null,r.a.createElement("defs",null,r.a.createElement("linearGradient",{id:c,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},f.map((function(e){return r.a.createElement("stop",{key:e[0],offset:e[0],stopColor:e[1]})})))),r.a.createElement("text",{stroke:"url(#"+c+")",fill:"url(#"+c+")",x:l.area[0]/2+8,y:l.area[1]/2+8},p),m&&"round"!==m?r.a.createElement("rect",{x:"2",y:"2",rx:"roundRect"===m?10:0,ry:"roundRect"===m?10:0,width:l.area[0]+12,height:l.area[1]+12,stroke:"url(#"+c+")"}):r.a.createElement("ellipse",{cx:l.area[0]/2+8,cy:l.area[1]/2+8,rx:l.area[0]/2+5,ry:l.area[1]/2+5,stroke:"url(#"+c+")"})),r.a.createElement("canvas",{ref:d,style:{borderRadius:""+g}}))};Dn.propTypes={config:B.object,className:B.string,style:B.object},Dn.defaultProps={config:{}};F(".dv-percent-pond {\n position: relative;\n display: flex;\n flex-direction: column;\n}\n.dv-percent-pond svg {\n position: absolute;\n left: 0px;\n top: 0px;\n width: 100%;\n height: 100%;\n}\n.dv-percent-pond polyline {\n transition: all 0.3s;\n}\n.dv-percent-pond text {\n font-size: 25px;\n font-weight: bold;\n text-anchor: middle;\n dominant-baseline: middle;\n}\n");var Ln={value:0,colors:["#3DE7C9","#00BAFF"],borderWidth:3,borderGap:3,lineDash:[5,1],textColor:"#fff",borderRadius:5,localGradient:!1,formatter:"{value}%"},On=function(e){var t=e.config,n=void 0===t?{}:t,a=e.className,o=e.style,s=Object(i.useRef)(null),l=Object(i.useRef)({gradientId1:"percent-pond-gradientId1-"+Date.now(),gradientId2:"percent-pond-gradientId2-"+Date.now()}).current,u=l.gradientId1,c=l.gradientId2,d=Object(i.useState)({width:0,height:0,mergedConfig:null}),h=H(d,2),f=h[0],p=f.width,g=f.height,m=f.mergedConfig,v=h[1],y=Object(i.useMemo)((function(){if(!m)return 0;var e=m.borderWidth;return p-e}),[m,p]),x=Object(i.useMemo)((function(){if(!m)return 0;var e=m.borderWidth;return g-e}),[m,g]),b=Object(i.useMemo)((function(){var e=g/2;if(!m)return"0, "+e+" 0, "+e;var t=m.borderWidth,n=m.borderGap,i=m.value;return"\n "+(t+n)+", "+e+"\n "+(t+n+(p-2*(t+n))/100*i)+", "+(e+.001)+"\n "}),[m,p,g]),_=Object(i.useMemo)((function(){if(!m)return 0;var e=m.borderWidth,t=m.borderGap;return g-2*(e+t)}),[m,g]),w=Object(i.useMemo)((function(){if(!m)return[];var e=m.colors,t=100/(e.length-1);return e.map((function(e,n){return[t*n,e]}))}),[m]),S=Object(i.useMemo)((function(){return m&&m.localGradient?u:c}),[u,c,m]),M=Object(i.useMemo)((function(){return m?200-m.value+"%":"100%"}),[m]),C=Object(i.useMemo)((function(){if(!m)return"";var e=m.value;return m.formatter.replace("{value}",e)}),[m]);Object(i.useEffect)((function(){var e=s.current,t=e.clientWidth,i=e.clientHeight;v({width:t,height:i,mergedConfig:de(ue(Ln,!0),n||{})})}),[n]);var T=Object(i.useMemo)((function(){return q("dv-percent-pond",a)}),[a]);return r.a.createElement("div",{className:T,style:o,ref:s},r.a.createElement("svg",null,r.a.createElement("defs",null,r.a.createElement("linearGradient",{id:u,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},w.map((function(e){return r.a.createElement("stop",{key:e[0],offset:e[0]+"%",stopColor:e[1]})}))),r.a.createElement("linearGradient",{id:c,x1:"0%",y1:"0%",x2:M,y2:"0%"},w.map((function(e){return r.a.createElement("stop",{key:e[0],offset:e[0]+"%",stopColor:e[1]})})))),r.a.createElement("rect",{x:m?m.borderWidth/2:"0",y:m?m.borderWidth/2:"0",rx:m?m.borderRadius:"0",ry:m?m.borderRadius:"0",fill:"transparent",strokeWidth:m?m.borderWidth:"0",stroke:"url(#"+u+")",width:y>0?y:0,height:x>0?x:0}),r.a.createElement("polyline",{strokeWidth:_,strokeDasharray:m?m.lineDash.join(","):"0",stroke:"url(#"+S+")",points:b}),r.a.createElement("text",{stroke:m?m.textColor:"#fff",fill:m?m.textColor:"#fff",x:p/2,y:g/2},C)))};On.propTypes={config:B.object,className:B.string,style:B.object},On.defaultProps={config:{}};F(".dv-flyline-chart {\n display: flex;\n flex-direction: column;\n background-size: 100% 100%;\n}\n.dv-flyline-chart polyline {\n transition: all 0.3s;\n}\n.dv-flyline-chart text {\n text-anchor: middle;\n dominant-baseline: middle;\n}\n");var Nn={centerPoint:[0,0],points:[],lineWidth:1,orbitColor:"rgba(103, 224, 227, .2)",flylineColor:"#ffde93",k:-.5,curvature:5,flylineRadius:100,duration:[20,30],relative:!0,bgImgUrl:"",text:{offset:[0,15],color:"#ffdb5c",fontSize:12},halo:{show:!0,duration:30,color:"#fb7293",radius:120},centerPointImg:{width:40,height:40,url:""},pointsImg:{width:15,height:15,url:""}};var Rn=Object(i.forwardRef)((function(e,t){var n=e.config,a=void 0===n?{}:n,o=e.dev,s=void 0!==o&&o,l=e.className,u=e.style,c=Y(t),d=c.width,h=c.height,f=c.domRef,p=Object(i.useRef)({unique:Math.random(),gradientId:"gradient-id-"+Date.now(),gradient2Id:"gradient2-id-"+Date.now()}).current,g=p.unique,m=p.gradientId,v=p.gradient2Id,y=Object(i.useMemo)((function(){var e=function(){var e=de(ue(Nn,!0),a||{});return e.points=e.points.map((function(e){return Array.isArray(e)?{position:e,text:""}:e})),e}(),t=function(e){var t=e.centerPoint,n=e.relative,i=e.points.map((function(e){return e.position}));n&&(t=[d*t[0],h*t[1]],i=i.map((function(e){var t=H(e,2),n=t[0],i=t[1];return[d*n,h*i]})));return i.map((function(n){return[n,function(e,t,n){var i=H(e,2),r=i[0],a=i[1],o=H(t,2),s=o[0],l=o[1],u=n.curvature,c=n.k,d=(r+s)/2,h=(a+l)/2,f=G([r,a],[s,l])/u,p=f/2,g=d,m=h;do{m=h-c*d+c*(g+=p)}while(G([d,h],[g,m])i?-1:n'+(t+1)+"";return e.unshift(n),e})));var a=(t=t.map((function(e,t){return{ceils:e,rowIndex:t}}))).length;return a>r&&a<2*r&&(t=[].concat(U(t),U(t))),t.map((function(e,t){return W({},e,{scroll:t})}))}(e),i=C(e,S.current.rowsData),r=T(e,t),o={mergedConfig:e,header:t,rows:n,widths:i,aligns:function(e,t){var n=t.length,i=new Array(n).fill("left"),r=e.align;return de(i,r)}(e,t),heights:r};Object.assign(S.current,o,{rowsData:n,animationIndex:0}),m((function(e){return W({},e,o)}))}function C(e,t){var n=e.columnWidth,i=e.header,r=n.reduce((function(e,t){return e+t}),0),a=0;t[0]?a=t[0].ceils.length:i.length&&(a=i.length);var o=(c-r)/(a-n.length),s=new Array(a).fill(o);return de(s,n)}function T(e,t){var n=e.headerHeight,i=e.rowNum,r=e.data,a=d;t.length&&(a-=n);var o=a/i;return Object.assign(S.current,{avgHeight:o}),new Array(r.length).fill(o)}function k(){var e,t,n,i,r,a,o,s,u,c,d,h,f,p,g=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _n.a.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(e=S.current,t=e.avgHeight,n=e.animationIndex,i=e.mergedConfig,r=i.waitTime,a=i.carousel,o=i.rowNum,s=e.rowsData,u=s.length,!g){l.next=5;break}return l.next=5,new Promise((function(e){return setTimeout(e,r)}));case 5:return c="single"===a?1:o,(d=s.slice(n)).push.apply(d,U(s.slice(0,n))),h=new Array(u).fill(t),m((function(e){return W({},e,{rows:d,heights:h})})),l.next=12,new Promise((function(e){return setTimeout(e,300)}));case 12:(f=(n+=c)-u)>=0&&(n=f),(p=[].concat(U(h))).splice.apply(p,[0,c].concat(U(new Array(c).fill(0)))),Object.assign(S.current,{animationIndex:n}),m((function(e){return W({},e,{heights:p})}));case 19:case"end":return l.stop()}}),l,this)}function I(e,t,i,r){var a=i.ceils,o=i.rowIndex;n&&n({row:a,ceil:r,rowIndex:o,columnIndex:t})}Object.assign(S.current,g);Object(i.useEffect)((function(){var e=_n.a.mark(n);M();var t=!0;function n(){var n,i=this;return _n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=_n.a.mark((function e(){var n;return _n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(k(t),"t0",1);case 1:return t=!1,n=S.current.mergedConfig.waitTime,e.next=5,new Promise((function(e){return setTimeout(e,n-300)}));case 5:case"end":return e.stop()}}),e,i)}));case 1:return e.delegateYield(n(),"t0",3);case 3:e.next=1;break;case 5:case"end":return e.stop()}}),e,this)}var i=S.current;if(!(i.mergedConfig.rowNum>=i.rows.length))return j(n)}),[a,h.current]),Object(i.useEffect)((function(){if(v){var e={widths:C(v,S.current.rowsData),heights:T(v,y)};Object.assign(S.current,e),m((function(t){return W({},t,e)}))}}),[c,d,h.current]);var A=Object(i.useMemo)((function(){return q("dv-scroll-board",o)}),[o]);return r.a.createElement("div",{className:A,style:s,ref:h},!!y.length&&!!v&&r.a.createElement("div",{className:"header",style:{backgroundColor:""+v.headerBGC}},y.map((function(e,t){return r.a.createElement("div",{className:"header-item",key:e+t,style:{height:v.headerHeight+"px",lineHeight:v.headerHeight+"px",width:b[t]+"px"},align:w[t],dangerouslySetInnerHTML:{__html:e}})}))),!!v&&r.a.createElement("div",{className:"rows",style:{height:d-(y.length?v.headerHeight:0)+"px"}},x.map((function(e,t){return r.a.createElement("div",{className:"row-item",key:e.toString()+e.scroll,style:{height:_[t]+"px",lineHeight:_[t]+"px",backgroundColor:""+(n=e.rowIndex,v[n%2===0?"evenRowBGC":"oddRowBGC"])}},e.ceils.map((function(n,i){return r.a.createElement("div",{className:"ceil",key:n+t+i,style:{width:b[i]+"px"},align:w[i],dangerouslySetInnerHTML:{__html:n},onClick:function(){return I(0,i,e,n)}})})));var n}))))}));Wn.propTypes={config:B.object,onClick:B.func,className:B.string,style:B.object},Wn.defaultProps={config:{}};var Hn=Wn;F(".dv-scroll-ranking-board {\n width: 100%;\n height: 100%;\n color: #fff;\n overflow: hidden;\n}\n.dv-scroll-ranking-board .row-item {\n transition: all 0.3s;\n display: flex;\n flex-direction: column;\n justify-content: center;\n overflow: hidden;\n}\n.dv-scroll-ranking-board .ranking-info {\n display: flex;\n width: 100%;\n font-size: 13px;\n}\n.dv-scroll-ranking-board .ranking-info .rank {\n width: 40px;\n color: #1370fb;\n}\n.dv-scroll-ranking-board .ranking-info .info-name {\n flex: 1;\n}\n.dv-scroll-ranking-board .ranking-column {\n border-bottom: 2px solid rgba(19, 112, 251, 0.5);\n margin-top: 5px;\n}\n.dv-scroll-ranking-board .ranking-column .inside-column {\n position: relative;\n height: 6px;\n background-color: #1370fb;\n margin-bottom: 2px;\n border-radius: 1px;\n overflow: hidden;\n}\n.dv-scroll-ranking-board .ranking-column .shine {\n position: absolute;\n left: 0%;\n top: 2px;\n height: 2px;\n width: 50px;\n transform: translateX(-100%);\n background: radial-gradient(#28f8ff 5%, transparent 80%);\n animation: shine 3s ease-in-out infinite alternate;\n}\n@keyframes shine {\n 80% {\n left: 0%;\n transform: translateX(-100%);\n }\n 100% {\n left: 100%;\n transform: translateX(0%);\n }\n}\n");var Un={data:[],rowNum:5,waitTime:2e3,carousel:"single",unit:"",sort:!0};var Yn=Object(i.forwardRef)((function(e,t){var n=e.config,a=e.className,o=e.style,s=_n.a.mark(M),l=Y(t),u=l.width,c=l.height,d=l.domRef,h=Object(i.useState)({mergedConfig:null,rows:[],heights:[]}),f=H(h,2),p=f[0],g=f[1],m=p.mergedConfig,v=p.rows,y=p.heights,x=Object(i.useRef)(W({},p,{rowsData:[],avgHeight:0,animationIndex:0})),b=Object(i.useRef)(c);function _(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(m){var t=S(m,e);void 0!==t&&(Object.assign(x.current,{heights:t}),g((function(e){return W({},e,{heights:t})})))}}function w(){var e=de(ue(Un,!0),n||{}),t=function(e){var t=e.data,n=e.rowNum;e.sort&&t.sort((function(e,t){var n=e.value,i=t.value;return n>i?-1:nn&&a<2*n&&(t=[].concat(U(t),U(t))),t=t.map((function(e,t){return W({},e,{scroll:t})}))}(e),i=S(e),r={mergedConfig:e,rows:t};void 0!==i&&Object.assign(r,{heights:i}),Object.assign(x.current,r,{rowsData:t,animationIndex:0}),g((function(e){return W({},e,r)}))}function S(e){var t=e.rowNum,n=e.data,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=c/t;if(Object.assign(x.current,{avgHeight:r}),!i)return new Array(n.length).fill(r)}function M(){var e,t,n,i,r,a,o,l,u,c,d,h,f,p,m=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _n.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(e=x.current,t=e.avgHeight,n=e.animationIndex,i=e.mergedConfig,r=i.waitTime,a=i.carousel,o=i.rowNum,l=e.rowsData,u=l.length,!m){s.next=5;break}return s.next=5,new Promise((function(e){return setTimeout(e,r)}));case 5:return c="single"===a?1:o,(d=l.slice(n)).push.apply(d,U(l.slice(0,n))),h=new Array(u).fill(t),g((function(e){return W({},e,{rows:d,heights:h})})),s.next=12,new Promise((function(e){return setTimeout(e,300)}));case 12:(f=(n+=c)-u)>=0&&(n=f),(p=[].concat(U(h))).splice.apply(p,[0,c].concat(U(new Array(c).fill(0)))),Object.assign(x.current,{animationIndex:n}),g((function(e){return W({},e,{heights:p})}));case 19:case"end":return s.stop()}}),s,this)}Object.assign(x.current,p),Object(i.useEffect)((function(){var e=_n.a.mark(n);w();var t=!0;function n(){var n,i=this;return _n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=_n.a.mark((function e(){var n;return _n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(M(t),"t0",1);case 1:return t=!1,n=x.current.mergedConfig.waitTime,e.next=5,new Promise((function(e){return setTimeout(e,n-300)}));case 5:case"end":return e.stop()}}),e,i)}));case 1:return e.delegateYield(n(),"t0",3);case 3:e.next=1;break;case 5:case"end":return e.stop()}}),e,this)}var i=x.current;if(!(i.mergedConfig.rowNum>=i.rows.length))return j(n)}),[n,d.current]),Object(i.useEffect)((function(){0===b.current&&0!==c?(_(),b.current=c):_(!0)}),[u,c,d.current]);var C=Object(i.useMemo)((function(){return q("dv-scroll-ranking-board",a)}),[a]);return r.a.createElement("div",{className:C,style:o,ref:d},v.map((function(e,t){return r.a.createElement("div",{className:"row-item",key:e.toString()+e.scroll,style:{height:y[t]+"px"}},r.a.createElement("div",{className:"ranking-info"},r.a.createElement("div",{className:"rank"},"No.",e.ranking),r.a.createElement("div",{className:"info-name",dangerouslySetInnerHTML:{__html:e.name}}),r.a.createElement("div",{className:"ranking-value"},e.value+m.unit)),r.a.createElement("div",{className:"ranking-column"},r.a.createElement("div",{className:"inside-column",style:{width:e.percent+"%"}},r.a.createElement("div",{className:"shine"}))))})))}));Yn.propTypes={config:B.object,className:B.string,style:B.object},Yn.defaultProps={config:{}};var Zn=Yn;F(".dv-decoration-11 {\n position: relative;\n width: 100%;\n height: 100%;\n display: flex;\n}\n.dv-decoration-11 .decoration-content {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n");var qn=["#1a98fc","#2cf7fe"];Object(i.forwardRef)((function(e,t){var n=e.children,a=e.className,o=e.style,s=e.color,l=void 0===s?[]:s,u=Y(t),c=u.width,d=u.height,h=u.domRef,f=Object(i.useMemo)((function(){return de(ue(qn,!0),l||[])}),[l]),p=Object(i.useMemo)((function(){return q("dv-decoration-11",a)}),[a]);return r.a.createElement("div",{className:p,style:o,ref:h},r.a.createElement("svg",{width:c,height:d},r.a.createElement("polygon",{fill:Fe(f[1]||qn[1],10),stroke:f[1],points:"20 10, 25 4, 55 4 60 10"}),r.a.createElement("polygon",{fill:Fe(f[1]||qn[1],10),stroke:f[1],points:"20 "+(d-10)+", 25 "+(d-4)+", 55 "+(d-4)+" 60 "+(d-10)}),r.a.createElement("polygon",{fill:Fe(f[1]||qn[1],10),stroke:f[1],points:c-20+" 10, "+(c-25)+" 4, "+(c-55)+" 4 "+(c-60)+" 10"}),r.a.createElement("polygon",{fill:Fe(f[1]||qn[1],10),stroke:f[1],points:c-20+" "+(d-10)+", "+(c-25)+" "+(d-4)+", "+(c-55)+" "+(d-4)+" "+(c-60)+" "+(d-10)}),r.a.createElement("polygon",{fill:Fe(f[0]||qn[0],20),stroke:f[0],points:"\n 20 10, 5 "+d/2+" 20 "+(d-10)+"\n "+(c-20)+" "+(d-10)+" "+(c-5)+" "+d/2+" "+(c-20)+" 10\n "}),r.a.createElement("polyline",{fill:"transparent",stroke:Fe(f[0]||qn[0],70),points:"25 18, 15 "+d/2+" 25 "+(d-18)}),r.a.createElement("polyline",{fill:"transparent",stroke:Fe(f[0]||qn[0],70),points:c-25+" 18, "+(c-15)+" "+d/2+" "+(c-25)+" "+(d-18)})),r.a.createElement("div",{className:"decoration-content"},n))})).propTypes={children:B.node,className:B.string,style:B.object,color:B.array}},function(e,t,n){var i=n(38);t.Dispatcher=i;var r=n(13),a=n(126),o=a.isCanvasEl,s=a.transformCoordWithViewport,l="undefined"!==typeof window&&!!window.addEventListener,u=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,c=[];function d(e,t,n,i){return n=n||{},i||!r.canvasSupported?h(e,t,n):r.browser.firefox&&null!=t.layerX&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):null!=t.offsetX?(n.zrX=t.offsetX,n.zrY=t.offsetY):h(e,t,n),n}function h(e,t,n){if(r.domSupported&&e.getBoundingClientRect){var i=t.clientX,a=t.clientY;if(o(e)){var l=e.getBoundingClientRect();return n.zrX=i-l.left,void(n.zrY=a-l.top)}if(s(c,e,i,a))return n.zrX=c[0],void(n.zrY=c[1])}n.zrX=n.zrY=0}function f(e){return e||window.event}var p=l?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0};t.clientToLocal=d,t.getNativeEvent=f,t.normalizeEvent=function(e,t,n){if(null!=(t=f(t)).zrX)return t;var i=t.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?t.targetTouches[0]:t.changedTouches[0];r&&d(e,r,t,n)}else d(e,t,t,n),t.zrDelta=t.wheelDelta?t.wheelDelta/120:-(t.detail||0)/3;var a=t.button;return null==t.which&&void 0!==a&&u.test(t.type)&&(t.which=1&a?1:2&a?3:4&a?2:0),t},t.addEventListener=function(e,t,n,i){l?e.addEventListener(t,n,i):e.attachEvent("on"+t,n)},t.removeEventListener=function(e,t,n,i){l?e.removeEventListener(t,n,i):e.detachEvent("on"+t,n)},t.stop=p,t.isMiddleOrRightButtonOnMouseUpDown=function(e){return 2===e.which||3===e.which},t.notLeftMouse=function(e){return e.which>1}},function(e,t,n){var i=n(129),r={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 a(e){return(e=Math.round(e))<0?0:e>255?255:e}function o(e){return e<0?0:e>1?1:e}function s(e){return e.length&&"%"===e.charAt(e.length-1)?a(parseFloat(e)/100*255):a(parseInt(e,10))}function l(e){return e.length&&"%"===e.charAt(e.length-1)?o(parseFloat(e)/100):o(parseFloat(e))}function u(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function c(e,t,n){return e+(t-e)*n}function d(e,t,n,i,r){return e[0]=t,e[1]=n,e[2]=i,e[3]=r,e}function h(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var f=new i(20),p=null;function g(e,t){p&&h(p,t),p=f.put(e,p||t.slice())}function m(e,t){if(e){t=t||[];var n=f.get(e);if(n)return h(t,n);var i,a=(e+="").replace(/ /g,"").toLowerCase();if(a in r)return h(t,r[a]),g(e,t),t;if("#"===a.charAt(0))return 4===a.length?(i=parseInt(a.substr(1),16))>=0&&i<=4095?(d(t,(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,1),g(e,t),t):void d(t,0,0,0,1):7===a.length?(i=parseInt(a.substr(1),16))>=0&&i<=16777215?(d(t,(16711680&i)>>16,(65280&i)>>8,255&i,1),g(e,t),t):void d(t,0,0,0,1):void 0;var o=a.indexOf("("),u=a.indexOf(")");if(-1!==o&&u+1===a.length){var c=a.substr(0,o),p=a.substr(o+1,u-(o+1)).split(","),m=1;switch(c){case"rgba":if(4!==p.length)return void d(t,0,0,0,1);m=l(p.pop());case"rgb":return 3!==p.length?void d(t,0,0,0,1):(d(t,s(p[0]),s(p[1]),s(p[2]),m),g(e,t),t);case"hsla":return 4!==p.length?void d(t,0,0,0,1):(p[3]=l(p[3]),v(p,t),g(e,t),t);case"hsl":return 3!==p.length?void d(t,0,0,0,1):(v(p,t),g(e,t),t);default:return}}d(t,0,0,0,1)}}function v(e,t){var n=(parseFloat(e[0])%360+360)%360/360,i=l(e[1]),r=l(e[2]),o=r<=.5?r*(i+1):r+i-r*i,s=2*r-o;return d(t=t||[],a(255*u(s,o,n+1/3)),a(255*u(s,o,n)),a(255*u(s,o,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function y(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var i=e*(t.length-1),r=Math.floor(i),s=Math.ceil(i),l=t[r],u=t[s],d=i-r;return n[0]=a(c(l[0],u[0],d)),n[1]=a(c(l[1],u[1],d)),n[2]=a(c(l[2],u[2],d)),n[3]=o(c(l[3],u[3],d)),n}}var x=y;function b(e,t,n){if(t&&t.length&&e>=0&&e<=1){var i=e*(t.length-1),r=Math.floor(i),s=Math.ceil(i),l=m(t[r]),u=m(t[s]),d=i-r,h=w([a(c(l[0],u[0],d)),a(c(l[1],u[1],d)),a(c(l[2],u[2],d)),o(c(l[3],u[3],d))],"rgba");return n?{color:h,leftIndex:r,rightIndex:s,value:i}:h}}var _=b;function w(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}t.parse=m,t.lift=function(e,t){var n=m(e);if(n){for(var i=0;i<3;i++)n[i]=t<0?n[i]*(1-t)|0:(255-n[i])*t+n[i]|0,n[i]>255?n[i]=255:e[i]<0&&(n[i]=0);return w(n,4===n.length?"rgba":"rgb")}},t.toHex=function(e){var t=m(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)},t.fastLerp=y,t.fastMapToColor=x,t.lerp=b,t.mapToColor=_,t.modifyHSL=function(e,t,n,i){if(e=m(e))return e=function(e){if(e){var t,n,i=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(i,r,a),s=Math.max(i,r,a),l=s-o,u=(s+o)/2;if(0===l)t=0,n=0;else{n=u<.5?l/(s+o):l/(2-s-o);var c=((s-i)/6+l/2)/l,d=((s-r)/6+l/2)/l,h=((s-a)/6+l/2)/l;i===s?t=h-d:r===s?t=1/3+c-h:a===s&&(t=2/3+d-c),t<0&&(t+=1),t>1&&(t-=1)}var f=[360*t,n,u];return null!=e[3]&&f.push(e[3]),f}}(e),null!=t&&(e[0]=(r=t,(r=Math.round(r))<0?0:r>360?360:r)),null!=n&&(e[1]=l(n)),null!=i&&(e[2]=l(i)),w(v(e),"rgba");var r},t.modifyAlpha=function(e,t){if((e=m(e))&&null!=t)return e[3]=o(t),w(e,"rgba")},t.stringify=w},function(e,t,n){var i=n(1).each,r=n(39),a=n(60),o=n(29),s=n(5),l=n(3),u=n(98).createTask,c=n(50),d=s.makeInner(),h=c();function f(){this.group=new r,this.uid=a.getUID("viewChart"),this.renderTask=u({plan:v,reset:y}),this.renderTask.context={view:this}}f.prototype={type:"chart",init:function(e,t){},render:function(e,t,n,i){},highlight:function(e,t,n,i){m(e.getData(),i,"emphasis")},downplay:function(e,t,n,i){m(e.getData(),i,"normal")},remove:function(e,t){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var p=f.prototype;function g(e,t,n){if(e&&(e.trigger(t,n),e.isGroup&&!l.isHighDownDispatcher(e)))for(var i=0,r=e.childCount();i-1e-8&&e<1e-8}function f(e){return e>1e-8||e<-1e-8}function p(e,t,n,i,r){var a=1-r;return a*a*(a*e+3*r*t)+r*r*(r*i+3*a*n)}function g(e,t,n,i){var r=1-i;return r*(r*e+2*i*t)+i*i*n}t.cubicAt=p,t.cubicDerivativeAt=function(e,t,n,i,r){var a=1-r;return 3*(((t-e)*a+2*(n-t)*r)*a+(i-n)*r*r)},t.cubicRootAt=function(e,t,n,i,r,a){var u=i+3*(t-n)-e,c=3*(n-2*t+e),d=3*(t-e),f=e-r,p=c*c-3*u*d,g=c*d-9*u*f,m=d*d-3*c*f,v=0;if(h(p)&&h(g)){if(h(c))a[0]=0;else(I=-d/c)>=0&&I<=1&&(a[v++]=I)}else{var y=g*g-4*p*m;if(h(y)){var x=g/p,b=-x/2;(I=-c/u+x)>=0&&I<=1&&(a[v++]=I),b>=0&&b<=1&&(a[v++]=b)}else if(y>0){var _=s(y),w=p*c+1.5*u*(-g+_),S=p*c+1.5*u*(-g-_);(I=(-c-((w=w<0?-o(-w,1/3):o(w,1/3))+(S=S<0?-o(-S,1/3):o(S,1/3))))/(3*u))>=0&&I<=1&&(a[v++]=I)}else{var M=(2*p*c-3*u*g)/(2*s(p*p*p)),C=Math.acos(M)/3,T=s(p),k=Math.cos(C),I=(-c-2*T*k)/(3*u),A=(b=(-c+T*(k+l*Math.sin(C)))/(3*u),(-c+T*(k-l*Math.sin(C)))/(3*u));I>=0&&I<=1&&(a[v++]=I),b>=0&&b<=1&&(a[v++]=b),A>=0&&A<=1&&(a[v++]=A)}}return v},t.cubicExtrema=function(e,t,n,i,r){var a=6*n-12*t+6*e,o=9*t+3*i-3*e-9*n,l=3*t-3*e,u=0;if(h(o)){if(f(a))(d=-l/a)>=0&&d<=1&&(r[u++]=d)}else{var c=a*a-4*o*l;if(h(c))r[0]=-a/(2*o);else if(c>0){var d,p=s(c),g=(-a-p)/(2*o);(d=(-a+p)/(2*o))>=0&&d<=1&&(r[u++]=d),g>=0&&g<=1&&(r[u++]=g)}}return u},t.cubicSubdivide=function(e,t,n,i,r,a){var o=(t-e)*r+e,s=(n-t)*r+t,l=(i-n)*r+n,u=(s-o)*r+o,c=(l-s)*r+s,d=(c-u)*r+u;a[0]=e,a[1]=o,a[2]=u,a[3]=d,a[4]=d,a[5]=c,a[6]=l,a[7]=i},t.cubicProjectPoint=function(e,t,n,i,r,o,l,h,f,g,m){var v,y,x,b,_,w=.005,S=1/0;u[0]=f,u[1]=g;for(var M=0;M<1;M+=.05)c[0]=p(e,n,r,l,M),c[1]=p(t,i,o,h,M),(b=a(u,c))=0&&b=0&&d<=1&&(r[u++]=d)}else{var c=o*o-4*a*l;if(h(c))(d=-o/(2*a))>=0&&d<=1&&(r[u++]=d);else if(c>0){var d,p=s(c),g=(-o-p)/(2*a);(d=(-o+p)/(2*a))>=0&&d<=1&&(r[u++]=d),g>=0&&g<=1&&(r[u++]=g)}}return u},t.quadraticExtremum=function(e,t,n){var i=e+n-2*t;return 0===i?.5:(e-t)/i},t.quadraticSubdivide=function(e,t,n,i,r){var a=(t-e)*i+e,o=(n-t)*i+t,s=(o-a)*i+a;r[0]=e,r[1]=a,r[2]=s,r[3]=s,r[4]=o,r[5]=n},t.quadraticProjectPoint=function(e,t,n,i,r,o,l,h,f){var p,m=.005,v=1/0;u[0]=l,u[1]=h;for(var y=0;y<1;y+=.05){c[0]=g(e,n,r,y),c[1]=g(t,i,o,y),(w=a(u,c))=0&&w=0?d():c=setTimeout(d,-r),l=i};return h.clear=function(){c&&(clearTimeout(c),c=null)},h.debounceNextCall=function(e){s=e},h}t.throttle=r,t.createOrUpdate=function(e,t,a,o){var s=e[t];if(s){var l=s[n]||s,u=s["\0__throttleType"];if(s[i]!==a||u!==o){if(null==a||!o)return e[t]=l;(s=e[t]=r(l,a,"debounce"===o))[n]=l,s["\0__throttleType"]=o,s[i]=a}return s}},t.clear=function(e,t){var i=e[t];i&&i[n]&&(e[t]=i[n])}},function(e,t){e.exports={legend:{selector:{all:"\u5168\u9009",inverse:"\u53cd\u9009"}},toolbox:{brush:{title:{rect:"\u77e9\u5f62\u9009\u62e9",polygon:"\u5708\u9009",lineX:"\u6a2a\u5411\u9009\u62e9",lineY:"\u7eb5\u5411\u9009\u62e9",keep:"\u4fdd\u6301\u9009\u62e9",clear:"\u6e05\u9664\u9009\u62e9"}},dataView:{title:"\u6570\u636e\u89c6\u56fe",lang:["\u6570\u636e\u89c6\u56fe","\u5173\u95ed","\u5237\u65b0"]},dataZoom:{title:{zoom:"\u533a\u57df\u7f29\u653e",back:"\u533a\u57df\u7f29\u653e\u8fd8\u539f"}},magicType:{title:{line:"\u5207\u6362\u4e3a\u6298\u7ebf\u56fe",bar:"\u5207\u6362\u4e3a\u67f1\u72b6\u56fe",stack:"\u5207\u6362\u4e3a\u5806\u53e0",tiled:"\u5207\u6362\u4e3a\u5e73\u94fa"}},restore:{title:"\u8fd8\u539f"},saveAsImage:{title:"\u4fdd\u5b58\u4e3a\u56fe\u7247",lang:["\u53f3\u952e\u53e6\u5b58\u4e3a\u56fe\u7247"]}},series:{typeNames:{pie:"\u997c\u56fe",bar:"\u67f1\u72b6\u56fe",line:"\u6298\u7ebf\u56fe",scatter:"\u6563\u70b9\u56fe",effectScatter:"\u6d9f\u6f2a\u6563\u70b9\u56fe",radar:"\u96f7\u8fbe\u56fe",tree:"\u6811\u56fe",treemap:"\u77e9\u5f62\u6811\u56fe",boxplot:"\u7bb1\u578b\u56fe",candlestick:"K\u7ebf\u56fe",k:"K\u7ebf\u56fe",heatmap:"\u70ed\u529b\u56fe",map:"\u5730\u56fe",parallel:"\u5e73\u884c\u5750\u6807\u56fe",lines:"\u7ebf\u56fe",graph:"\u5173\u7cfb\u56fe",sankey:"\u6851\u57fa\u56fe",funnel:"\u6f0f\u6597\u56fe",gauge:"\u4eea\u8868\u76d8\u56fe",pictorialBar:"\u8c61\u5f62\u67f1\u56fe",themeRiver:"\u4e3b\u9898\u6cb3\u6d41\u56fe",sunburst:"\u65ed\u65e5\u56fe"}},aria:{general:{withTitle:"\u8fd9\u662f\u4e00\u4e2a\u5173\u4e8e\u201c{title}\u201d\u7684\u56fe\u8868\u3002",withoutTitle:"\u8fd9\u662f\u4e00\u4e2a\u56fe\u8868\uff0c"},series:{single:{prefix:"",withName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\uff0c\u8868\u793a{seriesName}\u3002",withoutName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\u3002"},multiple:{prefix:"\u5b83\u7531{seriesCount}\u4e2a\u56fe\u8868\u7cfb\u5217\u7ec4\u6210\u3002",withName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a\u8868\u793a{seriesName}\u7684{seriesType}\uff0c",withoutName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a{seriesType}\uff0c",separator:{middle:"\uff1b",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636e\u662f\u2014\u2014",partialData:"\u5176\u4e2d\uff0c\u524d{displayCnt}\u9879\u662f\u2014\u2014",withName:"{name}\u7684\u6570\u636e\u662f{value}",withoutName:"{value}",separator:{middle:"\uff0c",end:""}}}}},function(e,t,n){var i=n(1),r=i.each,a=i.map,o=n(4),s=o.linearMap,l=o.getPixelPrecision,u=o.round,c=n(267),d=c.createAxisTicks,h=c.createAxisLabels,f=c.calculateCategoryInterval,p=[0,1],g=function(e,t,n){this.dim=e,this.scale=t,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function m(e,t){var n=(e[1]-e[0])/t/2;e[0]+=n,e[1]-=n}g.prototype={constructor:g,contain:function(e){var t=this._extent,n=Math.min(t[0],t[1]),i=Math.max(t[0],t[1]);return e>=n&&e<=i},containData:function(e){return this.scale.contain(e)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(e){return l(e||this.scale.getExtent(),this._extent)},setExtent:function(e,t){var n=this._extent;n[0]=e,n[1]=t},dataToCoord:function(e,t){var n=this._extent,i=this.scale;return e=i.normalize(e),this.onBand&&"ordinal"===i.type&&m(n=n.slice(),i.count()),s(e,p,n,t)},coordToData:function(e,t){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&m(n=n.slice(),i.count());var r=s(e,n,p,t);return this.scale.scale(r)},pointToData:function(e,t){},getTicksCoords:function(e){var t=(e=e||{}).tickModel||this.getTickModel(),n=d(this,t).ticks,i=a(n,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this);return function(e,t,n,i){var a=t.length;if(!e.onBand||n||!a)return;var o,s,l=e.getExtent();if(1===a)t[0].coord=l[0],o=t[1]={coord:l[0]};else{var c=t[a-1].tickValue-t[0].tickValue,d=(t[a-1].coord-t[0].coord)/c;r(t,(function(e){e.coord-=d/2}));var h=e.scale.getExtent();s=1+h[1]-t[a-1].tickValue,o={coord:t[a-1].coord+d*s},t.push(o)}var f=l[0]>l[1];p(t[0].coord,l[0])&&(i?t[0].coord=l[0]:t.shift());i&&p(l[0],t[0].coord)&&t.unshift({coord:l[0]});p(l[1],o.coord)&&(i?o.coord=l[1]:t.pop());i&&p(o.coord,l[1])&&t.push({coord:l[1]});function p(e,t){return e=u(e),t=u(t),f?e>t:e0&&e<100||(e=5);var t=this.scale.getMinorTicks(e);return a(t,(function(e){return a(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this)},getViewLabels:function(){return h(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(e[1]-e[0]);return Math.abs(i)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return f(this)}};var v=g;e.exports=v},function(e,t,n){var i=n(1),r=i.retrieve,a=i.defaults,o=i.extend,s=i.each,l=n(8),u=n(3),c=n(14),d=n(4),h=d.isRadianAroundZero,f=d.remRadian,p=n(21).createSymbol,g=n(17),m=n(9).applyTransform,v=n(23).shouldShowAllLabels,y=Math.PI,x=function(e,t){this.opt=t,this.axisModel=e,a(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new u.Group;var n=new u.Group({position:t.position.slice(),rotation:t.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n};x.prototype={constructor:x,hasBuilder:function(e){return!!b[e]},add:function(e){b[e].call(this)},getGroup:function(){return this.group}};var b={axisLine:function(){var e=this.opt,t=this.axisModel;if(t.get("axisLine.show")){var n=this.axisModel.axis.getExtent(),i=this._transform,r=[n[0],0],a=[n[1],0];i&&(m(r,r,i),m(a,a,i));var l=o({lineCap:"round"},t.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new u.Line({anid:"line",subPixelOptimize:!0,shape:{x1:r[0],y1:r[1],x2:a[0],y2:a[1]},style:l,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1}));var c=t.get("axisLine.symbol"),d=t.get("axisLine.symbolSize"),h=t.get("axisLine.symbolOffset")||0;if("number"===typeof h&&(h=[h,h]),null!=c){"string"===typeof c&&(c=[c,c]),"string"!==typeof d&&"number"!==typeof d||(d=[d,d]);var f=d[0],g=d[1];s([{rotate:e.rotation+Math.PI/2,offset:h[0],r:0},{rotate:e.rotation-Math.PI/2,offset:h[1],r:Math.sqrt((r[0]-a[0])*(r[0]-a[0])+(r[1]-a[1])*(r[1]-a[1]))}],(function(t,n){if("none"!==c[n]&&null!=c[n]){var i=p(c[n],-f/2,-g/2,f,g,l.stroke,!0),a=t.r+t.offset,o=[r[0]+a*Math.cos(e.rotation),r[1]-a*Math.sin(e.rotation)];i.attr({rotation:t.rotate,position:o,silent:!0,z2:11}),this.group.add(i)}}),this)}}},axisTickLabel:function(){var e=this.axisModel,t=this.opt,n=function(e,t,n){var i=t.axis,r=t.getModel("axisTick");if(!r.get("show")||i.scale.isBlank())return;for(var o=r.getModel("lineStyle"),s=n.tickDirection*r.get("length"),l=k(i.getTicksCoords(),e._transform,s,a(o.getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")}),"ticks"),u=0;ug[1]?-1:1,v=["start"===s?g[0]-m*p:"end"===s?g[1]+m*p:(g[0]+g[1])/2,T(s)?e.labelOffset+c*p:0],x=t.get("nameRotate");null!=x&&(x=x*y/180),T(s)?i=w(e.rotation,null!=x?x:e.rotation,c):(i=function(e,t,n,i){var r,a,o=f(n-e.rotation),s=i[0]>i[1],l="start"===t&&!s||"start"!==t&&s;h(o-y/2)?(a=l?"bottom":"top",r="center"):h(o-1.5*y)?(a=l?"top":"bottom",r="center"):(a="middle",r=o<1.5*y&&o>y/2?l?"left":"right":l?"right":"left");return{rotation:o,textAlign:r,textVerticalAlign:a}}(e,s,x||0,g),null!=(a=e.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(i.rotation)),!isFinite(a)&&(a=null)));var b=d.getFont(),M=t.get("nameTruncate",!0)||{},C=M.ellipsis,k=r(e.nameTruncateMaxWidth,M.maxWidth,a),I=null!=C&&null!=k?l.truncateText(n,k,b,C,{minChar:2,placeholder:M.placeholder}):n,A=t.get("tooltip",!0),P=t.mainType,E={componentType:P,name:n,$vars:["name"]};E[P+"Index"]=t.componentIndex;var D=new u.Text({anid:"name",__fullText:n,__truncatedText:I,position:v,rotation:i.rotation,silent:S(t),z2:1,tooltip:A&&A.show?o({content:n,formatter:function(){return n},formatterParams:E},A):null});u.setTextStyle(D.style,d,{text:I,textFont:b,textFill:d.getTextColor()||t.get("axisLine.lineStyle.color"),textAlign:d.get("align")||i.textAlign,textVerticalAlign:d.get("verticalAlign")||i.textVerticalAlign}),t.get("triggerEvent")&&(D.eventData=_(t),D.eventData.targetType="axisName",D.eventData.name=n),this._dumbGroup.add(D),D.updateTransform(),this.group.add(D),D.decomposeTransform()}}},_=x.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},w=x.innerTextLayout=function(e,t,n){var i,r,a=f(t-e);return h(a)?(r=n>0?"top":"bottom",i="center"):h(a-y)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=a>0&&a0?"right":"left":n>0?"left":"right"),{rotation:a,textAlign:i,textVerticalAlign:r}};var S=x.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)};function M(e){e&&(e.ignore=!0)}function C(e,t,n){var i=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(i&&r){var a=g.identity([]);return g.rotate(a,a,-e.rotation),i.applyTransform(g.mul([],a,e.getLocalTransform())),r.applyTransform(g.mul([],a,t.getLocalTransform())),i.intersect(r)}}function T(e){return"middle"===e||"center"===e}function k(e,t,n,i,r){for(var a=[],o=[],s=[],l=0;l3&&(r=n.call(r,1));for(var o=t.length,s=0;s4&&(r=n.call(r,1,r.length-1));for(var o=r[r.length-1],s=t.length,l=0;l=0&&(n.splice(i,0,e),this._doAdd(e))}return this},_doAdd:function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__storage,n=this.__zr;t&&t!==e.__storage&&(t.addToStorage(e),e instanceof o&&e.addChildrenToStorage(t)),n&&n.refresh()},remove:function(e){var t=this.__zr,n=this.__storage,r=this._children,a=i.indexOf(r,e);return a<0||(r.splice(a,1),e.parent=null,n&&(n.delFromStorage(e),e instanceof o&&e.delChildrenFromStorage(n)),t&&t.refresh()),this},removeAll:function(){var e,t,n=this._children,i=this.__storage;for(t=0;t=0){var r=n.getData().tree.root,a=e.targetNode;if("string"===typeof a&&(a=r.getNodeById(a)),a&&r.contains(a))return{node:a};var o=e.targetNodeId;if(null!=o&&(a=r.getNodeById(o)))return{node:a}}},t.getPathToRoot=r,t.aboveViewRoot=function(e,t){var n=r(e);return i.indexOf(n,t)>=0},t.wrapTreePathInfo=function(e,t){for(var n=[];e;){var i=e.dataIndex;n.push({name:e.name,dataIndex:i,value:t.getRawValue(i)}),e=e.parentNode}return n.reverse(),n}},function(e,t,n){var i=n(1),r=n(26),a=n(4).linearMap,o=i.each,s=i.isObject,l=function(e){var t=e.mappingMethod,n=e.type,r=this.option=i.clone(e);this.type=n,this.mappingMethod=t,this._normalizeData=x[t];var a=u[n];this.applyVisual=a.applyVisual,this.getColorMapper=a.getColorMapper,this._doMap=a._doMap[t],"piecewise"===t?(c(r),function(e){var t=e.pieceList;e.hasSpecialVisual=!1,i.each(t,(function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)}))}(r)):"category"===t?r.categories?function(e){var t=e.categories,n=e.visual,r=e.categoryMap={};if(o(t,(function(e,t){r[e]=t})),!i.isArray(n)){var a=[];i.isObject(n)?o(n,(function(e,t){var n=r[t];a[null!=n?n:-1]=e})):a[-1]=n,n=y(e,a)}for(var s=t.length-1;s>=0;s--)null==n[s]&&(delete r[t[s]],t.pop())}(r):c(r,!0):(i.assert("linear"!==t||r.dataExtent),c(r))};l.prototype={constructor:l,mapValueToVisual:function(e){var t=this._normalizeData(e);return this._doMap(t,e)},getNormalizer:function(){return i.bind(this._normalizeData,this)}};var u=l.visualHandlers={color:{applyVisual:f("color"),getColorMapper:function(){var e=this.option;return i.bind("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),p.call(this,e)}:function(t,n,i){var a=!!i;return!n&&(t=this._normalizeData(t)),i=r.fastLerp(t,e.parsedVisual,i),a?i:r.stringify(i,"rgba")},this)},_doMap:{linear:function(e){return r.stringify(r.fastLerp(e,this.option.parsedVisual),"rgba")},category:p,piecewise:function(e,t){var n=v.call(this,t);return null==n&&(n=r.stringify(r.fastLerp(e,this.option.parsedVisual),"rgba")),n},fixed:g}},colorHue:d((function(e,t){return r.modifyHSL(e,t)})),colorSaturation:d((function(e,t){return r.modifyHSL(e,null,t)})),colorLightness:d((function(e,t){return r.modifyHSL(e,null,null,t)})),colorAlpha:d((function(e,t){return r.modifyAlpha(e,t)})),opacity:{applyVisual:f("opacity"),_doMap:m([0,1])},liftZ:{applyVisual:f("liftZ"),_doMap:{linear:g,category:g,piecewise:g,fixed:g}},symbol:{applyVisual:function(e,t,n){var r=this.mapValueToVisual(e);if(i.isString(r))n("symbol",r);else if(s(r))for(var a in r)r.hasOwnProperty(a)&&n(a,r[a])},_doMap:{linear:h,category:p,piecewise:function(e,t){var n=v.call(this,t);return null==n&&(n=h.call(this,e)),n},fixed:g}},symbolSize:{applyVisual:f("symbolSize"),_doMap:m([0,1])}};function c(e,t){var n=e.visual,r=[];i.isObject(n)?o(n,(function(e){r.push(e)})):null!=n&&r.push(n);t||1!==r.length||{color:1,symbol:1}.hasOwnProperty(e.type)||(r[1]=r[0]),y(e,r)}function d(e){return{applyVisual:function(t,n,i){t=this.mapValueToVisual(t),i("color",e(n("color"),t))},_doMap:m([0,1])}}function h(e){var t=this.option.visual;return t[Math.round(a(e,[0,1],[0,t.length-1],!0))]||{}}function f(e){return function(t,n,i){i(e,this.mapValueToVisual(t))}}function p(e){var t=this.option.visual;return t[this.option.loop&&-1!==e?e%t.length:e]}function g(){return this.option.visual[0]}function m(e){return{linear:function(t){return a(t,e,this.option.visual,!0)},category:p,piecewise:function(t,n){var i=v.call(this,n);return null==i&&(i=a(t,e,this.option.visual,!0)),i},fixed:g}}function v(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var i=n[l.findPieceIndex(e,n)];if(i&&i.visual)return i.visual[this.type]}}function y(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=i.map(t,(function(e){return r.parse(e)}))),t}var x={linear:function(e){return a(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=l.findPieceIndex(e,t,!0);if(null!=n)return a(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?-1:t},fixed:i.noop};function b(e,t,n){return e?t<=n:t=0||r&&i.indexOf(r,s)<0)){var l=t.getShallow(s);null!=l&&(a[e[o][0]]=l)}}return a}}},function(e,t,n){var i=n(32),r=n(9),a=n(59),o=n(10),s=n(74).devicePixelRatio,l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],c=[],d=[],h=[],f=Math.min,p=Math.max,g=Math.cos,m=Math.sin,v=Math.sqrt,y=Math.abs,x="undefined"!==typeof Float32Array,b=function(e){this._saveData=!e,this._saveData&&(this.data=[]),this._ctx=null};b.prototype={constructor:b,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(e,t,n){n=n||0,this._ux=y(n/s/e)||0,this._uy=y(n/s/t)||0},getContext:function(){return this._ctx},beginPath:function(e){return this._ctx=e,e&&e.beginPath(),e&&(this.dpr=e.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(e,t){return this.addData(l.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},lineTo:function(e,t){var n=y(e-this._xi)>this._ux||y(t-this._yi)>this._uy||this._len<5;return this.addData(l.L,e,t),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(e,t):this._ctx.lineTo(e,t)),n&&(this._xi=e,this._yi=t),this},bezierCurveTo:function(e,t,n,i,r,a){return this.addData(l.C,e,t,n,i,r,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(e,t,n,i,r,a):this._ctx.bezierCurveTo(e,t,n,i,r,a)),this._xi=r,this._yi=a,this},quadraticCurveTo:function(e,t,n,i){return this.addData(l.Q,e,t,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(e,t,n,i):this._ctx.quadraticCurveTo(e,t,n,i)),this._xi=n,this._yi=i,this},arc:function(e,t,n,i,r,a){return this.addData(l.A,e,t,n,n,i,r-i,0,a?0:1),this._ctx&&this._ctx.arc(e,t,n,i,r,a),this._xi=g(r)*n+e,this._yi=m(r)*n+t,this},arcTo:function(e,t,n,i,r){return this._ctx&&this._ctx.arcTo(e,t,n,i,r),this},rect:function(e,t,n,i){return this._ctx&&this._ctx.rect(e,t,n,i),this.addData(l.R,e,t,n,i),this},closePath:function(){this.addData(l.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&(this._needsDash()&&this._dashedLineTo(t,n),e.closePath()),this._xi=t,this._yi=n,this},fill:function(e){e&&e.fill(),this.toStatic()},stroke:function(e){e&&e.stroke(),this.toStatic()},setLineDash:function(e){if(e instanceof Array){this._lineDash=e,this._dashIdx=0;for(var t=0,n=0;nt.length&&(this._expandData(),t=this.data);for(var n=0;n0&&g<=e||c<0&&g>=e||0===c&&(d>0&&m<=t||d<0&&m>=t);)g+=c*(n=o[i=this._dashIdx]),m+=d*n,this._dashIdx=(i+1)%y,c>0&&gl||d>0&&mu||s[i%2?"moveTo":"lineTo"](c>=0?f(g,e):p(g,e),d>=0?f(m,t):p(m,t));c=g-e,d=m-t,this._dashOffset=-v(c*c+d*d)},_dashedBezierTo:function(e,t,n,r,a,o){var s,l,u,c,d,h=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,m=this._xi,y=this._yi,x=i.cubicAt,b=0,_=this._dashIdx,w=p.length,S=0;for(f<0&&(f=h+f),f%=h,s=0;s<1;s+=.1)l=x(m,e,n,a,s+.1)-x(m,e,n,a,s),u=x(y,t,r,o,s+.1)-x(y,t,r,o,s),b+=v(l*l+u*u);for(;_f);_++);for(s=(S-f)/b;s<=1;)c=x(m,e,n,a,s),d=x(y,t,r,o,s),_%2?g.moveTo(c,d):g.lineTo(c,d),s+=p[_]/b,_=(_+1)%w;_%2!==0&&g.lineTo(a,o),l=a-c,u=o-d,this._dashOffset=-v(l*l+u*u)},_dashedQuadraticTo:function(e,t,n,i){var r=n,a=i;n=(n+2*e)/3,i=(i+2*t)/3,e=(this._xi+2*e)/3,t=(this._yi+2*t)/3,this._dashedBezierTo(e,t,n,i,r,a)},toStatic:function(){var e=this.data;e instanceof Array&&(e.length=this._len,x&&(this.data=new Float32Array(e)))},getBoundingRect:function(){u[0]=u[1]=d[0]=d[1]=Number.MAX_VALUE,c[0]=c[1]=h[0]=h[1]=-Number.MAX_VALUE;for(var e=this.data,t=0,n=0,i=0,s=0,f=0;fu||y(o-r)>c||h===d-1)&&(e.lineTo(a,o),i=a,r=o);break;case l.C:e.bezierCurveTo(s[h++],s[h++],s[h++],s[h++],s[h++],s[h++]),i=s[h-2],r=s[h-1];break;case l.Q:e.quadraticCurveTo(s[h++],s[h++],s[h++],s[h++]),i=s[h-2],r=s[h-1];break;case l.A:var p=s[h++],v=s[h++],x=s[h++],b=s[h++],_=s[h++],w=s[h++],S=s[h++],M=s[h++],C=x>b?x:b,T=x>b?1:x/b,k=x>b?b/x:1,I=_+w;Math.abs(x-b)>.001?(e.translate(p,v),e.rotate(S),e.scale(T,k),e.arc(0,0,C,_,I,1-M),e.scale(1/T,1/k),e.rotate(-S),e.translate(-p,-v)):e.arc(p,v,C,_,I,1-M),1===h&&(t=g(_)*x+p,n=m(_)*b+v),i=g(I)*x+p,r=m(I)*b+v;break;case l.R:t=i=s[h],n=r=s[h+1],e.rect(s[h++],s[h++],s[h++],s[h++]);break;case l.Z:e.closePath(),i=t,r=n}}}},b.CMD=l;var _=b;e.exports=_},function(e,t,n){var i=n(5).makeInner;e.exports=function(){var e=i();return function(t){var n=e(t),i=t.pipelineContext,r=n.large,a=n.progressiveRender,o=n.large=i&&i.large,s=n.progressiveRender=i&&i.progressiveRender;return!!(r^o||a^s)&&"reset"}}},function(e,t,n){var i=n(153);e.exports=function(e,t){return i((t=t||{}).coordDimensions||[],e,{dimsDef:t.dimensionsDefine||e.dimensionsDefine,encodeDef:t.encodeDefine||e.encodeDefine,dimCount:t.dimensionsCount,encodeDefaulter:t.encodeDefaulter,generateCoord:t.generateCoord,generateCoordCount:t.generateCoordCount})}},function(e,t,n){var i=n(1),r={getMin:function(e){var t=this.option,n=e||null==t.rangeStart?t.min:t.rangeStart;return this.axis&&null!=n&&"dataMin"!==n&&"function"!==typeof n&&!i.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getMax:function(e){var t=this.option,n=e||null==t.rangeEnd?t.max:t.rangeEnd;return this.axis&&null!=n&&"dataMax"!==n&&"function"!==typeof n&&!i.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var e=this.option;return null==e.rangeStart&&null==e.rangeEnd&&!e.scale},getCoordSysModel:i.noop,setRange:function(e,t){this.option.rangeStart=e,this.option.rangeEnd=t},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};e.exports=r},function(e,t,n){var i=n(51),r=n(20),a=n(1),o=a.extend,s=a.isArray;e.exports=function(e,t,n){t=s(t)&&{coordDimensions:t}||o({},t);var a=e.getSource(),l=i(a,t),u=new r(l,e);return u.initData(a,n),u}},function(e,t){function n(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function i(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}e.exports=function(e,t,r,a,o,s){e=e||0;var l=r[1]-r[0];if(null!=o&&(o=i(o,[0,l])),null!=s&&(s=Math.max(s,null!=o?o:0)),"all"===a){var u=Math.abs(t[1]-t[0]);u=i(u,[0,l]),o=s=i(u,[o,s]),a=0}t[0]=i(t[0],r),t[1]=i(t[1],r);var c=n(t,a);t[a]+=e;var d=o||0,h=r.slice();c.sign<0?h[0]+=d:h[1]-=d,t[a]=i(t[a],h);var f=n(t,a);return null!=o&&(f.sign!==c.sign||f.spans&&(t[1-a]=t[a]+f.sign*s),t}},function(e,t,n){n(6).__DEV__;var i=n(2),r=n(1),a=n(13),o=n(5),s=n(115),l=n(455),u=r.each,c=s.eachAxisDim;function d(e){var t={};return u(["start","end","startValue","endValue","throttle"],(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}function h(e,t){var n=e._rangePropMode,i=e.get("rangeMode");u([["start","startValue"],["end","endValue"]],(function(e,r){var a=null!=t[e[0]],o=null!=t[e[1]];a&&!o?n[r]="percent":!a&&o?n[r]="value":i?n[r]=i[r]:a&&(n[r]="percent")}))}var f=i.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(e,t,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var i=d(e);this.settledOption=i,this.mergeDefaultAndTheme(e,n),this.doInit(i)},mergeOption:function(e){var t=d(e);r.merge(this.option,e,!0),r.merge(this.settledOption,t,!0),this.doInit(t)},doInit:function(e){var t=this.option;a.canvasSupported||(t.realtime=!1),this._setDefaultThrottle(e),h(this,e);var n=this.settledOption;u([["start","startValue"],["end","endValue"]],(function(e,i){"value"===this._rangePropMode[i]&&(t[e[0]]=n[e[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis((function(t,n,i,r){var a=this.dependentModels[t.axis][n],o=a.__dzAxisProxy||(a.__dzAxisProxy=new l(t.name,n,this,r));e[t.name+"_"+n]=o}),this)},_resetTarget:function(){var e=this.option,t=this._judgeAutoMode();c((function(t){var n=t.axisIndex;e[n]=o.normalizeToArray(e[n])}),this),"axisIndex"===t?this._autoSetAxisIndex():"orient"===t&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,t=!1;c((function(n){null!=e[n.axisIndex]&&(t=!0)}),this);var n=e.orient;return null==n&&t?"orient":t?void 0:(null==n&&(e.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var e=!0,t=this.get("orient",!0),n=this.option,i=this.dependentModels;if(e){var a="vertical"===t?"y":"x";i[a+"Axis"].length?(n[a+"AxisIndex"]=[0],e=!1):u(i.singleAxis,(function(i){e&&i.get("orient",!0)===t&&(n.singleAxisIndex=[i.componentIndex],e=!1)}))}e&&c((function(t){if(e){var i=[],r=this.dependentModels[t.axis];if(r.length&&!i.length)for(var a=0,o=r.length;a0?100:20}},getFirstTargetAxisModel:function(){var e;return c((function(t){if(null==e){var n=this.get(t.axisIndex);n.length&&(e=this.dependentModels[t.axis][n[0]])}}),this),e},eachTargetAxis:function(e,t){var n=this.ecModel;c((function(i){u(this.get(i.axisIndex),(function(r){e.call(t,i,r,this,n)}),this)}),this)},getAxisProxy:function(e,t){return this._axisProxies[e+"_"+t]},getAxisModel:function(e,t){var n=this.getAxisProxy(e,t);return n&&n.getAxisModel()},setRawRange:function(e){var t=this.option,n=this.settledOption;u([["start","startValue"],["end","endValue"]],(function(i){null==e[i[0]]&&null==e[i[1]]||(t[i[0]]=n[i[0]]=e[i[0]],t[i[1]]=n[i[1]]=e[i[1]])}),this),h(this,e)},setCalculatedRange:function(e){var t=this.option;u(["start","startValue","end","endValue"],(function(n){t[n]=e[n]}))},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var t=this._axisProxies;for(var n in t)if(t.hasOwnProperty(n)&&t[n].hostedBy(this))return t[n];for(var n in t)if(t.hasOwnProperty(n)&&!t[n].hostedBy(this))return t[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});e.exports=f},function(e,t,n){var i=n(78).extend({type:"dataZoom",render:function(e,t,n,i){this.dataZoomModel=e,this.ecModel=t,this.api=n},getTargetCoordInfo:function(){var e=this.dataZoomModel,t=this.ecModel,n={};return e.eachTargetAxis((function(e,i){var r=t.getComponent(e.axis,i);if(r){var a=r.getCoordSysModel();a&&function(e,t,n,i){for(var r,a=0;a1e-4)return p[0]=e-n,p[1]=t-r,g[0]=e+n,void(g[1]=t+r);if(c[0]=l(a)*n+e,c[1]=s(a)*r+t,d[0]=l(o)*n+e,d[1]=s(o)*r+t,m(p,c,d),v(g,c,d),(a%=u)<0&&(a+=u),(o%=u)<0&&(o+=u),a>o&&!f?o+=u:aa&&(h[0]=l(b)*n+e,h[1]=s(b)*r+t,m(p,h,p),v(g,h,g))}},function(e,t,n){var i=n(1),r=n(29).parseClassType,a=0;t.getUID=function(e){return[e||"",a++,Math.random().toFixed(5)].join("_")},t.enableSubTypeDefaulter=function(e){var t={};return e.registerSubTypeDefaulter=function(e,n){e=r(e),t[e.main]=n},e.determineSubType=function(n,i){var a=i.type;if(!a){var o=r(n).main;e.hasSubTypes(n)&&t[o]&&(a=t[o](i))}return a},e},t.enableTopologicalTravel=function(e,t){function n(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}e.topologicalTravel=function(e,r,a,o){if(e.length){var s=function(e){var r={},a=[];return i.each(e,(function(o){var s=n(r,o),l=function(e,t){var n=[];return i.each(e,(function(e){i.indexOf(t,e)>=0&&n.push(e)})),n}(s.originalDeps=t(o),e);s.entryCount=l.length,0===s.entryCount&&a.push(o),i.each(l,(function(e){i.indexOf(s.predecessor,e)<0&&s.predecessor.push(e);var t=n(r,e);i.indexOf(t.successor,e)<0&&t.successor.push(o)}))})),{graph:r,noEntryList:a}}(r),l=s.graph,u=s.noEntryList,c={};for(i.each(e,(function(e){c[e]=!0}));u.length;){var d=u.pop(),h=l[d],f=!!c[d];f&&(a.call(o,d,h.originalDeps.slice()),delete c[d]),i.each(h.successor,f?g:p)}i.each(c,(function(){throw new Error("Circle dependency may exists")}))}function p(e){l[e].entryCount--,0===l[e].entryCount&&u.push(e)}function g(e){c[e]=!0,p(e)}}}},function(e,t,n){var i=n(1),r=i.createHashMap,a=i.isTypedArray,o=n(29).enableClassCheck,s=n(62),l=s.SOURCE_FORMAT_ORIGINAL,u=s.SERIES_LAYOUT_BY_COLUMN,c=s.SOURCE_FORMAT_UNKNOWN,d=s.SOURCE_FORMAT_TYPED_ARRAY,h=s.SOURCE_FORMAT_KEYED_COLUMNS;function f(e){this.fromDataset=e.fromDataset,this.data=e.data||(e.sourceFormat===h?{}:[]),this.sourceFormat=e.sourceFormat||c,this.seriesLayoutBy=e.seriesLayoutBy||u,this.dimensionsDefine=e.dimensionsDefine,this.encodeDefine=e.encodeDefine&&r(e.encodeDefine),this.startIndex=e.startIndex||0,this.dimensionsDetectCount=e.dimensionsDetectCount}f.seriesDataToSource=function(e){return new f({data:e,sourceFormat:a(e)?d:l,fromDataset:!1})},o(f);var p=f;e.exports=p},function(e,t){t.SOURCE_FORMAT_ORIGINAL="original",t.SOURCE_FORMAT_ARRAY_ROWS="arrayRows",t.SOURCE_FORMAT_OBJECT_ROWS="objectRows",t.SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",t.SOURCE_FORMAT_UNKNOWN="unknown",t.SOURCE_FORMAT_TYPED_ARRAY="typedArray",t.SERIES_LAYOUT_BY_COLUMN="column",t.SERIES_LAYOUT_BY_ROW="row"},function(e,t,n){var i=n(1),r=i.each,a=i.createHashMap,o=(i.assert,n(6).__DEV__,a(["tooltip","label","itemName","itemId","seriesName"]));function s(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}t.OTHER_DIMENSIONS=o,t.summarizeDimensions=function(e){var t={},n=t.encode={},i=a(),l=[],u=[],c=t.userOutput={dimensionNames:e.dimensions.slice(),encode:{}};r(e.dimensions,(function(t){var r,a=e.getDimensionInfo(t),d=a.coordDim;if(d){var h=a.coordDimIndex;s(n,d)[h]=t,a.isExtraCoord||(i.set(d,1),"ordinal"!==(r=a.type)&&"time"!==r&&(l[0]=t),s(c.encode,d)[h]=a.index),a.defaultTooltip&&u.push(t)}o.each((function(e,t){var i=s(n,t),r=a.otherDims[t];null!=r&&!1!==r&&(i[r]=a.name)}))}));var d=[],h={};i.each((function(e,t){var i=n[t];h[t]=i[0],d=d.concat(i)})),t.dataDimsOnCoord=d,t.encodeFirstDimNotExtra=h;var f=n.label;f&&f.length&&(l=f.slice());var p=n.tooltip;return p&&p.length?u=p.slice():u.length||(u=l.slice()),n.defaultedLabel=l,n.defaultedTooltip=u,t},t.getDimensionTypeByAxis=function(e){return"category"===e?"ordinal":"time"===e?"time":"float"}},function(e,t,n){var i=n(3),r=n(82),a=n(1).isObject;function o(e){this.group=new i.Group,this._symbolCtor=e||r}var s=o.prototype;function l(e,t,n,i){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function u(e){return null==e||a(e)||(e={isIgnore:e}),e||{}}function c(e){var t=e.hostModel;return{itemStyle:t.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:t.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:t.get("symbolRotate"),symbolOffset:t.get("symbolOffset"),hoverAnimation:t.get("hoverAnimation"),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label"),cursorStyle:t.get("cursor")}}s.updateData=function(e,t){t=u(t);var n=this.group,r=e.hostModel,a=this._data,o=this._symbolCtor,s=c(e);a||n.removeAll(),e.diff(a).add((function(i){var r=e.getItemLayout(i);if(l(e,r,i,t)){var a=new o(e,i,s);a.attr("position",r),e.setItemGraphicEl(i,a),n.add(a)}})).update((function(u,c){var d=a.getItemGraphicEl(c),h=e.getItemLayout(u);l(e,h,u,t)?(d?(d.updateData(e,u,s),i.updateProps(d,{position:h},r)):(d=new o(e,u)).attr("position",h),n.add(d),e.setItemGraphicEl(u,d)):n.remove(d)})).remove((function(e){var t=a.getItemGraphicEl(e);t&&t.fadeOut((function(){n.remove(t)}))})).execute(),this._data=e},s.isPersistent=function(){return!0},s.updateLayout=function(){var e=this._data;e&&e.eachItemGraphicEl((function(t,n){var i=e.getItemLayout(n);t.attr("position",i)}))},s.incrementalPrepareUpdate=function(e){this._seriesScope=c(e),this._data=null,this.group.removeAll()},s.incrementalUpdate=function(e,t,n){function i(e){e.isGroup||(e.incremental=e.useHoverLayer=!0)}n=u(n);for(var r=e.start;r=0},this.indexOfName=function(t){return e().indexOfName(t)},this.getItemVisual=function(t,n){return e().getItemVisual(t,n)}};e.exports=n},function(e,t){e.exports=function(e){return{seriesType:e,reset:function(e,t){var n=t.findComponents({mainType:"legend"});if(n&&n.length){var i=e.getData();i.filterSelf((function(e){for(var t=i.getName(e),r=0;r3?1.4:r>1?1.2:1.1;f(this,"zoom","zoomOnMouseWheel",e,{scale:i>0?s:1/s,originX:a,originY:o})}if(n){var l=Math.abs(i);f(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:a,originY:o})}}}function h(e){o.isTaken(this._zr,"globalPan")||f(this,"zoom",null,e,{scale:e.pinchScale>1?1.1:1/1.1,originX:e.pinchX,originY:e.pinchY})}function f(e,t,n,i,r){e.pointerChecker&&e.pointerChecker(i,r.originX,r.originY)&&(a.stop(i.event),p(e,t,n,i,r))}function p(e,t,n,r,a){a.isAvailableBehavior=i.bind(g,null,n,r),e.trigger(t,a)}function g(e,t,n){var r=n[e];return!e||r&&(!i.isString(r)||t.event[r+"Key"])}i.mixin(s,r);var m=s;e.exports=m},function(e,t,n){var i=n(2),r=n(1),a=n(84),o=n(406);n(407),n(408),n(189),i.registerPreprocessor((function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!r.isArray(t)&&(e.axisPointer.link=[t])}})),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,(function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=a.collect(e,t)})),i.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},o)},function(e,t,n){var i=n(125),r=n(13),a=n(1),o=n(222),s=n(226),l=n(230),u=n(232),c=n(233),d=!r.canvasSupported,h={canvas:l},f={};var p=function(e,t,n){n=n||{},this.dom=t,this.id=e;var i=this,l=new s,f=n.renderer;if(d){if(!h.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");f="vml"}else f&&h[f]||(f="canvas");var p=new h[f](t,l,n,e);this.storage=l,this.painter=p;var g=r.node||r.worker?null:new c(p.getViewportRoot(),p.root);this.handler=new o(l,p,g,p.root),this.animation=new u({stage:{update:a.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var m=l.delFromStorage,v=l.addToStorage;l.delFromStorage=function(e){m.call(l,e),e&&e.removeSelfFromZr(i)},l.addToStorage=function(e){v.call(l,e),e.addSelfToZr(i)}};p.prototype={constructor:p,getId:function(){return this.id},add:function(e){this.storage.addRoot(e),this._needsRefresh=!0},remove:function(e){this.storage.delRoot(e),this._needsRefresh=!0},configLayer:function(e,t){this.painter.configLayer&&this.painter.configLayer(e,t),this._needsRefresh=!0},setBackgroundColor:function(e){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var e;this._needsRefresh&&(e=!0,this.refreshImmediately()),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately()),e&&this.trigger("rendered")},addHover:function(e,t){if(this.painter.addHover){var n=this.painter.addHover(e,t);return this.refreshHover(),n}},removeHover:function(e){this.painter.removeHover&&(this.painter.removeHover(e),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(e,t){return this.painter.pathToImage(e,t)},setCursorStyle:function(e){this.handler.setCursorStyle(e)},findHover:function(e,t){return this.handler.findHover(e,t)},on:function(e,t,n){this.handler.on(e,t,n)},off:function(e,t){this.handler.off(e,t)},trigger:function(e,t){this.handler.trigger(e,t)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){var e;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,e=this.id,delete f[e]}},t.version="4.3.1",t.init=function(e,t){var n=new p(i(),e,t);return f[n.id]=n,n},t.dispose=function(e){if(e)e.dispose();else{for(var t in f)f.hasOwnProperty(t)&&f[t].dispose();f={}}return this},t.getInstance=function(e){return f[e]},t.registerPainter=function(e,t){h[e]=t}},function(e,t,n){var i=n(17),r=n(9),a=i.identity;function o(e){return e>5e-5||e<-5e-5}var s=function(e){(e=e||{}).position||(this.position=[0,0]),null==e.rotation&&(this.rotation=0),e.scale||(this.scale=[1,1]),this.origin=this.origin||null},l=s.prototype;l.transform=null,l.needLocalTransform=function(){return o(this.rotation)||o(this.position[0])||o(this.position[1])||o(this.scale[0]-1)||o(this.scale[1]-1)};var u=[];l.updateTransform=function(){var e=this.parent,t=e&&e.transform,n=this.needLocalTransform(),r=this.transform;if(n||t){r=r||i.create(),n?this.getLocalTransform(r):a(r),t&&(n?i.mul(r,e.transform,r):i.copy(r,e.transform)),this.transform=r;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(u);var s=u[0]<0?-1:1,l=u[1]<0?-1:1,c=((u[0]-s)*o+s)/u[0]||0,d=((u[1]-l)*o+l)/u[1]||0;r[0]*=c,r[1]*=c,r[2]*=d,r[3]*=d}this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,r)}else r&&a(r)},l.getLocalTransform=function(e){return s.getLocalTransform(this,e)},l.setTransform=function(e){var t=this.transform,n=e.dpr||1;t?e.setTransform(n*t[0],n*t[1],n*t[2],n*t[3],n*t[4],n*t[5]):e.setTransform(n,0,0,n,0,0)},l.restoreTransform=function(e){var t=e.dpr||1;e.setTransform(t,0,0,t,0,0)};var c=[],d=i.create();l.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],i=this.position,r=this.scale;o(t-1)&&(t=Math.sqrt(t)),o(n-1)&&(n=Math.sqrt(n)),e[0]<0&&(t=-t),e[3]<0&&(n=-n),i[0]=e[4],i[1]=e[5],r[0]=t,r[1]=n,this.rotation=Math.atan2(-e[1]/n,e[0]/t)}},l.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(i.mul(c,e.invTransform,t),t=c);var n=this.origin;n&&(n[0]||n[1])&&(d[4]=n[0],d[5]=n[1],i.mul(c,t,d),c[4]-=n[0],c[5]-=n[1],t=c),this.setLocalTransform(t)}},l.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},l.transformCoordToLocal=function(e,t){var n=[e,t],i=this.invTransform;return i&&r.applyTransform(n,n,i),n},l.transformCoordToGlobal=function(e,t){var n=[e,t],i=this.transform;return i&&r.applyTransform(n,n,i),n},s.getLocalTransform=function(e,t){a(t=t||[]);var n=e.origin,r=e.scale||[1,1],o=e.rotation||0,s=e.position||[0,0];return n&&(t[4]-=n[0],t[5]-=n[1]),i.scale(t,t,r),o&&i.rotate(t,t,o),n&&(t[4]+=n[0],t[5]+=n[1]),t[4]+=s[0],t[5]+=s[1],t};var h=s;e.exports=h},function(e,t){var n=1;"undefined"!==typeof window&&(n=Math.max(window.devicePixelRatio||1,1));var i=n;t.debugMode=0,t.devicePixelRatio=i},function(e,t){t.ContextCachedBy={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},t.WILL_BE_RESTORED=9},function(e,t,n){var i=n(1),r=i.retrieve2,a=i.retrieve3,o=i.each,s=i.normalizeCssArray,l=i.isString,u=i.isObject,c=n(18),d=n(134),h=n(92),f=n(130),p=n(75),g=p.ContextCachedBy,m=p.WILL_BE_RESTORED,v=c.DEFAULT_FONT,y={left:1,right:1,center:1},x={top:1,bottom:1,middle:1},b=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],_={},w={};function S(e){if(e){e.font=c.makeFont(e);var t=e.textAlign;"middle"===t&&(t="center"),e.textAlign=null==t||y[t]?t:"left";var n=e.textVerticalAlign||e.textBaseline;"center"===n&&(n="middle"),e.textVerticalAlign=null==n||x[n]?n:"top",e.textPadding&&(e.textPadding=s(e.textPadding))}}function M(e,t,n,i,r){if(n&&t.textRotation){var a=t.textOrigin;"center"===a?(i=n.width/2+n.x,r=n.height/2+n.y):a&&(i=a[0]+n.x,r=a[1]+n.y),e.translate(i,r),e.rotate(-t.textRotation),e.translate(-i,-r)}}function C(e,t,n,i,o,s,l,u){var c=i.rich[n.styleName]||{};c.text=n.text;var d=n.textVerticalAlign,h=s+o/2;"top"===d?h=s+n.height/2:"bottom"===d&&(h=s+o-n.height/2),!n.isLineHolder&&T(c)&&k(e,t,c,"right"===u?l-n.width:"center"===u?l-n.width/2:l,h-n.height/2,n.width,n.height);var f=n.textPadding;f&&(l=O(l,u,f),h-=n.height/2-f[2]-n.textHeight/2),P(t,"shadowBlur",a(c.textShadowBlur,i.textShadowBlur,0)),P(t,"shadowColor",c.textShadowColor||i.textShadowColor||"transparent"),P(t,"shadowOffsetX",a(c.textShadowOffsetX,i.textShadowOffsetX,0)),P(t,"shadowOffsetY",a(c.textShadowOffsetY,i.textShadowOffsetY,0)),P(t,"textAlign",u),P(t,"textBaseline","middle"),P(t,"font",n.font||v);var p=E(c.textStroke||i.textStroke,m),g=D(c.textFill||i.textFill),m=r(c.textStrokeWidth,i.textStrokeWidth);p&&(P(t,"lineWidth",m),P(t,"strokeStyle",p),t.strokeText(n.text,l,h)),g&&(P(t,"fillStyle",g),t.fillText(n.text,l,h))}function T(e){return!!(e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor)}function k(e,t,n,i,r,a,o){var s=n.textBackgroundColor,c=n.textBorderWidth,f=n.textBorderColor,p=l(s);if(P(t,"shadowBlur",n.textBoxShadowBlur||0),P(t,"shadowColor",n.textBoxShadowColor||"transparent"),P(t,"shadowOffsetX",n.textBoxShadowOffsetX||0),P(t,"shadowOffsetY",n.textBoxShadowOffsetY||0),p||c&&f){t.beginPath();var g=n.textBorderRadius;g?d.buildPath(t,{x:i,y:r,width:a,height:o,r:g}):t.rect(i,r,a,o),t.closePath()}if(p)if(P(t,"fillStyle",s),null!=n.fillOpacity){var m=t.globalAlpha;t.globalAlpha=n.fillOpacity*n.opacity,t.fill(),t.globalAlpha=m}else t.fill();else if(u(s)){var v=s.image;(v=h.createOrUpdateImage(v,null,e,I,s))&&h.isImageReady(v)&&t.drawImage(v,i,r,a,o)}if(c&&f)if(P(t,"lineWidth",c),P(t,"strokeStyle",f),null!=n.strokeOpacity){m=t.globalAlpha;t.globalAlpha=n.strokeOpacity*n.opacity,t.stroke(),t.globalAlpha=m}else t.stroke()}function I(e,t){t.image=e}function A(e,t,n,i){var r=n.x||0,a=n.y||0,o=n.textAlign,s=n.textVerticalAlign;if(i){var l=n.textPosition;if(l instanceof Array)r=i.x+L(l[0],i.width),a=i.y+L(l[1],i.height);else{var u=t&&t.calculateTextPosition?t.calculateTextPosition(_,n,i):c.calculateTextPosition(_,n,i);r=u.x,a=u.y,o=o||u.textAlign,s=s||u.textVerticalAlign}var d=n.textOffset;d&&(r+=d[0],a+=d[1])}return(e=e||{}).baseX=r,e.baseY=a,e.textAlign=o,e.textVerticalAlign=s,e}function P(e,t,n){return e[t]=f(e,t,n),e[t]}function E(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function D(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function L(e,t){return"string"===typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function O(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}t.normalizeTextStyle=function(e){return S(e),o(e.rich,S),e},t.renderText=function(e,t,n,i,r,a){i.rich?function(e,t,n,i,r,a){a!==m&&(t.__attrCachedBy=g.NONE);var o=e.__textCotentBlock;o&&!e.__dirtyText||(o=e.__textCotentBlock=c.parseRichText(n,i));!function(e,t,n,i,r){var a=n.width,o=n.outerWidth,s=n.outerHeight,l=i.textPadding,u=A(w,e,i,r),d=u.baseX,h=u.baseY,f=u.textAlign,p=u.textVerticalAlign;M(t,i,r,d,h);var g=c.adjustTextX(d,o,f),m=c.adjustTextY(h,s,p),v=g,y=m;l&&(v+=l[3],y+=l[0]);var x=v+a;T(i)&&k(e,t,i,g,m,o,s);for(var b=0;b=0&&"right"===(_=I[R]).textAlign;)C(e,t,_,i,E,y,N,"right"),D-=_.width,N-=_.width,R--;for(O+=(a-(O-v)-(x-N)-D)/2;L<=R;)_=I[L],C(e,t,_,i,E,y,O+_.width/2,"center"),O+=_.width,L++;y+=E}}(e,t,o,i,r)}(e,t,n,i,r,a):function(e,t,n,i,r,a){"use strict";var o,s=T(i),l=!1,u=t.__attrCachedBy===g.PLAIN_TEXT;a!==m?(a&&(o=a.style,l=!s&&u&&o),t.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):u&&(t.__attrCachedBy=g.NONE);var d=i.font||v;l&&d===(o.font||v)||(t.font=d);var h=e.__computedFont;e.__styleFont!==d&&(e.__styleFont=d,h=e.__computedFont=t.font);var p=i.textPadding,y=i.textLineHeight,x=e.__textCotentBlock;x&&!e.__dirtyText||(x=e.__textCotentBlock=c.parsePlainText(n,h,p,y,i.truncate));var _=x.outerHeight,S=x.lines,C=x.lineHeight,I=A(w,e,i,r),P=I.baseX,L=I.baseY,N=I.textAlign||"left",R=I.textVerticalAlign;M(t,i,r,P,L);var z=c.adjustTextY(L,_,R),B=P,F=z;if(s||p){var V=c.getWidth(n,h);p&&(V+=p[1]+p[3]);var G=c.adjustTextX(P,V,N);s&&k(e,t,i,G,z,V,_),p&&(B=O(P,N,p),F+=p[0])}t.textAlign=N,t.textBaseline="middle",t.globalAlpha=i.opacity||1;for(var j=0;j=t[0]&&e<=t[1]},r.prototype.normalize=function(e){var t=this._extent;return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])},r.prototype.scale=function(e){var t=this._extent;return e*(t[1]-t[0])+t[0]},r.prototype.unionExtent=function(e){var t=this._extent;e[0]t[1]&&(t[1]=e[1])},r.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(e){this._isBlank=e},r.prototype.getLabel=null,i.enableClassExtend(r),i.enableClassManagement(r,{registerWhenExtend:!0});var a=r;e.exports=a},function(e,t,n){var i=n(4),r=n(8),a=n(79),o=n(155),s=i.round,l=a.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(e,t){var n=this._extent;isNaN(e)||(n[0]=parseFloat(e)),isNaN(t)||(n[1]=parseFloat(t))},unionExtent:function(e){var t=this._extent;e[0]t[1]&&(t[1]=e[1]),l.prototype.setExtent.call(this,t[0],t[1])},getInterval:function(){return this._interval},setInterval:function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=o.getIntervalPrecision(e)},getTicks:function(e){var t=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,a=[];if(!t)return a;n[0]1e4)return[];var l=a.length?a[a.length-1]:i[1];return n[1]>l&&(e?a.push(s(l+t,r)):a.push(n[1])),a},getMinorTicks:function(e){for(var t=this.getTicks(!0),n=[],r=this.getExtent(),a=1;ar[0]&&d0&&(o=null===o?l:Math.min(o,l))}n[r]=o}}return n}(e),n=[];return i.each(e,(function(e){var i,a=e.coordinateSystem.getBaseAxis(),o=a.getExtent();if("category"===a.type)i=a.getBandWidth();else if("value"===a.type||"time"===a.type){var s=a.dim+"_"+a.index,c=t[s],d=Math.abs(o[1]-o[0]),h=a.scale.getExtent(),f=Math.abs(h[1]-h[0]);i=c?d/f*c:d}else{var p=e.getData();i=Math.abs(o[1]-o[0])/p.count()}var g=r(e.get("barWidth"),i),m=r(e.get("barMaxWidth"),i),v=r(e.get("barMinWidth")||1,i),y=e.get("barGap"),x=e.get("barCategoryGap");n.push({bandWidth:i,barWidth:g,barMaxWidth:m,barMinWidth:v,barGap:y,barCategoryGap:x,axisKey:u(a),stackId:l(e)})})),h(n)}function h(e){var t={};i.each(e,(function(e,n){var i=e.axisKey,r=e.bandWidth,a=t[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=a.stacks;t[i]=a;var s=e.stackId;o[s]||a.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(a.remainedWidth,l),a.remainedWidth-=l);var u=e.barMaxWidth;u&&(o[s].maxWidth=u);var c=e.barMinWidth;c&&(o[s].minWidth=c);var d=e.barGap;null!=d&&(a.gap=d);var h=e.barCategoryGap;null!=h&&(a.categoryGap=h)}));var n={};return i.each(t,(function(e,t){n[t]={};var a=e.stacks,o=e.bandWidth,s=r(e.categoryGap,o),l=r(e.gap,1),u=e.remainedWidth,c=e.autoWidthCount,d=(u-s)/(c+(c-1)*l);d=Math.max(d,0),i.each(a,(function(e){var t=e.maxWidth,n=e.minWidth;if(e.width){i=e.width;t&&(i=Math.min(i,t)),n&&(i=Math.max(i,n)),e.width=i,u-=i+l*i,c--}else{var i=d;t&&ti&&(i=n),i!==d&&(e.width=i,u-=i+l*i,c--)}})),d=(u-s)/(c+(c-1)*l),d=Math.max(d,0);var h,f=0;i.each(a,(function(e,t){e.width||(e.width=d),h=e,f+=e.width*(1+l)})),h&&(f-=h.width*l);var p=-f/2;i.each(a,(function(e,i){n[t][i]=n[t][i]||{bandWidth:o,offset:p,width:e.width},p+=e.width*(1+l)}))})),n}function f(e,t,n){if(e&&t){var i=e[u(t)];return null!=i&&null!=n&&(i=i[l(n)]),i}}var p={seriesType:"bar",plan:o(),reset:function(e){if(g(e)&&m(e)){var t=e.getData(),n=e.coordinateSystem,i=n.grid.getRect(),r=n.getBaseAxis(),a=n.getOtherAxis(r),o=t.mapDimension(a.dim),l=t.mapDimension(r.dim),u=a.isHorizontal(),c=u?0:1,h=f(d([e]),r,e).width;return h>.5||(h=.5),{progress:function(e,t){var d,f=e.count,p=new s(2*f),g=new s(2*f),m=new s(f),y=[],x=[],b=0,_=0;for(;null!=(d=e.next());)x[c]=t.get(o,d),x[1-c]=t.get(l,d),y=n.dataToPoint(x,null,y),g[b]=u?i.x+i.width:y[0],p[b++]=y[0],g[b]=u?y[1]:i.y+i.height,p[b++]=y[1],m[_++]=d;t.setLayout({largePoints:p,largeDataIndices:m,largeBackgroundPoints:g,barWidth:h,valueAxisStart:v(r,a,!1),backgroundStart:u?i.x:i.y,valueAxisHorizontal:u})}}}}};function g(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function m(e){return e.pipelineContext&&e.pipelineContext.large}function v(e,t,n){return t.toGlobalCoord(t.dataToCoord("log"===t.type?1:0))}t.getLayoutOnAxis=function(e){var t=[],n=e.axis;if("category"===n.type){for(var r=n.getBandWidth(),a=0;a=0?"p":"n",D=_;if(x&&(o[c][P]||(o[c][P]={p:_,n:_}),D=o[c][P][E]),b)M=D,C=(I=n.dataToPoint([A,P]))[1]+h,T=I[0]-_,k=f,Math.abs(T)=0||e===t}function l(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[c(e)]}function u(e){return!!e.get("handle.show")}function c(e){return e.type+"||"+e.id}t.collect=function(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(e,t,n){var l=t.getComponent("tooltip"),d=t.getComponent("axisPointer"),h=d.get("link",!0)||[],f=[];a(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var p=c(n.model),g=e.coordSysAxesInfo[p]={};e.coordSysMap[p]=n;var m=n.model.getModel("tooltip",l);if(a(n.getAxes(),o(b,!1,null)),n.getTooltipAxes&&l&&m.get("show")){var v="axis"===m.get("trigger"),y="cross"===m.get("axisPointer.type"),x=n.getTooltipAxes(m.get("axisPointer.axis"));(v||y)&&a(x.baseAxes,o(b,!y||"cross",v)),y&&a(x.otherAxes,o(b,"cross",!1))}}function b(o,l,p){var v=p.model.getModel("axisPointer",d),y=v.get("show");if(y&&("auto"!==y||o||u(v))){null==l&&(l=v.get("triggerTooltip"));var x=(v=o?function(e,t,n,o,s,l){var u=t.getModel("axisPointer"),c={};a(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(e){c[e]=i.clone(u.get(e))})),c.snap="category"!==e.type&&!!l,"cross"===u.get("type")&&(c.type="line");var d=c.label||(c.label={});if(null==d.show&&(d.show=!1),"cross"===s){var h=u.get("label.show");if(d.show=null==h||h,!l){var f=c.lineStyle=u.get("crossStyle");f&&i.defaults(d,f.textStyle)}}return e.model.getModel("axisPointer",new r(c,n,o))}(p,m,d,t,o,l):v).get("snap"),b=c(p.model),_=l||x||"category"===p.type,w=e.axesInfo[b]={key:b,axis:p,coordSys:n,axisPointerModel:v,triggerTooltip:l,involveSeries:_,snap:x,useHandle:u(v),seriesModels:[]};g[b]=w,e.seriesInvolved|=_;var S=function(e,t){for(var n=t.model,i=t.dim,r=0;rc[1]&&c.reverse(),(null==o||o>c[1])&&(o=c[1]),o=0;)r++;return r-t}function i(e,t,n,i,r){for(i===t&&i++;i>>1])<0?l=a:s=a+1;var u=i-s;switch(u){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:for(;u>0;)e[s+u]=e[s+u-1],u--}e[s]=o}}function r(e,t,n,i,r,a){var o=0,s=0,l=1;if(a(e,t[n+r])>0){for(s=i-r;l0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}else{for(s=r+1;ls&&(l=s);var u=o;o=r-l,l=r-u}for(o++;o>>1);a(e,t[n+c])>0?o=c+1:l=c}return l}function a(e,t,n,i,r,a){var o=0,s=0,l=1;if(a(e,t[n+r])<0){for(s=r+1;ls&&(l=s);var u=o;o=r-l,l=r-u}else{for(s=i-r;l=0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}for(o++;o>>1);a(e,t[n+c])<0?l=c:o=c+1}return l}function o(e,t){var n,i,o,s=7,l=0;n=e.length;var u=[];function c(n){var c=i[n],d=o[n],h=i[n+1],f=o[n+1];o[n]=d+f,n===l-3&&(i[n+1]=i[n+2],o[n+1]=o[n+2]),l--;var p=a(e[h],e,c,d,0,t);c+=p,0!==(d-=p)&&0!==(f=r(e[c+d-1],e,h,f,f-1,t))&&(d<=f?function(n,i,o,l){var c=0;for(c=0;c=7||g>=7);if(m)break;v<0&&(v=0),v+=2}if((s=v)<1&&(s=1),1===i){for(c=0;c=0;c--)e[g+c]=e[p+c];return void(e[f]=u[h])}var m=s;for(;;){var v=0,y=0,x=!1;do{if(t(u[h],e[d])<0){if(e[f--]=e[d--],v++,y=0,0===--i){x=!0;break}}else if(e[f--]=u[h--],y++,v=0,1===--l){x=!0;break}}while((v|y)=0;c--)e[g+c]=e[p+c];if(0===i){x=!0;break}}if(e[f--]=u[h--],1===--l){x=!0;break}if(0!==(y=l-r(e[d],u,0,l,l-1,t))){for(l-=y,g=(f-=y)+1,p=(h-=y)+1,c=0;c=7||y>=7);if(x)break;m<0&&(m=0),m+=2}(s=m)<1&&(s=1);if(1===l){for(g=(f-=i)+1,p=(d-=i)+1,c=i-1;c>=0;c--)e[g+c]=e[p+c];e[f]=u[h]}else{if(0===l)throw new Error;for(p=f-(l-1),c=0;c1;){var e=l-2;if(e>=1&&o[e-1]<=o[e]+o[e+1]||e>=2&&o[e-2]<=o[e]+o[e-1])o[e-1]o[e+1])break;c(e)}},this.forceMergeRuns=function(){for(;l>1;){var e=l-2;e>0&&o[e-1]=32;)t|=1&e,e>>=1;return e+t}(s);do{if((l=n(e,r,a,t))c&&(d=c),i(e,r,r+d,r+l,t),l=d}u.pushRun(r,l),u.mergeRuns(),s-=l,r+=l}while(0!==s);u.forceMergeRuns()}}}},function(e,t,n){var i=n(130),r=n(75).ContextCachedBy,a=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],o=function(e){this.extendFrom(e,!1)};function s(e,t,n){var i=null==t.x?0:t.x,r=null==t.x2?1:t.x2,a=null==t.y?0:t.y,o=null==t.y2?0:t.y2;return t.global||(i=i*n.width+n.x,r=r*n.width+n.x,a=a*n.height+n.y,o=o*n.height+n.y),i=isNaN(i)?0:i,r=isNaN(r)?1:r,a=isNaN(a)?0:a,o=isNaN(o)?0:o,e.createLinearGradient(i,a,r,o)}function l(e,t,n){var i=n.width,r=n.height,a=Math.min(i,r),o=null==t.x?.5:t.x,s=null==t.y?.5:t.y,l=null==t.r?.5:t.r;return t.global||(o=o*i+n.x,s=s*r+n.y,l*=a),e.createRadialGradient(o,s,0,o,s,l)}for(var u=o.prototype={constructor:o,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(e,t,n){var o=n&&n.style,s=!o||e.__attrCachedBy!==r.STYLE_BIND;e.__attrCachedBy=r.STYLE_BIND;for(var l=0;l0},extendFrom:function(e,t){if(e)for(var n in e)!e.hasOwnProperty(n)||!0!==t&&(!1===t?this.hasOwnProperty(n):null==e[n])||(this[n]=e[n])},set:function(e,t){"string"===typeof e?this[e]=t:this.extendFrom(e,!0)},clone:function(){var e=new this.constructor;return e.extendFrom(this,!0),e},getGradient:function(e,t,n){for(var i=("radial"===t.type?l:s)(e,t,n),r=t.colorStops,a=0;a=1)&&(e=1),e}s===c&&u===d||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,o=function(e,t){var n,i;e._dueIndex=e._outputDueEnd=e._dueEnd=0,e._settedOutputEnd=null,!t&&e._reset&&((n=e._reset(e.context))&&n.progress&&(i=n.forceFirstProgress,n=n.progress),r(n)&&!n.length&&(n=null));e._progress=n,e._modBy=e._modDataCount=null;var a=e._downstream;return a&&a.dirty(),i}(this,i)),this._modBy=c,this._modDataCount=d;var f=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,g=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!i&&(o||p1&&i>0?s:o}};return a;function o(){return t=e?null:a1?(g.width=c,g.height=c/f):(g.height=c,g.width=c*f),g.y=u[1]-g.height/2,g.x=u[0]-g.width/2}else(a=e.getBoxLayoutParams()).aspect=f,g=o.getLayoutRect(a,{width:d,height:h});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(e.get("center")),this.setZoom(e.get("zoom"))}function d(e,t){r.each(t.get("geoCoord"),(function(t,n){e.addGeoCoord(n,t)}))}var h={dimensions:a.prototype.dimensions,create:function(e,t){var n=[];e.eachComponent("geo",(function(e,i){var r=e.get("map"),o=e.get("aspectScale"),s=!0,l=u.retrieveMap(r);l&&l[0]&&"svg"===l[0].type?(null==o&&(o=1),s=!1):null==o&&(o=.75);var h=new a(r+i,r,e.get("nameMap"),s);h.aspectScale=o,h.zoomLimit=e.get("scaleLimit"),n.push(h),d(h,e),e.coordinateSystem=h,h.model=e,h.resize=c,h.resize(e,t)})),e.eachSeries((function(e){if("geo"===e.get("coordinateSystem")){var t=e.get("geoIndex")||0;e.coordinateSystem=n[t]}}));var i={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();i[t]=i[t]||[],i[t].push(e)}})),r.each(i,(function(e,i){var o=r.map(e,(function(e){return e.get("nameMap")})),s=new a(i,i,r.mergeAll(o));s.zoomLimit=r.retrieve.apply(null,r.map(e,(function(e){return e.get("scaleLimit")}))),n.push(s),s.resize=c,s.aspectScale=e[0].get("aspectScale"),s.resize(e[0],t),r.each(e,(function(e){e.coordinateSystem=s,d(s,e)}))})),n},getFilledRegions:function(e,t,n){for(var i=(e||[]).slice(),a=r.createHashMap(),o=0;ot&&(t=i.height)}this.height=t+1},getNodeById:function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,i=n.length;t=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(!(this.dataIndex<0)){var t=this.hostTree.data.getItemModel(this.dataIndex),n=this.getLevelModel();return n?t.getModel(e,n.getModel(e)):t.getModel(e)}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},getVisual:function(e,t){return this.hostTree.data.getItemVisual(this.dataIndex,e,t)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(e){for(var t=e.parentNode;t;){if(t===this)return!0;t=t.parentNode}return!1},isDescendantOf:function(e){return e!==this&&e.isAncestorOf(this)}},u.prototype={constructor:u,type:"tree",eachNode:function(e,t,n){this.root.eachNode(e,t,n)},getNodeByDataIndex:function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,t=this._nodes,n=0,i=t.length;n0}(e)||(e.incremental=e.useHoverLayer=!0)}for(var i=e.start;i0&&(b[0]=-b[0],b[1]=-b[1]);var w,S=d[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var M=-Math.atan2(d[1],d[0]);u[0].8?"left":c[0]<-.8?"right":"center",p=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":h=[-c[0]*v+l[0],-c[1]*y+l[1]],f=c[0]>.8?"right":c[0]<-.8?"left":"center",p=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":h=[v*S+l[0],l[1]+w],f=d[0]<0?"right":"left",g=[-v*S,-w];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":h=[_[0],_[1]+w],f="center",g=[0,-w];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":h=[-v*S+u[0],u[1]+w],f=d[0]>=0?"right":"left",g=[v*S,-w]}n.attr({style:{textVerticalAlign:n.__verticalAlign||p,textAlign:n.__textAlign||f},position:h,scale:[i,i],origin:g})}}}},p._createLine=function(e,t,n){var r=e.hostModel,a=function(e){var t=new o({name:"line",subPixelOptimize:!0});return h(t.shape,e),t}(e.getItemLayout(t));a.shape.percent=0,s.initProps(a,{shape:{percent:1}},r,t),this.add(a);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),i.each(u,(function(n){var i=d(n,e,t);this.add(i),this[c(n)]=e.getItemVisual(t,n)}),this),this._updateCommonStl(e,t,n)},p.updateData=function(e,t,n){var r=e.hostModel,a=this.childOfName("line"),o=e.getItemLayout(t),l={shape:{}};h(l.shape,o),s.updateProps(a,l,r,t),i.each(u,(function(n){var i=e.getItemVisual(t,n),r=c(n);if(this[r]!==i){this.remove(this.childOfName(n));var a=d(n,e,t);this.add(a)}this[r]=i}),this),this._updateCommonStl(e,t,n)},p._updateCommonStl=function(e,t,n){var r=e.hostModel,a=this.childOfName("line"),o=n&&n.lineStyle,c=n&&n.hoverLineStyle,d=n&&n.labelModel,h=n&&n.hoverLabelModel;if(!n||e.hasItemOption){var f=e.getItemModel(t);o=f.getModel("lineStyle").getLineStyle(),c=f.getModel("emphasis.lineStyle").getLineStyle(),d=f.getModel("label"),h=f.getModel("emphasis.label")}var p=e.getItemVisual(t,"color"),g=i.retrieve3(e.getItemVisual(t,"opacity"),o.opacity,1);a.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},o)),a.hoverStyle=c,i.each(u,(function(e){var t=this.childOfName(e);t&&(t.setColor(p),t.setStyle({opacity:g}))}),this);var m,v,y=d.getShallow("show"),x=h.getShallow("show"),b=this.childOfName("label");if((y||x)&&(m=p||"#000",null==(v=r.getFormattedLabel(t,"normal",e.dataType)))){var _=r.getRawValue(t);v=null==_?e.getName(t):isFinite(_)?l(_):_}var w=y?v:null,S=x?i.retrieve2(r.getFormattedLabel(t,"emphasis",e.dataType),v):null,M=b.style;if(null!=w||null!=S){s.setTextStyle(b.style,d,{text:w},{autoColor:m}),b.__textAlign=M.textAlign,b.__verticalAlign=M.textVerticalAlign,b.__position=d.get("position")||"middle";var C=d.get("distance");i.isArray(C)||(C=[C,C]),b.__labelDistance=C}b.hoverStyle=null!=S?{text:S,textFill:h.getTextColor(!0),fontStyle:h.getShallow("fontStyle"),fontWeight:h.getShallow("fontWeight"),fontSize:h.getShallow("fontSize"),fontFamily:h.getShallow("fontFamily")}:{text:null},b.ignore=!y&&!x,s.setHoverStyle(this)},p.highlight=function(){this.trigger("emphasis")},p.downplay=function(){this.trigger("normal")},p.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},p.setLinePoints=function(e){var t=this.childOfName("line");h(t.shape,e),t.dirty()},i.inherits(f,s.Group);var g=f;e.exports=g},function(e,t){t.getNodeGlobalScale=function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=e.option.nodeScaleRatio,i=t.scale,r=i&&i[0]||1;return((t.getZoom()-1)*n+1)/r},t.getSymbolSize=function(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}},function(e,t,n){n(6).__DEV__;var i=n(1),r=n(38),a=n(3),o=n(170),s=n(42),l=i.curry,u=i.each,c=i.map,d=Math.min,h=Math.max,f=Math.pow,p={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},g={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},m={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},v=0;function y(e){r.call(this),this._zr=e,this.group=new a.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+v++,this._handlers={},u(H,(function(e,t){this._handlers[t]=i.bind(e,this)}),this)}function x(e,t){var n=Y[t.brushType].createCover(e,t);return n.__brushOption=t,w(n,t),e.group.add(n),n}function b(e,t){var n=M(t);return n.endCreating&&(n.endCreating(e,t),w(t,t.__brushOption)),t}function _(e,t){var n=t.__brushOption;M(t).updateCoverShape(e,t,n.range,n)}function w(e,t){var n=t.z;null==n&&(n=1e4),e.traverse((function(e){e.z=n,e.z2=n}))}function S(e,t){M(t).updateCommon(e,t),_(e,t)}function M(e){return Y[e.__brushOption.brushType]}function C(e,t,n){var i,r=e._panels;if(!r)return!0;var a=e._transform;return u(r,(function(e){e.isTargetByCursor(t,n,a)&&(i=e)})),i}function T(e,t){var n=e._panels;if(!n)return!0;var i=t.__brushOption.panelId;return null==i||n[i]}function k(e){var t=e._covers,n=t.length;return u(t,(function(t){e.group.remove(t)}),e),t.length=0,!!n}function I(e,t){var n=c(e._covers,(function(e){var t=e.__brushOption,n=i.clone(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}}));e.trigger("brush",n,{isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function A(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function P(e,t,n,i){var r=new a.Group;return r.add(new a.Rect({name:"main",style:O(n),silent:!0,draggable:!0,cursor:"move",drift:l(e,t,r,"nswe"),ondragend:l(I,t,{isEnd:!0})})),u(i,(function(n){r.add(new a.Rect({name:n,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:l(e,t,r,n),ondragend:l(I,t,{isEnd:!0})}))})),r}function E(e,t,n,i){var r=i.brushStyle.lineWidth||0,a=h(r,6),o=n[0][0],s=n[1][0],l=o-r/2,u=s-r/2,c=n[0][1],d=n[1][1],f=c-a+r/2,p=d-a+r/2,g=c-o,m=d-s,v=g+r,y=m+r;L(e,t,"main",o,s,g,m),i.transformable&&(L(e,t,"w",l,u,a,y),L(e,t,"e",f,u,a,y),L(e,t,"n",l,u,v,a),L(e,t,"s",l,p,v,a),L(e,t,"nw",l,u,a,a),L(e,t,"ne",f,u,a,a),L(e,t,"sw",l,p,a,a),L(e,t,"se",f,p,a,a))}function D(e,t){var n=t.__brushOption,i=n.transformable,r=t.childAt(0);r.useStyle(O(n)),r.attr({silent:!i,cursor:i?"move":"default"}),u(["w","e","n","s","se","sw","ne","nw"],(function(n){var r=t.childOfName(n),o=function e(t,n){if(n.length>1)return n=n.split(""),("e"===(i=[e(t,n[0]),e(t,n[1])])[0]||"w"===i[0])&&i.reverse(),i.join("");var i;return{left:"w",right:"e",top:"n",bottom:"s"}[i=a.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[n],function(e){return a.getTransform(e.group)}(t))]}(e,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?g[o]+"-resize":null})}))}function L(e,t,n,i,r,a,o){var s=t.childOfName(n);s&&s.setShape(function(e){var t=d(e[0][0],e[1][0]),n=d(e[0][1],e[1][1]),i=h(e[0][0],e[1][0]),r=h(e[0][1],e[1][1]);return{x:t,y:n,width:i-t,height:r-n}}(F(e,t,[[i,r],[i+a,r+o]])))}function O(e){return i.defaults({strokeNoScale:!0},e.brushStyle)}function N(e,t,n,i){var r=[d(e,n),d(t,i)],a=[h(e,n),h(t,i)];return[[r[0],a[0]],[r[1],a[1]]]}function R(e,t,n,i,r,a,o,s){var l=i.__brushOption,c=e(l.range),d=B(n,a,o);u(r.split(""),(function(e){var t=p[e];c[t[0]][t[1]]+=d[t[0]]})),l.range=t(N(c[0][0],c[1][0],c[0][1],c[1][1])),S(n,i),I(n,{isEnd:!1})}function z(e,t,n,i,r){var a=t.__brushOption.range,o=B(e,n,i);u(a,(function(e){e[0]+=o[0],e[1]+=o[1]})),S(e,t),I(e,{isEnd:!1})}function B(e,t,n){var i=e.group,r=i.transformCoordToLocal(t,n),a=i.transformCoordToLocal(0,0);return[r[0]-a[0],r[1]-a[1]]}function F(e,t,n){var r=T(e,t);return r&&!0!==r?r.clipPath(n,e._transform):i.clone(n)}function V(e){var t=e.event;t.preventDefault&&t.preventDefault()}function G(e,t,n){return e.childOfName("main").contain(t,n)}function j(e,t,n,r){var a,o=e._creatingCover,s=e._creatingPanel,l=e._brushOption;if(e._track.push(n.slice()),function(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],i=t[0],r=n[0]-i[0],a=n[1]-i[1];return f(r*r+a*a,.5)>6}(e)||o){if(s&&!o){"single"===l.brushMode&&k(e);var u=i.clone(l);u.brushType=W(u.brushType,s),u.panelId=!0===s?null:s.panelId,o=e._creatingCover=x(e,u),e._covers.push(o)}if(o){var c=Y[W(e._brushType,s)];o.__brushOption.range=c.getCreatingRange(F(e,o,e._track)),r&&(b(e,o),c.updateCommon(e,o)),_(e,o),a={isEnd:r}}}else r&&"single"===l.brushMode&&l.removeOnClick&&C(e,t,n)&&k(e)&&(a={isEnd:r,removeOnClick:!0});return a}function W(e,t){return"auto"===e?t.defaultBrushType:e}y.prototype={constructor:y,enableBrush:function(e){return this._brushType&&function(e){var t=e._zr;o.release(t,"globalPan",e._uid),function(e,t){u(t,(function(t,n){e.off(n,t)}))}(t,e._handlers),e._brushType=e._brushOption=null}(this),e.brushType&&function(e,t){var n=e._zr;e._enableGlobalPan||o.take(n,"globalPan",e._uid);(function(e,t){u(t,(function(t,n){e.on(n,t)}))})(n,e._handlers),e._brushType=t.brushType,e._brushOption=i.merge(i.clone(m),t,!0)}(this,e),this},setPanels:function(e){if(e&&e.length){var t=this._panels={};i.each(e,(function(e){t[e.panelId]=i.clone(e)}))}else this._panels=null;return this},mount:function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({position:e.position||[0,0],rotation:e.rotation||0,scale:e.scale||[1,1]}),this._transform=t.getLocalTransform(),this},eachCover:function(e,t){u(this._covers,e,t)},updateCovers:function(e){e=i.map(e,(function(e){return i.merge(i.clone(m),e,!0)}));var t=this._covers,n=this._covers=[],r=this,a=this._creatingCover;return new s(t,e,(function(e,t){return o(e.__brushOption,t)}),o).add(l).update(l).remove((function(e){t[e]!==a&&r.group.remove(t[e])})).execute(),this;function o(e,t){return(null!=e.id?e.id:"\0-brush-index-"+t)+"-"+e.brushType}function l(i,o){var s=e[i];if(null!=o&&t[o]===a)n[i]=t[o];else{var l=n[i]=null!=o?(t[o].__brushOption=s,t[o]):b(r,x(r,s));S(r,l)}}},unmount:function(){return this.enableBrush(!1),k(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},i.mixin(y,r);var H={mousedown:function(e){if(this._dragging)U(this,e);else if(!e.target||!e.target.draggable){V(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null,(this._creatingPanel=C(this,e,t))&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,i=this.group.transformCoordToLocal(t,n);if(function(e,t,n){if(e._brushType&&!function(e,t,n){var i=e._zr;return t<0||t>i.getWidth()||n<0||n>i.getHeight()}(e,t)){var i=e._zr,r=e._covers,a=C(e,t,n);if(!e._dragging)for(var o=0;os)return!0;if(a){var l=o.getAxisInfo(e).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===n},makeElOption:function(e,t,n,i,r){},createPointerEl:function(e,t,n,i){var r=t.pointer;if(r){var o=u(e).pointerEl=new a[r.type](c(t.pointer));e.add(o)}},createLabelEl:function(e,t,n,i){if(t.label){var r=u(e).labelEl=new a.Rect(c(t.label));e.add(r),p(r,i)}},updatePointerEl:function(e,t,n){var i=u(e).pointerEl;i&&t.pointer&&(i.setStyle(t.pointer.style),n(i,{shape:t.pointer.shape}))},updateLabelEl:function(e,t,n,i){var r=u(e).labelEl;r&&(r.setStyle(t.label.style),n(r,{shape:t.label.shape,position:t.label.position}),p(r,i))},_renderHandle:function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,r=this._api.getZr(),o=this._handle,u=n.getModel("handle"),c=n.get("status");if(!u.get("show")||!c||"hide"===c)return o&&r.remove(o),void(this._handle=null);this._handle||(t=!0,o=this._handle=a.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){s.stop(e.event)},onmousedown:d(this._onHandleDragMove,this,0,0),drift:d(this._onHandleDragMove,this),ondragend:d(this._onHandleDragEnd,this)}),r.add(o)),m(o,n,!1);o.setStyle(u.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var h=u.get("size");i.isArray(h)||(h=[h,h]),o.attr("scale",[h[0]/2,h[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},_moveHandleToValue:function(e,t){f(this._axisPointerModel,!t&&this._moveAnimation,this._handle,g(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(e,t){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(g(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(g(i)),u(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){if(this._handle){var e=this._payloadInfo,t=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:t.axis.dim,axisIndex:t.componentIndex}]})}},_onHandleDragEnd:function(e){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,i=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),i&&t.remove(i),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(e,t,n){return{x:e[n=n||0],y:e[1-n],width:t[n],height:t[1-n]}}},h.prototype.constructor=h,r.enableClassExtend(h);var v=h;e.exports=v},function(e,t,n){n(6).__DEV__;var i=n(1),r=n(429),a=n(4).parsePercent,o=n(23),s=o.createScaleByModel,l=o.niceScaleExtent,u=n(22),c=n(28).getStackedDimension;function d(e,t){var n=this,r=n.getAngleAxis(),a=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),a.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===n){var t=e.getData();i.each(t.mapDimension("radius",!0),(function(e){a.scale.unionExtentFromData(t,c(t,e))})),i.each(t.mapDimension("angle",!0),(function(e){r.scale.unionExtentFromData(t,c(t,e))}))}})),l(r.scale,r.model),l(a.scale,a.model),"category"===r.type&&!r.onBand){var o=r.getExtent(),s=360/r.scale.count();r.inverse?o[1]+=s:o[1]-=s,r.setExtent(o[0],o[1])}}function h(e,t){if(e.type=t.get("type"),e.scale=s(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),"angleAxis"===t.mainType){e.inverse^=t.get("clockwise");var n=t.get("startAngle");e.setExtent(n,n+(e.inverse?-360:360))}t.axis=e,e.model=t}n(432);var f={dimensions:r.prototype.dimensions,create:function(e,t){var n=[];return e.eachComponent("polar",(function(e,o){var s=new r(o);s.update=d;var l=s.getRadiusAxis(),u=s.getAngleAxis(),c=e.findAxisModel("radiusAxis"),f=e.findAxisModel("angleAxis");h(l,c),h(u,f),function(e,t,n){var r=t.get("center"),o=n.getWidth(),s=n.getHeight();e.cx=a(r[0],o),e.cy=a(r[1],s);var l=e.getRadiusAxis(),u=Math.min(o,s)/2,c=t.get("radius");null==c?c=[0,"100%"]:i.isArray(c)||(c=[0,c]),c=[a(c[0],u),a(c[1],u)],l.inverse?l.setExtent(c[1],c[0]):l.setExtent(c[0],c[1])}(s,e,t),n.push(s),e.coordinateSystem=s,s.model=e})),e.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];t.coordinateSystem=n.coordinateSystem}})),n}};u.register("polar",f)},function(e,t,n){n(15).registerSubTypeDefaulter("dataZoom",(function(){return"slider"}))},function(e,t,n){var i=n(1),r=n(8),a=["cartesian2d","polar","singleAxis"];function o(e,t){e=e.slice();var n=i.map(e,r.capitalFirst);t=(t||[]).slice();var a=i.map(t,r.capitalFirst);return function(r,o){i.each(e,(function(e,i){for(var s={name:e,capital:n[i]},l=0;l=0},t.createNameEach=o,t.eachAxisDim=s,t.createLinkedNodesFinder=function(e,t,n){return function(a){var o,s={nodes:[],records:{}};if(t((function(e){s.records[e.name]={}})),!a)return s;r(a,s);do{o=!1,e(l)}while(o);function l(e){!function(e,t){return i.indexOf(t.nodes,e)>=0}(e,s)&&function(e,r){var a=!1;return t((function(t){i.each(n(e,t)||[],(function(e){r.records[t.name][e]&&(a=!0)}))})),a}(e,s)&&(r(e,s),o=!0)}return s};function r(e,r){r.nodes.push(e),t((function(t){i.each(n(e,t)||[],(function(e){r.records[t.name][e]=!0}))}))}}},function(e,t,n){var i=n(2),r=n(1),a=r.createHashMap,o=r.each;i.registerProcessor({getTargetSeries:function(e){var t=a();return e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(e,n,i){var r=i.getAxisProxy(e.name,n);o(r.getTargetSeriesModels(),(function(e){t.set(e.uid,e)}))}))})),t},modifyOutputEnd:!0,overallReset:function(e,t){e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(e,n,i){i.getAxisProxy(e.name,n).reset(i,t)})),e.eachTargetAxis((function(e,n,i){i.getAxisProxy(e.name,n).filterData(i,t)}))})),e.eachComponent("dataZoom",(function(e){var t=e.findRepresentativeAxisProxy(),n=t.getDataPercentWindow(),i=t.getDataValueWindow();e.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}))}})},function(e,t,n){var i=n(2),r=n(1),a=n(115);i.registerAction("dataZoom",(function(e,t){var n=a.createLinkedNodesFinder(r.bind(t.eachComponent,t,"dataZoom"),a.eachAxisDim,(function(e,t){return e.get(t.axisIndex)})),i=[];t.eachComponent({mainType:"dataZoom",query:e},(function(e,t){i.push.apply(i,n(e).nodes)})),r.each(i,(function(t,n){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})}))}))},function(e,t,n){n(6).__DEV__;var i=n(2),r=n(1),a=n(13),o=n(5),s=n(8),l=n(97),u=s.addCommas,c=s.encodeHTML;function d(e){o.defaultEmphasis(e,"label",["show"])}var h=i.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},isAnimationEnabled:function(){if(a.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},mergeOption:function(e,t){this._mergeOption(e,t,!1,!1)},_mergeOption:function(e,t,n,i){var a=this.constructor,o=this.mainType+"Model";n||t.eachSeries((function(e){var n=e.get(this.mainType,!0),s=e[o];n&&n.data?(s?s._mergeOption(n,t,!0):(i&&d(n),r.each(n.data,(function(e){e instanceof Array?(d(e[0]),d(e[1])):d(e)})),s=new a(n,this,t),r.extend(s,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),s.__hostSeries=e),e[o]=s):e[o]=null}),this)},formatTooltip:function(e){var t=this.getData(),n=this.getRawValue(e),i=r.isArray(n)?r.map(n,u).join(", "):u(n),a=t.getName(e),o=c(this.name);return(null!=n||a)&&(o+="
"),a&&(o+=c(a),null!=n&&(o+=" : ")),null!=n&&(o+=c(i)),o},getData:function(){return this._data},setData:function(e){this._data=e}});r.mixin(h,l);var f=h;e.exports=f},function(e,t,n){var i=n(1),r=n(4),a=n(28).isDimensionStacked,o=i.indexOf;function s(e,t,n,i,o,s){var l=[],u=a(t,i)?t.getCalculationInfo("stackResultDimension"):i,c=d(t,u,e),h=t.indicesOfNearest(u,c)[0];l[o]=t.get(n,h),l[s]=t.get(u,h);var f=t.get(i,h),p=r.getPrecision(t.get(i,h));return(p=Math.min(p,20))>=0&&(l[s]=+l[s].toFixed(p)),[l,f]}var l=i.curry,u={min:l(s,"min"),max:l(s,"max"),average:l(s,"average")};function c(e,t,n,i){var r={};return null!=e.valueIndex||null!=e.valueDim?(r.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,r.valueAxis=n.getAxis(function(e,t){var n=e.getData(),i=n.dimensions;t=n.getDimension(t);for(var r=0;r-1e-4}function b(e,t){t&&_(e,"transform","matrix("+d.call(t,",")+")")}function _(e,t,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&e.setAttribute(t,n)}function w(e,t,n,i){if(function(e,t){var n=t?e.textFill:e.fill;return null!=n&&"none"!==n}(t,n)){var r=n?t.textFill:t.fill;_(e,"fill",r="transparent"===r?"none":r),_(e,"fill-opacity",null!=t.fillOpacity?t.fillOpacity*t.opacity:t.opacity)}else _(e,"fill","none");if(function(e,t){var n=t?e.textStroke:e.stroke;return null!=n&&"none"!==n}(t,n)){var a=n?t.textStroke:t.stroke;_(e,"stroke",a="transparent"===a?"none":a),_(e,"stroke-width",(n?t.textStrokeWidth:t.lineWidth)/(!n&&t.strokeNoScale?i.getLineScale():1)),_(e,"paint-order",n?"stroke":"fill"),_(e,"stroke-opacity",null!=t.strokeOpacity?t.strokeOpacity:t.opacity),t.lineDash?(_(e,"stroke-dasharray",t.lineDash.join(",")),_(e,"stroke-dashoffset",h(t.lineDashOffset||0))):_(e,"stroke-dasharray",""),t.lineCap&&_(e,"stroke-linecap",t.lineCap),t.lineJoin&&_(e,"stroke-linejoin",t.lineJoin),t.miterLimit&&_(e,"stroke-miterlimit",t.miterLimit)}else _(e,"stroke","none")}var S={};S.brush=function(e){var t=e.style,n=e.__svgEl;n||(n=i("path"),e.__svgEl=n),e.path||e.createPathProxy();var r=e.path;if(e.__dirtyPath){r.beginPath(),r.subPixelOptimize=!1,e.buildPath(r,e.shape),e.__dirtyPath=!1;var a=function(e){for(var t=[],n=e.data,i=e.len(),r=0;r=m:-_>=m),T=_>0?_%m:_%m+m,k=!1;k=!!C||!x(M)&&T>=g===!!S;var I=y(s+u*p(b)),A=y(l+d*f(b));C&&(_=S?m-1e-4:1e-4-m,k=!0,9===r&&t.push("M",I,A));var P=y(s+u*p(b+_)),E=y(l+d*f(b+_));t.push("A",y(u),y(d),h(w*v),+k,+S,P,E);break;case c.Z:a="Z";break;case c.R:P=y(n[r++]),E=y(n[r++]);var D=y(n[r++]),L=y(n[r++]);t.push("M",P,E,"L",P+D,E,"L",P+D,E+L,"L",P,E+L,"L",P,E)}a&&t.push(a);for(var O=0;Oz){for(;N=0;--i)if(t[i]===e)return!0;return!1}),n):null:n[0]},h.prototype.update=function(e,t){if(e){var n=this.getDefs(!1);if(e[this._domName]&&n.contains(e[this._domName]))"function"===typeof t&&t(e);else{var i=this.add(e);i&&(e[this._domName]=i)}}},h.prototype.addDom=function(e){this.getDefs(!0).appendChild(e)},h.prototype.removeDom=function(e){var t=this.getDefs(!1);t&&e[this._domName]&&(t.removeChild(e[this._domName]),e[this._domName]=null)},h.prototype.getDoms=function(){var e=this.getDefs(!1);if(!e)return[];var t=[];return r.each(this._tagNames,(function(n){var i=e.getElementsByTagName(n);t=t.concat([].slice.call(i))})),t},h.prototype.markAllUnused=function(){var e=this.getDoms(),t=this;r.each(e,(function(e){e[t._markLabel]="0"}))},h.prototype.markUsed=function(e){e&&(e[this._markLabel]="1")},h.prototype.removeUnused=function(){var e=this.getDefs(!1);if(e){var t=this.getDoms(),n=this;r.each(t,(function(t){"1"!==t[n._markLabel]&&e.removeChild(t)}))}},h.prototype.getSvgProxy=function(e){return e instanceof a?u:e instanceof o?c:e instanceof s?d:u},h.prototype.getTextSvgElement=function(e){return e.__textSvgEl},h.prototype.getSvgElement=function(e){return e.__svgEl};var f=h;e.exports=f},function(e,t,n){"use strict";var i=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(r){return!1}}()?Object.assign:function(e,t){for(var n,s,l=o(e),u=1;u>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),e.appendChild(o),n.push(o)}return n}(t,l),l,o);if(u)return u(e,n,a),!0}return!1}function s(e){return"CANVAS"===e.nodeName.toUpperCase()}t.transformLocalCoord=function(e,t,n,i,r){return o(a,t,i,r,!0)&&o(e,n,a[0],a[1])},t.transformCoordWithViewport=o,t.isCanvasEl=s},function(e,t,n){var i=n(125),r=n(38),a=n(73),o=n(227),s=n(1),l=function(e){a.call(this,e),r.call(this,e),o.call(this,e),this.id=e.id||i()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(e,t){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=e,n[5]+=t,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(e,t){},attrKV:function(e,t){if("position"===e||"scale"===e||"origin"===e){if(t){var n=this[e];n||(n=this[e]=[]),n[0]=t[0],n[1]=t[1]}}else this[e]=t},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(e,t){if("string"===typeof e)this.attrKV(e,t);else if(s.isObject(e))for(var n in e)e.hasOwnProperty(n)&&this.attrKV(n,e[n]);return this.dirty(!1),this},setClipPath:function(e){var t=this.__zr;t&&e.addSelfToZr(t),this.clipPath&&this.clipPath!==e&&this.removeClipPath(),this.clipPath=e,e.__zr=t,e.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var e=this.clipPath;e&&(e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(e){this.__zr=e;var t=this.animators;if(t)for(var n=0;n.5?t:e}function d(e,t,n,i,r){var a=e.length;if(1===r)for(var o=0;or)e.length=r;else for(var a=i;a=0&&!(k[n]<=t);n--);n=Math.min(n,b-2)}else{for(n=V;nt);n++);n=Math.min(n-1,b-2)}V=n,G=t;var i=k[n+1]-k[n];if(0!==i)if(N=(t-k[n])/i,x)if(z=I[n],R=I[0===n?n:n-1],B=I[n>b-2?b-1:n+1],F=I[n>b-3?b-1:n+2],S)p(R,z,B,F,N,N*N,N*N*N,m(e,s),T);else{if(M)r=p(R,z,B,F,N,N*N,N*N*N,j,1),r=v(j);else{if(C)return c(z,B,N);r=g(R,z,B,F,N,N*N,N*N*N)}y(e,s,r)}else if(S)d(I[n],I[n+1],N,m(e,s),T);else{var r;if(M)d(I[n],I[n+1],N,j,1),r=v(j);else{if(C)return c(I[n],I[n+1],N);r=u(I[n],I[n+1],N)}y(e,s,r)}},ondestroy:n});return t&&"spline"!==t&&(W.easing=t),W}}}var x=function(e,t,n,i){this._tracks={},this._target=e,this._loop=t||!1,this._getter=n||s,this._setter=i||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};x.prototype={when:function(e,t){var n=this._tracks;for(var i in t)if(t.hasOwnProperty(i)){if(!n[i]){n[i]=[];var r=this._getter(this._target,i);if(null==r)continue;0!==e&&n[i].push({time:0,value:m(r)})}n[i].push({time:e,value:t[i]})}return this},during:function(e){return this._onframeList.push(e),this},pause:function(){for(var e=0;e=this._maxSize&&o>0){var l=n.head;n.remove(l),delete i[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new r(t),s.key=e,n.insertEntry(s),i[e]=s}return a},o.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},o.clear=function(){this._list.clear(),this._map={}};var s=a;e.exports=s},function(e,t){var n={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};e.exports=function(e,t,i){return n.hasOwnProperty(t)?i*e.dpr:i}},function(e,t){var n=function(e,t){this.image=e,this.repeat=t,this.type="pattern"};n.prototype.getCanvasPattern=function(e){return e.createPattern(this.image,this.repeat||"repeat")};var i=n;e.exports=i},function(e,t){var n="undefined"!==typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){setTimeout(e,16)};e.exports=n},function(e,t,n){var i=n(76),r=n(10),a=n(75).WILL_BE_RESTORED,o=new r,s=function(){};s.prototype={constructor:s,drawRectText:function(e,t){var n=this.style;t=n.textRect||t,this.__dirty&&i.normalizeTextStyle(n,!0);var r=n.text;if(null!=r&&(r+=""),i.needDrawText(r,n)){e.save();var s=this.transform;n.transformText?this.setTransform(e):s&&(o.copy(t),o.applyTransform(s),t=o),i.renderText(this,e,r,n,t,a),e.restore()}}};var l=s;e.exports=l},function(e,t){t.buildPath=function(e,t){var n,i,r,a,o,s=t.x,l=t.y,u=t.width,c=t.height,d=t.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"===typeof d?n=i=r=a=d:d instanceof Array?1===d.length?n=i=r=a=d[0]:2===d.length?(n=r=d[0],i=a=d[1]):3===d.length?(n=d[0],i=a=d[1],r=d[2]):(n=d[0],i=d[1],r=d[2],a=d[3]):n=i=r=a=0,n+i>u&&(n*=u/(o=n+i),i*=u/o),r+a>u&&(r*=u/(o=r+a),a*=u/o),i+r>c&&(i*=c/(o=i+r),r*=c/o),n+a>c&&(n*=c/(o=n+a),a*=c/o),e.moveTo(s+n,l),e.lineTo(s+u-i,l),0!==i&&e.arc(s+u-i,l+i,i,-Math.PI/2,0),e.lineTo(s+u,l+c-r),0!==r&&e.arc(s+u-r,l+c-r,r,0,Math.PI/2),e.lineTo(s+a,l+c),0!==a&&e.arc(s+a,l+c-a,a,Math.PI/2,Math.PI),e.lineTo(s,l+n),0!==n&&e.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}},function(e,t,n){n(6).__DEV__;var i=n(1),r=i.each,a=i.filter,o=i.map,s=i.isArray,l=i.indexOf,u=i.isObject,c=i.isString,d=i.createHashMap,h=i.assert,f=i.clone,p=i.merge,g=i.extend,m=i.mixin,v=n(5),y=n(14),x=n(15),b=n(251),_=n(147),w=n(30).resetSourceDefaulter,S=y.extend({init:function(e,t,n,i){n=n||{},this.option=null,this._theme=new y(n),this._optionManager=i},setOption:function(e,t){h(!("\0_ec_inner"in e),"please use chart.getOption()"),this._optionManager.setOption(e,t),this.resetOption(null)},resetOption:function(e){var t=!1,n=this._optionManager;if(!e||"recreate"===e){var i=n.mountOption("recreate"===e);this.option&&"recreate"!==e?(this.restoreData(),this.mergeOption(i)):M.call(this,i),t=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var a=n.getTimelineOption(this);a&&(this.mergeOption(a),t=!0)}if(!e||"recreate"===e||"media"===e){var o=n.getMediaOption(this,this._api);o.length&&r(o,(function(e){this.mergeOption(e,t=!0)}),this)}return t},mergeOption:function(e){var t=this.option,n=this._componentsMap,i=[];w(this),r(e,(function(e,n){null!=e&&(x.hasClass(n)?n&&i.push(n):t[n]=null==t[n]?f(e):p(t[n],e,!0))})),x.topologicalTravel(i,x.getAllClassMainTypes(),(function(i,a){var o=v.normalizeToArray(e[i]),l=v.mappingToExists(n.get(i),o);v.makeIdAndName(l),r(l,(function(e,t){var n=e.option;u(n)&&(e.keyInfo.mainType=i,e.keyInfo.subType=function(e,t,n){return t.type?t.type:n?n.subType:x.determineSubType(e,t)}(i,n,e.exist))}));var c=function(e,t){s(t)||(t=t?[t]:[]);var n={};return r(t,(function(t){n[t]=(e.get(t)||[]).slice()})),n}(n,a);t[i]=[],n.set(i,[]),r(l,(function(e,r){var a=e.exist,o=e.option;if(h(u(o)||a,"Empty component definition"),o){var s=x.getClass(i,e.keyInfo.subType,!0);if(a&&a.constructor===s)a.name=e.keyInfo.name,a.mergeOption(o,this),a.optionUpdated(o,!1);else{var l=g({dependentModels:c,componentIndex:r},e.keyInfo);a=new s(o,this,this,l),g(a,l),a.init(o,this,this,l),a.optionUpdated(null,!0)}}else a.mergeOption({},this),a.optionUpdated({},!1);n.get(i)[r]=a,t[i][r]=a.option}),this),"series"===i&&C(this,n.get("series"))}),this),this._seriesIndicesMap=d(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var e=f(this.option);return r(e,(function(t,n){if(x.hasClass(n)){for(var i=(t=v.normalizeToArray(t)).length-1;i>=0;i--)v.isIdInner(t[i])&&t.splice(i,1);e[n]=t}})),delete e["\0_ec_inner"],e},getTheme:function(){return this._theme},getComponent:function(e,t){var n=this._componentsMap.get(e);if(n)return n[t||0]},queryComponents:function(e){var t=e.mainType;if(!t)return[];var n,i=e.index,r=e.id,u=e.name,c=this._componentsMap.get(t);if(!c||!c.length)return[];if(null!=i)s(i)||(i=[i]),n=a(o(i,(function(e){return c[e]})),(function(e){return!!e}));else if(null!=r){var d=s(r);n=a(c,(function(e){return d&&l(r,e.id)>=0||!d&&e.id===r}))}else if(null!=u){var h=s(u);n=a(c,(function(e){return h&&l(u,e.name)>=0||!h&&e.name===u}))}else n=c.slice();return T(n,e)},findComponents:function(e){var t,n=e.query,i=e.mainType,r=function(e){var t=i+"Index",n=i+"Id",r=i+"Name";return!e||null==e[t]&&null==e[n]&&null==e[r]?null:{mainType:i,index:e[t],id:e[n],name:e[r]}}(n),o=r?this.queryComponents(r):this._componentsMap.get(i);return t=T(o,e),e.filter?a(t,e.filter):t},eachComponent:function(e,t,n){var i=this._componentsMap;if("function"===typeof e)n=t,t=e,i.each((function(e,i){r(e,(function(e,r){t.call(n,i,e,r)}))}));else if(c(e))r(i.get(e),t,n);else if(u(e)){var a=this.findComponents(e);r(a,t,n)}},getSeriesByName:function(e){var t=this._componentsMap.get("series");return a(t,(function(t){return t.name===e}))},getSeriesByIndex:function(e){return this._componentsMap.get("series")[e]},getSeriesByType:function(e){var t=this._componentsMap.get("series");return a(t,(function(t){return t.subType===e}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(e,t){r(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];e.call(t,i,n)}),this)},eachRawSeries:function(e,t){r(this._componentsMap.get("series"),e,t)},eachSeriesByType:function(e,t,n){r(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];r.subType===e&&t.call(n,r,i)}),this)},eachRawSeriesByType:function(e,t,n){return r(this.getSeriesByType(e),t,n)},isSeriesFiltered:function(e){return null==this._seriesIndicesMap.get(e.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(e,t){C(this,a(this._componentsMap.get("series"),e,t))},restoreData:function(e){var t=this._componentsMap;C(this,t.get("series"));var n=[];t.each((function(e,t){n.push(t)})),x.topologicalTravel(n,x.getAllClassMainTypes(),(function(n,i){r(t.get(n),(function(t){("series"!==n||!function(e,t){if(t){var n=t.seiresIndex,i=t.seriesId,r=t.seriesName;return null!=n&&e.componentIndex!==n||null!=i&&e.id!==i||null!=r&&e.name!==r}}(t,e))&&t.restoreData()}))}))}});function M(e){e=e,this.option={},this.option["\0_ec_inner"]=1,this._componentsMap=d({series:[]}),this._seriesIndices,this._seriesIndicesMap,function(e,t){var n=e.color&&!e.colorLayer;r(t,(function(t,i){"colorLayer"===i&&n||x.hasClass(i)||("object"===typeof t?e[i]=e[i]?p(e[i],t,!1):f(t):null==e[i]&&(e[i]=t))}))}(e,this._theme.option),p(e,b,!1),this.mergeOption(e)}function C(e,t){e._seriesIndicesMap=d(e._seriesIndices=o(t,(function(e){return e.componentIndex}))||[])}function T(e,t){return t.hasOwnProperty("subType")?a(e,(function(e){return e.subType===t.subType})):e}m(S,_);var k=S;e.exports=k},function(e,t,n){var i=n(12),r=n(49),a=n(240),o=Math.sqrt,s=Math.sin,l=Math.cos,u=Math.PI,c=function(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])},d=function(e,t){return(e[0]*t[0]+e[1]*t[1])/(c(e)*c(t))},h=function(e,t){return(e[0]*t[1]1&&(c*=o(b),f*=o(b));var _=(r===a?-1:1)*o((c*c*(f*f)-c*c*(x*x)-f*f*(y*y))/(c*c*(x*x)+f*f*(y*y)))||0,w=_*c*x/f,S=_*-f*y/c,M=(e+n)/2+l(v)*w-s(v)*S,C=(t+i)/2+s(v)*w+l(v)*S,T=h([1,0],[(y-w)/c,(x-S)/f]),k=[(y-w)/c,(x-S)/f],I=[(-1*y-w)/c,(-1*x-S)/f],A=h(k,I);d(k,I)<=-1&&(A=u),d(k,I)>=1&&(A=0),0===a&&A>0&&(A-=2*u),1===a&&A<0&&(A+=2*u),m.addData(g,M,C,c,f,T,A,v,a)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function m(e,t){var n=function(e){if(!e)return new r;for(var t,n=0,i=0,a=n,o=i,s=new r,l=r.CMD,u=e.match(p),c=0;ct+s&&o>i+s||oe+s&&a>n+s||at+c&&u>r+c&&u>o+c||ue+c&&l>n+c&&l>a+c||lt&&a>i||ar?o:0}},function(e,t,n){var i=n(12).extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(e,t,n){n&&e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI,!0)}});e.exports=i},function(e,t,n){var i=n(13),r=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];e.exports=function(e){return i.browser.ie&&i.browser.version>=11?function(){var t,n=this.__clipPaths,i=this.style;if(n)for(var a=0;a=2){if(o&&"spline"!==o){var s=r(a,o,n,t.smoothConstraint);e.moveTo(a[0][0],a[0][1]);for(var l=a.length,u=0;u<(n?l:l-1);u++){var c=s[2*u],d=s[2*u+1],h=a[(u+1)%l];e.bezierCurveTo(c[0],c[1],d[0],d[1],h[0],h[1])}}else{"spline"===o&&(a=i(a,n)),e.moveTo(a[0][0],a[0][1]);u=1;for(var f=a.length;ut)return e[i];return e[n-1]}(u,n):l;if((c=c||l)&&c.length){var d=c[r];return e&&(s[e]=d),i.colorIdx=(r+1)%c.length,d}}};e.exports=s},function(e,t,n){var i=n(1),r=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];var a=function(e){i.each(r,(function(t){this[t]=i.bind(e[t],e)}),this)};e.exports=a},function(e,t,n){var i=n(15),r=n(78),a=n(30).detectSourceFormat,o=n(62).SERIES_LAYOUT_BY_COLUMN;i.extend({type:"dataset",defaultOption:{seriesLayoutBy:o,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){a(this)}}),r.extend({type:"dataset"})},function(e,t,n){var i=n(39),r=n(47),a=n(40),o=n(141),s=n(93),l=n(262),u=n(146),c=n(12),d=n(143),h=n(145),f=n(95),p=n(91),g=n(17),m=n(136).createFromString,v=n(1),y=v.isString,x=v.extend,b=v.defaults,_=v.trim,w=v.each,S=/[\s,]+/;function M(e){y(e)&&(e=(new DOMParser).parseFromString(e,"text/xml"));for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}function C(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}C.prototype.parse=function(e,t){t=t||{};var n=M(e);if(!n)throw new Error("Illegal svg");var r=new i;this._root=r;var a=n.getAttribute("viewBox")||"",o=parseFloat(n.getAttribute("width")||t.width),l=parseFloat(n.getAttribute("height")||t.height);isNaN(o)&&(o=null),isNaN(l)&&(l=null),E(n,r,null,!0);for(var u,c,d=n.firstChild;d;)this._parseNode(d,r),d=d.nextSibling;if(a){var h=_(a).split(S);h.length>=4&&(u={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(u&&null!=o&&null!=l&&(c=R(u,o,l),!t.ignoreViewBox)){var f=r;(r=new i).add(f),f.scale=c.scale.slice(),f.position=c.position.slice()}return t.ignoreRootClip||null==o||null==l||r.setClipPath(new s({shape:{x:0,y:0,width:o,height:l}})),{root:r,width:o,height:l,viewBoxRect:u,viewBoxTransform:c}},C.prototype._parseNode=function(e,t){var n,i,r=e.nodeName.toLowerCase();if("defs"===r?this._isDefine=!0:"text"===r&&(this._isText=!0),this._isDefine){if(i=k[r]){var a=i.call(this,e),o=e.getAttribute("id");o&&(this._defs[o]=a)}}else(i=T[r])&&(n=i.call(this,e,t),t.add(n));for(var s=e.firstChild;s;)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===r?this._isDefine=!1:"text"===r&&(this._isText=!1)},C.prototype._parseText=function(e,t){if(1===e.nodeType){var n=e.getAttribute("dx")||0,i=e.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(i)}var r=new a({style:{text:e.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});I(t,r),E(e,r,this._defs);var o=r.style.fontSize;o&&o<9&&(r.style.fontSize=9,r.scale=r.scale||[1,1],r.scale[0]*=o/9,r.scale[1]*=o/9);var s=r.getBoundingRect();return this._textX+=s.width,t.add(r),r};var T={g:function(e,t){var n=new i;return I(t,n),E(e,n,this._defs),n},rect:function(e,t){var n=new s;return I(t,n),E(e,n,this._defs),n.setShape({x:parseFloat(e.getAttribute("x")||0),y:parseFloat(e.getAttribute("y")||0),width:parseFloat(e.getAttribute("width")||0),height:parseFloat(e.getAttribute("height")||0)}),n},circle:function(e,t){var n=new o;return I(t,n),E(e,n,this._defs),n.setShape({cx:parseFloat(e.getAttribute("cx")||0),cy:parseFloat(e.getAttribute("cy")||0),r:parseFloat(e.getAttribute("r")||0)}),n},line:function(e,t){var n=new u;return I(t,n),E(e,n,this._defs),n.setShape({x1:parseFloat(e.getAttribute("x1")||0),y1:parseFloat(e.getAttribute("y1")||0),x2:parseFloat(e.getAttribute("x2")||0),y2:parseFloat(e.getAttribute("y2")||0)}),n},ellipse:function(e,t){var n=new l;return I(t,n),E(e,n,this._defs),n.setShape({cx:parseFloat(e.getAttribute("cx")||0),cy:parseFloat(e.getAttribute("cy")||0),rx:parseFloat(e.getAttribute("rx")||0),ry:parseFloat(e.getAttribute("ry")||0)}),n},polygon:function(e,t){var n=e.getAttribute("points");n&&(n=A(n));var i=new d({shape:{points:n||[]}});return I(t,i),E(e,i,this._defs),i},polyline:function(e,t){var n=new c;I(t,n),E(e,n,this._defs);var i=e.getAttribute("points");i&&(i=A(i));var r=new h({shape:{points:i||[]}});return r},image:function(e,t){var n=new r;return I(t,n),E(e,n,this._defs),n.setStyle({image:e.getAttribute("xlink:href"),x:e.getAttribute("x"),y:e.getAttribute("y"),width:e.getAttribute("width"),height:e.getAttribute("height")}),n},text:function(e,t){var n=e.getAttribute("x")||0,r=e.getAttribute("y")||0,a=e.getAttribute("dx")||0,o=e.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(a),this._textY=parseFloat(r)+parseFloat(o);var s=new i;return I(t,s),E(e,s,this._defs),s},tspan:function(e,t){var n=e.getAttribute("x"),r=e.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var a=e.getAttribute("dx")||0,o=e.getAttribute("dy")||0,s=new i;return I(t,s),E(e,s,this._defs),this._textX+=a,this._textY+=o,s},path:function(e,t){var n=e.getAttribute("d")||"",i=m(n);return I(t,i),E(e,i,this._defs),i}},k={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||0,10),n=parseInt(e.getAttribute("y1")||0,10),i=parseInt(e.getAttribute("x2")||10,10),r=parseInt(e.getAttribute("y2")||0,10),a=new f(t,n,i,r);return function(e,t){var n=e.firstChild;for(;n;){if(1===n.nodeType){var i=n.getAttribute("offset");i=i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var r=n.getAttribute("stop-color")||"#000000";t.addColorStop(i,r)}n=n.nextSibling}}(e,a),a},radialgradient:function(e){}};function I(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),b(t.__inheritedStyle,e.__inheritedStyle))}function A(e){for(var t=_(e).split(S),n=[],i=0;i0;a-=2){var o=r[a],s=r[a-1];switch(i=i||g.create(),s){case"translate":o=_(o).split(S),g.translate(i,i,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=_(o).split(S),g.scale(i,i,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=_(o).split(S),g.rotate(i,i,parseFloat(o[0]));break;case"skew":o=_(o).split(S),console.warn("Skew transform is not supported yet");break;case"matrix":o=_(o).split(S);i[0]=parseFloat(o[0]),i[1]=parseFloat(o[1]),i[2]=parseFloat(o[2]),i[3]=parseFloat(o[3]),i[4]=parseFloat(o[4]),i[5]=parseFloat(o[5])}}t.setLocalTransform(i)}}(e,t),x(r,function(e){var t=e.getAttribute("style"),n={};if(!t)return n;var i,r={};N.lastIndex=0;for(;null!=(i=N.exec(t));)r[i[1]]=i[2];for(var a in P)P.hasOwnProperty(a)&&null!=r[a]&&(n[P[a]]=r[a]);return n}(e)),!i))for(var o in P)if(P.hasOwnProperty(o)){var s=e.getAttribute(o);null!=s&&(r[P[o]]=s)}var l=a?"textFill":"fill",u=a?"textStroke":"stroke";t.style=t.style||new p;var c=t.style;null!=r.fill&&c.set(l,L(r.fill,n)),null!=r.stroke&&c.set(u,L(r.stroke,n)),w(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(e){var t="lineWidth"===e&&a?"textStrokeWidth":e;null!=r[e]&&c.set(t,parseFloat(r[e]))})),r.textBaseline&&"auto"!==r.textBaseline||(r.textBaseline="alphabetic"),"alphabetic"===r.textBaseline&&(r.textBaseline="bottom"),"start"===r.textAlign&&(r.textAlign="left"),"end"===r.textAlign&&(r.textAlign="right"),w(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],(function(e){null!=r[e]&&c.set(e,r[e])})),r.lineDash&&(t.style.lineDash=_(r.lineDash).split(S)),c[u]&&"none"!==c[u]&&(t[u]=!0),t.__inheritedStyle=r}var D=/url\(\s*#(.*?)\)/;function L(e,t){var n=t&&e&&e.match(D);return n?t[_(n[1])]:e}var O=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;var N=/([^\s:;]+)\s*:\s*([^:;]+)/g;function R(e,t,n){var i=t/e.width,r=n/e.height,a=Math.min(i,r);return{scale:[a,a],position:[-(e.x+e.width/2)*a+t/2,-(e.y+e.height/2)*a+n/2]}}t.parseXML=M,t.makeViewBoxTransform=R,t.parseSVG=function(e,t){return(new C).parse(e,t)}},function(e,t,n){var i=n(72);t.zrender=i;var r=n(17);t.matrix=r;var a=n(9);t.vector=a;var o=n(1),s=n(26);t.color=s;var l=n(3),u=n(4);t.number=u;var c=n(8);t.format=c;var d=n(33);d.throttle;t.throttle=d.throttle;var h=n(263);t.helper=h;var f=n(157);t.parseGeoJSON=f;var p=n(20);t.List=p;var g=n(14);t.Model=g;var m=n(35);t.Axis=m;var v=n(13);t.env=v;var y=f,x={};o.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(e){x[e]=o[e]}));var b={};o.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],(function(e){b[e]=l[e]})),t.parseGeoJson=y,t.util=x,t.graphic=b},function(e,t,n){var i=n(1);var r=function(e){null!=e&&i.extend(this,e),this.otherDims={}};e.exports=r},function(e,t,n){var i=n(1),r=i.createHashMap,a=i.each,o=i.isString,s=i.defaults,l=i.extend,u=i.isObject,c=i.clone,d=n(5).normalizeToArray,h=n(30),f=h.guessOrdinal,p=h.BE_ORDINAL,g=n(61),m=n(63).OTHER_DIMENSIONS,v=n(152);function y(e,t,n){if(n||null!=t.get(e)){for(var i=0;null!=t.get(e+i);)i++;e+=i}return t.set(e,!0),e}var x=function(e,t,n){g.isInstance(t)||(t=g.seriesDataToSource(t)),n=n||{},e=(e||[]).slice();for(var i=(n.dimsDef||[]).slice(),h=r(),x=r(),b=[],_=function(e,t,n,i){var r=Math.max(e.dimensionsDetectCount||1,t.length,n.length,i||0);return a(t,(function(e){var t=e.dimsDef;t&&(r=Math.max(r,t.length))})),r}(t,e,i,n.dimCount),w=0;w<_;w++){var S=i[w]=l({},u(i[w])?i[w]:{name:i[w]}),M=S.name,C=b[w]=new v;null!=M&&null==h.get(M)&&(C.name=C.displayName=M,h.set(M,w)),null!=S.type&&(C.type=S.type),null!=S.displayName&&(C.displayName=S.displayName)}var T=n.encodeDef;!T&&n.encodeDefaulter&&(T=n.encodeDefaulter(t,_)),(T=r(T)).each((function(e,t){if(1===(e=d(e).slice()).length&&!o(e[0])&&e[0]<0)T.set(t,!1);else{var n=T.set(t,[]);a(e,(function(e,i){o(e)&&(e=h.get(e)),null!=e&&e<_&&(n[i]=e,I(b[e],t,i))}))}}));var k=0;function I(e,t,n){null!=m.get(t)?e.otherDims[t]=n:(e.coordDim=t,e.coordDimIndex=n,x.set(t,!0))}a(e,(function(e,t){var n,i,r;if(o(e))n=e,e={};else{n=e.name;var l=e.ordinalMeta;e.ordinalMeta=null,(e=c(e)).ordinalMeta=l,i=e.dimsDef,r=e.otherDims,e.name=e.coordDim=e.coordDimIndex=e.dimsDef=e.otherDims=null}if(!1!==(h=T.get(n))){var h;if(!(h=d(h)).length)for(var f=0;f<(i&&i.length||1);f++){for(;ke[1]&&(e[0]=e[1])}t.intervalScaleNiceTicks=function(e,t,n,o){var l={},u=e[1]-e[0],c=l.interval=i.nice(u/t,!0);null!=n&&co&&(c=l.interval=o);var d=l.intervalPrecision=a(c);return s(l.niceTickExtent=[r(Math.ceil(e[0]/c)*c,d),r(Math.floor(e[1]/c)*c,d)],e),l},t.getIntervalPrecision=a,t.fixExtent=s},function(e,t,n){var i=n(1),r=n(79),a=n(4),o=n(80),s=r.prototype,l=o.prototype,u=a.getPrecisionSafe,c=a.round,d=Math.floor,h=Math.ceil,f=Math.pow,p=Math.log,g=r.extend({type:"log",base:10,$constructor:function(){r.apply(this,arguments),this._originalScale=new o},getTicks:function(e){var t=this._originalScale,n=this._extent,r=t.getExtent();return i.map(l.getTicks.call(this,e),(function(e){var i=a.round(f(this.base,e));return i=e===n[0]&&t.__fixMin?m(i,r[0]):i,i=e===n[1]&&t.__fixMax?m(i,r[1]):i}),this)},getMinorTicks:l.getMinorTicks,getLabel:l.getLabel,scale:function(e){return e=s.scale.call(this,e),f(this.base,e)},setExtent:function(e,t){var n=this.base;e=p(e)/p(n),t=p(t)/p(n),l.setExtent.call(this,e,t)},getExtent:function(){var e=this.base,t=s.getExtent.call(this);t[0]=f(e,t[0]),t[1]=f(e,t[1]);var n=this._originalScale,i=n.getExtent();return n.__fixMin&&(t[0]=m(t[0],i[0])),n.__fixMax&&(t[1]=m(t[1],i[1])),t},unionExtent:function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=p(e[0])/p(t),e[1]=p(e[1])/p(t),s.unionExtent.call(this,e)},unionExtentFromData:function(e,t){this.unionExtent(e.getApproximateExtent(t))},niceTicks:function(e){e=e||10;var t=this._extent,n=t[1]-t[0];if(!(n===1/0||n<=0)){var i=a.quantity(n);for(e/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var r=[a.round(h(t[0]/i)*i),a.round(d(t[1]/i)*i)];this._interval=i,this._niceExtent=r}},niceExtent:function(e){l.niceExtent.call(this,e);var t=this._originalScale;t.__fixMin=e.fixMin,t.__fixMax=e.fixMax}});function m(e,t){return c(e,u(t))}i.each(["contain","normalize"],(function(e){g.prototype[e]=function(t){return t=p(t)/p(this.base),s[e].call(this,t)}})),g.create=function(){return new g};var v=g;e.exports=v},function(e,t,n){var i=n(1),r=n(158);function a(e,t,n){for(var i=[],r=t[0],a=t[1],o=0;o>1^-(1&s),l=l>>1^-(1&l),r=s+=r,a=l+=a,i.push([s/n,l/n])}return i}e.exports=function(e,t){return function(e){if(!e.UTF8Encoding)return e;var t=e.UTF8Scale;null==t&&(t=1024);for(var n=e.features,i=0;i0})),(function(e){var n=e.properties,a=e.geometry,o=a.coordinates,s=[];"Polygon"===a.type&&s.push({type:"polygon",exterior:o[0],interiors:o.slice(1)}),"MultiPolygon"===a.type&&i.each(o,(function(e){e[0]&&s.push({type:"polygon",exterior:e[0],interiors:e.slice(1)})}));var l=new r(n[t||"name"],s,n.cp);return l.properties=n,l}))}},function(e,t,n){var i=n(10),r=n(59),a=n(9),o=n(159);function s(e,t,n){if(this.name=e,this.geometries=t,n)n=[n[0],n[1]];else{var i=this.getBoundingRect();n=[i.x+i.width/2,i.y+i.height/2]}this.center=n}s.prototype={constructor:s,properties:null,getBoundingRect:function(){var e=this._rect;if(e)return e;for(var t=Number.MAX_VALUE,n=[t,t],o=[-t,-t],s=[],l=[],u=this.geometries,c=0;c0?n=i[0]:i[1]<0&&(n=i[1]);return n}(s,n),u=o.dim,c=s.dim,d=t.mapDimension(c),h=t.mapDimension(u),f="x"===c||"radius"===c?1:0,p=r(e.dimensions,(function(e){return t.mapDimension(e)})),g=t.getCalculationInfo("stackResultDimension");return(a|=i(t,p[0]))&&(p[0]=g),(a|=i(t,p[1]))&&(p[1]=g),{dataDimsForPoint:p,valueStart:l,valueAxisDim:c,baseAxisDim:u,stacked:!!a,valueDim:d,baseDim:h,baseDataOffset:f,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}},t.getStackedOnPoint=function(e,t,n,i){var r=NaN;e.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=e.valueStart);var a=e.baseDataOffset,o=[];return o[a]=n.get(e.baseDim,i),o[1-a]=r,t.dataToPoint(o)}},function(e,t,n){var i=n(12),r=n(9),a=n(142),o=r.min,s=r.max,l=r.scaleAndAdd,u=r.copy,c=[],d=[],h=[];function f(e){return isNaN(e[0])||isNaN(e[1])}function p(e,t,n,i,r,a,o,s,l,u,c){return"none"!==u&&u?g.apply(this,arguments):m.apply(this,arguments)}function g(e,t,n,i,r,a,o,s,l,c,p){for(var g=0,m=n,v=0;v=r||m<0)break;if(f(y)){if(p){m+=a;continue}break}if(m===n)e[a>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var x=t[g],b="y"===c?1:0,_=(y[b]-x[b])*l;u(d,x),d[b]=x[b]+_,u(h,y),h[b]=y[b]-_,e.bezierCurveTo(d[0],d[1],h[0],h[1],y[0],y[1])}else e.lineTo(y[0],y[1]);g=m,m+=a}return v}function m(e,t,n,i,a,p,g,m,v,y,x){for(var b=0,_=n,w=0;w=a||_<0)break;if(f(S)){if(x){_+=p;continue}break}if(_===n)e[p>0?"moveTo":"lineTo"](S[0],S[1]),u(d,S);else if(v>0){var M=_+p,C=t[M];if(x)for(;C&&f(t[M]);)C=t[M+=p];var T=.5,k=t[b];if(!(C=t[M])||f(C))u(h,S);else{var I,A;if(f(C)&&!x&&(C=S),r.sub(c,C,k),"x"===y||"y"===y){var P="x"===y?0:1;I=Math.abs(S[P]-k[P]),A=Math.abs(S[P]-C[P])}else I=r.dist(S,k),A=r.dist(S,C);l(h,S,c,-v*(1-(T=A/(A+I))))}o(d,d,m),s(d,d,g),o(h,h,m),s(h,h,g),e.bezierCurveTo(d[0],d[1],h[0],h[1],S[0],S[1]),l(d,S,c,v*T)}else e.lineTo(S[0],S[1]);b=_,_+=p}return w}function v(e,t){var n=[1/0,1/0],i=[-1/0,-1/0];if(t)for(var r=0;ri[0]&&(i[0]=a[0]),a[1]>i[1]&&(i[1]=a[1])}return{min:t?n:i,max:t?i:n}}var y=i.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:a(i.prototype.brush),buildPath:function(e,t){var n=t.points,i=0,r=n.length,a=v(n,t.smoothConstraint);if(t.connectNulls){for(;r>0&&f(n[r-1]);r--);for(;i0&&f(n[a-1]);a--);for(;r=0)&&(L=e);var N=new s.Text({position:I(t.center.slice()),scale:[1/g.scale[0],1/g.scale[1]],z2:10,silent:!0});if(s.setLabelStyle(N.style,N.hoverStyle={},y,x,{labelFetcher:L,labelDataIndex:O,defaultText:t.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!v){var R=[1/f[0],1/f[1]];s.updateProps(N,{scale:R},e)}n.add(N)}if(l)l.setItemGraphicEl(a,n);else{var z=e.getRegionModel(t.name);r.eventData={componentType:"geo",componentIndex:e.componentIndex,geoIndex:e.componentIndex,name:t.name,region:z&&z.option||{}}}(n.__regions||(n.__regions=[])).push(t),n.highDownSilentOnTouch=!!e.get("selectedMode"),s.setHoverStyle(n,m),p.add(n)})),this._updateController(e,t,n),function(e,t,n,r,a){n.off("click"),n.off("mousedown"),t.get("selectedMode")&&(n.on("mousedown",(function(){e._mouseDownFlag=!0})),n.on("click",(function(o){if(e._mouseDownFlag){e._mouseDownFlag=!1;for(var s=o.target;!s.__regions;)s=s.parent;if(s){var l={type:("geo"===t.mainType?"geo":"map")+"ToggleSelect",batch:i.map(s.__regions,(function(e){return{name:e.name,from:a.uid}}))};l[t.mainType+"Id"]=t.id,r.dispatchAction(l),h(t,n)}}})))}(this,e,p,n,r),h(e,p)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&l.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(e){var t=e.map;this._mapName!==t&&i.each(l.makeGraphic(t,this.uid),(function(e){this._backgroundGroup.add(e)}),this),this._mapName=t},_updateController:function(e,t,n){var r=e.coordinateSystem,s=this._controller,l=this._controllerHost;l.zoomLimit=e.get("scaleLimit"),l.zoom=r.getZoom(),s.enable(e.get("roam")||!1);var u=e.mainType;function c(){var t={type:"geoRoam",componentType:u};return t[u+"Id"]=e.id,t}s.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,a.updateViewOnPan(l,e.dx,e.dy),n.dispatchAction(i.extend(c(),{dx:e.dx,dy:e.dy}))}),this),s.off("zoom").on("zoom",(function(e){if(this._mouseDownFlag=!1,a.updateViewOnZoom(l,e.scale,e.originX,e.originY),n.dispatchAction(i.extend(c(),{zoom:e.scale,originX:e.originX,originY:e.originY})),this._updateGroup){var t=this.group.scale;this._regionsGroup.traverse((function(e){"text"===e.type&&e.attr("scale",[1/t[0],1/t[1]])}))}}),this),s.setPointerChecker((function(t,i,a){return r.getViewRectAfterRoam().contain(i,a)&&!o(t,n,e)}))}};var p=f;e.exports=p},function(e,t,n){var i=n(2),r="\0_ec_interaction_mutex";function a(e){return e[r]||(e[r]={})}i.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),t.take=function(e,t,n){a(e)[t]=n},t.release=function(e,t,n){var i=a(e);i[t]===n&&(i[t]=null)},t.isTaken=function(e,t){return!!a(e)[t]}},function(e,t,n){var i=n(2),r=n(1),a=n(104).updateCenterAndZoom;i.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},(function(t){var i=t.coordinateSystem;if("geo"===i.type){var o=a(i,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom),"series"===n&&r.each(t.seriesGroup,(function(e){e.setCenter(o.center),e.setZoom(o.zoom)}))}}))}))},function(e,t,n){var i=n(1),r=i.each,a="\0__link_datas",o="\0__link_mainData";function s(e,t){if((r=this)[o]===r){var n=i.extend({},this[a]);n[this.dataType]=t,d(t,n,e)}else h(t,this.dataType,this[o],e);var r;return t}function l(e,t){return e.struct&&e.struct.update(this),t}function u(e,t){return r(t[a],(function(n,i){n!==t&&h(n.cloneShallow(),i,t,e)})),t}function c(e){var t=this[o];return null==e||null==t?t:t[a][e]}function d(e,t,n){e[a]={},r(t,(function(t,i){h(t,i,e,n)}))}function h(e,t,n,i){n[a][t]=e,e[o]=n,e.dataType=t,i.struct&&(e[i.structAttr]=i.struct,i.struct[i.datasAttr[t]]=e),e.getLinkedData=c}var f=function(e){var t=e.mainData,n=e.datas;n||(n={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,d(t,n,e),r(n,(function(n){r(t.TRANSFERABLE_METHODS,(function(t){n.wrapMethod(t,i.curry(s,e))}))})),t.wrapMethod("cloneShallow",i.curry(u,e)),r(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,i.curry(l,e))})),i.assert(n[t.dataType]===t)};e.exports=f},function(e,t,n){var i=n(7);function r(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function a(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function o(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function s(e,t,n){var i=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=i,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=i}function l(e,t){return e.parentNode===t.parentNode?1:2}t.init=function(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var t,n,i=[e];t=i.pop();)if(n=t.children,t.isExpand&&n.length)for(var r=n.length-1;r>=0;r--){var a=n[r];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:r,thread:null},i.push(a)}},t.firstWalk=function(e,t){var n=e.isExpand?e.children:[],i=e.parentNode.children,l=e.hierNode.i?i[e.hierNode.i-1]:null;if(n.length){!function(e){var t=e.children,n=t.length,i=0,r=0;for(;--n>=0;){var a=t[n];a.hierNode.prelim+=i,a.hierNode.modifier+=i,r+=a.hierNode.change,i+=a.hierNode.shift+r}}(e);var u=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;l?(e.hierNode.prelim=l.hierNode.prelim+t(e,l),e.hierNode.modifier=e.hierNode.prelim-u):e.hierNode.prelim=u}else l&&(e.hierNode.prelim=l.hierNode.prelim+t(e,l));e.parentNode.hierNode.defaultAncestor=function(e,t,n,i){if(t){for(var l=e,u=e,c=u.parentNode.children[0],d=t,h=l.hierNode.modifier,f=u.hierNode.modifier,p=c.hierNode.modifier,g=d.hierNode.modifier;d=r(d),u=a(u),d&&u;){l=r(l),c=a(c),l.hierNode.ancestor=e;var m=d.hierNode.prelim+g-u.hierNode.prelim-f+i(d,u);m>0&&(s(o(d,e,n),e,m),f+=m,h+=m),g+=d.hierNode.modifier,f+=u.hierNode.modifier,h+=l.hierNode.modifier,p+=c.hierNode.modifier}d&&!r(l)&&(l.hierNode.thread=d,l.hierNode.modifier+=g-h),u&&!a(c)&&(c.hierNode.thread=u,c.hierNode.modifier+=f-p,n=e)}return n}(e,l,e.parentNode.hierNode.defaultAncestor||i[0],t)},t.secondWalk=function(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier},t.separation=function(e){return arguments.length?e:l},t.radialCoordinate=function(e,t){var n={};return e-=Math.PI/2,n.x=t*Math.cos(e),n.y=t*Math.sin(e),n},t.getViewRect=function(e,t){return i.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}},function(e,t,n){var i=n(1),r=n(20),a=n(333),o=n(172),s=n(51),l=n(22),u=n(31);e.exports=function(e,t,n,c,d){for(var h=new a(c),f=0;f "+x)),m++)}var b,_=n.get("coordinateSystem");if("cartesian2d"===_||"polar"===_)b=u(e,n);else{var w=l.get(_),S=w&&"view"!==w.type&&w.dimensions||[];i.indexOf(S,"value")<0&&S.concat(["value"]);var M=s(e,{coordDimensions:S});(b=new r(M,n)).initData(e)}var C=new r(["value"],n);return C.initData(g,p),d&&d(b,C),o({mainData:b,struct:h,structAttr:"graph",datas:{node:b,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),h.update(),h}},function(e,t,n){var i=n(2);i.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),i.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){}))},function(e,t,n){var i=n(9);function r(e){e.eachEdge((function(e){var t=e.getModel().get("lineStyle.curveness")||0,n=i.clone(e.node1.getLayout()),r=i.clone(e.node2.getLayout()),a=[n,r];+t&&a.push([(n[0]+r[0])/2-(n[1]-r[1])*t,(n[1]+r[1])/2-(r[0]-n[0])*t]),e.setLayout(a)}))}t.simpleLayout=function(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var n=e.getGraph();n.eachNode((function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])})),r(n)}},t.simpleLayoutEdge=r},function(e,t,n){var i=n(9),r=n(110),a=r.getSymbolSize,o=r.getNodeGlobalScale,s=Math.PI,l=[];var u={value:function(e,t,n,i,r,a,o,s){var l=0,u=i.getSum("value"),c=2*Math.PI/(u||s);n.eachNode((function(e){var t=e.getValue("value"),n=c*(u?t:1)/2;l+=n,e.setLayout([r*Math.cos(l)+a,r*Math.sin(l)+o]),l+=n}))},symbolSize:function(e,t,n,i,r,u,c,d){var h=0;l.length=d;var f=o(e);n.eachNode((function(e){var t=a(e);isNaN(t)&&(t=2),t<0&&(t=0),t*=f;var n=Math.asin(t/2/r);isNaN(n)&&(n=s/2),l[e.dataIndex]=n,h+=2*n}));var p=(2*s-h)/d/2,g=0;n.eachNode((function(e){var t=p+l[e.dataIndex];g+=t,e.setLayout([r*Math.cos(g)+u,r*Math.sin(g)+c]),g+=t}))}};t.circularLayout=function(e,t){var n=e.coordinateSystem;if(!n||"view"===n.type){var r=n.getBoundingRect(),a=e.getData(),o=a.graph,s=r.width/2+r.x,l=r.height/2+r.y,c=Math.min(r.width,r.height)/2,d=a.count();a.setLayout({cx:s,cy:l}),d&&(u[t](e,n,o,a,c,s,l,d),o.eachEdge((function(e){var t,n=e.getModel().get("lineStyle.curveness")||0,r=i.clone(e.node1.getLayout()),a=i.clone(e.node2.getLayout()),o=(r[0]+a[0])/2,u=(r[1]+a[1])/2;+n&&(t=[s*(n*=3)+o*(1-n),l*n+u*(1-n)]),e.setLayout([r,a,t])})))}}},function(e,t,n){var i=n(2),r=n(1),a=n(33),o=n(355);n(179),n(358),n(360);i.extendComponentView({type:"parallel",render:function(e,t,n){this._model=e,this._api=n,this._handlers||(this._handlers={},r.each(s,(function(e,t){n.getZr().on(t,this._handlers[t]=r.bind(e,this))}),this)),a.createOrUpdate(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},dispose:function(e,t){r.each(this._handlers,(function(e,n){t.getZr().off(n,e)})),this._handlers=null},_throttledDispatchExpand:function(e){this._dispatchExpand(e)},_dispatchExpand:function(e){e&&this._api.dispatchAction(r.extend({type:"parallelAxisExpand"},e))}});var s={mousedown:function(e){l(this,"click")&&(this._mouseDownPoint=[e.offsetX,e.offsetY])},mouseup:function(e){var t=this._mouseDownPoint;if(l(this,"click")&&t){var n=[e.offsetX,e.offsetY];if(Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2)>5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&l(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i&&null})}}};function l(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}i.registerPreprocessor(o)},function(e,t,n){var i=n(356);n(22).register("parallel",{create:function(e,t){var n=[];return e.eachComponent("parallel",(function(r,a){var o=new i(r,e,t);o.name="parallel_"+a,o.resize(r,t),r.coordinateSystem=o,o.model=r,n.push(o)})),e.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=n.coordinateSystem}})),n}})},function(e,t,n){var i=n(10),r=n(87).onIrrelevantElement,a=n(3);function o(e){return i.create(e)}t.makeRectPanelClipPath=function(e){return e=o(e),function(t,n){return a.clipPointsByRect(t,e)}},t.makeLinearBrushOtherExtent=function(e,t){return e=o(e),function(n){var i=null!=t?t:n,r=i?e.width:e.height,a=i?e.x:e.y;return[a,a+(r||0)]}},t.makeRectIsTargetByCursor=function(e,t,n){return e=o(e),function(i,a,o){return e.contain(a[0],a[1])&&!r(i,t,n)}}},function(e,t,n){var i=n(53),r=n(1),a=n(63).getDimensionTypeByAxis,o=n(30).makeSeriesEncodeForAxisCoordSys,s={_baseAxisDim:null,getInitialData:function(e,t){var n,s,l=t.getComponent("xAxis",this.get("xAxisIndex")),u=t.getComponent("yAxis",this.get("yAxisIndex")),c=l.get("type"),d=u.get("type");"category"===c?(e.layout="horizontal",n=l.getOrdinalMeta(),s=!0):"category"===d?(e.layout="vertical",n=u.getOrdinalMeta(),s=!0):e.layout=e.layout||"horizontal";var h=["x","y"],f="horizontal"===e.layout?0:1,p=this._baseAxisDim=h[f],g=h[1-f],m=[l,u],v=m[f].get("type"),y=m[1-f].get("type"),x=e.data;if(x&&s){var b=[];r.each(x,(function(e,t){var n;e.value&&r.isArray(e.value)?(n=e.value.slice(),e.value.unshift(t)):r.isArray(e)?(n=e.slice(),e.unshift(t)):n=e,b.push(n)})),e.data=b}var _=this.defaultValueDimensions,w=[{name:p,type:a(v),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:g,type:a(y),dimsDef:_.slice()}];return i(this,{coordDimensions:w,dimensionsCount:_.length+1,encodeDefaulter:r.curry(o,w,this)})},getBaseAxis:function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis}};t.seriesModelMixin=s},function(e,t,n){var i=n(3),r=n(109),a=n(1),o=n(21).createSymbol,s=n(9),l=n(32);function u(e,t,n){i.Group.call(this),this.add(this.createLine(e,t,n)),this._updateEffectSymbol(e,t)}var c=u.prototype;c.createLine=function(e,t,n){return new r(e,t,n)},c._updateEffectSymbol=function(e,t){var n=e.getItemModel(t).getModel("effect"),i=n.get("symbolSize"),r=n.get("symbol");a.isArray(i)||(i=[i,i]);var s=n.get("color")||e.getItemVisual(t,"color"),l=this.childAt(1);this._symbolType!==r&&(this.remove(l),(l=o(r,-.5,-.5,1,1,s)).z2=100,l.culling=!0,this.add(l)),l&&(l.setStyle("shadowColor",s),l.setStyle(n.getItemStyle(["color"])),l.attr("scale",i),l.setColor(s),l.attr("scale",i),this._symbolType=r,this._symbolScale=i,this._updateEffectAnimation(e,n,t))},c._updateEffectAnimation=function(e,t,n){var i=this.childAt(1);if(i){var r=this,o=e.getItemLayout(n),s=1e3*t.get("period"),l=t.get("loop"),u=t.get("constantSpeed"),c=a.retrieve(t.get("delay"),(function(t){return t/e.count()*s/3})),d="function"===typeof c;if(i.ignore=!0,this.updateAnimationPoints(i,o),u>0&&(s=this.getLineLength(i)/u*1e3),s!==this._period||l!==this._loop){i.stopAnimation();var h=c;d&&(h=c(n)),i.__t>0&&(h=-s*i.__t),i.__t=0;var f=i.animate("",l).when(s,{__t:1}).delay(h).during((function(){r.updateSymbolPosition(i)}));l||f.done((function(){r.remove(i)})),f.start()}this._period=s,this._loop=l}},c.getLineLength=function(e){return s.dist(e.__p1,e.__cp1)+s.dist(e.__cp1,e.__p2)},c.updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},c.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},c.updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,i=e.__cp1,r=e.__t,a=e.position,o=[a[0],a[1]],u=l.quadraticAt,c=l.quadraticDerivativeAt;a[0]=u(t[0],i[0],n[0],r),a[1]=u(t[1],i[1],n[1],r);var d=c(t[0],i[0],n[0],r),h=c(t[1],i[1],n[1],r);if(e.rotation=-Math.atan2(h,d)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==e.__lastT&&e.__lastT=0)&&e(a,i,r)}))}var f=h.prototype;function p(e){return e[0]>e[1]&&e.reverse(),e}function g(e,t){return a.parseFinder(e,t,{includeMainTypes:d})}f.setOutputRanges=function(e,t){this.matchOutputRanges(e,t,(function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var i=x[e.brushType](0,n,t);e.__rangeOffset={offset:_[e.brushType](i.values,e.range,[1,1]),xyMinMax:i.xyMinMax}}}))},f.matchOutputRanges=function(e,t,n){s(e,(function(e){var r=this.findTargetInfo(e,t);r&&!0!==r&&i.each(r.coordSyses,(function(i){var r=x[e.brushType](1,i,e.range);n(e,r.values,i,t)}))}),this)},f.setInputRanges=function(e,t){s(e,(function(e){var n=this.findTargetInfo(e,t);if(e.range=e.range||[],n&&!0!==n){e.panelId=n.panelId;var i=x[e.brushType](0,n.coordSys,e.coordRange),r=e.__rangeOffset;e.range=r?_[e.brushType](i.values,r.offset,function(e,t){var n=S(e),i=S(t),r=[n[0]/i[0],n[1]/i[1]];return isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r}(i.xyMinMax,r.xyMinMax)):i.values}}),this)},f.makePanelOpts=function(e,t){return i.map(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t&&t(n),clipPath:o.makeRectPanelClipPath(i),isTargetByCursor:o.makeRectIsTargetByCursor(i,e,n.coordSysModel),getLinearBrushOtherExtent:o.makeLinearBrushOtherExtent(i)}}))},f.controlSeries=function(e,t,n){var i=this.findTargetInfo(e,n);return!0===i||i&&l(i.coordSyses,t.coordinateSystem)>=0},f.findTargetInfo=function(e,t){for(var n=this._targetInfoList,i=g(t,e),r=0;r=0||l(r,e.getAxis("y").model)>=0)&&a.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:a[0],coordSyses:a,getPanelRect:y.grid,xAxisDeclared:u[e.id],yAxisDeclared:c[e.id]})})))},geo:function(e,t){s(e.geoModels,(function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:y.geo})}))}},v=[function(e,t){var n=e.xAxisModel,i=e.yAxisModel,r=e.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],y={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(r.getTransform(e)),t}},x={lineX:u(b,0),lineY:u(b,1),rect:function(e,t,n){var i=t[c[e]]([n[0][0],n[1][0]]),r=t[c[e]]([n[0][1],n[1][1]]),a=[p([i[0],r[0]]),p([i[1],r[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,n){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:i.map(n,(function(n){var i=t[c[e]](n);return r[0][0]=Math.min(r[0][0],i[0]),r[1][0]=Math.min(r[1][0],i[1]),r[0][1]=Math.max(r[0][1],i[0]),r[1][1]=Math.max(r[1][1],i[1]),i})),xyMinMax:r}}};function b(e,t,n,r){var a=n.getAxis(["x","y"][e]),o=p(i.map([0,1],(function(e){return t?a.coordToData(a.toLocalCoord(r[e])):a.toGlobalCoord(a.dataToCoord(r[e]))}))),s=[];return s[e]=o,s[1-e]=[NaN,NaN],{values:o,xyMinMax:s}}var _={lineX:u(w,0),lineY:u(w,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return i.map(e,(function(e,i){return[e[0]-n[0]*t[i][0],e[1]-n[1]*t[i][1]]}))}};function w(e,t,n,i){return[t[0]-i[e]*n[0],t[1]-i[e]*n[1]]}function S(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var M=h;e.exports=M},function(e,t,n){var i=n(1).each,r="\0_ec_hist_store";function a(e){var t=e[r];return t||(t=e[r]=[{}]),t}t.push=function(e,t){var n=a(e);i(t,(function(t,i){for(var r=n.length-1;r>=0;r--){if(n[r][i])break}if(r<0){var a=e.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(a){var o=a.getPercentRange();n[0][i]={dataZoomId:i,start:o[0],end:o[1]}}}})),n.push(t)},t.pop=function(e){var t=a(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return i(n,(function(e,n){for(var i=t.length-1;i>=0;i--){if(e=t[i][n]){r[n]=e;break}}})),r},t.clear=function(e){e[r]=null},t.count=function(e){return a(e).length}},function(e,t,n){var i=n(2),r=n(1),a=n(10),o=n(89),s=n(466),l=n(33),u=n(191),c=["inBrush","outOfBrush"],d=i.PRIORITY.VISUAL.BRUSH;function h(e){e.eachComponent({mainType:"brush"},(function(t){(t.brushTargetManager=new u(t.option,e)).setInputRanges(t.areas,e)}))}function f(e,t){if(!e.isDisposed()){var n=e.getZr();n.__ecInBrushSelectEvent=!0,e.dispatchAction({type:"brushSelect",batch:t}),n.__ecInBrushSelectEvent=!1}}function p(e,t,n,i){for(var r=0,a=t.length;rt[0][1]&&(t[0][1]=a[0]),a[1]t[1][1]&&(t[1][1]=a[1])}return t&&v(t)}};function v(e){return new a(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}t.layoutCovers=h},function(e,t,n){var i=n(2);n(195),n(491),n(196);var r=n(492),a=n(15);i.registerProcessor(i.PRIORITY.PROCESSOR.SERIES_FILTER,r),a.registerSubTypeDefaulter("legend",(function(){return"plain"}))},function(e,t,n){var i=n(2),r=n(1),a=n(14),o=n(5).isNameSpecified,s=n(34).legend.selector,l={all:{type:"all",title:r.clone(s.all)},inverse:{type:"inverse",title:r.clone(s.inverse)}},u=i.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{},this._updateSelector(e)},mergeOption:function(e){u.superCall(this,"mergeOption",e),this._updateSelector(e)},_updateSelector:function(e){var t=e.selector;!0===t&&(t=e.selector=["all","inverse"]),r.isArray(t)&&r.each(t,(function(e,n){r.isString(e)&&(e={type:e}),t[n]=r.merge(e,l[e.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,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,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},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}}}),c=u;e.exports=c},function(e,t,n){n(6).__DEV__;var i=n(2),r=n(1),a=n(21).createSymbol,o=n(3),s=n(190).makeBackground,l=n(7),u=r.curry,c=r.each,d=o.Group,h=i.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new d),this._backgroundEl,this.group.add(this._selectorGroup=new d),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(e,t,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var a=e.get("align"),o=e.get("orient");a&&"auto"!==a||(a="right"===e.get("left")&&"vertical"===o?"right":"left");var u=e.get("selector",!0),c=e.get("selectorPosition",!0);!u||c&&"auto"!==c||(c="horizontal"===o?"end":"start"),this.renderInner(a,e,t,n,u,o,c);var d=e.getBoxLayoutParams(),h={width:n.getWidth(),height:n.getHeight()},f=e.get("padding"),p=l.getLayoutRect(d,h,f),g=this.layoutInner(e,a,p,i,u,c),m=l.getLayoutRect(r.defaults({width:g.width,height:g.height},d),h,f);this.group.attr("position",[m.x-g.x,m.y-g.y]),this.group.add(this._backgroundEl=s(g,e))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(e,t,n,i,a,o,s){var l=this.getContentGroup(),h=r.createHashMap(),f=t.get("selectedMode"),v=[];n.eachRawSeries((function(e){!e.get("legendHoverLink")&&v.push(e.id)})),c(t.getData(),(function(r,a){var o=r.get("name");if(this.newlineDisabled||""!==o&&"\n"!==o){var s=n.getSeriesByName(o)[0];if(!h.get(o))if(s){var c=s.getData(),y=c.getVisual("color"),x=c.getVisual("borderColor");"function"===typeof y&&(y=y(s.getDataParams(0))),"function"===typeof x&&(x=x(s.getDataParams(0)));var b=c.getVisual("legendSymbol")||"roundRect",_=c.getVisual("symbol");this._createItem(o,a,r,t,b,_,e,y,x,f).on("click",u(p,o,null,i,v)).on("mouseover",u(g,s.name,null,i,v)).on("mouseout",u(m,s.name,null,i,v)),h.set(o,!0)}else n.eachRawSeries((function(n){if(!h.get(o)&&n.legendVisualProvider){var s=n.legendVisualProvider;if(!s.containName(o))return;var l=s.indexOfName(o),c=s.getItemVisual(l,"color"),d=s.getItemVisual(l,"borderColor");this._createItem(o,a,r,t,"roundRect",null,e,c,d,f).on("click",u(p,null,o,i,v)).on("mouseover",u(g,null,o,i,v)).on("mouseout",u(m,null,o,i,v)),h.set(o,!0)}}),this)}else l.add(new d({newline:!0}))}),this),a&&this._createSelector(a,t,i,o,s)},_createSelector:function(e,t,n,i,r){var a=this.getSelectorGroup();c(e,(function(e){!function(e){var i=e.type,r=new o.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});a.add(r);var s=t.getModel("selectorLabel"),l=t.getModel("emphasis.selectorLabel");o.setLabelStyle(r.style,r.hoverStyle={},s,l,{defaultText:e.title,isRectText:!1}),o.setHoverStyle(r)}(e)}))},_createItem:function(e,t,n,i,s,l,u,c,h,p){var g=i.get("itemWidth"),m=i.get("itemHeight"),v=i.get("inactiveColor"),y=i.get("inactiveBorderColor"),x=i.get("symbolKeepAspect"),b=i.getModel("itemStyle"),_=i.isSelected(e),w=new d,S=n.getModel("textStyle"),M=n.get("icon"),C=n.getModel("tooltip"),T=C.parentModel,k=a(s=M||s,0,0,g,m,_?c:v,null==x||x);if(w.add(f(k,s,b,h,y,_)),!M&&l&&(l!==s||"none"===l)){var I=.8*m;"none"===l&&(l="circle");var A=a(l,(g-I)/2,(m-I)/2,I,I,_?c:v,null==x||x);w.add(f(A,l,b,h,y,_))}var P="left"===u?g+5:-5,E=u,D=i.get("formatter"),L=e;"string"===typeof D&&D?L=D.replace("{name}",null!=e?e:""):"function"===typeof D&&(L=D(e)),w.add(new o.Text({style:o.setTextStyle({},S,{text:L,x:P,y:m/2,textFill:_?S.getTextColor():v,textAlign:E,textVerticalAlign:"middle"})}));var O=new o.Rect({shape:w.getBoundingRect(),invisible:!0,tooltip:C.get("show")?r.extend({content:e,formatter:T.get("formatter",!0)||function(){return e},formatterParams:{componentType:"legend",legendIndex:i.componentIndex,name:e,$vars:["name"]}},C.option):null});return w.add(O),w.eachChild((function(e){e.silent=!0})),O.silent=!p,this.getContentGroup().add(w),o.setHoverStyle(w),w.__legendDataIndex=t,w},layoutInner:function(e,t,n,i,r,a){var o=this.getContentGroup(),s=this.getSelectorGroup();l.box(e.get("orient"),o,e.get("itemGap"),n.width,n.height);var u=o.getBoundingRect(),c=[-u.x,-u.y];if(r){l.box("horizontal",s,e.get("selectorItemGap",!0));var d=s.getBoundingRect(),h=[-d.x,-d.y],f=e.get("selectorButtonGap",!0),p=e.getOrient().index,g=0===p?"width":"height",m=0===p?"height":"width",v=0===p?"y":"x";"end"===a?h[p]+=u[g]+f:c[p]+=d[g]+f,h[1-p]+=u[m]/2-d[m]/2,s.attr("position",h),o.attr("position",c);var y={x:0,y:0};return y[g]=u[g]+f+d[g],y[m]=Math.max(u[m],d[m]),y[v]=Math.min(0,d[v]+h[1-p]),y}return o.attr("position",c),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function f(e,t,n,i,r,a){var o;return"line"!==t&&t.indexOf("empty")<0?(o=n.getItemStyle(),e.style.stroke=i,a||(o.stroke=r)):o=n.getItemStyle(["borderWidth","borderColor"]),e.setStyle(o)}function p(e,t,n,i){m(e,t,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),g(e,t,n,i)}function g(e,t,n,i){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:i})}function m(e,t,n,i){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:i})}e.exports=h},function(e,t,n){n(114),n(55),n(56),n(497),n(498),n(116),n(117)},function(e,t,n){n(114),n(55),n(56),n(499),n(500),n(116),n(117)},function(e,t,n){var i=n(2),r=n(200);n(201),n(202),n(503),n(504),n(207),i.registerPreprocessor(r)},function(e,t,n){var i=n(1),r=i.each;function a(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}e.exports=function(e){var t=e&&e.visualMap;i.isArray(t)||(t=t?[t]:[]),r(t,(function(e){if(e){a(e,"splitList")&&!a(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&i.isArray(t)&&r(t,(function(e){i.isObject(e)&&(a(e,"start")&&!a(e,"min")&&(e.min=e.start),a(e,"end")&&!a(e,"max")&&(e.max=e.end))}))}}))}},function(e,t,n){n(15).registerSubTypeDefaulter("visualMap",(function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"}))},function(e,t,n){var i=n(2),r=n(1),a=n(89),o=n(46),s=i.PRIORITY.VISUAL.COMPONENT;function l(e,t,n,i){for(var r=t.targetVisuals[i],a=o.prepareVisualTypes(r),s={color:e.getData().getVisual("color")},l=0,u=a.length;l"],r.isArray(e)&&(e=e.slice(),i=!0),a=t?e:i?[c(e[0]),c(e[1])]:c(e),r.isString(u)?u.replace("{value}",i?a[0]:a).replace("{value2}",i?a[1]:a):r.isFunction(u)?i?u(e[0],e[1]):u(e):i?e[0]===l[0]?n[0]+" "+a[1]:e[1]===l[1]?n[1]+" "+a[0]:a[0]+" - "+a[1]:a;function c(e){return e===l[0]?"min":e===l[1]?"max":(+e).toFixed(Math.min(s,20))}},resetExtent:function(){var e=this.option,t=g([e.min,e.max]);this._dataExtent=t},getDataDimension:function(e){var t=this.option.dimension,n=e.dimensions;if(null!=t||n.length){if(null!=t)return e.getDimension(t);for(var i=e.dimensions,r=i.length-1;r>=0;r--){var a=i[r];if(!e.getDimensionInfo(a).isCalculationCoord)return a}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},i=t.target||(t.target={}),a=t.controller||(t.controller={});r.merge(i,n),r.merge(a,n);var l=this.isCategory();function u(n){f(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get("gradientColor")},p(this.stateList,(function(e){var t=n[e];if(r.isString(t)){var i=o.get(t,"active",l);i?(n[e]={},n[e][t]=i):delete n[e]}}),this)}u.call(this,i),u.call(this,a),function(e,t,n){var i=e[t],r=e[n];i&&!r&&(r=e[n]={},p(i,(function(e,t){if(s.isValidType(t)){var n=o.get(t,"inactive",l);null!=n&&(r[t]=n,"color"!==t||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,i=this.get("inactiveColor");p(this.stateList,(function(a){var o=this.itemSize,s=e[a];s||(s=e[a]={color:l?i:[i]}),null==s.symbol&&(s.symbol=t&&r.clone(t)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&r.clone(n)||(l?o[0]:[o[0],o[0]])),s.symbol=d(s.symbol,(function(e){return"none"===e||"square"===e?"roundRect":e}));var u=s.symbolSize;if(null!=u){var c=-1/0;h(u,(function(e){e>c&&(c=e)})),s.symbolSize=d(u,(function(e){return m(e,[0,c],[0,o[0]],!0)}))}}),this)}.call(this,a)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v});e.exports=y},function(e,t,n){var i=n(1),r={get:function(e,t,n){var r=i.clone((a[e]||{})[t]);return n&&i.isArray(r)?r[r.length-1]:r}},a={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]}},o=r;e.exports=o},function(e,t,n){var i=n(2),r=n(1),a=n(3),o=n(8),s=n(7),l=n(46),u=i.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(e,t){this.ecModel=e,this.api=t,this.visualMapModel},render:function(e,t,n,i){this.visualMapModel=e,!1!==e.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(e){var t=this.visualMapModel,n=o.normalizeCssArray(t.get("padding")||0),i=e.getBoundingRect();e.add(new a.Rect({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:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(e,t,n){var i=(n=n||{}).forceState,a=this.visualMapModel,o={};if("symbol"===t&&(o.symbol=a.get("itemSymbol")),"color"===t){var s=a.get("contentColor");o.color=s}function u(e){return o[e]}function c(e,t){o[e]=t}var d=a.controllerVisuals[i||a.getValueState(e)],h=l.prepareVisualTypes(d);return r.each(h,(function(i){var r=d[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",r=d.__alphaForOpacity),l.dependsOn(i,t)&&r&&r.applyVisual(e,u,c)})),o[t]},positionGroup:function(e){var t=this.visualMapModel,n=this.api;s.positionElement(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:r.noop});e.exports=u},function(e,t,n){var i=n(1),r=n(7).getLayoutRect;t.getItemAlign=function(e,t,n){var i=e.option,a=i.align;if(null!=a&&"auto"!==a)return a;for(var o={width:t.getWidth(),height:t.getHeight()},s="horizontal"===i.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],u=l[s],c=[0,null,10],d={},h=0;h<3;h++)d[l[1-s][h]]=c[h],d[u[h]]=2===h?n[0]:i[u[h]];var f=[["x","width",3],["y","height",0]][s],p=r(d,o,i.padding);return u[(p.margin[f[2]]||0)+p[f[0]]+.5*p[f[1]]<.5*o[f[1]]?0:1]},t.makeHighDownBatch=function(e,t){return i.each(e||[],(function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")})),e}},function(e,t,n){n(2).registerAction({type:"selectDataRange",event:"dataRangeSelected",update:"update"},(function(e,t){t.eachComponent({mainType:"visualMap",query:e},(function(t){t.setSelected(e.selected)}))}))},function(e,t,n){var i=n(2),r=n(200);n(201),n(202),n(505),n(506),n(207),i.registerPreprocessor(r)},function(e,t,n){var i,r=n(13),a="urn:schemas-microsoft-com:vml",o="undefined"===typeof window?null:window,s=!1,l=o&&o.document;if(l&&!r.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",a),i=function(e){return l.createElement("')}}catch(u){i=function(e){return l.createElement("<"+e+' xmlns="'+a+'" class="zrvml">')}}t.doc=l,t.createNode=function(e){return i(e)},t.initVML=function(){if(!s&&l){s=!0;var e=l.styleSheets;e.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):e[0].addRule(".zrvml","behavior:url(#default#VML)")}}},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),e.exports=n(218)},function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";function i(e,t){for(var n=0;nP.length&&P.push(e)}function L(e,t,n){return null==e?0:function e(t,n,i,r){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var l=!1;if(null===t)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case a:case o:l=!0}}if(l)return i(r,t,""===n?"."+O(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var u=0;u