diff --git a/jbs-front.zip b/jbs-front.zip deleted file mode 100644 index 2106681..0000000 Binary files a/jbs-front.zip and /dev/null differ diff --git a/jbs-front/index.html b/jbs-front/index.html index d1cee98..9be8a73 100644 --- a/jbs-front/index.html +++ b/jbs-front/index.html @@ -181,4 +181,4 @@ font-size: 13px; color: #FFF; opacity: 0.5; - }
正在加载系统资源,请耐心等待
\ No newline at end of file + }
正在加载系统资源,请耐心等待
\ No newline at end of file diff --git a/jbs-front/static/css/chunk-aef2ddc0.f8404e7d.css b/jbs-front/static/css/chunk-07e0cbc6.f8404e7d.css similarity index 100% rename from jbs-front/static/css/chunk-aef2ddc0.f8404e7d.css rename to jbs-front/static/css/chunk-07e0cbc6.f8404e7d.css diff --git a/jbs-front/static/css/chunk-0dd572c5.84f98409.css b/jbs-front/static/css/chunk-2f8c138d.84f98409.css similarity index 100% rename from jbs-front/static/css/chunk-0dd572c5.84f98409.css rename to jbs-front/static/css/chunk-2f8c138d.84f98409.css diff --git a/jbs-front/static/css/chunk-722e9a88.73b92c6e.css b/jbs-front/static/css/chunk-61ad5100.73b92c6e.css similarity index 100% rename from jbs-front/static/css/chunk-722e9a88.73b92c6e.css rename to jbs-front/static/css/chunk-61ad5100.73b92c6e.css diff --git a/jbs-front/static/css/chunk-09f23c09.33bbe81e.css b/jbs-front/static/css/chunk-61c93982.33bbe81e.css similarity index 100% rename from jbs-front/static/css/chunk-09f23c09.33bbe81e.css rename to jbs-front/static/css/chunk-61c93982.33bbe81e.css diff --git a/jbs-front/static/css/chunk-59a8d4d2.4d5bb52c.css b/jbs-front/static/css/chunk-7a25332f.3008facc.css similarity index 98% rename from jbs-front/static/css/chunk-59a8d4d2.4d5bb52c.css rename to jbs-front/static/css/chunk-7a25332f.3008facc.css index e7d5323..daac7a4 100644 --- a/jbs-front/static/css/chunk-59a8d4d2.4d5bb52c.css +++ b/jbs-front/static/css/chunk-7a25332f.3008facc.css @@ -1,4 +1,4 @@ -.panel-group[data-v-0ac8ac4e]{margin-top:18px}.panel-group .card-panel-col[data-v-0ac8ac4e]{margin-bottom:32px}.panel-group .card-panel[data-v-0ac8ac4e]{height:108px;cursor:pointer;font-size:12px;position:relative;overflow:hidden;color:#666;background:#fff;-webkit-box-shadow:4px 4px 40px rgba(0,0,0,.05);box-shadow:4px 4px 40px rgba(0,0,0,.05);border-color:rgba(0,0,0,.05)}.panel-group .card-panel:hover .card-panel-icon-wrapper[data-v-0ac8ac4e]{color:#fff}.panel-group .card-panel:hover .icon-people[data-v-0ac8ac4e]{background:#40c9c6}.panel-group .card-panel:hover .icon-message[data-v-0ac8ac4e]{background:#36a3f7}.panel-group .card-panel:hover .icon-money[data-v-0ac8ac4e]{background:#f4516c}.panel-group .card-panel:hover .icon-shopping[data-v-0ac8ac4e]{background:#34bfa3}.panel-group .card-panel .icon-people[data-v-0ac8ac4e]{color:#40c9c6}.panel-group .card-panel .icon-message[data-v-0ac8ac4e]{color:#36a3f7}.panel-group .card-panel .icon-money[data-v-0ac8ac4e]{color:#f4516c}.panel-group .card-panel .icon-shopping[data-v-0ac8ac4e]{color:#34bfa3}.panel-group .card-panel .card-panel-icon-wrapper[data-v-0ac8ac4e]{float:left;margin:14px 0 0 14px;padding:16px;-webkit-transition:all .38s ease-out;transition:all .38s ease-out;border-radius:6px}.panel-group .card-panel .card-panel-icon[data-v-0ac8ac4e]{float:left;font-size:48px}.panel-group .card-panel .card-panel-description[data-v-0ac8ac4e]{float:right;font-weight:700;margin:26px;margin-left:0}.panel-group .card-panel .card-panel-description .card-panel-text[data-v-0ac8ac4e]{line-height:18px;color:rgba(0,0,0,.45);font-size:16px;margin-bottom:12px}.panel-group .card-panel .card-panel-description .card-panel-num[data-v-0ac8ac4e]{font-size:20px}@media(max-width:550px){.card-panel-description[data-v-0ac8ac4e]{display:none}.card-panel-icon-wrapper[data-v-0ac8ac4e]{float:none!important;width:100%;height:100%;margin:0!important}.card-panel-icon-wrapper .svg-icon[data-v-0ac8ac4e]{display:block;margin:14px auto!important;float:none!important}}.dashboard-editor-container[data-v-2f65a1b7]{padding:32px;background-color:#f0f2f5;position:relative}.dashboard-editor-container .chart-wrapper[data-v-2f65a1b7]{background:#fff;padding:16px 16px 0;margin-bottom:32px}@media(max-width:1024px){.chart-wrapper[data-v-2f65a1b7]{padding:8px}}.icons-container[data-v-101db740]{margin:10px 20px 0;overflow:hidden}.icons-container .icon-item[data-v-101db740]{margin:20px;height:85px;text-align:center;width:100px;float:left;font-size:30px;color:#24292e;cursor:pointer}.icons-container span[data-v-101db740]{display:block;font-size:16px;margin-top:10px}.icons-container .disabled[data-v-101db740]{pointer-events:none}.content[data-v-5cff2ee3]{background:#fff;margin-top:15px}.add-button[data-v-5cff2ee3]{margin-top:15px}.search-button[data-v-5cff2ee3]{display:-webkit-box;display:-ms-flexbox;display:flex}.errPage-container[data-v-f2e02586]{width:800px;max-width:100%;margin:100px auto}.errPage-container .pan-back-btn[data-v-f2e02586]{background:#008489;color:#fff;border:none!important}.errPage-container .pan-gif[data-v-f2e02586]{margin:0 auto;display:block}.errPage-container .pan-img[data-v-f2e02586]{display:block;margin:0 auto;width:100%}.errPage-container .text-jumbo[data-v-f2e02586]{font-size:60px;font-weight:700;color:#484848}.errPage-container .list-unstyled[data-v-f2e02586]{font-size:14px}.errPage-container .list-unstyled li[data-v-f2e02586]{padding-bottom:5px}.errPage-container .list-unstyled a[data-v-f2e02586]{color:#008489;text-decoration:none}.errPage-container .list-unstyled a[data-v-f2e02586]:hover{text-decoration:underline}.wscn-http404-container[data-v-279ea4b2]{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);position:absolute;top:40%;left:50%}.wscn-http404[data-v-279ea4b2]{position:relative;width:1200px;padding:0 50px;overflow:hidden}.wscn-http404 .pic-404[data-v-279ea4b2]{position:relative;float:left;width:600px;overflow:hidden}.wscn-http404 .pic-404__parent[data-v-279ea4b2]{width:100%}.wscn-http404 .pic-404__child[data-v-279ea4b2]{position:absolute}.wscn-http404 .pic-404__child.left[data-v-279ea4b2]{width:80px;top:17px;left:220px;opacity:0;-webkit-animation-name:cloudLeft-data-v-279ea4b2;animation-name:cloudLeft-data-v-279ea4b2;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:1s;animation-delay:1s}.wscn-http404 .pic-404__child.mid[data-v-279ea4b2]{width:46px;top:10px;left:420px;opacity:0;-webkit-animation-name:cloudMid-data-v-279ea4b2;animation-name:cloudMid-data-v-279ea4b2;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:1.2s;animation-delay:1.2s}.wscn-http404 .pic-404__child.right[data-v-279ea4b2]{width:62px;top:100px;left:500px;opacity:0;-webkit-animation-name:cloudRight-data-v-279ea4b2;animation-name:cloudRight-data-v-279ea4b2;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:1s;animation-delay:1s}@-webkit-keyframes cloudLeft-data-v-279ea4b2{0%{top:17px;left:220px;opacity:0}20%{top:33px;left:188px;opacity:1}80%{top:81px;left:92px;opacity:1}to{top:97px;left:60px;opacity:0}}@keyframes cloudLeft-data-v-279ea4b2{0%{top:17px;left:220px;opacity:0}20%{top:33px;left:188px;opacity:1}80%{top:81px;left:92px;opacity:1}to{top:97px;left:60px;opacity:0}}@-webkit-keyframes cloudMid-data-v-279ea4b2{0%{top:10px;left:420px;opacity:0}20%{top:40px;left:360px;opacity:1}70%{top:130px;left:180px;opacity:1}to{top:160px;left:120px;opacity:0}}@keyframes cloudMid-data-v-279ea4b2{0%{top:10px;left:420px;opacity:0}20%{top:40px;left:360px;opacity:1}70%{top:130px;left:180px;opacity:1}to{top:160px;left:120px;opacity:0}}@-webkit-keyframes cloudRight-data-v-279ea4b2{0%{top:100px;left:500px;opacity:0}20%{top:120px;left:460px;opacity:1}80%{top:180px;left:340px;opacity:1}to{top:200px;left:300px;opacity:0}}@keyframes cloudRight-data-v-279ea4b2{0%{top:100px;left:500px;opacity:0}20%{top:120px;left:460px;opacity:1}80%{top:180px;left:340px;opacity:1}to{top:200px;left:300px;opacity:0}}.wscn-http404 .bullshit[data-v-279ea4b2]{position:relative;float:left;width:300px;padding:30px 0;overflow:hidden}.wscn-http404 .bullshit__oops[data-v-279ea4b2]{font-size:32px;line-height:40px;color:#1482f0;margin-bottom:20px;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__headline[data-v-279ea4b2],.wscn-http404 .bullshit__oops[data-v-279ea4b2]{font-weight:700;opacity:0;-webkit-animation-name:slideUp-data-v-279ea4b2;animation-name:slideUp-data-v-279ea4b2;-webkit-animation-duration:.5s;animation-duration:.5s}.wscn-http404 .bullshit__headline[data-v-279ea4b2]{font-size:20px;line-height:24px;color:#222;margin-bottom:10px;-webkit-animation-delay:.1s;animation-delay:.1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-279ea4b2]{font-size:13px;line-height:21px;color:grey;margin-bottom:30px;-webkit-animation-delay:.2s;animation-delay:.2s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-279ea4b2],.wscn-http404 .bullshit__return-home[data-v-279ea4b2]{opacity:0;-webkit-animation-name:slideUp-data-v-279ea4b2;animation-name:slideUp-data-v-279ea4b2;-webkit-animation-duration:.5s;animation-duration:.5s}.wscn-http404 .bullshit__return-home[data-v-279ea4b2]{display:block;float:left;width:110px;height:36px;background:#1482f0;border-radius:100px;text-align:center;color:#fff;font-size:14px;line-height:36px;cursor:pointer;-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes slideUp-data-v-279ea4b2{0%{-webkit-transform:translateY(60px);transform:translateY(60px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes slideUp-data-v-279ea4b2{0%{-webkit-transform:translateY(60px);transform:translateY(60px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}.home[data-v-d3b54a20]{font-family:open sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px;color:#676a6c;overflow-x:hidden}.home blockquote[data-v-d3b54a20]{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}.home hr[data-v-d3b54a20]{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.home .col-item[data-v-d3b54a20]{margin-bottom:20px}.home ul[data-v-d3b54a20]{padding:0;margin:0;list-style-type:none}.home h4[data-v-d3b54a20]{margin-top:0}.home h2[data-v-d3b54a20]{margin-top:10px;font-size:26px;font-weight:100}.home p[data-v-d3b54a20]{margin-top:10px}.home p b[data-v-d3b54a20]{font-weight:700}.home .update-log ol[data-v-d3b54a20]{display:block;list-style-type:decimal;-webkit-margin-before:1em;margin-block-start:1em;-webkit-margin-after:1em;margin-block-end:1em;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:0;margin-inline-end:0;-webkit-padding-start:40px;padding-inline-start:40px}.login{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;background-image:url(../../static/img/login-background.f9f49138.jpg);background-size:cover}.title{margin:0 auto 30px auto;text-align:center;color:#707070}.login-form{border-radius:6px;background:#fff;width:400px;padding:25px 25px 5px 25px}.login-form .el-input,.login-form .el-input input{height:38px}.login-form .input-icon{height:39px;width:14px;margin-left:2px}.login-tip{font-size:13px;text-align:center;color:#bfbfbf}.login-code{width:33%;height:38px;float:right}.login-code img{cursor:pointer;vertical-align:middle}.el-login-footer{height:40px;line-height:40px;position:fixed;bottom:0;width:100%;text-align:center;color:#fff;font-family:Arial;font-size:12px;letter-spacing:1px}.login-code-img{height:38px}.editor-slide-upload[data-v-3dae379b]{margin-bottom:20px}.editor-slide-upload[data-v-3dae379b] .el-upload--picture-card{width:100%}.tinymce-container[data-v-6c71010c]{position:relative;line-height:normal}.tinymce-container[data-v-6c71010c] .mce-fullscreen{z-index:10000}.tinymce-textarea[data-v-6c71010c]{visibility:hidden;z-index:-1}.editor-custom-btn-container[data-v-6c71010c]{position:absolute;right:4px;top:4px}.fullscreen .editor-custom-btn-container[data-v-6c71010c]{z-index:10000;position:fixed}.editor-upload-btn[data-v-6c71010c]{display:inline-block}.content[data-v-2f6cc371]{background:#fff;margin-top:15px}.add-button[data-v-2f6cc371]{margin-top:15px}[data-v-2f6cc371] .el-input__inner{height:30px}.search-button[data-v-2f6cc371]{display:-webkit-box;display:-ms-flexbox;display:flex}.form-title[data-v-2f6cc371]{margin-left:30px;padding-bottom:10px;border-bottom:1px solid #000}[data-v-2f6cc371] .avatar-uploader .el-upload{border:1px dashed #000;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}[data-v-2f6cc371] .avatar-uploader .el-upload:hover{border-color:#409eff}[data-v-2f6cc371] input::-webkit-inner-spin-button,[data-v-2f6cc371] input::-webkit-outer-spin-button{-webkit-appearance:none!important}[data-v-2f6cc371] input[type=number]{-moz-appearance:textfield!important}.avatar-uploader-icon[data-v-2f6cc371]{font-size:28px;color:#8c939d;text-align:center}.avatar[data-v-2f6cc371]{width:178px;height:178px;display:block}.urlTable[data-v-2f6cc371] .el-form-item__content{width:100%}.content[data-v-7ac01011]{background:#fff;margin-top:15px}.add-button[data-v-7ac01011]{margin-top:15px}[data-v-7ac01011] .el-input__inner{height:30px}.search-button[data-v-7ac01011]{display:-webkit-box;display:-ms-flexbox;display:flex}.form-title[data-v-7ac01011]{margin-left:30px;padding-bottom:10px;border-bottom:1px solid #000}[data-v-7ac01011] .avatar-uploader .el-upload{border:1px dashed #000;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}[data-v-7ac01011] .avatar-uploader .el-upload:hover{border-color:#409eff}[data-v-7ac01011] input::-webkit-inner-spin-button,[data-v-7ac01011] input::-webkit-outer-spin-button{-webkit-appearance:none!important}[data-v-7ac01011] input[type=number]{-moz-appearance:textfield!important}.avatar-uploader-icon[data-v-7ac01011]{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.avatar[data-v-7ac01011]{width:178px;height:178px;display:block}.urlTable[data-v-7ac01011] .el-form-item__content{width:100%}.imgdata{position:relative;float:left;margin-left:60px}.imgdata .imgdialog{width:146px;height:146px;display:none;position:absolute;background:hsla(0,0%,49.8%,.5);top:0;left:0;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-line-pack:center;align-content:center}.imgdata .imgdialog p{margin:auto}.imgdata .imgdialog p i{cursor:pointer;color:#fff}.imgdata:hover .imgdialog{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.audioUpload .el-form-item__content{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.audioUpload .el-form-item__content .imgdata{margin-top:20px}.videoUpload .el-form-item__content{margin-left:100px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.videoUpload .el-form-item__content .imgdata{margin-top:20px;display:block!important;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.content[data-v-377bef74]{background:#fff;margin-top:15px}.add-button[data-v-377bef74]{margin-top:15px}.search-button[data-v-377bef74]{display:-webkit-box;display:-ms-flexbox;display:flex}.icon-body[data-v-0273f142]{width:100%;padding:10px}.icon-body .icon-list[data-v-0273f142]{height:200px;overflow-y:scroll}.icon-body .icon-list div[data-v-0273f142]{height:30px;line-height:30px;margin-bottom:-5px;cursor:pointer;width:33%;float:left}.icon-body .icon-list span[data-v-0273f142]{display:inline-block;vertical-align:-.15em;fill:currentColor;overflow:hidden} +.panel-group[data-v-0ac8ac4e]{margin-top:18px}.panel-group .card-panel-col[data-v-0ac8ac4e]{margin-bottom:32px}.panel-group .card-panel[data-v-0ac8ac4e]{height:108px;cursor:pointer;font-size:12px;position:relative;overflow:hidden;color:#666;background:#fff;-webkit-box-shadow:4px 4px 40px rgba(0,0,0,.05);box-shadow:4px 4px 40px rgba(0,0,0,.05);border-color:rgba(0,0,0,.05)}.panel-group .card-panel:hover .card-panel-icon-wrapper[data-v-0ac8ac4e]{color:#fff}.panel-group .card-panel:hover .icon-people[data-v-0ac8ac4e]{background:#40c9c6}.panel-group .card-panel:hover .icon-message[data-v-0ac8ac4e]{background:#36a3f7}.panel-group .card-panel:hover .icon-money[data-v-0ac8ac4e]{background:#f4516c}.panel-group .card-panel:hover .icon-shopping[data-v-0ac8ac4e]{background:#34bfa3}.panel-group .card-panel .icon-people[data-v-0ac8ac4e]{color:#40c9c6}.panel-group .card-panel .icon-message[data-v-0ac8ac4e]{color:#36a3f7}.panel-group .card-panel .icon-money[data-v-0ac8ac4e]{color:#f4516c}.panel-group .card-panel .icon-shopping[data-v-0ac8ac4e]{color:#34bfa3}.panel-group .card-panel .card-panel-icon-wrapper[data-v-0ac8ac4e]{float:left;margin:14px 0 0 14px;padding:16px;-webkit-transition:all .38s ease-out;transition:all .38s ease-out;border-radius:6px}.panel-group .card-panel .card-panel-icon[data-v-0ac8ac4e]{float:left;font-size:48px}.panel-group .card-panel .card-panel-description[data-v-0ac8ac4e]{float:right;font-weight:700;margin:26px;margin-left:0}.panel-group .card-panel .card-panel-description .card-panel-text[data-v-0ac8ac4e]{line-height:18px;color:rgba(0,0,0,.45);font-size:16px;margin-bottom:12px}.panel-group .card-panel .card-panel-description .card-panel-num[data-v-0ac8ac4e]{font-size:20px}@media(max-width:550px){.card-panel-description[data-v-0ac8ac4e]{display:none}.card-panel-icon-wrapper[data-v-0ac8ac4e]{float:none!important;width:100%;height:100%;margin:0!important}.card-panel-icon-wrapper .svg-icon[data-v-0ac8ac4e]{display:block;margin:14px auto!important;float:none!important}}.dashboard-editor-container[data-v-2f65a1b7]{padding:32px;background-color:#f0f2f5;position:relative}.dashboard-editor-container .chart-wrapper[data-v-2f65a1b7]{background:#fff;padding:16px 16px 0;margin-bottom:32px}@media(max-width:1024px){.chart-wrapper[data-v-2f65a1b7]{padding:8px}}.icons-container[data-v-101db740]{margin:10px 20px 0;overflow:hidden}.icons-container .icon-item[data-v-101db740]{margin:20px;height:85px;text-align:center;width:100px;float:left;font-size:30px;color:#24292e;cursor:pointer}.icons-container span[data-v-101db740]{display:block;font-size:16px;margin-top:10px}.icons-container .disabled[data-v-101db740]{pointer-events:none}.content[data-v-5cff2ee3]{background:#fff;margin-top:15px}.add-button[data-v-5cff2ee3]{margin-top:15px}.search-button[data-v-5cff2ee3]{display:-webkit-box;display:-ms-flexbox;display:flex}.errPage-container[data-v-f2e02586]{width:800px;max-width:100%;margin:100px auto}.errPage-container .pan-back-btn[data-v-f2e02586]{background:#008489;color:#fff;border:none!important}.errPage-container .pan-gif[data-v-f2e02586]{margin:0 auto;display:block}.errPage-container .pan-img[data-v-f2e02586]{display:block;margin:0 auto;width:100%}.errPage-container .text-jumbo[data-v-f2e02586]{font-size:60px;font-weight:700;color:#484848}.errPage-container .list-unstyled[data-v-f2e02586]{font-size:14px}.errPage-container .list-unstyled li[data-v-f2e02586]{padding-bottom:5px}.errPage-container .list-unstyled a[data-v-f2e02586]{color:#008489;text-decoration:none}.errPage-container .list-unstyled a[data-v-f2e02586]:hover{text-decoration:underline}.wscn-http404-container[data-v-279ea4b2]{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);position:absolute;top:40%;left:50%}.wscn-http404[data-v-279ea4b2]{position:relative;width:1200px;padding:0 50px;overflow:hidden}.wscn-http404 .pic-404[data-v-279ea4b2]{position:relative;float:left;width:600px;overflow:hidden}.wscn-http404 .pic-404__parent[data-v-279ea4b2]{width:100%}.wscn-http404 .pic-404__child[data-v-279ea4b2]{position:absolute}.wscn-http404 .pic-404__child.left[data-v-279ea4b2]{width:80px;top:17px;left:220px;opacity:0;-webkit-animation-name:cloudLeft-data-v-279ea4b2;animation-name:cloudLeft-data-v-279ea4b2;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:1s;animation-delay:1s}.wscn-http404 .pic-404__child.mid[data-v-279ea4b2]{width:46px;top:10px;left:420px;opacity:0;-webkit-animation-name:cloudMid-data-v-279ea4b2;animation-name:cloudMid-data-v-279ea4b2;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:1.2s;animation-delay:1.2s}.wscn-http404 .pic-404__child.right[data-v-279ea4b2]{width:62px;top:100px;left:500px;opacity:0;-webkit-animation-name:cloudRight-data-v-279ea4b2;animation-name:cloudRight-data-v-279ea4b2;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:1s;animation-delay:1s}@-webkit-keyframes cloudLeft-data-v-279ea4b2{0%{top:17px;left:220px;opacity:0}20%{top:33px;left:188px;opacity:1}80%{top:81px;left:92px;opacity:1}to{top:97px;left:60px;opacity:0}}@keyframes cloudLeft-data-v-279ea4b2{0%{top:17px;left:220px;opacity:0}20%{top:33px;left:188px;opacity:1}80%{top:81px;left:92px;opacity:1}to{top:97px;left:60px;opacity:0}}@-webkit-keyframes cloudMid-data-v-279ea4b2{0%{top:10px;left:420px;opacity:0}20%{top:40px;left:360px;opacity:1}70%{top:130px;left:180px;opacity:1}to{top:160px;left:120px;opacity:0}}@keyframes cloudMid-data-v-279ea4b2{0%{top:10px;left:420px;opacity:0}20%{top:40px;left:360px;opacity:1}70%{top:130px;left:180px;opacity:1}to{top:160px;left:120px;opacity:0}}@-webkit-keyframes cloudRight-data-v-279ea4b2{0%{top:100px;left:500px;opacity:0}20%{top:120px;left:460px;opacity:1}80%{top:180px;left:340px;opacity:1}to{top:200px;left:300px;opacity:0}}@keyframes cloudRight-data-v-279ea4b2{0%{top:100px;left:500px;opacity:0}20%{top:120px;left:460px;opacity:1}80%{top:180px;left:340px;opacity:1}to{top:200px;left:300px;opacity:0}}.wscn-http404 .bullshit[data-v-279ea4b2]{position:relative;float:left;width:300px;padding:30px 0;overflow:hidden}.wscn-http404 .bullshit__oops[data-v-279ea4b2]{font-size:32px;line-height:40px;color:#1482f0;margin-bottom:20px;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__headline[data-v-279ea4b2],.wscn-http404 .bullshit__oops[data-v-279ea4b2]{font-weight:700;opacity:0;-webkit-animation-name:slideUp-data-v-279ea4b2;animation-name:slideUp-data-v-279ea4b2;-webkit-animation-duration:.5s;animation-duration:.5s}.wscn-http404 .bullshit__headline[data-v-279ea4b2]{font-size:20px;line-height:24px;color:#222;margin-bottom:10px;-webkit-animation-delay:.1s;animation-delay:.1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-279ea4b2]{font-size:13px;line-height:21px;color:grey;margin-bottom:30px;-webkit-animation-delay:.2s;animation-delay:.2s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-279ea4b2],.wscn-http404 .bullshit__return-home[data-v-279ea4b2]{opacity:0;-webkit-animation-name:slideUp-data-v-279ea4b2;animation-name:slideUp-data-v-279ea4b2;-webkit-animation-duration:.5s;animation-duration:.5s}.wscn-http404 .bullshit__return-home[data-v-279ea4b2]{display:block;float:left;width:110px;height:36px;background:#1482f0;border-radius:100px;text-align:center;color:#fff;font-size:14px;line-height:36px;cursor:pointer;-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes slideUp-data-v-279ea4b2{0%{-webkit-transform:translateY(60px);transform:translateY(60px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes slideUp-data-v-279ea4b2{0%{-webkit-transform:translateY(60px);transform:translateY(60px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}.home[data-v-d3b54a20]{font-family:open sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px;color:#676a6c;overflow-x:hidden}.home blockquote[data-v-d3b54a20]{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}.home hr[data-v-d3b54a20]{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.home .col-item[data-v-d3b54a20]{margin-bottom:20px}.home ul[data-v-d3b54a20]{padding:0;margin:0;list-style-type:none}.home h4[data-v-d3b54a20]{margin-top:0}.home h2[data-v-d3b54a20]{margin-top:10px;font-size:26px;font-weight:100}.home p[data-v-d3b54a20]{margin-top:10px}.home p b[data-v-d3b54a20]{font-weight:700}.home .update-log ol[data-v-d3b54a20]{display:block;list-style-type:decimal;-webkit-margin-before:1em;margin-block-start:1em;-webkit-margin-after:1em;margin-block-end:1em;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:0;margin-inline-end:0;-webkit-padding-start:40px;padding-inline-start:40px}.login{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;background-image:url(../../static/img/login-background.f9f49138.jpg);background-size:cover}.title{margin:0 auto 30px auto;text-align:center;color:#707070}.login-form{border-radius:6px;background:#fff;width:400px;padding:25px 25px 5px 25px}.login-form .el-input,.login-form .el-input input{height:38px}.login-form .input-icon{height:39px;width:14px;margin-left:2px}.login-tip{font-size:13px;text-align:center;color:#bfbfbf}.login-code{width:33%;height:38px;float:right}.login-code img{cursor:pointer;vertical-align:middle}.el-login-footer{height:40px;line-height:40px;position:fixed;bottom:0;width:100%;text-align:center;color:#fff;font-family:Arial;font-size:12px;letter-spacing:1px}.login-code-img{height:38px}.editor-slide-upload[data-v-3dae379b]{margin-bottom:20px}.editor-slide-upload[data-v-3dae379b] .el-upload--picture-card{width:100%}.tinymce-container[data-v-6c71010c]{position:relative;line-height:normal}.tinymce-container[data-v-6c71010c] .mce-fullscreen{z-index:10000}.tinymce-textarea[data-v-6c71010c]{visibility:hidden;z-index:-1}.editor-custom-btn-container[data-v-6c71010c]{position:absolute;right:4px;top:4px}.fullscreen .editor-custom-btn-container[data-v-6c71010c]{z-index:10000;position:fixed}.editor-upload-btn[data-v-6c71010c]{display:inline-block}.content[data-v-e2172b1a]{background:#fff;margin-top:15px}.add-button[data-v-e2172b1a]{margin-top:15px}[data-v-e2172b1a] .el-input__inner{height:30px}.search-button[data-v-e2172b1a]{display:-webkit-box;display:-ms-flexbox;display:flex}.form-title[data-v-e2172b1a]{margin-left:30px;padding-bottom:10px;border-bottom:1px solid #000}[data-v-e2172b1a] .avatar-uploader .el-upload{border:1px dashed #000;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}[data-v-e2172b1a] .avatar-uploader .el-upload:hover{border-color:#409eff}[data-v-e2172b1a] input::-webkit-inner-spin-button,[data-v-e2172b1a] input::-webkit-outer-spin-button{-webkit-appearance:none!important}[data-v-e2172b1a] input[type=number]{-moz-appearance:textfield!important}.avatar-uploader-icon[data-v-e2172b1a]{font-size:28px;color:#8c939d;text-align:center}.avatar[data-v-e2172b1a]{width:178px;height:178px;display:block}.urlTable[data-v-e2172b1a] .el-form-item__content{width:100%}.content[data-v-7ac01011]{background:#fff;margin-top:15px}.add-button[data-v-7ac01011]{margin-top:15px}[data-v-7ac01011] .el-input__inner{height:30px}.search-button[data-v-7ac01011]{display:-webkit-box;display:-ms-flexbox;display:flex}.form-title[data-v-7ac01011]{margin-left:30px;padding-bottom:10px;border-bottom:1px solid #000}[data-v-7ac01011] .avatar-uploader .el-upload{border:1px dashed #000;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}[data-v-7ac01011] .avatar-uploader .el-upload:hover{border-color:#409eff}[data-v-7ac01011] input::-webkit-inner-spin-button,[data-v-7ac01011] input::-webkit-outer-spin-button{-webkit-appearance:none!important}[data-v-7ac01011] input[type=number]{-moz-appearance:textfield!important}.avatar-uploader-icon[data-v-7ac01011]{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.avatar[data-v-7ac01011]{width:178px;height:178px;display:block}.urlTable[data-v-7ac01011] .el-form-item__content{width:100%}.imgdata{position:relative;float:left;margin-left:60px}.imgdata .imgdialog{width:146px;height:146px;display:none;position:absolute;background:hsla(0,0%,49.8%,.5);top:0;left:0;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-line-pack:center;align-content:center}.imgdata .imgdialog p{margin:auto}.imgdata .imgdialog p i{cursor:pointer;color:#fff}.imgdata:hover .imgdialog{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.audioUpload .el-form-item__content{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.audioUpload .el-form-item__content .imgdata{margin-top:20px}.videoUpload .el-form-item__content{margin-left:100px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.videoUpload .el-form-item__content .imgdata{margin-top:20px;display:block!important;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.content[data-v-3830b97c]{background:#fff;margin-top:15px}.add-button[data-v-3830b97c]{margin-top:15px}.search-button[data-v-3830b97c]{display:-webkit-box;display:-ms-flexbox;display:flex}.icon-body[data-v-0273f142]{width:100%;padding:10px}.icon-body .icon-list[data-v-0273f142]{height:200px;overflow-y:scroll}.icon-body .icon-list div[data-v-0273f142]{height:30px;line-height:30px;margin-bottom:-5px;cursor:pointer;width:33%;float:left}.icon-body .icon-list span[data-v-0273f142]{display:inline-block;vertical-align:-.15em;fill:currentColor;overflow:hidden} /*! * Quill Editor v1.3.7 * https://quilljs.com/ diff --git a/jbs-front/static/css/chunk-6e89bd4a.265d9d9a.css b/jbs-front/static/css/chunk-b4477732.265d9d9a.css similarity index 100% rename from jbs-front/static/css/chunk-6e89bd4a.265d9d9a.css rename to jbs-front/static/css/chunk-b4477732.265d9d9a.css diff --git a/jbs-front/static/css/chunk-7dd028a3.b5bdb2c6.css b/jbs-front/static/css/chunk-c28ad000.b5bdb2c6.css similarity index 100% rename from jbs-front/static/css/chunk-7dd028a3.b5bdb2c6.css rename to jbs-front/static/css/chunk-c28ad000.b5bdb2c6.css diff --git a/jbs-front/static/js/app.39706ab8.js b/jbs-front/static/js/app.39706ab8.js deleted file mode 100644 index 2fe237b..0000000 --- a/jbs-front/static/js/app.39706ab8.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,t,n){e.exports=n("56d7")},"028b":function(e,t,n){"use strict";n("948e")},"02b8":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"039a":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-download",use:"icon-download-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"04ad":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-rate",use:"icon-rate-usage",viewBox:"0 0 1069 1024",content:''});a.a.add(o);t["default"]=o},"068c":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-upload",use:"icon-upload-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"06b3":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-tool",use:"icon-tool-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"06c2":function(e,t,n){"use strict";n("85be")},"0afa":function(e,t,n){},"0b37":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-input",use:"icon-input-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"0c16":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-row",use:"icon-row-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"0c4f":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-redis",use:"icon-redis-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"0e8f":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"0ee3":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-select",use:"icon-select-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"11d7":function(e,t,n){"use strict";n("88f1")},"15e8":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"186a":function(e,t,n){"use strict";n("b9eb")},"198d":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"20e7":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},2369:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"23f1":function(e,t,n){var i={"./404.svg":"49be","./bug.svg":"937c","./build.svg":"b88c","./button.svg":"c292","./cascader.svg":"737d","./chart.svg":"20e7","./checkbox.svg":"9ec1","./clipboard.svg":"5aa7","./code.svg":"d7a0","./color.svg":"e218","./component.svg":"02b8","./dashboard.svg":"7154","./date-range.svg":"ad41","./date.svg":"a2bf","./dict.svg":"da75","./documentation.svg":"ed00","./download.svg":"039a","./drag.svg":"a2f6","./druid.svg":"bc7b","./edit.svg":"2fb0","./education.svg":"2369","./email.svg":"caf7","./example.svg":"b6f9","./excel.svg":"e3ff","./exit-fullscreen.svg":"f22e","./eye-open.svg":"74a2","./eye.svg":"57fa","./form.svg":"4576","./fullscreen.svg":"72e5","./github.svg":"cda1","./guide.svg":"72d1","./icon.svg":"9f4c","./input.svg":"0b37","./international.svg":"a601","./job.svg":"e82a","./language.svg":"a17a","./link.svg":"5fda","./list.svg":"3561","./lock.svg":"a012","./log.svg":"9cb5","./logininfor.svg":"9b2c","./message.svg":"15e8","./money.svg":"4955","./monitor.svg":"f71f","./nested.svg":"91be","./number.svg":"a1ac","./online.svg":"575e","./password.svg":"198d","./pdf.svg":"8989","./people.svg":"ae6e","./peoples.svg":"dc13","./phone.svg":"b470","./post.svg":"482c","./qq.svg":"39e1","./question.svg":"5d9e","./radio.svg":"9a4c","./rate.svg":"04ad","./redis.svg":"0c4f","./row.svg":"0c16","./search.svg":"679a","./select.svg":"0ee3","./server.svg":"4738","./shopping.svg":"98ab","./size.svg":"879b","./skill.svg":"a263","./slider.svg":"df36","./star.svg":"4e5a","./swagger.svg":"84e5","./switch.svg":"243e","./system.svg":"922f","./tab.svg":"2723","./table.svg":"dc78","./textarea.svg":"7234","./theme.svg":"7271","./time-range.svg":"99c3","./time.svg":"f8e6","./tool.svg":"06b3","./tree-table.svg":"4d24","./tree.svg":"0e8f","./upload.svg":"068c","./user.svg":"d88a","./validCode.svg":"67bd","./wechat.svg":"2ba1","./zip.svg":"a75d"};function c(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}c.keys=function(){return Object.keys(i)},c.resolve=s,e.exports=c,c.id="23f1"},"243e":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-switch",use:"icon-switch-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"25a0":function(e,t,n){},2723:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"2a4d":function(e,t,n){},"2ba1":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});a.a.add(o);t["default"]=o},"2cb8":function(e,t,n){},"2fb0":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},3561:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"39e1":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"3d92":function(e,t,n){},4360:function(e,t,n){"use strict";var i=n("a593"),c=n("cf6b"),s=n("e04f"),a=n.n(s),o={sidebar:{opened:!a.a.get("sidebarStatus")||!!+a.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop",size:a.a.get("size")||"medium"},r={TOGGLE_SIDEBAR:function(e){e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?a.a.set("sidebarStatus",1):a.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,t){a.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t},SET_SIZE:function(e,t){e.size=t,a.a.set("size",t)}},l={toggleSideBar:function(e){var t=e.commit;t("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){var n=e.commit,i=t.withoutAnimation;n("CLOSE_SIDEBAR",i)},toggleDevice:function(e,t){var n=e.commit;n("TOGGLE_DEVICE",t)},setSize:function(e,t){var n=e.commit;n("SET_SIZE",t)}},d={namespaced:!0,state:o,mutations:r,actions:l},u=(n("1d7a"),n("0861"),n("402f"),n("7ded")),h=n("5f87"),f={state:{token:Object(h["a"])(),name:"",avatar:"",roles:[],permissions:[],user:[]},mutations:{SET_TOKEN:function(e,t){e.token=t},SET_NAME:function(e,t){e.name=t},SET_AVATAR:function(e,t){e.avatar=t},SET_ROLES:function(e,t){e.roles=t},SET_PERMISSIONS:function(e,t){e.permissions=t},SET_USER:function(e,t){e.user=t}},actions:{Login:function(e,t){var n=e.commit,i=t.username.trim(),c=t.password,s=t.code,a=t.uuid;return new Promise((function(e,t){Object(u["c"])(i,c,s,a).then((function(i){200==i.code?(Object(h["c"])(i.token),n("SET_TOKEN",i.token),e()):t(new Error(i.msg))})).catch((function(e){t(e)}))}))},GetInfo:function(e){var t=e.commit,i=e.state;return new Promise((function(e,c){Object(u["b"])(i.token).then((function(i){var c=i.user,s=""==c.avatar?n("4b94"):"/stage-api"+c.avatar;i.roles&&i.roles.length>0?(t("SET_ROLES",i.roles),t("SET_PERMISSIONS",i.permissions)):t("SET_ROLES",["ROLE_DEFAULT"]),t("SET_NAME",c.userName),t("SET_AVATAR",s),t("SET_USER",c),e(i)})).catch((function(e){c(e)}))}))},LogOut:function(e){var t=e.commit,n=e.state;return new Promise((function(e,i){Object(u["d"])(n.token).then((function(){t("SET_TOKEN",""),t("SET_ROLES",[]),t("SET_PERMISSIONS",[]),Object(h["b"])(),e()})).catch((function(e){i(e)}))}))},FedLogOut:function(e){var t=e.commit;return new Promise((function(e){t("SET_TOKEN",""),Object(h["b"])(),e()}))}}},v=f,m=n("0344"),p=n("6d83"),w=n("6da3"),g=(n("c726"),n("b784"),n("6ab7"),n("989e"),n("cb3c"),n("b131"),{visitedViews:[],cachedViews:[]}),b={ADD_VISITED_VIEW:function(e,t){e.visitedViews.some((function(e){return e.path===t.path}))||e.visitedViews.push(Object.assign({},t,{title:t.meta.title||"no-name"}))},ADD_CACHED_VIEW:function(e,t){e.cachedViews.includes(t.name)||t.meta.noCache||e.cachedViews.push(t.name)},DEL_VISITED_VIEW:function(e,t){var n,i=Object(w["a"])(e.visitedViews.entries());try{for(i.s();!(n=i.n()).done;){var c=Object(p["a"])(n.value,2),s=c[0],a=c[1];if(a.path===t.path){e.visitedViews.splice(s,1);break}}}catch(o){i.e(o)}finally{i.f()}},DEL_CACHED_VIEW:function(e,t){var n=e.cachedViews.indexOf(t.name);n>-1&&e.cachedViews.splice(n,1)},DEL_OTHERS_VISITED_VIEWS:function(e,t){e.visitedViews=e.visitedViews.filter((function(e){return e.meta.affix||e.path===t.path}))},DEL_OTHERS_CACHED_VIEWS:function(e,t){var n=e.cachedViews.indexOf(t.name);e.cachedViews=n>-1?e.cachedViews.slice(n,n+1):[]},DEL_ALL_VISITED_VIEWS:function(e){var t=e.visitedViews.filter((function(e){return e.meta.affix}));e.visitedViews=t},DEL_ALL_CACHED_VIEWS:function(e){e.cachedViews=[]},UPDATE_VISITED_VIEW:function(e,t){var n,i=Object(w["a"])(e.visitedViews);try{for(i.s();!(n=i.n()).done;){var c=n.value;if(c.path===t.path){c=Object.assign(c,t);break}}}catch(s){i.e(s)}finally{i.f()}}},x={addView:function(e,t){var n=e.dispatch;n("addVisitedView",t),n("addCachedView",t)},addVisitedView:function(e,t){var n=e.commit;n("ADD_VISITED_VIEW",t)},addCachedView:function(e,t){var n=e.commit;n("ADD_CACHED_VIEW",t)},delView:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delVisitedView",t),n("delCachedView",t),e({visitedViews:Object(m["a"])(i.visitedViews),cachedViews:Object(m["a"])(i.cachedViews)})}))},delVisitedView:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_VISITED_VIEW",t),e(Object(m["a"])(i.visitedViews))}))},delCachedView:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_CACHED_VIEW",t),e(Object(m["a"])(i.cachedViews))}))},delOthersViews:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delOthersVisitedViews",t),n("delOthersCachedViews",t),e({visitedViews:Object(m["a"])(i.visitedViews),cachedViews:Object(m["a"])(i.cachedViews)})}))},delOthersVisitedViews:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_OTHERS_VISITED_VIEWS",t),e(Object(m["a"])(i.visitedViews))}))},delOthersCachedViews:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_OTHERS_CACHED_VIEWS",t),e(Object(m["a"])(i.cachedViews))}))},delAllViews:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delAllVisitedViews",t),n("delAllCachedViews",t),e({visitedViews:Object(m["a"])(i.visitedViews),cachedViews:Object(m["a"])(i.cachedViews)})}))},delAllVisitedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_VISITED_VIEWS"),e(Object(m["a"])(n.visitedViews))}))},delAllCachedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_CACHED_VIEWS"),e(Object(m["a"])(n.cachedViews))}))},updateVisitedView:function(e,t){var n=e.commit;n("UPDATE_VISITED_VIEW",t)}},y={namespaced:!0,state:g,mutations:b,actions:x},z=(n("445a"),n("270f"),n("a18c")),V=n("b775"),k=function(){return Object(V["a"])({url:"/getRouters",method:"get"})},C=n("c1f7"),M=n("74a1"),H={state:{routes:[],addRoutes:[],sidebarRouters:[]},mutations:{SET_ROUTES:function(e,t){e.addRoutes=t,e.routes=z["a"].concat(t)},SET_SIDEBAR_ROUTERS:function(e,t){e.sidebarRouters=z["a"].concat(t)}},actions:{GenerateRoutes:function(e){var t=e.commit;return new Promise((function(e){k().then((function(n){var i=JSON.parse(JSON.stringify(n.data)),c=JSON.parse(JSON.stringify(n.data)),s=S(i),a=S(c,!0);a.push({path:"*",redirect:"/404",hidden:!0}),t("SET_ROUTES",a),t("SET_SIDEBAR_ROUTERS",s),e(a)}))}))}}};function S(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.filter((function(e){return t&&e.children&&(e.children=_(e.children)),e.component&&("Layout"===e.component?e.component=C["a"]:"ParentView"===e.component?e.component=M["a"]:e.component=L(e.component)),null!=e.children&&e.children&&e.children.length&&(e.children=S(e.children,e,t)),!0}))}function _(e){var t=[];return e.forEach((function(e,n){e.children&&e.children.length&&"ParentView"===e.component?e.children.forEach((function(n){n.path=e.path+"/"+n.path,n.children&&n.children.length?t=t.concat(_(n.children,n)):t.push(n)})):t=t.concat(e)})),t}var L=function(e){return function(t){return Promise.all([n.e("chunk-1224c778"),n.e("chunk-0dd572c5"),n.e("chunk-2d2295d5"),n.e("chunk-2d0e5f13"),n.e("chunk-59a8d4d2")]).then(function(){var i=[n("4b3b")("./".concat(e))];t.apply(null,i)}.bind(this)).catch(n.oe)}},B=H,T=n("49f4"),E=n.n(T),O=n("83d6"),j=n.n(O),$=j.a.sideTheme,A=j.a.showSettings,I=j.a.tagsView,P=j.a.fixedHeader,D=j.a.sidebarLogo,R={theme:E.a.theme,sideTheme:$,showSettings:A,tagsView:I,fixedHeader:P,sidebarLogo:D},q={CHANGE_SETTING:function(e,t){var n=t.key,i=t.value;e.hasOwnProperty(n)&&(e[n]=i)}},N={changeSetting:function(e,t){var n=e.commit;n("CHANGE_SETTING",t)}},W={namespaced:!0,state:R,mutations:q,actions:N},F={sidebar:function(e){return e.app.sidebar},size:function(e){return e.app.size},device:function(e){return e.app.device},visitedViews:function(e){return e.tagsView.visitedViews},cachedViews:function(e){return e.tagsView.cachedViews},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.name},introduction:function(e){return e.user.introduction},roles:function(e){return e.user.roles},permissions:function(e){return e.user.permissions},permission_routes:function(e){return e.permission.routes},sidebarRouters:function(e){return e.permission.sidebarRouters}},G=F;i["default"].use(c["a"]);var U=new c["a"].Store({modules:{app:d,user:v,tagsView:y,permission:B,settings:W},getters:G});t["a"]=U},4576:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},4738:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-server",use:"icon-server-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"482c":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-post",use:"icon-post-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"491b":function(e,t,n){},4955:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"49be":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"49f4":function(e,t,n){e.exports={theme:"#1890ff"}},"4b94":function(e,t,n){e.exports=n.p+"static/img/profile.473f5971.jpg"},"4d24":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"4e5a":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"501f":function(e,t,n){"use strict";n("2cb8")},"56d7":function(e,t,n){"use strict";n.r(t);n("b4a0"),n("3938"),n("5e87"),n("1906");var i=n("a593"),c=n("e04f"),s=n.n(c),a=n("e1fd"),o=n.n(a),r=(n("49f4"),n("6861"),n("b34b"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)}),l=[],d={name:"App"},u=d,h=n("cba8"),f=Object(h["a"])(u,r,l,!1,null,null,null),v=f.exports,m=n("4360"),p=n("a18c"),w=(n("c726"),n("b784"),{inserted:function(e,t,n){var i=t.value,c="admin",s=m["a"].getters&&m["a"].getters.roles;if(!(i&&i instanceof Array&&i.length>0))throw new Error('请设置角色权限标签值"');var a=i,o=s.some((function(e){return c===e||a.includes(e)}));o||e.parentNode&&e.parentNode.removeChild(e)}}),g={inserted:function(e,t,n){var i=t.value,c="*:*:*",s=m["a"].getters&&m["a"].getters.permissions;if(!(i&&i instanceof Array&&i.length>0))throw new Error("请设置操作权限标签值");var a=i,o=s.some((function(e){return c===e||a.includes(e)}));o||e.parentNode&&e.parentNode.removeChild(e)}},b=function(e){e.directive("hasRole",w),e.directive("hasPermi",g)};window.Vue&&(window["hasRole"]=w,window["hasPermi"]=g,Vue.use(b));var x=b,y=(n("6540"),n("402f"),n("6ab7"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isExternal?n("div",e._g({staticClass:"svg-external-icon svg-icon",style:e.styleExternalIcon},e.$listeners)):n("svg",e._g({class:e.svgClass,attrs:{"aria-hidden":"true"}},e.$listeners),[n("use",{attrs:{"xlink:href":e.iconName}})])}),z=[],V=n("61f7"),k={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return Object(V["a"])(this.iconClass)},iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon:function(){return{mask:"url(".concat(this.iconClass,") no-repeat 50% 50%"),"-webkit-mask":"url(".concat(this.iconClass,") no-repeat 50% 50%")}}}},C=k,M=(n("95cd"),Object(h["a"])(C,y,z,!1,null,"248913c8",null)),H=M.exports;i["default"].component("svg-icon",H);var S=n("23f1"),_=function(e){return e.keys().map(e)};_(S);var L=n("06c4"),B=n("38bc"),T=n.n(B),E=(n("70e7"),n("5f87"));T.a.configure({showSpinner:!1});var O=["/login","/auth-redirect","/bind","/register"];p["b"].beforeEach((function(e,t,n){T.a.start(),Object(E["a"])()?"/login"===e.path?(n({path:"/"}),T.a.done()):0===m["a"].getters.roles.length?m["a"].dispatch("GetInfo").then((function(t){var i=t.roles;m["a"].dispatch("GenerateRoutes",{roles:i}).then((function(t){p["b"].addRoutes(t),n(Object(L["a"])(Object(L["a"])({},e),{},{replace:!0}))}))})).catch((function(e){m["a"].dispatch("LogOut").then((function(){a["Message"].error(e),n({path:"/"})}))})):n():-1!==O.indexOf(e.path)?n():(n("/login?redirect=".concat(e.fullPath)),T.a.done())})),p["b"].afterEach((function(){T.a.done()}));var j=n("aa3a"),$=n("c0c3"),A=n("b775");function I(e){return Object(A["a"])({url:"/common/getCode",method:"post",params:e})}var P=n("c38a"),D=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pagination-container",class:{hidden:e.hidden}},[n("el-pagination",e._b({attrs:{background:e.background,"current-page":e.currentPage,"page-size":e.pageSize,layout:e.layout,"page-sizes":e.pageSizes,total:e.total},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t},"update:pageSize":function(t){e.pageSize=t},"update:page-size":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}},"el-pagination",e.$attrs,!1))],1)},R=[];n("d0bf");Math.easeInOutQuad=function(e,t,n,i){return e/=i/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var q=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function N(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function W(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function F(e,t,n){var i=W(),c=e-i,s=20,a=0;t="undefined"===typeof t?500:t;var o=function e(){a+=s;var o=Math.easeInOutQuad(a,i,c,t);N(o),a'});a.a.add(o);t["default"]=o},"57fa":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});a.a.add(o);t["default"]=o},"5aa7":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"5d9e":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-question",use:"icon-question-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"5f87":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return r}));var i=n("e04f"),c=n.n(i),s="Admin-Token";function a(){return c.a.get(s)}function o(e){return c.a.set(s,e)}function r(){return c.a.remove(s)}},"5fda":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"61f7":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n("0861"),n("402f");function i(e){return/^(https?:|mailto:|tel:)/.test(e)}},"679a":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"67bd":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-validCode",use:"icon-validCode-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},6861:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",menuLightBg:"#fff",menuLightHover:"#f0f1f5",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"200px",sidebarTitle:"#fff",sidebarLightTitle:"#001529"}},"6a67":function(e,t,n){},"6add":function(e,t,n){},"6b10":function(e,t,n){},"6ea6":function(e,t,n){},7154:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});a.a.add(o);t["default"]=o},7234:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-textarea",use:"icon-textarea-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},7271:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"72d1":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"72e5":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"730d":function(e,t,n){"use strict";n("3d92")},"737d":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-cascader",use:"icon-cascader-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"74a1":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-view")},c=[],s=n("cba8"),a={},o=Object(s["a"])(a,i,c,!1,null,null,null);t["a"]=o.exports},"74a2":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},7892:function(e,t,n){"use strict";n("6ea6")},"7d7a":function(e,t,n){},"7ded":function(e,t,n){"use strict";n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return s})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return o}));var i=n("b775");function c(e,t,n,c){var s={username:e,password:t,code:n,uuid:c};return Object(i["a"])({url:"/login",method:"post",data:s})}function s(){return Object(i["a"])({url:"/getInfo",method:"get"})}function a(){return Object(i["a"])({url:"/logout",method:"post"})}function o(){return Object(i["a"])({url:"/captchaImage",method:"get"})}},"81a5":function(e,t,n){e.exports=n.p+"static/img/logo.6daf653b.png"},"83d6":function(e,t){e.exports={title:"剧本杀管理系统",sideTheme:"theme-dark",showSettings:!1,tagsView:!0,fixedHeader:!1,sidebarLogo:!0,errorLog:"production"}},"84e5":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-swagger",use:"icon-swagger-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"85be":function(e,t,n){},"879b":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"88f1":function(e,t,n){},8989:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"8df1":function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",menuLightBg:"#fff",menuLightHover:"#f0f1f5",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"200px",sidebarTitle:"#fff",sidebarLightTitle:"#001529"}},"90f2":function(e,t,n){"use strict";n("bfe3")},"91be":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"922f":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-system",use:"icon-system-usage",viewBox:"0 0 1084 1024",content:''});a.a.add(o);t["default"]=o},"937c":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"948e":function(e,t,n){},"95cd":function(e,t,n){"use strict";n("25a0")},"98ab":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},"99c3":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-time-range",use:"icon-time-range-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"9a4c":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-radio",use:"icon-radio-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"9b2c":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-logininfor",use:"icon-logininfor-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"9cb5":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-log",use:"icon-log-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"9ec1":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-checkbox",use:"icon-checkbox-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},"9f4c":function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},a012:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},a17a:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},a18c:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("a593"),c=n("a81e"),s=n("c1f7");n("74a1");i["default"].use(c["a"]);var a=[{path:"/redirect",component:s["a"],hidden:!0,children:[{path:"/redirect/:path(.*)",component:function(e){return n.e("chunk-2d0f012d").then(function(){var t=[n("9b8f")];e.apply(null,t)}.bind(this)).catch(n.oe)}}]},{path:"/login",component:function(e){return Promise.all([n.e("chunk-2d2295d5"),n.e("chunk-aef2ddc0")]).then(function(){var t=[n("dd7b")];e.apply(null,t)}.bind(this)).catch(n.oe)},hidden:!0},{path:"/404",component:function(e){return n.e("chunk-7dd028a3").then(function(){var t=[n("2754")];e.apply(null,t)}.bind(this)).catch(n.oe)},hidden:!0},{path:"/401",component:function(e){return n.e("chunk-6e89bd4a").then(function(){var t=[n("ec55")];e.apply(null,t)}.bind(this)).catch(n.oe)},hidden:!0},{path:"",component:s["a"],redirect:"index",children:[{path:"index",component:function(e){return Promise.all([n.e("chunk-1224c778"),n.e("chunk-09f23c09")]).then(function(){var t=[n("1e4b")];e.apply(null,t)}.bind(this)).catch(n.oe)},name:"首页",meta:{title:"首页",icon:"dashboard",noCache:!0,affix:!0}}]},{path:"/user",component:s["a"],hidden:!0,redirect:"noredirect",children:[{path:"profile",component:function(e){return Promise.all([n.e("chunk-2d0e5f13"),n.e("chunk-722e9a88")]).then(function(){var t=[n("4c1b")];e.apply(null,t)}.bind(this)).catch(n.oe)},name:"Profile",meta:{title:"个人中心",icon:"user"}}]},{path:"/dict",component:s["a"],hidden:!0,children:[{path:"type/data/:dictId(\\d+)",component:function(e){return n.e("chunk-d19c1a98").then(function(){var t=[n("bfc4")];e.apply(null,t)}.bind(this)).catch(n.oe)},name:"Data",meta:{title:"字典数据",icon:""}}]},{path:"/job",component:s["a"],hidden:!0,children:[{path:"log",component:function(e){return n.e("chunk-2d0a2db2").then(function(){var t=[n("0062")];e.apply(null,t)}.bind(this)).catch(n.oe)},name:"JobLog",meta:{title:"调度日志"}}]},{path:"/gen",component:s["a"],hidden:!0,children:[{path:"edit/:tableId(\\d+)",component:function(e){return Promise.all([n.e("chunk-0dd572c5"),n.e("chunk-3f93175c")]).then(function(){var t=[n("76f8")];e.apply(null,t)}.bind(this)).catch(n.oe)},name:"GenEdit",meta:{title:"修改生成配置"}}]}];t["b"]=new c["a"]({mode:"history",scrollBehavior:function(){return{y:0}},routes:a})},a1ac:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-number",use:"icon-number-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},a263:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-skill",use:"icon-skill-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},a2bf:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-date",use:"icon-date-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},a2d0:function(e,t,n){e.exports=n.p+"static/img/light.4183aad0.svg"},a2f6:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},a601:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},a75d:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},aa3a:function(e,t,n){"use strict";n.d(t,"f",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"g",(function(){return r})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return d}));var i=n("b775");function c(e){return Object(i["a"])({url:"/system/dict/data/list",method:"post",data:e})}function s(e){return Object(i["a"])({url:"/system/dict/data/"+e,method:"get"})}function a(e){return Object(i["a"])({url:"/system/dict/data/type/"+e,method:"get"})}function o(e){return Object(i["a"])({url:"/system/dict/data",method:"post",data:e})}function r(e){return Object(i["a"])({url:"/system/dict/data",method:"put",data:e})}function l(e){return Object(i["a"])({url:"/system/dict/data/"+e,method:"delete"})}function d(e){return Object(i["a"])({url:"/system/dict/data/export",method:"get",params:e})}},ab49:function(e,t,n){"use strict";n("6a67")},ac4e:function(e,t,n){"use strict";n("491b")},ad41:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-date-range",use:"icon-date-range-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},adba:function(e,t,n){e.exports=n.p+"static/img/dark.412ca67e.svg"},ae6e:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},b197:function(e,t,n){},b33c:function(e,t,n){},b34b:function(e,t,n){},b470:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-phone",use:"icon-phone-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},b486:function(e,t,n){"use strict";n("b33c")},b6f9:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},b775:function(e,t,n){"use strict";var i=n("83a7"),c=(n("fae2"),n("b131"),n("402f"),n("c726"),n("b784"),n("4ff3")),s=n.n(c),a=n("e1fd"),o=n("4360"),r=n("5f87"),l={401:"认证失败,无法访问系统资源",403:"当前操作没有权限",404:"访问资源不存在",default:"系统未知错误,请反馈给管理员"};s.a.defaults.headers["Content-Type"]="application/json;charset=utf-8";var d=s.a.create({baseURL:"/stage-api",timeout:6e5});d.interceptors.request.use((function(e){var t=!1===(e.headers||{}).isToken;if(Object(r["a"])()&&!t&&(e.headers["Authorization"]="Bearer "+Object(r["a"])()),"get"===e.method&&e.params){for(var n=e.url+"?",c=0,s=Object.keys(e.params);c'});a.a.add(o);t["default"]=o},b9eb:function(e,t,n){},bc7b:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-druid",use:"icon-druid-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},bfe3:function(e,t,n){},c0c3:function(e,t,n){"use strict";n.d(t,"g",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"h",(function(){return r})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return d})),n.d(t,"d",(function(){return u}));var i=n("b775");function c(e){return Object(i["a"])({url:"/system/config/list",method:"post",data:e})}function s(e){return Object(i["a"])({url:"/system/config/"+e,method:"get"})}function a(e){return Object(i["a"])({url:"/system/config/configKey/"+e,method:"get"})}function o(e){return Object(i["a"])({url:"/system/config",method:"post",data:e})}function r(e){return Object(i["a"])({url:"/system/config",method:"put",data:e})}function l(e){return Object(i["a"])({url:"/system/config/"+e,method:"delete"})}function d(){return Object(i["a"])({url:"/system/config/clearCache",method:"delete"})}function u(e){return Object(i["a"])({url:"/system/config/export",method:"get",params:e})}},c1f7:function(e,t,n){"use strict";var i,c,s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper",class:e.classObj,style:{"--current-color":e.theme}},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),n("sidebar",{staticClass:"sidebar-container",style:{backgroundColor:"theme-dark"===e.sideTheme?e.variables.menuBg:e.variables.menuLightBg}}),n("div",{staticClass:"main-container",class:{hasTagsView:e.needTagsView}},[n("div",{class:{"fixed-header":e.fixedHeader}},[n("navbar"),e.needTagsView?n("tags-view"):e._e()],1),n("app-main"),e.showSettings?n("right-panel",[n("settings")],1):e._e()],1)],1)},a=[],o=n("06c4"),r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"rightPanel",staticClass:"rightPanel-container",class:{show:e.show}},[n("div",{staticClass:"rightPanel-background"}),n("div",{staticClass:"rightPanel"},[n("div",{staticClass:"rightPanel-items"},[e._t("default")],2)])])},l=[],d=(n("d0bf"),n("ed08")),u={name:"RightPanel",props:{clickNotClose:{default:!1,type:Boolean},buttonTop:{default:250,type:Number}},computed:{show:{get:function(){return this.$store.state.settings.showSettings},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"showSettings",value:e})}},theme:function(){return this.$store.state.settings.theme}},watch:{show:function(e){e&&!this.clickNotClose&&this.addEventClick(),e?Object(d["a"])(document.body,"showRightPanel"):Object(d["g"])(document.body,"showRightPanel")}},mounted:function(){this.insertToBody(),this.addEventClick()},beforeDestroy:function(){var e=this.$refs.rightPanel;e.remove()},methods:{addEventClick:function(){window.addEventListener("click",this.closeSidebar)},closeSidebar:function(e){var t=e.target.closest(".rightPanel");t||(this.show=!1,window.removeEventListener("click",this.closeSidebar))},insertToBody:function(){var e=this.$refs.rightPanel,t=document.querySelector("body");t.insertBefore(e,t.firstChild)}}},h=u,f=(n("fab5"),n("11d7"),n("cba8")),v=Object(f["a"])(h,r,l,!1,null,"2b17496a",null),m=v.exports,p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"app-main"},[n("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[n("keep-alive",{attrs:{include:e.cachedViews}},[n("router-view",{key:e.key})],1)],1)],1)},w=[],g={name:"AppMain",computed:{cachedViews:function(){return this.$store.state.tagsView.cachedViews},key:function(){return this.$route.path}}},b=g,x=(n("c968"),n("028b"),Object(f["a"])(b,p,w,!1,null,"92459f82",null)),y=x.exports,z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navbar"},[n("hamburger",{staticClass:"hamburger-container",attrs:{id:"hamburger-container","is-active":e.sidebar.opened},on:{toggleClick:e.toggleSideBar}}),n("breadcrumb",{staticClass:"breadcrumb-container",attrs:{id:"breadcrumb-container"}}),n("div",{staticClass:"right-menu"},["mobile"!==e.device?[n("search",{staticClass:"right-menu-item",attrs:{id:"header-search"}})]:e._e(),n("el-dropdown",{staticClass:"avatar-container right-menu-item hover-effect",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:e.avatar}}),n("i",{staticClass:"el-icon-caret-bottom"})]),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{attrs:{to:"/user/profile"}},[n("el-dropdown-item",[e._v("个人中心")])],1),n("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.logout(t)}}},[n("span",[e._v("退出登录")])])],1)],1)],2)],1)},V=[],k=n("e9ff"),C=(n("e186"),n("cf6b")),M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(t,i){return n("el-breadcrumb-item",{key:t.path},["noRedirect"===t.redirect||i==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("a",{on:{click:function(n){return n.preventDefault(),e.handleLink(t)}}},[e._v(e._s(t.meta.title))])])})),1)],1)},H=[],S=(n("332c"),n("cb3c"),n("445a"),n("1d7a"),n("0861"),{data:function(){return{levelList:null}},watch:{$route:function(e){e.path.startsWith("/redirect/")||this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter((function(e){return e.meta&&e.meta.title})),t=e[0];this.isDashboard(t)||(e=[{path:"/index",meta:{title:"首页"}}].concat(e)),this.levelList=e.filter((function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb}))},isDashboard:function(e){var t=e&&e.name;return!!t&&"首页"===t.trim()},handleLink:function(e){var t=e.redirect,n=e.path;t?this.$router.push(t):this.$router.push(n)}}}),_=S,L=(n("501f"),Object(f["a"])(_,M,H,!1,null,"7b7d6196",null)),B=L.exports,T=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{padding:"0 15px"},on:{click:e.toggleClick}},[n("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[n("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},E=[],O={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},j=O,$=(n("186a"),Object(f["a"])(j,T,E,!1,null,"49e15297",null)),A=$.exports,I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":e.isFullscreen?"exit-fullscreen":"fullscreen"},on:{click:e.click}})],1)},P=[],D=n("c09c"),R=n.n(D),q={name:"Screenfull",data:function(){return{isFullscreen:!1}},mounted:function(){this.init()},beforeDestroy:function(){this.destroy()},methods:{click:function(){if(!R.a.isEnabled)return this.$message({message:"你的浏览器不支持全屏",type:"warning"}),!1;R.a.toggle()},change:function(){this.isFullscreen=R.a.isFullscreen},init:function(){R.a.isEnabled&&R.a.on("change",this.change)},destroy:function(){R.a.isEnabled&&R.a.off("change",this.change)}}},N=q,W=(n("d73c"),Object(f["a"])(N,I,P,!1,null,"243c7c0f",null)),F=W.exports,G=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleSetSize}},[n("div",[n("svg-icon",{attrs:{"class-name":"size-icon","icon-class":"size"}})],1),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.sizeOptions,(function(t){return n("el-dropdown-item",{key:t.value,attrs:{disabled:e.size===t.value,command:t.value}},[e._v(" "+e._s(t.label)+" ")])})),1)],1)},U=[],J=(n("0bd5"),n("9b42"),{data:function(){return{sizeOptions:[{label:"Default",value:"default"},{label:"Medium",value:"medium"},{label:"Small",value:"small"},{label:"Mini",value:"mini"}]}},computed:{size:function(){return this.$store.getters.size}},methods:{handleSetSize:function(e){this.$ELEMENT.size=e,this.$store.dispatch("app/setSize",e),this.refreshView(),this.$message({message:"Switch Size Success",type:"success"})},refreshView:function(){var e=this;this.$store.dispatch("tagsView/delAllCachedViews",this.$route);var t=this.$route.fullPath;this.$nextTick((function(){e.$router.replace({path:"/redirect"+t})}))}}}),Y=J,K=Object(f["a"])(Y,G,U,!1,null,null,null),Z=K.exports,Q=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"header-search",class:{show:e.show}},[n("svg-icon",{attrs:{"class-name":"search-icon","icon-class":"search"},on:{click:function(t){return t.stopPropagation(),e.click(t)}}}),n("el-select",{ref:"headerSearchSelect",staticClass:"header-search-select",attrs:{"remote-method":e.querySearch,filterable:"","default-first-option":"",remote:"",placeholder:"Search"},on:{change:e.change},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}},e._l(e.options,(function(e){return n("el-option",{key:e.item.path,attrs:{value:e.item,label:e.item.title.join(" > ")}})})),1)],1)},X=[],ee=n("0344"),te=n("6da3"),ne=(n("2df5"),n("dfbe")),ie=n.n(ne),ce=n("6266"),se=n.n(ce),ae={name:"HeaderSearch",data:function(){return{search:"",options:[],searchPool:[],show:!1,fuse:void 0}},computed:{routes:function(){return this.$store.getters.permission_routes}},watch:{routes:function(){this.searchPool=this.generateRoutes(this.routes)},searchPool:function(e){this.initFuse(e)},show:function(e){e?document.body.addEventListener("click",this.close):document.body.removeEventListener("click",this.close)}},mounted:function(){this.searchPool=this.generateRoutes(this.routes)},methods:{click:function(){this.show=!this.show,this.show&&this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.focus()},close:function(){this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.blur(),this.options=[],this.show=!1},change:function(e){var t=this;this.ishttp(e.path)?window.open(e.path,"_blank"):this.$router.push(e.path),this.search="",this.options=[],this.$nextTick((function(){t.show=!1}))},initFuse:function(e){this.fuse=new ie.a(e,{shouldSort:!0,threshold:.4,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"title",weight:.7},{name:"path",weight:.3}]})},generateRoutes:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],c=[],s=Object(te["a"])(e);try{for(s.s();!(t=s.n()).done;){var a=t.value;if(!a.hidden){var o={path:this.ishttp(a.path)?a.path:se.a.resolve(n,a.path),title:Object(ee["a"])(i)};if(a.meta&&a.meta.title&&(o.title=[].concat(Object(ee["a"])(o.title),[a.meta.title]),"noRedirect"!==a.redirect&&c.push(o)),a.children){var r=this.generateRoutes(a.children,o.path,o.title);r.length>=1&&(c=[].concat(Object(ee["a"])(c),Object(ee["a"])(r)))}}}}catch(l){s.e(l)}finally{s.f()}return c},querySearch:function(e){this.options=""!==e?this.fuse.search(e):[]},ishttp:function(e){return-1!==e.indexOf("http://")||-1!==e.indexOf("https://")}}},oe=ae,re=(n("90f2"),Object(f["a"])(oe,Q,X,!1,null,"6072173a",null)),le=re.exports,de=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":"github"},on:{click:e.goto}})],1)},ue=[],he={name:"RuoYiGit",data:function(){return{url:"https://gitee.com/y_project/RuoYi-Vue"}},methods:{goto:function(){window.open(this.url)}}},fe=he,ve=Object(f["a"])(fe,de,ue,!1,null,null,null),me=ve.exports,pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":"question"},on:{click:e.goto}})],1)},we=[],ge={name:"RuoYiDoc",data:function(){return{url:"http://doc.ruoyi.vip/ruoyi-vue"}},methods:{goto:function(){window.open(this.url)}}},be=ge,xe=Object(f["a"])(be,pe,we,!1,null,null,null),ye=xe.exports,ze={components:{Breadcrumb:B,Hamburger:A,Screenfull:F,SizeSelect:Z,Search:le,RuoYiGit:me,RuoYiDoc:ye},computed:Object(o["a"])(Object(o["a"])({},Object(C["b"])(["sidebar","avatar","device"])),{},{setting:{get:function(){return this.$store.state.settings.showSettings},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"showSettings",value:e})}}}),methods:{toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},logout:function(){var e=this;return Object(k["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$confirm("确定注销并退出系统吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.$store.dispatch("LogOut").then((function(){location.href="/index"}))}));case 1:case"end":return t.stop()}}),t)})))()}}},Ve=ze,ke=(n("ac4e"),Object(f["a"])(Ve,z,V,!1,null,"ef8c8e6e",null)),Ce=ke.exports,Me=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"drawer-container"},[i("div",[i("div",{staticClass:"setting-drawer-content"},[e._m(0),i("div",{staticClass:"setting-drawer-block-checbox"},[i("div",{staticClass:"setting-drawer-block-checbox-item",on:{click:function(t){return e.handleTheme("theme-dark")}}},[i("img",{attrs:{src:n("adba"),alt:"dark"}}),"theme-dark"===e.sideTheme?i("div",{staticClass:"setting-drawer-block-checbox-selectIcon",staticStyle:{display:"block"}},[i("i",{staticClass:"anticon anticon-check",attrs:{"aria-label":"图标: check"}},[i("svg",{attrs:{viewBox:"64 64 896 896","data-icon":"check",width:"1em",height:"1em",fill:e.theme,"aria-hidden":"true",focusable:"false"}},[i("path",{attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}})])])]):e._e()]),i("div",{staticClass:"setting-drawer-block-checbox-item",on:{click:function(t){return e.handleTheme("theme-light")}}},[i("img",{attrs:{src:n("a2d0"),alt:"light"}}),"theme-light"===e.sideTheme?i("div",{staticClass:"setting-drawer-block-checbox-selectIcon",staticStyle:{display:"block"}},[i("i",{staticClass:"anticon anticon-check",attrs:{"aria-label":"图标: check"}},[i("svg",{attrs:{viewBox:"64 64 896 896","data-icon":"check",width:"1em",height:"1em",fill:e.theme,"aria-hidden":"true",focusable:"false"}},[i("path",{attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}})])])]):e._e()])]),i("div",{staticClass:"drawer-item"},[i("span",[e._v("主题颜色")]),i("theme-picker",{staticStyle:{float:"right",height:"26px",margin:"-3px 8px 0 0"},on:{change:e.themeChange}})],1)]),i("el-divider"),i("h3",{staticClass:"drawer-title"},[e._v("系统布局配置")]),i("div",{staticClass:"drawer-item"},[i("span",[e._v("开启 Tags-Views")]),i("el-switch",{staticClass:"drawer-switch",model:{value:e.tagsView,callback:function(t){e.tagsView=t},expression:"tagsView"}})],1),i("div",{staticClass:"drawer-item"},[i("span",[e._v("固定 Header")]),i("el-switch",{staticClass:"drawer-switch",model:{value:e.fixedHeader,callback:function(t){e.fixedHeader=t},expression:"fixedHeader"}})],1),i("div",{staticClass:"drawer-item"},[i("span",[e._v("显示 Logo")]),i("el-switch",{staticClass:"drawer-switch",model:{value:e.sidebarLogo,callback:function(t){e.sidebarLogo=t},expression:"sidebarLogo"}})],1)],1)])},He=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"setting-drawer-title"},[n("h3",{staticClass:"drawer-title"},[e._v("主题风格设置")])])}],Se=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-color-picker",{staticClass:"theme-picker",attrs:{predefine:["#409EFF","#1890ff","#304156","#212121","#11a983","#13c2c2","#6959CD","#f5222d"],"popper-class":"theme-picker-dropdown"},model:{value:e.theme,callback:function(t){e.theme=t},expression:"theme"}})},_e=[],Le=(n("b131"),n("e583"),n("836b"),n("270f"),n("402f"),n("cca2"),n("7478"),n("2fd3").version),Be="#409EFF",Te={data:function(){return{chalk:"",theme:""}},computed:{defaultTheme:function(){return this.$store.state.settings.theme}},watch:{defaultTheme:{handler:function(e,t){this.theme=e},immediate:!0},theme:function(e){var t=this;return Object(k["a"])(regeneratorRuntime.mark((function n(){var i,c,s,a,o,r,l,d;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(i=t.chalk?t.theme:Be,"string"===typeof e){n.next=3;break}return n.abrupt("return");case 3:if(c=t.getThemeCluster(e.replace("#","")),s=t.getThemeCluster(i.replace("#","")),a=t.$message({message:" Compiling the theme",customClass:"theme-message",type:"success",duration:0,iconClass:"el-icon-loading"}),o=function(e,n){return function(){var i=t.getThemeCluster(Be.replace("#","")),s=t.updateStyle(t[e],i,c),a=document.getElementById(n);a||(a=document.createElement("style"),a.setAttribute("id",n),document.head.appendChild(a)),a.innerText=s}},t.chalk){n.next=11;break}return r="https://unpkg.com/element-ui@".concat(Le,"/lib/theme-chalk/index.css"),n.next=11,t.getCSSString(r,"chalk");case 11:l=o("chalk","chalk-style"),l(),d=[].slice.call(document.querySelectorAll("style")).filter((function(e){var t=e.innerText;return new RegExp(i,"i").test(t)&&!/Chalk Variables/.test(t)})),d.forEach((function(e){var n=e.innerText;"string"===typeof n&&(e.innerText=t.updateStyle(n,s,c))})),t.$emit("change",e),a.close();case 17:case"end":return n.stop()}}),n)})))()}},methods:{updateStyle:function(e,t,n){var i=e;return t.forEach((function(e,t){i=i.replace(new RegExp(e,"ig"),n[t])})),i},getCSSString:function(e,t){var n=this;return new Promise((function(i){var c=new XMLHttpRequest;c.onreadystatechange=function(){4===c.readyState&&200===c.status&&(n[t]=c.responseText.replace(/@font-face{[^}]+}/,""),i())},c.open("GET",e),c.send()}))},getThemeCluster:function(e){for(var t=function(e,t){var n=parseInt(e.slice(0,2),16),i=parseInt(e.slice(2,4),16),c=parseInt(e.slice(4,6),16);return 0===t?[n,i,c].join(","):(n+=Math.round(t*(255-n)),i+=Math.round(t*(255-i)),c+=Math.round(t*(255-c)),n=n.toString(16),i=i.toString(16),c=c.toString(16),"#".concat(n).concat(i).concat(c))},n=function(e,t){var n=parseInt(e.slice(0,2),16),i=parseInt(e.slice(2,4),16),c=parseInt(e.slice(4,6),16);return n=Math.round((1-t)*n),i=Math.round((1-t)*i),c=Math.round((1-t)*c),n=n.toString(16),i=i.toString(16),c=c.toString(16),"#".concat(n).concat(i).concat(c)},i=[e],c=0;c<=9;c++)i.push(t(e,Number((c/10).toFixed(2))));return i.push(n(e,.1)),i}}},Ee=Te,Oe=(n("06c2"),Object(f["a"])(Ee,Se,_e,!1,null,null,null)),je=Oe.exports,$e={components:{ThemePicker:je},data:function(){return{}},computed:{theme:function(){return this.$store.state.settings.theme},sideTheme:function(){return this.$store.state.settings.sideTheme},fixedHeader:{get:function(){return this.$store.state.settings.fixedHeader},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"fixedHeader",value:e})}},tagsView:{get:function(){return this.$store.state.settings.tagsView},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"tagsView",value:e})}},sidebarLogo:{get:function(){return this.$store.state.settings.sidebarLogo},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"sidebarLogo",value:e})}}},methods:{themeChange:function(e){this.$store.dispatch("settings/changeSetting",{key:"theme",value:e})},handleTheme:function(e){this.$store.dispatch("settings/changeSetting",{key:"sideTheme",value:e})}}},Ae=$e,Ie=(n("ab49"),Object(f["a"])(Ae,Me,He,!1,null,"a9831cfa",null)),Pe=Ie.exports,De=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"has-logo":e.showLogo},style:{backgroundColor:"theme-dark"===e.settings.sideTheme?e.variables.menuBg:e.variables.menuLightBg}},[e.showLogo?n("logo",{attrs:{collapse:e.isCollapse}}):e._e(),n("el-scrollbar",{class:e.settings.sideTheme,attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":e.activeMenu,collapse:e.isCollapse,"background-color":"theme-dark"===e.settings.sideTheme?e.variables.menuBg:e.variables.menuLightBg,"text-color":"theme-dark"===e.settings.sideTheme?e.variables.menuText:"rgba(0,0,0,.65)","unique-opened":!0,"active-text-color":e.settings.theme,"collapse-transition":!1,mode:"vertical"}},e._l(e.sidebarRouters,(function(e,t){return n("sidebar-item",{key:e.path+t,attrs:{item:e,"base-path":e.path}})})),1)],1)],1)},Re=[],qe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sidebar-logo-container",class:{collapse:e.collapse},style:{backgroundColor:"theme-dark"===e.sideTheme?e.variables.menuBg:e.variables.menuLightBg}},[n("transition",{attrs:{name:"sidebarLogoFade"}},[e.collapse?n("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):n("h1",{staticClass:"sidebar-title",style:{color:"theme-dark"===e.sideTheme?e.variables.sidebarTitle:e.variables.sidebarLightTitle}},[e._v(e._s(e.title)+" ")])]):n("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):e._e(),n("h1",{staticClass:"sidebar-title",style:{color:"theme-dark"===e.sideTheme?e.variables.sidebarTitle:e.variables.sidebarLightTitle}},[e._v(e._s(e.title)+" ")])])],1)],1)},Ne=[],We=(n("81a5"),n("8df1")),Fe=n.n(We),Ge={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},computed:{variables:function(){return Fe.a},sideTheme:function(){return this.$store.state.settings.sideTheme}},data:function(){return{title:"剧本杀管理系统",logo:""}}},Ue=Ge,Je=(n("7892"),Object(f["a"])(Ue,qe,Ne,!1,null,"05db9c8b",null)),Ye=Je.exports,Ke=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.item.hidden?e._e():n("div",[!e.hasOneShowingChild(e.item.children,e.item)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title}}):e._e()],1),e._l(e.item.children,(function(t){return n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}})}))],2):[e.onlyOneChild.meta?n("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta&&e.item.meta.icon,title:e.onlyOneChild.meta.title}})],1)],1):e._e()]],2)},Ze=[],Qe=n("61f7"),Xe={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,i=n.icon,c=n.title,s=[];return i&&s.push(e("svg-icon",{attrs:{"icon-class":i}})),c&&s.push(e("span",{slot:"title"},[c])),s}},et=Xe,tt=Object(f["a"])(et,i,c,!1,null,null,null),nt=tt.exports,it=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.type,e._b({tag:"component"},"component",e.linkProps(e.to),!1),[e._t("default")],2)},ct=[],st={props:{to:{type:String,required:!0}},computed:{isExternal:function(){return Object(Qe["a"])(this.to)},type:function(){return this.isExternal?"a":"router-link"}},methods:{linkProps:function(e){return this.isExternal?{href:e,target:"_blank",rel:"noopener"}:{to:e}}}},at=st,ot=Object(f["a"])(at,it,ct,!1,null,null,null),rt=ot.exports,lt={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,t=this.$refs.subMenu;if(t){var n=t.handleMouseleave;t.handleMouseleave=function(t){"mobile"!==e.device&&n(t)}}}}},dt={name:"SidebarItem",components:{Item:nt,AppLink:rt},mixins:[lt],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;t||(t=[]);var i=t.filter((function(t){return!t.hidden&&(e.onlyOneChild=t,!0)}));return 1===i.length||0===i.length&&(this.onlyOneChild=Object(o["a"])(Object(o["a"])({},n),{},{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e){return Object(Qe["a"])(e)?e:Object(Qe["a"])(this.basePath)?this.basePath:se.a.resolve(this.basePath,e)}}},ut=dt,ht=Object(f["a"])(ut,Ke,Ze,!1,null,null,null),ft=ht.exports,vt={components:{SidebarItem:ft,Logo:Ye},computed:Object(o["a"])(Object(o["a"])(Object(o["a"])({},Object(C["c"])(["settings"])),Object(C["b"])(["sidebarRouters","sidebar"])),{},{activeMenu:function(){var e=this.$route,t=e.meta,n=e.path;return t.activeMenu?t.activeMenu:n},showLogo:function(){return this.$store.state.settings.sidebarLogo},variables:function(){return Fe.a},isCollapse:function(){return!this.sidebar.opened}})},mt=vt,pt=Object(f["a"])(mt,De,Re,!1,null,null,null),wt=pt.exports,gt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tags-view-container",attrs:{id:"tags-view-container"}},[n("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper",on:{scroll:e.handleScroll}},e._l(e.visitedViews,(function(t){return n("router-link",{key:t.path,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:e.isActive(t)?"active":"",style:e.activeStyle(t),attrs:{to:{path:t.path,query:t.query,fullPath:t.fullPath},tag:"span"},nativeOn:{mouseup:function(n){if("button"in n&&1!==n.button)return null;!e.isAffix(t)&&e.closeSelectedTag(t)},contextmenu:function(n){return n.preventDefault(),e.openMenu(t,n)}}},[e._v(" "+e._s(t.title)+" "),e.isAffix(t)?e._e():n("span",{staticClass:"el-icon-close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),e.closeSelectedTag(t)}}})])})),1),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"contextmenu",style:{left:e.left+"px",top:e.top+"px"}},[n("li",{on:{click:function(t){return e.refreshSelectedTag(e.selectedTag)}}},[e._v("刷新页面")]),e.isAffix(e.selectedTag)?e._e():n("li",{on:{click:function(t){return e.closeSelectedTag(e.selectedTag)}}},[e._v("关闭当前")]),n("li",{on:{click:e.closeOthersTags}},[e._v("关闭其他")]),n("li",{on:{click:function(t){return e.closeAllTags(e.selectedTag)}}},[e._v("关闭所有")])])],1)},bt=[],xt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-scrollbar",{ref:"scrollContainer",staticClass:"scroll-container",attrs:{vertical:!1},nativeOn:{wheel:function(t){return t.preventDefault(),e.handleScroll(t)}}},[e._t("default")],2)},yt=[],zt=(n("1f70"),4),Vt={name:"ScrollPane",data:function(){return{left:0}},computed:{scrollWrapper:function(){return this.$refs.scrollContainer.$refs.wrap}},mounted:function(){this.scrollWrapper.addEventListener("scroll",this.emitScroll,!0)},beforeDestroy:function(){this.scrollWrapper.removeEventListener("scroll",this.emitScroll)},methods:{handleScroll:function(e){var t=e.wheelDelta||40*-e.deltaY,n=this.scrollWrapper;n.scrollLeft=n.scrollLeft+t/4},emitScroll:function(){this.$emit("scroll")},moveToTarget:function(e){var t=this.$refs.scrollContainer.$el,n=t.offsetWidth,i=this.scrollWrapper,c=this.$parent.$refs.tag,s=null,a=null;if(c.length>0&&(s=c[0],a=c[c.length-1]),s===e)i.scrollLeft=0;else if(a===e)i.scrollLeft=i.scrollWidth-n;else{var o=c.findIndex((function(t){return t===e})),r=c[o-1],l=c[o+1],d=l.$el.offsetLeft+l.$el.offsetWidth+zt,u=r.$el.offsetLeft-zt;d>i.scrollLeft+n?i.scrollLeft=d-n:u1&&void 0!==arguments[1]?arguments[1]:"/",i=[];return e.forEach((function(e){if(e.meta&&e.meta.affix){var c=se.a.resolve(n,e.path);i.push({fullPath:c,path:c,name:e.name,meta:Object(o["a"])({},e.meta)})}if(e.children){var s=t.filterAffixTags(e.children,e.path);s.length>=1&&(i=[].concat(Object(ee["a"])(i),Object(ee["a"])(s)))}})),i},initTags:function(){var e,t=this.affixTags=this.filterAffixTags(this.routes),n=Object(te["a"])(t);try{for(n.s();!(e=n.n()).done;){var i=e.value;i.name&&this.$store.dispatch("tagsView/addVisitedView",i)}}catch(c){n.e(c)}finally{n.f()}},addTags:function(){var e=this.$route.name;return e&&this.$store.dispatch("tagsView/addView",this.$route),!1},moveToCurrentTag:function(){var e=this,t=this.$refs.tag;this.$nextTick((function(){var n,i=Object(te["a"])(t);try{for(i.s();!(n=i.n()).done;){var c=n.value;if(c.to.path===e.$route.path){e.$refs.scrollPane.moveToTarget(c),c.to.fullPath!==e.$route.fullPath&&e.$store.dispatch("tagsView/updateVisitedView",e.$route);break}}}catch(s){i.e(s)}finally{i.f()}}))},refreshSelectedTag:function(e){var t=this;this.$store.dispatch("tagsView/delCachedView",e).then((function(){var n=e.fullPath;t.$nextTick((function(){t.$router.replace({path:"/redirect"+n})}))}))},closeSelectedTag:function(e){var t=this;this.$store.dispatch("tagsView/delView",e).then((function(n){var i=n.visitedViews;t.isActive(e)&&t.toLastView(i,e)}))},closeOthersTags:function(){var e=this;this.$router.push(this.selectedTag).catch((function(){})),this.$store.dispatch("tagsView/delOthersViews",this.selectedTag).then((function(){e.moveToCurrentTag()}))},closeAllTags:function(e){var t=this;this.$store.dispatch("tagsView/delAllViews").then((function(n){var i=n.visitedViews;t.affixTags.some((function(e){return e.path===t.$route.path}))||t.toLastView(i,e)}))},toLastView:function(e,t){var n=e.slice(-1)[0];n?this.$router.push(n.fullPath):"Dashboard"===t.name?this.$router.replace({path:"/redirect"+t.fullPath}):this.$router.push("/")},openMenu:function(e,t){var n=105,i=this.$el.getBoundingClientRect().left,c=this.$el.offsetWidth,s=c-n,a=t.clientX-i+15;this.left=a>s?s:a,this.top=t.clientY,this.visible=!0,this.selectedTag=e},closeMenu:function(){this.visible=!1},handleScroll:function(){this.closeMenu()}}},St=Ht,_t=(n("730d"),n("cfaa"),Object(f["a"])(St,gt,bt,!1,null,"004442bd",null)),Lt=_t.exports,Bt=n("4360"),Tt=document,Et=Tt.body,Ot=992,jt={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&Bt["a"].dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var e=this.$_isMobile();e&&(Bt["a"].dispatch("app/toggleDevice","mobile"),Bt["a"].dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var e=Et.getBoundingClientRect();return e.width-1'});a.a.add(o);t["default"]=o},c38a:function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"g",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"h",(function(){return r})),n.d(t,"d",(function(){return l})),n.d(t,"i",(function(){return d})),n.d(t,"b",(function(){return u})),n.d(t,"f",(function(){return h})),n.d(t,"c",(function(){return f}));var i=n("83a7"),c=(n("0bd5"),n("9b42"),n("e583"),n("836b"),n("402f"),n("fae2"),n("cca2"),n("1d7a"),n("79a8"),n("6540"),n("cb3c"),"/stage-api");function s(e,t){if(0===arguments.length||!e)return null;var n,c=t||"{y}-{m}-{d} {h}:{i}:{s}";"object"===Object(i["a"])(e)?n=e:("string"===typeof e&&/^[0-9]+$/.test(e)?e=parseInt(e):"string"===typeof e&&(e=e.replace(new RegExp(/-/gm),"/")),"number"===typeof e&&10===e.toString().length&&(e*=1e3),n=new Date(e));var s={y:n.getFullYear(),m:n.getMonth()+1,d:n.getDate(),h:n.getHours(),i:n.getMinutes(),s:n.getSeconds(),a:n.getDay()},a=c.replace(/{(y|m|d|h|i|s|a)+}/g,(function(e,t){var n=s[t];return"a"===t?["日","一","二","三","四","五","六"][n]:(e.length>0&&n<10&&(n="0"+n),n||0)}));return a}function a(e){this.$refs[e]&&this.$refs[e].resetFields()}function o(e,t,n){var i=e;return i.query.params={},null!=t&&""!=t&&("undefined"===typeof n?(i.query.params["beginTime"]=t[0],i.query.params["endTime"]=t[1]):(i.query.params["begin"+n]=t[0],i.query.params["end"+n]=t[1])),i}function r(e,t){var n=[];return Object.keys(e).some((function(i){if(e[i].dictValue==""+t)return n.push(e[i].dictLabel),!0})),n.join("")}function l(e,t){var n=[];return Object.keys(e).some((function(i){if(e[i].id==""+t)return n.push(e[i].name),!0})),n.join("")}function d(e,t,n){var i=[],c=void 0===n?",":n,s=t.split(c);return Object.keys(t.split(c)).some((function(t){Object.keys(e).some((function(n){e[n].dictValue==""+s[t]&&i.push(e[n].dictLabel+c)}))})),i.join("").substring(0,i.join("").length-1)}function u(e){window.location.href=c+"/common/download?fileName="+encodeURI(e)+"&delete="+!0}function h(e){return e&&"undefined"!=e&&"null"!=e?e:""}function f(e,t,n,i,c){t=t||"id",n=n||"parentId",i=i||"children",c=c||Math.min.apply(Math,e.map((function(e){return e[n]})))||"0";var s=JSON.parse(JSON.stringify(e)),a=s.filter((function(e){var i=s.filter((function(i){return e[t]===i[n]}));return i.length>0&&(e.children=i),e[n]===c}));return""!=a?a:e}},c4d7:function(e,t,n){"use strict";n("6add")},c968:function(e,t,n){"use strict";n("7d7a")},caf7:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});a.a.add(o);t["default"]=o},cda1:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-github",use:"icon-github-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},cfaa:function(e,t,n){"use strict";n("2a4d")},d3b2:function(e,t,n){"use strict";n("b197")},d73c:function(e,t,n){"use strict";n("0afa")},d7a0:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-code",use:"icon-code-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},d88a:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});a.a.add(o);t["default"]=o},da75:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-dict",use:"icon-dict-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},dc13:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},dc78:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},df36:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-slider",use:"icon-slider-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},e218:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-color",use:"icon-color-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},e3ff:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},e498:function(e,t,n){"use strict";n("b874")},e82a:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-job",use:"icon-job-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},ed00:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});a.a.add(o);t["default"]=o},ed08:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"g",(function(){return a})),n.d(t,"f",(function(){return o})),n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return l})),n.d(t,"h",(function(){return d})),n.d(t,"e",(function(){return u}));n("83a7"),n("0bd5"),n("9b42"),n("cca2"),n("6540"),n("fae2"),n("79a8"),n("270f"),n("b131"),n("cb91"),n("2db5"),n("402f"),n("36e5"),n("6ab7"),n("836b"),n("5a4c"),n("e583"),n("c38a");function i(e,t,n){var i,c,s,a,o,r=function r(){var l=+new Date-a;l0?i=setTimeout(r,t-l):(i=null,n||(o=e.apply(s,c),i||(s=c=null)))};return function(){for(var c=arguments.length,l=new Array(c),d=0;d'});a.a.add(o);t["default"]=o},f71f:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-monitor",use:"icon-monitor-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},f8e6:function(e,t,n){"use strict";n.r(t);var i=n("09f1"),c=n.n(i),s=n("7dcc"),a=n.n(s),o=new c.a({id:"icon-time",use:"icon-time-usage",viewBox:"0 0 1024 1024",content:''});a.a.add(o);t["default"]=o},fab5:function(e,t,n){"use strict";n("6b10")}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/jbs-front/static/js/app.813457d8.js b/jbs-front/static/js/app.813457d8.js new file mode 100644 index 0000000..bcc70ce --- /dev/null +++ b/jbs-front/static/js/app.813457d8.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,t,n){e.exports=n("56d7")},"0043":function(e,t,n){},"028b":function(e,t,n){"use strict";n("3f4d")},"02b8":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"039a":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-download",use:"icon-download-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"04ad":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-rate",use:"icon-rate-usage",viewBox:"0 0 1069 1024",content:''});c.a.add(o);t["default"]=o},"068c":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-upload",use:"icon-upload-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"06b3":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-tool",use:"icon-tool-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"06c2":function(e,t,n){"use strict";n("6ef7")},"0b37":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-input",use:"icon-input-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"0c16":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-row",use:"icon-row-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"0c4f":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-redis",use:"icon-redis-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"0e8f":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"0ee3":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-select",use:"icon-select-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"11d7":function(e,t,n){"use strict";n("dbc4")},"12de":function(e,t,n){},"13bb":function(e,t,n){},"15e8":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"186a":function(e,t,n){"use strict";n("9df4")},"198d":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"1c18":function(e,t,n){},"20e7":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},2369:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"23f1":function(e,t,n){var i={"./404.svg":"49be","./bug.svg":"937c","./build.svg":"b88c","./button.svg":"c292","./cascader.svg":"737d","./chart.svg":"20e7","./checkbox.svg":"9ec1","./clipboard.svg":"5aa7","./code.svg":"d7a0","./color.svg":"e218","./component.svg":"02b8","./dashboard.svg":"7154","./date-range.svg":"ad41","./date.svg":"a2bf","./dict.svg":"da75","./documentation.svg":"ed00","./download.svg":"039a","./drag.svg":"a2f6","./druid.svg":"bc7b","./edit.svg":"2fb0","./education.svg":"2369","./email.svg":"caf7","./example.svg":"b6f9","./excel.svg":"e3ff","./exit-fullscreen.svg":"f22e","./eye-open.svg":"74a2","./eye.svg":"57fa","./form.svg":"4576","./fullscreen.svg":"72e5","./github.svg":"cda1","./guide.svg":"72d1","./icon.svg":"9f4c","./input.svg":"0b37","./international.svg":"a601","./job.svg":"e82a","./language.svg":"a17a","./link.svg":"5fda","./list.svg":"3561","./lock.svg":"a012","./log.svg":"9cb5","./logininfor.svg":"9b2c","./message.svg":"15e8","./money.svg":"4955","./monitor.svg":"f71f","./nested.svg":"91be","./number.svg":"a1ac","./online.svg":"575e","./password.svg":"198d","./pdf.svg":"8989","./people.svg":"ae6e","./peoples.svg":"dc13","./phone.svg":"b470","./post.svg":"482c","./qq.svg":"39e1","./question.svg":"5d9e","./radio.svg":"9a4c","./rate.svg":"04ad","./redis.svg":"0c4f","./row.svg":"0c16","./search.svg":"679a","./select.svg":"0ee3","./server.svg":"4738","./shopping.svg":"98ab","./size.svg":"879b","./skill.svg":"a263","./slider.svg":"df36","./star.svg":"4e5a","./swagger.svg":"84e5","./switch.svg":"243e","./system.svg":"922f","./tab.svg":"2723","./table.svg":"dc78","./textarea.svg":"7234","./theme.svg":"7271","./time-range.svg":"99c3","./time.svg":"f8e6","./tool.svg":"06b3","./tree-table.svg":"4d24","./tree.svg":"0e8f","./upload.svg":"068c","./user.svg":"d88a","./validCode.svg":"67bd","./wechat.svg":"2ba1","./zip.svg":"a75d"};function a(e){var t=s(e);return n(t)}function s(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}a.keys=function(){return Object.keys(i)},a.resolve=s,e.exports=a,a.id="23f1"},"243e":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-switch",use:"icon-switch-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},2723:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"2ba1":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});c.a.add(o);t["default"]=o},"2fb0":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},3561:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"39e1":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"3b39":function(e,t,n){},"3f4d":function(e,t,n){},4360:function(e,t,n){"use strict";var i=n("2b0e"),a=n("2f62"),s=n("a78e"),c=n.n(s),o={sidebar:{opened:!c.a.get("sidebarStatus")||!!+c.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop",size:c.a.get("size")||"medium"},r={TOGGLE_SIDEBAR:function(e){e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?c.a.set("sidebarStatus",1):c.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,t){c.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t},SET_SIZE:function(e,t){e.size=t,c.a.set("size",t)}},l={toggleSideBar:function(e){var t=e.commit;t("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){var n=e.commit,i=t.withoutAnimation;n("CLOSE_SIDEBAR",i)},toggleDevice:function(e,t){var n=e.commit;n("TOGGLE_DEVICE",t)},setSize:function(e,t){var n=e.commit;n("SET_SIZE",t)}},d={namespaced:!0,state:o,mutations:r,actions:l},u=(n("b0c0"),n("498a"),n("d3b7"),n("7ded")),h=n("5f87"),f={state:{token:Object(h["a"])(),name:"",avatar:"",roles:[],permissions:[],user:[]},mutations:{SET_TOKEN:function(e,t){e.token=t},SET_NAME:function(e,t){e.name=t},SET_AVATAR:function(e,t){e.avatar=t},SET_ROLES:function(e,t){e.roles=t},SET_PERMISSIONS:function(e,t){e.permissions=t},SET_USER:function(e,t){e.user=t}},actions:{Login:function(e,t){var n=e.commit,i=t.username.trim(),a=t.password,s=t.code,c=t.uuid;return new Promise((function(e,t){Object(u["c"])(i,a,s,c).then((function(i){200==i.code?(Object(h["c"])(i.token),n("SET_TOKEN",i.token),e()):t(new Error(i.msg))})).catch((function(e){t(e)}))}))},GetInfo:function(e){var t=e.commit,i=e.state;return new Promise((function(e,a){Object(u["b"])(i.token).then((function(i){var a=i.user,s=""==a.avatar?n("4b94"):"/stage-api"+a.avatar;i.roles&&i.roles.length>0?(t("SET_ROLES",i.roles),t("SET_PERMISSIONS",i.permissions)):t("SET_ROLES",["ROLE_DEFAULT"]),t("SET_NAME",a.userName),t("SET_AVATAR",s),t("SET_USER",a),e(i)})).catch((function(e){a(e)}))}))},LogOut:function(e){var t=e.commit,n=e.state;return new Promise((function(e,i){Object(u["d"])(n.token).then((function(){t("SET_TOKEN",""),t("SET_ROLES",[]),t("SET_PERMISSIONS",[]),Object(h["b"])(),e()})).catch((function(e){i(e)}))}))},FedLogOut:function(e){var t=e.commit;return new Promise((function(e){t("SET_TOKEN",""),Object(h["b"])(),e()}))}}},v=f,m=n("2909"),p=n("3835"),w=n("b85c"),g=(n("caad"),n("2532"),n("ddb0"),n("a434"),n("4de4"),n("fb6a"),{visitedViews:[],cachedViews:[]}),b={ADD_VISITED_VIEW:function(e,t){e.visitedViews.some((function(e){return e.path===t.path}))||e.visitedViews.push(Object.assign({},t,{title:t.meta.title||"no-name"}))},ADD_CACHED_VIEW:function(e,t){e.cachedViews.includes(t.name)||t.meta.noCache||e.cachedViews.push(t.name)},DEL_VISITED_VIEW:function(e,t){var n,i=Object(w["a"])(e.visitedViews.entries());try{for(i.s();!(n=i.n()).done;){var a=Object(p["a"])(n.value,2),s=a[0],c=a[1];if(c.path===t.path){e.visitedViews.splice(s,1);break}}}catch(o){i.e(o)}finally{i.f()}},DEL_CACHED_VIEW:function(e,t){var n=e.cachedViews.indexOf(t.name);n>-1&&e.cachedViews.splice(n,1)},DEL_OTHERS_VISITED_VIEWS:function(e,t){e.visitedViews=e.visitedViews.filter((function(e){return e.meta.affix||e.path===t.path}))},DEL_OTHERS_CACHED_VIEWS:function(e,t){var n=e.cachedViews.indexOf(t.name);e.cachedViews=n>-1?e.cachedViews.slice(n,n+1):[]},DEL_ALL_VISITED_VIEWS:function(e){var t=e.visitedViews.filter((function(e){return e.meta.affix}));e.visitedViews=t},DEL_ALL_CACHED_VIEWS:function(e){e.cachedViews=[]},UPDATE_VISITED_VIEW:function(e,t){var n,i=Object(w["a"])(e.visitedViews);try{for(i.s();!(n=i.n()).done;){var a=n.value;if(a.path===t.path){a=Object.assign(a,t);break}}}catch(s){i.e(s)}finally{i.f()}}},x={addView:function(e,t){var n=e.dispatch;n("addVisitedView",t),n("addCachedView",t)},addVisitedView:function(e,t){var n=e.commit;n("ADD_VISITED_VIEW",t)},addCachedView:function(e,t){var n=e.commit;n("ADD_CACHED_VIEW",t)},delView:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delVisitedView",t),n("delCachedView",t),e({visitedViews:Object(m["a"])(i.visitedViews),cachedViews:Object(m["a"])(i.cachedViews)})}))},delVisitedView:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_VISITED_VIEW",t),e(Object(m["a"])(i.visitedViews))}))},delCachedView:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_CACHED_VIEW",t),e(Object(m["a"])(i.cachedViews))}))},delOthersViews:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delOthersVisitedViews",t),n("delOthersCachedViews",t),e({visitedViews:Object(m["a"])(i.visitedViews),cachedViews:Object(m["a"])(i.cachedViews)})}))},delOthersVisitedViews:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_OTHERS_VISITED_VIEWS",t),e(Object(m["a"])(i.visitedViews))}))},delOthersCachedViews:function(e,t){var n=e.commit,i=e.state;return new Promise((function(e){n("DEL_OTHERS_CACHED_VIEWS",t),e(Object(m["a"])(i.cachedViews))}))},delAllViews:function(e,t){var n=e.dispatch,i=e.state;return new Promise((function(e){n("delAllVisitedViews",t),n("delAllCachedViews",t),e({visitedViews:Object(m["a"])(i.visitedViews),cachedViews:Object(m["a"])(i.cachedViews)})}))},delAllVisitedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_VISITED_VIEWS"),e(Object(m["a"])(n.visitedViews))}))},delAllCachedViews:function(e){var t=e.commit,n=e.state;return new Promise((function(e){t("DEL_ALL_CACHED_VIEWS"),e(Object(m["a"])(n.cachedViews))}))},updateVisitedView:function(e,t){var n=e.commit;n("UPDATE_VISITED_VIEW",t)}},y={namespaced:!0,state:g,mutations:b,actions:x},z=(n("99af"),n("159b"),n("a18c")),V=n("b775"),k=function(){return Object(V["a"])({url:"/getRouters",method:"get"})},C=n("c1f7"),M=n("74a1"),H={state:{routes:[],addRoutes:[],sidebarRouters:[]},mutations:{SET_ROUTES:function(e,t){e.addRoutes=t,e.routes=z["a"].concat(t)},SET_SIDEBAR_ROUTERS:function(e,t){e.sidebarRouters=z["a"].concat(t)}},actions:{GenerateRoutes:function(e){var t=e.commit;return new Promise((function(e){k().then((function(n){var i=JSON.parse(JSON.stringify(n.data)),a=JSON.parse(JSON.stringify(n.data)),s=S(i),c=S(a,!0);c.push({path:"*",redirect:"/404",hidden:!0}),t("SET_ROUTES",c),t("SET_SIDEBAR_ROUTERS",s),e(c)}))}))}}};function S(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.filter((function(e){return t&&e.children&&(e.children=_(e.children)),e.component&&("Layout"===e.component?e.component=C["a"]:"ParentView"===e.component?e.component=M["a"]:e.component=L(e.component)),null!=e.children&&e.children&&e.children.length&&(e.children=S(e.children,e,t)),!0}))}function _(e){var t=[];return e.forEach((function(e,n){e.children&&e.children.length&&"ParentView"===e.component?e.children.forEach((function(n){n.path=e.path+"/"+n.path,n.children&&n.children.length?t=t.concat(_(n.children,n)):t.push(n)})):t=t.concat(e)})),t}var L=function(e){return function(t){return Promise.all([n.e("chunk-42291fe0"),n.e("chunk-2f8c138d"),n.e("chunk-2d0b2b28"),n.e("chunk-2d0e2366"),n.e("chunk-7a25332f")]).then(function(){var i=[n("4b3b")("./".concat(e))];t.apply(null,i)}.bind(this)).catch(n.oe)}},B=H,T=n("49f4"),E=n.n(T),O=n("83d6"),j=n.n(O),$=j.a.sideTheme,A=j.a.showSettings,I=j.a.tagsView,P=j.a.fixedHeader,D=j.a.sidebarLogo,R={theme:E.a.theme,sideTheme:$,showSettings:A,tagsView:I,fixedHeader:P,sidebarLogo:D},q={CHANGE_SETTING:function(e,t){var n=t.key,i=t.value;e.hasOwnProperty(n)&&(e[n]=i)}},N={changeSetting:function(e,t){var n=e.commit;n("CHANGE_SETTING",t)}},W={namespaced:!0,state:R,mutations:q,actions:N},F={sidebar:function(e){return e.app.sidebar},size:function(e){return e.app.size},device:function(e){return e.app.device},visitedViews:function(e){return e.tagsView.visitedViews},cachedViews:function(e){return e.tagsView.cachedViews},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.name},introduction:function(e){return e.user.introduction},roles:function(e){return e.user.roles},permissions:function(e){return e.user.permissions},permission_routes:function(e){return e.permission.routes},sidebarRouters:function(e){return e.permission.sidebarRouters}},G=F;i["default"].use(a["a"]);var U=new a["a"].Store({modules:{app:d,user:v,tagsView:y,permission:B,settings:W},getters:G});t["a"]=U},4576:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},4738:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-server",use:"icon-server-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},4800:function(e,t,n){},"482c":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-post",use:"icon-post-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},4955:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"49be":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"49f4":function(e,t,n){e.exports={theme:"#1890ff"}},"4b94":function(e,t,n){e.exports=n.p+"static/img/profile.473f5971.jpg"},"4d24":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"4e5a":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"501f":function(e,t,n){"use strict";n("0043")},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var i=n("2b0e"),a=n("a78e"),s=n.n(a),c=n("5c96"),o=n.n(c),r=(n("49f4"),n("6861"),n("b34b"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)}),l=[],d={name:"App"},u=d,h=n("2877"),f=Object(h["a"])(u,r,l,!1,null,null,null),v=f.exports,m=n("4360"),p=n("a18c"),w=(n("caad"),n("2532"),{inserted:function(e,t,n){var i=t.value,a="admin",s=m["a"].getters&&m["a"].getters.roles;if(!(i&&i instanceof Array&&i.length>0))throw new Error('请设置角色权限标签值"');var c=i,o=s.some((function(e){return a===e||c.includes(e)}));o||e.parentNode&&e.parentNode.removeChild(e)}}),g={inserted:function(e,t,n){var i=t.value,a="*:*:*",s=m["a"].getters&&m["a"].getters.permissions;if(!(i&&i instanceof Array&&i.length>0))throw new Error("请设置操作权限标签值");var c=i,o=s.some((function(e){return a===e||c.includes(e)}));o||e.parentNode&&e.parentNode.removeChild(e)}},b=function(e){e.directive("hasRole",w),e.directive("hasPermi",g)};window.Vue&&(window["hasRole"]=w,window["hasPermi"]=g,Vue.use(b));var x=b,y=(n("d81d"),n("d3b7"),n("ddb0"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isExternal?n("div",e._g({staticClass:"svg-external-icon svg-icon",style:e.styleExternalIcon},e.$listeners)):n("svg",e._g({class:e.svgClass,attrs:{"aria-hidden":"true"}},e.$listeners),[n("use",{attrs:{"xlink:href":e.iconName}})])}),z=[],V=n("61f7"),k={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{isExternal:function(){return Object(V["a"])(this.iconClass)},iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"},styleExternalIcon:function(){return{mask:"url(".concat(this.iconClass,") no-repeat 50% 50%"),"-webkit-mask":"url(".concat(this.iconClass,") no-repeat 50% 50%")}}}},C=k,M=(n("95cd"),Object(h["a"])(C,y,z,!1,null,"248913c8",null)),H=M.exports;i["default"].component("svg-icon",H);var S=n("23f1"),_=function(e){return e.keys().map(e)};_(S);var L=n("5530"),B=n("323e"),T=n.n(B),E=(n("a5d8"),n("5f87"));T.a.configure({showSpinner:!1});var O=["/login","/auth-redirect","/bind","/register"];p["b"].beforeEach((function(e,t,n){T.a.start(),Object(E["a"])()?"/login"===e.path?(n({path:"/"}),T.a.done()):0===m["a"].getters.roles.length?m["a"].dispatch("GetInfo").then((function(t){var i=t.roles;m["a"].dispatch("GenerateRoutes",{roles:i}).then((function(t){p["b"].addRoutes(t),n(Object(L["a"])(Object(L["a"])({},e),{},{replace:!0}))}))})).catch((function(e){m["a"].dispatch("LogOut").then((function(){c["Message"].error(e),n({path:"/"})}))})):n():-1!==O.indexOf(e.path)?n():(n("/login?redirect=".concat(e.fullPath)),T.a.done())})),p["b"].afterEach((function(){T.a.done()}));var j=n("aa3a"),$=n("c0c3"),A=n("b775");function I(e){return Object(A["a"])({url:"/common/getCode",method:"post",params:e})}var P=n("c38a"),D=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pagination-container",class:{hidden:e.hidden}},[n("el-pagination",e._b({attrs:{background:e.background,"current-page":e.currentPage,"page-size":e.pageSize,layout:e.layout,"page-sizes":e.pageSizes,total:e.total},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t},"update:pageSize":function(t){e.pageSize=t},"update:page-size":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}},"el-pagination",e.$attrs,!1))],1)},R=[];n("a9e3");Math.easeInOutQuad=function(e,t,n,i){return e/=i/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var q=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function N(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function W(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function F(e,t,n){var i=W(),a=e-i,s=20,c=0;t="undefined"===typeof t?500:t;var o=function e(){c+=s;var o=Math.easeInOutQuad(c,i,a,t);N(o),c'});c.a.add(o);t["default"]=o},"57fa":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});c.a.add(o);t["default"]=o},"5aa7":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"5d9e":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-question",use:"icon-question-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"5f87":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return r}));var i=n("a78e"),a=n.n(i),s="Admin-Token";function c(){return a.a.get(s)}function o(e){return a.a.set(s,e)}function r(){return a.a.remove(s)}},"5fda":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"61f7":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n("498a"),n("d3b7");function i(e){return/^(https?:|mailto:|tel:)/.test(e)}},"679a":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"67bd":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-validCode",use:"icon-validCode-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},6861:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",menuLightBg:"#fff",menuLightHover:"#f0f1f5",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"200px",sidebarTitle:"#fff",sidebarLightTitle:"#001529"}},"6ef7":function(e,t,n){},7154:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});c.a.add(o);t["default"]=o},7234:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-textarea",use:"icon-textarea-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},7271:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"72d1":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"72e5":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"730d":function(e,t,n){"use strict";n("4800")},"737d":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-cascader",use:"icon-cascader-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"74a1":function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-view")},a=[],s=n("2877"),c={},o=Object(s["a"])(c,i,a,!1,null,null,null);t["a"]=o.exports},"74a2":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"76dd":function(e,t,n){},7892:function(e,t,n){"use strict";n("13bb")},"7ded":function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return o}));var i=n("b775");function a(e,t,n,a){var s={username:e,password:t,code:n,uuid:a};return Object(i["a"])({url:"/login",method:"post",data:s})}function s(){return Object(i["a"])({url:"/getInfo",method:"get"})}function c(){return Object(i["a"])({url:"/logout",method:"post"})}function o(){return Object(i["a"])({url:"/captchaImage",method:"get"})}},"81a5":function(e,t,n){e.exports=n.p+"static/img/logo.6daf653b.png"},"83d6":function(e,t){e.exports={title:"剧本杀管理系统",sideTheme:"theme-dark",showSettings:!1,tagsView:!0,fixedHeader:!1,sidebarLogo:!0,errorLog:"production"}},"84e5":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-swagger",use:"icon-swagger-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"879b":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"87d9":function(e,t,n){},8989:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"8df1":function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409eff",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",menuLightBg:"#fff",menuLightHover:"#f0f1f5",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"200px",sidebarTitle:"#fff",sidebarLightTitle:"#001529"}},"90f2":function(e,t,n){"use strict";n("b41f")},"91be":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"922f":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-system",use:"icon-system-usage",viewBox:"0 0 1084 1024",content:''});c.a.add(o);t["default"]=o},"937c":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"95cd":function(e,t,n){"use strict";n("76dd")},"98ab":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},"99c3":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-time-range",use:"icon-time-range-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"9a4c":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-radio",use:"icon-radio-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"9b2c":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-logininfor",use:"icon-logininfor-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"9c66":function(e,t,n){},"9cb5":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-log",use:"icon-log-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"9df4":function(e,t,n){},"9ec1":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-checkbox",use:"icon-checkbox-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},"9f4c":function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},a012:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},a17a:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},a18c:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("2b0e"),a=n("8c4f"),s=n("c1f7");n("74a1");i["default"].use(a["a"]);var c=[{path:"/redirect",component:s["a"],hidden:!0,children:[{path:"/redirect/:path(.*)",component:function(e){return n.e("chunk-2d0f012d").then(function(){var t=[n("9b8f")];e.apply(null,t)}.bind(this)).catch(n.oe)}}]},{path:"/login",component:function(e){return Promise.all([n.e("chunk-2d0b2b28"),n.e("chunk-07e0cbc6")]).then(function(){var t=[n("dd7b")];e.apply(null,t)}.bind(this)).catch(n.oe)},hidden:!0},{path:"/404",component:function(e){return n.e("chunk-c28ad000").then(function(){var t=[n("2754")];e.apply(null,t)}.bind(this)).catch(n.oe)},hidden:!0},{path:"/401",component:function(e){return n.e("chunk-b4477732").then(function(){var t=[n("ec55")];e.apply(null,t)}.bind(this)).catch(n.oe)},hidden:!0},{path:"",component:s["a"],redirect:"index",children:[{path:"index",component:function(e){return Promise.all([n.e("chunk-42291fe0"),n.e("chunk-61c93982")]).then(function(){var t=[n("1e4b")];e.apply(null,t)}.bind(this)).catch(n.oe)},name:"首页",meta:{title:"首页",icon:"dashboard",noCache:!0,affix:!0}}]},{path:"/user",component:s["a"],hidden:!0,redirect:"noredirect",children:[{path:"profile",component:function(e){return Promise.all([n.e("chunk-2d0e2366"),n.e("chunk-61ad5100")]).then(function(){var t=[n("4c1b")];e.apply(null,t)}.bind(this)).catch(n.oe)},name:"Profile",meta:{title:"个人中心",icon:"user"}}]},{path:"/dict",component:s["a"],hidden:!0,children:[{path:"type/data/:dictId(\\d+)",component:function(e){return n.e("chunk-d19c1a98").then(function(){var t=[n("bfc4")];e.apply(null,t)}.bind(this)).catch(n.oe)},name:"Data",meta:{title:"字典数据",icon:""}}]},{path:"/job",component:s["a"],hidden:!0,children:[{path:"log",component:function(e){return n.e("chunk-2d0a2db2").then(function(){var t=[n("0062")];e.apply(null,t)}.bind(this)).catch(n.oe)},name:"JobLog",meta:{title:"调度日志"}}]},{path:"/gen",component:s["a"],hidden:!0,children:[{path:"edit/:tableId(\\d+)",component:function(e){return Promise.all([n.e("chunk-2f8c138d"),n.e("chunk-3f93175c")]).then(function(){var t=[n("76f8")];e.apply(null,t)}.bind(this)).catch(n.oe)},name:"GenEdit",meta:{title:"修改生成配置"}}]}];t["b"]=new a["a"]({mode:"history",scrollBehavior:function(){return{y:0}},routes:c})},a1ac:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-number",use:"icon-number-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},a263:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-skill",use:"icon-skill-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},a2bf:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-date",use:"icon-date-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},a2d0:function(e,t,n){e.exports=n.p+"static/img/light.4183aad0.svg"},a2f6:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},a601:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},a75d:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},aa3a:function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"a",(function(){return o})),n.d(t,"g",(function(){return r})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return d}));var i=n("b775");function a(e){return Object(i["a"])({url:"/system/dict/data/list",method:"post",data:e})}function s(e){return Object(i["a"])({url:"/system/dict/data/"+e,method:"get"})}function c(e){return Object(i["a"])({url:"/system/dict/data/type/"+e,method:"get"})}function o(e){return Object(i["a"])({url:"/system/dict/data",method:"post",data:e})}function r(e){return Object(i["a"])({url:"/system/dict/data",method:"put",data:e})}function l(e){return Object(i["a"])({url:"/system/dict/data/"+e,method:"delete"})}function d(e){return Object(i["a"])({url:"/system/dict/data/export",method:"get",params:e})}},ab49:function(e,t,n){"use strict";n("3b39")},ac4e:function(e,t,n){"use strict";n("ed58")},ad41:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-date-range",use:"icon-date-range-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},adba:function(e,t,n){e.exports=n.p+"static/img/dark.412ca67e.svg"},ae6e:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},b34b:function(e,t,n){},b41f:function(e,t,n){},b470:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-phone",use:"icon-phone-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},b486:function(e,t,n){"use strict";n("c51f")},b6f9:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},b775:function(e,t,n){"use strict";var i=n("53ca"),a=(n("b64b"),n("fb6a"),n("d3b7"),n("caad"),n("2532"),n("bc3a")),s=n.n(a),c=n("5c96"),o=n("4360"),r=n("5f87"),l={401:"认证失败,无法访问系统资源",403:"当前操作没有权限",404:"访问资源不存在",default:"系统未知错误,请反馈给管理员"};s.a.defaults.headers["Content-Type"]="application/json;charset=utf-8";var d=s.a.create({baseURL:"/stage-api",timeout:6e5});d.interceptors.request.use((function(e){var t=!1===(e.headers||{}).isToken;if(Object(r["a"])()&&!t&&(e.headers["Authorization"]="Bearer "+Object(r["a"])()),"get"===e.method&&e.params){for(var n=e.url+"?",a=0,s=Object.keys(e.params);a'});c.a.add(o);t["default"]=o},bc7b:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-druid",use:"icon-druid-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},bcaa:function(e,t,n){},c0c3:function(e,t,n){"use strict";n.d(t,"g",(function(){return a})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return c})),n.d(t,"a",(function(){return o})),n.d(t,"h",(function(){return r})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return d})),n.d(t,"d",(function(){return u}));var i=n("b775");function a(e){return Object(i["a"])({url:"/system/config/list",method:"post",data:e})}function s(e){return Object(i["a"])({url:"/system/config/"+e,method:"get"})}function c(e){return Object(i["a"])({url:"/system/config/configKey/"+e,method:"get"})}function o(e){return Object(i["a"])({url:"/system/config",method:"post",data:e})}function r(e){return Object(i["a"])({url:"/system/config",method:"put",data:e})}function l(e){return Object(i["a"])({url:"/system/config/"+e,method:"delete"})}function d(){return Object(i["a"])({url:"/system/config/clearCache",method:"delete"})}function u(e){return Object(i["a"])({url:"/system/config/export",method:"get",params:e})}},c1f7:function(e,t,n){"use strict";var i,a,s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper",class:e.classObj,style:{"--current-color":e.theme}},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),n("sidebar",{staticClass:"sidebar-container",style:{backgroundColor:"theme-dark"===e.sideTheme?e.variables.menuBg:e.variables.menuLightBg}}),n("div",{staticClass:"main-container",class:{hasTagsView:e.needTagsView}},[n("div",{class:{"fixed-header":e.fixedHeader}},[n("navbar"),e.needTagsView?n("tags-view"):e._e()],1),n("app-main"),e.showSettings?n("right-panel",[n("settings")],1):e._e()],1)],1)},c=[],o=n("5530"),r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"rightPanel",staticClass:"rightPanel-container",class:{show:e.show}},[n("div",{staticClass:"rightPanel-background"}),n("div",{staticClass:"rightPanel"},[n("div",{staticClass:"rightPanel-items"},[e._t("default")],2)])])},l=[],d=(n("a9e3"),n("ed08")),u={name:"RightPanel",props:{clickNotClose:{default:!1,type:Boolean},buttonTop:{default:250,type:Number}},computed:{show:{get:function(){return this.$store.state.settings.showSettings},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"showSettings",value:e})}},theme:function(){return this.$store.state.settings.theme}},watch:{show:function(e){e&&!this.clickNotClose&&this.addEventClick(),e?Object(d["a"])(document.body,"showRightPanel"):Object(d["g"])(document.body,"showRightPanel")}},mounted:function(){this.insertToBody(),this.addEventClick()},beforeDestroy:function(){var e=this.$refs.rightPanel;e.remove()},methods:{addEventClick:function(){window.addEventListener("click",this.closeSidebar)},closeSidebar:function(e){var t=e.target.closest(".rightPanel");t||(this.show=!1,window.removeEventListener("click",this.closeSidebar))},insertToBody:function(){var e=this.$refs.rightPanel,t=document.querySelector("body");t.insertBefore(e,t.firstChild)}}},h=u,f=(n("fab5"),n("11d7"),n("2877")),v=Object(f["a"])(h,r,l,!1,null,"2b17496a",null),m=v.exports,p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"app-main"},[n("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[n("keep-alive",{attrs:{include:e.cachedViews}},[n("router-view",{key:e.key})],1)],1)],1)},w=[],g={name:"AppMain",computed:{cachedViews:function(){return this.$store.state.tagsView.cachedViews},key:function(){return this.$route.path}}},b=g,x=(n("c968"),n("028b"),Object(f["a"])(b,p,w,!1,null,"92459f82",null)),y=x.exports,z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navbar"},[n("hamburger",{staticClass:"hamburger-container",attrs:{id:"hamburger-container","is-active":e.sidebar.opened},on:{toggleClick:e.toggleSideBar}}),n("breadcrumb",{staticClass:"breadcrumb-container",attrs:{id:"breadcrumb-container"}}),n("div",{staticClass:"right-menu"},["mobile"!==e.device?[n("search",{staticClass:"right-menu-item",attrs:{id:"header-search"}})]:e._e(),n("el-dropdown",{staticClass:"avatar-container right-menu-item hover-effect",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:e.avatar}}),n("i",{staticClass:"el-icon-caret-bottom"})]),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{attrs:{to:"/user/profile"}},[n("el-dropdown-item",[e._v("个人中心")])],1),n("el-dropdown-item",{attrs:{divided:""},nativeOn:{click:function(t){return e.logout(t)}}},[n("span",[e._v("退出登录")])])],1)],1)],2)],1)},V=[],k=n("1da1"),C=(n("96cf"),n("2f62")),M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(t,i){return n("el-breadcrumb-item",{key:t.path},["noRedirect"===t.redirect||i==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("a",{on:{click:function(n){return n.preventDefault(),e.handleLink(t)}}},[e._v(e._s(t.meta.title))])])})),1)],1)},H=[],S=(n("2ca0"),n("4de4"),n("99af"),n("b0c0"),n("498a"),{data:function(){return{levelList:null}},watch:{$route:function(e){e.path.startsWith("/redirect/")||this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter((function(e){return e.meta&&e.meta.title})),t=e[0];this.isDashboard(t)||(e=[{path:"/index",meta:{title:"首页"}}].concat(e)),this.levelList=e.filter((function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb}))},isDashboard:function(e){var t=e&&e.name;return!!t&&"首页"===t.trim()},handleLink:function(e){var t=e.redirect,n=e.path;t?this.$router.push(t):this.$router.push(n)}}}),_=S,L=(n("501f"),Object(f["a"])(_,M,H,!1,null,"7b7d6196",null)),B=L.exports,T=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{padding:"0 15px"},on:{click:e.toggleClick}},[n("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[n("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},E=[],O={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},j=O,$=(n("186a"),Object(f["a"])(j,T,E,!1,null,"49e15297",null)),A=$.exports,I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":e.isFullscreen?"exit-fullscreen":"fullscreen"},on:{click:e.click}})],1)},P=[],D=n("93bf"),R=n.n(D),q={name:"Screenfull",data:function(){return{isFullscreen:!1}},mounted:function(){this.init()},beforeDestroy:function(){this.destroy()},methods:{click:function(){if(!R.a.isEnabled)return this.$message({message:"你的浏览器不支持全屏",type:"warning"}),!1;R.a.toggle()},change:function(){this.isFullscreen=R.a.isFullscreen},init:function(){R.a.isEnabled&&R.a.on("change",this.change)},destroy:function(){R.a.isEnabled&&R.a.off("change",this.change)}}},N=q,W=(n("d73c"),Object(f["a"])(N,I,P,!1,null,"243c7c0f",null)),F=W.exports,G=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dropdown",{attrs:{trigger:"click"},on:{command:e.handleSetSize}},[n("div",[n("svg-icon",{attrs:{"class-name":"size-icon","icon-class":"size"}})],1),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.sizeOptions,(function(t){return n("el-dropdown-item",{key:t.value,attrs:{disabled:e.size===t.value,command:t.value}},[e._v(" "+e._s(t.label)+" ")])})),1)],1)},U=[],J=(n("ac1f"),n("5319"),{data:function(){return{sizeOptions:[{label:"Default",value:"default"},{label:"Medium",value:"medium"},{label:"Small",value:"small"},{label:"Mini",value:"mini"}]}},computed:{size:function(){return this.$store.getters.size}},methods:{handleSetSize:function(e){this.$ELEMENT.size=e,this.$store.dispatch("app/setSize",e),this.refreshView(),this.$message({message:"Switch Size Success",type:"success"})},refreshView:function(){var e=this;this.$store.dispatch("tagsView/delAllCachedViews",this.$route);var t=this.$route.fullPath;this.$nextTick((function(){e.$router.replace({path:"/redirect"+t})}))}}}),Y=J,K=Object(f["a"])(Y,G,U,!1,null,null,null),Z=K.exports,Q=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"header-search",class:{show:e.show}},[n("svg-icon",{attrs:{"class-name":"search-icon","icon-class":"search"},on:{click:function(t){return t.stopPropagation(),e.click(t)}}}),n("el-select",{ref:"headerSearchSelect",staticClass:"header-search-select",attrs:{"remote-method":e.querySearch,filterable:"","default-first-option":"",remote:"",placeholder:"Search"},on:{change:e.change},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}},e._l(e.options,(function(e){return n("el-option",{key:e.item.path,attrs:{value:e.item,label:e.item.title.join(" > ")}})})),1)],1)},X=[],ee=n("2909"),te=n("b85c"),ne=(n("841c"),n("0278")),ie=n.n(ne),ae=n("df7c"),se=n.n(ae),ce={name:"HeaderSearch",data:function(){return{search:"",options:[],searchPool:[],show:!1,fuse:void 0}},computed:{routes:function(){return this.$store.getters.permission_routes}},watch:{routes:function(){this.searchPool=this.generateRoutes(this.routes)},searchPool:function(e){this.initFuse(e)},show:function(e){e?document.body.addEventListener("click",this.close):document.body.removeEventListener("click",this.close)}},mounted:function(){this.searchPool=this.generateRoutes(this.routes)},methods:{click:function(){this.show=!this.show,this.show&&this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.focus()},close:function(){this.$refs.headerSearchSelect&&this.$refs.headerSearchSelect.blur(),this.options=[],this.show=!1},change:function(e){var t=this;this.ishttp(e.path)?window.open(e.path,"_blank"):this.$router.push(e.path),this.search="",this.options=[],this.$nextTick((function(){t.show=!1}))},initFuse:function(e){this.fuse=new ie.a(e,{shouldSort:!0,threshold:.4,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"title",weight:.7},{name:"path",weight:.3}]})},generateRoutes:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=[],s=Object(te["a"])(e);try{for(s.s();!(t=s.n()).done;){var c=t.value;if(!c.hidden){var o={path:this.ishttp(c.path)?c.path:se.a.resolve(n,c.path),title:Object(ee["a"])(i)};if(c.meta&&c.meta.title&&(o.title=[].concat(Object(ee["a"])(o.title),[c.meta.title]),"noRedirect"!==c.redirect&&a.push(o)),c.children){var r=this.generateRoutes(c.children,o.path,o.title);r.length>=1&&(a=[].concat(Object(ee["a"])(a),Object(ee["a"])(r)))}}}}catch(l){s.e(l)}finally{s.f()}return a},querySearch:function(e){this.options=""!==e?this.fuse.search(e):[]},ishttp:function(e){return-1!==e.indexOf("http://")||-1!==e.indexOf("https://")}}},oe=ce,re=(n("90f2"),Object(f["a"])(oe,Q,X,!1,null,"6072173a",null)),le=re.exports,de=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":"github"},on:{click:e.goto}})],1)},ue=[],he={name:"RuoYiGit",data:function(){return{url:"https://gitee.com/y_project/RuoYi-Vue"}},methods:{goto:function(){window.open(this.url)}}},fe=he,ve=Object(f["a"])(fe,de,ue,!1,null,null,null),me=ve.exports,pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg-icon",{attrs:{"icon-class":"question"},on:{click:e.goto}})],1)},we=[],ge={name:"RuoYiDoc",data:function(){return{url:"http://doc.ruoyi.vip/ruoyi-vue"}},methods:{goto:function(){window.open(this.url)}}},be=ge,xe=Object(f["a"])(be,pe,we,!1,null,null,null),ye=xe.exports,ze={components:{Breadcrumb:B,Hamburger:A,Screenfull:F,SizeSelect:Z,Search:le,RuoYiGit:me,RuoYiDoc:ye},computed:Object(o["a"])(Object(o["a"])({},Object(C["b"])(["sidebar","avatar","device"])),{},{setting:{get:function(){return this.$store.state.settings.showSettings},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"showSettings",value:e})}}}),methods:{toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},logout:function(){var e=this;return Object(k["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$confirm("确定注销并退出系统吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.$store.dispatch("LogOut").then((function(){location.href="/index"}))}));case 1:case"end":return t.stop()}}),t)})))()}}},Ve=ze,ke=(n("ac4e"),Object(f["a"])(Ve,z,V,!1,null,"ef8c8e6e",null)),Ce=ke.exports,Me=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"drawer-container"},[i("div",[i("div",{staticClass:"setting-drawer-content"},[e._m(0),i("div",{staticClass:"setting-drawer-block-checbox"},[i("div",{staticClass:"setting-drawer-block-checbox-item",on:{click:function(t){return e.handleTheme("theme-dark")}}},[i("img",{attrs:{src:n("adba"),alt:"dark"}}),"theme-dark"===e.sideTheme?i("div",{staticClass:"setting-drawer-block-checbox-selectIcon",staticStyle:{display:"block"}},[i("i",{staticClass:"anticon anticon-check",attrs:{"aria-label":"图标: check"}},[i("svg",{attrs:{viewBox:"64 64 896 896","data-icon":"check",width:"1em",height:"1em",fill:e.theme,"aria-hidden":"true",focusable:"false"}},[i("path",{attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}})])])]):e._e()]),i("div",{staticClass:"setting-drawer-block-checbox-item",on:{click:function(t){return e.handleTheme("theme-light")}}},[i("img",{attrs:{src:n("a2d0"),alt:"light"}}),"theme-light"===e.sideTheme?i("div",{staticClass:"setting-drawer-block-checbox-selectIcon",staticStyle:{display:"block"}},[i("i",{staticClass:"anticon anticon-check",attrs:{"aria-label":"图标: check"}},[i("svg",{attrs:{viewBox:"64 64 896 896","data-icon":"check",width:"1em",height:"1em",fill:e.theme,"aria-hidden":"true",focusable:"false"}},[i("path",{attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}})])])]):e._e()])]),i("div",{staticClass:"drawer-item"},[i("span",[e._v("主题颜色")]),i("theme-picker",{staticStyle:{float:"right",height:"26px",margin:"-3px 8px 0 0"},on:{change:e.themeChange}})],1)]),i("el-divider"),i("h3",{staticClass:"drawer-title"},[e._v("系统布局配置")]),i("div",{staticClass:"drawer-item"},[i("span",[e._v("开启 Tags-Views")]),i("el-switch",{staticClass:"drawer-switch",model:{value:e.tagsView,callback:function(t){e.tagsView=t},expression:"tagsView"}})],1),i("div",{staticClass:"drawer-item"},[i("span",[e._v("固定 Header")]),i("el-switch",{staticClass:"drawer-switch",model:{value:e.fixedHeader,callback:function(t){e.fixedHeader=t},expression:"fixedHeader"}})],1),i("div",{staticClass:"drawer-item"},[i("span",[e._v("显示 Logo")]),i("el-switch",{staticClass:"drawer-switch",model:{value:e.sidebarLogo,callback:function(t){e.sidebarLogo=t},expression:"sidebarLogo"}})],1)],1)])},He=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"setting-drawer-title"},[n("h3",{staticClass:"drawer-title"},[e._v("主题风格设置")])])}],Se=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-color-picker",{staticClass:"theme-picker",attrs:{predefine:["#409EFF","#1890ff","#304156","#212121","#11a983","#13c2c2","#6959CD","#f5222d"],"popper-class":"theme-picker-dropdown"},model:{value:e.theme,callback:function(t){e.theme=t},expression:"theme"}})},_e=[],Le=(n("fb6a"),n("4d63"),n("25f0"),n("159b"),n("d3b7"),n("a15b"),n("b680"),n("f6f8").version),Be="#409EFF",Te={data:function(){return{chalk:"",theme:""}},computed:{defaultTheme:function(){return this.$store.state.settings.theme}},watch:{defaultTheme:{handler:function(e,t){this.theme=e},immediate:!0},theme:function(e){var t=this;return Object(k["a"])(regeneratorRuntime.mark((function n(){var i,a,s,c,o,r,l,d;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(i=t.chalk?t.theme:Be,"string"===typeof e){n.next=3;break}return n.abrupt("return");case 3:if(a=t.getThemeCluster(e.replace("#","")),s=t.getThemeCluster(i.replace("#","")),c=t.$message({message:" Compiling the theme",customClass:"theme-message",type:"success",duration:0,iconClass:"el-icon-loading"}),o=function(e,n){return function(){var i=t.getThemeCluster(Be.replace("#","")),s=t.updateStyle(t[e],i,a),c=document.getElementById(n);c||(c=document.createElement("style"),c.setAttribute("id",n),document.head.appendChild(c)),c.innerText=s}},t.chalk){n.next=11;break}return r="https://unpkg.com/element-ui@".concat(Le,"/lib/theme-chalk/index.css"),n.next=11,t.getCSSString(r,"chalk");case 11:l=o("chalk","chalk-style"),l(),d=[].slice.call(document.querySelectorAll("style")).filter((function(e){var t=e.innerText;return new RegExp(i,"i").test(t)&&!/Chalk Variables/.test(t)})),d.forEach((function(e){var n=e.innerText;"string"===typeof n&&(e.innerText=t.updateStyle(n,s,a))})),t.$emit("change",e),c.close();case 17:case"end":return n.stop()}}),n)})))()}},methods:{updateStyle:function(e,t,n){var i=e;return t.forEach((function(e,t){i=i.replace(new RegExp(e,"ig"),n[t])})),i},getCSSString:function(e,t){var n=this;return new Promise((function(i){var a=new XMLHttpRequest;a.onreadystatechange=function(){4===a.readyState&&200===a.status&&(n[t]=a.responseText.replace(/@font-face{[^}]+}/,""),i())},a.open("GET",e),a.send()}))},getThemeCluster:function(e){for(var t=function(e,t){var n=parseInt(e.slice(0,2),16),i=parseInt(e.slice(2,4),16),a=parseInt(e.slice(4,6),16);return 0===t?[n,i,a].join(","):(n+=Math.round(t*(255-n)),i+=Math.round(t*(255-i)),a+=Math.round(t*(255-a)),n=n.toString(16),i=i.toString(16),a=a.toString(16),"#".concat(n).concat(i).concat(a))},n=function(e,t){var n=parseInt(e.slice(0,2),16),i=parseInt(e.slice(2,4),16),a=parseInt(e.slice(4,6),16);return n=Math.round((1-t)*n),i=Math.round((1-t)*i),a=Math.round((1-t)*a),n=n.toString(16),i=i.toString(16),a=a.toString(16),"#".concat(n).concat(i).concat(a)},i=[e],a=0;a<=9;a++)i.push(t(e,Number((a/10).toFixed(2))));return i.push(n(e,.1)),i}}},Ee=Te,Oe=(n("06c2"),Object(f["a"])(Ee,Se,_e,!1,null,null,null)),je=Oe.exports,$e={components:{ThemePicker:je},data:function(){return{}},computed:{theme:function(){return this.$store.state.settings.theme},sideTheme:function(){return this.$store.state.settings.sideTheme},fixedHeader:{get:function(){return this.$store.state.settings.fixedHeader},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"fixedHeader",value:e})}},tagsView:{get:function(){return this.$store.state.settings.tagsView},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"tagsView",value:e})}},sidebarLogo:{get:function(){return this.$store.state.settings.sidebarLogo},set:function(e){this.$store.dispatch("settings/changeSetting",{key:"sidebarLogo",value:e})}}},methods:{themeChange:function(e){this.$store.dispatch("settings/changeSetting",{key:"theme",value:e})},handleTheme:function(e){this.$store.dispatch("settings/changeSetting",{key:"sideTheme",value:e})}}},Ae=$e,Ie=(n("ab49"),Object(f["a"])(Ae,Me,He,!1,null,"a9831cfa",null)),Pe=Ie.exports,De=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"has-logo":e.showLogo},style:{backgroundColor:"theme-dark"===e.settings.sideTheme?e.variables.menuBg:e.variables.menuLightBg}},[e.showLogo?n("logo",{attrs:{collapse:e.isCollapse}}):e._e(),n("el-scrollbar",{class:e.settings.sideTheme,attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":e.activeMenu,collapse:e.isCollapse,"background-color":"theme-dark"===e.settings.sideTheme?e.variables.menuBg:e.variables.menuLightBg,"text-color":"theme-dark"===e.settings.sideTheme?e.variables.menuText:"rgba(0,0,0,.65)","unique-opened":!0,"active-text-color":e.settings.theme,"collapse-transition":!1,mode:"vertical"}},e._l(e.sidebarRouters,(function(e,t){return n("sidebar-item",{key:e.path+t,attrs:{item:e,"base-path":e.path}})})),1)],1)],1)},Re=[],qe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sidebar-logo-container",class:{collapse:e.collapse},style:{backgroundColor:"theme-dark"===e.sideTheme?e.variables.menuBg:e.variables.menuLightBg}},[n("transition",{attrs:{name:"sidebarLogoFade"}},[e.collapse?n("router-link",{key:"collapse",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):n("h1",{staticClass:"sidebar-title",style:{color:"theme-dark"===e.sideTheme?e.variables.sidebarTitle:e.variables.sidebarLightTitle}},[e._v(e._s(e.title)+" ")])]):n("router-link",{key:"expand",staticClass:"sidebar-logo-link",attrs:{to:"/"}},[e.logo?n("img",{staticClass:"sidebar-logo",attrs:{src:e.logo}}):e._e(),n("h1",{staticClass:"sidebar-title",style:{color:"theme-dark"===e.sideTheme?e.variables.sidebarTitle:e.variables.sidebarLightTitle}},[e._v(e._s(e.title)+" ")])])],1)],1)},Ne=[],We=(n("81a5"),n("8df1")),Fe=n.n(We),Ge={name:"SidebarLogo",props:{collapse:{type:Boolean,required:!0}},computed:{variables:function(){return Fe.a},sideTheme:function(){return this.$store.state.settings.sideTheme}},data:function(){return{title:"剧本杀管理系统",logo:""}}},Ue=Ge,Je=(n("7892"),Object(f["a"])(Ue,qe,Ne,!1,null,"05db9c8b",null)),Ye=Je.exports,Ke=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.item.hidden?e._e():n("div",[!e.hasOneShowingChild(e.item.children,e.item)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title}}):e._e()],1),e._l(e.item.children,(function(t){return n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}})}))],2):[e.onlyOneChild.meta?n("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta&&e.item.meta.icon,title:e.onlyOneChild.meta.title}})],1)],1):e._e()]],2)},Ze=[],Qe=n("61f7"),Xe={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,i=n.icon,a=n.title,s=[];return i&&s.push(e("svg-icon",{attrs:{"icon-class":i}})),a&&s.push(e("span",{slot:"title"},[a])),s}},et=Xe,tt=Object(f["a"])(et,i,a,!1,null,null,null),nt=tt.exports,it=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.type,e._b({tag:"component"},"component",e.linkProps(e.to),!1),[e._t("default")],2)},at=[],st={props:{to:{type:String,required:!0}},computed:{isExternal:function(){return Object(Qe["a"])(this.to)},type:function(){return this.isExternal?"a":"router-link"}},methods:{linkProps:function(e){return this.isExternal?{href:e,target:"_blank",rel:"noopener"}:{to:e}}}},ct=st,ot=Object(f["a"])(ct,it,at,!1,null,null,null),rt=ot.exports,lt={computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,t=this.$refs.subMenu;if(t){var n=t.handleMouseleave;t.handleMouseleave=function(t){"mobile"!==e.device&&n(t)}}}}},dt={name:"SidebarItem",components:{Item:nt,AppLink:rt},mixins:[lt],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;t||(t=[]);var i=t.filter((function(t){return!t.hidden&&(e.onlyOneChild=t,!0)}));return 1===i.length||0===i.length&&(this.onlyOneChild=Object(o["a"])(Object(o["a"])({},n),{},{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e){return Object(Qe["a"])(e)?e:Object(Qe["a"])(this.basePath)?this.basePath:se.a.resolve(this.basePath,e)}}},ut=dt,ht=Object(f["a"])(ut,Ke,Ze,!1,null,null,null),ft=ht.exports,vt={components:{SidebarItem:ft,Logo:Ye},computed:Object(o["a"])(Object(o["a"])(Object(o["a"])({},Object(C["c"])(["settings"])),Object(C["b"])(["sidebarRouters","sidebar"])),{},{activeMenu:function(){var e=this.$route,t=e.meta,n=e.path;return t.activeMenu?t.activeMenu:n},showLogo:function(){return this.$store.state.settings.sidebarLogo},variables:function(){return Fe.a},isCollapse:function(){return!this.sidebar.opened}})},mt=vt,pt=Object(f["a"])(mt,De,Re,!1,null,null,null),wt=pt.exports,gt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tags-view-container",attrs:{id:"tags-view-container"}},[n("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper",on:{scroll:e.handleScroll}},e._l(e.visitedViews,(function(t){return n("router-link",{key:t.path,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:e.isActive(t)?"active":"",style:e.activeStyle(t),attrs:{to:{path:t.path,query:t.query,fullPath:t.fullPath},tag:"span"},nativeOn:{mouseup:function(n){if("button"in n&&1!==n.button)return null;!e.isAffix(t)&&e.closeSelectedTag(t)},contextmenu:function(n){return n.preventDefault(),e.openMenu(t,n)}}},[e._v(" "+e._s(t.title)+" "),e.isAffix(t)?e._e():n("span",{staticClass:"el-icon-close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),e.closeSelectedTag(t)}}})])})),1),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"contextmenu",style:{left:e.left+"px",top:e.top+"px"}},[n("li",{on:{click:function(t){return e.refreshSelectedTag(e.selectedTag)}}},[e._v("刷新页面")]),e.isAffix(e.selectedTag)?e._e():n("li",{on:{click:function(t){return e.closeSelectedTag(e.selectedTag)}}},[e._v("关闭当前")]),n("li",{on:{click:e.closeOthersTags}},[e._v("关闭其他")]),n("li",{on:{click:function(t){return e.closeAllTags(e.selectedTag)}}},[e._v("关闭所有")])])],1)},bt=[],xt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-scrollbar",{ref:"scrollContainer",staticClass:"scroll-container",attrs:{vertical:!1},nativeOn:{wheel:function(t){return t.preventDefault(),e.handleScroll(t)}}},[e._t("default")],2)},yt=[],zt=(n("c740"),4),Vt={name:"ScrollPane",data:function(){return{left:0}},computed:{scrollWrapper:function(){return this.$refs.scrollContainer.$refs.wrap}},mounted:function(){this.scrollWrapper.addEventListener("scroll",this.emitScroll,!0)},beforeDestroy:function(){this.scrollWrapper.removeEventListener("scroll",this.emitScroll)},methods:{handleScroll:function(e){var t=e.wheelDelta||40*-e.deltaY,n=this.scrollWrapper;n.scrollLeft=n.scrollLeft+t/4},emitScroll:function(){this.$emit("scroll")},moveToTarget:function(e){var t=this.$refs.scrollContainer.$el,n=t.offsetWidth,i=this.scrollWrapper,a=this.$parent.$refs.tag,s=null,c=null;if(a.length>0&&(s=a[0],c=a[a.length-1]),s===e)i.scrollLeft=0;else if(c===e)i.scrollLeft=i.scrollWidth-n;else{var o=a.findIndex((function(t){return t===e})),r=a[o-1],l=a[o+1],d=l.$el.offsetLeft+l.$el.offsetWidth+zt,u=r.$el.offsetLeft-zt;d>i.scrollLeft+n?i.scrollLeft=d-n:u1&&void 0!==arguments[1]?arguments[1]:"/",i=[];return e.forEach((function(e){if(e.meta&&e.meta.affix){var a=se.a.resolve(n,e.path);i.push({fullPath:a,path:a,name:e.name,meta:Object(o["a"])({},e.meta)})}if(e.children){var s=t.filterAffixTags(e.children,e.path);s.length>=1&&(i=[].concat(Object(ee["a"])(i),Object(ee["a"])(s)))}})),i},initTags:function(){var e,t=this.affixTags=this.filterAffixTags(this.routes),n=Object(te["a"])(t);try{for(n.s();!(e=n.n()).done;){var i=e.value;i.name&&this.$store.dispatch("tagsView/addVisitedView",i)}}catch(a){n.e(a)}finally{n.f()}},addTags:function(){var e=this.$route.name;return e&&this.$store.dispatch("tagsView/addView",this.$route),!1},moveToCurrentTag:function(){var e=this,t=this.$refs.tag;this.$nextTick((function(){var n,i=Object(te["a"])(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;if(a.to.path===e.$route.path){e.$refs.scrollPane.moveToTarget(a),a.to.fullPath!==e.$route.fullPath&&e.$store.dispatch("tagsView/updateVisitedView",e.$route);break}}}catch(s){i.e(s)}finally{i.f()}}))},refreshSelectedTag:function(e){var t=this;this.$store.dispatch("tagsView/delCachedView",e).then((function(){var n=e.fullPath;t.$nextTick((function(){t.$router.replace({path:"/redirect"+n})}))}))},closeSelectedTag:function(e){var t=this;this.$store.dispatch("tagsView/delView",e).then((function(n){var i=n.visitedViews;t.isActive(e)&&t.toLastView(i,e)}))},closeOthersTags:function(){var e=this;this.$router.push(this.selectedTag).catch((function(){})),this.$store.dispatch("tagsView/delOthersViews",this.selectedTag).then((function(){e.moveToCurrentTag()}))},closeAllTags:function(e){var t=this;this.$store.dispatch("tagsView/delAllViews").then((function(n){var i=n.visitedViews;t.affixTags.some((function(e){return e.path===t.$route.path}))||t.toLastView(i,e)}))},toLastView:function(e,t){var n=e.slice(-1)[0];n?this.$router.push(n.fullPath):"Dashboard"===t.name?this.$router.replace({path:"/redirect"+t.fullPath}):this.$router.push("/")},openMenu:function(e,t){var n=105,i=this.$el.getBoundingClientRect().left,a=this.$el.offsetWidth,s=a-n,c=t.clientX-i+15;this.left=c>s?s:c,this.top=t.clientY,this.visible=!0,this.selectedTag=e},closeMenu:function(){this.visible=!1},handleScroll:function(){this.closeMenu()}}},St=Ht,_t=(n("730d"),n("cfaa"),Object(f["a"])(St,gt,bt,!1,null,"004442bd",null)),Lt=_t.exports,Bt=n("4360"),Tt=document,Et=Tt.body,Ot=992,jt={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&Bt["a"].dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var e=this.$_isMobile();e&&(Bt["a"].dispatch("app/toggleDevice","mobile"),Bt["a"].dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var e=Et.getBoundingClientRect();return e.width-1'});c.a.add(o);t["default"]=o},c38a:function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"g",(function(){return c})),n.d(t,"a",(function(){return o})),n.d(t,"h",(function(){return r})),n.d(t,"d",(function(){return l})),n.d(t,"i",(function(){return d})),n.d(t,"b",(function(){return u})),n.d(t,"f",(function(){return h})),n.d(t,"c",(function(){return f}));var i=n("53ca"),a=(n("ac1f"),n("5319"),n("4d63"),n("25f0"),n("d3b7"),n("b64b"),n("a15b"),n("b0c0"),n("1276"),n("d81d"),n("4de4"),"/stage-api");function s(e,t){if(0===arguments.length||!e)return null;var n,a=t||"{y}-{m}-{d} {h}:{i}:{s}";"object"===Object(i["a"])(e)?n=e:("string"===typeof e&&/^[0-9]+$/.test(e)?e=parseInt(e):"string"===typeof e&&(e=e.replace(new RegExp(/-/gm),"/")),"number"===typeof e&&10===e.toString().length&&(e*=1e3),n=new Date(e));var s={y:n.getFullYear(),m:n.getMonth()+1,d:n.getDate(),h:n.getHours(),i:n.getMinutes(),s:n.getSeconds(),a:n.getDay()},c=a.replace(/{(y|m|d|h|i|s|a)+}/g,(function(e,t){var n=s[t];return"a"===t?["日","一","二","三","四","五","六"][n]:(e.length>0&&n<10&&(n="0"+n),n||0)}));return c}function c(e){this.$refs[e]&&this.$refs[e].resetFields()}function o(e,t,n){var i=e;return i.query.params={},null!=t&&""!=t&&("undefined"===typeof n?(i.query.params["beginTime"]=t[0],i.query.params["endTime"]=t[1]):(i.query.params["begin"+n]=t[0],i.query.params["end"+n]=t[1])),i}function r(e,t){var n=[];return Object.keys(e).some((function(i){if(e[i].dictValue==""+t)return n.push(e[i].dictLabel),!0})),n.join("")}function l(e,t){var n=[];return Object.keys(e).some((function(i){if(e[i].id==""+t)return n.push(e[i].name),!0})),n.join("")}function d(e,t,n){var i=[],a=void 0===n?",":n,s=t.split(a);return Object.keys(t.split(a)).some((function(t){Object.keys(e).some((function(n){e[n].dictValue==""+s[t]&&i.push(e[n].dictLabel+a)}))})),i.join("").substring(0,i.join("").length-1)}function u(e){window.location.href=a+"/common/download?fileName="+encodeURI(e)+"&delete="+!0}function h(e){return e&&"undefined"!=e&&"null"!=e?e:""}function f(e,t,n,i,a){t=t||"id",n=n||"parentId",i=i||"children",a=a||Math.min.apply(Math,e.map((function(e){return e[n]})))||"0";var s=JSON.parse(JSON.stringify(e)),c=s.filter((function(e){var i=s.filter((function(i){return e[t]===i[n]}));return i.length>0&&(e.children=i),e[n]===a}));return""!=c?c:e}},c4d7:function(e,t,n){"use strict";n("87d9")},c51f:function(e,t,n){},c968:function(e,t,n){"use strict";n("9c66")},caf7:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});c.a.add(o);t["default"]=o},cda1:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-github",use:"icon-github-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},cfaa:function(e,t,n){"use strict";n("e1eb")},d3b2:function(e,t,n){"use strict";n("12de")},d73c:function(e,t,n){"use strict";n("b799")},d7a0:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-code",use:"icon-code-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},d88a:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});c.a.add(o);t["default"]=o},da75:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-dict",use:"icon-dict-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},dbc4:function(e,t,n){},dc13:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},dc78:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},df36:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-slider",use:"icon-slider-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},e1eb:function(e,t,n){},e218:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-color",use:"icon-color-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},e3ff:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},e498:function(e,t,n){"use strict";n("1c18")},e82a:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-job",use:"icon-job-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},ed00:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});c.a.add(o);t["default"]=o},ed08:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"g",(function(){return c})),n.d(t,"f",(function(){return o})),n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return l})),n.d(t,"h",(function(){return d})),n.d(t,"e",(function(){return u}));n("53ca"),n("ac1f"),n("5319"),n("a15b"),n("d81d"),n("b64b"),n("1276"),n("159b"),n("fb6a"),n("a630"),n("3ca3"),n("d3b7"),n("6062"),n("ddb0"),n("25f0"),n("466d"),n("4d63"),n("c38a");function i(e,t,n){var i,a,s,c,o,r=function r(){var l=+new Date-c;l0?i=setTimeout(r,t-l):(i=null,n||(o=e.apply(s,a),i||(s=a=null)))};return function(){for(var a=arguments.length,l=new Array(a),d=0;d'});c.a.add(o);t["default"]=o},f71f:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-monitor",use:"icon-monitor-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},f8e6:function(e,t,n){"use strict";n.r(t);var i=n("e017"),a=n.n(i),s=n("21a1"),c=n.n(s),o=new a.a({id:"icon-time",use:"icon-time-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(o);t["default"]=o},fab5:function(e,t,n){"use strict";n("bcaa")}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/jbs-front/static/js/chunk-aef2ddc0.78c29705.js b/jbs-front/static/js/chunk-07e0cbc6.352a4ead.js similarity index 93% rename from jbs-front/static/js/chunk-aef2ddc0.78c29705.js rename to jbs-front/static/js/chunk-07e0cbc6.352a4ead.js index 5e4b1be..5713ae4 100644 --- a/jbs-front/static/js/chunk-aef2ddc0.78c29705.js +++ b/jbs-front/static/js/chunk-07e0cbc6.352a4ead.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-aef2ddc0"],{6822:function(e,o,t){},dd7b:function(e,o,t){"use strict";t.r(o);var r=function(){var e=this,o=e.$createElement,t=e._self._c||o;return t("div",{staticClass:"login"},[t("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:e.loginForm,rules:e.loginRules}},[t("h3",{staticClass:"title"},[e._v("剧本杀管理系统")]),t("el-form-item",{attrs:{prop:"username"}},[t("el-input",{attrs:{type:"text","auto-complete":"off",placeholder:"账号"},model:{value:e.loginForm.username,callback:function(o){e.$set(e.loginForm,"username",o)},expression:"loginForm.username"}},[t("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"user"},slot:"prefix"})],1)],1),t("el-form-item",{attrs:{prop:"password"}},[t("el-input",{attrs:{type:"password","auto-complete":"off",placeholder:"密码"},nativeOn:{keyup:function(o){return!o.type.indexOf("key")&&e._k(o.keyCode,"enter",13,o.key,"Enter")?null:e.handleLogin(o)}},model:{value:e.loginForm.password,callback:function(o){e.$set(e.loginForm,"password",o)},expression:"loginForm.password"}},[t("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"password"},slot:"prefix"})],1)],1),t("el-form-item",{attrs:{prop:"code"}},[t("el-input",{staticStyle:{width:"63%"},attrs:{"auto-complete":"off",placeholder:"验证码"},nativeOn:{keyup:function(o){return!o.type.indexOf("key")&&e._k(o.keyCode,"enter",13,o.key,"Enter")?null:e.handleLogin(o)}},model:{value:e.loginForm.code,callback:function(o){e.$set(e.loginForm,"code",o)},expression:"loginForm.code"}},[t("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"validCode"},slot:"prefix"})],1),t("div",{staticClass:"login-code"},[t("img",{staticClass:"login-code-img",attrs:{src:e.codeUrl},on:{click:e.getCode}})])],1),t("el-checkbox",{staticStyle:{margin:"0px 0px 25px 0px"},model:{value:e.loginForm.rememberMe,callback:function(o){e.$set(e.loginForm,"rememberMe",o)},expression:"loginForm.rememberMe"}},[e._v("记住密码")]),t("el-form-item",{staticStyle:{width:"100%"}},[t("el-button",{staticStyle:{width:"100%"},attrs:{loading:e.loading,size:"medium",type:"primary"},nativeOn:{click:function(o){return o.preventDefault(),e.handleLogin(o)}}},[e.loading?t("span",[e._v("登 录 中...")]):t("span",[e._v("登 录")])])],1)],1),e._m(0)],1)},i=[function(){var e=this,o=e.$createElement,t=e._self._c||o;return t("div",{staticClass:"el-login-footer"},[t("span",[e._v("Copyright © 2018-2021 ruoyi.vip All Rights Reserved.")])])}],n=t("7ded"),s=t("e04f"),a=t.n(s),l=t("dcaa"),c=t.n(l),u="MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKoR8mX0rGKLqzcWmOzbfj64K8ZIgOdH\nnzkXSOVOZbFu/TJhZ7rFAN+eaGkl3C4buccQd/EjEsj9ir7ijT7h96MCAwEAAQ==",m="MIIBVAIBADANBgkqhkiG9w0BAQEFAASCAT4wggE6AgEAAkEAqhHyZfSsYourNxaY\n7Nt+PrgrxkiA50efORdI5U5lsW79MmFnusUA355oaSXcLhu5xxB38SMSyP2KvuKN\nPuH3owIDAQABAkAfoiLyL+Z4lf4Myxk6xUDgLaWGximj20CUf+5BKKnlrK+Ed8gA\nkM0HqoTt2UZwA5E2MzS4EI2gjfQhz5X28uqxAiEA3wNFxfrCZlSZHb0gn2zDpWow\ncSxQAgiCstxGUoOqlW8CIQDDOerGKH5OmCJ4Z21v+F25WaHYPxCFMvwxpcw99Ecv\nDQIgIdhDTIqD2jfYjPTY8Jj3EDGPbH2HHuffvflECt3Ek60CIQCFRlCkHpi7hthh\nYhovyloRYsM+IS9h/0BzlEAuO0ktMQIgSPT3aFAgJYwKpqRYKlLDVcflZFCKY7u3\nUP8iWi1Qw0Y=";function d(e){var o=new c.a;return o.setPublicKey(u),o.encrypt(e)}function g(e){var o=new c.a;return o.setPrivateKey(m),o.decrypt(e)}var p={name:"Login",data:function(){return{codeUrl:"",cookiePassword:"",loginForm:{username:"admin",password:"admin123",rememberMe:!1,code:"",uuid:""},loginRules:{username:[{required:!0,trigger:"blur",message:"用户名不能为空"}],password:[{required:!0,trigger:"blur",message:"密码不能为空"}],code:[{required:!0,trigger:"change",message:"验证码不能为空"}]},loading:!1,redirect:void 0}},watch:{$route:{handler:function(e){this.redirect=e.query&&e.query.redirect},immediate:!0}},created:function(){this.getCode(),this.getCookie()},methods:{getCode:function(){var e=this;Object(n["a"])().then((function(o){e.codeUrl="data:image/gif;base64,"+o.img,e.loginForm.uuid=o.uuid}))},getCookie:function(){var e=a.a.get("username"),o=a.a.get("password"),t=a.a.get("rememberMe");this.loginForm={username:void 0===e?this.loginForm.username:e,password:void 0===o?this.loginForm.password:g(o),rememberMe:void 0!==t&&Boolean(t)}},handleLogin:function(){var e=this;this.$refs.loginForm.validate((function(o){o&&(e.loading=!0,e.loginForm.rememberMe?(a.a.set("username",e.loginForm.username,{expires:30}),a.a.set("password",d(e.loginForm.password),{expires:30}),a.a.set("rememberMe",e.loginForm.rememberMe,{expires:30})):(a.a.remove("username"),a.a.remove("password"),a.a.remove("rememberMe")),e.$store.dispatch("Login",e.loginForm).then((function(){e.$router.push({path:e.redirect||"/"}).catch((function(){}))})).catch((function(){e.loading=!1,e.getCode()})))}))}}},f=p,h=(t("eecc"),t("cba8")),v=Object(h["a"])(f,r,i,!1,null,null,null);o["default"]=v.exports},eecc:function(e,o,t){"use strict";t("6822")}}]); \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-07e0cbc6"],{2912:function(e,o,t){},dd7b:function(e,o,t){"use strict";t.r(o);var r=function(){var e=this,o=e.$createElement,t=e._self._c||o;return t("div",{staticClass:"login"},[t("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:e.loginForm,rules:e.loginRules}},[t("h3",{staticClass:"title"},[e._v("剧本杀管理系统")]),t("el-form-item",{attrs:{prop:"username"}},[t("el-input",{attrs:{type:"text","auto-complete":"off",placeholder:"账号"},model:{value:e.loginForm.username,callback:function(o){e.$set(e.loginForm,"username",o)},expression:"loginForm.username"}},[t("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"user"},slot:"prefix"})],1)],1),t("el-form-item",{attrs:{prop:"password"}},[t("el-input",{attrs:{type:"password","auto-complete":"off",placeholder:"密码"},nativeOn:{keyup:function(o){return!o.type.indexOf("key")&&e._k(o.keyCode,"enter",13,o.key,"Enter")?null:e.handleLogin(o)}},model:{value:e.loginForm.password,callback:function(o){e.$set(e.loginForm,"password",o)},expression:"loginForm.password"}},[t("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"password"},slot:"prefix"})],1)],1),t("el-form-item",{attrs:{prop:"code"}},[t("el-input",{staticStyle:{width:"63%"},attrs:{"auto-complete":"off",placeholder:"验证码"},nativeOn:{keyup:function(o){return!o.type.indexOf("key")&&e._k(o.keyCode,"enter",13,o.key,"Enter")?null:e.handleLogin(o)}},model:{value:e.loginForm.code,callback:function(o){e.$set(e.loginForm,"code",o)},expression:"loginForm.code"}},[t("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"validCode"},slot:"prefix"})],1),t("div",{staticClass:"login-code"},[t("img",{staticClass:"login-code-img",attrs:{src:e.codeUrl},on:{click:e.getCode}})])],1),t("el-checkbox",{staticStyle:{margin:"0px 0px 25px 0px"},model:{value:e.loginForm.rememberMe,callback:function(o){e.$set(e.loginForm,"rememberMe",o)},expression:"loginForm.rememberMe"}},[e._v("记住密码")]),t("el-form-item",{staticStyle:{width:"100%"}},[t("el-button",{staticStyle:{width:"100%"},attrs:{loading:e.loading,size:"medium",type:"primary"},nativeOn:{click:function(o){return o.preventDefault(),e.handleLogin(o)}}},[e.loading?t("span",[e._v("登 录 中...")]):t("span",[e._v("登 录")])])],1)],1),e._m(0)],1)},i=[function(){var e=this,o=e.$createElement,t=e._self._c||o;return t("div",{staticClass:"el-login-footer"},[t("span",[e._v("Copyright © 2018-2021 ruoyi.vip All Rights Reserved.")])])}],n=t("7ded"),s=t("a78e"),a=t.n(s),l=t("24e5"),c=t.n(l),u="MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKoR8mX0rGKLqzcWmOzbfj64K8ZIgOdH\nnzkXSOVOZbFu/TJhZ7rFAN+eaGkl3C4buccQd/EjEsj9ir7ijT7h96MCAwEAAQ==",m="MIIBVAIBADANBgkqhkiG9w0BAQEFAASCAT4wggE6AgEAAkEAqhHyZfSsYourNxaY\n7Nt+PrgrxkiA50efORdI5U5lsW79MmFnusUA355oaSXcLhu5xxB38SMSyP2KvuKN\nPuH3owIDAQABAkAfoiLyL+Z4lf4Myxk6xUDgLaWGximj20CUf+5BKKnlrK+Ed8gA\nkM0HqoTt2UZwA5E2MzS4EI2gjfQhz5X28uqxAiEA3wNFxfrCZlSZHb0gn2zDpWow\ncSxQAgiCstxGUoOqlW8CIQDDOerGKH5OmCJ4Z21v+F25WaHYPxCFMvwxpcw99Ecv\nDQIgIdhDTIqD2jfYjPTY8Jj3EDGPbH2HHuffvflECt3Ek60CIQCFRlCkHpi7hthh\nYhovyloRYsM+IS9h/0BzlEAuO0ktMQIgSPT3aFAgJYwKpqRYKlLDVcflZFCKY7u3\nUP8iWi1Qw0Y=";function d(e){var o=new c.a;return o.setPublicKey(u),o.encrypt(e)}function g(e){var o=new c.a;return o.setPrivateKey(m),o.decrypt(e)}var p={name:"Login",data:function(){return{codeUrl:"",cookiePassword:"",loginForm:{username:"admin",password:"admin123",rememberMe:!1,code:"",uuid:""},loginRules:{username:[{required:!0,trigger:"blur",message:"用户名不能为空"}],password:[{required:!0,trigger:"blur",message:"密码不能为空"}],code:[{required:!0,trigger:"change",message:"验证码不能为空"}]},loading:!1,redirect:void 0}},watch:{$route:{handler:function(e){this.redirect=e.query&&e.query.redirect},immediate:!0}},created:function(){this.getCode(),this.getCookie()},methods:{getCode:function(){var e=this;Object(n["a"])().then((function(o){e.codeUrl="data:image/gif;base64,"+o.img,e.loginForm.uuid=o.uuid}))},getCookie:function(){var e=a.a.get("username"),o=a.a.get("password"),t=a.a.get("rememberMe");this.loginForm={username:void 0===e?this.loginForm.username:e,password:void 0===o?this.loginForm.password:g(o),rememberMe:void 0!==t&&Boolean(t)}},handleLogin:function(){var e=this;this.$refs.loginForm.validate((function(o){o&&(e.loading=!0,e.loginForm.rememberMe?(a.a.set("username",e.loginForm.username,{expires:30}),a.a.set("password",d(e.loginForm.password),{expires:30}),a.a.set("rememberMe",e.loginForm.rememberMe,{expires:30})):(a.a.remove("username"),a.a.remove("password"),a.a.remove("rememberMe")),e.$store.dispatch("Login",e.loginForm).then((function(){e.$router.push({path:e.redirect||"/"}).catch((function(){}))})).catch((function(){e.loading=!1,e.getCode()})))}))}}},f=p,h=(t("eecc"),t("2877")),v=Object(h["a"])(f,r,i,!1,null,null,null);o["default"]=v.exports},eecc:function(e,o,t){"use strict";t("2912")}}]); \ No newline at end of file diff --git a/jbs-front/static/js/chunk-09f23c09.10036079.js b/jbs-front/static/js/chunk-09f23c09.10036079.js deleted file mode 100644 index 68bd76f..0000000 --- a/jbs-front/static/js/chunk-09f23c09.10036079.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-09f23c09"],{"0a5c":function(t,a,e){"use strict";e.r(a);var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{class:t.className,style:{height:t.height,width:t.width}})},n=[],s=e("4d28"),r=e.n(s),c=e("feb2");e("d8ac");var l=3e3,o={mixins:[c["default"]],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"300px"}},data:function(){return{chart:null}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=r.a.init(this.$el,"macarons"),this.chart.setOption({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},radar:{radius:"66%",center:["50%","42%"],splitNumber:8,splitArea:{areaStyle:{color:"rgba(127,95,132,.3)",opacity:1,shadowBlur:45,shadowColor:"rgba(0,0,0,.5)",shadowOffsetX:0,shadowOffsetY:15}},indicator:[{name:"Sales",max:1e4},{name:"Administration",max:2e4},{name:"Information Techology",max:2e4},{name:"Customer Support",max:2e4},{name:"Development",max:2e4},{name:"Marketing",max:2e4}]},legend:{left:"center",bottom:"10",data:["Allocated Budget","Expected Spending","Actual Spending"]},series:[{type:"radar",symbolSize:0,areaStyle:{normal:{shadowBlur:13,shadowColor:"rgba(0,0,0,.2)",shadowOffsetX:0,shadowOffsetY:10,opacity:1}},data:[{value:[5e3,7e3,12e3,11e3,15e3,14e3],name:"Allocated Budget"},{value:[4e3,9e3,15e3,15e3,13e3,11e3],name:"Expected Spending"},{value:[5500,11e3,12e3,15e3,12e3,12e3],name:"Actual Spending"}],animationDuration:l}]})}}},d=o,h=e("cba8"),u=Object(h["a"])(d,i,n,!1,null,null,null);a["default"]=u.exports},"1e4b":function(t,a,e){"use strict";e.r(a);var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"dashboard-editor-container"},[e("panel-group",{on:{handleSetLineChartData:t.handleSetLineChartData}}),e("el-row",{staticStyle:{background:"#fff",padding:"16px 16px 0","margin-bottom":"32px"}},[e("line-chart",{attrs:{"chart-data":t.lineChartData}})],1),e("el-row",{attrs:{gutter:32}},[e("el-col",{attrs:{xs:24,sm:24,lg:8}},[e("div",{staticClass:"chart-wrapper"},[e("raddar-chart")],1)]),e("el-col",{attrs:{xs:24,sm:24,lg:8}},[e("div",{staticClass:"chart-wrapper"},[e("pie-chart")],1)]),e("el-col",{attrs:{xs:24,sm:24,lg:8}},[e("div",{staticClass:"chart-wrapper"},[e("bar-chart")],1)])],1)],1)},n=[],s=e("fbc4"),r=e("eab4"),c=e("0a5c"),l=e("d153"),o=e("9488"),d={newVisitis:{expectedData:[100,120,161,134,105,160,165],actualData:[120,82,91,154,162,140,145]},messages:{expectedData:[200,192,120,144,160,130,140],actualData:[180,160,151,106,145,150,130]},purchases:{expectedData:[80,100,121,104,105,90,100],actualData:[120,90,100,138,142,130,130]},shoppings:{expectedData:[130,140,141,142,145,150,160],actualData:[120,82,91,154,162,140,130]}},h={name:"Index",components:{PanelGroup:s["default"],LineChart:r["default"],RaddarChart:c["default"],PieChart:l["default"],BarChart:o["default"]},data:function(){return{lineChartData:d.newVisitis}},methods:{handleSetLineChartData:function(t){this.lineChartData=d[t]}}},u=h,p=(e("f2d7"),e("cba8")),f=Object(p["a"])(u,i,n,!1,null,"2f65a1b7",null);a["default"]=f.exports},"26ab7":function(t,a,e){"use strict";e("be04")},9488:function(t,a,e){"use strict";e.r(a);var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{class:t.className,style:{height:t.height,width:t.width}})},n=[],s=e("4d28"),r=e.n(s),c=e("feb2");e("d8ac");var l=6e3,o={mixins:[c["default"]],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"300px"}},data:function(){return{chart:null}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=r.a.init(this.$el,"macarons"),this.chart.setOption({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{top:10,left:"2%",right:"2%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],axisTick:{alignWithLabel:!0}}],yAxis:[{type:"value",axisTick:{show:!1}}],series:[{name:"pageA",type:"bar",stack:"vistors",barWidth:"60%",data:[79,52,200,334,390,330,220],animationDuration:l},{name:"pageB",type:"bar",stack:"vistors",barWidth:"60%",data:[80,52,200,334,390,330,220],animationDuration:l},{name:"pageC",type:"bar",stack:"vistors",barWidth:"60%",data:[30,52,200,334,390,330,220],animationDuration:l}]})}}},d=o,h=e("cba8"),u=Object(h["a"])(d,i,n,!1,null,null,null);a["default"]=u.exports},be04:function(t,a,e){},c47f:function(t,a,e){},d153:function(t,a,e){"use strict";e.r(a);var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{class:t.className,style:{height:t.height,width:t.width}})},n=[],s=e("4d28"),r=e.n(s),c=e("feb2");e("d8ac");var l={mixins:[c["default"]],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"300px"}},data:function(){return{chart:null}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=r.a.init(this.$el,"macarons"),this.chart.setOption({tooltip:{trigger:"item",formatter:"{a}
{b} : {c} ({d}%)"},legend:{left:"center",bottom:"10",data:["Industries","Technology","Forex","Gold","Forecasts"]},series:[{name:"WEEKLY WRITE ARTICLES",type:"pie",roseType:"radius",radius:[15,95],center:["50%","38%"],data:[{value:320,name:"Industries"},{value:240,name:"Technology"},{value:149,name:"Forex"},{value:100,name:"Gold"},{value:59,name:"Forecasts"}],animationEasing:"cubicInOut",animationDuration:2600}]})}}},o=l,d=e("cba8"),h=Object(d["a"])(o,i,n,!1,null,null,null);a["default"]=h.exports},eab4:function(t,a,e){"use strict";e.r(a);var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{class:t.className,style:{height:t.height,width:t.width}})},n=[],s=e("4d28"),r=e.n(s),c=e("feb2");e("d8ac");var l={mixins:[c["default"]],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"350px"},autoResize:{type:Boolean,default:!0},chartData:{type:Object,required:!0}},data:function(){return{chart:null}},watch:{chartData:{deep:!0,handler:function(t){this.setOptions(t)}}},mounted:function(){var t=this;this.$nextTick((function(){t.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=r.a.init(this.$el,"macarons"),this.setOptions(this.chartData)},setOptions:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.expectedData,e=t.actualData;this.chart.setOption({xAxis:{data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],boundaryGap:!1,axisTick:{show:!1}},grid:{left:10,right:10,bottom:20,top:30,containLabel:!0},tooltip:{trigger:"axis",axisPointer:{type:"cross"},padding:[5,10]},yAxis:{axisTick:{show:!1}},legend:{data:["expected","actual"]},series:[{name:"expected",itemStyle:{normal:{color:"#FF005A",lineStyle:{color:"#FF005A",width:2}}},smooth:!0,type:"line",data:a,animationDuration:2800,animationEasing:"cubicInOut"},{name:"actual",smooth:!0,type:"line",itemStyle:{normal:{color:"#3888fa",lineStyle:{color:"#3888fa",width:2},areaStyle:{color:"#f3f8ff"}}},data:e,animationDuration:2800,animationEasing:"quadraticOut"}]})}}},o=l,d=e("cba8"),h=Object(d["a"])(o,i,n,!1,null,null,null);a["default"]=h.exports},f2d7:function(t,a,e){"use strict";e("c47f")},fbc4:function(t,a,e){"use strict";e.r(a);var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("el-row",{staticClass:"panel-group",attrs:{gutter:40}},[e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel",on:{click:function(a){return t.handleSetLineChartData("newVisitis")}}},[e("div",{staticClass:"card-panel-icon-wrapper icon-people"},[e("svg-icon",{attrs:{"icon-class":"peoples","class-name":"card-panel-icon"}})],1),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v(" 访客 ")]),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":102400,duration:2600}})],1)])]),e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel",on:{click:function(a){return t.handleSetLineChartData("messages")}}},[e("div",{staticClass:"card-panel-icon-wrapper icon-message"},[e("svg-icon",{attrs:{"icon-class":"message","class-name":"card-panel-icon"}})],1),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v(" 消息 ")]),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":81212,duration:3e3}})],1)])]),e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel",on:{click:function(a){return t.handleSetLineChartData("purchases")}}},[e("div",{staticClass:"card-panel-icon-wrapper icon-money"},[e("svg-icon",{attrs:{"icon-class":"money","class-name":"card-panel-icon"}})],1),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v(" 金额 ")]),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":9280,duration:3200}})],1)])]),e("el-col",{staticClass:"card-panel-col",attrs:{xs:12,sm:12,lg:6}},[e("div",{staticClass:"card-panel",on:{click:function(a){return t.handleSetLineChartData("shoppings")}}},[e("div",{staticClass:"card-panel-icon-wrapper icon-shopping"},[e("svg-icon",{attrs:{"icon-class":"shopping","class-name":"card-panel-icon"}})],1),e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[t._v(" 订单 ")]),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":13600,duration:3600}})],1)])])],1)},n=[],s=e("9e2e"),r=e.n(s),c={components:{CountTo:r.a},methods:{handleSetLineChartData:function(t){this.$emit("handleSetLineChartData",t)}}},l=c,o=(e("26ab7"),e("cba8")),d=Object(o["a"])(l,i,n,!1,null,"0ac8ac4e",null);a["default"]=d.exports},feb2:function(t,a,e){"use strict";e.r(a);var i=e("ed08");a["default"]={data:function(){return{$_sidebarElm:null,$_resizeHandler:null}},mounted:function(){this.initListener()},activated:function(){this.$_resizeHandler||this.initListener(),this.resize()},beforeDestroy:function(){this.destroyListener()},deactivated:function(){this.destroyListener()},methods:{$_sidebarResizeHandler:function(t){"width"===t.propertyName&&this.$_resizeHandler()},initListener:function(){var t=this;this.$_resizeHandler=Object(i["c"])((function(){t.resize()}),100),window.addEventListener("resize",this.$_resizeHandler),this.$_sidebarElm=document.getElementsByClassName("sidebar-container")[0],this.$_sidebarElm&&this.$_sidebarElm.addEventListener("transitionend",this.$_sidebarResizeHandler)},destroyListener:function(){window.removeEventListener("resize",this.$_resizeHandler),this.$_resizeHandler=null,this.$_sidebarElm&&this.$_sidebarElm.removeEventListener("transitionend",this.$_sidebarResizeHandler)},resize:function(){var t=this.chart;t&&t.resize()}}}}}]); \ No newline at end of file diff --git a/jbs-front/static/js/chunk-0dd572c5.038d2d07.js b/jbs-front/static/js/chunk-0dd572c5.038d2d07.js deleted file mode 100644 index 58e496b..0000000 --- a/jbs-front/static/js/chunk-0dd572c5.038d2d07.js +++ /dev/null @@ -1,14 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0dd572c5"],{"05d4":function(e,t,n){"use strict";n.r(t);var i=function(e,t){var n=document.createElement("_"),i=n.appendChild(document.createElement("_")),o=n.appendChild(document.createElement("_")),r=i.appendChild(document.createElement("_")),a=void 0,s=void 0;return i.style.cssText=n.style.cssText="height:100%;left:0;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:0;transition:0s;width:100%;z-index:-1",r.style.cssText=o.style.cssText="display:block;height:100%;transition:0s;width:100%",r.style.width=r.style.height="200%",e.appendChild(n),l(),u;function l(){c();var r=e.offsetWidth,u=e.offsetHeight;r===a&&u===s||(a=r,s=u,o.style.width=2*r+"px",o.style.height=2*u+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight,i.scrollLeft=i.scrollWidth,i.scrollTop=i.scrollHeight,t({width:r,height:u})),i.addEventListener("scroll",l),n.addEventListener("scroll",l)}function c(){i.removeEventListener("scroll",l),n.removeEventListener("scroll",l)}function u(){c(),e.removeChild(n)}};t["default"]=i},"0c58":function(e,t,n){var i=n("346e"),o=/^\s+/;function r(e){return e?e.slice(0,i(e)+1).replace(o,""):e}e.exports=r},"0d44":function(e,t){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=n,e.exports["default"]=e.exports,e.exports.__esModule=!0},"139b":function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},1459:function(e,t,n){var i=n("326d");function o(e){if(Array.isArray(e))return i(e)}e.exports=o,e.exports["default"]=e.exports,e.exports.__esModule=!0},1591:function(e,t,n){function i(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n("ab31"),n("4f40"),n("402f"),n("172f"),n("2db5"),n("6ab7"),n("cb91"),e.exports=i,e.exports["default"]=e.exports,e.exports.__esModule=!0},"1cba":function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n("2409"))},"1f89":function(e,t,n){var i=n("82c6"),o=function(){return i.Date.now()};e.exports=o},2480:function(e,t,n){"use strict"; -/**! - * Sortable 1.10.2 - * @author RubaXa - * @author owenm - * @license MIT - */ -function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(){return r=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function l(e,t){if(null==e)return{};var n,i,o=s(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(e){return u(e)||d(e)||h()}function u(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function x(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function D(e,t,n,i){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&_(e,t):_(e,t))||i&&e===n)return e;if(e===n)break}while(e=x(e))}return null}var C,N=/\s+/g;function M(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var i=(" "+e.className+" ").replace(N," ").replace(" "+t+" "," ");e.className=(i+(n?" "+t:"")).replace(N," ")}}function T(e,t,n){var i=e&&e.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in i||-1!==t.indexOf("webkit")||(t="-webkit-"+t),i[t]=n+("string"===typeof n?"":"px")}}function A(e,t){var n="";if("string"===typeof e)n=e;else do{var i=T(e,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function I(e,t,n){if(e){var i=e.getElementsByTagName(t),o=0,r=i.length;if(n)for(;o=r:o<=r,!a)return i;if(i===L())break;i=j(i,!1)}return!1}function B(e,t,n){var i=0,o=0,r=e.children;while(o2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,o=l(n,["evt"]);ne.pluginEvent.bind(Je)(e,t,a({dragEl:ae,parentEl:se,ghostEl:le,rootEl:ce,nextEl:ue,lastDownEl:de,cloneEl:he,cloneHidden:fe,dragStarted:De,putSortable:ye,activeSortable:Je.active,originalEvent:i,oldIndex:pe,oldDraggableIndex:ge,newIndex:ve,newDraggableIndex:me,hideGhostForTarget:Qe,unhideGhostForTarget:Ue,cloneNowHidden:function(){fe=!0},cloneNowShown:function(){fe=!1},dispatchSortableEvent:function(e){re({sortable:t,name:e,originalEvent:i})}},o))};function re(e){ie(a({putSortable:ye,cloneEl:he,targetEl:ae,rootEl:ce,oldIndex:pe,oldDraggableIndex:ge,newIndex:ve,newDraggableIndex:me},e))}var ae,se,le,ce,ue,de,he,fe,pe,ve,ge,me,be,ye,Se,we,Oe,Ee,_e,xe,De,Ce,Ne,Me,Te,Ae=!1,Ie=!1,Le=[],Re=!1,ke=!1,Be=[],Pe=!1,$e=[],ze="undefined"!==typeof document,Fe=y,je=g||v?"cssFloat":"float",Ve=ze&&!S&&!y&&"draggable"in document.createElement("div"),He=function(){if(ze){if(v)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),We=function(e,t){var n=T(e),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=B(e,0,t),r=B(e,1,t),a=o&&T(o),s=r&&T(r),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+R(o).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+R(r).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a["float"]&&"none"!==a["float"]){var u="left"===a["float"]?"left":"right";return!r||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=i&&"none"===n[je]||r&&"none"===n[je]&&l+c>i)?"vertical":"horizontal"},Xe=function(e,t,n){var i=n?e.left:e.top,o=n?e.right:e.bottom,r=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return i===a||o===s||i+r/2===a+l/2},Ye=function(e,t){var n;return Le.some((function(i){if(!P(i)){var o=R(i),r=i[q].options.emptyInsertThreshold,a=e>=o.left-r&&e<=o.right+r,s=t>=o.top-r&&t<=o.bottom+r;return r&&a&&s?n=i:void 0}})),n},Ke=function(e){function t(e,n){return function(i,o,r,a){var s=i.options.group.name&&o.options.group.name&&i.options.group.name===o.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"===typeof e)return t(e(i,o,r,a),n)(i,o,r,a);var l=(n?i:o).options.group.name;return!0===e||"string"===typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},o=e.group;o&&"object"==i(o)||(o={name:o}),n.name=o.name,n.checkPull=t(o.pull,!0),n.checkPut=t(o.put),n.revertClone=o.revertClone,e.group=n},Qe=function(){!He&&le&&T(le,"display","none")},Ue=function(){!He&&le&&T(le,"display","")};ze&&document.addEventListener("click",(function(e){if(Ie)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Ie=!1,!1}),!0);var qe=function(e){if(ae){e=e.touches?e.touches[0]:e;var t=Ye(e.clientX,e.clientY);if(t){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[q]._onDragOver(n)}}},Ge=function(e){ae&&ae.parentNode[q]._isOutsideThisEl(e.target)};function Je(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=r({},t),e[q]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return We(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Je.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var i in ne.initializePlugins(this,e,n),n)!(i in t)&&(t[i]=n[i]);for(var o in Ke(t),this)"_"===o.charAt(0)&&"function"===typeof this[o]&&(this[o]=this[o].bind(this));this.nativeDraggable=!t.forceFallback&&Ve,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?O(e,"pointerdown",this._onTapStart):(O(e,"mousedown",this._onTapStart),O(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(O(e,"dragover",this),O(e,"dragenter",this)),Le.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),r(this,G())}function Ze(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function et(e,t,n,i,o,r,a,s){var l,c,u=e[q],d=u.options.onMove;return!window.CustomEvent||v||g?(l=document.createEvent("Event"),l.initEvent("move",!0,!0)):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=i,l.related=o||t,l.relatedRect=r||R(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),d&&(c=d.call(u,l,a)),c}function tt(e){e.draggable=!1}function nt(){Pe=!1}function it(e,t,n){var i=R(P(n.el,n.options.draggable)),o=10;return t?e.clientX>i.right+o||e.clientX<=i.right&&e.clientY>i.bottom&&e.clientX>=i.left:e.clientX>i.right&&e.clientY>i.top||e.clientX<=i.right&&e.clientY>i.bottom+o}function ot(e,t,n,i,o,r,a,s){var l=i?e.clientY:e.clientX,c=i?n.height:n.width,u=i?n.top:n.left,d=i?n.bottom:n.right,h=!1;if(!a)if(s&&Meu+c*r/2:ld-Me)return-Ne}else if(l>u+c*(1-o)/2&&ld-c*r/2)?l>u+c/2?1:-1:0}function rt(e){return $(ae)<$(e)?1:-1}function at(e){var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,i=0;while(n--)i+=t.charCodeAt(n);return i.toString(36)}function st(e){$e.length=0;var t=e.getElementsByTagName("input"),n=t.length;while(n--){var i=t[n];i.checked&&$e.push(i)}}function lt(e){return setTimeout(e,0)}function ct(e){return clearTimeout(e)}Je.prototype={constructor:Je,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Ce=null)},_getDirection:function(e,t){return"function"===typeof this.options.direction?this.options.direction.call(this,e,t,ae):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,i=this.options,o=i.preventOnFilter,r=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=i.filter;if(st(n),!ae&&!(/mousedown|pointerdown/.test(r)&&0!==e.button||i.disabled)&&!l.isContentEditable&&(s=D(s,i.draggable,n,!1),(!s||!s.animated)&&de!==s)){if(pe=$(s),ge=$(s,i.draggable),"function"===typeof c){if(c.call(this,e,s,this))return re({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),oe("filter",t,{evt:e}),void(o&&e.cancelable&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(i){if(i=D(l,i.trim(),n,!1),i)return re({sortable:t,rootEl:i,name:"filter",targetEl:s,fromEl:n,toEl:n}),oe("filter",t,{evt:e}),!0})),c))return void(o&&e.cancelable&&e.preventDefault());i.handle&&!D(l,i.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var i,o=this,r=o.el,a=o.options,s=r.ownerDocument;if(n&&!ae&&n.parentNode===r){var l=R(n);if(ce=r,ae=n,se=ae.parentNode,ue=ae.nextSibling,de=n,be=a.group,Je.dragged=ae,Se={target:ae,clientX:(t||e).clientX,clientY:(t||e).clientY},_e=Se.clientX-l.left,xe=Se.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,ae.style["will-change"]="all",i=function(){oe("delayEnded",o,{evt:e}),Je.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!m&&o.nativeDraggable&&(ae.draggable=!0),o._triggerDragStart(e,t),re({sortable:o,name:"choose",originalEvent:e}),M(ae,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){I(ae,e.trim(),tt)})),O(s,"dragover",qe),O(s,"mousemove",qe),O(s,"touchmove",qe),O(s,"mouseup",o._onDrop),O(s,"touchend",o._onDrop),O(s,"touchcancel",o._onDrop),m&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ae.draggable=!0),oe("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(g||v))i();else{if(Je.eventCanceled)return void this._onDrop();O(s,"mouseup",o._disableDelayedDrag),O(s,"touchend",o._disableDelayedDrag),O(s,"touchcancel",o._disableDelayedDrag),O(s,"mousemove",o._delayedDragTouchMoveHandler),O(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&O(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(i,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){ae&&tt(ae),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;E(e,"mouseup",this._disableDelayedDrag),E(e,"touchend",this._disableDelayedDrag),E(e,"touchcancel",this._disableDelayedDrag),E(e,"mousemove",this._delayedDragTouchMoveHandler),E(e,"touchmove",this._delayedDragTouchMoveHandler),E(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?O(document,"pointermove",this._onTouchMove):O(document,t?"touchmove":"mousemove",this._onTouchMove):(O(ae,"dragend",this),O(ce,"dragstart",this._onDragStart));try{document.selection?lt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(Ae=!1,ce&&ae){oe("dragStarted",this,{evt:t}),this.nativeDraggable&&O(document,"dragover",Ge);var n=this.options;!e&&M(ae,n.dragClass,!1),M(ae,n.ghostClass,!0),Je.active=this,e&&this._appendGhost(),re({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(we){this._lastX=we.clientX,this._lastY=we.clientY,Qe();var e=document.elementFromPoint(we.clientX,we.clientY),t=e;while(e&&e.shadowRoot){if(e=e.shadowRoot.elementFromPoint(we.clientX,we.clientY),e===t)break;t=e}if(ae.parentNode[q]._isOutsideThisEl(e),t)do{if(t[q]){var n=void 0;if(n=t[q]._onDragOver({clientX:we.clientX,clientY:we.clientY,target:e,rootEl:t}),n&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Ue()}},_onTouchMove:function(e){if(Se){var t=this.options,n=t.fallbackTolerance,i=t.fallbackOffset,o=e.touches?e.touches[0]:e,r=le&&A(le,!0),a=le&&r&&r.a,s=le&&r&&r.d,l=Fe&&Te&&z(Te),c=(o.clientX-Se.clientX+i.x)/(a||1)+(l?l[0]-Be[0]:0)/(a||1),u=(o.clientY-Se.clientY+i.y)/(s||1)+(l?l[1]-Be[1]:0)/(s||1);if(!Je.active&&!Ae){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))=0&&(re({rootEl:se,name:"add",toEl:se,fromEl:ce,originalEvent:e}),re({sortable:this,name:"remove",toEl:se,originalEvent:e}),re({rootEl:se,name:"sort",toEl:se,fromEl:ce,originalEvent:e}),re({sortable:this,name:"sort",toEl:se,originalEvent:e})),ye&&ye.save()):ve!==pe&&ve>=0&&(re({sortable:this,name:"update",toEl:se,originalEvent:e}),re({sortable:this,name:"sort",toEl:se,originalEvent:e})),Je.active&&(null!=ve&&-1!==ve||(ve=pe,me=ge),re({sortable:this,name:"end",toEl:se,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){oe("nulling",this),ce=ae=se=le=ue=he=de=fe=Se=we=De=ve=me=pe=ge=Ce=Ne=ye=be=Je.dragged=Je.ghost=Je.clone=Je.active=null,$e.forEach((function(e){e.checked=!0})),$e.length=Oe=Ee=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":ae&&(this._onDragOver(e),Ze(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e,t=[],n=this.el.children,i=0,o=n.length,r=this.options;i1&&(Lt.forEach((function(e){i.addAnimationState({target:e,rect:Bt?R(e):o}),U(e),e.fromRect=o,t.removeAnimationState(e)})),Bt=!1,zt(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,i=e.insertion,o=e.activeSortable,r=e.parentEl,a=e.putSortable,s=this.options;if(i){if(n&&o._hideClone(),kt=!1,s.animation&&Lt.length>1&&(Bt||!n&&!o.options.sort&&!a)){var l=R(Tt,!1,!0,!0);Lt.forEach((function(e){e!==Tt&&(Q(e,l),r.appendChild(e))})),Bt=!0}if(!n)if(Bt||jt(),Lt.length>1){var c=It;o._showClone(t),o.options.animation&&!It&&c&&Rt.forEach((function(e){o.addAnimationState({target:e,rect:At}),e.fromRect=At,e.thisAnimationDuration=null}))}else o._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,i=e.activeSortable;if(Lt.forEach((function(e){e.thisAnimationDuration=null})),i.options.animation&&!n&&i.multiDrag.isMultiDrag){At=r({},t);var o=A(Tt,!0);At.top-=o.f,At.left-=o.e}},dragOverAnimationComplete:function(){Bt&&(Bt=!1,jt())},drop:function(e){var t=e.originalEvent,n=e.rootEl,i=e.parentEl,o=e.sortable,r=e.dispatchSortableEvent,a=e.oldIndex,s=e.putSortable,l=s||this.sortable;if(t){var c=this.options,u=i.children;if(!Pt)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),M(Tt,c.selectedClass,!~Lt.indexOf(Tt)),~Lt.indexOf(Tt))Lt.splice(Lt.indexOf(Tt),1),Nt=null,ie({sortable:o,rootEl:n,name:"deselect",targetEl:Tt,originalEvt:t});else{if(Lt.push(Tt),ie({sortable:o,rootEl:n,name:"select",targetEl:Tt,originalEvt:t}),t.shiftKey&&Nt&&o.el.contains(Nt)){var d,h,f=$(Nt),p=$(Tt);if(~f&&~p&&f!==p)for(p>f?(h=f,d=p):(h=p,d=f+1);h1){var v=R(Tt),g=$(Tt,":not(."+this.options.selectedClass+")");if(!kt&&c.animation&&(Tt.thisAnimationDuration=null),l.captureAnimationState(),!kt&&(c.animation&&(Tt.fromRect=v,Lt.forEach((function(e){if(e.thisAnimationDuration=null,e!==Tt){var t=Bt?R(e):v;e.fromRect=t,l.addAnimationState({target:e,rect:t})}}))),jt(),Lt.forEach((function(e){u[g]?i.insertBefore(e,u[g]):i.appendChild(e),g++})),a===$(Tt))){var m=!1;Lt.forEach((function(e){e.sortableIndex===$(e)||(m=!0)})),m&&r("update")}Lt.forEach((function(e){U(e)})),l.animateAll()}Mt=l}(n===i||s&&"clone"!==s.lastPutMode)&&Rt.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=Pt=!1,Rt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),E(document,"pointerup",this._deselectMultiDrag),E(document,"mouseup",this._deselectMultiDrag),E(document,"touchend",this._deselectMultiDrag),E(document,"keydown",this._checkKeyDown),E(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(("undefined"===typeof Pt||!Pt)&&Mt===this.sortable&&(!e||!D(e.target,this.options.draggable,this.sortable.el,!1))&&(!e||0===e.button))while(Lt.length){var t=Lt[0];M(t,this.options.selectedClass,!1),Lt.shift(),ie({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},r(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[q];t&&t.options.multiDrag&&!~Lt.indexOf(e)&&(Mt&&Mt!==t&&(Mt.multiDrag._deselectMultiDrag(),Mt=t),M(e,t.options.selectedClass,!0),Lt.push(e))},deselect:function(e){var t=e.parentNode[q],n=Lt.indexOf(e);t&&t.options.multiDrag&&~n&&(M(e,t.options.selectedClass,!1),Lt.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return Lt.forEach((function(i){var o;t.push({multiDragElement:i,index:i.sortableIndex}),o=Bt&&i!==Tt?-1:Bt?$(i,":not(."+e.options.selectedClass+")"):$(i),n.push({multiDragElement:i,index:o})})),{items:c(Lt),clones:[].concat(Rt),oldIndicies:t,newIndicies:n}},optionListeners:{multiDragKey:function(e){return e=e.toLowerCase(),"ctrl"===e?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function zt(e,t){Lt.forEach((function(n,i){var o=t.children[n.sortableIndex+(e?Number(i):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}function Ft(e,t){Rt.forEach((function(n,i){var o=t.children[n.sortableIndex+(e?Number(i):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}function jt(){Lt.forEach((function(e){e!==Tt&&e.parentNode&&e.parentNode.removeChild(e)}))}Je.mount(new bt),Je.mount(xt,_t),t["default"]=Je},"26f7":function(e,t,n){var i=n("d472");function o(e){return i(2,e)}e.exports=o},"326d":function(e,t){function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);nn)return!1;if(i===n)return e===t;e:for(var o=0,r=0;o1?n-1:0),o=1;on.bottom?e.scrollTop=Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight):i.top-o0},single:function(){return!this.multiple},visibleOptionIds:function(){var e=this,t=[];return this.traverseAllNodesByIndex((function(n){if(e.localSearch.active&&!e.shouldOptionBeIncludedInSearchResult(n)||t.push(n.id),n.isBranch&&!e.shouldExpand(n))return!1})),t},hasVisibleOptions:function(){return 0!==this.visibleOptionIds.length},showCountOnSearchComputed:function(){return"boolean"===typeof this.showCountOnSearch?this.showCountOnSearch:this.showCount},hasBranchNodes:function(){return this.forest.normalizedOptions.some((function(e){return e.isBranch}))},shouldFlattenOptions:function(){return this.localSearch.active&&this.flattenSearchResults}},watch:{alwaysOpen:function(e){e?this.openMenu():this.closeMenu()},branchNodesFirst:function(){this.initialize()},disabled:function(e){e&&this.menu.isOpen?this.closeMenu():e||this.menu.isOpen||!this.alwaysOpen||this.openMenu()},flat:function(){this.initialize()},internalValue:function(e,t){var n=G(e,t);n&&this.$emit("input",this.getValue(),this.getInstanceId())},matchKeys:function(){this.initialize()},multiple:function(e){e&&this.buildForestState()},options:{handler:function(){this.async||(this.initialize(),this.rootOptionsStates.isLoaded=Array.isArray(this.options))},deep:!0,immediate:!0},"trigger.searchQuery":function(){this.async?this.handleRemoteSearch():this.handleLocalSearch(),this.$emit("search-change",this.trigger.searchQuery,this.getInstanceId())},value:function(){var e=this.extractCheckedNodeIdsFromValue(),t=G(e,this.internalValue);t&&this.fixSelectedNodeIds(e)}},methods:{verifyProps:function(){var e=this;if(f((function(){return!e.async||e.searchable}),(function(){return'For async search mode, the value of "searchable" prop must be true.'})),null!=this.options||this.loadOptions||f((function(){return!1}),(function(){return'Are you meant to dynamically load options? You need to use "loadOptions" prop.'})),this.flat&&f((function(){return e.multiple}),(function(){return'You are using flat mode. But you forgot to add "multiple=true"?'})),!this.flat){var t=["autoSelectAncestors","autoSelectDescendants","autoDeselectAncestors","autoDeselectDescendants"];t.forEach((function(t){f((function(){return!e[t]}),(function(){return'"'.concat(t,'" only applies to flat mode.')}))}))}},resetFlags:function(){this._blurOnSelect=!1},initialize:function(){var e=this.async?this.getRemoteSearchEntry().options:this.options;if(Array.isArray(e)){var t=this.forest.nodeMap;this.forest.nodeMap=j(),this.keepDataOfSelectedNodes(t),this.forest.normalizedOptions=this.normalize(J,e,t),this.fixSelectedNodeIds(this.internalValue)}else this.forest.normalizedOptions=[]},getInstanceId:function(){return null==this.instanceId?this.id:this.instanceId},getValue:function(){var e=this;if("id"===this.valueFormat)return this.multiple?this.internalValue.slice():this.internalValue[0];var t=this.internalValue.map((function(t){return e.getNode(t).raw}));return this.multiple?t:t[0]},getNode:function(e){return f((function(){return null!=e}),(function(){return"Invalid node id: ".concat(e)})),null==e?null:e in this.forest.nodeMap?this.forest.nodeMap[e]:this.createFallbackNode(e)},createFallbackNode:function(e){var t=this.extractNodeFromValue(e),n=this.enhancedNormalizer(t).label||"".concat(e," (unknown)"),i={id:e,label:n,ancestors:[],parentNode:J,isFallbackNode:!0,isRootNode:!0,isLeaf:!0,isBranch:!1,isDisabled:!1,isNew:!1,index:[-1],level:0,raw:t};return this.$set(this.forest.nodeMap,e,i)},extractCheckedNodeIdsFromValue:function(){var e=this;return null==this.value?[]:"id"===this.valueFormat?this.multiple?this.value.slice():[this.value]:(this.multiple?this.value:[this.value]).map((function(t){return e.enhancedNormalizer(t)})).map((function(e){return e.id}))},extractNodeFromValue:function(e){var t=this,n={id:e};if("id"===this.valueFormat)return n;var i=this.multiple?Array.isArray(this.value)?this.value:[]:this.value?[this.value]:[],o=q(i,(function(n){return n&&t.enhancedNormalizer(n).id===e}));return o||n},fixSelectedNodeIds:function(e){var t=this,n=[];if(this.single||this.flat||this.disableBranchNodes||this.valueConsistsOf===ce)n=e;else if(this.valueConsistsOf===ue)e.forEach((function(e){n.push(e);var i=t.getNode(e);i.isBranch&&t.traverseDescendantsBFS(i,(function(e){n.push(e.id)}))}));else if(this.valueConsistsOf===de){var i=j(),o=e.slice();while(o.length){var r=o.shift(),a=this.getNode(r);n.push(r),a.isRootNode||(a.parentNode.id in i||(i[a.parentNode.id]=a.parentNode.children.length),0===--i[a.parentNode.id]&&o.push(a.parentNode.id))}}else if(this.valueConsistsOf===he){var s=j(),l=e.filter((function(e){var n=t.getNode(e);return n.isLeaf||0===n.children.length}));while(l.length){var c=l.shift(),u=this.getNode(c);n.push(c),u.isRootNode||(u.parentNode.id in s||(s[u.parentNode.id]=u.parentNode.children.length),0===--s[u.parentNode.id]&&l.push(u.parentNode.id))}}var d=G(this.forest.selectedNodeIds,n);d&&(this.forest.selectedNodeIds=n),this.buildForestState()},keepDataOfSelectedNodes:function(e){var t=this;this.forest.selectedNodeIds.forEach((function(n){if(e[n]){var i=we({},e[n],{isFallbackNode:!0});t.$set(t.forest.nodeMap,n,i)}}))},isSelected:function(e){return!0===this.forest.selectedNodeMap[e.id]},traverseDescendantsBFS:function(e,t){if(e.isBranch){var n=e.children.slice();while(n.length){var i=n[0];i.isBranch&&n.push.apply(n,a()(i.children)),t(i),n.shift()}}},traverseDescendantsDFS:function(e,t){var n=this;e.isBranch&&e.children.forEach((function(e){n.traverseDescendantsDFS(e,t),t(e)}))},traverseAllNodesDFS:function(e){var t=this;this.forest.normalizedOptions.forEach((function(n){t.traverseDescendantsDFS(n,e),e(n)}))},traverseAllNodesByIndex:function(e){var t=function t(n){n.children.forEach((function(n){!1!==e(n)&&n.isBranch&&t(n)}))};t({children:this.forest.normalizedOptions})},toggleClickOutsideEvent:function(e){e?document.addEventListener("mousedown",this.handleClickOutside,!1):document.removeEventListener("mousedown",this.handleClickOutside,!1)},getValueContainer:function(){return this.$refs.control.$refs["value-container"]},getInput:function(){return this.getValueContainer().$refs.input},focusInput:function(){this.getInput().focus()},blurInput:function(){this.getInput().blur()},handleMouseDown:p((function(e){if(e.preventDefault(),e.stopPropagation(),!this.disabled){var t=this.getValueContainer().$el.contains(e.target);t&&!this.menu.isOpen&&(this.openOnClick||this.trigger.isFocused)&&this.openMenu(),this._blurOnSelect?this.blurInput():this.focusInput(),this.resetFlags()}})),handleClickOutside:function(e){this.$refs.wrapper&&!this.$refs.wrapper.contains(e.target)&&(this.blurInput(),this.closeMenu())},handleLocalSearch:function(){var e=this,t=this.trigger.searchQuery,n=function(){return e.resetHighlightedOptionWhenNecessary(!0)};if(!t)return this.localSearch.active=!1,n();this.localSearch.active=!0,this.localSearch.noResults=!0,this.traverseAllNodesDFS((function(t){var n;t.isBranch&&(t.isExpandedOnSearch=!1,t.showAllChildrenOnSearch=!1,t.isMatched=!1,t.hasMatchedDescendants=!1,e.$set(e.localSearch.countMap,t.id,(n={},l()(n,ne,0),l()(n,ie,0),l()(n,oe,0),l()(n,re,0),n)))}));var i=t.trim().toLocaleLowerCase(),o=i.replace(/\s+/g," ").split(" ");this.traverseAllNodesDFS((function(t){e.searchNested&&o.length>1?t.isMatched=o.every((function(e){return De(!1,e,t.nestedSearchLabel)})):t.isMatched=e.matchKeys.some((function(n){return De(!e.disableFuzzyMatching,i,t.lowerCased[n])})),t.isMatched&&(e.localSearch.noResults=!1,t.ancestors.forEach((function(t){return e.localSearch.countMap[t.id][ie]++})),t.isLeaf&&t.ancestors.forEach((function(t){return e.localSearch.countMap[t.id][re]++})),t.parentNode!==J&&(e.localSearch.countMap[t.parentNode.id][ne]+=1,t.isLeaf&&(e.localSearch.countMap[t.parentNode.id][oe]+=1))),(t.isMatched||t.isBranch&&t.isExpandedOnSearch)&&t.parentNode!==J&&(t.parentNode.isExpandedOnSearch=!0,t.parentNode.hasMatchedDescendants=!0)})),n()},handleRemoteSearch:function(){var e=this,t=this.trigger.searchQuery,n=this.getRemoteSearchEntry(),i=function(){e.initialize(),e.resetHighlightedOptionWhenNecessary(!0)};if((""===t||this.cacheOptions)&&n.isLoaded)return i();this.callLoadOptionsProp({action:le,args:{searchQuery:t},isPending:function(){return n.isLoading},start:function(){n.isLoading=!0,n.isLoaded=!1,n.loadingError=""},succeed:function(o){n.isLoaded=!0,n.options=o,e.trigger.searchQuery===t&&i()},fail:function(e){n.loadingError=Ce(e)},end:function(){n.isLoading=!1}})},getRemoteSearchEntry:function(){var e=this,t=this.trigger.searchQuery,n=this.remoteSearch[t]||we({},_e(),{options:[]});if(this.$watch((function(){return n.options}),(function(){e.trigger.searchQuery===t&&e.initialize()}),{deep:!0}),""===t){if(Array.isArray(this.defaultOptions))return n.options=this.defaultOptions,n.isLoaded=!0,n;if(!0!==this.defaultOptions)return n.isLoaded=!0,n}return this.remoteSearch[t]||this.$set(this.remoteSearch,t,n),n},shouldExpand:function(e){return this.localSearch.active?e.isExpandedOnSearch:e.isExpanded},shouldOptionBeIncludedInSearchResult:function(e){return!!e.isMatched||(!(!e.isBranch||!e.hasMatchedDescendants||this.flattenSearchResults)||!(e.isRootNode||!e.parentNode.showAllChildrenOnSearch))},shouldShowOptionInMenu:function(e){return!(this.localSearch.active&&!this.shouldOptionBeIncludedInSearchResult(e))},getControl:function(){return this.$refs.control.$el},getMenu:function(){var e=this.appendToBody?this.$refs.portal.portalTarget:this,t=e.$refs.menu.$refs.menu;return t&&"#comment"!==t.nodeName?t:null},setCurrentHighlightedOption:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.menu.current;if(null!=i&&i in this.forest.nodeMap&&(this.forest.nodeMap[i].isHighlighted=!1),this.menu.current=e.id,e.isHighlighted=!0,this.menu.isOpen&&n){var o=function(){var n=t.getMenu(),i=n.querySelector('.vue-treeselect__option[data-id="'.concat(e.id,'"]'));i&&v(n,i)};this.getMenu()?o():this.$nextTick(o)}},resetHighlightedOptionWhenNecessary:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.menu.current;!e&&null!=t&&t in this.forest.nodeMap&&this.shouldShowOptionInMenu(this.getNode(t))||this.highlightFirstOption()},highlightFirstOption:function(){if(this.hasVisibleOptions){var e=this.visibleOptionIds[0];this.setCurrentHighlightedOption(this.getNode(e))}},highlightPrevOption:function(){if(this.hasVisibleOptions){var e=this.visibleOptionIds.indexOf(this.menu.current)-1;if(-1===e)return this.highlightLastOption();this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[e]))}},highlightNextOption:function(){if(this.hasVisibleOptions){var e=this.visibleOptionIds.indexOf(this.menu.current)+1;if(e===this.visibleOptionIds.length)return this.highlightFirstOption();this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[e]))}},highlightLastOption:function(){if(this.hasVisibleOptions){var e=Q()(this.visibleOptionIds);this.setCurrentHighlightedOption(this.getNode(e))}},resetSearchQuery:function(){this.trigger.searchQuery=""},closeMenu:function(){!this.menu.isOpen||!this.disabled&&this.alwaysOpen||(this.saveMenuScrollPosition(),this.menu.isOpen=!1,this.toggleClickOutsideEvent(!1),this.resetSearchQuery(),this.$emit("close",this.getValue(),this.getInstanceId()))},openMenu:function(){this.disabled||this.menu.isOpen||(this.menu.isOpen=!0,this.$nextTick(this.resetHighlightedOptionWhenNecessary),this.$nextTick(this.restoreMenuScrollPosition),this.options||this.async||this.loadRootOptions(),this.toggleClickOutsideEvent(!0),this.$emit("open",this.getInstanceId()))},toggleMenu:function(){this.menu.isOpen?this.closeMenu():this.openMenu()},toggleExpanded:function(e){var t;this.localSearch.active?(t=e.isExpandedOnSearch=!e.isExpandedOnSearch,t&&(e.showAllChildrenOnSearch=!0)):t=e.isExpanded=!e.isExpanded,t&&!e.childrenStates.isLoaded&&this.loadChildrenOptions(e)},buildForestState:function(){var e=this,t=j();this.forest.selectedNodeIds.forEach((function(e){t[e]=!0})),this.forest.selectedNodeMap=t;var n=j();this.multiple&&(this.traverseAllNodesByIndex((function(e){n[e.id]=Z})),this.selectedNodes.forEach((function(t){n[t.id]=te,e.flat||e.disableBranchNodes||t.ancestors.forEach((function(t){e.isSelected(t)||(n[t.id]=ee)}))}))),this.forest.checkedStateMap=n},enhancedNormalizer:function(e){return we({},e,{},this.normalizer(e,this.getInstanceId()))},normalize:function(e,t,n){var i=this,r=t.map((function(e){return[i.enhancedNormalizer(e),e]})).map((function(t,r){var a=o()(t,2),s=a[0],c=a[1];i.checkDuplication(s),i.verifyNodeShape(s);var u=s.id,d=s.label,h=s.children,p=s.isDefaultExpanded,v=e===J,g=v?0:e.level+1,m=Array.isArray(h)||null===h,b=!m,y=!!s.isDisabled||!i.flat&&!v&&e.isDisabled,S=!!s.isNew,w=i.matchKeys.reduce((function(e,t){return we({},e,l()({},t,xe(s[t]).toLocaleLowerCase()))}),{}),O=v?w.label:e.nestedSearchLabel+" "+w.label,E=i.$set(i.forest.nodeMap,u,j());if(i.$set(E,"id",u),i.$set(E,"label",d),i.$set(E,"level",g),i.$set(E,"ancestors",v?[]:[e].concat(e.ancestors)),i.$set(E,"index",(v?[]:e.index).concat(r)),i.$set(E,"parentNode",e),i.$set(E,"lowerCased",w),i.$set(E,"nestedSearchLabel",O),i.$set(E,"isDisabled",y),i.$set(E,"isNew",S),i.$set(E,"isMatched",!1),i.$set(E,"isHighlighted",!1),i.$set(E,"isBranch",m),i.$set(E,"isLeaf",b),i.$set(E,"isRootNode",v),i.$set(E,"raw",c),m){var _,x=Array.isArray(h);i.$set(E,"childrenStates",we({},_e(),{isLoaded:x})),i.$set(E,"isExpanded","boolean"===typeof p?p:g=0&&o.top<=a||o.top<0&&o.bottom>0,u=l>r+ye,d=s>r+ye;c?"auto"!==e.openDirection?e.menu.placement=Zt[e.openDirection]:e.menu.placement=u||!d?"bottom":"top":e.closeMenu()}},setupMenuSizeWatcher:function(){var e=this.instance,t=e.getMenu();this.menuSizeWatcher||(this.menuSizeWatcher={remove:N(t,this.adjustMenuOpenDirection)})},setupMenuResizeAndScrollEventListeners:function(){var e=this.instance,t=e.getControl();this.menuResizeAndScrollEventListeners||(this.menuResizeAndScrollEventListeners={remove:A(t,this.adjustMenuOpenDirection)})},removeMenuSizeWatcher:function(){this.menuSizeWatcher&&(this.menuSizeWatcher.remove(),this.menuSizeWatcher=null)},removeMenuResizeAndScrollEventListeners:function(){this.menuResizeAndScrollEventListeners&&(this.menuResizeAndScrollEventListeners.remove(),this.menuResizeAndScrollEventListeners=null)}},render:function(){var e=arguments[0];return e("div",{ref:"menu-container",class:"vue-treeselect__menu-container",style:this.menuContainerStyle},[e("transition",{attrs:{name:"vue-treeselect__menu--transition"}},[this.renderMenu()])])}},tn=en,nn=ke(tn,qt,Gt,!1,null,null,null);nn.options.__file="src/components/Menu.vue";var on=nn.exports,rn=n(14),an=n.n(rn);function sn(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 ln(e){for(var t=1;t=t||n<0||m&&i>=d}function E(){var e=o();if(O(e))return _(e);f=setTimeout(E,w(e))}function _(e){return f=void 0,b&&c?y(e):(c=u=void 0,h)}function x(){void 0!==f&&clearTimeout(f),v=0,c=p=u=f=void 0}function D(){return void 0===f?h:_(o())}function C(){var e=o(),n=O(e);if(c=arguments,u=this,p=e,n){if(void 0===f)return S(p);if(m)return clearTimeout(f),f=setTimeout(E,t),y(p)}return void 0===f&&(f=setTimeout(E,t)),h}return t=r(t)||0,i(n)&&(g=!!n.leading,m="maxWait"in n,d=m?s(r(n.maxWait)||0,t):d,b="trailing"in n?!!n.trailing:b),C.cancel=x,C.flush=D,C}e.exports=c},d15b:function(e,t,n){function i(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(e.exports=i=function(e){return typeof e},e.exports["default"]=e.exports,e.exports.__esModule=!0):(e.exports=i=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports["default"]=e.exports,e.exports.__esModule=!0),i(t)}n("ab31"),n("4f40"),n("402f"),n("172f"),n("2db5"),n("6ab7"),e.exports=i,e.exports["default"]=e.exports,e.exports.__esModule=!0},d19b:function(e,t,n){var i=n("dc9b"),o=n("d92c"),r="[object Symbol]";function a(e){return"symbol"==typeof e||o(e)&&i(e)==r}e.exports=a},d472:function(e,t,n){var i=n("f0b8"),o="Expected a function";function r(e,t){var n;if("function"!=typeof t)throw new TypeError(o);return e=i(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}e.exports=r},d92c:function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},dc9b:function(e,t,n){var i=n("b155"),o=n("c015"),r=n("b7f4"),a="[object Null]",s="[object Undefined]",l=i?i.toStringTag:void 0;function c(e){return null==e?void 0===e?s:a:l&&l in Object(e)?o(e):r(e)}e.exports=c},dede:function(e,t,n){"use strict";var i=n("a09b"),o=n("b9ec"),r=n("6050"),a=n("2bc8"),s=n("f8b2"),l=[],c=l.sort,u=a((function(){l.sort(void 0)})),d=a((function(){l.sort(null)})),h=s("sort"),f=u||!d||!h;i({target:"Array",proto:!0,forced:f},{sort:function(e){return void 0===e?c.call(r(this)):c.call(r(this),o(e))}})},e4db:function(e,t){function n(){}e.exports=n},f0b8:function(e,t,n){var i=n("a9c7");function o(e){var t=i(e),n=t%1;return t===t?n?t-n:t:0}e.exports=o}}]); \ No newline at end of file diff --git a/jbs-front/static/js/chunk-1224c778.f67cd146.js b/jbs-front/static/js/chunk-1224c778.f67cd146.js deleted file mode 100644 index 528b174..0000000 --- a/jbs-front/static/js/chunk-1224c778.f67cd146.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1224c778"],{"00c3":function(t,e){var i=32,n=7;function a(t){var e=0;while(t>=i)e|=1&t,t>>=1;return t+e}function r(t,e,i,n){var a=e+1;if(a===i)return 1;if(n(t[a++],t[e])<0){while(a=0)a++;return a-e}function o(t,e,i){i--;while(e>>1,a(o,t[r])<0?l=r:s=r+1;var u=n-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(u>0)t[s+u]=t[s+u-1],u--}t[s]=o}}function l(t,e,i,n,a,r){var o=0,s=0,l=1;if(r(t,e[i+a])>0){s=n-a;while(l0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}else{s=a+1;while(ls&&(l=s);var u=o;o=a-l,l=a-u}o++;while(o>>1);r(t,e[i+c])>0?o=c+1:l=c}return l}function u(t,e,i,n,a,r){var o=0,s=0,l=1;if(r(t,e[i+a])<0){s=a+1;while(ls&&(l=s);var u=o;o=a-l,l=a-u}else{s=n-a;while(l=0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}o++;while(o>>1);r(t,e[i+c])<0?l=c:o=c+1}return l}function c(t,e){var i,a,r=n,o=0,s=0;o=t.length;var c=[];function h(t,e){i[s]=t,a[s]=e,s+=1}function d(){while(s>1){var t=s-2;if(t>=1&&a[t-1]<=a[t]+a[t+1]||t>=2&&a[t-2]<=a[t]+a[t-1])a[t-1]a[t+1])break;p(t)}}function f(){while(s>1){var t=s-2;t>0&&a[t-1]=n||m>=n);if(v)break;y<0&&(y=0),y+=2}if(r=y,r<1&&(r=1),1===a){for(h=0;h=0;h--)t[m+h]=t[g+h];if(0===a){_=!0;break}}if(t[p--]=c[f--],1===--s){_=!0;break}if(x=s-l(t[d],c,0,s,s-1,e),0!==x){for(p-=x,f-=x,s-=x,m=p+1,g=f+1,h=0;h=n||x>=n);if(_)break;v<0&&(v=0),v+=2}if(r=v,r<1&&(r=1),1===s){for(p-=a,d-=a,m=p+1,g=d+1,h=a-1;h>=0;h--)t[m+h]=t[g+h];t[p]=c[f]}else{if(0===s)throw new Error;for(g=p-(s-1),h=0;h=0;h--)t[m+h]=t[g+h];t[p]=c[f]}else for(g=p-(s-1),h=0;hd&&(f=d),s(t,n,n+f,n+u,e),u=f}h.pushRun(n,u),h.mergeRuns(),l-=u,n+=u}while(0!==l);h.forceMergeRuns()}}t.exports=h},"016b":function(t,e,i){var n=i("a04a"),a=256;function r(){var t=n.createCanvas();this.canvas=t,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}r.prototype={update:function(t,e,i,n,r,o){var s=this._getBrush(),l=this._getGradient(t,r,"inRange"),u=this._getGradient(t,r,"outOfRange"),c=this.pointSize+this.blurSize,h=this.canvas,d=h.getContext("2d"),f=t.length;h.width=e,h.height=i;for(var p=0;p0){var C=o(x)?l:u;x>0&&(x=x*A+M),b[w++]=C[T],b[w++]=C[T+1],b[w++]=C[T+2],b[w++]=C[T+3]*x*256}else w+=4}return d.putImageData(_,0,0),h},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=n.createCanvas()),e=this.pointSize+this.blurSize,i=2*e;t.width=i,t.height=i;var a=t.getContext("2d");return a.clearRect(0,0,i,i),a.shadowOffsetX=i,a.shadowBlur=this.blurSize,a.shadowColor="#000",a.beginPath(),a.arc(-e,e,this.pointSize,0,2*Math.PI,!0),a.closePath(),a.fill(),t},_getGradient:function(t,e,i){for(var n=this._gradientPixels,a=n[i]||(n[i]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,s=0;s<256;s++)e[i](s/255,!0,r),a[o++]=r[0],a[o++]=r[1],a[o++]=r[2],a[o++]=r[3];return a}};var o=r;t.exports=o},"01a1":function(t,e,i){var n=i("a04a"),a=i("a1d7"),r=i("cd88");function o(t,e,i,n){t[0]=i,t[1]=n,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function s(t){var e=this._zr=t.getZr();this._styleCoord=[0,0,0,0],o(this._styleCoord,e,t.getWidth()/2,t.getHeight()/2),this._show=!1,this._hideTimeout}s.prototype={constructor:s,_enterable:!0,update:function(t){var e=t.get("alwaysShowContent");e&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],i=t*this._zr.getWidth(),n=e*this._zr.getHeight();this.moveTo(i,n)},show:function(t){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(t,e,i){this.el&&this._zr.remove(this.el);var n={},o=t,s="{marker",l="|}",u=o.indexOf(s);while(u>=0){var c=o.indexOf(l),h=o.substr(u+s.length,c-u-s.length);h.indexOf("sub")>-1?n["marker"+h]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[h],textOffset:[3,0]}:n["marker"+h]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[h]},o=o.substr(c+1),u=o.indexOf("{marker")}var d=i.getModel("textStyle"),f=d.get("fontSize"),p=i.get("textLineHeight");null==p&&(p=Math.round(3*f/2)),this.el=new a({style:r.setTextStyle({},d,{rich:n,text:t,textBackgroundColor:i.get("backgroundColor"),textBorderRadius:i.get("borderRadius"),textFill:i.get("textStyle.color"),textPadding:i.get("padding"),textLineHeight:p}),z:i.get("z")}),this._zr.add(this.el);var g=this;this.el.on("mouseover",(function(){g._enterable&&(clearTimeout(g._hideTimeout),g._show=!0),g._inContent=!0})),this.el.on("mouseout",(function(){g._enterable&&g._show&&g.hideLater(g._hideDelay),g._inContent=!1}))},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){if(this.el){var i=this._styleCoord;o(i,this._zr,t,e),this.el.attr("position",[i[0],i[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var l=s;t.exports=l},"02b5":function(t,e,i){var n=i("a04a"),a=n.each,r=n.createHashMap,o=(n.assert,i("20f7")),s=(o.__DEV__,r(["tooltip","label","itemName","itemId","seriesName"]));function l(t){var e={},i=e.encode={},n=r(),o=[],l=[],c=e.userOutput={dimensionNames:t.dimensions.slice(),encode:{}};a(t.dimensions,(function(e){var a=t.getDimensionInfo(e),r=a.coordDim;if(r){var d=a.coordDimIndex;u(i,r)[d]=e,a.isExtraCoord||(n.set(r,1),h(a.type)&&(o[0]=e),u(c.encode,r)[d]=a.index),a.defaultTooltip&&l.push(e)}s.each((function(t,e){var n=u(i,e),r=a.otherDims[e];null!=r&&!1!==r&&(n[r]=a.name)}))}));var d=[],f={};n.each((function(t,e){var n=i[e];f[e]=n[0],d=d.concat(n)})),e.dataDimsOnCoord=d,e.encodeFirstDimNotExtra=f;var p=i.label;p&&p.length&&(o=p.slice());var g=i.tooltip;return g&&g.length?l=g.slice():l.length||(l=o.slice()),i.defaultedLabel=o,i.defaultedTooltip=l,e}function u(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function c(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function h(t){return!("ordinal"===t||"time"===t)}e.OTHER_DIMENSIONS=s,e.summarizeDimensions=l,e.getDimensionTypeByAxis=c},"02ec":function(t,e,i){var n=i("43a0"),a=i("a04a"),r=i("cd88"),o=i("0908"),s=i("4920"),l=i("882a"),u=n.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this.ecModel=t,this.api=e,this.visualMapModel},render:function(t,e,i,n){this.visualMapModel=t,!1!==t.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(t){var e=this.visualMapModel,i=o.normalizeCssArray(e.get("padding")||0),n=t.getBoundingRect();t.add(new r.Rect({z2:-1,silent:!0,shape:{x:n.x-i[3],y:n.y-i[0],width:n.width+i[3]+i[1],height:n.height+i[0]+i[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,e,i){i=i||{};var n=i.forceState,r=this.visualMapModel,o={};if("symbol"===e&&(o.symbol=r.get("itemSymbol")),"color"===e){var s=r.get("contentColor");o.color=s}function u(t){return o[t]}function c(t,e){o[t]=e}var h=r.controllerVisuals[n||r.getValueState(t)],d=l.prepareVisualTypes(h);return a.each(d,(function(n){var a=h[n];i.convertOpacityToAlpha&&"opacity"===n&&(n="colorAlpha",a=h.__alphaForOpacity),l.dependsOn(n,e)&&a&&a.applyVisual(t,u,c)})),o[e]},positionGroup:function(t){var e=this.visualMapModel,i=this.api;s.positionElement(t,e.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},doRender:a.noop});t.exports=u},"02f4":function(t,e,i){var n=i("43a0");i("e116"),i("c715"),n.registerPreprocessor((function(t){t.markArea=t.markArea||{}}))},"033d":function(t,e,i){var n=i("7625");e.Dispatcher=n;var a=i("8328"),r=i("88d0"),o=r.isCanvasEl,s=r.transformCoordWithViewport,l="undefined"!==typeof window&&!!window.addEventListener,u=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,c=[];function h(t,e,i,n){return i=i||{},n||!a.canvasSupported?d(t,e,i):a.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(i.zrX=e.layerX,i.zrY=e.layerY):null!=e.offsetX?(i.zrX=e.offsetX,i.zrY=e.offsetY):d(t,e,i),i}function d(t,e,i){if(a.domSupported&&t.getBoundingClientRect){var n=e.clientX,r=e.clientY;if(o(t)){var l=t.getBoundingClientRect();return i.zrX=n-l.left,void(i.zrY=r-l.top)}if(s(c,t,n,r))return i.zrX=c[0],void(i.zrY=c[1])}i.zrX=i.zrY=0}function f(t){return t||window.event}function p(t,e,i){if(e=f(e),null!=e.zrX)return e;var n=e.type,a=n&&n.indexOf("touch")>=0;if(a){var r="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];r&&h(t,r,e,i)}else h(t,e,e,i),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var o=e.button;return null==e.which&&void 0!==o&&u.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e}function g(t,e,i,n){l?t.addEventListener(e,i,n):t.attachEvent("on"+e,i)}function m(t,e,i,n){l?t.removeEventListener(e,i,n):t.detachEvent("on"+e,i)}var v=l?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function y(t){return 2===t.which||3===t.which}function x(t){return t.which>1}e.clientToLocal=h,e.getNativeEvent=f,e.normalizeEvent=p,e.addEventListener=g,e.removeEventListener=m,e.stop=v,e.isMiddleOrRightButtonOnMouseUpDown=y,e.notLeftMouse=x},"0379":function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("91c4")),r=i("f959"),o=r.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return a(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});t.exports=o},"0386":function(t,e,i){var n=i("a04a"),a=i("1206");function r(t,e,i){a.call(this,t,e,i),this.type="value",this.angle=0,this.name="",this.model}n.inherits(r,a);var o=r;t.exports=o},"042d":function(t,e,i){var n=i("43a0"),a=i("c422"),r=n.extendComponentView({type:"axisPointer",render:function(t,e,i){var n=e.getComponent("tooltip"),r=t.get("triggerOn")||n&&n.get("triggerOn")||"mousemove|click";a.register("axisPointer",i,(function(t,e,i){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&i({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},remove:function(t,e){a.unregister(e.getZr(),"axisPointer"),r.superApply(this._model,"remove",arguments)},dispose:function(t,e){a.unregister("axisPointer",e),r.superApply(this._model,"dispose",arguments)}}),o=r;t.exports=o},"0443":function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("4920")),r=i("263c"),o=r.parsePercent,s=r.linearMap;function l(t,e){return a.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function u(t,e){for(var i=t.mapDimension("value"),n=t.mapArray(i,(function(t){return t})),a=[],r="ascending"===e,o=0,s=t.count();o=4&&(u={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(u&&null!=o&&null!=l&&(c=F(u,o,l),!e.ignoreViewBox)){var f=a;a=new n,a.add(f),f.scale=c.scale.slice(),f.position=c.position.slice()}return e.ignoreRootClip||null==o||null==l||a.setClipPath(new s({shape:{x:0,y:0,width:o,height:l}})),{root:a,width:o,height:l,viewBoxRect:u,viewBoxTransform:c}},A.prototype._parseNode=function(t,e){var i,n=t.nodeName.toLowerCase();if("defs"===n?this._isDefine=!0:"text"===n&&(this._isText=!0),this._isDefine){var a=C[n];if(a){var r=a.call(this,t),o=t.getAttribute("id");o&&(this._defs[o]=r)}}else{a=T[n];a&&(i=a.call(this,t,e),e.add(i))}var s=t.firstChild;while(s)1===s.nodeType&&this._parseNode(s,i),3===s.nodeType&&this._isText&&this._parseText(s,i),s=s.nextSibling;"defs"===n?this._isDefine=!1:"text"===n&&(this._isText=!1)},A.prototype._parseText=function(t,e){if(1===t.nodeType){var i=t.getAttribute("dx")||0,n=t.getAttribute("dy")||0;this._textX+=parseFloat(i),this._textY+=parseFloat(n)}var a=new r({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});L(e,a),O(t,a,this._defs);var o=a.style.fontSize;o&&o<9&&(a.style.fontSize=9,a.scale=a.scale||[1,1],a.scale[0]*=o/9,a.scale[1]*=o/9);var s=a.getBoundingRect();return this._textX+=s.width,e.add(a),a};var T={g:function(t,e){var i=new n;return L(e,i),O(t,i,this._defs),i},rect:function(t,e){var i=new s;return L(e,i),O(t,i,this._defs),i.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),i},circle:function(t,e){var i=new o;return L(e,i),O(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),i},line:function(t,e){var i=new u;return L(e,i),O(t,i,this._defs),i.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),i},ellipse:function(t,e){var i=new l;return L(e,i),O(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),i},polygon:function(t,e){var i=t.getAttribute("points");i&&(i=P(i));var n=new h({shape:{points:i||[]}});return L(e,n),O(t,n,this._defs),n},polyline:function(t,e){var i=new c;L(e,i),O(t,i,this._defs);var n=t.getAttribute("points");n&&(n=P(n));var a=new d({shape:{points:n||[]}});return a},image:function(t,e){var i=new a;return L(e,i),O(t,i,this._defs),i.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),i},text:function(t,e){var i=t.getAttribute("x")||0,a=t.getAttribute("y")||0,r=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0;this._textX=parseFloat(i)+parseFloat(r),this._textY=parseFloat(a)+parseFloat(o);var s=new n;return L(e,s),O(t,s,this._defs),s},tspan:function(t,e){var i=t.getAttribute("x"),a=t.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=a&&(this._textY=parseFloat(a));var r=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0,s=new n;return L(e,s),O(t,s,this._defs),this._textX+=r,this._textY+=o,s},path:function(t,e){var i=t.getAttribute("d")||"",n=v(i);return L(e,n),O(t,n,this._defs),n}},C={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),i=parseInt(t.getAttribute("y1")||0,10),n=parseInt(t.getAttribute("x2")||10,10),a=parseInt(t.getAttribute("y2")||0,10),r=new f(e,i,n,a);return D(t,r),r},radialgradient:function(t){}};function D(t,e){var i=t.firstChild;while(i){if(1===i.nodeType){var n=i.getAttribute("offset");n=n.indexOf("%")>0?parseInt(n,10)/100:n?parseFloat(n):0;var a=i.getAttribute("stop-color")||"#000000";e.addColorStop(n,a)}i=i.nextSibling}}function L(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),b(e.__inheritedStyle,t.__inheritedStyle))}function P(t){for(var e=w(t).split(M),i=[],n=0;n0;r-=2){var o=a[r],s=a[r-1];switch(n=n||g.create(),s){case"translate":o=w(o).split(M),g.translate(n,n,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=w(o).split(M),g.scale(n,n,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=w(o).split(M),g.rotate(n,n,parseFloat(o[0]));break;case"skew":o=w(o).split(M),console.warn("Skew transform is not supported yet");break;case"matrix":o=w(o).split(M);n[0]=parseFloat(o[0]),n[1]=parseFloat(o[1]),n[2]=parseFloat(o[2]),n[3]=parseFloat(o[3]),n[4]=parseFloat(o[4]),n[5]=parseFloat(o[5]);break}}e.setLocalTransform(n)}}var V=/([^\s:;]+)\s*:\s*([^:;]+)/g;function B(t){var e=t.getAttribute("style"),i={};if(!e)return i;var n,a={};V.lastIndex=0;while(null!=(n=V.exec(e)))a[n[1]]=n[2];for(var r in k)k.hasOwnProperty(r)&&null!=a[r]&&(i[k[r]]=a[r]);return i}function F(t,e,i){var n=e/t.width,a=i/t.height,r=Math.min(n,a),o=[r,r],s=[-(t.x+t.width/2)*r+e/2,-(t.y+t.height/2)*r+i/2];return{scale:o,position:s}}function G(t,e){var i=new A;return i.parse(t,e)}e.parseXML=I,e.makeViewBoxTransform=F,e.parseSVG=G},"054b":function(t,e,i){var n=i("210a"),a=i("1621"),r=i("2e27"),o=i("70b8"),s=n.extend({makeElOption:function(t,e,i,n,o){var s=i.axis,c=s.grid,h=n.get("type"),d=l(c,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(e,!0));if(h&&"none"!==h){var p=a.buildElStyle(n),g=u[h](s,f,d);g.style=p,t.graphicKey=g.type,t.pointer=g}var m=r.layout(c.model,i);a.buildCartesianSingleLabelElOption(e,t,m,i,n,o)},getHandleTransform:function(t,e,i){var n=r.layout(e.axis.grid.model,e,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:a.getTransformedPosition(e.axis,t,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,i,n){var a=i.axis,r=a.grid,o=a.getGlobalExtent(!0),s=l(r,a).getOtherAxis(a).getGlobalExtent(),u="x"===a.dim?0:1,c=t.position;c[u]+=e[u],c[u]=Math.min(o[1],c[u]),c[u]=Math.max(o[0],c[u]);var h=(s[1]+s[0])/2,d=[h,h];d[u]=c[u];var f=[{verticalAlign:"middle"},{align:"center"}];return{position:c,rotation:t.rotation,cursorPoint:d,tooltipOption:f[u]}}});function l(t,e){var i={};return i[e.dim+"AxisIndex"]=e.index,t.getCartesian(i)}var u={line:function(t,e,i){var n=a.makeLineShape([e,i[0]],[e,i[1]],c(t));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(t,e,i){var n=Math.max(1,t.getBandWidth()),r=i[1]-i[0];return{type:"Rect",shape:a.makeRectShape([e-n/2,i[0]],[n,r],c(t))}}};function c(t){return"x"===t.dim?0:1}o.registerAxisPointerClass("CartesianAxisPointer",s);var h=s;t.exports=h},"0597":function(t,e,i){var n=i("a04a"),a=i("f959"),r=i("e3e1"),o=i("3f44"),s=i("c9c7"),l=s.wrapTreePathInfo,u=a.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(t,e){var i={name:t.name,children:t.data};c(i);var a=n.map(t.levels||[],(function(t){return new o(t,this,e)}),this),s=r.createTree(i,this,l);function l(t){t.wrapMethod("getItemModel",(function(t,e){var i=s.getNodeByDataIndex(e),n=a[i.depth];return n&&(t.parentModel=n),t}))}return s.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(t){var e=a.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=l(i,this),e},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});function c(t){var e=0;n.each(t.children,(function(t){c(t);var i=t.value;n.isArray(i)&&(i=i[0]),e+=i}));var i=t.value;n.isArray(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=e),i<0&&(i=0),n.isArray(t.value)?t.value[0]=i:t.value=i}t.exports=u},"05c2":function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("43a0")),r=i("a04a"),o=i("8223"),s=i("cd88"),l=["axisLine","axisTickLabel","axisName"],u=a.extendComponentView({type:"radar",render:function(t,e,i){var n=this.group;n.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem,i=e.getIndicatorAxes(),n=r.map(i,(function(t){var i=new o(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return i}));r.each(n,(function(t){r.each(l,t.add,t),this.group.add(t.getGroup())}),this)},_buildSplitLineAndArea:function(t){var e=t.coordinateSystem,i=e.getIndicatorAxes();if(i.length){var n=t.get("shape"),a=t.getModel("splitLine"),o=t.getModel("splitArea"),l=a.getModel("lineStyle"),u=o.getModel("areaStyle"),c=a.get("show"),h=o.get("show"),d=l.get("color"),f=u.get("color");d=r.isArray(d)?d:[d],f=r.isArray(f)?f:[f];var p=[],g=[];if("circle"===n)for(var m=i[0].getTicksCoords(),v=e.cx,y=e.cy,x=0;xs&&(e[1-r]=e[r]+f.sign*s),e}function n(t,e){var i=t[e]-t[1-e];return{span:Math.abs(i),sign:i>0?-1:i<0?1:e?-1:1}}function a(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}t.exports=i},"0764":function(t,e){var i={legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};t.exports=i},"0908":function(t,e,i){var n=i("a04a"),a=i("1760"),r=i("263c");function o(t){return isNaN(t)?"-":(t=(t+"").split("."),t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:""))}function s(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var l=n.normalizeCssArray,u=/([&<>"'])/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"};function h(t){return null==t?"":(t+"").replace(u,(function(t,e){return c[e]}))}var d=["a","b","c","d","e","f","g"],f=function(t,e){return"{"+t+(null==e?"":e)+"}"};function p(t,e,i){n.isArray(e)||(e=[e]);var a=e.length;if(!a)return"";for(var r=e[0].$vars||[],o=0;o':'':{renderMode:r,content:"{marker"+o+"|} ",style:{color:i}}:""}function v(t,e){return t+="","0000".substr(0,e-t.length)+t}function y(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var n=r.parseDate(e),a=i?"UTC":"",o=n["get"+a+"FullYear"](),s=n["get"+a+"Month"]()+1,l=n["get"+a+"Date"](),u=n["get"+a+"Hours"](),c=n["get"+a+"Minutes"](),h=n["get"+a+"Seconds"](),d=n["get"+a+"Milliseconds"]();return t=t.replace("MM",v(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",v(l,2)).replace("d",l).replace("hh",v(u,2)).replace("h",u).replace("mm",v(c,2)).replace("m",c).replace("ss",v(h,2)).replace("s",h).replace("SSS",v(d,3)),t}function x(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}var _=a.truncateText;function b(t){return a.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)}function w(t,e,i,n,r,o,s,l){return a.getBoundingRect(t,e,i,n,r,l,o,s)}function S(t,e){if("_blank"===e||"blank"===e){var i=window.open();i.opener=null,i.location=t}else window.open(t,e)}e.addCommas=o,e.toCamelCase=s,e.normalizeCssArray=l,e.encodeHTML=h,e.formatTpl=p,e.formatTplSimple=g,e.getTooltipMarker=m,e.formatTime=y,e.capitalFirst=x,e.truncateText=_,e.getTextBoundingRect=b,e.getTextRect=w,e.windowOpen=S},"0977":function(t,e,i){var n=i("43a0"),a=i("a04a"),r=i("1760"),o=i("b007"),s=i("cd88"),l=i("3f44"),u=i("2644"),c=i("9246"),h=n.extendComponentView({type:"toolbox",render:function(t,e,i,n){var h=this.group;if(h.removeAll(),t.get("show")){var f=+t.get("itemSize"),p=t.get("feature")||{},g=this._features||(this._features={}),m=[];a.each(p,(function(t,e){m.push(e)})),new u(this._featureNames||[],m).add(v).update(v).remove(a.curry(v,null)).execute(),this._featureNames=m,c.layout(h,t,i),h.add(c.makeBackground(h.getBoundingRect(),t)),h.eachChild((function(t){var e=t.__title,n=t.hoverStyle;if(n&&e){var a=r.getBoundingRect(e,r.makeFont(n)),o=t.position[0]+h.position[0],s=t.position[1]+h.position[1]+f,l=!1;s+a.height>i.getHeight()&&(n.textPosition="top",l=!0);var u=l?-5-a.height:f+8;o+a.width/2>i.getWidth()?(n.textPosition=["100%",u],n.textAlign="right"):o-a.width/2<0&&(n.textPosition=[0,u],n.textAlign="left")}}))}function v(a,r){var s,u=m[a],c=m[r],h=p[u],f=new l(h,t,t.ecModel);if(n&&null!=n.newTitle&&n.featureName===u&&(h.title=n.newTitle),u&&!c){if(d(u))s={model:f,onclick:f.option.onclick,featureName:u};else{var v=o.get(u);if(!v)return;s=new v(f,e,i)}g[u]=s}else{if(s=g[c],!s)return;s.model=f,s.ecModel=e,s.api=i}u||!c?f.get("show")&&!s.unusable?(y(f,s,u),f.setIconStatus=function(t,e){var i=this.option,n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[t]=e,n[t]&&n[t].trigger(e)},s.render&&s.render(f,e,i,n)):s.remove&&s.remove(e,i):s.dispose&&s.dispose(e,i)}function y(n,r,o){var l=n.getModel("iconStyle"),u=n.getModel("emphasis.iconStyle"),c=r.getIcons?r.getIcons():n.get("icon"),d=n.get("title")||{};if("string"===typeof c){var p=c,g=d;c={},d={},c[o]=p,d[o]=g}var m=n.iconPaths={};a.each(c,(function(o,c){var p=s.createIcon(o,{},{x:-f/2,y:-f/2,width:f,height:f});p.setStyle(l.getItemStyle()),p.hoverStyle=u.getItemStyle(),p.setStyle({text:d[c],textAlign:u.get("textAlign"),textBorderRadius:u.get("textBorderRadius"),textPadding:u.get("textPadding"),textFill:null});var g=t.getModel("tooltip");g&&g.get("show")&&p.attr("tooltip",a.extend({content:d[c],formatter:g.get("formatter",!0)||function(){return d[c]},formatterParams:{componentType:"toolbox",name:c,title:d[c],$vars:["name","title"]},position:g.get("position",!0)||"bottom"},g.option)),s.setHoverStyle(p),t.get("showTitle")&&(p.__title=d[c],p.on("mouseover",(function(){var e=u.getItemStyle(),i="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";p.setStyle({textFill:u.get("textFill")||e.fill||e.stroke||"#000",textBackgroundColor:u.get("textBackgroundColor"),textPosition:u.get("textPosition")||i})})).on("mouseout",(function(){p.setStyle({textFill:null,textBackgroundColor:null})}))),p.trigger(n.get("iconStatus."+c)||"normal"),h.add(p),p.on("click",a.bind(r.onclick,r,e,i,c)),m[c]=p}))}},updateView:function(t,e,i,n){a.each(this._features,(function(t){t.updateView&&t.updateView(t.model,e,i,n)}))},remove:function(t,e){a.each(this._features,(function(i){i.remove&&i.remove(t,e)})),this.group.removeAll()},dispose:function(t,e){a.each(this._features,(function(i){i.dispose&&i.dispose(t,e)}))}});function d(t){return 0===t.indexOf("my")}t.exports=h},"09df":function(t,e){function i(t){return{seriesType:t,reset:function(t,e){var i=e.findComponents({mainType:"legend"});if(i&&i.length){var n=t.getData();n.filterSelf((function(t){for(var e=n.getName(t),a=0;a=0;a--){var r=i[a];if(r[n])break}if(a<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(o){var s=o.getPercentRange();i[0][n]={dataZoomId:n,start:s[0],end:s[1]}}}})),i.push(e)}function s(t){var e=c(t),i=e[e.length-1];e.length>1&&e.pop();var n={};return a(i,(function(t,i){for(var a=e.length-1;a>=0;a--){t=e[a][i];if(t){n[i]=t;break}}})),n}function l(t){t[r]=null}function u(t){return c(t).length}function c(t){var e=t[r];return e||(e=t[r]=[{}]),e}e.push=o,e.pop=s,e.clear=l,e.count=u},"0cc1":function(t,e,i){var n=i("a04a"),a=i("2cb9"),r=a.createSymbol,o=i("cd88"),s=i("263c"),l=s.parsePercent,u=i("cae8"),c=u.getDefaultLabel;function h(t,e,i){o.Group.call(this),this.updateData(t,e,i)}var d=h.prototype,f=h.getSymbolSize=function(t,e){var i=t.getItemVisual(e,"symbolSize");return i instanceof Array?i.slice():[+i,+i]};function p(t){return[t[0]/2,t[1]/2]}function g(t,e){this.parent.drift(t,e)}d._createSymbol=function(t,e,i,n,a){this.removeAll();var o=e.getItemVisual(i,"color"),s=r(t,-1,-1,2,2,o,a);s.attr({z2:100,culling:!0,scale:p(n)}),s.drift=g,this._symbolType=t,this.add(s)},d.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},d.getSymbolPath=function(){return this.childAt(0)},d.getScale=function(){return this.childAt(0).scale},d.highlight=function(){this.childAt(0).trigger("emphasis")},d.downplay=function(){this.childAt(0).trigger("normal")},d.setZ=function(t,e){var i=this.childAt(0);i.zlevel=t,i.z=e},d.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},d.updateData=function(t,e,i){this.silent=!1;var n=t.getItemVisual(e,"symbol")||"circle",a=t.hostModel,r=f(t,e),s=n!==this._symbolType;if(s){var l=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(n,t,e,r,l)}else{var u=this.childAt(0);u.silent=!1,o.updateProps(u,{scale:p(r)},a,e)}if(this._updateCommon(t,e,r,i),s){u=this.childAt(0);var c=i&&i.fadeIn,h={scale:u.scale.slice()};c&&(h.style={opacity:u.style.opacity}),u.scale=[0,0],c&&(u.style.opacity=0),o.initProps(u,h,a,e)}this._seriesModel=a};var m=["itemStyle"],v=["emphasis","itemStyle"],y=["label"],x=["emphasis","label"];function _(t,e){if(!this.incremental&&!this.useHoverLayer)if("emphasis"===e){var i=this.__symbolOriginalScale,n=i[1]/i[0],a={scale:[Math.max(1.1*i[0],i[0]+3),Math.max(1.1*i[1],i[1]+3*n)]};this.animateTo(a,400,"elasticOut")}else"normal"===e&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}d._updateCommon=function(t,e,i,a){var r=this.childAt(0),s=t.hostModel,u=t.getItemVisual(e,"color");"image"!==r.type?r.useStyle({strokeNoScale:!0}):r.setStyle({opacity:1,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var h=a&&a.itemStyle,d=a&&a.hoverItemStyle,f=a&&a.symbolOffset,g=a&&a.labelModel,b=a&&a.hoverLabelModel,w=a&&a.hoverAnimation,S=a&&a.cursorStyle;if(!a||t.hasItemOption){var M=a&&a.itemModel?a.itemModel:t.getItemModel(e);h=M.getModel(m).getItemStyle(["color"]),d=M.getModel(v).getItemStyle(),f=M.getShallow("symbolOffset"),g=M.getModel(y),b=M.getModel(x),w=M.getShallow("hoverAnimation"),S=M.getShallow("cursor")}else d=n.extend({},d);var I=r.style,A=t.getItemVisual(e,"symbolRotate");r.attr("rotation",(A||0)*Math.PI/180||0),f&&r.attr("position",[l(f[0],i[0]),l(f[1],i[1])]),S&&r.attr("cursor",S),r.setColor(u,a&&a.symbolInnerColor),r.setStyle(h);var T=t.getItemVisual(e,"opacity");null!=T&&(I.opacity=T);var C=t.getItemVisual(e,"liftZ"),D=r.__z2Origin;null!=C?null==D&&(r.__z2Origin=r.z2,r.z2+=C):null!=D&&(r.z2=D,r.__z2Origin=null);var L=a&&a.useNameLabel;function P(e,i){return L?t.getName(e):c(t,e)}o.setLabelStyle(I,d,g,b,{labelFetcher:s,labelDataIndex:e,defaultText:P,isRectText:!0,autoColor:u}),r.__symbolOriginalScale=p(i),r.hoverStyle=d,r.highDownOnUpdate=w&&s.isAnimationEnabled()?_:null,o.setHoverStyle(r)},d.fadeOut=function(t,e){var i=this.childAt(0);this.silent=i.silent=!0,(!e||!e.keepLabel)&&(i.style.text=null),o.updateProps(i,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},n.inherits(h,o.Group);var b=h;t.exports=b},"0d4f":function(t,e,i){var n=i("a04a"),a=i("263c");function r(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),i=t.coordinateSystem,n={},r=i.getRect();n.rect=r;var s=t.get("boundaryGap"),l=i.getAxis();if(n.boundaryGap=s,"horizontal"===l.orient){s[0]=a.parsePercent(s[0],r.height),s[1]=a.parsePercent(s[1],r.height);var u=r.height-s[0]-s[1];o(e,t,u)}else{s[0]=a.parsePercent(s[0],r.width),s[1]=a.parsePercent(s[1],r.width);var c=r.width-s[0]-s[1];o(e,t,c)}e.setLayout("layoutInfo",n)}))}function o(t,e,i){if(t.count())for(var a,r=e.coordinateSystem,o=e.getLayerSeries(),l=t.mapDimension("single"),u=t.mapDimension("value"),c=n.map(o,(function(e){return n.map(e.indices,(function(e){var i=r.dataToPoint(t.get(l,e));return i[1]=t.get(u,e),i}))})),h=s(c),d=h.y0,f=i/h.max,p=o.length,g=o[0].indices.length,m=0;mr&&(r=u),n.push(u)}for(var c=0;cr&&(r=d)}return o.y0=a,o.max=r,o}t.exports=r},"0d6f":function(t,e,i){i("b456"),i("8d59")},"0dab":function(t,e,i){i("ac05"),i("2529"),i("5198"),i("18e5"),i("985b"),i("2612"),i("0631")},"0e03":function(t,e,i){var n=i("1bc7"),a=n([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),r={getItemStyle:function(t,e){var i=a(this,t,e),n=this.getBorderLineDash();return n&&(i.lineDash=n),i},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}};t.exports=r},"0e3e":function(t,e,i){var n=i("a04a"),a=n.createHashMap;function r(t){return{getTargetSeries:function(e){var i={},n=a();return e.eachSeriesByType(t,(function(t){t.__paletteScope=i,n.set(t.uid,t)})),n},reset:function(t,e){var i=t.getRawData(),n={},a=t.getData();a.each((function(t){var e=a.getRawIndex(t);n[e]=t})),i.each((function(e){var r,o=n[e],s=null!=o&&a.getItemVisual(o,"color",!0),l=null!=o&&a.getItemVisual(o,"borderColor",!0);if(s&&l||(r=i.getItemModel(e)),!s){var u=r.get("itemStyle.color")||t.getColorFromPalette(i.getName(e)||e+"",t.__paletteScope,i.count());null!=o&&a.setItemVisual(o,"color",u)}if(!l){var c=r.get("itemStyle.borderColor");null!=o&&a.setItemVisual(o,"borderColor",c)}}))}}}t.exports=r},"0e60":function(t,e,i){var n=i("91c4"),a=i("f959"),r=a.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(t,e){return n(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});t.exports=r},"0f3e":function(t,e,i){var n=i("a04a"),a=i("30b9"),r=i("fefa"),o=i("3b07"),s=o.onIrrelevantElement,l=i("cd88"),u=i("cd82"),c=i("918f"),h=c.getUID,d=i("1be6");function f(t){var e=t.getItemStyle(),i=t.get("areaColor");return null!=i&&(e.fill=i),e}function p(t,e,i,a,r){i.off("click"),i.off("mousedown"),e.get("selectedMode")&&(i.on("mousedown",(function(){t._mouseDownFlag=!0})),i.on("click",(function(o){if(t._mouseDownFlag){t._mouseDownFlag=!1;var s=o.target;while(!s.__regions)s=s.parent;if(s){var l={type:("geo"===e.mainType?"geo":"map")+"ToggleSelect",batch:n.map(s.__regions,(function(t){return{name:t.name,from:r.uid}}))};l[e.mainType+"Id"]=e.id,a.dispatchAction(l),g(e,i)}}})))}function g(t,e){e.eachChild((function(e){n.each(e.__regions,(function(i){e.trigger(t.isSelected(i.name)?"emphasis":"normal")}))}))}function m(t,e){var i=new l.Group;this.uid=h("ec_map_draw"),this._controller=new a(t.getZr()),this._controllerHost={target:e?i:null},this.group=i,this._updateGroup=e,this._mouseDownFlag,this._mapName,this._initialized,i.add(this._regionsGroup=new l.Group),i.add(this._backgroundGroup=new l.Group)}m.prototype={constructor:m,draw:function(t,e,i,a,r){var o="geo"===t.mainType,s=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},(function(e){s||e.getHostGeoModel()!==t||(s=e.getData())}));var u=t.coordinateSystem;this._updateBackground(u);var c,h=this._regionsGroup,m=this.group,v=u.getTransformInfo(),y=!h.childAt(0)||r;if(y)m.transform=v.roamTransform,m.decomposeTransform(),m.dirty();else{var x=new d;x.transform=v.roamTransform,x.decomposeTransform();var _={scale:x.scale,position:x.position};c=x.scale,l.updateProps(m,_,t)}var b=v.rawScale,w=v.rawPosition;h.removeAll();var S=["itemStyle"],M=["emphasis","itemStyle"],I=["label"],A=["emphasis","label"],T=n.createHashMap();n.each(u.regions,(function(e){var i=T.get(e.name)||T.set(e.name,new l.Group),a=new l.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});i.add(a);var r,u=t.getRegionModel(e.name)||t,d=u.getModel(S),p=u.getModel(M),g=f(d),v=f(p),x=u.getModel(I),_=u.getModel(A);if(s){r=s.indexOfName(e.name);var C=s.getItemVisual(r,"color",!0);C&&(g.fill=C)}var D=function(t){return[t[0]*b[0]+w[0],t[1]*b[1]+w[1]]};n.each(e.geometries,(function(t){if("polygon"===t.type){for(var e=[],i=0;i=0)&&(R=t);var N=new l.Text({position:D(e.center.slice()),scale:[1/m.scale[0],1/m.scale[1]],z2:10,silent:!0});if(l.setLabelStyle(N.style,N.hoverStyle={},x,_,{labelFetcher:R,labelDataIndex:E,defaultText:e.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!y){var z=[1/c[0],1/c[1]];l.updateProps(N,{scale:z},t)}i.add(N)}if(s)s.setItemGraphicEl(r,i);else{u=t.getRegionModel(e.name);a.eventData={componentType:"geo",componentIndex:t.componentIndex,geoIndex:t.componentIndex,name:e.name,region:u&&u.option||{}}}var V=i.__regions||(i.__regions=[]);V.push(e),i.highDownSilentOnTouch=!!t.get("selectedMode"),l.setHoverStyle(i,v),h.add(i)})),this._updateController(t,e,i),p(this,t,h,i,a),g(t,h)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&u.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(t){var e=t.map;this._mapName!==e&&n.each(u.makeGraphic(e,this.uid),(function(t){this._backgroundGroup.add(t)}),this),this._mapName=e},_updateController:function(t,e,i){var a=t.coordinateSystem,o=this._controller,l=this._controllerHost;l.zoomLimit=t.get("scaleLimit"),l.zoom=a.getZoom(),o.enable(t.get("roam")||!1);var u=t.mainType;function c(){var e={type:"geoRoam",componentType:u};return e[u+"Id"]=t.id,e}o.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,r.updateViewOnPan(l,t.dx,t.dy),i.dispatchAction(n.extend(c(),{dx:t.dx,dy:t.dy}))}),this),o.off("zoom").on("zoom",(function(t){if(this._mouseDownFlag=!1,r.updateViewOnZoom(l,t.scale,t.originX,t.originY),i.dispatchAction(n.extend(c(),{zoom:t.scale,originX:t.originX,originY:t.originY})),this._updateGroup){var e=this.group.scale;this._regionsGroup.traverse((function(t){"text"===t.type&&t.attr("scale",[1/e[0],1/e[1]])}))}}),this),o.setPointerChecker((function(e,n,r){return a.getViewRectAfterRoam().contain(n,r)&&!s(e,i,t)}))}};var v=m;t.exports=v},"0f65":function(t,e,i){var n,a=i("8328"),r="urn:schemas-microsoft-com:vml",o="undefined"===typeof window?null:window,s=!1,l=o&&o.document;function u(t){return n(t)}if(l&&!a.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",r),n=function(t){return l.createElement("')}}catch(h){n=function(t){return l.createElement("<"+t+' xmlns="'+r+'" class="zrvml">')}}function c(){if(!s&&l){s=!0;var t=l.styleSheets;t.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}e.doc=l,e.createNode=u,e.initVML=c},"0f6c":function(t,e,i){i("ac05"),i("2529"),i("5198"),i("d266"),i("84ba"),i("2612"),i("0631")},"0fbd":function(t,e,i){var n=i("263c"),a=n.parsePercent,r=n.linearMap,o=i("4920"),s=i("27ab"),l=i("a04a"),u=2*Math.PI,c=Math.PI/180;function h(t,e){return o.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function d(t,e,i,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),n=e.mapDimension("value"),o=h(t,i),d=t.get("center"),f=t.get("radius");l.isArray(f)||(f=[0,f]),l.isArray(d)||(d=[d,d]);var p=a(o.width,i.getWidth()),g=a(o.height,i.getHeight()),m=Math.min(p,g),v=a(d[0],p)+o.x,y=a(d[1],g)+o.y,x=a(f[0],m/2),_=a(f[1],m/2),b=-t.get("startAngle")*c,w=t.get("minAngle")*c,S=0;e.each(n,(function(t){!isNaN(t)&&S++}));var M=e.getSum(n),I=Math.PI/(M||S)*2,A=t.get("clockwise"),T=t.get("roseType"),C=t.get("stillShowZeroSum"),D=e.getDataExtent(n);D[0]=0;var L=u,P=0,k=b,O=A?1:-1;if(e.each(n,(function(t,i){var n;if(isNaN(t))e.setItemLayout(i,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:A,cx:v,cy:y,r0:x,r:T?NaN:_,viewRect:o});else{n="area"!==T?0===M&&C?I:t*I:u/S,ne+d&&h>a+d&&h>o+d&&h>l+d||ht+d&&c>i+d&&c>r+d&&c>s+d||cl[1];p(e[0].coord,l[0])&&(n?e[0].coord=l[0]:e.shift()),n&&p(l[0],e[0].coord)&&e.unshift({coord:l[0]}),p(l[1],o.coord)&&(n?o.coord=l[1]:e.pop()),n&&p(o.coord,l[1])&&e.push({coord:l[1]})}function p(t,e){return t=u(t),e=u(e),f?t>e:t=i&&t<=n},containData:function(t){return this.scale.contain(t)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return l(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var i=this._extent;i[0]=t,i[1]=e},dataToCoord:function(t,e){var i=this._extent,n=this.scale;return t=n.normalize(t),this.onBand&&"ordinal"===n.type&&(i=i.slice(),m(i,n.count())),s(t,p,i,e)},coordToData:function(t,e){var i=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&(i=i.slice(),m(i,n.count()));var a=s(t,i,p,e);return this.scale.scale(a)},pointToData:function(t,e){},getTicksCoords:function(t){t=t||{};var e=t.tickModel||this.getTickModel(),i=h(this,e),n=i.ticks,a=r(n,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this),o=e.get("alignWithLabel");return v(this,a,o,t.clamp),a},getMinorTicksCoords:function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var i=this.scale.getMinorTicks(e),n=r(i,(function(t){return r(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return n},getViewLabels:function(){return d(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),i=e[1]-e[0]+(this.onBand?1:0);0===i&&(i=1);var n=Math.abs(t[1]-t[0]);return Math.abs(n)/i},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return f(this)}};var y=g;t.exports=y},1298:function(t,e,i){var n=i("5abd"),a=i("59af"),r=i("c3d7"),o=r.getSymbolSize,s=[],l=[],u=[],c=n.quadraticAt,h=a.distSquare,d=Math.abs;function f(t,e,i){for(var n,a=t[0],r=t[1],o=t[2],f=1/0,p=i*i,g=.1,m=.1;m<=.9;m+=.1){s[0]=c(a[0],r[0],o[0],m),s[1]=c(a[1],r[1],o[1],m);var v=d(h(s,e)-p);v=0?n+=g:n-=g:_>=0?n-=g:n+=g}return n}function p(t,e){var i=[],r=n.quadraticSubdivide,s=[[],[],[]],l=[[],[]],u=[];e/=2,t.eachEdge((function(t,n){var c=t.getLayout(),h=t.getVisual("fromSymbol"),d=t.getVisual("toSymbol");c.__original||(c.__original=[a.clone(c[0]),a.clone(c[1])],c[2]&&c.__original.push(a.clone(c[2])));var p=c.__original;if(null!=c[2]){if(a.copy(s[0],p[0]),a.copy(s[1],p[2]),a.copy(s[2],p[1]),h&&"none"!==h){var g=o(t.node1),m=f(s,p[0],g*e);r(s[0][0],s[1][0],s[2][0],m,i),s[0][0]=i[3],s[1][0]=i[4],r(s[0][1],s[1][1],s[2][1],m,i),s[0][1]=i[3],s[1][1]=i[4]}if(d&&"none"!==d){g=o(t.node2),m=f(s,p[1],g*e);r(s[0][0],s[1][0],s[2][0],m,i),s[1][0]=i[1],s[2][0]=i[2],r(s[0][1],s[1][1],s[2][1],m,i),s[1][1]=i[1],s[2][1]=i[2]}a.copy(c[0],s[0]),a.copy(c[1],s[2]),a.copy(c[2],s[1])}else{if(a.copy(l[0],p[0]),a.copy(l[1],p[1]),a.sub(u,l[1],l[0]),a.normalize(u,u),h&&"none"!==h){g=o(t.node1);a.scaleAndAdd(l[0],l[0],u,g*e)}if(d&&"none"!==d){g=o(t.node2);a.scaleAndAdd(l[1],l[1],u,-g*e)}a.copy(c[0],l[0]),a.copy(c[1],l[1])}}))}t.exports=p},"12f1":function(t,e,i){var n=i("43a0"),a=i("a04a");n.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e){var i=e.getComponent("timeline");return i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.setPlayState(!1)),e.resetOption("timeline"),a.defaults({currentIndex:i.option.currentIndex},t)})),n.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(t,e){var i=e.getComponent("timeline");i&&null!=t.playState&&i.setPlayState(t.playState)}))},"132c":function(t,e,i){var n=i("a04a"),a=i("0386"),r=i("b42b"),o=i("263c"),s=i("b184"),l=s.getScaleExtent,u=s.niceScaleExtent,c=i("90df"),h=i("5cfa6");function d(t,e,i){this._model=t,this.dimensions=[],this._indicatorAxes=n.map(t.getIndicatorModels(),(function(t,e){var i="indicator_"+e,n=new a(i,"log"===t.get("axisType")?new h:new r);return n.name=t.get("name"),n.model=t,t.axis=n,this.dimensions.push(i),n}),this),this.resize(t,i),this.cx,this.cy,this.r,this.r0,this.startAngle}d.prototype.getIndicatorAxes=function(){return this._indicatorAxes},d.prototype.dataToPoint=function(t,e){var i=this._indicatorAxes[e];return this.coordToPoint(i.dataToCoord(t),e)},d.prototype.coordToPoint=function(t,e){var i=this._indicatorAxes[e],n=i.angle,a=this.cx+t*Math.cos(n),r=this.cy-t*Math.sin(n);return[a,r]},d.prototype.pointToData=function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=Math.sqrt(e*e+i*i);e/=n,i/=n;for(var a,r=Math.atan2(-i,e),o=1/0,s=-1,l=0;li[0]&&isFinite(g)&&isFinite(i[0]))}else{var f=a.getTicks().length-1;f>r&&(d=s(d));var p=Math.ceil(i[1]/d)*d,g=o.round(p-d*r);a.setExtent(g,p),a.setInterval(d)}}))},d.dimensions=[],d.create=function(t,e){var i=[];return t.eachComponent("radar",(function(n){var a=new d(n,t,e);i.push(a),n.coordinateSystem=a})),t.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])})),i},c.register("radar",d);var f=d;t.exports=f},1352:function(t,e,i){var n=i("a04a"),a=i("59af"),r=i("e2ea"),o=i("89ed"),s=i("1be6"),l=a.applyTransform;function u(){s.call(this)}function c(t){this.name=t,this.zoomLimit,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}function h(t,e,i,n){var a=i.seriesModel,r=a?a.coordinateSystem:null;return r===this?r[t](n):null}n.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,i,n){return this._rect=new o(t,e,i,n),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,i,n){this.transformTo(t,e,i,n),this._viewRect=new o(t,e,i,n)},transformTo:function(t,e,i,n){var a=this.getBoundingRect(),r=this._rawTransformable;r.transform=a.calculateTransform(new o(t,e,i,n)),r.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect(),e=t.x+t.width/2,i=t.y+t.height/2;return[e,i]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,i=this.getDefaultCenter(),n=this.getCenter(),r=this.getZoom();n=a.applyTransform([],n,t),i=a.applyTransform([],i,t),e.origin=n,e.position=[i[0]-n[0],i[1]-n[1]],e.scale=[r,r],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),r.copy(this.transform||(this.transform=[]),e.transform||r.create()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],r.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var t=this._roamTransformable.transform,e=this._rawTransformable;return{roamTransform:t?n.slice(t):r.create(),rawScale:n.slice(e.scale),rawPosition:n.slice(e.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,e,i){var n=e?this._rawTransform:this.transform;return i=i||[],n?l(i,t,n):a.copy(i,t)},pointToData:function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]},convertToPixel:n.curry(h,"dataToPoint"),convertFromPixel:n.curry(h,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},n.mixin(c,s);var d=c;t.exports=d},"155b":function(t,e,i){var n=i("a04a"),a=i("263c"),r=a.parsePercent,o=i("eff3"),s=o.isDimensionStacked;function l(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function u(t,e){return e.dim+t.model.componentIndex}function c(t,e,i){var a={},r=h(n.filter(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})));e.eachSeriesByType(t,(function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),o=u(i,n),c=l(t),h=r[o][c],d=h.offset,f=h.width,p=i.getOtherAxis(n),g=t.coordinateSystem.cx,m=t.coordinateSystem.cy,v=t.get("barMinHeight")||0,y=t.get("barMinAngle")||0;a[c]=a[c]||[];for(var x=e.mapDimension(p.dim),_=e.mapDimension(n.dim),b=s(e,x),w="radius"!==n.dim||!t.get("roundCap",!0),S="radius"===p.dim?p.dataToRadius(0):p.dataToAngle(0),M=0,I=e.count();M=0?"p":"n",O=S;if(b&&(a[c][P]||(a[c][P]={p:S,n:S}),O=a[c][P][k]),"radius"===p.dim){var R=p.dataToRadius(L)-S,E=n.dataToAngle(P);Math.abs(R)f&&(d=0,h={}),d++,h[i]=a,a}function x(t,e,i,n,a,r,o,s){return o?b(t,e,i,n,a,r,o,s):_(t,e,i,n,a,r,s)}function _(t,e,i,a,r,o,s){var l=k(t,e,r,o,s),u=y(t,e);r&&(u+=r[1]+r[3]);var c=l.outerHeight,h=w(0,u,i),d=S(0,c,a),f=new n(h,d,u,c);return f.lineHeight=l.lineHeight,f}function b(t,e,i,a,r,o,s,l){var u=O(t,{rich:s,truncate:l,font:e,textAlign:i,textPadding:r,textLineHeight:o}),c=u.outerWidth,h=u.outerHeight,d=w(0,c,i),f=S(0,h,a);return new n(d,f,c,h)}function w(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function S(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function M(t,e,i){var n=e.textPosition,a=e.textDistance,r=i.x,o=i.y;a=a||0;var s=i.height,l=i.width,u=s/2,c="left",h="top";switch(n){case"left":r-=a,o+=u,c="right",h="middle";break;case"right":r+=a+l,o+=u,h="middle";break;case"top":r+=l/2,o-=a,c="center",h="bottom";break;case"bottom":r+=l/2,o+=s+a,c="center";break;case"inside":r+=l/2,o+=u,c="center",h="middle";break;case"insideLeft":r+=a,o+=u,h="middle";break;case"insideRight":r+=l-a,o+=u,c="right",h="middle";break;case"insideTop":r+=l/2,o+=a,c="center";break;case"insideBottom":r+=l/2,o+=s-a,c="center",h="bottom";break;case"insideTopLeft":r+=a,o+=a;break;case"insideTopRight":r+=l-a,o+=a,c="right";break;case"insideBottomLeft":r+=a,o+=s-a,h="bottom";break;case"insideBottomRight":r+=l-a,o+=s-a,c="right",h="bottom";break}return t=t||{},t.x=r,t.y=o,t.textAlign=c,t.textVerticalAlign=h,t}function I(t,e,i){var n={textPosition:t,textDistance:i};return M({},n,e)}function A(t,e,i,n,a){if(!e)return"";var r=(t+"").split("\n");a=T(e,i,n,a);for(var o=0,s=r.length;o=r;u++)o-=r;var c=y(i,e);return c>o&&(i="",c=0),o=t-c,n.ellipsis=i,n.ellipsisWidth=c,n.contentWidth=o,n.containerWidth=t,n}function C(t,e){var i=e.containerWidth,n=e.font,a=e.contentWidth;if(!i)return"";var r=y(t,n);if(r<=i)return t;for(var o=0;;o++){if(r<=a||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?D(t,a,e.ascCharWidth,e.cnCharWidth):r>0?Math.floor(t.length*a/r):0;t=t.substr(0,s),r=y(t,n)}return""===t&&(t=e.placeholder),t}function D(t,e,i,n){for(var a=0,r=0,o=t.length;rh)t="",o=[];else if(null!=d)for(var f=T(d-(i?i[1]+i[3]:0),e,a.ellipsis,{minChar:a.minChar,placeholder:a.placeholder}),p=0,g=o.length;pr&&R(i,t.substring(r,o)),R(i,n[2],n[1]),r=p.lastIndex}rv)return{lines:[],width:0,height:0};M.textWidth=y(M.text,C);var P=I.textWidth,k=null==P||"auto"===P;if("string"===typeof P&&"%"===P.charAt(P.length-1))M.percentWidth=P,d.push(M),P=0;else{if(k){P=M.textWidth;var O=I.textBackgroundColor,E=O&&O.image;E&&(E=a.findExistImage(E),a.isImageReady(E)&&(P=Math.max(P,E.width*D/E.height)))}var N=T?T[1]+T[3]:0;P+=N;var z=null!=m?m-w:null;null!=z&&za[i+e]&&(e=o),r&=n.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}e.register=s,e.unregister=l,e.generateCoordId=u},"1af6":function(t,e,i){var n=i("17b8"),a=n.circularLayout;function r(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&a(t,"symbolSize")}))}t.exports=r},"1b11":function(t,e,i){var n=i("1bc7"),a=n([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),r={getBarItemStyle:function(t){var e=a(this,t);if(this.getBorderLineDash){var i=this.getBorderLineDash();i&&(e.lineDash=i)}return e}};t.exports=r},"1b3d":function(t,e,i){var n=i("0508"),a=n.parseSVG,r=n.makeViewBoxTransform,o=i("4e68"),s=i("ec96"),l=i("a04a"),u=l.assert,c=l.createHashMap,h=i("89ed"),d=i("415e"),f=d.makeInner,p=f(),g={load:function(t,e){var i=p(e).originRoot;if(i)return{root:i,boundingRect:p(e).boundingRect};var n=m(e);return p(e).originRoot=n.root,p(e).boundingRect=n.boundingRect,n},makeGraphic:function(t,e,i){var n=p(e),a=n.rootMap||(n.rootMap=c()),r=a.get(i);if(r)return r;var o=n.originRoot,s=n.boundingRect;return n.originRootHostKey?r=m(e,s).root:(n.originRootHostKey=i,r=o),a.set(i,r)},removeGraphic:function(t,e,i){var n=p(e),a=n.rootMap;a&&a.removeKey(i),i===n.originRootHostKey&&(n.originRootHostKey=null)}};function m(t,e){var i,n,l=t.svgXML;try{i=l&&a(l,{ignoreViewBox:!0,ignoreRootClip:!0})||{},n=i.root,u(null!=n)}catch(m){throw new Error("Invalid svg format\n"+m.message)}var c=i.width,d=i.height,f=i.viewBoxRect;if(e||(e=null==c||null==d?n.getBoundingRect():new h(0,0,0,0),null!=c&&(e.width=c),null!=d&&(e.height=d)),f){var p=r(f,e.width,e.height),g=n;n=new o,n.add(g),g.scale=p.scale,g.position=p.position}return n.setClipPath(new s({shape:e.plain()})),{root:n,boundingRect:e}}t.exports=g},"1bc7":function(t,e,i){var n=i("a04a");function a(t){for(var e=0;e=0||a&&n.indexOf(a,s)<0)){var l=e.getShallow(s);null!=l&&(r[t[o][0]]=l)}}return r}}t.exports=a},"1be6":function(t,e,i){var n=i("e2ea"),a=i("59af"),r=n.identity,o=5e-5;function s(t){return t>o||t<-o}var l=function(t){t=t||{},t.position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var c=[];u.updateTransform=function(){var t=this.parent,e=t&&t.transform,i=this.needLocalTransform(),a=this.transform;if(i||e){a=a||n.create(),i?this.getLocalTransform(a):r(a),e&&(i?n.mul(a,t.transform,a):n.copy(a,t.transform)),this.transform=a;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(c);var s=c[0]<0?-1:1,l=c[1]<0?-1:1,u=((c[0]-s)*o+s)/c[0]||0,h=((c[1]-l)*o+l)/c[1]||0;a[0]*=u,a[1]*=u,a[2]*=h,a[3]*=h}this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,a)}else a&&r(a)},u.getLocalTransform=function(t){return l.getLocalTransform(this,t)},u.setTransform=function(t){var e=this.transform,i=t.dpr||1;e?t.setTransform(i*e[0],i*e[1],i*e[2],i*e[3],i*e[4],i*e[5]):t.setTransform(i,0,0,i,0,0)},u.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var h=[],d=n.create();u.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],n=this.position,a=this.scale;s(e-1)&&(e=Math.sqrt(e)),s(i-1)&&(i=Math.sqrt(i)),t[0]<0&&(e=-e),t[3]<0&&(i=-i),n[0]=t[4],n[1]=t[5],a[0]=e,a[1]=i,this.rotation=Math.atan2(-t[1]/i,t[0]/e)}},u.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(n.mul(h,t.invTransform,e),e=h);var i=this.origin;i&&(i[0]||i[1])&&(d[4]=i[0],d[5]=i[1],n.mul(h,e,d),h[4]-=i[0],h[5]-=i[1],e=h),this.setLocalTransform(e)}},u.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},u.transformCoordToLocal=function(t,e){var i=[t,e],n=this.invTransform;return n&&a.applyTransform(i,i,n),i},u.transformCoordToGlobal=function(t,e){var i=[t,e],n=this.transform;return n&&a.applyTransform(i,i,n),i},l.getLocalTransform=function(t,e){e=e||[],r(e);var i=t.origin,a=t.scale||[1,1],o=t.rotation||0,s=t.position||[0,0];return i&&(e[4]-=i[0],e[5]-=i[1]),n.scale(e,e,a),o&&n.rotate(e,e,o),i&&(e[4]+=i[0],e[5]+=i[1]),e[4]+=s[0],e[5]+=s[1],e};var f=l;t.exports=f},"1ca2":function(t,e,i){var n=i("a04a"),a=n.each,r=i("0a7e"),o=r.simpleLayout,s=r.simpleLayoutEdge;function l(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("layout"),i=t.coordinateSystem;if(i&&"view"!==i.type){var n=t.getData(),r=[];a(i.dimensions,(function(t){r=r.concat(n.mapDimension(t,!0))}));for(var l=0;l=0&&(this.delFromStorage(t),this._roots.splice(o,1),t instanceof r&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var u=l;t.exports=u},"1f53":function(t,e,i){var n=i("a04a"),a=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function r(t){n.each(a,(function(e){this[e]=n.bind(t[e],t)}),this)}var o=r;t.exports=o},2022:function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("a04a")),r=a.createHashMap,o=a.isString,s=a.isArray,l=a.each,u=(a.assert,i("0508")),c=u.parseXML,h=r(),d={registerMap:function(t,e,i){var n;return s(e)?n=e:e.svg?n=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(i=e.specialAreas,e=e.geoJson),n=[{type:"geoJSON",source:e,specialAreas:i}]),l(n,(function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON");var i=f[e];i(t)})),h.set(t,n)},retrieveMap:function(t){return h.get(t)}},f={geoJSON:function(t){var e=t.source;t.geoJSON=o(e)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=c(t.source)}};t.exports=d},2034:function(t,e,i){var n=i("43a0"),a=i("a04a"),r=i("155b");i("b456"),i("c02b"),i("0d6f"),i("3b47"),i("808f"),n.registerLayout(a.curry(r,"bar")),n.extendComponentView({type:"polar"})},"20ed":function(t,e,i){var n=i("882a"),a=i("5d34"),r=i("a04a"),o=r.isArray,s="itemStyle",l={seriesType:"treemap",reset:function(t,e,i,n){var a=t.getData().tree,r=a.root;r.isRemoved()||u(r,{},t.getViewRoot().getAncestors(),t)}};function u(t,e,i,n){var a=t.getModel(),o=t.getLayout();if(o&&!o.invisible&&o.isInView){var l,f=t.getModel(s),g=c(f,e,n),v=f.get("borderColor"),y=f.get("borderColorSaturation");null!=y&&(l=h(g,t),v=d(y,l)),t.setVisual("borderColor",v);var x=t.viewChildren;if(x&&x.length){var _=p(t,a,o,f,g,x);r.each(x,(function(t,e){if(t.depth>=i.length||t===i[t.depth]){var r=m(a,g,t,e,_,n);u(t,r,i,n)}}))}else l=h(g,t),t.setVisual("color",l)}}function c(t,e,i){var n=r.extend({},e),a=i.designatedVisualItemStyle;return r.each(["color","colorAlpha","colorSaturation"],(function(i){a[i]=e[i];var r=t.get(i);a[i]=null,null!=r&&(n[i]=r)})),n}function h(t){var e=f(t,"color");if(e){var i=f(t,"colorAlpha"),n=f(t,"colorSaturation");return n&&(e=a.modifyHSL(e,null,null,n)),i&&(e=a.modifyAlpha(e,i)),e}}function d(t,e){return null!=e?a.modifyHSL(e,null,null,t):null}function f(t,e){var i=t[e];if(null!=i&&"none"!==i)return i}function p(t,e,i,a,r,o){if(o&&o.length){var s=g(e,"color")||null!=r.color&&"none"!==r.color&&(g(e,"colorAlpha")||g(e,"colorSaturation"));if(s){var l=e.get("visualMin"),u=e.get("visualMax"),c=i.dataExtent.slice();null!=l&&lc[1]&&(c[1]=u);var h=e.get("colorMappingBy"),d={type:s.name,dataExtent:c,visual:s.range};"color"!==d.type||"index"!==h&&"id"!==h?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var f=new n(d);return f.__drColorMappingBy=h,f}}}function g(t,e){var i=t.get(e);return o(i)&&i.length?{name:e,range:i}:null}function m(t,e,i,n,a,o){var s=r.extend({},e);if(a){var l=a.type,u="color"===l&&a.__drColorMappingBy,c="index"===u?n:"id"===u?o.mapIdToIndex(i.getId()):i.getValue(t.get("visualDimension"));s[l]=a.mapValueToVisual(c)}return s}t.exports=l},"20f7":function(t,e,i){(function(t){var i;"undefined"!==typeof window?i=window.__DEV__:"undefined"!==typeof t&&(i=t.__DEV__),"undefined"===typeof i&&(i=!0);var n=i;e.__DEV__=n}).call(this,i("2409"))},"210a":function(t,e,i){var n=i("a04a"),a=i("d499"),r=i("cd88"),o=i("38a3"),s=i("033d"),l=i("7004"),u=i("415e"),c=u.makeInner,h=c(),d=n.clone,f=n.bind;function p(){}function g(t,e,i,n){m(h(i).lastProp,n)||(h(i).lastProp=n,e?r.updateProps(i,n,t):(i.stopAnimation(),i.attr(n)))}function m(t,e){if(n.isObject(t)&&n.isObject(e)){var i=!0;return n.each(e,(function(e,n){i=i&&m(t[n],e)})),!!i}return t===e}function v(t,e){t[e.get("label.show")?"show":"hide"]()}function y(t){return{position:t.position.slice(),rotation:t.rotation||0}}function x(t,e,i){var n=e.get("z"),a=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=a&&(t.zlevel=a),t.silent=i)}))}p.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,i,a){var o=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=i,a||this._lastValue!==o||this._lastStatus!==s){this._lastValue=o,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var c={};this.makeElOption(c,o,t,e,i);var h=c.graphicKey;h!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=h;var d=this._moveAnimation=this.determineAnimation(t,e);if(l){var f=n.curry(g,e,d);this.updatePointerEl(l,c,f,e),this.updateLabelEl(l,c,f,e)}else l=this._group=new r.Group,this.createPointerEl(l,c,t,e),this.createLabelEl(l,c,t,e),i.getZr().add(l);x(l,e,!0),this._renderHandle(o)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var i=e.get("animation"),n=t.axis,a="category"===n.type,r=e.get("snap");if(!r&&!a)return!1;if("auto"===i||null==i){var s=this.animationThreshold;if(a&&n.getBandWidth()>s)return!0;if(r){var l=o.getAxisInfo(t).seriesDataCount,u=n.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===i},makeElOption:function(t,e,i,n,a){},createPointerEl:function(t,e,i,n){var a=e.pointer;if(a){var o=h(t).pointerEl=new r[a.type](d(e.pointer));t.add(o)}},createLabelEl:function(t,e,i,n){if(e.label){var a=h(t).labelEl=new r.Rect(d(e.label));t.add(a),v(a,n)}},updatePointerEl:function(t,e,i){var n=h(t).pointerEl;n&&e.pointer&&(n.setStyle(e.pointer.style),i(n,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,i,n){var a=h(t).labelEl;a&&(a.setStyle(e.label.style),i(a,{shape:e.label.shape,position:e.label.position}),v(a,n))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,i=this._axisPointerModel,a=this._api.getZr(),o=this._handle,u=i.getModel("handle"),c=i.get("status");if(!u.get("show")||!c||"hide"===c)return o&&a.remove(o),void(this._handle=null);this._handle||(e=!0,o=this._handle=r.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:f(this._onHandleDragMove,this,0,0),drift:f(this._onHandleDragMove,this),ondragend:f(this._onHandleDragEnd,this)}),a.add(o)),x(o,i,!1);var h=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];o.setStyle(u.getItemStyle(null,h));var d=u.get("size");n.isArray(d)||(d=[d,d]),o.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){g(this._axisPointerModel,!e&&this._moveAnimation,this._handle,y(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(y(i),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(y(n)),h(i).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var t=this._handle;if(t){var e=this._payloadInfo,i=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:i.axis.dim,axisIndex:i.componentIndex}]})}},_onHandleDragEnd:function(t){this._dragging=!1;var e=this._handle;if(e){var i=this._axisPointerModel.get("value");this._moveHandleToValue(i),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),i=this._group,n=this._handle;e&&i&&(this._lastGraphicKey=null,i&&e.remove(i),n&&e.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}}},p.prototype.constructor=p,a.enableClassExtend(p);var _=p;t.exports=_},"213e":function(t,e){var i="http://www.w3.org/2000/svg";function n(t){return document.createElementNS(i,t)}e.createElement=n},"214d":function(t,e,i){var n=i("a04a"),a=i("17ad"),r=i("cd88"),o=i("df8d"),s=["itemStyle"],l=["emphasis","itemStyle"],u=a.extend({type:"boxplot",render:function(t,e,i){var n=t.getData(),a=this.group,r=this._data;this._data||a.removeAll();var o="horizontal"===t.get("layout")?1:0;n.diff(r).add((function(t){if(n.hasValue(t)){var e=n.getItemLayout(t),i=h(e,n,t,o,!0);n.setItemGraphicEl(t,i),a.add(i)}})).update((function(t,e){var i=r.getItemGraphicEl(e);if(n.hasValue(t)){var s=n.getItemLayout(t);i?d(s,i,n,t):i=h(s,n,t,o),a.add(i),n.setItemGraphicEl(t,i)}else a.remove(i)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&a.remove(e)})).execute(),this._data=n},remove:function(t){var e=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl((function(t){t&&e.remove(t)}))},dispose:n.noop}),c=o.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,e){var i=e.points,n=0;for(t.moveTo(i[n][0],i[n][1]),n++;n<4;n++)t.lineTo(i[n][0],i[n][1]);for(t.closePath();n0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(o[1]-o[0])+o[0],c=Math.max(1/n.scale,0);o[0]=(o[0]-u)*c+u,o[1]=(o[1]-u)*c+u;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return r(0,o,[0,100],0,d.minSpan,d.maxSpan),this._range=o,a[0]!==o[0]||a[1]!==o[1]?o:void 0}},pan:c((function(t,e,i,n,a,r){var o=h[n]([r.oldX,r.oldY],[r.newX,r.newY],e,a,i);return o.signal*(t[1]-t[0])*o.pixel/o.pixelLength})),scrollMove:c((function(t,e,i,n,a,r){var o=h[n]([0,0],[r.scrollDelta,r.scrollDelta],e,a,i);return o.signal*(t[1]-t[0])*r.scrollDelta}))};function c(t){return function(e,i,n,a){var o=this._range,s=o.slice(),l=e.axisModels[0];if(l){var u=t(s,l,e,i,n,a);return r(u,s,[0,100],"all"),this._range=s,o[0]!==s[0]||o[1]!==s[1]?s:void 0}}}var h={grid:function(t,e,i,n,a){var r=i.axis,o={},s=a.model.coordinateSystem.getRect();return t=t||[0,0],"x"===r.dim?(o.pixel=e[0]-t[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=r.inverse?-1:1),o},polar:function(t,e,i,n,a){var r=i.axis,o={},s=a.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===i.mainType?(o.pixel=e[0]-t[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=r.inverse?-1:1),o},singleAxis:function(t,e,i,n,a){var r=i.axis,o=a.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===r.orient?(s.pixel=e[0]-t[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=r.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=r.inverse?-1:1),s}},d=l;t.exports=d},2342:function(t,e,i){i("440d"),i("4fdc")},2353:function(t,e,i){var n=i("a04a"),a=i("3826"),r=function(t,e,i,n,r,o){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==i?1:i,this.y2=null==n?0:n,this.type="linear",this.global=o||!1,a.call(this,r)};r.prototype={constructor:r},n.inherits(r,a);var o=r;t.exports=o},"235d":function(t,e,i){var n=i("43a0"),a=i("62c3"),r=i("a04a"),o=i("415e"),s=o.defaultEmphasis,l=i("3f44"),u=i("0908"),c=u.encodeHTML,h=i("6668"),d=i("a750"),f=i("7e59"),p=f.initCurvenessList,g=f.createEdgeMapForCurveness,m=n.extendSeriesModel({type:"series.graph",init:function(t){m.superApply(this,"init",arguments);var e=this;function i(){return e._categoriesData}this.legendVisualProvider=new d(i,i),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){m.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){m.superApply(this,"mergeDefaultAndTheme",arguments),s(t,["edgeLabel"],["show"])},getInitialData:function(t,e){var i=t.edges||t.links||[],n=t.data||t.nodes||[],a=this;if(n&&i){p(this);var o=h(n,i,this,!0,s);return r.each(o.edges,(function(t){g(t.node1,t.node2,this,t.dataIndex)}),this),o.data}function s(t,i){t.wrapMethod("getItemModel",(function(t){var e=a._categoriesModels,i=t.getShallow("category"),n=e[i];return n&&(n.parentModel=t.parentModel,t.parentModel=n),t}));var n=a.getModel("edgeLabel"),r=new l({label:n.option},n.parentModel,e),o=a.getModel("emphasis.edgeLabel"),s=new l({emphasis:{label:o.option}},o.parentModel,e);function u(t){return t=this.parsePath(t),t&&"label"===t[0]?r:t&&"emphasis"===t[0]&&"label"===t[1]?s:this.parentModel}i.wrapMethod("getItemModel",(function(t){return t.customizeGetParent(u),t}))}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,e,i){if("edge"===i){var n=this.getData(),a=this.getDataParams(t,i),r=n.graph.getEdgeByIndex(t),o=n.getName(r.node1.dataIndex),s=n.getName(r.node2.dataIndex),l=[];return null!=o&&l.push(o),null!=s&&l.push(s),l=c(l.join(" > ")),a.value&&(l+=" : "+c(a.value)),l}return m.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=r.map(this.option.categories||[],(function(t){return null!=t.value?t:r.extend({value:0},t)})),e=new a(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t,!0)}))},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return m.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}}}}),v=m;t.exports=v},"23ac":function(t,e,i){var n=i("1352"),a=i("4920"),r=a.getLayoutRect,o=i("b291");function s(t,e,i){var n=t.getBoxLayoutParams();return n.aspect=i,r(n,{width:e.getWidth(),height:e.getHeight()})}function l(t,e){var i=[];return t.eachSeriesByType("graph",(function(t){var a=t.get("coordinateSystem");if(!a||"view"===a){var r=t.getData(),l=r.mapArray((function(t){var e=r.getItemModel(t);return[+e.get("x"),+e.get("y")]})),u=[],c=[];o.fromPoints(l,u,c),c[0]-u[0]===0&&(c[0]+=1,u[0]-=1),c[1]-u[1]===0&&(c[1]+=1,u[1]-=1);var h=(c[0]-u[0])/(c[1]-u[1]),d=s(t,e,h);isNaN(h)&&(u=[d.x,d.y],c=[d.x+d.width,d.y+d.height]);var f=c[0]-u[0],p=c[1]-u[1],g=d.width,m=d.height,v=t.coordinateSystem=new n;v.zoomLimit=t.get("scaleLimit"),v.setBoundingRect(u[0],u[1],f,p),v.setViewRect(d.x,d.y,g,m),v.setCenter(t.get("center")),v.setZoom(t.get("zoom")),i.push(v)}})),i}t.exports=l},"24ec":function(t,e,i){var n=i("a04a"),a=i("cd88"),r=i("4920"),o=i("311d"),s=a.Group,l=["width","height"],u=["x","y"],c=o.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s),this._showController},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,e,i,r,o,s,l){var u=this;c.superCall(this,"renderInner",t,e,i,r,o,s,l);var h=this._controllerGroup,d=e.get("pageIconSize",!0);n.isArray(d)||(d=[d,d]),p("pagePrev",0);var f=e.getModel("pageTextStyle");function p(t,i){var o=t+"DataIndex",s=a.createIcon(e.get("pageIcons",!0)[e.getOrient().name][i],{onclick:n.bind(u._pageGo,u,o,e,r)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});s.name=t,h.add(s)}h.add(new a.Text({name:"pageText",style:{textFill:f.getTextColor(),font:f.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),p("pageNext",1)},layoutInner:function(t,e,i,a,o,s){var c=this.getSelectorGroup(),h=t.getOrient().index,d=l[h],f=u[h],p=l[1-h],g=u[1-h];o&&r.box("horizontal",c,t.get("selectorItemGap",!0));var m=t.get("selectorButtonGap",!0),v=c.getBoundingRect(),y=[-v.x,-v.y],x=n.clone(i);o&&(x[d]=i[d]-v[d]-m);var _=this._layoutContentAndController(t,a,x,h,d,p,g);if(o){if("end"===s)y[h]+=_[d]+m;else{var b=v[d]+m;y[h]-=b,_[f]-=b}_[d]+=v[d]+m,y[1-h]+=_[g]+_[p]/2-v[p]/2,_[p]=Math.max(_[p],v[p]),_[g]=Math.min(_[g],v[g]+y[1-h]),c.attr("position",y)}return _},_layoutContentAndController:function(t,e,i,o,s,l,u){var c=this.getContentGroup(),h=this._containerGroup,d=this._controllerGroup;r.box(t.get("orient"),c,t.get("itemGap"),o?i.width:null,o?null:i.height),r.box("horizontal",d,t.get("pageButtonItemGap",!0));var f=c.getBoundingRect(),p=d.getBoundingRect(),g=this._showController=f[s]>i[s],m=[-f.x,-f.y];e||(m[o]=c.position[o]);var v=[0,0],y=[-p.x,-p.y],x=n.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(g){var _=t.get("pageButtonPosition",!0);"end"===_?y[o]+=i[s]-p[s]:v[o]+=p[s]+x}y[1-o]+=f[l]/2-p[l]/2,c.attr("position",m),h.attr("position",v),d.attr("position",y);var b={x:0,y:0};if(b[s]=g?i[s]:f[s],b[l]=Math.max(f[l],p[l]),b[u]=Math.min(0,p[u]+y[1-o]),h.__rectSize=i[s],g){var w={x:0,y:0};w[s]=Math.max(i[s]-p[s]-x,0),w[l]=b[l],h.setClipPath(new a.Rect({shape:w})),h.__rectSize=w[s]}else d.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var S=this._getPageInfo(t);return null!=S.pageIndex&&a.updateProps(c,{position:S.contentPosition},!!g&&t),this._updatePageInfoView(t,S),b},_pageGo:function(t,e,i){var n=this._getPageInfo(e)[t];null!=n&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:e.id})},_updatePageInfoView:function(t,e){var i=this._controllerGroup;n.each(["pagePrev","pageNext"],(function(n){var a=null!=e[n+"DataIndex"],r=i.childOfName(n);r&&(r.setStyle("fill",a?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),r.cursor=a?"pointer":"default")}));var a=i.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,s=null!=o?o+1:0,l=e.pageCount;a&&r&&a.setStyle("text",n.isString(r)?r.replace("{current}",s).replace("{total}",l):r({current:s,total:l}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),i=this.getContentGroup(),n=this._containerGroup.__rectSize,a=t.getOrient().index,r=l[a],o=u[a],s=this._findTargetItemIndex(e),c=i.children(),h=c[s],d=c.length,f=d?1:0,p={contentPosition:i.position.slice(),pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return p;var g=_(h);p.contentPosition[a]=-g.s;for(var m=s+1,v=g,y=g,x=null;m<=d;++m)x=_(c[m]),(!x&&y.e>v.s+n||x&&!b(x,v.s))&&(v=y.i>v.i?y:x,v&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=v.i),++p.pageCount)),y=x;for(m=s-1,v=g,y=g,x=null;m>=-1;--m)x=_(c[m]),x&&b(y,x.s)||!(v.i=e&&t.s<=e+n}},_findTargetItemIndex:function(t){if(!this._showController)return 0;var e,i,n=this.getContentGroup();return n.eachChild((function(n,a){var r=n.__legendDataIndex;null==i&&null!=r&&(i=a),r===t&&(e=a)})),null!=e?e:i}}),h=c;t.exports=h},2529:function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("43a0")),r=i("a04a"),o=i("8328"),s=i("415e"),l=i("fe3e"),u=i("7d27"),c=r.each,h=l.eachAxisDim,d=a.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(t,e,i){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var n=f(t);this.settledOption=n,this.mergeDefaultAndTheme(t,i),this.doInit(n)},mergeOption:function(t){var e=f(t);r.merge(this.option,t,!0),r.merge(this.settledOption,e,!0),this.doInit(e)},doInit:function(t){var e=this.option;o.canvasSupported||(e.realtime=!1),this._setDefaultThrottle(t),p(this,t);var i=this.settledOption;c([["start","startValue"],["end","endValue"]],(function(t,n){"value"===this._rangePropMode[n]&&(e[t[0]]=i[t[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis((function(e,i,n,a){var r=this.dependentModels[e.axis][i],o=r.__dzAxisProxy||(r.__dzAxisProxy=new u(e.name,i,this,a));t[e.name+"_"+i]=o}),this)},_resetTarget:function(){var t=this.option,e=this._judgeAutoMode();h((function(e){var i=e.axisIndex;t[i]=s.normalizeToArray(t[i])}),this),"axisIndex"===e?this._autoSetAxisIndex():"orient"===e&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,e=!1;h((function(i){null!=t[i.axisIndex]&&(e=!0)}),this);var i=t.orient;return null==i&&e?"orient":e?void 0:(null==i&&(t.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var t=!0,e=this.get("orient",!0),i=this.option,n=this.dependentModels;if(t){var a="vertical"===e?"y":"x";n[a+"Axis"].length?(i[a+"AxisIndex"]=[0],t=!1):c(n.singleAxis,(function(n){t&&n.get("orient",!0)===e&&(i.singleAxisIndex=[n.componentIndex],t=!1)}))}t&&h((function(e){if(t){var n=[],a=this.dependentModels[e.axis];if(a.length&&!n.length)for(var r=0,o=a.length;r0?100:20}},getFirstTargetAxisModel:function(){var t;return h((function(e){if(null==t){var i=this.get(e.axisIndex);i.length&&(t=this.dependentModels[e.axis][i[0]])}}),this),t},eachTargetAxis:function(t,e){var i=this.ecModel;h((function(n){c(this.get(n.axisIndex),(function(a){t.call(e,n,a,this,i)}),this)}),this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var i=this.getAxisProxy(t,e);return i&&i.getAxisModel()},setRawRange:function(t){var e=this.option,i=this.settledOption;c([["start","startValue"],["end","endValue"]],(function(n){null==t[n[0]]&&null==t[n[1]]||(e[n[0]]=i[n[0]]=t[n[0]],e[n[1]]=i[n[1]]=t[n[1]])}),this),p(this,t)},setCalculatedRange:function(t){var e=this.option;c(["start","startValue","end","endValue"],(function(i){e[i]=t[i]}))},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var i in e)if(e.hasOwnProperty(i)&&e[i].hostedBy(this))return e[i];for(var i in e)if(e.hasOwnProperty(i)&&!e[i].hostedBy(this))return e[i]},getRangePropMode:function(){return this._rangePropMode.slice()}});function f(t){var e={};return c(["start","end","startValue","endValue","throttle"],(function(i){t.hasOwnProperty(i)&&(e[i]=t[i])})),e}function p(t,e){var i=t._rangePropMode,n=t.get("rangeMode");c([["start","startValue"],["end","endValue"]],(function(t,a){var r=null!=e[t[0]],o=null!=e[t[1]];r&&!o?i[a]="percent":!r&&o?i[a]="value":n?i[a]=n[a]:r&&(i[a]="percent")}))}var g=d;t.exports=g},"256c":function(t,e,i){var n=i("43a0"),a=i("c8cc"),r=a.updateCenterAndZoom;n.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var i=t.dataIndex,n=e.getData().tree,a=n.getNodeByDataIndex(i);a.isExpand=!a.isExpand}))})),n.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var i=e.coordinateSystem,n=r(i,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)}))}))},2612:function(t,e,i){var n=i("43a0"),a=i("a04a"),r=a.createHashMap,o=a.each;n.registerProcessor({getTargetSeries:function(t){var e=r();return t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(t,i,n){var a=n.getAxisProxy(t.name,i);o(a.getTargetSeriesModels(),(function(t){e.set(t.uid,t)}))}))})),e},modifyOutputEnd:!0,overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(t,i,n){n.getAxisProxy(t.name,i).reset(n,e)})),t.eachTargetAxis((function(t,i,n){n.getAxisProxy(t.name,i).filterData(n,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy(),i=e.getDataPercentWindow(),n=e.getDataValueWindow();t.setCalculatedRange({start:i[0],end:i[1],startValue:n[0],endValue:n[1]})}))}})},"263c":function(t,e,i){var n=i("a04a"),a=1e-4;function r(t){return t.replace(/^\s+|\s+$/g,"")}function o(t,e,i,n){var a=e[1]-e[0],r=i[1]-i[0];if(0===a)return 0===r?i[0]:(i[0]+i[1])/2;if(n)if(a>0){if(t<=e[0])return i[0];if(t>=e[1])return i[1]}else{if(t>=e[0])return i[0];if(t<=e[1])return i[1]}else{if(t===e[0])return i[0];if(t===e[1])return i[1]}return(t-e[0])/a*r+i[0]}function s(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return"string"===typeof t?r(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function l(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),i?t:+t}function u(t){return t.sort((function(t,e){return t-e})),t}function c(t){if(t=+t,isNaN(t))return 0;var e=1,i=0;while(Math.round(t*e)/e!==t)e*=10,i++;return i}function h(t){var e=t.toString(),i=e.indexOf("e");if(i>0){var n=+e.slice(i+1);return n<0?-n:0}var a=e.indexOf(".");return a<0?0:e.length-1-a}function d(t,e){var i=Math.log,n=Math.LN10,a=Math.floor(i(t[1]-t[0])/n),r=Math.round(i(Math.abs(e[1]-e[0]))/n),o=Math.min(Math.max(-a+r,0),20);return isFinite(o)?o:20}function f(t,e,i){if(!t[e])return 0;var a=n.reduce(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===a)return 0;var r=Math.pow(10,i),o=n.map(t,(function(t){return(isNaN(t)?0:t)/a*r*100})),s=100*r,l=n.map(o,(function(t){return Math.floor(t)})),u=n.reduce(l,(function(t,e){return t+e}),0),c=n.map(o,(function(t,e){return t-l[e]}));while(uh&&(h=c[f],d=f);++l[d],c[d]=0,++u}return l[e]/r}var p=9007199254740991;function g(t){var e=2*Math.PI;return(t%e+e)%e}function m(t){return t>-a&&t=10&&e++,e}function b(t,e){var i,n=_(t),a=Math.pow(10,n),r=t/a;return i=e?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,t=i*a,n>=-20?+t.toFixed(n<0?-n:0):t}function w(t,e){var i=(t.length-1)*e+1,n=Math.floor(i),a=+t[n-1],r=i-n;return r?a+r*(t[n]-a):a}function S(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,i=1,n=0;n=0}e.linearMap=o,e.parsePercent=s,e.round=l,e.asc=u,e.getPrecision=c,e.getPrecisionSafe=h,e.getPixelPrecision=d,e.getPercentWithPrecision=f,e.MAX_SAFE_INTEGER=p,e.remRadian=g,e.isRadianAroundZero=m,e.parseDate=y,e.quantity=x,e.quantityExponent=_,e.nice=b,e.quantile=w,e.reformIntervals=S,e.isNumeric=M},2644:function(t,e){function i(t){return t}function n(t,e,n,a,r){this._old=t,this._new=e,this._oldKeyGetter=n||i,this._newKeyGetter=a||i,this.context=r}function a(t,e,i,n,a){for(var r=0;r=0;o--)r=n.merge(r,e[o],!0);t.defaultOption=r}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});function g(t){var e=[];return n.each(p.getClassesByMainType(t),(function(t){e=e.concat(t.prototype.dependencies||[])})),e=n.map(e,(function(t){return l(t).main})),"dataset"!==t&&n.indexOf(e,"dataset")<=0&&e.unshift("dataset"),e}s(p,{registerWhenExtend:!0}),r.enableSubTypeDefaulter(p),r.enableTopologicalTravel(p,g),n.mixin(p,d);var m=p;t.exports=m},"272f":function(t,e,i){i("9a93");var n=i("aa9d"),a=n.registerPainter,r=i("bdf4");a("vml",r)},"27ab":function(t,e,i){var n=i("1760"),a=i("263c"),r=a.parsePercent,o=Math.PI/180;function s(t,e,i,n,a,r,o,s,l,u){function c(e,i,n,a){for(var r=e;rl+o)break;if(t[r].y+=n,r>e&&r+1t[r].y+t[r].height)return void h(r,n/2)}h(i-1,n/2)}function h(e,i){for(var n=e;n>=0;n--){if(t[n].y-i0&&t[n].y>t[n-1].y+t[n-1].height)break}}function d(t,e,i,n,a,r){for(var o=e?Number.MAX_VALUE:0,s=0,l=t.length;s=o&&(d=o-10),!e&&d<=o&&(d=o+10),t[s].x=i+d*r,o=d}}t.sort((function(t,e){return t.y-e.y}));for(var f,p=0,g=t.length,m=[],v=[],y=0;y=i?v.push(t[y]):m.push(t[y]);d(m,!1,e,i,n,a),d(v,!0,e,i,n,a)}function l(t,e,i,a,r,o,l,c){for(var h=[],d=[],f=Number.MAX_VALUE,p=-Number.MAX_VALUE,g=0;g0?"right":"left":L>0?"left":"right"}var H=u.get("rotate");k="number"===typeof H?H*(Math.PI/180):H?L<0?-D+Math.PI:-D:0,p=!!k,o.label={x:I,y:A,position:m,height:R.height,len:S,len2:M,linePoints:T,textAlign:C,verticalAlign:"middle",rotation:k,inside:E,labelDistance:v,labelAlignTo:y,labelMargin:x,bleedMargin:_,textRect:R,text:O,font:b},E||f.push(o.label)}})),!p&&t.get("avoidLabelOverlap")&&l(f,c,h,e,i,a,s,u)}t.exports=c},"27ee":function(t,e,i){var n=i("cd88"),a=i("f823");function r(t){this._ctor=t||a,this.group=new n.Group}var o=r.prototype;function s(t,e,i,n){var a=e.getItemLayout(i);if(d(a)){var r=new t._ctor(e,i,n);e.setItemGraphicEl(i,r),t.group.add(r)}}function l(t,e,i,n,a,r){var o=e.getItemGraphicEl(n);d(i.getItemLayout(a))?(o?o.updateData(i,a,r):o=new t._ctor(i,a,r),i.setItemGraphicEl(a,o),t.group.add(o)):t.group.remove(o)}function u(t){return t.animators&&t.animators.length>0}function c(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),hoverLineStyle:e.getModel("emphasis.lineStyle").getLineStyle(),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label")}}function h(t){return isNaN(t[0])||isNaN(t[1])}function d(t){return!h(t[0])&&!h(t[1])}o.isPersistent=function(){return!0},o.updateData=function(t){var e=this,i=e.group,n=e._lineData;e._lineData=t,n||i.removeAll();var a=c(t);t.diff(n).add((function(i){s(e,t,i,a)})).update((function(i,r){l(e,n,t,r,i,a)})).remove((function(t){i.remove(n.getItemGraphicEl(t))})).execute()},o.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,i){e.updateLayout(t,i)}),this)},o.incrementalPrepareUpdate=function(t){this._seriesScope=c(t),this._lineData=null,this.group.removeAll()},o.incrementalUpdate=function(t,e){function i(t){t.isGroup||u(t)||(t.incremental=t.useHoverLayer=!0)}for(var n=t.start;ne&&r>n||ra?o:0}t.exports=i},"286a":function(t,e,i){var n=i("c537"),a=i("4920"),r=a.mergeLayoutParam,o=a.getLayoutParams,s=n.extend({type:"legend.scroll",setScrollDataIndex:function(t){this.option.scrollDataIndex=t},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(t,e,i,n){var a=o(t);s.superCall(this,"init",t,e,i,n),l(this,t,a)},mergeOption:function(t,e){s.superCall(this,"mergeOption",t,e),l(this,this.option,t)}});function l(t,e,i){var n=t.getOrient(),a=[1,1];a[n.index]=0,r(e,i,{type:"box",ignoreSize:a})}var u=s;t.exports=u},2997:function(t,e,i){var n=i("a04a"),a=i("ae45"),r=i("263c"),o=[20,140],s=a.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(t,e){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),(null==t[0]||isNaN(t[0]))&&(t[0]=o[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=o[1])},_resetRange:function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):n.isArray(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){a.prototype.completeVisualOption.apply(this,arguments),n.each(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)}),this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=r.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=i[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(i){var n=[],a=i.getData();a.each(this.getDataDimension(a),(function(e,i){t[0]<=e&&e<=t[1]&&n.push(i)}),this),e.push({seriesId:i.id,dataIndex:n})}),this),e},getVisualMeta:function(t){var e=l(this,"outOfRange",this.getExtent()),i=l(this,"inRange",this.option.range.slice()),n=[];function a(e,i){n.push({value:e,color:t(e,i)})}for(var r=0,o=0,s=i.length,u=e.length;o40&&(u=Math.max(1,Math.floor(s/40)));for(var c=o[0],d=t.dataToCoord(c+1)-t.dataToCoord(c),f=Math.abs(d*Math.cos(n)),p=Math.abs(d*Math.sin(n)),g=0,m=0;c<=o[1];c+=u){var v=0,y=0,x=a.getBoundingRect(i(c),e.font,"center","top");v=1.3*x.width,y=1.3*x.height,g=Math.max(g,v,7),m=Math.max(m,y,7)}var _=g/f,b=m/p;isNaN(_)&&(_=1/0),isNaN(b)&&(b=1/0);var w=Math.max(0,Math.floor(Math.min(_,b))),M=h(t.model),I=t.getExtent(),A=M.lastAutoInterval,T=M.lastTickCount;return null!=A&&null!=T&&Math.abs(A-w)<=1&&Math.abs(T-s)<=1&&A>w&&M.axisExtend0===I[0]&&M.axisExtend1===I[1]?w=A:(M.lastTickCount=s,M.lastAutoInterval=w,M.axisExtend0=I[0],M.axisExtend1=I[1]),w}function S(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function M(t,e,i){var n=l(t),a=t.scale,r=a.getExtent(),o=t.getLabelModel(),s=[],u=Math.max((e||0)+1,1),h=r[0],d=a.count();0!==h&&u>1&&d/u>2&&(h=Math.round(Math.ceil(h/u)*u));var f=c(t),p=o.get("showMinLabel")||f,g=o.get("showMaxLabel")||f;p&&h!==r[0]&&v(r[0]);for(var m=h;m<=r[1];m+=u)v(m);function v(t){s.push(i?t:{formattedLabel:n(t),rawLabel:a.getLabel(t),tickValue:t})}return g&&m-u!==r[1]&&v(r[1]),s}function I(t,e,i){var a=t.scale,r=l(t),o=[];return n.each(a.getTicks(),(function(t){var n=a.getLabel(t);e(t,n)&&o.push(i?t:{formattedLabel:r(t),rawLabel:n,tickValue:t})})),o}e.createAxisLabels=d,e.createAxisTicks=f,e.calculateCategoryInterval=w},"2cb9":function(t,e,i){var n=i("a04a"),a=i("cd88"),r=i("89ed"),o=i("1760"),s=o.calculateTextPosition,l=a.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,a=e.width/2,r=e.height/2;t.moveTo(i,n-r),t.lineTo(i+a,n+r),t.lineTo(i-a,n+r),t.closePath()}}),u=a.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,a=e.width/2,r=e.height/2;t.moveTo(i,n-r),t.lineTo(i+a,n),t.lineTo(i,n+r),t.lineTo(i-a,n),t.closePath()}}),c=a.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.x,n=e.y,a=e.width/5*3,r=Math.max(a,e.height),o=a/2,s=o*o/(r-o),l=n-r+o+s,u=Math.asin(s/o),c=Math.cos(u)*o,h=Math.sin(u),d=Math.cos(u),f=.6*o,p=.7*o;t.moveTo(i-c,l+s),t.arc(i,l,o,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(i+c-h*f,l+s+d*f,i,n-p,i,n),t.bezierCurveTo(i,n-p,i-c+h*f,l+s+d*f,i-c,l+s),t.closePath()}}),h=a.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.height,n=e.width,a=e.x,r=e.y,o=n/3*2;t.moveTo(a,r),t.lineTo(a+o,r+i),t.lineTo(a,r+i/4*3),t.lineTo(a-o,r+i),t.lineTo(a,r),t.closePath()}}),d={line:a.Line,rect:a.Rect,roundRect:a.Rect,square:a.Rect,circle:a.Circle,diamond:u,pin:c,arrow:h,triangle:l},f={line:function(t,e,i,n,a){a.x1=t,a.y1=e+n/2,a.x2=t+i,a.y2=e+n/2},rect:function(t,e,i,n,a){a.x=t,a.y=e,a.width=i,a.height=n},roundRect:function(t,e,i,n,a){a.x=t,a.y=e,a.width=i,a.height=n,a.r=Math.min(i,n)/4},square:function(t,e,i,n,a){var r=Math.min(i,n);a.x=t,a.y=e,a.width=r,a.height=r},circle:function(t,e,i,n,a){a.cx=t+i/2,a.cy=e+n/2,a.r=Math.min(i,n)/2},diamond:function(t,e,i,n,a){a.cx=t+i/2,a.cy=e+n/2,a.width=i,a.height=n},pin:function(t,e,i,n,a){a.x=t+i/2,a.y=e+n/2,a.width=i,a.height=n},arrow:function(t,e,i,n,a){a.x=t+i/2,a.y=e+n/2,a.width=i,a.height=n},triangle:function(t,e,i,n,a){a.cx=t+i/2,a.cy=e+n/2,a.width=i,a.height=n}},p={};n.each(d,(function(t,e){p[e]=new t}));var g=a.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,i){var n=s(t,e,i),a=this.shape;return a&&"pin"===a.symbolType&&"inside"===e.textPosition&&(n.y=i.y+.4*i.height),n},buildPath:function(t,e,i){var n=e.symbolType;if("none"!==n){var a=p[n];a||(n="rect",a=p[n]),f[n](e.x,e.y,e.width,e.height,a.shape),a.buildPath(t,a.shape,i)}}});function m(t,e){if("image"!==this.type){var i=this.style,n=this.shape;n&&"line"===n.symbolType?i.stroke=t:this.__isEmptyBrush?(i.stroke=t,i.fill=e||"#fff"):(i.fill&&(i.fill=t),i.stroke&&(i.stroke=t)),this.dirty(!1)}}function v(t,e,i,n,o,s,l){var u,c=0===t.indexOf("empty");return c&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),u=0===t.indexOf("image://")?a.makeImage(t.slice(8),new r(e,i,n,o),l?"center":"cover"):0===t.indexOf("path://")?a.makePath(t.slice(7),{},new r(e,i,n,o),l?"center":"cover"):new g({shape:{symbolType:t,x:e,y:i,width:n,height:o}}),u.__isEmptyBrush=c,u.setColor=m,u.setColor(s),u}e.createSymbol=v},"2d5a":function(t,e,i){var n=i("a04a"),a=i("033d"),r=a.Dispatcher,o=i("3ef1"),s=i("6404"),l=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,r.call(this)};l.prototype={constructor:l,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),i=0;i=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i0?1:-1,o=n.height>0?1:-1;return{x:n.x+r*a/2,y:n.y+o*a/2,width:n.width-r*a,height:n.height-o*a}},polar:function(t,e,i){var n=t.getItemLayout(e);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle}}};function D(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function L(t,e,i,n,a,s,u,c){var h=e.getItemVisual(i,"color"),d=e.getItemVisual(i,"opacity"),f=e.getVisual("borderColor"),p=n.getModel("itemStyle"),g=n.getModel("emphasis.itemStyle").getBarItemStyle();c||t.setShape("r",p.get("barBorderRadius")||0),t.useStyle(r.defaults({stroke:D(a)?"none":f,fill:D(a)?"none":h,opacity:d},p.getBarItemStyle()));var m=n.getShallow("cursor");m&&t.attr("cursor",m);var v=u?a.height>0?"bottom":"top":a.width>0?"left":"right";c||l(t.style,g,n,h,s,i,v),D(a)&&(g.fill=g.stroke="none"),o.setHoverStyle(t,g)}function P(t,e){var i=t.get(y)||0,n=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),a=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(i,n,a)}var k=h.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var i=e.points,n=this.__startPoint,a=this.__baseDimIdx,r=0;r=0?i:null}),30,!1);function E(t,e,i){var n=t.__baseDimIdx,a=1-n,r=t.shape.points,o=t.__largeDataIndices,s=Math.abs(t.__barWidth/2),l=t.__startPoint[a];x[0]=e,x[1]=i;for(var u=x[n],c=x[1-n],h=u-s,d=u+s,f=0,p=r.length/2;f=h&&m<=d&&(l<=v?c>=l&&c<=v:c>=v&&c<=l))return o[f]}return-1}function N(t,e,i){var n=i.getVisual("borderColor")||i.getVisual("color"),a=e.getModel("itemStyle").getItemStyle(["color","borderColor"]);t.useStyle(a),t.style.fill=null,t.style.stroke=n,t.style.lineWidth=i.getLayout("barWidth")}function z(t,e,i){var n=e.get("borderColor")||e.get("color"),a=e.getItemStyle(["color","borderColor"]);t.useStyle(a),t.style.fill=null,t.style.stroke=n,t.style.lineWidth=i.getLayout("barWidth")}function V(t,e,i){var n,a="polar"===i.type;return n=a?i.getArea():i.grid.getRect(),a?{cx:n.cx,cy:n.cy,r0:t?n.r0:e.r0,r:t?n.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}:{x:t?e.x:n.x,y:t?n.y:e.y,width:t?e.width:n.width,height:t?n.height:e.height}}function B(t,e,i){var n="polar"===t.type?o.Sector:o.Rect;return new n({shape:V(e,i,t),silent:!0,z2:0})}t.exports=b},3098:function(t,e,i){var n=i("43a0");i("c3c1"),i("5659"),n.registerPreprocessor((function(t){t.markPoint=t.markPoint||{}}))},"30b9":function(t,e,i){var n=i("a04a"),a=i("7625"),r=i("033d"),o=i("cdfc");function s(t){this.pointerChecker,this._zr=t,this._opt={};var e=n.bind,i=e(l,this),r=e(u,this),o=e(c,this),s=e(h,this),f=e(d,this);a.call(this),this.setPointerChecker=function(t){this.pointerChecker=t},this.enable=function(e,a){this.disable(),this._opt=n.defaults(n.clone(a)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",i),t.on("mousemove",r),t.on("mouseup",o)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",s),t.on("pinch",f))},this.disable=function(){t.off("mousedown",i),t.off("mousemove",r),t.off("mouseup",o),t.off("mousewheel",s),t.off("pinch",f)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(t){if(!(r.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)){var e=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,i)&&(this._x=e,this._y=i,this._dragging=!0)}}function u(t){if(this._dragging&&g("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!o.isTaken(this._zr,"globalPan")){var e=t.offsetX,i=t.offsetY,n=this._x,a=this._y,s=e-n,l=i-a;this._x=e,this._y=i,this._opt.preventDefaultMouseMove&&r.stop(t.event),p(this,"pan","moveOnMouseMove",t,{dx:s,dy:l,oldX:n,oldY:a,newX:e,newY:i})}}function c(t){r.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function h(t){var e=g("zoomOnMouseWheel",t,this._opt),i=g("moveOnMouseWheel",t,this._opt),n=t.wheelDelta,a=Math.abs(n),r=t.offsetX,o=t.offsetY;if(0!==n&&(e||i)){if(e){var s=a>3?1.4:a>1?1.2:1.1,l=n>0?s:1/s;f(this,"zoom","zoomOnMouseWheel",t,{scale:l,originX:r,originY:o})}if(i){var u=Math.abs(n),c=(n>0?1:-1)*(u>3?.4:u>1?.15:.05);f(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:c,originX:r,originY:o})}}}function d(t){if(!o.isTaken(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;f(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY})}}function f(t,e,i,n,a){t.pointerChecker&&t.pointerChecker(n,a.originX,a.originY)&&(r.stop(n.event),p(t,e,i,n,a))}function p(t,e,i,a,r){r.isAvailableBehavior=n.bind(g,null,i,a),t.trigger(e,r)}function g(t,e,i){var a=i[t];return!t||a&&(!n.isString(a)||e.event[a+"Key"])}n.mixin(s,a);var m=s;t.exports=m},"311d":function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("43a0")),r=i("a04a"),o=i("2cb9"),s=o.createSymbol,l=i("cd88"),u=i("9246"),c=u.makeBackground,h=i("4920"),d=r.curry,f=r.each,p=l.Group,g=a.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new p),this._backgroundEl,this.group.add(this._selectorGroup=new p),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(t,e,i){var n=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var a=t.get("align"),o=t.get("orient");a&&"auto"!==a||(a="right"===t.get("left")&&"vertical"===o?"right":"left");var s=t.get("selector",!0),l=t.get("selectorPosition",!0);!s||l&&"auto"!==l||(l="horizontal"===o?"end":"start"),this.renderInner(a,t,e,i,s,o,l);var u=t.getBoxLayoutParams(),d={width:i.getWidth(),height:i.getHeight()},f=t.get("padding"),p=h.getLayoutRect(u,d,f),g=this.layoutInner(t,a,p,n,s,l),m=h.getLayoutRect(r.defaults({width:g.width,height:g.height},u),d,f);this.group.attr("position",[m.x-g.x,m.y-g.y]),this.group.add(this._backgroundEl=c(g,t))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(t,e,i,n,a,o,s){var l=this.getContentGroup(),u=r.createHashMap(),c=e.get("selectedMode"),h=[];i.eachRawSeries((function(t){!t.get("legendHoverLink")&&h.push(t.id)})),f(e.getData(),(function(a,r){var o=a.get("name");if(this.newlineDisabled||""!==o&&"\n"!==o){var s=i.getSeriesByName(o)[0];if(!u.get(o))if(s){var f=s.getData(),g=f.getVisual("color"),m=f.getVisual("borderColor");"function"===typeof g&&(g=g(s.getDataParams(0))),"function"===typeof m&&(m=m(s.getDataParams(0)));var _=f.getVisual("legendSymbol")||"roundRect",b=f.getVisual("symbol"),w=this._createItem(o,r,a,e,_,b,t,g,m,c);w.on("click",d(v,o,null,n,h)).on("mouseover",d(y,s.name,null,n,h)).on("mouseout",d(x,s.name,null,n,h)),u.set(o,!0)}else i.eachRawSeries((function(i){if(!u.get(o)&&i.legendVisualProvider){var s=i.legendVisualProvider;if(!s.containName(o))return;var l=s.indexOfName(o),f=s.getItemVisual(l,"color"),p=s.getItemVisual(l,"borderColor"),g="roundRect",m=this._createItem(o,r,a,e,g,null,t,f,p,c);m.on("click",d(v,null,o,n,h)).on("mouseover",d(y,null,o,n,h)).on("mouseout",d(x,null,o,n,h)),u.set(o,!0)}}),this)}else l.add(new p({newline:!0}))}),this),a&&this._createSelector(a,e,n,o,s)},_createSelector:function(t,e,i,n,a){var r=this.getSelectorGroup();function o(t){var n=t.type,a=new l.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:"all"===n?"legendAllSelect":"legendInverseSelect"})}});r.add(a);var o=e.getModel("selectorLabel"),s=e.getModel("emphasis.selectorLabel");l.setLabelStyle(a.style,a.hoverStyle={},o,s,{defaultText:t.title,isRectText:!1}),l.setHoverStyle(a)}f(t,(function(t){o(t)}))},_createItem:function(t,e,i,n,a,o,u,c,h,d){var f=n.get("itemWidth"),g=n.get("itemHeight"),v=n.get("inactiveColor"),y=n.get("inactiveBorderColor"),x=n.get("symbolKeepAspect"),_=n.getModel("itemStyle"),b=n.isSelected(t),w=new p,S=i.getModel("textStyle"),M=i.get("icon"),I=i.getModel("tooltip"),A=I.parentModel;a=M||a;var T=s(a,0,0,f,g,b?c:v,null==x||x);if(w.add(m(T,a,_,h,y,b)),!M&&o&&(o!==a||"none"===o)){var C=.8*g;"none"===o&&(o="circle");var D=s(o,(f-C)/2,(g-C)/2,C,C,b?c:v,null==x||x);w.add(m(D,o,_,h,y,b))}var L="left"===u?f+5:-5,P=u,k=n.get("formatter"),O=t;"string"===typeof k&&k?O=k.replace("{name}",null!=t?t:""):"function"===typeof k&&(O=k(t)),w.add(new l.Text({style:l.setTextStyle({},S,{text:O,x:L,y:g/2,textFill:b?S.getTextColor():v,textAlign:P,textVerticalAlign:"middle"})}));var R=new l.Rect({shape:w.getBoundingRect(),invisible:!0,tooltip:I.get("show")?r.extend({content:t,formatter:A.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:n.componentIndex,name:t,$vars:["name"]}},I.option):null});return w.add(R),w.eachChild((function(t){t.silent=!0})),R.silent=!d,this.getContentGroup().add(w),l.setHoverStyle(w),w.__legendDataIndex=e,w},layoutInner:function(t,e,i,n,a,r){var o=this.getContentGroup(),s=this.getSelectorGroup();h.box(t.get("orient"),o,t.get("itemGap"),i.width,i.height);var l=o.getBoundingRect(),u=[-l.x,-l.y];if(a){h.box("horizontal",s,t.get("selectorItemGap",!0));var c=s.getBoundingRect(),d=[-c.x,-c.y],f=t.get("selectorButtonGap",!0),p=t.getOrient().index,g=0===p?"width":"height",m=0===p?"height":"width",v=0===p?"y":"x";"end"===r?d[p]+=l[g]+f:u[p]+=c[g]+f,d[1-p]+=l[m]/2-c[m]/2,s.attr("position",d),o.attr("position",u);var y={x:0,y:0};return y[g]=l[g]+f+c[g],y[m]=Math.max(l[m],c[m]),y[v]=Math.min(0,c[v]+d[1-p]),y}return o.attr("position",u),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function m(t,e,i,n,a,r){var o;return"line"!==e&&e.indexOf("empty")<0?(o=i.getItemStyle(),t.style.stroke=n,r||(o.stroke=a)):o=i.getItemStyle(["borderWidth","borderColor"]),t.setStyle(o)}function v(t,e,i,n){x(t,e,i,n),i.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),y(t,e,i,n)}function y(t,e,i,n){var a=i.getZr().storage.getDisplayList()[0];a&&a.useHoverLayer||i.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:n})}function x(t,e,i,n){var a=i.getZr().storage.getDisplayList()[0];a&&a.useHoverLayer||i.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:n})}t.exports=g},"313e":function(t,e){function i(t,e,i){var n,a=[t],r=[];while(n=a.pop())if(r.push(n),n.isExpand){var o=n.children;if(o.length)for(var s=0;s=0;r--)n.push(a[r])}}e.eachAfter=i,e.eachBefore=n},3164:function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("43a0")),r=i("a04a"),o=i("8328"),s=i("415e"),l=i("0908"),u=i("9b4f"),c=l.addCommas,h=l.encodeHTML;function d(t){s.defaultEmphasis(t,"label",["show"])}var f=a.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,i){this.mergeDefaultAndTheme(t,i),this._mergeOption(t,i,!1,!0)},isAnimationEnabled:function(){if(o.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},mergeOption:function(t,e){this._mergeOption(t,e,!1,!1)},_mergeOption:function(t,e,i,n){var a=this.constructor,o=this.mainType+"Model";i||e.eachSeries((function(t){var i=t.get(this.mainType,!0),s=t[o];i&&i.data?(s?s._mergeOption(i,e,!0):(n&&d(i),r.each(i.data,(function(t){t instanceof Array?(d(t[0]),d(t[1])):d(t)})),s=new a(i,this,e),r.extend(s,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),s.__hostSeries=t),t[o]=s):t[o]=null}),this)},formatTooltip:function(t,e,i,n){var a=this.getData(),o=this.getRawValue(t),s=r.isArray(o)?r.map(o,c).join(", "):c(o),l=a.getName(t),u=h(this.name),d="html"===n?"
":"\n";return(null!=o||l)&&(u+=d),l&&(u+=h(l),null!=o&&(u+=" : ")),null!=o&&(u+=h(s)),u},getData:function(){return this._data},setData:function(t){this._data=t}});r.mixin(f,u);var p=f;t.exports=p},"31b8":function(t,e,i){var n=i("a04a"),a=i("1206"),r=function(t,e,i,n){a.call(this,t,e,i),this.type=n||"value",this.model=null};r.prototype={constructor:r,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},n.inherits(r,a);var o=r;t.exports=o},"32af":function(t,e,i){var n=i("9916"),a=n.forceLayout,r=i("0a7e"),o=r.simpleLayout,s=i("17b8"),l=s.circularLayout,u=i("263c"),c=u.linearMap,h=i("59af"),d=i("a04a"),f=i("7e59"),p=f.getCurvenessForEdge;function g(t){t.eachSeriesByType("graph",(function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var i=t.preservedPoints||{},n=t.getGraph(),r=n.data,s=n.edgeData,u=t.getModel("force"),f=u.get("initLayout");t.preservedPoints?r.each((function(t){var e=r.getId(t);r.setItemLayout(t,i[e]||[NaN,NaN])})):f&&"none"!==f?"circular"===f&&l(t,"value"):o(t);var g=r.getDataExtent("value"),m=s.getDataExtent("value"),v=u.get("repulsion"),y=u.get("edgeLength");d.isArray(v)||(v=[v,v]),d.isArray(y)||(y=[y,y]),y=[y[1],y[0]];var x=r.mapArray("value",(function(t,e){var i=r.getItemLayout(e),n=c(t,g,v);return isNaN(n)&&(n=(v[0]+v[1])/2),{w:n,rep:n,fixed:r.getItemModel(e).get("fixed"),p:!i||isNaN(i[0])||isNaN(i[1])?null:i}})),_=s.mapArray("value",(function(e,i){var a=n.getEdgeByIndex(i),r=c(e,m,y);isNaN(r)&&(r=(y[0]+y[1])/2);var o=a.getModel(),s=d.retrieve3(o.get("lineStyle.curveness"),-p(a,t,i,!0),0);return{n1:x[a.node1.dataIndex],n2:x[a.node2.dataIndex],d:r,curveness:s,ignoreForceLayout:o.get("ignoreForceLayout")}})),b=(e=t.coordinateSystem,e.getBoundingRect()),w=a(x,_,{rect:b,gravity:u.get("gravity"),friction:u.get("friction")}),S=w.step;w.step=function(t){for(var e=0,a=x.length;e":"\n";return s(""===u?this.name:u)+c+r.map(l,(function(e,i){var n=a.get(a.mapDimension(e.dim),t);return s(e.name+" : "+n)})).join(c)},getTooltipPosition:function(t){if(null!=t)for(var e=this.getData(),i=this.coordinateSystem,n=e.getValues(r.map(i.dimensions,(function(t){return e.mapDimension(t)})),t,!0),a=0,o=n.length;a1&&n&&n.length>1){var s=r(n)/r(a);!isFinite(s)&&(s=1),e.pinchScale=s;var l=o(n);return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}},l=a;t.exports=l},3779:function(t,e,i){for(var n=i("a04a"),a=i("4509"),r=[126,25],o=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],s=0;sy.getLayout().x&&(y=t),t.depth>x.depth&&(x=t)}));var _=v===y?1:p(v,y)/2,b=_-v.getLayout().x,w=0,S=0,M=0,I=0;if("radial"===n)w=o/(y.getLayout().x+_+b),S=f/(x.depth-1||1),r(m,(function(t){M=(t.getLayout().x+b)*w,I=(t.depth-1)*S;var e=h(M,I);t.setLayout({x:e.x,y:e.y,rawX:M,rawY:I},!0)}));else{var A=t.getOrient();"RL"===A||"LR"===A?(S=f/(y.getLayout().x+_+b),w=o/(x.depth-1||1),r(m,(function(t){I=(t.getLayout().x+b)*S,M="LR"===A?(t.depth-1)*w:o-(t.depth-1)*w,t.setLayout({x:M,y:I},!0)}))):"TB"!==A&&"BT"!==A||(w=o/(y.getLayout().x+_+b),S=f/(x.depth-1||1),r(m,(function(t){M=(t.getLayout().x+b)*w,I="TB"===A?(t.depth-1)*S:f-(t.depth-1)*S,t.setLayout({x:M,y:I},!0)})))}}}t.exports=f},3826:function(t,e){var i=function(t){this.colorStops=t||[]};i.prototype={constructor:i,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var n=i;t.exports=n},"383c":function(t,e,i){i("132c"),i("81a1"),i("05c2")},"38a3":function(t,e,i){var n=i("a04a"),a=i("3f44"),r=n.each,o=n.curry;function s(t,e){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return l(i,t,e),i.seriesInvolved&&c(i,t),i}function l(t,e,i){var n=e.getComponent("tooltip"),a=e.getComponent("axisPointer"),s=a.get("link",!0)||[],l=[];r(i.getCoordinateSystems(),(function(i){if(i.axisPointerEnabled){var c=v(i.model),d=t.coordSysAxesInfo[c]={};t.coordSysMap[c]=i;var f=i.model,p=f.getModel("tooltip",n);if(r(i.getAxes(),o(_,!1,null)),i.getTooltipAxes&&n&&p.get("show")){var g="axis"===p.get("trigger"),y="cross"===p.get("axisPointer.type"),x=i.getTooltipAxes(p.get("axisPointer.axis"));(g||y)&&r(x.baseAxes,o(_,!y||"cross",g)),y&&r(x.otherAxes,o(_,"cross",!1))}}function _(n,r,o){var c=o.model.getModel("axisPointer",a),f=c.get("show");if(f&&("auto"!==f||n||m(c))){null==r&&(r=c.get("triggerTooltip")),c=n?u(o,p,a,e,n,r):c;var g=c.get("snap"),y=v(o.model),x=r||g||"category"===o.type,_=t.axesInfo[y]={key:y,axis:o,coordSys:i,axisPointerModel:c,triggerTooltip:r,involveSeries:x,snap:g,useHandle:m(c),seriesModels:[]};d[y]=_,t.seriesInvolved|=x;var b=h(s,o);if(null!=b){var w=l[b]||(l[b]={axesInfo:{}});w.axesInfo[y]=_,w.mapper=s[b].mapper,_.linkGroup=w}}}}))}function u(t,e,i,o,s,l){var u=e.getModel("axisPointer"),c={};r(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){c[t]=n.clone(u.get(t))})),c.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(c.type="line");var h=c.label||(c.label={});if(null==h.show&&(h.show=!1),"cross"===s){var d=u.get("label.show");if(h.show=null==d||d,!l){var f=c.lineStyle=u.get("crossStyle");f&&n.defaults(h,f.textStyle)}}return t.model.getModel("axisPointer",new a(c,i,o))}function c(t,e){e.eachSeries((function(e){var i=e.coordinateSystem,n=e.get("tooltip.trigger",!0),a=e.get("tooltip.show",!0);i&&"none"!==n&&!1!==n&&"item"!==n&&!1!==a&&!1!==e.get("axisPointer.show",!0)&&r(t.coordSysAxesInfo[v(i.model)],(function(t){var n=t.axis;i.getAxis(n.dim)===n&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}),this)}function h(t,e){for(var i=e.model,n=e.dim,a=0;a=0||t===e}function f(t){var e=p(t);if(e){var i=e.axisPointerModel,n=e.axis.scale,a=i.option,r=i.get("status"),o=i.get("value");null!=o&&(o=n.parse(o));var s=m(i);null==r&&(a.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==o||o>l[1])&&(o=l[1]),o=0||"+"===i?"left":"right"},c={horizontal:i>=0||"+"===i?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:y/2},d="vertical"===n?a.height:a.width,f=t.getModel("controlStyle"),p=f.get("show",!0),g=p?f.get("itemSize"):0,m=p?f.get("itemGap"):0,v=g+m,x=t.get("label.rotate")||0;x=x*y/180;var b=f.get("position",!0),w=p&&f.get("showPlayBtn",!0),S=p&&f.get("showPrevBtn",!0),M=p&&f.get("showNextBtn",!0),I=0,A=d;return"left"===b||"bottom"===b?(w&&(r=[0,0],I+=v),S&&(o=[I,0],I+=v),M&&(s=[A-g,0],A-=v)):(w&&(r=[A-g,0],A-=v),S&&(o=[0,0],I+=v),M&&(s=[A-g,0],A-=v)),l=[I,A],t.get("inverse")&&l.reverse(),{viewRect:a,mainLength:d,orient:n,rotation:h[n],labelRotation:x,labelPosOpt:i,labelAlign:t.get("label.align")||u[n],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||c[n],playPosition:r,prevBtnPosition:o,nextBtnPosition:s,axisExtent:l,controlSize:g,controlGap:m}},_position:function(t,e){var i=this._mainGroup,n=this._labelGroup,a=t.viewRect;if("vertical"===t.orient){var o=r.create(),s=a.x,l=a.y+a.height;r.translate(o,o,[-s,-l]),r.rotate(o,o,-y/2),r.translate(o,o,[s,l]),a=a.clone(),a.applyTransform(o)}var u=v(a),c=v(i.getBoundingRect()),h=v(n.getBoundingRect()),d=i.position,f=n.position;f[0]=d[0]=u[0][0];var p=t.labelPosOpt;if(isNaN(p)){var g="+"===p?0:1;x(d,c,u,1,g),x(f,h,u,1,1-g)}else{g=p>=0?0:1;x(d,c,u,1,g),f[1]=d[1]+p}function m(t){var e=t.position;t.origin=[u[0][0]-e[0],u[1][0]-e[1]]}function v(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function x(t,e,i,n,a){t[n]+=i[n][a]-e[n][a]}i.attr("position",d),n.attr("position",f),i.rotation=n.rotation=t.rotation,m(i),m(n)},_createAxis:function(t,e){var i=e.getData(),n=e.get("axisType"),a=d.createScaleByModel(e,n);a.getTicks=function(){return i.mapArray(["value"],(function(t){return t}))};var r=i.getDataExtent("value");a.setExtent(r[0],r[1]),a.niceTicks();var o=new u("value",a,t.axisExtent,n);return o.model=e,o},_createGroup:function(t){var e=this["_"+t]=new o.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,i,a){var r=i.getExtent();a.get("lineStyle.show")&&e.add(new o.Line({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:n.extend({lineCap:"round"},a.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,i,n){var a=n.getData(),r=i.scale.getTicks();v(r,(function(t){var r=i.dataToCoord(t),s=a.getItemModel(t),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),c={position:[r,0],onclick:m(this._changeTimeline,this,t)},h=w(s,l,e,c);o.setHoverStyle(h,u.getItemStyle()),s.get("tooltip")?(h.dataIndex=t,h.dataModel=n):h.dataIndex=h.dataModel=null}),this)},_renderAxisLabel:function(t,e,i,n){var a=i.getLabelModel();if(a.get("show")){var r=n.getData(),s=i.getViewLabels();v(s,(function(n){var a=n.tickValue,s=r.getItemModel(a),l=s.getModel("label"),u=s.getModel("emphasis.label"),c=i.dataToCoord(n.tickValue),h=new o.Text({position:[c,0],rotation:t.labelRotation-t.rotation,onclick:m(this._changeTimeline,this,a),silent:!1});o.setTextStyle(h.style,l,{text:n.formattedLabel,textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(h),o.setHoverStyle(h,o.setTextStyle({},u))}),this)}},_renderControl:function(t,e,i,n){var a=t.controlSize,r=t.rotation,s=n.getModel("controlStyle").getItemStyle(),l=n.getModel("emphasis.controlStyle").getItemStyle(),u=[0,-a/2,a,a],c=n.getPlayState(),h=n.get("inverse",!0);function d(t,i,c,h){if(t){var d={position:t,origin:[a/2,0],rotation:h?-r:0,rectHover:!0,style:s,onclick:c},f=b(n,i,u,d);e.add(f),o.setHoverStyle(f,l)}}d(t.nextBtnPosition,"controlStyle.nextIcon",m(this._changeTimeline,this,h?"-":"+")),d(t.prevBtnPosition,"controlStyle.prevIcon",m(this._changeTimeline,this,h?"+":"-")),d(t.playPosition,"controlStyle."+(c?"stopIcon":"playIcon"),m(this._handlePlayClick,this,!c),!0)},_renderCurrentPointer:function(t,e,i,n){var a=n.getData(),r=n.getCurrentIndex(),o=a.getItemModel(r).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=m(s._handlePointerDrag,s),t.ondragend=m(s._handlePointerDragend,s),S(t,r,i,n,!0)},onUpdate:function(t){S(t,r,i,n)}};this._currentPointer=w(o,o,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var i=this._toAxisCoord(t)[0],n=this._axis,a=f.asc(n.getExtent().slice());i>a[1]&&(i=a[1]),ie+c&&u>n+c&&u>o+c||ut+c&&l>i+c&&l>r+c||l0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"}))},4139:function(t,e,i){var n=i("a04a"),a=i("89ed"),r=i("5886");function o(t){r.call(this,t)}o.prototype={constructor:o,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),i=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&i.contain(i.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,i){var n=this.getAxis("x"),a=this.getAxis("y");return i=i||[],i[0]=n.toGlobalCoord(n.dataToCoord(t[0])),i[1]=a.toGlobalCoord(a.dataToCoord(t[1])),i},clampData:function(t,e){var i=this.getAxis("x").scale,n=this.getAxis("y").scale,a=i.getExtent(),r=n.getExtent(),o=i.parse(t[0]),s=n.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(a[0],a[1]),o),Math.max(a[0],a[1])),e[1]=Math.min(Math.max(Math.min(r[0],r[1]),s),Math.max(r[0],r[1])),e},pointToData:function(t,e){var i=this.getAxis("x"),n=this.getAxis("y");return e=e||[],e[0]=i.coordToData(i.toLocalCoord(t[0])),e[1]=n.coordToData(n.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")},getArea:function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),i=Math.min(t[0],t[1]),n=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-i,o=Math.max(e[0],e[1])-n,s=new a(i,n,r,o);return s}},n.inherits(o,r);var s=o;t.exports=s},"415e":function(t,e,i){var n=i("a04a"),a=i("8328"),r=n.each,o=n.isObject,s=n.isArray,l="series\0";function u(t){return t instanceof Array?t:null==t?[]:[t]}function c(t,e,i){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var n=0,a=i.length;n=i.length&&i.push({option:t})}})),i}function g(t){var e=n.createHashMap();r(t,(function(t,i){var n=t.exist;n&&e.set(n.id,t)})),r(t,(function(t,i){var a=t.option;n.assert(!a||null==a.id||!e.get(a.id)||e.get(a.id)===t,"id duplicates: "+(a&&a.id)),a&&null!=a.id&&e.set(a.id,t),!t.keyInfo&&(t.keyInfo={})})),r(t,(function(t,i){var n=t.exist,a=t.option,r=t.keyInfo;if(o(a)){if(r.name=null!=a.name?a.name+"":n?n.name:l+i,n)r.id=n.id;else if(null!=a.id)r.id=a.id+"";else{var s=0;do{r.id="\0"+r.name+"\0"+s++}while(e.get(r.id))}e.set(r.id,t)}}))}function m(t){var e=t.name;return!(!e||!e.indexOf(l))}function v(t){return o(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}function y(t,e){var i={},n={};return a(t||[],i),a(e||[],n,i),[r(i),r(n)];function a(t,e,i){for(var n=0,a=t.length;nm}function B(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function F(t,e,i,n){var a=new o.Group;return a.add(new o.Rect({name:"main",style:U(i),silent:!0,draggable:!0,cursor:"move",drift:u(t,e,a,"nswe"),ondragend:u(z,e,{isEnd:!0})})),c(n,(function(i){a.add(new o.Rect({name:i,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:u(t,e,a,i),ondragend:u(z,e,{isEnd:!0})}))})),a}function G(t,e,i,n){var a=n.brushStyle.lineWidth||0,r=f(a,v),o=i[0][0],s=i[1][0],l=o-a/2,u=s-a/2,c=i[0][1],h=i[1][1],d=c-r+a/2,p=h-r+a/2,g=c-o,m=h-s,y=g+a,x=m+a;W(t,e,"main",o,s,g,m),n.transformable&&(W(t,e,"w",l,u,r,x),W(t,e,"e",d,u,r,x),W(t,e,"n",l,u,y,r),W(t,e,"s",l,p,y,r),W(t,e,"nw",l,u,r,r),W(t,e,"ne",d,u,r,r),W(t,e,"sw",l,p,r,r),W(t,e,"se",d,p,r,r))}function H(t,e){var i=e.__brushOption,n=i.transformable,a=e.childAt(0);a.useStyle(U(i)),a.attr({silent:!n,cursor:n?"move":"default"}),c(["w","e","n","s","se","sw","ne","nw"],(function(i){var a=e.childOfName(i),r=j(t,i);a&&a.attr({silent:!n,invisible:!n,cursor:n?_[r]+"-resize":null})}))}function W(t,e,i,n,a,r,o){var s=e.childOfName(i);s&&s.setShape(J($(t,e,[[n,a],[n+r,a+o]])))}function U(t){return a.defaults({strokeNoScale:!0},t.brushStyle)}function Z(t,e,i,n){var a=[d(t,i),d(e,n)],r=[f(t,i),f(e,n)];return[[a[0],r[0]],[a[1],r[1]]]}function Y(t){return o.getTransform(t.group)}function j(t,e){if(e.length>1){e=e.split("");var i=[j(t,e[0]),j(t,e[1])];return("e"===i[0]||"w"===i[0])&&i.reverse(),i.join("")}var n={w:"left",e:"right",n:"top",s:"bottom"},a={left:"w",right:"e",top:"n",bottom:"s"};i=o.transformDirection(n[e],Y(t));return a[i]}function X(t,e,i,n,a,r,o,s){var l=n.__brushOption,u=t(l.range),h=K(i,r,o);c(a.split(""),(function(t){var e=x[t];u[e[0]][e[1]]+=h[e[0]]})),l.range=e(Z(u[0][0],u[1][0],u[0][1],u[1][1])),k(i,n),z(i,{isEnd:!1})}function q(t,e,i,n,a){var r=e.__brushOption.range,o=K(t,i,n);c(r,(function(t){t[0]+=o[0],t[1]+=o[1]})),k(t,e),z(t,{isEnd:!1})}function K(t,e,i){var n=t.group,a=n.transformCoordToLocal(e,i),r=n.transformCoordToLocal(0,0);return[a[0]-r[0],a[1]-r[1]]}function $(t,e,i){var n=E(t,e);return n&&!0!==n?n.clipPath(i,t._transform):a.clone(i)}function J(t){var e=d(t[0][0],t[1][0]),i=d(t[0][1],t[1][1]),n=f(t[0][0],t[1][0]),a=f(t[0][1],t[1][1]);return{x:e,y:i,width:n-e,height:a-i}}function Q(t,e,i){if(t._brushType&&!ot(t,e)){var n=t._zr,a=t._covers,r=R(t,e,i);if(!t._dragging)for(var o=0;on.getWidth()||i<0||i>n.getHeight()}var st={lineX:lt(0),lineY:lt(1),rect:{createCover:function(t,e){return F(u(X,(function(t){return t}),(function(t){return t})),t,e,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(t){var e=B(t);return Z(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,i,n){G(t,e,i,n)},updateCommon:H,contain:et},polygon:{createCover:function(t,e){var i=new o.Group;return i.add(new o.Polyline({name:"main",style:U(e),silent:!0})),i},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new o.Polygon({name:"main",draggable:!0,drift:u(q,t,e),ondragend:u(z,t,{isEnd:!0})}))},updateCoverShape:function(t,e,i,n){e.childAt(0).setShape({points:$(t,e,i)})},updateCommon:H,contain:et}};function lt(t){return{createCover:function(e,i){return F(u(X,(function(e){var i=[e,[0,100]];return t&&i.reverse(),i}),(function(e){return e[t]})),e,i,[["w","e"],["n","s"]][t])},getCreatingRange:function(e){var i=B(e),n=d(i[0][t],i[1][t]),a=f(i[0][t],i[1][t]);return[n,a]},updateCoverShape:function(e,i,n,a){var r,o=E(e,i);if(!0!==o&&o.getLinearBrushOtherExtent)r=o.getLinearBrushOtherExtent(t,e._transform);else{var s=e._zr;r=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[n,r];t&&l.reverse(),G(e,i,l,a)},updateCommon:H,contain:et}}var ut=S;t.exports=ut},4384:function(t,e,i){var n=i("43a0");i("0e60"),i("4f50");var a=i("a4c1"),r=i("ee5b");i("2ae6"),n.registerVisual(a("scatter","circle")),n.registerLayout(r("scatter"))},"43a0":function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("aa9d")),r=i("a04a"),o=i("5d34"),s=i("8328"),l=i("00c3"),u=i("7625"),c=i("44dc"),h=i("1f53"),d=i("90df"),f=i("9c6c"),p=i("a45f"),g=i("5bdb"),m=i("26ee"),v=i("f959"),y=i("e6c8"),x=i("17ad"),_=i("cd88"),b=i("415e"),w=i("7004"),S=w.throttle,M=i("b5e9"),I=i("9db3"),A=i("5375"),T=i("497a"),C=i("5bf5"),D=i("7788");i("9443");var L=i("2022"),P=r.assert,k=r.each,O=r.isFunction,R=r.isObject,E=m.parseClassType,N="4.9.0",z={zrender:"4.3.2"},V=1,B=1e3,F=800,G=900,H=5e3,W=1e3,U=1100,Z=2e3,Y=3e3,j=3500,X=4e3,q=5e3,K={PROCESSOR:{FILTER:B,SERIES_FILTER:F,STATISTIC:H},VISUAL:{LAYOUT:W,PROGRESSIVE_LAYOUT:U,GLOBAL:Z,CHART:Y,POST_CHART_LAYOUT:j,COMPONENT:X,BRUSH:q}},$="__flagInMainProcess",J="__optionUpdated",Q=/^[a-zA-Z0-9_]+$/;function tt(t,e){return function(i,n,a){e||!this._disposed?(i=i&&i.toLowerCase(),u.prototype[t].call(this,i,n,a)):_t(this.id)}}function et(){u.call(this)}function it(t,e,i){i=i||{},"string"===typeof e&&(e=kt[e]),this.id,this.group,this._dom=t;var n="canvas",o=this._zr=a.init(t,{renderer:i.renderer||n,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height});this._throttledZrFlush=S(r.bind(o.flush,o),17);e=r.clone(e);e&&p(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new d;var s=this._api=Mt(this);function c(t,e){return t.__prio-e.__prio}l(Pt,c),l(Ct,c),this._scheduler=new T(this,s,Ct,Pt),u.call(this,this._ecEventProcessor=new It),this._messageCenter=new et,this._initEvents(),this.resize=r.bind(this.resize,this),this._pendingActions=[],o.animation.on("frame",this._onframe,this),dt(o,this),r.setAsPrimitive(this)}et.prototype.on=tt("on",!0),et.prototype.off=tt("off",!0),et.prototype.one=tt("one",!0),r.mixin(et,u);var nt=it.prototype;function at(t,e,i){if(this._disposed)_t(this.id);else{var n,a=this._model,r=this._coordSysMgr.getCoordinateSystems();e=b.parseFinder(a,e);for(var o=0;o0&&t.unfinished);t.unfinished||this._zr.flush()}}},nt.getDom=function(){return this._dom},nt.getZr=function(){return this._zr},nt.setOption=function(t,e,i){if(this._disposed)_t(this.id);else{var n;if(R(e)&&(i=e.lazyUpdate,n=e.silent,e=e.notMerge),this[$]=!0,!this._model||e){var a=new f(this._api),r=this._theme,o=this._model=new c;o.scheduler=this._scheduler,o.init(null,null,r,a)}this._model.setOption(t,Dt),i?(this[J]={silent:n},this[$]=!1):(ot(this),rt.update.call(this),this._zr.flush(),this[J]=!1,this[$]=!1,ct.call(this,n),ht.call(this,n))}},nt.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},nt.getModel=function(){return this._model},nt.getOption=function(){return this._model&&this._model.getOption()},nt.getWidth=function(){return this._zr.getWidth()},nt.getHeight=function(){return this._zr.getHeight()},nt.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},nt.getRenderedCanvas=function(t){if(s.canvasSupported){t=t||{},t.pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor");var e=this._zr;return e.painter.getRenderedCanvas(t)}},nt.getSvgDataURL=function(){if(s.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return r.each(e,(function(t){t.stopAnimation(!0)})),t.painter.toDataURL()}},nt.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,i=this._model,n=[],a=this;k(e,(function(t){i.eachComponent({mainType:t},(function(t){var e=a._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)}))}));var r="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return k(n,(function(t){t.group.ignore=!1})),r}_t(this.id)},nt.getConnectedDataURL=function(t){if(this._disposed)_t(this.id);else if(s.canvasSupported){var e="svg"===t.type,i=this.group,n=Math.min,o=Math.max,l=1/0;if(Et[i]){var u=l,c=l,h=-l,d=-l,f=[],p=t&&t.pixelRatio||1;r.each(Rt,(function(a,s){if(a.group===i){var l=e?a.getZr().painter.getSvgDom().innerHTML:a.getRenderedCanvas(r.clone(t)),p=a.getDom().getBoundingClientRect();u=n(p.left,u),c=n(p.top,c),h=o(p.right,h),d=o(p.bottom,d),f.push({dom:l,left:p.left,top:p.top})}})),u*=p,c*=p,h*=p,d*=p;var g=h-u,m=d-c,v=r.createCanvas(),y=a.init(v,{renderer:e?"svg":"canvas"});if(y.resize({width:g,height:m}),e){var x="";return k(f,(function(t){var e=t.left-u,i=t.top-c;x+=''+t.dom+""})),y.painter.getSvgRoot().innerHTML=x,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new _.Rect({shape:{x:0,y:0,width:g,height:m},style:{fill:t.connectedBackgroundColor}})),k(f,(function(t){var e=new _.Image({style:{x:t.left*p-u,y:t.top*p-c,image:t.dom}});y.add(e)})),y.refreshImmediately(),v.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},nt.convertToPixel=r.curry(at,"convertToPixel"),nt.convertFromPixel=r.curry(at,"convertFromPixel"),nt.containPixel=function(t,e){if(!this._disposed){var i,n=this._model;return t=b.parseFinder(n,t),r.each(t,(function(t,n){n.indexOf("Models")>=0&&r.each(t,(function(t){var a=t.coordinateSystem;if(a&&a.containPoint)i|=!!a.containPoint(e);else if("seriesModels"===n){var r=this._chartsMap[t.__viewId];r&&r.containPoint&&(i|=r.containPoint(e,t))}}),this)}),this),!!i}_t(this.id)},nt.getVisual=function(t,e){var i=this._model;t=b.parseFinder(i,t,{defaultMainType:"series"});var n=t.seriesModel,a=n.getData(),r=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?a.indexOfRawIndex(t.dataIndex):null;return null!=r?a.getItemVisual(r,e):a.getVisual(e)},nt.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},nt.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var rt={prepareAndUpdate:function(t){ot(this),rt.update.call(this,t)},update:function(t){var e=this._model,i=this._api,n=this._zr,a=this._coordSysMgr,r=this._scheduler;if(e){r.restoreData(e,t),r.performSeriesTasks(e),a.create(e,i),r.performDataProcessorTasks(e,t),lt(this,e),a.update(e,i),pt(e),r.performVisualTasks(e,t),gt(this,e,i,t);var l=e.get("backgroundColor")||"transparent";if(s.canvasSupported)n.setBackgroundColor(l);else{var u=o.parse(l);l=o.stringify(u,"rgb"),0===u[3]&&(l="transparent")}yt(e,i)}},updateTransform:function(t){var e=this._model,i=this,n=this._api;if(e){var a=[];e.eachComponent((function(r,o){var s=i.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,e,n,t);l&&l.update&&a.push(s)}else a.push(s)}));var o=r.createHashMap();e.eachSeries((function(a){var r=i._chartsMap[a.__viewId];if(r.updateTransform){var s=r.updateTransform(a,e,n,t);s&&s.update&&o.set(a.uid,1)}else o.set(a.uid,1)})),pt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:o}),vt(i,e,n,t,o),yt(e,this._api)}},updateView:function(t){var e=this._model;e&&(x.markUpdateMethod(t,"updateView"),pt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),gt(this,this._model,this._api,t),yt(e,this._api))},updateVisual:function(t){rt.update.call(this,t)},updateLayout:function(t){rt.update.call(this,t)}};function ot(t){var e=t._model,i=t._scheduler;i.restorePipelines(e),i.prepareStageTasks(),ft(t,"component",e,i),ft(t,"chart",e,i),i.plan()}function st(t,e,i,n,a){var o=t._model;if(n){var s={};s[n+"Id"]=i[n+"Id"],s[n+"Index"]=i[n+"Index"],s[n+"Name"]=i[n+"Name"];var l={mainType:n,query:s};a&&(l.subType=a);var u=i.excludeSeriesId;null!=u&&(u=r.createHashMap(b.normalizeToArray(u))),o&&o.eachComponent(l,(function(e){u&&null!=u.get(e.id)||c(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else k(t._componentsViews.concat(t._chartsViews),c);function c(n){n&&n.__alive&&n[e]&&n[e](n.__model,o,t._api,i)}}function lt(t,e){var i=t._chartsMap,n=t._scheduler;e.eachSeries((function(t){n.updateStreamModes(t,i[t.__viewId])}))}function ut(t,e){var i=t.type,n=t.escapeConnect,a=At[i],o=a.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&E(s[0]),this[$]=!0;var u=[t],c=!1;t.batch&&(c=!0,u=r.map(t.batch,(function(e){return e=r.defaults(r.extend({},e),t),e.batch=null,e})));var h,d=[],f="highlight"===i||"downplay"===i;k(u,(function(t){h=a.action(t,this._model,this._api),h=h||r.extend({},t),h.type=o.event||h.type,d.push(h),f?st(this,l,t,"series"):s&&st(this,l,t,s.main,s.sub)}),this),"none"===l||f||s||(this[J]?(ot(this),rt.update.call(this,t),this[J]=!1):rt[l].call(this,t)),h=c?{type:o.event||i,escapeConnect:n,batch:d}:d[0],this[$]=!1,!e&&this._messageCenter.trigger(h.type,h)}function ct(t){var e=this._pendingActions;while(e.length){var i=e.shift();ut.call(this,i,t)}}function ht(t){!t&&this.trigger("updated")}function dt(t,e){t.on("rendered",(function(){e.trigger("rendered"),!t.animation.isFinished()||e[J]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))}function ft(t,e,i,n){for(var a="component"===e,r=a?t._componentsViews:t._chartsViews,o=a?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;ue.get("hoverLayerThreshold")&&!s.node&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var i=t._chartsMap[e.__viewId];i.__alive&&i.group.traverse((function(t){t.useHoverLayer=!0}))}}))}function wt(t,e){var i=t.get("blendMode")||null;e.group.traverse((function(t){t.isGroup||t.style.blend!==i&&t.setStyle("blend",i),t.eachPendingDisplayable&&t.eachPendingDisplayable((function(t){t.setStyle("blend",i)}))}))}function St(t,e){var i=t.get("z"),n=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=n&&(t.zlevel=n))}))}function Mt(t){var e=t._coordSysMgr;return r.extend(new h(t),{getCoordinateSystems:r.bind(e.getCoordinateSystems,e),getComponentByElement:function(e){while(e){var i=e.__ecComponentInfo;if(null!=i)return t._model.getComponent(i.mainType,i.index);e=e.parent}}})}function It(){this.eventInfo}nt._initEvents=function(){k(xt,(function(t){var e=function(e){var i,n=this.getModel(),a=e.target,o="globalout"===t;if(o)i={};else if(a&&null!=a.dataIndex){var s=a.dataModel||n.getSeriesByIndex(a.seriesIndex);i=s&&s.getDataParams(a.dataIndex,a.dataType,a)||{}}else a&&a.eventData&&(i=r.extend({},a.eventData));if(i){var l=i.componentType,u=i.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=i.seriesIndex);var c=l&&null!=u&&n.getComponent(l,u),h=c&&this["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];i.event=e,i.type=t,this._ecEventProcessor.eventInfo={targetEl:a,packedEvent:i,model:c,view:h},this.trigger(t,i)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),k(Tt,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},nt.isDisposed=function(){return this._disposed},nt.clear=function(){this._disposed?_t(this.id):this.setOption({series:[]},!0)},nt.dispose=function(){if(this._disposed)_t(this.id);else{this._disposed=!0,b.setAttribute(this.getDom(),Vt,"");var t=this._api,e=this._model;k(this._componentsViews,(function(i){i.dispose(e,t)})),k(this._chartsViews,(function(i){i.dispose(e,t)})),this._zr.dispose(),delete Rt[this.id]}},r.mixin(it,u),It.prototype={constructor:It,normalizeQuery:function(t){var e={},i={},n={};if(r.isString(t)){var a=E(t);e.mainType=a.main||null,e.subType=a.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};r.each(t,(function(t,a){for(var r=!1,l=0;l0&&c===a.length-u.length){var h=a.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,r=!0)}}s.hasOwnProperty(a)&&(i[a]=t,r=!0),r||(n[a]=t)}))}return{cptQuery:e,dataQuery:i,otherQuery:n}},filter:function(t,e,i){var n=this.eventInfo;if(!n)return!0;var a=n.targetEl,r=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var l=e.cptQuery,u=e.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,r,"name")&&c(u,r,"dataIndex")&&c(u,r,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,a,r));function c(t,e,i,n){return null==t[i]||e[n||i]===t[i]}},afterTrigger:function(){this.eventInfo=null}};var At={},Tt={},Ct=[],Dt=[],Lt=[],Pt=[],kt={},Ot={},Rt={},Et={},Nt=new Date-0,zt=new Date-0,Vt="_echarts_instance_";function Bt(t){var e=0,i=1,n=2,a="__connectUpdateStatus";function r(t,e){for(var i=0;i=0;l--)if(n[l]<=e)break;l=Math.min(l,a-2)}else{for(var l=r;le)break;l=Math.min(l-1,a-2)}o.lerp(t.position,i[l],i[l+1],(e-n[l])/(n[l+1]-n[l]));var u=i[l+1][0]-i[l][0],c=i[l+1][1]-i[l][1];t.rotation=-Math.atan2(c,u)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=e,t.ignore=!1}},a.inherits(s,r);var u=s;t.exports=u},"43c0":function(t,e,i){var n=i("43a0"),a=i("a04a");function r(t,e){e.update="updateView",n.registerAction(e,(function(e,i){var n={};return i.eachComponent({mainType:"geo",query:e},(function(i){i[t](e.name);var r=i.coordinateSystem;a.each(r.regions,(function(t){n[t.name]=i.isSelected(t.name)||!1}))})),{selected:n,name:e.name}}))}i("930d"),i("4f35"),i("b372"),i("44ce"),r("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),r("select",{type:"geoSelect",event:"geoselected"}),r("unSelect",{type:"geoUnSelect",event:"geounselected"})},"43c1":function(t,e,i){var n=i("a04a");function a(t){var e=[];n.each(t.series,(function(t){t&&"map"===t.type&&(e.push(t),t.map=t.map||t.mapType,n.defaults(t,t.mapLocation))}))}t.exports=a},"440d":function(t,e,i){var n=i("a04a"),a=i("26ee"),r=i("3fba"),o=i("9754"),s=a.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(t,e){return e.type||(e.data?"category":"value")}n.merge(s.prototype,o);var u={offset:0};r("x",s,l,u),r("y",s,l,u);var c=s;t.exports=c},"440e":function(t,e,i){var n=i("df8d"),a=n.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,i=0;i=0;n--)y.isIdInner(e[n])&&e.splice(n,1);t[i]=e}})),delete t[I],t},getTheme:function(){return this._theme},getComponent:function(t,e){var i=this._componentsMap.get(t);if(i)return i[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var i,n=t.index,a=t.id,r=t.name,c=this._componentsMap.get(e);if(!c||!c.length)return[];if(null!=n)l(n)||(n=[n]),i=o(s(n,(function(t){return c[t]})),(function(t){return!!t}));else if(null!=a){var h=l(a);i=o(c,(function(t){return h&&u(a,t.id)>=0||!h&&t.id===a}))}else if(null!=r){var d=l(r);i=o(c,(function(t){return d&&u(r,t.name)>=0||!d&&t.name===r}))}else i=c.slice();return O(i,t)},findComponents:function(t){var e=t.query,i=t.mainType,n=r(e),a=n?this.queryComponents(n):this._componentsMap.get(i);return s(O(a,t));function r(t){var e=i+"Index",n=i+"Id",a=i+"Name";return!t||null==t[e]&&null==t[n]&&null==t[a]?null:{mainType:i,index:t[e],id:t[n],name:t[a]}}function s(e){return t.filter?o(e,t.filter):e}},eachComponent:function(t,e,i){var n=this._componentsMap;if("function"===typeof t)i=e,e=t,n.each((function(t,n){r(t,(function(t,a){e.call(i,n,t,a)}))}));else if(h(t))r(n.get(t),e,i);else if(c(t)){var a=this.findComponents(t);r(a,e,i)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return o(e,(function(e){return e.name===t}))},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return o(e,(function(e){return e.subType===t}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){R(this),r(this._seriesIndices,(function(i){var n=this._componentsMap.get("series")[i];t.call(e,n,i)}),this)},eachRawSeries:function(t,e){r(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,i){R(this),r(this._seriesIndices,(function(n){var a=this._componentsMap.get("series")[n];a.subType===t&&e.call(i,a,n)}),this)},eachRawSeriesByType:function(t,e,i){return r(this.getSeriesByType(t),e,i)},isSeriesFiltered:function(t){return R(this),null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){R(this);var i=o(this._componentsMap.get("series"),t,e);k(this,i)},restoreData:function(t){var e=this._componentsMap;k(this,e.get("series"));var i=[];e.each((function(t,e){i.push(e)})),_.topologicalTravel(i,_.getAllClassMainTypes(),(function(i,n){r(e.get(i),(function(e){("series"!==i||!T(e,t))&&e.restoreData()}))}))}});function T(t,e){if(e){var i=e.seiresIndex,n=e.seriesId,a=e.seriesName;return null!=i&&t.componentIndex!==i||null!=n&&t.id!==n||null!=a&&t.name!==a}}function C(t,e){var i=t.color&&!t.colorLayer;r(e,(function(e,n){"colorLayer"===n&&i||_.hasClass(n)||("object"===typeof e?t[n]=t[n]?g(t[n],e,!1):p(e):null==t[n]&&(t[n]=e))}))}function D(t){t=t,this.option={},this.option[I]=1,this._componentsMap=d({series:[]}),this._seriesIndices,this._seriesIndicesMap,C(t,this._theme.option),g(t,b,!1),this.mergeOption(t)}function L(t,e){l(e)||(e=e?[e]:[]);var i={};return r(e,(function(e){i[e]=(t.get(e)||[]).slice()})),i}function P(t,e,i){var n=e.type?e.type:i?i.subType:_.determineSubType(t,e);return n}function k(t,e){t._seriesIndicesMap=d(t._seriesIndices=s(e,(function(t){return t.componentIndex}))||[])}function O(t,e){return e.hasOwnProperty("subType")?o(t,(function(t){return t.subType===e.subType})):t}function R(t){}v(A,w);var E=A;t.exports=E},4509:function(t,e,i){var n=i("89ed"),a=i("b291"),r=i("59af"),o=i("4e3a");function s(t,e,i){if(this.name=t,this.geometries=e,i)i=[i[0],i[1]];else{var n=this.getBoundingRect();i=[n.x+n.width/2,n.y+n.height/2]}this.center=i}s.prototype={constructor:s,properties:null,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,i=[e,e],o=[-e,-e],s=[],l=[],u=this.geometries,c=0;cn||l.newline?(r=0,c=m,o+=s+i,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);h=o+v,h>a||l.newline?(r+=s+i,o=0,h=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=r,d[1]=o,"horizontal"===t?r=c+i:o=h+i)}))}var d=h,f=n.curry(h,"vertical"),p=n.curry(h,"horizontal");function g(t,e,i){var n=e.width,a=e.height,r=o(t.x,n),l=o(t.y,a),u=o(t.x2,n),c=o(t.y2,a);return(isNaN(r)||isNaN(parseFloat(t.x)))&&(r=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=n),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(c)||isNaN(parseFloat(t.y2)))&&(c=a),i=s.normalizeCssArray(i||0),{width:Math.max(u-r-i[1]-i[3],0),height:Math.max(c-l-i[0]-i[2],0)}}function m(t,e,i){i=s.normalizeCssArray(i||0);var n=e.width,r=e.height,l=o(t.left,n),u=o(t.top,r),c=o(t.right,n),h=o(t.bottom,r),d=o(t.width,n),f=o(t.height,r),p=i[2]+i[0],g=i[1]+i[3],m=t.aspect;switch(isNaN(d)&&(d=n-c-g-l),isNaN(f)&&(f=r-h-p-u),null!=m&&(isNaN(d)&&isNaN(f)&&(m>n/r?d=.8*n:f=.8*r),isNaN(d)&&(d=m*f),isNaN(f)&&(f=d/m)),isNaN(l)&&(l=n-c-d-g),isNaN(u)&&(u=r-h-f-p),t.left||t.right){case"center":l=n/2-d/2-i[3];break;case"right":l=n-d-g;break}switch(t.top||t.bottom){case"middle":case"center":u=r/2-f/2-i[0];break;case"bottom":u=r-f-p;break}l=l||0,u=u||0,isNaN(d)&&(d=n-g-l-(c||0)),isNaN(f)&&(f=r-p-u-(h||0));var v=new a(l+i[3],u+i[0],d,f);return v.margin=i,v}function v(t,e,i,r,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"===t.type?new a(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(c=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();c=c.clone(),c.applyTransform(h)}e=m(n.defaults({width:c.width,height:c.height},e),i,r);var d=t.position,f=s?e.x-c.x:0,p=l?e.y-c.y:0;t.attr("position","raw"===u?[f,p]:[d[0]+f,d[1]+p])}}function y(t,e){return null!=t[c[e][0]]||null!=t[c[e][1]]&&null!=t[c[e][2]]}function x(t,e,i){!n.isObject(i)&&(i={});var a=i.ignoreSize;!n.isArray(a)&&(a=[a,a]);var r=s(c[0],0),o=s(c[1],1);function s(i,n){var r={},o=0,s={},c=0,d=2;if(l(i,(function(e){s[e]=t[e]})),l(i,(function(t){u(e,t)&&(r[t]=s[t]=e[t]),h(r,t)&&o++,h(s,t)&&c++})),a[n])return h(e,i[1])?s[i[2]]=null:h(e,i[2])&&(s[i[1]]=null),s;if(c!==d&&o){if(o>=d)return r;for(var f=0;fi.blockIndex,r=a?i.step:null,o=n&&n.modDataCount,s=null!=o?Math.ceil(o/r):null;return{step:r,modBy:s,modDataCount:o}}},y.getPipeline=function(t){return this._pipelineMap.get(t)},y.updateStreamModes=function(t,e){var i=this._pipelineMap.get(t.uid),n=t.getData(),a=n.count(),r=i.progressiveEnabled&&e.incrementalPrepareRender&&a>=i.threshold,o=t.get("large")&&a>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?a:null;t.pipelineContext=i.context={progressiveRender:r,modDataCount:s,large:o}},y.restorePipelines=function(t){var e=this,i=e._pipelineMap=s();t.eachSeries((function(t){var n=t.getProgressive(),a=t.uid;i.set(a,{id:a,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:n&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(n||700),count:0}),k(e,t,t.dataTask)}))},y.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),i=this.api;a(this._allHandlers,(function(n){var a=t.get(n.uid)||t.set(n.uid,[]);n.reset&&b(this,n,a,e,i),n.overallReset&&w(this,n,a,e,i)}),this)},y.prepareView=function(t,e,i,n){var a=t.renderTask,r=a.context;r.model=e,r.ecModel=i,r.api=n,a.__block=!t.incrementalPrepareRender,k(this,e,a)},y.performDataProcessorTasks=function(t,e){x(this,this._dataProcessorHandlers,t,e,{block:!0})},y.performVisualTasks=function(t,e,i){x(this,this._visualHandlers,t,e,i)},y.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},y.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))};var _=y.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function b(t,e,i,n,a){var r=i.seriesTaskMap||(i.seriesTaskMap=s()),o=e.seriesType,l=e.getTargetSeries;function u(i){var o=i.uid,s=r.get(o)||r.set(o,c({plan:T,reset:C,count:P}));s.context={model:i,ecModel:n,api:a,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},k(t,i,s)}e.createOnAllSeries?n.eachRawSeries(u):o?n.eachRawSeriesByType(o,u):l&&l(n,a).each(u);var h=t._pipelineMap;r.each((function(t,e){h.get(e)||(t.dispose(),r.removeKey(e))}))}function w(t,e,i,n,r){var o=i.overallTask=i.overallTask||c({reset:S});o.context={ecModel:n,api:r,overallReset:e.overallReset,scheduler:t};var l=o.agentStubMap=o.agentStubMap||s(),u=e.seriesType,h=e.getTargetSeries,d=!0,f=e.modifyOutputEnd;function p(e){var i=e.uid,n=l.get(i);n||(n=l.set(i,c({reset:M,onDirty:A})),o.dirty()),n.context={model:e,overallProgress:d,modifyOutputEnd:f},n.agent=o,n.__block=d,k(t,e,n)}u?n.eachRawSeriesByType(u,p):h?h(n,r).each(p):(d=!1,a(n.getSeries(),p));var g=t._pipelineMap;l.each((function(t,e){g.get(e)||(t.dispose(),o.dirty(),l.removeKey(e))}))}function S(t){t.overallReset(t.ecModel,t.api,t.payload)}function M(t,e){return t.overallProgress&&I}function I(){this.agent.dirty(),this.getDownstream().dirty()}function A(){this.agent&&this.agent.dirty()}function T(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function C(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=m(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?r(e,(function(t,e){return L(e)})):D}var D=L(0);function L(t){return function(e,i){var n=i.data,a=i.resetDefines[t];if(a&&a.dataEach)for(var r=e.start;r=this._maxSize&&o>0){var l=i.head;i.remove(l),delete n[l.key],r=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new a(e),s.key=t,i.insertEntry(s),n[t]=s}return r},o.get=function(t){var e=this._map[t],i=this._list;if(null!=e)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},o.clear=function(){this._list.clear(),this._map={}};var s=r;t.exports=s},"4d28":function(t,e,i){var n=i("43a0");(function(){for(var t in n){if(null==n||!n.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=n[t]}})();var a=i("e22d");(function(){for(var t in a){if(null==a||!a.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=a[t]}})(),i("9443"),i("679c"),i("6722"),i("196f"),i("4384"),i("dfe4"),i("b5fb"),i("639c"),i("c479"),i("5255"),i("9beb"),i("fa3d"),i("b866"),i("c639"),i("ee2d"),i("a6dc1"),i("6622"),i("4193"),i("b43f"),i("d124"),i("fff1"),i("511b"),i("e850"),i("46b1"),i("2034"),i("43c0"),i("ee60"),i("bed5"),i("5169"),i("e3fc"),i("b824"),i("58f8"),i("3b47"),i("f590"),i("f035"),i("8a7e"),i("3098"),i("17c8"),i("02f4"),i("e145"),i("f4b1"),i("efb8"),i("b776"),i("0f6c"),i("ad88"),i("c99e"),i("bd79"),i("272f"),i("8a7b")},"4dc6":function(t,e,i){var n=i("a04a"),a=i("d201"),r=i("f959"),o=i("0908"),s=o.encodeHTML,l=o.addCommas,u=i("cba4"),c=i("570e"),h=c.retrieveRawAttr,d=i("cd82"),f=i("9001"),p=f.makeSeriesEncodeForNameBased,g=r.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var e=a(this,{coordDimensions:["value"],encodeDefaulter:n.curry(p,this)}),i=e.mapDimension("value"),r=n.createHashMap(),o=[],s=[],l=0,u=e.count();l":"\n";return c.join(", ")+p+s(o+" : "+r)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),i=this.coordinateSystem,n=i.getRegion(e);return n&&i.dataToPoint(n.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});n.mixin(g,u);var m=g;t.exports=m},"4dd0":function(t,e,i){var n=i("a04a"),a=i("1206");function r(t,e){a.call(this,"radius",t,e),this.type="category"}r.prototype={constructor:r,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToRadius:a.prototype.dataToCoord,radiusToData:a.prototype.coordToData},n.inherits(r,a);var o=r;t.exports=o},"4df2":function(t,e,i){var n=i("e19a");function a(t,e){return e=e||{},n(e.coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,encodeDefaulter:e.encodeDefaulter,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}t.exports=a},"4e3a":function(t,e,i){var n=i("2818"),a=1e-8;function r(t,e){return Math.abs(t-e)=0&&(i.splice(n,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,i=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),i&&i.refresh()},remove:function(t){var e=this.__zr,i=this.__storage,a=this._children,r=n.indexOf(a,t);return r<0||(a.splice(r,1),t.parent=null,i&&(i.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(i)),e&&e.refresh()),this},removeAll:function(){var t,e,i=this._children,n=this.__storage;for(e=0;e1?(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 r=t.getBoxLayoutParams(),r.aspect=f,g=s.getLayoutRect(r,{width:h,height:d});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function d(t,e){r.each(e.get("geoCoord"),(function(e,i){t.addGeoCoord(i,e)}))}var f={dimensions:o.prototype.dimensions,create:function(t,e){var i=[];t.eachComponent("geo",(function(t,n){var a=t.get("map"),r=t.get("aspectScale"),s=!0,l=c.retrieveMap(a);l&&l[0]&&"svg"===l[0].type?(null==r&&(r=1),s=!1):null==r&&(r=.75);var u=new o(a+n,a,t.get("nameMap"),s);u.aspectScale=r,u.zoomLimit=t.get("scaleLimit"),i.push(u),d(u,t),t.coordinateSystem=u,u.model=t,u.resize=h,u.resize(t,e)})),t.eachSeries((function(t){var e=t.get("coordinateSystem");if("geo"===e){var n=t.get("geoIndex")||0;t.coordinateSystem=i[n]}}));var n={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();n[e]=n[e]||[],n[e].push(t)}})),r.each(n,(function(t,n){var a=r.map(t,(function(t){return t.get("nameMap")})),s=new o(n,n,r.mergeAll(a));s.zoomLimit=r.retrieve.apply(null,r.map(t,(function(t){return t.get("scaleLimit")}))),i.push(s),s.resize=h,s.aspectScale=t[0].get("aspectScale"),s.resize(t[0],e),r.each(t,(function(t){t.coordinateSystem=s,d(s,t)}))})),i},getFilledRegions:function(t,e,i){for(var n=(t||[]).slice(),a=r.createHashMap(),o=0;o1e4||!this._symbolDraw.isPersistent())return{update:!0};var a=o().reset(t);a.progress&&a.progress({start:0,end:n.count()},n),this._symbolDraw.updateLayout(n)},_getClipShape:function(t){var e=t.coordinateSystem,i=e&&e.getArea&&e.getArea();return t.get("clip",!0)?i:null},_updateSymbolDraw:function(t,e){var i=this._symbolDraw,n=e.pipelineContext,o=n.large;return i&&o===this._isLargeDraw||(i&&i.remove(),i=this._symbolDraw=o?new r:new a,this._isLargeDraw=o,this.group.removeAll()),this.group.add(i.group),i},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},"4fdc":function(t,e,i){var n=i("a04a"),a=i("cd88"),r=i("8223"),o=i("70b8"),s=i("2e27"),l=i("799b"),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,h=["axisLine","axisTickLabel","axisName"],d=["splitArea","splitLine","minorSplitLine"],f=o.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(t,e,i,o){this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new a.Group,this.group.add(this._axisGroup),t.get("show")){var u=t.getCoordSysModel(),c=s.layout(u,t),p=new r(t,c);n.each(h,p.add,p),this._axisGroup.add(p.getGroup()),n.each(d,(function(e){t.get(e+".show")&&this["_"+e](t,u)}),this),a.groupTransition(l,this._axisGroup,t),f.superCall(this,"render",t,e,i,o)}},remove:function(){c(this)},_splitLine:function(t,e){var i=t.axis;if(!i.scale.isBlank()){var r=t.getModel("splitLine"),o=r.getModel("lineStyle"),s=o.get("color");s=n.isArray(s)?s:[s];for(var l=e.coordinateSystem.getRect(),u=i.isHorizontal(),c=0,h=i.getTicksCoords({tickModel:r}),d=[],f=[],p=o.getLineStyle(),g=0;ge[0][1]&&(e[0][1]=r[0]),r[1]e[1][1]&&(e[1][1]=r[1])}return e&&w(e)}};function w(t){return new r(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}e.layoutCovers=p},"511b":function(t,e,i){var n=i("43a0"),a=i("a04a");i("0597"),i("7584"),i("7e7c");var r=i("0e3e"),o=i("74c1"),s=i("09df");n.registerVisual(a.curry(r,"sunburst")),n.registerLayout(a.curry(o,"sunburst")),n.registerProcessor(a.curry(s,"sunburst"))},5169:function(t,e,i){i("cfc3"),i("3d46"),i("f31f")},5198:function(t,e,i){var n=i("e6c8"),a=n.extend({type:"dataZoom",render:function(t,e,i,n){this.dataZoomModel=t,this.ecModel=e,this.api=i},getTargetCoordInfo:function(){var t=this.dataZoomModel,e=this.ecModel,i={};function n(t,e,i,n){for(var a,r=0;re)return t[n];return t[i-1]}var l={clearColorPalette:function(){o(this).colorIdx=0,o(this).colorNameMap={}},getColorFromPalette:function(t,e,i){e=e||this;var n=o(e),a=n.colorIdx||0,l=n.colorNameMap=n.colorNameMap||{};if(l.hasOwnProperty(t))return l[t];var u=r(this.get("color",!0)),c=this.get("colorLayer",!0),h=null!=i&&c?s(c,i):u;if(h=h||u,h&&h.length){var d=h[a];return t&&(l[t]=d),n.colorIdx=(a+1)%h.length,d}}};t.exports=l},5585:function(t,e,i){var n=i("a04a"),a=i("59af"),r=i("f801"),o=i("7625"),s=i("033d"),l=i("3630"),u="silent";function c(t,e,i){return{type:t,event:i,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which,stop:h}}function h(){s.stop(this.event)}function d(){}d.prototype.dispose=function(){};var f=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],p=function(t,e,i,n){o.call(this),this.storage=t,this.painter=e,this.painterRoot=n,i=i||new d,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,r.call(this),this.setHandlerProxy(i)};function g(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){var n,a=t;while(a){if(a.clipPath&&!a.clipPath.contain(e,i))return!1;a.silent&&(n=!0),a=a.parent}return!n||u}return!1}function m(t,e,i){var n=t.painter;return e<0||e>n.getWidth()||i<0||i>n.getHeight()}p.prototype={constructor:p,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(n.each(f,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,i=t.zrY,n=m(this,e,i),a=this._hovered,r=a.target;r&&!r.__zr&&(a=this.findHover(a.x,a.y),r=a.target);var o=this._hovered=n?{x:e,y:i}:this.findHover(e,i),s=o.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),r&&s!==r&&this.dispatchToElement(a,"mouseout",t),this.dispatchToElement(o,"mousemove",t),s&&s!==r&&this.dispatchToElement(o,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,i=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&!i&&this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var i=this[t];i&&i.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,i){t=t||{};var n=t.target;if(!n||!n.silent){var a="on"+e,r=c(e,t,i);while(n)if(n[a]&&(r.cancelBubble=n[a].call(n,r)),n.trigger(e,r),n=n.parent,r.cancelBubble)break;r.cancelBubble||(this.trigger(e,r),this.painter&&this.painter.eachOtherLayer((function(t){"function"===typeof t[a]&&t[a].call(t,r),t.trigger&&t.trigger(e,r)})))}},findHover:function(t,e,i){for(var n=this.storage.getDisplayList(),a={x:t,y:e},r=n.length-1;r>=0;r--){var o;if(n[r]!==i&&!n[r].ignore&&(o=g(n[r],t,e))&&(!a.topTarget&&(a.topTarget=n[r]),o!==u)){a.target=n[r];break}}return a},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var i=this._gestureMgr;"start"===e&&i.clear();var n=i.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&i.clear(),n){var a=n.type;t.gestureEvent=a,this.dispatchToElement({target:n.target},a,n.event)}}},n.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){p.prototype[t]=function(e){var i,n,r=e.zrX,o=e.zrY,s=m(this,r,o);if("mouseup"===t&&s||(i=this.findHover(r,o),n=i.target),"mousedown"===t)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mouseup"===t)this._upEl=n;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||a.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}})),n.mixin(p,o),n.mixin(p,r);var v=p;t.exports=v},"564a":function(t,e,i){var n=i("a04a"),a=n.createHashMap;function r(t){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),i=t.getRawData(),n=t.get("color"),r=a();e.each((function(t){r.set(e.getRawIndex(t),t)})),i.each((function(a){var o=i.getName(a),s=n[(t.nameMap.get(o)-1)%n.length];i.setItemVisual(a,"color",s);var l=r.get(a);null!=l&&e.setItemVisual(l,"color",s)}))}))}t.exports=r},5659:function(t,e,i){var n=i("a04a"),a=i("eaad"),r=i("263c"),o=i("62c3"),s=i("6a23"),l=i("e0ce");function u(t,e,i){var n=e.coordinateSystem;t.each((function(a){var o,s=t.getItemModel(a),l=r.parsePercent(s.get("x"),i.getWidth()),u=r.parsePercent(s.get("y"),i.getHeight());if(isNaN(l)||isNaN(u)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,a));else if(n){var c=t.get(n.dimensions[0],a),h=t.get(n.dimensions[1],a);o=n.dataToPoint([c,h])}}else o=[l,u];isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u),t.setItemLayout(a,o)}))}var c=l.extend({type:"markPoint",updateTransform:function(t,e,i){e.eachSeries((function(t){var e=t.markPointModel;e&&(u(e.getData(),t,i),this.markerGroupMap.get(t.id).updateLayout(e))}),this)},renderSeries:function(t,e,i,r){var o=t.coordinateSystem,s=t.id,l=t.getData(),c=this.markerGroupMap,d=c.get(s)||c.set(s,new a),f=h(o,t,e);e.setData(f),u(e.getData(),t,r),f.each((function(t){var i=f.getItemModel(t),a=i.getShallow("symbol"),r=i.getShallow("symbolSize"),o=i.getShallow("symbolRotate"),s=n.isFunction(a),u=n.isFunction(r),c=n.isFunction(o);if(s||u||c){var h=e.getRawValue(t),d=e.getDataParams(t);s&&(a=a(h,d)),u&&(r=r(h,d)),c&&(o=o(h,d))}f.setItemVisual(t,{symbol:a,symbolSize:r,symbolRotate:o,color:i.get("itemStyle.color")||l.getVisual("color")})})),d.updateData(f),this.group.add(d.group),f.eachItemGraphicEl((function(t){t.traverse((function(t){t.dataModel=e}))})),d.__keep=!0,d.group.silent=e.get("silent")||t.get("silent")}});function h(t,e,i){var a;a=t?n.map(t&&t.dimensions,(function(t){var i=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return n.defaults({name:t},i)})):[{name:"value",type:"float"}];var r=new o(a,i),l=n.map(i.get("data"),n.curry(s.dataTransform,e));return t&&(l=n.filter(l,n.curry(s.dataFilter,t))),r.initData(l,null,t?s.dimValueGetter:function(t){return t.value}),r}t.exports=c},"570e":function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("a04a")),r=(a.isTypedArray,a.extend),o=(a.assert,a.each),s=a.isObject,l=i("415e"),u=l.getDataItemValue,c=l.isDataItemOption,h=i("263c"),d=h.parseDate,f=i("bf06"),p=i("dee7"),g=p.SOURCE_FORMAT_TYPED_ARRAY,m=p.SOURCE_FORMAT_ARRAY_ROWS,v=p.SOURCE_FORMAT_ORIGINAL,y=p.SOURCE_FORMAT_OBJECT_ROWS;function x(t,e){f.isInstance(t)||(t=f.seriesDataToSource(t)),this._source=t;var i=this._data=t.data,n=t.sourceFormat;n===g&&(this._offset=0,this._dimSize=e,this._data=i);var a=b[n===m?n+"_"+t.seriesLayoutBy:n];r(this,a)}var _=x.prototype;_.pure=!1,_.persistent=!0,_.getSource=function(){return this._source};var b={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:M},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],i=this._data,n=0;n=0;i--)s.asc(e[i])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(t))return"inactive";if(1===e.length){var i=e[0];if(i[0]<=t&&t<=i[1])return"active"}else for(var n=0,a=e.length;n0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=a.clone(t)},getValueState:function(t){var e=o.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(i){var n=[],a=i.getData();a.each(this.getDataDimension(a),(function(e,i){var a=o.findPieceIndex(e,this._pieceList);a===t&&n.push(i)}),this),e.push({seriesId:i.id,dataIndex:n})}),this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var i=t.interval||[];e=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return e},getVisualMeta:function(t){if(!this.isCategory()){var e=[],i=[],n=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),o=r[r.length-1].interval[1],o!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var s=-1/0;return a.each(r,(function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])}),this),{stops:e,outerColors:i}}function l(a,r){var o=n.getRepresentValue({interval:a});r||(r=n.getValueState(o));var s=t(o,r);a[0]===-1/0?i[0]=s:a[1]===1/0?i[1]=s:e.push({value:a[0],color:s},{value:a[1],color:s})}}}),h={splitNumber:function(){var t=this.option,e=this._pieceList,i=Math.min(t.precision,20),n=this.getExtent(),r=t.splitNumber;r=Math.max(parseInt(r,10),1),t.splitNumber=r;var o=(n[1]-n[0])/r;while(+o.toFixed(i)!==o&&i<5)i++;t.precision=i,o=+o.toFixed(i),t.minOpen&&e.push({interval:[-1/0,n[0]],close:[0,0]});for(var s=0,l=n[0];s","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,i)}),this)}};function d(t,e){var i=t.inverse;("vertical"===t.orient?!i:i)&&e.reverse()}var f=c;t.exports=f},"59af":function(t,e){var i="undefined"===typeof Float32Array?Array:Float32Array;function n(t,e){var n=new i(2);return null==t&&(t=0),null==e&&(e=0),n[0]=t,n[1]=e,n}function a(t,e){return t[0]=e[0],t[1]=e[1],t}function r(t){var e=new i(2);return e[0]=t[0],e[1]=t[1],e}function o(t,e,i){return t[0]=e,t[1]=i,t}function s(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t}function l(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t}function u(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t}function c(t){return Math.sqrt(d(t))}var h=c;function d(t){return t[0]*t[0]+t[1]*t[1]}var f=d;function p(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t}function g(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t}function m(t,e){return t[0]*e[0]+t[1]*e[1]}function v(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t}function y(t,e){var i=c(e);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1]=e[1]/i),t}function x(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var _=x;function b(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var w=b;function S(t,e){return t[0]=-e[0],t[1]=-e[1],t}function M(t,e,i,n){return t[0]=e[0]+n*(i[0]-e[0]),t[1]=e[1]+n*(i[1]-e[1]),t}function I(t,e,i){var n=e[0],a=e[1];return t[0]=i[0]*n+i[2]*a+i[4],t[1]=i[1]*n+i[3]*a+i[5],t}function A(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t}function T(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t}e.create=n,e.copy=a,e.clone=r,e.set=o,e.add=s,e.scaleAndAdd=l,e.sub=u,e.len=c,e.length=h,e.lenSquare=d,e.lengthSquare=f,e.mul=p,e.div=g,e.dot=m,e.scale=v,e.normalize=y,e.distance=x,e.dist=_,e.distanceSquare=b,e.distSquare=w,e.negate=S,e.lerp=M,e.applyTransform=I,e.min=A,e.max=T},"59db":function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("43a0")),r=i("cd88"),o=i("016b"),s=i("a04a");function l(t,e,i){var n=t[1]-t[0];e=s.map(e,(function(e){return{interval:[(e.interval[0]-t[0])/n,(e.interval[1]-t[0])/n]}}));var a=e.length,r=0;return function(t){for(var n=r;n=0;n--){o=e[n].interval;if(o[0]<=t&&t<=o[1]){r=n;break}}return n>=0&&n=e[0]&&t<=e[1]}}function c(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var h=a.extendChartView({type:"heatmap",render:function(t,e,i){var n;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(i){i===t&&(n=e)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var a=t.coordinateSystem;"cartesian2d"===a.type||"calendar"===a.type?this._renderOnCartesianAndCalendar(t,i,0,t.getData().count()):c(a)&&this._renderOnGeo(a,t,n,i)},incrementalPrepareRender:function(t,e,i){this.group.removeAll()},incrementalRender:function(t,e,i,n){var a=e.coordinateSystem;a&&this._renderOnCartesianAndCalendar(e,n,t.start,t.end,!0)},_renderOnCartesianAndCalendar:function(t,e,i,n,a){var o,l,u=t.coordinateSystem;if("cartesian2d"===u.type){var c=u.getAxis("x"),h=u.getAxis("y");o=c.getBandWidth(),l=h.getBandWidth()}for(var d=this.group,f=t.getData(),p="itemStyle",g="emphasis.itemStyle",m="label",v="emphasis.label",y=t.getModel(p).getItemStyle(["color"]),x=t.getModel(g).getItemStyle(),_=t.getModel(m),b=t.getModel(v),w=u.type,S="cartesian2d"===w?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],M=i;M1?"emphasis":"normal")}function x(t,e,i,n,a){var r=i._isZoomActive;n&&"takeGlobalCursor"===n.type&&(r="dataZoomSelect"===n.key&&n.dataZoomSelectActive),i._isZoomActive=r,t.setIconStatus("zoom",r?"emphasis":"normal");var s=new o(v(t.option),e,{include:["grid"]});i._brushController.setPanels(s.makePanelOpts(a,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!r&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}g._onBrush=function(t,e){if(e.isEnd&&t.length){var i={},n=this.ecModel;this._brushController.updateCovers([]);var a=new o(v(this.model.option),n,{include:["grid"]});a.matchOutputRanges(t,n,(function(t,e,i){if("cartesian2d"===i.type){var n=t.brushType;"rect"===n?(r("x",i,e[0]),r("y",i,e[1])):r({lineX:"x",lineY:"y"}[n],i,e)}})),s.push(n,i),this._dispatchZoomAction(i)}function r(t,e,a){var r=e.getAxis(t),o=r.model,s=u(t,o,n),c=s.findRepresentativeAxisProxy(o).getMinMaxSpan();null==c.minValueSpan&&null==c.maxValueSpan||(a=l(0,a.slice(),r.scale.getExtent(),0,c.minValueSpan,c.maxValueSpan)),s&&(i[s.id]={dataZoomId:s.id,startValue:a[0],endValue:a[1]})}function u(t,e,i){var n;return i.eachComponent({mainType:"dataZoom",subType:"select"},(function(i){var a=i.getAxisModel(t,e.componentIndex);a&&(n=i)})),n}},g._dispatchZoomAction=function(t){var e=[];d(t,(function(t,i){e.push(a.clone(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},c.register("dataZoom",p),n.registerPreprocessor((function(t){if(t){var e=t.dataZoom||(t.dataZoom=[]);a.isArray(e)||(t.dataZoom=e=[e]);var i=t.toolbox;if(i&&(a.isArray(i)&&(i=i[0]),i&&i.feature)){var n=i.feature.dataZoom;r("xAxis",n),r("yAxis",n)}}function r(t,i){if(i){var n=t+"Index",r=i[n];null==r||"all"===r||a.isArray(r)||(r=!1===r||"none"===r?[]:[r]),o(t,(function(o,s){if(null==r||"all"===r||-1!==a.indexOf(r,s)){var l={type:"select",$fromToolbox:!0,filterMode:i.filterMode||"filter",id:f+t+s};l[n]=s,e.push(l)}}))}}function o(e,i){var n=t[e];a.isArray(n)||(n=n?[n]:[]),d(n,i)}}));var _=p;t.exports=_},"5abd":function(t,e,i){var n=i("59af"),a=n.create,r=n.distSquare,o=Math.pow,s=Math.sqrt,l=1e-8,u=1e-4,c=s(3),h=1/3,d=a(),f=a(),p=a();function g(t){return t>-l&&tl||t<-l}function v(t,e,i,n,a){var r=1-a;return r*r*(r*t+3*a*e)+a*a*(a*n+3*r*i)}function y(t,e,i,n,a){var r=1-a;return 3*(((e-t)*r+2*(i-e)*a)*r+(n-i)*a*a)}function x(t,e,i,n,a,r){var l=n+3*(e-i)-t,u=3*(i-2*e+t),d=3*(e-t),f=t-a,p=u*u-3*l*d,m=u*d-9*l*f,v=d*d-3*u*f,y=0;if(g(p)&&g(m))if(g(u))r[0]=0;else{var x=-d/u;x>=0&&x<=1&&(r[y++]=x)}else{var _=m*m-4*p*v;if(g(_)){var b=m/p,w=(x=-u/l+b,-b/2);x>=0&&x<=1&&(r[y++]=x),w>=0&&w<=1&&(r[y++]=w)}else if(_>0){var S=s(_),M=p*u+1.5*l*(-m+S),I=p*u+1.5*l*(-m-S);M=M<0?-o(-M,h):o(M,h),I=I<0?-o(-I,h):o(I,h);x=(-u-(M+I))/(3*l);x>=0&&x<=1&&(r[y++]=x)}else{var A=(2*p*u-3*l*m)/(2*s(p*p*p)),T=Math.acos(A)/3,C=s(p),D=Math.cos(T),L=(x=(-u-2*C*D)/(3*l),w=(-u+C*(D+c*Math.sin(T)))/(3*l),(-u+C*(D-c*Math.sin(T)))/(3*l));x>=0&&x<=1&&(r[y++]=x),w>=0&&w<=1&&(r[y++]=w),L>=0&&L<=1&&(r[y++]=L)}}return y}function _(t,e,i,n,a){var r=6*i-12*e+6*t,o=9*e+3*n-3*t-9*i,l=3*e-3*t,u=0;if(g(o)){if(m(r)){var c=-l/r;c>=0&&c<=1&&(a[u++]=c)}}else{var h=r*r-4*o*l;if(g(h))a[0]=-r/(2*o);else if(h>0){var d=s(h),f=(c=(-r+d)/(2*o),(-r-d)/(2*o));c>=0&&c<=1&&(a[u++]=c),f>=0&&f<=1&&(a[u++]=f)}}return u}function b(t,e,i,n,a,r){var o=(e-t)*a+t,s=(i-e)*a+e,l=(n-i)*a+i,u=(s-o)*a+o,c=(l-s)*a+s,h=(c-u)*a+u;r[0]=t,r[1]=o,r[2]=u,r[3]=h,r[4]=h,r[5]=c,r[6]=l,r[7]=n}function w(t,e,i,n,a,o,l,c,h,g,m){var y,x,_,b,w,S=.005,M=1/0;d[0]=h,d[1]=g;for(var I=0;I<1;I+=.05)f[0]=v(t,i,a,l,I),f[1]=v(e,n,o,c,I),b=r(d,f),b=0&&b=0&&c<=1&&(a[u++]=c)}}else{var h=o*o-4*r*l;if(g(h)){c=-o/(2*r);c>=0&&c<=1&&(a[u++]=c)}else if(h>0){var d=s(h),f=(c=(-o+d)/(2*r),(-o-d)/(2*r));c>=0&&c<=1&&(a[u++]=c),f>=0&&f<=1&&(a[u++]=f)}}return u}function A(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n}function T(t,e,i,n,a){var r=(e-t)*n+t,o=(i-e)*n+e,s=(o-r)*n+r;a[0]=t,a[1]=r,a[2]=s,a[3]=s,a[4]=o,a[5]=i}function C(t,e,i,n,a,o,l,c,h){var g,m=.005,v=1/0;d[0]=l,d[1]=c;for(var y=0;y<1;y+=.05){f[0]=S(t,i,a,y),f[1]=S(e,n,o,y);var x=r(d,f);x=0&&x=0;p--){var g=t[p];if(s||(h=g.data.rawIndexOf(g.stackedByDimension,c)),h>=0){var m=g.data.getByRawIndex(g.stackResultDimension,h);if(d>=0&&m>0||d<=0&&m<0){d+=m,f=m;break}}}return n[0]=d,n[1]=f,n}));o.hostModel.setData(l),e.data=l}))}t.exports=o},"5bf5":function(t,e){var i=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],n={color:i,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],i]};t.exports=n},"5c04":function(t,e,i){var n=i("a04a"),a=i("415e"),r=a.makeInner,o=i("38a3"),s=i("2ea0"),l=n.each,u=n.curry,c=r();function h(t,e,i){var a=t.currTrigger,r=[t.x,t.y],o=t,c=t.dispatchAction||n.bind(i.dispatchAction,i),h=e.getComponent("axisPointer").coordSysAxesInfo;if(h){b(r)&&(r=s({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var f=b(r),w=o.axesInfo,S=h.axesInfo,M="leave"===a||b(r),I={},A={},T={list:[],map:{}},C={showPointer:u(p,A),showTooltip:u(g,T)};l(h.coordSysMap,(function(t,e){var i=f||t.containPoint(r);l(h.coordSysAxesInfo[e],(function(t,e){var n=t.axis,a=x(w,t);if(!M&&i&&(!w||a)){var o=a&&a.value;null!=o||f||(o=n.pointToData(r)),null!=o&&d(t,o,C,!1,I)}}))}));var D={};return l(S,(function(t,e){var i=t.linkGroup;i&&!A[e]&&l(i.axesInfo,(function(e,n){var a=A[n];if(e!==t&&a){var r=a.value;i.mapper&&(r=t.axis.scale.parse(i.mapper(r,_(e),_(t)))),D[t.key]=r}}))})),l(D,(function(t,e){d(S[e],t,C,!0,I)})),m(A,S,I),v(T,r,t,c),y(S,c,i),I}}function d(t,e,i,a,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var s=f(e,t),l=s.payloadBatch,u=s.snapToValue;l[0]&&null==r.seriesIndex&&n.extend(r,l[0]),!a&&t.snap&&o.containData(u)&&null!=u&&(e=u),i.showPointer(t,e,l,r),i.showTooltip(t,s,u)}else i.showPointer(t,e)}function f(t,e){var i=e.axis,n=i.dim,a=t,r=[],o=Number.MAX_VALUE,s=-1;return l(e.seriesModels,(function(e,u){var c,h,d=e.getData().mapDimension(n,!0);if(e.getAxisTooltipData){var f=e.getAxisTooltipData(d,t,i);h=f.dataIndices,c=f.nestestValue}else{if(h=e.getData().indicesOfNearest(d[0],t,"category"===i.type?.5:null),!h.length)return;c=e.getData().get(d[0],h[0])}if(null!=c&&isFinite(c)){var p=t-c,g=Math.abs(p);g<=o&&((g=0&&s<0)&&(o=g,s=p,a=c,r.length=0),l(h,(function(t){r.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:r,snapToValue:a}}function p(t,e,i,n){t[e.key]={value:i,payloadBatch:n}}function g(t,e,i,n){var a=i.payloadBatch,r=e.axis,s=r.model,l=e.axisPointerModel;if(e.triggerTooltip&&a.length){var u=e.coordSys.model,c=o.makeKey(u),h=t.map[c];h||(h=t.map[c]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:r.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:n,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:a.slice()})}}function m(t,e,i){var n=i.axesInfo=[];l(e,(function(e,i){var a=e.axisPointerModel.option,r=t[i];r?(!e.useHandle&&(a.status="show"),a.value=r.value,a.seriesDataIndices=(r.payloadBatch||[]).slice()):!e.useHandle&&(a.status="hide"),"show"===a.status&&n.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:a.value})}))}function v(t,e,i,n){if(!b(e)&&t.list.length){var a=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:t.list})}else n({type:"hideTip"})}function y(t,e,i){var a=i.getZr(),r="axisPointerLastHighlights",o=c(a)[r]||{},s=c(a)[r]={};l(t,(function(t,e){var i=t.axisPointerModel.option;"show"===i.status&&l(i.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;s[e]=t}))}));var u=[],h=[];n.each(o,(function(t,e){!s[e]&&h.push(t)})),n.each(s,(function(t,e){!o[e]&&u.push(t)})),h.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:h}),u.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:u})}function x(t,e){for(var i=0;i<(t||[]).length;i++){var n=t[i];if(e.axis.dim===n.axisDim&&e.axis.model.componentIndex===n.axisIndex)return n}}function _(t){var e=t.axis.model,i={},n=i.axisDim=t.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=e.componentIndex,i.axisName=i[n+"AxisName"]=e.name,i.axisId=i[n+"AxisId"]=e.id,i}function b(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=h},"5c3c":function(t,e,i){var n=i("a04a"),a=i("26ee"),r=i("3fba"),o=i("9754"),s=a.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});n.merge(s.prototype,o);var l={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function u(t,e){return e.type||(e.data?"category":"value")}r("angle",s,u,l.angle),r("radius",s,u,l.radius)},"5cfa6":function(t,e,i){var n=i("a04a"),a=i("7c4c"),r=i("263c"),o=i("b42b"),s=a.prototype,l=o.prototype,u=r.getPrecisionSafe,c=r.round,h=Math.floor,d=Math.ceil,f=Math.pow,p=Math.log,g=a.extend({type:"log",base:10,$constructor:function(){a.apply(this,arguments),this._originalScale=new o},getTicks:function(t){var e=this._originalScale,i=this._extent,a=e.getExtent();return n.map(l.getTicks.call(this,t),(function(t){var n=r.round(f(this.base,t));return n=t===i[0]&&e.__fixMin?m(n,a[0]):n,n=t===i[1]&&e.__fixMax?m(n,a[1]):n,n}),this)},getMinorTicks:l.getMinorTicks,getLabel:l.getLabel,scale:function(t){return t=s.scale.call(this,t),f(this.base,t)},setExtent:function(t,e){var i=this.base;t=p(t)/p(i),e=p(e)/p(i),l.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=s.getExtent.call(this);e[0]=f(t,e[0]),e[1]=f(t,e[1]);var i=this._originalScale,n=i.getExtent();return i.__fixMin&&(e[0]=m(e[0],n[0])),i.__fixMax&&(e[1]=m(e[1],n[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=p(t[0])/p(e),t[1]=p(t[1])/p(e),s.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},niceTicks:function(t){t=t||10;var e=this._extent,i=e[1]-e[0];if(!(i===1/0||i<=0)){var n=r.quantity(i),a=t/i*n;a<=.5&&(n*=10);while(!isNaN(n)&&Math.abs(n)<1&&Math.abs(n)>0)n*=10;var o=[r.round(d(e[0]/n)*n),r.round(h(e[1]/n)*n)];this._interval=n,this._niceExtent=o}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function m(t,e){return c(t,u(e))}n.each(["contain","normalize"],(function(t){g.prototype[t]=function(e){return e=p(e)/p(this.base),s[t].call(this,e)}})),g.create=function(){return new g};var v=g;t.exports=v},"5d20":function(t,e,i){var n=i("43a0");i("7e4f"),n.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))},"5d34":function(t,e,i){var n=i("4a86"),a={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 r(t){return t=Math.round(t),t<0?0:t>255?255:t}function o(t){return t=Math.round(t),t<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function l(t){return t.length&&"%"===t.charAt(t.length-1)?r(parseFloat(t)/100*255):r(parseInt(t,10))}function u(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function c(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function h(t,e,i){return t+(e-t)*i}function d(t,e,i,n,a){return t[0]=e,t[1]=i,t[2]=n,t[3]=a,t}function f(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new n(20),g=null;function m(t,e){g&&f(g,e),g=p.put(t,g||e.slice())}function v(t,e){if(t){e=e||[];var i=p.get(t);if(i)return f(e,i);t+="";var n=t.replace(/ /g,"").toLowerCase();if(n in a)return f(e,a[n]),m(t,e),e;if("#"!==n.charAt(0)){var r=n.indexOf("("),o=n.indexOf(")");if(-1!==r&&o+1===n.length){var s=n.substr(0,r),c=n.substr(r+1,o-(r+1)).split(","),h=1;switch(s){case"rgba":if(4!==c.length)return void d(e,0,0,0,1);h=u(c.pop());case"rgb":return 3!==c.length?void d(e,0,0,0,1):(d(e,l(c[0]),l(c[1]),l(c[2]),h),m(t,e),e);case"hsla":return 4!==c.length?void d(e,0,0,0,1):(c[3]=u(c[3]),y(c,e),m(t,e),e);case"hsl":return 3!==c.length?void d(e,0,0,0,1):(y(c,e),m(t,e),e);default:return}}d(e,0,0,0,1)}else{if(4===n.length){var g=parseInt(n.substr(1),16);return g>=0&&g<=4095?(d(e,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,1),m(t,e),e):void d(e,0,0,0,1)}if(7===n.length){g=parseInt(n.substr(1),16);return g>=0&&g<=16777215?(d(e,(16711680&g)>>16,(65280&g)>>8,255&g,1),m(t,e),e):void d(e,0,0,0,1)}}}}function y(t,e){var i=(parseFloat(t[0])%360+360)%360/360,n=u(t[1]),a=u(t[2]),o=a<=.5?a*(n+1):a+n-a*n,s=2*a-o;return e=e||[],d(e,r(255*c(s,o,i+1/3)),r(255*c(s,o,i)),r(255*c(s,o,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function x(t){if(t){var e,i,n=t[0]/255,a=t[1]/255,r=t[2]/255,o=Math.min(n,a,r),s=Math.max(n,a,r),l=s-o,u=(s+o)/2;if(0===l)e=0,i=0;else{i=u<.5?l/(s+o):l/(2-s-o);var c=((s-n)/6+l/2)/l,h=((s-a)/6+l/2)/l,d=((s-r)/6+l/2)/l;n===s?e=d-h:a===s?e=1/3+c-d:r===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,i,u];return null!=t[3]&&f.push(t[3]),f}}function _(t,e){var i=v(t);if(i){for(var n=0;n<3;n++)i[n]=e<0?i[n]*(1-e)|0:(255-i[n])*e+i[n]|0,i[n]>255?i[n]=255:t[n]<0&&(i[n]=0);return C(i,4===i.length?"rgba":"rgb")}}function b(t){var e=v(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function w(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var n=t*(e.length-1),a=Math.floor(n),o=Math.ceil(n),l=e[a],u=e[o],c=n-a;return i[0]=r(h(l[0],u[0],c)),i[1]=r(h(l[1],u[1],c)),i[2]=r(h(l[2],u[2],c)),i[3]=s(h(l[3],u[3],c)),i}}var S=w;function M(t,e,i){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),a=Math.floor(n),o=Math.ceil(n),l=v(e[a]),u=v(e[o]),c=n-a,d=C([r(h(l[0],u[0],c)),r(h(l[1],u[1],c)),r(h(l[2],u[2],c)),s(h(l[3],u[3],c))],"rgba");return i?{color:d,leftIndex:a,rightIndex:o,value:n}:d}}var I=M;function A(t,e,i,n){if(t=v(t),t)return t=x(t),null!=e&&(t[0]=o(e)),null!=i&&(t[1]=u(i)),null!=n&&(t[2]=u(n)),C(y(t),"rgba")}function T(t,e){if(t=v(t),t&&null!=e)return t[3]=s(e),C(t,"rgba")}function C(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(i+=","+t[3]),e+"("+i+")"}}e.parse=v,e.lift=_,e.toHex=b,e.fastLerp=w,e.fastMapToColor=S,e.lerp=M,e.mapToColor=I,e.modifyHSL=A,e.modifyAlpha=T,e.stringify=C},"5ea1":function(t,e,i){var n=i("43a0"),a=i("0bd4"),r=i("0764"),o=i("b007"),s=r.toolbox.restore;function l(t){this.model=t}l.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:s.title};var u=l.prototype;u.onclick=function(t,e,i){a.clear(t),e.dispatchAction({type:"restore",from:this.uid})},o.register("restore",l),n.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var c=l;t.exports=c},6017:function(t,e,i){var n=i("a04a"),a=(n.assert,n.isArray),r=i("20f7");r.__DEV__;function o(t){return new s(t)}function s(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0,this.context}var l=s.prototype;l.perform=function(t){var e,i=this._upstream,n=t&&t.skip;if(this._dirty&&i){var r=this.context;r.data=r.outputData=i.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!n&&(e=this._plan(this.context));var o,s=f(this._modBy),l=this._modDataCount||0,u=f(t&&t.modBy),d=t&&t.modDataCount||0;function f(t){return!(t>=1)&&(t=1),t}s===u&&l===d||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=h(this,n)),this._modBy=u,this._modDataCount=d;var p=t&&t.step;if(this._dueEnd=i?i._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var g=this._dueIndex,m=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!n&&(o||g1&&n>0?s:o}};return r;function o(){return e=t?null:ro)l+=360*u;return[s,l]},coordToPoint:function(t){var e=t[0],i=t[1]/180*Math.PI,n=Math.cos(i)*e+this.cx,a=-Math.sin(i)*e+this.cy;return[n,a]},getArea:function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),i=e.getExtent().slice();i[0]>i[1]&&i.reverse();var n=t.getExtent(),a=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:i[0],r:i[1],startAngle:-n[0]*a,endAngle:-n[1]*a,clockwise:t.inverse,contain:function(t,e){var i=t-this.cx,n=e-this.cy,a=i*i+n*n,r=this.r,o=this.r0;return a<=r*r&&a>=o*o}}}};var o=r;t.exports=o},6222:function(t,e,i){var n=i("43a0"),a=i("a04a"),r=i("0764"),o=i("b007"),s=r.toolbox.magicType,l="__ec_magicType_stack__";function u(t){this.model=t}u.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:a.clone(s.title),option:{},seriesIndex:{}};var c=u.prototype;c.getIcons=function(){var t=this.model,e=t.get("icon"),i={};return a.each(t.get("type"),(function(t){e[t]&&(i[t]=e[t])})),i};var h={line:function(t,e,i,n){if("bar"===t)return a.merge({id:e,type:"line",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get("option.line")||{},!0)},bar:function(t,e,i,n){if("line"===t)return a.merge({id:e,type:"bar",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get("option.bar")||{},!0)},stack:function(t,e,i,n){var r=i.get("stack")===l;if("line"===t||"bar"===t)return n.setIconStatus("stack",r?"normal":"emphasis"),a.merge({id:e,stack:r?"":l},n.get("option.stack")||{},!0)}},d=[["line","bar"],["stack"]];c.onclick=function(t,e,i){var n=this.model,r=n.get("seriesIndex."+i);if(h[i]){var o,u={series:[]},c=function(e){var r=e.subType,o=e.id,s=h[i](r,o,e,n);s&&(a.defaults(s,e.option),u.series.push(s));var l=e.coordinateSystem;if(l&&"cartesian2d"===l.type&&("line"===i||"bar"===i)){var c=l.getAxesByScale("ordinal")[0];if(c){var d=c.dim,f=d+"Axis",p=t.queryComponents({mainType:f,index:e.get(name+"Index"),id:e.get(name+"Id")})[0],g=p.componentIndex;u[f]=u[f]||[];for(var m=0;m<=g;m++)u[f][g]=u[f][g]||{};u[f][g].boundaryGap="bar"===i}}};if(a.each(d,(function(t){a.indexOf(t,i)>=0&&a.each(t,(function(t){n.setIconStatus(t,"normal")}))})),n.setIconStatus(i,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},c),"stack"===i){var f=u.series&&u.series[0]&&u.series[0].stack===l;o=f?a.merge({stack:s.title.tiled},s.title):a.clone(s.title)}e.dispatchAction({type:"changeMagicType",currentType:i,newOption:u,newTitle:o,featureName:"magicType"})}},n.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)})),o.register("magicType",u);var f=u;t.exports=f},"62c3":function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("a04a")),r=i("3f44"),o=i("2644"),s=i("bf06"),l=i("570e"),u=l.defaultDimValueGetters,c=l.DefaultDataProvider,h=i("02b5"),d=h.summarizeDimensions,f=i("66d0"),p=a.isObject,g="undefined",m=-1,v="e\0\0",y={float:typeof Float64Array===g?Array:Float64Array,int:typeof Int32Array===g?Array:Int32Array,ordinal:Array,number:Array,time:Array},x=typeof Uint32Array===g?Array:Uint32Array,_=typeof Int32Array===g?Array:Int32Array,b=typeof Uint16Array===g?Array:Uint16Array;function w(t){return t._rawCount>65535?x:b}function S(t){var e=t.constructor;return e===Array?t.slice():new e(t)}var M=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],I=["_extent","_approximateExtent","_rawExtent"];function A(t,e){a.each(M.concat(e.__wrappedMethods||[]),(function(i){e.hasOwnProperty(i)&&(t[i]=e[i])})),t.__wrappedMethods=e.__wrappedMethods,a.each(I,(function(i){t[i]=a.clone(e[i])})),t._calculationInfo=a.extend(e._calculationInfo)}var T=function(t,e){t=t||["x","y"];for(var i={},n=[],r={},o=0;o=0?this._indices[t]:-1}function R(t,e){var i=t._idList[e];return null==i&&(i=P(t,t._idDimIdx,e)),null==i&&(i=v+e),i}function E(t){return a.isArray(t)||(t=[t]),t}function N(t,e){var i=t.dimensions,n=new T(a.map(i,t.getDimensionInfo,t),t.hostModel);A(n,t);for(var r=n._storage={},o=t._storage,s=0;s=0?(r[l]=z(o[l]),n._rawExtent[l]=V(),n._extent[l]=null):r[l]=o[l])}return n}function z(t){for(var e=new Array(t.length),i=0;ix[1]&&(x[1]=y)}e&&(this._nameList[f]=e[p])}this._rawCount=this._count=l,this._extent={},L(this)},C._initDataFromProvider=function(t,e){if(!(t>=e)){for(var i,n=this._chunkSize,a=this._rawData,r=this._storage,o=this.dimensions,s=o.length,l=this._dimensionInfos,u=this._nameList,c=this._idList,h=this._rawExtent,d=this._nameRepeatCount={},f=this._chunkCount,p=0;pM[1]&&(M[1]=S)}if(!a.pure){var I=u[y];if(v&&null==I)if(null!=v.name)u[y]=I=v.name;else if(null!=i){var A=o[i],T=r[A][x];if(T){I=T[_];var C=l[A].ordinalMeta;C&&C.categories.length&&(I=C.categories[I])}}var P=null==v?null:v.id;null==P&&null!=I&&(d[I]=d[I]||0,P=I,d[I]>0&&(P+="__ec__"+d[I]),d[I]++),null!=P&&(c[y]=P)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=e,this._extent={},L(this)}},C.count=function(){return this._count},C.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,i=this._count;if(e===Array){a=new e(i);for(var n=0;n=0&&e=0&&es&&(s=u)}return n=[o,s],this._extent[t]=n,n},C.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},C.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},C.getCalculationInfo=function(t){return this._calculationInfo[t]},C.setCalculationInfo=function(t,e){p(t)?a.extend(this._calculationInfo,t):this._calculationInfo[t]=e},C.getSum=function(t){var e=this._storage[t],i=0;if(e)for(var n=0,a=this.count();n=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,i=e[t];if(null!=i&&it))return r;a=r-1}}return-1},C.indicesOfNearest=function(t,e,i){var n=this._storage,a=n[t],r=[];if(!a)return r;null==i&&(i=1/0);for(var o=1/0,s=-1,l=0,u=0,c=this.count();u=0&&s<0)&&(o=d,s=h,l=0),h===s&&(r[l++]=u))}return r.length=l,r},C.getRawIndex=k,C.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],i=0;i=u&&y<=c||isNaN(y))&&(o[s++]=d),d++}h=!0}else if(2===n){f=this._storage[l];var x=this._storage[e[1]],_=t[e[1]][0],b=t[e[1]][1];for(p=0;p=u&&y<=c||isNaN(y))&&(M>=_&&M<=b||isNaN(M))&&(o[s++]=d),d++}}h=!0}}if(!h)if(1===n)for(v=0;v=u&&y<=c||isNaN(y))&&(o[s++]=I)}else for(v=0;vt[T][1])&&(A=!1)}A&&(o[s++]=this.getRawIndex(v))}return sw[1]&&(w[1]=b)}}}return r},C.downSample=function(t,e,i,n){for(var a=N(this,[t]),r=a._storage,o=[],s=Math.floor(1/e),l=r[t],u=this.count(),c=this._chunkSize,h=a._rawExtent[t],d=new(w(this))(u),f=0,p=0;pu-p&&(s=u-p,o.length=s);for(var g=0;gh[1]&&(h[1]=x),d[f++]=_}return a._count=f,a._indices=d,a.getRawIndex=O,a},C.getItemModel=function(t){var e=this.hostModel;return new r(this.getRawDataItem(t),e,e&&e.ecModel)},C.diff=function(t){var e=this;return new o(t?t.getIndices():[],this.getIndices(),(function(e){return R(t,e)}),(function(t){return R(e,t)}))},C.getVisual=function(t){var e=this._visual;return e&&e[t]},C.setVisual=function(t,e){if(p(t))for(var i in t)t.hasOwnProperty(i)&&this.setVisual(i,t[i]);else this._visual=this._visual||{},this._visual[t]=e},C.setLayout=function(t,e){if(p(t))for(var i in t)t.hasOwnProperty(i)&&this.setLayout(i,t[i]);else this._layout[t]=e},C.getLayout=function(t){return this._layout[t]},C.getItemLayout=function(t){return this._itemLayouts[t]},C.setItemLayout=function(t,e,i){this._itemLayouts[t]=i?a.extend(this._itemLayouts[t]||{},e):e},C.clearItemLayouts=function(){this._itemLayouts.length=0},C.getItemVisual=function(t,e,i){var n=this._itemVisuals[t],a=n&&n[e];return null!=a||i?a:this.getVisual(e)},C.setItemVisual=function(t,e,i){var n=this._itemVisuals[t]||{},a=this.hasItemVisual;if(this._itemVisuals[t]=n,p(e))for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r],a[r]=!0);else n[e]=i,a[e]=!0},C.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var B=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};C.setItemGraphicEl=function(t,e){var i=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=i&&i.seriesIndex,"group"===e.type&&e.traverse(B,e)),this._graphicEls[t]=e},C.getItemGraphicEl=function(t){return this._graphicEls[t]},C.eachItemGraphicEl=function(t,e){a.each(this._graphicEls,(function(i,n){i&&t&&t.call(e,i,n)}))},C.cloneShallow=function(t){if(!t){var e=a.map(this.dimensions,this.getDimensionInfo,this);t=new T(e,this.hostModel)}if(t._storage=this._storage,A(t,this),this._indices){var i=this._indices.constructor;t._indices=new i(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?O:k,t},C.wrapMethod=function(t,e){var i=this[t];"function"===typeof i&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=i.apply(this,arguments);return e.apply(this,[t].concat(a.slice(arguments)))})},C.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],C.CHANGABLE_METHODS=["filterSelf","selectRange"];var F=T;t.exports=F},"62c5":function(t,e,i){var n=i("a04a"),a=i("1206"),r=function(t,e,i,n,r){a.call(this,t,e,i),this.type=n||"value",this.position=r||"bottom",this.orient=null};r.prototype={constructor:r,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},n.inherits(r,a);var o=r;t.exports=o},"637e":function(t,e,i){var n=i("d8e3"),a=i("a0c2"),r=i("1060"),o=i("3a0e"),s=i("c0ac"),l=i("40b1"),u=l.normalizeRadian,c=i("5abd"),h=i("2818"),d=n.CMD,f=2*Math.PI,p=1e-4;function g(t,e){return Math.abs(t-e)e&&u>n&&u>r&&u>s||u1&&y(),d=c.cubicAt(e,n,r,s,v[0]),g>1&&(f=c.cubicAt(e,n,r,s,v[1]))),2===g?_e&&s>n&&s>r||s=0&&u<=1){for(var h=0,d=c.quadraticAt(e,n,r,u),f=0;fi||s<-i)return 0;var l=Math.sqrt(i*i-s*s);m[0]=-l,m[1]=l;var c=Math.abs(n-a);if(c<1e-4)return 0;if(c%f<1e-4){n=0,a=f;var h=r?1:-1;return o>=m[0]+t&&o<=m[1]+t?h:0}if(r){l=n;n=u(a),a=u(l)}else n=u(n),a=u(a);n>a&&(a+=f);for(var d=0,p=0;p<2;p++){var g=m[p];if(g+t>o){var v=Math.atan2(s,g);h=r?1:-1;v<0&&(v=f+v),(v>=n&&v<=a||v+f>=n&&v+f<=a)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),d+=h)}}return d}function w(t,e,i,n,l){for(var u=0,c=0,f=0,p=0,m=0,v=0;v1&&(i||(u+=h(c,f,p,m,n,l))),1===v&&(c=t[v],f=t[v+1],p=c,m=f),y){case d.M:p=t[v++],m=t[v++],c=p,f=m;break;case d.L:if(i){if(a.containStroke(c,f,t[v],t[v+1],e,n,l))return!0}else u+=h(c,f,t[v],t[v+1],n,l)||0;c=t[v++],f=t[v++];break;case d.C:if(i){if(r.containStroke(c,f,t[v++],t[v++],t[v++],t[v++],t[v],t[v+1],e,n,l))return!0}else u+=x(c,f,t[v++],t[v++],t[v++],t[v++],t[v],t[v+1],n,l)||0;c=t[v++],f=t[v++];break;case d.Q:if(i){if(o.containStroke(c,f,t[v++],t[v++],t[v],t[v+1],e,n,l))return!0}else u+=_(c,f,t[v++],t[v++],t[v],t[v+1],n,l)||0;c=t[v++],f=t[v++];break;case d.A:var w=t[v++],S=t[v++],M=t[v++],I=t[v++],A=t[v++],T=t[v++];v+=1;var C=1-t[v++],D=Math.cos(A)*M+w,L=Math.sin(A)*I+S;v>1?u+=h(c,f,D,L,n,l):(p=D,m=L);var P=(n-w)*I/M+w;if(i){if(s.containStroke(w,S,I,A,A+T,C,e,P,l))return!0}else u+=b(w,S,I,A,A+T,C,P,l);c=Math.cos(A+T)*M+w,f=Math.sin(A+T)*I+S;break;case d.R:p=c=t[v++],m=f=t[v++];var k=t[v++],O=t[v++];D=p+k,L=m+O;if(i){if(a.containStroke(p,m,D,m,e,n,l)||a.containStroke(D,m,D,L,e,n,l)||a.containStroke(D,L,p,L,e,n,l)||a.containStroke(p,L,p,m,e,n,l))return!0}else u+=h(D,m,D,L,n,l),u+=h(p,L,p,m,n,l);break;case d.Z:if(i){if(a.containStroke(c,f,p,m,e,n,l))return!0}else u+=h(c,f,p,m,n,l);c=p,f=m;break}}return i||g(f,m)||(u+=h(c,f,p,m,n,l)||0),0!==u}function S(t,e,i){return w(t,0,!1,e,i)}function M(t,e,i,n){return w(t,e,!0,i,n)}e.contain=S,e.containStroke=M},"639c":function(t,e,i){var n=i("43a0");i("c995"),i("8645"),i("256c");var a=i("a4c1"),r=i("37ff");n.registerVisual(a("tree","circle")),n.registerLayout(r)},6404:function(t,e,i){var n=i("d79a"),a=i("5d34"),r=i("a04a"),o=r.isArrayLike,s=Array.prototype.slice;function l(t,e){return t[e]}function u(t,e,i){t[e]=i}function c(t,e,i){return(e-t)*i+t}function h(t,e,i){return i>.5?e:t}function d(t,e,i,n,a){var r=t.length;if(1===a)for(var o=0;oa;if(r)t.length=a;else for(var o=n;o=0;i--)if(C[i]<=e)break;i=Math.min(i,b-2)}else{for(i=H;ie)break;i=Math.min(i-1,b-2)}H=i,W=e;var n=C[i+1]-C[i];if(0!==n)if(z=(e-C[i])/n,_)if(B=D[i],V=D[0===i?i:i-1],F=D[i>b-2?b-1:i+1],G=D[i>b-3?b-1:i+2],M)g(V,B,F,G,z,z*z,z*z*z,u(t,s),T);else{if(I)a=g(V,B,F,G,z,z*z,z*z*z,U,1),a=y(U);else{if(A)return h(B,F,z);a=m(V,B,F,G,z,z*z,z*z*z)}v(t,s,a)}else if(M)d(D[i],D[i+1],z,u(t,s),T);else{var a;if(I)d(D[i],D[i+1],z,U,1),a=y(U);else{if(A)return h(D[i],D[i+1],z);a=c(D[i],D[i+1],z)}v(t,s,a)}},Y=new n({target:t._target,life:w,loop:t._loop,delay:t._delay,onframe:Z,ondestroy:i});return e&&"spline"!==e&&(Y.easing=e),Y}}}var b=function(t,e,i,n){this._tracks={},this._target=t,this._loop=e||!1,this._getter=i||l,this._setter=n||u,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};b.prototype={when:function(t,e){var i=this._tracks;for(var n in e)if(e.hasOwnProperty(n)){if(!i[n]){i[n]=[];var a=this._getter(this._target,n);if(null==a)continue;0!==t&&i[n].push({time:0,value:v(a)})}i[n].push({time:t,value:e[n]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t "+x)),m++)}var _,b=i.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(t,i);else{var w=l.get(b),S=w&&"view"!==w.type&&w.dimensions||[];n.indexOf(S,"value")<0&&S.concat(["value"]);var M=s(t,{coordDimensions:S});_=new a(M,i),_.initData(t)}var I=new a(["value"],i);return I.initData(g,p),h&&h(_,I),o({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:I},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}t.exports=c},"66d0":function(t,e,i){var n=i("a04a");function a(t){null!=t&&n.extend(this,t),this.otherDims={}}var r=a;t.exports=r},6722:function(t,e,i){var n=i("43a0"),a=i("a04a"),r=i("f4e0"),o=r.layout,s=r.largeLayout;i("6975"),i("c4d3"),i("3075"),i("2ae6"),n.registerLayout(n.PRIORITY.VISUAL.LAYOUT,a.curry(o,"bar")),n.registerLayout(n.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,s),n.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})},6794:function(t,e,i){var n=i("a04a"),a=i("5d34"),r=i("033d"),o=i("88d0"),s=i("8328"),l=i("0908"),u=n.each,c=l.toCamelCase,h=["","-webkit-","-moz-","-o-"],d="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function f(t){var e="cubic-bezier(0.23, 1, 0.32, 1)",i="left "+t+"s "+e+",top "+t+"s "+e;return n.map(h,(function(t){return t+"transition:"+i})).join(";")}function p(t){var e=[],i=t.get("fontSize"),n=t.getTextColor();n&&e.push("color:"+n),e.push("font:"+t.getFont());var a=t.get("lineHeight");null==a&&(a=Math.round(3*i/2)),i&&e.push("line-height:"+a+"px");var r=t.get("textShadowColor"),o=t.get("textShadowBlur")||0,s=t.get("textShadowOffsetX")||0,l=t.get("textShadowOffsetY")||0;return o&&e.push("text-shadow:"+s+"px "+l+"px "+o+"px "+r),u(["decoration","align"],(function(i){var n=t.get(i);n&&e.push("text-"+i+":"+n)})),e.join(";")}function g(t){var e=[],i=t.get("transitionDuration"),n=t.get("backgroundColor"),r=t.getModel("textStyle"),o=t.get("padding");return i&&e.push(f(i)),n&&(s.canvasSupported?e.push("background-Color:"+n):(e.push("background-Color:#"+a.toHex(n)),e.push("filter:alpha(opacity=70)"))),u(["width","color","radius"],(function(i){var n="border-"+i,a=c(n),r=t.get(a);null!=r&&e.push(n+":"+r+("color"===i?"":"px"))})),e.push(p(r)),null!=o&&e.push("padding:"+l.normalizeCssArray(o).join("px ")+"px"),e.join(";")+";"}function m(t,e,i,n,a){var r=e&&e.painter;if(i){var s=r&&r.getViewportRoot();s&&o.transformLocalCoord(t,s,document.body,n,a)}else{t[0]=n,t[1]=a;var l=r&&r.getViewportRootOffset();l&&(t[0]+=l.offsetLeft,t[1]+=l.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function v(t,e,i){if(s.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var a=this._zr=e.getZr(),o=this._appendToBody=i&&i.appendToBody;this._styleCoord=[0,0,0,0],m(this._styleCoord,a,o,e.getWidth()/2,e.getHeight()/2),o?document.body.appendChild(n):t.appendChild(n),this._container=t,this._show=!1,this._hideTimeout;var l=this;n.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!l._enterable){var e=a.handler,i=a.painter.getViewportRoot();r.normalizeEvent(i,t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}}v.prototype={constructor:v,_enterable:!0,update:function(t){var e=this._container,i=e.currentStyle||document.defaultView.getComputedStyle(e),n=e.style;"absolute"!==n.position&&"absolute"!==i.position&&(n.position="relative");var a=t.get("alwaysShowContent");a&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],i=t*this._zr.getWidth(),n=e*this._zr.getHeight();this.moveTo(i,n)},show:function(t){clearTimeout(this._hideTimeout);var e=this.el,i=this._styleCoord;e.style.cssText=d+g(t)+";left:"+i[0]+"px;top:"+i[1]+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var i=this._styleCoord;m(i,this._zr,this._appendToBody,t,e);var n=this.el.style;n.left=i[0]+"px",n.top=i[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var t=this.el.clientWidth,e=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var i=document.defaultView.getComputedStyle(this.el);i&&(t+=parseInt(i.borderLeftWidth,10)+parseInt(i.borderRightWidth,10),e+=parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10))}return{width:t,height:e}}};var y=v;t.exports=y},"679c":function(t,e,i){var n=i("43a0");i("0379"),i("be0a");var a=i("a4c1"),r=i("ee5b"),o=i("b6cc");i("2ae6"),n.registerVisual(a("line","circle","line")),n.registerLayout(r("line")),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,o("line"))},6975:function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("a04a")),r=a.isObject,o=a.each,s=a.map,l=a.indexOf,u=(a.retrieve,i("4920")),c=u.getLayoutRect,h=i("b184"),d=h.createScaleByModel,f=h.ifAxisCrossZero,p=h.niceScaleExtent,g=h.estimateLabelUnionRect,m=i("4139"),v=i("caf3"),y=i("90df"),x=i("eff3"),_=x.getStackedDimension;function b(t,e,i){return t.getCoordSysModel()===e}function w(t,e,i){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,i),this.model=t}i("af9a");var S=w.prototype;function M(t,e,i,n){i.getAxesOnZeroOf=function(){return a?[a]:[]};var a,r=t[e],o=i.model,s=o.get("axisLine.onZero"),l=o.get("axisLine.onZeroAxisIndex");if(s){if(null!=l)I(r[l])&&(a=r[l]);else for(var u in r)if(r.hasOwnProperty(u)&&I(r[u])&&!n[c(r[u])]){a=r[u];break}a&&(n[c(a)]=!0)}function c(t){return t.dim+"_"+t.index}}function I(t){return t&&"category"!==t.type&&"time"!==t.type&&f(t)}function A(t,e){var i=t.getExtent(),n=i[0]+i[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return n-t+e}}S.type="grid",S.axisPointerEnabled=!0,S.getRect=function(){return this._rect},S.update=function(t,e){var i=this._axesMap;this._updateScale(t,this.model),o(i.x,(function(t){p(t.scale,t.model)})),o(i.y,(function(t){p(t.scale,t.model)}));var n={};o(i.x,(function(t){M(i,"y",t,n)})),o(i.y,(function(t){M(i,"x",t,n)})),this.resize(this.model,e)},S.resize=function(t,e,i){var n=c(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=n;var a=this._axesList;function r(){o(a,(function(t){var e=t.isHorizontal(),i=e?[0,n.width]:[0,n.height],a=t.inverse?1:0;t.setExtent(i[a],i[1-a]),A(t,e?n.x:n.y)}))}r(),!i&&t.get("containLabel")&&(o(a,(function(t){if(!t.model.get("axisLabel.inside")){var e=g(t);if(e){var i=t.isHorizontal()?"height":"width",a=t.model.get("axisLabel.margin");n[i]-=e[i]+a,"top"===t.position?n.y+=e.height+a:"left"===t.position&&(n.x+=e.width+a)}}})),r())},S.getAxis=function(t,e){var i=this._axesMap[t];if(null!=i){if(null==e)for(var n in i)if(i.hasOwnProperty(n))return i[n];return i[e]}},S.getAxes=function(){return this._axesList.slice()},S.getCartesian=function(t,e){if(null!=t&&null!=e){var i="x"+t+"y"+e;return this._coordsMap[i]}r(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var n=0,a=this._coordsList;n=0&&(l[s]=+l[s].toFixed(p)),[l,f]}var h=n.curry,d={min:h(c,"min"),max:h(c,"max"),average:h(c,"average")};function f(t,e){var i=t.getData(),a=t.coordinateSystem;if(e&&!u(e)&&!n.isArray(e.coord)&&a){var r=a.dimensions,o=p(e,i,a,t);if(e=n.clone(e),e.type&&d[e.type]&&o.baseAxis&&o.valueAxis){var l=s(r,o.baseAxis.dim),c=s(r,o.valueAxis.dim),h=d[e.type](i,o.baseDataDim,o.valueDataDim,l,c);e.coord=h[0],e.value=h[1]}else{for(var f=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],g=0;g<2;g++)d[f[g]]&&(f[g]=y(i,i.mapDimension(r[g]),f[g]));e.coord=f}}return e}function p(t,e,i,n){var a={};return null!=t.valueIndex||null!=t.valueDim?(a.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,a.valueAxis=i.getAxis(g(n,a.valueDataDim)),a.baseAxis=i.getOtherAxis(a.valueAxis),a.baseDataDim=e.mapDimension(a.baseAxis.dim)):(a.baseAxis=n.getBaseAxis(),a.valueAxis=i.getOtherAxis(a.baseAxis),a.baseDataDim=e.mapDimension(a.baseAxis.dim),a.valueDataDim=e.mapDimension(a.valueAxis.dim)),a}function g(t,e){var i=t.getData(),n=i.dimensions;e=i.getDimension(e);for(var a=0;a=0;r--){var o=i[r];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:r,thread:null},n.push(o)}}function r(t,e){var i=t.isExpand?t.children:[],n=t.parentNode.children,a=t.hierNode.i?n[t.hierNode.i-1]:null;if(i.length){c(t);var r=(i[0].hierNode.prelim+i[i.length-1].hierNode.prelim)/2;a?(t.hierNode.prelim=a.hierNode.prelim+e(t,a),t.hierNode.modifier=t.hierNode.prelim-r):t.hierNode.prelim=r}else a&&(t.hierNode.prelim=a.hierNode.prelim+e(t,a));t.parentNode.hierNode.defaultAncestor=h(t,a,t.parentNode.hierNode.defaultAncestor||n[0],e)}function o(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function s(t){return arguments.length?t:m}function l(t,e){var i={};return t-=Math.PI/2,i.x=e*Math.cos(t),i.y=e*Math.sin(t),i}function u(t,e){return n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function c(t){var e=t.children,i=e.length,n=0,a=0;while(--i>=0){var r=e[i];r.hierNode.prelim+=n,r.hierNode.modifier+=n,a+=r.hierNode.change,n+=r.hierNode.shift+a}}function h(t,e,i,n){if(e){var a=t,r=t,o=r.parentNode.children[0],s=e,l=a.hierNode.modifier,u=r.hierNode.modifier,c=o.hierNode.modifier,h=s.hierNode.modifier;while(s=d(s),r=f(r),s&&r){a=d(a),o=f(o),a.hierNode.ancestor=t;var m=s.hierNode.prelim+h-r.hierNode.prelim-u+n(s,r);m>0&&(g(p(s,t,i),t,m),u+=m,l+=m),h+=s.hierNode.modifier,u+=r.hierNode.modifier,l+=a.hierNode.modifier,c+=o.hierNode.modifier}s&&!d(a)&&(a.hierNode.thread=s,a.hierNode.modifier+=h-l),r&&!f(o)&&(o.hierNode.thread=r,o.hierNode.modifier+=u-c,i=t)}return i}function d(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function f(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function p(t,e,i){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:i}function g(t,e,i){var n=i/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=n,e.hierNode.shift+=i,e.hierNode.modifier+=i,e.hierNode.prelim+=i,t.hierNode.change+=n}function m(t,e){return t.parentNode===e.parentNode?1:2}e.init=a,e.firstWalk=r,e.secondWalk=o,e.separation=s,e.radialCoordinate=l,e.getViewRect=u},"6bc3":function(t,e,i){var n=i("cd88"),a=n.extendShape,r=a({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(t,e){var i=e.cx,n=e.cy,a=Math.max(e.r0||0,0),r=Math.max(e.r,0),o=.5*(r-a),s=a+o,l=e.startAngle,u=e.endAngle,c=e.clockwise,h=Math.cos(l),d=Math.sin(l),f=Math.cos(u),p=Math.sin(u),g=c?u-l<2*Math.PI:l-u<2*Math.PI;g&&(t.moveTo(h*a+i,d*a+n),t.arc(h*s+i,d*s+n,o,-Math.PI+l,l,!c)),t.arc(i,n,r,l,u,!c),t.moveTo(f*r+i,p*r+n),t.arc(f*s+i,p*s+n,o,u-2*Math.PI,u-Math.PI,!c),0!==a&&(t.arc(i,n,a,u,l,c),t.moveTo(h*a+i,p*a+n)),t.closePath()}});t.exports=r},"6bd4":function(t,e,i){var n=i("df8d"),a=n.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,i){i&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}});t.exports=a},"6d7f":function(t,e,i){var n=i("59af"),a=n.distance;function r(t,e,i,n,a,r,o){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)*o+(-3*(e-i)-2*s-l)*r+s*a+e}function o(t,e){for(var i=t.length,n=[],o=0,s=1;si-2?i-1:f+1],h=t[f>i-3?i-1:f+2]);var m=p*p,v=p*m;n.push([r(u[0],g[0],c[0],h[0],p,m,v),r(u[1],g[1],c[1],h[1],p,m,v)])}return n}t.exports=o},"6d87":function(t,e,i){var n=i("43a0"),a=i("a04a"),r=i("4238"),o=i("5033"),s=o.layoutCovers,l=n.extendComponentView({type:"brush",init:function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new r(e.getZr())).on("brush",a.bind(this._onBrush,this)).mount()},render:function(t){return this.model=t,u.apply(this,arguments)},updateTransform:function(t,e){return s(e),u.apply(this,arguments)},updateView:u,dispose:function(){this._brushController.dispose()},_onBrush:function(t,e){var i=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this.ecModel),(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:i,areas:a.clone(t),$from:i}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:i,areas:a.clone(t),$from:i})}});function u(t,e,i,n){(!n||n.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(i)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}t.exports=l},7004:function(t,e){var i="\0__throttleOriginMethod",n="\0__throttleRate",a="\0__throttleType";function r(t,e,i){var n,a,r,o,s,l=0,u=0,c=null;function h(){u=(new Date).getTime(),c=null,t.apply(r,o||[])}e=e||0;var d=function(){n=(new Date).getTime(),r=this,o=arguments;var t=s||e,d=s||i;s=null,a=n-(d?l:u)-t,clearTimeout(c),d?c=setTimeout(h,t):a>=0?h():c=setTimeout(h,-a),l=n};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){s=t},d}function o(t,e,o,s){var l=t[e];if(l){var u=l[i]||l,c=l[a],h=l[n];if(h!==o||c!==s){if(null==o||!s)return t[e]=u;l=t[e]=r(u,o,"debounce"===s),l[i]=u,l[a]=s,l[n]=o}return l}}function s(t,e){var n=t[e];n&&n[i]&&(t[e]=n[i])}e.throttle=r,e.createOrUpdate=o,e.clear=s},"70a4":function(t,e,i){var n=i("43a0"),a=i("eaad"),r=i("3554"),o=i("e2ea"),s=i("ee5b"),l=n.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new a(r)},render:function(t,e,i){var n=t.getData(),a=this._symbolDraw;a.updateData(n),this.group.add(a.group)},updateTransform:function(t,e,i){var n=t.getData();this.group.dirty();var a=s().reset(t);a.progress&&a.progress({start:0,end:n.count()},n),this._symbolDraw.updateLayout(n)},_updateGroupTransform:function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=o.clone(e.getRoamTransform()),this.group.decomposeTransform())},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e)},dispose:function(){}});t.exports=l},"70b8":function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("43a0")),r=i("38a3"),o=a.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,i,n){this.axisPointerClass&&r.fixValue(t),o.superApply(this,"render",arguments),s(this,t,e,i,n,!0)},updateAxisPointer:function(t,e,i,n,a){s(this,t,e,i,n,!1)},remove:function(t,e){var i=this._axisPointer;i&&i.remove(e),o.superApply(this,"remove",arguments)},dispose:function(t,e){l(this,e),o.superApply(this,"dispose",arguments)}});function s(t,e,i,n,a,s){var u=o.getAxisPointerClass(t.axisPointerClass);if(u){var c=r.getAxisPointerModel(e);c?(t._axisPointer||(t._axisPointer=new u)).render(e,c,n,s):l(t,n)}}function l(t,e,i){var n=t._axisPointer;n&&n.dispose(e,i),t._axisPointer=null}var u=[];o.registerAxisPointerClass=function(t,e){u[t]=e},o.getAxisPointerClass=function(t){return t&&u[t]};var c=o;t.exports=c},"70dd":function(t,e,i){var n=i("43a0"),a=i("a04a");function r(t,e,i){var n,r={},o="toggleSelected"===t;return i.eachComponent("legend",(function(i){o&&null!=n?i[n?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?i[t]():(i[t](e.name),n=i.isSelected(e.name));var s=i.getData();a.each(s,(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var n=i.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&n:r[e]=n}}))})),"allSelect"===t||"inverseSelect"===t?{selected:r}:{name:e.name,selected:r}}n.registerAction("legendToggleSelect","legendselectchanged",a.curry(r,"toggleSelected")),n.registerAction("legendAllSelect","legendselectall",a.curry(r,"allSelect")),n.registerAction("legendInverseSelect","legendinverseselect",a.curry(r,"inverseSelect")),n.registerAction("legendSelect","legendselected",a.curry(r,"select")),n.registerAction("legendUnSelect","legendunselected",a.curry(r,"unSelect"))},"712e":function(t,e,i){var n=i("a04a");function a(t){var e={};t.eachSeriesByType("map",(function(i){var a=i.getMapType();if(!i.getHostGeoModel()&&!e[a]){var r={};n.each(i.seriesGroup,(function(e){var i=e.coordinateSystem,n=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&n.each(n.mapDimension("value"),(function(t,e){var a=n.getName(e),o=i.getRegion(a);if(o&&!isNaN(t)){var s=r[a]||0,l=i.dataToPoint(o.center);r[a]=s+1,n.setItemLayout(e,{point:l,offset:s})}}))}));var o=i.getData();o.each((function(t){var e=o.getName(t),i=o.getItemLayout(t)||{};i.showLabel=!r[e],o.setItemLayout(t,i)})),e[a]=!0}}))}t.exports=a},7236:function(t,e,i){var n=i("6404"),a=i("f3aa"),r=i("a04a"),o=r.isString,s=r.isFunction,l=r.isObject,u=r.isArrayLike,c=r.indexOf,h=function(){this.animators=[]};function d(t,e,i,n,a,r,l,u){o(n)?(r=a,a=n,n=0):s(a)?(r=a,a="linear",n=0):s(n)?(r=n,n=0):s(i)?(r=i,i=500):i||(i=500),t.stopAnimation(),f(t,"",t,e,i,n,u);var c=t.animators.slice(),h=c.length;function d(){h--,h||r&&r()}h||r&&r();for(var p=0;p0&&t.animate(e,!1).when(null==a?500:a,s).delay(r||0)}function p(t,e,i,n){if(e){var a={};a[e]={},a[e][i]=n,t.attr(a)}else t.attr(i,n)}h.prototype={constructor:h,animate:function(t,e){var i,r=!1,o=this,s=this.__zr;if(t){var l=t.split("."),u=o;r="shape"===l[0];for(var h=0,d=l.length;h0,I=y.height-(M?-1:1),A=(p-f)/(I||1),T=t.get("clockwise"),C=t.get("stillShowZeroSum"),D=T?1:-1,L=function(t,e){if(t){var i=e;if(t!==v){var n=t.getValue(),o=0===w&&C?S:n*S;o0){s.virtualPiece?s.virtualPiece.updateData(!1,i,"normal",t,e):(s.virtualPiece=new r(i,t,e),h.add(s.virtualPiece)),n.piece._onclickEvent&&n.piece.off("click",n.piece._onclickEvent);var a=function(t){s._rootToNode(n.parentNode)};n.piece._onclickEvent=a,s.virtualPiece.on("click",a)}else s.virtualPiece&&(h.remove(s.virtualPiece),s.virtualPiece=null)}this._initEvents(),this._oldChildren=f},dispose:function(){},_initEvents:function(){var t=this,e=function(e){var i=!1,n=t.seriesModel.getViewRoot();n.eachNode((function(n){if(!i&&n.piece&&n.piece.childAt(0)===e.target){var a=n.getModel().get("nodeClick");if("rootToNode"===a)t._rootToNode(n);else if("link"===a){var r=n.getModel(),o=r.get("link");if(o){var s=r.get("target",!0)||"_blank";l(o,s)}}i=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",e),this.group._onclickEvent=e},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:u,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var i=e.getData(),n=i.getItemLayout(0);if(n){var a=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(a*a+r*r);return o<=n.r&&o>=n.r0}}}),h=c;t.exports=h},7625:function(t,e){var i=Array.prototype.slice,n=function(t){this._$handlers={},this._$eventProcessor=t};function a(t,e){var i=t._$eventProcessor;return null!=e&&i&&i.normalizeQuery&&(e=i.normalizeQuery(e)),e}function r(t,e,i,n,r,o){var s=t._$handlers;if("function"===typeof i&&(r=n,n=i,i=null),!n||!e)return t;i=a(t,i),s[e]||(s[e]=[]);for(var l=0;l3&&(a=i.call(a,1));for(var o=e.length,s=0;s4&&(a=i.call(a,1,a.length-1));for(var o=a[a.length-1],s=e.length,l=0;lf?f=g:(p.lastTickCount=r,p.lastAutoInterval=f),f}},n.inherits(u,r);var c=u;t.exports=c},"799b":function(t,e,i){var n=i("a04a"),a=i("cd88");function r(t,e,i,r){var o=i.axis;if(!o.scale.isBlank()){var s=i.getModel("splitArea"),l=s.getModel("areaStyle"),u=l.get("color"),c=r.coordinateSystem.getRect(),h=o.getTicksCoords({tickModel:s,clamp:!0});if(h.length){var d=u.length,f=t.__splitAreaColors,p=n.createHashMap(),g=0;if(f)for(var m=0;mr[1]&&r.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:r[1],r0:r[0]},api:{coord:n.bind((function(n){var a=e.dataToRadius(n[0]),r=i.dataToAngle(n[1]),o=t.coordToPoint([a,r]);return o.push(a,r*Math.PI/180),o})),size:n.bind(a,t)}}}t.exports=r},"7c4c":function(t,e,i){var n=i("d499");function a(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}a.prototype.parse=function(t){return t},a.prototype.getSetting=function(t){return this._setting[t]},a.prototype.contain=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},a.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},a.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},a.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},a.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},a.prototype.getExtent=function(){return this._extent.slice()},a.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},a.prototype.isBlank=function(){return this._isBlank},a.prototype.setBlank=function(t){this._isBlank=t},a.prototype.getLabel=null,n.enableClassExtend(a),n.enableClassManagement(a,{registerWhenExtend:!0});var r=a;t.exports=r},"7d27":function(t,e,i){var n=i("a04a"),a=i("263c"),r=i("fe3e"),o=i("06e5"),s=n.each,l=a.asc,u=function(t,e,i,n){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=n,this._dataZoomModel=i};function c(t,e,i){var n=[1/0,-1/0];return s(i,(function(t){var i=t.getData();i&&s(i.mapDimension(e,!0),(function(t){var e=i.getApproximateExtent(t);e[0]n[1]&&(n[1]=e[1])}))})),n[1]0?0:NaN);var o=i.getMax(!0);return null!=o&&"dataMax"!==o&&"function"!==typeof o?e[1]=o:a&&(e[1]=r>0?r-1:NaN),i.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0)),e}function d(t,e){var i=t.getAxisModel(),n=t._percentWindow,r=t._valueWindow;if(n){var o=a.getPixelPrecision(r,[0,500]);o=Math.min(o,20);var s=e||0===n[0]&&100===n[1];i.setRange(s?null:+r[0].toFixed(o),s?null:+r[1].toFixed(o))}}function f(t){var e=t._minMaxSpan={},i=t._dataZoomModel,n=t._dataExtent;s(["min","max"],(function(r){var o=i.get(r+"Span"),s=i.get(r+"ValueSpan");null!=s&&(s=t.getAxisModel().axis.scale.parse(s)),null!=s?o=a.linearMap(n[0]+s,n,[0,100],!0):null!=o&&(s=a.linearMap(o,[0,100],n,!0)-n[0]),e[r+"Span"]=o,e[r+"ValueSpan"]=s}))}u.prototype={constructor:u,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[],e=this.ecModel;return e.eachSeries((function(i){if(r.isCoordSupported(i.get("coordinateSystem"))){var n=this._dimName,a=e.queryComponents({mainType:n+"Axis",index:i.get(n+"AxisIndex"),id:i.get(n+"AxisId")})[0];this._axisIndex===(a&&a.componentIndex)&&t.push(i)}}),this),t},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,i,n=this._dimName,a=this.ecModel,r=this.getAxisModel(),o="x"===n||"y"===n;return o?(e="gridIndex",t="x"===n?"y":"x"):(e="polarIndex",t="angle"===n?"radius":"angle"),a.eachComponent(t+"Axis",(function(t){(t.get(e)||0)===(r.get(e)||0)&&(i=t)})),i},getMinMaxSpan:function(){return n.clone(this._minMaxSpan)},calculateDataWindow:function(t){var e,i=this._dataExtent,n=this.getAxisModel(),r=n.axis.scale,u=this._dataZoomModel.getRangePropMode(),c=[0,100],h=[],d=[];s(["start","end"],(function(n,o){var s=t[n],l=t[n+"Value"];"percent"===u[o]?(null==s&&(s=c[o]),l=r.parse(a.linearMap(s,c,i))):(e=!0,l=null==l?i[o]:r.parse(l),s=a.linearMap(l,i,c)),d[o]=l,h[o]=s})),l(d),l(h);var f=this._minMaxSpan;function p(t,e,i,n,s){var l=s?"Span":"ValueSpan";o(0,t,i,"all",f["min"+l],f["max"+l]);for(var u=0;u<2;u++)e[u]=a.linearMap(t[u],i,n,!0),s&&(e[u]=r.parse(e[u]))}return e?p(d,h,i,c,!1):p(h,d,c,i,!0),{valueWindow:d,percentWindow:h}},reset:function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=c(this,this._dimName,e),f(this);var i=this.calculateDataWindow(t.settledOption);this._valueWindow=i.valueWindow,this._percentWindow=i.percentWindow,d(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,d(this,!0))},filterData:function(t,e){if(t===this._dataZoomModel){var i=this._dimName,n=this.getTargetSeriesModels(),a=t.get("filterMode"),r=this._valueWindow;"none"!==a&&s(n,(function(t){var e=t.getData(),n=e.mapDimension(i,!0);n.length&&("weakFilter"===a?e.filterSelf((function(t){for(var i,a,o,s=0;sr[1];if(u&&!c&&!h)return!0;u&&(o=!0),c&&(i=!0),h&&(a=!0)}return o&&i&&a})):s(n,(function(i){if("empty"===a)t.setData(e=e.map(i,(function(t){return o(t)?t:NaN})));else{var n={};n[i]=r,e.selectRange(n)}})),s(n,(function(t){e.setApproximateExtent(r,t)})))}))}function o(t){return t>=r[0]&&t<=r[1]}}};var p=u;t.exports=p},"7e4f":function(t,e,i){var n=i("43a0");n.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),n.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){}))},"7e59":function(t,e,i){var n=i("a04a"),a="--\x3e",r=function(t){return t.get("autoCurveness")||null},o=function(t,e){var i=r(t),a=20,o=[];if("number"===typeof i)a=i;else if(n.isArray(i))return void(t.__curvenessList=i);e>a&&(a=e);var s=a%2?a+2:a+3;o=[];for(var l=0;lx?"left":"right",f=Math.abs(h[1]-_)/y<.3?"middle":h[1]>_?"top":"bottom"}return{position:h,align:d,verticalAlign:f}}var d={line:function(t,e,i,n,a){return"angle"===t.dim?{type:"Line",shape:o.makeLineShape(e.coordToPoint([n[0],i]),e.coordToPoint([n[1],i]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:i}}},shadow:function(t,e,i,n,a){var r=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,n[0],n[1],(-i-r/2)*s,(r/2-i)*s)}:{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,i-r/2,i+r/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",c);var f=c;t.exports=f},"80c0":function(t,e,i){var n=i("26ab"),a=n.devicePixelRatio,r=i("a04a"),o=i("f3aa"),s=i("89ed"),l=i("00c3"),u=i("34e0"),c=i("3ef1"),h=i("bce8"),d=i("8328"),f=1e5,p=314159,g=.01,m=.001;function v(t){return parseInt(t,10)}function y(t){return!!t&&(!!t.__builtin__||"function"===typeof t.resize&&"function"===typeof t.refresh)}var x=new s(0,0,0,0),_=new s(0,0,0,0);function b(t,e,i){return x.copy(t.getBoundingRect()),t.transform&&x.applyTransform(t.transform),_.width=e,_.height=i,!x.intersect(_)}function w(t,e){if(t===e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var i=0;i=0&&i.splice(n,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,i=0;i15)break}}o.__drawIndex=v,o.__drawIndex0&&t>n[0]){for(s=0;st)break;r=i[n[s]]}if(n.splice(s+1,0,t),i[t]=e,!e.virtual)if(r){var u=r.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else o("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var i,n,a=this._zlevelList;for(n=0;n0?g:0),this._needsManuallyCompositing),l.__builtin__||o("ZLevel "+u+" has been used by unkown layer "+l.id),l!==r&&(l.__used=!0,l.__startIndex!==i&&(l.__dirty=!0),l.__startIndex=i,l.incremental?l.__drawIndex=-1:l.__drawIndex=i,e(i),r=l),n.__dirty&&(l.__dirty=!0,l.incremental&&l.__drawIndex<0&&(l.__drawIndex=i))}e(i),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var i=this._layerConfig;i[t]?r.merge(i[t],e,!0):i[t]=e;for(var n=0;n0&&!g.min?g.min=0:null!=g.min&&g.min<0&&!g.max&&(g.max=0);var m=c;if(null!=g.color&&(m=a.defaults({color:g.color},c)),g=a.merge(a.clone(g),{boundaryGap:t,splitNumber:e,scale:i,axisLine:n,axisTick:r,axisType:l,axisLabel:u,name:g.text,nameLocation:"end",nameGap:f,nameTextStyle:m,triggerEvent:p},!1),h||(g.name=""),"string"===typeof d){var v=g.name;g.name=d.replace("{value}",null!=v?v:"")}else"function"===typeof d&&(g.name=d(g.name,g));var y=a.extend(new o(g,null,this.ecModel),s);return y.mainType="radar",y.componentIndex=this.componentIndex,y}),this);this.getIndicatorModels=function(){return g}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:a.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),axisType:"interval",splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}}),h=c;t.exports=h},8223:function(t,e,i){var n=i("a04a"),a=n.retrieve,r=n.defaults,o=n.extend,s=n.each,l=i("0908"),u=i("cd88"),c=i("3f44"),h=i("263c"),d=h.isRadianAroundZero,f=h.remRadian,p=i("2cb9"),g=p.createSymbol,m=i("e2ea"),v=i("59af"),y=v.applyTransform,x=i("b184"),_=x.shouldShowAllLabels,b=Math.PI,w=function(t,e){this.opt=e,this.axisModel=t,r(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new u.Group;var i=new u.Group({position:e.position.slice(),rotation:e.rotation});i.updateTransform(),this._transform=i.transform,this._dumbGroup=i};w.prototype={constructor:w,hasBuilder:function(t){return!!S[t]},add:function(t){S[t].call(this)},getGroup:function(){return this.group}};var S={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var i=this.axisModel.axis.getExtent(),n=this._transform,a=[i[0],0],r=[i[1],0];n&&(y(a,a,n),y(r,r,n));var l=o({lineCap:"round"},e.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new u.Line({anid:"line",subPixelOptimize:!0,shape:{x1:a[0],y1:a[1],x2:r[0],y2:r[1]},style:l,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1}));var c=e.get("axisLine.symbol"),h=e.get("axisLine.symbolSize"),d=e.get("axisLine.symbolOffset")||0;if("number"===typeof d&&(d=[d,d]),null!=c){"string"===typeof c&&(c=[c,c]),"string"!==typeof h&&"number"!==typeof h||(h=[h,h]);var f=h[0],p=h[1];s([{rotate:t.rotation+Math.PI/2,offset:d[0],r:0},{rotate:t.rotation-Math.PI/2,offset:d[1],r:Math.sqrt((a[0]-r[0])*(a[0]-r[0])+(a[1]-r[1])*(a[1]-r[1]))}],(function(e,i){if("none"!==c[i]&&null!=c[i]){var n=g(c[i],-f/2,-p/2,f,p,l.stroke,!0),r=e.r+e.offset,o=[a[0]+r*Math.cos(t.rotation),a[1]-r*Math.sin(t.rotation)];n.attr({rotation:e.rotate,position:o,silent:!0,z2:11}),this.group.add(n)}}),this)}}},axisTickLabel:function(){var t=this.axisModel,e=this.opt,i=O(this,t,e),n=E(this,t,e);C(t,n,i),R(this,t,e)},axisName:function(){var t=this.opt,e=this.axisModel,i=a(t.axisName,e.get("name"));if(i){var n,r,s=e.get("nameLocation"),c=t.nameDirection,h=e.getModel("nameTextStyle"),d=e.get("nameGap")||0,f=this.axisModel.axis.getExtent(),p=f[0]>f[1]?-1:1,g=["start"===s?f[0]-p*d:"end"===s?f[1]+p*d:(f[0]+f[1])/2,P(s)?t.labelOffset+c*d:0],m=e.get("nameRotate");null!=m&&(m=m*b/180),P(s)?n=I(t.rotation,null!=m?m:t.rotation,c):(n=A(t,s,m||0,f),r=t.axisNameAvailableWidth,null!=r&&(r=Math.abs(r/Math.sin(n.rotation)),!isFinite(r)&&(r=null)));var v=h.getFont(),y=e.get("nameTruncate",!0)||{},x=y.ellipsis,_=a(t.nameTruncateMaxWidth,y.maxWidth,r),w=null!=x&&null!=_?l.truncateText(i,_,v,x,{minChar:2,placeholder:y.placeholder}):i,S=e.get("tooltip",!0),C=e.mainType,D={componentType:C,name:i,$vars:["name"]};D[C+"Index"]=e.componentIndex;var L=new u.Text({anid:"name",__fullText:i,__truncatedText:w,position:g,rotation:n.rotation,silent:T(e),z2:1,tooltip:S&&S.show?o({content:i,formatter:function(){return i},formatterParams:D},S):null});u.setTextStyle(L.style,h,{text:w,textFont:v,textFill:h.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:h.get("align")||n.textAlign,textVerticalAlign:h.get("verticalAlign")||n.textVerticalAlign}),e.get("triggerEvent")&&(L.eventData=M(e),L.eventData.targetType="axisName",L.eventData.name=i),this._dumbGroup.add(L),L.updateTransform(),this.group.add(L),L.decomposeTransform()}}},M=w.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},I=w.innerTextLayout=function(t,e,i){var n,a,r=f(e-t);return d(r)?(a=i>0?"top":"bottom",n="center"):d(r-b)?(a=i>0?"bottom":"top",n="center"):(a="middle",n=r>0&&r0?"right":"left":i>0?"left":"right"),{rotation:r,textAlign:n,textVerticalAlign:a}};function A(t,e,i,n){var a,r,o=f(i-t.rotation),s=n[0]>n[1],l="start"===e&&!s||"start"!==e&&s;return d(o-b/2)?(r=l?"bottom":"top",a="center"):d(o-1.5*b)?(r=l?"top":"bottom",a="center"):(r="middle",a=o<1.5*b&&o>b/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:a,textVerticalAlign:r}}var T=w.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function C(t,e,i){if(!_(t.axis)){var n=t.get("axisLabel.showMinLabel"),a=t.get("axisLabel.showMaxLabel");e=e||[],i=i||[];var r=e[0],o=e[1],s=e[e.length-1],l=e[e.length-2],u=i[0],c=i[1],h=i[i.length-1],d=i[i.length-2];!1===n?(D(r),D(u)):L(r,o)&&(n?(D(o),D(c)):(D(r),D(u))),!1===a?(D(s),D(h)):L(l,s)&&(a?(D(l),D(d)):(D(s),D(h)))}}function D(t){t&&(t.ignore=!0)}function L(t,e,i){var n=t&&t.getBoundingRect().clone(),a=e&&e.getBoundingRect().clone();if(n&&a){var r=m.identity([]);return m.rotate(r,r,-t.rotation),n.applyTransform(m.mul([],r,t.getLocalTransform())),a.applyTransform(m.mul([],r,e.getLocalTransform())),n.intersect(a)}}function P(t){return"middle"===t||"center"===t}function k(t,e,i,n,a){for(var r=[],o=[],s=[],l=0;l=11),domSupported:"undefined"!==typeof document}}t.exports=n},"838f":function(t,e,i){var n=i("f959"),a=i("91c4"),r=i("90df"),o=n.extend({type:"series.heatmap",getInitialData:function(t,e){return a(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var t=r.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});t.exports=o},"83ef":function(t,e){var i=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};i.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var n=i;t.exports=n},8473:function(t,e,i){var n=i("43a0"),a=i("c8cc"),r=a.updateCenterAndZoom;i("7e4f");var o={type:"graphRoam",event:"graphRoam",update:"none"};n.registerAction(o,(function(t,e){e.eachComponent({mainType:"series",query:t},(function(e){var i=e.coordinateSystem,n=r(i,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)}))}))},"84ba":function(t,e,i){var n=i("a04a"),a=i("033d"),r=i("cd88"),o=i("7004"),s=i("5198"),l=i("263c"),u=i("4920"),c=i("06e5"),h=r.Rect,d=l.linearMap,f=l.asc,p=n.bind,g=n.each,m=7,v=1,y=30,x="horizontal",_="vertical",b=5,w=["line","bar","candlestick","scatter"],S=s.extend({type:"dataZoom.slider",init:function(t,e){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,i,n){S.superApply(this,"render",arguments),o.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),!1!==this.dataZoomModel.get("show")?(n&&"dataZoom"===n.type&&n.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){S.superApply(this,"remove",arguments),o.clear(this,"_dispatchZoomAction")},dispose:function(){S.superApply(this,"dispose",arguments),o.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new r.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,i=this._findCoordRect(),a={width:e.getWidth(),height:e.getHeight()},r=this._orient===x?{right:a.width-i.x-i.width,top:a.height-y-m,width:i.width,height:y}:{right:m,top:i.y,width:y,height:i.height},o=u.getLayoutParams(t.option);n.each(["right","top","width","height"],(function(t){"ph"===o[t]&&(o[t]=r[t])}));var s=u.getLayoutRect(o,a,t.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===_&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),a=n&&n.get("inverse"),r=this._displayables.barGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;r.attr(i!==x||a?i===x&&a?{scale:o?[-1,1]:[-1,-1]}:i!==_||a?{scale:o?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:o?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:o?[1,1]:[1,-1]});var s=t.getBoundingRect([r]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size,i=this._displayables.barGroup;i.add(new h({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),i.add(new h({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:n.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,i=t.series,a=i.getRawData(),o=i.getShadowDim?i.getShadowDim():t.otherDim;if(null!=o){var s=a.getDataExtent(o),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,c=[0,e[1]],h=[0,e[0]],f=[[e[0],0],[0,0]],p=[],g=h[1]/(a.count()-1),m=0,v=Math.round(a.count()/e[0]);a.each([o],(function(t,e){if(v>0&&e%v)m+=g;else{var i=null==t||isNaN(t)||""===t,n=i?0:d(t,s,c,!0);i&&!u&&e?(f.push([f[f.length-1][0],0]),p.push([p[p.length-1][0],0])):!i&&u&&(f.push([m,0]),p.push([m,0])),f.push([m,n]),p.push([m,n]),m+=g,u=i}}));var y=this.dataZoomModel;this._displayables.barGroup.add(new r.Polygon({shape:{points:f},style:n.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new r.Polyline({shape:{points:p},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var i,a=this.ecModel;return t.eachTargetAxis((function(r,o){var s=t.getAxisProxy(r.name,o).getTargetSeriesModels();n.each(s,(function(t){if(!i&&!(!0!==e&&n.indexOf(w,t.get("type"))<0)){var s,l=a.getComponent(r.axis,o).axis,u=M(r.name),c=t.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=t.getData().mapDimension(u),i={thisAxis:l,series:t,thisDim:r.name,otherDim:u,otherAxisInverse:s}}}),this)}),this),i}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],i=t.handleLabels=[],n=this._displayables.barGroup,a=this._size,o=this.dataZoomModel;n.add(t.filler=new h({draggable:!0,cursor:I(this._orient),drift:p(this._onDragMove,this,"all"),ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:o.get("fillerColor"),textPosition:"inside"}})),n.add(new h({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{stroke:o.get("dataBackgroundColor")||o.get("borderColor"),lineWidth:v,fill:"rgba(0,0,0,0)"}})),g([0,1],(function(t){var a=r.createIcon(o.get("handleIcon"),{cursor:I(this._orient),draggable:!0,drift:p(this._onDragMove,this,t),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=a.getBoundingRect();this._handleHeight=l.parsePercent(o.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,a.setStyle(o.getModel("handleStyle").getItemStyle());var u=o.get("handleColor");null!=u&&(a.style.fill=u),n.add(e[t]=a);var c=o.textStyleModel;this.group.add(i[t]=new r.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:c.getTextColor(),textFont:c.getFont()},z2:10}))}),this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[d(t[0],[0,100],e,!0),d(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var i=this.dataZoomModel,n=this._handleEnds,a=this._getViewExtent(),r=i.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];c(e,n,a,i.get("zoomLock")?"all":t,null!=r.minSpan?d(r.minSpan,o,a,!0):null,null!=r.maxSpan?d(r.maxSpan,o,a,!0):null);var s=this._range,l=this._range=f([d(n[0],a,o,!0),d(n[1],a,o,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(t){var e=this._displayables,i=this._handleEnds,n=f(i.slice()),a=this._size;g([0,1],(function(t){var n=e.handles[t],r=this._handleHeight;n.attr({scale:[r/2,r/2],position:[i[t],a[1]/2-r/2]})}),this),e.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:a[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,i=this._displayables,n=i.handleLabels,a=this._orient,o=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();o=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var h=f(this._handleEnds.slice());function d(t){var e=r.getTransform(i.handles[t].parent,this.group),s=r.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+b,u=r.applyTransform([h[t]+(0===t?-l:l),this._size[1]/2],e);n[t].setStyle({x:u[0],y:u[1],textVerticalAlign:a===x?"middle":s,textAlign:a===x?s:"center",text:o[t]})}d.call(this,0),d.call(this,1)},_formatLabel:function(t,e){var i=this.dataZoomModel,a=i.get("labelFormatter"),r=i.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(r,20));return n.isFunction(a)?a(t,o):n.isString(a)?a.replace("{value}",o):o},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,e,i,n){this._dragging=!0,a.stop(n.event);var o=this._displayables.barGroup.getLocalTransform(),s=r.applyTransform([e,i],o,!0),l=this._updateInterval(t,s[0]),u=this.dataZoomModel.get("realtime");this._updateView(!u),l&&u&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var t=this.dataZoomModel.get("realtime");!t&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,i=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(i[0]<0||i[0]>e[0]||i[1]<0||i[1]>e[1])){var n=this._handleEnds,a=(n[0]+n[1])/2,r=this._updateInterval("all",i[0]-a);this._updateView(),r&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(g(this.getTargetCoordInfo(),(function(e){if(!t&&e.length){var i=e[0].model.coordinateSystem;t=i.getRect&&i.getRect()}})),!t){var e=this.api.getWidth(),i=this.api.getHeight();t={x:.2*e,y:.2*i,width:.6*e,height:.6*i}}return t}});function M(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}function I(t){return"vertical"===t?"ns-resize":"ew-resize"}var A=S;t.exports=A},8645:function(t,e,i){var n=i("a04a"),a=i("cd88"),r=i("0cc1"),o=i("6bae"),s=o.radialCoordinate,l=i("43a0"),u=i("b291"),c=i("1352"),h=i("fefa"),d=i("30b9"),f=i("3b07"),p=f.onIrrelevantElement,g=i("20f7"),m=(g.__DEV__,i("263c")),v=m.parsePercent,y=a.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.childPoints,n=i.length,a=e.parentPoint,r=i[0],o=i[n-1];if(1===n)return t.moveTo(a[0],a[1]),void t.lineTo(r[0],r[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=v(e.forkPosition,1),h=[];h[l]=a[l],h[u]=a[u]+(o[u]-a[u])*c,t.moveTo(a[0],a[1]),t.lineTo(h[0],h[1]),t.moveTo(r[0],r[1]),h[l]=r[l],t.lineTo(h[0],h[1]),h[l]=o[l],t.lineTo(h[0],h[1]),t.lineTo(o[0],o[1]);for(var d=1;dw.x,x||(y-=Math.PI));var A=x?"left":"right",T=s.labelModel.get("rotate"),C=T*(Math.PI/180);v.setStyle({textPosition:s.labelModel.get("position")||A,textRotation:null==T?-y:C,textOrigin:"center",verticalAlign:"middle"})}S(o,u,h,i,g,p,m,n,s)}function S(t,e,i,r,o,s,l,u,c){var h=c.edgeShape,d=r.__edge;if("curve"===h)e.parentNode&&e.parentNode!==i&&(d||(d=r.__edge=new a.BezierCurve({shape:I(c,o,o),style:n.defaults({opacity:0,strokeNoScale:!0},c.lineStyle)})),a.updateProps(d,{shape:I(c,s,l),style:n.defaults({opacity:1},c.lineStyle)},t));else if("polyline"===h&&"orthogonal"===c.layout&&e!==i&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var f=e.children,p=[],g=0;g=0;o--)null==i[o]&&(delete a[e[o]],e.pop())}function p(t,e){var i=t.visual,a=[];n.isObject(i)?s(i,(function(t){a.push(t)})):null!=i&&a.push(i);var r={color:1,symbol:1};e||1!==a.length||r.hasOwnProperty(t.type)||(a[1]=a[0]),w(t,a)}function g(t){return{applyVisual:function(e,i,n){e=this.mapValueToVisual(e),n("color",t(i("color"),e))},_doMap:_([0,1])}}function m(t){var e=this.option.visual;return e[Math.round(o(t,[0,1],[0,e.length-1],!0))]||{}}function v(t){return function(e,i,n){n(t,this.mapValueToVisual(e))}}function y(t){var e=this.option.visual;return e[this.option.loop&&t!==u?t%e.length:t]}function x(){return this.option.visual[0]}function _(t){return{linear:function(e){return o(e,t,this.option.visual,!0)},category:y,piecewise:function(e,i){var n=b.call(this,i);return null==n&&(n=o(e,t,this.option.visual,!0)),n},fixed:x}}function b(t){var e=this.option,i=e.pieceList;if(e.hasSpecialVisual){var n=c.findPieceIndex(t,i),a=i[n];if(a&&a.visual)return a.visual[this.type]}}function w(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=n.map(e,(function(t){return a.parse(t)}))),e}var S={linear:function(t){return o(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,i=c.findPieceIndex(t,e,!0);if(null!=i)return o(i,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?u:e},fixed:n.noop};function M(t,e,i){return t?e<=i:e>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[l]+":0",a[u]+":0",n[1-l]+":auto",a[1-u]+":auto",""].join("!important;"),t.appendChild(o),i.push(o)}return i}function h(t,e,i){for(var n=i?"invTrans":"trans",a=e[n],o=e.srcCoords,s=!0,l=[],u=[],c=0;c<4;c++){var h=t[c].getBoundingClientRect(),d=2*c,f=h.left,p=h.top;l.push(f,p),s=s&&o&&f===o[d]&&p===o[d+1],u.push(t[c].offsetLeft,t[c].offsetTop)}return s&&a?a:(e.srcCoords=l,e[n]=i?r(u,l):r(l,u))}function d(t){return"CANVAS"===t.nodeName.toUpperCase()}e.transformLocalCoord=l,e.transformCoordWithViewport=u,e.isCanvasEl=d},"88f8":function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("43a0")),r=i("a04a"),o=i("8970"),s=i("3f44"),l=["#ddd"],u=a.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(t,e){var i=this.option;!e&&o.replaceVisualOption(i,t,["inBrush","outOfBrush"]);var n=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:l},n.hasOwnProperty("liftZ")||(n.liftZ=5)},setAreas:function(t){t&&(this.areas=r.map(t,(function(t){return c(this.option,t)}),this))},setBrushOption:function(t){this.brushOption=c(this.option,t),this.brushType=this.brushOption.brushType}});function c(t,e){return r.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new s(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var h=u;t.exports=h},8970:function(t,e,i){var n=i("a04a"),a=i("882a"),r=n.each;function o(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function s(t,e,i){var o={};return r(e,(function(e){var l=o[e]=s();r(t[e],(function(t,r){if(a.isValidType(r)){var o={type:r,visual:t};i&&i(o,e),l[r]=new a(o),"opacity"===r&&(o=n.clone(o),o.type="colorAlpha",l.__hidden.__alphaForOpacity=new a(o))}}))})),o;function s(){var t=function(){};t.prototype.__hidden=t.prototype;var e=new t;return e}}function l(t,e,i){var a;n.each(i,(function(t){e.hasOwnProperty(t)&&o(e[t])&&(a=!0)})),a&&n.each(i,(function(i){e.hasOwnProperty(i)&&o(e[i])?t[i]=n.clone(e[i]):delete t[i]}))}function u(t,e,i,r,o,s){var l,u={};function c(t){return i.getItemVisual(l,t)}function h(t,e){i.setItemVisual(l,t,e)}function d(t,n){l=null==s?t:n;var a=i.getRawDataItem(l);if(!a||!1!==a.visualMap)for(var d=r.call(o,t),f=e[d],p=u[d],g=0,m=p.length;g=i.x&&t<=i.x+i.width&&e>=i.y&&e<=i.y+i.height},clone:function(){return new l(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},l.create=function(t){return new l(t.x,t.y,t.width,t.height)};var u=l;t.exports=u},"8a7b":function(t,e,i){i("c29b");var n=i("aa9d"),a=n.registerPainter,r=i("fdbb");a("svg",r)},"8a7e":function(t,e,i){var n=i("43a0"),a=i("e634");i("ff7b"),i("12f1"),i("16b0"),i("38be"),n.registerPreprocessor(a)},"8d4e":function(t,e){var i={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},n=9;e.ContextCachedBy=i,e.WILL_BE_RESTORED=n},"8d59":function(t,e,i){var n=i("a04a"),a=i("cd88"),r=i("8223"),o=i("70b8"),s=["axisLine","axisTickLabel","axisName"],l=["splitLine","splitArea","minorSplitLine"],u=o.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var i=t.axis,a=i.polar,o=a.getAngleAxis(),u=i.getTicksCoords(),h=i.getMinorTicksCoords(),d=o.getExtent()[0],f=i.getExtent(),p=c(a,t,d),g=new r(t,p);n.each(s,g.add,g),this.group.add(g.getGroup()),n.each(l,(function(e){t.get(e+".show")&&!i.scale.isBlank()&&this["_"+e](t,a,d,f,u,h)}),this)}},_splitLine:function(t,e,i,r,o){var s=t.getModel("splitLine"),l=s.getModel("lineStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=0;d "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),m=g;t.exports=m},9001:function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("415e")),r=a.makeInner,o=a.getDataItemValue,s=i("a04a"),l=s.createHashMap,u=s.each,c=s.map,h=s.isArray,d=s.isString,f=s.isObject,p=s.isTypedArray,g=s.isArrayLike,m=s.extend,v=(s.assert,i("bf06")),y=i("dee7"),x=y.SOURCE_FORMAT_ORIGINAL,_=y.SOURCE_FORMAT_ARRAY_ROWS,b=y.SOURCE_FORMAT_OBJECT_ROWS,w=y.SOURCE_FORMAT_KEYED_COLUMNS,S=y.SOURCE_FORMAT_UNKNOWN,M=y.SOURCE_FORMAT_TYPED_ARRAY,I=y.SERIES_LAYOUT_BY_ROW,A={Must:1,Might:2,Not:3},T=r();function C(t){var e=t.option.source,i=S;if(p(e))i=M;else if(h(e)){0===e.length&&(i=_);for(var n=0,a=e.length;n=0&&i.push(t)})),i}t.topologicalTravel=function(t,e,a,r){if(t.length){var o=i(e),s=o.graph,l=o.noEntryList,u={};n.each(t,(function(t){u[t]=!0}));while(l.length){var c=l.pop(),h=s[c],d=!!u[c];d&&(a.call(r,c,h.originalDeps.slice()),delete u[c]),n.each(h.successor,d?p:f)}n.each(u,(function(){throw new Error("Circle dependency may exists")}))}function f(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function p(t){u[t]=!0,f(t)}}}e.getUID=s,e.enableSubTypeDefaulter=l,e.enableTopologicalTravel=u},"919a":function(t,e,i){var n=i("43a0"),a={type:"selectDataRange",event:"dataRangeSelected",update:"update"};n.registerAction(a,(function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))}))},"91c4":function(t,e,i){var n=i("a04a"),a=i("62c3"),r=i("4df2"),o=i("dee7"),s=o.SOURCE_FORMAT_ORIGINAL,l=i("02b5"),u=l.getDimensionTypeByAxis,c=i("415e"),h=c.getDataItemValue,d=i("90df"),f=i("dbd6"),p=f.getCoordSysInfoBySeries,g=i("bf06"),m=i("eff3"),v=m.enableDataStack,y=i("9001"),x=y.makeSeriesEncodeForAxisCoordSys;function _(t,e,i){i=i||{},g.isInstance(t)||(t=g.seriesDataToSource(t));var o,s=e.get("coordinateSystem"),l=d.get(s),c=p(e);c&&(o=n.map(c.coordSysDims,(function(t){var e={name:t},i=c.axisMap.get(t);if(i){var n=i.get("type");e.type=u(n)}return e}))),o||(o=l&&(l.getDimensionsInfo?l.getDimensionsInfo():l.dimensions.slice())||["x","y"]);var h,f,m=r(t,{coordDimensions:o,generateCoord:i.generateCoord,encodeDefaulter:i.useEncodeDefaulter?n.curry(x,o,e):null});c&&n.each(m,(function(t,e){var i=t.coordDim,n=c.categoryAxisMap.get(i);n&&(null==h&&(h=e),t.ordinalMeta=n.getOrdinalMeta()),null!=t.otherDims.itemName&&(f=!0)})),f||null==h||(m[h].otherDims.itemName=0);var y=v(e,m),_=new a(m,e);_.setCalculationInfo(y);var w=null!=h&&b(t)?function(t,e,i,n){return n===h?i:this.defaultDimValueGetter(t,e,i,n)}:null;return _.hasItemOption=!1,_.initData(t,null,w),_}function b(t){if(t.sourceFormat===s){var e=w(t.data||[]);return null!=e&&!n.isArray(h(e))}}function w(t){var e=0;while(ee[0]&&(e=e.slice().reverse());var n=t.coordToPoint([e[0],i]),a=t.coordToPoint([e[1],i]);return{x1:n[0],y1:n[1],x2:a[0],y2:a[1]}}function c(t){var e=t.getRadiusAxis();return e.inverse?0:1}function h(t){var e=t[0],i=t[t.length-1];e&&i&&Math.abs(Math.abs(e.coord-i.coord)-360)<1e-4&&t.pop()}var d=o.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var i=t.axis,a=i.polar,r=a.getRadiusAxis().getExtent(),o=i.getTicksCoords(),s=i.getMinorTicksCoords(),u=n.map(i.getViewLabels(),(function(t){t=n.clone(t);return t.coord=i.dataToCoord(t.tickValue),t}));h(u),h(o),n.each(l,(function(e){!t.get(e+".show")||i.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,a,o,s,r,u)}),this)}},_axisLine:function(t,e,i,n,r){var o,s=t.getModel("axisLine.lineStyle"),l=c(e),u=l?0:1;o=0===r[u]?new a.Circle({shape:{cx:e.cx,cy:e.cy,r:r[l]},style:s.getLineStyle(),z2:1,silent:!0}):new a.Ring({shape:{cx:e.cx,cy:e.cy,r:r[l],r0:r[u]},style:s.getLineStyle(),z2:1,silent:!0}),o.style.fill=null,this.group.add(o)},_axisTick:function(t,e,i,r,o){var s=t.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),h=o[c(e)],d=n.map(i,(function(t){return new a.Line({shape:u(e,[h,h+l],t.coord)})}));this.group.add(a.mergePath(d,{style:n.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_minorTick:function(t,e,i,r,o){if(r.length){for(var s=t.getModel("axisTick"),l=t.getModel("minorTick"),h=(s.get("inside")?-1:1)*l.get("length"),d=o[c(e)],f=[],p=0;pv?"left":"right",_=Math.abs(m[1]-y)/g<.3?"middle":m[1]>y?"top":"bottom";h&&h[u]&&h[u].textStyle&&(o=new r(h[u].textStyle,d,d.ecModel));var b=new a.Text({silent:s.isLabelSilent(t)});this.group.add(b),a.setTextStyle(b.style,o,{x:m[0],y:m[1],textFill:o.getTextColor()||t.get("axisLine.lineStyle.color"),text:i.formattedLabel,textAlign:x,textVerticalAlign:_}),p&&(b.eventData=s.makeAxisEventDataBase(t),b.eventData.targetType="axisLabel",b.eventData.value=i.rawLabel)}),this)},_splitLine:function(t,e,i,r,o){var s=t.getModel("splitLine"),l=s.getModel("lineStyle"),c=l.get("color"),h=0;c=c instanceof Array?c:[c];for(var d=[],f=0;f=11?function(){var e,i=this.__clipPaths,n=this.style;if(i)for(var r=0;r=0;l--){var u=a["asc"===n?o-l-1:l].getValue();u/i*es[1]&&(s[1]=e)}))}else s=[NaN,NaN];return{sum:n,dataExtent:s}}function M(t,e,i){for(var n,a=0,r=1/0,o=0,s=t.length;oa&&(a=n));var l=t.area*t.area,u=e*e*i;return l?c(u*a/l,l/(u*r)):1/0}function I(t,e,i,n,a){var r=e===i.width?0:1,o=1-r,s=["x","y"],l=["width","height"],u=i[s[r]],d=e?t.area/e:0;(a||d>i[l[o]])&&(d=i[l[o]]);for(var f=0,p=t.length;fs&&(c=s),o=r}c0?o:s)}function c(t,e){return e.get(t>0?a:r)}}};t.exports=l},9821:function(t,e,i){var n=i("43a0");n.registerAction({type:"brush",event:"brush"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),n.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},(function(){})),n.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},(function(){}))},"985b":function(t,e,i){var n=i("5198"),a=n.extend({type:"dataZoom.select"});t.exports=a},9890:function(t,e,i){var n=i("a04a"),a=i("2353"),r=i("033d"),o=i("02ec"),s=i("cd88"),l=i("263c"),u=i("06e5"),c=i("65e7"),h=i("415e"),d=l.linearMap,f=n.each,p=Math.min,g=Math.max,m=12,v=6,y=o.extend({type:"visualMap.continuous",init:function(){y.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(t,e,i,n){n&&"selectDataRange"===n.type&&n.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var i=t.get("text");this._renderEndsText(e,i,0),this._renderEndsText(e,i,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},_renderEndsText:function(t,e,i){if(e){var n=e[1-i];n=null!=n?n+"":"";var a=this.visualMapModel,r=a.get("textGap"),o=a.itemSize,l=this._shapes.barGroup,u=this._applyTransform([o[0]/2,0===i?-r:o[1]+r],l),c=this._applyTransform(0===i?"bottom":"top",l),h=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:u[0],y:u[1],textVerticalAlign:"horizontal"===h?"middle":c,textAlign:"horizontal"===h?c:"center",text:n,textFont:d.getFont(),textFill:d.getTextColor()}}))}},_renderBar:function(t){var e=this.visualMapModel,i=this._shapes,a=e.itemSize,r=this._orient,o=this._useHandle,s=c.getItemAlign(e,this.api,a),l=i.barGroup=this._createBarGroup(s);l.add(i.outOfRange=x()),l.add(i.inRange=x(null,o?M(this._orient):null,n.bind(this._dragHandle,this,"all",!1),n.bind(this._dragHandle,this,"all",!0)));var u=e.textStyleModel.getTextRect("国"),h=g(u.width,u.height);o&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(l,0,a,h,r,s),this._createHandle(l,1,a,h,r,s)),this._createIndicator(l,a,h,r),t.add(l)},_createHandle:function(t,e,i,a,o){var l=n.bind(this._dragHandle,this,e,!1),u=n.bind(this._dragHandle,this,e,!0),c=x(_(e,a),M(this._orient),l,u);c.position[0]=i[0],t.add(c);var h=this.visualMapModel.textStyleModel,d=new s.Text({draggable:!0,drift:l,onmousemove:function(t){r.stop(t.event)},ondragend:u,style:{x:0,y:0,text:"",textFont:h.getFont(),textFill:h.getTextColor()}});this.group.add(d);var f=["horizontal"===o?a/2:1.5*a,"horizontal"===o?0===e?-1.5*a:1.5*a:0===e?-a/2:a/2],p=this._shapes;p.handleThumbs[e]=c,p.handleLabelPoints[e]=f,p.handleLabels[e]=d},_createIndicator:function(t,e,i,n){var a=x([[0,0]],"move");a.position[0]=e[0],a.attr({invisible:!0,silent:!0}),t.add(a);var r=this.visualMapModel.textStyleModel,o=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:r.getFont(),textFill:r.getTextColor()}});this.group.add(o);var l=["horizontal"===n?i/2:v+3,0],u=this._shapes;u.indicator=a,u.indicatorLabel=o,u.indicatorLabelPoint=l},_dragHandle:function(t,e,i,n){if(this._useHandle){if(this._dragging=!e,!e){var a=this._applyTransform([i,n],this._shapes.barGroup,!0);this._updateInterval(t,a[1]),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():S(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),i=t.getExtent(),n=[0,t.itemSize[1]];this._handleEnds=[d(e[0],i,n,!0),d(e[1],i,n,!0)]},_updateInterval:function(t,e){e=e||0;var i=this.visualMapModel,n=this._handleEnds,a=[0,i.itemSize[1]];u(e,n,a,t,0);var r=i.getExtent();this._dataInterval=[d(n[0],a,r,!0),d(n[1],a,r,!0)]},_updateView:function(t){var e=this.visualMapModel,i=e.getExtent(),n=this._shapes,a=[0,e.itemSize[1]],r=t?a:this._handleEnds,o=this._createBarVisual(this._dataInterval,i,r,"inRange"),s=this._createBarVisual(i,i,a,"outOfRange");n.inRange.setStyle({fill:o.barColor,opacity:o.opacity}).setShape("points",o.barPoints),n.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(r,o)},_createBarVisual:function(t,e,i,n){var r={forceState:n,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,r),s=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],l=this._createBarPoints(i,s);return{barColor:new a(0,0,0,1,o),barPoints:l,handlesColor:[o[0].color,o[o.length-1].color]}},_makeColorGradient:function(t,e){var i=100,n=[],a=(t[1]-t[0])/i;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;rt[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/i})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},_createBarPoints:function(t,e){var i=this.visualMapModel.itemSize;return[[i[0]-e[0],t[0]],[i[0],t[0]],[i[0],t[1]],[i[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,i=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||i?"horizontal"===e&&i?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||i?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,a=i.handleThumbs,r=i.handleLabels;f([0,1],(function(o){var l=a[o];l.setStyle("fill",e.handlesColor[o]),l.position[1]=t[o];var u=s.applyTransform(i.handleLabelPoints[o],s.getTransform(l,this.group));r[o].setStyle({x:u[0],y:u[1],text:n.formatValueText(this._dataInterval[o]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===o?"bottom":"top":"left",i.barGroup)})}),this)}},_showIndicator:function(t,e,i,n){var a=this.visualMapModel,r=a.getExtent(),o=a.itemSize,l=[0,o[1]],u=d(t,r,l,!0),c=this._shapes,h=c.indicator;if(h){h.position[1]=u,h.attr("invisible",!1),h.setShape("points",b(!!i,n,u,o[1]));var f={convertOpacityToAlpha:!0},p=this.getControllerVisual(t,"color",f);h.setStyle("fill",p);var g=s.applyTransform(c.indicatorLabelPoint,s.getTransform(h,this.group)),m=c.indicatorLabel;m.attr("invisible",!1);var v=this._applyTransform("left",c.barGroup),y=this._orient;m.setStyle({text:(i||"")+a.formatValueText(e),textVerticalAlign:"horizontal"===y?v:"middle",textAlign:"horizontal"===y?"center":v,x:g[0],y:g[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var i=t.visualMapModel.itemSize,n=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);n[1]=p(g(0,n[1]),i[1]),t._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var i=this.visualMapModel,n=i.itemSize;if(i.option.hoverLink){var a=[0,n[1]],r=i.getExtent();t=p(g(a[0],t),a[1]);var o=w(i,r,a),s=[t-o,t+o],l=d(t,a,r,!0),u=[d(s[0],a,r,!0),d(s[1],a,r,!0)];s[0]a[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",o):u[1]===1/0?this._showIndicator(l,u[0],"> ",o):this._showIndicator(l,l,"≈ ",o));var f=this._hoverLinkDataIndices,m=[];(e||S(i))&&(m=this._hoverLinkDataIndices=i.findTargetDataIndices(u));var v=h.compressBatches(f,m);this._dispatchHighDown("downplay",c.makeHighDownBatch(v[0],i)),this._dispatchHighDown("highlight",c.makeHighDownBatch(v[1],i))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,i=this.visualMapModel;if(e&&null!=e.dataIndex){var n=this.ecModel.getSeriesByIndex(e.seriesIndex);if(i.isTargetSeries(n)){var a=n.getData(e.dataType),r=a.get(i.getDataDimension(a),e.dataIndex,!0);isNaN(r)||this._showIndicator(r,r)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(t,this.visualMapModel)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,i,a){var r=s.getTransform(e,a?null:this.group);return s[n.isArray(t)?"applyTransform":"transformDirection"](t,r,i)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function x(t,e,i,n){return new s.Polygon({shape:{points:t},draggable:!!i,cursor:e,drift:i,onmousemove:function(t){r.stop(t.event)},ondragend:n})}function _(t,e){return 0===t?[[0,0],[e,0],[e,-e]]:[[0,0],[e,0],[e,e]]}function b(t,e,i,n){return t?[[0,-p(e,g(i,0))],[v,0],[0,p(e,g(n-i,0))]]:[[0,0],[5,-5],[5,5]]}function w(t,e,i){var n=m/2,a=t.get("hoverLinkDataSize");return a&&(n=d(a,e,i,!0)/2),n}function S(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function M(t){return"vertical"===t?"ns-resize":"ew-resize"}var I=y;t.exports=I},"989f":function(t,e,i){var n=i("a04a"),a=i("7c4c"),r=i("b15b"),o=a.prototype,s=a.extend({type:"ordinal",init:function(t,e){t&&!n.isArray(t)||(t=new r({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.categories.length-1]},parse:function(t){return"string"===typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),o.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return o.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(o.scale.call(this,t))},getTicks:function(){var t=[],e=this._extent,i=e[0];while(i<=e[1])t.push(i),i++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:n.noop,niceExtent:n.noop});s.create=function(){return new s};var l=s;t.exports=l},9916:function(t,e,i){var n=i("59af"),a=n.scaleAndAdd;function r(t,e,i){for(var r=i.rect,o=r.width,s=r.height,l=[r.x+o/2,r.y+s/2],u=null==i.gravity?.1:i.gravity,c=0;c=2){var k=A[0][0],O=A[1][0],R=A[0][1]*e.opacity,E=A[1][1]*e.opacity;t.type=a,t.method="none",t.focus="100%",t.angle=o,t.color=k,t.color2=O,t.colors=C.join(","),t.opacity=E,t.opacity2=R}"radial"===a&&(t.focusposition=s.join(","))}else V(t,n,e.opacity)},G=function(t,e){e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e.stroke||e.stroke instanceof m||V(t,e.stroke,e.opacity)},H=function(t,e,i,n){var a="fill"===e,r=t.getElementsByTagName(e)[0];null!=i[e]&&"none"!==i[e]&&(a||!a&&i.lineWidth)?(t[a?"filled":"stroked"]="true",i[e]instanceof m&&E(t,r),r||(r=v.createNode(e)),a?F(r,i,n):G(r,i),R(t,r)):(t[a?"filled":"stroked"]="false",E(t,r))},W=[[],[],[]],U=function(t,e){var i,n,a,o,s,l,u=y.M,c=y.C,h=y.L,d=y.A,f=y.Q,p=[],g=t.data,m=t.len();for(o=0;o.01?H&&(U+=270/T):Math.abs(Z-z)<1e-4?H&&UN?A-=270/T:A+=270/T:H&&Zz?M+=270/T:M-=270/T),p.push(Y,x(((N-V)*O+P)*T-C),I,x(((z-B)*R+k)*T-C),I,x(((N+V)*O+P)*T-C),I,x(((z+B)*R+k)*T-C),I,x((U*O+P)*T-C),I,x((Z*R+k)*T-C),I,x((M*O+P)*T-C),I,x((A*R+k)*T-C)),s=M,l=A;break;case y.R:var j=W[0],X=W[1];j[0]=g[o++],j[1]=g[o++],X[0]=j[0]+g[o++],X[1]=j[1]+g[o++],e&&(r(j,j,e),r(X,X,e)),j[0]=x(j[0]*T-C),X[0]=x(X[0]*T-C),j[1]=x(j[1]*T-C),X[1]=x(X[1]*T-C),p.push(" m ",j[0],I,j[1]," l ",X[0],I,j[1]," l ",X[0],I,X[1]," l ",j[0],I,X[1]);break;case y.Z:p.push(" x ")}if(i>0){p.push(n);for(var q=0;qK&&(q=0,X={});var i,n=$.style;try{n.font=t,i=n.fontFamily.split(",")[0]}catch(a){}e={style:n.fontStyle||j,variant:n.fontVariant||j,weight:n.fontWeight||j,size:0|parseFloat(n.fontSize||12),family:i||"Microsoft YaHei"},X[t]=e,q++}return e};l.$override("measureText",(function(t,e){var i=v.doc;Y||(Y=i.createElement("div"),Y.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",v.doc.body.appendChild(Y));try{Y.style.font=e}catch(n){}return Y.innerHTML="",Y.appendChild(i.createTextNode(t)),{width:Y.offsetWidth}}));for(var Q=new o,tt=function(t,e,i,n){var a=this.style;this.__dirty&&u.normalizeTextStyle(a,!0);var o=a.text;if(null!=o&&(o+=""),o){if(a.rich){var s=l.parseRichText(o,a);o=[];for(var c=0;c0&&(s=this.getLineLength(n)/u*1e3),s!==this._period||l!==this._loop){n.stopAnimation();var d=c;h&&(d=c(i)),n.__t>0&&(d=-s*n.__t),n.__t=0;var f=n.animate("",l).when(s,{__t:1}).delay(d).during((function(){a.updateSymbolPosition(n)}));l||f.done((function(){a.remove(n)})),f.start()}this._period=s,this._loop=l}},h.getLineLength=function(t){return l.dist(t.__p1,t.__cp1)+l.dist(t.__cp1,t.__p2)},h.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},h.updateData=function(t,e,i){this.childAt(0).updateData(t,e,i),this._updateEffectSymbol(t,e)},h.updateSymbolPosition=function(t){var e=t.__p1,i=t.__p2,n=t.__cp1,a=t.__t,r=t.position,o=[r[0],r[1]],s=u.quadraticAt,c=u.quadraticDerivativeAt;r[0]=s(e[0],n[0],i[0],a),r[1]=s(e[1],n[1],i[1],a);var h=c(e[0],n[0],i[0],a),d=c(e[1],n[1],i[1],a);if(t.rotation=-Math.atan2(d,h)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==t.__lastT&&t.__lastT=e:"max"===i?t<=e:t===e}function g(t,e){return t.join(",")===e.join(",")}function m(t,e){e=e||{},o(e,(function(e,i){if(null!=e){var n=t[i];if(r.hasClass(i)){e=a.normalizeToArray(e),n=a.normalizeToArray(n);var o=a.mappingToExists(n,e);t[i]=l(o,(function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option}))}else t[i]=u(n,e,!0)}}))}h.prototype={constructor:h,setOption:function(t,e){t&&n.each(a.normalizeToArray(t.series),(function(t){t&&t.data&&n.isTypedArray(t.data)&&n.setAsPrimitive(t.data)})),t=s(t);var i=this._optionBackup,r=d.call(this,t,e,!i);this._newBaseOption=r.baseOption,i?(m(i.baseOption,r.baseOption),r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,i=this._timelineOptions;if(i.length){var n=t.getComponent("timeline");n&&(e=s(i[n.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e=this._api.getWidth(),i=this._api.getHeight(),n=this._mediaList,a=this._mediaDefault,r=[],o=[];if(!n.length&&!a)return o;for(var u=0,c=n.length;u=2){if(o&&"spline"!==o){var s=a(r,o,i,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var l=r.length,u=0;u<(i?l:l-1);u++){var c=s[2*u],h=s[2*u+1],d=r[(u+1)%l];t.bezierCurveTo(c[0],c[1],h[0],h[1],d[0],d[1])}}else{"spline"===o&&(r=n(r,i)),t.moveTo(r[0][0],r[0][1]);u=1;for(var f=r.length;uu&&(o=i+n,i*=u/o,n*=u/o),a+r>u&&(o=a+r,a*=u/o,r*=u/o),n+a>c&&(o=n+a,n*=c/o,a*=c/o),i+r>c&&(o=i+r,i*=c/o,r*=c/o),t.moveTo(s+i,l),t.lineTo(s+u-n,l),0!==n&&t.arc(s+u-n,l+n,n,-Math.PI/2,0),t.lineTo(s+u,l+c-a),0!==a&&t.arc(s+u-a,l+c-a,a,0,Math.PI/2),t.lineTo(s+r,l+c),0!==r&&t.arc(s+r,l+c-r,r,Math.PI/2,Math.PI),t.lineTo(s,l+i),0!==i&&t.arc(s+i,l+i,i,Math.PI,1.5*Math.PI)}e.buildPath=i},"9db3":function(t,e,i){var n=i("a04a"),a=i("0764"),r=i("570e"),o=r.retrieveRawValue;function s(t,e){var i=e.getModel("aria");if(i.get("show"))if(i.get("description"))t.setAttribute("aria-label",i.get("description"));else{var r=0;e.eachSeries((function(t,e){++r}),this);var s,l=i.get("data.maxCount")||10,u=i.get("series.maxCount")||10,c=Math.min(r,u);if(!(r<1)){var h=m();s=h?p(g("general.withTitle"),{title:h}):g("general.withoutTitle");var d=[],f=r>1?"series.multiple.prefix":"series.single.prefix";s+=p(g(f),{seriesCount:r}),e.eachSeries((function(t,e){if(e1?"multiple":"single")+".";i=g(n?a+"withName":a+"withoutName"),i=p(i,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:v(t.subType)});var s=t.getData();window.data=s,s.count()>l?i+=p(g("data.partialData"),{displayCnt:l}):i+=g("data.allData");for(var u=[],h=0;h=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(t,e,i,n){return i*(1-Math.pow(2,-10*t/n))*1024/1023+e}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=(0,n.requestAnimationFrame)(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){(0,n.cancelAnimationFrame)(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,(0,n.requestAnimationFrame)(this.count)},reset:function(){this.startTime=null,(0,n.cancelAnimationFrame)(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(t){this.startTime||(this.startTime=t),this.timestamp=t;var e=t-this.startTime;this.remaining=this.localDuration-e,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(e,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(e,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(e/this.localDuration):this.printVal=this.localStartVal+(this.localStartVal-this.startVal)*(e/this.localDuration),this.countDown?this.printVal=this.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),e1?this.decimal+e[1]:"",a=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;a.test(i);)i=i.replace(a,"$1"+this.separator+"$2");return this.prefix+i+n+this.suffix}},destroyed:function(){(0,n.cancelAnimationFrame)(this.rAF)}}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(0),a=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=a.default,"undefined"!=typeof window&&window.Vue&&window.Vue.component("count-to",a.default)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=0,a="webkit moz ms o".split(" "),r=void 0,o=void 0;if("undefined"==typeof window)e.requestAnimationFrame=r=function(){},e.cancelAnimationFrame=o=function(){};else{e.requestAnimationFrame=r=window.requestAnimationFrame,e.cancelAnimationFrame=o=window.cancelAnimationFrame;for(var s=void 0,l=0;l>>1;t[a][1]i&&(s=i);var l=v.length,h=g(v,s,0,l),d=v[Math.min(h,l-1)],f=d[1];if("year"===d[0]){var p=r/f,m=a.nice(p/t,!0);f*=m}var y=this.getSetting("useUTC")?0:60*new Date(+n[0]||+n[1]).getTimezoneOffset()*1e3,x=[Math.round(u((n[0]-y)/f)*f+y),Math.round(c((n[1]-y)/f)*f+y)];o.fixExtent(x,n),this._stepLvl=d,this._interval=f,this._niceExtent=x},parse:function(t){return+a.parseDate(t)}});n.each(["contain","normalize"],(function(t){m.prototype[t]=function(e){return l[t].call(this,this.parse(e))}}));var v=[["hh:mm:ss",h],["hh:mm:ss",5*h],["hh:mm:ss",10*h],["hh:mm:ss",15*h],["hh:mm:ss",30*h],["hh:mm\nMM-dd",d],["hh:mm\nMM-dd",5*d],["hh:mm\nMM-dd",10*d],["hh:mm\nMM-dd",15*d],["hh:mm\nMM-dd",30*d],["hh:mm\nMM-dd",f],["hh:mm\nMM-dd",2*f],["hh:mm\nMM-dd",6*f],["hh:mm\nMM-dd",12*f],["MM-dd\nyyyy",p],["MM-dd\nyyyy",2*p],["MM-dd\nyyyy",3*p],["MM-dd\nyyyy",4*p],["MM-dd\nyyyy",5*p],["MM-dd\nyyyy",6*p],["week",7*p],["MM-dd\nyyyy",10*p],["week",14*p],["week",21*p],["month",31*p],["week",42*p],["month",62*p],["week",70*p],["quarter",95*p],["month",31*p*4],["month",31*p*5],["half-year",380*p/2],["month",31*p*8],["month",31*p*10],["year",380*p]];m.create=function(t){return new m({useUTC:t.ecModel.get("useUTC")})};var y=m;t.exports=y},a00b:function(t,e,i){var n=i("df8d"),a=n.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var i=e.cx,n=e.cy,a=2*Math.PI;t.moveTo(i+e.r,n),t.arc(i,n,e.r,0,a,!1),t.moveTo(i+e.r0,n),t.arc(i,n,e.r0,0,a,!0)}});t.exports=a},a04a:function(t,e){var i={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},n={"[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},a=Object.prototype.toString,r=Array.prototype,o=r.forEach,s=r.filter,l=r.slice,u=r.map,c=r.reduce,h={};function d(t,e){"createCanvas"===t&&(y=null),h[t]=e}function f(t){if(null==t||"object"!==typeof t)return t;var e=t,r=a.call(t);if("[object Array]"===r){if(!q(t)){e=[];for(var o=0,s=t.length;oe+s&&o>n+s||ot+s&&r>i+s||r0){var n,a,o=this.getDefs(!0),s=e[0],l=i?"_textDom":"_dom";s[l]?(a=s[l].getAttribute("id"),n=s[l],o.contains(n)||o.appendChild(n)):(a="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,n=this.createElement("clipPath"),n.setAttribute("id",a),o.appendChild(n),s[l]=n);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!i){var c=Array.prototype.slice.call(s.transform);r.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=c}else u.brush(s);var h=this.getSvgElement(s);n.innerHTML="",n.appendChild(h.cloneNode()),t.setAttribute("clip-path","url(#"+a+")"),e.length>1&&this.updateDom(n,e.slice(1),i)}else t&&t.setAttribute("clip-path","none")},o.prototype.markUsed=function(t){var e=this;t.__clipPaths&&a.each(t.__clipPaths,(function(t){t._dom&&n.prototype.markUsed.call(e,t._dom),t._textDom&&n.prototype.markUsed.call(e,t._textDom)}))};var s=o;t.exports=s},a181:function(t,e,i){var n=i("43a0"),a=i("a04a"),r=i("cd88"),o=i("2cb9"),s=o.createSymbol,l=i("263c"),u=l.parsePercent,c=l.isNumeric,h=i("c276"),d=h.setLabel,f=["itemStyle","borderWidth"],p=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],g=new r.Circle,m=n.extendChartView({type:"pictorialBar",render:function(t,e,i){var n=this.group,a=t.getData(),r=this._data,o=t.coordinateSystem,s=o.getBaseAxis(),l=!!s.isHorizontal(),u=o.grid.getRect(),c={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:t,coordSys:o,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:p[+l],categoryDim:p[1-l]};return a.diff(r).add((function(t){if(a.hasValue(t)){var e=C(a,t),i=v(a,t,e,c),r=k(a,c,i);a.setItemGraphicEl(t,r),n.add(r),V(r,c,i)}})).update((function(t,e){var i=r.getItemGraphicEl(e);if(a.hasValue(t)){var o=C(a,t),s=v(a,t,o,c),l=E(a,s);i&&l!==i.__pictorialShapeStr&&(n.remove(i),a.setItemGraphicEl(t,null),i=null),i?O(i,c,s):i=k(a,c,s,!0),a.setItemGraphicEl(t,i),i.__pictorialSymbolMeta=s,n.add(i),V(i,c,s)}else n.remove(i)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&R(r,t,e.__pictorialSymbolMeta.animationModel,e)})).execute(),this._data=a,this.group},dispose:a.noop,remove:function(t,e){var i=this.group,n=this._data;t.get("animation")?n&&n.eachItemGraphicEl((function(e){R(n,e.dataIndex,t,e)})):i.removeAll()}});function v(t,e,i,n){var r=t.getItemLayout(e),o=i.get("symbolRepeat"),s=i.get("symbolClip"),l=i.get("symbolPosition")||"start",c=i.get("symbolRotate"),h=(c||0)*Math.PI/180||0,d=i.get("symbolPatternSize")||2,f=i.isAnimationEnabled(),p={dataIndex:e,layout:r,itemModel:i,symbolType:t.getItemVisual(e,"symbol")||"circle",color:t.getItemVisual(e,"color"),symbolClip:s,symbolRepeat:o,symbolRepeatDirection:i.get("symbolRepeatDirection"),symbolPatternSize:d,rotation:h,animationModel:f?i:null,hoverAnimation:f&&i.get("hoverAnimation"),z2:i.getShallow("z",!0)||0};y(i,o,r,n,p),_(t,e,r,o,s,p.boundingLength,p.pxSign,d,n,p),b(i,p.symbolScale,h,n,p);var g=p.symbolSize,m=i.get("symbolOffset");return a.isArray(m)&&(m=[u(m[0],g[0]),u(m[1],g[1])]),w(i,g,r,o,s,m,l,p.valueLineWidth,p.boundingLength,p.repeatCutLength,n,p),p}function y(t,e,i,n,r){var o,s=n.valueDim,l=t.get("symbolBoundingData"),u=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),h=1-+(i[s.wh]<=0);if(a.isArray(l)){var d=[x(u,l[0])-c,x(u,l[1])-c];d[1]0?1:o<0?-1:0}function x(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function _(t,e,i,n,r,o,s,l,c,h){var d=c.valueDim,f=c.categoryDim,p=Math.abs(i[f.wh]),g=t.getItemVisual(e,"symbolSize");a.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]),g[f.index]=u(g[f.index],p),g[d.index]=u(g[d.index],n?p:Math.abs(o)),h.symbolSize=g;var m=h.symbolScale=[g[0]/l,g[1]/l];m[d.index]*=(c.isHorizontal?-1:1)*s}function b(t,e,i,n,a){var r=t.get(f)||0;r&&(g.attr({scale:e.slice(),rotation:i}),g.updateTransform(),r/=g.getLineScale(),r*=e[n.valueDim.index]),a.valueLineWidth=r}function w(t,e,i,n,r,o,s,l,h,d,f,p){var g=f.categoryDim,m=f.valueDim,v=p.pxSign,y=Math.max(e[m.index]+l,0),x=y;if(n){var _=Math.abs(h),b=a.retrieve(t.get("symbolMargin"),"15%")+"",w=!1;b.lastIndexOf("!")===b.length-1&&(w=!0,b=b.slice(0,b.length-1)),b=u(b,e[m.index]);var S=Math.max(y+2*b,0),M=w?0:2*b,I=c(n),A=I?n:B((_+M)/S),T=_-A*y;b=T/2/(w?A:A-1),S=y+2*b,M=w?0:2*b,I||"fixed"===n||(A=d?B((Math.abs(d)+M)/S):0),x=A*S-M,p.repeatTimes=A,p.symbolMargin=b}var C=v*(x/2),D=p.pathPosition=[];D[g.index]=i[g.wh]/2,D[m.index]="start"===s?C:"end"===s?h-C:h/2,o&&(D[0]+=o[0],D[1]+=o[1]);var L=p.bundlePosition=[];L[g.index]=i[g.xy],L[m.index]=i[m.xy];var P=p.barRectShape=a.extend({},i);P[m.wh]=v*Math.max(Math.abs(i[m.wh]),Math.abs(D[m.index]+C)),P[g.wh]=i[g.wh];var k=p.clipShape={};k[g.xy]=-i[g.xy],k[g.wh]=f.ecSize[g.wh],k[m.xy]=0,k[m.wh]=i[m.wh]}function S(t){var e=t.symbolPatternSize,i=s(t.symbolType,-e/2,-e/2,e,e,t.color);return i.attr({culling:!0}),"image"!==i.type&&i.setStyle({strokeNoScale:!0}),i}function M(t,e,i,n){var a=t.__pictorialBundle,r=i.symbolSize,o=i.valueLineWidth,s=i.pathPosition,l=e.valueDim,u=i.repeatTimes||0,c=0,h=r[e.valueDim.index]+o+2*i.symbolMargin;for(N(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c0:n<0)&&(a=u-1-t),e[l.index]=h*(a-u/2+.5)+s[l.index],{position:e,scale:i.symbolScale.slice(),rotation:i.rotation}}function g(){N(t,(function(t){t.trigger("emphasis")}))}function m(){N(t,(function(t){t.trigger("normal")}))}}function I(t,e,i,n){var a=t.__pictorialBundle,r=t.__pictorialMainPath;function o(){this.trigger("emphasis")}function s(){this.trigger("normal")}r?z(r,null,{position:i.pathPosition.slice(),scale:i.symbolScale.slice(),rotation:i.rotation},i,n):(r=t.__pictorialMainPath=S(i),a.add(r),z(r,{position:i.pathPosition.slice(),scale:[0,0],rotation:i.rotation},{scale:i.symbolScale.slice()},i,n),r.on("mouseover",o).on("mouseout",s)),P(r,i)}function A(t,e,i){var n=a.extend({},e.barRectShape),o=t.__pictorialBarRect;o?z(o,null,{shape:n},e,i):(o=t.__pictorialBarRect=new r.Rect({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(o))}function T(t,e,i,n){if(i.symbolClip){var o=t.__pictorialClipPath,s=a.extend({},i.clipShape),l=e.valueDim,u=i.animationModel,c=i.dataIndex;if(o)r.updateProps(o,{shape:s},u,c);else{s[l.wh]=0,o=new r.Rect({shape:s}),t.__pictorialBundle.setClipPath(o),t.__pictorialClipPath=o;var h={};h[l.wh]=i.clipShape[l.wh],r[n?"updateProps":"initProps"](o,{shape:h},u,c)}}}function C(t,e){var i=t.getItemModel(e);return i.getAnimationDelayParams=D,i.isAnimationEnabled=L,i}function D(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function L(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function P(t,e){t.off("emphasis").off("normal");var i=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",(function(){this.animateTo({scale:[1.1*i[0],1.1*i[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:i.slice()},400,"elasticOut")}))}function k(t,e,i,n){var a=new r.Group,o=new r.Group;return a.add(o),a.__pictorialBundle=o,o.attr("position",i.bundlePosition.slice()),i.symbolRepeat?M(a,e,i):I(a,e,i),A(a,i,n),T(a,e,i,n),a.__pictorialShapeStr=E(t,i),a.__pictorialSymbolMeta=i,a}function O(t,e,i){var n=i.animationModel,a=i.dataIndex,o=t.__pictorialBundle;r.updateProps(o,{position:i.bundlePosition.slice()},n,a),i.symbolRepeat?M(t,e,i,!0):I(t,e,i,!0),A(t,i,!0),T(t,e,i,!0)}function R(t,e,i,n){var o=n.__pictorialBarRect;o&&(o.style.text=null);var s=[];N(n,(function(t){s.push(t)})),n.__pictorialMainPath&&s.push(n.__pictorialMainPath),n.__pictorialClipPath&&(i=null),a.each(s,(function(t){r.updateProps(t,{scale:[0,0]},i,e,(function(){n.parent&&n.parent.remove(n)}))})),t.setItemGraphicEl(e,null)}function E(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function N(t,e,i){a.each(t.__pictorialBundle.children(),(function(n){n!==t.__pictorialBarRect&&e.call(i,n)}))}function z(t,e,i,n,a,o){e&&t.attr(e),n.symbolClip&&!a?i&&t.attr(i):i&&r[a?"updateProps":"initProps"](t,i,n.animationModel,n.dataIndex,o)}function V(t,e,i){var n=i.color,o=i.dataIndex,s=i.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),c=s.getShallow("cursor");N(t,(function(t){t.setColor(n),t.setStyle(a.defaults({fill:n,opacity:i.opacity},l)),r.setHoverStyle(t,u),c&&(t.cursor=c),t.z2=i.z2}));var h={},f=e.valueDim.posDesc[+(i.boundingLength>0)],p=t.__pictorialBarRect;d(p.style,h,s,n,e.seriesModel,o,f),r.setHoverStyle(p,h)}function B(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var F=m;t.exports=F},a1d7:function(t,e,i){var n=i("80fa"),a=i("a04a"),r=i("1760"),o=i("d826"),s=i("8d4e"),l=s.ContextCachedBy,u=function(t){n.call(this,t)};u.prototype={constructor:u,type:"text",brush:function(t,e){var i=this.style;this.__dirty&&o.normalizeTextStyle(i,!0),i.fill=i.stroke=i.shadowBlur=i.shadowColor=i.shadowOffsetX=i.shadowOffsetY=null;var n=i.text;null!=n&&(n+=""),o.needDrawText(n,i)?(this.setTransform(t),o.renderText(this,t,n,i,null,e),this.restoreTransform(t)):t.__attrCachedBy=l.NONE},getBoundingRect:function(){var t=this.style;if(this.__dirty&&o.normalizeTextStyle(t,!0),!this._rect){var e=t.text;null!=e?e+="":e="";var i=r.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(i.x+=t.x||0,i.y+=t.y||0,o.getStroke(t.textStroke,t.textStrokeWidth)){var n=t.textStrokeWidth;i.x-=n/2,i.y-=n/2,i.width+=n,i.height+=n}this._rect=i}return this._rect}},a.inherits(u,n);var c=u;t.exports=c},a366:function(t,e,i){var n=i("a04a"),a=n.inherits,r=i("80fa"),o=i("89ed");function s(t){r.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}s.prototype.incremental=!0,s.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},s.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},s.prototype.addDisplayables=function(t,e){e=e||!1;for(var i=0;io&&(o=e)})),a.each(i,(function(e){var i=new n({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}),a=i.mapValueToVisual(e.getLayout().value),s=e.getModel().get("itemStyle.color");null!=s?e.setVisual("color",s):e.setVisual("color",a)}))}}))}t.exports=r},a6dc1:function(t,e,i){var n=i("43a0");i("474c"),i("c71e");var a=i("b4ee"),r=i("9813"),o=i("b783");n.registerPreprocessor(a),n.registerVisual(r),n.registerLayout(o)},a750:function(t,e){function i(t,e){this.getAllNames=function(){var t=e();return t.mapArray(t.getName)},this.containName=function(t){var i=e();return i.indexOfName(t)>=0},this.indexOfName=function(e){var i=t();return i.indexOfName(e)},this.getItemVisual=function(e,i){var n=t();return n.getItemVisual(e,i)}}var n=i;t.exports=n},a828:function(t,e){function i(){}function n(t,e,i,n){for(var a=0,r=e.length,o=0,s=0;a=o&&h+1>=s){for(var d=[],f=0;f=o&&f+1>=s)return n(r,u.components,e,t);c[i]=u}else c[i]=void 0}l++}while(l<=u){var g=p();if(g)return g}},pushComponent:function(t,e,i){var n=t[t.length-1];n&&n.added===e&&n.removed===i?t[t.length-1]={count:n.count+1,added:e,removed:i}:t.push({count:1,added:e,removed:i})},extractCommon:function(t,e,i,n){var a=e.length,r=i.length,o=t.newPos,s=o-n,l=0;while(o+1Math.PI/2?"right":"left"):w&&"center"!==w?"left"===w?(m=d.r0+b,v>Math.PI/2&&(w="right")):"right"===w&&(m=d.r-b,v>Math.PI/2&&(w="left")):(m=(d.r+d.r0)/2,w="center"),g.attr("style",{text:h,textAlign:w,textVerticalAlign:T("verticalAlign")||"middle",opacity:T("opacity")});var S=m*y+d.cx,M=m*x+d.cy;g.attr("position",[S,M]);var I=T("rotate"),A=0;function T(t){var e=s.get(t);return null==e?o.get(t):e}"radial"===I?(A=-v,A<-Math.PI/2&&(A+=Math.PI)):"tangential"===I?(A=Math.PI/2-v,A>Math.PI/2?A-=Math.PI:A<-Math.PI/2&&(A+=Math.PI)):"number"===typeof I&&(A=I*Math.PI/180),g.attr("rotation",A)},u._initEvents=function(t,e,i,n){t.off("mouseover").off("mouseout").off("emphasis").off("normal");var a=this,r=function(){a.onEmphasis(n)},o=function(){a.onNormal()},s=function(){a.onDownplay()},l=function(){a.onHighlight()};i.isAnimationEnabled()&&t.on("mouseover",r).on("mouseout",o).on("emphasis",r).on("normal",o).on("downplay",s).on("highlight",l)},n.inherits(l,a.Group);var c=l;function h(t,e,i){var n=t.getVisual("color"),a=t.getVisual("visualMeta");a&&0!==a.length||(n=null);var r=t.getModel("itemStyle").get("color");if(r)return r;if(n)return n;if(0===t.depth)return i.option.color[0];var o=i.option.color.length;return r=i.option.color[d(t)%o],r}function d(t){var e=t;while(e.depth>1)e=e.parentNode;var i=t.getAncestors()[0];return n.indexOf(i.children,e)}function f(t,e,i){return i!==r.NONE&&(i===r.SELF?t===e:i===r.ANCESTOR?t===e||t.isAncestorOf(e):t===e||t.isDescendantOf(e))}function p(t,e,i){var n=e.getData();n.setItemVisual(t.dataIndex,"color",i)}t.exports=c},abc0:function(t,e,i){var n=i("a04a");function a(t,e){return e=e||[0,0],n.map(["x","y"],(function(i,n){var a=this.getAxis(i),r=e[n],o=t[n]/2;return"category"===a.type?a.getBandWidth():Math.abs(a.dataToCoord(r-o)-a.dataToCoord(r+o))}),this)}function r(t){var e=t.grid.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:n.bind(a,t)}}}t.exports=r},ac05:function(t,e,i){var n=i("26ee");n.registerSubTypeDefaulter("dataZoom",(function(){return"slider"}))},ac3a:function(t,e,i){var n=i("df8d"),a=n.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(t,e){var i=.5522848,n=e.cx,a=e.cy,r=e.rx,o=e.ry,s=r*i,l=o*i;t.moveTo(n-r,a),t.bezierCurveTo(n-r,a-l,n-s,a-o,n,a-o),t.bezierCurveTo(n+s,a-o,n+r,a-l,n+r,a),t.bezierCurveTo(n+r,a+l,n+s,a+o,n,a+o),t.bezierCurveTo(n-s,a+o,n-r,a+l,n-r,a),t.closePath()}});t.exports=a},ad88:function(t,e,i){i("c99e"),i("bd79")},ae45:function(t,e,i){var n=i("43a0"),a=i("a04a"),r=i("8328"),o=i("76a2"),s=i("882a"),l=i("8970"),u=i("415e"),c=i("263c"),h=s.mapVisual,d=s.eachVisual,f=a.isArray,p=a.each,g=c.asc,m=c.linearMap,v=a.noop,y=n.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-1/0,1/0],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(t,e,i){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(t,i)},optionUpdated:function(t,e){var i=this.option;r.canvasSupported||(i.realtime=!1),!e&&l.replaceVisualOption(i,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(t){var e=this.stateList;t=a.bind(t,this),this.controllerVisuals=l.createVisualMappings(this.option.controller,e,t),this.targetVisuals=l.createVisualMappings(this.option.target,e,t)},getTargetSeriesIndices:function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,i){e.push(i)})):e=u.normalizeToArray(t),e},eachTargetSeries:function(t,e){a.each(this.getTargetSeriesIndices(),(function(i){t.call(e,this.ecModel.getSeriesByIndex(i))}),this)},isTargetSeries:function(t){var e=!1;return this.eachTargetSeries((function(i){i===t&&(e=!0)})),e},formatValueText:function(t,e,i){var n,r,o=this.option,s=o.precision,l=this.dataBound,u=o.formatter;return i=i||["<",">"],a.isArray(t)&&(t=t.slice(),n=!0),r=e?t:n?[c(t[0]),c(t[1])]:c(t),a.isString(u)?u.replace("{value}",n?r[0]:r).replace("{value2}",n?r[1]:r):a.isFunction(u)?n?u(t[0],t[1]):u(t):n?t[0]===l[0]?i[0]+" "+r[1]:t[1]===l[1]?i[1]+" "+r[0]:r[0]+" - "+r[1]:r;function c(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}},resetExtent:function(){var t=this.option,e=g([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension,i=t.dimensions;if(null!=e||i.length){if(null!=e)return t.getDimension(e);for(var n=t.dimensions,a=n.length-1;a>=0;a--){var r=n[a],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return r}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,e=this.option,i={inRange:e.inRange,outOfRange:e.outOfRange},n=e.target||(e.target={}),r=e.controller||(e.controller={});a.merge(n,i),a.merge(r,i);var l=this.isCategory();function u(i){f(e.color)&&!i.inRange&&(i.inRange={color:e.color.slice().reverse()}),i.inRange=i.inRange||{color:t.get("gradientColor")},p(this.stateList,(function(t){var e=i[t];if(a.isString(e)){var n=o.get(e,"active",l);n?(i[t]={},i[t][e]=n):delete i[t]}}),this)}function c(t,e,i){var n=t[e],a=t[i];n&&!a&&(a=t[i]={},p(n,(function(t,e){if(s.isValidType(e)){var i=o.get(e,"inactive",l);null!=i&&(a[e]=i,"color"!==e||a.hasOwnProperty("opacity")||a.hasOwnProperty("colorAlpha")||(a.opacity=[0,0]))}})))}function g(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,i=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,n=this.get("inactiveColor");p(this.stateList,(function(r){var o=this.itemSize,s=t[r];s||(s=t[r]={color:l?n:[n]}),null==s.symbol&&(s.symbol=e&&a.clone(e)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=i&&a.clone(i)||(l?o[0]:[o[0],o[0]])),s.symbol=h(s.symbol,(function(t){return"none"===t||"square"===t?"roundRect":t}));var u=s.symbolSize;if(null!=u){var c=-1/0;d(u,(function(t){t>c&&(c=t)})),s.symbolSize=h(u,(function(t){return m(t,[0,c],[0,o[0]],!0)}))}}),this)}u.call(this,n),u.call(this,r),c.call(this,n,"inRange","outOfRange"),g.call(this,r)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v}),x=y;t.exports=x},af9a:function(t,e,i){i("440d");var n=i("26ee"),a=n.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});t.exports=a},b007:function(t,e){var i={};function n(t,e){i[t]=e}function a(t){return i[t]}e.register=n,e.get=a},b08c:function(t,e){function i(t){t.eachSeriesByType("map",(function(t){var e=t.get("color"),i=t.getModel("itemStyle"),n=i.get("areaColor"),a=i.get("color")||e[t.seriesIndex%e.length];t.getData().setVisual({areaColor:n,color:a})}))}t.exports=i},b132:function(t,e,i){var n=i("ef95"),a=i("7625"),r=i("1be6"),o=i("7236"),s=i("a04a"),l=function(t){r.call(this,t),a.call(this,t),o.call(this,t),this.id=t.id||n()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var i=this[t];i||(i=this[t]=[]),i[0]=e[0],i[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(s.isObject(t))for(var i in t)t.hasOwnProperty(i)&&this.attrKV(i,t[i]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var i=0;ir&&(c=s.interval=r);var h=s.intervalPrecision=o(c),d=s.niceTickExtent=[a(Math.ceil(t[0]/c)*c,h),a(Math.floor(t[1]/c)*c,h)];return l(d,t),s}function o(t){return n.getPrecisionSafe(t)+2}function s(t,e,i){t[e]=Math.max(Math.min(t[e],i[1]),i[0])}function l(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),s(t,0,e),s(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=r,e.getIntervalPrecision=o,e.fixExtent=l},b184:function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("a04a")),r=i("989f"),o=i("b42b"),s=i("7c4c"),l=i("263c"),u=i("f4e0"),c=u.prepareLayoutBarSeries,h=u.makeColumnLayout,d=u.retrieveColumnLayout,f=i("89ed");function p(t,e){var i,n,r,o=t.type,s=e.getMin(),u=e.getMax(),d=t.getExtent();"ordinal"===o?i=e.getCategories().length:(n=e.get("boundaryGap"),a.isArray(n)||(n=[n||0,n||0]),"boolean"===typeof n[0]&&(n=[0,0]),n[0]=l.parsePercent(n[0],1),n[1]=l.parsePercent(n[1],1),r=d[1]-d[0]||Math.abs(d[0])),"dataMin"===s?s=d[0]:"function"===typeof s&&(s=s({min:d[0],max:d[1]})),"dataMax"===u?u=d[1]:"function"===typeof u&&(u=u({min:d[0],max:d[1]}));var f=null!=s,p=null!=u;null==s&&(s="ordinal"===o?i?0:NaN:d[0]-n[0]*r),null==u&&(u="ordinal"===o?i?i-1:NaN:d[1]+n[1]*r),(null==s||!isFinite(s))&&(s=NaN),(null==u||!isFinite(u))&&(u=NaN),t.setBlank(a.eqNaN(s)||a.eqNaN(u)||"ordinal"===o&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(s>0&&u>0&&!f&&(s=0),s<0&&u<0&&!p&&(u=0));var m=e.ecModel;if(m&&"time"===o){var v,y=c("bar",m);if(a.each(y,(function(t){v|=t.getBaseAxis()===e.axis})),v){var x=h(y),_=g(s,u,e,x);s=_.min,u=_.max}}return{extent:[s,u],fixMin:f,fixMax:p}}function g(t,e,i,n){var r=i.axis.getExtent(),o=r[1]-r[0],s=d(n,i.axis);if(void 0===s)return{min:t,max:e};var l=1/0;a.each(s,(function(t){l=Math.min(t.offset,l)}));var u=-1/0;a.each(s,(function(t){u=Math.max(t.offset+t.width,u)})),l=Math.abs(l),u=Math.abs(u);var c=l+u,h=e-t,f=1-(l+u)/o,p=h/f-h;return e+=p*(u/c),t-=p*(l/c),{min:t,max:e}}function m(t,e){var i=p(t,e),n=i.extent,a=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var r=t.type;t.setExtent(n[0],n[1]),t.niceExtent({splitNumber:a,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:"interval"===r||"time"===r?e.get("minInterval"):null,maxInterval:"interval"===r||"time"===r?e.get("maxInterval"):null});var o=e.get("interval");null!=o&&t.setInterval&&t.setInterval(o)}function v(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new r(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new o;default:return(s.getClass(e)||o).create(t)}}function y(t){var e=t.scale.getExtent(),i=e[0],n=e[1];return!(i>0&&n>0||i<0&&n<0)}function x(t){var e=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"string"===typeof e?(e=function(e){return function(i){return i=t.scale.getLabel(i),e.replace("{value}",null!=i?i:"")}}(e),e):"function"===typeof e?function(n,a){return null!=i&&(a=n-i),e(_(t,n),a)}:function(e){return t.scale.getLabel(e)}}function _(t,e){return"category"===t.type?t.scale.getLabel(e):e}function b(t){var e=t.model,i=t.scale;if(e.get("axisLabel.show")&&!i.isBlank()){var n,a,r="category"===t.type,o=i.getExtent();r?a=i.count():(n=i.getTicks(),a=n.length);var s,l=t.getLabelModel(),u=x(t),c=1;a>40&&(c=Math.ceil(a/40));for(var h=0;h=a||m<0)break;if(f(y)){if(p){m+=r;continue}break}if(m===i)t[r>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var x=e[g],_="y"===c?1:0,b=(y[_]-x[_])*l;u(h,x),h[_]=x[_]+b,u(d,y),d[_]=y[_]-b,t.bezierCurveTo(h[0],h[1],d[0],d[1],y[0],y[1])}else t.lineTo(y[0],y[1]);g=m,m+=r}return v}function m(t,e,i,n,r,p,g,m,v,y,x){for(var _=0,b=i,w=0;w=r||b<0)break;if(f(S)){if(x){b+=p;continue}break}if(b===i)t[p>0?"moveTo":"lineTo"](S[0],S[1]),u(h,S);else if(v>0){var M=b+p,I=e[M];if(x)while(I&&f(e[M]))M+=p,I=e[M];var A=.5,T=e[_];I=e[M];if(!I||f(I))u(d,S);else{var C,D;if(f(I)&&!x&&(I=S),a.sub(c,I,T),"x"===y||"y"===y){var L="x"===y?0:1;C=Math.abs(S[L]-T[L]),D=Math.abs(S[L]-I[L])}else C=a.dist(S,T),D=a.dist(S,I);A=D/(D+C),l(d,S,c,-v*(1-A))}o(h,h,m),s(h,h,g),o(d,d,m),s(d,d,g),t.bezierCurveTo(h[0],h[1],d[0],d[1],S[0],S[1]),l(h,S,c,v*A)}else t.lineTo(S[0],S[1]);_=b,b+=p}return w}function v(t,e){var i=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var a=0;an[0]&&(n[0]=r[0]),r[1]>n[1]&&(n[1]=r[1])}return{min:e?i:n,max:e?n:i}}var y=n.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:r(n.prototype.brush),buildPath:function(t,e){var i=e.points,n=0,a=i.length,r=v(i,e.smoothConstraint);if(e.connectNulls){for(;a>0;a--)if(!f(i[a-1]))break;for(;n0;r--)if(!f(i[r-1]))break;for(;a1e-4)return p[0]=t-i,p[1]=e-a,g[0]=t+i,void(g[1]=e+a);if(c[0]=l(r)*i+t,c[1]=s(r)*a+e,h[0]=l(o)*i+t,h[1]=s(o)*a+e,m(p,c,h),v(g,c,h),r%=u,r<0&&(r+=u),o%=u,o<0&&(o+=u),r>o&&!f?o+=u:rr&&(d[0]=l(_)*i+t,d[1]=s(_)*a+e,m(p,d,p),v(g,d,g))}e.fromPoints=f,e.fromLine=p,e.fromCubic=v,e.fromQuadratic=y,e.fromArc=x},b372:function(t,e,i){var n=i("0f3e"),a=i("43a0"),r=a.extendComponentView({type:"geo",init:function(t,e){var i=new n(e,!0);this._mapDraw=i,this.group.add(i.group)},render:function(t,e,i,n){if(!n||"geoToggleSelect"!==n.type||n.from!==this.uid){var a=this._mapDraw;t.get("show")?a.draw(t,e,i,this,n):this._mapDraw.group.removeAll(),this.group.silent=t.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});t.exports=r},b42b:function(t,e,i){var n=i("263c"),a=i("0908"),r=i("7c4c"),o=i("b174"),s=n.round,l=r.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var i=this._extent;isNaN(t)||(i[0]=parseFloat(t)),isNaN(e)||(i[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=o.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,i=this._extent,n=this._niceExtent,a=this._intervalPrecision,r=[];if(!e)return r;var o=1e4;i[0]o)return[]}var u=r.length?r[r.length-1]:n[1];return i[1]>u&&(t?r.push(s(u+e,a)):r.push(i[1])),r},getMinorTicks:function(t){for(var e=this.getTicks(!0),i=[],a=this.getExtent(),r=1;ra[0]&&de&&(e=t[i]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,i=0;i1)"string"===typeof o?l=i[o]:"function"===typeof o&&(l=o),l&&t.setData(r.downSample(r.mapDimension(c.dim),1/f,l,n))}}}}t.exports=a},b776:function(t,e,i){i("ac05"),i("2529"),i("5198"),i("ee17"),i("226c"),i("2612"),i("0631")},b783:function(t,e,i){var n=i("cd88"),a=n.subPixelOptimize,r=i("b5e1"),o=i("263c"),s=o.parsePercent,l=i("a04a"),u=l.retrieve2,c="undefined"!==typeof Float32Array?Float32Array:Array,h={seriesType:"candlestick",plan:r(),reset:function(t){var e=t.coordinateSystem,i=t.getData(),n=f(t,i),r=0,o=1,s=["x","y"],l=i.mapDimension(s[r]),u=i.mapDimension(s[o],!0),h=u[0],p=u[1],g=u[2],m=u[3];if(i.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),!(null==l||u.length<4))return{progress:t.pipelineContext.large?y:v};function v(t,i){var s;while(null!=(s=t.next())){var u=i.get(l,s),c=i.get(h,s),f=i.get(p,s),v=i.get(g,s),y=i.get(m,s),x=Math.min(c,f),_=Math.max(c,f),b=A(x,u),w=A(_,u),S=A(v,u),M=A(y,u),I=[];T(I,w,0),T(I,b,1),I.push(D(M),D(w),D(S),D(b)),i.setItemLayout(s,{sign:d(i,s,c,f,p),initBaseline:c>f?w[o]:b[o],ends:I,brushRect:C(v,y,u)})}function A(t,i){var n=[];return n[r]=i,n[o]=t,isNaN(i)||isNaN(t)?[NaN,NaN]:e.dataToPoint(n)}function T(t,e,i){var o=e.slice(),s=e.slice();o[r]=a(o[r]+n/2,1,!1),s[r]=a(s[r]-n/2,1,!0),i?t.push(o,s):t.push(s,o)}function C(t,e,i){var a=A(t,i),s=A(e,i);return a[r]-=n/2,s[r]-=n/2,{x:a[0],y:a[1],width:o?n:s[0]-a[0],height:o?s[1]-a[1]:n}}function D(t){return t[r]=a(t[r],1),t}}function y(t,i){var n,a,s=new c(4*t.count),u=0,f=[],v=[];while(null!=(a=t.next())){var y=i.get(l,a),x=i.get(h,a),_=i.get(p,a),b=i.get(g,a),w=i.get(m,a);isNaN(y)||isNaN(b)||isNaN(w)?(s[u++]=NaN,u+=3):(s[u++]=d(i,a,x,_,p),f[r]=y,f[o]=b,n=e.dataToPoint(f,null,v),s[u++]=n?n[0]:NaN,s[u++]=n?n[1]:NaN,f[o]=w,n=e.dataToPoint(f,null,v),s[u++]=n?n[1]:NaN)}i.setLayout("largePoints",s)}}};function d(t,e,i,n,a){var r;return r=i>n?-1:i0?t.get(a,e-1)<=n?1:-1:1,r}function f(t,e){var i,n=t.getBaseAxis(),a="category"===n.type?n.getBandWidth():(i=n.getExtent(),Math.abs(i[1]-i[0])/e.count()),r=s(u(t.get("barMaxWidth"),a),a),o=s(u(t.get("barMinWidth"),1),a),l=t.get("barWidth");return null!=l?s(l,a):Math.max(Math.min(a/2,r),o)}t.exports=h},b824:function(t,e,i){i("9092"),i("0977"),i("f3fb"),i("6222"),i("ddf6"),i("5aaa"),i("5ea1")},b825:function(t,e,i){var n=i("43a0"),a=i("a04a"),r=i("d201"),o=i("415e"),s=o.defaultEmphasis,l=i("9001"),u=l.makeSeriesEncodeForNameBased,c=i("a750"),h=n.extendSeriesModel({type:"series.funnel",init:function(t){h.superApply(this,"init",arguments),this.legendVisualProvider=new c(a.bind(this.getData,this),a.bind(this.getRawData,this)),this._defaultLabelLine(t)},getInitialData:function(t,e){return r(this,{coordDimensions:["value"],encodeDefaulter:a.curry(u,this)})},_defaultLabelLine:function(t){s(t,"labelLine",["show"]);var e=t.labelLine,i=t.emphasis.labelLine;e.show=e.show&&t.label.show,i.show=i.show&&t.emphasis.label.show},getDataParams:function(t){var e=this.getData(),i=h.superCall(this,"getDataParams",t),n=e.mapDimension("value"),a=e.getSum(n);return i.percent=a?+(e.get(n,t)/a*100).toFixed(2):0,i.$vars.push("percent"),i},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),d=h;t.exports=d},b866:function(t,e,i){var n=i("43a0");i("bed5"),i("7861"),i("bf4f");var a=i("c4f9");n.registerVisual(a)},b98a:function(t,e,i){var n=i("3164"),a=n.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});t.exports=a},ba27:function(t,e,i){var n=i("cd88"),a=i("2cb9"),r=a.createSymbol,o=i("a366"),s=4,l=n.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(t,e){var i=e.points,n=e.size,a=this.symbolProxy,r=a.shape,o=t.getContext?t.getContext():t,l=o&&n[0]=0;s--){var l=2*s,u=n[l]-r/2,c=n[l+1]-o/2;if(t>=u&&e>=c&&t<=u+r&&e<=c+o)return s}return-1}});function u(){this.group=new n.Group}var c=u.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(t,e){this.group.removeAll();var i=new l({rectHover:!0,cursor:"default"});i.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(i,t,!1,e),this.group.add(i),this._incremental=null},c.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("symbolPoints");this.group.eachChild((function(t){if(null!=t.startIndex){var i=2*(t.endIndex-t.startIndex),n=4*t.startIndex*2;e=new Float32Array(e.buffer,n,i)}t.setShape("points",e)}))}},c.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new o({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(t,e,i){var n;this._incremental?(n=new l,this._incremental.addDisplayable(n,!0)):(n=new l({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end}),n.incremental=!0,this.group.add(n)),n.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(n,e,!!this._incremental,i)},c._setCommon=function(t,e,i,n){var a=e.hostModel;n=n||{};var o=e.getVisual("symbolSize");t.setShape("size",o instanceof Array?o:[o,o]),t.softClipShape=n.clipShape||null,t.symbolProxy=r(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var l=t.shape.size[0]=0&&(t.dataIndex=i+(t.startIndex||0))})))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var h=u;t.exports=h},bcd8:function(t,e,i){var n=i("a04a"),a=i("02ec"),r=i("cd88"),o=i("2cb9"),s=o.createSymbol,l=i("4920"),u=i("65e7"),c=a.extend({type:"visualMap.piecewise",doRender:function(){var t=this.group;t.removeAll();var e=this.visualMapModel,i=e.get("textGap"),a=e.textStyleModel,o=a.getFont(),s=a.getTextColor(),u=this._getItemAlign(),c=e.itemSize,h=this._getViewData(),d=h.endsText,f=n.retrieve(e.get("showLabel",!0),!d);function p(a){var l=a.piece,h=new r.Group;h.onclick=n.bind(this._onItemClick,this,l),this._enableHoverLink(h,a.indexInModelPieceList);var d=e.getRepresentValue(l);if(this._createItemSymbol(h,d,[0,0,c[0],c[1]]),f){var p=this.visualMapModel.getValueState(d);h.add(new r.Text({style:{x:"right"===u?-i:c[0]+i,y:c[1]/2,text:l.text,textVerticalAlign:"middle",textAlign:u,textFont:o,textFill:s,opacity:"outOfRange"===p?.5:1}}))}t.add(h)}d&&this._renderEndsText(t,d[0],c,f,u),n.each(h.viewPieceList,p,this),d&&this._renderEndsText(t,d[1],c,f,u),l.box(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},_enableHoverLink:function(t,e){function i(t){var i=this.visualMapModel;i.option.hoverLink&&this.api.dispatchAction({type:t,batch:u.makeHighDownBatch(i.findTargetDataIndices(e),i)})}t.on("mouseover",n.bind(i,this,"highlight")).on("mouseout",n.bind(i,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return u.getItemAlign(t,this.api,t.itemSize);var i=e.align;return i&&"auto"!==i||(i="left"),i},_renderEndsText:function(t,e,i,n,a){if(e){var o=new r.Group,s=this.visualMapModel.textStyleModel;o.add(new r.Text({style:{x:n?"right"===a?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:n?a:"center",text:e,textFont:s.getFont(),textFill:s.getTextColor()}})),t.add(o)}},_getViewData:function(){var t=this.visualMapModel,e=n.map(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),i=t.get("text"),a=t.get("orient"),r=t.get("inverse");return("horizontal"===a?r:!r)?e.reverse():i&&(i=i.slice().reverse()),{viewPieceList:e,endsText:i}},_createItemSymbol:function(t,e,i){t.add(s(this.getControllerVisual(e,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(e,"color")))},_onItemClick:function(t){var e=this.visualMapModel,i=e.option,a=n.clone(i.selected),r=e.getSelectedMapKey(t);"single"===i.selectedMode?(a[r]=!0,n.each(a,(function(t,e){a[e]=e===r}))):a[r]=!a[r],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:a})}}),h=c;t.exports=h},bce8:function(t,e,i){var n=i("80fa"),a=i("89ed"),r=i("a04a"),o=i("d837");function s(t){n.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var i=this.style,n=i.image;i.bind(t,this,e);var a=this._image=o.createOrUpdateImage(n,this._image,this,this.onload);if(a&&o.isImageReady(a)){var r=i.x||0,s=i.y||0,l=i.width,u=i.height,c=a.width/a.height;if(null==l&&null!=u?l=u*c:null==u&&null!=l?u=l/c:null==l&&null==u&&(l=a.width,u=a.height),this.setTransform(t),i.sWidth&&i.sHeight){var h=i.sx||0,d=i.sy||0;t.drawImage(a,h,d,i.sWidth,i.sHeight,r,s,l,u)}else if(i.sx&&i.sy){h=i.sx,d=i.sy;var f=l-h,p=u-d;t.drawImage(a,h,d,f,p,r,s,l,u)}else t.drawImage(a,r,s,l,u);null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new a(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},r.inherits(s,n);var l=s;t.exports=l},bd79:function(t,e,i){var n=i("43a0"),a=i("e713");i("4116"),i("4072"),i("58f86"),i("bcd8"),i("919a"),n.registerPreprocessor(a)},bdf4:function(t,e,i){var n=i("f3aa"),a=i("0f65"),r=i("a04a"),o=r.each;function s(t){return parseInt(t,10)}function l(t,e){a.initVML(),this.root=t,this.storage=e;var i=document.createElement("div"),n=document.createElement("div");i.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",n.style.cssText="position:absolute;left:0;top:0;",t.appendChild(i),this._vmlRoot=n,this._vmlViewport=i,this.resize();var r=e.delFromStorage,o=e.addToStorage;e.delFromStorage=function(t){r.call(e,t),t&&t.onRemove&&t.onRemove(n)},e.addToStorage=function(t){t.onAdd&&t.onAdd(n),o.call(e,t)},this._firstPaint=!0}function u(t){return function(){n('In IE8.0 VML mode painter not support method "'+t+'"')}}l.prototype={constructor:l,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0,!0);this._paintList(t)},_paintList:function(t){for(var e=this._vmlRoot,i=0;i=0;o--){var s=i[o].dimension,l=t.dimensions[s],u=t.getDimensionInfo(l);if(n=u&&u.coordDim,"x"===n||"y"===n){r=i[o];break}}if(r){var h=e.getAxis(n),d=a.map(r.stops,(function(t){return{coord:h.toGlobalCoord(h.dataToCoord(t.value)),color:t.color}})),f=d.length,p=r.outerColors.slice();f&&d[0].coord>d[f-1].coord&&(d.reverse(),p.reverse());var g=10,m=d[0].coord-g,v=d[f-1].coord+g,y=v-m;if(y<.001)return"transparent";a.each(d,(function(t){t.offset=(t.coord-m)/y})),d.push({offset:f?d[f-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:p[0]||"transparent"});var x=new c.LinearGradient(0,0,0,0,d,!0);return x[n]=m,x[n+"2"]=v,x}}}function C(t,e,i){var n=t.get("showAllSymbol"),r="auto"===n;if(!n||r){var o=i.getAxesByScale("ordinal")[0];if(o&&(!r||!D(o,e))){var s=e.mapDimension(o.dim),l={};return a.each(o.getViewLabels(),(function(t){l[t.tickValue]=1})),function(t){return!l.hasOwnProperty(e.get(s,t))}}}}function D(t,e){var i=t.getExtent(),n=Math.abs(i[1]-i[0])/t.scale.count();isNaN(n)&&(n=0);for(var a=e.count(),r=Math.max(1,Math.round(a/5)),o=0;on)return!1;return!0}function L(t,e,i){if("cartesian2d"===t.type){var n=t.getBaseAxis().isHorizontal(),a=_(t,e,i);if(!i.get("clip",!0)){var r=a.shape,o=Math.max(r.width,r.height);n?(r.y-=o,r.height+=2*o):(r.x-=o,r.width+=2*o)}return a}return b(t,e,i)}var P=g.extend({type:"line",init:function(){var t=new c.Group,e=new s;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,i){var n=t.coordinateSystem,r=this.group,o=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=o.mapArray(o.getItemLayout),c="polar"===n.type,h=this._coordSys,d=this._symbolDraw,f=this._polyline,p=this._polygon,g=this._lineGroup,m=t.get("animation"),y=!l.isEmpty(),x=l.get("origin"),_=v(n,o,x),b=I(n,o,_),S=t.get("showSymbol"),D=S&&!c&&C(t,o,n),P=this._data;P&&P.eachItemGraphicEl((function(t,e){t.__temp&&(r.remove(t),P.setItemGraphicEl(e,null))})),S||d.remove(),r.add(g);var k,O=!c&&t.get("step");n&&n.getArea&&t.get("clip",!0)&&(k=n.getArea(),null!=k.width?(k.x-=.1,k.y-=.1,k.width+=.2,k.height+=.2):k.r0&&(k.r0-=.5,k.r1+=.5)),this._clipShapeForSymbol=k,f&&h.type===n.type&&O===this._step?(y&&!p?p=this._newPolygon(u,b,n,m):p&&!y&&(g.remove(p),p=this._polygon=null),g.setClipPath(L(n,!1,t)),S&&d.updateData(o,{isIgnore:D,clipShape:k}),o.eachItemGraphicEl((function(t){t.stopAnimation(!0)})),w(this._stackedOnPoints,b)&&w(this._points,u)||(m?this._updateAnimation(o,b,n,i,O,x):(O&&(u=A(u,n,O),b=A(b,n,O)),f.setShape({points:u}),p&&p.setShape({points:u,stackedOnPoints:b})))):(S&&d.updateData(o,{isIgnore:D,clipShape:k}),O&&(u=A(u,n,O),b=A(b,n,O)),f=this._newPolyline(u,n,m),y&&(p=this._newPolygon(u,b,n,m)),g.setClipPath(L(n,!0,t)));var R=T(o,n)||o.getVisual("color");f.useStyle(a.defaults(s.getLineStyle(),{fill:"none",stroke:R,lineJoin:"bevel"}));var E=t.get("smooth");if(E=M(t.get("smooth")),f.setShape({smooth:E,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),p){var N=o.getCalculationInfo("stackedOnSeries"),z=0;p.useStyle(a.defaults(l.getAreaStyle(),{fill:R,opacity:.7,lineJoin:"bevel"})),N&&(z=M(N.get("smooth"))),p.setShape({smooth:E,stackedOnSmooth:z,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=o,this._coordSys=n,this._stackedOnPoints=b,this._points=u,this._step=O,this._valueOrigin=x},dispose:function(){},highlight:function(t,e,i,n){var a=t.getData(),r=h.queryDataIndex(a,n);if(!(r instanceof Array)&&null!=r&&r>=0){var o=a.getItemGraphicEl(r);if(!o){var s=a.getItemLayout(r);if(!s)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s[0],s[1]))return;o=new l(a,r),o.position=s,o.setZ(t.get("zlevel"),t.get("z")),o.ignore=isNaN(s[0])||isNaN(s[1]),o.__temp=!0,a.setItemGraphicEl(r,o),o.stopSymbolAnimation(!0),this.group.add(o)}o.highlight()}else g.prototype.highlight.call(this,t,e,i,n)},downplay:function(t,e,i,n){var a=t.getData(),r=h.queryDataIndex(a,n);if(null!=r&&r>=0){var o=a.getItemGraphicEl(r);o&&(o.__temp?(a.setItemGraphicEl(r,null),this.group.remove(o)):o.downplay())}else g.prototype.downplay.call(this,t,e,i,n)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new f({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new p({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_updateAnimation:function(t,e,i,n,a,r){var o=this._polyline,s=this._polygon,l=t.hostModel,h=u(this._data,t,this._stackedOnPoints,e,this._coordSys,i,this._valueOrigin,r),d=h.current,f=h.stackedOnCurrent,p=h.next,g=h.stackedOnNext;if(a&&(d=A(h.current,i,a),f=A(h.stackedOnCurrent,i,a),p=A(h.next,i,a),g=A(h.stackedOnNext,i,a)),S(d,p)>3e3||s&&S(f,g)>3e3)return o.setShape({points:p}),void(s&&s.setShape({points:p,stackedOnPoints:g}));o.shape.__points=h.current,o.shape.points=d,c.updateProps(o,{shape:{points:p}},l),s&&(s.setShape({points:d,stackedOnPoints:f}),c.updateProps(s,{shape:{points:p,stackedOnPoints:g}},l));for(var m=[],v=h.status,y=0;y=a/3?1:2),l=e.y-n(o)*r*(r>=a/3?1:2);o=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+i(o)*r,e.y+n(o)*r),t.lineTo(e.x+i(e.angle)*a,e.y+n(e.angle)*a),t.lineTo(e.x-i(o)*r,e.y-n(o)*r),t.lineTo(s,l)}});t.exports=a},beb3:function(t,e){function i(t){var e=t.getRect(),i=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:i.start,end:i.end,weeks:i.weeks,dayCount:i.allDay}},api:{coord:function(e,i){return t.dataToPoint(e,i)}}}}t.exports=i},bed5:function(t,e,i){var n=i("43a0"),a=i("a04a"),r=i("7004"),o=i("d8cc");i("06a4"),i("926a"),i("e466");var s=5;n.extendComponentView({type:"parallel",render:function(t,e,i){this._model=t,this._api=i,this._handlers||(this._handlers={},a.each(l,(function(t,e){i.getZr().on(e,this._handlers[e]=a.bind(t,this))}),this)),r.createOrUpdate(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},dispose:function(t,e){a.each(this._handlers,(function(t,i){e.getZr().off(i,t)})),this._handlers=null},_throttledDispatchExpand:function(t){this._dispatchExpand(t)},_dispatchExpand:function(t){t&&this._api.dispatchAction(a.extend({type:"parallelAxisExpand"},t))}});var l={mousedown:function(t){u(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(u(this,"click")&&e){var i=[t.offsetX,t.offsetY],n=Math.pow(e[0]-i[0],2)+Math.pow(e[1]-i[1],2);if(n>s)return;var a=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==a.behavior&&this._dispatchExpand({axisExpandWindow:a.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&u(this,"mousemove")){var e=this._model,i=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),n=i.behavior;"jump"===n&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===n?null:{axisExpandWindow:i.axisExpandWindow,animation:"jump"===n&&null})}}};function u(t,e){var i=t._model;return i.get("axisExpandable")&&i.get("axisExpandTriggerOn")===e}n.registerPreprocessor(o)},bf06:function(t,e,i){var n=i("a04a"),a=n.createHashMap,r=n.isTypedArray,o=i("d499"),s=o.enableClassCheck,l=i("dee7"),u=l.SOURCE_FORMAT_ORIGINAL,c=l.SERIES_LAYOUT_BY_COLUMN,h=l.SOURCE_FORMAT_UNKNOWN,d=l.SOURCE_FORMAT_TYPED_ARRAY,f=l.SOURCE_FORMAT_KEYED_COLUMNS;function p(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===f?{}:[]),this.sourceFormat=t.sourceFormat||h,this.seriesLayoutBy=t.seriesLayoutBy||c,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&a(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}p.seriesDataToSource=function(t){return new p({data:t,sourceFormat:r(t)?d:u,fromDataset:!1})},s(p);var g=p;t.exports=g},bf4f:function(t,e,i){var n=i("cd88"),a=i("17ad"),r=.3,o=a.extend({type:"parallel",init:function(){this._dataGroup=new n.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(t,e,i,a){var r=this._dataGroup,o=t.getData(),d=this._data,f=t.coordinateSystem,p=f.dimensions,g=c(t);function m(t){var e=u(o,r,t,p,f);h(e,o,t,g)}function v(e,i){var r=d.getItemGraphicEl(i),s=l(o,e,p,f);o.setItemGraphicEl(e,r);var u=a&&!1===a.animation?null:t;n.updateProps(r,{shape:{points:s}},u,e),h(r,o,e,g)}function y(t){var e=d.getItemGraphicEl(t);r.remove(e)}if(o.diff(d).add(m).update(v).remove(y).execute(),!this._initialized){this._initialized=!0;var x=s(f,t,(function(){setTimeout((function(){r.removeClipPath()}))}));r.setClipPath(x)}this._data=o},incrementalPrepareRender:function(t,e,i){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(t,e,i){for(var n=e.getData(),a=e.coordinateSystem,r=a.dimensions,o=c(e),s=t.start;si||d+ho&&(o+=r);var p=Math.atan2(c,u);return p<0&&(p+=r),p>=n&&p<=o||p+r>=n&&p+r<=o}e.containStroke=o},c276:function(t,e,i){var n=i("cd88"),a=i("cae8"),r=a.getDefaultLabel;function o(t,e,i,a,o,l,u){var c=i.getModel("label"),h=i.getModel("emphasis.label");n.setLabelStyle(t,e,c,h,{labelFetcher:o,labelDataIndex:l,defaultText:r(o.getData(),l),isRectText:!0,autoColor:a}),s(t),s(e)}function s(t,e){"outside"===t.textPosition&&(t.textPosition=e)}e.setLabel=o},c29b:function(t,e,i){var n=i("213e"),a=n.createElement,r=i("d8e3"),o=i("89ed"),s=i("e2ea"),l=i("1760"),u=i("d826"),c=i("a1d7"),h=r.CMD,d=Array.prototype.join,f="none",p=Math.round,g=Math.sin,m=Math.cos,v=Math.PI,y=2*Math.PI,x=180/v,_=1e-4;function b(t){return p(1e4*t)/1e4}function w(t){return t<_&&t>-_}function S(t,e){var i=e?t.textFill:t.fill;return null!=i&&i!==f}function M(t,e){var i=e?t.textStroke:t.stroke;return null!=i&&i!==f}function I(t,e){e&&A(t,"transform","matrix("+d.call(e,",")+")")}function A(t,e,i){(!i||"linear"!==i.type&&"radial"!==i.type)&&t.setAttribute(e,i)}function T(t,e,i){t.setAttributeNS("http://www.w3.org/1999/xlink",e,i)}function C(t,e,i,n){if(S(e,i)){var a=i?e.textFill:e.fill;a="transparent"===a?f:a,A(t,"fill",a),A(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)}else A(t,"fill",f);if(M(e,i)){var r=i?e.textStroke:e.stroke;r="transparent"===r?f:r,A(t,"stroke",r);var o=i?e.textStrokeWidth:e.lineWidth,s=!i&&e.strokeNoScale?n.getLineScale():1;A(t,"stroke-width",o/s),A(t,"paint-order",i?"stroke":"fill"),A(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity);var l=e.lineDash;l?(A(t,"stroke-dasharray",e.lineDash.join(",")),A(t,"stroke-dashoffset",p(e.lineDashOffset||0))):A(t,"stroke-dasharray",""),e.lineCap&&A(t,"stroke-linecap",e.lineCap),e.lineJoin&&A(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&A(t,"stroke-miterlimit",e.miterLimit)}else A(t,"stroke",f)}function D(t){for(var e=[],i=t.data,n=t.len(),a=0;a=y:-_>=y),T=_>0?_%y:_%y+y,C=!1;C=!!A||!w(I)&&T>=v===!!M;var D=b(l+c*m(f)),L=b(u+d*g(f));A&&(_=M?y-1e-4:1e-4-y,C=!0,9===a&&e.push("M",D,L));var P=b(l+c*m(f+_)),k=b(u+d*g(f+_));e.push("A",b(c),b(d),p(S*x),+C,+M,P,k);break;case h.Z:o="Z";break;case h.R:P=b(i[a++]),k=b(i[a++]);var O=b(i[a++]),R=b(i[a++]);e.push("M",P,k,"L",P+O,k,"L",P+O,k+R,"L",P,k+R,"L",P,k);break}o&&e.push(o);for(var E=0;Ek){for(;Lt&&(t=e),t},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});t.exports=a},c4f9:function(t,e){var i=["lineStyle","normal","opacity"],n={seriesType:"parallel",reset:function(t,e,n){var a=t.getModel("itemStyle"),r=t.getModel("lineStyle"),o=e.get("color"),s=r.get("color")||a.get("color")||o[t.seriesIndex%o.length],l=t.get("inactiveOpacity"),u=t.get("activeOpacity"),c=t.getModel("lineStyle").getLineStyle(),h=t.coordinateSystem,d=t.getData(),f={normal:c.opacity,active:u,inactive:l};function p(t,e){h.eachActiveState(e,(function(t,n){var a=f[t];if("normal"===t&&e.hasItemOption){var r=e.getItemModel(n).get(i,!0);null!=r&&(a=r)}e.setItemVisual(n,"opacity",a)}),t.start,t.end)}return d.setVisual("color",s),{progress:p}}};t.exports=n},c537:function(t,e,i){var n=i("43a0"),a=i("a04a"),r=i("3f44"),o=i("415e"),s=o.isNameSpecified,l=i("0764"),u=l.legend.selector,c={all:{type:"all",title:a.clone(u.all)},inverse:{type:"inverse",title:a.clone(u.inverse)}},h=n.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,i){this.mergeDefaultAndTheme(t,i),t.selected=t.selected||{},this._updateSelector(t)},mergeOption:function(t){h.superCall(this,"mergeOption",t),this._updateSelector(t)},_updateSelector:function(t){var e=t.selector;!0===e&&(e=t.selector=["all","inverse"]),a.isArray(e)&&a.each(e,(function(t,i){a.isString(t)&&(t={type:t}),e[i]=a.merge(t,c[t.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,i=0;i=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}}}),d=h;t.exports=d},c58b:function(t,e,i){var n=i("f660"),a=i("a04a"),r=i("f3aa"),o=i("5d34");function s(t,e){n.call(this,t,e,["linearGradient","radialGradient"],"__gradient_in_use__")}a.inherits(s,n),s.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var i=this;a.each(["fill","stroke"],(function(n){if(e.style[n]&&("linear"===e.style[n].type||"radial"===e.style[n].type)){var a,r=e.style[n],o=i.getDefs(!0);r._dom?(a=r._dom,o.contains(r._dom)||i.addDom(a)):a=i.add(r),i.markUsed(e);var s=a.getAttribute("id");t.setAttribute(n,"url(#"+s+")")}}))}},s.prototype.add=function(t){var e;if("linear"===t.type)e=this.createElement("linearGradient");else{if("radial"!==t.type)return r("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},s.prototype.update=function(t){var e=this;n.prototype.update.call(this,t,(function(){var i=t.type,n=t._dom.tagName;"linear"===i&&"linearGradient"===n||"radial"===i&&"radialGradient"===n?e.updateDom(t,t._dom):(e.removeDom(t),e.add(t))}))},s.prototype.updateDom=function(t,e){if("linear"===t.type)e.setAttribute("x1",t.x),e.setAttribute("y1",t.y),e.setAttribute("x2",t.x2),e.setAttribute("y2",t.y2);else{if("radial"!==t.type)return void r("Illegal gradient type.");e.setAttribute("cx",t.x),e.setAttribute("cy",t.y),e.setAttribute("r",t.r)}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var i=t.colorStops,n=0,a=i.length;n-1){var u=o.parse(l)[3],c=o.toHex(l);s.setAttribute("stop-color","#"+c),s.setAttribute("stop-opacity",u)}else s.setAttribute("stop-color",i[n].color);e.appendChild(s)}t._dom=e},s.prototype.markUsed=function(t){if(t.style){var e=t.style.fill;e&&e._dom&&n.prototype.markUsed.call(this,e._dom),e=t.style.stroke,e&&e._dom&&n.prototype.markUsed.call(this,e._dom)}};var l=s;t.exports=l},c5d7:function(t,e,i){var n=i("f959"),a=i("6668"),r=i("0908"),o=r.encodeHTML,s=i("3f44"),l=i("20f7"),u=(l.__DEV__,n.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(t,e){for(var i=t.edges||t.links,n=t.data||t.nodes,r=t.levels,o=this.levelModels={},l=0;l=0&&(o[r[l].depth]=new s(r[l],this,e));if(n&&i){var u=a(n,i,this,!0,c);return u.data}function c(t,e){t.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var i=this.parentModel,n=i.getData().getItemLayout(e).depth,a=i.levelModels[n];return a||this.parentModel})),t})),e.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var i=this.parentModel,n=i.getGraph().getEdgeByIndex(e),a=n.node1.getLayout().depth,r=i.levelModels[a];return r||this.parentModel})),t}))}},setNodePosition:function(t,e){var i=this.option.data[t];i.localX=e[0],i.localY=e[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,i){if("edge"===i){var n=this.getDataParams(t,i),a=n.data,r=a.source+" -- "+a.target;return n.value&&(r+=" : "+n.value),o(r)}if("node"===i){var s=this.getGraph().getNodeByIndex(t),l=s.getLayout().value,c=this.getDataParams(t,i).data.name;if(l)r=c+" : "+l;return o(r)}return u.superCall(this,"formatTooltip",t,e)},optionUpdated:function(){var t=this.option;!0===t.focusNodeAdjacency&&(t.focusNodeAdjacency="allEdges")},getDataParams:function(t,e){var i=u.superCall(this,"getDataParams",t,e);if(null==i.value&&"node"===e){var n=this.getGraph().getNodeByIndex(t),a=n.getLayout().value;i.value=a}return i},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}})),c=u;t.exports=c},c639:function(t,e,i){var n=i("43a0");i("c5d7"),i("4006"),i("5d20");var a=i("d3e0"),r=i("a5e3");n.registerLayout(a),n.registerVisual(r)},c715:function(t,e,i){var n=i("a04a"),a=i("5d34"),r=i("62c3"),o=i("263c"),s=i("cd88"),l=i("6a23"),u=i("e0ce"),c=function(t,e,i,a){var r=l.dataTransform(t,a[0]),o=l.dataTransform(t,a[1]),s=n.retrieve,u=r.coord,c=o.coord;u[0]=s(u[0],-1/0),u[1]=s(u[1],-1/0),c[0]=s(c[0],1/0),c[1]=s(c[1],1/0);var h=n.mergeAll([{},r,o]);return h.coord=[r.coord,o.coord],h.x0=r.x,h.y0=r.y,h.x1=o.x,h.y1=o.y,h};function h(t){return!isNaN(t)&&!isFinite(t)}function d(t,e,i,n){var a=1-t;return h(e[a])&&h(i[a])}function f(t,e){var i=e.coord[0],n=e.coord[1];return!("cartesian2d"!==t.type||!i||!n||!d(1,i,n,t)&&!d(0,i,n,t))||(l.dataFilter(t,{coord:i,x:e.x0,y:e.y0})||l.dataFilter(t,{coord:n,x:e.x1,y:e.y1}))}function p(t,e,i,n,a){var r,s=n.coordinateSystem,l=t.getItemModel(e),u=o.parsePercent(l.get(i[0]),a.getWidth()),c=o.parsePercent(l.get(i[1]),a.getHeight());if(isNaN(u)||isNaN(c)){if(n.getMarkerPosition)r=n.getMarkerPosition(t.getValues(i,e));else{var d=t.get(i[0],e),f=t.get(i[1],e),p=[d,f];s.clampData&&s.clampData(p,p),r=s.dataToPoint(p,!0)}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");d=t.get(i[0],e),f=t.get(i[1],e);h(d)?r[0]=g.toGlobalCoord(g.getExtent()["x0"===i[0]?0:1]):h(f)&&(r[1]=m.toGlobalCoord(m.getExtent()["y0"===i[1]?0:1]))}isNaN(u)||(r[0]=u),isNaN(c)||(r[1]=c)}else r=[u,c];return r}var g=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];function m(t,e,i){var a,o,s=["x0","y0","x1","y1"];t?(a=n.map(t&&t.dimensions,(function(t){var i=e.getData(),a=i.getDimensionInfo(i.mapDimension(t))||{};return n.defaults({name:t},a)})),o=new r(n.map(s,(function(t,e){return{name:t,type:a[e%2].type}})),i)):(a=[{name:"value",type:"float"}],o=new r(a,i));var l=n.map(i.get("data"),n.curry(c,e,t,i));t&&(l=n.filter(l,n.curry(f,t)));var u=t?function(t,e,i,n){return t.coord[Math.floor(n/2)][n%2]}:function(t){return t.value};return o.initData(l,null,u),o.hasItemOption=!0,o}u.extend({type:"markArea",updateTransform:function(t,e,i){e.eachSeries((function(t){var e=t.markAreaModel;if(e){var a=e.getData();a.each((function(e){var r=n.map(g,(function(n){return p(a,e,n,t,i)}));a.setItemLayout(e,r);var o=a.getItemGraphicEl(e);o.setShape("points",r)}))}}),this)},renderSeries:function(t,e,i,r){var o=t.coordinateSystem,l=t.id,u=t.getData(),c=this.markerGroupMap,d=c.get(l)||c.set(l,{group:new s.Group});this.group.add(d.group),d.__keep=!0;var f=m(o,t,e);e.setData(f),f.each((function(e){var i=n.map(g,(function(i){return p(f,e,i,t,r)})),a=!0;n.each(g,(function(t){if(a){var i=f.get(t[0],e),n=f.get(t[1],e);(h(i)||o.getAxis("x").containData(i))&&(h(n)||o.getAxis("y").containData(n))&&(a=!1)}})),f.setItemLayout(e,{points:i,allClipped:a}),f.setItemVisual(e,{color:u.getVisual("color")})})),f.diff(d.__data).add((function(t){var e=f.getItemLayout(t);if(!e.allClipped){var i=new s.Polygon({shape:{points:e.points}});f.setItemGraphicEl(t,i),d.group.add(i)}})).update((function(t,i){var n=d.__data.getItemGraphicEl(i),a=f.getItemLayout(t);a.allClipped?n&&d.group.remove(n):(n?s.updateProps(n,{shape:{points:a.points}},e,t):n=new s.Polygon({shape:{points:a.points}}),f.setItemGraphicEl(t,n),d.group.add(n))})).remove((function(t){var e=d.__data.getItemGraphicEl(t);d.group.remove(e)})).execute(),f.eachItemGraphicEl((function(t,i){var r=f.getItemModel(i),o=r.getModel("label"),l=r.getModel("emphasis.label"),u=f.getItemVisual(i,"color");t.useStyle(n.defaults(r.getModel("itemStyle").getItemStyle(),{fill:a.modifyAlpha(u,.4),stroke:u})),t.hoverStyle=r.getModel("emphasis.itemStyle").getItemStyle(),s.setLabelStyle(t.style,t.hoverStyle,o,l,{labelFetcher:e,labelDataIndex:i,defaultText:f.getName(i)||"",isRectText:!0,autoColor:u}),s.setHoverStyle(t,{}),t.dataModel=e})),d.__data=f,d.group.silent=e.get("silent")||t.get("silent")}})},c71e:function(t,e,i){var n=i("a04a"),a=i("17ad"),r=i("cd88"),o=i("df8d"),s=i("3f23"),l=s.createClipPath,u=["itemStyle"],c=["emphasis","itemStyle"],h=["color","color0","borderColor","borderColor0"],d=a.extend({type:"candlestick",render:function(t,e,i){this.group.removeClipPath(),this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},incrementalPrepareRender:function(t,e,i){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,i,n){this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t){var e=t.getData(),i=this._data,n=this.group,a=e.getLayout("isSimpleBox"),o=t.get("clip",!0),s=t.coordinateSystem,l=s.getArea&&s.getArea();this._data||n.removeAll(),e.diff(i).add((function(i){if(e.hasValue(i)){var s,u=e.getItemLayout(i);if(o&&g(l,u))return;s=p(u,i,!0),r.initProps(s,{shape:{points:u.ends}},t,i),m(s,e,i,a),n.add(s),e.setItemGraphicEl(i,s)}})).update((function(s,u){var c=i.getItemGraphicEl(u);if(e.hasValue(s)){var h=e.getItemLayout(s);o&&g(l,h)?n.remove(c):(c?r.updateProps(c,{shape:{points:h.ends}},t,s):c=p(h,s),m(c,e,s,a),n.add(c),e.setItemGraphicEl(s,c))}else n.remove(c)})).remove((function(t){var e=i.getItemGraphicEl(t);e&&n.remove(e)})).execute(),this._data=e},_renderLarge:function(t){this._clear(),x(t,this.group);var e=t.get("clip",!0)?l(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},_incrementalRenderNormal:function(t,e){var i,n=e.getData(),a=n.getLayout("isSimpleBox");while(null!=(i=t.next())){var r,o=n.getItemLayout(i);r=p(o,i),m(r,n,i,a),r.incremental=!0,this.group.add(r)}},_incrementalRenderLarge:function(t,e){x(e,this.group,!0)},remove:function(t){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:n.noop}),f=o.extend({type:"normalCandlestickBox",shape:{},buildPath:function(t,e){var i=e.points;this.__simpleBox?(t.moveTo(i[4][0],i[4][1]),t.lineTo(i[6][0],i[6][1])):(t.moveTo(i[0][0],i[0][1]),t.lineTo(i[1][0],i[1][1]),t.lineTo(i[2][0],i[2][1]),t.lineTo(i[3][0],i[3][1]),t.closePath(),t.moveTo(i[4][0],i[4][1]),t.lineTo(i[5][0],i[5][1]),t.moveTo(i[6][0],i[6][1]),t.lineTo(i[7][0],i[7][1]))}});function p(t,e,i){var n=t.ends;return new f({shape:{points:i?v(n,t):n},z2:100})}function g(t,e){for(var i=!0,n=0;n0?"P":"N",r=n.getVisual("borderColor"+a)||n.getVisual("color"+a),o=i.getModel(u).getItemStyle(h);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var b=d;t.exports=b},c749:function(t,e,i){var n=i("a04a"),a=i("263c"),r=a.parsePercent,o=n.each;function s(t){var e=l(t);o(e,(function(t){var e=t.seriesModels;e.length&&(u(t),o(e,(function(e,i){c(e,t.boxOffsetList[i],t.boxWidthList[i])})))}))}function l(t){var e=[],i=[];return t.eachSeriesByType("boxplot",(function(t){var a=t.getBaseAxis(),r=n.indexOf(i,a);r<0&&(r=i.length,i[r]=a,e[r]={axis:a,seriesModels:[]}),e[r].seriesModels.push(t)})),e}function u(t){var e,i,a=t.axis,s=t.seriesModels,l=s.length,u=t.boxWidthList=[],c=t.boxOffsetList=[],h=[];if("category"===a.type)i=a.getBandWidth();else{var d=0;o(s,(function(t){d=Math.max(d,t.getData().count())})),e=a.getExtent(),Math.abs(e[1]-e[0])}o(s,(function(t){var e=t.get("boxWidth");n.isArray(e)||(e=[e,e]),h.push([r(e[0],i)||0,r(e[1],i)||0])}));var f=.8*i-2,p=f/l*.3,g=(f-p*(l-1))/l,m=g/2-f/2;o(s,(function(t,e){c.push(m),m+=p+g,u.push(Math.min(Math.max(g,h[e][0]),h[e][1]))}))}function c(t,e,i){var n=t.coordinateSystem,a=t.getData(),r=i/2,o="horizontal"===t.get("layout")?0:1,s=1-o,l=["x","y"],u=a.mapDimension(l[o]),c=a.mapDimension(l[s],!0);if(!(null==u||c.length<5))for(var h=0;hl&&(l=t.depth)}));var u=t.expandAndCollapse,c=u&&t.initialTreeDepth>=0?t.initialTreeDepth:l;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=c})),r.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){var e=this.getData().tree,i=e.root.children[0],n=e.getNodeByDataIndex(t),a=n.getValue(),r=n.name;while(n&&n!==i)r=n.parentNode.name+"."+r,n=n.parentNode;return o(r+(isNaN(a)||null==a?"":" : "+a))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});t.exports=l},c99e:function(t,e,i){var n=i("43a0"),a=i("e713");i("4116"),i("4072"),i("2997"),i("9890"),i("919a"),n.registerPreprocessor(a)},c9c7:function(t,e,i){var n=i("a04a");function a(t,e,i){if(t&&n.indexOf(e,t.type)>=0){var a=i.getData().tree.root,r=t.targetNode;if("string"===typeof r&&(r=a.getNodeById(r)),r&&a.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=a.getNodeById(o)))return{node:r}}}function r(t){var e=[];while(t)t=t.parentNode,t&&e.push(t);return e.reverse()}function o(t,e){var i=r(t);return n.indexOf(i,e)>=0}function s(t,e){var i=[];while(t){var n=t.dataIndex;i.push({name:t.name,dataIndex:n,value:e.getRawValue(n)}),t=t.parentNode}return i.reverse(),i}e.retrieveTargetInfo=a,e.getPathToRoot=r,e.aboveViewRoot=o,e.wrapTreePathInfo=s},cae8:function(t,e,i){var n=i("570e"),a=n.retrieveRawValue;function r(t,e){var i=t.mapDimension("defaultedLabel",!0),n=i.length;if(1===n)return a(t,e,i[0]);if(n){for(var r=[],o=0;oe[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},n.inherits(r,a);var o=r;t.exports=o},cba4:function(t,e,i){var n=i("a04a"),a={updateSelectedMap:function(t){this._targetList=n.isArray(t)?t.slice():[],this._selectTargetMap=n.reduce(t||[],(function(t,e){return t.set(e.name,e),t}),n.createHashMap())},select:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t),n=this.get("selectedMode");"single"===n&&this._selectTargetMap.each((function(t){t.selected=!1})),i&&(i.selected=!0)},unSelect:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);i&&(i.selected=!1)},toggleSelected:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);if(null!=i)return this[i.selected?"unSelect":"select"](t,e),i.selected},isSelected:function(t,e){var i=null!=e?this._targetList[e]:this._selectTargetMap.get(t);return i&&i.selected}};t.exports=a},cbef:function(t,e,i){var n=i("cd88"),a=i("a366"),r=i("a0c2"),o=i("3a0e"),s=n.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(t,e){var i=e.segs,n=e.curveness;if(e.polyline)for(var a=0;a0){t.moveTo(i[a++],i[a++]);for(var o=1;o0){var h=(s+u)/2-(l-c)*n,d=(l+c)/2-(u-s)*n;t.quadraticCurveTo(h,d,u,c)}else t.lineTo(u,c)}},findDataIndex:function(t,e){var i=this.shape,n=i.segs,a=i.curveness;if(i.polyline)for(var s=0,l=0;l0)for(var c=n[l++],h=n[l++],d=1;d0){var g=(c+f)/2-(h-p)*a,m=(h+p)/2-(f-c)*a;if(o.containStroke(c,h,g,m,f,p))return s}else if(r.containStroke(c,h,f,p))return s;s++}return-1}});function l(){this.group=new n.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(t){this.group.removeAll();var e=new s({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},u.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(t,e){var i=new s;i.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(i,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(i,!0):(i.rectHover=!0,i.cursor="default",i.__startIndex=t.start,this.group.add(i))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(t,e,i){var n=e.hostModel;t.setShape({polyline:n.get("polyline"),curveness:n.get("lineStyle.curveness")}),t.useStyle(n.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var a=e.getVisual("color");a&&t.setStyle("stroke",a),t.setStyle("fill"),i||(t.seriesIndex=n.seriesIndex,t.on("mousemove",(function(e){t.dataIndex=null;var i=t.findDataIndex(e.offsetX,e.offsetY);i>0&&(t.dataIndex=i+t.__startIndex)})))},u._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var c=l;t.exports=c},cc26:function(t,e){var i=["itemStyle","borderColor"];function n(t,e){var n=t.get("color");t.eachRawSeriesByType("boxplot",(function(e){var a=n[e.seriesIndex%n.length],r=e.getData();r.setVisual({legendSymbol:"roundRect",color:e.get(i)||a}),t.isSeriesFiltered(e)||r.each((function(t){var e=r.getItemModel(t);r.setItemVisual(t,{color:e.get(i,!0)})}))}))}t.exports=n},cd82:function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("a04a")),r=a.each,o=a.createHashMap,s=i("2022"),l=i("ebf8"),u=i("1b3d"),c=i("89ed"),h={geoJSON:l,svg:u},d={load:function(t,e,i){var n,a=[],s=o(),l=o(),u=p(t);return r(u,(function(o){var u=h[o.type].load(t,o,i);r(u.regions,(function(t){var i=t.name;e&&e.hasOwnProperty(i)&&(t=t.cloneShallow(i=e[i])),a.push(t),s.set(i,t),l.set(i,t.center)}));var c=u.boundingRect;c&&(n?n.union(c):n=c.clone())})),{regions:a,regionsMap:s,nameCoordMap:l,boundingRect:n||new c(0,0,0,0)}},makeGraphic:f("makeGraphic"),removeGraphic:f("removeGraphic")};function f(t){return function(e,i){var n=p(e),a=[];return r(n,(function(n){var r=h[n.type][t];r&&a.push(r(e,n,i))})),a}}function p(t){var e=s.retrieveMap(t)||[];return e}t.exports=d},cd84:function(t,e,i){var n=i("43a0"),a={type:"axisAreaSelect",event:"axisAreaSelected"};n.registerAction(a,(function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},(function(e){e.axis.model.setActiveIntervals(t.intervals)}))})),n.registerAction("parallelAxisExpand",(function(t,e){e.eachComponent({mainType:"parallel",query:t},(function(e){e.setAxisExpand(t)}))}))},cd88:function(t,e,i){var n=i("a04a"),a=i("f019"),r=i("5d34"),o=i("e2ea"),s=i("59af"),l=i("df8d"),u=i("1be6"),c=i("bce8");e.Image=c;var h=i("4e68");e.Group=h;var d=i("a1d7");e.Text=d;var f=i("6bd4");e.Circle=f;var p=i("a3d8");e.Sector=p;var g=i("a00b");e.Ring=g;var m=i("54e8");e.Polygon=m;var v=i("93ef");e.Polyline=v;var y=i("ec96");e.Rect=y;var x=i("b55d");e.Line=x;var _=i("2686");e.BezierCurve=_;var b=i("408d");e.Arc=b;var w=i("440e");e.CompoundPath=w;var S=i("2353");e.LinearGradient=S;var M=i("192d");e.RadialGradient=M;var I=i("89ed");e.BoundingRect=I;var A=i("a366");e.IncrementalDisplayable=A;var T=i("69f0"),C=Math.max,D=Math.min,L={},P=1,k={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},O="emphasis",R="normal",E=1,N={},z={};function V(t){return l.extend(t)}function B(t,e){return a.extendFromString(t,e)}function F(t,e){z[t]=e}function G(t){if(z.hasOwnProperty(t))return z[t]}function H(t,e,i,n){var r=a.createFromString(t,e);return i&&("center"===n&&(i=U(i,r.getBoundingRect())),Y(r,i)),r}function W(t,e,i){var n=new c({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===i){var a={width:t.width,height:t.height};n.setStyle(U(e,a))}}});return n}function U(t,e){var i,n=e.width/e.height,a=t.height*n;a<=t.width?i=t.height:(a=t.width,i=a/n);var r=t.x+t.width/2,o=t.y+t.height/2;return{x:r-a/2,y:o-i/2,width:a,height:i}}var Z=a.mergePath;function Y(t,e){if(t.applyTransform){var i=t.getBoundingRect(),n=i.calculateTransform(e);t.applyTransform(n)}}function j(t){return T.subPixelOptimizeLine(t.shape,t.shape,t.style),t}function X(t){return T.subPixelOptimizeRect(t.shape,t.shape,t.style),t}var q=T.subPixelOptimize;function K(t){return null!=t&&"none"!==t}var $=n.createHashMap(),J=0;function Q(t){if("string"!==typeof t)return t;var e=$.get(t);return e||(e=r.lift(t,-.1),J<1e4&&($.set(t,e),J++)),e}function tt(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var i=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var n=t.style;for(var a in e)null!=e[a]&&(i[a]=n[a]);i.fill=n.fill,i.stroke=n.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}function et(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var i=t.__zr,n=t.useHoverLayer&&i&&"canvas"===i.painter.type;if(t.__highlighted=n?"layer":"plain",!(t.isGroup||!i&&t.useHoverLayer)){var a=t,r=t.style;n&&(a=i.addHover(t),r=a.style),Mt(r),n||tt(a),r.extendFrom(e),it(r,e,"fill"),it(r,e,"stroke"),St(r),n||(t.dirty(!1),t.z2+=P)}}}function it(t,e,i){!K(e[i])&&K(t[i])&&(t[i]=Q(t[i]))}function nt(t){var e=t.__highlighted;if(e&&(t.__highlighted=!1,!t.isGroup))if("layer"===e)t.__zr&&t.__zr.removeHover(t);else{var i=t.style,n=t.__cachedNormalStl;n&&(Mt(i),t.setStyle(n),St(i));var a=t.__cachedNormalZ2;null!=a&&t.z2-a===P&&(t.z2=a)}}function at(t,e,i){var n,a=R,r=R;t.__highlighted&&(a=O,n=!0),e(t,i),t.__highlighted&&(r=O,n=!0),t.isGroup&&t.traverse((function(t){!t.isGroup&&e(t,i)})),n&&t.__highDownOnUpdate&&t.__highDownOnUpdate(a,r)}function rt(t,e){e=t.__hoverStl=!1!==e&&(t.hoverStyle||e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,nt(t),et(t))}function ot(t){!ct(this,t)&&!this.__highByOuter&&at(this,et)}function st(t){!ct(this,t)&&!this.__highByOuter&&at(this,nt)}function lt(t){this.__highByOuter|=1<<(t||0),at(this,et)}function ut(t){!(this.__highByOuter&=~(1<<(t||0)))&&at(this,nt)}function ct(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function ht(t,e){dt(t,!0),at(t,rt,e)}function dt(t,e){var i=!1===e;if(t.__highDownSilentOnTouch=t.highDownSilentOnTouch,t.__highDownOnUpdate=t.highDownOnUpdate,!i||t.__highDownDispatcher){var n=i?"off":"on";t[n]("mouseover",ot)[n]("mouseout",st),t[n]("emphasis",lt)[n]("normal",ut),t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!i}}function ft(t){return!(!t||!t.__highDownDispatcher)}function pt(t){var e=N[t];return null==e&&E<=32&&(e=N[t]=E++),e}function gt(t,e,i,a,r,o,s){r=r||L;var l,u=r.labelFetcher,c=r.labelDataIndex,h=r.labelDimIndex,d=r.labelProp,f=i.getShallow("show"),p=a.getShallow("show");(f||p)&&(u&&(l=u.getFormattedLabel(c,"normal",null,h,d)),null==l&&(l=n.isFunction(r.defaultText)?r.defaultText(c,r):r.defaultText));var g=f?l:null,m=p?n.retrieve2(u?u.getFormattedLabel(c,"emphasis",null,h,d):null,l):null;null==g&&null==m||(vt(t,i,o,r),vt(e,a,s,r,!0)),t.text=g,e.text=m}function mt(t,e,i){var a=t.style;e&&(Mt(a),t.setStyle(e),St(a)),a=t.__hoverStl,i&&a&&(Mt(a),n.extend(a,i),St(a))}function vt(t,e,i,a,r){return xt(t,e,a,r),i&&n.extend(t,i),t}function yt(t,e,i){var n,a={isRectText:!0};!1===i?n=!0:a.autoColor=i,xt(t,e,a,n)}function xt(t,e,i,a){if(i=i||L,i.isRectText){var r;i.getTextPosition?r=i.getTextPosition(e,a):(r=e.getShallow("position")||(a?null:"inside"),"outside"===r&&(r="top")),t.textPosition=r,t.textOffset=e.getShallow("offset");var o=e.getShallow("rotate");null!=o&&(o*=Math.PI/180),t.textRotation=o,t.textDistance=n.retrieve2(e.getShallow("distance"),a?null:5)}var s,l=e.ecModel,u=l&&l.option.textStyle,c=_t(e);if(c)for(var h in s={},c)if(c.hasOwnProperty(h)){var d=e.getModel(["rich",h]);bt(s[h]={},d,u,i,a)}return t.rich=s,bt(t,e,u,i,a,!0),i.forceRich&&!i.textStyle&&(i.textStyle={}),t}function _t(t){var e;while(t&&t!==t.ecModel){var i=(t.option||L).rich;if(i)for(var n in e=e||{},i)i.hasOwnProperty(n)&&(e[n]=1);t=t.parentModel}return e}function bt(t,e,i,a,r,o){i=!r&&i||L,t.textFill=wt(e.getShallow("color"),a)||i.color,t.textStroke=wt(e.getShallow("textBorderColor"),a)||i.textBorderColor,t.textStrokeWidth=n.retrieve2(e.getShallow("textBorderWidth"),i.textBorderWidth),r||(o&&(t.insideRollbackOpt=a,St(t)),null==t.textFill&&(t.textFill=a.autoColor)),t.fontStyle=e.getShallow("fontStyle")||i.fontStyle,t.fontWeight=e.getShallow("fontWeight")||i.fontWeight,t.fontSize=e.getShallow("fontSize")||i.fontSize,t.fontFamily=e.getShallow("fontFamily")||i.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),o&&a.disableBox||(t.textBackgroundColor=wt(e.getShallow("backgroundColor"),a),t.textPadding=e.getShallow("padding"),t.textBorderColor=wt(e.getShallow("borderColor"),a),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||i.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||i.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||i.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||i.textShadowOffsetY}function wt(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function St(t){var e,i=t.textPosition,n=t.insideRollbackOpt;if(n&&null==t.textFill){var a=n.autoColor,r=n.isRectText,o=n.useInsideStyle,s=!1!==o&&(!0===o||r&&i&&"string"===typeof i&&i.indexOf("inside")>=0),l=!s&&null!=a;(s||l)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),s&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=a,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),l&&(t.textFill=a)}t.insideRollback=e}function Mt(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function It(t,e){var i=e&&e.getModel("textStyle");return n.trim([t.fontStyle||i&&i.getShallow("fontStyle")||"",t.fontWeight||i&&i.getShallow("fontWeight")||"",(t.fontSize||i&&i.getShallow("fontSize")||12)+"px",t.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))}function At(t,e,i,n,a,r){"function"===typeof a&&(r=a,a=null);var o=n&&n.isAnimationEnabled();if(o){var s=t?"Update":"",l=n.getShallow("animationDuration"+s),u=n.getShallow("animationEasing"+s),c=n.getShallow("animationDelay"+s);"function"===typeof c&&(c=c(a,n.getAnimationDelayParams?n.getAnimationDelayParams(e,a):null)),"function"===typeof l&&(l=l(a)),l>0?e.animateTo(i,l,c||0,u,r,!!r):(e.stopAnimation(),e.attr(i),r&&r())}else e.stopAnimation(),e.attr(i),r&&r()}function Tt(t,e,i,n,a){At(!0,t,e,i,n,a)}function Ct(t,e,i,n,a){At(!1,t,e,i,n,a)}function Dt(t,e){var i=o.identity([]);while(t&&t!==e)o.mul(i,t.getLocalTransform(),i),t=t.parent;return i}function Lt(t,e,i){return e&&!n.isArrayLike(e)&&(e=u.getLocalTransform(e)),i&&(e=o.invert([],e)),s.applyTransform([],t,e)}function Pt(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),a=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),r=["left"===t?-n:"right"===t?n:0,"top"===t?-a:"bottom"===t?a:0];return r=Lt(r,e,i),Math.abs(r[0])>Math.abs(r[1])?r[0]>0?"right":"left":r[1]>0?"bottom":"top"}function kt(t,e,i,a){if(t&&e){var r=o(t);e.traverse((function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var n=l(t);t.attr(l(e)),Tt(t,n,i,t.dataIndex)}}}))}function o(t){var e={};return t.traverse((function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)})),e}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=n.extend({},t.shape)),e}}function Ot(t,e){return n.map(t,(function(t){var i=t[0];i=C(i,e.x),i=D(i,e.x+e.width);var n=t[1];return n=C(n,e.y),n=D(n,e.y+e.height),[i,n]}))}function Rt(t,e){var i=C(t.x,e.x),n=D(t.x+t.width,e.x+e.width),a=C(t.y,e.y),r=D(t.y+t.height,e.y+e.height);if(n>=i&&r>=a)return{x:i,y:a,width:n-i,height:r-a}}function Et(t,e,i){e=n.extend({rectHover:!0},e);var a=e.style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(a.image=t.slice(8),n.defaults(a,i),new c(e)):H(t.replace("path://",""),e,i,"center")}function Nt(t,e,i,n,a){for(var r=0,o=a[a.length-1];r1)return!1;var m=Vt(f,p,c,h)/d;return!(m<0||m>1)}function Vt(t,e,i,n){return t*n-i*e}function Bt(t){return t<=1e-6&&t>=-1e-6}F("circle",f),F("sector",p),F("ring",g),F("polygon",m),F("polyline",v),F("rect",y),F("line",x),F("bezierCurve",_),F("arc",b),e.Z2_EMPHASIS_LIFT=P,e.CACHED_LABEL_STYLE_PROPERTIES=k,e.extendShape=V,e.extendPath=B,e.registerShape=F,e.getShapeClass=G,e.makePath=H,e.makeImage=W,e.mergePath=Z,e.resizePath=Y,e.subPixelOptimizeLine=j,e.subPixelOptimizeRect=X,e.subPixelOptimize=q,e.setElementHoverStyle=rt,e.setHoverStyle=ht,e.setAsHighDownDispatcher=dt,e.isHighDownDispatcher=ft,e.getHighlightDigit=pt,e.setLabelStyle=gt,e.modifyLabelStyle=mt,e.setTextStyle=vt,e.setText=yt,e.getFont=It,e.updateProps=Tt,e.initProps=Ct,e.getTransform=Dt,e.applyTransform=Lt,e.transformDirection=Pt,e.groupTransition=kt,e.clipPointsByRect=Ot,e.clipRectByRect=Rt,e.createIcon=Et,e.linePolygonIntersect=Nt,e.lineLineIntersect=zt},cdfc:function(t,e,i){var n=i("43a0"),a="\0_ec_interaction_mutex";function r(t,e,i){var n=l(t);n[e]=i}function o(t,e,i){var n=l(t),a=n[e];a===i&&(n[e]=null)}function s(t,e){return!!l(t)[e]}function l(t){return t[a]||(t[a]={})}n.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),e.take=r,e.release=o,e.isTaken=s},cf0f:function(t,e,i){var n=i("a04a"),a=i("1206"),r=function(t,e,i,n,r){a.call(this,t,e,i),this.type=n||"value",this.axisIndex=r};r.prototype={constructor:r,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},n.inherits(r,a);var o=r;t.exports=o},cfc3:function(t,e,i){var n=i("a04a"),a=i("4920"),r=i("263c"),o=i("90df"),s=864e5;function l(t,e,i){this._model=t}function u(t,e,i,n){var a=i.calendarModel,r=i.seriesModel,o=a?a.coordinateSystem:r?r.coordinateSystem:null;return o===this?o[t](n):null}l.prototype={constructor:l,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(t){t=r.parseDate(t);var e=t.getFullYear(),i=t.getMonth()+1;i=i<10?"0"+i:i;var n=t.getDate();n=n<10?"0"+n:n;var a=t.getDay();return a=Math.abs((a+7-this.getFirstDayOfWeek())%7),{y:e,m:i,d:n,day:a,time:t.getTime(),formatedDate:e+"-"+i+"-"+n,date:t}},getNextNDay:function(t,e){return e=e||0,0===e||(t=new Date(this.getDateInfo(t).time),t.setDate(t.getDate()+e)),this.getDateInfo(t)},update:function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var i=this._rangeInfo.weeks||1,r=["width","height"],o=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[i,7]:[7,i];n.each([0,1],(function(t){h(o,t)&&(s[r[t]]=o[t]*l[t])}));var u={width:e.getWidth(),height:e.getHeight()},c=this._rect=a.getLayoutRect(s,u);function h(t,e){return null!=t[e]&&"auto"!==t[e]}n.each([0,1],(function(t){h(o,t)||(o[t]=c[r[t]]/l[t])})),this._sw=o[0],this._sh=o[1]},dataToPoint:function(t,e){n.isArray(t)&&(t=t[0]),null==e&&(e=!0);var i=this.getDateInfo(t),a=this._rangeInfo,r=i.formatedDate;if(e&&!(i.time>=a.start.time&&i.timeo.end.time&&t.reverse(),t},_getRangeInfo:function(t){var e;t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])],t[0].time>t[1].time&&(e=!0,t.reverse());var i=Math.floor(t[1].time/s)-Math.floor(t[0].time/s)+1,n=new Date(t[0].time),a=n.getDate(),r=t[1].date.getDate();n.setDate(a+i-1);var o=n.getDate();if(o!==r){var l=n.getTime()-t[1].time>0?1:-1;while((o=n.getDate())!==r&&(n.getTime()-t[1].time)*l>0)i-=l,n.setDate(o-l)}var u=Math.floor((i+t[0].day+6)/7),c=e?1-u:u-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:i,weeks:u,nthWeek:c,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,i){var n=this._getRangeInfo(i);if(t>n.weeks||0===t&&en.lweek)return!1;var a=7*(t-1)-n.fweek+e,r=new Date(n.start.time);return r.setDate(n.start.d+a),this.getDateInfo(r)}},l.dimensions=l.prototype.dimensions,l.getDimensionsInfo=l.prototype.getDimensionsInfo,l.create=function(t,e){var i=[];return t.eachComponent("calendar",(function(n){var a=new l(n,t,e);i.push(a),n.coordinateSystem=a})),t.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])})),i},o.register("calendar",l);var c=l;t.exports=c},d124:function(t,e,i){var n=i("43a0"),a=i("a04a");i("6975"),i("54e85"),i("a181");var r=i("f4e0"),o=r.layout,s=i("a4c1");i("2ae6"),n.registerLayout(a.curry(o,"pictorialBar")),n.registerVisual(s("pictorialBar","roundRect"))},d17a:function(t,e,i){var n=i("43a0"),a=n.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});t.exports=a},d197:function(t,e,i){var n=i("a04a"),a=i("b007"),r=i("0764"),o=r.toolbox.brush;function s(t,e,i){this.model=t,this.ecModel=e,this.api=i,this._brushType,this._brushMode}s.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:n.clone(o.title)};var l=s.prototype;l.render=l.updateView=function(t,e,i){var a,r,o;e.eachComponent({mainType:"brush"},(function(t){a=t.brushType,r=t.brushOption.brushMode||"single",o|=t.areas.length})),this._brushType=a,this._brushMode=r,n.each(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===a)?"emphasis":"normal")}))},l.getIcons=function(){var t=this.model,e=t.get("icon",!0),i={};return n.each(t.get("type",!0),(function(t){e[t]&&(i[t]=e[t])})),i},l.onclick=function(t,e,i){var n=this._brushType,a=this._brushMode;"clear"===i?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===i?n:n!==i&&i,brushMode:"keep"===i?"multiple"===a?"single":"multiple":a}})},a.register("brush",s);var u=s;t.exports=u},d201:function(t,e,i){var n=i("4df2"),a=i("62c3"),r=i("a04a"),o=r.extend,s=r.isArray;function l(t,e,i){e=s(e)&&{coordDimensions:e}||o({},e);var r=t.getSource(),l=n(r,e),u=new a(l,t);return u.initData(r,i),u}t.exports=l},d266:function(t,e,i){var n=i("2529"),a=n.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),r=a;t.exports=r},d3a3:function(t,e,i){var n=i("43a0"),a=i("cd88"),r=i("a04a"),o=i("2cb9");function s(t){return r.isArray(t)||(t=[+t,+t]),t}var l=n.extendChartView({type:"radar",render:function(t,e,i){var n=t.coordinateSystem,l=this.group,u=t.getData(),c=this._data;function h(t,e){var i=t.getItemVisual(e,"symbol")||"circle",n=t.getItemVisual(e,"color");if("none"!==i){var a=s(t.getItemVisual(e,"symbolSize")),r=o.createSymbol(i,-1,-1,2,2,n),l=t.getItemVisual(e,"symbolRotate")||0;return r.attr({style:{strokeNoScale:!0},z2:100,scale:[a[0]/2,a[1]/2],rotation:l*Math.PI/180||0}),r}}function d(e,i,n,r,o,s){n.removeAll();for(var l=0;l=0;_&&x.depth>m&&(m=x.depth),y.setLayout({depth:_?x.depth:h},!0),"vertical"===r?y.setLayout({dy:i},!0):y.setLayout({dx:i},!0);for(var b=0;bh-1?m:h-1;o&&"left"!==o&&f(t,o,r,A);d="vertical"===r?(a-i)/A:(n-i)/A;g(t,d,r)}function d(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function f(t,e,i,n){if("right"===e){var r=[],o=t,s=0;while(o.length){for(var l=0;l0;r--)l*=.99,_(s,l,o),x(s,a,i,n,o),C(s,l,o),x(s,a,i,n,o)}function v(t,e){var i=[],n="vertical"===e?"y":"x",r=o(t,(function(t){return t.getLayout()[n]}));return r.keys.sort((function(t,e){return t-e})),a.each(r.keys,(function(t){i.push(r.buckets.get(t))})),i}function y(t,e,i,n,r,o){var s=1/0;a.each(t,(function(t){var e=t.length,l=0;a.each(t,(function(t){l+=t.getLayout().value}));var u="vertical"===o?(n-(e-1)*r)/l:(i-(e-1)*r)/l;u0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[h]+e;var f="vertical"===r?n:i;if(l=u-e-f,l>0)for(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a,d=c-2;d>=0;--d)s=t[d],l=s.getLayout()[o]+s.getLayout()[h]+e-u,l>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}))}function _(t,e,i){a.each(t.slice().reverse(),(function(t){a.each(t,(function(t){if(t.outEdges.length){var n=T(t.outEdges,b,i)/T(t.outEdges,A,i);if(isNaN(n)){var a=t.outEdges.length;n=a?T(t.outEdges,w,i)/a:0}if("vertical"===i){var r=t.getLayout().x+(n-I(t,i))*e;t.setLayout({x:r},!0)}else{var o=t.getLayout().y+(n-I(t,i))*e;t.setLayout({y:o},!0)}}}))}))}function b(t,e){return I(t.node2,e)*t.getValue()}function w(t,e){return I(t.node2,e)}function S(t,e){return I(t.node1,e)*t.getValue()}function M(t,e){return I(t.node1,e)}function I(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function A(t){return t.getValue()}function T(t,e,i){var n=0,a=t.length,r=-1;while(++r=i&&r<=i+e.axisLength&&o>=n&&o<=n+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries((function(i){if(t.contains(i,e)){var n=i.getData();h(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(n,n.mapDimension(t)),o.niceScaleExtent(e.scale,e.model)}),this)}}),this)},resize:function(t,e){this._rect=r.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,i=this._rect,n=["x","y"],a=["width","height"],r=e.get("layout"),o="horizontal"===r?0:1,s=i[a[o]],l=[0,s],u=this.dimensions.length,c=x(e.get("axisExpandWidth"),l),h=x(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,f=e.get("axisExpandWindow");if(f)t=x(f[1]-f[0],l),f[1]=f[0]+t;else{t=x(c*(h-1),l);var v=e.get("axisExpandCenter")||p(u/2);f=[c*v-t/2],f[1]=f[0]+t}var y=(s-t)/(u-h);y<3&&(y=0);var _=[p(m(f[0]/c,1))+1,g(m(f[1]/c,1))-1],b=y/c*f[0];return{layout:r,pixelDimIndex:o,layoutBase:i[n[o]],layoutLength:s,axisBase:i[n[1-o]],axisLength:i[a[1-o]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:y,axisExpandWindow:f,axisCount:u,winInnerIndices:_,axisExpandWindow0Pos:b}},_layoutAxes:function(){var t=this._rect,e=this._axesMap,i=this.dimensions,n=this._makeLayoutInfo(),r=n.layout;e.each((function(t){var e=[0,n.axisLength],i=t.inverse?1:0;t.setExtent(e[i],e[1-i])})),h(i,(function(e,i){var o=(n.axisExpandable?b:_)(i,n),s={horizontal:{x:o.position,y:n.axisLength},vertical:{x:0,y:o.position}},l={horizontal:v/2,vertical:0},u=[s[r].x+t.x,s[r].y+t.y],c=l[r],h=a.create();a.rotate(h,h,c),a.translate(h,h,u),this._axesLayout[e]={position:u,rotation:c,transform:h,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(t){return this._axesMap.get(t)},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},eachActiveState:function(t,e,i,a){null==i&&(i=0),null==a&&(a=t.count());var r=this._axesMap,o=this.dimensions,s=[],l=[];n.each(o,(function(e){s.push(t.mapDimension(e)),l.push(r.get(e).model)}));for(var u=this.hasAxisBrushed(),c=i;ca*(1-h[0])?(l="jump",o=s-a*(1-h[2])):(o=s-a*h[1])>=0&&(o=s-a*(1-h[1]))<=0&&(o=0),o*=e.axisExpandWidth/u,o?c(o,n,r,"all"):l="none";else{a=n[1]-n[0];var g=r[1]*s/a;n=[f(0,g-a/2)],n[1]=d(r[1],n[0]+a),n[0]=n[1]-a}return{axisExpandWindow:n,behavior:l}}};var w=y;t.exports=w},d826:function(t,e,i){var n=i("a04a"),a=n.retrieve2,r=n.retrieve3,o=n.each,s=n.normalizeCssArray,l=n.isString,u=n.isObject,c=i("1760"),h=i("9cfa"),d=i("d837"),f=i("6524"),p=i("8d4e"),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},_=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],b={},w={};function S(t){return M(t),o(t.rich,M),t}function M(t){if(t){t.font=c.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||y[e]?e:"left";var i=t.textVerticalAlign||t.textBaseline;"center"===i&&(i="middle"),t.textVerticalAlign=null==i||x[i]?i:"top";var n=t.textPadding;n&&(t.textPadding=s(t.textPadding))}}function I(t,e,i,n,a,r){n.rich?T(t,e,i,n,a,r):A(t,e,i,n,a,r)}function A(t,e,i,n,a,r){"use strict";var o,s=P(n),l=!1,u=e.__attrCachedBy===g.PLAIN_TEXT;r!==m?(r&&(o=r.style,l=!s&&u&&o),e.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):u&&(e.__attrCachedBy=g.NONE);var h=n.font||v;l&&h===(o.font||v)||(e.font=h);var d=t.__computedFont;t.__styleFont!==h&&(t.__styleFont=h,d=t.__computedFont=e.font);var p=n.textPadding,y=n.textLineHeight,x=t.__textCotentBlock;x&&!t.__dirtyText||(x=t.__textCotentBlock=c.parsePlainText(i,d,p,y,n.truncate));var b=x.outerHeight,S=x.lines,M=x.lineHeight,I=R(w,t,n,a),A=I.baseX,T=I.baseY,C=I.textAlign||"left",L=I.textVerticalAlign;D(e,n,a,A,T);var O=c.adjustTextY(T,b,L),E=A,V=O;if(s||p){var F=c.getWidth(i,d),G=F;p&&(G+=p[1]+p[3]);var H=c.adjustTextX(A,G,C);s&&k(t,e,n,H,O,G,b),p&&(E=B(A,C,p),V+=p[0])}e.textAlign=C,e.textBaseline="middle",e.globalAlpha=n.opacity||1;for(var W=0;W<_.length;W++){var U=_[W],Z=U[0],Y=U[1],j=n[Z];l&&j===o[Z]||(e[Y]=f(e,Y,j||U[2]))}V+=M/2;var X=n.textStrokeWidth,q=l?o.textStrokeWidth:null,K=!l||X!==q,$=!l||K||n.textStroke!==o.textStroke,J=N(n.textStroke,X),Q=z(n.textFill);if(J&&(K&&(e.lineWidth=X),$&&(e.strokeStyle=J)),Q&&(l&&n.textFill===o.textFill||(e.fillStyle=Q)),1===S.length)J&&e.strokeText(S[0],E,V),Q&&e.fillText(S[0],E,V);else for(W=0;W=0&&(b=M[N],"right"===b.textAlign))L(t,e,b,n,A,y,E,"right"),T-=b.width,E-=b.width,N--;O+=(r-(O-v)-(x-E)-T)/2;while(C<=N)b=M[C],L(t,e,b,n,A,y,O+b.width/2,"center"),O+=b.width,C++;y+=A}}function D(t,e,i,n,a){if(i&&e.textRotation){var r=e.textOrigin;"center"===r?(n=i.width/2+i.x,a=i.height/2+i.y):r&&(n=r[0]+i.x,a=r[1]+i.y),t.translate(n,a),t.rotate(-e.textRotation),t.translate(-n,-a)}}function L(t,e,i,n,o,s,l,u){var c=n.rich[i.styleName]||{};c.text=i.text;var h=i.textVerticalAlign,d=s+o/2;"top"===h?d=s+i.height/2:"bottom"===h&&(d=s+o-i.height/2),!i.isLineHolder&&P(c)&&k(t,e,c,"right"===u?l-i.width:"center"===u?l-i.width/2:l,d-i.height/2,i.width,i.height);var f=i.textPadding;f&&(l=B(l,u,f),d-=i.height/2-f[2]-i.textHeight/2),E(e,"shadowBlur",r(c.textShadowBlur,n.textShadowBlur,0)),E(e,"shadowColor",c.textShadowColor||n.textShadowColor||"transparent"),E(e,"shadowOffsetX",r(c.textShadowOffsetX,n.textShadowOffsetX,0)),E(e,"shadowOffsetY",r(c.textShadowOffsetY,n.textShadowOffsetY,0)),E(e,"textAlign",u),E(e,"textBaseline","middle"),E(e,"font",i.font||v);var p=N(c.textStroke||n.textStroke,m),g=z(c.textFill||n.textFill),m=a(c.textStrokeWidth,n.textStrokeWidth);p&&(E(e,"lineWidth",m),E(e,"strokeStyle",p),e.strokeText(i.text,l,d)),g&&(E(e,"fillStyle",g),e.fillText(i.text,l,d))}function P(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function k(t,e,i,n,a,r,o){var s=i.textBackgroundColor,c=i.textBorderWidth,f=i.textBorderColor,p=l(s);if(E(e,"shadowBlur",i.textBoxShadowBlur||0),E(e,"shadowColor",i.textBoxShadowColor||"transparent"),E(e,"shadowOffsetX",i.textBoxShadowOffsetX||0),E(e,"shadowOffsetY",i.textBoxShadowOffsetY||0),p||c&&f){e.beginPath();var g=i.textBorderRadius;g?h.buildPath(e,{x:n,y:a,width:r,height:o,r:g}):e.rect(n,a,r,o),e.closePath()}if(p)if(E(e,"fillStyle",s),null!=i.fillOpacity){var m=e.globalAlpha;e.globalAlpha=i.fillOpacity*i.opacity,e.fill(),e.globalAlpha=m}else e.fill();else if(u(s)){var v=s.image;v=d.createOrUpdateImage(v,null,t,O,s),v&&d.isImageReady(v)&&e.drawImage(v,n,a,r,o)}if(c&&f)if(E(e,"lineWidth",c),E(e,"strokeStyle",f),null!=i.strokeOpacity){m=e.globalAlpha;e.globalAlpha=i.strokeOpacity*i.opacity,e.stroke(),e.globalAlpha=m}else e.stroke()}function O(t,e){e.image=t}function R(t,e,i,n){var a=i.x||0,r=i.y||0,o=i.textAlign,s=i.textVerticalAlign;if(n){var l=i.textPosition;if(l instanceof Array)a=n.x+V(l[0],n.width),r=n.y+V(l[1],n.height);else{var u=e&&e.calculateTextPosition?e.calculateTextPosition(b,i,n):c.calculateTextPosition(b,i,n);a=u.x,r=u.y,o=o||u.textAlign,s=s||u.textVerticalAlign}var h=i.textOffset;h&&(a+=h[0],r+=h[1])}return t=t||{},t.baseX=a,t.baseY=r,t.textAlign=o,t.textVerticalAlign=s,t}function E(t,e,i){return t[e]=f(t,e,i),t[e]}function N(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function z(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function V(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function B(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}function F(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}e.normalizeTextStyle=S,e.renderText=I,e.getBoxPosition=R,e.getStroke=N,e.getFill=z,e.parsePercent=V,e.needDrawText=F},d837:function(t,e,i){var n=i("4a86"),a=new n(50);function r(t){if("string"===typeof t){var e=a.get(t);return e&&e.image}return t}function o(t,e,i,n,r){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!i)return e;var o=a.get(t),u={hostEl:i,cb:n,cbPayload:r};return o?(e=o.image,!l(e)&&o.pending.push(u)):(e=new Image,e.onload=e.onerror=s,a.put(t,e.__cachedImgObj={image:e,pending:[u]}),e.src=e.__zrImageSrc=t),e}return t}return e}function s(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;ethis._ux||x(e-this._yi)>this._uy||this._len<5;return this.addData(u.L,t,e),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),i&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,i,n,a,r){return this.addData(u.C,t,e,i,n,a,r),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,n,a,r):this._ctx.bezierCurveTo(t,e,i,n,a,r)),this._xi=a,this._yi=r,this},quadraticCurveTo:function(t,e,i,n){return this.addData(u.Q,t,e,i,n),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,i,n):this._ctx.quadraticCurveTo(t,e,i,n)),this._xi=i,this._yi=n,this},arc:function(t,e,i,n,a,r){return this.addData(u.A,t,e,i,i,n,a-n,0,r?0:1),this._ctx&&this._ctx.arc(t,e,i,n,a,r),this._xi=m(a)*i+t,this._yi=v(a)*i+e,this},arcTo:function(t,e,i,n,a){return this._ctx&&this._ctx.arcTo(t,e,i,n,a),this},rect:function(t,e,i,n){return this._ctx&&this._ctx.rect(t,e,i,n),this.addData(u.R,t,e,i,n),this},closePath:function(){this.addData(u.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,i),t.closePath()),this._xi=e,this._yi=i,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,i=0;ie.length&&(this._expandData(),e=this.data);for(var i=0;i0&&f<=t||c<0&&f>=t||0===c&&(h>0&&m<=e||h<0&&m>=e))n=this._dashIdx,i=o[n],f+=c*i,m+=h*i,this._dashIdx=(n+1)%v,c>0&&fl||h>0&&mu||s[n%2?"moveTo":"lineTo"](c>=0?p(f,t):g(f,t),h>=0?p(m,e):g(m,e));c=f-t,h=m-e,this._dashOffset=-y(c*c+h*h)},_dashedBezierTo:function(t,e,i,a,r,o){var s,l,u,c,h,d=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,m=this._xi,v=this._yi,x=n.cubicAt,_=0,b=this._dashIdx,w=p.length,S=0;for(f<0&&(f=d+f),f%=d,s=0;s<1;s+=.1)l=x(m,t,i,r,s+.1)-x(m,t,i,r,s),u=x(v,e,a,o,s+.1)-x(v,e,a,o,s),_+=y(l*l+u*u);for(;bf)break;s=(S-f)/_;while(s<=1)c=x(m,t,i,r,s),h=x(v,e,a,o,s),b%2?g.moveTo(c,h):g.lineTo(c,h),s+=p[b]/_,b=(b+1)%w;b%2!==0&&g.lineTo(r,o),l=r-c,u=o-h,this._dashOffset=-y(l*l+u*u)},_dashedQuadraticTo:function(t,e,i,n){var a=i,r=n;i=(i+2*t)/3,n=(n+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,i,n,a,r)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,_&&(this.data=new Float32Array(t)))},getBoundingRect:function(){c[0]=c[1]=d[0]=d[1]=Number.MAX_VALUE,h[0]=h[1]=f[0]=f[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,i=0,n=0,s=0,l=0;ll||x(o-a)>c||d===h-1)&&(t.lineTo(r,o),n=r,a=o);break;case u.C:t.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),n=s[d-2],a=s[d-1];break;case u.Q:t.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),n=s[d-2],a=s[d-1];break;case u.A:var p=s[d++],g=s[d++],y=s[d++],_=s[d++],b=s[d++],w=s[d++],S=s[d++],M=s[d++],I=y>_?y:_,A=y>_?1:y/_,T=y>_?_/y:1,C=Math.abs(y-_)>.001,D=b+w;C?(t.translate(p,g),t.rotate(S),t.scale(A,T),t.arc(0,0,I,b,D,1-M),t.scale(1/A,1/T),t.rotate(-S),t.translate(-p,-g)):t.arc(p,g,I,b,D,1-M),1===d&&(e=m(b)*y+p,i=v(b)*_+g),n=m(D)*y+p,a=v(D)*_+g;break;case u.R:e=n=s[d],i=a=s[d+1],t.rect(s[d++],s[d++],s[d++],s[d++]);break;case u.Z:t.closePath(),n=e,a=i}}}},b.CMD=u;var w=b;t.exports=w},d937:function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("a04a")),r=i("cd88"),o=i("415e"),s=i("51e1"),l=a.each,u=a.indexOf,c=a.curry,h=["dataToPoint","pointToData"],d=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function f(t,e,i){var n=this._targetInfoList=[],a={},r=m(e,t);l(v,(function(t,e){(!i||!i.include||u(i.include,e)>=0)&&t(r,n,a)}))}var p=f.prototype;function g(t){return t[0]>t[1]&&t.reverse(),t}function m(t,e){return o.parseFinder(t,e,{includeMainTypes:d})}p.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,(function(t,e,i){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var n=_[t.brushType](0,i,e);t.__rangeOffset={offset:w[t.brushType](n.values,t.range,[1,1]),xyMinMax:n.xyMinMax}}}))},p.matchOutputRanges=function(t,e,i){l(t,(function(t){var n=this.findTargetInfo(t,e);n&&!0!==n&&a.each(n.coordSyses,(function(n){var a=_[t.brushType](1,n,t.range);i(t,a.values,n,e)}))}),this)},p.setInputRanges=function(t,e){l(t,(function(t){var i=this.findTargetInfo(t,e);if(t.range=t.range||[],i&&!0!==i){t.panelId=i.panelId;var n=_[t.brushType](0,i.coordSys,t.coordRange),a=t.__rangeOffset;t.range=a?w[t.brushType](n.values,a.offset,M(n.xyMinMax,a.xyMinMax)):n.values}}),this)},p.makePanelOpts=function(t,e){return a.map(this._targetInfoList,(function(i){var n=i.getPanelRect();return{panelId:i.panelId,defaultBrushType:e&&e(i),clipPath:s.makeRectPanelClipPath(n),isTargetByCursor:s.makeRectIsTargetByCursor(n,t,i.coordSysModel),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(n)}}))},p.controlSeries=function(t,e,i){var n=this.findTargetInfo(t,i);return!0===n||n&&u(n.coordSyses,e.coordinateSystem)>=0},p.findTargetInfo=function(t,e){for(var i=this._targetInfoList,n=m(e,t),a=0;a=0||u(n,t.getAxis("y").model)>=0)&&r.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:r[0],coordSyses:r,getPanelRect:x.grid,xAxisDeclared:s[t.id],yAxisDeclared:c[t.id]})})))},geo:function(t,e){l(t.geoModels,(function(t){var i=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:i,coordSyses:[i],getPanelRect:x.geo})}))}},y=[function(t,e){var i=t.xAxisModel,n=t.yAxisModel,a=t.gridModel;return!a&&i&&(a=i.axis.grid.model),!a&&n&&(a=n.axis.grid.model),a&&a===e.gridModel},function(t,e){var i=t.geoModel;return i&&i===e.geoModel}],x={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(r.getTransform(t)),e}},_={lineX:c(b,0),lineY:c(b,1),rect:function(t,e,i){var n=e[h[t]]([i[0][0],i[1][0]]),a=e[h[t]]([i[0][1],i[1][1]]),r=[g([n[0],a[0]]),g([n[1],a[1]])];return{values:r,xyMinMax:r}},polygon:function(t,e,i){var n=[[1/0,-1/0],[1/0,-1/0]],r=a.map(i,(function(i){var a=e[h[t]](i);return n[0][0]=Math.min(n[0][0],a[0]),n[1][0]=Math.min(n[1][0],a[1]),n[0][1]=Math.max(n[0][1],a[0]),n[1][1]=Math.max(n[1][1],a[1]),a}));return{values:r,xyMinMax:n}}};function b(t,e,i,n){var r=i.getAxis(["x","y"][t]),o=g(a.map([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(n[t])):r.toGlobalCoord(r.dataToCoord(n[t]))}))),s=[];return s[t]=o,s[1-t]=[NaN,NaN],{values:o,xyMinMax:s}}var w={lineX:c(S,0),lineY:c(S,1),rect:function(t,e,i){return[[t[0][0]-i[0]*e[0][0],t[0][1]-i[0]*e[0][1]],[t[1][0]-i[1]*e[1][0],t[1][1]-i[1]*e[1][1]]]},polygon:function(t,e,i){return a.map(t,(function(t,n){return[t[0]-i[0]*e[n][0],t[1]-i[1]*e[n][1]]}))}};function S(t,e,i,n){return[e[0]-n[t]*i[0],e[1]-n[t]*i[1]]}function M(t,e){var i=I(t),n=I(e),a=[i[0]/n[0],i[1]/n[1]];return isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a}function I(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var A=f;t.exports=A},dbd6:function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("a04a")),r=a.createHashMap,o=(a.retrieve,a.each);function s(t){this.coordSysName=t,this.coordSysDims=[],this.axisMap=r(),this.categoryAxisMap=r(),this.firstCategoryDimIndex=null}function l(t){var e=t.get("coordinateSystem"),i=new s(e),n=u[e];if(n)return n(t,i,i.axisMap,i.categoryAxisMap),i}var u={cartesian2d:function(t,e,i,n){var a=t.getReferringComponents("xAxis")[0],r=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],i.set("x",a),i.set("y",r),c(a)&&(n.set("x",a),e.firstCategoryDimIndex=0),c(r)&&(n.set("y",r),e.firstCategoryDimIndex,e.firstCategoryDimIndex=1)},singleAxis:function(t,e,i,n){var a=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],i.set("single",a),c(a)&&(n.set("single",a),e.firstCategoryDimIndex=0)},polar:function(t,e,i,n){var a=t.getReferringComponents("polar")[0],r=a.findAxisModel("radiusAxis"),o=a.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],i.set("radius",r),i.set("angle",o),c(r)&&(n.set("radius",r),e.firstCategoryDimIndex=0),c(o)&&(n.set("angle",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,i,n){e.coordSysDims=["lng","lat"]},parallel:function(t,e,i,n){var a=t.ecModel,r=a.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=r.dimensions.slice();o(r.parallelAxisIndex,(function(t,r){var o=a.getComponent("parallelAxis",t),l=s[r];i.set(l,o),c(o)&&null==e.firstCategoryDimIndex&&(n.set(l,o),e.firstCategoryDimIndex=r)}))}};function c(t){return"category"===t.get("type")}e.getCoordSysInfoBySeries=l},dc1a:function(t,e,i){var n=i("1760"),a=i("cd88"),r=["textStyle","color"],o={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(r):null)},getFont:function(){return a.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return n.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};t.exports=o},dd9c:function(t,e,i){var n=i("a04a");function a(t,e){return e=e||[0,0],n.map([0,1],(function(i){var n=e[i],a=t[i]/2,r=[],o=[];return r[i]=n-a,o[i]=n+a,r[1-i]=o[1-i]=e[1-i],Math.abs(this.dataToPoint(r)[i]-this.dataToPoint(o)[i])}),this)}function r(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:n.bind(a,t)}}}t.exports=r},ddf6:function(t,e,i){var n=i("43a0"),a=i("a04a"),r=i("033d"),o=i("0764"),s=i("b007"),l=o.toolbox.dataView,u=new Array(60).join("-"),c="\t";function h(t){var e={},i=[],n=[];return t.eachRawSeries((function(t){var a=t.coordinateSystem;if(!a||"cartesian2d"!==a.type&&"polar"!==a.type)i.push(t);else{var r=a.getBaseAxis();if("category"===r.type){var o=r.dim+"_"+r.index;e[o]||(e[o]={categoryAxis:r,valueAxis:a.getOtherAxis(r),series:[]},n.push({axisDim:r.dim,axisIndex:r.index})),e[o].series.push(t)}else i.push(t)}})),{seriesGroupByCategoryAxis:e,other:i,meta:n}}function d(t){var e=[];return a.each(t,(function(t,i){var n=t.categoryAxis,r=t.valueAxis,o=r.dim,s=[" "].concat(a.map(t.series,(function(t){return t.name}))),l=[n.model.getCategories()];a.each(t.series,(function(t){var e=t.getRawData();l.push(t.getRawData().mapArray(e.mapDimension(o),(function(t){return t})))}));for(var u=[s.join(c)],h=0;h=0)return!0}var v=new RegExp("["+c+"]+","g");function y(t){for(var e=t.split(/\n+/g),i=g(e.shift()).split(v),n=[],r=a.map(i,(function(t){return{name:t,data:[]}})),o=0;o0&&(h?"scale"!==d:"transition"!==f)){for(var m=r.getItemLayout(0),v=1;isNaN(m.startAngle)&&v=n.r0}}}),h=c;t.exports=h},dee7:function(t,e){var i="original",n="arrayRows",a="objectRows",r="keyedColumns",o="unknown",s="typedArray",l="column",u="row";e.SOURCE_FORMAT_ORIGINAL=i,e.SOURCE_FORMAT_ARRAY_ROWS=n,e.SOURCE_FORMAT_OBJECT_ROWS=a,e.SOURCE_FORMAT_KEYED_COLUMNS=r,e.SOURCE_FORMAT_UNKNOWN=o,e.SOURCE_FORMAT_TYPED_ARRAY=s,e.SERIES_LAYOUT_BY_COLUMN=l,e.SERIES_LAYOUT_BY_ROW=u},df8d:function(t,e,i){var n=i("80fa"),a=i("a04a"),r=i("d8e3"),o=i("637e"),s=i("83ef"),l=s.prototype.getCanvasPattern,u=Math.abs,c=new r(!0);function h(t){n.call(this,t),this.path=null}h.prototype={constructor:h,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var i,n=this.style,a=this.path||c,r=n.hasStroke(),o=n.hasFill(),s=n.fill,u=n.stroke,h=o&&!!s.colorStops,d=r&&!!u.colorStops,f=o&&!!s.image,p=r&&!!u.image;(n.bind(t,this,e),this.setTransform(t),this.__dirty)&&(h&&(i=i||this.getBoundingRect(),this._fillGradient=n.getGradient(t,s,i)),d&&(i=i||this.getBoundingRect(),this._strokeGradient=n.getGradient(t,u,i)));h?t.fillStyle=this._fillGradient:f&&(t.fillStyle=l.call(s,t)),d?t.strokeStyle=this._strokeGradient:p&&(t.strokeStyle=l.call(u,t));var g=n.lineDash,m=n.lineDashOffset,v=!!t.setLineDash,y=this.getGlobalScale();if(a.setScale(y[0],y[1],this.segmentIgnoreThreshold),this.__dirtyPath||g&&!v&&r?(a.beginPath(t),g&&!v&&(a.setLineDash(g),a.setLineDashOffset(m)),this.buildPath(a,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),o)if(null!=n.fillOpacity){var x=t.globalAlpha;t.globalAlpha=n.fillOpacity*n.opacity,a.fill(t),t.globalAlpha=x}else a.fill(t);if(g&&v&&(t.setLineDash(g),t.lineDashOffset=m),r)if(null!=n.strokeOpacity){x=t.globalAlpha;t.globalAlpha=n.strokeOpacity*n.opacity,a.stroke(t),t.globalAlpha=x}else a.stroke(t);g&&v&&t.setLineDash([]),null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,i){},createPathProxy:function(){this.path=new r},getBoundingRect:function(){var t=this._rect,e=this.style,i=!t;if(i){var n=this.path;n||(n=this.path=new r),this.__dirtyPath&&(n.beginPath(),this.buildPath(n,this.shape,!1)),t=n.getBoundingRect()}if(this._rect=t,e.hasStroke()){var a=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||i){a.copy(t);var o=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),s>1e-10&&(a.width+=o/s,a.height+=o/s,a.x-=o/s/2,a.y-=o/s/2)}return a}return t},contain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),a=this.style;if(t=i[0],e=i[1],n.contain(t,e)){var r=this.path.data;if(a.hasStroke()){var s=a.lineWidth,l=a.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(a.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.containStroke(r,s/l,t,e)))return!0}if(a.hasFill())return o.contain(r,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):n.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var i=this.shape;if(i){if(a.isObject(t))for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n]);else i[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&u(t[0]-1)>1e-10&&u(t[3]-1)>1e-10?Math.sqrt(u(t[0]*t[3]-t[2]*t[1])):1}},h.extend=function(t){var e=function(e){h.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var i=t.shape;if(i){this.shape=this.shape||{};var n=this.shape;for(var a in i)!n.hasOwnProperty(a)&&i.hasOwnProperty(a)&&(n[a]=i[a])}t.init&&t.init.call(this,e)};for(var i in a.inherits(e,h),t)"style"!==i&&"shape"!==i&&(e.prototype[i]=t[i]);return e},a.inherits(h,n);var d=h;t.exports=d},dfe4:function(t,e,i){var n=i("43a0");i("383c"),i("3437"),i("d3a3");var a=i("0e3e"),r=i("a4c1"),o=i("17c5"),s=i("09df"),l=i("e6a7");n.registerVisual(a("radar")),n.registerVisual(r("radar","circle")),n.registerLayout(o),n.registerProcessor(s("radar")),n.registerPreprocessor(l)},e0ce:function(t,e,i){var n=i("43a0"),a=i("a04a"),r=n.extendComponentView({type:"marker",init:function(){this.markerGroupMap=a.createHashMap()},render:function(t,e,i){var n=this.markerGroupMap;n.each((function(t){t.__keep=!1}));var a=this.type+"Model";e.eachSeries((function(t){var n=t[a];n&&this.renderSeries(t,n,e,i)}),this),n.each((function(t){!t.__keep&&this.group.remove(t.group)}),this)},renderSeries:function(){}});t.exports=r},e116:function(t,e,i){var n=i("3164"),a=n.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});t.exports=a},e13c:function(t,e,i){var n=i("91c4"),a=i("f959"),r=a.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(t,e){return n(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});t.exports=r},e145:function(t,e,i){i("f4b1"),i("286a"),i("24ec"),i("0fdd")},e19a:function(t,e,i){var n=i("a04a"),a=n.createHashMap,r=n.each,o=n.isString,s=n.defaults,l=n.extend,u=n.isObject,c=n.clone,h=i("415e"),d=h.normalizeToArray,f=i("9001"),p=f.guessOrdinal,g=f.BE_ORDINAL,m=i("bf06"),v=i("02b5"),y=v.OTHER_DIMENSIONS,x=i("66d0");function _(t,e,i){m.isInstance(e)||(e=m.seriesDataToSource(e)),i=i||{},t=(t||[]).slice();for(var n=(i.dimsDef||[]).slice(),h=a(),f=a(),v=[],_=b(e,t,n,i.dimCount),S=0;S<_;S++){var M=n[S]=l({},u(n[S])?n[S]:{name:n[S]}),I=M.name,A=v[S]=new x;null!=I&&null==h.get(I)&&(A.name=A.displayName=I,h.set(I,S)),null!=M.type&&(A.type=M.type),null!=M.displayName&&(A.displayName=M.displayName)}var T=i.encodeDef;!T&&i.encodeDefaulter&&(T=i.encodeDefaulter(e,_)),T=a(T),T.each((function(t,e){if(t=d(t).slice(),1===t.length&&!o(t[0])&&t[0]<0)T.set(e,!1);else{var i=T.set(e,[]);r(t,(function(t,n){o(t)&&(t=h.get(t)),null!=t&&t<_&&(i[n]=t,D(v[t],e,n))}))}}));var C=0;function D(t,e,i){null!=y.get(e)?t.otherDims[e]=i:(t.coordDim=e,t.coordDimIndex=i,f.set(e,!0))}r(t,(function(t,e){var i,n,a;if(o(t))i=t,t={};else{i=t.name;var l=t.ordinalMeta;t.ordinalMeta=null,t=c(t),t.ordinalMeta=l,n=t.dimsDef,a=t.otherDims,t.name=t.coordDim=t.coordDimIndex=t.dimsDef=t.otherDims=null}var h=T.get(i);if(!1!==h){h=d(h);if(!h.length)for(var f=0;f<(n&&n.length||1);f++){while(C=e.y&&t[1]<=e.y+e.height:i.contain(i.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),i=this.getRect(),n=[],a="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),n[a]=e.toGlobalCoord(e.dataToCoord(+t)),n[1-a]=0===a?i.y+i.height/2:i.x+i.width/2,n}};var c=u;t.exports=c},e22d:function(t,e,i){var n=i("aa9d");e.zrender=n;var a=i("e2ea");e.matrix=a;var r=i("59af");e.vector=r;var o=i("a04a"),s=i("5d34");e.color=s;var l=i("cd88"),u=i("263c");e.number=u;var c=i("0908");e.format=c;var h=i("7004");h.throttle;e.throttle=h.throttle;var d=i("05ea");e.helper=d;var f=i("fc7f");e.parseGeoJSON=f;var p=i("62c3");e.List=p;var g=i("3f44");e.Model=g;var m=i("1206");e.Axis=m;var v=i("8328");e.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(t){x[t]=o[t]}));var _={};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(t){_[t]=l[t]})),e.parseGeoJson=y,e.util=x,e.graphic=_},e255:function(t,e,i){var n=i("43a0"),a=i("b22f"),r=a.Polygon,o=i("cd88"),s=i("a04a"),l=s.bind,u=s.extend,c=i("2644"),h=n.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(t,e,i){var n=t.getData(),a=this.group,s=t.getLayerSeries(),h=n.getLayout("layoutInfo"),f=h.rect,p=h.boundaryGap;function g(t){return t.name}a.attr("position",[0,f.y+p[0]]);var m=new c(this._layersSeries||[],s,g,g),v={};function y(e,i,l){var c=this._layers;if("remove"!==e){for(var h,f,p,g=[],m=[],y=s[i].indices,x=0;xe&&(e=n.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,i=this.children,n=i.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var e=this.hostTree,i=e.data.getItemModel(this.dataIndex);return i.getModel(t)}},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){var e=t.parentNode;while(e){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},l.prototype={constructor:l,type:"tree",eachNode:function(t,e,i){this.root.eachNode(t,e,i)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,i=0,n=e.length;i=0;c--)null==a[c]?a.splice(c,1):delete a[c].$action},_flatten:function(t,e,i){r.each(t,(function(t){if(t){i&&(t.parentOption=i),e.push(t);var n=t.children;"group"===t.type&&n&&this._flatten(n,e,t),delete t.children}}),this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});function f(t,e,i,n){var a=i.type,r=h.hasOwnProperty(a)?h[a]:s.getShapeClass(a),o=new r(i);e.add(o),n.set(t,o),o.__ecGraphicId=t}function p(t,e){var i=t&&t.parent;i&&("group"===t.type&&t.traverse((function(t){p(t,e)})),e.removeKey(t.__ecGraphicId),i.remove(t))}function g(t){return t=r.extend({},t),r.each(["id","parentId","$action","hv","bounding"].concat(l.LOCATION_PARAMS),(function(e){delete t[e]})),t}function m(t,e){var i;return r.each(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(i=!0)})),i}function v(t,e){var i=t.exist;if(e.id=t.keyInfo.id,!e.type&&i&&(e.type=i.type),null==e.parentId){var n=e.parentOption;n?e.parentId=n.id:i&&(e.parentId=i.parentId)}e.parentOption=null}function y(t,e,i){var n=r.extend({},i),a=t[e],o=i.$action||"merge";"merge"===o?a?(r.merge(a,n,!0),l.mergeLayoutParam(a,n,{ignoreSize:!0}),l.copyLayoutParams(i,a)):t[e]=n:"replace"===o?t[e]=n:"remove"===o&&a&&(t[e]=null)}function x(t,e){t&&(t.hv=e.hv=[m(e,["left","right"]),m(e,["top","bottom"])],"group"===t.type&&(null==t.width&&(t.width=e.width=0),null==t.height&&(t.height=e.height=0)))}function _(t,e,i){var n=t.eventData;t.silent||t.ignore||n||(n=t.eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),n&&(n.info=t.info)}a.extendComponentView({type:"graphic",init:function(t,e){this._elMap=r.createHashMap(),this._lastGraphicModel},render:function(t,e,i){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,i)},_updateElements:function(t){var e=t.useElOptionsToUpdate();if(e){var i=this._elMap,n=this.group;r.each(e,(function(e){var a=e.$action,r=e.id,o=i.get(r),s=e.parentId,l=null!=s?i.get(s):n,u=e.style;"text"===e.type&&u&&(e.hv&&e.hv[1]&&(u.textVerticalAlign=u.textBaseline=null),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke));var c=g(e);a&&"merge"!==a?"replace"===a?(p(o,i),f(r,l,c,i)):"remove"===a&&p(o,i):o?o.attr(c):f(r,l,c,i);var h=i.get(r);h&&(h.__ecGraphicWidthOption=e.width,h.__ecGraphicHeightOption=e.height,_(h,t,e))}))}},_relocate:function(t,e){for(var i=t.option.elements,n=this.group,a=this._elMap,r=e.getWidth(),o=e.getHeight(),s=0;s=0;s--){u=i[s],h=a.get(u.id);if(h){d=h.parent;var p=d===n?{width:r,height:o}:{width:d.__ecGraphicWidth,height:d.__ecGraphicHeight};l.positionElement(h,u,p,null,{hv:u.hv,boundingMode:u.bounding})}}},_clear:function(){var t=this._elMap;t.each((function(e){p(e,t)})),this._elMap=r.createHashMap()},dispose:function(){this._clear()}})},e466:function(t,e,i){i("06a4"),i("cd84"),i("95e4")},e5bc:function(t,e,i){var n=i("210a"),a=i("1621"),r=i("c8e5"),o=i("70b8"),s=["x","y"],l=["width","height"],u=n.extend({makeElOption:function(t,e,i,n,o){var s=i.axis,l=s.coordinateSystem,u=d(l,1-h(s)),f=l.dataToPoint(e)[0],p=n.get("type");if(p&&"none"!==p){var g=a.buildElStyle(n),m=c[p](s,f,u);m.style=g,t.graphicKey=m.type,t.pointer=m}var v=r.layout(i);a.buildCartesianSingleLabelElOption(e,t,v,i,n,o)},getHandleTransform:function(t,e,i){var n=r.layout(e,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:a.getTransformedPosition(e.axis,t,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,i,n){var a=i.axis,r=a.coordinateSystem,o=h(a),s=d(r,o),l=t.position;l[o]+=e[o],l[o]=Math.min(s[1],l[o]),l[o]=Math.max(s[0],l[o]);var u=d(r,1-o),c=(u[1]+u[0])/2,f=[c,c];return f[o]=l[o],{position:l,rotation:t.rotation,cursorPoint:f,tooltipOption:{verticalAlign:"middle"}}}}),c={line:function(t,e,i){var n=a.makeLineShape([e,i[0]],[e,i[1]],h(t));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(t,e,i){var n=t.getBandWidth(),r=i[1]-i[0];return{type:"Rect",shape:a.makeRectShape([e-n/2,i[0]],[n,r],h(t))}}};function h(t){return t.isHorizontal()?0:1}function d(t,e){var i=t.getRect();return[i[s[e]],i[s[e]]+i[l[e]]]}o.registerAxisPointerClass("SingleAxisPointer",u);var f=u;t.exports=f},e5f7:function(t,e,i){var n=i("43a0"),a=i("a04a"),r=i("eaad"),o=i("27ee"),s=i("30b9"),l=i("fefa"),u=i("3b07"),c=u.onIrrelevantElement,h=i("cd88"),d=i("1298"),f=i("c3d7"),p=f.getNodeGlobalScale,g="__focusNodeAdjacency",m="__unfocusNodeAdjacency",v=["itemStyle","opacity"],y=["lineStyle","opacity"];function x(t,e){var i=t.getVisual("opacity");return null!=i?i:t.getModel().get(e)}function _(t,e,i){var n=t.getGraphicEl(),a=x(t,e);null!=i&&(null==a&&(a=1),a*=i),n.downplay&&n.downplay(),n.traverse((function(t){if(!t.isGroup){var e=t.lineLabelOriginalOpacity;null!=e&&null==i||(e=a),t.setStyle("opacity",e)}}))}function b(t,e){var i=x(t,e),n=t.getGraphicEl();n.traverse((function(t){!t.isGroup&&t.setStyle("opacity",i)})),n.highlight&&n.highlight()}var w=n.extendChartView({type:"graph",init:function(t,e){var i=new r,n=new o,a=this.group;this._controller=new s(e.getZr()),this._controllerHost={target:a},a.add(i.group),a.add(n.group),this._symbolDraw=i,this._lineDraw=n,this._firstRender=!0},render:function(t,e,i){var n=this,a=t.coordinateSystem;this._model=t;var r=this._symbolDraw,o=this._lineDraw,s=this.group;if("view"===a.type){var l={position:a.position,scale:a.scale};this._firstRender?s.attr(l):h.updateProps(s,l,t)}d(t.getGraph(),p(t));var u=t.getData();r.updateData(u);var c=t.getEdgeData();o.updateData(c),this._updateNodeAndLinkScale(),this._updateController(t,e,i),clearTimeout(this._layoutTimeout);var f=t.forceLayout,v=t.get("force.layoutAnimation");f&&this._startForceLayoutIteration(f,v),u.eachItemGraphicEl((function(e,a){var r=u.getItemModel(a);e.off("drag").off("dragend");var o=r.get("draggable");o&&e.on("drag",(function(){f&&(f.warmUp(),!this._layouting&&this._startForceLayoutIteration(f,v),f.setFixed(a),u.setItemLayout(a,e.position))}),this).on("dragend",(function(){f&&f.setUnfixed(a)}),this),e.setDraggable(o&&f),e[g]&&e.off("mouseover",e[g]),e[m]&&e.off("mouseout",e[m]),r.get("focusNodeAdjacency")&&(e.on("mouseover",e[g]=function(){n._clearTimer(),i.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex})}),e.on("mouseout",e[m]=function(){n._dispatchUnfocus(i)}))}),this),u.graph.eachEdge((function(e){var a=e.getGraphicEl();a[g]&&a.off("mouseover",a[g]),a[m]&&a.off("mouseout",a[m]),e.getModel().get("focusNodeAdjacency")&&(a.on("mouseover",a[g]=function(){n._clearTimer(),i.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex})}),a.on("mouseout",a[m]=function(){n._dispatchUnfocus(i)}))}));var y="circular"===t.get("layout")&&t.get("circular.rotateLabel"),x=u.getLayout("cx"),_=u.getLayout("cy");u.eachItemGraphicEl((function(t,e){var i=u.getItemModel(e),n=i.get("label.rotate")||0,a=t.getSymbolPath();if(y){var r=u.getItemLayout(e),o=Math.atan2(r[1]-_,r[0]-x);o<0&&(o=2*Math.PI+o);var s=r[0]0?i=n[0]:n[1]<0&&(i=n[1]),i}function u(t,e,i,n){var a=NaN;t.stacked&&(a=i.get(i.getCalculationInfo("stackedOverDimension"),n)),isNaN(a)&&(a=t.valueStart);var r=t.baseDataOffset,o=[];return o[r]=i.get(t.baseDim,n),o[1-r]=a,e.dataToPoint(o)}e.prepareDataCoordInfo=s,e.getStackedOnPoint=u},ebf8:function(t,e,i){var n=i("a04a"),a=n.each,r=i("fc7f"),o=i("415e"),s=o.makeInner,l=i("3779"),u=i("ff12"),c=i("7ee1"),h=i("5521"),d=s(),f={load:function(t,e,i){var n=d(e).parsed;if(n)return n;var o,s=e.specialAreas||{},f=e.geoJSON;try{o=f?r(f,i):[]}catch(g){throw new Error("Invalid geoJson format\n"+g.message)}return l(t,o),a(o,(function(e){var i=e.name;u(t,e),c(t,e),h(t,e);var n=s[i];n&&e.transformTo(n.left,n.top,n.width,n.height)})),d(e).parsed={regions:o,boundingRect:p(o)}}};function p(t){for(var e,i=0;i=0&&t.call(e,i[a],a)},u.eachEdge=function(t,e){for(var i=this.edges,n=i.length,a=0;a=0&&i[a].node1.dataIndex>=0&&i[a].node2.dataIndex>=0&&t.call(e,i[a],a)},u.breadthFirstTraverse=function(t,e,i,n){if(c.isInstance(e)||(e=this._nodesMap[s(e)]),e){for(var a="out"===i?"outEdges":"in"===i?"inEdges":"edges",r=0;r=0&&i.node2.dataIndex>=0}));for(a=0,r=n.length;a=0&&this[t][e].setItemVisual(this.dataIndex,i,n)},getVisual:function(i,n){return this[t][e].getItemVisual(this.dataIndex,i,n)},setLayout:function(i,n){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,i,n)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}};a.mixin(c,d("hostGraph","data")),a.mixin(h,d("hostGraph","edgeData")),l.Node=c,l.Edge=h,o(c),o(h);var f=l;t.exports=f},ee17:function(t,e,i){var n=i("2529"),a=n.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});t.exports=a},ee2d:function(t,e,i){var n=i("43a0");i("19dd"),i("214d");var a=i("cc26"),r=i("c749");n.registerVisual(a),n.registerLayout(r)},ee5b:function(t,e,i){var n=i("a04a"),a=n.map,r=i("b5e1"),o=i("eff3"),s=o.isDimensionStacked;function l(t){return{seriesType:t,plan:r(),reset:function(t){var e=t.getData(),i=t.coordinateSystem,n=t.pipelineContext,r=n.large;if(i){var o=a(i.dimensions,(function(t){return e.mapDimension(t)})).slice(0,2),l=o.length,u=e.getCalculationInfo("stackResultDimension");return s(e,o[0])&&(o[0]=u),s(e,o[1])&&(o[1]=u),l&&{progress:c}}function c(t,e){for(var n=t.end-t.start,a=r&&new Float32Array(n*l),s=t.start,u=0,c=[],h=[];s0},extendFrom:function(t,e){if(t)for(var i in t)!t.hasOwnProperty(i)||!0!==e&&(!1===e?this.hasOwnProperty(i):null==t[i])||(this[i]=t[i])},set:function(t,e){"string"===typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,i){for(var n="radial"===e.type?u:l,a=n(t,e,i),r=e.colorStops,o=0;o1&&(c*=o(_),f*=o(_));var b=(a===r?-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=b*c*x/f,S=b*-f*y/c,M=(t+i)/2+l(v)*w-s(v)*S,I=(e+n)/2+s(v)*w+l(v)*S,A=d([1,0],[(y-w)/c,(x-S)/f]),T=[(y-w)/c,(x-S)/f],C=[(-1*y-w)/c,(-1*x-S)/f],D=d(T,C);h(T,C)<=-1&&(D=u),h(T,C)>=1&&(D=0),0===r&&D>0&&(D-=2*u),1===r&&D<0&&(D+=2*u),m.addData(g,M,I,c,f,A,D,v,r)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function m(t){if(!t)return new a;for(var e,i=0,n=0,r=i,o=n,s=new a,l=a.CMD,u=t.match(p),c=0;c+e.start.y&&(f=f+"-"+e.end.y);var p=a.get("formatter"),g={start:e.start.y,end:e.end.y,nameMap:f},m=this._formatterLabel(p,g),v=new r.Text({z2:30});r.setTextStyle(v.style,a,{text:m}),v.attr(this._yearTextPositionControl(v,d[s],i,s,o)),n.add(v)}},_monthTextPositionControl:function(t,e,i,n,a){var r="left",o="top",s=t[0],l=t[1];return"horizontal"===i?(l+=a,e&&(r="center"),"start"===n&&(o="bottom")):(s+=a,e&&(o="middle"),"start"===n&&(r="right")),{x:s,y:l,textAlign:r,textVerticalAlign:o}},_renderMonthText:function(t,e,i){var n=t.getModel("monthLabel");if(n.get("show")){var o=n.get("nameMap"),s=n.get("margin"),u=n.get("position"),c=n.get("align"),h=[this._tlpoints,this._blpoints];a.isString(o)&&(o=l[o.toUpperCase()]||[]);var d="start"===u?0:1,f="horizontal"===e?0:1;s="start"===u?-s:s;for(var p="center"===c,g=0;g=0;v--){var y=m[v],x=y.node,_=y.width,b=y.text;g>p.width&&(g-=_-c,_=c,b=null);var w=new n.Polygon({shape:{points:d(l,0,_,h,v===m.length-1,0===v)},style:r.defaults(i.getItemStyle(),{lineJoin:"bevel",text:b,textFill:o.getTextColor(),textFont:o.getFont()}),z:10,onclick:r.curry(s,x)});this.group.add(w),f(w,t,x),l+=_+u}},remove:function(){this.group.removeAll()}};var p=h;t.exports=p},f3aa:function(t,e,i){var n=i("26ab"),a=n.debugMode,r=function(){};1===a&&(r=console.error);var o=r;t.exports=o},f3fb:function(t,e,i){var n=i("8328"),a=i("0764"),r=i("b007"),o=a.toolbox.saveAsImage;function s(t){this.model=t}s.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:o.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:o.lang.slice()},s.prototype.unusable=!n.canvasSupported;var l=s.prototype;l.onclick=function(t,e){var i=this.model,a=i.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),o=r?"svg":i.get("type",!0)||"png",s=e.getConnectedDataURL({type:o,backgroundColor:i.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")});if("function"!==typeof MouseEvent||n.browser.ie||n.browser.edge)if(window.navigator.msSaveOrOpenBlob){var l=atob(s.split(",")[1]),u=l.length,c=new Uint8Array(u);while(u--)c[u]=l.charCodeAt(u);var h=new Blob([c]);window.navigator.msSaveOrOpenBlob(h,a+"."+o)}else{var d=i.get("lang"),f='',p=window.open();p.document.write(f)}else{var g=document.createElement("a");g.download=a+"."+o,g.target="_blank",g.href=s;var m=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});g.dispatchEvent(m)}},r.register("saveAsImage",s);var u=s;t.exports=u},f442:function(t,e){var i=Math.log(2);function n(t,e,a,r,o,s){var l=r+"-"+o,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var c=Math.round(Math.log((1<0&&(o=null===o?l:Math.min(o,l))}i[a]=o}}return i}function v(t){var e=m(t),i=[];return n.each(t,(function(t){var n,a=t.coordinateSystem,o=a.getBaseAxis(),s=o.getExtent();if("category"===o.type)n=o.getBandWidth();else if("value"===o.type||"time"===o.type){var l=o.dim+"_"+o.index,u=e[l],c=Math.abs(s[1]-s[0]),h=o.scale.getExtent(),p=Math.abs(h[1]-h[0]);n=u?c/p*u:c}else{var g=t.getData();n=Math.abs(s[1]-s[0])/g.count()}var m=r(t.get("barWidth"),n),v=r(t.get("barMaxWidth"),n),y=r(t.get("barMinWidth")||1,n),x=t.get("barGap"),_=t.get("barCategoryGap");i.push({bandWidth:n,barWidth:m,barMaxWidth:v,barMinWidth:y,barGap:x,barCategoryGap:_,axisKey:f(o),stackId:d(t)})})),y(i)}function y(t){var e={};n.each(t,(function(t,i){var n=t.axisKey,a=t.bandWidth,r=e[n]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=r.stacks;e[n]=r;var s=t.stackId;o[s]||r.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(r.remainedWidth,l),r.remainedWidth-=l);var u=t.barMaxWidth;u&&(o[s].maxWidth=u);var c=t.barMinWidth;c&&(o[s].minWidth=c);var h=t.barGap;null!=h&&(r.gap=h);var d=t.barCategoryGap;null!=d&&(r.categoryGap=d)}));var i={};return n.each(e,(function(t,e){i[e]={};var a=t.stacks,o=t.bandWidth,s=r(t.categoryGap,o),l=r(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),n.each(a,(function(t){var e=t.maxWidth,i=t.minWidth;if(t.width){n=t.width;e&&(n=Math.min(n,e)),i&&(n=Math.max(n,i)),t.width=n,u-=n+l*n,c--}else{var n=h;e&&en&&(n=i),n!==h&&(t.width=n,u-=n+l*n,c--)}})),h=(u-s)/(c+(c-1)*l),h=Math.max(h,0);var d,f=0;n.each(a,(function(t,e){t.width||(t.width=h),d=t,f+=t.width*(1+l)})),d&&(f-=d.width*l);var p=-f/2;n.each(a,(function(t,n){i[e][n]=i[e][n]||{bandWidth:o,offset:p,width:t.width},p+=t.width*(1+l)}))})),i}function x(t,e,i){if(t&&e){var n=t[f(e)];return null!=n&&null!=i&&(n=n[d(i)]),n}}function _(t,e){var i=g(t,e),a=v(i),r={},o={};n.each(i,(function(t){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),l=d(t),u=a[f(n)][l],c=u.offset,h=u.width,p=i.getOtherAxis(n),g=t.get("barMinHeight")||0;r[l]=r[l]||[],o[l]=o[l]||[],e.setLayout({bandWidth:u.bandWidth,offset:c,size:h});for(var m=e.mapDimension(p.dim),v=e.mapDimension(n.dim),y=s(e,m),x=p.isHorizontal(),_=M(n,p,y),b=0,w=e.count();b=0?"p":"n",P=_;if(y&&(r[l][D]||(r[l][D]={p:_,n:_}),P=r[l][D][L]),x){var k=i.dataToPoint([C,D]);S=P,I=k[1]+c,A=k[0]-_,T=h,Math.abs(A)c||(d=c),{progress:f}}function f(t,e){var c,f=t.count,p=new h(2*f),g=new h(2*f),m=new h(f),v=[],y=[],x=0,_=0;while(null!=(c=t.next()))y[u]=e.get(o,c),y[1-u]=e.get(s,c),v=i.dataToPoint(y,null,v),g[x]=l?n.x+n.width:v[0],p[x++]=v[0],g[x]=l?v[1]:n.y+n.height,p[x++]=v[1],m[_++]=c;e.setLayout({largePoints:p,largeDataIndices:m,largeBackgroundPoints:g,barWidth:d,valueAxisStart:M(a,r,!1),backgroundStart:l?n.x:n.y,valueAxisHorizontal:l})}}};function w(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function S(t){return t.pipelineContext&&t.pipelineContext.large}function M(t,e,i){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}e.getLayoutOnAxis=p,e.prepareLayoutBarSeries=g,e.makeColumnLayout=v,e.retrieveColumnLayout=x,e.layout=_,e.largeLayout=b},f590:function(t,e,i){var n=i("43a0"),a=i("7423");i("5033"),i("88f8"),i("6d87"),i("9821"),i("d197"),n.registerPreprocessor(a)},f61f:function(t,e,i){var n=i("e6c8"),a=n.extend({type:"timeline"});t.exports=a},f621:function(t,e,i){var n=i("f660"),a=i("a04a");function r(t,e){n.call(this,t,e,["filter"],"__filter_in_use__","_shadowDom")}function o(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY||t.textShadowBlur||t.textShadowOffsetX||t.textShadowOffsetY)}a.inherits(r,n),r.prototype.addWithoutUpdate=function(t,e){if(e&&o(e.style)){var i;if(e._shadowDom){i=e._shadowDom;var n=this.getDefs(!0);n.contains(e._shadowDom)||this.addDom(i)}else i=this.add(e);this.markUsed(e);var a=i.getAttribute("id");t.style.filter="url(#"+a+")"}},r.prototype.add=function(t){var e=this.createElement("filter");return t._shadowDomId=t._shadowDomId||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-shadow-"+t._shadowDomId),this.updateDom(t,e),this.addDom(e),e},r.prototype.update=function(t,e){var i=e.style;if(o(i)){var a=this;n.prototype.update.call(this,e,(function(){a.updateDom(e,e._shadowDom)}))}else this.remove(t,e)},r.prototype.remove=function(t,e){null!=e._shadowDomId&&(this.removeDom(t),t.style.filter="")},r.prototype.updateDom=function(t,e){var i=e.getElementsByTagName("feDropShadow");i=0===i.length?this.createElement("feDropShadow"):i[0];var n,a,r,o,s=t.style,l=t.scale&&t.scale[0]||1,u=t.scale&&t.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)n=s.shadowOffsetX||0,a=s.shadowOffsetY||0,r=s.shadowBlur,o=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(e,s);n=s.textShadowOffsetX||0,a=s.textShadowOffsetY||0,r=s.textShadowBlur,o=s.textShadowColor}i.setAttribute("dx",n/l),i.setAttribute("dy",a/u),i.setAttribute("flood-color",o);var c=r/2/l,h=r/2/u,d=c+" "+h;i.setAttribute("stdDeviation",d),e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width",Math.ceil(r/2*200)+"%"),e.setAttribute("height",Math.ceil(r/2*200)+"%"),e.appendChild(i),t._shadowDom=e},r.prototype.markUsed=function(t){t._shadowDom&&n.prototype.markUsed.call(this,t._shadowDom)};var s=r;t.exports=s},f660:function(t,e,i){var n=i("213e"),a=n.createElement,r=i("a04a"),o=i("df8d"),s=i("bce8"),l=i("a1d7"),u=i("c29b"),c=u.path,h=u.image,d=u.text,f="0",p="1";function g(t,e,i,n,a){this._zrId=t,this._svgRoot=e,this._tagNames="string"===typeof i?[i]:i,this._markLabel=n,this._domName=a||"_dom",this.nextId=0}g.prototype.createElement=a,g.prototype.getDefs=function(t){var e=this._svgRoot,i=this._svgRoot.getElementsByTagName("defs");return 0===i.length?t?(i=e.insertBefore(this.createElement("defs"),e.firstChild),i.contains||(i.contains=function(t){var e=i.children;if(!e)return!1;for(var n=e.length-1;n>=0;--n)if(e[n]===t)return!0;return!1}),i):null:i[0]},g.prototype.update=function(t,e){if(t){var i=this.getDefs(!1);if(t[this._domName]&&i.contains(t[this._domName]))"function"===typeof e&&e(t);else{var n=this.add(t);n&&(t[this._domName]=n)}}},g.prototype.addDom=function(t){var e=this.getDefs(!0);e.appendChild(t)},g.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},g.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return r.each(this._tagNames,(function(i){var n=t.getElementsByTagName(i);e=e.concat([].slice.call(n))})),e},g.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;r.each(t,(function(t){t[e._markLabel]=f}))},g.prototype.markUsed=function(t){t&&(t[this._markLabel]=p)},g.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var e=this.getDoms(),i=this;r.each(e,(function(e){e[i._markLabel]!==p&&t.removeChild(e)}))}},g.prototype.getSvgProxy=function(t){return t instanceof o?c:t instanceof s?h:t instanceof l?d:c},g.prototype.getTextSvgElement=function(t){return t.__textSvgEl},g.prototype.getSvgElement=function(t){return t.__svgEl};var m=g;t.exports=m},f801:function(t,e){function i(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}function n(t,e){return{target:t,topTarget:e&&e.topTarget}}i.prototype={constructor:i,_dragStart:function(t){var e=t.target;while(e&&!e.draggable)e=e.parent;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(n(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var i=t.offsetX,a=t.offsetY,r=i-this._x,o=a-this._y;this._x=i,this._y=a,e.drift(r,o,t),this.dispatchToElement(n(e,t),"drag",t.event);var s=this.findHover(i,a,e).target,l=this._dropTarget;this._dropTarget=s,e!==s&&(l&&s!==l&&this.dispatchToElement(n(l,t),"dragleave",t.event),s&&s!==l&&this.dispatchToElement(n(s,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(n(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(n(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}};var a=i;t.exports=a},f809:function(t,e,i){var n=i("43a0"),a=i("a04a"),r=i("cd88"),o=i("2644"),s=i("c9c7"),l=i("f376"),u=i("30b9"),c=i("89ed"),h=i("e2ea"),d=i("9065"),f=i("1bc7"),p=i("0908"),g=p.windowOpen,m=a.bind,v=r.Group,y=r.Rect,x=a.each,_=3,b=["label"],w=["emphasis","label"],S=["upperLabel"],M=["emphasis","upperLabel"],I=10,A=1,T=2,C=f([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),D=function(t){var e=C(t);return e.stroke=e.fill=e.lineWidth=null,e},L=n.extendChartView({type:"treemap",init:function(t,e){this._containerGroup,this._storage=P(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(t,e,i,n){var r=e.findComponents({mainType:"series",subType:"treemap",query:n});if(!(a.indexOf(r,t)<0)){this.seriesModel=t,this.api=i,this.ecModel=e;var o=["treemapZoomToNode","treemapRootToNode"],l=s.retrieveTargetInfo(n,o,t),u=n&&n.type,c=t.layoutInfo,h=!this._oldTree,d=this._storage,f="treemapRootToNode"===u&&l&&d?{rootNodeGroup:d.nodeGroup[l.node.getRawIndex()],direction:n.direction}:null,p=this._giveContainerGroup(c),g=this._doRender(p,t,f);h||u&&"treemapZoomToNode"!==u&&"treemapRootToNode"!==u?g.renderFinally():this._doAnimation(p,g,t,f),this._resetController(i),this._renderBreadcrumb(t,i,l)}},_giveContainerGroup:function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new v,this._initEvents(e),this.group.add(e)),e.attr("position",[t.x,t.y]),e},_doRender:function(t,e,i){var n=e.getData().tree,r=this._oldTree,s=P(),l=P(),u=this._storage,c=[],h=a.curry(k,e,l,u,i,s,c);f(n.root?[n.root]:[],r&&r.root?[r.root]:[],t,n===r||!r,0);var d=p(u);return this._oldTree=n,this._storage=l,{lastsForAnimation:s,willDeleteEls:d,renderFinally:g};function f(t,e,i,n,r){function s(t){return t.getId()}function l(a,o){var s=null!=a?t[a]:null,l=null!=o?e[o]:null,u=h(s,l,i,r);u&&f(s&&s.viewChildren||[],l&&l.viewChildren||[],u,n,r+1)}n?(e=t,x(t,(function(t,e){!t.isRemoved()&&l(e,e)}))):new o(e,t,s,s).add(l).update(l).remove(a.curry(l,null)).execute()}function p(t){var e=P();return t&&x(t,(function(t,i){var n=e[i];x(t,(function(t){t&&(n.push(t),t.__tmWillDelete=1)}))})),e}function g(){x(d,(function(t){x(t,(function(t){t.parent&&t.parent.remove(t)}))})),x(c,(function(t){t.invisible=!0,t.dirty()}))}},_doAnimation:function(t,e,i,n){if(i.get("animation")){var r=i.get("animationDurationUpdate"),o=i.get("animationEasing"),s=d.createWrap();x(e.willDeleteEls,(function(t,e){x(t,(function(t,i){if(!t.invisible){var a,l=t.parent;if(n&&"drillDown"===n.direction)a=l===n.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,c=0;l.__tmWillDelete||(u=l.__tmNodeWidth/2,c=l.__tmNodeHeight/2),a="nodeGroup"===e?{position:[u,c],style:{opacity:0}}:{shape:{x:u,y:c,width:0,height:0},style:{opacity:0}}}a&&s.add(t,a,r,o)}}))})),x(this._storage,(function(t,i){x(t,(function(t,n){var l=e.lastsForAnimation[i][n],u={};l&&("nodeGroup"===i?l.old&&(u.position=t.position.slice(),t.attr("position",l.old)):(l.old&&(u.shape=a.extend({},t.shape),t.setShape(l.old)),l.fadein?(t.setStyle("opacity",0),u.style={opacity:1}):1!==t.style.opacity&&(u.style={opacity:1})),s.add(t,u,r,o))}))}),this),this._state="animating",s.done(m((function(){this._state="ready",e.renderFinally()}),this)).start()}},_resetController:function(t){var e=this._controller;e||(e=this._controller=new u(t.getZr()),e.enable(this.seriesModel.get("roam")),e.on("pan",m(this._onPan,this)),e.on("zoom",m(this._onZoom,this)));var i=new c(0,0,t.getWidth(),t.getHeight());e.setPointerChecker((function(t,e,n){return i.contain(e,n)}))},_clearController:function(){var t=this._controller;t&&(t.dispose(),t=null)},_onPan:function(t){if("animating"!==this._state&&(Math.abs(t.dx)>_||Math.abs(t.dy)>_)){var e=this.seriesModel.getData().tree.root;if(!e)return;var i=e.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+t.dx,y:i.y+t.dy,width:i.width,height:i.height}})}},_onZoom:function(t){var e=t.originX,i=t.originY;if("animating"!==this._state){var n=this.seriesModel.getData().tree.root;if(!n)return;var a=n.getLayout();if(!a)return;var r=new c(a.x,a.y,a.width,a.height),o=this.seriesModel.layoutInfo;e-=o.x,i-=o.y;var s=h.create();h.translate(s,s,[-e,-i]),h.scale(s,s,[t.scale,t.scale]),h.translate(s,s,[e,i]),r.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:r.x,y:r.y,width:r.width,height:r.height}})}},_initEvents:function(t){t.on("click",(function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var i=this.findTarget(t.offsetX,t.offsetY);if(i){var n=i.node;if(n.getLayout().isLeafRoot)this._rootToNode(i);else if("zoomToNode"===e)this._zoomToNode(i);else if("link"===e){var a=n.hostTree.data.getItemModel(n.dataIndex),r=a.get("link",!0),o=a.get("target",!0)||"blank";r&&g(r,o)}}}}}),this)},_renderBreadcrumb:function(t,e,i){function n(e){"animating"!==this._state&&(s.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))}i||(i=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2),i||(i={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(t,e,i.node,m(n,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=P(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var i,n=this.seriesModel.getViewRoot();return n.eachNode({attr:"viewChildren",order:"preorder"},(function(n){var a=this._storage.background[n.getRawIndex()];if(a){var r=a.transformCoordToLocal(t,e),o=a.shape;if(!(o.x<=r[0]&&r[0]<=o.x+o.width&&o.y<=r[1]&&r[1]<=o.y+o.height))return!1;i={node:n,offsetX:r[0],offsetY:r[1]}}}),this),i}});function P(){return{nodeGroup:[],background:[],content:[]}}function k(t,e,i,n,o,s,l,u,c,h){if(l){var d=l.getLayout(),f=t.getData();if(f.setItemGraphicEl(l.dataIndex,null),d&&d.isInView){var p=d.width,g=d.height,m=d.borderWidth,x=d.invisible,_=l.getRawIndex(),I=u&&u.getRawIndex(),L=l.viewChildren,P=d.upperHeight,k=L&&L.length,R=l.getModel("itemStyle"),E=l.getModel("emphasis.itemStyle"),N=Z("nodeGroup",v);if(N){if(c.add(N),N.attr("position",[d.x||0,d.y||0]),N.__tmNodeWidth=p,N.__tmNodeHeight=g,d.isAboveViewRoot)return N;var z=l.getModel(),V=Z("background",y,h,A);if(V&&F(N,V,k&&d.upperLabelHeight),k)r.isHighDownDispatcher(N)&&r.setAsHighDownDispatcher(N,!1),V&&(r.setAsHighDownDispatcher(V,!0),f.setItemGraphicEl(l.dataIndex,V));else{var B=Z("content",y,h,T);B&&G(N,B),V&&r.isHighDownDispatcher(V)&&r.setAsHighDownDispatcher(V,!1),r.setAsHighDownDispatcher(N,!0),f.setItemGraphicEl(l.dataIndex,N)}return N}}}function F(e,i,n){if(i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex,i.setShape({x:0,y:0,width:p,height:g}),x)H(i);else{i.invisible=!1;var a=l.getVisual("borderColor",!0),o=E.get("borderColor"),s=D(R);s.fill=a;var u=C(E);if(u.fill=o,n){var c=p-2*m;W(s,u,a,c,P,{x:m,y:0,width:c,height:P})}else s.text=u.text=null;i.setStyle(s),r.setElementHoverStyle(i,u)}e.add(i)}function G(e,i){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex;var n=Math.max(p-2*m,0),a=Math.max(g-2*m,0);if(i.culling=!0,i.setShape({x:m,y:m,width:n,height:a}),x)H(i);else{i.invisible=!1;var o=l.getVisual("color",!0),s=D(R);s.fill=o;var u=C(E);W(s,u,o,n,a),i.setStyle(s),r.setElementHoverStyle(i,u)}e.add(i)}function H(t){!t.invisible&&s.push(t)}function W(e,i,n,o,s,u){var c=z.get("name"),h=z.getModel(u?S:b),f=z.getModel(u?M:w),p=h.getShallow("show");r.setLabelStyle(e,i,h,f,{defaultText:p?c:null,autoColor:n,isRectText:!0,labelFetcher:t,labelDataIndex:l.dataIndex,labelProp:u?"upperLabel":"label"}),U(e,u,d),U(i,u,d),u&&(e.textRect=a.clone(u)),e.truncate=p&&h.get("ellipsis")?{outerWidth:o,outerHeight:s,minChar:2}:null}function U(e,i,n){var a=e.text;if(!i&&n.isLeafRoot&&null!=a){var r=t.get("drillDownIcon",!0);e.text=r?r+" "+a:a}}function Z(t,n,a,r){var s=null!=I&&i[t][I],l=o[t];return s?(i[t][I]=null,Y(l,s,t)):x||(s=new n({z:O(a,r)}),s.__tmDepth=a,s.__tmStorageName=t,j(l,s,t)),e[t][_]=s}function Y(t,e,i){var n=t[_]={};n.old="nodeGroup"===i?e.position.slice():a.extend({},e.shape)}function j(t,e,i){var a=t[_]={},r=l.parentNode;if(r&&(!n||"drillDown"===n.direction)){var s=0,u=0,c=o.background[r.getRawIndex()];!n&&c&&c.old&&(s=c.old.width,u=c.old.height),a.old="nodeGroup"===i?[0,u]:{x:s,y:u,width:0,height:0}}a.fadein="nodeGroup"!==i}}function O(t,e){var i=t*I+e;return(i-1)/i}t.exports=L},f822:function(t,e,i){var n=i("43a0"),a=i("a04a"),r=i("8328"),o=i("6794"),s=i("01a1"),l=i("0908"),u=i("263c"),c=i("cd88"),h=i("2ea0"),d=i("4920"),f=i("3f44"),p=i("c422"),g=i("b184"),m=i("1621"),v=i("415e"),y=v.getTooltipRenderMode,x=a.bind,_=a.each,b=u.parsePercent,w=new c.Rect({shape:{x:-1,y:-1,width:2,height:2}}),S=n.extendComponentView({type:"tooltip",init:function(t,e){if(!r.node){var i,n=t.getComponent("tooltip"),a=n.get("renderMode");this._renderMode=y(a),"html"===this._renderMode?(i=new o(e.getDom(),e,{appendToBody:n.get("appendToBody",!0)}),this._newLine="
"):(i=new s(e),this._newLine="\n"),this._tooltipContent=i}},render:function(t,e,i){if(!r.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=i,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var n=this._tooltipContent;n.update(t),n.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel,e=t.get("triggerOn");p.register("itemTooltip",this._api,x((function(t,i,n){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(i,n):"leave"===t&&this._hide(n))}),this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!i.isDisposed()&&n.manuallyShowTip(t,e,i,{x:n._lastX,y:n._lastY})}))}},manuallyShowTip:function(t,e,i,n){if(n.from!==this.uid&&!r.node){var a=I(n,i);this._ticket="";var o=n.dataByCoordSys;if(n.tooltip&&null!=n.x&&null!=n.y){var s=w;s.position=[n.x,n.y],s.update(),s.tooltip=n.tooltip,this._tryShow({offsetX:n.x,offsetY:n.y,target:s},a)}else if(o)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,dataByCoordSys:n.dataByCoordSys,tooltipOption:n.tooltipOption},a);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,n))return;var l=h(n,e),u=l.point[0],c=l.point[1];null!=u&&null!=c&&this._tryShow({offsetX:u,offsetY:c,position:n.position,target:l.el},a)}else null!=n.x&&null!=n.y&&(i.dispatchAction({type:"updateAxisPointer",x:n.x,y:n.y}),this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:i.getZr().findHover(n.x,n.y).target},a))}},manuallyHideTip:function(t,e,i,n){var a=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,n.from!==this.uid&&this._hide(I(n,i))},_manuallyAxisShowTip:function(t,e,i,n){var a=n.seriesIndex,r=n.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=a&&null!=r&&null!=o){var s=e.getSeriesByIndex(a);if(s){var l=s.getData();t=M([l.getItemModel(r),s,(s.coordinateSystem||{}).model,t]);if("axis"===t.get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:r,position:n.position}),!0}}},_tryShow:function(t,e){var i=t.target,n=this._tooltipModel;if(n){this._lastX=t.offsetX,this._lastY=t.offsetY;var a=t.dataByCoordSys;a&&a.length?this._showAxisTooltip(a,t):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,i,e)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,i,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var i=t.get("showDelay");e=a.bind(e,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(e,i):e()},_showAxisTooltip:function(t,e){var i=this._ecModel,n=this._tooltipModel,r=[e.offsetX,e.offsetY],o=[],s=[],u=M([e.tooltipOption,n]),c=this._renderMode,h=this._newLine,d={};_(t,(function(t){_(t.dataByAxis,(function(t){var e=i.getComponent(t.axisDim+"Axis",t.axisIndex),n=t.value,r=[];if(e&&null!=n){var u=m.getValueLabel(n,e.axis,i,t.seriesDataIndices,t.valueLabelOpt);a.each(t.seriesDataIndices,(function(o){var l=i.getSeriesByIndex(o.seriesIndex),h=o.dataIndexInside,f=l&&l.getDataParams(h);if(f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=g.getAxisRawValue(e.axis,n),f.axisValueLabel=u,f){s.push(f);var p,m=l.formatTooltip(h,!0,null,c);if(a.isObject(m)){p=m.html;var v=m.markers;a.merge(d,v)}else p=m;r.push(p)}}));var f=u;"html"!==c?o.push(r.join(h)):o.push((f?l.encodeHTML(f)+h:"")+r.join(h))}}))}),this),o.reverse(),o=o.join(this._newLine+this._newLine);var f=e.position;this._showOrMove(u,(function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(u,f,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(u,o,s,Math.random(),r[0],r[1],f,void 0,d)}))},_showSeriesItemTooltip:function(t,e,i){var n=this._ecModel,r=e.seriesIndex,o=n.getSeriesByIndex(r),s=e.dataModel||o,l=e.dataIndex,u=e.dataType,c=s.getData(u),h=M([c.getItemModel(l),s,o&&(o.coordinateSystem||{}).model,this._tooltipModel]),d=h.get("trigger");if(null==d||"item"===d){var f,p,g=s.getDataParams(l,u),m=s.formatTooltip(l,!1,u,this._renderMode);a.isObject(m)?(f=m.html,p=m.markers):(f=m,p=null);var v="item_"+s.name+"_"+l;this._showOrMove(h,(function(){this._showTooltipContent(h,f,g,v,t.offsetX,t.offsetY,t.position,t.target,p)})),i({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:r,from:this.uid})}},_showComponentItemTooltip:function(t,e,i){var n=e.tooltip;if("string"===typeof n){var a=n;n={content:a,formatter:a}}var r=new f(n,this._tooltipModel,this._ecModel),o=r.get("content"),s=Math.random();this._showOrMove(r,(function(){this._showTooltipContent(r,o,r.get("formatterParams")||{},s,t.offsetX,t.offsetY,t.position,e)})),i({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,i,n,a,r,o,s,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent,h=t.get("formatter");o=o||t.get("position");var d=e;if(h&&"string"===typeof h)d=l.formatTpl(h,i,!0);else if("function"===typeof h){var f=x((function(e,n){e===this._ticket&&(c.setContent(n,u,t),this._updatePosition(t,o,a,r,c,i,s))}),this);this._ticket=n,d=h(i,n,f)}c.setContent(d,u,t),c.show(t),this._updatePosition(t,o,a,r,c,i,s)}},_updatePosition:function(t,e,i,n,r,o,s){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var c=r.getSize(),h=t.get("align"),f=t.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"===typeof e&&(e=e([i,n],o,r.el,p,{viewSize:[l,u],contentSize:c.slice()})),a.isArray(e))i=b(e[0],l),n=b(e[1],u);else if(a.isObject(e)){e.width=c[0],e.height=c[1];var g=d.getLayoutRect(e,{width:l,height:u});i=g.x,n=g.y,h=null,f=null}else if("string"===typeof e&&s){var m=C(e,p,c);i=m[0],n=m[1]}else{m=A(i,n,r,l,u,h?null:20,f?null:20);i=m[0],n=m[1]}if(h&&(i-=D(h)?c[0]/2:"right"===h?c[0]:0),f&&(n-=D(f)?c[1]/2:"bottom"===f?c[1]:0),t.get("confine")){m=T(i,n,r,l,u);i=m[0],n=m[1]}r.moveTo(i,n)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,i=!!e&&e.length===t.length;return i&&_(e,(function(e,n){var a=e.dataByAxis||{},r=t[n]||{},o=r.dataByAxis||[];i&=a.length===o.length,i&&_(a,(function(t,e){var n=o[e]||{},a=t.seriesDataIndices||[],r=n.seriesDataIndices||[];i&=t.value===n.value&&t.axisType===n.axisType&&t.axisId===n.axisId&&a.length===r.length,i&&_(a,(function(t,e){var n=r[e];i&=t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex}))}))})),this._lastDataByCoordSys=t,!!i},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){r.node||(this._tooltipContent.dispose(),p.unregister("itemTooltip",e))}});function M(t){var e=t.pop();while(t.length){var i=t.pop();i&&(f.isInstance(i)&&(i=i.get("tooltip",!0)),"string"===typeof i&&(i={formatter:i}),e=new f(i,e,e.ecModel))}return e}function I(t,e){return t.dispatchAction||a.bind(e.dispatchAction,e)}function A(t,e,i,n,a,r,o){var s=i.getOuterSize(),l=s.width,u=s.height;return null!=r&&(t+l+r>n?t-=l+r:t+=r),null!=o&&(e+u+o>a?e-=u+o:e+=o),[t,e]}function T(t,e,i,n,a){var r=i.getOuterSize(),o=r.width,s=r.height;return t=Math.min(t+o,n)-o,e=Math.min(e+s,a)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function C(t,e,i){var n=i[0],a=i[1],r=5,o=0,s=0,l=e.width,u=e.height;switch(t){case"inside":o=e.x+l/2-n/2,s=e.y+u/2-a/2;break;case"top":o=e.x+l/2-n/2,s=e.y-a-r;break;case"bottom":o=e.x+l/2-n/2,s=e.y+u+r;break;case"left":o=e.x-n-r,s=e.y+u/2-a/2;break;case"right":o=e.x+l+r,s=e.y+u/2-a/2}return[o,s]}function D(t){return"center"===t||"middle"===t}t.exports=S},f823:function(t,e,i){var n=i("a04a"),a=i("59af"),r=i("2cb9"),o=i("473e"),s=i("cd88"),l=i("263c"),u=l.round,c=["fromSymbol","toSymbol"];function h(t){return"_"+t+"Type"}function d(t,e,i){var a=e.getItemVisual(i,t);if(a&&"none"!==a){var o=e.getItemVisual(i,"color"),s=e.getItemVisual(i,t+"Size"),l=e.getItemVisual(i,t+"Rotate");n.isArray(s)||(s=[s,s]);var u=r.createSymbol(a,-s[0]/2,-s[1]/2,s[0],s[1],o);return u.__specifiedRotation=null==l||isNaN(l)?void 0:+l*Math.PI/180||0,u.name=t,u}}function f(t){var e=new o({name:"line",subPixelOptimize:!0});return p(e.shape,t),e}function p(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var i=e[2];i?(t.cpx1=i[0],t.cpy1=i[1]):(t.cpx1=NaN,t.cpy1=NaN)}function g(){var t=this,e=t.childOfName("fromSymbol"),i=t.childOfName("toSymbol"),n=t.childOfName("label");if(e||i||!n.ignore){var r=1,o=this.parent;while(o)o.scale&&(r/=o.scale[0]),o=o.parent;var s=t.childOfName("line");if(this.__dirty||s.__dirty){var l=s.shape.percent,u=s.pointAt(0),c=s.pointAt(l),h=a.sub([],c,u);if(a.normalize(h,h),e){e.attr("position",u);var d=e.__specifiedRotation;if(null==d){var f=s.tangentAt(0);e.attr("rotation",Math.PI/2-Math.atan2(f[1],f[0]))}else e.attr("rotation",d);e.attr("scale",[r*l,r*l])}if(i){i.attr("position",c);d=i.__specifiedRotation;if(null==d){f=s.tangentAt(1);i.attr("rotation",-Math.PI/2-Math.atan2(f[1],f[0]))}else i.attr("rotation",d);i.attr("scale",[r*l,r*l])}if(!n.ignore){var p,g,m,v;n.attr("position",c);var y=n.__labelDistance,x=y[0]*r,_=y[1]*r,b=l/2,w=(f=s.tangentAt(b),[f[1],-f[0]]),S=s.pointAt(b);w[1]>0&&(w[0]=-w[0],w[1]=-w[1]);var M,I=f[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var A=-Math.atan2(f[1],f[0]);c[0].8?"left":h[0]<-.8?"right":"center",m=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":p=[-h[0]*x+u[0],-h[1]*_+u[1]],g=h[0]>.8?"right":h[0]<-.8?"left":"center",m=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":p=[x*I+u[0],u[1]+M],g=f[0]<0?"right":"left",v=[-x*I,-M];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":p=[S[0],S[1]+M],g="center",v=[0,-M];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":p=[-x*I+c[0],c[1]+M],g=f[0]>=0?"right":"left",v=[x*I,-M];break}n.attr({style:{textVerticalAlign:n.__verticalAlign||m,textAlign:n.__textAlign||g},position:p,scale:[r,r],origin:v})}}}}function m(t,e,i){s.Group.call(this),this._createLine(t,e,i)}var v=m.prototype;v.beforeUpdate=g,v._createLine=function(t,e,i){var a=t.hostModel,r=t.getItemLayout(e),o=f(r);o.shape.percent=0,s.initProps(o,{shape:{percent:1}},a,e),this.add(o);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),n.each(c,(function(i){var n=d(i,t,e);this.add(n),this[h(i)]=t.getItemVisual(e,i)}),this),this._updateCommonStl(t,e,i)},v.updateData=function(t,e,i){var a=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),l={shape:{}};p(l.shape,o),s.updateProps(r,l,a,e),n.each(c,(function(i){var n=t.getItemVisual(e,i),a=h(i);if(this[a]!==n){this.remove(this.childOfName(i));var r=d(i,t,e);this.add(r)}this[a]=n}),this),this._updateCommonStl(t,e,i)},v._updateCommonStl=function(t,e,i){var a=t.hostModel,r=this.childOfName("line"),o=i&&i.lineStyle,l=i&&i.hoverLineStyle,h=i&&i.labelModel,d=i&&i.hoverLabelModel;if(!i||t.hasItemOption){var f=t.getItemModel(e);o=f.getModel("lineStyle").getLineStyle(),l=f.getModel("emphasis.lineStyle").getLineStyle(),h=f.getModel("label"),d=f.getModel("emphasis.label")}var p=t.getItemVisual(e,"color"),g=n.retrieve3(t.getItemVisual(e,"opacity"),o.opacity,1);r.useStyle(n.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},o)),r.hoverStyle=l,n.each(c,(function(t){var e=this.childOfName(t);e&&(e.setColor(p),e.setStyle({opacity:g}))}),this);var m,v,y=h.getShallow("show"),x=d.getShallow("show"),_=this.childOfName("label");if((y||x)&&(m=p||"#000",v=a.getFormattedLabel(e,"normal",t.dataType),null==v)){var b=a.getRawValue(e);v=null==b?t.getName(e):isFinite(b)?u(b):b}var w=y?v:null,S=x?n.retrieve2(a.getFormattedLabel(e,"emphasis",t.dataType),v):null,M=_.style;if(null!=w||null!=S){s.setTextStyle(_.style,h,{text:w},{autoColor:m}),_.__textAlign=M.textAlign,_.__verticalAlign=M.textVerticalAlign,_.__position=h.get("position")||"middle";var I=h.get("distance");n.isArray(I)||(I=[I,I]),_.__labelDistance=I}_.hoverStyle=null!=S?{text:S,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},_.ignore=!y&&!x,s.setHoverStyle(this)},v.highlight=function(){this.trigger("emphasis")},v.downplay=function(){this.trigger("normal")},v.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},v.setLinePoints=function(t){var e=this.childOfName("line");p(e.shape,t),e.dirty()},n.inherits(m,s.Group);var y=m;t.exports=y},f959:function(t,e,i){var n=i("20f7"),a=(n.__DEV__,i("a04a")),r=i("8328"),o=i("0908"),s=o.formatTime,l=o.encodeHTML,u=o.addCommas,c=o.getTooltipMarker,h=i("415e"),d=i("26ee"),f=i("553d"),p=i("9b4f"),g=i("4920"),m=g.getLayoutParams,v=g.mergeLayoutParam,y=i("6017"),x=y.createTask,_=i("9001"),b=_.prepareSource,w=_.getSource,S=i("570e"),M=S.retrieveRawValue,I=h.makeInner(),A=d.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(t,e,i,n){this.seriesIndex=this.componentIndex,this.dataTask=x({count:D,reset:L}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,i),b(this);var a=this.getInitialData(t,i);k(a,this),this.dataTask.context.data=a,I(this).dataBeforeProcessed=a,T(this)},mergeDefaultAndTheme:function(t,e){var i=this.layoutMode,n=i?m(t):{},r=this.subType;d.hasClass(r)&&(r+="Series"),a.merge(t,e.getTheme().get(this.subType)),a.merge(t,this.getDefaultOption()),h.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),i&&v(t,n,i)},mergeOption:function(t,e){t=a.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var i=this.layoutMode;i&&v(this.option,t,i),b(this);var n=this.getInitialData(t,e);k(n,this),this.dataTask.dirty(),this.dataTask.context.data=n,I(this).dataBeforeProcessed=n,T(this)},fillDataTextStyle:function(t){if(t&&!a.isTypedArray(t))for(var e=["show"],i=0;i":"\n",d="richText"===n,f={},p=0;function g(i){var o=a.reduce(i,(function(t,e,i){var n=v.getDimensionInfo(i);return t|(n&&!1!==n.tooltip&&null!=n.displayName)}),0),h=[];function g(t,i){var a=v.getDimensionInfo(i);if(a&&!1!==a.otherDims.tooltip){var g=a.type,m="sub"+r.seriesIndex+"at"+p,y=c({color:w,type:"subItem",renderMode:n,markerId:m}),x="string"===typeof y?y:y.content,_=(o?x+l(a.displayName||"-")+": ":"")+l("ordinal"===g?t+"":"time"===g?e?"":s("yyyy/MM/dd hh:mm:ss",t):u(t));_&&h.push(_),d&&(f[m]=w,++p)}}y.length?a.each(y,(function(e){g(M(v,t,e),e)})):a.each(i,g);var m=o?d?"\n":"
":"",x=m+h.join(m||", ");return{renderMode:n,content:x,style:f}}function m(t){return{renderMode:n,content:l(u(t)),style:f}}var v=this.getData(),y=v.mapDimension("defaultedTooltip",!0),x=y.length,_=this.getRawValue(t),b=a.isArray(_),w=v.getItemVisual(t,"color");a.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var S=x>1||b&&!x?g(_):m(x?M(v,t,y[0]):b?_[0]:_),I=S.content,A=r.seriesIndex+"at"+p,T=c({color:w,type:"item",renderMode:n,markerId:A});f[A]=w,++p;var C=v.getName(t),D=this.name;h.isNameSpecified(this)||(D=""),D=D?l(D)+(e?": ":o):"";var L="string"===typeof T?T:T.content,P=e?L+D+I:D+L+(C?l(C)+": "+I:I);return{html:P,markers:f}},isAnimationEnabled:function(){if(r.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,i){var n=this.ecModel,a=f.getColorFromPalette.call(this,t,e,i);return a||(a=n.getColorFromPalette(t,e,i)),a},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function T(t){var e=t.name;h.isNameSpecified(t)||(t.name=C(t)||e)}function C(t){var e=t.getRawData(),i=e.mapDimension("seriesName",!0),n=[];return a.each(i,(function(t){var i=e.getDimensionInfo(t);i.displayName&&n.push(i.displayName)})),n.join(" ")}function D(t){return t.model.getRawData().count()}function L(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),P}function P(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function k(t,e){a.each(t.CHANGABLE_METHODS,(function(i){t.wrapMethod(i,a.curry(O,e))}))}function O(t){var e=R(t);e&&e.setOutputEnd(this.count())}function R(t){var e=(t.ecModel||{}).scheduler,i=e&&e.getPipeline(t.uid);if(i){var n=i.currentTask;if(n){var a=n.agentStubMap;a&&(n=a.get(t.uid))}return n}}a.mixin(A,p),a.mixin(A,f);var E=A;t.exports=E},f99e:function(t,e,i){var n=i("4e3a"),a=i("89ed"),r=i("cd88"),o=r.linePolygonIntersect,s={lineX:l(0),lineY:l(1),rect:{point:function(t,e,i){return t&&i.boundingRect.contain(t[0],t[1])},rect:function(t,e,i){return t&&i.boundingRect.intersect(t)}},polygon:{point:function(t,e,i){return t&&i.boundingRect.contain(t[0],t[1])&&n.contain(i.range,t[0],t[1])},rect:function(t,e,i){var r=i.range;if(!t||r.length<=1)return!1;var s=t.x,l=t.y,u=t.width,c=t.height,h=r[0];return!!(n.contain(r,s,l)||n.contain(r,s+u,l)||n.contain(r,s,l+c)||n.contain(r,s+u,l+c)||a.create(t).contain(h[0],h[1])||o(s,l,s+u,l,r)||o(s,l,s,l+c,r)||o(s+u,l,s+u,l+c,r)||o(s,l+c,s+u,l+c,r))||void 0}}};function l(t){var e=["x","y"],i=["width","height"];return{point:function(e,i,n){if(e){var a=n.range,r=e[t];return u(r,a)}},rect:function(n,a,r){if(n){var o=r.range,s=[n[e[t]],n[e[t]]+n[i[t]]];return s[1]=t&&(0===e?0:n[e-1][0]).4?"bottom":"middle",textAlign:P<-.4?"left":P>.4?"right":"center"},{autoColor:N}),silent:!0}))}if(x.get("show")&&L!==b){for(var z=0;z<=w;z++){P=Math.cos(I),k=Math.sin(I);var V=new a.Line({shape:{x1:P*g+f,y1:k*g+p,x2:P*(g-M)+f,y2:k*(g-M)+p},silent:!0,style:D});"auto"===D.stroke&&V.setStyle({stroke:n((L+z/w)/b)}),d.add(V),I+=T}I-=T}else I+=A}},_renderPointer:function(t,e,i,r,o,l,c,h){var d=this.group,f=this._data;if(t.get("pointer.show")){var p=[+t.get("min"),+t.get("max")],g=[l,c],m=t.getData(),v=m.mapDimension("value");m.diff(f).add((function(e){var i=new n({shape:{angle:l}});a.initProps(i,{shape:{angle:u(m.get(v,e),p,g,!0)}},t),d.add(i),m.setItemGraphicEl(e,i)})).update((function(e,i){var n=f.getItemGraphicEl(i);a.updateProps(n,{shape:{angle:u(m.get(v,e),p,g,!0)}},t),d.add(n),m.setItemGraphicEl(e,n)})).remove((function(t){var e=f.getItemGraphicEl(t);d.remove(e)})).execute(),m.eachItemGraphicEl((function(t,e){var i=m.getItemModel(e),n=i.getModel("pointer");t.setShape({x:o.cx,y:o.cy,width:s(n.get("width"),o.r),r:s(n.get("length"),o.r)}),t.useStyle(i.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",r(u(m.get(v,e),p,[0,1],!0))),a.setHoverStyle(t,i.getModel("emphasis.itemStyle").getItemStyle())})),this._data=m}else f&&f.eachItemGraphicEl((function(t){d.remove(t)}))},_renderTitle:function(t,e,i,n,r){var o=t.getData(),l=o.mapDimension("value"),c=t.getModel("title");if(c.get("show")){var h=c.get("offsetCenter"),d=r.cx+s(h[0],r.r),f=r.cy+s(h[1],r.r),p=+t.get("min"),g=+t.get("max"),m=t.getData().get(l,0),v=n(u(m,[p,g],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},c,{x:d,y:f,text:o.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:v,forceRich:!0})}))}},_renderDetail:function(t,e,i,n,r){var o=t.getModel("detail"),l=+t.get("min"),c=+t.get("max");if(o.get("show")){var d=o.get("offsetCenter"),f=r.cx+s(d[0],r.r),p=r.cy+s(d[1],r.r),g=s(o.get("width"),r.r),m=s(o.get("height"),r.r),v=t.getData(),y=v.get(v.mapDimension("value"),0),x=n(u(y,[l,c],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},o,{x:f,y:p,text:h(y,o.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:x,forceRich:!0})}))}}}),p=f;t.exports=p},fbcd:function(t,e,i){var n=i("a04a"),a=i("26ee"),r=i("62c3"),o=i("415e"),s=a.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(t,e,i){this._data,this._names,this.mergeDefaultAndTheme(t,i),this._initData()},mergeOption:function(t){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var t=this.option,e=t.data||[],i=t.axisType,a=this._names=[];if("category"===i){var s=[];n.each(e,(function(t,e){var i,r=o.getDataItemValue(t);n.isObject(t)?(i=n.clone(t),i.value=e):i=e,s.push(i),n.isString(r)||null!=r&&!isNaN(r)||(r=""),a.push(r+"")})),e=s}var l={category:"ordinal",time:"time"}[i]||"number",u=this._data=new r([{name:"value",type:l}],this);u.initData(e,a)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;t.exports=l},fc7f:function(t,e,i){var n=i("a04a"),a=i("4509");function r(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var i=t.features,n=0;n>1^-(1&s),l=l>>1^-(1&l),s+=a,l+=r,a=s,r=l,n.push([s/i,l/i])}return n}function s(t,e){return r(t),n.map(n.filter(t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var i=t.properties,r=t.geometry,o=r.coordinates,s=[];"Polygon"===r.type&&s.push({type:"polygon",exterior:o[0],interiors:o.slice(1)}),"MultiPolygon"===r.type&&n.each(o,(function(t){t[0]&&s.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}));var l=new a(i[e||"name"],s,i.cp);return l.properties=i,l}))}t.exports=s},fdbb:function(t,e,i){var n=i("213e"),a=n.createElement,r=i("a04a"),o=i("f3aa"),s=i("df8d"),l=i("bce8"),u=i("a1d7"),c=i("a828"),h=i("c58b"),d=i("a17d"),f=i("f621"),p=i("c29b"),g=p.path,m=p.image,v=p.text;function y(t){return parseInt(t,10)}function x(t){return t instanceof s?g:t instanceof l?m:t instanceof u?v:g}function _(t,e){return e&&t&&e.parentNode!==t}function b(t,e,i){if(_(t,e)&&i){var n=i.nextSibling;n?t.insertBefore(e,n):t.appendChild(e)}}function w(t,e){if(_(t,e)){var i=t.firstChild;i?t.insertBefore(e,i):t.appendChild(e)}}function S(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function M(t){return t.__textSvgEl}function I(t){return t.__svgEl}var A=function(t,e,i,n){this.root=t,this.storage=e,this._opts=i=r.extend({},i||{});var o=a("svg");o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("version","1.1"),o.setAttribute("baseProfile","full"),o.style.cssText="user-select:none;position:absolute;left:0;top:0;";var s=a("g");o.appendChild(s);var l=a("g");o.appendChild(l),this.gradientManager=new h(n,l),this.clipPathManager=new d(n,l),this.shadowManager=new f(n,l);var u=document.createElement("div");u.style.cssText="overflow:hidden;position:relative",this._svgDom=o,this._svgRoot=l,this._backgroundRoot=s,this._viewport=u,t.appendChild(u),u.appendChild(o),this.resize(i.width,i.height),this._visibleList=[]};function T(t){return function(){o('In SVG mode painter not support method "'+t+'"')}}A.prototype={constructor:A,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(t){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var e=a("rect");e.setAttribute("width",this.getWidth()),e.setAttribute("height",this.getHeight()),e.setAttribute("x",0),e.setAttribute("y",0),e.setAttribute("id",0),e.style.fill=t,this._backgroundRoot.appendChild(e),this._backgroundNode=e},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var e,i=this._svgRoot,n=this._visibleList,a=t.length,r=[];for(e=0;e=0;--n)if(e[n]===t)return!0;return!1}),i}return null}return i[0]},resize:function(t,e){var i=this._viewport;i.style.display="none";var n=this._opts;if(null!=t&&(n.width=t),null!=e&&(n.height=e),t=this._getSize(0),e=this._getSize(1),i.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var a=i.style;a.width=t+"px",a.height=e+"px";var r=this._svgDom;r.setAttribute("width",t),r.setAttribute("height",e)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",t),this._backgroundNode.setAttribute("height",e))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,i=["width","height"][t],n=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],r=["paddingRight","paddingBottom"][t];if(null!=e[i]&&"auto"!==e[i])return parseFloat(e[i]);var o=this.root,s=document.defaultView.getComputedStyle(o);return(o[n]||y(s[i])||y(o.style[i]))-(y(s[a])||0)-(y(s[r])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var t=encodeURIComponent(this._svgDom.outerHTML.replace(/>\n\r<"));return"data:image/svg+xml;charset=UTF-8,"+t}},r.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(t){A.prototype[t]=T(t)}));var C=A;t.exports=C},fdd8:function(t,e,i){var n=i("a04a"),a=i("62c3"),r=i("263c"),o=i("6a23"),s=i("27ee"),l=i("e0ce"),u=i("eff3"),c=u.getStackedDimension,h=function(t,e,i,a){var r=t.getData(),s=a.type;if(!n.isArray(a)&&("min"===s||"max"===s||"average"===s||"median"===s||null!=a.xAxis||null!=a.yAxis)){var l,u;if(null!=a.yAxis||null!=a.xAxis)l=e.getAxis(null!=a.yAxis?"y":"x"),u=n.retrieve(a.yAxis,a.xAxis);else{var h=o.getAxisInfo(a,r,e,t);l=h.valueAxis;var d=c(r,h.valueDataDim);u=o.numCalculate(r,d,s)}var f="x"===l.dim?0:1,p=1-f,g=n.clone(a),m={};g.type=null,g.coord=[],m.coord=[],g.coord[p]=-1/0,m.coord[p]=1/0;var v=i.get("precision");v>=0&&"number"===typeof u&&(u=+u.toFixed(Math.min(v,20))),g.coord[f]=m.coord[f]=u,a=[g,m,{type:s,valueIndex:a.valueIndex,value:u}]}return a=[o.dataTransform(t,a[0]),o.dataTransform(t,a[1]),n.extend({},a[2])],a[2].type=a[2].type||"",n.merge(a[2],a[0]),n.merge(a[2],a[1]),a};function d(t){return!isNaN(t)&&!isFinite(t)}function f(t,e,i,n){var a=1-t,r=n.dimensions[t];return d(e[a])&&d(i[a])&&e[t]===i[t]&&n.getAxis(r).containData(e[t])}function p(t,e){if("cartesian2d"===t.type){var i=e[0].coord,n=e[1].coord;if(i&&n&&(f(1,i,n,t)||f(0,i,n,t)))return!0}return o.dataFilter(t,e[0])&&o.dataFilter(t,e[1])}function g(t,e,i,n,a){var o,s=n.coordinateSystem,l=t.getItemModel(e),u=r.parsePercent(l.get("x"),a.getWidth()),c=r.parsePercent(l.get("y"),a.getHeight());if(isNaN(u)||isNaN(c)){if(n.getMarkerPosition)o=n.getMarkerPosition(t.getValues(t.dimensions,e));else{var h=s.dimensions,f=t.get(h[0],e),p=t.get(h[1],e);o=s.dataToPoint([f,p])}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");h=s.dimensions;d(t.get(h[0],e))?o[0]=g.toGlobalCoord(g.getExtent()[i?0:1]):d(t.get(h[1],e))&&(o[1]=m.toGlobalCoord(m.getExtent()[i?0:1]))}isNaN(u)||(o[0]=u),isNaN(c)||(o[1]=c)}else o=[u,c];t.setItemLayout(e,o)}var m=l.extend({type:"markLine",updateTransform:function(t,e,i){e.eachSeries((function(t){var e=t.markLineModel;if(e){var n=e.getData(),a=e.__from,r=e.__to;a.each((function(e){g(a,e,!0,t,i),g(r,e,!1,t,i)})),n.each((function(t){n.setItemLayout(t,[a.getItemLayout(t),r.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},renderSeries:function(t,e,i,a){var r=t.coordinateSystem,o=t.id,l=t.getData(),u=this.markerGroupMap,c=u.get(o)||u.set(o,new s);this.group.add(c.group);var h=v(r,t,e),d=h.from,f=h.to,p=h.line;e.__from=d,e.__to=f,e.setData(p);var m=e.get("symbol"),y=e.get("symbolSize");function x(e,i,n){var r=e.getItemModel(i);g(e,i,n,t,a),e.setItemVisual(i,{symbolRotate:r.get("symbolRotate"),symbolSize:r.get("symbolSize")||y[n?0:1],symbol:r.get("symbol",!0)||m[n?0:1],color:r.get("itemStyle.color")||l.getVisual("color")})}n.isArray(m)||(m=[m,m]),"number"===typeof y&&(y=[y,y]),h.from.each((function(t){x(d,t,!0),x(f,t,!1)})),p.each((function(t){var e=p.getItemModel(t).get("lineStyle.color");p.setItemVisual(t,{color:e||d.getItemVisual(t,"color")}),p.setItemLayout(t,[d.getItemLayout(t),f.getItemLayout(t)]),p.setItemVisual(t,{fromSymbolRotate:d.getItemVisual(t,"symbolRotate"),fromSymbolSize:d.getItemVisual(t,"symbolSize"),fromSymbol:d.getItemVisual(t,"symbol"),toSymbolRotate:f.getItemVisual(t,"symbolRotate"),toSymbolSize:f.getItemVisual(t,"symbolSize"),toSymbol:f.getItemVisual(t,"symbol")})})),c.updateData(p),h.line.eachItemGraphicEl((function(t,i){t.traverse((function(t){t.dataModel=e}))})),c.__keep=!0,c.group.silent=e.get("silent")||t.get("silent")}});function v(t,e,i){var r;r=t?n.map(t&&t.dimensions,(function(t){var i=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return n.defaults({name:t},i)})):[{name:"value",type:"float"}];var s=new a(r,i),l=new a(r,i),u=new a([],i),c=n.map(i.get("data"),n.curry(h,e,t,i));t&&(c=n.filter(c,n.curry(p,t)));var d=t?o.dimValueGetter:function(t){return t.value};return s.initData(n.map(c,(function(t){return t[0]})),null,d),l.initData(n.map(c,(function(t){return t[1]})),null,d),u.initData(n.map(c,(function(t){return t[2]}))),u.hasItemOption=!0,{from:s,to:l,line:u}}t.exports=m},fe3e:function(t,e,i){var n=i("a04a"),a=i("0908"),r=["x","y","z","radius","angle","single"],o=["cartesian2d","polar","singleAxis"];function s(t){return n.indexOf(o,t)>=0}function l(t,e){t=t.slice();var i=n.map(t,a.capitalFirst);e=(e||[]).slice();var r=n.map(e,a.capitalFirst);return function(a,o){n.each(t,(function(t,n){for(var s={name:t,capital:i[n]},l=0;l=0}function r(t,a){var r=!1;return e((function(e){n.each(i(t,e)||[],(function(t){a.records[e.name][t]&&(r=!0)}))})),r}function o(t,a){a.nodes.push(t),e((function(e){n.each(i(t,e)||[],(function(t){a.records[e.name][t]=!0}))}))}}e.isCoordSupported=s,e.createNameEach=l,e.eachAxisDim=u,e.createLinkedNodesFinder=c},fefa:function(t,e){function i(t,e,i){var n=t.target,a=n.position;a[0]+=e,a[1]+=i,n.dirty()}function n(t,e,i,n){var a=t.target,r=t.zoomLimit,o=a.position,s=a.scale,l=t.zoom=t.zoom||1;if(l*=e,r){var u=r.min||0,c=r.max||1/0;l=Math.max(Math.min(c,l),u)}var h=l/t.zoom;t.zoom=l,o[0]-=(i-o[0])*(h-1),o[1]-=(n-o[1])*(h-1),s[0]*=h,s[1]*=h,a.dirty()}e.updateViewOnPan=i,e.updateViewOnZoom=n},ff12:function(t,e){var i={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function n(t,e){if("china"===t){var n=i[e.name];if(n){var a=e.center;a[0]+=n[0]/10.5,a[1]+=-n[1]/14}}}t.exports=n},ff7b:function(t,e,i){var n=i("26ee");n.registerSubTypeDefaulter("timeline",(function(){return"slider"}))},fff1:function(t,e,i){var n=i("43a0");i("ee60"),i("899c"),i("e255");var a=i("0d4f"),r=i("564a"),o=i("09df");n.registerLayout(a),n.registerVisual(r),n.registerProcessor(o("themeRiver"))}}]); \ No newline at end of file diff --git a/jbs-front/static/js/chunk-2d0a2db2.efbc0e22.js b/jbs-front/static/js/chunk-2d0a2db2.1b690260.js similarity index 98% rename from jbs-front/static/js/chunk-2d0a2db2.efbc0e22.js rename to jbs-front/static/js/chunk-2d0a2db2.1b690260.js index 8519c73..2b6de4b 100644 --- a/jbs-front/static/js/chunk-2d0a2db2.efbc0e22.js +++ b/jbs-front/static/js/chunk-2d0a2db2.1b690260.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0a2db2"],{"0062":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,inline:!0,"label-width":"68px"}},[a("el-form-item",{attrs:{label:"任务名称",prop:"jobName"}},[a("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入任务名称",clearable:"",size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.jobName,callback:function(t){e.$set(e.queryParams,"jobName",t)},expression:"queryParams.jobName"}})],1),a("el-form-item",{attrs:{label:"任务组名",prop:"jobGroup"}},[a("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"请任务组名",clearable:"",size:"small"},model:{value:e.queryParams.jobGroup,callback:function(t){e.$set(e.queryParams,"jobGroup",t)},expression:"queryParams.jobGroup"}},e._l(e.jobGroupOptions,(function(e){return a("el-option",{key:e.dictValue,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1),a("el-form-item",{attrs:{label:"执行状态",prop:"status"}},[a("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"请选择执行状态",clearable:"",size:"small"},model:{value:e.queryParams.status,callback:function(t){e.$set(e.queryParams,"status",t)},expression:"queryParams.status"}},e._l(e.statusOptions,(function(e){return a("el-option",{key:e.dictValue,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1),a("el-form-item",{attrs:{label:"执行时间"}},[a("el-date-picker",{staticStyle:{width:"240px"},attrs:{size:"small","value-format":"yyyy-MM-dd",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.dateRange,callback:function(t){e.dateRange=t},expression:"dateRange"}})],1),a("el-form-item",[a("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索")]),a("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置")])],1)],1),a("el-row",{staticClass:"mb8",attrs:{gutter:10}},[a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:remove"],expression:"['monitor:job:remove']"}],attrs:{type:"danger",plain:"",icon:"el-icon-delete",size:"mini",disabled:e.multiple},on:{click:e.handleDelete}},[e._v("删除")])],1),a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:remove"],expression:"['monitor:job:remove']"}],attrs:{type:"danger",plain:"",icon:"el-icon-delete",size:"mini"},on:{click:e.handleClean}},[e._v("清空")])],1),a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:export"],expression:"['monitor:job:export']"}],attrs:{type:"warning",plain:"",icon:"el-icon-download",size:"mini"},on:{click:e.handleExport}},[e._v("导出")])],1),a("right-toolbar",{attrs:{showSearch:e.showSearch},on:{"update:showSearch":function(t){e.showSearch=t},"update:show-search":function(t){e.showSearch=t},queryTable:e.getList}})],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.jobLogList},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),a("el-table-column",{attrs:{label:"日志编号",width:"80",align:"center",prop:"jobLogId"}}),a("el-table-column",{attrs:{label:"任务名称",align:"center",prop:"jobName","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{label:"任务组名",align:"center",prop:"jobGroup",formatter:e.jobGroupFormat,"show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{label:"调用目标字符串",align:"center",prop:"invokeTarget","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{label:"日志信息",align:"center",prop:"jobMessage","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{label:"执行状态",align:"center",prop:"status",formatter:e.statusFormat}}),a("el-table-column",{attrs:{label:"执行时间",align:"center",prop:"createTime",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e.parseTime(t.row.createTime)))])]}}])}),a("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:query"],expression:"['monitor:job:query']"}],attrs:{size:"mini",type:"text",icon:"el-icon-view"},on:{click:function(a){return e.handleView(t.row)}}},[e._v("详细")])]}}])})],1),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}}),a("el-dialog",{attrs:{title:"调度日志详细",visible:e.open,width:"700px","append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"100px",size:"mini"}},[a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"日志序号:"}},[e._v(e._s(e.form.jobLogId))]),a("el-form-item",{attrs:{label:"任务名称:"}},[e._v(e._s(e.form.jobName))])],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"任务分组:"}},[e._v(e._s(e.form.jobGroup))]),a("el-form-item",{attrs:{label:"执行时间:"}},[e._v(e._s(e.form.createTime))])],1),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"调用方法:"}},[e._v(e._s(e.form.invokeTarget))])],1),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"日志信息:"}},[e._v(e._s(e.form.jobMessage))])],1),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"执行状态:"}},[0==e.form.status?a("div",[e._v("正常")]):1==e.form.status?a("div",[e._v("失败")]):e._e()])],1),a("el-col",{attrs:{span:24}},[1==e.form.status?a("el-form-item",{attrs:{label:"异常信息:"}},[e._v(e._s(e.form.exceptionInfo))]):e._e()],1)],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.open=!1}}},[e._v("关 闭")])],1)],1)],1)},r=[],n=(a("6540"),a("b775"));function l(e){return Object(n["a"])({url:"/monitor/jobLog/list",method:"post",data:e})}function i(e){return Object(n["a"])({url:"/monitor/jobLog/"+e,method:"delete"})}function s(){return Object(n["a"])({url:"/monitor/jobLog/clean",method:"delete"})}function u(e){return Object(n["a"])({url:"/monitor/jobLog/export",method:"get",params:e})}var c={name:"JobLog",data:function(){return{loading:!0,ids:[],multiple:!0,showSearch:!0,total:0,jobLogList:[],open:!1,dateRange:[],form:{},statusOptions:[],jobGroupOptions:[],queryParams:{pageNum:1,pageSize:10,jobName:void 0,jobGroup:void 0,status:void 0}}},created:function(){var e=this;this.getList(),this.getDicts("sys_job_status").then((function(t){e.statusOptions=t.data})),this.getDicts("sys_job_group").then((function(t){e.jobGroupOptions=t.data}))},methods:{getList:function(){var e=this;this.loading=!0,l(this.addDateRange(this.queryParams,this.dateRange)).then((function(t){e.jobLogList=t.rows,e.total=t.total,e.loading=!1}))},statusFormat:function(e,t){return this.selectDictLabel(this.statusOptions,e.status)},jobGroupFormat:function(e,t){return this.selectDictLabel(this.jobGroupOptions,e.jobGroup)},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.jobLogId})),this.multiple=!e.length},handleView:function(e){this.open=!0,this.form=e},handleDelete:function(e){var t=this,a=this.ids;this.$confirm('是否确认删除调度日志编号为"'+a+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return i(a)})).then((function(){t.getList(),t.msgSuccess("删除成功")}))},handleClean:function(){var e=this;this.$confirm("是否确认清空所有调度日志数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return s()})).then((function(){e.getList(),e.msgSuccess("清空成功")}))},handleExport:function(){var e=this,t=this.queryParams;this.$confirm("是否确认导出所有调度日志数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return u(t)})).then((function(t){e.download(t.data)}))}}},m=c,p=a("cba8"),d=Object(p["a"])(m,o,r,!1,null,null,null);t["default"]=d.exports}}]); \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0a2db2"],{"0062":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,inline:!0,"label-width":"68px"}},[a("el-form-item",{attrs:{label:"任务名称",prop:"jobName"}},[a("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入任务名称",clearable:"",size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.jobName,callback:function(t){e.$set(e.queryParams,"jobName",t)},expression:"queryParams.jobName"}})],1),a("el-form-item",{attrs:{label:"任务组名",prop:"jobGroup"}},[a("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"请任务组名",clearable:"",size:"small"},model:{value:e.queryParams.jobGroup,callback:function(t){e.$set(e.queryParams,"jobGroup",t)},expression:"queryParams.jobGroup"}},e._l(e.jobGroupOptions,(function(e){return a("el-option",{key:e.dictValue,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1),a("el-form-item",{attrs:{label:"执行状态",prop:"status"}},[a("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"请选择执行状态",clearable:"",size:"small"},model:{value:e.queryParams.status,callback:function(t){e.$set(e.queryParams,"status",t)},expression:"queryParams.status"}},e._l(e.statusOptions,(function(e){return a("el-option",{key:e.dictValue,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1),a("el-form-item",{attrs:{label:"执行时间"}},[a("el-date-picker",{staticStyle:{width:"240px"},attrs:{size:"small","value-format":"yyyy-MM-dd",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.dateRange,callback:function(t){e.dateRange=t},expression:"dateRange"}})],1),a("el-form-item",[a("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索")]),a("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置")])],1)],1),a("el-row",{staticClass:"mb8",attrs:{gutter:10}},[a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:remove"],expression:"['monitor:job:remove']"}],attrs:{type:"danger",plain:"",icon:"el-icon-delete",size:"mini",disabled:e.multiple},on:{click:e.handleDelete}},[e._v("删除")])],1),a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:remove"],expression:"['monitor:job:remove']"}],attrs:{type:"danger",plain:"",icon:"el-icon-delete",size:"mini"},on:{click:e.handleClean}},[e._v("清空")])],1),a("el-col",{attrs:{span:1.5}},[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:export"],expression:"['monitor:job:export']"}],attrs:{type:"warning",plain:"",icon:"el-icon-download",size:"mini"},on:{click:e.handleExport}},[e._v("导出")])],1),a("right-toolbar",{attrs:{showSearch:e.showSearch},on:{"update:showSearch":function(t){e.showSearch=t},"update:show-search":function(t){e.showSearch=t},queryTable:e.getList}})],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.jobLogList},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),a("el-table-column",{attrs:{label:"日志编号",width:"80",align:"center",prop:"jobLogId"}}),a("el-table-column",{attrs:{label:"任务名称",align:"center",prop:"jobName","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{label:"任务组名",align:"center",prop:"jobGroup",formatter:e.jobGroupFormat,"show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{label:"调用目标字符串",align:"center",prop:"invokeTarget","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{label:"日志信息",align:"center",prop:"jobMessage","show-overflow-tooltip":!0}}),a("el-table-column",{attrs:{label:"执行状态",align:"center",prop:"status",formatter:e.statusFormat}}),a("el-table-column",{attrs:{label:"执行时间",align:"center",prop:"createTime",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e.parseTime(t.row.createTime)))])]}}])}),a("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:query"],expression:"['monitor:job:query']"}],attrs:{size:"mini",type:"text",icon:"el-icon-view"},on:{click:function(a){return e.handleView(t.row)}}},[e._v("详细")])]}}])})],1),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}}),a("el-dialog",{attrs:{title:"调度日志详细",visible:e.open,width:"700px","append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"100px",size:"mini"}},[a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"日志序号:"}},[e._v(e._s(e.form.jobLogId))]),a("el-form-item",{attrs:{label:"任务名称:"}},[e._v(e._s(e.form.jobName))])],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"任务分组:"}},[e._v(e._s(e.form.jobGroup))]),a("el-form-item",{attrs:{label:"执行时间:"}},[e._v(e._s(e.form.createTime))])],1),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"调用方法:"}},[e._v(e._s(e.form.invokeTarget))])],1),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"日志信息:"}},[e._v(e._s(e.form.jobMessage))])],1),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"执行状态:"}},[0==e.form.status?a("div",[e._v("正常")]):1==e.form.status?a("div",[e._v("失败")]):e._e()])],1),a("el-col",{attrs:{span:24}},[1==e.form.status?a("el-form-item",{attrs:{label:"异常信息:"}},[e._v(e._s(e.form.exceptionInfo))]):e._e()],1)],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.open=!1}}},[e._v("关 闭")])],1)],1)],1)},r=[],n=(a("d81d"),a("b775"));function l(e){return Object(n["a"])({url:"/monitor/jobLog/list",method:"post",data:e})}function i(e){return Object(n["a"])({url:"/monitor/jobLog/"+e,method:"delete"})}function s(){return Object(n["a"])({url:"/monitor/jobLog/clean",method:"delete"})}function u(e){return Object(n["a"])({url:"/monitor/jobLog/export",method:"get",params:e})}var c={name:"JobLog",data:function(){return{loading:!0,ids:[],multiple:!0,showSearch:!0,total:0,jobLogList:[],open:!1,dateRange:[],form:{},statusOptions:[],jobGroupOptions:[],queryParams:{pageNum:1,pageSize:10,jobName:void 0,jobGroup:void 0,status:void 0}}},created:function(){var e=this;this.getList(),this.getDicts("sys_job_status").then((function(t){e.statusOptions=t.data})),this.getDicts("sys_job_group").then((function(t){e.jobGroupOptions=t.data}))},methods:{getList:function(){var e=this;this.loading=!0,l(this.addDateRange(this.queryParams,this.dateRange)).then((function(t){e.jobLogList=t.rows,e.total=t.total,e.loading=!1}))},statusFormat:function(e,t){return this.selectDictLabel(this.statusOptions,e.status)},jobGroupFormat:function(e,t){return this.selectDictLabel(this.jobGroupOptions,e.jobGroup)},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.jobLogId})),this.multiple=!e.length},handleView:function(e){this.open=!0,this.form=e},handleDelete:function(e){var t=this,a=this.ids;this.$confirm('是否确认删除调度日志编号为"'+a+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return i(a)})).then((function(){t.getList(),t.msgSuccess("删除成功")}))},handleClean:function(){var e=this;this.$confirm("是否确认清空所有调度日志数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return s()})).then((function(){e.getList(),e.msgSuccess("清空成功")}))},handleExport:function(){var e=this,t=this.queryParams;this.$confirm("是否确认导出所有调度日志数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return u(t)})).then((function(t){e.download(t.data)}))}}},m=c,p=a("2877"),d=Object(p["a"])(m,o,r,!1,null,null,null);t["default"]=d.exports}}]); \ No newline at end of file diff --git a/jbs-front/static/js/chunk-2d0b2b28.9ffc10ea.js b/jbs-front/static/js/chunk-2d0b2b28.9ffc10ea.js new file mode 100644 index 0000000..345753d --- /dev/null +++ b/jbs-front/static/js/chunk-2d0b2b28.9ffc10ea.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b2b28"],{"24e5":function(t,e,i){!function(t,i){i(e)}(0,(function(t){"use strict";var e="0123456789abcdefghijklmnopqrstuvwxyz";function i(t){return e.charAt(t)}function r(t,e){return t&e}function n(t,e){return t|e}function s(t,e){return t^e}function o(t,e){return t&~e}function h(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function a(t){for(var e=0;0!=t;)t&=t-1,++e;return e}var u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function c(t){var e,i,r="";for(e=0;e+3<=t.length;e+=3)i=parseInt(t.substring(e,e+3),16),r+=u.charAt(i>>6)+u.charAt(63&i);for(e+1==t.length?(i=parseInt(t.substring(e,e+1),16),r+=u.charAt(i<<2)):e+2==t.length&&(i=parseInt(t.substring(e,e+2),16),r+=u.charAt(i>>2)+u.charAt((3&i)<<4));0<(3&r.length);)r+="=";return r}function f(t){var e,r="",n=0,s=0;for(e=0;e>2),s=3&o,n=1):1==n?(r+=i(s<<2|o>>4),s=15&o,n=2):2==n?(r+=i(s),r+=i(o>>2),s=3&o,n=3):(r+=i(s<<2|o>>4),r+=i(15&o),n=0))}return 1==n&&(r+=i(s<<2)),r}var l,p,g=function(t,e){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},d=function(t){var e;if(void 0===l){var i="0123456789ABCDEF",r=" \f\n\r\t \u2028\u2029";for(l={},e=0;e<16;++e)l[i.charAt(e)]=e;for(i=i.toLowerCase(),e=10;e<16;++e)l[i.charAt(e)]=e;for(e=0;e>16,r[r.length]=n>>8&255,r[r.length]=255&n,s=n=0):n<<=6}}switch(s){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=n>>10;break;case 3:r[r.length]=n>>16,r[r.length]=n>>8&255}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=v.re.exec(t);if(e)if(e[1])t=e[1];else{if(!e[2])throw new Error("RegExp out of sync");t=e[2]}return v.decode(t)}},m=1e13,y=function(){function t(t){this.buf=[+t||0]}return t.prototype.mulAdd=function(t,e){var i,r,n=this.buf,s=n.length;for(i=0;ie&&(t=t.substring(0,e)+b),t}var w,D=function(){function t(e,i){this.hexDigits="0123456789ABCDEF",e instanceof t?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=i)}return t.prototype.get=function(t){if(void 0===t&&(t=this.pos++),t>=this.enc.length)throw new Error("Requesting byte offset "+t+" on a stream of length "+this.enc.length);return"string"==typeof this.enc?this.enc.charCodeAt(t):this.enc[t]},t.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(15&t)},t.prototype.hexDump=function(t,e,i){for(var r="",n=t;n>u&1?"1":"0";if(s.length>i)return n+E(s,i)}return n+s},t.prototype.parseOctetString=function(t,e,i){if(this.isASCII(t,e))return E(this.parseStringISO(t,e),i);var r=e-t,n="("+r+" byte)\n";(i/=2)i)return E(r,i);n=new y,s=0}}return 0>6,this.tagConstructed=0!=(32&e),this.tagNumber=31&e,31==this.tagNumber){for(var i=new y;e=t.get(),i.mulAdd(128,127&e),128&e;);this.tagNumber=i.simplify()}}return t.prototype.isUniversal=function(){return 0===this.tagClass},t.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber},t}(),B=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],A=(1<<26)/B[B.length-1],O=function(){function t(t,e,i){null!=t&&("number"==typeof t?this.fromNumber(t,e,i):null==e&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,e))}return t.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var r,n=(1<>a)&&(s=!0,o=i(r));0<=h;)a>(a+=this.DB-e)):(r=this[h]>>(a-=e)&n,a<=0&&(a+=this.DB,--h)),0>24},t.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},t.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},t.prototype.toByteArray=function(){var t=this.t,e=[];e[0]=this.s;var i,r=this.DB-t*this.DB%8,n=0;if(0>r)!=(this.s&this.DM)>>r&&(e[n++]=i|this.s<>(r+=this.DB-8)):(i=this[t]>>(r-=8)&255,r<=0&&(r+=this.DB,--t)),0!=(128&i)&&(i|=-256),0==n&&(128&this.s)!=(128&i)&&++n,(0=this.t?0!=this.s:0!=(this[e]&1<>n-a&u:(f=(t[p]&(1<>this.DB+n-a)),h=i;0==(1&f);)f>>=1,--h;if((n-=h)<0&&(n+=this.DB,--p),g)o[f].copyTo(s),g=!1;else{for(;1this.DB?(this[this.t-1]|=(h&(1<>this.DB-o):this[this.t-1]|=h<=this.DB&&(o-=this.DB))}8==r&&0!=(128&+e[0])&&(this.s=-1,0>r|o,o=(this[h]&n)<=this.t)e.t=0;else{var r=t%this.DB,n=this.DB-r,s=(1<>r;for(var o=i+1;o>r;0>=this.DB;if(t.t>=this.DB;r+=this.s}else{for(r+=this.s;i>=this.DB;r-=t.s}e.s=r<0?-1:0,r<-1?e[i++]=this.DV+r:0=e.DV&&(t[i+e.t]-=e.DV,t[i+e.t+1]=1)}0>this.F2:0),p=this.FV/l,g=(1<=r&&(this.dMultiply(n),this.dAddOffset(h,0),h=o=0))}0e&&this.subTo(t.ONE.shiftLeft(e-1),this);else{var s=[],o=7&e;s.length=1+(e>>3),i.nextBytes(s),0>=this.DB;if(t.t>=this.DB;r+=this.s}else{for(r+=this.s;i>=this.DB;r+=t.s}e.s=r<0?-1:0,0=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},t.prototype.multiplyLowerTo=function(t,e,i){var r=Math.min(this.t+t.t,e);for(i.s=0,i.t=r;0>1)&&(e=B.length);for(var s=M(),o=0;oe&&o.subTo(t.ONE.shiftLeft(e-1),o),o.isProbablePrime(i)?setTimeout((function(){s()}),0):setTimeout(h,0)};setTimeout(h,0)}else{var a=[],u=7&e;a.length=1+(e>>3),i.nextBytes(a),0>15,this.um=(1<>15)*this.mpl&this.um)<<15)&t.DM;for(t[i=e+this.m.t]+=this.m.am(0,r,t,e,0,this.m.t);t[i]>=t.DV;)t[i]-=t.DV,t[++i]++}t.clamp(),t.drShiftTo(this.m.t,t),0<=t.compareTo(this.m)&&t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),P=function(){function t(t){this.m=t,this.r2=M(),this.q3=M(),O.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}return t.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=M();return t.copyTo(e),this.reduce(e),e},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);0<=t.compareTo(this.m);)t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}();function M(){return new O(null)}function q(t,e){return new O(t,e)}"Microsoft Internet Explorer"==navigator.appName?(O.prototype.am=function(t,e,i,r,n,s){for(var o=32767&e,h=e>>15;0<=--s;){var a=32767&this[t],u=this[t++]>>15,c=h*a+u*o;n=((a=o*a+((32767&c)<<15)+i[r]+(1073741823&n))>>>30)+(c>>>15)+h*u+(n>>>30),i[r++]=1073741823&a}return n},w=30):"Netscape"!=navigator.appName?(O.prototype.am=function(t,e,i,r,n,s){for(;0<=--s;){var o=e*this[t++]+i[r]+n;n=Math.floor(o/67108864),i[r++]=67108863&o}return n},w=26):(O.prototype.am=function(t,e,i,r,n,s){for(var o=16383&e,h=e>>14;0<=--s;){var a=16383&this[t],u=this[t++]>>14,c=h*a+u*o;n=((a=o*a+((16383&c)<<14)+i[r]+n)>>28)+(c>>14)+h*u,i[r++]=268435455&a}return n},w=28),O.prototype.DB=w,O.prototype.DM=(1<>>16)&&(t=e,i+=16),0!=(e=t>>8)&&(t=e,i+=8),0!=(e=t>>4)&&(t=e,i+=4),0!=(e=t>>2)&&(t=e,i+=2),0!=(e=t>>1)&&(t=e,i+=1),i}O.ZERO=F(0),O.ONE=F(1);var K,k,_=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(t){var e,i,r;for(e=0;e<256;++e)this.S[e]=e;for(e=i=0;e<256;++e)i=i+this.S[e]+t[e%t.length]&255,r=this.S[e],this.S[e]=this.S[i],this.S[i]=r;this.i=0,this.j=0},t.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},t}(),z=256,Z=null;if(null==Z){Z=[];var G=void(k=0);if(window.crypto&&window.crypto.getRandomValues){var $=new Uint32Array(256);for(window.crypto.getRandomValues($),G=0;G<$.length;++G)Z[k++]=255&$[G]}var Y=function(t){if(this.count=this.count||0,256<=this.count||z<=k)window.removeEventListener?window.removeEventListener("mousemove",Y,!1):window.detachEvent&&window.detachEvent("onmousemove",Y);else try{var e=t.x+t.y;Z[k++]=255&e,this.count+=1}catch(t){}};window.addEventListener?window.addEventListener("mousemove",Y,!1):window.attachEvent&&window.attachEvent("onmousemove",Y)}function J(){if(null==K){for(K=new _;k>6|192):(i[--e]=63&n|128,i[--e]=n>>6&63|128,i[--e]=n>>12|224)}i[--e]=0;for(var s=new X,o=[];2>3);if(null==e)return null;var i=this.doPublic(e);if(null==i)return null;var r=i.toString(16);return 0==(1&r.length)?r:"0"+r},t.prototype.setPrivate=function(t,e,i){null!=t&&null!=e&&0>1;this.e=parseInt(e,16);for(var n=new O(e,16);;){for(;this.p=new O(t-r,1,i),0!=this.p.subtract(O.ONE).gcd(n).compareTo(O.ONE)||!this.p.isProbablePrime(10););for(;this.q=new O(r,1,i),0!=this.q.subtract(O.ONE).gcd(n).compareTo(O.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var s=this.p;this.p=this.q,this.q=s}var o=this.p.subtract(O.ONE),h=this.q.subtract(O.ONE),a=o.multiply(h);if(0==a.gcd(n).compareTo(O.ONE)){this.n=this.p.multiply(this.q),this.d=n.modInverse(a),this.dmp1=this.d.mod(o),this.dmq1=this.d.mod(h),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(t){var e=q(t,16),i=this.doPrivate(e);return null==i?null:function(t,e){for(var i=t.toByteArray(),r=0;r=i.length)return null;for(var n="";++r>3)},t.prototype.generateAsync=function(t,e,i){var r=new X,n=t>>1;this.e=parseInt(e,16);var s=new O(e,16),o=this,h=function(){var e=function(){if(o.p.compareTo(o.q)<=0){var t=o.p;o.p=o.q,o.q=t}var e=o.p.subtract(O.ONE),r=o.q.subtract(O.ONE),n=e.multiply(r);0==n.gcd(s).compareTo(O.ONE)?(o.n=o.p.multiply(o.q),o.d=s.modInverse(n),o.dmp1=o.d.mod(e),o.dmq1=o.d.mod(r),o.coeff=o.q.modInverse(o.p),setTimeout((function(){i()}),0)):setTimeout(h,0)},a=function(){o.q=M(),o.q.fromNumberAsync(n,1,r,(function(){o.q.subtract(O.ONE).gcda(s,(function(t){0==t.compareTo(O.ONE)&&o.q.isProbablePrime(10)?setTimeout(e,0):setTimeout(a,0)}))}))},u=function(){o.p=M(),o.p.fromNumberAsync(t-n,1,r,(function(){o.p.subtract(O.ONE).gcda(s,(function(t){0==t.compareTo(O.ONE)&&o.p.isProbablePrime(10)?setTimeout(a,0):setTimeout(u,0)}))}))};setTimeout(u,0)};setTimeout(h,0)},t.prototype.sign=function(t,e,i){var r=function(t,e){if(e=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(t)},this.setByDateValue=function(t,e,i,r,n,s){var o=new Date(Date.UTC(t,e-1,i,r,n,s,0));this.setByDate(o)},this.getFreshValueHex=function(){return this.hV}},tt.lang.extend(et.asn1.DERAbstractTime,et.asn1.ASN1Object),et.asn1.DERAbstractStructured=function(t){et.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,void 0!==t&&void 0!==t.array&&(this.asn1Array=t.array)},tt.lang.extend(et.asn1.DERAbstractStructured,et.asn1.ASN1Object),et.asn1.DERBoolean=function(){et.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},tt.lang.extend(et.asn1.DERBoolean,et.asn1.ASN1Object),et.asn1.DERInteger=function(t){et.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=et.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new O(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.bigint?this.setByBigInteger(t.bigint):void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},tt.lang.extend(et.asn1.DERInteger,et.asn1.ASN1Object),et.asn1.DERBitString=function(t){if(void 0!==t&&void 0!==t.obj){var e=et.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}et.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7=0&&c.splice(e,1)}function f(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var n=function(){return o.nc}();n&&(t.attrs.nonce=n)}return g(e,t.attrs),l(t,e),e}function g(t,e){Object.keys(e).forEach((function(o){t.setAttribute(o,e[o])}))}function v(t,e){var o,n,r,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var c=a++;o=s||(s=f(e)),n=w.bind(null,o,c,!1),r=w.bind(null,o,c,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",g(e,t.attrs),l(t,e),e}(e),n=function(t,e,o){var n=o.css,r=o.sourceMap,i=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||i)&&(n=h(n)),r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var s=new Blob([n],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}.bind(null,o,e),r=function(){d(o),o.href&&URL.revokeObjectURL(o.href)}):(o=f(e),n=function(t,e){var o=e.css,n=e.media;if(n&&t.setAttribute("media",n),t.styleSheet)t.styleSheet.cssText=o;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(o))}}.bind(null,o),r=function(){d(o)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else r()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=r()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var o=u(t,e);return p(o,e),function(t){for(var r=[],i=0;i=8&&(a=o+n))),a)for(u=p.getUint16(a,r),h=0;h21?"-21px":"0px",t.width=this.cropW>0?this.cropW:0,t.height=this.cropH>0?this.cropH:0,this.infoTrue){var e=1;this.high&&!this.full&&(e=window.devicePixelRatio),1!==this.enlarge&!this.full&&(e=Math.abs(Number(this.enlarge))),t.width=t.width*e,t.height=t.height*e,this.full&&(t.width=t.width/this.scale,t.height=t.height/this.scale)}return t.width=t.width.toFixed(0),t.height=t.height.toFixed(0),t},isIE:function(){navigator.userAgent;var t=!!window.ActiveXObject||"ActiveXObject"in window;return t},passive:function(){return this.isIE?null:{passive:!1}}},watch:{img:function(){this.checkedImg()},imgs:function(t){""!==t&&this.reload()},cropW:function(){this.showPreview()},cropH:function(){this.showPreview()},cropOffsertX:function(){this.showPreview()},cropOffsertY:function(){this.showPreview()},scale:function(t,e){this.showPreview()},x:function(){this.showPreview()},y:function(){this.showPreview()},autoCrop:function(t){t&&this.goAutoCrop()},autoCropWidth:function(){this.autoCrop&&this.goAutoCrop()},autoCropHeight:function(){this.autoCrop&&this.goAutoCrop()},mode:function(){this.checkedImg()},rotate:function(){this.showPreview(),(this.autoCrop||this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion:function(t){for(var e=navigator.userAgent.split(" "),o="",n=new RegExp(t,"i"),r=0;r=81)e=-1;else if(this.getVersion("safari")[0]>=605){var i=this.getVersion("version");i[0]>13&&i[1]>1&&(e=-1)}else{var s=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(s){var a=s[1];((a=a.split("_"))[0]>13||a[0]>=13&&a[1]>=4)&&(e=-1)}}var c=document.createElement("canvas"),h=c.getContext("2d");switch(h.save(),e){case 2:c.width=o,c.height=n,h.translate(o,0),h.scale(-1,1);break;case 3:c.width=o,c.height=n,h.translate(o/2,n/2),h.rotate(180*Math.PI/180),h.translate(-o/2,-n/2);break;case 4:c.width=o,c.height=n,h.translate(0,n),h.scale(1,-1);break;case 5:c.height=o,c.width=n,h.rotate(.5*Math.PI),h.scale(1,-1);break;case 6:c.width=n,c.height=o,h.translate(n/2,o/2),h.rotate(90*Math.PI/180),h.translate(-o/2,-n/2);break;case 7:c.height=o,c.width=n,h.rotate(.5*Math.PI),h.translate(o,-n),h.scale(-1,1);break;case 8:c.height=o,c.width=n,h.translate(n/2,o/2),h.rotate(-90*Math.PI/180),h.translate(-o/2,-n/2);break;default:c.width=o,c.height=n}h.drawImage(t,0,0,o,n),h.restore(),c.toBlob((function(t){var e=URL.createObjectURL(t);URL.revokeObjectURL(r.imgs),r.imgs=e}),"image/"+this.outputType,1)},checkedImg:function(){var t=this;if(null===this.img||""===this.img)return this.imgs="",void this.clearCrop();this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();var e=new Image;if(e.onload=function(){if(""===t.img)return t.$emit("imgLoad","error"),t.$emit("img-load","error"),!1;var o=e.width,n=e.height;i.getData(e).then((function(r){t.orientation=r.orientation||1;var i=t.maxImgSize;!t.orientation&&oi&&(n=n/o*i,o=i),n>i&&(o=o/n*i,n=i),t.checkOrientationImage(e,t.orientation,o,n))}))},e.onerror=function(){t.$emit("imgLoad","error"),t.$emit("img-load","error")},"data"!==this.img.substr(0,4)&&(e.crossOrigin=""),this.isIE){var o=new XMLHttpRequest;o.onload=function(){var t=URL.createObjectURL(this.response);e.src=t},o.open("GET",this.img,!0),o.responseType="blob",o.send()}else e.src=this.img},startMove:function(t){if(t.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=(t.clientX?t.clientX:t.touches[0].clientX)-this.x,this.moveY=(t.clientY?t.clientY:t.touches[0].clientY)-this.y,t.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),2==t.touches.length&&(this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=t.offsetX?t.offsetX:t.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=t.offsetY?t.offsetY:t.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX=t.clientX?t.clientX:t.touches[0].clientX,this.cropY=t.clientY?t.clientY:t.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale:function(t){var e=this;t.preventDefault();var o=this.scale,n=this.touches[0].clientX,r=this.touches[0].clientY,i=t.touches[0].clientX,s=t.touches[0].clientY,a=this.touches[1].clientX,c=this.touches[1].clientY,h=t.touches[1].clientX,p=t.touches[1].clientY,u=Math.sqrt(Math.pow(n-a,2)+Math.pow(r-c,2)),l=Math.sqrt(Math.pow(i-h,2)+Math.pow(s-p,2))-u,d=1,f=(d=(d=d/this.trueWidth>d/this.trueHeight?d/this.trueHeight:d/this.trueWidth)>.1?.1:d)*l;if(!this.touchNow){if(this.touchNow=!0,l>0?o+=Math.abs(f):l<0&&o>Math.abs(f)&&(o-=Math.abs(f)),this.touches=t.touches,setTimeout((function(){e.touchNow=!1}),8),!this.checkoutImgAxis(this.x,this.y,o))return!1;this.scale=o}},cancelTouchScale:function(t){window.removeEventListener("touchmove",this.touchScale)},moveImg:function(t){var e=this;if(t.preventDefault(),t.touches&&2===t.touches.length)return this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;var o,n,r=t.clientX?t.clientX:t.touches[0].clientX,i=t.clientY?t.clientY:t.touches[0].clientY;o=r-this.moveX,n=i-this.moveY,this.$nextTick((function(){if(e.centerBox){var t,r,i,s,a=e.getImgAxis(o,n,e.scale),c=e.getCropAxis(),h=e.trueHeight*e.scale,p=e.trueWidth*e.scale;switch(e.rotate){case 1:case-1:case 3:case-3:t=e.cropOffsertX-e.trueWidth*(1-e.scale)/2+(h-p)/2,r=e.cropOffsertY-e.trueHeight*(1-e.scale)/2+(p-h)/2,i=t-h+e.cropW,s=r-p+e.cropH;break;default:t=e.cropOffsertX-e.trueWidth*(1-e.scale)/2,r=e.cropOffsertY-e.trueHeight*(1-e.scale)/2,i=t-p+e.cropW,s=r-h+e.cropH}a.x1>=c.x1&&(o=t),a.y1>=c.y1&&(n=r),a.x2<=c.x2&&(o=i),a.y2<=c.y2&&(n=s)}e.x=o,e.y=n,e.$emit("imgMoving",{moving:!0,axis:e.getImgAxis()}),e.$emit("img-moving",{moving:!0,axis:e.getImgAxis()})}))},leaveImg:function(t){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg:function(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale:function(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize:function(t){var e=this;t.preventDefault();var o=this.scale,n=t.deltaY||t.wheelDelta;n=navigator.userAgent.indexOf("Firefox")>0?30*n:n,this.isIE&&(n=-n);var r=this.coe,i=(r=r/this.trueWidth>r/this.trueHeight?r/this.trueHeight:r/this.trueWidth)*n;i<0?o+=Math.abs(i):o>Math.abs(i)&&(o-=Math.abs(i));var s=i<0?"add":"reduce";if(s!==this.coeStatus&&(this.coeStatus=s,this.coe=.2),this.scaling||(this.scalingSet=setTimeout((function(){e.scaling=!1,e.coe=e.coe+=.01}),50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,o))return!1;this.scale=o},changeScale:function(t){var e=this.scale;t=t||1;var o=20;if((t*=o=o/this.trueWidth>o/this.trueHeight?o/this.trueHeight:o/this.trueWidth)>0?e+=Math.abs(t):e>Math.abs(t)&&(e-=Math.abs(t)),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},createCrop:function(t){var e=this;t.preventDefault();var o=t.clientX?t.clientX:t.touches?t.touches[0].clientX:0,n=t.clientY?t.clientY:t.touches?t.touches[0].clientY:0;this.$nextTick((function(){var t=o-e.cropX,r=n-e.cropY;if(t>0?(e.cropW=t+e.cropChangeX>e.w?e.w-e.cropChangeX:t,e.cropOffsertX=e.cropChangeX):(e.cropW=e.w-e.cropChangeX+Math.abs(t)>e.w?e.cropChangeX:Math.abs(t),e.cropOffsertX=e.cropChangeX+t>0?e.cropChangeX+t:0),e.fixed){var i=e.cropW/e.fixedNumber[0]*e.fixedNumber[1];i+e.cropOffsertY>e.h?(e.cropH=e.h-e.cropOffsertY,e.cropW=e.cropH/e.fixedNumber[1]*e.fixedNumber[0],e.cropOffsertX=t>0?e.cropChangeX:e.cropChangeX-e.cropW):e.cropH=i,e.cropOffsertY=e.cropOffsertY}else r>0?(e.cropH=r+e.cropChangeY>e.h?e.h-e.cropChangeY:r,e.cropOffsertY=e.cropChangeY):(e.cropH=e.h-e.cropChangeY+Math.abs(r)>e.h?e.cropChangeY:Math.abs(r),e.cropOffsertY=e.cropChangeY+r>0?e.cropChangeY+r:0)}))},changeCropSize:function(t,e,o,n,r){t.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=e,this.canChangeY=o,this.changeCropTypeX=n,this.changeCropTypeY=r,this.cropX=t.clientX?t.clientX:t.touches[0].clientX,this.cropY=t.clientY?t.clientY:t.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow:function(t){var e=this;t.preventDefault();var o=t.clientX?t.clientX:t.touches?t.touches[0].clientX:0,n=t.clientY?t.clientY:t.touches?t.touches[0].clientY:0,r=this.w,i=this.h,s=0,a=0;if(this.centerBox){var c=this.getImgAxis(),h=c.x2,p=c.y2;s=c.x1>0?c.x1:0,a=c.y1>0?c.y1:0,r>h&&(r=h),i>p&&(i=p)}this.$nextTick((function(){var t=o-e.cropX,c=n-e.cropY;if(e.canChangeX&&(1===e.changeCropTypeX?e.cropOldW-t>0?(e.cropW=r-e.cropChangeX-t<=r-s?e.cropOldW-t:e.cropOldW+e.cropChangeX-s,e.cropOffsertX=r-e.cropChangeX-t<=r-s?e.cropChangeX+t:s):(e.cropW=Math.abs(t)+e.cropChangeX<=r?Math.abs(t)-e.cropOldW:r-e.cropOldW-e.cropChangeX,e.cropOffsertX=e.cropChangeX+e.cropOldW):2===e.changeCropTypeX&&(e.cropOldW+t>0?(e.cropW=e.cropOldW+t+e.cropOffsertX<=r?e.cropOldW+t:r-e.cropOffsertX,e.cropOffsertX=e.cropChangeX):(e.cropW=r-e.cropChangeX+Math.abs(t+e.cropOldW)<=r-s?Math.abs(t+e.cropOldW):e.cropChangeX-s,e.cropOffsertX=r-e.cropChangeX+Math.abs(t+e.cropOldW)<=r-s?e.cropChangeX-Math.abs(t+e.cropOldW):s))),e.canChangeY&&(1===e.changeCropTypeY?e.cropOldH-c>0?(e.cropH=i-e.cropChangeY-c<=i-a?e.cropOldH-c:e.cropOldH+e.cropChangeY-a,e.cropOffsertY=i-e.cropChangeY-c<=i-a?e.cropChangeY+c:a):(e.cropH=Math.abs(c)+e.cropChangeY<=i?Math.abs(c)-e.cropOldH:i-e.cropOldH-e.cropChangeY,e.cropOffsertY=e.cropChangeY+e.cropOldH):2===e.changeCropTypeY&&(e.cropOldH+c>0?(e.cropH=e.cropOldH+c+e.cropOffsertY<=i?e.cropOldH+c:i-e.cropOffsertY,e.cropOffsertY=e.cropChangeY):(e.cropH=i-e.cropChangeY+Math.abs(c+e.cropOldH)<=i-a?Math.abs(c+e.cropOldH):e.cropChangeY-a,e.cropOffsertY=i-e.cropChangeY+Math.abs(c+e.cropOldH)<=i-a?e.cropChangeY-Math.abs(c+e.cropOldH):a))),e.canChangeX&&e.fixed){var h=e.cropW/e.fixedNumber[0]*e.fixedNumber[1];h+e.cropOffsertY>i?(e.cropH=i-e.cropOffsertY,e.cropW=e.cropH/e.fixedNumber[1]*e.fixedNumber[0]):e.cropH=h}if(e.canChangeY&&e.fixed){var p=e.cropH/e.fixedNumber[1]*e.fixedNumber[0];p+e.cropOffsertX>r?(e.cropW=r-e.cropOffsertX,e.cropH=e.cropW/e.fixedNumber[0]*e.fixedNumber[1]):e.cropW=p}}))},checkCropLimitSize:function(){this.cropW,this.cropH;var t=this.limitMinSize,e=new Array;return e=Array.isArray[t]?t:[t,t],[parseFloat(e[0]),parseFloat(e[1])]},changeCropEnd:function(t){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},endCrop:function(){0===this.cropW&&0===this.cropH&&(this.cropping=!1),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop:function(){this.crop=!0},stopCrop:function(){this.crop=!1},clearCrop:function(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove:function(t){if(t.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(t),!1;if(t.touches&&2===t.touches.length)return this.crop=!1,this.startMove(t),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);var e,o,n=t.clientX?t.clientX:t.touches[0].clientX,r=t.clientY?t.clientY:t.touches[0].clientY;e=n-this.cropOffsertX,o=r-this.cropOffsertY,this.cropX=e,this.cropY=o,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop:function(t,e){var o=this,n=0,r=0;t&&(t.preventDefault(),n=t.clientX?t.clientX:t.touches[0].clientX,r=t.clientY?t.clientY:t.touches[0].clientY),this.$nextTick((function(){var t,i,s=n-o.cropX,a=r-o.cropY;if(e&&(s=o.cropOffsertX,a=o.cropOffsertY),t=s<=0?0:s+o.cropW>o.w?o.w-o.cropW:s,i=a<=0?0:a+o.cropH>o.h?o.h-o.cropH:a,o.centerBox){var c=o.getImgAxis();t<=c.x1&&(t=c.x1),t+o.cropW>c.x2&&(t=c.x2-o.cropW),i<=c.y1&&(i=c.y1),i+o.cropH>c.y2&&(i=c.y2-o.cropH)}o.cropOffsertX=t,o.cropOffsertY=i,o.$emit("cropMoving",{moving:!0,axis:o.getCropAxis()}),o.$emit("crop-moving",{moving:!0,axis:o.getCropAxis()})}))},getImgAxis:function(t,e,o){t=t||this.x,e=e||this.y,o=o||this.scale;var n={x1:0,x2:0,y1:0,y2:0},r=this.trueWidth*o,i=this.trueHeight*o;switch(this.rotate){case 0:n.x1=t+this.trueWidth*(1-o)/2,n.x2=n.x1+this.trueWidth*o,n.y1=e+this.trueHeight*(1-o)/2,n.y2=n.y1+this.trueHeight*o;break;case 1:case-1:case 3:case-3:n.x1=t+this.trueWidth*(1-o)/2+(r-i)/2,n.x2=n.x1+this.trueHeight*o,n.y1=e+this.trueHeight*(1-o)/2+(i-r)/2,n.y2=n.y1+this.trueWidth*o;break;default:n.x1=t+this.trueWidth*(1-o)/2,n.x2=n.x1+this.trueWidth*o,n.y1=e+this.trueHeight*(1-o)/2,n.y2=n.y1+this.trueHeight*o}return n},getCropAxis:function(){var t={x1:0,x2:0,y1:0,y2:0};return t.x1=this.cropOffsertX,t.x2=t.x1+this.cropW,t.y1=this.cropOffsertY,t.y2=t.y1+this.cropH,t},leaveCrop:function(t){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked:function(t){var e=this,o=document.createElement("canvas"),n=new Image,r=this.rotate,i=this.trueWidth,s=this.trueHeight,a=this.cropOffsertX,c=this.cropOffsertY;function h(t,e){o.width=Math.round(t),o.height=Math.round(e)}n.onload=function(){if(0!==e.cropW){var p=o.getContext("2d"),u=1;e.high&!e.full&&(u=window.devicePixelRatio),1!==e.enlarge&!e.full&&(u=Math.abs(Number(e.enlarge)));var l=e.cropW*u,d=e.cropH*u,f=i*e.scale*u,g=s*e.scale*u,v=(e.x-a+e.trueWidth*(1-e.scale)/2)*u,m=(e.y-c+e.trueHeight*(1-e.scale)/2)*u;switch(h(l,d),p.save(),r){case 0:e.full?(h(l/e.scale,d/e.scale),p.drawImage(n,v/e.scale,m/e.scale,f/e.scale,g/e.scale)):p.drawImage(n,v,m,f,g);break;case 1:case-3:e.full?(h(l/e.scale,d/e.scale),v=v/e.scale+(f/e.scale-g/e.scale)/2,m=m/e.scale+(g/e.scale-f/e.scale)/2,p.rotate(90*r*Math.PI/180),p.drawImage(n,m,-v-g/e.scale,f/e.scale,g/e.scale)):(v+=(f-g)/2,m+=(g-f)/2,p.rotate(90*r*Math.PI/180),p.drawImage(n,m,-v-g,f,g));break;case 2:case-2:e.full?(h(l/e.scale,d/e.scale),p.rotate(90*r*Math.PI/180),v/=e.scale,m/=e.scale,p.drawImage(n,-v-f/e.scale,-m-g/e.scale,f/e.scale,g/e.scale)):(p.rotate(90*r*Math.PI/180),p.drawImage(n,-v-f,-m-g,f,g));break;case 3:case-1:e.full?(h(l/e.scale,d/e.scale),v=v/e.scale+(f/e.scale-g/e.scale)/2,m=m/e.scale+(g/e.scale-f/e.scale)/2,p.rotate(90*r*Math.PI/180),p.drawImage(n,-m-f/e.scale,v,f/e.scale,g/e.scale)):(v+=(f-g)/2,m+=(g-f)/2,p.rotate(90*r*Math.PI/180),p.drawImage(n,-m-f,v,f,g));break;default:e.full?(h(l/e.scale,d/e.scale),p.drawImage(n,v/e.scale,m/e.scale,f/e.scale,g/e.scale)):p.drawImage(n,v,m,f,g)}p.restore()}else{var w=i*e.scale,x=s*e.scale,C=o.getContext("2d");switch(C.save(),r){case 0:h(w,x),C.drawImage(n,0,0,w,x);break;case 1:case-3:h(x,w),C.rotate(90*r*Math.PI/180),C.drawImage(n,0,-x,w,x);break;case 2:case-2:h(w,x),C.rotate(90*r*Math.PI/180),C.drawImage(n,-w,-x,w,x);break;case 3:case-1:h(x,w),C.rotate(90*r*Math.PI/180),C.drawImage(n,-w,0,w,x);break;default:h(w,x),C.drawImage(n,0,0,w,x)}C.restore()}t(o)},"data"!==this.img.substr(0,4)&&(n.crossOrigin="Anonymous"),n.src=this.imgs},getCropData:function(t){var e=this;this.getCropChecked((function(o){t(o.toDataURL("image/"+e.outputType,e.outputSize))}))},getCropBlob:function(t){var e=this;this.getCropChecked((function(o){o.toBlob((function(e){return t(e)}),"image/"+e.outputType,e.outputSize)}))},showPreview:function(){var t=this;if(!this.isCanShow)return!1;this.isCanShow=!1,setTimeout((function(){t.isCanShow=!0}),16);var e=this.cropW,o=this.cropH,n=this.scale,r={};r.div={width:"".concat(e,"px"),height:"".concat(o,"px")};var i=(this.x-this.cropOffsertX)/n,s=(this.y-this.cropOffsertY)/n;r.w=e,r.h=o,r.url=this.imgs,r.img={width:"".concat(this.trueWidth,"px"),height:"".concat(this.trueHeight,"px"),transform:"scale(".concat(n,")translate3d(").concat(i,"px, ").concat(s,"px, ").concat(0,"px)rotateZ(").concat(90*this.rotate,"deg)")},r.html='\n
\n
\n \n
\n
'),this.$emit("realTime",r),this.$emit("real-time",r)},reload:function(){var t=this,e=new Image;e.onload=function(){t.w=parseFloat(window.getComputedStyle(t.$refs.cropper).width),t.h=parseFloat(window.getComputedStyle(t.$refs.cropper).height),t.trueWidth=e.width,t.trueHeight=e.height,t.original?t.scale=1:t.scale=t.checkedMode(),t.$nextTick((function(){t.x=-(t.trueWidth-t.trueWidth*t.scale)/2+(t.w-t.trueWidth*t.scale)/2,t.y=-(t.trueHeight-t.trueHeight*t.scale)/2+(t.h-t.trueHeight*t.scale)/2,t.loading=!1,t.autoCrop&&t.goAutoCrop(),t.$emit("img-load","success"),t.$emit("imgLoad","success"),setTimeout((function(){t.showPreview()}),20)}))},e.onerror=function(){t.$emit("imgLoad","error"),t.$emit("img-load","error")},e.src=this.imgs},checkedMode:function(){var t=1,e=(this.trueWidth,this.trueHeight),o=this.mode.split(" ");switch(o[0]){case"contain":this.trueWidth>this.w&&(t=this.w/this.trueWidth),this.trueHeight*t>this.h&&(t=this.h/this.trueHeight);break;case"cover":(e*=t=this.w/this.trueWidth)o?o:s,a=a>n?n:a,this.fixed&&(a=s/this.fixedNumber[0]*this.fixedNumber[1]),a>this.h&&(s=(a=this.h)/this.fixedNumber[1]*this.fixedNumber[0]),this.changeCrop(s,a)}},changeCrop:function(t,e){var o=this;if(this.centerBox){var n=this.getImgAxis();t>n.x2-n.x1&&(e=(t=n.x2-n.x1)/this.fixedNumber[0]*this.fixedNumber[1]),e>n.y2-n.y1&&(t=(e=n.y2-n.y1)/this.fixedNumber[1]*this.fixedNumber[0])}this.cropW=t,this.cropH=e,this.checkCropLimitSize(),this.$nextTick((function(){o.cropOffsertX=(o.w-o.cropW)/2,o.cropOffsertY=(o.h-o.cropH)/2,o.centerBox&&o.moveCrop(null,!0)}))},refresh:function(){var t=this;this.img,this.imgs="",this.scale=1,this.crop=!1,this.rotate=0,this.w=0,this.h=0,this.trueWidth=0,this.trueHeight=0,this.clearCrop(),this.$nextTick((function(){t.checkedImg()}))},rotateLeft:function(){this.rotate=this.rotate<=-3?0:this.rotate-1},rotateRight:function(){this.rotate=this.rotate>=3?0:this.rotate+1},rotateClear:function(){this.rotate=0},checkoutImgAxis:function(t,e,o){t=t||this.x,e=e||this.y,o=o||this.scale;var n=!0;if(this.centerBox){var r=this.getImgAxis(t,e,o),i=this.getCropAxis();r.x1>=i.x1&&(n=!1),r.x2<=i.x2&&(n=!1),r.y1>=i.y1&&(n=!1),r.y2<=i.y2&&(n=!1)}return n}},mounted:function(){this.support="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";var t=this,e=navigator.userAgent;this.isIOS=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(e,o,n){for(var r=atob(this.toDataURL(o,n).split(",")[1]),i=r.length,s=new Uint8Array(i),a=0;a=0&&c.splice(e,1)}function f(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var n=function(){return o.nc}();n&&(t.attrs.nonce=n)}return g(e,t.attrs),l(t,e),e}function g(t,e){Object.keys(e).forEach((function(o){t.setAttribute(o,e[o])}))}function v(t,e){var o,n,r,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var c=a++;o=s||(s=f(e)),n=w.bind(null,o,c,!1),r=w.bind(null,o,c,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",g(e,t.attrs),l(t,e),e}(e),n=function(t,e,o){var n=o.css,r=o.sourceMap,i=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||i)&&(n=h(n)),r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var s=new Blob([n],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}.bind(null,o,e),r=function(){d(o),o.href&&URL.revokeObjectURL(o.href)}):(o=f(e),n=function(t,e){var o=e.css,n=e.media;if(n&&t.setAttribute("media",n),t.styleSheet)t.styleSheet.cssText=o;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(o))}}.bind(null,o),r=function(){d(o)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else r()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=r()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var o=u(t,e);return p(o,e),function(t){for(var r=[],i=0;i=8&&(a=o+n))),a)for(u=p.getUint16(a,r),h=0;h21?"-21px":"0px",t.width=this.cropW>0?this.cropW:0,t.height=this.cropH>0?this.cropH:0,this.infoTrue){var e=1;this.high&&!this.full&&(e=window.devicePixelRatio),1!==this.enlarge&!this.full&&(e=Math.abs(Number(this.enlarge))),t.width=t.width*e,t.height=t.height*e,this.full&&(t.width=t.width/this.scale,t.height=t.height/this.scale)}return t.width=t.width.toFixed(0),t.height=t.height.toFixed(0),t},isIE:function(){navigator.userAgent;var t=!!window.ActiveXObject||"ActiveXObject"in window;return t},passive:function(){return this.isIE?null:{passive:!1}}},watch:{img:function(){this.checkedImg()},imgs:function(t){""!==t&&this.reload()},cropW:function(){this.showPreview()},cropH:function(){this.showPreview()},cropOffsertX:function(){this.showPreview()},cropOffsertY:function(){this.showPreview()},scale:function(t,e){this.showPreview()},x:function(){this.showPreview()},y:function(){this.showPreview()},autoCrop:function(t){t&&this.goAutoCrop()},autoCropWidth:function(){this.autoCrop&&this.goAutoCrop()},autoCropHeight:function(){this.autoCrop&&this.goAutoCrop()},mode:function(){this.checkedImg()},rotate:function(){this.showPreview(),(this.autoCrop||this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion:function(t){for(var e=navigator.userAgent.split(" "),o="",n=new RegExp(t,"i"),r=0;r=81)e=-1;else if(this.getVersion("safari")[0]>=605){var i=this.getVersion("version");i[0]>13&&i[1]>1&&(e=-1)}else{var s=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(s){var a=s[1];((a=a.split("_"))[0]>13||a[0]>=13&&a[1]>=4)&&(e=-1)}}var c=document.createElement("canvas"),h=c.getContext("2d");switch(h.save(),e){case 2:c.width=o,c.height=n,h.translate(o,0),h.scale(-1,1);break;case 3:c.width=o,c.height=n,h.translate(o/2,n/2),h.rotate(180*Math.PI/180),h.translate(-o/2,-n/2);break;case 4:c.width=o,c.height=n,h.translate(0,n),h.scale(1,-1);break;case 5:c.height=o,c.width=n,h.rotate(.5*Math.PI),h.scale(1,-1);break;case 6:c.width=n,c.height=o,h.translate(n/2,o/2),h.rotate(90*Math.PI/180),h.translate(-o/2,-n/2);break;case 7:c.height=o,c.width=n,h.rotate(.5*Math.PI),h.translate(o,-n),h.scale(-1,1);break;case 8:c.height=o,c.width=n,h.translate(n/2,o/2),h.rotate(-90*Math.PI/180),h.translate(-o/2,-n/2);break;default:c.width=o,c.height=n}h.drawImage(t,0,0,o,n),h.restore(),c.toBlob((function(t){var e=URL.createObjectURL(t);URL.revokeObjectURL(r.imgs),r.imgs=e}),"image/"+this.outputType,1)},checkedImg:function(){var t=this;if(null===this.img||""===this.img)return this.imgs="",void this.clearCrop();this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();var e=new Image;if(e.onload=function(){if(""===t.img)return t.$emit("imgLoad","error"),t.$emit("img-load","error"),!1;var o=e.width,n=e.height;i.getData(e).then((function(r){t.orientation=r.orientation||1;var i=t.maxImgSize;!t.orientation&&oi&&(n=n/o*i,o=i),n>i&&(o=o/n*i,n=i),t.checkOrientationImage(e,t.orientation,o,n))}))},e.onerror=function(){t.$emit("imgLoad","error"),t.$emit("img-load","error")},"data"!==this.img.substr(0,4)&&(e.crossOrigin=""),this.isIE){var o=new XMLHttpRequest;o.onload=function(){var t=URL.createObjectURL(this.response);e.src=t},o.open("GET",this.img,!0),o.responseType="blob",o.send()}else e.src=this.img},startMove:function(t){if(t.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=(t.clientX?t.clientX:t.touches[0].clientX)-this.x,this.moveY=(t.clientY?t.clientY:t.touches[0].clientY)-this.y,t.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),2==t.touches.length&&(this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=t.offsetX?t.offsetX:t.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=t.offsetY?t.offsetY:t.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX=t.clientX?t.clientX:t.touches[0].clientX,this.cropY=t.clientY?t.clientY:t.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale:function(t){var e=this;t.preventDefault();var o=this.scale,n=this.touches[0].clientX,r=this.touches[0].clientY,i=t.touches[0].clientX,s=t.touches[0].clientY,a=this.touches[1].clientX,c=this.touches[1].clientY,h=t.touches[1].clientX,p=t.touches[1].clientY,u=Math.sqrt(Math.pow(n-a,2)+Math.pow(r-c,2)),l=Math.sqrt(Math.pow(i-h,2)+Math.pow(s-p,2))-u,d=1,f=(d=(d=d/this.trueWidth>d/this.trueHeight?d/this.trueHeight:d/this.trueWidth)>.1?.1:d)*l;if(!this.touchNow){if(this.touchNow=!0,l>0?o+=Math.abs(f):l<0&&o>Math.abs(f)&&(o-=Math.abs(f)),this.touches=t.touches,setTimeout((function(){e.touchNow=!1}),8),!this.checkoutImgAxis(this.x,this.y,o))return!1;this.scale=o}},cancelTouchScale:function(t){window.removeEventListener("touchmove",this.touchScale)},moveImg:function(t){var e=this;if(t.preventDefault(),t.touches&&2===t.touches.length)return this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;var o,n,r=t.clientX?t.clientX:t.touches[0].clientX,i=t.clientY?t.clientY:t.touches[0].clientY;o=r-this.moveX,n=i-this.moveY,this.$nextTick((function(){if(e.centerBox){var t,r,i,s,a=e.getImgAxis(o,n,e.scale),c=e.getCropAxis(),h=e.trueHeight*e.scale,p=e.trueWidth*e.scale;switch(e.rotate){case 1:case-1:case 3:case-3:t=e.cropOffsertX-e.trueWidth*(1-e.scale)/2+(h-p)/2,r=e.cropOffsertY-e.trueHeight*(1-e.scale)/2+(p-h)/2,i=t-h+e.cropW,s=r-p+e.cropH;break;default:t=e.cropOffsertX-e.trueWidth*(1-e.scale)/2,r=e.cropOffsertY-e.trueHeight*(1-e.scale)/2,i=t-p+e.cropW,s=r-h+e.cropH}a.x1>=c.x1&&(o=t),a.y1>=c.y1&&(n=r),a.x2<=c.x2&&(o=i),a.y2<=c.y2&&(n=s)}e.x=o,e.y=n,e.$emit("imgMoving",{moving:!0,axis:e.getImgAxis()}),e.$emit("img-moving",{moving:!0,axis:e.getImgAxis()})}))},leaveImg:function(t){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg:function(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale:function(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize:function(t){var e=this;t.preventDefault();var o=this.scale,n=t.deltaY||t.wheelDelta;n=navigator.userAgent.indexOf("Firefox")>0?30*n:n,this.isIE&&(n=-n);var r=this.coe,i=(r=r/this.trueWidth>r/this.trueHeight?r/this.trueHeight:r/this.trueWidth)*n;i<0?o+=Math.abs(i):o>Math.abs(i)&&(o-=Math.abs(i));var s=i<0?"add":"reduce";if(s!==this.coeStatus&&(this.coeStatus=s,this.coe=.2),this.scaling||(this.scalingSet=setTimeout((function(){e.scaling=!1,e.coe=e.coe+=.01}),50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,o))return!1;this.scale=o},changeScale:function(t){var e=this.scale;t=t||1;var o=20;if((t*=o=o/this.trueWidth>o/this.trueHeight?o/this.trueHeight:o/this.trueWidth)>0?e+=Math.abs(t):e>Math.abs(t)&&(e-=Math.abs(t)),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},createCrop:function(t){var e=this;t.preventDefault();var o=t.clientX?t.clientX:t.touches?t.touches[0].clientX:0,n=t.clientY?t.clientY:t.touches?t.touches[0].clientY:0;this.$nextTick((function(){var t=o-e.cropX,r=n-e.cropY;if(t>0?(e.cropW=t+e.cropChangeX>e.w?e.w-e.cropChangeX:t,e.cropOffsertX=e.cropChangeX):(e.cropW=e.w-e.cropChangeX+Math.abs(t)>e.w?e.cropChangeX:Math.abs(t),e.cropOffsertX=e.cropChangeX+t>0?e.cropChangeX+t:0),e.fixed){var i=e.cropW/e.fixedNumber[0]*e.fixedNumber[1];i+e.cropOffsertY>e.h?(e.cropH=e.h-e.cropOffsertY,e.cropW=e.cropH/e.fixedNumber[1]*e.fixedNumber[0],e.cropOffsertX=t>0?e.cropChangeX:e.cropChangeX-e.cropW):e.cropH=i,e.cropOffsertY=e.cropOffsertY}else r>0?(e.cropH=r+e.cropChangeY>e.h?e.h-e.cropChangeY:r,e.cropOffsertY=e.cropChangeY):(e.cropH=e.h-e.cropChangeY+Math.abs(r)>e.h?e.cropChangeY:Math.abs(r),e.cropOffsertY=e.cropChangeY+r>0?e.cropChangeY+r:0)}))},changeCropSize:function(t,e,o,n,r){t.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=e,this.canChangeY=o,this.changeCropTypeX=n,this.changeCropTypeY=r,this.cropX=t.clientX?t.clientX:t.touches[0].clientX,this.cropY=t.clientY?t.clientY:t.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow:function(t){var e=this;t.preventDefault();var o=t.clientX?t.clientX:t.touches?t.touches[0].clientX:0,n=t.clientY?t.clientY:t.touches?t.touches[0].clientY:0,r=this.w,i=this.h,s=0,a=0;if(this.centerBox){var c=this.getImgAxis(),h=c.x2,p=c.y2;s=c.x1>0?c.x1:0,a=c.y1>0?c.y1:0,r>h&&(r=h),i>p&&(i=p)}this.$nextTick((function(){var t=o-e.cropX,c=n-e.cropY;if(e.canChangeX&&(1===e.changeCropTypeX?e.cropOldW-t>0?(e.cropW=r-e.cropChangeX-t<=r-s?e.cropOldW-t:e.cropOldW+e.cropChangeX-s,e.cropOffsertX=r-e.cropChangeX-t<=r-s?e.cropChangeX+t:s):(e.cropW=Math.abs(t)+e.cropChangeX<=r?Math.abs(t)-e.cropOldW:r-e.cropOldW-e.cropChangeX,e.cropOffsertX=e.cropChangeX+e.cropOldW):2===e.changeCropTypeX&&(e.cropOldW+t>0?(e.cropW=e.cropOldW+t+e.cropOffsertX<=r?e.cropOldW+t:r-e.cropOffsertX,e.cropOffsertX=e.cropChangeX):(e.cropW=r-e.cropChangeX+Math.abs(t+e.cropOldW)<=r-s?Math.abs(t+e.cropOldW):e.cropChangeX-s,e.cropOffsertX=r-e.cropChangeX+Math.abs(t+e.cropOldW)<=r-s?e.cropChangeX-Math.abs(t+e.cropOldW):s))),e.canChangeY&&(1===e.changeCropTypeY?e.cropOldH-c>0?(e.cropH=i-e.cropChangeY-c<=i-a?e.cropOldH-c:e.cropOldH+e.cropChangeY-a,e.cropOffsertY=i-e.cropChangeY-c<=i-a?e.cropChangeY+c:a):(e.cropH=Math.abs(c)+e.cropChangeY<=i?Math.abs(c)-e.cropOldH:i-e.cropOldH-e.cropChangeY,e.cropOffsertY=e.cropChangeY+e.cropOldH):2===e.changeCropTypeY&&(e.cropOldH+c>0?(e.cropH=e.cropOldH+c+e.cropOffsertY<=i?e.cropOldH+c:i-e.cropOffsertY,e.cropOffsertY=e.cropChangeY):(e.cropH=i-e.cropChangeY+Math.abs(c+e.cropOldH)<=i-a?Math.abs(c+e.cropOldH):e.cropChangeY-a,e.cropOffsertY=i-e.cropChangeY+Math.abs(c+e.cropOldH)<=i-a?e.cropChangeY-Math.abs(c+e.cropOldH):a))),e.canChangeX&&e.fixed){var h=e.cropW/e.fixedNumber[0]*e.fixedNumber[1];h+e.cropOffsertY>i?(e.cropH=i-e.cropOffsertY,e.cropW=e.cropH/e.fixedNumber[1]*e.fixedNumber[0]):e.cropH=h}if(e.canChangeY&&e.fixed){var p=e.cropH/e.fixedNumber[1]*e.fixedNumber[0];p+e.cropOffsertX>r?(e.cropW=r-e.cropOffsertX,e.cropH=e.cropW/e.fixedNumber[0]*e.fixedNumber[1]):e.cropW=p}}))},checkCropLimitSize:function(){this.cropW,this.cropH;var t=this.limitMinSize,e=new Array;return e=Array.isArray[t]?t:[t,t],[parseFloat(e[0]),parseFloat(e[1])]},changeCropEnd:function(t){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},endCrop:function(){0===this.cropW&&0===this.cropH&&(this.cropping=!1),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop:function(){this.crop=!0},stopCrop:function(){this.crop=!1},clearCrop:function(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove:function(t){if(t.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(t),!1;if(t.touches&&2===t.touches.length)return this.crop=!1,this.startMove(t),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);var e,o,n=t.clientX?t.clientX:t.touches[0].clientX,r=t.clientY?t.clientY:t.touches[0].clientY;e=n-this.cropOffsertX,o=r-this.cropOffsertY,this.cropX=e,this.cropY=o,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop:function(t,e){var o=this,n=0,r=0;t&&(t.preventDefault(),n=t.clientX?t.clientX:t.touches[0].clientX,r=t.clientY?t.clientY:t.touches[0].clientY),this.$nextTick((function(){var t,i,s=n-o.cropX,a=r-o.cropY;if(e&&(s=o.cropOffsertX,a=o.cropOffsertY),t=s<=0?0:s+o.cropW>o.w?o.w-o.cropW:s,i=a<=0?0:a+o.cropH>o.h?o.h-o.cropH:a,o.centerBox){var c=o.getImgAxis();t<=c.x1&&(t=c.x1),t+o.cropW>c.x2&&(t=c.x2-o.cropW),i<=c.y1&&(i=c.y1),i+o.cropH>c.y2&&(i=c.y2-o.cropH)}o.cropOffsertX=t,o.cropOffsertY=i,o.$emit("cropMoving",{moving:!0,axis:o.getCropAxis()}),o.$emit("crop-moving",{moving:!0,axis:o.getCropAxis()})}))},getImgAxis:function(t,e,o){t=t||this.x,e=e||this.y,o=o||this.scale;var n={x1:0,x2:0,y1:0,y2:0},r=this.trueWidth*o,i=this.trueHeight*o;switch(this.rotate){case 0:n.x1=t+this.trueWidth*(1-o)/2,n.x2=n.x1+this.trueWidth*o,n.y1=e+this.trueHeight*(1-o)/2,n.y2=n.y1+this.trueHeight*o;break;case 1:case-1:case 3:case-3:n.x1=t+this.trueWidth*(1-o)/2+(r-i)/2,n.x2=n.x1+this.trueHeight*o,n.y1=e+this.trueHeight*(1-o)/2+(i-r)/2,n.y2=n.y1+this.trueWidth*o;break;default:n.x1=t+this.trueWidth*(1-o)/2,n.x2=n.x1+this.trueWidth*o,n.y1=e+this.trueHeight*(1-o)/2,n.y2=n.y1+this.trueHeight*o}return n},getCropAxis:function(){var t={x1:0,x2:0,y1:0,y2:0};return t.x1=this.cropOffsertX,t.x2=t.x1+this.cropW,t.y1=this.cropOffsertY,t.y2=t.y1+this.cropH,t},leaveCrop:function(t){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked:function(t){var e=this,o=document.createElement("canvas"),n=new Image,r=this.rotate,i=this.trueWidth,s=this.trueHeight,a=this.cropOffsertX,c=this.cropOffsertY;function h(t,e){o.width=Math.round(t),o.height=Math.round(e)}n.onload=function(){if(0!==e.cropW){var p=o.getContext("2d"),u=1;e.high&!e.full&&(u=window.devicePixelRatio),1!==e.enlarge&!e.full&&(u=Math.abs(Number(e.enlarge)));var l=e.cropW*u,d=e.cropH*u,f=i*e.scale*u,g=s*e.scale*u,v=(e.x-a+e.trueWidth*(1-e.scale)/2)*u,m=(e.y-c+e.trueHeight*(1-e.scale)/2)*u;switch(h(l,d),p.save(),r){case 0:e.full?(h(l/e.scale,d/e.scale),p.drawImage(n,v/e.scale,m/e.scale,f/e.scale,g/e.scale)):p.drawImage(n,v,m,f,g);break;case 1:case-3:e.full?(h(l/e.scale,d/e.scale),v=v/e.scale+(f/e.scale-g/e.scale)/2,m=m/e.scale+(g/e.scale-f/e.scale)/2,p.rotate(90*r*Math.PI/180),p.drawImage(n,m,-v-g/e.scale,f/e.scale,g/e.scale)):(v+=(f-g)/2,m+=(g-f)/2,p.rotate(90*r*Math.PI/180),p.drawImage(n,m,-v-g,f,g));break;case 2:case-2:e.full?(h(l/e.scale,d/e.scale),p.rotate(90*r*Math.PI/180),v/=e.scale,m/=e.scale,p.drawImage(n,-v-f/e.scale,-m-g/e.scale,f/e.scale,g/e.scale)):(p.rotate(90*r*Math.PI/180),p.drawImage(n,-v-f,-m-g,f,g));break;case 3:case-1:e.full?(h(l/e.scale,d/e.scale),v=v/e.scale+(f/e.scale-g/e.scale)/2,m=m/e.scale+(g/e.scale-f/e.scale)/2,p.rotate(90*r*Math.PI/180),p.drawImage(n,-m-f/e.scale,v,f/e.scale,g/e.scale)):(v+=(f-g)/2,m+=(g-f)/2,p.rotate(90*r*Math.PI/180),p.drawImage(n,-m-f,v,f,g));break;default:e.full?(h(l/e.scale,d/e.scale),p.drawImage(n,v/e.scale,m/e.scale,f/e.scale,g/e.scale)):p.drawImage(n,v,m,f,g)}p.restore()}else{var w=i*e.scale,x=s*e.scale,C=o.getContext("2d");switch(C.save(),r){case 0:h(w,x),C.drawImage(n,0,0,w,x);break;case 1:case-3:h(x,w),C.rotate(90*r*Math.PI/180),C.drawImage(n,0,-x,w,x);break;case 2:case-2:h(w,x),C.rotate(90*r*Math.PI/180),C.drawImage(n,-w,-x,w,x);break;case 3:case-1:h(x,w),C.rotate(90*r*Math.PI/180),C.drawImage(n,-w,0,w,x);break;default:h(w,x),C.drawImage(n,0,0,w,x)}C.restore()}t(o)},"data"!==this.img.substr(0,4)&&(n.crossOrigin="Anonymous"),n.src=this.imgs},getCropData:function(t){var e=this;this.getCropChecked((function(o){t(o.toDataURL("image/"+e.outputType,e.outputSize))}))},getCropBlob:function(t){var e=this;this.getCropChecked((function(o){o.toBlob((function(e){return t(e)}),"image/"+e.outputType,e.outputSize)}))},showPreview:function(){var t=this;if(!this.isCanShow)return!1;this.isCanShow=!1,setTimeout((function(){t.isCanShow=!0}),16);var e=this.cropW,o=this.cropH,n=this.scale,r={};r.div={width:"".concat(e,"px"),height:"".concat(o,"px")};var i=(this.x-this.cropOffsertX)/n,s=(this.y-this.cropOffsertY)/n;r.w=e,r.h=o,r.url=this.imgs,r.img={width:"".concat(this.trueWidth,"px"),height:"".concat(this.trueHeight,"px"),transform:"scale(".concat(n,")translate3d(").concat(i,"px, ").concat(s,"px, ").concat(0,"px)rotateZ(").concat(90*this.rotate,"deg)")},r.html='\n
\n
\n \n
\n
'),this.$emit("realTime",r),this.$emit("real-time",r)},reload:function(){var t=this,e=new Image;e.onload=function(){t.w=parseFloat(window.getComputedStyle(t.$refs.cropper).width),t.h=parseFloat(window.getComputedStyle(t.$refs.cropper).height),t.trueWidth=e.width,t.trueHeight=e.height,t.original?t.scale=1:t.scale=t.checkedMode(),t.$nextTick((function(){t.x=-(t.trueWidth-t.trueWidth*t.scale)/2+(t.w-t.trueWidth*t.scale)/2,t.y=-(t.trueHeight-t.trueHeight*t.scale)/2+(t.h-t.trueHeight*t.scale)/2,t.loading=!1,t.autoCrop&&t.goAutoCrop(),t.$emit("img-load","success"),t.$emit("imgLoad","success"),setTimeout((function(){t.showPreview()}),20)}))},e.onerror=function(){t.$emit("imgLoad","error"),t.$emit("img-load","error")},e.src=this.imgs},checkedMode:function(){var t=1,e=(this.trueWidth,this.trueHeight),o=this.mode.split(" ");switch(o[0]){case"contain":this.trueWidth>this.w&&(t=this.w/this.trueWidth),this.trueHeight*t>this.h&&(t=this.h/this.trueHeight);break;case"cover":(e*=t=this.w/this.trueWidth)o?o:s,a=a>n?n:a,this.fixed&&(a=s/this.fixedNumber[0]*this.fixedNumber[1]),a>this.h&&(s=(a=this.h)/this.fixedNumber[1]*this.fixedNumber[0]),this.changeCrop(s,a)}},changeCrop:function(t,e){var o=this;if(this.centerBox){var n=this.getImgAxis();t>n.x2-n.x1&&(e=(t=n.x2-n.x1)/this.fixedNumber[0]*this.fixedNumber[1]),e>n.y2-n.y1&&(t=(e=n.y2-n.y1)/this.fixedNumber[1]*this.fixedNumber[0])}this.cropW=t,this.cropH=e,this.checkCropLimitSize(),this.$nextTick((function(){o.cropOffsertX=(o.w-o.cropW)/2,o.cropOffsertY=(o.h-o.cropH)/2,o.centerBox&&o.moveCrop(null,!0)}))},refresh:function(){var t=this;this.img,this.imgs="",this.scale=1,this.crop=!1,this.rotate=0,this.w=0,this.h=0,this.trueWidth=0,this.trueHeight=0,this.clearCrop(),this.$nextTick((function(){t.checkedImg()}))},rotateLeft:function(){this.rotate=this.rotate<=-3?0:this.rotate-1},rotateRight:function(){this.rotate=this.rotate>=3?0:this.rotate+1},rotateClear:function(){this.rotate=0},checkoutImgAxis:function(t,e,o){t=t||this.x,e=e||this.y,o=o||this.scale;var n=!0;if(this.centerBox){var r=this.getImgAxis(t,e,o),i=this.getCropAxis();r.x1>=i.x1&&(n=!1),r.x2<=i.x2&&(n=!1),r.y1>=i.y1&&(n=!1),r.y2<=i.y2&&(n=!1)}return n}},mounted:function(){this.support="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";var t=this,e=navigator.userAgent;this.isIOS=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(e,o,n){for(var r=atob(this.toDataURL(o,n).split(",")[1]),i=r.length,s=new Uint8Array(i),a=0;a>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function a(t){for(var e=0;0!=t;)t&=t-1,++e;return e}var u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function c(t){var e,i,r="";for(e=0;e+3<=t.length;e+=3)i=parseInt(t.substring(e,e+3),16),r+=u.charAt(i>>6)+u.charAt(63&i);for(e+1==t.length?(i=parseInt(t.substring(e,e+1),16),r+=u.charAt(i<<2)):e+2==t.length&&(i=parseInt(t.substring(e,e+2),16),r+=u.charAt(i>>2)+u.charAt((3&i)<<4));0<(3&r.length);)r+="=";return r}function f(t){var e,r="",n=0,s=0;for(e=0;e>2),s=3&o,n=1):1==n?(r+=i(s<<2|o>>4),s=15&o,n=2):2==n?(r+=i(s),r+=i(o>>2),s=3&o,n=3):(r+=i(s<<2|o>>4),r+=i(15&o),n=0))}return 1==n&&(r+=i(s<<2)),r}var l,p,g=function(t,e){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},d=function(t){var e;if(void 0===l){var i="0123456789ABCDEF",r=" \f\n\r\t \u2028\u2029";for(l={},e=0;e<16;++e)l[i.charAt(e)]=e;for(i=i.toLowerCase(),e=10;e<16;++e)l[i.charAt(e)]=e;for(e=0;e>16,r[r.length]=n>>8&255,r[r.length]=255&n,s=n=0):n<<=6}}switch(s){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=n>>10;break;case 3:r[r.length]=n>>16,r[r.length]=n>>8&255}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=v.re.exec(t);if(e)if(e[1])t=e[1];else{if(!e[2])throw new Error("RegExp out of sync");t=e[2]}return v.decode(t)}},m=1e13,y=function(){function t(t){this.buf=[+t||0]}return t.prototype.mulAdd=function(t,e){var i,r,n=this.buf,s=n.length;for(i=0;ie&&(t=t.substring(0,e)+b),t}var w,D=function(){function t(e,i){this.hexDigits="0123456789ABCDEF",e instanceof t?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=i)}return t.prototype.get=function(t){if(void 0===t&&(t=this.pos++),t>=this.enc.length)throw new Error("Requesting byte offset "+t+" on a stream of length "+this.enc.length);return"string"==typeof this.enc?this.enc.charCodeAt(t):this.enc[t]},t.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(15&t)},t.prototype.hexDump=function(t,e,i){for(var r="",n=t;n>u&1?"1":"0";if(s.length>i)return n+E(s,i)}return n+s},t.prototype.parseOctetString=function(t,e,i){if(this.isASCII(t,e))return E(this.parseStringISO(t,e),i);var r=e-t,n="("+r+" byte)\n";(i/=2)i)return E(r,i);n=new y,s=0}}return 0>6,this.tagConstructed=0!=(32&e),this.tagNumber=31&e,31==this.tagNumber){for(var i=new y;e=t.get(),i.mulAdd(128,127&e),128&e;);this.tagNumber=i.simplify()}}return t.prototype.isUniversal=function(){return 0===this.tagClass},t.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber},t}(),B=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],A=(1<<26)/B[B.length-1],O=function(){function t(t,e,i){null!=t&&("number"==typeof t?this.fromNumber(t,e,i):null==e&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,e))}return t.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var r,n=(1<>a)&&(s=!0,o=i(r));0<=h;)a>(a+=this.DB-e)):(r=this[h]>>(a-=e)&n,a<=0&&(a+=this.DB,--h)),0>24},t.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},t.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},t.prototype.toByteArray=function(){var t=this.t,e=[];e[0]=this.s;var i,r=this.DB-t*this.DB%8,n=0;if(0>r)!=(this.s&this.DM)>>r&&(e[n++]=i|this.s<>(r+=this.DB-8)):(i=this[t]>>(r-=8)&255,r<=0&&(r+=this.DB,--t)),0!=(128&i)&&(i|=-256),0==n&&(128&this.s)!=(128&i)&&++n,(0=this.t?0!=this.s:0!=(this[e]&1<>n-a&u:(f=(t[p]&(1<>this.DB+n-a)),h=i;0==(1&f);)f>>=1,--h;if((n-=h)<0&&(n+=this.DB,--p),g)o[f].copyTo(s),g=!1;else{for(;1this.DB?(this[this.t-1]|=(h&(1<>this.DB-o):this[this.t-1]|=h<=this.DB&&(o-=this.DB))}8==r&&0!=(128&+e[0])&&(this.s=-1,0>r|o,o=(this[h]&n)<=this.t)e.t=0;else{var r=t%this.DB,n=this.DB-r,s=(1<>r;for(var o=i+1;o>r;0>=this.DB;if(t.t>=this.DB;r+=this.s}else{for(r+=this.s;i>=this.DB;r-=t.s}e.s=r<0?-1:0,r<-1?e[i++]=this.DV+r:0=e.DV&&(t[i+e.t]-=e.DV,t[i+e.t+1]=1)}0>this.F2:0),p=this.FV/l,g=(1<=r&&(this.dMultiply(n),this.dAddOffset(h,0),h=o=0))}0e&&this.subTo(t.ONE.shiftLeft(e-1),this);else{var s=[],o=7&e;s.length=1+(e>>3),i.nextBytes(s),0>=this.DB;if(t.t>=this.DB;r+=this.s}else{for(r+=this.s;i>=this.DB;r+=t.s}e.s=r<0?-1:0,0=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},t.prototype.multiplyLowerTo=function(t,e,i){var r=Math.min(this.t+t.t,e);for(i.s=0,i.t=r;0>1)&&(e=B.length);for(var s=M(),o=0;oe&&o.subTo(t.ONE.shiftLeft(e-1),o),o.isProbablePrime(i)?setTimeout((function(){s()}),0):setTimeout(h,0)};setTimeout(h,0)}else{var a=[],u=7&e;a.length=1+(e>>3),i.nextBytes(a),0>15,this.um=(1<>15)*this.mpl&this.um)<<15)&t.DM;for(t[i=e+this.m.t]+=this.m.am(0,r,t,e,0,this.m.t);t[i]>=t.DV;)t[i]-=t.DV,t[++i]++}t.clamp(),t.drShiftTo(this.m.t,t),0<=t.compareTo(this.m)&&t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),P=function(){function t(t){this.m=t,this.r2=M(),this.q3=M(),O.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}return t.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=M();return t.copyTo(e),this.reduce(e),e},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);0<=t.compareTo(this.m);)t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}();function M(){return new O(null)}function q(t,e){return new O(t,e)}"Microsoft Internet Explorer"==navigator.appName?(O.prototype.am=function(t,e,i,r,n,s){for(var o=32767&e,h=e>>15;0<=--s;){var a=32767&this[t],u=this[t++]>>15,c=h*a+u*o;n=((a=o*a+((32767&c)<<15)+i[r]+(1073741823&n))>>>30)+(c>>>15)+h*u+(n>>>30),i[r++]=1073741823&a}return n},w=30):"Netscape"!=navigator.appName?(O.prototype.am=function(t,e,i,r,n,s){for(;0<=--s;){var o=e*this[t++]+i[r]+n;n=Math.floor(o/67108864),i[r++]=67108863&o}return n},w=26):(O.prototype.am=function(t,e,i,r,n,s){for(var o=16383&e,h=e>>14;0<=--s;){var a=16383&this[t],u=this[t++]>>14,c=h*a+u*o;n=((a=o*a+((16383&c)<<14)+i[r]+n)>>28)+(c>>14)+h*u,i[r++]=268435455&a}return n},w=28),O.prototype.DB=w,O.prototype.DM=(1<>>16)&&(t=e,i+=16),0!=(e=t>>8)&&(t=e,i+=8),0!=(e=t>>4)&&(t=e,i+=4),0!=(e=t>>2)&&(t=e,i+=2),0!=(e=t>>1)&&(t=e,i+=1),i}O.ZERO=F(0),O.ONE=F(1);var K,k,_=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(t){var e,i,r;for(e=0;e<256;++e)this.S[e]=e;for(e=i=0;e<256;++e)i=i+this.S[e]+t[e%t.length]&255,r=this.S[e],this.S[e]=this.S[i],this.S[i]=r;this.i=0,this.j=0},t.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},t}(),z=256,Z=null;if(null==Z){Z=[];var G=void(k=0);if(window.crypto&&window.crypto.getRandomValues){var $=new Uint32Array(256);for(window.crypto.getRandomValues($),G=0;G<$.length;++G)Z[k++]=255&$[G]}var Y=function(t){if(this.count=this.count||0,256<=this.count||z<=k)window.removeEventListener?window.removeEventListener("mousemove",Y,!1):window.detachEvent&&window.detachEvent("onmousemove",Y);else try{var e=t.x+t.y;Z[k++]=255&e,this.count+=1}catch(t){}};window.addEventListener?window.addEventListener("mousemove",Y,!1):window.attachEvent&&window.attachEvent("onmousemove",Y)}function J(){if(null==K){for(K=new _;k>6|192):(i[--e]=63&n|128,i[--e]=n>>6&63|128,i[--e]=n>>12|224)}i[--e]=0;for(var s=new X,o=[];2>3);if(null==e)return null;var i=this.doPublic(e);if(null==i)return null;var r=i.toString(16);return 0==(1&r.length)?r:"0"+r},t.prototype.setPrivate=function(t,e,i){null!=t&&null!=e&&0>1;this.e=parseInt(e,16);for(var n=new O(e,16);;){for(;this.p=new O(t-r,1,i),0!=this.p.subtract(O.ONE).gcd(n).compareTo(O.ONE)||!this.p.isProbablePrime(10););for(;this.q=new O(r,1,i),0!=this.q.subtract(O.ONE).gcd(n).compareTo(O.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var s=this.p;this.p=this.q,this.q=s}var o=this.p.subtract(O.ONE),h=this.q.subtract(O.ONE),a=o.multiply(h);if(0==a.gcd(n).compareTo(O.ONE)){this.n=this.p.multiply(this.q),this.d=n.modInverse(a),this.dmp1=this.d.mod(o),this.dmq1=this.d.mod(h),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(t){var e=q(t,16),i=this.doPrivate(e);return null==i?null:function(t,e){for(var i=t.toByteArray(),r=0;r=i.length)return null;for(var n="";++r>3)},t.prototype.generateAsync=function(t,e,i){var r=new X,n=t>>1;this.e=parseInt(e,16);var s=new O(e,16),o=this,h=function(){var e=function(){if(o.p.compareTo(o.q)<=0){var t=o.p;o.p=o.q,o.q=t}var e=o.p.subtract(O.ONE),r=o.q.subtract(O.ONE),n=e.multiply(r);0==n.gcd(s).compareTo(O.ONE)?(o.n=o.p.multiply(o.q),o.d=s.modInverse(n),o.dmp1=o.d.mod(e),o.dmq1=o.d.mod(r),o.coeff=o.q.modInverse(o.p),setTimeout((function(){i()}),0)):setTimeout(h,0)},a=function(){o.q=M(),o.q.fromNumberAsync(n,1,r,(function(){o.q.subtract(O.ONE).gcda(s,(function(t){0==t.compareTo(O.ONE)&&o.q.isProbablePrime(10)?setTimeout(e,0):setTimeout(a,0)}))}))},u=function(){o.p=M(),o.p.fromNumberAsync(t-n,1,r,(function(){o.p.subtract(O.ONE).gcda(s,(function(t){0==t.compareTo(O.ONE)&&o.p.isProbablePrime(10)?setTimeout(a,0):setTimeout(u,0)}))}))};setTimeout(u,0)};setTimeout(h,0)},t.prototype.sign=function(t,e,i){var r=function(t,e){if(e=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(t)},this.setByDateValue=function(t,e,i,r,n,s){var o=new Date(Date.UTC(t,e-1,i,r,n,s,0));this.setByDate(o)},this.getFreshValueHex=function(){return this.hV}},tt.lang.extend(et.asn1.DERAbstractTime,et.asn1.ASN1Object),et.asn1.DERAbstractStructured=function(t){et.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,void 0!==t&&void 0!==t.array&&(this.asn1Array=t.array)},tt.lang.extend(et.asn1.DERAbstractStructured,et.asn1.ASN1Object),et.asn1.DERBoolean=function(){et.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},tt.lang.extend(et.asn1.DERBoolean,et.asn1.ASN1Object),et.asn1.DERInteger=function(t){et.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=et.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new O(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.bigint?this.setByBigInteger(t.bigint):void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},tt.lang.extend(et.asn1.DERInteger,et.asn1.ASN1Object),et.asn1.DERBitString=function(t){if(void 0!==t&&void 0!==t.obj){var e=et.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}et.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7n)return!1;if(i===n)return e===t;e:for(var o=0,r=0;oe.length)&&(t=e.length);for(var n=0,i=new Array(t);n + * @author owenm + * @license MIT + */ +function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(){return r=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function l(e,t){if(null==e)return{};var n,i,o=s(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(e){return u(e)||d(e)||h()}function u(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function x(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function D(e,t,n,i){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&_(e,t):_(e,t))||i&&e===n)return e;if(e===n)break}while(e=x(e))}return null}var C,N=/\s+/g;function M(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var i=(" "+e.className+" ").replace(N," ").replace(" "+t+" "," ");e.className=(i+(n?" "+t:"")).replace(N," ")}}function T(e,t,n){var i=e&&e.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in i||-1!==t.indexOf("webkit")||(t="-webkit-"+t),i[t]=n+("string"===typeof n?"":"px")}}function A(e,t){var n="";if("string"===typeof e)n=e;else do{var i=T(e,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function I(e,t,n){if(e){var i=e.getElementsByTagName(t),o=0,r=i.length;if(n)for(;o=r:o<=r,!a)return i;if(i===L())break;i=j(i,!1)}return!1}function B(e,t,n){var i=0,o=0,r=e.children;while(o2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,o=l(n,["evt"]);ne.pluginEvent.bind(Je)(e,t,a({dragEl:ae,parentEl:se,ghostEl:le,rootEl:ce,nextEl:ue,lastDownEl:de,cloneEl:he,cloneHidden:fe,dragStarted:De,putSortable:ye,activeSortable:Je.active,originalEvent:i,oldIndex:pe,oldDraggableIndex:ge,newIndex:ve,newDraggableIndex:me,hideGhostForTarget:Qe,unhideGhostForTarget:Ue,cloneNowHidden:function(){fe=!0},cloneNowShown:function(){fe=!1},dispatchSortableEvent:function(e){re({sortable:t,name:e,originalEvent:i})}},o))};function re(e){ie(a({putSortable:ye,cloneEl:he,targetEl:ae,rootEl:ce,oldIndex:pe,oldDraggableIndex:ge,newIndex:ve,newDraggableIndex:me},e))}var ae,se,le,ce,ue,de,he,fe,pe,ve,ge,me,be,ye,Se,we,Oe,Ee,_e,xe,De,Ce,Ne,Me,Te,Ae=!1,Ie=!1,Le=[],Re=!1,ke=!1,Be=[],Pe=!1,$e=[],ze="undefined"!==typeof document,Fe=y,je=g||v?"cssFloat":"float",Ve=ze&&!S&&!y&&"draggable"in document.createElement("div"),He=function(){if(ze){if(v)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),We=function(e,t){var n=T(e),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=B(e,0,t),r=B(e,1,t),a=o&&T(o),s=r&&T(r),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+R(o).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+R(r).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a["float"]&&"none"!==a["float"]){var u="left"===a["float"]?"left":"right";return!r||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=i&&"none"===n[je]||r&&"none"===n[je]&&l+c>i)?"vertical":"horizontal"},Xe=function(e,t,n){var i=n?e.left:e.top,o=n?e.right:e.bottom,r=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return i===a||o===s||i+r/2===a+l/2},Ye=function(e,t){var n;return Le.some((function(i){if(!P(i)){var o=R(i),r=i[q].options.emptyInsertThreshold,a=e>=o.left-r&&e<=o.right+r,s=t>=o.top-r&&t<=o.bottom+r;return r&&a&&s?n=i:void 0}})),n},Ke=function(e){function t(e,n){return function(i,o,r,a){var s=i.options.group.name&&o.options.group.name&&i.options.group.name===o.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"===typeof e)return t(e(i,o,r,a),n)(i,o,r,a);var l=(n?i:o).options.group.name;return!0===e||"string"===typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},o=e.group;o&&"object"==i(o)||(o={name:o}),n.name=o.name,n.checkPull=t(o.pull,!0),n.checkPut=t(o.put),n.revertClone=o.revertClone,e.group=n},Qe=function(){!He&&le&&T(le,"display","none")},Ue=function(){!He&&le&&T(le,"display","")};ze&&document.addEventListener("click",(function(e){if(Ie)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Ie=!1,!1}),!0);var qe=function(e){if(ae){e=e.touches?e.touches[0]:e;var t=Ye(e.clientX,e.clientY);if(t){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[q]._onDragOver(n)}}},Ge=function(e){ae&&ae.parentNode[q]._isOutsideThisEl(e.target)};function Je(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=r({},t),e[q]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return We(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Je.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var i in ne.initializePlugins(this,e,n),n)!(i in t)&&(t[i]=n[i]);for(var o in Ke(t),this)"_"===o.charAt(0)&&"function"===typeof this[o]&&(this[o]=this[o].bind(this));this.nativeDraggable=!t.forceFallback&&Ve,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?O(e,"pointerdown",this._onTapStart):(O(e,"mousedown",this._onTapStart),O(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(O(e,"dragover",this),O(e,"dragenter",this)),Le.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),r(this,G())}function Ze(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function et(e,t,n,i,o,r,a,s){var l,c,u=e[q],d=u.options.onMove;return!window.CustomEvent||v||g?(l=document.createEvent("Event"),l.initEvent("move",!0,!0)):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=i,l.related=o||t,l.relatedRect=r||R(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),d&&(c=d.call(u,l,a)),c}function tt(e){e.draggable=!1}function nt(){Pe=!1}function it(e,t,n){var i=R(P(n.el,n.options.draggable)),o=10;return t?e.clientX>i.right+o||e.clientX<=i.right&&e.clientY>i.bottom&&e.clientX>=i.left:e.clientX>i.right&&e.clientY>i.top||e.clientX<=i.right&&e.clientY>i.bottom+o}function ot(e,t,n,i,o,r,a,s){var l=i?e.clientY:e.clientX,c=i?n.height:n.width,u=i?n.top:n.left,d=i?n.bottom:n.right,h=!1;if(!a)if(s&&Meu+c*r/2:ld-Me)return-Ne}else if(l>u+c*(1-o)/2&&ld-c*r/2)?l>u+c/2?1:-1:0}function rt(e){return $(ae)<$(e)?1:-1}function at(e){var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,i=0;while(n--)i+=t.charCodeAt(n);return i.toString(36)}function st(e){$e.length=0;var t=e.getElementsByTagName("input"),n=t.length;while(n--){var i=t[n];i.checked&&$e.push(i)}}function lt(e){return setTimeout(e,0)}function ct(e){return clearTimeout(e)}Je.prototype={constructor:Je,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Ce=null)},_getDirection:function(e,t){return"function"===typeof this.options.direction?this.options.direction.call(this,e,t,ae):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,i=this.options,o=i.preventOnFilter,r=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=i.filter;if(st(n),!ae&&!(/mousedown|pointerdown/.test(r)&&0!==e.button||i.disabled)&&!l.isContentEditable&&(s=D(s,i.draggable,n,!1),(!s||!s.animated)&&de!==s)){if(pe=$(s),ge=$(s,i.draggable),"function"===typeof c){if(c.call(this,e,s,this))return re({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),oe("filter",t,{evt:e}),void(o&&e.cancelable&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(i){if(i=D(l,i.trim(),n,!1),i)return re({sortable:t,rootEl:i,name:"filter",targetEl:s,fromEl:n,toEl:n}),oe("filter",t,{evt:e}),!0})),c))return void(o&&e.cancelable&&e.preventDefault());i.handle&&!D(l,i.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var i,o=this,r=o.el,a=o.options,s=r.ownerDocument;if(n&&!ae&&n.parentNode===r){var l=R(n);if(ce=r,ae=n,se=ae.parentNode,ue=ae.nextSibling,de=n,be=a.group,Je.dragged=ae,Se={target:ae,clientX:(t||e).clientX,clientY:(t||e).clientY},_e=Se.clientX-l.left,xe=Se.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,ae.style["will-change"]="all",i=function(){oe("delayEnded",o,{evt:e}),Je.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!m&&o.nativeDraggable&&(ae.draggable=!0),o._triggerDragStart(e,t),re({sortable:o,name:"choose",originalEvent:e}),M(ae,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){I(ae,e.trim(),tt)})),O(s,"dragover",qe),O(s,"mousemove",qe),O(s,"touchmove",qe),O(s,"mouseup",o._onDrop),O(s,"touchend",o._onDrop),O(s,"touchcancel",o._onDrop),m&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ae.draggable=!0),oe("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(g||v))i();else{if(Je.eventCanceled)return void this._onDrop();O(s,"mouseup",o._disableDelayedDrag),O(s,"touchend",o._disableDelayedDrag),O(s,"touchcancel",o._disableDelayedDrag),O(s,"mousemove",o._delayedDragTouchMoveHandler),O(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&O(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(i,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){ae&&tt(ae),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;E(e,"mouseup",this._disableDelayedDrag),E(e,"touchend",this._disableDelayedDrag),E(e,"touchcancel",this._disableDelayedDrag),E(e,"mousemove",this._delayedDragTouchMoveHandler),E(e,"touchmove",this._delayedDragTouchMoveHandler),E(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?O(document,"pointermove",this._onTouchMove):O(document,t?"touchmove":"mousemove",this._onTouchMove):(O(ae,"dragend",this),O(ce,"dragstart",this._onDragStart));try{document.selection?lt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(Ae=!1,ce&&ae){oe("dragStarted",this,{evt:t}),this.nativeDraggable&&O(document,"dragover",Ge);var n=this.options;!e&&M(ae,n.dragClass,!1),M(ae,n.ghostClass,!0),Je.active=this,e&&this._appendGhost(),re({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(we){this._lastX=we.clientX,this._lastY=we.clientY,Qe();var e=document.elementFromPoint(we.clientX,we.clientY),t=e;while(e&&e.shadowRoot){if(e=e.shadowRoot.elementFromPoint(we.clientX,we.clientY),e===t)break;t=e}if(ae.parentNode[q]._isOutsideThisEl(e),t)do{if(t[q]){var n=void 0;if(n=t[q]._onDragOver({clientX:we.clientX,clientY:we.clientY,target:e,rootEl:t}),n&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Ue()}},_onTouchMove:function(e){if(Se){var t=this.options,n=t.fallbackTolerance,i=t.fallbackOffset,o=e.touches?e.touches[0]:e,r=le&&A(le,!0),a=le&&r&&r.a,s=le&&r&&r.d,l=Fe&&Te&&z(Te),c=(o.clientX-Se.clientX+i.x)/(a||1)+(l?l[0]-Be[0]:0)/(a||1),u=(o.clientY-Se.clientY+i.y)/(s||1)+(l?l[1]-Be[1]:0)/(s||1);if(!Je.active&&!Ae){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))=0&&(re({rootEl:se,name:"add",toEl:se,fromEl:ce,originalEvent:e}),re({sortable:this,name:"remove",toEl:se,originalEvent:e}),re({rootEl:se,name:"sort",toEl:se,fromEl:ce,originalEvent:e}),re({sortable:this,name:"sort",toEl:se,originalEvent:e})),ye&&ye.save()):ve!==pe&&ve>=0&&(re({sortable:this,name:"update",toEl:se,originalEvent:e}),re({sortable:this,name:"sort",toEl:se,originalEvent:e})),Je.active&&(null!=ve&&-1!==ve||(ve=pe,me=ge),re({sortable:this,name:"end",toEl:se,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){oe("nulling",this),ce=ae=se=le=ue=he=de=fe=Se=we=De=ve=me=pe=ge=Ce=Ne=ye=be=Je.dragged=Je.ghost=Je.clone=Je.active=null,$e.forEach((function(e){e.checked=!0})),$e.length=Oe=Ee=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":ae&&(this._onDragOver(e),Ze(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e,t=[],n=this.el.children,i=0,o=n.length,r=this.options;i1&&(Lt.forEach((function(e){i.addAnimationState({target:e,rect:Bt?R(e):o}),U(e),e.fromRect=o,t.removeAnimationState(e)})),Bt=!1,zt(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,i=e.insertion,o=e.activeSortable,r=e.parentEl,a=e.putSortable,s=this.options;if(i){if(n&&o._hideClone(),kt=!1,s.animation&&Lt.length>1&&(Bt||!n&&!o.options.sort&&!a)){var l=R(Tt,!1,!0,!0);Lt.forEach((function(e){e!==Tt&&(Q(e,l),r.appendChild(e))})),Bt=!0}if(!n)if(Bt||jt(),Lt.length>1){var c=It;o._showClone(t),o.options.animation&&!It&&c&&Rt.forEach((function(e){o.addAnimationState({target:e,rect:At}),e.fromRect=At,e.thisAnimationDuration=null}))}else o._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,i=e.activeSortable;if(Lt.forEach((function(e){e.thisAnimationDuration=null})),i.options.animation&&!n&&i.multiDrag.isMultiDrag){At=r({},t);var o=A(Tt,!0);At.top-=o.f,At.left-=o.e}},dragOverAnimationComplete:function(){Bt&&(Bt=!1,jt())},drop:function(e){var t=e.originalEvent,n=e.rootEl,i=e.parentEl,o=e.sortable,r=e.dispatchSortableEvent,a=e.oldIndex,s=e.putSortable,l=s||this.sortable;if(t){var c=this.options,u=i.children;if(!Pt)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),M(Tt,c.selectedClass,!~Lt.indexOf(Tt)),~Lt.indexOf(Tt))Lt.splice(Lt.indexOf(Tt),1),Nt=null,ie({sortable:o,rootEl:n,name:"deselect",targetEl:Tt,originalEvt:t});else{if(Lt.push(Tt),ie({sortable:o,rootEl:n,name:"select",targetEl:Tt,originalEvt:t}),t.shiftKey&&Nt&&o.el.contains(Nt)){var d,h,f=$(Nt),p=$(Tt);if(~f&&~p&&f!==p)for(p>f?(h=f,d=p):(h=p,d=f+1);h1){var v=R(Tt),g=$(Tt,":not(."+this.options.selectedClass+")");if(!kt&&c.animation&&(Tt.thisAnimationDuration=null),l.captureAnimationState(),!kt&&(c.animation&&(Tt.fromRect=v,Lt.forEach((function(e){if(e.thisAnimationDuration=null,e!==Tt){var t=Bt?R(e):v;e.fromRect=t,l.addAnimationState({target:e,rect:t})}}))),jt(),Lt.forEach((function(e){u[g]?i.insertBefore(e,u[g]):i.appendChild(e),g++})),a===$(Tt))){var m=!1;Lt.forEach((function(e){e.sortableIndex===$(e)||(m=!0)})),m&&r("update")}Lt.forEach((function(e){U(e)})),l.animateAll()}Mt=l}(n===i||s&&"clone"!==s.lastPutMode)&&Rt.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=Pt=!1,Rt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),E(document,"pointerup",this._deselectMultiDrag),E(document,"mouseup",this._deselectMultiDrag),E(document,"touchend",this._deselectMultiDrag),E(document,"keydown",this._checkKeyDown),E(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(("undefined"===typeof Pt||!Pt)&&Mt===this.sortable&&(!e||!D(e.target,this.options.draggable,this.sortable.el,!1))&&(!e||0===e.button))while(Lt.length){var t=Lt[0];M(t,this.options.selectedClass,!1),Lt.shift(),ie({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},r(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[q];t&&t.options.multiDrag&&!~Lt.indexOf(e)&&(Mt&&Mt!==t&&(Mt.multiDrag._deselectMultiDrag(),Mt=t),M(e,t.options.selectedClass,!0),Lt.push(e))},deselect:function(e){var t=e.parentNode[q],n=Lt.indexOf(e);t&&t.options.multiDrag&&~n&&(M(e,t.options.selectedClass,!1),Lt.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return Lt.forEach((function(i){var o;t.push({multiDragElement:i,index:i.sortableIndex}),o=Bt&&i!==Tt?-1:Bt?$(i,":not(."+e.options.selectedClass+")"):$(i),n.push({multiDragElement:i,index:o})})),{items:c(Lt),clones:[].concat(Rt),oldIndicies:t,newIndicies:n}},optionListeners:{multiDragKey:function(e){return e=e.toLowerCase(),"ctrl"===e?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function zt(e,t){Lt.forEach((function(n,i){var o=t.children[n.sortableIndex+(e?Number(i):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}function Ft(e,t){Rt.forEach((function(n,i){var o=t.children[n.sortableIndex+(e?Number(i):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}function jt(){Lt.forEach((function(e){e!==Tt&&e.parentNode&&e.parentNode.removeChild(e)}))}Je.mount(new bt),Je.mount(xt,_t),t["default"]=Je},b047:function(e,t,n){var i=n("1a8c"),o=n("408c"),r=n("b4b0"),a="Expected a function",s=Math.max,l=Math.min;function c(e,t,n){var c,u,d,h,f,p,v=0,g=!1,m=!1,b=!0;if("function"!=typeof e)throw new TypeError(a);function y(t){var n=c,i=u;return c=u=void 0,v=t,h=e.apply(i,n),h}function S(e){return v=e,f=setTimeout(E,t),g?y(e):h}function w(e){var n=e-p,i=e-v,o=t-n;return m?l(o,d-i):o}function O(e){var n=e-p,i=e-v;return void 0===p||n>=t||n<0||m&&i>=d}function E(){var e=o();if(O(e))return _(e);f=setTimeout(E,w(e))}function _(e){return f=void 0,b&&c?y(e):(c=u=void 0,h)}function x(){void 0!==f&&clearTimeout(f),v=0,c=p=u=f=void 0}function D(){return void 0===f?h:_(o())}function C(){var e=o(),n=O(e);if(c=arguments,u=this,p=e,n){if(void 0===f)return S(p);if(m)return clearTimeout(f),f=setTimeout(E,t),y(p)}return void 0===f&&(f=setTimeout(E,t)),h}return t=r(t)||0,i(n)&&(g=!!n.leading,m="maxWait"in n,d=m?s(r(n.maxWait)||0,t):d,b="trailing"in n?!!n.trailing:b),C.cancel=x,C.flush=D,C}e.exports=c},b4b0:function(e,t,n){var i=n("8d74"),o=n("1a8c"),r=n("ffd6"),a=NaN,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;function d(e){if("number"==typeof e)return e;if(r(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=i(e);var n=l.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):s.test(e)?a:+e}e.exports=d},bcdf:function(e,t){function n(){}e.exports=n},c135:function(e,t){function n(e){if(Array.isArray(e))return e}e.exports=n,e.exports["default"]=e.exports,e.exports.__esModule=!0},c240:function(e,t){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=n,e.exports["default"]=e.exports,e.exports.__esModule=!0},ca17:function(e,t,n){ +/*! + * vue-treeselect v0.4.0 | (c) 2017-2019 Riophae Lee + * Released under the MIT License. + * https://vue-treeselect.js.org/ + */ +e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=16)}([function(e,t){e.exports=n("278c")},function(e,t){e.exports=n("448a")},function(e,t){e.exports=n("9523")},function(e,t){e.exports=n("2e39")},function(e,t){e.exports=n("bcdf")},function(e,t){e.exports=n("b047")},function(e,t){e.exports=n("df0f")},function(e,t){e.exports=n("2655")},function(e,t){e.exports=n("1d92")},function(e,t){e.exports=n("cd9d")},function(e,t){e.exports=n("72f0")},function(e,t){e.exports=n("7037")},function(e,t){e.exports=n("4416")},function(e,t){e.exports=n("92fa")},function(e,t){e.exports=n("2b0e")},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var i=n(0),o=n.n(i),r=n(1),a=n.n(r),s=n(2),l=n.n(s),c=n(3),u=n.n(c),d=n(4),h=n.n(d),f=h.a;function p(e){return function(t){if("mousedown"===t.type&&0===t.button){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;on.bottom?e.scrollTop=Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight):i.top-o0},single:function(){return!this.multiple},visibleOptionIds:function(){var e=this,t=[];return this.traverseAllNodesByIndex((function(n){if(e.localSearch.active&&!e.shouldOptionBeIncludedInSearchResult(n)||t.push(n.id),n.isBranch&&!e.shouldExpand(n))return!1})),t},hasVisibleOptions:function(){return 0!==this.visibleOptionIds.length},showCountOnSearchComputed:function(){return"boolean"===typeof this.showCountOnSearch?this.showCountOnSearch:this.showCount},hasBranchNodes:function(){return this.forest.normalizedOptions.some((function(e){return e.isBranch}))},shouldFlattenOptions:function(){return this.localSearch.active&&this.flattenSearchResults}},watch:{alwaysOpen:function(e){e?this.openMenu():this.closeMenu()},branchNodesFirst:function(){this.initialize()},disabled:function(e){e&&this.menu.isOpen?this.closeMenu():e||this.menu.isOpen||!this.alwaysOpen||this.openMenu()},flat:function(){this.initialize()},internalValue:function(e,t){var n=G(e,t);n&&this.$emit("input",this.getValue(),this.getInstanceId())},matchKeys:function(){this.initialize()},multiple:function(e){e&&this.buildForestState()},options:{handler:function(){this.async||(this.initialize(),this.rootOptionsStates.isLoaded=Array.isArray(this.options))},deep:!0,immediate:!0},"trigger.searchQuery":function(){this.async?this.handleRemoteSearch():this.handleLocalSearch(),this.$emit("search-change",this.trigger.searchQuery,this.getInstanceId())},value:function(){var e=this.extractCheckedNodeIdsFromValue(),t=G(e,this.internalValue);t&&this.fixSelectedNodeIds(e)}},methods:{verifyProps:function(){var e=this;if(f((function(){return!e.async||e.searchable}),(function(){return'For async search mode, the value of "searchable" prop must be true.'})),null!=this.options||this.loadOptions||f((function(){return!1}),(function(){return'Are you meant to dynamically load options? You need to use "loadOptions" prop.'})),this.flat&&f((function(){return e.multiple}),(function(){return'You are using flat mode. But you forgot to add "multiple=true"?'})),!this.flat){var t=["autoSelectAncestors","autoSelectDescendants","autoDeselectAncestors","autoDeselectDescendants"];t.forEach((function(t){f((function(){return!e[t]}),(function(){return'"'.concat(t,'" only applies to flat mode.')}))}))}},resetFlags:function(){this._blurOnSelect=!1},initialize:function(){var e=this.async?this.getRemoteSearchEntry().options:this.options;if(Array.isArray(e)){var t=this.forest.nodeMap;this.forest.nodeMap=j(),this.keepDataOfSelectedNodes(t),this.forest.normalizedOptions=this.normalize(J,e,t),this.fixSelectedNodeIds(this.internalValue)}else this.forest.normalizedOptions=[]},getInstanceId:function(){return null==this.instanceId?this.id:this.instanceId},getValue:function(){var e=this;if("id"===this.valueFormat)return this.multiple?this.internalValue.slice():this.internalValue[0];var t=this.internalValue.map((function(t){return e.getNode(t).raw}));return this.multiple?t:t[0]},getNode:function(e){return f((function(){return null!=e}),(function(){return"Invalid node id: ".concat(e)})),null==e?null:e in this.forest.nodeMap?this.forest.nodeMap[e]:this.createFallbackNode(e)},createFallbackNode:function(e){var t=this.extractNodeFromValue(e),n=this.enhancedNormalizer(t).label||"".concat(e," (unknown)"),i={id:e,label:n,ancestors:[],parentNode:J,isFallbackNode:!0,isRootNode:!0,isLeaf:!0,isBranch:!1,isDisabled:!1,isNew:!1,index:[-1],level:0,raw:t};return this.$set(this.forest.nodeMap,e,i)},extractCheckedNodeIdsFromValue:function(){var e=this;return null==this.value?[]:"id"===this.valueFormat?this.multiple?this.value.slice():[this.value]:(this.multiple?this.value:[this.value]).map((function(t){return e.enhancedNormalizer(t)})).map((function(e){return e.id}))},extractNodeFromValue:function(e){var t=this,n={id:e};if("id"===this.valueFormat)return n;var i=this.multiple?Array.isArray(this.value)?this.value:[]:this.value?[this.value]:[],o=q(i,(function(n){return n&&t.enhancedNormalizer(n).id===e}));return o||n},fixSelectedNodeIds:function(e){var t=this,n=[];if(this.single||this.flat||this.disableBranchNodes||this.valueConsistsOf===ce)n=e;else if(this.valueConsistsOf===ue)e.forEach((function(e){n.push(e);var i=t.getNode(e);i.isBranch&&t.traverseDescendantsBFS(i,(function(e){n.push(e.id)}))}));else if(this.valueConsistsOf===de){var i=j(),o=e.slice();while(o.length){var r=o.shift(),a=this.getNode(r);n.push(r),a.isRootNode||(a.parentNode.id in i||(i[a.parentNode.id]=a.parentNode.children.length),0===--i[a.parentNode.id]&&o.push(a.parentNode.id))}}else if(this.valueConsistsOf===he){var s=j(),l=e.filter((function(e){var n=t.getNode(e);return n.isLeaf||0===n.children.length}));while(l.length){var c=l.shift(),u=this.getNode(c);n.push(c),u.isRootNode||(u.parentNode.id in s||(s[u.parentNode.id]=u.parentNode.children.length),0===--s[u.parentNode.id]&&l.push(u.parentNode.id))}}var d=G(this.forest.selectedNodeIds,n);d&&(this.forest.selectedNodeIds=n),this.buildForestState()},keepDataOfSelectedNodes:function(e){var t=this;this.forest.selectedNodeIds.forEach((function(n){if(e[n]){var i=we({},e[n],{isFallbackNode:!0});t.$set(t.forest.nodeMap,n,i)}}))},isSelected:function(e){return!0===this.forest.selectedNodeMap[e.id]},traverseDescendantsBFS:function(e,t){if(e.isBranch){var n=e.children.slice();while(n.length){var i=n[0];i.isBranch&&n.push.apply(n,a()(i.children)),t(i),n.shift()}}},traverseDescendantsDFS:function(e,t){var n=this;e.isBranch&&e.children.forEach((function(e){n.traverseDescendantsDFS(e,t),t(e)}))},traverseAllNodesDFS:function(e){var t=this;this.forest.normalizedOptions.forEach((function(n){t.traverseDescendantsDFS(n,e),e(n)}))},traverseAllNodesByIndex:function(e){var t=function t(n){n.children.forEach((function(n){!1!==e(n)&&n.isBranch&&t(n)}))};t({children:this.forest.normalizedOptions})},toggleClickOutsideEvent:function(e){e?document.addEventListener("mousedown",this.handleClickOutside,!1):document.removeEventListener("mousedown",this.handleClickOutside,!1)},getValueContainer:function(){return this.$refs.control.$refs["value-container"]},getInput:function(){return this.getValueContainer().$refs.input},focusInput:function(){this.getInput().focus()},blurInput:function(){this.getInput().blur()},handleMouseDown:p((function(e){if(e.preventDefault(),e.stopPropagation(),!this.disabled){var t=this.getValueContainer().$el.contains(e.target);t&&!this.menu.isOpen&&(this.openOnClick||this.trigger.isFocused)&&this.openMenu(),this._blurOnSelect?this.blurInput():this.focusInput(),this.resetFlags()}})),handleClickOutside:function(e){this.$refs.wrapper&&!this.$refs.wrapper.contains(e.target)&&(this.blurInput(),this.closeMenu())},handleLocalSearch:function(){var e=this,t=this.trigger.searchQuery,n=function(){return e.resetHighlightedOptionWhenNecessary(!0)};if(!t)return this.localSearch.active=!1,n();this.localSearch.active=!0,this.localSearch.noResults=!0,this.traverseAllNodesDFS((function(t){var n;t.isBranch&&(t.isExpandedOnSearch=!1,t.showAllChildrenOnSearch=!1,t.isMatched=!1,t.hasMatchedDescendants=!1,e.$set(e.localSearch.countMap,t.id,(n={},l()(n,ne,0),l()(n,ie,0),l()(n,oe,0),l()(n,re,0),n)))}));var i=t.trim().toLocaleLowerCase(),o=i.replace(/\s+/g," ").split(" ");this.traverseAllNodesDFS((function(t){e.searchNested&&o.length>1?t.isMatched=o.every((function(e){return De(!1,e,t.nestedSearchLabel)})):t.isMatched=e.matchKeys.some((function(n){return De(!e.disableFuzzyMatching,i,t.lowerCased[n])})),t.isMatched&&(e.localSearch.noResults=!1,t.ancestors.forEach((function(t){return e.localSearch.countMap[t.id][ie]++})),t.isLeaf&&t.ancestors.forEach((function(t){return e.localSearch.countMap[t.id][re]++})),t.parentNode!==J&&(e.localSearch.countMap[t.parentNode.id][ne]+=1,t.isLeaf&&(e.localSearch.countMap[t.parentNode.id][oe]+=1))),(t.isMatched||t.isBranch&&t.isExpandedOnSearch)&&t.parentNode!==J&&(t.parentNode.isExpandedOnSearch=!0,t.parentNode.hasMatchedDescendants=!0)})),n()},handleRemoteSearch:function(){var e=this,t=this.trigger.searchQuery,n=this.getRemoteSearchEntry(),i=function(){e.initialize(),e.resetHighlightedOptionWhenNecessary(!0)};if((""===t||this.cacheOptions)&&n.isLoaded)return i();this.callLoadOptionsProp({action:le,args:{searchQuery:t},isPending:function(){return n.isLoading},start:function(){n.isLoading=!0,n.isLoaded=!1,n.loadingError=""},succeed:function(o){n.isLoaded=!0,n.options=o,e.trigger.searchQuery===t&&i()},fail:function(e){n.loadingError=Ce(e)},end:function(){n.isLoading=!1}})},getRemoteSearchEntry:function(){var e=this,t=this.trigger.searchQuery,n=this.remoteSearch[t]||we({},_e(),{options:[]});if(this.$watch((function(){return n.options}),(function(){e.trigger.searchQuery===t&&e.initialize()}),{deep:!0}),""===t){if(Array.isArray(this.defaultOptions))return n.options=this.defaultOptions,n.isLoaded=!0,n;if(!0!==this.defaultOptions)return n.isLoaded=!0,n}return this.remoteSearch[t]||this.$set(this.remoteSearch,t,n),n},shouldExpand:function(e){return this.localSearch.active?e.isExpandedOnSearch:e.isExpanded},shouldOptionBeIncludedInSearchResult:function(e){return!!e.isMatched||(!(!e.isBranch||!e.hasMatchedDescendants||this.flattenSearchResults)||!(e.isRootNode||!e.parentNode.showAllChildrenOnSearch))},shouldShowOptionInMenu:function(e){return!(this.localSearch.active&&!this.shouldOptionBeIncludedInSearchResult(e))},getControl:function(){return this.$refs.control.$el},getMenu:function(){var e=this.appendToBody?this.$refs.portal.portalTarget:this,t=e.$refs.menu.$refs.menu;return t&&"#comment"!==t.nodeName?t:null},setCurrentHighlightedOption:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.menu.current;if(null!=i&&i in this.forest.nodeMap&&(this.forest.nodeMap[i].isHighlighted=!1),this.menu.current=e.id,e.isHighlighted=!0,this.menu.isOpen&&n){var o=function(){var n=t.getMenu(),i=n.querySelector('.vue-treeselect__option[data-id="'.concat(e.id,'"]'));i&&v(n,i)};this.getMenu()?o():this.$nextTick(o)}},resetHighlightedOptionWhenNecessary:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.menu.current;!e&&null!=t&&t in this.forest.nodeMap&&this.shouldShowOptionInMenu(this.getNode(t))||this.highlightFirstOption()},highlightFirstOption:function(){if(this.hasVisibleOptions){var e=this.visibleOptionIds[0];this.setCurrentHighlightedOption(this.getNode(e))}},highlightPrevOption:function(){if(this.hasVisibleOptions){var e=this.visibleOptionIds.indexOf(this.menu.current)-1;if(-1===e)return this.highlightLastOption();this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[e]))}},highlightNextOption:function(){if(this.hasVisibleOptions){var e=this.visibleOptionIds.indexOf(this.menu.current)+1;if(e===this.visibleOptionIds.length)return this.highlightFirstOption();this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[e]))}},highlightLastOption:function(){if(this.hasVisibleOptions){var e=Q()(this.visibleOptionIds);this.setCurrentHighlightedOption(this.getNode(e))}},resetSearchQuery:function(){this.trigger.searchQuery=""},closeMenu:function(){!this.menu.isOpen||!this.disabled&&this.alwaysOpen||(this.saveMenuScrollPosition(),this.menu.isOpen=!1,this.toggleClickOutsideEvent(!1),this.resetSearchQuery(),this.$emit("close",this.getValue(),this.getInstanceId()))},openMenu:function(){this.disabled||this.menu.isOpen||(this.menu.isOpen=!0,this.$nextTick(this.resetHighlightedOptionWhenNecessary),this.$nextTick(this.restoreMenuScrollPosition),this.options||this.async||this.loadRootOptions(),this.toggleClickOutsideEvent(!0),this.$emit("open",this.getInstanceId()))},toggleMenu:function(){this.menu.isOpen?this.closeMenu():this.openMenu()},toggleExpanded:function(e){var t;this.localSearch.active?(t=e.isExpandedOnSearch=!e.isExpandedOnSearch,t&&(e.showAllChildrenOnSearch=!0)):t=e.isExpanded=!e.isExpanded,t&&!e.childrenStates.isLoaded&&this.loadChildrenOptions(e)},buildForestState:function(){var e=this,t=j();this.forest.selectedNodeIds.forEach((function(e){t[e]=!0})),this.forest.selectedNodeMap=t;var n=j();this.multiple&&(this.traverseAllNodesByIndex((function(e){n[e.id]=Z})),this.selectedNodes.forEach((function(t){n[t.id]=te,e.flat||e.disableBranchNodes||t.ancestors.forEach((function(t){e.isSelected(t)||(n[t.id]=ee)}))}))),this.forest.checkedStateMap=n},enhancedNormalizer:function(e){return we({},e,{},this.normalizer(e,this.getInstanceId()))},normalize:function(e,t,n){var i=this,r=t.map((function(e){return[i.enhancedNormalizer(e),e]})).map((function(t,r){var a=o()(t,2),s=a[0],c=a[1];i.checkDuplication(s),i.verifyNodeShape(s);var u=s.id,d=s.label,h=s.children,p=s.isDefaultExpanded,v=e===J,g=v?0:e.level+1,m=Array.isArray(h)||null===h,b=!m,y=!!s.isDisabled||!i.flat&&!v&&e.isDisabled,S=!!s.isNew,w=i.matchKeys.reduce((function(e,t){return we({},e,l()({},t,xe(s[t]).toLocaleLowerCase()))}),{}),O=v?w.label:e.nestedSearchLabel+" "+w.label,E=i.$set(i.forest.nodeMap,u,j());if(i.$set(E,"id",u),i.$set(E,"label",d),i.$set(E,"level",g),i.$set(E,"ancestors",v?[]:[e].concat(e.ancestors)),i.$set(E,"index",(v?[]:e.index).concat(r)),i.$set(E,"parentNode",e),i.$set(E,"lowerCased",w),i.$set(E,"nestedSearchLabel",O),i.$set(E,"isDisabled",y),i.$set(E,"isNew",S),i.$set(E,"isMatched",!1),i.$set(E,"isHighlighted",!1),i.$set(E,"isBranch",m),i.$set(E,"isLeaf",b),i.$set(E,"isRootNode",v),i.$set(E,"raw",c),m){var _,x=Array.isArray(h);i.$set(E,"childrenStates",we({},_e(),{isLoaded:x})),i.$set(E,"isExpanded","boolean"===typeof p?p:g=0&&o.top<=a||o.top<0&&o.bottom>0,u=l>r+ye,d=s>r+ye;c?"auto"!==e.openDirection?e.menu.placement=Zt[e.openDirection]:e.menu.placement=u||!d?"bottom":"top":e.closeMenu()}},setupMenuSizeWatcher:function(){var e=this.instance,t=e.getMenu();this.menuSizeWatcher||(this.menuSizeWatcher={remove:N(t,this.adjustMenuOpenDirection)})},setupMenuResizeAndScrollEventListeners:function(){var e=this.instance,t=e.getControl();this.menuResizeAndScrollEventListeners||(this.menuResizeAndScrollEventListeners={remove:A(t,this.adjustMenuOpenDirection)})},removeMenuSizeWatcher:function(){this.menuSizeWatcher&&(this.menuSizeWatcher.remove(),this.menuSizeWatcher=null)},removeMenuResizeAndScrollEventListeners:function(){this.menuResizeAndScrollEventListeners&&(this.menuResizeAndScrollEventListeners.remove(),this.menuResizeAndScrollEventListeners=null)}},render:function(){var e=arguments[0];return e("div",{ref:"menu-container",class:"vue-treeselect__menu-container",style:this.menuContainerStyle},[e("transition",{attrs:{name:"vue-treeselect__menu--transition"}},[this.renderMenu()])])}},tn=en,nn=ke(tn,qt,Gt,!1,null,null,null);nn.options.__file="src/components/Menu.vue";var on=nn.exports,rn=n(14),an=n.n(rn);function sn(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 ln(e){for(var t=1;t0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}e.exports=r},ffd6:function(e,t,n){var i=n("3729"),o=n("1310"),r="[object Symbol]";function a(e){return"symbol"==typeof e||o(e)&&i(e)==r}e.exports=a}}]); \ No newline at end of file diff --git a/jbs-front/static/js/chunk-3f93175c.c83fa300.js b/jbs-front/static/js/chunk-3f93175c.909bc2c7.js similarity index 97% rename from jbs-front/static/js/chunk-3f93175c.c83fa300.js rename to jbs-front/static/js/chunk-3f93175c.909bc2c7.js index ab8ae97..c69228d 100644 --- a/jbs-front/static/js/chunk-3f93175c.c83fa300.js +++ b/jbs-front/static/js/chunk-3f93175c.909bc2c7.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3f93175c"],{"4b72":function(e,t,l){"use strict";l.d(t,"k",(function(){return n})),l.d(t,"e",(function(){return o})),l.d(t,"c",(function(){return s}));var a=l("b775"),n=function(e){return Object(a["a"])({url:"/generate/testConnection",method:"post",data:e})},o=function(e){return Object(a["a"])({url:"/generate/getTables",method:"post",data:e})},s=function(e){return Object(a["a"])({url:"/generate/generateModels",method:"post",data:e})}},"76f8":function(e,t,l){"use strict";l.r(t);var a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-card",[l("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[l("el-tab-pane",{attrs:{label:"基本信息",name:"basic"}},[l("basic-info-form",{ref:"basicInfo",attrs:{info:e.info}})],1),l("el-tab-pane",{attrs:{label:"字段信息",name:"cloum"}},[l("el-table",{ref:"dragTable",attrs:{data:e.cloumns,"row-key":"columnId","max-height":e.tableHeight}},[l("el-table-column",{attrs:{label:"序号",type:"index","min-width":"5%","class-name":"allowDrag"}}),l("el-table-column",{attrs:{label:"字段列名",prop:"columnName","min-width":"10%","show-overflow-tooltip":!0}}),l("el-table-column",{attrs:{label:"字段描述","min-width":"10%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-input",{model:{value:t.row.columnComment,callback:function(l){e.$set(t.row,"columnComment",l)},expression:"scope.row.columnComment"}})]}}])}),l("el-table-column",{attrs:{label:"物理类型",prop:"columnType","min-width":"10%","show-overflow-tooltip":!0}}),l("el-table-column",{attrs:{label:"Java类型","min-width":"11%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-select",{model:{value:t.row.javaType,callback:function(l){e.$set(t.row,"javaType",l)},expression:"scope.row.javaType"}},[l("el-option",{attrs:{label:"Long",value:"Long"}}),l("el-option",{attrs:{label:"String",value:"String"}}),l("el-option",{attrs:{label:"Integer",value:"Integer"}}),l("el-option",{attrs:{label:"Double",value:"Double"}}),l("el-option",{attrs:{label:"BigDecimal",value:"BigDecimal"}}),l("el-option",{attrs:{label:"Date",value:"Date"}})],1)]}}])}),l("el-table-column",{attrs:{label:"java属性","min-width":"10%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-input",{model:{value:t.row.javaField,callback:function(l){e.$set(t.row,"javaField",l)},expression:"scope.row.javaField"}})]}}])}),l("el-table-column",{attrs:{label:"插入","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.isInsert,callback:function(l){e.$set(t.row,"isInsert",l)},expression:"scope.row.isInsert"}})]}}])}),l("el-table-column",{attrs:{label:"编辑","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.isEdit,callback:function(l){e.$set(t.row,"isEdit",l)},expression:"scope.row.isEdit"}})]}}])}),l("el-table-column",{attrs:{label:"列表","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.isList,callback:function(l){e.$set(t.row,"isList",l)},expression:"scope.row.isList"}})]}}])}),l("el-table-column",{attrs:{label:"查询","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.isQuery,callback:function(l){e.$set(t.row,"isQuery",l)},expression:"scope.row.isQuery"}})]}}])}),l("el-table-column",{attrs:{label:"查询方式","min-width":"10%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-select",{model:{value:t.row.queryType,callback:function(l){e.$set(t.row,"queryType",l)},expression:"scope.row.queryType"}},[l("el-option",{attrs:{label:"=",value:"EQ"}}),l("el-option",{attrs:{label:"!=",value:"NE"}}),l("el-option",{attrs:{label:">",value:"GT"}}),l("el-option",{attrs:{label:">=",value:"GTE"}}),l("el-option",{attrs:{label:"<",value:"LT"}}),l("el-option",{attrs:{label:"<=",value:"LTE"}}),l("el-option",{attrs:{label:"LIKE",value:"LIKE"}}),l("el-option",{attrs:{label:"BETWEEN",value:"BETWEEN"}})],1)]}}])}),l("el-table-column",{attrs:{label:"必填","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.isRequired,callback:function(l){e.$set(t.row,"isRequired",l)},expression:"scope.row.isRequired"}})]}}])}),l("el-table-column",{attrs:{label:"显示类型","min-width":"12%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-select",{model:{value:t.row.htmlType,callback:function(l){e.$set(t.row,"htmlType",l)},expression:"scope.row.htmlType"}},[l("el-option",{attrs:{label:"文本框",value:"input"}}),l("el-option",{attrs:{label:"文本域",value:"textarea"}}),l("el-option",{attrs:{label:"下拉框",value:"select"}}),l("el-option",{attrs:{label:"单选框",value:"radio"}}),l("el-option",{attrs:{label:"复选框",value:"checkbox"}}),l("el-option",{attrs:{label:"日期控件",value:"datetime"}}),l("el-option",{attrs:{label:"图片上传",value:"imageUpload"}}),l("el-option",{attrs:{label:"文件上传",value:"fileUpload"}}),l("el-option",{attrs:{label:"富文本控件",value:"editor"}})],1)]}}])}),l("el-table-column",{attrs:{label:"字典类型","min-width":"12%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-select",{attrs:{clearable:"",filterable:"",placeholder:"请选择"},model:{value:t.row.dictType,callback:function(l){e.$set(t.row,"dictType",l)},expression:"scope.row.dictType"}},e._l(e.dictOptions,(function(t){return l("el-option",{key:t.dictType,attrs:{label:t.dictName,value:t.dictType}},[l("span",{staticStyle:{float:"left"}},[e._v(e._s(t.dictName))]),l("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.dictType))])])})),1)]}}])})],1)],1),l("el-tab-pane",{attrs:{label:"生成信息",name:"genInfo"}},[l("gen-info-form",{ref:"genInfo",attrs:{info:e.info,tables:e.tables,menus:e.menus}})],1)],1),l("el-form",{attrs:{"label-width":"100px"}},[l("el-form-item",{staticStyle:{"text-align":"center","margin-left":"-100px","margin-top":"10px"}},[l("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("提交")]),l("el-button",{on:{click:function(t){return e.close()}}},[e._v("返回")])],1)],1)],1)},n=[],o=(l("402f"),l("2db5"),l("6ab7"),l("6540"),l("989e"),l("dede"),l("4b72")),s=l("ed45"),r=l("a6dc"),i=l("ed69"),u=l("8586"),c=l("2480"),m={name:"GenEdit",components:{basicInfoForm:i["default"],genInfoForm:u["default"]},data:function(){return{activeName:"cloum",tableHeight:document.documentElement.scrollHeight-245+"px",tables:[],cloumns:[],dictOptions:[],menus:[],info:{}}},created:function(){var e=this,t=this.$route.params&&this.$route.params.tableId;t&&(Object(o["getGenTable"])(t).then((function(t){e.cloumns=t.data.rows,e.info=t.data.info,e.tables=t.data.tables})),Object(s["g"])().then((function(t){e.dictOptions=t.data})),Object(r["d"])().then((function(t){e.menus=e.handleTree(t.data,"menuId")})))},methods:{submitForm:function(){var e=this,t=this.$refs.basicInfo.$refs.basicInfoForm,l=this.$refs.genInfo.$refs.genInfoForm;Promise.all([t,l].map(this.getFormPromise)).then((function(a){var n=a.every((function(e){return!!e}));if(n){var s=Object.assign({},t.model,l.model);s.columns=e.cloumns,s.params={treeCode:s.treeCode,treeName:s.treeName,treeParentCode:s.treeParentCode,parentMenuId:s.parentMenuId},Object(o["updateGenTable"])(s).then((function(t){e.msgSuccess(t.msg),200===t.code&&e.close()}))}else e.msgError("表单校验未通过,请重新检查提交内容")}))},getFormPromise:function(e){return new Promise((function(t){e.validate((function(e){t(e)}))}))},close:function(){this.$store.dispatch("tagsView/delView",this.$route),this.$router.push({path:"/tool/gen",query:{t:Date.now()}})}},mounted:function(){var e=this,t=this.$refs.dragTable.$el.querySelectorAll(".el-table__body-wrapper > table > tbody")[0];c["default"].create(t,{handle:".allowDrag",onEnd:function(t){var l=e.cloumns.splice(t.oldIndex,1)[0];for(var a in e.cloumns.splice(t.newIndex,0,l),e.cloumns)e.cloumns[a].sort=parseInt(a)+1}})}},p=m,f=l("cba8"),d=Object(f["a"])(p,a,n,!1,null,null,null);t["default"]=d.exports},8586:function(e,t,l){"use strict";l.r(t);var a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-form",{ref:"genInfoForm",attrs:{model:e.info,rules:e.rules,"label-width":"150px"}},[l("el-row",[l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"tplCategory"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("生成模板")]),l("el-select",{on:{change:e.tplSelectChange},model:{value:e.info.tplCategory,callback:function(t){e.$set(e.info,"tplCategory",t)},expression:"info.tplCategory"}},[l("el-option",{attrs:{label:"单表(增删改查)",value:"crud"}}),l("el-option",{attrs:{label:"树表(增删改查)",value:"tree"}}),l("el-option",{attrs:{label:"主子表(增删改查)",value:"sub"}})],1)],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"packageName"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 生成包路径 "),l("el-tooltip",{attrs:{content:"生成在哪个java包下,例如 com.ruoyi.system",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-input",{model:{value:e.info.packageName,callback:function(t){e.$set(e.info,"packageName",t)},expression:"info.packageName"}})],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"moduleName"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 生成模块名 "),l("el-tooltip",{attrs:{content:"可理解为子系统名,例如 system",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-input",{model:{value:e.info.moduleName,callback:function(t){e.$set(e.info,"moduleName",t)},expression:"info.moduleName"}})],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"businessName"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 生成业务名 "),l("el-tooltip",{attrs:{content:"可理解为功能英文名,例如 user",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-input",{model:{value:e.info.businessName,callback:function(t){e.$set(e.info,"businessName",t)},expression:"info.businessName"}})],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"functionName"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 生成功能名 "),l("el-tooltip",{attrs:{content:"用作类描述,例如 用户",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-input",{model:{value:e.info.functionName,callback:function(t){e.$set(e.info,"functionName",t)},expression:"info.functionName"}})],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 上级菜单 "),l("el-tooltip",{attrs:{content:"分配到指定菜单下,例如 系统管理",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("treeselect",{attrs:{"append-to-body":!0,options:e.menus,normalizer:e.normalizer,"show-count":!0,placeholder:"请选择系统菜单"},model:{value:e.info.parentMenuId,callback:function(t){e.$set(e.info,"parentMenuId",t)},expression:"info.parentMenuId"}})],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"genType"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 生成代码方式 "),l("el-tooltip",{attrs:{content:"默认为zip压缩包下载,也可以自定义生成路径",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-radio",{attrs:{label:"0"},model:{value:e.info.genType,callback:function(t){e.$set(e.info,"genType",t)},expression:"info.genType"}},[e._v("zip压缩包")]),l("el-radio",{attrs:{label:"1"},model:{value:e.info.genType,callback:function(t){e.$set(e.info,"genType",t)},expression:"info.genType"}},[e._v("自定义路径")])],1)],1),"1"==e.info.genType?l("el-col",{attrs:{span:24}},[l("el-form-item",{attrs:{prop:"genPath"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 自定义路径 "),l("el-tooltip",{attrs:{content:"填写磁盘绝对路径,若不填写,则生成到当前Web项目下",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-input",{model:{value:e.info.genPath,callback:function(t){e.$set(e.info,"genPath",t)},expression:"info.genPath"}},[l("el-dropdown",{attrs:{slot:"append"},slot:"append"},[l("el-button",{attrs:{type:"primary"}},[e._v(" 最近路径快速选择 "),l("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),l("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[l("el-dropdown-item",{nativeOn:{click:function(t){e.info.genPath="/"}}},[e._v("恢复默认的生成基础路径")])],1)],1)],1)],1)],1):e._e()],1),l("el-row",{directives:[{name:"show",rawName:"v-show",value:"tree"==e.info.tplCategory,expression:"info.tplCategory == 'tree'"}]},[l("h4",{staticClass:"form-header"},[e._v("其他信息")]),l("el-col",{attrs:{span:12}},[l("el-form-item",[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 树编码字段 "),l("el-tooltip",{attrs:{content:"树显示的编码字段名, 如:dept_id",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-select",{attrs:{placeholder:"请选择"},model:{value:e.info.treeCode,callback:function(t){e.$set(e.info,"treeCode",t)},expression:"info.treeCode"}},e._l(e.info.columns,(function(e,t){return l("el-option",{key:t,attrs:{label:e.columnName+":"+e.columnComment,value:e.columnName}})})),1)],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 树父编码字段 "),l("el-tooltip",{attrs:{content:"树显示的父编码字段名, 如:parent_Id",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-select",{attrs:{placeholder:"请选择"},model:{value:e.info.treeParentCode,callback:function(t){e.$set(e.info,"treeParentCode",t)},expression:"info.treeParentCode"}},e._l(e.info.columns,(function(e,t){return l("el-option",{key:t,attrs:{label:e.columnName+":"+e.columnComment,value:e.columnName}})})),1)],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 树名称字段 "),l("el-tooltip",{attrs:{content:"树节点的显示名称字段名, 如:dept_name",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-select",{attrs:{placeholder:"请选择"},model:{value:e.info.treeName,callback:function(t){e.$set(e.info,"treeName",t)},expression:"info.treeName"}},e._l(e.info.columns,(function(e,t){return l("el-option",{key:t,attrs:{label:e.columnName+":"+e.columnComment,value:e.columnName}})})),1)],1)],1)],1),l("el-row",{directives:[{name:"show",rawName:"v-show",value:"sub"==e.info.tplCategory,expression:"info.tplCategory == 'sub'"}]},[l("h4",{staticClass:"form-header"},[e._v("关联信息")]),l("el-col",{attrs:{span:12}},[l("el-form-item",[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 关联子表的表名 "),l("el-tooltip",{attrs:{content:"关联子表的表名, 如:sys_user",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-select",{attrs:{placeholder:"请选择"},on:{change:e.subSelectChange},model:{value:e.info.subTableName,callback:function(t){e.$set(e.info,"subTableName",t)},expression:"info.subTableName"}},e._l(e.tables,(function(e,t){return l("el-option",{key:t,attrs:{label:e.tableName+":"+e.tableComment,value:e.tableName}})})),1)],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 子表关联的外键名 "),l("el-tooltip",{attrs:{content:"子表关联的外键名, 如:user_id",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-select",{attrs:{placeholder:"请选择"},model:{value:e.info.subTableFkName,callback:function(t){e.$set(e.info,"subTableFkName",t)},expression:"info.subTableFkName"}},e._l(e.subColumns,(function(e,t){return l("el-option",{key:t,attrs:{label:e.columnName+":"+e.columnComment,value:e.columnName}})})),1)],1)],1)],1)],1)},n=[],o=l("7d66"),s=l.n(o),r=(l("5166"),{name:"BasicInfoForm",components:{Treeselect:s.a},props:{info:{type:Object,default:null},tables:{type:Array,default:null},menus:{type:Array,default:[]}},data:function(){return{subColumns:[],rules:{tplCategory:[{required:!0,message:"请选择生成模板",trigger:"blur"}],packageName:[{required:!0,message:"请输入生成包路径",trigger:"blur"}],moduleName:[{required:!0,message:"请输入生成模块名",trigger:"blur"}],businessName:[{required:!0,message:"请输入生成业务名",trigger:"blur"}],functionName:[{required:!0,message:"请输入生成功能名",trigger:"blur"}]}}},created:function(){},watch:{"info.subTableName":function(e){this.setSubTableColumns(e)}},methods:{normalizer:function(e){return e.children&&!e.children.length&&delete e.children,{id:e.menuId,label:e.menuName,children:e.children}},subSelectChange:function(e){this.info.subTableFkName=""},tplSelectChange:function(e){"sub"!==e&&(this.info.subTableName="",this.info.subTableFkName="")},setSubTableColumns:function(e){for(var t in this.tables){var l=this.tables[t].tableName;if(e===l){this.subColumns=this.tables[t].columns;break}}}}}),i=r,u=l("cba8"),c=Object(u["a"])(i,a,n,!1,null,null,null);t["default"]=c.exports},a6dc:function(e,t,l){"use strict";l.d(t,"d",(function(){return n})),l.d(t,"c",(function(){return o})),l.d(t,"f",(function(){return s})),l.d(t,"e",(function(){return r})),l.d(t,"a",(function(){return i})),l.d(t,"g",(function(){return u})),l.d(t,"b",(function(){return c}));var a=l("b775");function n(e){return Object(a["a"])({url:"/system/menu/list",method:"get",params:e})}function o(e){return Object(a["a"])({url:"/system/menu/"+e,method:"get"})}function s(){return Object(a["a"])({url:"/system/menu/treeselect",method:"get"})}function r(e){return Object(a["a"])({url:"/system/menu/roleMenuTreeselect/"+e,method:"get"})}function i(e){return Object(a["a"])({url:"/system/menu",method:"post",data:e})}function u(e){return Object(a["a"])({url:"/system/menu",method:"put",data:e})}function c(e){return Object(a["a"])({url:"/system/menu/"+e,method:"delete"})}},ed45:function(e,t,l){"use strict";l.d(t,"f",(function(){return n})),l.d(t,"e",(function(){return o})),l.d(t,"a",(function(){return s})),l.d(t,"h",(function(){return r})),l.d(t,"c",(function(){return i})),l.d(t,"b",(function(){return u})),l.d(t,"d",(function(){return c})),l.d(t,"g",(function(){return m}));var a=l("b775");function n(e){return Object(a["a"])({url:"/system/dict/type/list",method:"post",data:e})}function o(e){return Object(a["a"])({url:"/system/dict/type/"+e,method:"get"})}function s(e){return Object(a["a"])({url:"/system/dict/type",method:"post",data:e})}function r(e){return Object(a["a"])({url:"/system/dict/type",method:"put",data:e})}function i(e){return Object(a["a"])({url:"/system/dict/type/"+e,method:"delete"})}function u(){return Object(a["a"])({url:"/system/dict/type/clearCache",method:"delete"})}function c(e){return Object(a["a"])({url:"/system/dict/type/export",method:"get",params:e})}function m(){return Object(a["a"])({url:"/system/dict/type/optionselect",method:"get"})}},ed69:function(e,t,l){"use strict";l.r(t);var a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-form",{ref:"basicInfoForm",attrs:{model:e.info,rules:e.rules,"label-width":"150px"}},[l("el-row",[l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{label:"表名称",prop:"tableName"}},[l("el-input",{attrs:{placeholder:"请输入仓库名称"},model:{value:e.info.tableName,callback:function(t){e.$set(e.info,"tableName",t)},expression:"info.tableName"}})],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{label:"表描述",prop:"tableComment"}},[l("el-input",{attrs:{placeholder:"请输入"},model:{value:e.info.tableComment,callback:function(t){e.$set(e.info,"tableComment",t)},expression:"info.tableComment"}})],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{label:"实体类名称",prop:"className"}},[l("el-input",{attrs:{placeholder:"请输入"},model:{value:e.info.className,callback:function(t){e.$set(e.info,"className",t)},expression:"info.className"}})],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{label:"作者",prop:"functionAuthor"}},[l("el-input",{attrs:{placeholder:"请输入"},model:{value:e.info.functionAuthor,callback:function(t){e.$set(e.info,"functionAuthor",t)},expression:"info.functionAuthor"}})],1)],1),l("el-col",{attrs:{span:24}},[l("el-form-item",{attrs:{label:"备注",prop:"remark"}},[l("el-input",{attrs:{type:"textarea",rows:3},model:{value:e.info.remark,callback:function(t){e.$set(e.info,"remark",t)},expression:"info.remark"}})],1)],1)],1)],1)},n=[],o={name:"BasicInfoForm",props:{info:{type:Object,default:null}},data:function(){return{rules:{tableName:[{required:!0,message:"请输入表名称",trigger:"blur"}],tableComment:[{required:!0,message:"请输入表描述",trigger:"blur"}],className:[{required:!0,message:"请输入实体类名称",trigger:"blur"}],functionAuthor:[{required:!0,message:"请输入作者",trigger:"blur"}]}}}},s=o,r=l("cba8"),i=Object(r["a"])(s,a,n,!1,null,null,null);t["default"]=i.exports}}]); \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3f93175c"],{"4b72":function(e,t,l){"use strict";l.d(t,"k",(function(){return n})),l.d(t,"e",(function(){return o})),l.d(t,"c",(function(){return s}));var a=l("b775"),n=function(e){return Object(a["a"])({url:"/generate/testConnection",method:"post",data:e})},o=function(e){return Object(a["a"])({url:"/generate/getTables",method:"post",data:e})},s=function(e){return Object(a["a"])({url:"/generate/generateModels",method:"post",data:e})}},"76f8":function(e,t,l){"use strict";l.r(t);var a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-card",[l("el-tabs",{model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[l("el-tab-pane",{attrs:{label:"基本信息",name:"basic"}},[l("basic-info-form",{ref:"basicInfo",attrs:{info:e.info}})],1),l("el-tab-pane",{attrs:{label:"字段信息",name:"cloum"}},[l("el-table",{ref:"dragTable",attrs:{data:e.cloumns,"row-key":"columnId","max-height":e.tableHeight}},[l("el-table-column",{attrs:{label:"序号",type:"index","min-width":"5%","class-name":"allowDrag"}}),l("el-table-column",{attrs:{label:"字段列名",prop:"columnName","min-width":"10%","show-overflow-tooltip":!0}}),l("el-table-column",{attrs:{label:"字段描述","min-width":"10%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-input",{model:{value:t.row.columnComment,callback:function(l){e.$set(t.row,"columnComment",l)},expression:"scope.row.columnComment"}})]}}])}),l("el-table-column",{attrs:{label:"物理类型",prop:"columnType","min-width":"10%","show-overflow-tooltip":!0}}),l("el-table-column",{attrs:{label:"Java类型","min-width":"11%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-select",{model:{value:t.row.javaType,callback:function(l){e.$set(t.row,"javaType",l)},expression:"scope.row.javaType"}},[l("el-option",{attrs:{label:"Long",value:"Long"}}),l("el-option",{attrs:{label:"String",value:"String"}}),l("el-option",{attrs:{label:"Integer",value:"Integer"}}),l("el-option",{attrs:{label:"Double",value:"Double"}}),l("el-option",{attrs:{label:"BigDecimal",value:"BigDecimal"}}),l("el-option",{attrs:{label:"Date",value:"Date"}})],1)]}}])}),l("el-table-column",{attrs:{label:"java属性","min-width":"10%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-input",{model:{value:t.row.javaField,callback:function(l){e.$set(t.row,"javaField",l)},expression:"scope.row.javaField"}})]}}])}),l("el-table-column",{attrs:{label:"插入","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.isInsert,callback:function(l){e.$set(t.row,"isInsert",l)},expression:"scope.row.isInsert"}})]}}])}),l("el-table-column",{attrs:{label:"编辑","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.isEdit,callback:function(l){e.$set(t.row,"isEdit",l)},expression:"scope.row.isEdit"}})]}}])}),l("el-table-column",{attrs:{label:"列表","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.isList,callback:function(l){e.$set(t.row,"isList",l)},expression:"scope.row.isList"}})]}}])}),l("el-table-column",{attrs:{label:"查询","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.isQuery,callback:function(l){e.$set(t.row,"isQuery",l)},expression:"scope.row.isQuery"}})]}}])}),l("el-table-column",{attrs:{label:"查询方式","min-width":"10%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-select",{model:{value:t.row.queryType,callback:function(l){e.$set(t.row,"queryType",l)},expression:"scope.row.queryType"}},[l("el-option",{attrs:{label:"=",value:"EQ"}}),l("el-option",{attrs:{label:"!=",value:"NE"}}),l("el-option",{attrs:{label:">",value:"GT"}}),l("el-option",{attrs:{label:">=",value:"GTE"}}),l("el-option",{attrs:{label:"<",value:"LT"}}),l("el-option",{attrs:{label:"<=",value:"LTE"}}),l("el-option",{attrs:{label:"LIKE",value:"LIKE"}}),l("el-option",{attrs:{label:"BETWEEN",value:"BETWEEN"}})],1)]}}])}),l("el-table-column",{attrs:{label:"必填","min-width":"5%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-checkbox",{attrs:{"true-label":"1"},model:{value:t.row.isRequired,callback:function(l){e.$set(t.row,"isRequired",l)},expression:"scope.row.isRequired"}})]}}])}),l("el-table-column",{attrs:{label:"显示类型","min-width":"12%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-select",{model:{value:t.row.htmlType,callback:function(l){e.$set(t.row,"htmlType",l)},expression:"scope.row.htmlType"}},[l("el-option",{attrs:{label:"文本框",value:"input"}}),l("el-option",{attrs:{label:"文本域",value:"textarea"}}),l("el-option",{attrs:{label:"下拉框",value:"select"}}),l("el-option",{attrs:{label:"单选框",value:"radio"}}),l("el-option",{attrs:{label:"复选框",value:"checkbox"}}),l("el-option",{attrs:{label:"日期控件",value:"datetime"}}),l("el-option",{attrs:{label:"图片上传",value:"imageUpload"}}),l("el-option",{attrs:{label:"文件上传",value:"fileUpload"}}),l("el-option",{attrs:{label:"富文本控件",value:"editor"}})],1)]}}])}),l("el-table-column",{attrs:{label:"字典类型","min-width":"12%"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-select",{attrs:{clearable:"",filterable:"",placeholder:"请选择"},model:{value:t.row.dictType,callback:function(l){e.$set(t.row,"dictType",l)},expression:"scope.row.dictType"}},e._l(e.dictOptions,(function(t){return l("el-option",{key:t.dictType,attrs:{label:t.dictName,value:t.dictType}},[l("span",{staticStyle:{float:"left"}},[e._v(e._s(t.dictName))]),l("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.dictType))])])})),1)]}}])})],1)],1),l("el-tab-pane",{attrs:{label:"生成信息",name:"genInfo"}},[l("gen-info-form",{ref:"genInfo",attrs:{info:e.info,tables:e.tables,menus:e.menus}})],1)],1),l("el-form",{attrs:{"label-width":"100px"}},[l("el-form-item",{staticStyle:{"text-align":"center","margin-left":"-100px","margin-top":"10px"}},[l("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm()}}},[e._v("提交")]),l("el-button",{on:{click:function(t){return e.close()}}},[e._v("返回")])],1)],1)],1)},n=[],o=(l("d3b7"),l("3ca3"),l("ddb0"),l("d81d"),l("a434"),l("4e82"),l("4b72")),s=l("ed45"),r=l("a6dc"),i=l("ed69"),u=l("8586"),c=l("aa47"),m={name:"GenEdit",components:{basicInfoForm:i["default"],genInfoForm:u["default"]},data:function(){return{activeName:"cloum",tableHeight:document.documentElement.scrollHeight-245+"px",tables:[],cloumns:[],dictOptions:[],menus:[],info:{}}},created:function(){var e=this,t=this.$route.params&&this.$route.params.tableId;t&&(Object(o["getGenTable"])(t).then((function(t){e.cloumns=t.data.rows,e.info=t.data.info,e.tables=t.data.tables})),Object(s["g"])().then((function(t){e.dictOptions=t.data})),Object(r["d"])().then((function(t){e.menus=e.handleTree(t.data,"menuId")})))},methods:{submitForm:function(){var e=this,t=this.$refs.basicInfo.$refs.basicInfoForm,l=this.$refs.genInfo.$refs.genInfoForm;Promise.all([t,l].map(this.getFormPromise)).then((function(a){var n=a.every((function(e){return!!e}));if(n){var s=Object.assign({},t.model,l.model);s.columns=e.cloumns,s.params={treeCode:s.treeCode,treeName:s.treeName,treeParentCode:s.treeParentCode,parentMenuId:s.parentMenuId},Object(o["updateGenTable"])(s).then((function(t){e.msgSuccess(t.msg),200===t.code&&e.close()}))}else e.msgError("表单校验未通过,请重新检查提交内容")}))},getFormPromise:function(e){return new Promise((function(t){e.validate((function(e){t(e)}))}))},close:function(){this.$store.dispatch("tagsView/delView",this.$route),this.$router.push({path:"/tool/gen",query:{t:Date.now()}})}},mounted:function(){var e=this,t=this.$refs.dragTable.$el.querySelectorAll(".el-table__body-wrapper > table > tbody")[0];c["default"].create(t,{handle:".allowDrag",onEnd:function(t){var l=e.cloumns.splice(t.oldIndex,1)[0];for(var a in e.cloumns.splice(t.newIndex,0,l),e.cloumns)e.cloumns[a].sort=parseInt(a)+1}})}},p=m,f=l("2877"),d=Object(f["a"])(p,a,n,!1,null,null,null);t["default"]=d.exports},8586:function(e,t,l){"use strict";l.r(t);var a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-form",{ref:"genInfoForm",attrs:{model:e.info,rules:e.rules,"label-width":"150px"}},[l("el-row",[l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"tplCategory"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v("生成模板")]),l("el-select",{on:{change:e.tplSelectChange},model:{value:e.info.tplCategory,callback:function(t){e.$set(e.info,"tplCategory",t)},expression:"info.tplCategory"}},[l("el-option",{attrs:{label:"单表(增删改查)",value:"crud"}}),l("el-option",{attrs:{label:"树表(增删改查)",value:"tree"}}),l("el-option",{attrs:{label:"主子表(增删改查)",value:"sub"}})],1)],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"packageName"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 生成包路径 "),l("el-tooltip",{attrs:{content:"生成在哪个java包下,例如 com.ruoyi.system",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-input",{model:{value:e.info.packageName,callback:function(t){e.$set(e.info,"packageName",t)},expression:"info.packageName"}})],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"moduleName"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 生成模块名 "),l("el-tooltip",{attrs:{content:"可理解为子系统名,例如 system",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-input",{model:{value:e.info.moduleName,callback:function(t){e.$set(e.info,"moduleName",t)},expression:"info.moduleName"}})],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"businessName"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 生成业务名 "),l("el-tooltip",{attrs:{content:"可理解为功能英文名,例如 user",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-input",{model:{value:e.info.businessName,callback:function(t){e.$set(e.info,"businessName",t)},expression:"info.businessName"}})],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"functionName"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 生成功能名 "),l("el-tooltip",{attrs:{content:"用作类描述,例如 用户",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-input",{model:{value:e.info.functionName,callback:function(t){e.$set(e.info,"functionName",t)},expression:"info.functionName"}})],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 上级菜单 "),l("el-tooltip",{attrs:{content:"分配到指定菜单下,例如 系统管理",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("treeselect",{attrs:{"append-to-body":!0,options:e.menus,normalizer:e.normalizer,"show-count":!0,placeholder:"请选择系统菜单"},model:{value:e.info.parentMenuId,callback:function(t){e.$set(e.info,"parentMenuId",t)},expression:"info.parentMenuId"}})],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{prop:"genType"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 生成代码方式 "),l("el-tooltip",{attrs:{content:"默认为zip压缩包下载,也可以自定义生成路径",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-radio",{attrs:{label:"0"},model:{value:e.info.genType,callback:function(t){e.$set(e.info,"genType",t)},expression:"info.genType"}},[e._v("zip压缩包")]),l("el-radio",{attrs:{label:"1"},model:{value:e.info.genType,callback:function(t){e.$set(e.info,"genType",t)},expression:"info.genType"}},[e._v("自定义路径")])],1)],1),"1"==e.info.genType?l("el-col",{attrs:{span:24}},[l("el-form-item",{attrs:{prop:"genPath"}},[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 自定义路径 "),l("el-tooltip",{attrs:{content:"填写磁盘绝对路径,若不填写,则生成到当前Web项目下",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-input",{model:{value:e.info.genPath,callback:function(t){e.$set(e.info,"genPath",t)},expression:"info.genPath"}},[l("el-dropdown",{attrs:{slot:"append"},slot:"append"},[l("el-button",{attrs:{type:"primary"}},[e._v(" 最近路径快速选择 "),l("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),l("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[l("el-dropdown-item",{nativeOn:{click:function(t){e.info.genPath="/"}}},[e._v("恢复默认的生成基础路径")])],1)],1)],1)],1)],1):e._e()],1),l("el-row",{directives:[{name:"show",rawName:"v-show",value:"tree"==e.info.tplCategory,expression:"info.tplCategory == 'tree'"}]},[l("h4",{staticClass:"form-header"},[e._v("其他信息")]),l("el-col",{attrs:{span:12}},[l("el-form-item",[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 树编码字段 "),l("el-tooltip",{attrs:{content:"树显示的编码字段名, 如:dept_id",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-select",{attrs:{placeholder:"请选择"},model:{value:e.info.treeCode,callback:function(t){e.$set(e.info,"treeCode",t)},expression:"info.treeCode"}},e._l(e.info.columns,(function(e,t){return l("el-option",{key:t,attrs:{label:e.columnName+":"+e.columnComment,value:e.columnName}})})),1)],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 树父编码字段 "),l("el-tooltip",{attrs:{content:"树显示的父编码字段名, 如:parent_Id",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-select",{attrs:{placeholder:"请选择"},model:{value:e.info.treeParentCode,callback:function(t){e.$set(e.info,"treeParentCode",t)},expression:"info.treeParentCode"}},e._l(e.info.columns,(function(e,t){return l("el-option",{key:t,attrs:{label:e.columnName+":"+e.columnComment,value:e.columnName}})})),1)],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 树名称字段 "),l("el-tooltip",{attrs:{content:"树节点的显示名称字段名, 如:dept_name",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-select",{attrs:{placeholder:"请选择"},model:{value:e.info.treeName,callback:function(t){e.$set(e.info,"treeName",t)},expression:"info.treeName"}},e._l(e.info.columns,(function(e,t){return l("el-option",{key:t,attrs:{label:e.columnName+":"+e.columnComment,value:e.columnName}})})),1)],1)],1)],1),l("el-row",{directives:[{name:"show",rawName:"v-show",value:"sub"==e.info.tplCategory,expression:"info.tplCategory == 'sub'"}]},[l("h4",{staticClass:"form-header"},[e._v("关联信息")]),l("el-col",{attrs:{span:12}},[l("el-form-item",[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 关联子表的表名 "),l("el-tooltip",{attrs:{content:"关联子表的表名, 如:sys_user",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-select",{attrs:{placeholder:"请选择"},on:{change:e.subSelectChange},model:{value:e.info.subTableName,callback:function(t){e.$set(e.info,"subTableName",t)},expression:"info.subTableName"}},e._l(e.tables,(function(e,t){return l("el-option",{key:t,attrs:{label:e.tableName+":"+e.tableComment,value:e.tableName}})})),1)],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",[l("span",{attrs:{slot:"label"},slot:"label"},[e._v(" 子表关联的外键名 "),l("el-tooltip",{attrs:{content:"子表关联的外键名, 如:user_id",placement:"top"}},[l("i",{staticClass:"el-icon-question"})])],1),l("el-select",{attrs:{placeholder:"请选择"},model:{value:e.info.subTableFkName,callback:function(t){e.$set(e.info,"subTableFkName",t)},expression:"info.subTableFkName"}},e._l(e.subColumns,(function(e,t){return l("el-option",{key:t,attrs:{label:e.columnName+":"+e.columnComment,value:e.columnName}})})),1)],1)],1)],1)],1)},n=[],o=l("ca17"),s=l.n(o),r=(l("542c"),{name:"BasicInfoForm",components:{Treeselect:s.a},props:{info:{type:Object,default:null},tables:{type:Array,default:null},menus:{type:Array,default:[]}},data:function(){return{subColumns:[],rules:{tplCategory:[{required:!0,message:"请选择生成模板",trigger:"blur"}],packageName:[{required:!0,message:"请输入生成包路径",trigger:"blur"}],moduleName:[{required:!0,message:"请输入生成模块名",trigger:"blur"}],businessName:[{required:!0,message:"请输入生成业务名",trigger:"blur"}],functionName:[{required:!0,message:"请输入生成功能名",trigger:"blur"}]}}},created:function(){},watch:{"info.subTableName":function(e){this.setSubTableColumns(e)}},methods:{normalizer:function(e){return e.children&&!e.children.length&&delete e.children,{id:e.menuId,label:e.menuName,children:e.children}},subSelectChange:function(e){this.info.subTableFkName=""},tplSelectChange:function(e){"sub"!==e&&(this.info.subTableName="",this.info.subTableFkName="")},setSubTableColumns:function(e){for(var t in this.tables){var l=this.tables[t].tableName;if(e===l){this.subColumns=this.tables[t].columns;break}}}}}),i=r,u=l("2877"),c=Object(u["a"])(i,a,n,!1,null,null,null);t["default"]=c.exports},a6dc:function(e,t,l){"use strict";l.d(t,"d",(function(){return n})),l.d(t,"c",(function(){return o})),l.d(t,"f",(function(){return s})),l.d(t,"e",(function(){return r})),l.d(t,"a",(function(){return i})),l.d(t,"g",(function(){return u})),l.d(t,"b",(function(){return c}));var a=l("b775");function n(e){return Object(a["a"])({url:"/system/menu/list",method:"get",params:e})}function o(e){return Object(a["a"])({url:"/system/menu/"+e,method:"get"})}function s(){return Object(a["a"])({url:"/system/menu/treeselect",method:"get"})}function r(e){return Object(a["a"])({url:"/system/menu/roleMenuTreeselect/"+e,method:"get"})}function i(e){return Object(a["a"])({url:"/system/menu",method:"post",data:e})}function u(e){return Object(a["a"])({url:"/system/menu",method:"put",data:e})}function c(e){return Object(a["a"])({url:"/system/menu/"+e,method:"delete"})}},ed45:function(e,t,l){"use strict";l.d(t,"f",(function(){return n})),l.d(t,"e",(function(){return o})),l.d(t,"a",(function(){return s})),l.d(t,"h",(function(){return r})),l.d(t,"c",(function(){return i})),l.d(t,"b",(function(){return u})),l.d(t,"d",(function(){return c})),l.d(t,"g",(function(){return m}));var a=l("b775");function n(e){return Object(a["a"])({url:"/system/dict/type/list",method:"post",data:e})}function o(e){return Object(a["a"])({url:"/system/dict/type/"+e,method:"get"})}function s(e){return Object(a["a"])({url:"/system/dict/type",method:"post",data:e})}function r(e){return Object(a["a"])({url:"/system/dict/type",method:"put",data:e})}function i(e){return Object(a["a"])({url:"/system/dict/type/"+e,method:"delete"})}function u(){return Object(a["a"])({url:"/system/dict/type/clearCache",method:"delete"})}function c(e){return Object(a["a"])({url:"/system/dict/type/export",method:"get",params:e})}function m(){return Object(a["a"])({url:"/system/dict/type/optionselect",method:"get"})}},ed69:function(e,t,l){"use strict";l.r(t);var a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("el-form",{ref:"basicInfoForm",attrs:{model:e.info,rules:e.rules,"label-width":"150px"}},[l("el-row",[l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{label:"表名称",prop:"tableName"}},[l("el-input",{attrs:{placeholder:"请输入仓库名称"},model:{value:e.info.tableName,callback:function(t){e.$set(e.info,"tableName",t)},expression:"info.tableName"}})],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{label:"表描述",prop:"tableComment"}},[l("el-input",{attrs:{placeholder:"请输入"},model:{value:e.info.tableComment,callback:function(t){e.$set(e.info,"tableComment",t)},expression:"info.tableComment"}})],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{label:"实体类名称",prop:"className"}},[l("el-input",{attrs:{placeholder:"请输入"},model:{value:e.info.className,callback:function(t){e.$set(e.info,"className",t)},expression:"info.className"}})],1)],1),l("el-col",{attrs:{span:12}},[l("el-form-item",{attrs:{label:"作者",prop:"functionAuthor"}},[l("el-input",{attrs:{placeholder:"请输入"},model:{value:e.info.functionAuthor,callback:function(t){e.$set(e.info,"functionAuthor",t)},expression:"info.functionAuthor"}})],1)],1),l("el-col",{attrs:{span:24}},[l("el-form-item",{attrs:{label:"备注",prop:"remark"}},[l("el-input",{attrs:{type:"textarea",rows:3},model:{value:e.info.remark,callback:function(t){e.$set(e.info,"remark",t)},expression:"info.remark"}})],1)],1)],1)],1)},n=[],o={name:"BasicInfoForm",props:{info:{type:Object,default:null}},data:function(){return{rules:{tableName:[{required:!0,message:"请输入表名称",trigger:"blur"}],tableComment:[{required:!0,message:"请输入表描述",trigger:"blur"}],className:[{required:!0,message:"请输入实体类名称",trigger:"blur"}],functionAuthor:[{required:!0,message:"请输入作者",trigger:"blur"}]}}}},s=o,r=l("2877"),i=Object(r["a"])(s,a,n,!1,null,null,null);t["default"]=i.exports}}]); \ No newline at end of file diff --git a/jbs-front/static/js/chunk-42291fe0.60069434.js b/jbs-front/static/js/chunk-42291fe0.60069434.js new file mode 100644 index 0000000..6ac228f --- /dev/null +++ b/jbs-front/static/js/chunk-42291fe0.60069434.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-42291fe0"],{"0046":function(e,t,i){var n=i("6d8b"),a=n.each,r=n.createHashMap,o=i("4f85"),s=i("3301"),l=o.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(e,t){var i=this.getSource();return u(i,this),s(i,this)},getRawIndicesByActiveState:function(e){var t=this.coordinateSystem,i=this.getData(),n=[];return t.eachActiveState(i,(function(t,a){e===t&&n.push(i.getRawIndex(a))})),n},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function u(e,t){if(!e.encodeDefine){var i=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(i){var n=e.encodeDefine=r();a(i.dimensions,(function(e){var t=c(e);n.set(e,t)}))}}}function c(e){return+e.replace("dim","")}e.exports=l},"004f":function(e,t,i){var n=i("6d8b"),a=i("72b6"),r=i("2306"),o=i("a15a"),s=o.createSymbol,l=i("f934"),u=i("cbb0"),c=a.extend({type:"visualMap.piecewise",doRender:function(){var e=this.group;e.removeAll();var t=this.visualMapModel,i=t.get("textGap"),a=t.textStyleModel,o=a.getFont(),s=a.getTextColor(),u=this._getItemAlign(),c=t.itemSize,h=this._getViewData(),d=h.endsText,f=n.retrieve(t.get("showLabel",!0),!d);function p(a){var l=a.piece,h=new r.Group;h.onclick=n.bind(this._onItemClick,this,l),this._enableHoverLink(h,a.indexInModelPieceList);var d=t.getRepresentValue(l);if(this._createItemSymbol(h,d,[0,0,c[0],c[1]]),f){var p=this.visualMapModel.getValueState(d);h.add(new r.Text({style:{x:"right"===u?-i:c[0]+i,y:c[1]/2,text:l.text,textVerticalAlign:"middle",textAlign:u,textFont:o,textFill:s,opacity:"outOfRange"===p?.5:1}}))}e.add(h)}d&&this._renderEndsText(e,d[0],c,f,u),n.each(h.viewPieceList,p,this),d&&this._renderEndsText(e,d[1],c,f,u),l.box(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},_enableHoverLink:function(e,t){function i(e){var i=this.visualMapModel;i.option.hoverLink&&this.api.dispatchAction({type:e,batch:u.makeHighDownBatch(i.findTargetDataIndices(t),i)})}e.on("mouseover",n.bind(i,this,"highlight")).on("mouseout",n.bind(i,this,"downplay"))},_getItemAlign:function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return u.getItemAlign(e,this.api,e.itemSize);var i=t.align;return i&&"auto"!==i||(i="left"),i},_renderEndsText:function(e,t,i,n,a){if(t){var o=new r.Group,s=this.visualMapModel.textStyleModel;o.add(new r.Text({style:{x:n?"right"===a?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:n?a:"center",text:t,textFont:s.getFont(),textFill:s.getTextColor()}})),e.add(o)}},_getViewData:function(){var e=this.visualMapModel,t=n.map(e.getPieceList(),(function(e,t){return{piece:e,indexInModelPieceList:t}})),i=e.get("text"),a=e.get("orient"),r=e.get("inverse");return("horizontal"===a?r:!r)?t.reverse():i&&(i=i.slice().reverse()),{viewPieceList:t,endsText:i}},_createItemSymbol:function(e,t,i){e.add(s(this.getControllerVisual(t,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(t,"color")))},_onItemClick:function(e){var t=this.visualMapModel,i=t.option,a=n.clone(i.selected),r=t.getSelectedMapKey(e);"single"===i.selectedMode?(a[r]=!0,n.each(a,(function(e,t){a[t]=t===r}))):a[r]=!a[r],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:a})}}),h=c;e.exports=h},"007d":function(e,t,i){var n=i("3eba");i("cb8f"),i("a96b"),i("42f6"),n.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),n.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))},"00ba":function(e,t,i){var n=i("3eba"),a=i("6d8b"),r=i("e46b"),o=i("e0d3"),s=o.defaultEmphasis,l=i("0f99"),u=l.makeSeriesEncodeForNameBased,c=i("c4a3"),h=n.extendSeriesModel({type:"series.funnel",init:function(e){h.superApply(this,"init",arguments),this.legendVisualProvider=new c(a.bind(this.getData,this),a.bind(this.getRawData,this)),this._defaultLabelLine(e)},getInitialData:function(e,t){return r(this,{coordDimensions:["value"],encodeDefaulter:a.curry(u,this)})},_defaultLabelLine:function(e){s(e,"labelLine",["show"]);var t=e.labelLine,i=e.emphasis.labelLine;t.show=t.show&&e.label.show,i.show=i.show&&e.emphasis.label.show},getDataParams:function(e){var t=this.getData(),i=h.superCall(this,"getDataParams",e),n=t.mapDimension("value"),a=t.getSum(n);return i.percent=a?+(t.get(n,e)/a*100).toFixed(2):0,i.$vars.push("percent"),i},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),d=h;e.exports=d},"00d8":function(e,t,i){var n=i("6d8b");function a(e,t){return t=t||[0,0],n.map([0,1],(function(i){var n=t[i],a=e[i]/2,r=[],o=[];return r[i]=n-a,o[i]=n+a,r[1-i]=o[1-i]=t[1-i],Math.abs(this.dataToPoint(r)[i]-this.dataToPoint(o)[i])}),this)}function r(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:n.bind(a,e)}}}e.exports=r},"0141":function(e,t,i){var n=i("6d8b"),a=i("9850"),r=i("6cc5"),o=i("5b87");function s(e,t,i,n){r.call(this,e),this.map=t;var a=o.load(t,i);this._nameCoordMap=a.nameCoordMap,this._regionsMap=a.regionsMap,this._invertLongitute=null==n||n,this.regions=a.regions,this._rect=a.boundingRect}function l(e,t,i,n){var a=i.geoModel,r=i.seriesModel,o=a?a.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return o===this?o[e](n):null}s.prototype={constructor:s,type:"geo",dimensions:["lng","lat"],containCoord:function(e){for(var t=this.regions,i=0;i=i)t|=1&e,e>>=1;return e+t}function r(e,t,i,n){var a=t+1;if(a===i)return 1;if(n(e[a++],e[t])<0){while(a=0)a++;return a-t}function o(e,t,i){i--;while(t>>1,a(o,e[r])<0?l=r:s=r+1;var u=n-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:while(u>0)e[s+u]=e[s+u-1],u--}e[s]=o}}function l(e,t,i,n,a,r){var o=0,s=0,l=1;if(r(e,t[i+a])>0){s=n-a;while(l0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}else{s=a+1;while(ls&&(l=s);var u=o;o=a-l,l=a-u}o++;while(o>>1);r(e,t[i+c])>0?o=c+1:l=c}return l}function u(e,t,i,n,a,r){var o=0,s=0,l=1;if(r(e,t[i+a])<0){s=a+1;while(ls&&(l=s);var u=o;o=a-l,l=a-u}else{s=n-a;while(l=0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}o++;while(o>>1);r(e,t[i+c])<0?l=c:o=c+1}return l}function c(e,t){var i,a,r=n,o=0,s=0;o=e.length;var c=[];function h(e,t){i[s]=e,a[s]=t,s+=1}function d(){while(s>1){var e=s-2;if(e>=1&&a[e-1]<=a[e]+a[e+1]||e>=2&&a[e-2]<=a[e]+a[e-1])a[e-1]a[e+1])break;p(e)}}function f(){while(s>1){var e=s-2;e>0&&a[e-1]=n||m>=n);if(v)break;y<0&&(y=0),y+=2}if(r=y,r<1&&(r=1),1===a){for(h=0;h=0;h--)e[m+h]=e[g+h];if(0===a){_=!0;break}}if(e[p--]=c[f--],1===--s){_=!0;break}if(x=s-l(e[d],c,0,s,s-1,t),0!==x){for(p-=x,f-=x,s-=x,m=p+1,g=f+1,h=0;h=n||x>=n);if(_)break;v<0&&(v=0),v+=2}if(r=v,r<1&&(r=1),1===s){for(p-=a,d-=a,m=p+1,g=d+1,h=a-1;h>=0;h--)e[m+h]=e[g+h];e[p]=c[f]}else{if(0===s)throw new Error;for(g=p-(s-1),h=0;h=0;h--)e[m+h]=e[g+h];e[p]=c[f]}else for(g=p-(s-1),h=0;hd&&(f=d),s(e,n,n+f,n+u,t),u=f}h.pushRun(n,u),h.mergeRuns(),l-=u,n+=u}while(0!==l);h.forceMergeRuns()}}e.exports=h},"0655":function(e,t,i){var n=i("8728"),a=1e-8;function r(e,t){return Math.abs(e-t).5?t:e}function d(e,t,i,n,a){var r=e.length;if(1===a)for(var o=0;oa;if(r)e.length=a;else for(var o=n;o=0;i--)if(C[i]<=t)break;i=Math.min(i,b-2)}else{for(i=H;it)break;i=Math.min(i-1,b-2)}H=i,W=t;var n=C[i+1]-C[i];if(0!==n)if(z=(t-C[i])/n,_)if(B=D[i],V=D[0===i?i:i-1],F=D[i>b-2?b-1:i+1],G=D[i>b-3?b-1:i+2],M)g(V,B,F,G,z,z*z,z*z*z,u(e,s),T);else{if(I)a=g(V,B,F,G,z,z*z,z*z*z,U,1),a=y(U);else{if(A)return h(B,F,z);a=m(V,B,F,G,z,z*z,z*z*z)}v(e,s,a)}else if(M)d(D[i],D[i+1],z,u(e,s),T);else{var a;if(I)d(D[i],D[i+1],z,U,1),a=y(U);else{if(A)return h(D[i],D[i+1],z);a=c(D[i],D[i+1],z)}v(e,s,a)}},Y=new n({target:e._target,life:w,loop:e._loop,delay:e._delay,onframe:Z,ondestroy:i});return t&&"spline"!==t&&(Y.easing=t),Y}}}var b=function(e,t,i,n){this._tracks={},this._target=e,this._loop=t||!1,this._getter=i||l,this._setter=n||u,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};b.prototype={when:function(e,t){var i=this._tracks;for(var n in t)if(t.hasOwnProperty(n)){if(!i[n]){i[n]=[];var a=this._getter(this._target,n);if(null==a)continue;0!==e&&i[n].push({time:0,value:v(a)})}i[n].push({time:e,value:t[n]})}return this},during:function(e){return this._onframeList.push(e),this},pause:function(){for(var e=0;et&&(t=n.height)}this.height=t+1},getNodeById:function(e){if(this.getId()===e)return this;for(var t=0,i=this.children,n=i.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,i=t.data.getItemModel(this.dataIndex);return i.getModel(e)}},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){var t=e.parentNode;while(t){if(t===this)return!0;t=t.parentNode}return!1},isDescendantOf:function(e){return e!==this&&e.isAncestorOf(this)}},l.prototype={constructor:l,type:"tree",eachNode:function(e,t,i){this.root.eachNode(e,t,i)},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,i=0,n=t.length;i0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=a.clone(e)},getValueState:function(e){var t=o.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(i){var n=[],a=i.getData();a.each(this.getDataDimension(a),(function(t,i){var a=o.findPieceIndex(t,this._pieceList);a===e&&n.push(i)}),this),t.push({seriesId:i.id,dataIndex:n})}),this),t},getRepresentValue:function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var i=e.interval||[];t=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return t},getVisualMeta:function(e){if(!this.isCategory()){var t=[],i=[],n=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),o=r[r.length-1].interval[1],o!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var s=-1/0;return a.each(r,(function(e){var t=e.interval;t&&(t[0]>s&&l([s,t[0]],"outOfRange"),l(t.slice()),s=t[1])}),this),{stops:t,outerColors:i}}function l(a,r){var o=n.getRepresentValue({interval:a});r||(r=n.getValueState(o));var s=e(o,r);a[0]===-1/0?i[0]=s:a[1]===1/0?i[1]=s:t.push({value:a[0],color:s},{value:a[1],color:s})}}}),h={splitNumber:function(){var e=this.option,t=this._pieceList,i=Math.min(e.precision,20),n=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;var o=(n[1]-n[0])/r;while(+o.toFixed(i)!==o&&i<5)i++;e.precision=i,o=+o.toFixed(i),e.minOpen&&t.push({interval:[-1/0,n[0]],close:[0,0]});for(var s=0,l=n[0];s","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,i)}),this)}};function d(e,t){var i=e.inverse;("vertical"===e.orient?!i:i)&&t.reverse()}var f=c;e.exports=f},"07d7":function(e,t,i){var n=i("6d8b"),a=i("41ef"),r=i("607d"),o=i("65ed"),s=i("22d1"),l=i("eda2"),u=n.each,c=l.toCamelCase,h=["","-webkit-","-moz-","-o-"],d="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function f(e){var t="cubic-bezier(0.23, 1, 0.32, 1)",i="left "+e+"s "+t+",top "+e+"s "+t;return n.map(h,(function(e){return e+"transition:"+i})).join(";")}function p(e){var t=[],i=e.get("fontSize"),n=e.getTextColor();n&&t.push("color:"+n),t.push("font:"+e.getFont());var a=e.get("lineHeight");null==a&&(a=Math.round(3*i/2)),i&&t.push("line-height:"+a+"px");var r=e.get("textShadowColor"),o=e.get("textShadowBlur")||0,s=e.get("textShadowOffsetX")||0,l=e.get("textShadowOffsetY")||0;return o&&t.push("text-shadow:"+s+"px "+l+"px "+o+"px "+r),u(["decoration","align"],(function(i){var n=e.get(i);n&&t.push("text-"+i+":"+n)})),t.join(";")}function g(e){var t=[],i=e.get("transitionDuration"),n=e.get("backgroundColor"),r=e.getModel("textStyle"),o=e.get("padding");return i&&t.push(f(i)),n&&(s.canvasSupported?t.push("background-Color:"+n):(t.push("background-Color:#"+a.toHex(n)),t.push("filter:alpha(opacity=70)"))),u(["width","color","radius"],(function(i){var n="border-"+i,a=c(n),r=e.get(a);null!=r&&t.push(n+":"+r+("color"===i?"":"px"))})),t.push(p(r)),null!=o&&t.push("padding:"+l.normalizeCssArray(o).join("px ")+"px"),t.join(";")+";"}function m(e,t,i,n,a){var r=t&&t.painter;if(i){var s=r&&r.getViewportRoot();s&&o.transformLocalCoord(e,s,document.body,n,a)}else{e[0]=n,e[1]=a;var l=r&&r.getViewportRootOffset();l&&(e[0]+=l.offsetLeft,e[1]+=l.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}function v(e,t,i){if(s.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var a=this._zr=t.getZr(),o=this._appendToBody=i&&i.appendToBody;this._styleCoord=[0,0,0,0],m(this._styleCoord,a,o,t.getWidth()/2,t.getHeight()/2),o?document.body.appendChild(n):e.appendChild(n),this._container=e,this._show=!1,this._hideTimeout;var l=this;n.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},n.onmousemove=function(e){if(e=e||window.event,!l._enterable){var t=a.handler,i=a.painter.getViewportRoot();r.normalizeEvent(i,e,!0),t.dispatch("mousemove",e)}},n.onmouseleave=function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}}v.prototype={constructor:v,_enterable:!0,update:function(e){var t=this._container,i=t.currentStyle||document.defaultView.getComputedStyle(t),n=t.style;"absolute"!==n.position&&"absolute"!==i.position&&(n.position="relative");var a=e.get("alwaysShowContent");a&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var e=this._styleCoord[2],t=this._styleCoord[3],i=e*this._zr.getWidth(),n=t*this._zr.getHeight();this.moveTo(i,n)},show:function(e){clearTimeout(this._hideTimeout);var t=this.el,i=this._styleCoord;t.style.cssText=d+g(e)+";left:"+i[0]+"px;top:"+i[1]+"px;"+(e.get("extraCssText")||""),t.style.display=t.innerHTML?"block":"none",t.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(e){this.el.innerHTML=null==e?"":e},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el;return[e.clientWidth,e.clientHeight]},moveTo:function(e,t){var i=this._styleCoord;m(i,this._zr,this._appendToBody,e,t);var n=this.el.style;n.left=i[0]+"px",n.top=i[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var e=this.el.clientWidth,t=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var i=document.defaultView.getComputedStyle(this.el);i&&(e+=parseInt(i.borderLeftWidth,10)+parseInt(i.borderRightWidth,10),t+=parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10))}return{width:e,height:t}}};var y=v;e.exports=y},"07e6":function(e,t,i){i("4d85"),i("a753")},"0817":function(e,t,i){var n=i("3eba");i("f306"),i("0046"),i("60d7");var a=i("ab71");n.registerVisual(a)},"085d":function(e,t,i){var n=i("3eba");i("bd92"),i("19e2");var a=i("eabf"),r=i("4c99"),o=i("09b1");n.registerPreprocessor(a),n.registerVisual(r),n.registerLayout(o)},"08c3":function(e,t,i){var n=i("6d8b"),a=i("84ce"),r=function(e,t,i,n){a.call(this,e,t,i),this.type=n||"value",this.model=null};r.prototype={constructor:r,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},n.inherits(r,a);var o=r;e.exports=o},"09b1":function(e,t,i){var n=i("2306"),a=n.subPixelOptimize,r=i("cccd"),o=i("3842"),s=o.parsePercent,l=i("6d8b"),u=l.retrieve2,c="undefined"!==typeof Float32Array?Float32Array:Array,h={seriesType:"candlestick",plan:r(),reset:function(e){var t=e.coordinateSystem,i=e.getData(),n=f(e,i),r=0,o=1,s=["x","y"],l=i.mapDimension(s[r]),u=i.mapDimension(s[o],!0),h=u[0],p=u[1],g=u[2],m=u[3];if(i.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),!(null==l||u.length<4))return{progress:e.pipelineContext.large?y:v};function v(e,i){var s;while(null!=(s=e.next())){var u=i.get(l,s),c=i.get(h,s),f=i.get(p,s),v=i.get(g,s),y=i.get(m,s),x=Math.min(c,f),_=Math.max(c,f),b=A(x,u),w=A(_,u),S=A(v,u),M=A(y,u),I=[];T(I,w,0),T(I,b,1),I.push(D(M),D(w),D(S),D(b)),i.setItemLayout(s,{sign:d(i,s,c,f,p),initBaseline:c>f?w[o]:b[o],ends:I,brushRect:C(v,y,u)})}function A(e,i){var n=[];return n[r]=i,n[o]=e,isNaN(i)||isNaN(e)?[NaN,NaN]:t.dataToPoint(n)}function T(e,t,i){var o=t.slice(),s=t.slice();o[r]=a(o[r]+n/2,1,!1),s[r]=a(s[r]-n/2,1,!0),i?e.push(o,s):e.push(s,o)}function C(e,t,i){var a=A(e,i),s=A(t,i);return a[r]-=n/2,s[r]-=n/2,{x:a[0],y:a[1],width:o?n:s[0]-a[0],height:o?s[1]-a[1]:n}}function D(e){return e[r]=a(e[r],1),e}}function y(e,i){var n,a,s=new c(4*e.count),u=0,f=[],v=[];while(null!=(a=e.next())){var y=i.get(l,a),x=i.get(h,a),_=i.get(p,a),b=i.get(g,a),w=i.get(m,a);isNaN(y)||isNaN(b)||isNaN(w)?(s[u++]=NaN,u+=3):(s[u++]=d(i,a,x,_,p),f[r]=y,f[o]=b,n=t.dataToPoint(f,null,v),s[u++]=n?n[0]:NaN,s[u++]=n?n[1]:NaN,f[o]=w,n=t.dataToPoint(f,null,v),s[u++]=n?n[1]:NaN)}i.setLayout("largePoints",s)}}};function d(e,t,i,n,a){var r;return r=i>n?-1:i0?e.get(a,t-1)<=n?1:-1:1,r}function f(e,t){var i,n=e.getBaseAxis(),a="category"===n.type?n.getBandWidth():(i=n.getExtent(),Math.abs(i[1]-i[0])/t.count()),r=s(u(e.get("barMaxWidth"),a),a),o=s(u(e.get("barMinWidth"),1),a),l=e.get("barWidth");return null!=l?s(l,a):Math.max(Math.min(a/2,r),o)}e.exports=h},"0a6d":function(e,t,i){i("e4d1"),i("7f72")},"0b44":function(e,t,i){var n=i("607d"),a=function(){this._track=[]};function r(e){var t=e[1][0]-e[0][0],i=e[1][1]-e[0][1];return Math.sqrt(t*t+i*i)}function o(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}a.prototype={constructor:a,recognize:function(e,t,i){return this._doTrack(e,t,i),this._recognize(e)},clear:function(){return this._track.length=0,this},_doTrack:function(e,t,i){var a=e.touches;if(a){for(var r={points:[],touches:[],target:t,event:e},o=0,s=a.length;o1&&n&&n.length>1){var s=r(n)/r(a);!isFinite(s)&&(s=1),t.pinchScale=s;var l=o(n);return t.pinchX=l[0],t.pinchY=l[1],{type:"pinch",target:e[0].target,event:t}}}}},l=a;e.exports=l},"0b4b":function(e,t,i){i("d28f"),i("f14c"),i("0ee7"),i("ebf9")},"0c12":function(e,t){function i(){}function n(e,t,i,n){for(var a=0,r=t.length,o=0,s=0;a=o&&h+1>=s){for(var d=[],f=0;f=o&&f+1>=s)return n(r,u.components,t,e);c[i]=u}else c[i]=void 0}l++}while(l<=u){var g=p();if(g)return g}},pushComponent:function(e,t,i){var n=e[e.length-1];n&&n.added===t&&n.removed===i?e[e.length-1]={count:n.count+1,added:t,removed:i}:e.push({count:1,added:t,removed:i})},extractCommon:function(e,t,i,n){var a=t.length,r=i.length,o=e.newPos,s=o-n,l=0;while(o+1a&&(a=t);var s=a%2?a+2:a+3;o=[];for(var l=0;l=0)&&(R=e);var N=new l.Text({position:D(t.center.slice()),scale:[1/m.scale[0],1/m.scale[1]],z2:10,silent:!0});if(l.setLabelStyle(N.style,N.hoverStyle={},x,_,{labelFetcher:R,labelDataIndex:E,defaultText:t.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!y){var z=[1/c[0],1/c[1]];l.updateProps(N,{scale:z},e)}i.add(N)}if(s)s.setItemGraphicEl(r,i);else{u=e.getRegionModel(t.name);a.eventData={componentType:"geo",componentIndex:e.componentIndex,geoIndex:e.componentIndex,name:t.name,region:u&&u.option||{}}}var V=i.__regions||(i.__regions=[]);V.push(t),i.highDownSilentOnTouch=!!e.get("selectedMode"),l.setHoverStyle(i,v),h.add(i)})),this._updateController(e,t,i),p(this,e,h,i,a),g(e,h)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&u.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(e){var t=e.map;this._mapName!==t&&n.each(u.makeGraphic(t,this.uid),(function(e){this._backgroundGroup.add(e)}),this),this._mapName=t},_updateController:function(e,t,i){var a=e.coordinateSystem,o=this._controller,l=this._controllerHost;l.zoomLimit=e.get("scaleLimit"),l.zoom=a.getZoom(),o.enable(e.get("roam")||!1);var u=e.mainType;function c(){var t={type:"geoRoam",componentType:u};return t[u+"Id"]=e.id,t}o.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,r.updateViewOnPan(l,e.dx,e.dy),i.dispatchAction(n.extend(c(),{dx:e.dx,dy:e.dy}))}),this),o.off("zoom").on("zoom",(function(e){if(this._mouseDownFlag=!1,r.updateViewOnZoom(l,e.scale,e.originX,e.originY),i.dispatchAction(n.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),o.setPointerChecker((function(t,n,r){return a.getViewRectAfterRoam().contain(n,r)&&!s(t,i,e)}))}};var v=m;e.exports=v},"0cde":function(e,t,i){var n=i("1687"),a=i("401b"),r=n.identity,o=5e-5;function s(e){return e>o||e<-o}var l=function(e){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},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var c=[];u.updateTransform=function(){var e=this.parent,t=e&&e.transform,i=this.needLocalTransform(),a=this.transform;if(i||t){a=a||n.create(),i?this.getLocalTransform(a):r(a),t&&(i?n.mul(a,e.transform,a):n.copy(a,e.transform)),this.transform=a;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(c);var s=c[0]<0?-1:1,l=c[1]<0?-1:1,u=((c[0]-s)*o+s)/c[0]||0,h=((c[1]-l)*o+l)/c[1]||0;a[0]*=u,a[1]*=u,a[2]*=h,a[3]*=h}this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,a)}else a&&r(a)},u.getLocalTransform=function(e){return l.getLocalTransform(this,e)},u.setTransform=function(e){var t=this.transform,i=e.dpr||1;t?e.setTransform(i*t[0],i*t[1],i*t[2],i*t[3],i*t[4],i*t[5]):e.setTransform(i,0,0,i,0,0)},u.restoreTransform=function(e){var t=e.dpr||1;e.setTransform(t,0,0,t,0,0)};var h=[],d=n.create();u.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],i=e[2]*e[2]+e[3]*e[3],n=this.position,a=this.scale;s(t-1)&&(t=Math.sqrt(t)),s(i-1)&&(i=Math.sqrt(i)),e[0]<0&&(t=-t),e[3]<0&&(i=-i),n[0]=e[4],n[1]=e[5],a[0]=t,a[1]=i,this.rotation=Math.atan2(-e[1]/i,e[0]/t)}},u.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(n.mul(h,e.invTransform,t),t=h);var i=this.origin;i&&(i[0]||i[1])&&(d[4]=i[0],d[5]=i[1],n.mul(h,t,d),h[4]-=i[0],h[5]-=i[1],t=h),this.setLocalTransform(t)}},u.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)},u.transformCoordToLocal=function(e,t){var i=[e,t],n=this.invTransform;return n&&a.applyTransform(i,i,n),i},u.transformCoordToGlobal=function(e,t){var i=[e,t],n=this.transform;return n&&a.applyTransform(i,i,n),i},l.getLocalTransform=function(e,t){t=t||[],r(t);var i=e.origin,a=e.scale||[1,1],o=e.rotation||0,s=e.position||[0,0];return i&&(t[4]-=i[0],t[5]-=i[1]),n.scale(t,t,a),o&&n.rotate(t,t,o),i&&(t[4]+=i[0],t[5]+=i[1]),t[4]+=s[0],t[5]+=s[1],t};var f=l;e.exports=f},"0da8":function(e,t,i){var n=i("19eb"),a=i("9850"),r=i("6d8b"),o=i("5e76");function s(e){n.call(this,e)}s.prototype={constructor:s,type:"image",brush:function(e,t){var i=this.style,n=i.image;i.bind(e,this,t);var a=this._image=o.createOrUpdateImage(n,this._image,this,this.onload);if(a&&o.isImageReady(a)){var r=i.x||0,s=i.y||0,l=i.width,u=i.height,c=a.width/a.height;if(null==l&&null!=u?l=u*c:null==u&&null!=l?u=l/c:null==l&&null==u&&(l=a.width,u=a.height),this.setTransform(e),i.sWidth&&i.sHeight){var h=i.sx||0,d=i.sy||0;e.drawImage(a,h,d,i.sWidth,i.sHeight,r,s,l,u)}else if(i.sx&&i.sy){h=i.sx,d=i.sy;var f=l-h,p=u-d;e.drawImage(a,h,d,f,p,r,s,l,u)}else e.drawImage(a,r,s,l,u);null!=i.text&&(this.restoreTransform(e),this.drawRectText(e,this.getBoundingRect()))}},getBoundingRect:function(){var e=this.style;return this._rect||(this._rect=new a(e.x||0,e.y||0,e.width||0,e.height||0)),this._rect}},r.inherits(s,n);var l=s;e.exports=l},"0e0f":function(e,t,i){var n=i("5f14"),a=i("6d8b");function r(e,t){e.eachSeriesByType("sankey",(function(e){var t=e.getGraph(),i=t.nodes;if(i.length){var r=1/0,o=-1/0;a.each(i,(function(e){var t=e.getLayout().value;to&&(o=t)})),a.each(i,(function(t){var i=new n({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:e.get("color")}),a=i.mapValueToVisual(t.getLayout().value),s=t.getModel().get("itemStyle.color");null!=s?t.setVisual("color",s):t.setVisual("color",a)}))}}))}e.exports=r},"0ee7":function(e,t,i){var n=i("6d8b"),a=i("2306"),r=i("f934"),o=i("5e97"),s=a.Group,l=["width","height"],u=["x","y"],c=o.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s),this._showController},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(e,t,i,r,o,s,l){var u=this;c.superCall(this,"renderInner",e,t,i,r,o,s,l);var h=this._controllerGroup,d=t.get("pageIconSize",!0);n.isArray(d)||(d=[d,d]),p("pagePrev",0);var f=t.getModel("pageTextStyle");function p(e,i){var o=e+"DataIndex",s=a.createIcon(t.get("pageIcons",!0)[t.getOrient().name][i],{onclick:n.bind(u._pageGo,u,o,t,r)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});s.name=e,h.add(s)}h.add(new a.Text({name:"pageText",style:{textFill:f.getTextColor(),font:f.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),p("pageNext",1)},layoutInner:function(e,t,i,a,o,s){var c=this.getSelectorGroup(),h=e.getOrient().index,d=l[h],f=u[h],p=l[1-h],g=u[1-h];o&&r.box("horizontal",c,e.get("selectorItemGap",!0));var m=e.get("selectorButtonGap",!0),v=c.getBoundingRect(),y=[-v.x,-v.y],x=n.clone(i);o&&(x[d]=i[d]-v[d]-m);var _=this._layoutContentAndController(e,a,x,h,d,p,g);if(o){if("end"===s)y[h]+=_[d]+m;else{var b=v[d]+m;y[h]-=b,_[f]-=b}_[d]+=v[d]+m,y[1-h]+=_[g]+_[p]/2-v[p]/2,_[p]=Math.max(_[p],v[p]),_[g]=Math.min(_[g],v[g]+y[1-h]),c.attr("position",y)}return _},_layoutContentAndController:function(e,t,i,o,s,l,u){var c=this.getContentGroup(),h=this._containerGroup,d=this._controllerGroup;r.box(e.get("orient"),c,e.get("itemGap"),o?i.width:null,o?null:i.height),r.box("horizontal",d,e.get("pageButtonItemGap",!0));var f=c.getBoundingRect(),p=d.getBoundingRect(),g=this._showController=f[s]>i[s],m=[-f.x,-f.y];t||(m[o]=c.position[o]);var v=[0,0],y=[-p.x,-p.y],x=n.retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(g){var _=e.get("pageButtonPosition",!0);"end"===_?y[o]+=i[s]-p[s]:v[o]+=p[s]+x}y[1-o]+=f[l]/2-p[l]/2,c.attr("position",m),h.attr("position",v),d.attr("position",y);var b={x:0,y:0};if(b[s]=g?i[s]:f[s],b[l]=Math.max(f[l],p[l]),b[u]=Math.min(0,p[u]+y[1-o]),h.__rectSize=i[s],g){var w={x:0,y:0};w[s]=Math.max(i[s]-p[s]-x,0),w[l]=b[l],h.setClipPath(new a.Rect({shape:w})),h.__rectSize=w[s]}else d.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var S=this._getPageInfo(e);return null!=S.pageIndex&&a.updateProps(c,{position:S.contentPosition},!!g&&e),this._updatePageInfoView(e,S),b},_pageGo:function(e,t,i){var n=this._getPageInfo(t)[e];null!=n&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:t.id})},_updatePageInfoView:function(e,t){var i=this._controllerGroup;n.each(["pagePrev","pageNext"],(function(n){var a=null!=t[n+"DataIndex"],r=i.childOfName(n);r&&(r.setStyle("fill",a?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),r.cursor=a?"pointer":"default")}));var a=i.childOfName("pageText"),r=e.get("pageFormatter"),o=t.pageIndex,s=null!=o?o+1:0,l=t.pageCount;a&&r&&a.setStyle("text",n.isString(r)?r.replace("{current}",s).replace("{total}",l):r({current:s,total:l}))},_getPageInfo:function(e){var t=e.get("scrollDataIndex",!0),i=this.getContentGroup(),n=this._containerGroup.__rectSize,a=e.getOrient().index,r=l[a],o=u[a],s=this._findTargetItemIndex(t),c=i.children(),h=c[s],d=c.length,f=d?1:0,p={contentPosition:i.position.slice(),pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return p;var g=_(h);p.contentPosition[a]=-g.s;for(var m=s+1,v=g,y=g,x=null;m<=d;++m)x=_(c[m]),(!x&&y.e>v.s+n||x&&!b(x,v.s))&&(v=y.i>v.i?y:x,v&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=v.i),++p.pageCount)),y=x;for(m=s-1,v=g,y=g,x=null;m>=-1;--m)x=_(c[m]),x&&b(y,x.s)||!(v.i=t&&e.s<=t+n}},_findTargetItemIndex:function(e){if(!this._showController)return 0;var t,i,n=this.getContentGroup();return n.eachChild((function(n,a){var r=n.__legendDataIndex;null==i&&null!=r&&(i=a),r===e&&(t=a)})),null!=t?t:i}}),h=c;e.exports=h},"0f55":function(e,t,i){var n=i("6d8b"),a=i("84ce"),r=function(e,t,i,n,r){a.call(this,e,t,i),this.type=n||"value",this.axisIndex=r};r.prototype={constructor:r,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},n.inherits(r,a);var o=r;e.exports=o},"0f99":function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("e0d3")),r=a.makeInner,o=a.getDataItemValue,s=i("6d8b"),l=s.createHashMap,u=s.each,c=s.map,h=s.isArray,d=s.isString,f=s.isObject,p=s.isTypedArray,g=s.isArrayLike,m=s.extend,v=(s.assert,i("ec6f")),y=i("93d0"),x=y.SOURCE_FORMAT_ORIGINAL,_=y.SOURCE_FORMAT_ARRAY_ROWS,b=y.SOURCE_FORMAT_OBJECT_ROWS,w=y.SOURCE_FORMAT_KEYED_COLUMNS,S=y.SOURCE_FORMAT_UNKNOWN,M=y.SOURCE_FORMAT_TYPED_ARRAY,I=y.SERIES_LAYOUT_BY_ROW,A={Must:1,Might:2,Not:3},T=r();function C(e){var t=e.option.source,i=S;if(p(t))i=M;else if(h(t)){0===t.length&&(i=_);for(var n=0,a=t.length;n0&&(s=this.getLineLength(n)/u*1e3),s!==this._period||l!==this._loop){n.stopAnimation();var d=c;h&&(d=c(i)),n.__t>0&&(d=-s*n.__t),n.__t=0;var f=n.animate("",l).when(s,{__t:1}).delay(d).during((function(){a.updateSymbolPosition(n)}));l||f.done((function(){a.remove(n)})),f.start()}this._period=s,this._loop=l}},h.getLineLength=function(e){return l.dist(e.__p1,e.__cp1)+l.dist(e.__cp1,e.__p2)},h.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]},h.updateData=function(e,t,i){this.childAt(0).updateData(e,t,i),this._updateEffectSymbol(e,t)},h.updateSymbolPosition=function(e){var t=e.__p1,i=e.__p2,n=e.__cp1,a=e.__t,r=e.position,o=[r[0],r[1]],s=u.quadraticAt,c=u.quadraticDerivativeAt;r[0]=s(t[0],n[0],i[0],a),r[1]=s(t[1],n[1],i[1],a);var h=c(t[0],n[0],i[0],a),d=c(t[1],n[1],i[1],a);if(e.rotation=-Math.atan2(d,h)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==e.__lastT&&e.__lastTt[0][1]&&(t[0][1]=r[0]),r[1]t[1][1]&&(t[1][1]=r[1])}return t&&w(t)}};function w(e){return new r(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}t.layoutCovers=p},1111:function(e,t,i){var n=i("3eba");i("67a8"),i("4784");var a=i("7f96"),r=i("87c3");n.registerVisual(a("effectScatter","circle")),n.registerLayout(r("effectScatter"))},"133d":function(e,t,i){var n=i("6d8b"),a=i("e0d3");function r(e,t){var i,r=[],o=e.seriesIndex;if(null==o||!(i=t.getSeriesByIndex(o)))return{point:[]};var s=i.getData(),l=a.queryDataIndex(s,e);if(null==l||l<0||n.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=i.coordinateSystem;if(i.getTooltipPosition)r=i.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)r=c.dataToPoint(s.getValues(n.map(c.dimensions,(function(e){return s.mapDimension(e)})),l,!0))||[];else if(u){var h=u.getBoundingRect().clone();h.applyTransform(u.transform),r=[h.x+h.width/2,h.y+h.height/2]}return{point:r,el:u}}e.exports=r},1418:function(e,t,i){var n=i("6d8b"),a=i("a15a"),r=a.createSymbol,o=i("2306"),s=i("3842"),l=s.parsePercent,u=i("c775"),c=u.getDefaultLabel;function h(e,t,i){o.Group.call(this),this.updateData(e,t,i)}var d=h.prototype,f=h.getSymbolSize=function(e,t){var i=e.getItemVisual(t,"symbolSize");return i instanceof Array?i.slice():[+i,+i]};function p(e){return[e[0]/2,e[1]/2]}function g(e,t){this.parent.drift(e,t)}d._createSymbol=function(e,t,i,n,a){this.removeAll();var o=t.getItemVisual(i,"color"),s=r(e,-1,-1,2,2,o,a);s.attr({z2:100,culling:!0,scale:p(n)}),s.drift=g,this._symbolType=e,this.add(s)},d.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(e)},d.getSymbolPath=function(){return this.childAt(0)},d.getScale=function(){return this.childAt(0).scale},d.highlight=function(){this.childAt(0).trigger("emphasis")},d.downplay=function(){this.childAt(0).trigger("normal")},d.setZ=function(e,t){var i=this.childAt(0);i.zlevel=e,i.z=t},d.setDraggable=function(e){var t=this.childAt(0);t.draggable=e,t.cursor=e?"move":t.cursor},d.updateData=function(e,t,i){this.silent=!1;var n=e.getItemVisual(t,"symbol")||"circle",a=e.hostModel,r=f(e,t),s=n!==this._symbolType;if(s){var l=e.getItemVisual(t,"symbolKeepAspect");this._createSymbol(n,e,t,r,l)}else{var u=this.childAt(0);u.silent=!1,o.updateProps(u,{scale:p(r)},a,t)}if(this._updateCommon(e,t,r,i),s){u=this.childAt(0);var c=i&&i.fadeIn,h={scale:u.scale.slice()};c&&(h.style={opacity:u.style.opacity}),u.scale=[0,0],c&&(u.style.opacity=0),o.initProps(u,h,a,t)}this._seriesModel=a};var m=["itemStyle"],v=["emphasis","itemStyle"],y=["label"],x=["emphasis","label"];function _(e,t){if(!this.incremental&&!this.useHoverLayer)if("emphasis"===t){var i=this.__symbolOriginalScale,n=i[1]/i[0],a={scale:[Math.max(1.1*i[0],i[0]+3),Math.max(1.1*i[1],i[1]+3*n)]};this.animateTo(a,400,"elasticOut")}else"normal"===t&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}d._updateCommon=function(e,t,i,a){var r=this.childAt(0),s=e.hostModel,u=e.getItemVisual(t,"color");"image"!==r.type?r.useStyle({strokeNoScale:!0}):r.setStyle({opacity:1,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var h=a&&a.itemStyle,d=a&&a.hoverItemStyle,f=a&&a.symbolOffset,g=a&&a.labelModel,b=a&&a.hoverLabelModel,w=a&&a.hoverAnimation,S=a&&a.cursorStyle;if(!a||e.hasItemOption){var M=a&&a.itemModel?a.itemModel:e.getItemModel(t);h=M.getModel(m).getItemStyle(["color"]),d=M.getModel(v).getItemStyle(),f=M.getShallow("symbolOffset"),g=M.getModel(y),b=M.getModel(x),w=M.getShallow("hoverAnimation"),S=M.getShallow("cursor")}else d=n.extend({},d);var I=r.style,A=e.getItemVisual(t,"symbolRotate");r.attr("rotation",(A||0)*Math.PI/180||0),f&&r.attr("position",[l(f[0],i[0]),l(f[1],i[1])]),S&&r.attr("cursor",S),r.setColor(u,a&&a.symbolInnerColor),r.setStyle(h);var T=e.getItemVisual(t,"opacity");null!=T&&(I.opacity=T);var C=e.getItemVisual(t,"liftZ"),D=r.__z2Origin;null!=C?null==D&&(r.__z2Origin=r.z2,r.z2+=C):null!=D&&(r.z2=D,r.__z2Origin=null);var L=a&&a.useNameLabel;function P(t,i){return L?e.getName(t):c(e,t)}o.setLabelStyle(I,d,g,b,{labelFetcher:s,labelDataIndex:t,defaultText:P,isRectText:!0,autoColor:u}),r.__symbolOriginalScale=p(i),r.hoverStyle=d,r.highDownOnUpdate=w&&s.isAnimationEnabled()?_:null,o.setHoverStyle(r)},d.fadeOut=function(e,t){var i=this.childAt(0);this.silent=i.silent=!0,(!t||!t.keepLabel)&&(i.style.text=null),o.updateProps(i,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,e)},n.inherits(h,o.Group);var b=h;e.exports=b},1466:function(e,t,i){var n=i("3eba"),a=i("2306"),r=i("6d8b"),o=i("a15a");function s(e){return r.isArray(e)||(e=[+e,+e]),e}var l=n.extendChartView({type:"radar",render:function(e,t,i){var n=e.coordinateSystem,l=this.group,u=e.getData(),c=this._data;function h(e,t){var i=e.getItemVisual(t,"symbol")||"circle",n=e.getItemVisual(t,"color");if("none"!==i){var a=s(e.getItemVisual(t,"symbolSize")),r=o.createSymbol(i,-1,-1,2,2,n),l=e.getItemVisual(t,"symbolRotate")||0;return r.attr({style:{strokeNoScale:!0},z2:100,scale:[a[0]/2,a[1]/2],rotation:l*Math.PI/180||0}),r}}function d(t,i,n,r,o,s){n.removeAll();for(var l=0;l0&&!g.min?g.min=0:null!=g.min&&g.min<0&&!g.max&&(g.max=0);var m=c;if(null!=g.color&&(m=a.defaults({color:g.color},c)),g=a.merge(a.clone(g),{boundaryGap:e,splitNumber:t,scale:i,axisLine:n,axisTick:r,axisType:l,axisLabel:u,name:g.text,nameLocation:"end",nameGap:f,nameTextStyle:m,triggerEvent:p},!1),h||(g.name=""),"string"===typeof d){var v=g.name;g.name=d.replace("{value}",null!=v?v:"")}else"function"===typeof d&&(g.name=d(g.name,g));var y=a.extend(new o(g,null,this.ecModel),s);return y.mainType="radar",y.componentIndex=this.componentIndex,y}),this);this.getIndicatorModels=function(){return g}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:a.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),axisType:"interval",splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}}),h=c;e.exports=h},1792:function(e,t){var i={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function n(e,t){if("china"===e){var n=i[t.name];if(n){var a=t.center;a[0]+=n[0]/10.5,a[1]+=-n[1]/14}}}e.exports=n},"17b8":function(e,t,i){var n=i("3014"),a=n.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});e.exports=a},"17d6":function(e,t,i){var n=i("6d8b"),a=i("22d1"),r=i("e0d3"),o=r.makeInner,s=o(),l=n.each;function u(e,t,i){if(!a.node){var n=t.getZr();s(n).records||(s(n).records={}),c(n,t);var r=s(n).records[e]||(s(n).records[e]={});r.handler=i}}function c(e,t){function i(i,n){e.on(i,(function(i){var a=p(t);l(s(e).records,(function(e){e&&n(e,i,a.dispatchAction)})),h(a.pendings,t)}))}s(e).initialized||(s(e).initialized=!0,i("click",n.curry(f,"click")),i("mousemove",n.curry(f,"mousemove")),i("globalout",d))}function h(e,t){var i,n=e.showTip.length,a=e.hideTip.length;n?i=e.showTip[n-1]:a&&(i=e.hideTip[a-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function d(e,t,i){e.handler("leave",null,i)}function f(e,t,i,n){t.handler(e,i,n)}function p(e){var t={showTip:[],hideTip:[]},i=function(n){var a=t[n.type];a?a.push(n):(n.dispatchAction=i,e.dispatchAction(n))};return{dispatchAction:i,pendings:t}}function g(e,t){if(!a.node){var i=t.getZr(),n=(s(i).records||{})[e];n&&(s(i).records[e]=null)}}t.register=u,t.unregister=g},"18c0":function(e,t,i){var n=i("6d8b"),a=i("e0d8"),r=i("8e43"),o=a.prototype,s=a.extend({type:"ordinal",init:function(e,t){e&&!n.isArray(e)||(e=new r({categories:e})),this._ordinalMeta=e,this._extent=t||[0,e.categories.length-1]},parse:function(e){return"string"===typeof e?this._ordinalMeta.getOrdinal(e):Math.round(e)},contain:function(e){return e=this.parse(e),o.contain.call(this,e)&&null!=this._ordinalMeta.categories[e]},normalize:function(e){return o.normalize.call(this,this.parse(e))},scale:function(e){return Math.round(o.scale.call(this,e))},getTicks:function(){var e=[],t=this._extent,i=t[0];while(i<=t[1])e.push(i),i++;return e},getLabel:function(e){if(!this.isBlank())return this._ordinalMeta.categories[e]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(e,t){this.unionExtent(e.getApproximateExtent(t))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:n.noop,niceExtent:n.noop});s.create=function(){return new s};var l=s;e.exports=l},1953:function(e,t,i){var n=i("2449"),a=n.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});e.exports=a},"19e2":function(e,t,i){var n=i("6d8b"),a=i("e887"),r=i("2306"),o=i("cbe5"),s=i("b0af"),l=s.createClipPath,u=["itemStyle"],c=["emphasis","itemStyle"],h=["color","color0","borderColor","borderColor0"],d=a.extend({type:"candlestick",render:function(e,t,i){this.group.removeClipPath(),this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},incrementalPrepareRender:function(e,t,i){this._clear(),this._updateDrawMode(e)},incrementalRender:function(e,t,i,n){this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},_updateDrawMode:function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(e){var t=e.getData(),i=this._data,n=this.group,a=t.getLayout("isSimpleBox"),o=e.get("clip",!0),s=e.coordinateSystem,l=s.getArea&&s.getArea();this._data||n.removeAll(),t.diff(i).add((function(i){if(t.hasValue(i)){var s,u=t.getItemLayout(i);if(o&&g(l,u))return;s=p(u,i,!0),r.initProps(s,{shape:{points:u.ends}},e,i),m(s,t,i,a),n.add(s),t.setItemGraphicEl(i,s)}})).update((function(s,u){var c=i.getItemGraphicEl(u);if(t.hasValue(s)){var h=t.getItemLayout(s);o&&g(l,h)?n.remove(c):(c?r.updateProps(c,{shape:{points:h.ends}},e,s):c=p(h,s),m(c,t,s,a),n.add(c),t.setItemGraphicEl(s,c))}else n.remove(c)})).remove((function(e){var t=i.getItemGraphicEl(e);t&&n.remove(t)})).execute(),this._data=t},_renderLarge:function(e){this._clear(),x(e,this.group);var t=e.get("clip",!0)?l(e.coordinateSystem,!1,e):null;t?this.group.setClipPath(t):this.group.removeClipPath()},_incrementalRenderNormal:function(e,t){var i,n=t.getData(),a=n.getLayout("isSimpleBox");while(null!=(i=e.next())){var r,o=n.getItemLayout(i);r=p(o,i),m(r,n,i,a),r.incremental=!0,this.group.add(r)}},_incrementalRenderLarge:function(e,t){x(t,this.group,!0)},remove:function(e){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:n.noop}),f=o.extend({type:"normalCandlestickBox",shape:{},buildPath:function(e,t){var i=t.points;this.__simpleBox?(e.moveTo(i[4][0],i[4][1]),e.lineTo(i[6][0],i[6][1])):(e.moveTo(i[0][0],i[0][1]),e.lineTo(i[1][0],i[1][1]),e.lineTo(i[2][0],i[2][1]),e.lineTo(i[3][0],i[3][1]),e.closePath(),e.moveTo(i[4][0],i[4][1]),e.lineTo(i[5][0],i[5][1]),e.moveTo(i[6][0],i[6][1]),e.lineTo(i[7][0],i[7][1]))}});function p(e,t,i){var n=e.ends;return new f({shape:{points:i?v(n,e):n},z2:100})}function g(e,t){for(var i=!0,n=0;n0?"P":"N",r=n.getVisual("borderColor"+a)||n.getVisual("color"+a),o=i.getModel(u).getItemStyle(h);t.useStyle(o),t.style.fill=null,t.style.stroke=r}var b=d;e.exports=b},"19eb":function(e,t,i){var n=i("6d8b"),a=i("2b61"),r=i("d5b7"),o=i("9e2e");function s(e){for(var t in e=e||{},r.call(this,e),e)e.hasOwnProperty(t)&&"style"!==t&&(this[t]=e[t]);this.style=new a(e.style,this),this._rect=null,this.__clipPaths=null}s.prototype={constructor:s,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(e){},afterBrush:function(e){},brush:function(e,t){},getBoundingRect:function(){},contain:function(e,t){return this.rectContain(e,t)},traverse:function(e,t){e.call(t,this)},rectContain:function(e,t){var i=this.transformCoordToLocal(e,t),n=this.getBoundingRect();return n.contain(i[0],i[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(e){return this.animate("style",e)},attrKV:function(e,t){"style"!==e?r.prototype.attrKV.call(this,e,t):this.style.set(t)},setStyle:function(e,t){return this.style.set(e,t),this.dirty(!1),this},useStyle:function(e){return this.style=new a(e,this),this.dirty(!1),this},calculateTextPosition:null},n.inherits(s,r),n.mixin(s,o);var l=s;e.exports=l},"1ab3":function(e,t,i){var n=i("6d8b"),a=i("2306"),r=i("e887");function o(e,t,i,n){var a=t.getData(),r=this.dataIndex,o=a.getName(r),l=t.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:e,name:o,seriesId:t.id}),a.each((function(e){s(a.getItemGraphicEl(e),a.getItemLayout(e),t.isSelected(a.getName(e)),l,i)}))}function s(e,t,i,n,a){var r=(t.startAngle+t.endAngle)/2,o=Math.cos(r),s=Math.sin(r),l=i?n:0,u=[o*l,s*l];a?e.animate().when(200,{position:u}).start("bounceOut"):e.attr("position",u)}function l(e,t){a.Group.call(this);var i=new a.Sector({z2:2}),n=new a.Polyline,r=new a.Text;this.add(i),this.add(n),this.add(r),this.updateData(e,t,!0)}var u=l.prototype;u.updateData=function(e,t,i){var r=this.childAt(0),o=this.childAt(1),l=this.childAt(2),u=e.hostModel,c=e.getItemModel(t),h=e.getItemLayout(t),d=n.extend({},h);d.label=null;var f=u.getShallow("animationTypeUpdate");if(i){r.setShape(d);var p=u.getShallow("animationType");"scale"===p?(r.shape.r=h.r0,a.initProps(r,{shape:{r:h.r}},u,t)):(r.shape.endAngle=h.startAngle,a.updateProps(r,{shape:{endAngle:h.endAngle}},u,t))}else"expansion"===f?r.setShape(d):a.updateProps(r,{shape:d},u,t);var g=e.getItemVisual(t,"color");r.useStyle(n.defaults({lineJoin:"bevel",fill:g},c.getModel("itemStyle").getItemStyle())),r.hoverStyle=c.getModel("emphasis.itemStyle").getItemStyle();var m=c.getShallow("cursor");m&&r.attr("cursor",m),s(this,e.getItemLayout(t),u.isSelected(e.getName(t)),u.get("selectedOffset"),u.get("animation"));var v=!i&&"transition"===f;this._updateLabel(e,t,v),this.highDownOnUpdate=u.get("silent")?null:function(e,t){var i=u.isAnimationEnabled()&&c.get("hoverAnimation");"emphasis"===t?(o.ignore=o.hoverIgnore,l.ignore=l.hoverIgnore,i&&(r.stopAnimation(!0),r.animateTo({shape:{r:h.r+u.get("hoverOffset")}},300,"elasticOut"))):(o.ignore=o.normalIgnore,l.ignore=l.normalIgnore,i&&(r.stopAnimation(!0),r.animateTo({shape:{r:h.r}},300,"elasticOut")))},a.setHoverStyle(this)},u._updateLabel=function(e,t,i){var n=this.childAt(1),r=this.childAt(2),o=e.hostModel,s=e.getItemModel(t),l=e.getItemLayout(t),u=l.label,c=e.getItemVisual(t,"color");if(!u||isNaN(u.x)||isNaN(u.y))r.ignore=r.normalIgnore=r.hoverIgnore=n.ignore=n.normalIgnore=n.hoverIgnore=!0;else{var h={points:u.linePoints||[[u.x,u.y],[u.x,u.y],[u.x,u.y]]},d={x:u.x,y:u.y};i?(a.updateProps(n,{shape:h},o,t),a.updateProps(r,{style:d},o,t)):(n.attr({shape:h}),r.attr({style:d})),r.attr({rotation:u.rotation,origin:[u.x,u.y],z2:10});var f=s.getModel("label"),p=s.getModel("emphasis.label"),g=s.getModel("labelLine"),m=s.getModel("emphasis.labelLine");c=e.getItemVisual(t,"color");a.setLabelStyle(r.style,r.hoverStyle={},f,p,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:u.text,autoColor:c,useInsideStyle:!!u.inside},{textAlign:u.textAlign,textVerticalAlign:u.verticalAlign,opacity:e.getItemVisual(t,"opacity")}),r.ignore=r.normalIgnore=!f.get("show"),r.hoverIgnore=!p.get("show"),n.ignore=n.normalIgnore=!g.get("show"),n.hoverIgnore=!m.get("show"),n.setStyle({stroke:c,opacity:e.getItemVisual(t,"opacity")}),n.setStyle(g.getModel("lineStyle").getLineStyle()),n.hoverStyle=m.getModel("lineStyle").getLineStyle();var v=g.get("smooth");v&&!0===v&&(v=.4),n.setShape({smooth:v})}},n.inherits(l,a.Group);var c=r.extend({type:"pie",init:function(){var e=new a.Group;this._sectorGroup=e},render:function(e,t,i,a){if(!a||a.from!==this.uid){var r=e.getData(),s=this._data,u=this.group,c=t.get("animation"),h=!s,d=e.get("animationType"),f=e.get("animationTypeUpdate"),p=n.curry(o,this.uid,e,c,i),g=e.get("selectedMode");if(r.diff(s).add((function(e){var t=new l(r,e);h&&"scale"!==d&&t.eachChild((function(e){e.stopAnimation(!0)})),g&&t.on("click",p),r.setItemGraphicEl(e,t),u.add(t)})).update((function(e,t){var i=s.getItemGraphicEl(t);h||"transition"===f||i.eachChild((function(e){e.stopAnimation(!0)})),i.updateData(r,e),i.off("click"),g&&i.on("click",p),u.add(i),r.setItemGraphicEl(e,i)})).remove((function(e){var t=s.getItemGraphicEl(e);u.remove(t)})).execute(),c&&r.count()>0&&(h?"scale"!==d:"transition"!==f)){for(var m=r.getItemLayout(0),v=1;isNaN(m.startAngle)&&v=n.r0}}}),h=c;e.exports=h},"1c5f":function(e,t,i){var n=i("401b"),a=i("6d8b"),r=i("0c37"),o=r.getCurvenessForEdge;function s(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var i=e.getGraph();i.eachNode((function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])})),l(i,e)}}function l(e,t){e.eachEdge((function(e,i){var r=a.retrieve3(e.getModel().get("lineStyle.curveness"),-o(e,t,i,!0),0),s=n.clone(e.node1.getLayout()),l=n.clone(e.node2.getLayout()),u=[s,l];+r&&u.push([(s[0]+l[0])/2-(s[1]-l[1])*r,(s[1]+l[1])/2-(l[0]-s[0])*r]),e.setLayout(u)}))}t.simpleLayout=s,t.simpleLayoutEdge=l},"1ccf":function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("6d8b")),r=i("fd27"),o=i("3842"),s=o.parsePercent,l=i("697e"),u=l.createScaleByModel,c=l.niceScaleExtent,h=i("2039"),d=i("ee1a"),f=d.getStackedDimension;function p(e,t,i){var n=t.get("center"),r=i.getWidth(),o=i.getHeight();e.cx=s(n[0],r),e.cy=s(n[1],o);var l=e.getRadiusAxis(),u=Math.min(r,o)/2,c=t.get("radius");null==c?c=[0,"100%"]:a.isArray(c)||(c=[0,c]),c=[s(c[0],u),s(c[1],u)],l.inverse?l.setExtent(c[1],c[0]):l.setExtent(c[0],c[1])}function g(e,t){var i=this,n=i.getAngleAxis(),r=i.getRadiusAxis();if(n.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===i){var t=e.getData();a.each(t.mapDimension("radius",!0),(function(e){r.scale.unionExtentFromData(t,f(t,e))})),a.each(t.mapDimension("angle",!0),(function(e){n.scale.unionExtentFromData(t,f(t,e))}))}})),c(n.scale,n.model),c(r.scale,r.model),"category"===n.type&&!n.onBand){var o=n.getExtent(),s=360/n.scale.count();n.inverse?o[1]+=s:o[1]-=s,n.setExtent(o[0],o[1])}}function m(e,t){if(e.type=t.get("type"),e.scale=u(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),"angleAxis"===t.mainType){e.inverse^=t.get("clockwise");var i=t.get("startAngle");e.setExtent(i,i+(e.inverse?-360:360))}t.axis=e,e.model=t}i("78f0");var v={dimensions:r.prototype.dimensions,create:function(e,t){var i=[];return e.eachComponent("polar",(function(e,n){var a=new r(n);a.update=g;var o=a.getRadiusAxis(),s=a.getAngleAxis(),l=e.findAxisModel("radiusAxis"),u=e.findAxisModel("angleAxis");m(o,l),m(s,u),p(a,e,t),i.push(a),e.coordinateSystem=a,a.model=e})),e.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var i=e.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];t.coordinateSystem=i.coordinateSystem}})),i}};h.register("polar",v)},"1e32":function(e,t,i){var n=i("6d8b"),a=i("3842"),r=a.parsePercent,o=i("ee1a"),s=o.isDimensionStacked;function l(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function u(e,t){return t.dim+e.model.componentIndex}function c(e,t,i){var a={},r=h(n.filter(t.getSeriesByType(e),(function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"polar"===e.coordinateSystem.type})));t.eachSeriesByType(e,(function(e){if("polar"===e.coordinateSystem.type){var t=e.getData(),i=e.coordinateSystem,n=i.getBaseAxis(),o=u(i,n),c=l(e),h=r[o][c],d=h.offset,f=h.width,p=i.getOtherAxis(n),g=e.coordinateSystem.cx,m=e.coordinateSystem.cy,v=e.get("barMinHeight")||0,y=e.get("barMinAngle")||0;a[c]=a[c]||[];for(var x=t.mapDimension(p.dim),_=t.mapDimension(n.dim),b=s(t,x),w="radius"!==n.dim||!e.get("roundCap",!0),S="radius"===p.dim?p.dataToRadius(0):p.dataToAngle(0),M=0,I=t.count();M=0?"p":"n",O=S;if(b&&(a[c][P]||(a[c][P]={p:S,n:S}),O=a[c][P][k]),"radius"===p.dim){var R=p.dataToRadius(L)-S,E=n.dataToAngle(P);Math.abs(R)=a/3?1:2),l=t.y-n(o)*r*(r>=a/3?1:2);o=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+i(o)*r,t.y+n(o)*r),e.lineTo(t.x+i(t.angle)*a,t.y+n(t.angle)*a),e.lineTo(t.x-i(o)*r,t.y-n(o)*r),e.lineTo(s,l)}});e.exports=a},"1f1a":function(e,t,i){var n=i("6d8b"),a=i("e0d3"),r=i("6cb7"),o=i("4319"),s=i("7023"),l=i("eeea"),u=r.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(e){r.prototype.init.apply(this,arguments),a.defaultEmphasis(e,"label",["show"])},optionUpdated:function(){var e=this.option,t=this;e.regions=l.getFilledRegions(e.regions,e.map,e.nameMap),this._optionModelMap=n.reduce(e.regions||[],(function(e,i){return i.name&&e.set(i.name,new o(i,t)),e}),n.createHashMap()),this.updateSelectedMap(e.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(e){return this._optionModelMap.get(e)||new o(null,this,this.ecModel)},getFormattedLabel:function(e,t){t=t||"normal";var i=this.getRegionModel(e),n=i.get(("normal"===t?"":t+".")+"label.formatter"),a={name:e};return"function"===typeof n?(a.status=t,n(a)):"string"===typeof n?n.replace("{a}",null!=e?e:""):void 0},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e}});n.mixin(u,s);var c=u;e.exports=c},"1fab":function(e,t){var i=Array.prototype.slice,n=function(e){this._$handlers={},this._$eventProcessor=e};function a(e,t){var i=e._$eventProcessor;return null!=t&&i&&i.normalizeQuery&&(t=i.normalizeQuery(t)),t}function r(e,t,i,n,r,o){var s=e._$handlers;if("function"===typeof i&&(r=n,n=i,i=null),!n||!t)return e;i=a(e,i),s[t]||(s[t]=[]);for(var l=0;l3&&(a=i.call(a,1));for(var o=t.length,s=0;s4&&(a=i.call(a,1,a.length-1));for(var o=a[a.length-1],s=t.length,l=0;lthis._ux||x(t-this._yi)>this._uy||this._len<5;return this.addData(u.L,e,t),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(e,t):this._ctx.lineTo(e,t)),i&&(this._xi=e,this._yi=t),this},bezierCurveTo:function(e,t,i,n,a,r){return this.addData(u.C,e,t,i,n,a,r),this._ctx&&(this._needsDash()?this._dashedBezierTo(e,t,i,n,a,r):this._ctx.bezierCurveTo(e,t,i,n,a,r)),this._xi=a,this._yi=r,this},quadraticCurveTo:function(e,t,i,n){return this.addData(u.Q,e,t,i,n),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(e,t,i,n):this._ctx.quadraticCurveTo(e,t,i,n)),this._xi=i,this._yi=n,this},arc:function(e,t,i,n,a,r){return this.addData(u.A,e,t,i,i,n,a-n,0,r?0:1),this._ctx&&this._ctx.arc(e,t,i,n,a,r),this._xi=m(a)*i+e,this._yi=v(a)*i+t,this},arcTo:function(e,t,i,n,a){return this._ctx&&this._ctx.arcTo(e,t,i,n,a),this},rect:function(e,t,i,n){return this._ctx&&this._ctx.rect(e,t,i,n),this.addData(u.R,e,t,i,n),this},closePath:function(){this.addData(u.Z);var e=this._ctx,t=this._x0,i=this._y0;return e&&(this._needsDash()&&this._dashedLineTo(t,i),e.closePath()),this._xi=t,this._yi=i,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,i=0;it.length&&(this._expandData(),t=this.data);for(var i=0;i0&&f<=e||c<0&&f>=e||0===c&&(h>0&&m<=t||h<0&&m>=t))n=this._dashIdx,i=o[n],f+=c*i,m+=h*i,this._dashIdx=(n+1)%v,c>0&&fl||h>0&&mu||s[n%2?"moveTo":"lineTo"](c>=0?p(f,e):g(f,e),h>=0?p(m,t):g(m,t));c=f-e,h=m-t,this._dashOffset=-y(c*c+h*h)},_dashedBezierTo:function(e,t,i,a,r,o){var s,l,u,c,h,d=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,m=this._xi,v=this._yi,x=n.cubicAt,_=0,b=this._dashIdx,w=p.length,S=0;for(f<0&&(f=d+f),f%=d,s=0;s<1;s+=.1)l=x(m,e,i,r,s+.1)-x(m,e,i,r,s),u=x(v,t,a,o,s+.1)-x(v,t,a,o,s),_+=y(l*l+u*u);for(;bf)break;s=(S-f)/_;while(s<=1)c=x(m,e,i,r,s),h=x(v,t,a,o,s),b%2?g.moveTo(c,h):g.lineTo(c,h),s+=p[b]/_,b=(b+1)%w;b%2!==0&&g.lineTo(r,o),l=r-c,u=o-h,this._dashOffset=-y(l*l+u*u)},_dashedQuadraticTo:function(e,t,i,n){var a=i,r=n;i=(i+2*e)/3,n=(n+2*t)/3,e=(this._xi+2*e)/3,t=(this._yi+2*t)/3,this._dashedBezierTo(e,t,i,n,a,r)},toStatic:function(){var e=this.data;e instanceof Array&&(e.length=this._len,_&&(this.data=new Float32Array(e)))},getBoundingRect:function(){c[0]=c[1]=d[0]=d[1]=Number.MAX_VALUE,h[0]=h[1]=f[0]=f[1]=-Number.MAX_VALUE;for(var e=this.data,t=0,i=0,n=0,s=0,l=0;ll||x(o-a)>c||d===h-1)&&(e.lineTo(r,o),n=r,a=o);break;case u.C:e.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),n=s[d-2],a=s[d-1];break;case u.Q:e.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),n=s[d-2],a=s[d-1];break;case u.A:var p=s[d++],g=s[d++],y=s[d++],_=s[d++],b=s[d++],w=s[d++],S=s[d++],M=s[d++],I=y>_?y:_,A=y>_?1:y/_,T=y>_?_/y:1,C=Math.abs(y-_)>.001,D=b+w;C?(e.translate(p,g),e.rotate(S),e.scale(A,T),e.arc(0,0,I,b,D,1-M),e.scale(1/A,1/T),e.rotate(-S),e.translate(-p,-g)):e.arc(p,g,I,b,D,1-M),1===d&&(t=m(b)*y+p,i=v(b)*_+g),n=m(D)*y+p,a=v(D)*_+g;break;case u.R:t=n=s[d],i=a=s[d+1],e.rect(s[d++],s[d++],s[d++],s[d++]);break;case u.Z:e.closePath(),n=t,a=i}}}},b.CMD=u;var w=b;e.exports=w},2145:function(e,t){var i={};function n(e,t){i[e]=t}function a(e){return i[e]}t.register=n,t.get=a},2163:function(e,t,i){var n=i("4f85"),a=i("06c7"),r=i("eda2"),o=r.encodeHTML,s=i("4319"),l=n.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(e){var t={name:e.name,children:e.data},i=e.leaves||{},n=new s(i,this,this.ecModel),r=a.createTree(t,this,o);function o(e){e.wrapMethod("getItemModel",(function(e,t){var i=r.getNodeByDataIndex(t);return i.children.length&&i.isExpand||(e.parentModel=n),e}))}var l=0;r.eachNode("preorder",(function(e){e.depth>l&&(l=e.depth)}));var u=e.expandAndCollapse,c=u&&e.initialTreeDepth>=0?e.initialTreeDepth:l;return r.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=c})),r.data},getOrient:function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},formatTooltip:function(e){var t=this.getData().tree,i=t.root.children[0],n=t.getNodeByDataIndex(e),a=n.getValue(),r=n.name;while(n&&n!==i)r=n.parentNode.name+"."+r,n=n.parentNode;return o(r+(isNaN(a)||null==a?"":" : "+a))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});e.exports=l},"216a":function(e,t,i){var n=i("6d8b"),a=i("3842"),r=i("eda2"),o=i("944e"),s=i("89e3"),l=s.prototype,u=Math.ceil,c=Math.floor,h=1e3,d=60*h,f=60*d,p=24*f,g=function(e,t,i,n){while(i>>1;e[a][1]i&&(s=i);var l=v.length,h=g(v,s,0,l),d=v[Math.min(h,l-1)],f=d[1];if("year"===d[0]){var p=r/f,m=a.nice(p/e,!0);f*=m}var y=this.getSetting("useUTC")?0:60*new Date(+n[0]||+n[1]).getTimezoneOffset()*1e3,x=[Math.round(u((n[0]-y)/f)*f+y),Math.round(c((n[1]-y)/f)*f+y)];o.fixExtent(x,n),this._stepLvl=d,this._interval=f,this._niceExtent=x},parse:function(e){return+a.parseDate(e)}});n.each(["contain","normalize"],(function(e){m.prototype[e]=function(t){return l[e].call(this,this.parse(t))}}));var v=[["hh:mm:ss",h],["hh:mm:ss",5*h],["hh:mm:ss",10*h],["hh:mm:ss",15*h],["hh:mm:ss",30*h],["hh:mm\nMM-dd",d],["hh:mm\nMM-dd",5*d],["hh:mm\nMM-dd",10*d],["hh:mm\nMM-dd",15*d],["hh:mm\nMM-dd",30*d],["hh:mm\nMM-dd",f],["hh:mm\nMM-dd",2*f],["hh:mm\nMM-dd",6*f],["hh:mm\nMM-dd",12*f],["MM-dd\nyyyy",p],["MM-dd\nyyyy",2*p],["MM-dd\nyyyy",3*p],["MM-dd\nyyyy",4*p],["MM-dd\nyyyy",5*p],["MM-dd\nyyyy",6*p],["week",7*p],["MM-dd\nyyyy",10*p],["week",14*p],["week",21*p],["month",31*p],["week",42*p],["month",62*p],["week",70*p],["quarter",95*p],["month",31*p*4],["month",31*p*5],["half-year",380*p/2],["month",31*p*8],["month",31*p*10],["year",380*p]];m.create=function(e){return new m({useUTC:e.ecModel.get("useUTC")})};var y=m;e.exports=y},"217b":function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("3301")),r=i("4f85"),o=r.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(e,t){return a(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});e.exports=o},"217c":function(e,t,i){var n=i("6d8b"),a=i("6cb7");i("df3a");var r=a.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){a.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(e){var t=this.option;e&&n.merge(t,e,!0),this._initDimensions()},contains:function(e,t){var i=e.get("parallelIndex");return null!=i&&t.getComponent("parallel",i)===this},setAxisExpand:function(e){n.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])}),this)},_initDimensions:function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],i=n.filter(this.dependentModels.parallelAxis,(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this);n.each(i,(function(i){e.push("dim"+i.get("dim")),t.push(i.componentIndex)}))}});e.exports=r},"22d1":function(e,t){var i={};i="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}:a(navigator.userAgent);var n=i;function a(e){var t={},i={},n=e.match(/Firefox\/([\d.]+)/),a=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),r=e.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(e);return n&&(i.firefox=!0,i.version=n[1]),a&&(i.ie=!0,i.version=a[1]),r&&(i.edge=!0,i.version=r[1]),o&&(i.weChat=!0),{browser:i,os:t,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!i.ie&&!i.edge,pointerEventsSupported:"onpointerdown"in window&&(i.edge||i.ie&&i.version>=11),domSupported:"undefined"!==typeof document}}e.exports=n},"22da":function(e,t,i){var n=i("f934");function a(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var t,i,n=[e];while(t=n.pop())if(i=t.children,t.isExpand&&i.length)for(var a=i.length,r=a-1;r>=0;r--){var o=i[r];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:r,thread:null},n.push(o)}}function r(e,t){var i=e.isExpand?e.children:[],n=e.parentNode.children,a=e.hierNode.i?n[e.hierNode.i-1]:null;if(i.length){c(e);var r=(i[0].hierNode.prelim+i[i.length-1].hierNode.prelim)/2;a?(e.hierNode.prelim=a.hierNode.prelim+t(e,a),e.hierNode.modifier=e.hierNode.prelim-r):e.hierNode.prelim=r}else a&&(e.hierNode.prelim=a.hierNode.prelim+t(e,a));e.parentNode.hierNode.defaultAncestor=h(e,a,e.parentNode.hierNode.defaultAncestor||n[0],t)}function o(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function s(e){return arguments.length?e:m}function l(e,t){var i={};return e-=Math.PI/2,i.x=t*Math.cos(e),i.y=t*Math.sin(e),i}function u(e,t){return n.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function c(e){var t=e.children,i=t.length,n=0,a=0;while(--i>=0){var r=t[i];r.hierNode.prelim+=n,r.hierNode.modifier+=n,a+=r.hierNode.change,n+=r.hierNode.shift+a}}function h(e,t,i,n){if(t){var a=e,r=e,o=r.parentNode.children[0],s=t,l=a.hierNode.modifier,u=r.hierNode.modifier,c=o.hierNode.modifier,h=s.hierNode.modifier;while(s=d(s),r=f(r),s&&r){a=d(a),o=f(o),a.hierNode.ancestor=e;var m=s.hierNode.prelim+h-r.hierNode.prelim-u+n(s,r);m>0&&(g(p(s,e,i),e,m),u+=m,l+=m),h+=s.hierNode.modifier,u+=r.hierNode.modifier,l+=a.hierNode.modifier,c+=o.hierNode.modifier}s&&!d(a)&&(a.hierNode.thread=s,a.hierNode.modifier+=h-l),r&&!f(o)&&(o.hierNode.thread=r,o.hierNode.modifier+=u-c,i=e)}return i}function d(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function f(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function p(e,t,i){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:i}function g(e,t,i){var n=i/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=n,t.hierNode.shift+=i,t.hierNode.modifier+=i,t.hierNode.prelim+=i,e.hierNode.change+=n}function m(e,t){return e.parentNode===t.parentNode?1:2}t.init=a,t.firstWalk=r,t.secondWalk=o,t.separation=s,t.radialCoordinate=l,t.getViewRect=u},2306:function(e,t,i){var n=i("6d8b"),a=i("342d"),r=i("41ef"),o=i("1687"),s=i("401b"),l=i("cbe5"),u=i("0cde"),c=i("0da8");t.Image=c;var h=i("e1fc");t.Group=h;var d=i("76a5");t.Text=d;var f=i("d9fc");t.Circle=f;var p=i("4aa2");t.Sector=p;var g=i("4573");t.Ring=g;var m=i("87b1");t.Polygon=m;var v=i("d498");t.Polyline=v;var y=i("c7a2");t.Rect=y;var x=i("cb11");t.Line=x;var _=i("ac0f");t.BezierCurve=_;var b=i("8d32");t.Arc=b;var w=i("d4c6");t.CompoundPath=w;var S=i("48a9");t.LinearGradient=S;var M=i("dded");t.RadialGradient=M;var I=i("9850");t.BoundingRect=I;var A=i("392f");t.IncrementalDisplayable=A;var T=i("9cf9"),C=Math.max,D=Math.min,L={},P=1,k={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},O="emphasis",R="normal",E=1,N={},z={};function V(e){return l.extend(e)}function B(e,t){return a.extendFromString(e,t)}function F(e,t){z[e]=t}function G(e){if(z.hasOwnProperty(e))return z[e]}function H(e,t,i,n){var r=a.createFromString(e,t);return i&&("center"===n&&(i=U(i,r.getBoundingRect())),Y(r,i)),r}function W(e,t,i){var n=new c({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===i){var a={width:e.width,height:e.height};n.setStyle(U(t,a))}}});return n}function U(e,t){var i,n=t.width/t.height,a=e.height*n;a<=e.width?i=e.height:(a=e.width,i=a/n);var r=e.x+e.width/2,o=e.y+e.height/2;return{x:r-a/2,y:o-i/2,width:a,height:i}}var Z=a.mergePath;function Y(e,t){if(e.applyTransform){var i=e.getBoundingRect(),n=i.calculateTransform(t);e.applyTransform(n)}}function j(e){return T.subPixelOptimizeLine(e.shape,e.shape,e.style),e}function X(e){return T.subPixelOptimizeRect(e.shape,e.shape,e.style),e}var q=T.subPixelOptimize;function K(e){return null!=e&&"none"!==e}var $=n.createHashMap(),J=0;function Q(e){if("string"!==typeof e)return e;var t=$.get(e);return t||(t=r.lift(e,-.1),J<1e4&&($.set(e,t),J++)),t}function ee(e){if(e.__hoverStlDirty){e.__hoverStlDirty=!1;var t=e.__hoverStl;if(t){var i=e.__cachedNormalStl={};e.__cachedNormalZ2=e.z2;var n=e.style;for(var a in t)null!=t[a]&&(i[a]=n[a]);i.fill=n.fill,i.stroke=n.stroke}else e.__cachedNormalStl=e.__cachedNormalZ2=null}}function te(e){var t=e.__hoverStl;if(t&&!e.__highlighted){var i=e.__zr,n=e.useHoverLayer&&i&&"canvas"===i.painter.type;if(e.__highlighted=n?"layer":"plain",!(e.isGroup||!i&&e.useHoverLayer)){var a=e,r=e.style;n&&(a=i.addHover(e),r=a.style),Me(r),n||ee(a),r.extendFrom(t),ie(r,t,"fill"),ie(r,t,"stroke"),Se(r),n||(e.dirty(!1),e.z2+=P)}}}function ie(e,t,i){!K(t[i])&&K(e[i])&&(e[i]=Q(e[i]))}function ne(e){var t=e.__highlighted;if(t&&(e.__highlighted=!1,!e.isGroup))if("layer"===t)e.__zr&&e.__zr.removeHover(e);else{var i=e.style,n=e.__cachedNormalStl;n&&(Me(i),e.setStyle(n),Se(i));var a=e.__cachedNormalZ2;null!=a&&e.z2-a===P&&(e.z2=a)}}function ae(e,t,i){var n,a=R,r=R;e.__highlighted&&(a=O,n=!0),t(e,i),e.__highlighted&&(r=O,n=!0),e.isGroup&&e.traverse((function(e){!e.isGroup&&t(e,i)})),n&&e.__highDownOnUpdate&&e.__highDownOnUpdate(a,r)}function re(e,t){t=e.__hoverStl=!1!==t&&(e.hoverStyle||t||{}),e.__hoverStlDirty=!0,e.__highlighted&&(e.__cachedNormalStl=null,ne(e),te(e))}function oe(e){!ce(this,e)&&!this.__highByOuter&&ae(this,te)}function se(e){!ce(this,e)&&!this.__highByOuter&&ae(this,ne)}function le(e){this.__highByOuter|=1<<(e||0),ae(this,te)}function ue(e){!(this.__highByOuter&=~(1<<(e||0)))&&ae(this,ne)}function ce(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function he(e,t){de(e,!0),ae(e,re,t)}function de(e,t){var i=!1===t;if(e.__highDownSilentOnTouch=e.highDownSilentOnTouch,e.__highDownOnUpdate=e.highDownOnUpdate,!i||e.__highDownDispatcher){var n=i?"off":"on";e[n]("mouseover",oe)[n]("mouseout",se),e[n]("emphasis",le)[n]("normal",ue),e.__highByOuter=e.__highByOuter||0,e.__highDownDispatcher=!i}}function fe(e){return!(!e||!e.__highDownDispatcher)}function pe(e){var t=N[e];return null==t&&E<=32&&(t=N[e]=E++),t}function ge(e,t,i,a,r,o,s){r=r||L;var l,u=r.labelFetcher,c=r.labelDataIndex,h=r.labelDimIndex,d=r.labelProp,f=i.getShallow("show"),p=a.getShallow("show");(f||p)&&(u&&(l=u.getFormattedLabel(c,"normal",null,h,d)),null==l&&(l=n.isFunction(r.defaultText)?r.defaultText(c,r):r.defaultText));var g=f?l:null,m=p?n.retrieve2(u?u.getFormattedLabel(c,"emphasis",null,h,d):null,l):null;null==g&&null==m||(ve(e,i,o,r),ve(t,a,s,r,!0)),e.text=g,t.text=m}function me(e,t,i){var a=e.style;t&&(Me(a),e.setStyle(t),Se(a)),a=e.__hoverStl,i&&a&&(Me(a),n.extend(a,i),Se(a))}function ve(e,t,i,a,r){return xe(e,t,a,r),i&&n.extend(e,i),e}function ye(e,t,i){var n,a={isRectText:!0};!1===i?n=!0:a.autoColor=i,xe(e,t,a,n)}function xe(e,t,i,a){if(i=i||L,i.isRectText){var r;i.getTextPosition?r=i.getTextPosition(t,a):(r=t.getShallow("position")||(a?null:"inside"),"outside"===r&&(r="top")),e.textPosition=r,e.textOffset=t.getShallow("offset");var o=t.getShallow("rotate");null!=o&&(o*=Math.PI/180),e.textRotation=o,e.textDistance=n.retrieve2(t.getShallow("distance"),a?null:5)}var s,l=t.ecModel,u=l&&l.option.textStyle,c=_e(t);if(c)for(var h in s={},c)if(c.hasOwnProperty(h)){var d=t.getModel(["rich",h]);be(s[h]={},d,u,i,a)}return e.rich=s,be(e,t,u,i,a,!0),i.forceRich&&!i.textStyle&&(i.textStyle={}),e}function _e(e){var t;while(e&&e!==e.ecModel){var i=(e.option||L).rich;if(i)for(var n in t=t||{},i)i.hasOwnProperty(n)&&(t[n]=1);e=e.parentModel}return t}function be(e,t,i,a,r,o){i=!r&&i||L,e.textFill=we(t.getShallow("color"),a)||i.color,e.textStroke=we(t.getShallow("textBorderColor"),a)||i.textBorderColor,e.textStrokeWidth=n.retrieve2(t.getShallow("textBorderWidth"),i.textBorderWidth),r||(o&&(e.insideRollbackOpt=a,Se(e)),null==e.textFill&&(e.textFill=a.autoColor)),e.fontStyle=t.getShallow("fontStyle")||i.fontStyle,e.fontWeight=t.getShallow("fontWeight")||i.fontWeight,e.fontSize=t.getShallow("fontSize")||i.fontSize,e.fontFamily=t.getShallow("fontFamily")||i.fontFamily,e.textAlign=t.getShallow("align"),e.textVerticalAlign=t.getShallow("verticalAlign")||t.getShallow("baseline"),e.textLineHeight=t.getShallow("lineHeight"),e.textWidth=t.getShallow("width"),e.textHeight=t.getShallow("height"),e.textTag=t.getShallow("tag"),o&&a.disableBox||(e.textBackgroundColor=we(t.getShallow("backgroundColor"),a),e.textPadding=t.getShallow("padding"),e.textBorderColor=we(t.getShallow("borderColor"),a),e.textBorderWidth=t.getShallow("borderWidth"),e.textBorderRadius=t.getShallow("borderRadius"),e.textBoxShadowColor=t.getShallow("shadowColor"),e.textBoxShadowBlur=t.getShallow("shadowBlur"),e.textBoxShadowOffsetX=t.getShallow("shadowOffsetX"),e.textBoxShadowOffsetY=t.getShallow("shadowOffsetY")),e.textShadowColor=t.getShallow("textShadowColor")||i.textShadowColor,e.textShadowBlur=t.getShallow("textShadowBlur")||i.textShadowBlur,e.textShadowOffsetX=t.getShallow("textShadowOffsetX")||i.textShadowOffsetX,e.textShadowOffsetY=t.getShallow("textShadowOffsetY")||i.textShadowOffsetY}function we(e,t){return"auto"!==e?e:t&&t.autoColor?t.autoColor:null}function Se(e){var t,i=e.textPosition,n=e.insideRollbackOpt;if(n&&null==e.textFill){var a=n.autoColor,r=n.isRectText,o=n.useInsideStyle,s=!1!==o&&(!0===o||r&&i&&"string"===typeof i&&i.indexOf("inside")>=0),l=!s&&null!=a;(s||l)&&(t={textFill:e.textFill,textStroke:e.textStroke,textStrokeWidth:e.textStrokeWidth}),s&&(e.textFill="#fff",null==e.textStroke&&(e.textStroke=a,null==e.textStrokeWidth&&(e.textStrokeWidth=2))),l&&(e.textFill=a)}e.insideRollback=t}function Me(e){var t=e.insideRollback;t&&(e.textFill=t.textFill,e.textStroke=t.textStroke,e.textStrokeWidth=t.textStrokeWidth,e.insideRollback=null)}function Ie(e,t){var i=t&&t.getModel("textStyle");return n.trim([e.fontStyle||i&&i.getShallow("fontStyle")||"",e.fontWeight||i&&i.getShallow("fontWeight")||"",(e.fontSize||i&&i.getShallow("fontSize")||12)+"px",e.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))}function Ae(e,t,i,n,a,r){"function"===typeof a&&(r=a,a=null);var o=n&&n.isAnimationEnabled();if(o){var s=e?"Update":"",l=n.getShallow("animationDuration"+s),u=n.getShallow("animationEasing"+s),c=n.getShallow("animationDelay"+s);"function"===typeof c&&(c=c(a,n.getAnimationDelayParams?n.getAnimationDelayParams(t,a):null)),"function"===typeof l&&(l=l(a)),l>0?t.animateTo(i,l,c||0,u,r,!!r):(t.stopAnimation(),t.attr(i),r&&r())}else t.stopAnimation(),t.attr(i),r&&r()}function Te(e,t,i,n,a){Ae(!0,e,t,i,n,a)}function Ce(e,t,i,n,a){Ae(!1,e,t,i,n,a)}function De(e,t){var i=o.identity([]);while(e&&e!==t)o.mul(i,e.getLocalTransform(),i),e=e.parent;return i}function Le(e,t,i){return t&&!n.isArrayLike(t)&&(t=u.getLocalTransform(t)),i&&(t=o.invert([],t)),s.applyTransform([],e,t)}function Pe(e,t,i){var n=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),a=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),r=["left"===e?-n:"right"===e?n:0,"top"===e?-a:"bottom"===e?a:0];return r=Le(r,t,i),Math.abs(r[0])>Math.abs(r[1])?r[0]>0?"right":"left":r[1]>0?"bottom":"top"}function ke(e,t,i,a){if(e&&t){var r=o(e);t.traverse((function(e){if(!e.isGroup&&e.anid){var t=r[e.anid];if(t){var n=l(e);e.attr(l(t)),Te(e,n,i,e.dataIndex)}}}))}function o(e){var t={};return e.traverse((function(e){!e.isGroup&&e.anid&&(t[e.anid]=e)})),t}function l(e){var t={position:s.clone(e.position),rotation:e.rotation};return e.shape&&(t.shape=n.extend({},e.shape)),t}}function Oe(e,t){return n.map(e,(function(e){var i=e[0];i=C(i,t.x),i=D(i,t.x+t.width);var n=e[1];return n=C(n,t.y),n=D(n,t.y+t.height),[i,n]}))}function Re(e,t){var i=C(e.x,t.x),n=D(e.x+e.width,t.x+t.width),a=C(e.y,t.y),r=D(e.y+e.height,t.y+t.height);if(n>=i&&r>=a)return{x:i,y:a,width:n-i,height:r-a}}function Ee(e,t,i){t=n.extend({rectHover:!0},t);var a=t.style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(a.image=e.slice(8),n.defaults(a,i),new c(t)):H(e.replace("path://",""),t,i,"center")}function Ne(e,t,i,n,a){for(var r=0,o=a[a.length-1];r1)return!1;var m=Ve(f,p,c,h)/d;return!(m<0||m>1)}function Ve(e,t,i,n){return e*n-i*t}function Be(e){return e<=1e-6&&e>=-1e-6}F("circle",f),F("sector",p),F("ring",g),F("polygon",m),F("polyline",v),F("rect",y),F("line",x),F("bezierCurve",_),F("arc",b),t.Z2_EMPHASIS_LIFT=P,t.CACHED_LABEL_STYLE_PROPERTIES=k,t.extendShape=V,t.extendPath=B,t.registerShape=F,t.getShapeClass=G,t.makePath=H,t.makeImage=W,t.mergePath=Z,t.resizePath=Y,t.subPixelOptimizeLine=j,t.subPixelOptimizeRect=X,t.subPixelOptimize=q,t.setElementHoverStyle=re,t.setHoverStyle=he,t.setAsHighDownDispatcher=de,t.isHighDownDispatcher=fe,t.getHighlightDigit=pe,t.setLabelStyle=ge,t.modifyLabelStyle=me,t.setTextStyle=ve,t.setText=ye,t.getFont=Ie,t.updateProps=Te,t.initProps=Ce,t.getTransform=De,t.applyTransform=Le,t.transformDirection=Pe,t.groupTransition=ke,t.clipPointsByRect=Oe,t.clipRectByRect=Re,t.createIcon=Ee,t.linePolygonIntersect=Ne,t.lineLineIntersect=ze},2325:function(e,t,i){var n=i("6d8b"),a=i("607d"),r=i("2306"),o=i("88b3"),s=i("7dcf"),l=i("3842"),u=i("f934"),c=i("ef6a"),h=r.Rect,d=l.linearMap,f=l.asc,p=n.bind,g=n.each,m=7,v=1,y=30,x="horizontal",_="vertical",b=5,w=["line","bar","candlestick","scatter"],S=s.extend({type:"dataZoom.slider",init:function(e,t){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=t},render:function(e,t,i,n){S.superApply(this,"render",arguments),o.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=e.get("orient"),!1!==this.dataZoomModel.get("show")?(n&&"dataZoom"===n.type&&n.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){S.superApply(this,"remove",arguments),o.clear(this,"_dispatchZoomAction")},dispose:function(){S.superApply(this,"dispose",arguments),o.clear(this,"_dispatchZoomAction")},_buildView:function(){var e=this.group;e.removeAll(),this._resetLocation(),this._resetInterval();var t=this._displayables.barGroup=new r.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},_resetLocation:function(){var e=this.dataZoomModel,t=this.api,i=this._findCoordRect(),a={width:t.getWidth(),height:t.getHeight()},r=this._orient===x?{right:a.width-i.x-i.width,top:a.height-y-m,width:i.width,height:y}:{right:m,top:i.y,width:y,height:i.height},o=u.getLayoutParams(e.option);n.each(["right","top","width","height"],(function(e){"ph"===o[e]&&(o[e]=r[e])}));var s=u.getLayoutRect(o,a,e.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===_&&this._size.reverse()},_positionGroup:function(){var e=this.group,t=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),a=n&&n.get("inverse"),r=this._displayables.barGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;r.attr(i!==x||a?i===x&&a?{scale:o?[-1,1]:[-1,-1]}:i!==_||a?{scale:o?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:o?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:o?[1,1]:[1,-1]});var s=e.getBoundingRect([r]);e.attr("position",[t.x-s.x,t.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var e=this.dataZoomModel,t=this._size,i=this._displayables.barGroup;i.add(new h({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40})),i.add(new h({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:n.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(e){var t=this._size,i=e.series,a=i.getRawData(),o=i.getShadowDim?i.getShadowDim():e.otherDim;if(null!=o){var s=a.getDataExtent(o),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,c=[0,t[1]],h=[0,t[0]],f=[[t[0],0],[0,0]],p=[],g=h[1]/(a.count()-1),m=0,v=Math.round(a.count()/t[0]);a.each([o],(function(e,t){if(v>0&&t%v)m+=g;else{var i=null==e||isNaN(e)||""===e,n=i?0:d(e,s,c,!0);i&&!u&&t?(f.push([f[f.length-1][0],0]),p.push([p[p.length-1][0],0])):!i&&u&&(f.push([m,0]),p.push([m,0])),f.push([m,n]),p.push([m,n]),m+=g,u=i}}));var y=this.dataZoomModel;this._displayables.barGroup.add(new r.Polygon({shape:{points:f},style:n.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new r.Polyline({shape:{points:p},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var i,a=this.ecModel;return e.eachTargetAxis((function(r,o){var s=e.getAxisProxy(r.name,o).getTargetSeriesModels();n.each(s,(function(e){if(!i&&!(!0!==t&&n.indexOf(w,e.get("type"))<0)){var s,l=a.getComponent(r.axis,o).axis,u=M(r.name),c=e.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=e.getData().mapDimension(u),i={thisAxis:l,series:e,thisDim:r.name,otherDim:u,otherAxisInverse:s}}}),this)}),this),i}},_renderHandle:function(){var e=this._displayables,t=e.handles=[],i=e.handleLabels=[],n=this._displayables.barGroup,a=this._size,o=this.dataZoomModel;n.add(e.filler=new h({draggable:!0,cursor:I(this._orient),drift:p(this._onDragMove,this,"all"),ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:o.get("fillerColor"),textPosition:"inside"}})),n.add(new h({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{stroke:o.get("dataBackgroundColor")||o.get("borderColor"),lineWidth:v,fill:"rgba(0,0,0,0)"}})),g([0,1],(function(e){var a=r.createIcon(o.get("handleIcon"),{cursor:I(this._orient),draggable:!0,drift:p(this._onDragMove,this,e),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=a.getBoundingRect();this._handleHeight=l.parsePercent(o.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,a.setStyle(o.getModel("handleStyle").getItemStyle());var u=o.get("handleColor");null!=u&&(a.style.fill=u),n.add(t[e]=a);var c=o.textStyleModel;this.group.add(i[e]=new r.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:c.getTextColor(),textFont:c.getFont()},z2:10}))}),this)},_resetInterval:function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[d(e[0],[0,100],t,!0),d(e[1],[0,100],t,!0)]},_updateInterval:function(e,t){var i=this.dataZoomModel,n=this._handleEnds,a=this._getViewExtent(),r=i.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];c(t,n,a,i.get("zoomLock")?"all":e,null!=r.minSpan?d(r.minSpan,o,a,!0):null,null!=r.maxSpan?d(r.maxSpan,o,a,!0):null);var s=this._range,l=this._range=f([d(n[0],a,o,!0),d(n[1],a,o,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(e){var t=this._displayables,i=this._handleEnds,n=f(i.slice()),a=this._size;g([0,1],(function(e){var n=t.handles[e],r=this._handleHeight;n.attr({scale:[r/2,r/2],position:[i[e],a[1]/2-r/2]})}),this),t.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:a[1]}),this._updateDataInfo(e)},_updateDataInfo:function(e){var t=this.dataZoomModel,i=this._displayables,n=i.handleLabels,a=this._orient,o=["",""];if(t.get("showDetail")){var s=t.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=e?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();o=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var h=f(this._handleEnds.slice());function d(e){var t=r.getTransform(i.handles[e].parent,this.group),s=r.transformDirection(0===e?"right":"left",t),l=this._handleWidth/2+b,u=r.applyTransform([h[e]+(0===e?-l:l),this._size[1]/2],t);n[e].setStyle({x:u[0],y:u[1],textVerticalAlign:a===x?"middle":s,textAlign:a===x?s:"center",text:o[e]})}d.call(this,0),d.call(this,1)},_formatLabel:function(e,t){var i=this.dataZoomModel,a=i.get("labelFormatter"),r=i.get("labelPrecision");null!=r&&"auto"!==r||(r=t.getPixelPrecision());var o=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel(Math.round(e)):e.toFixed(Math.min(r,20));return n.isFunction(a)?a(e,o):n.isString(a)?a.replace("{value}",o):o},_showDataInfo:function(e){e=this._dragging||e;var t=this._displayables.handleLabels;t[0].attr("invisible",!e),t[1].attr("invisible",!e)},_onDragMove:function(e,t,i,n){this._dragging=!0,a.stop(n.event);var o=this._displayables.barGroup.getLocalTransform(),s=r.applyTransform([t,i],o,!0),l=this._updateInterval(e,s[0]),u=this.dataZoomModel.get("realtime");this._updateView(!u),l&&u&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var e=this.dataZoomModel.get("realtime");!e&&this._dispatchZoomAction()},_onClickPanelClick:function(e){var t=this._size,i=this._displayables.barGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(i[0]<0||i[0]>t[0]||i[1]<0||i[1]>t[1])){var n=this._handleEnds,a=(n[0]+n[1])/2,r=this._updateInterval("all",i[0]-a);this._updateView(),r&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:e[0],end:e[1]})},_findCoordRect:function(){var e;if(g(this.getTargetCoordInfo(),(function(t){if(!e&&t.length){var i=t[0].model.coordinateSystem;e=i.getRect&&i.getRect()}})),!e){var t=this.api.getWidth(),i=this.api.getHeight();e={x:.2*t,y:.2*i,width:.6*t,height:.6*i}}return e}});function M(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function I(e){return"vertical"===e?"ns-resize":"ew-resize"}var A=S;e.exports=A},"237f":function(e,t,i){var n=i("6d8b"),a=i("6179"),r=i("7368"),o=i("31d9"),s=i("b1d4"),l=i("2039"),u=i("3301");function c(e,t,i,c,h){for(var d=new r(c),f=0;f "+x)),m++)}var _,b=i.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(e,i);else{var w=l.get(b),S=w&&"view"!==w.type&&w.dimensions||[];n.indexOf(S,"value")<0&&S.concat(["value"]);var M=s(e,{coordDimensions:S});_=new a(M,i),_.initData(e)}var I=new a(["value"],i);return I.initData(g,p),h&&h(_,I),o({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:I},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}e.exports=c},"23e0":function(e,t,i){var n=i("6d8b"),a=i("7887"),r=i("89e3"),o=i("3842"),s=i("697e"),l=s.getScaleExtent,u=s.niceScaleExtent,c=i("2039"),h=i("8c2a");function d(e,t,i){this._model=e,this.dimensions=[],this._indicatorAxes=n.map(e.getIndicatorModels(),(function(e,t){var i="indicator_"+t,n=new a(i,"log"===e.get("axisType")?new h:new r);return n.name=e.get("name"),n.model=e,e.axis=n,this.dimensions.push(i),n}),this),this.resize(e,i),this.cx,this.cy,this.r,this.r0,this.startAngle}d.prototype.getIndicatorAxes=function(){return this._indicatorAxes},d.prototype.dataToPoint=function(e,t){var i=this._indicatorAxes[t];return this.coordToPoint(i.dataToCoord(e),t)},d.prototype.coordToPoint=function(e,t){var i=this._indicatorAxes[t],n=i.angle,a=this.cx+e*Math.cos(n),r=this.cy-e*Math.sin(n);return[a,r]},d.prototype.pointToData=function(e){var t=e[0]-this.cx,i=e[1]-this.cy,n=Math.sqrt(t*t+i*i);t/=n,i/=n;for(var a,r=Math.atan2(-i,t),o=1/0,s=-1,l=0;li[0]&&isFinite(g)&&isFinite(i[0]))}else{var f=a.getTicks().length-1;f>r&&(d=s(d));var p=Math.ceil(i[1]/d)*d,g=o.round(p-d*r);a.setExtent(g,p),a.setInterval(d)}}))},d.dimensions=[],d.create=function(e,t){var i=[];return e.eachComponent("radar",(function(n){var a=new d(n,e,t);i.push(a),n.coordinateSystem=a})),e.eachSeriesByType("radar",(function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=i[e.get("radarIndex")||0])})),i},c.register("radar",d);var f=d;e.exports=f},"23ee":function(e,t,i){var n=i("3eba");i("879e"),i("9704"),i("d747");var a=i("675a"),r=i("7f96"),o=i("2943"),s=i("de6e"),l=i("d357"),u=i("adda"),c=i("5866"),h=i("7b0c");n.registerProcessor(a),n.registerVisual(r("graph","circle",null)),n.registerVisual(o),n.registerVisual(s),n.registerLayout(l),n.registerLayout(n.PRIORITY.VISUAL.POST_CHART_LAYOUT,u),n.registerLayout(c),n.registerCoordinateSystem("graphView",{create:h})},2449:function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("3eba")),r=i("6d8b"),o=i("22d1"),s=i("e0d3"),l=i("eda2"),u=i("38a2"),c=l.addCommas,h=l.encodeHTML;function d(e){s.defaultEmphasis(e,"label",["show"])}var f=a.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(e,t,i){this.mergeDefaultAndTheme(e,i),this._mergeOption(e,i,!1,!0)},isAnimationEnabled:function(){if(o.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,i,n){var a=this.constructor,o=this.mainType+"Model";i||t.eachSeries((function(e){var i=e.get(this.mainType,!0),s=e[o];i&&i.data?(s?s._mergeOption(i,t,!0):(n&&d(i),r.each(i.data,(function(e){e instanceof Array?(d(e[0]),d(e[1])):d(e)})),s=new a(i,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,t,i,n){var a=this.getData(),o=this.getRawValue(e),s=r.isArray(o)?r.map(o,c).join(", "):c(o),l=a.getName(e),u=h(this.name),d="html"===n?"
":"\n";return(null!=o||l)&&(u+=d),l&&(u+=h(l),null!=o&&(u+=" : ")),null!=o&&(u+=h(s)),u},getData:function(){return this._data},setData:function(e){this._data=e}});r.mixin(f,u);var p=f;e.exports=p},"24b9":function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("f934")),r=i("3842"),o=r.parsePercent,s=r.linearMap;function l(e,t){return a.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function u(e,t){for(var i=e.mapDimension("value"),n=e.mapArray(i,(function(e){return e})),a=[],r="ascending"===t,o=0,s=e.count();o=0||a&&n.indexOf(a,s)<0)){var l=t.getShallow(s);null!=l&&(r[e[o][0]]=l)}}return r}}e.exports=a},"292e":function(e,t,i){var n=i("3842"),a=n.parsePercent,r=n.linearMap,o=i("f934"),s=i("bb70"),l=i("6d8b"),u=2*Math.PI,c=Math.PI/180;function h(e,t){return o.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function d(e,t,i,n){t.eachSeriesByType(e,(function(e){var t=e.getData(),n=t.mapDimension("value"),o=h(e,i),d=e.get("center"),f=e.get("radius");l.isArray(f)||(f=[0,f]),l.isArray(d)||(d=[d,d]);var p=a(o.width,i.getWidth()),g=a(o.height,i.getHeight()),m=Math.min(p,g),v=a(d[0],p)+o.x,y=a(d[1],g)+o.y,x=a(f[0],m/2),_=a(f[1],m/2),b=-e.get("startAngle")*c,w=e.get("minAngle")*c,S=0;t.each(n,(function(e){!isNaN(e)&&S++}));var M=t.getSum(n),I=Math.PI/(M||S)*2,A=e.get("clockwise"),T=e.get("roseType"),C=e.get("stillShowZeroSum"),D=t.getDataExtent(n);D[0]=0;var L=u,P=0,k=b,O=A?1:-1;if(t.each(n,(function(e,i){var n;if(isNaN(e))t.setItemLayout(i,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:A,cx:v,cy:y,r0:x,r:T?NaN:_,viewRect:o});else{n="area"!==T?0===M&&C?I:e*I:u/S,n0},extendFrom:function(e,t){if(e)for(var i in e)!e.hasOwnProperty(i)||!0!==t&&(!1===t?this.hasOwnProperty(i):null==e[i])||(this[i]=e[i])},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,i){for(var n="radial"===t.type?u:l,a=n(e,t,i),r=t.colorStops,o=0;o=4&&(u={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(u&&null!=o&&null!=l&&(c=F(u,o,l),!t.ignoreViewBox)){var f=a;a=new n,a.add(f),f.scale=c.scale.slice(),f.position=c.position.slice()}return t.ignoreRootClip||null==o||null==l||a.setClipPath(new s({shape:{x:0,y:0,width:o,height:l}})),{root:a,width:o,height:l,viewBoxRect:u,viewBoxTransform:c}},A.prototype._parseNode=function(e,t){var i,n=e.nodeName.toLowerCase();if("defs"===n?this._isDefine=!0:"text"===n&&(this._isText=!0),this._isDefine){var a=C[n];if(a){var r=a.call(this,e),o=e.getAttribute("id");o&&(this._defs[o]=r)}}else{a=T[n];a&&(i=a.call(this,e,t),t.add(i))}var s=e.firstChild;while(s)1===s.nodeType&&this._parseNode(s,i),3===s.nodeType&&this._isText&&this._parseText(s,i),s=s.nextSibling;"defs"===n?this._isDefine=!1:"text"===n&&(this._isText=!1)},A.prototype._parseText=function(e,t){if(1===e.nodeType){var i=e.getAttribute("dx")||0,n=e.getAttribute("dy")||0;this._textX+=parseFloat(i),this._textY+=parseFloat(n)}var a=new r({style:{text:e.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});L(t,a),O(e,a,this._defs);var o=a.style.fontSize;o&&o<9&&(a.style.fontSize=9,a.scale=a.scale||[1,1],a.scale[0]*=o/9,a.scale[1]*=o/9);var s=a.getBoundingRect();return this._textX+=s.width,t.add(a),a};var T={g:function(e,t){var i=new n;return L(t,i),O(e,i,this._defs),i},rect:function(e,t){var i=new s;return L(t,i),O(e,i,this._defs),i.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)}),i},circle:function(e,t){var i=new o;return L(t,i),O(e,i,this._defs),i.setShape({cx:parseFloat(e.getAttribute("cx")||0),cy:parseFloat(e.getAttribute("cy")||0),r:parseFloat(e.getAttribute("r")||0)}),i},line:function(e,t){var i=new u;return L(t,i),O(e,i,this._defs),i.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)}),i},ellipse:function(e,t){var i=new l;return L(t,i),O(e,i,this._defs),i.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)}),i},polygon:function(e,t){var i=e.getAttribute("points");i&&(i=P(i));var n=new h({shape:{points:i||[]}});return L(t,n),O(e,n,this._defs),n},polyline:function(e,t){var i=new c;L(t,i),O(e,i,this._defs);var n=e.getAttribute("points");n&&(n=P(n));var a=new d({shape:{points:n||[]}});return a},image:function(e,t){var i=new a;return L(t,i),O(e,i,this._defs),i.setStyle({image:e.getAttribute("xlink:href"),x:e.getAttribute("x"),y:e.getAttribute("y"),width:e.getAttribute("width"),height:e.getAttribute("height")}),i},text:function(e,t){var i=e.getAttribute("x")||0,a=e.getAttribute("y")||0,r=e.getAttribute("dx")||0,o=e.getAttribute("dy")||0;this._textX=parseFloat(i)+parseFloat(r),this._textY=parseFloat(a)+parseFloat(o);var s=new n;return L(t,s),O(e,s,this._defs),s},tspan:function(e,t){var i=e.getAttribute("x"),a=e.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=a&&(this._textY=parseFloat(a));var r=e.getAttribute("dx")||0,o=e.getAttribute("dy")||0,s=new n;return L(t,s),O(e,s,this._defs),this._textX+=r,this._textY+=o,s},path:function(e,t){var i=e.getAttribute("d")||"",n=v(i);return L(t,n),O(e,n,this._defs),n}},C={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||0,10),i=parseInt(e.getAttribute("y1")||0,10),n=parseInt(e.getAttribute("x2")||10,10),a=parseInt(e.getAttribute("y2")||0,10),r=new f(t,i,n,a);return D(e,r),r},radialgradient:function(e){}};function D(e,t){var i=e.firstChild;while(i){if(1===i.nodeType){var n=i.getAttribute("offset");n=n.indexOf("%")>0?parseInt(n,10)/100:n?parseFloat(n):0;var a=i.getAttribute("stop-color")||"#000000";t.addColorStop(n,a)}i=i.nextSibling}}function L(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),b(t.__inheritedStyle,e.__inheritedStyle))}function P(e){for(var t=w(e).split(M),i=[],n=0;n0;r-=2){var o=a[r],s=a[r-1];switch(n=n||g.create(),s){case"translate":o=w(o).split(M),g.translate(n,n,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=w(o).split(M),g.scale(n,n,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=w(o).split(M),g.rotate(n,n,parseFloat(o[0]));break;case"skew":o=w(o).split(M),console.warn("Skew transform is not supported yet");break;case"matrix":o=w(o).split(M);n[0]=parseFloat(o[0]),n[1]=parseFloat(o[1]),n[2]=parseFloat(o[2]),n[3]=parseFloat(o[3]),n[4]=parseFloat(o[4]),n[5]=parseFloat(o[5]);break}}t.setLocalTransform(n)}}var V=/([^\s:;]+)\s*:\s*([^:;]+)/g;function B(e){var t=e.getAttribute("style"),i={};if(!t)return i;var n,a={};V.lastIndex=0;while(null!=(n=V.exec(t)))a[n[1]]=n[2];for(var r in k)k.hasOwnProperty(r)&&null!=a[r]&&(i[k[r]]=a[r]);return i}function F(e,t,i){var n=t/e.width,a=i/e.height,r=Math.min(n,a),o=[r,r],s=[-(e.x+e.width/2)*r+t/2,-(e.y+e.height/2)*r+i/2];return{scale:o,position:s}}function G(e,t){var i=new A;return i.parse(e,t)}t.parseXML=I,t.makeViewBoxTransform=F,t.parseSVG=G},"307a":function(e,t,i){var n=i("6d8b"),a=i("eaea"),r=i("3842"),o=[20,140],s=a.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(e,t){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var e=this.itemSize;"horizontal"===this._orient&&e.reverse(),(null==e[0]||isNaN(e[0]))&&(e[0]=o[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=o[1])},_resetRange:function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):n.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},completeVisualOption:function(){a.prototype.completeVisualOption.apply(this,arguments),n.each(this.stateList,(function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=0)}),this)},setSelected:function(e){this.option.range=e.slice(),this._resetRange()},getSelected:function(){var e=this.getExtent(),t=r.asc((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]=i[1]||e<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(i){var n=[],a=i.getData();a.each(this.getDataDimension(a),(function(t,i){e[0]<=t&&t<=e[1]&&n.push(i)}),this),t.push({seriesId:i.id,dataIndex:n})}),this),t},getVisualMeta:function(e){var t=l(this,"outOfRange",this.getExtent()),i=l(this,"inRange",this.option.range.slice()),n=[];function a(t,i){n.push({value:t,color:e(t,i)})}for(var r=0,o=0,s=i.length,u=t.length;o=0&&"number"===typeof u&&(u=+u.toFixed(Math.min(v,20))),g.coord[f]=m.coord[f]=u,a=[g,m,{type:s,valueIndex:a.valueIndex,value:u}]}return a=[o.dataTransform(e,a[0]),o.dataTransform(e,a[1]),n.extend({},a[2])],a[2].type=a[2].type||"",n.merge(a[2],a[0]),n.merge(a[2],a[1]),a};function d(e){return!isNaN(e)&&!isFinite(e)}function f(e,t,i,n){var a=1-e,r=n.dimensions[e];return d(t[a])&&d(i[a])&&t[e]===i[e]&&n.getAxis(r).containData(t[e])}function p(e,t){if("cartesian2d"===e.type){var i=t[0].coord,n=t[1].coord;if(i&&n&&(f(1,i,n,e)||f(0,i,n,e)))return!0}return o.dataFilter(e,t[0])&&o.dataFilter(e,t[1])}function g(e,t,i,n,a){var o,s=n.coordinateSystem,l=e.getItemModel(t),u=r.parsePercent(l.get("x"),a.getWidth()),c=r.parsePercent(l.get("y"),a.getHeight());if(isNaN(u)||isNaN(c)){if(n.getMarkerPosition)o=n.getMarkerPosition(e.getValues(e.dimensions,t));else{var h=s.dimensions,f=e.get(h[0],t),p=e.get(h[1],t);o=s.dataToPoint([f,p])}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");h=s.dimensions;d(e.get(h[0],t))?o[0]=g.toGlobalCoord(g.getExtent()[i?0:1]):d(e.get(h[1],t))&&(o[1]=m.toGlobalCoord(m.getExtent()[i?0:1]))}isNaN(u)||(o[0]=u),isNaN(c)||(o[1]=c)}else o=[u,c];e.setItemLayout(t,o)}var m=l.extend({type:"markLine",updateTransform:function(e,t,i){t.eachSeries((function(e){var t=e.markLineModel;if(t){var n=t.getData(),a=t.__from,r=t.__to;a.each((function(t){g(a,t,!0,e,i),g(r,t,!1,e,i)})),n.each((function(e){n.setItemLayout(e,[a.getItemLayout(e),r.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},renderSeries:function(e,t,i,a){var r=e.coordinateSystem,o=e.id,l=e.getData(),u=this.markerGroupMap,c=u.get(o)||u.set(o,new s);this.group.add(c.group);var h=v(r,e,t),d=h.from,f=h.to,p=h.line;t.__from=d,t.__to=f,t.setData(p);var m=t.get("symbol"),y=t.get("symbolSize");function x(t,i,n){var r=t.getItemModel(i);g(t,i,n,e,a),t.setItemVisual(i,{symbolRotate:r.get("symbolRotate"),symbolSize:r.get("symbolSize")||y[n?0:1],symbol:r.get("symbol",!0)||m[n?0:1],color:r.get("itemStyle.color")||l.getVisual("color")})}n.isArray(m)||(m=[m,m]),"number"===typeof y&&(y=[y,y]),h.from.each((function(e){x(d,e,!0),x(f,e,!1)})),p.each((function(e){var t=p.getItemModel(e).get("lineStyle.color");p.setItemVisual(e,{color:t||d.getItemVisual(e,"color")}),p.setItemLayout(e,[d.getItemLayout(e),f.getItemLayout(e)]),p.setItemVisual(e,{fromSymbolRotate:d.getItemVisual(e,"symbolRotate"),fromSymbolSize:d.getItemVisual(e,"symbolSize"),fromSymbol:d.getItemVisual(e,"symbol"),toSymbolRotate:f.getItemVisual(e,"symbolRotate"),toSymbolSize:f.getItemVisual(e,"symbolSize"),toSymbol:f.getItemVisual(e,"symbol")})})),c.updateData(p),h.line.eachItemGraphicEl((function(e,i){e.traverse((function(e){e.dataModel=t}))})),c.__keep=!0,c.group.silent=t.get("silent")||e.get("silent")}});function v(e,t,i){var r;r=e?n.map(e&&e.dimensions,(function(e){var i=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return n.defaults({name:e},i)})):[{name:"value",type:"float"}];var s=new a(r,i),l=new a(r,i),u=new a([],i),c=n.map(i.get("data"),n.curry(h,t,e,i));e&&(c=n.filter(c,n.curry(p,e)));var d=e?o.dimValueGetter:function(e){return e.value};return s.initData(n.map(c,(function(e){return e[0]})),null,d),l.initData(n.map(c,(function(e){return e[1]})),null,d),u.initData(n.map(c,(function(e){return e[2]}))),u.hasItemOption=!0,{from:s,to:l,line:u}}e.exports=m},"30a3":function(e,t,i){var n=i("6d8b"),a=i("607d"),r=a.Dispatcher,o=i("98b7"),s=i("06ad"),l=function(e){e=e||{},this.stage=e.stage||{},this.onframe=e.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,r.call(this)};l.prototype={constructor:l,addClip:function(e){this._clips.push(e)},addAnimator:function(e){e.animation=this;for(var t=e.getClips(),i=0;i=0&&this._clips.splice(t,1)},removeAnimator:function(e){for(var t=e.getClips(),i=0;i0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(o[1]-o[0])+o[0],c=Math.max(1/n.scale,0);o[0]=(o[0]-u)*c+u,o[1]=(o[1]-u)*c+u;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return r(0,o,[0,100],0,d.minSpan,d.maxSpan),this._range=o,a[0]!==o[0]||a[1]!==o[1]?o:void 0}},pan:c((function(e,t,i,n,a,r){var o=h[n]([r.oldX,r.oldY],[r.newX,r.newY],t,a,i);return o.signal*(e[1]-e[0])*o.pixel/o.pixelLength})),scrollMove:c((function(e,t,i,n,a,r){var o=h[n]([0,0],[r.scrollDelta,r.scrollDelta],t,a,i);return o.signal*(e[1]-e[0])*r.scrollDelta}))};function c(e){return function(t,i,n,a){var o=this._range,s=o.slice(),l=t.axisModels[0];if(l){var u=e(s,l,t,i,n,a);return r(u,s,[0,100],"all"),this._range=s,o[0]!==s[0]||o[1]!==s[1]?s:void 0}}}var h={grid:function(e,t,i,n,a){var r=i.axis,o={},s=a.model.coordinateSystem.getRect();return e=e||[0,0],"x"===r.dim?(o.pixel=t[0]-e[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=r.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=r.inverse?-1:1),o},polar:function(e,t,i,n,a){var r=i.axis,o={},s=a.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===i.mainType?(o.pixel=t[0]-e[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=r.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=r.inverse?-1:1),o},singleAxis:function(e,t,i,n,a){var r=i.axis,o=a.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===r.orient?(s.pixel=t[0]-e[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=r.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=r.inverse?-1:1),s}},d=l;e.exports=d},3301:function(e,t,i){var n=i("6d8b"),a=i("6179"),r=i("b1d4"),o=i("93d0"),s=o.SOURCE_FORMAT_ORIGINAL,l=i("2f45"),u=l.getDimensionTypeByAxis,c=i("e0d3"),h=c.getDataItemValue,d=i("2039"),f=i("8b7f"),p=f.getCoordSysInfoBySeries,g=i("ec6f"),m=i("ee1a"),v=m.enableDataStack,y=i("0f99"),x=y.makeSeriesEncodeForAxisCoordSys;function _(e,t,i){i=i||{},g.isInstance(e)||(e=g.seriesDataToSource(e));var o,s=t.get("coordinateSystem"),l=d.get(s),c=p(t);c&&(o=n.map(c.coordSysDims,(function(e){var t={name:e},i=c.axisMap.get(e);if(i){var n=i.get("type");t.type=u(n)}return t}))),o||(o=l&&(l.getDimensionsInfo?l.getDimensionsInfo():l.dimensions.slice())||["x","y"]);var h,f,m=r(e,{coordDimensions:o,generateCoord:i.generateCoord,encodeDefaulter:i.useEncodeDefaulter?n.curry(x,o,t):null});c&&n.each(m,(function(e,t){var i=e.coordDim,n=c.categoryAxisMap.get(i);n&&(null==h&&(h=t),e.ordinalMeta=n.getOrdinalMeta()),null!=e.otherDims.itemName&&(f=!0)})),f||null==h||(m[h].otherDims.itemName=0);var y=v(t,m),_=new a(m,t);_.setCalculationInfo(y);var w=null!=h&&b(e)?function(e,t,i,n){return n===h?i:this.defaultDimValueGetter(e,t,i,n)}:null;return _.hasItemOption=!1,_.initData(e,null,w),_}function b(e){if(e.sourceFormat===s){var t=w(e.data||[]);return null!=t&&!n.isArray(h(t))}}function w(e){var t=0;while(t0?1:o<0?-1:0}function x(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function _(e,t,i,n,r,o,s,l,c,h){var d=c.valueDim,f=c.categoryDim,p=Math.abs(i[f.wh]),g=e.getItemVisual(t,"symbolSize");a.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]),g[f.index]=u(g[f.index],p),g[d.index]=u(g[d.index],n?p:Math.abs(o)),h.symbolSize=g;var m=h.symbolScale=[g[0]/l,g[1]/l];m[d.index]*=(c.isHorizontal?-1:1)*s}function b(e,t,i,n,a){var r=e.get(f)||0;r&&(g.attr({scale:t.slice(),rotation:i}),g.updateTransform(),r/=g.getLineScale(),r*=t[n.valueDim.index]),a.valueLineWidth=r}function w(e,t,i,n,r,o,s,l,h,d,f,p){var g=f.categoryDim,m=f.valueDim,v=p.pxSign,y=Math.max(t[m.index]+l,0),x=y;if(n){var _=Math.abs(h),b=a.retrieve(e.get("symbolMargin"),"15%")+"",w=!1;b.lastIndexOf("!")===b.length-1&&(w=!0,b=b.slice(0,b.length-1)),b=u(b,t[m.index]);var S=Math.max(y+2*b,0),M=w?0:2*b,I=c(n),A=I?n:B((_+M)/S),T=_-A*y;b=T/2/(w?A:A-1),S=y+2*b,M=w?0:2*b,I||"fixed"===n||(A=d?B((Math.abs(d)+M)/S):0),x=A*S-M,p.repeatTimes=A,p.symbolMargin=b}var C=v*(x/2),D=p.pathPosition=[];D[g.index]=i[g.wh]/2,D[m.index]="start"===s?C:"end"===s?h-C:h/2,o&&(D[0]+=o[0],D[1]+=o[1]);var L=p.bundlePosition=[];L[g.index]=i[g.xy],L[m.index]=i[m.xy];var P=p.barRectShape=a.extend({},i);P[m.wh]=v*Math.max(Math.abs(i[m.wh]),Math.abs(D[m.index]+C)),P[g.wh]=i[g.wh];var k=p.clipShape={};k[g.xy]=-i[g.xy],k[g.wh]=f.ecSize[g.wh],k[m.xy]=0,k[m.wh]=i[m.wh]}function S(e){var t=e.symbolPatternSize,i=s(e.symbolType,-t/2,-t/2,t,t,e.color);return i.attr({culling:!0}),"image"!==i.type&&i.setStyle({strokeNoScale:!0}),i}function M(e,t,i,n){var a=e.__pictorialBundle,r=i.symbolSize,o=i.valueLineWidth,s=i.pathPosition,l=t.valueDim,u=i.repeatTimes||0,c=0,h=r[t.valueDim.index]+o+2*i.symbolMargin;for(N(e,(function(e){e.__pictorialAnimationIndex=c,e.__pictorialRepeatTimes=u,c0:n<0)&&(a=u-1-e),t[l.index]=h*(a-u/2+.5)+s[l.index],{position:t,scale:i.symbolScale.slice(),rotation:i.rotation}}function g(){N(e,(function(e){e.trigger("emphasis")}))}function m(){N(e,(function(e){e.trigger("normal")}))}}function I(e,t,i,n){var a=e.__pictorialBundle,r=e.__pictorialMainPath;function o(){this.trigger("emphasis")}function s(){this.trigger("normal")}r?z(r,null,{position:i.pathPosition.slice(),scale:i.symbolScale.slice(),rotation:i.rotation},i,n):(r=e.__pictorialMainPath=S(i),a.add(r),z(r,{position:i.pathPosition.slice(),scale:[0,0],rotation:i.rotation},{scale:i.symbolScale.slice()},i,n),r.on("mouseover",o).on("mouseout",s)),P(r,i)}function A(e,t,i){var n=a.extend({},t.barRectShape),o=e.__pictorialBarRect;o?z(o,null,{shape:n},t,i):(o=e.__pictorialBarRect=new r.Rect({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),e.add(o))}function T(e,t,i,n){if(i.symbolClip){var o=e.__pictorialClipPath,s=a.extend({},i.clipShape),l=t.valueDim,u=i.animationModel,c=i.dataIndex;if(o)r.updateProps(o,{shape:s},u,c);else{s[l.wh]=0,o=new r.Rect({shape:s}),e.__pictorialBundle.setClipPath(o),e.__pictorialClipPath=o;var h={};h[l.wh]=i.clipShape[l.wh],r[n?"updateProps":"initProps"](o,{shape:h},u,c)}}}function C(e,t){var i=e.getItemModel(t);return i.getAnimationDelayParams=D,i.isAnimationEnabled=L,i}function D(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function L(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function P(e,t){e.off("emphasis").off("normal");var i=t.symbolScale.slice();t.hoverAnimation&&e.on("emphasis",(function(){this.animateTo({scale:[1.1*i[0],1.1*i[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:i.slice()},400,"elasticOut")}))}function k(e,t,i,n){var a=new r.Group,o=new r.Group;return a.add(o),a.__pictorialBundle=o,o.attr("position",i.bundlePosition.slice()),i.symbolRepeat?M(a,t,i):I(a,t,i),A(a,i,n),T(a,t,i,n),a.__pictorialShapeStr=E(e,i),a.__pictorialSymbolMeta=i,a}function O(e,t,i){var n=i.animationModel,a=i.dataIndex,o=e.__pictorialBundle;r.updateProps(o,{position:i.bundlePosition.slice()},n,a),i.symbolRepeat?M(e,t,i,!0):I(e,t,i,!0),A(e,i,!0),T(e,t,i,!0)}function R(e,t,i,n){var o=n.__pictorialBarRect;o&&(o.style.text=null);var s=[];N(n,(function(e){s.push(e)})),n.__pictorialMainPath&&s.push(n.__pictorialMainPath),n.__pictorialClipPath&&(i=null),a.each(s,(function(e){r.updateProps(e,{scale:[0,0]},i,t,(function(){n.parent&&n.parent.remove(n)}))})),e.setItemGraphicEl(t,null)}function E(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function N(e,t,i){a.each(e.__pictorialBundle.children(),(function(n){n!==e.__pictorialBarRect&&t.call(i,n)}))}function z(e,t,i,n,a,o){t&&e.attr(t),n.symbolClip&&!a?i&&e.attr(i):i&&r[a?"updateProps":"initProps"](e,i,n.animationModel,n.dataIndex,o)}function V(e,t,i){var n=i.color,o=i.dataIndex,s=i.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),c=s.getShallow("cursor");N(e,(function(e){e.setColor(n),e.setStyle(a.defaults({fill:n,opacity:i.opacity},l)),r.setHoverStyle(e,u),c&&(e.cursor=c),e.z2=i.z2}));var h={},f=t.valueDim.posDesc[+(i.boundingLength>0)],p=e.__pictorialBarRect;d(p.style,h,s,n,t.seriesModel,o,f),r.setHoverStyle(p,h)}function B(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var F=m;e.exports=F},"340d":function(e,t,i){var n=i("6d8b"),a=i("e887"),r=i("4e47"),o=i("80f0"),s=i("eda2"),l=s.windowOpen,u="sunburstRootToNode",c=a.extend({type:"sunburst",init:function(){},render:function(e,t,i,a){var s=this;this.seriesModel=e,this.api=i,this.ecModel=t;var l=e.getData(),u=l.tree.root,c=e.getViewRoot(),h=this.group,d=e.get("renderLabelForZeroData"),f=[];c.eachNode((function(e){f.push(e)}));var p=this._oldChildren||[];if(v(f,p),_(u,c),a&&a.highlight&&a.highlight.piece){var g=e.getShallow("highlightPolicy");a.highlight.piece.onEmphasis(g)}else if(a&&a.unhighlight){var m=this.virtualPiece;!m&&u.children.length&&(m=u.children[0].piece),m&&m.onNormal()}function v(e,t){function i(e){return e.getId()}function a(i,n){var a=null==i?null:e[i],r=null==n?null:t[n];y(a,r)}0===e.length&&0===t.length||new o(t,e,i,i).add(a).update(a).remove(n.curry(a,null)).execute()}function y(i,n){if(d||!i||i.getValue()||(i=null),i!==u&&n!==u)if(n&&n.piece)i?(n.piece.updateData(!1,i,"normal",e,t),l.setItemGraphicEl(i.dataIndex,n.piece)):x(n);else if(i){var a=new r(i,e,t);h.add(a),l.setItemGraphicEl(i.dataIndex,a)}}function x(e){e&&e.piece&&(h.remove(e.piece),e.piece=null)}function _(i,n){if(n.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,i,"normal",e,t):(s.virtualPiece=new r(i,e,t),h.add(s.virtualPiece)),n.piece._onclickEvent&&n.piece.off("click",n.piece._onclickEvent);var a=function(e){s._rootToNode(n.parentNode)};n.piece._onclickEvent=a,s.virtualPiece.on("click",a)}else s.virtualPiece&&(h.remove(s.virtualPiece),s.virtualPiece=null)}this._initEvents(),this._oldChildren=f},dispose:function(){},_initEvents:function(){var e=this,t=function(t){var i=!1,n=e.seriesModel.getViewRoot();n.eachNode((function(n){if(!i&&n.piece&&n.piece.childAt(0)===t.target){var a=n.getModel().get("nodeClick");if("rootToNode"===a)e._rootToNode(n);else if("link"===a){var r=n.getModel(),o=r.get("link");if(o){var s=r.get("target",!0)||"_blank";l(o,s)}}i=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",t),this.group._onclickEvent=t},_rootToNode:function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:u,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},containPoint:function(e,t){var i=t.getData(),n=i.getItemLayout(0);if(n){var a=e[0]-n.cx,r=e[1]-n.cy,o=Math.sqrt(a*a+r*r);return o<=n.r&&o>=n.r0}}}),h=c;e.exports=h},"342d":function(e,t,i){var n=i("cbe5"),a=i("20c8"),r=i("ee84"),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])},h=function(e,t){return(e[0]*t[0]+e[1]*t[1])/(c(e)*c(t))},d=function(e,t){return(e[0]*t[1]1&&(c*=o(_),f*=o(_));var b=(a===r?-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=b*c*x/f,S=b*-f*y/c,M=(e+i)/2+l(v)*w-s(v)*S,I=(t+n)/2+s(v)*w+l(v)*S,A=d([1,0],[(y-w)/c,(x-S)/f]),T=[(y-w)/c,(x-S)/f],C=[(-1*y-w)/c,(-1*x-S)/f],D=d(T,C);h(T,C)<=-1&&(D=u),h(T,C)>=1&&(D=0),0===r&&D>0&&(D-=2*u),1===r&&D<0&&(D+=2*u),m.addData(g,M,I,c,f,A,D,v,r)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function m(e){if(!e)return new a;for(var t,i=0,n=0,r=i,o=n,s=new a,l=a.CMD,u=e.match(p),c=0;c=0||"+"===i?"left":"right"},c={horizontal:i>=0||"+"===i?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:y/2},d="vertical"===n?a.height:a.width,f=e.getModel("controlStyle"),p=f.get("show",!0),g=p?f.get("itemSize"):0,m=p?f.get("itemGap"):0,v=g+m,x=e.get("label.rotate")||0;x=x*y/180;var b=f.get("position",!0),w=p&&f.get("showPlayBtn",!0),S=p&&f.get("showPrevBtn",!0),M=p&&f.get("showNextBtn",!0),I=0,A=d;return"left"===b||"bottom"===b?(w&&(r=[0,0],I+=v),S&&(o=[I,0],I+=v),M&&(s=[A-g,0],A-=v)):(w&&(r=[A-g,0],A-=v),S&&(o=[0,0],I+=v),M&&(s=[A-g,0],A-=v)),l=[I,A],e.get("inverse")&&l.reverse(),{viewRect:a,mainLength:d,orient:n,rotation:h[n],labelRotation:x,labelPosOpt:i,labelAlign:e.get("label.align")||u[n],labelBaseline:e.get("label.verticalAlign")||e.get("label.baseline")||c[n],playPosition:r,prevBtnPosition:o,nextBtnPosition:s,axisExtent:l,controlSize:g,controlGap:m}},_position:function(e,t){var i=this._mainGroup,n=this._labelGroup,a=e.viewRect;if("vertical"===e.orient){var o=r.create(),s=a.x,l=a.y+a.height;r.translate(o,o,[-s,-l]),r.rotate(o,o,-y/2),r.translate(o,o,[s,l]),a=a.clone(),a.applyTransform(o)}var u=v(a),c=v(i.getBoundingRect()),h=v(n.getBoundingRect()),d=i.position,f=n.position;f[0]=d[0]=u[0][0];var p=e.labelPosOpt;if(isNaN(p)){var g="+"===p?0:1;x(d,c,u,1,g),x(f,h,u,1,1-g)}else{g=p>=0?0:1;x(d,c,u,1,g),f[1]=d[1]+p}function m(e){var t=e.position;e.origin=[u[0][0]-t[0],u[1][0]-t[1]]}function v(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function x(e,t,i,n,a){e[n]+=i[n][a]-t[n][a]}i.attr("position",d),n.attr("position",f),i.rotation=n.rotation=e.rotation,m(i),m(n)},_createAxis:function(e,t){var i=t.getData(),n=t.get("axisType"),a=d.createScaleByModel(t,n);a.getTicks=function(){return i.mapArray(["value"],(function(e){return e}))};var r=i.getDataExtent("value");a.setExtent(r[0],r[1]),a.niceTicks();var o=new u("value",a,e.axisExtent,n);return o.model=t,o},_createGroup:function(e){var t=this["_"+e]=new o.Group;return this.group.add(t),t},_renderAxisLine:function(e,t,i,a){var r=i.getExtent();a.get("lineStyle.show")&&t.add(new o.Line({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:n.extend({lineCap:"round"},a.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(e,t,i,n){var a=n.getData(),r=i.scale.getTicks();v(r,(function(e){var r=i.dataToCoord(e),s=a.getItemModel(e),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),c={position:[r,0],onclick:m(this._changeTimeline,this,e)},h=w(s,l,t,c);o.setHoverStyle(h,u.getItemStyle()),s.get("tooltip")?(h.dataIndex=e,h.dataModel=n):h.dataIndex=h.dataModel=null}),this)},_renderAxisLabel:function(e,t,i,n){var a=i.getLabelModel();if(a.get("show")){var r=n.getData(),s=i.getViewLabels();v(s,(function(n){var a=n.tickValue,s=r.getItemModel(a),l=s.getModel("label"),u=s.getModel("emphasis.label"),c=i.dataToCoord(n.tickValue),h=new o.Text({position:[c,0],rotation:e.labelRotation-e.rotation,onclick:m(this._changeTimeline,this,a),silent:!1});o.setTextStyle(h.style,l,{text:n.formattedLabel,textAlign:e.labelAlign,textVerticalAlign:e.labelBaseline}),t.add(h),o.setHoverStyle(h,o.setTextStyle({},u))}),this)}},_renderControl:function(e,t,i,n){var a=e.controlSize,r=e.rotation,s=n.getModel("controlStyle").getItemStyle(),l=n.getModel("emphasis.controlStyle").getItemStyle(),u=[0,-a/2,a,a],c=n.getPlayState(),h=n.get("inverse",!0);function d(e,i,c,h){if(e){var d={position:e,origin:[a/2,0],rotation:h?-r:0,rectHover:!0,style:s,onclick:c},f=b(n,i,u,d);t.add(f),o.setHoverStyle(f,l)}}d(e.nextBtnPosition,"controlStyle.nextIcon",m(this._changeTimeline,this,h?"-":"+")),d(e.prevBtnPosition,"controlStyle.prevIcon",m(this._changeTimeline,this,h?"+":"-")),d(e.playPosition,"controlStyle."+(c?"stopIcon":"playIcon"),m(this._handlePlayClick,this,!c),!0)},_renderCurrentPointer:function(e,t,i,n){var a=n.getData(),r=n.getCurrentIndex(),o=a.getItemModel(r).getModel("checkpointStyle"),s=this,l={onCreate:function(e){e.draggable=!0,e.drift=m(s._handlePointerDrag,s),e.ondragend=m(s._handlePointerDragend,s),S(e,r,i,n,!0)},onUpdate:function(e){S(e,r,i,n)}};this._currentPointer=w(o,o,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},_handlePointerDrag:function(e,t,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},_handlePointerDragend:function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},_pointerChangeTimeline:function(e,t){var i=this._toAxisCoord(e)[0],n=this._axis,a=f.asc(n.getExtent().slice());i>a[1]&&(i=a[1]),i0){if(e<=t[0])return i[0];if(e>=t[1])return i[1]}else{if(e>=t[0])return i[0];if(e<=t[1])return i[1]}else{if(e===t[0])return i[0];if(e===t[1])return i[1]}return(e-t[0])/a*r+i[0]}function s(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return"string"===typeof e?r(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e}function l(e,t,i){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),i?e:+e}function u(e){return e.sort((function(e,t){return e-t})),e}function c(e){if(e=+e,isNaN(e))return 0;var t=1,i=0;while(Math.round(e*t)/t!==e)t*=10,i++;return i}function h(e){var t=e.toString(),i=t.indexOf("e");if(i>0){var n=+t.slice(i+1);return n<0?-n:0}var a=t.indexOf(".");return a<0?0:t.length-1-a}function d(e,t){var i=Math.log,n=Math.LN10,a=Math.floor(i(e[1]-e[0])/n),r=Math.round(i(Math.abs(t[1]-t[0]))/n),o=Math.min(Math.max(-a+r,0),20);return isFinite(o)?o:20}function f(e,t,i){if(!e[t])return 0;var a=n.reduce(e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===a)return 0;var r=Math.pow(10,i),o=n.map(e,(function(e){return(isNaN(e)?0:e)/a*r*100})),s=100*r,l=n.map(o,(function(e){return Math.floor(e)})),u=n.reduce(l,(function(e,t){return e+t}),0),c=n.map(o,(function(e,t){return e-l[t]}));while(uh&&(h=c[f],d=f);++l[d],c[d]=0,++u}return l[t]/r}var p=9007199254740991;function g(e){var t=2*Math.PI;return(e%t+t)%t}function m(e){return e>-a&&e=10&&t++,t}function b(e,t){var i,n=_(e),a=Math.pow(10,n),r=e/a;return i=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,e=i*a,n>=-20?+e.toFixed(n<0?-n:0):e}function w(e,t){var i=(e.length-1)*t+1,n=Math.floor(i),a=+e[n-1],r=i-n;return r?a+r*(e[n]-a):a}function S(e){e.sort((function(e,t){return s(e,t,0)?-1:1}));for(var t=-1/0,i=1,n=0;n=0}t.linearMap=o,t.parsePercent=s,t.round=l,t.asc=u,t.getPrecision=c,t.getPrecisionSafe=h,t.getPixelPrecision=d,t.getPercentWithPrecision=f,t.MAX_SAFE_INTEGER=p,t.remRadian=g,t.isRadianAroundZero=m,t.parseDate=y,t.quantity=x,t.quantityExponent=_,t.nice=b,t.quantile=w,t.reformIntervals=S,t.isNumeric=M},"38a2":function(e,t,i){var n=i("2b17"),a=n.retrieveRawValue,r=i("eda2"),o=r.getTooltipMarker,s=r.formatTpl,l=i("e0d3"),u=l.getTooltipRenderMode,c=/\{@(.+?)\}/g,h={getDataParams:function(e,t){var i=this.getData(t),n=this.getRawValue(e,t),a=i.getRawIndex(e),r=i.getName(e),s=i.getRawDataItem(e),l=i.getItemVisual(e,"color"),c=i.getItemVisual(e,"borderColor"),h=this.ecModel.getComponent("tooltip"),d=h&&h.get("renderMode"),f=u(d),p=this.mainType,g="series"===p,m=i.userOutput;return{componentType:p,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:g?this.subType:null,seriesIndex:this.seriesIndex,seriesId:g?this.id:null,seriesName:g?this.name:null,name:r,dataIndex:a,data:s,dataType:t,value:n,color:l,borderColor:c,dimensionNames:m?m.dimensionNames:null,encode:m?m.encode:null,marker:o({color:l,renderMode:f}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(e,t,i,n,r){t=t||"normal";var o=this.getData(i),l=o.getItemModel(e),u=this.getDataParams(e,i);null!=n&&u.value instanceof Array&&(u.value=u.value[n]);var h=l.get("normal"===t?[r||"label","formatter"]:[t,r||"label","formatter"]);if("function"===typeof h)return u.status=t,u.dimensionIndex=n,h(u);if("string"===typeof h){var d=s(h,u);return d.replace(c,(function(t,i){var n=i.length;return"["===i.charAt(0)&&"]"===i.charAt(n-1)&&(i=+i.slice(1,n-1)),a(o,e,i)}))}},getRawValue:function(e,t){return a(this.getData(t),e)},formatTooltip:function(){}};e.exports=h},3901:function(e,t,i){var n=i("282b"),a=n([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),r={getLineStyle:function(e){var t=a(this,e);return t.lineDash=this.getLineDash(t.lineWidth),t},getLineDash:function(e){null==e&&(e=1);var t=this.get("type"),i=Math.max(e,2),n=4*e;return"solid"!==t&&null!=t&&("dashed"===t?[n,n]:[i,i])}};e.exports=r},"392f":function(e,t,i){var n=i("6d8b"),a=n.inherits,r=i("19eb"),o=i("9850");function s(e){r.call(this,e),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}s.prototype.incremental=!0,s.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},s.prototype.addDisplayable=function(e,t){t?this._temporaryDisplayables.push(e):this._displayables.push(e),this.dirty()},s.prototype.addDisplayables=function(e,t){t=t||!1;for(var i=0;i0?100:20}},getFirstTargetAxisModel:function(){var e;return h((function(t){if(null==e){var i=this.get(t.axisIndex);i.length&&(e=this.dependentModels[t.axis][i[0]])}}),this),e},eachTargetAxis:function(e,t){var i=this.ecModel;h((function(n){c(this.get(n.axisIndex),(function(a){e.call(t,n,a,this,i)}),this)}),this)},getAxisProxy:function(e,t){return this._axisProxies[e+"_"+t]},getAxisModel:function(e,t){var i=this.getAxisProxy(e,t);return i&&i.getAxisModel()},setRawRange:function(e){var t=this.option,i=this.settledOption;c([["start","startValue"],["end","endValue"]],(function(n){null==e[n[0]]&&null==e[n[1]]||(t[n[0]]=i[n[0]]=e[n[0]],t[n[1]]=i[n[1]]=e[n[1]])}),this),p(this,e)},setCalculatedRange:function(e){var t=this.option;c(["start","startValue","end","endValue"],(function(i){t[i]=e[i]}))},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 i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var t=this._axisProxies;for(var i in t)if(t.hasOwnProperty(i)&&t[i].hostedBy(this))return t[i];for(var i in t)if(t.hasOwnProperty(i)&&!t[i].hostedBy(this))return t[i]},getRangePropMode:function(){return this._rangePropMode.slice()}});function f(e){var t={};return c(["start","end","startValue","endValue","throttle"],(function(i){e.hasOwnProperty(i)&&(t[i]=e[i])})),t}function p(e,t){var i=e._rangePropMode,n=e.get("rangeMode");c([["start","startValue"],["end","endValue"]],(function(e,a){var r=null!=t[e[0]],o=null!=t[e[1]];r&&!o?i[a]="percent":!r&&o?i[a]="value":n?i[a]=n[a]:r&&(i[a]="percent")}))}var g=d;e.exports=g},"3cd6":function(e,t,i){var n=i("6d8b"),a=i("48a9"),r=i("607d"),o=i("72b6"),s=i("2306"),l=i("3842"),u=i("ef6a"),c=i("cbb0"),h=i("e0d3"),d=l.linearMap,f=n.each,p=Math.min,g=Math.max,m=12,v=6,y=o.extend({type:"visualMap.continuous",init:function(){y.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(e,t,i,n){n&&"selectDataRange"===n.type&&n.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var i=e.get("text");this._renderEndsText(t,i,0),this._renderEndsText(t,i,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},_renderEndsText:function(e,t,i){if(t){var n=t[1-i];n=null!=n?n+"":"";var a=this.visualMapModel,r=a.get("textGap"),o=a.itemSize,l=this._shapes.barGroup,u=this._applyTransform([o[0]/2,0===i?-r:o[1]+r],l),c=this._applyTransform(0===i?"bottom":"top",l),h=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:u[0],y:u[1],textVerticalAlign:"horizontal"===h?"middle":c,textAlign:"horizontal"===h?c:"center",text:n,textFont:d.getFont(),textFill:d.getTextColor()}}))}},_renderBar:function(e){var t=this.visualMapModel,i=this._shapes,a=t.itemSize,r=this._orient,o=this._useHandle,s=c.getItemAlign(t,this.api,a),l=i.barGroup=this._createBarGroup(s);l.add(i.outOfRange=x()),l.add(i.inRange=x(null,o?M(this._orient):null,n.bind(this._dragHandle,this,"all",!1),n.bind(this._dragHandle,this,"all",!0)));var u=t.textStyleModel.getTextRect("国"),h=g(u.width,u.height);o&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(l,0,a,h,r,s),this._createHandle(l,1,a,h,r,s)),this._createIndicator(l,a,h,r),e.add(l)},_createHandle:function(e,t,i,a,o){var l=n.bind(this._dragHandle,this,t,!1),u=n.bind(this._dragHandle,this,t,!0),c=x(_(t,a),M(this._orient),l,u);c.position[0]=i[0],e.add(c);var h=this.visualMapModel.textStyleModel,d=new s.Text({draggable:!0,drift:l,onmousemove:function(e){r.stop(e.event)},ondragend:u,style:{x:0,y:0,text:"",textFont:h.getFont(),textFill:h.getTextColor()}});this.group.add(d);var f=["horizontal"===o?a/2:1.5*a,"horizontal"===o?0===t?-1.5*a:1.5*a:0===t?-a/2:a/2],p=this._shapes;p.handleThumbs[t]=c,p.handleLabelPoints[t]=f,p.handleLabels[t]=d},_createIndicator:function(e,t,i,n){var a=x([[0,0]],"move");a.position[0]=t[0],a.attr({invisible:!0,silent:!0}),e.add(a);var r=this.visualMapModel.textStyleModel,o=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:r.getFont(),textFill:r.getTextColor()}});this.group.add(o);var l=["horizontal"===n?i/2:v+3,0],u=this._shapes;u.indicator=a,u.indicatorLabel=o,u.indicatorLabelPoint=l},_dragHandle:function(e,t,i,n){if(this._useHandle){if(this._dragging=!t,!t){var a=this._applyTransform([i,n],this._shapes.barGroup,!0);this._updateInterval(e,a[1]),this._updateView()}t===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?!this._hovering&&this._clearHoverLinkToSeries():S(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},_resetInterval:function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),i=e.getExtent(),n=[0,e.itemSize[1]];this._handleEnds=[d(t[0],i,n,!0),d(t[1],i,n,!0)]},_updateInterval:function(e,t){t=t||0;var i=this.visualMapModel,n=this._handleEnds,a=[0,i.itemSize[1]];u(t,n,a,e,0);var r=i.getExtent();this._dataInterval=[d(n[0],a,r,!0),d(n[1],a,r,!0)]},_updateView:function(e){var t=this.visualMapModel,i=t.getExtent(),n=this._shapes,a=[0,t.itemSize[1]],r=e?a:this._handleEnds,o=this._createBarVisual(this._dataInterval,i,r,"inRange"),s=this._createBarVisual(i,i,a,"outOfRange");n.inRange.setStyle({fill:o.barColor,opacity:o.opacity}).setShape("points",o.barPoints),n.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(r,o)},_createBarVisual:function(e,t,i,n){var r={forceState:n,convertOpacityToAlpha:!0},o=this._makeColorGradient(e,r),s=[this.getControllerVisual(e[0],"symbolSize",r),this.getControllerVisual(e[1],"symbolSize",r)],l=this._createBarPoints(i,s);return{barColor:new a(0,0,0,1,o),barPoints:l,handlesColor:[o[0].color,o[o.length-1].color]}},_makeColorGradient:function(e,t){var i=100,n=[],a=(e[1]-e[0])/i;n.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var r=1;re[1])break;n.push({color:this.getControllerVisual(o,"color",t),offset:r/i})}return n.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),n},_createBarPoints:function(e,t){var i=this.visualMapModel.itemSize;return[[i[0]-t[0],e[0]],[i[0],e[0]],[i[0],e[1]],[i[0]-t[1],e[1]]]},_createBarGroup:function(e){var t=this._orient,i=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==t||i?"horizontal"===t&&i?{scale:"bottom"===e?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==t||i?{scale:"left"===e?[1,1]:[-1,1]}:{scale:"left"===e?[1,-1]:[-1,-1]}:{scale:"bottom"===e?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(e,t){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,a=i.handleThumbs,r=i.handleLabels;f([0,1],(function(o){var l=a[o];l.setStyle("fill",t.handlesColor[o]),l.position[1]=e[o];var u=s.applyTransform(i.handleLabelPoints[o],s.getTransform(l,this.group));r[o].setStyle({x:u[0],y:u[1],text:n.formatValueText(this._dataInterval[o]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===o?"bottom":"top":"left",i.barGroup)})}),this)}},_showIndicator:function(e,t,i,n){var a=this.visualMapModel,r=a.getExtent(),o=a.itemSize,l=[0,o[1]],u=d(e,r,l,!0),c=this._shapes,h=c.indicator;if(h){h.position[1]=u,h.attr("invisible",!1),h.setShape("points",b(!!i,n,u,o[1]));var f={convertOpacityToAlpha:!0},p=this.getControllerVisual(e,"color",f);h.setStyle("fill",p);var g=s.applyTransform(c.indicatorLabelPoint,s.getTransform(h,this.group)),m=c.indicatorLabel;m.attr("invisible",!1);var v=this._applyTransform("left",c.barGroup),y=this._orient;m.setStyle({text:(i||"")+a.formatValueText(t),textVerticalAlign:"horizontal"===y?v:"middle",textAlign:"horizontal"===y?"center":v,x:g[0],y:g[1]})}},_enableHoverLinkToSeries:function(){var e=this;this._shapes.barGroup.on("mousemove",(function(t){if(e._hovering=!0,!e._dragging){var i=e.visualMapModel.itemSize,n=e._applyTransform([t.offsetX,t.offsetY],e._shapes.barGroup,!0,!0);n[1]=p(g(0,n[1]),i[1]),e._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[0])}})).on("mouseout",(function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(e,t){var i=this.visualMapModel,n=i.itemSize;if(i.option.hoverLink){var a=[0,n[1]],r=i.getExtent();e=p(g(a[0],e),a[1]);var o=w(i,r,a),s=[e-o,e+o],l=d(e,a,r,!0),u=[d(s[0],a,r,!0),d(s[1],a,r,!0)];s[0]a[1]&&(u[1]=1/0),t&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",o):u[1]===1/0?this._showIndicator(l,u[0],"> ",o):this._showIndicator(l,l,"≈ ",o));var f=this._hoverLinkDataIndices,m=[];(t||S(i))&&(m=this._hoverLinkDataIndices=i.findTargetDataIndices(u));var v=h.compressBatches(f,m);this._dispatchHighDown("downplay",c.makeHighDownBatch(v[0],i)),this._dispatchHighDown("highlight",c.makeHighDownBatch(v[1],i))}},_hoverLinkFromSeriesMouseOver:function(e){var t=e.target,i=this.visualMapModel;if(t&&null!=t.dataIndex){var n=this.ecModel.getSeriesByIndex(t.seriesIndex);if(i.isTargetSeries(n)){var a=n.getData(t.dataType),r=a.get(i.getDataDimension(a),t.dataIndex,!0);isNaN(r)||this._showIndicator(r,r)}}},_hideIndicator:function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(e,this.visualMapModel)),e.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},_applyTransform:function(e,t,i,a){var r=s.getTransform(t,a?null:this.group);return s[n.isArray(e)?"applyTransform":"transformDirection"](e,r,i)},_dispatchHighDown:function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function x(e,t,i,n){return new s.Polygon({shape:{points:e},draggable:!!i,cursor:t,drift:i,onmousemove:function(e){r.stop(e.event)},ondragend:n})}function _(e,t){return 0===e?[[0,0],[t,0],[t,-t]]:[[0,0],[t,0],[t,t]]}function b(e,t,i,n){return e?[[0,-p(t,g(i,0))],[v,0],[0,p(t,g(n-i,0))]]:[[0,0],[5,-5],[5,5]]}function w(e,t,i){var n=m/2,a=e.get("hoverLinkDataSize");return a&&(n=d(a,t,i,!0)/2),n}function S(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function M(e){return"vertical"===e?"ns-resize":"ew-resize"}var I=y;e.exports=I},"3eba":function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("697e7")),r=i("6d8b"),o=i("41ef"),s=i("22d1"),l=i("04f6"),u=i("1fab"),c=i("7e63"),h=i("843e"),d=i("2039"),f=i("ca98"),p=i("fb05"),g=i("d15d"),m=i("6cb7"),v=i("4f85"),y=i("b12f"),x=i("e887"),_=i("2306"),b=i("e0d3"),w=i("88b3"),S=w.throttle,M=i("fd63"),I=i("b809"),A=i("998c"),T=i("69ff"),C=i("c533"),D=i("f219");i("0352");var L=i("ec34"),P=r.assert,k=r.each,O=r.isFunction,R=r.isObject,E=m.parseClassType,N="4.9.0",z={zrender:"4.3.2"},V=1,B=1e3,F=800,G=900,H=5e3,W=1e3,U=1100,Z=2e3,Y=3e3,j=3500,X=4e3,q=5e3,K={PROCESSOR:{FILTER:B,SERIES_FILTER:F,STATISTIC:H},VISUAL:{LAYOUT:W,PROGRESSIVE_LAYOUT:U,GLOBAL:Z,CHART:Y,POST_CHART_LAYOUT:j,COMPONENT:X,BRUSH:q}},$="__flagInMainProcess",J="__optionUpdated",Q=/^[a-zA-Z0-9_]+$/;function ee(e,t){return function(i,n,a){t||!this._disposed?(i=i&&i.toLowerCase(),u.prototype[e].call(this,i,n,a)):_e(this.id)}}function te(){u.call(this)}function ie(e,t,i){i=i||{},"string"===typeof t&&(t=ke[t]),this.id,this.group,this._dom=e;var n="canvas",o=this._zr=a.init(e,{renderer:i.renderer||n,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height});this._throttledZrFlush=S(r.bind(o.flush,o),17);t=r.clone(t);t&&p(t,!0),this._theme=t,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new d;var s=this._api=Me(this);function c(e,t){return e.__prio-t.__prio}l(Pe,c),l(Ce,c),this._scheduler=new T(this,s,Ce,Pe),u.call(this,this._ecEventProcessor=new Ie),this._messageCenter=new te,this._initEvents(),this.resize=r.bind(this.resize,this),this._pendingActions=[],o.animation.on("frame",this._onframe,this),de(o,this),r.setAsPrimitive(this)}te.prototype.on=ee("on",!0),te.prototype.off=ee("off",!0),te.prototype.one=ee("one",!0),r.mixin(te,u);var ne=ie.prototype;function ae(e,t,i){if(this._disposed)_e(this.id);else{var n,a=this._model,r=this._coordSysMgr.getCoordinateSystems();t=b.parseFinder(a,t);for(var o=0;o0&&e.unfinished);e.unfinished||this._zr.flush()}}},ne.getDom=function(){return this._dom},ne.getZr=function(){return this._zr},ne.setOption=function(e,t,i){if(this._disposed)_e(this.id);else{var n;if(R(t)&&(i=t.lazyUpdate,n=t.silent,t=t.notMerge),this[$]=!0,!this._model||t){var a=new f(this._api),r=this._theme,o=this._model=new c;o.scheduler=this._scheduler,o.init(null,null,r,a)}this._model.setOption(e,De),i?(this[J]={silent:n},this[$]=!1):(oe(this),re.update.call(this),this._zr.flush(),this[J]=!1,this[$]=!1,ce.call(this,n),he.call(this,n))}},ne.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},ne.getModel=function(){return this._model},ne.getOption=function(){return this._model&&this._model.getOption()},ne.getWidth=function(){return this._zr.getWidth()},ne.getHeight=function(){return this._zr.getHeight()},ne.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},ne.getRenderedCanvas=function(e){if(s.canvasSupported){e=e||{},e.pixelRatio=e.pixelRatio||1,e.backgroundColor=e.backgroundColor||this._model.get("backgroundColor");var t=this._zr;return t.painter.getRenderedCanvas(e)}},ne.getSvgDataURL=function(){if(s.svgSupported){var e=this._zr,t=e.storage.getDisplayList();return r.each(t,(function(e){e.stopAnimation(!0)})),e.painter.toDataURL()}},ne.getDataURL=function(e){if(!this._disposed){e=e||{};var t=e.excludeComponents,i=this._model,n=[],a=this;k(t,(function(e){i.eachComponent({mainType:e},(function(e){var t=a._componentsMap[e.__viewId];t.group.ignore||(n.push(t),t.group.ignore=!0)}))}));var r="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return k(n,(function(e){e.group.ignore=!1})),r}_e(this.id)},ne.getConnectedDataURL=function(e){if(this._disposed)_e(this.id);else if(s.canvasSupported){var t="svg"===e.type,i=this.group,n=Math.min,o=Math.max,l=1/0;if(Ee[i]){var u=l,c=l,h=-l,d=-l,f=[],p=e&&e.pixelRatio||1;r.each(Re,(function(a,s){if(a.group===i){var l=t?a.getZr().painter.getSvgDom().innerHTML:a.getRenderedCanvas(r.clone(e)),p=a.getDom().getBoundingClientRect();u=n(p.left,u),c=n(p.top,c),h=o(p.right,h),d=o(p.bottom,d),f.push({dom:l,left:p.left,top:p.top})}})),u*=p,c*=p,h*=p,d*=p;var g=h-u,m=d-c,v=r.createCanvas(),y=a.init(v,{renderer:t?"svg":"canvas"});if(y.resize({width:g,height:m}),t){var x="";return k(f,(function(e){var t=e.left-u,i=e.top-c;x+=''+e.dom+""})),y.painter.getSvgRoot().innerHTML=x,e.connectedBackgroundColor&&y.painter.setBackgroundColor(e.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return e.connectedBackgroundColor&&y.add(new _.Rect({shape:{x:0,y:0,width:g,height:m},style:{fill:e.connectedBackgroundColor}})),k(f,(function(e){var t=new _.Image({style:{x:e.left*p-u,y:e.top*p-c,image:e.dom}});y.add(t)})),y.refreshImmediately(),v.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}},ne.convertToPixel=r.curry(ae,"convertToPixel"),ne.convertFromPixel=r.curry(ae,"convertFromPixel"),ne.containPixel=function(e,t){if(!this._disposed){var i,n=this._model;return e=b.parseFinder(n,e),r.each(e,(function(e,n){n.indexOf("Models")>=0&&r.each(e,(function(e){var a=e.coordinateSystem;if(a&&a.containPoint)i|=!!a.containPoint(t);else if("seriesModels"===n){var r=this._chartsMap[e.__viewId];r&&r.containPoint&&(i|=r.containPoint(t,e))}}),this)}),this),!!i}_e(this.id)},ne.getVisual=function(e,t){var i=this._model;e=b.parseFinder(i,e,{defaultMainType:"series"});var n=e.seriesModel,a=n.getData(),r=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?a.indexOfRawIndex(e.dataIndex):null;return null!=r?a.getItemVisual(r,t):a.getVisual(t)},ne.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},ne.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]};var re={prepareAndUpdate:function(e){oe(this),re.update.call(this,e)},update:function(e){var t=this._model,i=this._api,n=this._zr,a=this._coordSysMgr,r=this._scheduler;if(t){r.restoreData(t,e),r.performSeriesTasks(t),a.create(t,i),r.performDataProcessorTasks(t,e),le(this,t),a.update(t,i),pe(t),r.performVisualTasks(t,e),ge(this,t,i,e);var l=t.get("backgroundColor")||"transparent";if(s.canvasSupported)n.setBackgroundColor(l);else{var u=o.parse(l);l=o.stringify(u,"rgb"),0===u[3]&&(l="transparent")}ye(t,i)}},updateTransform:function(e){var t=this._model,i=this,n=this._api;if(t){var a=[];t.eachComponent((function(r,o){var s=i.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,t,n,e);l&&l.update&&a.push(s)}else a.push(s)}));var o=r.createHashMap();t.eachSeries((function(a){var r=i._chartsMap[a.__viewId];if(r.updateTransform){var s=r.updateTransform(a,t,n,e);s&&s.update&&o.set(a.uid,1)}else o.set(a.uid,1)})),pe(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0,dirtyMap:o}),ve(i,t,n,e,o),ye(t,this._api)}},updateView:function(e){var t=this._model;t&&(x.markUpdateMethod(e,"updateView"),pe(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0}),ge(this,this._model,this._api,e),ye(t,this._api))},updateVisual:function(e){re.update.call(this,e)},updateLayout:function(e){re.update.call(this,e)}};function oe(e){var t=e._model,i=e._scheduler;i.restorePipelines(t),i.prepareStageTasks(),fe(e,"component",t,i),fe(e,"chart",t,i),i.plan()}function se(e,t,i,n,a){var o=e._model;if(n){var s={};s[n+"Id"]=i[n+"Id"],s[n+"Index"]=i[n+"Index"],s[n+"Name"]=i[n+"Name"];var l={mainType:n,query:s};a&&(l.subType=a);var u=i.excludeSeriesId;null!=u&&(u=r.createHashMap(b.normalizeToArray(u))),o&&o.eachComponent(l,(function(t){u&&null!=u.get(t.id)||c(e["series"===n?"_chartsMap":"_componentsMap"][t.__viewId])}),e)}else k(e._componentsViews.concat(e._chartsViews),c);function c(n){n&&n.__alive&&n[t]&&n[t](n.__model,o,e._api,i)}}function le(e,t){var i=e._chartsMap,n=e._scheduler;t.eachSeries((function(e){n.updateStreamModes(e,i[e.__viewId])}))}function ue(e,t){var i=e.type,n=e.escapeConnect,a=Ae[i],o=a.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&E(s[0]),this[$]=!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),t.batch=null,t})));var h,d=[],f="highlight"===i||"downplay"===i;k(u,(function(e){h=a.action(e,this._model,this._api),h=h||r.extend({},e),h.type=o.event||h.type,d.push(h),f?se(this,l,e,"series"):s&&se(this,l,e,s.main,s.sub)}),this),"none"===l||f||s||(this[J]?(oe(this),re.update.call(this,e),this[J]=!1):re[l].call(this,e)),h=c?{type:o.event||i,escapeConnect:n,batch:d}:d[0],this[$]=!1,!t&&this._messageCenter.trigger(h.type,h)}function ce(e){var t=this._pendingActions;while(t.length){var i=t.shift();ue.call(this,i,e)}}function he(e){!e&&this.trigger("updated")}function de(e,t){e.on("rendered",(function(){t.trigger("rendered"),!e.animation.isFinished()||t[J]||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")}))}function fe(e,t,i,n){for(var a="component"===t,r=a?e._componentsViews:e._chartsViews,o=a?e._componentsMap:e._chartsMap,s=e._zr,l=e._api,u=0;ut.get("hoverLayerThreshold")&&!s.node&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var i=e._chartsMap[t.__viewId];i.__alive&&i.group.traverse((function(e){e.useHoverLayer=!0}))}}))}function we(e,t){var i=e.get("blendMode")||null;t.group.traverse((function(e){e.isGroup||e.style.blend!==i&&e.setStyle("blend",i),e.eachPendingDisplayable&&e.eachPendingDisplayable((function(e){e.setStyle("blend",i)}))}))}function Se(e,t){var i=e.get("z"),n=e.get("zlevel");t.group.traverse((function(e){"group"!==e.type&&(null!=i&&(e.z=i),null!=n&&(e.zlevel=n))}))}function Me(e){var t=e._coordSysMgr;return r.extend(new h(e),{getCoordinateSystems:r.bind(t.getCoordinateSystems,t),getComponentByElement:function(t){while(t){var i=t.__ecComponentInfo;if(null!=i)return e._model.getComponent(i.mainType,i.index);t=t.parent}}})}function Ie(){this.eventInfo}ne._initEvents=function(){k(xe,(function(e){var t=function(t){var i,n=this.getModel(),a=t.target,o="globalout"===e;if(o)i={};else if(a&&null!=a.dataIndex){var s=a.dataModel||n.getSeriesByIndex(a.seriesIndex);i=s&&s.getDataParams(a.dataIndex,a.dataType,a)||{}}else a&&a.eventData&&(i=r.extend({},a.eventData));if(i){var l=i.componentType,u=i.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=i.seriesIndex);var c=l&&null!=u&&n.getComponent(l,u),h=c&&this["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];i.event=t,i.type=e,this._ecEventProcessor.eventInfo={targetEl:a,packedEvent:i,model:c,view:h},this.trigger(e,i)}};t.zrEventfulCallAtLast=!0,this._zr.on(e,t,this)}),this),k(Te,(function(e,t){this._messageCenter.on(t,(function(e){this.trigger(t,e)}),this)}),this)},ne.isDisposed=function(){return this._disposed},ne.clear=function(){this._disposed?_e(this.id):this.setOption({series:[]},!0)},ne.dispose=function(){if(this._disposed)_e(this.id);else{this._disposed=!0,b.setAttribute(this.getDom(),Ve,"");var e=this._api,t=this._model;k(this._componentsViews,(function(i){i.dispose(t,e)})),k(this._chartsViews,(function(i){i.dispose(t,e)})),this._zr.dispose(),delete Re[this.id]}},r.mixin(ie,u),Ie.prototype={constructor:Ie,normalizeQuery:function(e){var t={},i={},n={};if(r.isString(e)){var a=E(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,a){for(var r=!1,l=0;l0&&c===a.length-u.length){var h=a.slice(0,c);"data"!==h&&(t.mainType=h,t[u.toLowerCase()]=e,r=!0)}}s.hasOwnProperty(a)&&(i[a]=e,r=!0),r||(n[a]=e)}))}return{cptQuery:t,dataQuery:i,otherQuery:n}},filter:function(e,t,i){var n=this.eventInfo;if(!n)return!0;var a=n.targetEl,r=n.packedEvent,o=n.model,s=n.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,r,"name")&&c(u,r,"dataIndex")&&c(u,r,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(e,t.otherQuery,a,r));function c(e,t,i,n){return null==e[i]||t[n||i]===e[i]}},afterTrigger:function(){this.eventInfo=null}};var Ae={},Te={},Ce=[],De=[],Le=[],Pe=[],ke={},Oe={},Re={},Ee={},Ne=new Date-0,ze=new Date-0,Ve="_echarts_instance_";function Be(e){var t=0,i=1,n=2,a="__connectUpdateStatus";function r(e,t){for(var i=0;i-_}function S(e,t){var i=t?e.textFill:e.fill;return null!=i&&i!==f}function M(e,t){var i=t?e.textStroke:e.stroke;return null!=i&&i!==f}function I(e,t){t&&A(e,"transform","matrix("+d.call(t,",")+")")}function A(e,t,i){(!i||"linear"!==i.type&&"radial"!==i.type)&&e.setAttribute(t,i)}function T(e,t,i){e.setAttributeNS("http://www.w3.org/1999/xlink",t,i)}function C(e,t,i,n){if(S(t,i)){var a=i?t.textFill:t.fill;a="transparent"===a?f:a,A(e,"fill",a),A(e,"fill-opacity",null!=t.fillOpacity?t.fillOpacity*t.opacity:t.opacity)}else A(e,"fill",f);if(M(t,i)){var r=i?t.textStroke:t.stroke;r="transparent"===r?f:r,A(e,"stroke",r);var o=i?t.textStrokeWidth:t.lineWidth,s=!i&&t.strokeNoScale?n.getLineScale():1;A(e,"stroke-width",o/s),A(e,"paint-order",i?"stroke":"fill"),A(e,"stroke-opacity",null!=t.strokeOpacity?t.strokeOpacity:t.opacity);var l=t.lineDash;l?(A(e,"stroke-dasharray",t.lineDash.join(",")),A(e,"stroke-dashoffset",p(t.lineDashOffset||0))):A(e,"stroke-dasharray",""),t.lineCap&&A(e,"stroke-linecap",t.lineCap),t.lineJoin&&A(e,"stroke-linejoin",t.lineJoin),t.miterLimit&&A(e,"stroke-miterlimit",t.miterLimit)}else A(e,"stroke",f)}function D(e){for(var t=[],i=e.data,n=e.len(),a=0;a=y:-_>=y),T=_>0?_%y:_%y+y,C=!1;C=!!A||!w(I)&&T>=v===!!M;var D=b(l+c*m(f)),L=b(u+d*g(f));A&&(_=M?y-1e-4:1e-4-y,C=!0,9===a&&t.push("M",D,L));var P=b(l+c*m(f+_)),k=b(u+d*g(f+_));t.push("A",b(c),b(d),p(S*x),+C,+M,P,k);break;case h.Z:o="Z";break;case h.R:P=b(i[a++]),k=b(i[a++]);var O=b(i[a++]),R=b(i[a++]);t.push("M",P,k,"L",P+O,k,"L",P+O,k+R,"L",P,k+R,"L",P,k);break}o&&t.push(o);for(var E=0;Ek){for(;L255?255:e}function o(e){return e=Math.round(e),e<0?0:e>360?360:e}function s(e){return e<0?0:e>1?1:e}function l(e){return e.length&&"%"===e.charAt(e.length-1)?r(parseFloat(e)/100*255):r(parseInt(e,10))}function u(e){return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function c(e,t,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?e+(t-e)*i*6:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}function h(e,t,i){return e+(t-e)*i}function d(e,t,i,n,a){return e[0]=t,e[1]=i,e[2]=n,e[3]=a,e}function f(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var p=new n(20),g=null;function m(e,t){g&&f(g,t),g=p.put(e,g||t.slice())}function v(e,t){if(e){t=t||[];var i=p.get(e);if(i)return f(t,i);e+="";var n=e.replace(/ /g,"").toLowerCase();if(n in a)return f(t,a[n]),m(e,t),t;if("#"!==n.charAt(0)){var r=n.indexOf("("),o=n.indexOf(")");if(-1!==r&&o+1===n.length){var s=n.substr(0,r),c=n.substr(r+1,o-(r+1)).split(","),h=1;switch(s){case"rgba":if(4!==c.length)return void d(t,0,0,0,1);h=u(c.pop());case"rgb":return 3!==c.length?void d(t,0,0,0,1):(d(t,l(c[0]),l(c[1]),l(c[2]),h),m(e,t),t);case"hsla":return 4!==c.length?void d(t,0,0,0,1):(c[3]=u(c[3]),y(c,t),m(e,t),t);case"hsl":return 3!==c.length?void d(t,0,0,0,1):(y(c,t),m(e,t),t);default:return}}d(t,0,0,0,1)}else{if(4===n.length){var g=parseInt(n.substr(1),16);return g>=0&&g<=4095?(d(t,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,1),m(e,t),t):void d(t,0,0,0,1)}if(7===n.length){g=parseInt(n.substr(1),16);return g>=0&&g<=16777215?(d(t,(16711680&g)>>16,(65280&g)>>8,255&g,1),m(e,t),t):void d(t,0,0,0,1)}}}}function y(e,t){var i=(parseFloat(e[0])%360+360)%360/360,n=u(e[1]),a=u(e[2]),o=a<=.5?a*(n+1):a+n-a*n,s=2*a-o;return t=t||[],d(t,r(255*c(s,o,i+1/3)),r(255*c(s,o,i)),r(255*c(s,o,i-1/3)),1),4===e.length&&(t[3]=e[3]),t}function x(e){if(e){var t,i,n=e[0]/255,a=e[1]/255,r=e[2]/255,o=Math.min(n,a,r),s=Math.max(n,a,r),l=s-o,u=(s+o)/2;if(0===l)t=0,i=0;else{i=u<.5?l/(s+o):l/(2-s-o);var c=((s-n)/6+l/2)/l,h=((s-a)/6+l/2)/l,d=((s-r)/6+l/2)/l;n===s?t=d-h:a===s?t=1/3+c-d:r===s&&(t=2/3+h-c),t<0&&(t+=1),t>1&&(t-=1)}var f=[360*t,i,u];return null!=e[3]&&f.push(e[3]),f}}function _(e,t){var i=v(e);if(i){for(var n=0;n<3;n++)i[n]=t<0?i[n]*(1-t)|0:(255-i[n])*t+i[n]|0,i[n]>255?i[n]=255:e[n]<0&&(i[n]=0);return C(i,4===i.length?"rgba":"rgb")}}function b(e){var t=v(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function w(e,t,i){if(t&&t.length&&e>=0&&e<=1){i=i||[];var n=e*(t.length-1),a=Math.floor(n),o=Math.ceil(n),l=t[a],u=t[o],c=n-a;return i[0]=r(h(l[0],u[0],c)),i[1]=r(h(l[1],u[1],c)),i[2]=r(h(l[2],u[2],c)),i[3]=s(h(l[3],u[3],c)),i}}var S=w;function M(e,t,i){if(t&&t.length&&e>=0&&e<=1){var n=e*(t.length-1),a=Math.floor(n),o=Math.ceil(n),l=v(t[a]),u=v(t[o]),c=n-a,d=C([r(h(l[0],u[0],c)),r(h(l[1],u[1],c)),r(h(l[2],u[2],c)),s(h(l[3],u[3],c))],"rgba");return i?{color:d,leftIndex:a,rightIndex:o,value:n}:d}}var I=M;function A(e,t,i,n){if(e=v(e),e)return e=x(e),null!=t&&(e[0]=o(t)),null!=i&&(e[1]=u(i)),null!=n&&(e[2]=u(n)),C(y(e),"rgba")}function T(e,t){if(e=v(e),e&&null!=t)return e[3]=s(t),C(e,"rgba")}function C(e,t){if(e&&e.length){var i=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(i+=","+e[3]),t+"("+i+")"}}t.parse=v,t.lift=_,t.toHex=b,t.fastLerp=w,t.fastMapToColor=S,t.lerp=M,t.mapToColor=I,t.modifyHSL=A,t.modifyAlpha=T,t.stringify=C},"42e5":function(e,t){var i=function(e){this.colorStops=e||[]};i.prototype={constructor:i,addColorStop:function(e,t){this.colorStops.push({offset:e,color:t})}};var n=i;e.exports=n},"42f6":function(e,t,i){var n=i("3eba"),a=i("6d8b"),r=i("22d1"),o=i("07d7"),s=i("82f9"),l=i("eda2"),u=i("3842"),c=i("2306"),h=i("133d"),d=i("f934"),f=i("4319"),p=i("17d6"),g=i("697e"),m=i("ff2e"),v=i("e0d3"),y=v.getTooltipRenderMode,x=a.bind,_=a.each,b=u.parsePercent,w=new c.Rect({shape:{x:-1,y:-1,width:2,height:2}}),S=n.extendComponentView({type:"tooltip",init:function(e,t){if(!r.node){var i,n=e.getComponent("tooltip"),a=n.get("renderMode");this._renderMode=y(a),"html"===this._renderMode?(i=new o(t.getDom(),t,{appendToBody:n.get("appendToBody",!0)}),this._newLine="
"):(i=new s(t),this._newLine="\n"),this._tooltipContent=i}},render:function(e,t,i){if(!r.node){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=i,this._lastDataByCoordSys=null,this._alwaysShowContent=e.get("alwaysShowContent");var n=this._tooltipContent;n.update(e),n.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var e=this._tooltipModel,t=e.get("triggerOn");p.register("itemTooltip",this._api,x((function(e,i,n){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(i,n):"leave"===e&&this._hide(n))}),this))},_keepShow:function(){var e=this._tooltipModel,t=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==e.get("triggerOn")){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!i.isDisposed()&&n.manuallyShowTip(e,t,i,{x:n._lastX,y:n._lastY})}))}},manuallyShowTip:function(e,t,i,n){if(n.from!==this.uid&&!r.node){var a=I(n,i);this._ticket="";var o=n.dataByCoordSys;if(n.tooltip&&null!=n.x&&null!=n.y){var s=w;s.position=[n.x,n.y],s.update(),s.tooltip=n.tooltip,this._tryShow({offsetX:n.x,offsetY:n.y,target:s},a)}else if(o)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,dataByCoordSys:n.dataByCoordSys,tooltipOption:n.tooltipOption},a);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(e,t,i,n))return;var l=h(n,t),u=l.point[0],c=l.point[1];null!=u&&null!=c&&this._tryShow({offsetX:u,offsetY:c,position:n.position,target:l.el},a)}else null!=n.x&&null!=n.y&&(i.dispatchAction({type:"updateAxisPointer",x:n.x,y:n.y}),this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:i.getZr().findHover(n.x,n.y).target},a))}},manuallyHideTip:function(e,t,i,n){var a=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,n.from!==this.uid&&this._hide(I(n,i))},_manuallyAxisShowTip:function(e,t,i,n){var a=n.seriesIndex,r=n.dataIndex,o=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=a&&null!=r&&null!=o){var s=t.getSeriesByIndex(a);if(s){var l=s.getData();e=M([l.getItemModel(r),s,(s.coordinateSystem||{}).model,e]);if("axis"===e.get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:r,position:n.position}),!0}}},_tryShow:function(e,t){var i=e.target,n=this._tooltipModel;if(n){this._lastX=e.offsetX,this._lastY=e.offsetY;var a=e.dataByCoordSys;a&&a.length?this._showAxisTooltip(a,e):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(e,i,t)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(e,i,t)):(this._lastDataByCoordSys=null,this._hide(t))}},_showOrMove:function(e,t){var i=e.get("showDelay");t=a.bind(t,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(t,i):t()},_showAxisTooltip:function(e,t){var i=this._ecModel,n=this._tooltipModel,r=[t.offsetX,t.offsetY],o=[],s=[],u=M([t.tooltipOption,n]),c=this._renderMode,h=this._newLine,d={};_(e,(function(e){_(e.dataByAxis,(function(e){var t=i.getComponent(e.axisDim+"Axis",e.axisIndex),n=e.value,r=[];if(t&&null!=n){var u=m.getValueLabel(n,t.axis,i,e.seriesDataIndices,e.valueLabelOpt);a.each(e.seriesDataIndices,(function(o){var l=i.getSeriesByIndex(o.seriesIndex),h=o.dataIndexInside,f=l&&l.getDataParams(h);if(f.axisDim=e.axisDim,f.axisIndex=e.axisIndex,f.axisType=e.axisType,f.axisId=e.axisId,f.axisValue=g.getAxisRawValue(t.axis,n),f.axisValueLabel=u,f){s.push(f);var p,m=l.formatTooltip(h,!0,null,c);if(a.isObject(m)){p=m.html;var v=m.markers;a.merge(d,v)}else p=m;r.push(p)}}));var f=u;"html"!==c?o.push(r.join(h)):o.push((f?l.encodeHTML(f)+h:"")+r.join(h))}}))}),this),o.reverse(),o=o.join(this._newLine+this._newLine);var f=t.position;this._showOrMove(u,(function(){this._updateContentNotChangedOnAxis(e)?this._updatePosition(u,f,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(u,o,s,Math.random(),r[0],r[1],f,void 0,d)}))},_showSeriesItemTooltip:function(e,t,i){var n=this._ecModel,r=t.seriesIndex,o=n.getSeriesByIndex(r),s=t.dataModel||o,l=t.dataIndex,u=t.dataType,c=s.getData(u),h=M([c.getItemModel(l),s,o&&(o.coordinateSystem||{}).model,this._tooltipModel]),d=h.get("trigger");if(null==d||"item"===d){var f,p,g=s.getDataParams(l,u),m=s.formatTooltip(l,!1,u,this._renderMode);a.isObject(m)?(f=m.html,p=m.markers):(f=m,p=null);var v="item_"+s.name+"_"+l;this._showOrMove(h,(function(){this._showTooltipContent(h,f,g,v,e.offsetX,e.offsetY,e.position,e.target,p)})),i({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:r,from:this.uid})}},_showComponentItemTooltip:function(e,t,i){var n=t.tooltip;if("string"===typeof n){var a=n;n={content:a,formatter:a}}var r=new f(n,this._tooltipModel,this._ecModel),o=r.get("content"),s=Math.random();this._showOrMove(r,(function(){this._showTooltipContent(r,o,r.get("formatterParams")||{},s,e.offsetX,e.offsetY,e.position,t)})),i({type:"showTip",from:this.uid})},_showTooltipContent:function(e,t,i,n,a,r,o,s,u){if(this._ticket="",e.get("showContent")&&e.get("show")){var c=this._tooltipContent,h=e.get("formatter");o=o||e.get("position");var d=t;if(h&&"string"===typeof h)d=l.formatTpl(h,i,!0);else if("function"===typeof h){var f=x((function(t,n){t===this._ticket&&(c.setContent(n,u,e),this._updatePosition(e,o,a,r,c,i,s))}),this);this._ticket=n,d=h(i,n,f)}c.setContent(d,u,e),c.show(e),this._updatePosition(e,o,a,r,c,i,s)}},_updatePosition:function(e,t,i,n,r,o,s){var l=this._api.getWidth(),u=this._api.getHeight();t=t||e.get("position");var c=r.getSize(),h=e.get("align"),f=e.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"===typeof t&&(t=t([i,n],o,r.el,p,{viewSize:[l,u],contentSize:c.slice()})),a.isArray(t))i=b(t[0],l),n=b(t[1],u);else if(a.isObject(t)){t.width=c[0],t.height=c[1];var g=d.getLayoutRect(t,{width:l,height:u});i=g.x,n=g.y,h=null,f=null}else if("string"===typeof t&&s){var m=C(t,p,c);i=m[0],n=m[1]}else{m=A(i,n,r,l,u,h?null:20,f?null:20);i=m[0],n=m[1]}if(h&&(i-=D(h)?c[0]/2:"right"===h?c[0]:0),f&&(n-=D(f)?c[1]/2:"bottom"===f?c[1]:0),e.get("confine")){m=T(i,n,r,l,u);i=m[0],n=m[1]}r.moveTo(i,n)},_updateContentNotChangedOnAxis:function(e){var t=this._lastDataByCoordSys,i=!!t&&t.length===e.length;return i&&_(t,(function(t,n){var a=t.dataByAxis||{},r=e[n]||{},o=r.dataByAxis||[];i&=a.length===o.length,i&&_(a,(function(e,t){var n=o[t]||{},a=e.seriesDataIndices||[],r=n.seriesDataIndices||[];i&=e.value===n.value&&e.axisType===n.axisType&&e.axisId===n.axisId&&a.length===r.length,i&&_(a,(function(e,t){var n=r[t];i&=e.seriesIndex===n.seriesIndex&&e.dataIndex===n.dataIndex}))}))})),this._lastDataByCoordSys=e,!!i},_hide:function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},dispose:function(e,t){r.node||(this._tooltipContent.dispose(),p.unregister("itemTooltip",t))}});function M(e){var t=e.pop();while(e.length){var i=e.pop();i&&(f.isInstance(i)&&(i=i.get("tooltip",!0)),"string"===typeof i&&(i={formatter:i}),t=new f(i,t,t.ecModel))}return t}function I(e,t){return e.dispatchAction||a.bind(t.dispatchAction,t)}function A(e,t,i,n,a,r,o){var s=i.getOuterSize(),l=s.width,u=s.height;return null!=r&&(e+l+r>n?e-=l+r:e+=r),null!=o&&(t+u+o>a?t-=u+o:t+=o),[e,t]}function T(e,t,i,n,a){var r=i.getOuterSize(),o=r.width,s=r.height;return e=Math.min(e+o,n)-o,t=Math.min(t+s,a)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function C(e,t,i){var n=i[0],a=i[1],r=5,o=0,s=0,l=t.width,u=t.height;switch(e){case"inside":o=t.x+l/2-n/2,s=t.y+u/2-a/2;break;case"top":o=t.x+l/2-n/2,s=t.y-a-r;break;case"bottom":o=t.x+l/2-n/2,s=t.y+u+r;break;case"left":o=t.x-n-r,s=t.y+u/2-a/2;break;case"right":o=t.x+l+r,s=t.y+u/2-a/2}return[o,s]}function D(e){return"center"===e||"middle"===e}e.exports=S},4319:function(e,t,i){var n=i("6d8b"),a=i("22d1"),r=i("e0d3"),o=r.makeInner,s=i("625e"),l=s.enableClassExtend,u=s.enableClassCheck,c=i("3901"),h=i("9bdb"),d=i("fe21"),f=i("551f"),p=n.mixin,g=o();function m(e,t,i){this.parentModel=t,this.ecModel=i,this.option=e}function v(e,t,i){for(var n=0;n=0;n--){o=t[n].interval;if(o[0]<=e&&e<=o[1]){r=n;break}}return n>=0&&n=t[0]&&e<=t[1]}}function c(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var h=a.extendChartView({type:"heatmap",render:function(e,t,i){var n;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(i){i===e&&(n=t)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var a=e.coordinateSystem;"cartesian2d"===a.type||"calendar"===a.type?this._renderOnCartesianAndCalendar(e,i,0,e.getData().count()):c(a)&&this._renderOnGeo(a,e,n,i)},incrementalPrepareRender:function(e,t,i){this.group.removeAll()},incrementalRender:function(e,t,i,n){var a=t.coordinateSystem;a&&this._renderOnCartesianAndCalendar(t,n,e.start,e.end,!0)},_renderOnCartesianAndCalendar:function(e,t,i,n,a){var o,l,u=e.coordinateSystem;if("cartesian2d"===u.type){var c=u.getAxis("x"),h=u.getAxis("y");o=c.getBandWidth(),l=h.getBandWidth()}for(var d=this.group,f=e.getData(),p="itemStyle",g="emphasis.itemStyle",m="label",v="emphasis.label",y=e.getModel(p).getItemStyle(["color"]),x=e.getModel(g).getItemStyle(),_=e.getModel(m),b=e.getModel(v),w=u.type,S="cartesian2d"===w?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],M=i;M=0?n+=g:n-=g:_>=0?n-=g:n+=g}return n}function p(e,t){var i=[],r=n.quadraticSubdivide,s=[[],[],[]],l=[[],[]],u=[];t/=2,e.eachEdge((function(e,n){var c=e.getLayout(),h=e.getVisual("fromSymbol"),d=e.getVisual("toSymbol");c.__original||(c.__original=[a.clone(c[0]),a.clone(c[1])],c[2]&&c.__original.push(a.clone(c[2])));var p=c.__original;if(null!=c[2]){if(a.copy(s[0],p[0]),a.copy(s[1],p[2]),a.copy(s[2],p[1]),h&&"none"!==h){var g=o(e.node1),m=f(s,p[0],g*t);r(s[0][0],s[1][0],s[2][0],m,i),s[0][0]=i[3],s[1][0]=i[4],r(s[0][1],s[1][1],s[2][1],m,i),s[0][1]=i[3],s[1][1]=i[4]}if(d&&"none"!==d){g=o(e.node2),m=f(s,p[1],g*t);r(s[0][0],s[1][0],s[2][0],m,i),s[1][0]=i[1],s[2][0]=i[2],r(s[0][1],s[1][1],s[2][1],m,i),s[1][1]=i[1],s[2][1]=i[2]}a.copy(c[0],s[0]),a.copy(c[1],s[2]),a.copy(c[2],s[1])}else{if(a.copy(l[0],p[0]),a.copy(l[1],p[1]),a.sub(u,l[1],l[0]),a.normalize(u,u),h&&"none"!==h){g=o(e.node1);a.scaleAndAdd(l[0],l[0],u,g*t)}if(d&&"none"!==d){g=o(e.node2);a.scaleAndAdd(l[1],l[1],u,-g*t)}a.copy(c[0],l[0]),a.copy(c[1],l[1])}}))}e.exports=p},"48a9":function(e,t,i){var n=i("6d8b"),a=i("42e5"),r=function(e,t,i,n,r,o){this.x=null==e?0:e,this.y=null==t?0:t,this.x2=null==i?1:i,this.y2=null==n?0:n,this.type="linear",this.global=o||!1,a.call(this,r)};r.prototype={constructor:r},n.inherits(r,a);var o=r;e.exports=o},"48ac":function(e,t,i){var n=i("3eba"),a=n.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),r=a;e.exports=r},"48c7":function(e,t,i){var n=i("6d8b"),a=i("6cb7"),r=i("9e47"),o=i("2023"),s=a.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(e,t){return t.type||(t.data?"category":"value")}n.merge(s.prototype,o);var u={offset:0};r("x",s,l,u),r("y",s,l,u);var c=s;e.exports=c},4942:function(e,t,i){var n=i("2cf4c"),a=n.debugMode,r=function(){};1===a&&(r=console.error);var o=r;e.exports=o},"49e8":function(e,t,i){var n=i("3eba"),a=i("6d8b"),r=i("d81e"),o=r.updateCenterAndZoom;n.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(e,t){var i=e.componentType||"series";t.eachComponent({mainType:i,query:e},(function(t){var n=t.coordinateSystem;if("geo"===n.type){var r=o(n,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom),"series"===i&&a.each(t.seriesGroup,(function(e){e.setCenter(r.center),e.setZoom(r.zoom)}))}}))}))},"4a01":function(e,t,i){var n=i("6d8b"),a=i("1fab"),r=i("607d"),o=i("a4fe");function s(e){this.pointerChecker,this._zr=e,this._opt={};var t=n.bind,i=t(l,this),r=t(u,this),o=t(c,this),s=t(h,this),f=t(d,this);a.call(this),this.setPointerChecker=function(e){this.pointerChecker=e},this.enable=function(t,a){this.disable(),this._opt=n.defaults(n.clone(a)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",i),e.on("mousemove",r),e.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",s),e.on("pinch",f))},this.disable=function(){e.off("mousedown",i),e.off("mousemove",r),e.off("mouseup",o),e.off("mousewheel",s),e.off("pinch",f)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(e){if(!(r.isMiddleOrRightButtonOnMouseUpDown(e)||e.target&&e.target.draggable)){var t=e.offsetX,i=e.offsetY;this.pointerChecker&&this.pointerChecker(e,t,i)&&(this._x=t,this._y=i,this._dragging=!0)}}function u(e){if(this._dragging&&g("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!o.isTaken(this._zr,"globalPan")){var t=e.offsetX,i=e.offsetY,n=this._x,a=this._y,s=t-n,l=i-a;this._x=t,this._y=i,this._opt.preventDefaultMouseMove&&r.stop(e.event),p(this,"pan","moveOnMouseMove",e,{dx:s,dy:l,oldX:n,oldY:a,newX:t,newY:i})}}function c(e){r.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)}function h(e){var t=g("zoomOnMouseWheel",e,this._opt),i=g("moveOnMouseWheel",e,this._opt),n=e.wheelDelta,a=Math.abs(n),r=e.offsetX,o=e.offsetY;if(0!==n&&(t||i)){if(t){var s=a>3?1.4:a>1?1.2:1.1,l=n>0?s:1/s;f(this,"zoom","zoomOnMouseWheel",e,{scale:l,originX:r,originY:o})}if(i){var u=Math.abs(n),c=(n>0?1:-1)*(u>3?.4:u>1?.15:.05);f(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:c,originX:r,originY:o})}}}function d(e){if(!o.isTaken(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;f(this,"zoom",null,e,{scale:t,originX:e.pinchX,originY:e.pinchY})}}function f(e,t,i,n,a){e.pointerChecker&&e.pointerChecker(n,a.originX,a.originY)&&(r.stop(n.event),p(e,t,i,n,a))}function p(e,t,i,a,r){r.isAvailableBehavior=n.bind(g,null,i,a),e.trigger(t,r)}function g(e,t,i){var a=i[e];return!e||a&&(!n.isString(a)||t.event[a+"Key"])}n.mixin(s,a);var m=s;e.exports=m},"4a3f":function(e,t,i){var n=i("401b"),a=n.create,r=n.distSquare,o=Math.pow,s=Math.sqrt,l=1e-8,u=1e-4,c=s(3),h=1/3,d=a(),f=a(),p=a();function g(e){return e>-l&&el||e<-l}function v(e,t,i,n,a){var r=1-a;return r*r*(r*e+3*a*t)+a*a*(a*n+3*r*i)}function y(e,t,i,n,a){var r=1-a;return 3*(((t-e)*r+2*(i-t)*a)*r+(n-i)*a*a)}function x(e,t,i,n,a,r){var l=n+3*(t-i)-e,u=3*(i-2*t+e),d=3*(t-e),f=e-a,p=u*u-3*l*d,m=u*d-9*l*f,v=d*d-3*u*f,y=0;if(g(p)&&g(m))if(g(u))r[0]=0;else{var x=-d/u;x>=0&&x<=1&&(r[y++]=x)}else{var _=m*m-4*p*v;if(g(_)){var b=m/p,w=(x=-u/l+b,-b/2);x>=0&&x<=1&&(r[y++]=x),w>=0&&w<=1&&(r[y++]=w)}else if(_>0){var S=s(_),M=p*u+1.5*l*(-m+S),I=p*u+1.5*l*(-m-S);M=M<0?-o(-M,h):o(M,h),I=I<0?-o(-I,h):o(I,h);x=(-u-(M+I))/(3*l);x>=0&&x<=1&&(r[y++]=x)}else{var A=(2*p*u-3*l*m)/(2*s(p*p*p)),T=Math.acos(A)/3,C=s(p),D=Math.cos(T),L=(x=(-u-2*C*D)/(3*l),w=(-u+C*(D+c*Math.sin(T)))/(3*l),(-u+C*(D-c*Math.sin(T)))/(3*l));x>=0&&x<=1&&(r[y++]=x),w>=0&&w<=1&&(r[y++]=w),L>=0&&L<=1&&(r[y++]=L)}}return y}function _(e,t,i,n,a){var r=6*i-12*t+6*e,o=9*t+3*n-3*e-9*i,l=3*t-3*e,u=0;if(g(o)){if(m(r)){var c=-l/r;c>=0&&c<=1&&(a[u++]=c)}}else{var h=r*r-4*o*l;if(g(h))a[0]=-r/(2*o);else if(h>0){var d=s(h),f=(c=(-r+d)/(2*o),(-r-d)/(2*o));c>=0&&c<=1&&(a[u++]=c),f>=0&&f<=1&&(a[u++]=f)}}return u}function b(e,t,i,n,a,r){var o=(t-e)*a+e,s=(i-t)*a+t,l=(n-i)*a+i,u=(s-o)*a+o,c=(l-s)*a+s,h=(c-u)*a+u;r[0]=e,r[1]=o,r[2]=u,r[3]=h,r[4]=h,r[5]=c,r[6]=l,r[7]=n}function w(e,t,i,n,a,o,l,c,h,g,m){var y,x,_,b,w,S=.005,M=1/0;d[0]=h,d[1]=g;for(var I=0;I<1;I+=.05)f[0]=v(e,i,a,l,I),f[1]=v(t,n,o,c,I),b=r(d,f),b=0&&b=0&&c<=1&&(a[u++]=c)}}else{var h=o*o-4*r*l;if(g(h)){c=-o/(2*r);c>=0&&c<=1&&(a[u++]=c)}else if(h>0){var d=s(h),f=(c=(-o+d)/(2*r),(-o-d)/(2*r));c>=0&&c<=1&&(a[u++]=c),f>=0&&f<=1&&(a[u++]=f)}}return u}function A(e,t,i){var n=e+i-2*t;return 0===n?.5:(e-t)/n}function T(e,t,i,n,a){var r=(t-e)*n+e,o=(i-t)*n+t,s=(o-r)*n+r;a[0]=e,a[1]=r,a[2]=s,a[3]=s,a[4]=o,a[5]=i}function C(e,t,i,n,a,o,l,c,h){var g,m=.005,v=1/0;d[0]=l,d[1]=c;for(var y=0;y<1;y+=.05){f[0]=S(e,i,a,y),f[1]=S(t,n,o,y);var x=r(d,f);x=0&&x=0;--n)if(t[n]===e)return!0;return!1}),i):null:i[0]},g.prototype.update=function(e,t){if(e){var i=this.getDefs(!1);if(e[this._domName]&&i.contains(e[this._domName]))"function"===typeof t&&t(e);else{var n=this.add(e);n&&(e[this._domName]=n)}}},g.prototype.addDom=function(e){var t=this.getDefs(!0);t.appendChild(e)},g.prototype.removeDom=function(e){var t=this.getDefs(!1);t&&e[this._domName]&&(t.removeChild(e[this._domName]),e[this._domName]=null)},g.prototype.getDoms=function(){var e=this.getDefs(!1);if(!e)return[];var t=[];return r.each(this._tagNames,(function(i){var n=e.getElementsByTagName(i);t=t.concat([].slice.call(n))})),t},g.prototype.markAllUnused=function(){var e=this.getDoms(),t=this;r.each(e,(function(e){e[t._markLabel]=f}))},g.prototype.markUsed=function(e){e&&(e[this._markLabel]=p)},g.prototype.removeUnused=function(){var e=this.getDefs(!1);if(e){var t=this.getDoms(),i=this;r.each(t,(function(t){t[i._markLabel]!==p&&e.removeChild(t)}))}},g.prototype.getSvgProxy=function(e){return e instanceof o?c:e instanceof s?h:e instanceof l?d:c},g.prototype.getTextSvgElement=function(e){return e.__textSvgEl},g.prototype.getSvgElement=function(e){return e.__svgEl};var m=g;e.exports=m},"4b08":function(e,t,i){var n=i("7dcf"),a=n.extend({type:"dataZoom.select"});e.exports=a},"4bf6":function(e,t,i){var n=i("66fc"),a=i("697e"),r=i("f934"),o=r.getLayoutRect,s=i("6d8b"),l=s.each;function u(e,t,i){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(e,t,i),this.model=e}u.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:u,_init:function(e,t,i){var r=this.dimension,o=new n(r,a.createScaleByModel(e),[0,0],e.get("type"),e.get("position")),s="category"===o.type;o.onBand=s&&e.get("boundaryGap"),o.inverse=e.get("inverse"),o.orient=e.get("orient"),e.axis=o,o.model=e,o.coordinateSystem=this,this._axis=o},update:function(e,t){e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData();l(t.mapDimension(this.dimension,!0),(function(e){this._axis.scale.unionExtentFromData(t,e)}),this),a.niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},resize:function(e,t){this._rect=o({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var e=this._rect,t=this._axis,i=t.isHorizontal(),n=i?[0,e.width]:[0,e.height],a=t.reverse?1:0;t.setExtent(n[a],n[1-a]),this._updateAxisTransform(t,i?e.x:e.y)},_updateAxisTransform:function(e,t){var i=e.getExtent(),n=i[0]+i[1],a=e.isHorizontal();e.toGlobalCoord=a?function(e){return e+t}:function(e){return n-e+t},e.toLocalCoord=a?function(e){return e-t}:function(e){return n-e+t}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(e){var t=this.getRect(),i=this.getAxis(),n=i.orient;return"horizontal"===n?i.contain(i.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:i.contain(i.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},pointToData:function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},dataToPoint:function(e){var t=this.getAxis(),i=this.getRect(),n=[],a="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),n[a]=t.toGlobalCoord(t.dataToCoord(+e)),n[1-a]=0===a?i.y+i.height/2:i.x+i.width/2,n}};var c=u;e.exports=c},"4c86":function(e,t,i){var n=i("6d8b"),a=n.each,r=i("bda7"),o=i("e0d3"),s=o.makeInner,l=i("320a"),u=i("1792"),c=i("6bd4"),h=i("a7f2"),d=s(),f={load:function(e,t,i){var n=d(t).parsed;if(n)return n;var o,s=t.specialAreas||{},f=t.geoJSON;try{o=f?r(f,i):[]}catch(g){throw new Error("Invalid geoJson format\n"+g.message)}return l(e,o),a(o,(function(t){var i=t.name;u(e,t),c(e,t),h(e,t);var n=s[i];n&&t.transformTo(n.left,n.top,n.width,n.height)})),d(t).parsed={regions:o,boundingRect:p(o)}}};function p(e){for(var t,i=0;i0?o:s)}function c(e,t){return t.get(e>0?a:r)}}};e.exports=l},"4d62":function(e,t,i){var n=i("2306"),a=i("6d8b"),r=i("e887");function o(e,t){n.Group.call(this);var i=new n.Polygon,a=new n.Polyline,r=new n.Text;this.add(i),this.add(a),this.add(r),this.highDownOnUpdate=function(e,t){"emphasis"===t?(a.ignore=a.hoverIgnore,r.ignore=r.hoverIgnore):(a.ignore=a.normalIgnore,r.ignore=r.normalIgnore)},this.updateData(e,t,!0)}var s=o.prototype,l=["itemStyle","opacity"];s.updateData=function(e,t,i){var r=this.childAt(0),o=e.hostModel,s=e.getItemModel(t),u=e.getItemLayout(t),c=e.getItemModel(t).get(l);c=null==c?1:c,r.useStyle({}),i?(r.setShape({points:u.points}),r.setStyle({opacity:0}),n.initProps(r,{style:{opacity:c}},o,t)):n.updateProps(r,{style:{opacity:c},shape:{points:u.points}},o,t);var h=s.getModel("itemStyle"),d=e.getItemVisual(t,"color");r.setStyle(a.defaults({lineJoin:"round",fill:d},h.getItemStyle(["opacity"]))),r.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(e,t),n.setHoverStyle(this)},s._updateLabel=function(e,t){var i=this.childAt(1),a=this.childAt(2),r=e.hostModel,o=e.getItemModel(t),s=e.getItemLayout(t),l=s.label,u=e.getItemVisual(t,"color");n.updateProps(i,{shape:{points:l.linePoints||l.linePoints}},r,t),n.updateProps(a,{style:{x:l.x,y:l.y}},r,t),a.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var c=o.getModel("label"),h=o.getModel("emphasis.label"),d=o.getModel("labelLine"),f=o.getModel("emphasis.labelLine");u=e.getItemVisual(t,"color");n.setLabelStyle(a.style,a.hoverStyle={},c,h,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:e.getName(t),autoColor:u,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign}),a.ignore=a.normalIgnore=!c.get("show"),a.hoverIgnore=!h.get("show"),i.ignore=i.normalIgnore=!d.get("show"),i.hoverIgnore=!f.get("show"),i.setStyle({stroke:u}),i.setStyle(d.getModel("lineStyle").getLineStyle()),i.hoverStyle=f.getModel("lineStyle").getLineStyle()},a.inherits(o,n.Group);var u=r.extend({type:"funnel",render:function(e,t,i){var n=e.getData(),a=this._data,r=this.group;n.diff(a).add((function(e){var t=new o(n,e);n.setItemGraphicEl(e,t),r.add(t)})).update((function(e,t){var i=a.getItemGraphicEl(t);i.updateData(n,e),r.add(i),n.setItemGraphicEl(e,i)})).remove((function(e){var t=a.getItemGraphicEl(e);r.remove(t)})).execute(),this._data=n},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),c=u;e.exports=c},"4d85":function(e,t,i){var n=i("e46b"),a=i("4f85"),r=a.extend({type:"series.gauge",getInitialData:function(e,t){return n(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),o=r;e.exports=o},"4e08":function(e,t,i){(function(e){var i;"undefined"!==typeof window?i=window.__DEV__:"undefined"!==typeof e&&(i=e.__DEV__),"undefined"===typeof i&&(i=!0);var n=i;t.__DEV__=n}).call(this,i("c8ba"))},"4e10":function(e,t,i){var n=i("6d8b"),a=i("e46b"),r=i("4f85"),o=i("eda2"),s=o.encodeHTML,l=o.addCommas,u=i("7023"),c=i("2b17"),h=c.retrieveRawAttr,d=i("5b87"),f=i("0f99"),p=f.makeSeriesEncodeForNameBased,g=r.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(e){for(var t=a(this,{coordDimensions:["value"],encodeDefaulter:n.curry(p,this)}),i=t.mapDimension("value"),r=n.createHashMap(),o=[],s=[],l=0,u=t.count();l":"\n";return c.join(", ")+p+s(o+" : "+r)},getTooltipPosition:function(e){if(null!=e){var t=this.getData().getName(e),i=this.coordinateSystem,n=i.getRegion(t);return n&&i.dataToPoint(n.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});n.mixin(g,u);var m=g;e.exports=m},"4e47":function(e,t,i){var n=i("6d8b"),a=i("2306"),r={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},o=2,s=4;function l(e,t,i){a.Group.call(this);var n=new a.Sector({z2:o});n.seriesIndex=t.seriesIndex;var r=new a.Text({z2:s,silent:e.getModel("label").get("silent")});function l(){r.ignore=r.hoverIgnore}function u(){r.ignore=r.normalIgnore}this.add(n),this.add(r),this.updateData(!0,e,"normal",t,i),this.on("emphasis",l).on("normal",u).on("mouseover",l).on("mouseout",u)}var u=l.prototype;u.updateData=function(e,t,i,r,o){this.node=t,t.piece=this,r=r||this._seriesModel,o=o||this._ecModel;var s=this.childAt(0);s.dataIndex=t.dataIndex;var l=t.getModel(),u=t.getLayout(),c=n.extend({},u);c.label=null;var d=h(t,r,o);p(t,r,d);var f,g=l.getModel("itemStyle").getItemStyle();if("normal"===i)f=g;else{var m=l.getModel(i+".itemStyle").getItemStyle();f=n.merge(m,g)}f=n.defaults({lineJoin:"bevel",fill:f.fill||d},f),e?(s.setShape(c),s.shape.r=u.r0,a.updateProps(s,{shape:{r:u.r}},r,t.dataIndex),s.useStyle(f)):"object"===typeof f.fill&&f.fill.type||"object"===typeof s.style.fill&&s.style.fill.type?(a.updateProps(s,{shape:c},r),s.useStyle(f)):a.updateProps(s,{shape:c,style:f},r),this._updateLabel(r,d,i);var v=l.getShallow("cursor");if(v&&s.attr("cursor",v),e){var y=r.getShallow("highlightPolicy");this._initEvents(s,t,r,y)}this._seriesModel=r||this._seriesModel,this._ecModel=o||this._ecModel,a.setHoverStyle(this)},u.onEmphasis=function(e){var t=this;this.node.hostTree.root.eachNode((function(i){i.piece&&(t.node===i?i.piece.updateData(!1,i,"emphasis"):f(i,t.node,e)?i.piece.childAt(0).trigger("highlight"):e!==r.NONE&&i.piece.childAt(0).trigger("downplay"))}))},u.onNormal=function(){this.node.hostTree.root.eachNode((function(e){e.piece&&e.piece.updateData(!1,e,"normal")}))},u.onHighlight=function(){this.updateData(!1,this.node,"highlight")},u.onDownplay=function(){this.updateData(!1,this.node,"downplay")},u._updateLabel=function(e,t,i){var r=this.node.getModel(),o=r.getModel("label"),s="normal"===i||"emphasis"===i?o:r.getModel(i+".label"),l=r.getModel("emphasis.label"),u=s.get("formatter"),c=u?i:"normal",h=n.retrieve(e.getFormattedLabel(this.node.dataIndex,c,null,null,"label"),this.node.name);!1===T("show")&&(h="");var d=this.node.getLayout(),f=s.get("minAngle");null==f&&(f=o.get("minAngle")),f=f/180*Math.PI;var p=d.endAngle-d.startAngle;null!=f&&Math.abs(p)Math.PI/2?"right":"left"):w&&"center"!==w?"left"===w?(m=d.r0+b,v>Math.PI/2&&(w="right")):"right"===w&&(m=d.r-b,v>Math.PI/2&&(w="left")):(m=(d.r+d.r0)/2,w="center"),g.attr("style",{text:h,textAlign:w,textVerticalAlign:T("verticalAlign")||"middle",opacity:T("opacity")});var S=m*y+d.cx,M=m*x+d.cy;g.attr("position",[S,M]);var I=T("rotate"),A=0;function T(e){var t=s.get(e);return null==t?o.get(e):t}"radial"===I?(A=-v,A<-Math.PI/2&&(A+=Math.PI)):"tangential"===I?(A=Math.PI/2-v,A>Math.PI/2?A-=Math.PI:A<-Math.PI/2&&(A+=Math.PI)):"number"===typeof I&&(A=I*Math.PI/180),g.attr("rotation",A)},u._initEvents=function(e,t,i,n){e.off("mouseover").off("mouseout").off("emphasis").off("normal");var a=this,r=function(){a.onEmphasis(n)},o=function(){a.onNormal()},s=function(){a.onDownplay()},l=function(){a.onHighlight()};i.isAnimationEnabled()&&e.on("mouseover",r).on("mouseout",o).on("emphasis",r).on("normal",o).on("downplay",s).on("highlight",l)},n.inherits(l,a.Group);var c=l;function h(e,t,i){var n=e.getVisual("color"),a=e.getVisual("visualMeta");a&&0!==a.length||(n=null);var r=e.getModel("itemStyle").get("color");if(r)return r;if(n)return n;if(0===e.depth)return i.option.color[0];var o=i.option.color.length;return r=i.option.color[d(e)%o],r}function d(e){var t=e;while(t.depth>1)t=t.parentNode;var i=e.getAncestors()[0];return n.indexOf(i.children,t)}function f(e,t,i){return i!==r.NONE&&(i===r.SELF?e===t:i===r.ANCESTOR?e===t||e.isAncestorOf(t):e===t||e.isDescendantOf(t))}function p(e,t,i){var n=t.getData();n.setItemVisual(e.dataIndex,"color",i)}e.exports=c},"4e9f":function(e,t,i){var n=i("22d1"),a=i("29a8"),r=i("2145"),o=a.toolbox.saveAsImage;function s(e){this.model=e}s.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:o.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:o.lang.slice()},s.prototype.unusable=!n.canvasSupported;var l=s.prototype;l.onclick=function(e,t){var i=this.model,a=i.get("name")||e.get("title.0.text")||"echarts",r="svg"===t.getZr().painter.getType(),o=r?"svg":i.get("type",!0)||"png",s=t.getConnectedDataURL({type:o,backgroundColor:i.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")});if("function"!==typeof MouseEvent||n.browser.ie||n.browser.edge)if(window.navigator.msSaveOrOpenBlob){var l=atob(s.split(",")[1]),u=l.length,c=new Uint8Array(u);while(u--)c[u]=l.charCodeAt(u);var h=new Blob([c]);window.navigator.msSaveOrOpenBlob(h,a+"."+o)}else{var d=i.get("lang"),f='',p=window.open();p.document.write(f)}else{var g=document.createElement("a");g.download=a+"."+o,g.target="_blank",g.href=s;var m=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});g.dispatchEvent(m)}},r.register("saveAsImage",s);var u=s;e.exports=u},"4f85":function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("6d8b")),r=i("22d1"),o=i("eda2"),s=o.formatTime,l=o.encodeHTML,u=o.addCommas,c=o.getTooltipMarker,h=i("e0d3"),d=i("6cb7"),f=i("e47b"),p=i("38a2"),g=i("f934"),m=g.getLayoutParams,v=g.mergeLayoutParam,y=i("f47d"),x=y.createTask,_=i("0f99"),b=_.prepareSource,w=_.getSource,S=i("2b17"),M=S.retrieveRawValue,I=h.makeInner(),A=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,i,n){this.seriesIndex=this.componentIndex,this.dataTask=x({count:D,reset:L}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,i),b(this);var a=this.getInitialData(e,i);k(a,this),this.dataTask.context.data=a,I(this).dataBeforeProcessed=a,T(this)},mergeDefaultAndTheme:function(e,t){var i=this.layoutMode,n=i?m(e):{},r=this.subType;d.hasClass(r)&&(r+="Series"),a.merge(e,t.getTheme().get(this.subType)),a.merge(e,this.getDefaultOption()),h.defaultEmphasis(e,"label",["show"]),this.fillDataTextStyle(e.data),i&&v(e,n,i)},mergeOption:function(e,t){e=a.merge(this.option,e,!0),this.fillDataTextStyle(e.data);var i=this.layoutMode;i&&v(this.option,e,i),b(this);var n=this.getInitialData(e,t);k(n,this),this.dataTask.dirty(),this.dataTask.context.data=n,I(this).dataBeforeProcessed=n,T(this)},fillDataTextStyle:function(e){if(e&&!a.isTypedArray(e))for(var t=["show"],i=0;i":"\n",d="richText"===n,f={},p=0;function g(i){var o=a.reduce(i,(function(e,t,i){var n=v.getDimensionInfo(i);return e|(n&&!1!==n.tooltip&&null!=n.displayName)}),0),h=[];function g(e,i){var a=v.getDimensionInfo(i);if(a&&!1!==a.otherDims.tooltip){var g=a.type,m="sub"+r.seriesIndex+"at"+p,y=c({color:w,type:"subItem",renderMode:n,markerId:m}),x="string"===typeof y?y:y.content,_=(o?x+l(a.displayName||"-")+": ":"")+l("ordinal"===g?e+"":"time"===g?t?"":s("yyyy/MM/dd hh:mm:ss",e):u(e));_&&h.push(_),d&&(f[m]=w,++p)}}y.length?a.each(y,(function(t){g(M(v,e,t),t)})):a.each(i,g);var m=o?d?"\n":"
":"",x=m+h.join(m||", ");return{renderMode:n,content:x,style:f}}function m(e){return{renderMode:n,content:l(u(e)),style:f}}var v=this.getData(),y=v.mapDimension("defaultedTooltip",!0),x=y.length,_=this.getRawValue(e),b=a.isArray(_),w=v.getItemVisual(e,"color");a.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var S=x>1||b&&!x?g(_):m(x?M(v,e,y[0]):b?_[0]:_),I=S.content,A=r.seriesIndex+"at"+p,T=c({color:w,type:"item",renderMode:n,markerId:A});f[A]=w,++p;var C=v.getName(e),D=this.name;h.isNameSpecified(this)||(D=""),D=D?l(D)+(t?": ":o):"";var L="string"===typeof T?T:T.content,P=t?L+D+I:D+L+(C?l(C)+": "+I:I);return{html:P,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,i){var n=this.ecModel,a=f.getColorFromPalette.call(this,e,t,i);return a||(a=n.getColorFromPalette(e,t,i)),a},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 T(e){var t=e.name;h.isNameSpecified(e)||(e.name=C(e)||t)}function C(e){var t=e.getRawData(),i=t.mapDimension("seriesName",!0),n=[];return a.each(i,(function(e){var i=t.getDimensionInfo(e);i.displayName&&n.push(i.displayName)})),n.join(" ")}function D(e){return e.model.getRawData().count()}function L(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),P}function P(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function k(e,t){a.each(e.CHANGABLE_METHODS,(function(i){e.wrapMethod(i,a.curry(O,t))}))}function O(e){var t=R(e);t&&t.setOutputEnd(this.count())}function R(e){var t=(e.ecModel||{}).scheduler,i=t&&t.getPipeline(e.uid);if(i){var n=i.currentTask;if(n){var a=n.agentStubMap;a&&(n=a.get(e.uid))}return n}}a.mixin(A,p),a.mixin(A,f);var E=A;e.exports=E},"4fac":function(e,t,i){var n=i("620b"),a=i("9c2c");function r(e,t,i){var r=t.points,o=t.smooth;if(r&&r.length>=2){if(o&&"spline"!==o){var s=a(r,o,i,t.smoothConstraint);e.moveTo(r[0][0],r[0][1]);for(var l=r.length,u=0;u<(i?l:l-1);u++){var c=s[2*u],h=s[2*u+1],d=r[(u+1)%l];e.bezierCurveTo(c[0],c[1],h[0],h[1],d[0],d[1])}}else{"spline"===o&&(r=n(r,i)),e.moveTo(r[0][0],r[0][1]);u=1;for(var f=r.length;u=0}function l(e,t){e=e.slice();var i=n.map(e,a.capitalFirst);t=(t||[]).slice();var r=n.map(t,a.capitalFirst);return function(a,o){n.each(e,(function(e,n){for(var s={name:e,capital:i[n]},l=0;l=0}function r(e,a){var r=!1;return t((function(t){n.each(i(e,t)||[],(function(e){a.records[t.name][e]&&(r=!0)}))})),r}function o(e,a){a.nodes.push(e),t((function(t){n.each(i(e,t)||[],(function(e){a.records[t.name][e]=!0}))}))}}t.isCoordSupported=s,t.createNameEach=l,t.eachAxisDim=u,t.createLinkedNodesFinder=c},"527a":function(e,t,i){var n=i("6d8b"),a=i("3842");function r(e,t){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),i=e.coordinateSystem,n={},r=i.getRect();n.rect=r;var s=e.get("boundaryGap"),l=i.getAxis();if(n.boundaryGap=s,"horizontal"===l.orient){s[0]=a.parsePercent(s[0],r.height),s[1]=a.parsePercent(s[1],r.height);var u=r.height-s[0]-s[1];o(t,e,u)}else{s[0]=a.parsePercent(s[0],r.width),s[1]=a.parsePercent(s[1],r.width);var c=r.width-s[0]-s[1];o(t,e,c)}t.setLayout("layoutInfo",n)}))}function o(e,t,i){if(e.count())for(var a,r=t.coordinateSystem,o=t.getLayerSeries(),l=e.mapDimension("single"),u=e.mapDimension("value"),c=n.map(o,(function(t){return n.map(t.indices,(function(t){var i=r.dataToPoint(e.get(l,t));return i[1]=e.get(u,t),i}))})),h=s(c),d=h.y0,f=i/h.max,p=o.length,g=o[0].indices.length,m=0;mr&&(r=u),n.push(u)}for(var c=0;cr&&(r=d)}return o.y0=a,o.max=r,o}e.exports=r},"53f3":function(e,t){function i(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var i=e.option.nodeScaleRatio,n=t.scale,a=n&&n[0]||1,r=t.getZoom(),o=(r-1)*i+1;return o/a}function n(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}t.getNodeGlobalScale=i,t.getSymbolSize=n},5450:function(e,t,i){i("7419"),i("29a9")},"54fb":function(e,t){function i(e){e.eachSeriesByType("map",(function(e){var t=e.get("color"),i=e.getModel("itemStyle"),n=i.get("areaColor"),a=i.get("color")||t[e.seriesIndex%t.length];e.getData().setVisual({areaColor:n,color:a})}))}e.exports=i},"551f":function(e,t,i){var n=i("282b"),a=n([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),r={getItemStyle:function(e,t){var i=a(this,e,t),n=this.getBorderLineDash();return n&&(i.lineDash=n),i},getBorderLineDash:function(){var e=this.get("borderType");return"solid"===e||null==e?null:"dashed"===e?[5,5]:[1,1]}};e.exports=r},5522:function(e,t,i){i("23e0"),i("1748"),i("6c12")},5576:function(e,t,i){var n=i("6d8b"),a=i("4a01"),r=i("88b3"),o="\0_ec_dataZoom_roams";function s(e,t){var i=c(e),a=t.dataZoomId,o=t.coordId;n.each(i,(function(e,i){var r=e.dataZoomInfos;r[a]&&n.indexOf(t.allCoordIds,o)<0&&(delete r[a],e.count--)})),d(i);var s=i[o];s||(s=i[o]={coordId:o,dataZoomInfos:{},count:0},s.controller=h(e,s),s.dispatchAction=n.curry(f,e)),!s.dataZoomInfos[a]&&s.count++,s.dataZoomInfos[a]=t;var l=p(s.dataZoomInfos);s.controller.enable(l.controlType,l.opt),s.controller.setPointerChecker(t.containsPoint),r.createOrUpdate(s,"dispatchAction",t.dataZoomModel.get("throttle",!0),"fixRate")}function l(e,t){var i=c(e);n.each(i,(function(e){e.controller.dispose();var i=e.dataZoomInfos;i[t]&&(delete i[t],e.count--)})),d(i)}function u(e){return e.type+"\0_"+e.id}function c(e){var t=e.getZr();return t[o]||(t[o]={})}function h(e,t){var i=new a(e.getZr());return n.each(["pan","zoom","scrollMove"],(function(e){i.on(e,(function(i){var a=[];n.each(t.dataZoomInfos,(function(n){if(i.isAvailableBehavior(n.dataZoomModel.option)){var r=(n.getRange||{})[e],o=r&&r(t.controller,i);!n.dataZoomModel.get("disabled",!0)&&o&&a.push({dataZoomId:n.dataZoomId,start:o[0],end:o[1]})}})),a.length&&t.dispatchAction(a)}))})),i}function d(e){n.each(e,(function(t,i){t.count||(t.controller.dispose(),delete e[i])}))}function f(e,t){e.dispatchAction({type:"dataZoom",batch:t})}function p(e){var t,i="type_",a={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return n.each(e,(function(e){var n=e.dataZoomModel,o=!n.get("disabled",!0)&&(!n.get("zoomLock",!0)||"move");a[i+o]>a[i+t]&&(t=o),r&=n.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}t.register=s,t.unregister=l,t.generateCoordId=u},"55ac":function(e,t,i){var n=i("6d8b");function a(e,t,i){if(e&&n.indexOf(t,e.type)>=0){var a=i.getData().tree.root,r=e.targetNode;if("string"===typeof r&&(r=a.getNodeById(r)),r&&a.contains(r))return{node:r};var o=e.targetNodeId;if(null!=o&&(r=a.getNodeById(o)))return{node:r}}}function r(e){var t=[];while(e)e=e.parentNode,e&&t.push(e);return t.reverse()}function o(e,t){var i=r(e);return n.indexOf(i,t)>=0}function s(e,t){var i=[];while(e){var n=e.dataIndex;i.push({name:e.name,dataIndex:n,value:t.getRawValue(n)}),e=e.parentNode}return i.reverse(),i}t.retrieveTargetInfo=a,t.getPathToRoot=r,t.aboveViewRoot=o,t.wrapTreePathInfo=s},"562e":function(e,t,i){var n=i("6d8b");function a(e){null!=e&&n.extend(this,e),this.otherDims={}}var r=a;e.exports=r},5693:function(e,t){function i(e,t){var i,n,a,r,o,s=t.x,l=t.y,u=t.width,c=t.height,h=t.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"===typeof h?i=n=a=r=h:h instanceof Array?1===h.length?i=n=a=r=h[0]:2===h.length?(i=a=h[0],n=r=h[1]):3===h.length?(i=h[0],n=r=h[1],a=h[2]):(i=h[0],n=h[1],a=h[2],r=h[3]):i=n=a=r=0,i+n>u&&(o=i+n,i*=u/o,n*=u/o),a+r>u&&(o=a+r,a*=u/o,r*=u/o),n+a>c&&(o=n+a,n*=c/o,a*=c/o),i+r>c&&(o=i+r,i*=c/o,r*=c/o),e.moveTo(s+i,l),e.lineTo(s+u-n,l),0!==n&&e.arc(s+u-n,l+n,n,-Math.PI/2,0),e.lineTo(s+u,l+c-a),0!==a&&e.arc(s+u-a,l+c-a,a,0,Math.PI/2),e.lineTo(s+r,l+c),0!==r&&e.arc(s+r,l+c-r,r,Math.PI/2,Math.PI),e.lineTo(s,l+i),0!==i&&e.arc(s+i,l+i,i,Math.PI,1.5*Math.PI)}t.buildPath=i},5866:function(e,t,i){var n=i("ef2b"),a=n.forceLayout,r=i("1c5f"),o=r.simpleLayout,s=i("94e4"),l=s.circularLayout,u=i("3842"),c=u.linearMap,h=i("401b"),d=i("6d8b"),f=i("0c37"),p=f.getCurvenessForEdge;function g(e){e.eachSeriesByType("graph",(function(e){var t=e.coordinateSystem;if(!t||"view"===t.type)if("force"===e.get("layout")){var i=e.preservedPoints||{},n=e.getGraph(),r=n.data,s=n.edgeData,u=e.getModel("force"),f=u.get("initLayout");e.preservedPoints?r.each((function(e){var t=r.getId(e);r.setItemLayout(e,i[t]||[NaN,NaN])})):f&&"none"!==f?"circular"===f&&l(e,"value"):o(e);var g=r.getDataExtent("value"),m=s.getDataExtent("value"),v=u.get("repulsion"),y=u.get("edgeLength");d.isArray(v)||(v=[v,v]),d.isArray(y)||(y=[y,y]),y=[y[1],y[0]];var x=r.mapArray("value",(function(e,t){var i=r.getItemLayout(t),n=c(e,g,v);return isNaN(n)&&(n=(v[0]+v[1])/2),{w:n,rep:n,fixed:r.getItemModel(t).get("fixed"),p:!i||isNaN(i[0])||isNaN(i[1])?null:i}})),_=s.mapArray("value",(function(t,i){var a=n.getEdgeByIndex(i),r=c(t,m,y);isNaN(r)&&(r=(y[0]+y[1])/2);var o=a.getModel(),s=d.retrieve3(o.get("lineStyle.curveness"),-p(a,e,i,!0),0);return{n1:x[a.node1.dataIndex],n2:x[a.node2.dataIndex],d:r,curveness:s,ignoreForceLayout:o.get("ignoreForceLayout")}})),b=(t=e.coordinateSystem,t.getBoundingRect()),w=a(x,_,{rect:b,gravity:u.get("gravity"),friction:u.get("friction")}),S=w.step;w.step=function(e){for(var t=0,a=x.length;t=0;o--)null==i[o]&&(delete a[t[o]],t.pop())}function p(e,t){var i=e.visual,a=[];n.isObject(i)?s(i,(function(e){a.push(e)})):null!=i&&a.push(i);var r={color:1,symbol:1};t||1!==a.length||r.hasOwnProperty(e.type)||(a[1]=a[0]),w(e,a)}function g(e){return{applyVisual:function(t,i,n){t=this.mapValueToVisual(t),n("color",e(i("color"),t))},_doMap:_([0,1])}}function m(e){var t=this.option.visual;return t[Math.round(o(e,[0,1],[0,t.length-1],!0))]||{}}function v(e){return function(t,i,n){n(e,this.mapValueToVisual(t))}}function y(e){var t=this.option.visual;return t[this.option.loop&&e!==u?e%t.length:e]}function x(){return this.option.visual[0]}function _(e){return{linear:function(t){return o(t,e,this.option.visual,!0)},category:y,piecewise:function(t,i){var n=b.call(this,i);return null==n&&(n=o(t,e,this.option.visual,!0)),n},fixed:x}}function b(e){var t=this.option,i=t.pieceList;if(t.hasSpecialVisual){var n=c.findPieceIndex(e,i),a=i[n];if(a&&a.visual)return a.visual[this.type]}}function w(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=n.map(t,(function(e){return a.parse(e)}))),t}var S={linear:function(e){return o(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,i=c.findPieceIndex(e,t,!0);if(null!=i)return o(i,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?u:t},fixed:n.noop};function M(e,t,i){return e?t<=i:t=0;if(a){var r="touchend"!==n?t.targetTouches[0]:t.changedTouches[0];r&&h(e,r,t,i)}else h(e,t,t,i),t.zrDelta=t.wheelDelta?t.wheelDelta/120:-(t.detail||0)/3;var o=t.button;return null==t.which&&void 0!==o&&u.test(t.type)&&(t.which=1&o?1:2&o?3:4&o?2:0),t}function g(e,t,i,n){l?e.addEventListener(t,i,n):e.attachEvent("on"+t,i)}function m(e,t,i,n){l?e.removeEventListener(t,i,n):e.detachEvent("on"+t,i)}var v=l?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0};function y(e){return 2===e.which||3===e.which}function x(e){return e.which>1}t.clientToLocal=h,t.getNativeEvent=f,t.normalizeEvent=p,t.addEventListener=g,t.removeEventListener=m,t.stop=v,t.isMiddleOrRightButtonOnMouseUpDown=y,t.notLeftMouse=x},"60d7":function(e,t,i){var n=i("2306"),a=i("e887"),r=.3,o=a.extend({type:"parallel",init:function(){this._dataGroup=new n.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(e,t,i,a){var r=this._dataGroup,o=e.getData(),d=this._data,f=e.coordinateSystem,p=f.dimensions,g=c(e);function m(e){var t=u(o,r,e,p,f);h(t,o,e,g)}function v(t,i){var r=d.getItemGraphicEl(i),s=l(o,t,p,f);o.setItemGraphicEl(t,r);var u=a&&!1===a.animation?null:e;n.updateProps(r,{shape:{points:s}},u,t),h(r,o,t,g)}function y(e){var t=d.getItemGraphicEl(e);r.remove(t)}if(o.diff(d).add(m).update(v).remove(y).execute(),!this._initialized){this._initialized=!0;var x=s(f,e,(function(){setTimeout((function(){r.removeClipPath()}))}));r.setClipPath(x)}this._data=o},incrementalPrepareRender:function(e,t,i){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(e,t,i){for(var n=t.getData(),a=t.coordinateSystem,r=a.dimensions,o=c(t),s=e.start;s65535?x:b}function S(e){var t=e.constructor;return t===Array?e.slice():new t(e)}var M=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],I=["_extent","_approximateExtent","_rawExtent"];function A(e,t){a.each(M.concat(t.__wrappedMethods||[]),(function(i){t.hasOwnProperty(i)&&(e[i]=t[i])})),e.__wrappedMethods=t.__wrappedMethods,a.each(I,(function(i){e[i]=a.clone(t[i])})),e._calculationInfo=a.extend(t._calculationInfo)}var T=function(e,t){e=e||["x","y"];for(var i={},n=[],r={},o=0;o=0?this._indices[e]:-1}function R(e,t){var i=e._idList[t];return null==i&&(i=P(e,e._idDimIdx,t)),null==i&&(i=v+t),i}function E(e){return a.isArray(e)||(e=[e]),e}function N(e,t){var i=e.dimensions,n=new T(a.map(i,e.getDimensionInfo,e),e.hostModel);A(n,e);for(var r=n._storage={},o=e._storage,s=0;s=0?(r[l]=z(o[l]),n._rawExtent[l]=V(),n._extent[l]=null):r[l]=o[l])}return n}function z(e){for(var t=new Array(e.length),i=0;ix[1]&&(x[1]=y)}t&&(this._nameList[f]=t[p])}this._rawCount=this._count=l,this._extent={},L(this)},C._initDataFromProvider=function(e,t){if(!(e>=t)){for(var i,n=this._chunkSize,a=this._rawData,r=this._storage,o=this.dimensions,s=o.length,l=this._dimensionInfos,u=this._nameList,c=this._idList,h=this._rawExtent,d=this._nameRepeatCount={},f=this._chunkCount,p=0;pM[1]&&(M[1]=S)}if(!a.pure){var I=u[y];if(v&&null==I)if(null!=v.name)u[y]=I=v.name;else if(null!=i){var A=o[i],T=r[A][x];if(T){I=T[_];var C=l[A].ordinalMeta;C&&C.categories.length&&(I=C.categories[I])}}var P=null==v?null:v.id;null==P&&null!=I&&(d[I]=d[I]||0,P=I,d[I]>0&&(P+="__ec__"+d[I]),d[I]++),null!=P&&(c[y]=P)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=t,this._extent={},L(this)}},C.count=function(){return this._count},C.getIndices=function(){var e=this._indices;if(e){var t=e.constructor,i=this._count;if(t===Array){a=new t(i);for(var n=0;n=0&&t=0&&ts&&(s=u)}return n=[o,s],this._extent[e]=n,n},C.getApproximateExtent=function(e){return e=this.getDimension(e),this._approximateExtent[e]||this.getDataExtent(e)},C.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},C.getCalculationInfo=function(e){return this._calculationInfo[e]},C.setCalculationInfo=function(e,t){p(e)?a.extend(this._calculationInfo,e):this._calculationInfo[e]=t},C.getSum=function(e){var t=this._storage[e],i=0;if(t)for(var n=0,a=this.count();n=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,i=t[e];if(null!=i&&ie))return r;a=r-1}}return-1},C.indicesOfNearest=function(e,t,i){var n=this._storage,a=n[e],r=[];if(!a)return r;null==i&&(i=1/0);for(var o=1/0,s=-1,l=0,u=0,c=this.count();u=0&&s<0)&&(o=d,s=h,l=0),h===s&&(r[l++]=u))}return r.length=l,r},C.getRawIndex=k,C.getRawDataItem=function(e){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(e));for(var t=[],i=0;i=u&&y<=c||isNaN(y))&&(o[s++]=d),d++}h=!0}else if(2===n){f=this._storage[l];var x=this._storage[t[1]],_=e[t[1]][0],b=e[t[1]][1];for(p=0;p=u&&y<=c||isNaN(y))&&(M>=_&&M<=b||isNaN(M))&&(o[s++]=d),d++}}h=!0}}if(!h)if(1===n)for(v=0;v=u&&y<=c||isNaN(y))&&(o[s++]=I)}else for(v=0;ve[T][1])&&(A=!1)}A&&(o[s++]=this.getRawIndex(v))}return sw[1]&&(w[1]=b)}}}return r},C.downSample=function(e,t,i,n){for(var a=N(this,[e]),r=a._storage,o=[],s=Math.floor(1/t),l=r[e],u=this.count(),c=this._chunkSize,h=a._rawExtent[e],d=new(w(this))(u),f=0,p=0;pu-p&&(s=u-p,o.length=s);for(var g=0;gh[1]&&(h[1]=x),d[f++]=_}return a._count=f,a._indices=d,a.getRawIndex=O,a},C.getItemModel=function(e){var t=this.hostModel;return new r(this.getRawDataItem(e),t,t&&t.ecModel)},C.diff=function(e){var t=this;return new o(e?e.getIndices():[],this.getIndices(),(function(t){return R(e,t)}),(function(e){return R(t,e)}))},C.getVisual=function(e){var t=this._visual;return t&&t[e]},C.setVisual=function(e,t){if(p(e))for(var i in e)e.hasOwnProperty(i)&&this.setVisual(i,e[i]);else this._visual=this._visual||{},this._visual[e]=t},C.setLayout=function(e,t){if(p(e))for(var i in e)e.hasOwnProperty(i)&&this.setLayout(i,e[i]);else this._layout[e]=t},C.getLayout=function(e){return this._layout[e]},C.getItemLayout=function(e){return this._itemLayouts[e]},C.setItemLayout=function(e,t,i){this._itemLayouts[e]=i?a.extend(this._itemLayouts[e]||{},t):t},C.clearItemLayouts=function(){this._itemLayouts.length=0},C.getItemVisual=function(e,t,i){var n=this._itemVisuals[e],a=n&&n[t];return null!=a||i?a:this.getVisual(t)},C.setItemVisual=function(e,t,i){var n=this._itemVisuals[e]||{},a=this.hasItemVisual;if(this._itemVisuals[e]=n,p(t))for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r],a[r]=!0);else n[t]=i,a[t]=!0},C.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var B=function(e){e.seriesIndex=this.seriesIndex,e.dataIndex=this.dataIndex,e.dataType=this.dataType};C.setItemGraphicEl=function(e,t){var i=this.hostModel;t&&(t.dataIndex=e,t.dataType=this.dataType,t.seriesIndex=i&&i.seriesIndex,"group"===t.type&&t.traverse(B,t)),this._graphicEls[e]=t},C.getItemGraphicEl=function(e){return this._graphicEls[e]},C.eachItemGraphicEl=function(e,t){a.each(this._graphicEls,(function(i,n){i&&e&&e.call(t,i,n)}))},C.cloneShallow=function(e){if(!e){var t=a.map(this.dimensions,this.getDimensionInfo,this);e=new T(t,this.hostModel)}if(e._storage=this._storage,A(e,this),this._indices){var i=this._indices.constructor;e._indices=new i(this._indices)}else e._indices=null;return e.getRawIndex=e._indices?O:k,e},C.wrapMethod=function(e,t){var i=this[e];"function"===typeof i&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=i.apply(this,arguments);return t.apply(this,[e].concat(a.slice(arguments)))})},C.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],C.CHANGABLE_METHODS=["filterSelf","selectRange"];var F=T;e.exports=F},"620b":function(e,t,i){var n=i("401b"),a=n.distance;function r(e,t,i,n,a,r,o){var s=.5*(i-e),l=.5*(n-t);return(2*(t-i)+s+l)*o+(-3*(t-i)-2*s-l)*r+s*a+t}function o(e,t){for(var i=e.length,n=[],o=0,s=1;si-2?i-1:f+1],h=e[f>i-3?i-1:f+2]);var m=p*p,v=p*m;n.push([r(u[0],g[0],c[0],h[0],p,m,v),r(u[1],g[1],c[1],h[1],p,m,v)])}return n}e.exports=o},"625e":function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("6d8b")),r=".",o="___EC__COMPONENT__CONTAINER___";function s(e){var t={main:"",sub:""};return e&&(e=e.split(r),t.main=e[0]||"",t.sub=e[1]||""),t}function l(e){a.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function u(e,t){e.$constructor=e,e.extend=function(e){var t=this,i=function(){e.$constructor?e.$constructor.apply(this,arguments):t.apply(this,arguments)};return a.extend(i.prototype,e),i.extend=this.extend,i.superCall=d,i.superApply=f,a.inherits(i,this),i.superClass=t,i}}var c=0;function h(e){var t=["__\0is_clz",c++,Math.random().toFixed(3)].join("_");e.prototype[t]=!0,e.isInstance=function(e){return!(!e||!e[t])}}function d(e,t){var i=a.slice(arguments,2);return this.superClass.prototype[t].apply(e,i)}function f(e,t,i){return this.superClass.prototype[t].apply(e,i)}function p(e,t){t=t||{};var i={};function n(e){var t=i[e.main];return t&&t[o]||(t=i[e.main]={},t[o]=!0),t}if(e.registerClass=function(e,t){if(t)if(l(t),t=s(t),t.sub){if(t.sub!==o){var a=n(t);a[t.sub]=e}}else i[t.main]=e;return e},e.getClass=function(e,t,n){var a=i[e];if(a&&a[o]&&(a=t?a[t]:null),n&&!a)throw new Error(t?"Component "+e+"."+(t||"")+" not exists. Load it first.":e+".type should be specified.");return a},e.getClassesByMainType=function(e){e=s(e);var t=[],n=i[e.main];return n&&n[o]?a.each(n,(function(e,i){i!==o&&t.push(e)})):t.push(n),t},e.hasClass=function(e){return e=s(e),!!i[e.main]},e.getAllClassMainTypes=function(){var e=[];return a.each(i,(function(t,i){e.push(i)})),e},e.hasSubTypes=function(e){e=s(e);var t=i[e.main];return t&&t[o]},e.parseClassType=s,t.registerWhenExtend){var r=e.extend;r&&(e.extend=function(t){var i=r.call(this,t);return e.registerClass(i,t.type)})}return e}function g(e,t){}t.parseClassType=s,t.enableClassExtend=u,t.enableClassCheck=h,t.enableClassManagement=p,t.setReadOnly=g},"627c":function(e,t,i){var n=i("6d8b"),a=i("3eba"),r=i("2306"),o=i("f934"),s=o.getLayoutRect,l=i("eda2"),u=l.windowOpen;a.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),a.extendComponentView({type:"title",render:function(e,t,i){if(this.group.removeAll(),e.get("show")){var a=this.group,o=e.getModel("textStyle"),l=e.getModel("subtextStyle"),c=e.get("textAlign"),h=n.retrieve2(e.get("textBaseline"),e.get("textVerticalAlign")),d=new r.Text({style:r.setTextStyle({},o,{text:e.get("text"),textFill:o.getTextColor()},{disableBox:!0}),z2:10}),f=d.getBoundingRect(),p=e.get("subtext"),g=new r.Text({style:r.setTextStyle({},l,{text:p,textFill:l.getTextColor(),y:f.height+e.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),m=e.get("link"),v=e.get("sublink"),y=e.get("triggerEvent",!0);d.silent=!m&&!y,g.silent=!v&&!y,m&&d.on("click",(function(){u(m,"_"+e.get("target"))})),v&&g.on("click",(function(){u(v,"_"+e.get("subtarget"))})),d.eventData=g.eventData=y?{componentType:"title",componentIndex:e.componentIndex}:null,a.add(d),p&&a.add(g);var x=a.getBoundingRect(),_=e.getBoxLayoutParams();_.width=x.width,_.height=x.height;var b=s(_,{width:i.getWidth(),height:i.getHeight()},e.get("padding"));c||(c=e.get("left")||e.get("right"),"middle"===c&&(c="center"),"right"===c?b.x+=b.width:"center"===c&&(b.x+=b.width/2)),h||(h=e.get("top")||e.get("bottom"),"center"===h&&(h="middle"),"bottom"===h?b.y+=b.height:"middle"===h&&(b.y+=b.height/2),h=h||"top"),a.attr("position",[b.x,b.y]);var w={textAlign:c,textVerticalAlign:h};d.setStyle(w),g.setStyle(w),x=a.getBoundingRect();var S=b.margin,M=e.getItemStyle(["color","opacity"]);M.fill=e.get("backgroundColor");var I=new r.Rect({shape:{x:x.x-S[3],y:x.y-S[0],width:x.width+S[1]+S[3],height:x.height+S[0]+S[2],r:e.get("borderRadius")},style:M,subPixelOptimize:!0,silent:!0});a.add(I)}}})},6569:function(e,t,i){var n=i("6d8b"),a=i("e0d3");function r(e){o(e),s(e)}function o(e){if(!e.parallel){var t=!1;n.each(e.series,(function(e){e&&"parallel"===e.type&&(t=!0)})),t&&(e.parallel=[{}])}}function s(e){var t=a.normalizeToArray(e.parallelAxis);n.each(t,(function(t){if(n.isObject(t)){var i=t.parallelIndex||0,r=a.normalizeToArray(e.parallel)[i];r&&r.parallelAxisDefault&&n.merge(t,r.parallelAxisDefault,!1)}}))}e.exports=r},6582:function(e,t,i){var n=i("cccd"),a={seriesType:"lines",plan:n(),reset:function(e){var t=e.coordinateSystem,i=e.get("polyline"),n=e.pipelineContext.large;function a(a,r){var o=[];if(n){var s,l=a.end-a.start;if(i){for(var u=0,c=a.start;c>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[l]+":0",a[u]+":0",n[1-l]+":auto",a[1-u]+":auto",""].join("!important;"),e.appendChild(o),i.push(o)}return i}function h(e,t,i){for(var n=i?"invTrans":"trans",a=t[n],o=t.srcCoords,s=!0,l=[],u=[],c=0;c<4;c++){var h=e[c].getBoundingClientRect(),d=2*c,f=h.left,p=h.top;l.push(f,p),s=s&&o&&f===o[d]&&p===o[d+1],u.push(e[c].offsetLeft,e[c].offsetTop)}return s&&a?a:(t.srcCoords=l,t[n]=i?r(u,l):r(l,u))}function d(e){return"CANVAS"===e.nodeName.toUpperCase()}t.transformLocalCoord=l,t.transformCoordWithViewport=u,t.isCanvasEl=d},6679:function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("3eba")),r=i("cd33"),o=a.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(e,t,i,n){this.axisPointerClass&&r.fixValue(e),o.superApply(this,"render",arguments),s(this,e,t,i,n,!0)},updateAxisPointer:function(e,t,i,n,a){s(this,e,t,i,n,!1)},remove:function(e,t){var i=this._axisPointer;i&&i.remove(t),o.superApply(this,"remove",arguments)},dispose:function(e,t){l(this,t),o.superApply(this,"dispose",arguments)}});function s(e,t,i,n,a,s){var u=o.getAxisPointerClass(e.axisPointerClass);if(u){var c=r.getAxisPointerModel(t);c?(e._axisPointer||(e._axisPointer=new u)).render(t,c,n,s):l(e,n)}}function l(e,t,i){var n=e._axisPointer;n&&n.dispose(t,i),e._axisPointer=null}var u=[];o.registerAxisPointerClass=function(e,t){u[e]=t},o.getAxisPointerClass=function(e){return e&&u[e]};var c=o;e.exports=c},"66a4":function(e,t,i){var n=i("6d8b");function a(e){var t=e&&e.timeline;n.isArray(t)||(t=t?[t]:[]),n.each(t,(function(e){e&&r(e)}))}function r(e){var t=e.type,i={number:"value",time:"time"};if(i[t]&&(e.axisType=i[t],delete e.type),o(e),s(e,"controlPosition")){var a=e.controlStyle||(e.controlStyle={});s(a,"position")||(a.position=e.controlPosition),"none"!==a.position||s(a,"show")||(a.show=!1,delete a.position),delete e.controlPosition}n.each(e.data||[],(function(e){n.isObject(e)&&!n.isArray(e)&&(!s(e,"value")&&s(e,"name")&&(e.value=e.name),o(e))}))}function o(e){var t=e.itemStyle||(e.itemStyle={}),i=t.emphasis||(t.emphasis={}),a=e.label||e.label||{},r=a.normal||(a.normal={}),o={normal:1,emphasis:1};n.each(a,(function(e,t){o[t]||s(r,t)||(r[t]=e)})),i.label&&!s(a,"emphasis")&&(a.emphasis=i.label,delete i.label)}function s(e,t){return e.hasOwnProperty(t)}e.exports=a},"66fc":function(e,t,i){var n=i("6d8b"),a=i("84ce"),r=function(e,t,i,n,r){a.call(this,e,t,i),this.type=n||"value",this.position=r||"bottom",this.orient=null};r.prototype={constructor:r,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},pointToData:function(e,t){return this.coordinateSystem.pointToData(e,t)[0]},toGlobalCoord:null,toLocalCoord:null},n.inherits(r,a);var o=r;e.exports=o},"675a":function(e,t){function i(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",(function(e){var i=e.getCategoriesData(),n=e.getGraph(),a=n.data,r=i.mapArray(i.getName);a.filterSelf((function(e){var i=a.getItemModel(e),n=i.getShallow("category");if(null!=n){"number"===typeof n&&(n=r[n]);for(var o=0;o0?1:-1,o=n.height>0?1:-1;return{x:n.x+r*a/2,y:n.y+o*a/2,width:n.width-r*a,height:n.height-o*a}},polar:function(e,t,i){var n=e.getItemLayout(t);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle}}};function D(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}function L(e,t,i,n,a,s,u,c){var h=t.getItemVisual(i,"color"),d=t.getItemVisual(i,"opacity"),f=t.getVisual("borderColor"),p=n.getModel("itemStyle"),g=n.getModel("emphasis.itemStyle").getBarItemStyle();c||e.setShape("r",p.get("barBorderRadius")||0),e.useStyle(r.defaults({stroke:D(a)?"none":f,fill:D(a)?"none":h,opacity:d},p.getBarItemStyle()));var m=n.getShallow("cursor");m&&e.attr("cursor",m);var v=u?a.height>0?"bottom":"top":a.width>0?"left":"right";c||l(e.style,g,n,h,s,i,v),D(a)&&(g.fill=g.stroke="none"),o.setHoverStyle(e,g)}function P(e,t){var i=e.get(y)||0,n=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),a=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(i,n,a)}var k=h.extend({type:"largeBar",shape:{points:[]},buildPath:function(e,t){for(var i=t.points,n=this.__startPoint,a=this.__baseDimIdx,r=0;r=0?i:null}),30,!1);function E(e,t,i){var n=e.__baseDimIdx,a=1-n,r=e.shape.points,o=e.__largeDataIndices,s=Math.abs(e.__barWidth/2),l=e.__startPoint[a];x[0]=t,x[1]=i;for(var u=x[n],c=x[1-n],h=u-s,d=u+s,f=0,p=r.length/2;f=h&&m<=d&&(l<=v?c>=l&&c<=v:c>=v&&c<=l))return o[f]}return-1}function N(e,t,i){var n=i.getVisual("borderColor")||i.getVisual("color"),a=t.getModel("itemStyle").getItemStyle(["color","borderColor"]);e.useStyle(a),e.style.fill=null,e.style.stroke=n,e.style.lineWidth=i.getLayout("barWidth")}function z(e,t,i){var n=t.get("borderColor")||t.get("color"),a=t.getItemStyle(["color","borderColor"]);e.useStyle(a),e.style.fill=null,e.style.stroke=n,e.style.lineWidth=i.getLayout("barWidth")}function V(e,t,i){var n,a="polar"===i.type;return n=a?i.getArea():i.grid.getRect(),a?{cx:n.cx,cy:n.cy,r0:e?n.r0:t.r0,r:e?n.r:t.r,startAngle:e?t.startAngle:0,endAngle:e?t.endAngle:2*Math.PI}:{x:e?t.x:n.x,y:e?n.y:t.y,width:e?t.width:n.width,height:e?n.height:t.height}}function B(e,t,i){var n="polar"===e.type?o.Sector:o.Rect;return new n({shape:V(t,i,e),silent:!0,z2:0})}e.exports=b},"68ab":function(e,t,i){var n=i("4a3f"),a=n.quadraticProjectPoint;function r(e,t,i,n,r,o,s,l,u){if(0===s)return!1;var c=s;if(u>t+c&&u>n+c&&u>o+c||ue+c&&l>i+c&&l>r+c||l0&&u>0&&!f&&(s=0),s<0&&u<0&&!p&&(u=0));var m=t.ecModel;if(m&&"time"===o){var v,y=c("bar",m);if(a.each(y,(function(e){v|=e.getBaseAxis()===t.axis})),v){var x=h(y),_=g(s,u,t,x);s=_.min,u=_.max}}return{extent:[s,u],fixMin:f,fixMax:p}}function g(e,t,i,n){var r=i.axis.getExtent(),o=r[1]-r[0],s=d(n,i.axis);if(void 0===s)return{min:e,max:t};var l=1/0;a.each(s,(function(e){l=Math.min(e.offset,l)}));var u=-1/0;a.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=1-(l+u)/o,p=h/f-h;return t+=p*(u/c),e-=p*(l/c),{min:e,max:t}}function m(e,t){var i=p(e,t),n=i.extent,a=t.get("splitNumber");"log"===e.type&&(e.base=t.get("logBase"));var r=e.type;e.setExtent(n[0],n[1]),e.niceExtent({splitNumber:a,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:"interval"===r||"time"===r?t.get("minInterval"):null,maxInterval:"interval"===r||"time"===r?t.get("maxInterval"):null});var o=t.get("interval");null!=o&&e.setInterval&&e.setInterval(o)}function v(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new r(e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),[1/0,-1/0]);case"value":return new o;default:return(s.getClass(t)||o).create(e)}}function y(e){var t=e.scale.getExtent(),i=t[0],n=t[1];return!(i>0&&n>0||i<0&&n<0)}function x(e){var t=e.getLabelModel().get("formatter"),i="category"===e.type?e.scale.getExtent()[0]:null;return"string"===typeof t?(t=function(t){return function(i){return i=e.scale.getLabel(i),t.replace("{value}",null!=i?i:"")}}(t),t):"function"===typeof t?function(n,a){return null!=i&&(a=n-i),t(_(e,n),a)}:function(t){return e.scale.getLabel(t)}}function _(e,t){return"category"===e.type?e.scale.getLabel(t):t}function b(e){var t=e.model,i=e.scale;if(t.get("axisLabel.show")&&!i.isBlank()){var n,a,r="category"===e.type,o=i.getExtent();r?a=i.count():(n=i.getTicks(),a=n.length);var s,l=e.getLabelModel(),u=x(e),c=1;a>40&&(c=Math.ceil(a/40));for(var h=0;hi.blockIndex,r=a?i.step:null,o=n&&n.modDataCount,s=null!=o?Math.ceil(o/r):null;return{step:r,modBy:s,modDataCount:o}}},y.getPipeline=function(e){return this._pipelineMap.get(e)},y.updateStreamModes=function(e,t){var i=this._pipelineMap.get(e.uid),n=e.getData(),a=n.count(),r=i.progressiveEnabled&&t.incrementalPrepareRender&&a>=i.threshold,o=e.get("large")&&a>=e.get("largeThreshold"),s="mod"===e.get("progressiveChunkMode")?a:null;e.pipelineContext=i.context={progressiveRender:r,modDataCount:s,large:o}},y.restorePipelines=function(e){var t=this,i=t._pipelineMap=s();e.eachSeries((function(e){var n=e.getProgressive(),a=e.uid;i.set(a,{id:a,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:n&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(n||700),count:0}),k(t,e,e.dataTask)}))},y.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.ecInstance.getModel(),i=this.api;a(this._allHandlers,(function(n){var a=e.get(n.uid)||e.set(n.uid,[]);n.reset&&b(this,n,a,t,i),n.overallReset&&w(this,n,a,t,i)}),this)},y.prepareView=function(e,t,i,n){var a=e.renderTask,r=a.context;r.model=t,r.ecModel=i,r.api=n,a.__block=!e.incrementalPrepareRender,k(this,t,a)},y.performDataProcessorTasks=function(e,t){x(this,this._dataProcessorHandlers,e,t,{block:!0})},y.performVisualTasks=function(e,t,i){x(this,this._visualHandlers,e,t,i)},y.performSeriesTasks=function(e){var t;e.eachSeries((function(e){t|=e.dataTask.perform()})),this.unfinished|=t},y.plan=function(){this._pipelineMap.each((function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)}))};var _=y.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)};function b(e,t,i,n,a){var r=i.seriesTaskMap||(i.seriesTaskMap=s()),o=t.seriesType,l=t.getTargetSeries;function u(i){var o=i.uid,s=r.get(o)||r.set(o,c({plan:T,reset:C,count:P}));s.context={model:i,ecModel:n,api:a,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:e},k(e,i,s)}t.createOnAllSeries?n.eachRawSeries(u):o?n.eachRawSeriesByType(o,u):l&&l(n,a).each(u);var h=e._pipelineMap;r.each((function(e,t){h.get(t)||(e.dispose(),r.removeKey(t))}))}function w(e,t,i,n,r){var o=i.overallTask=i.overallTask||c({reset:S});o.context={ecModel:n,api:r,overallReset:t.overallReset,scheduler:e};var l=o.agentStubMap=o.agentStubMap||s(),u=t.seriesType,h=t.getTargetSeries,d=!0,f=t.modifyOutputEnd;function p(t){var i=t.uid,n=l.get(i);n||(n=l.set(i,c({reset:M,onDirty:A})),o.dirty()),n.context={model:t,overallProgress:d,modifyOutputEnd:f},n.agent=o,n.__block=d,k(e,t,n)}u?n.eachRawSeriesByType(u,p):h?h(n,r).each(p):(d=!1,a(n.getSeries(),p));var g=e._pipelineMap;l.each((function(e,t){g.get(t)||(e.dispose(),o.dirty(),l.removeKey(t))}))}function S(e){e.overallReset(e.ecModel,e.api,e.payload)}function M(e,t){return e.overallProgress&&I}function I(){this.agent.dirty(),this.getDownstream().dirty()}function A(){this.agent&&this.agent.dirty()}function T(e){return e.plan&&e.plan(e.model,e.ecModel,e.api,e.payload)}function C(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=m(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?r(t,(function(e,t){return L(t)})):D}var D=L(0);function L(e){return function(t,i){var n=i.data,a=i.resetDefines[e];if(a&&a.dataEach)for(var r=t.start;r=0;l--)if(n[l]<=t)break;l=Math.min(l,a-2)}else{for(var l=r;lt)break;l=Math.min(l-1,a-2)}o.lerp(e.position,i[l],i[l+1],(t-n[l])/(n[l+1]-n[l]));var u=i[l+1][0]-i[l][0],c=i[l+1][1]-i[l][1];e.rotation=-Math.atan2(c,u)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=t,e.ignore=!1}},a.inherits(s,r);var u=s;e.exports=u},"6acf":function(e,t,i){var n=i("eda2"),a=i("dcb3"),r=i("2306"),o=i("ff2e"),s=i("1687"),l=i("fab2"),u=i("6679"),c=a.extend({makeElOption:function(e,t,i,a,r){var s=i.axis;"angle"===s.dim&&(this.animationThreshold=Math.PI/18);var l,u=s.polar,c=u.getOtherAxis(s),f=c.getExtent();l=s["dataTo"+n.capitalFirst(s.dim)](t);var p=a.get("type");if(p&&"none"!==p){var g=o.buildElStyle(a),m=d[p](s,u,l,f,g);m.style=g,e.graphicKey=m.type,e.pointer=m}var v=a.get("label.margin"),y=h(t,i,a,u,v);o.buildLabelElOption(e,i,a,r,y)}});function h(e,t,i,n,a){var o=t.axis,u=o.dataToCoord(e),c=n.getAngleAxis().getExtent()[0];c=c/180*Math.PI;var h,d,f,p=n.getRadiusAxis().getExtent();if("radius"===o.dim){var g=s.create();s.rotate(g,g,c),s.translate(g,g,[n.cx,n.cy]),h=r.applyTransform([u,-a],g);var m=t.getModel("axisLabel").get("rotate")||0,v=l.innerTextLayout(c,m*Math.PI/180,-1);d=v.textAlign,f=v.textVerticalAlign}else{var y=p[1];h=n.coordToPoint([y+a,u]);var x=n.cx,_=n.cy;d=Math.abs(h[0]-x)/y<.3?"center":h[0]>x?"left":"right",f=Math.abs(h[1]-_)/y<.3?"middle":h[1]>_?"top":"bottom"}return{position:h,align:d,verticalAlign:f}}var d={line:function(e,t,i,n,a){return"angle"===e.dim?{type:"Line",shape:o.makeLineShape(t.coordToPoint([n[0],i]),t.coordToPoint([n[1],i]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:i}}},shadow:function(e,t,i,n,a){var r=Math.max(1,e.getBandWidth()),s=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:o.makeSectorShape(t.cx,t.cy,n[0],n[1],(-i-r/2)*s,(r/2-i)*s)}:{type:"Sector",shape:o.makeSectorShape(t.cx,t.cy,i-r/2,i+r/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",c);var f=c;e.exports=f},"6bd4":function(e,t){var i={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function n(e,t){if("world"===e){var n=i[t.name];if(n){var a=t.center;a[0]=n[0],a[1]=n[1]}}}e.exports=n},"6c12":function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("3eba")),r=i("6d8b"),o=i("fab2"),s=i("2306"),l=["axisLine","axisTickLabel","axisName"],u=a.extendComponentView({type:"radar",render:function(e,t,i){var n=this.group;n.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},_buildAxes:function(e){var t=e.coordinateSystem,i=t.getIndicatorAxes(),n=r.map(i,(function(e){var i=new o(e.model,{position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return i}));r.each(n,(function(e){r.each(l,e.add,e),this.group.add(e.getGroup())}),this)},_buildSplitLineAndArea:function(e){var t=e.coordinateSystem,i=t.getIndicatorAxes();if(i.length){var n=e.get("shape"),a=e.getModel("splitLine"),o=e.getModel("splitArea"),l=a.getModel("lineStyle"),u=o.getModel("areaStyle"),c=a.get("show"),h=o.get("show"),d=l.get("color"),f=u.get("color");d=r.isArray(d)?d:[d],f=r.isArray(f)?f:[f];var p=[],g=[];if("circle"===n)for(var m=i[0].getTicksCoords(),v=t.cx,y=t.cy,x=0;x=0;o--)r=n.merge(r,t[o],!0);e.defaultOption=r}return e.defaultOption},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});function g(e){var t=[];return n.each(p.getClassesByMainType(e),(function(e){t=t.concat(e.prototype.dependencies||[])})),t=n.map(t,(function(e){return l(e).main})),"dataset"!==e&&n.indexOf(t,"dataset")<=0&&t.unshift("dataset"),t}s(p,{registerWhenExtend:!0}),r.enableSubTypeDefaulter(p),r.enableTopologicalTravel(p,g),n.mixin(p,d);var m=p;e.exports=m},"6cc5":function(e,t,i){var n=i("6d8b"),a=i("401b"),r=i("1687"),o=i("9850"),s=i("0cde"),l=a.applyTransform;function u(){s.call(this)}function c(e){this.name=e,this.zoomLimit,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}function h(e,t,i,n){var a=i.seriesModel,r=a?a.coordinateSystem:null;return r===this?r[e](n):null}n.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(e,t,i,n){return this._rect=new o(e,t,i,n),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(e,t,i,n){this.transformTo(e,t,i,n),this._viewRect=new o(e,t,i,n)},transformTo:function(e,t,i,n){var a=this.getBoundingRect(),r=this._rawTransformable;r.transform=a.calculateTransform(new o(e,t,i,n)),r.decomposeTransform(),this._updateTransform()},setCenter:function(e){e&&(this._center=e,this._updateCenterAndZoom())},setZoom:function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},getDefaultCenter:function(){var e=this.getBoundingRect(),t=e.x+e.width/2,i=e.y+e.height/2;return[t,i]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var e=this._rawTransformable.getLocalTransform(),t=this._roamTransformable,i=this.getDefaultCenter(),n=this.getCenter(),r=this.getZoom();n=a.applyTransform([],n,e),i=a.applyTransform([],i,e),t.origin=n,t.position=[i[0]-n[0],i[1]-n[1]],t.scale=[r,r],this._updateTransform()},_updateTransform:function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),r.copy(this.transform||(this.transform=[]),t.transform||r.create()),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],r.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var e=this._roamTransformable.transform,t=this._rawTransformable;return{roamTransform:e?n.slice(e):r.create(),rawScale:n.slice(t.scale),rawPosition:n.slice(t.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},dataToPoint:function(e,t,i){var n=t?this._rawTransform:this.transform;return i=i||[],n?l(i,e,n):a.copy(i,e)},pointToData:function(e){var t=this.invTransform;return t?l([],e,t):[e[0],e[1]]},convertToPixel:n.curry(h,"dataToPoint"),convertFromPixel:n.curry(h,"pointToData"),containPoint:function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])}},n.mixin(c,s);var d=c;e.exports=d},"6cd8":function(e,t,i){var n=i("6d8b"),a=i("2306"),r=i("1418"),o=i("22da"),s=o.radialCoordinate,l=i("3eba"),u=i("e263"),c=i("6cc5"),h=i("01ef"),d=i("4a01"),f=i("c526"),p=f.onIrrelevantElement,g=i("4e08"),m=(g.__DEV__,i("3842")),v=m.parsePercent,y=a.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(e,t){var i=t.childPoints,n=i.length,a=t.parentPoint,r=i[0],o=i[n-1];if(1===n)return e.moveTo(a[0],a[1]),void e.lineTo(r[0],r[1]);var s=t.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=v(t.forkPosition,1),h=[];h[l]=a[l],h[u]=a[u]+(o[u]-a[u])*c,e.moveTo(a[0],a[1]),e.lineTo(h[0],h[1]),e.moveTo(r[0],r[1]),h[l]=r[l],e.lineTo(h[0],h[1]),h[l]=o[l],e.lineTo(h[0],h[1]),e.lineTo(o[0],o[1]);for(var d=1;dw.x,x||(y-=Math.PI));var A=x?"left":"right",T=s.labelModel.get("rotate"),C=T*(Math.PI/180);v.setStyle({textPosition:s.labelModel.get("position")||A,textRotation:null==T?-y:C,textOrigin:"center",verticalAlign:"middle"})}S(o,u,h,i,g,p,m,n,s)}function S(e,t,i,r,o,s,l,u,c){var h=c.edgeShape,d=r.__edge;if("curve"===h)t.parentNode&&t.parentNode!==i&&(d||(d=r.__edge=new a.BezierCurve({shape:I(c,o,o),style:n.defaults({opacity:0,strokeNoScale:!0},c.lineStyle)})),a.updateProps(d,{shape:I(c,s,l),style:n.defaults({opacity:1},c.lineStyle)},e));else if("polyline"===h&&"orthogonal"===c.layout&&t!==i&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var f=t.children,p=[],g=0;g=0;r--)n.push(a[r])}}t.eachAfter=i,t.eachBefore=n},"6fda":function(e,t,i){var n=i("6d8b"),a=n.each,r="\0_ec_hist_store";function o(e,t){var i=c(e);a(t,(function(t,n){for(var a=i.length-1;a>=0;a--){var r=i[a];if(r[n])break}if(a<0){var o=e.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(o){var s=o.getPercentRange();i[0][n]={dataZoomId:n,start:s[0],end:s[1]}}}})),i.push(t)}function s(e){var t=c(e),i=t[t.length-1];t.length>1&&t.pop();var n={};return a(i,(function(e,i){for(var a=t.length-1;a>=0;a--){e=t[a][i];if(e){n[i]=e;break}}})),n}function l(e){e[r]=null}function u(e){return c(e).length}function c(e){var t=e[r];return t||(t=e[r]=[{}]),t}t.push=o,t.pop=s,t.clear=l,t.count=u},7023:function(e,t,i){var n=i("6d8b"),a={updateSelectedMap:function(e){this._targetList=n.isArray(e)?e.slice():[],this._selectTargetMap=n.reduce(e||[],(function(e,t){return e.set(t.name,t),e}),n.createHashMap())},select:function(e,t){var i=null!=t?this._targetList[t]:this._selectTargetMap.get(e),n=this.get("selectedMode");"single"===n&&this._selectTargetMap.each((function(e){e.selected=!1})),i&&(i.selected=!0)},unSelect:function(e,t){var i=null!=t?this._targetList[t]:this._selectTargetMap.get(e);i&&(i.selected=!1)},toggleSelected:function(e,t){var i=null!=t?this._targetList[t]:this._selectTargetMap.get(e);if(null!=i)return this[i.selected?"unSelect":"select"](e,t),i.selected},isSelected:function(e,t){var i=null!=t?this._targetList[t]:this._selectTargetMap.get(e);return i&&i.selected}};e.exports=a},"71ad":function(e,t,i){var n=i("6d8b"),a={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},r={};r.categoryAxis=n.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},a),r.valueAxis=n.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},a),r.timeAxis=n.defaults({scale:!0,min:"dataMin",max:"dataMax"},r.valueAxis),r.logAxis=n.defaults({scale:!0,logBase:10},r.valueAxis);var o=r;e.exports=o},"71b2":function(e,t,i){var n=i("6d8b"),a=n.createHashMap;function r(e){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),i=e.getRawData(),n=e.get("color"),r=a();t.each((function(e){r.set(t.getRawIndex(e),e)})),i.each((function(a){var o=i.getName(a),s=n[(e.nameMap.get(o)-1)%n.length];i.setItemVisual(a,"color",s);var l=r.get(a);null!=l&&t.setItemVisual(l,"color",s)}))}))}e.exports=r},7293:function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("4f85")),r=i("6179"),o=i("6d8b"),s=o.concatArray,l=o.mergeAll,u=o.map,c=i("eda2"),h=c.encodeHTML,d=(i("2039"),"undefined"===typeof Uint32Array?Array:Uint32Array),f="undefined"===typeof Float64Array?Array:Float64Array;function p(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=u(t,(function(e){var t=[e[0].coord,e[1].coord],i={coords:t};return e[0].name&&(i.fromName=e[0].name),e[1].name&&(i.toName=e[1].name),l([i,e[0],e[1]])})))}var g=a.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(e){e.data=e.data||[],p(e);var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count)),g.superApply(this,"init",arguments)},mergeOption:function(e){if(p(e),e.data){var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count))}g.superApply(this,"mergeOption",arguments)},appendData:function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=s(this._flatCoords,t.flatCoords),this._flatCoordsOffset=s(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},_getCoordsFromItemModel:function(e){var t=this.getData().getItemModel(e),i=t.option instanceof Array?t.option:t.getShallow("coords");return i},getLineCoordsCount:function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},getLineCoords:function(e,t){if(this._flatCoordsOffset){for(var i=this._flatCoordsOffset[2*e],n=this._flatCoordsOffset[2*e+1],a=0;a "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),m=g;e.exports=m},"72b6":function(e,t,i){var n=i("3eba"),a=i("6d8b"),r=i("2306"),o=i("eda2"),s=i("f934"),l=i("5f14"),u=n.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,i,n){this.visualMapModel=e,!1!==e.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(e){var t=this.visualMapModel,i=o.normalizeCssArray(t.get("padding")||0),n=e.getBoundingRect();e.add(new r.Rect({z2:-1,silent:!0,shape:{x:n.x-i[3],y:n.y-i[0],width:n.width+i[3]+i[1],height:n.height+i[0]+i[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(e,t,i){i=i||{};var n=i.forceState,r=this.visualMapModel,o={};if("symbol"===t&&(o.symbol=r.get("itemSymbol")),"color"===t){var s=r.get("contentColor");o.color=s}function u(e){return o[e]}function c(e,t){o[e]=t}var h=r.controllerVisuals[n||r.getValueState(e)],d=l.prepareVisualTypes(h);return a.each(d,(function(n){var a=h[n];i.convertOpacityToAlpha&&"opacity"===n&&(n="colorAlpha",a=h.__alphaForOpacity),l.dependsOn(n,t)&&a&&a.applyVisual(e,u,c)})),o[t]},positionGroup:function(e){var t=this.visualMapModel,i=this.api;s.positionElement(e,t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},doRender:a.noop});e.exports=u},7368:function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("6d8b")),r=i("625e"),o=r.enableClassCheck;function s(e){return"_EC_"+e}var l=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},u=l.prototype;function c(e,t){this.id=null==e?"":e,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==t?-1:t}function h(e,t,i){this.node1=e,this.node2=t,this.dataIndex=null==i?-1:i}u.type="graph",u.isDirected=function(){return this._directed},u.addNode=function(e,t){e=null==e?""+t:""+e;var i=this._nodesMap;if(!i[s(e)]){var n=new c(e,t);return n.hostGraph=this,this.nodes.push(n),i[s(e)]=n,n}},u.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},u.getNodeById=function(e){return this._nodesMap[s(e)]},u.addEdge=function(e,t,i){var n=this._nodesMap,a=this._edgesMap;if("number"===typeof e&&(e=this.nodes[e]),"number"===typeof t&&(t=this.nodes[t]),c.isInstance(e)||(e=n[s(e)]),c.isInstance(t)||(t=n[s(t)]),e&&t){var r=e.id+"-"+t.id,o=new h(e,t,i);return o.hostGraph=this,this._directed&&(e.outEdges.push(o),t.inEdges.push(o)),e.edges.push(o),e!==t&&t.edges.push(o),this.edges.push(o),a[r]=o,o}},u.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},u.getEdge=function(e,t){c.isInstance(e)&&(e=e.id),c.isInstance(t)&&(t=t.id);var i=this._edgesMap;return this._directed?i[e+"-"+t]:i[e+"-"+t]||i[t+"-"+e]},u.eachNode=function(e,t){for(var i=this.nodes,n=i.length,a=0;a=0&&e.call(t,i[a],a)},u.eachEdge=function(e,t){for(var i=this.edges,n=i.length,a=0;a=0&&i[a].node1.dataIndex>=0&&i[a].node2.dataIndex>=0&&e.call(t,i[a],a)},u.breadthFirstTraverse=function(e,t,i,n){if(c.isInstance(t)||(t=this._nodesMap[s(t)]),t){for(var a="out"===i?"outEdges":"in"===i?"inEdges":"edges",r=0;r=0&&i.node2.dataIndex>=0}));for(a=0,r=n.length;a=0&&this[e][t].setItemVisual(this.dataIndex,i,n)},getVisual:function(i,n){return this[e][t].getItemVisual(this.dataIndex,i,n)},setLayout:function(i,n){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,i,n)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}};a.mixin(c,d("hostGraph","data")),a.mixin(h,d("hostGraph","edgeData")),l.Node=c,l.Edge=h,o(c),o(h);var f=l;e.exports=f},"73ca":function(e,t,i){var n=i("2306"),a=i("7e5b");function r(e){this._ctor=e||a,this.group=new n.Group}var o=r.prototype;function s(e,t,i,n){var a=t.getItemLayout(i);if(d(a)){var r=new e._ctor(t,i,n);t.setItemGraphicEl(i,r),e.group.add(r)}}function l(e,t,i,n,a,r){var o=t.getItemGraphicEl(n);d(i.getItemLayout(a))?(o?o.updateData(i,a,r):o=new e._ctor(i,a,r),i.setItemGraphicEl(a,o),e.group.add(o)):e.group.remove(o)}function u(e){return e.animators&&e.animators.length>0}function c(e){var t=e.hostModel;return{lineStyle:t.getModel("lineStyle").getLineStyle(),hoverLineStyle:t.getModel("emphasis.lineStyle").getLineStyle(),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label")}}function h(e){return isNaN(e[0])||isNaN(e[1])}function d(e){return!h(e[0])&&!h(e[1])}o.isPersistent=function(){return!0},o.updateData=function(e){var t=this,i=t.group,n=t._lineData;t._lineData=e,n||i.removeAll();var a=c(e);e.diff(n).add((function(i){s(t,e,i,a)})).update((function(i,r){l(t,n,e,r,i,a)})).remove((function(e){i.remove(n.getItemGraphicEl(e))})).execute()},o.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,i){t.updateLayout(e,i)}),this)},o.incrementalPrepareUpdate=function(e){this._seriesScope=c(e),this._lineData=null,this.group.removeAll()},o.incrementalUpdate=function(e,t){function i(e){e.isGroup||u(e)||(e.incremental=e.useHoverLayer=!0)}for(var n=e.start;n=0)return!0}var v=new RegExp("["+c+"]+","g");function y(e){for(var t=e.split(/\n+/g),i=g(t.shift()).split(v),n=[],r=a.map(i,(function(e){return{name:e,data:[]}})),o=0;o1?"emphasis":"normal")}function x(e,t,i,n,a){var r=i._isZoomActive;n&&"takeGlobalCursor"===n.type&&(r="dataZoomSelect"===n.key&&n.dataZoomSelectActive),i._isZoomActive=r,e.setIconStatus("zoom",r?"emphasis":"normal");var s=new o(v(e.option),t,{include:["grid"]});i._brushController.setPanels(s.makePanelOpts(a,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!r&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}g._onBrush=function(e,t){if(t.isEnd&&e.length){var i={},n=this.ecModel;this._brushController.updateCovers([]);var a=new o(v(this.model.option),n,{include:["grid"]});a.matchOutputRanges(e,n,(function(e,t,i){if("cartesian2d"===i.type){var n=e.brushType;"rect"===n?(r("x",i,t[0]),r("y",i,t[1])):r({lineX:"x",lineY:"y"}[n],i,t)}})),s.push(n,i),this._dispatchZoomAction(i)}function r(e,t,a){var r=t.getAxis(e),o=r.model,s=u(e,o,n),c=s.findRepresentativeAxisProxy(o).getMinMaxSpan();null==c.minValueSpan&&null==c.maxValueSpan||(a=l(0,a.slice(),r.scale.getExtent(),0,c.minValueSpan,c.maxValueSpan)),s&&(i[s.id]={dataZoomId:s.id,startValue:a[0],endValue:a[1]})}function u(e,t,i){var n;return i.eachComponent({mainType:"dataZoom",subType:"select"},(function(i){var a=i.getAxisModel(e,t.componentIndex);a&&(n=i)})),n}},g._dispatchZoomAction=function(e){var t=[];d(e,(function(e,i){t.push(a.clone(e))})),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},c.register("dataZoom",p),n.registerPreprocessor((function(e){if(e){var t=e.dataZoom||(e.dataZoom=[]);a.isArray(t)||(e.dataZoom=t=[t]);var i=e.toolbox;if(i&&(a.isArray(i)&&(i=i[0]),i&&i.feature)){var n=i.feature.dataZoom;r("xAxis",n),r("yAxis",n)}}function r(e,i){if(i){var n=e+"Index",r=i[n];null==r||"all"===r||a.isArray(r)||(r=!1===r||"none"===r?[]:[r]),o(e,(function(o,s){if(null==r||"all"===r||-1!==a.indexOf(r,s)){var l={type:"select",$fromToolbox:!0,filterMode:i.filterMode||"filter",id:f+e+s};l[n]=s,t.push(l)}}))}}function o(t,i){var n=e[t];a.isArray(n)||(n=n?[n]:[]),d(n,i)}}));var _=p;e.exports=_},"7d6d":function(e,t){var i={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function n(e,t,n){return i.hasOwnProperty(t)?n*e.dpr:n}e.exports=n},"7dcf":function(e,t,i){var n=i("b12f"),a=n.extend({type:"dataZoom",render:function(e,t,i,n){this.dataZoomModel=e,this.ecModel=t,this.api=i},getTargetCoordInfo:function(){var e=this.dataZoomModel,t=this.ecModel,i={};function n(e,t,i,n){for(var a,r=0;r0&&(w[0]=-w[0],w[1]=-w[1]);var M,I=f[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var A=-Math.atan2(f[1],f[0]);c[0].8?"left":h[0]<-.8?"right":"center",m=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":p=[-h[0]*x+u[0],-h[1]*_+u[1]],g=h[0]>.8?"right":h[0]<-.8?"left":"center",m=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":p=[x*I+u[0],u[1]+M],g=f[0]<0?"right":"left",v=[-x*I,-M];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":p=[S[0],S[1]+M],g="center",v=[0,-M];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":p=[-x*I+c[0],c[1]+M],g=f[0]>=0?"right":"left",v=[x*I,-M];break}n.attr({style:{textVerticalAlign:n.__verticalAlign||m,textAlign:n.__textAlign||g},position:p,scale:[r,r],origin:v})}}}}function m(e,t,i){s.Group.call(this),this._createLine(e,t,i)}var v=m.prototype;v.beforeUpdate=g,v._createLine=function(e,t,i){var a=e.hostModel,r=e.getItemLayout(t),o=f(r);o.shape.percent=0,s.initProps(o,{shape:{percent:1}},a,t),this.add(o);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),n.each(c,(function(i){var n=d(i,e,t);this.add(n),this[h(i)]=e.getItemVisual(t,i)}),this),this._updateCommonStl(e,t,i)},v.updateData=function(e,t,i){var a=e.hostModel,r=this.childOfName("line"),o=e.getItemLayout(t),l={shape:{}};p(l.shape,o),s.updateProps(r,l,a,t),n.each(c,(function(i){var n=e.getItemVisual(t,i),a=h(i);if(this[a]!==n){this.remove(this.childOfName(i));var r=d(i,e,t);this.add(r)}this[a]=n}),this),this._updateCommonStl(e,t,i)},v._updateCommonStl=function(e,t,i){var a=e.hostModel,r=this.childOfName("line"),o=i&&i.lineStyle,l=i&&i.hoverLineStyle,h=i&&i.labelModel,d=i&&i.hoverLabelModel;if(!i||e.hasItemOption){var f=e.getItemModel(t);o=f.getModel("lineStyle").getLineStyle(),l=f.getModel("emphasis.lineStyle").getLineStyle(),h=f.getModel("label"),d=f.getModel("emphasis.label")}var p=e.getItemVisual(t,"color"),g=n.retrieve3(e.getItemVisual(t,"opacity"),o.opacity,1);r.useStyle(n.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},o)),r.hoverStyle=l,n.each(c,(function(e){var t=this.childOfName(e);t&&(t.setColor(p),t.setStyle({opacity:g}))}),this);var m,v,y=h.getShallow("show"),x=d.getShallow("show"),_=this.childOfName("label");if((y||x)&&(m=p||"#000",v=a.getFormattedLabel(t,"normal",e.dataType),null==v)){var b=a.getRawValue(t);v=null==b?e.getName(t):isFinite(b)?u(b):b}var w=y?v:null,S=x?n.retrieve2(a.getFormattedLabel(t,"emphasis",e.dataType),v):null,M=_.style;if(null!=w||null!=S){s.setTextStyle(_.style,h,{text:w},{autoColor:m}),_.__textAlign=M.textAlign,_.__verticalAlign=M.textVerticalAlign,_.__position=h.get("position")||"middle";var I=h.get("distance");n.isArray(I)||(I=[I,I]),_.__labelDistance=I}_.hoverStyle=null!=S?{text:S,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},_.ignore=!y&&!x,s.setHoverStyle(this)},v.highlight=function(){this.trigger("emphasis")},v.downplay=function(){this.trigger("normal")},v.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},v.setLinePoints=function(e){var t=this.childOfName("line");p(t.shape,e),t.dirty()},n.inherits(m,s.Group);var y=m;e.exports=y},"7e63":function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("6d8b")),r=a.each,o=a.filter,s=a.map,l=a.isArray,u=a.indexOf,c=a.isObject,h=a.isString,d=a.createHashMap,f=a.assert,p=a.clone,g=a.merge,m=a.extend,v=a.mixin,y=i("e0d3"),x=i("4319"),_=i("6cb7"),b=i("8971"),w=i("e47b"),S=i("0f99"),M=S.resetSourceDefaulter,I="\0_ec_inner",A=x.extend({init:function(e,t,i,n){i=i||{},this.option=null,this._theme=new x(i),this._optionManager=n},setOption:function(e,t){f(!(I in e),"please use chart.getOption()"),this._optionManager.setOption(e,t),this.resetOption(null)},resetOption:function(e){var t=!1,i=this._optionManager;if(!e||"recreate"===e){var n=i.mountOption("recreate"===e);this.option&&"recreate"!==e?(this.restoreData(),this.mergeOption(n)):D.call(this,n),t=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var a=i.getTimelineOption(this);a&&(this.mergeOption(a),t=!0)}if(!e||"recreate"===e||"media"===e){var o=i.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,i=this._componentsMap,n=[];function a(n,a){var o=y.normalizeToArray(e[n]),s=y.mappingToExists(i.get(n),o);y.makeIdAndName(s),r(s,(function(e,t){var i=e.option;c(i)&&(e.keyInfo.mainType=n,e.keyInfo.subType=P(n,i,e.exist))}));var l=L(i,a);t[n]=[],i.set(n,[]),r(s,(function(e,a){var r=e.exist,o=e.option;if(f(c(o)||r,"Empty component definition"),o){var s=_.getClass(n,e.keyInfo.subType,!0);if(r&&r.constructor===s)r.name=e.keyInfo.name,r.mergeOption(o,this),r.optionUpdated(o,!1);else{var u=m({dependentModels:l,componentIndex:a},e.keyInfo);r=new s(o,this,this,u),m(r,u),r.init(o,this,this,u),r.optionUpdated(null,!0)}}else r.mergeOption({},this),r.optionUpdated({},!1);i.get(n)[a]=r,t[n][a]=r.option}),this),"series"===n&&k(this,i.get("series"))}M(this),r(e,(function(e,i){null!=e&&(_.hasClass(i)?i&&n.push(i):t[i]=null==t[i]?p(e):g(t[i],e,!0))})),_.topologicalTravel(n,_.getAllClassMainTypes(),a,this),this._seriesIndicesMap=d(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var e=p(this.option);return r(e,(function(t,i){if(_.hasClass(i)){t=y.normalizeToArray(t);for(var n=t.length-1;n>=0;n--)y.isIdInner(t[n])&&t.splice(n,1);e[i]=t}})),delete e[I],e},getTheme:function(){return this._theme},getComponent:function(e,t){var i=this._componentsMap.get(e);if(i)return i[t||0]},queryComponents:function(e){var t=e.mainType;if(!t)return[];var i,n=e.index,a=e.id,r=e.name,c=this._componentsMap.get(t);if(!c||!c.length)return[];if(null!=n)l(n)||(n=[n]),i=o(s(n,(function(e){return c[e]})),(function(e){return!!e}));else if(null!=a){var h=l(a);i=o(c,(function(e){return h&&u(a,e.id)>=0||!h&&e.id===a}))}else if(null!=r){var d=l(r);i=o(c,(function(e){return d&&u(r,e.name)>=0||!d&&e.name===r}))}else i=c.slice();return O(i,e)},findComponents:function(e){var t=e.query,i=e.mainType,n=r(t),a=n?this.queryComponents(n):this._componentsMap.get(i);return s(O(a,e));function r(e){var t=i+"Index",n=i+"Id",a=i+"Name";return!e||null==e[t]&&null==e[n]&&null==e[a]?null:{mainType:i,index:e[t],id:e[n],name:e[a]}}function s(t){return e.filter?o(t,e.filter):t}},eachComponent:function(e,t,i){var n=this._componentsMap;if("function"===typeof e)i=t,t=e,n.each((function(e,n){r(e,(function(e,a){t.call(i,n,e,a)}))}));else if(h(e))r(n.get(e),t,i);else if(c(e)){var a=this.findComponents(e);r(a,t,i)}},getSeriesByName:function(e){var t=this._componentsMap.get("series");return o(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 o(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),r(this._seriesIndices,(function(i){var n=this._componentsMap.get("series")[i];e.call(t,n,i)}),this)},eachRawSeries:function(e,t){r(this._componentsMap.get("series"),e,t)},eachSeriesByType:function(e,t,i){R(this),r(this._seriesIndices,(function(n){var a=this._componentsMap.get("series")[n];a.subType===e&&t.call(i,a,n)}),this)},eachRawSeriesByType:function(e,t,i){return r(this.getSeriesByType(e),t,i)},isSeriesFiltered:function(e){return R(this),null==this._seriesIndicesMap.get(e.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(e,t){R(this);var i=o(this._componentsMap.get("series"),e,t);k(this,i)},restoreData:function(e){var t=this._componentsMap;k(this,t.get("series"));var i=[];t.each((function(e,t){i.push(t)})),_.topologicalTravel(i,_.getAllClassMainTypes(),(function(i,n){r(t.get(i),(function(t){("series"!==i||!T(t,e))&&t.restoreData()}))}))}});function T(e,t){if(t){var i=t.seiresIndex,n=t.seriesId,a=t.seriesName;return null!=i&&e.componentIndex!==i||null!=n&&e.id!==n||null!=a&&e.name!==a}}function C(e,t){var i=e.color&&!e.colorLayer;r(t,(function(t,n){"colorLayer"===n&&i||_.hasClass(n)||("object"===typeof t?e[n]=e[n]?g(e[n],t,!1):p(t):null==e[n]&&(e[n]=t))}))}function D(e){e=e,this.option={},this.option[I]=1,this._componentsMap=d({series:[]}),this._seriesIndices,this._seriesIndicesMap,C(e,this._theme.option),g(e,b,!1),this.mergeOption(e)}function L(e,t){l(t)||(t=t?[t]:[]);var i={};return r(t,(function(t){i[t]=(e.get(t)||[]).slice()})),i}function P(e,t,i){var n=t.type?t.type:i?i.subType:_.determineSubType(e,t);return n}function k(e,t){e._seriesIndicesMap=d(e._seriesIndices=s(t,(function(e){return e.componentIndex}))||[])}function O(e,t){return t.hasOwnProperty("subType")?o(e,(function(e){return e.subType===t.subType})):e}function R(e){}v(A,w);var E=A;e.exports=E},"7f59":function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("3eba")),r=i("6d8b"),o=i("e0d3"),s=i("2306"),l=i("f934"),u=i("3842"),c=u.parsePercent,h={path:null,compoundPath:null,group:s.Group,image:s.Image,text:s.Text};a.registerPreprocessor((function(e){var t=e.graphic;r.isArray(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])}));var d=a.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(e){var t=this.option.elements;this.option.elements=null,d.superApply(this,"mergeOption",arguments),this.option.elements=t},optionUpdated:function(e,t){var i=this.option,n=(t?i:e).elements,a=i.elements=t?[]:i.elements,s=[];this._flatten(n,s);var l=o.mappingToExists(a,s);o.makeIdAndName(l);var u=this._elOptionsToUpdate=[];r.each(l,(function(e,t){var i=e.option;i&&(u.push(i),v(e,i),y(a,t,i),x(a[t],i))}),this);for(var c=a.length-1;c>=0;c--)null==a[c]?a.splice(c,1):delete a[c].$action},_flatten:function(e,t,i){r.each(e,(function(e){if(e){i&&(e.parentOption=i),t.push(e);var n=e.children;"group"===e.type&&n&&this._flatten(n,t,e),delete e.children}}),this)},useElOptionsToUpdate:function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e}});function f(e,t,i,n){var a=i.type,r=h.hasOwnProperty(a)?h[a]:s.getShapeClass(a),o=new r(i);t.add(o),n.set(e,o),o.__ecGraphicId=e}function p(e,t){var i=e&&e.parent;i&&("group"===e.type&&e.traverse((function(e){p(e,t)})),t.removeKey(e.__ecGraphicId),i.remove(e))}function g(e){return e=r.extend({},e),r.each(["id","parentId","$action","hv","bounding"].concat(l.LOCATION_PARAMS),(function(t){delete e[t]})),e}function m(e,t){var i;return r.each(t,(function(t){null!=e[t]&&"auto"!==e[t]&&(i=!0)})),i}function v(e,t){var i=e.exist;if(t.id=e.keyInfo.id,!t.type&&i&&(t.type=i.type),null==t.parentId){var n=t.parentOption;n?t.parentId=n.id:i&&(t.parentId=i.parentId)}t.parentOption=null}function y(e,t,i){var n=r.extend({},i),a=e[t],o=i.$action||"merge";"merge"===o?a?(r.merge(a,n,!0),l.mergeLayoutParam(a,n,{ignoreSize:!0}),l.copyLayoutParams(i,a)):e[t]=n:"replace"===o?e[t]=n:"remove"===o&&a&&(e[t]=null)}function x(e,t){e&&(e.hv=t.hv=[m(t,["left","right"]),m(t,["top","bottom"])],"group"===e.type&&(null==e.width&&(e.width=t.width=0),null==e.height&&(e.height=t.height=0)))}function _(e,t,i){var n=e.eventData;e.silent||e.ignore||n||(n=e.eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),n&&(n.info=e.info)}a.extendComponentView({type:"graphic",init:function(e,t){this._elMap=r.createHashMap(),this._lastGraphicModel},render:function(e,t,i){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,i)},_updateElements:function(e){var t=e.useElOptionsToUpdate();if(t){var i=this._elMap,n=this.group;r.each(t,(function(t){var a=t.$action,r=t.id,o=i.get(r),s=t.parentId,l=null!=s?i.get(s):n,u=t.style;"text"===t.type&&u&&(t.hv&&t.hv[1]&&(u.textVerticalAlign=u.textBaseline=null),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke));var c=g(t);a&&"merge"!==a?"replace"===a?(p(o,i),f(r,l,c,i)):"remove"===a&&p(o,i):o?o.attr(c):f(r,l,c,i);var h=i.get(r);h&&(h.__ecGraphicWidthOption=t.width,h.__ecGraphicHeightOption=t.height,_(h,e,t))}))}},_relocate:function(e,t){for(var i=e.option.elements,n=this.group,a=this._elMap,r=t.getWidth(),o=t.getHeight(),s=0;s=0;s--){u=i[s],h=a.get(u.id);if(h){d=h.parent;var p=d===n?{width:r,height:o}:{width:d.__ecGraphicWidth,height:d.__ecGraphicHeight};l.positionElement(h,u,p,null,{hv:u.hv,boundingMode:u.bounding})}}},_clear:function(){var e=this._elMap;e.each((function(t){p(t,e)})),this._elMap=r.createHashMap()},dispose:function(){this._clear()}})},"7f72":function(e,t,i){i("6932"),i("3a56"),i("7dcf"),i("a18f"),i("32a1"),i("2c17"),i("9e87")},"7f91":function(e,t,i){var n=i("2306"),a=i("401b"),r=n.Line.prototype,o=n.BezierCurve.prototype;function s(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var l=n.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(e,t){this[s(t)?"_buildPathLine":"_buildPathCurve"](e,t)},_buildPathLine:r.buildPath,_buildPathCurve:o.buildPath,pointAt:function(e){return this[s(this.shape)?"_pointAtLine":"_pointAtCurve"](e)},_pointAtLine:r.pointAt,_pointAtCurve:o.pointAt,tangentAt:function(e){var t=this.shape,i=s(t)?[t.x2-t.x1,t.y2-t.y1]:this._tangentAtCurve(e);return a.normalize(i,i)},_tangentAtCurve:o.tangentAt});e.exports=l},"7f96":function(e,t,i){var n=i("6d8b"),a=n.isFunction;function r(e,t,i){return{seriesType:e,performRawSeries:!0,reset:function(e,n,r){var o=e.getData(),s=e.get("symbol"),l=e.get("symbolSize"),u=e.get("symbolKeepAspect"),c=e.get("symbolRotate"),h=a(s),d=a(l),f=a(c),p=h||d||f,g=!h&&s?s:t,m=d?null:l;if(o.setVisual({legendSymbol:i||g,symbol:g,symbolSize:m,symbolKeepAspect:u,symbolRotate:c}),!n.isSeriesFiltered(e))return{dataEach:o.hasItemOption||p?v:null};function v(t,i){if(p){var n=e.getRawValue(i),a=e.getDataParams(i);h&&t.setItemVisual(i,"symbol",s(n,a)),d&&t.setItemVisual(i,"symbolSize",l(n,a)),f&&t.setItemVisual(i,"symbolRotate",c(n,a))}if(t.hasItemOption){var r=t.getItemModel(i),o=r.getShallow("symbol",!0),u=r.getShallow("symbolSize",!0),g=r.getShallow("symbolRotate",!0),m=r.getShallow("symbolKeepAspect",!0);null!=o&&t.setItemVisual(i,"symbol",o),null!=u&&t.setItemVisual(i,"symbolSize",u),null!=g&&t.setItemVisual(i,"symbolRotate",g),null!=m&&t.setItemVisual(i,"symbolKeepAspect",m)}}}}}e.exports=r},"80f0":function(e,t){function i(e){return e}function n(e,t,n,a,r){this._old=e,this._new=t,this._oldKeyGetter=n||i,this._newKeyGetter=a||i,this.context=r}function a(e,t,i,n,a){for(var r=0;r=0;_&&x.depth>m&&(m=x.depth),y.setLayout({depth:_?x.depth:h},!0),"vertical"===r?y.setLayout({dy:i},!0):y.setLayout({dx:i},!0);for(var b=0;bh-1?m:h-1;o&&"left"!==o&&f(e,o,r,A);d="vertical"===r?(a-i)/A:(n-i)/A;g(e,d,r)}function d(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function f(e,t,i,n){if("right"===t){var r=[],o=e,s=0;while(o.length){for(var l=0;l0;r--)l*=.99,_(s,l,o),x(s,a,i,n,o),C(s,l,o),x(s,a,i,n,o)}function v(e,t){var i=[],n="vertical"===t?"y":"x",r=o(e,(function(e){return e.getLayout()[n]}));return r.keys.sort((function(e,t){return e-t})),a.each(r.keys,(function(e){i.push(r.buckets.get(e))})),i}function y(e,t,i,n,r,o){var s=1/0;a.each(e,(function(e){var t=e.length,l=0;a.each(e,(function(e){l+=e.getLayout().value}));var u="vertical"===o?(n-(t-1)*r)/l:(i-(t-1)*r)/l;u0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[h]+t;var f="vertical"===r?n:i;if(l=u-t-f,l>0)for(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a,d=c-2;d>=0;--d)s=e[d],l=s.getLayout()[o]+s.getLayout()[h]+t-u,l>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}))}function _(e,t,i){a.each(e.slice().reverse(),(function(e){a.each(e,(function(e){if(e.outEdges.length){var n=T(e.outEdges,b,i)/T(e.outEdges,A,i);if(isNaN(n)){var a=e.outEdges.length;n=a?T(e.outEdges,w,i)/a:0}if("vertical"===i){var r=e.getLayout().x+(n-I(e,i))*t;e.setLayout({x:r},!0)}else{var o=e.getLayout().y+(n-I(e,i))*t;e.setLayout({y:o},!0)}}}))}))}function b(e,t){return I(e.node2,t)*e.getValue()}function w(e,t){return I(e.node2,t)}function S(e,t){return I(e.node1,t)*e.getValue()}function M(e,t){return I(e.node1,t)}function I(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function A(e){return e.getValue()}function T(e,t,i){var n=0,a=e.length,r=-1;while(++r=0){var c=o.indexOf(l),h=o.substr(u+s.length,c-u-s.length);h.indexOf("sub")>-1?n["marker"+h]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:t[h],textOffset:[3,0]}:n["marker"+h]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:t[h]},o=o.substr(c+1),u=o.indexOf("{marker")}var d=i.getModel("textStyle"),f=d.get("fontSize"),p=i.get("textLineHeight");null==p&&(p=Math.round(3*f/2)),this.el=new a({style:r.setTextStyle({},d,{rich:n,text:e,textBackgroundColor:i.get("backgroundColor"),textBorderRadius:i.get("borderRadius"),textFill:i.get("textStyle.color"),textPadding:i.get("padding"),textLineHeight:p}),z:i.get("z")}),this._zr.add(this.el);var g=this;this.el.on("mouseover",(function(){g._enterable&&(clearTimeout(g._hideTimeout),g._show=!0),g._inContent=!0})),this.el.on("mouseout",(function(){g._enterable&&g._show&&g.hideLater(g._hideDelay),g._inContent=!1}))},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el.getBoundingRect();return[e.width,e.height]},moveTo:function(e,t){if(this.el){var i=this._styleCoord;o(i,this._zr,e,t),this.el.attr("position",[i[0],i[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var e=this.getSize();return{width:e[0],height:e[1]}}};var l=s;e.exports=l},8344:function(e,t,i){var n=i("6d8b"),a=i("f706"),r=i("3842"),o=i("6179"),s=i("923d"),l=i("88f0");function u(e,t,i){var n=t.coordinateSystem;e.each((function(a){var o,s=e.getItemModel(a),l=r.parsePercent(s.get("x"),i.getWidth()),u=r.parsePercent(s.get("y"),i.getHeight());if(isNaN(l)||isNaN(u)){if(t.getMarkerPosition)o=t.getMarkerPosition(e.getValues(e.dimensions,a));else if(n){var c=e.get(n.dimensions[0],a),h=e.get(n.dimensions[1],a);o=n.dataToPoint([c,h])}}else o=[l,u];isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u),e.setItemLayout(a,o)}))}var c=l.extend({type:"markPoint",updateTransform:function(e,t,i){t.eachSeries((function(e){var t=e.markPointModel;t&&(u(t.getData(),e,i),this.markerGroupMap.get(e.id).updateLayout(t))}),this)},renderSeries:function(e,t,i,r){var o=e.coordinateSystem,s=e.id,l=e.getData(),c=this.markerGroupMap,d=c.get(s)||c.set(s,new a),f=h(o,e,t);t.setData(f),u(t.getData(),e,r),f.each((function(e){var i=f.getItemModel(e),a=i.getShallow("symbol"),r=i.getShallow("symbolSize"),o=i.getShallow("symbolRotate"),s=n.isFunction(a),u=n.isFunction(r),c=n.isFunction(o);if(s||u||c){var h=t.getRawValue(e),d=t.getDataParams(e);s&&(a=a(h,d)),u&&(r=r(h,d)),c&&(o=o(h,d))}f.setItemVisual(e,{symbol:a,symbolSize:r,symbolRotate:o,color:i.get("itemStyle.color")||l.getVisual("color")})})),d.updateData(f),this.group.add(d.group),f.eachItemGraphicEl((function(e){e.traverse((function(e){e.dataModel=t}))})),d.__keep=!0,d.group.silent=t.get("silent")||e.get("silent")}});function h(e,t,i){var a;a=e?n.map(e&&e.dimensions,(function(e){var i=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return n.defaults({name:e},i)})):[{name:"value",type:"float"}];var r=new o(a,i),l=n.map(i.get("data"),n.curry(s.dataTransform,t));return e&&(l=n.filter(l,n.curry(s.dataFilter,e))),r.initData(l,null,e?s.dimValueGetter:function(e){return e.value}),r}e.exports=c},"83ba":function(e,t,i){var n=i("6d8b"),a=i("6cb7"),r=i("f934"),o=r.getLayoutParams,s=r.sizeCalculable,l=r.mergeLayoutParam,u=a.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(e,t,i,n){var a=o(e);u.superApply(this,"init",arguments),c(e,a)},mergeOption:function(e,t){u.superApply(this,"mergeOption",arguments),c(this.option,e)}});function c(e,t){var i=e.cellSize;n.isArray(i)?1===i.length&&(i[1]=i[0]):i=e.cellSize=[i,i];var a=n.map([0,1],(function(e){return s(t,e)&&(i[e]="auto"),null!=i[e]&&"auto"!==i[e]}));l(e,t,{type:"box",ignoreSize:a})}var h=u;e.exports=h},"843e":function(e,t,i){var n=i("6d8b"),a=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function r(e){n.each(a,(function(t){this[t]=n.bind(e[t],e)}),this)}var o=r;e.exports=o},8459:function(e,t,i){var n=i("3eba"),a={type:"axisAreaSelect",event:"axisAreaSelected"};n.registerAction(a,(function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},(function(t){t.axis.model.setActiveIntervals(e.intervals)}))})),n.registerAction("parallelAxisExpand",(function(e,t){t.eachComponent({mainType:"parallel",query:e},(function(t){t.setAxisExpand(e)}))}))},"849b":function(e,t,i){var n=i("d9d0"),a=i("2039");function r(e,t){var i=[];return e.eachComponent("parallel",(function(a,r){var o=new n(a,e,t);o.name="parallel_"+r,o.resize(a,t),a.coordinateSystem=o,o.model=a,i.push(o)})),e.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var i=e.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=i.coordinateSystem}})),i}a.register("parallel",{create:r})},"84ce":function(e,t,i){var n=i("6d8b"),a=n.each,r=n.map,o=i("3842"),s=o.linearMap,l=o.getPixelPrecision,u=o.round,c=i("e073"),h=c.createAxisTicks,d=c.createAxisLabels,f=c.calculateCategoryInterval,p=[0,1],g=function(e,t,i){this.dim=e,this.scale=t,this._extent=i||[0,0],this.inverse=!1,this.onBand=!1};function m(e,t){var i=e[1]-e[0],n=t,a=i/n/2;e[0]+=a,e[1]-=a}function v(e,t,i,n){var r=t.length;if(e.onBand&&!i&&r){var o,s,l=e.getExtent();if(1===r)t[0].coord=l[0],o=t[1]={coord:l[0]};else{var c=t[r-1].tickValue-t[0].tickValue,h=(t[r-1].coord-t[0].coord)/c;a(t,(function(e){e.coord-=h/2}));var d=e.scale.getExtent();s=1+d[1]-t[r-1].tickValue,o={coord:t[r-1].coord+h*s},t.push(o)}var f=l[0]>l[1];p(t[0].coord,l[0])&&(n?t[0].coord=l[0]:t.shift()),n&&p(l[0],t[0].coord)&&t.unshift({coord:l[0]}),p(l[1],o.coord)&&(n?o.coord=l[1]:t.pop()),n&&p(o.coord,l[1])&&t.push({coord:l[1]})}function p(e,t){return e=u(e),t=u(t),f?e>t:e=i&&e<=n},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 i=this._extent;i[0]=e,i[1]=t},dataToCoord:function(e,t){var i=this._extent,n=this.scale;return e=n.normalize(e),this.onBand&&"ordinal"===n.type&&(i=i.slice(),m(i,n.count())),s(e,p,i,t)},coordToData:function(e,t){var i=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&(i=i.slice(),m(i,n.count()));var a=s(e,i,p,t);return this.scale.scale(a)},pointToData:function(e,t){},getTicksCoords:function(e){e=e||{};var t=e.tickModel||this.getTickModel(),i=h(this,t),n=i.ticks,a=r(n,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this),o=t.get("alignWithLabel");return v(this,a,o,e.clamp),a},getMinorTicksCoords:function(){if("ordinal"===this.scale.type)return[];var e=this.model.getModel("minorTick"),t=e.get("splitNumber");t>0&&t<100||(t=5);var i=this.scale.getMinorTicks(t),n=r(i,(function(e){return r(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this);return n},getViewLabels:function(){return d(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(),i=t[1]-t[0]+(this.onBand?1:0);0===i&&(i=1);var n=Math.abs(e[1]-e[0]);return Math.abs(n)/i},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return f(this)}};var y=g;e.exports=y},"84d5":function(e,t,i){var n=i("3eba"),a=i("6d8b"),r=i("4319"),o=i("e0d3"),s=o.isNameSpecified,l=i("29a8"),u=l.legend.selector,c={all:{type:"all",title:a.clone(u.all)},inverse:{type:"inverse",title:a.clone(u.inverse)}},h=n.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(e,t,i){this.mergeDefaultAndTheme(e,i),e.selected=e.selected||{},this._updateSelector(e)},mergeOption:function(e){h.superCall(this,"mergeOption",e),this._updateSelector(e)},_updateSelector:function(e){var t=e.selector;!0===t&&(t=e.selector=["all","inverse"]),a.isArray(t)&&a.each(t,(function(e,i){a.isString(e)&&(e={type:e}),t[i]=a.merge(e,c[e.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,i=0;i=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}}}),d=h;e.exports=d},"84ec":function(e,t){var i=Math.log(2);function n(e,t,a,r,o,s){var l=r+"-"+o,u=e.length;if(s.hasOwnProperty(l))return s[l];if(1===t){var c=Math.round(Math.log((1<t&&r>n||ra?o:0}e.exports=i},"879e":function(e,t,i){var n=i("3eba"),a=i("6179"),r=i("6d8b"),o=i("e0d3"),s=o.defaultEmphasis,l=i("4319"),u=i("eda2"),c=u.encodeHTML,h=i("237f"),d=i("c4a3"),f=i("0c37"),p=f.initCurvenessList,g=f.createEdgeMapForCurveness,m=n.extendSeriesModel({type:"series.graph",init:function(e){m.superApply(this,"init",arguments);var t=this;function i(){return t._categoriesData}this.legendVisualProvider=new d(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeOption:function(e){m.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(e){m.superApply(this,"mergeDefaultAndTheme",arguments),s(e,["edgeLabel"],["show"])},getInitialData:function(e,t){var i=e.edges||e.links||[],n=e.data||e.nodes||[],a=this;if(n&&i){p(this);var o=h(n,i,this,!0,s);return r.each(o.edges,(function(e){g(e.node1,e.node2,this,e.dataIndex)}),this),o.data}function s(e,i){e.wrapMethod("getItemModel",(function(e){var t=a._categoriesModels,i=e.getShallow("category"),n=t[i];return n&&(n.parentModel=e.parentModel,e.parentModel=n),e}));var n=a.getModel("edgeLabel"),r=new l({label:n.option},n.parentModel,t),o=a.getModel("emphasis.edgeLabel"),s=new l({emphasis:{label:o.option}},o.parentModel,t);function u(e){return e=this.parsePath(e),e&&"label"===e[0]?r:e&&"emphasis"===e[0]&&"label"===e[1]?s:this.parentModel}i.wrapMethod("getItemModel",(function(e){return e.customizeGetParent(u),e}))}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(e,t,i){if("edge"===i){var n=this.getData(),a=this.getDataParams(e,i),r=n.graph.getEdgeByIndex(e),o=n.getName(r.node1.dataIndex),s=n.getName(r.node2.dataIndex),l=[];return null!=o&&l.push(o),null!=s&&l.push(s),l=c(l.join(" > ")),a.value&&(l+=" : "+c(a.value)),l}return m.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=r.map(this.option.categories||[],(function(e){return null!=e.value?e:r.extend({value:0},e)})),t=new a(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray((function(e){return t.getItemModel(e,!0)}))},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},isAnimationEnabled:function(){return m.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}}}}),v=m;e.exports=v},"87b1":function(e,t,i){var n=i("cbe5"),a=i("4fac"),r=n.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(e,t){a.buildPath(e,t,!0)}});e.exports=r},"87c3":function(e,t,i){var n=i("6d8b"),a=n.map,r=i("cccd"),o=i("ee1a"),s=o.isDimensionStacked;function l(e){return{seriesType:e,plan:r(),reset:function(e){var t=e.getData(),i=e.coordinateSystem,n=e.pipelineContext,r=n.large;if(i){var o=a(i.dimensions,(function(e){return t.mapDimension(e)})).slice(0,2),l=o.length,u=t.getCalculationInfo("stackResultDimension");return s(t,o[0])&&(o[0]=u),s(t,o[1])&&(o[1]=u),l&&{progress:c}}function c(e,t){for(var n=e.end-e.start,a=r&&new Float32Array(n*l),s=e.start,u=0,c=[],h=[];s=0?h():c=setTimeout(h,-a),l=n};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(e){s=e},d}function o(e,t,o,s){var l=e[t];if(l){var u=l[i]||l,c=l[a],h=l[n];if(h!==o||c!==s){if(null==o||!s)return e[t]=u;l=e[t]=r(u,o,"debounce"===s),l[i]=u,l[a]=s,l[n]=o}return l}}function s(e,t){var n=e[t];n&&n[i]&&(e[t]=n[i])}t.throttle=r,t.createOrUpdate=o,t.clear=s},"88f0":function(e,t,i){var n=i("3eba"),a=i("6d8b"),r=n.extendComponentView({type:"marker",init:function(){this.markerGroupMap=a.createHashMap()},render:function(e,t,i){var n=this.markerGroupMap;n.each((function(e){e.__keep=!1}));var a=this.type+"Model";t.eachSeries((function(e){var n=e[a];n&&this.renderSeries(e,n,t,i)}),this),n.each((function(e){!e.__keep&&this.group.remove(e.group)}),this)},renderSeries:function(){}});e.exports=r},8918:function(e,t,i){var n=i("6d8b"),a=i("625e"),r=a.parseClassType,o=0;function s(e){return[e||"",o++,Math.random().toFixed(5)].join("_")}function l(e){var t={};return e.registerSubTypeDefaulter=function(e,i){e=r(e),t[e.main]=i},e.determineSubType=function(i,n){var a=n.type;if(!a){var o=r(i).main;e.hasSubTypes(i)&&t[o]&&(a=t[o](n))}return a},e}function u(e,t){function i(e){var i={},o=[];return n.each(e,(function(s){var l=a(i,s),u=l.originalDeps=t(s),c=r(u,e);l.entryCount=c.length,0===l.entryCount&&o.push(s),n.each(c,(function(e){n.indexOf(l.predecessor,e)<0&&l.predecessor.push(e);var t=a(i,e);n.indexOf(t.successor,e)<0&&t.successor.push(s)}))})),{graph:i,noEntryList:o}}function a(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}function r(e,t){var i=[];return n.each(e,(function(e){n.indexOf(t,e)>=0&&i.push(e)})),i}e.topologicalTravel=function(e,t,a,r){if(e.length){var o=i(t),s=o.graph,l=o.noEntryList,u={};n.each(e,(function(e){u[e]=!0}));while(l.length){var c=l.pop(),h=s[c],d=!!u[c];d&&(a.call(r,c,h.originalDeps.slice()),delete u[c]),n.each(h.successor,d?p:f)}n.each(u,(function(){throw new Error("Circle dependency may exists")}))}function f(e){s[e].entryCount--,0===s[e].entryCount&&l.push(e)}function p(e){u[e]=!0,f(e)}}}t.getUID=s,t.enableSubTypeDefaulter=l,t.enableTopologicalTravel=u},8971:function(e,t){var i="";"undefined"!==typeof navigator&&(i=navigator.platform||"");var n={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:i.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};e.exports=n},"897a":function(e,t,i){var n=i("22d1"),a=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function r(e){return n.browser.ie&&n.browser.version>=11?function(){var t,i=this.__clipPaths,n=this.style;if(i)for(var r=0;rt[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,i=this._extent,n=this._niceExtent,a=this._intervalPrecision,r=[];if(!t)return r;var o=1e4;i[0]o)return[]}var u=r.length?r[r.length-1]:n[1];return i[1]>u&&(e?r.push(s(u+t,a)):r.push(i[1])),r},getMinorTicks:function(e){for(var t=this.getTicks(!0),i=[],a=this.getExtent(),r=1;ra[0]&&d0)n*=10;var o=[r.round(d(t[0]/n)*n),r.round(h(t[1]/n)*n)];this._interval=n,this._niceExtent=o}},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))}n.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},"8d32":function(e,t,i){var n=i("cbe5"),a=n.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(e,t){var i=t.cx,n=t.cy,a=Math.max(t.r,0),r=t.startAngle,o=t.endAngle,s=t.clockwise,l=Math.cos(r),u=Math.sin(r);e.moveTo(l*a+i,u*a+n),e.arc(i,n,a,r,o,!s)}});e.exports=a},"8deb":function(e,t,i){var n=i("3eba");i("5522"),i("a016"),i("1466");var a=i("98e7"),r=i("7f96"),o=i("870e"),s=i("d3f4"),l=i("7891");n.registerVisual(a("radar")),n.registerVisual(r("radar","circle")),n.registerLayout(o),n.registerProcessor(s("radar")),n.registerPreprocessor(l)},"8e43":function(e,t,i){var n=i("6d8b"),a=n.createHashMap,r=n.isObject,o=n.map;function s(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this._map}s.createByAxisModel=function(e){var t=e.option,i=t.data,n=i&&o(i,c);return new s({categories:n,needCollect:!n,deduplication:!1!==t.dedplication})};var l=s.prototype;function u(e){return e._map||(e._map=a(e.categories))}function c(e){return r(e)&&null!=e.value?e.value:e+""}l.getOrdinal=function(e){return u(this).get(e)},l.parseAndCollect=function(e){var t,i=this._needCollect;if("string"!==typeof e&&!i)return e;if(i&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var n=u(this);return t=n.get(e),null==t&&(i?(t=this.categories.length,this.categories[t]=e,n.set(e,t)):t=NaN),t};var h=s;e.exports=h},"8e77":function(e,t,i){var n=i("6d8b"),a=i("41ef"),r=i("6179"),o=i("3842"),s=i("2306"),l=i("923d"),u=i("88f0"),c=function(e,t,i,a){var r=l.dataTransform(e,a[0]),o=l.dataTransform(e,a[1]),s=n.retrieve,u=r.coord,c=o.coord;u[0]=s(u[0],-1/0),u[1]=s(u[1],-1/0),c[0]=s(c[0],1/0),c[1]=s(c[1],1/0);var h=n.mergeAll([{},r,o]);return h.coord=[r.coord,o.coord],h.x0=r.x,h.y0=r.y,h.x1=o.x,h.y1=o.y,h};function h(e){return!isNaN(e)&&!isFinite(e)}function d(e,t,i,n){var a=1-e;return h(t[a])&&h(i[a])}function f(e,t){var i=t.coord[0],n=t.coord[1];return!("cartesian2d"!==e.type||!i||!n||!d(1,i,n,e)&&!d(0,i,n,e))||(l.dataFilter(e,{coord:i,x:t.x0,y:t.y0})||l.dataFilter(e,{coord:n,x:t.x1,y:t.y1}))}function p(e,t,i,n,a){var r,s=n.coordinateSystem,l=e.getItemModel(t),u=o.parsePercent(l.get(i[0]),a.getWidth()),c=o.parsePercent(l.get(i[1]),a.getHeight());if(isNaN(u)||isNaN(c)){if(n.getMarkerPosition)r=n.getMarkerPosition(e.getValues(i,t));else{var d=e.get(i[0],t),f=e.get(i[1],t),p=[d,f];s.clampData&&s.clampData(p,p),r=s.dataToPoint(p,!0)}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");d=e.get(i[0],t),f=e.get(i[1],t);h(d)?r[0]=g.toGlobalCoord(g.getExtent()["x0"===i[0]?0:1]):h(f)&&(r[1]=m.toGlobalCoord(m.getExtent()["y0"===i[1]?0:1]))}isNaN(u)||(r[0]=u),isNaN(c)||(r[1]=c)}else r=[u,c];return r}var g=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];function m(e,t,i){var a,o,s=["x0","y0","x1","y1"];e?(a=n.map(e&&e.dimensions,(function(e){var i=t.getData(),a=i.getDimensionInfo(i.mapDimension(e))||{};return n.defaults({name:e},a)})),o=new r(n.map(s,(function(e,t){return{name:e,type:a[t%2].type}})),i)):(a=[{name:"value",type:"float"}],o=new r(a,i));var l=n.map(i.get("data"),n.curry(c,t,e,i));e&&(l=n.filter(l,n.curry(f,e)));var u=e?function(e,t,i,n){return e.coord[Math.floor(n/2)][n%2]}:function(e){return e.value};return o.initData(l,null,u),o.hasItemOption=!0,o}u.extend({type:"markArea",updateTransform:function(e,t,i){t.eachSeries((function(e){var t=e.markAreaModel;if(t){var a=t.getData();a.each((function(t){var r=n.map(g,(function(n){return p(a,t,n,e,i)}));a.setItemLayout(t,r);var o=a.getItemGraphicEl(t);o.setShape("points",r)}))}}),this)},renderSeries:function(e,t,i,r){var o=e.coordinateSystem,l=e.id,u=e.getData(),c=this.markerGroupMap,d=c.get(l)||c.set(l,{group:new s.Group});this.group.add(d.group),d.__keep=!0;var f=m(o,e,t);t.setData(f),f.each((function(t){var i=n.map(g,(function(i){return p(f,t,i,e,r)})),a=!0;n.each(g,(function(e){if(a){var i=f.get(e[0],t),n=f.get(e[1],t);(h(i)||o.getAxis("x").containData(i))&&(h(n)||o.getAxis("y").containData(n))&&(a=!1)}})),f.setItemLayout(t,{points:i,allClipped:a}),f.setItemVisual(t,{color:u.getVisual("color")})})),f.diff(d.__data).add((function(e){var t=f.getItemLayout(e);if(!t.allClipped){var i=new s.Polygon({shape:{points:t.points}});f.setItemGraphicEl(e,i),d.group.add(i)}})).update((function(e,i){var n=d.__data.getItemGraphicEl(i),a=f.getItemLayout(e);a.allClipped?n&&d.group.remove(n):(n?s.updateProps(n,{shape:{points:a.points}},t,e):n=new s.Polygon({shape:{points:a.points}}),f.setItemGraphicEl(e,n),d.group.add(n))})).remove((function(e){var t=d.__data.getItemGraphicEl(e);d.group.remove(t)})).execute(),f.eachItemGraphicEl((function(e,i){var r=f.getItemModel(i),o=r.getModel("label"),l=r.getModel("emphasis.label"),u=f.getItemVisual(i,"color");e.useStyle(n.defaults(r.getModel("itemStyle").getItemStyle(),{fill:a.modifyAlpha(u,.4),stroke:u})),e.hoverStyle=r.getModel("emphasis.itemStyle").getItemStyle(),s.setLabelStyle(e.style,e.hoverStyle,o,l,{labelFetcher:t,labelDataIndex:i,defaultText:f.getName(i)||"",isRectText:!0,autoColor:u}),s.setHoverStyle(e,{}),e.dataModel=t})),d.__data=f,d.group.silent=t.get("silent")||e.get("silent")}})},"8ec5":function(e,t,i){var n=i("3eba"),a=i("6d8b"),r=i("2145"),o=n.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){o.superApply(this,"optionUpdated",arguments),a.each(this.option.feature,(function(e,t){var i=r.get(t);i&&a.merge(e,i.defaultOption)}))},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),s=o;e.exports=s},"8ed2":function(e,t,i){i("48c7");var n=i("6cb7"),a=n.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});e.exports=a},"8ee0":function(e,t,i){i("3f8e");var n=i("697e7"),a=n.registerPainter,r=i("dc20");a("svg",r)},"903c":function(e,t){function i(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries((function(e){for(var i=0;i=i.length||e===i[e.depth]){var r=m(a,g,e,t,_,n);u(e,r,i,n)}}))}else l=h(g,e),e.setVisual("color",l)}}function c(e,t,i){var n=r.extend({},t),a=i.designatedVisualItemStyle;return r.each(["color","colorAlpha","colorSaturation"],(function(i){a[i]=t[i];var r=e.get(i);a[i]=null,null!=r&&(n[i]=r)})),n}function h(e){var t=f(e,"color");if(t){var i=f(e,"colorAlpha"),n=f(e,"colorSaturation");return n&&(t=a.modifyHSL(t,null,null,n)),i&&(t=a.modifyAlpha(t,i)),t}}function d(e,t){return null!=t?a.modifyHSL(t,null,null,e):null}function f(e,t){var i=e[t];if(null!=i&&"none"!==i)return i}function p(e,t,i,a,r,o){if(o&&o.length){var s=g(t,"color")||null!=r.color&&"none"!==r.color&&(g(t,"colorAlpha")||g(t,"colorSaturation"));if(s){var l=t.get("visualMin"),u=t.get("visualMax"),c=i.dataExtent.slice();null!=l&&lc[1]&&(c[1]=u);var h=t.get("colorMappingBy"),d={type:s.name,dataExtent:c,visual:s.range};"color"!==d.type||"index"!==h&&"id"!==h?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var f=new n(d);return f.__drColorMappingBy=h,f}}}function g(e,t){var i=e.get(t);return o(i)&&i.length?{name:t,range:i}:null}function m(e,t,i,n,a,o){var s=r.extend({},t);if(a){var l=a.type,u="color"===l&&a.__drColorMappingBy,c="index"===u?n:"id"===u?o.mapIdToIndex(i.getId()):i.getValue(e.get("visualDimension"));s[l]=a.mapValueToVisual(c)}return s}e.exports=l},"923d":function(e,t,i){var n=i("6d8b"),a=i("3842"),r=i("ee1a"),o=r.isDimensionStacked,s=n.indexOf;function l(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function u(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function c(e,t,i,n,r,s){var l=[],u=o(t,n),c=u?t.getCalculationInfo("stackResultDimension"):n,h=y(t,c,e),d=t.indicesOfNearest(c,h)[0];l[r]=t.get(i,d),l[s]=t.get(c,d);var f=t.get(n,d),p=a.getPrecision(t.get(n,d));return p=Math.min(p,20),p>=0&&(l[s]=+l[s].toFixed(p)),[l,f]}var h=n.curry,d={min:h(c,"min"),max:h(c,"max"),average:h(c,"average")};function f(e,t){var i=e.getData(),a=e.coordinateSystem;if(t&&!u(t)&&!n.isArray(t.coord)&&a){var r=a.dimensions,o=p(t,i,a,e);if(t=n.clone(t),t.type&&d[t.type]&&o.baseAxis&&o.valueAxis){var l=s(r,o.baseAxis.dim),c=s(r,o.valueAxis.dim),h=d[t.type](i,o.baseDataDim,o.valueDataDim,l,c);t.coord=h[0],t.value=h[1]}else{for(var f=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis],g=0;g<2;g++)d[f[g]]&&(f[g]=y(i,i.mapDimension(r[g]),f[g]));t.coord=f}}return t}function p(e,t,i,n){var a={};return null!=e.valueIndex||null!=e.valueDim?(a.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,a.valueAxis=i.getAxis(g(n,a.valueDataDim)),a.baseAxis=i.getOtherAxis(a.valueAxis),a.baseDataDim=t.mapDimension(a.baseAxis.dim)):(a.baseAxis=n.getBaseAxis(),a.valueAxis=i.getOtherAxis(a.baseAxis),a.baseDataDim=t.mapDimension(a.baseAxis.dim),a.valueDataDim=t.mapDimension(a.valueAxis.dim)),a}function g(e,t){var i=e.getData(),n=i.dimensions;t=i.getDimension(t);for(var a=0;ar&&(c=s.interval=r);var h=s.intervalPrecision=o(c),d=s.niceTickExtent=[a(Math.ceil(e[0]/c)*c,h),a(Math.floor(e[1]/c)*c,h)];return l(d,e),s}function o(e){return n.getPrecisionSafe(e)+2}function s(e,t,i){e[t]=Math.max(Math.min(e[t],i[1]),i[0])}function l(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),s(e,0,t),s(e,1,t),e[0]>e[1]&&(e[0]=e[1])}t.intervalScaleNiceTicks=r,t.getIntervalPrecision=o,t.fixExtent=l},"94b1":function(e,t,i){var n=i("3eba"),a=i("6d8b"),r=i("9d57"),o=r.layout,s=r.largeLayout;i("5aa9"),i("17b8"),i("67cc"),i("01ed"),n.registerLayout(n.PRIORITY.VISUAL.LAYOUT,a.curry(o,"bar")),n.registerLayout(n.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,s),n.registerVisual({seriesType:"bar",reset:function(e){e.getData().setVisual("legendSymbol","roundRect")}})},"94e4":function(e,t,i){var n=i("401b"),a=i("53f3"),r=a.getSymbolSize,o=a.getNodeGlobalScale,s=i("6d8b"),l=i("0c37"),u=l.getCurvenessForEdge,c=Math.PI,h=[];function d(e,t){var i=e.coordinateSystem;if(!i||"view"===i.type){var a=i.getBoundingRect(),r=e.getData(),o=r.graph,l=a.width/2+a.x,c=a.height/2+a.y,h=Math.min(a.width,a.height)/2,d=r.count();r.setLayout({cx:l,cy:c}),d&&(f[t](e,i,o,r,h,l,c,d),o.eachEdge((function(t,i){var a,r=s.retrieve3(t.getModel().get("lineStyle.curveness"),u(t,e,i),0),o=n.clone(t.node1.getLayout()),h=n.clone(t.node2.getLayout()),d=(o[0]+h[0])/2,f=(o[1]+h[1])/2;+r&&(r*=3,a=[l*r+d*(1-r),c*r+f*(1-r)]),t.setLayout([o,h,a])})))}}var f={value:function(e,t,i,n,a,r,o,s){var l=0,u=n.getSum("value"),c=2*Math.PI/(u||s);i.eachNode((function(e){var t=e.getValue("value"),i=c*(u?t:1)/2;l+=i,e.setLayout([a*Math.cos(l)+r,a*Math.sin(l)+o]),l+=i}))},symbolSize:function(e,t,i,n,a,s,l,u){var d=0;h.length=u;var f=o(e);i.eachNode((function(e){var t=r(e);isNaN(t)&&(t=2),t<0&&(t=0),t*=f;var i=Math.asin(t/2/a);isNaN(i)&&(i=c/2),h[e.dataIndex]=i,d+=2*i}));var p=(2*c-d)/u/2,g=0;i.eachNode((function(e){var t=p+h[e.dataIndex];g+=t,e.setLayout([a*Math.cos(g)+s,a*Math.sin(g)+l]),g+=t}))}};t.circularLayout=d},"95a8":function(e,t,i){var n=i("3eba");i("1953"),i("307d"),n.registerPreprocessor((function(e){e.markLine=e.markLine||{}}))},9680:function(e,t){function i(e,t,i,n,a,r,o){if(0===a)return!1;var s=a,l=0,u=e;if(o>t+s&&o>n+s||oe+s&&r>i+s||r=i.x&&e<=i.x+i.width&&t>=i.y&&t<=i.y+i.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},"98b7":function(e,t){var i="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=i},"98e7":function(e,t,i){var n=i("6d8b"),a=n.createHashMap;function r(e){return{getTargetSeries:function(t){var i={},n=a();return t.eachSeriesByType(e,(function(e){e.__paletteScope=i,n.set(e.uid,e)})),n},reset:function(e,t){var i=e.getRawData(),n={},a=e.getData();a.each((function(e){var t=a.getRawIndex(e);n[t]=e})),i.each((function(t){var r,o=n[t],s=null!=o&&a.getItemVisual(o,"color",!0),l=null!=o&&a.getItemVisual(o,"borderColor",!0);if(s&&l||(r=i.getItemModel(t)),!s){var u=r.get("itemStyle.color")||e.getColorFromPalette(i.getName(t)||t+"",e.__paletteScope,i.count());null!=o&&a.setItemVisual(o,"color",u)}if(!l){var c=r.get("itemStyle.borderColor");null!=o&&a.setItemVisual(o,"borderColor",c)}}))}}}e.exports=r},"998c":function(e,t,i){var n=i("6d8b"),a=i("2306"),r=i("e86a"),o=Math.PI;function s(e,t){t=t||{},n.defaults(t,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var i=new a.Group,s=new a.Rect({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});i.add(s);var l=t.fontSize+" sans-serif",u=new a.Rect({style:{fill:"none",text:t.text,font:l,textPosition:"right",textDistance:10,textFill:t.textColor},zlevel:t.zlevel,z:10001});if(i.add(u),t.showSpinner){var c=new a.Arc({shape:{startAngle:-o/2,endAngle:-o/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001});c.animateShape(!0).when(1e3,{endAngle:3*o/2}).start("circularInOut"),c.animateShape(!0).when(1e3,{startAngle:3*o/2}).delay(300).start("circularInOut"),i.add(c)}return i.resize=function(){var i=r.getWidth(t.text,l),n=t.showSpinner?t.spinnerRadius:0,a=(e.getWidth()-2*n-(t.showSpinner&&i?10:0)-i)/2-(t.showSpinner?0:i/2),o=e.getHeight()/2;t.showSpinner&&c.setShape({cx:a,cy:o}),u.setShape({x:a-n,y:o-n,width:2*n,height:2*n}),s.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},i.resize(),i}e.exports=s},"9bdb":function(e,t,i){var n=i("282b"),a=n([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),r={getAreaStyle:function(e,t){return a(this,e,t)}};e.exports=r},"9c2c":function(e,t,i){var n=i("401b"),a=n.min,r=n.max,o=n.scale,s=n.distance,l=n.add,u=n.clone,c=n.sub;function h(e,t,i,n){var h,d,f,p,g=[],m=[],v=[],y=[];if(n){f=[1/0,1/0],p=[-1/0,-1/0];for(var x=0,_=e.length;x<_;x++)a(f,f,e[x]),r(p,p,e[x]);a(f,f,n[0]),r(p,p,n[1])}for(x=0,_=e.length;x<_;x++){var b=e[x];if(i)h=e[x?x-1:_-1],d=e[(x+1)%_];else{if(0===x||x===_-1){g.push(u(e[x]));continue}h=e[x-1],d=e[x+1]}c(m,d,h),o(m,m,t);var w=s(b,h),S=s(b,d),M=w+S;0!==M&&(w/=M,S/=M),o(v,m,-w),o(y,m,S);var I=l([],b,v),A=l([],b,y);n&&(r(I,I,f),a(I,I,p),r(A,A,f),a(A,A,p)),g.push(I),g.push(A)}return i&&g.push(g.shift()),g}e.exports=h},"9ca8":function(e,t,i){var n=i("6d8b"),a=i("9850"),r=i("3842"),o=r.parsePercent,s=r.MAX_SAFE_INTEGER,l=i("f934"),u=i("55ac"),c=Math.max,h=Math.min,d=n.retrieve,f=n.each,p=["itemStyle","borderWidth"],g=["itemStyle","gapWidth"],m=["upperLabel","show"],v=["upperLabel","height"],y={seriesType:"treemap",reset:function(e,t,i,r){var s=i.getWidth(),c=i.getHeight(),h=e.option,p=l.getLayoutRect(e.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()}),g=h.size||[],m=o(d(p.width,g[0]),s),v=o(d(p.height,g[1]),c),y=r&&r.type,_=["treemapZoomToNode","treemapRootToNode"],b=u.retrieveTargetInfo(r,_,e),w="treemapRender"===y||"treemapMove"===y?r.rootRect:null,S=e.getViewRoot(),M=u.getPathToRoot(S);if("treemapMove"!==y){var I="treemapZoomToNode"===y?A(e,b,S,m,v):w?[w.width,w.height]:[m,v],D=h.sort;D&&"asc"!==D&&"desc"!==D&&(D="desc");var L={squareRatio:h.squareRatio,sort:D,leafDepth:h.leafDepth};S.hostTree.clearLayouts();var P={x:0,y:0,width:I[0],height:I[1],area:I[0]*I[1]};S.setLayout(P),x(S,L,!1,0);P=S.getLayout();f(M,(function(e,t){var i=(M[t+1]||S).getValue();e.setLayout(n.extend({dataExtent:[i,i],borderWidth:0,upperHeight:0},P))}))}var k=e.getData().tree.root;k.setLayout(T(p,w,b),!0),e.setLayoutInfo(p),C(k,new a(-p.x,-p.y,s,c),M,S,0)}};function x(e,t,i,n){var a,r;if(!e.isRemoved()){var o=e.getLayout();a=o.width,r=o.height;var s=e.getModel(),l=s.get(p),u=s.get(g)/2,d=D(s),f=Math.max(l,d),m=l-u,v=f-u;s=e.getModel();e.setLayout({borderWidth:l,upperHeight:f,upperLabelHeight:d},!0),a=c(a-2*m,0),r=c(r-m-v,0);var y=a*r,b=_(e,s,y,t,i,n);if(b.length){var w={x:m,y:v,width:a,height:r},S=h(a,r),A=1/0,T=[];T.area=0;for(var C=0,L=b.length;C=0;l--){var u=a["asc"===n?o-l-1:l].getValue();u/i*ts[1]&&(s[1]=t)}))}else s=[NaN,NaN];return{sum:n,dataExtent:s}}function M(e,t,i){for(var n,a=0,r=1/0,o=0,s=e.length;oa&&(a=n));var l=e.area*e.area,u=t*t*i;return l?c(u*a/l,l/(u*r)):1/0}function I(e,t,i,n,a){var r=t===i.width?0:1,o=1-r,s=["x","y"],l=["width","height"],u=i[s[r]],d=t?e.area/t:0;(a||d>i[l[o]])&&(d=i[l[o]]);for(var f=0,p=e.length;fs&&(c=s),o=r}c0&&(o=null===o?l:Math.min(o,l))}i[a]=o}}return i}function v(e){var t=m(e),i=[];return n.each(e,(function(e){var n,a=e.coordinateSystem,o=a.getBaseAxis(),s=o.getExtent();if("category"===o.type)n=o.getBandWidth();else if("value"===o.type||"time"===o.type){var l=o.dim+"_"+o.index,u=t[l],c=Math.abs(s[1]-s[0]),h=o.scale.getExtent(),p=Math.abs(h[1]-h[0]);n=u?c/p*u:c}else{var g=e.getData();n=Math.abs(s[1]-s[0])/g.count()}var m=r(e.get("barWidth"),n),v=r(e.get("barMaxWidth"),n),y=r(e.get("barMinWidth")||1,n),x=e.get("barGap"),_=e.get("barCategoryGap");i.push({bandWidth:n,barWidth:m,barMaxWidth:v,barMinWidth:y,barGap:x,barCategoryGap:_,axisKey:f(o),stackId:d(e)})})),y(i)}function y(e){var t={};n.each(e,(function(e,i){var n=e.axisKey,a=e.bandWidth,r=t[n]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=r.stacks;t[n]=r;var s=e.stackId;o[s]||r.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(r.remainedWidth,l),r.remainedWidth-=l);var u=e.barMaxWidth;u&&(o[s].maxWidth=u);var c=e.barMinWidth;c&&(o[s].minWidth=c);var h=e.barGap;null!=h&&(r.gap=h);var d=e.barCategoryGap;null!=d&&(r.categoryGap=d)}));var i={};return n.each(t,(function(e,t){i[t]={};var a=e.stacks,o=e.bandWidth,s=r(e.categoryGap,o),l=r(e.gap,1),u=e.remainedWidth,c=e.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),n.each(a,(function(e){var t=e.maxWidth,i=e.minWidth;if(e.width){n=e.width;t&&(n=Math.min(n,t)),i&&(n=Math.max(n,i)),e.width=n,u-=n+l*n,c--}else{var n=h;t&&tn&&(n=i),n!==h&&(e.width=n,u-=n+l*n,c--)}})),h=(u-s)/(c+(c-1)*l),h=Math.max(h,0);var d,f=0;n.each(a,(function(e,t){e.width||(e.width=h),d=e,f+=e.width*(1+l)})),d&&(f-=d.width*l);var p=-f/2;n.each(a,(function(e,n){i[t][n]=i[t][n]||{bandWidth:o,offset:p,width:e.width},p+=e.width*(1+l)}))})),i}function x(e,t,i){if(e&&t){var n=e[f(t)];return null!=n&&null!=i&&(n=n[d(i)]),n}}function _(e,t){var i=g(e,t),a=v(i),r={},o={};n.each(i,(function(e){var t=e.getData(),i=e.coordinateSystem,n=i.getBaseAxis(),l=d(e),u=a[f(n)][l],c=u.offset,h=u.width,p=i.getOtherAxis(n),g=e.get("barMinHeight")||0;r[l]=r[l]||[],o[l]=o[l]||[],t.setLayout({bandWidth:u.bandWidth,offset:c,size:h});for(var m=t.mapDimension(p.dim),v=t.mapDimension(n.dim),y=s(t,m),x=p.isHorizontal(),_=M(n,p,y),b=0,w=t.count();b=0?"p":"n",P=_;if(y&&(r[l][D]||(r[l][D]={p:_,n:_}),P=r[l][D][L]),x){var k=i.dataToPoint([C,D]);S=P,I=k[1]+c,A=k[0]-_,T=h,Math.abs(A)c||(d=c),{progress:f}}function f(e,t){var c,f=e.count,p=new h(2*f),g=new h(2*f),m=new h(f),v=[],y=[],x=0,_=0;while(null!=(c=e.next()))y[u]=t.get(o,c),y[1-u]=t.get(s,c),v=i.dataToPoint(y,null,v),g[x]=l?n.x+n.width:v[0],p[x++]=v[0],g[x]=l?v[1]:n.y+n.height,p[x++]=v[1],m[_++]=c;t.setLayout({largePoints:p,largeDataIndices:m,largeBackgroundPoints:g,barWidth:d,valueAxisStart:M(a,r,!1),backgroundStart:l?n.x:n.y,valueAxisHorizontal:l})}}};function w(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function S(e){return e.pipelineContext&&e.pipelineContext.large}function M(e,t,i){return t.toGlobalCoord(t.dataToCoord("log"===t.type?1:0))}t.getLayoutOnAxis=p,t.prepareLayoutBarSeries=g,t.makeColumnLayout=v,t.retrieveColumnLayout=x,t.layout=_,t.largeLayout=b},"9e2e":function(e,t,i){var n=i("a73c"),a=i("9850"),r=i("82eb"),o=r.WILL_BE_RESTORED,s=new a,l=function(){};l.prototype={constructor:l,drawRectText:function(e,t){var i=this.style;t=i.textRect||t,this.__dirty&&n.normalizeTextStyle(i,!0);var a=i.text;if(null!=a&&(a+=""),n.needDrawText(a,i)){e.save();var r=this.transform;i.transformText?this.setTransform(e):r&&(s.copy(t),s.applyTransform(r),t=s),n.renderText(this,e,a,i,t,o),e.restore()}}};var u=l;e.exports=u},"9e47":function(e,t,i){var n=i("6d8b"),a=i("71ad"),r=i("6cb7"),o=i("f934"),s=o.getLayoutParams,l=o.mergeLayoutParam,u=i("8e43"),c=["value","category","time","log"];function h(e,t,i,o){n.each(c,(function(r){t.extend({type:e+"Axis."+r,mergeDefaultAndTheme:function(t,a){var o=this.layoutMode,u=o?s(t):{},c=a.getTheme();n.merge(t,c.get(r+"Axis")),n.merge(t,this.getDefaultOption()),t.type=i(e,t),o&&l(t,u,o)},optionUpdated:function(){var e=this.option;"category"===e.type&&(this.__ordinalMeta=u.createByAxisModel(this))},getCategories:function(e){var t=this.option;if("category"===t.type)return e?t.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:n.mergeAll([{},a[r+"Axis"],o],!0)})})),r.registerSubTypeDefaulter(e+"Axis",n.curry(i,e))}e.exports=h},"9e87":function(e,t,i){var n=i("3eba"),a=i("6d8b"),r=i("50e5");n.registerAction("dataZoom",(function(e,t){var i=r.createLinkedNodesFinder(a.bind(t.eachComponent,t,"dataZoom"),r.eachAxisDim,(function(e,t){return e.get(t.axisIndex)})),n=[];t.eachComponent({mainType:"dataZoom",query:e},(function(e,t){n.push.apply(n,i(e).nodes)})),a.each(n,(function(t,i){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})}))}))},"9f51":function(e,t,i){var n=i("857d"),a=n.normalizeRadian,r=2*Math.PI;function o(e,t,i,n,o,s,l,u,c){if(0===l)return!1;var h=l;u-=e,c-=t;var d=Math.sqrt(u*u+c*c);if(d-h>i||d+ho&&(o+=r);var p=Math.atan2(c,u);return p<0&&(p+=r),p>=n&&p<=o||p+r>=n&&p+r<=o}t.containStroke=o},"9f82":function(e,t,i){var n=i("ee1a"),a=n.isDimensionStacked,r=i("6d8b"),o=r.map;function s(e,t,i){var n,r=e.getBaseAxis(),s=e.getOtherAxis(r),u=l(s,i),c=r.dim,h=s.dim,d=t.mapDimension(h),f=t.mapDimension(c),p="x"===h||"radius"===h?1:0,g=o(e.dimensions,(function(e){return t.mapDimension(e)})),m=t.getCalculationInfo("stackResultDimension");return(n|=a(t,g[0]))&&(g[0]=m),(n|=a(t,g[1]))&&(g[1]=m),{dataDimsForPoint:g,valueStart:u,valueAxisDim:h,baseAxisDim:c,stacked:!!n,valueDim:d,baseDim:f,baseDataOffset:p,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function l(e,t){var i=0,n=e.scale.getExtent();return"start"===t?i=n[0]:"end"===t?i=n[1]:n[0]>0?i=n[0]:n[1]<0&&(i=n[1]),i}function u(e,t,i,n){var a=NaN;e.stacked&&(a=i.get(i.getCalculationInfo("stackedOverDimension"),n)),isNaN(a)&&(a=e.valueStart);var r=e.baseDataOffset,o=[];return o[r]=i.get(e.baseDim,n),o[1-r]=a,t.dataToPoint(o)}t.prepareDataCoordInfo=s,t.getStackedOnPoint=u},"9fa3":function(e,t,i){var n=i("4ab1"),a=i("6d8b"),r=i("1687");function o(e,t){n.call(this,e,t,"clipPath","__clippath_in_use__")}a.inherits(o,n),o.prototype.update=function(e){var t=this.getSvgElement(e);t&&this.updateDom(t,e.__clipPaths,!1);var i=this.getTextSvgElement(e);i&&this.updateDom(i,e.__clipPaths,!0),this.markUsed(e)},o.prototype.updateDom=function(e,t,i){if(t&&t.length>0){var n,a,o=this.getDefs(!0),s=t[0],l=i?"_textDom":"_dom";s[l]?(a=s[l].getAttribute("id"),n=s[l],o.contains(n)||o.appendChild(n)):(a="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,n=this.createElement("clipPath"),n.setAttribute("id",a),o.appendChild(n),s[l]=n);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!i){var c=Array.prototype.slice.call(s.transform);r.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=c}else u.brush(s);var h=this.getSvgElement(s);n.innerHTML="",n.appendChild(h.cloneNode()),e.setAttribute("clip-path","url(#"+a+")"),t.length>1&&this.updateDom(n,t.slice(1),i)}else e&&e.setAttribute("clip-path","none")},o.prototype.markUsed=function(e){var t=this;e.__clipPaths&&a.each(e.__clipPaths,(function(e){e._dom&&n.prototype.markUsed.call(t,e._dom),e._textDom&&n.prototype.markUsed.call(t,e._textDom)}))};var s=o;e.exports=s},a016:function(e,t,i){var n=i("4f85"),a=i("e46b"),r=i("6d8b"),o=i("eda2"),s=o.encodeHTML,l=i("c4a3"),u=n.extend({type:"series.radar",dependencies:["radar"],init:function(e){u.superApply(this,"init",arguments),this.legendVisualProvider=new l(r.bind(this.getData,this),r.bind(this.getRawData,this))},getInitialData:function(e,t){return a(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(e,t,i,n){var a=this.getData(),o=this.coordinateSystem,l=o.getIndicatorAxes(),u=this.getData().getName(e),c="html"===n?"
":"\n";return s(""===u?this.name:u)+c+r.map(l,(function(t,i){var n=a.get(a.mapDimension(t.dim),e);return s(t.name+" : "+n)})).join(c)},getTooltipPosition:function(e){if(null!=e)for(var t=this.getData(),i=this.coordinateSystem,n=t.getValues(r.map(i.dimensions,(function(e){return t.mapDimension(e)})),e,!0),a=0,o=n.length;a0){e.moveTo(i[a++],i[a++]);for(var o=1;o0){var h=(s+u)/2-(l-c)*n,d=(l+c)/2-(u-s)*n;e.quadraticCurveTo(h,d,u,c)}else e.lineTo(u,c)}},findDataIndex:function(e,t){var i=this.shape,n=i.segs,a=i.curveness;if(i.polyline)for(var s=0,l=0;l0)for(var c=n[l++],h=n[l++],d=1;d0){var g=(c+f)/2-(h-p)*a,m=(h+p)/2-(f-c)*a;if(o.containStroke(c,h,g,m,f,p))return s}else if(r.containStroke(c,h,f,p))return s;s++}return-1}});function l(){this.group=new n.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(e){this.group.removeAll();var t=new s({rectHover:!0,cursor:"default"});t.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(t,e),this.group.add(t),this._incremental=null},u.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>5e5?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(e,t){var i=new s;i.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(i,t,!!this._incremental),this._incremental?this._incremental.addDisplayable(i,!0):(i.rectHover=!0,i.cursor="default",i.__startIndex=e.start,this.group.add(i))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(e,t,i){var n=t.hostModel;e.setShape({polyline:n.get("polyline"),curveness:n.get("lineStyle.curveness")}),e.useStyle(n.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var a=t.getVisual("color");a&&e.setStyle("stroke",a),e.setStyle("fill"),i||(e.seriesIndex=n.seriesIndex,e.on("mousemove",(function(t){e.dataIndex=null;var i=e.findDataIndex(t.offsetX,t.offsetY);i>0&&(e.dataIndex=i+e.__startIndex)})))},u._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var c=l;e.exports=c},a4b1:function(e,t,i){var n=i("3eba");i("00ba"),i("4d62");var a=i("98e7"),r=i("24b9"),o=i("d3f4");n.registerVisual(a("funnel")),n.registerLayout(r),n.registerProcessor(o("funnel"))},a4fe:function(e,t,i){var n=i("3eba"),a="\0_ec_interaction_mutex";function r(e,t,i){var n=l(e);n[t]=i}function o(e,t,i){var n=l(e),a=n[t];a===i&&(n[t]=null)}function s(e,t){return!!l(e)[t]}function l(e){return e[a]||(e[a]={})}n.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),t.take=r,t.release=o,t.isTaken=s},a666:function(e,t,i){var n=i("3eba"),a=i("6d8b"),r=i("2306"),o=i("0c41"),s="__seriesMapHighDown",l="__seriesMapCallKey",u=n.extendChartView({type:"map",render:function(e,t,i,n){if(!n||"mapToggleSelect"!==n.type||n.from!==this.uid){var a=this.group;if(a.removeAll(),!e.getHostGeoModel()){if(n&&"geoRoam"===n.type&&"series"===n.componentType&&n.seriesId===e.id){r=this._mapDraw;r&&a.add(r.group)}else if(e.needsDrawMap){var r=this._mapDraw||new o(i,!0);a.add(r.group),r.draw(e,t,i,this,n),this._mapDraw=r}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,i)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(e,t,i){var n=e.originalData,o=this.group;n.each(n.mapDimension("value"),(function(t,i){if(!isNaN(t)){var u=n.getItemLayout(i);if(u&&u.point){var d=u.point,f=u.offset,p=new r.Circle({style:{fill:e.getData().getVisual("color")},shape:{cx:d[0]+9*f,cy:d[1],r:3},silent:!0,z2:8+(f?0:r.Z2_EMPHASIS_LIFT+1)});if(!f){var g=e.mainSeries.getData(),m=n.getName(i),v=g.indexOfName(m),y=n.getItemModel(i),x=y.getModel("label"),_=y.getModel("emphasis.label"),b=g.getItemGraphicEl(v),w=a.retrieve2(e.getFormattedLabel(v,"normal"),m),S=a.retrieve2(e.getFormattedLabel(v,"emphasis"),w),M=b[s],I=Math.random();if(!M){M=b[s]={};var A=a.curry(c,!0),T=a.curry(c,!1);b.on("mouseover",A).on("mouseout",T).on("emphasis",A).on("normal",T)}b[l]=I,a.extend(M,{recordVersion:I,circle:p,labelModel:x,hoverLabelModel:_,emphasisText:S,normalText:w}),h(M,!1)}o.add(p)}}}))}});function c(e){var t=this[s];t&&t.recordVersion===this[l]&&h(t,e)}function h(e,t){var i=e.circle,n=e.labelModel,a=e.hoverLabelModel,o=e.emphasisText,s=e.normalText;t?(i.style.extendFrom(r.setTextStyle({},a,{text:a.get("show")?o:null},{isRectText:!0,useInsideStyle:!1},!0)),i.__mapOriginalZ2=i.z2,i.z2+=r.Z2_EMPHASIS_LIFT):(r.setTextStyle(i.style,n,{text:n.get("show")?s:null,textPosition:n.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),i.dirty(!1),null!=i.__mapOriginalZ2&&(i.z2=i.__mapOriginalZ2,i.__mapOriginalZ2=null))}e.exports=u},a73c:function(e,t,i){var n=i("6d8b"),a=n.retrieve2,r=n.retrieve3,o=n.each,s=n.normalizeCssArray,l=n.isString,u=n.isObject,c=i("e86a"),h=i("5693"),d=i("5e76"),f=i("7d6d"),p=i("82eb"),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},_=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],b={},w={};function S(e){return M(e),o(e.rich,M),e}function M(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 i=e.textVerticalAlign||e.textBaseline;"center"===i&&(i="middle"),e.textVerticalAlign=null==i||x[i]?i:"top";var n=e.textPadding;n&&(e.textPadding=s(e.textPadding))}}function I(e,t,i,n,a,r){n.rich?T(e,t,i,n,a,r):A(e,t,i,n,a,r)}function A(e,t,i,n,a,r){"use strict";var o,s=P(n),l=!1,u=t.__attrCachedBy===g.PLAIN_TEXT;r!==m?(r&&(o=r.style,l=!s&&u&&o),t.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):u&&(t.__attrCachedBy=g.NONE);var h=n.font||v;l&&h===(o.font||v)||(t.font=h);var d=e.__computedFont;e.__styleFont!==h&&(e.__styleFont=h,d=e.__computedFont=t.font);var p=n.textPadding,y=n.textLineHeight,x=e.__textCotentBlock;x&&!e.__dirtyText||(x=e.__textCotentBlock=c.parsePlainText(i,d,p,y,n.truncate));var b=x.outerHeight,S=x.lines,M=x.lineHeight,I=R(w,e,n,a),A=I.baseX,T=I.baseY,C=I.textAlign||"left",L=I.textVerticalAlign;D(t,n,a,A,T);var O=c.adjustTextY(T,b,L),E=A,V=O;if(s||p){var F=c.getWidth(i,d),G=F;p&&(G+=p[1]+p[3]);var H=c.adjustTextX(A,G,C);s&&k(e,t,n,H,O,G,b),p&&(E=B(A,C,p),V+=p[0])}t.textAlign=C,t.textBaseline="middle",t.globalAlpha=n.opacity||1;for(var W=0;W<_.length;W++){var U=_[W],Z=U[0],Y=U[1],j=n[Z];l&&j===o[Z]||(t[Y]=f(t,Y,j||U[2]))}V+=M/2;var X=n.textStrokeWidth,q=l?o.textStrokeWidth:null,K=!l||X!==q,$=!l||K||n.textStroke!==o.textStroke,J=N(n.textStroke,X),Q=z(n.textFill);if(J&&(K&&(t.lineWidth=X),$&&(t.strokeStyle=J)),Q&&(l&&n.textFill===o.textFill||(t.fillStyle=Q)),1===S.length)J&&t.strokeText(S[0],E,V),Q&&t.fillText(S[0],E,V);else for(W=0;W=0&&(b=M[N],"right"===b.textAlign))L(e,t,b,n,A,y,E,"right"),T-=b.width,E-=b.width,N--;O+=(r-(O-v)-(x-E)-T)/2;while(C<=N)b=M[C],L(e,t,b,n,A,y,O+b.width/2,"center"),O+=b.width,C++;y+=A}}function D(e,t,i,n,a){if(i&&t.textRotation){var r=t.textOrigin;"center"===r?(n=i.width/2+i.x,a=i.height/2+i.y):r&&(n=r[0]+i.x,a=r[1]+i.y),e.translate(n,a),e.rotate(-t.textRotation),e.translate(-n,-a)}}function L(e,t,i,n,o,s,l,u){var c=n.rich[i.styleName]||{};c.text=i.text;var h=i.textVerticalAlign,d=s+o/2;"top"===h?d=s+i.height/2:"bottom"===h&&(d=s+o-i.height/2),!i.isLineHolder&&P(c)&&k(e,t,c,"right"===u?l-i.width:"center"===u?l-i.width/2:l,d-i.height/2,i.width,i.height);var f=i.textPadding;f&&(l=B(l,u,f),d-=i.height/2-f[2]-i.textHeight/2),E(t,"shadowBlur",r(c.textShadowBlur,n.textShadowBlur,0)),E(t,"shadowColor",c.textShadowColor||n.textShadowColor||"transparent"),E(t,"shadowOffsetX",r(c.textShadowOffsetX,n.textShadowOffsetX,0)),E(t,"shadowOffsetY",r(c.textShadowOffsetY,n.textShadowOffsetY,0)),E(t,"textAlign",u),E(t,"textBaseline","middle"),E(t,"font",i.font||v);var p=N(c.textStroke||n.textStroke,m),g=z(c.textFill||n.textFill),m=a(c.textStrokeWidth,n.textStrokeWidth);p&&(E(t,"lineWidth",m),E(t,"strokeStyle",p),t.strokeText(i.text,l,d)),g&&(E(t,"fillStyle",g),t.fillText(i.text,l,d))}function P(e){return!!(e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor)}function k(e,t,i,n,a,r,o){var s=i.textBackgroundColor,c=i.textBorderWidth,f=i.textBorderColor,p=l(s);if(E(t,"shadowBlur",i.textBoxShadowBlur||0),E(t,"shadowColor",i.textBoxShadowColor||"transparent"),E(t,"shadowOffsetX",i.textBoxShadowOffsetX||0),E(t,"shadowOffsetY",i.textBoxShadowOffsetY||0),p||c&&f){t.beginPath();var g=i.textBorderRadius;g?h.buildPath(t,{x:n,y:a,width:r,height:o,r:g}):t.rect(n,a,r,o),t.closePath()}if(p)if(E(t,"fillStyle",s),null!=i.fillOpacity){var m=t.globalAlpha;t.globalAlpha=i.fillOpacity*i.opacity,t.fill(),t.globalAlpha=m}else t.fill();else if(u(s)){var v=s.image;v=d.createOrUpdateImage(v,null,e,O,s),v&&d.isImageReady(v)&&t.drawImage(v,n,a,r,o)}if(c&&f)if(E(t,"lineWidth",c),E(t,"strokeStyle",f),null!=i.strokeOpacity){m=t.globalAlpha;t.globalAlpha=i.strokeOpacity*i.opacity,t.stroke(),t.globalAlpha=m}else t.stroke()}function O(e,t){t.image=e}function R(e,t,i,n){var a=i.x||0,r=i.y||0,o=i.textAlign,s=i.textVerticalAlign;if(n){var l=i.textPosition;if(l instanceof Array)a=n.x+V(l[0],n.width),r=n.y+V(l[1],n.height);else{var u=t&&t.calculateTextPosition?t.calculateTextPosition(b,i,n):c.calculateTextPosition(b,i,n);a=u.x,r=u.y,o=o||u.textAlign,s=s||u.textVerticalAlign}var h=i.textOffset;h&&(a+=h[0],r+=h[1])}return e=e||{},e.baseX=a,e.baseY=r,e.textAlign=o,e.textVerticalAlign=s,e}function E(e,t,i){return e[t]=f(e,t,i),e[t]}function N(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function z(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function V(e,t){return"string"===typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function B(e,t,i){return"right"===t?e-i[1]:"center"===t?e+i[3]/2-i[1]/2:e+i[3]}function F(e,t){return null!=e&&(e||t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor||t.textPadding)}t.normalizeTextStyle=S,t.renderText=I,t.getBoxPosition=R,t.getStroke=N,t.getFill=z,t.parsePercent=V,t.needDrawText=F},a753:function(e,t,i){var n=i("1f0e"),a=i("2306"),r=i("e887"),o=i("3842"),s=o.parsePercent,l=o.round,u=o.linearMap;function c(e,t){var i=e.get("center"),n=t.getWidth(),a=t.getHeight(),r=Math.min(n,a),o=s(i[0],t.getWidth()),l=s(i[1],t.getHeight()),u=s(e.get("radius"),r/2);return{cx:o,cy:l,r:u}}function h(e,t){return t&&("string"===typeof t?e=t.replace("{value}",null!=e?e:""):"function"===typeof t&&(e=t(e))),e}var d=2*Math.PI,f=r.extend({type:"gauge",render:function(e,t,i){this.group.removeAll();var n=e.get("axisLine.lineStyle.color"),a=c(e,i);this._renderMain(e,t,i,n,a)},dispose:function(){},_renderMain:function(e,t,i,n,r){for(var o=this.group,s=e.getModel("axisLine"),l=s.getModel("lineStyle"),u=e.get("clockwise"),c=-e.get("startAngle")/180*Math.PI,h=-e.get("endAngle")/180*Math.PI,f=(h-c)%d,p=c,g=l.get("width"),m=s.get("show"),v=0;m&&v=e&&(0===t?0:n[t-1][0]).4?"bottom":"middle",textAlign:P<-.4?"left":P>.4?"right":"center"},{autoColor:N}),silent:!0}))}if(x.get("show")&&L!==b){for(var z=0;z<=w;z++){P=Math.cos(I),k=Math.sin(I);var V=new a.Line({shape:{x1:P*g+f,y1:k*g+p,x2:P*(g-M)+f,y2:k*(g-M)+p},silent:!0,style:D});"auto"===D.stroke&&V.setStyle({stroke:n((L+z/w)/b)}),d.add(V),I+=T}I-=T}else I+=A}},_renderPointer:function(e,t,i,r,o,l,c,h){var d=this.group,f=this._data;if(e.get("pointer.show")){var p=[+e.get("min"),+e.get("max")],g=[l,c],m=e.getData(),v=m.mapDimension("value");m.diff(f).add((function(t){var i=new n({shape:{angle:l}});a.initProps(i,{shape:{angle:u(m.get(v,t),p,g,!0)}},e),d.add(i),m.setItemGraphicEl(t,i)})).update((function(t,i){var n=f.getItemGraphicEl(i);a.updateProps(n,{shape:{angle:u(m.get(v,t),p,g,!0)}},e),d.add(n),m.setItemGraphicEl(t,n)})).remove((function(e){var t=f.getItemGraphicEl(e);d.remove(t)})).execute(),m.eachItemGraphicEl((function(e,t){var i=m.getItemModel(t),n=i.getModel("pointer");e.setShape({x:o.cx,y:o.cy,width:s(n.get("width"),o.r),r:s(n.get("length"),o.r)}),e.useStyle(i.getModel("itemStyle").getItemStyle()),"auto"===e.style.fill&&e.setStyle("fill",r(u(m.get(v,t),p,[0,1],!0))),a.setHoverStyle(e,i.getModel("emphasis.itemStyle").getItemStyle())})),this._data=m}else f&&f.eachItemGraphicEl((function(e){d.remove(e)}))},_renderTitle:function(e,t,i,n,r){var o=e.getData(),l=o.mapDimension("value"),c=e.getModel("title");if(c.get("show")){var h=c.get("offsetCenter"),d=r.cx+s(h[0],r.r),f=r.cy+s(h[1],r.r),p=+e.get("min"),g=+e.get("max"),m=e.getData().get(l,0),v=n(u(m,[p,g],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},c,{x:d,y:f,text:o.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:v,forceRich:!0})}))}},_renderDetail:function(e,t,i,n,r){var o=e.getModel("detail"),l=+e.get("min"),c=+e.get("max");if(o.get("show")){var d=o.get("offsetCenter"),f=r.cx+s(d[0],r.r),p=r.cy+s(d[1],r.r),g=s(o.get("width"),r.r),m=s(o.get("height"),r.r),v=e.getData(),y=v.get(v.mapDimension("value"),0),x=n(u(y,[l,c],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},o,{x:f,y:p,text:h(y,o.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:x,forceRich:!0})}))}}}),p=f;e.exports=p},a7e2:function(e,t,i){var n=i("3eba");i("7293"),i("ae46");var a=i("6582"),r=i("ee98");n.registerLayout(a),n.registerVisual(r)},a7f2:function(e,t){var i=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function n(e,t){"china"===e&&"台湾"===t.name&&t.geometries.push({type:"polygon",exterior:i[0]})}e.exports=n},a87d:function(e,t,i){var n=i("22d1"),a=i("401b"),r=a.applyTransform,o=i("9850"),s=i("41ef"),l=i("e86a"),u=i("a73c"),c=i("9e2e"),h=i("19eb"),d=i("0da8"),f=i("76a5"),p=i("cbe5"),g=i("20c8"),m=i("42e5"),v=i("d3a4"),y=g.CMD,x=Math.round,_=Math.sqrt,b=Math.abs,w=Math.cos,S=Math.sin,M=Math.max;if(!n.canvasSupported){var I=",",A="progid:DXImageTransform.Microsoft",T=21600,C=T/2,D=1e5,L=1e3,P=function(e){e.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",e.coordsize=T+","+T,e.coordorigin="0,0"},k=function(e){return String(e).replace(/&/g,"&").replace(/"/g,""")},O=function(e,t,i){return"rgb("+[e,t,i].join(",")+")"},R=function(e,t){t&&e&&t.parentNode!==e&&e.appendChild(t)},E=function(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)},N=function(e,t,i){return(parseFloat(e)||0)*D+(parseFloat(t)||0)*L+i},z=u.parsePercent,V=function(e,t,i){var n=s.parse(t);i=+i,isNaN(i)&&(i=1),n&&(e.color=O(n[0],n[1],n[2]),e.opacity=i*n[3])},B=function(e){var t=s.parse(e);return[O(t[0],t[1],t[2]),t[3]]},F=function(e,t,i){var n=t.fill;if(null!=n)if(n instanceof m){var a,o=0,s=[0,0],l=0,u=1,c=i.getBoundingRect(),h=c.width,d=c.height;if("linear"===n.type){a="gradient";var f=i.transform,p=[n.x*h,n.y*d],g=[n.x2*h,n.y2*d];f&&(r(p,p,f),r(g,g,f));var v=g[0]-p[0],y=g[1]-p[1];o=180*Math.atan2(v,y)/Math.PI,o<0&&(o+=360),o<1e-6&&(o=0)}else{a="gradientradial";p=[n.x*h,n.y*d],f=i.transform;var x=i.scale,_=h,b=d;s=[(p[0]-c.x)/_,(p[1]-c.y)/b],f&&r(p,p,f),_/=x[0]*T,b/=x[1]*T;var w=M(_,b);l=0/w,u=2*n.r/w-l}var S=n.colorStops.slice();S.sort((function(e,t){return e.offset-t.offset}));for(var I=S.length,A=[],C=[],D=0;D=2){var k=A[0][0],O=A[1][0],R=A[0][1]*t.opacity,E=A[1][1]*t.opacity;e.type=a,e.method="none",e.focus="100%",e.angle=o,e.color=k,e.color2=O,e.colors=C.join(","),e.opacity=E,e.opacity2=R}"radial"===a&&(e.focusposition=s.join(","))}else V(e,n,t.opacity)},G=function(e,t){t.lineDash&&(e.dashstyle=t.lineDash.join(" ")),null==t.stroke||t.stroke instanceof m||V(e,t.stroke,t.opacity)},H=function(e,t,i,n){var a="fill"===t,r=e.getElementsByTagName(t)[0];null!=i[t]&&"none"!==i[t]&&(a||!a&&i.lineWidth)?(e[a?"filled":"stroked"]="true",i[t]instanceof m&&E(e,r),r||(r=v.createNode(t)),a?F(r,i,n):G(r,i),R(e,r)):(e[a?"filled":"stroked"]="false",E(e,r))},W=[[],[],[]],U=function(e,t){var i,n,a,o,s,l,u=y.M,c=y.C,h=y.L,d=y.A,f=y.Q,p=[],g=e.data,m=e.len();for(o=0;o.01?H&&(U+=270/T):Math.abs(Z-z)<1e-4?H&&UN?A-=270/T:A+=270/T:H&&Zz?M+=270/T:M-=270/T),p.push(Y,x(((N-V)*O+P)*T-C),I,x(((z-B)*R+k)*T-C),I,x(((N+V)*O+P)*T-C),I,x(((z+B)*R+k)*T-C),I,x((U*O+P)*T-C),I,x((Z*R+k)*T-C),I,x((M*O+P)*T-C),I,x((A*R+k)*T-C)),s=M,l=A;break;case y.R:var j=W[0],X=W[1];j[0]=g[o++],j[1]=g[o++],X[0]=j[0]+g[o++],X[1]=j[1]+g[o++],t&&(r(j,j,t),r(X,X,t)),j[0]=x(j[0]*T-C),X[0]=x(X[0]*T-C),j[1]=x(j[1]*T-C),X[1]=x(X[1]*T-C),p.push(" m ",j[0],I,j[1]," l ",X[0],I,j[1]," l ",X[0],I,X[1]," l ",j[0],I,X[1]);break;case y.Z:p.push(" x ")}if(i>0){p.push(n);for(var q=0;qK&&(q=0,X={});var i,n=$.style;try{n.font=e,i=n.fontFamily.split(",")[0]}catch(a){}t={style:n.fontStyle||j,variant:n.fontVariant||j,weight:n.fontWeight||j,size:0|parseFloat(n.fontSize||12),family:i||"Microsoft YaHei"},X[e]=t,q++}return t};l.$override("measureText",(function(e,t){var i=v.doc;Y||(Y=i.createElement("div"),Y.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",v.doc.body.appendChild(Y));try{Y.style.font=t}catch(n){}return Y.innerHTML="",Y.appendChild(i.createTextNode(e)),{width:Y.offsetWidth}}));for(var Q=new o,ee=function(e,t,i,n){var a=this.style;this.__dirty&&u.normalizeTextStyle(a,!0);var o=a.text;if(null!=o&&(o+=""),o){if(a.rich){var s=l.parseRichText(o,a);o=[];for(var c=0;cf?f=g:(p.lastTickCount=r,p.lastAutoInterval=f),f}},n.inherits(u,r);var c=u;e.exports=c},aa01:function(e,t,i){var n=i("6d8b"),a=i("4f85"),r=i("06c7"),o=i("4319"),s=i("55ac"),l=s.wrapTreePathInfo,u=a.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(e,t){var i={name:e.name,children:e.data};c(i);var a=n.map(e.levels||[],(function(e){return new o(e,this,t)}),this),s=r.createTree(i,this,l);function l(e){e.wrapMethod("getItemModel",(function(e,t){var i=s.getNodeByDataIndex(t),n=a[i.depth];return n&&(e.parentModel=n),e}))}return s.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(e){var t=a.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=l(i,this),t},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});function c(e){var t=0;n.each(e.children,(function(e){c(e);var i=e.value;n.isArray(i)&&(i=i[0]),t+=i}));var i=e.value;n.isArray(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=t),i<0&&(i=0),n.isArray(e.value)?e.value[0]=i:e.value=i}e.exports=u},aa3e:function(e,t,i){var n=i("6d8b");function a(e,t){return t=t||[0,0],n.map(["x","y"],(function(i,n){var a=this.getAxis(i),r=t[n],o=e[n]/2;return"category"===a.type?a.getBandWidth():Math.abs(a.dataToCoord(r-o)-a.dataToCoord(r+o))}),this)}function r(e){var t=e.grid.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:n.bind(a,e)}}}e.exports=r},aadf:function(e,t,i){var n=i("3eba"),a=i("6d8b");i("5aa9"),i("d6d9"),i("3329");var r=i("9d57"),o=r.layout,s=i("7f96");i("01ed"),n.registerLayout(a.curry(o,"pictorialBar")),n.registerVisual(s("pictorialBar","roundRect"))},ab05:function(e,t,i){var n=i("3eba"),a=i("6d8b"),r=i("2b8c"),o=i("5f14"),s=n.PRIORITY.VISUAL.COMPONENT;function l(e,t,i,n){for(var a=t.targetVisuals[n],r=o.prepareVisualTypes(a),s={color:e.getData().getVisual("color")},l=0,u=r.length;l1e4||!this._symbolDraw.isPersistent())return{update:!0};var a=o().reset(e);a.progress&&a.progress({start:0,end:n.count()},n),this._symbolDraw.updateLayout(n)},_getClipShape:function(e){var t=e.coordinateSystem,i=t&&t.getArea&&t.getArea();return e.get("clip",!0)?i:null},_updateSymbolDraw:function(e,t){var i=this._symbolDraw,n=t.pipelineContext,o=n.large;return i&&o===this._isLargeDraw||(i&&i.remove(),i=this._symbolDraw=o?new r:new a,this._isLargeDraw=o,this.group.removeAll()),this.group.add(i.group),i},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},ac0f:function(e,t,i){var n=i("cbe5"),a=i("401b"),r=i("4a3f"),o=r.quadraticSubdivide,s=r.cubicSubdivide,l=r.quadraticAt,u=r.cubicAt,c=r.quadraticDerivativeAt,h=r.cubicDerivativeAt,d=[];function f(e,t,i){var n=e.cpx2,a=e.cpy2;return null===n||null===a?[(i?h:u)(e.x1,e.cpx1,e.cpx2,e.x2,t),(i?h:u)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(i?c:l)(e.x1,e.cpx1,e.x2,t),(i?c:l)(e.y1,e.cpy1,e.y2,t)]}var p=n.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(e,t){var i=t.x1,n=t.y1,a=t.x2,r=t.y2,l=t.cpx1,u=t.cpy1,c=t.cpx2,h=t.cpy2,f=t.percent;0!==f&&(e.moveTo(i,n),null==c||null==h?(f<1&&(o(i,l,a,f,d),l=d[1],a=d[2],o(n,u,r,f,d),u=d[1],r=d[2]),e.quadraticCurveTo(l,u,a,r)):(f<1&&(s(i,l,c,a,f,d),l=d[1],c=d[2],a=d[3],s(n,u,h,r,f,d),u=d[1],h=d[2],r=d[3]),e.bezierCurveTo(l,u,c,h,a,r)))},pointAt:function(e){return f(this.shape,e,!1)},tangentAt:function(e){var t=f(this.shape,e,!0);return a.normalize(t,t)}});e.exports=p},adda:function(e,t,i){var n=i("94e4"),a=n.circularLayout;function r(e){e.eachSeriesByType("graph",(function(e){"circular"===e.get("layout")&&a(e,"symbolSize")}))}e.exports=r},adf4:function(e,t,i){var n=i("4f85"),a=i("b1d4"),r=i("2f45"),o=r.getDimensionTypeByAxis,s=i("6179"),l=i("6d8b"),u=i("e0d3"),c=u.groupData,h=i("eda2"),d=h.encodeHTML,f=i("c4a3"),p=2,g=n.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){g.superApply(this,"init",arguments),this.legendVisualProvider=new f(l.bind(this.getData,this),l.bind(this.getRawData,this))},fixData:function(e){var t=e.length,i={},n=c(e,(function(e){return i.hasOwnProperty(e[0])||(i[e[0]]=-1),e[2]})),a=[];n.buckets.each((function(e,t){a.push({name:t,dataList:e})}));for(var r=a.length,o=0;o=0&&(this.delFromStorage(e),this._roots.splice(o,1),e instanceof r&&e.delChildrenFromStorage(this))}},addToStorage:function(e){return e&&(e.__storage=this,e.dirty(!1)),this},delFromStorage:function(e){return e&&(e.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var u=l;e.exports=u},b006:function(e,t,i){var n=i("3eba"),a=i("6d8b"),r=i("fab2"),o=i("fc82"),s=i("f4a2"),l=i("2306"),u=["axisLine","axisTickLabel","axisName"],c=n.extendComponentView({type:"parallelAxis",init:function(e,t){c.superApply(this,"init",arguments),(this._brushController=new o(t.getZr())).on("brush",a.bind(this._onBrush,this))},render:function(e,t,i,n){if(!h(e,t,n)){this.axisModel=e,this.api=i,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new l.Group,this.group.add(this._axisGroup),e.get("show")){var s=f(e,t),c=s.coordinateSystem,d=e.getAreaSelectStyle(),p=d.width,g=e.axis.dim,m=c.getAxisLayout(g),v=a.extend({strokeContainThreshold:p},m),y=new r(e,v);a.each(u,y.add,y),this._axisGroup.add(y.getGroup()),this._refreshBrushController(v,d,e,s,p,i);var x=n&&!1===n.animation?null:e;l.groupTransition(o,this._axisGroup,x)}}},_refreshBrushController:function(e,t,i,n,a,r){var o=i.axis.getExtent(),u=o[1]-o[0],c=Math.min(30,.1*Math.abs(u)),h=l.BoundingRect.create({x:o[0],y:-a/2,width:u,height:a});h.x-=c,h.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,position:e.position}).setPanels([{panelId:"pl",clipPath:s.makeRectPanelClipPath(h),isTargetByCursor:s.makeRectIsTargetByCursor(h,r,n),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(h,0)}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(d(i))},_onBrush:function(e,t){var i=this.axisModel,n=i.axis,r=a.map(e,(function(e){return[n.coordToData(e.range[0],!0),n.coordToData(e.range[1],!0)]}));(!i.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:r})},dispose:function(){this._brushController.dispose()}});function h(e,t,i){return i&&"axisAreaSelect"===i.type&&t.findComponents({mainType:"parallelAxis",query:i})[0]===e}function d(e){var t=e.axis;return a.map(e.activeIntervals,(function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}}))}function f(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}var p=c;e.exports=p},b0af:function(e,t,i){var n=i("2306"),a=i("3842"),r=a.round;function o(e,t,i){var a=e.getArea(),r=e.getBaseAxis().isHorizontal(),o=a.x,s=a.y,l=a.width,u=a.height,c=i.get("lineStyle.width")||2;o-=c/2,s-=c/2,l+=c,u+=c,o=Math.floor(o),l=Math.round(l);var h=new n.Rect({shape:{x:o,y:s,width:l,height:u}});return t&&(h.shape[r?"width":"height"]=0,n.initProps(h,{shape:{width:l,height:u}},i)),h}function s(e,t,i){var a=e.getArea(),o=new n.Sector({shape:{cx:r(e.cx,1),cy:r(e.cy,1),r0:r(a.r0,1),r:r(a.r,1),startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}});return t&&(o.shape.endAngle=a.startAngle,n.initProps(o,{shape:{endAngle:a.endAngle}},i)),o}function l(e,t,i){return e?"polar"===e.type?s(e,t,i):"cartesian2d"===e.type?o(e,t,i):null:null}t.createGridClipPath=o,t.createPolarClipPath=s,t.createClipPath=l},b11c:function(e,t,i){i("8ec5"),i("db9e"),i("4e9f"),i("d3a0"),i("767c"),i("7c4d"),i("df70")},b12f:function(e,t,i){var n=i("e1fc"),a=i("8918"),r=i("625e"),o=function(){this.group=new n,this.uid=a.getUID("viewComponent")};o.prototype={constructor:o,init:function(e,t){},render:function(e,t,i,n){},dispose:function(){},filterForExposedEvent:null};var s=o.prototype;s.updateView=s.updateLayout=s.updateVisual=function(e,t,i,n){},r.enableClassExtend(o),r.enableClassManagement(o,{registerWhenExtend:!0});var l=o;e.exports=l},b16f:function(e,t,i){var n=i("4ab1"),a=i("6d8b"),r=i("4942"),o=i("41ef");function s(e,t){n.call(this,e,t,["linearGradient","radialGradient"],"__gradient_in_use__")}a.inherits(s,n),s.prototype.addWithoutUpdate=function(e,t){if(t&&t.style){var i=this;a.each(["fill","stroke"],(function(n){if(t.style[n]&&("linear"===t.style[n].type||"radial"===t.style[n].type)){var a,r=t.style[n],o=i.getDefs(!0);r._dom?(a=r._dom,o.contains(r._dom)||i.addDom(a)):a=i.add(r),i.markUsed(t);var s=a.getAttribute("id");e.setAttribute(n,"url(#"+s+")")}}))}},s.prototype.add=function(e){var t;if("linear"===e.type)t=this.createElement("linearGradient");else{if("radial"!==e.type)return r("Illegal gradient type."),null;t=this.createElement("radialGradient")}return e.id=e.id||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-gradient-"+e.id),this.updateDom(e,t),this.addDom(t),t},s.prototype.update=function(e){var t=this;n.prototype.update.call(this,e,(function(){var i=e.type,n=e._dom.tagName;"linear"===i&&"linearGradient"===n||"radial"===i&&"radialGradient"===n?t.updateDom(e,e._dom):(t.removeDom(e),t.add(e))}))},s.prototype.updateDom=function(e,t){if("linear"===e.type)t.setAttribute("x1",e.x),t.setAttribute("y1",e.y),t.setAttribute("x2",e.x2),t.setAttribute("y2",e.y2);else{if("radial"!==e.type)return void r("Illegal gradient type.");t.setAttribute("cx",e.x),t.setAttribute("cy",e.y),t.setAttribute("r",e.r)}e.global?t.setAttribute("gradientUnits","userSpaceOnUse"):t.setAttribute("gradientUnits","objectBoundingBox"),t.innerHTML="";for(var i=e.colorStops,n=0,a=i.length;n-1){var u=o.parse(l)[3],c=o.toHex(l);s.setAttribute("stop-color","#"+c),s.setAttribute("stop-opacity",u)}else s.setAttribute("stop-color",i[n].color);t.appendChild(s)}e._dom=t},s.prototype.markUsed=function(e){if(e.style){var t=e.style.fill;t&&t._dom&&n.prototype.markUsed.call(this,t._dom),t=e.style.stroke,t&&t._dom&&n.prototype.markUsed.call(this,t._dom)}};var l=s;e.exports=l},b1d4:function(e,t,i){var n=i("862d");function a(e,t){return t=t||{},n(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})}e.exports=a},b336:function(e,t,i){var n=i("6d8b"),a=n.each;function r(e){var t=e&&e.visualMap;n.isArray(t)||(t=t?[t]:[]),a(t,(function(e){if(e){o(e,"splitList")&&!o(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&n.isArray(t)&&a(t,(function(e){n.isObject(e)&&(o(e,"start")&&!o(e,"min")&&(e.min=e.start),o(e,"end")&&!o(e,"max")&&(e.max=e.end))}))}}))}function o(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}e.exports=r},b369:function(e,t,i){var n=i("3eba"),a=i("6d8b"),r=i("2306"),o=i("80f0"),s=i("55ac"),l=i("f610"),u=i("4a01"),c=i("9850"),h=i("1687"),d=i("e6cd"),f=i("282b"),p=i("eda2"),g=p.windowOpen,m=a.bind,v=r.Group,y=r.Rect,x=a.each,_=3,b=["label"],w=["emphasis","label"],S=["upperLabel"],M=["emphasis","upperLabel"],I=10,A=1,T=2,C=f([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),D=function(e){var t=C(e);return t.stroke=t.fill=t.lineWidth=null,t},L=n.extendChartView({type:"treemap",init:function(e,t){this._containerGroup,this._storage=P(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(e,t,i,n){var r=t.findComponents({mainType:"series",subType:"treemap",query:n});if(!(a.indexOf(r,e)<0)){this.seriesModel=e,this.api=i,this.ecModel=t;var o=["treemapZoomToNode","treemapRootToNode"],l=s.retrieveTargetInfo(n,o,e),u=n&&n.type,c=e.layoutInfo,h=!this._oldTree,d=this._storage,f="treemapRootToNode"===u&&l&&d?{rootNodeGroup:d.nodeGroup[l.node.getRawIndex()],direction:n.direction}:null,p=this._giveContainerGroup(c),g=this._doRender(p,e,f);h||u&&"treemapZoomToNode"!==u&&"treemapRootToNode"!==u?g.renderFinally():this._doAnimation(p,g,e,f),this._resetController(i),this._renderBreadcrumb(e,i,l)}},_giveContainerGroup:function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new v,this._initEvents(t),this.group.add(t)),t.attr("position",[e.x,e.y]),t},_doRender:function(e,t,i){var n=t.getData().tree,r=this._oldTree,s=P(),l=P(),u=this._storage,c=[],h=a.curry(k,t,l,u,i,s,c);f(n.root?[n.root]:[],r&&r.root?[r.root]:[],e,n===r||!r,0);var d=p(u);return this._oldTree=n,this._storage=l,{lastsForAnimation:s,willDeleteEls:d,renderFinally:g};function f(e,t,i,n,r){function s(e){return e.getId()}function l(a,o){var s=null!=a?e[a]:null,l=null!=o?t[o]:null,u=h(s,l,i,r);u&&f(s&&s.viewChildren||[],l&&l.viewChildren||[],u,n,r+1)}n?(t=e,x(e,(function(e,t){!e.isRemoved()&&l(t,t)}))):new o(t,e,s,s).add(l).update(l).remove(a.curry(l,null)).execute()}function p(e){var t=P();return e&&x(e,(function(e,i){var n=t[i];x(e,(function(e){e&&(n.push(e),e.__tmWillDelete=1)}))})),t}function g(){x(d,(function(e){x(e,(function(e){e.parent&&e.parent.remove(e)}))})),x(c,(function(e){e.invisible=!0,e.dirty()}))}},_doAnimation:function(e,t,i,n){if(i.get("animation")){var r=i.get("animationDurationUpdate"),o=i.get("animationEasing"),s=d.createWrap();x(t.willDeleteEls,(function(e,t){x(e,(function(e,i){if(!e.invisible){var a,l=e.parent;if(n&&"drillDown"===n.direction)a=l===n.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,c=0;l.__tmWillDelete||(u=l.__tmNodeWidth/2,c=l.__tmNodeHeight/2),a="nodeGroup"===t?{position:[u,c],style:{opacity:0}}:{shape:{x:u,y:c,width:0,height:0},style:{opacity:0}}}a&&s.add(e,a,r,o)}}))})),x(this._storage,(function(e,i){x(e,(function(e,n){var l=t.lastsForAnimation[i][n],u={};l&&("nodeGroup"===i?l.old&&(u.position=e.position.slice(),e.attr("position",l.old)):(l.old&&(u.shape=a.extend({},e.shape),e.setShape(l.old)),l.fadein?(e.setStyle("opacity",0),u.style={opacity:1}):1!==e.style.opacity&&(u.style={opacity:1})),s.add(e,u,r,o))}))}),this),this._state="animating",s.done(m((function(){this._state="ready",t.renderFinally()}),this)).start()}},_resetController:function(e){var t=this._controller;t||(t=this._controller=new u(e.getZr()),t.enable(this.seriesModel.get("roam")),t.on("pan",m(this._onPan,this)),t.on("zoom",m(this._onZoom,this)));var i=new c(0,0,e.getWidth(),e.getHeight());t.setPointerChecker((function(e,t,n){return i.contain(t,n)}))},_clearController:function(){var e=this._controller;e&&(e.dispose(),e=null)},_onPan:function(e){if("animating"!==this._state&&(Math.abs(e.dx)>_||Math.abs(e.dy)>_)){var t=this.seriesModel.getData().tree.root;if(!t)return;var i=t.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+e.dx,y:i.y+e.dy,width:i.width,height:i.height}})}},_onZoom:function(e){var t=e.originX,i=e.originY;if("animating"!==this._state){var n=this.seriesModel.getData().tree.root;if(!n)return;var a=n.getLayout();if(!a)return;var r=new c(a.x,a.y,a.width,a.height),o=this.seriesModel.layoutInfo;t-=o.x,i-=o.y;var s=h.create();h.translate(s,s,[-t,-i]),h.scale(s,s,[e.scale,e.scale]),h.translate(s,s,[t,i]),r.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:r.x,y:r.y,width:r.width,height:r.height}})}},_initEvents:function(e){e.on("click",(function(e){if("ready"===this._state){var t=this.seriesModel.get("nodeClick",!0);if(t){var i=this.findTarget(e.offsetX,e.offsetY);if(i){var n=i.node;if(n.getLayout().isLeafRoot)this._rootToNode(i);else if("zoomToNode"===t)this._zoomToNode(i);else if("link"===t){var a=n.hostTree.data.getItemModel(n.dataIndex),r=a.get("link",!0),o=a.get("target",!0)||"blank";r&&g(r,o)}}}}}),this)},_renderBreadcrumb:function(e,t,i){function n(t){"animating"!==this._state&&(s.aboveViewRoot(e.getViewRoot(),t)?this._rootToNode({node:t}):this._zoomToNode({node:t}))}i||(i=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2),i||(i={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(e,t,i.node,m(n,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=P(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},_rootToNode:function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},findTarget:function(e,t){var i,n=this.seriesModel.getViewRoot();return n.eachNode({attr:"viewChildren",order:"preorder"},(function(n){var a=this._storage.background[n.getRawIndex()];if(a){var r=a.transformCoordToLocal(e,t),o=a.shape;if(!(o.x<=r[0]&&r[0]<=o.x+o.width&&o.y<=r[1]&&r[1]<=o.y+o.height))return!1;i={node:n,offsetX:r[0],offsetY:r[1]}}}),this),i}});function P(){return{nodeGroup:[],background:[],content:[]}}function k(e,t,i,n,o,s,l,u,c,h){if(l){var d=l.getLayout(),f=e.getData();if(f.setItemGraphicEl(l.dataIndex,null),d&&d.isInView){var p=d.width,g=d.height,m=d.borderWidth,x=d.invisible,_=l.getRawIndex(),I=u&&u.getRawIndex(),L=l.viewChildren,P=d.upperHeight,k=L&&L.length,R=l.getModel("itemStyle"),E=l.getModel("emphasis.itemStyle"),N=Z("nodeGroup",v);if(N){if(c.add(N),N.attr("position",[d.x||0,d.y||0]),N.__tmNodeWidth=p,N.__tmNodeHeight=g,d.isAboveViewRoot)return N;var z=l.getModel(),V=Z("background",y,h,A);if(V&&F(N,V,k&&d.upperLabelHeight),k)r.isHighDownDispatcher(N)&&r.setAsHighDownDispatcher(N,!1),V&&(r.setAsHighDownDispatcher(V,!0),f.setItemGraphicEl(l.dataIndex,V));else{var B=Z("content",y,h,T);B&&G(N,B),V&&r.isHighDownDispatcher(V)&&r.setAsHighDownDispatcher(V,!1),r.setAsHighDownDispatcher(N,!0),f.setItemGraphicEl(l.dataIndex,N)}return N}}}function F(t,i,n){if(i.dataIndex=l.dataIndex,i.seriesIndex=e.seriesIndex,i.setShape({x:0,y:0,width:p,height:g}),x)H(i);else{i.invisible=!1;var a=l.getVisual("borderColor",!0),o=E.get("borderColor"),s=D(R);s.fill=a;var u=C(E);if(u.fill=o,n){var c=p-2*m;W(s,u,a,c,P,{x:m,y:0,width:c,height:P})}else s.text=u.text=null;i.setStyle(s),r.setElementHoverStyle(i,u)}t.add(i)}function G(t,i){i.dataIndex=l.dataIndex,i.seriesIndex=e.seriesIndex;var n=Math.max(p-2*m,0),a=Math.max(g-2*m,0);if(i.culling=!0,i.setShape({x:m,y:m,width:n,height:a}),x)H(i);else{i.invisible=!1;var o=l.getVisual("color",!0),s=D(R);s.fill=o;var u=C(E);W(s,u,o,n,a),i.setStyle(s),r.setElementHoverStyle(i,u)}t.add(i)}function H(e){!e.invisible&&s.push(e)}function W(t,i,n,o,s,u){var c=z.get("name"),h=z.getModel(u?S:b),f=z.getModel(u?M:w),p=h.getShallow("show");r.setLabelStyle(t,i,h,f,{defaultText:p?c:null,autoColor:n,isRectText:!0,labelFetcher:e,labelDataIndex:l.dataIndex,labelProp:u?"upperLabel":"label"}),U(t,u,d),U(i,u,d),u&&(t.textRect=a.clone(u)),t.truncate=p&&h.get("ellipsis")?{outerWidth:o,outerHeight:s,minChar:2}:null}function U(t,i,n){var a=t.text;if(!i&&n.isLeafRoot&&null!=a){var r=e.get("drillDownIcon",!0);t.text=r?r+" "+a:a}}function Z(e,n,a,r){var s=null!=I&&i[e][I],l=o[e];return s?(i[e][I]=null,Y(l,s,e)):x||(s=new n({z:O(a,r)}),s.__tmDepth=a,s.__tmStorageName=e,j(l,s,e)),t[e][_]=s}function Y(e,t,i){var n=e[_]={};n.old="nodeGroup"===i?t.position.slice():a.extend({},t.shape)}function j(e,t,i){var a=e[_]={},r=l.parentNode;if(r&&(!n||"drillDown"===n.direction)){var s=0,u=0,c=o.background[r.getRawIndex()];!n&&c&&c.old&&(s=c.old.width,u=c.old.height),a.old="nodeGroup"===i?[0,u]:{x:s,y:u,width:0,height:0}}a.fadein="nodeGroup"!==i}}function O(e,t){var i=e*I+t;return(i-1)/i}e.exports=L},b419:function(e,t,i){var n=i("6d8b"),a=i("2306"),r=i("4319"),o=i("6679"),s=i("fab2"),l=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function u(e,t,i){t[1]>t[0]&&(t=t.slice().reverse());var n=e.coordToPoint([t[0],i]),a=e.coordToPoint([t[1],i]);return{x1:n[0],y1:n[1],x2:a[0],y2:a[1]}}function c(e){var t=e.getRadiusAxis();return t.inverse?0:1}function h(e){var t=e[0],i=e[e.length-1];t&&i&&Math.abs(Math.abs(t.coord-i.coord)-360)<1e-4&&e.pop()}var d=o.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var i=e.axis,a=i.polar,r=a.getRadiusAxis().getExtent(),o=i.getTicksCoords(),s=i.getMinorTicksCoords(),u=n.map(i.getViewLabels(),(function(e){e=n.clone(e);return e.coord=i.dataToCoord(e.tickValue),e}));h(u),h(o),n.each(l,(function(t){!e.get(t+".show")||i.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,a,o,s,r,u)}),this)}},_axisLine:function(e,t,i,n,r){var o,s=e.getModel("axisLine.lineStyle"),l=c(t),u=l?0:1;o=0===r[u]?new a.Circle({shape:{cx:t.cx,cy:t.cy,r:r[l]},style:s.getLineStyle(),z2:1,silent:!0}):new a.Ring({shape:{cx:t.cx,cy:t.cy,r:r[l],r0:r[u]},style:s.getLineStyle(),z2:1,silent:!0}),o.style.fill=null,this.group.add(o)},_axisTick:function(e,t,i,r,o){var s=e.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),h=o[c(t)],d=n.map(i,(function(e){return new a.Line({shape:u(t,[h,h+l],e.coord)})}));this.group.add(a.mergePath(d,{style:n.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})}))},_minorTick:function(e,t,i,r,o){if(r.length){for(var s=e.getModel("axisTick"),l=e.getModel("minorTick"),h=(s.get("inside")?-1:1)*l.get("length"),d=o[c(t)],f=[],p=0;pv?"left":"right",_=Math.abs(m[1]-y)/g<.3?"middle":m[1]>y?"top":"bottom";h&&h[u]&&h[u].textStyle&&(o=new r(h[u].textStyle,d,d.ecModel));var b=new a.Text({silent:s.isLabelSilent(e)});this.group.add(b),a.setTextStyle(b.style,o,{x:m[0],y:m[1],textFill:o.getTextColor()||e.get("axisLine.lineStyle.color"),text:i.formattedLabel,textAlign:x,textVerticalAlign:_}),p&&(b.eventData=s.makeAxisEventDataBase(e),b.eventData.targetType="axisLabel",b.eventData.value=i.rawLabel)}),this)},_splitLine:function(e,t,i,r,o){var s=e.getModel("splitLine"),l=s.getModel("lineStyle"),c=l.get("color"),h=0;c=c instanceof Array?c:[c];for(var d=[],f=0;f1?"series.multiple.prefix":"series.single.prefix";s+=p(g(f),{seriesCount:r}),t.eachSeries((function(e,t){if(t1?"multiple":"single")+".";i=g(n?a+"withName":a+"withoutName"),i=p(i,{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:v(e.subType)});var s=e.getData();window.data=s,s.count()>l?i+=p(g("data.partialData"),{displayCnt:l}):i+=g("data.allData");for(var u=[],h=0;hl+o)break;if(e[r].y+=n,r>t&&r+1e[r].y+e[r].height)return void h(r,n/2)}h(i-1,n/2)}function h(t,i){for(var n=t;n>=0;n--){if(e[n].y-i0&&e[n].y>e[n-1].y+e[n-1].height)break}}function d(e,t,i,n,a,r){for(var o=t?Number.MAX_VALUE:0,s=0,l=e.length;s=o&&(d=o-10),!t&&d<=o&&(d=o+10),e[s].x=i+d*r,o=d}}e.sort((function(e,t){return e.y-t.y}));for(var f,p=0,g=e.length,m=[],v=[],y=0;y=i?v.push(e[y]):m.push(e[y]);d(m,!1,t,i,n,a),d(v,!0,t,i,n,a)}function l(e,t,i,a,r,o,l,c){for(var h=[],d=[],f=Number.MAX_VALUE,p=-Number.MAX_VALUE,g=0;g0?"right":"left":L>0?"left":"right"}var H=u.get("rotate");k="number"===typeof H?H*(Math.PI/180):H?L<0?-D+Math.PI:-D:0,p=!!k,o.label={x:I,y:A,position:m,height:R.height,len:S,len2:M,linePoints:T,textAlign:C,verticalAlign:"middle",rotation:k,inside:E,labelDistance:v,labelAlignTo:y,labelMargin:x,bleedMargin:_,textRect:R,text:O,font:b},E||f.push(o.label)}})),!p&&e.get("avoidLabelOverlap")&&l(f,c,h,t,i,a,s,u)}e.exports=c},bc5f:function(e,t,i){var n=i("6cb7");n.registerSubTypeDefaulter("visualMap",(function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"}))},bcaa1:function(e,t,i){var n=i("4ab1"),a=i("6d8b");function r(e,t){n.call(this,e,t,["filter"],"__filter_in_use__","_shadowDom")}function o(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY||e.textShadowBlur||e.textShadowOffsetX||e.textShadowOffsetY)}a.inherits(r,n),r.prototype.addWithoutUpdate=function(e,t){if(t&&o(t.style)){var i;if(t._shadowDom){i=t._shadowDom;var n=this.getDefs(!0);n.contains(t._shadowDom)||this.addDom(i)}else i=this.add(t);this.markUsed(t);var a=i.getAttribute("id");e.style.filter="url(#"+a+")"}},r.prototype.add=function(e){var t=this.createElement("filter");return e._shadowDomId=e._shadowDomId||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-shadow-"+e._shadowDomId),this.updateDom(e,t),this.addDom(t),t},r.prototype.update=function(e,t){var i=t.style;if(o(i)){var a=this;n.prototype.update.call(this,t,(function(){a.updateDom(t,t._shadowDom)}))}else this.remove(e,t)},r.prototype.remove=function(e,t){null!=t._shadowDomId&&(this.removeDom(e),e.style.filter="")},r.prototype.updateDom=function(e,t){var i=t.getElementsByTagName("feDropShadow");i=0===i.length?this.createElement("feDropShadow"):i[0];var n,a,r,o,s=e.style,l=e.scale&&e.scale[0]||1,u=e.scale&&e.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)n=s.shadowOffsetX||0,a=s.shadowOffsetY||0,r=s.shadowBlur,o=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(t,s);n=s.textShadowOffsetX||0,a=s.textShadowOffsetY||0,r=s.textShadowBlur,o=s.textShadowColor}i.setAttribute("dx",n/l),i.setAttribute("dy",a/u),i.setAttribute("flood-color",o);var c=r/2/l,h=r/2/u,d=c+" "+h;i.setAttribute("stdDeviation",d),t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width",Math.ceil(r/2*200)+"%"),t.setAttribute("height",Math.ceil(r/2*200)+"%"),t.appendChild(i),e._shadowDom=t},r.prototype.markUsed=function(e){e._shadowDom&&n.prototype.markUsed.call(this,e._shadowDom)};var s=r;e.exports=s},bcbe:function(e,t,i){var n=i("6d8b"),a=i("fab2"),r=i("2306"),o=i("edb9"),s=i("6679"),l=i("58df"),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,h=["axisLine","axisTickLabel","axisName"],d=["splitArea","splitLine"],f=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(e,t,i,s){var l=this.group;l.removeAll();var u=this._axisGroup;this._axisGroup=new r.Group;var c=o.layout(e),p=new a(e,c);n.each(h,p.add,p),l.add(this._axisGroup),l.add(p.getGroup()),n.each(d,(function(t){e.get(t+".show")&&this["_"+t](e)}),this),r.groupTransition(u,this._axisGroup,e),f.superCall(this,"render",e,t,i,s)},remove:function(){c(this)},_splitLine:function(e){var t=e.axis;if(!t.scale.isBlank()){var i=e.getModel("splitLine"),n=i.getModel("lineStyle"),a=n.get("width"),o=n.get("color");o=o instanceof Array?o:[o];for(var s=e.coordinateSystem.getRect(),l=t.isHorizontal(),u=[],c=0,h=t.getTicksCoords({tickModel:i}),d=[],f=[],p=0;p0&&e.animate(t,!1).when(null==a?500:a,s).delay(r||0)}function p(e,t,i,n){if(t){var a={};a[t]={},a[t][i]=n,e.attr(a)}else e.attr(i,n)}h.prototype={constructor:h,animate:function(e,t){var i,r=!1,o=this,s=this.__zr;if(e){var l=e.split("."),u=o;r="shape"===l[0];for(var h=0,d=l.length;h=0)&&e(r,n,a)}))}var p=f.prototype;function g(e){return e[0]>e[1]&&e.reverse(),e}function m(e,t){return o.parseFinder(e,t,{includeMainTypes:d})}p.setOutputRanges=function(e,t){this.matchOutputRanges(e,t,(function(e,t,i){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var n=_[e.brushType](0,i,t);e.__rangeOffset={offset:w[e.brushType](n.values,e.range,[1,1]),xyMinMax:n.xyMinMax}}}))},p.matchOutputRanges=function(e,t,i){l(e,(function(e){var n=this.findTargetInfo(e,t);n&&!0!==n&&a.each(n.coordSyses,(function(n){var a=_[e.brushType](1,n,e.range);i(e,a.values,n,t)}))}),this)},p.setInputRanges=function(e,t){l(e,(function(e){var i=this.findTargetInfo(e,t);if(e.range=e.range||[],i&&!0!==i){e.panelId=i.panelId;var n=_[e.brushType](0,i.coordSys,e.coordRange),a=e.__rangeOffset;e.range=a?w[e.brushType](n.values,a.offset,M(n.xyMinMax,a.xyMinMax)):n.values}}),this)},p.makePanelOpts=function(e,t){return a.map(this._targetInfoList,(function(i){var n=i.getPanelRect();return{panelId:i.panelId,defaultBrushType:t&&t(i),clipPath:s.makeRectPanelClipPath(n),isTargetByCursor:s.makeRectIsTargetByCursor(n,e,i.coordSysModel),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(n)}}))},p.controlSeries=function(e,t,i){var n=this.findTargetInfo(e,i);return!0===n||n&&u(n.coordSyses,t.coordinateSystem)>=0},p.findTargetInfo=function(e,t){for(var i=this._targetInfoList,n=m(t,e),a=0;a=0||u(n,e.getAxis("y").model)>=0)&&r.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:r[0],coordSyses:r,getPanelRect:x.grid,xAxisDeclared:s[e.id],yAxisDeclared:c[e.id]})})))},geo:function(e,t){l(e.geoModels,(function(e){var i=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:i,coordSyses:[i],getPanelRect:x.geo})}))}},y=[function(e,t){var i=e.xAxisModel,n=e.yAxisModel,a=e.gridModel;return!a&&i&&(a=i.axis.grid.model),!a&&n&&(a=n.axis.grid.model),a&&a===t.gridModel},function(e,t){var i=e.geoModel;return i&&i===t.geoModel}],x={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}},_={lineX:c(b,0),lineY:c(b,1),rect:function(e,t,i){var n=t[h[e]]([i[0][0],i[1][0]]),a=t[h[e]]([i[0][1],i[1][1]]),r=[g([n[0],a[0]]),g([n[1],a[1]])];return{values:r,xyMinMax:r}},polygon:function(e,t,i){var n=[[1/0,-1/0],[1/0,-1/0]],r=a.map(i,(function(i){var a=t[h[e]](i);return n[0][0]=Math.min(n[0][0],a[0]),n[1][0]=Math.min(n[1][0],a[1]),n[0][1]=Math.max(n[0][1],a[0]),n[1][1]=Math.max(n[1][1],a[1]),a}));return{values:r,xyMinMax:n}}};function b(e,t,i,n){var r=i.getAxis(["x","y"][e]),o=g(a.map([0,1],(function(e){return t?r.coordToData(r.toLocalCoord(n[e])):r.toGlobalCoord(r.dataToCoord(n[e]))}))),s=[];return s[e]=o,s[1-e]=[NaN,NaN],{values:o,xyMinMax:s}}var w={lineX:c(S,0),lineY:c(S,1),rect:function(e,t,i){return[[e[0][0]-i[0]*t[0][0],e[0][1]-i[0]*t[0][1]],[e[1][0]-i[1]*t[1][0],e[1][1]-i[1]*t[1][1]]]},polygon:function(e,t,i){return a.map(e,(function(e,n){return[e[0]-i[0]*t[n][0],e[1]-i[1]*t[n][1]]}))}};function S(e,t,i,n){return[t[0]-n[e]*i[0],t[1]-n[e]*i[1]]}function M(e,t){var i=I(e),n=I(t),a=[i[0]/n[0],i[1]/n[1]];return isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a}function I(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var A=f;e.exports=A},bda7:function(e,t,i){var n=i("6d8b"),a=i("f279");function r(e){if(!e.UTF8Encoding)return e;var t=e.UTF8Scale;null==t&&(t=1024);for(var i=e.features,n=0;n>1^-(1&s),l=l>>1^-(1&l),s+=a,l+=r,a=s,r=l,n.push([s/i,l/i])}return n}function s(e,t){return r(e),n.map(n.filter(e.features,(function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0})),(function(e){var i=e.properties,r=e.geometry,o=r.coordinates,s=[];"Polygon"===r.type&&s.push({type:"polygon",exterior:o[0],interiors:o.slice(1)}),"MultiPolygon"===r.type&&n.each(o,(function(e){e[0]&&s.push({type:"polygon",exterior:e[0],interiors:e.slice(1)})}));var l=new a(i[t||"name"],s,i.cp);return l.properties=i,l}))}e.exports=s},bdc0:function(e,t,i){var n=i("3eba");i("d2a5"),n.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},(function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])}))}))},bf9b:function(e,t,i){var n=i("3eba"),a=i("d81e"),r=a.updateCenterAndZoom;n.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var i=e.dataIndex,n=t.getData().tree,a=n.getNodeByDataIndex(i);a.isExpand=!a.isExpand}))})),n.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var i=t.coordinateSystem,n=r(i,e);t.setCenter&&t.setCenter(n.center),t.setZoom&&t.setZoom(n.zoom)}))}))},c037:function(e,t,i){var n=i("3eba"),a=i("6d8b");i("f7c6"),i("1ab3");var r=i("7782"),o=i("98e7"),s=i("292e"),l=i("d3f4");r("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),n.registerVisual(o("pie")),n.registerLayout(a.curry(s,"pie")),n.registerProcessor(l("pie"))},c2be:function(e,t,i){var n=i("2306"),a=n.extendShape,r=a({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(e,t){var i=t.cx,n=t.cy,a=Math.max(t.r0||0,0),r=Math.max(t.r,0),o=.5*(r-a),s=a+o,l=t.startAngle,u=t.endAngle,c=t.clockwise,h=Math.cos(l),d=Math.sin(l),f=Math.cos(u),p=Math.sin(u),g=c?u-l<2*Math.PI:l-u<2*Math.PI;g&&(e.moveTo(h*a+i,d*a+n),e.arc(h*s+i,d*s+n,o,-Math.PI+l,l,!c)),e.arc(i,n,r,l,u,!c),e.moveTo(f*r+i,p*r+n),e.arc(f*s+i,p*s+n,o,u-2*Math.PI,u-Math.PI,!c),0!==a&&(e.arc(i,n,a,u,l,c),e.moveTo(h*a+i,p*a+n)),e.closePath()}});e.exports=r},c2dd:function(e,t,i){var n=i("3eba"),a=i("6d8b"),r=i("fc82"),o=i("10cc"),s=o.layoutCovers,l=n.extendComponentView({type:"brush",init:function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new r(t.getZr())).on("brush",a.bind(this._onBrush,this)).mount()},render:function(e){return this.model=e,u.apply(this,arguments)},updateTransform:function(e,t){return s(t),u.apply(this,arguments)},updateView:u,dispose:function(){this._brushController.dispose()},_onBrush:function(e,t){var i=this.model.id;this.model.brushTargetManager.setOutputRanges(e,this.ecModel),(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:i,areas:a.clone(e),$from:i}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:i,areas:a.clone(e),$from:i})}});function u(e,t,i,n){(!n||n.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(i)).enableBrush(e.brushOption).updateCovers(e.areas.slice())}e.exports=l},c4a3:function(e,t){function i(e,t){this.getAllNames=function(){var e=t();return e.mapArray(e.getName)},this.containName=function(e){var i=t();return i.indexOfName(e)>=0},this.indexOfName=function(t){var i=e();return i.indexOfName(t)},this.getItemVisual=function(t,i){var n=e();return n.getItemVisual(t,i)}}var n=i;e.exports=n},c515:function(e,t,i){i("849b"),i("8459"),i("b006")},c526:function(e,t){var i={axisPointer:1,tooltip:1,brush:1};function n(e,t,n){var a=t.getComponentByElement(e.topTarget),r=a&&a.coordinateSystem;return a&&a!==n&&!i[a.mainType]&&r&&r.model!==n}t.onIrrelevantElement=n},c533:function(e,t){var i=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],n={color:i,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],i]};e.exports=n},c62c:function(e,t,i){var n=i("6d8b"),a=i("6cb7"),r=i("9e47"),o=i("2023"),s=a.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),l={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function u(e,t){return t.type||(t.data?"category":"value")}n.merge(s.prototype,o),r("single",s,u,l);var c=s;e.exports=c},c775:function(e,t,i){var n=i("2b17"),a=n.retrieveRawValue;function r(e,t){var i=e.mapDimension("defaultedLabel",!0),n=i.length;if(1===n)return a(e,t,i[0]);if(n){for(var r=[],o=0;o=0;s--){var l=2*s,u=n[l]-r/2,c=n[l+1]-o/2;if(e>=u&&t>=c&&e<=u+r&&t<=c+o)return s}return-1}});function u(){this.group=new n.Group}var c=u.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(e,t){this.group.removeAll();var i=new l({rectHover:!0,cursor:"default"});i.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(i,e,!1,t),this.group.add(i),this._incremental=null},c.updateLayout=function(e){if(!this._incremental){var t=e.getLayout("symbolPoints");this.group.eachChild((function(e){if(null!=e.startIndex){var i=2*(e.endIndex-e.startIndex),n=4*e.startIndex*2;t=new Float32Array(t.buffer,n,i)}e.setShape("points",t)}))}},c.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>2e6?(this._incremental||(this._incremental=new o({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(e,t,i){var n;this._incremental?(n=new l,this._incremental.addDisplayable(n,!0)):(n=new l({rectHover:!0,cursor:"default",startIndex:e.start,endIndex:e.end}),n.incremental=!0,this.group.add(n)),n.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(n,t,!!this._incremental,i)},c._setCommon=function(e,t,i,n){var a=t.hostModel;n=n||{};var o=t.getVisual("symbolSize");e.setShape("size",o instanceof Array?o:[o,o]),e.softClipShape=n.clipShape||null,e.symbolProxy=r(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var l=e.shape.size[0]=0&&(e.dataIndex=i+(e.startIndex||0))})))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var h=u;e.exports=h},ca29:function(e,t,i){var n=i("6d9a"),a=n.eachAfter,r=n.eachBefore,o=i("22da"),s=o.init,l=o.firstWalk,u=o.secondWalk,c=o.separation,h=o.radialCoordinate,d=o.getViewRect;function f(e,t){e.eachSeriesByType("tree",(function(e){p(e,t)}))}function p(e,t){var i=d(e,t);e.layoutInfo=i;var n=e.get("layout"),o=0,f=0,p=null;"radial"===n?(o=2*Math.PI,f=Math.min(i.height,i.width)/2,p=c((function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth}))):(o=i.width,f=i.height,p=c());var g=e.getData().tree.root,m=g.children[0];if(m){s(g),a(m,l,p),g.hierNode.modifier=-m.hierNode.prelim,r(m,u);var v=m,y=m,x=m;r(m,(function(e){var t=e.getLayout().x;ty.getLayout().x&&(y=e),e.depth>x.depth&&(x=e)}));var _=v===y?1:p(v,y)/2,b=_-v.getLayout().x,w=0,S=0,M=0,I=0;if("radial"===n)w=o/(y.getLayout().x+_+b),S=f/(x.depth-1||1),r(m,(function(e){M=(e.getLayout().x+b)*w,I=(e.depth-1)*S;var t=h(M,I);e.setLayout({x:t.x,y:t.y,rawX:M,rawY:I},!0)}));else{var A=e.getOrient();"RL"===A||"LR"===A?(S=f/(y.getLayout().x+_+b),w=o/(x.depth-1||1),r(m,(function(e){I=(e.getLayout().x+b)*S,M="LR"===A?(e.depth-1)*w:o-(e.depth-1)*w,e.setLayout({x:M,y:I},!0)}))):"TB"!==A&&"BT"!==A||(w=o/(y.getLayout().x+_+b),S=f/(x.depth-1||1),r(m,(function(e){M=(e.getLayout().x+b)*w,I="TB"===A?(e.depth-1)*S:f-(e.depth-1)*S,e.setLayout({x:M,y:I},!0)})))}}}e.exports=f},ca98:function(e,t,i){var n=i("6d8b"),a=i("e0d3"),r=i("6cb7"),o=n.each,s=n.clone,l=n.map,u=n.merge,c=/^(min|max)?(.+)$/;function h(e){this._api=e,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function d(e,t,i){var a,r,s=[],l=[],u=e.timeline;if(e.baseOption&&(r=e.baseOption),(u||e.options)&&(r=r||{},s=(e.options||[]).slice()),e.media){r=r||{};var c=e.media;o(c,(function(e){e&&e.option&&(e.query?l.push(e):a||(a=e))}))}return r||(r=e),r.timeline||(r.timeline=u),o([r].concat(s).concat(n.map(l,(function(e){return e.option}))),(function(e){o(t,(function(t){t(e,i)}))})),{baseOption:r,timelineOptions:s,mediaDefault:a,mediaList:l}}function f(e,t,i){var a={width:t,height:i,aspectratio:t/i},r=!0;return n.each(e,(function(e,t){var i=t.match(c);if(i&&i[1]&&i[2]){var n=i[1],o=i[2].toLowerCase();p(a[o],e,n)||(r=!1)}})),r}function p(e,t,i){return"min"===i?e>=t:"max"===i?e<=t:e===t}function g(e,t){return e.join(",")===t.join(",")}function m(e,t){t=t||{},o(t,(function(t,i){if(null!=t){var n=e[i];if(r.hasClass(i)){t=a.normalizeToArray(t),n=a.normalizeToArray(n);var o=a.mappingToExists(n,t);e[i]=l(o,(function(e){return e.option&&e.exist?u(e.exist,e.option,!0):e.exist||e.option}))}else e[i]=u(n,t,!0)}}))}h.prototype={constructor:h,setOption:function(e,t){e&&n.each(a.normalizeToArray(e.series),(function(e){e&&e.data&&n.isTypedArray(e.data)&&n.setAsPrimitive(e.data)})),e=s(e);var i=this._optionBackup,r=d.call(this,e,t,!i);this._newBaseOption=r.baseOption,i?(m(i.baseOption,r.baseOption),r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},mountOption:function(e){var t=this._optionBackup;return this._timelineOptions=l(t.timelineOptions,s),this._mediaList=l(t.mediaList,s),this._mediaDefault=s(t.mediaDefault),this._currentMediaIndices=[],s(e?t.baseOption:this._newBaseOption)},getTimelineOption:function(e){var t,i=this._timelineOptions;if(i.length){var n=e.getComponent("timeline");n&&(t=s(i[n.getCurrentIndex()],!0))}return t},getMediaOption:function(e){var t=this._api.getWidth(),i=this._api.getHeight(),n=this._mediaList,a=this._mediaDefault,r=[],o=[];if(!n.length&&!a)return o;for(var u=0,c=n.length;u0,I=y.height-(M?-1:1),A=(p-f)/(I||1),T=e.get("clockwise"),C=e.get("stillShowZeroSum"),D=T?1:-1,L=function(e,t){if(e){var i=t;if(e!==v){var n=e.getValue(),o=0===w&&C?S:n*S;o1e-10&&(a.width+=o/s,a.height+=o/s,a.x-=o/s/2,a.y-=o/s/2)}return a}return e},contain:function(e,t){var i=this.transformCoordToLocal(e,t),n=this.getBoundingRect(),a=this.style;if(e=i[0],t=i[1],n.contain(e,t)){var r=this.path.data;if(a.hasStroke()){var s=a.lineWidth,l=a.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(a.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.containStroke(r,s/l,e,t)))return!0}if(a.hasFill())return o.contain(r,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):n.prototype.attrKV.call(this,e,t)},setShape:function(e,t){var i=this.shape;if(i){if(a.isObject(e))for(var n in e)e.hasOwnProperty(n)&&(i[n]=e[n]);else i[e]=t;this.dirty(!0)}return this},getLineScale:function(){var e=this.transform;return e&&u(e[0]-1)>1e-10&&u(e[3]-1)>1e-10?Math.sqrt(u(e[0]*e[3]-e[2]*e[1])):1}},h.extend=function(e){var t=function(t){h.call(this,t),e.style&&this.style.extendFrom(e.style,!1);var i=e.shape;if(i){this.shape=this.shape||{};var n=this.shape;for(var a in i)!n.hasOwnProperty(a)&&i.hasOwnProperty(a)&&(n[a]=i[a])}e.init&&e.init.call(this,t)};for(var i in a.inherits(t,h),e)"style"!==i&&"shape"!==i&&(t.prototype[i]=e[i]);return t},a.inherits(h,n);var d=h;e.exports=d},cbe9:function(e,t,i){var n=i("6d8b"),a=i("9850"),r=i("cf7e");function o(e){r.call(this,e)}o.prototype={constructor:o,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(e){var t=this.getAxis("x"),i=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&i.contain(i.toLocalCoord(e[1]))},containData:function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},dataToPoint:function(e,t,i){var n=this.getAxis("x"),a=this.getAxis("y");return i=i||[],i[0]=n.toGlobalCoord(n.dataToCoord(e[0])),i[1]=a.toGlobalCoord(a.dataToCoord(e[1])),i},clampData:function(e,t){var i=this.getAxis("x").scale,n=this.getAxis("y").scale,a=i.getExtent(),r=n.getExtent(),o=i.parse(e[0]),s=n.parse(e[1]);return t=t||[],t[0]=Math.min(Math.max(Math.min(a[0],a[1]),o),Math.max(a[0],a[1])),t[1]=Math.min(Math.max(Math.min(r[0],r[1]),s),Math.max(r[0],r[1])),t},pointToData:function(e,t){var i=this.getAxis("x"),n=this.getAxis("y");return t=t||[],t[0]=i.coordToData(i.toLocalCoord(e[0])),t[1]=n.coordToData(n.toLocalCoord(e[1])),t},getOtherAxis:function(e){return this.getAxis("x"===e.dim?"y":"x")},getArea:function(){var e=this.getAxis("x").getGlobalExtent(),t=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1]),n=Math.min(t[0],t[1]),r=Math.max(e[0],e[1])-i,o=Math.max(t[0],t[1])-n,s=new a(i,n,r,o);return s}},n.inherits(o,r);var s=o;e.exports=s},cc39:function(e,t,i){var n=i("6d8b"),a=i("3842"),r=i("50e5"),o=i("ef6a"),s=n.each,l=a.asc,u=function(e,t,i,n){this._dimName=e,this._axisIndex=t,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=n,this._dataZoomModel=i};function c(e,t,i){var n=[1/0,-1/0];return s(i,(function(e){var i=e.getData();i&&s(i.mapDimension(t,!0),(function(e){var t=i.getApproximateExtent(e);t[0]n[1]&&(n[1]=t[1])}))})),n[1]0?0:NaN);var o=i.getMax(!0);return null!=o&&"dataMax"!==o&&"function"!==typeof o?t[1]=o:a&&(t[1]=r>0?r-1:NaN),i.get("scale",!0)||(t[0]>0&&(t[0]=0),t[1]<0&&(t[1]=0)),t}function d(e,t){var i=e.getAxisModel(),n=e._percentWindow,r=e._valueWindow;if(n){var o=a.getPixelPrecision(r,[0,500]);o=Math.min(o,20);var s=t||0===n[0]&&100===n[1];i.setRange(s?null:+r[0].toFixed(o),s?null:+r[1].toFixed(o))}}function f(e){var t=e._minMaxSpan={},i=e._dataZoomModel,n=e._dataExtent;s(["min","max"],(function(r){var o=i.get(r+"Span"),s=i.get(r+"ValueSpan");null!=s&&(s=e.getAxisModel().axis.scale.parse(s)),null!=s?o=a.linearMap(n[0]+s,n,[0,100],!0):null!=o&&(s=a.linearMap(o,[0,100],n,!0)-n[0]),t[r+"Span"]=o,t[r+"ValueSpan"]=s}))}u.prototype={constructor:u,hostedBy:function(e){return this._dataZoomModel===e},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var e=[],t=this.ecModel;return t.eachSeries((function(i){if(r.isCoordSupported(i.get("coordinateSystem"))){var n=this._dimName,a=t.queryComponents({mainType:n+"Axis",index:i.get(n+"AxisIndex"),id:i.get(n+"AxisId")})[0];this._axisIndex===(a&&a.componentIndex)&&e.push(i)}}),this),e},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var e,t,i,n=this._dimName,a=this.ecModel,r=this.getAxisModel(),o="x"===n||"y"===n;return o?(t="gridIndex",e="x"===n?"y":"x"):(t="polarIndex",e="angle"===n?"radius":"angle"),a.eachComponent(e+"Axis",(function(e){(e.get(t)||0)===(r.get(t)||0)&&(i=e)})),i},getMinMaxSpan:function(){return n.clone(this._minMaxSpan)},calculateDataWindow:function(e){var t,i=this._dataExtent,n=this.getAxisModel(),r=n.axis.scale,u=this._dataZoomModel.getRangePropMode(),c=[0,100],h=[],d=[];s(["start","end"],(function(n,o){var s=e[n],l=e[n+"Value"];"percent"===u[o]?(null==s&&(s=c[o]),l=r.parse(a.linearMap(s,c,i))):(t=!0,l=null==l?i[o]:r.parse(l),s=a.linearMap(l,i,c)),d[o]=l,h[o]=s})),l(d),l(h);var f=this._minMaxSpan;function p(e,t,i,n,s){var l=s?"Span":"ValueSpan";o(0,e,i,"all",f["min"+l],f["max"+l]);for(var u=0;u<2;u++)t[u]=a.linearMap(e[u],i,n,!0),s&&(t[u]=r.parse(t[u]))}return t?p(d,h,i,c,!1):p(h,d,c,i,!0),{valueWindow:d,percentWindow:h}},reset:function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=c(this,this._dimName,t),f(this);var i=this.calculateDataWindow(e.settledOption);this._valueWindow=i.valueWindow,this._percentWindow=i.percentWindow,d(this)}},restore:function(e){e===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,d(this,!0))},filterData:function(e,t){if(e===this._dataZoomModel){var i=this._dimName,n=this.getTargetSeriesModels(),a=e.get("filterMode"),r=this._valueWindow;"none"!==a&&s(n,(function(e){var t=e.getData(),n=t.mapDimension(i,!0);n.length&&("weakFilter"===a?t.filterSelf((function(e){for(var i,a,o,s=0;sr[1];if(u&&!c&&!h)return!0;u&&(o=!0),c&&(i=!0),h&&(a=!0)}return o&&i&&a})):s(n,(function(i){if("empty"===a)e.setData(t=t.map(i,(function(e){return o(e)?e:NaN})));else{var n={};n[i]=r,t.selectRange(n)}})),s(n,(function(e){t.setApproximateExtent(r,e)})))}))}function o(e){return e>=r[0]&&e<=r[1]}}};var p=u;e.exports=p},cccd:function(e,t,i){var n=i("e0d3"),a=n.makeInner;function r(){var e=a();return function(t){var i=e(t),n=t.pipelineContext,a=i.large,r=i.progressiveRender,o=i.large=n&&n.large,s=i.progressiveRender=n&&n.progressiveRender;return!!(a^o||r^s)&&"reset"}}e.exports=r},cd12:function(e,t,i){i("01ed"),i("4a9d"),i("cb8f")},cd33:function(e,t,i){var n=i("6d8b"),a=i("4319"),r=n.each,o=n.curry;function s(e,t){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return l(i,e,t),i.seriesInvolved&&c(i,e),i}function l(e,t,i){var n=t.getComponent("tooltip"),a=t.getComponent("axisPointer"),s=a.get("link",!0)||[],l=[];r(i.getCoordinateSystems(),(function(i){if(i.axisPointerEnabled){var c=v(i.model),d=e.coordSysAxesInfo[c]={};e.coordSysMap[c]=i;var f=i.model,p=f.getModel("tooltip",n);if(r(i.getAxes(),o(_,!1,null)),i.getTooltipAxes&&n&&p.get("show")){var g="axis"===p.get("trigger"),y="cross"===p.get("axisPointer.type"),x=i.getTooltipAxes(p.get("axisPointer.axis"));(g||y)&&r(x.baseAxes,o(_,!y||"cross",g)),y&&r(x.otherAxes,o(_,"cross",!1))}}function _(n,r,o){var c=o.model.getModel("axisPointer",a),f=c.get("show");if(f&&("auto"!==f||n||m(c))){null==r&&(r=c.get("triggerTooltip")),c=n?u(o,p,a,t,n,r):c;var g=c.get("snap"),y=v(o.model),x=r||g||"category"===o.type,_=e.axesInfo[y]={key:y,axis:o,coordSys:i,axisPointerModel:c,triggerTooltip:r,involveSeries:x,snap:g,useHandle:m(c),seriesModels:[]};d[y]=_,e.seriesInvolved|=x;var b=h(s,o);if(null!=b){var w=l[b]||(l[b]={axesInfo:{}});w.axesInfo[y]=_,w.mapper=s[b].mapper,_.linkGroup=w}}}}))}function u(e,t,i,o,s,l){var u=t.getModel("axisPointer"),c={};r(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(e){c[e]=n.clone(u.get(e))})),c.snap="category"!==e.type&&!!l,"cross"===u.get("type")&&(c.type="line");var h=c.label||(c.label={});if(null==h.show&&(h.show=!1),"cross"===s){var d=u.get("label.show");if(h.show=null==d||d,!l){var f=c.lineStyle=u.get("crossStyle");f&&n.defaults(h,f.textStyle)}}return e.model.getModel("axisPointer",new a(c,i,o))}function c(e,t){t.eachSeries((function(t){var i=t.coordinateSystem,n=t.get("tooltip.trigger",!0),a=t.get("tooltip.show",!0);i&&"none"!==n&&!1!==n&&"item"!==n&&!1!==a&&!1!==t.get("axisPointer.show",!0)&&r(e.coordSysAxesInfo[v(i.model)],(function(e){var n=e.axis;i.getAxis(n.dim)===n&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())}))}),this)}function h(e,t){for(var i=t.model,n=t.dim,a=0;a=0||e===t}function f(e){var t=p(e);if(t){var i=t.axisPointerModel,n=t.axis.scale,a=i.option,r=i.get("status"),o=i.get("value");null!=o&&(o=n.parse(o));var s=m(i);null==r&&(a.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==o||o>l[1])&&(o=l[1]),o0){var C=o(x)?l:u;x>0&&(x=x*A+M),b[w++]=C[T],b[w++]=C[T+1],b[w++]=C[T+2],b[w++]=C[T+3]*x*256}else w+=4}return d.putImageData(_,0,0),h},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=n.createCanvas()),t=this.pointSize+this.blurSize,i=2*t;e.width=i,e.height=i;var a=e.getContext("2d");return a.clearRect(0,0,i,i),a.shadowOffsetX=i,a.shadowBlur=this.blurSize,a.shadowColor="#000",a.beginPath(),a.arc(-t,t,this.pointSize,0,2*Math.PI,!0),a.closePath(),a.fill(),e},_getGradient:function(e,t,i){for(var n=this._gradientPixels,a=n[i]||(n[i]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,s=0;s<256;s++)t[i](s/255,!0,r),a[o++]=r[0],a[o++]=r[1],a[o++]=r[2],a[o++]=r[3];return a}};var o=r;e.exports=o},cdaa:function(e,t,i){var n=i("607d"),a=n.addEventListener,r=n.removeEventListener,o=n.normalizeEvent,s=n.getNativeEvent,l=i("6d8b"),u=i("1fab"),c=i("22d1"),h=300,d=c.domSupported,f=function(){var e=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],i={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=l.map(e,(function(e){var t=e.replace("mouse","pointer");return i.hasOwnProperty(t)?t:e}));return{mouse:e,touch:t,pointer:n}}(),p={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function g(e){return"mousewheel"===e&&c.browser.firefox?"DOMMouseScroll":e}function m(e){var t=e.pointerType;return"pen"===t||"touch"===t}function v(e){e.touching=!0,null!=e.touchTimer&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout((function(){e.touching=!1,e.touchTimer=null}),700)}function y(e){e&&(e.zrByTouch=!0)}function x(e,t){return o(e.dom,new b(e,t),!0)}function _(e,t){var i=t,n=!1;while(i&&9!==i.nodeType&&!(n=i.domBelongToZr||i!==t&&i===e.painterRoot))i=i.parentNode;return n}function b(e,t){this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}var w=b.prototype;w.stopPropagation=w.stopImmediatePropagation=w.preventDefault=l.noop;var S={mousedown:function(e){e=o(this.dom,e),this._mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=o(this.dom,e);var t=this._mayPointerCapture;!t||e.zrX===t[0]&&e.zrY===t[1]||D(this,!0),this.trigger("mousemove",e)},mouseup:function(e){e=o(this.dom,e),D(this,!1),this.trigger("mouseup",e)},mouseout:function(e){e=o(this.dom,e),this._pointerCapturing&&(e.zrEventControl="no_globalout");var t=e.toElement||e.relatedTarget;e.zrIsToLocalDOM=_(this,t),this.trigger("mouseout",e)},touchstart:function(e){e=o(this.dom,e),y(e),this._lastTouchMoment=new Date,this.handler.processGesture(e,"start"),S.mousemove.call(this,e),S.mousedown.call(this,e)},touchmove:function(e){e=o(this.dom,e),y(e),this.handler.processGesture(e,"change"),S.mousemove.call(this,e)},touchend:function(e){e=o(this.dom,e),y(e),this.handler.processGesture(e,"end"),S.mouseup.call(this,e),+new Date-this._lastTouchMoment=0&&(o[r[l].depth]=new s(r[l],this,t));if(n&&i){var u=a(n,i,this,!0,c);return u.data}function c(e,t){e.wrapMethod("getItemModel",(function(e,t){return e.customizeGetParent((function(e){var i=this.parentModel,n=i.getData().getItemLayout(t).depth,a=i.levelModels[n];return a||this.parentModel})),e})),t.wrapMethod("getItemModel",(function(e,t){return e.customizeGetParent((function(e){var i=this.parentModel,n=i.getGraph().getEdgeByIndex(t),a=n.node1.getLayout().depth,r=i.levelModels[a];return r||this.parentModel})),e}))}},setNodePosition:function(e,t){var i=this.option.data[e];i.localX=t[0],i.localY=t[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(e,t,i){if("edge"===i){var n=this.getDataParams(e,i),a=n.data,r=a.source+" -- "+a.target;return n.value&&(r+=" : "+n.value),o(r)}if("node"===i){var s=this.getGraph().getNodeByIndex(e),l=s.getLayout().value,c=this.getDataParams(e,i).data.name;if(l)r=c+" : "+l;return o(r)}return u.superCall(this,"formatTooltip",e,t)},optionUpdated:function(){var e=this.option;!0===e.focusNodeAdjacency&&(e.focusNodeAdjacency="allEdges")},getDataParams:function(e,t){var i=u.superCall(this,"getDataParams",e,t);if(null==i.value&&"node"===t){var n=this.getGraph().getNodeByIndex(e),a=n.getLayout().value;i.value=a}return i},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}})),c=u;e.exports=c},d070:function(e,t,i){var n=i("3eba"),a=i("6d8b");function r(e,t){t.update="updateView",n.registerAction(t,(function(t,i){var n={};return i.eachComponent({mainType:"geo",query:t},(function(i){i[e](t.name);var r=i.coordinateSystem;a.each(r.regions,(function(e){n[e.name]=i.isSelected(e.name)||!1}))})),{selected:n,name:t.name}}))}i("1f1a"),i("eeea"),i("7661"),i("49e8"),r("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),r("select",{type:"geoSelect",event:"geoselected"}),r("unSelect",{type:"geoUnSelect",event:"geounselected"})},d090:function(e,t,i){var n=i("6d8b"),a=i("f934"),r=i("3842"),o=i("2039"),s=864e5;function l(e,t,i){this._model=e}function u(e,t,i,n){var a=i.calendarModel,r=i.seriesModel,o=a?a.coordinateSystem:r?r.coordinateSystem:null;return o===this?o[e](n):null}l.prototype={constructor:l,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(e){e=r.parseDate(e);var t=e.getFullYear(),i=e.getMonth()+1;i=i<10?"0"+i:i;var n=e.getDate();n=n<10?"0"+n:n;var a=e.getDay();return a=Math.abs((a+7-this.getFirstDayOfWeek())%7),{y:t,m:i,d:n,day:a,time:e.getTime(),formatedDate:t+"-"+i+"-"+n,date:e}},getNextNDay:function(e,t){return t=t||0,0===t||(e=new Date(this.getDateInfo(e).time),e.setDate(e.getDate()+t)),this.getDateInfo(e)},update:function(e,t){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var i=this._rangeInfo.weeks||1,r=["width","height"],o=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[i,7]:[7,i];n.each([0,1],(function(e){h(o,e)&&(s[r[e]]=o[e]*l[e])}));var u={width:t.getWidth(),height:t.getHeight()},c=this._rect=a.getLayoutRect(s,u);function h(e,t){return null!=e[t]&&"auto"!==e[t]}n.each([0,1],(function(e){h(o,e)||(o[e]=c[r[e]]/l[e])})),this._sw=o[0],this._sh=o[1]},dataToPoint:function(e,t){n.isArray(e)&&(e=e[0]),null==t&&(t=!0);var i=this.getDateInfo(e),a=this._rangeInfo,r=i.formatedDate;if(t&&!(i.time>=a.start.time&&i.timeo.end.time&&e.reverse(),e},_getRangeInfo:function(e){var t;e=[this.getDateInfo(e[0]),this.getDateInfo(e[1])],e[0].time>e[1].time&&(t=!0,e.reverse());var i=Math.floor(e[1].time/s)-Math.floor(e[0].time/s)+1,n=new Date(e[0].time),a=n.getDate(),r=e[1].date.getDate();n.setDate(a+i-1);var o=n.getDate();if(o!==r){var l=n.getTime()-e[1].time>0?1:-1;while((o=n.getDate())!==r&&(n.getTime()-e[1].time)*l>0)i-=l,n.setDate(o-l)}var u=Math.floor((i+e[0].day+6)/7),c=t?1-u:u-1;return t&&e.reverse(),{range:[e[0].formatedDate,e[1].formatedDate],start:e[0],end:e[1],allDay:i,weeks:u,nthWeek:c,fweek:e[0].day,lweek:e[1].day}},_getDateByWeeksAndDay:function(e,t,i){var n=this._getRangeInfo(i);if(e>n.weeks||0===e&&tn.lweek)return!1;var a=7*(e-1)-n.fweek+t,r=new Date(n.start.time);return r.setDate(n.start.d+a),this.getDateInfo(r)}},l.dimensions=l.prototype.dimensions,l.getDimensionsInfo=l.prototype.getDimensionsInfo,l.create=function(e,t){var i=[];return e.eachComponent("calendar",(function(n){var a=new l(n,e,t);i.push(a),n.coordinateSystem=a})),e.eachSeries((function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=i[e.get("calendarIndex")||0])})),i},o.register("calendar",l);var c=l;e.exports=c},d15d:function(e,t,i){var n=i("6d8b"),a=n.createHashMap,r=n.each;function o(e){var t=a();e.eachSeries((function(e){var i=e.get("stack");if(i){var n=t.get(i)||t.set(i,[]),a=e.getData(),r={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:e};if(!r.stackedDimension||!r.isStackedByIndex&&!r.stackedByDimension)return;n.length&&a.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(r)}})),t.each(s)}function s(e){r(e,(function(t,i){var n=[],a=[NaN,NaN],r=[t.stackResultDimension,t.stackedOverDimension],o=t.data,s=t.isStackedByIndex,l=o.map(r,(function(r,l,u){var c,h,d=o.get(t.stackedDimension,u);if(isNaN(d))return a;s?h=o.getRawIndex(u):c=o.get(t.stackedByDimension,u);for(var f=NaN,p=i-1;p>=0;p--){var g=e[p];if(s||(h=g.data.rawIndexOf(g.stackedByDimension,c)),h>=0){var m=g.data.getByRawIndex(g.stackResultDimension,h);if(d>=0&&m>0||d<=0&&m<0){d+=m,f=m;break}}}return n[0]=d,n[1]=f,n}));o.hostModel.setData(l),t.data=l}))}e.exports=o},d28f:function(e,t,i){var n=i("3eba");i("84d5"),i("4650"),i("5e97");var a=i("903c"),r=i("6cb7");n.registerProcessor(n.PRIORITY.PROCESSOR.SERIES_FILTER,a),r.registerSubTypeDefaulter("legend",(function(){return"plain"}))},d2a5:function(e,t,i){var n=i("3eba");n.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),n.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){}))},d2cf:function(e,t,i){var n=i("6d8b"),a=i("401b"),r=i("cb6d"),o=i("1fab"),s=i("607d"),l=i("0b44"),u="silent";function c(e,t,i){return{type:e,event:i,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which,stop:h}}function h(){s.stop(this.event)}function d(){}d.prototype.dispose=function(){};var f=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],p=function(e,t,i,n){o.call(this),this.storage=e,this.painter=t,this.painterRoot=n,i=i||new d,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,r.call(this),this.setHandlerProxy(i)};function g(e,t,i){if(e[e.rectHover?"rectContain":"contain"](t,i)){var n,a=e;while(a){if(a.clipPath&&!a.clipPath.contain(t,i))return!1;a.silent&&(n=!0),a=a.parent}return!n||u}return!1}function m(e,t,i){var n=e.painter;return t<0||t>n.getWidth()||i<0||i>n.getHeight()}p.prototype={constructor:p,setHandlerProxy:function(e){this.proxy&&this.proxy.dispose(),e&&(n.each(f,(function(t){e.on&&e.on(t,this[t],this)}),this),e.handler=this),this.proxy=e},mousemove:function(e){var t=e.zrX,i=e.zrY,n=m(this,t,i),a=this._hovered,r=a.target;r&&!r.__zr&&(a=this.findHover(a.x,a.y),r=a.target);var o=this._hovered=n?{x:t,y:i}:this.findHover(t,i),s=o.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),r&&s!==r&&this.dispatchToElement(a,"mouseout",e),this.dispatchToElement(o,"mousemove",e),s&&s!==r&&this.dispatchToElement(o,"mouseover",e)},mouseout:function(e){var t=e.zrEventControl,i=e.zrIsToLocalDOM;"only_globalout"!==t&&this.dispatchToElement(this._hovered,"mouseout",e),"no_globalout"!==t&&!i&&this.trigger("globalout",{type:"globalout",event:e})},resize:function(e){this._hovered={}},dispatch:function(e,t){var i=this[e];i&&i.call(this,t)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(e){var t=this.proxy;t.setCursor&&t.setCursor(e)},dispatchToElement:function(e,t,i){e=e||{};var n=e.target;if(!n||!n.silent){var a="on"+t,r=c(t,e,i);while(n)if(n[a]&&(r.cancelBubble=n[a].call(n,r)),n.trigger(t,r),n=n.parent,r.cancelBubble)break;r.cancelBubble||(this.trigger(t,r),this.painter&&this.painter.eachOtherLayer((function(e){"function"===typeof e[a]&&e[a].call(e,r),e.trigger&&e.trigger(t,r)})))}},findHover:function(e,t,i){for(var n=this.storage.getDisplayList(),a={x:e,y:t},r=n.length-1;r>=0;r--){var o;if(n[r]!==i&&!n[r].ignore&&(o=g(n[r],e,t))&&(!a.topTarget&&(a.topTarget=n[r]),o!==u)){a.target=n[r];break}}return a},processGesture:function(e,t){this._gestureMgr||(this._gestureMgr=new l);var i=this._gestureMgr;"start"===t&&i.clear();var n=i.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if("end"===t&&i.clear(),n){var a=n.type;e.gestureEvent=a,this.dispatchToElement({target:n.target},a,n.event)}}},n.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(e){p.prototype[e]=function(t){var i,n,r=t.zrX,o=t.zrY,s=m(this,r,o);if("mouseup"===e&&s||(i=this.findHover(r,o),n=i.target),"mousedown"===e)this._downEl=n,this._downPoint=[t.zrX,t.zrY],this._upEl=n;else if("mouseup"===e)this._upEl=n;else if("click"===e){if(this._downEl!==this._upEl||!this._downPoint||a.dist(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,e,t)}})),n.mixin(p,o),n.mixin(p,r);var v=p;e.exports=v},d357:function(e,t,i){var n=i("6d8b"),a=n.each,r=i("1c5f"),o=r.simpleLayout,s=r.simpleLayoutEdge;function l(e,t){e.eachSeriesByType("graph",(function(e){var t=e.get("layout"),i=e.coordinateSystem;if(i&&"view"!==i.type){var n=e.getData(),r=[];a(i.dimensions,(function(e){r=r.concat(n.mapDimension(e,!0))}));for(var l=0;l=0&&a.each(e,(function(e){n.setIconStatus(e,"normal")}))})),n.setIconStatus(i,"emphasis"),e.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},c),"stack"===i){var f=u.series&&u.series[0]&&u.series[0].stack===l;o=f?a.merge({stack:s.title.tiled},s.title):a.clone(s.title)}t.dispatchAction({type:"changeMagicType",currentType:i,newOption:u,newTitle:o,featureName:"magicType"})}},n.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)})),o.register("magicType",u);var f=u;e.exports=f},d3a4:function(e,t,i){var n,a=i("22d1"),r="urn:schemas-microsoft-com:vml",o="undefined"===typeof window?null:window,s=!1,l=o&&o.document;function u(e){return n(e)}if(l&&!a.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",r),n=function(e){return l.createElement("')}}catch(h){n=function(e){return l.createElement("<"+e+' xmlns="'+r+'" class="zrvml">')}}function c(){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)")}}t.doc=l,t.createNode=u,t.initVML=c},d3f4:function(e,t){function i(e){return{seriesType:e,reset:function(e,t){var i=t.findComponents({mainType:"legend"});if(i&&i.length){var n=e.getData();n.filterSelf((function(e){for(var t=n.getName(e),a=0;a=0)&&i({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},remove:function(e,t){a.unregister(t.getZr(),"axisPointer"),r.superApply(this._model,"remove",arguments)},dispose:function(e,t){a.unregister("axisPointer",t),r.superApply(this._model,"dispose",arguments)}}),o=r;e.exports=o},d4c6:function(e,t,i){var n=i("cbe5"),a=n.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var e=this.__dirtyPath,t=this.shape.paths,i=0;i=a||m<0)break;if(f(y)){if(p){m+=r;continue}break}if(m===i)e[r>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var x=t[g],_="y"===c?1:0,b=(y[_]-x[_])*l;u(h,x),h[_]=x[_]+b,u(d,y),d[_]=y[_]-b,e.bezierCurveTo(h[0],h[1],d[0],d[1],y[0],y[1])}else e.lineTo(y[0],y[1]);g=m,m+=r}return v}function m(e,t,i,n,r,p,g,m,v,y,x){for(var _=0,b=i,w=0;w=r||b<0)break;if(f(S)){if(x){b+=p;continue}break}if(b===i)e[p>0?"moveTo":"lineTo"](S[0],S[1]),u(h,S);else if(v>0){var M=b+p,I=t[M];if(x)while(I&&f(t[M]))M+=p,I=t[M];var A=.5,T=t[_];I=t[M];if(!I||f(I))u(d,S);else{var C,D;if(f(I)&&!x&&(I=S),a.sub(c,I,T),"x"===y||"y"===y){var L="x"===y?0:1;C=Math.abs(S[L]-T[L]),D=Math.abs(S[L]-I[L])}else C=a.dist(S,T),D=a.dist(S,I);A=D/(D+C),l(d,S,c,-v*(1-A))}o(h,h,m),s(h,h,g),o(d,d,m),s(d,d,g),e.bezierCurveTo(h[0],h[1],d[0],d[1],S[0],S[1]),l(h,S,c,v*A)}else e.lineTo(S[0],S[1]);_=b,b+=p}return w}function v(e,t){var i=[1/0,1/0],n=[-1/0,-1/0];if(t)for(var a=0;an[0]&&(n[0]=r[0]),r[1]>n[1]&&(n[1]=r[1])}return{min:t?i:n,max:t?n:i}}var y=n.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:r(n.prototype.brush),buildPath:function(e,t){var i=t.points,n=0,a=i.length,r=v(i,t.smoothConstraint);if(t.connectNulls){for(;a>0;a--)if(!f(i[a-1]))break;for(;n0;r--)if(!f(i[r-1]))break;for(;a=this._maxSize&&o>0){var l=i.head;i.remove(l),delete n[l.key],r=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new a(t),s.key=e,i.insertEntry(s),n[e]=s}return r},o.get=function(e){var t=this._map[e],i=this._list;if(null!=t)return t!==i.tail&&(i.remove(t),i.insertEntry(t)),t.value},o.clear=function(){this._list.clear(),this._map={}};var s=r;e.exports=s},d5b7:function(e,t,i){var n=i("de00"),a=i("1fab"),r=i("0cde"),o=i("bd6b"),s=i("6d8b"),l=function(e){r.call(this,e),a.call(this,e),o.call(this,e),this.id=e.id||n()};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;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=e,i[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 i=this[e];i||(i=this[e]=[]),i[0]=t[0],i[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 i in e)e.hasOwnProperty(i)&&this.attrKV(i,e[i]);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 i=0;it&&u>n&&u>r&&u>s||u1&&y(),d=c.cubicAt(t,n,r,s,v[0]),g>1&&(f=c.cubicAt(t,n,r,s,v[1]))),2===g?_t&&s>n&&s>r||s=0&&u<=1){for(var h=0,d=c.quadraticAt(t,n,r,u),f=0;fi||s<-i)return 0;var l=Math.sqrt(i*i-s*s);m[0]=-l,m[1]=l;var c=Math.abs(n-a);if(c<1e-4)return 0;if(c%f<1e-4){n=0,a=f;var h=r?1:-1;return o>=m[0]+e&&o<=m[1]+e?h:0}if(r){l=n;n=u(a),a=u(l)}else n=u(n),a=u(a);n>a&&(a+=f);for(var d=0,p=0;p<2;p++){var g=m[p];if(g+e>o){var v=Math.atan2(s,g);h=r?1:-1;v<0&&(v=f+v),(v>=n&&v<=a||v+f>=n&&v+f<=a)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),d+=h)}}return d}function w(e,t,i,n,l){for(var u=0,c=0,f=0,p=0,m=0,v=0;v1&&(i||(u+=h(c,f,p,m,n,l))),1===v&&(c=e[v],f=e[v+1],p=c,m=f),y){case d.M:p=e[v++],m=e[v++],c=p,f=m;break;case d.L:if(i){if(a.containStroke(c,f,e[v],e[v+1],t,n,l))return!0}else u+=h(c,f,e[v],e[v+1],n,l)||0;c=e[v++],f=e[v++];break;case d.C:if(i){if(r.containStroke(c,f,e[v++],e[v++],e[v++],e[v++],e[v],e[v+1],t,n,l))return!0}else u+=x(c,f,e[v++],e[v++],e[v++],e[v++],e[v],e[v+1],n,l)||0;c=e[v++],f=e[v++];break;case d.Q:if(i){if(o.containStroke(c,f,e[v++],e[v++],e[v],e[v+1],t,n,l))return!0}else u+=_(c,f,e[v++],e[v++],e[v],e[v+1],n,l)||0;c=e[v++],f=e[v++];break;case d.A:var w=e[v++],S=e[v++],M=e[v++],I=e[v++],A=e[v++],T=e[v++];v+=1;var C=1-e[v++],D=Math.cos(A)*M+w,L=Math.sin(A)*I+S;v>1?u+=h(c,f,D,L,n,l):(p=D,m=L);var P=(n-w)*I/M+w;if(i){if(s.containStroke(w,S,I,A,A+T,C,t,P,l))return!0}else u+=b(w,S,I,A,A+T,C,P,l);c=Math.cos(A+T)*M+w,f=Math.sin(A+T)*I+S;break;case d.R:p=c=e[v++],m=f=e[v++];var k=e[v++],O=e[v++];D=p+k,L=m+O;if(i){if(a.containStroke(p,m,D,m,t,n,l)||a.containStroke(D,m,D,L,t,n,l)||a.containStroke(D,L,p,L,t,n,l)||a.containStroke(p,L,p,m,t,n,l))return!0}else u+=h(D,m,D,L,n,l),u+=h(p,L,p,m,n,l);break;case d.Z:if(i){if(a.containStroke(c,f,p,m,t,n,l))return!0}else u+=h(c,f,p,m,n,l);c=p,f=m;break}}return i||g(f,m)||(u+=h(c,f,p,m,n,l)||0),0!==u}function S(e,t,i){return w(e,0,!1,t,i)}function M(e,t,i,n){return w(e,t,!0,i,n)}t.contain=S,t.containStroke=M},d9d0:function(e,t,i){var n=i("6d8b"),a=i("1687"),r=i("f934"),o=i("697e"),s=i("0f55"),l=i("2306"),u=i("3842"),c=i("ef6a"),h=n.each,d=Math.min,f=Math.max,p=Math.floor,g=Math.ceil,m=u.round,v=Math.PI;function y(e,t,i){this._axesMap=n.createHashMap(),this._axesLayout={},this.dimensions=e.dimensions,this._rect,this._model=e,this._init(e,t,i)}function x(e,t){return d(f(e,t[0]),t[1])}function _(e,t){var i=t.layoutLength/(t.axisCount-1);return{position:i*e,axisNameAvailableWidth:i,axisLabelShow:!0}}function b(e,t){var i,n,a=t.layoutLength,r=t.axisExpandWidth,o=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,u=s,c=!1;return e=i&&r<=i+t.axisLength&&o>=n&&o<=n+t.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(e,t){t.eachSeries((function(i){if(e.contains(i,t)){var n=i.getData();h(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(n,n.mapDimension(e)),o.niceScaleExtent(t.scale,t.model)}),this)}}),this)},resize:function(e,t){this._rect=r.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var e,t=this._model,i=this._rect,n=["x","y"],a=["width","height"],r=t.get("layout"),o="horizontal"===r?0:1,s=i[a[o]],l=[0,s],u=this.dimensions.length,c=x(t.get("axisExpandWidth"),l),h=x(t.get("axisExpandCount")||0,[0,u]),d=t.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,f=t.get("axisExpandWindow");if(f)e=x(f[1]-f[0],l),f[1]=f[0]+e;else{e=x(c*(h-1),l);var v=t.get("axisExpandCenter")||p(u/2);f=[c*v-e/2],f[1]=f[0]+e}var y=(s-e)/(u-h);y<3&&(y=0);var _=[p(m(f[0]/c,1))+1,g(m(f[1]/c,1))-1],b=y/c*f[0];return{layout:r,pixelDimIndex:o,layoutBase:i[n[o]],layoutLength:s,axisBase:i[n[1-o]],axisLength:i[a[1-o]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:y,axisExpandWindow:f,axisCount:u,winInnerIndices:_,axisExpandWindow0Pos:b}},_layoutAxes:function(){var e=this._rect,t=this._axesMap,i=this.dimensions,n=this._makeLayoutInfo(),r=n.layout;t.each((function(e){var t=[0,n.axisLength],i=e.inverse?1:0;e.setExtent(t[i],t[1-i])})),h(i,(function(t,i){var o=(n.axisExpandable?b:_)(i,n),s={horizontal:{x:o.position,y:n.axisLength},vertical:{x:0,y:o.position}},l={horizontal:v/2,vertical:0},u=[s[r].x+e.x,s[r].y+e.y],c=l[r],h=a.create();a.rotate(h,h,c),a.translate(h,h,u),this._axesLayout[t]={position:u,rotation:c,transform:h,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(e){return this._axesMap.get(e)},dataToPoint:function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},eachActiveState:function(e,t,i,a){null==i&&(i=0),null==a&&(a=e.count());var r=this._axesMap,o=this.dimensions,s=[],l=[];n.each(o,(function(t){s.push(e.mapDimension(t)),l.push(r.get(t).model)}));for(var u=this.hasAxisBrushed(),c=i;ca*(1-h[0])?(l="jump",o=s-a*(1-h[2])):(o=s-a*h[1])>=0&&(o=s-a*(1-h[1]))<=0&&(o=0),o*=t.axisExpandWidth/u,o?c(o,n,r,"all"):l="none";else{a=n[1]-n[0];var g=r[1]*s/a;n=[f(0,g-a/2)],n[1]=d(r[1],n[0]+a),n[0]=n[1]-a}return{axisExpandWindow:n,behavior:l}}};var w=y;e.exports=w},d9f1:function(e,t,i){var n=i("6d8b"),a=i("6cb7"),r=i("9e47"),o=i("2023"),s=a.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});n.merge(s.prototype,o);var l={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function u(e,t){return t.type||(t.data?"category":"value")}r("angle",s,u,l.angle),r("radius",s,u,l.radius)},d9fc:function(e,t,i){var n=i("cbe5"),a=n.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(e,t,i){i&&e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI,!0)}});e.exports=a},dae1:function(e,t,i){var n=i("3eba");i("928d"),i("b369"),i("4411");var a=i("90c2"),r=i("9ca8");n.registerVisual(a),n.registerLayout(r)},db0e:function(e,t,i){var n=i("3eba");i("a8c6"),i("8344"),n.registerPreprocessor((function(e){e.markPoint=e.markPoint||{}}))},db9e:function(e,t,i){var n=i("3eba"),a=i("6d8b"),r=i("e86a"),o=i("2145"),s=i("2306"),l=i("4319"),u=i("80f0"),c=i("7919"),h=n.extendComponentView({type:"toolbox",render:function(e,t,i,n){var h=this.group;if(h.removeAll(),e.get("show")){var f=+e.get("itemSize"),p=e.get("feature")||{},g=this._features||(this._features={}),m=[];a.each(p,(function(e,t){m.push(t)})),new u(this._featureNames||[],m).add(v).update(v).remove(a.curry(v,null)).execute(),this._featureNames=m,c.layout(h,e,i),h.add(c.makeBackground(h.getBoundingRect(),e)),h.eachChild((function(e){var t=e.__title,n=e.hoverStyle;if(n&&t){var a=r.getBoundingRect(t,r.makeFont(n)),o=e.position[0]+h.position[0],s=e.position[1]+h.position[1]+f,l=!1;s+a.height>i.getHeight()&&(n.textPosition="top",l=!0);var u=l?-5-a.height:f+8;o+a.width/2>i.getWidth()?(n.textPosition=["100%",u],n.textAlign="right"):o-a.width/2<0&&(n.textPosition=[0,u],n.textAlign="left")}}))}function v(a,r){var s,u=m[a],c=m[r],h=p[u],f=new l(h,e,e.ecModel);if(n&&null!=n.newTitle&&n.featureName===u&&(h.title=n.newTitle),u&&!c){if(d(u))s={model:f,onclick:f.option.onclick,featureName:u};else{var v=o.get(u);if(!v)return;s=new v(f,t,i)}g[u]=s}else{if(s=g[c],!s)return;s.model=f,s.ecModel=t,s.api=i}u||!c?f.get("show")&&!s.unusable?(y(f,s,u),f.setIconStatus=function(e,t){var i=this.option,n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[e]=t,n[e]&&n[e].trigger(t)},s.render&&s.render(f,t,i,n)):s.remove&&s.remove(t,i):s.dispose&&s.dispose(t,i)}function y(n,r,o){var l=n.getModel("iconStyle"),u=n.getModel("emphasis.iconStyle"),c=r.getIcons?r.getIcons():n.get("icon"),d=n.get("title")||{};if("string"===typeof c){var p=c,g=d;c={},d={},c[o]=p,d[o]=g}var m=n.iconPaths={};a.each(c,(function(o,c){var p=s.createIcon(o,{},{x:-f/2,y:-f/2,width:f,height:f});p.setStyle(l.getItemStyle()),p.hoverStyle=u.getItemStyle(),p.setStyle({text:d[c],textAlign:u.get("textAlign"),textBorderRadius:u.get("textBorderRadius"),textPadding:u.get("textPadding"),textFill:null});var g=e.getModel("tooltip");g&&g.get("show")&&p.attr("tooltip",a.extend({content:d[c],formatter:g.get("formatter",!0)||function(){return d[c]},formatterParams:{componentType:"toolbox",name:c,title:d[c],$vars:["name","title"]},position:g.get("position",!0)||"bottom"},g.option)),s.setHoverStyle(p),e.get("showTitle")&&(p.__title=d[c],p.on("mouseover",(function(){var t=u.getItemStyle(),i="vertical"===e.get("orient")?null==e.get("right")?"right":"left":null==e.get("bottom")?"bottom":"top";p.setStyle({textFill:u.get("textFill")||t.fill||t.stroke||"#000",textBackgroundColor:u.get("textBackgroundColor"),textPosition:u.get("textPosition")||i})})).on("mouseout",(function(){p.setStyle({textFill:null,textBackgroundColor:null})}))),p.trigger(n.get("iconStatus."+c)||"normal"),h.add(p),p.on("click",a.bind(r.onclick,r,t,i,c)),m[c]=p}))}},updateView:function(e,t,i,n){a.each(this._features,(function(e){e.updateView&&e.updateView(e.model,t,i,n)}))},remove:function(e,t){a.each(this._features,(function(i){i.remove&&i.remove(e,t)})),this.group.removeAll()},dispose:function(e,t){a.each(this._features,(function(i){i.dispose&&i.dispose(e,t)}))}});function d(e){return 0===e.indexOf("my")}e.exports=h},dc20:function(e,t,i){var n=i("8727"),a=n.createElement,r=i("6d8b"),o=i("4942"),s=i("cbe5"),l=i("0da8"),u=i("76a5"),c=i("0c12"),h=i("b16f"),d=i("9fa3"),f=i("bcaa1"),p=i("3f8e"),g=p.path,m=p.image,v=p.text;function y(e){return parseInt(e,10)}function x(e){return e instanceof s?g:e instanceof l?m:e instanceof u?v:g}function _(e,t){return t&&e&&t.parentNode!==e}function b(e,t,i){if(_(e,t)&&i){var n=i.nextSibling;n?e.insertBefore(t,n):e.appendChild(t)}}function w(e,t){if(_(e,t)){var i=e.firstChild;i?e.insertBefore(t,i):e.appendChild(t)}}function S(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)}function M(e){return e.__textSvgEl}function I(e){return e.__svgEl}var A=function(e,t,i,n){this.root=e,this.storage=t,this._opts=i=r.extend({},i||{});var o=a("svg");o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("version","1.1"),o.setAttribute("baseProfile","full"),o.style.cssText="user-select:none;position:absolute;left:0;top:0;";var s=a("g");o.appendChild(s);var l=a("g");o.appendChild(l),this.gradientManager=new h(n,l),this.clipPathManager=new d(n,l),this.shadowManager=new f(n,l);var u=document.createElement("div");u.style.cssText="overflow:hidden;position:relative",this._svgDom=o,this._svgRoot=l,this._backgroundRoot=s,this._viewport=u,e.appendChild(u),u.appendChild(o),this.resize(i.width,i.height),this._visibleList=[]};function T(e){return function(){o('In SVG mode painter not support method "'+e+'"')}}A.prototype={constructor:A,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(){var e=this.storage.getDisplayList(!0);this._paintList(e)},setBackgroundColor:function(e){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var t=a("rect");t.setAttribute("width",this.getWidth()),t.setAttribute("height",this.getHeight()),t.setAttribute("x",0),t.setAttribute("y",0),t.setAttribute("id",0),t.style.fill=e,this._backgroundRoot.appendChild(t),this._backgroundNode=t},_paintList:function(e){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var t,i=this._svgRoot,n=this._visibleList,a=e.length,r=[];for(t=0;t=0;--n)if(t[n]===e)return!0;return!1}),i}return null}return i[0]},resize:function(e,t){var i=this._viewport;i.style.display="none";var n=this._opts;if(null!=e&&(n.width=e),null!=t&&(n.height=t),e=this._getSize(0),t=this._getSize(1),i.style.display="",this._width!==e||this._height!==t){this._width=e,this._height=t;var a=i.style;a.width=e+"px",a.height=t+"px";var r=this._svgDom;r.setAttribute("width",e),r.setAttribute("height",t)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",e),this._backgroundNode.setAttribute("height",t))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(e){var t=this._opts,i=["width","height"][e],n=["clientWidth","clientHeight"][e],a=["paddingLeft","paddingTop"][e],r=["paddingRight","paddingBottom"][e];if(null!=t[i]&&"auto"!==t[i])return parseFloat(t[i]);var o=this.root,s=document.defaultView.getComputedStyle(o);return(o[n]||y(s[i])||y(o.style[i]))-(y(s[a])||0)-(y(s[r])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var e=encodeURIComponent(this._svgDom.outerHTML.replace(/>\n\r<"));return"data:image/svg+xml;charset=UTF-8,"+e}},r.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(e){A.prototype[e]=T(e)}));var C=A;e.exports=C},dc2f:function(e,t){var i=function(e,t){this.image=e,this.repeat=t,this.type="pattern"};i.prototype.getCanvasPattern=function(e){return e.createPattern(this.image,this.repeat||"repeat")};var n=i;e.exports=n},dcb3:function(e,t,i){var n=i("6d8b"),a=i("625e"),r=i("2306"),o=i("cd33"),s=i("607d"),l=i("88b3"),u=i("e0d3"),c=u.makeInner,h=c(),d=n.clone,f=n.bind;function p(){}function g(e,t,i,n){m(h(i).lastProp,n)||(h(i).lastProp=n,t?r.updateProps(i,n,e):(i.stopAnimation(),i.attr(n)))}function m(e,t){if(n.isObject(e)&&n.isObject(t)){var i=!0;return n.each(t,(function(t,n){i=i&&m(e[n],t)})),!!i}return e===t}function v(e,t){e[t.get("label.show")?"show":"hide"]()}function y(e){return{position:e.position.slice(),rotation:e.rotation||0}}function x(e,t,i){var n=t.get("z"),a=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=n&&(e.z=n),null!=a&&(e.zlevel=a),e.silent=i)}))}p.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(e,t,i,a){var o=t.get("value"),s=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=i,a||this._lastValue!==o||this._lastStatus!==s){this._lastValue=o,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var c={};this.makeElOption(c,o,e,t,i);var h=c.graphicKey;h!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=h;var d=this._moveAnimation=this.determineAnimation(e,t);if(l){var f=n.curry(g,t,d);this.updatePointerEl(l,c,f,t),this.updateLabelEl(l,c,f,t)}else l=this._group=new r.Group,this.createPointerEl(l,c,e,t),this.createLabelEl(l,c,e,t),i.getZr().add(l);x(l,t,!0),this._renderHandle(o)}},remove:function(e){this.clear(e)},dispose:function(e){this.clear(e)},determineAnimation:function(e,t){var i=t.get("animation"),n=e.axis,a="category"===n.type,r=t.get("snap");if(!r&&!a)return!1;if("auto"===i||null==i){var s=this.animationThreshold;if(a&&n.getBandWidth()>s)return!0;if(r){var l=o.getAxisInfo(e).seriesDataCount,u=n.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===i},makeElOption:function(e,t,i,n,a){},createPointerEl:function(e,t,i,n){var a=t.pointer;if(a){var o=h(e).pointerEl=new r[a.type](d(t.pointer));e.add(o)}},createLabelEl:function(e,t,i,n){if(t.label){var a=h(e).labelEl=new r.Rect(d(t.label));e.add(a),v(a,n)}},updatePointerEl:function(e,t,i){var n=h(e).pointerEl;n&&t.pointer&&(n.setStyle(t.pointer.style),i(n,{shape:t.pointer.shape}))},updateLabelEl:function(e,t,i,n){var a=h(e).labelEl;a&&(a.setStyle(t.label.style),i(a,{shape:t.label.shape,position:t.label.position}),v(a,n))},_renderHandle:function(e){if(!this._dragging&&this.updateHandleTransform){var t,i=this._axisPointerModel,a=this._api.getZr(),o=this._handle,u=i.getModel("handle"),c=i.get("status");if(!u.get("show")||!c||"hide"===c)return o&&a.remove(o),void(this._handle=null);this._handle||(t=!0,o=this._handle=r.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){s.stop(e.event)},onmousedown:f(this._onHandleDragMove,this,0,0),drift:f(this._onHandleDragMove,this),ondragend:f(this._onHandleDragEnd,this)}),a.add(o)),x(o,i,!1);var h=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];o.setStyle(u.getItemStyle(null,h));var d=u.get("size");n.isArray(d)||(d=[d,d]),o.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},_moveHandleToValue:function(e,t){g(this._axisPointerModel,!t&&this._moveAnimation,this._handle,y(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(e,t){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(y(i),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(y(n)),h(i).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var e=this._handle;if(e){var t=this._payloadInfo,i=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:i.axis.dim,axisIndex:i.componentIndex}]})}},_onHandleDragEnd:function(e){this._dragging=!1;var t=this._handle;if(t){var i=this._axisPointerModel.get("value");this._moveHandleToValue(i),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),i=this._group,n=this._handle;t&&i&&(this._lastGraphicKey=null,i&&t.remove(i),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(e,t,i){return i=i||0,{x:e[i],y:e[1-i],width:t[i],height:t[1-i]}}},p.prototype.constructor=p,a.enableClassExtend(p);var _=p;e.exports=_},dcea:function(e,t,i){var n=i("6d8b"),a=i("e887"),r=i("2306"),o=i("cbe5"),s=["itemStyle"],l=["emphasis","itemStyle"],u=a.extend({type:"boxplot",render:function(e,t,i){var n=e.getData(),a=this.group,r=this._data;this._data||a.removeAll();var o="horizontal"===e.get("layout")?1:0;n.diff(r).add((function(e){if(n.hasValue(e)){var t=n.getItemLayout(e),i=h(t,n,e,o,!0);n.setItemGraphicEl(e,i),a.add(i)}})).update((function(e,t){var i=r.getItemGraphicEl(t);if(n.hasValue(e)){var s=n.getItemLayout(e);i?d(s,i,n,e):i=h(s,n,e,o),a.add(i),n.setItemGraphicEl(e,i)}else a.remove(i)})).remove((function(e){var t=r.getItemGraphicEl(e);t&&a.remove(t)})).execute(),this._data=n},remove:function(e){var t=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl((function(e){e&&t.remove(e)}))},dispose:n.noop}),c=o.extend({type:"boxplotBoxPath",shape:{},buildPath:function(e,t){var i=t.points,n=0;for(e.moveTo(i[n][0],i[n][1]),n++;n<4;n++)e.lineTo(i[n][0],i[n][1]);for(e.closePath();n=0;i--)s.asc(t[i])},getActiveState:function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(e))return"inactive";if(1===t.length){var i=t[0];if(i[0]<=e&&e<=i[1])return"active"}else for(var n=0,a=t.length;n40&&(u=Math.max(1,Math.floor(s/40)));for(var c=o[0],d=e.dataToCoord(c+1)-e.dataToCoord(c),f=Math.abs(d*Math.cos(n)),p=Math.abs(d*Math.sin(n)),g=0,m=0;c<=o[1];c+=u){var v=0,y=0,x=a.getBoundingRect(i(c),t.font,"center","top");v=1.3*x.width,y=1.3*x.height,g=Math.max(g,v,7),m=Math.max(m,y,7)}var _=g/f,b=m/p;isNaN(_)&&(_=1/0),isNaN(b)&&(b=1/0);var w=Math.max(0,Math.floor(Math.min(_,b))),M=h(e.model),I=e.getExtent(),A=M.lastAutoInterval,T=M.lastTickCount;return null!=A&&null!=T&&Math.abs(A-w)<=1&&Math.abs(T-s)<=1&&A>w&&M.axisExtend0===I[0]&&M.axisExtend1===I[1]?w=A:(M.lastTickCount=s,M.lastAutoInterval=w,M.axisExtend0=I[0],M.axisExtend1=I[1]),w}function S(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function M(e,t,i){var n=l(e),a=e.scale,r=a.getExtent(),o=e.getLabelModel(),s=[],u=Math.max((t||0)+1,1),h=r[0],d=a.count();0!==h&&u>1&&d/u>2&&(h=Math.round(Math.ceil(h/u)*u));var f=c(e),p=o.get("showMinLabel")||f,g=o.get("showMaxLabel")||f;p&&h!==r[0]&&v(r[0]);for(var m=h;m<=r[1];m+=u)v(m);function v(e){s.push(i?e:{formattedLabel:n(e),rawLabel:a.getLabel(e),tickValue:e})}return g&&m-u!==r[1]&&v(r[1]),s}function I(e,t,i){var a=e.scale,r=l(e),o=[];return n.each(a.getTicks(),(function(e){var n=a.getLabel(e);t(e,n)&&o.push(i?e:{formattedLabel:r(e),rawLabel:n,tickValue:e})})),o}t.createAxisLabels=d,t.createAxisTicks=f,t.calculateCategoryInterval=w},e0d3:function(e,t,i){var n=i("6d8b"),a=i("22d1"),r=n.each,o=n.isObject,s=n.isArray,l="series\0";function u(e){return e instanceof Array?e:null==e?[]:[e]}function c(e,t,i){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var n=0,a=i.length;n=i.length&&i.push({option:e})}})),i}function g(e){var t=n.createHashMap();r(e,(function(e,i){var n=e.exist;n&&t.set(n.id,e)})),r(e,(function(e,i){var a=e.option;n.assert(!a||null==a.id||!t.get(a.id)||t.get(a.id)===e,"id duplicates: "+(a&&a.id)),a&&null!=a.id&&t.set(a.id,e),!e.keyInfo&&(e.keyInfo={})})),r(e,(function(e,i){var n=e.exist,a=e.option,r=e.keyInfo;if(o(a)){if(r.name=null!=a.name?a.name+"":n?n.name:l+i,n)r.id=n.id;else if(null!=a.id)r.id=a.id+"";else{var s=0;do{r.id="\0"+r.name+"\0"+s++}while(t.get(r.id))}t.set(r.id,e)}}))}function m(e){var t=e.name;return!(!t||!t.indexOf(l))}function v(e){return o(e)&&e.id&&0===(e.id+"").indexOf("\0_ec_\0")}function y(e,t){var i={},n={};return a(e||[],i),a(t||[],n,i),[r(i),r(n)];function a(e,t,i){for(var n=0,a=e.length;n=t[0]&&e<=t[1]},a.prototype.normalize=function(e){var t=this._extent;return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])},a.prototype.scale=function(e){var t=this._extent;return e*(t[1]-t[0])+t[0]},a.prototype.unionExtent=function(e){var t=this._extent;e[0]t[1]&&(t[1]=e[1])},a.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},a.prototype.getExtent=function(){return this._extent.slice()},a.prototype.setExtent=function(e,t){var i=this._extent;isNaN(e)||(i[0]=e),isNaN(t)||(i[1]=t)},a.prototype.isBlank=function(){return this._isBlank},a.prototype.setBlank=function(e){this._isBlank=e},a.prototype.getLabel=null,n.enableClassExtend(a),n.enableClassManagement(a,{registerWhenExtend:!0});var r=a;e.exports=r},e1fc:function(e,t,i){var n=i("6d8b"),a=i("d5b7"),r=i("9850"),o=function(e){for(var t in e=e||{},a.call(this,e),e)e.hasOwnProperty(t)&&(this[t]=e[t]);this._children=[],this.__storage=null,this.__dirty=!0};o.prototype={constructor:o,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(e){return this._children[e]},childOfName:function(e){for(var t=this._children,i=0;i=0&&(i.splice(n,0,e),this._doAdd(e))}return this},_doAdd:function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__storage,i=this.__zr;t&&t!==e.__storage&&(t.addToStorage(e),e instanceof o&&e.addChildrenToStorage(t)),i&&i.refresh()},remove:function(e){var t=this.__zr,i=this.__storage,a=this._children,r=n.indexOf(a,e);return r<0||(a.splice(r,1),e.parent=null,i&&(i.delFromStorage(e),e instanceof o&&e.delChildrenFromStorage(i)),t&&t.refresh()),this},removeAll:function(){var e,t,i=this._children,n=this.__storage;for(t=0;t1e-4)return p[0]=e-i,p[1]=t-a,g[0]=e+i,void(g[1]=t+a);if(c[0]=l(r)*i+e,c[1]=s(r)*a+t,h[0]=l(o)*i+e,h[1]=s(o)*a+t,m(p,c,h),v(g,c,h),r%=u,r<0&&(r+=u),o%=u,o<0&&(o+=u),r>o&&!f?o+=u:rr&&(d[0]=l(_)*i+e,d[1]=s(_)*a+t,m(p,d,p),v(g,d,g))}t.fromPoints=f,t.fromLine=p,t.fromCubic=v,t.fromQuadratic=y,t.fromArc=x},e468:function(e,t,i){var n=i("e46b"),a=i("6d8b"),r=i("2f45"),o=r.getDimensionTypeByAxis,s=i("0f99"),l=s.makeSeriesEncodeForAxisCoordSys,u={_baseAxisDim:null,getInitialData:function(e,t){var i,r,s=t.getComponent("xAxis",this.get("xAxisIndex")),u=t.getComponent("yAxis",this.get("yAxisIndex")),c=s.get("type"),h=u.get("type");"category"===c?(e.layout="horizontal",i=s.getOrdinalMeta(),r=!0):"category"===h?(e.layout="vertical",i=u.getOrdinalMeta(),r=!0):e.layout=e.layout||"horizontal";var d=["x","y"],f="horizontal"===e.layout?0:1,p=this._baseAxisDim=d[f],g=d[1-f],m=[s,u],v=m[f].get("type"),y=m[1-f].get("type"),x=e.data;if(x&&r){var _=[];a.each(x,(function(e,t){var i;e.value&&a.isArray(e.value)?(i=e.value.slice(),e.value.unshift(t)):a.isArray(e)?(i=e.slice(),e.unshift(t)):i=e,_.push(i)})),e.data=_}var b=this.defaultValueDimensions,w=[{name:p,type:o(v),ordinalMeta:i,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:g,type:o(y),dimsDef:b.slice()}];return n(this,{coordDimensions:w,dimensionsCount:b.length+1,encodeDefaulter:a.curry(l,w,this)})},getBaseAxis:function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis}};t.seriesModelMixin=u},e46b:function(e,t,i){var n=i("b1d4"),a=i("6179"),r=i("6d8b"),o=r.extend,s=r.isArray;function l(e,t,i){t=s(t)&&{coordDimensions:t}||o({},t);var r=e.getSource(),l=n(r,t),u=new a(l,e);return u.initData(r,i),u}e.exports=l},e47b:function(e,t,i){var n=i("e0d3"),a=n.makeInner,r=n.normalizeToArray,o=a();function s(e,t){for(var i=e.length,n=0;nt)return e[n];return e[i-1]}var l={clearColorPalette:function(){o(this).colorIdx=0,o(this).colorNameMap={}},getColorFromPalette:function(e,t,i){t=t||this;var n=o(t),a=n.colorIdx||0,l=n.colorNameMap=n.colorNameMap||{};if(l.hasOwnProperty(e))return l[e];var u=r(this.get("color",!0)),c=this.get("colorLayer",!0),h=null!=i&&c?s(c,i):u;if(h=h||u,h&&h.length){var d=h[a];return e&&(l[e]=d),n.colorIdx=(a+1)%h.length,d}}};e.exports=l},e4d1:function(e,t,i){i("6932"),i("3a56"),i("7dcf"),i("3790"),i("2325"),i("2c17"),i("9e87")},e6cd:function(e,t,i){var n=i("6d8b");function a(){var e,t=[],i={};return{add:function(e,a,r,o,s){return n.isString(o)&&(s=o,o=0),!i[e.id]&&(i[e.id]=1,t.push({el:e,target:a,time:r,delay:o,easing:s}),!0)},done:function(t){return e=t,this},start:function(){for(var n=t.length,a=0,r=t.length;at+d&&h>a+d&&h>o+d&&h>l+d||he+d&&c>i+d&&c>r+d&&c>s+d||cf&&(d=0,h={}),d++,h[i]=a,a}function x(e,t,i,n,a,r,o,s){return o?b(e,t,i,n,a,r,o,s):_(e,t,i,n,a,r,s)}function _(e,t,i,a,r,o,s){var l=k(e,t,r,o,s),u=y(e,t);r&&(u+=r[1]+r[3]);var c=l.outerHeight,h=w(0,u,i),d=S(0,c,a),f=new n(h,d,u,c);return f.lineHeight=l.lineHeight,f}function b(e,t,i,a,r,o,s,l){var u=O(e,{rich:s,truncate:l,font:t,textAlign:i,textPadding:r,textLineHeight:o}),c=u.outerWidth,h=u.outerHeight,d=w(0,c,i),f=S(0,h,a);return new n(d,f,c,h)}function w(e,t,i){return"right"===i?e-=t:"center"===i&&(e-=t/2),e}function S(e,t,i){return"middle"===i?e-=t/2:"bottom"===i&&(e-=t),e}function M(e,t,i){var n=t.textPosition,a=t.textDistance,r=i.x,o=i.y;a=a||0;var s=i.height,l=i.width,u=s/2,c="left",h="top";switch(n){case"left":r-=a,o+=u,c="right",h="middle";break;case"right":r+=a+l,o+=u,h="middle";break;case"top":r+=l/2,o-=a,c="center",h="bottom";break;case"bottom":r+=l/2,o+=s+a,c="center";break;case"inside":r+=l/2,o+=u,c="center",h="middle";break;case"insideLeft":r+=a,o+=u,h="middle";break;case"insideRight":r+=l-a,o+=u,c="right",h="middle";break;case"insideTop":r+=l/2,o+=a,c="center";break;case"insideBottom":r+=l/2,o+=s-a,c="center",h="bottom";break;case"insideTopLeft":r+=a,o+=a;break;case"insideTopRight":r+=l-a,o+=a,c="right";break;case"insideBottomLeft":r+=a,o+=s-a,h="bottom";break;case"insideBottomRight":r+=l-a,o+=s-a,c="right",h="bottom";break}return e=e||{},e.x=r,e.y=o,e.textAlign=c,e.textVerticalAlign=h,e}function I(e,t,i){var n={textPosition:e,textDistance:i};return M({},n,t)}function A(e,t,i,n,a){if(!t)return"";var r=(e+"").split("\n");a=T(t,i,n,a);for(var o=0,s=r.length;o=r;u++)o-=r;var c=y(i,t);return c>o&&(i="",c=0),o=e-c,n.ellipsis=i,n.ellipsisWidth=c,n.contentWidth=o,n.containerWidth=e,n}function C(e,t){var i=t.containerWidth,n=t.font,a=t.contentWidth;if(!i)return"";var r=y(e,n);if(r<=i)return e;for(var o=0;;o++){if(r<=a||o>=t.maxIterations){e+=t.ellipsis;break}var s=0===o?D(e,a,t.ascCharWidth,t.cnCharWidth):r>0?Math.floor(e.length*a/r):0;e=e.substr(0,s),r=y(e,n)}return""===e&&(e=t.placeholder),e}function D(e,t,i,n){for(var a=0,r=0,o=e.length;rh)e="",o=[];else if(null!=d)for(var f=T(d-(i?i[1]+i[3]:0),t,a.ellipsis,{minChar:a.minChar,placeholder:a.placeholder}),p=0,g=o.length;pr&&R(i,e.substring(r,o)),R(i,n[2],n[1]),r=p.lastIndex}rv)return{lines:[],width:0,height:0};M.textWidth=y(M.text,C);var P=I.textWidth,k=null==P||"auto"===P;if("string"===typeof P&&"%"===P.charAt(P.length-1))M.percentWidth=P,d.push(M),P=0;else{if(k){P=M.textWidth;var O=I.textBackgroundColor,E=O&&O.image;E&&(E=a.findExistImage(E),a.isImageReady(E)&&(P=Math.max(P,E.width*D/E.height)))}var N=T?T[1]+T[3]:0;P+=N;var z=null!=m?m-w:null;null!=z&&z"],a.isArray(e)&&(e=e.slice(),n=!0),r=t?e:n?[c(e[0]),c(e[1])]:c(e),a.isString(u)?u.replace("{value}",n?r[0]:r).replace("{value2}",n?r[1]:r):a.isFunction(u)?n?u(e[0],e[1]):u(e):n?e[0]===l[0]?i[0]+" "+r[1]:e[1]===l[1]?i[1]+" "+r[0]:r[0]+" - "+r[1]:r;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,i=e.dimensions;if(null!=t||i.length){if(null!=t)return e.getDimension(t);for(var n=e.dimensions,a=n.length-1;a>=0;a--){var r=n[a],o=e.getDimensionInfo(r);if(!o.isCalculationCoord)return r}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var e=this.ecModel,t=this.option,i={inRange:t.inRange,outOfRange:t.outOfRange},n=t.target||(t.target={}),r=t.controller||(t.controller={});a.merge(n,i),a.merge(r,i);var l=this.isCategory();function u(i){f(t.color)&&!i.inRange&&(i.inRange={color:t.color.slice().reverse()}),i.inRange=i.inRange||{color:e.get("gradientColor")},p(this.stateList,(function(e){var t=i[e];if(a.isString(t)){var n=o.get(t,"active",l);n?(i[e]={},i[e][t]=n):delete i[e]}}),this)}function c(e,t,i){var n=e[t],a=e[i];n&&!a&&(a=e[i]={},p(n,(function(e,t){if(s.isValidType(t)){var i=o.get(t,"inactive",l);null!=i&&(a[t]=i,"color"!==t||a.hasOwnProperty("opacity")||a.hasOwnProperty("colorAlpha")||(a.opacity=[0,0]))}})))}function g(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,i=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,n=this.get("inactiveColor");p(this.stateList,(function(r){var o=this.itemSize,s=e[r];s||(s=e[r]={color:l?n:[n]}),null==s.symbol&&(s.symbol=t&&a.clone(t)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=i&&a.clone(i)||(l?o[0]:[o[0],o[0]])),s.symbol=h(s.symbol,(function(e){return"none"===e||"square"===e?"roundRect":e}));var u=s.symbolSize;if(null!=u){var c=-1/0;d(u,(function(e){e>c&&(c=e)})),s.symbolSize=h(u,(function(e){return m(e,[0,c],[0,o[0]],!0)}))}}),this)}u.call(this,n),u.call(this,r),c.call(this,n,"inRange","outOfRange"),g.call(this,r)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v}),x=y;e.exports=x},eaeb:function(e,t,i){var n=i("6d8b");function a(e,t){return n.map(["Radius","Angle"],(function(i,n){var a=this["get"+i+"Axis"](),r=t[n],o=e[n]/2,s="dataTo"+i,l="category"===a.type?a.getBandWidth():Math.abs(a[s](r-o)-a[s](r+o));return"Angle"===i&&(l=l*Math.PI/180),l}),this)}function r(e){var t=e.getRadiusAxis(),i=e.getAngleAxis(),r=t.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:r[1],r0:r[0]},api:{coord:n.bind((function(n){var a=t.dataToRadius(n[0]),r=i.dataToAngle(n[1]),o=e.coordToPoint([a,r]);return o.push(a,r*Math.PI/180),o})),size:n.bind(a,e)}}}e.exports=r},eb6b:function(e,t,i){var n=i("6d8b"),a=i("e0d3"),r=a.makeInner,o=i("cd33"),s=i("133d"),l=n.each,u=n.curry,c=r();function h(e,t,i){var a=e.currTrigger,r=[e.x,e.y],o=e,c=e.dispatchAction||n.bind(i.dispatchAction,i),h=t.getComponent("axisPointer").coordSysAxesInfo;if(h){b(r)&&(r=s({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},t).point);var f=b(r),w=o.axesInfo,S=h.axesInfo,M="leave"===a||b(r),I={},A={},T={list:[],map:{}},C={showPointer:u(p,A),showTooltip:u(g,T)};l(h.coordSysMap,(function(e,t){var i=f||e.containPoint(r);l(h.coordSysAxesInfo[t],(function(e,t){var n=e.axis,a=x(w,e);if(!M&&i&&(!w||a)){var o=a&&a.value;null!=o||f||(o=n.pointToData(r)),null!=o&&d(e,o,C,!1,I)}}))}));var D={};return l(S,(function(e,t){var i=e.linkGroup;i&&!A[t]&&l(i.axesInfo,(function(t,n){var a=A[n];if(t!==e&&a){var r=a.value;i.mapper&&(r=e.axis.scale.parse(i.mapper(r,_(t),_(e)))),D[e.key]=r}}))})),l(D,(function(e,t){d(S[t],e,C,!0,I)})),m(A,S,I),v(T,r,e,c),y(S,c,i),I}}function d(e,t,i,a,r){var o=e.axis;if(!o.scale.isBlank()&&o.containData(t))if(e.involveSeries){var s=f(t,e),l=s.payloadBatch,u=s.snapToValue;l[0]&&null==r.seriesIndex&&n.extend(r,l[0]),!a&&e.snap&&o.containData(u)&&null!=u&&(t=u),i.showPointer(e,t,l,r),i.showTooltip(e,s,u)}else i.showPointer(e,t)}function f(e,t){var i=t.axis,n=i.dim,a=e,r=[],o=Number.MAX_VALUE,s=-1;return l(t.seriesModels,(function(t,u){var c,h,d=t.getData().mapDimension(n,!0);if(t.getAxisTooltipData){var f=t.getAxisTooltipData(d,e,i);h=f.dataIndices,c=f.nestestValue}else{if(h=t.getData().indicesOfNearest(d[0],e,"category"===i.type?.5:null),!h.length)return;c=t.getData().get(d[0],h[0])}if(null!=c&&isFinite(c)){var p=e-c,g=Math.abs(p);g<=o&&((g=0&&s<0)&&(o=g,s=p,a=c,r.length=0),l(h,(function(e){r.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})})))}})),{payloadBatch:r,snapToValue:a}}function p(e,t,i,n){e[t.key]={value:i,payloadBatch:n}}function g(e,t,i,n){var a=i.payloadBatch,r=t.axis,s=r.model,l=t.axisPointerModel;if(t.triggerTooltip&&a.length){var u=t.coordSys.model,c=o.makeKey(u),h=e.map[c];h||(h=e.map[c]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},e.list.push(h)),h.dataByAxis.push({axisDim:r.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:n,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:a.slice()})}}function m(e,t,i){var n=i.axesInfo=[];l(t,(function(t,i){var a=t.axisPointerModel.option,r=e[i];r?(!t.useHandle&&(a.status="show"),a.value=r.value,a.seriesDataIndices=(r.payloadBatch||[]).slice()):!t.useHandle&&(a.status="hide"),"show"===a.status&&n.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:a.value})}))}function v(e,t,i,n){if(!b(t)&&e.list.length){var a=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:e.list})}else n({type:"hideTip"})}function y(e,t,i){var a=i.getZr(),r="axisPointerLastHighlights",o=c(a)[r]||{},s=c(a)[r]={};l(e,(function(e,t){var i=e.axisPointerModel.option;"show"===i.status&&l(i.seriesDataIndices,(function(e){var t=e.seriesIndex+" | "+e.dataIndex;s[t]=e}))}));var u=[],h=[];n.each(o,(function(e,t){!s[t]&&h.push(e)})),n.each(s,(function(e,t){!o[t]&&u.push(e)})),h.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:h}),u.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:u})}function x(e,t){for(var i=0;i<(e||[]).length;i++){var n=e[i];if(t.axis.dim===n.axisDim&&t.axis.model.componentIndex===n.axisIndex)return n}}function _(e){var t=e.axis.model,i={},n=i.axisDim=e.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=t.componentIndex,i.axisName=i[n+"AxisName"]=t.name,i.axisId=i[n+"AxisId"]=t.id,i}function b(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}e.exports=h},ebf9:function(e,t,i){var n=i("3eba");n.registerAction("legendScroll","legendscroll",(function(e,t){var i=e.scrollDataIndex;null!=i&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},(function(e){e.setScrollDataIndex(i)}))}))},ec02:function(e,t,i){var n=i("6d8b"),a=i("84ce"),r=function(e,t,i,n,r){a.call(this,e,t,i),this.type=n||"value",this.position=r||"bottom"};r.prototype={constructor:r,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},getGlobalExtent:function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},toLocalCoord:null,toGlobalCoord:null},n.inherits(r,a);var o=r;e.exports=o},ec1b:function(e,t,i){!function(t,i){e.exports=i()}(0,(function(){return function(e){function t(n){if(i[n])return i[n].exports;var a=i[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var i={};return t.m=e,t.c=i,t.i=function(e){return e},t.d=function(e,i,n){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=2)}([function(e,t,i){var n=i(4)(i(1),i(5),null,null);e.exports=n.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(3);t.default={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator:function(e){return e>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(e,t,i,n){return i*(1-Math.pow(2,-10*e/n))*1024/1023+t}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=(0,n.requestAnimationFrame)(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){(0,n.cancelAnimationFrame)(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,(0,n.requestAnimationFrame)(this.count)},reset:function(){this.startTime=null,(0,n.cancelAnimationFrame)(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(e){this.startTime||(this.startTime=e),this.timestamp=e;var t=e-this.startTime;this.remaining=this.localDuration-t,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(t,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(t,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(t/this.localDuration):this.printVal=this.localStartVal+(this.localStartVal-this.startVal)*(t/this.localDuration),this.countDown?this.printVal=this.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),t1?this.decimal+t[1]:"",a=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;a.test(i);)i=i.replace(a,"$1"+this.separator+"$2");return this.prefix+i+n+this.suffix}},destroyed:function(){(0,n.cancelAnimationFrame)(this.rAF)}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),a=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=a.default,"undefined"!=typeof window&&window.Vue&&window.Vue.component("count-to",a.default)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=0,a="webkit moz ms o".split(" "),r=void 0,o=void 0;if("undefined"==typeof window)t.requestAnimationFrame=r=function(){},t.cancelAnimationFrame=o=function(){};else{t.requestAnimationFrame=r=window.requestAnimationFrame,t.cancelAnimationFrame=o=window.cancelAnimationFrame;for(var s=void 0,l=0;l=0&&i.splice(n,1),e.__hoverMir=null},clearHover:function(e){for(var t=this._hoverElements,i=0;i15)break}}o.__drawIndex=v,o.__drawIndex0&&e>n[0]){for(s=0;se)break;r=i[n[s]]}if(n.splice(s+1,0,e),i[e]=t,!t.virtual)if(r){var u=r.dom;u.nextSibling?l.insertBefore(t.dom,u.nextSibling):l.appendChild(t.dom)}else l.firstChild?l.insertBefore(t.dom,l.firstChild):l.appendChild(t.dom)}else o("Layer of zlevel "+e+" is not valid")},eachLayer:function(e,t){var i,n,a=this._zlevelList;for(n=0;n0?g:0),this._needsManuallyCompositing),l.__builtin__||o("ZLevel "+u+" has been used by unkown layer "+l.id),l!==r&&(l.__used=!0,l.__startIndex!==i&&(l.__dirty=!0),l.__startIndex=i,l.incremental?l.__drawIndex=-1:l.__drawIndex=i,t(i),r=l),n.__dirty&&(l.__dirty=!0,l.incremental&&l.__drawIndex<0&&(l.__drawIndex=i))}t(i),this.eachBuiltinLayer((function(e,t){!e.__used&&e.getElementCount()>0&&(e.__dirty=!0,e.__startIndex=e.__endIndex=e.__drawIndex=0),e.__dirty&&e.__drawIndex<0&&(e.__drawIndex=e.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(e){e.clear()},setBackgroundColor:function(e){this._backgroundColor=e},configLayer:function(e,t){if(t){var i=this._layerConfig;i[e]?r.merge(i[e],t,!0):i[e]=t;for(var n=0;n1?"."+e[1]:""))}function s(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}var l=n.normalizeCssArray,u=/([&<>"'])/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"};function h(e){return null==e?"":(e+"").replace(u,(function(e,t){return c[t]}))}var d=["a","b","c","d","e","f","g"],f=function(e,t){return"{"+e+(null==t?"":t)+"}"};function p(e,t,i){n.isArray(t)||(t=[t]);var a=t.length;if(!a)return"";for(var r=t[0].$vars||[],o=0;o':'':{renderMode:r,content:"{marker"+o+"|} ",style:{color:i}}:""}function v(e,t){return e+="","0000".substr(0,t-e.length)+e}function y(e,t,i){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var n=r.parseDate(t),a=i?"UTC":"",o=n["get"+a+"FullYear"](),s=n["get"+a+"Month"]()+1,l=n["get"+a+"Date"](),u=n["get"+a+"Hours"](),c=n["get"+a+"Minutes"](),h=n["get"+a+"Seconds"](),d=n["get"+a+"Milliseconds"]();return e=e.replace("MM",v(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",v(l,2)).replace("d",l).replace("hh",v(u,2)).replace("h",u).replace("mm",v(c,2)).replace("m",c).replace("ss",v(h,2)).replace("s",h).replace("SSS",v(d,3)),e}function x(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e}var _=a.truncateText;function b(e){return a.getBoundingRect(e.text,e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.textLineHeight,e.rich,e.truncate)}function w(e,t,i,n,r,o,s,l){return a.getBoundingRect(e,t,i,n,r,l,o,s)}function S(e,t){if("_blank"===t||"blank"===t){var i=window.open();i.opener=null,i.location=e}else window.open(e,t)}t.addCommas=o,t.toCamelCase=s,t.normalizeCssArray=l,t.encodeHTML=h,t.formatTpl=p,t.formatTplSimple=g,t.getTooltipMarker=m,t.formatTime=y,t.capitalFirst=x,t.truncateText=_,t.getTextBoundingRect=b,t.getTextRect=w,t.windowOpen=S},edaf:function(e,t,i){var n=i("6d8b"),a=i("6cb7"),r=i("6179"),o=i("e0d3"),s=a.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(e,t,i){this._data,this._names,this.mergeDefaultAndTheme(e,i),this._initData()},mergeOption:function(e){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(e){this.option.autoPlay=!!e},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var e=this.option,t=e.data||[],i=e.axisType,a=this._names=[];if("category"===i){var s=[];n.each(t,(function(e,t){var i,r=o.getDataItemValue(e);n.isObject(e)?(i=n.clone(e),i.value=t):i=t,s.push(i),n.isString(r)||null!=r&&!isNaN(r)||(r=""),a.push(r+"")})),t=s}var l={category:"ordinal",time:"time"}[i]||"number",u=this._data=new r([{name:"value",type:l}],this);u.initData(t,a)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;e.exports=l},edb9:function(e,t,i){var n=i("6d8b");function a(e,t){t=t||{};var i=e.coordinateSystem,a=e.axis,r={},o=a.position,s=a.orient,l=i.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};r.position=["vertical"===s?c.vertical[o]:u[0],"horizontal"===s?c.horizontal[o]:u[3]];var h={horizontal:0,vertical:1};r.rotation=Math.PI/2*h[s];var d={top:-1,bottom:1,right:1,left:-1};r.labelDirection=r.tickDirection=r.nameDirection=d[o],e.get("axisTick.inside")&&(r.tickDirection=-r.tickDirection),n.retrieve(t.labelInside,e.get("axisLabel.inside"))&&(r.labelDirection=-r.labelDirection);var f=t.rotate;return null==f&&(f=e.get("axisLabel.rotate")),r.labelRotation="top"===o?-f:f,r.z2=1,r}t.layout=a},ee1a:function(e,t,i){var n=i("6d8b"),a=n.each,r=n.isString;function o(e,t,i){i=i||{};var n,o,s,l,u=i.byIndex,c=i.stackedCoordDimension,h=!(!e||!e.get("stack"));if(a(t,(function(e,i){r(e)&&(t[i]=e={name:e}),h&&!e.isExtraCoord&&(u||n||!e.ordinalMeta||(n=e),o||"ordinal"===e.type||"time"===e.type||c&&c!==e.coordDim||(o=e))})),!o||u||n||(u=!0),o){s="__\0ecstackresult",l="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var d=o.coordDim,f=o.type,p=0;a(t,(function(e){e.coordDim===d&&p++})),t.push({name:s,coordDim:d,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0}),p++,t.push({name:l,coordDim:l,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:o&&o.name,stackedByDimension:n&&n.name,isStackedByIndex:u,stackedOverDimension:l,stackResultDimension:s}}function s(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function l(e,t){return s(e,t)?e.getCalculationInfo("stackResultDimension"):t}t.enableDataStack=o,t.isDimensionStacked=s,t.getStackedDimension=l},ee66:function(e,t,i){var n=i("3eba"),a=i("6d8b"),r=i("2306"),o=i("eda2"),s=i("3842"),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},u={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},c=n.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(e,t,i){var n=this.group;n.removeAll();var a=e.coordinateSystem,r=a.getRangeInfo(),o=a.getOrient();this._renderDayRect(e,r,n),this._renderLines(e,r,o,n),this._renderYearText(e,r,o,n),this._renderMonthText(e,o,n),this._renderWeekText(e,r,o,n)},_renderDayRect:function(e,t,i){for(var n=e.coordinateSystem,a=e.getModel("itemStyle").getItemStyle(),o=n.getCellWidth(),s=n.getCellHeight(),l=t.start.time;l<=t.end.time;l=n.getNextNDay(l,1).time){var u=n.dataToRect([l],!1).tl,c=new r.Rect({shape:{x:u[0],y:u[1],width:o,height:s},cursor:"default",style:a});i.add(c)}},_renderLines:function(e,t,i,n){var a=this,r=e.coordinateSystem,o=e.getModel("splitLine.lineStyle").getLineStyle(),s=e.get("splitLine.show"),l=o.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=t.start,c=0;u.time<=t.end.time;c++){d(u.formatedDate),0===c&&(u=r.getDateInfo(t.start.y+"-"+t.start.m));var h=u.date;h.setMonth(h.getMonth()+1),u=r.getDateInfo(h)}function d(t){a._firstDayOfMonth.push(r.getDateInfo(t)),a._firstDayPoints.push(r.dataToRect([t],!1).tl);var l=a._getLinePointsOfOneWeek(e,t,i);a._tlpoints.push(l[0]),a._blpoints.push(l[l.length-1]),s&&a._drawSplitline(l,o,n)}d(r.getNextNDay(t.end.time,1).formatedDate),s&&this._drawSplitline(a._getEdgesPoints(a._tlpoints,l,i),o,n),s&&this._drawSplitline(a._getEdgesPoints(a._blpoints,l,i),o,n)},_getEdgesPoints:function(e,t,i){var n=[e[0].slice(),e[e.length-1].slice()],a="horizontal"===i?0:1;return n[0][a]=n[0][a]-t/2,n[1][a]=n[1][a]+t/2,n},_drawSplitline:function(e,t,i){var n=new r.Polyline({z2:20,shape:{points:e},style:t});i.add(n)},_getLinePointsOfOneWeek:function(e,t,i){var n=e.coordinateSystem;t=n.getDateInfo(t);for(var a=[],r=0;r<7;r++){var o=n.getNextNDay(t.time,r),s=n.dataToRect([o.time],!1);a[2*o.day]=s.tl,a[2*o.day+1]=s["horizontal"===i?"bl":"tr"]}return a},_formatterLabel:function(e,t){return"string"===typeof e&&e?o.formatTplSimple(e,t):"function"===typeof e?e(t):t.nameMap},_yearTextPositionControl:function(e,t,i,n,a){t=t.slice();var r=["center","bottom"];"bottom"===n?(t[1]+=a,r=["center","top"]):"left"===n?t[0]-=a:"right"===n?(t[0]+=a,r=["center","top"]):t[1]-=a;var o=0;return"left"!==n&&"right"!==n||(o=Math.PI/2),{rotation:o,position:t,style:{textAlign:r[0],textVerticalAlign:r[1]}}},_renderYearText:function(e,t,i,n){var a=e.getModel("yearLabel");if(a.get("show")){var o=a.get("margin"),s=a.get("position");s||(s="horizontal"!==i?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,c=(l[0][1]+l[1][1])/2,h="horizontal"===i?0:1,d={top:[u,l[h][1]],bottom:[u,l[1-h][1]],left:[l[1-h][0],c],right:[l[h][0],c]},f=t.start.y;+t.end.y>+t.start.y&&(f=f+"-"+t.end.y);var p=a.get("formatter"),g={start:t.start.y,end:t.end.y,nameMap:f},m=this._formatterLabel(p,g),v=new r.Text({z2:30});r.setTextStyle(v.style,a,{text:m}),v.attr(this._yearTextPositionControl(v,d[s],i,s,o)),n.add(v)}},_monthTextPositionControl:function(e,t,i,n,a){var r="left",o="top",s=e[0],l=e[1];return"horizontal"===i?(l+=a,t&&(r="center"),"start"===n&&(o="bottom")):(s+=a,t&&(o="middle"),"start"===n&&(r="right")),{x:s,y:l,textAlign:r,textVerticalAlign:o}},_renderMonthText:function(e,t,i){var n=e.getModel("monthLabel");if(n.get("show")){var o=n.get("nameMap"),s=n.get("margin"),u=n.get("position"),c=n.get("align"),h=[this._tlpoints,this._blpoints];a.isString(o)&&(o=l[o.toUpperCase()]||[]);var d="start"===u?0:1,f="horizontal"===t?0:1;s="start"===u?-s:s;for(var p="center"===c,g=0;g1?(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 r=e.getBoxLayoutParams(),r.aspect=f,g=s.getLayoutRect(r,{width:h,height:d});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,i){e.addGeoCoord(i,t)}))}var f={dimensions:o.prototype.dimensions,create:function(e,t){var i=[];e.eachComponent("geo",(function(e,n){var a=e.get("map"),r=e.get("aspectScale"),s=!0,l=c.retrieveMap(a);l&&l[0]&&"svg"===l[0].type?(null==r&&(r=1),s=!1):null==r&&(r=.75);var u=new o(a+n,a,e.get("nameMap"),s);u.aspectScale=r,u.zoomLimit=e.get("scaleLimit"),i.push(u),d(u,e),e.coordinateSystem=u,u.model=e,u.resize=h,u.resize(e,t)})),e.eachSeries((function(e){var t=e.get("coordinateSystem");if("geo"===t){var n=e.get("geoIndex")||0;e.coordinateSystem=i[n]}}));var n={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();n[t]=n[t]||[],n[t].push(e)}})),r.each(n,(function(e,n){var a=r.map(e,(function(e){return e.get("nameMap")})),s=new o(n,n,r.mergeAll(a));s.zoomLimit=r.retrieve.apply(null,r.map(e,(function(e){return e.get("scaleLimit")}))),i.push(s),s.resize=h,s.aspectScale=e[0].get("aspectScale"),s.resize(e[0],t),r.each(e,(function(e){e.coordinateSystem=s,d(s,e)}))})),i},getFilledRegions:function(e,t,i){for(var n=(e||[]).slice(),a=r.createHashMap(),o=0;os&&(t[1-r]=t[r]+f.sign*s),t}function n(e,t){var i=e[t]-e[1-t];return{span:Math.abs(i),sign:i>0?-1:i<0?1:t?-1:1}}function a(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}e.exports=i},ef97:function(e,t,i){var n=i("3eba");i("217b"),i("f17f");var a=i("7f96"),r=i("87c3"),o=i("fdde");i("01ed"),n.registerVisual(a("line","circle","line")),n.registerLayout(r("line")),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,o("line"))},ef97a:function(e,t,i){var n=i("3eba");i("2163"),i("6cd8"),i("bf9b");var a=i("7f96"),r=i("ca29");n.registerVisual(a("tree","circle")),n.registerLayout(r)},f123:function(e,t,i){var n=i("9f82"),a=n.prepareDataCoordInfo,r=n.getStackedOnPoint;function o(e,t){var i=[];return t.diff(e).add((function(e){i.push({cmd:"+",idx:e})})).update((function(e,t){i.push({cmd:"=",idx:t,idx1:e})})).remove((function(e){i.push({cmd:"-",idx:e})})).execute(),i}function s(e,t,i,n,s,l,u,c){for(var h=o(e,t),d=[],f=[],p=[],g=[],m=[],v=[],y=[],x=a(s,t,u),_=a(l,e,c),b=0;b=0;o--){var s=i[o].dimension,l=e.dimensions[s],u=e.getDimensionInfo(l);if(n=u&&u.coordDim,"x"===n||"y"===n){r=i[o];break}}if(r){var h=t.getAxis(n),d=a.map(r.stops,(function(e){return{coord:h.toGlobalCoord(h.dataToCoord(e.value)),color:e.color}})),f=d.length,p=r.outerColors.slice();f&&d[0].coord>d[f-1].coord&&(d.reverse(),p.reverse());var g=10,m=d[0].coord-g,v=d[f-1].coord+g,y=v-m;if(y<.001)return"transparent";a.each(d,(function(e){e.offset=(e.coord-m)/y})),d.push({offset:f?d[f-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:p[0]||"transparent"});var x=new c.LinearGradient(0,0,0,0,d,!0);return x[n]=m,x[n+"2"]=v,x}}}function C(e,t,i){var n=e.get("showAllSymbol"),r="auto"===n;if(!n||r){var o=i.getAxesByScale("ordinal")[0];if(o&&(!r||!D(o,t))){var s=t.mapDimension(o.dim),l={};return a.each(o.getViewLabels(),(function(e){l[e.tickValue]=1})),function(e){return!l.hasOwnProperty(t.get(s,e))}}}}function D(e,t){var i=e.getExtent(),n=Math.abs(i[1]-i[0])/e.scale.count();isNaN(n)&&(n=0);for(var a=t.count(),r=Math.max(1,Math.round(a/5)),o=0;on)return!1;return!0}function L(e,t,i){if("cartesian2d"===e.type){var n=e.getBaseAxis().isHorizontal(),a=_(e,t,i);if(!i.get("clip",!0)){var r=a.shape,o=Math.max(r.width,r.height);n?(r.y-=o,r.height+=2*o):(r.x-=o,r.width+=2*o)}return a}return b(e,t,i)}var P=g.extend({type:"line",init:function(){var e=new c.Group,t=new s;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},render:function(e,t,i){var n=e.coordinateSystem,r=this.group,o=e.getData(),s=e.getModel("lineStyle"),l=e.getModel("areaStyle"),u=o.mapArray(o.getItemLayout),c="polar"===n.type,h=this._coordSys,d=this._symbolDraw,f=this._polyline,p=this._polygon,g=this._lineGroup,m=e.get("animation"),y=!l.isEmpty(),x=l.get("origin"),_=v(n,o,x),b=I(n,o,_),S=e.get("showSymbol"),D=S&&!c&&C(e,o,n),P=this._data;P&&P.eachItemGraphicEl((function(e,t){e.__temp&&(r.remove(e),P.setItemGraphicEl(t,null))})),S||d.remove(),r.add(g);var k,O=!c&&e.get("step");n&&n.getArea&&e.get("clip",!0)&&(k=n.getArea(),null!=k.width?(k.x-=.1,k.y-=.1,k.width+=.2,k.height+=.2):k.r0&&(k.r0-=.5,k.r1+=.5)),this._clipShapeForSymbol=k,f&&h.type===n.type&&O===this._step?(y&&!p?p=this._newPolygon(u,b,n,m):p&&!y&&(g.remove(p),p=this._polygon=null),g.setClipPath(L(n,!1,e)),S&&d.updateData(o,{isIgnore:D,clipShape:k}),o.eachItemGraphicEl((function(e){e.stopAnimation(!0)})),w(this._stackedOnPoints,b)&&w(this._points,u)||(m?this._updateAnimation(o,b,n,i,O,x):(O&&(u=A(u,n,O),b=A(b,n,O)),f.setShape({points:u}),p&&p.setShape({points:u,stackedOnPoints:b})))):(S&&d.updateData(o,{isIgnore:D,clipShape:k}),O&&(u=A(u,n,O),b=A(b,n,O)),f=this._newPolyline(u,n,m),y&&(p=this._newPolygon(u,b,n,m)),g.setClipPath(L(n,!0,e)));var R=T(o,n)||o.getVisual("color");f.useStyle(a.defaults(s.getLineStyle(),{fill:"none",stroke:R,lineJoin:"bevel"}));var E=e.get("smooth");if(E=M(e.get("smooth")),f.setShape({smooth:E,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),p){var N=o.getCalculationInfo("stackedOnSeries"),z=0;p.useStyle(a.defaults(l.getAreaStyle(),{fill:R,opacity:.7,lineJoin:"bevel"})),N&&(z=M(N.get("smooth"))),p.setShape({smooth:E,stackedOnSmooth:z,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=o,this._coordSys=n,this._stackedOnPoints=b,this._points=u,this._step=O,this._valueOrigin=x},dispose:function(){},highlight:function(e,t,i,n){var a=e.getData(),r=h.queryDataIndex(a,n);if(!(r instanceof Array)&&null!=r&&r>=0){var o=a.getItemGraphicEl(r);if(!o){var s=a.getItemLayout(r);if(!s)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s[0],s[1]))return;o=new l(a,r),o.position=s,o.setZ(e.get("zlevel"),e.get("z")),o.ignore=isNaN(s[0])||isNaN(s[1]),o.__temp=!0,a.setItemGraphicEl(r,o),o.stopSymbolAnimation(!0),this.group.add(o)}o.highlight()}else g.prototype.highlight.call(this,e,t,i,n)},downplay:function(e,t,i,n){var a=e.getData(),r=h.queryDataIndex(a,n);if(null!=r&&r>=0){var o=a.getItemGraphicEl(r);o&&(o.__temp?(a.setItemGraphicEl(r,null),this.group.remove(o)):o.downplay())}else g.prototype.downplay.call(this,e,t,i,n)},_newPolyline:function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new f({shape:{points:e},silent:!0,z2:10}),this._lineGroup.add(t),this._polyline=t,t},_newPolygon:function(e,t){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new p({shape:{points:e,stackedOnPoints:t},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_updateAnimation:function(e,t,i,n,a,r){var o=this._polyline,s=this._polygon,l=e.hostModel,h=u(this._data,e,this._stackedOnPoints,t,this._coordSys,i,this._valueOrigin,r),d=h.current,f=h.stackedOnCurrent,p=h.next,g=h.stackedOnNext;if(a&&(d=A(h.current,i,a),f=A(h.stackedOnCurrent,i,a),p=A(h.next,i,a),g=A(h.stackedOnNext,i,a)),S(d,p)>3e3||s&&S(f,g)>3e3)return o.setShape({points:p}),void(s&&s.setShape({points:p,stackedOnPoints:g}));o.shape.__points=h.current,o.shape.points=d,c.updateProps(o,{shape:{points:p}},l),s&&(s.setShape({points:d,stackedOnPoints:f}),c.updateProps(s,{shape:{points:p,stackedOnPoints:g}},l));for(var m=[],v=h.status,y=0;ys)return;var a=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==a.behavior&&this._dispatchExpand({axisExpandWindow:a.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&u(this,"mousemove")){var t=this._model,i=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),n=i.behavior;"jump"===n&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===n?null:{axisExpandWindow:i.axisExpandWindow,animation:"jump"===n&&null})}}};function u(e,t){var i=e._model;return i.get("axisExpandable")&&i.get("axisExpandTriggerOn")===t}n.registerPreprocessor(o)},f31f:function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("3eba")),r=i("6d8b"),o=i("2b8c"),s=i("4319"),l=["#ddd"],u=a.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(e,t){var i=this.option;!t&&o.replaceVisualOption(i,e,["inBrush","outOfBrush"]);var n=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:l},n.hasOwnProperty("liftZ")||(n.liftZ=5)},setAreas:function(e){e&&(this.areas=r.map(e,(function(e){return c(this.option,e)}),this))},setBrushOption:function(e){this.brushOption=c(this.option,e),this.brushType=this.brushOption.brushType}});function c(e,t){return r.merge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new s(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var h=u;e.exports=h},f47d:function(e,t,i){var n=i("6d8b"),a=(n.assert,n.isArray),r=i("4e08");r.__DEV__;function o(e){return new s(e)}function s(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0,this.context}var l=s.prototype;l.perform=function(e){var t,i=this._upstream,n=e&&e.skip;if(this._dirty&&i){var r=this.context;r.data=r.outputData=i.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!n&&(t=this._plan(this.context));var o,s=f(this._modBy),l=this._modDataCount||0,u=f(e&&e.modBy),d=e&&e.modDataCount||0;function f(e){return!(e>=1)&&(e=1),e}s===u&&l===d||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,o=h(this,n)),this._modBy=u,this._modDataCount=d;var p=e&&e.step;if(this._dueEnd=i?i._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var g=this._dueIndex,m=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!n&&(o||g1&&n>0?s:o}};return r;function o(){return t=e?null:r=0;v--){var y=m[v],x=y.node,_=y.width,b=y.text;g>p.width&&(g-=_-c,_=c,b=null);var w=new n.Polygon({shape:{points:d(l,0,_,h,v===m.length-1,0===v)},style:r.defaults(i.getItemStyle(),{lineJoin:"bevel",text:b,textFill:o.getTextColor(),textFont:o.getFont()}),z:10,onclick:r.curry(s,x)});this.group.add(w),f(w,e,x),l+=_+u}},remove:function(){this.group.removeAll()}};var p=h;e.exports=p},f6ed:function(e,t,i){var n=i("6d8b");function a(e,t){var i={};return n.each(e,(function(e){e.each(e.mapDimension("value"),(function(t,n){var a="ec-"+e.getName(n);i[a]=i[a]||[],isNaN(t)||i[a].push(t)}))})),e[0].map(e[0].mapDimension("value"),(function(n,a){for(var r,o="ec-"+e[0].getName(a),s=0,l=1/0,u=-1/0,c=i[o].length,h=0;hn||l.newline?(r=0,c=m,o+=s+i,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);h=o+v,h>a||l.newline?(r+=s+i,o=0,h=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=r,d[1]=o,"horizontal"===e?r=c+i:o=h+i)}))}var d=h,f=n.curry(h,"vertical"),p=n.curry(h,"horizontal");function g(e,t,i){var n=t.width,a=t.height,r=o(e.x,n),l=o(e.y,a),u=o(e.x2,n),c=o(e.y2,a);return(isNaN(r)||isNaN(parseFloat(e.x)))&&(r=0),(isNaN(u)||isNaN(parseFloat(e.x2)))&&(u=n),(isNaN(l)||isNaN(parseFloat(e.y)))&&(l=0),(isNaN(c)||isNaN(parseFloat(e.y2)))&&(c=a),i=s.normalizeCssArray(i||0),{width:Math.max(u-r-i[1]-i[3],0),height:Math.max(c-l-i[0]-i[2],0)}}function m(e,t,i){i=s.normalizeCssArray(i||0);var n=t.width,r=t.height,l=o(e.left,n),u=o(e.top,r),c=o(e.right,n),h=o(e.bottom,r),d=o(e.width,n),f=o(e.height,r),p=i[2]+i[0],g=i[1]+i[3],m=e.aspect;switch(isNaN(d)&&(d=n-c-g-l),isNaN(f)&&(f=r-h-p-u),null!=m&&(isNaN(d)&&isNaN(f)&&(m>n/r?d=.8*n:f=.8*r),isNaN(d)&&(d=m*f),isNaN(f)&&(f=d/m)),isNaN(l)&&(l=n-c-d-g),isNaN(u)&&(u=r-h-f-p),e.left||e.right){case"center":l=n/2-d/2-i[3];break;case"right":l=n-d-g;break}switch(e.top||e.bottom){case"middle":case"center":u=r/2-f/2-i[0];break;case"bottom":u=r-f-p;break}l=l||0,u=u||0,isNaN(d)&&(d=n-g-l-(c||0)),isNaN(f)&&(f=r-p-u-(h||0));var v=new a(l+i[3],u+i[0],d,f);return v.margin=i,v}function v(e,t,i,r,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 a(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(c=e.getBoundingRect(),e.needLocalTransform()){var h=e.getLocalTransform();c=c.clone(),c.applyTransform(h)}t=m(n.defaults({width:c.width,height:c.height},t),i,r);var d=e.position,f=s?t.x-c.x:0,p=l?t.y-c.y:0;e.attr("position","raw"===u?[f,p]:[d[0]+f,d[1]+p])}}function y(e,t){return null!=e[c[t][0]]||null!=e[c[t][1]]&&null!=e[c[t][2]]}function x(e,t,i){!n.isObject(i)&&(i={});var a=i.ignoreSize;!n.isArray(a)&&(a=[a,a]);var r=s(c[0],0),o=s(c[1],1);function s(i,n){var r={},o=0,s={},c=0,d=2;if(l(i,(function(t){s[t]=e[t]})),l(i,(function(e){u(t,e)&&(r[e]=s[e]=t[e]),h(r,e)&&o++,h(s,e)&&c++})),a[n])return h(t,i[1])?s[i[2]]=null:h(t,i[2])&&(s[i[1]]=null),s;if(c!==d&&o){if(o>=d)return r;for(var f=0;ff[1]?-1:1,g=["start"===s?f[0]-p*d:"end"===s?f[1]+p*d:(f[0]+f[1])/2,P(s)?e.labelOffset+c*d:0],m=t.get("nameRotate");null!=m&&(m=m*b/180),P(s)?n=I(e.rotation,null!=m?m:e.rotation,c):(n=A(e,s,m||0,f),r=e.axisNameAvailableWidth,null!=r&&(r=Math.abs(r/Math.sin(n.rotation)),!isFinite(r)&&(r=null)));var v=h.getFont(),y=t.get("nameTruncate",!0)||{},x=y.ellipsis,_=a(e.nameTruncateMaxWidth,y.maxWidth,r),w=null!=x&&null!=_?l.truncateText(i,_,v,x,{minChar:2,placeholder:y.placeholder}):i,S=t.get("tooltip",!0),C=t.mainType,D={componentType:C,name:i,$vars:["name"]};D[C+"Index"]=t.componentIndex;var L=new u.Text({anid:"name",__fullText:i,__truncatedText:w,position:g,rotation:n.rotation,silent:T(t),z2:1,tooltip:S&&S.show?o({content:i,formatter:function(){return i},formatterParams:D},S):null});u.setTextStyle(L.style,h,{text:w,textFont:v,textFill:h.getTextColor()||t.get("axisLine.lineStyle.color"),textAlign:h.get("align")||n.textAlign,textVerticalAlign:h.get("verticalAlign")||n.textVerticalAlign}),t.get("triggerEvent")&&(L.eventData=M(t),L.eventData.targetType="axisName",L.eventData.name=i),this._dumbGroup.add(L),L.updateTransform(),this.group.add(L),L.decomposeTransform()}}},M=w.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},I=w.innerTextLayout=function(e,t,i){var n,a,r=f(t-e);return d(r)?(a=i>0?"top":"bottom",n="center"):d(r-b)?(a=i>0?"bottom":"top",n="center"):(a="middle",n=r>0&&r0?"right":"left":i>0?"left":"right"),{rotation:r,textAlign:n,textVerticalAlign:a}};function A(e,t,i,n){var a,r,o=f(i-e.rotation),s=n[0]>n[1],l="start"===t&&!s||"start"!==t&&s;return d(o-b/2)?(r=l?"bottom":"top",a="center"):d(o-1.5*b)?(r=l?"top":"bottom",a="center"):(r="middle",a=o<1.5*b&&o>b/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:a,textVerticalAlign:r}}var T=w.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)};function C(e,t,i){if(!_(e.axis)){var n=e.get("axisLabel.showMinLabel"),a=e.get("axisLabel.showMaxLabel");t=t||[],i=i||[];var r=t[0],o=t[1],s=t[t.length-1],l=t[t.length-2],u=i[0],c=i[1],h=i[i.length-1],d=i[i.length-2];!1===n?(D(r),D(u)):L(r,o)&&(n?(D(o),D(c)):(D(r),D(u))),!1===a?(D(s),D(h)):L(l,s)&&(a?(D(l),D(d)):(D(s),D(h)))}}function D(e){e&&(e.ignore=!0)}function L(e,t,i){var n=e&&e.getBoundingRect().clone(),a=t&&t.getBoundingRect().clone();if(n&&a){var r=m.identity([]);return m.rotate(r,r,-e.rotation),n.applyTransform(m.mul([],r,e.getLocalTransform())),a.applyTransform(m.mul([],r,t.getLocalTransform())),n.intersect(a)}}function P(e){return"middle"===e||"center"===e}function k(e,t,i,n,a){for(var r=[],o=[],s=[],l=0;lm}function B(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function F(e,t,i,n){var a=new o.Group;return a.add(new o.Rect({name:"main",style:U(i),silent:!0,draggable:!0,cursor:"move",drift:u(e,t,a,"nswe"),ondragend:u(z,t,{isEnd:!0})})),c(n,(function(i){a.add(new o.Rect({name:i,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:u(e,t,a,i),ondragend:u(z,t,{isEnd:!0})}))})),a}function G(e,t,i,n){var a=n.brushStyle.lineWidth||0,r=f(a,v),o=i[0][0],s=i[1][0],l=o-a/2,u=s-a/2,c=i[0][1],h=i[1][1],d=c-r+a/2,p=h-r+a/2,g=c-o,m=h-s,y=g+a,x=m+a;W(e,t,"main",o,s,g,m),n.transformable&&(W(e,t,"w",l,u,r,x),W(e,t,"e",d,u,r,x),W(e,t,"n",l,u,y,r),W(e,t,"s",l,p,y,r),W(e,t,"nw",l,u,r,r),W(e,t,"ne",d,u,r,r),W(e,t,"sw",l,p,r,r),W(e,t,"se",d,p,r,r))}function H(e,t){var i=t.__brushOption,n=i.transformable,a=t.childAt(0);a.useStyle(U(i)),a.attr({silent:!n,cursor:n?"move":"default"}),c(["w","e","n","s","se","sw","ne","nw"],(function(i){var a=t.childOfName(i),r=j(e,i);a&&a.attr({silent:!n,invisible:!n,cursor:n?_[r]+"-resize":null})}))}function W(e,t,i,n,a,r,o){var s=t.childOfName(i);s&&s.setShape(J($(e,t,[[n,a],[n+r,a+o]])))}function U(e){return a.defaults({strokeNoScale:!0},e.brushStyle)}function Z(e,t,i,n){var a=[d(e,i),d(t,n)],r=[f(e,i),f(t,n)];return[[a[0],r[0]],[a[1],r[1]]]}function Y(e){return o.getTransform(e.group)}function j(e,t){if(t.length>1){t=t.split("");var i=[j(e,t[0]),j(e,t[1])];return("e"===i[0]||"w"===i[0])&&i.reverse(),i.join("")}var n={w:"left",e:"right",n:"top",s:"bottom"},a={left:"w",right:"e",top:"n",bottom:"s"};i=o.transformDirection(n[t],Y(e));return a[i]}function X(e,t,i,n,a,r,o,s){var l=n.__brushOption,u=e(l.range),h=K(i,r,o);c(a.split(""),(function(e){var t=x[e];u[t[0]][t[1]]+=h[t[0]]})),l.range=t(Z(u[0][0],u[1][0],u[0][1],u[1][1])),k(i,n),z(i,{isEnd:!1})}function q(e,t,i,n,a){var r=t.__brushOption.range,o=K(e,i,n);c(r,(function(e){e[0]+=o[0],e[1]+=o[1]})),k(e,t),z(e,{isEnd:!1})}function K(e,t,i){var n=e.group,a=n.transformCoordToLocal(t,i),r=n.transformCoordToLocal(0,0);return[a[0]-r[0],a[1]-r[1]]}function $(e,t,i){var n=E(e,t);return n&&!0!==n?n.clipPath(i,e._transform):a.clone(i)}function J(e){var t=d(e[0][0],e[1][0]),i=d(e[0][1],e[1][1]),n=f(e[0][0],e[1][0]),a=f(e[0][1],e[1][1]);return{x:t,y:i,width:n-t,height:a-i}}function Q(e,t,i){if(e._brushType&&!oe(e,t)){var n=e._zr,a=e._covers,r=R(e,t,i);if(!e._dragging)for(var o=0;on.getWidth()||i<0||i>n.getHeight()}var se={lineX:le(0),lineY:le(1),rect:{createCover:function(e,t){return F(u(X,(function(e){return e}),(function(e){return e})),e,t,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(e){var t=B(e);return Z(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,i,n){G(e,t,i,n)},updateCommon:H,contain:te},polygon:{createCover:function(e,t){var i=new o.Group;return i.add(new o.Polyline({name:"main",style:U(t),silent:!0})),i},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new o.Polygon({name:"main",draggable:!0,drift:u(q,e,t),ondragend:u(z,e,{isEnd:!0})}))},updateCoverShape:function(e,t,i,n){t.childAt(0).setShape({points:$(e,t,i)})},updateCommon:H,contain:te}};function le(e){return{createCover:function(t,i){return F(u(X,(function(t){var i=[t,[0,100]];return e&&i.reverse(),i}),(function(t){return t[e]})),t,i,[["w","e"],["n","s"]][e])},getCreatingRange:function(t){var i=B(t),n=d(i[0][e],i[1][e]),a=f(i[0][e],i[1][e]);return[n,a]},updateCoverShape:function(t,i,n,a){var r,o=E(t,i);if(!0!==o&&o.getLinearBrushOtherExtent)r=o.getLinearBrushOtherExtent(e,t._transform);else{var s=t._zr;r=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[n,r];e&&l.reverse(),G(t,i,l,a)},updateCommon:H,contain:te}}var ue=S;e.exports=ue},fd27:function(e,t,i){var n=i("9273"),a=i("a991"),r=function(e){this.name=e||"",this.cx=0,this.cy=0,this._radiusAxis=new n,this._angleAxis=new a,this._radiusAxis.polar=this._angleAxis.polar=this};r.prototype={type:"polar",axisPointerEnabled:!0,constructor:r,dimensions:["radius","angle"],model:null,containPoint:function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},containData:function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},getAxis:function(e){return this["_"+e+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(e){var t=[],i=this._angleAxis,n=this._radiusAxis;return i.scale.type===e&&t.push(i),n.scale.type===e&&t.push(n),t},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(e){var t=null!=e&&"auto"!==e?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},dataToPoint:function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},pointToData:function(e,t){var i=this.pointToCoord(e);return[this._radiusAxis.radiusToData(i[0],t),this._angleAxis.angleToData(i[1],t)]},pointToCoord:function(e){var t=e[0]-this.cx,i=e[1]-this.cy,n=this.getAngleAxis(),a=n.getExtent(),r=Math.min(a[0],a[1]),o=Math.max(a[0],a[1]);n.inverse?r=o-360:o=r+360;var s=Math.sqrt(t*t+i*i);t/=s,i/=s;var l=Math.atan2(-i,t)/Math.PI*180,u=lo)l+=360*u;return[s,l]},coordToPoint:function(e){var t=e[0],i=e[1]/180*Math.PI,n=Math.cos(i)*t+this.cx,a=-Math.sin(i)*t+this.cy;return[n,a]},getArea:function(){var e=this.getAngleAxis(),t=this.getRadiusAxis(),i=t.getExtent().slice();i[0]>i[1]&&i.reverse();var n=e.getExtent(),a=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:i[0],r:i[1],startAngle:-n[0]*a,endAngle:-n[1]*a,clockwise:e.inverse,contain:function(e,t){var i=e-this.cx,n=t-this.cy,a=i*i+n*n,r=this.r,o=this.r0;return a<=r*r&&a>=o*o}}}};var o=r;e.exports=o},fd63:function(e,t,i){var n=i("42e5"),a=i("6d8b"),r=a.isFunction,o={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var i=e.getData(),a=(e.visualColorAccessPath||"itemStyle.color").split("."),o=e.get(a),s=!r(o)||o instanceof n?null:o;o&&!s||(o=e.getColorFromPalette(e.name,null,t.getSeriesCount())),i.setVisual("color",o);var l=(e.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),u=e.get(l);if(i.setVisual("borderColor",u),!t.isSeriesFiltered(e)){s&&i.each((function(t){i.setItemVisual(t,"color",s(e.getDataParams(t)))}));var c=function(e,t){var i=e.getItemModel(t),n=i.get(a,!0),r=i.get(l,!0);null!=n&&e.setItemVisual(t,"color",n),null!=r&&e.setItemVisual(t,"borderColor",r)};return{dataEach:i.hasItemOption?c:null}}}};e.exports=o},fdde:function(e,t){var i={average:function(e){for(var t=0,i=0,n=0;nt&&(t=e[i]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,i=0;i1)"string"===typeof o?l=i[o]:"function"===typeof o&&(l=o),l&&e.setData(r.downSample(r.mapDimension(c.dim),1/f,l,n))}}}}e.exports=a},fe21:function(e,t,i){var n=i("e86a"),a=i("2306"),r=["textStyle","color"],o={getTextColor:function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(r):null)},getFont:function(){return a.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(e){return n.getBoundingRect(e,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};e.exports=o},febc:function(e,t,i){var n=i("6d8b"),a=i("4f85"),r=i("e468"),o=r.seriesModelMixin,s=a.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});n.mixin(s,o,!0);var l=s;e.exports=l},fecb:function(e,t,i){var n=i("6d8b"),a=i("2145"),r=i("29a8"),o=r.toolbox.brush;function s(e,t,i){this.model=e,this.ecModel=t,this.api=i,this._brushType,this._brushMode}s.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:n.clone(o.title)};var l=s.prototype;l.render=l.updateView=function(e,t,i){var a,r,o;t.eachComponent({mainType:"brush"},(function(e){a=e.brushType,r=e.brushOption.brushMode||"single",o|=e.areas.length})),this._brushType=a,this._brushMode=r,n.each(e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===r:"clear"===t?o:t===a)?"emphasis":"normal")}))},l.getIcons=function(){var e=this.model,t=e.get("icon",!0),i={};return n.each(e.get("type",!0),(function(e){t[e]&&(i[e]=t[e])})),i},l.onclick=function(e,t,i){var n=this._brushType,a=this._brushMode;"clear"===i?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===i?n:n!==i&&i,brushMode:"keep"===i?"multiple"===a?"single":"multiple":a}})},a.register("brush",s);var u=s;e.exports=u},ff2e:function(e,t,i){var n=i("6d8b"),a=i("2306"),r=i("e86a"),o=i("eda2"),s=i("1687"),l=i("697e"),u=i("fab2");function c(e){var t,i=e.get("type"),n=e.getModel(i+"Style");return"line"===i?(t=n.getLineStyle(),t.fill=null):"shadow"===i&&(t=n.getAreaStyle(),t.stroke=null),t}function h(e,t,i,n,a){var s=i.get("value"),l=f(s,t.axis,t.ecModel,i.get("seriesDataIndices"),{precision:i.get("label.precision"),formatter:i.get("label.formatter")}),u=i.getModel("label"),c=o.normalizeCssArray(u.get("padding")||0),h=u.getFont(),p=r.getBoundingRect(l,h),g=a.position,m=p.width+c[1]+c[3],v=p.height+c[0]+c[2],y=a.align;"right"===y&&(g[0]-=m),"center"===y&&(g[0]-=m/2);var x=a.verticalAlign;"bottom"===x&&(g[1]-=v),"middle"===x&&(g[1]-=v/2),d(g,m,v,n);var _=u.get("backgroundColor");_&&"auto"!==_||(_=t.get("axisLine.lineStyle.color")),e.label={shape:{x:0,y:0,width:m,height:v,r:u.get("borderRadius")},position:g.slice(),style:{text:l,textFont:h,textFill:u.getTextColor(),textPosition:"inside",textPadding:c,fill:_,stroke:u.get("borderColor")||"transparent",lineWidth:u.get("borderWidth")||0,shadowBlur:u.get("shadowBlur"),shadowColor:u.get("shadowColor"),shadowOffsetX:u.get("shadowOffsetX"),shadowOffsetY:u.get("shadowOffsetY")},z2:10}}function d(e,t,i,n){var a=n.getWidth(),r=n.getHeight();e[0]=Math.min(e[0]+t,a)-t,e[1]=Math.min(e[1]+i,r)-i,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function f(e,t,i,a,r){e=t.scale.parse(e);var o=t.scale.getLabel(e,{precision:r.precision}),s=r.formatter;if(s){var u={value:l.getAxisRawValue(t,e),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};n.each(a,(function(e){var t=i.getSeriesByIndex(e.seriesIndex),n=e.dataIndexInside,a=t&&t.getDataParams(n);a&&u.seriesData.push(a)})),n.isString(s)?o=s.replace("{value}",o):n.isFunction(s)&&(o=s(u))}return o}function p(e,t,i){var n=s.create();return s.rotate(n,n,i.rotation),s.translate(n,n,i.position),a.applyTransform([e.dataToCoord(t),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],n)}function g(e,t,i,n,a,r){var o=u.innerTextLayout(i.rotation,0,i.labelDirection);i.labelMargin=a.get("label.margin"),h(t,n,a,r,{position:p(n.axis,e,i),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function m(e,t,i){return i=i||0,{x1:e[i],y1:e[1-i],x2:t[i],y2:t[1-i]}}function v(e,t,i){return i=i||0,{x:e[i],y:e[1-i],width:t[i],height:t[1-i]}}function y(e,t,i,n,a,r){return{cx:e,cy:t,r0:i,r:n,startAngle:a,endAngle:r,clockwise:!0}}t.buildElStyle=c,t.buildLabelElOption=h,t.getValueLabel=f,t.getTransformedPosition=p,t.buildCartesianSingleLabelElOption=g,t.makeLineShape=m,t.makeRectShape=v,t.makeSectorShape=y}}]); \ No newline at end of file diff --git a/jbs-front/static/js/chunk-59a8d4d2.6afb700b.js b/jbs-front/static/js/chunk-59a8d4d2.6afb700b.js deleted file mode 100644 index c9678cc..0000000 --- a/jbs-front/static/js/chunk-59a8d4d2.6afb700b.js +++ /dev/null @@ -1,24 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-59a8d4d2","chunk-09f23c09","chunk-722e9a88","chunk-7dd028a3","chunk-3f93175c","chunk-6e89bd4a","chunk-aef2ddc0","chunk-d19c1a98","chunk-2d0a2db2","chunk-2d0f012d"],{"0028":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{padding:"30px"}},[n("div",{staticClass:"search"},[n("el-form",{attrs:{inline:!0}},[n("el-form-item",{staticStyle:{"margin-right":"50px"},attrs:{label:"用户昵称:"}},[n("el-input",{attrs:{clearable:"",placeholder:"请输入剧本标题"},model:{value:e.queryParams.query.nickName,callback:function(t){e.$set(e.queryParams.query,"nickName",t)},expression:"queryParams.query.nickName"}})],1),n("el-form-item",{staticStyle:{"margin-right":"50px"},attrs:{label:"用户编号:"}},[n("el-input",{attrs:{clearable:"",placeholder:"请输入工作室"},model:{value:e.queryParams.query.code,callback:function(t){e.$set(e.queryParams.query,"code",t)},expression:"queryParams.query.code"}})],1),n("el-form-item",{staticStyle:{"margin-right":"50px"},attrs:{label:"联系电话:"}},[n("el-input",{attrs:{clearable:"",placeholder:"请输入标签"},model:{value:e.queryParams.query.phonenumber,callback:function(t){e.$set(e.queryParams.query,"phonenumber",t)},expression:"queryParams.query.phonenumber"}})],1),n("el-form-item",{staticStyle:{"margin-right":"50px"},attrs:{label:"注册时间:"}},[n("el-date-picker",{attrs:{type:"daterange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd"},model:{value:e.time,callback:function(t){e.time=t},expression:"time"}})],1)],1),n("div",{staticClass:"search-button"},[n("el-button",{staticStyle:{height:"36px",width:"100px"},attrs:{size:"medium",type:"primary"},on:{click:e.search}},[e._v("搜索")]),n("el-button",{staticStyle:{"margin-left":"20px",height:"36px",width:"100px"},attrs:{size:"medium"},on:{click:e.refresh}},[e._v("重置")])],1)],1),n("div",{staticClass:"content"},[n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"singleTable",staticStyle:{width:"100%"},attrs:{data:e.tableData,border:""}},[n("el-table-column",{attrs:{align:"center",type:"index",label:"序号",width:"50"}}),n("el-table-column",{attrs:{align:"center",property:"avatar",label:"头像"},scopedSlots:e._u([{key:"default",fn:function(e){return[n("div",[n("img",{staticStyle:{width:"50px",height:"50px"},attrs:{src:e.row.avatar,alt:""}})])]}}])}),n("el-table-column",{attrs:{align:"center",property:"nickName",label:"昵称"}}),n("el-table-column",{attrs:{align:"center",property:"code",label:"编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",[n("span",[e._v(e._s(t.row.code))]),n("i",{staticClass:"el-icon-edit-outline",staticStyle:{float:"right","font-size":"14px"},on:{click:function(n){return e.handleEditCode(t.row)}}})])]}}])}),n("el-table-column",{attrs:{align:"center",property:"phonenumber",label:"联系电话"}}),n("el-table-column",{attrs:{align:"center",property:"createTime",label:"注册时间"}}),n("el-table-column",{attrs:{align:"center",property:"level",label:"用户等级"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(e.levelormat(t.row))+" ")]}}])}),n("el-table-column",{attrs:{align:"center",property:"remark",label:"备注"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",[n("span",[e._v(e._s(t.row.remark))]),n("i",{staticClass:"el-icon-edit-outline",staticStyle:{float:"right","font-size":"14px"},on:{click:function(n){return e.handleEditRemark(t.row)}}})])]}}])}),n("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(n){return e.handleEdit(t.row)}}},[e._v("修改等级")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total > 0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.queryUserInfo}})],1),n("el-dialog",{attrs:{title:e.dialog.title,visible:e.dialog.Visible,center:"",width:"350px"},on:{"update:visible":function(t){return e.$set(e.dialog,"Visible",t)}}},[n("el-form",{attrs:{model:e.form,inline:!0}},["level"==e.type?n("div",[n("el-form-item",{staticStyle:{width:"100%"},attrs:{label:"客户昵称:"}},[n("span",[e._v(e._s(e.data.nickName))])]),n("el-form-item",{staticStyle:{width:"100%"},attrs:{label:"客户等级:"}},[n("span",[e._v(e._s(e.levelormat(e.data)))])]),n("el-form-item",{staticStyle:{width:"100%"},attrs:{label:"修改为:"}},[n("el-select",{attrs:{placeholder:"请选择客户等级"},model:{value:e.form.level,callback:function(t){e.$set(e.form,"level",t)},expression:"form.level"}},e._l(e.level,(function(e){return n("el-option",{key:e,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1)],1):e._e(),"code"==e.type?n("div",[n("el-form-item",{attrs:{label:"客户编号"}},[n("el-input",{attrs:{clearable:"",placeholder:"请输入客户编号"},model:{value:e.form.code,callback:function(t){e.$set(e.form,"code",t)},expression:"form.code"}})],1)],1):e._e(),"remark"==e.type?n("div",[n("el-form-item",{attrs:{label:"备注"}},[n("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:5,placeholder:"请输入备注"},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1)],1):e._e()]),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.dialog.Visible=!1}}},[e._v("取 消")]),n("el-button",{attrs:{type:"primary"},on:{click:e.subMit}},[e._v("确 定")])],1)],1)],1)},r=[],a=n("e9ff"),o=(n("e186"),n("2d8e")),s={data:function(){return{loading:!0,queryParams:{pageNum:1,pageSize:15,query:{nickName:void 0,code:void 0,phonenumber:void 0,params:{beginTime:void 0,endTime:void 0}}},time:[],total:0,tableData:[],form:{userId:""},dialog:{Visible:!1,title:""},level:[],data:{},type:"level"}},created:function(){var e=this;this.getDicts("jbs_user_level").then((function(t){e.level=t.data}))},mounted:function(){this.queryUserInfo()},methods:{queryUserInfo:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,Object(o["a"])(e.queryParams);case 4:n=t.sent,200==n.code&&(e.loading=!1,e.tableData=n.rows,e.total=n.total),t.next=10;break;case 8:t.prev=8,t.t0=t["catch"](1);case 10:case"end":return t.stop()}}),t,null,[[1,8]])})))()},search:function(){null!=this.time?this.time.length>0&&(this.queryParams.query.params.beginTime=this.time[0],this.queryParams.query.params.endTime=this.time[1]):(this.time=[],this.queryParams.query.params.beginTime=void 0,this.queryParams.query.params.endTime=void 0),this.queryUserInfo()},refresh:function(){this.time=[],this.queryParams={pageNum:1,pageSize:15,query:{nickName:void 0,code:void 0,phonenumber:void 0},params:{beginTime:void 0,endTime:void 0}},this.queryUserInfo()},levelormat:function(e,t){return this.selectDictLabel(this.level,e.level)},handleEdit:function(e){this.form={},this.dialog.Visible=!0,this.dialog.title="修改用户等级",this.type="level",this.form.userId=e.userId,this.data=e},handleEditCode:function(e){this.form={},this.dialog.Visible=!0,this.dialog.title="修改用户编号",this.form.userId=e.userId,this.type="code",this.data=e},handleEditRemark:function(e){this.form={},this.dialog.Visible=!0,this.dialog.title="修改用户备注",this.form.userId=e.userId,this.type="remark",this.data=e},subMit:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("level"!=e.type){t.next=4;break}if(void 0!=e.form.level&&""!=e.form.level){t.next=4;break}return e.$message({message:"请选择用户等级",type:"error"}),t.abrupt("return",!1);case 4:if("code"!=e.type){t.next=8;break}if(void 0!=e.form.code&&""!=e.form.code){t.next=8;break}return e.$message({message:"请输入用户编号",type:"error"}),t.abrupt("return",!1);case 8:if("remark"!=e.type){t.next=12;break}if(void 0!=e.form.remark&&""!=e.form.remark){t.next=12;break}return e.$message({message:"请输入用户备注",type:"error"}),t.abrupt("return",!1);case 12:return t.prev=12,t.next=15,Object(o["b"])(e.form);case 15:n=t.sent,200==n.code&&(e.$message.success("修改成功"),e.dialog.Visible=!1,e.queryUserInfo()),t.next=21;break;case 19:t.prev=19,t.t0=t["catch"](12);case 21:case"end":return t.stop()}}),t,null,[[12,19]])})))()}}},l=s,c=(n("67f7"),n("cba8")),u=Object(c["a"])(l,i,r,!1,null,"5cff2ee3",null);t["default"]=u.exports},"0062":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,inline:!0,"label-width":"68px"}},[n("el-form-item",{attrs:{label:"任务名称",prop:"jobName"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入任务名称",clearable:"",size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.jobName,callback:function(t){e.$set(e.queryParams,"jobName",t)},expression:"queryParams.jobName"}})],1),n("el-form-item",{attrs:{label:"任务组名",prop:"jobGroup"}},[n("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"请任务组名",clearable:"",size:"small"},model:{value:e.queryParams.jobGroup,callback:function(t){e.$set(e.queryParams,"jobGroup",t)},expression:"queryParams.jobGroup"}},e._l(e.jobGroupOptions,(function(e){return n("el-option",{key:e.dictValue,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1),n("el-form-item",{attrs:{label:"执行状态",prop:"status"}},[n("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"请选择执行状态",clearable:"",size:"small"},model:{value:e.queryParams.status,callback:function(t){e.$set(e.queryParams,"status",t)},expression:"queryParams.status"}},e._l(e.statusOptions,(function(e){return n("el-option",{key:e.dictValue,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1),n("el-form-item",{attrs:{label:"执行时间"}},[n("el-date-picker",{staticStyle:{width:"240px"},attrs:{size:"small","value-format":"yyyy-MM-dd",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.dateRange,callback:function(t){e.dateRange=t},expression:"dateRange"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置")])],1)],1),n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:remove"],expression:"['monitor:job:remove']"}],attrs:{type:"danger",plain:"",icon:"el-icon-delete",size:"mini",disabled:e.multiple},on:{click:e.handleDelete}},[e._v("删除")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:remove"],expression:"['monitor:job:remove']"}],attrs:{type:"danger",plain:"",icon:"el-icon-delete",size:"mini"},on:{click:e.handleClean}},[e._v("清空")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:export"],expression:"['monitor:job:export']"}],attrs:{type:"warning",plain:"",icon:"el-icon-download",size:"mini"},on:{click:e.handleExport}},[e._v("导出")])],1),n("right-toolbar",{attrs:{showSearch:e.showSearch},on:{"update:showSearch":function(t){e.showSearch=t},"update:show-search":function(t){e.showSearch=t},queryTable:e.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.jobLogList},on:{"selection-change":e.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),n("el-table-column",{attrs:{label:"日志编号",width:"80",align:"center",prop:"jobLogId"}}),n("el-table-column",{attrs:{label:"任务名称",align:"center",prop:"jobName","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"任务组名",align:"center",prop:"jobGroup",formatter:e.jobGroupFormat,"show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"调用目标字符串",align:"center",prop:"invokeTarget","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"日志信息",align:"center",prop:"jobMessage","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"执行状态",align:"center",prop:"status",formatter:e.statusFormat}}),n("el-table-column",{attrs:{label:"执行时间",align:"center",prop:"createTime",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(e.parseTime(t.row.createTime)))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:query"],expression:"['monitor:job:query']"}],attrs:{size:"mini",type:"text",icon:"el-icon-view"},on:{click:function(n){return e.handleView(t.row)}}},[e._v("详细")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}}),n("el-dialog",{attrs:{title:"调度日志详细",visible:e.open,width:"700px","append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[n("el-form",{ref:"form",attrs:{model:e.form,"label-width":"100px",size:"mini"}},[n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"日志序号:"}},[e._v(e._s(e.form.jobLogId))]),n("el-form-item",{attrs:{label:"任务名称:"}},[e._v(e._s(e.form.jobName))])],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"任务分组:"}},[e._v(e._s(e.form.jobGroup))]),n("el-form-item",{attrs:{label:"执行时间:"}},[e._v(e._s(e.form.createTime))])],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"调用方法:"}},[e._v(e._s(e.form.invokeTarget))])],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"日志信息:"}},[e._v(e._s(e.form.jobMessage))])],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"执行状态:"}},[0==e.form.status?n("div",[e._v("正常")]):1==e.form.status?n("div",[e._v("失败")]):e._e()])],1),n("el-col",{attrs:{span:24}},[1==e.form.status?n("el-form-item",{attrs:{label:"异常信息:"}},[e._v(e._s(e.form.exceptionInfo))]):e._e()],1)],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.open=!1}}},[e._v("关 闭")])],1)],1)],1)},r=[],a=(n("6540"),n("b775"));function o(e){return Object(a["a"])({url:"/monitor/jobLog/list",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/monitor/jobLog/"+e,method:"delete"})}function l(){return Object(a["a"])({url:"/monitor/jobLog/clean",method:"delete"})}function c(e){return Object(a["a"])({url:"/monitor/jobLog/export",method:"get",params:e})}var u={name:"JobLog",data:function(){return{loading:!0,ids:[],multiple:!0,showSearch:!0,total:0,jobLogList:[],open:!1,dateRange:[],form:{},statusOptions:[],jobGroupOptions:[],queryParams:{pageNum:1,pageSize:10,jobName:void 0,jobGroup:void 0,status:void 0}}},created:function(){var e=this;this.getList(),this.getDicts("sys_job_status").then((function(t){e.statusOptions=t.data})),this.getDicts("sys_job_group").then((function(t){e.jobGroupOptions=t.data}))},methods:{getList:function(){var e=this;this.loading=!0,o(this.addDateRange(this.queryParams,this.dateRange)).then((function(t){e.jobLogList=t.rows,e.total=t.total,e.loading=!1}))},statusFormat:function(e,t){return this.selectDictLabel(this.statusOptions,e.status)},jobGroupFormat:function(e,t){return this.selectDictLabel(this.jobGroupOptions,e.jobGroup)},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.jobLogId})),this.multiple=!e.length},handleView:function(e){this.open=!0,this.form=e},handleDelete:function(e){var t=this,n=this.ids;this.$confirm('是否确认删除调度日志编号为"'+n+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return s(n)})).then((function(){t.getList(),t.msgSuccess("删除成功")}))},handleClean:function(){var e=this;this.$confirm("是否确认清空所有调度日志数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return l()})).then((function(){e.getList(),e.msgSuccess("清空成功")}))},handleExport:function(){var e=this,t=this.queryParams;this.$confirm("是否确认导出所有调度日志数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return c(t)})).then((function(t){e.download(t.data)}))}}},d=u,p=n("cba8"),f=Object(p["a"])(d,i,r,!1,null,null,null);t["default"]=f.exports},"0126":function(e,t,n){(function(t){ -/*! - * Quill Editor v1.3.7 - * https://quilljs.com/ - * Copyright (c) 2014, Jason Chen - * Copyright (c) 2013, salesforce.com - */ -(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=109)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(17),r=n(18),a=n(19),o=n(45),s=n(46),l=n(47),c=n(48),u=n(49),d=n(12),p=n(32),f=n(33),h=n(31),m=n(1),_={Scope:m.Scope,create:m.create,find:m.find,query:m.query,register:m.register,Container:i.default,Format:r.default,Leaf:a.default,Embed:c.default,Scroll:o.default,Block:l.default,Inline:s.default,Text:u.default,Attributor:{Attribute:d.default,Class:p.default,Style:f.default,Store:h.default}};t.default=_},function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(t){var n=this;return t="[Parchment] "+t,n=e.call(this,t)||this,n.message=t,n.name=n.constructor.name,n}return i(t,e),t}(Error);t.ParchmentError=r;var a,o={},s={},l={},c={};function u(e,t){var n=p(e);if(null==n)throw new r("Unable to create "+e+" blot");var i=n,a=e instanceof Node||e["nodeType"]===Node.TEXT_NODE?e:i.create(t);return new i(a,t)}function d(e,n){return void 0===n&&(n=!1),null==e?null:null!=e[t.DATA_KEY]?e[t.DATA_KEY].blot:n?d(e.parentNode,n):null}function p(e,t){var n;if(void 0===t&&(t=a.ANY),"string"===typeof e)n=c[e]||o[e];else if(e instanceof Text||e["nodeType"]===Node.TEXT_NODE)n=c["text"];else if("number"===typeof e)e&a.LEVEL&a.BLOCK?n=c["block"]:e&a.LEVEL&a.INLINE&&(n=c["inline"]);else if(e instanceof HTMLElement){var i=(e.getAttribute("class")||"").split(/\s+/);for(var r in i)if(n=s[i[r]],n)break;n=n||l[e.tagName]}return null==n?null:t&a.LEVEL&n.scope&&t&a.TYPE&n.scope?n:null}function f(){for(var e=[],t=0;t1)return e.map((function(e){return f(e)}));var n=e[0];if("string"!==typeof n.blotName&&"string"!==typeof n.attrName)throw new r("Invalid definition");if("abstract"===n.blotName)throw new r("Cannot register abstract class");if(c[n.blotName||n.attrName]=n,"string"===typeof n.keyName)o[n.keyName]=n;else if(null!=n.className&&(s[n.className]=n),null!=n.tagName){Array.isArray(n.tagName)?n.tagName=n.tagName.map((function(e){return e.toUpperCase()})):n.tagName=n.tagName.toUpperCase();var i=Array.isArray(n.tagName)?n.tagName:[n.tagName];i.forEach((function(e){null!=l[e]&&null!=n.className||(l[e]=n)}))}return n}t.DATA_KEY="__blot",function(e){e[e["TYPE"]=3]="TYPE",e[e["LEVEL"]=12]="LEVEL",e[e["ATTRIBUTE"]=13]="ATTRIBUTE",e[e["BLOT"]=14]="BLOT",e[e["INLINE"]=7]="INLINE",e[e["BLOCK"]=11]="BLOCK",e[e["BLOCK_BLOT"]=10]="BLOCK_BLOT",e[e["INLINE_BLOT"]=6]="INLINE_BLOT",e[e["BLOCK_ATTRIBUTE"]=9]="BLOCK_ATTRIBUTE",e[e["INLINE_ATTRIBUTE"]=5]="INLINE_ATTRIBUTE",e[e["ANY"]=15]="ANY"}(a=t.Scope||(t.Scope={})),t.create=u,t.find=d,t.query=p,t.register=f},function(e,t,n){var i=n(51),r=n(11),a=n(3),o=n(20),s=String.fromCharCode(0),l=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};l.prototype.insert=function(e,t){var n={};return 0===e.length?this:(n.insert=e,null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},l.prototype["delete"]=function(e){return e<=0?this:this.push({delete:e})},l.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},l.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=a(!0,{},e),"object"===typeof n){if("number"===typeof e["delete"]&&"number"===typeof n["delete"])return this.ops[t-1]={delete:n["delete"]+e["delete"]},this;if("number"===typeof n["delete"]&&null!=e.insert&&(t-=1,n=this.ops[t-1],"object"!==typeof n))return this.ops.unshift(e),this;if(r(e.attributes,n.attributes)){if("string"===typeof e.insert&&"string"===typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"===typeof e.retain&&"number"===typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},l.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},l.prototype.filter=function(e){return this.ops.filter(e)},l.prototype.forEach=function(e){this.ops.forEach(e)},l.prototype.map=function(e){return this.ops.map(e)},l.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(i){var r=e(i)?t:n;r.push(i)})),[t,n]},l.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},l.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+o.length(t):t.delete?e-t.delete:e}),0)},l.prototype.length=function(){return this.reduce((function(e,t){return e+o.length(t)}),0)},l.prototype.slice=function(e,t){e=e||0,"number"!==typeof t&&(t=1/0);var n=[],i=o.iterator(this.ops),r=0;while(r0&&n.next(a.retain-s)}var c=new l(i);while(t.hasNext()||n.hasNext())if("insert"===n.peekType())c.push(n.next());else if("delete"===t.peekType())c.push(t.next());else{var u=Math.min(t.peekLength(),n.peekLength()),d=t.next(u),p=n.next(u);if("number"===typeof p.retain){var f={};"number"===typeof d.retain?f.retain=u:f.insert=d.insert;var h=o.attributes.compose(d.attributes,p.attributes,"number"===typeof d.retain);if(h&&(f.attributes=h),c.push(f),!n.hasNext()&&r(c.ops[c.ops.length-1],f)){var m=new l(t.rest());return c.concat(m).chop()}}else"number"===typeof p["delete"]&&"number"===typeof d.retain&&c.push(p)}return c.chop()},l.prototype.concat=function(e){var t=new l(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},l.prototype.diff=function(e,t){if(this.ops===e.ops)return new l;var n=[this,e].map((function(t){return t.map((function(n){if(null!=n.insert)return"string"===typeof n.insert?n.insert:s;var i=t===e?"on":"with";throw new Error("diff() called "+i+" non-document")})).join("")})),a=new l,c=i(n[0],n[1],t),u=o.iterator(this.ops),d=o.iterator(e.ops);return c.forEach((function(e){var t=e[1].length;while(t>0){var n=0;switch(e[0]){case i.INSERT:n=Math.min(d.peekLength(),t),a.push(d.next(n));break;case i.DELETE:n=Math.min(t,u.peekLength()),u.next(n),a["delete"](n);break;case i.EQUAL:n=Math.min(u.peekLength(),d.peekLength(),t);var s=u.next(n),l=d.next(n);r(s.insert,l.insert)?a.retain(n,o.attributes.diff(s.attributes,l.attributes)):a.push(l)["delete"](n);break}t-=n}})),a.chop()},l.prototype.eachLine=function(e,t){t=t||"\n";var n=o.iterator(this.ops),i=new l,r=0;while(n.hasNext()){if("insert"!==n.peekType())return;var a=n.peek(),s=o.length(a)-n.peekLength(),c="string"===typeof a.insert?a.insert.indexOf(t,s)-s:-1;if(c<0)i.push(n.next());else if(c>0)i.push(n.next(c));else{if(!1===e(i,n.next(1).attributes||{},r))return;r+=1,i=new l}}i.length()>0&&e(i,{},r)},l.prototype.transform=function(e,t){if(t=!!t,"number"===typeof e)return this.transformPosition(e,t);var n=o.iterator(this.ops),i=o.iterator(e.ops),r=new l;while(n.hasNext()||i.hasNext())if("insert"!==n.peekType()||!t&&"insert"===i.peekType())if("insert"===i.peekType())r.push(i.next());else{var a=Math.min(n.peekLength(),i.peekLength()),s=n.next(a),c=i.next(a);if(s["delete"])continue;c["delete"]?r.push(c):r.retain(a,o.attributes.transform(s.attributes,c.attributes,t))}else r.retain(o.length(n.next()));return r.chop()},l.prototype.transformPosition=function(e,t){t=!!t;var n=o.iterator(this.ops),i=0;while(n.hasNext()&&i<=e){var r=n.peekLength(),a=n.peekType();n.next(),"delete"!==a?("insert"===a&&(i0&&(e1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-w)){var i=this.clone();return 0===e?(this.parent.insertBefore(i,this),this):(this.parent.insertBefore(i,this.next),i)}var a=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},a}}]),t}(u.default.Block);function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"===typeof e.formats&&(t=(0,o.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:O(e.parent,t))}k.blotName="block",k.tagName="P",k.defaultChild="break",k.allowedChildren=[h.default,u.default.Embed,_.default],t.bubbleFormats=O,t.BlockEmbed=x,t.default=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done);i=!0)if(n.push(o.value),t&&n.length===t)break}catch(l){r=!0,a=l}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(E(this,e),this.options=j(t,i),this.container=this.options.container,null==this.container)return T.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var r=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new d.default,this.scroll=m.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new c.default(this.scroll),this.selection=new g.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(d.default.events.EDITOR_CHANGE,(function(e){e===d.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(d.default.events.SCROLL_UPDATE,(function(e,t){var i=n.selection.lastRange,r=i&&0===i.length?i.index:void 0;C.call(n,(function(){return n.editor.update(null,t,r)}),e)}));var a=this.clipboard.convert("
"+r+"


");this.setContents(a),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return a(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),w.default.level(e)}},{key:"find",value:function(e){return e.__quill||m.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&T.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!==typeof e){var r=e.attrName||e.blotName;"string"===typeof r?this.register("formats/"+r,e,t):Object.keys(e).forEach((function(i){n.register(i,e[i],t)}))}else null==this.imports[e]||i||T.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?m.default.register(t):e.startsWith("modules")&&"function"===typeof t.register&&t.register()}}]),a(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof e){var n=e;e=document.createElement("div"),e.classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var i=this,a=P(e,t,n),o=r(a,4);return e=o[0],t=o[1],n=o[3],C.call(this,(function(){return i.editor.deleteText(e,t)}),n,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.default.sources.API;return C.call(this,(function(){var i=n.getSelection(!0),r=new s.default;if(null==i)return r;if(m.default.query(e,m.default.Scope.BLOCK))r=n.editor.formatLine(i.index,i.length,S({},e,t));else{if(0===i.length)return n.selection.format(e,t),r;r=n.editor.formatText(i.index,i.length,S({},e,t))}return n.setSelection(i,d.default.sources.SILENT),r}),i)}},{key:"formatLine",value:function(e,t,n,i,a){var o=this,s=void 0,l=P(e,t,n,i,a),c=r(l,4);return e=c[0],t=c[1],s=c[2],a=c[3],C.call(this,(function(){return o.editor.formatLine(e,t,s)}),a,e,0)}},{key:"formatText",value:function(e,t,n,i,a){var o=this,s=void 0,l=P(e,t,n,i,a),c=r(l,4);return e=c[0],t=c[1],s=c[2],a=c[3],C.call(this,(function(){return o.editor.formatText(e,t,s)}),a,e,0)}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"===typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length);var i=this.container.getBoundingClientRect();return{bottom:n.bottom-i.top,height:n.height,left:n.left-i.left,right:n.right-i.left,top:n.top-i.top,width:n.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=P(e,t),i=r(n,2);return e=i[0],t=i[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=P(e,t),i=r(n,2);return e=i[0],t=i[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,i){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return C.call(this,(function(){return r.editor.insertEmbed(t,n,i)}),a,t)}},{key:"insertText",value:function(e,t,n,i,a){var o=this,s=void 0,l=P(e,0,n,i,a),c=r(l,4);return e=c[0],s=c[2],a=c[3],C.call(this,(function(){return o.editor.insertText(e,t,s)}),a,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,n){this.clipboard.dangerouslyPasteHTML(e,t,n)}},{key:"removeFormat",value:function(e,t,n){var i=this,a=P(e,t,n),o=r(a,4);return e=o[0],t=o[1],n=o[3],C.call(this,(function(){return i.editor.removeFormat(e,t)}),n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.default.sources.API;return C.call(this,(function(){e=new s.default(e);var n=t.getLength(),i=t.editor.deleteText(0,n),r=t.editor.applyDelta(e),a=r.ops[r.ops.length-1];null!=a&&"string"===typeof a.insert&&"\n"===a.insert[a.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),r.delete(1));var o=i.compose(r);return o}),n)}},{key:"setSelection",value:function(t,n,i){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var a=P(t,n,i),o=r(a,4);t=o[0],n=o[1],i=o[3],this.selection.setRange(new _.Range(t,n),i),i!==d.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.default.sources.API,n=(new s.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.default.sources.API;return C.call(this,(function(){return e=new s.default(e),t.editor.applyDelta(e,n)}),n,!0)}}]),e}();function j(e,t){if(t=(0,b.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t),t.theme&&t.theme!==N.DEFAULTS.theme){if(t.theme=N.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=k.default;var n=(0,b.default)(!0,{},t.theme.DEFAULTS);[n,t].forEach((function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach((function(t){!0===e.modules[t]&&(e.modules[t]={})}))}));var i=Object.keys(n.modules).concat(Object.keys(t.modules)),r=i.reduce((function(e,t){var n=N.import("modules/"+t);return null==n?T.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=n.DEFAULTS||{},e}),{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,b.default)(!0,{},N.DEFAULTS,{modules:r},n,t),["bounds","container","scrollingContainer"].forEach((function(e){"string"===typeof t[e]&&(t[e]=document.querySelector(t[e]))})),t.modules=Object.keys(t.modules).reduce((function(e,n){return t.modules[n]&&(e[n]=t.modules[n]),e}),{}),t}function C(e,t,n,i){if(this.options.strict&&!this.isEnabled()&&t===d.default.sources.USER)return new s.default;var r=null==n?null:this.getSelection(),a=this.editor.delta,o=e();if(null!=r&&(!0===n&&(n=r.index),null==i?r=L(r,o,t):0!==i&&(r=L(r,n,i,t)),this.setSelection(r,d.default.sources.SILENT)),o.length()>0){var l,c,u=[d.default.events.TEXT_CHANGE,o,a,t];if((l=this.emitter).emit.apply(l,[d.default.events.EDITOR_CHANGE].concat(u)),t!==d.default.sources.SILENT)(c=this.emitter).emit.apply(c,u)}return o}function P(e,t,n,r,a){var o={};return"number"===typeof e.index&&"number"===typeof e.length?"number"!==typeof t?(a=r,r=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!==typeof t&&(a=r,r=n,n=t,t=0),"object"===("undefined"===typeof n?"undefined":i(n))?(o=n,a=r):"string"===typeof n&&(null!=r?o[n]=r:a=n),a=a||d.default.sources.API,[e,t,o,a]}function L(e,t,n,i){if(null==e)return null;var a=void 0,o=void 0;if(t instanceof s.default){var l=[e.index,e.index+e.length].map((function(e){return t.transformPosition(e,i!==d.default.sources.USER)})),c=r(l,2);a=c[0],o=c[1]}else{var u=[e.index,e.index+e.length].map((function(e){return e=0?e+n:Math.max(t,e+n)})),p=r(u,2);a=p[0],o=p[1]}return new _.Range(a,o-a)}N.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},N.events=d.default.events,N.sources=d.default.sources,N.version="1.3.7",N.imports={delta:s.default,parchment:m.default,"core/module":f.default,"core/theme":k.default},t.expandConfig=j,t.overload=P,t.default=N},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(e,n){var i=t.order.indexOf(e),r=t.order.indexOf(n);return i>=0||r>=0?i-r:e===n?0:e1?t-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:{};i(this,e),this.quill=t,this.options=n};r.DEFAULTS={},t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=["error","warn","log","info"],r="warn";function a(e){if(i.indexOf(e)<=i.indexOf(r)){for(var t,n=arguments.length,a=Array(n>1?n-1:0),o=1;o0&&"number"!==typeof e[0]))}function c(e,t,n){var c,u;if(s(e)||s(t))return!1;if(e.prototype!==t.prototype)return!1;if(a(e))return!!a(t)&&(e=i.call(e),t=i.call(t),o(e,t,n));if(l(e)){if(!l(t))return!1;if(e.length!==t.length)return!1;for(c=0;c=0;c--)if(d[c]!=p[c])return!1;for(c=d.length-1;c>=0;c--)if(u=d[c],!o(e[u],t[u],n))return!1;return typeof e===typeof t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),r=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var r=i.Scope.TYPE&i.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&i.Scope.LEVEL|r:this.scope=i.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,(function(e){return e.name}))},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){var n=i.query(e,i.Scope.BLOT&(this.scope|i.Scope.TYPE));return null!=n&&(null==this.whitelist||("string"===typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var i=function(){function e(e,t){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done);i=!0)if(n.push(o.value),t&&n.length===t)break}catch(l){r=!0,a=l}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n=e+n)){var o=this.newlineIndex(e,!0)+1,s=a-o+1,l=this.isolate(o,s),u=l.next;l.format(i,r),u instanceof t&&u.formatAt(0,e-o+n-s,i,r)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var r=this.descendant(m.default,e),a=i(r,2),o=a[0],s=a[1];o.insertAt(s,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var n=this.domNode.textContent.slice(e).indexOf("\n");return n>-1?e+n:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(c.default.create("text","\n")),a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(e){var t=c.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof c.default.Embed?t.remove():t.unwrap()}))}}],[{key:"create",value:function(e){var n=a(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}(d.default);w.blotName="code-block",w.tagName="PRE",w.TAB=" ",t.Code=y,t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done);i=!0)if(n.push(o.value),t&&n.length===t)break}catch(l){r=!0,a=l}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function e(e,t){for(var n=0;n=a&&!u.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,u);var p=t.scroll.line(e),f=r(p,2),h=f[0],m=f[1],v=(0,S.default)({},(0,_.bubbleFormats)(h));if(h instanceof g.default){var b=h.descendant(d.default.Leaf,m),y=r(b,1),w=y[0];v=(0,S.default)(v,(0,_.bubbleFormats)(w))}l=c.default.attributes.diff(v,l)||{}}else if("object"===i(o.insert)){var x=Object.keys(o.insert)[0];if(null==x)return e;t.scroll.insertAt(e,x,o.insert[x])}a+=s}return Object.keys(l).forEach((function(n){t.scroll.formatAt(e,s,n,l[n])})),e+s}),0),e.reduce((function(e,n){return"number"===typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new s.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(i).forEach((function(r){if(null==n.scroll.whitelist||n.scroll.whitelist[r]){var a=n.scroll.lines(e,Math.max(t,1)),o=t;a.forEach((function(t){var a=t.length();if(t instanceof f.default){var s=e-t.offset(n.scroll),l=t.newlineIndex(s+o)-s+1;t.formatAt(s,l,r,i[r])}else t.format(r,i[r]);o-=a}))}})),this.scroll.optimize(),this.update((new s.default).retain(e).retain(t,(0,w.default)(i)))}},{key:"formatText",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(i).forEach((function(r){n.scroll.formatAt(e,t,r,i[r])})),this.update((new s.default).retain(e).retain(t,(0,w.default)(i)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(e,t){return e.concat(t.delta())}),new s.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],i=[];0===t?this.scroll.path(e).forEach((function(e){var t=r(e,1),a=t[0];a instanceof g.default?n.push(a):a instanceof d.default.Leaf&&i.push(a)})):(n=this.scroll.lines(e,t),i=this.scroll.descendants(d.default.Leaf,e,t));var a=[n,i].map((function(e){if(0===e.length)return{};var t=(0,_.bubbleFormats)(e.shift());while(Object.keys(t).length>0){var n=e.shift();if(null==n)return t;t=P((0,_.bubbleFormats)(n),t)}return t}));return S.default.apply(S.default,a)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter((function(e){return"string"===typeof e.insert})).map((function(e){return e.insert})).join("")}},{key:"insertEmbed",value:function(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new s.default).retain(e).insert(T({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(i).forEach((function(r){n.scroll.formatAt(e,t.length,r,i[r])})),this.update((new s.default).retain(e).insert(t,(0,w.default)(i)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===g.default.blotName&&(!(e.children.length>1)&&e.children.head instanceof b.default)}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),i=this.scroll.line(e+t),a=r(i,2),o=a[0],l=a[1],c=0,u=new s.default;null!=o&&(c=o instanceof f.default?o.newlineIndex(l)-l+1:o.length()-l,u=o.delta().slice(l,l+c-1).insert("\n"));var d=this.getContents(e,t+c),p=d.diff((new s.default).insert(n).concat(u)),h=(new s.default).retain(e).concat(p);return this.applyDelta(h)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(j)&&d.default.find(t[0].target)){var r=d.default.find(t[0].target),a=(0,_.bubbleFormats)(r),o=r.offset(this.scroll),l=t[0].oldValue.replace(m.default.CONTENTS,""),c=(new s.default).insert(l),u=(new s.default).insert(r.value()),p=(new s.default).retain(o).concat(c.diff(u,n));e=p.reduce((function(e,t){return t.insert?e.insert(t.insert,a):e.push(t)}),new s.default),this.delta=i.compose(e)}else this.delta=this.getDelta(),e&&(0,k.default)(i.compose(e),this.delta)||(e=i.diff(this.delta,n));return e}}]),e}();function P(e,t){return Object.keys(t).reduce((function(n,i){return null==e[i]||(t[i]===e[i]?n[i]=t[i]:Array.isArray(t[i])?t[i].indexOf(e[i])<0&&(n[i]=t[i].concat([e[i]])):n[i]=[t[i],e[i]]),n}),{})}function L(e){return e.reduce((function(e,t){if(1===t.insert){var n=(0,w.default)(t.attributes);return delete n["image"],e.insert({image:t.attributes.image},n)}if(null==t.attributes||!0!==t.attributes.list&&!0!==t.attributes.bullet||(t=(0,w.default)(t),t.attributes.list?t.attributes.list="ordered":(t.attributes.list="bullet",delete t.attributes.bullet)),"string"===typeof t.insert){var i=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(i,t.attributes)}return e.push(t)}),new s.default)}t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var i=function(){function e(e,t){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done);i=!0)if(n.push(o.value),t&&n.length===t)break}catch(l){r=!0,a=l}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:0;g(this,e),this.index=t,this.length=n},y=function(){function e(t,n){var i=this;g(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=o.default.create("cursor",this),this.lastRange=this.savedRange=new b(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){i.mouseDown||setTimeout(i.update.bind(i,p.default.sources.USER),1)})),this.emitter.on(p.default.events.EDITOR_CHANGE,(function(e,t){e===p.default.events.TEXT_CHANGE&&t.length()>0&&i.update(p.default.sources.SILENT)})),this.emitter.on(p.default.events.SCROLL_BEFORE_UPDATE,(function(){if(i.hasFocus()){var e=i.getNativeRange();null!=e&&e.start.node!==i.cursor.textNode&&i.emitter.once(p.default.events.SCROLL_UPDATE,(function(){try{i.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(t){}}))}})),this.emitter.on(p.default.events.SCROLL_OPTIMIZE,(function(e,t){if(t.range){var n=t.range,r=n.startNode,a=n.startOffset,o=n.endNode,s=n.endOffset;i.setNativeRange(r,a,o,s)}})),this.update(p.default.sources.SILENT)}return r(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",(function(){e.composing=!0})),this.root.addEventListener("compositionend",(function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout((function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,(function(){e.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){e.mouseDown=!1,e.update(p.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!o.default.query(e,o.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var i=o.default.find(n.start.node,!1);if(null==i)return;if(i instanceof o.default.Leaf){var r=i.split(n.start.offset);i.parent.insertBefore(this.cursor,r)}else i.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var r=void 0,a=this.scroll.leaf(e),o=i(a,2),s=o[0],l=o[1];if(null==s)return null;var c=s.position(l,!0),u=i(c,2);r=u[0],l=u[1];var d=document.createRange();if(t>0){d.setStart(r,l);var p=this.scroll.leaf(e+t),f=i(p,2);if(s=f[0],l=f[1],null==s)return null;var h=s.position(l,!0),m=i(h,2);return r=m[0],l=m[1],d.setEnd(r,l),d.getBoundingClientRect()}var _="left",g=void 0;return r instanceof Text?(l0&&(_="right")),{bottom:g.top+g.height,height:g.height,left:g[_],right:g[_],top:g.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var n=this.normalizeNative(t);return v.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();if(null==e)return[null,null];var t=this.normalizedToRange(e);return[t,e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var r=n.map((function(e){var n=i(e,2),r=n[0],a=n[1],s=o.default.find(r,!0),l=s.offset(t.scroll);return 0===a?l:s instanceof o.default.Container?l+s.length():l+s.index(r,a)})),a=Math.min(Math.max.apply(Math,_(r)),this.scroll.length()-1),s=Math.min.apply(Math,[a].concat(_(r)));return new b(s,a-s)}},{key:"normalizeNative",value:function(e){if(!w(this.root,e.startContainer)||!e.collapsed&&!w(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach((function(e){var t=e.node,n=e.offset;while(!(t instanceof Text)&&t.childNodes.length>0)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;t=t.lastChild,n=t instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n})),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],r=[],a=this.scroll.length();return n.forEach((function(e,n){e=Math.min(a-1,e);var o=void 0,s=t.scroll.leaf(e),l=i(s,2),c=l[0],u=l[1],d=c.position(u,0!==n),p=i(d,2);o=p[0],u=p[1],r.push(o,u)})),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var r=this.scroll.length()-1,a=this.scroll.line(Math.min(t.index,r)),o=i(a,1),s=o[0],l=s;if(t.length>0){var c=this.scroll.line(Math.min(t.index+t.length,r)),u=i(c,1);l=u[0]}if(null!=s&&null!=l){var d=e.getBoundingClientRect();n.topd.bottom&&(e.scrollTop+=n.bottom-d.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(v.info("setNativeRange",e,t,n,i),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var a=document.getSelection();if(null!=a)if(null!=e){this.hasFocus()||this.root.focus();var o=(this.getNativeRange()||{}).native;if(null==o||r||e!==o.startContainer||t!==o.startOffset||n!==o.endContainer||i!==o.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(i=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(e,t),s.setEnd(n,i),a.removeAllRanges(),a.addRange(s)}}else a.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p.default.sources.API;if("string"===typeof t&&(n=t,t=!1),v.info("setRange",e),null!=e){var i=this.rangeToNative(e);this.setNativeRange.apply(this,_(i).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.default.sources.USER,t=this.lastRange,n=this.getRange(),r=i(n,2),a=r[0],o=r[1];if(this.lastRange=a,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,u.default)(t,this.lastRange)){var s;!this.composing&&null!=o&&o.native.collapsed&&o.start.node!==this.cursor.textNode&&this.cursor.restore();var c,d=[p.default.events.SELECTION_CHANGE,(0,l.default)(this.lastRange),(0,l.default)(t),e];if((s=this.emitter).emit.apply(s,[p.default.events.EDITOR_CHANGE].concat(d)),e!==p.default.sources.SILENT)(c=this.emitter).emit.apply(c,d)}}}]),e}();function w(e,t){try{t.parentNode}catch(n){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=b,t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){var e;return e={},e[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=a.Scope.INLINE_BLOT,t}(r.default);t.default=o},function(e,t,n){var i=n(11),r=n(3),a={attributes:{compose:function(e,t,n){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var i=r(!0,{},t);for(var a in n||(i=Object.keys(i).reduce((function(e,t){return null!=i[t]&&(e[t]=i[t]),e}),{})),e)void 0!==e[a]&&void 0===t[a]&&(i[a]=e[a]);return Object.keys(i).length>0?i:void 0},diff:function(e,t){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,r){return i(e[r],t[r])||(n[r]=void 0===t[r]?null:t[r]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!==typeof e)return t;if("object"===typeof t){if(!n)return t;var i=Object.keys(t).reduce((function(n,i){return void 0===e[i]&&(n[i]=t[i]),n}),{});return Object.keys(i).length>0?i:void 0}}},iterator:function(e){return new o(e)},length:function(e){return"number"===typeof e["delete"]?e["delete"]:"number"===typeof e.retain?e.retain:"string"===typeof e.insert?e.insert.length:1}};function o(e){this.ops=e,this.index=0,this.offset=0}o.prototype.hasNext=function(){return this.peekLength()<1/0},o.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,i=a.length(t);if(e>=i-n?(e=i-n,this.index+=1,this.offset=0):this.offset+=e,"number"===typeof t["delete"])return{delete:e};var r={};return t.attributes&&(r.attributes=t.attributes),"number"===typeof t.retain?r.retain=e:"string"===typeof t.insert?r.insert=t.insert.substr(n,e):r.insert=t.insert,r}return{retain:1/0}},o.prototype.peek=function(){return this.ops[this.index]},o.prototype.peekLength=function(){return this.ops[this.index]?a.length(this.ops[this.index])-this.offset:1/0},o.prototype.peekType=function(){return this.ops[this.index]?"number"===typeof this.ops[this.index]["delete"]?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert":"retain"},o.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),i=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(i)}return[]},e.exports=a},function(e,n){var i=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var n,i,r;try{n=Map}catch(d){n=function(){}}try{i=Set}catch(d){i=function(){}}try{r=Promise}catch(d){r=function(){}}function a(o,s,l,c,d){"object"===typeof s&&(l=s.depth,c=s.prototype,d=s.includeNonEnumerable,s=s.circular);var p=[],f=[],h="undefined"!=typeof t;function m(o,l){if(null===o)return null;if(0===l)return o;var _,g;if("object"!=typeof o)return o;if(e(o,n))_=new n;else if(e(o,i))_=new i;else if(e(o,r))_=new r((function(e,t){o.then((function(t){e(m(t,l-1))}),(function(e){t(m(e,l-1))}))}));else if(a.__isArray(o))_=[];else if(a.__isRegExp(o))_=new RegExp(o.source,u(o)),o.lastIndex&&(_.lastIndex=o.lastIndex);else if(a.__isDate(o))_=new Date(o.getTime());else{if(h&&t.isBuffer(o))return _=t.allocUnsafe?t.allocUnsafe(o.length):new t(o.length),o.copy(_),_;e(o,Error)?_=Object.create(o):"undefined"==typeof c?(g=Object.getPrototypeOf(o),_=Object.create(g)):(_=Object.create(c),g=c)}if(s){var v=p.indexOf(o);if(-1!=v)return f[v];p.push(o),f.push(_)}for(var b in e(o,n)&&o.forEach((function(e,t){var n=m(t,l-1),i=m(e,l-1);_.set(n,i)})),e(o,i)&&o.forEach((function(e){var t=m(e,l-1);_.add(t)})),o){var y;g&&(y=Object.getOwnPropertyDescriptor(g,b)),y&&null==y.set||(_[b]=m(o[b],l-1))}if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(o);for(b=0;b0){if(s instanceof u.BlockEmbed||p instanceof u.BlockEmbed)return void this.optimize();if(s instanceof m.default){var h=s.newlineIndex(s.length(),!0);if(h>-1&&(s=s.split(h+1),s===p))return void this.optimize()}else if(p instanceof m.default){var _=p.newlineIndex(0);_>-1&&p.split(_+1)}var g=p.children.head instanceof f.default?null:p.children.head;s.moveChildren(p,g),s.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,n,i,r){(null==this.whitelist||this.whitelist[i])&&(a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,i,r),this.optimize())}},{key:"insertAt",value:function(e,n,i){if(null==i||null==this.whitelist||this.whitelist[n]){if(e>=this.length())if(null==i||null==s.default.query(n,s.default.Scope.BLOCK)){var r=s.default.create(this.statics.defaultChild);this.appendChild(r),null==i&&n.endsWith("\n")&&(n=n.slice(0,-1)),r.insertAt(0,n,i)}else{var o=s.default.create(n,i);this.appendChild(o)}else a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,i);this.optimize()}}},{key:"insertBefore",value:function(e,n){if(e.statics.scope===s.default.Scope.INLINE_BLOT){var i=s.default.create(this.statics.defaultChild);i.appendChild(e),e=i}a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(x,e)}},{key:"lines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function e(t,n,i){var r=[],a=i;return t.children.forEachAt(n,i,(function(t,n,i){x(t)?r.push(t):t instanceof s.default.Container&&(r=r.concat(e(t,n,a))),a-=i})),r};return n(this,e,t)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(c.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var n=c.default.sources.USER;"string"===typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(c.default.events.SCROLL_BEFORE_UPDATE,n,e),a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(c.default.events.SCROLL_UPDATE,n,e)}}}]),t}(s.default.Scroll);k.blotName="scroll",k.className="ql-editor",k.tagName="DIV",k.defaultChild="block",k.allowedChildren=[d.default,u.BlockEmbed,g.default],t.default=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done);i=!0)if(n.push(o.value),t&&n.length===t)break}catch(l){r=!0,a=l}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=$(e);if(null==i||null==i.key)return j.warn("Attempted to add invalid keyboard binding",i);"function"===typeof t&&(t={handler:t}),"function"===typeof n&&(n={handler:n}),i=(0,d.default)(i,t,n),this.bindings[i.key]=this.bindings[i.key]||[],this.bindings[i.key].push(i)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var a=n.which||n.keyCode,o=(e.bindings[a]||[]).filter((function(e){return t.match(n,e)}));if(0!==o.length){var s=e.quill.getSelection();if(null!=s&&e.quill.hasFocus()){var l=e.quill.getLine(s.index),u=r(l,2),d=u[0],p=u[1],f=e.quill.getLeaf(s.index),h=r(f,2),m=h[0],_=h[1],v=0===s.length?[m,_]:e.quill.getLeaf(s.index+s.length),b=r(v,2),y=b[0],w=b[1],x=m instanceof g.default.Text?m.value().slice(0,_):"",k=y instanceof g.default.Text?y.value().slice(w):"",O={collapsed:0===s.length,empty:0===s.length&&d.length()<=1,format:e.quill.getFormat(s),offset:p,prefix:x,suffix:k},S=o.some((function(t){if(null!=t.collapsed&&t.collapsed!==O.collapsed)return!1;if(null!=t.empty&&t.empty!==O.empty)return!1;if(null!=t.offset&&t.offset!==O.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((function(e){return null==O.format[e]})))return!1}else if("object"===i(t.format)&&!Object.keys(t.format).every((function(e){return!0===t.format[e]?null!=O.format[e]:!1===t.format[e]?null==O.format[e]:(0,c.default)(t.format[e],O.format[e])})))return!1;return!(null!=t.prefix&&!t.prefix.test(O.prefix))&&(!(null!=t.suffix&&!t.suffix.test(O.suffix))&&!0!==t.handler.call(e,s,O))}));S&&n.preventDefault()}}}}))}}]),t}(k.default);function L(e,t){var n,i=e===P.keys.LEFT?"prefix":"suffix";return n={key:e,shiftKey:t,altKey:null},S(n,i,/^$/),S(n,"handler",(function(n){var i=n.index;e===P.keys.RIGHT&&(i+=n.length+1);var a=this.quill.getLeaf(i),o=r(a,1),s=o[0];return!(s instanceof g.default.Embed)||(e===P.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,b.default.sources.USER):this.quill.setSelection(n.index-1,b.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,b.default.sources.USER):this.quill.setSelection(n.index+n.length+1,b.default.sources.USER),!1)})),n}function q(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),i=r(n,1),a=i[0],o={};if(0===t.offset){var s=this.quill.getLine(e.index-1),l=r(s,1),c=l[0];if(null!=c&&c.length()>1){var u=a.formats(),d=this.quill.getFormat(e.index-1,1);o=m.default.attributes.diff(u,d)||{}}}var p=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-p,p,b.default.sources.USER),Object.keys(o).length>0&&this.quill.formatLine(e.index-p,p,o,b.default.sources.USER),this.quill.focus()}}function I(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var i={},a=0,o=this.quill.getLine(e.index),s=r(o,1),l=s[0];if(t.offset>=l.length()-1){var c=this.quill.getLine(e.index+1),u=r(c,1),d=u[0];if(d){var p=l.formats(),f=this.quill.getFormat(e.index,1);i=m.default.attributes.diff(p,f)||{},a=d.length()}}this.quill.deleteText(e.index,n,b.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(e.index+a-1,n,i,b.default.sources.USER)}}function D(e){var t=this.quill.getLines(e),n={};if(t.length>1){var i=t[0].formats(),r=t[t.length-1].formats();n=m.default.attributes.diff(r,i)||{}}this.quill.deleteText(e,b.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,b.default.sources.USER),this.quill.setSelection(e.index,b.default.sources.SILENT),this.quill.focus()}function A(e,t){var n=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var i=Object.keys(t.format).reduce((function(e,n){return g.default.query(n,g.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",i,b.default.sources.USER),this.quill.setSelection(e.index+1,b.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach((function(e){null==i[e]&&(Array.isArray(t.format[e])||"link"!==e&&n.quill.format(e,t.format[e],b.default.sources.USER))}))}function R(e){return{key:P.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=g.default.query("code-block"),i=t.index,a=t.length,o=this.quill.scroll.descendant(n,i),s=r(o,2),l=s[0],c=s[1];if(null!=l){var u=this.quill.getIndex(l),d=l.newlineIndex(c,!0)+1,p=l.newlineIndex(u+c+a),f=l.domNode.textContent.slice(d,p).split("\n");c=0,f.forEach((function(t,r){e?(l.insertAt(d+c,n.TAB),c+=n.TAB.length,0===r?i+=n.TAB.length:a+=n.TAB.length):t.startsWith(n.TAB)&&(l.deleteAt(d+c,n.TAB.length),c-=n.TAB.length,0===r?i-=n.TAB.length:a-=n.TAB.length),c+=t.length+1})),this.quill.update(b.default.sources.USER),this.quill.setSelection(i,a,b.default.sources.SILENT)}}}}function M(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],b.default.sources.USER)}}}function $(e){if("string"===typeof e||"number"===typeof e)return $({key:e});if("object"===("undefined"===typeof e?"undefined":i(e))&&(e=(0,s.default)(e,!1)),"string"===typeof e.key)if(null!=P.keys[e.key.toUpperCase()])e.key=P.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[C]=e.shortKey,delete e.shortKey),e}P.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},P.DEFAULTS={bindings:{bold:M("bold"),italic:M("italic"),underline:M("underline"),indent:{key:P.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",b.default.sources.USER)}},outdent:{key:P.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",b.default.sources.USER)}},"outdent backspace":{key:P.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",b.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,b.default.sources.USER)}},"indent code-block":R(!0),"outdent code-block":R(!1),"remove tab":{key:P.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,b.default.sources.USER)}},tab:{key:P.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new f.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,b.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,b.default.sources.SILENT)}},"list empty enter":{key:P.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,b.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,b.default.sources.USER)}},"checklist enter":{key:P.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=r(t,2),i=n[0],a=n[1],o=(0,d.default)({},i.formats(),{list:"checked"}),s=(new f.default).retain(e.index).insert("\n",o).retain(i.length()-a-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,b.default.sources.USER),this.quill.setSelection(e.index+1,b.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:P.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),i=r(n,2),a=i[0],o=i[1],s=(new f.default).retain(e.index).insert("\n",t.format).retain(a.length()-o-1).retain(1,{header:null});this.quill.updateContents(s,b.default.sources.USER),this.quill.setSelection(e.index+1,b.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var n=t.prefix.length,i=this.quill.getLine(e.index),a=r(i,2),o=a[0],s=a[1];if(s>n)return!0;var l=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(e.index," ",b.default.sources.USER),this.quill.history.cutoff();var c=(new f.default).retain(e.index-s).delete(n+1).retain(o.length()-2-s).retain(1,{list:l});this.quill.updateContents(c,b.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,b.default.sources.SILENT)}},"code exit":{key:P.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=r(t,2),i=n[0],a=n[1],o=(new f.default).retain(e.index+i.length()-a-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(o,b.default.sources.USER)}},"embed left":L(P.keys.LEFT,!1),"embed left shift":L(P.keys.LEFT,!0),"embed right":L(P.keys.RIGHT,!1),"embed right shift":L(P.keys.RIGHT,!0)}},t.default=P,t.SHORTKEY=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done);i=!0)if(n.push(o.value),t&&n.length===t)break}catch(l){r=!0,a=l}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,i)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(i):void 0},a=function(){function e(e,t){for(var n=0;n-1}d.blotName="link",d.tagName="A",d.SANITIZED_URL="about:blank",d.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=d,t.sanitize=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"===typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"===typeof Event?"undefined":i(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),e}();t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=j(i),a=n(5),o=j(a),s=n(4),l=j(s),c=n(16),u=j(c),d=n(25),p=j(d),f=n(24),h=j(f),m=n(35),_=j(m),g=n(6),v=j(g),b=n(22),y=j(b),w=n(7),x=j(w),k=n(55),O=j(k),S=n(42),E=j(S),T=n(23),N=j(T);function j(e){return e&&e.__esModule?e:{default:e}}o.default.register({"blots/block":l.default,"blots/block/embed":s.BlockEmbed,"blots/break":u.default,"blots/container":p.default,"blots/cursor":h.default,"blots/embed":_.default,"blots/inline":v.default,"blots/scroll":y.default,"blots/text":x.default,"modules/clipboard":O.default,"modules/history":E.default,"modules/keyboard":N.default}),r.default.register(l.default,u.default,h.default,v.default,y.default,x.default),t.default=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),r=function(){function e(e){this.domNode=e,this.domNode[i.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new i.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"===typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"===typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return i.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[i.DATA_KEY]},e.prototype.deleteAt=function(e,t){var n=this.isolate(e,t);n.remove()},e.prototype.formatAt=function(e,t,n,r){var a=this.isolate(e,t);if(null!=i.query(n,i.Scope.BLOT)&&r)a.wrap(n,r);else if(null!=i.query(n,i.Scope.ATTRIBUTE)){var o=i.create(this.statics.scope);a.wrap(o),o.format(n,r)}},e.prototype.insertAt=function(e,t,n){var r=null==n?i.create("text",t):i.create(t,n),a=this.split(e);this.parent.insertBefore(r,a)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[i.DATA_KEY]&&delete this.domNode[i.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var n="string"===typeof e?i.create(e,t):e;return n.replace(this),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"===typeof e?i.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(12),r=n(32),a=n(33),o=n(1),s=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=i.default.keys(this.domNode),n=r.default.keys(this.domNode),s=a.default.keys(this.domNode);t.concat(n).concat(s).forEach((function(t){var n=o.query(t,o.Scope.ATTRIBUTE);n instanceof i.default&&(e.attributes[n.attrName]=n)}))},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach((function(n){var i=t.attributes[n].value(t.domNode);e.format(n,i)}))},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach((function(e){t.attributes[e].remove(t.domNode)})),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce((function(t,n){return t[n]=e.attributes[n].value(e.domNode),t}),{})},e}();t.default=s},function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(12);function a(e,t){var n=e.getAttribute("class")||"";return n.split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map((function(e){return e.split("-").slice(0,-1).join("-")}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){var t=a(e,this.keyName);t.forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=a(e,this.keyName)[0]||"",n=t.slice(this.keyName.length+1);return this.canAdd(e,n)?n:""},t}(r.default);t.default=o},function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(12);function a(e){var t=e.split("-"),n=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+n}var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map((function(e){var t=e.split(":");return t[0].trim()}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[a(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[a(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[a(this.keyName)];return this.canAdd(e,t)?t:""},t}(r.default);t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;ni&&this.stack.undo.length>0){var r=this.stack.undo.pop();n=n.compose(r.undo),e=r.redo.compose(e)}else this.lastRecorded=i;this.stack.undo.push({redo:e,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})),this.stack.redo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}(c.default);function m(e){var t=e.ops[e.ops.length-1];return null!=t&&(null!=t.insert?"string"===typeof t.insert&&t.insert.endsWith("\n"):null!=t.attributes&&Object.keys(t.attributes).some((function(e){return null!=a.default.query(e,a.default.Scope.BLOCK)})))}function _(e){var t=e.reduce((function(e,t){return e+=t.delete||0,e}),0),n=e.length()-t;return m(e)&&(n-=1),n}h.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=h,t.getLastChangeIndex=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var i=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var t=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,u.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,u.default.sources.USER)),this.quill.root.scrollTop=t;break;case"video":e=I(e);case"formula":if(!e)break;var n=this.quill.getSelection(!0);if(null!=n){var i=n.index+n.length;this.quill.insertEmbed(i,this.root.getAttribute("data-mode"),e,u.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(i+1," ",u.default.sources.USER),this.quill.setSelection(i+2,u.default.sources.USER)}break;default:}this.textbox.value="",this.hide()}}]),t}(x.default);function I(e){var t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return t?(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0":(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/":e}function D(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach((function(t){var i=document.createElement("option");t===n?i.setAttribute("selected","selected"):i.setAttribute("value",t),e.appendChild(i)}))}t.BaseTooltip=q,t.default=L},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){var t,n=this.iterator();while(t=n())if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){var t=0,n=this.head;while(null!=n){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);var n,i=this.iterator();while(n=i()){var r=n.length();if(es?n(i,e-s,Math.min(t,s+c-e)):n(i,0,Math.min(c,e+t-s)),s+=c}}},e.prototype.map=function(e){return this.reduce((function(t,n){return t.push(e(n)),t}),[])},e.prototype.reduce=function(e,t){var n,i=this.iterator();while(n=i())t=e(t,n);return t},e}();t.default=i},function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),a=n(1),o={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},s=100,l=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver((function(e){n.update(e)})),n.observer.observe(n.domNode,o),n.attach(),n}return i(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach((function(e){e.remove()})):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,i,r){this.update(),e.prototype.formatAt.call(this,t,n,i,r)},t.prototype.insertAt=function(t,n,i){this.update(),e.prototype.insertAt.call(this,t,n,i)},t.prototype.optimize=function(t,n){var i=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);var o=[].slice.call(this.observer.takeRecords());while(o.length>0)t.push(o.pop());for(var l=function(e,t){void 0===t&&(t=!0),null!=e&&e!==i&&null!=e.domNode.parentNode&&(null==e.domNode[a.DATA_KEY].mutations&&(e.domNode[a.DATA_KEY].mutations=[]),t&&l(e.parent))},c=function(e){null!=e.domNode[a.DATA_KEY]&&null!=e.domNode[a.DATA_KEY].mutations&&(e instanceof r.default&&e.children.forEach(c),e.optimize(n))},u=t,d=0;u.length>0;d+=1){if(d>=s)throw new Error("[Parchment] Maximum optimize iterations reached");u.forEach((function(e){var t=a.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(l(a.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=a.find(e,!1);l(t,!1),t instanceof r.default&&t.children.forEach((function(e){l(e,!1)}))}))):"attributes"===e.type&&l(t.prev)),l(t))})),this.children.forEach(c),u=[].slice.call(this.observer.takeRecords()),o=u.slice();while(o.length>0)t.push(o.pop())}},t.prototype.update=function(t,n){var i=this;void 0===n&&(n={}),t=t||this.observer.takeRecords(),t.map((function(e){var t=a.find(e.target,!0);return null==t?null:null==t.domNode[a.DATA_KEY].mutations?(t.domNode[a.DATA_KEY].mutations=[e],t):(t.domNode[a.DATA_KEY].mutations.push(e),null)})).forEach((function(e){null!=e&&e!==i&&null!=e.domNode[a.DATA_KEY]&&e.update(e.domNode[a.DATA_KEY].mutations||[],n)})),null!=this.domNode[a.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[a.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=a.Scope.BLOCK_BLOT,t.tagName="DIV",t}(r.default);t.default=l},function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),a=n(1);function o(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,i){var a=this;n!==this.statics.blotName||i?e.prototype.format.call(this,n,i):(this.children.forEach((function(e){e instanceof r.default||(e=e.wrap(t.blotName,!0)),a.attributes.copy(e)})),this.unwrap())},t.prototype.formatAt=function(t,n,i,r){if(null!=this.formats()[i]||a.query(i,a.Scope.ATTRIBUTE)){var o=this.isolate(t,n);o.format(i,r)}else e.prototype.formatAt.call(this,t,n,i,r)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var i=this.formats();if(0===Object.keys(i).length)return this.unwrap();var r=this.next;r instanceof t&&r.prev===this&&o(i,r.formats())&&(r.moveChildren(this),r.remove())},t.blotName="inline",t.scope=a.Scope.INLINE_BLOT,t.tagName="SPAN",t}(r.default);t.default=s},function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),a=n(1),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.formats=function(n){var i=a.query(t.blotName).tagName;if(n.tagName!==i)return e.formats.call(this,n)},t.prototype.format=function(n,i){null!=a.query(n,a.Scope.BLOCK)&&(n!==this.statics.blotName||i?e.prototype.format.call(this,n,i):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,i,r){null!=a.query(i,a.Scope.BLOCK)?this.format(i,r):e.prototype.formatAt.call(this,t,n,i,r)},t.prototype.insertAt=function(t,n,i){if(null==i||null!=a.query(n,a.Scope.INLINE))e.prototype.insertAt.call(this,t,n,i);else{var r=this.split(t),o=a.create(n,i);r.parent.insertBefore(o,r)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=a.Scope.BLOCK_BLOT,t.tagName="P",t}(r.default);t.default=o},function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,i,r){0===t&&n===this.length()?this.format(i,r):e.prototype.formatAt.call(this,t,n,i,r)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(r.default);t.default=a},function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),a=n(1),o=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return i(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t["normalize"]&&(t=t["normalize"]()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,i){null==i?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,i)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=a.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some((function(e){return"characterData"===e.type&&e.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=a.Scope.INLINE_BLOT,t}(r.default);t.default=o},function(e,t,n){"use strict";var i=document.createElement("div");if(i.classList.toggle("test-class",!1),i.classList.contains("test-class")){var r=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)===!t?t:r.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var n=this.toString();("number"!==typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var i=n.indexOf(e,t);return-1!==i&&i===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!==typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),i=n.length>>>0,r=arguments[1],a=0;at.length?e:t,c=e.length>t.length?t:e,u=l.indexOf(c);if(-1!=u)return o=[[i,l.substring(0,u)],[r,c],[i,l.substring(u+c.length)]],e.length>t.length&&(o[0][0]=o[2][0]=n),o;if(1==c.length)return[[n,e],[i,t]];var p=d(e,t);if(p){var f=p[0],h=p[1],m=p[2],_=p[3],g=p[4],v=a(f,m),b=a(h,_);return v.concat([[r,g]],b)}return s(e,t)}function s(e,t){for(var r=e.length,a=t.length,o=Math.ceil((r+a)/2),s=o,c=2*o,u=new Array(c),d=new Array(c),p=0;pr)_+=2;else if(x>a)m+=2;else if(h){var k=s+f-y;if(k>=0&&k=O)return l(e,t,T,x)}}}for(var S=-b+g;S<=b-v;S+=2){k=s+S;O=S==-b||S!=b&&d[k-1]r)v+=2;else if(E>a)g+=2;else if(!h){w=s+f-S;if(w>=0&&w=O)return l(e,t,T,x)}}}}return[[n,e],[i,t]]}function l(e,t,n,i){var r=e.substring(0,n),o=t.substring(0,i),s=e.substring(n),l=t.substring(i),c=a(r,o),u=a(s,l);return c.concat(u)}function c(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;var n=0,i=Math.min(e.length,t.length),r=i,a=0;while(nt.length?e:t,i=e.length>t.length?t:e;if(n.length<4||2*i.length=e.length?[i,r,a,o,d]:null}var a,o,s,l,d,p=r(n,i,Math.ceil(n.length/4)),f=r(n,i,Math.ceil(n.length/2));if(!p&&!f)return null;a=f?p&&p[4].length>f[4].length?p:f:p,e.length>t.length?(o=a[0],s=a[1],l=a[2],d=a[3]):(l=a[0],d=a[1],o=a[2],s=a[3]);var h=a[4];return[o,s,l,d,h]}function p(e){e.push([r,""]);var t,a=0,o=0,s=0,l="",d="";while(a1?(0!==o&&0!==s&&(t=c(d,l),0!==t&&(a-o-s>0&&e[a-o-s-1][0]==r?e[a-o-s-1][1]+=d.substring(0,t):(e.splice(0,0,[r,d.substring(0,t)]),a++),d=d.substring(t),l=l.substring(t)),t=u(d,l),0!==t&&(e[a][1]=d.substring(d.length-t)+e[a][1],d=d.substring(0,d.length-t),l=l.substring(0,l.length-t))),0===o?e.splice(a-s,o+s,[i,d]):0===s?e.splice(a-o,o+s,[n,l]):e.splice(a-o-s,o+s,[n,l],[i,d]),a=a-o-s+(o?1:0)+(s?1:0)+1):0!==a&&e[a-1][0]==r?(e[a-1][1]+=e[a][1],e.splice(a,1)):a++,s=0,o=0,l="",d="";break}""===e[e.length-1][1]&&e.pop();var f=!1;a=1;while(a0&&i.splice(a+2,0,[s[0],l]),g(i,a,3)}return e}function _(e){for(var t=!1,a=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},o=function(e){return e.charCodeAt(e.length-1)>=55296&&e.charCodeAt(e.length-1)<=56319},s=2;s0&&l.push(e[s]);return l}function g(e,t,n){for(var i=t+n-1;i>=0&&i>=t-1;i--)if(i+1\r?\n +\<"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[w.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new c.default).insert(n,T({},w.default.blotName,t[w.default.blotName]))}var i=this.prepareMatching(),a=r(i,2),o=a[0],s=a[1],l=z(this.container,o,s);return $(l,"\n")&&null==l.ops[l.ops.length-1].attributes&&(l=l.compose((new c.default).retain(l.length()-1).delete(1))),P.log("convert",this.container.innerHTML,l),this.container.innerHTML="",l}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.default.sources.API;if("string"===typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,f.default.sources.SILENT);else{var i=this.convert(t);this.quill.updateContents((new c.default).retain(e).concat(i),n),this.quill.setSelection(e+i.length(),f.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),i=(new c.default).retain(n.index),r=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(f.default.sources.SILENT),setTimeout((function(){i=i.concat(t.convert()).delete(n.length),t.quill.updateContents(i,f.default.sources.USER),t.quill.setSelection(i.length()-n.length,f.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=r,t.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach((function(i){var a=r(i,2),o=a[0],s=a[1];switch(o){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:t.push(s);break;default:[].forEach.call(e.container.querySelectorAll(o),(function(e){e[L]=e[L]||[],e[L].push(s)}));break}})),[t,n]}}]),t}(g.default);function R(e,t,n){return"object"===("undefined"===typeof t?"undefined":i(t))?Object.keys(t).reduce((function(e,n){return R(e,n,t[n])}),e):e.reduce((function(e,i){return i.attributes&&i.attributes[t]?e.push(i):e.insert(i.insert,(0,s.default)({},T({},t,n),i.attributes))}),new c.default)}function M(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function $(e,t){for(var n="",i=e.ops.length-1;i>=0&&n.length-1}function z(e,t,n){return e.nodeType===e.TEXT_NODE?n.reduce((function(t,n){return n(e,t)}),new c.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],(function(i,r){var a=z(r,t,n);return r.nodeType===e.ELEMENT_NODE&&(a=t.reduce((function(e,t){return t(r,e)}),a),a=(r[L]||[]).reduce((function(e,t){return t(r,e)}),a)),i.concat(a)}),new c.default):new c.default}function B(e,t,n){return R(n,e,!0)}function U(e,t){var n=d.default.Attributor.Attribute.keys(e),i=d.default.Attributor.Class.keys(e),r=d.default.Attributor.Style.keys(e),a={};return n.concat(i).concat(r).forEach((function(t){var n=d.default.query(t,d.default.Scope.ATTRIBUTE);null!=n&&(a[n.attrName]=n.value(e),a[n.attrName])||(n=I[t],null==n||n.attrName!==t&&n.keyName!==t||(a[n.attrName]=n.value(e)||void 0),n=D[t],null==n||n.attrName!==t&&n.keyName!==t||(n=D[t],a[n.attrName]=n.value(e)||void 0))})),Object.keys(a).length>0&&(t=R(t,a)),t}function V(e,t){var n=d.default.query(e);if(null==n)return t;if(n.prototype instanceof d.default.Embed){var i={},r=n.value(e);null!=r&&(i[n.blotName]=r,t=(new c.default).insert(i,n.formats(e)))}else"function"===typeof n.formats&&(t=R(t,n.blotName,n.formats(e)));return t}function K(e,t){return $(t,"\n")||t.insert("\n"),t}function H(){return new c.default}function W(e,t){var n=d.default.query(e);if(null==n||"list-item"!==n.blotName||!$(t,"\n"))return t;var i=-1,r=e.parentNode;while(!r.classList.contains("ql-clipboard"))"list"===(d.default.query(r)||{}).blotName&&(i+=1),r=r.parentNode;return i<=0?t:t.compose((new c.default).retain(t.length()-1).retain(1,{indent:i}))}function G(e,t){return $(t,"\n")||(F(e)||t.length()>0&&e.nextSibling&&F(e.nextSibling))&&t.insert("\n"),t}function Q(e,t){if(F(e)&&null!=e.nextElementSibling&&!$(t,"\n\n")){var n=e.offsetHeight+parseFloat(M(e).marginTop)+parseFloat(M(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function Y(e,t){var n={},i=e.style||{};return i.fontStyle&&"italic"===M(e).fontStyle&&(n.italic=!0),i.fontWeight&&(M(e).fontWeight.startsWith("bold")||parseInt(M(e).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=R(t,n)),parseFloat(i.textIndent||0)>0&&(t=(new c.default).insert("\t").concat(t)),t}function X(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!M(e.parentNode).whiteSpace.startsWith("pre")){var i=function(e,t){return t=t.replace(/[^\u00a0]/g,""),t.length<1&&e?" ":t};n=n.replace(/\r\n/g," ").replace(/\n/g," "),n=n.replace(/\s\s+/g,i.bind(i,!0)),(null==e.previousSibling&&F(e.parentNode)||null!=e.previousSibling&&F(e.previousSibling))&&(n=n.replace(/^\s+/,i.bind(i,!1))),(null==e.nextSibling&&F(e.parentNode)||null!=e.nextSibling&&F(e.nextSibling))&&(n=n.replace(/\s+$/,i.bind(i,!1)))}return t.insert(n)}A.DEFAULTS={matchers:[],matchVisual:!0},t.default=A,t.matchAttributor=U,t.matchBlot=V,t.matchNewline=G,t.matchSpacing=Q,t.matchText=X},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n '},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;ni.right&&(a=i.right-r.right,this.root.style.left=t+a+"px"),r.lefti.bottom){var o=r.bottom-r.top,s=e.bottom-e.top+o;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return a}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done);i=!0)if(n.push(o.value),t&&n.length===t)break}catch(l){r=!0,a=l}finally{try{!i&&s["return"]&&s["return"]()}finally{if(r)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,i)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(i):void 0},a=function(){function e(e,t){for(var n=0;n','','',''].join(""),t.default=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(29),r=ne(i),a=n(36),o=n(38),s=n(64),l=n(65),c=ne(l),u=n(66),d=ne(u),p=n(67),f=ne(p),h=n(37),m=n(26),_=n(39),g=n(40),v=n(56),b=ne(v),y=n(68),w=ne(y),x=n(27),k=ne(x),O=n(69),S=ne(O),E=n(70),T=ne(E),N=n(71),j=ne(N),C=n(72),P=ne(C),L=n(73),q=ne(L),I=n(13),D=ne(I),A=n(74),R=ne(A),M=n(75),$=ne(M),F=n(57),z=ne(F),B=n(41),U=ne(B),V=n(28),K=ne(V),H=n(59),W=ne(H),G=n(60),Q=ne(G),Y=n(61),X=ne(Y),Z=n(108),J=ne(Z),ee=n(62),te=ne(ee);function ne(e){return e&&e.__esModule?e:{default:e}}r.default.register({"attributors/attribute/direction":o.DirectionAttribute,"attributors/class/align":a.AlignClass,"attributors/class/background":h.BackgroundClass,"attributors/class/color":m.ColorClass,"attributors/class/direction":o.DirectionClass,"attributors/class/font":_.FontClass,"attributors/class/size":g.SizeClass,"attributors/style/align":a.AlignStyle,"attributors/style/background":h.BackgroundStyle,"attributors/style/color":m.ColorStyle,"attributors/style/direction":o.DirectionStyle,"attributors/style/font":_.FontStyle,"attributors/style/size":g.SizeStyle},!0),r.default.register({"formats/align":a.AlignClass,"formats/direction":o.DirectionClass,"formats/indent":s.IndentClass,"formats/background":h.BackgroundStyle,"formats/color":m.ColorStyle,"formats/font":_.FontClass,"formats/size":g.SizeClass,"formats/blockquote":c.default,"formats/code-block":D.default,"formats/header":d.default,"formats/list":f.default,"formats/bold":b.default,"formats/code":I.Code,"formats/italic":w.default,"formats/link":k.default,"formats/script":S.default,"formats/strike":T.default,"formats/underline":j.default,"formats/image":P.default,"formats/video":q.default,"formats/list/item":p.ListItem,"modules/formula":R.default,"modules/syntax":$.default,"modules/toolbar":z.default,"themes/bubble":J.default,"themes/snow":te.default,"ui/icons":U.default,"ui/picker":K.default,"ui/icon-picker":Q.default,"ui/color-picker":W.default,"ui/tooltip":X.default},!0),t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var i=function(){function e(e,t){for(var n=0;n0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return p({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(e,n){if(e instanceof _)r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var i=null==n?this.length():n.offset(this),a=this.split(i);a.parent.insertBefore(e,a)}}},{key:"optimize",value:function(e){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var n=o.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(u.default);g.blotName="list",g.scope=o.default.Scope.BLOCK_BLOT,g.tagName=["OL","UL"],g.defaultChild="list-item",g.allowedChildren=[_],t.ListItem=_,t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(56),r=a(i);function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=function(e){function t(){return o(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),t}(r.default);c.blotName="italic",c.tagName=["EM","I"],t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"===typeof e&&n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return p.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,s.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(o.default.Embed);f.blotName="image",f.tagName="IMG",t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=r(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return p.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"sanitize",value:function(e){return s.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(a.BlockEmbed);f.blotName="video",f.className="ql-video",f.tagName="IFRAME",t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var i=function(){function e(e,t){for(var n=0;n0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}(p.default);g.className="ql-syntax";var v=new o.default.Attributor.Class("token","hljs",{scope:o.default.Scope.INLINE}),b=function(e){function t(e,n){h(this,t);var i=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if("function"!==typeof i.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var r=null;return i.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(r),r=setTimeout((function(){i.highlight(),r=null}),i.options.interval)})),i.highlight(),i}return _(t,e),i(t,null,[{key:"register",value:function(){l.default.register(v,!0),l.default.register(g,!0)}}]),i(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(l.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(g).forEach((function(t){t.highlight(e.options.highlight)})),this.quill.update(l.default.sources.SILENT),null!=t&&this.quill.setSelection(t,l.default.sources.SILENT)}}}]),t}(u.default);b.DEFAULTS={highlight:function(){return null==window.hljs?null:function(e){var t=window.hljs.highlightAuto(e);return t.value}}(),interval:1e3},t.CodeBlock=g,t.CodeToken=v,t.default=b},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var i=function e(t,n,i){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,i)}if("value"in r)return r.value;var o=r.get;return void 0!==o?o.call(i):void 0},r=function(){function e(e,t){for(var n=0;n0&&r===l.default.sources.USER){i.show(),i.root.style.left="0px",i.root.style.width="",i.root.style.width=i.root.offsetWidth+"px";var a=i.quill.getLines(t.index,t.length);if(1===a.length)i.position(i.quill.getBounds(t));else{var o=a[a.length-1],s=i.quill.getIndex(o),c=Math.min(o.length()-1,t.index+t.length-s),u=i.quill.getBounds(new d.Range(s,c));i.position(u)}}else document.activeElement!==i.textbox&&i.quill.hasFocus()&&i.hide()})),i}return g(t,e),r(t,[{key:"listen",value:function(){var e=this;i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){e.root.classList.remove("ql-editing")})),this.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),t}(c.BaseTooltip);y.TEMPLATE=['','
','','',"
"].join(""),t.BubbleTooltip=y,t.default=b},function(e,t,n){e.exports=n(63)}])["default"]}))}).call(this,n("fd40").Buffer)},"0249":function(e,t,n){"use strict";n("d033")},"024b":function(e,t,n){},"02f2":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,inline:!0,"label-width":"68px"}},[n("el-form-item",{attrs:{label:"系统模块",prop:"title"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入系统模块",clearable:"",size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.query.title,callback:function(t){e.$set(e.queryParams.query,"title",t)},expression:"queryParams.query.title"}})],1),n("el-form-item",{attrs:{label:"操作人员",prop:"operName"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入操作人员",clearable:"",size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.query.operName,callback:function(t){e.$set(e.queryParams.query,"operName",t)},expression:"queryParams.query.operName"}})],1),n("el-form-item",{attrs:{label:"类型",prop:"businessType"}},[n("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"操作类型",clearable:"",size:"small"},model:{value:e.queryParams.query.businessType,callback:function(t){e.$set(e.queryParams.query,"businessType",t)},expression:"queryParams.query.businessType"}},e._l(e.typeOptions,(function(e){return n("el-option",{key:e.dictValue,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1),n("el-form-item",{attrs:{label:"状态",prop:"status"}},[n("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"操作状态",clearable:"",size:"small"},model:{value:e.queryParams.query.status,callback:function(t){e.$set(e.queryParams.query,"status",t)},expression:"queryParams.query.status"}},e._l(e.statusOptions,(function(e){return n("el-option",{key:e.dictValue,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1),n("el-form-item",{attrs:{label:"操作时间"}},[n("el-date-picker",{staticStyle:{width:"240px"},attrs:{size:"small","value-format":"yyyy-MM-dd",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.dateRange,callback:function(t){e.dateRange=t},expression:"dateRange"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置")])],1)],1),n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:operlog:remove"],expression:"['monitor:operlog:remove']"}],attrs:{type:"danger",plain:"",icon:"el-icon-delete",size:"mini",disabled:e.multiple},on:{click:e.handleDelete}},[e._v("删除")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:operlog:remove"],expression:"['monitor:operlog:remove']"}],attrs:{type:"danger",plain:"",icon:"el-icon-delete",size:"mini"},on:{click:e.handleClean}},[e._v("清空")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:export"],expression:"['system:config:export']"}],attrs:{type:"warning",plain:"",icon:"el-icon-download",size:"mini"},on:{click:e.handleExport}},[e._v("导出")])],1),n("right-toolbar",{attrs:{showSearch:e.showSearch},on:{"update:showSearch":function(t){e.showSearch=t},"update:show-search":function(t){e.showSearch=t},queryTable:e.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.list},on:{"selection-change":e.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),n("el-table-column",{attrs:{label:"日志编号",align:"center",prop:"operId"}}),n("el-table-column",{attrs:{label:"系统模块",align:"center",prop:"title"}}),n("el-table-column",{attrs:{label:"操作类型",align:"center",prop:"businessType",formatter:e.typeFormat}}),n("el-table-column",{attrs:{label:"请求方式",align:"center",prop:"requestMethod"}}),n("el-table-column",{attrs:{label:"操作人员",align:"center",prop:"operName"}}),n("el-table-column",{attrs:{label:"主机",align:"center",prop:"operIp",width:"130","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"操作地点",align:"center",prop:"operLocation","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"操作状态",align:"center",prop:"status",formatter:e.statusFormat}}),n("el-table-column",{attrs:{label:"操作日期",align:"center",prop:"operTime",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(e.parseTime(t.row.operTime)))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:operlog:query"],expression:"['monitor:operlog:query']"}],attrs:{size:"mini",type:"text",icon:"el-icon-view"},on:{click:function(n){return e.handleView(t.row,t.index)}}},[e._v("详细")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}}),n("el-dialog",{attrs:{title:"操作日志详细",visible:e.open,width:"700px","append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[n("el-form",{ref:"form",attrs:{model:e.form,"label-width":"100px",size:"mini"}},[n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"操作模块:"}},[e._v(e._s(e.form.title)+" / "+e._s(e.typeFormat(e.form)))]),n("el-form-item",{attrs:{label:"登录信息:"}},[e._v(e._s(e.form.operName)+" / "+e._s(e.form.operIp)+" / "+e._s(e.form.operLocation))])],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"请求地址:"}},[e._v(e._s(e.form.operUrl))]),n("el-form-item",{attrs:{label:"请求方式:"}},[e._v(e._s(e.form.requestMethod))])],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"操作方法:"}},[e._v(e._s(e.form.method))])],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"请求参数:"}},[e._v(e._s(e.form.operParam))])],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"返回参数:"}},[e._v(e._s(e.form.jsonResult))])],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"操作状态:"}},[0===e.form.status?n("div",[e._v("正常")]):1===e.form.status?n("div",[e._v("失败")]):e._e()])],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"操作时间:"}},[e._v(e._s(e.parseTime(e.form.operTime)))])],1),n("el-col",{attrs:{span:24}},[1===e.form.status?n("el-form-item",{attrs:{label:"异常信息:"}},[e._v(e._s(e.form.errorMsg))]):e._e()],1)],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.open=!1}}},[e._v("关 闭")])],1)],1)],1)},r=[],a=(n("6540"),n("b775"));function o(e){return Object(a["a"])({url:"/monitor/operlog/list",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/monitor/operlog/"+e,method:"delete"})}function l(){return Object(a["a"])({url:"/monitor/operlog/clean",method:"delete"})}function c(e){return Object(a["a"])({url:"/monitor/operlog/export",method:"get",params:e})}var u={name:"Operlog",data:function(){return{loading:!0,ids:[],multiple:!0,showSearch:!0,total:0,list:[],open:!1,typeOptions:[],statusOptions:[],dateRange:[],form:{},queryParams:{pageNum:1,pageSize:10,query:{title:void 0,operName:void 0,businessType:void 0,status:void 0}}}},created:function(){var e=this;this.getList(),this.getDicts("sys_oper_type").then((function(t){e.typeOptions=t.data})),this.getDicts("sys_common_status").then((function(t){e.statusOptions=t.data}))},methods:{getList:function(){var e=this;this.loading=!0,o(this.addDateRange(this.queryParams,this.dateRange)).then((function(t){e.list=t.rows,e.total=t.total,e.loading=!1}))},statusFormat:function(e,t){return this.selectDictLabel(this.statusOptions,e.status)},typeFormat:function(e,t){return this.selectDictLabel(this.typeOptions,e.businessType)},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.operId})),this.multiple=!e.length},handleView:function(e){this.open=!0,this.form=e},handleDelete:function(e){var t=this,n=e.operId||this.ids;this.$confirm('是否确认删除日志编号为"'+n+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return s(n)})).then((function(){t.getList(),t.msgSuccess("删除成功")}))},handleClean:function(){var e=this;this.$confirm("是否确认清空所有操作日志数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return l()})).then((function(){e.getList(),e.msgSuccess("清空成功")}))},handleExport:function(){var e=this,t=this.queryParams;this.$confirm("是否确认导出所有操作日志数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return c(t)})).then((function(t){e.download(t.data)}))}}},d=u,p=n("cba8"),f=Object(p["a"])(d,i,r,!1,null,null,null);t["default"]=f.exports},"046a":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,inline:!0,"label-width":"68px"}},[n("el-form-item",{attrs:{label:"字典名称",prop:"dictName"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入字典名称",clearable:"",size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.query.dictName,callback:function(t){e.$set(e.queryParams.query,"dictName",t)},expression:"queryParams.query.dictName"}})],1),n("el-form-item",{attrs:{label:"字典类型",prop:"dictType"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入字典类型",clearable:"",size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.query.dictType,callback:function(t){e.$set(e.queryParams.query,"dictType",t)},expression:"queryParams.query.dictType"}})],1),n("el-form-item",{attrs:{label:"状态",prop:"status"}},[n("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"字典状态",clearable:"",size:"small"},model:{value:e.queryParams.query.status,callback:function(t){e.$set(e.queryParams.query,"status",t)},expression:"queryParams.query.status"}},e._l(e.statusOptions,(function(e){return n("el-option",{key:e.dictValue,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1),n("el-form-item",{attrs:{label:"创建时间"}},[n("el-date-picker",{staticStyle:{width:"240px"},attrs:{size:"small","value-format":"yyyy-MM-dd",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.dateRange,callback:function(t){e.dateRange=t},expression:"dateRange"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置")])],1)],1),n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:add"],expression:"['system:dict:add']"}],attrs:{type:"primary",plain:"",icon:"el-icon-plus",size:"mini"},on:{click:e.handleAdd}},[e._v("新增")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:edit"],expression:"['system:dict:edit']"}],attrs:{type:"success",plain:"",icon:"el-icon-edit",size:"mini",disabled:e.single},on:{click:e.handleUpdate}},[e._v("修改")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:remove"],expression:"['system:dict:remove']"}],attrs:{type:"danger",plain:"",icon:"el-icon-delete",size:"mini",disabled:e.multiple},on:{click:e.handleDelete}},[e._v("删除")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:export"],expression:"['system:dict:export']"}],attrs:{type:"warning",plain:"",icon:"el-icon-download",size:"mini"},on:{click:e.handleExport}},[e._v("导出")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:remove"],expression:"['system:dict:remove']"}],attrs:{type:"danger",plain:"",icon:"el-icon-refresh",size:"mini"},on:{click:e.handleClearCache}},[e._v("清理缓存")])],1),n("right-toolbar",{attrs:{showSearch:e.showSearch},on:{"update:showSearch":function(t){e.showSearch=t},"update:show-search":function(t){e.showSearch=t},queryTable:e.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.typeList},on:{"selection-change":e.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),n("el-table-column",{attrs:{label:"字典编号",align:"center",prop:"dictId"}}),n("el-table-column",{attrs:{label:"字典名称",align:"center",prop:"dictName","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"字典类型",align:"center","show-overflow-tooltip":!0},scopedSlots:e._u([{key:"default",fn:function(t){return[n("router-link",{staticClass:"link-type",attrs:{to:"/dict/type/data/"+t.row.dictId}},[n("span",[e._v(e._s(t.row.dictType))])])]}}])}),n("el-table-column",{attrs:{label:"状态",align:"center",prop:"status",formatter:e.statusFormat}}),n("el-table-column",{attrs:{label:"备注",align:"center",prop:"remark","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"创建时间",align:"center",prop:"createTime",width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(e.parseTime(t.row.createTime)))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:edit"],expression:"['system:dict:edit']"}],attrs:{size:"mini",type:"text",icon:"el-icon-edit"},on:{click:function(n){return e.handleUpdate(t.row)}}},[e._v("修改")]),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:dict:remove"],expression:"['system:dict:remove']"}],attrs:{size:"mini",type:"text",icon:"el-icon-delete"},on:{click:function(n){return e.handleDelete(t.row)}}},[e._v("删除")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}}),n("el-dialog",{attrs:{title:e.title,visible:e.open,width:"500px","append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[n("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"80px"}},[n("el-form-item",{attrs:{label:"字典名称",prop:"dictName"}},[n("el-input",{attrs:{placeholder:"请输入字典名称"},model:{value:e.form.dictName,callback:function(t){e.$set(e.form,"dictName",t)},expression:"form.dictName"}})],1),n("el-form-item",{attrs:{label:"字典类型",prop:"dictType"}},[n("el-input",{attrs:{placeholder:"请输入字典类型"},model:{value:e.form.dictType,callback:function(t){e.$set(e.form,"dictType",t)},expression:"form.dictType"}})],1),n("el-form-item",{attrs:{label:"状态",prop:"status"}},[n("el-radio-group",{model:{value:e.form.status,callback:function(t){e.$set(e.form,"status",t)},expression:"form.status"}},e._l(e.statusOptions,(function(t){return n("el-radio",{key:t.dictValue,attrs:{label:t.dictValue}},[e._v(e._s(t.dictLabel))])})),1)],1),n("el-form-item",{attrs:{label:"备注",prop:"remark"}},[n("el-input",{attrs:{type:"textarea",placeholder:"请输入内容"},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("确 定")]),n("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1)],1)},r=[],a=(n("6540"),n("ed45")),o={name:"Dict",data:function(){return{loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,typeList:[],title:"",open:!1,statusOptions:[],dateRange:[],queryParams:{pageNum:1,pageSize:10,query:{dictName:void 0,dictType:void 0,status:void 0}},form:{},rules:{dictName:[{required:!0,message:"字典名称不能为空",trigger:"blur"}],dictType:[{required:!0,message:"字典类型不能为空",trigger:"blur"}]}}},created:function(){var e=this;this.getList(),this.getDicts("sys_normal_disable").then((function(t){e.statusOptions=t.data}))},methods:{getList:function(){var e=this;this.loading=!0,Object(a["f"])(this.addDateRange(this.queryParams,this.dateRange)).then((function(t){e.typeList=t.rows,e.total=t.total,e.loading=!1}))},statusFormat:function(e,t){return this.selectDictLabel(this.statusOptions,e.status)},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={dictId:void 0,dictName:void 0,dictType:void 0,status:"0",remark:void 0},this.resetForm("form")},handleQuery:function(){this.queryParams.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.resetForm("queryForm"),this.handleQuery()},handleAdd:function(){this.reset(),this.open=!0,this.title="添加字典类型"},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.dictId})),this.single=1!==e.length,this.multiple=!e.length},handleUpdate:function(e){var t=this;this.reset();var n=e.dictId||this.ids;Object(a["e"])(n).then((function(e){t.form=e.data,t.open=!0,t.title="修改字典类型"}))},submitForm:function(){var e=this;this.$refs["form"].validate((function(t){t&&(void 0!=e.form.dictId?Object(a["h"])(e.form).then((function(t){e.msgSuccess("修改成功"),e.open=!1,e.getList()})):Object(a["a"])(e.form).then((function(t){e.msgSuccess("新增成功"),e.open=!1,e.getList()})))}))},handleDelete:function(e){var t=this,n=e.dictId||this.ids;this.$confirm('是否确认删除字典编号为"'+n+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(a["c"])(n)})).then((function(){t.getList(),t.msgSuccess("删除成功")}))},handleExport:function(){var e=this,t=this.queryParams;this.$confirm("是否确认导出所有类型数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(a["d"])(t)})).then((function(t){e.download(t.data)}))},handleClearCache:function(){var e=this;Object(a["b"])().then((function(t){e.msgSuccess("清理成功")}))}}},s=o,l=n("cba8"),c=Object(l["a"])(s,i,r,!1,null,null,null);t["default"]=c.exports},"0a5c":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.className,style:{height:e.height,width:e.width}})},r=[],a=n("4d28"),o=n.n(a),s=n("feb2");n("d8ac");var l=3e3,c={mixins:[s["default"]],props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"300px"}},data:function(){return{chart:null}},mounted:function(){var e=this;this.$nextTick((function(){e.initChart()}))},beforeDestroy:function(){this.chart&&(this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=o.a.init(this.$el,"macarons"),this.chart.setOption({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},radar:{radius:"66%",center:["50%","42%"],splitNumber:8,splitArea:{areaStyle:{color:"rgba(127,95,132,.3)",opacity:1,shadowBlur:45,shadowColor:"rgba(0,0,0,.5)",shadowOffsetX:0,shadowOffsetY:15}},indicator:[{name:"Sales",max:1e4},{name:"Administration",max:2e4},{name:"Information Techology",max:2e4},{name:"Customer Support",max:2e4},{name:"Development",max:2e4},{name:"Marketing",max:2e4}]},legend:{left:"center",bottom:"10",data:["Allocated Budget","Expected Spending","Actual Spending"]},series:[{type:"radar",symbolSize:0,areaStyle:{normal:{shadowBlur:13,shadowColor:"rgba(0,0,0,.2)",shadowOffsetX:0,shadowOffsetY:10,opacity:1}},data:[{value:[5e3,7e3,12e3,11e3,15e3,14e3],name:"Allocated Budget"},{value:[4e3,9e3,15e3,15e3,13e3,11e3],name:"Expected Spending"},{value:[5500,11e3,12e3,15e3,12e3,12e3],name:"Actual Spending"}],animationDuration:l}]})}}},u=c,d=n("cba8"),p=Object(d["a"])(u,i,r,!1,null,null,null);t["default"]=p.exports},"0d42":function(e,t,n){},"121a":function(e,t,n){},"13cf":function(e,t,n){"use strict";var i=n("a09b"),r=n("bfc3").find,a=n("c119"),o=n("c1e5"),s="find",l=!0,c=o(s);s in[]&&Array(1)[s]((function(){l=!1})),i({target:"Array",proto:!0,forced:l||!c},{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),a(s)},"15cc1":function(e,t,n){"use strict";n("1680")},1680:function(e,t,n){},1720:function(e,t,n){"use strict";n("3a6f")},"172d":function(e,t,n){},1959:function(e,t,n){},"1a2c":function(e,t,n){"use strict";n("e7a2")},"1d7f":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container home"},[n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{sm:24,lg:24}},[n("blockquote",{staticClass:"text-warning",staticStyle:{"font-size":"14px"}},[e._v(" 领取阿里云通用云产品1888优惠券 "),n("br"),n("el-link",{attrs:{href:"https://www.aliyun.com/minisite/goods?userCode=brki8iof",type:"primary",target:"_blank"}},[e._v("https://www.aliyun.com/minisite/goods?userCode=brki8iof")]),n("br"),e._v(" 领取腾讯云通用云产品2860优惠券 "),n("br"),n("el-link",{attrs:{href:"https://cloud.tencent.com/redirect.php?redirect=1025&cps_key=198c8df2ed259157187173bc7f4f32fd&from=console",type:"primary",target:"_blank"}},[e._v("https://cloud.tencent.com/redirect.php?redirect=1025&cps_key=198c8df2ed259157187173bc7f4f32fd&from=console")]),n("br"),e._v(" 阿里云服务器折扣区 "),n("el-link",{attrs:{href:"http://aly.ruoyi.vip",type:"primary",target:"_blank"}},[e._v(">☛☛点我进入☚☚")]),e._v(" 腾讯云服务器秒杀区 "),n("el-link",{attrs:{href:"http://txy.ruoyi.vip",type:"primary",target:"_blank"}},[e._v(">☛☛点我进入☚☚")]),n("br"),n("h4",{staticClass:"text-danger"},[e._v(" 云产品通用红包,可叠加官网常规优惠使用。(仅限新用户) ")])],1),n("hr")])],1),n("el-row",{attrs:{gutter:20}},[n("el-col",{staticStyle:{"padding-left":"20px"},attrs:{sm:24,lg:12}},[n("h2",[e._v("若依后台管理框架")]),n("p",[e._v(" 一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适自己的。于是利用空闲休息时间开始自己写一套后台系统。如此有了若依管理系统。,她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA等等,当然,您也可以对她进行深度定制,以做出更强系统。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。 ")]),n("p",[n("b",[e._v("当前版本:")]),e._v(" "),n("span",[e._v("v"+e._s(e.version))])]),n("p",[n("el-tag",{attrs:{type:"danger"}},[e._v("¥免费开源")])],1),n("p",[n("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-cloudy",plain:""},on:{click:function(t){return e.goTarget("https://gitee.com/y_project/RuoYi-Vue")}}},[e._v("访问码云")]),n("el-button",{attrs:{size:"mini",icon:"el-icon-s-home",plain:""},on:{click:function(t){return e.goTarget("http://ruoyi.vip")}}},[e._v("访问主页")])],1)]),n("el-col",{staticStyle:{"padding-left":"50px"},attrs:{sm:24,lg:12}},[n("el-row",[n("el-col",{attrs:{span:12}},[n("h2",[e._v("技术选型")])])],1),n("el-row",[n("el-col",{attrs:{span:6}},[n("h4",[e._v("后端技术")]),n("ul",[n("li",[e._v("SpringBoot")]),n("li",[e._v("Spring Security")]),n("li",[e._v("JWT")]),n("li",[e._v("MyBatis")]),n("li",[e._v("Druid")]),n("li",[e._v("Fastjson")]),n("li",[e._v("...")])])]),n("el-col",{attrs:{span:6}},[n("h4",[e._v("前端技术")]),n("ul",[n("li",[e._v("Vue")]),n("li",[e._v("Vuex")]),n("li",[e._v("Element-ui")]),n("li",[e._v("Axios")]),n("li",[e._v("Sass")]),n("li",[e._v("Quill")]),n("li",[e._v("...")])])])],1)],1)],1),n("el-divider"),n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{xs:24,sm:24,md:12,lg:8}},[n("el-card",{staticClass:"update-log"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",[e._v("联系信息")])]),n("div",{staticClass:"body"},[n("p",[n("i",{staticClass:"el-icon-s-promotion"}),e._v(" 官网:"),n("el-link",{attrs:{href:"http://www.ruoyi.vip",target:"_blank"}},[e._v("http://www.ruoyi.vip")])],1),n("p",[n("i",{staticClass:"el-icon-user-solid"}),e._v(" QQ群:"),n("s",[e._v("满937441")]),n("s",[e._v("满887144332")]),e._v(" "),n("s",[e._v("满180251782")]),n("a",{attrs:{href:"https://jq.qq.com/?_wv=1027&k=4WWwqNxN",target:"_blank"}},[e._v(" 104180207")])]),n("p",[n("i",{staticClass:"el-icon-chat-dot-round"}),e._v(" 微信:"),n("a",{attrs:{href:"javascript:;"}},[e._v("/ *若依")])]),n("p",[n("i",{staticClass:"el-icon-money"}),e._v(" 支付宝:"),n("a",{staticClass:"支付宝信息",attrs:{href:"javascript:;"}},[e._v("/ *若依")])])])])],1),n("el-col",{attrs:{xs:24,sm:24,md:12,lg:8}},[n("el-card",{staticClass:"update-log"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",[e._v("更新日志")])]),n("el-collapse",{attrs:{accordion:""}},[n("el-collapse-item",{attrs:{title:"v3.3.0 - 2020-12-14"}},[n("ol",[n("li",[e._v("新增缓存监控功能")]),n("li",[e._v("支持主题风格配置")]),n("li",[e._v("修复多级菜单之间切换无法缓存的问题")]),n("li",[e._v("多级菜单自动配置组件")]),n("li",[e._v("代码生成预览支持高亮显示")]),n("li",[e._v("支持Get请求映射Params参数")]),n("li",[e._v("删除用户和角色解绑关联")]),n("li",[e._v("去除用户手机邮箱部门必填验证")]),n("li",[e._v("Excel支持注解align对齐方式")]),n("li",[e._v("Excel支持导入Boolean型数据")]),n("li",[e._v("优化头像样式,鼠标移入悬停遮罩")]),n("li",[e._v("代码生成预览提供滚动机制")]),n("li",[e._v("代码生成删除多余的数字float类型")]),n("li",[e._v("修正转换字符串的目标字符集属性")]),n("li",[e._v("回显数据字典防止空值报错")]),n("li",[e._v("日志记录增加过滤多文件场景")]),n("li",[e._v("修改缓存Set方法可能导致嵌套的问题")]),n("li",[e._v("移除前端一些多余的依赖")]),n("li",[e._v("防止安全扫描YUI出现的风险提示")]),n("li",[e._v("修改node-sass为dart-sass")]),n("li",[e._v("升级SpringBoot到最新版本2.1.18")]),n("li",[e._v("升级poi到最新版本4.1.2")]),n("li",[e._v("升级oshi到最新版本v5.3.6")]),n("li",[e._v("升级bitwalker到最新版本1.21")]),n("li",[e._v("升级axios到最新版本0.21.0")]),n("li",[e._v("升级element-ui到最新版本2.14.1")]),n("li",[e._v("升级vue到最新版本2.6.12")]),n("li",[e._v("升级vuex到最新版本3.6.0")]),n("li",[e._v("升级vue-cli到版本4.5.9")]),n("li",[e._v("升级vue-router到最新版本3.4.9")]),n("li",[e._v("升级vue-cli到最新版本4.4.6")]),n("li",[e._v("升级vue-cropper到最新版本0.5.5")]),n("li",[e._v("升级clipboard到最新版本2.0.6")]),n("li",[e._v("升级core-js到最新版本3.8.1")]),n("li",[e._v("升级echarts到最新版本4.9.0")]),n("li",[e._v("升级file-saver到最新版本2.0.4")]),n("li",[e._v("升级fuse.js到最新版本6.4.3")]),n("li",[e._v("升级js-beautify到最新版本1.13.0")]),n("li",[e._v("升级js-cookie到最新版本2.2.1")]),n("li",[e._v("升级path-to-regexp到最新版本6.2.0")]),n("li",[e._v("升级quill到最新版本1.3.7")]),n("li",[e._v("升级screenfull到最新版本5.0.2")]),n("li",[e._v("升级sortablejs到最新版本1.10.2")]),n("li",[e._v("升级vuedraggable到最新版本2.24.3")]),n("li",[e._v("升级chalk到最新版本4.1.0")]),n("li",[e._v("升级eslint到最新版本7.15.0")]),n("li",[e._v("升级eslint-plugin-vue到最新版本7.2.0")]),n("li",[e._v("升级lint-staged到最新版本10.5.3")]),n("li",[e._v("升级runjs到最新版本4.4.2")]),n("li",[e._v("升级sass-loader到最新版本10.1.0")]),n("li",[e._v("升级script-ext-html-webpack-plugin到最新版本2.1.5")]),n("li",[e._v("升级svg-sprite-loader到最新版本5.1.1")]),n("li",[e._v("升级vue-template-compiler到最新版本2.6.12")]),n("li",[e._v("其他细节优化")])])]),n("el-collapse-item",{attrs:{title:"v3.2.1 - 2020-11-18"}},[n("ol",[n("li",[e._v("阻止任意文件下载漏洞")]),n("li",[e._v("代码生成支持上传控件")]),n("li",[e._v("新增图片上传组件")]),n("li",[e._v("调整默认首页")]),n("li",[e._v("升级druid到最新版本v1.2.2")]),n("li",[e._v("mapperLocations配置支持分隔符")]),n("li",[e._v("权限信息调整")]),n("li",[e._v("调整sql默认时间")]),n("li",[e._v("解决代码生成没有bit类型的问题")]),n("li",[e._v("升级pagehelper到最新版1.3.0")])])]),n("el-collapse-item",{attrs:{title:"v3.2.0 - 2020-10-10"}},[n("ol",[n("li",[e._v("升级springboot版本到2.1.17 提升安全性")]),n("li",[e._v("升级oshi到最新版本v5.2.5")]),n("li",[e._v("升级druid到最新版本v1.2.1")]),n("li",[e._v("升级jjwt到版本0.9.1")]),n("li",[e._v("升级fastjson到最新版1.2.74")]),n("li",[e._v("修改sass为node-sass,避免el-icon图标乱码")]),n("li",[e._v("代码生成支持同步数据库")]),n("li",[e._v("代码生成支持富文本控件")]),n("li",[e._v("代码生成页面时不忽略remark属性")]),n("li",[e._v("代码生成添加select必填选项")]),n("li",[e._v("Excel导出类型NUMERIC支持精度浮点类型")]),n("li",[e._v("Excel导出targetAttr优化获取值,防止get方法不规范")]),n("li",[e._v("Excel注解支持自动统计数据总和")]),n("li",[e._v("Excel注解支持设置BigDecimal精度&舍入规则")]),n("li",[e._v("菜单&数据权限新增(展开/折叠 全选/全不选 父子联动)")]),n("li",[e._v("允许用户分配到部门父节点")]),n("li",[e._v("菜单新增是否缓存keep-alive")]),n("li",[e._v("表格操作列间距调整")]),n("li",[e._v("限制系统内置参数不允许删除")]),n("li",[e._v("富文本组件优化,支持自定义高度&图片冲突问题")]),n("li",[e._v("富文本工具栏样式对齐")]),n("li",[e._v("导入excel整形值校验优化")]),n("li",[e._v("修复页签关闭所有时固定标签路由不刷新问题")]),n("li",[e._v("表单构建布局型组件新增按钮")]),n("li",[e._v("左侧菜单文字过长显示省略号")]),n("li",[e._v("修正根节点为子部门时,树状结构显示问题")]),n("li",[e._v("修正调用目标字符串最大长度")]),n("li",[e._v("修正菜单提示信息错误")]),n("li",[e._v("修正定时任务执行一次权限标识")]),n("li",[e._v("修正数据库字符串类型nvarchar")]),n("li",[e._v("优化递归子节点")]),n("li",[e._v("优化数据权限判断")]),n("li",[e._v("其他细节优化")])])]),n("el-collapse-item",{attrs:{title:"v3.1.0 - 2020-08-13"}},[n("ol",[n("li",[e._v("表格工具栏右侧添加刷新&显隐查询组件")]),n("li",[e._v("后端支持CORS跨域请求")]),n("li",[e._v("代码生成支持选择上级菜单")]),n("li",[e._v("代码生成支持自定义路径")]),n("li",[e._v("代码生成支持复选框")]),n("li",[e._v("Excel导出导入支持dictType字典类型")]),n("li",[e._v("Excel支持分割字符串组内容")]),n("li",[e._v("验证码类型支持(数组计算、字符验证)")]),n("li",[e._v("升级vue-cli版本到4.4.4")]),n("li",[e._v("修改 node-sass 为 dart-sass")]),n("li",[e._v("表单类型为Integer/Long设置整形默认值")]),n("li",[e._v("代码生成器默认mapper路径与默认mapperScan路径不一致")]),n("li",[e._v("优化防重复提交拦截器")]),n("li",[e._v("优化上级菜单不能选择自己")]),n("li",[e._v("修复角色的权限分配后,未实时生效问题")]),n("li",[e._v("修复在线用户日志记录类型")]),n("li",[e._v("修复富文本空格和缩进保存后不生效问题")]),n("li",[e._v("修复在线用户判断逻辑")]),n("li",[e._v("唯一限制条件只返回单条数据")]),n("li",[e._v("添加获取当前的环境配置方法")]),n("li",[e._v("超时登录后页面跳转到首页")]),n("li",[e._v("全局异常状态汉化拦截处理")]),n("li",[e._v("HTML过滤器改为将html转义")]),n("li",[e._v("检查字符支持小数点&降级改成异常提醒")]),n("li",[e._v("其他细节优化")])])]),n("el-collapse-item",{attrs:{title:"v3.0.0 - 2020-07-20"}},[n("ol",[n("li",[e._v("单应用调整为多模块项目")]),n("li",[e._v("升级element-ui版本到2.13.2")]),n("li",[e._v("删除babel,提高编译速度。")]),n("li",[e._v("新增菜单默认主类目")]),n("li",[e._v("编码文件名修改为uuid方式")]),n("li",[e._v("定时任务cron表达式验证")]),n("li",[e._v("角色权限修改时已有权限未自动勾选异常修复")]),n("li",[e._v("防止切换权限用户后登录出现404")]),n("li",[e._v("Excel支持sort导出排序")]),n("li",[e._v("创建用户不允许选择超级管理员角色")]),n("li",[e._v("修复代码生成导入表结构出现异常页面不提醒问题")]),n("li",[e._v("修复代码生成点击多次表修改数据不变化的问题")]),n("li",[e._v("修复头像上传成功二次打开无法改变裁剪框大小和位置问题")]),n("li",[e._v("修复布局为small者mini用户表单显示错位问题")]),n("li",[e._v("修复热部署导致的强换异常问题")]),n("li",[e._v("修改用户管理复选框宽度,防止部分浏览器出现省略号")]),n("li",[e._v("IpUtils工具,清除Xss特殊字符,防止Xff注入攻击")]),n("li",[e._v("生成domain 如果是浮点型 统一用BigDecimal")]),n("li",[e._v("定时任务调整label-width,防止部署出现错位")]),n("li",[e._v("调整表头固定列默认样式")]),n("li",[e._v("代码生成模板调整,字段为String并且必填则加空串条件")]),n("li",[e._v("代码生成字典Integer/Long使用parseInt")]),n("li",[e._v(" 修复dict_sort不可update为0的问题&查询返回增加dict_sort升序排序 ")]),n("li",[e._v("修正岗位导出权限注解")]),n("li",[e._v("禁止加密密文返回前端")]),n("li",[e._v("修复代码生成页面中的查询条件创建时间未生效的问题")]),n("li",[e._v("修复首页搜索菜单外链无法点击跳转问题")]),n("li",[e._v("修复菜单管理选择图标,backspace删除时不过滤数据")]),n("li",[e._v("用户管理部门分支节点不可检查&显示计数")]),n("li",[e._v("数据范围过滤属性调整")]),n("li",[e._v("其他细节优化")])])]),n("el-collapse-item",{attrs:{title:"v2.3.0 - 2020-06-01"}},[n("ol",[n("li",[e._v("升级fastjson到最新版1.2.70 修复高危安全漏洞")]),n("li",[e._v("dev启动默认打开浏览器")]),n("li",[e._v("vue-cli使用默认source-map")]),n("li",[e._v("slidebar eslint报错优化")]),n("li",[e._v("当tags-view滚动关闭右键菜单")]),n("li",[e._v("字典管理添加缓存读取")]),n("li",[e._v("参数管理支持缓存操作")]),n("li",[e._v("支持一级菜单(和主页同级)在main区域显示")]),n("li",[e._v("限制外链地址必须以http(s)开头")]),n("li",[e._v("tagview & sidebar 主题颜色与element ui(全局)同步")]),n("li",[e._v("修改数据源类型优先级,先根据方法,再根据类")]),n("li",[e._v("支持是否需要设置token属性,自定义返回码消息。")]),n("li",[e._v("swagger请求前缀加入配置。")]),n("li",[e._v("登录地点设置内容过长则隐藏显示")]),n("li",[e._v("修复定时任务执行一次按钮后不提示消息问题")]),n("li",[e._v("修改上级部门(选择项排除本身和下级)")]),n("li",[e._v("通用http发送方法增加参数 contentType 编码类型")]),n("li",[e._v("更换IP地址查询接口")]),n("li",[e._v("修复页签变量undefined")]),n("li",[e._v("添加校验部门包含未停用的子部门")]),n("li",[e._v("修改定时任务详情下次执行时间日期显示错误")]),n("li",[e._v("角色管理查询设置默认排序字段")]),n("li",[e._v("swagger添加enable参数控制是否启用")]),n("li",[e._v("只对json类型请求构建可重复读取inputStream的request")]),n("li",[e._v("修改代码生成字典字段int类型没有自动选中问题")]),n("li",[e._v("vuex用户名取值修正")]),n("li",[e._v("表格树模板去掉多余的)")]),n("li",[e._v("代码生成序号修正")]),n("li",[e._v("全屏情况下不调整上外边距")]),n("li",[e._v("代码生成Date字段添加默认格式")]),n("li",[e._v("用户管理角色选择权限控制")]),n("li",[e._v("修复路由懒加载报错问题")]),n("li",[e._v("模板sql.vm添加菜单状态")]),n("li",[e._v("设置用户名称不能修改")]),n("li",[e._v("dialog添加append-to-body属性,防止ie遮罩")]),n("li",[e._v("菜单区分状态和显示隐藏功能")]),n("li",[e._v("升级fastjson到最新版1.2.68 修复安全加固")]),n("li",[e._v("修复代码生成如果选择字典类型缺失逗号问题")]),n("li",[e._v("登录请求params更换为data,防止暴露url")]),n("li",[e._v("日志返回时间格式处理")]),n("li",[e._v("添加handle控制允许拖动的元素")]),n("li",[e._v("布局设置点击扩大范围")]),n("li",[e._v("代码生成列属性排序查询")]),n("li",[e._v("代码生成列支持拖动排序")]),n("li",[e._v("修复时间格式不支持ios问题")]),n("li",[e._v("表单构建添加父级class,防止冲突")]),n("li",[e._v("定时任务并发属性修正")]),n("li",[e._v("角色禁用&菜单隐藏不查询权限")]),n("li",[e._v("其他细节优化")])])]),n("el-collapse-item",{attrs:{title:"v2.2.0 - 2020-03-18"}},[n("ol",[n("li",[e._v("系统监控新增定时任务功能")]),n("li",[e._v("添加一个打包Web工程bat")]),n("li",[e._v("修复页签鼠标滚轮按下的时候,可以关闭不可关闭的tag")]),n("li",[e._v("修复点击退出登录有时会无提示问题")]),n("li",[e._v("修复防重复提交注解无效问题")]),n("li",[e._v("修复通知公告批量删除异常问题")]),n("li",[e._v("添加菜单时路由地址必填限制")]),n("li",[e._v("代码生成字段描述可编辑")]),n("li",[e._v("修复用户修改个人信息导致缓存不过期问题")]),n("li",[e._v("个人信息创建时间获取正确属性值")]),n("li",[e._v("操作日志详细显示正确类型")]),n("li",[e._v("导入表单击行数据时选中对应的复选框")]),n("li",[e._v("批量替换表前缀逻辑调整")]),n("li",[e._v("固定重定向路径表达式")]),n("li",[e._v("升级element-ui版本到2.13.0")]),n("li",[e._v("操作日志排序调整")]),n("li",[e._v("修复charts切换侧边栏或者缩放窗口显示bug")]),n("li",[e._v("其他细节优化")])])]),n("el-collapse-item",{attrs:{title:"v2.1.0 - 2020-02-24"}},[n("ol",[n("li",[e._v("新增表单构建")]),n("li",[e._v("代码生成支持树表结构")]),n("li",[e._v("新增用户导入")]),n("li",[e._v("修复动态加载路由页面刷新问题")]),n("li",[e._v("修复地址开关无效问题")]),n("li",[e._v("汉化错误提示页面")]),n("li",[e._v("代码生成已知问题修改")]),n("li",[e._v("修复多数据源下配置关闭出现异常处理")]),n("li",[e._v("添加HTML过滤器,用于去除XSS漏洞隐患")]),n("li",[e._v("修复上传头像控制台出现异常")]),n("li",[e._v("修改用户管理分页不正确的问题")]),n("li",[e._v("修复验证码记录提示错误")]),n("li",[e._v("修复request.js缺少Message引用")]),n("li",[e._v("修复表格时间为空出现的异常")]),n("li",[e._v("添加Jackson日期反序列化时区配置")]),n("li",[e._v("调整根据用户权限加载菜单数据树形结构")]),n("li",[e._v("调整成功登陆不恢复按钮,防止多次点击")]),n("li",[e._v("修改用户个人资料同步缓存信息")]),n("li",[e._v("修复页面同时出现el-upload和Editor不显示处理")]),n("li",[e._v("修复在角色管理页修改菜单权限偶尔未选中问题")]),n("li",[e._v("配置文件新增redis密码属性")]),n("li",[e._v("设置mybatis全局的配置文件")]),n("li",[e._v("其他细节优化")])])]),n("el-collapse-item",{attrs:{title:"v2.0.0 - 2019-12-02"}},[n("ol",[n("li",[e._v("新增代码生成")]),n("li",[e._v("新增@RepeatSubmit注解,防止重复提交")]),n("li",[e._v("新增菜单主目录添加/删除操作")]),n("li",[e._v("日志记录过滤特殊对象,防止转换异常")]),n("li",[e._v("修改代码生成路由脚本错误")]),n("li",[e._v("用户上传头像实时同步缓存,无需重新登录")]),n("li",[e._v("调整切换页签后不重新加载数据")]),n("li",[e._v("添加jsencrypt实现参数的前端加密")]),n("li",[e._v("系统退出删除用户缓存记录")]),n("li",[e._v("其他细节优化")])])]),n("el-collapse-item",{attrs:{title:"v1.1.0 - 2019-11-11"}},[n("ol",[n("li",[e._v("新增在线用户管理")]),n("li",[e._v("新增按钮组功能实现(批量删除、导出、清空)")]),n("li",[e._v("新增查询条件重置按钮")]),n("li",[e._v("新增Swagger全局Token配置")]),n("li",[e._v("新增后端参数校验")]),n("li",[e._v("修复字典管理页面的日期查询异常")]),n("li",[e._v("修改时间函数命名防止冲突")]),n("li",[e._v("去除菜单上级校验,默认为顶级")]),n("li",[e._v("修复用户密码无法修改问题")]),n("li",[e._v("修复菜单类型为按钮时不显示权限标识")]),n("li",[e._v("其他细节优化")])])]),n("el-collapse-item",{attrs:{title:"v1.0.0 - 2019-10-08"}},[n("ol",[n("li",[e._v("若依前后端分离系统正式发布")])])])],1)],1)],1),n("el-col",{attrs:{xs:24,sm:24,md:12,lg:8}},[n("el-card",{staticClass:"update-log"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",[e._v("捐赠支持")])]),n("div",{staticClass:"body"},[n("img",{attrs:{src:"https://oscimg.oschina.net/oscnet/up-d6695f82666e5018f715c41cb7ee60d3b73.png",alt:"donate",width:"100%"}}),n("span",{staticStyle:{display:"inline-block",height:"30px","line-height":"30px"}},[e._v("你可以请作者喝杯咖啡表示鼓励")])])])],1)],1)],1)},r=[],a={name:"index",data:function(){return{version:"3.3.0"}},methods:{goTarget:function(e){window.open(e,"_blank")}}},o=a,s=(n("8bc5"),n("cba8")),l=Object(s["a"])(o,i,r,!1,null,"d3b54a20",null);t["default"]=l.exports},"1e4b":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dashboard-editor-container"},[n("panel-group",{on:{handleSetLineChartData:e.handleSetLineChartData}}),n("el-row",{staticStyle:{background:"#fff",padding:"16px 16px 0","margin-bottom":"32px"}},[n("line-chart",{attrs:{"chart-data":e.lineChartData}})],1),n("el-row",{attrs:{gutter:32}},[n("el-col",{attrs:{xs:24,sm:24,lg:8}},[n("div",{staticClass:"chart-wrapper"},[n("raddar-chart")],1)]),n("el-col",{attrs:{xs:24,sm:24,lg:8}},[n("div",{staticClass:"chart-wrapper"},[n("pie-chart")],1)]),n("el-col",{attrs:{xs:24,sm:24,lg:8}},[n("div",{staticClass:"chart-wrapper"},[n("bar-chart")],1)])],1)],1)},r=[],a=n("fbc4"),o=n("eab4"),s=n("0a5c"),l=n("d153"),c=n("9488"),u={newVisitis:{expectedData:[100,120,161,134,105,160,165],actualData:[120,82,91,154,162,140,145]},messages:{expectedData:[200,192,120,144,160,130,140],actualData:[180,160,151,106,145,150,130]},purchases:{expectedData:[80,100,121,104,105,90,100],actualData:[120,90,100,138,142,130,130]},shoppings:{expectedData:[130,140,141,142,145,150,160],actualData:[120,82,91,154,162,140,130]}},d={name:"Index",components:{PanelGroup:a["default"],LineChart:o["default"],RaddarChart:s["default"],PieChart:l["default"],BarChart:c["default"]},data:function(){return{lineChartData:u.newVisitis}},methods:{handleSetLineChartData:function(e){this.lineChartData=u[e]}}},p=d,f=(n("f2d7"),n("cba8")),h=Object(f["a"])(p,i,r,!1,null,"2f65a1b7",null);t["default"]=h.exports},"1e8b":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-form",{ref:"form",attrs:{model:e.user,rules:e.rules,"label-width":"80px"}},[n("el-form-item",{attrs:{label:"用户昵称",prop:"nickName"}},[n("el-input",{model:{value:e.user.nickName,callback:function(t){e.$set(e.user,"nickName",t)},expression:"user.nickName"}})],1),n("el-form-item",{attrs:{label:"手机号码",prop:"phonenumber"}},[n("el-input",{attrs:{maxlength:"11"},model:{value:e.user.phonenumber,callback:function(t){e.$set(e.user,"phonenumber",t)},expression:"user.phonenumber"}})],1),n("el-form-item",{attrs:{label:"邮箱",prop:"email"}},[n("el-input",{attrs:{maxlength:"50"},model:{value:e.user.email,callback:function(t){e.$set(e.user,"email",t)},expression:"user.email"}})],1),n("el-form-item",{attrs:{label:"性别"}},[n("el-radio-group",{model:{value:e.user.sex,callback:function(t){e.$set(e.user,"sex",t)},expression:"user.sex"}},[n("el-radio",{attrs:{label:"0"}},[e._v("男")]),n("el-radio",{attrs:{label:"1"}},[e._v("女")])],1)],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.submit}},[e._v("保存")]),n("el-button",{attrs:{type:"danger",size:"mini"},on:{click:e.close}},[e._v("关闭")])],1)],1)},r=[],a=n("c0c7"),o={props:{user:{type:Object}},data:function(){return{rules:{nickName:[{required:!0,message:"用户昵称不能为空",trigger:"blur"}],email:[{required:!0,message:"邮箱地址不能为空",trigger:"blur"},{type:"email",message:"'请输入正确的邮箱地址",trigger:["blur","change"]}],phonenumber:[{required:!0,message:"手机号码不能为空",trigger:"blur"},{pattern:/^1[3|4|5|6|7|8|9][0-9]\d{8}$/,message:"请输入正确的手机号码",trigger:"blur"}]}}},methods:{submit:function(){var e=this;this.$refs["form"].validate((function(t){t&&Object(a["k"])(e.user).then((function(t){e.msgSuccess("修改成功")}))}))},close:function(){this.$store.dispatch("tagsView/delView",this.$route),this.$router.push({path:"/index"})}}},s=o,l=n("cba8"),c=Object(l["a"])(s,i,r,!1,null,null,null);t["default"]=c.exports},"1f34":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container"},[n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{span:4,xs:24}},[n("div",{staticClass:"head-container"},[n("el-input",{staticStyle:{"margin-bottom":"20px"},attrs:{placeholder:"请输入部门名称",clearable:"",size:"small","prefix-icon":"el-icon-search"},model:{value:e.deptName,callback:function(t){e.deptName=t},expression:"deptName"}})],1),n("div",{staticClass:"head-container"},[n("el-tree",{ref:"tree",attrs:{data:e.deptOptions,props:e.defaultProps,"expand-on-click-node":!1,"filter-node-method":e.filterNode,"default-expand-all":""},on:{"node-click":e.handleNodeClick}})],1)]),n("el-col",{attrs:{span:20,xs:24}},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,inline:!0,"label-width":"68px"}},[n("el-form-item",{attrs:{label:"用户名称",prop:"userName"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入用户名称",clearable:"",size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.query.userName,callback:function(t){e.$set(e.queryParams.query,"userName",t)},expression:"queryParams.query.userName"}})],1),n("el-form-item",{attrs:{label:"手机号码",prop:"phonenumber"}},[n("el-input",{staticStyle:{width:"240px"},attrs:{placeholder:"请输入手机号码",clearable:"",size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.query.phonenumber,callback:function(t){e.$set(e.queryParams.query,"phonenumber",t)},expression:"queryParams.query.phonenumber"}})],1),n("el-form-item",{attrs:{label:"状态",prop:"status"}},[n("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"用户状态",clearable:"",size:"small"},model:{value:e.queryParams.query.status,callback:function(t){e.$set(e.queryParams.query,"status",t)},expression:"queryParams.query.status"}},e._l(e.statusOptions,(function(e){return n("el-option",{key:e.dictValue,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1),n("el-form-item",{attrs:{label:"创建时间"}},[n("el-date-picker",{staticStyle:{width:"240px"},attrs:{size:"small","value-format":"yyyy-MM-dd",type:"daterange","range-separator":"-","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.dateRange,callback:function(t){e.dateRange=t},expression:"dateRange"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置")])],1)],1),n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:user:add"],expression:"['system:user:add']"}],attrs:{type:"primary",plain:"",icon:"el-icon-plus",size:"mini"},on:{click:e.handleAdd}},[e._v("新增 ")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:user:edit"],expression:"['system:user:edit']"}],attrs:{type:"success",plain:"",icon:"el-icon-edit",size:"mini",disabled:e.single},on:{click:e.handleUpdate}},[e._v("修改 ")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:user:remove"],expression:"['system:user:remove']"}],attrs:{type:"danger",plain:"",icon:"el-icon-delete",size:"mini",disabled:e.multiple},on:{click:e.handleDelete}},[e._v("删除 ")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:user:import"],expression:"['system:user:import']"}],attrs:{type:"info",plain:"",icon:"el-icon-upload2",size:"mini"},on:{click:e.handleImport}},[e._v("导入 ")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:user:export"],expression:"['system:user:export']"}],attrs:{type:"warning",plain:"",icon:"el-icon-download",size:"mini"},on:{click:e.handleExport}},[e._v("导出 ")])],1),n("right-toolbar",{attrs:{showSearch:e.showSearch,columns:e.columns},on:{"update:showSearch":function(t){e.showSearch=t},"update:show-search":function(t){e.showSearch=t},queryTable:e.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.userList},on:{"selection-change":e.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"50",align:"center"}}),e.columns[0].visible?n("el-table-column",{key:"userId",attrs:{label:"用户编号",align:"center",prop:"userId"}}):e._e(),e.columns[1].visible?n("el-table-column",{key:"userName",attrs:{label:"用户名称",align:"center",prop:"userName","show-overflow-tooltip":!0}}):e._e(),e.columns[2].visible?n("el-table-column",{key:"nickName",attrs:{label:"用户昵称",align:"center",prop:"nickName","show-overflow-tooltip":!0}}):e._e(),e.columns[3].visible?n("el-table-column",{key:"deptName",attrs:{label:"部门",align:"center",prop:"dept.deptName","show-overflow-tooltip":!0}}):e._e(),e.columns[4].visible?n("el-table-column",{key:"phonenumber",attrs:{label:"手机号码",align:"center",prop:"phonenumber",width:"120"}}):e._e(),e.columns[5].visible?n("el-table-column",{key:"status",attrs:{label:"状态",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-switch",{attrs:{"active-value":"0","inactive-value":"1"},on:{change:function(n){return e.handleStatusChange(t.row)}},model:{value:t.row.status,callback:function(n){e.$set(t.row,"status",n)},expression:"scope.row.status"}})]}}],null,!1,3955094654)}):e._e(),e.columns[6].visible?n("el-table-column",{attrs:{label:"创建时间",align:"center",prop:"createTime",width:"160"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(e.parseTime(t.row.createTime)))])]}}],null,!1,3078210614)}):e._e(),n("el-table-column",{attrs:{label:"操作",align:"center",width:"160","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:user:edit"],expression:"['system:user:edit']"}],attrs:{size:"mini",type:"text",icon:"el-icon-edit"},on:{click:function(n){return e.handleUpdate(t.row)}}},[e._v("修改 ")]),1!==t.row.userId?n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:user:remove"],expression:"['system:user:remove']"}],attrs:{size:"mini",type:"text",icon:"el-icon-delete"},on:{click:function(n){return e.handleDelete(t.row)}}},[e._v("删除 ")]):e._e(),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:user:resetPwd"],expression:"['system:user:resetPwd']"}],attrs:{size:"mini",type:"text",icon:"el-icon-key"},on:{click:function(n){return e.handleResetPwd(t.row)}}},[e._v("重置 ")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}})],1)],1),n("el-dialog",{attrs:{title:e.title,visible:e.open,width:"600px","append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[n("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"80px"}},[n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"用户昵称",prop:"nickName"}},[n("el-input",{attrs:{placeholder:"请输入用户昵称"},model:{value:e.form.nickName,callback:function(t){e.$set(e.form,"nickName",t)},expression:"form.nickName"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"归属部门",prop:"deptId"}},[n("treeselect",{attrs:{options:e.deptOptions,"show-count":!0,placeholder:"请选择归属部门"},model:{value:e.form.deptId,callback:function(t){e.$set(e.form,"deptId",t)},expression:"form.deptId"}})],1)],1)],1),n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"手机号码",prop:"phonenumber"}},[n("el-input",{attrs:{placeholder:"请输入手机号码",maxlength:"11"},model:{value:e.form.phonenumber,callback:function(t){e.$set(e.form,"phonenumber",t)},expression:"form.phonenumber"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"邮箱",prop:"email"}},[n("el-input",{attrs:{placeholder:"请输入邮箱",maxlength:"50"},model:{value:e.form.email,callback:function(t){e.$set(e.form,"email",t)},expression:"form.email"}})],1)],1)],1),n("el-row",[n("el-col",{attrs:{span:12}},[void 0==e.form.userId?n("el-form-item",{attrs:{label:"用户名称",prop:"userName"}},[n("el-input",{attrs:{placeholder:"请输入用户名称"},model:{value:e.form.userName,callback:function(t){e.$set(e.form,"userName",t)},expression:"form.userName"}})],1):e._e()],1),n("el-col",{attrs:{span:12}},[void 0==e.form.userId?n("el-form-item",{attrs:{label:"用户密码",prop:"password"}},[n("el-input",{attrs:{placeholder:"请输入用户密码",type:"password"},model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}})],1):e._e()],1)],1),n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"用户性别"}},[n("el-select",{attrs:{placeholder:"请选择"},model:{value:e.form.sex,callback:function(t){e.$set(e.form,"sex",t)},expression:"form.sex"}},e._l(e.sexOptions,(function(e){return n("el-option",{key:e.dictValue,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"状态"}},[n("el-radio-group",{model:{value:e.form.status,callback:function(t){e.$set(e.form,"status",t)},expression:"form.status"}},e._l(e.statusOptions,(function(t){return n("el-radio",{key:t.dictValue,attrs:{label:t.dictValue}},[e._v(e._s(t.dictLabel)+" ")])})),1)],1)],1)],1),n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"岗位"}},[n("el-select",{attrs:{multiple:"",placeholder:"请选择"},model:{value:e.form.postIds,callback:function(t){e.$set(e.form,"postIds",t)},expression:"form.postIds"}},e._l(e.postOptions,(function(e){return n("el-option",{key:e.postId,attrs:{label:e.postName,value:e.postId,disabled:1==e.status}})})),1)],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"角色"}},[n("el-select",{attrs:{multiple:"",placeholder:"请选择"},model:{value:e.form.roleIds,callback:function(t){e.$set(e.form,"roleIds",t)},expression:"form.roleIds"}},e._l(e.roleOptions,(function(e){return n("el-option",{key:e.roleId,attrs:{label:e.roleName,value:e.roleId,disabled:1==e.status}})})),1)],1)],1)],1),n("el-row",[n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"备注"}},[n("el-input",{attrs:{type:"textarea",placeholder:"请输入内容"},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1)],1)],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("确 定")]),n("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1),n("el-dialog",{attrs:{title:e.upload.title,visible:e.upload.open,width:"400px","append-to-body":""},on:{"update:visible":function(t){return e.$set(e.upload,"open",t)}}},[n("el-upload",{ref:"upload",attrs:{limit:1,accept:".xlsx, .xls",headers:e.upload.headers,action:e.upload.url+"?updateSupport="+e.upload.updateSupport,disabled:e.upload.isUploading,"on-progress":e.handleFileUploadProgress,"on-success":e.handleFileSuccess,"auto-upload":!1,drag:""}},[n("i",{staticClass:"el-icon-upload"}),n("div",{staticClass:"el-upload__text"},[e._v(" 将文件拖到此处,或 "),n("em",[e._v("点击上传")])]),n("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[n("el-checkbox",{model:{value:e.upload.updateSupport,callback:function(t){e.$set(e.upload,"updateSupport",t)},expression:"upload.updateSupport"}}),e._v(" 是否更新已经存在的用户数据 "),n("el-link",{staticStyle:{"font-size":"12px"},attrs:{type:"info"},on:{click:e.importTemplate}},[e._v("下载模板")])],1),n("div",{staticClass:"el-upload__tip",staticStyle:{color:"red"},attrs:{slot:"tip"},slot:"tip"},[e._v("提示:仅允许导入“xls”或“xlsx”格式文件!")])]),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:e.submitFileForm}},[e._v("确 定")]),n("el-button",{on:{click:function(t){e.upload.open=!1}}},[e._v("取 消")])],1)],1)],1)},r=[],a=(n("cb3c"),n("6540"),n("c0c7")),o=n("5f87"),s=n("fcb7"),l=n("7d66"),c=n.n(l),u=(n("5166"),{name:"User",components:{Treeselect:c.a},data:function(){return{loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,userList:null,title:"",deptOptions:void 0,open:!1,deptName:void 0,initPassword:void 0,dateRange:[],statusOptions:[],sexOptions:[],postOptions:[],roleOptions:[],form:{},defaultProps:{children:"children",label:"label"},upload:{open:!1,title:"",isUploading:!1,updateSupport:0,headers:{Authorization:"Bearer "+Object(o["a"])()},url:"/stage-api/system/user/importData"},queryParams:{pageNum:1,pageSize:10,query:{userName:void 0,phonenumber:void 0,status:void 0,deptId:void 0}},columns:[{key:0,label:"用户编号",visible:!0},{key:1,label:"用户名称",visible:!0},{key:2,label:"用户昵称",visible:!0},{key:3,label:"部门",visible:!0},{key:4,label:"手机号码",visible:!0},{key:5,label:"状态",visible:!0},{key:6,label:"创建时间",visible:!0}],rules:{userName:[{required:!0,message:"用户名称不能为空",trigger:"blur"}],nickName:[{required:!0,message:"用户昵称不能为空",trigger:"blur"}],password:[{required:!0,message:"用户密码不能为空",trigger:"blur"}],email:[{type:"email",message:"'请输入正确的邮箱地址",trigger:["blur","change"]}],phonenumber:[{pattern:/^1[3|4|5|6|7|8|9][0-9]\d{8}$/,message:"请输入正确的手机号码",trigger:"blur"}]}}},watch:{deptName:function(e){this.$refs.tree.filter(e)}},created:function(){var e=this;this.getList(),this.getTreeselect(),this.getDicts("sys_normal_disable").then((function(t){e.statusOptions=t.data})),this.getDicts("sys_user_sex").then((function(t){e.sexOptions=t.data})),this.getConfigKey("sys.user.initPassword").then((function(t){e.initPassword=t.msg}))},methods:{getList:function(){var e=this;this.loading=!0,Object(a["h"])(this.addDateRange(this.queryParams,this.dateRange)).then((function(t){e.userList=t.rows,e.total=t.total,e.loading=!1}))},getTreeselect:function(){var e=this;Object(s["g"])().then((function(t){e.deptOptions=t.data}))},filterNode:function(e,t){return!e||-1!==t.label.indexOf(e)},handleNodeClick:function(e){this.queryParams.deptId=e.id,this.getList()},handleStatusChange:function(e){var t=this,n="0"===e.status?"启用":"停用";this.$confirm('确认要"'+n+'""'+e.userName+'"用户吗?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(a["b"])(e.userId,e.status)})).then((function(){t.msgSuccess(n+"成功")})).catch((function(){e.status="0"===e.status?"1":"0"}))},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={userId:void 0,deptId:void 0,userName:void 0,nickName:void 0,password:void 0,phonenumber:void 0,email:void 0,sex:void 0,status:"0",remark:void 0,postIds:[],roleIds:[]},this.resetForm("form")},handleQuery:function(){this.queryParams.page=1,this.getList()},resetQuery:function(){this.dateRange=[],this.resetForm("queryForm"),this.handleQuery()},handleSelectionChange:function(e){this.ids=e.map((function(e){return e.userId})),this.single=1!=e.length,this.multiple=!e.length},handleAdd:function(){var e=this;this.reset(),this.getTreeselect(),Object(a["e"])().then((function(t){e.postOptions=t.posts,e.roleOptions=t.roles,e.open=!0,e.title="添加用户",e.form.password=e.initPassword}))},handleUpdate:function(e){var t=this;this.reset(),this.getTreeselect();var n=e.userId||this.ids;Object(a["e"])(n).then((function(e){t.form=e.data,t.postOptions=e.posts,t.roleOptions=e.roles,t.form.postIds=e.postIds,t.form.roleIds=e.roleIds,t.open=!0,t.title="修改用户",t.form.password=""}))},handleResetPwd:function(e){var t=this;this.$prompt('请输入"'+e.userName+'"的新密码',"提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then((function(n){var i=n.value;Object(a["i"])(e.userId,i).then((function(e){t.msgSuccess("修改成功,新密码是:"+i)}))})).catch((function(){}))},submitForm:function(){var e=this;this.$refs["form"].validate((function(t){t&&(void 0!=e.form.userId?Object(a["j"])(e.form).then((function(t){e.msgSuccess("修改成功"),e.open=!1,e.getList()})):Object(a["a"])(e.form).then((function(t){e.msgSuccess("新增成功"),e.open=!1,e.getList()})))}))},handleDelete:function(e){var t=this,n=e.userId||this.ids;this.$confirm('是否确认删除用户编号为"'+n+'"的数据项?',"警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(a["c"])(n)})).then((function(){t.getList(),t.msgSuccess("删除成功")}))},handleExport:function(){var e=this,t=this.queryParams;this.$confirm("是否确认导出所有用户数据项?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){return Object(a["d"])(t)})).then((function(t){e.download(t.data)}))},handleImport:function(){this.upload.title="用户导入",this.upload.open=!0},importTemplate:function(){var e=this;Object(a["g"])().then((function(t){e.download(t.data)}))},handleFileUploadProgress:function(e,t,n){this.upload.isUploading=!0},handleFileSuccess:function(e,t,n){this.upload.open=!1,this.upload.isUploading=!1,this.$refs.upload.clearFiles(),this.$alert(e.msg,"导入结果",{dangerouslyUseHTMLString:!0}),this.getList()},submitFileForm:function(){this.$refs.upload.submit()}}}),d=u,p=n("cba8"),f=Object(p["a"])(d,i,r,!1,null,null,null);t["default"]=f.exports},"202d":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-container"},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],ref:"queryForm",attrs:{model:e.queryParams,inline:!0,"label-width":"68px"}},[n("el-form-item",{attrs:{label:"公告标题",prop:"noticeTitle"}},[n("el-input",{attrs:{placeholder:"请输入公告标题",clearable:"",size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.query.noticeTitle,callback:function(t){e.$set(e.queryParams.query,"noticeTitle",t)},expression:"queryParams.query.noticeTitle"}})],1),n("el-form-item",{attrs:{label:"操作人员",prop:"createBy"}},[n("el-input",{attrs:{placeholder:"请输入操作人员",clearable:"",size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery(t)}},model:{value:e.queryParams.query.createBy,callback:function(t){e.$set(e.queryParams.query,"createBy",t)},expression:"queryParams.query.createBy"}})],1),n("el-form-item",{attrs:{label:"类型",prop:"noticeType"}},[n("el-select",{attrs:{placeholder:"公告类型",clearable:"",size:"small"},model:{value:e.queryParams.query.noticeType,callback:function(t){e.$set(e.queryParams.query,"noticeType",t)},expression:"queryParams.query.noticeType"}},e._l(e.typeOptions,(function(e){return n("el-option",{key:e.dictValue,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1),n("el-form-item",[n("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:e.handleQuery}},[e._v("搜索")]),n("el-button",{attrs:{icon:"el-icon-refresh",size:"mini"},on:{click:e.resetQuery}},[e._v("重置")])],1)],1),n("el-row",{staticClass:"mb8",attrs:{gutter:10}},[n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:notice:add"],expression:"['system:notice:add']"}],attrs:{type:"primary",plain:"",icon:"el-icon-plus",size:"mini"},on:{click:e.handleAdd}},[e._v("新增")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:notice:edit"],expression:"['system:notice:edit']"}],attrs:{type:"success",plain:"",icon:"el-icon-edit",size:"mini",disabled:e.single},on:{click:e.handleUpdate}},[e._v("修改")])],1),n("el-col",{attrs:{span:1.5}},[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:notice:remove"],expression:"['system:notice:remove']"}],attrs:{type:"danger",plain:"",icon:"el-icon-delete",size:"mini",disabled:e.multiple},on:{click:e.handleDelete}},[e._v("删除")])],1),n("right-toolbar",{attrs:{showSearch:e.showSearch},on:{"update:showSearch":function(t){e.showSearch=t},"update:show-search":function(t){e.showSearch=t},queryTable:e.getList}})],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{data:e.noticeList},on:{"selection-change":e.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),n("el-table-column",{attrs:{label:"序号",align:"center",prop:"noticeId",width:"100"}}),n("el-table-column",{attrs:{label:"公告标题",align:"center",prop:"noticeTitle","show-overflow-tooltip":!0}}),n("el-table-column",{attrs:{label:"公告类型",align:"center",prop:"noticeType",formatter:e.typeFormat,width:"100"}}),n("el-table-column",{attrs:{label:"状态",align:"center",prop:"status",formatter:e.statusFormat,width:"100"}}),n("el-table-column",{attrs:{label:"创建者",align:"center",prop:"createBy",width:"100"}}),n("el-table-column",{attrs:{label:"创建时间",align:"center",prop:"createTime",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("span",[e._v(e._s(e.parseTime(t.row.createTime,"{y}-{m}-{d}")))])]}}])}),n("el-table-column",{attrs:{label:"操作",align:"center","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:notice:edit"],expression:"['system:notice:edit']"}],attrs:{size:"mini",type:"text",icon:"el-icon-edit"},on:{click:function(n){return e.handleUpdate(t.row)}}},[e._v("修改")]),n("el-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:notice:remove"],expression:"['system:notice:remove']"}],attrs:{size:"mini",type:"text",icon:"el-icon-delete"},on:{click:function(n){return e.handleDelete(t.row)}}},[e._v("删除")])]}}])})],1),n("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.queryParams.pageNum,limit:e.queryParams.pageSize},on:{"update:page":function(t){return e.$set(e.queryParams,"pageNum",t)},"update:limit":function(t){return e.$set(e.queryParams,"pageSize",t)},pagination:e.getList}}),n("el-dialog",{attrs:{title:e.title,visible:e.open,width:"780px","append-to-body":""},on:{"update:visible":function(t){e.open=t}}},[n("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"80px"}},[n("el-row",[n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"公告标题",prop:"noticeTitle"}},[n("el-input",{attrs:{placeholder:"请输入公告标题"},model:{value:e.form.noticeTitle,callback:function(t){e.$set(e.form,"noticeTitle",t)},expression:"form.noticeTitle"}})],1)],1),n("el-col",{attrs:{span:12}},[n("el-form-item",{attrs:{label:"公告类型",prop:"noticeType"}},[n("el-select",{attrs:{placeholder:"请选择"},model:{value:e.form.noticeType,callback:function(t){e.$set(e.form,"noticeType",t)},expression:"form.noticeType"}},e._l(e.typeOptions,(function(e){return n("el-option",{key:e.dictValue,attrs:{label:e.dictLabel,value:e.dictValue}})})),1)],1)],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"状态"}},[n("el-radio-group",{model:{value:e.form.status,callback:function(t){e.$set(e.form,"status",t)},expression:"form.status"}},e._l(e.statusOptions,(function(t){return n("el-radio",{key:t.dictValue,attrs:{label:t.dictValue}},[e._v(e._s(t.dictLabel))])})),1)],1)],1),n("el-col",{attrs:{span:24}},[n("el-form-item",{attrs:{label:"内容"}},[n("editor",{attrs:{"min-height":192},model:{value:e.form.noticeContent,callback:function(t){e.$set(e.form,"noticeContent",t)},expression:"form.noticeContent"}})],1)],1)],1)],1),n("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("确 定")]),n("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1)],1)},r=[],a=(n("6540"),n("b775"));function o(e){return Object(a["a"])({url:"/system/notice/list",method:"post",data:e})}function s(e){return Object(a["a"])({url:"/system/notice/"+e,method:"get"})}function l(e){return Object(a["a"])({url:"/system/notice",method:"post",data:e})}function c(e){return Object(a["a"])({url:"/system/notice",method:"put",data:e})}function u(e){return Object(a["a"])({url:"/system/notice/"+e,method:"delete"})}var d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"editor",staticClass:"editor",style:e.styles})},p=[],f=(n("d0bf"),n("445a"),n("0126")),h=n.n(f),m=(n("121a"),n("7e41"),n("96be"),{name:"Editor",props:{value:{type:String,default:""},height:{type:Number,default:null},minHeight:{type:Number,default:null}},data:function(){return{Quill:null,currentValue:"",options:{theme:"snow",bounds:document.body,debug:"warn",modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{list:"ordered"},{list:"bullet"}],[{indent:"-1"},{indent:"+1"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"请输入内容",readOnly:!1}}},computed:{styles:function(){var e={};return this.minHeight&&(e.minHeight="".concat(this.minHeight,"px")),this.height&&(e.height="".concat(this.height,"px")),e}},watch:{value:{handler:function(e){e!==this.currentValue&&(this.currentValue=null===e?"":e,this.Quill&&this.Quill.pasteHTML(this.currentValue))},immediate:!0}},mounted:function(){this.init()},beforeDestroy:function(){this.Quill=null},methods:{init:function(){var e=this,t=this.$refs.editor;this.Quill=new h.a(t,this.options),this.Quill.pasteHTML(this.currentValue),this.Quill.on("text-change",(function(t,n,i){var r=e.$refs.editor.children[0].innerHTML,a=e.Quill.getText(),o=e.Quill;e.currentValue=r,e.$emit("input",r),e.$emit("on-change",{html:r,text:a,quill:o})})),this.Quill.on("text-change",(function(t,n,i){e.$emit("on-text-change",t,n,i)})),this.Quill.on("selection-change",(function(t,n,i){e.$emit("on-selection-change",t,n,i)})),this.Quill.on("editor-change",(function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r0?g+_:""}},"25a8":function(e,t,n){"use strict";n("4b07")},"26ab7":function(e,t,n){"use strict";n("be04")},"26fc":function(e,t,n){e.exports=n.p+"static/img/404_cloud.0f4bc32b.png"},2754:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"wscn-http404-container"},[n("div",{staticClass:"wscn-http404"},[e._m(0),n("div",{staticClass:"bullshit"},[n("div",{staticClass:"bullshit__oops"},[e._v(" 404错误! ")]),n("div",{staticClass:"bullshit__headline"},[e._v(" "+e._s(e.message)+" ")]),n("div",{staticClass:"bullshit__info"},[e._v(" 对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。 ")]),n("router-link",{staticClass:"bullshit__return-home",attrs:{to:"/"}},[e._v(" 返回首页 ")])],1)])])},r=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"pic-404"},[i("img",{staticClass:"pic-404__parent",attrs:{src:n("a36b"),alt:"404"}}),i("img",{staticClass:"pic-404__child left",attrs:{src:n("26fc"),alt:"404"}}),i("img",{staticClass:"pic-404__child mid",attrs:{src:n("26fc"),alt:"404"}}),i("img",{staticClass:"pic-404__child right",attrs:{src:n("26fc"),alt:"404"}})])}],a={name:"Page404",computed:{message:function(){return"找不到网页!"}}},o=a,s=(n("61b6"),n("cba8")),l=Object(s["a"])(o,i,r,!1,null,"279ea4b2",null);t["default"]=l.exports},2855:function(e,t,n){"use strict";n.r(t);var i,r,a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("div",{staticClass:"left-board"},[n("div",{staticClass:"logo-wrapper"},[n("div",{staticClass:"logo"},[n("img",{attrs:{src:e.logo,alt:"logo"}}),e._v(" Form Generator ")])]),n("el-scrollbar",{staticClass:"left-scrollbar"},[n("div",{staticClass:"components-list"},[n("div",{staticClass:"components-title"},[n("svg-icon",{attrs:{"icon-class":"component"}}),e._v("输入型组件 ")],1),n("draggable",{staticClass:"components-draggable",attrs:{list:e.inputComponents,group:{name:"componentsGroup",pull:"clone",put:!1},clone:e.cloneComponent,draggable:".components-item",sort:!1},on:{end:e.onEnd}},e._l(e.inputComponents,(function(t,i){return n("div",{key:i,staticClass:"components-item",on:{click:function(n){return e.addComponent(t)}}},[n("div",{staticClass:"components-body"},[n("svg-icon",{attrs:{"icon-class":t.tagIcon}}),e._v(" "+e._s(t.label)+" ")],1)])})),0),n("div",{staticClass:"components-title"},[n("svg-icon",{attrs:{"icon-class":"component"}}),e._v("选择型组件 ")],1),n("draggable",{staticClass:"components-draggable",attrs:{list:e.selectComponents,group:{name:"componentsGroup",pull:"clone",put:!1},clone:e.cloneComponent,draggable:".components-item",sort:!1},on:{end:e.onEnd}},e._l(e.selectComponents,(function(t,i){return n("div",{key:i,staticClass:"components-item",on:{click:function(n){return e.addComponent(t)}}},[n("div",{staticClass:"components-body"},[n("svg-icon",{attrs:{"icon-class":t.tagIcon}}),e._v(" "+e._s(t.label)+" ")],1)])})),0),n("div",{staticClass:"components-title"},[n("svg-icon",{attrs:{"icon-class":"component"}}),e._v(" 布局型组件 ")],1),n("draggable",{staticClass:"components-draggable",attrs:{list:e.layoutComponents,group:{name:"componentsGroup",pull:"clone",put:!1},clone:e.cloneComponent,draggable:".components-item",sort:!1},on:{end:e.onEnd}},e._l(e.layoutComponents,(function(t,i){return n("div",{key:i,staticClass:"components-item",on:{click:function(n){return e.addComponent(t)}}},[n("div",{staticClass:"components-body"},[n("svg-icon",{attrs:{"icon-class":t.tagIcon}}),e._v(" "+e._s(t.label)+" ")],1)])})),0)],1)])],1),n("div",{staticClass:"center-board"},[n("div",{staticClass:"action-bar"},[n("el-button",{attrs:{icon:"el-icon-download",type:"text"},on:{click:e.download}},[e._v(" 导出vue文件 ")]),n("el-button",{staticClass:"copy-btn-main",attrs:{icon:"el-icon-document-copy",type:"text"},on:{click:e.copy}},[e._v(" 复制代码 ")]),n("el-button",{staticClass:"delete-btn",attrs:{icon:"el-icon-delete",type:"text"},on:{click:e.empty}},[e._v(" 清空 ")])],1),n("el-scrollbar",{staticClass:"center-scrollbar"},[n("el-row",{staticClass:"center-board-row",attrs:{gutter:e.formConf.gutter}},[n("el-form",{attrs:{size:e.formConf.size,"label-position":e.formConf.labelPosition,disabled:e.formConf.disabled,"label-width":e.formConf.labelWidth+"px"}},[n("draggable",{staticClass:"drawing-board",attrs:{list:e.drawingList,animation:340,group:"componentsGroup"}},e._l(e.drawingList,(function(t,i){return n("draggable-item",{key:t.renderKey,attrs:{"drawing-list":e.drawingList,element:t,index:i,"active-id":e.activeId,"form-conf":e.formConf},on:{activeItem:e.activeFormItem,copyItem:e.drawingItemCopy,deleteItem:e.drawingItemDelete}})})),1),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.drawingList.length,expression:"!drawingList.length"}],staticClass:"empty-info"},[e._v(" 从左侧拖入或点选组件进行表单设计 ")])],1)],1)],1)],1),n("right-panel",{attrs:{"active-data":e.activeData,"form-conf":e.formConf,"show-field":!!e.drawingList.length},on:{"tag-change":e.tagChange}}),n("code-type-dialog",{attrs:{visible:e.dialogVisible,title:"选择生成类型","show-file-name":e.showFileName},on:{"update:visible":function(t){e.dialogVisible=t},confirm:e.generate}}),n("input",{attrs:{id:"copyNode",type:"hidden"}})],1)},o=[],s=n("83a7"),l=n("06c4"),c=(n("0bd5"),n("9b42"),n("6540"),n("989e"),n("270f"),n("fae2"),n("1f70"),n("3335")),u=n.n(c),d=n("31bf"),p=n("4c63"),f=n.n(p),h=n("f348"),m=n.n(h),_=n("a85b"),g=n("766b"),v=n("2e2a"),b=n("ed08");n("445a"),n("cca2"),n("1d7a");function y(e){return'\n '.concat(e,'\n
\n 取消\n 确定\n
\n
')}function w(e){return"")}function x(e){return"