diff --git a/rec-admin/rec-admin-views/src/main/resources/static/index.html b/rec-admin/rec-admin-views/src/main/resources/static/index.html index 14a6ee748ae9c24a82012d83da17ef2f1d3e0707..1399a4d556c2993a5b4028e8d7353ed2a6440fb1 100644 --- a/rec-admin/rec-admin-views/src/main/resources/static/index.html +++ b/rec-admin/rec-admin-views/src/main/resources/static/index.html @@ -1 +1 @@ -REC-规则引擎
\ No newline at end of file +REC-规则引擎
\ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/app.1e962363.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/app.1e962363.css deleted file mode 100644 index bbc1b392909bd8e204208caaeb9048fe84cd3eb1..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/css/app.1e962363.css +++ /dev/null @@ -1 +0,0 @@ -.fade-enter-active,.fade-leave-active{-webkit-transition:opacity .28s;transition:opacity .28s}.fade-enter,.fade-leave-active{opacity:0}.fade-transform-enter-active,.fade-transform-leave-active{-webkit-transition:all .5s;transition:all .5s}.fade-transform-enter{opacity:0;-webkit-transform:translateX(-30px);transform:translateX(-30px)}.fade-transform-leave-to{opacity:0;-webkit-transform:translateX(30px);transform:translateX(30px)}.breadcrumb-enter-active,.breadcrumb-leave-active{-webkit-transition:all .5s;transition:all .5s}.breadcrumb-enter,.breadcrumb-leave-active{opacity:0;-webkit-transform:translateX(20px);transform:translateX(20px)}.breadcrumb-move{-webkit-transition:all .5s;transition:all .5s}.breadcrumb-leave-active{position:absolute}.el-upload input[type=file]{display:none!important}.el-upload__input{display:none}.el-dialog{-webkit-transform:none;transform:none;left:0;position:relative;margin:0 auto}.upload-container .el-upload{width:100%}.upload-container .el-upload .el-upload-dragger{width:100%;height:200px}#app .main-container{min-height:100%;-webkit-transition:margin-left .28s;transition:margin-left .28s;margin-left:180px;position:relative}#app .sidebar-container{-webkit-transition:width .28s;transition:width .28s;width:180px!important;height:100%;position:fixed;font-size:0;top:0;bottom:0;left:0;z-index:1001;overflow:hidden}#app .sidebar-container .horizontal-collapse-transition{-webkit-transition:width 0s ease-in-out,padding-left 0s ease-in-out,padding-right 0s ease-in-out;transition:width 0s ease-in-out,padding-left 0s ease-in-out,padding-right 0s ease-in-out}#app .sidebar-container .el-scrollbar__bar.is-vertical{right:0}#app .sidebar-container .scrollbar-wrapper{overflow-x:hidden!important}#app .sidebar-container .scrollbar-wrapper .el-scrollbar__view{height:100%}#app .sidebar-container .is-horizontal{display:none}#app .sidebar-container a{display:inline-block;width:100%;overflow:hidden}#app .sidebar-container .svg-icon{margin-right:16px}#app .sidebar-container .el-menu{border:none;height:100%;width:100%!important}#app .sidebar-container .is-active>.el-submenu__title{color:#f4f4f5!important}#app .hideSidebar .sidebar-container{width:36px!important}#app .hideSidebar .main-container{margin-left:36px}#app .hideSidebar .submenu-title-noDropdown{padding-left:10px!important;position:relative}#app .hideSidebar .submenu-title-noDropdown .el-tooltip{padding:0 10px!important}#app .hideSidebar .el-submenu{overflow:hidden}#app .hideSidebar .el-submenu>.el-submenu__title{padding-left:10px!important}#app .hideSidebar .el-submenu>.el-submenu__title .el-submenu__icon-arrow{display:none}#app .hideSidebar .el-menu--collapse .el-submenu>.el-submenu__title>span{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}#app .sidebar-container .el-submenu .el-menu-item,#app .sidebar-container .nest-menu .el-submenu>.el-submenu__title{min-width:180px!important;background-color:#1f2d3d!important}#app .sidebar-container .el-submenu .el-menu-item:hover,#app .sidebar-container .nest-menu .el-submenu>.el-submenu__title:hover{background-color:#001528!important}#app .el-menu--collapse .el-menu .el-submenu{min-width:180px!important}#app .mobile .main-container{margin-left:0}#app .mobile .sidebar-container{-webkit-transition:-webkit-transform .28s;transition:-webkit-transform .28s;transition:transform .28s;transition:transform .28s,-webkit-transform .28s;width:180px!important}#app .mobile.hideSidebar .sidebar-container{-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transform:translate3d(-180px,0,0);transform:translate3d(-180px,0,0)}#app .withoutAnimation .main-container,#app .withoutAnimation .sidebar-container{-webkit-transition:none;transition:none}.el-menu--vertical>.el-menu .svg-icon{margin-right:16px}body{height:100%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif}label{font-weight:700}html{-webkit-box-sizing:border-box;box-sizing:border-box}#app,html{height:100%}*,:after,:before{-webkit-box-sizing:inherit;box-sizing:inherit}a,a:active,a:focus,a:hover,div:focus{outline:none}a,a:focus,a:hover{cursor:pointer;color:inherit;text-decoration:none}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.app-main{min-height:100%}.app-container{padding:20px}.app-breadcrumb.el-breadcrumb[data-v-fde0b23a]{display:inline-block;font-size:14px;line-height:50px;margin-left:10px}.app-breadcrumb.el-breadcrumb .no-redirect[data-v-fde0b23a]{color:#97a8be;cursor:text}.hamburger[data-v-1b00fab3]{display:inline-block;cursor:pointer;width:20px;height:20px;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-transition:.38s;transition:.38s;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.hamburger.is-active[data-v-1b00fab3]{-webkit-transform:rotate(0deg);transform:rotate(0deg)}.navbar[data-v-0fee057c]{height:50px;line-height:50px;border-radius:0!important}.navbar .hamburger-container[data-v-0fee057c]{line-height:58px;height:50px;float:left;padding:0 10px}.navbar .screenfull[data-v-0fee057c]{position:absolute;right:90px;top:16px;color:red}.navbar .avatar-container[data-v-0fee057c]{height:50px;display:inline-block;position:absolute;right:35px}.navbar .avatar-container .avatar-wrapper[data-v-0fee057c]{cursor:pointer;margin-top:5px;position:relative;line-height:normal}.navbar .avatar-container .avatar-wrapper .user-avatar[data-v-0fee057c]{width:40px;height:40px;border-radius:10px}.navbar .avatar-container .avatar-wrapper .el-icon-caret-bottom[data-v-0fee057c]{position:absolute;right:-20px;top:25px;font-size:12px}.app-main[data-v-f3fabffe]{min-height:calc(100vh - 50px);position:relative;overflow:hidden}.app-wrapper[data-v-6ec8cb25]{position:relative;height:100%;width:100%}.app-wrapper[data-v-6ec8cb25]:after{content:"";display:table;clear:both}.app-wrapper.mobile.openSidebar[data-v-6ec8cb25]{position:fixed;top:0}.drawer-bg[data-v-6ec8cb25]{background:#000;opacity:.3;width:100%;top:0;height:100%;position:absolute;z-index:999}.svg-icon[data-v-2f0f1ae2]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden} \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-0006.be2c30ba.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-0006.be2c30ba.css deleted file mode 100644 index 7b4283725b3a46656604c4d6944d365a0cb517e0..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-0006.be2c30ba.css +++ /dev/null @@ -1 +0,0 @@ -.g6-minimap,.g6-minimap-container{position:absolute;right:0;top:30px;background-color:#fff}.g6-tooltip{border:1px solid #f19e09;border-radius:4px;font-size:12px;color:#0c2936;background-color:hsla(0,0%,100%,.9);-webkit-box-shadow:#aeaeae 0 0 10px;box-shadow:0 0 10px #aeaeae;padding:2px 1px}.el-divider--horizontal{margin:8px 0;background:0 0;border-top:1px dashed #0a76e2} \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-0cc9.b54b07e3.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-0e7e.b6ab5416.css similarity index 100% rename from rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-0cc9.b54b07e3.css rename to rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-0e7e.b6ab5416.css diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-0fc5.61f071ad.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-0fc5.61f071ad.css deleted file mode 100644 index 0cc3b9f5876ddd44cd3d0b956fa95966484356e2..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-0fc5.61f071ad.css +++ /dev/null @@ -1 +0,0 @@ -.dashboard-container[data-v-a84c5d8e]{margin:30px}.dashboard-text[data-v-a84c5d8e]{font-size:30px;line-height:46px} \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-121a.be2c30ba.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-121a.be2c30ba.css deleted file mode 100644 index 7b4283725b3a46656604c4d6944d365a0cb517e0..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-121a.be2c30ba.css +++ /dev/null @@ -1 +0,0 @@ -.g6-minimap,.g6-minimap-container{position:absolute;right:0;top:30px;background-color:#fff}.g6-tooltip{border:1px solid #f19e09;border-radius:4px;font-size:12px;color:#0c2936;background-color:hsla(0,0%,100%,.9);-webkit-box-shadow:#aeaeae 0 0 10px;box-shadow:0 0 10px #aeaeae;padding:2px 1px}.el-divider--horizontal{margin:8px 0;background:0 0;border-top:1px dashed #0a76e2} \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-15af.c07f53b8.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-15af.c07f53b8.css deleted file mode 100644 index 05086bb95a6b977c369ed00b18c56432ee0b909e..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-15af.c07f53b8.css +++ /dev/null @@ -1 +0,0 @@ -.wscn-http404-container[data-v-7bdb4c3b]{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);position:absolute;top:40%;left:50%}.wscn-http404[data-v-7bdb4c3b]{position:relative;width:1200px;padding:0 50px;overflow:hidden}.wscn-http404 .pic-404[data-v-7bdb4c3b]{position:relative;float:left;width:600px;overflow:hidden}.wscn-http404 .pic-404__parent[data-v-7bdb4c3b]{width:100%}.wscn-http404 .pic-404__child[data-v-7bdb4c3b]{position:absolute}.wscn-http404 .pic-404__child.left[data-v-7bdb4c3b]{width:80px;top:17px;left:220px;opacity:0;-webkit-animation-name:cloudLeft-data-v-7bdb4c3b;animation-name:cloudLeft-data-v-7bdb4c3b;-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-7bdb4c3b]{width:46px;top:10px;left:420px;opacity:0;-webkit-animation-name:cloudMid-data-v-7bdb4c3b;animation-name:cloudMid-data-v-7bdb4c3b;-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-7bdb4c3b]{width:62px;top:100px;left:500px;opacity:0;-webkit-animation-name:cloudRight-data-v-7bdb4c3b;animation-name:cloudRight-data-v-7bdb4c3b;-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-7bdb4c3b{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-7bdb4c3b{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-7bdb4c3b{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-7bdb4c3b{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-7bdb4c3b{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-7bdb4c3b{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-7bdb4c3b]{position:relative;float:left;width:300px;padding:30px 0;overflow:hidden}.wscn-http404 .bullshit__oops[data-v-7bdb4c3b]{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-7bdb4c3b],.wscn-http404 .bullshit__oops[data-v-7bdb4c3b]{font-weight:700;opacity:0;-webkit-animation-name:slideUp-data-v-7bdb4c3b;animation-name:slideUp-data-v-7bdb4c3b;-webkit-animation-duration:.5s;animation-duration:.5s}.wscn-http404 .bullshit__headline[data-v-7bdb4c3b]{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-7bdb4c3b]{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-7bdb4c3b],.wscn-http404 .bullshit__return-home[data-v-7bdb4c3b]{opacity:0;-webkit-animation-name:slideUp-data-v-7bdb4c3b;animation-name:slideUp-data-v-7bdb4c3b;-webkit-animation-duration:.5s;animation-duration:.5s}.wscn-http404 .bullshit__return-home[data-v-7bdb4c3b]{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-7bdb4c3b{0%{-webkit-transform:translateY(60px);transform:translateY(60px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes slideUp-data-v-7bdb4c3b{0%{-webkit-transform:translateY(60px);transform:translateY(60px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}} \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-1783.be2c30ba.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-1783.be2c30ba.css deleted file mode 100644 index 7b4283725b3a46656604c4d6944d365a0cb517e0..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-1783.be2c30ba.css +++ /dev/null @@ -1 +0,0 @@ -.g6-minimap,.g6-minimap-container{position:absolute;right:0;top:30px;background-color:#fff}.g6-tooltip{border:1px solid #f19e09;border-radius:4px;font-size:12px;color:#0c2936;background-color:hsla(0,0%,100%,.9);-webkit-box-shadow:#aeaeae 0 0 10px;box-shadow:0 0 10px #aeaeae;padding:2px 1px}.el-divider--horizontal{margin:8px 0;background:0 0;border-top:1px dashed #0a76e2} \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-1f33.87646c29.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-1f33.87646c29.css new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-2129.8b2beeda.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-2129.8b2beeda.css new file mode 100644 index 0000000000000000000000000000000000000000..04be79e47e7713071860852fb97f47d4382c860e --- /dev/null +++ b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-2129.8b2beeda.css @@ -0,0 +1 @@ +.leftDivButton{position:absolute;top:51%;-webkit-transform:translateY(-51%);transform:translateY(-51%)}.el-button.is-circle{border-radius:0}.el-button--mini.is-circle{padding:4px}.rule_tree_root{width:25px}.rule_tree_item,.rule_tree_root{display:-webkit-box;display:-ms-flexbox;display:flex}.rule_tree_item{padding:0 0 0 18px!important;margin:10px 10px 0 20px}.rule_tree_left{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:40px;margin-right:12px}.rule_tree_left_top{width:90%;top:15px;-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2;margin-left:11px;margin-bottom:15px;border-top:1px solid #d3dce6;border-bottom:1px solid #d3dce6}.rule_tree_left_bottom,.rule_tree_left_top{position:relative;border-radius:1px;border-left:1px solid #d3dce6}.rule_tree_left_bottom{width:100%;bottom:15px;margin-left:16px;margin-top:15px}.rule_tree_right{width:calc(100% - 55px)}.drawer_from_item{margin-top:20px}.drawer_from_item_inner{width:90%}.el-divider--horizontal[data-v-dbb07412]{margin:12px 0} \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-328b.be2c30ba.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-328b.be2c30ba.css deleted file mode 100644 index 7b4283725b3a46656604c4d6944d365a0cb517e0..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-328b.be2c30ba.css +++ /dev/null @@ -1 +0,0 @@ -.g6-minimap,.g6-minimap-container{position:absolute;right:0;top:30px;background-color:#fff}.g6-tooltip{border:1px solid #f19e09;border-radius:4px;font-size:12px;color:#0c2936;background-color:hsla(0,0%,100%,.9);-webkit-box-shadow:#aeaeae 0 0 10px;box-shadow:0 0 10px #aeaeae;padding:2px 1px}.el-divider--horizontal{margin:8px 0;background:0 0;border-top:1px dashed #0a76e2} \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-3d96.c38305d3.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-3d96.c38305d3.css new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-4a9a.ef931fd1.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-4a9a.ef931fd1.css deleted file mode 100644 index a4e201d4929f0e88d150185132f05e4307c69441..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-4a9a.ef931fd1.css +++ /dev/null @@ -1 +0,0 @@ -.drawer-p{margin-left:40px;font-size:16px;margin-top:5px}.g6-minimap,.g6-minimap-container{position:absolute;right:0;top:30px;background-color:#fff}.g6-tooltip{border:1px solid #e2e2e2;border-radius:4px;font-size:12px;color:#545454;padding:4px 2px;background-color:hsla(0,0%,100%,.9);-webkit-box-shadow:#aeaeae 0 0 10px;box-shadow:0 0 10px #aeaeae}.el-divider--horizontal{margin:8px 0;background:0 0;border-top:1px dashed #0a76e2}.el-drawer.rtl{overflow:scroll} \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-6145.446b41fa.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-6145.446b41fa.css deleted file mode 100644 index 0e1a326e6b6f12947b0db41d51f6357dcc3a6c60..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-6145.446b41fa.css +++ /dev/null @@ -1 +0,0 @@ -.dashboard-container[data-v-bb42c6a2]{margin:30px}.dashboard-text[data-v-bb42c6a2]{font-size:30px;line-height:46px} \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-676f.2a98babe.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-676f.2a98babe.css deleted file mode 100644 index ab6027aee590703a59fbf068cd6b8b3bf3f28dee..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-676f.2a98babe.css +++ /dev/null @@ -1 +0,0 @@ -.login-container .el-input{display:inline-block;height:47px;width:85%}.login-container .el-input input{background:transparent;border:0;-webkit-appearance:none;border-radius:0;padding:12px 5px 12px 15px;color:#eee;height:47px}.login-container .el-input input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #2d3a4b inset!important;-webkit-text-fill-color:#fff!important}.login-container .el-form-item{border:1px solid hsla(0,0%,100%,.1);background:rgba(0,0,0,.1);border-radius:5px;color:#454545}.login-container[data-v-5df7689a]{position:fixed;height:100%;width:100%;background-color:#2d3a4b}.login-container .login-form[data-v-5df7689a]{position:absolute;left:0;right:0;width:520px;max-width:100%;padding:35px 35px 15px;margin:120px auto}.login-container .tips[data-v-5df7689a]{font-size:14px;color:#fff;margin-bottom:10px}.login-container .tips span[data-v-5df7689a]:first-of-type{margin-right:16px}.login-container .svg-container[data-v-5df7689a]{padding:6px 5px 6px 15px;color:#889aa4;vertical-align:middle;width:30px;display:inline-block}.login-container .title[data-v-5df7689a]{font-size:26px;font-weight:400;color:#eee;margin:0 auto 40px;text-align:center;font-weight:700}.login-container .show-pwd[data-v-5df7689a]{position:absolute;right:10px;top:7px;font-size:16px;color:#889aa4;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none} \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-71a5.be2c30ba.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-71a5.be2c30ba.css deleted file mode 100644 index 7b4283725b3a46656604c4d6944d365a0cb517e0..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-71a5.be2c30ba.css +++ /dev/null @@ -1 +0,0 @@ -.g6-minimap,.g6-minimap-container{position:absolute;right:0;top:30px;background-color:#fff}.g6-tooltip{border:1px solid #f19e09;border-radius:4px;font-size:12px;color:#0c2936;background-color:hsla(0,0%,100%,.9);-webkit-box-shadow:#aeaeae 0 0 10px;box-shadow:0 0 10px #aeaeae;padding:2px 1px}.el-divider--horizontal{margin:8px 0;background:0 0;border-top:1px dashed #0a76e2} \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-789a.be2c30ba.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-789a.be2c30ba.css deleted file mode 100644 index 7b4283725b3a46656604c4d6944d365a0cb517e0..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-789a.be2c30ba.css +++ /dev/null @@ -1 +0,0 @@ -.g6-minimap,.g6-minimap-container{position:absolute;right:0;top:30px;background-color:#fff}.g6-tooltip{border:1px solid #f19e09;border-radius:4px;font-size:12px;color:#0c2936;background-color:hsla(0,0%,100%,.9);-webkit-box-shadow:#aeaeae 0 0 10px;box-shadow:0 0 10px #aeaeae;padding:2px 1px}.el-divider--horizontal{margin:8px 0;background:0 0;border-top:1px dashed #0a76e2} \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-7e51.b66b6da9.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-7e51.b66b6da9.css new file mode 100644 index 0000000000000000000000000000000000000000..aae0d54a1bbbb9c7dd54e6b3837f65ca633a9cac --- /dev/null +++ b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-7e51.b66b6da9.css @@ -0,0 +1 @@ +.vue-clipboard{margin-left:5px;padding:0!important} \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-90c1.be2c30ba.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-90c1.be2c30ba.css deleted file mode 100644 index 7b4283725b3a46656604c4d6944d365a0cb517e0..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-90c1.be2c30ba.css +++ /dev/null @@ -1 +0,0 @@ -.g6-minimap,.g6-minimap-container{position:absolute;right:0;top:30px;background-color:#fff}.g6-tooltip{border:1px solid #f19e09;border-radius:4px;font-size:12px;color:#0c2936;background-color:hsla(0,0%,100%,.9);-webkit-box-shadow:#aeaeae 0 0 10px;box-shadow:0 0 10px #aeaeae;padding:2px 1px}.el-divider--horizontal{margin:8px 0;background:0 0;border-top:1px dashed #0a76e2} \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-b06c.909dfd2d.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-b06c.909dfd2d.css new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-b0c5.be2c30ba.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-b0c5.be2c30ba.css deleted file mode 100644 index 7b4283725b3a46656604c4d6944d365a0cb517e0..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-b0c5.be2c30ba.css +++ /dev/null @@ -1 +0,0 @@ -.g6-minimap,.g6-minimap-container{position:absolute;right:0;top:30px;background-color:#fff}.g6-tooltip{border:1px solid #f19e09;border-radius:4px;font-size:12px;color:#0c2936;background-color:hsla(0,0%,100%,.9);-webkit-box-shadow:#aeaeae 0 0 10px;box-shadow:0 0 10px #aeaeae;padding:2px 1px}.el-divider--horizontal{margin:8px 0;background:0 0;border-top:1px dashed #0a76e2} \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-bbe9.d68c0549.css b/rec-admin/rec-admin-views/src/main/resources/static/static/css/chunk-bbe9.d68c0549.css new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/js/Dj8Q.ca488882.js b/rec-admin/rec-admin-views/src/main/resources/static/static/js/Dj8Q.ca488882.js deleted file mode 100644 index 4a63b3a231ca57193e5d89a165bb4083521ebee6..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/js/Dj8Q.ca488882.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["Dj8Q"],{Dj8Q:function(n,t,e){"use strict";e.r(t);var o={name:"domain",filters:{},components:{},data:function(){return{}},created:function(){},mounted:function(){},methods:{}},i=e("KHd+"),u=Object(i.a)(o,function(){var n=this.$createElement;return(this._self._c||n)("div",[this._v("\n domain\n")])},[],!1,null,null,null);u.options.__file="domain.vue";t.default=u.exports}}]); \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.764b4108.js b/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.764b4108.js deleted file mode 100644 index 80be087dd819036d306dd7b0bcd81ae7df2271d3..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.764b4108.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{"+aF5":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},"0Fbn":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"1+ww":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},"1lDy":function(t,e,n){"use strict";var a=n("DCsu");n.n(a).a},"28eg":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"3LAI":function(t,e,n){"use strict";var a=n("y02K");n.n(a).a},"3PhE":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"58g5":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"5TQQ":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"6xvN":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"94Jb":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});c.a.add(s);e.default=s},"99Dq":function(t,e,n){},BkLX:function(t,e,n){},CW6W:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-skill",use:"icon-skill-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},DCsu:function(t,e,n){},EqXK:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},F3lI:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"F9+T":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},FDDl:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},GPBF:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},JYDz:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},Kj24:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"LCM+":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-safelock",use:"icon-safelock-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},LxGF:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},LyEU:function(t,e,n){"use strict";var a=n("m821");n.n(a).a},MEYL:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},MMMJ:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},MokB:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"R/8a":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"R/Hx":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},S0If:function(t,e,n){},TfVu:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});c.a.add(s);e.default=s},"Uf/o":function(t,e,n){var a={"./404.svg":"oUrx","./bug.svg":"F3lI","./chart.svg":"yCkv","./clipboard.svg":"vDVG","./component.svg":"VtY+","./dashboard.svg":"94Jb","./documentation.svg":"kPu2","./drag.svg":"m7++","./edit.svg":"qkZ8","./education.svg":"rRz7","./email.svg":"y7eQ","./example.svg":"MMMJ","./excel.svg":"ZZmv","./exit-fullscreen.svg":"28eg","./eye-open.svg":"1+ww","./eye.svg":"TfVu","./form.svg":"6xvN","./fullscreen.svg":"mSHS","./guide.svg":"ZoO1","./icon.svg":"nZHn","./international.svg":"F9+T","./language.svg":"JYDz","./link.svg":"GPBF","./list.svg":"MokB","./lock.svg":"qwAt","./message.svg":"R/8a","./money.svg":"MEYL","./nested.svg":"3PhE","./password.svg":"Kj24","./pdf.svg":"+aF5","./people.svg":"0Fbn","./peoples.svg":"LxGF","./qq.svg":"FDDl","./safelock.svg":"LCM+","./search.svg":"jo2x","./shopping.svg":"EqXK","./size.svg":"hkRB","./skill.svg":"CW6W","./star.svg":"cIpu","./tab.svg":"j7e1","./table.svg":"R/Hx","./theme.svg":"5TQQ","./tree-table.svg":"58g5","./tree.svg":"k80C","./user.svg":"s7Vf","./wechat.svg":"gNoN","./zip.svg":"iqZD"};function i(t){var e=o(t);return n(e)}function o(t){var e=a[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}i.keys=function(){return Object.keys(a)},i.resolve=o,t.exports=i,i.id="Uf/o"},"VtY+":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},Vtdi:function(t,e,n){"use strict";n.r(e);var a=n("Kw5r"),i=(n("9d8Q"),n("XJYT")),o=n.n(i),c=(n("D66Q"),n("sg+I"),{name:"App"}),s=n("KHd+"),l=Object(s.a)(c,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},[],!1,null,null,null);l.options.__file="App.vue";var r=l.exports,u=n("jE9Z"),d=n("QbLZ"),h=n.n(d),v=n("L2JU"),m=n("vRGJ"),w=n.n(m),p={data:function(){return{levelList:null}},watch:{$route:function(){this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var t=this.$route.matched.filter(function(t){if(t.name)return!0}),e=t[0];e&&"dashboard"!==e.name&&(t=[{path:"/dashboard",meta:{title:"REC-规则引擎"}}].concat(t)),this.levelList=t},pathCompile:function(t){var e=this.$route.params;return w.a.compile(t)(e)},handleLink:function(t){var e=t.redirect,n=t.path;e?this.$router.push(e):this.$router.push(this.pathCompile(n))}}},g=(n("pzo4"),Object(s.a)(p,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},t._l(t.levelList,function(e,a){return e.meta.title?n("el-breadcrumb-item",{key:e.path},["noredirect"===e.redirect||a==t.levelList.length-1?n("span",{staticClass:"no-redirect"},[t._v(t._s(e.meta.title))]):n("a",{on:{click:function(n){n.preventDefault(),t.handleLink(e)}}},[t._v(t._s(e.meta.title))])]):t._e()}))],1)},[],!1,null,"fde0b23a",null));g.options.__file="index.vue";var f=g.exports,b={name:"Hamburger",props:{isActive:{type:Boolean,default:!1},toggleClick:{type:Function,default:null}}},x=(n("hVtZ"),Object(s.a)(b,function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("svg",{staticClass:"hamburger",class:{"is-active":this.isActive},attrs:{t:"1492500959545",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1691","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"64",height:"64"},on:{click:this.toggleClick}},[e("path",{attrs:{d:"M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z","p-id":"1692"}}),this._v(" "),e("path",{attrs:{d:"M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z","p-id":"1693"}}),this._v(" "),e("path",{attrs:{d:"M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z","p-id":"1694"}})])])},[],!1,null,"1b00fab3",null));x.options.__file="index.vue";var z={components:{Breadcrumb:f,Hamburger:x.exports},computed:h()({},Object(v.b)(["sidebar","avatar"])),methods:{toggleSideBar:function(){this.$store.dispatch("ToggleSideBar")},logout:function(){this.$store.dispatch("LogOut").then(function(){location.reload()})}}},B=(n("1lDy"),Object(s.a)(z,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-menu",{staticClass:"navbar",attrs:{mode:"horizontal"}},[n("hamburger",{staticClass:"hamburger-container",attrs:{"toggle-click":t.toggleSideBar,"is-active":t.sidebar.opened}}),t._v(" "),n("breadcrumb"),t._v(" "),n("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:t.avatar}}),t._v(" "),n("i",{staticClass:"el-icon-caret-bottom"})]),t._v(" "),n("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{staticClass:"inlineBlock",attrs:{to:"/"}},[n("el-dropdown-item",[t._v("\n Home\n ")])],1),t._v(" "),n("el-dropdown-item",{attrs:{divided:""}},[n("span",{staticStyle:{display:"block"},on:{click:t.logout}},[t._v("LogOut")])])],1)],1)],1)},[],!1,null,"0fee057c",null));B.options.__file="Navbar.vue";var y=B.exports,M=n("33yf"),V=n.n(M);n("EJiy");function H(t){return/^(https?:|mailto:|tel:)/.test(t)}var C={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(t,e){var n=e.props,a=n.icon,i=n.title,o=[];return a&&o.push(t("svg-icon",{attrs:{"icon-class":a}})),i&&o.push(t("span",{slot:"title"},[i])),o}},L=Object(s.a)(C,void 0,void 0,!1,null,null,null);L.options.__file="Item.vue";var k=L.exports,_={props:{to:{type:String,required:!0}},methods:{isExternalLink:function(t){return H(t)},linkProps:function(t){return this.isExternalLink(t)?{is:"a",href:t,target:"_blank",rel:"noopener"}:{is:"router-link",to:t}}}},I=Object(s.a)(_,function(){var t=this.$createElement;return(this._self._c||t)("component",this._b({},"component",this.linkProps(this.to),!1),[this._t("default")],2)},[],!1,null,null,null);I.options.__file="Link.vue";var F={name:"SidebarItem",components:{Item:k,AppLink:I.exports},props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return{onlyOneChild:null}},methods:{hasOneShowingChild:function(t,e){var n=this,a=t.filter(function(t){return!t.hidden&&(n.onlyOneChild=t,!0)});return 1===a.length||0===a.length&&(this.onlyOneChild=h()({},e,{path:"",noShowingChildren:!0}),!0)},resolvePath:function(t){return this.isExternalLink(t)?t:V.a.resolve(this.basePath,t)},isExternalLink:function(t){return H(t)}}},E=Object(s.a)(F,function(){var t=this,e=t.$createElement,n=t._self._c||e;return!t.item.hidden&&t.item.children?n("div",{staticClass:"menu-wrapper"},[!t.hasOneShowingChild(t.item.children,t.item)||t.onlyOneChild.children&&!t.onlyOneChild.noShowingChildren||t.item.alwaysShow?n("el-submenu",{attrs:{index:t.resolvePath(t.item.path)}},[n("template",{slot:"title"},[t.item.meta?n("item",{attrs:{icon:t.item.meta.icon,title:t.item.meta.title}}):t._e()],1),t._v(" "),t._l(t.item.children,function(e){return e.hidden?t._e():[e.children&&e.children.length>0?n("sidebar-item",{key:e.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:e,"base-path":t.resolvePath(e.path)}}):n("app-link",{key:e.name,attrs:{to:t.resolvePath(e.path)}},[n("el-menu-item",{attrs:{index:t.resolvePath(e.path)}},[e.meta?n("item",{attrs:{icon:e.meta.icon,title:e.meta.title}}):t._e()],1)],1)]})],2):[n("app-link",{attrs:{to:t.resolvePath(t.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!t.isNest},attrs:{index:t.resolvePath(t.onlyOneChild.path)}},[t.onlyOneChild.meta?n("item",{attrs:{icon:t.onlyOneChild.meta.icon||t.item.meta.icon,title:t.onlyOneChild.meta.title}}):t._e()],1)],1)]],2):t._e()},[],!1,null,null,null);E.options.__file="SidebarItem.vue";var S={components:{SidebarItem:E.exports},computed:h()({},Object(v.b)(["sidebar"]),{routes:function(){return this.$router.options.routes},isCollapse:function(){return!this.sidebar.opened}})},O=Object(s.a)(S,function(){var t=this.$createElement,e=this._self._c||t;return e("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[e("el-menu",{attrs:{"show-timeout":200,"default-active":this.$route.path,collapse:this.isCollapse,mode:"vertical","background-color":"#304156","text-color":"#bfcbd9","active-text-color":"#409EFF"}},this._l(this.routes,function(t){return e("sidebar-item",{key:t.path,attrs:{item:t,"base-path":t.path}})}))],1)},[],!1,null,null,null);O.options.__file="index.vue";var Y=O.exports,T={name:"AppMain",computed:{}},A=(n("xOwI"),Object(s.a)(T,function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"app-main"},[e("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[e("router-view")],1)],1)},[],!1,null,"f3fabffe",null));A.options.__file="AppMain.vue";var D=A.exports,j=n("p46w"),q=n.n(j),N={state:{sidebar:{opened:!+q.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},mutations:{TOGGLE_SIDEBAR:function(t){t.sidebar.opened?q.a.set("sidebarStatus",1):q.a.set("sidebarStatus",0),t.sidebar.opened=!t.sidebar.opened,t.sidebar.withoutAnimation=!1},CLOSE_SIDEBAR:function(t,e){q.a.set("sidebarStatus",1),t.sidebar.opened=!1,t.sidebar.withoutAnimation=e},TOGGLE_DEVICE:function(t,e){t.device=e}},actions:{ToggleSideBar:function(t){(0,t.commit)("TOGGLE_SIDEBAR")},CloseSideBar:function(t,e){(0,t.commit)("CLOSE_SIDEBAR",e.withoutAnimation)},ToggleDevice:function(t,e){(0,t.commit)("TOGGLE_DEVICE",e)}}},R=n("4d7F"),$=n.n(R),Z=n("vDqi"),G="Admin-Token";function P(){return q.a.get(G)}function Q(){return q.a.remove(G)}var J=n.n(Z).a.create({baseURL:"http://localhost:9999",timeout:5e3});J.interceptors.request.use(function(t){return W.getters.token&&(t.headers["X-Token"]=P()),t},function(t){console.log(t),$.a.reject(t)}),J.interceptors.response.use(function(t){var e=t.data;return 200!==e.code?(Object(i.Message)({message:e.message,type:"error",duration:5e3}),50008!==e.code&&50012!==e.code&&50014!==e.code||i.MessageBox.confirm("你已被登出,可以取消继续留在该页面,或者重新登录","确定登出",{confirmButtonText:"重新登录",cancelButtonText:"取消",type:"warning"}).then(function(){W.dispatch("FedLogOut").then(function(){location.reload()})}),$.a.reject("error")):t.data},function(t){return console.log("err"+t),Object(i.Message)({message:t.message,type:"error",duration:5e3}),$.a.reject(t)});var K=J;var U={state:{token:P(),name:"",avatar:"",roles:[]},mutations:{SET_TOKEN:function(t,e){t.token=e},SET_NAME:function(t,e){t.name=e},SET_AVATAR:function(t,e){t.avatar=e},SET_ROLES:function(t,e){t.roles=e}},actions:{Login:function(t,e){var n=t.commit,a=e.username.trim();return new $.a(function(t,i){(function(t,e){return K({url:"/rec/user/login",method:"post",data:{username:t,password:e}})})(a,e.password).then(function(e){var a=e.data;console.log("response.data:"),console.log(a),function(t){q.a.set(G,t)}(a.token),n("SET_TOKEN",a.token),t()}).catch(function(t){i(t)})})},GetInfo:function(t){var e=t.commit,n=t.state;return new $.a(function(t,a){(function(t){return K({url:"/rec/user/info/"+t,method:"get"})})(n.token).then(function(n){var i=n.data;i.roles&&i.roles.length>0?e("SET_ROLES",i.roles):a("getInfo: roles must be a non-null array !"),e("SET_NAME",i.name),e("SET_AVATAR",i.avatar),t(n)}).catch(function(t){a(t)})})},LogOut:function(t){var e=t.commit,n=t.state;return new $.a(function(t,a){(n.token,K({url:"/rec/user/logout",method:"post"})).then(function(){e("SET_TOKEN",""),e("SET_ROLES",[]),Q(),t()}).catch(function(t){a(t)})})},FedLogOut:function(t){var e=t.commit;return new $.a(function(t){e("SET_TOKEN",""),Q(),t()})}}},X={sidebar:function(t){return t.app.sidebar},device:function(t){return t.app.device},token:function(t){return t.user.token},avatar:function(t){return t.user.avatar},name:function(t){return t.user.name},roles:function(t){return t.user.roles}};a.default.use(v.a);var W=new v.a.Store({modules:{app:N,user:U},getters:X}),tt=document.body,et={name:"Layout",components:{Navbar:y,Sidebar:Y,AppMain:D},mixins:[{watch:{$route:function(t){"mobile"===this.device&&this.sidebar.opened&&W.dispatch("CloseSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.resizeHandler)},mounted:function(){this.isMobile()&&(W.dispatch("ToggleDevice","mobile"),W.dispatch("CloseSideBar",{withoutAnimation:!0}))},methods:{isMobile:function(){return tt.getBoundingClientRect().width-3<1024},resizeHandler:function(){if(!document.hidden){var t=this.isMobile();W.dispatch("ToggleDevice",t?"mobile":"desktop"),t&&W.dispatch("CloseSideBar",{withoutAnimation:!0})}}}}],computed:{sidebar:function(){return this.$store.state.app.sidebar},device:function(){return this.$store.state.app.device},classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}},methods:{handleClickOutside:function(){this.$store.dispatch("CloseSideBar",{withoutAnimation:!1})}}},nt=(n("3LAI"),Object(s.a)(et,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-wrapper",class:t.classObj},["mobile"===t.device&&t.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:t.handleClickOutside}}):t._e(),t._v(" "),n("sidebar",{staticClass:"sidebar-container"}),t._v(" "),n("div",{staticClass:"main-container"},[n("navbar"),t._v(" "),n("app-main")],1)],1)},[],!1,null,"6ec8cb25",null));nt.options.__file="Layout.vue";var at=nt.exports;a.default.use(u.a);var it=[{path:"/login",component:function(){return n.e("chunk-676f").then(n.bind(null,"ntYl"))},hidden:!0},{path:"/404",component:function(){return n.e("chunk-15af").then(n.bind(null,"jNvO"))},hidden:!0},{path:"/",component:at,redirect:"/dashboard",name:"REC-规则引擎",hidden:!1,children:[{path:"dashboard",name:"REC-规则引擎",component:function(){return n.e("chunk-0cc9").then(n.bind(null,"lAbF"))}}]},{path:"/ruleConfig",component:at,meta:{title:"规则配置",icon:"dashboard"},children:[{path:"domain",name:"domain",component:function(){return n.e("Dj8Q").then(n.bind(null,"Dj8Q"))},meta:{title:"域配置",icon:"clipboard"}},{path:"metadata",name:"metadata",component:function(){return n.e("btnZ").then(n.bind(null,"btnZ"))},meta:{title:"元数据配置",icon:"clipboard"}}]},{path:"/recLogs",component:at,meta:{title:"执行日志",icon:"tab"},children:[{path:"log",name:"log",component:function(){return n.e("QXbw").then(n.bind(null,"QXbw"))},meta:{title:"执行日志",icon:"clipboard"}},{path:"logDetail",name:"logDetail",component:function(){return n.e("StIi").then(n.bind(null,"StIi"))},meta:{title:"执行日志详情",icon:"clipboard"}}]},{path:"*",redirect:"/404",hidden:!0}],ot=new u.a({scrollBehavior:function(){return{y:0}},routes:it}),ct={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-"+this.iconClass},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},st=(n("LyEU"),Object(s.a)(ct,function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{class:this.svgClass,attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":this.iconName}})])},[],!1,null,"2f0f1ae2",null));st.options.__file="index.vue";var lt=st.exports;a.default.component("svg-icon",lt);!function(t){t.keys().map(t)}(n("Uf/o"));var rt=n("Mj6V"),ut=n.n(rt),dt=(n("pdi6"),["/login"]);ot.beforeEach(function(t,e,n){ut.a.start(),P()?"/login"===t.path?(n({path:"/"}),ut.a.done()):0===W.getters.roles.length?W.dispatch("GetInfo").then(function(t){n()}).catch(function(t){W.dispatch("FedLogOut").then(function(){i.Message.error(t||"Verification failed, please login again"),n({path:"/"})})}):n():(console.log(dt.indexOf(t.path)),-1!==dt.indexOf(t.path)?n():(n("/login?redirect="+t.path),ut.a.done()))}),ot.afterEach(function(){ut.a.done()}),a.default.use(o.a),a.default.config.productionTip=!1,new a.default({el:"#app",router:ot,store:W,render:function(t){return t(r)}})},ZZmv:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},ZoO1:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},cIpu:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},gNoN:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});c.a.add(s);e.default=s},hVtZ:function(t,e,n){"use strict";var a=n("BkLX");n.n(a).a},hkRB:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},iqZD:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},j7e1:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},jo2x:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},k80C:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},kPu2:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"m7++":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},m821:function(t,e,n){},mSHS:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},nZHn:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},oUrx:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},pzo4:function(t,e,n){"use strict";var a=n("99Dq");n.n(a).a},qkZ8:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},qwAt:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},rRz7:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},s7Vf:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});c.a.add(s);e.default=s},"sg+I":function(t,e,n){},vDVG:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},xOwI:function(t,e,n){"use strict";var a=n("S0If");n.n(a).a},y02K:function(t,e,n){},y7eQ:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});c.a.add(s);e.default=s},yCkv:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s}},[["Vtdi","runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.5810bdc4.js b/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.773c35a3.js similarity index 38% rename from rec-admin/rec-admin-views/src/main/resources/static/static/js/app.5810bdc4.js rename to rec-admin/rec-admin-views/src/main/resources/static/static/js/app.773c35a3.js index 32f157c92a98286b01d17d40ecc56baa600c8f4c..8284ad6b516a0d870cf825c0513e60f424a6f0c3 100644 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.5810bdc4.js +++ b/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.773c35a3.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{"+aF5":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},"0Fbn":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"1+ww":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},"1lDy":function(t,e,n){"use strict";var a=n("DCsu");n.n(a).a},"28eg":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"3PhE":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"58g5":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"5TQQ":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"6xvN":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"94Jb":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});c.a.add(s);e.default=s},"99Dq":function(t,e,n){},BkLX:function(t,e,n){},CW6W:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-skill",use:"icon-skill-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},DCsu:function(t,e,n){},EqXK:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},F3lI:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"F9+T":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},FDDl:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},GPBF:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},JB3g:function(t,e,n){},JYDz:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},Kj24:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"LCM+":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-safelock",use:"icon-safelock-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},LxGF:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},LyEU:function(t,e,n){"use strict";var a=n("m821");n.n(a).a},MEYL:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},MMMJ:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},MokB:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"R/8a":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"R/Hx":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},S0If:function(t,e,n){},TfVu:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});c.a.add(s);e.default=s},"Uf/o":function(t,e,n){var a={"./404.svg":"oUrx","./bug.svg":"F3lI","./chart.svg":"yCkv","./clipboard.svg":"vDVG","./component.svg":"VtY+","./dashboard.svg":"94Jb","./documentation.svg":"kPu2","./drag.svg":"m7++","./edit.svg":"qkZ8","./education.svg":"rRz7","./email.svg":"y7eQ","./example.svg":"MMMJ","./excel.svg":"ZZmv","./exit-fullscreen.svg":"28eg","./eye-open.svg":"1+ww","./eye.svg":"TfVu","./form.svg":"6xvN","./fullscreen.svg":"mSHS","./guide.svg":"ZoO1","./icon.svg":"nZHn","./international.svg":"F9+T","./language.svg":"JYDz","./link.svg":"GPBF","./list.svg":"MokB","./lock.svg":"qwAt","./message.svg":"R/8a","./money.svg":"MEYL","./nested.svg":"3PhE","./password.svg":"Kj24","./pdf.svg":"+aF5","./people.svg":"0Fbn","./peoples.svg":"LxGF","./qq.svg":"FDDl","./safelock.svg":"LCM+","./search.svg":"jo2x","./shopping.svg":"EqXK","./size.svg":"hkRB","./skill.svg":"CW6W","./star.svg":"cIpu","./tab.svg":"j7e1","./table.svg":"R/Hx","./theme.svg":"5TQQ","./tree-table.svg":"58g5","./tree.svg":"k80C","./user.svg":"s7Vf","./wechat.svg":"gNoN","./zip.svg":"iqZD"};function i(t){var e=o(t);return n(e)}function o(t){var e=a[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}i.keys=function(){return Object.keys(a)},i.resolve=o,t.exports=i,i.id="Uf/o"},"VtY+":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},Vtdi:function(t,e,n){"use strict";n.r(e);var a=n("Kw5r"),i=(n("9d8Q"),n("XJYT")),o=n.n(i),c=(n("D66Q"),n("sg+I"),{name:"App"}),s=n("KHd+"),l=Object(s.a)(c,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},[],!1,null,null,null);l.options.__file="App.vue";var r=l.exports,u=n("jE9Z"),d=n("QbLZ"),h=n.n(d),v=n("L2JU"),m=n("vRGJ"),w=n.n(m),p={data:function(){return{levelList:null}},watch:{$route:function(){this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var t=this.$route.matched.filter(function(t){if(t.name)return!0}),e=t[0];e&&"dashboard"!==e.name&&(t=[{path:"/dashboard",meta:{title:"REC-规则引擎"}}].concat(t)),this.levelList=t},pathCompile:function(t){var e=this.$route.params;return w.a.compile(t)(e)},handleLink:function(t){var e=t.redirect,n=t.path;e?this.$router.push(e):this.$router.push(this.pathCompile(n))}}},g=(n("pzo4"),Object(s.a)(p,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},t._l(t.levelList,function(e,a){return e.meta.title?n("el-breadcrumb-item",{key:e.path},["noredirect"===e.redirect||a==t.levelList.length-1?n("span",{staticClass:"no-redirect"},[t._v(t._s(e.meta.title))]):n("a",{on:{click:function(n){n.preventDefault(),t.handleLink(e)}}},[t._v(t._s(e.meta.title))])]):t._e()}))],1)},[],!1,null,"fde0b23a",null));g.options.__file="index.vue";var f=g.exports,b={name:"Hamburger",props:{isActive:{type:Boolean,default:!1},toggleClick:{type:Function,default:null}}},x=(n("hVtZ"),Object(s.a)(b,function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("svg",{staticClass:"hamburger",class:{"is-active":this.isActive},attrs:{t:"1492500959545",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1691","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"64",height:"64"},on:{click:this.toggleClick}},[e("path",{attrs:{d:"M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z","p-id":"1692"}}),this._v(" "),e("path",{attrs:{d:"M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z","p-id":"1693"}}),this._v(" "),e("path",{attrs:{d:"M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z","p-id":"1694"}})])])},[],!1,null,"1b00fab3",null));x.options.__file="index.vue";var z={components:{Breadcrumb:f,Hamburger:x.exports},computed:h()({},Object(v.b)(["sidebar","avatar"])),methods:{toggleSideBar:function(){this.$store.dispatch("ToggleSideBar")},logout:function(){this.$store.dispatch("LogOut").then(function(){location.reload()})}}},B=(n("1lDy"),Object(s.a)(z,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-menu",{staticClass:"navbar",attrs:{mode:"horizontal"}},[n("hamburger",{staticClass:"hamburger-container",attrs:{"toggle-click":t.toggleSideBar,"is-active":t.sidebar.opened}}),t._v(" "),n("breadcrumb"),t._v(" "),n("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:t.avatar}}),t._v(" "),n("i",{staticClass:"el-icon-caret-bottom"})]),t._v(" "),n("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{staticClass:"inlineBlock",attrs:{to:"/"}},[n("el-dropdown-item",[t._v("\n Home\n ")])],1),t._v(" "),n("el-dropdown-item",{attrs:{divided:""}},[n("span",{staticStyle:{display:"block"},on:{click:t.logout}},[t._v("LogOut")])])],1)],1)],1)},[],!1,null,"0fee057c",null));B.options.__file="Navbar.vue";var y=B.exports,M=n("33yf"),V=n.n(M);n("EJiy");function H(t){return/^(https?:|mailto:|tel:)/.test(t)}var C={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(t,e){var n=e.props,a=n.icon,i=n.title,o=[];return a&&o.push(t("svg-icon",{attrs:{"icon-class":a}})),i&&o.push(t("span",{slot:"title"},[i])),o}},L=Object(s.a)(C,void 0,void 0,!1,null,null,null);L.options.__file="Item.vue";var k=L.exports,_={props:{to:{type:String,required:!0}},methods:{isExternalLink:function(t){return H(t)},linkProps:function(t){return this.isExternalLink(t)?{is:"a",href:t,target:"_blank",rel:"noopener"}:{is:"router-link",to:t}}}},I=Object(s.a)(_,function(){var t=this.$createElement;return(this._self._c||t)("component",this._b({},"component",this.linkProps(this.to),!1),[this._t("default")],2)},[],!1,null,null,null);I.options.__file="Link.vue";var F={name:"SidebarItem",components:{Item:k,AppLink:I.exports},props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return{onlyOneChild:null}},methods:{hasOneShowingChild:function(t,e){var n=this,a=t.filter(function(t){return!t.hidden&&(n.onlyOneChild=t,!0)});return 1===a.length||0===a.length&&(this.onlyOneChild=h()({},e,{path:"",noShowingChildren:!0}),!0)},resolvePath:function(t){return this.isExternalLink(t)?t:V.a.resolve(this.basePath,t)},isExternalLink:function(t){return H(t)}}},E=Object(s.a)(F,function(){var t=this,e=t.$createElement,n=t._self._c||e;return!t.item.hidden&&t.item.children?n("div",{staticClass:"menu-wrapper"},[!t.hasOneShowingChild(t.item.children,t.item)||t.onlyOneChild.children&&!t.onlyOneChild.noShowingChildren||t.item.alwaysShow?n("el-submenu",{attrs:{index:t.resolvePath(t.item.path)}},[n("template",{slot:"title"},[t.item.meta?n("item",{attrs:{icon:t.item.meta.icon,title:t.item.meta.title}}):t._e()],1),t._v(" "),t._l(t.item.children,function(e){return e.hidden?t._e():[e.children&&e.children.length>0?n("sidebar-item",{key:e.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:e,"base-path":t.resolvePath(e.path)}}):n("app-link",{key:e.name,attrs:{to:t.resolvePath(e.path)}},[n("el-menu-item",{attrs:{index:t.resolvePath(e.path)}},[e.meta?n("item",{attrs:{icon:e.meta.icon,title:e.meta.title}}):t._e()],1)],1)]})],2):[n("app-link",{attrs:{to:t.resolvePath(t.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!t.isNest},attrs:{index:t.resolvePath(t.onlyOneChild.path)}},[t.onlyOneChild.meta?n("item",{attrs:{icon:t.onlyOneChild.meta.icon||t.item.meta.icon,title:t.onlyOneChild.meta.title}}):t._e()],1)],1)]],2):t._e()},[],!1,null,null,null);E.options.__file="SidebarItem.vue";var S={components:{SidebarItem:E.exports},computed:h()({},Object(v.b)(["sidebar"]),{routes:function(){return this.$router.options.routes},isCollapse:function(){return!this.sidebar.opened}})},O=Object(s.a)(S,function(){var t=this.$createElement,e=this._self._c||t;return e("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[e("el-menu",{attrs:{"show-timeout":200,"default-active":this.$route.path,collapse:this.isCollapse,mode:"vertical","background-color":"#304156","text-color":"#bfcbd9","active-text-color":"#409EFF"}},this._l(this.routes,function(t){return e("sidebar-item",{key:t.path,attrs:{item:t,"base-path":t.path}})}))],1)},[],!1,null,null,null);O.options.__file="index.vue";var Y=O.exports,T={name:"AppMain",computed:{}},A=(n("xOwI"),Object(s.a)(T,function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"app-main"},[e("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[e("router-view")],1)],1)},[],!1,null,"f3fabffe",null));A.options.__file="AppMain.vue";var D=A.exports,j=n("p46w"),q=n.n(j),N={state:{sidebar:{opened:!+q.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},mutations:{TOGGLE_SIDEBAR:function(t){t.sidebar.opened?q.a.set("sidebarStatus",1):q.a.set("sidebarStatus",0),t.sidebar.opened=!t.sidebar.opened,t.sidebar.withoutAnimation=!1},CLOSE_SIDEBAR:function(t,e){q.a.set("sidebarStatus",1),t.sidebar.opened=!1,t.sidebar.withoutAnimation=e},TOGGLE_DEVICE:function(t,e){t.device=e}},actions:{ToggleSideBar:function(t){(0,t.commit)("TOGGLE_SIDEBAR")},CloseSideBar:function(t,e){(0,t.commit)("CLOSE_SIDEBAR",e.withoutAnimation)},ToggleDevice:function(t,e){(0,t.commit)("TOGGLE_DEVICE",e)}}},$=n("4d7F"),R=n.n($),Z=n("vDqi"),G="Admin-Token";function P(){return q.a.get(G)}function J(){return q.a.remove(G)}var Q=n.n(Z).a.create({baseURL:"http://localhost:9999",timeout:5e3});Q.interceptors.request.use(function(t){return W.getters.token&&(t.headers["X-Token"]=P()),t},function(t){console.log(t),R.a.reject(t)}),Q.interceptors.response.use(function(t){var e=t.data;return 200!==e.code?(Object(i.Message)({message:e.message,type:"error",duration:5e3}),50008!==e.code&&50012!==e.code&&50014!==e.code||i.MessageBox.confirm("你已被登出,可以取消继续留在该页面,或者重新登录","确定登出",{confirmButtonText:"重新登录",cancelButtonText:"取消",type:"warning"}).then(function(){W.dispatch("FedLogOut").then(function(){location.reload()})}),R.a.reject("error")):t.data},function(t){return console.log("err"+t),Object(i.Message)({message:t.message,type:"error",duration:5e3}),R.a.reject(t)});var U=Q;var K={state:{token:P(),name:"",avatar:"",roles:[]},mutations:{SET_TOKEN:function(t,e){t.token=e},SET_NAME:function(t,e){t.name=e},SET_AVATAR:function(t,e){t.avatar=e},SET_ROLES:function(t,e){t.roles=e}},actions:{Login:function(t,e){var n=t.commit,a=e.username.trim();return new R.a(function(t,i){(function(t,e){return U({url:"/rec/user/login",method:"post",data:{username:t,password:e}})})(a,e.password).then(function(e){var a=e.data;console.log("response.data:"),console.log(a),function(t){q.a.set(G,t)}(a.token),n("SET_TOKEN",a.token),t()}).catch(function(t){i(t)})})},GetInfo:function(t){var e=t.commit,n=t.state;return new R.a(function(t,a){(function(t){return U({url:"/rec/user/info/"+t,method:"get"})})(n.token).then(function(n){var i=n.data;i.roles&&i.roles.length>0?e("SET_ROLES",i.roles):a("getInfo: roles must be a non-null array !"),e("SET_NAME",i.name),e("SET_AVATAR",i.avatar),t(n)}).catch(function(t){a(t)})})},LogOut:function(t){var e=t.commit,n=t.state;return new R.a(function(t,a){(n.token,U({url:"/rec/user/logout",method:"post"})).then(function(){e("SET_TOKEN",""),e("SET_ROLES",[]),J(),t()}).catch(function(t){a(t)})})},FedLogOut:function(t){var e=t.commit;return new R.a(function(t){e("SET_TOKEN",""),J(),t()})}}},X={sidebar:function(t){return t.app.sidebar},device:function(t){return t.app.device},token:function(t){return t.user.token},avatar:function(t){return t.user.avatar},name:function(t){return t.user.name},roles:function(t){return t.user.roles}};a.default.use(v.a);var W=new v.a.Store({modules:{app:N,user:K},getters:X}),tt=document.body,et={name:"Layout",components:{Navbar:y,Sidebar:Y,AppMain:D},mixins:[{watch:{$route:function(t){"mobile"===this.device&&this.sidebar.opened&&W.dispatch("CloseSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.resizeHandler)},mounted:function(){this.isMobile()&&(W.dispatch("ToggleDevice","mobile"),W.dispatch("CloseSideBar",{withoutAnimation:!0}))},methods:{isMobile:function(){return tt.getBoundingClientRect().width-3<1024},resizeHandler:function(){if(!document.hidden){var t=this.isMobile();W.dispatch("ToggleDevice",t?"mobile":"desktop"),t&&W.dispatch("CloseSideBar",{withoutAnimation:!0})}}}}],computed:{sidebar:function(){return this.$store.state.app.sidebar},device:function(){return this.$store.state.app.device},classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}},methods:{handleClickOutside:function(){this.$store.dispatch("CloseSideBar",{withoutAnimation:!1})}}},nt=(n("iwTh"),Object(s.a)(et,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-wrapper",class:t.classObj},["mobile"===t.device&&t.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:t.handleClickOutside}}):t._e(),t._v(" "),n("sidebar",{staticClass:"sidebar-container"}),t._v(" "),n("div",{staticClass:"main-container"},[n("navbar"),t._v(" "),n("app-main")],1)],1)},[],!1,null,"de0d657a",null));nt.options.__file="Layout.vue";var at=nt.exports;a.default.use(u.a);var it=[{path:"/login",component:function(){return n.e("chunk-676f").then(n.bind(null,"ntYl"))},hidden:!0},{path:"/404",component:function(){return n.e("chunk-15af").then(n.bind(null,"jNvO"))},hidden:!0},{path:"/",component:at,redirect:"/dashboard",hidden:!1,children:[{path:"dashboard",name:"dashboard",meta:{title:"REC-规则引擎",icon:"dashboard"},component:function(){return n.e("chunk-0cc9").then(n.bind(null,"lAbF"))}}]},{path:"/ruleConfig",component:at,meta:{title:"规则配置",icon:"dashboard"},children:[{path:"domain",name:"domain",component:function(){return n.e("Dj8Q").then(n.bind(null,"Dj8Q"))},meta:{title:"域配置",icon:"clipboard"}},{path:"metadata",name:"metadata",component:function(){return n.e("btnZ").then(n.bind(null,"btnZ"))},meta:{title:"元数据配置",icon:"clipboard"}}]},{path:"/recLogs",component:at,meta:{title:"执行日志",icon:"tab"},children:[{path:"log",name:"log",component:function(){return n.e("QXbw").then(n.bind(null,"QXbw"))},meta:{title:"执行日志",icon:"clipboard"}},{path:"logDetail",name:"logDetail",component:function(){return n.e("StIi").then(n.bind(null,"StIi"))},meta:{title:"执行日志详情",icon:"clipboard"}}]},{path:"*",redirect:"/404",hidden:!0}],ot=new u.a({scrollBehavior:function(){return{y:0}},routes:it}),ct={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-"+this.iconClass},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},st=(n("LyEU"),Object(s.a)(ct,function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{class:this.svgClass,attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":this.iconName}})])},[],!1,null,"2f0f1ae2",null));st.options.__file="index.vue";var lt=st.exports;a.default.component("svg-icon",lt);!function(t){t.keys().map(t)}(n("Uf/o"));var rt=n("Mj6V"),ut=n.n(rt),dt=(n("pdi6"),["/login"]);ot.beforeEach(function(t,e,n){ut.a.start(),P()?"/login"===t.path?(n({path:"/"}),ut.a.done()):0===W.getters.roles.length?W.dispatch("GetInfo").then(function(t){n()}).catch(function(t){W.dispatch("FedLogOut").then(function(){i.Message.error(t||"Verification failed, please login again"),n({path:"/"})})}):n():(console.log(dt.indexOf(t.path)),-1!==dt.indexOf(t.path)?n():(n("/login?redirect="+t.path),ut.a.done()))}),ot.afterEach(function(){ut.a.done()}),a.default.use(o.a),a.default.config.productionTip=!1,new a.default({el:"#app",router:ot,store:W,render:function(t){return t(r)}})},ZZmv:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},ZoO1:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},cIpu:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},gNoN:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});c.a.add(s);e.default=s},hVtZ:function(t,e,n){"use strict";var a=n("BkLX");n.n(a).a},hkRB:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},iqZD:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},iwTh:function(t,e,n){"use strict";var a=n("JB3g");n.n(a).a},j7e1:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},jo2x:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},k80C:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},kPu2:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"m7++":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},m821:function(t,e,n){},mSHS:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},nZHn:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},oUrx:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},pzo4:function(t,e,n){"use strict";var a=n("99Dq");n.n(a).a},qkZ8:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},qwAt:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},rRz7:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},s7Vf:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});c.a.add(s);e.default=s},"sg+I":function(t,e,n){},vDVG:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},xOwI:function(t,e,n){"use strict";var a=n("S0If");n.n(a).a},y7eQ:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});c.a.add(s);e.default=s},yCkv:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s}},[["Vtdi","runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{"+aF5":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(c);e.default=c},"0Fbn":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},"1+ww":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(c);e.default=c},"1lDy":function(t,e,n){"use strict";var a=n("DCsu");n.n(a).a},"28eg":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},"3PhE":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},"58g5":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},"5TQQ":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},"6xvN":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},"94Jb":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});s.a.add(c);e.default=c},"99Dq":function(t,e,n){},BkLX:function(t,e,n){},CW6W:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-skill",use:"icon-skill-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},DCsu:function(t,e,n){},EqXK:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},F3lI:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},"F9+T":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},FDDl:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},GPBF:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},JB3g:function(t,e,n){},JYDz:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},Kj24:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},"LCM+":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-safelock",use:"icon-safelock-usage",viewBox:"0 0 1024 1024",content:''});s.a.add(c);e.default=c},LxGF:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},LyEU:function(t,e,n){"use strict";var a=n("m821");n.n(a).a},MEYL:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},MMMJ:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},MokB:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},Q2AE:function(t,e,n){"use strict";var a=n("Kw5r"),o=n("L2JU"),i=n("p46w"),s=n.n(i),c={state:{sidebar:{opened:!+s.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},mutations:{TOGGLE_SIDEBAR:function(t){t.sidebar.opened?s.a.set("sidebarStatus",1):s.a.set("sidebarStatus",0),t.sidebar.opened=!t.sidebar.opened,t.sidebar.withoutAnimation=!1},CLOSE_SIDEBAR:function(t,e){s.a.set("sidebarStatus",1),t.sidebar.opened=!1,t.sidebar.withoutAnimation=e},TOGGLE_DEVICE:function(t,e){t.device=e}},actions:{ToggleSideBar:function(t){(0,t.commit)("TOGGLE_SIDEBAR")},CloseSideBar:function(t,e){(0,t.commit)("CLOSE_SIDEBAR",e.withoutAnimation)},ToggleDevice:function(t,e){(0,t.commit)("TOGGLE_DEVICE",e)}}},l=n("4d7F"),r=n.n(l),u=n("t3Un");var d=n("X4fA"),h={state:{token:Object(d.a)(),name:"",avatar:"",roles:[]},mutations:{SET_TOKEN:function(t,e){t.token=e},SET_NAME:function(t,e){t.name=e},SET_AVATAR:function(t,e){t.avatar=e},SET_ROLES:function(t,e){t.roles=e}},actions:{Login:function(t,e){var n=t.commit,a=e.username.trim();return new r.a(function(t,o){(function(t,e){return Object(u.a)({url:"/rec/user/login",method:"post",data:{username:t,password:e}})})(a,e.password).then(function(e){var a=e.data;console.log("response.data:"),console.log(a),Object(d.c)(a.token),n("SET_TOKEN",a.token),t()}).catch(function(t){o(t)})})},GetInfo:function(t){var e=t.commit,n=t.state;return new r.a(function(t,a){(function(t){return Object(u.a)({url:"/rec/user/info/"+t,method:"get"})})(n.token).then(function(n){var o=n.data;o.roles&&o.roles.length>0?e("SET_ROLES",o.roles):a("getInfo: roles must be a non-null array !"),e("SET_NAME",o.name),e("SET_AVATAR",o.avatar),t(n)}).catch(function(t){a(t)})})},LogOut:function(t){var e=t.commit,n=t.state;return new r.a(function(t,a){(n.token,Object(u.a)({url:"/rec/user/logout",method:"post"})).then(function(){e("SET_TOKEN",""),e("SET_ROLES",[]),Object(d.b)(),t()}).catch(function(t){a(t)})})},FedLogOut:function(t){var e=t.commit;return new r.a(function(t){e("SET_TOKEN",""),Object(d.b)(),t()})}}},v={sidebar:function(t){return t.app.sidebar},device:function(t){return t.app.device},token:function(t){return t.user.token},avatar:function(t){return t.user.avatar},name:function(t){return t.user.name},roles:function(t){return t.user.roles}};a.default.use(o.a);var m=new o.a.Store({modules:{app:c,user:h},getters:v});e.a=m},"R/8a":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},"R/Hx":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},RnhZ:function(t,e,n){var a={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn-bd":"loYQ","./bn-bd.js":"loYQ","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-in":"7C5Q","./en-in.js":"7C5Q","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./en-sg":"t+mt","./en-sg.js":"t+mt","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-mx":"tbfe","./es-mx.js":"tbfe","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fil":"1ppg","./fil.js":"1ppg","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./ga":"USCx","./ga.js":"USCx","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-deva":"qvJo","./gom-deva.js":"qvJo","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it-ch":"bxKX","./it-ch.js":"bxKX","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ku":"JCF/","./ku.js":"JCF/","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./oc-lnc":"Fnuy","./oc-lnc.js":"Fnuy","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tk":"Wv91","./tk.js":"Wv91","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-mo":"OmwH","./zh-mo.js":"OmwH","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function o(t){var e=i(t);return n(e)}function i(t){var e=a[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}o.keys=function(){return Object.keys(a)},o.resolve=i,t.exports=o,o.id="RnhZ"},S0If:function(t,e,n){},TfVu:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});s.a.add(c);e.default=c},"Uf/o":function(t,e,n){var a={"./404.svg":"oUrx","./bug.svg":"F3lI","./chart.svg":"yCkv","./clipboard.svg":"vDVG","./component.svg":"VtY+","./dashboard.svg":"94Jb","./documentation.svg":"kPu2","./drag.svg":"m7++","./edit.svg":"qkZ8","./education.svg":"rRz7","./email.svg":"y7eQ","./example.svg":"MMMJ","./excel.svg":"ZZmv","./exit-fullscreen.svg":"28eg","./eye-open.svg":"1+ww","./eye.svg":"TfVu","./form.svg":"6xvN","./fullscreen.svg":"mSHS","./guide.svg":"ZoO1","./icon.svg":"nZHn","./international.svg":"F9+T","./language.svg":"JYDz","./link.svg":"GPBF","./list.svg":"MokB","./lock.svg":"qwAt","./message.svg":"R/8a","./money.svg":"MEYL","./nested.svg":"3PhE","./password.svg":"Kj24","./pdf.svg":"+aF5","./people.svg":"0Fbn","./peoples.svg":"LxGF","./qq.svg":"FDDl","./safelock.svg":"LCM+","./search.svg":"jo2x","./shopping.svg":"EqXK","./size.svg":"hkRB","./skill.svg":"CW6W","./star.svg":"cIpu","./tab.svg":"j7e1","./table.svg":"R/Hx","./theme.svg":"5TQQ","./tree-table.svg":"58g5","./tree.svg":"k80C","./user.svg":"s7Vf","./wechat.svg":"gNoN","./zip.svg":"iqZD"};function o(t){var e=i(t);return n(e)}function i(t){var e=a[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}o.keys=function(){return Object.keys(a)},o.resolve=i,t.exports=o,o.id="Uf/o"},"VtY+":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},Vtdi:function(t,e,n){"use strict";n.r(e);var a=n("gDS+"),o=n.n(a),i=n("Kw5r"),s=(n("9d8Q"),n("XJYT")),c=n.n(s),l=(n("D66Q"),n("sg+I"),{name:"App"}),r=n("KHd+"),u=Object(r.a)(l,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},[],!1,null,null,null);u.options.__file="App.vue";var d=u.exports,h=n("jE9Z"),v=n("QbLZ"),m=n.n(v),p=n("L2JU"),w=n("vRGJ"),g=n.n(w),f={data:function(){return{levelList:null}},watch:{$route:function(){this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var t=this.$route.matched.filter(function(t){if(t.name)return!0}),e=t[0];e&&"dashboard"!==e.name&&(t=[{path:"/dashboard",meta:{title:"REC-规则引擎"}}].concat(t)),this.levelList=t},pathCompile:function(t){var e=this.$route.params;return g.a.compile(t)(e)},handleLink:function(t){var e=t.redirect,n=t.path;e?this.$router.push(e):this.$router.push(this.pathCompile(n))}}},b=(n("pzo4"),Object(r.a)(f,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},t._l(t.levelList,function(e,a){return e.meta.title?n("el-breadcrumb-item",{key:e.path},["noredirect"===e.redirect||a==t.levelList.length-1?n("span",{staticClass:"no-redirect"},[t._v(t._s(e.meta.title))]):n("a",{on:{click:function(n){n.preventDefault(),t.handleLink(e)}}},[t._v(t._s(e.meta.title))])]):t._e()}))],1)},[],!1,null,"fde0b23a",null));b.options.__file="index.vue";var z=b.exports,x={name:"Hamburger",props:{isActive:{type:Boolean,default:!1},toggleClick:{type:Function,default:null}}},y=(n("hVtZ"),Object(r.a)(x,function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("svg",{staticClass:"hamburger",class:{"is-active":this.isActive},attrs:{t:"1492500959545",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1691","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"64",height:"64"},on:{click:this.toggleClick}},[e("path",{attrs:{d:"M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z","p-id":"1692"}}),this._v(" "),e("path",{attrs:{d:"M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z","p-id":"1693"}}),this._v(" "),e("path",{attrs:{d:"M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z","p-id":"1694"}})])])},[],!1,null,"1b00fab3",null));y.options.__file="index.vue";var j={components:{Breadcrumb:z,Hamburger:y.exports},computed:m()({},Object(p.b)(["sidebar","avatar"])),methods:{toggleSideBar:function(){this.$store.dispatch("ToggleSideBar")},logout:function(){this.$store.dispatch("LogOut").then(function(){location.reload()})}}},B=(n("1lDy"),Object(r.a)(j,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-menu",{staticClass:"navbar",attrs:{mode:"horizontal"}},[n("hamburger",{staticClass:"hamburger-container",attrs:{"toggle-click":t.toggleSideBar,"is-active":t.sidebar.opened}}),t._v(" "),n("breadcrumb"),t._v(" "),n("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:t.avatar}}),t._v(" "),n("i",{staticClass:"el-icon-caret-bottom"})]),t._v(" "),n("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{staticClass:"inlineBlock",attrs:{to:"/"}},[n("el-dropdown-item",[t._v("\n Home\n ")])],1),t._v(" "),n("el-dropdown-item",{attrs:{divided:""}},[n("span",{staticStyle:{display:"block"},on:{click:t.logout}},[t._v("LogOut")])])],1)],1)],1)},[],!1,null,"0fee057c",null));B.options.__file="Navbar.vue";var V=B.exports,M=n("33yf"),k=n.n(M);n("EJiy");function C(t){return/^(https?:|mailto:|tel:)/.test(t)}var H={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(t,e){var n=e.props,a=n.icon,o=n.title,i=[];return a&&i.push(t("svg-icon",{attrs:{"icon-class":a}})),o&&i.push(t("span",{slot:"title"},[o])),i}},L=Object(r.a)(H,void 0,void 0,!1,null,null,null);L.options.__file="Item.vue";var O=L.exports,_={props:{to:{type:String,required:!0}},methods:{isExternalLink:function(t){return C(t)},linkProps:function(t){return this.isExternalLink(t)?{is:"a",href:t,target:"_blank",rel:"noopener"}:{is:"router-link",to:t}}}},I=Object(r.a)(_,function(){var t=this.$createElement;return(this._self._c||t)("component",this._b({},"component",this.linkProps(this.to),!1),[this._t("default")],2)},[],!1,null,null,null);I.options.__file="Link.vue";var E={name:"SidebarItem",components:{Item:O,AppLink:I.exports},props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return{onlyOneChild:null}},methods:{hasOneShowingChild:function(t,e){var n=this,a=t.filter(function(t){return!t.hidden&&(n.onlyOneChild=t,!0)});return 1===a.length||0===a.length&&(this.onlyOneChild=m()({},e,{path:"",noShowingChildren:!0}),!0)},resolvePath:function(t){return this.isExternalLink(t)?t:k.a.resolve(this.basePath,t)},isExternalLink:function(t){return C(t)}}},F=Object(r.a)(E,function(){var t=this,e=t.$createElement,n=t._self._c||e;return!t.item.hidden&&t.item.children?n("div",{staticClass:"menu-wrapper"},[!t.hasOneShowingChild(t.item.children,t.item)||t.onlyOneChild.children&&!t.onlyOneChild.noShowingChildren||t.item.alwaysShow?n("el-submenu",{attrs:{index:t.resolvePath(t.item.path)}},[n("template",{slot:"title"},[t.item.meta?n("item",{attrs:{icon:t.item.meta.icon,title:t.item.meta.title}}):t._e()],1),t._v(" "),t._l(t.item.children,function(e){return e.hidden?t._e():[e.children&&e.children.length>0?n("sidebar-item",{key:e.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:e,"base-path":t.resolvePath(e.path)}}):n("app-link",{key:e.name,attrs:{to:t.resolvePath(e.path)}},[n("el-menu-item",{attrs:{index:t.resolvePath(e.path)}},[e.meta?n("item",{attrs:{icon:e.meta.icon,title:e.meta.title}}):t._e()],1)],1)]})],2):[n("app-link",{attrs:{to:t.resolvePath(t.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!t.isNest},attrs:{index:t.resolvePath(t.onlyOneChild.path)}},[t.onlyOneChild.meta?n("item",{attrs:{icon:t.onlyOneChild.meta.icon||t.item.meta.icon,title:t.onlyOneChild.meta.title}}):t._e()],1)],1)]],2):t._e()},[],!1,null,null,null);F.options.__file="SidebarItem.vue";var Y={components:{SidebarItem:F.exports},computed:m()({},Object(p.b)(["sidebar"]),{routes:function(){return this.$router.options.routes},isCollapse:function(){return!this.sidebar.opened}})},S=Object(r.a)(Y,function(){var t=this.$createElement,e=this._self._c||t;return e("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[e("el-menu",{attrs:{"show-timeout":200,"default-active":this.$route.path,collapse:this.isCollapse,mode:"vertical","background-color":"#304156","text-color":"#bfcbd9","active-text-color":"#409EFF"}},this._l(this.routes,function(t){return e("sidebar-item",{key:t.path,attrs:{item:t,"base-path":t.path}})}))],1)},[],!1,null,null,null);S.options.__file="index.vue";var D=S.exports,T={name:"AppMain",computed:{}},A=(n("xOwI"),Object(r.a)(T,function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"app-main"},[e("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[e("router-view")],1)],1)},[],!1,null,"f3fabffe",null));A.options.__file="AppMain.vue";var R=A.exports,Q=n("Q2AE"),q=document.body,J={name:"Layout",components:{Navbar:V,Sidebar:D,AppMain:R},mixins:[{watch:{$route:function(t){"mobile"===this.device&&this.sidebar.opened&&Q.a.dispatch("CloseSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.resizeHandler)},mounted:function(){this.isMobile()&&(Q.a.dispatch("ToggleDevice","mobile"),Q.a.dispatch("CloseSideBar",{withoutAnimation:!0}))},methods:{isMobile:function(){return q.getBoundingClientRect().width-3<1024},resizeHandler:function(){if(!document.hidden){var t=this.isMobile();Q.a.dispatch("ToggleDevice",t?"mobile":"desktop"),t&&Q.a.dispatch("CloseSideBar",{withoutAnimation:!0})}}}}],computed:{sidebar:function(){return this.$store.state.app.sidebar},device:function(){return this.$store.state.app.device},classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}},methods:{handleClickOutside:function(){this.$store.dispatch("CloseSideBar",{withoutAnimation:!1})}}},P=(n("iwTh"),Object(r.a)(J,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-wrapper",class:t.classObj},["mobile"===t.device&&t.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:t.handleClickOutside}}):t._e(),t._v(" "),n("sidebar",{staticClass:"sidebar-container"}),t._v(" "),n("div",{staticClass:"main-container"},[n("navbar"),t._v(" "),n("app-main")],1)],1)},[],!1,null,"de0d657a",null));P.options.__file="Layout.vue";var U=P.exports;i.default.use(h.a);var N=[{path:"/login",component:function(){return n.e("chunk-36ce").then(n.bind(null,"ntYl"))},hidden:!0},{path:"/404",component:function(){return n.e("chunk-1763").then(n.bind(null,"jNvO"))},hidden:!0},{path:"/",component:U,redirect:"/dashboard",hidden:!1,children:[{path:"dashboard",name:"dashboard",meta:{title:"REC-规则引擎",icon:"dashboard"},component:function(){return n.e("chunk-0e7e").then(n.bind(null,"lAbF"))}}]},{path:"/ruleConfig",component:U,meta:{title:"规则配置",icon:"dashboard"},children:[{path:"domain",name:"domain",component:function(){return Promise.all([n.e("chunk-7e51"),n.e("chunk-b06c")]).then(n.bind(null,"Dj8Q"))},meta:{title:"域配置",icon:"clipboard"}},{path:"metadata",name:"metadata",component:function(){return Promise.all([n.e("chunk-7e51"),n.e("chunk-bbe9")]).then(n.bind(null,"btnZ"))},meta:{title:"元数据配置",icon:"clipboard"}},{path:"baseData",name:"baseData",component:function(){return Promise.all([n.e("chunk-7e51"),n.e("chunk-3d96")]).then(n.bind(null,"bTnA"))},meta:{title:"基础数据配置",icon:"clipboard"}},{path:"dataSource",name:"dataSource",component:function(){return Promise.all([n.e("chunk-7e51"),n.e("chunk-1f33")]).then(n.bind(null,"T/BR"))},meta:{title:"数据源配置",icon:"clipboard"}},{path:"strategy",name:"strategy",component:function(){return Promise.all([n.e("chunk-7e51"),n.e("chunk-2129")]).then(n.bind(null,"9U7o"))},meta:{title:"策略配置",icon:"clipboard"}}]},{path:"/recLogs",component:U,meta:{title:"执行日志",icon:"tab"},children:[{path:"log",name:"log",component:function(){return n.e("QXbw").then(n.bind(null,"QXbw"))},meta:{title:"执行日志",icon:"clipboard"}},{path:"logDetail",name:"logDetail",component:function(){return n.e("StIi").then(n.bind(null,"StIi"))},meta:{title:"执行日志详情",icon:"clipboard"}}]},{path:"/doc",component:U,meta:{title:"开放文档",icon:"tab"},children:[{path:"docDetail",name:"docDetail",component:function(){return n.e("JWp4").then(n.bind(null,"JWp4"))},meta:{title:"项目文档",icon:"clipboard"}}]},{path:"*",redirect:"/404",hidden:!0}],Z=new h.a({scrollBehavior:function(){return{y:0}},routes:N}),X={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-"+this.iconClass},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},K=(n("LyEU"),Object(r.a)(X,function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{class:this.svgClass,attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":this.iconName}})])},[],!1,null,"2f0f1ae2",null));K.options.__file="index.vue";var $=K.exports;i.default.component("svg-icon",$);!function(t){t.keys().map(t)}(n("Uf/o"));var G=n("Mj6V"),W=n.n(G),tt=(n("pdi6"),n("X4fA")),et=["/login"];Z.beforeEach(function(t,e,n){W.a.start(),Object(tt.a)()?"/login"===t.path?(n({path:"/"}),W.a.done()):0===Q.a.getters.roles.length?Q.a.dispatch("GetInfo").then(function(t){n()}).catch(function(t){Q.a.dispatch("FedLogOut").then(function(){s.Message.error(t||"Verification failed, please login again"),n({path:"/"})})}):n():(console.log(et.indexOf(t.path)),-1!==et.indexOf(t.path)?n():(n("/login?redirect="+t.path),W.a.done()))}),Z.afterEach(function(){W.a.done()});var nt=n("wd/R"),at=n.n(nt);i.default.use(c.a),i.default.config.productionTip=!1,i.default.prototype.$cloneObj=function(t){return JSON.parse(o()(t))},i.default.prototype.recDateFormat=function(t){return at()(t).format("YYYY-MM-DD HH:mm:ss")},new i.default({el:"#app",router:Z,store:Q.a,render:function(t){return t(d)}})},X4fA:function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"c",function(){return c}),n.d(e,"b",function(){return l});var a=n("p46w"),o=n.n(a),i="Admin-Token";function s(){return o.a.get(i)}function c(t){return o.a.set(i,t)}function l(){return o.a.remove(i)}},ZZmv:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},ZoO1:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},cIpu:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},gNoN:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});s.a.add(c);e.default=c},hVtZ:function(t,e,n){"use strict";var a=n("BkLX");n.n(a).a},hkRB:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},iqZD:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},iwTh:function(t,e,n){"use strict";var a=n("JB3g");n.n(a).a},j7e1:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},jo2x:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},k80C:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},kPu2:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},"m7++":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},m821:function(t,e,n){},mSHS:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},nZHn:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},oUrx:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},pzo4:function(t,e,n){"use strict";var a=n("99Dq");n.n(a).a},qkZ8:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},qwAt:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},rRz7:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},s7Vf:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});s.a.add(c);e.default=c},"sg+I":function(t,e,n){},t3Un:function(t,e,n){"use strict";var a=n("4d7F"),o=n.n(a),i=n("vDqi"),s=n.n(i),c=n("XJYT"),l=n("Q2AE"),r=n("X4fA"),u=s.a.create({baseURL:"http://localhost:9999",timeout:5e3});u.interceptors.request.use(function(t){return l.a.getters.token&&(t.headers["X-Token"]=Object(r.a)()),t},function(t){console.log(t),o.a.reject(t)}),u.interceptors.response.use(function(t){var e=t.data;return 200!==e.code?(Object(c.Message)({message:e.message,type:"error",duration:5e3}),50008!==e.code&&50012!==e.code&&50014!==e.code||c.MessageBox.confirm("你已被登出,可以取消继续留在该页面,或者重新登录","确定登出",{confirmButtonText:"重新登录",cancelButtonText:"取消",type:"warning"}).then(function(){l.a.dispatch("FedLogOut").then(function(){location.reload()})}),o.a.reject("error")):t.data},function(t){return console.log("err"+t),Object(c.Message)({message:t.message,type:"error",duration:5e3}),o.a.reject(t)}),e.a=u},vDVG:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c},xOwI:function(t,e,n){"use strict";var a=n("S0If");n.n(a).a},y7eQ:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});s.a.add(c);e.default=c},yCkv:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),o=n.n(a),i=n("IaFt"),s=n.n(i),c=new o.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});s.a.add(c);e.default=c}},[["Vtdi","runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.8be2654a.js b/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.8be2654a.js deleted file mode 100644 index 1581f8a5a257ed5005bb49bcafcaef37f6f00e13..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.8be2654a.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{"+aF5":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},"0Fbn":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"1+ww":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},"1lDy":function(t,e,n){"use strict";var a=n("DCsu");n.n(a).a},"28eg":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"3LAI":function(t,e,n){"use strict";var a=n("y02K");n.n(a).a},"3PhE":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"58g5":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"5TQQ":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"6xvN":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"94Jb":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});c.a.add(s);e.default=s},"99Dq":function(t,e,n){},BkLX:function(t,e,n){},CW6W:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-skill",use:"icon-skill-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},DCsu:function(t,e,n){},EqXK:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},F3lI:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"F9+T":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},FDDl:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},GPBF:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},JYDz:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},Kj24:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"LCM+":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-safelock",use:"icon-safelock-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},LxGF:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},LyEU:function(t,e,n){"use strict";var a=n("m821");n.n(a).a},MEYL:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},MMMJ:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},MokB:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"R/8a":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"R/Hx":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},S0If:function(t,e,n){},TfVu:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});c.a.add(s);e.default=s},"Uf/o":function(t,e,n){var a={"./404.svg":"oUrx","./bug.svg":"F3lI","./chart.svg":"yCkv","./clipboard.svg":"vDVG","./component.svg":"VtY+","./dashboard.svg":"94Jb","./documentation.svg":"kPu2","./drag.svg":"m7++","./edit.svg":"qkZ8","./education.svg":"rRz7","./email.svg":"y7eQ","./example.svg":"MMMJ","./excel.svg":"ZZmv","./exit-fullscreen.svg":"28eg","./eye-open.svg":"1+ww","./eye.svg":"TfVu","./form.svg":"6xvN","./fullscreen.svg":"mSHS","./guide.svg":"ZoO1","./icon.svg":"nZHn","./international.svg":"F9+T","./language.svg":"JYDz","./link.svg":"GPBF","./list.svg":"MokB","./lock.svg":"qwAt","./message.svg":"R/8a","./money.svg":"MEYL","./nested.svg":"3PhE","./password.svg":"Kj24","./pdf.svg":"+aF5","./people.svg":"0Fbn","./peoples.svg":"LxGF","./qq.svg":"FDDl","./safelock.svg":"LCM+","./search.svg":"jo2x","./shopping.svg":"EqXK","./size.svg":"hkRB","./skill.svg":"CW6W","./star.svg":"cIpu","./tab.svg":"j7e1","./table.svg":"R/Hx","./theme.svg":"5TQQ","./tree-table.svg":"58g5","./tree.svg":"k80C","./user.svg":"s7Vf","./wechat.svg":"gNoN","./zip.svg":"iqZD"};function i(t){var e=o(t);return n(e)}function o(t){var e=a[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}i.keys=function(){return Object.keys(a)},i.resolve=o,t.exports=i,i.id="Uf/o"},"VtY+":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},Vtdi:function(t,e,n){"use strict";n.r(e);var a=n("Kw5r"),i=(n("9d8Q"),n("XJYT")),o=n.n(i),c=(n("D66Q"),n("sg+I"),{name:"App"}),s=n("KHd+"),l=Object(s.a)(c,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},[],!1,null,null,null);l.options.__file="App.vue";var r=l.exports,u=n("jE9Z"),d=n("QbLZ"),v=n.n(d),h=n("L2JU"),m=n("vRGJ"),w=n.n(m),p={data:function(){return{levelList:null}},watch:{$route:function(){this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var t=this.$route.matched.filter(function(t){if(t.name)return!0}),e=t[0];e&&"dashboard"!==e.name&&(t=[{path:"/dashboard",meta:{title:"REC-规则引擎"}}].concat(t)),this.levelList=t},pathCompile:function(t){var e=this.$route.params;return w.a.compile(t)(e)},handleLink:function(t){var e=t.redirect,n=t.path;e?this.$router.push(e):this.$router.push(this.pathCompile(n))}}},g=(n("pzo4"),Object(s.a)(p,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},t._l(t.levelList,function(e,a){return e.meta.title?n("el-breadcrumb-item",{key:e.path},["noredirect"===e.redirect||a==t.levelList.length-1?n("span",{staticClass:"no-redirect"},[t._v(t._s(e.meta.title))]):n("a",{on:{click:function(n){n.preventDefault(),t.handleLink(e)}}},[t._v(t._s(e.meta.title))])]):t._e()}))],1)},[],!1,null,"fde0b23a",null));g.options.__file="index.vue";var f=g.exports,b={name:"Hamburger",props:{isActive:{type:Boolean,default:!1},toggleClick:{type:Function,default:null}}},x=(n("hVtZ"),Object(s.a)(b,function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("svg",{staticClass:"hamburger",class:{"is-active":this.isActive},attrs:{t:"1492500959545",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1691","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"64",height:"64"},on:{click:this.toggleClick}},[e("path",{attrs:{d:"M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z","p-id":"1692"}}),this._v(" "),e("path",{attrs:{d:"M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z","p-id":"1693"}}),this._v(" "),e("path",{attrs:{d:"M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z","p-id":"1694"}})])])},[],!1,null,"1b00fab3",null));x.options.__file="index.vue";var z={components:{Breadcrumb:f,Hamburger:x.exports},computed:v()({},Object(h.b)(["sidebar","avatar"])),methods:{toggleSideBar:function(){this.$store.dispatch("ToggleSideBar")},logout:function(){this.$store.dispatch("LogOut").then(function(){location.reload()})}}},B=(n("1lDy"),Object(s.a)(z,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-menu",{staticClass:"navbar",attrs:{mode:"horizontal"}},[n("hamburger",{staticClass:"hamburger-container",attrs:{"toggle-click":t.toggleSideBar,"is-active":t.sidebar.opened}}),t._v(" "),n("breadcrumb"),t._v(" "),n("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:t.avatar}}),t._v(" "),n("i",{staticClass:"el-icon-caret-bottom"})]),t._v(" "),n("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{staticClass:"inlineBlock",attrs:{to:"/"}},[n("el-dropdown-item",[t._v("\n Home\n ")])],1),t._v(" "),n("el-dropdown-item",{attrs:{divided:""}},[n("span",{staticStyle:{display:"block"},on:{click:t.logout}},[t._v("LogOut")])])],1)],1)],1)},[],!1,null,"0fee057c",null));B.options.__file="Navbar.vue";var y=B.exports,M=n("33yf"),V=n.n(M);n("EJiy");function H(t){return/^(https?:|mailto:|tel:)/.test(t)}var C={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(t,e){var n=e.props,a=n.icon,i=n.title,o=[];return a&&o.push(t("svg-icon",{attrs:{"icon-class":a}})),i&&o.push(t("span",{slot:"title"},[i])),o}},L=Object(s.a)(C,void 0,void 0,!1,null,null,null);L.options.__file="Item.vue";var k=L.exports,_={props:{to:{type:String,required:!0}},methods:{isExternalLink:function(t){return H(t)},linkProps:function(t){return this.isExternalLink(t)?{is:"a",href:t,target:"_blank",rel:"noopener"}:{is:"router-link",to:t}}}},I=Object(s.a)(_,function(){var t=this.$createElement;return(this._self._c||t)("component",this._b({},"component",this.linkProps(this.to),!1),[this._t("default")],2)},[],!1,null,null,null);I.options.__file="Link.vue";var F={name:"SidebarItem",components:{Item:k,AppLink:I.exports},props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return{onlyOneChild:null}},methods:{hasOneShowingChild:function(t,e){var n=this,a=t.filter(function(t){return!t.hidden&&(n.onlyOneChild=t,!0)});return 1===a.length||0===a.length&&(this.onlyOneChild=v()({},e,{path:"",noShowingChildren:!0}),!0)},resolvePath:function(t){return this.isExternalLink(t)?t:V.a.resolve(this.basePath,t)},isExternalLink:function(t){return H(t)}}},E=Object(s.a)(F,function(){var t=this,e=t.$createElement,n=t._self._c||e;return!t.item.hidden&&t.item.children?n("div",{staticClass:"menu-wrapper"},[!t.hasOneShowingChild(t.item.children,t.item)||t.onlyOneChild.children&&!t.onlyOneChild.noShowingChildren||t.item.alwaysShow?n("el-submenu",{attrs:{index:t.resolvePath(t.item.path)}},[n("template",{slot:"title"},[t.item.meta?n("item",{attrs:{icon:t.item.meta.icon,title:t.item.meta.title}}):t._e()],1),t._v(" "),t._l(t.item.children,function(e){return e.hidden?t._e():[e.children&&e.children.length>0?n("sidebar-item",{key:e.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:e,"base-path":t.resolvePath(e.path)}}):n("app-link",{key:e.name,attrs:{to:t.resolvePath(e.path)}},[n("el-menu-item",{attrs:{index:t.resolvePath(e.path)}},[e.meta?n("item",{attrs:{icon:e.meta.icon,title:e.meta.title}}):t._e()],1)],1)]})],2):[n("app-link",{attrs:{to:t.resolvePath(t.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!t.isNest},attrs:{index:t.resolvePath(t.onlyOneChild.path)}},[t.onlyOneChild.meta?n("item",{attrs:{icon:t.onlyOneChild.meta.icon||t.item.meta.icon,title:t.onlyOneChild.meta.title}}):t._e()],1)],1)]],2):t._e()},[],!1,null,null,null);E.options.__file="SidebarItem.vue";var O={components:{SidebarItem:E.exports},computed:v()({},Object(h.b)(["sidebar"]),{routes:function(){return this.$router.options.routes},isCollapse:function(){return!this.sidebar.opened}})},S=Object(s.a)(O,function(){var t=this.$createElement,e=this._self._c||t;return e("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[e("el-menu",{attrs:{"show-timeout":200,"default-active":this.$route.path,collapse:this.isCollapse,mode:"vertical","background-color":"#304156","text-color":"#bfcbd9","active-text-color":"#409EFF"}},this._l(this.routes,function(t){return e("sidebar-item",{key:t.path,attrs:{item:t,"base-path":t.path}})}))],1)},[],!1,null,null,null);S.options.__file="index.vue";var Y=S.exports,T={name:"AppMain",computed:{}},A=(n("xOwI"),Object(s.a)(T,function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"app-main"},[e("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[e("router-view")],1)],1)},[],!1,null,"f3fabffe",null));A.options.__file="AppMain.vue";var j=A.exports,D=n("p46w"),q=n.n(D),N={state:{sidebar:{opened:!+q.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},mutations:{TOGGLE_SIDEBAR:function(t){t.sidebar.opened?q.a.set("sidebarStatus",1):q.a.set("sidebarStatus",0),t.sidebar.opened=!t.sidebar.opened,t.sidebar.withoutAnimation=!1},CLOSE_SIDEBAR:function(t,e){q.a.set("sidebarStatus",1),t.sidebar.opened=!1,t.sidebar.withoutAnimation=e},TOGGLE_DEVICE:function(t,e){t.device=e}},actions:{ToggleSideBar:function(t){(0,t.commit)("TOGGLE_SIDEBAR")},CloseSideBar:function(t,e){(0,t.commit)("CLOSE_SIDEBAR",e.withoutAnimation)},ToggleDevice:function(t,e){(0,t.commit)("TOGGLE_DEVICE",e)}}},$=n("4d7F"),R=n.n($),Z=n("vDqi"),G="Admin-Token";function P(){return q.a.get(G)}function Q(){return q.a.remove(G)}var J=n.n(Z).a.create({baseURL:"http://localhost:9999",timeout:5e3});J.interceptors.request.use(function(t){return W.getters.token&&(t.headers["X-Token"]=P()),t},function(t){console.log(t),R.a.reject(t)}),J.interceptors.response.use(function(t){var e=t.data;return 200!==e.code?(Object(i.Message)({message:e.message,type:"error",duration:5e3}),50008!==e.code&&50012!==e.code&&50014!==e.code||i.MessageBox.confirm("你已被登出,可以取消继续留在该页面,或者重新登录","确定登出",{confirmButtonText:"重新登录",cancelButtonText:"取消",type:"warning"}).then(function(){W.dispatch("FedLogOut").then(function(){location.reload()})}),R.a.reject("error")):t.data},function(t){return console.log("err"+t),Object(i.Message)({message:t.message,type:"error",duration:5e3}),R.a.reject(t)});var K=J;var U={state:{token:P(),name:"",avatar:"",roles:[]},mutations:{SET_TOKEN:function(t,e){t.token=e},SET_NAME:function(t,e){t.name=e},SET_AVATAR:function(t,e){t.avatar=e},SET_ROLES:function(t,e){t.roles=e}},actions:{Login:function(t,e){var n=t.commit,a=e.username.trim();return new R.a(function(t,i){(function(t,e){return K({url:"/rec/user/login",method:"post",data:{username:t,password:e}})})(a,e.password).then(function(e){var a=e.data;console.log("response.data:"),console.log(a),function(t){q.a.set(G,t)}(a.token),n("SET_TOKEN",a.token),t()}).catch(function(t){i(t)})})},GetInfo:function(t){var e=t.commit,n=t.state;return new R.a(function(t,a){(function(t){return K({url:"/rec/user/info/"+t,method:"get"})})(n.token).then(function(n){var i=n.data;i.roles&&i.roles.length>0?e("SET_ROLES",i.roles):a("getInfo: roles must be a non-null array !"),e("SET_NAME",i.name),e("SET_AVATAR",i.avatar),t(n)}).catch(function(t){a(t)})})},LogOut:function(t){var e=t.commit,n=t.state;return new R.a(function(t,a){(n.token,K({url:"/rec/user/logout",method:"post"})).then(function(){e("SET_TOKEN",""),e("SET_ROLES",[]),Q(),t()}).catch(function(t){a(t)})})},FedLogOut:function(t){var e=t.commit;return new R.a(function(t){e("SET_TOKEN",""),Q(),t()})}}},X={sidebar:function(t){return t.app.sidebar},device:function(t){return t.app.device},token:function(t){return t.user.token},avatar:function(t){return t.user.avatar},name:function(t){return t.user.name},roles:function(t){return t.user.roles}};a.default.use(h.a);var W=new h.a.Store({modules:{app:N,user:U},getters:X}),tt=document.body,et={name:"Layout",components:{Navbar:y,Sidebar:Y,AppMain:j},mixins:[{watch:{$route:function(t){"mobile"===this.device&&this.sidebar.opened&&W.dispatch("CloseSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.resizeHandler)},mounted:function(){this.isMobile()&&(W.dispatch("ToggleDevice","mobile"),W.dispatch("CloseSideBar",{withoutAnimation:!0}))},methods:{isMobile:function(){return tt.getBoundingClientRect().width-3<1024},resizeHandler:function(){if(!document.hidden){var t=this.isMobile();W.dispatch("ToggleDevice",t?"mobile":"desktop"),t&&W.dispatch("CloseSideBar",{withoutAnimation:!0})}}}}],computed:{sidebar:function(){return this.$store.state.app.sidebar},device:function(){return this.$store.state.app.device},classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}},methods:{handleClickOutside:function(){this.$store.dispatch("CloseSideBar",{withoutAnimation:!1})}}},nt=(n("3LAI"),Object(s.a)(et,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-wrapper",class:t.classObj},["mobile"===t.device&&t.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:t.handleClickOutside}}):t._e(),t._v(" "),n("sidebar",{staticClass:"sidebar-container"}),t._v(" "),n("div",{staticClass:"main-container"},[n("navbar"),t._v(" "),n("app-main")],1)],1)},[],!1,null,"6ec8cb25",null));nt.options.__file="Layout.vue";var at=nt.exports;a.default.use(u.a);var it=[{path:"/login",component:function(){return n.e("chunk-676f").then(n.bind(null,"ntYl"))},hidden:!0},{path:"/404",component:function(){return n.e("chunk-15af").then(n.bind(null,"jNvO"))},hidden:!0},{path:"/",component:at,redirect:"/dashboard",name:"REC-规则引擎",hidden:!1,children:[{path:"dashboard",component:function(){return n.e("chunk-0cc9").then(n.bind(null,"lAbF"))}}]},{path:"/ruleConfig",component:at,meta:{title:"规则配置",icon:"dashboard"},children:[{path:"domain",name:"domain",component:function(){return n.e("Dj8Q").then(n.bind(null,"Dj8Q"))},meta:{title:"域配置",icon:"clipboard"}},{path:"metadata",name:"metadata",component:function(){return n.e("btnZ").then(n.bind(null,"btnZ"))},meta:{title:"元数据配置",icon:"clipboard"}}]},{path:"/recLogs",component:at,meta:{title:"执行日志",icon:"tab"},children:[{path:"log",name:"log",component:function(){return n.e("QXbw").then(n.bind(null,"QXbw"))},meta:{title:"执行日志",icon:"clipboard"}}]},{path:"*",redirect:"/404",hidden:!0}],ot=new u.a({scrollBehavior:function(){return{y:0}},routes:it}),ct={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-"+this.iconClass},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},st=(n("LyEU"),Object(s.a)(ct,function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{class:this.svgClass,attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":this.iconName}})])},[],!1,null,"2f0f1ae2",null));st.options.__file="index.vue";var lt=st.exports;a.default.component("svg-icon",lt);!function(t){t.keys().map(t)}(n("Uf/o"));var rt=n("Mj6V"),ut=n.n(rt),dt=(n("pdi6"),["/login"]);ot.beforeEach(function(t,e,n){ut.a.start(),P()?"/login"===t.path?(n({path:"/"}),ut.a.done()):0===W.getters.roles.length?W.dispatch("GetInfo").then(function(t){n()}).catch(function(t){W.dispatch("FedLogOut").then(function(){i.Message.error(t||"Verification failed, please login again"),n({path:"/"})})}):n():(console.log(dt.indexOf(t.path)),-1!==dt.indexOf(t.path)?n():(n("/login?redirect="+t.path),ut.a.done()))}),ot.afterEach(function(){ut.a.done()}),a.default.use(o.a),a.default.config.productionTip=!1,new a.default({el:"#app",router:ot,store:W,render:function(t){return t(r)}})},ZZmv:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},ZoO1:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},cIpu:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},gNoN:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});c.a.add(s);e.default=s},hVtZ:function(t,e,n){"use strict";var a=n("BkLX");n.n(a).a},hkRB:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},iqZD:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},j7e1:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},jo2x:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},k80C:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},kPu2:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"m7++":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},m821:function(t,e,n){},mSHS:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},nZHn:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},oUrx:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},pzo4:function(t,e,n){"use strict";var a=n("99Dq");n.n(a).a},qkZ8:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},qwAt:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},rRz7:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},s7Vf:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});c.a.add(s);e.default=s},"sg+I":function(t,e,n){},vDVG:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},xOwI:function(t,e,n){"use strict";var a=n("S0If");n.n(a).a},y02K:function(t,e,n){},y7eQ:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});c.a.add(s);e.default=s},yCkv:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s}},[["Vtdi","runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.9258861b.js b/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.9258861b.js deleted file mode 100644 index e3ff67c3ee84aeb756c69c1e176b2a51bc375124..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.9258861b.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{"+aF5":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},"0Fbn":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"1+ww":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},"1lDy":function(t,e,n){"use strict";var a=n("DCsu");n.n(a).a},"28eg":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"3LAI":function(t,e,n){"use strict";var a=n("y02K");n.n(a).a},"3PhE":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"58g5":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"5TQQ":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"6xvN":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"94Jb":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});c.a.add(s);e.default=s},"99Dq":function(t,e,n){},BkLX:function(t,e,n){},CW6W:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-skill",use:"icon-skill-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},DCsu:function(t,e,n){},EqXK:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},F3lI:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"F9+T":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},FDDl:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},GPBF:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},JYDz:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},Kj24:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"LCM+":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-safelock",use:"icon-safelock-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},LxGF:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},LyEU:function(t,e,n){"use strict";var a=n("m821");n.n(a).a},MEYL:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},MMMJ:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},MokB:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"R/8a":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"R/Hx":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},S0If:function(t,e,n){},TfVu:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});c.a.add(s);e.default=s},"Uf/o":function(t,e,n){var a={"./404.svg":"oUrx","./bug.svg":"F3lI","./chart.svg":"yCkv","./clipboard.svg":"vDVG","./component.svg":"VtY+","./dashboard.svg":"94Jb","./documentation.svg":"kPu2","./drag.svg":"m7++","./edit.svg":"qkZ8","./education.svg":"rRz7","./email.svg":"y7eQ","./example.svg":"MMMJ","./excel.svg":"ZZmv","./exit-fullscreen.svg":"28eg","./eye-open.svg":"1+ww","./eye.svg":"TfVu","./form.svg":"6xvN","./fullscreen.svg":"mSHS","./guide.svg":"ZoO1","./icon.svg":"nZHn","./international.svg":"F9+T","./language.svg":"JYDz","./link.svg":"GPBF","./list.svg":"MokB","./lock.svg":"qwAt","./message.svg":"R/8a","./money.svg":"MEYL","./nested.svg":"3PhE","./password.svg":"Kj24","./pdf.svg":"+aF5","./people.svg":"0Fbn","./peoples.svg":"LxGF","./qq.svg":"FDDl","./safelock.svg":"LCM+","./search.svg":"jo2x","./shopping.svg":"EqXK","./size.svg":"hkRB","./skill.svg":"CW6W","./star.svg":"cIpu","./tab.svg":"j7e1","./table.svg":"R/Hx","./theme.svg":"5TQQ","./tree-table.svg":"58g5","./tree.svg":"k80C","./user.svg":"s7Vf","./wechat.svg":"gNoN","./zip.svg":"iqZD"};function i(t){var e=o(t);return n(e)}function o(t){var e=a[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}i.keys=function(){return Object.keys(a)},i.resolve=o,t.exports=i,i.id="Uf/o"},"VtY+":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},Vtdi:function(t,e,n){"use strict";n.r(e);var a=n("Kw5r"),i=(n("9d8Q"),n("XJYT")),o=n.n(i),c=(n("D66Q"),n("sg+I"),{name:"App"}),s=n("KHd+"),l=Object(s.a)(c,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},[],!1,null,null,null);l.options.__file="App.vue";var r=l.exports,u=n("jE9Z"),d=n("QbLZ"),h=n.n(d),v=n("L2JU"),m=n("vRGJ"),w=n.n(m),p={data:function(){return{levelList:null}},watch:{$route:function(){this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var t=this.$route.matched.filter(function(t){if(t.name)return!0}),e=t[0];e&&"dashboard"!==e.name&&(t=[{path:"/dashboard",meta:{title:"REC-规则引擎"}}].concat(t)),this.levelList=t},pathCompile:function(t){var e=this.$route.params;return w.a.compile(t)(e)},handleLink:function(t){var e=t.redirect,n=t.path;e?this.$router.push(e):this.$router.push(this.pathCompile(n))}}},g=(n("pzo4"),Object(s.a)(p,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},t._l(t.levelList,function(e,a){return e.meta.title?n("el-breadcrumb-item",{key:e.path},["noredirect"===e.redirect||a==t.levelList.length-1?n("span",{staticClass:"no-redirect"},[t._v(t._s(e.meta.title))]):n("a",{on:{click:function(n){n.preventDefault(),t.handleLink(e)}}},[t._v(t._s(e.meta.title))])]):t._e()}))],1)},[],!1,null,"fde0b23a",null));g.options.__file="index.vue";var f=g.exports,b={name:"Hamburger",props:{isActive:{type:Boolean,default:!1},toggleClick:{type:Function,default:null}}},x=(n("hVtZ"),Object(s.a)(b,function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("svg",{staticClass:"hamburger",class:{"is-active":this.isActive},attrs:{t:"1492500959545",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1691","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"64",height:"64"},on:{click:this.toggleClick}},[e("path",{attrs:{d:"M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z","p-id":"1692"}}),this._v(" "),e("path",{attrs:{d:"M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z","p-id":"1693"}}),this._v(" "),e("path",{attrs:{d:"M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z","p-id":"1694"}})])])},[],!1,null,"1b00fab3",null));x.options.__file="index.vue";var z={components:{Breadcrumb:f,Hamburger:x.exports},computed:h()({},Object(v.b)(["sidebar","avatar"])),methods:{toggleSideBar:function(){this.$store.dispatch("ToggleSideBar")},logout:function(){this.$store.dispatch("LogOut").then(function(){location.reload()})}}},B=(n("1lDy"),Object(s.a)(z,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-menu",{staticClass:"navbar",attrs:{mode:"horizontal"}},[n("hamburger",{staticClass:"hamburger-container",attrs:{"toggle-click":t.toggleSideBar,"is-active":t.sidebar.opened}}),t._v(" "),n("breadcrumb"),t._v(" "),n("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:t.avatar}}),t._v(" "),n("i",{staticClass:"el-icon-caret-bottom"})]),t._v(" "),n("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{staticClass:"inlineBlock",attrs:{to:"/"}},[n("el-dropdown-item",[t._v("\n Home\n ")])],1),t._v(" "),n("el-dropdown-item",{attrs:{divided:""}},[n("span",{staticStyle:{display:"block"},on:{click:t.logout}},[t._v("LogOut")])])],1)],1)],1)},[],!1,null,"0fee057c",null));B.options.__file="Navbar.vue";var y=B.exports,M=n("33yf"),V=n.n(M);n("EJiy");function H(t){return/^(https?:|mailto:|tel:)/.test(t)}var C={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(t,e){var n=e.props,a=n.icon,i=n.title,o=[];return a&&o.push(t("svg-icon",{attrs:{"icon-class":a}})),i&&o.push(t("span",{slot:"title"},[i])),o}},L=Object(s.a)(C,void 0,void 0,!1,null,null,null);L.options.__file="Item.vue";var k=L.exports,_={props:{to:{type:String,required:!0}},methods:{isExternalLink:function(t){return H(t)},linkProps:function(t){return this.isExternalLink(t)?{is:"a",href:t,target:"_blank",rel:"noopener"}:{is:"router-link",to:t}}}},I=Object(s.a)(_,function(){var t=this.$createElement;return(this._self._c||t)("component",this._b({},"component",this.linkProps(this.to),!1),[this._t("default")],2)},[],!1,null,null,null);I.options.__file="Link.vue";var F={name:"SidebarItem",components:{Item:k,AppLink:I.exports},props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return{onlyOneChild:null}},methods:{hasOneShowingChild:function(t,e){var n=this,a=t.filter(function(t){return!t.hidden&&(n.onlyOneChild=t,!0)});return 1===a.length||0===a.length&&(this.onlyOneChild=h()({},e,{path:"",noShowingChildren:!0}),!0)},resolvePath:function(t){return this.isExternalLink(t)?t:V.a.resolve(this.basePath,t)},isExternalLink:function(t){return H(t)}}},E=Object(s.a)(F,function(){var t=this,e=t.$createElement,n=t._self._c||e;return!t.item.hidden&&t.item.children?n("div",{staticClass:"menu-wrapper"},[!t.hasOneShowingChild(t.item.children,t.item)||t.onlyOneChild.children&&!t.onlyOneChild.noShowingChildren||t.item.alwaysShow?n("el-submenu",{attrs:{index:t.resolvePath(t.item.path)}},[n("template",{slot:"title"},[t.item.meta?n("item",{attrs:{icon:t.item.meta.icon,title:t.item.meta.title}}):t._e()],1),t._v(" "),t._l(t.item.children,function(e){return e.hidden?t._e():[e.children&&e.children.length>0?n("sidebar-item",{key:e.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:e,"base-path":t.resolvePath(e.path)}}):n("app-link",{key:e.name,attrs:{to:t.resolvePath(e.path)}},[n("el-menu-item",{attrs:{index:t.resolvePath(e.path)}},[e.meta?n("item",{attrs:{icon:e.meta.icon,title:e.meta.title}}):t._e()],1)],1)]})],2):[n("app-link",{attrs:{to:t.resolvePath(t.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!t.isNest},attrs:{index:t.resolvePath(t.onlyOneChild.path)}},[t.onlyOneChild.meta?n("item",{attrs:{icon:t.onlyOneChild.meta.icon||t.item.meta.icon,title:t.onlyOneChild.meta.title}}):t._e()],1)],1)]],2):t._e()},[],!1,null,null,null);E.options.__file="SidebarItem.vue";var S={components:{SidebarItem:E.exports},computed:h()({},Object(v.b)(["sidebar"]),{routes:function(){return this.$router.options.routes},isCollapse:function(){return!this.sidebar.opened}})},O=Object(s.a)(S,function(){var t=this.$createElement,e=this._self._c||t;return e("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[e("el-menu",{attrs:{"show-timeout":200,"default-active":this.$route.path,collapse:this.isCollapse,mode:"vertical","background-color":"#304156","text-color":"#bfcbd9","active-text-color":"#409EFF"}},this._l(this.routes,function(t){return e("sidebar-item",{key:t.path,attrs:{item:t,"base-path":t.path}})}))],1)},[],!1,null,null,null);O.options.__file="index.vue";var Y=O.exports,T={name:"AppMain",computed:{}},A=(n("xOwI"),Object(s.a)(T,function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"app-main"},[e("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[e("router-view")],1)],1)},[],!1,null,"f3fabffe",null));A.options.__file="AppMain.vue";var D=A.exports,j=n("p46w"),q=n.n(j),N={state:{sidebar:{opened:!+q.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},mutations:{TOGGLE_SIDEBAR:function(t){t.sidebar.opened?q.a.set("sidebarStatus",1):q.a.set("sidebarStatus",0),t.sidebar.opened=!t.sidebar.opened,t.sidebar.withoutAnimation=!1},CLOSE_SIDEBAR:function(t,e){q.a.set("sidebarStatus",1),t.sidebar.opened=!1,t.sidebar.withoutAnimation=e},TOGGLE_DEVICE:function(t,e){t.device=e}},actions:{ToggleSideBar:function(t){(0,t.commit)("TOGGLE_SIDEBAR")},CloseSideBar:function(t,e){(0,t.commit)("CLOSE_SIDEBAR",e.withoutAnimation)},ToggleDevice:function(t,e){(0,t.commit)("TOGGLE_DEVICE",e)}}},$=n("4d7F"),R=n.n($),Z=n("vDqi"),G="Admin-Token";function P(){return q.a.get(G)}function Q(){return q.a.remove(G)}var J=n.n(Z).a.create({baseURL:"http://localhost:9999",timeout:5e3});J.interceptors.request.use(function(t){return W.getters.token&&(t.headers["X-Token"]=P()),t},function(t){console.log(t),R.a.reject(t)}),J.interceptors.response.use(function(t){var e=t.data;return 200!==e.code?(Object(i.Message)({message:e.message,type:"error",duration:5e3}),50008!==e.code&&50012!==e.code&&50014!==e.code||i.MessageBox.confirm("你已被登出,可以取消继续留在该页面,或者重新登录","确定登出",{confirmButtonText:"重新登录",cancelButtonText:"取消",type:"warning"}).then(function(){W.dispatch("FedLogOut").then(function(){location.reload()})}),R.a.reject("error")):t.data},function(t){return console.log("err"+t),Object(i.Message)({message:t.message,type:"error",duration:5e3}),R.a.reject(t)});var K=J;var U={state:{token:P(),name:"",avatar:"",roles:[]},mutations:{SET_TOKEN:function(t,e){t.token=e},SET_NAME:function(t,e){t.name=e},SET_AVATAR:function(t,e){t.avatar=e},SET_ROLES:function(t,e){t.roles=e}},actions:{Login:function(t,e){var n=t.commit,a=e.username.trim();return new R.a(function(t,i){(function(t,e){return K({url:"/rec/user/login",method:"post",data:{username:t,password:e}})})(a,e.password).then(function(e){var a=e.data;console.log("response.data:"),console.log(a),function(t){q.a.set(G,t)}(a.token),n("SET_TOKEN",a.token),t()}).catch(function(t){i(t)})})},GetInfo:function(t){var e=t.commit,n=t.state;return new R.a(function(t,a){(function(t){return K({url:"/rec/user/info/"+t,method:"get"})})(n.token).then(function(n){var i=n.data;i.roles&&i.roles.length>0?e("SET_ROLES",i.roles):a("getInfo: roles must be a non-null array !"),e("SET_NAME",i.name),e("SET_AVATAR",i.avatar),t(n)}).catch(function(t){a(t)})})},LogOut:function(t){var e=t.commit,n=t.state;return new R.a(function(t,a){(n.token,K({url:"/rec/user/logout",method:"post"})).then(function(){e("SET_TOKEN",""),e("SET_ROLES",[]),Q(),t()}).catch(function(t){a(t)})})},FedLogOut:function(t){var e=t.commit;return new R.a(function(t){e("SET_TOKEN",""),Q(),t()})}}},X={sidebar:function(t){return t.app.sidebar},device:function(t){return t.app.device},token:function(t){return t.user.token},avatar:function(t){return t.user.avatar},name:function(t){return t.user.name},roles:function(t){return t.user.roles}};a.default.use(v.a);var W=new v.a.Store({modules:{app:N,user:U},getters:X}),tt=document.body,et={name:"Layout",components:{Navbar:y,Sidebar:Y,AppMain:D},mixins:[{watch:{$route:function(t){"mobile"===this.device&&this.sidebar.opened&&W.dispatch("CloseSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.resizeHandler)},mounted:function(){this.isMobile()&&(W.dispatch("ToggleDevice","mobile"),W.dispatch("CloseSideBar",{withoutAnimation:!0}))},methods:{isMobile:function(){return tt.getBoundingClientRect().width-3<1024},resizeHandler:function(){if(!document.hidden){var t=this.isMobile();W.dispatch("ToggleDevice",t?"mobile":"desktop"),t&&W.dispatch("CloseSideBar",{withoutAnimation:!0})}}}}],computed:{sidebar:function(){return this.$store.state.app.sidebar},device:function(){return this.$store.state.app.device},classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}},methods:{handleClickOutside:function(){this.$store.dispatch("CloseSideBar",{withoutAnimation:!1})}}},nt=(n("3LAI"),Object(s.a)(et,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-wrapper",class:t.classObj},["mobile"===t.device&&t.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:t.handleClickOutside}}):t._e(),t._v(" "),n("sidebar",{staticClass:"sidebar-container"}),t._v(" "),n("div",{staticClass:"main-container"},[n("navbar"),t._v(" "),n("app-main")],1)],1)},[],!1,null,"6ec8cb25",null));nt.options.__file="Layout.vue";var at=nt.exports;a.default.use(u.a);var it=[{path:"/login",component:function(){return n.e("chunk-676f").then(n.bind(null,"ntYl"))},hidden:!0},{path:"/404",component:function(){return n.e("chunk-15af").then(n.bind(null,"jNvO"))},hidden:!0},{path:"/",component:at,redirect:"/dashboard",hidden:!1,children:[{path:"dashboard",name:"dashboard",meta:{title:"REC-规则引擎",icon:"clipboard"},component:function(){return n.e("chunk-0cc9").then(n.bind(null,"lAbF"))}}]},{path:"/ruleConfig",component:at,meta:{title:"规则配置",icon:"dashboard"},children:[{path:"domain",name:"domain",component:function(){return n.e("Dj8Q").then(n.bind(null,"Dj8Q"))},meta:{title:"域配置",icon:"clipboard"}},{path:"metadata",name:"metadata",component:function(){return n.e("btnZ").then(n.bind(null,"btnZ"))},meta:{title:"元数据配置",icon:"clipboard"}}]},{path:"/recLogs",component:at,meta:{title:"执行日志",icon:"tab"},children:[{path:"log",name:"log",component:function(){return n.e("QXbw").then(n.bind(null,"QXbw"))},meta:{title:"执行日志",icon:"clipboard"}},{path:"logDetail",name:"logDetail",component:function(){return n.e("StIi").then(n.bind(null,"StIi"))},meta:{title:"执行日志详情",icon:"clipboard"}}]},{path:"*",redirect:"/404",hidden:!0}],ot=new u.a({scrollBehavior:function(){return{y:0}},routes:it}),ct={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-"+this.iconClass},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},st=(n("LyEU"),Object(s.a)(ct,function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{class:this.svgClass,attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":this.iconName}})])},[],!1,null,"2f0f1ae2",null));st.options.__file="index.vue";var lt=st.exports;a.default.component("svg-icon",lt);!function(t){t.keys().map(t)}(n("Uf/o"));var rt=n("Mj6V"),ut=n.n(rt),dt=(n("pdi6"),["/login"]);ot.beforeEach(function(t,e,n){ut.a.start(),P()?"/login"===t.path?(n({path:"/"}),ut.a.done()):0===W.getters.roles.length?W.dispatch("GetInfo").then(function(t){n()}).catch(function(t){W.dispatch("FedLogOut").then(function(){i.Message.error(t||"Verification failed, please login again"),n({path:"/"})})}):n():(console.log(dt.indexOf(t.path)),-1!==dt.indexOf(t.path)?n():(n("/login?redirect="+t.path),ut.a.done()))}),ot.afterEach(function(){ut.a.done()}),a.default.use(o.a),a.default.config.productionTip=!1,new a.default({el:"#app",router:ot,store:W,render:function(t){return t(r)}})},ZZmv:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},ZoO1:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},cIpu:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},gNoN:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});c.a.add(s);e.default=s},hVtZ:function(t,e,n){"use strict";var a=n("BkLX");n.n(a).a},hkRB:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},iqZD:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},j7e1:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},jo2x:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},k80C:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},kPu2:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"m7++":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},m821:function(t,e,n){},mSHS:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},nZHn:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},oUrx:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},pzo4:function(t,e,n){"use strict";var a=n("99Dq");n.n(a).a},qkZ8:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},qwAt:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},rRz7:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},s7Vf:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});c.a.add(s);e.default=s},"sg+I":function(t,e,n){},vDVG:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},xOwI:function(t,e,n){"use strict";var a=n("S0If");n.n(a).a},y02K:function(t,e,n){},y7eQ:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});c.a.add(s);e.default=s},yCkv:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s}},[["Vtdi","runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.946e5d66.js b/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.946e5d66.js deleted file mode 100644 index 2b7a540622e058d065ef05da98b9fa81aac23b9b..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.946e5d66.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{"+aF5":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},"0Fbn":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"1+ww":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},"1lDy":function(t,e,n){"use strict";var a=n("DCsu");n.n(a).a},"28eg":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"3PhE":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"58g5":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"5TQQ":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"6xvN":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"94Jb":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});c.a.add(s);e.default=s},"99Dq":function(t,e,n){},BkLX:function(t,e,n){},CW6W:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-skill",use:"icon-skill-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},DCsu:function(t,e,n){},EqXK:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},F3lI:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"F9+T":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},FDDl:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},GPBF:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},JB3g:function(t,e,n){},JYDz:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},Kj24:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"LCM+":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-safelock",use:"icon-safelock-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},LxGF:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},LyEU:function(t,e,n){"use strict";var a=n("m821");n.n(a).a},MEYL:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},MMMJ:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},MokB:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"R/8a":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"R/Hx":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},S0If:function(t,e,n){},TfVu:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});c.a.add(s);e.default=s},"Uf/o":function(t,e,n){var a={"./404.svg":"oUrx","./bug.svg":"F3lI","./chart.svg":"yCkv","./clipboard.svg":"vDVG","./component.svg":"VtY+","./dashboard.svg":"94Jb","./documentation.svg":"kPu2","./drag.svg":"m7++","./edit.svg":"qkZ8","./education.svg":"rRz7","./email.svg":"y7eQ","./example.svg":"MMMJ","./excel.svg":"ZZmv","./exit-fullscreen.svg":"28eg","./eye-open.svg":"1+ww","./eye.svg":"TfVu","./form.svg":"6xvN","./fullscreen.svg":"mSHS","./guide.svg":"ZoO1","./icon.svg":"nZHn","./international.svg":"F9+T","./language.svg":"JYDz","./link.svg":"GPBF","./list.svg":"MokB","./lock.svg":"qwAt","./message.svg":"R/8a","./money.svg":"MEYL","./nested.svg":"3PhE","./password.svg":"Kj24","./pdf.svg":"+aF5","./people.svg":"0Fbn","./peoples.svg":"LxGF","./qq.svg":"FDDl","./safelock.svg":"LCM+","./search.svg":"jo2x","./shopping.svg":"EqXK","./size.svg":"hkRB","./skill.svg":"CW6W","./star.svg":"cIpu","./tab.svg":"j7e1","./table.svg":"R/Hx","./theme.svg":"5TQQ","./tree-table.svg":"58g5","./tree.svg":"k80C","./user.svg":"s7Vf","./wechat.svg":"gNoN","./zip.svg":"iqZD"};function i(t){var e=o(t);return n(e)}function o(t){var e=a[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}i.keys=function(){return Object.keys(a)},i.resolve=o,t.exports=i,i.id="Uf/o"},"VtY+":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},Vtdi:function(t,e,n){"use strict";n.r(e);var a=n("Kw5r"),i=(n("9d8Q"),n("XJYT")),o=n.n(i),c=(n("D66Q"),n("sg+I"),{name:"App"}),s=n("KHd+"),l=Object(s.a)(c,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},[],!1,null,null,null);l.options.__file="App.vue";var r=l.exports,u=n("jE9Z"),d=n("QbLZ"),h=n.n(d),v=n("L2JU"),m=n("vRGJ"),w=n.n(m),p={data:function(){return{levelList:null}},watch:{$route:function(){this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var t=this.$route.matched.filter(function(t){if(t.name)return!0}),e=t[0];e&&"dashboard"!==e.name&&(t=[{path:"/dashboard",meta:{title:"REC-规则引擎"}}].concat(t)),this.levelList=t},pathCompile:function(t){var e=this.$route.params;return w.a.compile(t)(e)},handleLink:function(t){var e=t.redirect,n=t.path;e?this.$router.push(e):this.$router.push(this.pathCompile(n))}}},g=(n("pzo4"),Object(s.a)(p,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},t._l(t.levelList,function(e,a){return e.meta.title?n("el-breadcrumb-item",{key:e.path},["noredirect"===e.redirect||a==t.levelList.length-1?n("span",{staticClass:"no-redirect"},[t._v(t._s(e.meta.title))]):n("a",{on:{click:function(n){n.preventDefault(),t.handleLink(e)}}},[t._v(t._s(e.meta.title))])]):t._e()}))],1)},[],!1,null,"fde0b23a",null));g.options.__file="index.vue";var f=g.exports,b={name:"Hamburger",props:{isActive:{type:Boolean,default:!1},toggleClick:{type:Function,default:null}}},x=(n("hVtZ"),Object(s.a)(b,function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("svg",{staticClass:"hamburger",class:{"is-active":this.isActive},attrs:{t:"1492500959545",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1691","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"64",height:"64"},on:{click:this.toggleClick}},[e("path",{attrs:{d:"M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z","p-id":"1692"}}),this._v(" "),e("path",{attrs:{d:"M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z","p-id":"1693"}}),this._v(" "),e("path",{attrs:{d:"M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z","p-id":"1694"}})])])},[],!1,null,"1b00fab3",null));x.options.__file="index.vue";var z={components:{Breadcrumb:f,Hamburger:x.exports},computed:h()({},Object(v.b)(["sidebar","avatar"])),methods:{toggleSideBar:function(){this.$store.dispatch("ToggleSideBar")},logout:function(){this.$store.dispatch("LogOut").then(function(){location.reload()})}}},B=(n("1lDy"),Object(s.a)(z,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-menu",{staticClass:"navbar",attrs:{mode:"horizontal"}},[n("hamburger",{staticClass:"hamburger-container",attrs:{"toggle-click":t.toggleSideBar,"is-active":t.sidebar.opened}}),t._v(" "),n("breadcrumb"),t._v(" "),n("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:t.avatar}}),t._v(" "),n("i",{staticClass:"el-icon-caret-bottom"})]),t._v(" "),n("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{staticClass:"inlineBlock",attrs:{to:"/"}},[n("el-dropdown-item",[t._v("\n Home\n ")])],1),t._v(" "),n("el-dropdown-item",{attrs:{divided:""}},[n("span",{staticStyle:{display:"block"},on:{click:t.logout}},[t._v("LogOut")])])],1)],1)],1)},[],!1,null,"0fee057c",null));B.options.__file="Navbar.vue";var y=B.exports,M=n("33yf"),V=n.n(M);n("EJiy");function H(t){return/^(https?:|mailto:|tel:)/.test(t)}var C={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(t,e){var n=e.props,a=n.icon,i=n.title,o=[];return a&&o.push(t("svg-icon",{attrs:{"icon-class":a}})),i&&o.push(t("span",{slot:"title"},[i])),o}},L=Object(s.a)(C,void 0,void 0,!1,null,null,null);L.options.__file="Item.vue";var k=L.exports,_={props:{to:{type:String,required:!0}},methods:{isExternalLink:function(t){return H(t)},linkProps:function(t){return this.isExternalLink(t)?{is:"a",href:t,target:"_blank",rel:"noopener"}:{is:"router-link",to:t}}}},I=Object(s.a)(_,function(){var t=this.$createElement;return(this._self._c||t)("component",this._b({},"component",this.linkProps(this.to),!1),[this._t("default")],2)},[],!1,null,null,null);I.options.__file="Link.vue";var F={name:"SidebarItem",components:{Item:k,AppLink:I.exports},props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return{onlyOneChild:null}},methods:{hasOneShowingChild:function(t,e){var n=this,a=t.filter(function(t){return!t.hidden&&(n.onlyOneChild=t,!0)});return 1===a.length||0===a.length&&(this.onlyOneChild=h()({},e,{path:"",noShowingChildren:!0}),!0)},resolvePath:function(t){return this.isExternalLink(t)?t:V.a.resolve(this.basePath,t)},isExternalLink:function(t){return H(t)}}},E=Object(s.a)(F,function(){var t=this,e=t.$createElement,n=t._self._c||e;return!t.item.hidden&&t.item.children?n("div",{staticClass:"menu-wrapper"},[!t.hasOneShowingChild(t.item.children,t.item)||t.onlyOneChild.children&&!t.onlyOneChild.noShowingChildren||t.item.alwaysShow?n("el-submenu",{attrs:{index:t.resolvePath(t.item.path)}},[n("template",{slot:"title"},[t.item.meta?n("item",{attrs:{icon:t.item.meta.icon,title:t.item.meta.title}}):t._e()],1),t._v(" "),t._l(t.item.children,function(e){return e.hidden?t._e():[e.children&&e.children.length>0?n("sidebar-item",{key:e.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:e,"base-path":t.resolvePath(e.path)}}):n("app-link",{key:e.name,attrs:{to:t.resolvePath(e.path)}},[n("el-menu-item",{attrs:{index:t.resolvePath(e.path)}},[e.meta?n("item",{attrs:{icon:e.meta.icon,title:e.meta.title}}):t._e()],1)],1)]})],2):[n("app-link",{attrs:{to:t.resolvePath(t.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!t.isNest},attrs:{index:t.resolvePath(t.onlyOneChild.path)}},[t.onlyOneChild.meta?n("item",{attrs:{icon:t.onlyOneChild.meta.icon||t.item.meta.icon,title:t.onlyOneChild.meta.title}}):t._e()],1)],1)]],2):t._e()},[],!1,null,null,null);E.options.__file="SidebarItem.vue";var S={components:{SidebarItem:E.exports},computed:h()({},Object(v.b)(["sidebar"]),{routes:function(){return this.$router.options.routes},isCollapse:function(){return!this.sidebar.opened}})},O=Object(s.a)(S,function(){var t=this.$createElement,e=this._self._c||t;return e("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[e("el-menu",{attrs:{"show-timeout":200,"default-active":this.$route.path,collapse:this.isCollapse,mode:"vertical","background-color":"#304156","text-color":"#bfcbd9","active-text-color":"#409EFF"}},this._l(this.routes,function(t){return e("sidebar-item",{key:t.path,attrs:{item:t,"base-path":t.path}})}))],1)},[],!1,null,null,null);O.options.__file="index.vue";var Y=O.exports,T={name:"AppMain",computed:{}},A=(n("xOwI"),Object(s.a)(T,function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"app-main"},[e("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[e("router-view")],1)],1)},[],!1,null,"f3fabffe",null));A.options.__file="AppMain.vue";var D=A.exports,j=n("p46w"),q=n.n(j),N={state:{sidebar:{opened:!+q.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},mutations:{TOGGLE_SIDEBAR:function(t){t.sidebar.opened?q.a.set("sidebarStatus",1):q.a.set("sidebarStatus",0),t.sidebar.opened=!t.sidebar.opened,t.sidebar.withoutAnimation=!1},CLOSE_SIDEBAR:function(t,e){q.a.set("sidebarStatus",1),t.sidebar.opened=!1,t.sidebar.withoutAnimation=e},TOGGLE_DEVICE:function(t,e){t.device=e}},actions:{ToggleSideBar:function(t){(0,t.commit)("TOGGLE_SIDEBAR")},CloseSideBar:function(t,e){(0,t.commit)("CLOSE_SIDEBAR",e.withoutAnimation)},ToggleDevice:function(t,e){(0,t.commit)("TOGGLE_DEVICE",e)}}},$=n("4d7F"),R=n.n($),Z=n("vDqi"),G="Admin-Token";function P(){return q.a.get(G)}function J(){return q.a.remove(G)}var Q=n.n(Z).a.create({baseURL:"http://localhost:9999",timeout:5e3});Q.interceptors.request.use(function(t){return W.getters.token&&(t.headers["X-Token"]=P()),t},function(t){console.log(t),R.a.reject(t)}),Q.interceptors.response.use(function(t){var e=t.data;return 200!==e.code?(Object(i.Message)({message:e.message,type:"error",duration:5e3}),50008!==e.code&&50012!==e.code&&50014!==e.code||i.MessageBox.confirm("你已被登出,可以取消继续留在该页面,或者重新登录","确定登出",{confirmButtonText:"重新登录",cancelButtonText:"取消",type:"warning"}).then(function(){W.dispatch("FedLogOut").then(function(){location.reload()})}),R.a.reject("error")):t.data},function(t){return console.log("err"+t),Object(i.Message)({message:t.message,type:"error",duration:5e3}),R.a.reject(t)});var U=Q;var K={state:{token:P(),name:"",avatar:"",roles:[]},mutations:{SET_TOKEN:function(t,e){t.token=e},SET_NAME:function(t,e){t.name=e},SET_AVATAR:function(t,e){t.avatar=e},SET_ROLES:function(t,e){t.roles=e}},actions:{Login:function(t,e){var n=t.commit,a=e.username.trim();return new R.a(function(t,i){(function(t,e){return U({url:"/rec/user/login",method:"post",data:{username:t,password:e}})})(a,e.password).then(function(e){var a=e.data;console.log("response.data:"),console.log(a),function(t){q.a.set(G,t)}(a.token),n("SET_TOKEN",a.token),t()}).catch(function(t){i(t)})})},GetInfo:function(t){var e=t.commit,n=t.state;return new R.a(function(t,a){(function(t){return U({url:"/rec/user/info/"+t,method:"get"})})(n.token).then(function(n){var i=n.data;i.roles&&i.roles.length>0?e("SET_ROLES",i.roles):a("getInfo: roles must be a non-null array !"),e("SET_NAME",i.name),e("SET_AVATAR",i.avatar),t(n)}).catch(function(t){a(t)})})},LogOut:function(t){var e=t.commit,n=t.state;return new R.a(function(t,a){(n.token,U({url:"/rec/user/logout",method:"post"})).then(function(){e("SET_TOKEN",""),e("SET_ROLES",[]),J(),t()}).catch(function(t){a(t)})})},FedLogOut:function(t){var e=t.commit;return new R.a(function(t){e("SET_TOKEN",""),J(),t()})}}},X={sidebar:function(t){return t.app.sidebar},device:function(t){return t.app.device},token:function(t){return t.user.token},avatar:function(t){return t.user.avatar},name:function(t){return t.user.name},roles:function(t){return t.user.roles}};a.default.use(v.a);var W=new v.a.Store({modules:{app:N,user:K},getters:X}),tt=document.body,et={name:"Layout",components:{Navbar:y,Sidebar:Y,AppMain:D},mixins:[{watch:{$route:function(t){"mobile"===this.device&&this.sidebar.opened&&W.dispatch("CloseSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.resizeHandler)},mounted:function(){this.isMobile()&&(W.dispatch("ToggleDevice","mobile"),W.dispatch("CloseSideBar",{withoutAnimation:!0}))},methods:{isMobile:function(){return tt.getBoundingClientRect().width-3<1024},resizeHandler:function(){if(!document.hidden){var t=this.isMobile();W.dispatch("ToggleDevice",t?"mobile":"desktop"),t&&W.dispatch("CloseSideBar",{withoutAnimation:!0})}}}}],computed:{sidebar:function(){return this.$store.state.app.sidebar},device:function(){return this.$store.state.app.device},classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}},methods:{handleClickOutside:function(){this.$store.dispatch("CloseSideBar",{withoutAnimation:!1})}}},nt=(n("iwTh"),Object(s.a)(et,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-wrapper",class:t.classObj},["mobile"===t.device&&t.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:t.handleClickOutside}}):t._e(),t._v(" "),n("sidebar",{staticClass:"sidebar-container"}),t._v(" "),n("div",{staticClass:"main-container"},[n("navbar"),t._v(" "),n("app-main")],1)],1)},[],!1,null,"de0d657a",null));nt.options.__file="Layout.vue";var at=nt.exports;a.default.use(u.a);var it=[{path:"/login",component:function(){return n.e("chunk-676f").then(n.bind(null,"ntYl"))},hidden:!0},{path:"/404",component:function(){return n.e("chunk-15af").then(n.bind(null,"jNvO"))},hidden:!0},{path:"/",component:at,redirect:"/dashboard",hidden:!1,children:[{path:"dashboard",name:"dashboard",meta:{title:"REC-规则引擎",icon:"dashboard"},component:function(){return n.e("chunk-0cc9").then(n.bind(null,"lAbF"))}}]},{path:"/ruleConfig",component:at,meta:{title:"规则配置",icon:"dashboard"},children:[{path:"domain",name:"domain",component:function(){return n.e("Dj8Q").then(n.bind(null,"Dj8Q"))},meta:{title:"域配置",icon:"clipboard"}},{path:"metadata",name:"metadata",component:function(){return n.e("btnZ").then(n.bind(null,"btnZ"))},meta:{title:"元数据配置",icon:"clipboard"}}]},{path:"/recLogs",component:at,meta:{title:"执行日志",icon:"tab"},children:[{path:"log",name:"log",component:function(){return n.e("QXbw").then(n.bind(null,"QXbw"))},meta:{title:"执行日志",icon:"clipboard"}},{path:"logDetail",name:"logDetail",component:function(){return n.e("StIi").then(n.bind(null,"StIi"))},meta:{title:"执行日志详情",icon:"clipboard"}}]},{path:"/doc",component:at,meta:{title:"开放文档",icon:"tab"},children:[{path:"docDetail",name:"docDetail",component:function(){return n.e("JWp4").then(n.bind(null,"JWp4"))},meta:{title:"项目文档",icon:"clipboard"}}]},{path:"*",redirect:"/404",hidden:!0}],ot=new u.a({scrollBehavior:function(){return{y:0}},routes:it}),ct={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-"+this.iconClass},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},st=(n("LyEU"),Object(s.a)(ct,function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{class:this.svgClass,attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":this.iconName}})])},[],!1,null,"2f0f1ae2",null));st.options.__file="index.vue";var lt=st.exports;a.default.component("svg-icon",lt);!function(t){t.keys().map(t)}(n("Uf/o"));var rt=n("Mj6V"),ut=n.n(rt),dt=(n("pdi6"),["/login"]);ot.beforeEach(function(t,e,n){ut.a.start(),P()?"/login"===t.path?(n({path:"/"}),ut.a.done()):0===W.getters.roles.length?W.dispatch("GetInfo").then(function(t){n()}).catch(function(t){W.dispatch("FedLogOut").then(function(){i.Message.error(t||"Verification failed, please login again"),n({path:"/"})})}):n():(console.log(dt.indexOf(t.path)),-1!==dt.indexOf(t.path)?n():(n("/login?redirect="+t.path),ut.a.done()))}),ot.afterEach(function(){ut.a.done()}),a.default.use(o.a),a.default.config.productionTip=!1,new a.default({el:"#app",router:ot,store:W,render:function(t){return t(r)}})},ZZmv:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},ZoO1:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},cIpu:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},gNoN:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});c.a.add(s);e.default=s},hVtZ:function(t,e,n){"use strict";var a=n("BkLX");n.n(a).a},hkRB:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},iqZD:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},iwTh:function(t,e,n){"use strict";var a=n("JB3g");n.n(a).a},j7e1:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},jo2x:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},k80C:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},kPu2:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"m7++":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},m821:function(t,e,n){},mSHS:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},nZHn:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},oUrx:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},pzo4:function(t,e,n){"use strict";var a=n("99Dq");n.n(a).a},qkZ8:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},qwAt:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},rRz7:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},s7Vf:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});c.a.add(s);e.default=s},"sg+I":function(t,e,n){},vDVG:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},xOwI:function(t,e,n){"use strict";var a=n("S0If");n.n(a).a},y7eQ:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});c.a.add(s);e.default=s},yCkv:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s}},[["Vtdi","runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.c381aef9.js b/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.c381aef9.js deleted file mode 100644 index 32f157c92a98286b01d17d40ecc56baa600c8f4c..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.c381aef9.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{"+aF5":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},"0Fbn":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"1+ww":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},"1lDy":function(t,e,n){"use strict";var a=n("DCsu");n.n(a).a},"28eg":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"3PhE":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"58g5":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"5TQQ":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"6xvN":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"94Jb":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});c.a.add(s);e.default=s},"99Dq":function(t,e,n){},BkLX:function(t,e,n){},CW6W:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-skill",use:"icon-skill-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},DCsu:function(t,e,n){},EqXK:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},F3lI:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"F9+T":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},FDDl:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},GPBF:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},JB3g:function(t,e,n){},JYDz:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},Kj24:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"LCM+":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-safelock",use:"icon-safelock-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},LxGF:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},LyEU:function(t,e,n){"use strict";var a=n("m821");n.n(a).a},MEYL:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},MMMJ:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},MokB:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"R/8a":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"R/Hx":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},S0If:function(t,e,n){},TfVu:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});c.a.add(s);e.default=s},"Uf/o":function(t,e,n){var a={"./404.svg":"oUrx","./bug.svg":"F3lI","./chart.svg":"yCkv","./clipboard.svg":"vDVG","./component.svg":"VtY+","./dashboard.svg":"94Jb","./documentation.svg":"kPu2","./drag.svg":"m7++","./edit.svg":"qkZ8","./education.svg":"rRz7","./email.svg":"y7eQ","./example.svg":"MMMJ","./excel.svg":"ZZmv","./exit-fullscreen.svg":"28eg","./eye-open.svg":"1+ww","./eye.svg":"TfVu","./form.svg":"6xvN","./fullscreen.svg":"mSHS","./guide.svg":"ZoO1","./icon.svg":"nZHn","./international.svg":"F9+T","./language.svg":"JYDz","./link.svg":"GPBF","./list.svg":"MokB","./lock.svg":"qwAt","./message.svg":"R/8a","./money.svg":"MEYL","./nested.svg":"3PhE","./password.svg":"Kj24","./pdf.svg":"+aF5","./people.svg":"0Fbn","./peoples.svg":"LxGF","./qq.svg":"FDDl","./safelock.svg":"LCM+","./search.svg":"jo2x","./shopping.svg":"EqXK","./size.svg":"hkRB","./skill.svg":"CW6W","./star.svg":"cIpu","./tab.svg":"j7e1","./table.svg":"R/Hx","./theme.svg":"5TQQ","./tree-table.svg":"58g5","./tree.svg":"k80C","./user.svg":"s7Vf","./wechat.svg":"gNoN","./zip.svg":"iqZD"};function i(t){var e=o(t);return n(e)}function o(t){var e=a[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}i.keys=function(){return Object.keys(a)},i.resolve=o,t.exports=i,i.id="Uf/o"},"VtY+":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},Vtdi:function(t,e,n){"use strict";n.r(e);var a=n("Kw5r"),i=(n("9d8Q"),n("XJYT")),o=n.n(i),c=(n("D66Q"),n("sg+I"),{name:"App"}),s=n("KHd+"),l=Object(s.a)(c,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},[],!1,null,null,null);l.options.__file="App.vue";var r=l.exports,u=n("jE9Z"),d=n("QbLZ"),h=n.n(d),v=n("L2JU"),m=n("vRGJ"),w=n.n(m),p={data:function(){return{levelList:null}},watch:{$route:function(){this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var t=this.$route.matched.filter(function(t){if(t.name)return!0}),e=t[0];e&&"dashboard"!==e.name&&(t=[{path:"/dashboard",meta:{title:"REC-规则引擎"}}].concat(t)),this.levelList=t},pathCompile:function(t){var e=this.$route.params;return w.a.compile(t)(e)},handleLink:function(t){var e=t.redirect,n=t.path;e?this.$router.push(e):this.$router.push(this.pathCompile(n))}}},g=(n("pzo4"),Object(s.a)(p,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},t._l(t.levelList,function(e,a){return e.meta.title?n("el-breadcrumb-item",{key:e.path},["noredirect"===e.redirect||a==t.levelList.length-1?n("span",{staticClass:"no-redirect"},[t._v(t._s(e.meta.title))]):n("a",{on:{click:function(n){n.preventDefault(),t.handleLink(e)}}},[t._v(t._s(e.meta.title))])]):t._e()}))],1)},[],!1,null,"fde0b23a",null));g.options.__file="index.vue";var f=g.exports,b={name:"Hamburger",props:{isActive:{type:Boolean,default:!1},toggleClick:{type:Function,default:null}}},x=(n("hVtZ"),Object(s.a)(b,function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("svg",{staticClass:"hamburger",class:{"is-active":this.isActive},attrs:{t:"1492500959545",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1691","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"64",height:"64"},on:{click:this.toggleClick}},[e("path",{attrs:{d:"M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z","p-id":"1692"}}),this._v(" "),e("path",{attrs:{d:"M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z","p-id":"1693"}}),this._v(" "),e("path",{attrs:{d:"M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z","p-id":"1694"}})])])},[],!1,null,"1b00fab3",null));x.options.__file="index.vue";var z={components:{Breadcrumb:f,Hamburger:x.exports},computed:h()({},Object(v.b)(["sidebar","avatar"])),methods:{toggleSideBar:function(){this.$store.dispatch("ToggleSideBar")},logout:function(){this.$store.dispatch("LogOut").then(function(){location.reload()})}}},B=(n("1lDy"),Object(s.a)(z,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-menu",{staticClass:"navbar",attrs:{mode:"horizontal"}},[n("hamburger",{staticClass:"hamburger-container",attrs:{"toggle-click":t.toggleSideBar,"is-active":t.sidebar.opened}}),t._v(" "),n("breadcrumb"),t._v(" "),n("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:t.avatar}}),t._v(" "),n("i",{staticClass:"el-icon-caret-bottom"})]),t._v(" "),n("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{staticClass:"inlineBlock",attrs:{to:"/"}},[n("el-dropdown-item",[t._v("\n Home\n ")])],1),t._v(" "),n("el-dropdown-item",{attrs:{divided:""}},[n("span",{staticStyle:{display:"block"},on:{click:t.logout}},[t._v("LogOut")])])],1)],1)],1)},[],!1,null,"0fee057c",null));B.options.__file="Navbar.vue";var y=B.exports,M=n("33yf"),V=n.n(M);n("EJiy");function H(t){return/^(https?:|mailto:|tel:)/.test(t)}var C={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(t,e){var n=e.props,a=n.icon,i=n.title,o=[];return a&&o.push(t("svg-icon",{attrs:{"icon-class":a}})),i&&o.push(t("span",{slot:"title"},[i])),o}},L=Object(s.a)(C,void 0,void 0,!1,null,null,null);L.options.__file="Item.vue";var k=L.exports,_={props:{to:{type:String,required:!0}},methods:{isExternalLink:function(t){return H(t)},linkProps:function(t){return this.isExternalLink(t)?{is:"a",href:t,target:"_blank",rel:"noopener"}:{is:"router-link",to:t}}}},I=Object(s.a)(_,function(){var t=this.$createElement;return(this._self._c||t)("component",this._b({},"component",this.linkProps(this.to),!1),[this._t("default")],2)},[],!1,null,null,null);I.options.__file="Link.vue";var F={name:"SidebarItem",components:{Item:k,AppLink:I.exports},props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return{onlyOneChild:null}},methods:{hasOneShowingChild:function(t,e){var n=this,a=t.filter(function(t){return!t.hidden&&(n.onlyOneChild=t,!0)});return 1===a.length||0===a.length&&(this.onlyOneChild=h()({},e,{path:"",noShowingChildren:!0}),!0)},resolvePath:function(t){return this.isExternalLink(t)?t:V.a.resolve(this.basePath,t)},isExternalLink:function(t){return H(t)}}},E=Object(s.a)(F,function(){var t=this,e=t.$createElement,n=t._self._c||e;return!t.item.hidden&&t.item.children?n("div",{staticClass:"menu-wrapper"},[!t.hasOneShowingChild(t.item.children,t.item)||t.onlyOneChild.children&&!t.onlyOneChild.noShowingChildren||t.item.alwaysShow?n("el-submenu",{attrs:{index:t.resolvePath(t.item.path)}},[n("template",{slot:"title"},[t.item.meta?n("item",{attrs:{icon:t.item.meta.icon,title:t.item.meta.title}}):t._e()],1),t._v(" "),t._l(t.item.children,function(e){return e.hidden?t._e():[e.children&&e.children.length>0?n("sidebar-item",{key:e.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:e,"base-path":t.resolvePath(e.path)}}):n("app-link",{key:e.name,attrs:{to:t.resolvePath(e.path)}},[n("el-menu-item",{attrs:{index:t.resolvePath(e.path)}},[e.meta?n("item",{attrs:{icon:e.meta.icon,title:e.meta.title}}):t._e()],1)],1)]})],2):[n("app-link",{attrs:{to:t.resolvePath(t.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!t.isNest},attrs:{index:t.resolvePath(t.onlyOneChild.path)}},[t.onlyOneChild.meta?n("item",{attrs:{icon:t.onlyOneChild.meta.icon||t.item.meta.icon,title:t.onlyOneChild.meta.title}}):t._e()],1)],1)]],2):t._e()},[],!1,null,null,null);E.options.__file="SidebarItem.vue";var S={components:{SidebarItem:E.exports},computed:h()({},Object(v.b)(["sidebar"]),{routes:function(){return this.$router.options.routes},isCollapse:function(){return!this.sidebar.opened}})},O=Object(s.a)(S,function(){var t=this.$createElement,e=this._self._c||t;return e("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[e("el-menu",{attrs:{"show-timeout":200,"default-active":this.$route.path,collapse:this.isCollapse,mode:"vertical","background-color":"#304156","text-color":"#bfcbd9","active-text-color":"#409EFF"}},this._l(this.routes,function(t){return e("sidebar-item",{key:t.path,attrs:{item:t,"base-path":t.path}})}))],1)},[],!1,null,null,null);O.options.__file="index.vue";var Y=O.exports,T={name:"AppMain",computed:{}},A=(n("xOwI"),Object(s.a)(T,function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"app-main"},[e("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[e("router-view")],1)],1)},[],!1,null,"f3fabffe",null));A.options.__file="AppMain.vue";var D=A.exports,j=n("p46w"),q=n.n(j),N={state:{sidebar:{opened:!+q.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},mutations:{TOGGLE_SIDEBAR:function(t){t.sidebar.opened?q.a.set("sidebarStatus",1):q.a.set("sidebarStatus",0),t.sidebar.opened=!t.sidebar.opened,t.sidebar.withoutAnimation=!1},CLOSE_SIDEBAR:function(t,e){q.a.set("sidebarStatus",1),t.sidebar.opened=!1,t.sidebar.withoutAnimation=e},TOGGLE_DEVICE:function(t,e){t.device=e}},actions:{ToggleSideBar:function(t){(0,t.commit)("TOGGLE_SIDEBAR")},CloseSideBar:function(t,e){(0,t.commit)("CLOSE_SIDEBAR",e.withoutAnimation)},ToggleDevice:function(t,e){(0,t.commit)("TOGGLE_DEVICE",e)}}},$=n("4d7F"),R=n.n($),Z=n("vDqi"),G="Admin-Token";function P(){return q.a.get(G)}function J(){return q.a.remove(G)}var Q=n.n(Z).a.create({baseURL:"http://localhost:9999",timeout:5e3});Q.interceptors.request.use(function(t){return W.getters.token&&(t.headers["X-Token"]=P()),t},function(t){console.log(t),R.a.reject(t)}),Q.interceptors.response.use(function(t){var e=t.data;return 200!==e.code?(Object(i.Message)({message:e.message,type:"error",duration:5e3}),50008!==e.code&&50012!==e.code&&50014!==e.code||i.MessageBox.confirm("你已被登出,可以取消继续留在该页面,或者重新登录","确定登出",{confirmButtonText:"重新登录",cancelButtonText:"取消",type:"warning"}).then(function(){W.dispatch("FedLogOut").then(function(){location.reload()})}),R.a.reject("error")):t.data},function(t){return console.log("err"+t),Object(i.Message)({message:t.message,type:"error",duration:5e3}),R.a.reject(t)});var U=Q;var K={state:{token:P(),name:"",avatar:"",roles:[]},mutations:{SET_TOKEN:function(t,e){t.token=e},SET_NAME:function(t,e){t.name=e},SET_AVATAR:function(t,e){t.avatar=e},SET_ROLES:function(t,e){t.roles=e}},actions:{Login:function(t,e){var n=t.commit,a=e.username.trim();return new R.a(function(t,i){(function(t,e){return U({url:"/rec/user/login",method:"post",data:{username:t,password:e}})})(a,e.password).then(function(e){var a=e.data;console.log("response.data:"),console.log(a),function(t){q.a.set(G,t)}(a.token),n("SET_TOKEN",a.token),t()}).catch(function(t){i(t)})})},GetInfo:function(t){var e=t.commit,n=t.state;return new R.a(function(t,a){(function(t){return U({url:"/rec/user/info/"+t,method:"get"})})(n.token).then(function(n){var i=n.data;i.roles&&i.roles.length>0?e("SET_ROLES",i.roles):a("getInfo: roles must be a non-null array !"),e("SET_NAME",i.name),e("SET_AVATAR",i.avatar),t(n)}).catch(function(t){a(t)})})},LogOut:function(t){var e=t.commit,n=t.state;return new R.a(function(t,a){(n.token,U({url:"/rec/user/logout",method:"post"})).then(function(){e("SET_TOKEN",""),e("SET_ROLES",[]),J(),t()}).catch(function(t){a(t)})})},FedLogOut:function(t){var e=t.commit;return new R.a(function(t){e("SET_TOKEN",""),J(),t()})}}},X={sidebar:function(t){return t.app.sidebar},device:function(t){return t.app.device},token:function(t){return t.user.token},avatar:function(t){return t.user.avatar},name:function(t){return t.user.name},roles:function(t){return t.user.roles}};a.default.use(v.a);var W=new v.a.Store({modules:{app:N,user:K},getters:X}),tt=document.body,et={name:"Layout",components:{Navbar:y,Sidebar:Y,AppMain:D},mixins:[{watch:{$route:function(t){"mobile"===this.device&&this.sidebar.opened&&W.dispatch("CloseSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.resizeHandler)},mounted:function(){this.isMobile()&&(W.dispatch("ToggleDevice","mobile"),W.dispatch("CloseSideBar",{withoutAnimation:!0}))},methods:{isMobile:function(){return tt.getBoundingClientRect().width-3<1024},resizeHandler:function(){if(!document.hidden){var t=this.isMobile();W.dispatch("ToggleDevice",t?"mobile":"desktop"),t&&W.dispatch("CloseSideBar",{withoutAnimation:!0})}}}}],computed:{sidebar:function(){return this.$store.state.app.sidebar},device:function(){return this.$store.state.app.device},classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}},methods:{handleClickOutside:function(){this.$store.dispatch("CloseSideBar",{withoutAnimation:!1})}}},nt=(n("iwTh"),Object(s.a)(et,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-wrapper",class:t.classObj},["mobile"===t.device&&t.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:t.handleClickOutside}}):t._e(),t._v(" "),n("sidebar",{staticClass:"sidebar-container"}),t._v(" "),n("div",{staticClass:"main-container"},[n("navbar"),t._v(" "),n("app-main")],1)],1)},[],!1,null,"de0d657a",null));nt.options.__file="Layout.vue";var at=nt.exports;a.default.use(u.a);var it=[{path:"/login",component:function(){return n.e("chunk-676f").then(n.bind(null,"ntYl"))},hidden:!0},{path:"/404",component:function(){return n.e("chunk-15af").then(n.bind(null,"jNvO"))},hidden:!0},{path:"/",component:at,redirect:"/dashboard",hidden:!1,children:[{path:"dashboard",name:"dashboard",meta:{title:"REC-规则引擎",icon:"dashboard"},component:function(){return n.e("chunk-0cc9").then(n.bind(null,"lAbF"))}}]},{path:"/ruleConfig",component:at,meta:{title:"规则配置",icon:"dashboard"},children:[{path:"domain",name:"domain",component:function(){return n.e("Dj8Q").then(n.bind(null,"Dj8Q"))},meta:{title:"域配置",icon:"clipboard"}},{path:"metadata",name:"metadata",component:function(){return n.e("btnZ").then(n.bind(null,"btnZ"))},meta:{title:"元数据配置",icon:"clipboard"}}]},{path:"/recLogs",component:at,meta:{title:"执行日志",icon:"tab"},children:[{path:"log",name:"log",component:function(){return n.e("QXbw").then(n.bind(null,"QXbw"))},meta:{title:"执行日志",icon:"clipboard"}},{path:"logDetail",name:"logDetail",component:function(){return n.e("StIi").then(n.bind(null,"StIi"))},meta:{title:"执行日志详情",icon:"clipboard"}}]},{path:"*",redirect:"/404",hidden:!0}],ot=new u.a({scrollBehavior:function(){return{y:0}},routes:it}),ct={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-"+this.iconClass},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},st=(n("LyEU"),Object(s.a)(ct,function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{class:this.svgClass,attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":this.iconName}})])},[],!1,null,"2f0f1ae2",null));st.options.__file="index.vue";var lt=st.exports;a.default.component("svg-icon",lt);!function(t){t.keys().map(t)}(n("Uf/o"));var rt=n("Mj6V"),ut=n.n(rt),dt=(n("pdi6"),["/login"]);ot.beforeEach(function(t,e,n){ut.a.start(),P()?"/login"===t.path?(n({path:"/"}),ut.a.done()):0===W.getters.roles.length?W.dispatch("GetInfo").then(function(t){n()}).catch(function(t){W.dispatch("FedLogOut").then(function(){i.Message.error(t||"Verification failed, please login again"),n({path:"/"})})}):n():(console.log(dt.indexOf(t.path)),-1!==dt.indexOf(t.path)?n():(n("/login?redirect="+t.path),ut.a.done()))}),ot.afterEach(function(){ut.a.done()}),a.default.use(o.a),a.default.config.productionTip=!1,new a.default({el:"#app",router:ot,store:W,render:function(t){return t(r)}})},ZZmv:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},ZoO1:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},cIpu:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},gNoN:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});c.a.add(s);e.default=s},hVtZ:function(t,e,n){"use strict";var a=n("BkLX");n.n(a).a},hkRB:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},iqZD:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},iwTh:function(t,e,n){"use strict";var a=n("JB3g");n.n(a).a},j7e1:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},jo2x:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},k80C:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},kPu2:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"m7++":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},m821:function(t,e,n){},mSHS:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},nZHn:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},oUrx:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},pzo4:function(t,e,n){"use strict";var a=n("99Dq");n.n(a).a},qkZ8:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},qwAt:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},rRz7:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},s7Vf:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});c.a.add(s);e.default=s},"sg+I":function(t,e,n){},vDVG:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},xOwI:function(t,e,n){"use strict";var a=n("S0If");n.n(a).a},y7eQ:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});c.a.add(s);e.default=s},yCkv:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s}},[["Vtdi","runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.e2ea7bb2.js b/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.e2ea7bb2.js deleted file mode 100644 index 81cd02f03b91154139f1297dfddf6e95019055ef..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.e2ea7bb2.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{"+aF5":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},"0Fbn":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"1+ww":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},"1lDy":function(t,e,n){"use strict";var a=n("DCsu");n.n(a).a},"28eg":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"3LAI":function(t,e,n){"use strict";var a=n("y02K");n.n(a).a},"3PhE":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"58g5":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"5TQQ":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"6xvN":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"94Jb":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});c.a.add(s);e.default=s},"99Dq":function(t,e,n){},BkLX:function(t,e,n){},CW6W:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-skill",use:"icon-skill-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},DCsu:function(t,e,n){},EqXK:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},F3lI:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"F9+T":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},FDDl:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},GPBF:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},JYDz:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},Kj24:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"LCM+":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-safelock",use:"icon-safelock-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},LxGF:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},LyEU:function(t,e,n){"use strict";var a=n("m821");n.n(a).a},MEYL:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},MMMJ:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},MokB:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"R/8a":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"R/Hx":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},S0If:function(t,e,n){},TfVu:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});c.a.add(s);e.default=s},"Uf/o":function(t,e,n){var a={"./404.svg":"oUrx","./bug.svg":"F3lI","./chart.svg":"yCkv","./clipboard.svg":"vDVG","./component.svg":"VtY+","./dashboard.svg":"94Jb","./documentation.svg":"kPu2","./drag.svg":"m7++","./edit.svg":"qkZ8","./education.svg":"rRz7","./email.svg":"y7eQ","./example.svg":"MMMJ","./excel.svg":"ZZmv","./exit-fullscreen.svg":"28eg","./eye-open.svg":"1+ww","./eye.svg":"TfVu","./form.svg":"6xvN","./fullscreen.svg":"mSHS","./guide.svg":"ZoO1","./icon.svg":"nZHn","./international.svg":"F9+T","./language.svg":"JYDz","./link.svg":"GPBF","./list.svg":"MokB","./lock.svg":"qwAt","./message.svg":"R/8a","./money.svg":"MEYL","./nested.svg":"3PhE","./password.svg":"Kj24","./pdf.svg":"+aF5","./people.svg":"0Fbn","./peoples.svg":"LxGF","./qq.svg":"FDDl","./safelock.svg":"LCM+","./search.svg":"jo2x","./shopping.svg":"EqXK","./size.svg":"hkRB","./skill.svg":"CW6W","./star.svg":"cIpu","./tab.svg":"j7e1","./table.svg":"R/Hx","./theme.svg":"5TQQ","./tree-table.svg":"58g5","./tree.svg":"k80C","./user.svg":"s7Vf","./wechat.svg":"gNoN","./zip.svg":"iqZD"};function i(t){var e=o(t);return n(e)}function o(t){var e=a[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}i.keys=function(){return Object.keys(a)},i.resolve=o,t.exports=i,i.id="Uf/o"},"VtY+":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},Vtdi:function(t,e,n){"use strict";n.r(e);var a=n("Kw5r"),i=(n("9d8Q"),n("XJYT")),o=n.n(i),c=(n("D66Q"),n("sg+I"),{name:"App"}),s=n("KHd+"),l=Object(s.a)(c,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},[],!1,null,null,null);l.options.__file="App.vue";var r=l.exports,u=n("jE9Z"),d=n("QbLZ"),h=n.n(d),v=n("L2JU"),m=n("vRGJ"),w=n.n(m),p={data:function(){return{levelList:null}},watch:{$route:function(){this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var t=this.$route.matched.filter(function(t){if(t.name)return!0}),e=t[0];e&&"dashboard"!==e.name&&(t=[{path:"/dashboard",meta:{title:"REC-规则引擎"}}].concat(t)),this.levelList=t},pathCompile:function(t){var e=this.$route.params;return w.a.compile(t)(e)},handleLink:function(t){var e=t.redirect,n=t.path;e?this.$router.push(e):this.$router.push(this.pathCompile(n))}}},g=(n("pzo4"),Object(s.a)(p,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},t._l(t.levelList,function(e,a){return e.meta.title?n("el-breadcrumb-item",{key:e.path},["noredirect"===e.redirect||a==t.levelList.length-1?n("span",{staticClass:"no-redirect"},[t._v(t._s(e.meta.title))]):n("a",{on:{click:function(n){n.preventDefault(),t.handleLink(e)}}},[t._v(t._s(e.meta.title))])]):t._e()}))],1)},[],!1,null,"fde0b23a",null));g.options.__file="index.vue";var f=g.exports,b={name:"Hamburger",props:{isActive:{type:Boolean,default:!1},toggleClick:{type:Function,default:null}}},x=(n("hVtZ"),Object(s.a)(b,function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("svg",{staticClass:"hamburger",class:{"is-active":this.isActive},attrs:{t:"1492500959545",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1691","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"64",height:"64"},on:{click:this.toggleClick}},[e("path",{attrs:{d:"M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z","p-id":"1692"}}),this._v(" "),e("path",{attrs:{d:"M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z","p-id":"1693"}}),this._v(" "),e("path",{attrs:{d:"M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z","p-id":"1694"}})])])},[],!1,null,"1b00fab3",null));x.options.__file="index.vue";var z={components:{Breadcrumb:f,Hamburger:x.exports},computed:h()({},Object(v.b)(["sidebar","avatar"])),methods:{toggleSideBar:function(){this.$store.dispatch("ToggleSideBar")},logout:function(){this.$store.dispatch("LogOut").then(function(){location.reload()})}}},B=(n("1lDy"),Object(s.a)(z,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-menu",{staticClass:"navbar",attrs:{mode:"horizontal"}},[n("hamburger",{staticClass:"hamburger-container",attrs:{"toggle-click":t.toggleSideBar,"is-active":t.sidebar.opened}}),t._v(" "),n("breadcrumb"),t._v(" "),n("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:t.avatar}}),t._v(" "),n("i",{staticClass:"el-icon-caret-bottom"})]),t._v(" "),n("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{staticClass:"inlineBlock",attrs:{to:"/"}},[n("el-dropdown-item",[t._v("\n Home\n ")])],1),t._v(" "),n("el-dropdown-item",{attrs:{divided:""}},[n("span",{staticStyle:{display:"block"},on:{click:t.logout}},[t._v("LogOut")])])],1)],1)],1)},[],!1,null,"0fee057c",null));B.options.__file="Navbar.vue";var y=B.exports,M=n("33yf"),V=n.n(M);n("EJiy");function H(t){return/^(https?:|mailto:|tel:)/.test(t)}var C={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(t,e){var n=e.props,a=n.icon,i=n.title,o=[];return a&&o.push(t("svg-icon",{attrs:{"icon-class":a}})),i&&o.push(t("span",{slot:"title"},[i])),o}},L=Object(s.a)(C,void 0,void 0,!1,null,null,null);L.options.__file="Item.vue";var k=L.exports,_={props:{to:{type:String,required:!0}},methods:{isExternalLink:function(t){return H(t)},linkProps:function(t){return this.isExternalLink(t)?{is:"a",href:t,target:"_blank",rel:"noopener"}:{is:"router-link",to:t}}}},I=Object(s.a)(_,function(){var t=this.$createElement;return(this._self._c||t)("component",this._b({},"component",this.linkProps(this.to),!1),[this._t("default")],2)},[],!1,null,null,null);I.options.__file="Link.vue";var F={name:"SidebarItem",components:{Item:k,AppLink:I.exports},props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return{onlyOneChild:null}},methods:{hasOneShowingChild:function(t,e){var n=this,a=t.filter(function(t){return!t.hidden&&(n.onlyOneChild=t,!0)});return 1===a.length||0===a.length&&(this.onlyOneChild=h()({},e,{path:"",noShowingChildren:!0}),!0)},resolvePath:function(t){return this.isExternalLink(t)?t:V.a.resolve(this.basePath,t)},isExternalLink:function(t){return H(t)}}},E=Object(s.a)(F,function(){var t=this,e=t.$createElement,n=t._self._c||e;return!t.item.hidden&&t.item.children?n("div",{staticClass:"menu-wrapper"},[!t.hasOneShowingChild(t.item.children,t.item)||t.onlyOneChild.children&&!t.onlyOneChild.noShowingChildren||t.item.alwaysShow?n("el-submenu",{attrs:{index:t.resolvePath(t.item.path)}},[n("template",{slot:"title"},[t.item.meta?n("item",{attrs:{icon:t.item.meta.icon,title:t.item.meta.title}}):t._e()],1),t._v(" "),t._l(t.item.children,function(e){return e.hidden?t._e():[e.children&&e.children.length>0?n("sidebar-item",{key:e.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:e,"base-path":t.resolvePath(e.path)}}):n("app-link",{key:e.name,attrs:{to:t.resolvePath(e.path)}},[n("el-menu-item",{attrs:{index:t.resolvePath(e.path)}},[e.meta?n("item",{attrs:{icon:e.meta.icon,title:e.meta.title}}):t._e()],1)],1)]})],2):[n("app-link",{attrs:{to:t.resolvePath(t.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!t.isNest},attrs:{index:t.resolvePath(t.onlyOneChild.path)}},[t.onlyOneChild.meta?n("item",{attrs:{icon:t.onlyOneChild.meta.icon||t.item.meta.icon,title:t.onlyOneChild.meta.title}}):t._e()],1)],1)]],2):t._e()},[],!1,null,null,null);E.options.__file="SidebarItem.vue";var O={components:{SidebarItem:E.exports},computed:h()({},Object(v.b)(["sidebar"]),{routes:function(){return this.$router.options.routes},isCollapse:function(){return!this.sidebar.opened}})},S=Object(s.a)(O,function(){var t=this.$createElement,e=this._self._c||t;return e("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[e("el-menu",{attrs:{"show-timeout":200,"default-active":this.$route.path,collapse:this.isCollapse,mode:"vertical","background-color":"#304156","text-color":"#bfcbd9","active-text-color":"#409EFF"}},this._l(this.routes,function(t){return e("sidebar-item",{key:t.path,attrs:{item:t,"base-path":t.path}})}))],1)},[],!1,null,null,null);S.options.__file="index.vue";var Y=S.exports,T={name:"AppMain",computed:{}},A=(n("xOwI"),Object(s.a)(T,function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"app-main"},[e("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[e("router-view")],1)],1)},[],!1,null,"f3fabffe",null));A.options.__file="AppMain.vue";var j=A.exports,D=n("p46w"),q=n.n(D),N={state:{sidebar:{opened:!+q.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},mutations:{TOGGLE_SIDEBAR:function(t){t.sidebar.opened?q.a.set("sidebarStatus",1):q.a.set("sidebarStatus",0),t.sidebar.opened=!t.sidebar.opened,t.sidebar.withoutAnimation=!1},CLOSE_SIDEBAR:function(t,e){q.a.set("sidebarStatus",1),t.sidebar.opened=!1,t.sidebar.withoutAnimation=e},TOGGLE_DEVICE:function(t,e){t.device=e}},actions:{ToggleSideBar:function(t){(0,t.commit)("TOGGLE_SIDEBAR")},CloseSideBar:function(t,e){(0,t.commit)("CLOSE_SIDEBAR",e.withoutAnimation)},ToggleDevice:function(t,e){(0,t.commit)("TOGGLE_DEVICE",e)}}},R=n("4d7F"),$=n.n(R),Z=n("vDqi"),G="Admin-Token";function P(){return q.a.get(G)}function Q(){return q.a.remove(G)}var J=n.n(Z).a.create({baseURL:"http://localhost:9999",timeout:5e3});J.interceptors.request.use(function(t){return W.getters.token&&(t.headers["X-Token"]=P()),t},function(t){console.log(t),$.a.reject(t)}),J.interceptors.response.use(function(t){var e=t.data;return 200!==e.code?(Object(i.Message)({message:e.message,type:"error",duration:5e3}),50008!==e.code&&50012!==e.code&&50014!==e.code||i.MessageBox.confirm("你已被登出,可以取消继续留在该页面,或者重新登录","确定登出",{confirmButtonText:"重新登录",cancelButtonText:"取消",type:"warning"}).then(function(){W.dispatch("FedLogOut").then(function(){location.reload()})}),$.a.reject("error")):t.data},function(t){return console.log("err"+t),Object(i.Message)({message:t.message,type:"error",duration:5e3}),$.a.reject(t)});var K=J;var U={state:{token:P(),name:"",avatar:"",roles:[]},mutations:{SET_TOKEN:function(t,e){t.token=e},SET_NAME:function(t,e){t.name=e},SET_AVATAR:function(t,e){t.avatar=e},SET_ROLES:function(t,e){t.roles=e}},actions:{Login:function(t,e){var n=t.commit,a=e.username.trim();return new $.a(function(t,i){(function(t,e){return K({url:"/rec/user/login",method:"post",data:{username:t,password:e}})})(a,e.password).then(function(e){var a=e.data;console.log("response.data:"),console.log(a),function(t){q.a.set(G,t)}(a.token),n("SET_TOKEN",a.token),t()}).catch(function(t){i(t)})})},GetInfo:function(t){var e=t.commit,n=t.state;return new $.a(function(t,a){(function(t){return K({url:"/rec/user/info/"+t,method:"get"})})(n.token).then(function(n){var i=n.data;i.roles&&i.roles.length>0?e("SET_ROLES",i.roles):a("getInfo: roles must be a non-null array !"),e("SET_NAME",i.name),e("SET_AVATAR",i.avatar),t(n)}).catch(function(t){a(t)})})},LogOut:function(t){var e=t.commit,n=t.state;return new $.a(function(t,a){(n.token,K({url:"/rec/user/logout",method:"post"})).then(function(){e("SET_TOKEN",""),e("SET_ROLES",[]),Q(),t()}).catch(function(t){a(t)})})},FedLogOut:function(t){var e=t.commit;return new $.a(function(t){e("SET_TOKEN",""),Q(),t()})}}},X={sidebar:function(t){return t.app.sidebar},device:function(t){return t.app.device},token:function(t){return t.user.token},avatar:function(t){return t.user.avatar},name:function(t){return t.user.name},roles:function(t){return t.user.roles}};a.default.use(v.a);var W=new v.a.Store({modules:{app:N,user:U},getters:X}),tt=document.body,et={name:"Layout",components:{Navbar:y,Sidebar:Y,AppMain:j},mixins:[{watch:{$route:function(t){"mobile"===this.device&&this.sidebar.opened&&W.dispatch("CloseSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.resizeHandler)},mounted:function(){this.isMobile()&&(W.dispatch("ToggleDevice","mobile"),W.dispatch("CloseSideBar",{withoutAnimation:!0}))},methods:{isMobile:function(){return tt.getBoundingClientRect().width-3<1024},resizeHandler:function(){if(!document.hidden){var t=this.isMobile();W.dispatch("ToggleDevice",t?"mobile":"desktop"),t&&W.dispatch("CloseSideBar",{withoutAnimation:!0})}}}}],computed:{sidebar:function(){return this.$store.state.app.sidebar},device:function(){return this.$store.state.app.device},classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}},methods:{handleClickOutside:function(){this.$store.dispatch("CloseSideBar",{withoutAnimation:!1})}}},nt=(n("3LAI"),Object(s.a)(et,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-wrapper",class:t.classObj},["mobile"===t.device&&t.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:t.handleClickOutside}}):t._e(),t._v(" "),n("sidebar",{staticClass:"sidebar-container"}),t._v(" "),n("div",{staticClass:"main-container"},[n("navbar"),t._v(" "),n("app-main")],1)],1)},[],!1,null,"6ec8cb25",null));nt.options.__file="Layout.vue";var at=nt.exports;a.default.use(u.a);var it=[{path:"/login",component:function(){return n.e("chunk-676f").then(n.bind(null,"ntYl"))},hidden:!0},{path:"/404",component:function(){return n.e("chunk-15af").then(n.bind(null,"jNvO"))},hidden:!0},{path:"/",component:at,redirect:"/dashboard",name:"REC-规则引擎",hidden:!1,children:[{path:"dashboard",component:function(){return n.e("chunk-0cc9").then(n.bind(null,"lAbF"))}}]},{path:"/dashboard",component:at,redirect:"/dashboard",meta:{title:"REC-规则引擎",icon:"dashboard"},children:[]},{path:"/ruleConfig",component:at,meta:{title:"规则配置",icon:"dashboard"},children:[{path:"domain",name:"domain",component:function(){return n.e("Dj8Q").then(n.bind(null,"Dj8Q"))},meta:{title:"域配置",icon:"clipboard"}},{path:"metadata",name:"metadata",component:function(){return n.e("btnZ").then(n.bind(null,"btnZ"))},meta:{title:"元数据配置",icon:"clipboard"}}]},{path:"/recLogs",component:at,meta:{title:"执行日志",icon:"tab"},children:[{path:"log",name:"log",component:function(){return n.e("QXbw").then(n.bind(null,"QXbw"))},meta:{title:"执行日志",icon:"clipboard"}}]},{path:"*",redirect:"/404",hidden:!0}],ot=new u.a({scrollBehavior:function(){return{y:0}},routes:it}),ct={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-"+this.iconClass},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},st=(n("LyEU"),Object(s.a)(ct,function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{class:this.svgClass,attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":this.iconName}})])},[],!1,null,"2f0f1ae2",null));st.options.__file="index.vue";var lt=st.exports;a.default.component("svg-icon",lt);!function(t){t.keys().map(t)}(n("Uf/o"));var rt=n("Mj6V"),ut=n.n(rt),dt=(n("pdi6"),["/login"]);ot.beforeEach(function(t,e,n){ut.a.start(),P()?"/login"===t.path?(n({path:"/"}),ut.a.done()):0===W.getters.roles.length?W.dispatch("GetInfo").then(function(t){n()}).catch(function(t){W.dispatch("FedLogOut").then(function(){i.Message.error(t||"Verification failed, please login again"),n({path:"/"})})}):n():(console.log(dt.indexOf(t.path)),-1!==dt.indexOf(t.path)?n():(n("/login?redirect="+t.path),ut.a.done()))}),ot.afterEach(function(){ut.a.done()}),a.default.use(o.a),a.default.config.productionTip=!1,new a.default({el:"#app",router:ot,store:W,render:function(t){return t(r)}})},ZZmv:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},ZoO1:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},cIpu:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},gNoN:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});c.a.add(s);e.default=s},hVtZ:function(t,e,n){"use strict";var a=n("BkLX");n.n(a).a},hkRB:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},iqZD:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},j7e1:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},jo2x:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},k80C:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},kPu2:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"m7++":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},m821:function(t,e,n){},mSHS:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},nZHn:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},oUrx:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},pzo4:function(t,e,n){"use strict";var a=n("99Dq");n.n(a).a},qkZ8:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},qwAt:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},rRz7:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},s7Vf:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});c.a.add(s);e.default=s},"sg+I":function(t,e,n){},vDVG:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},xOwI:function(t,e,n){"use strict";var a=n("S0If");n.n(a).a},y02K:function(t,e,n){},y7eQ:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});c.a.add(s);e.default=s},yCkv:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s}},[["Vtdi","runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.e3a1601a.js b/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.e3a1601a.js deleted file mode 100644 index 39862484f640320a9809c706a7a26ec9e5b158d2..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.e3a1601a.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{"+aF5":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},"0Fbn":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"1+ww":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},"1lDy":function(t,e,n){"use strict";var a=n("DCsu");n.n(a).a},"28eg":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"3LAI":function(t,e,n){"use strict";var a=n("y02K");n.n(a).a},"3PhE":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"58g5":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"5TQQ":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"6xvN":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"94Jb":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});c.a.add(s);e.default=s},"99Dq":function(t,e,n){},BkLX:function(t,e,n){},CW6W:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-skill",use:"icon-skill-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},DCsu:function(t,e,n){},EqXK:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},F3lI:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"F9+T":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},FDDl:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},GPBF:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},JYDz:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},Kj24:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"LCM+":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-safelock",use:"icon-safelock-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);e.default=s},LxGF:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},LyEU:function(t,e,n){"use strict";var a=n("m821");n.n(a).a},MEYL:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},MMMJ:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},MokB:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"R/8a":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"R/Hx":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},S0If:function(t,e,n){},TfVu:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});c.a.add(s);e.default=s},"Uf/o":function(t,e,n){var a={"./404.svg":"oUrx","./bug.svg":"F3lI","./chart.svg":"yCkv","./clipboard.svg":"vDVG","./component.svg":"VtY+","./dashboard.svg":"94Jb","./documentation.svg":"kPu2","./drag.svg":"m7++","./edit.svg":"qkZ8","./education.svg":"rRz7","./email.svg":"y7eQ","./example.svg":"MMMJ","./excel.svg":"ZZmv","./exit-fullscreen.svg":"28eg","./eye-open.svg":"1+ww","./eye.svg":"TfVu","./form.svg":"6xvN","./fullscreen.svg":"mSHS","./guide.svg":"ZoO1","./icon.svg":"nZHn","./international.svg":"F9+T","./language.svg":"JYDz","./link.svg":"GPBF","./list.svg":"MokB","./lock.svg":"qwAt","./message.svg":"R/8a","./money.svg":"MEYL","./nested.svg":"3PhE","./password.svg":"Kj24","./pdf.svg":"+aF5","./people.svg":"0Fbn","./peoples.svg":"LxGF","./qq.svg":"FDDl","./safelock.svg":"LCM+","./search.svg":"jo2x","./shopping.svg":"EqXK","./size.svg":"hkRB","./skill.svg":"CW6W","./star.svg":"cIpu","./tab.svg":"j7e1","./table.svg":"R/Hx","./theme.svg":"5TQQ","./tree-table.svg":"58g5","./tree.svg":"k80C","./user.svg":"s7Vf","./wechat.svg":"gNoN","./zip.svg":"iqZD"};function i(t){var e=o(t);return n(e)}function o(t){var e=a[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}i.keys=function(){return Object.keys(a)},i.resolve=o,t.exports=i,i.id="Uf/o"},"VtY+":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},Vtdi:function(t,e,n){"use strict";n.r(e);var a=n("Kw5r"),i=(n("9d8Q"),n("XJYT")),o=n.n(i),c=(n("D66Q"),n("sg+I"),{name:"App"}),s=n("KHd+"),l=Object(s.a)(c,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},[],!1,null,null,null);l.options.__file="App.vue";var r=l.exports,u=n("jE9Z"),d=n("QbLZ"),h=n.n(d),v=n("L2JU"),m=n("vRGJ"),w=n.n(m),p={data:function(){return{levelList:null}},watch:{$route:function(){this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var t=this.$route.matched.filter(function(t){if(t.name)return!0}),e=t[0];e&&"dashboard"!==e.name&&(t=[{path:"/dashboard",meta:{title:"REC-规则引擎"}}].concat(t)),this.levelList=t},pathCompile:function(t){var e=this.$route.params;return w.a.compile(t)(e)},handleLink:function(t){var e=t.redirect,n=t.path;e?this.$router.push(e):this.$router.push(this.pathCompile(n))}}},g=(n("pzo4"),Object(s.a)(p,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},t._l(t.levelList,function(e,a){return e.meta.title?n("el-breadcrumb-item",{key:e.path},["noredirect"===e.redirect||a==t.levelList.length-1?n("span",{staticClass:"no-redirect"},[t._v(t._s(e.meta.title))]):n("a",{on:{click:function(n){n.preventDefault(),t.handleLink(e)}}},[t._v(t._s(e.meta.title))])]):t._e()}))],1)},[],!1,null,"fde0b23a",null));g.options.__file="index.vue";var f=g.exports,b={name:"Hamburger",props:{isActive:{type:Boolean,default:!1},toggleClick:{type:Function,default:null}}},x=(n("hVtZ"),Object(s.a)(b,function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("svg",{staticClass:"hamburger",class:{"is-active":this.isActive},attrs:{t:"1492500959545",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1691","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"64",height:"64"},on:{click:this.toggleClick}},[e("path",{attrs:{d:"M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z","p-id":"1692"}}),this._v(" "),e("path",{attrs:{d:"M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z","p-id":"1693"}}),this._v(" "),e("path",{attrs:{d:"M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z","p-id":"1694"}})])])},[],!1,null,"1b00fab3",null));x.options.__file="index.vue";var z={components:{Breadcrumb:f,Hamburger:x.exports},computed:h()({},Object(v.b)(["sidebar","avatar"])),methods:{toggleSideBar:function(){this.$store.dispatch("ToggleSideBar")},logout:function(){this.$store.dispatch("LogOut").then(function(){location.reload()})}}},B=(n("1lDy"),Object(s.a)(z,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-menu",{staticClass:"navbar",attrs:{mode:"horizontal"}},[n("hamburger",{staticClass:"hamburger-container",attrs:{"toggle-click":t.toggleSideBar,"is-active":t.sidebar.opened}}),t._v(" "),n("breadcrumb"),t._v(" "),n("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:t.avatar}}),t._v(" "),n("i",{staticClass:"el-icon-caret-bottom"})]),t._v(" "),n("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{staticClass:"inlineBlock",attrs:{to:"/"}},[n("el-dropdown-item",[t._v("\n Home\n ")])],1),t._v(" "),n("el-dropdown-item",{attrs:{divided:""}},[n("span",{staticStyle:{display:"block"},on:{click:t.logout}},[t._v("LogOut")])])],1)],1)],1)},[],!1,null,"0fee057c",null));B.options.__file="Navbar.vue";var y=B.exports,M=n("33yf"),V=n.n(M);n("EJiy");function H(t){return/^(https?:|mailto:|tel:)/.test(t)}var C={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(t,e){var n=e.props,a=n.icon,i=n.title,o=[];return a&&o.push(t("svg-icon",{attrs:{"icon-class":a}})),i&&o.push(t("span",{slot:"title"},[i])),o}},L=Object(s.a)(C,void 0,void 0,!1,null,null,null);L.options.__file="Item.vue";var k=L.exports,_={props:{to:{type:String,required:!0}},methods:{isExternalLink:function(t){return H(t)},linkProps:function(t){return this.isExternalLink(t)?{is:"a",href:t,target:"_blank",rel:"noopener"}:{is:"router-link",to:t}}}},I=Object(s.a)(_,function(){var t=this.$createElement;return(this._self._c||t)("component",this._b({},"component",this.linkProps(this.to),!1),[this._t("default")],2)},[],!1,null,null,null);I.options.__file="Link.vue";var F={name:"SidebarItem",components:{Item:k,AppLink:I.exports},props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return{onlyOneChild:null}},methods:{hasOneShowingChild:function(t,e){var n=this,a=t.filter(function(t){return!t.hidden&&(n.onlyOneChild=t,!0)});return 1===a.length||0===a.length&&(this.onlyOneChild=h()({},e,{path:"",noShowingChildren:!0}),!0)},resolvePath:function(t){return this.isExternalLink(t)?t:V.a.resolve(this.basePath,t)},isExternalLink:function(t){return H(t)}}},E=Object(s.a)(F,function(){var t=this,e=t.$createElement,n=t._self._c||e;return!t.item.hidden&&t.item.children?n("div",{staticClass:"menu-wrapper"},[!t.hasOneShowingChild(t.item.children,t.item)||t.onlyOneChild.children&&!t.onlyOneChild.noShowingChildren||t.item.alwaysShow?n("el-submenu",{attrs:{index:t.resolvePath(t.item.path)}},[n("template",{slot:"title"},[t.item.meta?n("item",{attrs:{icon:t.item.meta.icon,title:t.item.meta.title}}):t._e()],1),t._v(" "),t._l(t.item.children,function(e){return e.hidden?t._e():[e.children&&e.children.length>0?n("sidebar-item",{key:e.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:e,"base-path":t.resolvePath(e.path)}}):n("app-link",{key:e.name,attrs:{to:t.resolvePath(e.path)}},[n("el-menu-item",{attrs:{index:t.resolvePath(e.path)}},[e.meta?n("item",{attrs:{icon:e.meta.icon,title:e.meta.title}}):t._e()],1)],1)]})],2):[n("app-link",{attrs:{to:t.resolvePath(t.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!t.isNest},attrs:{index:t.resolvePath(t.onlyOneChild.path)}},[t.onlyOneChild.meta?n("item",{attrs:{icon:t.onlyOneChild.meta.icon||t.item.meta.icon,title:t.onlyOneChild.meta.title}}):t._e()],1)],1)]],2):t._e()},[],!1,null,null,null);E.options.__file="SidebarItem.vue";var O={components:{SidebarItem:E.exports},computed:h()({},Object(v.b)(["sidebar"]),{routes:function(){return this.$router.options.routes},isCollapse:function(){return!this.sidebar.opened}})},S=Object(s.a)(O,function(){var t=this.$createElement,e=this._self._c||t;return e("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[e("el-menu",{attrs:{"show-timeout":200,"default-active":this.$route.path,collapse:this.isCollapse,mode:"vertical","background-color":"#304156","text-color":"#bfcbd9","active-text-color":"#409EFF"}},this._l(this.routes,function(t){return e("sidebar-item",{key:t.path,attrs:{item:t,"base-path":t.path}})}))],1)},[],!1,null,null,null);S.options.__file="index.vue";var Y=S.exports,T={name:"AppMain",computed:{}},A=(n("xOwI"),Object(s.a)(T,function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"app-main"},[e("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[e("router-view")],1)],1)},[],!1,null,"f3fabffe",null));A.options.__file="AppMain.vue";var D=A.exports,j=n("p46w"),q=n.n(j),N={state:{sidebar:{opened:!+q.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},mutations:{TOGGLE_SIDEBAR:function(t){t.sidebar.opened?q.a.set("sidebarStatus",1):q.a.set("sidebarStatus",0),t.sidebar.opened=!t.sidebar.opened,t.sidebar.withoutAnimation=!1},CLOSE_SIDEBAR:function(t,e){q.a.set("sidebarStatus",1),t.sidebar.opened=!1,t.sidebar.withoutAnimation=e},TOGGLE_DEVICE:function(t,e){t.device=e}},actions:{ToggleSideBar:function(t){(0,t.commit)("TOGGLE_SIDEBAR")},CloseSideBar:function(t,e){(0,t.commit)("CLOSE_SIDEBAR",e.withoutAnimation)},ToggleDevice:function(t,e){(0,t.commit)("TOGGLE_DEVICE",e)}}},$=n("4d7F"),R=n.n($),Z=n("vDqi"),G="Admin-Token";function P(){return q.a.get(G)}function Q(){return q.a.remove(G)}var J=n.n(Z).a.create({baseURL:"http://localhost:9999",timeout:5e3});J.interceptors.request.use(function(t){return W.getters.token&&(t.headers["X-Token"]=P()),t},function(t){console.log(t),R.a.reject(t)}),J.interceptors.response.use(function(t){var e=t.data;return 200!==e.code?(Object(i.Message)({message:e.message,type:"error",duration:5e3}),50008!==e.code&&50012!==e.code&&50014!==e.code||i.MessageBox.confirm("你已被登出,可以取消继续留在该页面,或者重新登录","确定登出",{confirmButtonText:"重新登录",cancelButtonText:"取消",type:"warning"}).then(function(){W.dispatch("FedLogOut").then(function(){location.reload()})}),R.a.reject("error")):t.data},function(t){return console.log("err"+t),Object(i.Message)({message:t.message,type:"error",duration:5e3}),R.a.reject(t)});var K=J;var U={state:{token:P(),name:"",avatar:"",roles:[]},mutations:{SET_TOKEN:function(t,e){t.token=e},SET_NAME:function(t,e){t.name=e},SET_AVATAR:function(t,e){t.avatar=e},SET_ROLES:function(t,e){t.roles=e}},actions:{Login:function(t,e){var n=t.commit,a=e.username.trim();return new R.a(function(t,i){(function(t,e){return K({url:"/rec/user/login",method:"post",data:{username:t,password:e}})})(a,e.password).then(function(e){var a=e.data;console.log("response.data:"),console.log(a),function(t){q.a.set(G,t)}(a.token),n("SET_TOKEN",a.token),t()}).catch(function(t){i(t)})})},GetInfo:function(t){var e=t.commit,n=t.state;return new R.a(function(t,a){(function(t){return K({url:"/rec/user/info/"+t,method:"get"})})(n.token).then(function(n){var i=n.data;i.roles&&i.roles.length>0?e("SET_ROLES",i.roles):a("getInfo: roles must be a non-null array !"),e("SET_NAME",i.name),e("SET_AVATAR",i.avatar),t(n)}).catch(function(t){a(t)})})},LogOut:function(t){var e=t.commit,n=t.state;return new R.a(function(t,a){(n.token,K({url:"/rec/user/logout",method:"post"})).then(function(){e("SET_TOKEN",""),e("SET_ROLES",[]),Q(),t()}).catch(function(t){a(t)})})},FedLogOut:function(t){var e=t.commit;return new R.a(function(t){e("SET_TOKEN",""),Q(),t()})}}},X={sidebar:function(t){return t.app.sidebar},device:function(t){return t.app.device},token:function(t){return t.user.token},avatar:function(t){return t.user.avatar},name:function(t){return t.user.name},roles:function(t){return t.user.roles}};a.default.use(v.a);var W=new v.a.Store({modules:{app:N,user:U},getters:X}),tt=document.body,et={name:"Layout",components:{Navbar:y,Sidebar:Y,AppMain:D},mixins:[{watch:{$route:function(t){"mobile"===this.device&&this.sidebar.opened&&W.dispatch("CloseSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.resizeHandler)},mounted:function(){this.isMobile()&&(W.dispatch("ToggleDevice","mobile"),W.dispatch("CloseSideBar",{withoutAnimation:!0}))},methods:{isMobile:function(){return tt.getBoundingClientRect().width-3<1024},resizeHandler:function(){if(!document.hidden){var t=this.isMobile();W.dispatch("ToggleDevice",t?"mobile":"desktop"),t&&W.dispatch("CloseSideBar",{withoutAnimation:!0})}}}}],computed:{sidebar:function(){return this.$store.state.app.sidebar},device:function(){return this.$store.state.app.device},classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}},methods:{handleClickOutside:function(){this.$store.dispatch("CloseSideBar",{withoutAnimation:!1})}}},nt=(n("3LAI"),Object(s.a)(et,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-wrapper",class:t.classObj},["mobile"===t.device&&t.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:t.handleClickOutside}}):t._e(),t._v(" "),n("sidebar",{staticClass:"sidebar-container"}),t._v(" "),n("div",{staticClass:"main-container"},[n("navbar"),t._v(" "),n("app-main")],1)],1)},[],!1,null,"6ec8cb25",null));nt.options.__file="Layout.vue";var at=nt.exports;a.default.use(u.a);var it=[{path:"/login",component:function(){return n.e("chunk-676f").then(n.bind(null,"ntYl"))},hidden:!0},{path:"/404",component:function(){return n.e("chunk-15af").then(n.bind(null,"jNvO"))},hidden:!0},{path:"/",component:at,redirect:"/dashboard",name:"Dashboard",hidden:!1,children:[{path:"dashboard",component:function(){return n.e("chunk-0cc9").then(n.bind(null,"lAbF"))}}]},{path:"/dashboard",component:at,redirect:"/dashboard/newIgms",meta:{title:"REC-规则引擎",icon:"dashboard"},children:[]},{path:"/ruleConfig",component:at,meta:{title:"规则配置",icon:"dashboard"},children:[{path:"domain",name:"domain",component:function(){return n.e("Dj8Q").then(n.bind(null,"Dj8Q"))},meta:{title:"域配置",icon:"clipboard"}},{path:"metadata",name:"metadata",component:function(){return n.e("btnZ").then(n.bind(null,"btnZ"))},meta:{title:"元数据配置",icon:"clipboard"}}]},{path:"/recLogs",component:at,meta:{title:"执行日志",icon:"tab"},children:[{path:"log",name:"log",component:function(){return n.e("QXbw").then(n.bind(null,"QXbw"))},meta:{title:"执行日志",icon:"clipboard"}}]},{path:"*",redirect:"/404",hidden:!0}],ot=new u.a({scrollBehavior:function(){return{y:0}},routes:it}),ct={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-"+this.iconClass},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},st=(n("LyEU"),Object(s.a)(ct,function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{class:this.svgClass,attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":this.iconName}})])},[],!1,null,"2f0f1ae2",null));st.options.__file="index.vue";var lt=st.exports;a.default.component("svg-icon",lt);!function(t){t.keys().map(t)}(n("Uf/o"));var rt=n("Mj6V"),ut=n.n(rt),dt=(n("pdi6"),["/login"]);ot.beforeEach(function(t,e,n){ut.a.start(),P()?"/login"===t.path?(n({path:"/"}),ut.a.done()):0===W.getters.roles.length?W.dispatch("GetInfo").then(function(t){n()}).catch(function(t){W.dispatch("FedLogOut").then(function(){i.Message.error(t||"Verification failed, please login again"),n({path:"/"})})}):n():(console.log(dt.indexOf(t.path)),-1!==dt.indexOf(t.path)?n():(n("/login?redirect="+t.path),ut.a.done()))}),ot.afterEach(function(){ut.a.done()}),a.default.use(o.a),a.default.config.productionTip=!1,new a.default({el:"#app",router:ot,store:W,render:function(t){return t(r)}})},ZZmv:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},ZoO1:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},cIpu:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},gNoN:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});c.a.add(s);e.default=s},hVtZ:function(t,e,n){"use strict";var a=n("BkLX");n.n(a).a},hkRB:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},iqZD:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},j7e1:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},jo2x:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},k80C:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},kPu2:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},"m7++":function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},m821:function(t,e,n){},mSHS:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},nZHn:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},oUrx:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},pzo4:function(t,e,n){"use strict";var a=n("99Dq");n.n(a).a},qkZ8:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},qwAt:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},rRz7:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},s7Vf:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});c.a.add(s);e.default=s},"sg+I":function(t,e,n){},vDVG:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s},xOwI:function(t,e,n){"use strict";var a=n("S0If");n.n(a).a},y02K:function(t,e,n){},y7eQ:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});c.a.add(s);e.default=s},yCkv:function(t,e,n){"use strict";n.r(e);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);e.default=s}},[["Vtdi","runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.fa969742.js b/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.fa969742.js deleted file mode 100644 index 457cac3bd2781660a1cb1b0a0f252b270568aa56..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/js/app.fa969742.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{"+aF5":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);t.default=s},"0Fbn":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},"1+ww":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);t.default=s},"1lDy":function(e,t,n){"use strict";var a=n("DCsu");n.n(a).a},"28eg":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},"3LAI":function(e,t,n){"use strict";var a=n("y02K");n.n(a).a},"3PhE":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},"58g5":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tree-table",use:"icon-tree-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},"5TQQ":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},"6xvN":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},"94Jb":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});c.a.add(s);t.default=s},"99Dq":function(e,t,n){},BkLX:function(e,t,n){},CW6W:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-skill",use:"icon-skill-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},DCsu:function(e,t,n){},EqXK:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},F3lI:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},"F9+T":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},FDDl:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},GPBF:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},JYDz:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},Kj24:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},"LCM+":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-safelock",use:"icon-safelock-usage",viewBox:"0 0 1024 1024",content:''});c.a.add(s);t.default=s},LxGF:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},LyEU:function(e,t,n){"use strict";var a=n("m821");n.n(a).a},MEYL:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},MMMJ:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},MokB:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},"R/8a":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},"R/Hx":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},S0If:function(e,t,n){},TfVu:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});c.a.add(s);t.default=s},"Uf/o":function(e,t,n){var a={"./404.svg":"oUrx","./bug.svg":"F3lI","./chart.svg":"yCkv","./clipboard.svg":"vDVG","./component.svg":"VtY+","./dashboard.svg":"94Jb","./documentation.svg":"kPu2","./drag.svg":"m7++","./edit.svg":"qkZ8","./education.svg":"rRz7","./email.svg":"y7eQ","./example.svg":"MMMJ","./excel.svg":"ZZmv","./exit-fullscreen.svg":"28eg","./eye-open.svg":"1+ww","./eye.svg":"TfVu","./form.svg":"6xvN","./fullscreen.svg":"mSHS","./guide.svg":"ZoO1","./icon.svg":"nZHn","./international.svg":"F9+T","./language.svg":"JYDz","./link.svg":"GPBF","./list.svg":"MokB","./lock.svg":"qwAt","./message.svg":"R/8a","./money.svg":"MEYL","./nested.svg":"3PhE","./password.svg":"Kj24","./pdf.svg":"+aF5","./people.svg":"0Fbn","./peoples.svg":"LxGF","./qq.svg":"FDDl","./safelock.svg":"LCM+","./search.svg":"jo2x","./shopping.svg":"EqXK","./size.svg":"hkRB","./skill.svg":"CW6W","./star.svg":"cIpu","./tab.svg":"j7e1","./table.svg":"R/Hx","./theme.svg":"5TQQ","./tree-table.svg":"58g5","./tree.svg":"k80C","./user.svg":"s7Vf","./wechat.svg":"gNoN","./zip.svg":"iqZD"};function i(e){var t=o(e);return n(t)}function o(e){var t=a[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}i.keys=function(){return Object.keys(a)},i.resolve=o,e.exports=i,i.id="Uf/o"},"VtY+":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},Vtdi:function(e,t,n){"use strict";n.r(t);var a=n("Kw5r"),i=(n("9d8Q"),n("XJYT")),o=n.n(i),c=(n("D66Q"),n("sg+I"),{name:"App"}),s=n("KHd+"),l=Object(s.a)(c,function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},[],!1,null,null,null);l.options.__file="App.vue";var r=l.exports,u=n("jE9Z"),d=n("QbLZ"),h=n.n(d),v=n("L2JU"),m=n("vRGJ"),w=n.n(m),p={data:function(){return{levelList:null}},watch:{$route:function(){this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter(function(e){if(e.name)return!0}),t=e[0];t&&"dashboard"!==t.name&&(e=[{path:"/dashboard",meta:{title:"REC-规则引擎"}}].concat(e)),this.levelList=e},pathCompile:function(e){var t=this.$route.params;return w.a.compile(e)(t)},handleLink:function(e){var t=e.redirect,n=e.path;t?this.$router.push(t):this.$router.push(this.pathCompile(n))}}},g=(n("pzo4"),Object(s.a)(p,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,a){return t.meta.title?n("el-breadcrumb-item",{key:t.path},["noredirect"===t.redirect||a==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("a",{on:{click:function(n){n.preventDefault(),e.handleLink(t)}}},[e._v(e._s(t.meta.title))])]):e._e()}))],1)},[],!1,null,"fde0b23a",null));g.options.__file="index.vue";var f=g.exports,b={name:"Hamburger",props:{isActive:{type:Boolean,default:!1},toggleClick:{type:Function,default:null}}},z=(n("hVtZ"),Object(s.a)(b,function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("svg",{staticClass:"hamburger",class:{"is-active":this.isActive},attrs:{t:"1492500959545",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1691","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"64",height:"64"},on:{click:this.toggleClick}},[t("path",{attrs:{d:"M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z","p-id":"1692"}}),this._v(" "),t("path",{attrs:{d:"M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z","p-id":"1693"}}),this._v(" "),t("path",{attrs:{d:"M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z","p-id":"1694"}})])])},[],!1,null,"1b00fab3",null));z.options.__file="index.vue";var x={components:{Breadcrumb:f,Hamburger:z.exports},computed:h()({},Object(v.b)(["sidebar","avatar"])),methods:{toggleSideBar:function(){this.$store.dispatch("ToggleSideBar")},logout:function(){this.$store.dispatch("LogOut").then(function(){location.reload()})}}},B=(n("1lDy"),Object(s.a)(x,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-menu",{staticClass:"navbar",attrs:{mode:"horizontal"}},[n("hamburger",{staticClass:"hamburger-container",attrs:{"toggle-click":e.toggleSideBar,"is-active":e.sidebar.opened}}),e._v(" "),n("breadcrumb"),e._v(" "),n("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:e.avatar}}),e._v(" "),n("i",{staticClass:"el-icon-caret-bottom"})]),e._v(" "),n("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{staticClass:"inlineBlock",attrs:{to:"/"}},[n("el-dropdown-item",[e._v("\n Home\n ")])],1),e._v(" "),n("el-dropdown-item",{attrs:{divided:""}},[n("span",{staticStyle:{display:"block"},on:{click:e.logout}},[e._v("LogOut")])])],1)],1)],1)},[],!1,null,"0fee057c",null));B.options.__file="Navbar.vue";var y=B.exports,M=n("33yf"),V=n.n(M);n("EJiy");function H(e){return/^(https?:|mailto:|tel:)/.test(e)}var C={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,a=n.icon,i=n.title,o=[];return a&&o.push(e("svg-icon",{attrs:{"icon-class":a}})),i&&o.push(e("span",{slot:"title"},[i])),o}},k=Object(s.a)(C,void 0,void 0,!1,null,null,null);k.options.__file="Item.vue";var L=k.exports,_={props:{to:{type:String,required:!0}},methods:{isExternalLink:function(e){return H(e)},linkProps:function(e){return this.isExternalLink(e)?{is:"a",href:e,target:"_blank",rel:"noopener"}:{is:"router-link",to:e}}}},I=Object(s.a)(_,function(){var e=this.$createElement;return(this._self._c||e)("component",this._b({},"component",this.linkProps(this.to),!1),[this._t("default")],2)},[],!1,null,null,null);I.options.__file="Link.vue";var F={name:"SidebarItem",components:{Item:L,AppLink:I.exports},props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return{onlyOneChild:null}},methods:{hasOneShowingChild:function(e,t){var n=this,a=e.filter(function(e){return!e.hidden&&(n.onlyOneChild=e,!0)});return 1===a.length||0===a.length&&(this.onlyOneChild=h()({},t,{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e){return this.isExternalLink(e)?e:V.a.resolve(this.basePath,e)},isExternalLink:function(e){return H(e)}}},E=Object(s.a)(F,function(){var e=this,t=e.$createElement,n=e._self._c||t;return!e.item.hidden&&e.item.children?n("div",{staticClass:"menu-wrapper"},[!e.hasOneShowingChild(e.item.children,e.item)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?n("el-submenu",{attrs:{index:e.resolvePath(e.item.path)}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta.icon,title:e.item.meta.title}}):e._e()],1),e._v(" "),e._l(e.item.children,function(t){return t.hidden?e._e():[t.children&&t.children.length>0?n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}}):n("app-link",{key:t.name,attrs:{to:e.resolvePath(t.path)}},[n("el-menu-item",{attrs:{index:e.resolvePath(t.path)}},[t.meta?n("item",{attrs:{icon:t.meta.icon,title:t.meta.title}}):e._e()],1)],1)]})],2):[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)}},[e.onlyOneChild.meta?n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta.icon,title:e.onlyOneChild.meta.title}}):e._e()],1)],1)]],2):e._e()},[],!1,null,null,null);E.options.__file="SidebarItem.vue";var O={components:{SidebarItem:E.exports},computed:h()({},Object(v.b)(["sidebar"]),{routes:function(){return this.$router.options.routes},isCollapse:function(){return!this.sidebar.opened}})},S=Object(s.a)(O,function(){var e=this.$createElement,t=this._self._c||e;return t("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[t("el-menu",{attrs:{"show-timeout":200,"default-active":this.$route.path,collapse:this.isCollapse,mode:"vertical","background-color":"#304156","text-color":"#bfcbd9","active-text-color":"#409EFF"}},this._l(this.routes,function(e){return t("sidebar-item",{key:e.path,attrs:{item:e,"base-path":e.path}})}))],1)},[],!1,null,null,null);S.options.__file="index.vue";var Y=S.exports,T={name:"AppMain",computed:{}},A=(n("xOwI"),Object(s.a)(T,function(){var e=this.$createElement,t=this._self._c||e;return t("section",{staticClass:"app-main"},[t("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[t("router-view")],1)],1)},[],!1,null,"f3fabffe",null));A.options.__file="AppMain.vue";var q=A.exports,D=n("p46w"),j=n.n(D),P={state:{sidebar:{opened:!+j.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},mutations:{TOGGLE_SIDEBAR:function(e){e.sidebar.opened?j.a.set("sidebarStatus",1):j.a.set("sidebarStatus",0),e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1},CLOSE_SIDEBAR:function(e,t){j.a.set("sidebarStatus",1),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t}},actions:{ToggleSideBar:function(e){(0,e.commit)("TOGGLE_SIDEBAR")},CloseSideBar:function(e,t){(0,e.commit)("CLOSE_SIDEBAR",t.withoutAnimation)},ToggleDevice:function(e,t){(0,e.commit)("TOGGLE_DEVICE",t)}}},N=n("4d7F"),R=n.n(N),$=n("vDqi"),G="Admin-Token";function Z(){return j.a.get(G)}function U(){return j.a.remove(G)}var J=n.n($).a.create({baseURL:"http://localhost:9999",timeout:5e3});J.interceptors.request.use(function(e){return X.getters.token&&(e.headers["X-Token"]=Z()),e},function(e){console.log(e),R.a.reject(e)}),J.interceptors.response.use(function(e){var t=e.data;return 200!==t.code?(Object(i.Message)({message:t.message,type:"error",duration:5e3}),50008!==t.code&&50012!==t.code&&50014!==t.code||i.MessageBox.confirm("你已被登出,可以取消继续留在该页面,或者重新登录","确定登出",{confirmButtonText:"重新登录",cancelButtonText:"取消",type:"warning"}).then(function(){X.dispatch("FedLogOut").then(function(){location.reload()})}),R.a.reject("error")):e.data},function(e){return console.log("err"+e),Object(i.Message)({message:e.message,type:"error",duration:5e3}),R.a.reject(e)});var K=J;var Q={state:{token:Z(),name:"",avatar:"",roles:[]},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}},actions:{Login:function(e,t){var n=e.commit,a=t.username.trim();return new R.a(function(e,i){(function(e,t){return K({url:"/rec/user/login",method:"post",data:{username:e,password:t}})})(a,t.password).then(function(t){var a=t.data;console.log("response.data:"),console.log(a),function(e){j.a.set(G,e)}(a.token),n("SET_TOKEN",a.token),e()}).catch(function(e){i(e)})})},GetInfo:function(e){var t=e.commit,n=e.state;return new R.a(function(e,a){(function(e){return K({url:"/rec/user/info/"+e,method:"get"})})(n.token).then(function(n){var i=n.data;i.roles&&i.roles.length>0?t("SET_ROLES",i.roles):a("getInfo: roles must be a non-null array !"),t("SET_NAME",i.name),t("SET_AVATAR",i.avatar),e(n)}).catch(function(e){a(e)})})},LogOut:function(e){var t=e.commit,n=e.state;return new R.a(function(e,a){(n.token,K({url:"/rec/user/logout",method:"post"})).then(function(){t("SET_TOKEN",""),t("SET_ROLES",[]),U(),e()}).catch(function(e){a(e)})})},FedLogOut:function(e){var t=e.commit;return new R.a(function(e){t("SET_TOKEN",""),U(),e()})}}},W={sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.name},roles:function(e){return e.user.roles}};a.default.use(v.a);var X=new v.a.Store({modules:{app:P,user:Q},getters:W}),ee=document.body,te={name:"Layout",components:{Navbar:y,Sidebar:Y,AppMain:q},mixins:[{watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&X.dispatch("CloseSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.resizeHandler)},mounted:function(){this.isMobile()&&(X.dispatch("ToggleDevice","mobile"),X.dispatch("CloseSideBar",{withoutAnimation:!0}))},methods:{isMobile:function(){return ee.getBoundingClientRect().width-3<1024},resizeHandler:function(){if(!document.hidden){var e=this.isMobile();X.dispatch("ToggleDevice",e?"mobile":"desktop"),e&&X.dispatch("CloseSideBar",{withoutAnimation:!0})}}}}],computed:{sidebar:function(){return this.$store.state.app.sidebar},device:function(){return this.$store.state.app.device},classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}},methods:{handleClickOutside:function(){this.$store.dispatch("CloseSideBar",{withoutAnimation:!1})}}},ne=(n("3LAI"),Object(s.a)(te,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper",class:e.classObj},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),e._v(" "),n("sidebar",{staticClass:"sidebar-container"}),e._v(" "),n("div",{staticClass:"main-container"},[n("navbar"),e._v(" "),n("app-main")],1)],1)},[],!1,null,"6ec8cb25",null));ne.options.__file="Layout.vue";var ae=ne.exports;a.default.use(u.a);var ie=[{path:"/login",component:function(){return n.e("chunk-36ce").then(n.bind(null,"ntYl"))},hidden:!0},{path:"/404",component:function(){return n.e("chunk-1763").then(n.bind(null,"jNvO"))},hidden:!0},{path:"/",component:ae,redirect:"/dashboard",name:"Dashboard",hidden:!0,children:[{path:"dashboard",component:function(){return n.e("chunk-6145").then(n.bind(null,"lAbF"))}}]},{path:"/dashboard",component:ae,redirect:"/dashboard/newIgms",meta:{title:"REC-规则引擎",icon:"dashboard"},children:[{path:"newIgms",name:"newIgms",component:function(){return n.e("chunk-0fc5").then(n.bind(null,"V2AC"))},meta:{title:"理想图编辑",icon:"lock"}},{path:"/Ig",name:"Lg",hidden:!0,component:function(){return Promise.all([n.e("chunk-8040"),n.e("chunk-24ab"),n.e("chunk-4a9a")]).then(n.bind(null,"fsSW"))},meta:{title:"理想图详情(如果注释未出现,刷新下页面)",noCache:!0}}]},{path:"/trainmsviews",component:ae,meta:{title:"火车票理想图",icon:"dashboard"},children:[{path:"view01",name:"view01",component:function(){return Promise.all([n.e("chunk-8040"),n.e("chunk-1783")]).then(n.bind(null,"n7vR"))},meta:{title:"普通订单",icon:"clipboard"}},{path:"view02",name:"view02",component:function(){return Promise.all([n.e("chunk-8040"),n.e("chunk-90c1")]).then(n.bind(null,"EziA"))},meta:{title:"普通抢票",icon:"clipboard"}},{path:"view03",name:"view03",component:function(){return Promise.all([n.e("chunk-8040"),n.e("chunk-b0c5")]).then(n.bind(null,"7bsI"))},meta:{title:"保底抢票",icon:"clipboard"}},{path:"view04",name:"view04",component:function(){return Promise.all([n.e("chunk-8040"),n.e("chunk-0006")]).then(n.bind(null,"m2Bd"))},meta:{title:"改签抢票",icon:"clipboard"}},{path:"view05",name:"view05",component:function(){return Promise.all([n.e("chunk-8040"),n.e("chunk-328b")]).then(n.bind(null,"EWL1"))},meta:{title:"抢票预下单",icon:"clipboard"}},{path:"view06",name:"view06",component:function(){return Promise.all([n.e("chunk-8040"),n.e("chunk-789a")]).then(n.bind(null,"F40O"))},meta:{title:"普通票预下单",icon:"clipboard"}}]},{path:"/flightmsviews",component:ae,meta:{title:"机票理想图",icon:"tab"},children:[{path:"view01",name:"view01",component:function(){return Promise.all([n.e("chunk-8040"),n.e("chunk-121a")]).then(n.bind(null,"zUsm"))},meta:{title:"国际机票",icon:"clipboard"}},{path:"view02",name:"view02",component:function(){return Promise.all([n.e("chunk-8040"),n.e("chunk-71a5")]).then(n.bind(null,"IRzl"))},meta:{title:"国内机票",icon:"clipboard"}}]},{path:"*",redirect:"/404",hidden:!0}],oe=new u.a({scrollBehavior:function(){return{y:0}},routes:ie}),ce={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-"+this.iconClass},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},se=(n("LyEU"),Object(s.a)(ce,function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{class:this.svgClass,attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":this.iconName}})])},[],!1,null,"2f0f1ae2",null));se.options.__file="index.vue";var le=se.exports;a.default.component("svg-icon",le);!function(e){e.keys().map(e)}(n("Uf/o"));var re=n("Mj6V"),ue=n.n(re),de=(n("pdi6"),["/login"]);oe.beforeEach(function(e,t,n){ue.a.start(),Z()?"/login"===e.path?(n({path:"/"}),ue.a.done()):0===X.getters.roles.length?X.dispatch("GetInfo").then(function(e){n()}).catch(function(e){X.dispatch("FedLogOut").then(function(){i.Message.error(e||"Verification failed, please login again"),n({path:"/"})})}):n():(console.log(de.indexOf(e.path)),-1!==de.indexOf(e.path)?n():(n("/login?redirect="+e.path),ue.a.done()))}),oe.afterEach(function(){ue.a.done()}),a.default.use(o.a),a.default.config.productionTip=!1,new a.default({el:"#app",router:oe,store:X,render:function(e){return e(r)}})},ZZmv:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},ZoO1:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},cIpu:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},gNoN:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});c.a.add(s);t.default=s},hVtZ:function(e,t,n){"use strict";var a=n("BkLX");n.n(a).a},hkRB:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},iqZD:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},j7e1:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},jo2x:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},k80C:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},kPu2:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},"m7++":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},m821:function(e,t,n){},mSHS:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},nZHn:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},oUrx:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},pzo4:function(e,t,n){"use strict";var a=n("99Dq");n.n(a).a},qkZ8:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},qwAt:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},rRz7:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-education",use:"icon-education-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},s7Vf:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});c.a.add(s);t.default=s},"sg+I":function(e,t,n){},vDVG:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s},xOwI:function(e,t,n){"use strict";var a=n("S0If");n.n(a).a},y02K:function(e,t,n){},y7eQ:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});c.a.add(s);t.default=s},yCkv:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),o=n("IaFt"),c=n.n(o),s=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});c.a.add(s);t.default=s}},[["Vtdi","runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/js/btnZ.15abdb58.js b/rec-admin/rec-admin-views/src/main/resources/static/static/js/btnZ.15abdb58.js deleted file mode 100644 index e463a00378a928b7fa22414439240c4afcee4758..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/js/btnZ.15abdb58.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["btnZ"],{btnZ:function(t,n,e){"use strict";e.r(n);var a={name:"metadata",filters:{},components:{},data:function(){return{}},created:function(){},mounted:function(){},methods:{}},o=e("KHd+"),i=Object(o.a)(a,function(){var t=this.$createElement;return(this._self._c||t)("div",[this._v("\n metadata\n")])},[],!1,null,null,null);i.options.__file="metadata.vue";n.default=i.exports}}]); \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/js/chunk-0006.cefe30e8.js b/rec-admin/rec-admin-views/src/main/resources/static/static/js/chunk-0006.cefe30e8.js deleted file mode 100644 index 53dd77e9f6437748716b5093da05128067164df9..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/js/chunk-0006.cefe30e8.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-0006"],{"5POr":function(module,__webpack_exports__,__webpack_require__){"use strict";var axios__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("vDqi"),axios__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_0__),_antv_g6__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("fD4D"),graph,tooltip=new _antv_g6__WEBPACK_IMPORTED_MODULE_1__.a.Tooltip({offsetX:10,offsetY:20,itemTypes:["node","edge"],getContent:function(e){var t=document.createElement("div");t.style.width="fit-content";var o=e.item.getModel(),n="";return n=o.remark&&null!=o.remark&&""!=o.remark.trim()?"注释:"+o.remark:"注释:暂无",t.innerHTML=n,t}});__webpack_exports__.a={name:"readView",props:["flowId"],filters:{},data:function(){return{bizOptions:[],flowManager:[],newGraphData:{modes:{default:["drag-canvas"]},plugins:[new _antv_g6__WEBPACK_IMPORTED_MODULE_1__.a.Minimap({size:[200,200]}),tooltip],container:"mountNode",width:window.screen.width,height:window.screen.height,defaultNode:{size:60,labelCfg:{style:{fill:"black"}}},defaultEdge:{labelCfg:{autoRotate:!0}}},data:{nodes:[],edges:[]}}},created:function(){var e=this;axios__WEBPACK_IMPORTED_MODULE_0___default.a.get("http://localhost:9999/igms/enums/biz",{}).then(function(t){return e.bizOptions=t.data.data.tv}),e.queryManager()},mounted:function(){this.queryInitData()},methods:{toEdit:function(){this.$router.push({path:"/Ig",query:{flowId:this.flowManager.flowId}})},enumFormat:function(e,t){for(var o=0;o0)for(var i=0;i0)for(var _i=0;_i0)for(var i=0;i0)for(var _i=0;_i0)for(var i=0;i0)for(var _i=0;_i5&&(this.saveData.scriptInfo.timeout=5)},httpTimeChange:function(){this.saveData.httpInfo.timeout<=0?this.saveData.httpInfo.timeout=1:this.saveData.httpInfo.timeout>5&&(this.saveData.httpInfo.timeout=5)},dataSourceTypeChange:function(){this.testPass=!1,this.debugResult=void 0}}},l=(r("ViHX"),r("KHd+")),p=Object(l.a)(i,function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-dialog",{attrs:{title:"数据源配置",visible:e.dialogVisible,"close-on-press-escape":!1,"close-on-click-modal":!1,width:"40%","before-close":e.clearForm},on:{"update:visible":function(t){e.dialogVisible=t}}},[r("el-form",{ref:"ruleForm",attrs:{"label-position":e.labelPosition,"label-width":"120px",model:e.saveData,rules:e.rules}},[r("el-form-item",{attrs:{label:"选择域",prop:"domainCode"}},[r("el-select",{attrs:{disabled:e.saveData.id&&""!==e.saveData.id,filterable:"",placeholder:"请选择域"},model:{value:e.saveData.domainCode,callback:function(t){e.$set(e.saveData,"domainCode",t)},expression:"saveData.domainCode"}},e._l(e.domainOptions,function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),r("el-form-item",{attrs:{label:"数据源名字",prop:"dataSourceName"}},[r("el-input",{attrs:{disabled:e.saveData.id&&""!==e.saveData.id},model:{value:e.saveData.dataSourceName,callback:function(t){e.$set(e.saveData,"dataSourceName",t)},expression:"saveData.dataSourceName"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"描述"}},[r("el-input",{model:{value:e.saveData.desc,callback:function(t){e.$set(e.saveData,"desc",t)},expression:"saveData.desc"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"数据源类型",prop:"dataSourceType"}},[r("el-select",{attrs:{filterable:"",placeholder:"请选择数据源类型"},on:{change:e.dataSourceTypeChange},model:{value:e.saveData.dataSourceType,callback:function(t){e.$set(e.saveData,"dataSourceType",t)},expression:"saveData.dataSourceType"}},e._l(e.dataSourceTypeOptions,function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),"SCRIPT"===e.saveData.dataSourceType?[r("el-form-item",{attrs:{label:"脚本类型",prop:"scriptInfo.scriptType"}},[r("el-select",{attrs:{filterable:"",placeholder:"请选择脚本类型"},model:{value:e.saveData.scriptInfo.scriptType,callback:function(t){e.$set(e.saveData.scriptInfo,"scriptType",t)},expression:"saveData.scriptInfo.scriptType"}},e._l(e.scriptTypeOptions,function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),r("el-form-item",{attrs:{label:"脚本内容",prop:"scriptInfo.scriptContent"}},[r("el-input",{attrs:{rows:10,type:"textarea",placeholder:"请输入脚本(脚本返回值必须为Map结构)"},model:{value:e.saveData.scriptInfo.scriptContent,callback:function(t){e.$set(e.saveData.scriptInfo,"scriptContent",t)},expression:"saveData.scriptInfo.scriptContent"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"执行超时时间",prop:"scriptInfo.timeout"}},[r("el-input",{attrs:{type:"number",min:"1",max:"5",placeholder:"脚本执行超时时间"},on:{change:e.scriptTimeChange},model:{value:e.saveData.scriptInfo.timeout,callback:function(t){e.$set(e.saveData.scriptInfo,"timeout",t)},expression:"saveData.scriptInfo.timeout"}})],1)]:e._e(),e._v(" "),"HTTP"===e.saveData.dataSourceType?[r("el-form-item",{attrs:{label:"请求地址",prop:"httpInfo.reqUrl"}},[r("el-input",{attrs:{type:"text",placeholder:"HTTP请求地址"},model:{value:e.saveData.httpInfo.reqUrl,callback:function(t){e.$set(e.saveData.httpInfo,"reqUrl",t)},expression:"saveData.httpInfo.reqUrl"}})],1),e._v(" "),r("el-form-item",{attrs:{label:"请求类型",prop:"httpInfo.httpRequestType"}},[r("el-select",{attrs:{filterable:"",placeholder:"请选择请求类型"},model:{value:e.saveData.httpInfo.httpRequestType,callback:function(t){e.$set(e.saveData.httpInfo,"httpRequestType",t)},expression:"saveData.httpInfo.httpRequestType"}},e._l(e.httpRequestTypeOptions,function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),"POST"===e.saveData.httpInfo.httpRequestType?r("el-form-item",{attrs:{label:"请求地址",prop:"httpInfo.reqParam"}},[r("el-input",{attrs:{type:"text",placeholder:"HTTP请求参数"},model:{value:e.saveData.httpInfo.reqParam,callback:function(t){e.$set(e.saveData.httpInfo,"reqParam",t)},expression:"saveData.httpInfo.reqParam"}})],1):e._e(),e._v(" "),r("el-form-item",{attrs:{label:"执行超时时间",prop:"scriptInfo.timeout"}},[r("el-input",{attrs:{type:"number",min:"1",max:"5",placeholder:"HTTP执行超时时间"},on:{change:e.httpTimeChange},model:{value:e.saveData.httpInfo.timeout,callback:function(t){e.$set(e.saveData.httpInfo,"timeout",t)},expression:"saveData.httpInfo.timeout"}})],1)]:e._e(),e._v(" "),e.debugResult?r("el-form-item",{attrs:{label:"测试结果"}},[r("div",{staticStyle:{"background-color":"black",color:"#FFD700","line-height":"20px!important"}},[r("span",[e._v("是否执行成功:"+e._s(e.debugResult.success))]),r("br"),e._v(" "),"SCRIPT"===e.saveData.dataSourceType?r("span",[r("span",[e._v("脚本类型:"+e._s(e.debugResult.scriptType)),r("br")])]):e._e(),e._v(" "),e.debugResult.success?r("span",[r("span",[e._v("实际执行结果:"+e._s(e.debugResult.realResult))]),r("br")]):e._e(),e._v(" "),e.debugResult.success?e._e():r("span",[e._v("执行异常:"+e._s(e.debugResult.exceptionMessage))])])]):e._e()],2),e._v(" "),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:e.clearForm}},[e._v("取 消")]),e._v(" "),"SCRIPT"===e.saveData.dataSourceType?r("el-button",{attrs:{type:"warning"},on:{click:e.debug}},[e._v("脚本测试")]):e._e(),e._v(" "),"HTTP"===e.saveData.dataSourceType?r("el-button",{attrs:{type:"warning"},on:{click:e.debug}},[e._v("HTTP测试")]):e._e(),e._v(" "),r("el-button",{attrs:{disabled:!e.testPass,type:"primary"},on:{click:e.save}},[e._v("确 定")])],1)],1)},[],!1,null,null,null);p.options.__file="dataSourceForm.vue";var d=p.exports,f=r("kF8c"),m=r("nvEF"),v={name:"dataSource",filters:{},components:{dataSourceForm:d,vuePage:f.a,vueLog:m.a},data:function(){return{queryForm:{domainCode:"",dataSourceName:""},dataSourceTypeOptions:[],pageResult:{data:[],paginator:{currentPage:0,totalCount:0,pageSize:10,totalPage:0}},logTargetId:void 0,domainOptions:[],scriptTypeOptions:[]}},created:function(){var e=this;return s()(n.a.mark(function t(){return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(u.g)();case 2:return e.domainOptions=t.sent,t.next=5,Object(u.m)();case 5:e.scriptTypeOptions=t.sent,e.query();case 7:case"end":return t.stop()}},t,e)}))()},mounted:function(){},methods:{query:function(){var e=this;return s()(n.a.mark(function t(){var r,a;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=e,t.next=3,Object(u.c)();case 3:return r.dataSourceTypeOptions=t.sent,t.next=6,Object(c.c)(r.queryForm,r.pageResult.paginator);case 6:(a=t.sent).ok?r.pageResult=a.data.queryPage:r.$message({type:"error",message:"查询失败:"+a.message});case 8:case"end":return t.stop()}},t,e)}))()},addNew:function(){this.$refs.dataSourceForm.load()},toEdit:function(e){this.$refs.dataSourceForm.load(e)},getDomainName:function(e){for(var t=0;t)",value:"GT"},{label:"大于等于(>=)",value:"GTE"},{label:"小于(<)",value:"LT"},{label:"小于等于(<=)",value:"LTE"},{label:"不等于(!=)",value:"NE"}],booleanValueOptions:[{label:"TRUE",value:"TRUE"},{label:"FALSE",value:"FALSE"}],dateOperators:[{label:"等于(=)",value:"EQ"},{label:"大于(>)",value:"GT"},{label:"大于等于(>=)",value:"GTE"},{label:"小于(<)",value:"LT"},{label:"小于等于(<=)",value:"LTE"},{label:"不等于(!=)",value:"NE"}],stringOperators:[{label:"等于(=)",value:"EQ"},{label:"不等于(!=)",value:"NE"},{label:"包含(⊇)",value:"CONTAIN"},{label:"不包含",value:"UN_CONTAIN"}],metadataOperators:[{label:"等于(=)",value:"EQ"},{label:"不等于(!=)",value:"NE"},{label:"包含(⊇)",value:"CONTAIN"},{label:"不包含",value:"UN_CONTAIN"},{label:"包含于(⊆或⊂)",value:"INCLUDED"}],emptyOptions:[],drawerOpen:!1,drawerData:{}}},created:function(){},mounted:function(){},methods:{needShowOr:function(e){return e.length>1},showFromStyle:function(e){if(0!==e)return"margin-top:10px"},canDeleteSelf:function(){return this.conditions.length>1||this.group.length>1},deleteSelf:function(e){this.group.splice(e,1);for(var t=0;t0?r("rule-tree-node",{attrs:{group:t.children,"rule-mode":e.ruleMode,"to-disabled":e.toDisabled,conditions:e.conditions,root:!1}}):e._e()],1)],1)}))],1),e._v(" "),r("el-drawer",{attrs:{"append-to-body":"",visible:e.drawerOpen,"with-header":!1},on:{"update:visible":function(t){e.drawerOpen=t}}},[r("el-form",{ref:"drawerData",staticStyle:{"margin-top":"20px"},attrs:{disabled:e.toDisabled,"label-width":"120px"}},[r("el-form-item",{staticClass:"drawer_from_item",attrs:{label:"规则名称"}},[r("el-input",{staticStyle:{width:"100px"},attrs:{disabled:e.toDisabled,placeholder:"规则名称"},model:{value:e.drawerData.name,callback:function(t){e.$set(e.drawerData,"name",t)},expression:"drawerData.name"}})],1),e._v(" "),r("el-form-item",{staticClass:"drawer_from_item",attrs:{label:"是否中断"}},[r("el-select",{staticClass:"drawer_from_item_inner",attrs:{disabled:e.toDisabled,filterable:"",placeholder:"是否中断"},model:{value:e.drawerData.interrupt,callback:function(t){e.$set(e.drawerData,"interrupt",t)},expression:"drawerData.interrupt"}},e._l(e.selectors.interruptOptions,function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),r("el-form-item",{staticClass:"drawer_from_item",attrs:{label:"中断返回类型"}},[r("el-select",{staticClass:"drawer_from_item_inner",attrs:{disabled:e.toDisabled,filterable:"",placeholder:"中断返回类型"},model:{value:e.drawerData.resultType,callback:function(t){e.$set(e.drawerData,"resultType",t)},expression:"drawerData.resultType"}},e._l(e.selectors.resultTypeOptions,function(e){return r("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})}))],1),e._v(" "),r("el-form-item",{staticClass:"drawer_from_item",attrs:{label:"中断返回值"}},[r("el-input",{staticClass:"drawer_from_item_inner",attrs:{disabled:e.toDisabled,placeholder:"中断返回值"},model:{value:e.drawerData.returnVal,callback:function(t){e.$set(e.drawerData,"returnVal",t)},expression:"drawerData.returnVal"}})],1)],1)],1)],1)},[],!1,null,null,null);g.options.__file="ruleTreeNode.vue";var _={name:"ruleTreeList",filters:{},props:[],components:{ruleTreeNode:g.exports},data:function(){return{showSelf:!1,ruleListInfo:{conditions:[{group:[{name:"",leftValue:"",operator:"",rightValue:"",interrupt:"",resultType:"",returnVal:"",children:[]}]}]},selectors:{leftOptions:[],operatorOptions:[],interruptOptions:[],resultTypeOptions:[],metadataOptions:[]},ruleMode:void 0,toDisabled:!0}},created:function(){},mounted:function(){},methods:{load:function(e){var t=this;return s()(n.a.mark(function r(){var a;return n.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:(a=t).toDisabled=""===e.data.domainCode,a.selectors=e.selectors,a.ruleListInfo=e.data.ruleListInfo,a.ruleMode=e.data.ruleMode,a.showSelf=!0;case 6:case"end":return r.stop()}},r,t)}))()},addNewRule:function(){this.ruleListInfo.conditions.push({group:[{name:"",leftValue:"",operator:"",rightValue:"",interrupt:"",resultType:"",returnVal:"",children:[]}]})}}},y=(r("lAwO"),Object(h.a)(_,function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[e.showSelf?r("div",[r("el-button",{attrs:{disabled:e.toDisabled,type:"success",size:"small"},on:{click:e.addNewRule}},[e._v("添加规则配置(或)")]),e._v(" "),e._l(e.ruleListInfo.conditions,function(t,a){return r("div",{key:a},[r("rule-tree-node",{staticStyle:{"text-align":"left"},attrs:{root:!0,group:t.group,"rule-mode":e.ruleMode,"to-disabled":e.toDisabled,conditions:e.ruleListInfo.conditions,selectors:e.selectors}}),e._v(" "),r("el-divider")],1)})],2):e._e()])},[],!1,null,"dbb07412",null));y.options.__file="ruleTreeList.vue";var x=y.exports,D=r("PLvv"),w={name:"strategyForm",filters:{},components:{ruleTreeList:x},data:function(){var e=this;return{labelPosition:"right",dialogVisible:!1,autoClear:!0,saveData:{domainCode:"",strategyName:"",sceneCode:"",dataSourceUuid:"",ruleType:"LIST",ruleMode:"SIMPLE",desc:"",ruleListInfo:{conditions:[{group:[{name:"",leftValue:"",operator:"",rightValue:"",interrupt:"",resultType:"",returnVal:"",children:[]}]}]},ruleTreeInfo:{conditions:[{group:[{name:"",leftValue:"",operator:"",rightValue:"",interrupt:"",resultType:"",returnVal:"",children:[]}]}]}},rules:{domainCode:[{required:!0,message:"此项必填",trigger:"change"}],strategyName:[{required:!0,message:"此项必填",trigger:"blur"},{validator:function(){var t=s()(n.a.mark(function t(r,a,o){return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.saveData.id&&o(),""===e.saveData.domainCode&&o(new Error("请先选择域")),t.next=4,i(e.saveData.domainCode,a);case 4:t.sent.data.result?o():o(new Error("策略名字不能重复"));case 6:case"end":return t.stop()}},t,e)}));return function(e,r,a){return t.apply(this,arguments)}}(),trigger:"blur"}],sceneCode:[{required:!0,message:"此项必填",trigger:"change"},{validator:function(){var t=s()(n.a.mark(function t(r,a,o){return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.saveData.id&&o(),""===e.saveData.domainCode&&o(new Error("请先选择域")),""!==e.saveData.sceneCode){t.next=5;break}return o(new Error("请选择域Code")),t.abrupt("return");case 5:return t.next=7,c(e.saveData.domainCode,a);case 7:t.sent.data.result?o():o(new Error("此场景已经被占用"));case 9:case"end":return t.stop()}},t,e)}));return function(e,r,a){return t.apply(this,arguments)}}(),trigger:"change"}],ruleType:[{required:!0,message:"此项必填",trigger:"change"}],ruleMode:[{required:!0,message:"此项必填",trigger:"change"}]},domainOptions:[],dataSourceOptions:[],sceneOptions:[],ruleTypeOptions:[],ruleModeOptions:[],selectors:{leftOptions:[],interruptOptions:[],resultTypeOptions:[],metadataOptions:[]},dataSourceDebugResult:void 0,ruleDebugParam:"",ruleDebugResult:void 0,testPass:!1}},created:function(){},mounted:function(){},methods:{load:function(e){var t=this;return s()(n.a.mark(function r(){var a;return n.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return a=t,r.next=3,Object(l.g)();case 3:return a.domainOptions=r.sent,r.next=6,Object(l.l)();case 6:return a.ruleTypeOptions=r.sent,r.next=9,Object(l.k)();case 9:a.ruleModeOptions=r.sent,e&&(a.saveData=a.$cloneObj(e)),a.dialogVisible=!0,a.$nextTick(s()(n.a.mark(function e(){return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a.$refs.ruleTreeList.load({data:a.saveData,selectors:a.selectors});case 1:case"end":return e.stop()}},e,t)})));case 13:case"end":return r.stop()}},r,t)}))()},save:function(){var e=this,t=this;this.$refs.ruleForm.validate(function(){var r=s()(n.a.mark(function r(a){return n.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!a){r.next=3;break}return r.next=3,t.doSave(e.saveData);case 3:case"end":return r.stop()}},r,e)}));return function(e){return r.apply(this,arguments)}}())},doSave:function(e){var t=this;return s()(n.a.mark(function r(){var a,o;return n.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return a=t,r.next=3,d(e);case 3:(o=r.sent).ok?a.$message({type:"success",message:"保存成功!"}):a.$message({type:"error",message:"保存失败:"+o.message}),a.clearForm(),a.$parent.query();case 7:case"end":return r.stop()}},r,t)}))()},clearForm:function(){var e=this;try{e.saveData={domainCode:"",strategyName:"",sceneCode:"",dataSourceUuid:"",ruleType:"LIST",ruleMode:"SIMPLE",desc:"",ruleListInfo:{conditions:[{group:[{name:"",leftValue:"",operator:"",rightValue:"",interrupt:"",resultType:"",returnVal:"",children:[]}]}]},ruleTreeInfo:{conditions:[{group:[{name:"",leftValue:"",operator:"",rightValue:"",interrupt:"",resultType:"",returnVal:"",children:[]}]}]}},e.dataSourceOptions=[],e.sceneOptions=[],e.dataSourceDebugResult=void 0,e.ruleDebugResult=void 0,e.ruleDebugParam="",e.testPass=!1,e.$refs.ruleForm.resetFields()}catch(e){console.log(e)}e.dialogVisible=!1},ruleModeChange:function(e){if(this.$refs.ruleTreeList.ruleMode=e,"SIMPLE"===e&&this.autoClear)for(var t=this.saveData.ruleListInfo.conditions,r=0;r1&&a(new Error(r+" 不能有多个"))},trigger:"blur"}],sceneCode:[{required:!0,message:"此项必填",trigger:"blur"},{validator:function(t,r,a){for(var n=e,o=0,s=0;s1&&a(new Error(r+" 不能有多个"))},trigger:"blur"}]}}},created:function(){},mounted:function(){},methods:{load:function(e){var t=this;return s()(n.a.mark(function r(){var a,o;return n.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return(a=t).domainName=e.domainName,r.next=4,i(e.domainCode);case 4:(o=r.sent).ok?(a.saveData=o.data.scene,0===a.saveData.scenePairs.length&&a.saveData.scenePairs.push({sceneName:"",sceneCode:""}),a.dialogVisible=!0):a.$message({type:"error",message:"加载失败:"+o.message});case 6:case"end":return r.stop()}},r,t)}))()},save:function(){var e=this;return s()(n.a.mark(function t(){var r,a,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(r=e,a=!0,o=0;ox;x++)if((l||x in m)&&(y=w(d=m[x],x,g),t))if(e)E[x]=y;else if(y)switch(t){case 3:return!0;case 5:return d;case 6:return x;case 2:E.push(d)}else if(s)return!1;return h?-1:f||s?s:E}}},VJsP:function(t,r,e){"use strict";var n=e("2GTP"),o=e("Y7ZC"),i=e("JB68"),u=e("sNwI"),a=e("NwJ3"),c=e("tEej"),f=e("IP1Z"),s=e("fNZA");o(o.S+o.F*!e("TuGD")(function(t){Array.from(t)}),"Array",{from:function(t){var r,e,o,h,l=i(t),p="function"==typeof this?this:Array,v=arguments.length,d=v>1?arguments[1]:void 0,y=void 0!==d,g=0,m=s(l);if(y&&(d=n(d,v>2?arguments[2]:void 0,2)),void 0==m||p==Array&&a(m))for(e=new p(r=c(l.length));r>g;g++)f(e,g,y?d(l[g],g):l[g]);else for(h=m.call(l),e=new p;!(o=h.next()).done;g++)f(e,g,y?u(h,d,[o.value,g],!0):o.value);return e.length=g,e}})},Wu5q:function(t,r,e){"use strict";var n=e("2faE").f,o=e("oVml"),i=e("XJU/"),u=e("2GTP"),a=e("EXMj"),c=e("oioR"),f=e("MPFp"),s=e("UO39"),h=e("TJWN"),l=e("jmDH"),p=e("6/1s").fastKey,v=e("n3ko"),d=l?"_s":"size",y=function(t,r){var e,n=p(r);if("F"!==n)return t._i[n];for(e=t._f;e;e=e.n)if(e.k==r)return e};t.exports={getConstructor:function(t,r,e,f){var s=t(function(t,n){a(t,s,r,"_i"),t._t=r,t._i=o(null),t._f=void 0,t._l=void 0,t[d]=0,void 0!=n&&c(n,e,t[f],t)});return i(s.prototype,{clear:function(){for(var t=v(this,r),e=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete e[n.i];t._f=t._l=void 0,t[d]=0},delete:function(t){var e=v(this,r),n=y(e,t);if(n){var o=n.n,i=n.p;delete e._i[n.i],n.r=!0,i&&(i.n=o),o&&(o.p=i),e._f==n&&(e._f=o),e._l==n&&(e._l=i),e[d]--}return!!n},forEach:function(t){v(this,r);for(var e,n=u(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!y(v(this,r),t)}}),l&&n(s.prototype,"size",{get:function(){return v(this,r)[d]}}),s},def:function(t,r,e){var n,o,i=y(t,r);return i?i.v=e:(t._l=i={i:o=p(r,!0),k:r,v:e,p:n=t._l,n:void 0,r:!1},t._f||(t._f=i),n&&(n.n=i),t[d]++,"F"!==o&&(t._i[o]=i)),t},getEntry:y,setStrong:function(t,r,e){f(t,r,function(t,e){this._t=v(t,r),this._k=e,this._l=void 0},function(){for(var t=this._k,r=this._l;r&&r.r;)r=r.p;return this._t&&(this._l=r=r?r.n:this._t._f)?s(0,"keys"==t?r.k:"values"==t?r.v:[r.k,r.v]):(this._t=void 0,s(1))},e?"entries":"values",!e,!0),h(r)}}},XLbu:function(t,r,e){var n=e("Y7ZC");n(n.P+n.R,"Map",{toJSON:e("8iia")("Map")})},aPfg:function(t,r,e){"use strict";var n=e("Y7ZC"),o=e("eaoh"),i=e("2GTP"),u=e("oioR");t.exports=function(t){n(n.S,t,{from:function(t){var r,e,n,a,c=arguments[1];return o(this),(r=void 0!==c)&&o(c),void 0==t?new this:(e=[],r?(n=0,a=i(c,arguments[2],2),u(t,!1,function(t){e.push(a(t,n++))})):u(t,!1,e.push,e),new this(e))}})}},cHUd:function(t,r,e){"use strict";var n=e("Y7ZC");t.exports=function(t){n(n.S,t,{of:function(){for(var t=arguments.length,r=new Array(t);t--;)r[t]=arguments[t];return new this(r)}})}},cSMa:function(t,r,e){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=e("u4eC"),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},dVTT:function(t,r,e){e("aPfg")("Map")},g33z:function(t,r,e){"use strict";var n=e("Wu5q"),o=e("n3ko");t.exports=e("raTm")("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var r=n.getEntry(o(this,"Map"),t);return r&&r.v},set:function(t,r){return n.def(o(this,"Map"),0===t?0:t,r)}},n,!0)},"gDS+":function(t,r,e){t.exports={default:e("oh+g"),__esModule:!0}},n3ko:function(t,r,e){var n=e("93I4");t.exports=function(t,r){if(!n(t)||t._t!==r)throw TypeError("Incompatible receiver, "+r+" required!");return t}},"oh+g":function(t,r,e){var n=e("WEpk"),o=n.JSON||(n.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},raTm:function(t,r,e){"use strict";var n=e("5T2Y"),o=e("Y7ZC"),i=e("6/1s"),u=e("KUxP"),a=e("NegM"),c=e("XJU/"),f=e("oioR"),s=e("EXMj"),h=e("93I4"),l=e("RfKB"),p=e("2faE").f,v=e("V7Et")(0),d=e("jmDH");t.exports=function(t,r,e,y,g,m){var w=n[t],_=w,x=g?"set":"add",E=_&&_.prototype,L={};return d&&"function"==typeof _&&(m||E.forEach&&!u(function(){(new _).entries().next()}))?(_=r(function(r,e){s(r,_,t,"_c"),r._c=new w,void 0!=e&&f(e,g,r[x],r)}),v("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(t){var r="add"==t||"set"==t;t in E&&(!m||"clear"!=t)&&a(_.prototype,t,function(e,n){if(s(this,_,t),!r&&m&&!h(e))return"get"==t&&void 0;var o=this._c[t](0===e?0:e,n);return r?this:o})}),m||p(_.prototype,"size",{get:function(){return this._c.size}})):(_=y.getConstructor(r,t,g,x),c(_.prototype,e),i.NEED=!0),l(_,t),L[t]=_,o(o.G+o.W+o.F,L),m||y.setStrong(_,t,g),_}},rfXi:function(t,r,e){t.exports={default:e("0tVQ"),__esModule:!0}},u4eC:function(t,r){!function(r){"use strict";var e,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag",f="object"==typeof t,s=r.regeneratorRuntime;if(s)f&&(t.exports=s);else{(s=r.regeneratorRuntime=f?t.exports:{}).wrap=_;var h="suspendedStart",l="suspendedYield",p="executing",v="completed",d={},y={};y[u]=function(){return this};var g=Object.getPrototypeOf,m=g&&g(g(T([])));m&&m!==n&&o.call(m,u)&&(y=m);var w=b.prototype=E.prototype=Object.create(y);L.prototype=w.constructor=b,b.constructor=L,b[c]=L.displayName="GeneratorFunction",s.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===L||"GeneratorFunction"===(r.displayName||r.name))},s.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(w),t},s.awrap=function(t){return{__await:t}},k(M.prototype),M.prototype[a]=function(){return this},s.AsyncIterator=M,s.async=function(t,r,e,n){var o=new M(_(t,r,e,n));return s.isGeneratorFunction(r)?o:o.next().then(function(t){return t.done?t.value:o.next()})},k(w),w[c]="Generator",w[u]=function(){return this},w.toString=function(){return"[object Generator]"},s.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},s.values=T,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return a.type="throw",a.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],a=u.completion;if("root"===u.tryLoc)return n("end");if(u.tryLoc<=this.prev){var c=o.call(u,"catchLoc"),f=o.call(u,"finallyLoc");if(c&&f){if(this.prev=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),S(e),d}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;S(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),d}}}function _(t,r,e,n){var o=r&&r.prototype instanceof E?r:E,i=Object.create(o.prototype),u=new P(n||[]);return i._invoke=function(t,r,e){var n=h;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===v){if("throw"===o)throw i;return R()}for(e.method=o,e.arg=i;;){var u=e.delegate;if(u){var a=N(u,e);if(a){if(a===d)continue;return a}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(n===h)throw n=v,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n=p;var c=x(t,r,e);if("normal"===c.type){if(n=e.done?v:l,c.arg===d)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(n=v,e.method="throw",e.arg=c.arg)}}}(t,e,u),i}function x(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}function E(){}function L(){}function b(){}function k(t){["next","throw","return"].forEach(function(r){t[r]=function(t){return this._invoke(r,t)}})}function M(t){var r;this._invoke=function(e,n){function i(){return new Promise(function(r,i){!function r(e,n,i,u){var a=x(t[e],t,n);if("throw"!==a.type){var c=a.arg,f=c.value;return f&&"object"==typeof f&&o.call(f,"__await")?Promise.resolve(f.__await).then(function(t){r("next",t,i,u)},function(t){r("throw",t,i,u)}):Promise.resolve(f).then(function(t){c.value=t,i(c)},u)}u(a.arg)}(e,n,r,i)})}return r=r?r.then(i,i):i()}}function N(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,N(t,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=x(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,d;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,d):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function O(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function S(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(t){if(t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n0)for(var i=0;i0)for(var _i=0;_i0)for(var i=0;i0)for(var _i2=0;_i20)for(var d=0;d0)for(var l=0;l=0}(e)?t(new Error("请输入正确的用户名")):t()}}],password:[{required:!0,trigger:"blur",validator:function(n,e,t){e.length<5?t(new Error("密码不能小于6位")):t()}}]},loading:!1,pwdType:"password",redirect:void 0}},watch:{$route:{handler:function(n){this.redirect=n.query&&n.query.redirect},immediate:!0}},methods:{showPwd:function(){"password"===this.pwdType?this.pwdType="":this.pwdType="password"},handleLogin:function(){var n=this;this.$refs.loginForm.validate(function(e){if(!e)return console.log("error submit!!"),!1;n.loading=!0,n.$store.dispatch("Login",n.loginForm).then(function(){n.loading=!1,n.$router.push({path:n.redirect||"/"})}).catch(function(){n.loading=!1})})}}},r=(t("c11S"),t("ByYV"),t("KHd+")),i=Object(r.a)(o,function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"login-container"},[t("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:n.loginForm,rules:n.loginRules,"auto-complete":"on","label-position":"left"}},[t("h3",{staticClass:"title"},[n._v("REC-规则引擎")]),n._v(" "),t("el-form-item",{attrs:{prop:"username"}},[t("span",{staticClass:"svg-container"},[t("svg-icon",{attrs:{"icon-class":"user"}})],1),n._v(" "),t("el-input",{attrs:{name:"username",type:"text","auto-complete":"on",placeholder:"username"},model:{value:n.loginForm.username,callback:function(e){n.$set(n.loginForm,"username",e)},expression:"loginForm.username"}})],1),n._v(" "),t("el-form-item",{attrs:{prop:"password"}},[t("span",{staticClass:"svg-container"},[t("svg-icon",{attrs:{"icon-class":"password"}})],1),n._v(" "),t("el-input",{attrs:{type:n.pwdType,name:"password","auto-complete":"on",placeholder:"password"},nativeOn:{keyup:function(e){return"button"in e||!n._k(e.keyCode,"enter",13,e.key,"Enter")?n.handleLogin(e):null}},model:{value:n.loginForm.password,callback:function(e){n.$set(n.loginForm,"password",e)},expression:"loginForm.password"}}),n._v(" "),t("span",{staticClass:"show-pwd",on:{click:n.showPwd}},[t("svg-icon",{attrs:{"icon-class":"eye"}})],1)],1),n._v(" "),t("el-form-item",[t("el-button",{staticStyle:{width:"100%"},attrs:{loading:n.loading,type:"primary"},nativeOn:{click:function(e){return e.preventDefault(),n.handleLogin(e)}}},[n._v("\n Sign in\n ")])],1),n._v(" "),t("div",{staticClass:"tips"},[t("span",{staticStyle:{"margin-right":"20px"}},[n._v("username: admin")]),n._v(" "),t("span",[n._v(" password: admin")])])],1)],1)},[],!1,null,"5df7689a",null);i.options.__file="index.vue";e.default=i.exports},wXrE:function(n,e,t){}}]); \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/js/chunk-71a5.58f820e4.js b/rec-admin/rec-admin-views/src/main/resources/static/static/js/chunk-71a5.58f820e4.js deleted file mode 100644 index 54144b6f5e1a3d694f265f1b8dbade8b58652df9..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/js/chunk-71a5.58f820e4.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-71a5"],{"5POr":function(module,__webpack_exports__,__webpack_require__){"use strict";var axios__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("vDqi"),axios__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_0__),_antv_g6__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("fD4D"),graph,tooltip=new _antv_g6__WEBPACK_IMPORTED_MODULE_1__.a.Tooltip({offsetX:10,offsetY:20,itemTypes:["node","edge"],getContent:function(e){var t=document.createElement("div");t.style.width="fit-content";var o=e.item.getModel(),n="";return n=o.remark&&null!=o.remark&&""!=o.remark.trim()?"注释:"+o.remark:"注释:暂无",t.innerHTML=n,t}});__webpack_exports__.a={name:"readView",props:["flowId"],filters:{},data:function(){return{bizOptions:[],flowManager:[],newGraphData:{modes:{default:["drag-canvas"]},plugins:[new _antv_g6__WEBPACK_IMPORTED_MODULE_1__.a.Minimap({size:[200,200]}),tooltip],container:"mountNode",width:window.screen.width,height:window.screen.height,defaultNode:{size:60,labelCfg:{style:{fill:"black"}}},defaultEdge:{labelCfg:{autoRotate:!0}}},data:{nodes:[],edges:[]}}},created:function(){var e=this;axios__WEBPACK_IMPORTED_MODULE_0___default.a.get("http://localhost:9999/igms/enums/biz",{}).then(function(t){return e.bizOptions=t.data.data.tv}),e.queryManager()},mounted:function(){this.queryInitData()},methods:{toEdit:function(){this.$router.push({path:"/Ig",query:{flowId:this.flowManager.flowId}})},enumFormat:function(e,t){for(var o=0;o0)for(var i=0;i0)for(var _i=0;_i0)for(var i=0;i0)for(var _i=0;_i=0,a=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r("u4eC"),o)n.regeneratorRuntime=a;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},cmFy:function(t,e,r){},fAzR:function(t,e,r){"use strict";var n=r("Ga4I");r.n(n).a},kF8c:function(t,e,r){"use strict";var n={name:"vue-page",filters:{},props:["paginator","query"],components:{},data:function(){return{currentPage:0,totalCount:0}},computed:{},created:function(){},methods:{handleSizeChange:function(t){this.paginator.pageSize=t,this.query()},handleCurrentChange:function(t){this.paginator.currentPage=t,this.query()}},watch:{paginator:{handler:function(t,e){this.paginator||(this.currentPage=0,this.totalCount=0),this.currentPage=this.paginator.currentPage,this.totalCount=this.paginator.totalCount},immediate:!0}}},o=(r("uTdB"),r("KHd+")),a=Object(o.a)(n,function(){var t=this.$createElement,e=this._self._c||t;return e("el-row",{staticStyle:{"text-align":"right",padding:"10px"}},[e("el-pagination",{attrs:{"current-page":this.currentPage,"page-sizes":[10,20,50],"page-size":10,layout:"total, sizes, prev, pager, next, jumper",background:"",total:this.totalCount},on:{"size-change":this.handleSizeChange,"current-change":this.handleCurrentChange}})],1)},[],!1,null,null,null);a.options.__file="vue-page.vue";e.a=a.exports},nvEF:function(t,e,r){"use strict";var n=r("14Xm"),o=r.n(n),a=r("D3Ub"),i=r.n(a),u=r("kF8c"),c={name:"vue-clipboard",props:["content"],components:{},data:function(){return{}},computed:{},created:function(){},methods:{copy:function(){this.$emit("event","1",{}),this.copyTextToClipboard(this.content),this.$notify({title:"提示",message:"复制完成",type:"success"})},copyTextToClipboard:function(t){var e=document.createElement("textarea");e.readOnly="readonly",e.style.position="absolute",e.style.left="-9999px",e.value=t,document.body.appendChild(e),e.select(),e.setSelectionRange(0,e.value.length),document.execCommand("Copy"),document.body.removeChild(e)}}},s=(r("fAzR"),r("KHd+")),l=Object(s.a)(c,function(){var t=this.$createElement;return(this._self._c||t)("el-button",{directives:[{name:"show",rawName:"v-show",value:null!=this.content&&""!==this.content,expression:"content != null &&content !== ''"}],staticClass:"vue-clipboard",attrs:{type:"text",icon:"el-icon-document-copy"},on:{click:this.copy}})},[],!1,null,null,null);l.options.__file="vue-clipboard.vue";var h=l.exports,f=r("t3Un"),p=function(){var t=i()(o.a.mark(function t(e,r){return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(f.a)({url:"/rec/log/query",method:"post",data:{logOperate:e,paginator:r}});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t,this)}));return function(e,r){return t.apply(this,arguments)}}(),d={name:"vue-log",props:["module","targetId"],components:{vuePage:u.a,vueClipboard:h},data:function(){return{dialogVisible:!1,pageResult:{data:[],paginator:{currentPage:0,totalCount:0,pageSize:10,totalPage:0}}}},computed:{},created:function(){},methods:{query:function(){var t=this;return i()(o.a.mark(function e(){var r,n,a;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={module:(r=t).module,targetId:r.targetId},e.next=4,p(n,r.pageResult.paginator);case 4:(a=e.sent).ok?r.pageResult=a.data.queryPage:r.$message({type:"error",message:"日志查询失败:"+a.message});case 6:case"end":return e.stop()}},e,t)}))()},toShow:function(){var t=this;return i()(o.a.mark(function e(){return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.query();case 2:t.dialogVisible=!0;case 3:case"end":return e.stop()}},e,t)}))()},clearForm:function(){this.dialogVisible=!1}}},g=(r("+voL"),Object(s.a)(d,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("span",[r("el-button",{attrs:{type:"text",size:"mini"},on:{click:t.toShow}},[t._v("日志")]),t._v(" "),r("el-dialog",{attrs:{"append-to-body":"","close-on-click-modal":!0,"close-on-press-escape":!0,"show-close":!0,title:"操作日志",visible:t.dialogVisible,width:"60%"},on:{"update:visible":function(e){t.dialogVisible=e}}},[r("el-table",{staticStyle:{width:"100%","margin-top":"20px","font-size":"10px"},attrs:{"header-cell-style":{background:"#eef1f6",color:"#606266"},data:t.pageResult.data,border:"","default-sort":{prop:"createTime",order:"descending"}}},[r("el-table-column",{attrs:{align:"center",prop:"module",label:"模块"}}),t._v(" "),r("el-table-column",{attrs:{align:"center",prop:"operatorType",label:"操作类型"}}),t._v(" "),r("el-table-column",{attrs:{prop:"content",align:"center",label:"操作内容"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.content)+"\n "),r("vue-clipboard",{attrs:{content:e.row.content}})]}}])}),t._v(" "),r("el-table-column",{attrs:{sortable:"",align:"center",width:"150",label:"操作时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t.recDateFormat(e.row.createTime))+"\n ")]}}])})],1),t._v(" "),r("el-footer",[r("vue-page",{attrs:{paginator:t.pageResult.paginator,query:t.query}})],1)],1)],1)},[],!1,null,null,null));g.options.__file="vue-log.vue";e.a=g.exports},u4eC:function(t,e){!function(e){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag",s="object"==typeof t,l=e.regeneratorRuntime;if(l)s&&(t.exports=l);else{(l=e.regeneratorRuntime=s?t.exports:{}).wrap=b;var h="suspendedStart",f="suspendedYield",p="executing",d="completed",g={},v={};v[i]=function(){return this};var y=Object.getPrototypeOf,m=y&&y(y(R([])));m&&m!==n&&o.call(m,i)&&(v=m);var w=E.prototype=_.prototype=Object.create(v);L.prototype=w.constructor=E,E.constructor=L,E[c]=L.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===L||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(w),t},l.awrap=function(t){return{__await:t}},k(C.prototype),C.prototype[u]=function(){return this},l.AsyncIterator=C,l.async=function(t,e,r,n){var o=new C(b(t,e,r,n));return l.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},k(w),w[c]="Generator",w[i]=function(){return this},w.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},l.values=R,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return u.type="throw",u.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:R(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),g}}}function b(t,e,r,n){var o=e&&e.prototype instanceof _?e:_,a=Object.create(o.prototype),i=new j(n||[]);return a._invoke=function(t,e,r){var n=h;return function(o,a){if(n===p)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw a;return F()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var u=O(i,r);if(u){if(u===g)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===h)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=x(t,e,r);if("normal"===c.type){if(n=r.done?d:f,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=d,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function x(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function _(){}function L(){}function E(){}function k(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function C(t){var e;this._invoke=function(r,n){function a(){return new Promise(function(e,a){!function e(r,n,a,i){var u=x(t[r],t,n);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,a,i)},function(t){e("throw",t,a,i)}):Promise.resolve(s).then(function(t){c.value=t,a(c)},i)}i(u.arg)}(r,n,e,a)})}return e=e?e.then(a,a):a()}}function O(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,O(t,e),"throw"===e.method))return g;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var o=x(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,g;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,g):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function R(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n=i&&(null===(t=e.onLayoutEnd)||void 0===t||t.call(e),window.clearInterval(e.timeInterval))},0)}return{nodes:n,edges:r}}},e.prototype.runOneStep=function(t){var e,n=this.nodes;if(n){var r=this.edges,i=this.center,a=this.gravity,s=this.speed,u=this.clustering,c=this.height*this.width,l=Math.sqrt(c)/10,f=c/(n.length+1),h=Math.sqrt(f),d=[];if(n.forEach(function(t,e){d[e]={x:0,y:0}}),this.applyCalculate(n,r,d,h,f),u){for(var p in t)t[p].cx=0,t[p].cy=0,t[p].count=0;for(var p in n.forEach(function(e){var n=t[e.cluster];(0,o.isNumber)(e.x)&&(n.cx+=e.x),(0,o.isNumber)(e.y)&&(n.cy+=e.y),n.count++}),t)t[p].cx/=t[p].count,t[p].cy/=t[p].count;var g=this.clusterGravity||a;n.forEach(function(e,n){if((0,o.isNumber)(e.x)&&(0,o.isNumber)(e.y)){var r=t[e.cluster],i=Math.sqrt((e.x-r.cx)*(e.x-r.cx)+(e.y-r.cy)*(e.y-r.cy)),a=h*g;d[n].x-=a*(e.x-r.cx)/i,d[n].y-=a*(e.y-r.cy)/i}})}n.forEach(function(t,e){if((0,o.isNumber)(t.x)&&(0,o.isNumber)(t.y)){var n=.01*h*a;d[e].x-=n*(t.x-i[0]),d[e].y-=n*(t.y-i[1])}}),n.forEach(function(t,e){if((0,o.isNumber)(t.fx)&&(0,o.isNumber)(t.fy))return t.x=t.fx,void(t.y=t.fy);if((0,o.isNumber)(t.x)&&(0,o.isNumber)(t.y)){var n=Math.sqrt(d[e].x*d[e].x+d[e].y*d[e].y);if(n>0){var r=Math.min(l*(s/800),n);t.x+=d[e].x/n*r,t.y+=d[e].y/n*r}}}),null===(e=this.tick)||void 0===e||e.call(this)}},e.prototype.applyCalculate=function(t,e,n,r,i){this.calRepulsive(t,n,i),e&&this.calAttractive(e,n,r)},e.prototype.calRepulsive=function(t,e,n){t.forEach(function(r,i){e[i]={x:0,y:0},t.forEach(function(t,a){if(i!==a&&(0,o.isNumber)(r.x)&&(0,o.isNumber)(t.x)&&(0,o.isNumber)(r.y)&&(0,o.isNumber)(t.y)){var s=r.x-t.x,u=r.y-t.y,c=s*s+u*u;if(0===c){c=1;var l=i>a?1:-1;s=.01*l,u=.01*l}var f=n/c;e[i].x+=s*f,e[i].y+=u*f}})})},e.prototype.calAttractive=function(t,e,n){var r=this;t.forEach(function(t){var i=(0,o.getEdgeTerminal)(t,"source"),a=(0,o.getEdgeTerminal)(t,"target");if(i&&a){var s=r.nodeIdxMap[i],u=r.nodeIdxMap[a];if(s!==u){var c=r.nodeMap[i],l=r.nodeMap[a];if((0,o.isNumber)(l.x)&&(0,o.isNumber)(c.x)&&(0,o.isNumber)(l.y)&&(0,o.isNumber)(c.y)){var f=l.x-c.x,h=l.y-c.y,d=Math.sqrt(f*f+h*h),p=d*d/n;e[u].x-=f/d*p,e[u].y-=h/d*p,e[s].x+=f/d*p,e[s].y+=h/d*p}}}})},e.prototype.stop=function(){this.timeInterval&&"undefined"!=typeof window&&window.clearInterval(this.timeInterval)},e.prototype.destroy=function(){this.stop(),this.tick=null,this.nodes=null,this.edges=null,this.destroyed=!0},e.prototype.getType=function(){return"fruchterman"},e}(i.Base);e.FruchtermanLayout=a},"+sJh":function(t,e){t.exports=function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}},"+uE7":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r={HierarchyComponentManager:Symbol("HierarchyComponentManager"),TransformComponentManager:Symbol("TransformComponentManager"),NameComponentManager:Symbol("NameComponentManager"),SceneGraphSystem:Symbol("SceneGraphSystem"),FrameGraphSystem:Symbol("FrameGraphSystem"),ResourcePool:Symbol("ResourcePool"),ResourceHandleComponentManager:Symbol("ResourceHandleComponentManager"),PassNodeComponentManager:Symbol("PassNodeComponentManager"),RendererSystem:Symbol("RendererSystem"),RenderPass:Symbol("RenderPass"),RenderPassFactory:Symbol("Factory"),Renderable:Symbol("Factory"),MeshSystem:Symbol("MeshSystem"),MeshComponentManager:Symbol("MeshComponentManager"),CullableComponentManager:Symbol("CullableComponentManager"),Geometry:Symbol("Geometry"),GeometrySystem:Symbol("GeometrySystem"),GeometryComponentManager:Symbol("GeometryComponentManager"),Material:Symbol("Material"),MaterialSystem:Symbol("MaterialSystem"),MaterialComponentManager:Symbol("MaterialComponentManager"),ForwardRenderPath:Symbol("ForwardRenderPath"),ComputeSystem:Symbol("ComputeSystem"),ComputeComponentManager:Symbol("ComputeComponentManager"),ComputeStrategy:Symbol("ComputeStrategy"),Systems:Symbol("Systems"),World:Symbol("World"),RenderEngine:Symbol("RenderEngine"),WebGPUEngine:Symbol("WebGPUEngine"),WebGLEngine:Symbol("WebGLEngine"),ShaderModuleService:Symbol("ShaderModuleService"),ConfigService:Symbol("ConfigService"),InteractorService:Symbol("InteractorService"),IEventEmitter:Symbol("IEventEmitter"),Light:Symbol("Light")}},"+vmx":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){this.id=t.id||0,this.rx=t.rx,this.ry=t.ry,this.fx=0,this.fy=0,this.mass=t.mass,this.degree=t.degree,this.g=t.g||0}return t.prototype.distanceTo=function(t){var e=this.rx-t.rx,n=this.ry-t.ry;return Math.hypot(e,n)},t.prototype.setPos=function(t,e){this.rx=t,this.ry=e},t.prototype.resetForce=function(){this.fx=0,this.fy=0},t.prototype.addForce=function(t){var e=t.rx-this.rx,n=t.ry-this.ry,r=Math.hypot(e,n);r=r<1e-4?1e-4:r;var i=this.g*(this.degree+1)*(t.degree+1)/r;this.fx+=i*e/r,this.fy+=i*n/r},t.prototype.in=function(t){return t.contains(this.rx,this.ry)},t.prototype.add=function(e){var n=this.mass+e.mass;return new t({rx:(this.rx*this.mass+e.rx*e.mass)/n,ry:(this.ry*this.mass+e.ry*e.mass)/n,mass:n,degree:this.degree+e.degree})},t}();e.default=r},"+xCn":function(t,e,n){"use strict";var r=n("J4zp"),i=n.n(r);n("IOcx");function o(t,e){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[4],e[4]=t[5],e[5]=t[6],e[6]=t[8],e[7]=t[9],e[8]=t[10],e}function a(t){var e=i()(t,3);return e[0]+256*e[1]+65536*e[2]-1}n.d(e,"b",function(){return o}),n.d(e,"a",function(){return a})},"/lHY":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){!function t(e,n,i,o){o.enter({current:n,previous:i});var a=e.edges,s=void 0===a?[]:a;(0,r.getNeighbors)(n,s,"target").forEach(function(r){o.allowTraversal({previous:i,current:n,next:r})&&t(e,r,n,o)});o.leave({current:n,previous:i})}(t,e,"",function(t){void 0===t&&(t={});var e=t,n=function(){},r=function(){var t={};return function(e){var n=e.next;return!t[n]&&(t[n]=!0,!0)}}();return e.allowTraversal=t.allowTraversal||r,e.enter=t.enter||n,e.leave=t.leave||n,e}(n))};var r=n("3P6T")},"0arJ":function(t,e,n){"use strict";var r=n("lSNA"),i=n.n(r),o=n("lwsE"),a=n.n(o),s=n("W8MJ"),u=n.n(s),c=n("PJYZ"),l=n.n(c),f=n("7W2i"),h=n.n(f),d=n("a1gu"),p=n.n(d),g=n("Nsbk"),v=n.n(g),y=n("IOcx"),m=n("oDt1"),b=n("cDf5"),x=n.n(b),w=9007199254740991,_={};_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Arguments]"]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object Boolean]"]=_["[object DataView]"]=_["[object Date]"]=_["[object Error]"]=_["[object Function]"]=_["[object Map]"]=_["[object Number]"]=_["[object Object]"]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object WeakMap]"]=!1;var E=Object.prototype.toString;var S=function(t){return function(t){return!!t&&"object"===x()(t)}(t)&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=w}(t.length)&&!!_[E.call(t)]};function M(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function O(t){for(var e=1;ee.size[1]?e.size[0]:e.size[1]:(0,r.isObject)(e.size)?e.size.width>e.size.height?e.size.width:e.size.height:e.size:t}}},"3P6T":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uniqueId=e.getOutEdgesNodeId=e.getNeighbors=e.getEdgesByNodeId=void 0;e.getNeighbors=function(t,e,n){void 0===e&&(e=[]);var r=e.filter(function(e){return e.source===t||e.target===t});if("target"===n)return r.filter(function(e){return e.source===t}).map(function(t){return t.target});if("source"===n)return r.filter(function(e){return e.target===t}).map(function(t){return t.source});return r.map(function(e){return e.source===t?e.target:e.source})};e.getOutEdgesNodeId=function(t,e){return e.filter(function(e){return e.source===t})};e.getEdgesByNodeId=function(t,e){return e.filter(function(e){return e.source===t||e.target===t})};e.uniqueId=function(t){void 0===t&&(t=0);var e="".concat(Math.random()).split(".")[1].substr(0,5),n="".concat(Math.random()).split(".")[1].substr(0,5);return"".concat(t,"-").concat(e).concat(n)}},"406g":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BindingOnSyntax=void 0;var r=n("z4Hk"),i=function(){function t(t){this._binding=t}return t.prototype.onActivation=function(t){return this._binding.onActivation=t,new r.BindingWhenSyntax(this._binding)},t}();e.BindingOnSyntax=i},"48hD":function(t,e,n){"use strict";var r=n("ENEI"),i=(n("lwsE"),n("W8MJ"),n("IOcx")),o=(i.e.create(),n("qfsk")),a=n("cXWL");i.e.create(),i.e.create(),i.e.create(),i.e.create(),i.e.create();n.d(e,"a",function(){return r.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){return o.b}),n.d(e,"b",function(){return o.a}),n.d(e,!1,function(){return a.a}),n.d(e,!1,function(){})},"4Hkj":function(t,e){t.exports=function(t,e,n){return t[0]=e,t[1]=n,t}},"4XUm":function(t,e,n){"use strict";var r=n("k6w6");n.d(e,"gl",function(){return r.a});n("olaO"),n("A14R"),n("Oboc"),n("+RHd"),n("nO7B"),n("yaXH"),n("V/xP"),n("vdMR"),n("NirO"),n("JX23"),n("ZjWs")},"4cb6":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.multiBindToService=e.getServiceIdentifierAsString=e.typeConstraint=e.namedConstraint=e.taggedConstraint=e.traverseAncerstors=e.decorate=e.id=e.MetadataReader=e.postConstruct=e.targetName=e.multiInject=e.unmanaged=e.optional=e.LazyServiceIdentifer=e.inject=e.named=e.tagged=e.injectable=e.ContainerModule=e.AsyncContainerModule=e.TargetTypeEnum=e.BindingTypeEnum=e.BindingScopeEnum=e.Container=e.METADATA_KEY=void 0;var r=n("xfSm");e.METADATA_KEY=r;var i=n("9Fde");Object.defineProperty(e,"Container",{enumerable:!0,get:function(){return i.Container}});var o=n("FV85");Object.defineProperty(e,"BindingScopeEnum",{enumerable:!0,get:function(){return o.BindingScopeEnum}}),Object.defineProperty(e,"BindingTypeEnum",{enumerable:!0,get:function(){return o.BindingTypeEnum}}),Object.defineProperty(e,"TargetTypeEnum",{enumerable:!0,get:function(){return o.TargetTypeEnum}});var a=n("dxzI");Object.defineProperty(e,"AsyncContainerModule",{enumerable:!0,get:function(){return a.AsyncContainerModule}}),Object.defineProperty(e,"ContainerModule",{enumerable:!0,get:function(){return a.ContainerModule}});var s=n("cZ5Q");Object.defineProperty(e,"injectable",{enumerable:!0,get:function(){return s.injectable}});var u=n("0gSV");Object.defineProperty(e,"tagged",{enumerable:!0,get:function(){return u.tagged}});var c=n("ZzCi");Object.defineProperty(e,"named",{enumerable:!0,get:function(){return c.named}});var l=n("Yk9n");Object.defineProperty(e,"inject",{enumerable:!0,get:function(){return l.inject}}),Object.defineProperty(e,"LazyServiceIdentifer",{enumerable:!0,get:function(){return l.LazyServiceIdentifer}});var f=n("jYx5");Object.defineProperty(e,"optional",{enumerable:!0,get:function(){return f.optional}});var h=n("n2J3");Object.defineProperty(e,"unmanaged",{enumerable:!0,get:function(){return h.unmanaged}});var d=n("jIg/");Object.defineProperty(e,"multiInject",{enumerable:!0,get:function(){return d.multiInject}});var p=n("oaX6");Object.defineProperty(e,"targetName",{enumerable:!0,get:function(){return p.targetName}});var g=n("Sk89");Object.defineProperty(e,"postConstruct",{enumerable:!0,get:function(){return g.postConstruct}});var v=n("wnjb");Object.defineProperty(e,"MetadataReader",{enumerable:!0,get:function(){return v.MetadataReader}});var y=n("d9O0");Object.defineProperty(e,"id",{enumerable:!0,get:function(){return y.id}});var m=n("Ztfv");Object.defineProperty(e,"decorate",{enumerable:!0,get:function(){return m.decorate}});var b=n("RR/i");Object.defineProperty(e,"traverseAncerstors",{enumerable:!0,get:function(){return b.traverseAncerstors}}),Object.defineProperty(e,"taggedConstraint",{enumerable:!0,get:function(){return b.taggedConstraint}}),Object.defineProperty(e,"namedConstraint",{enumerable:!0,get:function(){return b.namedConstraint}}),Object.defineProperty(e,"typeConstraint",{enumerable:!0,get:function(){return b.typeConstraint}});var x=n("ujMp");Object.defineProperty(e,"getServiceIdentifierAsString",{enumerable:!0,get:function(){return x.getServiceIdentifierAsString}});var w=n("78VC");Object.defineProperty(e,"multiBindToService",{enumerable:!0,get:function(){return w.multiBindToService}})},"4dNS":function(t,e,n){"use strict";n.d(e,"a",function(){return O});var r,i,o,a,s,u,c,l=n("o0o1"),f=n.n(l),h=n("yXPU"),d=n.n(h),p=n("yG8O"),g=n.n(p),v=n("lwsE"),y=n.n(v),m=n("W8MJ"),b=n.n(m),x=n("U+yc"),w=n.n(x),_=(n("1ABj"),n("4cb6")),E=n("Gj0h"),S=n("+uE7"),M=n("k6w6"),O=(r=Object(_.injectable)(),i=Object(_.inject)(S.a.GeometryComponentManager),o=Object(_.inject)(S.a.RenderEngine),r((s=function(){function t(){y()(this,t),g()(this,"geometry",u,this),g()(this,"engine",c,this)}return b()(t,[{key:"execute",value:function(){var t=d()(f.a.mark(function t(){var e=this;return f.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.geometry.forEach(function(t,n){n.dirty&&(n.attributes.forEach(function(t){if(t.dirty&&t.data){var n;if(t.buffer)null===(n=t.buffer)||void 0===n||n.subData({data:t.data,offset:0});else t.buffer=e.engine.createBuffer({data:t.data,type:M.a.FLOAT});t.dirty=!1}}),n.indices&&(n.indicesBuffer?n.indicesBuffer.subData({data:n.indices,offset:0}):n.indicesBuffer=e.engine.createElements({data:n.indices,count:n.indices.length,type:M.a.UNSIGNED_INT,usage:M.a.STATIC_DRAW})),n.dirty=!1)});case 1:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"tearDown",value:function(){this.geometry.forEach(function(t,e){e.indicesBuffer&&e.indicesBuffer.destroy(),e.attributes.forEach(function(t){t.buffer&&t.buffer.destroy()})}),this.geometry.clear()}},{key:"createBufferGeometry",value:function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{vertexCount:3}).vertexCount,e=Object(E.createEntity)();return this.geometry.create(e,{vertexCount:t})}},{key:"createInstancedBufferGeometry",value:function(t){var e=t.maxInstancedCount,n=t.vertexCount,r=Object(E.createEntity)();return this.geometry.create(r,{maxInstancedCount:e,vertexCount:n})}}]),t}(),u=w()(s.prototype,"geometry",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=w()(s.prototype,"engine",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=s))||a)},"4f/S":function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=i(n("b8AE")),a=n("HeBM"),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(o.default),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(a.Graph),c=function(){return 1},l=function(t,e,n){for(var r,i=[],o=e[e.length-1],a=e[0];t.nodeCount();){for(;r=a.dequeue();)f(t,e,n,r);for(;r=o.dequeue();)f(t,e,n,r);if(t.nodeCount())for(var s=e.length-2;s>0;--s)if(r=e[s].dequeue()){i=i.concat(f(t,e,n,r,!0));break}}return i},f=function(t,e,n,r,i){var o,a,s=[];return null===(o=t.inEdges(r.v))||void 0===o||o.forEach(function(r){var o=t.edge(r),a=t.node(r.v);i&&s.push({v:r.v,w:r.w,in:0,out:0}),void 0===a.out&&(a.out=0),a.out-=o,d(e,n,a)}),null===(a=t.outEdges(r.v))||void 0===a||a.forEach(function(r){var i=t.edge(r),o=r.w,a=t.node(o);void 0===a.in&&(a.in=0),a.in-=i,d(e,n,a)}),t.removeNode(r.v),i?s:void 0},h=function(t,e){var n=new u,r=0,i=0;t.nodes().forEach(function(t){n.setNode(t,{v:t,in:0,out:0})}),t.edges().forEach(function(t){var o=n.edge(t)||0,a=(null===e||void 0===e?void 0:e(t))||1,s=o+a;n.setEdge(t.v,t.w,s),i=Math.max(i,n.node(t.v).out+=a),r=Math.max(r,n.node(t.w).in+=a)});for(var o=[],a=i+r+3,c=0;cn*n){var i=Math.sqrt(r);t[0]=e[0]/i*n,t[1]=e[1]/i*n}else t[0]=e[0],t[1]=e[1];return t}},"6AGu":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BindingInSyntax=void 0;var r=n("FV85"),i=n("LKzl"),o=function(){function t(t){this._binding=t}return t.prototype.inRequestScope=function(){return this._binding.scope=r.BindingScopeEnum.Request,new i.BindingWhenOnSyntax(this._binding)},t.prototype.inSingletonScope=function(){return this._binding.scope=r.BindingScopeEnum.Singleton,new i.BindingWhenOnSyntax(this._binding)},t.prototype.inTransientScope=function(){return this._binding.scope=r.BindingScopeEnum.Transient,new i.BindingWhenOnSyntax(this._binding)},t}();e.BindingInSyntax=o},"6B+r":function(t,e,n){"use strict";n.d(e,"a",function(){return v});var r=n("lwsE"),i=n.n(r),o=n("PJYZ"),a=n.n(o),s=n("7W2i"),u=n.n(s),c=n("a1gu"),l=n.n(c),f=n("Nsbk"),h=n.n(f),d=n("oDt1"),p=n("ENEI");function g(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var n,r=h()(t);if(e){var i=h()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l()(this,n)}}var v=function(t){u()(n,t);var e=g(n);function n(t){var r;return i()(this,n),(r=e.call(this,t)).material=void 0,r.geometry=void 0,r.aabb=new p.a,r.aabbDirty=!0,r.model=void 0,r.visible=!0,r.children=[],Object.assign(a()(r),t),r}return n}(d.a)},"6O4b":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("eQiA"),i=n("HXx+");e.default=function(t){var e,n=(0,r.asNonCompoundGraph)(t);!function(t){var e=(0,r.buildLayerMatrix)(t),n=t.graph().ranksep,i=0;null===e||void 0===e||e.forEach(function(e){var r=e.map(function(e){return t.node(e).height}),o=Math.max.apply(Math,r);null===e||void 0===e||e.forEach(function(e){t.node(e).y=i+o/2}),i+=o+n})}(n);var o=function(t){var e=(0,r.buildLayerMatrix)(t),n=Object.assign((0,i.findType1Conflicts)(t,e),(0,i.findType2Conflicts)(t,e)),o={},a=[];["u","d"].forEach(function(r){a="u"===r?e:Object.values(e).reverse(),["l","r"].forEach(function(e){"r"===e&&(a=a.map(function(t){return Object.values(t).reverse()}));var s=("u"===r?t.predecessors:t.successors).bind(t),u=(0,i.verticalAlignment)(t,a,n,s),c=(0,i.horizontalCompaction)(t,a,u.root,u.align,"r"===e);"r"===e&&Object.keys(c).forEach(function(t){return c[t]=-c[t]}),o[r+e]=c})});var s=(0,i.findSmallestWidthAlignment)(t,o);return s&&(0,i.alignCoordinates)(o,s),(0,i.balance)(o,t.graph().align)}(n);null===(e=Object.keys(o))||void 0===e||e.forEach(function(t){n.node(t).x=o[t]})}},"6Y31":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pageRankAsync=e.minimumSpanningTreeAsync=e.louvainAsync=e.labelPropagationAsync=e.getOutDegreeAsync=e.getNeighborsAsync=e.getInDegreeAsync=e.getDegreeAsync=e.getAdjMatrixAsync=e.floydWarshallAsync=e.findShortestPathAsync=e.findAllPathAsync=e.dijkstraAsync=e.detectCycleAsync=e.detectAllUndirectedCycleAsync=e.detectAllDirectedCycleAsync=e.detectAllCyclesAsync=e.connectedComponentAsync=e.GADDIAsync=void 0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n("wNIw")),i=n("kCNo");e.getAdjMatrixAsync=function(t,e){return(0,r.default)(i.ALGORITHM.getAdjMatrix).apply(void 0,[t,e])};e.connectedComponentAsync=function(t,e){return(0,r.default)(i.ALGORITHM.connectedComponent).apply(void 0,[t,e])};e.getDegreeAsync=function(t){return(0,r.default)(i.ALGORITHM.getDegree)(t)};e.getInDegreeAsync=function(t,e){return(0,r.default)(i.ALGORITHM.getInDegree)(t,e)};e.getOutDegreeAsync=function(t,e){return(0,r.default)(i.ALGORITHM.getOutDegree)(t,e)};e.detectCycleAsync=function(t){return(0,r.default)(i.ALGORITHM.detectCycle)(t)};e.detectAllCyclesAsync=function(t){return(0,r.default)(i.ALGORITHM.detectAllCycles)(t)};e.detectAllDirectedCycleAsync=function(t){return(0,r.default)(i.ALGORITHM.detectAllDirectedCycle)(t)};e.detectAllUndirectedCycleAsync=function(t){return(0,r.default)(i.ALGORITHM.detectAllUndirectedCycle)(t)};e.dijkstraAsync=function(t,e,n,o){return(0,r.default)(i.ALGORITHM.dijkstra).apply(void 0,[t,e,n,o])};e.findAllPathAsync=function(t,e,n,o){return(0,r.default)(i.ALGORITHM.findAllPath).apply(void 0,[t,e,n,o])};e.findShortestPathAsync=function(t,e,n,o,a){return(0,r.default)(i.ALGORITHM.findShortestPath).apply(void 0,[t,e,n,o,a])};e.floydWarshallAsync=function(t,e){return(0,r.default)(i.ALGORITHM.floydWarshall).apply(void 0,[t,e])};e.labelPropagationAsync=function(t,e,n,o){return void 0===o&&(o=1e3),(0,r.default)(i.ALGORITHM.labelPropagation)(t,e,n,o)};e.louvainAsync=function(t,e,n,o){return(0,r.default)(i.ALGORITHM.louvain)(t,e,n,o)};e.minimumSpanningTreeAsync=function(t,e,n){return(0,r.default)(i.ALGORITHM.minimumSpanningTree).apply(void 0,[t,e,n])};e.pageRankAsync=function(t,e,n){return(0,r.default)(i.ALGORITHM.pageRank).apply(void 0,[t,e,n])};e.getNeighborsAsync=function(t,e,n){return(0,r.default)(i.ALGORITHM.getNeighbors).apply(void 0,[t,e,n])};e.GADDIAsync=function(t,e,n,o,a,s,u){return void 0===n&&(n=!1),void 0===s&&(s="cluster"),void 0===u&&(u="cluster"),(0,r.default)(i.ALGORITHM.GADDI).apply(void 0,[t,e,n,o,a,s,u])}},"73dj":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e,n){var r,i={};null===n||void 0===n||n.forEach(function(n){for(var o,a,s=t.parent(n);s;){if((o=t.parent(s))?(a=i[o],i[o]=s):(a=r,r=s),a&&a!==s)return void e.setEdge(a,s);s=o}})}},"75y8":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.feasibleTreeWithLayer=e.feasibleTree=void 0;var r=n("Qy2L"),i=n("eQiA"),o=n("OXnU"),a=function(t){var e,n,i=new o.Graph({directed:!1}),a=t.nodes()[0],u=t.nodeCount();for(i.setNode(a,{});s(i,t)=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))}},"8jh/":function(t,e,n){"use strict";var r=n("Mn/Q"),i=n("LGRX");n("yZ5d");n.d(e,!1,function(){return r.a}),n.d(e,!1,function(){}),n.d(e,!1,function(){return i.a})},"8nGZ":function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);i&&("get"in i?e.__esModule:!i.writable&&!i.configurable)||(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),i=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||r(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),i(n("Qjdz"),e),i(n("kQ6e"),e),i(n("SwNF"),e),i(n("GdIf"),e),i(n("KR08"),e),i(n("3M29"),e)},"94HZ":function(t,e,n){"use strict";n.d(e,"a",function(){return X});var r,i,o,a,s,u,c,l,f,h,d,p,g,v,y,m,b,x,w,_,E,S,M,O,k=n("o0o1"),A=n.n(k),C=n("yXPU"),I=n.n(C),T=n("yG8O"),N=n.n(T),P=n("lwsE"),j=n.n(P),D=n("W8MJ"),L=n.n(D),R=n("U+yc"),B=n.n(R),G=(n("1ABj"),n("IOcx")),F=n("4cb6"),z=n("+uE7"),U=n("k6w6");function W(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return V(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return V(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function V(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]i[a][u]+i[u][s]&&(i[a][s]=i[a][u]+i[u][s]);return i};e.default=i},AwBQ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Lookup=void 0;var r=n("MON2"),i=function(){function t(){this._map=new Map}return t.prototype.getMap=function(){return this._map},t.prototype.add=function(t,e){if(null===t||void 0===t)throw new Error(r.NULL_ARGUMENT);if(null===e||void 0===e)throw new Error(r.NULL_ARGUMENT);var n=this._map.get(t);void 0!==n?(n.push(e),this._map.set(t,n)):this._map.set(t,[e])},t.prototype.get=function(t){if(null===t||void 0===t)throw new Error(r.NULL_ARGUMENT);var e=this._map.get(t);if(void 0!==e)return e;throw new Error(r.KEY_NOT_FOUND)},t.prototype.remove=function(t){if(null===t||void 0===t)throw new Error(r.NULL_ARGUMENT);if(!this._map.delete(t))throw new Error(r.KEY_NOT_FOUND)},t.prototype.removeByCondition=function(t){var e=this;this._map.forEach(function(n,r){var i=n.filter(function(e){return!t(e)});i.length>0?e._map.set(r,i):e._map.delete(r)})},t.prototype.hasKey=function(t){if(null===t||void 0===t)throw new Error(r.NULL_ARGUMENT);return this._map.has(t)},t.prototype.clone=function(){var e=new t;return this._map.forEach(function(t,n){t.forEach(function(t){return e.add(n,t.clone())})}),e},t.prototype.traverse=function(t){this._map.forEach(function(e,n){t(n,e)})},t}();e.Lookup=i},AzzA:function(t,e){t.exports=function(t,e){return t[0]=-e[0],t[1]=-e[1],t}},B2Vs:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n("2cX4")),i=n("3P6T");var o=function(t,e,n){"number"!=typeof e&&(e=1e-6),"number"!=typeof n&&(n=.85);for(var o,a=1,s=0,u=1e3,c=t.nodes,l=void 0===c?[]:c,f=t.edges,h=void 0===f?[]:f,d=l.length,p={},g={},v=0;v0&&a>e;){for(s=0,v=0;v0&&(o+=g[w]/_)}p[m]=n*o,s+=p[m]}}for(s=(1-s)/d,a=0,v=0;v0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1)for(var i=this.hierarchy.getCount()-1;i>0;--i)for(var o=this.hierarchy.getEntity(i),a=0;a-1}},function(t,e,n){"use strict";e.a=function(t){var e=typeof t;return null!==t&&"object"===e||"function"===e}},function(t,e,n){"use strict";var r=n(2),i=n(1);e.a=function(t,e){if(!Object(i.a)(t))return t;var n=[];return Object(r.a)(t,function(t,r){e(t,r)&&n.push(t)}),n}},function(t,e,n){"use strict";e.a=function(t){return"object"==typeof t&&null!==t}},function(t,e,n){"use strict";function r(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}e.a=function(t,e,n,i){e&&r(t,e);n&&r(t,n);i&&r(t,i);return t}},function(t,e,n){var r=n(30),i=["LR","RL","TB","BT","H","V"],o=["LR","RL","H"],a=i[0];t.exports=function(t,e,n){var s=e.direction||a;if(e.isHorizontal=function(t){return o.indexOf(t)>-1}(s),s&&-1===i.indexOf(s))throw new TypeError("Invalid direction: "+s);if(s===i[0])n(t,e);else if(s===i[1])n(t,e),t.right2left();else if(s===i[2])n(t,e);else if(s===i[3])n(t,e),t.bottom2top();else if(s===i[4]||s===i[5]){var u=r(t,e),c=u.left,l=u.right;n(c,e),n(l,e),e.isHorizontal?c.right2left():c.bottom2top(),l.translate(c.x-l.x,c.y-l.y),t.x=c.x,t.y=l.y;var f=t.getBoundingBox();e.isHorizontal?f.top<0&&t.translate(0,-f.top):f.left<0&&t.translate(-f.left,0)}var h=e.fixedRoot;return void 0===h&&(h=!0),h&&t.translate(-(t.x+t.width/2+t.hgap),-(t.y+t.height/2+t.vgap)),t}},function(t,e,n){var r=n(7),i={getId:function(t){return t.id||t.name},getPreH:function(t){return t.preH||0},getPreV:function(t){return t.preV||0},getHGap:function(t){return t.hgap||18},getVGap:function(t){return t.vgap||18},getChildren:function(t){return t.children},getHeight:function(t){return t.height||36},getWidth:function(t){var e=t.label||" ";return t.width||18*e.split("").length}};function o(t,e){var n=this;if(n.vgap=n.hgap=0,t instanceof o)return t;n.data=t;var r=e.getHGap(t),i=e.getVGap(t);return n.preH=e.getPreH(t),n.preV=e.getPreV(t),n.width=e.getWidth(t),n.height=e.getHeight(t),n.width+=n.preH,n.height+=n.preV,n.id=e.getId(t),n.x=n.y=0,n.depth=0,n.children||(n.children=[]),n.addGap(r,i),n}r.assign(o.prototype,{isRoot:function(){return 0===this.depth},isLeaf:function(){return 0===this.children.length},addGap:function(t,e){this.hgap+=t,this.vgap+=e,this.width+=2*t,this.height+=2*e},eachNode:function(t){for(var e,n=[this];e=n.shift();)t(e),n=e.children.concat(n)},DFTraverse:function(t){this.eachNode(t)},BFTraverse:function(t){for(var e,n=[this];e=n.shift();)t(e),n=n.concat(e.children)},getBoundingBox:function(){var t={left:Number.MAX_VALUE,top:Number.MAX_VALUE,width:0,height:0};return this.eachNode(function(e){t.left=Math.min(t.left,e.x),t.top=Math.min(t.top,e.y),t.width=Math.max(t.width,e.x+e.width),t.height=Math.max(t.height,e.y+e.height)}),t},translate:function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.eachNode(function(n){n.x+=t,n.y+=e,n.x+=n.preH,n.y+=n.preV})},right2left:function(){var t=this.getBoundingBox();this.eachNode(function(e){e.x=e.x-2*(e.x-t.left)-e.width}),this.translate(t.width,0)},bottom2top:function(){var t=this.getBoundingBox();this.eachNode(function(e){e.y=e.y-2*(e.y-t.top)-e.height}),this.translate(0,t.height)}}),t.exports=function(t,e,n){void 0===e&&(e={});var a,s=new o(t,e=r.assign({},i,e)),u=[s];if(!n&&!t.collapsed)for(;a=u.shift();)if(!a.data.collapsed){var c=e.getChildren(a.data),l=c?c.length:0;if(a.children=new Array(l),c&&l)for(var f=0;f-1;)i.call(t,s,1);return t}},function(t,e,n){"use strict";var r=n(2),i=n(0),o=n(9);e.a=function(t,e,n){if(!Object(i.a)(t)&&!Object(o.a)(t))return t;var a=n;return Object(r.a)(t,function(t,n){a=e(a,t,n)}),a}},function(t,e,n){"use strict";var r=n(1),i=n(21);e.a=function(t,e){var n=[];if(!Object(r.a)(t))return n;for(var o=-1,a=[],s=t.length;++oe[r])return 1;if(t[r]n?n:t}},function(t,e,n){"use strict";e.a=function(t,e){var n=e.toString(),r=n.indexOf(".");if(-1===r)return Math.round(t);var i=n.substr(r+1).length;return i>20&&(i=20),parseFloat(t.toFixed(i))}},function(t,e,n){"use strict";var r=n(5);e.a=function(t){return Object(r.a)(t)&&t%1!=0}},function(t,e,n){"use strict";var r=n(5);e.a=function(t){return Object(r.a)(t)&&t%2==0}},function(t,e,n){"use strict";var r=n(5),i=Number.isInteger?Number.isInteger:function(t){return Object(r.a)(t)&&t%1==0};e.a=i},function(t,e,n){"use strict";var r=n(5);e.a=function(t){return Object(r.a)(t)&&t<0}},function(t,e,n){"use strict";e.a=function(t,e,n){void 0===n&&(n=r);return Math.abs(t-e)0}},function(t,e,n){"use strict";var r=n(2),i=n(0),o=n(3);e.a=function(t,e){if(Object(i.a)(t)){var n,a,s=t[0];return n=Object(o.a)(e)?e(t[0]):t[0][e],Object(r.a)(t,function(t){(a=Object(o.a)(e)?e(t):t[e])>n&&(s=t,n=a)}),s}}},function(t,e,n){"use strict";var r=n(2),i=n(0),o=n(3);e.a=function(t,e){if(Object(i.a)(t)){var n,a,s=t[0];return n=Object(o.a)(e)?e(t[0]):t[0][e],Object(r.a)(t,function(t){(a=Object(o.a)(e)?e(t):t[e])e?(r&&(clearTimeout(r),r=null),s=c,a=t.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(u,l)),a};return c.cancel=function(){clearTimeout(r),s=0,r=i=o=null},c}},function(t,e,n){"use strict";var r=n(1);e.a=function(t){return Object(r.a)(t)?Array.prototype.slice.call(t):[]}},function(t,e,n){"use strict";var r={};e.a=function(t){return r[t=t||"g"]?r[t]+=1:r[t]=1,t+r[t]}},function(t,e,n){"use strict";e.a=function(){}},function(t,e,n){"use strict";e.a=function(t){return t}},function(t,e,n){"use strict";e.a=function(t){if(Object(r.a)(t))return 0;if(Object(i.a)(t))return t.length;return Object.keys(t).length};var r=n(6),i=n(1)},function(t,e,n){"use strict";var r=function(){function t(){this.map={}}return t.prototype.has=function(t){return void 0!==this.map[t]},t.prototype.get=function(t,e){var n=this.map[t];return void 0===n?e:n},t.prototype.set=function(t,e){this.map[t]=e},t.prototype.clear=function(){this.map={}},t.prototype.delete=function(t){delete this.map[t]},t.prototype.size=function(){return Object.keys(this.map).length},t}();e.a=r},function(t,e){function n(t,e,n,r){void 0===r&&(r=[]);var i=this;i.w=t||0,i.h=e||0,i.y=n||0,i.x=0,i.c=r||[],i.cs=r.length,i.prelim=0,i.mod=0,i.shift=0,i.change=0,i.tl=null,i.tr=null,i.el=null,i.er=null,i.msel=0,i.mser=0}function r(t,e){!function t(e,n,r){r?e.y+=n:e.x+=n,e.children.forEach(function(e){t(e,n,r)})}(t,-function t(e,n){var r=n?e.y:e.x;return e.children.forEach(function(e){r=Math.min(t(e,n),r)}),r}(t,e),e)}n.fromNode=function(t,e){if(!t)return null;var r=[];return t.children.forEach(function(t){r.push(n.fromNode(t,e))}),e?new n(t.height,t.width,t.x,r):new n(t.width,t.height,t.y,r)},t.exports=function(t,e){void 0===e&&(e={});var i=e.isHorizontal;function o(t){0===t.cs?(t.el=t,t.er=t,t.msel=t.mser=0):(t.el=t.c[0].el,t.msel=t.c[0].msel,t.er=t.c[t.cs-1].er,t.mser=t.c[t.cs-1].mser)}function a(t,e,n){for(var r=t.c[e-1],i=r.mod,o=t.c[e],a=o.mod;null!==r&&null!==o;){l(r)>n.low&&(n=n.nxt);var f=i+r.prelim+r.w-(a+o.prelim);f>0&&(a+=f,s(t,e,n.index,f));var h=l(r),d=l(o);h<=d&&null!==(r=c(r))&&(i+=r.mod),h>=d&&null!==(o=u(o))&&(a+=o.mod)}!r&&o?function(t,e,n,r){var i=t.c[0].el;i.tl=n;var o=r-n.mod-t.c[0].msel;i.mod+=o,i.prelim-=o,t.c[0].el=t.c[e].el,t.c[0].msel=t.c[e].msel}(t,e,o,a):r&&!o&&function(t,e,n,r){var i=t.c[e].er;i.tr=n;var o=r-n.mod-t.c[e].mser;i.mod+=o,i.prelim-=o,t.c[e].er=t.c[e-1].er,t.c[e].mser=t.c[e-1].mser}(t,e,r,i)}function s(t,e,n,r){t.c[e].mod+=r,t.c[e].msel+=r,t.c[e].mser+=r,function(t,e,n,r){if(n!==e-1){var i=e-n;t.c[n+1].shift+=r/i,t.c[e].shift-=r/i,t.c[e].change-=r-r/i}}(t,e,n,r)}function u(t){return 0===t.cs?t.tl:t.c[0]}function c(t){return 0===t.cs?t.tr:t.c[t.cs-1]}function l(t){return t.y+t.h}function f(t,e,n){for(;null!==n&&t>=n.low;)n=n.nxt;return{low:t,index:e,nxt:n}}!function t(e,n,r){void 0===r&&(r=0),n?(e.x=r,r+=e.width):(e.y=r,r+=e.height),e.children.forEach(function(e){t(e,n,r)})}(t,i);var h=n.fromNode(t,i);return function t(e){if(0!==e.cs){t(e.c[0]);for(var n=f(l(e.c[0].el),0,null),r=1;ro&&(o=e.depth);var n=e.children,r=n.length,i=new function(t,e){void 0===t&&(t=0),void 0===e&&(e=[]);var n=this;n.x=n.y=0,n.leftChild=n.rightChild=null,n.height=0,n.children=e}(e.height,[]);return n.forEach(function(e,n){var o=t(e);i.children.push(o),0===n&&(i.leftChild=o),n===r-1&&(i.rightChild=o)}),i.originNode=e,i.isLeaf=e.isLeaf(),i}(t);return function t(e){if(e.isLeaf||0===e.children.length)e.drawingDepth=o;else{var n=e.children.map(function(e){return t(e)}),r=Math.min.apply(null,n);e.drawingDepth=r-1}return e.drawingDepth}(a),function t(r){r.x=r.drawingDepth*e.rankSep,r.isLeaf?(r.y=0,n&&(r.y=n.y+n.height+e.nodeSep,r.originNode.parent!==n.originNode.parent&&(r.y+=e.subTreeSep)),n=r):(r.children.forEach(function(e){t(e)}),r.y=(r.leftChild.y+r.rightChild.y)/2)}(a),function t(e,n,r){r?(n.x=e.x,n.y=e.y):(n.x=e.y,n.y=e.x),e.children.forEach(function(e,i){t(e,n.children[i],r)})}(a,t,e.isHorizontal),t}},function(t,e,n){var r=n(11),i=n(117),o=n(30),a=n(7),s=["LR","RL","H"],u=s[0],c=function(t){function e(){return t.apply(this,arguments)||this}return function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}(e,t),e.prototype.execute=function(){var t=this.options,e=this.rootNode;t.isHorizontal=!0;var n=t.indent,r=void 0===n?20:n,a=t.dropCap,c=void 0===a||a,l=t.direction||u;if(l&&-1===s.indexOf(l))throw new TypeError("Invalid direction: "+l);if(l===s[0])i(e,r,c);else if(l===s[1])i(e,r,c),e.right2left();else if(l===s[2]){var f=o(e,t),h=f.left,d=f.right;i(h,r,c),h.right2left(),i(d,r,c);var p=h.getBoundingBox();d.translate(p.width,0),e.x=d.x-e.width/2}return e},e}(r),l={};t.exports=function(t,e){return e=a.assign({},l,e),new c(t,e).execute()}},function(t,e){t.exports=function(t,e,n){var r=null;t.eachNode(function(t){!function(t,e,n,r){var i="function"==typeof n?n(t):n*t.depth;if(!r)try{if(t.id===t.parent.children[0].id)return t.x+=i,void(t.y=e?e.y:0)}catch(t){}t.x+=i,t.y=e?e.y+e.height:0}(t,r,e,n),r=t})}},function(t,e,n){var r=n(11),i=n(119),o=n(17),a=n(7),s=function(t){function e(){return t.apply(this,arguments)||this}return function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}(e,t),e.prototype.execute=function(){return o(this.rootNode,this.options,i)},e}(r),u={};t.exports=function(t,e){return e=a.assign({},u,e),new s(t,e).execute()}},function(t,e,n){var r=n(7);var i={getSubTreeSep:function(){return 0}};t.exports=function(t,e){void 0===e&&(e={}),e=r.assign({},i,e),t.parent={x:0,width:0,height:0,y:0},t.BFTraverse(function(t){t.x=t.parent.x+t.parent.width}),t.parent=null,function t(e,n){var r=0;return e.children.length?e.children.forEach(function(e){r+=t(e,n)}):r=e.height,e._subTreeSep=n.getSubTreeSep(e.data),e.totalHeight=Math.max(e.height,r)+2*e._subTreeSep,e.totalHeight}(t,e),t.startY=0,t.y=t.totalHeight/2-t.height/2,t.eachNode(function(t){var e=t.children,n=e.length;if(n){var r=e[0];if(r.startY=t.startY+t._subTreeSep,1===n)r.y=t.y+t.height/2-r.height/2;else{r.y=r.startY+r.totalHeight/2-r.height/2;for(var i=1;ie.height)e.y=i.y+a/2-e.height/2;else if(1!==n.length||e.height>s){var u=e.y+(e.height-a)/2-i.y;n.forEach(function(t){t.translate(0,u)})}else e.y=(i.y+i.height/2+o.y+o.height/2)/2-e.height/2}}(t)}}])})},Bnag:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},Bu3x:function(t,e){t.exports=function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t}},BxdF:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.ForceAtlas2Layout=void 0;var o=n("W8mN"),a=n("8nGZ"),s=i(n("+vmx")),u=i(n("Qx/q")),c=i(n("hx0n")),l=function(t){function e(e){var n=t.call(this)||this;return n.center=[0,0],n.width=300,n.height=300,n.nodes=[],n.edges=[],n.kr=5,n.kg=1,n.mode="normal",n.preventOverlap=!1,n.dissuadeHubs=!1,n.barnesHut=void 0,n.maxIteration=0,n.ks=.1,n.ksmax=10,n.tao=.1,n.onLayoutEnd=function(){},n.prune=void 0,n.updateCfg(e),n}return r(e,t),e.prototype.getDefaultCfg=function(){return{}},e.prototype.execute=function(){var t=this.nodes,e=this.onLayoutEnd,n=this.prune,r=this.maxIteration;this.width||"undefined"==typeof window||(this.width=window.innerWidth),this.height||"undefined"==typeof window||(this.height=window.innerHeight);for(var i=[],o=t.length,s=0;s250&&(this.barnesHut=!0),void 0===this.prune&&o>100&&(this.prune=!0),0!==this.maxIteration||this.prune?0===this.maxIteration&&n&&(r=100,o<=200&&o>100?r=500:o>200&&(r=950),this.maxIteration=r):(r=250,o<=200&&o>100?r=1e3:o>200&&(r=1200),this.maxIteration=r),this.kr||(this.kr=50,o>100&&o<=500?this.kr=20:o>500&&(this.kr=1)),this.kg||(this.kg=20,o>100&&o<=500?this.kg=10:o>500&&(this.kg=1)),this.nodes=this.updateNodesByForces(i),e()},e.prototype.updateNodesByForces=function(t){for(var e=this.edges,n=this.maxIteration,r=this.nodes,i=e.filter(function(t){return(0,a.getEdgeTerminal)(t,"source")!==(0,a.getEdgeTerminal)(t,"target")}),o=r.length,s=i.length,u=[],c={},l={},f=[],h=0;h0;){for(y=0;y50||!c)?this.getOptRepGraForces(p,v,i):this.getRepGraForces(d,50,p,100,o,i);var b=this.updatePos(p,g,h,i);a=b.nodes,h=b.sg,d--,this.tick&&this.tick()}return a},e.prototype.getAttrForces=function(t,e,n,r,i,o,a,s){for(var u=this.nodes,c=this.preventOverlap,l=this.dissuadeHubs,f=this.mode,h=this.prune,d=0;d0&&(x=b,w=b),s[2*r[p.id]]+=x*m[0],s[2*r[v.id]]-=w*m[0],s[2*r[p.id]+1]+=x*m[1],s[2*r[v.id]+1]-=w*m[1]}}return s},e.prototype.getRepGraForces=function(t,e,n,r,i,o){for(var a=this.nodes,s=this.preventOverlap,u=this.kr,c=this.kg,l=this.center,f=this.prune,h=a.length,d=0;d0&&(y=u*(o[d]+1)*(o[p]+1)/v),n[2*d]-=y*g[0],n[2*p]+=y*g[0],n[2*d+1]-=y*g[1],n[2*p+1]+=y*g[1]}var m=[a[d].x-l[0],a[d].y-l[1]],b=Math.hypot(m[0],m[1]);m[0]=m[0]/b,m[1]=m[1]/b;var x=c*(o[d]+1);n[2*d]-=x*m[0],n[2*d+1]-=x*m[1]}return n},e.prototype.getOptRepGraForces=function(t,e,n){for(var r=this.nodes,i=this.kg,o=this.center,a=this.prune,s=r.length,l=9e10,f=-9e10,h=9e10,d=-9e10,p=0;p=f&&(f=r[p].x),r[p].x<=l&&(l=r[p].x),r[p].y>=d&&(d=r[p].y),r[p].y<=h&&(h=r[p].y));var g={xmid:(f+l)/2,ymid:(d+h)/2,length:Math.max(f-l,d-h),massCenter:o,mass:s},v=new u.default(g),y=new c.default(v);for(p=0;p1.5*b?1.5*b:n);for(p=0;p_?_:x)*t[2*p],S=x*t[2*p+1];i[p].x+=E,i[p].y+=S}return{nodes:i,sg:n}},e}(o.Base);e.ForceAtlas2Layout=l},C3Dj:function(t,e){t.exports=function(t,e){var n=e[0]-t[0],r=e[1]-t[1];return n*n+r*r}},CGoQ:function(t,e,n){t.exports=n("M5u/")},Cdrh:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){t.nodes().forEach(function(e){i(t.node(e))}),t.edges().forEach(function(e){i(t.edge(e))})},i=function(t){var e=t.width;t.width=t.height,t.height=e},o=function(t){t.nodes().forEach(function(e){a(t.node(e))}),t.edges().forEach(function(e){var n,r=t.edge(e);null===(n=r.points)||void 0===n||n.forEach(function(t){return a(t)}),r.hasOwnProperty("y")&&a(r)})},a=function(t){(null===t||void 0===t?void 0:t.y)&&(t.y=-t.y)},s=function(t){t.nodes().forEach(function(e){u(t.node(e))}),t.edges().forEach(function(e){var n,r=t.edge(e);null===(n=r.points)||void 0===n||n.forEach(function(t){return u(t)}),r.hasOwnProperty("x")&&u(r)})},u=function(t){var e=t.x;t.x=t.y,t.y=e};e.default={adjust:function(t){var e,n=null===(e=t.graph().rankdir)||void 0===e?void 0:e.toLowerCase();"lr"!==n&&"rl"!==n||r(t)},undo:function(t){var e,n=null===(e=t.graph().rankdir)||void 0===e?void 0:e.toLowerCase();"bt"!==n&&"rl"!==n||o(t),"lr"!==n&&"rl"!==n||(s(t),r(t))}}},Cjym:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("eQiA"),i=function(t,e,n,o,a,s,u){var c=t.children(u);if(null===c||void 0===c?void 0:c.length){var l=(0,r.addBorderNode)(t,"_bt"),f=(0,r.addBorderNode)(t,"_bb"),h=t.node(u);t.setParent(l,u),h.borderTop=l,t.setParent(f,u),h.borderBottom=f,null===c||void 0===c||c.forEach(function(r){i(t,e,n,o,a,s,r);var c=t.node(r),h=c.borderTop?c.borderTop:r,d=c.borderBottom?c.borderBottom:r,p=c.borderTop?o:2*o,g=h!==d?1:a-s[u]+1;t.setEdge(l,h,{minlen:g,weight:p,nestingEdge:!0}),t.setEdge(d,f,{minlen:g,weight:p,nestingEdge:!0})}),t.parent(u)||t.setEdge(e,l,{weight:0,minlen:a+s[u]})}else u!==e&&t.setEdge(e,u,{weight:0,minlen:n})},o=function(t){var e,n={},r=function(e,i){var o=t.children(e);null===o||void 0===o||o.forEach(function(t){return r(t,i+1)}),n[e]=i};return null===(e=t.children())||void 0===e||e.forEach(function(t){return r(t,1)}),n},a=function(t){var e=0;return t.edges().forEach(function(n){e+=t.edge(n).weight}),e};e.default={run:function(t){var e,n=(0,r.addDummyNode)(t,"root",{},"_root"),s=o(t),u=Math.max.apply(Math,Object.values(s));Math.abs(u)===1/0&&(u=1);var c=u-1,l=2*c+1;t.graph().nestingRoot=n,t.edges().forEach(function(e){t.edge(e).minlen*=l});var f=a(t)+1;null===(e=t.children())||void 0===e||e.forEach(function(e){i(t,n,l,f,c,s,e)}),t.graph().nodeRankFactor=l},cleanup:function(t){var e=t.graph();e.nestingRoot&&t.removeNode(e.nestingRoot),delete e.nestingRoot,t.edges().forEach(function(e){t.edge(e).nestingEdge&&t.removeEdgeObj(e)})}}},Ckr6:function(t,e,n){"use strict";n.r(e);var r=function(t,e){var n,r=1;function i(){var i,o,a=n.length,s=0,u=0;for(i=0;i=(o=(g+y)/2))?g=o:y=o,(l=n>=(a=(v+m)/2))?v=a:m=a,i=d,!(d=d[f=l<<1|c]))return i[f]=p,t;if(s=+t._x.call(null,d.data),u=+t._y.call(null,d.data),e===s&&n===u)return p.next=d,i?i[f]=p:t._root=p,t;do{i=i?i[f]=new Array(4):t._root=new Array(4),(c=e>=(o=(g+y)/2))?g=o:y=o,(l=n>=(a=(v+m)/2))?v=a:m=a}while((f=l<<1|c)==(h=(u>=a)<<1|s>=o));return i[h]=d,i[f]=p,t}var o=function(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i};function a(t){return t[0]}function s(t){return t[1]}function u(t,e,n){var r=new c(null==e?a:e,null==n?s:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function c(t,e,n,r,i,o){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function l(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var f=u.prototype=c.prototype;f.copy=function(){var t,e,n=new c(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=l(r),n;for(t=[{source:r,target:n._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=new Array(4)}):r.target[i]=l(e));return n},f.add=function(t){const e=+this._x.call(null,t),n=+this._y.call(null,t);return i(this.cover(e,n),e,n,t)},f.addAll=function(t){var e,n,r,o,a=t.length,s=new Array(a),u=new Array(a),c=1/0,l=1/0,f=-1/0,h=-1/0;for(n=0;nf&&(f=r),oh&&(h=o));if(c>f||l>h)return this;for(this.cover(c,l).cover(f,h),n=0;nt||t>=i||r>e||e>=o;)switch(s=(ed||(a=c.y0)>p||(s=c.x1)=m)<<1|t>=y)&&(c=g[g.length-1],g[g.length-1]=g[g.length-1-l],g[g.length-1-l]=c)}else{var b=t-+this._x.call(null,v.data),x=e-+this._y.call(null,v.data),w=b*b+x*x;if(w=(s=(p+v)/2))?p=s:v=s,(l=a>=(u=(g+y)/2))?g=u:y=u,e=d,!(d=d[f=l<<1|c]))return this;if(!d.length)break;(e[f+1&3]||e[f+2&3]||e[f+3&3])&&(n=e,h=f)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):e?(i?e[f]=i:delete e[f],(d=e[0]||e[1]||e[2]||e[3])&&d===(e[3]||e[2]||e[1]||e[0])&&!d.length&&(n?n[h]=d:this._root=d),this):(this._root=i,this)},f.removeAll=function(t){for(var e=0,n=t.length;el+p||of+p||ac.index){var g=l-s.x-s.vx,y=f-s.y-s.vy,m=g*g+y*y;mt.r&&(t.r=t[e].r)}function c(){if(e){var r,i,o=e.length;for(n=new Array(o),r=0;r[s(t,e,r),t]));for(a=0,i=new Array(c);a{}};function w(){for(var t,e=0,n=arguments.length,r={};e=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})}(t+"",r),o=-1,a=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++o0)for(var n,r,i=new Array(n),o=0;o(t=(1664525*t+1013904223)%k)/k}();function f(){h(),c.call("tick",e),n1?(null==n?s.delete(t):s.set(t,p(n)),e):s.get(t)},find:function(e,n,r){var i,o,a,s,u,c=0,l=t.length;for(null==r?r=1/0:r*=r,c=0;c1?(c.on(t,n),e):c.on(t)}}},P=function(){var t,e,n,r,i,o=h(-30),a=1,s=1/0,c=.81;function l(n){var i,o=t.length,a=u(t,A,C).visitAfter(p);for(r=n,i=0;i=s)){(t.data!==e||t.next)&&(0===f&&(g+=(f=d(n))*f),0===h&&(g+=(h=d(n))*h),ge.x&&(_=e.x),E>e.y&&(E=e.y)}),p.edges().forEach(function(t){var e;null===(e=p.edge(t).points)||void 0===e||e.forEach(function(t){_>t.x&&(_=t.x),E>t.y&&(E=t.y)})}),w[0]=l[0]-_,w[1]=l[1]-E}if(f){var S=this.focusNode,M=this.ranksep,O=this.getRadialPos,k=(0,a.isString)(S)?S:null===S||void 0===S?void 0:S.id,A=k?null===(t=p.node(k))||void 0===t?void 0:t._rank:0,C=[],I="LR"===s||"RL"===s,T=I?"y":"x",N=I?"height":"width",P=1/0,j=-1/0;p.nodes().forEach(function(t){var e=p.node(t),n=r.findIndex(function(e){return e.id===t});if(r[n]){var i=v(r[n]);if(0===A)C[e._rank]||(C[e._rank]={nodes:[],totalWidth:0,maxSize:-1/0}),C[e._rank].nodes.push(t),C[e._rank].totalWidth+=2*i+e[N],C[e._rank].maxSizej&&(j=u)}});var D=M||50,L={},R=(j-P)/.9,B=[.5*(P+j-R),.5*(P+j+R)],G=function(t,e,n,i){void 0===n&&(n=-1/0),void 0===i&&(i=[0,1]);var o=n;return t.forEach(function(t){var n=p.node(t);L[t]=e;var a=O(n[T],B,R,e,i),s=a.x,u=a.y,c=r.findIndex(function(e){return e.id===t});if(r[c]){r[c].x=s+w[0],r[c].y=u+w[1],r[c]._order=n._order;var l=g(r[c]);ol&&(l=S),Mh&&(h=O),kp&&(p=A),e[0]=.5*(c+l),e[1]=.5*(f+h),e[2]=.5*(d+p),o[0]=.5*(l-c),o[1]=.5*(h-f),o[2]=.5*(p-d),this.min[0]=c,this.min[1]=f,this.min[2]=d,this.max[0]=l,this.max[1]=h,this.max[2]=p}},{key:"intersects",value:function(t){var e=this.getMax(),n=this.getMin(),r=t.getMax(),i=t.getMin();return n[0]<=r[0]&&e[0]>=i[0]&&n[1]<=r[1]&&e[1]>=i[1]&&n[2]<=r[2]&&e[2]>=i[2]}},{key:"containsPoint",value:function(t){var e=this.getMin(),n=this.getMax();return!(t[0]n[0]||t[1]n[1]||t[2]n[2])}},{key:"getNegativeFarPoint",value:function(t){return 273===t.pnVertexFlag?s.e.copy(s.e.create(),this.min):272===t.pnVertexFlag?s.e.fromValues(this.min[0],this.min[1],this.max[2]):257===t.pnVertexFlag?s.e.fromValues(this.min[0],this.max[1],this.min[2]):256===t.pnVertexFlag?s.e.fromValues(this.min[0],this.max[1],this.max[2]):17===t.pnVertexFlag?s.e.fromValues(this.max[0],this.min[1],this.min[2]):16===t.pnVertexFlag?s.e.fromValues(this.max[0],this.min[1],this.max[2]):1===t.pnVertexFlag?s.e.fromValues(this.max[0],this.max[1],this.min[2]):s.e.fromValues(this.max[0],this.max[1],this.max[2])}},{key:"getPositiveFarPoint",value:function(t){return 273===t.pnVertexFlag?s.e.copy(s.e.create(),this.max):272===t.pnVertexFlag?s.e.fromValues(this.max[0],this.max[1],this.min[2]):257===t.pnVertexFlag?s.e.fromValues(this.max[0],this.min[1],this.max[2]):256===t.pnVertexFlag?s.e.fromValues(this.max[0],this.min[1],this.min[2]):17===t.pnVertexFlag?s.e.fromValues(this.min[0],this.max[1],this.max[2]):16===t.pnVertexFlag?s.e.fromValues(this.min[0],this.max[1],this.min[2]):1===t.pnVertexFlag?s.e.fromValues(this.min[0],this.min[1],this.max[2]):s.e.fromValues(this.min[0],this.min[1],this.min[2])}}]),t}()},EbDI:function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports},Ej2v:function(t,e){t.exports=function(){var t=new Float32Array(2);return t[0]=0,t[1]=0,t}},EjHI:function(t,e,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;nt;n--)for(i=0;i=t&&(this.additionColumn[i]+=e);for(n=0;nt;n--)this.cells[i][n+e]=r(r({},this.cells[i][n]),{dx:i,dy:n+e,x:i*this.CELL_W,y:(n+e)*this.CELL_H}),this.cells[i][n]={dx:i,dy:n,x:i*this.CELL_W,y:n*this.CELL_H,occupied:!1,node:null};for(n=0;n=t&&(this.additionRow[n]+=e);for(i=0;i=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function P(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nf||d<0||p>h||p<0))return c(e.pickingFBO,function(){0===(r=u({x:Math.round(d),y:Math.round(h-(a+1)*window.devicePixelRatio),width:1,height:1,data:new Uint8Array(4),framebuffer:e.pickingFBO}))[0]&&0===r[1]&&0===r[2]||(i=Object(I.a)(r),e.highlightEnabled&&e.highlightPickedFeature(r,n))}),i}}return M()(t,[{key:"enableHighlight",value:function(t){this.highlightEnabled=t}},{key:"setHighlightColor",value:function(t){this.highlightColor=t}},{key:"highlightPickedFeature",value:function(t,e){if(t){var n,r=N(e.getScene().getEntities());try{for(r.s();!(n=r.n()).done;){var i=n.value,o=this.mesh.getComponentByEntity(i).material;o.setUniform("u_PickingStage",j.HIGHLIGHT),o.setUniform("u_PickingColor",[t[0],t[1],t[2]]),o.setUniform("u_HighlightColor",this.highlightColor)}}catch(t){r.e(t)}finally{r.f()}}}}]),t}(),p.IDENTIFIER="PixelPicking Pass",c=g,l=k()(c.prototype,"engine",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=k()(c.prototype,"resourcePool",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=k()(c.prototype,"renderPassFactory",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=k()(c.prototype,"mesh",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=c))||u)},FoOO:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"GADDIAsync",{enumerable:!0,get:function(){return r.GADDIAsync}}),Object.defineProperty(e,"connectedComponentAsync",{enumerable:!0,get:function(){return r.connectedComponentAsync}}),e.default=void 0,Object.defineProperty(e,"detectAllCyclesAsync",{enumerable:!0,get:function(){return r.detectAllCyclesAsync}}),Object.defineProperty(e,"detectAllDirectedCycleAsync",{enumerable:!0,get:function(){return r.detectAllDirectedCycleAsync}}),Object.defineProperty(e,"detectAllUndirectedCycleAsync",{enumerable:!0,get:function(){return r.detectAllUndirectedCycleAsync}}),Object.defineProperty(e,"detectCycleAsync",{enumerable:!0,get:function(){return r.detectCycleAsync}}),e.detectDirectedCycleAsync=void 0,Object.defineProperty(e,"dijkstraAsync",{enumerable:!0,get:function(){return r.dijkstraAsync}}),Object.defineProperty(e,"findAllPathAsync",{enumerable:!0,get:function(){return r.findAllPathAsync}}),Object.defineProperty(e,"findShortestPathAsync",{enumerable:!0,get:function(){return r.findShortestPathAsync}}),Object.defineProperty(e,"floydWarshallAsync",{enumerable:!0,get:function(){return r.floydWarshallAsync}}),Object.defineProperty(e,"getAdjMatrixAsync",{enumerable:!0,get:function(){return r.getAdjMatrixAsync}}),Object.defineProperty(e,"getDegreeAsync",{enumerable:!0,get:function(){return r.getDegreeAsync}}),Object.defineProperty(e,"getInDegreeAsync",{enumerable:!0,get:function(){return r.getInDegreeAsync}}),Object.defineProperty(e,"getNeighborsAsync",{enumerable:!0,get:function(){return r.getNeighborsAsync}}),Object.defineProperty(e,"getOutDegreeAsync",{enumerable:!0,get:function(){return r.getOutDegreeAsync}}),Object.defineProperty(e,"labelPropagationAsync",{enumerable:!0,get:function(){return r.labelPropagationAsync}}),Object.defineProperty(e,"louvainAsync",{enumerable:!0,get:function(){return r.louvainAsync}}),Object.defineProperty(e,"minimumSpanningTreeAsync",{enumerable:!0,get:function(){return r.minimumSpanningTreeAsync}}),Object.defineProperty(e,"pageRankAsync",{enumerable:!0,get:function(){return r.pageRankAsync}});var r=n("6Y31"),i=r.detectCycleAsync;e.detectDirectedCycleAsync=i;var o={getAdjMatrixAsync:r.getAdjMatrixAsync,connectedComponentAsync:r.connectedComponentAsync,getDegreeAsync:r.getDegreeAsync,getInDegreeAsync:r.getInDegreeAsync,getOutDegreeAsync:r.getOutDegreeAsync,detectCycleAsync:r.detectCycleAsync,detectDirectedCycleAsync:i,detectAllCyclesAsync:r.detectAllCyclesAsync,detectAllDirectedCycleAsync:r.detectAllDirectedCycleAsync,detectAllUndirectedCycleAsync:r.detectAllUndirectedCycleAsync,dijkstraAsync:r.dijkstraAsync,findAllPathAsync:r.findAllPathAsync,findShortestPathAsync:r.findShortestPathAsync,floydWarshallAsync:r.floydWarshallAsync,labelPropagationAsync:r.labelPropagationAsync,louvainAsync:r.louvainAsync,minimumSpanningTreeAsync:r.minimumSpanningTreeAsync,pageRankAsync:r.pageRankAsync,getNeighborsAsync:r.getNeighborsAsync,GADDIAsync:r.GADDIAsync};e.default=o},FscW:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t,e){var n=t.nodes,r=t.edges,i=[],o={};if(!n)throw new Error("invalid nodes data!");return n&&n.forEach(function(t,e){o[t.id]=e,i.push([])}),r&&r.forEach(function(t){var n=t.source,r=t.target,a=o[n],s=o[r];!a&&0!==a||!s&&0!==s||(i[a][s]=1,e||(i[s][a]=1))}),i};e.default=r},GPwj:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clusterBundle=e.clusterCode=e.fruchtermanBundle=e.fruchtermanCode=void 0,e.fruchtermanCode="\nimport { globalInvocationID } from 'g-webgpu';\nconst MAX_EDGE_PER_VERTEX;\nconst VERTEX_COUNT;\n@numthreads(1, 1, 1)\nclass Fruchterman {\n @in @out\n u_Data: vec4[];\n @in\n u_K: float;\n @in\n u_K2: float;\n \n @in\n u_Center: vec2;\n @in\n u_Gravity: float;\n @in\n u_ClusterGravity: float;\n @in\n u_Speed: float;\n @in\n u_MaxDisplace: float;\n @in\n u_Clustering: float;\n @in\n u_AttributeArray: vec4[];\n @in\n u_ClusterCenters: vec4[];\n calcRepulsive(i: int, currentNode: vec4): vec2 {\n let dx = 0, dy = 0;\n for (let j = 0; j < VERTEX_COUNT; j++) {\n if (i != j) {\n const nextNode = this.u_Data[j];\n const xDist = currentNode[0] - nextNode[0];\n const yDist = currentNode[1] - nextNode[1];\n const dist = (xDist * xDist + yDist * yDist) + 0.01;\n let param = this.u_K2 / dist;\n \n if (dist > 0.0) {\n dx += param * xDist;\n dy += param * yDist;\n if (xDist == 0 && yDist == 0) {\n const sign = i < j ? 1 : -1;\n dx += param * sign;\n dy += param * sign;\n }\n }\n }\n }\n return [dx, dy];\n }\n calcGravity(currentNode: vec4, nodeAttributes: vec4): vec2 { // \n let dx = 0, dy = 0;\n const vx = currentNode[0] - this.u_Center[0];\n const vy = currentNode[1] - this.u_Center[1];\n const gf = 0.01 * this.u_K * this.u_Gravity;\n dx = gf * vx;\n dy = gf * vy;\n if (this.u_Clustering == 1) {\n const clusterIdx = int(nodeAttributes[0]);\n const center = this.u_ClusterCenters[clusterIdx];\n const cvx = currentNode[0] - center[0];\n const cvy = currentNode[1] - center[1];\n const dist = sqrt(cvx * cvx + cvy * cvy) + 0.01;\n const parma = this.u_K * this.u_ClusterGravity / dist;\n dx += parma * cvx;\n dy += parma * cvy;\n }\n return [dx, dy];\n }\n calcAttractive(i: int, currentNode: vec4): vec2 {\n let dx = 0, dy = 0;\n const arr_offset = int(floor(currentNode[2] + 0.5));\n const length = int(floor(currentNode[3] + 0.5));\n const node_buffer: vec4;\n for (let p = 0; p < MAX_EDGE_PER_VERTEX; p++) {\n if (p >= length) break;\n const arr_idx = arr_offset + p;\n // when arr_idx % 4 == 0 update currentNodedx_buffer\n const buf_offset = arr_idx - arr_idx / 4 * 4;\n if (p == 0 || buf_offset == 0) {\n node_buffer = this.u_Data[int(arr_idx / 4)];\n }\n const float_j = buf_offset == 0 ? node_buffer[0] :\n buf_offset == 1 ? node_buffer[1] :\n buf_offset == 2 ? node_buffer[2] :\n node_buffer[3];\n const nextNode = this.u_Data[int(float_j)];\n const xDist = currentNode[0] - nextNode[0];\n const yDist = currentNode[1] - nextNode[1];\n const dist = sqrt(xDist * xDist + yDist * yDist) + 0.01;\n let attractiveF = dist / this.u_K;\n \n if (dist > 0.0) {\n dx -= xDist * attractiveF;\n dy -= yDist * attractiveF;\n if (xDist == 0 && yDist == 0) {\n const sign = i < int(float_j) ? 1 : -1;\n dx -= sign * attractiveF;\n dy -= sign * attractiveF;\n }\n }\n }\n return [dx, dy];\n }\n @main\n compute() {\n const i = globalInvocationID.x;\n const currentNode = this.u_Data[i];\n let dx = 0, dy = 0;\n if (i >= VERTEX_COUNT) {\n this.u_Data[i] = currentNode;\n return;\n }\n\n // [gravity, fx, fy, 0]\n const nodeAttributes = this.u_AttributeArray[i];\n\n if (nodeAttributes[1] != 0 && nodeAttributes[2] != 0) {\n // the node is fixed\n this.u_Data[i] = [\n nodeAttributes[1],\n nodeAttributes[2],\n currentNode[2],\n currentNode[3]\n ];\n return;\n }\n\n // repulsive\n const repulsive = this.calcRepulsive(i, currentNode);\n dx += repulsive[0];\n dy += repulsive[1];\n // attractive\n const attractive = this.calcAttractive(i, currentNode);\n dx += attractive[0];\n dy += attractive[1];\n // gravity\n const gravity = this.calcGravity(currentNode, nodeAttributes);\n dx -= gravity[0];\n dy -= gravity[1];\n // speed\n dx *= this.u_Speed;\n dy *= this.u_Speed;\n\n // move\n const distLength = sqrt(dx * dx + dy * dy);\n if (distLength > 0.0) {\n const limitedDist = min(this.u_MaxDisplace * this.u_Speed, distLength);\n this.u_Data[i] = [\n currentNode[0] + dx / distLength * limitedDist,\n currentNode[1] + dy / distLength * limitedDist,\n currentNode[2],\n currentNode[3]\n ];\n }\n }\n}\n",e.fruchtermanBundle='{"shaders":{"WGSL":"import \\"GLSL.std.450\\" as std;\\n\\n\\n# var gWebGPUDebug : bool = false;\\n# var gWebGPUDebugOutput : vec4 = vec4(0.0);\\n\\n[[builtin global_invocation_id]] var globalInvocationID : vec3;\\n# [[builtin work_group_size]] var workGroupSize : vec3;\\n# [[builtin work_group_id]] var workGroupID : vec3;\\n[[builtin local_invocation_id]] var localInvocationID : vec3;\\n# [[builtin num_work_groups]] var numWorkGroups : vec3;\\n[[builtin local_invocation_idx]] var localInvocationIndex : u32;\\n\\ntype GWebGPUParams = [[block]] struct {\\n [[offset 0]] u_K : f32;\\n [[offset 4]] u_K2 : f32;\\n [[offset 8]] u_Center : vec2;\\n [[offset 16]] u_Gravity : f32;\\n [[offset 20]] u_ClusterGravity : f32;\\n [[offset 24]] u_Speed : f32;\\n [[offset 28]] u_MaxDisplace : f32;\\n [[offset 32]] u_Clustering : f32;\\n};\\n[[binding 0, set 0]] var gWebGPUUniformParams : GWebGPUParams;\\ntype GWebGPUBuffer0 = [[block]] struct {\\n [[offset 0]] u_Data : [[stride 16]] array>;\\n};\\n[[binding 1, set 0]] var gWebGPUBuffer0 : GWebGPUBuffer0;\\ntype GWebGPUBuffer1 = [[block]] struct {\\n [[offset 0]] u_AttributeArray : [[stride 16]] array>;\\n};\\n[[binding 2, set 0]] var gWebGPUBuffer1 : GWebGPUBuffer1;\\ntype GWebGPUBuffer2 = [[block]] struct {\\n [[offset 0]] u_ClusterCenters : [[stride 16]] array>;\\n};\\n[[binding 3, set 0]] var gWebGPUBuffer2 : GWebGPUBuffer2;\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nfn calcRepulsive(i : i32, currentNode : vec4) -> vec2 {var dx : f32 = 0.0;\\nvar dy : f32 = 0.0;\\nfor (var j : i32 = 0; j < __DefineValuePlaceholder__VERTEX_COUNT; j = j + 1) {if (i != j) {var nextNode : vec4 = gWebGPUBuffer0.u_Data[j];\\nvar xDist : f32 = currentNode.x - nextNode.x;\\nvar yDist : f32 = currentNode.y - nextNode.y;\\nvar dist : f32 = ((xDist * xDist) + (yDist * yDist)) + 0.01;\\nvar param : f32 = gWebGPUUniformParams.u_K2 / dist;\\nif (dist > 0.0) {dx = dx + param * xDist;\\ndy = dy + param * yDist;\\nif ((xDist == 0.0) && (yDist == 0.0)) {var sign : f32 = select(1.0, -1.0, i < j);\\ndx = dx + param * std::sign;\\ndy = dy + param * std::sign;}}}}\\nreturn vec2(dx, dy);}\\nfn calcGravity(currentNode : vec4, nodeAttributes : vec4) -> vec2 {var dx : f32 = 0.0;\\nvar dy : f32 = 0.0;\\nvar vx : f32 = currentNode.x - gWebGPUUniformParams.u_Center.x;\\nvar vy : f32 = currentNode.y - gWebGPUUniformParams.u_Center.y;\\nvar gf : f32 = (0.01 * gWebGPUUniformParams.u_K) * gWebGPUUniformParams.u_Gravity;\\ndx = gf * vx;\\ndy = gf * vy;\\nif (gWebGPUUniformParams.u_Clustering == 1.0) {var clusterIdx : i32 = i32(nodeAttributes.x);\\nvar center : vec4 = gWebGPUBuffer2.u_ClusterCenters[clusterIdx];\\nvar cvx : f32 = currentNode.x - center.x;\\nvar cvy : f32 = currentNode.y - center.y;\\nvar dist : f32 = std::sqrt((cvx * cvx) + (cvy * cvy)) + 0.01;\\nvar parma : f32 = (gWebGPUUniformParams.u_K * gWebGPUUniformParams.u_ClusterGravity) / dist;\\ndx = dx + parma * cvx;\\ndy = dy + parma * cvy;}\\nreturn vec2(dx, dy);}\\nfn calcAttractive(i : i32, currentNode : vec4) -> vec2 {var dx : f32 = 0.0;\\nvar dy : f32 = 0.0;\\nvar arr_offset : i32 = i32(std::floor(currentNode.z + 0.5));\\nvar length : i32 = i32(std::floor(currentNode.w + 0.5));\\nvar node_buffer : vec4;\\nfor (var p : i32 = 0; p < __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX; p = p + 1) {if (p >= length) {break;}\\nvar arr_idx : i32 = arr_offset + i32(p);\\nvar buf_offset : i32 = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = gWebGPUBuffer0.u_Data[i32(arr_idx / 4)];}\\nvar float_j : f32 = select(node_buffer.x, select(node_buffer.y, select(node_buffer.z, node_buffer.w, buf_offset == 2), buf_offset == 1), buf_offset == 0);\\nvar nextNode : vec4 = gWebGPUBuffer0.u_Data[i32(float_j)];\\nvar xDist : f32 = currentNode.x - nextNode.x;\\nvar yDist : f32 = currentNode.y - nextNode.y;\\nvar dist : f32 = std::sqrt((xDist * xDist) + (yDist * yDist)) + 0.01;\\nvar attractiveF : f32 = dist / gWebGPUUniformParams.u_K;\\nif (dist > 0.0) {dx = dx - xDist * attractiveF;\\ndy = dy - yDist * attractiveF;\\nif ((xDist == 0.0) && (yDist == 0.0)) {var sign : f32 = select(1.0, -1.0, i < i32(float_j));\\ndx = dx - std::sign * attractiveF;\\ndy = dy - std::sign * attractiveF;}}}\\nreturn vec2(dx, dy);}\\nfn main() -> void {var i : i32 = globalInvocationID.x;\\nvar currentNode : vec4 = gWebGPUBuffer0.u_Data[i];\\nvar dx : f32 = 0.0;\\nvar dy : f32 = 0.0;\\nif (i >= __DefineValuePlaceholder__VERTEX_COUNT) {gWebGPUBuffer0.u_Data[i] = currentNode;\\nreturn ;}\\nvar nodeAttributes : vec4 = gWebGPUBuffer1.u_AttributeArray[i];\\nif ((nodeAttributes.y != 0.0) && (nodeAttributes.z != 0.0)) {gWebGPUBuffer0.u_Data[i] = vec4(nodeAttributes.y, nodeAttributes.z, currentNode.z, currentNode.w);\\nreturn ;}\\nvar repulsive : vec2 = calcRepulsive(i, currentNode);\\ndx = dx + repulsive.x;\\ndy = dy + repulsive.y;\\nvar attractive : vec2 = calcAttractive(i, currentNode);\\ndx = dx + attractive.x;\\ndy = dy + attractive.y;\\nvar gravity : vec2 = calcGravity(currentNode, nodeAttributes);\\ndx = dx - gravity.x;\\ndy = dy - gravity.y;\\ndx = dx * gWebGPUUniformParams.u_Speed;\\ndy = dy * gWebGPUUniformParams.u_Speed;\\nvar distLength : f32 = std::sqrt((dx * dx) + (dy * dy));\\nif (distLength > 0.0) {var limitedDist : f32 = std::min(gWebGPUUniformParams.u_MaxDisplace * gWebGPUUniformParams.u_Speed, distLength);\\ngWebGPUBuffer0.u_Data[i] = vec4(currentNode.x + ((dx / distLength) * limitedDist), currentNode.y + ((dy / distLength) * limitedDist), currentNode.z, currentNode.w);}\\nreturn;}\\n\\nentry_point compute as \\"main\\" = main;\\n","GLSL450":"\\n\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\nivec3 globalInvocationID = ivec3(gl_GlobalInvocationID);\\nivec3 workGroupSize = ivec3(1,1,1);\\nivec3 workGroupID = ivec3(gl_WorkGroupID);\\nivec3 localInvocationID = ivec3(gl_LocalInvocationID);\\nivec3 numWorkGroups = ivec3(gl_NumWorkGroups);\\nint localInvocationIndex = int(gl_LocalInvocationIndex);\\n\\nlayout(std140, set = 0, binding = 0) uniform GWebGPUParams {\\n float u_K;\\n float u_K2;\\n vec2 u_Center;\\n float u_Gravity;\\n float u_ClusterGravity;\\n float u_Speed;\\n float u_MaxDisplace;\\n float u_Clustering;\\n} gWebGPUUniformParams;\\nlayout(std430, set = 0, binding = 1) buffer GWebGPUBuffer0 {\\n vec4 u_Data[];\\n} gWebGPUBuffer0;\\n\\nlayout(std430, set = 0, binding = 2) buffer readonly GWebGPUBuffer1 {\\n vec4 u_AttributeArray[];\\n} gWebGPUBuffer1;\\n\\nlayout(std430, set = 0, binding = 3) buffer readonly GWebGPUBuffer2 {\\n vec4 u_ClusterCenters[];\\n} gWebGPUBuffer2;\\n\\n\\n\\n#define MAX_EDGE_PER_VERTEX __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\nlayout (\\n local_size_x = 1,\\n local_size_y = 1,\\n local_size_z = 1\\n) in;\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nvec2 calcRepulsive(int i, vec4 currentNode) {float dx = 0.0;\\nfloat dy = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {if (i != j) {vec4 nextNode = gWebGPUBuffer0.u_Data[j];\\nfloat xDist = currentNode.x - nextNode.x;\\nfloat yDist = currentNode.y - nextNode.y;\\nfloat dist = ((xDist * xDist) + (yDist * yDist)) + 0.01;\\nfloat param = gWebGPUUniformParams.u_K2 / dist;\\nif (dist > 0.0) {dx += param * xDist;\\ndy += param * yDist;\\nif ((xDist == 0.0) && (yDist == 0.0)) {float sign = (i < j) ? (1.0) : (-1.0);\\ndx += param * sign;\\ndy += param * sign;}}}}\\nreturn vec2(dx, dy);}\\nvec2 calcGravity(vec4 currentNode, vec4 nodeAttributes) {float dx = 0.0;\\nfloat dy = 0.0;\\nfloat vx = currentNode.x - gWebGPUUniformParams.u_Center.x;\\nfloat vy = currentNode.y - gWebGPUUniformParams.u_Center.y;\\nfloat gf = (0.01 * gWebGPUUniformParams.u_K) * gWebGPUUniformParams.u_Gravity;\\ndx = gf * vx;\\ndy = gf * vy;\\nif (gWebGPUUniformParams.u_Clustering == 1.0) {int clusterIdx = int(nodeAttributes.x);\\nvec4 center = gWebGPUBuffer2.u_ClusterCenters[clusterIdx];\\nfloat cvx = currentNode.x - center.x;\\nfloat cvy = currentNode.y - center.y;\\nfloat dist = sqrt((cvx * cvx) + (cvy * cvy)) + 0.01;\\nfloat parma = (gWebGPUUniformParams.u_K * gWebGPUUniformParams.u_ClusterGravity) / dist;\\ndx += parma * cvx;\\ndy += parma * cvy;}\\nreturn vec2(dx, dy);}\\nvec2 calcAttractive(int i, vec4 currentNode) {float dx = 0.0;\\nfloat dy = 0.0;\\nint arr_offset = int(floor(currentNode.z + 0.5));\\nint length = int(floor(currentNode.w + 0.5));\\nvec4 node_buffer;\\nfor (int p = 0; p < MAX_EDGE_PER_VERTEX; p++) {if (p >= length) {break;}\\nint arr_idx = arr_offset + int(p);\\nint buf_offset = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = gWebGPUBuffer0.u_Data[int(arr_idx / 4)];}\\nfloat float_j = (buf_offset == 0) ? (node_buffer.x) : ((buf_offset == 1) ? (node_buffer.y) : ((buf_offset == 2) ? (node_buffer.z) : (node_buffer.w)));\\nvec4 nextNode = gWebGPUBuffer0.u_Data[int(float_j)];\\nfloat xDist = currentNode.x - nextNode.x;\\nfloat yDist = currentNode.y - nextNode.y;\\nfloat dist = sqrt((xDist * xDist) + (yDist * yDist)) + 0.01;\\nfloat attractiveF = dist / gWebGPUUniformParams.u_K;\\nif (dist > 0.0) {dx -= xDist * attractiveF;\\ndy -= yDist * attractiveF;\\nif ((xDist == 0.0) && (yDist == 0.0)) {float sign = (i < int(float_j)) ? (1.0) : (-1.0);\\ndx -= sign * attractiveF;\\ndy -= sign * attractiveF;}}}\\nreturn vec2(dx, dy);}\\nvoid main() {int i = globalInvocationID.x;\\nvec4 currentNode = gWebGPUBuffer0.u_Data[i];\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nif (i >= VERTEX_COUNT) {gWebGPUBuffer0.u_Data[i] = currentNode;\\nreturn ;}\\nvec4 nodeAttributes = gWebGPUBuffer1.u_AttributeArray[i];\\nif ((nodeAttributes.y != 0.0) && (nodeAttributes.z != 0.0)) {gWebGPUBuffer0.u_Data[i] = vec4(nodeAttributes.y, nodeAttributes.z, currentNode.z, currentNode.w);\\nreturn ;}\\nvec2 repulsive = calcRepulsive(i, currentNode);\\ndx += repulsive.x;\\ndy += repulsive.y;\\nvec2 attractive = calcAttractive(i, currentNode);\\ndx += attractive.x;\\ndy += attractive.y;\\nvec2 gravity = calcGravity(currentNode, nodeAttributes);\\ndx -= gravity.x;\\ndy -= gravity.y;\\ndx *= gWebGPUUniformParams.u_Speed;\\ndy *= gWebGPUUniformParams.u_Speed;\\nfloat distLength = sqrt((dx * dx) + (dy * dy));\\nif (distLength > 0.0) {float limitedDist = min(gWebGPUUniformParams.u_MaxDisplace * gWebGPUUniformParams.u_Speed, distLength);\\ngWebGPUBuffer0.u_Data[i] = vec4(currentNode.x + ((dx / distLength) * limitedDist), currentNode.y + ((dy / distLength) * limitedDist), currentNode.z, currentNode.w);}}\\n","GLSL100":"\\n\\nfloat epsilon = 0.00001;\\nvec2 addrTranslation_1Dto2D(float address1D, vec2 texSize) {\\n vec2 conv_const = vec2(1.0 / texSize.x, 1.0 / (texSize.x * texSize.y));\\n vec2 normAddr2D = float(address1D) * conv_const;\\n return vec2(fract(normAddr2D.x + epsilon), normAddr2D.y);\\n}\\n\\nvoid barrier() {}\\n \\n\\nuniform vec2 u_OutputTextureSize;\\nuniform int u_OutputTexelCount;\\nvarying vec2 v_TexCoord;\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\n#define MAX_EDGE_PER_VERTEX __DefineValuePlaceholder__MAX_EDGE_PER_VERTEX\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n\\nuniform sampler2D u_Data;\\nuniform vec2 u_DataSize;\\nvec4 getDatau_Data(vec2 address2D) {\\n return vec4(texture2D(u_Data, address2D).rgba);\\n}\\nvec4 getDatau_Data(float address1D) {\\n return getDatau_Data(addrTranslation_1Dto2D(address1D, u_DataSize));\\n}\\nvec4 getDatau_Data(int address1D) {\\n return getDatau_Data(float(address1D));\\n}\\nuniform float u_K;\\nuniform float u_K2;\\nuniform vec2 u_Center;\\nuniform float u_Gravity;\\nuniform float u_ClusterGravity;\\nuniform float u_Speed;\\nuniform float u_MaxDisplace;\\nuniform float u_Clustering;\\nuniform sampler2D u_AttributeArray;\\nuniform vec2 u_AttributeArraySize;\\nvec4 getDatau_AttributeArray(vec2 address2D) {\\n return vec4(texture2D(u_AttributeArray, address2D).rgba);\\n}\\nvec4 getDatau_AttributeArray(float address1D) {\\n return getDatau_AttributeArray(addrTranslation_1Dto2D(address1D, u_AttributeArraySize));\\n}\\nvec4 getDatau_AttributeArray(int address1D) {\\n return getDatau_AttributeArray(float(address1D));\\n}\\nuniform sampler2D u_ClusterCenters;\\nuniform vec2 u_ClusterCentersSize;\\nvec4 getDatau_ClusterCenters(vec2 address2D) {\\n return vec4(texture2D(u_ClusterCenters, address2D).rgba);\\n}\\nvec4 getDatau_ClusterCenters(float address1D) {\\n return getDatau_ClusterCenters(addrTranslation_1Dto2D(address1D, u_ClusterCentersSize));\\n}\\nvec4 getDatau_ClusterCenters(int address1D) {\\n return getDatau_ClusterCenters(float(address1D));\\n}\\nvec2 calcRepulsive(int i, vec4 currentNode) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {if (i != j) {vec4 nextNode = getDatau_Data(j);\\nfloat xDist = currentNode.x - nextNode.x;\\nfloat yDist = currentNode.y - nextNode.y;\\nfloat dist = ((xDist * xDist) + (yDist * yDist)) + 0.01;\\nfloat param = u_K2 / dist;\\nif (dist > 0.0) {dx += param * xDist;\\ndy += param * yDist;\\nif ((xDist == 0.0) && (yDist == 0.0)) {float sign = (i < j) ? (1.0) : (-1.0);\\ndx += param * sign;\\ndy += param * sign;}}}}\\nreturn vec2(dx, dy);}\\nvec2 calcGravity(vec4 currentNode, vec4 nodeAttributes) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nfloat vx = currentNode.x - u_Center.x;\\nfloat vy = currentNode.y - u_Center.y;\\nfloat gf = (0.01 * u_K) * u_Gravity;\\ndx = gf * vx;\\ndy = gf * vy;\\nif (u_Clustering == 1.0) {int clusterIdx = int(nodeAttributes.x);\\nvec4 center = getDatau_ClusterCenters(clusterIdx);\\nfloat cvx = currentNode.x - center.x;\\nfloat cvy = currentNode.y - center.y;\\nfloat dist = sqrt((cvx * cvx) + (cvy * cvy)) + 0.01;\\nfloat parma = (u_K * u_ClusterGravity) / dist;\\ndx += parma * cvx;\\ndy += parma * cvy;}\\nreturn vec2(dx, dy);}\\nvec2 calcAttractive(int i, vec4 currentNode) {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nint arr_offset = int(floor(currentNode.z + 0.5));\\nint length = int(floor(currentNode.w + 0.5));\\nvec4 node_buffer;\\nfor (int p = 0; p < MAX_EDGE_PER_VERTEX; p++) {if (p >= length) {break;}\\nint arr_idx = arr_offset + int(p);\\nint buf_offset = arr_idx - ((arr_idx / 4) * 4);\\nif ((p == 0) || (buf_offset == 0)) {node_buffer = getDatau_Data(int(arr_idx / 4));}\\nfloat float_j = (buf_offset == 0) ? (node_buffer.x) : ((buf_offset == 1) ? (node_buffer.y) : ((buf_offset == 2) ? (node_buffer.z) : (node_buffer.w)));\\nvec4 nextNode = getDatau_Data(int(float_j));\\nfloat xDist = currentNode.x - nextNode.x;\\nfloat yDist = currentNode.y - nextNode.y;\\nfloat dist = sqrt((xDist * xDist) + (yDist * yDist)) + 0.01;\\nfloat attractiveF = dist / u_K;\\nif (dist > 0.0) {dx -= xDist * attractiveF;\\ndy -= yDist * attractiveF;\\nif ((xDist == 0.0) && (yDist == 0.0)) {float sign = (i < int(float_j)) ? (1.0) : (-1.0);\\ndx -= sign * attractiveF;\\ndy -= sign * attractiveF;}}}\\nreturn vec2(dx, dy);}\\nvoid main() {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nint i = globalInvocationID.x;\\nvec4 currentNode = getDatau_Data(i);\\nfloat dx = 0.0;\\nfloat dy = 0.0;\\nif (i >= VERTEX_COUNT) {gl_FragColor = vec4(currentNode);\\nreturn ;}\\nvec4 nodeAttributes = getDatau_AttributeArray(i);\\nif ((nodeAttributes.y != 0.0) && (nodeAttributes.z != 0.0)) {gl_FragColor = vec4(vec4(nodeAttributes.y, nodeAttributes.z, currentNode.z, currentNode.w));\\nreturn ;}\\nvec2 repulsive = calcRepulsive(i, currentNode);\\ndx += repulsive.x;\\ndy += repulsive.y;\\nvec2 attractive = calcAttractive(i, currentNode);\\ndx += attractive.x;\\ndy += attractive.y;\\nvec2 gravity = calcGravity(currentNode, nodeAttributes);\\ndx -= gravity.x;\\ndy -= gravity.y;\\ndx *= u_Speed;\\ndy *= u_Speed;\\nfloat distLength = sqrt((dx * dx) + (dy * dy));\\nif (distLength > 0.0) {float limitedDist = min(u_MaxDisplace * u_Speed, distLength);\\ngl_FragColor = vec4(vec4(currentNode.x + ((dx / distLength) * limitedDist), currentNode.y + ((dy / distLength) * limitedDist), currentNode.z, currentNode.w));}if (gWebGPUDebug) {\\n gl_FragColor = gWebGPUDebugOutput;\\n}}\\n"},"context":{"name":"","dispatch":[1,1,1],"threadGroupSize":[1,1,1],"maxIteration":1,"defines":[{"name":"MAX_EDGE_PER_VERTEX","type":"Float","runtime":true},{"name":"VERTEX_COUNT","type":"Float","runtime":true}],"uniforms":[{"name":"u_Data","type":"vec4[]","storageClass":"StorageBuffer","readonly":false,"writeonly":false,"size":[1,1]},{"name":"u_K","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_K2","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Center","type":"vec2","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Gravity","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_ClusterGravity","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Speed","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_MaxDisplace","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_Clustering","type":"Float","storageClass":"Uniform","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_AttributeArray","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_ClusterCenters","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]}],"globalDeclarations":[],"output":{"name":"u_Data","size":[1,1],"length":1},"needPingpong":true}}',e.clusterCode="\nimport { globalInvocationID } from 'g-webgpu';\nconst VERTEX_COUNT;\nconst CLUSTER_COUNT;\n@numthreads(1, 1, 1)\nclass CalcCenter {\n @in\n u_Data: vec4[];\n @in\n u_NodeAttributes: vec4[]; // [[clusterIdx, 0, 0, 0], ...]\n @in @out\n u_ClusterCenters: vec4[]; // [[cx, cy, nodeCount, clusterIdx], ...]\n @main\n compute() {\n const i = globalInvocationID.x;\n const center = this.u_ClusterCenters[i];\n let sumx = 0;\n let sumy = 0;\n let count = 0;\n for (let j = 0; j < VERTEX_COUNT; j++) {\n const attributes = this.u_NodeAttributes[j];\n const clusterIdx = int(attributes[0]);\n const vertex = this.u_Data[j];\n if (clusterIdx == i) {\n sumx += vertex.x;\n sumy += vertex.y;\n count += 1;\n }\n }\n this.u_ClusterCenters[i] = [\n sumx / count,\n sumy / count,\n count,\n i\n ];\n }\n}\n",e.clusterBundle='{"shaders":{"WGSL":"import \\"GLSL.std.450\\" as std;\\n\\n\\n# var gWebGPUDebug : bool = false;\\n# var gWebGPUDebugOutput : vec4 = vec4(0.0);\\n\\n[[builtin global_invocation_id]] var globalInvocationID : vec3;\\n# [[builtin work_group_size]] var workGroupSize : vec3;\\n# [[builtin work_group_id]] var workGroupID : vec3;\\n[[builtin local_invocation_id]] var localInvocationID : vec3;\\n# [[builtin num_work_groups]] var numWorkGroups : vec3;\\n[[builtin local_invocation_idx]] var localInvocationIndex : u32;\\n\\n\\ntype GWebGPUBuffer0 = [[block]] struct {\\n [[offset 0]] u_Data : [[stride 16]] array>;\\n};\\n[[binding 0, set 0]] var gWebGPUBuffer0 : GWebGPUBuffer0;\\ntype GWebGPUBuffer1 = [[block]] struct {\\n [[offset 0]] u_NodeAttributes : [[stride 16]] array>;\\n};\\n[[binding 1, set 0]] var gWebGPUBuffer1 : GWebGPUBuffer1;\\ntype GWebGPUBuffer2 = [[block]] struct {\\n [[offset 0]] u_ClusterCenters : [[stride 16]] array>;\\n};\\n[[binding 2, set 0]] var gWebGPUBuffer2 : GWebGPUBuffer2;\\n\\n\\n\\n\\n\\n\\n\\n\\n\\nfn main() -> void {var i : i32 = globalInvocationID.x;\\nvar center : vec4 = gWebGPUBuffer2.u_ClusterCenters[i];\\nvar sumx : f32 = 0.0;\\nvar sumy : f32 = 0.0;\\nvar count : f32 = 0.0;\\nfor (var j : i32 = 0; j < __DefineValuePlaceholder__VERTEX_COUNT; j = j + 1) {var attributes : vec4 = gWebGPUBuffer1.u_NodeAttributes[j];\\nvar clusterIdx : i32 = i32(attributes.x);\\nvar vertex : vec4 = gWebGPUBuffer0.u_Data[j];\\nif (clusterIdx == i) {sumx = sumx + vertex.x;\\nsumy = sumy + vertex.y;\\ncount = count + 1.0;}}\\ngWebGPUBuffer2.u_ClusterCenters[i] = vec4(sumx / count, sumy / count, count, i);\\nreturn;}\\n\\nentry_point compute as \\"main\\" = main;\\n","GLSL450":"\\n\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\nivec3 globalInvocationID = ivec3(gl_GlobalInvocationID);\\nivec3 workGroupSize = ivec3(1,1,1);\\nivec3 workGroupID = ivec3(gl_WorkGroupID);\\nivec3 localInvocationID = ivec3(gl_LocalInvocationID);\\nivec3 numWorkGroups = ivec3(gl_NumWorkGroups);\\nint localInvocationIndex = int(gl_LocalInvocationIndex);\\n\\n\\nlayout(std430, set = 0, binding = 0) buffer readonly GWebGPUBuffer0 {\\n vec4 u_Data[];\\n} gWebGPUBuffer0;\\n\\nlayout(std430, set = 0, binding = 1) buffer readonly GWebGPUBuffer1 {\\n vec4 u_NodeAttributes[];\\n} gWebGPUBuffer1;\\n\\nlayout(std430, set = 0, binding = 2) buffer GWebGPUBuffer2 {\\n vec4 u_ClusterCenters[];\\n} gWebGPUBuffer2;\\n\\n\\n\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n#define CLUSTER_COUNT __DefineValuePlaceholder__CLUSTER_COUNT\\nlayout (\\n local_size_x = 1,\\n local_size_y = 1,\\n local_size_z = 1\\n) in;\\n\\n\\n\\nvoid main() {int i = globalInvocationID.x;\\nvec4 center = gWebGPUBuffer2.u_ClusterCenters[i];\\nfloat sumx = 0.0;\\nfloat sumy = 0.0;\\nfloat count = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {vec4 attributes = gWebGPUBuffer1.u_NodeAttributes[j];\\nint clusterIdx = int(attributes.x);\\nvec4 vertex = gWebGPUBuffer0.u_Data[j];\\nif (clusterIdx == i) {sumx += vertex.x;\\nsumy += vertex.y;\\ncount += 1.0;}}\\ngWebGPUBuffer2.u_ClusterCenters[i] = vec4(sumx / count, sumy / count, count, i);}\\n","GLSL100":"\\n\\nfloat epsilon = 0.00001;\\nvec2 addrTranslation_1Dto2D(float address1D, vec2 texSize) {\\n vec2 conv_const = vec2(1.0 / texSize.x, 1.0 / (texSize.x * texSize.y));\\n vec2 normAddr2D = float(address1D) * conv_const;\\n return vec2(fract(normAddr2D.x + epsilon), normAddr2D.y);\\n}\\n\\nvoid barrier() {}\\n \\n\\nuniform vec2 u_OutputTextureSize;\\nuniform int u_OutputTexelCount;\\nvarying vec2 v_TexCoord;\\n\\nbool gWebGPUDebug = false;\\nvec4 gWebGPUDebugOutput = vec4(0.0);\\n\\n#define VERTEX_COUNT __DefineValuePlaceholder__VERTEX_COUNT\\n#define CLUSTER_COUNT __DefineValuePlaceholder__CLUSTER_COUNT\\n\\nuniform sampler2D u_Data;\\nuniform vec2 u_DataSize;\\nvec4 getDatau_Data(vec2 address2D) {\\n return vec4(texture2D(u_Data, address2D).rgba);\\n}\\nvec4 getDatau_Data(float address1D) {\\n return getDatau_Data(addrTranslation_1Dto2D(address1D, u_DataSize));\\n}\\nvec4 getDatau_Data(int address1D) {\\n return getDatau_Data(float(address1D));\\n}\\nuniform sampler2D u_NodeAttributes;\\nuniform vec2 u_NodeAttributesSize;\\nvec4 getDatau_NodeAttributes(vec2 address2D) {\\n return vec4(texture2D(u_NodeAttributes, address2D).rgba);\\n}\\nvec4 getDatau_NodeAttributes(float address1D) {\\n return getDatau_NodeAttributes(addrTranslation_1Dto2D(address1D, u_NodeAttributesSize));\\n}\\nvec4 getDatau_NodeAttributes(int address1D) {\\n return getDatau_NodeAttributes(float(address1D));\\n}\\nuniform sampler2D u_ClusterCenters;\\nuniform vec2 u_ClusterCentersSize;\\nvec4 getDatau_ClusterCenters(vec2 address2D) {\\n return vec4(texture2D(u_ClusterCenters, address2D).rgba);\\n}\\nvec4 getDatau_ClusterCenters(float address1D) {\\n return getDatau_ClusterCenters(addrTranslation_1Dto2D(address1D, u_ClusterCentersSize));\\n}\\nvec4 getDatau_ClusterCenters(int address1D) {\\n return getDatau_ClusterCenters(float(address1D));\\n}\\nvoid main() {\\nivec3 workGroupSize = ivec3(1, 1, 1);\\nivec3 numWorkGroups = ivec3(1, 1, 1); \\nint globalInvocationIndex = int(floor(v_TexCoord.x * u_OutputTextureSize.x))\\n + int(floor(v_TexCoord.y * u_OutputTextureSize.y)) * int(u_OutputTextureSize.x);\\nint workGroupIDLength = globalInvocationIndex / (workGroupSize.x * workGroupSize.y * workGroupSize.z);\\nivec3 workGroupID = ivec3(workGroupIDLength / numWorkGroups.y / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.z, workGroupIDLength / numWorkGroups.x / numWorkGroups.y);\\nint localInvocationIDZ = globalInvocationIndex / (workGroupSize.x * workGroupSize.y);\\nint localInvocationIDY = (globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y) / workGroupSize.x;\\nint localInvocationIDX = globalInvocationIndex - localInvocationIDZ * workGroupSize.x * workGroupSize.y - localInvocationIDY * workGroupSize.x;\\nivec3 localInvocationID = ivec3(localInvocationIDX, localInvocationIDY, localInvocationIDZ);\\nivec3 globalInvocationID = workGroupID * workGroupSize + localInvocationID;\\nint localInvocationIndex = localInvocationID.z * workGroupSize.x * workGroupSize.y\\n + localInvocationID.y * workGroupSize.x + localInvocationID.x;\\nint i = globalInvocationID.x;\\nvec4 center = getDatau_ClusterCenters(i);\\nfloat sumx = 0.0;\\nfloat sumy = 0.0;\\nfloat count = 0.0;\\nfor (int j = 0; j < VERTEX_COUNT; j++) {vec4 attributes = getDatau_NodeAttributes(j);\\nint clusterIdx = int(attributes.x);\\nvec4 vertex = getDatau_Data(j);\\nif (clusterIdx == i) {sumx += vertex.x;\\nsumy += vertex.y;\\ncount += 1.0;}}\\ngl_FragColor = vec4(vec4(sumx / count, sumy / count, count, i));if (gWebGPUDebug) {\\n gl_FragColor = gWebGPUDebugOutput;\\n}}\\n"},"context":{"name":"","dispatch":[1,1,1],"threadGroupSize":[1,1,1],"maxIteration":1,"defines":[{"name":"VERTEX_COUNT","type":"Float","runtime":true},{"name":"CLUSTER_COUNT","type":"Float","runtime":true}],"uniforms":[{"name":"u_Data","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_NodeAttributes","type":"vec4[]","storageClass":"StorageBuffer","readonly":true,"writeonly":false,"size":[1,1]},{"name":"u_ClusterCenters","type":"vec4[]","storageClass":"StorageBuffer","readonly":false,"writeonly":false,"size":[1,1]}],"globalDeclarations":[],"output":{"name":"u_ClusterCenters","size":[1,1],"length":1},"needPingpong":true}}'},GXnB:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Metadata=void 0;var r=n("xfSm"),i=function(){function t(t,e){this.key=t,this.value=e}return t.prototype.toString=function(){return this.key===r.NAMED_TAG?"named: "+this.value.toString()+" ":"tagged: { key:"+this.key.toString()+", value: "+this.value+" }"},t}();e.Metadata=i},"Gc+X":function(t,e,n){"use strict";n.d(e,"a",function(){return y});var r=n("lwsE"),i=n.n(r),o=n("W8MJ"),a=n.n(o),s=n("PJYZ"),u=n.n(s),c=n("7W2i"),l=n.n(c),f=n("a1gu"),h=n.n(f),d=n("Nsbk"),p=n.n(d),g=n("IOcx");function v(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var n,r=p()(t);if(e){var i=p()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h()(this,n)}}var y=function(t){l()(n,t);var e=v(n);function n(t){var r;return i()(this,n),(r=e.call(this,t)).dirtyFlag=void 0,r.localDirtyFlag=void 0,r.parent=null,r.localPosition=g.e.fromValues(0,0,0),r.localRotation=g.c.fromValues(0,0,0,1),r.localScale=g.e.fromValues(1,1,1),r.localTransform=g.b.create(),r.position=g.e.fromValues(0,0,0),r.rotation=g.c.fromValues(0,0,0,1),r.scaling=g.e.fromValues(1,1,1),r.worldTransform=g.b.create(),r.matrixTransform=function(){var t=g.b.create();return function(e){g.b.multiply(t,r.getLocalTransform(),e),g.b.getScaling(r.localScale,t),g.b.getTranslation(r.localPosition,t),g.b.getRotation(r.localRotation,t)}}(),r.rotateRollPitchYaw=function(){var t=g.c.create(),e=g.c.create(),n=g.c.create();return function(i,o,a){r.setDirty(),g.c.fromEuler(t,i,0,0),g.c.fromEuler(e,0,o,0),g.c.fromEuler(n,0,0,a),g.c.multiply(r.localRotation,t,r.localRotation),g.c.multiply(r.localRotation,r.localRotation,e),g.c.multiply(r.localRotation,n,r.localRotation),g.c.normalize(r.localRotation,r.localRotation)}}(),r.lerp=function(){var t=g.e.create(),e=g.c.create(),n=g.e.create(),i=g.e.create(),o=g.c.create(),a=g.e.create();return function(s,u,c){r.setDirty(),g.b.getScaling(t,s.worldTransform),g.b.getTranslation(n,s.worldTransform),g.b.getRotation(e,s.worldTransform),g.b.getScaling(i,u.worldTransform),g.b.getTranslation(a,u.worldTransform),g.b.getRotation(o,u.worldTransform),g.e.lerp(r.localScale,t,i,c),g.c.slerp(r.localRotation,e,o,c),g.e.lerp(r.localPosition,n,a,c)}}(),r.translate=function(){var t=g.e.create();return function(e){return g.e.add(t,r.getPosition(),e),r.setPosition(t),r.setDirty(!0),u()(r)}}(),r.translateLocal=function(t){return g.e.transformQuat(t,t,r.localRotation),g.e.add(r.localPosition,r.localPosition,t),r.setLocalDirty(!0),u()(r)},r.setPosition=function(){var t=g.b.create();return function(e){return r.position=e,r.setLocalDirty(!0),null===r.parent?g.e.copy(r.localPosition,e):(g.b.copy(t,r.parent.worldTransform),g.b.invert(t,t),g.e.transformMat4(r.localPosition,e,t)),u()(r)}}(),r.rotate=function(){var t=g.c.create();return function(e){if(null===r.parent)g.c.multiply(r.localRotation,r.localRotation,e),g.c.normalize(r.localRotation,r.localRotation);else{var n=r.getRotation(),i=r.parent.getRotation();g.c.copy(t,i),g.c.invert(t,t),g.c.multiply(t,t,e),g.c.multiply(r.localRotation,e,n),g.c.normalize(r.localRotation,r.localRotation)}return r.setLocalDirty(),u()(r)}}(),r.rotateLocal=function(t){return g.c.multiply(r.localRotation,r.localRotation,t),g.c.normalize(r.localRotation,r.localRotation),r.setLocalDirty(!0),u()(r)},r.setRotation=function(){var t=g.c.create();return function(e){return null===r.parent?g.c.copy(r.localRotation,e):(g.c.copy(t,r.parent.getRotation()),g.c.invert(t,t),g.c.copy(r.localRotation,t),g.c.mul(r.localRotation,r.localRotation,e)),r.setLocalDirty(!0),u()(r)}}(),r}return a()(n,[{key:"setLocalPosition",value:function(t){g.e.copy(this.localPosition,t),this.setLocalDirty(!0)}},{key:"setLocalScale",value:function(t){g.e.copy(this.localScale,t),this.setLocalDirty(!0)}},{key:"setLocalRotation",value:function(t){return g.c.copy(this.localRotation,t),this.setLocalDirty(!0),this}},{key:"isDirty",value:function(){return this.dirtyFlag}},{key:"setDirty",value:function(){!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?this.dirtyFlag|=n.DIRTY:this.dirtyFlag&=~n.DIRTY}},{key:"isLocalDirty",value:function(){return this.localDirtyFlag}},{key:"setLocalDirty",value:function(){!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?(this.localDirtyFlag|=n.DIRTY,this.setDirty(!0)):this.localDirtyFlag&=~n.DIRTY}},{key:"updateTransform",value:function(){this.isLocalDirty()&&this.getLocalTransform(),this.isDirty()&&null===this.parent&&(g.b.copy(this.worldTransform,this.getLocalTransform()),this.setDirty(!1))}},{key:"updateTransformWithParent",value:function(t){g.b.multiply(this.worldTransform,t.worldTransform,this.getLocalTransform())}},{key:"applyTransform",value:function(){this.setDirty(),g.b.getScaling(this.localScale,this.worldTransform),g.b.getTranslation(this.localPosition,this.worldTransform),g.b.getRotation(this.localRotation,this.worldTransform)}},{key:"clearTransform",value:function(){this.setDirty(),this.localPosition=g.e.fromValues(0,0,0),this.localRotation=g.c.fromValues(0,0,0,1),this.localScale=g.e.fromValues(1,1,1)}},{key:"scaleLocal",value:function(t){return this.setLocalDirty(),g.e.multiply(this.localScale,this.localScale,t),this}},{key:"getLocalPosition",value:function(){return this.localPosition}},{key:"getLocalRotation",value:function(){return this.localRotation}},{key:"getLocalScale",value:function(){return this.localScale}},{key:"getLocalTransform",value:function(){return this.localDirtyFlag&&(g.b.fromRotationTranslationScale(this.localTransform,this.localRotation,this.localPosition,this.localScale),this.setLocalDirty(!1)),this.localTransform}},{key:"getWorldTransform",value:function(){return this.isLocalDirty()||this.isDirty()?(this.parent&&this.parent.getWorldTransform(),this.updateTransform(),this.worldTransform):this.worldTransform}},{key:"getPosition",value:function(){return g.b.getTranslation(this.position,this.worldTransform),this.position}},{key:"getRotation",value:function(){return g.b.getRotation(this.rotation,this.worldTransform),this.rotation}},{key:"getScale",value:function(){return g.b.getScaling(this.scaling,this.worldTransform),this.scaling}}]),n}(n("oDt1").a);y.DIRTY=1},GdIf:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findMinMaxNodeXY=e.traverseTreeUp=e.scaleMatrix=e.getAdjMatrix=e.floydWarshall=e.getDegree=e.getEdgeTerminal=void 0;var r=n("KR08");e.getEdgeTerminal=function(t,e){var n=t[e];return(0,r.isObject)(n)?n.cell:n};e.getDegree=function(t,n,r){for(var i=[],o=0;oe[r][o]+e[o][i]&&(e[r][i]=e[r][o]+e[o][i]);return e};e.getAdjMatrix=function(t,n){var r=t.nodes,i=t.edges,o=[],a={};if(!r)throw new Error("invalid nodes data!");return r&&r.forEach(function(t,e){a[t.id]=e,o.push([])}),i&&i.forEach(function(t){var r=(0,e.getEdgeTerminal)(t,"source"),i=(0,e.getEdgeTerminal)(t,"target"),s=a[r],u=a[i];o[s][u]=1,n||(o[u][s]=1)}),o};e.scaleMatrix=function(t,e){var n=[];return t.forEach(function(t){var r=[];t.forEach(function(t){r.push(t*e)}),n.push(r)}),n};var i=function(t,e){if(t&&t.children)for(var n=t.children.length-1;n>=0;n--)if(!i(t.children[n],e))return;return!!e(t)};e.traverseTreeUp=function(t,e){"function"==typeof e&&i(t,e)};e.findMinMaxNodeXY=function(t){var e=1/0,n=1/0,r=-1/0,i=-1/0;return t.forEach(function(t){e>t.x&&(e=t.x),n>t.y&&(n=t.y),r=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},u.to.keyword=function(t){return a[t.slice(0,3)]}},"Gu+u":function(t,e){var n=[],r=[],i="insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";function o(t,e){if(e=e||{},void 0===t)throw new Error(i);var o,a=!0===e.prepend?"prepend":"append",s=void 0!==e.container?e.container:document.querySelector("head"),u=n.indexOf(s);return-1===u&&(u=n.push(s)-1,r[u]={}),void 0!==r[u]&&void 0!==r[u][a]?o=r[u][a]:(o=r[u][a]=function(){var t=document.createElement("style");return t.setAttribute("type","text/css"),t}(),"prepend"===a?s.insertBefore(o,s.childNodes[0]):s.appendChild(o)),65279===t.charCodeAt(0)&&(t=t.substr(1,t.length)),o.styleSheet?o.styleSheet.cssText+=t:o.textContent+=t,o}t.exports=o,t.exports.insertCss=o},"HXx+":function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.width=e.sep=e.positionX=e.balance=e.alignCoordinates=e.findSmallestWidthAlignment=e.buildBlockGraph=e.horizontalCompaction=e.verticalAlignment=e.hasConflict=e.addConflict=e.findOtherInnerSegmentNode=e.findType2Conflicts=e.findType1Conflicts=void 0;var i=n("HeBM"),o=n("eQiA"),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(i.Graph);e.findType1Conflicts=function(t,n){var r={};return(null===n||void 0===n?void 0:n.length)&&n.reduce(function(n,i){var o=0,a=0,s=n.length,u=null===i||void 0===i?void 0:i[(null===i||void 0===i?void 0:i.length)-1];return null===i||void 0===i||i.forEach(function(n,c){var l,f=(0,e.findOtherInnerSegmentNode)(t,n),h=f?t.node(f).order:s;(f||n===u)&&(null===(l=i.slice(a,c+1))||void 0===l||l.forEach(function(n){var i;null===(i=t.predecessors(n))||void 0===i||i.forEach(function(i){var a,s=t.node(i),u=s.order;!(us)&&(0,e.addConflict)(r,n,u)}))})};return(null===n||void 0===n?void 0:n.length)&&n.reduce(function(e,n){var r,o=-1,a=0;return null===n||void 0===n||n.forEach(function(s,u){var c;if("border"===(null===(c=t.node(s))||void 0===c?void 0:c.dummy)){var l=t.predecessors(s)||[];l.length&&(r=t.node(l[0]).order,i(n,a,u,o,r),a=u,o=r)}i(n,a,n.length,r,e.length)}),n}),r};e.findOtherInnerSegmentNode=function(t,e){var n,r;if(null===(n=t.node(e))||void 0===n?void 0:n.dummy)return null===(r=t.predecessors(e))||void 0===r?void 0:r.find(function(e){return t.node(e).dummy})};e.addConflict=function(t,e,n){var r=e,i=n;if(r>i){var o=r;r=i,i=o}var a=t[r];a||(t[r]=a={}),a[i]=!0};e.hasConflict=function(t,e,n){var r=e;r>n&&(r=n);return!!t[r]};e.verticalAlignment=function(t,n,r,i){var o={},a={},s={};return null===n||void 0===n||n.forEach(function(t){null===t||void 0===t||t.forEach(function(t,e){o[t]=t,a[t]=t,s[t]=e})}),null===n||void 0===n||n.forEach(function(t){var n=-1;null===t||void 0===t||t.forEach(function(t){var u=i(t);if(u.length)for(var c=((u=u.sort(function(t,e){return s[t]-s[e]})).length-1)/2,l=Math.floor(c),f=Math.ceil(c);l<=f;++l){var h=u[l];a[t]===t&&n-1},y.prototype.set=function(t,e){var n=this.__data__,r=g(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};var m,b=y,x="object"==typeof h&&h&&h.Object===Object&&h,w="object"==typeof self&&self&&self.Object===Object&&self,_=x||w||Function("return this")(),E=_.Symbol,S=Object.prototype,M=S.hasOwnProperty,O=S.toString,k=E?E.toStringTag:void 0,A=Object.prototype.toString,C=E?E.toStringTag:void 0,I=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":C&&C in Object(t)?function(t){var e=M.call(t,k),n=t[k];try{t[k]=void 0;var r=!0}catch(t){}var i=O.call(t);return r&&(e?t[k]=n:delete t[k]),i}(t):function(t){return A.call(t)}(t)},T=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},N=function(t){if(!T(t))return!1;var e=I(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},P=_["__core-js_shared__"],j=(m=/[^.]+$/.exec(P&&P.keys&&P.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"",D=Function.prototype.toString,L=function(t){if(null!=t){try{return D.call(t)}catch(t){}try{return t+""}catch(t){}}return""},R=/^\[object .+?Constructor\]$/,B=Function.prototype,G=Object.prototype,F=B.toString,z=G.hasOwnProperty,U=RegExp("^"+F.call(z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),W=function(t){return!(!T(t)||function(t){return!!j&&j in t}(t))&&(N(t)?U:R).test(L(t))},V=function(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return W(n)?n:void 0},X=V(_,"Map"),Y=V(Object,"create"),H=Object.prototype.hasOwnProperty,q=Object.prototype.hasOwnProperty;function K(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991},xt={};xt["[object Float32Array]"]=xt["[object Float64Array]"]=xt["[object Int8Array]"]=xt["[object Int16Array]"]=xt["[object Int32Array]"]=xt["[object Uint8Array]"]=xt["[object Uint8ClampedArray]"]=xt["[object Uint16Array]"]=xt["[object Uint32Array]"]=!0,xt["[object Arguments]"]=xt["[object Array]"]=xt["[object ArrayBuffer]"]=xt["[object Boolean]"]=xt["[object DataView]"]=xt["[object Date]"]=xt["[object Error]"]=xt["[object Function]"]=xt["[object Map]"]=xt["[object Number]"]=xt["[object Object]"]=xt["[object RegExp]"]=xt["[object Set]"]=xt["[object String]"]=xt["[object WeakMap]"]=!1;var wt=function(t){return function(e){return t(e)}},_t=d(function(t,e){var n=e&&!e.nodeType&&e,r=n&&t&&!t.nodeType&&t,i=r&&r.exports===n&&x.process,o=function(){try{return r&&r.require&&r.require("util").types||i&&i.binding&&i.binding("util")}catch(t){}}();t.exports=o}),Et=_t&&_t.isTypedArray,St=Et?wt(Et):function(t){return ut(t)&&bt(t.length)&&!!xt[I(t)]},Mt=Object.prototype.hasOwnProperty,Ot=function(t,e){var n=pt(t),r=!n&&dt(t),i=!n&&!r&&vt(t),o=!n&&!r&&!i&&St(t),a=n||r||i||o,s=a?function(t,e){for(var n=-1,r=Array(t);++ns))return!1;var c=o.get(t),l=o.get(e);if(c&&l)return c==e&&l==t;var f=-1,h=!0,d=2&n?new Pe:void 0;for(o.set(t,e),o.set(e,t);++f0&&r(u)?n>1?t(u,n-1,r,i,o):Xt(o,u):i||(o[o.length]=u)}return o},Yn=Math.max,Hn=function(t,e,n){return e=Yn(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=Yn(r.length-e,0),a=Array(o);++i0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(qn),Qn=function(t,e){return Zn(Hn(t,e,Ae),t+"")},Jn=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o-1},er=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r=200){var c=e?null:nr(t);if(c)return Be(c);a=!1,i=De,u=new Pe}else u=e?[]:s;t:for(;++ro){var a=i;i=o,o=a}return i+""+o+""+(ar.isUndefined(r)?"\0":r)}function hr(t,e){return fr(t,e.v,e.w,e.name)}ur.prototype._nodeCount=0,ur.prototype._edgeCount=0,ur.prototype.isDirected=function(){return this._isDirected},ur.prototype.isMultigraph=function(){return this._isMultigraph},ur.prototype.isCompound=function(){return this._isCompound},ur.prototype.setGraph=function(t){return this._label=t,this},ur.prototype.graph=function(){return this._label},ur.prototype.setDefaultNodeLabel=function(t){return ar.isFunction(t)||(t=ar.constant(t)),this._defaultNodeLabelFn=t,this},ur.prototype.nodeCount=function(){return this._nodeCount},ur.prototype.nodes=function(){return ar.keys(this._nodes)},ur.prototype.sources=function(){var t=this;return ar.filter(this.nodes(),function(e){return ar.isEmpty(t._in[e])})},ur.prototype.sinks=function(){var t=this;return ar.filter(this.nodes(),function(e){return ar.isEmpty(t._out[e])})},ur.prototype.setNodes=function(t,e){var n=arguments,r=this;return ar.each(t,function(t){n.length>1?r.setNode(t,e):r.setNode(t)}),this},ur.prototype.setNode=function(t,e){return ar.has(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]="\0",this._children[t]={},this._children["\0"][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)},ur.prototype.node=function(t){return this._nodes[t]},ur.prototype.hasNode=function(t){return ar.has(this._nodes,t)},ur.prototype.removeNode=function(t){var e=this;if(ar.has(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],ar.each(this.children(t),function(t){e.setParent(t)}),delete this._children[t]),ar.each(ar.keys(this._in[t]),n),delete this._in[t],delete this._preds[t],ar.each(ar.keys(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},ur.prototype.setParent=function(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(ar.isUndefined(e))e="\0";else{for(var n=e+="";!ar.isUndefined(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this},ur.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},ur.prototype.parent=function(t){if(this._isCompound){var e=this._parent[t];if("\0"!==e)return e}},ur.prototype.children=function(t){if(ar.isUndefined(t)&&(t="\0"),this._isCompound){var e=this._children[t];if(e)return ar.keys(e)}else{if("\0"===t)return this.nodes();if(this.hasNode(t))return[]}},ur.prototype.predecessors=function(t){var e=this._preds[t];if(e)return ar.keys(e)},ur.prototype.successors=function(t){var e=this._sucs[t];if(e)return ar.keys(e)},ur.prototype.neighbors=function(t){var e=this.predecessors(t);if(e)return ar.union(e,this.successors(t))},ur.prototype.isLeaf=function(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length},ur.prototype.filterNodes=function(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;ar.each(this._nodes,function(n,r){t(r)&&e.setNode(r,n)}),ar.each(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))});var r={};return this._isCompound&&ar.each(e.nodes(),function(t){e.setParent(t,function t(i){var o=n.parent(i);return void 0===o||e.hasNode(o)?(r[i]=o,o):o in r?r[o]:t(o)}(t))}),e},ur.prototype.setDefaultEdgeLabel=function(t){return ar.isFunction(t)||(t=ar.constant(t)),this._defaultEdgeLabelFn=t,this},ur.prototype.edgeCount=function(){return this._edgeCount},ur.prototype.edges=function(){return ar.values(this._edgeObjs)},ur.prototype.setPath=function(t,e){var n=this,r=arguments;return ar.reduce(t,function(t,i){return r.length>1?n.setEdge(t,i,e):n.setEdge(t,i),i}),this},ur.prototype.setEdge=function(){var t,e,n,r,i=!1,o=arguments[0];"object"==typeof o&&null!==o&&"v"in o?(t=o.v,e=o.w,n=o.name,2===arguments.length&&(r=arguments[1],i=!0)):(t=o,e=arguments[1],n=arguments[3],arguments.length>2&&(r=arguments[2],i=!0)),t=""+t,e=""+e,ar.isUndefined(n)||(n=""+n);var a=fr(this._isDirected,t,e,n);if(ar.has(this._edgeLabels,a))return i&&(this._edgeLabels[a]=r),this;if(!ar.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[a]=i?r:this._defaultEdgeLabelFn(t,e,n);var s=function(t,e,n,r){var i=""+e,o=""+n;if(!t&&i>o){var a=i;i=o,o=a}var s={v:i,w:o};return r&&(s.name=r),s}(this._isDirected,t,e,n);return t=s.v,e=s.w,Object.freeze(s),this._edgeObjs[a]=s,cr(this._preds[e],t),cr(this._sucs[t],e),this._in[e][a]=s,this._out[t][a]=s,this._edgeCount++,this},ur.prototype.edge=function(t,e,n){var r=1===arguments.length?hr(this._isDirected,arguments[0]):fr(this._isDirected,t,e,n);return this._edgeLabels[r]},ur.prototype.hasEdge=function(t,e,n){var r=1===arguments.length?hr(this._isDirected,arguments[0]):fr(this._isDirected,t,e,n);return ar.has(this._edgeLabels,r)},ur.prototype.removeEdge=function(t,e,n){var r=1===arguments.length?hr(this._isDirected,arguments[0]):fr(this._isDirected,t,e,n),i=this._edgeObjs[r];return i&&(t=i.v,e=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],lr(this._preds[e],t),lr(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this},ur.prototype.inEdges=function(t,e){var n=this._in[t];if(n){var r=ar.values(n);return e?ar.filter(r,function(t){return t.v===e}):r}},ur.prototype.outEdges=function(t,e){var n=this._out[t];if(n){var r=ar.values(n);return e?ar.filter(r,function(t){return t.w===e}):r}},ur.prototype.nodeEdges=function(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))};var dr={Graph:sr,version:"2.1.8"},pr={write:function(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:function(t){return ar.map(t.nodes(),function(e){var n=t.node(e),r=t.parent(e),i={v:e};return ar.isUndefined(n)||(i.value=n),ar.isUndefined(r)||(i.parent=r),i})}(t),edges:function(t){return ar.map(t.edges(),function(e){var n=t.edge(e),r={v:e.v,w:e.w};return ar.isUndefined(e.name)||(r.name=e.name),ar.isUndefined(n)||(r.value=n),r})}(t)};return ar.isUndefined(t.graph())||(e.value=ar.clone(t.graph())),e},read:function(t){var e=new sr(t.options).setGraph(t.value);return ar.each(t.nodes,function(t){e.setNode(t.v,t.value),t.parent&&e.setParent(t.v,t.parent)}),ar.each(t.edges,function(t){e.setEdge({v:t.v,w:t.w,name:t.name},t.value)}),e}};var gr=vr;function vr(){this._arr=[],this._keyIndices={}}vr.prototype.size=function(){return this._arr.length},vr.prototype.keys=function(){return this._arr.map(function(t){return t.key})},vr.prototype.has=function(t){return ar.has(this._keyIndices,t)},vr.prototype.priority=function(t){var e=this._keyIndices[t];if(void 0!==e)return this._arr[e].priority},vr.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},vr.prototype.add=function(t,e){var n=this._keyIndices;if(t=String(t),!ar.has(n,t)){var r=this._arr,i=r.length;return n[t]=i,r.push({key:t,priority:e}),this._decrease(i),!0}return!1},vr.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var t=this._arr.pop();return delete this._keyIndices[t.key],this._heapify(0),t.key},vr.prototype.decrease=function(t,e){var n=this._keyIndices[t];if(e>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[n].priority+" New: "+e);this._arr[n].priority=e,this._decrease(n)},vr.prototype._heapify=function(t){var e=this._arr,n=2*t,r=n+1,i=t;n>1].priority0&&(i=s.removeMin(),(o=a[i]).distance!==Number.POSITIVE_INFINITY);)r(i).forEach(u);return a}(t,String(e),n||mr,r||function(e){return t.outEdges(e)})},mr=ar.constant(1),br=function(t){var e=0,n=[],r={},i=[];function o(a){var s=r[a]={onStack:!0,lowlink:e,index:e++};if(n.push(a),t.successors(a).forEach(function(t){ar.has(r,t)?r[t].onStack&&(s.lowlink=Math.min(s.lowlink,r[t].index)):(o(t),s.lowlink=Math.min(s.lowlink,r[t].lowlink))}),s.lowlink===s.index){var u,c=[];do{u=n.pop(),r[u].onStack=!1,c.push(u)}while(a!==u);i.push(c)}}return t.nodes().forEach(function(t){ar.has(r,t)||o(t)}),i},xr=ar.constant(1),wr=_r;function _r(t){var e={},n={},r=[];if(ar.each(t.sinks(),function i(o){if(ar.has(n,o))throw new Er;ar.has(e,o)||(n[o]=!0,e[o]=!0,ar.each(t.predecessors(o),i),delete n[o],r.push(o))}),ar.size(e)!==t.nodeCount())throw new Er;return r}function Er(){}_r.CycleException=Er,Er.prototype=new Error;var Sr=function(t,e,n){ar.isArray(e)||(e=[e]);var r=(t.isDirected()?t.successors:t.neighbors).bind(t),i=[],o={};return ar.each(e,function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);!function t(e,n,r,i,o,a){ar.has(i,n)||(i[n]=!0,r||a.push(n),ar.each(o(n),function(n){t(e,n,r,i,o,a)}),r&&a.push(n))}(t,e,"post"===n,o,r,i)}),i};var Mr,Or={Graph:dr.Graph,json:pr,alg:{components:function(t){var e,n={},r=[];function i(r){ar.has(n,r)||(n[r]=!0,e.push(r),ar.each(t.successors(r),i),ar.each(t.predecessors(r),i))}return ar.each(t.nodes(),function(t){e=[],i(t),e.length&&r.push(e)}),r},dijkstra:yr,dijkstraAll:function(t,e,n){return ar.transform(t.nodes(),function(r,i){r[i]=yr(t,i,e,n)},{})},findCycles:function(t){return ar.filter(br(t),function(e){return e.length>1||1===e.length&&t.hasEdge(e[0],e[0])})},floydWarshall:function(t,e,n){return function(t,e,n){var r={},i=t.nodes();return i.forEach(function(t){r[t]={},r[t][t]={distance:0},i.forEach(function(e){t!==e&&(r[t][e]={distance:Number.POSITIVE_INFINITY})}),n(t).forEach(function(n){var i=n.v===t?n.w:n.v,o=e(n);r[t][i]={distance:o,predecessor:t}})}),i.forEach(function(t){var e=r[t];i.forEach(function(n){var o=r[n];i.forEach(function(n){var r=o[t],i=e[n],a=o[n],s=r.distance+i.distance;s0;){if(n=o.removeMin(),ar.has(i,n))r.setEdge(n,i[n]);else{if(s)throw new Error("Input graph is not connected: "+t);s=!0}t.nodeEdges(n).forEach(a)}return r},tarjan:br,topsort:wr},version:dr.version};try{Mr=Or}catch(r){}Mr||(Mr=window.graphlib);var kr,Ar=Mr,Cr=function(t,e,n){if(!T(n))return!1;var r=typeof e;return!!("number"==r?Pt(n)&&mt(e,n.length):"string"==r&&e in n)&&p(n[e],t)},Ir=Object.prototype,Tr=Ir.hasOwnProperty,Nr=Qn(function(t,e){t=Object(t);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&Cr(e[0],e[1],i)&&(r=1);++n-1?i[o?e[a]:a]:void 0}}(function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:function(t){var e=Br(t),n=e%1;return e==e?n?e-n:e:0}(n);return i<0&&(i=Gr(r+i,0)),Jn(t,bn(e),i)}),zr=function(t){return null!=t&&t.length?Xn(t,1):[]},Ur=function(t,e,n){for(var r=-1,i=t.length;++re},Vr=function(t,e,n){(void 0!==n&&!p(t[e],n)||void 0===n&&!(e in t))&&it(t,e,n)},Xr=Function.prototype,Yr=Object.prototype,Hr=Xr.toString,qr=Yr.hasOwnProperty,Kr=Hr.call(Object),Zr=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]},Qr=function(t,e,n,r,i,o,a){var s=Zr(t,n),u=Zr(e,n),c=a.get(u);if(c)Vr(t,n,c);else{var l=o?o(s,u,n+"",t,e,a):void 0,f=void 0===l;if(f){var h=pt(u),d=!h&&vt(u),p=!h&&!d&&St(u);l=u,h||d||p?pt(s)?l=s:rr(s)?l=Gt(s):d?(f=!1,l=Bt(u,!0)):p?(f=!1,l=de(u,!0)):l=[]:function(t){if(!ut(t)||"[object Object]"!=I(t))return!1;var e=Yt(t);if(null===e)return!0;var n=qr.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Hr.call(n)==Kr}(u)||dt(u)?(l=s,dt(s)?l=function(t){return st(t,Rt(t))}(s):T(s)&&!N(s)||(l=ye(u))):f=!1}f&&(a.set(u,l),i(l,u,r,o,a),a.delete(u)),Vr(t,n,l)}},Jr=function(t){return Qn(function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,a&&Cr(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),e=Object(e);++re||o&&a&&u&&!s&&!c||r&&a&&u||!n&&u||!i)return 1;if(!r&&!o&&!c&&t=s?u:u*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)})},ui=Qn(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Cr(t,e[0],e[1])?e=[]:n>2&&Cr(e[0],e[1],e[2])&&(e=[e[0]]),si(t,Xn(e,1),[])}),ci=0;try{kr={cloneDeep:function(t){return Ee(t,5)},constant:Se,defaults:Nr,each:Te,filter:xn,find:Fr,flatten:zr,forEach:Ie,forIn:function(t,e){return null==t?t:Me(t,Ce(e),Rt)},has:En,isUndefined:Mn,last:function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0},map:kn,mapValues:function(t,e){var n={};return e=bn(e),Oe(t,function(t,r,i){it(n,r,e(t,r,i))}),n},max:function(t){return t&&t.length?Ur(t,Ae,Wr):void 0},merge:Jr,min:function(t){return t&&t.length?Ur(t,Ae,$r):void 0},minBy:function(t,e){return t&&t.length?Ur(t,bn(e),$r):void 0},now:function(){return _.Date.now()},pick:ni,range:oi,reduce:In,sortBy:ui,uniqueId:function(t){var e=++ci;return cn(t)+e},values:or,zipObject:function(t,e){return function(t,e,n){for(var r=-1,i=t.length,o=e.length,a={};++r0;--s)if(r=e[s].dequeue()){i=i.concat(yi(t,e,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return li.flatten(li.map(r,function(e){return t.outEdges(e.v,e.w)}),!0)}(t,function(t){return function(e){return t.edge(e).weight}}(t)):function(t){var e=[],n={},r={};return li.forEach(t.nodes(),function i(o){li.has(r,o)||(r[o]=!0,n[o]=!0,li.forEach(t.outEdges(o),function(t){li.has(n,t.w)?e.push(t):i(t.w)}),delete n[o])}),e}(t);li.forEach(e,function(e){var n=t.edge(e);t.removeEdge(e),n.forwardName=e.name,n.reversed=!0,t.setEdge(e.w,e.v,n,li.uniqueId("rev"))})},xi=function(t){li.forEach(t.edges(),function(e){var n=t.edge(e);if(n.reversed){t.removeEdge(e);var r=n.forwardName;delete n.reversed,delete n.forwardName,t.setEdge(e.w,e.v,n,r)}})},wi=Ar.Graph,_i={addDummyNode:Ei,simplify:function(t){var e=(new wi).setGraph(t.graph());return li.forEach(t.nodes(),function(n){e.setNode(n,t.node(n))}),li.forEach(t.edges(),function(n){var r=e.edge(n.v,n.w)||{weight:0,minlen:1},i=t.edge(n);e.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})}),e},asNonCompoundGraph:function(t){var e=new wi({multigraph:t.isMultigraph()}).setGraph(t.graph());return li.forEach(t.nodes(),function(n){t.children(n).length||e.setNode(n,t.node(n))}),li.forEach(t.edges(),function(n){e.setEdge(n,t.edge(n))}),e},successorWeights:function(t){var e=li.map(t.nodes(),function(e){var n={};return li.forEach(t.outEdges(e),function(e){n[e.w]=(n[e.w]||0)+t.edge(e).weight}),n});return li.zipObject(t.nodes(),e)},predecessorWeights:function(t){var e=li.map(t.nodes(),function(e){var n={};return li.forEach(t.inEdges(e),function(e){n[e.v]=(n[e.v]||0)+t.edge(e).weight}),n});return li.zipObject(t.nodes(),e)},intersectRect:function(t,e){var n,r,i=t.x,o=t.y,a=e.x-i,s=e.y-o,u=t.width/2,c=t.height/2;if(!a&&!s)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(s)*u>Math.abs(a)*c?(s<0&&(c=-c),n=c*a/s,r=c):(a<0&&(u=-u),n=u,r=u*s/a),{x:i+n,y:o+r}},buildLayerMatrix:function(t){var e=li.map(li.range(Si(t)+1),function(){return[]});return li.forEach(t.nodes(),function(n){var r=t.node(n),i=r.rank;li.isUndefined(i)||(e[i][r.order]=n)}),e},normalizeRanks:function(t){var e=li.min(li.map(t.nodes(),function(e){return t.node(e).rank}));li.forEach(t.nodes(),function(n){var r=t.node(n);li.has(r,"rank")&&(r.rank-=e)})},removeEmptyRanks:function(t){var e=li.min(li.map(t.nodes(),function(e){return t.node(e).rank})),n=[];li.forEach(t.nodes(),function(r){var i=t.node(r).rank-e;n[i]||(n[i]=[]),n[i].push(r)});var r=0,i=t.graph().nodeRankFactor;li.forEach(n,function(e,n){li.isUndefined(e)&&n%i!=0?--r:r&&li.forEach(e,function(e){t.node(e).rank+=r})})},addBorderNode:function(t,e,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),Ei(t,"border",i,e)},maxRank:Si,partition:function(t,e){var n={lhs:[],rhs:[]};return li.forEach(t,function(t){e(t)?n.lhs.push(t):n.rhs.push(t)}),n},time:function(t,e){var n=li.now();try{return e()}finally{console.log(t+" time: "+(li.now()-n)+"ms")}},notime:function(t,e){return e()}};function Ei(t,e,n,r){var i;do{i=li.uniqueId(r)}while(t.hasNode(i));return n.dummy=e,t.setNode(i,n),i}function Si(t){return li.max(li.map(t.nodes(),function(e){var n=t.node(e).rank;if(!li.isUndefined(n))return n}))}var Mi=function(t){t.graph().dummyChains=[],li.forEach(t.edges(),function(e){!function(t,e){var n,r,i,o=e.v,a=t.node(o).rank,s=e.w,u=t.node(s).rank,c=e.name,l=t.edge(e),f=l.labelRank;if(u!==a+1){for(t.removeEdge(e),i=0,++a;aa.lim&&(s=a,u=!0);var c=li.filter(e.edges(),function(e){return u===qi(t,t.node(e.v),s)&&u!==qi(t,t.node(e.w),s)});return li.minBy(c,function(t){return Di(e,t)})}function Hi(t,e,n,r){var i=n.v,o=n.w;t.removeEdge(i,o),t.setEdge(r.v,r.w,{}),Vi(t),Ui(t,e),function(t,e){var n=li.find(t.nodes(),function(t){return!e.node(t).parent}),r=Ri(t,n);r=r.slice(1),li.forEach(r,function(n){var r=t.node(n).parent,i=e.edge(n,r),o=!1;i||(i=e.edge(r,n),o=!0),e.node(n).rank=e.node(r).rank+(o?i.minlen:-i.minlen)})}(t,e)}function qi(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}zi.initLowLimValues=Vi,zi.initCutValues=Ui,zi.calcCutValue=Wi,zi.leaveEdge=Xi,zi.enterEdge=Yi,zi.exchangeEdges=Hi;var Ki=ki,Zi=Ki;function Qi(t){Fi(t)}var Ji=function(t){var e=_i.addDummyNode(t,"root",{},"_root"),n=function(t){var e={};function n(r,i){var o=t.children(r);o&&o.length&&li.forEach(o,function(t){n(t,i+1)}),e[r]=i}return li.forEach(t.children(),function(t){n(t,1)}),e}(t),r=li.max(li.values(n))-1,i=2*r+1;t.graph().nestingRoot=e,li.forEach(t.edges(),function(e){t.edge(e).minlen*=i});var o=function(t){return li.reduce(t.edges(),function(e,n){return e+t.edge(n).weight},0)}(t)+1;li.forEach(t.children(),function(a){!function t(e,n,r,i,o,a,s){var u=e.children(s);if(u.length){var c=_i.addBorderNode(e,"_bt"),l=_i.addBorderNode(e,"_bb"),f=e.node(s);e.setParent(c,s),f.borderTop=c,e.setParent(l,s),f.borderBottom=l,li.forEach(u,function(u){t(e,n,r,i,o,a,u);var f=e.node(u),h=f.borderTop?f.borderTop:u,d=f.borderBottom?f.borderBottom:u,p=f.borderTop?i:2*i,g=h!==d?1:o-a[s]+1;e.setEdge(c,h,{weight:p,minlen:g,nestingEdge:!0}),e.setEdge(d,l,{weight:p,minlen:g,nestingEdge:!0})}),e.parent(s)||e.setEdge(n,c,{weight:0,minlen:o+a[s]})}else s!==n&&e.setEdge(n,s,{weight:0,minlen:r})}(t,e,i,o,r,n,a)}),t.graph().nodeRankFactor=i},$i=function(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,li.forEach(t.edges(),function(e){t.edge(e).nestingEdge&&t.removeEdge(e)})};function to(t,e,n,r,i,o){var a={width:0,height:0,rank:o,borderType:e},s=i[e][o-1],u=_i.addDummyNode(t,"border",a,n);i[e][o]=u,t.setParent(u,r),s&&t.setEdge(s,u,{weight:1})}var eo=function(t){var e=t.graph().rankdir.toLowerCase();"lr"!==e&&"rl"!==e||ro(t)},no=function(t){var e=t.graph().rankdir.toLowerCase();"bt"!==e&&"rl"!==e||function(t){li.forEach(t.nodes(),function(e){oo(t.node(e))}),li.forEach(t.edges(),function(e){var n=t.edge(e);li.forEach(n.points,oo),li.has(n,"y")&&oo(n)})}(t),"lr"!==e&&"rl"!==e||(function(t){li.forEach(t.nodes(),function(e){ao(t.node(e))}),li.forEach(t.edges(),function(e){var n=t.edge(e);li.forEach(n.points,ao),li.has(n,"x")&&ao(n)})}(t),ro(t))};function ro(t){li.forEach(t.nodes(),function(e){io(t.node(e))}),li.forEach(t.edges(),function(e){io(t.edge(e))})}function io(t){var e=t.width;t.width=t.height,t.height=e}function oo(t){t.y=-t.y}function ao(t){var e=t.x;t.x=t.y,t.y=e}var so=function(t,e){for(var n=0,r=1;r0;)e%2&&(n+=s[e+1]),s[e=e-1>>1]+=t.weight;u+=t.weight*n})),u}function co(t,e,n){for(var r;e.length&&(r=li.last(e)).i<=n;)e.pop(),t.push(r.vs),n++;return n}var lo=function t(e,n,r,i){var o=e.children(n),a=e.node(n),s=a?a.borderLeft:void 0,u=a?a.borderRight:void 0,c={};s&&(o=li.filter(o,function(t){return t!==s&&t!==u}));var l=function(t,e){return li.map(e,function(e){var n=t.inEdges(e);if(n.length){var r=li.reduce(n,function(e,n){var r=t.edge(n),i=t.node(n.v);return{sum:e.sum+r.weight*i.order,weight:e.weight+r.weight}},{sum:0,weight:0});return{v:e,barycenter:r.sum/r.weight,weight:r.weight}}return{v:e}})}(e,o);li.forEach(l,function(n){if(e.children(n.v).length){var o=t(e,n.v,r,i);c[n.v]=o,li.has(o,"barycenter")&&(a=n,s=o,li.isUndefined(a.barycenter)?(a.barycenter=s.barycenter,a.weight=s.weight):(a.barycenter=(a.barycenter*a.weight+s.barycenter*s.weight)/(a.weight+s.weight),a.weight+=s.weight))}var a,s});var f=function(t,e){var n={};return li.forEach(t,function(t,e){var r=n[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:e};li.isUndefined(t.barycenter)||(r.barycenter=t.barycenter,r.weight=t.weight)}),li.forEach(e.edges(),function(t){var e=n[t.v],r=n[t.w];li.isUndefined(e)||li.isUndefined(r)||(r.indegree++,e.out.push(n[t.w]))}),function(t){var e=[];function n(t){return function(e){e.merged||(li.isUndefined(e.barycenter)||li.isUndefined(t.barycenter)||e.barycenter>=t.barycenter)&&function(t,e){var n=0,r=0;t.weight&&(n+=t.barycenter*t.weight,r+=t.weight),e.weight&&(n+=e.barycenter*e.weight,r+=e.weight),t.vs=e.vs.concat(t.vs),t.barycenter=n/r,t.weight=r,t.i=Math.min(e.i,t.i),e.merged=!0}(t,e)}}function r(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}for(;t.length;){var i=t.pop();e.push(i),li.forEach(i.in.reverse(),n(i)),li.forEach(i.out,r(i))}return li.map(li.filter(e,function(t){return!t.merged}),function(t){return li.pick(t,["vs","i","barycenter","weight"])})}(li.filter(n,function(t){return!t.indegree}))}(l,r);!function(t,e){li.forEach(t,function(t){t.vs=li.flatten(t.vs.map(function(t){return e[t]?e[t].vs:t}),!0)})}(f,c);var h=function(t,e){var n,r=_i.partition(t,function(t){return li.has(t,"barycenter")}),i=r.lhs,o=li.sortBy(r.rhs,function(t){return-t.i}),a=[],s=0,u=0,c=0;i.sort((n=!!e,function(t,e){return t.barycentere.barycenter?1:n?e.i-t.i:t.i-e.i})),c=co(a,o,c),li.forEach(i,function(t){c+=t.vs.length,a.push(t.vs),s+=t.barycenter*t.weight,u+=t.weight,c=co(a,o,c)});var l={vs:li.flatten(a,!0)};return u&&(l.barycenter=s/u,l.weight=u),l}(f,i);if(s&&(h.vs=li.flatten([s,h.vs,u],!0),e.predecessors(s).length)){var d=e.node(e.predecessors(s)[0]),p=e.node(e.predecessors(u)[0]);li.has(h,"barycenter")||(h.barycenter=0,h.weight=0),h.barycenter=(h.barycenter*h.weight+d.order+p.order)/(h.weight+2),h.weight+=2}return h},fo=Ar.Graph,ho=function(t,e,n){var r=function(t){for(var e;t.hasNode(e=li.uniqueId("_root")););return e}(t),i=new fo({compound:!0}).setGraph({root:r}).setDefaultNodeLabel(function(e){return t.node(e)});return li.forEach(t.nodes(),function(o){var a=t.node(o),s=t.parent(o);(a.rank===e||a.minRank<=e&&e<=a.maxRank)&&(i.setNode(o),i.setParent(o,s||r),li.forEach(t[n](o),function(e){var n=e.v===o?e.w:e.v,r=i.edge(n,o),a=li.isUndefined(r)?0:r.weight;i.setEdge(n,o,{weight:t.edge(e).weight+a})}),li.has(a,"minRank")&&i.setNode(o,{borderLeft:a.borderLeft[e],borderRight:a.borderRight[e]}))}),i},po=function(t,e,n){var r,i={};li.forEach(n,function(n){for(var o,a,s=t.parent(n);s;){if((o=t.parent(s))?(a=i[o],i[o]=s):(a=r,r=s),a&&a!==s)return void e.setEdge(a,s);s=o}})},go=Ar.Graph,vo=function(t){var e=_i.maxRank(t),n=yo(t,li.range(1,e+1),"inEdges"),r=yo(t,li.range(e-1,-1,-1),"outEdges"),i=function(t){var e={},n=li.filter(t.nodes(),function(e){return!t.children(e).length}),r=li.max(li.map(n,function(e){return t.node(e).rank})),i=li.map(li.range(r+1),function(){return[]});var o=li.sortBy(n,function(e){return t.node(e).rank});return li.forEach(o,function n(r){if(!li.has(e,r)){e[r]=!0;var o=t.node(r);i[o.rank].push(r),li.forEach(t.successors(r),n)}}),i}(t);bo(t,i);for(var o,a=Number.POSITIVE_INFINITY,s=0,u=0;u<4;++s,++u){mo(s%2?n:r,s%4>=2),i=_i.buildLayerMatrix(t);var c=so(t,i);cn){var r=e;e=n,n=r}var i=t[e];i||(t[e]=i={}),i[n]=!0}function _o(t,e,n){if(e>n){var r=e;e=n,n=r}return li.has(t[e],n)}var Eo=function(t){var e,n=_i.buildLayerMatrix(t),r=li.merge(function(t,e){var n={};return li.reduce(e,function(e,r){var i=0,o=0,a=e.length,s=li.last(r);return li.forEach(r,function(e,u){var c=function(t,e){if(t.node(e).dummy)return li.find(t.predecessors(e),function(e){return t.node(e).dummy})}(t,e),l=c?t.node(c).order:a;(c||e===s)&&(li.forEach(r.slice(o,u+1),function(e){li.forEach(t.predecessors(e),function(r){var o=t.node(r),a=o.order;!(aa)&&wo(n,e,s)})})}return li.reduce(e,function(e,n){var i,o=-1,a=0;return li.forEach(n,function(s,u){if("border"===t.node(s).dummy){var c=t.predecessors(s);c.length&&(i=t.node(c[0]).order,r(n,a,u,o,i),a=u,o=i)}r(n,a,n.length,i,e.length)}),n}),n}(t,n)),i={};li.forEach(["u","d"],function(o){e="u"===o?n:li.values(n).reverse(),li.forEach(["l","r"],function(n){"r"===n&&(e=li.map(e,function(t){return li.values(t).reverse()}));var a=("u"===o?t.predecessors:t.successors).bind(t),s=function(t,e,n,r){var i={},o={},a={};return li.forEach(e,function(t){li.forEach(t,function(t,e){i[t]=t,o[t]=t,a[t]=e})}),li.forEach(e,function(t){var e=-1;li.forEach(t,function(t){var s=r(t);if(s.length)for(var u=((s=li.sortBy(s,function(t){return a[t]})).length-1)/2,c=Math.floor(u),l=Math.ceil(u);c<=l;++c){var f=s[c];o[t]===t&&eu||c>e[i].lim));for(o=i,i=r;(i=t.parent(i))!==o;)s.push(i);return{path:a.concat(s.reverse()),lca:o}}(t,e,i.v,i.w),a=o.path,s=o.lca,u=0,c=a[u],l=!0;n!==i.w;){if(r=t.node(n),l){for(;(c=a[u])!==s&&t.node(c).maxRankthis.metaGraph.node(t))}leaves(){let t,e=[],n=[this];for(;n.length;){let r=n.shift();r.isGroupNode?(t=r.metaGraph).nodes().forEach(e=>n.push(t.node(e))):e.push(r.name)}return e}}class Xo{constructor(t,e){this.v=t,this.w=e,this.baseEdgeList=[],this.inbound=null,this.name=null}addBaseEdge(t,e){this.baseEdgeList.push(t)}}function Yo(t,e={}){return new Vo(t,e)}function Ho(t,e){return new Xo(t,e)}function qo(t,e,n){const r=n||{},i=new Fo.Graph(r);return i.setGraph({name:t,rankdir:r.rankdir,type:e,align:r.align}),i}class Ko{constructor(t={}){this.graphOptions=t,this.index={},this.graphOptions.compound=!0,this.root=Yo(a,this.graphOptions),this.index[a]=this.root}getNodeMap(){return this.index}node(t){return this.index[t]}setNode(t,e){this.index[t]=e}getBridgeGraph(t){const e=this.index[t];if(!e)throw Error("Could not find node in hierarchy: "+t);if(!("metaGraph"in e))return null;const n=e;if(n.bridgeGraph)return n.bridgeGraph;const r=qo(s,l.BRIDGE,this.graphOptions);if(n.bridgeGraph=r,!(e.parentNode&&"metaGraph"in e.parentNode))return r;const i=e.parentNode;return[i.metaGraph,this.getBridgeGraph(i.name)].forEach(e=>{e.edges().filter(e=>e.v===t||e.w===t).forEach(n=>{const i=n.w===t;e.edge(n).baseEdgeList.forEach(e=>{const[o,a]=i?[e.w,n.v]:[e.v,n.w],s=this.getChildName(t,o),u={v:i?a:s,w:i?s:a};let c=r.edge(u);c||((c=Ho(u.v,u.w)).inbound=i,r.setEdge(u.v,u.w,c)),c.addBaseEdge(e,this)})})}),r}getChildName(t,e){let n=this.index[e];for(;n;){if(n.parentNode&&n.parentNode.name===t)return n.name;n=n.parentNode}throw Error("Could not find immediate child for descendant: "+e)}getPredecessors(t){const e=this.index[t];if(!e)throw Error("Could not find node with name: "+t);return this.getOneWayEdges(e,!0)}getSuccessors(t){const e=this.index[t];if(!e)throw Error("Could not find node with name: "+t);return this.getOneWayEdges(e,!1)}getOneWayEdges(t,e){const n=[];if(!t.parentNode||!t.parentNode.isGroupNode)return n;const r=t.parentNode,i=r.metaGraph,o=this.getBridgeGraph(r.name);return Zo(i,t,e,n),Zo(o,t,e,n),n}}function Zo(t,e,n,r){(n?t.inEdges(e.name):t.outEdges(e.name)).forEach(e=>{const n=t.edge(e);r.push(n)})}class Qo{constructor(t){this.hierarchy=t,this.index={},this.hasSubHierarchy={},this.root=new ta(this.hierarchy.root,this.hierarchy.graphOptions),this.index[t.root.name]=this.root,this.buildSubHierarchy(t.root.name),this.root.expanded=!0}getRenderInfoNodes(){return Object.values(this.index)}getSubHierarchy(){return this.hasSubHierarchy}buildSubHierarchy(t){if(t in this.hasSubHierarchy)return;this.hasSubHierarchy[t]=!0;const e=this.index[t];if(e.node.type!==u.META)return;const n=e,r=n.node.metaGraph,i=n.coreGraph;r.nodes().forEach(t=>{const e=this.getOrCreateRenderNodeByName(t);i.setNode(t,e)}),r.edges().forEach(t=>{const e=r.edge(t),n=new $o(e);i.setEdge(t.v,t.w,n)});const o=n.node.parentNode;if(!o)return;const a=this.getRenderNodeByName(o.name),s=(t,...e)=>e.concat([t?"IN":"OUT"]).join("~~"),l=this.hierarchy.getBridgeGraph(t);l.edges().forEach(e=>{const n=l.edge(e),f=!!r.node(e.w),[h,d]=f?[e.w,e.v]:[e.v,e.w],p=e=>{const n=f?{v:e,w:t}:{v:t,w:e};return a.coreGraph.edge(n)};let g=p(d);g||(g=p(s(f,d,o.name)));const v=s(f,t),y=s(f,d,t);let m=i.node(y);if(!m){let t=i.node(v);if(!t){const e={name:v,type:u.BRIDGE,isGroupNode:!1,cardinality:0,parentNode:null,include:c.UNSPECIFIED,inbound:f,attr:{}};t=new Jo(e),this.index[v]=t,i.setNode(v,t)}const e={name:y,type:u.BRIDGE,isGroupNode:!1,cardinality:1,parentNode:null,include:c.UNSPECIFIED,inbound:f,attr:{}};m=new Jo(e),this.index[y]=m,i.setNode(y,m),i.setParent(y,v),t.node.cardinality++}const b=new $o(n);b.adjoiningMetaEdge=g,f?i.setEdge(y,h,b):i.setEdge(h,y,b)})}getOrCreateRenderNodeByName(t){if(!t)return null;if(t in this.index)return this.index[t];const e=this.getNodeByName(t);return e?(this.index[t]=e.isGroupNode?new ta(e,this.hierarchy.graphOptions):new Jo(e),this.index[t]):null}getRenderNodeByName(t){return this.index[t]}getNodeByName(t){return this.hierarchy.node(t)}}class Jo{constructor(t){this.node=t,this.expanded=!1,this.x=0,this.y=0,this.coreBox={width:0,height:0},this.outboxWidth=0,this.labelOffset=0,this.radius=0,this.labelHeight=0,this.paddingTop=0,this.paddingLeft=0,this.paddingRight=0,this.paddingBottom=0,this.width=t.width||0,this.height=t.height||0,this.displayName=t.name,this.attr=t.attr}}class $o{constructor(t){this.metaEdge=t,this.adjoiningMetaEdge=null,this.weight=1,this.points=[]}}class ta extends Jo{constructor(t,e){super(t);const n=t.metaGraph.graph();e.compound=!0,this.coreGraph=qo(n.name,l.CORE,e)}}function ea(t,e){t.node.isGroupNode&&function(t,e){const n=i(e);t.coreGraph.nodes().map(e=>t.coreGraph.node(e)).forEach(t=>{var r,i,o,a,s,c;const{height:l,width:f}=t;switch(t.node.type){case u.NODE:Object.assign(t,n.nodeSize.node),t.height=l||n.nodeSize.node.height,t.width=f||n.nodeSize.node.width;break;case u.BRIDGE:Object.assign(t,n.nodeSize.bridge);break;case u.META:t.expanded?ea(t,e):(Object.assign(t,n.nodeSize.meta),t.height=n.nodeSize.meta.height,t.width=n.nodeSize.meta.width);break;default:throw Error("Unrecognized node type: "+t.node.type)}if(!t.expanded){const n=t.attr;!function(t,e=!1){if(t.coreBox.width=t.width,t.coreBox.height=t.height,!e){const e=`${t.displayName}`.length,n=3;t.width=Math.max(t.coreBox.width,e*n)}}(t,e&&(0===t.node.type&&!!(null===(i=null===(r=null==e?void 0:e.nodeSize)||void 0===r?void 0:r.meta)||void 0===i?void 0:i.width)||1===t.node.type&&(!!(null===(a=null===(o=null==e?void 0:e.nodeSize)||void 0===o?void 0:o.node)||void 0===a?void 0:a.width)||!!n.width)||2===t.node.type&&!!(null===(c=null===(s=null==e?void 0:e.nodeSize)||void 0===s?void 0:s.bridge)||void 0===c?void 0:c.width)))}})}(t,e),t.node.type===u.META&&function(t,e){const n=i(e),r=n.subScene.meta;Object.assign(t,r);const{nodeSep:o,rankSep:a,edgeSep:s,align:c}=n.graph.meta,l={nodesep:o,ranksep:a,edgesep:s,align:c};Object.assign(t.coreBox,function(t,e){const{ranksep:n,nodesep:r,edgesep:i,align:o}=e;Object.assign(t.graph(),{ranksep:n,nodesep:r,edgesep:i,align:o});const a=[];if(t.nodes().forEach(e=>{t.node(e).node.type!==u.BRIDGE&&a.push(e)}),!a.length)return{width:0,height:0};zo(t);let s=1/0,c=1/0,l=-1/0,f=-1/0;return a.forEach(e=>{const n=t.node(e),r=.5*n.width,i=n.x-r,o=n.x+r;s=il?o:l;const a=.5*n.height,u=n.y-a,h=n.y+a;c=uf?h:f}),t.edges().forEach(e=>{const n=t.edge(e),r=t.node(n.metaEdge.v),i=t.node(n.metaEdge.w);if(3===n.points.length&&function(t){let e=na(t[0],t[1]);for(let n=1;n1)return!1;e=r}return!0}(n.points)){if(null!=r){const t=r.expanded?r.x:ra(r);n.points[0].x=t}if(null!=i){const t=i.expanded?i.x:ra(i);n.points[2].x=t}n.points=[n.points[0],n.points[1]]}const o=n.points[n.points.length-2];null!=i&&(n.points[n.points.length-1]=ia(o,i));const a=n.points[1];null!=r&&(n.points[0]=ia(a,r)),n.points.forEach(t=>{s=t.xl?t.x:l,c=t.yf?t.y:f})}),t.nodes().forEach(e=>{const n=t.node(e);n.x-=s,n.y-=c}),t.edges().forEach(e=>{t.edge(e).points.forEach(t=>{t.x-=s,t.y-=c})}),{width:l-s,height:f-c}}(t.coreGraph,l));let f=0;t.coreGraph.nodeCount()>0&&f++;const h=f<=1?0:f;t.coreBox.width+=h+h,t.coreBox.height=r.labelHeight+t.coreBox.height,t.width=t.coreBox.width+r.paddingLeft+r.paddingRight,t.height=t.paddingTop+t.coreBox.height+t.paddingBottom}(t,e)}function na(t,e){const n=e.x-t.x,r=e.y-t.y;return 180*Math.atan(r/n)/Math.PI}function ra(t){return t.expanded?t.x:t.x-t.width/2+0+t.coreBox.width/2}function ia(t,e){const n=e.expanded?e.x:ra(e),r=e.y,i=t.x-n,o=t.y-r;let a,s,u=e.expanded?e.width:e.coreBox.width,c=e.expanded?e.height:e.coreBox.height;return Math.abs(o)*u/2>Math.abs(i)*c/2?(o<0&&(c=-c),a=0===o?0:c/2*i/o,s=c/2):(i<0&&(u=-u),a=u/2,s=0===i?0:u/2*o/i),{x:n+a,y:r+s}}function oa(t,e,n){var i,o,a,s;const u=t.nodes.filter((t,e,n)=>n.findIndex(e=>e.id===t.id)!==e).map(t=>t.id);if(u.length)throw new Error(`Duplicated ids found: ${u.join(", ")}`);const c=function(t){const e={nodes:[]},n=t.compound,r=Object.keys(n||{}),i=new Map,o=(t,e=[])=>{if(i.has(t))return i.get(t);for(let i=0;it.edges.filter(t=>t.w===e).map(t=>({name:t.v}));return t.nodes.forEach(t=>{const n=t.id,r=[...o(n),n];let i=a(n);e.nodes.push({name:n,path:r,inputs:i,width:t.width,height:t.height,attr:Object.assign({},t)})}),e}(t),l=function(t,e){const n=(t,e)=>{for(let n of e.values())if(n.includes(t))return!0;return!1},r=(t,e=[])=>{if(0===Object.keys(t).length)return[...new Set(e)];const i=new Map(Object.keys(t).map(e=>[e,t[e]])),o={};for(let[r,a]of i)n(r,i)?o[r]=a:e=e.concat(r,a);return r(o,e)};return r(t).filter(t=>e.includes(t))}(t.compound||{},(null==e?void 0:e.expanded)||[]),f=function(t,e){return function(t){return new Qo(t)}(function(t,e){const{rankDirection:n,align:r}=e,i=new Ko({rankdir:n,align:r});return function(t,e){Object.keys(e.nodes).forEach(n=>{const r=e.nodes[n],i=r.path;let o=t.root;o.depth=Math.max(i.length,o.depth);for(let e=0;e{let n=0;for(;t;)e[n++]=t.name,t=t.parentNode;return n-1};e.edges.forEach(a=>{r=[],i=[];let s=o(e.nodes[a.v],r),u=o(e.nodes[a.w],i);for(;r[s]===i[u];)if(u--,--s<0||u<0)throw Error("No difference found between ancestor paths.");const c=n[r[s+1]],l=r[s],f=i[u];let h=c.metaGraph.edge(l,f);h||(h=Ho(l,f),c.metaGraph.setEdge(l,f,h)),h.addBaseEdge(a,t)})}(i,t),i}(function(t){const e=new Wo;return t.nodes.map(t=>new Uo(t)).forEach(t=>{e.nodes[t.name]=t,t.inputs.forEach(n=>{!function(t,e,n){n.name!==e.name&&t.edges.push(Object.assign(Object.assign({},n.attr),{v:n.name,w:e.name}))}(e,t,n)})}),e}(t),e))}(c,{rankDirection:(null===(o=null===(i=null==n?void 0:n.graph)||void 0===i?void 0:i.meta)||void 0===o?void 0:o.rankDir)||(null==e?void 0:e.rankDirection)||r.graph.meta.rankDir,align:(null===(s=null===(a=null==n?void 0:n.graph)||void 0===a?void 0:a.meta)||void 0===s?void 0:s.align)||r.graph.meta.align});return function(t,e){l.forEach(e=>{const n=t.getRenderInfoNodes().find(t=>t.displayName===e);let r=n&&n.node&&n.node.name||"";const i=t.getRenderNodeByName(r);if(!i)throw new Error(`No nodes found: ${r}`);i.expanded=!0,t.buildSubHierarchy(r)})}(f),ea(f.root,n),ua(f.root)}function aa(t,e=!1){const n=JSON.parse(JSON.stringify(t)),r={nodes:[n],edges:[...n.edges]};return n.nodes.forEach(function t(e){(0===e.type||1===e.type)&&r.nodes.push(e),0===e.type&&(r.edges=r.edges.concat(e.edges)),Array.isArray(e.nodes)&&e.nodes.forEach(t)}),e&&r.nodes.forEach(t=>{const e=r.nodes.find(e=>e.id===t.parentNodeName);if(e){const n=e.x-e.width/2+e.paddingLeft,r=e.y-e.height/2+e.labelHeight+e.paddingTop;e.id!==a&&(t.x+=n,t.y+=r),0===t.type&&t.edges.forEach(e=>{e.points.forEach(e=>{e.x+=t.x-t.width/2+t.paddingLeft,e.y+=t.y-t.height/2+t.labelHeight+t.paddingTop})})}}),r}function sa(t,e,n,r){var i,o;let s=[];const u=(null===(i=n.find(e=>e.id===t))||void 0===i?void 0:i.path)||[],c=(null===(o=n.find(t=>t.id===e))||void 0===o?void 0:o.path)||[],l=[a,...u].slice(0,u.length).reverse(),f=[a,...c].slice(0,c.length);return l.forEach(i=>{const o=n.find(t=>t.id===i);s=s.concat(o.edges.filter(n=>n.baseEdgeList.some(n=>n.v===((null==r?void 0:r.v)||t)&&n.w===((null==r?void 0:r.w)||e))))}),f.filter(t=>!l.includes(t)).forEach(i=>{const o=n.find(t=>t.id===i);s=s.concat(o.edges.filter(n=>n.baseEdgeList.some(n=>n.v===((null==r?void 0:r.v)||t)&&n.w===((null==r?void 0:r.w)||e))))}),s}function ua(t){const e=t.coreGraph.nodes().map(e=>t.coreGraph.node(e));return Object.assign(Object.assign({},ca(t)),{expanded:t.expanded,nodes:t.expanded?(n=e,n.map(t=>t.node.type===u.META?ua(t):ca(t))):[],edges:t.expanded?function(t){return t.coreGraph.edges().map(e=>({renderInfoEdge:t.coreGraph.edge(e),edge:e})).filter(({renderInfoEdge:t})=>t.metaEdge).map(({edge:e,renderInfoEdge:n})=>{const r=function(t,e){const n=e.points.map(t=>Object.assign({},t));if(e.adjoiningMetaEdge){const r=e.adjoiningMetaEdge.points,i=e.metaEdge.inbound,o=i?r[r.length-1]:r[0],a=n[i?0:n.length-1],s=t.x-t.width/2,u=t.y-t.height/2,c=o.x-s,l=o.y-u,f=-t.paddingLeft,h=-(t.paddingTop+t.labelHeight);a.x=c+f,a.y=l+h}return n}(t,n);return{adjoiningEdge:n.adjoiningMetaEdge?{w:n.adjoiningMetaEdge.metaEdge.w,v:n.adjoiningMetaEdge.metaEdge.v}:null,inbound:n.metaEdge.inbound,w:e.w,v:e.v,points:r,weight:n.weight,baseEdgeList:n.metaEdge.baseEdgeList,parentNodeName:t.node.name}})}(t):[]});var n}function ca(t){return{id:t.node.name,name:t.node.name,type:t.node.type,cardinality:t.node.cardinality,attr:t.attr,parentNodeName:t.node.parentNode?t.node.parentNode.name:null,coreBox:Object.assign({},t.coreBox),x:t.x,y:t.y,width:t.width,height:t.height,radius:t.radius,labelHeight:t.labelHeight,labelOffset:t.labelOffset,outboxWidth:t.outboxWidth,paddingLeft:t.paddingLeft,paddingTop:t.paddingTop,paddingRight:t.paddingRight,paddingBottom:t.paddingBottom,path:t.node.path}}}.call(this,n("yLpj"))},HeBM:function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"components",function(){return T}),n.d(r,"dfs",function(){return N}),n.d(r,"dijkstra",function(){return R}),n.d(r,"dijkstraAll",function(){return B}),n.d(r,"findCycles",function(){return F}),n.d(r,"tarjan",function(){return G}),n.d(r,"isAcyclic",function(){return Q}),n.d(r,"postorder",function(){return J}),n.d(r,"preorder",function(){return $}),n.d(r,"prim",function(){return I}),n.d(r,"topsort",function(){return Z}),n.d(r,"floydWarshall",function(){return et});var i={};n.r(i),n.d(i,"isGraph",function(){return dt}),n.d(i,"isSimpleGraph",function(){return pt}),n.d(i,"isNullGraph",function(){return gt}),n.d(i,"hasSelfLoop",function(){return vt});var o={};n.r(o),n.d(o,"containAllSameEdges",function(){return ut}),n.d(o,"containAllSameNodes",function(){return st}),n.d(o,"containSameEdges",function(){return rt}),n.d(o,"containSameNodes",function(){return nt}),n.d(o,"isGraphComplement",function(){return yt}),n.d(o,"isGraphOptionSame",function(){return at}),n.d(o,"getSameEdges",function(){return ot}),n.d(o,"getSameNodes",function(){return it}),n.d(o,"isGraphSame",function(){return ct}),n.d(o,"isGraphContainsAnother",function(){return lt});var a,s={};function u(t,e){var n=t.get(e)||0;t.set(e,n+1)}function c(t,e){var n=t.get(e);void 0!==n&&((n-=1)>0?t.set(e,n):t.delete(e))}function l(t,e,n,r){var i=String(e),o=String(n);if(!t&&i>o){var s=i;i=o,o=s}return i+a.EDGE_KEY_DELIM+o+a.EDGE_KEY_DELIM+(void 0===r?a.DEFAULT_EDGE_NAME:r)}function f(t,e,n,r){var i=String(e),o=String(n),a={v:e,w:n};if(!t&&i>o){var s=a.v;a.v=a.w,a.w=s}return void 0!==r&&(a.name=r),a}function h(t,e){return l(t,e.v,e.w,e.name)}function d(t){return"function"==typeof t}n.r(s),n.d(s,"getGraphComplement",function(){return mt}),function(t){t.DEFAULT_EDGE_NAME="\0",t.GRAPH_NODE="\0",t.EDGE_KEY_DELIM=""}(a||(a={}));var p=function(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:function(t){return t.nodes().map(function(e){var n={id:e,value:t.node(e),parent:t.parent(e)};return void 0===n.value&&delete n.value,void 0===n.parent&&delete n.parent,n})}(t),edges:function(t){return t.edges().map(function(e){var n=t.edge(e),r={v:e.v,w:e.w,value:n,name:e.name};return void 0===r.name&&delete r.name,void 0===r.value&&delete r.value,r})}(t),value:t.graph()};return void 0===e.value&&delete e.value,e};function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function v(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.directed=!0,this.multigraph=!1,this.compound=!1,this.GRAPH_NODE=a.GRAPH_NODE,this.label=void 0,this.nodeCountNum=0,this.edgeCountNum=0,this.defaultNodeLabelFn=function(){},this.defaultEdgeLabelFn=function(){},this.parentMap=void 0,this.childrenMap=void 0,this.nodesLabelMap=new Map,this.inEdgesMap=new Map,this.outEdgesMap=new Map,this.predecessorsMap=new Map,this.successorsMap=new Map,this.edgesMap=new Map,this.edgesLabelsMap=new Map,this.isDirected=function(){return e.directed},this.isMultigraph=function(){return e.multigraph},this.isCompound=function(){return e.compound},this.setGraph=function(t){return e.label=t,e},this.graph=function(){return e.label},this.setDefaultNodeLabel=function(t){return d(t)?e.defaultNodeLabelFn=t:e.defaultNodeLabelFn=function(){return t},e},this.nodeCount=function(){return e.nodeCountNum},this.node=function(t){return e.nodesLabelMap.get(t)},this.nodes=function(){return Array.from(e.nodesLabelMap.keys())},this.sources=function(){return e.nodes().filter(function(t){var n;return!(null===(n=e.inEdgesMap.get(t))||void 0===n?void 0:n.size)})},this.sinks=function(){return e.nodes().filter(function(t){var n;return!(null===(n=e.outEdgesMap.get(t))||void 0===n?void 0:n.size)})},this.setNodes=function(t,n){return t.map(function(t){return e.setNode(t,n)}),e},this.hasNode=function(t){return e.nodesLabelMap.has(t)},this.checkCompound=function(){if(!e.isCompound())throw new Error("Cannot construct parent-children relations in a non-compound graph")},this.parent=function(t){if(e.isCompound()){var n,r=null===(n=e.parentMap)||void 0===n?void 0:n.get(t);if(r!==e.GRAPH_NODE)return r}},this.removeFromParentsChildList=function(t){var n=e.parentMap.get(t);e.childrenMap.get(n).delete(t)},this.setParent=function(t,n){var r,i;e.checkCompound();for(var o=void 0===n?e.GRAPH_NODE:n,a=e.parent(o);a;){if(t===a)throw new Error("Setting "+n+" as parent of "+t+" would create a cycle");a=e.parent(a)}n&&e.setNode(n),e.setNode(t),e.removeFromParentsChildList(t),null===(r=e.parentMap)||void 0===r||r.set(t,o);var s=e.childrenMap.get(o);return s.set(t,!0),null===(i=e.childrenMap)||void 0===i||i.set(o,s),e},this.children=function(t){var n=void 0===t?e.GRAPH_NODE:t;if(e.isCompound()){var r,i=null===(r=e.childrenMap)||void 0===r?void 0:r.get(n);return i?Array.from(i.keys()):void 0}return n===e.GRAPH_NODE?e.nodes():t&&e.hasNode(t)?[]:void 0},this.predecessors=function(t){var n=e.predecessorsMap.get(t);return n?Array.from(n.keys()):void 0},this.successors=function(t){var n=e.successorsMap.get(t);return n?Array.from(n.keys()):void 0},this.neighbors=function(t){var n;if(e.hasNode(t))return Array.from(new Set(null===(n=e.predecessors(t))||void 0===n?void 0:n.concat(e.successors(t))))},this.isLeaf=function(t){var n,r;return e.isDirected()?!(null===(r=e.successors(t))||void 0===r?void 0:r.length):!(null===(n=e.neighbors(t))||void 0===n?void 0:n.length)},this.filterNodes=function(n){var r=e.directed,i=e.multigraph,o=e.compound,a=new t({directed:r,multigraph:i,compound:o});if(a.setGraph(e.graph()),e.nodes().forEach(function(t){n(t)&&a.setNode(t,e.node(t))}),e.edges().forEach(function(t){a.hasNode(t.v)&&a.hasNode(t.w)&&a.setEdgeObj(t,e.edge(t))}),o){a.nodes().forEach(function(t){a.setParent(t,function(t){for(var n=e.parent(t);void 0!==n&&!a.hasNode(n);)n=e.parent(n);return n}(t))})}return a},this.setDefaultEdgeLabel=function(t){return d(t)?e.defaultEdgeLabelFn=t:e.defaultEdgeLabelFn=function(){return t},e},this.edgeCount=function(){return e.edgeCountNum},this.setEdgeObj=function(t,n){return e.setEdge(t.v,t.w,n,t.name)},this.setPath=function(t,n){return t.reduce(function(t,r){return e.setEdge(t,r,n),r}),e},this.edgeFromArgs=function(t,n,r){return e.edge({v:t,w:n,name:r})},this.edge=function(t){return e.edgesLabelsMap.get(h(e.isDirected(),t))},this.hasEdge=function(t,n,r){return e.edgesLabelsMap.has(h(e.isDirected(),{v:t,w:n,name:r}))},this.removeEdgeObj=function(t){var n=t.v,r=t.w,i=t.name;return e.removeEdge(n,r,i)},this.edges=function(){return Array.from(e.edgesMap.values())},this.inEdges=function(t,n){var r=e.inEdgesMap.get(t);if(r)return Array.from(r.values()).filter(function(t){return!n||t.v===n})},this.outEdges=function(t,n){var r=e.outEdgesMap.get(t);if(r)return Array.from(r.values()).filter(function(t){return!n||t.w===n})},this.nodeEdges=function(t,n){var r;if(e.hasNode(t))return null===(r=e.inEdges(t,n))||void 0===r?void 0:r.concat(e.outEdges(t,n))},this.toJSON=function(){return p(e)},this.nodeInDegree=function(t){var n=e.inEdgesMap.get(t);return n?n.size:0},this.nodeOutDegree=function(t){var n=e.outEdgesMap.get(t);return n?n.size:0},this.nodeDegree=function(t){return e.nodeInDegree(t)+e.nodeOutDegree(t)},this.source=function(t){return t.v},this.target=function(t){return t.w};var r=v(v({},b),n);this.compound=r.compound,this.directed=r.directed,this.multigraph=r.multigraph,this.compound&&(this.parentMap=new Map,this.childrenMap=new Map)}return function(t,e,n){e&&m(t.prototype,e),n&&m(t,n),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"setNode",value:function(t,e){var n,r=this.nodesLabelMap,i=this.defaultNodeLabelFn,o=this.isCompound,a=this.parentMap,s=this.childrenMap,u=this.inEdgesMap,c=this.outEdgesMap,l=this.predecessorsMap,f=this.successorsMap;if(r.has(t))return void 0!==e&&r.set(t,e),this;(r.set(t,e||i(t)),o())&&(null===a||void 0===a||a.set(t,this.GRAPH_NODE),null===s||void 0===s||s.set(t,new Map),(null===s||void 0===s?void 0:s.has(this.GRAPH_NODE))||null===s||void 0===s||s.set(this.GRAPH_NODE,new Map),null===s||void 0===s||null===(n=s.get(this.GRAPH_NODE))||void 0===n||n.set(t,!0));return[u,c,l,f].forEach(function(e){return e.set(t,new Map)}),this.nodeCountNum+=1,this}},{key:"removeNode",value:function(t){var e=this;if(this.hasNode(t)){var n,r,i,o=function(t){e.removeEdge(t.v,t.w,t.name)},a=this.inEdgesMap,s=this.outEdgesMap,u=this.predecessorsMap,c=this.successorsMap,l=this.nodesLabelMap;if(this.isCompound())this.removeFromParentsChildList(t),null===(n=this.parentMap)||void 0===n||n.delete(t),null===(r=this.children(t))||void 0===r||r.forEach(function(t){return e.setParent(t)}),null===(i=this.childrenMap)||void 0===i||i.delete(t);var f=a.get(t),h=s.get(t);Array.from(f.values()).forEach(function(t){return o(t)}),Array.from(h.values()).forEach(function(t){return o(t)}),l.delete(t),a.delete(t),s.delete(t),u.delete(t),c.delete(t),this.nodeCountNum-=1}return this}},{key:"setEdge",value:function(t,e,n,r){var i,o,a=f(this.isDirected(),t,e,r),s=h(this.isDirected(),a),c=a.v,l=a.w;if(this.edgesLabelsMap.has(s))return this.edgesLabelsMap.set(s,n),this;if(void 0!==r&&!this.isMultigraph())throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(c),this.setNode(l),this.edgesLabelsMap.set(s,n||this.defaultEdgeLabelFn(c,l,r)),Object.freeze(a),this.edgesMap.set(s,a);var d=this.predecessorsMap.get(l),p=this.successorsMap.get(c);return u(d,c),u(p,l),null===(i=this.inEdgesMap.get(l))||void 0===i||i.set(s,a),null===(o=this.outEdgesMap.get(c))||void 0===o||o.set(s,a),this.edgeCountNum+=1,this}},{key:"removeEdge",value:function(t,e,n){var r=l(this.isDirected(),t,e,n);if(this.edgesMap.get(r)){var i=f(this.isDirected(),t,e,n),o=i.v,a=i.w;this.edgesLabelsMap.delete(r),this.edgesMap.delete(r);var s=this.predecessorsMap.get(a),u=this.successorsMap.get(o);c(s,o),c(u,a),this.inEdgesMap.get(a).delete(r),this.outEdgesMap.get(o).delete(r),this.edgeCountNum-=1}return this}}]),t}();function w(t){"@babel/helpers - typeof";return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,e){for(var n=0;n-1&&this.eventPool[t].splice(n,1)}}},{key:"emitEvent",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r>1])||void 0===a?void 0:a.priority)e.arr[r].priority)throw new Error("New priority is greater than current priority.Key: ".concat(t," Old: + ").concat(e.arr[r].priority," New: ").concat(n));e.arr[r].priority=n,e.innerDecrease(r)}}),I=function(t,e){var n,r=new x,i=new Map,o=new C;function a(t){var r=t.v===n?t.w:t.v,a=o.priority(r);if(void 0!==a){var s=e(t);s0;){var u;if(n=o.removeMin(),i.has(n))r.setEdge(n,i.get(n));else{if(s)throw new Error("Input graph is not connected: "+t.graph());s=!0}null===(u=t.nodeEdges(n))||void 0===u||u.forEach(a)}return r},T=function(t){var e=new Set,n=[];return t.nodes().forEach(function(r){for(var i=[],o=[r];o.length>0;){var a,s,u=o.pop();e.has(u)||(e.add(u),i.push(u),null===(a=t.successors(u))||void 0===a||a.forEach(function(t){return o.push(t)}),null===(s=t.predecessors(u))||void 0===s||s.forEach(function(t){return o.push(t)}))}i.length&&n.push(i)}),n},N=function(t,e,n){var r=function(e){return t.isDirected()?t.successors(e):t.neighbors(e)},i=[],o=[];return(Array.isArray(e)?e:[e]).forEach(function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);!function t(e,n,r,i,o,a){i.includes(n)||(i.push(n),r||a.push(n),o(n).forEach(function(n){return t(e,n,r,i,o,a)}),r&&a.push(n))}(t,e,"post"===n,o,r,i)}),i};function P(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return j(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&(i=s.removeMin(),!(o=a.get(i))||o.distance!==Number.POSITIVE_INFINITY);)r(i).forEach(u);var c={};return Array.from(a.entries()).forEach(function(t){var e=P(t,2),n=e[0],r=e[1];return c[String(n)]=r,c}),c},R=function(t,e,n,r){return L(t,e,n||D,r||function(e){return t.outEdges(e)})},B=function(t,e,n){var r={};return t.nodes().forEach(function(i){return r[String(i)]=R(t,i,e,n),r}),r},G=function(t){var e=0,n=[],r=new Map,i=[];return t.nodes().forEach(function(o){r.has(o)||function o(a){var s,u={onStack:!0,lowlink:e,index:e};if(r.set(a,u),e+=1,n.push(a),null===(s=t.successors(a))||void 0===s||s.forEach(function(t){var e;if(r.has(t)){if(null===(e=r.get(t))||void 0===e?void 0:e.onStack){var n=r.get(t);u.lowlink=Math.min(u.lowlink,n.index)}}else{o(t);var i=r.get(t);u.lowlink=Math.min(u.lowlink,i.lowlink)}}),u.lowlink===u.index){var c,l=[];do{c=n.pop(),r.get(c).onStack=!1,l.push(c)}while(a!==c);i.push(l)}}(o)}),i},F=function(t){return G(t).filter(function(e){return e.length>1||1===e.length&&t.hasEdge(e[0],e[0])})};function z(t){"@babel/helpers - typeof";return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?(n[0]=2*(u*a+f*r+c*o-l*i)/h,n[1]=2*(c*a+f*i+l*r-u*o)/h,n[2]=2*(l*a+f*o+u*i-c*r)/h):(n[0]=2*(u*a+f*r+c*o-l*i),n[1]=2*(c*a+f*i+l*r-u*o),n[2]=2*(l*a+f*o+u*i-c*r)),ct(t,e,n),t}function ft(t,e){return t[0]=e[12],t[1]=e[13],t[2]=e[14],t}function ht(t,e){var n=e[0],r=e[1],i=e[2],o=e[4],a=e[5],s=e[6],u=e[8],c=e[9],l=e[10];return t[0]=Math.hypot(n,r,i),t[1]=Math.hypot(o,a,s),t[2]=Math.hypot(u,c,l),t}function dt(t,e){var n=new s.a(3);ht(n,e);var r=1/n[0],i=1/n[1],o=1/n[2],a=e[0]*r,u=e[1]*i,c=e[2]*o,l=e[4]*r,f=e[5]*i,h=e[6]*o,d=e[8]*r,p=e[9]*i,g=e[10]*o,v=a+f+g,y=0;return v>0?(y=2*Math.sqrt(v+1),t[3]=.25*y,t[0]=(h-p)/y,t[1]=(d-c)/y,t[2]=(u-l)/y):a>f&&a>g?(y=2*Math.sqrt(1+a-f-g),t[3]=(h-p)/y,t[0]=.25*y,t[1]=(u+l)/y,t[2]=(d+c)/y):f>g?(y=2*Math.sqrt(1+f-a-g),t[3]=(d-c)/y,t[0]=(u+l)/y,t[1]=.25*y,t[2]=(h+p)/y):(y=2*Math.sqrt(1+g-a-f),t[3]=(u-l)/y,t[0]=(d+c)/y,t[1]=(h+p)/y,t[2]=.25*y),t}function pt(t,e,n,r){var i=e[0],o=e[1],a=e[2],s=e[3],u=i+i,c=o+o,l=a+a,f=i*u,h=i*c,d=i*l,p=o*c,g=o*l,v=a*l,y=s*u,m=s*c,b=s*l,x=r[0],w=r[1],_=r[2];return t[0]=(1-(p+v))*x,t[1]=(h+b)*x,t[2]=(d-m)*x,t[3]=0,t[4]=(h-b)*w,t[5]=(1-(f+v))*w,t[6]=(g+y)*w,t[7]=0,t[8]=(d+m)*_,t[9]=(g-y)*_,t[10]=(1-(f+p))*_,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}function gt(t,e,n,r,i){var o=e[0],a=e[1],s=e[2],u=e[3],c=o+o,l=a+a,f=s+s,h=o*c,d=o*l,p=o*f,g=a*l,v=a*f,y=s*f,m=u*c,b=u*l,x=u*f,w=r[0],_=r[1],E=r[2],S=i[0],M=i[1],O=i[2],k=(1-(g+y))*w,A=(d+x)*w,C=(p-b)*w,I=(d-x)*_,T=(1-(h+y))*_,N=(v+m)*_,P=(p+b)*E,j=(v-m)*E,D=(1-(h+g))*E;return t[0]=k,t[1]=A,t[2]=C,t[3]=0,t[4]=I,t[5]=T,t[6]=N,t[7]=0,t[8]=P,t[9]=j,t[10]=D,t[11]=0,t[12]=n[0]+S-(k*S+I*M+P*O),t[13]=n[1]+M-(A*S+T*M+j*O),t[14]=n[2]+O-(C*S+N*M+D*O),t[15]=1,t}function vt(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=n+n,s=r+r,u=i+i,c=n*a,l=r*a,f=r*s,h=i*a,d=i*s,p=i*u,g=o*a,v=o*s,y=o*u;return t[0]=1-f-p,t[1]=l+y,t[2]=h-v,t[3]=0,t[4]=l-y,t[5]=1-c-p,t[6]=d+g,t[7]=0,t[8]=h+v,t[9]=d-g,t[10]=1-c-f,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}function yt(t,e,n,r,i,o,a){var s=1/(n-e),u=1/(i-r),c=1/(o-a);return t[0]=2*o*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*o*u,t[6]=0,t[7]=0,t[8]=(n+e)*s,t[9]=(i+r)*u,t[10]=(a+o)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=a*o*2*c,t[15]=0,t}function mt(t,e,n,r,i){var o,a=1/Math.tan(e/2);return t[0]=a/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=a,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(o=1/(r-i),t[10]=(i+r)*o,t[14]=2*i*r*o):(t[10]=-1,t[14]=-2*r),t}var bt=mt;function xt(t,e,n,r,i){var o,a=1/Math.tan(e/2);return t[0]=a/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=a,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(o=1/(r-i),t[10]=i*o,t[14]=i*r*o):(t[10]=-1,t[14]=-r),t}function wt(t,e,n,r){var i=Math.tan(e.upDegrees*Math.PI/180),o=Math.tan(e.downDegrees*Math.PI/180),a=Math.tan(e.leftDegrees*Math.PI/180),s=Math.tan(e.rightDegrees*Math.PI/180),u=2/(a+s),c=2/(i+o);return t[0]=u,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c,t[6]=0,t[7]=0,t[8]=-(a-s)*u*.5,t[9]=(i-o)*c*.5,t[10]=r/(n-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*n/(n-r),t[15]=0,t}function _t(t,e,n,r,i,o,a){var s=1/(e-n),u=1/(r-i),c=1/(o-a);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*u,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(e+n)*s,t[13]=(i+r)*u,t[14]=(a+o)*c,t[15]=1,t}var Et=_t;function St(t,e,n,r,i,o,a){var s=1/(e-n),u=1/(r-i),c=1/(o-a);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*u,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=c,t[11]=0,t[12]=(e+n)*s,t[13]=(i+r)*u,t[14]=o*c,t[15]=1,t}function Mt(t,e,n,r){var i,o,a,u,c,l,f,h,d,p,g=e[0],v=e[1],y=e[2],m=r[0],b=r[1],x=r[2],w=n[0],_=n[1],E=n[2];return Math.abs(g-w)0&&(l*=d=1/Math.sqrt(d),f*=d,h*=d);var p=u*h-c*f,g=c*l-s*h,v=s*f-u*l;return(d=p*p+g*g+v*v)>0&&(p*=d=1/Math.sqrt(d),g*=d,v*=d),t[0]=p,t[1]=g,t[2]=v,t[3]=0,t[4]=f*v-h*g,t[5]=h*p-l*v,t[6]=l*g-f*p,t[7]=0,t[8]=l,t[9]=f,t[10]=h,t[11]=0,t[12]=i,t[13]=o,t[14]=a,t[15]=1,t}function kt(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"}function At(t){return Math.hypot(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function Ct(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t[9]=e[9]+n[9],t[10]=e[10]+n[10],t[11]=e[11]+n[11],t[12]=e[12]+n[12],t[13]=e[13]+n[13],t[14]=e[14]+n[14],t[15]=e[15]+n[15],t}function It(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t[9]=e[9]-n[9],t[10]=e[10]-n[10],t[11]=e[11]-n[11],t[12]=e[12]-n[12],t[13]=e[13]-n[13],t[14]=e[14]-n[14],t[15]=e[15]-n[15],t}function Tt(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t[9]=e[9]*n,t[10]=e[10]*n,t[11]=e[11]*n,t[12]=e[12]*n,t[13]=e[13]*n,t[14]=e[14]*n,t[15]=e[15]*n,t}function Nt(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t[9]=e[9]+n[9]*r,t[10]=e[10]+n[10]*r,t[11]=e[11]+n[11]*r,t[12]=e[12]+n[12]*r,t[13]=e[13]+n[13]*r,t[14]=e[14]+n[14]*r,t[15]=e[15]+n[15]*r,t}function Pt(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]&&t[9]===e[9]&&t[10]===e[10]&&t[11]===e[11]&&t[12]===e[12]&&t[13]===e[13]&&t[14]===e[14]&&t[15]===e[15]}function jt(t,e){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],u=t[5],c=t[6],l=t[7],f=t[8],h=t[9],d=t[10],p=t[11],g=t[12],v=t[13],y=t[14],m=t[15],b=e[0],x=e[1],w=e[2],_=e[3],E=e[4],S=e[5],M=e[6],O=e[7],k=e[8],A=e[9],C=e[10],I=e[11],T=e[12],N=e[13],P=e[14],j=e[15];return Math.abs(n-b)<=s.b*Math.max(1,Math.abs(n),Math.abs(b))&&Math.abs(r-x)<=s.b*Math.max(1,Math.abs(r),Math.abs(x))&&Math.abs(i-w)<=s.b*Math.max(1,Math.abs(i),Math.abs(w))&&Math.abs(o-_)<=s.b*Math.max(1,Math.abs(o),Math.abs(_))&&Math.abs(a-E)<=s.b*Math.max(1,Math.abs(a),Math.abs(E))&&Math.abs(u-S)<=s.b*Math.max(1,Math.abs(u),Math.abs(S))&&Math.abs(c-M)<=s.b*Math.max(1,Math.abs(c),Math.abs(M))&&Math.abs(l-O)<=s.b*Math.max(1,Math.abs(l),Math.abs(O))&&Math.abs(f-k)<=s.b*Math.max(1,Math.abs(f),Math.abs(k))&&Math.abs(h-A)<=s.b*Math.max(1,Math.abs(h),Math.abs(A))&&Math.abs(d-C)<=s.b*Math.max(1,Math.abs(d),Math.abs(C))&&Math.abs(p-I)<=s.b*Math.max(1,Math.abs(p),Math.abs(I))&&Math.abs(g-T)<=s.b*Math.max(1,Math.abs(g),Math.abs(T))&&Math.abs(v-N)<=s.b*Math.max(1,Math.abs(v),Math.abs(N))&&Math.abs(y-P)<=s.b*Math.max(1,Math.abs(y),Math.abs(P))&&Math.abs(m-j)<=s.b*Math.max(1,Math.abs(m),Math.abs(j))}var Dt=Z,Lt=It,Rt=n("n+fv");function Bt(){var t=new s.a(4);return s.a!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0,t[3]=0),t}function Gt(t){var e=new s.a(4);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function Ft(t,e,n,r){var i=new s.a(4);return i[0]=t,i[1]=e,i[2]=n,i[3]=r,i}function zt(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function Ut(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function Wt(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t}function Vt(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t}function Xt(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t[3]=e[3]*n[3],t}function Yt(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t[3]=e[3]/n[3],t}function Ht(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t}function qt(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t}function Kt(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t[3]=Math.min(e[3],n[3]),t}function Zt(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t[3]=Math.max(e[3],n[3]),t}function Qt(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t[3]=Math.round(e[3]),t}function Jt(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t}function $t(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t}function te(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],o=e[3]-t[3];return Math.hypot(n,r,i,o)}function ee(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],o=e[3]-t[3];return n*n+r*r+i*i+o*o}function ne(t){var e=t[0],n=t[1],r=t[2],i=t[3];return Math.hypot(e,n,r,i)}function re(t){var e=t[0],n=t[1],r=t[2],i=t[3];return e*e+n*n+r*r+i*i}function ie(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t}function oe(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t}function ae(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=n*n+r*r+i*i+o*o;return a>0&&(a=1/Math.sqrt(a)),t[0]=n*a,t[1]=r*a,t[2]=i*a,t[3]=o*a,t}function se(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function ue(t,e,n,r){var i=n[0]*r[1]-n[1]*r[0],o=n[0]*r[2]-n[2]*r[0],a=n[0]*r[3]-n[3]*r[0],s=n[1]*r[2]-n[2]*r[1],u=n[1]*r[3]-n[3]*r[1],c=n[2]*r[3]-n[3]*r[2],l=e[0],f=e[1],h=e[2],d=e[3];return t[0]=f*c-h*u+d*s,t[1]=-l*c+h*a-d*o,t[2]=l*u-f*a+d*i,t[3]=-l*s+f*o-h*i,t}function ce(t,e,n,r){var i=e[0],o=e[1],a=e[2],s=e[3];return t[0]=i+r*(n[0]-i),t[1]=o+r*(n[1]-o),t[2]=a+r*(n[2]-a),t[3]=s+r*(n[3]-s),t}function le(t,e){var n,r,i,o,a,u;e=e||1;do{a=(n=2*s.c()-1)*n+(r=2*s.c()-1)*r}while(a>=1);do{u=(i=2*s.c()-1)*i+(o=2*s.c()-1)*o}while(u>=1);var c=Math.sqrt((1-a)/u);return t[0]=e*n,t[1]=e*r,t[2]=e*i*c,t[3]=e*o*c,t}function fe(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*o+n[12]*a,t[1]=n[1]*r+n[5]*i+n[9]*o+n[13]*a,t[2]=n[2]*r+n[6]*i+n[10]*o+n[14]*a,t[3]=n[3]*r+n[7]*i+n[11]*o+n[15]*a,t}function he(t,e,n){var r=e[0],i=e[1],o=e[2],a=n[0],s=n[1],u=n[2],c=n[3],l=c*r+s*o-u*i,f=c*i+u*r-a*o,h=c*o+a*i-s*r,d=-a*r-s*i-u*o;return t[0]=l*c+d*-a+f*-u-h*-s,t[1]=f*c+d*-s+h*-a-l*-u,t[2]=h*c+d*-u+l*-s-f*-a,t[3]=e[3],t}function de(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=0,t}function pe(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"}function ge(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function ve(t,e){var n=t[0],r=t[1],i=t[2],o=t[3],a=e[0],u=e[1],c=e[2],l=e[3];return Math.abs(n-a)<=s.b*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(r-u)<=s.b*Math.max(1,Math.abs(r),Math.abs(u))&&Math.abs(i-c)<=s.b*Math.max(1,Math.abs(i),Math.abs(c))&&Math.abs(o-l)<=s.b*Math.max(1,Math.abs(o),Math.abs(l))}var ye=Vt,me=Xt,be=Yt,xe=te,we=ee,_e=ne,Ee=re,Se=function(){var t=Bt();return function(e,n,r,i,o,a){var s,u;for(n||(n=4),r||(r=0),u=i?Math.min(i*n+r,e.length):e.length,s=r;ss.b?(t[0]=e[0]/r,t[1]=e[1]/r,t[2]=e[2]/r):(t[0]=1,t[1]=0,t[2]=0),n}function Ce(t,e){var n=Je(t,e);return Math.acos(2*n*n-1)}function Ie(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3],s=n[0],u=n[1],c=n[2],l=n[3];return t[0]=r*l+a*s+i*c-o*u,t[1]=i*l+a*u+o*s-r*c,t[2]=o*l+a*c+r*u-i*s,t[3]=a*l-r*s-i*u-o*c,t}function Te(t,e,n){n*=.5;var r=e[0],i=e[1],o=e[2],a=e[3],s=Math.sin(n),u=Math.cos(n);return t[0]=r*u+a*s,t[1]=i*u+o*s,t[2]=o*u-i*s,t[3]=a*u-r*s,t}function Ne(t,e,n){n*=.5;var r=e[0],i=e[1],o=e[2],a=e[3],s=Math.sin(n),u=Math.cos(n);return t[0]=r*u-o*s,t[1]=i*u+a*s,t[2]=o*u+r*s,t[3]=a*u-i*s,t}function Pe(t,e,n){n*=.5;var r=e[0],i=e[1],o=e[2],a=e[3],s=Math.sin(n),u=Math.cos(n);return t[0]=r*u+i*s,t[1]=i*u-r*s,t[2]=o*u+a*s,t[3]=a*u-o*s,t}function je(t,e){var n=e[0],r=e[1],i=e[2];return t[0]=n,t[1]=r,t[2]=i,t[3]=Math.sqrt(Math.abs(1-n*n-r*r-i*i)),t}function De(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=Math.sqrt(n*n+r*r+i*i),s=Math.exp(o),u=a>0?s*Math.sin(a)/a:0;return t[0]=n*u,t[1]=r*u,t[2]=i*u,t[3]=s*Math.cos(a),t}function Le(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=Math.sqrt(n*n+r*r+i*i),s=a>0?Math.atan2(a,o)/a:0;return t[0]=n*s,t[1]=r*s,t[2]=i*s,t[3]=.5*Math.log(n*n+r*r+i*i+o*o),t}function Re(t,e,n){return Le(t,e),Qe(t,t,n),De(t,t),t}function Be(t,e,n,r){var i,o,a,u,c,l=e[0],f=e[1],h=e[2],d=e[3],p=n[0],g=n[1],v=n[2],y=n[3];return(o=l*p+f*g+h*v+d*y)<0&&(o=-o,p=-p,g=-g,v=-v,y=-y),1-o>s.b?(i=Math.acos(o),a=Math.sin(i),u=Math.sin((1-r)*i)/a,c=Math.sin(r*i)/a):(u=1-r,c=r),t[0]=u*l+c*p,t[1]=u*f+c*g,t[2]=u*h+c*v,t[3]=u*d+c*y,t}function Ge(t){var e=s.c(),n=s.c(),r=s.c(),i=Math.sqrt(1-e),o=Math.sqrt(e);return t[0]=i*Math.sin(2*Math.PI*n),t[1]=i*Math.cos(2*Math.PI*n),t[2]=o*Math.sin(2*Math.PI*r),t[3]=o*Math.cos(2*Math.PI*r),t}function Fe(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=n*n+r*r+i*i+o*o,s=a?1/a:0;return t[0]=-n*s,t[1]=-r*s,t[2]=-i*s,t[3]=o*s,t}function ze(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=e[3],t}function Ue(t,e){var n,r=e[0]+e[4]+e[8];if(r>0)n=Math.sqrt(r+1),t[3]=.5*n,n=.5/n,t[0]=(e[5]-e[7])*n,t[1]=(e[6]-e[2])*n,t[2]=(e[1]-e[3])*n;else{var i=0;e[4]>e[0]&&(i=1),e[8]>e[3*i+i]&&(i=2);var o=(i+1)%3,a=(i+2)%3;n=Math.sqrt(e[3*i+i]-e[3*o+o]-e[3*a+a]+1),t[i]=.5*n,n=.5/n,t[3]=(e[3*o+a]-e[3*a+o])*n,t[o]=(e[3*o+i]+e[3*i+o])*n,t[a]=(e[3*a+i]+e[3*i+a])*n}return t}function We(t,e,n,r){var i=.5*Math.PI/180;e*=i,n*=i,r*=i;var o=Math.sin(e),a=Math.cos(e),s=Math.sin(n),u=Math.cos(n),c=Math.sin(r),l=Math.cos(r);return t[0]=o*u*l-a*s*c,t[1]=a*s*l+o*u*c,t[2]=a*u*c-o*s*l,t[3]=a*u*l+o*s*c,t}function Ve(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"}var Xe=Gt,Ye=Ft,He=zt,qe=Ut,Ke=Wt,Ze=Ie,Qe=Jt,Je=se,$e=ce,tn=ne,en=tn,nn=re,rn=nn,on=ae,an=ge,sn=ve,un=function(){var t=Rt.create(),e=Rt.fromValues(1,0,0),n=Rt.fromValues(0,1,0);return function(r,i,o){var a=Rt.dot(i,o);return a<-.999999?(Rt.cross(t,e,i),Rt.len(t)<1e-6&&Rt.cross(t,n,i),Rt.normalize(t,t),ke(r,t,Math.PI),r):a>.999999?(r[0]=0,r[1]=0,r[2]=0,r[3]=1,r):(Rt.cross(t,i,o),r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=1+a,on(r,r))}}(),cn=function(){var t=Me(),e=Me();return function(n,r,i,o,a,s){return Be(t,r,a,s),Be(e,i,o,s),Be(n,t,e,2*s*(1-s)),n}}(),ln=function(){var t=u();return function(e,n,r,i){return t[0]=r[0],t[3]=r[1],t[6]=r[2],t[1]=i[0],t[4]=i[1],t[7]=i[2],t[2]=-n[0],t[5]=-n[1],t[8]=-n[2],on(e,Ue(e,t))}}(),fn=n("ZxFD");n.d(e,!1,function(){}),n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i}),n.d(e,"c",function(){return a}),n.d(e,"d",function(){return fn}),n.d(e,"e",function(){return Rt}),n.d(e,"f",function(){return o})},IQ25:function(t,e,n){"use strict";n.d(e,"a",function(){return p});var r=n("lwsE"),i=n.n(r),o=n("PJYZ"),a=n.n(o),s=n("7W2i"),u=n.n(s),c=n("a1gu"),l=n.n(c),f=n("Nsbk"),h=n.n(f);function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var n,r=h()(t);if(e){var i=h()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l()(this,n)}}var p=function(t){u()(n,t);var e=d(n);function n(t){var r;return i()(this,n),(r=e.call(this,t)).parentID=void 0,Object.assign(a()(r),t),r}return n}(n("oDt1").a)},Ijbi:function(t,e,n){var r=n("WkPL");t.exports=function(t){if(Array.isArray(t))return r(t)},t.exports.__esModule=!0,t.exports.default=t.exports},"J/St":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getPropertyWeight=e.getAllSortProperties=e.getAllProperties=e.default=void 0;var r=n("hpyz"),i=function(t,e){void 0===t&&(t=[]),void 0===e&&(e=100);var n={};t.forEach(function(t){t.properties&&Object.keys(t.properties).forEach(function(e){"id"===e||!"".concat(t.properties[e]).match(r.secondReg)&&!"".concat(t.properties[e]).match(r.dateReg)&&isNaN(Number(t.properties[e]))?n.hasOwnProperty(e)&&delete n[e]:n.hasOwnProperty(e)?n[e]+=1:n[e]=1})});var i=Object.keys(n).sort(function(t,e){return n[e]-n[t]});return i.length= than the number of constructor arguments of its base class."},e.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT="Invalid Container constructor argument. Container options must be an object.",e.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE="Invalid Container option. Default scope must be a string ('singleton' or 'transient').",e.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE="Invalid Container option. Auto bind injectable must be a boolean",e.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK="Invalid Container option. Skip base check must be a boolean",e.MULTIPLE_POST_CONSTRUCT_METHODS="Cannot apply @postConstruct decorator multiple times in the same class";e.POST_CONSTRUCT_ERROR=function(){for(var t=[],e=0;et.x&&(i=t.x),o>t.y&&(o=t.y)}),e.forEach(function(t){t.points.forEach(function(t){i>t.x&&(i=t.x),o>t.y&&(o=t.y)})}),r[0]=n[0]-i,r[1]=n[1]-o}return r},e.prototype.updateNodePosition=function(t,e){var n=this.combos,r=this.nodes,i=this.edges,o=this.anchorPoint,a=this.graphSettings,u=this.getBegin(t,e);t.forEach(function(t){var c,l=t.x,f=t.y,h=t.id,d=t.type,p=t.coreBox;if(d===s.HierarchyNodeType.META&&h!==s.ROOT_NAME){var g=n.findIndex(function(t){return t.id===h}),v=null===(c=null===a||void 0===a?void 0:a.subScene)||void 0===c?void 0:c.meta;n[g].offsetX=l+u[0],n[g].offsetY=f+u[1],n[g].fixSize=[p.width,p.height],n[g].fixCollapseSize=[p.width,p.height],t.expanded?n[g].padding=[null===v||void 0===v?void 0:v.paddingTop,null===v||void 0===v?void 0:v.paddingRight,null===v||void 0===v?void 0:v.paddingBottom,null===v||void 0===v?void 0:v.paddingLeft]:n[g].padding=[0,0,0,0]}else if(d===s.HierarchyNodeType.OP){g=r.findIndex(function(t){return t.id===h});if(r[g].x=l+u[0],r[g].y=f+u[1],o){var y=[],m=e.filter(function(t){return t.v===h}),b=e.filter(function(t){return t.w===h});m.length>0&&m.forEach(function(e){var n=e.points[0],r=(n.x-l)/t.width+.5,o=(n.y-f)/t.height+.5;y.push([r,o]),e.baseEdgeList.forEach(function(t){var e=i.find(function(e){return e.source===t.v&&e.target===t.w});e&&(e.sourceAnchor=y.length-1)})}),b.length>0&&b.forEach(function(e){var n=e.points[e.points.length-1],r=(n.x-l)/t.width+.5,o=(n.y-f)/t.height+.5;y.push([r,o]),e.baseEdgeList.forEach(function(t){var e=i.find(function(e){return e.source===t.v&&e.target===t.w});e&&(e.targetAnchor=y.length-1)})}),r[g].anchorPoints=y.length>0?y:r[g].anchorPoints||[]}}})},e.prototype.updateEdgePosition=function(t,e){var n=this,r=n.combos,a=n.edges,u=n.controlPoints,c=this.getBegin(t,e);u&&(r.forEach(function(t){t.inEdges=[],t.outEdges=[]}),a.forEach(function(e){var a,u,l,f,h=t.find(function(t){return t.id===e.source}),d=t.find(function(t){return t.id===e.target}),p=[],g=[];if(h&&d)g=(0,s.getEdges)(null===h||void 0===h?void 0:h.id,null===d||void 0===d?void 0:d.id,t);else if(!h||!d){var v=n.getNodePath(e.source),y=n.getNodePath(e.target),m=v.reverse().slice(h?0:1).find(function(e){return t.find(function(t){return t.id===e})}),b=y.reverse().slice(d?0:1).find(function(e){return t.find(function(t){return t.id===e})});h=t.find(function(t){return t.id===m}),d=t.find(function(t){return t.id===b}),g=(0,s.getEdges)(null===h||void 0===h?void 0:h.id,null===d||void 0===d?void 0:d.id,t,{v:e.source,w:e.target})}if(p=(p=g.reduce(function(t,e){return o(o([],t,!0),e.points.map(function(t){return i(i({},t),{x:t.x+c[0],y:t.y+c[1]})}),!0)},[])).slice(1,-1),e.controlPoints=p,(null===d||void 0===d?void 0:d.type)===s.NodeType.META){var x=r.findIndex(function(t){return t.id===(null===d||void 0===d?void 0:d.id)});if(!r[x]||(null===(a=r[x].inEdges)||void 0===a?void 0:a.some(function(t){return t.source===h.id&&t.target===d.id})))return;null===(u=r[x].inEdges)||void 0===u||u.push({source:h.id,target:d.id,controlPoints:p})}if((null===h||void 0===h?void 0:h.type)===s.NodeType.META){x=r.findIndex(function(t){return t.id===(null===h||void 0===h?void 0:h.id)});if(!r[x]||(null===(l=r[x].outEdges)||void 0===l?void 0:l.some(function(t){return t.source===h.id&&t.target===d.id})))return;null===(f=r[x].outEdges)||void 0===f||f.push({source:h.id,target:d.id,controlPoints:p})}}))},e.prototype.getType=function(){return"dagreCompound"},e.prototype.getDataByOrder=function(t){return t.every(function(t){return void 0!==t.layoutOrder})||t.forEach(function(t,e){t.layoutOrder=e}),t.sort(function(t,e){return t.layoutOrder-e.layoutOrder})},e}(a.Base);e.DagreCompoundLayout=c},PJYZ:function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},PMMO:function(t,e){t.exports=function(t,e){return t[0]=e[0],t[1]=e[1],t}},Pdwu:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("tK6A"),i=function(){function t(t){this.distances=t.distances,this.dimension=t.dimension||2,this.linkDistance=t.linkDistance}return t.prototype.layout=function(){var t=this.dimension,e=this.distances,n=this.linkDistance;try{var i=r.Matrix.mul(r.Matrix.pow(e,2),-.5),o=i.mean("row"),a=i.mean("column"),s=i.mean();i.add(s).subRowVector(o).subColumnVector(a);var u=new r.SingularValueDecomposition(i),c=r.Matrix.sqrt(u.diagonalMatrix).diagonal();return u.leftSingularVectors.toJSON().map(function(e){return r.Matrix.mul([e],[c]).toJSON()[0].splice(0,t)})}catch(t){for(var l=[],f=0;f0;){var l=u.shift(),f=l.source,h=l.target;c.connected(f,h)||(n.push(l),c.union(f,h))}return n},c=function(t,e,n){return n?{prim:s,kruskal:u}[n](t,e):u(t,e)};e.default=c},QOyy:function(t,e){t.exports=function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t}},Qjdz:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.camelize=e.isString=void 0;e.isString=function(t){return"string"==typeof t};var r=/-(\w)/g;e.camelize=function(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}(function(t){return t.replace(r,function(t,e){return e?e.toUpperCase():""})})},"Qx/q":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){this.xmid=t.xmid,this.ymid=t.ymid,this.length=t.length,this.massCenter=t.massCenter||[0,0],this.mass=t.mass||1}return t.prototype.getLength=function(){return this.length},t.prototype.contains=function(t,e){var n=this.length/2;return t<=this.xmid+n&&t>=this.xmid-n&&e<=this.ymid+n&&e>=this.ymid-n},t.prototype.NW=function(){return new t({xmid:this.xmid-this.length/4,ymid:this.ymid+this.length/4,length:this.length/2})},t.prototype.NE=function(){return new t({xmid:this.xmid+this.length/4,ymid:this.ymid+this.length/4,length:this.length/2})},t.prototype.SW=function(){return new t({xmid:this.xmid-this.length/4,ymid:this.ymid-this.length/4,length:this.length/2})},t.prototype.SE=function(){return new t({xmid:this.xmid+this.length/4,ymid:this.ymid-this.length/4,length:this.length/2})},t}();e.default=r},Qy2L:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.slack=e.longestPathWithLayer=e.longestPath=void 0;var r=function(t){var e,n={},r=function(e){var i,o,a=t.node(e);return n[e]?a.rank:(n[e]=!0,null===(i=t.outEdges(e))||void 0===i||i.forEach(function(e){var n=r(e.w)-t.edge(e).minlen;n&&(void 0===o||nu.lim&&(c=u,l=!0);var f=e.edges().filter(function(e){return l===d(t,t.node(e.v),c)&&l!==d(t,t.node(e.w),c)});return(0,o.minBy)(f,function(t){return(0,i.slack)(e,t)})};e.exchangeEdges=function(t,n,r,i){var o=r.v,a=r.w;t.removeEdge(o,a),t.setEdge(i.v,i.w,{}),(0,e.initLowLimValues)(t),(0,e.initCutValues)(t,n),f(t,n)};var f=function(t,e){var n=t.nodes().find(function(t){var n;return!(null===(n=e.node(t))||void 0===n?void 0:n.parent)}),r=s(t,n);null===(r=null===r||void 0===r?void 0:r.slice(1))||void 0===r||r.forEach(function(n){var r=t.node(n).parent,i=e.edgeFromArgs(n,r),o=!1;i||(i=e.edgeFromArgs(r,n),o=!0),e.node(n).rank=e.node(r).rank+(o?i.minlen:-i.minlen)})},h=function(t,e,n){return t.hasEdge(e,n)},d=function(t,e,n){return n.low<=e.lim&&e.lim<=n.lim};e.default=function(t){var n=(0,o.simplify)(t);(0,i.longestPath)(n);var a,s,u=(0,r.feasibleTree)(n);for((0,e.initLowLimValues)(u),(0,e.initCutValues)(u,n);a=(0,e.leaveEdge)(u);)s=(0,e.enterEdge)(u,n,a),(0,e.exchangeEdges)(u,n,a,s)}},R0SI:function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var i=r(n("4f/S")),o=function(t){var e=[],n={},r={},i=function(o){var a;r[o]||(r[o]=!0,n[o]=!0,null===(a=t.outEdges(o))||void 0===a||a.forEach(function(t){n[t.w]?e.push(t):i(t.w)}),delete n[o])};return t.nodes().forEach(i),e};e.default={run:function(t){var e="greedy"===t.graph().acyclicer?(0,i.default)(t,function(t){return function(e){var n;return(null===(n=t.edge(e))||void 0===n?void 0:n.weight)||1}}(t)):o(t);null===e||void 0===e||e.forEach(function(e){var n=t.edge(e);t.removeEdgeObj(e),n.forwardName=e.name,n.reversed=!0,t.setEdge(e.w,e.v,n,"rev-".concat(Math.random()))})},undo:function(t){t.edges().forEach(function(e){var n=t.edge(e);if(n.reversed){t.removeEdgeObj(e);var r=n.forwardName;delete n.reversed,delete n.forwardName,t.setEdge(e.w,e.v,n,r)}})}}},RIqP:function(t,e,n){var r=n("Ijbi"),i=n("EbDI"),o=n("ZhPi"),a=n("Bnag");t.exports=function(t){return r(t)||i(t)||o(t)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},"RR/i":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typeConstraint=e.namedConstraint=e.taggedConstraint=e.traverseAncerstors=void 0;var r=n("xfSm"),i=n("GXnB"),o=function(t,e){var n=t.parentRequest;return null!==n&&(!!e(n)||o(n,e))};e.traverseAncerstors=o;var a=function(t){return function(e){var n=function(n){return null!==n&&null!==n.target&&n.target.matchesTag(t)(e)};return n.metaData=new i.Metadata(t,e),n}};e.taggedConstraint=a;var s=a(r.NAMED_TAG);e.namedConstraint=s;e.typeConstraint=function(t){return function(e){var n=null;if(null!==e){if(n=e.bindings[0],"string"==typeof t)return n.serviceIdentifier===t;var r=e.bindings[0].implementationType;return t===r}return!1}}},RRY9:function(t,e){t.exports=function(t,e){return t[0]===e[0]&&t[1]===e[1]}},RVo0:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.ConcentricLayout=void 0;var i=n("8nGZ"),o=function(t){function e(e){var n=t.call(this)||this;return n.nodeSize=30,n.minNodeSpacing=10,n.nodeSpacing=10,n.preventOverlap=!1,n.equidistant=!1,n.startAngle=1.5*Math.PI,n.clockwise=!0,n.sortBy="degree",n.nodes=[],n.edges=[],n.width=300,n.height=300,n.onLayoutEnd=function(){},n.updateCfg(e),n}return r(e,t),e.prototype.getDefaultCfg=function(){return{nodeSize:30,minNodeSpacing:10,nodeSpacing:10,preventOverlap:!1,sweep:void 0,equidistant:!1,startAngle:1.5*Math.PI,clockwise:!0,maxLevelDiff:void 0,sortBy:"degree"}},e.prototype.execute=function(){var t,e,n=this,r=n.nodes,o=n.edges,a=r.length;if(0!==a){n.width||"undefined"==typeof window||(n.width=window.innerWidth),n.height||"undefined"==typeof window||(n.height=window.innerHeight),n.center||(n.center=[n.width/2,n.height/2]);var s=n.center;if(1===a)return r[0].x=s[0],r[0].y=s[1],void(null===(e=n.onLayoutEnd)||void 0===e||e.call(n));var u,c=n.nodeSize,l=n.nodeSpacing,f=[],h=0;u=(0,i.isArray)(c)?Math.max(c[0],c[1]):c,(0,i.isArray)(l)?h=Math.max(l[0],l[1]):(0,i.isNumber)(l)&&(h=l),r.forEach(function(t){f.push(t);var e=u;(0,i.isArray)(t.size)?e=Math.max(t.size[0],t.size[1]):(0,i.isNumber)(t.size)?e=t.size:(0,i.isObject)(t.size)&&(e=Math.max(t.size.width,t.size.height)),u=Math.max(u,e),(0,i.isFunction)(l)&&(h=Math.max(l(t),h))}),n.clockwise=void 0!==n.counterclockwise?!n.counterclockwise:n.clockwise;var d={},p={};if(f.forEach(function(t,e){d[t.id]=t,p[t.id]=e}),!("degree"!==n.sortBy&&(0,i.isString)(n.sortBy)&&void 0!==f[0][n.sortBy]||(n.sortBy="degree",(0,i.isNumber)(r[0].degree)))){var g=(0,i.getDegree)(r.length,p,o);f.forEach(function(t,e){t.degree=g[e]})}f.sort(function(t,e){return e[n.sortBy]-t[n.sortBy]}),n.maxValueNode=f[0],n.maxLevelDiff=n.maxLevelDiff||n.maxValueNode[n.sortBy]/4;var v=[[]],y=v[0];f.forEach(function(t){if(y.length>0){var e=Math.abs(y[0][n.sortBy]-t[n.sortBy]);n.maxLevelDiff&&e>=n.maxLevelDiff&&(y=[],v.push(y))}y.push(t)});var m=u+(h||n.minNodeSpacing);if(!n.preventOverlap){var b=v.length>0&&v[0].length>1,x=(Math.min(n.width,n.height)/2-m)/(v.length+(b?1:0));m=Math.min(m,x)}var w=0;if(v.forEach(function(t){var e=n.sweep;void 0===e&&(e=2*Math.PI-2*Math.PI/t.length);var r=t.dTheta=e/Math.max(1,t.length-1);if(t.length>1&&n.preventOverlap){var i=Math.cos(r)-Math.cos(0),o=Math.sin(r)-Math.sin(0),a=Math.sqrt(m*m/(i*i+o*o));w=Math.max(a,w)}t.r=w,w+=m}),n.equidistant){for(var _=0,E=0,S=0;So[0]&&(o[0]=s),u>o[1]&&(o[1]=u),c>o[2]&&(o[2]=c)}return e.setMinMax(n,o),e}},Svbc:function(t,e,n){t.exports=n("Bu3x")},SwNF:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toNumber=e.isNaN=e.isNumber=void 0;e.isNumber=function(t){return"number"==typeof t};e.isNaN=function(t){return Number.isNaN(Number(t))};e.toNumber=function(t){var n=parseFloat(t);return(0,e.isNaN)(n)?t:n}},T016:function(t,e,n){"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},TRqC:function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);i&&("get"in i?e.__esModule:!i.writable&&!i.configurable)||(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),i=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||r(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),i(n("zLJh"),e)},Tahl:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.RandomLayout=void 0;var i=function(t){function e(e){var n=t.call(this)||this;return n.center=[0,0],n.width=300,n.height=300,n.nodes=[],n.edges=[],n.onLayoutEnd=function(){},n.updateCfg(e),n}return r(e,t),e.prototype.getDefaultCfg=function(){return{center:[0,0],width:300,height:300}},e.prototype.execute=function(){var t=this,e=t.nodes,n=t.center;return t.width||"undefined"==typeof window||(t.width=window.innerWidth),t.height||"undefined"==typeof window||(t.height=window.innerHeight),e&&e.forEach(function(e){e.x=.9*(Math.random()-.5)*t.width+n[0],e.y=.9*(Math.random()-.5)*t.height+n[1]}),t.onLayoutEnd&&t.onLayoutEnd(),{nodes:e,edges:this.edges}},e.prototype.getType=function(){return"random"},e}(n("W8mN").Base);e.RandomLayout=i},Tirl:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Layouts=e.Layout=void 0;var r=n("cEnC"),i=n("miQf"),o=n("Tahl"),a=n("qsEr"),s=n("TRqC"),u=n("fGbL"),c=n("E9Ls"),l=n("Y0u0"),f=n("RVo0"),h=n("gsyx"),d=n("+pfl"),p=n("B33U"),g=n("A3YJ"),v=n("x+rs"),y=n("fQop"),m=n("BxdF"),b=n("knzT"),x=n("PA46"),w=function(){function t(t){var e=(0,r.getLayoutByName)(t.type);this.layoutInstance=new e(t)}return t.prototype.layout=function(t){return this.layoutInstance.layout(t)},t.prototype.updateCfg=function(t){this.layoutInstance.updateCfg(t)},t.prototype.init=function(t){this.layoutInstance.init(t)},t.prototype.execute=function(){this.layoutInstance.execute()},t.prototype.getDefaultCfg=function(){return this.layoutInstance.getDefaultCfg()},t.prototype.destroy=function(){return this.layoutInstance.destroy()},t}();e.Layout=w,e.Layouts={force:s.ForceLayout,fruchterman:d.FruchtermanLayout,forceAtlas2:m.ForceAtlas2Layout,gForce:a.GForceLayout,dagre:c.DagreLayout,dagreCompound:x.DagreCompoundLayout,circular:u.CircularLayout,radial:l.RadialLayout,concentric:f.ConcentricLayout,grid:i.GridLayout,mds:h.MDSLayout,comboForce:v.ComboForceLayout,comboCombined:y.ComboCombinedLayout,random:o.RandomLayout,"gForce-gpu":g.GForceGPULayout,"fruchterman-gpu":p.FruchtermanGPULayout,er:b.ERLayout}},Twb9:function(t,e){t.exports=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[3]*i+n[6],t[1]=n[1]*r+n[4]*i+n[7],t}},"U+yc":function(t,e){t.exports=function(t,e,n,r,i){var o={};return Object.keys(r).forEach(function(t){o[t]=r[t]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(t,e,o),o=null),o},t.exports.__esModule=!0,t.exports.default=t.exports},UUCH:function(t,e,n){"use strict";function r(t){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.detectAllUndirectedCycle=e.detectAllDirectedCycle=e.detectAllCycles=e.default=void 0;var i=function(t){return t&&t.__esModule?t:{default:t}}(n("/lHY")),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var u=o?Object.getOwnPropertyDescriptor(t,a):null;u&&(u.get||u.set)?Object.defineProperty(i,a,u):i[a]=t[a]}i.default=t,n&&n.set(t,i);return i}(n("hi4r")),a=n("3P6T");function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}var u=function(t,e,n){var r,i;void 0===n&&(n=!0);for(var s=[],u=0,c=(0,o.default)(t,!1);u0;)for(var v=d.pop(),y=v.id,m=(0,a.getNeighbors)(y,t.edges),b=function(r){var i,o=m[r],a=t.nodes.find(function(t){return t.id===o});if(o===y)s.push(((i={})[o]=v,i));else if(o in g){if(!g[y].has(a)){for(var u=!0,c=[a,v],l=p[y];g[o].size&&!g[o].has(l)&&(c.push(l),l!==p[l.id]);)l=p[l.id];if(c.push(l),e&&n?(u=!1,c.findIndex(function(t){return e.indexOf(t.id)>-1})>-1&&(u=!0)):e&&!n&&c.findIndex(function(t){return e.indexOf(t.id)>-1})>-1&&(u=!1),u){for(var f={},h=1;h-1)return f;r.push(o),i.add(o);for(var h=l[o.id],d=0;d0;){var n=e.pop();i.has(n)&&(i.delete(n),s[n.id].forEach(function(t){e.push(t)}),s[n.id].clear())}}(o);else for(d=0;d-1});y-1?g[v.id].push(l[b]):u.push(((i={})[v.id]=v,i))}}return{component:p,adjList:g,minIdx:s}},b=0;b=b}),w=(0,o.detectStrongConnectComponents)({nodes:x,edges:t.edges}).filter(function(t){return t.length>1});if(0===w.length)break;var _=m(w),E=_.minIdx,S=_.adjList,M=_.component;if(!(M.length>1))break;M.forEach(function(t){s[t.id]=new Set});var O=c[E];if(e&&n&&-1===e.indexOf(O.id))return u;f(O,O,S),b=E+1}return u};e.detectAllDirectedCycle=c;e.detectAllCycles=function(t,e,n,r){return void 0===r&&(r=!0),e?c(t,n,r):u(t,n,r)};var l=function(t){var e=null,n=t.nodes,r={},o={},a={},s={};(void 0===n?[]:n).forEach(function(t){o[t.id]=t});for(var u={enter:function(t){var n=t.current,i=t.previous;if(a[n]){e={};for(var s=n,u=i;u!==n;)e[s]=u,s=u,u=r[u];e[s]=u}else a[n]=n,delete o[n],r[n]=i},leave:function(t){var e=t.current;s[e]=e,delete a[e]},allowTraversal:function(t){var n=t.next;return!e&&!s[n]}};Object.keys(o).length;){var c=Object.keys(o)[0];(0,i.default)(t,c,u)}return e};e.default=l},Ucsi:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Symbol.for("INJECTION");function i(t,e,n,i){Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return i&&!Reflect.hasMetadata(r,this,e)&&Reflect.defineMetadata(r,n(),this,e),Reflect.hasMetadata(r,this,e)?Reflect.getMetadata(r,this,e):n()},set:function(t){Reflect.defineMetadata(r,t,this,e)}})}e.makePropertyInjectDecorator=function(t,e){return function(n){return function(r,o){i(r,o,function(){return t.get(n)},e)}}},e.makePropertyInjectNamedDecorator=function(t,e){return function(n,r){return function(o,a){i(o,a,function(){return t.getNamed(n,r)},e)}}},e.makePropertyInjectTaggedDecorator=function(t,e){return function(n,r,o){return function(a,s){i(a,s,function(){return t.getTagged(n,r,o)},e)}}},e.makePropertyMultiInjectDecorator=function(t,e){return function(n){return function(r,o){i(r,o,function(){return t.getAll(n)},e)}}}},UrMv:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n("XLAz"));var i=function(){function t(){this.linkedList=new r.default}return t.prototype.isEmpty=function(){return!this.linkedList.head},t.prototype.peek=function(){return this.linkedList.head?this.linkedList.head.value:null},t.prototype.enqueue=function(t){this.linkedList.append(t)},t.prototype.dequeue=function(){var t=this.linkedList.deleteHead();return t?t.value:null},t.prototype.toString=function(t){return this.linkedList.toString(t)},t}();e.default=i},"V/xP":function(t,e,n){"use strict";var r;!function(t){t.Normal="normal",t.PostProcessing="post-processing"}(r||(r={}))},V6Kr:function(t,e,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;nu?1:-1;c=.01*h,l=.01*h}if(fMath.PI/2&&(l-=Math.PI/2,s*=-1,u*=-1);var f=Math.cos(l)*c;e.x=s*f,e.y=u*f});var a=this.radii;t.forEach(function(s,u){if(u!==i){var c=Math.sqrt(e[u].x*e[u].x+e[u].y*e[u].y);if(c>0&&u!==i){var l=Math.min(o*(n/800),c);if(s[0]+=e[u].x/c*l,s[1]+=e[u].y/c*l,r){var f=s[0]-t[i][0],h=s[1]-t[i][1],d=Math.sqrt(f*f+h*h);f=f/d*a[u],h=h/d*a[u],s[0]=t[i][0]+f,s[1]=t[i][1]+h}}}})},t}();e.default=r},W8MJ:function(t,e){function n(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0;)e%2&&(n+=u[e+1]),u[e=e-1>>1]+=t.weight;c+=t.weight*n}}),c};e.default=function(t,e){for(var n=0,r=1;r<(null===e||void 0===e?void 0:e.length);r+=1)n+=i(t,e[r-1],e[r]);return n}},Y0u0:function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);i&&("get"in i?e.__esModule:!i.writable&&!i.configurable)||(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),i=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||r(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),i(n("cRxj"),e)},YJiH:function(t,e,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n1){var e=r({},t);delete e.size,s.push(e)}});var h=[];i.forEach(function(t){var e=s.find(function(e){return e.id===t.source}),n=s.find(function(e){return e.id===t.target});e&&n&&h.push(t)});var d=new f.DagreLayout({type:"dagre",ranksep:e.nodeMinGap,nodesep:e.nodeMinGap}).layout({nodes:s,edges:h}).nodes;n.forEach(function(t){var e=(d||[]).find(function(e){return e.id===t.id});t.x=(null===e||void 0===e?void 0:e.x)||o/2,t.y=(null===e||void 0===e?void 0:e.y)||a/2});var p=JSON.parse(JSON.stringify(n)),g=JSON.parse(JSON.stringify(i)),v=u.forceSimulation().nodes(p).force("link",u.forceLink(g).id(function(t){return t.id}).distance(function(t){return h.find(function(e){return e.source===t.source&&e.target===t.target})?30:20})).force("charge",u.forceManyBody()).force("center",u.forceCenter(o/2,a/2)).force("x",u.forceX(o/2)).force("y",u.forceY(a/2)).alpha(.3).alphaDecay(.08).alphaMin(.001);return new Promise(function(t){v.on("end",function(){n.forEach(function(t){var e=p.find(function(e){return e.id===t.id});e&&(t.x=e.x,t.y=e.y)});var r=Math.min.apply(Math,n.map(function(t){return t.x})),s=Math.max.apply(Math,n.map(function(t){return t.x})),u=Math.min.apply(Math,n.map(function(t){return t.y})),f=Math.max.apply(Math,n.map(function(t){return t.y})),h=o/(s-r),d=a/(f-u);n.forEach(function(t){void 0!==t.x&&h<1&&(t.x=(t.x-r)*h),void 0!==t.y&&d<1&&(t.y=(t.y-u)*d)}),n.forEach(function(t){t.sizeTemp=t.size,t.size=[10,10]}),(0,l.default)(n,i),n.forEach(function(t){t.size=t.sizeTemp||[],delete t.sizeTemp}),(0,c.default)({nodes:n,edges:i},e),t()})})}},Ybyq:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n("FscW")),i=n("3P6T");var o=function(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n="weight"),void 0===o&&(o=1e3);var a=t.nodes,s=void 0===a?[]:a,u=t.edges,c=void 0===u?[]:u,l={},f={};s.forEach(function(t,e){var n=(0,i.uniqueId)();t.clusterId=n,l[n]={id:n,nodes:[t]},f[t.id]={node:t,idx:e}});var h=[],d={};(0,r.default)(t,e).forEach(function(t,e){var n=0,r=s[e].id;d[r]={},t.forEach(function(t,e){if(t){n+=t;var i=s[e].id;d[r][i]=t}}),h.push(n)});for(var p=0,g=function(){var t=!1;if(s.forEach(function(e){var n={};Object.keys(d[e.id]).forEach(function(t){var r=d[e.id][t],i=f[t].node.clusterId;n[i]||(n[i]=0),n[i]+=r});var r=-1/0,i=[];if(Object.keys(n).forEach(function(t){r=0&&i.splice(o,1),i&&i.length){t=!0;var a=l[e.clusterId],s=a.nodes.indexOf(e);a.nodes.splice(s,1);var u=Math.floor(Math.random()*i.length),c=l[i[u]];c.nodes.push(e),e.clusterId=c.id}}}),!t)return"break";p++};pe&&(s=e);var r=n[t.id].inDegree;u>r&&(u=r);var i=n[t.id].outDegree;c>i&&(c=i)}),t[e]={degree:s,inDegree:u,outDegree:c}),{minPatternNodeLabelDegree:s,minPatternNodeLabelInDegree:u,minPatternNodeLabelOutDegree:c}},m=function(t,e,n,s,u,m,b){var x;if(void 0===n&&(n=!1),void 0===m&&(m="cluster"),void 0===b&&(b="cluster"),t&&t.nodes){var w=t.nodes.length;if(w){var _=(0,i.default)(t,n),E=(0,i.default)(e,n),S=g(t.nodes,_,n),M=g(e.nodes,E,n),O=d(t.nodes,m),k=O.nodeMap,A=O.nodeLabelMap,C=d(e.nodes,m),I=C.nodeMap,T=C.nodeLabelMap;p(t.edges,b,k);var N=p(e.edges,b,I).edgeLabelMap,P=[];null===E||void 0===E||E.forEach(function(t){P=P.concat(t)}),u||(u=Math.max.apply(Math,(0,r.__spreadArray)((0,r.__spreadArray)([],P,!1),[2],!1))),s||(s=u);var j=c(t,_,m,s),D=c(e,E,m,s),L=function(t,e,n,r,i){var o=Math.ceil(n/e),a={},s=0;return r.forEach(function(t,r){for(var u=0,c=0,l=t.nodeIdxs,f=t.neighborNum-1;u2*e)););if(d<2*e&&(a["".concat(r,"-").concat(h)]={start:r,end:h,distance:i[r][h]},u++,++s>=n))return a;if(++c>2*e)break}uq&&(q=n.length,Y=n,H=e,X=t)});var K={},Z={},Q={},J={},$={},tt={};Object.keys(T).forEach(function(r,i){$[r]=[],n&&(tt[r]=[]);var o=-1/0,a={};T[r].forEach(function(t){var e=M["".concat(X.id,"-").concat(t.id)];if(e&&$[r].push(e),o$[r][c]){u=!0;break}if(u)return Y.splice(e,1),"continue";var l={};i.neighbors.forEach(function(t){var e=S["".concat(n.id,"-").concat(t.id)];l["".concat(n.id,"-").concat(t.id)]={start:k[n.id].idx,end:k[t.id].idx,distance:e}}),R=f(l,j,t,R);var d=[];Object.keys(l).forEach(function(t){if(V[t])d.push(V[t]);else{var e=R[t];V[t]=h(e,W,m,b),d.push(V[t])}}),d=d.sort(function(t,e){return e-t});var p=!1;for(c=0;c=0;c--)u(c)});var et=[];null===Y||void 0===Y||Y.forEach(function(r){for(var i=k[r.id].idx,o=l(t.nodes,_[i],i,m,u).neighbors,a=!1,s=o.length-1;s>=0;s--){if(o.length+1$[f][p])o.splice(s,1);else{if(n){var g="".concat(c.id,"-").concat(r.id),x=S[g];if(p=tt[f].length-1,x>tt[f][p]){o.splice(s,1);continue}}var w=V[h]?V[h]:v(t,r,c,k,d,j,W,m,b,V,R),E="".concat(X.id,"-").concat(f);if(w=0&&"break"!==x(d);d--);if(v)return et.splice(r,1),"continue";i.edges=c;var w=(0,a.default)(i,i.nodes[0].id,!1).length;if(Object.keys(w).reverse().forEach(function(t){if(t!==i.nodes[0].id&&!v){if(w[t]===1/0){var e=u[t].node[m];if(s[e]--,s[e]rt[r][rt[r].length-1]){if(e=u[t].node[m],s[e]--,s[e]=0;S--){var M=i.nodes[S],O=u[M.id].degree,A=u[M.id].inDegree,C=u[M.id].outDegree,P=M[m],j=y(K,P,I,T),D=j.minPatternNodeLabelDegree,L=j.minPatternNodeLabelInDegree,R=j.minPatternNodeLabelOutDegree;if(n?O=0;B--){var G=c[B];if(!u[G.source]||!u[G.target]){c.splice(B,1);var F=G[b];if(l[F]--,u[G.source]&&(u[G.source].degree--,u[G.source].outDegree--),u[G.target]&&(u[G.target].degree--,u[G.target].inDegree--),N[F]&&l[F]=0&&"break"!==it(ot);ot--);var at=et.length,st=function(t){var e={};et[t].edges.forEach(function(t){var n="".concat(t.source,"-").concat(t.target,"-").concat(t.label);e[n]?e[n]++:e[n]=1});for(var n=function(t){var n={};et[t].edges.forEach(function(t){var e="".concat(t.source,"-").concat(t.target,"-").concat(t.label);n[e]?n[e]++:n[e]=1});var r=!0;Object.keys(n).length!==Object.keys(e).length?r=!1:Object.keys(e).forEach(function(t){n[t]!==e[t]&&(r=!1)}),r&&et.splice(t,1)},r=at-1;r>t;r--)n(r);at=et.length};for(ot=0;ot<=at-1;ot++)st(ot);return et}}};e.default=m},ZhPi:function(t,e,n){var r=n("WkPL");t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},ZjWs:function(t,e){},Zss7:function(t,e,n){var r;!function(i){var o=/^\s+/,a=/\s+$/,s=0,u=i.round,c=i.min,l=i.max,f=i.random;function h(t,e){if(t=t||"",e=e||{},t instanceof h)return t;if(!(this instanceof h))return new h(t,e);var n=function(t){var e={r:0,g:0,b:0},n=1,r=null,s=null,u=null,f=!1,h=!1;"string"==typeof t&&(t=function(t){t=t.replace(o,"").replace(a,"").toLowerCase();var e,n=!1;if(I[t])t=I[t],n=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};if(e=F.rgb.exec(t))return{r:e[1],g:e[2],b:e[3]};if(e=F.rgba.exec(t))return{r:e[1],g:e[2],b:e[3],a:e[4]};if(e=F.hsl.exec(t))return{h:e[1],s:e[2],l:e[3]};if(e=F.hsla.exec(t))return{h:e[1],s:e[2],l:e[3],a:e[4]};if(e=F.hsv.exec(t))return{h:e[1],s:e[2],v:e[3]};if(e=F.hsva.exec(t))return{h:e[1],s:e[2],v:e[3],a:e[4]};if(e=F.hex8.exec(t))return{r:D(e[1]),g:D(e[2]),b:D(e[3]),a:G(e[4]),format:n?"name":"hex8"};if(e=F.hex6.exec(t))return{r:D(e[1]),g:D(e[2]),b:D(e[3]),format:n?"name":"hex"};if(e=F.hex4.exec(t))return{r:D(e[1]+""+e[1]),g:D(e[2]+""+e[2]),b:D(e[3]+""+e[3]),a:G(e[4]+""+e[4]),format:n?"name":"hex8"};if(e=F.hex3.exec(t))return{r:D(e[1]+""+e[1]),g:D(e[2]+""+e[2]),b:D(e[3]+""+e[3]),format:n?"name":"hex"};return!1}(t));"object"==typeof t&&(z(t.r)&&z(t.g)&&z(t.b)?(e=function(t,e,n){return{r:255*P(t,255),g:255*P(e,255),b:255*P(n,255)}}(t.r,t.g,t.b),f=!0,h="%"===String(t.r).substr(-1)?"prgb":"rgb"):z(t.h)&&z(t.s)&&z(t.v)?(r=R(t.s),s=R(t.v),e=function(t,e,n){t=6*P(t,360),e=P(e,100),n=P(n,100);var r=i.floor(t),o=t-r,a=n*(1-e),s=n*(1-o*e),u=n*(1-(1-o)*e),c=r%6;return{r:255*[n,s,a,a,u,n][c],g:255*[u,n,n,s,a,a][c],b:255*[a,a,u,n,n,s][c]}}(t.h,r,s),f=!0,h="hsv"):z(t.h)&&z(t.s)&&z(t.l)&&(r=R(t.s),u=R(t.l),e=function(t,e,n){var r,i,o;function a(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}if(t=P(t,360),e=P(e,100),n=P(n,100),0===e)r=i=o=n;else{var s=n<.5?n*(1+e):n+e-n*e,u=2*n-s;r=a(u,s,t+1/3),i=a(u,s,t),o=a(u,s,t-1/3)}return{r:255*r,g:255*i,b:255*o}}(t.h,r,u),f=!0,h="hsl"),t.hasOwnProperty("a")&&(n=t.a));return n=N(n),{ok:f,format:t.format||h,r:c(255,l(e.r,0)),g:c(255,l(e.g,0)),b:c(255,l(e.b,0)),a:n}}(t);this._originalInput=t,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=u(100*this._a)/100,this._format=e.format||n.format,this._gradientType=e.gradientType,this._r<1&&(this._r=u(this._r)),this._g<1&&(this._g=u(this._g)),this._b<1&&(this._b=u(this._b)),this._ok=n.ok,this._tc_id=s++}function d(t,e,n){t=P(t,255),e=P(e,255),n=P(n,255);var r,i,o=l(t,e,n),a=c(t,e,n),s=(o+a)/2;if(o==a)r=i=0;else{var u=o-a;switch(i=s>.5?u/(2-o-a):u/(o+a),o){case t:r=(e-n)/u+(e>1)+720)%360;--e;)r.h=(r.h+i)%360,o.push(h(r));return o}function C(t,e){e=e||6;for(var n=h(t).toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/e;e--;)a.push(h({h:r,s:i,v:o})),o=(o+s)%1;return a}h.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,e,n,r=this.toRgb();return t=r.r/255,e=r.g/255,n=r.b/255,.2126*(t<=.03928?t/12.92:i.pow((t+.055)/1.055,2.4))+.7152*(e<=.03928?e/12.92:i.pow((e+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:i.pow((n+.055)/1.055,2.4))},setAlpha:function(t){return this._a=N(t),this._roundA=u(100*this._a)/100,this},toHsv:function(){var t=p(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=p(this._r,this._g,this._b),e=u(360*t.h),n=u(100*t.s),r=u(100*t.v);return 1==this._a?"hsv("+e+", "+n+"%, "+r+"%)":"hsva("+e+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var t=d(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=d(this._r,this._g,this._b),e=u(360*t.h),n=u(100*t.s),r=u(100*t.l);return 1==this._a?"hsl("+e+", "+n+"%, "+r+"%)":"hsla("+e+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(t){return g(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,e,n,r,i){var o=[L(u(t).toString(16)),L(u(e).toString(16)),L(u(n).toString(16)),L(B(r))];if(i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:u(this._r),g:u(this._g),b:u(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+u(this._r)+", "+u(this._g)+", "+u(this._b)+")":"rgba("+u(this._r)+", "+u(this._g)+", "+u(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:u(100*P(this._r,255))+"%",g:u(100*P(this._g,255))+"%",b:u(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+u(100*P(this._r,255))+"%, "+u(100*P(this._g,255))+"%, "+u(100*P(this._b,255))+"%)":"rgba("+u(100*P(this._r,255))+"%, "+u(100*P(this._g,255))+"%, "+u(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+v(this._r,this._g,this._b,this._a),n=e,r=this._gradientType?"GradientType = 1, ":"";if(t){var i=h(t);n="#"+v(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+e+",endColorstr="+n+")"},toString:function(t){var e=!!t;t=t||this._format;var n=!1,r=this._a<1&&this._a>=0;return e||!r||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex4"===t&&(n=this.toHex8String(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),"hsv"===t&&(n=this.toHsvString()),n||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return h(this.toString())},_applyModification:function(t,e){var n=t.apply(null,[this].concat([].slice.call(e)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(x,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(y,arguments)},saturate:function(){return this._applyModification(m,arguments)},greyscale:function(){return this._applyModification(b,arguments)},spin:function(){return this._applyModification(E,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(A,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(C,arguments)},splitcomplement:function(){return this._applyCombination(k,arguments)},triad:function(){return this._applyCombination(M,arguments)},tetrad:function(){return this._applyCombination(O,arguments)}},h.fromRatio=function(t,e){if("object"==typeof t){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]="a"===r?t[r]:R(t[r]));t=n}return h(t,e)},h.equals=function(t,e){return!(!t||!e)&&h(t).toRgbString()==h(e).toRgbString()},h.random=function(){return h.fromRatio({r:f(),g:f(),b:f()})},h.mix=function(t,e,n){n=0===n?0:n||50;var r=h(t).toRgb(),i=h(e).toRgb(),o=n/100;return h({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},h.readability=function(t,e){var n=h(t),r=h(e);return(i.max(n.getLuminance(),r.getLuminance())+.05)/(i.min(n.getLuminance(),r.getLuminance())+.05)},h.isReadable=function(t,e,n){var r,i,o=h.readability(t,e);switch(i=!1,(r=function(t){var e,n;e=((t=t||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(t.size||"small").toLowerCase(),"AA"!==e&&"AAA"!==e&&(e="AA");"small"!==n&&"large"!==n&&(n="small");return{level:e,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":i=o>=4.5;break;case"AAlarge":i=o>=3;break;case"AAAsmall":i=o>=7}return i},h.mostReadable=function(t,e,n){var r,i,o,a,s=null,u=0;i=(n=n||{}).includeFallbackColors,o=n.level,a=n.size;for(var c=0;cu&&(u=r,s=h(e[c]));return h.isReadable(t,s,{level:o,size:a})||!i?s:(n.includeFallbackColors=!1,h.mostReadable(t,["#fff","#000"],n))};var I=h.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},T=h.hexNames=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}(I);function N(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function P(t,e){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var n=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=c(e,l(0,parseFloat(t))),n&&(t=parseInt(t*e,10)/100),i.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function j(t){return c(1,l(0,t))}function D(t){return parseInt(t,16)}function L(t){return 1==t.length?"0"+t:""+t}function R(t){return t<=1&&(t=100*t+"%"),t}function B(t){return i.round(255*parseFloat(t)).toString(16)}function G(t){return D(t)/255}var F=function(){var t="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",e="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?",n="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?";return{CSS_UNIT:new RegExp(t),rgb:new RegExp("rgb"+e),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+e),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+e),hsva:new RegExp("hsva"+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function z(t){return!!F.CSS_UNIT.exec(t)}void 0!==t&&t.exports?t.exports=h:void 0===(r=function(){return h}.call(e,n,e,t))||(t.exports=r)}(Math)},Ztfv:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.tagProperty=e.tagParameter=e.decorate=void 0;var r=n("MON2"),i=n("xfSm");function o(t,e,n,i,o){var a={},s="number"==typeof o,u=void 0!==o&&s?o.toString():n;if(s&&void 0!==n)throw new Error(r.INVALID_DECORATOR_OPERATION);Reflect.hasOwnMetadata(t,e)&&(a=Reflect.getMetadata(t,e));var c=a[u];if(Array.isArray(c))for(var l=0,f=c;l0&&(i=1/Math.sqrt(i)),t[0]=e[0]*i,t[1]=e[1]*i,t}function k(t,e){return t[0]*e[0]+t[1]*e[1]}function A(t,e,n){var r=e[0]*n[1]-e[1]*n[0];return t[0]=t[1]=0,t[2]=r,t}function C(t,e,n,r){var i=e[0],o=e[1];return t[0]=i+r*(n[0]-i),t[1]=o+r*(n[1]-o),t}function I(t,e){e=e||1;var n=2*r.c()*Math.PI;return t[0]=Math.cos(n)*e,t[1]=Math.sin(n)*e,t}function T(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i,t[1]=n[1]*r+n[3]*i,t}function N(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t}function P(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[3]*i+n[6],t[1]=n[1]*r+n[4]*i+n[7],t}function j(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[4]*i+n[12],t[1]=n[1]*r+n[5]*i+n[13],t}function D(t,e,n,r){var i=e[0]-n[0],o=e[1]-n[1],a=Math.sin(r),s=Math.cos(r);return t[0]=i*s-o*a+n[0],t[1]=i*a+o*s+n[1],t}function L(t,e){var n=t[0],r=t[1],i=e[0],o=e[1],a=Math.sqrt(n*n+r*r)*Math.sqrt(i*i+o*o),s=a&&(n*i+r*o)/a;return Math.acos(Math.min(Math.max(s,-1),1))}function R(t){return t[0]=0,t[1]=0,t}function B(t){return"vec2("+t[0]+", "+t[1]+")"}function G(t,e){return t[0]===e[0]&&t[1]===e[1]}function F(t,e){var n=t[0],i=t[1],o=e[0],a=e[1];return Math.abs(n-o)<=r.b*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(i-a)<=r.b*Math.max(1,Math.abs(i),Math.abs(a))}var z=_,U=l,W=f,V=h,X=x,Y=w,H=E,q=function(){var t=i();return function(e,n,r,i,o,a){var s,u;for(n||(n=2),r||(r=0),u=i?Math.min(i*n+r,e.length):e.length,s=r;s>16&255,t>>8&255,255&t],this.valpha=1;else{this.valpha=1;var p=Object.keys(t);"alpha"in t&&(p.splice(p.indexOf("alpha"),1),this.valpha="number"==typeof t.alpha?t.alpha:0);var g=p.sort().join("");if(!(g in s))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=s[g];var v=i[this.model].labels,y=[];for(n=0;nn?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},isDark:function(){var t=this.rgb().color;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var t=this.rgb(),e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten:function(t){var e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken:function(t){var e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate:function(t){var e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate:function(t){var e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten:function(t){var e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken:function(t){var e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale:function(){var t=this.rgb().color,e=.3*t[0]+.59*t[1]+.11*t[2];return c.rgb(e,e,e)},fade:function(t){return this.alpha(this.valpha-this.valpha*t)},opaquer:function(t){return this.alpha(this.valpha+this.valpha*t)},rotate:function(t){var e=this.hsl(),n=e.color[0];return n=(n=(n+t)%360)<0?360+n:n,e.color[0]=n,e},mix:function(t,e){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);var n=t.rgb(),r=this.rgb(),i=void 0===e?.5:e,o=2*i-1,a=n.alpha()-r.alpha(),s=((o*a==-1?o:(o+a)/(1+o*a))+1)/2,u=1-s;return c.rgb(s*n.red()+u*r.red(),s*n.green()+u*r.green(),s*n.blue()+u*r.blue(),n.alpha()*i+r.alpha()*(1-i))}},Object.keys(i).forEach(function(t){if(-1===a.indexOf(t)){var e=i[t].channels;c.prototype[t]=function(){if(this.model===t)return new c(this);if(arguments.length)return new c(arguments,t);var n="number"==typeof arguments[e]?e:this.valpha;return new c(function(t){return Array.isArray(t)?t:[t]}(i[this.model][t].raw(this.color)).concat(n),t)},c[t]=function(n){return"number"==typeof n&&(n=h(o.call(arguments),e)),new c(n,t)}}}),t.exports=c},b8AE:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if("next"!==t&&"prev"!==t)return e},i=function(t){t.prev.next=t.next,t.next.prev=t.prev,delete t.next,delete t.prev},o=function(){function t(){var t={};t.prev=t,t.next=t.prev,this.shortcut=t}return t.prototype.dequeue=function(){var t=this.shortcut,e=t.prev;if(e&&e!==t)return i(e),e},t.prototype.enqueue=function(t){var e=this.shortcut;t.prev&&t.next&&i(t),t.next=e.next,e.next.prev=t,e.next=t,t.prev=e},t.prototype.toString=function(){for(var t=[],e=this.shortcut,n=e.prev;n!==e;)t.push(JSON.stringify(n,r)),n=null===n||void 0===n?void 0:n.prev;return"[".concat(t.join(", "),"]")},t}();e.default=o},bHM7:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("OXnU"),i=function(t){for(var e;t.hasNode(e="_root".concat(Math.random())););return e};e.default=function(t,e,n){var o=i(t),a=new r.Graph({compound:!0}).setGraph({root:o}).setDefaultNodeLabel(function(e){return t.node(e)});return t.nodes().forEach(function(r){var i,s=t.node(r),u=t.parent(r);(s.rank===e||s.minRank<=e&&e<=s.maxRank)&&(a.setNode(r),a.setParent(r,u||o),null===(i=t[n](r))||void 0===i||i.forEach(function(e){var n=e.v===r?e.w:e.v,i=a.edgeFromArgs(n,r),o=void 0!==i?i.weight:0;a.setEdge(n,r,{weight:t.edge(e).weight+o})}),s.hasOwnProperty("minRank")&&a.setNode(r,{borderLeft:s.borderLeft[e],borderRight:s.borderRight[e]}))}),a}},baXp:function(t,e,n){"use strict";n.d(e,"a",function(){return v});var r,i=n("lwsE"),o=n.n(i),a=n("PJYZ"),s=n.n(a),u=n("7W2i"),c=n.n(u),l=n("a1gu"),f=n.n(l),h=n("Nsbk"),d=n.n(h),p=n("oDt1");function g(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var n,r=d()(t);if(e){var i=d()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}!function(t){t[t.Standard=0]="Standard"}(r||(r={}));var v=function(t){c()(n,t);var e=g(n);function n(t){var i;return o()(this,n),(i=e.call(this,t)).strategy=r.Standard,i.visibilityPlaneMask=0,i.visible=!1,Object.assign(s()(i),t),i}return n}(p.a)},blMc:function(t,e){t.exports=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t}},cDf5:function(t,e){function n(e){"@babel/helpers - typeof";return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},cEnC:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.getLayoutByName=e.unRegisterLayout=e.registerLayout=void 0;var i=n("W8mN"),o=n("8nGZ"),a=new Map;e.registerLayout=function(t,e){if(a.get(t)&&console.warn("The layout with the name ".concat(t," exists already, it will be overridden")),(0,o.isObject)(e)){var n=function(t){function n(n){var r=t.call(this)||this,i=r,o={},a=i.getDefaultCfg();return Object.assign(o,a,e,n),Object.keys(o).forEach(function(t){var e=o[t];i[t]=e}),r}return r(n,t),n}(i.Base);a.set(t,n)}else a.set(t,e);return a.get(t)};e.unRegisterLayout=function(t){a.has(t)&&a.delete(t)};e.getLayoutByName=function(t){return a.has(t)?a.get(t):null}},cGwC:function(t,e){t.exports=function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}},cRxj:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.RadialLayout=void 0;var o=n("8nGZ"),a=n("W8mN"),s=i(n("Pdwu")),u=i(n("VAEr"));function c(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var l=function(t){function e(e){var n=t.call(this)||this;return n.maxIteration=1e3,n.focusNode=null,n.unitRadius=null,n.linkDistance=50,n.preventOverlap=!1,n.strictRadial=!0,n.maxPreventOverlapIteration=200,n.sortStrength=10,n.nodes=[],n.edges=[],n.updateCfg(e),n}return r(e,t),e.prototype.getDefaultCfg=function(){return{maxIteration:1e3,focusNode:null,unitRadius:null,linkDistance:50,preventOverlap:!1,nodeSize:void 0,nodeSpacing:void 0,strictRadial:!0,maxPreventOverlapIteration:200,sortBy:void 0,sortStrength:10}},e.prototype.execute=function(){var t=this,e=t.nodes,n=t.edges||[];if(e&&0!==e.length){t.width||"undefined"==typeof window||(t.width=window.innerWidth),t.height||"undefined"==typeof window||(t.height=window.innerHeight),t.center||(t.center=[t.width/2,t.height/2]);var r=t.center;if(1===e.length)return e[0].x=r[0],e[0].y=r[1],void(t.onLayoutEnd&&t.onLayoutEnd());var i=t.linkDistance,a=null;if((0,o.isString)(t.focusNode)){for(var c=!1,l=0;lr[0]?r[0]:v-r[0],b=y-r[1]>r[1]?r[1]:y-r[1];0===m&&(m=v/2),0===b&&(b=y/2);var x=b>m?m:b,w=Math.max.apply(Math,g),_=[];g.forEach(function(e,n){t.unitRadius||(t.unitRadius=x/w),_[n]=e*t.unitRadius}),t.radii=_;var E=t.eIdealDisMatrix();t.eIdealDistances=E;var S=function(t){for(var e=t.length,n=t[0].length,r=[],i=0;iA[1]?A[0]:A[1])+I(t)}:function(t){return A+I(t)}:function(t){return t.size?(0,o.isArray)(t.size)?(t.size[0]>t.size[1]?t.size[0]:t.size[1])+I(t):(0,o.isObject)(t.size)?(t.size.width>t.size.height?t.size.width:t.size.height)+I(t):t.size+I(t):10+I(t)};var N={nodes:e,nodeSizeFunc:O,adjMatrix:h,positions:M,radii:_,height:y,width:v,strictRadial:C,focusID:f,iterations:t.maxPreventOverlapIteration||200,k:M.length/4.5},P=new u.default(N);M=P.layout()}return M.forEach(function(t,n){e[n].x=t[0]+r[0],e[n].y=t[1]+r[1]}),t.onLayoutEnd&&t.onLayoutEnd(),{nodes:e,edges:n}}t.onLayoutEnd&&t.onLayoutEnd()},e.prototype.run=function(){for(var t=this.maxIteration,e=this.positions||[],n=this.weights||[],r=this.eIdealDistances||[],i=this.radii||[],o=0;o<=t;o++){var a=o/t;this.oneIteration(a,e,i,r,n)}},e.prototype.oneIteration=function(t,e,n,r,i){var o=1-t,a=this.focusIndex;e.forEach(function(s,u){var l=c(s,[0,0]),f=0===l?0:1/l;if(u!==a){var h=0,d=0,p=0;e.forEach(function(t,e){if(u!==e){var n=c(s,t),o=0===n?0:1/n,a=r[e][u];p+=i[u][e],h+=i[u][e]*(t[0]+a*(s[0]-t[0])*o),d+=i[u][e]*(t[1]+a*(s[1]-t[1])*o)}});var g=0===n[u]?0:1/n[u];p*=o,p+=t*g*g,h*=o,h+=t*g*s[0]*f,s[0]=h/p,d*=o,d+=t*g*s[1]*f,s[1]=d/p}})},e.prototype.eIdealDisMatrix=function(){var t=this,e=t.nodes;if(!e)return[];var n=t.distances,r=t.linkDistance,i=t.radii||[],a=t.unitRadius||50,s=[];return n&&n.forEach(function(n,u){var c=[];n.forEach(function(n,s){if(u===s)c.push(0);else if(i[u]===i[s])if("data"===t.sortBy)c.push(n*(Math.abs(u-s)*t.sortStrength)/(i[u]/a));else if(t.sortBy){var l=e[u][t.sortBy]||0,f=e[s][t.sortBy]||0;(0,o.isString)(l)&&(l=l.charCodeAt(0)),(0,o.isString)(f)&&(f=f.charCodeAt(0)),c.push(n*(Math.abs(l-f)*t.sortStrength)/(i[u]/a))}else c.push(n*r/(i[u]/a));else{var h=(r+a)/2;c.push(n*h)}}),s.push(c)}),s},e.prototype.handleInfinity=function(t,e,n){for(var r=t.length,i=0;in?t[e][r]:n);return n},e.prototype.getType=function(){return"radial"},e}(a.Base);e.RadialLayout=l},cSJO:function(t,e,n){"use strict";var r=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,i=t.length;n0?function(t,e,n){var r=e.filter(function(t){return null!==t.target&&t.target.type===o.TargetTypeEnum.ClassProperty}),i=r.map(n);return r.forEach(function(e,n){var r;r=e.target.name.value();var o=i[n];t[r]=o}),t}(s=function(t,e){return new(t.bind.apply(t,r([void 0],e)))}(t,e.filter(function(t){return null!==t.target&&t.target.type===o.TargetTypeEnum.ConstructorArgument}).map(n)),e,n):new t,function(t,e){if(Reflect.hasMetadata(a.POST_CONSTRUCT,t)){var n=Reflect.getMetadata(a.POST_CONSTRUCT,t);try{e[n.value]()}catch(e){throw new Error(i.POST_CONSTRUCT_ERROR(t.name,e.message))}}}(t,s),s}},cWIK:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.oneHot=e.getDistance=e.getAllKeyValueMap=e.default=void 0;var r=n("iTfj"),i=n("XW+9"),o=function(t){return t&&t.__esModule?t:{default:t}}(n("DGIe"));var a=function(t,e,n){var i=[];(null===e||void 0===e?void 0:e.length)?i=e:(t.forEach(function(t){i=i.concat(Object.keys(t))}),i=(0,r.uniq)(i));var o={};return i.forEach(function(e){var i=[];t.forEach(function(t){void 0!==t[e]&&""!==t[e]&&i.push(t[e])}),i.length&&!(null===n||void 0===n?void 0:n.includes(e))&&(o[e]=(0,r.uniq)(i))}),o};e.getAllKeyValueMap=a;var s=function(t,e,n){var r=a(t,e,n),i=[];return Object.keys(r).length?(t.forEach(function(t,e){var n=[];if(1===Object.keys(r).length){var o=Object.keys(r)[0];r[o].every(function(t){return!isNaN(Number(t))})&&(n=[t[o]])}else Object.keys(r).forEach(function(e){for(var i=t[e],o=r[e],a=o.findIndex(function(t){return i===t}),s=[],u=0;u=0)<<8)+(Number(this.normal[1]>=0)<<4)+Number(this.normal[2]>=0)}},{key:"distanceToPoint",value:function(t){return s.e.dot(t,this.normal)-this.distance}},{key:"normalize",value:function(){var t=1/s.e.len(this.normal);s.e.scale(this.normal,this.normal,t),this.distance*=t}},{key:"intersectsLine",value:function(t,e,n){var r=this.distanceToPoint(t),i=r/(r-this.distanceToPoint(e)),o=i>=0&&i<=1;return o&&n&&s.e.lerp(n,t,e,i),o}}]),t}()},cZ5Q:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.injectable=void 0;var r=n("MON2"),i=n("xfSm");e.injectable=function(){return function(t){if(Reflect.hasOwnMetadata(i.PARAM_TYPES,t))throw new Error(r.DUPLICATED_INJECTABLE_DECORATOR);var e=Reflect.getMetadata(i.DESIGN_PARAM_TYPES,t)||[];return Reflect.defineMetadata(i.PARAM_TYPES,e,t),t}}},d9O0:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.id=void 0;var r=0;e.id=function(){return r++}},dDrT:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){var n=t.nodes().filter(function(e){var n;return!(null===(n=t.children(e))||void 0===n?void 0:n.length)}).map(function(e){return t.node(e).rank}),r=Math.max.apply(Math,n),i=Array(r+1).fill([]);null===e||void 0===e||e.forEach(function(e){var n=t.node(e);!n||null!==n&&void 0!==n&&n.dummy||isNaN(n.rank)||(n.fixorder=i[n.rank].length,i[n.rank].push(e))})}},dOXA:function(t,e){t.exports=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}},dPRQ:function(t,e,n){"use strict";n.d(e,"a",function(){return y});var r,i,o=0,a=0,s=0,u=1e3,c=0,l=0,f=0,h="object"==typeof performance&&performance.now?performance:Date,d="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function p(){return l||(d(g),l=h.now()+f)}function g(){l=0}function v(){this._call=this._time=this._next=null}function y(t,e,n){var r=new v;return r.restart(t,e,n),r}function m(){l=(c=h.now())+f,o=a=0;try{!function(){p(),++o;for(var t,e=r;e;)(t=l-e._time)>=0&&e._call.call(null,t),e=e._next;--o}()}finally{o=0,function(){var t,e,n=r,o=1/0;for(;n;)n._call?(o>n._time&&(o=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:r=e);i=t,x(o)}(),l=0}}function b(){var t=h.now(),e=t-c;e>u&&(f-=e,c=t)}function x(t){o||(a&&(a=clearTimeout(a)),t-l>24?(t<1/0&&(a=setTimeout(m,t-h.now()-f)),s&&(s=clearInterval(s))):(s||(c=h.now(),s=setInterval(b,u)),o=1,d(m)))}v.prototype=y.prototype={constructor:v,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?p():+n)+(null==e?0:+e),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=n,x()},stop:function(){this._call&&(this._call=null,this._time=1/0,x())}}},dX1H:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Target=void 0;var r=n("xfSm"),i=n("d9O0"),o=n("GXnB"),a=n("zxMA"),s=function(){function t(t,e,n,s){this.id=i.id(),this.type=t,this.serviceIdentifier=n,this.name=new a.QueryableString(e||""),this.metadata=new Array;var u=null;"string"==typeof s?u=new o.Metadata(r.NAMED_TAG,s):s instanceof o.Metadata&&(u=s),null!==u&&this.metadata.push(u)}return t.prototype.hasTag=function(t){for(var e=0,n=this.metadata;eu||c>e[i].lim));for(o=i,i=r;i&&i!==o;)s.push(i),i=t.parent(i);return{lca:o,path:a.concat(s.reverse())}}(t,n,s.v,s.w),c=u.path,l=u.lca,f=0,h=c[f],d=!0;o!==s.w;){if(a=t.node(o),d){for(;h!==l&&(null===(r=t.node(h))||void 0===r?void 0:r.maxRank)Math.abs(a)*c?(s<0&&(c=-c),n=c*a/s,r=c):(a<0&&(u=-u),n=u,r=u*s/a),{x:i+n,y:o+r}):{x:0,y:0}};e.buildLayerMatrix=function(t){for(var n=[],r=(0,e.maxRank)(t)+1,i=0;ie)&&(e=i)}),e||(e=0),e};e.partition=function(t,e){var n={lhs:[],rhs:[]};return null===t||void 0===t||t.forEach(function(t){e(t)?n.lhs.push(t):n.rhs.push(t)}),n};e.time=function(t,e){var n=Date.now();try{return e()}finally{console.log("".concat(t," time: ").concat(Date.now()-n,"ms"))}};e.notime=function(t,e){return e()};e.minBy=function(t,e){return t.reduce(function(t,n){return e(t)>e(n)?n:t})}},"eSf/":function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var i=r(n("KLt6")),o=r(n("XzOe")),a=r(n("bHM7")),s=r(n("73dj")),u=r(n("uI0o")),c=n("8nGZ"),l=n("OXnU"),f=n("eQiA"),h=function(t,e,n){return e.map(function(e){return(0,a.default)(t,e,n)})},d=function(t,e,n){var r=new l.Graph;null===t||void 0===t||t.forEach(function(t){for(var i,o=t.graph().root,a=(0,u.default)(t,o,r,e,n),c=0;c<(null===(i=a.vs)||void 0===i?void 0:i.length);c++){var l=t.node(a.vs[c]);l&&(l.order=c)}(0,s.default)(t,r,a.vs)})},p=function(t,e){null===e||void 0===e||e.forEach(function(e){null===e||void 0===e||e.forEach(function(e,n){t.node(e).order=n})})};e.default=function(t){for(var e=(0,f.maxRank)(t),n=[],r=[],a=1;a-1;a--)r.push(a);var s=h(t,n,"inEdges"),u=h(t,r,"outEdges"),l=(0,i.default)(t);p(t,l);for(var g,v=Number.POSITIVE_INFINITY,y=(a=0,0);y<4;++a,++y)d(a%2?s:u,a%4>=2),l=(0,f.buildLayerMatrix)(t),(m=(0,o.default)(t,l))=2,!0),l=(0,f.buildLayerMatrix)(t),(m=(0,o.default)(t,l))=0;return n?i?2*Math.PI-r:r:i?r:2*Math.PI-r}function P(t,e,n){return n?(t[0]=e[1],t[1]=-1*e[0]):(t[0]=-1*e[1],t[1]=e[0]),t}var j=function(t,e){var n=t.nodes,r=t.edges,i=[],o={};if(!n)throw new Error("invalid nodes data!");return n&&n.forEach(function(t,e){o[t.id]=e,i.push([])}),r&&r.forEach(function(t){var n=t.source,r=t.target,a=o[n],s=o[r];!a&&0!==a||!s&&0!==s||(i[a][s]=1,e||(i[s][a]=1))}),i},D=function(t,e){return t===e},L=function(){function t(t,e){void 0===e&&(e=null),this.value=t,this.next=e}return t.prototype.toString=function(t){return t?t(this.value):"".concat(this.value)},t}(),R=function(){function t(t){void 0===t&&(t=D),this.head=null,this.tail=null,this.compare=t}return t.prototype.prepend=function(t){var e=new L(t,this.head);return this.head=e,this.tail||(this.tail=e),this},t.prototype.append=function(t){var e=new L(t);return this.head?(this.tail.next=e,this.tail=e,this):(this.head=e,this.tail=e,this)},t.prototype.delete=function(t){if(!this.head)return null;for(var e=null;this.head&&this.compare(this.head.value,t);)e=this.head,this.head=this.head.next;var n=this.head;if(null!==n)for(;n.next;)this.compare(n.next.value,t)?(e=n.next,n.next=n.next.next):n=n.next;return this.compare(this.tail.value,t)&&(this.tail=n),e},t.prototype.find=function(t){var e=t.value,n=void 0===e?void 0:e,r=t.callback,i=void 0===r?void 0:r;if(!this.head)return null;for(var o=this.head;o;){if(i&&i(o.value))return o;if(void 0!==n&&this.compare(o.value,n))return o;o=o.next}return null},t.prototype.deleteTail=function(){var t=this.tail;if(this.head===this.tail)return this.head=null,this.tail=null,t;for(var e=this.head;e.next;)e.next.next?e=e.next:e.next=null;return this.tail=e,t},t.prototype.deleteHead=function(){if(!this.head)return null;var t=this.head;return this.head.next?this.head=this.head.next:(this.head=null,this.tail=null),t},t.prototype.fromArray=function(t){var e=this;return t.forEach(function(t){return e.append(t)}),this},t.prototype.toArray=function(){for(var t=[],e=this.head;e;)t.push(e),e=e.next;return t},t.prototype.reverse=function(){for(var t=this.head,e=null,n=null;t;)n=t.next,t.next=e,e=t,t=n;this.tail=this.head,this.head=e},t.prototype.toString=function(t){return void 0===t&&(t=void 0),this.toArray().map(function(e){return e.toString(t)}).toString()},t}(),B=function(){function t(){this.linkedList=new R}return t.prototype.isEmpty=function(){return!this.linkedList.head},t.prototype.peek=function(){return this.linkedList.head?this.linkedList.head.value:null},t.prototype.enqueue=function(t){this.linkedList.append(t)},t.prototype.dequeue=function(){var t=this.linkedList.deleteHead();return t?t.value:null},t.prototype.toString=function(t){return this.linkedList.toString(t)},t}(),G=function(t,e,n){void 0===e&&(e=[]);var r=e.filter(function(e){return e.source===t||e.target===t});if("target"===n){return r.filter(function(e){return e.source===t}).map(function(t){return t.target})}if("source"===n){return r.filter(function(e){return e.target===t}).map(function(t){return t.source})}return r.map(function(e){return e.source===t?e.target:e.source})},F=function(t,e){return e.filter(function(e){return e.source===t||e.target===t})},z=function(t){void 0===t&&(t=0);var e="".concat(Math.random()).split(".")[1].substr(0,5),n="".concat(Math.random()).split(".")[1].substr(0,5);return"".concat(t,"-").concat(e).concat(n)};var U=function(t,e,n,r){void 0===r&&(r=!0);var i=function(t){void 0===t&&(t={});var e=t,n=function(){},r=function(){var t={};return function(e){var n=e.next;return!t[n]&&(t[n]=!0,!0)}}();return e.allowTraversal=t.allowTraversal||r,e.enter=t.enter||n,e.leave=t.leave||n,e}(n),o=new B,a=t.edges,s=void 0===a?[]:a;o.enqueue(e);for(var u="",c=function(){var t=o.dequeue();i.enter({current:t,previous:u}),G(t,s,r?"target":void 0).forEach(function(e){i.allowTraversal({previous:u,current:t,next:e})&&o.enqueue(e)}),i.leave({current:t,previous:u}),u=t};!o.isEmpty();)c()},W=function(t){for(var e=t.nodes,n=void 0===e?[]:e,r=t.edges,i=void 0===r?[]:r,o=[],a={},s=[],u=function t(e){s.push(e),a[e.id]=!0;for(var r=G(e.id,i),o=function(e){var i=r[e];if(!a[i]){var o=n.filter(function(t){return t.id===i});o.length>0&&t(o[0])}},u=0;u0;)f.push(s.pop());o.push(f)}}return o},V=function(t){for(var e=t.nodes,n=void 0===e?[]:e,r=t.edges,i=void 0===r?[]:r,o=[],a={},s={},u={},c=[],l=0,f=function t(e){s[e.id]=l,u[e.id]=l,l+=1,o.push(e),a[e.id]=!0;for(var r=G(e.id,i,"target").filter(function(t){return n.map(function(t){return t.id}).indexOf(t)>-1}),f=function(i){var o=r[i];if(s[o]||0===s[o])a[o]&&(u[e.id]=Math.min(u[e.id],s[o]));else{var c=n.filter(function(t){return t.id===o});c.length>0&&t(c[0]),u[e.id]=Math.min(u[e.id],u[o])}},h=0;h0;){var p=o.pop();if(a[p.id]=!1,d.push(p),p===e)break}d.length>0&&c.push(d)}},h=0,d=n;h0;)for(var p=f.pop(),g=p.id,v=G(g,t.edges),y=function(r){var i,a=v[r],s=t.nodes.find(function(t){return t.id===a});if(a===g)o.push(((i={})[a]=p,i));else if(a in d){if(!d[g].has(s)){for(var u=!0,c=[s,p],l=h[g];d[a].size&&!d[a].has(l)&&(c.push(l),l!==h[l.id]);)l=h[l.id];if(c.push(l),e&&n?(u=!1,c.findIndex(function(t){return e.indexOf(t.id)>-1})>-1&&(u=!0)):e&&!n&&c.findIndex(function(t){return e.indexOf(t.id)>-1})>-1&&(u=!1),u){for(var y={},m=1;m-1)return f;r.push(u),i.add(u);for(var h=l[u.id],d=0;d0;){var n=e.pop();i.has(n)&&(i.delete(n),o[n.id].forEach(function(t){e.push(t)}),o[n.id].clear())}}(u);else for(d=0;d-1});v-1?p[g.id].push(u[m]):a.push(((i={})[g.id]=g,i))}}return{component:d,adjList:p,minIdx:s}},y=0;y=y}),b=V({nodes:m,edges:t.edges}).filter(function(t){return t.length>1});if(0===b.length)break;var x=v(b),w=x.minIdx,_=x.adjList,E=x.component;if(!(E.length>1))break;E.forEach(function(t){o[t.id]=new Set});var S=s[w];if(e&&n&&-1===e.indexOf(S.id))return a;c(S,S,_),y=w+1}return a},$=function(t,e,n,r){return void 0===r&&(r=!0),e?J(t,n,r):Q(t,n,r)},tt=function(t){var e=null,n=t.nodes,r={},i={},o={},a={};(void 0===n?[]:n).forEach(function(t){i[t.id]=t});for(var s={enter:function(t){var n=t.current,a=t.previous;if(o[n]){e={};for(var s=n,u=a;u!==n;)e[s]=u,s=u,u=r[u];e[s]=u}else o[n]=n,delete i[n],r[n]=a},leave:function(t){var e=t.current;a[e]=e,delete o[e]},allowTraversal:function(t){var n=t.next;return!e&&!a[n]}};Object.keys(i).length;)Z(t,Object.keys(i)[0],s);return e},et=function(t,e,n,r){var i=t.nodes,o=void 0===i?[]:i,a=t.edges,s=void 0===a?[]:a,u=[],c={},l={},f={};o.forEach(function(t,n){var r=t.id;u.push(r),l[r]=1/0,r===e&&(l[r]=0)});for(var h=o.length,d=function(t){var e=function(t,e,n){for(var r,i=1/0,o=0;ol[e.id]+s?(l[a]=l[e.id]+s,f[a]=[e.id]):l[a]===l[e.id]+s&&f[a].push(e.id)})},p=0;p0&&c.length>0;){var h=c[c.length-1];if(h.length){var d=h.shift();if(d&&(s.push(d),u[d]=!0,f=r?G(d,a,"target"):G(d,a),c.push(f.filter(function(t){return!u[t]}))),s[s.length-1]===n){var p=s.map(function(t){return t});l.push(p);g=s.pop();u[g]=!1,c.pop()}}else{var g=s.pop();u[g]=!1,c.pop()}}return l},at=function(t,e){for(var n=j(t,e),r=[],i=n.length,o=0;or[o][s]+r[s][a]&&(r[o][a]=r[o][s]+r[s][a]);return r},st=function(t,e,n,r){void 0===e&&(e=!1),void 0===n&&(n="weight"),void 0===r&&(r=1e3);var i=t.nodes,o=void 0===i?[]:i,a=t.edges,s=void 0===a?[]:a,u={},c={};o.forEach(function(t,e){var n=z();t.clusterId=n,u[n]={id:n,nodes:[t]},c[t.id]={node:t,idx:e}});var l=[],f={};j(t,e).forEach(function(t,e){var n=0,r=o[e].id;f[r]={},t.forEach(function(t,e){if(t){n+=t;var i=o[e].id;f[r][i]=t}}),l.push(n)});for(var h=0,d=function(){var t=!1;if(o.forEach(function(e){var n={};Object.keys(f[e.id]).forEach(function(t){var r=f[e.id][t],i=c[t].node.clusterId;n[i]||(n[i]=0),n[i]+=r});var r=-1/0,i=[];if(Object.keys(n).forEach(function(t){r=0&&i.splice(o,1),i&&i.length){t=!0;var a=u[e.clusterId],s=a.nodes.indexOf(e);a.nodes.splice(s,1);var l=Math.floor(Math.random()*i.length),h=u[i[l]];h.nodes.push(e),e.clusterId=h.id}}}),!t)return"break";h++};h0&&S>M&&S-MM&&(k=l.map(function(t){return{node:t,clusterId:t.clusterId}}),A=Object(x.clone)(y),M=S),C||O>100)break;O++,Object.keys(y).forEach(function(t){var e=0;h.forEach(function(r){var i=r.source,o=r.target,a=m[i].node.clusterId,s=m[o].node.clusterId;(a===t&&s!==t||s===t&&a!==t)&&(e+=r[n]||1)}),y[t].sumTot=e}),l.forEach(function(t,e){var r,o=y[t.clusterId],a=0,s=w[e]/(2*E),c=0,l=o.nodes;l.forEach(function(t){var n=m[t.id].idx;c+=b[e][n]||0});var f=c-o.sumTot*s,p=l.filter(function(e){return e.id!==t.id}),g=[];p.forEach(function(t,e){g[e]=d[t.originIndex]});var v=pt(p,d)*u,x=_[t.id];if(Object.keys(x).forEach(function(n){var o=m[n].node.clusterId;if(o!==t.clusterId){var c=y[o],l=c.nodes;if(l&&l.length){var h=0;l.forEach(function(t){var n=m[t.id].idx;h+=b[e][n]||0});var p=h-c.sumTot*s,g=l.concat([t]),x=[];g.forEach(function(t,e){x[e]=d[t.originIndex]});var w=pt(g,d)*u,_=p-f;i&&(_=p+w-(f+v)),_>a&&(a=_,r=c)}}}),a>0){r.nodes.push(t);var S=t.clusterId;t.clusterId=r.id;var M=o.nodes.indexOf(t);o.nodes.splice(M,1);var O=0,k=0;h.forEach(function(t){var e=t.source,i=t.target,o=m[e].node.clusterId,a=m[i].node.clusterId;(o===r.id&&a!==r.id||a===r.id&&o!==r.id)&&(O+=t[n]||1),(o===S&&a!==S||a===S&&o!==S)&&(k+=t[n]||1)}),r.sumTot=O,o.sumTot=k}})}var I={},T=0;Object.keys(A).forEach(function(t){var e=A[t];if(e.nodes&&e.nodes.length){var n=String(T+1);n!==t&&(e.id=n,e.nodes=e.nodes.map(function(t){return{id:t.id,clusterId:n}}),A[n]=e,I[t]=n,delete A[t],T++)}else delete A[t]}),k.forEach(function(t){var e=t.node,n=t.clusterId;e.clusterId=n,e.clusterId&&I[e.clusterId]&&(e.clusterId=I[e.clusterId])});var N=[],P={};h.forEach(function(t){var e=t.source,r=t.target,i=t[n]||1,o=m[e].node.clusterId,a=m[r].node.clusterId,s="".concat(o,"---").concat(a);if(P[s])P[s].weight+=i,P[s].count++;else{var u={source:o,target:a,weight:i,count:1};P[s]=u,N.push(u)}});var D=[];return Object.keys(A).forEach(function(t){D.push(A[t])}),{clusters:D,clusterEdges:N}},vt=function(t,e,n,r,i,o,a,s){return void 0===e&&(e=!1),void 0===n&&(n="weight"),void 0===r&&(r=1e-4),void 0===i&&(i=void 0),void 0===o&&(o=[]),void 0===a&&(a=["id"]),void 0===s&&(s=1),gt(t,e,n,r,!0,i,o,a,s)},yt=function(t,e){var n;void 0===e&&(e=1);for(var r=Object(x.clone)(t),i=r.nodes,o=void 0===i?[]:i,a=r.edges,s=void 0===a?[]:a,u=function(){var t=H({nodes:o,edges:s}),r=Object.keys(t);r.sort(function(e,n){var r,i;return(null===(r=t[e])||void 0===r?void 0:r.degree)-(null===(i=t[n])||void 0===i?void 0:i.degree)});var i=r[0];if(!o.length||(null===(n=t[i])||void 0===n?void 0:n.degree)>=e)return"break";var a=o.findIndex(function(t){return t.id===i});o.splice(a,1),s=s.filter(function(t){return!(t.source===i||t.target===i)})};"break"!==u(););return{nodes:o,edges:s}},mt=function(t,e,n){var r=[];switch(t){case rt.EuclideanDistance:r=e[n];break;default:r=[]}return r},bt=function(t,e,n,r,i,o){void 0===e&&(e=3),void 0===n&&(n=void 0),void 0===r&&(r=[]),void 0===i&&(i=["id"]),void 0===o&&(o=rt.EuclideanDistance);var a=t.nodes,s=void 0===a?[]:a,u=t.edges,c=void 0===u?[]:u,l={clusters:[{id:"0",nodes:s}],clusterEdges:[]};if(o===rt.EuclideanDistance&&!s.every(function(t){return t.hasOwnProperty(n)}))return l;var f=[],h=[];if(o===rt.EuclideanDistance&&(f=ct(s,n),h=ft(f,r,i)),!h.length)return l;for(var d=Object(x.uniq)(h.map(function(t){return t.join("")})),p=Math.min(e,s.length,d.length),g=0;gw&&!v.find(function(e){return Object(x.isEqual)(e,mt(o,h,s[t].originIndex))})&&(w=i,_=t)}},S=0;S=0;I--)m[Number(s[g].clusterId)][I].id===s[g].id&&m[Number(s[g].clusterId)].splice(I,1);s[g].clusterId=String(O),m[O].push(s[g])}}var T=!1;for(g=0;g=1e3)break}var D=[],L={};return c.forEach(function(t){var e,n,r=t.source,i=t.target,o=null===(e=s.find(function(t){return t.id===r}))||void 0===e?void 0:e.clusterId,a=null===(n=s.find(function(t){return t.id===i}))||void 0===n?void 0:n.clusterId,u="".concat(o,"---").concat(a);if(L[u])L[u].count++;else{var c={source:o,target:a,count:1};L[u]=c,D.push(c)}}),{clusters:m,clusterEdges:D}},xt=function(t,e){var n=new ut(e),r=n.norm2(),i=new ut(t),o=i.norm2(),a=n.dot(i),s=r*o,u=s?a/s:0;return u},wt=function(t,e,n,r,i){void 0===t&&(t=[]),void 0===n&&(n=void 0),void 0===r&&(r=[]),void 0===i&&(i=[]);var o=Object(x.clone)(t.filter(function(t){return t.id!==e.id})),a=t.findIndex(function(t){return t.id===e.id}),s=ct(t,n),u=ft(s,r,i),c=u[a],l=[];return o.forEach(function(t,n){if(t.id!==e.id){var r=u[n],i=xt(r,c);l.push(i),t.cosineSimilarity=i}}),o.sort(function(t,e){return e.cosineSimilarity-t.cosineSimilarity}),{allCosineSimilarity:l,similarNodes:o}},_t=function(){function t(t){this.count=t.length,this.parent={};for(var e=0,n=t;e0&&(this.list[0]=e,this.moveDown(0)),t},t.prototype.insert=function(t){if(null!==t){this.list.push(t);var e=this.list.length-1;return this.moveUp(e),!0}return!1},t.prototype.moveUp=function(t){for(var e=this.getParent(t);t&&t>0&&this.compareFn(this.list[e],this.list[t])>0;){var n=this.list[e];this.list[e]=this.list[t],this.list[t]=n,t=e,e=this.getParent(t)}},t.prototype.moveDown=function(t){var e,n=t,r=this.getLeft(t),i=this.getRight(t),o=this.list.length;null!==r&&r0?n=r:null!==i&&i0&&(n=i),t!==n&&(e=[this.list[n],this.list[t]],this.list[t]=e[0],this.list[n]=e[1],this.moveDown(n))},t}(),Mt=function(t,e){var n=[],r=t.nodes,i=void 0===r?[]:r,o=t.edges,a=void 0===o?[]:o;if(0===i.length)return n;var s=i[0],u=new Set;u.add(s);var c=new St(function(t,n){return e?t.weight-n.weight:0});for(F(s.id,a).forEach(function(t){c.insert(t)});!c.isEmpty();){var l=c.delMin(),f=l.source,h=l.target;u.has(f)&&u.has(h)||(n.push(l),u.has(f)||(u.add(f),F(f,a).forEach(function(t){c.insert(t)})),u.has(h)||(u.add(h),F(h,a).forEach(function(t){c.insert(t)})))}return n},Ot=function(t,e){var n=[],r=t.nodes,i=void 0===r?[]:r,o=t.edges,a=void 0===o?[]:o;if(0===i.length)return n;var s=a.map(function(t){return t});e&&s.sort(function(t,e){return t.weight-e.weight});for(var u=new _t(i.map(function(t){return t.id}));s.length>0;){var c=s.shift(),l=c.source,f=c.target;u.connected(l,f)||(n.push(c),u.union(l,f))}return n},kt=function(t,e,n){return n?{prim:Mt,kruskal:Ot}[n](t,e):Ot(t,e)},At=function(t,e,n){"number"!=typeof e&&(e=1e-6),"number"!=typeof n&&(n=.85);for(var r,i=1,o=0,a=1e3,s=t.nodes,u=void 0===s?[]:s,c=t.edges,l=void 0===c?[]:c,f=u.length,h={},d={},p=0;p0&&i>e;){for(o=0,p=0;p0&&(r+=d[b]/x)}h[v]=n*r,o+=h[v]}}for(o=(1-o)/f,i=0,p=0;p=0;e--){var n=this.dfsEdgeList[e],r=n.fromNode,i=n.toNode;rf||r.hasNode(o[l.to])||(e.labelp&&"break"!==g(v);v--);if(h){var y=t.findMinLabel(f);o.dfsEdgeList.push(new Lt(l,d,Nt,y.edgeLabel,Nt));var m=o.dfsEdgeList.length-1;return t.dfsCode.dfsEdgeList[m]===o.dfsEdgeList[m]&&a(f[y.edgeLabel].projected)}var b={};h=!1;var x=0;s.forEach(function(e){var n=new Bt(e),o=t.findForwardPureEdges(r,n.edges[u[0]],c,n);o.length>0&&(h=!0,x=l,o.forEach(function(t){var n="".concat(t.label,"-").concat(i[t.to].label);b[n]||(b[n]={projected:[],edgeLabel:t.label,nodeLabel2:i[t.to].label}),b[n].projected.push({graphId:r.id,edge:t,preNode:e})}))});var w=u.length,_=function(e){if(h)return"break";var n=u[e];s.forEach(function(e){var a=new Bt(e),s=t.findForwardRmpathEdges(r,a.edges[n],c,a);s.length>0&&(h=!0,x=o.dfsEdgeList[n].fromNode,s.forEach(function(t){var n="".concat(t.label,"-").concat(i[t.to].label);b[n]||(b[n]={projected:[],edgeLabel:t.label,nodeLabel2:i[t.to].label}),b[n].projected.push({graphId:r.id,edge:t,preNode:e})}))})};for(v=0;v=0;f--){var h=e.findBackwardEdge(u,l.edges[r[f]],l.edges[r[0]],l);if(h){var d="".concat(e.dfsCode.dfsEdgeList[r[f]].fromNode,"-").concat(h.label);s[d]||(s[d]={projected:[],toNodeId:e.dfsCode.dfsEdgeList[r[f]].fromNode,edgeLabel:h.label}),s[d].projected.push({graphId:t.graphId,edge:h,preNode:t})}}if(!(n>=e.maxNodeNum)){e.findForwardPureEdges(u,l.edges[r[0]],o,l).forEach(function(e){var n="".concat(i,"-").concat(e.label,"-").concat(c[e.to].label);a[n]||(a[n]={projected:[],fromNodeId:i,edgeLabel:e.label,nodeLabel2:c[e.to].label}),a[n].projected.push({graphId:t.graphId,edge:e,preNode:t})});var p=function(n){e.findForwardRmpathEdges(u,l.edges[r[n]],o,l).forEach(function(i){var o="".concat(e.dfsCode.dfsEdgeList[r[n]].fromNode,"-").concat(i.label,"-").concat(c[i.to].label);a[o]||(a[o]={projected:[],fromNodeId:e.dfsCode.dfsEdgeList[r[n]].fromNode,edgeLabel:i.label,nodeLabel2:c[i.to].label}),a[o].projected.push({graphId:t.graphId,edge:i,preNode:t})})};for(f=0;fi){var a=i;i=r,r=a}var l=t.label,f="".concat(n,"-").concat(r,"-").concat(l,"-").concat(i),h="".concat(r,"-").concat(l,"-").concat(i);if(!o[h]){var d=o[h]||0;d++,o[h]=d}s[f]={graphId:n,nodeLabel1:r,edgeLabel:l,nodeLabel2:i}})})}),Object.keys(i).forEach(function(t){if(!(i[t]e&&(s=e);var r=n[t.id].inDegree;u>r&&(u=r);var i=n[t.id].outDegree;c>i&&(c=i)}),t[e]={degree:s,inDegree:u,outDegree:c}),{minPatternNodeLabelDegree:s,minPatternNodeLabelInDegree:u,minPatternNodeLabelOutDegree:c}},Zt=function(t,e,n,r,i,o,a){var s;if(void 0===n&&(n=!1),void 0===o&&(o="cluster"),void 0===a&&(a="cluster"),t&&t.nodes){var u=t.nodes.length;if(u){var c=at(t,n),l=at(e,n),f=Ht(t.nodes,c,n),h=Ht(e.nodes,l,n),d=Xt(t.nodes,o),p=d.nodeMap,g=d.nodeLabelMap,v=Xt(e.nodes,o),y=v.nodeMap,m=v.nodeLabelMap;Yt(t.edges,a,p);var x=Yt(e.edges,a,y).edgeLabelMap,w=[];null===l||void 0===l||l.forEach(function(t){w=w.concat(t)}),i||(i=Math.max.apply(Math,Object(b.__spreadArray)(Object(b.__spreadArray)([],w,!1),[2],!1))),r||(r=i);var _=zt(t,c,o,r),E=zt(e,l,o,r),S=function(t,e,n,r,i){var o=Math.ceil(n/e),a={},s=0;return r.forEach(function(t,r){for(var u=0,c=0,l=t.nodeIdxs,f=t.neighborNum-1;u2*e)););if(d<2*e&&(a["".concat(r,"-").concat(h)]={start:r,end:h,distance:i[r][h]},u++,++s>=n))return a;if(++c>2*e)break}uD&&(D=n.length,P=n,j=e,N=t)});var L={},R={},B={},G={},F={},z={};Object.keys(m).forEach(function(r,i){F[r]=[],n&&(z[r]=[]);var s=-1/0,u={};m[r].forEach(function(t){var e=h["".concat(N.id,"-").concat(t.id)];if(e&&F[r].push(e),sF[r][h]){l=!0;break}if(l)return P.splice(e,1),"continue";var d={};i.neighbors.forEach(function(t){var e=f["".concat(n.id,"-").concat(t.id)];d["".concat(n.id,"-").concat(t.id)]={start:p[n.id].idx,end:p[t.id].idx,distance:e}}),M=Wt(d,_,t,M);var g=[];Object.keys(d).forEach(function(t){if(T[t])g.push(T[t]);else{var e=M[t];T[t]=Vt(e,I,o,a),g.push(T[t])}}),g=g.sort(function(t,e){return e-t});var v=!1;for(h=0;h=0;d--)l(d)});var U=[];null===P||void 0===P||P.forEach(function(r){for(var s=p[r.id].idx,u=Ut(t.nodes,c[s],s,o,i).neighbors,l=!1,h=u.length-1;h>=0;h--){if(u.length+1F[g][x])u.splice(h,1);else{if(n){var w="".concat(d.id,"-").concat(r.id),E=f[w];if(x=z[g].length-1,E>z[g][x]){u.splice(h,1);continue}}var S=T[v]?T[v]:qt(t,r,d,p,b,_,I,o,a,T,M),O="".concat(N.id,"-").concat(g);if(S=0&&"break"!==_(g);g--);if(w)return U.splice(r,1),"continue";i.edges=l;var E=et(i,i.nodes[0].id,!1).length;if(Object.keys(E).reverse().forEach(function(t){if(t!==i.nodes[0].id&&!w){if(E[t]===1/0){var e=c[t].node[o];if(u[e]--,u[e]V[r][V[r].length-1]){if(e=c[t].node[o],u[e]--,u[e]=0;O--){var k=i.nodes[O],A=c[k.id].degree,C=c[k.id].inDegree,I=c[k.id].outDegree,T=k[o],P=Kt(L,T,y,m),j=P.minPatternNodeLabelDegree,D=P.minPatternNodeLabelInDegree,R=P.minPatternNodeLabelOutDegree;if(n?A=0;B--){var G=l[B];if(!c[G.source]||!c[G.target]){l.splice(B,1);var F=G[a];if(f[F]--,c[G.source]&&(c[G.source].degree--,c[G.source].outDegree--),c[G.target]&&(c[G.target].degree--,c[G.target].inDegree--),x[F]&&f[F]=0&&"break"!==X(Y);Y--);var H=U.length,q=function(t){var e={};U[t].edges.forEach(function(t){var n="".concat(t.source,"-").concat(t.target,"-").concat(t.label);e[n]?e[n]++:e[n]=1});for(var n=function(t){var n={};U[t].edges.forEach(function(t){var e="".concat(t.source,"-").concat(t.target,"-").concat(t.label);n[e]?n[e]++:n[e]=1});var r=!0;Object.keys(n).length!==Object.keys(e).length?r=!1:Object.keys(e).forEach(function(t){n[t]!==e[t]&&(r=!1)}),r&&U.splice(t,1)},r=H-1;r>t;r--)n(r);H=U.length};for(Y=0;Y<=H-1;Y++)q(Y);return U}}},Qt=function(){function t(t){void 0===t&&(t=10),this.linkedList=new R,this.maxStep=t}return Object.defineProperty(t.prototype,"length",{get:function(){return this.linkedList.toArray().length},enumerable:!1,configurable:!0}),t.prototype.isEmpty=function(){return!this.linkedList.head},t.prototype.isMaxStack=function(){return this.toArray().length>=this.maxStep},t.prototype.peek=function(){return this.isEmpty()?null:this.linkedList.head.value},t.prototype.push=function(t){this.linkedList.prepend(t),this.length>this.maxStep&&this.linkedList.deleteTail()},t.prototype.pop=function(){var t=this.linkedList.deleteHead();return t?t.value:null},t.prototype.toArray=function(){return this.linkedList.toArray().map(function(t){return t.value})},t.prototype.clear=function(){for(;!this.isEmpty();)this.pop()},t}(),Jt=tt,$t={getAdjMatrix:j,breadthFirstSearch:U,connectedComponent:X,getDegree:H,getInDegree:q,getOutDegree:K,detectCycle:tt,detectDirectedCycle:Jt,detectAllCycles:$,detectAllDirectedCycle:J,detectAllUndirectedCycle:Q,depthFirstSearch:Z,dijkstra:et,findAllPath:ot,findShortestPath:it,floydWarshall:at,labelPropagation:st,louvain:gt,iLouvain:vt,kCore:yt,kMeans:bt,cosineSimilarity:xt,nodesCosineSimilarity:wt,minimumSpanningTree:kt,pageRank:At,getNeighbors:G,Stack:Qt,GADDI:Zt},te=r.transform,ee=function(t){return function(e,n){return e[t]-n[t]}},ne=function(t,e,n){return t>=e&&t<=n},re=function(t,e,n,r){var i=n.x-t.x,o=n.y-t.y,a=e.x-t.x,s=e.y-t.y,u=r.x-n.x,c=r.y-n.y,l=a*c-s*u,f=1/l;if(l*l>1e-4*(a*a+s*s)*(u*u+c*c)){var h=(i*c-o*u)*f,d=(i*s-o*a)*f;return ne(h,0,1)&&ne(d,0,1)?{x:t.x+h*a,y:t.y+h*s}:null}return null},ie=function(t,e){var n=t.x,r=t.y,i=t.width,o=t.height,a=[],s={x:n+i/2,y:r+o/2};a.push({x:n,y:r}),a.push({x:n+i,y:r}),a.push({x:n+i,y:r+o}),a.push({x:n,y:r+o}),a.push({x:n,y:r});for(var u=null,c=1;ce[r][o]+e[o][i]&&(e[r][i]=e[r][o]+e[o][i]);return e},de=function(t,e){var n=t.nodes,r=t.edges,i=[],o={};if(!n)throw new Error("invalid nodes data!");return n&&n.forEach(function(t,e){o[t.id]=e;i.push([])}),r&&r.forEach(function(t){var n=t.source,r=t.target,a=o[n],s=o[r];i[a][s]=1,e||(i[s][a]=1)}),i},pe=function(t,e){t.translate(e.x,e.y)},ge=function(t,e,n,r){void 0===r&&(r={duration:500});var i=t.getMatrix();i||(i=[1,0,0,0,1,0,0,0,1]);var o=t.getCanvasBBox(),a=e.x-o.minX,s=e.y-o.minY;if(n){var u=a*i[0],c=s*i[4],l=0,f=0,h=0,d=0;t.animate(function(t){return i=te(i,[["t",(h=u*t)-l,(d=c*t)-f]]),l=h,f=d,{matrix:i}},r)}else{var p=te(i,[["t",a,s]]);t.setMatrix(p)}},ve=function(t,e){var n=t.getMatrix();n||(n=[1,0,0,0,1,0,0,0,1]);var r=e;Object(x.isArray)(e)||(r=[e,e]),Object(x.isArray)(e)&&1===e.length&&(r=[e[0],e[0]]),n=te(n,[["s",r[0],r[1]]]),t.setMatrix(n)},ye=function(t,e){var n=t.getMatrix();n||(n=[1,0,0,0,1,0,0,0,1]),n=te(n,[["r",e]]),t.setMatrix(n)},me=function(t,e,n){for(var r=[],i=0;i0!=a(c[1]-n)>0&&a(e-(n-u[1])*(u[0]-c[0])/(u[1]-c[1])-u[0])<0&&(r=!r)}return r},we=function(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY1){var a=t[0],s=t[n-1];e.push({from:{x:s[0],y:s[1]},to:{x:a[0],y:a[1]}})}return e};if(t.length<2||e.length<2)return!1;var i=n(t),o=n(e);if(!we(i,o))return!1;var a=!1;if(Object(x.each)(e,function(e){if(xe(t,e[0],e[1]))return a=!0,!1}),a)return!0;if(Object(x.each)(t,function(t){if(xe(e,t[0],t[1]))return a=!0,!1}),a)return!0;var s=r(t),u=r(e),c=!1;return Object(x.each)(u,function(t){if(function(t,e){var n=!1;return Object(x.each)(t,function(t){if(re(t.from,t.to,e.from,e.to))return n=!0,!1}),n}(s,t))return c=!0,!1}),c},Ee=function(){function t(t,e,n,r){this.x1=t,this.y1=e,this.x2=n,this.y2=r}return t.prototype.getBBox=function(){var t=Math.min(this.x1,this.x2),e=Math.min(this.y1,this.y2),n=Math.max(this.x1,this.x2),r=Math.max(this.y1,this.y2);return{x:t,y:e,minX:t,minY:e,maxX:n,maxY:r,width:n-t,height:r-e}},t}(),Se=function(t,e){return{top:[t.minX,t.minY,t.maxX,t.minY],left:[t.minX,t.minY,t.minX,t.maxY],bottom:[t.minX,t.maxY,t.maxX,t.maxY],right:[t.maxX,t.minY,t.maxX,t.maxY]}[e]},Me=function(t,e){var n=(e.x2-e.x1)*(t.y1-e.y1)-(e.y2-e.y1)*(t.x1-e.x1),r=(t.x2-t.x1)*(t.y1-e.y1)-(t.y2-t.y1)*(t.x1-e.x1),i=(e.y2-e.y1)*(t.x2-t.x1)-(e.x2-e.x1)*(t.y2-t.y1);if(i){var o=n/i,a=r/i;if(o>=0&&o<=1&&a>=0&&a<=1)return o}return Number.POSITIVE_INFINITY},Oe=function(t,e){for(var n=["top","left","bottom","right"],r=t.getBBox(),i=0,o=[],a=0;a<4;a++){var s=Se(r,n[a]),u=s[0],c=s[1],l=s[2],f=s[3];o[a]=re({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},{x:u,y:c},{x:l,y:f}),o[a]&&(i+=1)}return[o,i]},ke=function(t,e){for(var n=["top","left","bottom","right"],r=t.getBBox(),i=Number.POSITIVE_INFINITY,o=0,a=0;a<4;a++){var s=Se(r,n[a]),u=s[0],c=s[1],l=s[2],f=s[3],h=Me(e,new Ee(u,c,l,f));(h=Math.abs(h-.5))>=0&&h<=1&&(o+=1,i=h0){for(var r=0,i=t;re.x+e.width,i=t.y>e.y+e.height,o=t.y":.604998779296875,"/":.5,"?":.53699951171875},Ye=Math.PI,He=Math.sin,qe=Math.cos,Ke=He(Ye/8),Ze=qe(Ye/8),Qe=function(t,e){var n=t.getBBox(),r={x:n.minX,y:n.minY},i={x:n.maxX,y:n.maxY};if(e){var o=e.getMatrix();o||(o=[1,0,0,0,1,0,0,0,1]),r=se(r,o),i=se(i,o)}var a=r.x,s=r.y,u=i.x,c=i.y;return{x:a,y:s,minX:a,minY:s,maxX:u,maxY:c,width:u-a,height:c-s}},Je=function(t){var e=t.sourceNode||t.targetNode,n=e.get("group").getMatrix();n||(n=[1,0,0,0,1,0,0,0,1]);var r=e.getKeyShape().getBBox(),i=t.loopCfg||{},o=i.dist||2*Math.max(r.width,r.height),a=i.position||Ve.defaultLoopPosition,s=[n[6],n[7]],u=[t.startPoint.x,t.startPoint.y],c=[t.endPoint.x,t.endPoint.y],l=r.height/2,f=r.height/2,h=l*Ke,d=l*Ze,p=f*Ke,g=f*Ze;if(u[0]===c[0]&&u[1]===c[1]){switch(a){case"top":u=[s[0]-h,s[1]-d],c=[s[0]+p,s[1]-g];break;case"top-right":l=r.height/2,f=r.width/2,u=[s[0]+(h=l*Ke),s[1]-(d=l*Ze)],c=[s[0]+(g=f*Ze),s[1]-(p=f*Ke)];break;case"right":l=r.width/2,f=r.width/2,u=[s[0]+(d=l*Ze),s[1]-(h=l*Ke)],c=[s[0]+(g=f*Ze),s[1]+(p=f*Ke)];break;case"bottom-right":l=r.width/2,f=r.height/2,u=[s[0]+(d=l*Ze),s[1]+(h=l*Ke)],c=[s[0]+(p=f*Ke),s[1]+(g=f*Ze)];break;case"bottom":l=r.height/2,f=r.height/2,u=[s[0]+(h=l*Ke),s[1]+(d=l*Ze)],c=[s[0]-(p=f*Ke),s[1]+(g=f*Ze)];break;case"bottom-left":l=r.height/2,f=r.width/2,u=[s[0]-(h=l*Ke),s[1]+(d=l*Ze)],c=[s[0]-(g=f*Ze),s[1]+(p=f*Ke)];break;case"left":l=r.width/2,f=r.width/2,u=[s[0]-(d=l*Ze),s[1]+(h=l*Ke)],c=[s[0]-(g=f*Ze),s[1]-(p=f*Ke)];break;case"top-left":l=r.width/2,f=r.height/2,u=[s[0]-(d=l*Ze),s[1]-(h=l*Ke)],c=[s[0]-(p=f*Ke),s[1]-(g=f*Ze)];break;default:l=r.width/2,f=r.width/2,u=[s[0]-(h=l*Ke),s[1]-(d=l*Ze)],c=[s[0]+(p=f*Ke),s[1]-(g=f*Ze)]}if(!1===i.clockwise){var v=[u[0],u[1]];u=[c[0],c[1]],c=[v[0],v[1]]}}var y=[u[0]-s[0],u[1]-s[1]],m=(l+o)/l,b=(f+o)/f;!1===i.clockwise&&(m=(f+o)/f,b=(l+o)/l);var x=M.d.scale([0,0],y,m),w=[s[0]+x[0],s[1]+x[1]],_=[c[0]-s[0],c[1]-s[1]],E=M.d.scale([0,0],_,b),S=[s[0]+E[0],s[1]+E[1]];return t.startPoint={x:u[0],y:u[1]},t.endPoint={x:c[0],y:c[1]},t.controlPoints=[{x:w[0],y:w[1]},{x:S[0],y:S[1]}],t},$e=function(t,e,n,r,i){var o=[],a=null===t||void 0===t?void 0:t.getPoint(e);if(!a)return{x:0,y:0,angle:0};if(e<1e-4)o=t.getStartTangent().reverse();else if(e>.9999)o=t.getEndTangent();else{var s=null===t||void 0===t?void 0:t.getPoint(e+1e-4);o.push([a.x,a.y]),o.push([s.x,s.y])}var u=Math.atan2(o[1][1]-o[0][1],o[1][0]-o[0][0]);if(u<0&&(u+=2*Ye),n&&(a.x+=qe(u)*n,a.y+=He(u)*n),r){var c=u-Ye/2;u>.5*Ye&&u<1.5*Ye&&(c-=Ye),a.x+=qe(c)*r,a.y+=He(c)*r}var l={x:a.x,y:a.y,angle:u};return i?(u>.5*Ye&&u<1.5*Ye&&(u-=Ye),Object(b.__assign)({rotate:u},l)):l},tn=function t(e,n){if(!1===n(e))return!1;if(e&&e.children)for(var r=e.children.length-1;r>=0;r--)if(!t(e.children[r],n))return!1;return!0},en=function(t,e){"function"==typeof e&&tn(t,e)},nn=function(t,e){"function"==typeof e&&function t(e,n){if(e&&e.children)for(var r=e.children.length-1;r>=0;r--)if(!t(e.children[r],n))return;return!1!==n(e)}(t,e)},rn=function(t,e){return e*(Xe[t]||1)},on=function(t,e){var n=0,r=new RegExp("[一-龥]+");return t.split("").forEach(function(t){r.test(t)?n+=e:n+=rn(t,e)}),[n,e]},an=function(t,e){var n=[],r={},i={};t.forEach(function(t){i[t.id]=t}),t.forEach(function(t,e){var o=Object(x.clone)(t);o.itemType="combo",o.children=void 0,o.parentId===o.id?(console.warn("The parentId for combo ".concat(o.id," can not be the same as the combo's id")),delete o.parentId):o.parentId&&!i[o.parentId]&&(console.warn("The parent combo for combo ".concat(o.id," does not exist!")),delete o.parentId);var a=r[o.id];if(a){if(o.children=a.children,r[o.id]=o,!(a=o).parentId)return void n.push(a);var s=r[a.parentId];if(s)s.children?s.children.push(o):s.children=[o];else{var u={id:a.parentId,children:[a]};r[a.parentId]=u,r[o.id]=o}}else if(Object(x.isString)(t.parentId)){var c=r[t.parentId];if(c)c.children?c.children.push(o):c.children=[o],r[o.id]=o;else{var l={id:t.parentId,children:[o]};r[l.id]=l,r[o.id]=o}}else n.push(o),r[o.id]=o});var o={};(e||[]).forEach(function(t){o[t.id]=t;var e=r[t.comboId];if(e){var n={id:t.id,comboId:t.comboId};e.children?e.children.push(n):e.children=[n],n.itemType="node",r[t.id]=n}});var a=0;return n.forEach(function(t){t.depth=a+10,tn(t,function(t){var e,n=r[t.id].itemType;e="node"===n?r[t.comboId]:r[t.parentId],t.depth=e&&"node"===n?a+1:a+10,a-1&&o.splice(c,1),s||(i={id:e,itemType:"node",comboId:n},a[e]={children:void 0}),e){var l=!1;if(n){var f=0;(t||[]).forEach(function(t){l||en(t,function(t){return n!==t.id||(l=!0,t.children?t.children.push(i):t.children=[i],f=t.depth,"node"===i.itemType?i.depth=f+2:i.depth=f+1,!1)})})}else n&&l||"node"===i.itemType||t.push(i);var h=i.depth;en(i,function(t){return"node"===t.itemType?h+=2:h+=1,t.depth=h,!0})}return t},un=function(t,e,n){var r={minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0,x:void 0,y:void 0,width:void 0,height:void 0,centerX:void 0,centerY:void 0};if(!t||0===t.length){var i=(null===n||void 0===n?void 0:n.getModel())||{},o=i.x,a=i.y;return{minX:o,minY:a,maxX:o,maxY:a,x:o,y:a,width:void 0,height:void 0}}return t.forEach(function(t){var n=e.findById(t.id);if(n&&n.isVisible()){n.set("bboxCanvasCache",void 0);var i=n.getCanvasBBox();i.x&&r.minX>i.minX&&(r.minX=i.minX),i.y&&r.minY>i.minY&&(r.minY=i.minY),i.x&&r.maxX2&&(n.push([i].concat(a.splice(0,2))),s="l",i="m"===i?"l":"L"),"o"===s&&1===a.length&&n.push([i,a[0]]),"r"===s)n.push([i].concat(a));else for(;a.length>=e[s]&&(n.push([i].concat(a.splice(0,e[s]))),e[s]););return t}),n},yn=function(t,e){for(var n=[],r=0,i=t.length;i-2*!e>r;r+=2){var o=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4===r?o[3]={x:+t[0],y:+t[1]}:i-2===r&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[i-2],y:+t[i-1]}:i-4===r?o[3]=o[2]:r||(o[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n},mn=function(t,e,n,r,i){var o=[];if(null===i&&null===r&&(r=n),t=+t,e=+e,n=+n,r=+r,null!==i){var a=Math.PI/180,s=t+n*Math.cos(-r*a),u=t+n*Math.cos(-i*a);o=[["M",s,e+n*Math.sin(-r*a)],["A",n,n,0,+(i-r>180),0,u,e+n*Math.sin(-i*a)]]}else o=[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return o},bn=function(t){if(!(t=vn(t))||!t.length)return[["M",0,0]];var e,n,r=[],i=0,o=0,a=0,s=0,u=0;"M"===t[0][0]&&(a=i=+t[0][1],s=o=+t[0][2],u++,r[0]=["M",i,o]);for(var c=3===t.length&&"M"===t[0][0]&&"R"===t[1][0].toUpperCase()&&"Z"===t[2][0].toUpperCase(),l=void 0,f=void 0,h=u,d=t.length;h1&&(n*=w=Math.sqrt(w),r*=w);var _=n*n,E=r*r,S=(o===a?-1:1)*Math.sqrt(Math.abs((_*E-_*x*x-E*b*b)/(_*x*x+E*b*b)));d=S*n*x/r+(t+s)/2,p=S*-r*b/n+(e+u)/2,f=Math.asin(((e-p)/r).toFixed(9)),h=Math.asin(((u-p)/r).toFixed(9)),f=th&&(f-=2*Math.PI),!a&&h>f&&(h-=2*Math.PI)}var M=h-f;if(Math.abs(M)>g){var O=h,k=s,A=u;h=f+g*(a&&h>f?1:-1),s=d+n*Math.cos(h),u=p+r*Math.sin(h),y=_n(s,u,n,r,i,0,a,k,A,[h,O,d,p])}M=h-f;var C=Math.cos(f),I=Math.sin(f),T=Math.cos(h),N=Math.sin(h),P=Math.tan(M/4),j=4/3*n*P,D=4/3*r*P,L=[t,e],R=[t+j*I,e-D*C],B=[s+j*N,u-D*T],G=[s,u];if(R[0]=2*L[0]-R[0],R[1]=2*L[1]-R[1],c)return[R,B,G].concat(y);for(var F=[],z=0,U=(y=[R,B,G].concat(y).join().split(",")).length;z7){t[e].shift();for(var o=t[e];o.length;)s[e]="A",i&&(u[e]="A"),t.splice(e++,0,["C"].concat(o.splice(0,6)));t.splice(e,1),n=Math.max(r.length,i&&i.length||0)}},d=function(t,e,o,a,s){t&&e&&"M"===t[s][0]&&"M"!==e[s][0]&&(e.splice(s,0,["M",a.x,a.y]),o.bx=0,o.by=0,o.x=t[s][1],o.y=t[s][2],n=Math.max(r.length,i&&i.length||0))};n=Math.max(r.length,i&&i.length||0);for(var p=0;p1?1:u<0?0:u)/2,l=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],h=0,d=0;d<12;d++){var p=c*l[d]+c,g=On(p,t,n,i,a),v=On(p,e,r,o,s),y=g*g+v*v;h+=f[d]*Math.sqrt(y)}return c*h},An=function(t,e,n,r,i,o,a,s){if(!(Math.max(t,n)Math.max(i,a)||Math.max(e,r)Math.max(o,s))){var u=(t-n)*(o-s)-(e-r)*(i-a);if(u){var c=((t*r-e*n)*(i-a)-(t-n)*(i*s-o*a))/u,l=((t*r-e*n)*(o-s)-(e-r)*(i*s-o*a))/u,f=+c.toFixed(2),h=+l.toFixed(2);if(!(f<+Math.min(t,n).toFixed(2)||f>+Math.max(t,n).toFixed(2)||f<+Math.min(i,a).toFixed(2)||f>+Math.max(i,a).toFixed(2)||h<+Math.min(e,r).toFixed(2)||h>+Math.max(e,r).toFixed(2)||h<+Math.min(o,s).toFixed(2)||h>+Math.max(o,s).toFixed(2)))return{x:c,y:l}}}},Cn=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},In=function(t,e,n,r,i){if(i)return[["M",+t+ +i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]];var o=[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]];return o.parsePathArray=Mn,o},Tn=function(t,e,n,r){return null===t&&(t=e=n=r=0),null===e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:In(t,e,n,r),vb:[t,e,n,r].join(" ")}},Nn=function(t,e,n,r,i,o,a,s){Object(x.isArray)(t)||(t=[t,e,n,r,i,o,a,s]);var u=function(t,e,n,r,i,o,a,s){for(var u,c,l,f,h=[],d=[[],[]],p=0;p<2;++p)if(0===p?(c=6*t-12*n+6*i,u=-3*t+9*n-9*i+3*a,l=3*n-3*t):(c=6*e-12*r+6*o,u=-3*e+9*r-9*o+3*s,l=3*r-3*e),Math.abs(u)<1e-12){if(Math.abs(c)<1e-12)continue;(f=-l/c)>0&&f<1&&h.push(f)}else{var g=c*c-4*l*u,v=Math.sqrt(g);if(!(g<0)){var y=(-c+v)/(2*u);y>0&&y<1&&h.push(y);var m=(-c-v)/(2*u);m>0&&m<1&&h.push(m)}}for(var b,x=h.length,w=x;x--;)b=1-(f=h[x]),d[0][x]=b*b*b*t+3*b*b*f*n+3*b*f*f*i+f*f*f*a,d[1][x]=b*b*b*e+3*b*b*f*r+3*b*f*f*o+f*f*f*s;return d[0][w]=t,d[1][w]=e,d[0][w+1]=a,d[1][w+1]=s,d[0].length=d[1].length=w+2,{min:{x:Math.min.apply(0,d[0]),y:Math.min.apply(0,d[1])},max:{x:Math.max.apply(0,d[0]),y:Math.max.apply(0,d[1])}}}.apply(null,t);return Tn(u.min.x,u.min.y,u.max.x-u.min.x,u.max.y-u.min.y)},Pn=function(t,e,n,r,i,o,a,s,u){var c=1-u,l=Math.pow(c,3),f=Math.pow(c,2),h=u*u,d=h*u,p=t+2*u*(n-t)+h*(i-2*n+t),g=e+2*u*(r-e)+h*(o-2*r+e),v=n+2*u*(i-n)+h*(a-2*i+n),y=r+2*u*(o-r)+h*(s-2*o+r);return{x:l*t+3*f*u*n+3*c*u*u*i+d*a,y:l*e+3*f*u*r+3*c*u*u*o+d*s,m:{x:p,y:g},n:{x:v,y:y},start:{x:c*t+u*n,y:c*e+u*r},end:{x:c*i+u*a,y:c*o+u*s},alpha:90-180*Math.atan2(p-v,g-y)/Math.PI}},jn=function(t,e,n){if(!function(t,e){return t=Tn(t),e=Tn(e),Cn(e,t.x,t.y)||Cn(e,t.x2,t.y)||Cn(e,t.x,t.y2)||Cn(e,t.x2,t.y2)||Cn(t,e.x,e.y)||Cn(t,e.x2,e.y)||Cn(t,e.x,e.y2)||Cn(t,e.x2,e.y2)||(t.xe.x||e.xt.x)&&(t.ye.y||e.yt.y)}(Nn(t),Nn(e)))return n?0:[];for(var r=~~(kn.apply(0,t)/8),i=~~(kn.apply(0,e)/8),o=[],a=[],s={},u=n?0:[],c=0;c=0&&b<=1&&x>=0&&x<=1&&(n?u+=1:u.push({x:m.x,y:m.y,t1:b,t2:x}))}}return u},Dn=function(t,e){return function(t,e,n){var r,i,o,a,s,u,c,l,f,h;t=En(t),e=En(e);for(var d=n?0:[],p=0,g=t.length;p=3&&(3===t.length&&e.push("Q"),e=e.concat(t[1])),2===t.length&&e.push("L"),e=e.concat(t[t.length-1])})}(t,e,n));else{var i=[].concat(t);"M"===i[0]&&(i[0]="L");for(var o=0;o<=n-1;o++)r.push(i)}return r},Bn=function(t,e){if(1===t.length)return t;var n=t.length-1,r=e.length-1,i=n/r,o=[];if(1===t.length&&"M"===t[0][0]){for(var a=0;a=0;u--)a=o[u].index,"add"===o[u].type?t.splice(a,0,[].concat(t[a])):t.splice(a,1)}var f=i-(r=t.length);if(r0)){t[r]=e[r];break}n=Un(n,t[r-1],1)}t[r]=["Q"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"T":t[r]=["T"].concat(n[0]);break;case"C":if(n.length<3){if(!(r>0)){t[r]=e[r];break}n=Un(n,t[r-1],2)}t[r]=["C"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"S":if(n.length<2){if(!(r>0)){t[r]=e[r];break}n=Un(n,t[r-1],1)}t[r]=["S"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;default:t[r]=e[r]}return t},Xn=function(){function t(t,e){this.bubbles=!0,this.target=null,this.currentTarget=null,this.delegateTarget=null,this.delegateObject=null,this.defaultPrevented=!1,this.propagationStopped=!1,this.shape=null,this.fromShape=null,this.toShape=null,this.propagationPath=[],this.type=t,this.name=t,this.originalEvent=e,this.timeStamp=e.timeStamp}return t.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t.prototype.toString=function(){return"[Event (type="+this.type+")]"},t.prototype.save=function(){},t.prototype.restore=function(){},t}();function Yn(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}var Hn="undefined"!=typeof window&&void 0!==window.document;function qn(t,e){if(t.isCanvas())return!0;for(var n=e.getParent(),r=!1;n;){if(n===t){r=!0;break}n=n.getParent()}return r}function Kn(t){return t.cfg.visible&&t.cfg.capture}var Zn=function(t){function e(e){var n=t.call(this)||this;n.destroyed=!1;var r=n.getDefaultCfg();return n.cfg=Object(x.mix)(r,e),n}return Object(b.__extends)(e,t),e.prototype.getDefaultCfg=function(){return{}},e.prototype.get=function(t){return this.cfg[t]},e.prototype.set=function(t,e){this.cfg[t]=e},e.prototype.destroy=function(){this.cfg={destroyed:!0},this.off(),this.destroyed=!0},e}(S),Qn=n("e0ae");function Jn(t,e){var n=[],r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],u=t[5],c=t[6],l=t[7],f=t[8],h=e[0],d=e[1],p=e[2],g=e[3],v=e[4],y=e[5],m=e[6],b=e[7],x=e[8];return n[0]=h*r+d*a+p*c,n[1]=h*i+d*s+p*l,n[2]=h*o+d*u+p*f,n[3]=g*r+v*a+y*c,n[4]=g*i+v*s+y*l,n[5]=g*o+v*u+y*f,n[6]=m*r+b*a+x*c,n[7]=m*i+b*s+x*l,n[8]=m*o+b*u+x*f,n}function $n(t,e){var n=[],r=e[0],i=e[1];return n[0]=t[0]*r+t[3]*i+t[6],n[1]=t[1]*r+t[4]*i+t[7],n}function tr(t){var e=[],n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],u=t[6],c=t[7],l=t[8],f=l*a-s*c,h=-l*o+s*u,d=c*o-a*u,p=n*f+r*h+i*d;return p?(p=1/p,e[0]=f*p,e[1]=(-l*r+i*c)*p,e[2]=(s*r-i*a)*p,e[3]=h*p,e[4]=(l*n-i*u)*p,e[5]=(-s*n+i*o)*p,e[6]=d*p,e[7]=(-c*n+r*u)*p,e[8]=(a*n-r*o)*p,e):null}var er=r.transform,nr=["zIndex","capture","visible","type"],rr=["repeat"];var ir=function(t){function e(e){var n=t.call(this,e)||this;n.attrs={};var r=n.getDefaultAttrs();return Object(x.mix)(r,e.attrs),n.attrs=r,n.initAttrs(r),n.initAnimate(),n}return Object(b.__extends)(e,t),e.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},e.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},e.prototype.onCanvasChange=function(t){},e.prototype.initAttrs=function(t){},e.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},e.prototype.isGroup=function(){return!1},e.prototype.getParent=function(){return this.get("parent")},e.prototype.getCanvas=function(){return this.get("canvas")},e.prototype.attr=function(){for(var t,e=[],n=0;n0?r=function(t,e){if(e.onFrame)return t;var n=e.startTime,r=e.delay,i=e.duration,o=Object.prototype.hasOwnProperty;return Object(x.each)(t,function(t){n+rt.delay&&Object(x.each)(e.toAttrs,function(e,n){o.call(t.toAttrs,n)&&(delete t.toAttrs[n],delete t.fromAttrs[n])})}),t}(r,m):n.addAnimator(this),r.push(m),this.set("animations",r),this.set("_pause",{isPaused:!1})}},e.prototype.stopAnimate=function(t){var e=this;void 0===t&&(t=!0);var n=this.get("animations");Object(x.each)(n,function(n){t&&(n.onFrame?e.attr(n.onFrame(1)):e.attr(n.toAttrs)),n.callback&&n.callback()}),this.set("animating",!1),this.set("animations",[])},e.prototype.pauseAnimate=function(){var t=this.get("timeline"),e=this.get("animations"),n=t.getTime();return Object(x.each)(e,function(t){t._paused=!0,t._pauseTime=n,t.pauseCallback&&t.pauseCallback()}),this.set("_pause",{isPaused:!0,pauseTime:n}),this},e.prototype.resumeAnimate=function(){var t=this.get("timeline").getTime(),e=this.get("animations"),n=this.get("_pause").pauseTime;return Object(x.each)(e,function(e){e.startTime=e.startTime+(t-n),e._paused=!1,e._pauseTime=null,e.resumeCallback&&e.resumeCallback()}),this.set("_pause",{isPaused:!1}),this.set("animations",e),this},e.prototype.emitDelegation=function(t,e){var n,r=this,i=e.propagationPath;this.getEvents();"mouseenter"===t?n=e.fromShape:"mouseleave"===t&&(n=e.toShape);for(var o=function(t){var o=i[t],s=o.get("name");if(s){if((o.isGroup()||o.isCanvas&&o.isCanvas())&&n&&qn(o,n))return"break";Object(x.isArray)(s)?Object(x.each)(s,function(t){r.emitDelegateEvent(o,t,e)}):a.emitDelegateEvent(o,s,e)}},a=this,s=0;s0)});return a.length>0?(Object(x.each)(a,function(t){var e=t.getBBox();i.push(e.minX,e.maxX),o.push(e.minY,e.maxY)}),t=Object(x.min)(i),e=Object(x.max)(i),n=Object(x.min)(o),r=Object(x.max)(o)):(t=0,e=0,n=0,r=0),{x:t,y:n,minX:t,minY:n,maxX:e,maxY:r,width:e-t,height:r-n}},e.prototype.getCanvasBBox=function(){var t=1/0,e=-1/0,n=1/0,r=-1/0,i=[],o=[],a=this.getChildren().filter(function(t){return t.get("visible")&&(!t.isGroup()||t.isGroup()&&t.getChildren().length>0)});return a.length>0?(Object(x.each)(a,function(t){var e=t.getCanvasBBox();i.push(e.minX,e.maxX),o.push(e.minY,e.maxY)}),t=Object(x.min)(i),e=Object(x.max)(i),n=Object(x.min)(o),r=Object(x.max)(o)):(t=0,e=0,n=0,r=0),{x:t,y:n,minX:t,minY:n,maxX:e,maxY:r,width:e-t,height:r-n}},e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.children=[],e},e.prototype.onAttrChange=function(e,n,r){if(t.prototype.onAttrChange.call(this,e,n,r),"matrix"===e){var i=this.getTotalMatrix();this._applyChildrenMarix(i)}},e.prototype.applyMatrix=function(e){var n=this.getTotalMatrix();t.prototype.applyMatrix.call(this,e);var r=this.getTotalMatrix();r!==n&&this._applyChildrenMarix(r)},e.prototype._applyChildrenMarix=function(t){var e=this.getChildren();Object(x.each)(e,function(e){e.applyMatrix(t)})},e.prototype.addShape=function(){for(var t=[],e=0;e=0;o--){var a=t[o];if(Kn(a)&&(a.isGroup()?i=a.getShape(e,n,r):a.isHit(e,n)&&(i=a)),i)break}return i},e.prototype.add=function(t){var e=this.getCanvas(),n=this.getChildren(),r=this.get("timeline"),i=t.getParent();i&&function(t,e,n){void 0===n&&(n=!0),n?e.destroy():(e.set("parent",null),e.set("canvas",null)),Yn(t.getChildren(),e)}(i,t,!1),t.set("parent",this),e&&function t(e,n){if(e.set("canvas",n),e.isGroup()){var r=e.get("children");r.length&&r.forEach(function(e){t(e,n)})}}(t,e),r&&function t(e,n){if(e.set("timeline",n),e.isGroup()){var r=e.get("children");r.length&&r.forEach(function(e){t(e,n)})}}(t,r),n.push(t),t.onCanvasChange("add"),this._applyElementMatrix(t)},e.prototype._applyElementMatrix=function(t){var e=this.getTotalMatrix();e&&t.applyMatrix(e)},e.prototype.getChildren=function(){return this.get("children")},e.prototype.sort=function(){var t=this.getChildren();Object(x.each)(t,function(t,e){return t[ar]=e,t}),t.sort(function(t){return function(e,n){var r=t(e,n);return 0===r?e[ar]-n[ar]:r}}(function(t,e){return t.get("zIndex")-e.get("zIndex")})),this.onCanvasChange("sort")},e.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var t=this.getChildren(),e=t.length-1;e>=0;e--)t[e].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},e.prototype.destroy=function(){this.get("destroyed")||(this.clear(),t.prototype.destroy.call(this))},e.prototype.getFirst=function(){return this.getChildByIndex(0)},e.prototype.getLast=function(){var t=this.getChildren();return this.getChildByIndex(t.length-1)},e.prototype.getChildByIndex=function(t){return this.getChildren()[t]},e.prototype.getCount=function(){return this.getChildren().length},e.prototype.contain=function(t){return this.getChildren().indexOf(t)>-1},e.prototype.removeChild=function(t,e){void 0===e&&(e=!0),this.contain(t)&&t.remove(e)},e.prototype.findAll=function(t){var e=[],n=this.getChildren();return Object(x.each)(n,function(n){t(n)&&e.push(n),n.isGroup()&&(e=e.concat(n.findAll(t)))}),e},e.prototype.find=function(t){var e=null,n=this.getChildren();return Object(x.each)(n,function(n){if(t(n)?e=n:n.isGroup()&&(e=n.find(t)),e)return!1}),e},e.prototype.findById=function(t){return this.find(function(e){return e.get("id")===t})},e.prototype.findByClassName=function(t){return this.find(function(e){return e.get("className")===t})},e.prototype.findAllByName=function(t){return this.findAll(function(e){return e.get("name")===t})},e}(ir),ur=n("dPRQ"),cr=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t};function lr(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function fr(){}var hr="\\s*([+-]?\\d+)\\s*",dr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",pr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",gr=/^#([0-9a-f]{3,8})$/,vr=new RegExp("^rgb\\("+[hr,hr,hr]+"\\)$"),yr=new RegExp("^rgb\\("+[pr,pr,pr]+"\\)$"),mr=new RegExp("^rgba\\("+[hr,hr,hr,dr]+"\\)$"),br=new RegExp("^rgba\\("+[pr,pr,pr,dr]+"\\)$"),xr=new RegExp("^hsl\\("+[dr,pr,pr]+"\\)$"),wr=new RegExp("^hsla\\("+[dr,pr,pr,dr]+"\\)$"),_r={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Er(){return this.rgb().formatHex()}function Sr(){return this.rgb().formatRgb()}function Mr(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=gr.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Or(e):3===n?new Cr(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?kr(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?kr(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=vr.exec(t))?new Cr(e[1],e[2],e[3],1):(e=yr.exec(t))?new Cr(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=mr.exec(t))?kr(e[1],e[2],e[3],e[4]):(e=br.exec(t))?kr(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=xr.exec(t))?Pr(e[1],e[2]/100,e[3]/100,1):(e=wr.exec(t))?Pr(e[1],e[2]/100,e[3]/100,e[4]):_r.hasOwnProperty(t)?Or(_r[t]):"transparent"===t?new Cr(NaN,NaN,NaN,0):null}function Or(t){return new Cr(t>>16&255,t>>8&255,255&t,1)}function kr(t,e,n,r){return r<=0&&(t=e=n=NaN),new Cr(t,e,n,r)}function Ar(t,e,n,r){return 1===arguments.length?function(t){return t instanceof fr||(t=Mr(t)),t?new Cr((t=t.rgb()).r,t.g,t.b,t.opacity):new Cr}(t):new Cr(t,e,n,null==r?1:r)}function Cr(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Ir(){return"#"+Nr(this.r)+Nr(this.g)+Nr(this.b)}function Tr(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function Nr(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Pr(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Dr(t,e,n,r)}function jr(t){if(t instanceof Dr)return new Dr(t.h,t.s,t.l,t.opacity);if(t instanceof fr||(t=Mr(t)),!t)return new Dr;if(t instanceof Dr)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,u=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n0&&u<1?0:a,new Dr(a,s,u,t.opacity)}function Dr(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Lr(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function Rr(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}cr(fr,Mr,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Er,formatHex:Er,formatHsl:function(){return jr(this).formatHsl()},formatRgb:Sr,toString:Sr}),cr(Cr,Ar,lr(fr,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Cr(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Cr(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ir,formatHex:Ir,formatRgb:Tr,toString:Tr})),cr(Dr,function(t,e,n,r){return 1===arguments.length?jr(t):new Dr(t,e,n,null==r?1:r)},lr(fr,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Dr(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Dr(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Cr(Lr(t>=240?t-240:t+120,i,r),Lr(t,i,r),Lr(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var Br=function(t){return function(){return t}};function Gr(t,e){return function(n){return t+n*e}}function Fr(t){return 1==(t=+t)?zr:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Br(isNaN(e)?n:e)}}function zr(t,e){var n=e-t;return n?Gr(t,n):Br(isNaN(t)?e:t)}var Ur=function t(e){var n=Fr(e);function r(t,e){var r=n((t=Ar(t)).r,(e=Ar(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=zr(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function Wr(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=ro&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,u.push({i:a,x:qr(n,r)})),o=Zr.lastIndex;return oc.length?(u=vn(o[s]),c=vn(i[s]),c=zn(c,u),c=Vn(c,u),e.fromAttrs.path=c,e.toAttrs.path=u):e.pathFormatted||(u=vn(o[s]),c=vn(i[s]),c=Vn(c,u),e.fromAttrs.path=c,e.toAttrs.path=u,e.pathFormatted=!0),r[s]=[];for(var l=0;l0){for(var o=r.animators.length-1;o>=0;o--)if((t=r.animators[o]).destroyed)r.removeAnimator(o);else{if(!t.isAnimatePaused())for(var a=(e=t.get("animations")).length-1;a>=0;a--)n=e[a],Vi(t,n,i)&&(e.splice(a,1),!1,n.callback&&n.callback());0===e.length&&r.removeAnimator(o)}r.canvas.get("autoDraw")||r.canvas.draw()}})},t.prototype.addAnimator=function(t){this.animators.push(t)},t.prototype.removeAnimator=function(t){this.animators.splice(t,1)},t.prototype.isAnimating=function(){return!!this.animators.length},t.prototype.stop=function(){this.timer&&this.timer.stop()},t.prototype.stopAllAnimations=function(t){void 0===t&&(t=!0),this.animators.forEach(function(e){e.stopAnimate(t)}),this.animators=[],this.canvas.draw()},t.prototype.getTime=function(){return this.current},t}(),Yi=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function Hi(t,e,n){n.name=e,n.target=t,n.currentTarget=t,n.delegateTarget=t,t.emit(e,n)}function qi(t,e,n){if(n.bubbles){var r=void 0,i=!1;if("mouseenter"===e?(r=n.fromShape,i=!0):"mouseleave"===e&&(i=!0,r=n.toShape),t.isCanvas()&&i)return;if(r&&qn(t,r))return void(n.bubbles=!1);n.name=e,n.currentTarget=t,n.delegateTarget=t,t.emit(e,n)}}var Ki=function(){function t(t){var e=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(t){var n=t.type;e._triggerEvent(n,t)},this._onDocumentMove=function(t){if(e.canvas.get("el")!==t.target&&(e.dragging||e.currentShape)){var n=e._getPointInfo(t);e.dragging&&e._emitEvent("drag",t,n,e.draggingShape)}},this._onDocumentMouseUp=function(t){if(e.canvas.get("el")!==t.target&&e.dragging){var n=e._getPointInfo(t);e.draggingShape&&e._emitEvent("drop",t,n,null),e._emitEvent("dragend",t,n,e.draggingShape),e._afterDrag(e.draggingShape,n,t)}},this.canvas=t.canvas}return t.prototype.init=function(){this._bindEvents()},t.prototype._bindEvents=function(){var t=this,e=this.canvas.get("el");Object(x.each)(Yi,function(n){e.addEventListener(n,t._eventCallback)}),document&&(document.addEventListener("mousemove",this._onDocumentMove),document.addEventListener("mouseup",this._onDocumentMouseUp))},t.prototype._clearEvents=function(){var t=this,e=this.canvas.get("el");Object(x.each)(Yi,function(n){e.removeEventListener(n,t._eventCallback)}),document&&(document.removeEventListener("mousemove",this._onDocumentMove),document.removeEventListener("mouseup",this._onDocumentMouseUp))},t.prototype._getEventObj=function(t,e,n,r,i,o){var a=new Xn(t,e);return a.fromShape=i,a.toShape=o,a.x=n.x,a.y=n.y,a.clientX=n.clientX,a.clientY=n.clientY,a.propagationPath.push(r),a},t.prototype._getShape=function(t,e){return this.canvas.getShape(t.x,t.y,e)},t.prototype._getPointInfo=function(t){var e=this.canvas,n=e.getClientByEvent(t),r=e.getPointByEvent(t);return{x:r.x,y:r.y,clientX:n.x,clientY:n.y}},t.prototype._triggerEvent=function(t,e){var n=this._getPointInfo(e),r=this._getShape(n,e),i=this["_on"+t],o=!1;if(i)i.call(this,n,r,e);else{var a=this.currentShape;"mouseenter"===t||"dragenter"===t||"mouseover"===t?(this._emitEvent(t,e,n,null,null,r),r&&this._emitEvent(t,e,n,r,null,r),"mouseenter"===t&&this.draggingShape&&this._emitEvent("dragenter",e,n,null)):"mouseleave"===t||"dragleave"===t||"mouseout"===t?(o=!0,a&&this._emitEvent(t,e,n,a,a,null),this._emitEvent(t,e,n,null,a,null),"mouseleave"===t&&this.draggingShape&&this._emitEvent("dragleave",e,n,null)):this._emitEvent(t,e,n,r,null,null)}if(o||(this.currentShape=r),r&&!r.get("destroyed")){var s=this.canvas;s.get("el").style.cursor=r.attr("cursor")||s.get("cursor")}},t.prototype._onmousedown=function(t,e,n){0===n.button&&(this.mousedownShape=e,this.mousedownPoint=t,this.mousedownTimeStamp=n.timeStamp),this._emitEvent("mousedown",n,t,e,null,null)},t.prototype._emitMouseoverEvents=function(t,e,n,r){var i=this.canvas.get("el");n!==r&&(n&&(this._emitEvent("mouseout",t,e,n,n,r),this._emitEvent("mouseleave",t,e,n,n,r),r&&!r.get("destroyed")||(i.style.cursor=this.canvas.get("cursor"))),r&&(this._emitEvent("mouseover",t,e,r,n,r),this._emitEvent("mouseenter",t,e,r,n,r)))},t.prototype._emitDragoverEvents=function(t,e,n,r,i){r?(r!==n&&(n&&this._emitEvent("dragleave",t,e,n,n,r),this._emitEvent("dragenter",t,e,r,n,r)),i||this._emitEvent("dragover",t,e,r)):n&&this._emitEvent("dragleave",t,e,n,n,r),i&&this._emitEvent("dragover",t,e,r)},t.prototype._afterDrag=function(t,e,n){t&&(t.set("capture",!0),this.draggingShape=null),this.dragging=!1;var r=this._getShape(e,n);r!==t&&this._emitMouseoverEvents(n,e,t,r),this.currentShape=r},t.prototype._onmouseup=function(t,e,n){if(0===n.button){var r=this.draggingShape;this.dragging?(r&&this._emitEvent("drop",n,t,e),this._emitEvent("dragend",n,t,r),this._afterDrag(r,t,n)):(this._emitEvent("mouseup",n,t,e),e===this.mousedownShape&&this._emitEvent("click",n,t,e),this.mousedownShape=null,this.mousedownPoint=null)}},t.prototype._ondragover=function(t,e,n){n.preventDefault();var r=this.currentShape;this._emitDragoverEvents(n,t,r,e,!0)},t.prototype._onmousemove=function(t,e,n){var r=this.canvas,i=this.currentShape,o=this.draggingShape;if(this.dragging)o&&this._emitDragoverEvents(n,t,i,e,!1),this._emitEvent("drag",n,t,o);else{var a=this.mousedownPoint;if(a){var s=this.mousedownShape,u=n.timeStamp-this.mousedownTimeStamp,c=a.clientX-t.clientX,l=a.clientY-t.clientY;u>120||c*c+l*l>40?s&&s.get("draggable")?((o=this.mousedownShape).set("capture",!1),this.draggingShape=o,this.dragging=!0,this._emitEvent("dragstart",n,t,o),this.mousedownShape=null,this.mousedownPoint=null):!s&&r.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",n,t,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e)):(this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e))}else this._emitMouseoverEvents(n,t,i,e),this._emitEvent("mousemove",n,t,e)}},t.prototype._emitEvent=function(t,e,n,r,i,o){var a=this._getEventObj(t,e,n,r,i,o);if(r){a.shape=r,Hi(r,t,a);for(var s=r.getParent();s;)s.emitDelegation(t,a),a.propagationStopped||qi(s,t,a),a.propagationPath.push(s),s=s.getParent()}else{Hi(this.canvas,t,a)}},t.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},t}(),Zi=Object(Qn.a)(),Qi=Zi&&"firefox"===Zi.name,Ji=function(t){function e(e){var n=t.call(this,e)||this;return n.initContainer(),n.initDom(),n.initEvents(),n.initTimeline(),n}return Object(b.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.cursor="default",e.supportCSSTransform=!1,e},e.prototype.initContainer=function(){var t=this.get("container");Object(x.isString)(t)&&(t=document.getElementById(t),this.set("container",t))},e.prototype.initDom=function(){var t=this.createDom();this.set("el",t),this.get("container").appendChild(t),this.setDOMSize(this.get("width"),this.get("height"))},e.prototype.initEvents=function(){var t=new Ki({canvas:this});t.init(),this.set("eventController",t)},e.prototype.initTimeline=function(){var t=new Xi(this);this.set("timeline",t)},e.prototype.setDOMSize=function(t,e){var n=this.get("el");Hn&&(n.style.width=t+"px",n.style.height=e+"px")},e.prototype.changeSize=function(t,e){this.setDOMSize(t,e),this.set("width",t),this.set("height",e),this.onCanvasChange("changeSize")},e.prototype.getRenderer=function(){return this.get("renderer")},e.prototype.getCursor=function(){return this.get("cursor")},e.prototype.setCursor=function(t){this.set("cursor",t);var e=this.get("el");Hn&&e&&(e.style.cursor=t)},e.prototype.getPointByEvent=function(t){if(this.get("supportCSSTransform")){if(Qi&&!Object(x.isNil)(t.layerX)&&t.layerX!==t.offsetX)return{x:t.layerX,y:t.layerY};if(!Object(x.isNil)(t.offsetX))return{x:t.offsetX,y:t.offsetY}}var e=this.getClientByEvent(t),n=e.x,r=e.y;return this.getPointByClient(n,r)},e.prototype.getClientByEvent=function(t){var e=t;return t.touches&&(e="touchend"===t.type?t.changedTouches[0]:t.touches[0]),{x:e.clientX,y:e.clientY}},e.prototype.getPointByClient=function(t,e){var n=this.get("el").getBoundingClientRect();return{x:t-n.left,y:e-n.top}},e.prototype.getClientByPoint=function(t,e){var n=this.get("el").getBoundingClientRect();return{x:t+n.left,y:e+n.top}},e.prototype.draw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.parentNode.removeChild(t)},e.prototype.clearEvents=function(){this.get("eventController").destroy()},e.prototype.isCanvas=function(){return!0},e.prototype.getParent=function(){return null},e.prototype.destroy=function(){var e=this.get("timeline");this.get("destroyed")||(this.clear(),e&&e.stop(),this.clearEvents(),this.removeDom(),t.prototype.destroy.call(this))},e}(sr),$i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(b.__extends)(e,t),e.prototype.isGroup=function(){return!0},e.prototype.isEntityGroup=function(){return!1},e.prototype.clone=function(){for(var e=t.prototype.clone.call(this),n=this.getChildren(),r=0;r=t&&n.minY<=e&&n.maxY>=e},e.prototype.afterAttrsChange=function(e){t.prototype.afterAttrsChange.call(this,e),this.clearCacheBBox()},e.prototype.getBBox=function(){var t=this.cfg.bbox;return t||(t=this.calculateBBox(),this.set("bbox",t)),t},e.prototype.getCanvasBBox=function(){var t=this.cfg.canvasBBox;return t||(t=this.calculateCanvasBBox(),this.set("canvasBBox",t)),t},e.prototype.applyMatrix=function(e){t.prototype.applyMatrix.call(this,e),this.set("canvasBBox",null)},e.prototype.calculateCanvasBBox=function(){var t=this.getBBox(),e=this.getTotalMatrix(),n=t.minX,r=t.minY,i=t.maxX,o=t.maxY;if(e){var a=$n(e,[t.minX,t.minY]),s=$n(e,[t.maxX,t.minY]),u=$n(e,[t.minX,t.maxY]),c=$n(e,[t.maxX,t.maxY]);n=Math.min(a[0],s[0],u[0],c[0]),i=Math.max(a[0],s[0],u[0],c[0]),r=Math.min(a[1],s[1],u[1],c[1]),o=Math.max(a[1],s[1],u[1],c[1])}var l=this.attrs;if(l.shadowColor){var f=l.shadowBlur,h=void 0===f?0:f,d=l.shadowOffsetX,p=void 0===d?0:d,g=l.shadowOffsetY,v=void 0===g?0:g,y=n-h+p,m=i+h+p,b=r-h+v,x=o+h+v;n=Math.min(n,y),i=Math.max(i,m),r=Math.min(r,b),o=Math.max(o,x)}return{x:n,y:r,minX:n,minY:r,maxX:i,maxY:o,width:i-n,height:o-r}},e.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},e.prototype.isClipShape=function(){return this.get("isClipShape")},e.prototype.isInShape=function(t,e){return!1},e.prototype.isOnlyHitBox=function(){return!1},e.prototype.isHit=function(t,e){var n=this.get("startArrowShape"),r=this.get("endArrowShape"),i=[t,e,1],o=(i=this.invertFromMatrix(i))[0],a=i[1],s=this._isInBBox(o,a);if(this.isOnlyHitBox())return s;if(s&&!this.isClipped(o,a)){if(this.isInShape(o,a))return!0;if(n&&n.isHit(o,a))return!0;if(r&&r.isHit(o,a))return!0}return!1},e}(ir),eo=new Map;function no(t,e){eo.set(t,e)}function ro(t){return eo.get(t)}var io=function(t){var e=t.attr();return{x:e.x,y:e.y,width:e.width,height:e.height}},oo=function(t){var e=t.attr(),n=e.x,r=e.y,i=e.r;return{x:n-i,y:r-i,width:2*i,height:2*i}};function ao(t){return Math.min.apply(null,t)}function so(t){return Math.max.apply(null,t)}function uo(t,e,n,r){var i=t-n,o=e-r;return Math.sqrt(i*i+o*o)}function co(t,e){return Math.abs(t-e)<.001}function lo(t,e){var n=ao(t),r=ao(e);return{x:n,y:r,width:so(t)-n,height:so(e)-r}}function fo(t,e,n,r){return{minX:ao([t,n]),maxX:so([t,n]),minY:ao([e,r]),maxY:so([e,r])}}function ho(t){return(t+2*Math.PI)%(2*Math.PI)}var po=n("ZxFD"),go={box:function(t,e,n,r){return lo([t,n],[e,r])},length:function(t,e,n,r){return uo(t,e,n,r)},pointAt:function(t,e,n,r,i){return{x:(1-i)*t+i*n,y:(1-i)*e+i*r}},pointDistance:function(t,e,n,r,i,o){var a=(n-t)*(i-t)+(r-e)*(o-e);return a<0?uo(t,e,i,o):a>(n-t)*(n-t)+(r-e)*(r-e)?uo(n,r,i,o):this.pointToLine(t,e,n,r,i,o)},pointToLine:function(t,e,n,r,i,o){var a=[n-t,r-e];if(po.exactEquals(a,[0,0]))return Math.sqrt((i-t)*(i-t)+(o-e)*(o-e));var s=[-a[1],a[0]];po.normalize(s,s);var u=[i-t,o-e];return Math.abs(po.dot(u,s))},tangentAngle:function(t,e,n,r){return Math.atan2(r-e,n-t)}},vo=1e-4;function yo(t,e,n,r,i,o){var a,s=1/0,u=[n,r],c=20;o&&o>200&&(c=o/10);for(var l=1/c,f=l/10,h=0;h<=c;h++){var d=h*l,p=[i.apply(null,t.concat([d])),i.apply(null,e.concat([d]))];(m=uo(u[0],u[1],p[0],p[1]))=0&&m=0?[i]:[]}function xo(t,e,n,r){return 2*(1-r)*(e-t)+2*r*(n-e)}function wo(t,e,n,r,i,o,a){var s=mo(t,n,i,a),u=mo(e,r,o,a),c=go.pointAt(t,e,n,r,a),l=go.pointAt(n,r,i,o,a);return[[t,e,c.x,c.y,s,u],[s,u,l.x,l.y,i,o]]}var _o={box:function(t,e,n,r,i,o){var a=bo(t,n,i)[0],s=bo(e,r,o)[0],u=[t,i],c=[e,o];return void 0!==a&&u.push(mo(t,n,i,a)),void 0!==s&&c.push(mo(e,r,o,s)),lo(u,c)},length:function(t,e,n,r,i,o){return function t(e,n,r,i,o,a,s){if(0===s)return(uo(e,n,r,i)+uo(r,i,o,a)+uo(e,n,o,a))/2;var u=wo(e,n,r,i,o,a,.5),c=u[0],l=u[1];return c.push(s-1),l.push(s-1),t.apply(null,c)+t.apply(null,l)}(t,e,n,r,i,o,3)},nearestPoint:function(t,e,n,r,i,o,a,s){return yo([t,n,i],[e,r,o],a,s,mo)},pointDistance:function(t,e,n,r,i,o,a,s){var u=this.nearestPoint(t,e,n,r,i,o,a,s);return uo(u.x,u.y,a,s)},interpolationAt:mo,pointAt:function(t,e,n,r,i,o,a){return{x:mo(t,n,i,a),y:mo(e,r,o,a)}},divide:function(t,e,n,r,i,o,a){return wo(t,e,n,r,i,o,a)},tangentAngle:function(t,e,n,r,i,o,a){var s=xo(t,n,i,a),u=xo(e,r,o,a);return ho(Math.atan2(u,s))}};function Eo(t,e,n,r,i){var o=1-i;return o*o*o*t+3*e*i*o*o+3*n*i*i*o+r*i*i*i}function So(t,e,n,r,i){var o=1-i;return 3*(o*o*(e-t)+2*o*i*(n-e)+i*i*(r-n))}function Mo(t,e,n,r){var i,o,a,s=-3*t+9*e-9*n+3*r,u=6*t-12*e+6*n,c=3*e-3*t,l=[];if(co(s,0))co(u,0)||(i=-c/u)>=0&&i<=1&&l.push(i);else{var f=u*u-4*s*c;co(f,0)?l.push(-u/(2*s)):f>0&&(o=(-u-(a=Math.sqrt(f)))/(2*s),(i=(-u+a)/(2*s))>=0&&i<=1&&l.push(i),o>=0&&o<=1&&l.push(o))}return l}function Oo(t,e,n,r,i,o,a,s,u){var c=Eo(t,n,i,a,u),l=Eo(e,r,o,s,u),f=go.pointAt(t,e,n,r,u),h=go.pointAt(n,r,i,o,u),d=go.pointAt(i,o,a,s,u),p=go.pointAt(f.x,f.y,h.x,h.y,u),g=go.pointAt(h.x,h.y,d.x,d.y,u);return[[t,e,f.x,f.y,p.x,p.y,c,l],[c,l,g.x,g.y,d.x,d.y,a,s]]}function ko(t,e,n,r,i,o,a,s,u){if(0===u)return function(t,e){for(var n=0,r=t.length,i=0;i0?n:-1*n}var Io=function(t,e,n,r,i,o){var a=n,s=r;if(0===a||0===s)return{x:t,y:e};for(var u,c,l=i-t,f=o-e,h=Math.abs(l),d=Math.abs(f),p=a*a,g=s*s,v=Math.PI/4,y=0;y<4;y++){u=a*Math.cos(v),c=s*Math.sin(v);var m=(p-g)*Math.pow(Math.cos(v),3)/a,b=(g-p)*Math.pow(Math.sin(v),3)/s,x=u-m,w=c-b,_=h-m,E=d-b,S=Math.hypot(w,x),M=Math.hypot(E,_);v+=S*Math.asin((x*E-w*_)/(S*M))/Math.sqrt(p+g-u*u-c*c),v=Math.min(Math.PI/2,Math.max(0,v))}return{x:t+Co(u,l),y:e+Co(c,f)}};function To(t,e,n,r,i,o){return n*Math.cos(i)*Math.cos(o)-r*Math.sin(i)*Math.sin(o)+t}function No(t,e,n,r,i,o){return n*Math.sin(i)*Math.cos(o)+r*Math.cos(i)*Math.sin(o)+e}function Po(t,e,n){return{x:t*Math.cos(n),y:e*Math.sin(n)}}function jo(t,e,n){var r=Math.cos(n),i=Math.sin(n);return[t*r-e*i,t*i+e*r]}var Do={box:function(t,e,n,r,i,o,a){for(var s=function(t,e,n){return Math.atan(-e/t*Math.tan(n))}(n,r,i),u=1/0,c=-1/0,l=[o,a],f=2*-Math.PI;f<=2*Math.PI;f+=Math.PI){var h=s+f;oc&&(c=d)}var p=function(t,e,n){return Math.atan(e/(t*Math.tan(n)))}(n,r,i),g=1/0,v=-1/0,y=[o,a];for(f=2*-Math.PI;f<=2*Math.PI;f+=Math.PI){var m=p+f;ov&&(v=b)}return{x:u,y:g,width:c-u,height:v-g}},length:function(t,e,n,r,i,o,a){},nearestPoint:function(t,e,n,r,i,o,a,s,u){var c=jo(s-t,u-e,-i),l=c[0],f=c[1],h=Io(0,0,n,r,l,f),d=function(t,e,n,r){return(Math.atan2(r*t,n*e)+2*Math.PI)%(2*Math.PI)}(n,r,h.x,h.y);da&&(h=Po(n,r,a));var p=jo(h.x,h.y,i);return{x:p[0]+t,y:p[1]+e}},pointDistance:function(t,e,n,r,i,o,a,s,u){var c=this.nearestPoint(t,e,n,r,s,u);return uo(c.x,c.y,s,u)},pointAt:function(t,e,n,r,i,o,a,s){var u=(a-o)*s+o;return{x:To(t,0,n,r,i,u),y:No(0,e,n,r,i,u)}},tangentAngle:function(t,e,n,r,i,o,a,s){var u=(a-o)*s+o,c=function(t,e,n,r,i,o,a,s){return-1*n*Math.cos(i)*Math.sin(s)-r*Math.sin(i)*Math.cos(s)}(0,0,n,r,i,0,0,u),l=function(t,e,n,r,i,o,a,s){return-1*n*Math.sin(i)*Math.sin(s)+r*Math.cos(i)*Math.cos(s)}(0,0,n,r,i,0,0,u);return ho(Math.atan2(l,c))}};function Lo(t){if(t.length<2)return 0;for(var e=0,n=0;n1?e*r+function(t,e){return e?e-t:.14*t}(e,n)*(r-1):e}function Wo(t){var e=t.fontSize,n=t.fontFamily,r=t.fontWeight;return[t.fontStyle,t.fontVariant,r,e+"px",n].join(" ").trim()}var Vo=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,Xo=/[^\s\,]+/gi;var Yo=function(t){var e=t||[];return Object(x.isArray)(e)?e:Object(x.isString)(e)?(e=e.match(Vo),Object(x.each)(e,function(t,n){if((t=t.match(Xo))[0].length>1){var r=t[0].charAt(0);t.splice(1,0,t[0].substr(1)),t[0]=r}Object(x.each)(t,function(e,n){isNaN(e)||(t[n]=+e)}),e[n]=t}),e):void 0};var Ho=function(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=[[0,0],[1,1]]);for(var r=!!e,i=[],o=0,a=t.length;o2&&(n.push([r].concat(o.splice(0,2))),a="l",r="m"===r?"l":"L"),"o"===a&&1===o.length&&n.push([r,o[0]]),"r"===a)n.push([r].concat(o));else for(;o.length>=e[a]&&(n.push([r].concat(o.splice(0,e[a]))),e[a]););return""}),n}var Jo=/[a-z]/;function $o(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}function ta(t){var e=Qo(t);if(!e||!e.length)return[["M",0,0]];for(var n=!1,r=0;r=0){n=!0;break}}if(!n)return e;var o=[],a=0,s=0,u=0,c=0,l=0,f=e[0];"M"!==f[0]&&"m"!==f[0]||(u=a=+f[1],c=s=+f[2],l++,o[0]=["M",a,s]);r=l;for(var h=e.length;r1&&(n*=Math.sqrt(d),r*=Math.sqrt(d));var p=n*n*(h*h)+r*r*(f*f),g=p?Math.sqrt((n*n*(r*r)-p)/p):1;o===a&&(g*=-1),isNaN(g)&&(g=0);var v=r?g*n*h/r:0,y=n?g*-r*f/n:0,m=(s+c)/2+Math.cos(i)*v-Math.sin(i)*y,b=(u+l)/2+Math.sin(i)*v+Math.cos(i)*y,w=[(f-v)/n,(h-y)/r],_=[(-1*f-v)/n,(-1*h-y)/r],E=ra([1,0],w),S=ra(w,_);return na(w,_)<=-1&&(S=Math.PI),na(w,_)>=1&&(S=0),0===a&&S>0&&(S-=2*Math.PI),1===a&&S<0&&(S+=2*Math.PI),{cx:m,cy:b,rx:ia(t,[c,l])?0:n,ry:ia(t,[c,l])?0:r,startAngle:E,endAngle:E+S,xRotation:i,arcFlag:o,sweepFlag:a}}function aa(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}function sa(t){for(var e=[],n=null,r=null,i=null,o=0,a=(t=Yo(t)).length,s=0;sMath.PI/2?Math.PI-c:c,l=l>Math.PI/2?Math.PI-l:l,{xExtra:Math.cos(u/2-c)*(e/2*(1/Math.sin(u/2)))-e/2||0,yExtra:Math.cos(l-u/2)*(e/2*(1/Math.sin(u/2)))-e/2||0}}no("rect",io),no("image",io),no("circle",oo),no("marker",oo),no("polyline",function(t){for(var e=t.attr().points,n=[],r=[],i=0;in&&(n=c),l>i&&(i=l)}return{x:Math.floor(e),y:Math.floor(r),width:Math.ceil(n)-Math.floor(e),height:Math.ceil(i)-Math.floor(r),minX:e,minY:r,maxX:n,maxY:i}},va=function(t,e,n,r,i){void 0===e&&(e=15),void 0===n&&(n="quadratic"),void 0===r&&(r=void 0),void 0===i&&(i=void 0);for(var o=t.length,a=2*e,s=["top","top-right","right","bottom-right","bottom","bottom-left","left","top-left"],u={},c=[],l={},f=0;fl&&(f=l),t.zoom(f,a)||console.warn("zoom failed, ratio out of range, ratio: %f",f)}},t.prototype.fitViewByRules=function(t){var e=t.onlyOutOfViewPort,n=void 0!==e&&e,r=t.direction,i=void 0===r?"both":r,o=t.ratioRule,a=void 0===o?"min":o,s=this.graph,u=this.getFormatPadding(),c=s.get("width"),l=s.get("height"),f=s.get("group");f.resetMatrix();var h=f.getCanvasBBox();if(0!==h.width&&0!==h.height){var d=this.getViewCenter(),p=h.x+h.width/2,g=h.y+h.height/2;s.translate(d.x-p,d.y-g);var v,y=(c-u[1]-u[3])/h.width,m=(l-u[0]-u[2])/h.height;v="x"===i?y:"y"===i?m:"max"===a?Math.max(y,m):Math.min(y,m),n&&(v=v<1?v:1);var b=s.getZoom()*v,x=s.get("minZoom");br.width&&(r.width=l.width+l.x),l.height+l.y>r.height&&(r.height=l.height+l.y)}}}return t.bbox=function(t,e,n){var r,i,o=t.attrs,a=void 0===o?{}:o,s={x:e.x||0,y:e.y||0,width:n.width||0,height:n.height||0};switch(t.type){case"maker":case"circle":a.r&&(i=2*a.r,r=2*a.r);break;case"text":a.text&&(i=on(a.text,a.fontSize||12)[0],r=16,s.y+=r,s.height=r,s.width=i,t.attrs=Object(b.__assign)({fontSize:12,fill:"#000"},a));break;default:a.width&&(i=a.width),a.height&&(r=a.height)}return r>=0&&(s.height=r),i>=0&&(s.width=i),a.marginTop&&(s.y+=a.marginTop),a.marginLeft&&(s.x+=a.marginLeft),s}(t,e,r),t.attrs=Object(b.__assign)(Object(b.__assign)({},t.attrs),t.bbox),t}function Ea(t){var e={},n=function(e){var n="function"==typeof t?t(e):t,r=wa(n)(e),i=document.createElement("div");i.innerHTML=r;var o=_a(function t(e,n){var r={},i=e.getAttributeNames&&e.getAttributeNames()||[],o=e.children&&Array.from(e.children).map(function(e){return t(e,n)}),a={},s=e.tagName?e.tagName.toLowerCase():"group";return"text"===s&&(r.text=e.innerText),a.type=s,"img"===s&&(a.type="image"),Array.from(i).forEach(function(t){var n=xa(t),i=e.getAttribute(t);try{if("style"===n||"attrs"===n){var o=ba(i);r=Object(b.__assign)(Object(b.__assign)({},r),o)}else a[n]=ba(i)}catch(t){if("style"===n)throw t;a[n]=i}}),a.attrs=r,n&&n.style&&a.name&&"object"===ma(n.style[a.name])&&(a.attrs=Object(b.__assign)(Object(b.__assign)({},a.attrs),n.style[a.name])),n&&n.style&&a.keyshape&&(a.attrs=Object(b.__assign)(Object(b.__assign)({},a.attrs),n.style)),o.length&&(a.children=o),a}(i.children[0],e));return i.remove(),o};return{draw:function(t,r){var i=n(t),o=r;return function t(e){var n=e.attrs,i=void 0===n?{}:n,a=e.bbox,s=e.type,u=e.children,c=Object(b.__rest)(e,["attrs","bbox","type","children"]);if("group"!==e.type){var l=r.addShape(e.type,Object(b.__assign)({attrs:i,origin:{bbox:a,type:s,children:u}},c));e.keyshape&&(o=l)}e.children&&e.children.forEach(function(e){return t(e)})}(i),e[t.id]=[i],o},update:function(t,r){e[t.id]||(e[t.id]=[]);var i=r.getContainer(),o=i.get("children"),a=n(t),s=function t(e){var n;"group"!==e.type&&i.addShape(e.type,{attrs:e.attrs}),(null===(n=e.children)||void 0===n?void 0:n.length)&&e.children.map(function(e){return t(e)})},u=function t(e){var n,r=o.find(function(t){return t.attrs.key===e.attrs.key});r&&i.removeChild(r),(null===(n=e.children)||void 0===n?void 0:n.length)&&e.children.map(function(e){return t(e)})};!function t(e){var n=e.key;if("group"!==e.type){var i=o.find(function(t){return t.attrs.key===n});switch(e.action){case"change":if(i){var a=e.val.keyshape?r.getOriginStyle():{};i.attr(Object(b.__assign)(Object(b.__assign)({},a),e.val.attrs))}break;case"add":s(e.val);break;case"delete":u(e.val);break;case"restructure":u(e.formerTarget),s(e.nowTarget)}}e.children&&e.children.forEach(function(e){return t(e)})}(function t(e,n){var r,i,o,a,s=(e||{}).type,u=((null===n||void 0===n?void 0:n.attrs)||{}).key;if(u&&e&&(e.attrs.key=u),!e&&n)return{action:"delete",val:n,type:s,key:u};if(e&&!n)return{action:"add",val:e,type:s};if(!e&&!n)return{action:"same",type:s};var c=[];if((null===(r=e.children)||void 0===r?void 0:r.length)>0||(null===(i=n.children)||void 0===i?void 0:i.length)>0)for(var l=Math.max(null===(o=e.children)||void 0===o?void 0:o.length,null===(a=n.children)||void 0===a?void 0:a.length),f=n.children||[],h=e.children||[],d=0;d-1)return;n.push(i)}else s>-1&&n.splice(s,1)}else if(Object(x.isString)(e)){var u=n.filter(function(t){return t.includes(o)});u.length>0&&this.clearStates(u),(a=a.filter(function(t){return!t.includes(o)})).push(i),this.set("states",a)}if(r){var c=this.get("model").type;r.setState(c,t,e,this)}},t.prototype.clearStates=function(t){var e=this,n=e.getStates(),r=e.get("shapeFactory"),i=e.get("model").type;t||(t=n),Object(x.isString)(t)&&(t=[t]);var o=n.filter(function(e){return-1===t.indexOf(e)});e.set("states",o),t.forEach(function(t){r.setState(i,t,!1,e)})},t.prototype.getContainer=function(){return this.get("group")},t.prototype.getKeyShape=function(){return this.get("keyShape")},t.prototype.getModel=function(){return this.get("model")},t.prototype.getType=function(){return this.get("type")},t.prototype.getID=function(){return this.get("id")},t.prototype.isItem=function(){return!0},t.prototype.getStates=function(){return this.get("states")},t.prototype.hasState=function(t){return this.getStates().indexOf(t)>=0},t.prototype.refresh=function(t){var e=this.get("model");this.updatePosition(e),this.updateShape(t),this.afterUpdate(),this.clearCache()},t.prototype.getUpdateType=function(t){},t.prototype.update=function(t,e){void 0===e&&(e=void 0);var n=this.get("model");if("move"===e)this.updatePosition(t);else{var r=n.visible,i=t.visible;r!==i&&void 0!==i&&this.changeVisibility(i);var o={x:n.x,y:n.y};t.x=isNaN(+t.x)?n.x:+t.x,t.y=isNaN(+t.y)?n.y:+t.y;var a=this.get("styles");if(t.stateStyles){var s=t.stateStyles;Object(x.mix)(a,s),delete t.stateStyles}Object.assign(n,t),o.x===t.x&&o.y===t.y||this.updatePosition(t),this.updateShape(e)}this.afterUpdate(),this.clearCache()},t.prototype.updateShape=function(t){var e=this.get("shapeFactory"),n=this.get("model"),r=n.type;if(e.shouldUpdate(r)&&r===this.get("currentShape")){var i=this.getShapeCfg(n,t);e.baseUpdate(r,i,this,t),"move"!==t&&this.setOriginStyle()}else this.draw();this.restoreStates(e,r)},t.prototype.updatePosition=function(t){var e=this.get("model"),n=isNaN(+t.x)?+e.x:+t.x,r=isNaN(+t.y)?+e.y:+t.y,i=this.get("group");if(isNaN(n)||isNaN(r))return!1;e.x=n,e.y=r;var o=i.getMatrix();return(!o||o[6]!==n||o[7]!==r)&&(i.resetMatrix(),pe(i,{x:n,y:r}),this.clearCache(),!0)},t.prototype.getBBox=function(){var t=this.get("bboxCache");return t||(t=this.calculateBBox(),this.set("bboxCache",t)),t},t.prototype.getCanvasBBox=function(){var t=this.get("bboxCanvasCache");return t||(t=this.calculateCanvasBBox(),this.set("bboxCanvasCache",t)),t},t.prototype.toFront=function(){this.get("group").toFront()},t.prototype.toBack=function(){this.get("group").toBack()},t.prototype.show=function(){this.changeVisibility(!0)},t.prototype.hide=function(){this.changeVisibility(!1)},t.prototype.changeVisibility=function(t){var e=this.get("group");t?e.show():e.hide(),this.set("visible",t)},t.prototype.isVisible=function(){return this.get("visible")},t.prototype.enableCapture=function(t){var e=this.get("group");e&&e.set("capture",t)},t.prototype.destroy=function(){if(!this.destroyed){var t=this.get("animate"),e=this.get("group");t&&e.stopAnimate(),e.shapeMap={},this.clearCache(),e.remove(),this._cfg=null,this.destroyed=!0}},t}(),Ta={source:"start",target:"end"},Na=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(b.__extends)(e,t),e.prototype.getDefaultCfg=function(){return{type:"edge",sourceNode:null,targetNode:null,startPoint:null,endPoint:null,linkCenter:!1}},e.prototype.setEnd=function(t,e){var n=Ta[t]+"Point",r=t+"Node",i=this.get(r);i&&!i.destroyed&&i.removeEdge(this),Object(x.isPlainObject)(e)?(this.set(n,e),this.set(r,null)):e&&(e.addEdge(this),this.set(r,e),this.set(n,null))},e.prototype.getLinkPoint=function(t,e,n){var r=Ta[t]+"Point",i=t+"Node",o=this.get(r);if(!o){var a=this.get(i),s=t+"Anchor",u=this.getPrePoint(t,n),c=e[s];Object(x.isNil)(c)||(o=a.getLinkPointByAnchor(c)),o=o||a.getLinkPoint(u),Object(x.isNil)(o.index)||this.set("".concat(t,"AnchorIndex"),o.index)}return o},e.prototype.getPrePoint=function(t,e){if(e&&e.length)return e["source"===t?0:e.length-1];var n="source"===t?"target":"source";return this.getEndPoint(n)},e.prototype.getEndPoint=function(t){var e=t+"Node",n=Ta[t]+"Point",r=this.get(e);return r?r.get("model"):this.get(n)},e.prototype.getControlPointsByCenter=function(t){var e=this.getEndPoint("source"),n=this.getEndPoint("target"),r=this.get("shapeFactory"),i=t.type;return r.getControlPoints(i,{startPoint:e,endPoint:n})},e.prototype.getEndCenter=function(t){var e=t+"Node",n=Ta[t]+"Point",r=this.get(e);if(r){var i=r.getBBox();return{x:i.centerX,y:i.centerY}}return this.get(n)},e.prototype.init=function(){t.prototype.init.call(this),this.setSource(this.get("source")),this.setTarget(this.get("target"))},e.prototype.getShapeCfg=function(e,n){var r=this.get("linkCenter"),i=(null===n||void 0===n?void 0:n.includes("move"))?e:t.prototype.getShapeCfg.call(this,e);if(r)i.startPoint=this.getEndCenter("source"),i.endPoint=this.getEndCenter("target");else{var o=i.controlPoints||this.getControlPointsByCenter(i);i.startPoint=this.getLinkPoint("source",e,o),i.endPoint=this.getLinkPoint("target",e,o)}return i.sourceNode=this.get("sourceNode"),i.targetNode=this.get("targetNode"),i},e.prototype.getModel=function(){var t=this.get("model"),e=this.get("source".concat("Node")),n=this.get("target".concat("Node"));return e?delete t["source".concat("Node")]:t.source=this.get("start".concat("Point")),n?delete t["target".concat("Node")]:t.target=this.get("end".concat("Point")),Object(x.isString)(t.source)||Object(x.isPlainObject)(t.source)||(t.source=t.source.getID()),Object(x.isString)(t.target)||Object(x.isPlainObject)(t.target)||(t.target=t.target.getID()),t},e.prototype.setSource=function(t){this.setEnd("source",t),this.set("source",t)},e.prototype.setTarget=function(t){this.setEnd("target",t),this.set("target",t)},e.prototype.getSource=function(){return this.get("source")},e.prototype.getTarget=function(){return this.get("target")},e.prototype.updatePosition=function(){return!1},e.prototype.update=function(t,e){void 0===e&&(e=void 0);var n=this.get("model"),r=n.visible,i=t.visible;r!==i&&void 0!==i&&this.changeVisibility(i);var o=this.get("styles");if(t.stateStyles){var a=t.stateStyles;Object(x.mix)(o,a),delete t.stateStyles}Object.assign(n,t),this.updateShape(e),this.afterUpdate(),this.clearCache()},e.prototype.destroy=function(){var e=this.get("source".concat("Node")),n=this.get("target".concat("Node"));e&&!e.destroyed&&e.removeEdge(this),n&&!n.destroyed&&n.removeEdge(this),t.prototype.destroy.call(this)},e}(Ia),Pa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(b.__extends)(e,t),e.prototype.getNearestPoint=function(t,e){for(var n=0,r=t[0],i=le(t[0],e),o=0;o-1&&e.splice(n,1)},e.prototype.clearCache=function(){this.set("bboxCache",null),this.set("anchorPointsCache",null)},e.prototype.getUpdateType=function(t){var e,n,r,i,o;if(t){var a=!Object(x.isNil)(t.x),s=!Object(x.isNil)(t.y),u=Object.keys(t);return 1===u.length&&(a||s)||2===u.length&&a&&s?"move":Object(x.isNumber)(t.x)||Object(x.isNumber)(t.y)||t.type||t.anchorPoints||t.size||(null===t||void 0===t?void 0:t.style)&&((null===(e=null===t||void 0===t?void 0:t.style)||void 0===e?void 0:e.r)||(null===(n=null===t||void 0===t?void 0:t.style)||void 0===n?void 0:n.width)||(null===(r=null===t||void 0===t?void 0:t.style)||void 0===r?void 0:r.height)||(null===(i=null===t||void 0===t?void 0:t.style)||void 0===i?void 0:i.rx)||(null===(o=null===t||void 0===t?void 0:t.style)||void 0===o?void 0:o.ry))?"bbox|label":u.includes("label")||u.includes("labelCfg")?"style|label":"style"}},e}(Ia),ja=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(b.__extends)(e,t),e.prototype.getDefaultCfg=function(){return{type:"combo",nodes:[],edges:[],combos:[]}},e.prototype.getShapeCfg=function(t){var e=this.get("styles"),n=this.get("bbox");if(e&&n){var r=t,i={r:Math.hypot(n.height,n.width)/2||Ve.defaultCombo.size[0]/2,width:n.width||Ve.defaultCombo.size[0],height:n.height||Ve.defaultCombo.size[1]};r.style=Object(b.__assign)(Object(b.__assign)(Object(b.__assign)({},e),t.style),i);var o=t.padding||Ve.defaultCombo.padding;return Object(x.isNumber)(o)?(i.r+=o,i.width+=2*o,i.height+=2*o):(i.r+=o[0],i.width+=o[1]+o[3]||2*o[1],i.height+=o[0]+o[2]||2*o[0]),this.set("sizeCache",i),r}return t},e.prototype.calculateCanvasBBox=function(){if(!this.destroyed){var t=this.get("keyShape"),e=this.get("group"),n=Qe(t,e);n.centerX=(n.minX+n.maxX)/2,n.centerY=(n.minY+n.maxY)/2;var r=this.get("sizeCache"),i=this.get("bboxCache")||{},o=i.x,a=i.x;if(r)r.width=Math.max(r.width,n.width),r.height=Math.max(r.height,n.height),"circle"===t.get("type")?(n.width=2*r.r,n.height=2*r.r):(n.width=r.width,n.height=r.height),n.minX=n.centerX-n.width/2,n.minY=n.centerY-n.height/2,n.maxX=n.centerX+n.width/2,n.maxY=n.centerY+n.height/2;else n.width=n.maxX-n.minX,n.height=n.maxY-n.minY,n.centerX=(n.minX+n.maxX)/2,n.centerY=(n.minY+n.maxY)/2;return n.x=n.minX,n.y=n.minY,n.x===o&&n.y===a||this.set("anchorPointsCache",null),n}},e.prototype.getChildren=function(){return{nodes:this.getNodes(),combos:this.getCombos()}},e.prototype.getNodes=function(){return this.get("nodes")},e.prototype.getCombos=function(){return this.get("combos")},e.prototype.addChild=function(t){switch(t.getType()){case"node":this.addNode(t);break;case"combo":this.addCombo(t);break;default:return console.warn("Only node or combo items are allowed to be added into a combo"),!1}return!0},e.prototype.addCombo=function(t){return this.get("combos").push(t),!0},e.prototype.addNode=function(t){return this.get("nodes").push(t),!0},e.prototype.removeChild=function(t){switch(t.getType()){case"node":this.removeNode(t);break;case"combo":this.removeCombo(t);break;default:return console.warn("Only node or combo items are allowed to be added into a combo"),!1}return!0},e.prototype.removeCombo=function(t){if(t){var e=this.getCombos(),n=e.indexOf(t);return n>-1&&(e.splice(n,1),!0)}},e.prototype.removeNode=function(t){if(t){var e=this.getNodes(),n=e.indexOf(t);return n>-1&&(e.splice(n,1),!0)}},e.prototype.getUpdateType=function(t){},e.prototype.getBBox=function(){return this.set("bboxCanvasCache",null),this.calculateCanvasBBox()},e.prototype.clearCache=function(){this.set("bboxCache",null),this.set("bboxCanvasCache",null),this.set("anchorPointsCache",null)},e.prototype.destroy=function(){if(!this.destroyed){var t=this.get("animate"),e=this.get("group");t&&e.stopAnimate(),e.shapeMap={},this.clearCache(),this.set("sizeCache",null),this.set("bbox",null),e.remove(),this._cfg=null,this.destroyed=!0}},e}(Pa),Da=function(){function t(t){var e=this;this.edgeToBeUpdateMap={},this.throttleRefresh=Object(x.throttle)(function(t){var n,r=e.graph;if(r&&!r.get("destroyed")){var i=e.edgeToBeUpdateMap;i&&(null===(n=Object.keys(i))||void 0===n?void 0:n.length)&&(Object.keys(i).forEach(function(t){var e=i[t].edge;if(e&&!e.destroyed){var n=e.getSource(),r=e.getTarget();n&&!n.destroyed&&r&&!r.destroyed&&e.refresh(i[t].updateType)}}),e.edgeToBeUpdateMap={})}},16,{trailing:!0,leading:!0}),this.graph=t,this.destroyed=!1}return t.prototype.addItem=function(t,e){var n=this.graph,r="vedge"===t?"edge":t,i=n.get("".concat(r,"Group"))||n.get("group"),o=Object(x.upperFirst)(r),a=null,s=n.get(r+Object(x.upperFirst)("stateStyles"))||{},u=n.get("default"+o);e.stateStyles&&(s=e.stateStyles),u&&Object(x.each)(u,function(t,n){Object(x.isObject)(t)&&!Object(x.isArray)(t)?e[n]=Object(x.deepMix)({},t,e[n]):Object(x.isArray)(t)?e[n]=e[n]||Object(x.clone)(u[n]):e[n]=e[n]||u[n]});var c=n.get(r+"Mapper");if(c){var l=c(e);l.stateStyles&&(s=l.stateStyles,delete l.stateStyles),Object(x.each)(l,function(t,n){Object(x.isObject)(t)&&!Object(x.isArray)(t)?e[n]=Object(x.deepMix)({},e[n],t):e[n]=l[n]||e[n]})}if(n.emit("beforeadditem",{type:t,model:e}),"edge"===t||"vedge"===t){var f=void 0,h=void 0;if(f=e.source,h=e.target,f&&Object(x.isString)(f)&&(f=n.findById(f)),h&&Object(x.isString)(h)&&(h=n.findById(h)),!f||!h)return void console.warn("The source or target node of edge ".concat(e.id," does not exist!"));f.getType&&"combo"===f.getType()&&(e.isComboEdge=!0),h.getType&&"combo"===h.getType()&&(e.isComboEdge=!0),a=new Na({model:e,source:f,target:h,styles:s,linkCenter:n.get("linkCenter"),group:i.addGroup()})}else if("node"===t)a=new Pa({model:e,styles:s,group:i.addGroup()});else if("combo"===t){var d=e.children,p=un(d,n),g=void 0,v=void 0;if(isNaN(p.x)?isNaN(e.x)&&(g=100*Math.random()):g=p.x,isNaN(p.y)?isNaN(e.y)&&(v=100*Math.random()):v=p.y,isNaN(e.x)||isNaN(e.y))e.x=g,e.y=v;else{var y=e.x-g,m=e.y-v;this.updateComboSucceeds(e.id,y,m,d)}var b=i.addGroup();b.setZIndex(e.depth);var w=(a=new ja({model:e,styles:s,bbox:e.collapsed?un([],n):p,group:b})).getModel();(d||[]).forEach(function(t){var e=n.findById(t.id);a.addChild(e),t.depth=w.depth+2}),e.collapsed&&setTimeout(function(){a.destroyed||(n.collapseCombo(a),n.updateCombo(a))},0)}if(a)return n.get("".concat(t,"s")).push(a),n.get("itemMap")[a.get("id")]=a,n.emit("afteradditem",{item:a,model:e}),a},t.prototype.updateItem=function(t,e){var n,r,i=this,o=this.graph;if(Object(x.isString)(t)&&(t=o.findById(t)),t&&!t.destroyed){var a="";t.getType&&(a=t.getType());var s=o.get(a+"Mapper"),u=t.getModel(),c=u.x,l=u.y,f=t.getUpdateType(e);if(s){var h=s(Object(x.deepMix)({},u,e)),d=Object(x.deepMix)({},u,h,e);h.stateStyles&&(t.set("styles",d.stateStyles),delete d.stateStyles),Object(x.each)(d,function(t,n){e[n]=t})}else Object(x.each)(e,function(t,n){u[n]&&Object(x.isObject)(t)&&!Object(x.isArray)(t)&&(e[n]=Object(b.__assign)(Object(b.__assign)({},u[n]),e[n]))});if(o.emit("beforeupdateitem",{item:t,cfg:e}),"edge"===a){if(e.source){var p=e.source;Object(x.isString)(p)&&(p=o.findById(p)),t.setSource(p)}if(e.target){var g=e.target;Object(x.isString)(g)&&(g=o.findById(g)),t.setTarget(g)}t.update(e)}else if("node"===a){t.update(e,f);var v=t.getEdges(),y=(null===f||void 0===f?void 0:f.includes("bbox"))||"move"===f;"move"===f?Object(x.each)(v,function(t){i.edgeToBeUpdateMap[t.getID()]={edge:t,updateType:f},i.throttleRefresh()}):y&&Object(x.each)(v,function(t){t.refresh(f)})}else if("combo"===a){if(t.update(e,f),!isNaN(e.x)||!isNaN(e.y)){var m=e.x-c||0,w=e.y-l||0;this.updateComboSucceeds(u.id,m,w)}var _=t.getEdges();if((y=(null===f||void 0===f?void 0:f.includes("bbox"))||"move"===f)&&"combo"===a){var E=t.get("shapeFactory"),S=u.type||"circle";(void 0===u.animate||void 0===e.animate?null===(r=null===(n=E[S])||void 0===n?void 0:n.options)||void 0===r?void 0:r.animate:u.animate||e.animate)?setTimeout(function(){if(t&&!t.destroyed){var e=t.getKeyShape();e&&!e.destroyed&&Object(x.each)(_,function(t){t&&!t.destroyed&&t.refresh()})}},201):Object(x.each)(_,function(t){t.refresh()})}}o.emit("afterupdateitem",{item:t,cfg:e})}},t.prototype.updateCombo=function(t,e,n){var r,i,o=this,a=this.graph;if(Object(x.isString)(t)&&(t=a.findById(t)),t&&!t.destroyed){var s=t.getModel(),u=un(e,a,t),c=u.x,l=u.y;t.set("bbox",u);var f=c,h=l;n?(f=isNaN(s.x)?c:s.x,h=isNaN(s.y)?l:s.y):(f=isNaN(c)?s.x:c,h=isNaN(l)?s.y:l),t.update({x:f,y:h});var d=t.get("shapeFactory"),p=s.type||"circle";(void 0===s.animate?null===(i=null===(r=d[p])||void 0===r?void 0:r.options)||void 0===i?void 0:i.animate:s.animate)?setTimeout(function(){if(t&&!t.destroyed){var e=t.getKeyShape();e&&!e.destroyed&&(t.getShapeCfg(s),o.updateComboEdges(t))}},201):this.updateComboEdges(t)}},t.prototype.updateComboEdges=function(t){for(var e=t.getEdges()||[],n=0;n-1&&o.splice(a,1),"edge"===i){var s=n.get("v".concat(i,"s")),u=s.indexOf(t);u>-1&&s.splice(u,1)}var c=t.get("id");delete n.get("itemMap")[c];var l=n.get("comboTrees"),f=t.get("id");if("node"===i){var h=t.getModel().comboId;if(l&&h){var d=l,p=!1;l.forEach(function(t){p||en(t,function(t){if(t.id===f&&d){var e=d.indexOf(t);return d.splice(e,1),p=!0,!1}return d=t.children,!0})})}for(var g=(b=t.getEdges()).length-1;g>=0;g--)n.removeItem(b[g],!1);h&&n.updateCombo(h)}else if("combo"===i){var v,y=t.getModel().parentId,m=!1;(l||[]).forEach(function(t){m||en(t,function(t){return t.id!==f||(v=t,m=!0,!1)})}),v.removed=!0,v&&v.children&&v.children.forEach(function(t){e.removeItem(t.id)});var b;for(g=(b=t.getEdges()).length;g>=0;g--)n.removeItem(b[g],!1);y&&n.updateCombo(y)}t.destroy(),n.emit("afterremoveitem",{item:r,type:i})}},t.prototype.setItemState=function(t,e,n){var r=this.graph,i=e;Object(x.isString)(n)&&(i="".concat(e,":").concat(n)),t.hasState(i)===n&&n||Object(x.isString)(n)&&t.hasState(i)||(r.emit("beforeitemstatechange",{item:t,state:i,enabled:n}),t.setState(e,n),r.autoPaint(),r.emit("afteritemstatechange",{item:t,state:i,enabled:n}))},t.prototype.priorityState=function(t,e){var n=this.graph,r=t;Object(x.isString)(t)&&(r=n.findById(t)),this.setItemState(r,e,!1),this.setItemState(r,e,!0)},t.prototype.clearItemStates=function(t,e){var n=this.graph;Object(x.isString)(t)&&(t=n.findById(t)),n.emit("beforeitemstatesclear",{item:t,states:e}),t.clearStates(e),n.emit("afteritemstatesclear",{item:t,states:e})},t.prototype.refreshItem=function(t){var e=this.graph;Object(x.isString)(t)&&(t=e.findById(t)),e.emit("beforeitemrefresh",{item:t}),t.refresh(),e.emit("afteritemrefresh",{item:t})},t.prototype.addCombos=function(t,e){var n=this,r=this.graph;(t||[]).forEach(function(t){nn(t,function(t){var r;return e.forEach(function(e){e.id===t.id&&(e.children=t.children,e.depth=t.depth,r=e)}),r&&n.addItem("combo",r),!0})});var i=r.get("comboGroup");i&&i.sort()},t.prototype.changeItemVisibility=function(t,e){var n=this,r=this.graph;if(Object(x.isString)(t)&&(t=r.findById(t)),t){if(r.emit("beforeitemvisibilitychange",{item:t,visible:e}),t.changeVisibility(e),t.getType&&"node"===t.getType()){var i=t.getEdges();Object(x.each)(i,function(t){(!e||t.get("source").isVisible()&&t.get("target").isVisible())&&n.changeItemVisibility(t,e)})}else if(t.getType&&"combo"===t.getType()){var o=r.get("comboTrees"),a=t.get("id"),s=[],u=!1;(o||[]).forEach(function(t){u||t.children&&0!==t.children.length&&en(t,function(t){return t.id!==a||(s=t.children,u=!0,!1)})}),s&&(!e||e&&!t.getModel().collapsed)&&s.forEach(function(t){var i=r.findById(t.id);n.changeItemVisibility(i,e)});i=t.getEdges();Object(x.each)(i,function(t){(!e||t.get("source").isVisible()&&t.get("target").isVisible())&&n.changeItemVisibility(t,e)})}return r.emit("afteritemvisibilitychange",{item:t,visible:e}),t}console.warn("The item to be shown or hidden does not exist!")},t.prototype.destroy=function(){this.graph=null,this.destroyed=!0},t}(),La=null,Ra=function(){function t(t){this.graph=t,this.cachedStates={enabled:{},disabled:{}},this.destroyed=!1}return t.checkCache=function(t,e,n){if(n[e]){var r=n[e].indexOf(t);r>=0&&n[e].splice(r,1)}},t.cacheState=function(t,e,n){n[e]||(n[e]=[]),n[e].push(t)},t.prototype.updateState=function(e,n,r){var i=this,o=t.checkCache,a=t.cacheState;if(!e.destroyed){var s=this.cachedStates,u=s.enabled,c=s.disabled;r?(o(e,n,c),a(e,n,u)):(o(e,n,u),a(e,n,c)),La&&clearTimeout(La),La=setTimeout(function(){La=null,i.updateGraphStates()},16)}},t.prototype.updateStates=function(t,e,n){var r=this;Object(x.isString)(e)?this.updateState(t,e,n):e.forEach(function(e){r.updateState(t,e,n)})},t.prototype.updateGraphStates=function(){var t=this.graph.get("states"),e=this.cachedStates;Object(x.each)(e.disabled,function(e,n){t[n]&&(t[n]=t[n].filter(function(t){return e.indexOf(t)<0&&!e.destroyed}))}),Object(x.each)(e.enabled,function(e,n){if(t[n]){var r={};t[n].forEach(function(t){t.destroyed||(r[t.get("id")]=!0)}),e.forEach(function(e){if(!e.destroyed){var i=e.get("id");r[i]||(r[i]=!0,t[n].push(e))}})}else t[n]=e}),this.graph.emit("graphstatechange",{states:t}),this.cachedStates={enabled:{},disabled:{}}},t.prototype.destroy=function(){this.graph=null,this.cachedStates=null,La&&clearTimeout(La),La=null,this.destroyed=!0},t}(),Ba=function(t,e){return t&&e?t.replace(/\\?\{([^{}]+)\}/g,function(t,n){if("\\"===t.charAt(0))return t.slice(1);var r=e[n];return 0===r&&(r="0"),r||""}):t},Ga=function(t){var e=[];if(t.length<2)throw new Error("point length must largn than 2, now it's ".concat(t.length));for(var n=0,r=t;n0?i-1:n-1,a=M.d.normalize([0,0],M.d.add([0,0],r[o].v,M.d.scale([0,0],r[i].v,-1)));r[i].p=M.d.add([0,0],r[i].p,M.d.scale([0,0],a,e))}return r.map(function(t){var e=t.p;return{x:e[0],y:e[1]}})}var Ka=function(t,e,n){return(t.y-n.y)*(e.x-n.x)-(t.x-n.x)*(e.y-n.y)},Za=function(t){var e=t.map(function(t){return{x:t.getModel().x,y:t.getModel().y}});if(e.sort(function(t,e){return t.x===e.x?t.y-e.y:t.x-e.x}),1===e.length)return e;for(var n=[],r=0;r=2&&Ka(n[n.length-2],n[n.length-1],e[r])<=0;)n.pop();n.push(e[r])}var i=[];for(r=e.length-1;r>=0;r--){for(;i.length>=2&&Ka(i[i.length-2],i[i.length-1],e[r])<=0;)i.pop();i.push(e[r])}return i.pop(),n.pop(),n.concat(i)},Qa={maxRoutingIterations:100,maxMarchingIterations:100,pixelGroupSize:2,edgeR0:10,edgeR1:10,nodeR0:5,nodeR1:10,morphBuffer:5,threshold:.001,skip:16,nodeInfluenceFactor:1,edgeInfluenceFactor:1,negativeNodeInfluenceFactor:-.5};function Ja(t,e,n){var r=!1,i=function(t,n){return e.cells[t+n*e.width]},o=function(t,e){var r=0;return i(t-1,e-1)>=n&&(r+=1),i(t,e-1)>n&&(r+=2),i(t-1,e)>n&&(r+=4),i(t,e)>n&&(r+=8),r},a=function(n,r){for(var i,a,s=n,u=r,c=0;c-1){if(t[0].x===s&&t[0].y===u)return!0}else t.push({x:s,y:u});var l=o(s,u);switch(l){case-1:return console.warn("Marched out of bounds"),!0;case 0:case 3:case 2:case 7:s++;break;case 12:case 14:case 4:s--;break;case 6:0===i&&(-1===a?s-=1:s+=1);break;case 1:case 13:case 5:u--;break;case 9:1===i&&(0===a?u-=1:u+=1);break;case 10:case 8:case 11:u++;break;default:return console.warn("Marching squares invalid state: ".concat(l)),!0}}};this.march=function(){for(var t=0;tn&&15!==o(t,s)&&(r=a(t,s));return r}}var $a=function(t,e,n){var r=null,i=Number.POSITIVE_INFINITY;return e.forEach(function(e){var o={x:t.getModel().x,y:t.getModel().y},a={x:e.getModel().x,y:e.getModel().y},s=Ce(o,a),u=new Ee(o.x,o.y,a.x,a.y),c=n.reduce(function(t,e){return ke(e,u)>0?t+1:t},0);s*Math.pow(c+1,2)=0&&i=1;)h=is(n,l/=1.5,f,s),d=u(h,o)||u(h,i),p=c(h,e);!h||d||s&&p||(o.push(new Ee(t.x1,t.y1,h.x,h.y)),o.push(new Ee(h.x,h.y,t.x2,t.y2)),a=!0)};h(!0),a||h(!1)}}a||i.push(t),s+=1};!a&&o.length;)l()}for(;o.length;)i.push(o.pop());return i};var ns=function(t,e,n){var r=Object.assign(Qa,n),i=Ae(t.map(function(t){return{x:t.getModel().x,y:t.getModel().y}})),o=[],a=[];(t=t.sort(function(t,e){return Ce({x:t.getModel().x,y:t.getModel().y},i)-Ce({x:e.getModel().x,y:e.getModel().y},i)})).forEach(function(t){(function(t,e,n,r,i){var o=$a(t,n,e);if(null===o)return[];var a=new Ee(t.getModel().x,t.getModel().y,o.getModel().x,o.getModel().y);return function(t){for(var n=[];t.length>0;){var r=t.pop();if(0===t.length){n.push(r);break}var i=t.pop(),o=new Ee(r.x1,r.y1,i.x2,i.y2);ts(e,o)?(n.push(r),t.push(i)):t.push(o)}return n}(es(a,e,r,i))})(t,e,o,r.maxRoutingIterations,r.morphBuffer).forEach(function(t){a.push(t)}),o.push(t)});for(var s=function(t,e,n){var r={minX:Number.POSITIVE_INFINITY,minY:Number.POSITIVE_INFINITY,maxX:Number.NEGATIVE_INFINITY,maxY:Number.NEGATIVE_INFINITY,width:0,height:0,x:0,y:0},i=[];t.forEach(function(t){i.push(t.getBBox())}),e.forEach(function(t){i.push(t.getBBox())});for(var o=0,a=i;or.maxX?s.maxX:r.maxX)+n,r.maxY=(s.maxY>r.maxY?s.maxY:r.maxY)+n}return r.width=r.maxX-r.minX,r.height=r.maxY-r.minY,r.x=r.minX,r.y=r.minY,r}(t,a,r.nodeR0),u=function(t,e,n){var r=Math.ceil(t/n),i=Math.ceil(e/n);return{cells:new Float32Array(Math.max(0,r*i)).fill(0),width:r,height:i}}(s.width,s.height,r.pixelGroupSize),c=[],l=[],f=0;f1)for(d=Math.floor(h.length/r.skip);d<3&&r.skip>1;)r.skip-=1,d=Math.floor(h.length/r.skip);for(var p=0,g=0;g0))break;r.nonMemberInfluenceFactor*=.8}}return l};function rs(t,e,n,r,i,o){function a(t,e){var n=Math.floor((t-e)/o.pixelGroupSize);return n<0?0:n}function s(t,e){return t*o.pixelGroupSize+e}var u=(o.nodeR0-o.nodeR1)*(o.nodeR0-o.nodeR1),c=(o.edgeR0-o.edgeR1)*(o.edgeR0-o.edgeR1),l=function(t,e){return[Math.min(a(t.minX,e+r.minX),i.width),Math.min(a(t.minY,e+r.minY),i.height),Math.min(a(t.maxX,-e+r.minX),i.width),Math.min(a(t.maxY,-e+r.minY),i.height)]},f=function(t,e){for(var n=t.getBBox(),a=l(n,o.nodeR1),u=a[0],c=a[1],f=a[2],h=a[3],d=c;du.y?r?c.topLeft:c.bottomRight:r?c.topRight:c.bottomLeft:a.ys.x?r?c.topLeft:c.bottomRight:r?c.bottomLeft:c.topRight:o.x0?this.cfg.padding+t:10+t,this.cfg.bubbleCfg={nodeR0:this.padding-t,nodeR1:this.padding-t,morphBuffer:this.padding-t}},t.prototype.setType=function(){this.type=this.cfg.type,this.members.length<3&&(this.type="round-convex"),"round-convex"!==this.type&&"smooth-convex"!==this.type&&"bubble"!==this.type&&(console.warn("The hull type should be either round-convex, smooth-convex or bubble, round-convex is used by default."),this.type="round-convex")},t.prototype.calcPath=function(t,e){var n,r,i;switch(this.type){case"round-convex":r=Qo(i=Ha((n=Za(t)).map(function(t){return[t.x,t.y]}),this.padding));break;case"smooth-convex":2===(n=Za(t)).length?r=Qo(i=Ha(n.map(function(t){return[t.x,t.y]}),this.padding)):n.length>2&&(i=qa(n.map(function(t){return[t.x,t.y]}),this.padding),r=Wa(i));break;case"bubble":r=(n=ns(t,e,this.cfg.bubbleCfg)).length>=2&&Wa(n)}return r},t.prototype.render=function(){this.group.addShape("path",{attrs:Object(b.__assign)({path:this.path},this.cfg.style),id:this.id,name:this.cfg.id,capture:!1}),this.group.toBack()},t.prototype.addMember=function(t){if(t){Object(x.isString)(t)&&(t=this.graph.findById(t)),this.members.push(t);var e=this.nonMembers.indexOf(t);return e>-1&&this.nonMembers.splice(e,1),this.updateData(this.members,this.nonMembers),!0}},t.prototype.addNonMember=function(t){if(t){Object(x.isString)(t)&&(t=this.graph.findById(t)),this.nonMembers.push(t);var e=this.members.indexOf(t);return e>-1&&this.members.splice(e,1),this.updateData(this.members,this.nonMembers),!0}},t.prototype.removeMember=function(t){if(t){Object(x.isString)(t)&&(t=this.graph.findById(t));var e=this.members.indexOf(t);return e>-1&&(this.members.splice(e,1),this.updateData(this.members,this.nonMembers),!0)}},t.prototype.removeNonMember=function(t){if(t){Object(x.isString)(t)&&(t=this.graph.findById(t));var e=this.nonMembers.indexOf(t);return e>-1&&(this.nonMembers.splice(e,1),this.updateData(this.members,this.nonMembers),!0)}},t.prototype.updateData=function(t,e){var n=this;this.group.findById(this.id).remove(),t&&(this.members=t.map(function(t){return Object(x.isString)(t)?n.graph.findById(t):t})),e&&(this.nonMembers=e.map(function(t){return Object(x.isString)(t)?n.graph.findById(t):t})),this.path=this.calcPath(this.members,this.nonMembers),this.render()},t.prototype.updateStyle=function(t){this.group.findById(this.id).attr(Object(b.__assign)({},t))},t.prototype.updateCfg=function(t){var e=this;this.cfg=Object(x.deepMix)(this.cfg,t),this.id=this.cfg.id,this.group=this.cfg.group,t.members&&(this.members=this.cfg.members.map(function(t){return Object(x.isString)(t)?e.graph.findById(t):t})),t.nonMembers&&(this.nonMembers=this.cfg.nonMembers.map(function(t){return Object(x.isString)(t)?e.graph.findById(t):t})),this.setPadding(),this.setType(),this.path=this.calcPath(this.members,this.nonMembers),this.render()},t.prototype.contain=function(t){var e,n,r=this,i=(e=Object(x.isString)(t)?this.graph.findById(t):t).getKeyShape();if("path"===e.get("type"))n=Ua(i.attr("path"));else{var o=i.getCanvasBBox();n=[[o.minX,o.minY],[o.maxX,o.minY],[o.maxX,o.maxY],[o.minX,o.maxY]]}return n=n.map(function(t){var e=r.graph.getPointByCanvas(t[0],t[1]);return[e.x,e.y]}),_e(n,Ua(this.path))},t.prototype.destroy=function(){this.group.remove(),this.cfg=null},t}(),as=r.transform,ss=function(t){function e(e){var n=t.call(this)||this;return n.cfg=Object(x.deepMix)(n.getDefaultCfg(),e),n.init(),n.animating=!1,n.destroyed=!1,n.cfg.enabledStack&&(n.undoStack=new Qt(n.cfg.maxStep),n.redoStack=new Qt(n.cfg.maxStep)),n}return Object(b.__extends)(e,t),e.prototype.init=function(){this.initCanvas();var t=new ya(this),e=new hn(this),n=new Da(this),r=new Ra(this);this.set({viewController:t,modeController:e,itemController:n,stateController:r}),this.initLayoutController(),this.initEventController(),this.initGroups(),this.initPlugins()},e.prototype.initGroups=function(){var t=this.get("canvas");if(t){var e=(t.get("el")||{}).id,n=void 0===e?"g6":e,r=t.addGroup({id:"".concat(n,"-root"),className:Ve.rootContainerClassName});if(this.get("groupByTypes")){var i=r.addGroup({id:"".concat(n,"-edge"),className:Ve.edgeContainerClassName}),o=r.addGroup({id:"".concat(n,"-node"),className:Ve.nodeContainerClassName}),a=r.addGroup({id:"".concat(n,"-combo"),className:Ve.comboContainerClassName});a.toBack(),this.set({nodeGroup:o,edgeGroup:i,comboGroup:a})}var s=r.addGroup({id:"".concat(n,"-delegate"),className:Ve.delegateContainerClassName});this.set({delegateGroup:s}),this.set("group",r)}},e.prototype.getDefaultCfg=function(){return{container:void 0,width:void 0,height:void 0,renderer:"canvas",modes:{},plugins:[],data:{},fitViewPadding:10,minZoom:.2,maxZoom:10,event:!0,groupByTypes:!0,directed:!1,autoPaint:!0,nodes:[],edges:[],combos:[],vedges:[],itemMap:{},linkCenter:!1,defaultNode:{},defaultEdge:{},nodeStateStyles:{},edgeStateStyles:{},states:{},animate:!1,animateCfg:{onFrame:void 0,duration:500,easing:"easeLinear"},callback:void 0,enabledStack:!1,maxStep:10,tooltips:[]}},e.prototype.set=function(t,e){return Object(x.isPlainObject)(t)?this.cfg=Object(b.__assign)(Object(b.__assign)({},this.cfg),t):this.cfg[t]=e,"enabledStack"!==t||!e||this.undoStack||this.redoStack||(this.undoStack=new Qt(this.cfg.maxStep),this.redoStack=new Qt(this.cfg.maxStep)),this},e.prototype.get=function(t){var e;return null===(e=this.cfg)||void 0===e?void 0:e[t]},e.prototype.getGroup=function(){return this.get("group")},e.prototype.getContainer=function(){return this.get("container")},e.prototype.getMinZoom=function(){return this.get("minZoom")},e.prototype.setMinZoom=function(t){return this.set("minZoom",t)},e.prototype.getMaxZoom=function(){return this.get("maxZoom")},e.prototype.setMaxZoom=function(t){return this.set("maxZoom",t)},e.prototype.getWidth=function(){return this.get("width")},e.prototype.getHeight=function(){return this.get("height")},e.prototype.clearItemStates=function(t,e){Object(x.isString)(t)&&(t=this.findById(t));var n=this.get("itemController");e||(e=t.get("states")),n.clearItemStates(t,e),this.get("stateController").updateStates(t,e,!1)},e.prototype.node=function(t){"function"==typeof t&&this.set("nodeMapper",t)},e.prototype.edge=function(t){"function"==typeof t&&this.set("edgeMapper",t)},e.prototype.combo=function(t){"function"==typeof t&&this.set("comboMapper",t)},e.prototype.findById=function(t){return this.get("itemMap")[t]},e.prototype.find=function(t,e){var n,r=this.get("".concat(t,"s"));return Object(x.each)(r,function(t,r){if(e(t,r))return n=t}),n},e.prototype.findAll=function(t,e){var n=[];return Object(x.each)(this.get("".concat(t,"s")),function(t,r){e(t,r)&&n.push(t)}),n},e.prototype.findAllByState=function(t,e){return this.findAll(t,function(t){return t.hasState(e)})},e.prototype.getAnimateCfgWithCallback=function(t){var e,n=t.animateCfg,r=t.callback;if(n)if(e=Object(x.clone)(n),n.callback){var i=n.callback;e.callback=function(){r(),i()}}else e.callback=r;else e={duration:500,callback:r};return e},e.prototype.translate=function(t,e,n,r){var i=this,o=this.get("group"),a=Object(x.clone)(o.getMatrix());if(a||(a=[1,0,0,0,1,0,0,0,1]),n){var s=this.getAnimateCfgWithCallback({animateCfg:r,callback:function(){return i.emit("viewportchange",{action:"translate",matrix:o.getMatrix()})}});ge(o,{x:o.getCanvasBBox().x+t,y:o.getCanvasBBox().y+e},n,s||{duration:500,easing:"easeCubic"})}else a=as(a,[["t",t,e]]),o.setMatrix(a),this.emit("viewportchange",{action:"translate",matrix:a}),this.autoPaint()},e.prototype.moveTo=function(t,e,n,r){var i=this.get("group");ge(i,{x:t,y:e},n,r||{duration:500,easing:"easeCubic"}),this.emit("viewportchange",{action:"move",matrix:i.getMatrix()})},e.prototype.fitView=function(t,e){t&&this.set("fitViewPadding",t);var n=this.get("viewController");e?n.fitViewByRules(e):n.fitView(),this.autoPaint()},e.prototype.fitCenter=function(){this.get("viewController").fitCenter(),this.autoPaint()},e.prototype.addBehaviors=function(t,e){return this.get("modeController").manipulateBehaviors(t,e,!0),this},e.prototype.removeBehaviors=function(t,e){return this.get("modeController").manipulateBehaviors(t,e,!1),this},e.prototype.updateBehavior=function(t,e,n){return this.get("modeController").updateBehavior(t,e,n),this},e.prototype.zoom=function(t,e,n,r){var i=this,o=this.get("group"),a=Object(x.clone)(o.getMatrix()),s=this.get("minZoom"),u=this.get("maxZoom");if(a||(a=[1,0,0,0,1,0,0,0,1]),a=as(a,e?[["t",-e.x,-e.y],["s",t,t],["t",e.x,e.y]]:[["s",t,t]]),s&&a[0]u)return!1;if(n){var c=Object(x.clone)(o.getMatrix());c||(c=[1,0,0,0,1,0,0,0,1]);var l=c[0],f=l*t,h=this.getAnimateCfgWithCallback({animateCfg:r,callback:function(){return i.emit("viewportchange",{action:"zoom",matrix:o.getMatrix()})}});o.animate(function(t){if(1===t)c=a;else{var n=je(l,f,t)/c[0];c=as(c,e?[["t",-e.x,-e.y],["s",n,n],["t",e.x,e.y]]:[["s",n,n]])}return{matrix:c}},h)}else o.setMatrix(a),this.emit("viewportchange",{action:"zoom",matrix:a}),this.autoPaint();return!0},e.prototype.zoomTo=function(t,e,n,r){var i=t/this.getZoom();return this.zoom(i,e,n,r)},e.prototype.focusItem=function(t,e,n){var r=this.get("viewController"),i=!1;e?i=!0:void 0===e&&(i=this.get("animate"));var o={};n?o=n:void 0===n&&(o=this.get("animateCfg")),r.focus(t,i,o),this.autoPaint()},e.prototype.autoPaint=function(){this.get("autoPaint")&&this.paint()},e.prototype.paint=function(){this.emit("beforepaint"),this.get("canvas").draw(),this.emit("afterpaint")},e.prototype.getPointByClient=function(t,e){return this.get("viewController").getPointByClient(t,e)},e.prototype.getClientByPoint=function(t,e){return this.get("viewController").getClientByPoint(t,e)},e.prototype.getPointByCanvas=function(t,e){return this.get("viewController").getPointByCanvas(t,e)},e.prototype.getCanvasByPoint=function(t,e){return this.get("viewController").getCanvasByPoint(t,e)},e.prototype.getGraphCenterPoint=function(){var t=this.get("group").getCanvasBBox();return{x:(t.minX+t.maxX)/2,y:(t.minY+t.maxY)/2}},e.prototype.getViewPortCenterPoint=function(){return this.getPointByCanvas(this.get("width")/2,this.get("height")/2)},e.prototype.showItem=function(t,e){void 0===e&&(e=!0);var n=this.get("itemController").changeItemVisibility(t,!0);if(e&&this.get("enabledStack")){var r=n.getID(),i={},o={};switch(n.getType()){case"node":i.nodes=[{id:r,visible:!1}],o.nodes=[{id:r,visible:!0}];break;case"edge":i.nodes=[{id:r,visible:!1}],o.edges=[{id:r,visible:!0}];break;case"combo":i.nodes=[{id:r,visible:!1}],o.combos=[{id:r,visible:!0}]}this.pushStack("visible",{before:i,after:o})}},e.prototype.hideItem=function(t,e){void 0===e&&(e=!0);var n=this.get("itemController").changeItemVisibility(t,!1);if(e&&this.get("enabledStack")){var r=n.getID(),i={},o={};switch(n.getType()){case"node":i.nodes=[{id:r,visible:!0}],o.nodes=[{id:r,visible:!1}];break;case"edge":i.nodes=[{id:r,visible:!0}],o.edges=[{id:r,visible:!1}];break;case"combo":i.nodes=[{id:r,visible:!0}],o.combos=[{id:r,visible:!1}]}this.pushStack("visible",{before:i,after:o})}},e.prototype.refreshItem=function(t){this.get("itemController").refreshItem(t)},e.prototype.setAutoPaint=function(t){this.set("autoPaint",t),this.get("canvas").set("autoDraw",t)},e.prototype.remove=function(t,e){void 0===e&&(e=!0),this.removeItem(t,e)},e.prototype.removeItem=function(t,e){void 0===e&&(e=!0);var n=t;if(Object(x.isString)(t)&&(n=this.findById(t)),!n&&Object(x.isString)(t))console.warn("The item ".concat(t," to be removed does not exist!"));else if(n){var r="";if(n.getType&&(r=n.getType()),e&&this.get("enabledStack")){var i=Object(b.__assign)(Object(b.__assign)({},n.getModel()),{itemType:r}),o={};switch(r){case"node":o.nodes=[i],o.edges=[];for(var a=n.getEdges(),s=a.length-1;s>=0;s--)o.edges.push(Object(b.__assign)(Object(b.__assign)({},a[s].getModel()),{itemType:"edge"}));break;case"edge":o.edges=[i];break;case"combo":o.combos=[i]}this.pushStack("delete",{before:o,after:{}})}if("node"===r)n.getModel().comboId&&this.updateComboTree(n,void 0,!1);if(this.get("itemController").removeItem(n),"combo"===r){var u=sn(this.get("comboTrees"));this.set("comboTrees",u)}}},e.prototype.addItem=function(t,e,n,r){void 0===n&&(n=!0),void 0===r&&(r=!0);var i=this.get("comboSorted");this.set("comboSorted",i&&!r);var o=this.get("itemController");if(!function(t,e){if("node"===t||"combo"===t){if(e.id&&!Object(x.isString)(e.id))return console.warn("G6 Warning Tips: missing 'id' property, or the 'id' %c".concat(e.id,"%c is not a string."),"font-size: 20px; color: red;",""),!1}else if(!("edge"!==t||e.source&&e.target))return console.warn("G6 Warning Tips: missing 'source' or 'target' for the edge."),!1;return!0}(t,e))return!1;if(!e.id||!this.findById(e.id)){var a,s=this.get("comboTrees")||[];if("combo"===t){var u=this.get("itemMap"),c=!1;if(s.forEach(function(n){c||nn(n,function(n){if(e.parentId===n.id){c=!0;var r=Object(b.__assign)({id:e.id,depth:n.depth+2},e);n.children?n.children.push(r):n.children=[r],e.depth=r.depth,a=o.addItem(t,e)}var i=u[n.id];return c&&i&&i.getType&&"combo"===i.getType()&&o.updateCombo(i,n.children),!0})}),!c){var l=Object(b.__assign)({id:e.id,depth:0},e);e.depth=l.depth,s.push(l),a=o.addItem(t,e)}this.set("comboTrees",s)}else if("node"===t&&Object(x.isString)(e.comboId)&&s){var f;(f=this.findById(e.comboId))&&f.getType&&"combo"!==f.getType()&&console.warn("'".concat(e.comboId,"' is not a id of a combo in the graph, the node will be added without combo.")),a=o.addItem(t,e);var h=this.get("itemMap"),d=!1,p=!1;s.forEach(function(t){p||d||nn(t,function(t){if(t.id===e.id)return p=!0,!1;if(e.comboId===t.id&&!p){d=!0;var n=Object(x.clone)(e);n.itemType="node",t.children?t.children.push(n):t.children=[n],n.depth=t.depth+1}return d&&h[t.id].getType&&"combo"===h[t.id].getType()&&o.updateCombo(h[t.id],t.children),!0})})}else a=o.addItem(t,e);if("node"===t&&e.comboId||"combo"===t&&e.parentId)(f=this.findById(e.comboId||e.parentId))&&f.getType&&"combo"===f.getType()&&f.addChild(a);var g=this.get("combos");if(g&&g.length>0&&this.sortCombos(),this.autoPaint(),n&&this.get("enabledStack")){var v=Object(b.__assign)(Object(b.__assign)({},a.getModel()),{itemType:t}),y={};switch(t){case"node":y.nodes=[v];break;case"edge":y.edges=[v];break;case"combo":y.combos=[v]}this.pushStack("add",{before:{},after:y})}return a}console.warn("This item exists already. Be sure the id %c".concat(e.id,"%c is unique."),"font-size: 20px; color: red;","")},e.prototype.add=function(t,e,n,r){return void 0===n&&(n=!0),void 0===r&&(r=!0),this.addItem(t,e,n,r)},e.prototype.updateItem=function(t,e,n){var r=this;void 0===n&&(n=!0);var i,o=this.get("itemController");i=Object(x.isString)(t)?this.findById(t):t;var a=Object(x.clone)(i.getModel()),s="";i.getType&&(s=i.getType());var u=Object(b.__spreadArray)([],i.getStates(),!0);if("combo"===s&&Object(x.each)(u,function(t){return r.setItemState(i,t,!1)}),o.updateItem(i,e),"combo"===s&&Object(x.each)(u,function(t){return r.setItemState(i,t,!0)}),n&&this.get("enabledStack")){var c={nodes:[],edges:[],combos:[]},l={nodes:[],edges:[],combos:[]},f=Object(b.__assign)({id:a.id},e);switch(s){case"node":c.nodes.push(a),l.nodes.push(f);break;case"edge":c.edges.push(a),l.edges.push(f);break;case"combo":c.combos.push(a),l.combos.push(f)}"node"===s&&c.nodes.push(a),this.pushStack("update",{before:c,after:l})}},e.prototype.update=function(t,e,n){void 0===n&&(n=!0),this.updateItem(t,e,n)},e.prototype.setItemState=function(t,e,n){Object(x.isString)(t)&&(t=this.findById(t)),this.get("itemController").setItemState(t,e,n);var r=this.get("stateController");Object(x.isString)(n)?r.updateState(t,"".concat(e,":").concat(n),!0):r.updateState(t,e,n)},e.prototype.priorityState=function(t,e){this.get("itemController").priorityState(t,e)},e.prototype.data=function(t){fn(t),this.set("data",t)},e.prototype.render=function(){var t=this;this.set("comboSorted",!1);var e=this.get("data");if(this.get("enabledStack")&&this.clearStack(),!e)throw new Error("data must be defined first");var n=e.nodes,r=void 0===n?[]:n,i=e.edges,o=void 0===i?[]:i,a=e.combos,s=void 0===a?[]:a;if(this.clear(!0),this.emit("beforerender"),Object(x.each)(r,function(e){t.add("node",e,!1,!1)}),0!==(null===s||void 0===s?void 0:s.length)){var u=an(s,r);this.set("comboTrees",u),t.addCombos(s)}Object(x.each)(o,function(e){t.add("edge",e,!1,!1)});var c=t.get("animate");(t.get("fitView")||t.get("fitCenter"))&&t.set("animate",!1);var l=t.get("layoutController");if(l){if(l.layout(function(){t.get("fitView")?t.fitView():t.get("fitCenter")&&t.fitCenter();t.autoPaint(),t.emit("afterrender"),(t.get("fitView")||t.get("fitCenter"))&&t.set("animate",c)}),this.destroyed)return}else t.get("fitView")&&t.fitView(),t.get("fitCenter")&&t.fitCenter(),t.emit("afterrender"),t.set("animate",c);this.get("groupByTypes")||(s&&0!==s.length?this.sortCombos():e.nodes&&e.edges&&e.nodes.length=0;f--)l[f].destroyed&&l.splice(f,1);u&&(n.addCombos(u),this.get("groupByTypes")||this.sortCombos()),this.diffItems("edge",s,r.edges),Object(x.each)(a,function(t,e){(!t.getType||"node"!==t.getType()&&"combo"!==t.getType())&&s.edges.indexOf(t)<0&&(delete a[e],n.remove(t,!1))}),this.set({nodes:s.nodes,edges:s.edges});var h=this.get("layoutController");return h&&(h.changeData(),n.get("animate")&&!h.getLayoutType()?n.positionsAnimate():n.autoPaint()),setTimeout(function(){i.set("localRefresh",o)},16),this},e.prototype.addCombos=function(t){var e=this.get("comboTrees");this.get("itemController").addCombos(e,t)},e.prototype.createCombo=function(t,e){var n=this;this.set("comboSorted",!1);var r,i="";if(t){if(Object(x.isString)(t))i=t,r={id:t};else{if(!(i=t.id))return void console.warn("Create combo failed. Please assign a unique string id for the adding combo.");r=t}var o=e.map(function(t){var e=n.findById(t),r=e.getModel(),o="";e.getType&&(o=e.getType());var a={id:e.getID(),itemType:o};return"combo"===o?(a.parentId=i,r.parentId=i):"node"===o&&(a.comboId=i,r.comboId=i),a});r.children=o,this.addItem("combo",r,!1),this.set("comboSorted",!1);var a=this.get("comboTrees");(a||[]).forEach(function(t){nn(t,function(t){return t.id!==i||(t.itemType="combo",t.children=o,!1)})}),a&&this.sortCombos()}},e.prototype.uncombo=function(t){var e,n=this,r=t;if(Object(x.isString)(t)&&(r=this.findById(t)),!r||r.getType&&"combo"!==r.getType())console.warn("The item is not a combo!");else{var i=r.getModel().parentId,o=this.get("comboTrees");o||(o=[]);var a,s=this.get("itemMap"),u=r.get("id"),c=[],l=this.get("combos"),f=this.findById(i);if(o.forEach(function(t){a||nn(t,function(t){var e;if(t.id===u){a=t,r.getEdges().map(function(t){return t.getID()}).forEach(function(t){n.removeItem(t,!1)});var o=l.indexOf(r);l.splice(o,1),delete s[u],r.destroy(),n.emit("afterremoveitem",{item:r,type:"combo"})}return!i||!a||t.id!==i||(f.removeCombo(r),-1!==(o=(c=t.children).indexOf(a))&&c.splice(o,1),null===(e=a.children)||void 0===e||e.forEach(function(t){var e=n.findById(t.id),r=e.getModel();e.getType&&"combo"===e.getType()?(t.parentId=i,delete t.comboId,r.parentId=i,delete r.comboId):e.getType&&"node"===e.getType()&&(t.comboId=i,r.comboId=i),f.addChild(e),c.push(t)}),!1)})}),!i&&a){var h=o.indexOf(a);o.splice(h,1),null===(e=a.children)||void 0===e||e.forEach(function(t){t.parentId=void 0;var e=n.findById(t.id).getModel();delete e.parentId,delete e.comboId,"node"!==t.itemType&&o.push(t)})}}},e.prototype.updateCombos=function(t){var e=this;void 0===t&&(t=!1);var n=this.get("comboTrees"),r=this.get("itemController"),i=this.get("itemMap");(n||[]).forEach(function(n){nn(n,function(n){if(!n)return!0;var o=i[n.id];if(o&&o.getType&&"combo"===o.getType()){var a=Object(b.__spreadArray)([],o.getStates(),!0);Object(x.each)(a,function(t){return e.setItemState(o,t,!1)}),r.updateCombo(o,n.children,t),Object(x.each)(a,function(t){return e.setItemState(o,t,!0)})}return!0})}),this.sortCombos()},e.prototype.updateCombo=function(t){var e,n=this,r=t;if(Object(x.isString)(t)&&(r=this.findById(t)),!r||r.getType&&"combo"!==r.getType())console.warn("The item to be updated is not a combo!");else{e=r.get("id");var i=this.get("comboTrees"),o=this.get("itemController"),a=this.get("itemMap");(i||[]).forEach(function(t){nn(t,function(t){if(!t)return!0;var r=a[t.id];if(e===t.id&&r&&r.getType&&"combo"===r.getType()){var i=Object(b.__spreadArray)([],r.getStates(),!0);Object(x.each)(i,function(t){r.getStateStyle(t)&&n.setItemState(r,t,!1)}),o.updateCombo(r,t.children),Object(x.each)(i,function(t){r.getStateStyle(t)&&n.setItemState(r,t,!0)}),e&&(e=t.parentId)}return!0})})}},e.prototype.updateComboTree=function(t,e,n){void 0===n&&(n=!0);var r;this.set("comboSorted",!1);var i,o=(r=Object(x.isString)(t)?this.findById(t):t).getModel(),a=o.comboId||o.parentId,s="";if(r.getType&&(s=r.getType()),e&&"combo"===s){var u,c=!0;if((this.get("comboTrees")||[]).forEach(function(t){u||en(t,function(t){if(!u)return t.id===r.getID()&&(u=t),!0})}),en(u,function(t){return t.id!==e||(c=!1,!1)}),!c)return void console.warn("Failed to update the combo tree! The parentId points to a descendant of the combo!")}if(n&&this.get("enabledStack")){var l={},f={};"combo"===s?(l.combos=[{id:o.id,parentId:o.parentId}],f.combos=[{id:o.id,parentId:e}]):"node"===s&&(l.nodes=[{id:o.id,parentId:o.comboId}],f.nodes=[{id:o.id,parentId:e}]),this.pushStack("updateComboTree",{before:l,after:f})}if(o.parentId||o.comboId){var h=this.findById(o.parentId||o.comboId);h&&h.removeChild(r)}("combo"===s?o.parentId=e:"node"===s&&(o.comboId=e),e)&&((i=this.findById(e))&&i.addChild(r));a&&((i=this.findById(a))&&i.removeChild(r));var d=sn(this.get("comboTrees"),o.id,e);this.set("comboTrees",d),this.updateCombos()},e.prototype.save=function(){var t=[],e=[],n=[];return Object(x.each)(this.get("nodes"),function(e){t.push(e.getModel())}),Object(x.each)(this.get("edges"),function(t){e.push(t.getModel())}),Object(x.each)(this.get("combos"),function(t){n.push(t.getModel())}),{nodes:t,edges:e,combos:n}},e.prototype.changeSize=function(t,e){return this.get("viewController").changeSize(t,e),this},e.prototype.refresh=function(){if(this.emit("beforegraphrefresh"),this.get("animate"))this.positionsAnimate();else{var t=this.get("nodes"),e=this.get("edges"),n=this.get("edges");Object(x.each)(t,function(t){t.refresh()}),Object(x.each)(e,function(t){t.refresh()}),Object(x.each)(n,function(t){t.refresh()})}this.emit("aftergraphrefresh"),this.autoPaint()},e.prototype.getNodes=function(){return this.get("nodes")},e.prototype.getEdges=function(){return this.get("edges")},e.prototype.getCombos=function(){return this.get("combos")},e.prototype.getComboChildren=function(t){if(Object(x.isString)(t)&&(t=this.findById(t)),t&&(!t.getType||"combo"===t.getType()))return t.getChildren();console.warn("The combo does not exist!")},e.prototype.positionsAnimate=function(t){var e=this;e.emit("beforeanimate");var n=e.get("animateCfg"),r=n.onFrame,i=t?e.getNodes().concat(e.getCombos()):e.getNodes(),o=i.map(function(t){var e=t.getModel();return{id:e.id,x:e.x,y:e.y}});e.isAnimating()&&e.stopAnimate(),e.get("canvas").animate(function(n){Object(x.each)(o,function(t){var i=e.findById(t.id);if(i&&!i.destroyed){var o=i.get("originAttrs"),a=i.get("model"),s=i.getContainer().getMatrix();if(void 0!==o&&null!==o||(s&&(o={x:s[6],y:s[7]}),i.set("originAttrs",o||0)),r){var u=r(i,n,t,o||{x:0,y:0});i.set("model",Object.assign(a,u))}else o?(a.x=o.x+(t.x-o.x)*n,a.y=o.y+(t.y-o.y)*n):(a.x=t.x,a.y=t.y)}}),e.refreshPositions(t)},{duration:n.duration,easing:n.easing,callback:function(){Object(x.each)(i,function(t){t.set("originAttrs",null)}),n.callback&&n.callback(),e.emit("afteranimate"),e.animating=!1}})},e.prototype.refreshPositions=function(t){var e=this;e.emit("beforegraphrefreshposition");var n,r=e.get("nodes"),i=e.get("edges"),o=e.get("vedges"),a=e.get("combos"),s={},u=function(t){Object(x.each)(t,function(t){n=t.getModel();var e=t.get("originAttrs");if(!e||n.x!==e.x||n.y!==e.y){var r=t.updatePosition({x:n.x,y:n.y});s[n.id]=r,n.comboId&&(s[n.comboId]=s[n.comboId]||r)}})};u(r),a&&0!==a.length&&(t?(u(a),setTimeout(function(){e.updateCombos()},0)):e.updateCombos()),Object(x.each)(i,function(t){var e=t.getSource().getModel(),n=t.getTarget();if(!Object(x.isPlainObject)(n)){var r=n.getModel();(s[e.id]||s[r.id]||t.getModel().isComboEdge)&&t.refresh()}}),Object(x.each)(o,function(t){t.refresh()}),e.emit("aftergraphrefreshposition"),e.autoPaint()},e.prototype.stopAnimate=function(){this.get("canvas").stopAnimate()},e.prototype.isAnimating=function(){return this.animating},e.prototype.getZoom=function(){var t=this.get("group").getMatrix();return t?t[0]:1},e.prototype.getCurrentMode=function(){return this.get("modeController").getMode()},e.prototype.setMode=function(t){return this.get("modeController").setMode(t),this},e.prototype.clear=function(t){var e;return void 0===t&&(t=!1),null===(e=this.get("canvas"))||void 0===e||e.clear(),this.initGroups(),this.set({itemMap:{},nodes:[],edges:[],groups:[],combos:[],comboTrees:[]}),t||this.emit("afterrender"),this},e.prototype.updateLayout=function(t,e,n){var r=this,i=this.get("layoutController");if(Object(x.isString)(t)&&(t={type:t}),e){var o=n;o||(o="begin"===e?{x:0,y:0}:{x:this.getWidth()/2,y:this.getHeight()/2}),o=this.getPointByCanvas(o.x,o.y);var a=["force","gForce","fruchterman"];a.includes(t.type)||!t.type&&a.includes(null===i||void 0===i?void 0:i.layoutType)?t.center=[o.x,o.y]:this.once("afterlayout",function(t){var n=r.getGroup().getMatrix()||[1,0,0,0,1,0,0,0,1];o.x=o.x*n[0]+n[6],o.y=o.y*n[0]+n[7];var i=r.getGroup().getCanvasBBox(),a=i.minX,s=i.maxX,u=i.minY,c={x:(a+s)/2,y:(u+i.maxY)/2};"begin"===e&&(c.x=a,c.y=u),r.translate(o.x-c.x,o.y-c.y)})}var s=this.get("layout"),u={};Object.assign(u,s,t),this.set("layout",u),i&&(i.isLayoutTypeSame(u)&&u.gpuEnabled===s.gpuEnabled?i.updateLayoutCfg(u):i.changeLayout(u))},e.prototype.destroyLayout=function(){var t=this.get("layoutController");null===t||void 0===t||t.destroyLayout()},e.prototype.layout=function(){var t=this.get("layoutController"),e=this.get("layout");e&&t&&(e.workerEnabled?t.layout():t.layoutMethod?t.relayout(!0):t.layout())},e.prototype.collapseCombo=function(t){var e=this;if(!this.destroyed)if(Object(x.isString)(t)&&(t=this.findById(t)),t){this.emit("beforecollapseexpandcombo",{action:"expand",item:t});var n=t.getModel();this.get("itemController").collapseCombo(t),n.collapsed=!0;var r=this.getEdges().concat(this.get("vedges")),i=[],o=[],a=!1;(this.get("comboTrees")||[]).forEach(function(t){a||en(t,function(t){if(a&&t.depth<=n.depth)return!1;if(n.id===t.id&&(a=!0),a){var r=e.findById(t.id);r&&r.getType&&"combo"===r.getType()&&(i=i.concat(r.getNodes()),o=o.concat(r.getCombos()))}return!0})});var s={},u=[];r.forEach(function(t){if(!t.isVisible()||t.getModel().isVEdge){var r=t.getSource(),a=t.getTarget();if((i.includes(r)||o.includes(r))&&!i.includes(a)&&!o.includes(a)||r.getModel().id===n.id){if((h=t.getModel()).isVEdge)return void e.removeItem(t,!1);for(var c=a.getModel();!a.isVisible();){if(!(a=e.findById(c.parentId||c.comboId))||!c.parentId&&!c.comboId)return;c=a.getModel()}var l=c.id;if(s["".concat(n.id,"-").concat(l)])return void(s["".concat(n.id,"-").concat(l)]+=h.size||1);var f=e.addItem("vedge",{source:n.id,target:l,isVEdge:!0},!1);s["".concat(n.id,"-").concat(l)]=h.size||1,u.push(f)}else if(!i.includes(r)&&!o.includes(r)&&(i.includes(a)||o.includes(a))||a.getModel().id===n.id){var h;if((h=t.getModel()).isVEdge)return void e.removeItem(t,!1);for(var d=r.getModel();!r.isVisible();){if(!(r=e.findById(d.parentId||d.comboId))||!d.parentId&&!d.comboId)return;d=r.getModel()}var p=d.id;if(s["".concat(p,"-").concat(n.id)])return void(s["".concat(p,"-").concat(n.id)]+=h.size||1);f=e.addItem("vedge",{target:n.id,source:p,isVEdge:!0},!1);s["".concat(p,"-").concat(n.id)]=h.size||1,u.push(f)}}}),u.forEach(function(t){var n=t.getModel();e.updateItem(t,{size:s["".concat(n.source,"-").concat(n.target)]},!1)}),this.emit("aftercollapseexpandcombo",{action:"collapse",item:t})}else console.warn("The combo to be collapsed does not exist!")},e.prototype.expandCombo=function(t){var e=this;if(Object(x.isString)(t)&&(t=this.findById(t)),!t||t.getType&&"combo"!==t.getType())console.warn("The combo to be collapsed does not exist!");else{this.emit("beforecollapseexpandcombo",{action:"expand",item:t});var n=t.getModel();this.get("itemController").expandCombo(t),n.collapsed=!1;var r=this.getEdges().concat(this.get("vedges")),i=[],o=[],a=!1;(this.get("comboTrees")||[]).forEach(function(t){a||en(t,function(t){if(a&&t.depth<=n.depth)return!1;if(n.id===t.id&&(a=!0),a){var r=e.findById(t.id);r&&r.getType&&"combo"===r.getType()&&(i=i.concat(r.getNodes()),o=o.concat(r.getCombos()))}return!0})});var s={},u={};r.forEach(function(t){if(!t.isVisible()||t.getModel().isVEdge){var r=t.getSource(),a=t.getTarget(),c=r.get("id"),l=a.get("id");if((i.includes(r)||o.includes(r))&&!i.includes(a)&&!o.includes(a)||c===n.id){if(t.getModel().isVEdge)return void e.removeItem(t,!1);for(var f=a.getModel();!a.isVisible();){if(!(a=e.findById(f.comboId||f.parentId))||!f.parentId&&!f.comboId)return;f=a.getModel()}l=f.id;for(var h=r.getModel();!r.isVisible();){if(!(r=e.findById(h.comboId||h.parentId))||!h.parentId&&!h.comboId)return;if(h.comboId===n.id||h.parentId===n.id)break;h=r.getModel()}if(c=h.id,l){var d="".concat(c,"-").concat(l);if(s[d])return s[d]+=t.getModel().size||1,void e.updateItem(u[d],{size:s[d]},!1);var p=e.addItem("vedge",{source:c,target:l,isVEdge:!0},!1);s[d]=t.getModel().size||1,u[d]=p}}else if(!i.includes(r)&&!o.includes(r)&&(i.includes(a)||o.includes(a))||l===n.id){if(t.getModel().isVEdge)return void e.removeItem(t,!1);for(h=r.getModel();!r.isVisible();){if(!(r=e.findById(h.comboId||h.parentId))||!h.parentId&&!h.comboId)return;h=r.getModel()}c=h.id;for(f=a.getModel();!a.isVisible();){if(!(a=e.findById(f.comboId||f.parentId))||!f.parentId&&!f.comboId)return;if(f.comboId===n.id||f.parentId===n.id)break;f=a.getModel()}if(l=f.id,c){d="".concat(c,"-").concat(l);if(s[d])return s[d]+=t.getModel().size||1,void e.updateItem(u[d],{size:s[d]},!1);p=e.addItem("vedge",{target:l,source:c,isVEdge:!0},!1);s[d]=t.getModel().size||1,u[d]=p}}else(i.includes(r)||o.includes(r))&&(i.includes(a)||o.includes(a))&&r.isVisible()&&a.isVisible()&&t.show()}}),this.emit("aftercollapseexpandcombo",{action:"expand",item:t})}},e.prototype.collapseExpandCombo=function(t){if(Object(x.isString)(t)&&(t=this.findById(t)),t&&(!t.getType||"combo"===t.getType())){for(var e=t.getModel(),n=this.findById(e.parentId);n;){var r=n.getModel();if(r.collapsed)return console.warn("Fail to expand the combo since it's ancestor combo is collapsed."),void(n=void 0);n=this.findById(r.parentId)}e.collapsed?this.expandCombo(t):this.collapseCombo(t),this.updateCombo(t)}},e.prototype.sortCombos=function(){var t=this;if(!this.get("comboSorted")){this.set("comboSorted",!0);var e=[],n={};(this.get("comboTrees")||[]).forEach(function(t){en(t,function(t){return e[t.depth]?e[t.depth].push(t.id):e[t.depth]=[t.id],n[t.id]=t.depth,!0})}),(this.getEdges().concat(this.get("vedges"))||[]).forEach(function(t){var r=t.getModel(),i=n[r.source]||0,o=n[r.target]||0,a=Math.max(i,o);e[a]?e[a].push(r.id):e[a]=[r.id]}),e.forEach(function(e){if(e&&e.length)for(var n=e.length-1;n>=0;n--){var r=t.findById(e[n]);r&&r.toFront()}})}},e.prototype.getNeighbors=function(t,e){var n=t;return Object(x.isString)(t)&&(n=this.findById(t)),n.getNeighbors(e)},e.prototype.getNodeDegree=function(t,e,n){void 0===e&&(e=void 0),void 0===n&&(n=!1);var r=t;Object(x.isString)(t)&&(r=this.findById(t));var i=this.get("degrees");i&&!n||(i=H(this.save()),this.set("degrees",i));var o=i[r.getID()],a=0;if(!o)return 0;switch(e){case"in":a=o.inDegree;break;case"out":a=o.outDegree;break;case"all":a=o;break;default:a=o.degree}return a},e.prototype.getUndoStack=function(){return this.undoStack},e.prototype.getRedoStack=function(){return this.redoStack},e.prototype.getStackData=function(){return this.get("enabledStack")?{undoStack:this.undoStack.toArray(),redoStack:this.redoStack.toArray()}:null},e.prototype.clearStack=function(){this.get("enabledStack")&&(this.undoStack.clear(),this.redoStack.clear())},e.prototype.pushStack=function(t,e,n){if(void 0===t&&(t="update"),void 0===n&&(n="undo"),this.get("enabledStack")){var r=e?Object(x.clone)(e):{before:{},after:Object(x.clone)(this.save())};"redo"===n?this.redoStack.push({action:t,data:r}):this.undoStack.push({action:t,data:r}),this.emit("stackchange",{undoStack:this.undoStack,redoStack:this.redoStack})}else console.warn("请先启用 undo & redo 功能,在实例化 Graph 时候配置 enabledStack: true !")},e.prototype.getAdjMatrix=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=this.get("directed"));var n=this.get("adjMatrix");return n&&t||(n=j(this.save(),e),this.set("adjMatrix",n)),n},e.prototype.getShortestPathMatrix=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=this.get("directed"));var n=this.get("adjMatrix"),r=this.get("shortestPathMatrix");return n&&t||(n=j(this.save(),e),this.set("adjMatrix",n)),r&&t||(r=at(this.save(),e),this.set("shortestPathMatrix",r)),r},e.prototype.on=function(e,n,r){return t.prototype.on.call(this,e,n,r)},e.prototype.destroy=function(){var t,e,n,r,i;this.clear(),this.clearStack(),null===(t=this.get("itemController"))||void 0===t||t.destroy(),null===(e=this.get("modeController"))||void 0===e||e.destroy(),null===(n=this.get("viewController"))||void 0===n||n.destroy(),null===(r=this.get("stateController"))||void 0===r||r.destroy(),null===(i=this.get("canvas"))||void 0===i||i.destroy(),this.cfg=null,this.destroyed=!0,this.redoStack=null,this.undoStack=null},e.prototype.createHull=function(t){if(t.members&&!(t.members.length<1)){var e=this.get("hullGroup"),n=this.get("hullMap");if(n||(n={},this.set("hullMap",n)),e&&!e.get("destroyed")||((e=this.get("group").addGroup({id:"hullGroup"})).toBack(),this.set("hullGroup",e)),n[t.id])return console.warn("Existed hull id."),n[t.id];var r=e.addGroup({id:"".concat(t.id,"-container")}),i=new os(this,Object(b.__assign)(Object(b.__assign)({},t),{group:r}));return n[i.id]=i,i}console.warn("Create hull failed! The members is empty.")},e.prototype.getHulls=function(){return this.get("hullMap")},e.prototype.getHullById=function(t){return this.get("hullMap")[t]},e.prototype.removeHull=function(t){var e,n;n=Object(x.isString)(t)?this.getHullById(t):t,null===(e=this.get("hullMap"))||void 0===e||delete e[n.id],n.destroy()},e.prototype.removeHulls=function(){var t=this.getHulls();t&&Object.keys(t).length&&(Object.keys(t).forEach(function(e){t[e].destroy()}),this.set("hullMap",{}))},e}(S);function us(t){"@babel/helpers - typeof";return(us="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var cs=r.transform,ls=["startArrow","endArrow"],fs={lineWidth:1,stroke:void 0,fill:void 0,lineAppendWidth:1,opacity:void 0,strokeOpacity:void 0,fillOpacity:void 0,x:0,y:0,r:10,width:20,height:20,shadowColor:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0},hs={edge:{lineWidth:1,stroke:"#000",lineDash:void 0,startArrow:!1,endArrow:!1,opacity:void 0,strokeOpacity:void 0,fillOpacity:void 0,shadowColor:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0},node:fs,combo:fs},ds={options:{labelCfg:{style:{fontFamily:Ve.windowFontFamily}},descriptionCfg:{style:{fontFamily:Ve.windowFontFamily}}},itemType:"",type:"",getCustomConfig:function(t){return{}},getOptions:function(t,e){return"move"===e||(null===e||void 0===e?void 0:e.includes("bbox"))?{}:Object(x.deepMix)({},this.options,this.getCustomConfig(t)||{},t)},draw:function(t,e){e.shapeMap={},this.mergeStyle=this.getOptions(t);var n=this.drawShape(t,e);if(n.set("className",this.itemType+"-shape"),e.shapeMap[this.itemType+"-shape"]=n,t.label){var r=this.drawLabel(t,e);r.set("className",this.itemType+"-label"),e.shapeMap[this.itemType+"-label"]=r}return n},afterDraw:function(t,e,n){},drawShape:function(t,e){return null},drawLabel:function(t,e){var n=(this.mergeStyle||this.getOptions(t)||{}).labelCfg||{},r=this.getLabelStyle(t,n,e),i=r.rotate;delete r.rotate;var o=e.addShape("text",{attrs:r,draggable:!0,className:"text-shape",name:"text-shape",labelRelated:!0});if(e.shapeMap["text-shape"]=o,!isNaN(i)&&""!==i){var a=o.getBBox(),s=[1,0,0,0,1,0,0,0,1];if(r.rotateCenter)switch(r.rotateCenter){case"center":s=cs(s,[["t",-a.width/2,-a.height/2],["r",i],["t",a.width/2,a.height/2]]);break;case"lefttop":s=cs(s,[["t",-r.x,-r.y],["r",i],["t",r.x,r.y]]);break;case"leftcenter":s=cs(s,[["t",-r.x,-r.y-a.height/2],["r",i],["t",r.x,r.y+a.height/2]]);break;default:s=cs(s,[["t",-a.width/2,-a.height/2],["r",i],["t",a.width/2,a.height/2]])}else s=cs(s,[["t",-r.x,-r.y-a.height/2],["r",i],["t",r.x,r.y+a.height/2]]);o.setMatrix(s)}if(r.background){var u=this.drawLabelBg(t,e,o),c=this.itemType+"-label-bg";u.set("classname",c),e.shapeMap[c]=u,o.toFront()}return o},drawLabelBg:function(t,e,n){var r=this.options.labelCfg,i=Object(x.mix)({},r,t.labelCfg),o=this.getLabelBgStyleByPosition(n,i),a=e.addShape("rect",{name:"text-bg-shape",attrs:o,labelRelated:!0});return e.shapeMap["text-bg-shape"]=a,a},getLabelStyleByPosition:function(t,e,n){return{text:t.label}},getLabelBgStyleByPosition:function(t,e){return{}},getLabelStyle:function(t,e,n){var r=this.getLabelStyleByPosition(t,e,n),i="".concat(this.itemType,"Label"),o=Ve[i]?Ve[i].style:null;return Object(b.__assign)(Object(b.__assign)(Object(b.__assign)({},o),r),e.style)},getShapeStyle:function(t){return t.style},update:function(t,e,n){this.updateShapeStyle(t,e,n),this.updateLabel(t,e,n)},updateShapeStyle:function(t,e,n){var r,i=e.getContainer(),o=e.getKeyShape(),a=Object(x.mix)({},o.attr(),t.style),s=function(t){var e,n=a[t];if(Object(x.isPlainObject)(n)){var s=(null===(r=i.shapeMap)||void 0===r?void 0:r[t])||i.find(function(e){return e.get("name")===t});null===s||void 0===s||s.attr(n)}else o.attr(((e={})[t]=n,e))};for(var u in a)s(u)},updateLabel:function(t,e,n){var r,i;if(t.label||""===t.label){var o=e.getContainer(),a=(this.mergeStyle||this.getOptions({},n)||{}).labelCfg,s=void 0===a?{}:a,u=this.itemType+"-label",c=o.shapeMap[u]||o.find(function(t){return t.get("className")===u}),l=this.itemType+"-label-bg",f=o.shapeMap[l]||o.find(function(t){return t.get("className")===l});if(c){(!n||"bbox|label"===n||"edge"===this.itemType&&"style"!==n)&&(s=Object(x.deepMix)(s,t.labelCfg));var h=this.getLabelStyleByPosition(t,s,o),d=null===(r=t.labelCfg)||void 0===r?void 0:r.style,p=Object(b.__assign)(Object(b.__assign)({},h),d),g=p.rotate;if(delete p.rotate,isNaN(g)||""===g)1!==(null===(i=c.getMatrix())||void 0===i?void 0:i[4])&&c.resetMatrix(),c.attr(p);else{var v=[1,0,0,0,1,0,0,0,1];v=cs(v,[["t",-p.x,-p.y],["r",g],["t",p.x,p.y]]),p.matrix=v,c.attr(p)}if(f)if(p.background){var y=this.getLabelBgStyleByPosition(c,s);f.attr(y)}else o.removeChild(f);else p.background&&((f=this.drawLabelBg(t,o,c)).set("classname",l),o.shapeMap[l]=f,c.toFront())}else{var m=this.drawLabel(t,o);m.set("className",u),o.shapeMap[u]=m}}},afterUpdate:function(t,e){},setState:function(t,e,n){var r,i,o,a=n.get("keyShape");if(a&&!a.destroyed){var s=n.getType(),u=Object(x.isBoolean)(e)?t:"".concat(t,":").concat(e),c=this.getStateStyle(u,n),l=n.getStateStyle(u);if(l||c){var f=Object(x.mix)({},l||c),h=n.getContainer(),d={x:1,y:1,cx:1,cy:1,matrix:1};if("combo"===s&&(d.r=1,d.width=1,d.height=1),e){var p=function(t){var e,n=f[t];if(Object(x.isPlainObject)(n)&&!ls.includes(t)){var r=(null===(o=h.shapeMap)||void 0===o?void 0:o[t])||h.find(function(e){return e.get("name")===t});null===r||void 0===r||r.attr(n)}else a.attr(((e={})[t]=n,e))};for(var g in f)p(g)}else{var v=ln(n.getCurrentStatesStyle()),y=n.getModel(),m=Object(x.mix)({},y.style,ln(n.getOriginStyle())),b=a.get("name"),w=a.attr(),_={};Object.keys(w).forEach(function(t){if("img"!==t){var e=w[t];e&&"object"===us(e)?_[t]=Object(x.clone)(e):_[t]=e}});var E={},S=function(t){var e=f[t];if(Object(x.isPlainObject)(e)&&!ls.includes(t)){var n=h.shapeMap[t]||h.find(function(e){return e.get("name")===t});if(n){var r=ln(n.attr());Object(x.each)(e,function(e,i){if(t===b&&_[i]&&!d[i]){delete _[i];var o=m[t][i]||hs[s][i];a.attr(i,o)}else if(r[i]||0===r[i]){delete r[i];var u=m[t][i]||hs[s][i];n.attr(i,u)}}),E[t]=r}}else if(_[t]&&!d[t]){delete _[t];var i=m[t]||(m[b]?m[b][t]:void 0)||hs[s][t];a.attr(t,i)}};for(var M in f)S(M);for(var g in b?E[b]=_:Object(x.mix)(E,_),v)if(!d[g]){var O=v[g];Object(x.isPlainObject)(O)&&!ls.includes(g)||(b?(Object(x.mix)(m[b],((i={})[g]=O,i)),delete m[g]):Object(x.mix)(m,((r={})[g]=O,r)),delete v[g])}var k={};Object(x.deepMix)(k,m,E,v);var A=!1,C=function(t){var e,n,r=k[t];if(Object(x.isPlainObject)(r)&&!ls.includes(t)){var i=h.shapeMap[t]||h.find(function(e){return e.get("name")===t});i&&(("text"===i.get("type")||i.get("labelRelated"))&&(delete r.x,delete r.y,delete r.matrix),t===b&&("combo"===s&&(delete r.r,delete r.width,delete r.height),A=!0),i.attr(r))}else if(!A){var o=r||hs[s][t];"combo"===s?b||a.attr(((e={})[t]=o,e)):a.attr(((n={})[t]=o,n))}};for(var I in k)C(I)}}}},getStateStyle:function(t,e){var n=e.getModel(),r=e.getType(),i=this.getOptions(n),o=i.stateStyles,a=i.style,s=void 0===a?{}:a,u=n.stateStyles?n.stateStyles[t]:o&&o[t];return"combo"===r?Object(x.clone)(u):Object(x.mix)({},s,u)},getControlPoints:function(t){return t.controlPoints},getAnchorPoints:function(t){var e,n;return(null===t||void 0===t?void 0:t.anchorPoints)||(null===(e=this.getCustomConfig(t))||void 0===e?void 0:e.anchorPoints)||(null===(n=this.options)||void 0===n?void 0:n.anchorPoints)}},ps={itemType:"node",shapeType:"single-node",labelPosition:"center",offset:Ve.nodeLabel.offset,getSize:function(t){var e,n=(null===(e=this.mergeStyle)||void 0===e?void 0:e.size)||t.size||this.getOptions({}).size||Ve.defaultNode.size;return Object(x.isArray)(n)&&1===n.length&&(n=[n[0],n[0]]),Object(x.isArray)(n)||(n=[n,n]),n},getLabelStyleByPosition:function(t,e){var n=e.position||this.labelPosition;if("center"===n)return{x:0,y:0,text:t.label,textBaseline:"middle",textAlign:"center"};var r=e.offset;Object(x.isNil)(r)&&(r=this.offset);var i,o=this.getSize(t);switch(n){case"top":i={x:0,y:-o[1]/2-r,textBaseline:"bottom",textAlign:"center"};break;case"bottom":i={x:0,y:o[1]/2+r,textBaseline:"top",textAlign:"center"};break;case"left":i={x:-o[0]/2-r,y:0,textBaseline:"middle",textAlign:"right"};break;default:i={x:o[0]/2+r,y:0,textBaseline:"middle",textAlign:"left"}}return i.text=t.label,i},getLabelBgStyleByPosition:function(t,e){var n;if(!t)return{};var r=null===(n=e.style)||void 0===n?void 0:n.background;if(!r)return{};var i=t.getBBox(),o=fa(r.padding),a=i.width+o[1]+o[3],s=i.height+o[0]+o[2];return Object(b.__assign)(Object(b.__assign)({x:i.minX-o[3],y:i.minY-o[0]},r),{width:a,height:s})},drawShape:function(t,e){var n=this.shapeType,r=this.getShapeStyle(t),i=e.addShape(n,{attrs:r,draggable:!0,name:"node-shape"});return e.shapeMap["node-shape"]=i,i},updateLinkPoints:function(t,e){var n,r=(this.mergeStyle||this.getOptions(t)).linkPoints,i=e.shapeMap["link-point-left"]||e.find(function(t){return"link-point-left"===t.get("className")}),o=e.shapeMap["link-point-right"]||e.find(function(t){return"link-point-right"===t.get("className")}),a=e.shapeMap["link-point-top"]||e.find(function(t){return"link-point-top"===t.get("className")}),s=e.shapeMap["link-point-bottom"]||e.find(function(t){return"link-point-bottom"===t.get("className")});i&&(n=i.attr()),o&&!n&&(n=o.attr()),a&&!n&&(n=a.attr()),s&&!n&&(n=s.attr()),n||(n=r);var u=Object(x.mix)({},n,t.linkPoints),c=u.fill,l=u.stroke,f=u.lineWidth,h=u.size/2;h||(h=u.r);var d=t.linkPoints?t.linkPoints:{left:void 0,right:void 0,top:void 0,bottom:void 0},p=d.left,g=d.right,v=d.top,y=d.bottom,m=this.getSize(t),w=m[0],_=m[1],E={r:h,fill:c,stroke:l,lineWidth:f};if(i)p||void 0===p?i.attr(Object(b.__assign)(Object(b.__assign)({},E),{x:-w/2,y:0})):(i.remove(),delete e.shapeMap["link-point-left"]);else if(p){var S="link-point-left";e.shapeMap[S]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},E),{x:-w/2,y:0}),className:S,name:S,isAnchorPoint:!0})}if(o)g||void 0===g||(o.remove(),delete e.shapeMap["link-point-right"]),o.attr(Object(b.__assign)(Object(b.__assign)({},E),{x:w/2,y:0}));else if(g){var M="link-point-right";e.shapeMap[M]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},E),{x:w/2,y:0}),className:M,name:M,isAnchorPoint:!0})}if(a)v||void 0===v||(a.remove(),delete e.shapeMap["link-point-top"]),a.attr(Object(b.__assign)(Object(b.__assign)({},E),{x:0,y:-_/2}));else if(v){var O="link-point-top";e.shapeMap[O]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},E),{x:0,y:-_/2}),className:O,name:O,isAnchorPoint:!0})}if(s)y||void 0===y?s.attr(Object(b.__assign)(Object(b.__assign)({},E),{x:0,y:_/2})):(s.remove(),delete e.shapeMap["link-point-bottom"]);else if(y){var k="link-point-bottom";e.shapeMap[k]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},E),{x:0,y:_/2}),className:k,name:k,isAnchorPoint:!0})}},updateShape:function(t,e,n,r,i){e.get("keyShape").attr(Object(b.__assign)({},n)),this.updateLabel(t,e,i),r&&this.updateIcon(t,e)},updateIcon:function(t,e){var n=this,r=e.getContainer(),i=(this.mergeStyle||this.getOptions(t)).icon,o=t.icon?t.icon:{show:void 0,text:void 0},a=o.show,s=o.text,u=r.shapeMap["".concat(this.type,"-icon")]||r.find(function(t){return t.get("name")==="".concat(n.type,"-icon")});if(u)if(a||void 0===a){var c=Object(x.mix)({},u.attr(),i),l=c.width,f=void 0===l?20:l,h=c.height,d=void 0===h?20:h;("iconfont"===c.fontFamily||c.hasOwnProperty("text"))&&(f=0,d=0),u.attr(Object(b.__assign)(Object(b.__assign)({},c),{x:-f/2,y:-d/2}))}else u.remove();else if(a){var p="".concat(this.type,"-icon");if(s)r.shapeMap[p]=r.addShape("text",{attrs:Object(b.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},i),className:p,name:p});else{f=i.width,d=i.height;r.shapeMap[p]=r.addShape("image",{attrs:Object(b.__assign)(Object(b.__assign)({},i),{x:-f/2,y:-d/2}),className:p,name:p})}var g=r.shapeMap["node-label"]||r.find(function(t){return"node-label"===t.get("name")});g&&g.toFront()}}},gs=Object(b.__assign)(Object(b.__assign)({},ds),ps);Ca.registerNode("single-node",gs);var vs={itemType:"edge",labelPosition:"center",refX:0,refY:0,labelAutoRotate:!1,options:{size:Ve.defaultEdge.size,style:{x:0,y:0,stroke:Ve.defaultEdge.style.stroke,lineAppendWidth:Ve.defaultEdge.style.lineAppendWidth},labelCfg:{style:{fill:Ve.edgeLabel.style.fill,fontSize:Ve.edgeLabel.style.fontSize,fontFamily:Ve.windowFontFamily}},stateStyles:Object(b.__assign)({},Ve.edgeStateStyles)},getPath:function(t){var e=[];return Object(x.each)(t,function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e},getShapeStyle:function(t){var e=this.options.style,n={stroke:t.color},r=Object(x.mix)({},e,n,t.style),i=t.size||Ve.defaultEdge.size,o=(t=this.getPathPoints(t)).startPoint,a=t.endPoint,s=this.getControlPoints(t),u=[o];s&&(u=u.concat(s)),u.push(a);var c=this.getPath(u);return Object(x.mix)({},Ve.defaultEdge.style,{stroke:Ve.defaultEdge.color,lineWidth:i,path:c},r)},updateShapeStyle:function(t,e,n){var r,i=e.getContainer(),o=(null===(r=e.getKeyShape)||void 0===r?void 0:r.call(e))||i.shapeMap["edge-shape"],a=t.size,s=(t=this.getPathPoints(t)).startPoint,u=t.endPoint,c=this.getControlPoints(t),l=[s];c&&(l=l.concat(c)),l.push(u);var f=o.attr(),h=t.style||{};void 0===h.stroke&&(h.stroke=t.color);var d=t.sourceNode,p=t.targetNode,g={radius:h.radius};c||(g={source:d,target:p,offset:h.offset,radius:h.radius});var v=this.getPath(l,g),y={};"move"===n?y={path:v}:(f.endArrow&&!1===h.endArrow&&(t.style.endArrow={path:""}),f.startArrow&&!1===h.startArrow&&(t.style.startArrow={path:""}),void 0===(y=Object(b.__assign)({},t.style)).lineWidth&&(y.lineWdith=(Object(x.isNumber)(a)?a:null===a||void 0===a?void 0:a[0])||f.lineWidth),void 0===y.path&&(y.path=v),void 0===y.stroke&&(y.stroke=f.stroke||t.color)),o&&o.attr(y)},getLabelStyleByPosition:function(t,e,n){var r,i=e.position||this.labelPosition,o={},a=null===n||void 0===n?void 0:n.shapeMap["edge-shape"];r="start"===i?0:"end"===i?1:.5;var s,u=e.refX||this.refX,c=e.refY||this.refY;if(t.startPoint.x===t.endPoint.x&&t.startPoint.y===t.endPoint.y)return o.x=t.startPoint.x+u,o.y=t.startPoint.y+c,o.text=t.label,o;s=Object(x.isNil)(e.autoRotate)?this.labelAutoRotate:e.autoRotate;var l=$e(a,r,u,c,s);return o.x=l.x,o.y=l.y,o.rotate=l.rotate,o.textAlign=this._getTextAlign(i,l.angle),o.text=t.label,o},getLabelBgStyleByPosition:function(t,e){if(!t)return{};var n=t.getBBox(),r=e.style&&e.style.background;if(!r)return{};var i=r.padding,o=n.width+i[1]+i[3],a=n.height+i[0]+i[2],s=Object(b.__assign)(Object(b.__assign)({},r),{width:o,height:a,x:n.minX-i[3],y:n.minY-i[0],matrix:[1,0,0,0,1,0,0,0,1]});return(Object(x.isNil)(e.autoRotate)?this.labelAutoRotate:e.autoRotate)&&(s.matrix=t.attr("matrix")||[1,0,0,0,1,0,0,0,1]),s},_getTextAlign:function(t,e){var n="center";return e?(e%=2*Math.PI,"center"!==t&&(n=e>=0&&e<=Math.PI/2||e>=1.5*Math.PI&&e<2*Math.PI?t:function(t){var e=t;return"start"===t?e="end":"end"===t&&(e="start"),e}(t)),n):t},getControlPoints:function(t){return t.controlPoints},getPathPoints:function(t){return t},drawShape:function(t,e){var n=this.getShapeStyle(t),r=e.addShape("path",{className:"edge-shape",name:"edge-shape",attrs:n});return e.shapeMap["edge-shape"]=r,r},drawLabel:function(t,e){var n=this.options.labelCfg,r=Object(x.deepMix)({},n,t.labelCfg),i=this.getLabelStyle(t,r,e),o=i.rotate;delete i.rotate;var a=e.addShape("text",{attrs:i,name:"text-shape",labelRelated:!0});if(e.shapeMap["text-shape"]=a,isNaN(o)||""===o||a.rotateAtStart(o),i.background){var s=this.drawLabelBg(t,e,a,i,o),u=this.itemType+"-label-bg";s.set("classname",u),e.shapeMap[u]=s,a.toFront()}return a},drawLabelBg:function(t,e,n,r,i){var o=this.options.labelCfg,a=Object(x.deepMix)({},o,t.labelCfg),s=this.getLabelBgStyleByPosition(n,a),u=e.addShape("rect",{name:"text-bg-shape",attrs:s,labelRelated:!0});return e.shapeMap["text-bg-shape"]=u,u}},ys=Object(b.__assign)(Object(b.__assign)({},ds),vs);Ca.registerEdge("single-edge",ys),Ca.registerEdge("line",{getControlPoints:function(){}},"single-edge"),Ca.registerEdge("spline",{getPath:function(t){return Ga(t)}},"single-edge"),Ca.registerEdge("arc",{curveOffset:20,clockwise:1,getControlPoints:function(t){var e,n,r=t.startPoint,i=t.endPoint,o=(r.x+i.x)/2,a=(r.y+i.y)/2;if(void 0!==t.controlPoints){if(n=t.controlPoints[0],e=ce(r,n,i),r.x<=i.x&&r.y>i.y?this.clockwise=e.x>n.x?0:1:r.x<=i.x&&r.yn.x?1:0:r.x>i.x&&r.y<=i.y?this.clockwise=e.y=t&&i<=t+n&&o>=e&&o<=e+r}function Ls(t,e){return!(e.minX>t.maxX||e.maxXt.maxY||e.maxY=0&&a<.5*Math.PI?(r={x:u.minX,y:u.minY},i={x:u.maxX,y:u.maxY}):.5*Math.PI<=a&&a1&&(n*=Math.sqrt(d),r*=Math.sqrt(d));var p=n*n*(h*h)+r*r*(f*f),g=p?Math.sqrt((n*n*(r*r)-p)/p):1;o===a&&(g*=-1),isNaN(g)&&(g=0);var v=r?g*n*h/r:0,y=n?g*-r*f/n:0,m=(s+c)/2+Math.cos(i)*v-Math.sin(i)*y,b=(u+l)/2+Math.sin(i)*v+Math.cos(i)*y,w=[(f-v)/n,(h-y)/r],_=[(-1*f-v)/n,(-1*h-y)/r],E=Ys([1,0],w),S=Ys(w,_);return Xs(w,_)<=-1&&(S=Math.PI),Xs(w,_)>=1&&(S=0),0===a&&S>0&&(S-=2*Math.PI),1===a&&S<0&&(S+=2*Math.PI),{cx:m,cy:b,rx:Rs(t,[c,l])?0:n,ry:Rs(t,[c,l])?0:r,startAngle:E,endAngle:E+S,xRotation:i,arcFlag:o,sweepFlag:a}}var qs=Math.sin,Ks=Math.cos,Zs=Math.atan2,Qs=Math.PI;function Js(t,e,n,r,i,o,a){var s=e.stroke,u=e.lineWidth,c=Zs(r-o,n-i),l=new Pu({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*Ks(Qs/6)+","+10*qs(Qs/6)+" L0,0 L"+10*Ks(Qs/6)+",-"+10*qs(Qs/6),stroke:s,lineWidth:u}});l.translate(i,o),l.rotateAtPoint(i,o,c),t.set(a?"startArrowShape":"endArrowShape",l)}function $s(t,e,n,r,i,o,a){var s=e.startArrow,u=e.endArrow,c=e.stroke,l=e.lineWidth,f=a?s:u,h=f.d,d=f.fill,p=f.stroke,g=f.lineWidth,v=Object(b.__rest)(f,["d","fill","stroke","lineWidth"]),y=Zs(r-o,n-i);h&&(i-=Ks(y)*h,o-=qs(y)*h);var m=new Pu({type:"path",canvas:t.get("canvas"),isArrowShape:!0,attrs:Object(b.__assign)(Object(b.__assign)({},v),{stroke:p||c,lineWidth:g||l,fill:d})});m.translate(i,o),m.rotateAtPoint(i,o,y),t.set(a?"startArrowShape":"endArrowShape",m)}function tu(t,e,n,r,i){var o=Zs(r-e,n-t);return{dx:Ks(o)*i,dy:qs(o)*i}}function eu(t,e,n,r,i,o){"object"==typeof e.startArrow?$s(t,e,n,r,i,o,!0):e.startArrow?Js(t,e,n,r,i,o,!0):t.set("startArrowShape",null)}function nu(t,e,n,r,i,o){"object"==typeof e.endArrow?$s(t,e,n,r,i,o,!1):e.endArrow?Js(t,e,n,r,i,o,!1):t.set("startArrowShape",null)}var ru={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function iu(t,e){var n=e.attr();for(var r in n){var i=n[r],o=ru[r]?ru[r]:r;"matrix"===o&&i?t.transform(i[0],i[1],i[3],i[4],i[6],i[7]):"lineDash"===o&&t.setLineDash?Object(x.isArray)(i)&&t.setLineDash(i):("strokeStyle"===o||"fillStyle"===o?i=Ws(t,e,i):"globalAlpha"===o&&(i*=t.globalAlpha),t[o]=i)}}function ou(t,e,n){for(var r=0;rx?b:x,O=b>x?1:b/x,k=b>x?x/b:1;e.translate(y,m),e.rotate(E),e.scale(O,k),e.arc(0,0,M,w,_,1-S),e.scale(1/O,1/k),e.rotate(-E),e.translate(-y,-m)}break;case"Z":e.closePath()}if("Z"===h)s=u;else{var A=f.length;s=[f[A-2],f[A-1]]}}}}function lu(t,e){var n=t.get("canvas");n&&("remove"===e&&(t._cacheCanvasBBox=t.get("cacheCanvasBBox")),t.get("hasChanged")||(t.set("hasChanged",!0),t.cfg.parent&&t.cfg.parent.get("hasChanged")||(n.refreshElement(t,e,n),n.get("autoDraw")&&n.draw())))}function fu(t){var e;if(t.destroyed)e=t._cacheCanvasBBox;else{var n=t.get("cacheCanvasBBox"),r=n&&!(!n.width||!n.height),i=t.getCanvasBBox(),o=i&&!(!i.width||!i.height);r&&o?e=function(t,e){return t&&e?{minX:Math.min(t.minX,e.minX),minY:Math.min(t.minY,e.minY),maxX:Math.max(t.maxX,e.maxX),maxY:Math.max(t.maxY,e.maxY)}:t||e}(n,i):r?e=n:o&&(e=i)}return e}var hu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(b.__extends)(e,t),e.prototype.onCanvasChange=function(t){lu(this,t)},e.prototype.getShapeBase=function(){return d},e.prototype.getGroupBase=function(){return e},e.prototype._applyClip=function(t,e){e&&(t.save(),iu(t,e),e.createPath(t),t.restore(),t.clip(),e._afterDraw())},e.prototype.cacheCanvasBBox=function(){var t=this.cfg.children,e=[],n=[];Object(x.each)(t,function(t){var r=t.cfg.cacheCanvasBBox;r&&t.cfg.isInView&&(e.push(r.minX,r.maxX),n.push(r.minY,r.maxY))});var r=null;if(e.length){var i=Object(x.min)(e),o=Object(x.max)(e),a=Object(x.min)(n),s=Object(x.max)(n);r={minX:i,minY:a,x:i,y:a,maxX:o,maxY:s,width:o-i,height:s-a};var u=this.cfg.canvas;if(u){var c=u.getViewRange();this.set("isInView",Ls(r,c))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",r)},e.prototype.draw=function(t,e){var n=this.cfg.children,r=!e||this.cfg.refresh;n.length&&r&&(t.save(),iu(t,this),this._applyClip(t,this.getClip()),ou(t,n,e),t.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},e}($i),du=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(b.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(b.__assign)(Object(b.__assign)({},e),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},e.prototype.getShapeBase=function(){return d},e.prototype.getGroupBase=function(){return hu},e.prototype.onCanvasChange=function(t){lu(this,t)},e.prototype.calculateBBox=function(){var t=this.get("type"),e=this.getHitLineWidth(),n=ro(t)(this),r=e/2,i=n.x-r,o=n.y-r,a=n.x+n.width+r,s=n.y+n.height+r;return{x:i,minX:i,y:o,minY:o,width:n.width+e,height:n.height+e,maxX:a,maxY:s}},e.prototype.isFill=function(){return!!this.attrs.fill||this.isClipShape()},e.prototype.isStroke=function(){return!!this.attrs.stroke},e.prototype._applyClip=function(t,e){e&&(t.save(),iu(t,e),e.createPath(t),t.restore(),t.clip(),e._afterDraw())},e.prototype.draw=function(t,e){var n=this.cfg.clipShape;if(e){if(!1===this.cfg.refresh)return void this.set("hasChanged",!1);if(!Ls(e,this.getCanvasBBox()))return this.set("hasChanged",!1),void(this.cfg.isInView&&this._afterDraw())}t.save(),iu(t,this),this._applyClip(t,n),this.drawPath(t),t.restore(),this._afterDraw()},e.prototype.getCanvasViewBox=function(){var t=this.cfg.canvas;return t?t.getViewRange():null},e.prototype.cacheCanvasBBox=function(){var t=this.getCanvasViewBox();if(t){var e=this.getCanvasBBox(),n=Ls(e,t);this.set("isInView",n),n?this.set("cacheCanvasBBox",e):this.set("cacheCanvasBBox",null)}},e.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set("hasChanged",!1),this.set("refresh",null)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("isInView",null),this.set("hasChanged",!1)},e.prototype.drawPath=function(t){this.createPath(t),this.strokeAndFill(t),this.afterDrawPath(t)},e.prototype.fill=function(t){t.fill()},e.prototype.stroke=function(t){t.stroke()},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,r=e.opacity,i=e.strokeOpacity,o=e.fillOpacity;this.isFill()&&(Object(x.isNil)(o)||1===o?this.fill(t):(t.globalAlpha=o,this.fill(t),t.globalAlpha=r)),this.isStroke()&&n>0&&(Object(x.isNil)(i)||1===i||(t.globalAlpha=i),this.stroke(t)),this.afterDrawPath(t)},e.prototype.createPath=function(t){},e.prototype.afterDrawPath=function(t){},e.prototype.isInShape=function(t,e){var n=this.isStroke(),r=this.isFill(),i=this.getHitLineWidth();return this.isInStrokeOrPath(t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t.lineWidth+t.lineAppendWidth},e}(to),pu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(b.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(b.__assign)(Object(b.__assign)({},e),{x:0,y:0,r:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.attr(),a=o.x,s=o.y,u=o.r,c=i/2,l=js(a,s,t,e);return r&&n?l<=u+c:r?l<=u:!!n&&(l>=u-c&&l<=u+c)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.r;t.beginPath(),t.arc(n,r,i,0,2*Math.PI,!1),t.closePath()},e}(du);function gu(t,e,n,r){return t/(n*n)+e/(r*r)}var vu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(b.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(b.__assign)(Object(b.__assign)({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.attr(),a=i/2,s=o.x,u=o.y,c=o.rx,l=o.ry,f=(t-s)*(t-s),h=(e-u)*(e-u);return r&&n?gu(f,h,c+a,l+a)<=1:r?gu(f,h,c,l)<=1:!!n&&(gu(f,h,c-a,l-a)>=1&&gu(f,h,c+a,l+a)<=1)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.rx,o=e.ry;if(t.beginPath(),t.ellipse)t.ellipse(n,r,i,o,0,0,2*Math.PI,!1);else{var a=i>o?i:o,s=i>o?1:i/o,u=i>o?o/i:1;t.save(),t.translate(n,r),t.scale(s,u),t.arc(0,0,a,0,2*Math.PI),t.restore(),t.closePath()}},e}(du);function yu(t){return t instanceof HTMLElement&&Object(x.isString)(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase()}var mu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(b.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(b.__assign)(Object(b.__assign)({},e),{x:0,y:0,width:0,height:0})},e.prototype.initAttrs=function(t){this._setImage(t.img)},e.prototype.isStroke=function(){return!1},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._afterLoading=function(){if(!0===this.get("toDraw")){var t=this.get("canvas");t?t.draw():this.createPath(this.get("context"))}},e.prototype._setImage=function(t){var e=this,n=this.attrs;if(Object(x.isString)(t)){var r=new Image;r.onload=function(){if(e.destroyed)return!1;e.attr("img",r),e.set("loading",!1),e._afterLoading();var t=e.get("callback");t&&t.call(e)},r.crossOrigin="Anonymous",r.src=t,this.set("loading",!0)}else t instanceof Image?(n.width||(n.width=t.width),n.height||(n.height=t.height)):yu(t)&&(n.width||(n.width=Number(t.getAttribute("width"))),n.height||(n.height,Number(t.getAttribute("height"))))},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),"img"===e&&this._setImage(n)},e.prototype.createPath=function(t){if(this.get("loading"))return this.set("toDraw",!0),void this.set("context",t);var e=this.attr(),n=e.x,r=e.y,i=e.width,o=e.height,a=e.sx,s=e.sy,u=e.swidth,c=e.sheight,l=e.img;(l instanceof Image||yu(l))&&(Object(x.isNil)(a)||Object(x.isNil)(s)||Object(x.isNil)(u)||Object(x.isNil)(c)?t.drawImage(l,n,r,i,o):t.drawImage(l,a,s,u,c,n,r,i,o))},e}(du);function bu(t,e,n,r,i,o,a){var s=Math.min(t,n),u=Math.max(t,n),c=Math.min(e,r),l=Math.max(e,r),f=i/2;return o>=s-f&&o<=u+f&&a>=c-f&&a<=l+f&&go.pointToLine(t,e,n,r,o,a)<=i/2}var xu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(b.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(b.__assign)(Object(b.__assign)({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2,o=t.startArrow,a=t.endArrow;o&&eu(this,t,r,i,e,n),a&&nu(this,t,e,n,r,i)},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){if(!n||!i)return!1;var o=this.attr();return bu(o.x1,o.y1,o.x2,o.y2,i,t,e)},e.prototype.createPath=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2,a=e.startArrow,s=e.endArrow,u={dx:0,dy:0},c={dx:0,dy:0};a&&a.d&&(u=tu(n,r,i,o,e.startArrow.d)),s&&s.d&&(c=tu(n,r,i,o,e.endArrow.d)),t.beginPath(),t.moveTo(n+u.dx,r+u.dy),t.lineTo(i-c.dx,o-c.dy)},e.prototype.afterDrawPath=function(t){var e=this.get("startArrowShape"),n=this.get("endArrowShape");e&&e.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2;return go.length(e,n,r,i)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2;return go.pointAt(n,r,i,o,t)},e}(du),wu={circle:function(t,e,n){return[["M",t-n,e],["A",n,n,0,1,0,t+n,e],["A",n,n,0,1,0,t-n,e]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["Z"]]},"triangle-down":function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}},_u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(b.__extends)(e,t),e.prototype.initAttrs=function(t){this._resetParamsCache()},e.prototype._resetParamsCache=function(){this.set("paramsCache",{})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["symbol","x","y","r","radius"].indexOf(e)&&this._resetParamsCache()},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._getR=function(t){return Object(x.isNil)(t.r)?t.radius:t.r},e.prototype._getPath=function(){var t,n,r=this.attr(),i=r.x,o=r.y,a=r.symbol||"circle",s=this._getR(r);if(Object(x.isFunction)(a))n=ta(n=(t=a)(i,o,s));else{if(!(t=e.Symbols[a]))return console.warn(a+" marker is not supported."),null;n=t(i,o,s)}return n},e.prototype.createPath=function(t){cu(this,t,{path:this._getPath()},this.get("paramsCache"))},e.Symbols=wu,e}(du);function Eu(t,e,n){var r=zo();return t.createPath(r),r.isPointInPath(e,n)}var Su=1e-6;function Mu(t){return Math.abs(t)0!=Mu(s[1]-n)>0&&Mu(e-(n-a[1])*(a[0]-s[0])/(a[1]-s[1])-a[0])<0&&(r=!r)}return r}var Au=n("n+fv");function Cu(t,e,n,r,i,o,a,s){var u=(Math.atan2(s-e,a-t)+2*Math.PI)%(2*Math.PI);if(ui)return!1;var c={x:t+n*Math.cos(u),y:e+n*Math.sin(u)};return js(c.x,c.y,a,s)<=o/2}var Iu=r.transform;var Tu=Object(b.__assign)({hasArc:function(t){for(var e=!1,n=t.length,r=0;r0&&r.push(i),{polygons:n,polylines:r}},isPointInStroke:function(t,e,n,r,i){for(var o=!1,a=e/2,s=0;sy?v:y,E=Iu(null,[["t",-p,-g],["r",-x],["s",1/(v>y?1:v/y),1/(v>y?y/v:1)]]);Au.transformMat3(w,w,E),o=Cu(0,0,_,m,b,e,w[0],w[1])}if(o)break}}return o}},s);function Nu(t,e,n){for(var r=!1,i=0;i=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)});var o=i[n];if(Object(x.isNil)(o)||Object(x.isNil)(n))return null;var a=o.length,s=i[n+1];return Ao.pointAt(o[a-2],o[a-1],s[1],s[2],s[3],s[4],s[5],s[6],e)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",Tu.pathToCurve(t))},e.prototype._setTcache=function(){var t,e,n,r,i=0,o=0,a=[],s=this.get("curve");s&&(Object(x.each)(s,function(t,e){n=s[e+1],r=t.length,n&&(i+=Ao.length(t[r-2],t[r-1],n[1],n[2],n[3],n[4],n[5],n[6])||0)}),this.set("totalLength",i),0!==i?(Object(x.each)(s,function(u,c){n=s[c+1],r=u.length,n&&((t=[])[0]=o/i,e=Ao.length(u[r-2],u[r-1],n[1],n[2],n[3],n[4],n[5],n[6]),o+=e||0,t[1]=o/i,a.push(t))}),this.set("tCache",a)):this.set("tCache",[]))},e.prototype.getStartTangent=function(){var t,e=this.getSegments();if(e.length>1){var n=e[0].currentPoint,r=e[1].currentPoint,i=e[1].startTangent;t=[],i?(t.push([n[0]-i[0],n[1]-i[1]]),t.push([n[0],n[1]])):(t.push([r[0],r[1]]),t.push([n[0],n[1]]))}return t},e.prototype.getEndTangent=function(){var t,e=this.getSegments(),n=e.length;if(n>1){var r=e[n-2].currentPoint,i=e[n-1].currentPoint,o=e[n-1].endTangent;t=[],o?(t.push([i[0]-o[0],i[1]-o[1]]),t.push([i[0],i[1]])):(t.push([r[0],r[1]]),t.push([i[0],i[1]]))}return t},e}(du);function ju(t,e,n,r,i){var o=t.length;if(o<2)return!1;for(var a=0;a=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),go.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t=this.attr().points;if(t&&0!==t.length){var e=this.getTotalLength();if(!(e<=0)){var n,r,i=0,o=[];Object(x.each)(t,function(a,s){t[s+1]&&((n=[])[0]=i/e,r=go.length(a[0],a[1],t[s+1][0],t[s+1][1]),i+=r,n[1]=i/e,o.push(n))}),this.set("tCache",o)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(du);var Ru=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(b.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(b.__assign)(Object(b.__assign)({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,e,n,r,i){var o=this.attr(),a=o.x,s=o.y,u=o.width,c=o.height,l=o.radius;if(l){var f=!1;return n&&(f=function(t,e,n,r,i,o,a,s){return bu(t+i,e,t+n-i,e,o,a,s)||bu(t+n,e+i,t+n,e+r-i,o,a,s)||bu(t+n-i,e+r,t+i,e+r,o,a,s)||bu(t,e+r-i,t,e+i,o,a,s)||Cu(t+n-i,e+i,i,1.5*Math.PI,2*Math.PI,o,a,s)||Cu(t+n-i,e+r-i,i,0,.5*Math.PI,o,a,s)||Cu(t+i,e+r-i,i,.5*Math.PI,Math.PI,o,a,s)||Cu(t+i,e+i,i,Math.PI,1.5*Math.PI,o,a,s)}(a,s,u,c,l,i,t,e)),!f&&r&&(f=Eu(this,t,e)),f}var h=i/2;return r&&n?Ds(a-h,s-h,u+h,c+h,t,e):r?Ds(a,s,u,c,t,e):n?function(t,e,n,r,i,o,a){var s=i/2;return Ds(t-s,e-s,n,i,o,a)||Ds(t+n-s,e-s,i,r,o,a)||Ds(t+s,e+r-s,n,i,o,a)||Ds(t-s,e+s,i,r,o,a)}(a,s,u,c,i,t,e):void 0},e.prototype.createPath=function(t){var e=this.attr(),n=e.x,r=e.y,i=e.width,o=e.height,a=e.radius;if(t.beginPath(),0===a)t.rect(n,r,i,o);else{var s=function(t){var e=0,n=0,r=0,i=0;return Object(x.isArray)(t)?1===t.length?e=n=r=i=t[0]:2===t.length?(e=r=t[0],n=i=t[1]):3===t.length?(e=t[0],n=i=t[1],r=t[2]):(e=t[0],n=t[1],r=t[2],i=t[3]):e=n=r=i=t,[e,n,r,i]}(a),u=s[0],c=s[1],l=s[2],f=s[3];t.moveTo(n+u,r),t.lineTo(n+i-c,r),0!==c&&t.arc(n+i-c,r+c,c,-Math.PI/2,0),t.lineTo(n+i,r+o-l),0!==l&&t.arc(n+i-l,r+o-l,l,0,Math.PI/2),t.lineTo(n+f,r+o),0!==f&&t.arc(n+f,r+o-f,f,Math.PI/2,Math.PI),t.lineTo(n,r+u),0!==u&&t.arc(n+u,r+u,u,Math.PI,1.5*Math.PI),t.closePath()}},e}(du),Bu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(b.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(b.__assign)(Object(b.__assign)({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.isOnlyHitBox=function(){return!0},e.prototype.initAttrs=function(t){this._assembleFont(),t.text&&this._setText(t.text)},e.prototype._assembleFont=function(){var t=this.attrs;t.font=Wo(t)},e.prototype._setText=function(t){var e=null;Object(x.isString)(t)&&-1!==t.indexOf("\n")&&(e=t.split("\n")),this.set("textArr",e)},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),e.startsWith("font")&&this._assembleFont(),"text"===e&&this._setText(n)},e.prototype._getSpaceingY=function(){var t=this.attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},e.prototype._drawTextArr=function(t,e,n){var r,i=this.attrs,o=i.textBaseline,a=i.x,s=i.y,u=1*i.fontSize,c=this._getSpaceingY(),l=Uo(i.text,i.fontSize,i.lineHeight);Object(x.each)(e,function(e,i){r=s+i*(c+u)-l+u,"middle"===o&&(r+=l-u-(l-u)/2),"top"===o&&(r+=l-u),Object(x.isNil)(e)||(n?t.fillText(e,a,r):t.strokeText(e,a,r))})},e.prototype._drawText=function(t,e){var n=this.attr(),r=n.x,i=n.y,o=this.get("textArr");if(o)this._drawTextArr(t,o,e);else{var a=n.text;Object(x.isNil)(a)||(e?t.fillText(a,r,i):t.strokeText(a,r,i))}},e.prototype.strokeAndFill=function(t){var e=this.attrs,n=e.lineWidth,r=e.opacity,i=e.strokeOpacity,o=e.fillOpacity;this.isStroke()&&n>0&&(Object(x.isNil)(i)||1===i||(t.globalAlpha=r),this.stroke(t)),this.isFill()&&(Object(x.isNil)(o)||1===o?this.fill(t):(t.globalAlpha=o,this.fill(t),t.globalAlpha=r)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(du);function Gu(t,e,n){var r=t.getTotalMatrix();if(r){var i=function(t,e){return e?$n(tr(e),t):t}([e,n,1],r);return[i[0],i[1]]}return[e,n]}function Fu(t,e,n){if(t.isCanvas&&t.isCanvas())return!0;if(!Kn(t)||!1===t.cfg.isInView)return!1;if(t.cfg.clipShape){var r=Gu(t,e,n),i=r[0],o=r[1];if(t.isClipped(i,o))return!1}var a=t.cfg.cacheCanvasBBox||t.getCanvasBBox();return e>=a.minX&&e<=a.maxX&&n>=a.minY&&n<=a.maxY}var zu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(b.__extends)(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.renderer="canvas",e.autoDraw=!0,e.localRefresh=!0,e.refreshElements=[],e.clipView=!0,e.quickHit=!1,e},e.prototype.onCanvasChange=function(t){"attr"!==t&&"sort"!==t&&"changeSize"!==t||(this.set("refreshElements",[this]),this.draw())},e.prototype.getShapeBase=function(){return d},e.prototype.getGroupBase=function(){return hu},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||(window?window.devicePixelRatio:1);return t>=1?Math.ceil(t):1},e.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},e.prototype.createDom=function(){var t=document.createElement("canvas"),e=t.getContext("2d");return this.set("context",e),t},e.prototype.setDOMSize=function(e,n){t.prototype.setDOMSize.call(this,e,n);var r=this.get("context"),i=this.get("el"),o=this.getPixelRatio();i.width=o*e,i.height=o*n,o>1&&r.scale(o,o)},e.prototype.clear=function(){t.prototype.clear.call(this),this._clearFrame();var e=this.get("context"),n=this.get("el");e.clearRect(0,0,n.width,n.height)},e.prototype.getShape=function(e,n){return this.get("quickHit")?function t(e,n,r){if(!Fu(e,n,r))return null;for(var i=null,o=e.getChildren(),a=o.length-1;a>=0;a--){var s=o[a];if(s.isGroup())i=t(s,n,r);else if(Fu(s,n,r)){var u=s,c=Gu(s,n,r),l=c[0],f=c[1];u.isInShape(l,f)&&(i=s)}if(i)break}return i}(this,e,n):t.prototype.getShape.call(this,e,n,null)},e.prototype._getRefreshRegion=function(){var t,e=this.get("refreshElements"),n=this.getViewRange();e.length&&e[0]===this?t=n:(t=function(t){if(!t.length)return null;var e=[],n=[],r=[],i=[];return Object(x.each)(t,function(t){var o=fu(t);o&&(e.push(o.minX),n.push(o.minY),r.push(o.maxX),i.push(o.maxY))}),{minX:Object(x.min)(e),minY:Object(x.min)(n),maxX:Object(x.max)(r),maxY:Object(x.max)(i)}}(e))&&(t.minX=Math.floor(t.minX),t.minY=Math.floor(t.minY),t.maxX=Math.ceil(t.maxX),t.maxY=Math.ceil(t.maxY),t.maxY+=1,this.get("clipView")&&(t=function(t,e){return t&&e&&Ls(t,e)?{minX:Math.max(t.minX,e.minX),minY:Math.max(t.minY,e.minY),maxX:Math.min(t.maxX,e.maxX),maxY:Math.min(t.maxY,e.maxY)}:null}(t,n)));return t},e.prototype.refreshElement=function(t){this.get("refreshElements").push(t)},e.prototype._clearFrame=function(){var t=this.get("drawFrame");t&&(Object(x.clearAnimationFrame)(t),this.set("drawFrame",null),this.set("refreshElements",[]))},e.prototype.draw=function(){var t=this.get("drawFrame");this.get("autoDraw")&&t||this._startDraw()},e.prototype._drawAll=function(){var t=this.get("context"),e=this.get("el"),n=this.getChildren();t.clearRect(0,0,e.width,e.height),iu(t,this),ou(t,n),this.set("refreshElements",[])},e.prototype._drawRegion=function(){var t=this.get("context"),e=this.get("refreshElements"),n=this.getChildren(),r=this._getRefreshRegion();r?(t.clearRect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.save(),t.beginPath(),t.rect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),t.clip(),iu(t,this),au(this,n,r),ou(t,n,r),t.restore()):e.length&&function t(e){for(var n=0;ne)n.insertBefore(t,i);else if(o0&&(e?"stroke"in n?this._setColor(t,"stroke",o):"strokeStyle"in n&&this._setColor(t,"stroke",a):this._setColor(t,"stroke",o||a),u&&l.setAttribute(Wu.strokeOpacity,u),c&&l.setAttribute(Wu.lineWidth,c))},e.prototype._setColor=function(t,e,n){var r=this.get("el");if(n)if(n=n.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(n))(i=t.find("gradient",n))||(i=t.addGradient(n)),r.setAttribute(Wu[e],"url(#"+i+")");else if(/^[p,P]{1}[\s]*\(/.test(n)){var i;(i=t.find("pattern",n))||(i=t.addPattern(n)),r.setAttribute(Wu[e],"url(#"+i+")")}else r.setAttribute(Wu[e],n);else r.setAttribute(Wu[e],"none")},e.prototype.shadow=function(t,e){var n=this.attr(),r=e||n,i=r.shadowOffsetX,o=r.shadowOffsetY,a=r.shadowBlur,s=r.shadowColor;(i||o||a||s)&&function(t,e){var n=t.cfg.el,r=t.attr(),i={dx:r.shadowOffsetX,dy:r.shadowOffsetY,blur:r.shadowBlur,color:r.shadowColor};if(i.dx||i.dy||i.blur||i.color){var o=e.find("filter",i);o||(o=e.addShadow(i)),n.setAttribute("filter","url(#"+o+")")}else n.removeAttribute("filter")}(this,t)},e.prototype.transform=function(t){var e=this.attr();(t||e).matrix&&Hu(this)},e.prototype.isInShape=function(t,e){return this.isPointInPath(t,e)},e.prototype.isPointInPath=function(t,e){var n=this.get("el"),r=this.get("canvas").get("el").getBoundingClientRect(),i=t+r.left,o=e+r.top,a=document.elementFromPoint(i,o);return!(!a||!a.isEqualNode(n))},e.prototype.getHitLineWidth=function(){var t=this.attrs,e=t.lineWidth,n=t.lineAppendWidth;return this.isStroke()?e+n:0},e}(to),$u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="circle",e.canFill=!0,e.canStroke=!0,e}return Object(b.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(b.__assign)(Object(b.__assign)({},e),{x:0,y:0,r:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(x.each)(e||n,function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):Wu[e]&&r.setAttribute(Wu[e],t)})},e}(Ju),tc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dom",e.canFill=!1,e.canStroke=!1,e}return Object(b.__extends)(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");if(Object(x.each)(e||n,function(t,e){Wu[e]&&r.setAttribute(Wu[e],t)}),"function"==typeof n.html){var i=n.html.call(this,n);if(i instanceof Element||i instanceof HTMLDocument){for(var o=r.childNodes,a=o.length-1;a>=0;a--)r.removeChild(o[a]);r.appendChild(i)}else r.innerHTML=i}else r.innerHTML=n.html},e}(Ju),ec=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="ellipse",e.canFill=!0,e.canStroke=!0,e}return Object(b.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(b.__assign)(Object(b.__assign)({},e),{x:0,y:0,rx:0,ry:0})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(x.each)(e||n,function(t,e){"x"===e||"y"===e?r.setAttribute("c"+e,t):Wu[e]&&r.setAttribute(Wu[e],t)})},e}(Ju),nc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="image",e.canFill=!1,e.canStroke=!1,e}return Object(b.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(b.__assign)(Object(b.__assign)({},e),{x:0,y:0,width:0,height:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");Object(x.each)(e||r,function(t,e){"img"===e?n._setImage(r.img):Wu[e]&&i.setAttribute(Wu[e],t)})},e.prototype.setAttr=function(t,e){this.attrs[t]=e,"img"===t&&this._setImage(e)},e.prototype._setImage=function(t){var e=this.attr(),n=this.get("el");if(Object(x.isString)(t))n.setAttribute("href",t);else if(t instanceof window.Image)e.width||(n.setAttribute("width",t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",t.height),this.attr("height",t.height)),n.setAttribute("href",t.src);else if(t instanceof HTMLElement&&Object(x.isString)(t.nodeName)&&"CANVAS"===t.nodeName.toUpperCase())n.setAttribute("href",t.toDataURL());else if(t instanceof ImageData){var r=document.createElement("canvas");r.setAttribute("width",""+t.width),r.setAttribute("height",""+t.height),r.getContext("2d").putImageData(t,0,0),e.width||(n.setAttribute("width",""+t.width),this.attr("width",t.width)),e.height||(n.setAttribute("height",""+t.height),this.attr("height",t.height)),n.setAttribute("href",r.toDataURL())}},e}(Ju),rc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="line",e.canFill=!1,e.canStroke=!0,e}return Object(b.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(b.__assign)(Object(b.__assign)({},e),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(x.each)(e||n,function(e,i){if("startArrow"===i||"endArrow"===i)if(e){var o=Object(x.isObject)(e)?t.addArrow(n,Wu[i]):t.getDefaultArrow(n,Wu[i]);r.setAttribute(Wu[i],"url(#"+o+")")}else r.removeAttribute(Wu[i]);else Wu[i]&&r.setAttribute(Wu[i],e)})},e.prototype.getTotalLength=function(){var t=this.attr(),e=t.x1,n=t.y1,r=t.x2,i=t.y2;return go.length(e,n,r,i)},e.prototype.getPoint=function(t){var e=this.attr(),n=e.x1,r=e.y1,i=e.x2,o=e.y2;return go.pointAt(n,r,i,o,t)},e}(Ju),ic={circle:function(t,e,n){return[["M",t,e],["m",-n,0],["a",n,n,0,1,0,2*n,0],["a",n,n,0,1,0,2*-n,0]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["z"]]},triangleDown:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}},oc={get:function(t){return ic[t]},register:function(t,e){ic[t]=e},remove:function(t){delete ic[t]},getAll:function(){return ic}},ac=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="marker",e.canFill=!0,e.canStroke=!0,e}return Object(b.__extends)(e,t),e.prototype.createPath=function(t){this.get("el").setAttribute("d",this._assembleMarker())},e.prototype._assembleMarker=function(){var t=this._getPath();return Object(x.isArray)(t)?t.map(function(t){return t.join(" ")}).join(""):t},e.prototype._getPath=function(){var t,e=this.attr(),n=e.x,r=e.y,i=e.r||e.radius,o=e.symbol||"circle";return(t=Object(x.isFunction)(o)?o:oc.get(o))?t(n,r,i):(console.warn(t+" symbol is not exist."),null)},e.symbolsFactory=oc,e}(Ju),sc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="path",e.canFill=!0,e.canStroke=!0,e}return Object(b.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(b.__assign)(Object(b.__assign)({},e),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");Object(x.each)(e||r,function(e,o){if("path"===o&&Object(x.isArray)(e))i.setAttribute("d",n._formatPath(e));else if("startArrow"===o||"endArrow"===o)if(e){var a=Object(x.isObject)(e)?t.addArrow(r,Wu[o]):t.getDefaultArrow(r,Wu[o]);i.setAttribute(Wu[o],"url(#"+a+")")}else i.removeAttribute(Wu[o]);else Wu[o]&&i.setAttribute(Wu[o],e)})},e.prototype._formatPath=function(t){var e=t.map(function(t){return t.join(" ")}).join("");return~e.indexOf("NaN")?"":e},e.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},e.prototype.getPoint=function(t){var e=this.get("el"),n=this.getTotalLength();if(0===n)return null;var r=e?e.getPointAtLength(t*n):null;return r?{x:r.x,y:r.y}:null},e}(Ju),uc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polygon",e.canFill=!0,e.canStroke=!0,e}return Object(b.__extends)(e,t),e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(x.each)(e||n,function(t,e){"points"===e&&Object(x.isArray)(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):Wu[e]&&r.setAttribute(Wu[e],t)})},e}(Ju),cc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="polyline",e.canFill=!0,e.canStroke=!0,e}return Object(b.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(b.__assign)(Object(b.__assign)({},e),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(e,n,r){t.prototype.onAttrChange.call(this,e,n,r),-1!==["points"].indexOf(e)&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.createPath=function(t,e){var n=this.attr(),r=this.get("el");Object(x.each)(e||n,function(t,e){"points"===e&&Object(x.isArray)(t)&&t.length>=2?r.setAttribute("points",t.map(function(t){return t[0]+","+t[1]}).join(" ")):Wu[e]&&r.setAttribute(Wu[e],t)})},e.prototype.getTotalLength=function(){var t=this.attr().points,e=this.get("totalLength");return Object(x.isNil)(e)?(this.set("totalLength",Ro(t)),this.get("totalLength")):e},e.prototype.getPoint=function(t){var e,n,r=this.attr().points,i=this.get("tCache");return i||(this._setTcache(),i=this.get("tCache")),Object(x.each)(i,function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),go.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],e)},e.prototype._setTcache=function(){var t=this.attr().points;if(t&&0!==t.length){var e=this.getTotalLength();if(!(e<=0)){var n,r,i=0,o=[];Object(x.each)(t,function(a,s){t[s+1]&&((n=[])[0]=i/e,r=go.length(a[0],a[1],t[s+1][0],t[s+1][1]),i+=r,n[1]=i/e,o.push(n))}),this.set("tCache",o)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},e.prototype.getEndTangent=function(){var t=this.attr().points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},e}(Ju);var lc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rect",e.canFill=!0,e.canStroke=!0,e}return Object(b.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(b.__assign)(Object(b.__assign)({},e),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el"),o=!1,a=["x","y","width","height","radius"];Object(x.each)(e||r,function(t,e){-1===a.indexOf(e)||o?-1===a.indexOf(e)&&Wu[e]&&i.setAttribute(Wu[e],t):(i.setAttribute("d",n._assembleRect(r)),o=!0)})},e.prototype._assembleRect=function(t){var e=t.x,n=t.y,r=t.width,i=t.height,o=t.radius;if(!o)return"M "+e+","+n+" l "+r+",0 l 0,"+i+" l"+-r+" 0 z";var a=function(t){var e=0,n=0,r=0,i=0;return Object(x.isArray)(t)?1===t.length?e=n=r=i=t[0]:2===t.length?(e=r=t[0],n=i=t[1]):3===t.length?(e=t[0],n=i=t[1],r=t[2]):(e=t[0],n=t[1],r=t[2],i=t[3]):e=n=r=i=t,{r1:e,r2:n,r3:r,r4:i}}(o);return Object(x.isArray)(o)?1===o.length?a.r1=a.r2=a.r3=a.r4=o[0]:2===o.length?(a.r1=a.r3=o[0],a.r2=a.r4=o[1]):3===o.length?(a.r1=o[0],a.r2=a.r4=o[1],a.r3=o[2]):(a.r1=o[0],a.r2=o[1],a.r3=o[2],a.r4=o[3]):a.r1=a.r2=a.r3=a.r4=o,[["M "+(e+a.r1)+","+n],["l "+(r-a.r1-a.r2)+",0"],["a "+a.r2+","+a.r2+",0,0,1,"+a.r2+","+a.r2],["l 0,"+(i-a.r2-a.r3)],["a "+a.r3+","+a.r3+",0,0,1,"+-a.r3+","+a.r3],["l "+(a.r3+a.r4-r)+",0"],["a "+a.r4+","+a.r4+",0,0,1,"+-a.r4+","+-a.r4],["l 0,"+(a.r4+a.r1-i)],["a "+a.r1+","+a.r1+",0,0,1,"+a.r1+","+-a.r1],["z"]].join(" ")},e}(Ju),fc={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},hc={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},dc={left:"left",start:"left",center:"middle",right:"end",end:"end"},pc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="text",e.canFill=!0,e.canStroke=!0,e}return Object(b.__extends)(e,t),e.prototype.getDefaultAttrs=function(){var e=t.prototype.getDefaultAttrs.call(this);return Object(b.__assign)(Object(b.__assign)({},e),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.createPath=function(t,e){var n=this,r=this.attr(),i=this.get("el");this._setFont(),Object(x.each)(e||r,function(t,e){"text"===e?n._setText(""+t):"matrix"===e&&t?Hu(n):Wu[e]&&i.setAttribute(Wu[e],t)}),i.setAttribute("paint-order","stroke"),i.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},e.prototype._setFont=function(){var t=this.get("el"),e=this.attr(),n=e.textBaseline,r=e.textAlign,i=Object(Qn.a)();i&&"firefox"===i.name?t.setAttribute("dominant-baseline",hc[n]||"alphabetic"):t.setAttribute("alignment-baseline",fc[n]||"baseline"),t.setAttribute("text-anchor",dc[r]||"left")},e.prototype._setText=function(t){var e=this.get("el"),n=this.attr(),r=n.x,i=n.textBaseline,o=void 0===i?"bottom":i;if(t)if(~t.indexOf("\n")){var a=t.split("\n"),s=a.length-1,u="";Object(x.each)(a,function(t,e){0===e?"alphabetic"===o?u+=''+t+"":"top"===o?u+=''+t+"":"middle"===o?u+=''+t+"":"bottom"===o?u+=''+t+"":"hanging"===o&&(u+=''+t+""):u+=''+t+""}),e.innerHTML=u}else e.innerHTML=t;else e.innerHTML=""},e}(Ju),gc=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,vc=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,yc=/[\d.]+:(#[^\s]+|[^)]+\))/gi;function mc(t){var e=t.match(yc);if(!e)return"";var n="";return e.sort(function(t,e){return t=t.split(":"),e=e.split(":"),Number(t[0])-Number(e[0])}),Object(x.each)(e,function(t){t=t.split(":"),n+=''}),n}var bc=function(){function t(t){this.cfg={};var e=null,n=Object(x.uniqueId)("gradient_");return"l"===t.toLowerCase()[0]?function(t,e){var n,r,i=gc.exec(t),o=Object(x.mod)(Object(x.toRadian)(parseFloat(i[1])),2*Math.PI),a=i[2];o>=0&&o<.5*Math.PI?(n={x:0,y:0},r={x:1,y:1}):.5*Math.PI<=o&&o';e.innerHTML=n},t}(),Ec=function(){function t(t,e){this.cfg={};var n=Vu("marker"),r=Object(x.uniqueId)("marker_");n.setAttribute("id",r);var i=Vu("path");i.setAttribute("stroke",t.stroke||"none"),i.setAttribute("fill",t.fill||"none"),n.appendChild(i),n.setAttribute("overflow","visible"),n.setAttribute("orient","auto-start-reverse"),this.el=n,this.child=i,this.id=r;var o=t["marker-start"===e?"startArrow":"endArrow"];return this.stroke=t.stroke||"#000",!0===o?this._setDefaultPath(e,i):(this.cfg=o,this._setMarker(t.lineWidth,i)),this}return t.prototype.match=function(){return!1},t.prototype._setDefaultPath=function(t,e){var n=this.el;e.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),n.setAttribute("refX",""+10*Math.cos(Math.PI/6)),n.setAttribute("refY","5")},t.prototype._setMarker=function(t,e){var n=this.el,r=this.cfg.path,i=this.cfg.d;Object(x.isArray)(r)&&(r=r.map(function(t){return t.join(" ")}).join("")),e.setAttribute("d",r),n.appendChild(e),i&&n.setAttribute("refX",""+i/t)},t.prototype.update=function(t){var e=this.child;e.attr?e.attr("fill",t):e.setAttribute("fill",t)},t}(),Sc=function(){function t(t){this.type="clip",this.cfg={};var e=Vu("clipPath");this.el=e,this.id=Object(x.uniqueId)("clip_"),e.id=this.id;var n=t.cfg.el;return e.appendChild(n),this.cfg=t,this}return t.prototype.match=function(){return!1},t.prototype.remove=function(){var t=this.el;t.parentNode.removeChild(t)},t}(),Mc=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,Oc=function(){function t(t){this.cfg={};var e=Vu("pattern");e.setAttribute("patternUnits","userSpaceOnUse");var n=Vu("image");e.appendChild(n);var r=Object(x.uniqueId)("pattern_");e.id=r,this.el=e,this.id=r,this.cfg=t;var i=Mc.exec(t)[2];n.setAttribute("href",i);var o=new Image;function a(){e.setAttribute("width",""+o.width),e.setAttribute("height",""+o.height)}return i.match(/^data:/i)||(o.crossOrigin="Anonymous"),o.src=i,o.complete?a():(o.onload=a,o.src=o.src),this}return t.prototype.match=function(t,e){return this.cfg===e},t}(),kc=function(){function t(t){var e=Vu("defs"),n=Object(x.uniqueId)("defs_");e.id=n,t.appendChild(e),this.children=[],this.defaultArrow={},this.el=e,this.canvas=t}return t.prototype.find=function(t,e){for(var n=this.children,r=null,i=0;i=60&&Math.round(t.h)<=240?n?Math.round(t.h)-Pc*e:Math.round(t.h)+Pc*e:n?Math.round(t.h)+Pc*e:Math.round(t.h)-Pc*e)<0?r+=360:r>=360&&(r-=360),r}function Uc(t,e,n){return 0===t.h&&0===t.s?t.s:((r=n?t.s-jc*e:e===Gc?t.s+jc:t.s+Dc*e)>1&&(r=1),n&&e===Bc&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function Wc(t,e,n){var r;return(r=n?t.v+Lc*e:t.v-Rc*e)>1&&(r=1),Number(r.toFixed(2))}function Vc(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=Nc()(t),i=Bc;i>0;i-=1){var o=r.toHsv(),a=Nc()({h:zc(o,i,!0),s:Uc(o,i,!0),v:Wc(o,i,!0)}).toHexString();n.push(a)}n.push(r.toHexString());for(var s=1;s<=Gc;s+=1){var u=r.toHsv(),c=Nc()({h:zc(u,s),s:Uc(u,s),v:Wc(u,s)}).toHexString();n.push(c)}return"dark"===e.theme?Fc.map(function(t){var r=t.index,i=t.opacity;return Nc.a.mix(e.backgroundColor||"#141414",n[r],100*i).toHexString()}):n}var Xc={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Yc={},Hc={};Object.keys(Xc).forEach(function(t){Yc[t]=Vc(Xc[t]),Yc[t].primary=Yc[t][5],Hc[t]=Vc(Xc[t],{theme:"dark",backgroundColor:"#141414"}),Hc[t].primary=Hc[t][5]});Yc.red,Yc.volcano,Yc.gold,Yc.orange,Yc.yellow,Yc.lime,Yc.green,Yc.cyan,Yc.blue,Yc.geekblue,Yc.purple,Yc.magenta,Yc.grey;var qc,Kc,Zc,Qc,Jc=function(t,e,n){var r=Ic()(t),i=Ic()(e);return Ic()([(1-n)*r.red()+n*i.red(),(1-n)*r.green()+n*i.green(),(1-n)*r.blue()+n*i.blue()]).rgb()},$c=function(t,e,n,r){return void 0===e&&(e="#fff"),void 0===n&&(n="default"),void 0===r&&(r="rgb(150, 150, 150)"),"default"===n?function(t,e,n){void 0===e&&(e="#fff"),void 0===n&&(n="rgb(150, 150, 150)");var r=Jc(e,t,.05).rgb().toString(),i=Jc(e,t,.1).rgb().toString(),o=Jc(e,t,.2).rgb().toString(),a=Jc(e,t,.4).rgb().toString(),s=Jc(e,n,.02).rgb().toString(),u=Jc(e,n,.05).rgb().toString(),c=Jc(e,n,.1).rgb().toString(),l=Jc(e,n,.2).rgb().toString(),f=Jc(e,n,.3).rgb().toString(),h=Vc(t,{theme:"default",backgroundColor:e}),d=Ic()(t).hex().toLowerCase(),p=h.indexOf(d),g=t;return-1!==p&&(g=h[p+1]),{mainStroke:t,mainFill:i,activeStroke:t,activeFill:r,inactiveStroke:a,inactiveFill:r,selectedStroke:t,selectedFill:e,highlightStroke:g,highlightFill:o,disableStroke:f,disableFill:u,edgeMainStroke:f,edgeActiveStroke:t,edgeInactiveStroke:l,edgeSelectedStroke:t,edgeHighlightStroke:t,edgeDisableStroke:c,comboMainStroke:f,comboMainFill:s,comboActiveStroke:t,comboActiveFill:r,comboInactiveStroke:f,comboInactiveFill:s,comboSelectedStroke:t,comboSelectedFill:s,comboHighlightStroke:g,comboHighlightFill:s,comboDisableStroke:l,comboDisableFill:u}}(t,e,"rgb(150, 150, 150)"):function(t,e,n){void 0===e&&(e="#fff"),void 0===n&&(n="#777");var r=Jc(e,t,.2).rgb().toString(),i=Jc(e,t,.3).rgb().toString(),o=Jc(e,t,.6).rgb().toString(),a=Jc(e,t,.8).rgb().toString(),s=Jc(e,n,.2).rgb().toString(),u=Jc(e,n,.25).rgb().toString(),c=Jc(e,n,.3).rgb().toString(),l=Jc(e,n,.4).rgb().toString(),f=Jc(e,n,.5).rgb().toString(),h=Vc(t,{theme:"dark",backgroundColor:e}),d=Ic()(t).hex().toLowerCase(),p=h.indexOf(d),g=t;return-1!==p&&(g=h[p+1]),{mainStroke:a,mainFill:r,activeStroke:t,activeFill:i,inactiveStroke:a,inactiveFill:r,selectedStroke:t,selectedFill:r,highlightStroke:t,highlightFill:o,disableStroke:f,disableFill:u,edgeMainStroke:n,edgeActiveStroke:t,edgeInactiveStroke:n,edgeSelectedStroke:t,edgeHighlightStroke:t,edgeDisableStroke:c,comboMainStroke:l,comboMainFill:u,comboActiveStroke:t,comboActiveFill:s,comboInactiveStroke:l,comboInactiveFill:u,comboSelectedStroke:t,comboSelectedFill:s,comboHighlightStroke:g,comboHighlightFill:u,comboDisableStroke:l,comboDisableFill:s}}(t,e,"#777")},tl=function(t,e,n,r){void 0===e&&(e="#fff"),void 0===n&&(n="default"),void 0===r&&(r="rgb(150, 150, 150)");var i=[];return t.forEach(function(t){i.push($c(t,e,n,r))}),i},el=$c("rgb(95, 149, 255)","rgb(255, 255, 255)"),nl={version:"0.6.4",rootContainerClassName:"root-container",nodeContainerClassName:"node-container",edgeContainerClassName:"edge-container",comboContainerClassName:"combo-container",delegateContainerClassName:"delegate-container",defaultLoopPosition:"top",nodeLabel:{style:{fill:"#000",fontSize:12,textAlign:"center",textBaseline:"middle"},offset:4},defaultNode:{type:"circle",style:{lineWidth:1,stroke:el.mainStroke,fill:el.mainFill},size:20,color:el.mainStroke,linkPoints:{size:8,lineWidth:1,fill:el.activeFill,stroke:el.activeStroke}},nodeStateStyles:{active:{fill:el.activeFill,stroke:el.activeStroke,lineWidth:2,shadowColor:el.mainStroke,shadowBlur:10},selected:{fill:el.selectedFill,stroke:el.selectedStroke,lineWidth:4,shadowColor:el.selectedStroke,shadowBlur:10,"text-shape":{fontWeight:500}},highlight:{fill:el.highlightFill,stroke:el.highlightStroke,lineWidth:2,"text-shape":{fontWeight:500}},inactive:{fill:el.inactiveFill,stroke:el.inactiveStroke,lineWidth:1},disable:{fill:el.disableFill,stroke:el.disableStroke,lineWidth:1}},edgeLabel:{style:{fill:"rgb(0, 0, 0)",textAlign:"center",textBaseline:"middle",fontSize:12}},defaultEdge:{type:"line",size:1,style:{stroke:el.edgeMainStroke,lineAppendWidth:2},color:el.edgeMainStroke},edgeStateStyles:{active:{stroke:el.edgeActiveStroke,lineWidth:1},selected:{stroke:el.edgeSelectedStroke,lineWidth:2,shadowColor:el.edgeSelectedStroke,shadowBlur:10,"text-shape":{fontWeight:500}},highlight:{stroke:el.edgeHighlightStroke,lineWidth:2,"text-shape":{fontWeight:500}},inactive:{stroke:el.edgeInactiveStroke,lineWidth:1},disable:{stroke:el.edgeDisableStroke,lineWidth:1}},comboLabel:{style:{fill:"rgb(0, 0, 0)",textBaseline:"middle",fontSize:12},refY:10,refX:10},defaultCombo:{type:"circle",style:{fill:el.comboMainFill,lineWidth:1,stroke:el.comboMainStroke,r:5,width:20,height:10},size:[20,5],color:el.comboMainStroke,padding:[25,20,15,20]},comboStateStyles:{active:{stroke:el.comboActiveStroke,lineWidth:1,fill:el.comboActiveFill},selected:{stroke:el.comboSelectedStroke,lineWidth:2,fill:el.comboSelectedFill,shadowColor:el.comboSelectedStroke,shadowBlur:10,"text-shape":{fontWeight:500}},highlight:{stroke:el.comboHighlightStroke,lineWidth:2,fill:el.comboHighlightFill,"text-shape":{fontWeight:500}},inactive:{stroke:el.comboInactiveStroke,fill:el.comboInactiveFill,lineWidth:1},disable:{stroke:el.comboDisableStroke,fill:el.comboDisableFill,lineWidth:1}},delegateStyle:{fill:"#F3F9FF",fillOpacity:.5,stroke:"#1890FF",strokeOpacity:.9,lineDash:[5,5]},textWaterMarkerConfig:{width:150,height:100,compatible:!1,text:{x:0,y:60,lineHeight:20,rotate:20,fontSize:14,fontFamily:"Microsoft YaHei",fill:"rgba(0, 0, 0, 0.1)",baseline:"Middle"}},imageWaterMarkerConfig:{width:150,height:130,compatible:!1,image:{x:0,y:0,width:30,height:20,rotate:0}},waterMarkerImage:"https://gw.alipayobjects.com/os/s/prod/antv/assets/image/logo-with-text-73b8a.svg"};function rl(t,e,n){if(t){if("function"==typeof t.addEventListener)return t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}};if("function"==typeof t.attachEvent)return t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}}}function il(t){qc||(qc=document.createElement("table"),Kc=document.createElement("tr"),Zc=/^\s*<(\w+|!)[^>]*>/,Qc={tr:document.createElement("tbody"),tbody:qc,thead:qc,tfoot:qc,td:Kc,th:Kc,"*":document.createElement("div")});var e=Zc.test(t)&&RegExp.$1;e&&e in Qc||(e="*");var n=Qc[e];t="string"==typeof t?t.replace(/(^\s*)|(\s*$)/g,""):t,n.innerHTML=""+t;var r=n.childNodes[0];return r&&n.contains(r)&&n.removeChild(r),r}function ol(t,e){if(t)for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return t}var al=Ms.cloneEvent,sl=Ms.isViewportChanged,ul=function(t){function e(e){var n=t.call(this,e)||this;return n.extendEvents=[],n.dragging=!1,n.preItem=null,n.graph=e,n.destroyed=!1,n.initEvents(),n}return Object(b.__extends)(e,t),e.prototype.initEvents=function(){var t=this.graph,e=this.extendEvents,n=void 0===e?[]:e,r=t.get("canvas"),i=r.get("el"),o=Object(x.wrapBehavior)(this,"onCanvasEvents"),a=Object(x.wrapBehavior)(this,"onExtendEvents"),s=Object(x.wrapBehavior)(this,"onWheelEvent");r.off("*").on("*",o),this.canvasHandler=o,n.push(rl(i,"DOMMouseScroll",s)),n.push(rl(i,"mousewheel",s)),"undefined"!=typeof window&&(n.push(rl(window,"keydown",a)),n.push(rl(window,"keyup",a)),n.push(rl(window,"focus",a)))},e.getItemRoot=function(t){for(;t&&!t.get("item");)t=t.get("parent");return t},e.prototype.onCanvasEvents=function(t){var n=this.graph,r=n.get("canvas"),i=t.target,o=t.type;t.canvasX=t.x,t.canvasY=t.y;var a={x:t.canvasX,y:t.canvasY},s=n.get("group").getMatrix();if(s||(s=[1,0,0,0,1,0,0,0,1]),sl(s)&&(a=n.getPointByClient(t.clientX,t.clientY)),t.x=a.x,t.y=a.y,t.currentTarget=n,i===r)return"mousemove"!==o&&"mouseleave"!==o||this.handleMouseMove(t,"canvas"),t.target=r,t.item=null,n.emit(o,t),void n.emit("canvas:".concat(o),t);var u=e.getItemRoot(i);if(u){var c=u.get("item");if(!c.destroyed){var l=c.getType();if(t.target=i,t.item=c,t.canvasX===t.x&&t.canvasY===t.y){var f=n.getCanvasByPoint(t.x,t.y);t.canvasX=f.x,t.canvasY=f.y}n.emit(o,t),t.name&&!t.name.includes(":")?n.emit("".concat(l,":").concat(o),t):n.emit(t.name,t),"dragstart"===o&&(this.dragging=!0),"dragend"===o&&(this.dragging=!1),"mousemove"===o&&this.handleMouseMove(t,l)}}else n.emit(o,t)},e.prototype.onExtendEvents=function(t){this.graph.emit(t.type,t)},e.prototype.onWheelEvent=function(t){Object(x.isNil)(t.wheelDelta)&&(t.wheelDelta=-t.detail),this.graph.emit("wheel",t)},e.prototype.handleMouseMove=function(t,e){var n=this.graph,r=this.preItem,i=n.get("canvas"),o=t.target===i?null:t.item;t=al(t),r&&r!==o&&!r.destroyed&&(t.item=r,this.emitCustomEvent(r.getType(),"mouseleave",t),this.dragging&&this.emitCustomEvent(r.getType(),"dragleave",t)),o&&r!==o&&(t.item=o,this.emitCustomEvent(e,"mouseenter",t),this.dragging&&this.emitCustomEvent(e,"dragenter",t)),this.preItem=o},e.prototype.emitCustomEvent=function(t,e,n){n.type=e,this.graph.emit("".concat(t,":").concat(e),n)},e.prototype.destroy=function(){var t=this.graph,e=this.canvasHandler,n=this.extendEvents;t.get("canvas").off("*",e),Object(x.each)(n,function(t){t.remove()}),this.dragging=!1,this.preItem=null,this.extendEvents.length=0,this.canvasHandler=null,this.destroyed=!0},e}(ks),cl=n("LkwV"),ll=n("BRni"),fl=n.n(ll),hl=Ms.traverseTree,dl=function(t,e){return t?Object(x.isNumber)(t)?function(e){return t}:t:function(t){return e||1}},pl=function(t,e){var n=[],r=[],i={},o=0;for(o=0;o=0&&(o="x",i="y");var a=0;hl(t,function(t){return a++,t.x>r.x&&(r.x=t.x),t.xr.y&&(r.y=t.y),t.yWebGL.
','Find out how to get it here.'].join("\n"):['Your browser does not seem to support WebGL.
','Find out how to get it here.'].join("\n")),t},addGetWebGLMessage:function(e){var n=void 0!==(e=e||{}).parent?e.parent:document.body,r=void 0!==e.id?e.id:"oldie",i=t().getWebGLErrorMessage();i.id=r,n.appendChild(i)}}},wl=Object(b.__assign)(Object(b.__assign)(Object(b.__assign)(Object(b.__assign)({},Ms),g),v),y),_l=wl.radialLayout,El=function(){function t(t){this.type=t.type,this.radial=t.radial,this.config=t}return t.prototype.init=function(t){var e=this;this.data=t,this.radial?this.layoutMethod=function(t){var n=fl.a[e.type](t,e.config);return _l(n),n}:this.layoutMethod=function(t){return fl.a[e.type](t,e.config)}},t.prototype.execute=function(){return this.layoutMethod(this.data,this.config)},t.prototype.layout=function(t){return this.init(t),this.execute()},t}();Object(cl.registerLayout)("grid",cl.GridLayout),Object(cl.registerLayout)("random",cl.RandomLayout),Object(cl.registerLayout)("force",cl.ForceLayout),Object(cl.registerLayout)("circular",cl.CircularLayout),Object(cl.registerLayout)("dagre",cl.DagreLayout),Object(cl.registerLayout)("dagreCompound",cl.DagreCompoundLayout),Object(cl.registerLayout)("radial",cl.RadialLayout),Object(cl.registerLayout)("concentric",cl.ConcentricLayout),Object(cl.registerLayout)("mds",cl.MDSLayout),Object(cl.registerLayout)("fruchterman",cl.FruchtermanLayout),Object(cl.registerLayout)("fruchterman-gpu",cl.FruchtermanGPULayout),Object(cl.registerLayout)("gForce",cl.GForceLayout),Object(cl.registerLayout)("gForce-gpu",cl.GForceGPULayout),Object(cl.registerLayout)("comboForce",cl.ComboForceLayout),Object(cl.registerLayout)("comboCombined",cl.ComboCombinedLayout),Object(cl.registerLayout)("forceAtlas2",cl.ForceAtlas2Layout);var Sl=function(t,e){e.isCustomLayout=!0,cl.Layouts[t]=Object(cl.registerLayout)(t,e)},Ml=function(){return function(t,e){var n=t.toString(),r=new Blob(["importScripts('".concat(e,"');(").concat(n,")()")],{type:"text/javascript"});return new Worker(URL.createObjectURL(r))}}(),Ol=function(t){return void 0===t&&(t="https://unpkg.com/@antv/layout@latest/dist/layout.min.js"),new Ml(function(){var t={RUN:"LAYOUT_RUN",END:"LAYOUT_END",ERROR:"LAYOUT_ERROR",TICK:"LAYOUT_TICK",GPURUN:"GPU_LAYOUT_RUN",GPUEND:"GPU_LAYOUT_END"};layout.registerLayout("grid",layout.GridLayout),layout.registerLayout("random",layout.RandomLayout),layout.registerLayout("force",layout.ForceLayout),layout.registerLayout("circular",layout.CircularLayout),layout.registerLayout("dagre",layout.DagreLayout),layout.registerLayout("dagreCompound",layout.DagreCompoundLayout),layout.registerLayout("radial",layout.RadialLayout),layout.registerLayout("concentric",layout.ConcentricLayout),layout.registerLayout("mds",layout.MDSLayout),layout.registerLayout("fruchterman",layout.FruchtermanLayout),layout.registerLayout("fruchterman-gpu",layout.FruchtermanGPULayout),layout.registerLayout("gForce",layout.GForceLayout),layout.registerLayout("gForce-gpu",layout.GForceGPULayout),layout.registerLayout("comboForce",layout.ComboForceLayout),layout.registerLayout("comboCombined",layout.ComboCombinedLayout),layout.registerLayout("forceAtlas2",layout.ForceAtlas2Layout),onmessage=function(e){(function(e){var n=e.data.type;return n===t.RUN||n===t.GPURUN})(e)&&function(e){var n=this;switch(e.data.type){case t.RUN:var r,i=e.data,o=i.nodes,a=i.edges,s=i.layoutCfg,u=(d=void 0===s?{}:s).type;if(!(c=layout.getLayoutByName(u))){this.postMessage({type:t.ERROR,message:"layout ".concat(u," not found")});break}d.onLayoutEnd=function(){n.postMessage({type:t.END,nodes:o}),null===r||void 0===r||r.destroy()},(r=new c(d)).init({nodes:o,edges:a}),r.execute();break;case t.GPURUN:var c,l=e.data,f=l.nodes,h=(a=l.edges,l.layoutCfg),d=void 0===h?{}:h,p=l.canvas;if(u=d.type,!(c=layout.getLayoutByName(u))){this.postMessage({type:t.ERROR,message:"layout ".concat(u," not found")});break}if("gpu"!==u.split("-")[1]){this.postMessage({type:t.ERROR,message:"layout ".concat(u," does not support GPU")});break}var g=new c(d);g.init({nodes:f,edges:a}),g.executeWithWorker(p,this)}}(e)}},t)},kl="LAYOUT_RUN",Al="LAYOUT_END",Cl="LAYOUT_ERROR",Il="LAYOUT_TICK",Tl="GPU_LAYOUT_RUN",Nl="GPU_LAYOUT_END";function Pl(t){"@babel/helpers - typeof";return(Pl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var jl=function(t){return setTimeout(t,16)},Dl=function(t){return clearTimeout(t)},Ll=function(t){return("undefined"!=typeof window&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame)||jl)(t)},Rl=function(t){return("undefined"!=typeof window&&(window.cancelAnimationFrame||window.webkitCancelAnimationFrame)||Dl)(t)},Bl=["fruchterman","gForce"],Gl=["force","grid","circular"],Fl=function(t){function e(e){var n=t.call(this,e)||this;return n.graph=e,n.layoutCfg=e.get("layout")||{},n.layoutType=n.getLayoutType(),n.worker=null,n.workerData={},n.initLayout(),n}return Object(b.__extends)(e,t),e.prototype.initLayout=function(){},e.prototype.getWorker=function(){return this.worker?this.worker:("undefined"==typeof Worker?(console.warn("Web worker is not supported in current browser."),this.worker=null):this.worker=Ol(this.layoutCfg.workerScriptURL),this.worker)},e.prototype.stopWorker=function(){var t=this.workerData;this.worker&&(this.worker.terminate(),this.worker=null,t.requestId&&(Rl(t.requestId),t.requestId=null),t.requestId2&&(Rl(t.requestId2),t.requestId2=null))},e.prototype.execLayoutMethod=function(t,e){var n=this;return new Promise(function(r,i){return Object(b.__awaiter)(n,void 0,void 0,function(){var n,o,a,s,u,c,l;return Object(b.__generator)(this,function(f){switch(f.label){case 0:if(!(n=this.graph)||n.get("destroyed"))return[2];o=t.type,t.onLayoutEnd=function(){n.emit("aftersublayout",{type:o}),r()},o&&this.isGPU&&(this.hasGPUVersion(o)?o="".concat(o,"-gpu"):console.warn("The '".concat(o,"' layout does not support GPU calculation for now, it will run in CPU."))),"force"===o||"g6force"===o||"gForce"===o?(a=t.onTick,c=function(){a&&a(),n.refreshPositions()},t.tick=c):"comboForce"!==o&&"comboCombined"!==o||(t.comboTrees=n.get("comboTrees")),!1;try{s=new cl.Layouts[o](t)}catch(t){console.warn("The layout method: '".concat(o,"' does not exist! Please specify it first.")),i()}return s.enableTick&&(u=t.onTick,c=function(){u&&u(),n.refreshPositions()},s.tick=c),function(t,e){var n;if(!(null===(n=null===t||void 0===t?void 0:t.nodes)||void 0===n?void 0:n.length))return;t.nodes.forEach(function(t){t.layoutOrder=e})}(l=this.filterLayoutData(this.data,t),e),s.init(l),n.emit("beforesublayout",{type:o}),[4,s.execute()];case 1:return f.sent(),s.isCustomLayout&&t.onLayoutEnd&&t.onLayoutEnd(),this.layoutMethods[e]=s,[2]}})})})},e.prototype.updateLayoutMethod=function(t,e){var n=this;return new Promise(function(r,i){return Object(b.__awaiter)(n,void 0,void 0,function(){var n,i,o;return Object(b.__generator)(this,function(a){switch(a.label){case 0:return n=this.graph,i=null===e||void 0===e?void 0:e.type,e.onLayoutEnd=function(){n.emit("aftersublayout",{type:i}),r()},o=this.filterLayoutData(this.data,e),t.init(o),t.updateCfg(e),n.emit("beforesublayout",{type:i}),[4,t.execute()];case 1:return a.sent(),t.isCustomLayout&&e.onLayoutEnd&&e.onLayoutEnd(),[2]}})})})},e.prototype.layout=function(t){var e=this,n=this.graph;this.data=this.setDataFromGraph();var r=this.data,i=r.nodes,o=r.hiddenNodes;if(!i)return!1;var a=n.get("width"),s=n.get("height"),u={};Object.assign(u,{width:a,height:s,center:[a/2,s/2]},this.layoutCfg),this.layoutCfg=u,this.destoryLayoutMethods(),n.emit("beforelayout"),this.initPositions(u.center,i),this.initPositions(u.center,o);var c=u.type;c&&"gpu"===c.split("-")[1]&&(c=c.split("-")[0],u.gpuEnabled=!0);var l=!1;u.gpuEnabled&&(l=!0,xl().webgl||(console.warn("Your browser does not support webGL or GPGPU. The layout will run in CPU."),l=!1)),this.isGPU=l;var f=u.onLayoutEnd,h=u.layoutEndFormatted,d=u.adjust;if(h||(u.layoutEndFormatted=!0,u.onAllLayoutEnd=function(){return Object(b.__awaiter)(e,void 0,void 0,function(){return Object(b.__generator)(this,function(t){switch(t.label){case 0:return f&&f(),this.refreshLayout(),d&&u.pipes?[4,this.adjustPipesBox(this.data,d)]:[3,2];case 1:t.sent(),this.refreshLayout(),t.label=2;case 2:return n.emit("afterlayout"),[2]}})})}),this.stopWorker(),u.workerEnabled&&this.layoutWithWorker(this.data))return!0;var p=Promise.resolve(),g=!1;return u.type?(g=!0,p=p.then(function(){return Object(b.__awaiter)(e,void 0,void 0,function(){return Object(b.__generator)(this,function(t){switch(t.label){case 0:return[4,this.execLayoutMethod(u,0)];case 1:return[2,t.sent()]}})})})):u.pipes&&(g=!0,u.pipes.forEach(function(t,n){p=p.then(function(){return Object(b.__awaiter)(e,void 0,void 0,function(){return Object(b.__generator)(this,function(e){switch(e.label){case 0:return[4,this.execLayoutMethod(t,n)];case 1:return[2,e.sent()]}})})})})),g&&p.then(function(){u.onAllLayoutEnd&&u.onAllLayoutEnd(),t&&t()}).catch(function(t){console.warn("graph layout failed,",t)}),!1},e.prototype.layoutWithWorker=function(t){var e=this,n=this.layoutCfg,r=this.graph,i=this.getWorker(),o=this.workerData;if(!i)return!1;o.requestId=null,o.requestId2=null,o.currentTick=null,o.currentTickData=null,r.emit("beforelayout");var a=Promise.resolve(),s=!1;if(n.type)s=!0,a=a.then(function(){return e.runWebworker(i,t,n)});else if(n.pipes){s=!0;for(var u=function(n){a=a.then(function(){return e.runWebworker(i,t,n)})},c=0,l=n.pipes;c'),u=n?n.backgroundColor:void 0,c=n?n.padding:void 0;c?Object(x.isNumber)(c)&&(c=[c,c,c,c]):c=[0,0,0,0];var l=i+c[0]+c[2],f=o+c[1]+c[3],h={container:s,height:l,width:f,quickHit:!0},d="svg"===a?new Ac(h):new zu(h),p=this.get("group").clone(),g=Object(x.clone)(p.getMatrix());g||(g=[1,0,0,0,1,0,0,0,1]);var v=(r.maxX+r.minX)/2,y=(r.maxY+r.minY)/2;g=Ul(g,[["t",-v,-y],["t",o/2+c[3],i/2+c[0]]]),p.resetMatrix(),p.setMatrix(g),d.add(p);var m=d.get("el"),b="";e||(e="image/png"),setTimeout(function(){if("svg"===a){var n=m.cloneNode(!0),r=document.implementation.createDocumentType("svg","-//W3C//DTD SVG 1.1//EN","http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"),i=document.implementation.createDocument("http://www.w3.org/2000/svg","svg",r);i.replaceChild(n,i.documentElement);var o=(new XMLSerializer).serializeToString(i);b="data:image/svg+xml;charset=utf8,".concat(encodeURIComponent(o))}else{var s=void 0,c=m.getContext("2d"),h=void 0;if(u){var d="undefined"!=typeof window?window.devicePixelRatio:1;try{s=c.getImageData(0,0,f*d,l*d),h=c.globalCompositeOperation,c.globalCompositeOperation="destination-over",c.fillStyle=u,c.fillRect(0,0,f,l)}catch(t){console.error("Download image failed. Out of memory at ImageData creation")}}b=m.toDataURL(e),u&&(c.clearRect(0,0,f,l),c.putImageData(s,0,0),c.globalCompositeOperation=h)}t&&t(b)},16)},e.prototype.downloadFullImage=function(t,e,n){var r=this,i=this.get("group").getCanvasBBox(),o=i.height,a=i.width,s=this.get("renderer"),u=il('
'),c=document.querySelector(".g6-graph-watermarker"),l=n?n.backgroundColor:void 0,f=n?n.padding:void 0;f?Object(x.isNumber)(f)&&(f=[f,f,f,f]):f=[0,0,0,0];var h=o+f[0]+f[2],d=a+f[1]+f[3];if(c){var p=this.get("graphWaterMarker").cfg||{},g=p.width,v=p.height;h=Math.ceil(h/v)*v,d=Math.ceil(d/g)*g}var y={container:u,height:h,width:d},m="svg"===s?new Ac(y):new zu(y),b=this.get("group").clone(),w=Object(x.clone)(b.getMatrix());w||(w=[1,0,0,0,1,0,0,0,1]);var _=(i.maxX+i.minX)/2,E=(i.maxY+i.minY)/2;w=Ul(w,[["t",-_,-E],["t",a/2+f[3],o/2+f[0]]]),b.resetMatrix(),b.setMatrix(w),m.add(b);var S=m.get("el");e||(e="image/png"),this.asyncToDataUrl(e,l,function(n){var i=document.createElement("a"),o=(t||"graph")+("svg"===s?".svg":".".concat(e.split("/")[1]));r.dataURLToImage(n,s,i,o);var a=document.createEvent("MouseEvents");a.initEvent("click",!1,!1),i.dispatchEvent(a)},d,h,S)},e.prototype.downloadImage=function(t,e,n){var r=this;this.isAnimating()&&this.stopAnimate();var i=this.get("canvas").getRenderer();e||(e="image/png");var o=(t||"graph")+("svg"===i?".svg":e.split("/")[1]),a=document.createElement("a");this.asyncToDataUrl(e,n,function(t){r.dataURLToImage(t,i,a,o);var e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),a.dispatchEvent(e)})},e.prototype.dataURLToImage=function(t,e,n,r){if(t&&"data:"!==t){if("undefined"!=typeof window)if(window.Blob&&window.URL&&"svg"!==e){var i=t.split(","),o="";if(i&&i.length>0){var a=i[0].match(/:(.*?);/);a&&a.length>=2&&(o=a[1])}for(var s=atob(i[1]),u=s.length,c=new Uint8Array(u);u--;)c[u]=s.charCodeAt(u);var l=new Blob([c],{type:o});window.navigator.msSaveBlob?window.navigator.msSaveBlob(l,r):n.addEventListener("click",function(){n.download=r,n.href=window.URL.createObjectURL(l)})}else n.addEventListener("click",function(){n.download=r,n.href=t})}else console.error("Download image failed. The graph is too large or there is invalid attribute values in graph items")},e.prototype.addPlugin=function(t){t.destroyed||(this.get("plugins").push(t),t.initPlugin(this))},e.prototype.removePlugin=function(t){var e=this.get("plugins"),n=e.indexOf(t);n>=0&&(t.destroyPlugin(),e.splice(n,1))},e.prototype.setImageWaterMarker=function(t,e){void 0===t&&(t=nl.waterMarkerImage);var n=this.get("container");Object(x.isString)(n)&&(n=document.getElementById(n)),n.style.position||(n.style.position="relative");var r=this.get("graphWaterMarker"),i=Object(x.deepMix)({},nl.imageWaterMarkerConfig,e),o=i.width,a=i.height,s=i.compatible,u=i.image;if(!r){var c={container:n,width:o,height:a,capture:!1},l=this.get("pixelRatio");l&&(c.pixelRatio=l),r=new zu(c),this.set("graphWaterMarker",r)}r.get("el").style.display="none";var f=r.get("context"),h=u.rotate,d=u.x,p=u.y;f.rotate(-h*Math.PI/180);var g=new Image;g.crossOrigin="anonymous",g.src=t,g.onload=function(){if(f.drawImage(g,d,p,u.width,u.height),f.rotate(h*Math.PI/180),s)n.style.cssText="background-image: url(".concat(r.get("el").toDataURL("image/png"),");background-repeat:repeat;");else{var t=document.querySelector(".g6-graph-watermarker");t||((t=document.createElement("div")).className="g6-graph-watermarker"),t.className="g6-graph-watermarker",r.destroyed||(t.style.cssText="background-image: url(".concat(r.get("el").toDataURL("image/png"),");background-repeat:repeat;position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;z-index:-1;"),n.appendChild(t))}}},e.prototype.setTextWaterMarker=function(t,e){var n=this.get("container");Object(x.isString)(n)&&(n=document.getElementById(n)),n.style.position||(n.style.position="relative");var r=this.get("graphWaterMarker"),i=Object(x.deepMix)({},nl.textWaterMarkerConfig,e),o=i.width,a=i.height,s=i.compatible,u=i.text;if(!r){var c={container:n,width:o,height:a,capture:!1},l=this.get("pixelRatio");l&&(c.pixelRatio=l),r=new zu(c),this.set("graphWaterMarker",r)}r.get("el").style.display="none";var f=r.get("context"),h=u.rotate,d=u.fill,p=u.fontFamily,g=u.fontSize,v=u.baseline,y=u.x,m=u.y,b=u.lineHeight;f.rotate(-h*Math.PI/180),f.font="".concat(g,"px ").concat(p),f.fillStyle=d,f.textBaseline=v;for(var w=t.length-1;w>=0;w--)f.fillText(t[w],y,m+w*b);if(f.rotate(h*Math.PI/180),s)n.style.cssText="background-image: url(".concat(r.get("el").toDataURL("image/png"),");background-repeat:repeat;");else{var _=document.querySelector(".g6-graph-watermarker");_||((_=document.createElement("div")).className="g6-graph-watermarker"),_.style.cssText="background-image: url(".concat(r.get("el").toDataURL("image/png"),");background-repeat:repeat;position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none;z-index:99;"),n.appendChild(_)}},e.prototype.destroy=function(){var e,n,r,i;Object(x.each)(this.get("plugins"),function(t){t.destroyPlugin()});var o=this.get("tooltips");if(o)for(var a=0;a0)for(var c=u.length-1;c>=0;c--){var l=u[c].getModel();-1===e.indexOfChild(t.children||[],l.id)&&(i.innerRemoveChild(l.id,{x:t.x,y:t.y},r),u.splice(c,1))}o.get("originAttrs")&&(a=o.get("originAttrs").x,s=o.get("originAttrs").y);var f=o.getModel();r&&o.set("originAttrs",{x:f.x,y:f.y}),o.set("model",t.data),a===t.x&&s===t.y||o.updatePosition({x:t.x,y:t.y})}else i.innerAddChild(t,n,r)},e.prototype.innerRemoveChild=function(t,e,n){var r=this,i=r.findById(t);if(i)if(Object(x.each)(i.get("children"),function(t){r.innerRemoveChild(t.getModel().id,e,n)}),n){var o=i.getModel();i.set("to",e),i.set("originAttrs",{x:o.x,y:o.y}),r.get("removeList").push(i)}else r.removeItem(i,!1)},e.prototype.changeData=function(t){var e=this;this.getNodes().map(function(t){return e.clearItemStates(t)}),this.getEdges().map(function(t){return e.clearItemStates(t)}),t?(e.data(t),e.render()):e.layout(this.get("fitView"))},e.prototype.changeLayout=function(t){console.warn("Please call updateLayout instead of changeLayout. changeLayout will be discarded soon");this.updateLayout(t)},e.prototype.updateLayout=function(t){t?(this.set("layout",t),this.set("layoutMethod",this.getLayout()),this.layout()):console.warn("layout cannot be null")},e.prototype.refreshLayout=function(t){console.warn("Please call layout instead of refreshLayout. refreshLayout will be discarded soon");this.layout(t)},e.prototype.layout=function(t){var e=this.get("data"),n=this.get("layoutMethod"),r=n?n(e,this.get("layout")):e,i=this.get("animate");(this.emit("beforerefreshlayout",{data:e,layoutData:r}),this.emit("beforelayout"),this.innerUpdateChild(r,void 0,i),t)&&this.get("viewController").fitView();i?this.layoutAnimate(r):(this.refresh(),this.paint()),this.emit("afterrefreshlayout",{data:e,layoutData:r}),this.emit("afterlayout")},e.prototype.addChild=function(t,e){this.emit("beforeaddchild",{model:t,parent:e}),Object(x.isString)(e)||(e=e.get("id"));var n=this.findDataById(e);n&&(n.children||(n.children=[]),n.children.push(t),this.changeData())},e.prototype.updateChildren=function(t,e){e&&this.findById(e)?(this.findDataById(e).children=t,this.changeData()):console.warn("Update children failed! There is no node with id '".concat(e,"'"))},e.prototype.updateChild=function(t,n){if(n&&this.findById(n)){var r=this.findDataById(n),i=this.findById(t.id);if(r.children||(r.children=[]),i){var o=e.indexOfChild(r.children,t.id);r.children[o]=t}else r.children.push(t);this.changeData()}else this.changeData(t)},e.prototype.removeChild=function(t){var n=this.findById(t);if(n){var r=n.get("parent");if(r&&!r.destroyed){var i=this.findDataById(r.get("id")),o=i&&i.children||[],a=n.getModel(),s=e.indexOfChild(o,a.id);o.splice(s,1)}this.changeData()}},e.prototype.findDataById=function(t,e){var n=this;if(e||(e=n.get("data")),t===e.id)return e;var r=null;return Object(x.each)(e.children||[],function(e){return e.id===t?(r=e,!1):!(r=n.findDataById(t,e))&&void 0}),r},e.prototype.layoutAnimate=function(t,e){var n=this,r=this.get("animateCfg");n.emit("beforeanimate",{data:t}),n.getEdges().forEach(function(t){var e=t.get("model");e.sourceAnchor||(e.sourceAnchor=t.get("sourceAnchorIndex"))}),this.get("canvas").animate(function(r){Xl(t,function(i){var o=n.findById(i.id);if(o){var a=o.get("originAttrs"),s=o.get("model");if(a||(a={x:s.x,y:s.y},o.set("originAttrs",a)),e){var u=e(o,r,a,t);o.set("model",Object.assign(s,u))}else s.x=a.x+(i.x-a.x)*r,s.y=a.y+(i.y-a.y)*r}return!0}),Object(x.each)(n.get("removeList"),function(t){var e=t.getModel(),n=t.get("originAttrs"),i=t.get("to");e.x=n.x+(i.x-n.x)*r,e.y=n.y+(i.y-n.y)*r}),n.refreshPositions()},{duration:r.duration,easing:r.ease,callback:function(){Object(x.each)(n.getNodes(),function(t){t.set("originAttrs",null)}),Object(x.each)(n.get("removeList"),function(t){n.removeItem(t)}),n.set("removeList",[]),r.callback&&r.callback(),n.emit("afteranimate",{data:t})},delay:r.delay})},e.prototype.stopLayoutAnimate=function(){this.get("canvas").stopAnimate(),this.emit("layoutanimateend",{data:this.get("data")}),this.layoutAnimating=!1},e.prototype.isLayoutAnimating=function(){return this.layoutAnimating},e.prototype.render=function(){var t=this.get("data");if(!t||!Object(x.isObject)(t)||!Object.keys(t).length)throw new Error("data must be defined first");this.clear(),this.emit("beforerender"),this.layout(this.get("fitView")),this.emit("afterrender")},e.prototype.save=function(){return this.get("data")},e}(Wl),Hl=function(){function t(t){this._cfgs=Object(x.deepMix)(this.getDefaultCfgs(),t),this._events={},this.destroyed=!1}return t.prototype.getDefaultCfgs=function(){return{}},t.prototype.initPlugin=function(t){var e=this;e.set("graph",t);var n=e.getEvents(),r={};Object(x.each)(n,function(n,i){var o=Object(x.wrapBehavior)(e,n);r[i]=o,t.on(i,o)}),this._events=r,this.init()},t.prototype.getEvents=function(){return{}},t.prototype.get=function(t){var e;return null===(e=this._cfgs)||void 0===e?void 0:e[t]},t.prototype.set=function(t,e){this._cfgs[t]=e},t.prototype.destroy=function(){},t.prototype.destroyPlugin=function(){this.destroy();var t=this.get("graph"),e=this._events;Object(x.each)(e,function(e,n){t.off(n,e)}),this._events=null,this._cfgs=null,this.destroyed=!0},t}(),ql=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Kl="url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAwIDEwIEwgNDAgMTAgTSAxMCAwIEwgMTAgNDAgTSAwIDIwIEwgNDAgMjAgTSAyMCAwIEwgMjAgNDAgTSAwIDMwIEwgNDAgMzAgTSAzMCAwIEwgMzAgNDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2UwZTBlMCIgb3BhY2l0eT0iMC4yIiBzdHJva2Utd2lkdGg9IjEiLz48cGF0aCBkPSJNIDQwIDAgTCAwIDAgMCA0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZTBlMGUwIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=)",Zl=function(t){function e(e){return t.call(this,e)||this}return ql(e,t),e.prototype.getDefaultCfgs=function(){return{img:Kl,follow:!0}},e.prototype.init=function(){var t=this.get("graph"),e=t.get("container"),n=t.get("canvas").get("el"),r=this.get("img")||Kl,i=il("
"),o=il(""));this.set("container",i),this.set("gridContainer",o),this.positionInit(),i.appendChild(o),e.insertBefore(i,n)},e.prototype.positionInit=function(){var t=this.get("graph"),e=t.get("minZoom"),n=t.get("width"),r=t.get("height");ol(this.get("container"),{width:"".concat(n,"px"),height:"".concat(r,"px")});var i=80*n/e,o=80*r/e;ol(this.get("gridContainer"),{width:"".concat(i,"px"),height:"".concat(o,"px"),left:"-".concat(i/2,"px"),top:"-".concat(o/2,"px")})},e.prototype.getEvents=function(){return{viewportchange:"updateGrid"}},e.prototype.updateGrid=function(t){var e=this.get("gridContainer"),n=t.matrix;n||(n=[1,0,0,0,1,0,0,0,1]);var r=this.get("follow");ol(e,{transform:"matrix(".concat(n[0],", ").concat(n[1],", ").concat(n[3],", ").concat(n[4],", ").concat(r?n[6]:"0",", ").concat(r?n[7]:"0",")")})},e.prototype.getContainer=function(){return this.get("container")},e.prototype.destroy=function(){var t=this.get("graph").get("container"),e=this.get("container");t.removeChild(e)},e}(Hl),Ql=n("Gu+u"),Jl=n.n(Ql),$l=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();"undefined"!=typeof document&&Jl()("\n .g6-component-contextmenu {\n border: 1px solid #e2e2e2;\n border-radius: 4px;\n font-size: 12px;\n color: #545454;\n background-color: rgba(255, 255, 255, 0.9);\n padding: 10px 8px;\n box-shadow: rgb(174, 174, 174) 0px 0px 10px;\n }\n .g6-contextmenu-ul {\n padding: 0;\n margin: 0;\n list-style: none;\n }\n\n");var tf=function(t){function e(e){return t.call(this,e)||this}return $l(e,t),e.prototype.getDefaultCfgs=function(){return{offsetX:6,offsetY:6,handleMenuClick:void 0,getContent:function(t){return"\n
    \n
  • 菜单项1
  • \n
  • 菜单项2
  • \n
\n "},shouldBegin:function(t){return!0},onHide:function(){return!0},itemTypes:["node","edge","combo"],trigger:"contextmenu"}},e.prototype.getEvents=function(){return"click"===this.get("trigger")?{click:"onMenuShow",touchend:"onMenuShow"}:{contextmenu:"onMenuShow"}},e.prototype.init=function(){var t=this.get("className"),e=il("
"));ol(e,{top:"0px",position:"absolute",visibility:"hidden"});var n=this.get("container");n||(n=this.get("graph").get("container")),Object(x.isString)(n)&&(n=document.getElementById(n)),n.appendChild(e),this.set("menu",e)},e.prototype.onMenuShow=function(t){var e=this;t.preventDefault();var n=this.get("itemTypes");if(t.item){if(t.item&&t.item.getType&&-1===n.indexOf(t.item.getType()))return void e.onMenuHide()}else if(-1===n.indexOf("canvas"))return void e.onMenuHide();if(this.get("shouldBegin")(t)){var r=this.get("menu"),i=this.get("getContent"),o=this.get("graph"),a=i(t,o);Object(x.isString)(a)?r.innerHTML=a:r.innerHTML=a.outerHTML,this.removeMenuEventListener();var s=this.get("handleMenuClick");if(s){var u=function(e){s(e.target,t.item,o)};this.set("handleMenuClickWrapper",u),r.addEventListener("click",u)}var c=o.get("width"),l=o.get("height"),f=r.getBoundingClientRect(),h=this.get("offsetX")||0,d=this.get("offsetY")||0,p=o.getContainer().offsetTop,g=o.getContainer().offsetLeft,v=t.canvasX+g+h,y=t.canvasY+p+d;v+f.width>c&&(v=t.canvasX-f.width-h+g),y+f.height>l&&(y=t.canvasY-f.height-d+p),ol(r,{top:"".concat(y,"px"),left:"".concat(v,"px"),visibility:"visible"});var m="click"===this.get("trigger"),b=function(t){m?m=!1:e.onMenuHide()};document.body.addEventListener("click",b),this.set("handler",b)}},e.prototype.removeMenuEventListener=function(){var t=this.get("handleMenuClickWrapper"),e=this.get("handler");t&&(this.get("menu").removeEventListener("click",t),this.set("handleMenuClickWrapper",null));e&&document.body.removeEventListener("click",e)},e.prototype.onMenuHide=function(){var t=this.get("menu");t&&ol(t,{visibility:"hidden"}),this.removeMenuEventListener()},e.prototype.destroy=function(){var t=this.get("menu");if(this.removeMenuEventListener(),t){var e=this.get("container");e||(e=this.get("graph").get("container")),Object(x.isString)(e)&&(e=document.getElementById(e)),e.removeChild(t)}},e}(Hl),ef=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),nf=function(){return(nf=Object.assign||function(t){for(var e,n=1,r=arguments.length;n\n ")),a=navigator.userAgent.toLowerCase().indexOf("firefox")>-1,s=0,u=0,c=!1,l=0,f=0,h=0,d=0,p=0,g=0;o.addEventListener("dragstart",function(i){var a,v;if(i.dataTransfer){var y=new Image;y.src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' %3E%3Cpath /%3E%3C/svg%3E",null===(v=(a=i.dataTransfer).setDragImage)||void 0===v||v.call(a,y,0,0);try{i.dataTransfer.setData("text/html","view-port-minimap")}catch(t){i.dataTransfer.setData("text","view-port-minimap")}}if(e.refresh=!1,i.target===o){var m=o.style;l=parseInt(m.left,10),f=parseInt(m.top,10),h=parseInt(m.width,10),d=parseInt(m.height,10),h>n[0]||d>n[1]||(g=r.getZoom(),p=t.get("ratio"),c=!0,s=i.clientX,u=i.clientY)}},!1),o.addEventListener(a?"dragover":"drag",function(t){if(c&&!Object(x.isNil)(t.clientX)&&!Object(x.isNil)(t.clientY)){var e=s-t.clientX,i=u-t.clientY;(l-e<0||l-e+h>=n[0])&&(e=0),(f-i<0||f-i+d>=n[1])&&(i=0),f-=i,ol(o,{left:"".concat(l-=e,"px"),top:"".concat(f,"px")}),r.translate(e*g/p,i*g/p),s=t.clientX,u=t.clientY}},!1),o.addEventListener("dragend",function(){c=!1,e.refresh=!0},!1),this.set("viewport",o),i.appendChild(o)}},e.prototype.updateViewport=function(){if(!this.destroyed){var t=this.get("ratio"),e=(this.get("dx"),this.get("dy"),this.get("totaldx")),n=this.get("totaldy"),r=this.get("graph"),i=this.get("size"),o=r.get("width"),a=r.get("height"),s=r.getPointByCanvas(0,0),u=r.getPointByCanvas(o,a),c=this.get("viewport");c||this.initViewport();var l=(u.x-s.x)*t,f=(u.y-s.y)*t,h=s.x*t+e,d=s.y*t+n,p=h+l,g=d+f;h<0&&(l+=h,h=0),p>i[0]&&(l-=p-i[0]),d<0&&(f+=d,d=0),g>i[1]&&(f-=g-i[1]),this.set("ratio",t),ol(c,{left:"".concat(h,"px"),top:"".concat(d,"px"),width:"".concat(l,"px"),height:"".concat(f,"px")})}},e.prototype.updateGraphShapes=function(){var t=this._cfgs.graph,e=this.get("canvas"),n=t.get("group");if(!n.destroyed){var r=n.clone();r.resetMatrix(),e.clear(),e.add(r),"svg"===t.get("renderer")&&this.updateVisible(r)}},e.prototype.updateVisible=function(t){var e=this;if(t.isGroup()||t.get("visible")){var n=t.get("children");if(!n||!n.length)return;n.forEach(function(t){t.get("visible")||t.hide(),e.updateVisible(t)})}else t.hide()},e.prototype.updateKeyShapes=function(){var t=this,e=this._cfgs.graph,n=this.get("canvas"),r=n.get("children")[0]||n.addGroup();Object(x.each)(e.getEdges(),function(e){t.updateOneEdgeKeyShape(e,r)}),Object(x.each)(e.getNodes(),function(e){t.updateOneNodeKeyShape(e,r)});var i=e.getCombos();if(i&&i.length){var o=r.find(function(t){return"comboGroup"===t.get("name")})||r.addGroup({name:"comboGroup"});setTimeout(function(){t.destroyed||(Object(x.each)(i,function(e){t.updateOneComboKeyShape(e,o)}),null===o||void 0===o||o.sort(),null===o||void 0===o||o.toBack(),t.updateCanvas())},250)}this.clearDestroyedShapes()},e.prototype.updateOneComboKeyShape=function(t,e){if(!this.destroyed){var n=this.get("itemMap")||{},r=n[t.get("id")],i=t.getBBox(),o=t.get("keyShape").clone(),a=o.attr(),s={x:i.centerX,y:i.centerY};r?s=Object.assign(a,s):(r=o,e.add(r));var u=r.get("type");"rect"!==u&&"image"!==u||(s.x=i.minX,s.y=i.minY),r.attr(s),t.isVisible()?r.show():r.hide(),r.exist=!0;var c=t.getModel().depth;isNaN(c)||r.set("zIndex",c),n[t.get("id")]=r,this.set("itemMap",n)}},e.prototype.updateOneNodeKeyShape=function(t,e){var n=this.get("itemMap")||{},r=n[t.get("id")],i=t.getBBox(),o=t.get("keyShape").clone(),a=o.attr(),s={x:i.centerX,y:i.centerY};r?s=Object.assign(a,s):(r=o,e.add(r));var u=r.get("type");"rect"!==u&&"image"!==u||(s.x=i.minX,s.y=i.minY),r.attr(s),t.isVisible()?r.show():r.hide(),r.exist=!0;var c=t.getModel().depth;isNaN(c)||r.set("zIndex",c),n[t.get("id")]=r,this.set("itemMap",n)},e.prototype.updateDelegateShapes=function(){var t=this,e=this._cfgs.graph,n=this.get("canvas"),r=n.get("children")[0]||n.addGroup();Object(x.each)(e.getEdges(),function(e){t.updateOneEdgeKeyShape(e,r)}),Object(x.each)(e.getNodes(),function(e){t.updateOneNodeDelegateShape(e,r)});var i=e.getCombos();if(i&&i.length){var o=r.find(function(t){return"comboGroup"===t.get("name")})||r.addGroup({name:"comboGroup"});setTimeout(function(){t.destroyed||(Object(x.each)(i,function(e){t.updateOneComboKeyShape(e,o)}),null===o||void 0===o||o.sort(),null===o||void 0===o||o.toBack(),t.updateCanvas())},250)}this.clearDestroyedShapes()},e.prototype.clearDestroyedShapes=function(){var t=this.get("itemMap")||{},e=Object.keys(t);if(e&&0!==e.length)for(var n=e.length-1;n>=0;n--){var r=t[e[n]],i=r.exist;r.exist=!1,i||(r.remove(),delete t[e[n]])}},e.prototype.updateOneEdgeKeyShape=function(t,e){var n=this.get("itemMap")||{},r=n[t.get("id")];if(r){var i=t.get("keyShape").attr("path");r.attr("path",i)}else r=t.get("keyShape").clone(),e.add(r);t.isVisible()?r.show():r.hide(),r.exist=!0,n[t.get("id")]=r,this.set("itemMap",n)},e.prototype.updateOneNodeDelegateShape=function(t,e){var n=this.get("delegateStyle"),r=this.get("itemMap")||{},i=r[t.get("id")],o=t.getBBox();if(i){var a={x:o.minX,y:o.minY,width:o.width,height:o.height};i.attr(a)}else i=e.addShape("rect",{attrs:nf({x:o.minX,y:o.minY,width:o.width,height:o.height},n),name:"minimap-node-shape"});t.isVisible()?i.show():i.hide(),i.exist=!0,r[t.get("id")]=i,this.set("itemMap",r)},e.prototype.init=function(){this.initContainer(),this.get("graph").on("afterupdateitem",this.handleUpdateCanvas),this.get("graph").on("afteritemstatechange",this.handleUpdateCanvas),this.get("graph").on("afteradditem",this.handleUpdateCanvas),this.get("graph").on("afterremoveitem",this.handleUpdateCanvas),this.get("graph").on("afterrender",this.handleUpdateCanvas),this.get("graph").on("afterlayout",this.handleUpdateCanvas)},e.prototype.initContainer=function(){var t=this.get("graph"),e=this.get("size"),n=this.get("className"),r=this.get("container"),i=il("
"));Object(x.isString)(r)&&(r=document.getElementById(r)),r?r.appendChild(i):t.get("container").appendChild(i),this.set("container",i);var o,a=il('
');i.appendChild(a),a.addEventListener("dragenter",function(t){t.preventDefault()}),a.addEventListener("dragover",function(t){t.preventDefault()}),o="svg"===t.get("renderer")?new Ac({container:a,width:e[0],height:e[1]}):new zu({container:a,width:e[0],height:e[1]}),this.set("canvas",o),this.updateCanvas()},e.prototype.updateCanvas=function(){if(!this.destroyed&&this.get("refresh")){var t=this.get("graph");if(!t.get("destroyed")){this.get("viewportChange")&&(this.set("viewportChange",!1),this.updateViewport());var e=this.get("size"),n=this.get("canvas"),r=this.get("type"),i=this.get("padding");if(!n.destroyed){switch(r){case"default":this.updateGraphShapes();break;case"keyShape":this.updateKeyShapes();break;case"delegate":this.updateDelegateShapes()}var o=n.get("children")[0];if(o){o.resetMatrix();var a=o.getCanvasBBox(),s=t.get("canvas").getCanvasBBox(),u=t.getZoom()||1,c=s.width/u,l=s.height/u;Number.isFinite(a.width)&&(c=rf(a.width,c),l=rf(a.height,l)),c+=2*i,l+=2*i;var f=Math.min(e[0]/c,e[1]/l),h=[1,0,0,0,1,0,0,0,1],d=0,p=0;Number.isFinite(a.minX)&&(d=-a.minX),Number.isFinite(a.minY)&&(p=-a.minY);var g=(e[0]-(c-2*i)*f)/2,v=(e[1]-(l-2*i)*f)/2;h=of(h,[["t",d,p],["s",f,f],["t",g,v]]),o.setMatrix(h),this.set("ratio",f),this.set("totaldx",g+d*f),this.set("totaldy",v+p*f),this.set("dx",g),this.set("dy",v),this.updateViewport()}}}}},e.prototype.getCanvas=function(){return this.get("canvas")},e.prototype.getViewport=function(){return this.get("viewport")},e.prototype.getContainer=function(){return this.get("container")},e.prototype.destroy=function(){var t;null===(t=this.get("canvas"))||void 0===t||t.destroy();var e=this.get("container");(null===e||void 0===e?void 0:e.parentNode)&&e.parentNode.removeChild(e)},e}(Hl),sf=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function uf(t,e,n){var r=t.x-e.x,i=t.y-e.y;return!n||Math.abs(r)>n||Math.abs(i)>n?Math.sqrt(r*r+i*i):n}function cf(t,e){var n=(e.source.y-e.target.y)/(e.source.x-e.target.x),r=(n*n*e.source.x+n*(t.y-e.source.y)+t.x)/(n*n+1);return{x:r,y:n*(r-e.source.x)+e.source.y}}var lf=function(t){function e(e){return t.call(this,e)||this}return sf(e,t),e.prototype.getDefaultCfgs=function(){return{edgeBundles:[],edgePoints:[],K:.1,lambda:.1,divisions:1,divRate:2,cycles:6,iterations:90,iterRate:.6666667,bundleThreshold:.6,eps:1e-6,onLayoutEnd:function(){},onTick:function(){}}},e.prototype.init=function(){var t=this.get("graph"),e=this.get("onTick");this.set("tick",function(){e&&e(),t.refreshPositions()})},e.prototype.bundling=function(t){var e=this;if(e.set("data",t),!e.isTicking()){var n=t.edges||[],r={},i=!1;if((t.nodes||[]).forEach(function(t){null!==t.x&&null!==!t.y&&void 0!==t.x&&void 0!==!t.y||(i=!0),r[t.id]=t}),i)throw new Error("please layout the graph or assign x and y for nodes first");e.set("nodeIdMap",r);var o=e.get("divisions"),a=e.get("divRate"),s=e.divideEdges(o);e.set("edgePoints",s);var u=e.getEdgeBundles();e.set("edgeBundles",u);for(var c=e.get("cycles"),l=e.get("iterations"),f=e.get("iterRate"),h=e.get("lambda"),d=0;dc;){var r=c/n,a={x:i[o][e-1].x,y:i[o][e-1].y};a.x+=r*(t.x-i[o][e-1].x),a.y+=r*(t.y-i[o][e-1].y),l.push(a),n-=c,c=u}c-=n}}),l.push({x:s.x,y:s.y}),i[o]=l}}),i},e.prototype.getEdgeLength=function(t){var e=0;return t.forEach(function(n,r){0!==r&&(e+=uf(n,t[r-1]))}),e},e.prototype.getEdgeBundles=function(){var t=this,e=t.get("data").edges||[],n=t.get("bundleThreshold"),r=t.get("nodeIdMap"),i=t.get("edgeBundles");return i||(i=[]),e.forEach(function(t,e){i[e]&&void 0!==i[e]||(i[e]=[])}),e.forEach(function(o,a){var s=r[o.source],u=r[o.target];e.forEach(function(e,o){if(!(o<=a)){var c=r[e.source],l=r[e.target];t.getBundleScore({source:s,target:u},{source:c,target:l})>=n&&(i[a].push(o),i[o].push(a))}})}),i},e.prototype.getBundleScore=function(t,e){return t.vx=t.target.x-t.source.x,t.vy=t.target.y-t.source.y,e.vx=e.target.x-e.source.x,e.vy=e.target.y-e.source.y,t.length=uf({x:t.source.x,y:t.source.y},{x:t.target.x,y:t.target.y}),e.length=uf({x:e.source.x,y:e.source.y},{x:e.target.x,y:e.target.y}),this.getAngleScore(t,e)*this.getScaleScore(t,e)*this.getPositionScore(t,e)*this.getVisibilityScore(t,e)},e.prototype.getAngleScore=function(t,e){return function(t,e){return t.x*e.x+t.y*e.y}({x:t.vx,y:t.vy},{x:e.vx,y:e.vy})/(t.length*e.length)},e.prototype.getScaleScore=function(t,e){var n=(t.length+e.length)/2;return 2/(n/Math.min(t.length,e.length)+Math.max(t.length,e.length)/n)},e.prototype.getPositionScore=function(t,e){var n=(t.length+e.length)/2;return n/(n+uf({x:(t.source.x+t.target.x)/2,y:(t.source.y+t.target.y)/2},{x:(e.source.x+e.target.x)/2,y:(e.source.y+e.target.y)/2}))},e.prototype.getVisibilityScore=function(t,e){var n=this.getEdgeVisibility(t,e),r=this.getEdgeVisibility(e,t);return nn||Math.abs(a.y)>n){var s=1/uf(i[r][t],i[e][t]);o.x+=a.x*s,o.y+=a.y*s}}),o},e.prototype.isTicking=function(){return this.get("ticking")},e.prototype.getSimulation=function(){return this.get("forceSimulation")},e.prototype.destroy=function(){this.get("ticking")&&this.getSimulation().stop(),t.prototype.destroy.call(this)},e}(Hl),ff=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),hf=function(){return(hf=Object.assign||function(t){for(var e,n=1,r=arguments.length;n(o||n.get("height"))&&e>1||s<(a||.05*n.get("height"))&&e<1)&&(e=1),s*=e,this.set("r",s),this.set("r2",s*s);var u=this.get("d");this.set("molecularParam",(u+1)*s),this.set("delegateCenterDiff",void 0),this.magnify(t,i)}},e.prototype.scaleRByDrag=function(t){if(t){var e,n=this.get("dragPrePos"),r=this.get("graph"),i=r.getPointByClient(t.clientX,t.clientY);e=t.x-n.x<0?.95:1/.95;var o=this.get("maxR"),a=this.get("minR"),s=this.get("r");(s>(o||r.get("height"))&&e>1||s<(a||.05*r.get("height"))&&e<1)&&(e=1),s*=e,this.set("r",s),this.set("r2",s*s);var u=this.get("d");this.set("molecularParam",(u+1)*s),this.magnify(t,i),this.set("dragPrePos",{x:t.x,y:t.y})}},e.prototype.scaleDByWheel=function(t){if(t||t.originalEvent){t.preventDefault&&t.preventDefault();var e=0;e=t.originalEvent.wheelDelta<0?-.1:.1;var n=this.get("d")+e,r=this.get("maxD"),i=this.get("minD");if(ni){this.set("d",n);var o=this.get("r");this.set("molecularParam",(n+1)*o);var a=this.get("delegate"),s=a?{x:a.attr("x"),y:a.attr("y")}:void 0;this.set("delegateCenterDiff",void 0),this.magnify(t,s)}}},e.prototype.scaleDByDrag=function(t){var e=this.get("dragPrePos"),n=t.x-e.x>0?.1:-.1,r=this.get("d")+n,i=this.get("maxD"),o=this.get("minD");if(ro){this.set("d",r);var a=this.get("r");this.set("molecularParam",(r+1)*a),this.magnify(t)}this.set("dragPrePos",{x:t.x,y:t.y})},e.prototype.magnify=function(t,e){this.restoreCache();var n=this.get("graph"),r=this.get("cachedMagnifiedModels"),i=this.get("cachedOriginPositions"),o=this.get("showLabel"),a=this.get("r"),s=this.get("r2"),u=this.get("d"),c=this.get("molecularParam"),l=n.getNodes(),f=l.length,h=e?{x:e.x,y:e.y}:{x:t.x,y:t.y};!this.get("dragging")||"mousemove"!==this.get("trigger")&&"click"!==this.get("trigger")||(h=this.get("cacheCenter"));var d=this.get("delegateCenterDiff");d&&(h.x+=d.x,h.y+=d.y),this.updateDelegate(h,a);for(var p=0;p\n
  • \n \n \n \n
  • \n
  • \n \n \n \n
  • \n
  • \n \n \n \n
  • \n
  • \n \n \n \n
  • \n
  • \n \n \n \n
  • \n
  • \n \n \n \n
  • \n \n '},zoomSensitivity:2}},e.prototype.init=function(){var t=this,e=this.get("graph"),n=this.get("getContent")(e),r=n;Object(x.isString)(n)&&(r=il(n));var i=this.get("className");r.setAttribute("class",i||"g6-component-toolbar");var o=this.get("container");o||(o=this.get("graph").get("container")),Object(x.isString)(o)&&(o=document.getElementById(o)),o.appendChild(r),this.set("toolBar",r);var a=this.get("handleClick");r.addEventListener("click",function(n){var r=function(t){if(!t)return[];if(t.composedPath)return t.composedPath();for(var e=[],n=t.target;n;){if(e.push(n),"HTML"===n.tagName)return e.push(document,window),e;n=n.parentElement}return e}(n).filter(function(t){return"LI"===t.nodeName});if(0!==r.length){var i=r[0].getAttribute("code");i&&(a?a(i,e):t.handleDefaultOperator(i,e))}});var s=this.get("position");s&&ol(r,{top:"".concat(s.y,"px"),left:"".concat(s.x,"px")}),this.bindUndoRedo()},e.prototype.bindUndoRedo=function(){var t=this.get("graph"),e=document.querySelector('.g6-component-toolbar li[code="undo"]'),n=document.querySelector('.g6-component-toolbar li[code="undo"] svg'),r=document.querySelector('.g6-component-toolbar li[code="redo"]'),i=document.querySelector('.g6-component-toolbar li[code="redo"] svg');e&&n&&r&&i&&t.on("stackchange",function(t){var o=t.undoStack,a=t.redoStack,s=o.length,u=a.length;1===s?(e.setAttribute("style","cursor: not-allowed"),n.setAttribute("style","opacity: 0.4")):(e.removeAttribute("style"),n.removeAttribute("style")),0===u?(r.setAttribute("style","cursor: not-allowed"),i.setAttribute("style","opacity: 0.4")):(r.removeAttribute("style"),i.removeAttribute("style"))})},e.prototype.undo=function(){var t=this.get("graph"),e=t.getUndoStack();if(e&&1!==e.length){var n=e.pop();if(n){var r=n.action;t.pushStack(r,Object(x.clone)(n.data),"redo");var i=n.data.before;if("add"===r&&(i=n.data.after),!i)return;switch(r){case"visible":Object.keys(i).forEach(function(e){var n=i[e];n&&n.forEach(function(e){var n=t.findById(e.id);e.visible?t.showItem(n,!1):t.hideItem(n,!1)})});break;case"render":case"update":Object.keys(i).forEach(function(e){var n=i[e];n&&n.forEach(function(e){t.updateItem(e.id,e,!1)})});break;case"changedata":t.changeData(i,!1);break;case"delete":Object.keys(i).forEach(function(e){var n=i[e];n&&n.forEach(function(e){var n=e.itemType;delete e.itemType,t.addItem(n,e,!1)})});break;case"add":Object.keys(i).forEach(function(e){var n=i[e];n&&n.forEach(function(e){t.removeItem(e.id,!1)})});break;case"updateComboTree":Object.keys(i).forEach(function(e){var n=i[e];n&&n.forEach(function(e){t.updateComboTree(e.id,e.parentId,!1)})})}}}},e.prototype.redo=function(){var t=this.get("graph"),e=t.getRedoStack();if(e&&0!==e.length){var n=e.pop();if(n){var r=n.action,i=n.data.after;if(t.pushStack(r,Object(x.clone)(n.data)),"delete"===r&&(i=n.data.before),!i)return;switch(r){case"visible":Object.keys(i).forEach(function(e){var n=i[e];n&&n.forEach(function(e){var n=t.findById(e.id);e.visible?t.showItem(n,!1):t.hideItem(n,!1)})});break;case"render":case"update":Object.keys(i).forEach(function(e){var n=i[e];n&&n.forEach(function(e){t.updateItem(e.id,e,!1)})});break;case"changedata":t.changeData(i,!1);break;case"delete":i.edges&&i.edges.forEach(function(e){t.removeItem(e.id,!1)}),i.nodes&&i.nodes.forEach(function(e){t.removeItem(e.id,!1)}),i.combos&&i.combos.forEach(function(e){t.removeItem(e.id,!1)});break;case"add":Object.keys(i).forEach(function(e){var n=i[e];n&&n.forEach(function(e){var n=e.itemType;delete e.itemType,t.addItem(n,e,!1)})});break;case"updateComboTree":Object.keys(i).forEach(function(e){var n=i[e];n&&n.forEach(function(e){t.updateComboTree(e.id,e.parentId,!1)})})}}}},e.prototype.handleDefaultOperator=function(t,e){var n=e.getZoom();switch(t){case"redo":this.redo();break;case"undo":this.undo();break;case"zoomOut":var r=1/(1-.05*this.get("zoomSensitivity"));if(r*n>(this.get("maxZoom")||e.get("maxZoom")))return;e.zoomTo(n*r);break;case"zoomIn":var i=1-.05*this.get("zoomSensitivity");if(i*n<(this.get("minZoom")||e.get("minZoom")))return;e.zoomTo(n*i);break;case"realZoom":e.zoomTo(1);break;case"autoZoom":e.fitView([20,20])}},e.prototype.destroy=function(){var t=this.get("toolBar");if(t){var e=this.get("container");e||(e=this.get("graph").get("container")),Object(x.isString)(e)&&(e=document.getElementById(e)),e.removeChild(t)}var n=this.get("handleClick");n&&t.removeEventListener("click",n)},e}(Hl),yf=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();"undefined"!=typeof document&&Jl()("\n .g6-component-tooltip {\n border: 1px solid #e2e2e2;\n border-radius: 4px;\n font-size: 12px;\n color: #545454;\n background-color: rgba(255, 255, 255, 0.9);\n padding: 10px 8px;\n box-shadow: rgb(174, 174, 174) 0px 0px 10px;\n }\n .tooltip-type {\n padding: 0;\n margin: 0;\n }\n .tooltip-id {\n color: #531dab;\n }\n");var mf=function(t){function e(e){return t.call(this,e)||this}return yf(e,t),e.prototype.getDefaultCfgs=function(){return{offsetX:6,offsetY:6,getContent:function(t){return"\n

    类型:".concat(t.item.getType(),"

    \n ID:").concat(t.item.getID(),"\n ")},shouldBegin:function(t){return!0},itemTypes:["node","edge","combo"],trigger:"mouseenter",fixToNode:void 0}},e.prototype.getEvents=function(){return"click"===this.get("trigger")?{"node:click":"onClick","edge:click":"onClick","combo:click":"onClick","canvas:click":"onMouseLeave",afterremoveitem:"onMouseLeave",contextmenu:"onMouseLeave",drag:"onMouseLeave"}:{"node:mouseenter":"onMouseEnter","node:mouseleave":"onMouseLeave","node:mousemove":"onMouseMove","edge:mouseenter":"onMouseEnter","edge:mouseleave":"onMouseLeave","edge:mousemove":"onMouseMove","combo:mouseenter":"onMouseEnter","combo:mouseleave":"onMouseLeave","combo:mousemove":"onMouseMove",afterremoveitem:"onMouseLeave",contextmenu:"onMouseLeave","node:drag":"onMouseLeave"}},e.prototype.init=function(){var t=this,e=t.get("className")||"g6-component-tooltip",n=il("
    ")),r=t.get("container");r||(r=t.get("graph").get("container")),Object(x.isString)(r)&&(r=document.getElementById(r)),ol(n,{position:"absolute",visibility:"hidden",display:"none"}),r.appendChild(n),"click"!==t.get("trigger")&&(n.addEventListener("mouseenter",function(t){ol(n,{visibility:"visible",display:"unset"})}),n.addEventListener("mouseleave",function(e){t.hideTooltip()})),t.set("tooltip",n)},e.prototype.onClick=function(t){var e=this.get("itemTypes");if(!t.item||!t.item.getType||-1!==e.indexOf(t.item.getType())){var n=t.item,r=this.get("graph");this.currentTarget===n?(this.currentTarget=null,this.hideTooltip(),r.emit("tooltipchange",{item:t.item,action:"hide"})):(this.currentTarget=n,this.showTooltip(t),r.emit("tooltipchange",{item:t.item,action:"show"}))}},e.prototype.onMouseEnter=function(t){var e=this.get("itemTypes");if(!t.item||!t.item.getType||-1!==e.indexOf(t.item.getType())){var n=t.item,r=this.get("graph");this.currentTarget=n,this.showTooltip(t),r.emit("tooltipchange",{item:t.item,action:"show"})}},e.prototype.onMouseMove=function(t){var e=this.get("itemTypes");t.item&&t.item.getType&&-1===e.indexOf(t.item.getType())||this.currentTarget&&t.item===this.currentTarget&&this.showTooltip(t)},e.prototype.onMouseLeave=function(){this.hideTooltip(),this.get("graph").emit("tooltipchange",{item:this.currentTarget,action:"hide"}),this.currentTarget=null},e.prototype.clearContainer=function(){var t=this.get("tooltip");t&&(t.innerHTML="")},e.prototype.showTooltip=function(t){if(t.item){var e=this.get("itemTypes");if(!t.item.getType||-1!==e.indexOf(t.item.getType())){var n=this.get("tooltip"),r=this.get("getContent")(t);Object(x.isString)(r)?n.innerHTML=r:(this.clearContainer(),n.appendChild(r)),this.updatePosition(t)}}},e.prototype.hideTooltip=function(){var t=this.get("tooltip");t&&ol(t,{visibility:"hidden",display:"none"})},e.prototype.updatePosition=function(t){var e=this.get("shouldBegin"),n=this.get("tooltip");if(e(t)){var r=this.get("graph"),i=r.get("width"),o=r.get("height"),a=this.get("offsetX")||0,s=this.get("offsetY")||0,u=r.getPointByClient(t.clientX,t.clientY),c=this.get("fixToNode"),l=t.item;if(l.getType&&"node"===l.getType()&&c&&Object(x.isArray)(c)&&c.length>=2){var f=l.getBBox();u={x:f.minX+f.width*c[0],y:f.minY+f.height*c[1]}}var h=r.getCanvasByPoint(u.x,u.y),d=h.x,p=h.y,g=r.getContainer(),v={x:d+g.offsetLeft+a,y:p+g.offsetTop+s};ol(n,{visibility:"visible",display:"unset"});var y=n.getBoundingClientRect();d+y.width+a>i&&(v.x-=y.width+a),p+y.height+s>o&&(v.y-=y.height+s),ol(n,{left:"".concat(v.x,"px"),top:"".concat(v.y,"px")})}else ol(n,{visibility:"hidden",display:"none"})},e.prototype.hide=function(){this.onMouseLeave()},e.prototype.destroy=function(){var t=this.get("tooltip");if(t){var e=this.get("container");e||(e=this.get("graph").get("container")),Object(x.isString)(e)&&(e=document.getElementById(e)),e.removeChild(t)}},e}(Hl),bf={};function xf(t,e){bf[t]=e}var wf=function(){function t(t){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=t,this.initCfg(),this.init()}return t.prototype.translate=function(t){return t},t.prototype.change=function(t){Object(x.assign)(this.__cfg__,t),this.init()},t.prototype.clone=function(){return this.constructor(this.__cfg__)},t.prototype.getTicks=function(){var t=this;return Object(x.map)(this.ticks,function(e,n){return Object(x.isObject)(e)?e:{text:t.getText(e,n),tickValue:e,value:t.scale(e)}})},t.prototype.getText=function(t,e){var n=this.formatter,r=n?n(t,e):t;return Object(x.isNil)(r)||!Object(x.isFunction)(r.toString)?"":r.toString()},t.prototype.getConfig=function(t){return this.__cfg__[t]},t.prototype.init=function(){Object(x.assign)(this,this.__cfg__),this.setDomain(),Object(x.isEmpty)(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},t.prototype.initCfg=function(){},t.prototype.setDomain=function(){},t.prototype.calculateTicks=function(){var t=this.tickMethod,e=[];if(Object(x.isString)(t)){var n=function(t){return bf[t]}(t);if(!n)throw new Error("There is no method to to calculate ticks!");e=n(this)}else Object(x.isFunction)(t)&&(e=t(this));return e},t.prototype.rangeMin=function(){return this.range[0]},t.prototype.rangeMax=function(){return this.range[1]},t.prototype.calcPercent=function(t,e,n){return Object(x.isNumber)(t)?(t-e)/(n-e):NaN},t.prototype.calcValue=function(t,e,n){return e+t*(n-e)},t}(),_f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cat",e.isCategory=!0,e}return Object(b.__extends)(e,t),e.prototype.buildIndexMap=function(){if(!this.translateIndexMap){this.translateIndexMap=new Map;for(var t=0;tthis.max?NaN:this.values[r]},e.prototype.getText=function(e){for(var n=[],r=1;r1?t-1:t}this.translateIndexMap&&(this.translateIndexMap=void 0)},e}(wf),Ef=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,Sf="[^\\s]+",Mf=/\[([^]*?)\]/gm;function Of(t,e){for(var n=[],r=0,i=t.length;r-1?r:null}};function Af(t){for(var e=[],n=1;n3?0:(t-t%10!=10?1:0)*t%10]}},Pf=Af({},Nf),jf=function(t){return Pf=Af(Pf,t)},Df=function(t){return t.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},Lf=function(t,e){for(void 0===e&&(e=2),t=String(t);t.length0?"-":"+")+Lf(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)},Z:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+Lf(Math.floor(Math.abs(e)/60),2)+":"+Lf(Math.abs(e)%60,2)}},Bf=function(t){return+t-1},Gf=[null,"[1-9]\\d?"],Ff=[null,Sf],zf=["isPm",Sf,function(t,e){var n=t.toLowerCase();return n===e.amPm[0]?0:n===e.amPm[1]?1:null}],Uf=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(t){var e=(t+"").match(/([+-]|\d\d)/gi);if(e){var n=60*+e[1]+parseInt(e[2],10);return"+"===e[0]?n:-n}return 0}],Wf={D:["day","[1-9]\\d?"],DD:["day","\\d\\d"],Do:["day","[1-9]\\d?"+Sf,function(t){return parseInt(t,10)}],M:["month","[1-9]\\d?",Bf],MM:["month","\\d\\d",Bf],YY:["year","\\d\\d",function(t){var e=+(""+(new Date).getFullYear()).substr(0,2);return+(""+(+t>68?e-1:e)+t)}],h:["hour","[1-9]\\d?",void 0,"isPm"],hh:["hour","\\d\\d",void 0,"isPm"],H:["hour","[1-9]\\d?"],HH:["hour","\\d\\d"],m:["minute","[1-9]\\d?"],mm:["minute","\\d\\d"],s:["second","[1-9]\\d?"],ss:["second","\\d\\d"],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(t){return 100*+t}],SS:["millisecond","\\d\\d",function(t){return 10*+t}],SSS:["millisecond","\\d{3}"],d:Gf,dd:Gf,ddd:Ff,dddd:Ff,MMM:["month",Sf,kf("monthNamesShort")],MMMM:["month",Sf,kf("monthNames")],a:zf,A:zf,ZZ:Uf,Z:Uf},Vf={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},Xf=function(t){return Af(Vf,t)},Yf=function(t,e,n){if(void 0===e&&(e=Vf.default),void 0===n&&(n={}),"number"==typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw new Error("Invalid Date pass to format");var r=[];e=(e=Vf[e]||e).replace(Mf,function(t,e){return r.push(e),"@@@"});var i=Af(Af({},Pf),n);return(e=e.replace(Ef,function(e){return Rf[e](t,i)})).replace(/@@@/g,function(){return r.shift()})};function Hf(t,e,n){if(void 0===n&&(n={}),"string"!=typeof e)throw new Error("Invalid format in fecha parse");if(e=Vf[e]||e,t.length>1e3)return null;var r={year:(new Date).getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},i=[],o=[],a=e.replace(Mf,function(t,e){return o.push(Df(e)),"@@@"}),s={},u={};a=Df(a).replace(Ef,function(t){var e=Wf[t],n=e[0],r=e[1],o=e[3];if(s[n])throw new Error("Invalid format. "+n+" specified twice in format");return s[n]=!0,o&&(u[o]=!0),i.push(e),"("+r+")"}),Object.keys(u).forEach(function(t){if(!s[t])throw new Error("Invalid format. "+t+" is required in specified format")}),a=a.replace(/@@@/g,function(){return o.shift()});var c=t.match(new RegExp(a,"i"));if(!c)return null;for(var l=Af(Af({},Pf),n),f=1;f>>1;t(e[s])>n?a=s:o=s+1}return o}},Zf="format";function Qf(t,e){return(m[Zf]||qf[Zf])(t,e)}function Jf(t){return Object(x.isString)(t)&&(t=t.indexOf("T")>0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),Object(x.isDate)(t)&&(t=t.getTime()),t}var $f=1e3,th=60*$f,eh=60*th,nh=24*eh,rh=31*nh,ih=365*nh,oh=[["HH:mm:ss",$f],["HH:mm:ss",10*$f],["HH:mm:ss",30*$f],["HH:mm",th],["HH:mm",10*th],["HH:mm",30*th],["HH",eh],["HH",6*eh],["HH",12*eh],["YYYY-MM-DD",nh],["YYYY-MM-DD",4*nh],["YYYY-WW",7*nh],["YYYY-MM",rh],["YYYY-MM",4*rh],["YYYY-MM",6*rh],["YYYY",380*nh]];var ah=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="timeCat",e}return Object(b.__extends)(e,t),e.prototype.translate=function(t){t=Jf(t);var e=this.values.indexOf(t);return-1===e&&(e=Object(x.isNumber)(t)&&t-1){var r=this.values[n],i=this.formatter;return r=i?i(r,e):Qf(r,this.mask)}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var e=this.values;Object(x.each)(e,function(t,n){e[n]=Jf(t)}),e.sort(function(t,e){return t-e}),t.prototype.setDomain.call(this)},e}(_f),sh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isContinuous=!0,e}return Object(b.__extends)(e,t),e.prototype.scale=function(t){if(Object(x.isNil)(t))return NaN;var e=this.rangeMin(),n=this.rangeMax();return this.max===this.min?e:e+this.getScalePercent(t)*(n-e)},e.prototype.init=function(){t.prototype.init.call(this);var e=this.ticks,n=Object(x.head)(e),r=Object(x.last)(e);nthis.max&&(this.max=r),Object(x.isNil)(this.minLimit)||(this.min=n),Object(x.isNil)(this.maxLimit)||(this.max=r)},e.prototype.setDomain=function(){var t=Object(x.getRange)(this.values),e=t.min,n=t.max;Object(x.isNil)(this.min)&&(this.min=e),Object(x.isNil)(this.max)&&(this.max=n),this.min>this.max&&(this.min=e,this.max=n)},e.prototype.calculateTicks=function(){var e=this,n=t.prototype.calculateTicks.call(this);return this.nice||(n=Object(x.filter)(n,function(t){return t>=e.min&&t<=e.max})),n},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;return(t-n)/(e-n)},e.prototype.getInvertPercent=function(t){return(t-this.rangeMin())/(this.rangeMax()-this.rangeMin())},e}(wf),uh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="linear",e.isLinear=!0,e}return Object(b.__extends)(e,t),e.prototype.invert=function(t){var e=this.getInvertPercent(t);return this.min+e*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(sh);function ch(t,e){var n=Math.E;return e>=0?Math.pow(n,Math.log(e)/t):-1*Math.pow(n,Math.log(-e)/t)}function lh(t,e){return 1===t?1:Math.log(e)/Math.log(t)}function fh(t,e,n){Object(x.isNil)(n)&&(n=Math.max.apply(null,t));var r=n;return Object(x.each)(t,function(t){t>0&&t1&&(r=1),r}var hh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e}return Object(b.__extends)(e,t),e.prototype.invert=function(t){var e,n=this.base,r=lh(n,this.max),i=this.rangeMin(),o=this.rangeMax()-i,a=this.positiveMin;if(a){if(0===t)return 0;var s=1/(r-(e=lh(n,a/n)))*o;if(t=0?1:-1;return Math.pow(o,n)*a},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;var r=this.exponent;return(ch(r,t)-ch(r,n))/(ch(r,e)-ch(r,n))},e}(sh),ph=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="time",e}return Object(b.__extends)(e,t),e.prototype.getText=function(t,e){var n=this.translate(t),r=this.formatter;return r?r(n,e):Qf(n,this.mask)},e.prototype.scale=function(e){var n=e;return(Object(x.isString)(n)||Object(x.isDate)(n))&&(n=this.translate(n)),t.prototype.scale.call(this,n)},e.prototype.translate=function(t){return Jf(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,e=this.getConfig("min"),n=this.getConfig("max");if(Object(x.isNil)(e)&&Object(x.isNumber)(e)||(this.min=this.translate(this.min)),Object(x.isNil)(n)&&Object(x.isNumber)(n)||(this.max=this.translate(this.max)),t&&t.length){var r=[],i=1/0,o=i,a=0;Object(x.each)(t,function(t){var e=Jf(t);if(isNaN(e))throw new TypeError("Invalid Time: "+t+" in time scale!");i>e?(o=i,i=e):o>e&&(o=e),a1&&(this.minTickInterval=o-i),Object(x.isNil)(e)&&(this.min=i),Object(x.isNil)(n)&&(this.max=a)}},e}(uh),gh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantize",e}return Object(b.__extends)(e,t),e.prototype.invert=function(t){var e=this.ticks,n=e.length,r=this.getInvertPercent(t),i=Math.floor(r*(n-1));if(i>=n-1)return Object(x.last)(e);if(i<0)return Object(x.head)(e);var o=e[i],a=i/(n-1);return o+(r-a)/((i+1)/(n-1)-a)*(e[i+1]-o)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var e=t.prototype.calculateTicks.call(this);return this.nice||(Object(x.last)(e)!==this.max&&e.push(this.max),Object(x.head)(e)!==this.min&&e.unshift(this.min)),e},e.prototype.getScalePercent=function(t){var e=this.ticks;if(tObject(x.last)(e))return 1;var n=0;return Object(x.each)(e,function(e,r){if(!(t>=e))return!1;n=r}),n/(e.length-1)},e}(sh),vh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="quantile",e}return Object(b.__extends)(e,t),e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(gh),yh={};function mh(t,e){if(function(t){return yh[t]}(t))throw new Error("type '"+t+"' existed.");yh[t]=e}var bh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="identity",e.isIdentity=!0,e}return Object(b.__extends)(e,t),e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&Object(x.isNumber)(t)?t:this.range[0]},e.prototype.invert=function(t){var e=this.range;return te[1]?NaN:this.values[0]},e}(wf);function xh(t){return Math.abs(t)<1e-15?t:parseFloat(t.toFixed(15))}var wh=[1,5,2,2.5,4,3],_h=100*Number.EPSILON;function Eh(t,e,n,r,i,o){var a=Object(x.size)(e),s=Object(x.indexOf)(e,t),u=0,c=function(t,e){return(t%e+e)%e}(r,o);return(c<_h||o-c<_h)&&r<=0&&i>=0&&(u=1),1-s/(a-1)-n+u}function Sh(t,e,n){var r=Object(x.size)(e);return 1-Object(x.indexOf)(e,t)/(r-1)-n+1}function Mh(t,e,n,r,i,o){var a=(t-1)/(o-i),s=(e-1)/(Math.max(o,r)-Math.min(n,i));return 2-Math.max(a/s,s/a)}function Oh(t,e){return t>=e?2-(t-1)/(e-1):1}function kh(t,e,n,r){var i=e-t;return 1-.5*(Math.pow(e-r,2)+Math.pow(t-n,2))/Math.pow(.1*i,2)}function Ah(t,e,n){var r=e-t;if(n>r){var i=(n-r)/2;return 1-Math.pow(i,2)/Math.pow(.1*r,2)}return 1}function Ch(t,e,n,r,i,o){void 0===n&&(n=5),void 0===r&&(r=!0),void 0===i&&(i=wh),void 0===o&&(o=[.25,.2,.5,.05]);var a=n<0?0:Math.round(n);if(Number.isNaN(t)||Number.isNaN(e)||"number"!=typeof t||"number"!=typeof e||!a)return{min:0,max:0,ticks:[]};if(e-t<1e-15||1===a)return{min:t,max:e,ticks:[t]};for(var s={score:-2,lmin:0,lmax:0,lstep:0},u=1;u<1/0;){for(var c=0;cs.score&&(!r||E<=t&&S>=e)&&(s.lmin=E,s.lmax=S,s.lstep=M,s.score=C)}g+=1}h+=1}}u+=1}var I=xh(s.lmax),T=xh(s.lmin),N=xh(s.lstep),P=Math.floor(function(t){return Math.round(1e12*t)/1e12}((I-T)/N))+1,j=new Array(P);j[0]=xh(T);for(c=1;c=o&&t<=a}).map(function(t){return e[t]})}return e.slice(o,a+1)}var Th=Math.sqrt(50),Nh=Math.sqrt(10),Ph=Math.sqrt(2),jh=function(){function t(){this._domain=[0,1]}return t.prototype.domain=function(t){return t?(this._domain=Array.from(t,Number),this):this._domain.slice()},t.prototype.nice=function(t){var e,n;void 0===t&&(t=5);var r,i=this._domain.slice(),o=0,a=this._domain.length-1,s=this._domain[o],u=this._domain[a];return u0?r=Dh(s=Math.floor(s/r)*r,u=Math.ceil(u/r)*r,t):r<0&&(r=Dh(s=Math.ceil(s*r)/r,u=Math.floor(u*r)/r,t)),r>0?(i[o]=Math.floor(s/r)*r,i[a]=Math.ceil(u/r)*r,this.domain(i)):r<0&&(i[o]=Math.ceil(s*r)/r,i[a]=Math.floor(u*r)/r,this.domain(i)),this},t.prototype.ticks=function(t){return void 0===t&&(t=5),function(t,e,n){var r,i,o,a,s=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];(r=e0)for(t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));++s=0?(o>=Th?10:o>=Nh?5:o>=Ph?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=Th?10:o>=Nh?5:o>=Ph?2:1)}function Lh(t,e,n){return("ceil"===n?Math.ceil(t/e):"floor"===n?Math.floor(t/e):Math.round(t/e))*e}function Rh(t,e,n){var r=Lh(t,n,"floor"),i=Lh(e,n,"ceil");r=Object(x.fixedBase)(r,n),i=Object(x.fixedBase)(i,n);for(var o=[],a=Math.max((i-r)/(Math.pow(2,12)-1),n),s=r;s<=i;s+=a){var u=Object(x.fixedBase)(s,a);o.push(u)}return{min:r,max:i,ticks:o}}function Bh(t,e,n){var r,i=t.minLimit,o=t.maxLimit,a=t.min,s=t.max,u=t.tickCount,c=void 0===u?5:u,l=Object(x.isNil)(i)?Object(x.isNil)(e)?a:e:i,f=Object(x.isNil)(o)?Object(x.isNil)(n)?s:n:o;if(l>f&&(f=(r=[l,f])[0],l=r[1]),c<=2)return[l,f];for(var h=(f-l)/(c-1),d=[],p=0;p=oh.length&&(o=Object(x.last)(oh)),o}(e,n,o)[1])/o;a>1&&(i*=Math.ceil(a)),r&&iih)for(var u=zh(n),c=Math.ceil(o/ih),l=s;l<=u+c;l+=c)a.push(Uh(l));else if(o>rh){var f=Math.ceil(o/rh),h=Wh(e),d=function(t,e){var n=zh(t),r=zh(e),i=Wh(t);return 12*(r-n)+(Wh(e)-i)%12}(e,n);for(l=0;l<=d+f;l+=f)a.push(Vh(s,l+h))}else if(o>nh){var p=(b=new Date(e)).getFullYear(),g=b.getMonth(),v=b.getDate(),y=Math.ceil(o/nh),m=function(t,e){return Math.ceil((e-t)/nh)}(e,n);for(l=0;leh){p=(b=new Date(e)).getFullYear(),g=b.getMonth(),y=b.getDate();var b,x=b.getHours(),w=Math.ceil(o/eh),_=function(t,e){return Math.ceil((e-t)/eh)}(e,n);for(l=0;l<=_+w;l+=w)a.push(new Date(p,g,y,x+l).getTime())}else if(o>th){var E=function(t,e){return Math.ceil((e-t)/6e4)}(e,n),S=Math.ceil(o/th);for(l=0;l<=E+S;l+=S)a.push(e+l*th)}else{var M=o;M<$f&&(M=$f);var O=Math.floor(e/$f)*$f,k=Math.ceil((n-e)/$f),A=Math.ceil(M/$f);for(l=0;l=512&&console.warn("Notice: current ticks length("+a.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+o+") is too small, increase the value to solve the problem!"),a}),xf("log",function(t){var e,n=t.base,r=t.tickCount,i=t.min,o=t.max,a=t.values,s=lh(n,o);if(i>0)e=Math.floor(lh(n,i));else{var u=fh(a,n,o);e=Math.floor(lh(n,u))}for(var c=s-e,l=Math.ceil(c/r),f=[],h=e;h=0?1:-1;return Math.pow(t,e)*n})}),xf("quantile",function(t){var e=t.tickCount,n=t.values;if(!n||!n.length)return[];for(var r=n.slice().sort(function(t,e){return t-e}),i=[],o=0;on&&(o=n,i=e)})}i=e.originalEvent.deltaY>0?Math.max(0,i-1):Math.min(t.speedAxisY.length-1,i+1);var a=t.speedAxisY[i]-r;n=sd(n,[["t",0,a]]),t.speedPoint.setMatrix(n),t.currentSpeed=t.speedAxisY.length-i,t.speedText.attr("text","".concat(t.currentSpeed,".0X")),t.group.emit("timebarConfigChanged",{speed:t.currentSpeed,type:t.currentType})}),this.toggleGroup&&this.toggleGroup.on("toggle-model:click",function(e){var n,r,i=e.target.get("isChecked");i?(t.checkedIcon.hide(),t.checkedText.attr("text",(null===(r=t.controllerCfg)||void 0===r?void 0:r.timePointControllerText)||"单一时间"),t.currentType="range"):(t.checkedIcon.show(),t.checkedText.attr("text",(null===(n=t.controllerCfg)||void 0===n?void 0:n.timeRangeControllerText)||"时间范围"),t.currentType="single"),e.target.set("isChecked",!i),t.group.emit("timebarConfigChanged",{type:t.currentType,speed:t.currentSpeed})})},t.prototype.destroy=function(){this.speedGroup.off("speed-rect:click"),this.toggleGroup&&(this.toggleGroup.off("toggle-model:click"),this.toggleGroup.destroy()),this.speedGroup.destroy()},t}(),gd=function(){return(gd=Object.assign||function(t){for(var e,n=1,r=arguments.length;nd?(s.show(),c.show(),d=l.minX+l.width+10):(s.hide(),c.hide()),s}),this.controllerBtnGroup=new pd(gd({group:this.group,x:this.x,y:this.y+n+25,width:e,height:35},this.controllerCfg)),this.updateStartEnd(0),this.updateUI(),o.move(this.x,this.y),this.bindEvents()},t.prototype.bindEvents=function(){var t=this,e=this.group.find(function(t){return"minHandlerShape"===t.get("name")});e&&(e.on("minHandlerShape-handler:mousedown",this.onMouseDown(this.minHandlerShape)),e.on("minHandlerShape-handler:touchstart",this.onMouseDown(this.minHandlerShape)));var n=this.group.find(function(t){return"maxHandlerShape"===t.get("name")});n&&(n.on("maxHandlerShape-handler:mousedown",this.onMouseDown(this.maxHandlerShape)),n.on("maxHandlerShape-handler:touchstart",this.onMouseDown(this.maxHandlerShape))),this.foregroundShape.on("mousedown",this.onMouseDown(this.foregroundShape)),this.foregroundShape.on("touchstart",this.onMouseDown(this.foregroundShape)),this.group.on("".concat("playPauseBtn",":click"),function(){t.isPlay=!t.isPlay,t.currentHandler=t.maxHandlerShape,t.changePlayStatus()}),this.group.on("".concat("nextStepBtn",":click"),function(){t.currentHandler=t.maxHandlerShape,t.updateStartEnd(.01),t.updateUI()}),this.group.on("".concat("preStepBtn",":click"),function(){t.currentHandler=t.maxHandlerShape,t.updateStartEnd(-.01),t.updateUI()}),this.group.on("timebarConfigChanged",function(e){var n=e.type,r=e.speed;t.currentSpeed=r,t.currentMode=n,"single"===n?(t.minHandlerShape.hide(),t.foregroundShape.hide(),t.minTextShape.hide()):"range"===n&&(t.minHandlerShape.show(),t.foregroundShape.show(),t.minTextShape.show())})},t.prototype.adjustTickIndex=function(t){for(var e=0;e1&&(this.end=1);var e=this.x+this.start*this.width,n=this.x+this.end*this.width;this.foregroundShape.attr("x",e),this.foregroundShape.attr("width",n-e);var r=Object(x.get)(this.handlerStyle,"width",2);this.setText(this.minText,this.maxText);var i=this.dodgeText([e,n]),o=i[0],a=i[1];this.minHandlerShape.setX(e-r/2),Object(x.each)(o,function(e,n){return t.minTextShape.attr(n,e)}),this.maxHandlerShape.setX(n-r/2),Object(x.each)(a,function(e,n){return t.maxTextShape.attr(n,e)}),"range"===this.currentMode?this.graph.emit("valuechange",{value:[this.start,this.end].sort()}):"single"===this.currentMode&&this.graph.emit("valuechange",{value:[this.end,this.end]})},t.prototype.dodgeText=function(t){var e,n,r=Object(x.get)(this.handlerStyle,"width",2),i=this.minTextShape,o=this.maxTextShape,a=t[0],s=t[1],u=!1;a>s&&(a=(e=[s,a])[0],s=e[1],i=(n=[o,i])[0],o=n[1],u=!0);var c=i.getBBox(),l=o.getBBox(),f=null,h=null;return"trend"===this.timeBarType?(f=a-c.widththis.x+this.width?{x:s-r/2-2,textAlign:"right"}:{x:s+r/2+2,textAlign:"left"}):"simple"===this.timeBarType&&(f=i.attr("x")>c.width?{x:a,textAlign:"center"}:{x:a,textAlign:"left"},h=o.attr("x")>this.width-l.width?{x:s,textAlign:"right"}:{x:s,textAlign:"center"}),u?[h,f]:[f,h]},t.prototype.startPlay=function(){var t=this;return"undefined"!=typeof window?window.requestAnimationFrame(function(){var e=t,n=e.ticks,r=e.width,i=t.currentSpeed,o=r/n.length/(1e3*(10-i)/60),a=t.adjustOffsetRange(o/t.width);t.updateStartEnd(a),t.updateUI(),t.isPlay&&(t.playHandler=t.startPlay())}):void 0},t.prototype.changePlayStatus=function(t){void 0===t&&(t=!0),this.controllerBtnGroup.playButton.update({isPlay:this.isPlay}),this.isPlay?(this.playHandler=this.startPlay(),this.graph.emit("timebarstartplay",null)):this.playHandler&&("undefined"!=typeof window&&window.cancelAnimationFrame(this.playHandler),t&&this.graph.emit("timebarendplay",null))},t.prototype.destory=function(){this.graph.off("valuechange",function(){});var t=this.group,e=t.find(function(t){return"minHandlerShape"===t.get("name")});e&&(e.off("minHandlerShape-handler:mousedown"),e.off("minHandlerShape-handler:touchstart"),e.destroy());var n=t.find(function(t){return"maxHandlerShape"===t.get("name")});n&&(n.off("maxHandlerShape-handler:mousedown"),n.off("maxHandlerShape-handler:touchstart"),n.destroy()),this.foregroundShape.off("mousedown"),this.foregroundShape.off("touchstart"),this.foregroundShape.destroy(),t.off("".concat("playPauseBtn",":click")),t.off("".concat("nextStepBtn",":click")),t.off("".concat("preStepBtn",":click")),t.off("timebarConfigChanged"),t.destroy(),this.trendComponent&&this.trendComponent.destory()},t}(),Md=function(){function t(t){var e=t.x,n=void 0===e?0:e,r=t.y,i=void 0===r?0:r,o=t.container,a=t.text,s=t.padding,u=void 0===s?[4,4,4,4]:s,c=t.className,l=void 0===c?"g6-component-timebar-tooltip":c,f=t.backgroundColor,h=void 0===f?"#000":f,d=t.textColor,p=void 0===d?"#fff":d,g=t.opacity,v=void 0===g?.8:g,y=t.fontSize,m=void 0===y?12:y;this.container=o,this.className=l,this.backgroundColor=h,this.textColor=p,this.x=n,this.y=i,this.text=a,this.padding=u,this.opacity=v,this.fontSize=m,this.render()}return t.prototype.render=function(){var t=this.className,e=(this.x,this.y,this.backgroundColor),n=this.textColor,r=this.text,i=this.padding,o=this.opacity,a=this.fontSize,s=this.container,u=il("
    '));Object(x.isString)(s)&&(s=document.getElementById(s)),s.appendChild(u),this.parentHeight=s.offsetHeight,this.parentWidth=s.offsetWidth,ol(u,{visibility:"hidden",top:0,left:0});var c=il("\n
    "));c.innerHTML=r,u.appendChild(c),this.backgroundDOM=c;var l=il("
    "));u.appendChild(l),this.arrowDOM=l,this.container=u},t.prototype.show=function(t){var e=t.text,n=t.x;t.y,t.clientX,t.clientY;this.backgroundDOM.innerHTML=e;var r=this.backgroundDOM.offsetWidth,i=this.backgroundDOM.offsetHeight,o=this.arrowDOM.offsetWidth,a=this.arrowDOM.offsetHeight;ol(this.container,{top:"".concat(-i-a,"px"),left:"".concat(n,"px"),visibility:"visible"}),ol(this.backgroundDOM,{marginLeft:"".concat(-r/2,"px")}),ol(this.arrowDOM,{marginLeft:"".concat(-o/2,"px"),top:"".concat(i,"px")});var s=n-r/2,u=n+r/2;s<0?ol(this.backgroundDOM,{marginLeft:"".concat(-r/2-s,"px")}):u>this.parentWidth&&ol(this.backgroundDOM,{marginLeft:"".concat(-r/2-u+this.parentWidth+12,"px")})},t.prototype.hide=function(){ol(this.container,{top:0,left:0,visibility:"hidden"})},t}(),Od=function(){return(Od=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=b&&r<=w?c:l,a=v.addShape("rect",{attrs:Od({x:i+r*(g+2),y:i,width:g,height:d},o),draggable:!0,name:"tick-rect-".concat(r)}),s=v.addShape("rect",{attrs:{x:i+r*g+2*(2*r-1)/2,y:i,width:0===r||r===p-1?g+1:g+2,height:d,fill:"#fff",opacity:0},draggable:!0,name:"pick-rect-".concat(r)});s.toFront();var h,E=a.getBBox(),S=(E.minX+E.maxX)/2;if(y.push({rect:a,pickRect:s,value:e.date,x:S,y:E.minY}),u?(h=u(e),!Object(x.isString)(h)&&h&&(h=e.date)):r%Math.round(p/10)==0&&(h=e.date),h){m.push(h);var M=E.maxY+2*i;v.addShape("line",{attrs:{stroke:"#BFBFBF",x1:S,y1:M,x2:S,y2:M+4},name:"tick-line"});var O=M+4+i,k=v.addShape("text",{attrs:Od({fill:"#8c8c8c",stroke:"#fff",lineWidth:1,x:S,y:O,textAlign:"center",text:h,textBaseline:"top",fontSize:10,fontFamily:t.fontFamily||"Arial, sans-serif"},f),capture:!1,name:"tick-label"}),A=k.getBBox();if(A.maxX>n?k.attr("textAlign","right"):A.minX<0&&k.attr("textAlign","left"),Object(x.isNumber)(_)&&10!==m.length){var C=kd([1,0,0,0,1,0,0,0,1],[["t",-S,-O],["r",_],["t",S-5,O+2]]);k.attr({textAlign:"left",matrix:C})}1===m.length?k.attr({textAlign:"left"}):10===m.length&&k.attr({textAlign:"right"})}}),this.tickRects=y;var E=this.group;this.currentSpeed=1,this.controllerBtnGroup=new pd({group:E,x:this.x,y:this.y+r+5,width:n,height:40,hideTimeTypeController:!0,speed:this.currentSpeed,fontFamily:this.fontFamily||"Arial, sans-serif"})},t.prototype.initEvent=function(){var t=this,e=this.sliceGroup;e.on("click",function(e){var n=e.target;if("rect"===n.get("type")&&n.get("name")){var r=parseInt(n.get("name").split("-")[2],10);if(!isNaN(r)){var i=t.tickRects,o=t.unselectedTickStyle;i.forEach(function(t){t.rect.attr(o)});var a=t.selectedTickStyle;i[r].rect.attr(a),t.startTickRectId=r,t.endTickRectId=r;var s=r/i.length;t.graph.emit("valuechange",{value:[s,s]})}}}),e.on("dragstart",function(e){var n=t.tickRects,r=t.unselectedTickStyle;n.forEach(function(t){t.rect.attr(r)});var i=e.target,o=parseInt(i.get("name").split("-")[2],10),a=t.selectedTickStyle;n[o].rect.attr(a),t.startTickRectId=o;var s=o/n.length;t.graph.emit("valuechange",{value:[s,s]}),t.dragging=!0}),e.on("dragover",function(e){if(t.dragging&&"rect"===e.target.get("type")){for(var n=parseInt(e.target.get("name").split("-")[2],10),r=t.startTickRectId,i=t.tickRects,o=t.selectedTickStyle,a=t.unselectedTickStyle,s=0;s=r&&s<=n?o:a;i[s].rect.attr(u)}var c=i.length;t.endTickRectId=n;var l=r/c,f=n/c;t.graph.emit("valuechange",{value:[l,f]})}}),e.on("drop",function(e){if(t.dragging&&(t.dragging=!1,"rect"===e.target.get("type"))){var n=t.startTickRectId,r=parseInt(e.target.get("name").split("-")[2],10);if(!(r0?this.endTickRectId++:(e[this.endTickRectId].rect.attr(r),this.endTickRectId--),o!==this.startTickRectId)this.endTickRectId")),{position:"relative"}),u.appendChild(t),this.set("timeBarContainer",t),e="SVG"===n.get("renderer")?new Ac({container:t,width:i,height:o}):new zu({container:t,width:i,height:o}),this.get("containerCSS")&&ol(t,this.get("containerCSS")),this.set("canvas",e)},e.prototype.init=function(){this.initContainer();var t=this.get("canvas").addGroup({name:"timebar-group"});this.set("timeBarGroup",t),this.renderTrend(),this.initEvent();var e="undefined"!=typeof window&&window.getComputedStyle(document.body,null).getPropertyValue("font-family")||"Arial, sans-serif";this.set("fontFamily",e)},e.prototype.renderTrend=function(){var t=this,e=this._cfgs,n=e.width,r=e.x,i=e.y,o=e.padding,a=e.type,s=e.trend,u=e.slider,c=e.controllerCfg,l=e.textStyle,f=e.tick,h=e.backgroundStyle,d=e.foregroundStyle,p=s.data,g=Pd(s,["data"]),v=n-2*o,y="trend"===a?26:4,m=this.get("graph"),b=this.get("timeBarGroup"),x=this.get("canvas"),w=null;if("trend"===a||"simple"===a){var _=this.get("getValue");w=new Sd(Nd(Nd({graph:m,canvas:x,group:b,type:a,x:r+o,y:"trend"===a?i+o:i+o+15,width:v,height:y,padding:o,backgroundStyle:h,foregroundStyle:d,trendCfg:Nd(Nd({},g),{data:p.map(function(t){return(null===_||void 0===_?void 0:_(t))||t.value})})},u),{tick:{ticks:p,tickLabelFormatter:f.tickLabelFormatter,tickLabelStyle:f.tickLabelStyle,tickLineStyle:f.tickLineStyle},handlerStyle:Nd(Nd({},u.handlerStyle),{height:u.height||y}),controllerCfg:c,textStyle:l}))}else"tick"===a&&(w=new Id(Nd({graph:m,canvas:x,group:b,x:r+o,y:i+o,width:n,height:42,padding:2},f)));var E=function e(){var n=t.get("timebar");n.draggingHandler=!1,n.isPlay&&(n.isPlay=!1,n.currentHandler=n.maxHandlerShape,n.changePlayStatus()),document.removeEventListener("mouseup",e)};x.on("mousedown",function(t){"maxHandlerShape-handler"!==t.target.get("name")&&"minHandlerShape-handler"!==t.target.get("name")&&t.target!==w.foregroundShape||document.addEventListener("mouseup",E)}),this.set("timebar",w)},e.prototype.filterData=function(t){var e,n=t.value,r=null,i=this._cfgs.type;if("trend"===i||"simple"===i?r=this._cfgs.trend.data:"tick"===i&&(r=this._cfgs.tick.data),r&&0!==r.length){var o=this.get("rangeChange"),a=this.get("graph"),s=Math.round(r.length*n[0]),u=Math.round(r.length*n[1]);u=u>=r.length?r.length-1:u,s=s>=r.length?r.length-1:s;var c=null===(e=this._cfgs.tick)||void 0===e?void 0:e.tickLabelFormatter,l=c?c(r[s]):r[s].date,f=c?c(r[u]):r[u].date;if("tick"!==i)this.get("timebar").setText(l,f);if(o)o(a,l,f);else{(!this.cacheGraphData||this.cacheGraphData.nodes&&0===this.cacheGraphData.nodes.length)&&(this.cacheGraphData=a.get("data"));var h=this.get("filterItemTypes"),d=this.get("changeData"),p=this.get("getDate"),g=this.get("shouldIgnore"),v=r[s].date,y=r[u].date;if(d||void 0===d){var m=this.cacheGraphData.nodes,b=this.cacheGraphData.edges;if(h.includes("node")){var x=(m=m.filter(function(t){var e=+((null===p||void 0===p?void 0:p(t))||t.date);return e>=v&&e<=y||(null===g||void 0===g?void 0:g("node",t,{min:v,max:y}))})).map(function(t){return t.id});b&&(b=b.filter(function(t){return x.includes(t.source)&&x.includes(t.target)||(null===g||void 0===g?void 0:g("edge",t,{min:v,max:y}))}))}(this.get("filterEdge")||h.includes("edge"))&&(b=b.filter(function(t){var e=+((null===p||void 0===p?void 0:p(t))||t.date);return e>=v&&e<=y||(null===g||void 0===g?void 0:g("edge",t,{min:v,max:y}))})),a.changeData({nodes:m,edges:b})}else h.includes("node")&&a.getNodes().forEach(function(t){var e=t.getModel();if(null===g||void 0===g||!g("node",e,{min:v,max:y})){var n=+((null===p||void 0===p?void 0:p(e))||e.date);ny?a.hideItem(t):a.showItem(t)}}),(this.get("filterEdge")||h.includes("edge"))&&a.getEdges().forEach(function(t){var e=t.getModel();if(null===g||void 0===g||!g("edge",e,{min:r[s].date,max:r[u].date})){var n=+((null===p||void 0===p?void 0:p(e))||e.date);nr[u].date?a.hideItem(t):a.showItem(t)}})}}else console.warn("请配置 TimeBar 组件的数据")},e.prototype.initEvent=function(){var t=this,e=0,n=0,r=this._cfgs.type;r&&"trend"!==r&&"simple"!==r?"tick"===r&&(e=this._cfgs.tick.start,n=this._cfgs.tick.end):(e=this._cfgs.slider.start,n=this._cfgs.slider.end);var i=this.get("graph");i.on("afterrender",function(r){t.filterData({value:[e,n]})}),i.on("valuechange",Object(x.throttle)(function(e){t.filterData(e)},200,{trailing:!0,leading:!0}))},e.prototype.destroy=function(){var e=this.get("timebar");e&&e.destory&&e.destory(),t.prototype.destroy.call(this);var n=this.get("timeBarContainer");if(n){var r=this.get("container");r||(r=this.get("graph").get("container")),Object(x.isString)(r)&&(r=document.getElementById(r)),r.removeChild(n)}},e}(Hl),Dd=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ld=Ms.applyMatrix;var Rd=function(t){function e(e){return t.call(this,e)||this}return Dd(e,t),e.prototype.getDefaultCfgs=function(){return{container:null,className:"g6-minimap",viewportClassName:"g6-minimap-viewport",width:200,delegateStyle:{fill:"#40a9ff",stroke:"#096dd9"},refresh:!0}},e.prototype.getEvents=function(){return{beforepaint:"updateViewport",beforeanimate:"disableRefresh",afteranimate:"enableRefresh",viewportchange:"disableOneRefresh"}},e.prototype.disableRefresh=function(){this.set("refresh",!1)},e.prototype.enableRefresh=function(){this.set("refresh",!0),this.updateCanvas()},e.prototype.disableOneRefresh=function(){this.set("viewportChange",!0)},e.prototype.initViewport=function(){var t=this,e=this._cfgs,n=e.graph;if(!this.destroyed){var r=this.get("container");Object(x.isString)(r)&&(r=document.getElementById(r));var i=il("
    \n
    ")),o=0,a=0,s=!1,u=0,c=0,l=0,f=0,h=0,d=0;r.addEventListener("mousedown",function(r){if(e.refresh=!1,r.target===i){var u=i.style;l=parseInt(u.width,10),f=parseInt(u.height,10);var c=t.get("width"),p=t.get("height");l>c||f>p||(d=n.getZoom(),h=t.get("ratio"),s=!0,o=r.clientX,a=r.clientY)}},!1),r.addEventListener("mousemove",function(e){if(s&&!Object(x.isNil)(e.clientX)&&!Object(x.isNil)(e.clientY)){var r=t.get("width"),p=t.get("height"),g=i.style;u=parseInt(g.left,10),c=parseInt(g.top,10),l=parseInt(g.width,10),f=parseInt(g.height,10);var v=o-e.clientX,y=a-e.clientY;u-v<0?v=u:u-v+l>=r&&(v=0),c-y<0?y=c:c-y+f>=p&&(y=0),c-=y,ol(i,{left:"".concat(u-=v,"px"),top:"".concat(c,"px")}),n.translate(v*d/h,y*d/h),o=e.clientX,a=e.clientY}},!1),r.addEventListener("mouseleave",function(){s=!1,e.refresh=!0},!1),r.addEventListener("mouseup",function(){s=!1,e.refresh=!0},!1),this.set("viewport",i),r.appendChild(i)}},e.prototype.updateViewport=function(){if(!this.destroyed){var t=this.get("ratio"),e=this.get("width"),n=this.get("height"),r=this.get("graph"),i=r.get("width"),o=i/r.get("height"),a=r.getGroup(),s=a.getCanvasBBox(),u=[(s.minX+s.maxX)/2,(s.minY+s.maxY)/2],c=[s.maxX-s.minX,s.maxY-s.minY],l={centerX:u[0],centerY:u[1],width:0,height:0,minX:0,minY:0};s[0]/s[1]>o?(l.width=c[0],l.height=l.width/o):(l.height=c[1],l.width=l.height*o),l.minX=u[0]-l.width/2,l.minY=u[1]-l.height/2;var f=a.getMatrix();f||(f=[1,0,0,0,1,0,0,0,1]);var h=M.a.invert([1,0,0,0,1,0,0,0,1],f),d=Ld({x:l.minX,y:l.minY},h),p=r.getCanvasByPoint(d.x,d.y),g=this.get("viewport");g||this.initViewport();var v=i/l.width,y=v*e,m=v*n,b=e*-p.x/l.width,x=n*-p.y/l.height,w=b+y,_=x+m;b<0&&(y+=b,b=0),w>e&&(y-=w-e),x<0&&(m+=x,x=0),_>n&&(m-=_-n),this.set("ratio",t),ol(g,{left:"".concat(b,"px"),top:"".concat(x,"px"),width:"".concat(y,"px"),height:"".concat(m,"px")})}},e.prototype.init=function(){this.initContainer()},e.prototype.initContainer=function(){var t=this.get("graph"),e=t.get("width"),n=t.get("height")/e,r=this.get("className"),i=this.get("container"),o=this.get("width"),a=this.get("height");o||a||(o=200),o?(a=n*o,this.set("height",a)):(o=1/n*a,this.set("width",o));var s=il("
    "));Object(x.isString)(i)&&(i=document.getElementById(i)),i?i.appendChild(s):t.get("container").appendChild(s),this.set("container",s);var u=il('
    ');s.appendChild(u);var c=il('');u.appendChild(c),this.set("containerDOM",u),this.set("containerSpan",c);var l=il(''));this.set("imgDOM",l),this.updateImgSize(),c.appendChild(l),this.updateCanvas()},e.prototype.updateImgSize=function(){var t=this.get("imgDOM"),e=this.get("width"),n=this.get("height");t.onload=function(){var r=function(t,e){var n,r;if(t.naturalWidth)n=t.naturalWidth,r=t.naturalHeight;else{var i=new Image;i.src=t.src,i.onload=function(){e&&e(i.width,i.height)}}return[n,r]}(t);r[0]>r[1]?t.width=e:t.height=n}},e.prototype.updateCanvas=function(){if(this.get("refresh")){var t=this.get("graph");if(!t.get("destroyed")){this.get("viewportChange")&&(this.set("viewportChange",!1),this.updateViewport());var e=this.get("width")/t.get("canvas").getCanvasBBox().width;this.set("ratio",e),this.updateViewport()}}},e.prototype.getViewport=function(){return this.get("viewport")},e.prototype.getContainer=function(){return this.get("container")},e.prototype.updateGraphImg=function(t){this.get("imgDOM").remove(),this.set("graphImg",t);var e=il(''));this.set("imgDOM",e),e.src=t,this.updateImgSize(),this.get("containerSpan").appendChild(e),this.updateCanvas()},e.prototype.destroy=function(){var t=this.get("container");t.parentNode.removeChild(t)},e}(Hl),Bd=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Gd=function(){return(Gd=Object.assign||function(t){for(var e,n=1,r=arguments.length;n(i||n.get("height"))&&e>1||a<(o||.05*n.get("height"))&&e<1)&&(e=1),a*=e,this.set("r",a),this.filter(t)}},e.prototype.filter=function(t){var e=this.get("graph"),n=e.getNodes(),r={},i=this.get("r"),o=this.get("type"),a={x:t.x,y:t.y};this.updateDelegate(a,i);var s=this.get("shouldShow"),u=this.get("vShapes");u&&u.forEach(function(t){t.remove(),t.destroy()}),u=[],n.forEach(function(t){var e=t.getModel(),n=e.x,o=e.y;Fd({x:n,y:o},a)");r.appendChild(i),this.set("container",i);var o=this.render();ol(i,this.getContainerPos(o)),this.bindEvents()},e.prototype.getContainerPos=function(t){void 0===t&&(t=[0,0]);var e=this.get("graph"),n=this.get("offsetX"),r=this.get("offsetY"),i=this.get("margin"),o=this.get("position").split("-"),a={top:0,right:1,bottom:2,left:3},s={left:(e.getWidth()-t[0])/2+0,top:(e.getHeight()-t[1])/2+0};return o.forEach(function(n){var r=i[a[n]],o=n;switch(n){case"top":case"left":r+=0;break;case"bottom":r=e.getHeight()-t[1]-r+0,o="top";break;default:r=e.getWidth()-t[0]-r+0,o="left"}s[o]=r}),s.top+=r+e.getContainer().offsetTop,s.left+=n+e.getContainer().offsetLeft,Object.keys(s).forEach(function(t){s[t]="".concat(s[t],"px")}),s},e.prototype.bindEvents=function(){var t=this,e=t.get("filter");if(e&&e.enable){var n=e.trigger||"click";Kd.includes(n)||(console.warn("Trigger for legend filterling must be 'click' or 'mouseenter', 'click' will take effect by default."),n="click");var r=t.get("legendCanvas");"mouseenter"===n?(r.on("node-container:mouseenter",function(e){return t.filterData(e)}),r.on("node-container:mouseleave",function(e){t.clearFilter(),t.clearActiveLegend()})):(r.on("node-container:click",function(e){return t.filterData(e)}),r.on("click",function(e){e.target&&e.target.isCanvas&&e.target.isCanvas()&&(t.clearFilter(),t.clearActiveLegend())}))}},e.prototype.changeData=function(t){this.set("data",t);var e=this.render();ol(this.get("container"),this.getContainerPos(e))},e.prototype.activateLegend=function(t){var e=this.get("filter");(null===e||void 0===e?void 0:e.multiple)||this.clearActiveLegend();var n=t.get("parent");n.get("active")?(n.set("active",!1),this.findLegendItemsByState("active").length&&n.set("inactive",!0)):(n.set("inactive",!1),n.set("active",!0)),this.findLegendItemsByState("active").length?this.findLegendItemsByState("active","all",!1).forEach(function(t){t.set("inactive",!0)}):this.clearActiveLegend();var r=(null===e||void 0===e?void 0:e.lengedStateStyles)||{},i=(null===r||void 0===r?void 0:r.inactive)||{opacity:.5,"text-shape":{opacity:.5}},o=i["text-shape"]||{};this.findLegendItemsByState("inactive").forEach(function(t){var e=t.get("children"),n=e[0],r=e[1];n.attr(qd(qd({},n.get("oriAttrs")),i)),r.attr(qd(qd({},r.get("oriAttrs")),o))});var a=(null===r||void 0===r?void 0:r.active)||{stroke:"#000",lineWidth:2,"text-shape":{fontWeight:"bold"}},s=a["text-shape"]||{};this.findLegendItemsByState("active").forEach(function(t){var e=t.get("children"),n=e[0],r=e[1];n.attr(qd(qd({},n.get("oriAttrs")),a)),r.attr(qd(qd({},r.get("oriAttrs")),s))})},e.prototype.findLegendItemsByState=function(t,e,n){void 0===e&&(e="all"),void 0===n&&(n=!0);var r=this.get("legendCanvas").find(function(t){return"root"===t.get("name")}),i=r.find(function(t){return"node-group"===t.get("name")}),o=r.find(function(t){return"edge-group"===t.get("name")});return"node"===e?i.get("children").filter(function(e){return!!e.get(t)===n}):"edge"===e?o.get("children").filter(function(e){return!!e.get(t)===n}):i.get("children").filter(function(e){return!!e.get(t)===n}).concat(o.get("children").filter(function(e){return!!e.get(t)===n}))},e.prototype.clearActiveLegend=function(){var t=this.get("legendCanvas").find(function(t){return"root"===t.get("name")});[t.find(function(t){return"node-group"===t.get("name")}),t.find(function(t){return"edge-group"===t.get("name")})].forEach(function(t){t.get("children").forEach(function(t){t.set("active",!1),t.set("inactive",!1);var e=t.get("children"),n=e[0],r=e[1];n.attr(n.get("oriAttrs")),r.attr(r.get("oriAttrs"))})})},e.prototype.filterData=function(t){var e=this.get("filter"),n=null===e||void 0===e?void 0:e.filterFunctions;if(e&&n){var r=this.get("legendCanvas"),i=this.get("graph"),o=e.graphActiveState||"active",a=e.graphInactiveState||"inactive",s=e.multiple;this.clearFilter(),s||this.clearActiveLegend(),this.activateLegend(t.target);var u=r.find(function(t){return"root"===t.get("name")}),c=u.find(function(t){return"node-group"===t.get("name")}),l=u.find(function(t){return"edge-group"===t.get("name")}),f=c.get("children").filter(function(t){return t.get("active")}),h=l.get("children").filter(function(t){return t.get("active")}),d=0,p=["getNodes","getEdges"];p.forEach(function(t){i[t]().forEach(function(e){var r=!1;("getNodes"===t?f:h).forEach(function(t){var i=n[t.get("id")];r=r||i(e.getModel())}),r?(i.setItemState(e,a,!1),i.setItemState(e,o,!0),d++):(i.setItemState(e,o,!1),i.setItemState(e,a,!0))})}),d||p.forEach(function(t){i[t]().forEach(function(t){i.clearItemStates(t,[a])})})}},e.prototype.clearFilter=function(){var t=this.get("graph"),e=this.get("filter");if(e){var n=e.graphActiveState||"active",r=e.graphInactiveState||"inactive";t.getNodes().forEach(function(e){t.clearItemStates(e,[n,r])}),t.getEdges().forEach(function(e){t.clearItemStates(e,[n,r])})}},e.prototype.render=function(){var t=this;this.processData();var e=this.get("legendCanvas");if(!e){var n=(e=new zu({container:this.get("container"),width:200,height:200})).addGroup({name:"root"});n.addGroup({name:"node-group"}),n.addGroup({name:"edge-group"}),this.set("legendCanvas",e)}var r=e.find(function(t){return"root"===t.get("name")}),i=r.find(function(t){return"node-group"===t.get("name")}),o=r.find(function(t){return"edge-group"===t.get("name")}),a=this.get("itemsData"),s=[i,o];["nodes","edges"].forEach(function(e,n){a[e].forEach(function(r){var i,o,a=s[n].addGroup({id:r.id,name:"node-container"}),u=r.type,c=t.getShapeSize(r),l=c.width,f=c.height,h=c.r,d=t.getStyle(e.substr(0,4),r);switch(r.type){case"circle":o={r:h,x:0,y:0};break;case"rect":o={width:l,height:f,x:-l/2,y:-f/2};break;case"ellipse":o={r1:l,r2:f,x:0,y:0};break;case"line":o={x1:-l/2,y1:0,x2:l/2,y2:0},u="line";break;case"quadratic":o={path:[["M",-l/2,0],["Q",0,l/2,l/2,0]]},u="path";break;case"cubic":o={path:[["M",-l/2,0],["C",-l/6,l/2,l/6,-l/2,l/2,0]]},u="path";break;default:o={r:h,x:0,y:0}}var p=a.addShape(u,{attrs:qd(qd({},o),d),name:"".concat(r.type,"-node-keyShape"),oriAttrs:qd({opacity:1},d)});if(r.label){var g=p.getBBox(),v=(null===(i=r.labelCfg)||void 0===i?void 0:i.style)||{},y=qd({textAlign:"begin",fontSize:12,textBaseline:"middle",fill:"#000",opacity:1,fontWeight:"normal"},v);a.addShape("text",{attrs:qd({x:g.maxX+4,y:0,text:r.label},y),className:"legend-label",name:"".concat(r.type,"-node-text"),oriAttrs:y})}})});var u,c=this.get("padding"),l=r.find(function(t){return"title-container"===t.get("name")}),f={height:0,maxY:0,width:0};if(this.get("title")){l||(l=r.addGroup({name:"title-container"}));var h={fontSize:20,fontFamily:"Arial",fontWeight:300,textBaseline:"top",textAlign:"center",fill:"#000",x:0,y:c[0]},d=this.get("titleConfig")||{},p=Object.assign(h,d.style||{});u=l.addShape("text",{attrs:qd({text:this.get("title")},p)}),f=l.getCanvasBBox(),l.setMatrix([1,0,0,0,1,0,d.offsetX,d.offsetY,1])}this.layoutItems();var g=r.getCanvasBBox(),v=i.getCanvasBBox(),y=v.minX<0?Math.abs(v.minX)+c[3]:c[3],m=f.maxYc.max&&(c.max=o[0]),d>l&&(l=d),t.setMatrix([1,0,0,0,1,0,p,g,1])});var f=c.max-c.min,h={min:0,max:-1/0},d=s.getCanvasBBox();o[0]=0,o[1]="vertical"===r?d.maxX+e:d.maxY+n,u.get("children").forEach(function(t,i){0===i&&(h.min=o[0]);var a=t.get("children")[0],s=t.getCanvasBBox(),u=a.getBBox(),c=u.width,l=u.height,f=0,d=0;"vertical"===r?(f=o[1],d=o[0],o[0]=d+s.height+n,t.setMatrix([1,0,0,0,1,0,0,d+l/2,1])):(f=o[0],d=o[1],o[0]=f+s.width+e,t.setMatrix([1,0,0,0,1,0,f+c/2,0,1])),o[0]>h.max&&(h.max=o[0])});var p=h.max-h.min;if(i&&""!==i&&"left"!==i){var g=f-p,v="center"===i?Math.abs(g)/2:Math.abs(g);(g<0?s:u).get("children").forEach(function(t){var e=t.getMatrix()||[1,0,0,0,1,0,0,0,1];"vertical"===r?e[7]+=v:e[6]+=v,t.setMatrix(e)})}},e.prototype.processData=function(){var t=this.get("data"),e={nodes:[],edges:[]};t.nodes&&(t.nodes.sort(function(t,e){return t.order-e.order}),t.nodes.forEach(function(t){var n,r,i,o,a,s=t.size||[(null===(n=t.style)||void 0===n?void 0:n.width)||(null===(r=t.style)||void 0===r?void 0:r.r)||8,(null===(i=t.style)||void 0===i?void 0:i.height)||(null===(o=t.style)||void 0===o?void 0:o.r)||8],u=(null===(a=t.labelCfg)||void 0===a?void 0:a.style)||{};e.nodes.push({id:t.id||Object(x.uniqueId)(),type:t.type||"circle",style:qd({},t.style),order:t.order,label:t.label,itemType:"node",size:s,labelCfg:{position:"right",style:qd({fontFamily:"Arial"},u)}})})),t.edges&&(t.edges.sort(function(t,e){return t.order-e.order}),t.edges.forEach(function(t){var n,r,i=t.type||"line";"cubic-horizontal"===t.type&&(i="cubic");var o=(null===(n=t.labelCfg)||void 0===n?void 0:n.style)||{},a=t.size||[(null===(r=t.style)||void 0===r?void 0:r.width)||8,1];e.edges.push({id:t.id||Object(x.uniqueId)(),type:i,size:a,style:qd({lineWidth:Object(x.isArray)(a)?a[1]:1},t.style),order:t.order,label:t.label,itemType:"edge",labelCfg:{position:"right",style:qd({fontFamily:"Arial"},o)}})})),this.set("itemsData",e)},e.prototype.getContainer=function(){return this.get("container")},e.prototype.formatArray=function(t){var e=this.get(t);if(Object(x.isNumber)(e))this.set(t,[e,e,e,e]);else if(Object(x.isArray)(e))switch(e.length){case 0:this.set(t,[0,0,0,0]);break;case 1:this.set(t,[e[0],e[0],e[0],e[0]]);break;case 2:this.set(t,[e[0],e[1],e[0],e[1]]);break;case 3:this.set(t,[e[0],e[1],e[2],e[1]])}return this.get(t)},e.prototype.getShapeSize=function(t){var e,n,r;return t.size&&(Object(x.isArray)(t.size)?(e=t.size[0],n=t.size[1]||t.size[0],r=t.size[0]/2):Object(x.isNumber)(t.size)&&(e=t.size,n=t.size,r=t.size/2)),t.style&&(t.style.width&&(e=t.style.width),t.style.height&&(n=t.style.height),t.style.r&&(r=t.style.r)),r||(r=5),e||(e=r),n||(n=r),{width:e,height:n,r:r}},e.prototype.getStyle=function(t,e){return qd(qd({},"node"===t?{fill:"#ccc",lineWidth:0}:{stroke:"#000",lineWidth:1}),e.style||{})},e.prototype.destroy=function(){var t=this.get("graph").get("container"),e=this.get("container");t.removeChild(e)},e}(Hl)};As("circle",{options:{size:Ns.defaultNode.size,style:{x:0,y:0,stroke:Ns.defaultNode.style.stroke,fill:Ns.defaultNode.style.fill,lineWidth:Ns.defaultNode.style.lineWidth},labelCfg:{style:{fill:Ns.nodeLabel.style.fill,fontSize:Ns.nodeLabel.style.fontSize,fontFamily:Ns.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Ns.defaultNode.linkPoints.size,lineWidth:Ns.defaultNode.linkPoints.lineWidth,fill:Ns.defaultNode.linkPoints.fill,stroke:Ns.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:Object(b.__assign)({},Ns.nodeStateStyles)},shapeType:"circle",labelPosition:"center",drawShape:function(t,e){var n=(this.mergeStyle||this.getOptions(t)).icon,r=void 0===n?{}:n,i=this.getShapeStyle(t),o=Object(x.deepMix)({},r,t.icon),a="".concat(this.type,"-keyShape"),s=e.addShape("circle",{attrs:i,className:a,name:a,draggable:!0});e.shapeMap[a]=s;var u=o.width,c=o.height,l=o.show,f=o.text;if(l){var h="".concat(this.type,"-icon");e.shapeMap[h]=f?e.addShape("text",{attrs:Object(b.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},o),className:h,name:h,draggable:!0}):e.addShape("image",{attrs:Object(b.__assign)({x:-u/2,y:-c/2},o),className:h,name:h,draggable:!0})}return this.drawLinkPoints(t,e),s},drawLinkPoints:function(t,e){var n=(this.mergeStyle||this.getOptions(t)).linkPoints;if(n){var r=n||{},i=r.top,o=r.left,a=r.right,s=r.bottom,u=r.size,c=r.r,l=Object(b.__rest)(r,["top","left","right","bottom","size","r"]),f=this.getSize(t)[0]/2;if(o){var h="link-point-left";e.shapeMap[h]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:-f,y:0,r:u/2||c||5}),className:h,name:h,isAnchorPoint:!0})}if(a){var d="link-point-right";e.shapeMap[d]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:f,y:0,r:u/2||c||5}),className:d,name:d,isAnchorPoint:!0})}if(i){var p="link-point-top";e.shapeMap[p]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:0,y:-f,r:u/2||c||5}),className:p,name:p,isAnchorPoint:!0})}if(s){var g="link-point-bottom";e.shapeMap[g]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:0,y:f,r:u/2||c||5}),className:g,name:g,isAnchorPoint:!0})}}},getShapeStyle:function(t){var e=(this.mergeStyle||this.getOptions(t)).style,n={stroke:t.color},r=Object(x.deepMix)({},e,n),i=this.getSize(t)[0]/2;return Object(b.__assign)({x:0,y:0,r:i},r)},update:function(t,e,n){var r=e.getContainer(),i=this.getSize(t),o=Object(b.__assign)({},t.style);void 0===t.style.stroke&&t.color&&(o.stroke=t.color),void 0!==t.style.r||isNaN(i[0])||(o.r=i[0]/2),this.updateShape(t,e,o,!0,n),this.updateLinkPoints(t,r)}},"single-node"),As("rect",{options:{size:[100,30],style:{radius:0,stroke:Ns.defaultNode.style.stroke,fill:Ns.defaultNode.style.fill,lineWidth:Ns.defaultNode.style.lineWidth},labelCfg:{style:{fill:Ns.nodeLabel.style.fill,fontSize:Ns.nodeLabel.style.fontSize,fontFamily:Ns.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Ns.defaultNode.linkPoints.size,lineWidth:Ns.defaultNode.linkPoints.lineWidth,fill:Ns.defaultNode.linkPoints.fill,stroke:Ns.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},anchorPoints:[[0,.5],[1,.5]],stateStyles:Object(b.__assign)({},Ns.nodeStateStyles)},shapeType:"rect",labelPosition:"center",drawShape:function(t,e){var n=this.getShapeStyle(t),r=e.addShape("rect",{attrs:n,className:"".concat(this.type,"-keyShape"),name:"".concat(this.type,"-keyShape"),draggable:!0});return e.shapeMap["".concat(this.type,"-keyShape")]=r,this.drawLinkPoints(t,e),r},drawLinkPoints:function(t,e){var n=(this.mergeStyle||this.getOptions(t)).linkPoints,r=void 0===n?{}:n,i=r.top,o=r.left,a=r.right,s=r.bottom,u=r.size,c=r.r,l=Object(b.__rest)(r,["top","left","right","bottom","size","r"]),f=this.getSize(t),h=f[0],d=f[1];o&&(e.shapeMap["link-point-left"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:-h/2,y:0,r:u/2||c||5}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0})),a&&(e.shapeMap["link-point-right"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:h/2,y:0,r:u/2||c||5}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0})),i&&(e.shapeMap["link-point-top"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:0,y:-d/2,r:u/2||c||5}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0})),s&&(e.shapeMap["link-point-bottom"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:0,y:d/2,r:u/2||c||5}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0}))},getShapeStyle:function(t){var e=(this.mergeStyle||this.getOptions(t)).style,n={stroke:t.color},r=Object(x.mix)({},e,n),i=this.getSize(t),o=r.width||i[0],a=r.height||i[1];return Object(b.__assign)({x:-o/2,y:-a/2,width:o,height:a},r)},update:function(t,e,n){var r=e.getContainer(),i=this.getOptions({}).style,o=this.getSize(t),a=e.get("keyShape");t.size||(o[0]=a.attr("width")||i.width,o[1]=a.attr("height")||i.height);var s={stroke:t.color,x:-o[0]/2,y:-o[1]/2,width:o[0],height:o[1]},u=Object(x.mix)({},i,a.attr(),s);u=Object(x.mix)(u,t.style),this.updateShape(t,e,u,!1,n),this.updateLinkPoints(t,r)}},"single-node"),As("ellipse",{options:{size:[80,40],style:{x:0,y:0,stroke:Ns.defaultNode.style.stroke,fill:Ns.defaultNode.style.fill,lineWidth:Ns.defaultNode.style.lineWidth},labelCfg:{style:{fill:Ns.nodeLabel.style.fill,fontSize:Ns.nodeLabel.style.fontSize,fontFamily:Ns.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Ns.defaultNode.linkPoints.size,lineWidth:Ns.defaultNode.linkPoints.lineWidth,fill:Ns.defaultNode.linkPoints.fill,stroke:Ns.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:Object(b.__assign)({},Ns.nodeStateStyles)},shapeType:"ellipse",labelPosition:"center",drawShape:function(t,e){var n=(this.mergeStyle||this.getOptions(t)).icon,r=void 0===n?{}:n,i=this.getShapeStyle(t),o=e.addShape("ellipse",{attrs:i,className:"ellipse-keyShape",name:"ellipse-keyShape",draggable:!0});e.shapeMap["ellipse-keyShape"]=o;var a=r.width,s=r.height,u=r.show,c=r.text;return u&&(e.shapeMap["".concat(this.type,"-icon")]=c?e.addShape("text",{attrs:Object(b.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},r),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0}):e.addShape("image",{attrs:Object(b.__assign)({x:-a/2,y:-s/2},r),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0})),this.drawLinkPoints(t,e),o},drawLinkPoints:function(t,e){var n=(this.mergeStyle||this.getOptions(t)).linkPoints,r=void 0===n?{}:n,i=r.top,o=r.left,a=r.right,s=r.bottom,u=r.size,c=r.r,l=Object(b.__rest)(r,["top","left","right","bottom","size","r"]),f=this.getSize(t),h=f[0]/2,d=f[1]/2;o&&(e.shapeMap["link-point-left"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:-h,y:0,r:u/2||c||5}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0})),a&&(e.shapeMap["link-point-right"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:h,y:0,r:u/2||c||5}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0})),i&&(e.shapeMap["link-point-top"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:0,y:-d,r:u/2||c||5}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0})),s&&(e.shapeMap["link-point-bottom"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:0,y:d,r:u/2||c||5}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0}))},getShapeStyle:function(t){var e=(this.mergeStyle||this.getOptions(t)).style,n={stroke:t.color},r=Object(x.mix)({},e,n),i=this.getSize(t),o=i[0]/2,a=i[1]/2;return Object(b.__assign)({x:0,y:0,rx:o,ry:a},r)},update:function(t,e,n){var r=e.getContainer(),i=this.getOptions({}).style,o=this.getSize(t),a={stroke:t.color,rx:o[0]/2,ry:o[1]/2},s=e.get("keyShape"),u=Object(x.mix)({},i,s.attr(),a);u=Object(x.mix)(u,t.style),this.updateShape(t,e,u,!0,n),this.updateLinkPoints(t,r)}},"single-node"),As("diamond",{options:{size:[80,80],style:{stroke:Ns.defaultNode.style.stroke,fill:Ns.defaultNode.style.fill,lineWidth:Ns.defaultNode.style.lineWidth},labelCfg:{style:{fill:Ns.nodeLabel.style.fill,fontSize:Ns.nodeLabel.style.fontSize,fontFamily:Ns.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Ns.defaultNode.linkPoints.size,lineWidth:Ns.defaultNode.linkPoints.lineWidth,fill:Ns.defaultNode.linkPoints.fill,stroke:Ns.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:Object(b.__assign)({},Ns.nodeStateStyles)},shapeType:"diamond",labelPosition:"center",drawShape:function(t,e){var n=(this.mergeStyle||this.getOptions(t)).icon,r=void 0===n?{}:n,i=this.getShapeStyle(t),o=e.addShape("path",{attrs:i,className:"".concat(this.type,"-keyShape"),name:"".concat(this.type,"-keyShape"),draggable:!0});e.shapeMap["".concat(this.type,"-keyShape")]=o;var a=r.width,s=r.height,u=r.show,c=r.text;return u&&(e.shapeMap["".concat(this.type,"-icon")]=c?e.addShape("text",{attrs:Object(b.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},r),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0}):e.addShape("image",{attrs:Object(b.__assign)({x:-a/2,y:-s/2},r),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0})),this.drawLinkPoints(t,e),o},drawLinkPoints:function(t,e){var n=(this.mergeStyle||this.getOptions(t)).linkPoints,r=void 0===n?{}:n,i=r.top,o=r.left,a=r.right,s=r.bottom,u=r.size,c=r.r,l=Object(b.__rest)(r,["top","left","right","bottom","size","r"]),f=this.getSize(t),h=f[0],d=f[1];o&&(e.shapeMap["link-point-left"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:-h/2,y:0,r:u/2||c||5}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0})),a&&(e.shapeMap["link-point-right"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:h/2,y:0,r:u/2||c||5}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0})),i&&(e.shapeMap["link-point-top"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:0,y:-d/2,r:u/2||c||5}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0})),s&&(e.shapeMap["link-point-bottom"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:0,y:d/2,r:u/2||c||5}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0}))},getPath:function(t){var e=this.getSize(t),n=e[0],r=e[1];return[["M",0,-r/2],["L",n/2,0],["L",0,r/2],["L",-n/2,0],["Z"]]},getShapeStyle:function(t){var e=(this.mergeStyle||this.getOptions(t)).style,n={stroke:t.color},r=Object(x.mix)({},e,n),i=this.getPath(t);return Object(b.__assign)({path:i},r)},update:function(t,e,n){var r=e.getContainer(),i=this.getOptions({}).style,o=this.getPath(t),a={stroke:t.color,path:o},s=e.get("keyShape"),u=Object(x.mix)({},i,s.attr(),a);u=Object(x.mix)(u,t.style),this.updateShape(t,e,u,!0,n),this.updateLinkPoints(t,r)}},"single-node"),As("triangle",{options:{size:40,direction:"up",style:{stroke:Ns.defaultNode.style.stroke,fill:Ns.defaultNode.style.fill,lineWidth:Ns.defaultNode.style.lineWidth},labelCfg:{style:{fill:Ns.nodeLabel.style.fill,fontSize:Ns.nodeLabel.style.fontSize},offset:15},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Ns.defaultNode.linkPoints.size,lineWidth:Ns.defaultNode.linkPoints.lineWidth,fill:Ns.defaultNode.linkPoints.fill,stroke:Ns.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20,offset:6},stateStyles:Object(b.__assign)({},Ns.nodeStateStyles)},shapeType:"triangle",labelPosition:"bottom",drawShape:function(t,e){var n=this.mergeStyle||this.getOptions(t),r=n.icon,i=void 0===r?{}:r,o=n.direction,a=this.getShapeStyle(t),s=t.direction||o,u=e.addShape("path",{attrs:a,className:"".concat(this.type,"-keyShape"),name:"".concat(this.type,"-keyShape"),draggable:!0});e.shapeMap["".concat(this.type,"-keyShape")]=u;var c=i.width,l=i.height,f=i.show,h=i.offset,d=i.text;if(f)if(d)e.shapeMap["".concat(this.type,"-icon")]=e.addShape("text",{attrs:Object(b.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},i),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0});else{var p=-c/2,g=-l/2;"up"!==s&&"down"!==s||(g+=h),"left"!==s&&"right"!==s||(p+=h),e.shapeMap["".concat(this.type,"-icon")]=e.addShape("image",{attrs:Object(b.__assign)({x:p,y:g},i),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0})}return this.drawLinkPoints(t,e),u},drawLinkPoints:function(t,e){var n=this.mergeStyle||this.getOptions(t),r=n.linkPoints,i=void 0===r?{}:r,o=n.direction,a=t.direction||o,s=i.top,u=i.left,c=i.right,l=i.bottom,f=i.size,h=i.r,d=Object(b.__rest)(i,["top","left","right","bottom","size","r"]),p=this.getSize(t)[0];if(u){var g=null,v=p*Math.sin(1/3*Math.PI),y=p*Math.sin(1/3*Math.PI);"up"===a?g=[-y,v]:"down"===a?g=[-y,-v]:"left"===a&&(g=[-y,y-v]),g&&(e.shapeMap["link-point-left"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},d),{x:g[0],y:g[1],r:f/2||h||5}),className:"link-point-left",name:"link-point-left"}))}if(c){var m=null;v=p*Math.sin(1/3*Math.PI),y=p*Math.sin(1/3*Math.PI);"up"===a?m=[y,v]:"down"===a?m=[y,-v]:"right"===a&&(m=[y,y-v]),m&&(e.shapeMap["link-point-right"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},d),{x:m[0],y:m[1],r:f/2||h||5}),className:"link-point-right",name:"link-point-right"}))}if(s){var x=null;v=p*Math.sin(1/3*Math.PI),y=p*Math.sin(1/3*Math.PI);"up"===a?x=[y-v,-v]:"left"===a?x=[y,-v]:"right"===a&&(x=[-y,-v]),x&&(e.shapeMap["link-point-top"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},d),{x:x[0],y:x[1],r:f/2||h||5}),className:"link-point-top",name:"link-point-top"}))}if(l){var w=null;v=p*Math.sin(1/3*Math.PI),y=p*Math.sin(1/3*Math.PI);"down"===a?w=[-y+v,v]:"left"===a?w=[y,v]:"right"===a&&(w=[-y,v]),w&&(e.shapeMap["link-point-bottom"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},d),{x:w[0],y:w[1],r:f/2||h||5}),className:"link-point-bottom",name:"link-point-bottom"}))}},getPath:function(t){var e=(this.mergeStyle||this.getOptions(t)).direction,n=t.direction||e,r=this.getSize(t)[0],i=r*Math.sin(1/3*Math.PI),o=r*Math.sin(1/3*Math.PI),a=[["M",-o,i],["L",0,-i],["L",o,i],["Z"]];return"down"===n?a=[["M",-o,-i],["L",o,-i],["L",0,i],["Z"]]:"left"===n?a=[["M",-o,o-i],["L",o,-o],["L",o,o],["Z"]]:"right"===n&&(a=[["M",o,o-i],["L",-o,o],["L",-o,-o],["Z"]]),a},getShapeStyle:function(t){var e=(this.mergeStyle||this.getOptions(t)).style,n={stroke:t.color},r=Object(x.mix)({},e,n),i=this.getPath(t);return Object(b.__assign)({path:i},r)},update:function(t,e,n){var r=e.getContainer(),i=this.getOptions({}).style,o=this.getPath(t),a={stroke:t.color,path:o},s=e.get("keyShape"),u=Object(x.mix)({},i,s.attr(),a);u=Object(x.mix)(u,t.style),this.updateShape(t,e,u,!0,n),this.updateLinkPoints(t,r)},updateLinkPoints:function(t,e){var n=this.getOptions({}),r=n.linkPoints,i=n.direction,o=t.direction||i,a=e.shapeMap["link-point-left"]||e.find(function(t){return"link-point-left"===t.get("className")}),s=e.shapeMap["link-point-right"]||e.find(function(t){return"link-point-right"===t.get("className")}),u=e.shapeMap["link-point-top"]||e.find(function(t){return"link-point-top"===t.get("className")}),c=e.shapeMap["link-point-bottom"]||e.find(function(t){return"link-point-bottom"===t.get("className")}),l=r,f=a||s||u||c;f&&(l=f.attr());var h=Object(x.mix)({},l,t.linkPoints),d=h.fill,p=h.stroke,g=h.lineWidth,v=h.size/2;v||(v=h.r);var y=t.linkPoints?t.linkPoints:{left:void 0,right:void 0,top:void 0,bottom:void 0},m=y.left,w=y.right,_=y.top,E=y.bottom,S=this.getSize(t)[0],M={r:v,fill:d,stroke:p,lineWidth:g},O=null,k=S*Math.sin(1/3*Math.PI),A=S*Math.sin(1/3*Math.PI);"up"===o?O=[-A,k]:"down"===o?O=[-A,-k]:"left"===o&&(O=[-A,A-k]),O&&(a?m||void 0===m?a.attr(Object(b.__assign)(Object(b.__assign)({},M),{x:O[0],y:O[1]})):(a.remove(),delete e.shapeMap["link-point-left"]):m&&(e.shapeMap["link-point-left"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},M),{x:O[0],y:O[1]}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0})));var C=null;"up"===o?C=[A,k]:"down"===o?C=[A,-k]:"right"===o&&(C=[A,A-k]),C&&(s?w||void 0===w?s.attr(Object(b.__assign)(Object(b.__assign)({},M),{x:C[0],y:C[1]})):(s.remove(),delete e.shapeMap["link-point-right"]):w&&(e.shapeMap["link-point-right"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},M),{x:C[0],y:C[1]}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0})));var I=null;"up"===o?I=[A-k,-k]:"left"===o?I=[A,-k]:"right"===o&&(I=[-A,-k]),I&&(u?_||void 0===_?u.attr(Object(b.__assign)(Object(b.__assign)({},M),{x:I[0],y:I[1]})):(u.remove(),delete e.shapeMap["link-point-top"]):_&&(e.shapeMap["link-point-top"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},M),{x:I[0],y:I[1]}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0})));var T=null;"down"===o?T=[-A+k,k]:"left"===o?T=[A,k]:"right"===o&&(T=[-A,k]),T&&(c?E||void 0===E?c.attr(Object(b.__assign)(Object(b.__assign)({},M),{x:T[0],y:T[1]})):(c.remove(),delete e.shapeMap["link-point-bottom"]):E&&(e.shapeMap["link-point-bottom"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},M),{x:T[0],y:T[1]}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0})))}},"single-node"),As("modelRect",{options:{size:[185,70],style:{radius:5,stroke:"#69c0ff",fill:"#ffffff",lineWidth:Ns.defaultNode.style.lineWidth,fillOpacity:1},labelCfg:{style:{fill:"#595959",fontSize:14,fontFamily:Ns.windowFontFamily},offset:30},descriptionCfg:{style:{fontSize:12,fill:"#bfbfbf",fontFamily:Ns.windowFontFamily},paddingTop:0},preRect:{show:!0,width:4,fill:"#40a9ff",radius:2},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:10,lineWidth:1,fill:"#72CC4A",stroke:"#72CC4A"},logoIcon:{show:!0,x:0,y:0,img:"https://gw.alipayobjects.com/zos/basement_prod/4f81893c-1806-4de4-aff3-9a6b266bc8a2.svg",width:16,height:16,offset:0},stateIcon:{show:!0,x:0,y:0,img:"https://gw.alipayobjects.com/zos/basement_prod/300a2523-67e0-4cbf-9d4a-67c077b40395.svg",width:16,height:16,offset:-5},anchorPoints:[[0,.5],[1,.5]]},shapeType:"modelRect",drawShape:function(t,e){var n=(this.mergeStyle||this.getOptions(t)).preRect,r=void 0===n?{}:n,i=this.getShapeStyle(t),o=this.getSize(t),a=o[0],s=o[1],u=e.addShape("rect",{attrs:i,className:"".concat(this.type,"-keyShape"),name:"".concat(this.type,"-keyShape"),draggable:!0});e.shapeMap["".concat(this.type,"-keyShape")]=u;var c=r.show,l=Object(b.__rest)(r,["show"]);return c&&(e.shapeMap["pre-rect"]=e.addShape("rect",{attrs:Object(b.__assign)({x:-a/2,y:-s/2,height:s},l),className:"pre-rect",name:"pre-rect",draggable:!0})),this.drawLogoIcon(t,e),this.drawStateIcon(t,e),this.drawLinkPoints(t,e),u},drawLogoIcon:function(t,e){var n=(this.mergeStyle||this.getOptions(t)).logoIcon,r=void 0===n?{}:n,i=this.getSize(t)[0];if(r.show){var o=r.width,a=r.height,s=r.x,u=r.y,c=r.offset,l=r.text,f=Object(b.__rest)(r,["width","height","x","y","offset","text"]);e.shapeMap["rect-logo-icon"]=l?e.addShape("text",{attrs:Object(b.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},f),className:"rect-logo-icon",name:"rect-logo-icon",draggable:!0}):e.addShape("image",{attrs:Object(b.__assign)(Object(b.__assign)({},f),{x:s||-i/2+o+c,y:u||-a/2,width:o,height:a}),className:"rect-logo-icon",name:"rect-logo-icon",draggable:!0})}},drawStateIcon:function(t,e){var n=(this.mergeStyle||this.getOptions(t)).stateIcon,r=void 0===n?{}:n,i=this.getSize(t)[0];if(r.show){var o=r.width,a=r.height,s=r.x,u=r.y,c=r.offset,l=r.text,f=Object(b.__rest)(r,["width","height","x","y","offset","text"]);e.shapeMap["rect-state-icon"]=l?e.addShape("text",{attrs:Object(b.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},f),className:"rect-state-icon",name:"rect-state-icon",draggable:!0}):e.addShape("image",{attrs:Object(b.__assign)(Object(b.__assign)({},f),{x:s||i/2-o+c,y:u||-a/2,width:o,height:a}),className:"rect-state-icon",name:"rect-state-icon",draggable:!0})}},drawLinkPoints:function(t,e){var n=(this.mergeStyle||this.getOptions(t)).linkPoints,r=void 0===n?{}:n,i=r.top,o=r.left,a=r.right,s=r.bottom,u=r.size,c=r.r,l=Object(b.__rest)(r,["top","left","right","bottom","size","r"]),f=this.getSize(t),h=f[0],d=f[1];o&&(e.shapeMap["link-point-left"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:-h/2,y:0,r:u/2||c||5}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0})),a&&(e.shapeMap["link-point-right"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:h/2,y:0,r:u/2||c||5}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0})),i&&(e.shapeMap["link-point-top"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:0,y:-d/2,r:u/2||c||5}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0})),s&&(e.shapeMap["link-point-bottom"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},l),{x:0,y:d/2,r:u/2||c||5}),className:"link-point-bottom",name:"link-point-bottom",isAnchorPoint:!0}))},drawLabel:function(t,e){var n=this.getOptions(t),r=n.labelCfg,i=void 0===r?{}:r,o=n.logoIcon,a=void 0===o?{}:o,s=n.descriptionCfg,u=void 0===s?{}:s,c=this.getSize(t)[0],l=null,f=a.show,h=a.width,d=-c/2+i.offset;f&&(d=-c/2+h+i.offset);var p=i.style,g=u.style,v=u.paddingTop;return Object(x.isString)(t.description)?(l=e.addShape("text",{attrs:Object(b.__assign)(Object(b.__assign)({},p),{x:d,y:-5,text:t.label}),className:"text-shape",name:"text-shape",draggable:!0,labelRelated:!0}),e.shapeMap["text-shape"]=l,e.shapeMap["rect-description"]=e.addShape("text",{attrs:Object(b.__assign)(Object(b.__assign)({},g),{x:d,y:17+(v||0),text:t.description}),className:"rect-description",name:"rect-description",draggable:!0,labelRelated:!0})):(l=e.addShape("text",{attrs:Object(b.__assign)(Object(b.__assign)({},p),{x:d,y:7,text:t.label}),className:"text-shape",name:"text-shape",draggable:!0,labelRelated:!0}),e.shapeMap["text-shape"]=l),l},getShapeStyle:function(t){var e=(this.mergeStyle||this.getOptions(t)).style,n={stroke:t.color},r=Object(x.mix)({},e,n),i=this.getSize(t),o=r.width||i[0],a=r.height||i[1];return Object(b.__assign)({x:-o/2,y:-a/2,width:o,height:a},r)},update:function(t,e){var n=this.mergeStyle||this.getOptions(t),r=n.style,i=void 0===r?{}:r,o=n.labelCfg,a=void 0===o?{}:o,s=n.descriptionCfg,u=void 0===s?{}:s,c=this.getSize(t),l=c[0],f=c[1];e.get("keyShape").attr(Object(b.__assign)(Object(b.__assign)({},i),{x:-l/2,y:-f/2,width:l,height:f}));var h=e.getContainer(),d=h.shapeMap["rect-logo-icon"]||h.find(function(t){return"rect-logo-icon"===t.get("className")}),p=d?d.attr():{},g=Object(x.mix)({},p,t.logoIcon),v=g.width;void 0===v&&(v=this.options.logoIcon.width);var y=t.logoIcon?t.logoIcon.show:void 0,m=a.offset,w=-l/2+v+m;y||void 0===y||(w=-l/2+m);var _=h.shapeMap["node-label"]||h.find(function(t){return"node-label"===t.get("className")}),E=h.shapeMap["rect-description"]||h.find(function(t){return"rect-description"===t.get("className")});if(t.label)if(_){var S=t.labelCfg?t.labelCfg.style:{},M=Object(x.mix)({},_.attr(),S);t.label&&(M.text=t.label),M.x=w,Object(x.isString)(t.description)&&(M.y=-5),E&&(E.resetMatrix(),E.attr({x:w})),_.resetMatrix(),_.attr(M)}else h.shapeMap["node-label"]=h.addShape("text",{attrs:Object(b.__assign)(Object(b.__assign)({},a.style),{x:w,y:t.description?-5:7,text:t.label}),className:"node-label",name:"node-label",draggable:!0,labelRelated:!0});if(Object(x.isString)(t.description)){var O=u.paddingTop;if(E){S=t.descriptionCfg?t.descriptionCfg.style:{};var k=Object(x.mix)({},E.attr(),S);Object(x.isString)(t.description)&&(k.text=t.description),k.x=w,E.resetMatrix(),E.attr(Object(b.__assign)(Object(b.__assign)({},k),{y:17+(O||0)}))}else h.shapeMap["rect-description"]=h.addShape("text",{attrs:Object(b.__assign)(Object(b.__assign)({},u.style),{x:w,y:17+(O||0),text:t.description}),className:"rect-description",name:"rect-description",draggable:!0,labelRelated:!0})}var A=h.shapeMap["pre-rect"]||h.find(function(t){return"pre-rect"===t.get("className")});if(A&&!A.destroyed){var C=Object(x.mix)({},A.attr(),t.preRect);A.attr(Object(b.__assign)(Object(b.__assign)({},C),{x:-l/2,y:-f/2,height:f}))}if(d&&!d.destroyed)if(y||void 0===y){var I=g.width,T=g.height,N=g.x,P=g.y,j=g.offset,D=Object(b.__rest)(g,["width","height","x","y","offset"]);d.attr(Object(b.__assign)(Object(b.__assign)({},D),{x:N||-l/2+I+j,y:P||-T/2,width:I,height:T}))}else d.remove(),delete h.shapeMap["pre-rect"];else y&&this.drawLogoIcon(t,h);var L=h.shapeMap["rect-state-icon"]||h.find(function(t){return"rect-state-icon"===t.get("className")}),R=L?L.attr():{},B=Object(x.mix)({},R,t.stateIcon);if(L){B.show||void 0===B.show||(L.remove(),delete h.shapeMap["rect-state-icon"]);var G=B.width,F=(T=B.height,N=B.x,P=B.y,B.offset),z=Object(b.__rest)(B,["width","height","x","y","offset"]);L.attr(Object(b.__assign)(Object(b.__assign)({},z),{x:N||l/2-G+F,y:P||-T/2,width:G,height:T}))}else B.show&&this.drawStateIcon(t,h);this.updateLinkPoints(t,h)}},"single-node"),As("star",{options:{size:60,style:{stroke:Ns.defaultNode.style.stroke,fill:Ns.defaultNode.style.fill,lineWidth:Ns.defaultNode.style.lineWidth},labelCfg:{style:{fill:Ns.nodeLabel.style.fill,fontSize:Ns.nodeLabel.style.fontSize,fontFamily:Ns.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Ns.defaultNode.linkPoints.size,lineWidth:Ns.defaultNode.linkPoints.lineWidth,fill:Ns.defaultNode.linkPoints.fill,stroke:Ns.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:Object(b.__assign)({},Ns.nodeStateStyles)},shapeType:"star",labelPosition:"center",drawShape:function(t,e){var n=(this.mergeStyle||this.getOptions(t)).icon,r=void 0===n?{}:n,i=this.getShapeStyle(t),o=e.addShape("path",{attrs:i,className:"".concat(this.type,"-keyShape"),name:"".concat(this.type,"-keyShape"),draggable:!0});e.shapeMap["".concat(this.type,"-keyShape")]=o;var a=r.width,s=r.height,u=r.show,c=r.text;return u&&(e.shapeMap["".concat(this.type,"-icon")]=c?e.addShape("text",{attrs:Object(b.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},r),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0}):e.addShape("image",{attrs:Object(b.__assign)({x:-a/2,y:-s/2},r),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0})),this.drawLinkPoints(t,e),o},drawLinkPoints:function(t,e){var n=(this.mergeStyle||this.getOptions(t)).linkPoints,r=void 0===n?{}:n,i=r.top,o=r.left,a=r.right,s=r.leftBottom,u=r.rightBottom,c=r.size,l=r.r,f=Object(b.__rest)(r,["top","left","right","leftBottom","rightBottom","size","r"]),h=this.getSize(t)[0];if(a){var d=Math.cos(.1*Math.PI)*h,p=Math.sin(.1*Math.PI)*h;e.shapeMap["link-point-right"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},f),{x:d,y:-p,r:c/2||l||5}),className:"link-point-right",name:"link-point-right"})}if(i){d=Math.cos(.5*Math.PI)*h,p=Math.sin(.5*Math.PI)*h;e.shapeMap["link-point-top"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},f),{x:d,y:-p,r:c/2||l||5}),className:"link-point-top",name:"link-point-top"})}if(o){d=Math.cos(.9*Math.PI)*h,p=Math.sin(.9*Math.PI)*h;e.shapeMap["link-point-left"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},f),{x:d,y:-p,r:c/2||l||5}),className:"link-point-left",name:"link-point-left"})}if(s){d=Math.cos(1.3*Math.PI)*h,p=Math.sin(1.3*Math.PI)*h;e.shapeMap["link-point-bottom"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},f),{x:d,y:-p,r:c/2||l||5}),className:"link-point-left-bottom",name:"link-point-left-bottom"})}if(u){d=Math.cos(1.7*Math.PI)*h,p=Math.sin(1.7*Math.PI)*h;e.shapeMap["link-point-right-bottom"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},f),{x:d,y:-p,r:c/2||l||5}),className:"link-point-right-bottom",name:"link-point-right-bottom"})}},getPath:function(t){for(var e=this.getSize(t)[0],n=3*e/8,r=t.innerR||n,i=[],o=0;o<5;o++){var a=Math.cos((18+72*o)/180*Math.PI)*e,s=Math.sin((18+72*o)/180*Math.PI)*e,u=Math.cos((54+72*o)/180*Math.PI)*r,c=Math.sin((54+72*o)/180*Math.PI)*r;0===o?i.push(["M",a,-s]):i.push(["L",a,-s]),i.push(["L",u,-c])}return i.push(["Z"]),i},getShapeStyle:function(t){var e=(this.mergeStyle||this.getOptions(t)).style,n={stroke:t.color},r=Object(x.mix)({},e,n),i=this.getPath(t);return Object(b.__assign)({path:i},r)},update:function(t,e,n){var r=e.getContainer(),i=this.getOptions({}).style,o=this.getPath(t),a={stroke:t.color,path:o},s=e.get("keyShape"),u=Object(x.mix)({},i,s.attr(),a);u=Object(x.mix)(u,t.style),this.updateShape(t,e,u,!0,n),this.updateLinkPoints(t,r)},updateLinkPoints:function(t,e){var n=this.getOptions({}).linkPoints,r=e.shapeMap["link-point-left"]||e.find(function(t){return"link-point-left"===t.get("className")}),i=e.shapeMap["link-point-right"]||e.find(function(t){return"link-point-right"===t.get("className")}),o=e.shapeMap["link-point-top"]||e.find(function(t){return"link-point-top"===t.get("className")}),a=e.shapeMap["link-point-left-bottom"]||e.find(function(t){return"link-point-left-bottom"===t.get("className")}),s=e.shapeMap["link-point-left-bottom"]||e.find(function(t){return"link-point-right-bottom"===t.get("className")}),u=n,c=r||i||o||a||s;c&&(u=c.attr());var l=Object(x.mix)({},u,t.linkPoints),f=l.fill,h=l.stroke,d=l.lineWidth,p=l.size/2;p||(p=l.r);var g=t.linkPoints?t.linkPoints:{left:void 0,right:void 0,top:void 0,leftBottom:void 0,rightBottom:void 0},v=g.left,y=g.right,m=g.top,w=g.leftBottom,_=g.rightBottom,E=this.getSize(t)[0],S={r:p,fill:f,stroke:h,lineWidth:d},M=Math.cos(.1*Math.PI)*E,O=Math.sin(.1*Math.PI)*E;i?y||void 0===y?i.attr(Object(b.__assign)(Object(b.__assign)({},S),{x:M,y:-O})):(i.remove(),delete e.shapeMap["link-point-right"]):y&&(e.shapeMap["link-point-right"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},S),{x:M,y:-O}),className:"link-point-right",name:"link-point-right",isAnchorPoint:!0})),M=Math.cos(.5*Math.PI)*E,O=Math.sin(.5*Math.PI)*E,o?m||void 0===m?o.attr(Object(b.__assign)(Object(b.__assign)({},S),{x:M,y:-O})):(o.remove(),delete e.shapeMap["link-point-top"]):m&&(e.shapeMap["link-point-top"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},S),{x:M,y:-O}),className:"link-point-top",name:"link-point-top",isAnchorPoint:!0})),M=Math.cos(.9*Math.PI)*E,O=Math.sin(.9*Math.PI)*E,r?v||void 0===v?r.attr(Object(b.__assign)(Object(b.__assign)({},S),{x:M,y:-O})):(r.remove(),delete e.shapeMap["link-point-left"]):v&&(e.shapeMap["link-point-left"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},S),{x:M,y:-O}),className:"link-point-left",name:"link-point-left",isAnchorPoint:!0})),M=Math.cos(1.3*Math.PI)*E,O=Math.sin(1.3*Math.PI)*E,a?w||void 0===w?a.attr(Object(b.__assign)(Object(b.__assign)({},S),{x:M,y:-O})):(a.remove(),delete e.shapeMap["link-point-left-bottom"]):w&&(e.shapeMap["link-point-left-bottom"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},S),{x:M,y:-O}),className:"link-point-left-bottom",name:"link-point-left-bottom",isAnchorPoint:!0})),M=Math.cos(1.7*Math.PI)*E,O=Math.sin(1.7*Math.PI)*E,s?_||void 0===_?s.attr(Object(b.__assign)(Object(b.__assign)({},S),{x:M,y:-O})):(a.remove(),delete e.shapeMap["link-point-right-bottom"]):_&&(e.shapeMap["link-point-right-bottom"]=e.addShape("circle",{attrs:Object(b.__assign)(Object(b.__assign)({},S),{x:M,y:-O}),className:"link-point-right-bottom",name:"link-point-right-bottom",isAnchorPoint:!0}))}},"single-node");var Qd=Ms.defaultSubjectColors;As("donut",{options:{size:Ns.defaultNode.size,style:{x:0,y:0,stroke:Ns.defaultNode.style.stroke,fill:Ns.defaultNode.style.fill,lineWidth:Ns.defaultNode.style.lineWidth},labelCfg:{style:{fill:Ns.nodeLabel.style.fill,fontSize:Ns.nodeLabel.style.fontSize,fontFamily:Ns.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:Ns.defaultNode.linkPoints.size,lineWidth:Ns.defaultNode.linkPoints.lineWidth,fill:Ns.defaultNode.linkPoints.fill,stroke:Ns.defaultNode.linkPoints.stroke},icon:{show:!1,img:"https://gw.alipayobjects.com/zos/bmw-prod/5d015065-8505-4e7a-baec-976f81e3c41d.svg",width:20,height:20},stateStyles:Object(b.__assign)({},Ns.nodeStateStyles)},shapeType:"circle",labelPosition:"center",drawShape:function(t,e){var n=(this.mergeStyle||this.getOptions(t)).icon,r=void 0===n?{}:n,i=this.getShapeStyle(t),o=Object(x.deepMix)({},r,t.icon),a=e.addShape("circle",{attrs:i,className:"".concat(this.type,"-keyShape"),draggable:!0,name:"".concat(this.type,"-keyShape")});e.shapeMap["".concat(this.type,"-keyShape")]=a;var s=o.width,u=o.height,c=o.show,l=o.text;c&&(e.shapeMap["".concat(this.type,"-icon")]=l?e.addShape("text",{attrs:Object(b.__assign)({x:0,y:0,fontSize:12,fill:"#000",stroke:"#000",textBaseline:"middle",textAlign:"center"},o),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0}):e.addShape("image",{attrs:Object(b.__assign)({x:-s/2,y:-u/2},o),className:"".concat(this.type,"-icon"),name:"".concat(this.type,"-icon"),draggable:!0}));var f=a.attr("r"),h=.6*f,d=(f+h)/2,p=t,g=p.donutAttrs,v=void 0===g?{}:g,y=p.donutColorMap,m=void 0===y?{}:y,w=Object.keys(v).length;if(v&&w>1){var _=[],E=0;if(Object.keys(v).forEach(function(t){var e=v[t]||0;Object(x.isNumber)(e)&&(_.push({key:t,value:e,color:m[t]}),E+=e)}),E){var S=f-h;if(1===w)return void(e.shapeMap["fan-shape-0"]=e.addShape("circle",{attrs:{r:d,x:0,y:0,stroke:_[0].color||Qd[0],lineWidth:S},name:"fan-shape-0"}));var M=[d,0],O=0;_.forEach(function(t,n){var r=t.value/E;if(!(r<.001))if(r>.999&&(r=1),1!==r){t.percent=r,t.angle=r*Math.PI*2,t.beginAgnle=O,O+=t.angle,t.endAngle=O,t.arcBegin=M,t.arcEnd=[d*Math.cos(t.endAngle),-d*Math.sin(t.endAngle)];var i=t.angle>Math.PI?1:0,o=[["M",t.arcBegin[0],t.arcBegin[1]],["A",d,d,0,i,0,t.arcEnd[0],t.arcEnd[1]],["L",t.arcEnd[0],t.arcEnd[1]]];e.shapeMap["fan-shape-".concat(n)]=e.addShape("path",{attrs:{path:o,lineWidth:S,stroke:t.color||Qd[n%Qd.length]},name:"fan-shape-".concat(n)}),M=t.arcEnd}else e.shapeMap["fan-shape-".concat(n)]=e.addShape("circle",{attrs:{r:d,x:0,y:0,stroke:t.color||Qd[n%Qd.length],lineWidth:S},name:"fan-shape-".concat(n)})})}}return this.drawLinkPoints(t,e),a},update:void 0},"circle");var Jd=function(t){var e=t.x,n=t.y;return{x:e,y:n,centerX:e,centerY:n,minX:e,minY:n,maxX:e,maxY:n,height:0,width:0}},$d=function(t){for(var e=[],n={},r=t.length-1;r>=0;r--){var i=t[r];i.id="".concat(i.x,"|||").concat(i.y),n[i.id]=i,e.push(i)}return e},tp=function(t){return $d(t)},ep=function(t,e){return t.width||t.height?{centerX:t.centerX,centerY:t.centerY,minX:t.minX-e,minY:t.minY-e,maxX:t.maxX+e,maxY:t.maxY+e,height:t.height+2*e,width:t.width+2*e}:t},np=function(t,e,n){var r=function(t,e){var n=Math.abs(t.x-e.centerX),r=Math.abs(t.y-e.centerY);return 0===n&&0===r?0:n/e.width>r/e.height}(e,t);if(0===r){var i=t.centerX,o=t.centerY;return n.ye.x?i=t.maxX:n.xt.centerX?t.maxX:t.minX,y:e.y}:{x:e.x,y:e.y>t.centerY?t.maxY:t.minY}},rp=function(t,e){var n=Math.min(t.minX,e.minX),r=Math.min(t.minY,e.minY),i=Math.max(t.maxX,e.maxX),o=Math.max(t.maxY,e.maxY);return{centerX:(n+i)/2,centerY:(r+o)/2,minX:n,minY:r,maxX:i,maxY:o,height:o-r,width:i-n}},ip=function(t){return[{x:t.minX,y:t.minY},{x:t.maxX,y:t.minY},{x:t.maxX,y:t.maxY},{x:t.minX,y:t.maxY}]},op=function(t,e){var n=t.x,r=t.y;return ne.maxX||re.maxY},ap=function(t,e){return Math.abs(t.x-e.x)+Math.abs(t.y-e.y)},sp=function(t,e,n,r,i){return ap(t,e)+ap(t,n)+function(t,e){var n=0;return e.forEach(function(e){e&&(t.x===e.x&&(n+=-2),t.y===e.y&&(n+=-2))}),n}(t,[e,n,r,i])},up=function t(e,n,r,i,o){void 0===o&&(o=0),e.unshift(n[i]),r[i]&&r[i]!==i&&o<=100&&t(e,n,r,r[i],o+1)},cp=function(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)},lp=function(t,e,n,r){var i=n.x-t.x,o=n.y-t.y,a=r.x-t.x,s=r.y-t.y,u=n.x-e.x,c=n.y-e.y,l=r.x-e.x,f=r.y-e.y;return(i*s-o*a)*(u*f-c*l)<=0&&(i*c-o*u)*(a*f-s*l)<=0},fp=function(t,e,n){if(n.width||n.height){var r=ip(n),i=r[0],o=r[1],a=r[2],s=r[3];return lp(t,e,i,o)||lp(t,e,i,s)||lp(t,e,o,a)||lp(t,e,a,s)}return!1},hp=function(t,e,n,r){var i=[];return t.forEach(function(t){if(t!==e&&(t.x===e.x||t.y===e.y)){if(fp(t,e,n)||fp(t,e,r))return;i.push(t)}}),$d(i)},dp=function(t,e){var n=[],r=t[0];return n.push("M".concat(r.x," ").concat(r.y)),t.forEach(function(r,i){var o=t[i+1],a=t[i+2];if(o&&a)if(function(t,e,n){return!(t.x===e.x&&e.x===n.x||t.y===e.y&&e.y===n.y)}(r,o,a)){var s=function(t,e,n,r){var i=ap(t,e),o=ap(n,e);return it.maxX?[]:[{x:e,y:t.minY},{x:e,y:t.maxY}]}(t,e.x).concat(function(t,e){return et.maxY?[]:[{x:t.minX,y:e},{x:t.maxX,y:e}]}(t,e.y))}(t,b).filter(function(t){return op(t,f)&&op(t,h)}))}),[{x:d.x,y:p.y},{x:p.x,y:d.y}].forEach(function(t){op(t,f)&&op(t,h)&&m.push(t)}),m.unshift(d),m.push(p);var x=function(t,e,n,r,i,o,a){var s=[],u=[e],c={},l={},f={};l[e.id]=0,f[e.id]=sp(e,n,e);var h,d,p={};for(t.forEach(function(t){p[t.id]=t});u.length;){if(h=void 0,d=1/0,u.forEach(function(t){f[t.id]<=d&&(d=f[t.id],h=t)}),h===n){var g=[];return up(g,p,c,n.id),g}cp(u,h),s.push(h),hp(t,h,r,i).forEach(function(t){if(-1===s.indexOf(t)){-1===u.indexOf(t)&&u.push(t);var r=f[h.id]+ap(h,t);l[t.id]&&r>=l[t.id]||(c[t.id]=h.id,l[t.id]=r,f[t.id]=l[t.id]+sp(t,n,e,o,a))}})}return[e,n]}(m=$d(m),d,p,o,a,t,e);return x.unshift(t),x.push(e),tp(x)},gp={offset:20,maxAllowedDirectionChange:Math.PI/2,maximumLoops:2e3,gridSize:10,directions:[{stepX:1,stepY:0},{stepX:-1,stepY:0},{stepX:0,stepY:1},{stepX:0,stepY:-1}],get penalties(){return{0:0,45:this.gridSize/2,90:this.gridSize/2}},distFunc:function(t,e){return Math.abs(t.x-e.x)+Math.abs(t.y-e.y)},fallbackRoute:function(t,e,n,r,i){return tp(pp(t,e,n,r,i.offset))}},vp=(Math.PI,function(t,e){var n=Math.round(Math.abs(t/e));return n<0?0:(t<0?-1:1)*n}),yp=function(t,e){var n=e.x-t.x,r=e.y-t.y;return n||r?Math.atan2(r,n):0},mp=function(t,e){var n=Math.abs(t-e);return n>Math.PI?2*Math.PI-n:n},bp=function(t,e,n){for(var r=1/0,i=0,o=e.length;iu.minX&&e.xu.minY&&e.y0&&k>0&&(b=void 0,w=1/0,Object.keys(h).forEach(function(t){var e=h[t].id;v[e]<=w&&(w=v[e],b=h[e])}),b);){if(f.findIndex(function(t){return t.x===b.x&&t.y===b.y})>-1)return _p(b,p,u,e,t,c,a);delete h[b.id],d[b.id]=!0;for(y=0;yo.maxAllowedDirectionChange||s[E.id]||(h[E.id]||(h[E.id]=E),S=o.distFunc(b,E)+(isNaN(A[O])?a:A[O]),M=g[b.id]+S,g[E.id]&&M>=g[E.id]||(p[E.id]=b,g[E.id]=M,v[E.id]=M+bp(E,f,o.distFunc)));k-=1}return o.fallbackRoute(t,e,n,r,o)};Cs("polyline",{options:{color:Ns.defaultEdge.color,size:Ns.defaultEdge.size,style:{radius:0,offset:15,x:0,y:0,stroke:Ns.defaultEdge.style.stroke,lineAppendWidth:Ns.defaultEdge.style.lineAppendWidth},labelCfg:{style:{fill:Ns.edgeLabel.style.fill,fontSize:Ns.edgeLabel.style.fontSize,fontFamily:Ns.windowFontFamily}},routeCfg:{obstacles:[],maxAllowedDirectionChange:Math.PI,maximumLoops:500,gridSize:10},stateStyles:Object(b.__assign)({},Ns.edgeStateStyles)},shapeType:"polyline",labelPosition:"center",drawShape:function(t,e){var n=this.getShapeStyle(t);0===n.radius&&delete n.radius;var r=e.addShape("path",{className:"edge-shape",name:"edge-shape",attrs:n});return e.shapeMap["edge-shape"]=r,r},getShapeStyle:function(t){var e=this.options.style,n={stroke:t.color},r=Object(x.mix)({},e,n,t.style);t=this.getPathPoints(t),this.radius=r.radius,this.offset=r.offset;var i=t.startPoint,o=t.endPoint,a=this.getControlPoints(t),s=[i];a&&(s=s.concat(a)),s.push(o);var u=t.sourceNode,c=t.targetNode,l=r.radius,f=this.options.routeCfg,h=Object(x.mix)({},f,t.routeCfg);h.offset=r.offset;var d=this.getPath(s,u,c,l,h);return(Object(x.isArray)(d)&&d.length<=1||Object(x.isString)(d)&&-1===d.indexOf("L"))&&(d="M0 0, L0 0"),(isNaN(i.x)||isNaN(i.y)||isNaN(o.x)||isNaN(o.y))&&(d="M0 0, L0 0"),Object(x.mix)({},Ns.defaultEdge.style,r,{lineWidth:t.size,path:d})},updateShapeStyle:function(t,e){var n=e.getContainer();if(e.isVisible()){var r={stroke:t.color},i=n.shapeMap["edge-shape"]||n.find(function(t){return"edge-shape"===t.get("className")})||e.getKeyShape(),o=t.size,a=(t=this.getPathPoints(t)).startPoint,s=t.endPoint,u=this.getControlPoints(t),c=[a];u&&(c=c.concat(u)),c.push(s);var l=i.attr(),f=Object(x.mix)({},r,l,t.style),h=t.sourceNode,d=t.targetNode,p=f.radius,g=this.options.routeCfg,v=Object(x.mix)({},g,t.routeCfg);v.offset=f.offset;var y=this.getPath(c,h,d,p,v);(Object(x.isArray)(y)&&y.length<=1||Object(x.isString)(y)&&-1===y.indexOf("L"))&&(y="M0 0, L0 0"),(isNaN(a.x)||isNaN(a.y)||isNaN(s.x)||isNaN(s.y))&&(y="M0 0, L0 0"),l.endArrow&&!1===f.endArrow&&(t.style.endArrow={path:""}),l.startArrow&&!1===f.startArrow&&(t.style.startArrow={path:""});var m=Object(x.mix)(r,i.attr(),{lineWidth:o,path:y},t.style);i&&i.attr(m)}},getPath:function(t,e,n,r,i){var o=i.offset,a=i.simple;if(!o||t.length>2){if(r)return dp(t,r);var s=[];return Object(x.each)(t,function(t,e){0===e?s.push(["M",t.x,t.y]):s.push(["L",t.x,t.y])}),s}var u=a?pp(t[t.length-1],t[0],n,e,o):Ep(t[0],t[t.length-1],e,n,i);return u&&u.length?r?dp(u,r):Ms.pointsToPolygon(u):"M0 0, L0 0"}},"single-edge");var Sp=wl.cloneEvent,Mp=wl.isNaN,Op=Math.abs,kp=["shift","ctrl","alt","control"],Ap={getDefaultCfg:function(){return{direction:"both",enableOptimize:!1,scalableRange:0,allowDragOnItem:!1}},getEvents:function(){return{dragstart:"onMouseDown",drag:"onMouseMove",dragend:"onMouseUp","canvas:click":"onMouseUp",keyup:"onKeyUp",focus:"onKeyUp",keydown:"onKeyDown",touchstart:"onTouchStart",touchmove:"onTouchMove",touchend:"onMouseUp"}},updateViewport:function(t){var e=this.origin,n=+t.clientX,r=+t.clientY;if(!Mp(n)&&!Mp(r)){var i=n-e.x,o=r-e.y;"x"===this.get("direction")?o=0:"y"===this.get("direction")&&(i=0),this.origin={x:n,y:r};var a=this.graph.get("width"),s=this.graph.get("height"),u=this.graph.get("canvas").getCanvasBBox(),c=this.scalableRange,l=this.scalableRange;c<1&&c>-1&&(c*=a,l*=s),(u.minX<=a+c&&u.minX+i>a+c||u.maxX+c>=0&&u.maxX+c+i<0)&&(i=0),(u.minY<=s+l&&u.minY+o>s+l||u.maxY+l>=0&&u.maxY+l+o<0)&&(o=0),this.graph.translate(i,o)}},onTouchStart:function(t){var e=t.originalEvent.touches,n=e[0],r=e[1];n&&r||(t.preventDefault(),this.onMouseDown(t))},onMouseDown:function(t){var e=t.originalEvent;if((!e||"touchstart"===t.name||0===e.button)&&("touchstart"===t.name||"undefined"==typeof window||!window.event||window.event.buttons||window.event.button)&&this.shouldBegin.call(this,t)&&!this.keydown){var n=t.target,r=n&&n.isCanvas&&n.isCanvas();if((this.allowDragOnItem||r)&&(this.origin={x:t.clientX,y:t.clientY},this.dragging=!1,this.enableOptimize)){for(var i=this.graph,o=i.getEdges(),a=0,s=o.length;as)for(var h=r.getNodes(),d=0,p=h.length;d-1?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.keydown=!1,this.origin=null,this.dragging=!1,this.dragbegin=!1}},Cp={getDefaultCfg:function(){return{updateEdge:!0,delegateStyle:{},enableDelegate:!1,onlyChangeComboSize:!1,comboActiveState:"",selectedState:"selected",enableOptimize:!1,enableDebounce:!1,enableStack:!0}},getEvents:function(){return{"node:dragstart":"onDragStart","node:drag":"onDrag","node:dragend":"onDragEnd","combo:dragenter":"onDragEnter","combo:dragleave":"onDragLeave","combo:drop":"onDropCombo","node:drop":"onDropNode","canvas:drop":"onDropCanvas",touchstart:"onTouchStart",touchmove:"onTouchMove",touchend:"onDragEnd"}},validationCombo:function(t){return!(!this.origin||!t||t.destroyed)&&"combo"===t.getType()},onTouchStart:function(t){if(t.item){try{var e=t.originalEvent.touches,n=e[0],r=e[1];if(n&&r)return;t.preventDefault()}catch(t){console.warn("Touch original event not exist!")}this.onDragStart(t)}},onTouchMove:function(t){try{var e=t.originalEvent.touches,n=e[0],r=e[1];if(n&&r)return void this.onDragEnd(t);t.preventDefault()}catch(t){console.warn("Touch original event not exist!")}this.onDrag(t)},onDragStart:function(t){var e=this;if(this.currentShouldEnd=!0,this.shouldBegin.call(this,t)){var n=t.item;if(n&&!n.destroyed&&!n.hasLocked()){n.getContainer().set("capture",!1),this.cachedCaptureItems||(this.cachedCaptureItems=[]),this.cachedCaptureItems.push(n);var r=t.target;if(r)if(r.get("isAnchorPoint"))return;var i=this.graph;this.targets=[],this.targetCombo=null;var o=i.findAllByState("node",this.selectedState),a=n.get("id");0===o.filter(function(t){var e=t.get("id");return a===e}).length?this.targets.push(n):o.length>1?o.forEach(function(t){t.hasLocked()||e.targets.push(t)}):this.targets.push(n);var s=[];this.targets.forEach(function(t){s.push(Object(x.clone)(t.getModel()))}),this.set("beforeDragNodes",s),this.hidenEdge={},this.get("updateEdge")&&this.enableOptimize&&!this.enableDelegate&&this.targets.forEach(function(t){t.getEdges().forEach(function(t){t.isVisible()&&(e.hidenEdge[t.getID()]=!0,t.hide())})}),this.origin={x:t.x,y:t.y},this.point={},this.originPoint={}}}},onDrag:function(t){var e=this;this.origin&&this.shouldUpdate.call(this,t)&&(this.get("enableDelegate")?this.updateDelegate(t):this.enableDebounce?this.debounceUpdate({targets:this.targets,graph:this.graph,point:this.point,origin:this.origin,evt:t,updateEdge:this.get("updateEdge")}):this.targets.map(function(n){e.update(n,t)}))},onDragEnd:function(t){var e,n=this;if(this.origin){null===(e=this.cachedCaptureItems)||void 0===e||e.forEach(function(t){t.getContainer().set("capture",!0)}),this.cachedCaptureItems=[],this.delegateRect&&(this.delegateRect.remove(),this.delegateRect=null),this.get("updateEdge")&&this.enableOptimize&&!this.enableDelegate&&this.targets.forEach(function(t){t.getEdges().forEach(function(t){n.hidenEdge[t.getID()]&&t.show(),t.refresh()})}),this.hidenEdge={};var r=this.graph;if(r.get("enabledStack")&&this.enableStack){var i={before:{nodes:[],edges:[],combos:[]},after:{nodes:[],edges:[],combos:[]}};this.get("beforeDragNodes").forEach(function(t){i.before.nodes.push({id:t.id,x:t.x,y:t.y})}),this.targets.forEach(function(t){var e=t.getModel();i.after.nodes.push({id:e.id,x:e.x,y:e.y})}),r.pushStack("update",Object(x.clone)(i))}r.emit("dragnodeend",{items:this.targets,targetItem:null}),this.point={},this.origin=null,this.originPoint={},this.targets.length=0,this.targetCombo=null}},onDropCombo:function(t){var e=t.item;if(this.currentShouldEnd=this.shouldEnd.call(this,t,e),this.updatePositions(t,!this.currentShouldEnd),this.currentShouldEnd&&this.validationCombo(e)){var n=this.graph;if(this.comboActiveState&&n.setItemState(e,this.comboActiveState,!1),this.targetCombo=e,this.onlyChangeComboSize)n.updateCombos();else{var r=e.getModel();this.targets.map(function(t){t.getModel().comboId!==r.id&&n.updateComboTree(t,r.id)}),n.updateCombo(e)}n.emit("dragnodeend",{items:this.targets,targetItem:this.targetCombo})}},onDropCanvas:function(t){var e=this.graph;this.currentShouldEnd=this.shouldEnd.call(this,t,void 0),this.updatePositions(t,!this.currentShouldEnd),this.targets&&0!==this.targets.length&&this.currentShouldEnd&&(this.onlyChangeComboSize?e.updateCombos():this.targets.map(function(t){t.getModel().comboId&&e.updateComboTree(t)}))},onDropNode:function(t){if(this.targets&&0!==this.targets.length){var e=t.item,n=this.graph,r=e.getModel().comboId,i=r?n.findById(r):void 0;if(this.currentShouldEnd=this.shouldEnd.call(this,t,i),this.updatePositions(t,!this.currentShouldEnd),this.currentShouldEnd){if(this.onlyChangeComboSize)n.updateCombos();else if(r){var o=n.findById(r);this.comboActiveState&&n.setItemState(o,this.comboActiveState,!1),this.targets.map(function(t){var e=t.getModel();r!==e.comboId&&n.updateComboTree(t,r)}),n.updateCombo(o)}else this.targets.map(function(t){t.getModel().comboId&&n.updateComboTree(t)});n.emit("dragnodeend",{items:this.targets,targetItem:e})}}},onDragEnter:function(t){var e=t.item;if(this.validationCombo(e)){var n=this.graph;this.comboActiveState&&n.setItemState(e,this.comboActiveState,!0)}},onDragLeave:function(t){var e=t.item;if(this.validationCombo(e)){var n=this.graph;this.comboActiveState&&n.setItemState(e,this.comboActiveState,!1)}},updatePositions:function(t,e){var n=this;this.targets&&0!==this.targets.length&&(this.get("enableDelegate")?this.enableDebounce?this.debounceUpdate({targets:this.targets,graph:this.graph,point:this.point,origin:this.origin,evt:t,updateEdge:this.get("updateEdge"),updateFunc:this.update}):e||this.targets.map(function(e){return n.update(e,t)}):this.targets.map(function(r){return n.update(r,t,e)}))},update:function(t,e,n){var r=this.origin,i=t.get("model"),o=t.get("id");this.point[o]||(this.point[o]={x:i.x||0,y:i.y||0});var a=e.x-r.x+this.point[o].x,s=e.y-r.y+this.point[o].y;n&&(a+=r.x-e.x,s+=r.y-e.y);var u={x:a,y:s};this.get("updateEdge")?this.graph.updateItem(t,u,!1):t.updatePosition(u)},debounceUpdate:Object(x.debounce)(function(t){var e=t.targets,n=t.graph,r=t.point,i=t.origin,o=t.evt,a=t.updateEdge;t.updateFunc;e.map(function(t){var e=t.get("model"),s=t.get("id");r[s]||(r[s]={x:e.x||0,y:e.y||0});var u={x:o.x-i.x+r[s].x,y:o.y-i.y+r[s].y};a?n.updateItem(t,u,!1):t.updatePosition(u)})},50,!0),updateDelegate:function(t){var e=this.graph;if(this.delegateRect){var n=t.x-this.origin.x+this.originPoint.minX,r=t.y-this.origin.y+this.originPoint.minY;this.delegateRect.attr({x:n,y:r})}else{var i=e.get("group"),o=Object(x.deepMix)({},nl.delegateStyle,this.delegateStyle),a=this.calculationGroupPosition(t),s=a.x,u=a.y,c=a.width,l=a.height,f=a.minX,h=a.minY;this.originPoint={x:s,y:u,width:c,height:l,minX:f,minY:h},this.delegateRect=i.addShape("rect",{attrs:Object(b.__assign)({width:c,height:l,x:s,y:u},o),name:"rect-delegate-shape"}),this.delegate=this.delegateRect,this.delegateRect.set("capture",!1)}},calculationGroupPosition:function(t){var e=this.targets;0===e.length&&e.push(t.item);for(var n=1/0,r=-1/0,i=1/0,o=-1/0,a=0;ar&&(r=l),f>o&&(o=f)}return{x:Math.floor(n),y:Math.floor(i),width:Math.ceil(r)-Math.floor(n),height:Math.ceil(o)-Math.floor(i),minX:n,minY:i}}},Ip={getDefaultCfg:function(){return{trigger:"mouseenter",activeState:"active",inactiveState:"inactive",resetSelected:!1,shouldUpdate:function(){return!0}}},getEvents:function(){return"mouseenter"===this.get("trigger")?{"node:mouseenter":"setAllItemStates","combo:mouseenter":"setAllItemStates","node:mouseleave":"clearActiveState","combo:mouseleave":"clearActiveState"}:{"node:click":"setAllItemStates","combo:click":"setAllItemStates","canvas:click":"clearActiveState","node:touchstart":"setOnTouchStart","combo:touchstart":"setOnTouchStart","canvas:touchstart":"clearOnTouchStart"}},setOnTouchStart:function(t){try{var e=t.originalEvent.touches,n=e[0],r=e[1];if(n&&r)return;t.preventDefault()}catch(t){console.warn("Touch original event not exist!")}this.setAllItemStates(t)},clearOnTouchStart:function(t){try{var e=t.originalEvent.touches,n=e[0],r=e[1];if(n&&r)return;t.preventDefault()}catch(t){console.warn("Touch original event not exist!")}this.clearActiveState(t)},setAllItemStates:function(t){var e=t.item,n=this.graph;if(this.item=e,this.shouldUpdate(t.item,{event:t,action:"activate"})){for(var r=this.activeState,i=this.inactiveState,o=n.getNodes(),a=n.getCombos(),s=n.getEdges(),u=n.get("vedges"),c=o.length,l=a.length,f=s.length,h=u.length,d=0;d-1||(this.trigger="shift",console.warn("Behavior brush-select 的 trigger 参数不合法,请输入 'drag'、'shift'、'ctrl' 或 'alt'")),"drag"===this.trigger?{dragstart:"onMouseDown",drag:"onMouseMove",dragend:"onMouseUp","canvas:click":"clearStates"}:{dragstart:"onMouseDown",drag:"onMouseMove",dragend:"onMouseUp","canvas:click":"clearStates",keyup:"onKeyUp",keydown:"onKeyDown"}},onMouseDown:function(t){var e=t.item,n=this.brush;e||("drag"===this.trigger||this.keydown)&&(this.selectedNodes&&0!==this.selectedNodes.length&&this.clearStates(),n||(n=this.createBrush()),this.originPoint={x:t.canvasX,y:t.canvasY},n.attr({width:0,height:0}),n.show(),this.dragging=!0)},onMouseMove:function(t){this.dragging&&("drag"===this.trigger||this.keydown)&&this.updateBrush(t)},onMouseUp:function(t){this.graph;(this.brush||this.dragging)&&("drag"===this.trigger||this.keydown)&&(this.brush.remove(!0),this.brush=null,this.getSelectedNodes(t),this.dragging=!1)},clearStates:function(){var t=this.graph,e=this.selectedState,n=t.findAllByState("node",e),r=t.findAllByState("edge",e);n.forEach(function(n){return t.setItemState(n,e,!1)}),r.forEach(function(n){return t.setItemState(n,e,!1)}),this.selectedNodes=[],this.selectedEdges=[],this.onDeselect&&this.onDeselect(this.selectedNodes,this.selectedEdges),t.emit("nodeselectchange",{selectedItems:{nodes:[],edges:[]},select:!1})},getSelectedNodes:function(t){var e=this,n=this.graph,r=this.originPoint,i=this.shouldUpdate,o=this.selectedState,a={x:t.x,y:t.y},s=n.getPointByCanvas(r.x,r.y),u=Tp(a.x,s.x),c=Np(a.x,s.x),l=Tp(a.y,s.y),f=Np(a.y,s.y),h=[],d=[];n.getNodes().forEach(function(t){if(t.isVisible()){var e=t.getBBox();if(e.centerX>=u&&e.centerX<=c&&e.centerY>=l&&e.centerY<=f&&i(t,"select")){h.push(t);var r=t.getModel();d.push(r.id),n.setItemState(t,o,!0)}}});var p=[];this.includeEdges&&h.forEach(function(t){t.getOutEdges().forEach(function(t){if(t.isVisible()){var r=t.getModel(),o=r.source,a=r.target;d.includes(o)&&d.includes(a)&&i(t,"select")&&(p.push(t),n.setItemState(t,e.selectedState,!0))}})}),this.selectedEdges=p,this.selectedNodes=h,this.onSelect&&this.onSelect(h,p),n.emit("nodeselectchange",{selectedItems:{nodes:h,edges:p},select:!0})},createBrush:function(){var t=this.graph.get("canvas").addShape("rect",{attrs:this.brushStyle,capture:!1,name:"brush-shape"});return this.brush=t,this.delegate=t,t},updateBrush:function(t){var e=this.originPoint;this.brush.attr({width:Pp(t.canvasX-e.x),height:Pp(t.canvasY-e.y),x:Tp(t.canvasX,e.x),y:Tp(t.canvasY,e.y)})},onKeyDown:function(t){var e=t.key;if(e){var n=this.trigger.toLowerCase(),r=e.toLowerCase();this.keydown=r===n||"control"===r&&"ctrl"===n||"ctrl"===r&&"control"===n}},onKeyUp:function(){this.brush&&(this.brush.remove(!0),this.brush=null,this.dragging=!1),this.keydown=!1}},Lp=["shift","ctrl","alt","control"],Rp={getDefaultCfg:function(){return{multiple:!0,trigger:"shift",selectedState:"selected"}},getEvents:function(){return Lp.indexOf(this.trigger.toLowerCase())>-1||(this.trigger="shift",console.warn("Behavior brush-select 的 trigger 参数不合法,请输入 'drag'、'shift'、'ctrl' 或 'alt'")),this.multiple?{"node:click":"onClick","combo:click":"onClick","canvas:click":"onCanvasClick",keyup:"onKeyUp",keydown:"onKeyDown"}:{"node:click":"onClick","combo:click":"onClick","canvas:click":"onCanvasClick"}},onClick:function(t){var e=this,n=t.item;if(n&&!n.destroyed){n.getType();var r=e.graph,i=e.keydown,o=e.multiple,a=e.shouldUpdate;if(e.shouldBegin.call(e,t)){if(!i||!o){var s=r.findAllByState("node",e.selectedState).concat(r.findAllByState("combo",e.selectedState));Object(x.each)(s,function(t){t!==n&&r.setItemState(t,e.selectedState,!1)})}if(n.hasState(e.selectedState)){a.call(e,t)&&r.setItemState(n,e.selectedState,!1);var u=r.findAllByState("node",e.selectedState),c=r.findAllByState("combo",e.selectedState);r.emit("nodeselectchange",{target:n,selectedItems:{nodes:u,combos:c},select:!1})}else{a.call(e,t)&&r.setItemState(n,e.selectedState,!0);u=r.findAllByState("node",e.selectedState),c=r.findAllByState("combo",e.selectedState);r.emit("nodeselectchange",{target:n,selectedItems:{nodes:u,combos:c},select:!0})}}}},onCanvasClick:function(t){var e=this,n=this.graph;if(this.shouldBegin.call(this,t)){var r=n.findAllByState("node",this.selectedState);Object(x.each)(r,function(t){n.setItemState(t,e.selectedState,!1)});var i=n.findAllByState("combo",this.selectedState);Object(x.each)(i,function(t){n.setItemState(t,e.selectedState,!1)}),n.emit("nodeselectchange",{selectedItems:{nodes:[],edges:[],combos:[]},select:!1})}},onKeyDown:function(t){var e=t.key;e&&(e.toLowerCase()===this.trigger.toLowerCase()||"control"===e.toLowerCase()?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.keydown=!1}},Bp=r.transform,Gp={getDefaultCfg:function(){return{sensitivity:2,minZoom:void 0,maxZoom:void 0,enableOptimize:!1,optimizeZoom:.1,fixSelectedItems:{fixAll:!1,fixLineWidth:!1,fixLabel:!1,fixState:"selected"},animate:!1,animateCfg:{duration:500}}},getEvents:function(){var t=this.fixSelectedItems;return t.fixState||(t.fixState="selected"),t.fixAll&&(t.fixLineWidth=!0,t.fixLabel=!0),{wheel:"onWheel",touchstart:"onTouchStart",touchmove:"onTouchMove",touchend:"onTouchEnd"}},onTouchStart:function(t){var e=t.originalEvent.touches,n=e[0],r=e[1];t.preventDefault(),r&&(this.shouldBegin&&!this.shouldBegin.call(this,t)||(this.startPoint={pageX:n.pageX,pageY:n.pageY},this.moveable=!0,r&&(this.endPoint={pageX:r.pageX,pageY:r.pageY}),this.originScale=this.graph.getZoom()||this.currentScale||1))},onTouchMove:function(t){if(this.moveable){t.preventDefault();var e=t.originalEvent.touches,n=e[0],r=e[1];if(r){this.endPoint||(this.endPoint={pageX:r.pageX,pageY:r.pageY});var i=function(t,e){return Math.hypot(e.x-t.x,e.y-t.y)},o=i({x:n.pageX,y:n.pageY},{x:r.pageX,y:r.pageY})/i({x:this.startPoint.pageX,y:this.startPoint.pageY},{x:this.endPoint.pageX,y:this.endPoint.pageY}),a=this.originScale*o;this.currentScale=a;var s=this.get("minZoom")||this.graph.get("minZoom");if(!(a>(this.get("maxZoom")||this.graph.get("maxZoom"))||a(this.get("maxZoom")||n.get("maxZoom"))||in/2?u-=l.width:u+=this.offset,c>r/2?c-=l.height:c+=this.offset;var f="".concat(u,"px"),h="".concat(c,"px");ol(this.container,{left:f,top:h,visibility:"visible"})}else ol(i,{visibility:"hidden"})},createTooltip:function(t){var e=t.get("el");e.style.position="relative";var n=il('
    '));return e.parentNode.appendChild(n),ol(n,{position:"absolute",visibility:"visible"}),this.width=t.get("width"),this.height=t.get("height"),this.container=n,this.graph.get("tooltips").push(n),n}},zp=Object(b.__assign)({getDefaultCfg:function(){return{item:"node",offset:12,formatText:function(t){return t.label}}},getEvents:function(){return{"node:mouseenter":"onMouseEnter","node:mouseleave":"onMouseLeave","node:mousemove":"onMouseMove",afterremoveitem:"onMouseLeave"}}},Fp),Up=Object(b.__assign)({getDefaultCfg:function(){return{item:"edge",offset:12,formatText:function(t){return"source: ".concat(t.source," target: ").concat(t.target)}}},getEvents:function(){return{"edge:mouseenter":"onMouseEnter","edge:mouseleave":"onMouseLeave","edge:mousemove":"onMouseMove",afterremoveitem:"onMouseLeave"}}},Fp),Wp=["click","dblclick"],Vp={getDefaultCfg:function(){return{trigger:"click",onChange:function(){}}},getEvents:function(){var t,e;return Wp.includes(this.trigger)?e=this.trigger:(e="click",console.warn("Behavior collapse-expand 的 trigger 参数不合法,请输入 'click' 或 'dblclick'")),(t={})["node:".concat(e)]="onNodeClick",t.touchstart="onNodeClick",t},onNodeClick:function(t){var e=t.item;if(e){var n=this.graph.findDataById(e.get("id"));if(n){var r=n.children;if(r&&0!==r.length){var i=!n.collapsed;this.shouldBegin(t,i)&&(n.collapsed=i,e.getModel().collapsed=i,this.graph.emit("itemcollapsed",{item:t.item,collapsed:i}),this.shouldUpdate(t,i)&&(this.onChange(e,i),this.graph.layout()))}}}}},Xp=wl.calculationItemsBBox,Yp={getDefaultCfg:function(){return{enableDelegate:!1,delegateStyle:{},onlyChangeComboSize:!1,activeState:"",selectedState:"selected"}},getEvents:function(){return{"combo:dragstart":"onDragStart","combo:drag":"onDrag","combo:dragend":"onDragEnd","combo:drop":"onDrop","node:drop":"onNodeDrop","combo:dragenter":"onDragEnter","combo:dragleave":"onDragLeave"}},validationCombo:function(t){var e=t.item;return!(!e||e.destroyed)&&(!!this.shouldUpdate.call(this,t)&&"combo"===e.getType())},onDragStart:function(t){var e=this,n=this.graph,r=t.item;if(this.currentShouldEnd=!0,this.validationCombo(t)){this.targets=[];var i=n.findAllByState("combo",this.selectedState),o=r.get("id");0===i.filter(function(t){var e=t.get("id");return o===e}).length?this.targets.push(r):this.targets=i,this.activeState&&this.targets.map(function(t){var r=t.getModel();if(r.parentId){var i=n.findById(r.parentId);i&&n.setItemState(i,e.activeState,!0)}}),this.point={},this.originPoint={},this.origin={x:t.x,y:t.y},this.currentItemChildCombos=[],function t(e,n){if(!1!==n(e)&&e){var r=e.get("combos");if(0===r.length)return!1;Object(x.each)(r,function(e){t(e,n)})}}(r,function(t){if(t.destroyed)return!1;var n=t.getModel();return e.currentItemChildCombos.push(n.id),!0})}},onDrag:function(t){var e=this;if(this.origin&&this.validationCombo(t))if(this.enableDelegate)this.updateDelegate(t);else{if(this.activeState){var n=this.graph,r=t.item,i=r.getModel(),o=n.getCombos(),a=r.getBBox(),s=a.centerX,u=a.centerY,c=a.width;o.filter(function(t){var n=t.getModel();return i.parentId,n.id!==i.id&&!e.currentItemChildCombos.includes(n.id)}).map(function(t){var r=t.getBBox(),i=r.centerX,o=r.centerY,a=r.width,l=s-i,f=u-o,h=2*Math.sqrt(l*l+f*f);c+a-h>.8*c?n.setItemState(t,e.activeState,!0):n.setItemState(t,e.activeState,!1)})}Object(x.each)(this.targets,function(n){e.updateCombo(n,t)})}},updatePositions:function(t,e){var n=this;(this.enableDelegate||e)&&Object(x.each)(this.targets,function(r){n.updateCombo(r,t,e)})},onDrop:function(t){var e=this,n=t.item;if(this.currentShouldEnd=this.shouldEnd.call(this,t,n),this.updatePositions(t,!this.currentShouldEnd),this.currentShouldEnd&&n&&this.targets&&!n.destroyed){var r=this.graph,i=n.getModel();this.targets.map(function(t){t.getModel().parentId!==i.id?(e.activeState&&r.setItemState(n,e.activeState,!1),e.onlyChangeComboSize?r.updateCombo(t):r.updateComboTree(t,i.id)):r.updateCombo(n)}),this.end(n,t),this.endComparison=!0}},onNodeDrop:function(t){var e=this;if(this.targets&&0!==this.targets.length){var n=this.graph,r=t.item.getModel().comboId,i=r?n.findById(r):void 0;if(this.currentShouldEnd=this.shouldEnd.call(this,t,i),this.updatePositions(t,!this.currentShouldEnd),this.currentShouldEnd){var o;if(r){if(this.activeState){var a=n.findById(r);n.setItemState(a,this.activeState,!1)}this.targets.map(function(t){e.onlyChangeComboSize?n.updateCombo(t):r!==t.getID()&&(o=n.findById(r),r!==t.getModel().parentId&&n.updateComboTree(t,r))})}else this.targets.map(function(t){e.onlyChangeComboSize?n.updateCombo(t):t.getModel().comboId&&n.updateComboTree(t)});this.endComparison=!0,this.end(o,t)}}},onDragEnter:function(t){if(this.origin&&this.validationCombo(t)){var e=t.item,n=this.graph;this.activeState&&n.setItemState(e,this.activeState,!0)}},onDragLeave:function(t){if(this.origin&&this.validationCombo(t)){var e=t.item,n=this.graph;this.activeState&&n.setItemState(e,this.activeState,!1)}},onDragEnd:function(t){if(this.targets&&0!==this.targets.length){var e=t.item;this.currentShouldEnd&&this.updatePositions(t);var n=this.getParentCombo(e.getModel().parentId),r=this.graph;n&&this.activeState&&r.setItemState(n,this.activeState,!1),this.end(void 0,t)}},end:function(t,e){var n=this;if(this.origin){var r=this.graph;if(this.delegateShape)r.get("delegateGroup").clear(),this.delegateShape=null;t&&this.activeState&&r.setItemState(t,this.activeState,!1),t||this.targets.map(function(t){n.onlyChangeComboSize?r.updateCombo(t):r.updateComboTree(t)}),this.point=[],this.origin=null,this.originPoint=null,this.targets.length=0}},traverse:function(t,e){var n=this;if(!1!==e(t)&&t){var r=t.get("combos");Object(x.each)(r,function(t){n.traverse(t,e)});var i=t.get("nodes");Object(x.each)(i,function(t){n.traverse(t,e)})}},updateCombo:function(t,e,n){var r=this;this.traverse(t,function(t){return!t.destroyed&&(r.updateSignleItem(t,e,n),!0)})},updateSignleItem:function(t,e,n){var r=this.origin,i=this.graph,o=t.getModel(),a=t.get("id");this.point[a]||(this.point[a]={x:o.x,y:o.y});var s=e.x-r.x+this.point[a].x,u=e.y-r.y+this.point[a].y;n&&(s+=r.x-e.x,u+=r.y-e.y),i.updateItem(t,{x:s,y:u})},getParentCombo:function(t){var e=this.graph;if(t){var n=e.findById(t);if(n)return n}},updateDelegate:function(t){var e=this.graph;if(this.delegateShape){var n=t.x-this.origin.x+this.originPoint.minX,r=t.y-this.origin.y+this.originPoint.minY;this.delegateShape.attr({x:n,y:r})}else{var i=e.get("delegateGroup"),o=null,a=(o=this.targets.length>1?Xp(this.targets):this.targets[0].getBBox()).x,s=o.y,u=o.width,c=o.height,l=o.minX,f=o.minY;this.originPoint={x:a,y:s,width:u,height:c,minX:l,minY:f};var h=Object(b.__assign)(Object(b.__assign)({},nl.delegateStyle),this.delegateStyle);this.delegateShape=i.addShape("rect",{attrs:Object(b.__assign)({width:o.width,height:o.height,x:o.x,y:o.y},h),name:"combo-delegate-shape"}),this.delegateShape.set("capture",!1),this.delegate=this.delegateShape}}},Hp=["click","dblclick"],qp={getDefaultCfg:function(){return{trigger:"dblclick",relayout:!0}},getEvents:function(){var t,e;return Hp.includes(this.trigger)?e=this.trigger:(e="dblclick",console.warn("Behavior collapse-expand-group 的 trigger 参数不合法,请输入 'click' 或 'dblclick'")),(t={})["combo:".concat(e)]="onComboClick",t},onComboClick:function(t){var e=t.item,n=this.graph,r=this.relayout;if(e&&!e.destroyed&&"combo"===e.getType()){var i=e.getModel().id;i&&(n.collapseExpandCombo(i),r&&n.get("layout")?n.layout():n.refreshPositions())}}},Kp=wl.isPolygonsIntersect,Zp=wl.pathToPoints,Qp=["drag","shift","ctrl","alt","control"],Jp=["click","drag"],$p=["shift","ctrl","control","alt","meta",void 0],tg=["shift","ctrl","alt","control"],eg=["shift","ctrl","alt","control","meta"],ng={"drag-canvas":Ap,"zoom-canvas":Gp,"drag-node":Cp,"activate-relations":Ip,"brush-select":Dp,"click-select":Rp,"lasso-select":{getDefaultCfg:function(){return{delegateStyle:{fill:"#EEF6FF",fillOpacity:.4,stroke:"#DDEEFE",lineWidth:1},onSelect:function(){},onDeselect:function(){},shouldDeselect:void 0,selectedState:"selected",trigger:"shift",includeEdges:!0,selectedEdges:[],selectedNodes:[]}},getEvents:function(){return Qp.indexOf(this.trigger.toLowerCase())>-1||(this.trigger="shift",console.warn("Behavior lasso-select 的 trigger 参数不合法,请输入 'drag'、'shift'、'ctrl' 或 'alt'")),"drag"===this.trigger?{dragstart:"onDragStart",drag:"onDragMove",dragend:"onDragEnd","canvas:click":"clearStates"}:{dragstart:"onDragStart",drag:"onDragMove",dragend:"onDragEnd",keyup:"onKeyUp",keydown:"onKeyDown","canvas:click":"clearStates"}},onDragStart:function(t){var e=this.lasso;t.item||("drag"===this.trigger||this.keydown)&&(this.selectedNodes&&0!==this.selectedNodes.length&&this.clearStates("dragstart"),e||(e=this.createLasso()),this.dragging=!0,this.originPoint={x:t.x,y:t.y},this.points.push(this.originPoint),e.show())},onDragMove:function(t){this.dragging&&("drag"===this.trigger||this.keydown)&&(this.points.push({x:t.x,y:t.y}),this.updateLasso(t))},onDragEnd:function(t){(this.lasso||this.dragging)&&("drag"===this.trigger||this.keydown)&&(this.points.push(this.originPoint),this.getSelectedItems(),this.lasso.remove(!0),this.lasso=null,this.points=[],this.dragging=!1)},getLassoPath:function(){var t=this.points,e=[];return t.length&&(t.forEach(function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e.push(["L",t[0].x,t[0].y])),e},clearStates:function(t){void 0===t&&(t="canvas:click");var e=this.graph,n=this.selectedState,r=this.shouldDeselect,i=e.findAllByState("node",n),o=e.findAllByState("edge",n);r&&!r({action:t,nodes:i,edges:o})||(i.forEach(function(t){return e.setItemState(t,n,!1)}),o.forEach(function(t){return e.setItemState(t,n,!1)})),this.onDeselect&&this.onDeselect(this.selectedNodes,this.selectedEdges),this.selectedNodes=[],this.selectedEdges=[],e.emit("nodeselectchange",{selectedItems:{nodes:[],edges:[]},select:!1})},getSelectedItems:function(){var t=this,e=this.graph,n=this.shouldUpdate,r=this.points.map(function(t){return[e.getCanvasByPoint(t.x,t.y).x,e.getCanvasByPoint(t.x,t.y).y]}),i=this.selectedState,o=[],a=[];e.getNodes().forEach(function(t){if(t.isVisible()&&function(t,e){var n,r=t.getKeyShape();if("path"===t.get("type"))n=Zp(r.attr("path"));else{var i=r.getCanvasBBox();n=[[i.minX,i.minY],[i.maxX,i.minY],[i.maxX,i.maxY],[i.minX,i.maxY]]}return Kp(e,n)}(t,r)&&n(t,"select")){o.push(t);var s=t.getModel();a.push(s.id),e.setItemState(t,i,!0)}});var s=[];this.includeEdges&&o.forEach(function(r){r.getOutEdges().forEach(function(r){if(r.isVisible()){var i=r.getModel(),o=i.source,u=i.target;a.includes(o)&&a.includes(u)&&n(r,"select")&&(s.push(r),e.setItemState(r,t.selectedState,!0))}})}),this.selectedEdges=s,this.selectedNodes=o,this.onSelect&&this.onSelect(o,s),e.emit("nodeselectchange",{selectedItems:{nodes:o,edges:s},select:!0})},createLasso:function(){var t=this.graph.get("delegateGroup").addShape("path",{attrs:Object(b.__assign)({path:[]},this.delegateStyle),capture:!1,name:"lasso-shape"});return this.lasso=t,this.delegate=t,this.points=[],t},updateLasso:function(t){this.lasso.attr({path:this.getLassoPath()})},onKeyDown:function(t){var e=t.key;e&&(e.toLowerCase()===this.trigger.toLowerCase()?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.lasso&&(this.lasso.remove(!0),this.lasso=null,this.points=[],this.dragging=!1),this.keydown=!1}},tooltip:zp,"edge-tooltip":Up,"collapse-expand":Vp,"drag-combo":Yp,"collapse-expand-combo":qp,"create-edge":{getDefaultCfg:function(){return{trigger:"click",key:void 0,edgeConfig:{},getEdgeConfig:void 0}},getEvents:function(){var t;return Jp.indexOf(this.trigger.toLowerCase())>-1||(this.trigger="click",console.warn("Behavior create-edge 的 trigger 参数不合法,请输入 'click','drag'")),this.key&&-1===$p.indexOf(this.key.toLowerCase())&&(this.trigger=void 0,console.warn("Behavior create-edge 的 key 参数不合法,请输入 'shift','ctrl','alt','control',或 undefined")),"drag"===this.trigger?t={"node:dragstart":"onClick","combo:dragstart":"onClick",drag:"updateEndPoint","node:drop":"onClick","combo:drop":"onClick",dragend:"onDragEnd"}:"click"===this.trigger&&(t={"node:click":"onClick",mousemove:"updateEndPoint","edge:click":"cancelCreating","canvas:click":"cancelCreating","combo:click":"onClick"}),this.key&&(t.keydown="onKeyDown",t.keyup="onKeyUp"),t},onDragEnd:function(t){if(!this.key||this.keydown){var e=t.item;e&&e.getID()!==this.source&&"node"===e.getType()||this.cancelCreating({item:this.edge,x:t.x,y:t.y})}},onClick:function(t){if(!this.key||this.keydown){var e=t.item,n=this.graph,r=e.getModel(),i=this.getEdgeConfig;if(this.addingEdge&&this.edge){if(!this.shouldEnd.call(this,t))return;var o=void 0;o=i&&Object(x.isFunction)(i)?i({source:this.source,target:r.id}):this.edgeConfig;var a=Object(b.__assign)({target:r.id},o);if(this.source===r.id&&(a.type="loop"),n.emit("beforecreateedge",{}),n.updateItem(this.edge,a,!1),n.get("enabledStack")){var s=Object(b.__assign)(Object(b.__assign)({},this.edge.getModel()),{itemType:"edge"}),u={};u.edges=[s],n.pushStack("add",{before:{},after:u})}n.emit("aftercreateedge",{edge:this.edge}),this.edge.getKeyShape().set("capture",!0),this.edge=null,this.addingEdge=!1}else{if(!this.shouldBegin.call(this,t))return;o=void 0;o=i&&Object(x.isFunction)(i)?i({source:r.id,target:r.id}):this.edgeConfig,this.edge=n.addItem("edge",Object(b.__assign)({source:r.id,target:r.id},o),!1),this.source=r.id,this.addingEdge=!0,this.edge.getKeyShape().set("capture",!1)}}},updateEndPoint:function(t){if(!this.key||this.keydown){this.edge&&this.edge.destroyed&&this.cancelCreating({item:this.edge});var e={x:t.x,y:t.y};this.graph.findById(this.source)?this.addingEdge&&this.edge&&this.graph.updateItem(this.edge,{target:e},!1):this.addingEdge=!1}},cancelCreating:function(t){var e,n;if(!this.key||this.keydown){var r=this.graph,i=t.item;return this.addingEdge&&(this.edge===i||(null===(n=null===(e=t.target)||void 0===e?void 0:e.isCanvas)||void 0===n?void 0:n.call(e)))?(this.edge&&!this.edge.destroyed&&r.removeItem(this.edge,!1),this.edge=null,void(this.addingEdge=!1)):void 0}},onKeyDown:function(t){var e=t.key;e&&(e.toLowerCase()===this.key.toLowerCase()?this.keydown=!0:this.keydown=!1)},onKeyUp:function(){this.addingEdge&&this.edge&&(this.graph.removeItem(this.edge,!1),this.addingEdge=!1,this.edge=null),this.keydown=!1}},"shortcuts-call":{getDefaultCfg:function(){return{trigger:"ctrl",combinedKey:"1",functionName:"fitView",functionParams:[]}},getEvents:function(){return tg.indexOf(this.trigger.toLowerCase())>-1||(this.trigger="ctrl",console.warn("Behavior shortcuts-fit-view 的 trigger 参数 '".concat(this.trigger,"' 不合法,请输入 'drag'、'shift'、'ctrl' 或 'alt'"))),this.combinedKey===this.trigger&&(this.combinedKey=void 0),{keyup:"onKeyUp",keydown:"onKeyDown"}},onKeyDown:function(t){var e=t.key;if(e){var n=this.trigger.toLowerCase(),r=e.toLowerCase();this.triggerKeydown||(this.triggerKeydown=r===n||"control"===r&&"ctrl"===n||"ctrl"===r&&"control"===n);var i=this.graph;if(!i[this.functionName])return console.warn("Behavior shortcuts-fit-view 的 functionName 参数 '".concat(this.functionName,"' 不合法,它不是 Graph 的一个函数名")),{};if(!this.triggerKeydown||this.combinedKey){var o=this.combinedKey.toLowerCase();this.triggerKeydown&&(r===o||"control"===r&&"ctrl"===o||"ctrl"===r&&"control"===o)&&(this.functionParams&&this.functionParams.length?i[this.functionName].apply(i,this.functionParams):i[this.functionName]())}else this.functionParams&&this.functionParams.length?i[this.functionName].apply(i,this.functionParams):i[this.functionName]()}},onKeyUp:function(){this.brush&&(this.brush.remove(!0),this.brush=null,this.dragging=!1),this.triggerKeydown=!1}},"scroll-canvas":{getDefaultCfg:function(){return{direction:"both",enableOptimize:!1,zoomKey:"ctrl",scalableRange:0}},getEvents:function(){return this.zoomKey&&-1!==eg.indexOf(this.zoomKey)||(this.zoomKey="ctrl"),{wheel:"onWheel"}},onWheel:function(t){var e=this,n=this.graph,r=Array.isArray(this.zoomKey)?[].concat(this.zoomKey):[this.zoomKey];if(r.includes("control")&&r.push("ctrl"),r.some(function(e){return t["".concat(e,"Key")]})){var i=n.get("canvas").getPointByClient(t.clientX,t.clientY),o=n.getZoom();t.wheelDelta>0?o+=.05*o:o-=.05*o,n.zoomTo(o,{x:i.x,y:i.y})}else{var a=t.deltaX||t.movementX,s=t.deltaY||t.movementY;!s&&navigator.userAgent.indexOf("Firefox")>-1&&(s=125*-t.wheelDelta/3);var u=this.graph.get("width"),c=this.graph.get("height"),l=this.graph.get("canvas").getCanvasBBox(),f=this.scalableRange,h=this.scalableRange;f<1&&f>-1&&(f*=u,h*=c);var d=l.minX,p=l.maxX,g=l.minY,v=l.maxY;a>0?p<-f?a=0:p-a<-f&&(a=p+f):a<0&&(d>u+f?a=0:d-a>u+f&&(a=d-(u+f))),s>0?v<-h?s=0:v-s<-h&&(s=v+h):s<0&&(g>c+h?s=0:g-s>c+h&&(s=g-(c+h))),"x"===this.get("direction")?s=0:"y"===this.get("direction")&&(a=0),n.translate(-a,-s)}if(t.preventDefault(),this.get("enableOptimize")){var y=this.get("optimizeZoom"),m=this.get("optimized"),b=n.getNodes(),x=n.getEdges(),w=b.length,_=x.length;if(!m){for(var E=0;Er?1:0}var s=function(t){function e(e){var n=t.call(this)||this;return n.radius=null,n.nodeSize=void 0,n.startRadius=null,n.endRadius=null,n.startAngle=0,n.endAngle=2*Math.PI,n.clockwise=!0,n.divisions=1,n.ordering=null,n.angleRatio=1,n.nodes=[],n.edges=[],n.nodeMap={},n.degrees=[],n.width=300,n.height=300,n.updateCfg(e),n}return r(e,t),e.prototype.getDefaultCfg=function(){return{radius:null,startRadius:null,endRadius:null,startAngle:0,endAngle:2*Math.PI,clockwise:!0,divisions:1,ordering:null,angleRatio:1}},e.prototype.execute=function(){var t,e=this.nodes,n=this.edges,r=e.length;if(0!==r){this.width||"undefined"==typeof window||(this.width=window.innerWidth),this.height||"undefined"==typeof window||(this.height=window.innerHeight),this.center||(this.center=[this.width/2,this.height/2]);var i=this.center;if(1===r)return e[0].x=i[0],e[0].y=i[1],void(this.onLayoutEnd&&this.onLayoutEnd());var a=this.radius,s=this.startRadius,u=this.endRadius,c=this.divisions,l=this.startAngle,f=this.endAngle,h=this.angleRatio,d=this.ordering,p=this.clockwise,g=this.nodeSpacing,v=this.nodeSize,y=(f-l)/r,m={};e.forEach(function(t,e){m[t.id]=e}),this.nodeMap=m;var b=(0,o.getDegree)(e.length,m,n);if(this.degrees=b,g){var x=(0,o.getFuncByUnknownType)(10,g),w=(0,o.getFuncByUnknownType)(10,v),_=-1/0;e.forEach(function(t){var e=w(t);_this.width?this.width/2:this.height/2;var S=y*h,M=[];M="topology"===d?this.topologyOrdering():"topology-directed"===d?this.topologyOrdering(!0):"degree"===d?this.degreeOrdering():e;for(var O=Math.ceil(r/c),k=0;k=0;_--)w(_);return{nodes:e,edges:n,combos:r,comboEdges:i}},e.prototype.getInnerGraphs=function(){var t=this.comboTrees,e=this.nodeSize,n=this.edges,r=this.comboPadding,o=this.spacing,a={},c=this.innerLayout||new u.ConcentricLayout({sortBy:"id"});return c.center=[0,0],c.preventOverlap=!0,c.nodeSpacing=o,(t||[]).forEach(function(t){(0,s.traverseTreeUp)(t,function(t){var o,u=(null===r||void 0===r?void 0:r(t))||10;if((0,s.isArray)(u)&&(u=Math.max.apply(Math,u)),null===(o=t.children)||void 0===o?void 0:o.length){var l=t.children.map(function(t){return"combo"===t.itemType?a[t.id]:i({},t)}),f=l.map(function(t){return t.id}),h={nodes:l,edges:n.filter(function(t){return f.includes(t.source)&&f.includes(t.target)})},d=1/0;l.forEach(function(t){var n;t.size||(t.size=(null===(n=a[t.id])||void 0===n?void 0:n.size)||(null===e||void 0===e?void 0:e(t))||[30,30]),(0,s.isNumber)(t.size)&&(t.size=[t.size,t.size]),d>t.size[0]&&(d=t.size[0]),d>t.size[1]&&(d=t.size[1])}),c.layout(h);var p=(0,s.findMinMaxNodeXY)(l),g=p.minX,v=p.minY,y=p.maxX,m=p.maxY,b=Math.max(y-g,m-v,d)+2*u;a[t.id]={id:t.id,nodes:l,size:[b,b]}}else if("combo"===t.itemType){var x=u?[2*u,2*u]:[30,30];a[t.id]={id:t.id,nodes:[],size:x}}return!0})}),a},e.prototype.initVals=function(){var t,e,n=this.nodeSize,r=this.spacing;if(e=(0,s.isNumber)(r)?function(){return r}:(0,s.isFunction)(r)?r:function(){return 0},this.spacing=e,n)if((0,s.isFunction)(n))t=function(t){var r=n(t),i=e(t);return(0,s.isArray)(t.size)?((t.size[0]>t.size[1]?t.size[0]:t.size[1])+i)/2:((r||10)+i)/2};else if((0,s.isArray)(n)){var i=(n[0]>n[1]?n[0]:n[1])/2;t=function(t){return i+e(t)/2}}else{var o=n/2;t=function(t){return o+e(t)/2}}else t=function(t){var n=e(t);return t.size?(0,s.isArray)(t.size)?((t.size[0]>t.size[1]?t.size[0]:t.size[1])+n)/2:(0,s.isObject)(t.size)?((t.size.width>t.size.height?t.size.width:t.size.height)+n)/2:(t.size+n)/2:10+n/2};this.nodeSize=t;var a,u=this.comboPadding;a=(0,s.isNumber)(u)?function(){return u}:(0,s.isArray)(u)?function(){return Math.max.apply(null,u)}:(0,s.isFunction)(u)?u:function(){return 0},this.comboPadding=a},e.prototype.getType=function(){return"comboCombined"},e}(a.Base);e.ComboCombinedLayout=c},fbrv:function(t,e,n){"use strict";var r=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,i=t.length;n0,v=p.length>n.length,y=function(t,e,n,r,i){for(var o=[],a=0;a0?c:t(e,r)}return 0}},fbvF:function(t,e,n){t.exports=function(){"use strict";var t=function(t){return t instanceof Uint8Array||t instanceof Uint16Array||t instanceof Uint32Array||t instanceof Int8Array||t instanceof Int16Array||t instanceof Int32Array||t instanceof Float32Array||t instanceof Float64Array||t instanceof Uint8ClampedArray},e=function(t,e){for(var n=Object.keys(e),r=0;r=0&&(0|t)===t||i("invalid parameter type, ("+t+")"+a(e)+". must be a nonnegative integer")},oneOf:u,shaderError:function(t,e,r,i,a){if(!t.getShaderParameter(e,t.COMPILE_STATUS)){var s=t.getShaderInfoLog(e),u=i===t.FRAGMENT_SHADER?"fragment":"vertex";b(r,"string",u+" shader source must be a string",a);var c=v(r,a),f=function(t){var e=[];return t.split("\n").forEach(function(t){if(!(t.length<5)){var n=/^ERROR:\s+(\d+):(\d+):\s*(.*)$/.exec(t);n?e.push(new d(0|n[1],0|n[2],n[3].trim())):t.length>0&&e.push(new d("unknown",0,t))}}),e}(s);!function(t,e){e.forEach(function(e){var n=t[e.file];if(n){var r=n.index[e.line];if(r)return r.errors.push(e),void(n.hasErrors=!0)}t.unknown.hasErrors=!0,t.unknown.lines[0].errors.push(e)})}(c,f),Object.keys(c).forEach(function(t){var e=c[t];if(e.hasErrors){var r=[""],i=[""];o("file number "+t+": "+e.name+"\n","color:red;text-decoration:underline;font-weight:bold"),e.lines.forEach(function(t){if(t.errors.length>0){o(l(t.number,4)+"| ","background-color:yellow; font-weight:bold"),o(t.line+n,"color:red; background-color:yellow; font-weight:bold");var e=0;t.errors.forEach(function(r){var i=r.message,a=/^\s*'(.*)'\s*:\s*(.*)$/.exec(i);if(a){var s=a[1];switch(i=a[2],s){case"assign":s="="}e=Math.max(t.line.indexOf(s,e),0)}else e=0;o(l("| ",6)),o(l("^^^",e+3)+n,"font-weight:bold"),o(l("| ",6)),o(i+n,"font-weight:bold")}),o(l("| ",6)+n)}else o(l(t.number,4)+"| "),o(t.line+n,"color:red")}),"undefined"==typeof document||window.chrome?console.log(r.join("")):(i[0]=r.join("%c"),console.log.apply(console,i))}function o(t,e){r.push(t),i.push(e||"")}}),o.raise("Error compiling "+u+" shader, "+c[0].name)}},linkError:function(t,e,r,i,a){if(!t.getProgramParameter(e,t.LINK_STATUS)){var s=t.getProgramInfoLog(e),u=v(r,a),c=v(i,a),l='Error linking program with vertex shader, "'+c[0].name+'", and fragment shader "'+u[0].name+'"';"undefined"!=typeof document?console.log("%c"+l+n+"%c"+s,"color:red;text-decoration:underline;font-weight:bold","color:red"):console.log(l+n+s),o.raise(l)}},callSite:g,saveCommandRef:y,saveDrawInfo:function(t,e,n,r){function i(t){return t?r.id(t):0}function o(t,e){Object.keys(e).forEach(function(e){t[r.id(e)]=!0})}y(t),t._fragId=i(t.static.frag),t._vertId=i(t.static.vert);var a=t._uniformSet={};o(a,e.static),o(a,e.dynamic);var s=t._attributeSet={};o(s,n.static),o(s,n.dynamic),t._hasCount="count"in t.static||"count"in t.dynamic||"elements"in t.static||"elements"in t.dynamic},framebufferFormat:function(t,e,n){t.texture?u(t.texture._texture.internalformat,e,"unsupported texture format for attachment"):u(t.renderbuffer._renderbuffer.format,n,"unsupported renderbuffer format for attachment")},guessCommand:p,texture2D:function(t,e,n){var r,i=e.width,a=e.height,s=e.channels;o(i>0&&i<=n.maxTextureSize&&a>0&&a<=n.maxTextureSize,"invalid texture shape"),(t.wrapS!==x||t.wrapT!==x)&&o(P(i)&&P(a),"incompatible wrap mode for texture, both width and height must be power of 2"),1===e.mipmask?1!==i&&1!==a&&o(t.minFilter!==_&&t.minFilter!==S&&t.minFilter!==E&&t.minFilter!==M,"min filter requires mipmap"):(o(P(i)&&P(a),"texture must be a square power of 2 to support mipmapping"),o(e.mipmask===(i<<1)-1,"missing or incomplete mipmap data")),e.type===O&&(n.extensions.indexOf("oes_texture_float_linear")<0&&o(t.minFilter===w&&t.magFilter===w,"filter not supported, must enable oes_texture_float_linear"),o(!t.genMipmaps,"mipmap generation not supported with float textures"));var u=e.images;for(r=0;r<16;++r)if(u[r]){var c=i>>r,l=a>>r;o(e.mipmask&1<0&&i<=r.maxTextureSize&&a>0&&a<=r.maxTextureSize,"invalid texture shape"),o(i===a,"cube map must be square"),o(e.wrapS===x&&e.wrapT===x,"wrap mode not supported by cube map");for(var u=0;u>f,p=a>>f;o(c.mipmask&1<1&&n===r&&('"'===n||"'"===n))return['"'+F(e.substr(1,e.length-2))+'"'];var i=/\[(false|true|null|\d+|'[^']*'|"[^"]*")\]/.exec(e);if(i)return t(e.substr(0,i.index)).concat(t(i[1])).concat(t(e.substr(i.index+i[0].length)));var o=e.split(".");if(1===o.length)return['"'+F(e)+'"'];for(var a=[],s=0;st(e,n+"["+r+"]"))):e instanceof G?e:void j(!1,"invalid option type in uniform "+n)},accessor:z},W={next:"function"==typeof requestAnimationFrame?function(t){return requestAnimationFrame(t)}:function(t){return setTimeout(t,16)},cancel:"function"==typeof cancelAnimationFrame?function(t){return cancelAnimationFrame(t)}:clearTimeout},V="undefined"!=typeof performance&&performance.now?function(){return performance.now()}:function(){return+new Date};function X(t){return"string"==typeof t?t.split():(j(Array.isArray(t),"invalid extension array"),t)}function Y(t){return"string"==typeof t?(j("undefined"!=typeof document,"not supported outside of DOM"),document.querySelector(t)):t}function H(t){var n,r,i,o,a=t||{},s={},u=[],c=[],l="undefined"==typeof window?1:window.devicePixelRatio,f=!1,h=function(t){t&&j.raise(t)},d=function(){};if("string"==typeof a?(j("undefined"!=typeof document,"selector queries only supported in DOM enviroments"),n=document.querySelector(a),j(n,"invalid query string for element")):"object"==typeof a?function(t){return"string"==typeof t.nodeName&&"function"==typeof t.appendChild&&"function"==typeof t.getBoundingClientRect}(a)?n=a:function(t){return"function"==typeof t.drawArrays||"function"==typeof t.drawElements}(a)?i=(o=a).canvas:(j.constructor(a),"gl"in a?o=a.gl:"canvas"in a?i=Y(a.canvas):"container"in a&&(r=Y(a.container)),"attributes"in a&&(s=a.attributes,j.type(s,"object","invalid context attributes")),"extensions"in a&&(u=X(a.extensions)),"optionalExtensions"in a&&(c=X(a.optionalExtensions)),"onDone"in a&&(j.type(a.onDone,"function","invalid or missing onDone callback"),h=a.onDone),"profile"in a&&(f=!!a.profile),"pixelRatio"in a&&(l=+a.pixelRatio,j(l>0,"invalid pixel ratio"))):j.raise("invalid arguments to regl"),n&&("canvas"===n.nodeName.toLowerCase()?i=n:r=n),!o){if(!i){j("undefined"!=typeof document,"must manually specify webgl context outside of DOM environments");var p=function(t,n,r){var i,o=document.createElement("canvas");function a(){var n=window.innerWidth,i=window.innerHeight;if(t!==document.body){var a=t.getBoundingClientRect();n=a.right-a.left,i=a.bottom-a.top}o.width=r*n,o.height=r*i,e(o.style,{width:n+"px",height:i+"px"})}return e(o.style,{border:0,margin:0,padding:0,top:0,left:0}),t.appendChild(o),t===document.body&&(o.style.position="absolute",e(t.style,{margin:0,padding:0})),t!==document.body&&"function"==typeof ResizeObserver?(i=new ResizeObserver(function(){setTimeout(a)})).observe(t):window.addEventListener("resize",a,!1),a(),{canvas:o,onDestroy:function(){i?i.disconnect():window.removeEventListener("resize",a),t.removeChild(o)}}}(r||document.body,0,l);if(!p)return null;i=p.canvas,d=p.onDestroy}void 0===s.premultipliedAlpha&&(s.premultipliedAlpha=!0),o=function(t,e){function n(n){try{return t.getContext(n,e)}catch(t){return null}}return n("webgl")||n("experimental-webgl")||n("webgl-experimental")}(i,s)}return o?{gl:o,canvas:i,container:r,extensions:u,optionalExtensions:c,pixelRatio:l,profile:f,onDone:h,onDestroy:d}:(d(),h("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function q(t,e){for(var n=Array(t),r=0;r65535)<<4,e|=n=((t>>>=e)>255)<<3,e|=n=((t>>>=n)>15)<<2,(e|=n=((t>>>=n)>3)<<1)|(t>>>=n)>>1}function rt(){var t=q(8,function(){return[]});function e(e){var n=function(t){for(var e=16;e<=1<<28;e*=16)if(t<=e)return e;return 0}(e),r=t[nt(n)>>2];return r.length>0?r.pop():new ArrayBuffer(n)}function n(e){t[nt(e.byteLength)>>2].push(e)}return{alloc:e,free:n,allocType:function(t,n){var r=null;switch(t){case K:r=new Int8Array(e(n),0,n);break;case Z:r=new Uint8Array(e(n),0,n);break;case Q:r=new Int16Array(e(2*n),0,n);break;case J:r=new Uint16Array(e(2*n),0,n);break;case $:r=new Int32Array(e(4*n),0,n);break;case tt:r=new Uint32Array(e(4*n),0,n);break;case et:r=new Float32Array(e(4*n),0,n);break;default:return null}return r.length!==n?r.subarray(0,n):r},freeType:function(t){n(t.buffer)}}}var it=rt();it.zero=rt();var ot=function(t,e){var n=1;e.ext_texture_filter_anisotropic&&(n=t.getParameter(34047));var r=1,i=1;e.webgl_draw_buffers&&(r=t.getParameter(34852),i=t.getParameter(36063));var o=!!e.oes_texture_float;if(o){var a=t.createTexture();t.bindTexture(3553,a),t.texImage2D(3553,0,6408,1,1,0,6408,5126,null);var s=t.createFramebuffer();if(t.bindFramebuffer(36160,s),t.framebufferTexture2D(36160,36064,3553,a,0),t.bindTexture(3553,null),36053!==t.checkFramebufferStatus(36160))o=!1;else{t.viewport(0,0,1,1),t.clearColor(1,0,0,1),t.clear(16384);var u=it.allocType(5126,4);t.readPixels(0,0,1,1,6408,5126,u),t.getError()?o=!1:(t.deleteFramebuffer(s),t.deleteTexture(a),o=1===u[0]),it.freeType(u)}}var c="undefined"!=typeof navigator&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent)),l=!0;if(!c){var f=t.createTexture(),h=it.allocType(5121,36);t.activeTexture(33984),t.bindTexture(34067,f),t.texImage2D(34069,0,6408,3,3,0,6408,5121,h),it.freeType(h),t.bindTexture(34067,null),t.deleteTexture(f),l=!t.getError()}return{colorBits:[t.getParameter(3410),t.getParameter(3411),t.getParameter(3412),t.getParameter(3413)],depthBits:t.getParameter(3414),stencilBits:t.getParameter(3415),subpixelBits:t.getParameter(3408),extensions:Object.keys(e).filter(function(t){return!!e[t]}),maxAnisotropic:n,maxDrawbuffers:r,maxColorAttachments:i,pointSizeDims:t.getParameter(33901),lineWidthDims:t.getParameter(33902),maxViewportDims:t.getParameter(3386),maxCombinedTextureUnits:t.getParameter(35661),maxCubeMapSize:t.getParameter(34076),maxRenderbufferSize:t.getParameter(34024),maxTextureUnits:t.getParameter(34930),maxTextureSize:t.getParameter(3379),maxAttributes:t.getParameter(34921),maxVertexUniforms:t.getParameter(36347),maxVertexTextureUnits:t.getParameter(35660),maxVaryingVectors:t.getParameter(36348),maxFragmentUniforms:t.getParameter(36349),glsl:t.getParameter(35724),renderer:t.getParameter(7937),vendor:t.getParameter(7936),version:t.getParameter(7938),readFloat:o,npotTextureCube:l}};function at(e){return!!e&&"object"==typeof e&&Array.isArray(e.shape)&&Array.isArray(e.stride)&&"number"==typeof e.offset&&e.shape.length===e.stride.length&&(Array.isArray(e.data)||t(e.data))}var st=function(t){return Object.keys(t).map(function(e){return t[e]})},ut={shape:function(t){for(var e=[],n=t;n.length;n=n[0])e.push(n.length);return e},flatten:function(t,e,n,r){var i=1;if(e.length)for(var o=0;o>>31<<15,o=(r<<1>>>24)-127,a=r>>13&1023;if(o<-24)e[n]=i;else if(o<-14){var s=-14-o;e[n]=i+(a+1024>>s)}else e[n]=o>15?i+31744:i+(o+15<<10)+a}return e}function Ft(e){return Array.isArray(e)||t(e)}var zt=function(t){return!(t&t-1||!t)},Ut=34467,Wt=3553,Vt=34067,Xt=34069,Yt=6408,Ht=6406,qt=6407,Kt=6409,Zt=6410,Qt=32854,Jt=32855,$t=36194,te=32819,ee=32820,ne=33635,re=34042,ie=6402,oe=34041,ae=35904,se=35906,ue=36193,ce=33776,le=33777,fe=33778,he=33779,de=35986,pe=35987,ge=34798,ve=35840,ye=35841,me=35842,be=35843,xe=36196,we=5121,_e=5123,Ee=5125,Se=5126,Me=10242,Oe=10243,ke=10497,Ae=33071,Ce=33648,Ie=10240,Te=10241,Ne=9728,Pe=9729,je=9984,De=9985,Le=9986,Re=9987,Be=33170,Ge=4352,Fe=4353,ze=4354,Ue=34046,We=3317,Ve=37440,Xe=37441,Ye=37443,He=37444,qe=33984,Ke=[je,Le,De,Re],Ze=[0,Kt,Zt,qt,Yt],Qe={};function Je(t){return"[object "+t+"]"}Qe[Kt]=Qe[Ht]=Qe[ie]=1,Qe[oe]=Qe[Zt]=2,Qe[qt]=Qe[ae]=3,Qe[Yt]=Qe[se]=4;var $e=Je("HTMLCanvasElement"),tn=Je("OffscreenCanvas"),en=Je("CanvasRenderingContext2D"),nn=Je("ImageBitmap"),rn=Je("HTMLImageElement"),on=Je("HTMLVideoElement"),an=Object.keys(lt).concat([$e,tn,en,nn,rn,on]),sn=[];sn[we]=1,sn[Se]=4,sn[ue]=2,sn[_e]=2,sn[Ee]=4;var un=[];function cn(t){return Array.isArray(t)&&(0===t.length||"number"==typeof t[0])}function ln(t){if(!Array.isArray(t))return!1;var e=t.length;return!(0===e||!Ft(t[0]))}function fn(t){return Object.prototype.toString.call(t)}function hn(t){return fn(t)===$e}function dn(t){return fn(t)===tn}function pn(t){if(!t)return!1;var e=fn(t);return an.indexOf(e)>=0||cn(t)||ln(t)||at(t)}function gn(t){return 0|lt[Object.prototype.toString.call(t)]}function vn(t,e){return it.allocType(t.type===ue?Se:t.type,e)}function yn(t,e){t.type===ue?(t.data=Gt(e),it.freeType(e)):t.data=e}function mn(t,e,n,r,i,o){var a;if(a=void 0!==un[t]?un[t]:Qe[t]*sn[e],o&&(a*=6),i){for(var s=0,u=n;u>=1;)s+=a*u*u,u/=2;return s}return a*n*r}function bn(n,r,i,o,a,s,u){var c={"don't care":Ge,"dont care":Ge,nice:ze,fast:Fe},l={repeat:ke,clamp:Ae,mirror:Ce},f={nearest:Ne,linear:Pe},h=e({mipmap:Re,"nearest mipmap nearest":je,"linear mipmap nearest":De,"nearest mipmap linear":Le,"linear mipmap linear":Re},f),d={none:0,browser:He},p={uint8:we,rgba4:te,rgb565:ne,"rgb5 a1":ee},g={alpha:Ht,luminance:Kt,"luminance alpha":Zt,rgb:qt,rgba:Yt,rgba4:Qt,"rgb5 a1":Jt,rgb565:$t},v={};r.ext_srgb&&(g.srgb=ae,g.srgba=se),r.oes_texture_float&&(p.float32=p.float=Se),r.oes_texture_half_float&&(p.float16=p["half float"]=ue),r.webgl_depth_texture&&(e(g,{depth:ie,"depth stencil":oe}),e(p,{uint16:_e,uint32:Ee,"depth stencil":re})),r.webgl_compressed_texture_s3tc&&e(v,{"rgb s3tc dxt1":ce,"rgba s3tc dxt1":le,"rgba s3tc dxt3":fe,"rgba s3tc dxt5":he}),r.webgl_compressed_texture_atc&&e(v,{"rgb atc":de,"rgba atc explicit alpha":pe,"rgba atc interpolated alpha":ge}),r.webgl_compressed_texture_pvrtc&&e(v,{"rgb pvrtc 4bppv1":ve,"rgb pvrtc 2bppv1":ye,"rgba pvrtc 4bppv1":me,"rgba pvrtc 2bppv1":be}),r.webgl_compressed_texture_etc1&&(v["rgb etc1"]=xe);var y=Array.prototype.slice.call(n.getParameter(Ut));Object.keys(v).forEach(function(t){var e=v[t];y.indexOf(e)>=0&&(g[t]=e)});var m=Object.keys(g);i.textureFormats=m;var b=[];Object.keys(g).forEach(function(t){var e=g[t];b[e]=t});var x=[];Object.keys(p).forEach(function(t){var e=p[t];x[e]=t});var w=[];Object.keys(f).forEach(function(t){var e=f[t];w[e]=t});var _=[];Object.keys(h).forEach(function(t){var e=h[t];_[e]=t});var E=[];Object.keys(l).forEach(function(t){var e=l[t];E[e]=t});var S=m.reduce(function(t,e){var n=g[e];return n===Kt||n===Ht||n===Kt||n===Zt||n===ie||n===oe||r.ext_srgb&&(n===ae||n===se)?t[n]=n:n===Jt||e.indexOf("rgba")>=0?t[n]=Yt:t[n]=qt,t},{});function M(){this.internalformat=Yt,this.format=Yt,this.type=we,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=He,this.width=0,this.height=0,this.channels=0}function O(t,e){t.internalformat=e.internalformat,t.format=e.format,t.type=e.type,t.compressed=e.compressed,t.premultiplyAlpha=e.premultiplyAlpha,t.flipY=e.flipY,t.unpackAlignment=e.unpackAlignment,t.colorSpace=e.colorSpace,t.width=e.width,t.height=e.height,t.channels=e.channels}function k(t,e){if("object"==typeof e&&e){if("premultiplyAlpha"in e&&(j.type(e.premultiplyAlpha,"boolean","invalid premultiplyAlpha"),t.premultiplyAlpha=e.premultiplyAlpha),"flipY"in e&&(j.type(e.flipY,"boolean","invalid texture flip"),t.flipY=e.flipY),"alignment"in e&&(j.oneOf(e.alignment,[1,2,4,8],"invalid texture unpack alignment"),t.unpackAlignment=e.alignment),"colorSpace"in e&&(j.parameter(e.colorSpace,d,"invalid colorSpace"),t.colorSpace=d[e.colorSpace]),"type"in e){var n=e.type;j(r.oes_texture_float||!("float"===n||"float32"===n),"you must enable the OES_texture_float extension in order to use floating point textures."),j(r.oes_texture_half_float||!("half float"===n||"float16"===n),"you must enable the OES_texture_half_float extension in order to use 16-bit floating point textures."),j(r.webgl_depth_texture||!("uint16"===n||"uint32"===n||"depth stencil"===n),"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures."),j.parameter(n,p,"invalid texture type"),t.type=p[n]}var o=t.width,a=t.height,s=t.channels,u=!1;"shape"in e?(j(Array.isArray(e.shape)&&e.shape.length>=2,"shape must be an array"),o=e.shape[0],a=e.shape[1],3===e.shape.length&&(s=e.shape[2],j(s>0&&s<=4,"invalid number of channels"),u=!0),j(o>=0&&o<=i.maxTextureSize,"invalid width"),j(a>=0&&a<=i.maxTextureSize,"invalid height")):("radius"in e&&(o=a=e.radius,j(o>=0&&o<=i.maxTextureSize,"invalid radius")),"width"in e&&(o=e.width,j(o>=0&&o<=i.maxTextureSize,"invalid width")),"height"in e&&(a=e.height,j(a>=0&&a<=i.maxTextureSize,"invalid height")),"channels"in e&&(s=e.channels,j(s>0&&s<=4,"invalid number of channels"),u=!0)),t.width=0|o,t.height=0|a,t.channels=0|s;var c=!1;if("format"in e){var l=e.format;j(r.webgl_depth_texture||!("depth"===l||"depth stencil"===l),"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures."),j.parameter(l,g,"invalid texture format");var f=t.internalformat=g[l];t.format=S[f],l in p&&("type"in e||(t.type=p[l])),l in v&&(t.compressed=!0),c=!0}!u&&c?t.channels=Qe[t.format]:u&&!c?t.channels!==Ze[t.format]&&(t.format=t.internalformat=Ze[t.channels]):c&&u&&j(t.channels===Qe[t.format],"number of channels inconsistent with specified format")}}function A(t){n.pixelStorei(Ve,t.flipY),n.pixelStorei(Xe,t.premultiplyAlpha),n.pixelStorei(Ye,t.colorSpace),n.pixelStorei(We,t.unpackAlignment)}function C(){M.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function I(e,n){var r=null;if(pn(n)?r=n:n&&(j.type(n,"object","invalid pixel data type"),k(e,n),"x"in n&&(e.xOffset=0|n.x),"y"in n&&(e.yOffset=0|n.y),pn(n.data)&&(r=n.data)),j(!e.compressed||r instanceof Uint8Array,"compressed texture data must be stored in a uint8array"),n.copy){j(!r,"can not specify copy and data field for the same texture");var o=a.viewportWidth,s=a.viewportHeight;e.width=e.width||o-e.xOffset,e.height=e.height||s-e.yOffset,e.needsCopy=!0,j(e.xOffset>=0&&e.xOffset=0&&e.yOffset0&&e.width<=o&&e.height>0&&e.height<=s,"copy texture read out of bounds")}else if(r){if(t(r))e.channels=e.channels||4,e.data=r,"type"in n||e.type!==we||(e.type=gn(r));else if(cn(r))e.channels=e.channels||4,function(t,e){var n=e.length;switch(t.type){case we:case _e:case Ee:case Se:var r=it.allocType(t.type,n);r.set(e),t.data=r;break;case ue:t.data=Gt(e);break;default:j.raise("unsupported texture type, must specify a typed array")}}(e,r),e.alignment=1,e.needsFree=!0;else if(at(r)){var u=r.data;Array.isArray(u)||e.type!==we||(e.type=gn(u));var c,l,f,h,d,p,g=r.shape,v=r.stride;3===g.length?(f=g[2],p=v[2]):(j(2===g.length,"invalid ndarray pixel data, must be 2 or 3D"),f=1,p=1),c=g[0],l=g[1],h=v[0],d=v[1],e.alignment=1,e.width=c,e.height=l,e.channels=f,e.format=e.internalformat=Ze[f],e.needsFree=!0,function(t,e,n,r,i,o){for(var a=t.width,s=t.height,u=t.channels,c=vn(t,a*s*u),l=0,f=0;f=0,"oes_texture_float extension not enabled"):e.type===ue&&j(i.extensions.indexOf("oes_texture_half_float")>=0,"oes_texture_half_float extension not enabled")}function T(t,e,r){var i=t.element,a=t.data,s=t.internalformat,u=t.format,c=t.type,l=t.width,f=t.height;A(t),i?n.texImage2D(e,r,u,u,c,i):t.compressed?n.compressedTexImage2D(e,r,s,l,f,0,a):t.needsCopy?(o(),n.copyTexImage2D(e,r,u,t.xOffset,t.yOffset,l,f,0)):n.texImage2D(e,r,u,l,f,0,u,c,a||null)}function N(t,e,r,i,a){var s=t.element,u=t.data,c=t.internalformat,l=t.format,f=t.type,h=t.width,d=t.height;A(t),s?n.texSubImage2D(e,a,r,i,l,f,s):t.compressed?n.compressedTexSubImage2D(e,a,r,i,c,h,d,u):t.needsCopy?(o(),n.copyTexSubImage2D(e,a,r,i,t.xOffset,t.yOffset,h,d)):n.texSubImage2D(e,a,r,i,h,d,l,f,u)}var P=[];function D(){return P.pop()||new C}function L(t){t.needsFree&&it.freeType(t.data),C.call(t),P.push(t)}function R(t,e,n){var r=t.images[0]=D();t.mipmask=1,r.width=t.width=e,r.height=t.height=n,r.channels=t.channels=4}function B(t,e){var n=null;if(pn(e))O(n=t.images[0]=D(),t),I(n,e),t.mipmask=1;else if(k(t,e),Array.isArray(e.mipmap))for(var r=e.mipmap,i=0;i>=i,n.height>>=i,I(n,r[i]),t.mipmask|=1<=0&&!("faces"in e)&&(t.genMipmaps=!0)}if("mag"in e){var r=e.mag;j.parameter(r,f),t.magFilter=f[r]}var o=t.wrapS,a=t.wrapT;if("wrap"in e){var s=e.wrap;"string"==typeof s?(j.parameter(s,l),o=a=l[s]):Array.isArray(s)&&(j.parameter(s[0],l),j.parameter(s[1],l),o=l[s[0]],a=l[s[1]])}else{if("wrapS"in e){var u=e.wrapS;j.parameter(u,l),o=l[u]}if("wrapT"in e){var d=e.wrapT;j.parameter(d,l),a=l[d]}}if(t.wrapS=o,t.wrapT=a,"anisotropic"in e){var p=e.anisotropic;j("number"==typeof p&&p>=1&&p<=i.maxAnisotropic,"aniso samples must be between 1 and "),t.anisotropic=e.anisotropic}if("mipmap"in e){var g=!1;switch(typeof e.mipmap){case"string":j.parameter(e.mipmap,c,"invalid mipmap hint"),t.mipmapHint=c[e.mipmap],t.genMipmaps=!0,g=!0;break;case"boolean":g=t.genMipmaps=e.mipmap;break;case"object":j(Array.isArray(e.mipmap),"invalid mipmap type"),t.genMipmaps=!1,g=!0;break;default:j.raise("invalid mipmap type")}!g||"min"in e||(t.minFilter=je)}}function X(t,e){n.texParameteri(e,Te,t.minFilter),n.texParameteri(e,Ie,t.magFilter),n.texParameteri(e,Me,t.wrapS),n.texParameteri(e,Oe,t.wrapT),r.ext_texture_filter_anisotropic&&n.texParameteri(e,Ue,t.anisotropic),t.genMipmaps&&(n.hint(Be,t.mipmapHint),n.generateMipmap(e))}var Y=0,H={},q=i.maxTextureUnits,K=Array(q).map(function(){return null});function Z(t){M.call(this),this.mipmask=0,this.internalformat=Yt,this.id=Y++,this.refCount=1,this.target=t,this.texture=n.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new W,u.profile&&(this.stats={size:0})}function Q(t){n.activeTexture(qe),n.bindTexture(t.target,t.texture)}function J(){var t=K[0];t?n.bindTexture(t.target,t.texture):n.bindTexture(Wt,null)}function $(t){var e=t.texture;j(e,"must not double destroy texture");var r=t.unit,i=t.target;r>=0&&(n.activeTexture(qe+r),n.bindTexture(i,null),K[r]=null),n.deleteTexture(e),t.texture=null,t.params=null,t.pixels=null,t.refCount=0,delete H[t.id],s.textureCount--}return e(Z.prototype,{bind:function(){this.bindCount+=1;var t=this.unit;if(t<0){for(var e=0;e0)continue;r.unit=-1}K[e]=this,t=e;break}t>=q&&j.raise("insufficient number of texture units"),u.profile&&s.maxTextureUnits>u)-a,c.height=c.height||(r.height>>u)-s,j(r.type===c.type&&r.format===c.format&&r.internalformat===c.internalformat,"incompatible format for texture.subimage"),j(a>=0&&s>=0&&a+c.width<=r.width&&s+c.height<=r.height,"texture.subimage write out of bounds"),j(r.mipmask&1<>s;++s){var c=i>>s,l=a>>s;if(!c||!l)break;n.texImage2D(Wt,s,r.format,c,l,0,r.format,r.type,null)}return J(),u.profile&&(r.stats.size=mn(r.internalformat,r.type,i,a,!1,!1)),o},o._reglType="texture2d",o._texture=r,u.profile&&(o.stats=r.stats),o.destroy=function(){r.decRef()},o},createCube:function(t,e,r,o,a,c){var l=new Z(Vt);H[l.id]=l,s.cubeCount++;var f=new Array(6);function h(t,e,n,r,o,a){var s,c=l.texInfo;for(W.call(c),s=0;s<6;++s)f[s]=z();if("number"!=typeof t&&t)if("object"==typeof t)if(e)B(f[0],t),B(f[1],e),B(f[2],n),B(f[3],r),B(f[4],o),B(f[5],a);else if(V(c,t),k(l,t),"faces"in t){var d=t.faces;for(j(Array.isArray(d)&&6===d.length,"cube faces must be a length 6 array"),s=0;s<6;++s)j("object"==typeof d[s]&&!!d[s],"invalid input for cube map face"),O(f[s],l),B(f[s],d[s])}else for(s=0;s<6;++s)B(f[s],t);else j.raise("invalid arguments to cube map");else{var p=0|t||1;for(s=0;s<6;++s)R(f[s],p,p)}for(O(l,f[0]),i.npotTextureCube||j(zt(l.width)&&zt(l.height),"your browser does not support non power or two texture dimensions"),c.genMipmaps?l.mipmask=(f[0].width<<1)-1:l.mipmask=f[0].mipmask,j.textureCube(l,c,f,i),l.internalformat=f[0].internalformat,h.width=f[0].width,h.height=f[0].height,Q(l),s=0;s<6;++s)G(f[s],Xt+s);for(X(c,Vt),J(),u.profile&&(l.stats.size=mn(l.internalformat,l.type,h.width,h.height,c.genMipmaps,!0)),h.format=b[l.internalformat],h.type=x[l.type],h.mag=w[c.magFilter],h.min=_[c.minFilter],h.wrapS=E[c.wrapS],h.wrapT=E[c.wrapT],s=0;s<6;++s)U(f[s]);return h}return h(t,e,r,o,a,c),h.subimage=function(t,e,n,r,i){j(!!e,"must specify image data"),j("number"==typeof t&&t===(0|t)&&t>=0&&t<6,"invalid face");var o=0|n,a=0|r,s=0|i,u=D();return O(u,l),u.width=0,u.height=0,I(u,e),u.width=u.width||(l.width>>s)-o,u.height=u.height||(l.height>>s)-a,j(l.type===u.type&&l.format===u.format&&l.internalformat===u.internalformat,"incompatible format for texture.subimage"),j(o>=0&&a>=0&&o+u.width<=l.width&&a+u.height<=l.height,"texture.subimage write out of bounds"),j(l.mipmask&1<>i;++i)n.texImage2D(Xt+r,i,l.format,e>>i,e>>i,0,l.format,l.type,null);return J(),u.profile&&(l.stats.size=mn(l.internalformat,l.type,h.width,h.height,!1,!0)),h}},h._reglType="textureCube",h._texture=l,u.profile&&(h.stats=l.stats),h.destroy=function(){l.decRef()},h},clear:function(){for(var t=0;t>e,t.height>>e,0,t.internalformat,t.type,null);else for(var r=0;r<6;++r)n.texImage2D(Xt+r,e,t.internalformat,t.width>>e,t.height>>e,0,t.internalformat,t.type,null);X(t.texInfo,t.target)})},refresh:function(){for(var t=0;t=2,"invalid renderbuffer shape"),s=0|d[0],u=0|d[1]}else"radius"in h&&(s=u=0|h.radius),"width"in h&&(s=0|h.width),"height"in h&&(u=0|h.height);"format"in h&&(j.parameter(h.format,o,"invalid renderbuffer format"),c=o[h.format])}else"number"==typeof e?(s=0|e,u="number"==typeof r?0|r:s):e?j.raise("invalid arguments to renderbuffer constructor"):s=u=1;if(j(s>0&&u>0&&s<=n.maxRenderbufferSize&&u<=n.maxRenderbufferSize,"invalid renderbuffer size"),s!==l.width||u!==l.height||c!==l.format)return f.width=l.width=s,f.height=l.height=u,l.format=c,t.bindRenderbuffer(xn,l.renderbuffer),t.renderbufferStorage(xn,c,s,u),j(0===t.getError(),"invalid render buffer format"),i.profile&&(l.stats.size=En(l.format,l.width,l.height)),f.format=a[l.format],f}return u[l.id]=l,r.renderbufferCount++,f(e,s),f.resize=function(e,r){var o=0|e,a=0|r||o;return o===l.width&&a===l.height?f:(j(o>0&&a>0&&o<=n.maxRenderbufferSize&&a<=n.maxRenderbufferSize,"invalid renderbuffer size"),f.width=l.width=o,f.height=l.height=a,t.bindRenderbuffer(xn,l.renderbuffer),t.renderbufferStorage(xn,l.format,o,a),j(0===t.getError(),"invalid render buffer format"),i.profile&&(l.stats.size=En(l.format,l.width,l.height)),f)},f._reglType="renderbuffer",f._renderbuffer=l,i.profile&&(f.stats=l.stats),f.destroy=function(){l.decRef()},f},clear:function(){st(u).forEach(l)},restore:function(){st(u).forEach(function(e){e.renderbuffer=t.createRenderbuffer(),t.bindRenderbuffer(xn,e.renderbuffer),t.renderbufferStorage(xn,e.format,e.width,e.height)}),t.bindRenderbuffer(xn,null)}}},Mn=36160,On=36161,kn=3553,An=34069,Cn=36064,In=36096,Tn=36128,Nn=33306,Pn=36053,jn=6402,Dn=[6407,6408],Ln=[];Ln[6408]=4,Ln[6407]=3;var Rn=[];Rn[5121]=1,Rn[5126]=4,Rn[36193]=2;var Bn=33189,Gn=36168,Fn=34041,zn=[32854,32855,36194,35907,34842,34843,34836],Un={};Un[Pn]="complete",Un[36054]="incomplete attachment",Un[36057]="incomplete dimensions",Un[36055]="incomplete, missing attachment",Un[36061]="unsupported";var Wn=5126,Vn=34962;function Xn(){this.state=0,this.x=0,this.y=0,this.z=0,this.w=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=Wn,this.offset=0,this.stride=0,this.divisor=0}var Yn=35632,Hn=35633,qn=35718,Kn=35721;function Zn(t,n,r,i){var o={},a={};function s(t,e,n,r){this.name=t,this.id=e,this.location=n,this.info=r}function u(t,e){for(var n=0;n1)for(var y=0;yt&&(t=e.stats.uniformsCount)}),t},r.getMaxAttributesCount=function(){var t=0;return f.forEach(function(e){e.stats.attributesCount>t&&(t=e.stats.attributesCount)}),t}),{clear:function(){var e=t.deleteShader.bind(t);st(o).forEach(e),o={},st(a).forEach(e),a={},f.forEach(function(e){t.deleteProgram(e.program)}),f.length=0,l={},r.shaderCount=0},program:function(n,s,u,c){j.command(n>=0,"missing vertex shader",u),j.command(s>=0,"missing fragment shader",u);var p=l[s];p||(p=l[s]={});var g=p[n];if(g&&(g.refCount++,!c))return g;var v=new function(t,e){this.id=h++,this.fragId=t,this.vertId=e,this.program=null,this.uniforms=[],this.attributes=[],this.refCount=1,i.profile&&(this.stats={uniformsCount:0,attributesCount:0})}(s,n);return r.shaderCount++,d(v,u,c),g||(p[n]=v),f.push(v),e(v,{destroy:function(){if(v.refCount--,v.refCount<=0){t.deleteProgram(v.program);var e=f.indexOf(v);f.splice(e,1),r.shaderCount--}p[v.vertId].refCount<=0&&(t.deleteShader(a[v.vertId]),delete a[v.vertId],delete l[v.fragId][v.vertId]),Object.keys(l[v.fragId]).length||(t.deleteShader(o[v.fragId]),delete o[v.fragId],delete l[v.fragId])}})},restore:function(){o={},a={};for(var t=0;t=0&&l=0&&f0&&h+l<=i.framebufferWidth,"invalid width for read pixels"),j(d>0&&d+f<=i.framebufferHeight,"invalid height for read pixels"),r();var g=h*d*4;return p||(c===Jn?p=new Uint8Array(g):c===tr&&(p=p||new Float32Array(g))),j.isTypedArray(p,"data buffer for regl.read() must be a typedarray"),j(p.byteLength>=g,"data buffer for regl.read() too small"),e.pixelStorei($n,4),e.readPixels(l,f,h,d,Qn,c,p),p}return function(t){return t&&"framebuffer"in t?function(t){var e;return n.setFBO({framebuffer:t.framebuffer},function(){e=u(t)}),e}(t):u(t)}}function nr(t){return Array.prototype.slice.call(t)}function rr(t){return nr(t).join("")}var ir="xyzw".split(""),or=5121,ar=1,sr=2,ur=0,cr=1,lr=2,fr=3,hr=4,dr=5,pr=6,gr="dither",vr="blend.enable",yr="blend.color",mr="blend.equation",br="blend.func",xr="depth.enable",wr="depth.func",_r="depth.range",Er="depth.mask",Sr="colorMask",Mr="cull.enable",Or="cull.face",kr="frontFace",Ar="lineWidth",Cr="polygonOffset.enable",Ir="polygonOffset.offset",Tr="sample.alpha",Nr="sample.enable",Pr="sample.coverage",jr="stencil.enable",Dr="stencil.mask",Lr="stencil.func",Rr="stencil.opFront",Br="stencil.opBack",Gr="scissor.enable",Fr="scissor.box",zr="viewport",Ur="profile",Wr="framebuffer",Vr="vert",Xr="frag",Yr="elements",Hr="primitive",qr="count",Kr="offset",Zr="instances",Qr="vao",Jr=Wr+"Width",$r=Wr+"Height",ti=zr+"Width",ei=zr+"Height",ni="drawingBufferWidth",ri="drawingBufferHeight",ii=[br,mr,Lr,Rr,Br,Pr,zr,Fr,Ir],oi=34962,ai=34963,si=3553,ui=34067,ci=2884,li=3042,fi=3024,hi=2960,di=2929,pi=3089,gi=32823,vi=32926,yi=32928,mi=5126,bi=35664,xi=35665,wi=35666,_i=5124,Ei=35667,Si=35668,Mi=35669,Oi=35670,ki=35671,Ai=35672,Ci=35673,Ii=35674,Ti=35675,Ni=35676,Pi=35678,ji=35680,Di=4,Li=1028,Ri=1029,Bi=2304,Gi=2305,Fi=32775,zi=32776,Ui=519,Wi=7680,Vi=0,Xi=1,Yi=32774,Hi=513,qi=36160,Ki=36064,Zi={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},Qi=["constant color, constant alpha","one minus constant color, constant alpha","constant color, one minus constant alpha","one minus constant color, one minus constant alpha","constant alpha, constant color","constant alpha, one minus constant color","one minus constant alpha, constant color","one minus constant alpha, one minus constant color"],Ji={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},$i={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},to={frag:35632,vert:35633},eo={cw:Bi,ccw:Gi};function no(e){return Array.isArray(e)||t(e)||at(e)}function ro(t){return t.sort(function(t,e){return t===zr?-1:e===zr?1:t=1,r>=2,e)}if(n===hr){var i=t.data;return new io(i.thisDep,i.contextDep,i.propDep,e)}if(n===dr)return new io(!1,!1,!1,e);if(n===pr){for(var o=!1,a=!1,s=!1,u=0;u=1&&(a=!0),l>=2&&(s=!0)}else c.type===hr&&(o=o||c.data.thisDep,a=a||c.data.contextDep,s=s||c.data.propDep)}return new io(o,a,s,e)}return new io(n===fr,n===lr,n===cr,e)}var uo=new io(!1,!1,!1,function(){});function co(t,n,r,i,o,a,s,u,c,l,f,h,d,p,g){var v=l.Record,y={add:32774,subtract:32778,"reverse subtract":32779};r.ext_blend_minmax&&(y.min=Fi,y.max=zi);var m=r.angle_instanced_arrays,b=r.webgl_draw_buffers,x={dirty:!0,profile:g.profile},w={},_=[],E={},S={};function M(t){return t.replace(".","_")}function O(t,e,n){var r=M(t);_.push(t),w[r]=x[r]=!!n,E[r]=e}function k(t,e,n){var r=M(t);_.push(t),Array.isArray(n)?(x[r]=n.slice(),w[r]=n.slice()):x[r]=w[r]=n,S[r]=e}O(gr,fi),O(vr,li),k(yr,"blendColor",[0,0,0,0]),k(mr,"blendEquationSeparate",[Yi,Yi]),k(br,"blendFuncSeparate",[Xi,Vi,Xi,Vi]),O(xr,di,!0),k(wr,"depthFunc",Hi),k(_r,"depthRange",[0,1]),k(Er,"depthMask",!0),k(Sr,Sr,[!0,!0,!0,!0]),O(Mr,ci),k(Or,"cullFace",Ri),k(kr,kr,Gi),k(Ar,Ar,1),O(Cr,gi),k(Ir,"polygonOffset",[0,0]),O(Tr,vi),O(Nr,yi),k(Pr,"sampleCoverage",[1,!1]),O(jr,hi),k(Dr,"stencilMask",-1),k(Lr,"stencilFunc",[Ui,0,-1]),k(Rr,"stencilOpSeparate",[Li,Wi,Wi,Wi]),k(Br,"stencilOpSeparate",[Ri,Wi,Wi,Wi]),O(Gr,pi),k(Fr,"scissor",[0,0,t.drawingBufferWidth,t.drawingBufferHeight]),k(zr,zr,[0,0,t.drawingBufferWidth,t.drawingBufferHeight]);var A={gl:t,context:d,strings:n,next:w,current:x,draw:h,elements:a,buffer:o,shader:f,attributes:l.state,vao:l,uniforms:c,framebuffer:u,extensions:r,timer:p,isBufferArgs:no},C={primTypes:Et,compareFuncs:Ji,blendFuncs:Zi,blendEquations:y,stencilOps:$i,glTypes:ft,orientationType:eo};j.optional(function(){A.isArrayLike=Ft}),b&&(C.backBuffer=[Ri],C.drawBuffer=q(i.maxDrawbuffers,function(t){return 0===t?[0]:q(t,function(t){return Ki+t})}));var I=0;function T(){var t=function(){var t=0,n=[],r=[];function i(){var n=[],r=[];return e(function(){n.push.apply(n,nr(arguments))},{def:function(){var e="v"+t++;return r.push(e),arguments.length>0&&(n.push(e,"="),n.push.apply(n,nr(arguments)),n.push(";")),e},toString:function(){return rr([r.length>0?"var "+r.join(",")+";":"",rr(n)])}})}function o(){var t=i(),n=i(),r=t.toString,o=n.toString;function a(e,r){n(e,r,"=",t.def(e,r),";")}return e(function(){t.apply(t,nr(arguments))},{def:t.def,entry:t,exit:n,save:a,set:function(e,n,r){a(e,n),t(e,n,"=",r,";")},toString:function(){return r()+o()}})}var a=i(),s={};return{global:a,link:function(e){for(var i=0;i=0,'unknown parameter "'+e+'"',h.commandStr)})}e(d),e(p)});var g=function(t,e){var n=t.static;if("string"==typeof n[Xr]&&"string"==typeof n[Vr]){if(Object.keys(e.dynamic).length>0)return null;var r=e.static,i=Object.keys(r);if(i.length>0&&"number"==typeof r[i[0]]){for(var o=[],a=0;a=0,"invalid "+t,n.commandStr)):u=!1,"height"in o?(s=0|o.height,j.command(s>=0,"invalid "+t,n.commandStr)):u=!1,new io(!u&&e&&e.thisDep,!u&&e&&e.contextDep,!u&&e&&e.propDep,function(t,e){var n=t.shared.context,r=a;"width"in o||(r=e.def(n,".",Jr,"-",c));var i=s;return"height"in o||(i=e.def(n,".",$r,"-",l)),[c,l,r,i]})}if(t in i){var f=i[t],h=so(f,function(e,n){var r=e.invoke(n,f);j.optional(function(){e.assert(n,r+"&&typeof "+r+'==="object"',"invalid "+t)});var i=e.shared.context,o=n.def(r,".x|0"),a=n.def(r,".y|0"),s=n.def('"width" in ',r,"?",r,".width|0:","(",i,".",Jr,"-",o,")"),u=n.def('"height" in ',r,"?",r,".height|0:","(",i,".",$r,"-",a,")");return j.optional(function(){e.assert(n,s+">=0&&"+u+">=0","invalid "+t)}),[o,a,s,u]});return e&&(h.thisDep=h.thisDep||e.thisDep,h.contextDep=h.contextDep||e.contextDep,h.propDep=h.propDep||e.propDep),h}return e?new io(e.thisDep,e.contextDep,e.propDep,function(t,e){var n=t.shared.context;return[0,0,e.def(n,".",Jr),e.def(n,".",$r)]}):null}var a=o(zr);if(a){var s=a;a=new io(a.thisDep,a.contextDep,a.propDep,function(t,e){var n=s.append(t,e),r=t.shared.context;return e.set(r,"."+ti,n[2]),e.set(r,"."+ei,n[3]),n})}return{viewport:a,scissor_box:o(Fr)}}(t,b,h),w=function(t,e){var n=t.static,r=t.dynamic,i=function(){if(Yr in n){var t=n[Yr];no(t)?t=a.getElements(a.create(t,!0)):t&&(t=a.getElements(t),j.command(t,"invalid elements",e.commandStr));var i=ao(function(e,n){if(t){var r=e.link(t);return e.ELEMENTS=r,r}return e.ELEMENTS=null,null});return i.value=t,i}if(Yr in r){var o=r[Yr];return so(o,function(t,e){var n=t.shared,r=n.isBufferArgs,i=n.elements,a=t.invoke(e,o),s=e.def("null"),u=e.def(r,"(",a,")"),c=t.cond(u).then(s,"=",i,".createStream(",a,");").else(s,"=",i,".getElements(",a,");");return j.optional(function(){t.assert(c.else,"!"+a+"||"+s,"invalid elements")}),e.entry(c),e.exit(t.cond(u).then(i,".destroyStream(",s,");")),t.ELEMENTS=s,s})}return null}();function o(t,o){if(t in n){var a=0|n[t];return j.command(!o||a>=0,"invalid "+t,e.commandStr),ao(function(t,e){return o&&(t.OFFSET=a),a})}if(t in r){var s=r[t];return so(s,function(e,n){var r=e.invoke(n,s);return o&&(e.OFFSET=r,j.optional(function(){e.assert(n,r+">=0","invalid "+t)})),r})}return o&&i?ao(function(t,e){return t.OFFSET="0",0}):null}var s=o(Kr,!0);return{elements:i,primitive:function(){if(Hr in n){var t=n[Hr];return j.commandParameter(t,Et,"invalid primitve",e.commandStr),ao(function(e,n){return Et[t]})}if(Hr in r){var o=r[Hr];return so(o,function(t,e){var n=t.constants.primTypes,r=t.invoke(e,o);return j.optional(function(){t.assert(e,r+" in "+n,"invalid primitive, must be one of "+Object.keys(Et))}),e.def(n,"[",r,"]")})}return i?oo(i)?i.value?ao(function(t,e){return e.def(t.ELEMENTS,".primType")}):ao(function(){return Di}):new io(i.thisDep,i.contextDep,i.propDep,function(t,e){var n=t.ELEMENTS;return e.def(n,"?",n,".primType:",Di)}):null}(),count:function(){if(qr in n){var t=0|n[qr];return j.command("number"==typeof t&&t>=0,"invalid vertex count",e.commandStr),ao(function(){return t})}if(qr in r){var o=r[qr];return so(o,function(t,e){var n=t.invoke(e,o);return j.optional(function(){t.assert(e,"typeof "+n+'==="number"&&'+n+">=0&&"+n+"===("+n+"|0)","invalid vertex count")}),n})}if(i){if(oo(i)){if(i)return s?new io(s.thisDep,s.contextDep,s.propDep,function(t,e){var n=e.def(t.ELEMENTS,".vertCount-",t.OFFSET);return j.optional(function(){t.assert(e,n+">=0","invalid vertex offset/element buffer too small")}),n}):ao(function(t,e){return e.def(t.ELEMENTS,".vertCount")});var a=ao(function(){return-1});return j.optional(function(){a.MISSING=!0}),a}var u=new io(i.thisDep||s.thisDep,i.contextDep||s.contextDep,i.propDep||s.propDep,function(t,e){var n=t.ELEMENTS;return t.OFFSET?e.def(n,"?",n,".vertCount-",t.OFFSET,":-1"):e.def(n,"?",n,".vertCount:-1")});return j.optional(function(){u.DYNAMIC=!0}),u}return null}(),instances:o(Zr,!1),offset:s}}(t,h),E=function(t,e){var n=t.static,r=t.dynamic,o={};return _.forEach(function(t){var a=M(t);function s(e,i){if(t in n){var s=e(n[t]);o[a]=ao(function(){return s})}else if(t in r){var u=r[t];o[a]=so(u,function(t,e){return i(t,e,t.invoke(e,u))})}}switch(t){case Mr:case vr:case gr:case jr:case xr:case Gr:case Cr:case Tr:case Nr:case Er:return s(function(n){return j.commandType(n,"boolean",t,e.commandStr),n},function(e,n,r){return j.optional(function(){e.assert(n,"typeof "+r+'==="boolean"',"invalid flag "+t,e.commandStr)}),r});case wr:return s(function(n){return j.commandParameter(n,Ji,"invalid "+t,e.commandStr),Ji[n]},function(e,n,r){var i=e.constants.compareFuncs;return j.optional(function(){e.assert(n,r+" in "+i,"invalid "+t+", must be one of "+Object.keys(Ji))}),n.def(i,"[",r,"]")});case _r:return s(function(t){return j.command(Ft(t)&&2===t.length&&"number"==typeof t[0]&&"number"==typeof t[1]&&t[0]<=t[1],"depth range is 2d array",e.commandStr),t},function(t,e,n){return j.optional(function(){t.assert(e,t.shared.isArrayLike+"("+n+")&&"+n+".length===2&&typeof "+n+'[0]==="number"&&typeof '+n+'[1]==="number"&&'+n+"[0]<="+n+"[1]","depth range must be a 2d array")}),[e.def("+",n,"[0]"),e.def("+",n,"[1]")]});case br:return s(function(t){j.commandType(t,"object","blend.func",e.commandStr);var n="srcRGB"in t?t.srcRGB:t.src,r="srcAlpha"in t?t.srcAlpha:t.src,i="dstRGB"in t?t.dstRGB:t.dst,o="dstAlpha"in t?t.dstAlpha:t.dst;return j.commandParameter(n,Zi,a+".srcRGB",e.commandStr),j.commandParameter(r,Zi,a+".srcAlpha",e.commandStr),j.commandParameter(i,Zi,a+".dstRGB",e.commandStr),j.commandParameter(o,Zi,a+".dstAlpha",e.commandStr),j.command(-1===Qi.indexOf(n+", "+i),"unallowed blending combination (srcRGB, dstRGB) = ("+n+", "+i+")",e.commandStr),[Zi[n],Zi[i],Zi[r],Zi[o]]},function(e,n,r){var i=e.constants.blendFuncs;function o(o,a){var s=n.def('"',o,a,'" in ',r,"?",r,".",o,a,":",r,".",o);return j.optional(function(){e.assert(n,s+" in "+i,"invalid "+t+"."+o+a+", must be one of "+Object.keys(Zi))}),s}j.optional(function(){e.assert(n,r+"&&typeof "+r+'==="object"',"invalid blend func, must be an object")});var a=o("src","RGB"),s=o("dst","RGB");j.optional(function(){var t=e.constants.invalidBlendCombinations;e.assert(n,t+".indexOf("+a+'+", "+'+s+") === -1 ","unallowed blending combination for (srcRGB, dstRGB)")});var u=n.def(i,"[",a,"]"),c=n.def(i,"[",o("src","Alpha"),"]");return[u,n.def(i,"[",s,"]"),c,n.def(i,"[",o("dst","Alpha"),"]")]});case mr:return s(function(n){return"string"==typeof n?(j.commandParameter(n,y,"invalid "+t,e.commandStr),[y[n],y[n]]):"object"==typeof n?(j.commandParameter(n.rgb,y,t+".rgb",e.commandStr),j.commandParameter(n.alpha,y,t+".alpha",e.commandStr),[y[n.rgb],y[n.alpha]]):void j.commandRaise("invalid blend.equation",e.commandStr)},function(e,n,r){var i=e.constants.blendEquations,o=n.def(),a=n.def(),s=e.cond("typeof ",r,'==="string"');return j.optional(function(){function n(t,n,r){e.assert(t,r+" in "+i,"invalid "+n+", must be one of "+Object.keys(y))}n(s.then,t,r),e.assert(s.else,r+"&&typeof "+r+'==="object"',"invalid "+t),n(s.else,t+".rgb",r+".rgb"),n(s.else,t+".alpha",r+".alpha")}),s.then(o,"=",a,"=",i,"[",r,"];"),s.else(o,"=",i,"[",r,".rgb];",a,"=",i,"[",r,".alpha];"),n(s),[o,a]});case yr:return s(function(t){return j.command(Ft(t)&&4===t.length,"blend.color must be a 4d array",e.commandStr),q(4,function(e){return+t[e]})},function(t,e,n){return j.optional(function(){t.assert(e,t.shared.isArrayLike+"("+n+")&&"+n+".length===4","blend.color must be a 4d array")}),q(4,function(t){return e.def("+",n,"[",t,"]")})});case Dr:return s(function(t){return j.commandType(t,"number",a,e.commandStr),0|t},function(t,e,n){return j.optional(function(){t.assert(e,"typeof "+n+'==="number"',"invalid stencil.mask")}),e.def(n,"|0")});case Lr:return s(function(n){j.commandType(n,"object",a,e.commandStr);var r=n.cmp||"keep",i=n.ref||0,o="mask"in n?n.mask:-1;return j.commandParameter(r,Ji,t+".cmp",e.commandStr),j.commandType(i,"number",t+".ref",e.commandStr),j.commandType(o,"number",t+".mask",e.commandStr),[Ji[r],i,o]},function(t,e,n){var r=t.constants.compareFuncs;return j.optional(function(){function i(){t.assert(e,Array.prototype.join.call(arguments,""),"invalid stencil.func")}i(n+"&&typeof ",n,'==="object"'),i('!("cmp" in ',n,")||(",n,".cmp in ",r,")")}),[e.def('"cmp" in ',n,"?",r,"[",n,".cmp]",":",Wi),e.def(n,".ref|0"),e.def('"mask" in ',n,"?",n,".mask|0:-1")]});case Rr:case Br:return s(function(n){j.commandType(n,"object",a,e.commandStr);var r=n.fail||"keep",i=n.zfail||"keep",o=n.zpass||"keep";return j.commandParameter(r,$i,t+".fail",e.commandStr),j.commandParameter(i,$i,t+".zfail",e.commandStr),j.commandParameter(o,$i,t+".zpass",e.commandStr),[t===Br?Ri:Li,$i[r],$i[i],$i[o]]},function(e,n,r){var i=e.constants.stencilOps;function o(o){return j.optional(function(){e.assert(n,'!("'+o+'" in '+r+")||("+r+"."+o+" in "+i+")","invalid "+t+"."+o+", must be one of "+Object.keys($i))}),n.def('"',o,'" in ',r,"?",i,"[",r,".",o,"]:",Wi)}return j.optional(function(){e.assert(n,r+"&&typeof "+r+'==="object"',"invalid "+t)}),[t===Br?Ri:Li,o("fail"),o("zfail"),o("zpass")]});case Ir:return s(function(t){j.commandType(t,"object",a,e.commandStr);var n=0|t.factor,r=0|t.units;return j.commandType(n,"number",a+".factor",e.commandStr),j.commandType(r,"number",a+".units",e.commandStr),[n,r]},function(e,n,r){return j.optional(function(){e.assert(n,r+"&&typeof "+r+'==="object"',"invalid "+t)}),[n.def(r,".factor|0"),n.def(r,".units|0")]});case Or:return s(function(t){var n=0;return"front"===t?n=Li:"back"===t&&(n=Ri),j.command(!!n,a,e.commandStr),n},function(t,e,n){return j.optional(function(){t.assert(e,n+'==="front"||'+n+'==="back"',"invalid cull.face")}),e.def(n,'==="front"?',Li,":",Ri)});case Ar:return s(function(t){return j.command("number"==typeof t&&t>=i.lineWidthDims[0]&&t<=i.lineWidthDims[1],"invalid line width, must be a positive number between "+i.lineWidthDims[0]+" and "+i.lineWidthDims[1],e.commandStr),t},function(t,e,n){return j.optional(function(){t.assert(e,"typeof "+n+'==="number"&&'+n+">="+i.lineWidthDims[0]+"&&"+n+"<="+i.lineWidthDims[1],"invalid line width")}),n});case kr:return s(function(t){return j.commandParameter(t,eo,a,e.commandStr),eo[t]},function(t,e,n){return j.optional(function(){t.assert(e,n+'==="cw"||'+n+'==="ccw"',"invalid frontFace, must be one of cw,ccw")}),e.def(n+'==="cw"?'+Bi+":"+Gi)});case Sr:return s(function(t){return j.command(Ft(t)&&4===t.length,"color.mask must be length 4 array",e.commandStr),t.map(function(t){return!!t})},function(t,e,n){return j.optional(function(){t.assert(e,t.shared.isArrayLike+"("+n+")&&"+n+".length===4","invalid color.mask")}),q(4,function(t){return"!!"+n+"["+t+"]"})});case Pr:return s(function(t){j.command("object"==typeof t&&t,a,e.commandStr);var n="value"in t?t.value:1,r=!!t.invert;return j.command("number"==typeof n&&n>=0&&n<=1,"sample.coverage.value must be a number between 0 and 1",e.commandStr),[n,r]},function(t,e,n){return j.optional(function(){t.assert(e,n+"&&typeof "+n+'==="object"',"invalid sample.coverage")}),[e.def('"value" in ',n,"?+",n,".value:1"),e.def("!!",n,".invert")]})}}),o}(t,h),S=function(t,e,r){var i=t.static,o=t.dynamic;function a(t){if(t in i){var e=n.id(i[t]);j.optional(function(){f.shader(to[t],e,j.guessCommand())});var r=ao(function(){return e});return r.id=e,r}if(t in o){var a=o[t];return so(a,function(e,n){var r=e.invoke(n,a),i=n.def(e.shared.strings,".id(",r,")");return j.optional(function(){n(e.shared.shader,".shader(",to[t],",",i,",",e.command,");")}),i})}return null}var s,u=a(Xr),c=a(Vr),l=null;return oo(u)&&oo(c)?(l=f.program(c.id,u.id,null,r),s=ao(function(t,e){return t.link(l)})):s=new io(u&&u.thisDep||c&&c.thisDep,u&&u.contextDep||c&&c.contextDep,u&&u.propDep||c&&c.propDep,function(t,e){var n,r,i=t.shared.shader;n=u?u.append(t,e):e.def(i,".",Xr),r=c?c.append(t,e):e.def(i,".",Vr);var o=i+".program("+r+","+n;return j.optional(function(){o+=","+t.command}),e.def(o+")")}),{frag:u,vert:c,progVar:s,program:l}}(t,0,g);function O(t){var e=x[t];e&&(E[t]=e)}O(zr),O(M(Fr));var k=Object.keys(E).length>0,A={framebuffer:b,draw:w,shader:S,state:E,dirty:k,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(A.profile=function(t){var e,n=t.static,r=t.dynamic;if(Ur in n){var i=!!n[Ur];(e=ao(function(t,e){return i})).enable=i}else if(Ur in r){var o=r[Ur];e=so(o,function(t,e){return t.invoke(e,o)})}return e}(t),A.uniforms=function(t,e){var n=t.static,r=t.dynamic,i={};return Object.keys(n).forEach(function(t){var r,o=n[t];if("number"==typeof o||"boolean"==typeof o)r=ao(function(){return o});else if("function"==typeof o){var a=o._reglType;"texture2d"===a||"textureCube"===a?r=ao(function(t){return t.link(o)}):"framebuffer"===a||"framebufferCube"===a?(j.command(o.color.length>0,'missing color attachment for framebuffer sent to uniform "'+t+'"',e.commandStr),r=ao(function(t){return t.link(o.color[0])})):j.commandRaise('invalid data for uniform "'+t+'"',e.commandStr)}else Ft(o)?r=ao(function(e){return e.global.def("[",q(o.length,function(n){return j.command("number"==typeof o[n]||"boolean"==typeof o[n],"invalid uniform "+t,e.commandStr),o[n]}),"]")}):j.commandRaise('invalid or missing data for uniform "'+t+'"',e.commandStr);r.value=o,i[t]=r}),Object.keys(r).forEach(function(t){var e=r[t];i[t]=so(e,function(t,n){return t.invoke(n,e)})}),i}(s,h),A.drawVAO=A.scopeVAO=function(t,e){var n=t.static,r=t.dynamic;if(Qr in n){var i=n[Qr];return null!==i&&null===l.getVAO(i)&&(i=l.createVAO(i)),ao(function(t){return t.link(l.getVAO(i))})}if(Qr in r){var o=r[Qr];return so(o,function(t,e){var n=t.invoke(e,o);return e.def(t.shared.vao+".getVAO("+n+")")})}return null}(t),!A.drawVAO&&S.program&&!g&&r.angle_instanced_arrays){var C=!0,I=S.program.attributes.map(function(t){var n=e.static[t];return C=C&&!!n,n});if(C&&I.length>0){var T=l.getVAO(l.createVAO(I));A.drawVAO=new io(null,null,null,function(t,e){return t.link(T)}),A.useVAO=!0}}return g?A.useVAO=!0:A.attributes=function(t,e){var r=t.static,i=t.dynamic,a={};return Object.keys(r).forEach(function(t){var i=r[t],s=n.id(t),u=new v;if(no(i))u.state=ar,u.buffer=o.getBuffer(o.create(i,oi,!1,!0)),u.type=0;else{var c=o.getBuffer(i);if(c)u.state=ar,u.buffer=c,u.type=0;else if(j.command("object"==typeof i&&i,"invalid data for attribute "+t,e.commandStr),"constant"in i){var l=i.constant;u.buffer="null",u.state=sr,"number"==typeof l?u.x=l:(j.command(Ft(l)&&l.length>0&&l.length<=4,"invalid constant for attribute "+t,e.commandStr),ir.forEach(function(t,e){e=0,'invalid offset for attribute "'+t+'"',e.commandStr);var h=0|i.stride;j.command(h>=0&&h<256,'invalid stride for attribute "'+t+'", must be integer betweeen [0, 255]',e.commandStr);var d=0|i.size;j.command(!("size"in i)||d>0&&d<=4,'invalid size for attribute "'+t+'", must be 1,2,3,4',e.commandStr);var p=!!i.normalized,g=0;"type"in i&&(j.commandParameter(i.type,ft,"invalid type for attribute "+t,e.commandStr),g=ft[i.type]);var y=0|i.divisor;"divisor"in i&&(j.command(0===y||m,'cannot specify divisor for attribute "'+t+'", instancing not supported',e.commandStr),j.command(y>=0,'invalid divisor for attribute "'+t+'"',e.commandStr)),j.optional(function(){var n=e.commandStr,r=["buffer","offset","divisor","normalized","type","size","stride"];Object.keys(i).forEach(function(e){j.command(r.indexOf(e)>=0,'unknown parameter "'+e+'" for attribute pointer "'+t+'" (valid parameters are '+r+")",n)})}),u.buffer=c,u.state=ar,u.size=d,u.normalized=p,u.type=g||c.dtype,u.offset=f,u.stride=h,u.divisor=y}}a[t]=ao(function(t,e){var n=t.attribCache;if(s in n)return n[s];var r={isStream:!1};return Object.keys(u).forEach(function(t){r[t]=u[t]}),u.buffer&&(r.buffer=t.link(u.buffer),r.type=r.type||r.buffer+".dtype"),n[s]=r,r})}),Object.keys(i).forEach(function(t){var e=i[t];a[t]=so(e,function(n,r){var i=n.invoke(r,e),o=n.shared,a=n.constants,s=o.isBufferArgs,u=o.buffer;j.optional(function(){n.assert(r,i+"&&(typeof "+i+'==="object"||typeof '+i+'==="function")&&('+s+"("+i+")||"+u+".getBuffer("+i+")||"+u+".getBuffer("+i+".buffer)||"+s+"("+i+'.buffer)||("constant" in '+i+"&&(typeof "+i+'.constant==="number"||'+o.isArrayLike+"("+i+".constant))))",'invalid dynamic attribute "'+t+'"')});var c={isStream:r.def(!1)},l=new v;l.state=ar,Object.keys(l).forEach(function(t){c[t]=r.def(""+l[t])});var f=c.buffer,h=c.type;function d(t){r(c[t],"=",i,".",t,"|0;")}return r("if(",s,"(",i,")){",c.isStream,"=true;",f,"=",u,".createStream(",oi,",",i,");",h,"=",f,".dtype;","}else{",f,"=",u,".getBuffer(",i,");","if(",f,"){",h,"=",f,".dtype;",'}else if("constant" in ',i,"){",c.state,"=",sr,";","if(typeof "+i+'.constant === "number"){',c[ir[0]],"=",i,".constant;",ir.slice(1).map(function(t){return c[t]}).join("="),"=0;","}else{",ir.map(function(t,e){return c[t]+"="+i+".constant.length>"+e+"?"+i+".constant["+e+"]:0;"}).join(""),"}}else{","if(",s,"(",i,".buffer)){",f,"=",u,".createStream(",oi,",",i,".buffer);","}else{",f,"=",u,".getBuffer(",i,".buffer);","}",h,'="type" in ',i,"?",a.glTypes,"[",i,".type]:",f,".dtype;",c.normalized,"=!!",i,".normalized;"),d("size"),d("offset"),d("stride"),d("divisor"),r("}}"),r.exit("if(",c.isStream,"){",u,".destroyStream(",f,");","}"),c})}),a}(e,h),A.context=function(t){var e=t.static,n=t.dynamic,r={};return Object.keys(e).forEach(function(t){var n=e[t];r[t]=ao(function(t,e){return"number"==typeof n||"boolean"==typeof n?""+n:t.link(n)})}),Object.keys(n).forEach(function(t){var e=n[t];r[t]=so(e,function(t,n){return t.invoke(n,e)})}),r}(c),A}function P(t,e,n){var r=t.shared,i=r.context,o=t.scope();Object.keys(n).forEach(function(r){e.save(i,"."+r);var a=n[r],s=a.append(t,e);Array.isArray(s)?o(i,".",r,"=[",s.join(),"];"):o(i,".",r,"=",s,";")}),e(o)}function D(t,e,n,r){var i,o=t.shared,a=o.gl,s=o.framebuffer;b&&(i=e.def(o.extensions,".webgl_draw_buffers"));var u,c=t.constants,l=c.drawBuffer,f=c.backBuffer;u=n?n.append(t,e):e.def(s,".next"),r||e("if(",u,"!==",s,".cur){"),e("if(",u,"){",a,".bindFramebuffer(",qi,",",u,".framebuffer);"),b&&e(i,".drawBuffersWEBGL(",l,"[",u,".colorAttachments.length]);"),e("}else{",a,".bindFramebuffer(",qi,",null);"),b&&e(i,".drawBuffersWEBGL(",f,");"),e("}",s,".cur=",u,";"),r||e("}")}function L(t,e,n){var r=t.shared,i=r.gl,o=t.current,a=t.next,s=r.current,u=r.next,c=t.cond(s,".dirty");_.forEach(function(e){var r,l,f=M(e);if(!(f in n.state))if(f in a){r=a[f],l=o[f];var h=q(x[f].length,function(t){return c.def(r,"[",t,"]")});c(t.cond(h.map(function(t,e){return t+"!=="+l+"["+e+"]"}).join("||")).then(i,".",S[f],"(",h,");",h.map(function(t,e){return l+"["+e+"]="+t}).join(";"),";"))}else{r=c.def(u,".",f);var d=t.cond(r,"!==",s,".",f);c(d),f in E?d(t.cond(r).then(i,".enable(",E[f],");").else(i,".disable(",E[f],");"),s,".",f,"=",r,";"):d(i,".",S[f],"(",r,");",s,".",f,"=",r,";")}}),0===Object.keys(n.state).length&&c(s,".dirty=false;"),e(c)}function R(t,e,n,r){var i=t.shared,o=t.current,a=i.current,s=i.gl;ro(Object.keys(n)).forEach(function(i){var u=n[i];if(!r||r(u)){var c=u.append(t,e);if(E[i]){var l=E[i];oo(u)?e(s,c?".enable(":".disable(",l,");"):e(t.cond(c).then(s,".enable(",l,");").else(s,".disable(",l,");")),e(a,".",i,"=",c,";")}else if(Ft(c)){var f=o[i];e(s,".",S[i],"(",c,");",c.map(function(t,e){return f+"["+e+"]="+t}).join(";"),";")}else e(s,".",S[i],"(",c,");",a,".",i,"=",c,";")}})}function B(t,e){m&&(t.instancing=e.def(t.shared.extensions,".angle_instanced_arrays"))}function G(t,e,n,r,i){var o,a,s,u=t.shared,c=t.stats,l=u.current,f=u.timer,h=n.profile;function d(){return"undefined"==typeof performance?"Date.now()":"performance.now()"}function g(t){o=e.def(),t(o,"=",d(),";"),"string"==typeof i?t(c,".count+=",i,";"):t(c,".count++;"),p&&(r?(a=e.def(),t(a,"=",f,".getNumPendingQueries();")):t(f,".beginQuery(",c,");"))}function v(t){t(c,".cpuTime+=",d(),"-",o,";"),p&&(r?t(f,".pushScopeStats(",a,",",f,".getNumPendingQueries(),",c,");"):t(f,".endQuery();"))}function y(t){var n=e.def(l,".profile");e(l,".profile=",t,";"),e.exit(l,".profile=",n,";")}if(h){if(oo(h))return void(h.enable?(g(e),v(e.exit),y("true")):y("false"));y(s=h.append(t,e))}else s=e.def(l,".profile");var m=t.block();g(m),e("if(",s,"){",m,"}");var b=t.block();v(b),e.exit("if(",s,"){",b,"}")}function F(t,e,n,r,i){var o=t.shared;r.forEach(function(r){var a,s=r.name,u=n.attributes[s];if(u){if(!i(u))return;a=u.append(t,e)}else{if(!i(uo))return;var c=t.scopeAttrib(s);j.optional(function(){t.assert(e,c+".state","missing attribute "+s)}),a={},Object.keys(new v).forEach(function(t){a[t]=e.def(c,".",t)})}!function(n,r,i){var a=o.gl,s=e.def(n,".location"),u=e.def(o.attributes,"[",s,"]"),c=i.state,l=i.buffer,f=[i.x,i.y,i.z,i.w],h=["buffer","normalized","offset","stride"];function d(){e("if(!",u,".buffer){",a,".enableVertexAttribArray(",s,");}");var n,o=i.type;if(n=i.size?e.def(i.size,"||",r):r,e("if(",u,".type!==",o,"||",u,".size!==",n,"||",h.map(function(t){return u+"."+t+"!=="+i[t]}).join("||"),"){",a,".bindBuffer(",oi,",",l,".buffer);",a,".vertexAttribPointer(",[s,n,o,i.normalized,i.stride,i.offset],");",u,".type=",o,";",u,".size=",n,";",h.map(function(t){return u+"."+t+"="+i[t]+";"}).join(""),"}"),m){var c=i.divisor;e("if(",u,".divisor!==",c,"){",t.instancing,".vertexAttribDivisorANGLE(",[s,c],");",u,".divisor=",c,";}")}}function p(){e("if(",u,".buffer){",a,".disableVertexAttribArray(",s,");",u,".buffer=null;","}if(",ir.map(function(t,e){return u+"."+t+"!=="+f[e]}).join("||"),"){",a,".vertexAttrib4f(",s,",",f,");",ir.map(function(t,e){return u+"."+t+"="+f[e]+";"}).join(""),"}")}c===ar?d():c===sr?p():(e("if(",c,"===",ar,"){"),d(),e("}else{"),p(),e("}"))}(t.link(r),function(t){switch(t){case bi:case Ei:case ki:return 2;case xi:case Si:case Ai:return 3;case wi:case Mi:case Ci:return 4;default:return 1}}(r.info.type),a)})}function z(t,e,r,i,o){for(var a,s=t.shared,u=s.gl,c=0;c1?e(q(w,function(t){return Array.isArray(l)?l[t]:l+"["+t+"]"})):(j(!Array.isArray(l),"uniform value must not be an array"),e(l));e(");")}}function W(t,e,n,r){var i=t.shared,o=i.gl,a=i.draw,s=r.draw,u=function(){var i,u=s.elements,c=e;return u?((u.contextDep&&r.contextDynamic||u.propDep)&&(c=n),i=u.append(t,c)):i=c.def(a,".",Yr),i&&c("if("+i+")"+o+".bindBuffer("+ai+","+i+".buffer.buffer);"),i}();function c(i){var o=s[i];return o?o.contextDep&&r.contextDynamic||o.propDep?o.append(t,n):o.append(t,e):e.def(a,".",i)}var l,f,h=c(Hr),d=c(Kr),p=function(){var i,o=s.count,u=e;return o?((o.contextDep&&r.contextDynamic||o.propDep)&&(u=n),i=o.append(t,u),j.optional(function(){o.MISSING&&t.assert(e,"false","missing vertex count"),o.DYNAMIC&&t.assert(u,i+">=0","missing vertex count")})):(i=u.def(a,".",qr),j.optional(function(){t.assert(u,i+">=0","missing vertex count")})),i}();if("number"==typeof p){if(0===p)return}else n("if(",p,"){"),n.exit("}");m&&(l=c(Zr),f=t.instancing);var g=u+".type",v=s.elements&&oo(s.elements);function y(){function t(){n(f,".drawElementsInstancedANGLE(",[h,p,g,d+"<<(("+g+"-"+or+")>>1)",l],");")}function e(){n(f,".drawArraysInstancedANGLE(",[h,d,p,l],");")}u?v?t():(n("if(",u,"){"),t(),n("}else{"),e(),n("}")):e()}function b(){function t(){n(o+".drawElements("+[h,p,g,d+"<<(("+g+"-"+or+")>>1)"]+");")}function e(){n(o+".drawArrays("+[h,d,p]+");")}u?v?t():(n("if(",u,"){"),t(),n("}else{"),e(),n("}")):e()}m&&("number"!=typeof l||l>=0)?"string"==typeof l?(n("if(",l,">0){"),y(),n("}else if(",l,"<0){"),b(),n("}")):y():b()}function V(t,e,n,r,i){var o=T(),a=o.proc("body",i);return j.optional(function(){o.commandStr=e.commandStr,o.command=o.link(e.commandStr)}),m&&(o.instancing=a.def(o.shared.extensions,".angle_instanced_arrays")),t(o,a,n,r),o.compile().body}function X(t,e,n,r){B(t,e),n.useVAO?n.drawVAO?e(t.shared.vao,".setVAO(",n.drawVAO.append(t,e),");"):e(t.shared.vao,".setVAO(",t.shared.vao,".targetVAO);"):(e(t.shared.vao,".setVAO(null);"),F(t,e,n,r.attributes,function(){return!0})),z(t,e,n,r.uniforms,function(){return!0}),W(t,e,e,n)}function Y(t,e,n,r){function i(){return!0}t.batchId="a1",B(t,e),F(t,e,n,r.attributes,i),z(t,e,n,r.uniforms,i),W(t,e,e,n)}function H(t,e,n,r){B(t,e);var i=n.contextDep,o=e.def(),a=e.def();t.shared.props=a,t.batchId=o;var s=t.scope(),u=t.scope();function c(t){return t.contextDep&&i||t.propDep}function l(t){return!c(t)}if(e(s.entry,"for(",o,"=0;",o,"<","a1",";++",o,"){",a,"=","a0","[",o,"];",u,"}",s.exit),n.needsContext&&P(t,u,n.context),n.needsFramebuffer&&D(t,u,n.framebuffer),R(t,u,n.state,c),n.profile&&c(n.profile)&&G(t,u,n,!1,!0),r)n.useVAO?n.drawVAO?c(n.drawVAO)?u(t.shared.vao,".setVAO(",n.drawVAO.append(t,u),");"):s(t.shared.vao,".setVAO(",n.drawVAO.append(t,s),");"):s(t.shared.vao,".setVAO(",t.shared.vao,".targetVAO);"):(s(t.shared.vao,".setVAO(null);"),F(t,s,n,r.attributes,l),F(t,u,n,r.attributes,c)),z(t,s,n,r.uniforms,l),z(t,u,n,r.uniforms,c),W(t,s,u,n);else{var f=t.global.def("{}"),h=n.shader.progVar.append(t,u),d=u.def(h,".id"),p=u.def(f,"[",d,"]");u(t.shared.gl,".useProgram(",h,".program);","if(!",p,"){",p,"=",f,"[",d,"]=",t.link(function(e){return V(Y,t,n,e,2)}),"(",h,");}",p,".call(this,a0[",o,"],",o,");")}}function K(t,e,n){var r=e.static[n];if(r&&function(t){if("object"==typeof t&&!Ft(t)){for(var e=Object.keys(t),n=0;n0&&n(t.shared.current,".dirty=true;")}(s,u),function(t,e){var r=t.proc("scope",3);t.batchId="a2";var i=t.shared,o=i.current;function a(n){var o=e.shader[n];o&&r.set(i.shader,"."+n,o.append(t,r))}P(t,r,e.context),e.framebuffer&&e.framebuffer.append(t,r),ro(Object.keys(e.state)).forEach(function(n){var o=e.state[n].append(t,r);Ft(o)?o.forEach(function(e,i){r.set(t.next[n],"["+i+"]",e)}):r.set(i.next,"."+n,o)}),G(t,r,e,!0,!0),[Yr,Kr,qr,Zr,Hr].forEach(function(n){var o=e.draw[n];o&&r.set(i.draw,"."+n,""+o.append(t,r))}),Object.keys(e.uniforms).forEach(function(o){var a=e.uniforms[o].append(t,r);Array.isArray(a)&&(a="["+a.join()+"]"),r.set(i.uniforms,"["+n.id(o)+"]",a)}),Object.keys(e.attributes).forEach(function(n){var i=e.attributes[n].append(t,r),o=t.scopeAttrib(n);Object.keys(new v).forEach(function(t){r.set(o,"."+t,i[t])})}),e.scopeVAO&&r.set(i.vao,".targetVAO",e.scopeVAO.append(t,r)),a(Vr),a(Xr),Object.keys(e.state).length>0&&(r(o,".dirty=true;"),r.exit(o,".dirty=true;")),r("a1(",t.shared.context,",a0,",t.batchId,");")}(s,u),function(t,e){var n=t.proc("batch",2);t.batchId="0",B(t,n);var r=!1,i=!0;Object.keys(e.context).forEach(function(t){r=r||e.context[t].propDep}),r||(P(t,n,e.context),i=!1);var o=e.framebuffer,a=!1;function s(t){return t.contextDep&&r||t.propDep}o?(o.propDep?r=a=!0:o.contextDep&&r&&(a=!0),a||D(t,n,o)):D(t,n,null),e.state.viewport&&e.state.viewport.propDep&&(r=!0),L(t,n,e),R(t,n,e.state,function(t){return!s(t)}),e.profile&&s(e.profile)||G(t,n,e,!1,"a1"),e.contextDep=r,e.needsContext=i,e.needsFramebuffer=a;var u=e.shader.progVar;if(u.contextDep&&r||u.propDep)H(t,n,e,null);else{var c=u.append(t,n);if(n(t.shared.gl,".useProgram(",c,".program);"),e.shader.program)H(t,n,e,e.shader.program);else{n(t.shared.vao,".setVAO(null);");var l=t.global.def("{}"),f=n.def(c,".id"),h=n.def(l,"[",f,"]");n(t.cond(h).then(h,".call(this,a0,a1);").else(h,"=",l,"[",f,"]=",t.link(function(n){return V(H,t,e,n,2)}),"(",c,");",h,".call(this,a0,a1);"))}}Object.keys(e.state).length>0&&n(t.shared.current,".dirty=true;")}(s,u),e(s.compile(),{destroy:function(){u.shader.program.destroy()}})}}}var lo=34918,fo=34919,ho=35007,po=function(t,e){if(!e.ext_disjoint_timer_query)return null;var n=[];function r(t){n.push(t)}var i=[],o=[];function a(t){o.push(t)}var s=[];function u(t,e,n){var r=o.pop()||new function(){this.startQueryIndex=-1,this.endQueryIndex=-1,this.sum=0,this.stats=null};r.startQueryIndex=t,r.endQueryIndex=e,r.sum=0,r.stats=n,s.push(r)}var c=[],l=[];return{beginQuery:function(t){var r=n.pop()||e.ext_disjoint_timer_query.createQueryEXT();e.ext_disjoint_timer_query.beginQueryEXT(ho,r),i.push(r),u(i.length-1,i.length,t)},endQuery:function(){e.ext_disjoint_timer_query.endQueryEXT(ho)},pushScopeStats:u,update:function(){var t,n,o=i.length;if(0!==o){l.length=Math.max(l.length,o+1),c.length=Math.max(c.length,o+1),c[0]=0,l[0]=0;var u=0;for(t=0,n=0;n0)if(Array.isArray(n[0])){s=pt(n);for(var l=1,f=1;f0)if("number"==typeof e[0]){var o=it.allocType(h.dtype,e.length);wt(o,e),p(o,i),it.freeType(o)}else if(Array.isArray(e[0])||t(e[0])){r=pt(e);var a=dt(e,r,h.dtype);p(a,i),it.freeType(a)}else j.raise("invalid buffer data")}else if(at(e)){r=e.shape;var s=e.stride,u=0,c=0,l=0,f=0;1===r.length?(u=r[0],c=1,l=s[0],f=0):2===r.length?(u=r[0],c=r[1],l=s[0],f=s[1]):j.raise("invalid shape");var g=Array.isArray(e.data)?h.dtype:xt(e.data),v=it.allocType(g,u*c);_t(v,e.data,u,c,l,f,e.offset),p(v,i),it.freeType(v)}else j.raise("invalid data for buffer subdata");return d},r.profile&&(d.stats=h.stats),d.destroy=function(){f(h)},d},createStream:function(t,e){var n=u.pop();return n||(n=new s(t)),n.bind(),l(n,e,vt,0,1,!1),n},destroyStream:function(t){u.push(t)},clear:function(){st(a).forEach(f),u.forEach(f)},getBuffer:function(t){return t&&t._buffer instanceof s?t._buffer:null},restore:function(){st(a).forEach(function(t){t.buffer=e.createBuffer(),e.bindBuffer(t.type,t.buffer),e.bufferData(t.type,t.persistentData||t.byteLength,t.usage)})},_initBuffer:l}}(i,c,r,function(t){return m.destroyBuffer(t)}),m=function(e,n,r,i,o){for(var a=r.maxAttributes,s=new Array(a),u=0;u0,"must specify at least one attribute");var i={},u=r.attributes;u.length=e.length;for(var c=0;c=d.byteLength?l.subdata(d):(l.destroy(),r.buffers[c]=null)),r.buffers[c]||(l=r.buffers[c]=o.create(f,Vn,!1,!0)),h.buffer=o.getBuffer(l),h.size=0|h.buffer.dimension,h.normalized=!1,h.type=h.buffer.dtype,h.offset=0,h.stride=0,h.divisor=0,h.state=1,i[c]=1):o.getBuffer(f)?(h.buffer=o.getBuffer(f),h.size=0|h.buffer.dimension,h.normalized=!1,h.type=h.buffer.dtype,h.offset=0,h.stride=0,h.divisor=0,h.state=1):o.getBuffer(f.buffer)?(h.buffer=o.getBuffer(f.buffer),h.size=0|(+f.size||h.buffer.dimension),h.normalized=!!f.normalized||!1,"type"in f?(j.parameter(f.type,ft,"invalid buffer type"),h.type=ft[f.type]):h.type=h.buffer.dtype,h.offset=0|(f.offset||0),h.stride=0|(f.stride||0),h.divisor=0|(f.divisor||0),h.state=1,j(h.size>=1&&h.size<=4,"size must be between 1 and 4"),j(h.offset>=0,"invalid offset"),j(h.stride>=0&&h.stride<=255,"stride must be between 0 and 255"),j(h.divisor>=0,"divisor must be positive"),j(!h.divisor||!!n.angle_instanced_arrays,"ANGLE_instanced_arrays must be enabled to use divisor")):"x"in f?(j(c>0,"first attribute must not be a constant"),h.x=+f.x||0,h.y=+f.y||0,h.z=+f.z||0,h.w=+f.w||0,h.state=2):j(!1,"invalid attribute spec for location "+c)}for(var p=0;p>=1:f===Nt&&(d>>=2)),i.vertCount=d;var p=s;if(s<0){p=Ot;var g=i.buffer.dimension;1===g&&(p=St),2===g&&(p=Mt),3===g&&(p=Ot)}i.primType=p}function f(t){i.elementsCount--,j(null!==t.buffer,"must not double destroy elements"),delete o[t.id],t.buffer.destroy(),t.buffer=null}return{create:function(e,n){var o=r.create(null,Pt,!0),a=new u(o._buffer);function c(e){if(e)if("number"==typeof e)o(e),a.primType=Ot,a.vertCount=0|e,a.type=At;else{var n=null,r=Dt,i=-1,u=-1,f=0,h=0;Array.isArray(e)||t(e)||at(e)?n=e:(j.type(e,"object","invalid arguments for elements"),"data"in e&&(n=e.data,j(Array.isArray(n)||t(n)||at(n),"invalid data for element buffer")),"usage"in e&&(j.parameter(e.usage,ht,"invalid element buffer usage"),r=ht[e.usage]),"primitive"in e&&(j.parameter(e.primitive,Et,"invalid element buffer primitive"),i=Et[e.primitive]),"count"in e&&(j("number"==typeof e.count&&e.count>=0,"invalid vertex count for elements"),u=0|e.count),"type"in e&&(j.parameter(e.type,s,"invalid buffer type"),h=s[e.type]),"length"in e?f=0|e.length:(f=u,h===It||h===Ct?f*=2:h!==Nt&&h!==Tt||(f*=4))),l(a,n,r,i,u,f,h)}else o(),a.primType=Ot,a.vertCount=0,a.type=At;return c}return i.elementsCount++,c(e),c._reglType="elements",c._elements=a,c.subdata=function(t,e){return o.subdata(t,e),c},c.destroy=function(){f(a)},c},createStream:function(t){var e=c.pop();return e||(e=new u(r.create(null,Pt,!0,!1)._buffer)),l(e,t,jt,-1,-1,0,0),e},destroyStream:function(t){c.push(t)},getElements:function(t){return"function"==typeof t&&t._elements instanceof u?t._elements:null},clear:function(){st(o).forEach(f)}}}(i,l,y,c),x=Zn(i,u,c,r),w=bn(i,l,v,function(){S.procs.poll()},g,c,r),_=Sn(i,l,v,c,r),E=function(t,n,r,i,o,a){var s={cur:null,next:null,dirty:!1,setFBO:null},u=["rgba"],c=["rgba4","rgb565","rgb5 a1"];n.ext_srgb&&c.push("srgba"),n.ext_color_buffer_half_float&&c.push("rgba16f","rgb16f"),n.webgl_color_buffer_float&&c.push("rgba32f");var l=["uint8"];function f(t,e,n){this.target=t,this.texture=e,this.renderbuffer=n;var r=0,i=0;e?(r=e.width,i=e.height):n&&(r=n.width,i=n.height),this.width=r,this.height=i}function h(t){t&&(t.texture&&t.texture._texture.decRef(),t.renderbuffer&&t.renderbuffer._renderbuffer.decRef())}function d(t,e,n){if(t)if(t.texture){var r=t.texture._texture,i=Math.max(1,r.width),o=Math.max(1,r.height);j(i===e&&o===n,"inconsistent width/height for supplied texture"),r.refCount+=1}else{var a=t.renderbuffer._renderbuffer;j(a.width===e&&a.height===n,"inconsistent width/height for renderbuffer"),a.refCount+=1}}function p(e,n){n&&(n.texture?t.framebufferTexture2D(Mn,e,n.target,n.texture._texture.texture,0):t.framebufferRenderbuffer(Mn,e,On,n.renderbuffer._renderbuffer.renderbuffer))}function g(t){var e=kn,n=null,r=null,i=t;"object"==typeof t&&(i=t.data,"target"in t&&(e=0|t.target)),j.type(i,"function","invalid attachment data");var o=i._reglType;return"texture2d"===o?(n=i,j(e===kn)):"textureCube"===o?(n=i,j(e>=An&&e=2,"invalid shape for framebuffer"),a=T[0],h=T[1]}else"radius"in I&&(a=h=I.radius),"width"in I&&(a=I.width),"height"in I&&(h=I.height);("color"in I||"colors"in I)&&(b=I.color||I.colors,Array.isArray(b)&&j(1===b.length||n.webgl_draw_buffers,"multiple render targets not supported")),b||("colorCount"in I&&(M=0|I.colorCount,j(M>0,"invalid color buffer count")),"colorTexture"in I&&(x=!!I.colorTexture,w="rgba4"),"colorType"in I&&(E=I.colorType,x?(j(n.oes_texture_float||!("float"===E||"float32"===E),"you must enable OES_texture_float in order to use floating point framebuffer objects"),j(n.oes_texture_half_float||!("half float"===E||"float16"===E),"you must enable OES_texture_half_float in order to use 16-bit floating point framebuffer objects")):"half float"===E||"float16"===E?(j(n.ext_color_buffer_half_float,"you must enable EXT_color_buffer_half_float to use 16-bit render buffers"),w="rgba16f"):"float"!==E&&"float32"!==E||(j(n.webgl_color_buffer_float,"you must enable WEBGL_color_buffer_float in order to use 32-bit floating point renderbuffers"),w="rgba32f"),j.oneOf(E,l,"invalid color type")),"colorFormat"in I&&(w=I.colorFormat,u.indexOf(w)>=0?x=!0:c.indexOf(w)>=0?x=!1:x?j.oneOf(I.colorFormat,u,"invalid color format for texture"):j.oneOf(I.colorFormat,c,"invalid color format for renderbuffer"))),("depthTexture"in I||"depthStencilTexture"in I)&&(C=!(!I.depthTexture&&!I.depthStencilTexture),j(!C||n.webgl_depth_texture,"webgl_depth_texture extension not supported")),"depth"in I&&("boolean"==typeof I.depth?p=I.depth:(O=I.depth,m=!1)),"stencil"in I&&("boolean"==typeof I.stencil?m=I.stencil:(k=I.stencil,p=!1)),"depthStencil"in I&&("boolean"==typeof I.depthStencil?p=m=I.depthStencil:(A=I.depthStencil,p=!1,m=!1))}else a=h=1;var N=null,P=null,D=null,L=null;if(Array.isArray(b))N=b.map(g);else if(b)N=[g(b)];else for(N=new Array(M),i=0;i=0||N[i].renderbuffer&&zn.indexOf(N[i].renderbuffer._renderbuffer.format)>=0,"framebuffer color attachment "+i+" is invalid"),N[i]&&N[i].texture){var B=Ln[N[i].texture._texture.format]*Rn[N[i].texture._texture.type];null===R?R=B:j(R===B,"all color attachments much have the same number of bits per pixel.")}return d(P,a,h),j(!P||P.texture&&P.texture._texture.format===jn||P.renderbuffer&&P.renderbuffer._renderbuffer.format===Bn,"invalid depth attachment for framebuffer object"),d(D,a,h),j(!D||D.renderbuffer&&D.renderbuffer._renderbuffer.format===Gn,"invalid stencil attachment for framebuffer object"),d(L,a,h),j(!L||L.texture&&L.texture._texture.format===Fn||L.renderbuffer&&L.renderbuffer._renderbuffer.format===Fn,"invalid depth-stencil attachment for framebuffer object"),_(o),o.width=a,o.height=h,o.colorAttachments=N,o.depthAttachment=P,o.stencilAttachment=D,o.depthStencilAttachment=L,f.color=N.map(y),f.depth=y(P),f.stencil=y(D),f.depthStencil=y(L),f.width=o.width,f.height=o.height,S(o),f}return a.framebufferCount++,f(t,i),e(f,{resize:function(t,e){j(s.next!==o,"can not resize a framebuffer which is currently in use");var n=Math.max(0|t,1),r=Math.max(0|e||n,1);if(n===o.width&&r===o.height)return f;for(var i=o.colorAttachments,a=0;a=2,"invalid shape for framebuffer"),j(m[0]===m[1],"cube framebuffer must be square"),h=m[0]}else"radius"in y&&(h=0|y.radius),"width"in y?(h=0|y.width,"height"in y&&j(y.height===h,"must be square")):"height"in y&&(h=0|y.height);("color"in y||"colors"in y)&&(d=y.color||y.colors,Array.isArray(d)&&j(1===d.length||n.webgl_draw_buffers,"multiple render targets not supported")),d||("colorCount"in y&&(v=0|y.colorCount,j(v>0,"invalid color buffer count")),"colorType"in y&&(j.oneOf(y.colorType,l,"invalid color type"),g=y.colorType),"colorFormat"in y&&(p=y.colorFormat,j.oneOf(y.colorFormat,u,"invalid color format for texture"))),"depth"in y&&(f.depth=y.depth),"stencil"in y&&(f.stencil=y.stencil),"depthStencil"in y&&(f.depthStencil=y.depthStencil)}else h=1;if(d)if(Array.isArray(d))for(c=[],r=0;r0&&(f.depth=o[0].depth,f.stencil=o[0].stencil,f.depthStencil=o[0].depthStencil),o[r]?o[r](f):o[r]=M(f)}return e(a,{width:h,height:h,color:c})}return a(t),e(a,{faces:o,resize:function(t){var e,n=0|t;if(j(n>0&&n<=r.maxCubeMapSize,"invalid radius for cube fbo"),n===a.width)return a;var i=a.color;for(e=0;e=0;--t){var e=A[t];e&&e(g,null,0)}i.flush(),f&&f.update()}function D(){!N&&A.length>0&&(N=W.next(P))}function L(){N&&(W.cancel(P),N=null)}function R(t){t.preventDefault(),a=!0,L(),C.forEach(function(t){t()})}function B(t){i.getError(),a=!1,s.restore(),x.restore(),y.restore(),w.restore(),_.restore(),E.restore(),m.restore(),f&&f.restore(),S.procs.refresh(),D(),I.forEach(function(t){t()})}function G(t){function n(t,e){var n={},r={};return Object.keys(t).forEach(function(i){var o=t[i];if(U.isDynamic(o))r[i]=U.unbox(o,i);else{if(e&&Array.isArray(o))for(var a=0;a0)return f.call(this,function(t){for(;d.length=0,"cannot cancel a frame twice"),A[e]=function t(){var e=So(A,t);A[e]=A[A.length-1],A.length-=1,A.length<=0&&L()}}}}function Y(){var t=O.viewport,e=O.scissor_box;t[0]=t[1]=e[0]=e[1]=0,g.viewportWidth=g.framebufferWidth=g.drawingBufferWidth=t[2]=e[2]=i.drawingBufferWidth,g.viewportHeight=g.framebufferHeight=g.drawingBufferHeight=t[3]=e[3]=i.drawingBufferHeight}function q(){g.tick+=1,g.time=Z(),Y(),S.procs.poll()}function K(){w.refresh(),Y(),S.procs.refresh(),f&&f.update()}function Z(){return(V()-h)/1e3}K();var Q=e(G,{clear:function(t){if(j("object"==typeof t&&t,"regl.clear() takes an object as input"),"framebuffer"in t)if(t.framebuffer&&"framebufferCube"===t.framebuffer_reglType)for(var n=0;n<6;++n)F(e({framebuffer:t.framebuffer.faces[n]},t),z);else F(t,z);else z(null,t)},prop:U.define.bind(null,wo),context:U.define.bind(null,_o),this:U.define.bind(null,Eo),draw:G({}),buffer:function(t){return y.create(t,mo,!1,!1)},elements:function(t){return b.create(t,!1)},texture:w.create2D,cube:w.createCube,renderbuffer:_.create,framebuffer:E.create,framebufferCube:E.createCube,vao:m.createVAO,attributes:o,frame:X,on:function(t,e){var n;switch(j.type(e,"function","listener callback must be a function"),t){case"frame":return X(e);case"lost":n=C;break;case"restore":n=I;break;case"destroy":n=T;break;default:j.raise("invalid event, must be one of frame,lost,restore,destroy")}return n.push(e),{cancel:function(){for(var t=0;t=0},read:M,destroy:function(){A.length=0,L(),k&&(k.removeEventListener(bo,R),k.removeEventListener(xo,B)),x.clear(),E.clear(),_.clear(),w.clear(),b.clear(),y.clear(),m.clear(),f&&f.clear(),T.forEach(function(t){t()})},_gl:i,_refresh:K,poll:function(){q(),f&&f.update()},now:Z,stats:c});return r.onDone(null,Q),Q}}()},"fvN/":function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var i=r(n("EjHI"));e.default=function(t,e){if(!t.nodes||0===t.nodes.length)return t;var n=e.width,r=e.height,o=e.nodeMinGap,a=1e4,s=1e4;t.nodes.forEach(function(t){var e=t.size[0]||50,n=t.size[1]||50;a=Math.min(e,a),s=Math.min(n,s)});var u=new i.default;u.init(n,r,{CELL_H:s,CELL_W:a}),t.nodes.forEach(function(t){var e=u.occupyNearest(t);e&&(e.node={id:t.id,size:t.size},t.x=e.x,t.y=e.y,t.dx=e.dx,t.dy=e.dy)});for(var c=0;ca){for(var p=v=Math.ceil((l.size[0]+o)/a)-1,g=0;g-1&&!u.cells[h+g+1][d].node);g++)p--;u.insertColumn(h,p)}if(l.size[1]+o>s){var v;for(p=v=Math.ceil((l.size[1]+o)/s)-1,g=0;g-1&&!u.cells[h][d+g+1].node);g++)p--;u.insertRow(d,p)}}for(c=0;c0&&t(o[0])}},c=0;c0;)h.push(u.pop());a.push(h)}}return a};e.detectConnectedComponents=i;var o=function(t){for(var e=t.nodes,n=void 0===e?[]:e,i=t.edges,o=void 0===i?[]:i,a=[],s={},u={},c={},l=[],f=0,h=function t(e){u[e.id]=f,c[e.id]=f,f+=1,a.push(e),s[e.id]=!0;for(var i=(0,r.getNeighbors)(e.id,o,"target").filter(function(t){return n.map(function(t){return t.id}).indexOf(t)>-1}),h=function(r){var o=i[r];if(u[o]||0===u[o])s[o]&&(c[e.id]=Math.min(c[e.id],u[o]));else{var a=n.filter(function(t){return t.id===o});a.length>0&&t(a[0]),c[e.id]=Math.min(c[e.id],c[o])}},d=0;d0;){var g=a.pop();if(s[g.id]=!1,p.push(g),g===e)break}p.length>0&&l.push(p)}},d=0,p=n;d-1},o=function(t,e){if(!r(t))return t;for(var n=[],i=0;i-1;)A.call(t,o,1);return t},T=Array.prototype.splice,N=function(t,e){if(!r(t))return[];for(var n=t?e.length:0,i=n-1;n--;){var o=void 0,a=e[n];n!==i&&a===o||(o=a,T.call(t,a,1))}return t},P=function(t,e,n){if(!f(t)&&!y(t))return t;var r=n;return d(t,function(t,n){r=e(r,t,n)}),r},j=function(t,e){var n=[];if(!r(t))return n;for(var i=-1,o=[],a=t.length;++ie[i])return 1;if(t[i]n?n:t},nt=function(t,e){var n=e.toString(),r=n.indexOf(".");if(-1===r)return Math.round(t);var i=n.substr(r+1).length;return i>20&&(i=20),parseFloat(t.toFixed(i))},rt=function(t){return u(t,"Number")},it=function(t){return rt(t)&&t%1!=0},ot=function(t){return rt(t)&&t%2==0},at=Number.isInteger?Number.isInteger:function(t){return rt(t)&&t%1==0},st=function(t){return rt(t)&&t<0},ut=1e-5;function ct(t,e,n){return void 0===n&&(n=ut),Math.abs(t-e)0},ht=function(t,e){if(f(t)){for(var n,r=-1/0,i=0;ir&&(n=o,r=a)}return n}},dt=function(t,e){if(f(t)){for(var n,r=1/0,i=0;ie?(r&&(clearTimeout(r),r=null),s=c,a=t.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(u,l)),a};return c.cancel=function(){clearTimeout(r),s=0,r=i=o=null},c},me=function(t){return r(t)?Array.prototype.slice.call(t):[]},be={},xe=function(t){return be[t=t||"g"]?be[t]+=1:be[t]=1,t+be[t]},we=function(){},_e=function(t){return t};function Ee(t){return l(t)?0:r(t)?t.length:Object.keys(t).length}var Se,Me=n("mrSG"),Oe=Jt(function(t,e){void 0===e&&(e={});var n=e.fontSize,r=e.fontFamily,i=e.fontWeight,o=e.fontStyle,a=e.fontVariant;return Se||(Se=document.createElement("canvas").getContext("2d")),Se.font=[o,a,i,n+"px",r].join(" "),Se.measureText(D(t)?t:"").width},function(t,e){return void 0===e&&(e={}),Object(Me.__spreadArrays)([t],Et(e)).join("")}),ke=function(t,e,n,r){void 0===r&&(r="...");var i,o,a=Oe(r,n),s=D(t)?t:Mt(t),u=e,c=[];if(Oe(t,n)<=e)return t;for(;i=s.substr(0,16),!((o=Oe(i,n))+a>u&&o>u);)if(c.push(i),u-=o,!(s=s.substr(16)))return c.join("");for(;i=s.substr(0,1),!((o=Oe(i,n))+a>u);)if(c.push(i),u-=o,!(s=s.substr(1)))return c.join("");return""+c.join("")+r},Ae=function(){function t(){this.map={}}return t.prototype.has=function(t){return void 0!==this.map[t]},t.prototype.get=function(t,e){var n=this.map[t];return void 0===n?e:n},t.prototype.set=function(t,e){this.map[t]=e},t.prototype.clear=function(){this.map={}},t.prototype.delete=function(t){delete this.map[t]},t.prototype.size=function(){return Object.keys(this.map).length},t}();n.d(e,"contains",function(){return i}),n.d(e,"includes",function(){return i}),n.d(e,"difference",function(){return a}),n.d(e,"find",function(){return m}),n.d(e,"findIndex",function(){return b}),n.d(e,"firstValue",function(){return x}),n.d(e,"flatten",function(){return w}),n.d(e,"flattenDeep",function(){return E}),n.d(e,"getRange",function(){return O}),n.d(e,"pull",function(){return I}),n.d(e,"pullAt",function(){return N}),n.d(e,"reduce",function(){return P}),n.d(e,"remove",function(){return j}),n.d(e,"sortBy",function(){return L}),n.d(e,"union",function(){return B}),n.d(e,"uniq",function(){return R}),n.d(e,"valuesOfKey",function(){return G}),n.d(e,"head",function(){return F}),n.d(e,"last",function(){return z}),n.d(e,"startsWith",function(){return U}),n.d(e,"endsWith",function(){return W}),n.d(e,"filter",function(){return o}),n.d(e,"every",function(){return V}),n.d(e,"some",function(){return X}),n.d(e,"group",function(){return K}),n.d(e,"groupBy",function(){return H}),n.d(e,"groupToMap",function(){return q}),n.d(e,"getWrapBehavior",function(){return Z}),n.d(e,"wrapBehavior",function(){return Q}),n.d(e,"number2color",function(){return $}),n.d(e,"parseRadius",function(){return tt}),n.d(e,"clamp",function(){return et}),n.d(e,"fixedBase",function(){return nt}),n.d(e,"isDecimal",function(){return it}),n.d(e,"isEven",function(){return ot}),n.d(e,"isInteger",function(){return at}),n.d(e,"isNegative",function(){return st}),n.d(e,"isNumberEqual",function(){return ct}),n.d(e,"isOdd",function(){return lt}),n.d(e,"isPositive",function(){return ft}),n.d(e,"max",function(){return S}),n.d(e,"maxBy",function(){return ht}),n.d(e,"min",function(){return M}),n.d(e,"minBy",function(){return dt}),n.d(e,"mod",function(){return pt}),n.d(e,"toDegree",function(){return vt}),n.d(e,"toInteger",function(){return yt}),n.d(e,"toRadian",function(){return bt}),n.d(e,"forIn",function(){return xt}),n.d(e,"has",function(){return wt}),n.d(e,"hasKey",function(){return _t}),n.d(e,"hasValue",function(){return St}),n.d(e,"keys",function(){return p}),n.d(e,"isMatch",function(){return g}),n.d(e,"values",function(){return Et}),n.d(e,"lowerCase",function(){return Ot}),n.d(e,"lowerFirst",function(){return kt}),n.d(e,"substitute",function(){return At}),n.d(e,"upperCase",function(){return Ct}),n.d(e,"upperFirst",function(){return It}),n.d(e,"getType",function(){return Nt}),n.d(e,"isArguments",function(){return Pt}),n.d(e,"isArray",function(){return f}),n.d(e,"isArrayLike",function(){return r}),n.d(e,"isBoolean",function(){return jt}),n.d(e,"isDate",function(){return Dt}),n.d(e,"isError",function(){return Lt}),n.d(e,"isFunction",function(){return c}),n.d(e,"isFinite",function(){return Rt}),n.d(e,"isNil",function(){return l}),n.d(e,"isNull",function(){return Bt}),n.d(e,"isNumber",function(){return rt}),n.d(e,"isObject",function(){return h}),n.d(e,"isObjectLike",function(){return v}),n.d(e,"isPlainObject",function(){return y}),n.d(e,"isPrototype",function(){return Ft}),n.d(e,"isRegExp",function(){return zt}),n.d(e,"isString",function(){return D}),n.d(e,"isType",function(){return u}),n.d(e,"isUndefined",function(){return Ut}),n.d(e,"isElement",function(){return Wt}),n.d(e,"requestAnimationFrame",function(){return Vt}),n.d(e,"clearAnimationFrame",function(){return Xt}),n.d(e,"augment",function(){return qt}),n.d(e,"clone",function(){return Zt}),n.d(e,"debounce",function(){return Qt}),n.d(e,"memoize",function(){return Jt}),n.d(e,"deepMix",function(){return ee}),n.d(e,"each",function(){return d}),n.d(e,"extend",function(){return ne}),n.d(e,"indexOf",function(){return re}),n.d(e,"isEmpty",function(){return oe}),n.d(e,"isEqual",function(){return se}),n.d(e,"isEqualWith",function(){return ue}),n.d(e,"map",function(){return ce}),n.d(e,"mapValues",function(){return fe}),n.d(e,"mix",function(){return Ht}),n.d(e,"assign",function(){return Ht}),n.d(e,"get",function(){return he}),n.d(e,"set",function(){return de}),n.d(e,"pick",function(){return ge}),n.d(e,"omit",function(){return ve}),n.d(e,"throttle",function(){return ye}),n.d(e,"toArray",function(){return me}),n.d(e,"toString",function(){return Mt}),n.d(e,"uniqueId",function(){return xe}),n.d(e,"noop",function(){return we}),n.d(e,"identity",function(){return _e}),n.d(e,"size",function(){return Ee}),n.d(e,"measureTextWidth",function(){return Oe}),n.d(e,"getEllipsisText",function(){return ke}),n.d(e,"Cache",function(){return Ae})},"jIg/":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.multiInject=void 0;var r=n("xfSm"),i=n("GXnB"),o=n("Ztfv");e.multiInject=function(t){return function(e,n,a){var s=new i.Metadata(r.MULTI_INJECT_TAG,t);"number"==typeof a?o.tagParameter(e,n,a,s):o.tagProperty(e,n,s)}}},jYx5:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.optional=void 0;var r=n("xfSm"),i=n("GXnB"),o=n("Ztfv");e.optional=function(){return function(t,e,n){var a=new i.Metadata(r.OPTIONAL_TAG,!0);"number"==typeof n?o.tagParameter(t,e,n,a):o.tagProperty(t,e,a)}}},k6w6:function(t,e,n){"use strict";var r;n.d(e,"a",function(){return r}),function(t){t[t.DEPTH_BUFFER_BIT=256]="DEPTH_BUFFER_BIT",t[t.STENCIL_BUFFER_BIT=1024]="STENCIL_BUFFER_BIT",t[t.COLOR_BUFFER_BIT=16384]="COLOR_BUFFER_BIT",t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN",t[t.ZERO=0]="ZERO",t[t.ONE=1]="ONE",t[t.SRC_COLOR=768]="SRC_COLOR",t[t.ONE_MINUS_SRC_COLOR=769]="ONE_MINUS_SRC_COLOR",t[t.SRC_ALPHA=770]="SRC_ALPHA",t[t.ONE_MINUS_SRC_ALPHA=771]="ONE_MINUS_SRC_ALPHA",t[t.DST_ALPHA=772]="DST_ALPHA",t[t.ONE_MINUS_DST_ALPHA=773]="ONE_MINUS_DST_ALPHA",t[t.DST_COLOR=774]="DST_COLOR",t[t.ONE_MINUS_DST_COLOR=775]="ONE_MINUS_DST_COLOR",t[t.SRC_ALPHA_SATURATE=776]="SRC_ALPHA_SATURATE",t[t.FUNC_ADD=32774]="FUNC_ADD",t[t.BLEND_EQUATION=32777]="BLEND_EQUATION",t[t.BLEND_EQUATION_RGB=32777]="BLEND_EQUATION_RGB",t[t.BLEND_EQUATION_ALPHA=34877]="BLEND_EQUATION_ALPHA",t[t.FUNC_SUBTRACT=32778]="FUNC_SUBTRACT",t[t.FUNC_REVERSE_SUBTRACT=32779]="FUNC_REVERSE_SUBTRACT",t[t.MAX_EXT=32776]="MAX_EXT",t[t.MIN_EXT=32775]="MIN_EXT",t[t.BLEND_DST_RGB=32968]="BLEND_DST_RGB",t[t.BLEND_SRC_RGB=32969]="BLEND_SRC_RGB",t[t.BLEND_DST_ALPHA=32970]="BLEND_DST_ALPHA",t[t.BLEND_SRC_ALPHA=32971]="BLEND_SRC_ALPHA",t[t.CONSTANT_COLOR=32769]="CONSTANT_COLOR",t[t.ONE_MINUS_CONSTANT_COLOR=32770]="ONE_MINUS_CONSTANT_COLOR",t[t.CONSTANT_ALPHA=32771]="CONSTANT_ALPHA",t[t.ONE_MINUS_CONSTANT_ALPHA=32772]="ONE_MINUS_CONSTANT_ALPHA",t[t.BLEND_COLOR=32773]="BLEND_COLOR",t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.ARRAY_BUFFER_BINDING=34964]="ARRAY_BUFFER_BINDING",t[t.ELEMENT_ARRAY_BUFFER_BINDING=34965]="ELEMENT_ARRAY_BUFFER_BINDING",t[t.STREAM_DRAW=35040]="STREAM_DRAW",t[t.STATIC_DRAW=35044]="STATIC_DRAW",t[t.DYNAMIC_DRAW=35048]="DYNAMIC_DRAW",t[t.BUFFER_SIZE=34660]="BUFFER_SIZE",t[t.BUFFER_USAGE=34661]="BUFFER_USAGE",t[t.CURRENT_VERTEX_ATTRIB=34342]="CURRENT_VERTEX_ATTRIB",t[t.FRONT=1028]="FRONT",t[t.BACK=1029]="BACK",t[t.FRONT_AND_BACK=1032]="FRONT_AND_BACK",t[t.CULL_FACE=2884]="CULL_FACE",t[t.BLEND=3042]="BLEND",t[t.DITHER=3024]="DITHER",t[t.STENCIL_TEST=2960]="STENCIL_TEST",t[t.DEPTH_TEST=2929]="DEPTH_TEST",t[t.SCISSOR_TEST=3089]="SCISSOR_TEST",t[t.POLYGON_OFFSET_FILL=32823]="POLYGON_OFFSET_FILL",t[t.SAMPLE_ALPHA_TO_COVERAGE=32926]="SAMPLE_ALPHA_TO_COVERAGE",t[t.SAMPLE_COVERAGE=32928]="SAMPLE_COVERAGE",t[t.NO_ERROR=0]="NO_ERROR",t[t.INVALID_ENUM=1280]="INVALID_ENUM",t[t.INVALID_VALUE=1281]="INVALID_VALUE",t[t.INVALID_OPERATION=1282]="INVALID_OPERATION",t[t.OUT_OF_MEMORY=1285]="OUT_OF_MEMORY",t[t.CW=2304]="CW",t[t.CCW=2305]="CCW",t[t.LINE_WIDTH=2849]="LINE_WIDTH",t[t.ALIASED_POINT_SIZE_RANGE=33901]="ALIASED_POINT_SIZE_RANGE",t[t.ALIASED_LINE_WIDTH_RANGE=33902]="ALIASED_LINE_WIDTH_RANGE",t[t.CULL_FACE_MODE=2885]="CULL_FACE_MODE",t[t.FRONT_FACE=2886]="FRONT_FACE",t[t.DEPTH_RANGE=2928]="DEPTH_RANGE",t[t.DEPTH_WRITEMASK=2930]="DEPTH_WRITEMASK",t[t.DEPTH_CLEAR_VALUE=2931]="DEPTH_CLEAR_VALUE",t[t.DEPTH_FUNC=2932]="DEPTH_FUNC",t[t.STENCIL_CLEAR_VALUE=2961]="STENCIL_CLEAR_VALUE",t[t.STENCIL_FUNC=2962]="STENCIL_FUNC",t[t.STENCIL_FAIL=2964]="STENCIL_FAIL",t[t.STENCIL_PASS_DEPTH_FAIL=2965]="STENCIL_PASS_DEPTH_FAIL",t[t.STENCIL_PASS_DEPTH_PASS=2966]="STENCIL_PASS_DEPTH_PASS",t[t.STENCIL_REF=2967]="STENCIL_REF",t[t.STENCIL_VALUE_MASK=2963]="STENCIL_VALUE_MASK",t[t.STENCIL_WRITEMASK=2968]="STENCIL_WRITEMASK",t[t.STENCIL_BACK_FUNC=34816]="STENCIL_BACK_FUNC",t[t.STENCIL_BACK_FAIL=34817]="STENCIL_BACK_FAIL",t[t.STENCIL_BACK_PASS_DEPTH_FAIL=34818]="STENCIL_BACK_PASS_DEPTH_FAIL",t[t.STENCIL_BACK_PASS_DEPTH_PASS=34819]="STENCIL_BACK_PASS_DEPTH_PASS",t[t.STENCIL_BACK_REF=36003]="STENCIL_BACK_REF",t[t.STENCIL_BACK_VALUE_MASK=36004]="STENCIL_BACK_VALUE_MASK",t[t.STENCIL_BACK_WRITEMASK=36005]="STENCIL_BACK_WRITEMASK",t[t.VIEWPORT=2978]="VIEWPORT",t[t.SCISSOR_BOX=3088]="SCISSOR_BOX",t[t.COLOR_CLEAR_VALUE=3106]="COLOR_CLEAR_VALUE",t[t.COLOR_WRITEMASK=3107]="COLOR_WRITEMASK",t[t.UNPACK_ALIGNMENT=3317]="UNPACK_ALIGNMENT",t[t.PACK_ALIGNMENT=3333]="PACK_ALIGNMENT",t[t.MAX_TEXTURE_SIZE=3379]="MAX_TEXTURE_SIZE",t[t.MAX_VIEWPORT_DIMS=3386]="MAX_VIEWPORT_DIMS",t[t.SUBPIXEL_BITS=3408]="SUBPIXEL_BITS",t[t.RED_BITS=3410]="RED_BITS",t[t.GREEN_BITS=3411]="GREEN_BITS",t[t.BLUE_BITS=3412]="BLUE_BITS",t[t.ALPHA_BITS=3413]="ALPHA_BITS",t[t.DEPTH_BITS=3414]="DEPTH_BITS",t[t.STENCIL_BITS=3415]="STENCIL_BITS",t[t.POLYGON_OFFSET_UNITS=10752]="POLYGON_OFFSET_UNITS",t[t.POLYGON_OFFSET_FACTOR=32824]="POLYGON_OFFSET_FACTOR",t[t.TEXTURE_BINDING_2D=32873]="TEXTURE_BINDING_2D",t[t.SAMPLE_BUFFERS=32936]="SAMPLE_BUFFERS",t[t.SAMPLES=32937]="SAMPLES",t[t.SAMPLE_COVERAGE_VALUE=32938]="SAMPLE_COVERAGE_VALUE",t[t.SAMPLE_COVERAGE_INVERT=32939]="SAMPLE_COVERAGE_INVERT",t[t.COMPRESSED_TEXTURE_FORMATS=34467]="COMPRESSED_TEXTURE_FORMATS",t[t.DONT_CARE=4352]="DONT_CARE",t[t.FASTEST=4353]="FASTEST",t[t.NICEST=4354]="NICEST",t[t.GENERATE_MIPMAP_HINT=33170]="GENERATE_MIPMAP_HINT",t[t.BYTE=5120]="BYTE",t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.SHORT=5122]="SHORT",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.INT=5124]="INT",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.FLOAT=5126]="FLOAT",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.ALPHA=6406]="ALPHA",t[t.RGB=6407]="RGB",t[t.RGBA=6408]="RGBA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.FRAGMENT_SHADER=35632]="FRAGMENT_SHADER",t[t.VERTEX_SHADER=35633]="VERTEX_SHADER",t[t.MAX_VERTEX_ATTRIBS=34921]="MAX_VERTEX_ATTRIBS",t[t.MAX_VERTEX_UNIFORM_VECTORS=36347]="MAX_VERTEX_UNIFORM_VECTORS",t[t.MAX_VARYING_VECTORS=36348]="MAX_VARYING_VECTORS",t[t.MAX_COMBINED_TEXTURE_IMAGE_UNITS=35661]="MAX_COMBINED_TEXTURE_IMAGE_UNITS",t[t.MAX_VERTEX_TEXTURE_IMAGE_UNITS=35660]="MAX_VERTEX_TEXTURE_IMAGE_UNITS",t[t.MAX_TEXTURE_IMAGE_UNITS=34930]="MAX_TEXTURE_IMAGE_UNITS",t[t.MAX_FRAGMENT_UNIFORM_VECTORS=36349]="MAX_FRAGMENT_UNIFORM_VECTORS",t[t.SHADER_TYPE=35663]="SHADER_TYPE",t[t.DELETE_STATUS=35712]="DELETE_STATUS",t[t.LINK_STATUS=35714]="LINK_STATUS",t[t.VALIDATE_STATUS=35715]="VALIDATE_STATUS",t[t.ATTACHED_SHADERS=35717]="ATTACHED_SHADERS",t[t.ACTIVE_UNIFORMS=35718]="ACTIVE_UNIFORMS",t[t.ACTIVE_ATTRIBUTES=35721]="ACTIVE_ATTRIBUTES",t[t.SHADING_LANGUAGE_VERSION=35724]="SHADING_LANGUAGE_VERSION",t[t.CURRENT_PROGRAM=35725]="CURRENT_PROGRAM",t[t.NEVER=512]="NEVER",t[t.LESS=513]="LESS",t[t.EQUAL=514]="EQUAL",t[t.LEQUAL=515]="LEQUAL",t[t.GREATER=516]="GREATER",t[t.NOTEQUAL=517]="NOTEQUAL",t[t.GEQUAL=518]="GEQUAL",t[t.ALWAYS=519]="ALWAYS",t[t.KEEP=7680]="KEEP",t[t.REPLACE=7681]="REPLACE",t[t.INCR=7682]="INCR",t[t.DECR=7683]="DECR",t[t.INVERT=5386]="INVERT",t[t.INCR_WRAP=34055]="INCR_WRAP",t[t.DECR_WRAP=34056]="DECR_WRAP",t[t.VENDOR=7936]="VENDOR",t[t.RENDERER=7937]="RENDERER",t[t.VERSION=7938]="VERSION",t[t.NEAREST=9728]="NEAREST",t[t.LINEAR=9729]="LINEAR",t[t.NEAREST_MIPMAP_NEAREST=9984]="NEAREST_MIPMAP_NEAREST",t[t.LINEAR_MIPMAP_NEAREST=9985]="LINEAR_MIPMAP_NEAREST",t[t.NEAREST_MIPMAP_LINEAR=9986]="NEAREST_MIPMAP_LINEAR",t[t.LINEAR_MIPMAP_LINEAR=9987]="LINEAR_MIPMAP_LINEAR",t[t.TEXTURE_MAG_FILTER=10240]="TEXTURE_MAG_FILTER",t[t.TEXTURE_MIN_FILTER=10241]="TEXTURE_MIN_FILTER",t[t.TEXTURE_WRAP_S=10242]="TEXTURE_WRAP_S",t[t.TEXTURE_WRAP_T=10243]="TEXTURE_WRAP_T",t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE=5890]="TEXTURE",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_BINDING_CUBE_MAP=34068]="TEXTURE_BINDING_CUBE_MAP",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",t[t.MAX_CUBE_MAP_TEXTURE_SIZE=34076]="MAX_CUBE_MAP_TEXTURE_SIZE",t[t.TEXTURE0=33984]="TEXTURE0",t[t.TEXTURE1=33985]="TEXTURE1",t[t.TEXTURE2=33986]="TEXTURE2",t[t.TEXTURE3=33987]="TEXTURE3",t[t.TEXTURE4=33988]="TEXTURE4",t[t.TEXTURE5=33989]="TEXTURE5",t[t.TEXTURE6=33990]="TEXTURE6",t[t.TEXTURE7=33991]="TEXTURE7",t[t.TEXTURE8=33992]="TEXTURE8",t[t.TEXTURE9=33993]="TEXTURE9",t[t.TEXTURE10=33994]="TEXTURE10",t[t.TEXTURE11=33995]="TEXTURE11",t[t.TEXTURE12=33996]="TEXTURE12",t[t.TEXTURE13=33997]="TEXTURE13",t[t.TEXTURE14=33998]="TEXTURE14",t[t.TEXTURE15=33999]="TEXTURE15",t[t.TEXTURE16=34e3]="TEXTURE16",t[t.TEXTURE17=34001]="TEXTURE17",t[t.TEXTURE18=34002]="TEXTURE18",t[t.TEXTURE19=34003]="TEXTURE19",t[t.TEXTURE20=34004]="TEXTURE20",t[t.TEXTURE21=34005]="TEXTURE21",t[t.TEXTURE22=34006]="TEXTURE22",t[t.TEXTURE23=34007]="TEXTURE23",t[t.TEXTURE24=34008]="TEXTURE24",t[t.TEXTURE25=34009]="TEXTURE25",t[t.TEXTURE26=34010]="TEXTURE26",t[t.TEXTURE27=34011]="TEXTURE27",t[t.TEXTURE28=34012]="TEXTURE28",t[t.TEXTURE29=34013]="TEXTURE29",t[t.TEXTURE30=34014]="TEXTURE30",t[t.TEXTURE31=34015]="TEXTURE31",t[t.ACTIVE_TEXTURE=34016]="ACTIVE_TEXTURE",t[t.REPEAT=10497]="REPEAT",t[t.CLAMP_TO_EDGE=33071]="CLAMP_TO_EDGE",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",t[t.FLOAT_VEC2=35664]="FLOAT_VEC2",t[t.FLOAT_VEC3=35665]="FLOAT_VEC3",t[t.FLOAT_VEC4=35666]="FLOAT_VEC4",t[t.INT_VEC2=35667]="INT_VEC2",t[t.INT_VEC3=35668]="INT_VEC3",t[t.INT_VEC4=35669]="INT_VEC4",t[t.BOOL=35670]="BOOL",t[t.BOOL_VEC2=35671]="BOOL_VEC2",t[t.BOOL_VEC3=35672]="BOOL_VEC3",t[t.BOOL_VEC4=35673]="BOOL_VEC4",t[t.FLOAT_MAT2=35674]="FLOAT_MAT2",t[t.FLOAT_MAT3=35675]="FLOAT_MAT3",t[t.FLOAT_MAT4=35676]="FLOAT_MAT4",t[t.SAMPLER_2D=35678]="SAMPLER_2D",t[t.SAMPLER_CUBE=35680]="SAMPLER_CUBE",t[t.VERTEX_ATTRIB_ARRAY_ENABLED=34338]="VERTEX_ATTRIB_ARRAY_ENABLED",t[t.VERTEX_ATTRIB_ARRAY_SIZE=34339]="VERTEX_ATTRIB_ARRAY_SIZE",t[t.VERTEX_ATTRIB_ARRAY_STRIDE=34340]="VERTEX_ATTRIB_ARRAY_STRIDE",t[t.VERTEX_ATTRIB_ARRAY_TYPE=34341]="VERTEX_ATTRIB_ARRAY_TYPE",t[t.VERTEX_ATTRIB_ARRAY_NORMALIZED=34922]="VERTEX_ATTRIB_ARRAY_NORMALIZED",t[t.VERTEX_ATTRIB_ARRAY_POINTER=34373]="VERTEX_ATTRIB_ARRAY_POINTER",t[t.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING=34975]="VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",t[t.COMPILE_STATUS=35713]="COMPILE_STATUS",t[t.LOW_FLOAT=36336]="LOW_FLOAT",t[t.MEDIUM_FLOAT=36337]="MEDIUM_FLOAT",t[t.HIGH_FLOAT=36338]="HIGH_FLOAT",t[t.LOW_INT=36339]="LOW_INT",t[t.MEDIUM_INT=36340]="MEDIUM_INT",t[t.HIGH_INT=36341]="HIGH_INT",t[t.FRAMEBUFFER=36160]="FRAMEBUFFER",t[t.RENDERBUFFER=36161]="RENDERBUFFER",t[t.RGBA4=32854]="RGBA4",t[t.RGB5_A1=32855]="RGB5_A1",t[t.RGB565=36194]="RGB565",t[t.DEPTH_COMPONENT16=33189]="DEPTH_COMPONENT16",t[t.STENCIL_INDEX=6401]="STENCIL_INDEX",t[t.STENCIL_INDEX8=36168]="STENCIL_INDEX8",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL",t[t.RENDERBUFFER_WIDTH=36162]="RENDERBUFFER_WIDTH",t[t.RENDERBUFFER_HEIGHT=36163]="RENDERBUFFER_HEIGHT",t[t.RENDERBUFFER_INTERNAL_FORMAT=36164]="RENDERBUFFER_INTERNAL_FORMAT",t[t.RENDERBUFFER_RED_SIZE=36176]="RENDERBUFFER_RED_SIZE",t[t.RENDERBUFFER_GREEN_SIZE=36177]="RENDERBUFFER_GREEN_SIZE",t[t.RENDERBUFFER_BLUE_SIZE=36178]="RENDERBUFFER_BLUE_SIZE",t[t.RENDERBUFFER_ALPHA_SIZE=36179]="RENDERBUFFER_ALPHA_SIZE",t[t.RENDERBUFFER_DEPTH_SIZE=36180]="RENDERBUFFER_DEPTH_SIZE",t[t.RENDERBUFFER_STENCIL_SIZE=36181]="RENDERBUFFER_STENCIL_SIZE",t[t.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE=36048]="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",t[t.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME=36049]="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",t[t.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL=36050]="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",t[t.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE=36051]="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",t[t.COLOR_ATTACHMENT0=36064]="COLOR_ATTACHMENT0",t[t.DEPTH_ATTACHMENT=36096]="DEPTH_ATTACHMENT",t[t.STENCIL_ATTACHMENT=36128]="STENCIL_ATTACHMENT",t[t.DEPTH_STENCIL_ATTACHMENT=33306]="DEPTH_STENCIL_ATTACHMENT",t[t.NONE=0]="NONE",t[t.FRAMEBUFFER_COMPLETE=36053]="FRAMEBUFFER_COMPLETE",t[t.FRAMEBUFFER_INCOMPLETE_ATTACHMENT=36054]="FRAMEBUFFER_INCOMPLETE_ATTACHMENT",t[t.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT=36055]="FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",t[t.FRAMEBUFFER_INCOMPLETE_DIMENSIONS=36057]="FRAMEBUFFER_INCOMPLETE_DIMENSIONS",t[t.FRAMEBUFFER_UNSUPPORTED=36061]="FRAMEBUFFER_UNSUPPORTED",t[t.FRAMEBUFFER_BINDING=36006]="FRAMEBUFFER_BINDING",t[t.RENDERBUFFER_BINDING=36007]="RENDERBUFFER_BINDING",t[t.MAX_RENDERBUFFER_SIZE=34024]="MAX_RENDERBUFFER_SIZE",t[t.INVALID_FRAMEBUFFER_OPERATION=1286]="INVALID_FRAMEBUFFER_OPERATION",t[t.UNPACK_FLIP_Y_WEBGL=37440]="UNPACK_FLIP_Y_WEBGL",t[t.UNPACK_PREMULTIPLY_ALPHA_WEBGL=37441]="UNPACK_PREMULTIPLY_ALPHA_WEBGL",t[t.CONTEXT_LOST_WEBGL=37442]="CONTEXT_LOST_WEBGL",t[t.UNPACK_COLORSPACE_CONVERSION_WEBGL=37443]="UNPACK_COLORSPACE_CONVERSION_WEBGL",t[t.BROWSER_DEFAULT_WEBGL=37444]="BROWSER_DEFAULT_WEBGL",t[t.COPY_SRC=1]="COPY_SRC",t[t.COPY_DST=2]="COPY_DST",t[t.SAMPLED=4]="SAMPLED",t[t.STORAGE=8]="STORAGE",t[t.RENDER_ATTACHMENT=16]="RENDER_ATTACHMENT"}(r||(r={}))},kCNo:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MESSAGE=e.ALGORITHM=void 0;e.ALGORITHM={pageRank:"pageRank",breadthFirstSearch:"breadthFirstSearch",connectedComponent:"connectedComponent",depthFirstSearch:"depthFirstSearch",detectCycle:"detectCycle",detectDirectedCycle:"detectDirectedCycle",detectAllCycles:"detectAllCycles",detectAllDirectedCycle:"detectAllDirectedCycle",detectAllUndirectedCycle:"detectAllUndirectedCycle",dijkstra:"dijkstra",findAllPath:"findAllPath",findShortestPath:"findShortestPath",floydWarshall:"floydWarshall",getAdjMatrix:"getAdjMatrix",getDegree:"getDegree",getInDegree:"getInDegree",getNeighbors:"getNeighbors",getOutDegree:"getOutDegree",labelPropagation:"labelPropagation",louvain:"louvain",GADDI:"GADDI",minimumSpanningTree:"minimumSpanningTree",SUCCESS:"SUCCESS",FAILURE:"FAILURE"};e.MESSAGE={SUCCESS:"SUCCESS",FAILURE:"FAILURE"}},kQ6e:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isArray=void 0,e.isArray=Array.isArray},kVRr:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VACANT_NODE_LABEL=e.VACANT_NODE_ID=e.VACANT_GRAPH_ID=e.VACANT_EDGE_LABEL=e.VACANT_EDGE_ID=e.Node=e.Graph=e.Edge=e.AUTO_EDGE_ID=void 0;var r=-1;e.VACANT_EDGE_ID=r;var i=-1;e.VACANT_NODE_ID=i;var o="-1";e.VACANT_EDGE_LABEL=o;var a="-1";e.VACANT_NODE_LABEL=a;e.VACANT_GRAPH_ID=-1;e.AUTO_EDGE_ID="-1";var s=function(){return function(t,e,n,a){void 0===t&&(t=r),void 0===e&&(e=i),void 0===n&&(n=i),void 0===a&&(a=o),this.id=t,this.from=e,this.to=n,this.label=a}}();e.Edge=s;var u=function(){function t(t,e){void 0===t&&(t=i),void 0===e&&(e=a),this.id=t,this.label=e,this.edges=[],this.edgeMap={}}return t.prototype.addEdge=function(t){this.edges.push(t),this.edgeMap[t.id]=t},t}();e.Node=u;var c=function(){function t(t,e,n){void 0===t&&(t=i),void 0===e&&(e=!0),void 0===n&&(n=!1),this.id=t,this.edgeIdAutoIncrease=e,this.edges=[],this.nodes=[],this.nodeMap={},this.edgeMap={},this.nodeLabelMap={},this.edgeLabelMap={},this.counter=0,this.directed=n}return t.prototype.getNodeNum=function(){return this.nodes.length},t.prototype.addNode=function(t,e){if(!this.nodeMap[t]){var n=new u(t,e);this.nodes.push(n),this.nodeMap[t]=n,this.nodeLabelMap[e]||(this.nodeLabelMap[e]=[]),this.nodeLabelMap[e].push(t)}},t.prototype.addEdge=function(t,e,n,r){if((this.edgeIdAutoIncrease||void 0===t)&&(t=this.counter++),!(this.nodeMap[e]&&this.nodeMap[n]&&this.nodeMap[n].edgeMap[t])){var i=new s(t,e,n,r);if(this.edges.push(i),this.edgeMap[t]=i,this.nodeMap[e].addEdge(i),this.edgeLabelMap[r]||(this.edgeLabelMap[r]=[]),this.edgeLabelMap[r].push(i),!this.directed){var o=new s(t,n,e,r);this.nodeMap[n].addEdge(o),this.edgeLabelMap[r].push(o)}}},t}();e.Graph=c},kafh:function(t,e,n){var r=n("+sJh"),i=n("4Hkj"),o=n("t8N9"),a=n("cGwC"),s=n("a8Yn"),u=[0,0];t.exports.computeMiter=function(t,e,n,a,c){return r(t,n,a),o(t,t),i(e,-t[1],t[0]),i(u,-n[1],n[0]),c/s(e,u)},t.exports.normal=function(t,e){return i(t,-e[1],e[0]),t},t.exports.direction=function(t,e,n){return a(t,e,n),o(t,t),t}},kfnj:function(t,e,n){"use strict";n.d(e,"a",function(){return D});var r,i,o,a,s,u,c,l,f,h,d,p,g,v=n("o0o1"),y=n.n(v),m=n("yXPU"),b=n.n(m),x=n("yG8O"),w=n.n(x),_=n("lwsE"),E=n.n(_),S=n("W8MJ"),M=n.n(S),O=n("U+yc"),k=n.n(O),A=(n("1ABj"),n("IOcx")),C=n("4cb6"),I=n("+uE7"),T=n("qfsk"),N=n("+xCn");function P(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return j(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0)return T.b.OUTSIDE;A.e.dot(u,t.getPositiveFarPoint(n[i]))+c>0&&(r|=a)}}return r}}]),t}(),f=k()(l.prototype,"mesh",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=k()(l.prototype,"cullable",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=k()(l.prototype,"geometry",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=k()(l.prototype,"hierarchy",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=k()(l.prototype,"transform",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=l))||c)},knzT:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.ERLayout=void 0;var o=n("W8mN"),a=i(n("YJiH")),s=function(t){function e(e){var n=t.call(this)||this;return n.width=300,n.height=300,n.nodeMinGap=50,n.onLayoutEnd=function(){},e&&n.updateCfg(e),n}return r(e,t),e.prototype.getDefaultCfg=function(){return{width:300,height:300,nodeMinGap:50}},e.prototype.execute=function(){var t=this,e=t.nodes,n=t.edges;return null===e||void 0===e||e.forEach(function(t){t.size||(t.size=[50,50])}),(0,a.default)({nodes:e,edges:n},{width:this.width,height:this.height,nodeMinGap:this.nodeMinGap}).then(function(){t.onLayoutEnd&&t.onLayoutEnd()})},e.prototype.getType=function(){return"er"},e}(o.Base);e.ERLayout=s},lSNA:function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},liZ3:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){for(var e,n,r=[],o=function(){var o=t.pop();r.push(o),null===(e=o.in.reverse())||void 0===e||e.forEach(function(t){return function(t){return function(e){e.merged||(void 0===e.barycenter||void 0===t.barycenter||e.barycenter>=t.barycenter)&&i(t,e)}}(o)(t)}),null===(n=o.out)||void 0===n||n.forEach(function(e){return function(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}(o)(e)})};null===t||void 0===t?void 0:t.length;)o();var a=["vs","i","barycenter","weight"];return r.filter(function(t){return!t.merged}).map(function(t){var e={};return null===a||void 0===a||a.forEach(function(n){void 0!==t[n]&&(e[n]=t[n])}),e})},i=function(t,e){var n,r=0,i=0;t.weight&&(r+=t.barycenter*t.weight,i+=t.weight),e.weight&&(r+=e.barycenter*e.weight,i+=e.weight),t.vs=null===(n=e.vs)||void 0===n?void 0:n.concat(t.vs),t.barycenter=r/i,t.weight=i,t.i=Math.min(e.i,t.i),e.merged=!0};e.default=function(t,e){var n,i,o,a={};null===t||void 0===t||t.forEach(function(t,e){a[t.v]={i:e,indegree:0,in:[],out:[],vs:[t.v]};var n=a[t.v];void 0!==t.barycenter&&(n.barycenter=t.barycenter,n.weight=t.weight)}),null===(n=e.edges())||void 0===n||n.forEach(function(t){var e=a[t.v],n=a[t.w];void 0!==e&&void 0!==n&&(n.indegree++,e.out.push(a[t.w]))});var s=null===(o=(i=Object.values(a)).filter)||void 0===o?void 0:o.call(i,function(t){return!t.indegree});return r(s)}},ljNz:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r="undefined"!=typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent)},ls82:function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function c(t,e,n,r){var i=e&&e.prototype instanceof v?e:v,o=Object.create(i.prototype),a=new A(r||[]);return o._invoke=function(t,e,n){var r=f;return function(i,o){if(r===d)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return I()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var u=l(t,e,n);if("normal"===u.type){if(r=n.done?p:h,u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=p,n.method="throw",n.arg=u.arg)}}}(t,n,a),o}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",g={};function v(){}function y(){}function m(){}var b={};u(b,o,function(){return this});var x=Object.getPrototypeOf,w=x&&x(x(C([])));w&&w!==n&&r.call(w,o)&&(b=w);var _=m.prototype=v.prototype=Object.create(b);function E(t){["next","throw","return"].forEach(function(e){u(t,e,function(t){return this._invoke(e,t)})})}function S(t,e){var n;this._invoke=function(i,o){function a(){return new e(function(n,a){!function n(i,o,a,s){var u=l(t[i],t,o);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==typeof f&&r.call(f,"__await")?e.resolve(f.__await).then(function(t){n("next",t,a,s)},function(t){n("throw",t,a,s)}):e.resolve(f).then(function(t){c.value=t,a(c)},function(t){return n("throw",t,a,s)})}s(u.arg)}(i,o,n,a)})}return n=n?n.then(a,a):a()}}function M(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,M(t,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var i=l(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function C(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;k(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},lwsE:function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},m0LI:function(t,e){t.exports=function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}},t.exports.__esModule=!0,t.exports.default=t.exports},m5Yo:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("mrSG"),i=n("iTfj"),o=n("3P6T"),a=function(t,e,n,r){var i=t.nodes,a=void 0===i?[]:i,u=t.edges,c=void 0===u?[]:u,l=[],f={},h={},d={};a.forEach(function(t,n){var r=t.id;l.push(r),h[r]=1/0,r===e&&(h[r]=0)});for(var p=a.length,g=function(t){var e=function(t,e,n){for(var r,i=1/0,o=0;oh[e.id]+s?(h[a]=h[e.id]+s,d[a]=[e.id]):h[a]===h[e.id]+s&&d[a].push(e.id)})},v=0;v=0&&t=this._keys.length?(this._index=-1,this._keys=e,this._values=e):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},t.prototype.throw=function(t){throw this._index>=0&&(this._index=-1,this._keys=e,this._values=e),t},t.prototype.return=function(t){return this._index>=0&&(this._index=-1,this._keys=e,this._values=e),{value:t,done:!0}},t}();return function(){function e(){this._keys=[],this._values=[],this._cacheKey=t,this._cacheIndex=-2}return Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.has=function(t){return this._find(t,!1)>=0},e.prototype.get=function(t){var e=this._find(t,!1);return e>=0?this._values[e]:void 0},e.prototype.set=function(t,e){var n=this._find(t,!0);return this._values[n]=e,this},e.prototype.delete=function(e){var n=this._find(e,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i=0;--n){var r=t[n],i=r(e);if(!w(i)&&!_(i)){if(!A(i))throw new TypeError;e=i}}return e}(t,e)}if(!O(t))throw new TypeError;if(!E(e))throw new TypeError;if(!E(r)&&!w(r)&&!_(r))throw new TypeError;return _(r)&&(r=void 0),n=M(n),function(t,e,n,r){for(var i=t.length-1;i>=0;--i){var o=t[i],a=o(e,n,r);if(!w(a)&&!_(a)){if(!E(a))throw new TypeError;r=a}}return r}(t,e,n,r)}),e("metadata",function(t,e){return function(n,r){if(!E(n))throw new TypeError;if(!w(r)&&!function(t){switch(x(t)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;m(t,e,n,r)}}),e("defineMetadata",function(t,e,n,r){if(!E(n))throw new TypeError;w(r)||(r=M(r));return m(t,e,n,r)}),e("hasMetadata",function(t,e,n){if(!E(e))throw new TypeError;w(n)||(n=M(n));return function t(e,n,r){var i=v(e,n,r);if(i)return!0;var o=P(n);if(!_(o))return t(e,o,r);return!1}(t,e,n)}),e("hasOwnMetadata",function(t,e,n){if(!E(e))throw new TypeError;w(n)||(n=M(n));return v(t,e,n)}),e("getMetadata",function(t,e,n){if(!E(e))throw new TypeError;w(n)||(n=M(n));return function t(e,n,r){var i=v(e,n,r);if(i)return y(e,n,r);var o=P(n);if(!_(o))return t(e,o,r);return}(t,e,n)}),e("getOwnMetadata",function(t,e,n){if(!E(e))throw new TypeError;w(n)||(n=M(n));return y(t,e,n)}),e("getMetadataKeys",function(t,e){if(!E(t))throw new TypeError;w(e)||(e=M(e));return function t(e,n){var r=b(e,n);var i=P(e);if(null===i)return r;var o=t(i,n);if(o.length<=0)return r;if(r.length<=0)return o;var a=new d;var s=[];for(var u=0,c=r;u0)return!0;var i=p.get(e);return i.delete(n),i.size>0||(p.delete(e),!0)})}(o)}()}(n||(n={}))}).call(this,n("8oxB"),n("yLpj"))},mOLT:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findShortestPath=e.findAllPath=void 0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n("m5Yo")),i=n("3P6T");e.findShortestPath=function(t,e,n,i,o){var a=(0,r.default)(t,e,i,o),s=a.length,u=a.path,c=a.allPath;return{length:s[n],path:u[n],allPath:c[n]}};e.findAllPath=function(t,e,n,r){var o;if(e===n)return[[e]];var a=t.edges,s=void 0===a?[]:a,u=[e],c=((o={})[e]=!0,o),l=[],f=[],h=r?(0,i.getNeighbors)(e,s,"target"):(0,i.getNeighbors)(e,s);for(l.push(h);u.length>0&&l.length>0;){var d=l[l.length-1];if(d.length){var p=d.shift();if(p&&(u.push(p),c[p]=!0,h=r?(0,i.getNeighbors)(p,s,"target"):(0,i.getNeighbors)(p,s),l.push(h.filter(function(t){return!c[t]}))),u[u.length-1]===n){var g=u.map(function(t){return t});f.push(g),v=u.pop(),c[v]=!1,l.pop()}}else{var v=u.pop();c[v]=!1,l.pop()}}return f}},miQf:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.GridLayout=void 0;var i=n("8nGZ"),o=function(t){function e(e){var n=t.call(this)||this;return n.begin=[0,0],n.preventOverlap=!0,n.preventOverlapPadding=10,n.condense=!1,n.sortBy="degree",n.nodes=[],n.edges=[],n.width=300,n.height=300,n.row=0,n.col=0,n.cellWidth=0,n.cellHeight=0,n.cellUsed={},n.id2manPos={},n.onLayoutEnd=function(){},n.updateCfg(e),n}return r(e,t),e.prototype.getDefaultCfg=function(){return{begin:[0,0],preventOverlap:!0,preventOverlapPadding:10,condense:!1,rows:void 0,cols:void 0,position:void 0,sortBy:"degree",nodeSize:30}},e.prototype.execute=function(){var t=this,e=t.nodes,n=t.edges,r=t.begin,o=e.length;if(0===o)return t.onLayoutEnd&&t.onLayoutEnd(),{nodes:e,edges:n};if(1===o)return e[0].x=r[0],e[0].y=r[1],t.onLayoutEnd&&t.onLayoutEnd(),{nodes:e,edges:n};var a=t.sortBy,s=t.width,u=t.height,c=t.condense,l=t.preventOverlapPadding,f=t.preventOverlap,h=t.nodeSpacing,d=t.nodeSize,p=[];e.forEach(function(t){p.push(t)});var g={};if(p.forEach(function(t,e){g[t.id]=e}),("degree"===a||!(0,i.isString)(a)||void 0===p[0][a])&&(a="degree",(0,i.isNaN)(e[0].degree))){var v=(0,i.getDegree)(p.length,g,n);p.forEach(function(t,e){t.degree=v[e]})}p.sort(function(t,e){return e[a]-t[a]}),s||"undefined"==typeof window||(s=window.innerWidth),u||"undefined"==typeof window||(u=window.innerHeight);var y=t.rows,m=null!=t.cols?t.cols:t.columns;if(t.cells=o,null!=y&&null!=m?(t.rows=y,t.cols=m):null!=y&&null==m?(t.rows=y,t.cols=Math.ceil(t.cells/t.rows)):null==y&&null!=m?(t.cols=m,t.rows=Math.ceil(t.cells/t.cols)):(t.splits=Math.sqrt(t.cells*t.height/t.width),t.rows=Math.round(t.splits),t.cols=Math.round(t.width/t.height*t.splits)),t.cols*t.rows>t.cells)((x=t.small())-1)*(b=t.large())>=t.cells?t.small(x-1):(b-1)*x>=t.cells&&t.large(b-1);else for(;t.cols*t.rows=t.cells?t.large(b+1):t.small(x+1)}if(t.cellWidth=s/t.cols,t.cellHeight=u/t.rows,c&&(t.cellWidth=0,t.cellHeight=0),f||h){var w=(0,i.getFuncByUnknownType)(10,h),_=(0,i.getFuncByUnknownType)(30,d,!1);p.forEach(function(e){e.x&&e.y||(e.x=0,e.y=0);var n=_(e),r=n[0],i=void 0===r?30:r,o=n[1],a=void 0===o?30:o,s=void 0!==w?w(e):l,u=i+s,c=a+s;t.cellWidth=Math.max(t.cellWidth,u),t.cellHeight=Math.max(t.cellHeight,c)})}t.cellUsed={},t.row=0,t.col=0,t.id2manPos={};for(var E=0;E=t&&(this.col=0,this.row++)},e.prototype.getPos=function(t){var e,n,r=this.begin,i=this.cellWidth,o=this.cellHeight,a=this.id2manPos[t.id];if(a)e=a.col*i+i/2+r[0],n=a.row*o+o/2+r[1];else{for(;this.used(this.row,this.col);)this.moveToNextCell();e=this.col*i+i/2+r[0],n=this.row*o+o/2+r[1],this.use(this.row,this.col),this.moveToNextCell()}t.x=e,t.y=n},e.prototype.getType=function(){return"grid"},e}(n("W8mN").Base);e.GridLayout=o},mrSG:function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",function(){return i}),n.d(e,"__assign",function(){return o}),n.d(e,"__rest",function(){return a}),n.d(e,"__decorate",function(){return s}),n.d(e,"__param",function(){return u}),n.d(e,"__metadata",function(){return c}),n.d(e,"__awaiter",function(){return l}),n.d(e,"__generator",function(){return f}),n.d(e,"__createBinding",function(){return h}),n.d(e,"__exportStar",function(){return d}),n.d(e,"__values",function(){return p}),n.d(e,"__read",function(){return g}),n.d(e,"__spread",function(){return v}),n.d(e,"__spreadArrays",function(){return y}),n.d(e,"__spreadArray",function(){return m}),n.d(e,"__await",function(){return b}),n.d(e,"__asyncGenerator",function(){return x}),n.d(e,"__asyncDelegator",function(){return w}),n.d(e,"__asyncValues",function(){return _}),n.d(e,"__makeTemplateObject",function(){return E}),n.d(e,"__importStar",function(){return M}),n.d(e,"__importDefault",function(){return O}),n.d(e,"__classPrivateFieldGet",function(){return k}),n.d(e,"__classPrivateFieldSet",function(){return A}); -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */ -var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){return function(n,r){e(n,r,t)}}function c(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){t.done?i(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(a,s)}u((r=r.apply(t,e||[])).next())})}function f(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function v(){for(var t=[],e=0;e1||s(t,e)})})}function s(t,e){try{!function(t){t.value instanceof b?Promise.resolve(t.value.v).then(u,c):l(o[0][2],t)}(i[t](e))}catch(t){l(o[0][3],t)}}function u(t){s("next",t)}function c(t){s("throw",t)}function l(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}}function w(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:b(t[r](e)),done:"return"===r}:i?i(e):e}:i}}function _(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=p(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,i){(function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)})(r,i,(e=t[n](e)).done,e.value)})}}}function E(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var S=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function M(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&h(e,t,n);return S(e,t),e}function O(t){return t&&t.__esModule?t:{default:t}}function k(t,e,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)}function A(t,e,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(t,n):i?i.value=n:e.set(t,n),n}},"n+fv":function(t,e,n){"use strict";n.r(e),n.d(e,"create",function(){return i}),n.d(e,"clone",function(){return o}),n.d(e,"length",function(){return a}),n.d(e,"fromValues",function(){return s}),n.d(e,"copy",function(){return u}),n.d(e,"set",function(){return c}),n.d(e,"add",function(){return l}),n.d(e,"subtract",function(){return f}),n.d(e,"multiply",function(){return h}),n.d(e,"divide",function(){return d}),n.d(e,"ceil",function(){return p}),n.d(e,"floor",function(){return g}),n.d(e,"min",function(){return v}),n.d(e,"max",function(){return y}),n.d(e,"round",function(){return m}),n.d(e,"scale",function(){return b}),n.d(e,"scaleAndAdd",function(){return x}),n.d(e,"distance",function(){return w}),n.d(e,"squaredDistance",function(){return _}),n.d(e,"squaredLength",function(){return E}),n.d(e,"negate",function(){return S}),n.d(e,"inverse",function(){return M}),n.d(e,"normalize",function(){return O}),n.d(e,"dot",function(){return k}),n.d(e,"cross",function(){return A}),n.d(e,"lerp",function(){return C}),n.d(e,"hermite",function(){return I}),n.d(e,"bezier",function(){return T}),n.d(e,"random",function(){return N}),n.d(e,"transformMat4",function(){return P}),n.d(e,"transformMat3",function(){return j}),n.d(e,"transformQuat",function(){return D}),n.d(e,"rotateX",function(){return L}),n.d(e,"rotateY",function(){return R}),n.d(e,"rotateZ",function(){return B}),n.d(e,"angle",function(){return G}),n.d(e,"zero",function(){return F}),n.d(e,"str",function(){return z}),n.d(e,"exactEquals",function(){return U}),n.d(e,"equals",function(){return W}),n.d(e,"sub",function(){return V}),n.d(e,"mul",function(){return X}),n.d(e,"div",function(){return Y}),n.d(e,"dist",function(){return H}),n.d(e,"sqrDist",function(){return q}),n.d(e,"len",function(){return K}),n.d(e,"sqrLen",function(){return Z}),n.d(e,"forEach",function(){return Q});var r=n("yU0y");function i(){var t=new r.a(3);return r.a!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t}function o(t){var e=new r.a(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(t){var e=t[0],n=t[1],r=t[2];return Math.hypot(e,n,r)}function s(t,e,n){var i=new r.a(3);return i[0]=t,i[1]=e,i[2]=n,i}function u(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function c(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function l(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function f(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function h(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function d(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function p(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t}function g(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t}function v(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function y(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function m(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t}function b(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function x(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function w(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return Math.hypot(n,r,i)}function _(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return n*n+r*r+i*i}function E(t){var e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function S(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function M(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function O(t,e){var n=e[0],r=e[1],i=e[2],o=n*n+r*r+i*i;return o>0&&(o=1/Math.sqrt(o)),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o,t}function k(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function A(t,e,n){var r=e[0],i=e[1],o=e[2],a=n[0],s=n[1],u=n[2];return t[0]=i*u-o*s,t[1]=o*a-r*u,t[2]=r*s-i*a,t}function C(t,e,n,r){var i=e[0],o=e[1],a=e[2];return t[0]=i+r*(n[0]-i),t[1]=o+r*(n[1]-o),t[2]=a+r*(n[2]-a),t}function I(t,e,n,r,i,o){var a=o*o,s=a*(2*o-3)+1,u=a*(o-2)+o,c=a*(o-1),l=a*(3-2*o);return t[0]=e[0]*s+n[0]*u+r[0]*c+i[0]*l,t[1]=e[1]*s+n[1]*u+r[1]*c+i[1]*l,t[2]=e[2]*s+n[2]*u+r[2]*c+i[2]*l,t}function T(t,e,n,r,i,o){var a=1-o,s=a*a,u=o*o,c=s*a,l=3*o*s,f=3*u*a,h=u*o;return t[0]=e[0]*c+n[0]*l+r[0]*f+i[0]*h,t[1]=e[1]*c+n[1]*l+r[1]*f+i[1]*h,t[2]=e[2]*c+n[2]*l+r[2]*f+i[2]*h,t}function N(t,e){e=e||1;var n=2*r.c()*Math.PI,i=2*r.c()-1,o=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(n)*o,t[1]=Math.sin(n)*o,t[2]=i*e,t}function P(t,e,n){var r=e[0],i=e[1],o=e[2],a=n[3]*r+n[7]*i+n[11]*o+n[15];return a=a||1,t[0]=(n[0]*r+n[4]*i+n[8]*o+n[12])/a,t[1]=(n[1]*r+n[5]*i+n[9]*o+n[13])/a,t[2]=(n[2]*r+n[6]*i+n[10]*o+n[14])/a,t}function j(t,e,n){var r=e[0],i=e[1],o=e[2];return t[0]=r*n[0]+i*n[3]+o*n[6],t[1]=r*n[1]+i*n[4]+o*n[7],t[2]=r*n[2]+i*n[5]+o*n[8],t}function D(t,e,n){var r=n[0],i=n[1],o=n[2],a=n[3],s=e[0],u=e[1],c=e[2],l=i*c-o*u,f=o*s-r*c,h=r*u-i*s,d=i*h-o*f,p=o*l-r*h,g=r*f-i*l,v=2*a;return l*=v,f*=v,h*=v,d*=2,p*=2,g*=2,t[0]=s+l+d,t[1]=u+f+p,t[2]=c+h+g,t}function L(t,e,n,r){var i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[0],o[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),o[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t}function R(t,e,n,r){var i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),o[1]=i[1],o[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t}function B(t,e,n,r){var i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),o[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),o[2]=i[2],t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t}function G(t,e){var n=t[0],r=t[1],i=t[2],o=e[0],a=e[1],s=e[2],u=Math.sqrt(n*n+r*r+i*i)*Math.sqrt(o*o+a*a+s*s),c=u&&k(t,e)/u;return Math.acos(Math.min(Math.max(c,-1),1))}function F(t){return t[0]=0,t[1]=0,t[2]=0,t}function z(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"}function U(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function W(t,e){var n=t[0],i=t[1],o=t[2],a=e[0],s=e[1],u=e[2];return Math.abs(n-a)<=r.b*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(i-s)<=r.b*Math.max(1,Math.abs(i),Math.abs(s))&&Math.abs(o-u)<=r.b*Math.max(1,Math.abs(o),Math.abs(u))}var V=f,X=h,Y=d,H=w,q=_,K=a,Z=E,Q=function(){var t=i();return function(e,n,r,i,o,a){var s,u;for(n||(n=3),r||(r=0),u=i?Math.min(i*n+r,e.length):e.length,s=r;s0&&(this.list[0]=e,this.moveDown(0)),t},t.prototype.insert=function(t){if(null!==t){this.list.push(t);var e=this.list.length-1;return this.moveUp(e),!0}return!1},t.prototype.moveUp=function(t){for(var e=this.getParent(t);t&&t>0&&this.compareFn(this.list[e],this.list[t])>0;){var n=this.list[e];this.list[e]=this.list[t],this.list[t]=n,t=e,e=this.getParent(t)}},t.prototype.moveDown=function(t){var e,n=t,r=this.getLeft(t),i=this.getRight(t),o=this.list.length;null!==r&&r0?n=r:null!==i&&i0&&(n=i),t!==n&&(e=[this.list[n],this.list[t]],this.list[t]=e[0],this.list[n]=e[1],this.moveDown(n))},t}();e.default=i},nO7B:function(t,e){},o0o1:function(t,e,n){t.exports=n("ls82")},oDt1:function(t,e,n){"use strict";n.d(e,"a",function(){return h}),n.d(e,"b",function(){return d});var r=n("o0o1"),i=n.n(r),o=n("yXPU"),a=n.n(o),s=n("W8MJ"),u=n.n(s),c=n("lwsE"),l=n.n(c),f=n("9y2T"),h=function t(e){l()(this,t)},d=function(){function t(e){l()(this,t),this.clazz=void 0,this.components=[],this.entities=[],this.lookup={},this.clazz=e}return u()(t,[{key:"clear",value:function(){this.components=[],this.entities=[],this.lookup={}}},{key:"contains",value:function(t){return this.lookup[t]>-1}},{key:"create",value:function(t,e){this.lookup[t]=this.components.length;var n=new this.clazz(e||{});return this.components.push(n),this.entities.push(t),n}},{key:"remove",value:function(t){var e=this.lookup[t];e>-1&&e-1){var n=this.entities[e];if(e-1?this.components[e]:null}},{key:"getCount",value:function(){return this.components.length}},{key:"getEntityByComponentIndex",value:function(t){for(var e=0,n=Object.keys(this.lookup);e360||t<-360?t%360:t}function v(t,e,n){return p(t)?h.e.fromValues(t,e,n):3===t.length?h.e.clone(t):h.e.fromValues(t[0],t[1],t[2])}var y,m,b,x,w,_,E,S,M,O,k=function(){function t(e,n){a()(this,t),this.name=void 0,this.matrix=void 0,this.right=void 0,this.up=void 0,this.forward=void 0,this.position=void 0,this.focalPoint=void 0,this.distanceVector=void 0,this.distance=void 0,this.dollyingStep=void 0,this.azimuth=0,this.elevation=0,this.roll=0,this.relAzimuth=0,this.relElevation=0,this.relRoll=0,this.name=e,this.matrix=h.b.clone(n.matrix),this.right=h.e.clone(n.right),this.up=h.e.clone(n.up),this.forward=h.e.clone(n.forward),this.position=h.e.clone(n.position),this.focalPoint=h.e.clone(n.focalPoint),this.distanceVector=h.e.clone(n.distanceVector),this.azimuth=n.azimuth,this.elevation=n.elevation,this.roll=n.roll,this.relAzimuth=n.relAzimuth,this.relElevation=n.relElevation,this.relRoll=n.relRoll,this.dollyingStep=n.dollyingStep,this.distance=n.distance}return u()(t,[{key:"getPosition",value:function(){return this.position}},{key:"getFocalPoint",value:function(){return this.focalPoint}},{key:"getRoll",value:function(){return this.roll}},{key:"retrieve",value:function(t){t.matrix=h.b.copy(t.matrix,this.matrix),t.right=h.e.copy(t.right,this.right),t.up=h.e.copy(t.up,this.up),t.forward=h.e.copy(t.forward,this.forward),t.position=h.e.copy(t.position,this.position),t.focalPoint=h.e.copy(t.focalPoint,this.focalPoint),t.distanceVector=h.e.copy(t.distanceVector,this.distanceVector),t.azimuth=this.azimuth,t.elevation=this.elevation,t.roll=this.roll,t.relAzimuth=this.relAzimuth,t.relElevation=this.relElevation,t.relRoll=this.relRoll,t.dollyingStep=this.dollyingStep,t.distance=this.distance}}]),t}();!function(t){t.ORBITING="ORBITING",t.EXPLORING="EXPLORING",t.TRACKING="TRACKING"}(S||(S={})),function(t){t.DEFAULT="DEFAULT",t.ROTATIONAL="ROTATIONAL",t.TRANSLATIONAL="TRANSLATIONAL",t.CINEMATIC="CINEMATIC"}(M||(M={})),function(t){t.ORTHOGRAPHIC="ORTHOGRAPHIC",t.PERSPECTIVE="PERSPECTIVE"}(O||(O={}));var A,C,I,T,N,P,j,D=Math.PI/180,L=180/Math.PI,R=(y=Object(d.injectable)(),m=Object(d.inject)(f.IDENTIFIER.InteractorService),y((E=_=function(){function t(){a()(this,t),this.matrix=h.b.create(),this.right=h.e.fromValues(1,0,0),this.up=h.e.fromValues(0,1,0),this.forward=h.e.fromValues(0,0,1),this.position=h.e.fromValues(0,0,1),this.focalPoint=h.e.fromValues(0,0,0),this.distanceVector=h.e.fromValues(0,0,0),this.distance=1,this.azimuth=0,this.elevation=0,this.roll=0,this.relAzimuth=0,this.relElevation=0,this.relRoll=0,this.dollyingStep=0,this.maxDistance=1/0,this.minDistance=-1/0,this.rotateWorld=!1,i()(this,"interactor",w,this),this.fov=30,this.near=.1,this.far=1e4,this.aspect=1,this.left=void 0,this.rright=void 0,this.top=void 0,this.bottom=void 0,this.zoom=1,this.perspective=h.b.create(),this.view=void 0,this.following=void 0,this.type=S.EXPLORING,this.trackingMode=M.DEFAULT,this.projectionMode=O.PERSPECTIVE,this.frustum=new f.Frustum,this.landmarks=[],this.landmarkAnimationID=void 0}return u()(t,[{key:"clone",value:function(){var e=new t;return e.setType(this.type,void 0),e.interactor=this.interactor,e}},{key:"getProjectionMode",value:function(){return this.projectionMode}},{key:"getPerspective",value:function(){return this.perspective}},{key:"getFrustum",value:function(){return this.frustum}},{key:"getPosition",value:function(){return this.position}},{key:"setType",value:function(t,e){return this.type=t,this.type===S.EXPLORING?this.setWorldRotation(!0):this.setWorldRotation(!1),this._getAngles(),this.type===S.TRACKING&&void 0!==e&&this.setTrackingMode(e),this}},{key:"setProjectionMode",value:function(t){return this.projectionMode=t,this}},{key:"setTrackingMode",value:function(t){if(this.type!==S.TRACKING)throw new Error("Impossible to set a tracking mode if the camera is not of tracking type");return this.trackingMode=t,this}},{key:"setWorldRotation",value:function(t){this.rotateWorld=t,this._getAngles()}},{key:"getViewTransform",value:function(){return h.b.invert(h.b.create(),this.matrix)}},{key:"getWorldTransform",value:function(){return this.matrix}},{key:"setMatrix",value:function(t){return this.matrix=t,this._update(),this}},{key:"setAspect",value:function(t){return this.setPerspective(this.near,this.far,this.fov,t),this}},{key:"setViewOffset",value:function(t,e,n,r,i,o){return this.aspect=t/e,void 0===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=e,this.view.offsetX=n,this.view.offsetY=r,this.view.width=i,this.view.height=o,this.projectionMode===O.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this}},{key:"clearViewOffset",value:function(){return void 0!==this.view&&(this.view.enabled=!1),this.projectionMode===O.PERSPECTIVE?this.setPerspective(this.near,this.far,this.fov,this.aspect):this.setOrthographic(this.left,this.rright,this.top,this.bottom,this.near,this.far),this}},{key:"setPerspective",value:function(t,e,n,r){return this.projectionMode=O.PERSPECTIVE,this.fov=n,this.near=t,this.far=e,this.aspect=r,h.b.perspective(this.perspective,this.fov*D,this.aspect,this.near,this.far),this}},{key:"setOrthographic",value:function(t,e,n,r,i,o){this.projectionMode=O.ORTHOGRAPHIC,this.rright=e,this.left=t,this.top=n,this.bottom=r,this.near=i,this.far=o;var a=(this.rright-this.left)/(2*this.zoom),s=(this.top-this.bottom)/(2*this.zoom),u=(this.rright+this.left)/2,c=(this.top+this.bottom)/2,l=u-a,f=u+a,d=c+s,p=c-s;if(void 0!==this.view&&this.view.enabled){var g=(this.rright-this.left)/this.view.fullWidth/this.zoom,v=(this.top-this.bottom)/this.view.fullHeight/this.zoom;f=(l+=g*this.view.offsetX)+g*this.view.width,p=(d-=v*this.view.offsetY)-v*this.view.height}return h.b.ortho(this.perspective,l,f,d,p,i,o),this}},{key:"setPosition",value:function(t,e,n){return this._setPosition(t,e,n),this.setFocalPoint(this.focalPoint),this}},{key:"setFocalPoint",value:function(t,e,n){var r=h.e.fromValues(0,1,0);if(this.focalPoint=v(t,e,n),this.trackingMode===M.CINEMATIC){var i=h.e.subtract(h.e.create(),this.focalPoint,this.position);t=i[0],e=i[1],n=i[2];var o=h.e.length(i),a=Math.asin(e/o)*L,s=90+Math.atan2(n,t)*L,u=h.b.create();h.b.rotateY(u,u,s*D),h.b.rotateX(u,u,a*D),r=h.e.transformMat4(h.e.create(),[0,1,0],u)}return h.b.invert(this.matrix,h.b.lookAt(h.b.create(),this.position,this.focalPoint,r)),this._getAxes(),this._getDistance(),this._getAngles(),this}},{key:"setDistance",value:function(t){if(!(this.distance===t||t<0)){this.distance=t,this.distance<2e-4&&(this.distance=2e-4),this.dollyingStep=this.distance/100;var e=h.e.create();t=this.distance;var n=this.forward,r=this.focalPoint;return e[0]=t*n[0]+r[0],e[1]=t*n[1]+r[1],e[2]=t*n[2]+r[2],this._setPosition(e),this}}},{key:"setMaxDistance",value:function(t){return this.maxDistance=t,this}},{key:"setMinDistance",value:function(t){return this.minDistance=t,this}},{key:"changeAzimuth",value:function(t){return this.setAzimuth(this.azimuth+t),this}},{key:"changeElevation",value:function(t){return this.setElevation(this.elevation+t),this}},{key:"changeRoll",value:function(t){return this.setRoll(this.roll+t),this}},{key:"setAzimuth",value:function(t){return this.azimuth=g(t),this.computeMatrix(),this._getAxes(),this.type===S.ORBITING||this.type===S.EXPLORING?this._getPosition():this.type===S.TRACKING&&this._getFocalPoint(),this}},{key:"getAzimuth",value:function(){return this.azimuth}},{key:"setElevation",value:function(t){return this.elevation=g(t),this.computeMatrix(),this._getAxes(),this.type===S.ORBITING||this.type===S.EXPLORING?this._getPosition():this.type===S.TRACKING&&this._getFocalPoint(),this}},{key:"setRoll",value:function(t){return this.roll=g(t),this.computeMatrix(),this._getAxes(),this.type===S.ORBITING||this.type===S.EXPLORING?this._getPosition():this.type===S.TRACKING&&this._getFocalPoint(),this}},{key:"rotate",value:function(t,e,n){if(this.type===S.EXPLORING){t=g(t),e=g(e),n=g(n);var r=h.c.setAxisAngle(h.c.create(),[1,0,0],(this.rotateWorld?1:-1)*e*D),i=h.c.setAxisAngle(h.c.create(),[0,1,0],(this.rotateWorld?1:-1)*t*D),o=h.c.setAxisAngle(h.c.create(),[0,0,1],n*D),a=h.c.multiply(h.c.create(),i,r);a=h.c.multiply(h.c.create(),a,o);var s=h.b.fromQuat(h.b.create(),a);h.b.translate(this.matrix,this.matrix,[0,0,-this.distance]),h.b.multiply(this.matrix,this.matrix,s),h.b.translate(this.matrix,this.matrix,[0,0,this.distance])}else{if(Math.abs(this.elevation+e)>90)return;this.relElevation=g(e),this.relAzimuth=g(t),this.relRoll=g(n),this.elevation+=this.relElevation,this.azimuth+=this.relAzimuth,this.roll+=this.relRoll,this.computeMatrix()}return this._getAxes(),this.type===S.ORBITING||this.type===S.EXPLORING?this._getPosition():this.type===S.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(t,e){var n=v(t,e,0),r=h.e.clone(this.position);return h.e.add(r,r,h.e.scale(h.e.create(),this.right,n[0])),h.e.add(r,r,h.e.scale(h.e.create(),this.up,n[1])),this._setPosition(r),this}},{key:"dolly",value:function(t){var e=this.forward,n=h.e.clone(this.position),r=this.dollyingStep,i=this.distance+t*this.dollyingStep;return r=Math.max(Math.min(i,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*e[0],n[1]+=r*e[1],n[2]+=r*e[2],this._setPosition(n),this.type===S.ORBITING||this.type===S.EXPLORING?this._getDistance():this.type===S.TRACKING&&h.e.add(this.focalPoint,n,this.distanceVector),this}},{key:"createLandmark",value:function(t,e){var n=this.clone();n.setPosition(e.position),n.setFocalPoint(e.focalPoint),void 0!==e.roll&&n.setRoll(e.roll);var r=new k(t,n);return this.landmarks.push(r),r}},{key:"setLandmark",value:function(t){var e=new k(t,this);return this.landmarks.push(e),this}},{key:"gotoLandmark",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,r=this.landmarks.find(function(e){return e.name===t});if(r){if(0===n)return void r.retrieve(this);void 0!==this.landmarkAnimationID&&window.cancelAnimationFrame(this.landmarkAnimationID),this.interactor.disconnect();var i,o=r.getPosition(),a=r.getFocalPoint(),s=r.getRoll();window.requestAnimationFrame(function t(r){void 0===i&&(i=r);var u,c=r-i,l=(1-Math.cos(c/n*Math.PI))/2,f=h.e.create(),d=h.e.create();if(h.e.lerp(f,e.focalPoint,a,l),h.e.lerp(d,e.position,o,l),u=e.roll*(1-l)+s*l,e.setFocalPoint(f),e.setPosition(d),e.setRoll(u),e.computeMatrix(),!(h.e.dist(f,a)+h.e.dist(d,o)>.01))return e.setFocalPoint(f),e.setPosition(d),e.setRoll(u),e.computeMatrix(),void e.interactor.connect();c-1&&t%1==0&&t<=Q}(t.length)&&!!J[$.call(t)]};function ut(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function ct(t){for(var e=1;e0&&void 0!==i[0]?i[0]:1,!this.dirty){t.next=6;break}return this.compiledBundle.context&&(e>1?this.compiledBundle.context.maxIteration=e:this.compiledBundle.context.maxIteration++),t.next=5,this.compile();case 5:this.dirty=!1;case 6:for(this.engine.beginFrame(),this.engine.clear({}),this.compiledBundle.context&&this.compiledBundle.context.uniforms.filter(function(t){return t.isReferer}).forEach(function(t){var e=t.data,n=t.name;r.model.confirmInput(e.model,n)}),n=0;n-1&&t%1==0&&t<=pe}(t.length)&&!!ge[ve.call(t)]};function me(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function be(t){for(var e=1;e16)throw new Error("invalid data type ".concat(n));i[e]=function(){return t.data}}});var o=this.getOuputDataTexture(),s=o.textureWidth,u=o.texelCount;i.u_OutputTextureSize=[s,s],i.u_OutputTexelCount=u,this.context.output.textureSize=[s,s];var c={attributes:{a_Position:[[-1,1,0],[-1,-1,0],[1,1,0],[1,-1,0]],a_TexCoord:[[0,1],[0,0],[1,1],[1,0]]},frag:"#ifdef GL_FRAGMENT_PRECISION_HIGH\n precision highp float;\n#else\n precision mediump float;\n#endif\n".concat(this.context.shader),uniforms:i,vert:xe,primitive:"triangle strip",count:4};this.computeCommand=this.reGl(c)}return u()(t,[{key:"run",value:function(){var t=this;this.context.maxIteration>1&&this.context.needPingpong&&(this.compiledPingpong=!0),(this.compiledPingpong||this.dynamicPingpong)&&this.swap(),this.texFBO=this.reGl.framebuffer({color:this.getOuputDataTexture().texture}),this.texFBO.use(function(){t.computeCommand()}),_e&&console.log("[".concat(this.entity,"]: output ").concat(this.getOuputDataTexture().id))}},{key:"readData",value:function(){var t=U()(F.a.mark(function t(){var e,n,r,i,o,a,s,u,c=this;return F.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.reGl({framebuffer:this.texFBO})(function(){e=c.reGl.read()}),!e){t.next=6;break}if(n=this.getOuputDataTexture(),r=n.originalDataLength,i=n.elementsPerTexel,o=n.typedArrayConstructor,a=void 0===o?Float32Array:o,s=[],4!==i)for(u=0;u2&&void 0!==arguments[2]&&arguments[2];var n=this.context.uniforms.find(function(e){return e.name===t});if(n){var r=this.calcDataTexture(t,n.type,e),i=r.texture,o=r.data;this.textureCache[t].data=o,this.textureCache[t].texture=i}}},{key:"destroy",value:function(){}},{key:"swap",value:function(){if(this.swapOutputTextureName||this.createSwapOutputDataTexture(),this.compiledPingpong){var t=this.context.output.name;this.textureCache[t].id=this.getOuputDataTexture().id,this.textureCache[t].texture=this.getOuputDataTexture().texture}var e=this.outputTextureName;this.outputTextureName=this.swapOutputTextureName,this.swapOutputTextureName=e,_e&&console.log("[".concat(this.entity,"]: after swap, output ").concat(this.getOuputDataTexture().id))}},{key:"getOuputDataTexture",value:function(){return this.textureCache[this.outputTextureName]}},{key:"createSwapOutputDataTexture",value:function(){var t=this.cloneDataTexture(this.getOuputDataTexture());this.swapOutputTextureName="".concat(this.entity,"-swap"),this.textureCache[this.swapOutputTextureName]=t}},{key:"cloneDataTexture",value:function(t){var e=t.data,n=t.textureWidth;return be(be({},t),{},{id:we++,texture:this.reGl.texture({width:n,height:n,data:e,type:"float"})})}},{key:"calcDataTexture",value:function(t,e,n){var r=1;e===f.AST_TOKEN_TYPES.Vector4FloatArray&&(r=4);for(var i=[],o=0;o0){var i=4-r;if(n>1&&n<=i)2===n&&(3===i&&(a+=4,s.push(0)),s.push.apply(s,de()(t.data)),u.uniformGPUBufferLayout.push({name:t.name,offset:a}));else{for(var o=0;o2&&void 0!==arguments[2]?arguments[2]:0,r=this.vertexBuffers[t];r&&r.subData({data:e,offset:n})}},{key:"updateUniform",value:function(t,e){var n=this.uniformGPUBufferLayout.find(function(e){return e.name===t});n&&this.uniformBuffer.subData({data:Number.isFinite(e)?new Float32Array([e]):new Float32Array(e),offset:n.offset})}},{key:"confirmInput",value:function(t,e){var n=this.vertexBuffers[e],r=t.outputBuffer;if(n&&r&&n!==r){var i=this.engine.device.createCommandEncoder(),o=t.context.output,a=o.length*o.typedArrayConstructor.BYTES_PER_ELEMENT;i.copyBufferToBuffer(r.get(),0,n.get(),0,a),(f.isSafari?this.engine.device.getQueue():this.engine.device.defaultQueue).submit([i.finish()])}}},{key:"compileShaderToSpirV",value:function(t,e,n){return this.compileRawShaderToSpirV(n+t,e)}},{key:"compileRawShaderToSpirV",value:function(t,e){return this.engine.glslang.compileGLSL(t,e)}},{key:"compileComputePipelineStageDescriptor",value:function(){var t=U()(F.a.mark(function t(e){var n,r;return F.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e,r="#version 450\n",this.engine.options.useWGSL){t.next=6;break}return t.next=5,this.compileShaderToSpirV(e,"compute",r);case 5:n=t.sent;case 6:return t.abrupt("return",{computeStage:{module:this.engine.device.createShaderModule({code:n,isWHLSL:f.isSafari}),entryPoint:"main"}});case 7:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}()}]),t}(),Ke=function(){function t(e,n){a()(this,t),this.engine=e,this.options=n,this.indexCount=void 0,this.buffer=void 0;var r=n,i=r.data,o=(r.usage,r.type,r.count);this.indexCount=o||0,this.buffer=new Ge(e,{data:i instanceof Array?new Uint16Array(i):i,usage:X.BufferUsage.Index|X.BufferUsage.CopyDst})}return u()(t,[{key:"get",value:function(){return this.buffer}},{key:"subData",value:function(t){this.buffer.subData(t)}},{key:"destroy",value:function(){this.buffer.destroy()}}]),t}(),Ze=function(){function t(e,n){a()(this,t),this.engine=e,this.options=n,this.colorTexture=void 0,this.depthTexture=void 0,this.width=0,this.height=0;var r=n,i=(r.width,r.height,r.color),o=(r.colors,r.depth);r.stencil;i&&(this.colorTexture=i),o&&(this.depthTexture=o)}return u()(t,[{key:"get",value:function(){var t,e;return{color:null===(t=this.colorTexture)||void 0===t?void 0:t.get(),depth:null===(e=this.depthTexture)||void 0===e?void 0:e.get()}}},{key:"destroy",value:function(){var t,e;null===(t=this.colorTexture)||void 0===t||t.destroy(),null===(e=this.depthTexture)||void 0===e||e.destroy()}},{key:"resize",value:function(t){var e,n,r=t.width,i=t.height;r===this.width&&i===this.height||(null===(e=this.colorTexture)||void 0===e||e.resize({width:r,height:i}),null===(n=this.depthTexture)||void 0===n||n.resize({width:r,height:i}));this.width=r,this.height=i}}]),t}(),Qe=(ze={},V()(ze,f.gl.POINTS,X.PrimitiveTopology.PointList),V()(ze,f.gl.LINES,X.PrimitiveTopology.LineList),V()(ze,f.gl.LINE_LOOP,X.PrimitiveTopology.LineList),V()(ze,f.gl.LINE_STRIP,X.PrimitiveTopology.LineStrip),V()(ze,f.gl.TRIANGLES,X.PrimitiveTopology.TriangleList),V()(ze,f.gl.TRIANGLE_FAN,X.PrimitiveTopology.TriangleList),V()(ze,f.gl.TRIANGLE_STRIP,X.PrimitiveTopology.TriangleStrip),ze),Je=(Ue={},V()(Ue,f.gl.NEVER,X.CompareFunction.Never),V()(Ue,f.gl.ALWAYS,X.CompareFunction.Always),V()(Ue,f.gl.LESS,X.CompareFunction.Less),V()(Ue,f.gl.LEQUAL,X.CompareFunction.LessEqual),V()(Ue,f.gl.GREATER,X.CompareFunction.Greater),V()(Ue,f.gl.GEQUAL,X.CompareFunction.GreaterEqual),V()(Ue,f.gl.EQUAL,X.CompareFunction.Equal),V()(Ue,f.gl.NOTEQUAL,X.CompareFunction.NotEqual),Ue),$e=(We={},V()(We,f.gl.FUNC_ADD,X.BlendOperation.Add),V()(We,f.gl.MIN_EXT,X.BlendOperation.Min),V()(We,f.gl.MAX_EXT,X.BlendOperation.Max),V()(We,f.gl.FUNC_SUBTRACT,X.BlendOperation.Subtract),V()(We,f.gl.FUNC_REVERSE_SUBTRACT,X.BlendOperation.ReverseSubtract),We),tn=(Ve={},V()(Ve,f.gl.ZERO,X.BlendFactor.Zero),V()(Ve,f.gl.ONE,X.BlendFactor.One),V()(Ve,f.gl.SRC_COLOR,X.BlendFactor.SrcColor),V()(Ve,f.gl.ONE_MINUS_SRC_COLOR,X.BlendFactor.OneMinusSrcColor),V()(Ve,f.gl.SRC_ALPHA,X.BlendFactor.SrcAlpha),V()(Ve,f.gl.ONE_MINUS_SRC_ALPHA,X.BlendFactor.OneMinusSrcAlpha),V()(Ve,f.gl.DST_COLOR,X.BlendFactor.DstColor),V()(Ve,f.gl.ONE_MINUS_DST_COLOR,X.BlendFactor.OneMinusDstColor),V()(Ve,f.gl.DST_ALPHA,X.BlendFactor.DstAlpha),V()(Ve,f.gl.ONE_MINUS_DST_ALPHA,X.BlendFactor.OneMinusDstAlpha),V()(Ve,f.gl.CONSTANT_COLOR,X.BlendFactor.BlendColor),V()(Ve,f.gl.ONE_MINUS_CONSTANT_COLOR,X.BlendFactor.OneMinusBlendColor),V()(Ve,f.gl.SRC_ALPHA_SATURATE,X.BlendFactor.SrcAlphaSaturated),Ve),en=(Xe={},V()(Xe,f.gl.ALPHA,"r8unorm"),V()(Xe,f.gl.RGBA,"rgba8unorm"),V()(Xe,f.gl.DEPTH_COMPONENT,"depth32float"),V()(Xe,f.gl.DEPTH_STENCIL,"depth24plus-stencil8"),Xe),nn=(Ye={},V()(Ye,f.gl.NEAREST,"nearest"),V()(Ye,f.gl.LINEAR,"linear"),Ye),rn=(He={},V()(He,f.gl.REPEAT,"repeat"),V()(He,f.gl.CLAMP_TO_EDGE,"clamp-to-edge"),V()(He,f.gl.MIRRORED_REPEAT,"mirror-repeat"),He);function on(t){var e=t.cull;return e&&e.enable?e.face?e.face===f.gl.FRONT?X.CullMode.Front:X.CullMode.Back:void 0:X.CullMode.None}function an(t){var e=t.depth,n=(t.stencil,{compare:X.CompareFunction.Always,depthFailOp:X.StencilOperation.Keep,failOp:X.StencilOperation.Keep,passOp:X.StencilOperation.Keep});return{depthWriteEnabled:e&&e.enable,depthCompare:Je[(null===e||void 0===e?void 0:e.func)||f.gl.ALWAYS],format:X.TextureFormat.Depth24PlusStencil8,stencilFront:n,stencilBack:n,stencilReadMask:4294967295,stencilWriteMask:4294967295}}function sn(t,e){var n=t.blend;return[{format:e,alphaBlend:{srcFactor:tn[n&&n.func&&n.func.srcAlpha||f.gl.ONE],dstFactor:tn[n&&n.func&&n.func.dstAlpha||f.gl.ZERO],operation:$e[n&&n.equation&&n.equation.alpha||f.gl.FUNC_ADD]},colorBlend:{srcFactor:tn[n&&n.func&&n.func.srcRGB||f.gl.ONE],dstFactor:tn[n&&n.func&&n.func.dstRGB||f.gl.ZERO],operation:$e[n&&n.equation&&n.equation.rgb||f.gl.FUNC_ADD]},writeMask:X.ColorWrite.All}]}function un(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function cn(t){for(var e=1;e1?n-1:0),i=1;i3&&void 0!==arguments[3]&&arguments[3],s=null===(r=t.get().color)||void 0===r?void 0:r.texture;s&&(o=s.createView(this.currentRenderTargetViewDescriptor));var u,c=null===(i=t.get().depth)||void 0===i?void 0:i.texture;c&&(u=c.createView());var l=this.renderTargetEncoder.beginRenderPass({colorAttachments:[{attachment:o,loadValue:null!==e?e:X.LoadOp.Load,storeOp:X.StoreOp.Store}],depthStencilAttachment:c&&u?{attachment:u,depthLoadValue:n?this.clearDepthValue:X.LoadOp.Load,depthStoreOp:X.StoreOp.Store,stencilLoadValue:a?this.clearStencilValue:X.LoadOp.Load,stencilStoreOp:X.StoreOp.Store}:void 0});this.currentRenderPass=l,this.cachedViewport&&this.viewport(this.cachedViewport)}},{key:"endMainRenderPass",value:function(){this.currentRenderPass===this.mainRenderPass&&null!==this.currentRenderPass&&(this.currentRenderPass.endPass(),this.resetCachedViewport(),this.currentRenderPass=null,this.mainRenderPass=null)}},{key:"endComputePass",value:function(){this.currentComputePass&&(this.currentComputePass.endPass(),this.currentComputePass=null)}},{key:"endRenderTargetRenderPass",value:function(){this.currentRenderPass&&(this.currentRenderPass.endPass(),this.resetCachedViewport())}},{key:"resetCachedViewport",value:function(){this.cachedViewport={x:0,y:0,width:0,height:0}}},{key:"unbindFramebuffer",value:function(t){this.currentRenderPass&&this.currentRenderPass!==this.mainRenderPass&&this.endRenderTargetRenderPass(),this.transientViewport.x=1/0,this.currentRenderTarget=null,this.currentRenderPass=this.mainRenderPass}}]),t}())||ln,gn=n("J4zp"),vn=n.n(gn),yn=n("7W2i"),mn=n.n(yn),bn=n("a1gu"),xn=n.n(bn),wn=n("Nsbk"),_n=n.n(wn);function En(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var n,r=_n()(t);if(e){var i=_n()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return xn()(this,n)}}var Sn,Mn=Object(d.injectable)()(fn=function(t){mn()(n,t);var e=En(n);function n(){return a()(this,n),e.apply(this,arguments)}return u()(n,[{key:"onEntityCreated",value:function(){var t=this.config,e=t.widthSegments,n=void 0===e?1:e,r=t.heightSegments,i=void 0===r?1:r,o=t.depthSegments,a=void 0===o?1:o,s=t.halfExtents,u=void 0===s?h.e.fromValues(.5,.5,.5):s,c=n,l=i,d=a,p=vn()(u,3),g=p[0],v=p[1],y=p[2],m=[h.e.fromValues(-g,-v,y),h.e.fromValues(g,-v,y),h.e.fromValues(g,v,y),h.e.fromValues(-g,v,y),h.e.fromValues(g,-v,-y),h.e.fromValues(-g,-v,-y),h.e.fromValues(-g,v,-y),h.e.fromValues(g,v,-y)],b=[[0,1,3],[4,5,7],[3,2,6],[1,0,4],[1,4,2],[5,0,6]],x=[[0,0,1],[0,0,-1],[0,1,0],[0,-1,0],[1,0,0],[-1,0,0]],w=1,_=2,E=3,S=4,M=5,O=[],k=[],A=[],C=[],I=[],T=0,N=function(t,e,n){var r,i,o,a;for(o=0;o<=e;o++)for(a=0;a<=n;a++){var s=h.e.create(),u=h.e.create(),c=h.e.create(),l=h.e.create();h.e.lerp(s,m[b[t][0]],m[b[t][1]],o/e),h.e.lerp(u,m[b[t][0]],m[b[t][2]],a/n),h.e.sub(c,u,m[b[t][0]]),h.e.add(l,s,c),r=o/e,i=a/n,O.push(l[0],l[1],l[2]),k.push(x[t][0],x[t][1],x[t][2]),A.push(r,i),r=.875*(r/=3)+4/64,i=.875*(i/=3)+4/64,r+=t%3/3,i+=Math.floor(t/3)/3,C.push(r,i),o 0.1) {\n // gl_FragColor = mix(gl_FragColor, u_GridColor, v0);\n // }\n // else {\n gl_FragColor = mix(gl_FragColor, u_GridColor2, v1);\n // }\n }\n\n // float shadowFactor = calcShadow(u_ShadowMap, v_PositionFromLight, l, n);\n // vec3 diffuseColor = u_LightColor * NdotL * shadowFactor;\n\n // gl_FragColor.rgb *= diffuseColor;\n}"});var t=this.shaderModuleService.getModule("grid"),e=t.vs,n=t.fs,r=t.uniforms,i=this.materialSystem.createShaderMaterial({vertexShader:e,fragmentShader:n});this.setMaterial(i);var o=this.geometrySystem.createBufferGeometry({vertexCount:4});this.setGeometry(o),i.setCull({enable:!1,face:f.gl.BACK}).setDepth({enable:!0,func:f.gl.LESS}),i.setUniform(r),this.setAttributes({gridColor:this.config.gridColor,gridSize:this.config.gridSize}),o.setIndex([0,3,2,2,1,0]),o.setAttribute("a_Position",Float32Array.from([-4,-1,-4,4,-1,-4,4,-1,4,-4,-1,4]),{arrayStride:8,stepMode:"vertex",attributes:[{shaderLocation:0,offset:0,format:"float2"}]})}}]),n}(Ht),Jn=l()(Qn.prototype,"materialSystem",[Xn,Yn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$n=l()(Qn.prototype,"geometrySystem",[Hn,qn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),tr=l()(Qn.prototype,"shaderModuleService",[Kn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Zn=Qn))||Zn),ir=n("4hNi"),or=n("kafh");function ar(t,e,n,r,i){sr(e,r,-i),sr(e,r,i),t.push(n),t.push(n)}function sr(t,e,n){t.push([[e[0],e[1]],n])}var ur,cr,lr,fr,hr,dr,pr,gr,vr,yr,mr;function br(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var n,r=_n()(t);if(e){var i=_n()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return xn()(this,n)}}var xr,wr,_r,Er,Sr,Mr,Or,kr,Ar,Cr,Ir,Tr=(ur=Object(d.injectable)(),cr=Object(d.inject)(f.IDENTIFIER.Systems),lr=Object(d.named)(f.IDENTIFIER.MaterialSystem),fr=Object(d.inject)(f.IDENTIFIER.Systems),hr=Object(d.named)(f.IDENTIFIER.GeometrySystem),dr=Object(d.inject)(f.IDENTIFIER.ShaderModuleService),ur((gr=function(t){mn()(n,t);var e=br(n);function n(){var t;a()(this,n);for(var r=arguments.length,o=new Array(r),s=0;s3;if(!isFinite(_)){Object(or.normal)(c,r),ar(d,h,x,c,1),p.push(1===s?[m,m+2,m+3]:[m+2,m+1,m+3]),f+=2,s=E;continue}S?(_=3,g.push(y/v),sr(h,c,-E),d.push(x),sr(h,a,_*E),d.push(x),p.push(s!==-E?[m,m+2,m+3]:[m+2,m+1,m+3]),p.push([m+2,m+3,m+4]),Object(or.normal)(l,i),Object(ir.copy)(c,l),sr(h,c,-E),d.push(x),f+=3):(ar(d,h,x,a,_),p.push(1===s?[m,m+2,m+3]:[m+2,m+1,m+3]),E=-1,Object(ir.copy)(c,a),f+=2),s=E}else Object(or.normal)(c,r),ar(d,h,x,c,1),p.push(1===s?[m,m+2,m+3]:[m+2,m+1,m+3]),f+=2}return{normals:h,attrIndex:p,attrPos:d,attrCounters:g}}(this.config.points,!1),s=a.normals,u=a.attrIndex,c=a.attrPos,l=a.attrCounters,h=c.length;this.vertexCount=h;var d=this.geometrySystem.createBufferGeometry({vertexCount:h});this.setMaterial(o),this.setGeometry(d),o.setCull({enable:!1,face:f.gl.BACK}).setUniform(i),this.setAttributes({dashArray:this.config.dashArray,dashOffset:this.config.dashOffset,dashRatio:this.config.dashRatio,thickness:this.config.thickness});var p=[],g=[];s.forEach(function(t){var e=t[0],n=t[1];p.push([e[0],e[1]]),g.push(n)}),d.setIndex(u.reduce(function(t,e){return[].concat(de()(t),de()(e))},[])),d.setAttribute("a_pos",Float32Array.from(c.reduce(function(t,e){return[].concat(de()(t),de()(e))},[])),{arrayStride:8,stepMode:"vertex",attributes:[{shaderLocation:0,offset:0,format:"float2"}]});var v=new Array(h).fill(void 0).map(function(){return de()(t.config.color)}).reduce(function(t,e){return[].concat(de()(t),de()(e))},[]);d.setAttribute("a_color",Float32Array.from(v),{arrayStride:16,stepMode:"vertex",attributes:[{shaderLocation:1,offset:0,format:"float4"}]}),d.setAttribute("a_line_miter",Float32Array.from(g),{arrayStride:4,stepMode:"vertex",attributes:[{shaderLocation:2,offset:0,format:"float"}]}),d.setAttribute("a_line_normal",Float32Array.from(p.reduce(function(t,e){return[].concat(de()(t),de()(e))},[])),{arrayStride:8,stepMode:"vertex",attributes:[{shaderLocation:3,offset:0,format:"float2"}]}),d.setAttribute("a_counters",Float32Array.from(l),{arrayStride:4,stepMode:"vertex",attributes:[{shaderLocation:4,offset:0,format:"float"}]})}}]),n}(Ht),vr=l()(gr.prototype,"materialSystem",[cr,lr],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),yr=l()(gr.prototype,"geometrySystem",[fr,hr],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),mr=l()(gr.prototype,"shaderModuleService",[dr],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),pr=gr))||pr);function Nr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function Pr(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var n,r=_n()(t);if(e){var i=_n()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return xn()(this,n)}}var jr,Dr,Lr,Rr,Br,Gr,Fr,zr,Ur,Wr=["circle","triangle","square","pentagon","hexagon","octogon","hexagram","rhombus","vesica"],Vr=(xr=Object(d.injectable)(),wr=Object(d.inject)(f.IDENTIFIER.Systems),_r=Object(d.named)(f.IDENTIFIER.MaterialSystem),Er=Object(d.inject)(f.IDENTIFIER.Systems),Sr=Object(d.named)(f.IDENTIFIER.GeometrySystem),Mr=Object(d.inject)(f.IDENTIFIER.ShaderModuleService),xr((kr=function(t){mn()(n,t);var e=Pr(n);function n(){var t;a()(this,n);for(var r=arguments.length,o=new Array(r),s=0;s>8&255,t+1>>8>>8&255]}(t.id||n))),e.instancedShapes.push(Wr.indexOf(t.shape||"circle")),(i=e.instancedColors).push.apply(i,de()(t.color||[1,0,0,1])),(o=e.instancedOffsets).push.apply(o,de()(t.position||[0,0])),(a=e.instancedSizes).push.apply(a,de()(t.size||[.2,.2]))}},{key:"buildAttributes",value:function(){var t=this,e={positions:[1,1,1,-1,-1,-1,-1,1],instancedOffsets:[],instancedColors:[],instancedSizes:[],instancedShapes:[],instancedPickingColors:[]};return Array.isArray(this.config)?this.config.forEach(function(n,r){t.buildAttribute(n,e,r)}):this.buildAttribute(this.config,e,0),e}}]),n}(Ht),Ar=l()(kr.prototype,"materialSystem",[wr,_r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Cr=l()(kr.prototype,"geometrySystem",[Er,Sr],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ir=l()(kr.prototype,"shaderModuleService",[Mr],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Or=kr))||Or);function Xr(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return Yr(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Yr(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Yr(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{},n=Object(f.createWorldContainer)(),r=navigator.gpu?pn:Pe;n.isBound(f.IDENTIFIER.RenderEngine)||n.bind(f.IDENTIFIER.RenderEngine).to(r).inSingletonScope(),n.bind(ni).toSelf(),n.bind(Xt).toSelf(),n.bind(Ht).toSelf(),n.bind(bi).toSelf(),n.bind(R).toSelf(),n.bind(ri).toSelf(),n.bind(t).toSelf(),n.bind(ii).toSelf(),n.bind(mi).toSelf(),n.bind(f.IDENTIFIER.Geometry).to(Mn).whenTargetNamed(B.BOX),n.bind(f.IDENTIFIER.Geometry).to(Fn).whenTargetNamed(B.SPHERE),n.bind(f.IDENTIFIER.Geometry).to(Tn).whenTargetNamed(B.PLANE),n.bind(f.IDENTIFIER.Geometry).to(An).whenTargetNamed(B.MERGED),n.bind(f.IDENTIFIER.Material).to(er).whenTargetNamed(Yt.BASIC),n.bind(f.IDENTIFIER.Renderable).to(Vr).whenTargetNamed(Ht.POINT),n.bind(f.IDENTIFIER.Renderable).to(Tr).whenTargetNamed(Ht.LINE),n.bind(f.IDENTIFIER.Renderable).to(rr).whenTargetNamed(Ht.GRID);var i=n.get(t);return i.setContainer(n),i.setConfig(e),i}}]),t}(),yi=l()(vi.prototype,"configService",[pi],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),gi=vi))||gi);n.d(e,"World",function(){return _i}),n.d(e,"Kernel",function(){return Xt}),n.d(e,"Camera",function(){return R}),n.d(e,"Renderable",function(){return Ht}),n.d(e,"Geometry",function(){return B}),n.d(e,"Material",function(){return Yt})},oaX6:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.targetName=void 0;var r=n("xfSm"),i=n("GXnB"),o=n("Ztfv");e.targetName=function(t){return function(e,n,a){var s=new i.Metadata(r.NAME_TAG,t);o.tagParameter(e,n,a,s)}}},olaO:function(t,e){},onlc:function(t,e,n){var r=n("t1N5");function i(t){var e=function(){for(var t={},e=Object.keys(r),n=e.length,i=0;i=n&&(null===(i=e.onLayoutEnd)||void 0===i||i.call(e),window.clearInterval(e.timeInterval))}},0)}},e.prototype.reachMoveThreshold=function(t,e,n){var r=0;return t.forEach(function(t,n){var i=t.x-e[n].x,o=t.y-e[n].y;r+=Math.sqrt(i*i+o*o)}),(r/=t.length)=h)){var d=a.x-e.x,p=a.y-e.y;0===d&&0===p&&(d=.01*Math.random(),p=.01*Math.random());var g=d*d+p*p,v=Math.sqrt(g),y=(v+.1)*i,m=d/v,b=p/v,x=.5*(u(a)+u(e))*r/(y*y),w=n?n(e):1;if(t[2*l]+=m*x,t[2*l+1]+=b*x,t[2*h]-=m*x,t[2*h+1]-=b*x,o&&(c(a)+c(e))/2>v){var _=s*(u(a)+u(e))*.5/g;t[2*l]+=m*_/f,t[2*l+1]+=b*_/f,t[2*h]-=m*_/w,t[2*h+1]-=b*_/w}}})})},e.prototype.calAttractive=function(t,e){var n=this.nodeMap,r=this.nodeIdxMap,i=this.linkDistance,a=this.edgeStrength,s=this.nodeSize,u=this.getMass;e.forEach(function(e,c){var l=(0,o.getEdgeTerminal)(e,"source"),f=(0,o.getEdgeTerminal)(e,"target"),h=n[l],d=n[f],p=d.x-h.x,g=d.y-h.y;0===p&&0===g&&(p=.01*Math.random(),g=.01*Math.random());var v=Math.sqrt(p*p+g*g),y=p/v,m=g/v,b=((i(e,h,d)||1+(s(h)+s(h)||0)/2)-v)*a(e),x=r[l],w=r[f],_=u?u(h):1,E=u?u(d):1;t[2*x]-=y*b/_,t[2*x+1]-=m*b/_,t[2*w]+=y*b/E,t[2*w+1]+=m*b/E})},e.prototype.calGravity=function(t,e){for(var n=this.center,r=this.gravity,i=this.degrees,a=e.length,s=0;si.maxSpeed){var c=i.maxSpeed/u;a*=c,s*=c}e[2*r]=a,e[2*r+1]=s})},e.prototype.updatePosition=function(t,e,n){n.forEach(function(n,r){if((0,o.isNumber)(n.fx)&&(0,o.isNumber)(n.fy))return n.x=n.fx,void(n.y=n.fy);var i=t[2*r]*e,a=t[2*r+1]*e;n.x+=i,n.y+=a})},e.prototype.stop=function(){this.timeInterval&&"undefined"!=typeof window&&window.clearInterval(this.timeInterval)},e.prototype.destroy=function(){this.stop(),this.tick=null,this.nodes=null,this.edges=null,this.destroyed=!0},e.prototype.getType=function(){return"gForce"},e}(i.Base);e.GForceLayout=s},qvIC:function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);i&&("get"in i?e.__esModule:!i.writable&&!i.configurable)||(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),i=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&r(e,t,n);return i(e,t),e};Object.defineProperty(e,"__esModule",{value:!0});var a=o(n("Ckr6")),s=n("8nGZ");e.default=function(){function t(t){return function(){return t}}var e,n=function(t){return t.cluster},r=t(1),i=t(-1),o=t(100),u=t(.1),c=[0,0],l=[],f={},h=[],d=100,p=100,g={none:{x:0,y:0}},v=[],y="force",m=!0,b=.1;function x(t){if(!m)return x;e.tick(),_();for(var r=0,i=l.length,o=void 0,a=t*b;r=0;e--){var n=this.dfsEdgeList[e],r=n.fromNode,i=n.toNode;rf||r.hasNode(o[l.to])||(e.labely&&"break"!==m(b);b--);if(g){var x=t.findMinLabel(p);c.dfsEdgeList.push(new o(d,v,i.VACANT_NODE_LABEL,x.edgeLabel,i.VACANT_NODE_LABEL));var w=c.dfsEdgeList.length-1;return t.dfsCode.dfsEdgeList[w]===c.dfsEdgeList[w]&&a(p[x.edgeLabel].projected)}var _={};g=!1;var E=0;l.forEach(function(e){var n=new s(e),i=t.findForwardPureEdges(r,n.edges[f[0]],h,n);i.length>0&&(g=!0,E=d,i.forEach(function(t){var n="".concat(t.label,"-").concat(u[t.to].label);_[n]||(_[n]={projected:[],edgeLabel:t.label,nodeLabel2:u[t.to].label}),_[n].projected.push({graphId:r.id,edge:t,preNode:e})}))});var S=f.length,M=function(e){if(g)return"break";var n=f[e];l.forEach(function(e){var i=new s(e),o=t.findForwardRmpathEdges(r,i.edges[n],h,i);o.length>0&&(g=!0,E=c.dfsEdgeList[n].fromNode,o.forEach(function(t){var n="".concat(t.label,"-").concat(u[t.to].label);_[n]||(_[n]={projected:[],edgeLabel:t.label,nodeLabel2:u[t.to].label}),_[n].projected.push({graphId:r.id,edge:t,preNode:e})}))})};for(b=0;b=0;h--){var d=e.findBackwardEdge(i,f.edges[r[h]],f.edges[r[0]],f);if(d){var p="".concat(e.dfsCode.dfsEdgeList[r[h]].fromNode,"-").concat(d.label);l[p]||(l[p]={projected:[],toNodeId:e.dfsCode.dfsEdgeList[r[h]].fromNode,edgeLabel:d.label}),l[p].projected.push({graphId:t.graphId,edge:d,preNode:t})}}if(!(n>=e.maxNodeNum)){e.findForwardPureEdges(i,f.edges[r[0]],u,f).forEach(function(e){var n="".concat(a,"-").concat(e.label,"-").concat(o[e.to].label);c[n]||(c[n]={projected:[],fromNodeId:a,edgeLabel:e.label,nodeLabel2:o[e.to].label}),c[n].projected.push({graphId:t.graphId,edge:e,preNode:t})});var g=function(n){e.findForwardRmpathEdges(i,f.edges[r[n]],u,f).forEach(function(i){var a="".concat(e.dfsCode.dfsEdgeList[r[n]].fromNode,"-").concat(i.label,"-").concat(o[i.to].label);c[a]||(c[a]={projected:[],fromNodeId:e.dfsCode.dfsEdgeList[r[n]].fromNode,edgeLabel:i.label,nodeLabel2:o[i.to].label}),c[a].projected.push({graphId:t.graphId,edge:i,preNode:t})})};for(h=0;hi){var a=i;i=r,r=a}var l=t.label,f="".concat(n,"-").concat(r,"-").concat(l,"-").concat(i),h="".concat(r,"-").concat(l,"-").concat(i);if(!o[h]){var d=o[h]||0;d++,o[h]=d}s[f]={graphId:n,nodeLabel1:r,edgeLabel:l,nodeLabel2:i}})})}),Object.keys(i).forEach(function(t){if(!(i[t]0&&C>I&&C-II&&(N=v.map(function(t){return{node:t,clusterId:t.clusterId}}),P=(0,r.clone)(E),I=C),j||T>100)break;T++,Object.keys(E).forEach(function(t){var e=0;m.forEach(function(r){var i=r.source,o=r.target,a=S[i].node.clusterId,s=S[o].node.clusterId;(a===t&&s!==t||s===t&&a!==t)&&(e+=r[n]||1)}),E[t].sumTot=e}),v.forEach(function(t,e){var r,i=E[t.clusterId],o=0,a=O[e]/(2*A),s=0,c=i.nodes;c.forEach(function(t){var n=S[t.id].idx;s+=M[e][n]||0});var f=s-i.sumTot*a,h=c.filter(function(e){return e.id!==t.id}),d=[];h.forEach(function(t,e){d[e]=b[t.originIndex]});var g=l(h,b)*p,v=k[t.id];if(Object.keys(v).forEach(function(n){var i=S[n].node.clusterId;if(i!==t.clusterId){var s=E[i],c=s.nodes;if(c&&c.length){var h=0;c.forEach(function(t){var n=S[t.id].idx;h+=M[e][n]||0});var d=h-s.sumTot*a,v=c.concat([t]),y=[];v.forEach(function(t,e){y[e]=b[t.originIndex]});var m=l(v,b)*p,x=d-f;u&&(x=d+m-(f+g)),x>o&&(o=x,r=s)}}}),o>0){r.nodes.push(t);var y=t.clusterId;t.clusterId=r.id;var x=i.nodes.indexOf(t);i.nodes.splice(x,1);var w=0,_=0;m.forEach(function(t){var e=t.source,i=t.target,o=S[e].node.clusterId,a=S[i].node.clusterId;(o===r.id&&a!==r.id||a===r.id&&o!==r.id)&&(w+=t[n]||1),(o===y&&a!==y||a===y&&o!==y)&&(_+=t[n]||1)}),r.sumTot=w,i.sumTot=_}})}var D={},L=0;Object.keys(P).forEach(function(t){var e=P[t];if(e.nodes&&e.nodes.length){var n=String(L+1);n!==t&&(e.id=n,e.nodes=e.nodes.map(function(t){return{id:t.id,clusterId:n}}),P[n]=e,D[t]=n,delete P[t],L++)}else delete P[t]}),N.forEach(function(t){var e=t.node,n=t.clusterId;e.clusterId=n,e.clusterId&&D[e.clusterId]&&(e.clusterId=D[e.clusterId])});var R=[],B={};m.forEach(function(t){var e=t.source,r=t.target,i=t[n]||1,o=S[e].node.clusterId,a=S[r].node.clusterId,s="".concat(o,"---").concat(a);if(B[s])B[s].weight+=i,B[s].count++;else{var u={source:o,target:a,weight:i,count:1};B[s]=u,R.push(u)}});var G=[];return Object.keys(P).forEach(function(t){G.push(P[t])}),{clusters:G,clusterEdges:R}};e.default=f},sj7I:function(t,e){t.exports=function(t,e,n){var r=Math.cos(n),i=Math.sin(n),o=e[0],a=e[1];return t[0]=o*r-a*i,t[1]=o*i+a*r,t}},t1N5:function(t,e,n){var r=n("T016"),i={};for(var o in r)r.hasOwnProperty(o)&&(i[r[o]]=o);var a=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var s in a)if(a.hasOwnProperty(s)){if(!("channels"in a[s]))throw new Error("missing channels property: "+s);if(!("labels"in a[s]))throw new Error("missing channel labels property: "+s);if(a[s].labels.length!==a[s].channels)throw new Error("channel and label counts mismatch: "+s);var u=a[s].channels,c=a[s].labels;delete a[s].channels,delete a[s].labels,Object.defineProperty(a[s],"channels",{value:u}),Object.defineProperty(a[s],"labels",{value:c})}function l(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)+Math.pow(t[2]-e[2],2)}a.rgb.hsl=function(t){var e,n,r=t[0]/255,i=t[1]/255,o=t[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),u=s-a;return s===a?e=0:r===s?e=(i-o)/u:i===s?e=2+(o-r)/u:o===s&&(e=4+(r-i)/u),(e=Math.min(60*e,360))<0&&(e+=360),n=(a+s)/2,[e,100*(s===a?0:n<=.5?u/(s+a):u/(2-s-a)),100*n]},a.rgb.hsv=function(t){var e,n,r,i,o,a=t[0]/255,s=t[1]/255,u=t[2]/255,c=Math.max(a,s,u),l=c-Math.min(a,s,u),f=function(t){return(c-t)/6/l+.5};return 0===l?i=o=0:(o=l/c,e=f(a),n=f(s),r=f(u),a===c?i=r-n:s===c?i=1/3+e-r:u===c&&(i=2/3+n-e),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*c]},a.rgb.hwb=function(t){var e=t[0],n=t[1],r=t[2];return[a.rgb.hsl(t)[0],100*(1/255*Math.min(e,Math.min(n,r))),100*(r=1-1/255*Math.max(e,Math.max(n,r)))]},a.rgb.cmyk=function(t){var e,n=t[0]/255,r=t[1]/255,i=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-r,1-i)))/(1-e)||0),100*((1-r-e)/(1-e)||0),100*((1-i-e)/(1-e)||0),100*e]},a.rgb.keyword=function(t){var e=i[t];if(e)return e;var n,o=1/0;for(var a in r)if(r.hasOwnProperty(a)){var s=l(t,r[a]);s.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*e+.7152*n+.0722*r),100*(.0193*e+.1192*n+.9505*r)]},a.rgb.lab=function(t){var e=a.rgb.xyz(t),n=e[0],r=e[1],i=e[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.hsl.rgb=function(t){var e,n,r,i,o,a=t[0]/360,s=t[1]/100,u=t[2]/100;if(0===s)return[o=255*u,o,o];e=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var c=0;c<3;c++)(r=a+1/3*-(c-1))<0&&r++,r>1&&r--,o=6*r<1?e+6*(n-e)*r:2*r<1?n:3*r<2?e+(n-e)*(2/3-r)*6:e,i[c]=255*o;return i},a.hsl.hsv=function(t){var e=t[0],n=t[1]/100,r=t[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[e,100*(0===r?2*i/(o+i):2*n/(r+n)),100*((r+n)/2)]},a.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,r=t[2]/100,i=Math.floor(e)%6,o=e-Math.floor(e),a=255*r*(1-n),s=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,a];case 1:return[s,r,a];case 2:return[a,r,u];case 3:return[a,s,r];case 4:return[u,a,r];case 5:return[r,a,s]}},a.hsv.hsl=function(t){var e,n,r,i=t[0],o=t[1]/100,a=t[2]/100,s=Math.max(a,.01);return r=(2-o)*a,n=o*s,[i,100*(n=(n/=(e=(2-o)*s)<=1?e:2-e)||0),100*(r/=2)]},a.hwb.rgb=function(t){var e,n,r,i,o,a,s,u=t[0]/360,c=t[1]/100,l=t[2]/100,f=c+l;switch(f>1&&(c/=f,l/=f),n=1-l,r=6*u-(e=Math.floor(6*u)),0!=(1&e)&&(r=1-r),i=c+r*(n-c),e){default:case 6:case 0:o=n,a=i,s=c;break;case 1:o=i,a=n,s=c;break;case 2:o=c,a=n,s=i;break;case 3:o=c,a=i,s=n;break;case 4:o=i,a=c,s=n;break;case 5:o=n,a=c,s=i}return[255*o,255*a,255*s]},a.cmyk.rgb=function(t){var e=t[0]/100,n=t[1]/100,r=t[2]/100,i=t[3]/100;return[255*(1-Math.min(1,e*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},a.xyz.rgb=function(t){var e,n,r,i=t[0]/100,o=t[1]/100,a=t[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,e=(e=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},a.xyz.lab=function(t){var e=t[0],n=t[1],r=t[2];return n/=100,r/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.lab.xyz=function(t){var e,n,r,i=t[0],o=t[1],a=t[2];e=o/500+(n=(i+16)/116),r=n-a/200;var s=Math.pow(n,3),u=Math.pow(e,3),c=Math.pow(r,3);return n=s>.008856?s:(n-16/116)/7.787,e=u>.008856?u:(e-16/116)/7.787,r=c>.008856?c:(r-16/116)/7.787,[e*=95.047,n*=100,r*=108.883]},a.lab.lch=function(t){var e,n=t[0],r=t[1],i=t[2];return(e=360*Math.atan2(i,r)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(r*r+i*i),e]},a.lch.lab=function(t){var e,n=t[0],r=t[1];return e=t[2]/360*2*Math.PI,[n,r*Math.cos(e),r*Math.sin(e)]},a.rgb.ansi16=function(t){var e=t[0],n=t[1],r=t[2],i=1 in arguments?arguments[1]:a.rgb.hsv(t)[2];if(0===(i=Math.round(i/50)))return 30;var o=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===i&&(o+=60),o},a.hsv.ansi16=function(t){return a.rgb.ansi16(a.hsv.rgb(t),t[2])},a.rgb.ansi256=function(t){var e=t[0],n=t[1],r=t[2];return e===n&&n===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},a.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},a.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var n;return t-=16,[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},a.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map(function(t){return t+t}).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},a.rgb.hcg=function(t){var e,n,r=t[0]/255,i=t[1]/255,o=t[2]/255,a=Math.max(Math.max(r,i),o),s=Math.min(Math.min(r,i),o),u=a-s;return e=u<1?s/(1-u):0,n=u<=0?0:a===r?(i-o)/u%6:a===i?2+(o-r)/u:4+(r-i)/u+4,n/=6,[360*(n%=1),100*u,100*e]},a.hsl.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=1,i=0;return(r=n<.5?2*e*n:2*e*(1-n))<1&&(i=(n-.5*r)/(1-r)),[t[0],100*r,100*i]},a.hsv.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=e*n,i=0;return r<1&&(i=(n-r)/(1-r)),[t[0],100*r,100*i]},a.hcg.rgb=function(t){var e=t[0]/360,n=t[1]/100,r=t[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],a=e%1*6,s=a%1,u=1-s;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=u,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=u,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=u}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},a.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),r=0;return n>0&&(r=e/n),[t[0],100*r,100*n]},a.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,r=0;return n>0&&n<.5?r=e/(2*n):n>=.5&&n<1&&(r=e/(2*(1-n))),[t[0],100*r,100*n]},a.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},a.hwb.hcg=function(t){var e=t[1]/100,n=1-t[2]/100,r=n-e,i=0;return r<1&&(i=(n-r)/(1-r)),[t[0],100*r,100*i]},a.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},a.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},a.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},a.gray.hsl=a.gray.hsv=function(t){return[0,0,t[0]]},a.gray.hwb=function(t){return[0,100,t[0]]},a.gray.cmyk=function(t){return[0,0,0,t[0]]},a.gray.lab=function(t){return[t[0],0,0]},a.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},t8N9:function(t,e){t.exports=function(t,e){var n=e[0],r=e[1],i=n*n+r*r;i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i);return t}},tK6A:function(t,e,n){"use strict";n.r(e);const r=Object.prototype.toString;function i(t){return r.call(t).endsWith("Array]")}function o(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!i(t))throw new TypeError("input must be an array");if(0===t.length)throw new TypeError("input must not be empty");if(void 0!==n.output){if(!i(n.output))throw new TypeError("output option must be an array if specified");e=n.output}else e=new Array(t.length);var r=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!i(t))throw new TypeError("input must be an array");if(0===t.length)throw new TypeError("input must not be empty");var n=e.fromIndex,r=void 0===n?0:n,o=e.toIndex,a=void 0===o?t.length:o;if(r<0||r>=t.length||!Number.isInteger(r))throw new Error("fromIndex must be a positive integer smaller than length");if(a<=r||a>t.length||!Number.isInteger(a))throw new Error("toIndex must be an integer greater than fromIndex and at most equal to length");for(var s=t[r],u=r+1;u1&&void 0!==arguments[1]?arguments[1]:{};if(!i(t))throw new TypeError("input must be an array");if(0===t.length)throw new TypeError("input must not be empty");var n=e.fromIndex,r=void 0===n?0:n,o=e.toIndex,a=void 0===o?t.length:o;if(r<0||r>=t.length||!Number.isInteger(r))throw new Error("fromIndex must be a positive integer smaller than length");if(a<=r||a>t.length||!Number.isInteger(a))throw new Error("toIndex must be an integer greater than fromIndex and at most equal to length");for(var s=t[r],u=r+1;us&&(s=t[u]);return s}(t);if(r===o)throw new RangeError("minimum and maximum input values are equal. Cannot rescale a constant array");var a=n.min,s=void 0===a?n.autoMinMax?r:0:a,u=n.max,c=void 0===u?n.autoMinMax?o:1:u;if(s>=c)throw new RangeError("min option must be smaller than max option");for(var l=(c-s)/(o-r),f=0;fr)throw new RangeError("Row index out of range")}function f(t,e,n){let r=n?t.columns:t.columns-1;if(e<0||e>r)throw new RangeError("Column index out of range")}function h(t,e){if(e.to1DArray&&(e=e.to1DArray()),e.length!==t.columns)throw new RangeError("vector size must be the same as the number of columns");return e}function d(t,e){if(e.to1DArray&&(e=e.to1DArray()),e.length!==t.rows)throw new RangeError("vector size must be the same as the number of rows");return e}function p(t,e){if(!i(e))throw new TypeError("row indices must be an array");for(let n=0;n=t.rows)throw new RangeError("row indices are out of range")}function g(t,e){if(!i(e))throw new TypeError("column indices must be an array");for(let n=0;n=t.columns)throw new RangeError("column indices are out of range")}function v(t,e,n,r,i){if(5!==arguments.length)throw new RangeError("expected 4 arguments");if(m("startRow",e),m("endRow",n),m("startColumn",r),m("endColumn",i),e>n||r>i||e<0||e>=t.rows||n<0||n>=t.rows||r<0||r>=t.columns||i<0||i>=t.columns)throw new RangeError("Submatrix indices are out of range")}function y(t,e=0){let n=[];for(let r=0;r=i)throw new RangeError("min must be smaller than max");let a=i-r,s=new _(t,e);for(let u=0;un?(i=!0,n=e):(r=!1,i=!0);t++}return r}isReducedEchelonForm(){let t=0,e=0,n=-1,r=!0,i=!1;for(;tn?(i=!0,n=e):(r=!1,i=!0);for(let n=e+1;nt.get(r,n)&&(r=i);if(0===t.get(r,n))n++;else{t.swapRows(e,r);let i=t.get(e,n);for(let r=n;r=0;)if(0===t.maxRow(r))r--;else{let i=0,o=!1;for(;it[e]&&(t[e]=this.get(e,n));return t}case"column":{const t=new Array(this.columns).fill(Number.NEGATIVE_INFINITY);for(let e=0;et[n]&&(t[n]=this.get(e,n));return t}case void 0:{let t=this.get(0,0);for(let e=0;et&&(t=this.get(e,n));return t}default:throw new Error(`invalid option: ${t}`)}}maxIndex(){b(this);let t=this.get(0,0),e=[0,0];for(let n=0;nt&&(t=this.get(n,r),e[0]=n,e[1]=r);return e}min(t){if(this.isEmpty())return NaN;switch(t){case"row":{const t=new Array(this.rows).fill(Number.POSITIVE_INFINITY);for(let e=0;ee&&(e=this.get(t,n));return e}maxRowIndex(t){l(this,t),b(this);let e=this.get(t,0),n=[t,0];for(let r=1;re&&(e=this.get(t,r),n[1]=r);return n}minRow(t){if(l(this,t),this.isEmpty())return NaN;let e=this.get(t,0);for(let n=1;ne&&(e=this.get(n,t));return e}maxColumnIndex(t){f(this,t),b(this);let e=this.get(0,t),n=[0,t];for(let r=1;re&&(e=this.get(r,t),n[0]=r);return n}minColumn(t){if(f(this,t),this.isEmpty())return NaN;let e=this.get(0,t);for(let n=1;n=n)throw new RangeError("min must be smaller than max");let r=new _(this.rows,this.columns);for(let i=0;i0&&o(t,{min:e,max:n,output:t}),r.setRow(i,t)}return r}scaleColumns(t={}){if("object"!=typeof t)throw new TypeError("options must be an object");const{min:e=0,max:n=1}=t;if(!Number.isFinite(e))throw new TypeError("min must be a number");if(!Number.isFinite(n))throw new TypeError("max must be a number");if(e>=n)throw new RangeError("min must be smaller than max");let r=new _(this.rows,this.columns);for(let i=0;in||e<0||e>=this.columns||n<0||n>=this.columns)throw new RangeError("Argument out of range");let r=new _(t.length,n-e+1);for(let i=0;i=this.rows)throw new RangeError(`Row index out of range: ${t[i]}`);r.set(i,o-e,this.get(t[i],o))}return r}subMatrixColumn(t,e,n){if(void 0===e&&(e=0),void 0===n&&(n=this.rows-1),e>n||e<0||e>=this.rows||n<0||n>=this.rows)throw new RangeError("Argument out of range");let r=new _(n-e+1,t.length);for(let i=0;i=this.columns)throw new RangeError(`Column index out of range: ${t[i]}`);r.set(o-e,i,this.get(o,t[i]))}return r}setSubMatrix(t,e,n){if((t=_.checkMatrix(t)).isEmpty())return this;v(this,e,e+t.rows-1,n,n+t.columns-1);for(let r=0;r=0){if(this.data=[],!(Number.isInteger(e)&&e>=0))throw new TypeError("nColumns must be a positive integer");for(let n=0;n>t);return this},t.prototype.signPropagatingRightShiftM=function(t){if(t=e.checkMatrix(t),this.rows!==t.rows||this.columns!==t.columns)throw new RangeError("Matrices dimensions must be equal");for(let e=0;e>t.get(e,n));return this},t.signPropagatingRightShift=function(t,n){return new e(t).signPropagatingRightShift(n)},t.prototype.rightShift=function(t){return"number"==typeof t?this.rightShiftS(t):this.rightShiftM(t)},t.prototype.rightShiftS=function(t){for(let e=0;e>>t);return this},t.prototype.rightShiftM=function(t){if(t=e.checkMatrix(t),this.rows!==t.rows||this.columns!==t.columns)throw new RangeError("Matrices dimensions must be equal");for(let e=0;e>>t.get(e,n));return this},t.rightShift=function(t,n){return new e(t).rightShift(n)},t.prototype.zeroFillRightShift=t.prototype.rightShift,t.prototype.zeroFillRightShiftS=t.prototype.rightShiftS,t.prototype.zeroFillRightShiftM=t.prototype.rightShiftM,t.zeroFillRightShift=t.rightShift,t.prototype.not=function(){for(let t=0;tMath.abs(u[i])&&(i=e);if(i!==n){for(r=0;r=0;i--){for(r=0;re?r.set(i,e,t.get(i,e)):i===e?r.set(i,e,1):r.set(i,e,0);return r}get upperTriangularMatrix(){let t=this.LU,e=t.rows,n=t.columns,r=new _(e,n);for(let i=0;iMath.abs(e)?(n=e/t,Math.abs(t)*Math.sqrt(1+n*n)):0!==e?(n=t/e,Math.abs(e)*Math.sqrt(1+n*n)):0}class B{constructor(t){let e,n,r,i,o=(t=j.checkMatrix(t)).clone(),a=t.rows,s=t.columns,u=new Float64Array(s);for(r=0;r=0;o--){for(i=0;i=0;n--){for(t=0;t=0;t--)if(0!==d[t]){for(let e=t+1;e=0;_--){if(_0;){let t,e;for(t=E-2;t>=-1&&-1!==t;t--){const e=Number.MIN_VALUE+O*Math.abs(d[t]+Math.abs(d[t+1]));if(Math.abs(v[t])<=e||Number.isNaN(v[t])){v[t]=0;break}}if(t===E-2)e=4;else{let n;for(n=E-1;n>=t&&n!==t;n--){let e=(n!==E?Math.abs(v[n]):0)+(n!==t+1?Math.abs(v[n-1]):0);if(Math.abs(d[n])<=O*e){d[n]=0;break}}n===t?e=3:n===E-1?e=1:(e=2,t=n)}switch(t++,e){case 1:{let e=v[E-2];v[E-2]=0;for(let n=E-2;n>=t;n--){let i=R(d[n],e),o=d[n]/i,a=e/i;if(d[n]=i,n!==t&&(e=-a*v[n-1],v[n-1]=o*v[n-1]),c)for(let t=0;t=d[t+1]);){let e=d[t];if(d[t]=d[t+1],d[t+1]=e,c&&te&&i.set(c,n,t.get(c,n)/this.s[n]);let o=this.U,a=o.rows,s=o.columns,u=new _(n,a);for(let c=0;ct&&e++;return e}get diagonal(){return Array.from(this.s)}get threshold(){return Number.EPSILON/2*Math.max(this.m,this.n)*this.s[0]}get leftSingularVectors(){return this.U}get rightSingularVectors(){return this.V}get diagonalMatrix(){return _.diag(this.s)}}function F(t,e=!1){return t=j.checkMatrix(t),e?new G(t).inverse():z(t,_.eye(t.rows))}function z(t,e,n=!1){return t=j.checkMatrix(t),e=j.checkMatrix(e),n?new G(t).solve(e):t.isSquare()?new L(t).solve(e):new B(t).solve(e)}function U(t){if((t=_.checkMatrix(t)).isSquare()){if(0===t.columns)return 1;let e,n,r,i;if(2===t.columns)return e=t.get(0,0),n=t.get(0,1),r=t.get(1,0),e*(i=t.get(1,1))-n*r;if(3===t.columns){let i,o,a;return i=new I(t,[1,2],[1,2]),o=new I(t,[1,2],[0,2]),a=new I(t,[1,2],[0,1]),e=t.get(0,0),n=t.get(0,1),r=t.get(0,2),e*U(i)-n*U(o)+r*U(a)}return new L(t).determinant}throw Error("determinant can only be calculated for a square matrix")}function W(t,e){let n=[];for(let r=0;ri)return new Array(e.rows+1).fill(0);{let t=e.addRow(n,[0]);for(let e=0;ee?o[a]=1/o[a]:o[a]=0;return i.mmul(_.diag(o).mmul(r.transpose()))}function H(t,e=t,n={}){t=new _(t);let r=!1;if("object"!=typeof e||_.isMatrix(e)||i(e)?e=new _(e):(n=e,e=t,r=!0),t.rows!==e.rows)throw new TypeError("Both matrices must have the same number of rows");const{center:o=!0}=n;o&&(t=t.center("column"),r||(e=e.center("column")));const a=t.transpose().mmul(e);for(let i=0;i0;s--){for(f=0,a=0,c=0;c0&&(o=-o),e[s]=f*o,a-=i*o,n[s-1]=i-o,u=0;uc){x=0;do{for(x+=1,i=n[c],f=(n[c+1]-i)/(2*e[c]),h=R(f,1),f<0&&(h=-h),n[c]=e[c]/(f+h),n[c+1]=e[c]*(f+h),d=n[c+1],o=i-n[c],a=c+2;a=c;a--)for(v=g,g=p,b=m,i=p*e[a],o=p*f,h=R(f,e[a]),e[a+1]=m*h,m=e[a]/h,f=(p=f/h)*n[a]-m*i,n[a+1]=o+m*(p*i+m*n[a]),u=0;uE*_)}n[c]=n[c]+w,e[c]=0}for(a=0;a=c;s--)n[s]=e.get(s,c-1)/l,a+=n[s]*n[s];for(o=Math.sqrt(a),n[c]>0&&(o=-o),a-=n[c]*o,n[c]=n[c]-o,u=c;u=c;s--)i+=n[s]*e.get(s,u);for(i/=a,s=c;s<=f;s++)e.set(s,u,e.get(s,u)-i*n[s])}for(s=0;s<=f;s++){for(i=0,u=f;u>=c;u--)i+=n[u]*e.get(s,u);for(i/=a,u=c;u<=f;u++)e.set(s,u,e.get(s,u)-i*n[u])}n[c]=l*n[c],e.set(c,c-1,l*o)}}for(s=0;s=1;c--)if(0!==e.get(c,c-1)){for(s=c+1;s<=f;s++)n[s]=e.get(s,c-1);for(u=c;u<=f;u++){for(o=0,s=c;s<=f;s++)o+=n[s]*r.get(s,u);for(o=o/n[c]/e.get(c,c-1),s=c;s<=f;s++)r.set(s,u,r.get(s,u)+o*n[s])}}}(o,t,e,a),function(t,e,n,r,i){let o,a,s,u,c,l,f,h,d,p,g,v,y,m,b,x=t-1,w=t-1,_=Number.EPSILON,E=0,S=0,M=0,O=0,k=0,A=0,C=0,I=0;for(o=0;ow)&&(n[o]=i.get(o,o),e[o]=0),a=Math.max(o-1,0);a=0;){for(u=x;u>0&&(0===(A=Math.abs(i.get(u-1,u-1))+Math.abs(i.get(u,u)))&&(A=S),!(Math.abs(i.get(u,u-1))<_*A));)u--;if(u===x)i.set(x,x,i.get(x,x)+E),n[x]=i.get(x,x),e[x]=0,x--,I=0;else if(u===x-1){if(f=i.get(x,x-1)*i.get(x-1,x),M=(i.get(x-1,x-1)-i.get(x,x))/2,O=M*M+f,C=Math.sqrt(Math.abs(O)),i.set(x,x,i.get(x,x)+E),i.set(x-1,x-1,i.get(x-1,x-1)+E),h=i.get(x,x),O>=0){for(C=M>=0?M+C:M-C,n[x-1]=h+C,n[x]=n[x-1],0!==C&&(n[x]=h-f/C),e[x-1]=0,e[x]=0,h=i.get(x,x-1),A=Math.abs(h)+Math.abs(C),M=h/A,O=C/A,k=Math.sqrt(M*M+O*O),M/=k,O/=k,a=x-1;a0){for(A=Math.sqrt(A),d=u&&(C=i.get(c,c),M=((k=h-C)*(A=d-C)-f)/i.get(c+1,c)+i.get(c,c+1),O=i.get(c+1,c+1)-C-k-A,k=i.get(c+2,c+1),A=Math.abs(M)+Math.abs(O)+Math.abs(k),M/=A,O/=A,k/=A,c!==u)&&!(Math.abs(i.get(c,c-1))*(Math.abs(O)+Math.abs(k))<_*(Math.abs(M)*(Math.abs(i.get(c-1,c-1))+Math.abs(C)+Math.abs(i.get(c+1,c+1)))));)c--;for(o=c+2;o<=x;o++)i.set(o,o-2,0),o>c+2&&i.set(o,o-3,0);for(s=c;s<=x-1&&(m=s!==x-1,s!==c&&(M=i.get(s,s-1),O=i.get(s+1,s-1),k=m?i.get(s+2,s-1):0,0!==(h=Math.abs(M)+Math.abs(O)+Math.abs(k))&&(M/=h,O/=h,k/=h)),0!==h);s++)if(A=Math.sqrt(M*M+O*O+k*k),M<0&&(A=-A),0!==A){for(s!==c?i.set(s,s-1,-A*h):u!==c&&i.set(s,s-1,-i.get(s,s-1)),h=(M+=A)/A,d=O/A,C=k/A,O/=M,k/=M,a=s;a=0;x--)if(M=n[x],0===(O=e[x]))for(u=x,i.set(x,x,1),o=x-1;o>=0;o--){for(f=i.get(o,o)-M,k=0,a=u;a<=x;a++)k+=i.get(o,a)*i.get(a,x);if(e[o]<0)C=f,A=k;else if(u=o,0===e[o]?i.set(o,x,0!==f?-k/f:-k/(_*S)):(h=i.get(o,o+1),d=i.get(o+1,o),O=(n[o]-M)*(n[o]-M)+e[o]*e[o],l=(h*A-C*k)/O,i.set(o,x,l),i.set(o+1,x,Math.abs(h)>Math.abs(C)?(-k-f*l)/h:(-A-d*l)/C)),l=Math.abs(i.get(o,x)),_*l*l>1)for(a=o;a<=x;a++)i.set(a,x,i.get(a,x)/l)}else if(O<0)for(u=x-1,Math.abs(i.get(x,x-1))>Math.abs(i.get(x-1,x))?(i.set(x-1,x-1,O/i.get(x,x-1)),i.set(x-1,x,-(i.get(x,x)-M)/i.get(x,x-1))):(b=Z(0,-i.get(x-1,x),i.get(x-1,x-1)-M,O),i.set(x-1,x-1,b[0]),i.set(x-1,x,b[1])),i.set(x,x-1,0),i.set(x,x,1),o=x-2;o>=0;o--){for(p=0,g=0,a=u;a<=x;a++)p+=i.get(o,a)*i.get(a,x-1),g+=i.get(o,a)*i.get(a,x);if(f=i.get(o,o)-M,e[o]<0)C=f,k=p,A=g;else if(u=o,0===e[o]?(b=Z(-p,-g,f,O),i.set(o,x-1,b[0]),i.set(o,x,b[1])):(h=i.get(o,o+1),d=i.get(o+1,o),v=(n[o]-M)*(n[o]-M)+e[o]*e[o]-O*O,y=2*(n[o]-M)*O,0===v&&0===y&&(v=_*S*(Math.abs(f)+Math.abs(O)+Math.abs(h)+Math.abs(d)+Math.abs(C))),b=Z(h*k-C*p+O*g,h*A-C*g-O*p,v,y),i.set(o,x-1,b[0]),i.set(o,x,b[1]),Math.abs(h)>Math.abs(C)+Math.abs(O)?(i.set(o+1,x-1,(-p-f*i.get(o,x-1)+O*i.get(o,x))/h),i.set(o+1,x,(-g-f*i.get(o,x)-O*i.get(o,x-1))/h)):(b=Z(-k-d*i.get(o,x-1),-A-d*i.get(o,x),C,O),i.set(o+1,x-1,b[0]),i.set(o+1,x,b[1]))),l=Math.max(Math.abs(i.get(o,x-1)),Math.abs(i.get(o,x))),_*l*l>1)for(a=o;a<=x;a++)i.set(a,x-1,i.get(a,x-1)/l),i.set(a,x,i.get(a,x)/l)}for(o=0;ow)for(a=o;a=0;a--)for(o=0;o<=w;o++){for(C=0,s=0;s<=Math.min(a,w);s++)C+=r.get(o,s)*i.get(s,a);r.set(o,a,C)}}(o,u,s,a,t)}this.n=o,this.e=u,this.d=s,this.V=a}get realEigenvalues(){return Array.from(this.d)}get imaginaryEigenvalues(){return Array.from(this.e)}get eigenvectorMatrix(){return this.V}get diagonalMatrix(){let t,e,n=this.n,r=this.e,i=this.d,o=new _(n,n);for(t=0;t0?o.set(t,t+1,r[t]):r[t]<0&&o.set(t,t-1,r[t])}return o}}function Z(t,e,n,r){let i,o;return Math.abs(n)>Math.abs(r)?[(t+(i=r/n)*e)/(o=n+i*r),(e-i*t)/o]:[((i=n/r)*t+e)/(o=r+i*n),(i*e-t)/o]}class Q{constructor(t){if(!(t=j.checkMatrix(t)).isSymmetric())throw new Error("Matrix is not symmetric");let e,n,r,i=t,o=i.rows,a=new _(o,o),s=!0;for(n=0;n0,a.set(n,n,Math.sqrt(Math.max(t,0))),r=n+1;r=0;o--)for(i=0;ia;i++)l=(l=t.transpose().mmul(s).div(s.transpose().mmul(s).get(0,0))).div(l.norm()),u=t.mmul(l).div(l.transpose().mmul(l).get(0,0)),i>0&&(h=u.clone().sub(f).pow(2).sum()),f=u.clone(),n?(c=(c=n.transpose().mmul(u).div(u.transpose().mmul(u).get(0,0))).div(c.norm()),s=n.mmul(c).div(c.transpose().mmul(c).get(0,0))):s=u;if(n){let e=t.transpose().mmul(u).div(u.transpose().mmul(u).get(0,0));e=e.div(e.norm());let r=t.clone().sub(u.clone().mmul(e.transpose())),i=s.transpose().mmul(u).div(u.transpose().mmul(u).get(0,0)),o=n.clone().sub(u.clone().mulS(i.get(0,0)).mmul(c.transpose()));this.t=u,this.p=e.transpose(),this.w=l.transpose(),this.q=c,this.u=s,this.s=u.transpose().mmul(u),this.xResidual=r,this.yResidual=o,this.betas=i}else this.w=l.transpose(),this.s=u.transpose().mmul(u).sqrt(),this.t=r?u.clone().div(this.s.get(0,0)):u,this.xResidual=t.sub(u.mmul(l.transpose()))}}n.d(e,"AbstractMatrix",function(){return x}),n.d(e,"default",function(){return _}),n.d(e,"Matrix",function(){return _}),n.d(e,"MatrixColumnView",function(){return S}),n.d(e,"MatrixColumnSelectionView",function(){return M}),n.d(e,"MatrixFlipColumnView",function(){return O}),n.d(e,"MatrixFlipRowView",function(){return k}),n.d(e,"MatrixRowView",function(){return A}),n.d(e,"MatrixRowSelectionView",function(){return C}),n.d(e,"MatrixSelectionView",function(){return I}),n.d(e,"MatrixSubView",function(){return T}),n.d(e,"MatrixTransposeView",function(){return N}),n.d(e,"wrap",function(){return D}),n.d(e,"WrapperMatrix1D",function(){return P}),n.d(e,"WrapperMatrix2D",function(){return j}),n.d(e,"solve",function(){return z}),n.d(e,"inverse",function(){return F}),n.d(e,"determinant",function(){return U}),n.d(e,"linearDependencies",function(){return X}),n.d(e,"pseudoInverse",function(){return Y}),n.d(e,"covariance",function(){return H}),n.d(e,"correlation",function(){return q}),n.d(e,"SingularValueDecomposition",function(){return G}),n.d(e,"SVD",function(){return G}),n.d(e,"EigenvalueDecomposition",function(){return K}),n.d(e,"EVD",function(){return K}),n.d(e,"CholeskyDecomposition",function(){return Q}),n.d(e,"CHO",function(){return Q}),n.d(e,"LuDecomposition",function(){return L}),n.d(e,"LU",function(){return L}),n.d(e,"QrDecomposition",function(){return B}),n.d(e,"QR",function(){return B}),n.d(e,"Nipals",function(){return J}),n.d(e,"NIPALS",function(){return J})},tyuB:function(t,e,n){"use strict";n.d(e,"a",function(){return N});var r,i,o,a,s,u,c,l,f,h,d,p,g=n("o0o1"),v=n.n(g),y=n("yXPU"),m=n.n(y),b=n("yG8O"),x=n.n(b),w=n("lwsE"),_=n.n(w),E=n("W8MJ"),S=n.n(E),M=n("U+yc"),O=n.n(M),k=(n("1ABj"),n("4cb6")),A=n("+uE7"),C=n("g1CP"),I=n("FlHB"),T=n("94HZ"),N=(r=Object(k.injectable)(),i=Object(k.inject)(A.a.Systems),o=Object(k.named)(A.a.FrameGraphSystem),a=Object(k.inject)(A.a.RenderPassFactory),s=Object(k.inject)(A.a.ConfigService),u=Object(k.inject)(A.a.ResourcePool),r((l=function(){function t(){_()(this,t),x()(this,"frameGraphSystem",f,this),x()(this,"renderPassFactory",h,this),x()(this,"configService",d,this),x()(this,"resourcePool",p,this)}return S()(t,[{key:"execute",value:function(){var t=m()(v.a.mark(function t(e){var n,r,i,o,a,s,u,c;return v.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=this.renderPassFactory(T.a.IDENTIFIER),r=n.setup,i=n.execute,this.frameGraphSystem.addPass(T.a.IDENTIFIER,r,i),o=this.renderPassFactory(C.a.IDENTIFIER),a=o.setup,s=o.execute,u=o.tearDown,c=this.frameGraphSystem.addPass(C.a.IDENTIFIER,a,s,u),this.frameGraphSystem.present(c.data.output);case 5:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}()},{key:"tearDown",value:function(){this.resourcePool.clean()}},{key:"pick",value:function(t,e){return this.renderPassFactory(I.a.IDENTIFIER).pick(t,e)}}]),t}(),f=O()(l.prototype,"frameGraphSystem",[i,o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=O()(l.prototype,"renderPassFactory",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=O()(l.prototype,"configService",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=O()(l.prototype,"resourcePool",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=l))||c)},u6oY:function(t,e){t.exports=function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t}},uI0o:function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var i=r(n("85Fp")),o=r(n("liZ3")),a=r(n("vSx6")),s=function(t,e,n,r,l){var f,h,d,p,g=t.children(e),v=t.node(e),y=v?v.borderLeft:void 0,m=v?v.borderRight:void 0,b={};y&&(g=null===g||void 0===g?void 0:g.filter(function(t){return t!==y&&t!==m}));var x=(0,i.default)(t,g||[]);null===x||void 0===x||x.forEach(function(e){var i;if(null===(i=t.children(e.v))||void 0===i?void 0:i.length){var o=s(t,e.v,n,r);b[e.v]=o,o.hasOwnProperty("barycenter")&&c(e,o)}});var w=(0,o.default)(x,n);u(w,b),null===(f=w.filter(function(t){return t.vs.length>0}))||void 0===f||f.forEach(function(e){var n=t.node(e.vs[0]);n&&(e.fixorder=n.fixorder,e.order=n.order)});var _=(0,a.default)(w,r,l);if(y&&(_.vs=[y,_.vs,m].flat(),null===(h=t.predecessors(y))||void 0===h?void 0:h.length)){var E=t.node((null===(d=t.predecessors(y))||void 0===d?void 0:d[0])||""),S=t.node((null===(p=t.predecessors(m))||void 0===p?void 0:p[0])||"");_.hasOwnProperty("barycenter")||(_.barycenter=0,_.weight=0),_.barycenter=(_.barycenter*_.weight+E.order+S.order)/(_.weight+2),_.weight+=2}return _},u=function(t,e){null===t||void 0===t||t.forEach(function(t){var n,r=null===(n=t.vs)||void 0===n?void 0:n.map(function(t){return e[t]?e[t].vs:t});t.vs=r.flat()})},c=function(t,e){void 0!==t.barycenter?(t.barycenter=(t.barycenter*t.weight+e.barycenter*e.weight)/(t.weight+e.weight),t.weight+=e.weight):(t.barycenter=e.barycenter,t.weight=e.weight)};e.default=s},uPCe:function(t,e,n){t.exports=n("cGwC")},ujMp:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.circularDependencyToException=e.listMetadataForTarget=e.listRegisteredBindingsForServiceIdentifier=e.getServiceIdentifierAsString=e.getFunctionName=void 0;var r=n("MON2");function i(t){return"function"==typeof t?t.name:"symbol"==typeof t?t.toString():t}function o(t){if(t.name)return t.name;var e=t.toString(),n=e.match(/^function\s*([^\s(]+)/);return n?n[1]:"Anonymous function: "+e}e.getServiceIdentifierAsString=i,e.listRegisteredBindingsForServiceIdentifier=function(t,e,n){var r="",i=n(t,e);return 0!==i.length&&(r="\nRegistered bindings:",i.forEach(function(t){var e="Object";null!==t.implementationType&&(e=o(t.implementationType)),r=r+"\n "+e,t.constraint.metaData&&(r=r+" - "+t.constraint.metaData)})),r},e.circularDependencyToException=function t(e){e.childRequests.forEach(function(e){if(function t(e,n){return null!==e.parentRequest&&(e.parentRequest.serviceIdentifier===n||t(e.parentRequest,n))}(e,e.serviceIdentifier)){var n=function(t){return function t(e,n){void 0===n&&(n=[]);var r=i(e.serviceIdentifier);return n.push(r),null!==e.parentRequest?t(e.parentRequest,n):n}(t).reverse().join(" --\x3e ")}(e);throw new Error(r.CIRCULAR_DEPENDENCY+" "+n)}t(e)})},e.listMetadataForTarget=function(t,e){if(e.isTagged()||e.isNamed()){var n="",r=e.getNamedTag(),i=e.getCustomTags();return null!==r&&(n+=r.toString()+"\n"),null!==i&&i.forEach(function(t){n+=t.toString()+"\n"})," "+t+"\n "+t+" - "+n}return" "+t},e.getFunctionName=o},uxXc:function(t,e,n){var r=n("t1N5"),i=n("onlc"),o={};Object.keys(r).forEach(function(t){o[t]={},Object.defineProperty(o[t],"channels",{value:r[t].channels}),Object.defineProperty(o[t],"labels",{value:r[t].labels});var e=i(t);Object.keys(e).forEach(function(n){var r=e[n];o[t][n]=function(t){var e=function(e){if(void 0===e||null===e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var r=n.length,i=0;i1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(r)})}),t.exports=o},vSx6:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("eQiA"),i=function(t,e,n){for(var r,i=n;e.length&&(r=e[e.length-1]).i<=i;)e.pop(),null===t||void 0===t||t.push(r.vs),i++;return i},o=function(t,e){return function(n,r){if(void 0!==n.fixorder&&void 0!==r.fixorder)return n.fixorder-r.fixorder;if(n.barycenterr.barycenter)return 1;if(e&&void 0!==n.order&&void 0!==r.order){if(n.orderr.order)return 1}return t?r.i-n.i:n.i-r.i}};e.default=function(t,e,n){var a=(0,r.partition)(t,function(t){return t.hasOwnProperty("fixorder")&&!isNaN(t.fixorder)||t.hasOwnProperty("barycenter")}),s=a.lhs,u=a.rhs.sort(function(t,e){return-t.i- -e.i}),c=[],l=0,f=0,h=0;null===s||void 0===s||s.sort(o(!!e,!!n)),h=i(c,u,h),null===s||void 0===s||s.forEach(function(t){var e;h+=null===(e=t.vs)||void 0===e?void 0:e.length,c.push(t.vs),l+=t.barycenter*t.weight,f+=t.weight,h=i(c,u,h)});var d={vs:c.flat()};return f&&(d.barycenter=l/f,d.weight=f),d}},vdMR:function(t,e){},"vip/":function(t,e,n){t.exports=n("yEj1")},wNIw:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("kCNo"),i=function(t){return t&&t.__esModule?t:{default:t}}(n("n7rY"));var o=function(t){return function(){for(var e=[],n=0;nv[1]?v[0]:v[1])/2;p=function(t){return m}}else{var b=v/2;p=function(t){return b}}else p=function(t){return t.size?(0,o.isArray)(t.size)?(t.size[0]>t.size[1]?t.size[0]:t.size[1])/2:(0,o.isObject)(t.size)?(t.size.width>t.size.height?t.size.width:t.size.height)/2:t.size/2:10};this.nodeSize=p;var x,w=this.comboSpacing;x=(0,o.isNumber)(w)?function(){return w}:(0,o.isFunction)(w)?w:function(){return 0},this.comboSpacing=x;var _,E=this.comboPadding;_=(0,o.isNumber)(E)?function(){return E}:(0,o.isArray)(E)?function(){return Math.max.apply(null,E)}:(0,o.isFunction)(E)?E:function(){return 0},this.comboPadding=_;var S,M=this.linkDistance;M||(M=10),S=(0,o.isNumber)(M)?function(t){return M}:M,this.linkDistance=S;var O,k=this.edgeStrength;k||(k=1),O=(0,o.isNumber)(k)?function(t){return k}:k,this.edgeStrength=O;var A,C=this.nodeStrength;C||(C=30),A=(0,o.isNumber)(C)?function(t){return C}:C,this.nodeStrength=A},e.prototype.initPos=function(t){this.nodes.forEach(function(e,n){var r=e.comboId,i=t[r];r&&i?(e.x=i.cx+100/(n+1),e.y=i.cy+100/(n+1)):(e.x=100/(n+1),e.y=100/(n+1))})},e.prototype.getComboMap=function(){var t=this,e=t.nodeMap,n=t.comboTrees,r=t.oriComboMap,i={};return(n||[]).forEach(function(n){var a=[];(0,o.traverseTreeUp)(n,function(n){if("node"===n.itemType)return!0;if(!r[n.id])return!0;if(void 0===i[n.id]){var s={id:n.id,name:n.id,cx:0,cy:0,count:0,depth:t.oriComboMap[n.id].depth||0,children:[]};i[n.id]=s}var u=n.children;u&&u.forEach(function(t){if(!i[t.id]&&!e[t.id])return!0;a.push(t)});var c=i[n.id];if(c.cx=0,c.cy=0,0===a.length){c.empty=!0;var l=r[n.id];c.cx=l.x,c.cy=l.y}return a.forEach(function(t){if(c.count++,"node"!==t.itemType){var n=i[t.id];return(0,o.isNumber)(n.cx)&&(c.cx+=n.cx),void((0,o.isNumber)(n.cy)&&(c.cy+=n.cy))}var r=e[t.id];r&&((0,o.isNumber)(r.x)&&(c.cx+=r.x),(0,o.isNumber)(r.y)&&(c.cy+=r.y))}),c.cx/=c.count||1,c.cy/=c.count||1,c.children=a,!0})}),i},e.prototype.applyComboCenterForce=function(t){var e=this.gravity,n=this.comboGravity||e,r=this.alpha,i=this.comboTrees,a=this.indexMap,s=this.nodeMap,u=this.comboMap;(i||[]).forEach(function(e){(0,o.traverseTreeUp)(e,function(e){if("node"===e.itemType)return!0;if(!u[e.id])return!0;var i=u[e.id],c=(i.depth+1)/10*.5,l=i.cx,f=i.cy;return i.cx=0,i.cy=0,i.children.forEach(function(e){if("node"!==e.itemType){var h=u[e.id];return h&&(0,o.isNumber)(h.cx)&&(i.cx+=h.cx),void(h&&(0,o.isNumber)(h.cy)&&(i.cy+=h.cy))}var d=s[e.id],p=d.x-l||.005,g=d.y-f||.005,v=Math.sqrt(p*p+g*g),y=a[d.id],m=n*r/v*c;t[y].x-=p*m,t[y].y-=g*m,(0,o.isNumber)(d.x)&&(i.cx+=d.x),(0,o.isNumber)(d.y)&&(i.cy+=d.y)}),i.cx/=i.count||1,i.cy/=i.count||1,!0})})},e.prototype.applyCalculate=function(t){var e=this.comboMap,n=this.nodes,r={};n.forEach(function(t,e){n.forEach(function(n,i){if(!(eo&&(c.minX=o),c.minY>a&&(c.minY=a),c.maxX1&&o.forEach(function(n,s){if("node"===n.itemType)return!1;var u=e[n.id];u&&o.forEach(function(o,c){if(s<=c)return!1;if("node"===o.itemType)return!1;var l=e[o.id];if(!l)return!1;var f=u.cx-l.cx||.005,h=u.cy-l.cy||.005,d=f*f+h*h,p=u.r||1,g=l.r||1,v=p+g,y=g*g,m=p*p;if(di)){var y=e["".concat(d.id,"-").concat(n.id)],m=y.vx,b=y.vy,x=Math.log(Math.abs(n.depth-d.depth)/10)+1||1;x=x<1?1:x,n.comboId!==d.comboId&&(x+=1);var w=x?Math.pow(f,x):1,_=o(n)*a/g*w;if(t[p].x+=m*_,t[p].y+=b*_,pi?e:t,h=r>i?t:e,d=s.x-s.size[0]/2,p=s.y-s.size[1]/2,g=s.x+s.size[0]/2,v=s.y+s.size[1]/2,y=h.x-h.size[0]/2,m=h.y-h.size[1]/2,b=h.x+h.size[0]/2,x=h.y+h.size[1]/2,w=s.x,_=s.y,E=h.x,S=h.y,M=0,O=0;if(g>=y&&b>=d&&v>=m&&x>=p){0===(O=Math.sqrt(Math.pow(E-w,2)+Math.pow(S-_,2)))&&(O=1e-7),M=1*a/O*100+((gy?d:y))*((vm?p:m)),M*=o}else{var k=!1,A=function(t,e,n){var r=t.x-t.size[0]/2,i=t.y-t.size[1]/2,o=t.x+t.size[0]/2,a=t.y+t.size[1]/2,s=e.x-e.size[0]/2,f=e.y-e.size[1]/2,h=e.x+e.size[0]/2,d=e.y+e.size[1]/2,p=t.x,g=t.y,v=e.x,y=e.y,m=v-p,b=Math.atan2(m,y-g),x=0,w=0,_=0,E=0;b>u?(w=i-d,x=s-o,_=parseFloat(w?(w/Math.cos(b)).toFixed(2):x.toFixed(2)),E=parseFloat(x?(x/Math.sin(b)).toFixed(2):w.toFixed(2))):_=E=0(x=s-o)?parseFloat(w?(w/Math.cos(b)).toFixed(2):x.toFixed(2)):parseFloat(x?(x/Math.sin(b)).toFixed(2):w.toFixed(2)):b<-u?(w=i-d)>(x=-(h-r))?parseFloat(w?(w/Math.cos(b)).toFixed(2):x.toFixed(2)):parseFloat(x?(x/Math.sin(b)).toFixed(2):w.toFixed(2)):(w=f-a)>(x=Math.abs(m)>(o-r)/2?r-h:m)?parseFloat(w?(w/Math.cos(b)).toFixed(2):x.toFixed(2)):parseFloat(x&&0!==b?(x/Math.sin(b)).toFixed(2):w.toFixed(2));var S=parseFloat(b.toFixed(2)),M=n;return n&&(M=cr||o.y>i)&&(e+=1e12);for(var a=n+1;a150)&&!(l<30||l>150)||c*l<0){a=!1;break}if(c>70&&c<110&&!(l>70&&l<110)||c*l<0){a=!1;break}if((u.x-t.x)*(u.x-e.x)<0){a=!1;break}if((u.y-t.y)*(u.y-e.y)<0){a=!1;break}}return a}function x(t,e){for(var n=!1,r=1*h,i=1*d,o=[r,-r,0,0],a=[0,0,i,-i],s=0;sg?(c=f,n=!0):(u.x-=o[l],u.y-=a[l])}}return p>g&&(p*=v),n?m(t):0}function w(t,e){var n=0;(t.x<0||t.y<0||t.x+t.size[0]+20>r||t.y+t.size[1]+20>i)&&(n+=1e12);for(var o=0;o0&&!(++a>=50);){var s=x(t,e);0!==s&&(o=s),i=o-n,n=o,0===i?--r:r=20}return t.forEach(function(t){t.x=t.x-t.size[0]/2,t.y=t.y-t.size[1]/2}),{nodes:t,edges:e}}},yEj1:function(t,e){t.exports=function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)}},yG8O:function(t,e){t.exports=function(t,e,n,r){n&&Object.defineProperty(t,e,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})},t.exports.__esModule=!0,t.exports.default=t.exports},yMAV:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Plan=void 0;var r=function(){return function(t,e){this.parentContext=t,this.rootRequest=e}}();e.Plan=r},yU0y:function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return i}),n.d(e,"c",function(){return o});var r=1e-6,i="undefined"!=typeof Float32Array?Float32Array:Array,o=Math.random;Math.PI;Math.hypot||(Math.hypot=function(){for(var t=0,e=arguments.length;e--;)t+=arguments[e]*arguments[e];return Math.sqrt(t)})},yXPU:function(t,e){function n(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}t.exports=function(t){return function(){var e=this,r=arguments;return new Promise(function(i,o){var a=t.apply(e,r);function s(t){n(a,i,o,s,u,"next",t)}function u(t){n(a,i,o,s,u,"throw",t)}s(void 0)})}},t.exports.__esModule=!0,t.exports.default=t.exports},yZ5d:function(t,e,n){"use strict";var r=n("lSNA"),i=n.n(r),o=n("lwsE"),a=n.n(o),s=n("W8MJ"),u=n.n(s),c=n("4cb6");var l,f=/uniform\s+(bool|float|int|vec2|vec3|vec4|ivec2|ivec3|ivec4|mat2|mat3|mat4|sampler2D|samplerCube)\s+([\s\S]*?);/g;function h(t){var e={};return{content:t=t.replace(f,function(t,n,r){var i=r.split(":"),o=i[0].trim(),a="";switch(i.length>1&&(a=i[1].trim()),n){case"bool":a="true"===a;break;case"float":case"int":a=Number(a);break;case"vec2":case"vec3":case"vec4":case"ivec2":case"ivec3":case"ivec4":case"mat2":case"mat3":case"mat4":a=a?a.replace("[","").replace("]","").split(",").reduce(function(t,e){return t.push(Number(e.trim())),t},[]):new Array(function(t){var e=0;switch(t){case"vec2":case"ivec2":e=2;break;case"vec3":case"ivec3":e=3;break;case"vec4":case"ivec4":case"mat2":e=4;break;case"mat3":e=9;break;case"mat4":e=16}return e}(n)).fill(0)}return e[o]=a,"uniform ".concat(n," ").concat(o,";\n")}),uniforms:e}}function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function p(t){for(var e=1;e 0.0 ) p = vec2(p.x-k*p.y,-k*p.x-p.y)/2.0;\n p.x -= clamp( p.x, -2.0, 0.0 );\n return -length(p)*sign(p.y);\n}\n\nfloat sdBox(vec2 p, vec2 b) {\n vec2 d = abs(p)-b;\n return length(max(d,vec2(0))) + min(max(d.x,d.y),0.0);\n}\n\nfloat sdPentagon(vec2 p, float r) {\n vec3 k = vec3(0.809016994,0.587785252,0.726542528);\n p.x = abs(p.x);\n p -= 2.0*min(dot(vec2(-k.x,k.y),p),0.0)*vec2(-k.x,k.y);\n p -= 2.0*min(dot(vec2( k.x,k.y),p),0.0)*vec2( k.x,k.y);\n p -= vec2(clamp(p.x,-r*k.z,r*k.z),r);\n return length(p)*sign(p.y);\n}\n\nfloat sdHexagon(vec2 p, float r) {\n vec3 k = vec3(-0.866025404,0.5,0.577350269);\n p = abs(p);\n p -= 2.0*min(dot(k.xy,p),0.0)*k.xy;\n p -= vec2(clamp(p.x, -k.z*r, k.z*r), r);\n return length(p)*sign(p.y);\n}\n\nfloat sdOctogon(vec2 p, float r) {\n vec3 k = vec3(-0.9238795325, 0.3826834323, 0.4142135623 );\n p = abs(p);\n p -= 2.0*min(dot(vec2( k.x,k.y),p),0.0)*vec2( k.x,k.y);\n p -= 2.0*min(dot(vec2(-k.x,k.y),p),0.0)*vec2(-k.x,k.y);\n p -= vec2(clamp(p.x, -k.z*r, k.z*r), r);\n return length(p)*sign(p.y);\n}\n\nfloat sdHexagram(vec2 p, float r) {\n vec4 k=vec4(-0.5,0.8660254038,0.5773502692,1.7320508076);\n p = abs(p);\n p -= 2.0*min(dot(k.xy,p),0.0)*k.xy;\n p -= 2.0*min(dot(k.yx,p),0.0)*k.yx;\n p -= vec2(clamp(p.x,r*k.z,r*k.w),r);\n return length(p)*sign(p.y);\n}\n\nfloat sdRhombus(vec2 p, vec2 b) {\n vec2 q = abs(p);\n float h = clamp((-2.0*ndot(q,b)+ndot(b,b))/dot(b,b),-1.0,1.0);\n float d = length( q - 0.5*b*vec2(1.0-h,1.0+h) );\n return d * sign( q.x*b.y + q.y*b.x - b.x*b.y );\n}\n\nfloat sdVesica(vec2 p, float r, float d) {\n p = abs(p);\n float b = sqrt(r*r-d*d); // can delay this sqrt\n return ((p.y-b)*d>p.x*b)\n ? length(p-vec2(0.0,b))\n : length(p-vec2(-d,0.0))-r;\n}"})}},{key:"registerModule",value:function(t,e){if(!this.rawContentCache[t]){var n=e.vs,r=void 0===n?"":n,i=e.fs,o=void 0===i?"":i,a=e.uniforms,s=h(r),u=s.content,c=s.uniforms,l=h(o),f=l.content,d=l.uniforms;this.rawContentCache[t]={fs:f,uniforms:p(p(p({},c),d),a),vs:u}}}},{key:"destroy",value:function(){this.moduleCache={},this.rawContentCache={}}},{key:"getModule",value:function(t){var e=this;if(this.moduleCache[t])return this.moduleCache[t];var n=this.rawContentCache[t].vs||"",r=this.rawContentCache[t].fs||"",i=this.processModule(n,[],"vs"),o=i.content,a=i.includeList,s=this.processModule(r,[],"fs"),u=s.content,c=s.includeList,l=u,f=function(t){return t.filter(function(t,e,n){return n.indexOf(t)===e})}(a.concat(c).concat(t)).reduce(function(t,n){return p(p({},t),e.rawContentCache[n].uniforms)},{});return g.test(u)||(l="#ifdef GL_FRAGMENT_PRECISION_HIGH\n precision highp float;\n #else\n precision mediump float;\n#endif\n"+u),this.moduleCache[t]={fs:l.trim(),uniforms:f,vs:o.trim()},this.moduleCache[t]}},{key:"processModule",value:function(t,e,n){var r=this;return{content:t.replace(v,function(t,i){var o=i.split(" ")[0].replace(/"/g,"");if(e.indexOf(o)>-1)return"";var a=r.rawContentCache[o][n];return e.push(o),r.processModule(a||"",e,n).content}),includeList:e}}}]),t}())||l},yaXH:function(t,e){},z4Hk:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BindingWhenSyntax=void 0;var r=n("406g"),i=n("RR/i"),o=function(){function t(t){this._binding=t}return t.prototype.when=function(t){return this._binding.constraint=t,new r.BindingOnSyntax(this._binding)},t.prototype.whenTargetNamed=function(t){return this._binding.constraint=i.namedConstraint(t),new r.BindingOnSyntax(this._binding)},t.prototype.whenTargetIsDefault=function(){return this._binding.constraint=function(t){return null!==t.target&&!t.target.isNamed()&&!t.target.isTagged()},new r.BindingOnSyntax(this._binding)},t.prototype.whenTargetTagged=function(t,e){return this._binding.constraint=i.taggedConstraint(t)(e),new r.BindingOnSyntax(this._binding)},t.prototype.whenInjectedInto=function(t){return this._binding.constraint=function(e){return i.typeConstraint(t)(e.parentRequest)},new r.BindingOnSyntax(this._binding)},t.prototype.whenParentNamed=function(t){return this._binding.constraint=function(e){return i.namedConstraint(t)(e.parentRequest)},new r.BindingOnSyntax(this._binding)},t.prototype.whenParentTagged=function(t,e){return this._binding.constraint=function(n){return i.taggedConstraint(t)(e)(n.parentRequest)},new r.BindingOnSyntax(this._binding)},t.prototype.whenAnyAncestorIs=function(t){return this._binding.constraint=function(e){return i.traverseAncerstors(e,i.typeConstraint(t))},new r.BindingOnSyntax(this._binding)},t.prototype.whenNoAncestorIs=function(t){return this._binding.constraint=function(e){return!i.traverseAncerstors(e,i.typeConstraint(t))},new r.BindingOnSyntax(this._binding)},t.prototype.whenAnyAncestorNamed=function(t){return this._binding.constraint=function(e){return i.traverseAncerstors(e,i.namedConstraint(t))},new r.BindingOnSyntax(this._binding)},t.prototype.whenNoAncestorNamed=function(t){return this._binding.constraint=function(e){return!i.traverseAncerstors(e,i.namedConstraint(t))},new r.BindingOnSyntax(this._binding)},t.prototype.whenAnyAncestorTagged=function(t,e){return this._binding.constraint=function(n){return i.traverseAncerstors(n,i.taggedConstraint(t)(e))},new r.BindingOnSyntax(this._binding)},t.prototype.whenNoAncestorTagged=function(t,e){return this._binding.constraint=function(n){return!i.traverseAncerstors(n,i.taggedConstraint(t)(e))},new r.BindingOnSyntax(this._binding)},t.prototype.whenAnyAncestorMatches=function(t){return this._binding.constraint=function(e){return i.traverseAncerstors(e,t)},new r.BindingOnSyntax(this._binding)},t.prototype.whenNoAncestorMatches=function(t){return this._binding.constraint=function(e){return!i.traverseAncerstors(e,t)},new r.BindingOnSyntax(this._binding)},t}();e.BindingWhenSyntax=o},z5Mu:function(t,e,n){"use strict";var r=n("J4zp"),i=n.n(r),o=n("o0o1"),a=n.n(o),s=n("yXPU"),u=n.n(s),c=n("yG8O"),l=n.n(c),f=n("lwsE"),h=n.n(f),d=n("W8MJ"),p=n.n(d),g=n("U+yc"),v=n.n(g),y=(n("1ABj"),n("4cb6")),m=n("+uE7"),b=function(){function t(){h()(this,t),this.name=void 0,this.refCount=0,this.hasSideEffect=!1,this.devirtualize=[],this.destroy=[],this.reads=[],this.writes=[]}return p()(t,[{key:"read",value:function(t){return this.reads.find(function(e){return e.index===t.index})||this.reads.push(t),t}},{key:"sample",value:function(t){return this.read(t),t}},{key:"write",value:function(t,e){if(this.writes.find(function(t){return t.index===e.index}))return e;var n=t.getResourceNode(e);n.resource.version++,n.resource.imported&&(this.hasSideEffect=!0);var r=t.createResourceNode(n.resource);return t.getResourceNode(r).writer=this,this.writes.push(r),r}}]),t}(),x=n("7W2i"),w=n.n(x),_=n("a1gu"),E=n.n(_),S=n("Nsbk"),M=n.n(S);function O(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var n,r=M()(t);if(e){var i=M()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return E()(this,n)}}var k,A,C,I,T,N=function(t){w()(n,t);var e=O(n);function n(){var t;h()(this,n);for(var r=arguments.length,i=new Array(r),o=0;o=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n-1||(e[r]=t[r])}),e}),this.ticking=!1},e.prototype.execute=function(t){var e=this,n=e.nodes,r=e.edges;if(!e.ticking){var i=e.forceSimulation,o=e.alphaMin,a=e.alphaDecay,s=e.alpha;if(i){if(t)if(e.clustering&&e.clusterForce&&(e.clusterForce.nodes(n),e.clusterForce.links(r)),i.nodes(n),r&&e.edgeForce)e.edgeForce.links(r);else if(r&&!e.edgeForce){d=u.forceLink().id(function(t){return t.id}).links(r);e.edgeStrength&&d.strength(e.edgeStrength),e.linkDistance&&d.distance(e.linkDistance),e.edgeForce=d,i.force("link",d)}e.preventOverlap&&e.overlapProcess(i),i.alpha(s).restart(),this.ticking=!0}else try{var l=u.forceManyBody();if(e.nodeStrength&&l.strength(e.nodeStrength),i=u.forceSimulation().nodes(n),e.clustering){var f=(0,c.default)();f.centerX(e.center[0]).centerY(e.center[1]).template("force").strength(e.clusterFociStrength),r&&f.links(r),n&&f.nodes(n),f.forceLinkDistance(e.clusterEdgeDistance).forceLinkStrength(e.clusterEdgeStrength).forceCharge(e.clusterNodeStrength).forceNodeSize(e.clusterNodeSize),e.clusterForce=f,i.force("group",f)}if(i.force("center",u.forceCenter(e.center[0],e.center[1])).force("charge",l).alpha(s).alphaDecay(a).alphaMin(o),e.preventOverlap&&e.overlapProcess(i),r){var d=u.forceLink().id(function(t){return t.id}).links(r);e.edgeStrength&&d.strength(e.edgeStrength),e.linkDistance&&d.distance(e.linkDistance),e.edgeForce=d,i.force("link",d)}if(e.workerEnabled&&!p()&&(e.workerEnabled=!1,console.warn("workerEnabled option is only supported when running in web worker.")),e.workerEnabled){i.stop();for(var g=function(t){var e=t.alphaMin(),n=t.alphaTarget(),r=t.alpha(),i=Math.log((e-n)/(r-n))/Math.log(1-t.alphaDecay());return Math.ceil(i)}(i),v=1;v<=g;v++)i.tick(),postMessage({nodes:n,currentTick:v,totalTicks:g,type:h.LAYOUT_MESSAGE.TICK},void 0);e.ticking=!1}else i.on("tick",function(){e.tick()}).on("end",function(){e.ticking=!1,e.onLayoutEnd&&e.onLayoutEnd()}),e.ticking=!0;e.forceSimulation=i,e.ticking=!0}catch(t){e.ticking=!1,console.warn(t)}}},e.prototype.overlapProcess=function(t){var e,n,r=this.nodeSize,i=this.nodeSpacing,o=this.collideStrength;if(n=(0,l.isNumber)(i)?function(){return i}:(0,l.isFunction)(i)?i:function(){return 0},r)if((0,l.isFunction)(r))e=function(t){return r(t)+n(t)};else if((0,l.isArray)(r)){var a=(r[0]>r[1]?r[0]:r[1])/2;e=function(t){return a+n(t)}}else if((0,l.isNumber)(r)){var s=r/2;e=function(t){return s+n(t)}}else e=function(){return 10};else e=function(t){return t.size?(0,l.isArray)(t.size)?(t.size[0]>t.size[1]?t.size[0]:t.size[1])/2+n(t):(0,l.isObject)(t.size)?(t.size.width>t.size.height?t.size.width:t.size.height)/2+n(t):t.size/2+n(t):10+n(t)};t.force("collisionForce",u.forceCollide(e).strength(o))},e.prototype.updateCfg=function(t){this.ticking&&(this.forceSimulation.stop(),this.ticking=!1),this.forceSimulation=null,Object.assign(this,t)},e.prototype.destroy=function(){this.ticking&&(this.forceSimulation.stop(),this.ticking=!1),this.nodes=null,this.edges=null,this.destroyed=!0},e}(f.Base);function p(){return"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope}e.ForceLayout=d},zLyj:function(t,e){t.exports=function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t}},zOyl:function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);i&&("get"in i?e.__esModule:!i.writable&&!i.configurable)||(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),i=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||r(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.ERLayout=e.ForceAtlas2Layout=e.ComboCombinedLayout=e.ComboForceLayout=e.GForceGPULayout=e.FruchtermanGPULayout=e.FruchtermanLayout=e.MDSLayout=e.ConcentricLayout=e.RadialLayout=e.DagreCompoundLayout=e.DagreLayout=e.CircularLayout=e.ForceLayout=e.GForceLayout=e.RandomLayout=e.GridLayout=e.Layouts=e.Layout=void 0;var o=n("miQf");Object.defineProperty(e,"GridLayout",{enumerable:!0,get:function(){return o.GridLayout}});var a=n("Tahl");Object.defineProperty(e,"RandomLayout",{enumerable:!0,get:function(){return a.RandomLayout}});var s=n("qsEr");Object.defineProperty(e,"GForceLayout",{enumerable:!0,get:function(){return s.GForceLayout}});var u=n("TRqC");Object.defineProperty(e,"ForceLayout",{enumerable:!0,get:function(){return u.ForceLayout}});var c=n("fGbL");Object.defineProperty(e,"CircularLayout",{enumerable:!0,get:function(){return c.CircularLayout}});var l=n("E9Ls");Object.defineProperty(e,"DagreLayout",{enumerable:!0,get:function(){return l.DagreLayout}});var f=n("PA46");Object.defineProperty(e,"DagreCompoundLayout",{enumerable:!0,get:function(){return f.DagreCompoundLayout}});var h=n("Y0u0");Object.defineProperty(e,"RadialLayout",{enumerable:!0,get:function(){return h.RadialLayout}});var d=n("RVo0");Object.defineProperty(e,"ConcentricLayout",{enumerable:!0,get:function(){return d.ConcentricLayout}});var p=n("gsyx");Object.defineProperty(e,"MDSLayout",{enumerable:!0,get:function(){return p.MDSLayout}});var g=n("+pfl");Object.defineProperty(e,"FruchtermanLayout",{enumerable:!0,get:function(){return g.FruchtermanLayout}});var v=n("B33U");Object.defineProperty(e,"FruchtermanGPULayout",{enumerable:!0,get:function(){return v.FruchtermanGPULayout}});var y=n("A3YJ");Object.defineProperty(e,"GForceGPULayout",{enumerable:!0,get:function(){return y.GForceGPULayout}});var m=n("x+rs");Object.defineProperty(e,"ComboForceLayout",{enumerable:!0,get:function(){return m.ComboForceLayout}});var b=n("fQop");Object.defineProperty(e,"ComboCombinedLayout",{enumerable:!0,get:function(){return b.ComboCombinedLayout}});var x=n("BxdF");Object.defineProperty(e,"ForceAtlas2Layout",{enumerable:!0,get:function(){return x.ForceAtlas2Layout}});var w=n("knzT");Object.defineProperty(e,"ERLayout",{enumerable:!0,get:function(){return w.ERLayout}});var _=n("Tirl");Object.defineProperty(e,"Layout",{enumerable:!0,get:function(){return _.Layout}}),Object.defineProperty(e,"Layouts",{enumerable:!0,get:function(){return _.Layouts}}),i(n("s+qY"),e)},zxMA:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.QueryableString=void 0;var r=function(){function t(t){this.str=t}return t.prototype.startsWith=function(t){return 0===this.str.indexOf(t)},t.prototype.endsWith=function(t){var e,n=t.split("").reverse().join("");return e=this.str.split("").reverse().join(""),this.startsWith.call({str:e},n)},t.prototype.contains=function(t){return-1!==this.str.indexOf(t)},t.prototype.equals=function(t){return this.str===t},t.prototype.value=function(){return this.str},t}();e.QueryableString=r}}]); \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/js/chunk-90c1.7af88c1f.js b/rec-admin/rec-admin-views/src/main/resources/static/static/js/chunk-90c1.7af88c1f.js deleted file mode 100644 index 3a98a9098418431e48f7d960cd3ae242df9f8e82..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/js/chunk-90c1.7af88c1f.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-90c1"],{"5POr":function(module,__webpack_exports__,__webpack_require__){"use strict";var axios__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("vDqi"),axios__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_0__),_antv_g6__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("fD4D"),graph,tooltip=new _antv_g6__WEBPACK_IMPORTED_MODULE_1__.a.Tooltip({offsetX:10,offsetY:20,itemTypes:["node","edge"],getContent:function(e){var t=document.createElement("div");t.style.width="fit-content";var o=e.item.getModel(),n="";return n=o.remark&&null!=o.remark&&""!=o.remark.trim()?"注释:"+o.remark:"注释:暂无",t.innerHTML=n,t}});__webpack_exports__.a={name:"readView",props:["flowId"],filters:{},data:function(){return{bizOptions:[],flowManager:[],newGraphData:{modes:{default:["drag-canvas"]},plugins:[new _antv_g6__WEBPACK_IMPORTED_MODULE_1__.a.Minimap({size:[200,200]}),tooltip],container:"mountNode",width:window.screen.width,height:window.screen.height,defaultNode:{size:60,labelCfg:{style:{fill:"black"}}},defaultEdge:{labelCfg:{autoRotate:!0}}},data:{nodes:[],edges:[]}}},created:function(){var e=this;axios__WEBPACK_IMPORTED_MODULE_0___default.a.get("http://localhost:9999/igms/enums/biz",{}).then(function(t){return e.bizOptions=t.data.data.tv}),e.queryManager()},mounted:function(){this.queryInitData()},methods:{toEdit:function(){this.$router.push({path:"/Ig",query:{flowId:this.flowManager.flowId}})},enumFormat:function(e,t){for(var o=0;o0)for(var i=0;i0)for(var _i=0;_i1&&r(new Error(a+" 不能有多个"))},trigger:"blur"}],sceneCode:[{required:!0,message:"此项必填",trigger:"blur"},{validator:function(t,a,r){for(var n=e,o=0,s=0;s1&&r(new Error(a+" 不能有多个"))},trigger:"blur"}]}}},created:function(){},mounted:function(){},methods:{load:function(e){var t=this;return s()(n.a.mark(function a(){var r,o;return n.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return(r=t).domainName=e.domainName,a.next=4,l(e.domainCode);case 4:(o=a.sent).ok?(r.saveData=o.data.scene,0===r.saveData.scenePairs.length&&r.saveData.scenePairs.push({sceneName:"",sceneCode:""}),r.dialogVisible=!0):r.$message({type:"error",message:"加载失败:"+o.message});case 6:case"end":return a.stop()}},a,t)}))()},save:function(){var e=this;return s()(n.a.mark(function t(){var a,r,o;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(a=e,r=!0,o=0;o0)for(var i=0;i0)for(var _i=0;_i1&&r(new Error(a+" 不能有多个"))},trigger:"blur"}],value:[{required:!0,message:"此项必填",trigger:"blur"},{validator:function(t,a,r){for(var n=e,o=0,u=0;u1&&r(new Error(a+" 不能有多个"))},trigger:"blur"}]}}},created:function(){},mounted:function(){},methods:{load:function(e){var t=this;return u()(n.a.mark(function a(){var r;return n.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return r=t,e&&(r.saveData=r.$cloneObj(e)),a.next=4,Object(d.g)();case 4:r.domainOptions=a.sent,r.dialogVisible=!0;case 6:case"end":return a.stop()}},a,t)}))()},save:function(){var e=this,t=this;console.log(1),t.$refs.ruleForm.validate(function(){var a=u()(n.a.mark(function a(r){var o,u;return n.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!r){a.next=6;break}for(o=!0,u=0;u=0;r--){var o=t[r];"."===o?t.splice(r,1):".."===o?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r=-1&&!o;i--){var a=i>=0?arguments[i]:t.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,o="/"===a.charAt(0))}return e=n(r(e.split("/"),function(t){return!!t}),!o).join("/"),(o?"/":"")+e||"."},e.normalize=function(t){var i=e.isAbsolute(t),a="/"===o(t,-1);return(t=n(r(t.split("/"),function(t){return!!t}),!i).join("/"))||i||(t="."),t&&a&&(t+="/"),(i?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var o=r(t.split("/")),i=r(n.split("/")),a=Math.min(o.length,i.length),s=a,u=0;u=1;--i)if(47===(e=t.charCodeAt(i))){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=function(t){"string"!=typeof t&&(t+="");var e,n=0,r=-1,o=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!o){n=e+1;break}}else-1===r&&(o=!1,r=e+1);return-1===r?"":t.slice(n,r)}(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!=typeof t&&(t+="");for(var e=-1,n=0,r=-1,o=!0,i=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===r&&(o=!1,r=a+1),46===s?-1===e?e=a:1!==i&&(i=1):-1!==e&&(i=-1);else if(!o){n=a+1;break}}return-1===e||-1===r||0===i||1===i&&e===r-1&&e===n+1?"":t.slice(e,r)};var o="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("8oxB"))},"4BeY":function(t,e,n){(function(e){!function(e,n){t.exports=n()}(0,function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach(function(e){return delete t[e]})};"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;function n(t,e){return t(e={exports:{}},e.exports),e.exports}var r=n(function(t,e){t.exports=function(){function t(t){var e=t&&"object"==typeof t;return e&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o=n&&!0===n.clone;return o&&t(e)?r(function(t){return Array.isArray(t)?[]:{}}(e),e,n):e}function n(n,o,i){var a=n.slice();return o.forEach(function(o,s){void 0===a[s]?a[s]=e(o,i):t(o)?a[s]=r(n[s],o,i):-1===n.indexOf(o)&&a.push(e(o,i))}),a}function r(o,i,a){var s=Array.isArray(i),u=a||{arrayMerge:n},c=u.arrayMerge||n;return s?Array.isArray(o)?c(o,i,a):e(i,a):function(n,o,i){var a={};return t(n)&&Object.keys(n).forEach(function(t){a[t]=e(n[t],i)}),Object.keys(o).forEach(function(s){t(o[s])&&n[s]?a[s]=r(n[s],o[s],i):a[s]=e(o[s],i)}),a}(o,i,a)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce(function(t,n){return r(t,n,e)})},r}()}),o=n(function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default}),i=o.svg,a=o.xlink,s={};s[i.name]=i.uri,s[a.name]=a.uri;var u=function(t,e){return void 0===t&&(t=""),""+t+""};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(u(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)})}).call(this,n("yLpj"))},"4d7F":function(t,e,n){t.exports={default:n("aW7e"),__esModule:!0}},"5K7Z":function(t,e,n){var r=n("93I4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},"5T2Y":function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"5oMp":function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},"5vMV":function(t,e,n){var r=n("B+OT"),o=n("NsO/"),i=n("W070")(!1),a=n("VVlx")("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(c,n)||c.push(n));return c}},"6/1s":function(t,e,n){var r=n("YqAc")("meta"),o=n("93I4"),i=n("B+OT"),a=n("2faE").f,s=0,u=Object.isExtensible||function(){return!0},c=!n("KUxP")(function(){return u(Object.preventExtensions({}))}),f=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!u(t))return"F";if(!e)return"E";f(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!u(t))return!0;if(!e)return!1;f(t)}return t[r].w},onFreeze:function(t){return c&&l.NEED&&u(t)&&!i(t,r)&&f(t),t}}},"8gHz":function(t,e,n){var r=n("5K7Z"),o=n("eaoh"),i=n("UWiX")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[i])?e:o(n)}},"8oxB":function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],f=!1,l=-1;function p(){f&&u&&(f=!1,u.length?c=u.concat(c):l=-1,c.length&&d())}function d(){if(!f){var t=s(p);f=!0;for(var e=c.length;e;){for(u=c,c=[];++l1)for(var n=1;no;)X(t,n=r[o++],e[n]);return t},Y=function(t){var e=U.call(this,t=x(t,!0));return!(this===B&&o(F,t)&&!o(I,t))&&(!(e||!o(this,t)||!o(F,t)||o(this,L)&&this[L][t])||e)},Z=function(t,e){if(t=w(t),e=x(e,!0),t!==B||!o(F,e)||o(I,e)){var n=T(t,e);return!n||!o(F,e)||o(t,L)&&t[L][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=$(w(t)),r=[],i=0;n.length>i;)o(F,e=n[i++])||e==L||e==u||r.push(e);return r},tt=function(t){for(var e,n=t===B,r=$(n?I:w(t)),i=[],a=0;r.length>a;)!o(F,e=r[a++])||n&&!o(B,e)||i.push(F[e]);return i};V||(s((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===B&&e.call(I,n),o(this,L)&&o(this[L],t)&&(this[L][t]=!1),z(this,t,O(1,n))};return i&&H&&z(B,t,{configurable:!0,set:e}),G(t)}).prototype,"toString",function(){return this._k}),C.f=Z,k.f=X,n("ar/p").f=A.f=Q,n("NV0k").f=Y,S.f=tt,i&&!n("uOPS")&&s(B,"propertyIsEnumerable",Y,!0),h.f=function(t){return G(d(t))}),a(a.G+a.W+a.F*!V,{Symbol:P});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)d(et[nt++]);for(var rt=j(d.store),ot=0;rt.length>ot;)v(rt[ot++]);a(a.S+a.F*!V,"Symbol",{for:function(t){return o(D,t+="")?D[t]:D[t]=P(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var e in D)if(D[e]===t)return e},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!V,"Object",{create:function(t,e){return void 0===e?E(t):K(E(t),e)},defineProperty:X,defineProperties:K,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:tt});var it=c(function(){S.f(1)});a(a.S+a.F*it,"Object",{getOwnPropertySymbols:function(t){return S.f(_(t))}}),N&&a(a.S+a.F*(!V||c(function(){var t=P();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(b(e)||void 0!==t)&&!J(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!J(e))return e}),r[1]=e,R.apply(N,r)}}),P.prototype[q]||n("NegM")(P.prototype,q,P.prototype.valueOf),l(P,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},"B+OT":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},BEtg:function(t,e){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)} -/*! - * Determine if an object is a Buffer - * - * @author Feross Aboukhadijeh - * @license MIT - */ -t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},CgaS:function(t,e,n){"use strict";var r=n("JEQr"),o=n("xTJ+"),i=n("9rSQ"),a=n("UnBK");function s(t){this.defaults=t,this.interceptors={request:new i,response:new i}}s.prototype.request=function(t){"string"==typeof t&&(t=o.merge({url:arguments[0]},arguments[1])),(t=o.merge(r,{method:"get"},this.defaults,t)).method=t.method.toLowerCase();var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},o.forEach(["delete","get","head","options"],function(t){s.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}}),o.forEach(["post","put","patch"],function(t){s.prototype[t]=function(e,n,r){return this.request(o.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=s},D8kY:function(t,e,n){var r=n("Ojgd"),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},DfZB:function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},DhVD:function(t,e,n){var r=n("WX/U");t.exports=function(t,e,n){return void 0===n?r(t,e,!1):r(t,n,!1!==e)}},EJiy:function(t,e,n){"use strict";e.__esModule=!0;var r=a(n("F+2o")),o=a(n("+JPL")),i="function"==typeof o.default&&"symbol"==typeof r.default?function(t){return typeof t}:function(t){return t&&"function"==typeof o.default&&t.constructor===o.default&&t!==o.default.prototype?"symbol":typeof t};function a(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof o.default&&"symbol"===i(r.default)?function(t){return void 0===t?"undefined":i(t)}:function(t){return t&&"function"==typeof o.default&&t.constructor===o.default&&t!==o.default.prototype?"symbol":void 0===t?"undefined":i(t)}},EXMj:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},"F+2o":function(t,e,n){t.exports={default:n("2Nb0"),__esModule:!0}},FlQf:function(t,e,n){"use strict";var r=n("ccE7")(!0);n("MPFp")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},FpHa:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},G8Mo:function(t,e,n){var r=n("93I4");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},HSsa:function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r"+t+""},c=r.svg,f=r.xlink,l={attrs:(s={style:["position: absolute","width: 0","height: 0"].join("; ")},s[c.name]=c.uri,s[f.name]=f.uri,s)},p=function(t){this.config=n(l,t||{}),this.symbols=[]};p.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},p.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},p.prototype.find=function(t){return this.symbols.filter(function(e){return e.id===t})[0]||null},p.prototype.has=function(t){return null!==this.find(t)},p.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map(function(t){return t.stringify()}).join("");return u(e,t)},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){this.symbols.forEach(function(t){return t.destroy()})};var d=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};d.prototype.stringify=function(){return this.content},d.prototype.toString=function(){return this.stringify()},d.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach(function(e){return delete t[e]})};var h=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},v=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return h(u(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(d),m={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},y=function(t){return Array.prototype.slice.call(t,0)},g=navigator.userAgent,b={isChrome:/chrome/i.test(g),isFirefox:/firefox/i.test(g),isIE:/msie/i.test(g)||/trident/i.test(g),isEdge:/edge/i.test(g)},_=function(t){var e=[];return y(t.querySelectorAll("style")).forEach(function(t){t.textContent+="",e.push(t)}),e},w=function(t){return(t||window.location.href).split("#")[0]},x=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",function(e,n,r){!function(t,e){var n=document.createEvent("CustomEvent");n.initCustomEvent(t,!1,!1,e),window.dispatchEvent(n)}(t,{oldUrl:r,newUrl:n})})}])},O=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern"),y(t.querySelectorAll("symbol")).forEach(function(t){y(t.querySelectorAll(e)).forEach(function(e){t.parentNode.insertBefore(e,t)})}),t};var E=r.xlink.uri,A="xlink:href",C=/[{}|\\\^\[\]`"<>]/g;function S(t){return t.replace(C,function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()})}var k,j=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],T=j.map(function(t){return"["+t+"]"}).join(","),M=function(t,e,n,r){var o=S(n),i=S(r);(function(t,e){return y(t).reduce(function(t,n){if(!n.attributes)return t;var r=y(n.attributes),o=e?r.filter(e):r;return t.concat(o)},[])})(t.querySelectorAll(T),function(t){var e=t.localName,n=t.value;return-1!==j.indexOf(e)&&-1!==n.indexOf("url("+o)}).forEach(function(t){return t.value=t.value.replace(o,i)}),function(t,e,n){y(t).forEach(function(t){var r=t.getAttribute(A);if(r&&0===r.indexOf(e)){var o=r.replace(e,n);t.setAttributeNS(E,A,o)}})}(e,o,i)},$={MOUNT:"mount",SYMBOL_MOUNT:"symbol_mount"},P=function(t){function e(e){var r=this;void 0===e&&(e={}),t.call(this,n(m,e));var o=function(t){return t=t||Object.create(null),{on:function(e,n){(t[e]||(t[e]=[])).push(n)},off:function(e,n){t[e]&&t[e].splice(t[e].indexOf(n)>>>0,1)},emit:function(e,n){(t[e]||[]).map(function(t){t(n)}),(t["*"]||[]).map(function(t){t(e,n)})}}}();this._emitter=o,this.node=null;var i=this.config;if(i.autoConfigure&&this._autoConfigure(e),i.syncUrlsWithBaseTag){var a=document.getElementsByTagName("base")[0].getAttribute("href");o.on($.MOUNT,function(){return r.updateUrls("#",a)})}var s=this._handleLocationChange.bind(this);this._handleLocationChange=s,i.listenLocationChangeEvent&&window.addEventListener(i.locationChangeEvent,s),i.locationChangeAngularEmitter&&x(i.locationChangeEvent),o.on($.MOUNT,function(t){i.moveGradientsOutsideSymbol&&O(t)}),o.on($.SYMBOL_MOUNT,function(t){i.moveGradientsOutsideSymbol&&O(t.parentNode),(b.isIE||b.isEdge)&&_(t)})}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter="angular"in window),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=b.isFirefox)},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,r=e.newUrl;this.updateUrls(n,r)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit($.SYMBOL_MOUNT,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof t?document.querySelector(t):t;return n.node=r,this.symbols.forEach(function(t){t.mount(n.node),e._emitter.emit($.SYMBOL_MOUNT,t.node)}),y(r.querySelectorAll("symbol")).forEach(function(t){var e=v.createFromExistingNode(t);e.node=t,n.add(e)}),this._emitter.emit($.MOUNT,r),r},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach(function(t){return t.destroy()}),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1);if(this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,r=this.render();return this.node=r,e&&n.childNodes[0]?n.insertBefore(r,n.childNodes[0]):n.appendChild(r),this._emitter.emit($.MOUNT,r),r},e.prototype.render=function(){return h(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return M(this.node,n,w(t)+"#",w(e)+"#"),!0},Object.defineProperties(e.prototype,r),e}(p),N=t(function(t){ -/*! - * domready (c) Dustin Diaz 2014 - License MIT - */ -t.exports=function(){var t,e=[],n=document,r=(n.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(n.readyState);return r||n.addEventListener("DOMContentLoaded",t=function(){for(n.removeEventListener("DOMContentLoaded",t),r=1;t=e.shift();)t()}),function(t){r?setTimeout(t,0):e.push(t)}}()});!!window.__SVG_SPRITE__?k=window.__SVG_SPRITE__:(k=new P({attrs:{id:"__SVG_SPRITE_NODE__"}}),window.__SVG_SPRITE__=k);var R=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?k.attach(t):k.mount(document.body,!0)};return document.body?R():N(R),k})}).call(this,n("yLpj"))},JB68:function(t,e,n){var r=n("Jes0");t.exports=function(t){return Object(r(t))}},JEQr:function(t,e,n){"use strict";(function(e){var r=n("xTJ+"),o=n("yK9s"),i={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=n("tQ2B"):void 0!==e&&(t=n("tQ2B")),t}(),transformRequest:[function(t,e){return o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(a(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],function(t){s.headers[t]={}}),r.forEach(["post","put","patch"],function(t){s.headers[t]=r.merge(i)}),t.exports=s}).call(this,n("8oxB"))},"JMW+":function(t,e,n){"use strict";var r,o,i,a,s=n("uOPS"),u=n("5T2Y"),c=n("2GTP"),f=n("QMMT"),l=n("Y7ZC"),p=n("93I4"),d=n("eaoh"),h=n("EXMj"),v=n("oioR"),m=n("8gHz"),y=n("QXhf").set,g=n("q6LJ")(),b=n("ZW5q"),_=n("RDmV"),w=n("vBP9"),x=n("zXhZ"),O=u.TypeError,E=u.process,A=E&&E.versions,C=A&&A.v8||"",S=u.Promise,k="process"==f(E),j=function(){},T=o=b.f,M=!!function(){try{var t=S.resolve(1),e=(t.constructor={})[n("UWiX")("species")]=function(t){t(j,j)};return(k||"function"==typeof PromiseRejectionEvent)&&t.then(j)instanceof e&&0!==C.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),$=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},P=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,o=1==t._s,i=0,a=function(e){var n,i,a,s=o?e.ok:e.fail,u=e.resolve,c=e.reject,f=e.domain;try{s?(o||(2==t._h&&L(t),t._h=1),!0===s?n=r:(f&&f.enter(),n=s(r),f&&(f.exit(),a=!0)),n===e.promise?c(O("Promise-chain cycle")):(i=$(n))?i.call(n,u,c):u(n)):c(r)}catch(t){f&&!a&&f.exit(),c(t)}};n.length>i;)a(n[i++]);t._c=[],t._n=!1,e&&!t._h&&N(t)})}},N=function(t){y.call(u,function(){var e,n,r,o=t._v,i=R(t);if(i&&(e=_(function(){k?E.emit("unhandledRejection",o,t):(n=u.onunhandledrejection)?n({promise:t,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=k||R(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},R=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){y.call(u,function(){var e;k?E.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},q=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),P(e,!0))},U=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw O("Promise can't be resolved itself");(e=$(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,c(U,r,1),c(q,r,1))}catch(t){q.call(r,t)}}):(n._v=t,n._s=1,P(n,!1))}catch(t){q.call({_w:n,_d:!1},t)}}};M||(S=function(t){h(this,S,"Promise","_h"),d(t),r.call(this);try{t(c(U,this,1),c(q,this,1))}catch(t){q.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n("XJU/")(S.prototype,{then:function(t,e){var n=T(m(this,S));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=k?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&P(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=c(U,t,1),this.reject=c(q,t,1)},b.f=T=function(t){return t===S||t===a?new i(t):o(t)}),l(l.G+l.W+l.F*!M,{Promise:S}),n("RfKB")(S,"Promise"),n("TJWN")("Promise"),a=n("WEpk").Promise,l(l.S+l.F*!M,"Promise",{reject:function(t){var e=T(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(s||!M),"Promise",{resolve:function(t){return x(s&&this===a?S:this,t)}}),l(l.S+l.F*!(M&&n("TuGD")(function(t){S.all(t).catch(j)})),"Promise",{all:function(t){var e=this,n=T(e),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,a=1;v(t,!1,function(t){var s=i++,u=!1;n.push(void 0),a++,e.resolve(t).then(function(t){u||(u=!0,n[s]=t,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=T(e),r=n.reject,o=_(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},Jes0:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"KHd+":function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=u):o&&(u=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(c.functional){c._injectStyles=u;var f=c.render;c.render=function(t,e){return u.call(e),f(t,e)}}else{var l=c.beforeCreate;c.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:c}}n.d(e,"a",function(){return r})},KUxP:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},Kw5r:function(t,e,n){"use strict";n.r(e),function(t){ -/*! - * Vue.js v2.5.17 - * (c) 2014-2018 Evan You - * Released under the MIT License. - */ -var n=Object.freeze({});function r(t){return void 0===t||null===t}function o(t){return void 0!==t&&null!==t}function i(t){return!0===t}function a(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function s(t){return null!==t&&"object"==typeof t}var u=Object.prototype.toString;function c(t){return"[object Object]"===u.call(t)}function f(t){return"[object RegExp]"===u.call(t)}function l(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function d(t){var e=parseFloat(t);return isNaN(e)?t:e}function h(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function g(t,e){return y.call(t,e)}function b(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var _=/-(\w)/g,w=b(function(t){return t.replace(_,function(t,e){return e?e.toUpperCase():""})}),x=b(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),O=/\B([A-Z])/g,E=b(function(t){return t.replace(O,"-$1").toLowerCase()});var A=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function C(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function S(t,e){for(var n in e)t[n]=e[n];return t}function k(t){for(var e={},n=0;n0,K=G&&G.indexOf("edge/")>0,Y=(G&&G.indexOf("android"),G&&/iphone|ipad|ipod|ios/.test(G)||"ios"===z),Z=(G&&/chrome\/\d+/.test(G),{}.watch),Q=!1;if(W)try{var tt={};Object.defineProperty(tt,"passive",{get:function(){Q=!0}}),window.addEventListener("test-passive",null,tt)}catch(t){}var et=function(){return void 0===B&&(B=!W&&!H&&void 0!==t&&"server"===t.process.env.VUE_ENV),B},nt=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function rt(t){return"function"==typeof t&&/native code/.test(t.toString())}var ot,it="undefined"!=typeof Symbol&&rt(Symbol)&&"undefined"!=typeof Reflect&&rt(Reflect.ownKeys);ot="undefined"!=typeof Set&&rt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var at=j,st=0,ut=function(){this.id=st++,this.subs=[]};ut.prototype.addSub=function(t){this.subs.push(t)},ut.prototype.removeSub=function(t){m(this.subs,t)},ut.prototype.depend=function(){ut.target&&ut.target.addDep(this)},ut.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(i&&!g(o,"default"))a=!1;else if(""===a||a===E(t)){var u=Ft(String,o.type);(u<0||s0&&(ce((c=t(c,(n||"")+"_"+u))[0])&&ce(l)&&(s[f]=vt(l.text+c[0].text),c.shift()),s.push.apply(s,c)):a(c)?ce(l)?s[f]=vt(l.text+c):""!==c&&s.push(vt(c)):ce(c)&&ce(l)?s[f]=vt(l.text+c.text):(i(e._isVList)&&o(c.tag)&&r(c.key)&&o(n)&&(c.key="__vlist"+n+"_"+u+"__"),s.push(c)));return s}(t):void 0}function ce(t){return o(t)&&o(t.text)&&function(t){return!1===t}(t.isComment)}function fe(t,e){return(t.__esModule||it&&"Module"===t[Symbol.toStringTag])&&(t=t.default),s(t)?e.extend(t):t}function le(t){return t.isComment&&t.asyncFactory}function pe(t){if(Array.isArray(t))for(var e=0;eke&&Oe[n].id>t.id;)n--;Oe.splice(n+1,0,t)}else Oe.push(t);Ce||(Ce=!0,Qt(je))}}(this)},Me.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||s(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){It(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Me.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Me.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Me.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var $e={enumerable:!0,configurable:!0,get:j,set:j};function Pe(t,e,n){$e.get=function(){return this[e][n]},$e.set=function(t){this[e][n]=t},Object.defineProperty(t,n,$e)}function Ne(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];t.$parent&&wt(!1);var i=function(i){o.push(i);var a=qt(i,e,n,t);Ct(r,i,a),i in t||Pe(t,"_props",i)};for(var a in e)i(a);wt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?j:A(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;c(e=t._data="function"==typeof e?function(t,e){ft();try{return t.call(e,e)}catch(t){return It(t,e,"data()"),{}}finally{lt()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);for(;o--;){var i=n[o];0,r&&g(r,i)||D(i)||Pe(t,"_data",i)}At(e,!0)}(t):At(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=et();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;0,r||(n[o]=new Me(t,a||j,j,Re)),o in t||Le(t,o,i)}}(t,e.computed),e.watch&&e.watch!==Z&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o=0||n.indexOf(t[o])<0)&&r.push(t[o]);return r}return t}function ln(t){this._init(t)}function pn(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=t.name||n.options.name;var a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Rt(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)Pe(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)Le(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,L.forEach(function(t){a[t]=n[t]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=S({},a.options),o[r]=a,a}}function dn(t){return t&&(t.Ctor.options.name||t.tag)}function hn(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function vn(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=dn(a.componentOptions);s&&!e(s)&&mn(n,i,r,o)}}}function mn(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,m(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=un++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r,n._parentElm=e._parentElm,n._refElm=e._refElm;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Rt(cn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&ve(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,o=r&&r.context;t.$slots=me(e._renderChildren,o),t.$scopedSlots=n,t._c=function(e,n,r,o){return sn(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return sn(t,e,n,r,o,!0)};var i=r&&r.data;Ct(t,"$attrs",i&&i.attrs||n,null,!0),Ct(t,"$listeners",e._parentListeners||n,null,!0)}(e),xe(e,"beforeCreate"),function(t){var e=De(t.$options.inject,t);e&&(wt(!1),Object.keys(e).forEach(function(n){Ct(t,n,e[n])}),wt(!0))}(e),Ne(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),xe(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(ln),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=St,t.prototype.$delete=kt,t.prototype.$watch=function(t,e,n){if(c(e))return Ue(this,t,e,n);(n=n||{}).user=!0;var r=new Me(this,t,e,n);return n.immediate&&e.call(this,r.value),function(){r.teardown()}}}(ln),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){if(Array.isArray(t))for(var r=0,o=t.length;r1?C(e):e;for(var n=C(arguments,1),r=0,o=e.length;rparseInt(this.max)&&mn(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return U}};Object.defineProperty(t,"config",e),t.util={warn:at,extend:S,mergeOptions:Rt,defineReactive:Ct},t.set=St,t.delete=kt,t.nextTick=Qt,t.options=Object.create(null),L.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,S(t.options.components,gn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=C(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Rt(this.options,t),this}}(t),pn(t),function(t){L.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&c(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(ln),Object.defineProperty(ln.prototype,"$isServer",{get:et}),Object.defineProperty(ln.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ln,"FunctionalRenderContext",{value:Ze}),ln.version="2.5.17";var bn=h("style,class"),_n=h("input,textarea,option,select,progress"),wn=h("contenteditable,draggable,spellcheck"),xn=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),On="http://www.w3.org/1999/xlink",En=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},An=function(t){return En(t)?t.slice(6,t.length):""},Cn=function(t){return null==t||!1===t};function Sn(t){for(var e=t.data,n=t,r=t;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=kn(r.data,e));for(;o(n=n.parent);)n&&n.data&&(e=kn(e,n.data));return function(t,e){if(o(t)||o(e))return jn(t,Tn(e));return""}(e.staticClass,e.class)}function kn(t,e){return{staticClass:jn(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function jn(t,e){return t?e?t+" "+e:t:e||""}function Tn(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,i=t.length;r-1?Qn(t,e,n):xn(e)?Cn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):wn(e)?t.setAttribute(e,Cn(n)||"false"===n?"false":"true"):En(e)?Cn(n)?t.removeAttributeNS(On,An(e)):t.setAttributeNS(On,e,n):Qn(t,e,n)}function Qn(t,e,n){if(Cn(n))t.removeAttribute(e);else{if(J&&!X&&"TEXTAREA"===t.tagName&&"placeholder"===e&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var tr={create:Yn,update:Yn};function er(t,e){var n=e.elm,i=e.data,a=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Sn(e),u=n._transitionClasses;o(u)&&(s=jn(s,Tn(u))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var nr,rr={create:er,update:er},or="__r",ir="__c";function ar(t,e,n,r,o){e=function(t){return t._withTask||(t._withTask=function(){Xt=!0;var e=t.apply(null,arguments);return Xt=!1,e})}(e),n&&(e=function(t,e,n){var r=nr;return function o(){null!==t.apply(null,arguments)&&sr(e,o,n,r)}}(e,t,r)),nr.addEventListener(t,e,Q?{capture:r,passive:o}:r)}function sr(t,e,n,r){(r||nr).removeEventListener(t,e._withTask||e,n)}function ur(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};nr=e.elm,function(t){if(o(t[or])){var e=J?"change":"input";t[e]=[].concat(t[or],t[e]||[]),delete t[or]}o(t[ir])&&(t.change=[].concat(t[ir],t.change||[]),delete t[ir])}(n),ie(n,i,ar,sr,e.context),nr=void 0}}var cr={create:ur,update:ur};function fr(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,a=e.elm,s=t.data.domProps||{},u=e.data.domProps||{};for(n in o(u.__ob__)&&(u=e.data.domProps=S({},u)),s)r(u[n])&&(a[n]="");for(n in u){if(i=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=i;var c=r(i)?"":String(i);lr(a,c)&&(a.value=c)}else a[n]=i}}}function lr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(o(r)){if(r.lazy)return!1;if(r.number)return d(n)!==d(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var pr={create:fr,update:fr},dr=b(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function hr(t){var e=vr(t.style);return t.staticStyle?S(t.staticStyle,e):e}function vr(t){return Array.isArray(t)?k(t):"string"==typeof t?dr(t):t}var mr,yr=/^--/,gr=/\s*!important$/,br=function(t,e,n){if(yr.test(e))t.style.setProperty(e,n);else if(gr.test(n))t.style.setProperty(e,n.replace(gr,""),"important");else{var r=wr(e);if(Array.isArray(n))for(var o=0,i=n.length;o-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Ar(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Cr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&S(e,Sr(t.name||"v")),S(e,t),e}return"string"==typeof t?Sr(t):void 0}}var Sr=b(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),kr=W&&!X,jr="transition",Tr="animation",Mr="transition",$r="transitionend",Pr="animation",Nr="animationend";kr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Mr="WebkitTransition",$r="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Pr="WebkitAnimation",Nr="webkitAnimationEnd"));var Rr=W?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Lr(t){Rr(function(){Rr(t)})}function qr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Er(t,e))}function Ur(t,e){t._transitionClasses&&m(t._transitionClasses,e),Ar(t,e)}function Dr(t,e,n){var r=Ir(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===jr?$r:Nr,u=0,c=function(){t.removeEventListener(s,f),n()},f=function(e){e.target===t&&++u>=a&&c()};setTimeout(function(){u0&&(n=jr,f=a,l=i.length):e===Tr?c>0&&(n=Tr,f=c,l=u.length):l=(n=(f=Math.max(a,c))>0?a>c?jr:Tr:null)?n===jr?i.length:u.length:0,{type:n,timeout:f,propCount:l,hasTransform:n===jr&&Fr.test(r[Mr+"Property"])}}function Br(t,e){for(;t.length1}function Jr(t,e){!0!==e.data.show&&Wr(e)}var Xr=function(t){var e,n,s={},u=t.modules,c=t.nodeOps;for(e=0;eh?b(t,r(n[y+1])?null:n[y+1].elm,n,d,y,i):d>y&&w(0,e,p,h)}(u,d,h,n,a):o(h)?(o(t.text)&&c.setTextContent(u,""),b(u,null,h,0,h.length-1,n)):o(d)?w(0,d,0,d.length-1):o(t.text)&&c.setTextContent(u,""):t.text!==e.text&&c.setTextContent(u,e.text),o(p)&&o(f=p.hook)&&o(f=f.postpatch)&&f(t,e)}}}function A(t,e,n){if(i(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r-1,a.selected!==i&&(a.selected=i);else if($(to(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Qr(t,e){return e.every(function(e){return!$(e,t)})}function to(t){return"_value"in t?t._value:t.value}function eo(t){t.target.composing=!0}function no(t){t.target.composing&&(t.target.composing=!1,ro(t.target,"input"))}function ro(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function oo(t){return!t.componentInstance||t.data&&t.data.transition?t:oo(t.componentInstance._vnode)}var io={model:Kr,show:{bind:function(t,e,n){var r=e.value,o=(n=oo(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,Wr(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=oo(n)).data&&n.data.transition?(n.data.show=!0,r?Wr(n,function(){t.style.display=t.__vOriginalDisplay}):Hr(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}}},ao={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function so(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?so(pe(e.children)):t}function uo(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[w(i)]=o[i];return e}function co(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var fo={name:"transition",props:ao,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(function(t){return t.tag||le(t)})).length){0;var r=this.mode;0;var o=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var i=so(o);if(!i)return o;if(this._leaving)return co(t,o);var s="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?s+"comment":s+i.tag:a(i.key)?0===String(i.key).indexOf(s)?i.key:s+i.key:i.key;var u=(i.data||(i.data={})).transition=uo(this),c=this._vnode,f=so(c);if(i.data.directives&&i.data.directives.some(function(t){return"show"===t.name})&&(i.data.show=!0),f&&f.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(i,f)&&!le(f)&&(!f.componentInstance||!f.componentInstance._vnode.isComment)){var l=f.data.transition=S({},u);if("out-in"===r)return this._leaving=!0,ae(l,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),co(t,o);if("in-out"===r){if(le(i))return c;var p,d=function(){p()};ae(u,"afterEnter",d),ae(u,"enterCancelled",d),ae(l,"delayLeave",function(t){p=t})}}return o}}},lo=S({tag:String,moveClass:String},ao);function po(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ho(t){t.data.newPos=t.elm.getBoundingClientRect()}function vo(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete lo.mode;var mo={Transition:fo,TransitionGroup:{props:lo,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=uo(this),s=0;s-1?Rn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Rn[t]=/HTMLUnknownElement/.test(e.toString())},S(ln.options.directives,io),S(ln.options.components,mo),ln.prototype.__patch__=W?Xr:j,ln.prototype.$mount=function(t,e){return function(t,e,n){return t.$el=e,t.$options.render||(t.$options.render=ht),xe(t,"beforeMount"),new Me(t,function(){t._update(t._render(),n)},j,null,!0),n=!1,null==t.$vnode&&(t._isMounted=!0,xe(t,"mounted")),t}(this,t=t&&W?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},W&&setTimeout(function(){U.devtools&&nt&&nt.emit("init",ln)},0),e.default=ln}.call(this,n("yLpj"))},L2JU:function(t,e,n){"use strict";n.d(e,"b",function(){return w}); -/** - * vuex v3.0.1 - * (c) 2017 Evan You - * @license MIT - */ -var r=function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}},o="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}var a=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},s={namespaced:{configurable:!0}};s.namespaced.get=function(){return!!this._rawModule.namespaced},a.prototype.addChild=function(t,e){this._children[t]=e},a.prototype.removeChild=function(t){delete this._children[t]},a.prototype.getChild=function(t){return this._children[t]},a.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},a.prototype.forEachChild=function(t){i(this._children,t)},a.prototype.forEachGetter=function(t){this._rawModule.getters&&i(this._rawModule.getters,t)},a.prototype.forEachAction=function(t){this._rawModule.actions&&i(this._rawModule.actions,t)},a.prototype.forEachMutation=function(t){this._rawModule.mutations&&i(this._rawModule.mutations,t)},Object.defineProperties(a.prototype,s);var u=function(t){this.register([],t,!1)};u.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},u.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")},"")},u.prototype.update=function(t){!function t(e,n,r){0;n.update(r);if(r.modules)for(var o in r.modules){if(!n.getChild(o))return void 0;t(e.concat(o),n.getChild(o),r.modules[o])}}([],this.root,t)},u.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new a(e,n);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o);e.modules&&i(e.modules,function(e,o){r.register(t.concat(o),e,n)})},u.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var c;var f=function(t){var e=this;void 0===t&&(t={}),!c&&"undefined"!=typeof window&&window.Vue&&g(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1);var i=t.state;void 0===i&&(i={}),"function"==typeof i&&(i=i()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new u(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new c;var a=this,s=this.dispatch,f=this.commit;this.dispatch=function(t,e){return s.call(a,t,e)},this.commit=function(t,e,n){return f.call(a,t,e,n)},this.strict=r,v(this,i,[],this._modules.root),h(this,i),n.forEach(function(t){return t(e)}),c.config.devtools&&function(t){o&&(t._devtoolHook=o,o.emit("vuex:init",t),o.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){o.emit("vuex:mutation",t,e)}))}(this)},l={state:{configurable:!0}};function p(t,e){return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function d(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;v(t,n,[],t._modules.root,!0),h(t,n,e)}function h(t,e,n){var r=t._vm;t.getters={};var o={};i(t._wrappedGetters,function(e,n){o[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var a=c.config.silent;c.config.silent=!0,t._vm=new c({data:{$$state:e},computed:o}),c.config.silent=a,t.strict&&function(t){t._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}(t),r&&(n&&t._withCommit(function(){r._data.$$state=null}),c.nextTick(function(){return r.$destroy()}))}function v(t,e,n,r,o){var i=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a]=r),!i&&!o){var s=m(e,n.slice(0,-1)),u=n[n.length-1];t._withCommit(function(){c.set(s,u,r.state)})}var f=r.context=function(t,e,n){var r=""===e,o={dispatch:r?t.dispatch:function(n,r,o){var i=y(n,r,o),a=i.payload,s=i.options,u=i.type;return s&&s.root||(u=e+u),t.dispatch(u,a)},commit:r?t.commit:function(n,r,o){var i=y(n,r,o),a=i.payload,s=i.options,u=i.type;s&&s.root||(u=e+u),t.commit(u,a,s)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return function(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach(function(o){if(o.slice(0,r)===e){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[o]},enumerable:!0})}}),n}(t,e)}},state:{get:function(){return m(t.state,n)}}}),o}(t,a,n);r.forEachMutation(function(e,n){!function(t,e,n,r){(t._mutations[e]||(t._mutations[e]=[])).push(function(e){n.call(t,r.state,e)})}(t,a+n,e,f)}),r.forEachAction(function(e,n){var r=e.root?n:a+n,o=e.handler||e;!function(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push(function(e,o){var i=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e,o);return function(t){return t&&"function"==typeof t.then}(i)||(i=Promise.resolve(i)),t._devtoolHook?i.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):i})}(t,r,o,f)}),r.forEachGetter(function(e,n){!function(t,e,n,r){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)}}(t,a+n,e,f)}),r.forEachChild(function(r,i){v(t,e,n.concat(i),r,o)})}function m(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function y(t,e,n){return function(t){return null!==t&&"object"==typeof t}(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function g(t){c&&t===c||r(c=t)}l.state.get=function(){return this._vm._data.$$state},l.state.set=function(t){0},f.prototype.commit=function(t,e,n){var r=this,o=y(t,e,n),i=o.type,a=o.payload,s=(o.options,{type:i,payload:a}),u=this._mutations[i];u&&(this._withCommit(function(){u.forEach(function(t){t(a)})}),this._subscribers.forEach(function(t){return t(s,r.state)}))},f.prototype.dispatch=function(t,e){var n=this,r=y(t,e),o=r.type,i=r.payload,a={type:o,payload:i},s=this._actions[o];if(s)return this._actionSubscribers.forEach(function(t){return t(a,n.state)}),s.length>1?Promise.all(s.map(function(t){return t(i)})):s[0](i)},f.prototype.subscribe=function(t){return p(t,this._subscribers)},f.prototype.subscribeAction=function(t){return p(t,this._actionSubscribers)},f.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},f.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},f.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),v(this,this.state,t,this._modules.get(t),n.preserveState),h(this,this.state)},f.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=m(e.state,t.slice(0,-1));c.delete(n,t[t.length-1])}),d(this)},f.prototype.hotUpdate=function(t){this._modules.update(t),d(this,!0)},f.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(f.prototype,l);var b=E(function(t,e){var n={};return O(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=A(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0}),n}),_=E(function(t,e){var n={};return O(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var i=A(this.$store,"mapMutations",t);if(!i)return;r=i.context.commit}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n}),w=E(function(t,e){var n={};return O(e).forEach(function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||A(this.$store,"mapGetters",t))return this.$store.getters[o]},n[r].vuex=!0}),n}),x=E(function(t,e){var n={};return O(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var i=A(this.$store,"mapActions",t);if(!i)return;r=i.context.dispatch}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n});function O(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function E(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function A(t,e,n){return t._modulesNamespaceMap[n]}var C={Store:f,install:g,version:"3.0.1",mapState:b,mapMutations:_,mapGetters:w,mapActions:x,createNamespacedHelpers:function(t){return{mapState:b.bind(null,t),mapGetters:w.bind(null,t),mapMutations:_.bind(null,t),mapActions:x.bind(null,t)}}};e.a=C},LYNF:function(t,e,n){"use strict";var r=n("OH9c");t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},Lmem:function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},M1xp:function(t,e,n){var r=n("a0xu");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},MCSJ:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},MLWZ:function(t,e,n){"use strict";var r=n("xTJ+");function o(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,function(t,e){null!==t&&void 0!==t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))}))}),i=a.join("&")}return i&&(t+=(-1===t.indexOf("?")?"?":"&")+i),t}},MPFp:function(t,e,n){"use strict";var r=n("uOPS"),o=n("Y7ZC"),i=n("kTiW"),a=n("NegM"),s=n("SBuE"),u=n("j2DC"),c=n("RfKB"),f=n("U+KD"),l=n("UWiX")("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,h,v,m,y){u(n,e,h);var g,b,_,w=function(t){if(!p&&t in A)return A[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",O="values"==v,E=!1,A=t.prototype,C=A[l]||A["@@iterator"]||v&&A[v],S=C||w(v),k=v?O?w("entries"):S:void 0,j="Array"==e&&A.entries||C;if(j&&(_=f(j.call(new t)))!==Object.prototype&&_.next&&(c(_,x,!0),r||"function"==typeof _[l]||a(_,l,d)),O&&C&&"values"!==C.name&&(E=!0,S=function(){return C.call(this)}),r&&!y||!p&&!E&&A[l]||a(A,l,S),s[e]=S,s[x]=d,v)if(g={values:O?S:w("values"),keys:m?S:w("keys"),entries:k},y)for(b in g)b in A||i(A,b,g[b]);else o(o.P+o.F*(p||E),e,g);return g}},Mj6V:function(t,e,n){var r,o; -/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress - * @license MIT */void 0===(o="function"==typeof(r=function(){var t={version:"0.2.0"},e=t.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
    '};function n(t,e,n){return tn?n:t}function r(t){return 100*(-1+t)}t.configure=function(t){var n,r;for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&(e[n]=r);return this},t.status=null,t.set=function(a){var s=t.isStarted();a=n(a,e.minimum,1),t.status=1===a?null:a;var u=t.render(!s),c=u.querySelector(e.barSelector),f=e.speed,l=e.easing;return u.offsetWidth,o(function(n){""===e.positionUsing&&(e.positionUsing=t.getPositioningCSS()),i(c,function(t,n,o){var i;return(i="translate3d"===e.positionUsing?{transform:"translate3d("+r(t)+"%,0,0)"}:"translate"===e.positionUsing?{transform:"translate("+r(t)+"%,0)"}:{"margin-left":r(t)+"%"}).transition="all "+n+"ms "+o,i}(a,f,l)),1===a?(i(u,{transition:"none",opacity:1}),u.offsetWidth,setTimeout(function(){i(u,{transition:"all "+f+"ms linear",opacity:0}),setTimeout(function(){t.remove(),n()},f)},f)):setTimeout(n,f)}),this},t.isStarted=function(){return"number"==typeof t.status},t.start=function(){t.status||t.set(0);var n=function(){setTimeout(function(){t.status&&(t.trickle(),n())},e.trickleSpeed)};return e.trickle&&n(),this},t.done=function(e){return e||t.status?t.inc(.3+.5*Math.random()).set(1):this},t.inc=function(e){var r=t.status;return r?("number"!=typeof e&&(e=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+e,0,.994),t.set(r)):t.start()},t.trickle=function(){return t.inc(Math.random()*e.trickleRate)},function(){var e=0,n=0;t.promise=function(r){return r&&"resolved"!==r.state()?(0===n&&t.start(),e++,n++,r.always(function(){0==--n?(e=0,t.done()):t.set((e-n)/e)}),this):this}}(),t.render=function(n){if(t.isRendered())return document.getElementById("nprogress");s(document.documentElement,"nprogress-busy");var o=document.createElement("div");o.id="nprogress",o.innerHTML=e.template;var a,u=o.querySelector(e.barSelector),c=n?"-100":r(t.status||0),l=document.querySelector(e.parent);return i(u,{transition:"all 0 linear",transform:"translate3d("+c+"%,0,0)"}),e.showSpinner||(a=o.querySelector(e.spinnerSelector))&&f(a),l!=document.body&&s(l,"nprogress-custom-parent"),l.appendChild(o),o},t.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(e.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&f(t)},t.isRendered=function(){return!!document.getElementById("nprogress")},t.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"};var o=function(){var t=[];function e(){var n=t.shift();n&&n(e)}return function(n){t.push(n),1==t.length&&e()}}(),i=function(){var t=["Webkit","O","Moz","ms"],e={};function n(n){return n=function(t){return t.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(t,e){return e.toUpperCase()})}(n),e[n]||(e[n]=function(e){var n=document.body.style;if(e in n)return e;for(var r,o=t.length,i=e.charAt(0).toUpperCase()+e.slice(1);o--;)if((r=t[o]+i)in n)return r;return e}(n))}function r(t,e,r){e=n(e),t.style[e]=r}return function(t,e){var n,o,i=arguments;if(2==i.length)for(n in e)void 0!==(o=e[n])&&e.hasOwnProperty(n)&&r(t,n,o);else r(t,i[1],i[2])}}();function a(t,e){var n="string"==typeof t?t:c(t);return n.indexOf(" "+e+" ")>=0}function s(t,e){var n=c(t),r=n+e;a(n,e)||(t.className=r.substring(1))}function u(t,e){var n,r=c(t);a(t,e)&&(n=r.replace(" "+e+" "," "),t.className=n.substring(1,n.length-1))}function c(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function f(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return t})?r.call(e,n,e,t):r)||(t.exports=o)},MvwC:function(t,e,n){var r=n("5T2Y").document;t.exports=r&&r.documentElement},NV0k:function(t,e){e.f={}.propertyIsEnumerable},NegM:function(t,e,n){var r=n("2faE"),o=n("rr1i");t.exports=n("jmDH")?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},"NsO/":function(t,e,n){var r=n("M1xp"),o=n("Jes0");t.exports=function(t){return r(o(t))}},NwJ3:function(t,e,n){var r=n("SBuE"),o=n("UWiX")("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},OH9c:function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t}},OTTw:function(t,e,n){"use strict";var r=n("xTJ+");t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},Ojgd:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},P2sY:function(t,e,n){t.exports={default:n("UbbE"),__esModule:!0}},PBE1:function(t,e,n){"use strict";var r=n("Y7ZC"),o=n("WEpk"),i=n("5T2Y"),a=n("8gHz"),s=n("zXhZ");r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},PE4B:function(t,e,n){"use strict";var r=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===o}(t)}(t)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(t,e){return e&&!0===e.clone&&r(t)?s(function(t){return Array.isArray(t)?[]:{}}(t),t,e):t}function a(t,e,n){var o=t.slice();return e.forEach(function(e,a){void 0===o[a]?o[a]=i(e,n):r(e)?o[a]=s(t[a],e,n):-1===t.indexOf(e)&&o.push(i(e,n))}),o}function s(t,e,n){var o=Array.isArray(e);return o===Array.isArray(t)?o?((n||{arrayMerge:a}).arrayMerge||a)(t,e,n):function(t,e,n){var o={};return r(t)&&Object.keys(t).forEach(function(e){o[e]=i(t[e],n)}),Object.keys(e).forEach(function(a){r(e[a])&&t[a]?o[a]=s(t[a],e[a],n):o[a]=i(e[a],n)}),o}(t,e,n):i(e,n)}s.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce(function(t,n){return s(t,n,e)})};var u=s;t.exports=u},"Q/yX":function(t,e,n){"use strict";var r=n("Y7ZC"),o=n("ZW5q"),i=n("RDmV");r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},QMMT:function(t,e,n){var r=n("a0xu"),o=n("UWiX")("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},QXhf:function(t,e,n){var r,o,i,a=n("2GTP"),s=n("MCSJ"),u=n("MvwC"),c=n("Hsns"),f=n("5T2Y"),l=f.process,p=f.setImmediate,d=f.clearImmediate,h=f.MessageChannel,v=f.Dispatch,m=0,y={},g=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},b=function(t){g.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++m]=function(){s("function"==typeof t?t:Function(t),e)},r(m),m},d=function(t){delete y[t]},"process"==n("a0xu")(l)?r=function(t){l.nextTick(a(g,t,1))}:v&&v.now?r=function(t){v.now(a(g,t,1))}:h?(i=(o=new h).port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",b,!1)):r="onreadystatechange"in c("script")?function(t){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:p,clear:d}},QbLZ:function(t,e,n){"use strict";e.__esModule=!0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n("P2sY"));e.default=r.default||function(t){for(var e=1;ec;)u.call(t,a=s[c++])&&e.push(a);return e}},RDmV:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},RfKB:function(t,e,n){var r=n("2faE").f,o=n("B+OT"),i=n("UWiX")("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},"Rn+g":function(t,e,n){"use strict";var r=n("LYNF");t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},SBuE:function(t,e){t.exports={}},TJWN:function(t,e,n){"use strict";var r=n("5T2Y"),o=n("WEpk"),i=n("2faE"),a=n("jmDH"),s=n("UWiX")("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];a&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},TuGD:function(t,e,n){var r=n("UWiX")("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},"U+KD":function(t,e,n){var r=n("B+OT"),o=n("JB68"),i=n("VVlx")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},UO39:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},UWiX:function(t,e,n){var r=n("29s/")("wks"),o=n("YqAc"),i=n("5T2Y").Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},UbbE:function(t,e,n){n("o8NH"),t.exports=n("WEpk").Object.assign},UnBK:function(t,e,n){"use strict";var r=n("xTJ+"),o=n("xAGQ"),i=n("Lmem"),a=n("JEQr"),s=n("2SVd"),u=n("5oMp");function c(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return c(t),t.baseURL&&!s(t.url)&&(t.url=u(t.baseURL,t.url)),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return c(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return i(e)||(c(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},VVlx:function(t,e,n){var r=n("29s/")("keys"),o=n("YqAc");t.exports=function(t){return r[t]||(r[t]=o(t))}},W070:function(t,e,n){var r=n("NsO/"),o=n("tEej"),i=n("D8kY");t.exports=function(t){return function(e,n,a){var s,u=r(e),c=o(u.length),f=i(a,c);if(t&&n!=n){for(;c>f;)if((s=u[f++])!=s)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},WEpk:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"WX/U":function(t,e){t.exports=function(t,e,n,r){var o,i=0;return"boolean"!=typeof e&&(r=n,n=e,e=void 0),function(){var a=this,s=Number(new Date)-i,u=arguments;function c(){i=Number(new Date),n.apply(a,u)}r&&!o&&c(),o&&clearTimeout(o),void 0===r&&s>t?c():!0!==e&&(o=setTimeout(r?function(){o=void 0}:c,void 0===r?t-s:t))}}},"XJU/":function(t,e,n){var r=n("NegM");t.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},Y7ZC:function(t,e,n){var r=n("5T2Y"),o=n("WEpk"),i=n("2GTP"),a=n("NegM"),s=n("B+OT"),u=function(t,e,n){var c,f,l,p=t&u.F,d=t&u.G,h=t&u.S,v=t&u.P,m=t&u.B,y=t&u.W,g=d?o:o[e]||(o[e]={}),b=g.prototype,_=d?r:h?r[e]:(r[e]||{}).prototype;for(c in d&&(n=e),n)(f=!p&&_&&void 0!==_[c])&&s(g,c)||(l=f?_[c]:n[c],g[c]=d&&"function"!=typeof _[c]?n[c]:m&&f?i(l,r):y&&_[c]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((g.virtual||(g.virtual={}))[c]=l,t&u.R&&b&&!b[c]&&a(b,c,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},YqAc:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},ZW5q:function(t,e,n){"use strict";var r=n("eaoh");t.exports.f=function(t){return new function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}(t)}},Zxgi:function(t,e,n){var r=n("5T2Y"),o=n("WEpk"),i=n("uOPS"),a=n("zLkG"),s=n("2faE").f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},a0xu:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},aW7e:function(t,e,n){n("wgeU"),n("FlQf"),n("bBy9"),n("JMW+"),n("PBE1"),n("Q/yX"),t.exports=n("WEpk").Promise},adOz:function(t,e,n){n("Zxgi")("asyncIterator")},"ar/p":function(t,e,n){var r=n("5vMV"),o=n("FpHa").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},bBy9:function(t,e,n){n("w2d+");for(var r=n("5T2Y"),o=n("NegM"),i=n("SBuE"),a=n("UWiX")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;u.some(function(t){return!!~n.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var n=0,r=Object.keys(e);n0},t}(),O="undefined"!=typeof WeakMap?new WeakMap:new n,E=function(){return function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=f.getInstance(),r=new x(e,n,this);O.set(this,r)}}();["observe","unobserve","disconnect"].forEach(function(t){E.prototype[t]=function(){var e;return(e=O.get(this))[t].apply(e,arguments)}});var A=void 0!==o.ResizeObserver?o.ResizeObserver:E;e.default=A}.call(this,n("yLpj"))},ccE7:function(t,e,n){var r=n("Ojgd"),o=n("Jes0");t.exports=function(t){return function(e,n){var i,a,s=String(o(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(i=s.charCodeAt(u))<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):i:t?s.slice(u,u+2):a-56320+(i-55296<<10)+65536}}},dl0q:function(t,e,n){n("Zxgi")("observable")},eUtF:function(t,e,n){t.exports=!n("jmDH")&&!n("KUxP")(function(){return 7!=Object.defineProperty(n("Hsns")("div"),"a",{get:function(){return 7}}).a})},eaoh:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},endd:function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},eqyj:function(t,e,n){"use strict";var r=n("xTJ+");t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},ez49:function(t,e,n){"use strict";var r,o=n("o97j");o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")) -/** - * Checks if an event is supported in the current execution environment. - * - * NOTE: This will not work correctly for non-generic events such as `change`, - * `reset`, `load`, `error`, and `select`. - * - * Borrows from Modernizr. - * - * @param {string} eventNameSuffix Event name, e.g. "click". - * @param {?boolean} capture Check if the capture phase is supported. - * @return {boolean} True if the event is supported. - * @internal - * @license Modernizr 3.0.0pre (Custom Build) | MIT - */,t.exports=function(t,e){if(!o.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,i=n in document;if(!i){var a=document.createElement("div");a.setAttribute(n,"return;"),i="function"==typeof a[n]}return!i&&r&&"wheel"===t&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},fNZA:function(t,e,n){var r=n("QMMT"),o=n("UWiX")("iterator"),i=n("SBuE");t.exports=n("WEpk").getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},fpC5:function(t,e,n){var r=n("2faE"),o=n("5K7Z"),i=n("w6GO");t.exports=n("jmDH")?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,u=0;s>u;)r.f(t,n=a[u++],e[n]);return t}},hDam:function(t,e){t.exports=function(){}},j2DC:function(t,e,n){"use strict";var r=n("oVml"),o=n("rr1i"),i=n("RfKB"),a={};n("NegM")(a,n("UWiX")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},jE9Z:function(t,e,n){"use strict"; -/** - * vue-router v3.0.1 - * (c) 2017 Evan You - * @license MIT - */function r(t,e){0}function o(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}var i={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,o=e.parent,i=e.data;i.routerView=!0;for(var a=o.$createElement,s=n.name,u=o.$route,c=o._routerViewCache||(o._routerViewCache={}),f=0,l=!1;o&&o._routerRoot!==o;)o.$vnode&&o.$vnode.data.routerView&&f++,o._inactive&&(l=!0),o=o.$parent;if(i.routerViewDepth=f,l)return a(c[s],i,r);var p=u.matched[f];if(!p)return c[s]=null,a();var d=c[s]=p.components[s];i.registerRouteInstance=function(t,e){var n=p.instances[s];(e&&n!==t||!e&&n===t)&&(p.instances[s]=e)},(i.hook||(i.hook={})).prepatch=function(t,e){p.instances[s]=e.componentInstance};var h=i.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(u,p.props&&p.props[s]);if(h){h=i.props=function(t,e){for(var n in e)t[n]=e[n];return t}({},h);var v=i.attrs=i.attrs||{};for(var m in h)d.props&&m in d.props||(v[m]=h[m],delete h[m])}return a(d,i,r)}};var a=/[!'()*]/g,s=function(t){return"%"+t.charCodeAt(0).toString(16)},u=/%2C/g,c=function(t){return encodeURIComponent(t).replace(a,s).replace(u,",")},f=decodeURIComponent;function l(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=f(n.shift()),o=n.length>0?f(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]}),e):e}function p(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return c(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push(c(e)):r.push(c(e)+"="+c(t)))}),r.join("&")}return c(e)+"="+c(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}var d=/\/?$/;function h(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=v(i)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:y(e,o),matched:t?function(t){var e=[];for(;t;)e.unshift(t),t=t.parent;return e}(t):[]};return n&&(a.redirectedFrom=y(n,o)),Object.freeze(a)}function v(t){if(Array.isArray(t))return t.map(v);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=v(t[n]);return e}return t}var m=h(null,{path:"/"});function y(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;return void 0===o&&(o=""),(n||"/")+(e||p)(r)+o}function g(t,e){return e===m?t===e:!!e&&(t.path&&e.path?t.path.replace(d,"")===e.path.replace(d,"")&&t.hash===e.hash&&b(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&b(t.query,e.query)&&b(t.params,e.params)))}function b(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){var r=t[n],o=e[n];return"object"==typeof r&&"object"==typeof o?b(r,o):String(r)===String(o)})}var _,w=[String,Object],x=[String,Array],O={name:"router-link",props:{to:{type:w,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:x,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),i=o.location,a=o.route,s=o.href,u={},c=n.options.linkActiveClass,f=n.options.linkExactActiveClass,l=null==c?"router-link-active":c,p=null==f?"router-link-exact-active":f,v=null==this.activeClass?l:this.activeClass,m=null==this.exactActiveClass?p:this.exactActiveClass,y=i.path?h(null,i,null,n):a;u[m]=g(r,y),u[v]=this.exact?u[m]:function(t,e){return 0===t.path.replace(d,"/").indexOf(e.path.replace(d,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,y);var b=function(t){E(t)&&(e.replace?n.replace(i):n.push(i))},w={click:E};Array.isArray(this.event)?this.event.forEach(function(t){w[t]=b}):w[this.event]=b;var x={class:u};if("a"===this.tag)x.on=w,x.attrs={href:s};else{var O=function t(e){if(e)for(var n,r=0;r=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}(o.path||""),u=e&&e.path||"/",c=s.path?S(s.path,u,n||o.append):u,f=function(t,e,n){void 0===e&&(e={});var r,o=n||l;try{r=o(t||"")}catch(t){r={}}for(var i in e)r[i]=e[i];return r}(s.query,o.query,r&&r.options.parseQuery),p=o.hash||s.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:c,query:f,hash:p}}function K(t,e){for(var n in e)t[n]=e[n];return t}function Y(t,e){var n=J(t),r=n.pathList,o=n.pathMap,i=n.nameMap;function a(t,n,a){var s=X(t,n,!1,e),c=s.name;if(c){var f=i[c];if(!f)return u(null,s);var l=f.regex.keys.filter(function(t){return!t.optional}).map(function(t){return t.name});if("object"!=typeof s.params&&(s.params={}),n&&"object"==typeof n.params)for(var p in n.params)!(p in s.params)&&l.indexOf(p)>-1&&(s.params[p]=n.params[p]);if(f)return s.path=G(f.path,s.params),u(f,s,a)}else if(s.path){s.params={};for(var d=0;d=t.length?n():t[o]?e(t[o],function(){r(o+1)}):r(o+1)};r(0)}function vt(t){return function(e,n,r){var i=!1,a=0,s=null;mt(t,function(t,e,n,u){if("function"==typeof t&&void 0===t.cid){i=!0,a++;var c,f=bt(function(e){(function(t){return t.__esModule||gt&&"Module"===t[Symbol.toStringTag]})(e)&&(e=e.default),t.resolved="function"==typeof e?e:_.extend(e),n.components[u]=e,--a<=0&&r()}),l=bt(function(t){var e="Failed to resolve async component "+u+": "+t;s||(s=o(t)?t:new Error(e),r(s))});try{c=t(f,l)}catch(t){l(t)}if(c)if("function"==typeof c.then)c.then(f,l);else{var p=c.component;p&&"function"==typeof p.then&&p.then(f,l)}}}),i||r()}}function mt(t,e){return yt(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function yt(t){return Array.prototype.concat.apply([],t)}var gt="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function bt(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var _t=function(t,e){this.router=t,this.base=function(t){if(!t)if(C){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function wt(t,e,n,r){var o=mt(t,function(t,r,o,i){var a=function(t,e){"function"!=typeof t&&(t=_.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map(function(t){return n(t,r,o,i)}):n(a,r,o,i)});return yt(r?o.reverse():o)}function xt(t,e){if(e)return function(){return t.apply(e,arguments)}}_t.prototype.listen=function(t){this.cb=t},_t.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},_t.prototype.onError=function(t){this.errorCbs.push(t)},_t.prototype.transitionTo=function(t,e,n){var r=this,o=this.router.match(t,this.current);this.confirmTransition(o,function(){r.updateRoute(o),e&&e(o),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(o)}))},function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)}))})},_t.prototype.confirmTransition=function(t,e,n){var i=this,a=this.current,s=function(t){o(t)&&(i.errorCbs.length?i.errorCbs.forEach(function(e){e(t)}):(r(),console.error(t))),n&&n(t)};if(g(t,a)&&t.matched.length===a.matched.length)return this.ensureURL(),s();var u=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n=0?e.slice(0,n):e)+"#"+t}function jt(t){st?pt(kt(t)):window.location.hash=t}function Tt(t){st?dt(kt(t)):window.location.replace(kt(t))}var Mt=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(_t),$t=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Y(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!st&&!1!==t.fallback,this.fallback&&(e="hash"),C||(e="abstract"),this.mode=e,e){case"history":this.history=new Ot(this,t.base);break;case"hash":this.history=new At(this,t.base,this.fallback);break;case"abstract":this.history=new Mt(this,t.base);break;default:0}},Pt={currentRoute:{configurable:!0}};function Nt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}$t.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Pt.currentRoute.get=function(){return this.history&&this.history.current},$t.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof Ot)n.transitionTo(n.getCurrentLocation());else if(n instanceof At){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},$t.prototype.beforeEach=function(t){return Nt(this.beforeHooks,t)},$t.prototype.beforeResolve=function(t){return Nt(this.resolveHooks,t)},$t.prototype.afterEach=function(t){return Nt(this.afterHooks,t)},$t.prototype.onReady=function(t,e){this.history.onReady(t,e)},$t.prototype.onError=function(t){this.history.onError(t)},$t.prototype.push=function(t,e,n){this.history.push(t,e,n)},$t.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},$t.prototype.go=function(t){this.history.go(t)},$t.prototype.back=function(){this.go(-1)},$t.prototype.forward=function(){this.go(1)},$t.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},$t.prototype.resolve=function(t,e,n){var r=X(t,e||this.history.current,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath;return{location:r,route:o,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?k(t+"/"+r):r}(this.history.base,i,this.mode),normalizedTo:r,resolved:o}},$t.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties($t.prototype,Pt),$t.install=A,$t.version="3.0.1",C&&window.Vue&&window.Vue.use($t),e.a=$t},"jfS+":function(t,e,n){"use strict";var r=n("endd");function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new r(t),e(n.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o(function(e){t=e}),cancel:t}},t.exports=o},jmDH:function(t,e,n){t.exports=!n("KUxP")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},jrfk:function(t,e){var n,r,o,i,a,s,u,c,f,l,p,d,h,v,m,y=!1;function g(){if(!y){y=!0;var t=navigator.userAgent,e=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),g=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(d=/\b(iPhone|iP[ao]d)/.exec(t),h=/\b(iP[ao]d)/.exec(t),l=/Android/i.exec(t),v=/FBAN\/\w+;/i.exec(t),m=/Mobile/i.exec(t),p=!!/Win64/.exec(t),e){(n=e[1]?parseFloat(e[1]):e[5]?parseFloat(e[5]):NaN)&&document&&document.documentMode&&(n=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(t);s=b?parseFloat(b[1])+4:n,r=e[2]?parseFloat(e[2]):NaN,o=e[3]?parseFloat(e[3]):NaN,(i=e[4]?parseFloat(e[4]):NaN)?(e=/(?:Chrome\/(\d+\.\d+))/.exec(t),a=e&&e[1]?parseFloat(e[1]):NaN):a=NaN}else n=r=o=a=i=NaN;if(g){if(g[1]){var _=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);u=!_||parseFloat(_[1].replace("_","."))}else u=!1;c=!!g[2],f=!!g[3]}else u=c=f=!1}}var b={ie:function(){return g()||n},ieCompatibilityMode:function(){return g()||s>n},ie64:function(){return b.ie()&&p},firefox:function(){return g()||r},opera:function(){return g()||o},webkit:function(){return g()||i},safari:function(){return b.webkit()},chrome:function(){return g()||a},windows:function(){return g()||c},osx:function(){return g()||u},linux:function(){return g()||f},iphone:function(){return g()||d},mobile:function(){return g()||d||h||l||m},nativeApp:function(){return g()||v},android:function(){return g()||l},ipad:function(){return g()||h}};t.exports=b},kAMH:function(t,e,n){var r=n("a0xu");t.exports=Array.isArray||function(t){return"Array"==r(t)}},kTiW:function(t,e,n){t.exports=n("NegM")},kvrn:function(t,e){var n=/^(attrs|props|on|nativeOn|class|style|hook)$/;function r(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}t.exports=function(t){return t.reduce(function(t,e){var o,i,a,s,u;for(a in e)if(o=t[a],i=e[a],o&&n.test(a))if("class"===a&&("string"==typeof o&&(u=o,t[a]=o={},o[u]=!0),"string"==typeof i&&(u=i,e[a]=i={},i[u]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(s in i)o[s]=r(o[s],i[s]);else if(Array.isArray(o))t[a]=o.concat(i);else if(Array.isArray(i))t[a]=[o].concat(i);else for(s in i)o[s]=i[s];else t[a]=e[a];return t},{})}},kwZ1:function(t,e,n){"use strict";var r=n("jmDH"),o=n("w6GO"),i=n("mqlF"),a=n("NV0k"),s=n("JB68"),u=n("M1xp"),c=Object.assign;t.exports=!c||n("KUxP")(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){for(var n=s(t),c=arguments.length,f=1,l=i.f,p=a.f;c>f;)for(var d,h=u(arguments[f++]),v=l?o(h).concat(l(h)):o(h),m=v.length,y=0;m>y;)d=v[y++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:c},lhnW:function(t,e,n){var r=n("WX/U"),o=n("DhVD");t.exports={throttle:r,debounce:o}},mqlF:function(t,e){e.f=Object.getOwnPropertySymbols},n6bm:function(t,e,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function o(){this.message="String contains an invalid character"}o.prototype=new Error,o.prototype.code=5,o.prototype.name="InvalidCharacterError",t.exports=function(t){for(var e,n,i=String(t),a="",s=0,u=r;i.charAt(0|s)||(u="=",s%1);a+=u.charAt(63&e>>8-s%1*8)){if((n=i.charCodeAt(s+=.75))>255)throw new o;e=e<<8|n}return a}},o8NH:function(t,e,n){var r=n("Y7ZC");r(r.S+r.F,"Object",{assign:n("kwZ1")})},o97j:function(t,e,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};t.exports=o},oV5b:function(t,e,n){"use strict";n.r(e);var r=n("QbLZ"),o=n.n(r),i=n("EJiy"),a=n.n(i),s=/%[sdj%]/g,u=function(){};function c(){for(var t=arguments.length,e=Array(t),n=0;n=i)return t;switch(t){case"%s":return String(e[r++]);case"%d":return Number(e[r++]);case"%j":try{return JSON.stringify(e[r++])}catch(t){return"[Circular]"}break;default:return t}}),u=e[r];r()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},g={integer:function(t){return g.number(t)&&parseInt(t,10)===t},float:function(t){return g.number(t)&&!g.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(t){return!1}},date:function(t){return"function"==typeof t.getTime&&"function"==typeof t.getMonth&&"function"==typeof t.getYear},number:function(t){return!isNaN(t)&&"number"==typeof t},object:function(t){return"object"===(void 0===t?"undefined":a()(t))&&!g.array(t)},method:function(t){return"function"==typeof t},email:function(t){return"string"==typeof t&&!!t.match(y.email)&&t.length<255},url:function(t){return"string"==typeof t&&!!t.match(y.url)},hex:function(t){return"string"==typeof t&&!!t.match(y.hex)}};var b="enum";var _={required:v,whitespace:m,type:function(t,e,n,r,o){if(t.required&&void 0===e)v(t,e,n,r,o);else{var i=t.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?g[i](e)||r.push(c(o.messages.types[i],t.fullField,t.type)):i&&(void 0===e?"undefined":a()(e))!==t.type&&r.push(c(o.messages.types[i],t.fullField,t.type))}},range:function(t,e,n,r,o){var i="number"==typeof t.len,a="number"==typeof t.min,s="number"==typeof t.max,u=e,f=null,l="number"==typeof e,p="string"==typeof e,d=Array.isArray(e);if(l?f="number":p?f="string":d&&(f="array"),!f)return!1;d&&(u=e.length),p&&(u=e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?u!==t.len&&r.push(c(o.messages[f].len,t.fullField,t.len)):a&&!s&&ut.max?r.push(c(o.messages[f].max,t.fullField,t.max)):a&&s&&(ut.max)&&r.push(c(o.messages[f].range,t.fullField,t.min,t.max))},enum:function(t,e,n,r,o){t[b]=Array.isArray(t[b])?t[b]:[],-1===t[b].indexOf(e)&&r.push(c(o.messages[b],t.fullField,t[b].join(", ")))},pattern:function(t,e,n,r,o){t.pattern&&(t.pattern instanceof RegExp?(t.pattern.lastIndex=0,t.pattern.test(e)||r.push(c(o.messages.pattern.mismatch,t.fullField,e,t.pattern))):"string"==typeof t.pattern&&(new RegExp(t.pattern).test(e)||r.push(c(o.messages.pattern.mismatch,t.fullField,e,t.pattern))))}};var w="enum";var x=function(t,e,n,r,o){var i=t.type,a=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e,i)&&!t.required)return n();_.required(t,e,r,a,o,i),f(e,i)||_.type(t,e,r,a,o)}n(a)},O={string:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e,"string")&&!t.required)return n();_.required(t,e,r,i,o,"string"),f(e,"string")||(_.type(t,e,r,i,o),_.range(t,e,r,i,o),_.pattern(t,e,r,i,o),!0===t.whitespace&&_.whitespace(t,e,r,i,o))}n(i)},method:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e)&&!t.required)return n();_.required(t,e,r,i,o),void 0!==e&&_.type(t,e,r,i,o)}n(i)},number:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e)&&!t.required)return n();_.required(t,e,r,i,o),void 0!==e&&(_.type(t,e,r,i,o),_.range(t,e,r,i,o))}n(i)},boolean:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e)&&!t.required)return n();_.required(t,e,r,i,o),void 0!==e&&_.type(t,e,r,i,o)}n(i)},regexp:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e)&&!t.required)return n();_.required(t,e,r,i,o),f(e)||_.type(t,e,r,i,o)}n(i)},integer:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e)&&!t.required)return n();_.required(t,e,r,i,o),void 0!==e&&(_.type(t,e,r,i,o),_.range(t,e,r,i,o))}n(i)},float:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e)&&!t.required)return n();_.required(t,e,r,i,o),void 0!==e&&(_.type(t,e,r,i,o),_.range(t,e,r,i,o))}n(i)},array:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e,"array")&&!t.required)return n();_.required(t,e,r,i,o,"array"),f(e,"array")||(_.type(t,e,r,i,o),_.range(t,e,r,i,o))}n(i)},object:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e)&&!t.required)return n();_.required(t,e,r,i,o),void 0!==e&&_.type(t,e,r,i,o)}n(i)},enum:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e)&&!t.required)return n();_.required(t,e,r,i,o),e&&_[w](t,e,r,i,o)}n(i)},pattern:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e,"string")&&!t.required)return n();_.required(t,e,r,i,o),f(e,"string")||_.pattern(t,e,r,i,o)}n(i)},date:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e)&&!t.required)return n();if(_.required(t,e,r,i,o),!f(e)){var a=void 0;a="number"==typeof e?new Date(e):e,_.type(t,a,r,i,o),a&&_.range(t,a.getTime(),r,i,o)}}n(i)},url:x,hex:x,email:x,required:function(t,e,n,r,o){var i=[],s=Array.isArray(e)?"array":void 0===e?"undefined":a()(e);_.required(t,e,r,i,o,s),n(i)}};function E(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var A=E();function C(t){this.rules=null,this._messages=A,this.define(t)}C.prototype={messages:function(t){return t&&(this._messages=h(E(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if("object"!==(void 0===t?"undefined":a()(t))||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var e=void 0,n=void 0;for(e in t)t.hasOwnProperty(e)&&(n=t[e],this.rules[e]=Array.isArray(n)?n:[n])},validate:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2],i=t,s=n,f=r;if("function"==typeof s&&(f=s,s={}),this.rules&&0!==Object.keys(this.rules).length){if(s.messages){var l=this.messages();l===A&&(l=E()),h(l,s.messages),s.messages=l}else s.messages=this.messages();var v=void 0,m=void 0,y={};(s.keys||Object.keys(this.rules)).forEach(function(n){v=e.rules[n],m=i[n],v.forEach(function(r){var a=r;"function"==typeof a.transform&&(i===t&&(i=o()({},i)),m=i[n]=a.transform(m)),(a="function"==typeof a?{validator:a}:o()({},a)).validator=e.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=e.getType(a),a.validator&&(y[n]=y[n]||[],y[n].push({rule:a,value:m,source:i,field:n}))})});var g={};p(y,s,function(t,e){var n=t.rule,r=!("object"!==n.type&&"array"!==n.type||"object"!==a()(n.fields)&&"object"!==a()(n.defaultField));function i(t,e){return o()({},e,{fullField:n.fullField+"."+t})}function f(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(Array.isArray(a)||(a=[a]),a.length&&u("async-validator:",a),a.length&&n.message&&(a=[].concat(n.message)),a=a.map(d(n)),s.first&&a.length)return g[n.field]=1,e(a);if(r){if(n.required&&!t.value)return a=n.message?[].concat(n.message).map(d(n)):s.error?[s.error(n,c(s.messages.required,n.field))]:[],e(a);var f={};if(n.defaultField)for(var l in t.value)t.value.hasOwnProperty(l)&&(f[l]=n.defaultField);for(var p in f=o()({},f,t.rule.fields))if(f.hasOwnProperty(p)){var h=Array.isArray(f[p])?f[p]:[f[p]];f[p]=h.map(i.bind(null,p))}var v=new C(f);v.messages(s.messages),t.rule.options&&(t.rule.options.messages=s.messages,t.rule.options.error=s.error),v.validate(t.value,t.rule.options||s,function(t){e(t&&t.length?a.concat(t):t)})}else e(a)}r=r&&(n.required||!n.required&&t.value),n.field=t.field;var l=n.validator(n,t.value,f,t.source,s);l&&l.then&&l.then(function(){return f()},function(t){return f(t)})},function(t){!function(t){var e=void 0,n=void 0,r=[],o={};function i(t){Array.isArray(t)?r=r.concat.apply(r,t):r.push(t)}for(e=0;edocument.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[i[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=u(),void 0===e?n:o(n,e)}},oioR:function(t,e,n){var r=n("2GTP"),o=n("sNwI"),i=n("NwJ3"),a=n("5K7Z"),s=n("tEej"),u=n("fNZA"),c={},f={};(e=t.exports=function(t,e,n,l,p){var d,h,v,m,y=p?function(){return t}:u(t),g=r(n,l,e?2:1),b=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(i(y)){for(d=s(t.length);d>b;b++)if((m=e?g(a(h=t[b])[0],h[1]):g(t[b]))===c||m===f)return m}else for(v=y.call(t);!(h=v.next()).done;)if((m=o(v,g,h.value,e))===c||m===f)return m}).BREAK=c,e.RETURN=f},p46w:function(t,e,n){var r,o; -/*! - * JavaScript Cookie v2.2.0 - * https://github.com/js-cookie/js-cookie - * - * Copyright 2006, 2015 Klaus Hartl & Fagner Brack - * Released under the MIT license - */!function(i){if(void 0===(o="function"==typeof(r=i)?r.call(e,n,e,t):r)||(t.exports=o),!0,t.exports=i(),!!0){var a=window.Cookies,s=window.Cookies=i();s.noConflict=function(){return window.Cookies=a,s}}}(function(){function t(){for(var t=0,e={};t1){if("number"==typeof(i=t({path:"/"},r.defaults,i)).expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*i.expires),i.expires=s}i.expires=i.expires?i.expires.toUTCString():"";try{a=JSON.stringify(o),/^[\{\[]/.test(a)&&(o=a)}catch(t){}o=n.write?n.write(o,e):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var u="";for(var c in i)i[c]&&(u+="; "+c,!0!==i[c]&&(u+="="+i[c]));return document.cookie=e+"="+o+u}e||(a={});for(var f=document.cookie?document.cookie.split("; "):[],l=/(%[0-9A-Z]{2})+/g,p=0;p0?o(r(t),9007199254740991):0}},tQ2B:function(t,e,n){"use strict";var r=n("xTJ+"),o=n("Rn+g"),i=n("MLWZ"),a=n("w0Vi"),s=n("OTTw"),u=n("LYNF"),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n("n6bm");t.exports=function(t){return new Promise(function(e,f){var l=t.data,p=t.headers;r.isFormData(l)&&delete p["Content-Type"];var d=new XMLHttpRequest,h="onreadystatechange",v=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||s(t.url)||(d=new window.XDomainRequest,h="onload",v=!0,d.onprogress=function(){},d.ontimeout=function(){}),t.auth){var m=t.auth.username||"",y=t.auth.password||"";p.Authorization="Basic "+c(m+":"+y)}if(d.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d[h]=function(){if(d&&(4===d.readyState||v)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,r={data:t.responseType&&"text"!==t.responseType?d.response:d.responseText,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:n,config:t,request:d};o(e,f,r),d=null}},d.onerror=function(){f(u("Network Error",t,null,d)),d=null},d.ontimeout=function(){f(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var g=n("eqyj"),b=(t.withCredentials||s(t.url))&&t.xsrfCookieName?g.read(t.xsrfCookieName):void 0;b&&(p[t.xsrfHeaderName]=b)}if("setRequestHeader"in d&&r.forEach(p,function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete p[e]:d.setRequestHeader(e,t)}),t.withCredentials&&(d.withCredentials=!0),t.responseType)try{d.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){d&&(d.abort(),f(t),d=null)}),void 0===l&&(l=null),d.send(l)})}},uOPS:function(t,e){t.exports=!0},vBP9:function(t,e,n){var r=n("5T2Y").navigator;t.exports=r&&r.userAgent||""},vDqi:function(t,e,n){t.exports=n("zuR4")},vRGJ:function(t,e){t.exports=l,t.exports.parse=i,t.exports.compile=function(t,e){return a(i(t,e))},t.exports.tokensToFunction=a,t.exports.tokensToRegExp=f;var n="/",r="./",o=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function i(t,e){for(var i,a=[],c=0,f=0,l="",p=e&&e.delimiter||n,d=e&&e.delimiters||r,h=!1;null!==(i=o.exec(t));){var v=i[0],m=i[1],y=i.index;if(l+=t.slice(f,y),f=y+v.length,m)l+=m[1],h=!0;else{var g="",b=t[f],_=i[2],w=i[3],x=i[4],O=i[5];if(!h&&l.length){var E=l.length-1;d.indexOf(l[E])>-1&&(g=l[E],l=l.slice(0,E))}l&&(a.push(l),l="",h=!1);var A=""!==g&&void 0!==b&&b!==g,C="+"===O||"*"===O,S="?"===O||"*"===O,k=g||p,j=w||x;a.push({name:_||c++,prefix:g,delimiter:k,optional:S,repeat:C,partial:A,pattern:j?u(j):"[^"+s(k)+"]+?"})}}return(l||f-1;else{var y=m.repeat?"(?:"+m.pattern+")(?:"+s(m.delimiter)+"(?:"+m.pattern+"))*":m.pattern;e&&e.push(m),m.optional?m.partial?d+=s(m.prefix)+"("+y+")?":d+="(?:"+s(m.prefix)+"("+y+"))?":d+=s(m.prefix)+"("+y+")"}}return u?(i||(d+="(?:"+f+")?"),d+="$"===p?"$":"(?="+p+")"):(i||(d+="(?:"+f+"(?="+p+"))?"),h||(d+="(?="+f+"|"+p+")")),new RegExp(d,c(o))}function l(t,e,n){return t instanceof RegExp?function(t,e){if(!e)return t;var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}}),a):a}},"w2d+":function(t,e,n){"use strict";var r=n("hDam"),o=n("UO39"),i=n("SBuE"),a=n("NsO/");t.exports=n("MPFp")(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},w6GO:function(t,e,n){var r=n("5vMV"),o=n("FpHa");t.exports=Object.keys||function(t){return r(t,o)}},wJiJ:function(t,e,n){t.exports=n("1K8p")},wgeU:function(t,e){},xAGQ:function(t,e,n){"use strict";var r=n("xTJ+");t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},"xTJ+":function(t,e,n){"use strict";var r=n("HSsa"),o=n("BEtg"),i=Object.prototype.toString;function a(t){return"[object Array]"===i.call(t)}function s(t){return null!==t&&"object"==typeof t}function u(t){return"[object Function]"===i.call(t)}function c(t,e){if(null!==t&&void 0!==t)if("object"!=typeof t&&(t=[t]),a(t))for(var n=0,r=t.length;n=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"//9w":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"/X5v":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},"0mo+":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n("wd/R"))},"0tRk":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(n("wd/R"))},"1K8p":function(e,t,n){"use strict";var r=n("jrfk"),a=n("ez49"),i=10,s=40,o=800;function d(e){var t=0,n=0,r=0,a=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*i,a=n*i,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||a)&&e.deltaMode&&(1==e.deltaMode?(r*=s,a*=s):(r*=o,a*=o)),r&&!t&&(t=r<1?-1:1),a&&!n&&(n=a<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:a}}d.getEventType=function(){return r.firefox()?"DOMMouseScroll":a("wheel")?"wheel":"mousewheel"},e.exports=d},"1ppg":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"1rYy":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},"1xZ4":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},"29s/":function(e,t,n){var r=n("WEpk"),a=n("5T2Y"),i=a["__core-js_shared__"]||(a["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("uOPS")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"2GTP":function(e,t,n){var r=n("eaoh");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},"2Nb0":function(e,t,n){n("FlQf"),n("bBy9"),e.exports=n("zLkG").f("iterator")},"2SVd":function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},"2faE":function(e,t,n){var r=n("5K7Z"),a=n("eUtF"),i=n("G8Mo"),s=Object.defineProperty;t.f=n("jmDH")?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),a)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"2fjn":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n("wd/R"))},"2ykv":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"33yf":function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var a=e[r];"."===a?e.splice(r,1):".."===a?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!a;i--){var s=i>=0?arguments[i]:e.cwd();if("string"!=typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,a="/"===s.charAt(0))}return t=n(r(t.split("/"),function(e){return!!e}),!a).join("/"),(a?"/":"")+t||"."},t.normalize=function(e){var i=t.isAbsolute(e),s="/"===a(e,-1);return(e=n(r(e.split("/"),function(e){return!!e}),!i).join("/"))||i||(e="."),e&&s&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var a=r(e.split("/")),i=r(n.split("/")),s=Math.min(a.length,i.length),o=s,d=0;d=1;--i)if(47===(t=e.charCodeAt(i))){if(!a){r=i;break}}else a=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,r=-1,a=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!a){n=t+1;break}}else-1===r&&(a=!1,r=t+1);return-1===r?"":e.slice(n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,r=-1,a=!0,i=0,s=e.length-1;s>=0;--s){var o=e.charCodeAt(s);if(47!==o)-1===r&&(a=!1,r=s+1),46===o?-1===t?t=s:1!==i&&(i=1):-1!==t&&(i=-1);else if(!a){n=s+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)};var a="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("8oxB"))},"3E1r":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i];e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:r,longMonthsParse:r,shortMonthsParse:[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n("wd/R"))},"4BeY":function(e,t,n){(function(t){!function(t,n){e.exports=n()}(0,function(){"use strict";var e=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach(function(t){return delete e[t]})};"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;function n(e,t){return e(t={exports:{}},t.exports),t.exports}var r=n(function(e,t){e.exports=function(){function e(e){var t=e&&"object"==typeof e;return t&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var a=n&&!0===n.clone;return a&&e(t)?r(function(e){return Array.isArray(e)?[]:{}}(t),t,n):t}function n(n,a,i){var s=n.slice();return a.forEach(function(a,o){void 0===s[o]?s[o]=t(a,i):e(a)?s[o]=r(n[o],a,i):-1===n.indexOf(a)&&s.push(t(a,i))}),s}function r(a,i,s){var o=Array.isArray(i),d=s||{arrayMerge:n},u=d.arrayMerge||n;return o?Array.isArray(a)?u(a,i,s):t(i,s):function(n,a,i){var s={};return e(n)&&Object.keys(n).forEach(function(e){s[e]=t(n[e],i)}),Object.keys(a).forEach(function(o){e(a[o])&&n[o]?s[o]=r(n[o],a[o],i):s[o]=t(a[o],i)}),s}(a,i,s)}return r.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce(function(e,n){return r(e,n,t)})},r}()}),a=n(function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default}),i=a.svg,s=a.xlink,o={};o[i.name]=i.uri,o[s.name]=s.uri;var d=function(e,t){return void 0===e&&(e=""),""+e+""};return function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}(d(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(e)})}).call(this,n("yLpj"))},"4MV3":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n("wd/R"))},"4d7F":function(e,t,n){e.exports={default:n("aW7e"),__esModule:!0}},"4dOw":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},"5K7Z":function(e,t,n){var r=n("93I4");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},"5T2Y":function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"5oMp":function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"5vMV":function(e,t,n){var r=n("B+OT"),a=n("NsO/"),i=n("W070")(!1),s=n("VVlx")("IE_PROTO");e.exports=function(e,t){var n,o=a(e),d=0,u=[];for(n in o)n!=s&&r(o,n)&&u.push(n);for(;t.length>d;)r(o,n=t[d++])&&(~i(u,n)||u.push(n));return u}},"6+QB":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"6/1s":function(e,t,n){var r=n("YqAc")("meta"),a=n("93I4"),i=n("B+OT"),s=n("2faE").f,o=0,d=Object.isExtensible||function(){return!0},u=!n("KUxP")(function(){return d(Object.preventExtensions({}))}),_=function(e){s(e,r,{value:{i:"O"+ ++o,w:{}}})},c=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!d(e))return"F";if(!t)return"E";_(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!d(e))return!0;if(!t)return!1;_(e)}return e[r].w},onFreeze:function(e){return u&&c.NEED&&d(e)&&!i(e,r)&&_(e),e}}},"6B0Y":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n("wd/R"))},"7BjC":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n,r){var a={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?a[n][2]?a[n][2]:a[n][1]:r?a[n][0]:a[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"7C5Q":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:6}})}(n("wd/R"))},"7aV9":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n("wd/R"))},"8/+R":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n("wd/R"))},"8gHz":function(e,t,n){var r=n("5K7Z"),a=n("eaoh"),i=n("UWiX")("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||void 0==(n=r(s)[i])?t:a(n)}},"8mBD":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},"8oxB":function(e,t){var n,r,a=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var d,u=[],_=!1,c=-1;function l(){_&&d&&(_=!1,d.length?u=d.concat(u):c=-1,u.length&&m())}function m(){if(!_){var e=o(l);_=!0;for(var t=u.length;t;){for(d=u,u=[];++c1)for(var n=1;na;)G(e,n=r[a++],t[n]);return e},Z=function(e){var t=R.call(this,e=g(e,!0));return!(this===I&&a(N,e)&&!a(z,e))&&(!(t||!a(this,e)||!a(N,e)||a(this,W)&&this[W][e])||t)},X=function(e,t){if(e=Y(e),t=g(t,!0),e!==I||!a(N,t)||a(z,t)){var n=H(e,t);return!n||!a(N,t)||a(e,W)&&e[W][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=O(Y(e)),r=[],i=0;n.length>i;)a(N,t=n[i++])||t==W||t==d||r.push(t);return r},ee=function(e){for(var t,n=e===I,r=O(n?z:Y(e)),i=[],s=0;r.length>s;)!a(N,t=r[s++])||n&&!a(I,t)||i.push(N[t]);return i};$||(o((E=function(){if(this instanceof E)throw TypeError("Symbol is not a constructor!");var e=l(arguments.length>0?arguments[0]:void 0),t=function(n){this===I&&t.call(z,n),a(this,W)&&a(this[W],e)&&(this[W][e]=!1),q(this,e,w(1,n))};return i&&U&&q(I,e,{configurable:!0,set:t}),B(e)}).prototype,"toString",function(){return this._k}),b.f=X,S.f=G,n("ar/p").f=D.f=Q,n("NV0k").f=Z,T.f=ee,i&&!n("uOPS")&&o(I,"propertyIsEnumerable",Z,!0),f.f=function(e){return B(m(e))}),s(s.G+s.W+s.F*!$,{Symbol:E});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)m(te[ne++]);for(var re=x(m.store),ae=0;re.length>ae;)h(re[ae++]);s(s.S+s.F*!$,"Symbol",{for:function(e){return a(F,e+="")?F[e]:F[e]=E(e)},keyFor:function(e){if(!V(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),s(s.S+s.F*!$,"Object",{create:function(e,t){return void 0===t?k(e):K(k(e),t)},defineProperty:G,defineProperties:K,getOwnPropertyDescriptor:X,getOwnPropertyNames:Q,getOwnPropertySymbols:ee});var ie=u(function(){T.f(1)});s(s.S+s.F*ie,"Object",{getOwnPropertySymbols:function(e){return T.f(L(e))}}),A&&s(s.S+s.F*(!$||u(function(){var e=E();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],a=1;arguments.length>a;)r.push(arguments[a++]);if(n=t=r[1],(v(t)||void 0!==e)&&!V(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!V(t))return t}),r[1]=t,P.apply(A,r)}}),E.prototype[C]||n("NegM")(E.prototype,C,E.prototype.valueOf),c(E,"Symbol"),c(Math,"Math",!0),c(r.JSON,"JSON",!0)},AvvY:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(n("wd/R"))},"B+OT":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},B55N:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n("wd/R"))},BEtg:function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)} +/*! + * Determine if an object is a Buffer + * + * @author Feross Aboukhadijeh + * @license MIT + */ +e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},BVg3:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +function t(e){return e%100==11||e%10!=1}function n(e,n,r,a){var i=e+" ";switch(r){case"s":return n||a?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?i+(n||a?"sekúndur":"sekúndum"):i+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?i+(n||a?"mínútur":"mínútum"):n?i+"mínúta":i+"mínútu";case"hh":return t(e)?i+(n||a?"klukkustundir":"klukkustundum"):i+"klukkustund";case"d":return n?"dagur":a?"dag":"degi";case"dd":return t(e)?n?i+"dagar":i+(a?"daga":"dögum"):n?i+"dagur":i+(a?"dag":"degi");case"M":return n?"mánuður":a?"mánuð":"mánuði";case"MM":return t(e)?n?i+"mánuðir":i+(a?"mánuði":"mánuðum"):n?i+"mánuður":i+(a?"mánuð":"mánuði");case"y":return n||a?"ár":"ári";case"yy":return t(e)?i+(n||a?"ár":"árum"):i+(n||a?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},ByF4:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},CgaS:function(e,t,n){"use strict";var r=n("JEQr"),a=n("xTJ+"),i=n("9rSQ"),s=n("UnBK");function o(e){this.defaults=e,this.interceptors={request:new i,response:new i}}o.prototype.request=function(e){"string"==typeof e&&(e=a.merge({url:arguments[0]},arguments[1])),(e=a.merge(r,{method:"get"},this.defaults,e)).method=e.method.toLowerCase();var t=[s,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},a.forEach(["delete","get","head","options"],function(e){o.prototype[e]=function(t,n){return this.request(a.merge(n||{},{method:e,url:t}))}}),a.forEach(["post","put","patch"],function(e){o.prototype[e]=function(t,n,r){return this.request(a.merge(r||{},{method:e,url:t,data:n}))}}),e.exports=o},CjzT:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},CoRJ:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n("wd/R"))},"D/JM":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},D8kY:function(e,t,n){var r=n("Ojgd"),a=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?a(e+t,0):i(e,t)}},"DKr+":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n,r){var a={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return r?a[n][0]:a[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n("wd/R"))},DfZB:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},DhVD:function(e,t,n){var r=n("WX/U");e.exports=function(e,t,n){return void 0===n?r(e,t,!1):r(e,n,!1!==t)}},Dkky:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmvi:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:4}})}(n("wd/R"))},DoHr:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10,a=e%100-r,i=e>=100?100:null;return e+(t[r]||t[a]||t[i])}},week:{dow:1,doy:7}})}(n("wd/R"))},DxQv:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dzi0:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,r,a){var i,s=t.words[r];return 1===r.length?"y"===r&&n?"једна година":a||n?s[0]:s[1]:(i=t.correctGrammaticalCase(e,s),"yy"===r&&n&&"годину"===i?e+" година":e+" "+i)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},EJiy:function(e,t,n){"use strict";t.__esModule=!0;var r=s(n("F+2o")),a=s(n("+JPL")),i="function"==typeof a.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};function s(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof a.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":void 0===e?"undefined":i(e)}},EOgW:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n("wd/R"))},EXMj:function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},"F+2o":function(e,t,n){e.exports={default:n("2Nb0"),__esModule:!0}},FlQf:function(e,t,n){"use strict";var r=n("ccE7")(!0);n("MPFp")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},Fnuy:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},FpHa:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},G0Uy:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},G8Mo:function(e,t,n){var r=n("93I4");e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},H8ED:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n){var r={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+function(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}(r[n],+e)}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},HP3h:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(e){return function(t,a,i,s){var o=n(t),d=r[e][n(t)];return 2===o&&(d=d[a?0:1]),d.replace(/%d/i,t)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n("wd/R"))},HSsa:function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r"+e+""},u=r.svg,_=r.xlink,c={attrs:(o={style:["position: absolute","width: 0","height: 0"].join("; ")},o[u.name]=u.uri,o[_.name]=_.uri,o)},l=function(e){this.config=n(c,e||{}),this.symbols=[]};l.prototype.add=function(e){var t=this.symbols,n=this.find(e.id);return n?(t[t.indexOf(n)]=e,!1):(t.push(e),!0)},l.prototype.remove=function(e){var t=this.symbols,n=this.find(e);return!!n&&(t.splice(t.indexOf(n),1),n.destroy(),!0)},l.prototype.find=function(e){return this.symbols.filter(function(t){return t.id===e})[0]||null},l.prototype.has=function(e){return null!==this.find(e)},l.prototype.stringify=function(){var e=this.config.attrs,t=this.symbols.map(function(e){return e.stringify()}).join("");return d(t,e)},l.prototype.toString=function(){return this.stringify()},l.prototype.destroy=function(){this.symbols.forEach(function(e){return e.destroy()})};var m=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};m.prototype.stringify=function(){return this.content},m.prototype.toString=function(){return this.stringify()},m.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach(function(t){return delete e[t]})};var f=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n},h=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return f(d(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(m),p={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},y=function(e){return Array.prototype.slice.call(e,0)},M=navigator.userAgent,v={isChrome:/chrome/i.test(M),isFirefox:/firefox/i.test(M),isIE:/msie/i.test(M)||/trident/i.test(M),isEdge:/edge/i.test(M)},L=function(e){var t=[];return y(e.querySelectorAll("style")).forEach(function(e){e.textContent+="",t.push(e)}),t},Y=function(e){return(e||window.location.href).split("#")[0]},g=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",function(t,n,r){!function(e,t){var n=document.createEvent("CustomEvent");n.initCustomEvent(e,!1,!1,t),window.dispatchEvent(n)}(e,{oldUrl:r,newUrl:n})})}])},w=function(e,t){return void 0===t&&(t="linearGradient, radialGradient, pattern"),y(e.querySelectorAll("symbol")).forEach(function(e){y(e.querySelectorAll(t)).forEach(function(t){e.parentNode.insertBefore(t,e)})}),e};var k=r.xlink.uri,D="xlink:href",b=/[{}|\\\^\[\]`"<>]/g;function T(e){return e.replace(b,function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()})}var S,x=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],H=x.map(function(e){return"["+e+"]"}).join(","),j=function(e,t,n,r){var a=T(n),i=T(r);(function(e,t){return y(e).reduce(function(e,n){if(!n.attributes)return e;var r=y(n.attributes),a=t?r.filter(t):r;return e.concat(a)},[])})(e.querySelectorAll(H),function(e){var t=e.localName,n=e.value;return-1!==x.indexOf(t)&&-1!==n.indexOf("url("+a)}).forEach(function(e){return e.value=e.value.replace(a,i)}),function(e,t,n){y(e).forEach(function(e){var r=e.getAttribute(D);if(r&&0===r.indexOf(t)){var a=r.replace(t,n);e.setAttributeNS(k,D,a)}})}(t,a,i)},O={MOUNT:"mount",SYMBOL_MOUNT:"symbol_mount"},E=function(e){function t(t){var r=this;void 0===t&&(t={}),e.call(this,n(p,t));var a=function(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).map(function(e){e(n)}),(e["*"]||[]).map(function(e){e(t,n)})}}}();this._emitter=a,this.node=null;var i=this.config;if(i.autoConfigure&&this._autoConfigure(t),i.syncUrlsWithBaseTag){var s=document.getElementsByTagName("base")[0].getAttribute("href");a.on(O.MOUNT,function(){return r.updateUrls("#",s)})}var o=this._handleLocationChange.bind(this);this._handleLocationChange=o,i.listenLocationChangeEvent&&window.addEventListener(i.locationChangeEvent,o),i.locationChangeAngularEmitter&&g(i.locationChangeEvent),a.on(O.MOUNT,function(e){i.moveGradientsOutsideSymbol&&w(e)}),a.on(O.SYMBOL_MOUNT,function(e){i.moveGradientsOutsideSymbol&&w(e.parentNode),(v.isIE||v.isEdge)&&L(e)})}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},t.prototype._autoConfigure=function(e){var t=this.config;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter="angular"in window),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=v.isFirefox)},t.prototype._handleLocationChange=function(e){var t=e.detail,n=t.oldUrl,r=t.newUrl;this.updateUrls(n,r)},t.prototype.add=function(t){var n=e.prototype.add.call(this,t);return this.isMounted&&n&&(t.mount(this.node),this._emitter.emit(O.SYMBOL_MOUNT,t.node)),n},t.prototype.attach=function(e){var t=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof e?document.querySelector(e):e;return n.node=r,this.symbols.forEach(function(e){e.mount(n.node),t._emitter.emit(O.SYMBOL_MOUNT,e.node)}),y(r.querySelectorAll("symbol")).forEach(function(e){var t=h.createFromExistingNode(e);t.node=e,n.add(t)}),this._emitter.emit(O.MOUNT,r),r},t.prototype.destroy=function(){var e=this.config,t=this.symbols,n=this._emitter;t.forEach(function(e){return e.destroy()}),n.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},t.prototype.mount=function(e,t){void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1);if(this.isMounted)return this.node;var n="string"==typeof e?document.querySelector(e):e,r=this.render();return this.node=r,t&&n.childNodes[0]?n.insertBefore(r,n.childNodes[0]):n.appendChild(r),this._emitter.emit(O.MOUNT,r),r},t.prototype.render=function(){return f(this.stringify())},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},t.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return j(this.node,n,Y(e)+"#",Y(t)+"#"),!0},Object.defineProperties(t.prototype,r),t}(l),A=e(function(e){ +/*! + * domready (c) Dustin Diaz 2014 - License MIT + */ +e.exports=function(){var e,t=[],n=document,r=(n.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(n.readyState);return r||n.addEventListener("DOMContentLoaded",e=function(){for(n.removeEventListener("DOMContentLoaded",e),r=1;e=t.shift();)e()}),function(e){r?setTimeout(e,0):t.push(e)}}()});!!window.__SVG_SPRITE__?S=window.__SVG_SPRITE__:(S=new E({attrs:{id:"__SVG_SPRITE_NODE__"}}),window.__SVG_SPRITE__=S);var P=function(){var e=document.getElementById("__SVG_SPRITE_NODE__");e?S.attach(e):S.mount(document.body,!0)};return document.body?P():A(P),S})}).call(this,n("yLpj"))},"Ivi+":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n("wd/R"))},JB68:function(e,t,n){var r=n("Jes0");e.exports=function(e){return Object(r(e))}},"JCF/":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:r,monthsShort:r,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,n){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n("wd/R"))},JEQr:function(e,t,n){"use strict";(function(t){var r=n("xTJ+"),a=n("yK9s"),i={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var o={adapter:function(){var e;return"undefined"!=typeof XMLHttpRequest?e=n("tQ2B"):void 0!==t&&(e=n("tQ2B")),e}(),transformRequest:[function(e,t){return a(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(s(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],function(e){o.headers[e]={}}),r.forEach(["post","put","patch"],function(e){o.headers[e]=r.merge(i)}),e.exports=o}).call(this,n("8oxB"))},"JMW+":function(e,t,n){"use strict";var r,a,i,s,o=n("uOPS"),d=n("5T2Y"),u=n("2GTP"),_=n("QMMT"),c=n("Y7ZC"),l=n("93I4"),m=n("eaoh"),f=n("EXMj"),h=n("oioR"),p=n("8gHz"),y=n("QXhf").set,M=n("q6LJ")(),v=n("ZW5q"),L=n("RDmV"),Y=n("vBP9"),g=n("zXhZ"),w=d.TypeError,k=d.process,D=k&&k.versions,b=D&&D.v8||"",T=d.Promise,S="process"==_(k),x=function(){},H=a=v.f,j=!!function(){try{var e=T.resolve(1),t=(e.constructor={})[n("UWiX")("species")]=function(e){e(x,x)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(x)instanceof t&&0!==b.indexOf("6.6")&&-1===Y.indexOf("Chrome/66")}catch(e){}}(),O=function(e){var t;return!(!l(e)||"function"!=typeof(t=e.then))&&t},E=function(e,t){if(!e._n){e._n=!0;var n=e._c;M(function(){for(var r=e._v,a=1==e._s,i=0,s=function(t){var n,i,s,o=a?t.ok:t.fail,d=t.resolve,u=t.reject,_=t.domain;try{o?(a||(2==e._h&&W(e),e._h=1),!0===o?n=r:(_&&_.enter(),n=o(r),_&&(_.exit(),s=!0)),n===t.promise?u(w("Promise-chain cycle")):(i=O(n))?i.call(n,d,u):d(n)):u(r)}catch(e){_&&!s&&_.exit(),u(e)}};n.length>i;)s(n[i++]);e._c=[],e._n=!1,t&&!e._h&&A(e)})}},A=function(e){y.call(d,function(){var t,n,r,a=e._v,i=P(e);if(i&&(t=L(function(){S?k.emit("unhandledRejection",a,e):(n=d.onunhandledrejection)?n({promise:e,reason:a}):(r=d.console)&&r.error&&r.error("Unhandled promise rejection",a)}),e._h=S||P(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},W=function(e){y.call(d,function(){var t;S?k.emit("rejectionHandled",e):(t=d.onrejectionhandled)&&t({promise:e,reason:e._v})})},C=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),E(t,!0))},R=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw w("Promise can't be resolved itself");(t=O(e))?M(function(){var r={_w:n,_d:!1};try{t.call(e,u(R,r,1),u(C,r,1))}catch(e){C.call(r,e)}}):(n._v=e,n._s=1,E(n,!1))}catch(e){C.call({_w:n,_d:!1},e)}}};j||(T=function(e){f(this,T,"Promise","_h"),m(e),r.call(this);try{e(u(R,this,1),u(C,this,1))}catch(e){C.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n("XJU/")(T.prototype,{then:function(e,t){var n=H(p(this,T));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&E(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=u(R,e,1),this.reject=u(C,e,1)},v.f=H=function(e){return e===T||e===s?new i(e):a(e)}),c(c.G+c.W+c.F*!j,{Promise:T}),n("RfKB")(T,"Promise"),n("TJWN")("Promise"),s=n("WEpk").Promise,c(c.S+c.F*!j,"Promise",{reject:function(e){var t=H(this);return(0,t.reject)(e),t.promise}}),c(c.S+c.F*(o||!j),"Promise",{resolve:function(e){return g(o&&this===s?T:this,e)}}),c(c.S+c.F*!(j&&n("TuGD")(function(e){T.all(e).catch(x)})),"Promise",{all:function(e){var t=this,n=H(t),r=n.resolve,a=n.reject,i=L(function(){var n=[],i=0,s=1;h(e,!1,function(e){var o=i++,d=!1;n.push(void 0),s++,t.resolve(e).then(function(e){d||(d=!0,n[o]=e,--s||r(n))},a)}),--s||r(n)});return i.e&&a(i.v),n.promise},race:function(e){var t=this,n=H(t),r=n.reject,a=L(function(){h(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return a.e&&r(a.v),n.promise}})},JVSJ:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},Jes0:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},JvlW:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,r){return t?a(n)[0]:r?a(n)[1]:a(n)[2]}function r(e){return e%10==0||e>10&&e<20}function a(e){return t[e].split("_")}function i(e,t,i,s){var o=e+" ";return 1===e?o+n(0,t,i[0],s):t?o+(r(e)?a(i)[1]:a(i)[0]):s?o+a(i)[1]:o+(r(e)?a(i)[1]:a(i)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"},ss:i,m:n,mm:i,h:n,hh:i,d:n,dd:i,M:n,MM:i,y:n,yy:i},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/tc":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"KHd+":function(e,t,n){"use strict";function r(e,t,n,r,a,i,s,o){var d,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),s?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=d):a&&(d=o?function(){a.call(this,this.$root.$options.shadowRoot)}:a),d)if(u.functional){u._injectStyles=d;var _=u.render;u.render=function(e,t){return d.call(t),_(e,t)}}else{var c=u.beforeCreate;u.beforeCreate=c?[].concat(c,d):[d]}return{exports:e,options:u}}n.d(t,"a",function(){return r})},KSF8:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},KTz0:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var a=t.words[r];return 1===r.length?n?a[0]:a[1]:e+" "+t.correctGrammaticalCase(e,a)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},KUxP:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},Kw5r:function(e,t,n){"use strict";n.r(t),function(e){ +/*! + * Vue.js v2.5.17 + * (c) 2014-2018 Evan You + * Released under the MIT License. + */ +var n=Object.freeze({});function r(e){return void 0===e||null===e}function a(e){return void 0!==e&&null!==e}function i(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function o(e){return null!==e&&"object"==typeof e}var d=Object.prototype.toString;function u(e){return"[object Object]"===d.call(e)}function _(e){return"[object RegExp]"===d.call(e)}function c(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function l(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function f(e,t){for(var n=Object.create(null),r=e.split(","),a=0;a-1)return e.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function M(e,t){return y.call(e,t)}function v(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var L=/-(\w)/g,Y=v(function(e){return e.replace(L,function(e,t){return t?t.toUpperCase():""})}),g=v(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),w=/\B([A-Z])/g,k=v(function(e){return e.replace(w,"-$1").toLowerCase()});var D=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function b(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function T(e,t){for(var n in t)e[n]=t[n];return e}function S(e){for(var t={},n=0;n0,K=B&&B.indexOf("edge/")>0,Z=(B&&B.indexOf("android"),B&&/iphone|ipad|ipod|ios/.test(B)||"ios"===q),X=(B&&/chrome\/\d+/.test(B),{}.watch),Q=!1;if(J)try{var ee={};Object.defineProperty(ee,"passive",{get:function(){Q=!0}}),window.addEventListener("test-passive",null,ee)}catch(e){}var te=function(){return void 0===I&&(I=!J&&!U&&void 0!==e&&"server"===e.process.env.VUE_ENV),I},ne=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function re(e){return"function"==typeof e&&/native code/.test(e.toString())}var ae,ie="undefined"!=typeof Symbol&&re(Symbol)&&"undefined"!=typeof Reflect&&re(Reflect.ownKeys);ae="undefined"!=typeof Set&&re(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var se=x,oe=0,de=function(){this.id=oe++,this.subs=[]};de.prototype.addSub=function(e){this.subs.push(e)},de.prototype.removeSub=function(e){p(this.subs,e)},de.prototype.depend=function(){de.target&&de.target.addDep(this)},de.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t-1)if(i&&!M(a,"default"))s=!1;else if(""===s||s===k(e)){var d=Ne(String,a.type);(d<0||o0&&(ut((u=e(u,(n||"")+"_"+d))[0])&&ut(c)&&(o[_]=he(c.text+u[0].text),u.shift()),o.push.apply(o,u)):s(u)?ut(c)?o[_]=he(c.text+u):""!==u&&o.push(he(u)):ut(u)&&ut(c)?o[_]=he(c.text+u.text):(i(t._isVList)&&a(u.tag)&&r(u.key)&&a(n)&&(u.key="__vlist"+n+"_"+d+"__"),o.push(u)));return o}(e):void 0}function ut(e){return a(e)&&a(e.text)&&function(e){return!1===e}(e.isComment)}function _t(e,t){return(e.__esModule||ie&&"Module"===e[Symbol.toStringTag])&&(e=e.default),o(e)?t.extend(e):e}function ct(e){return e.isComment&&e.asyncFactory}function lt(e){if(Array.isArray(e))for(var t=0;tSt&&wt[n].id>e.id;)n--;wt.splice(n+1,0,e)}else wt.push(e);bt||(bt=!0,Qe(xt))}}(this)},jt.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||o(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){ze(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},jt.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},jt.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},jt.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||p(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Ot={enumerable:!0,configurable:!0,get:x,set:x};function Et(e,t,n){Ot.get=function(){return this[t][n]},Ot.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Ot)}function At(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},a=e.$options._propKeys=[];e.$parent&&Ye(!1);var i=function(i){a.push(i);var s=Ce(i,t,n,e);be(r,i,s),i in e||Et(e,"_props",i)};for(var s in t)i(s);Ye(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?x:D(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?function(e,t){_e();try{return e.call(t,t)}catch(e){return ze(e,t,"data()"),{}}finally{ce()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,a=(e.$options.methods,n.length);for(;a--;){var i=n[a];0,r&&M(r,i)||F(i)||Et(e,"_data",i)}De(t,!0)}(e):De(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=te();for(var a in t){var i=t[a],s="function"==typeof i?i:i.get;0,r||(n[a]=new jt(e,s||x,x,Pt)),a in e||Wt(e,a,i)}}(e,t.computed),t.watch&&t.watch!==X&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var a=0;a=0||n.indexOf(e[a])<0)&&r.push(e[a]);return r}return e}function cn(e){this._init(e)}function ln(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,a=e._Ctor||(e._Ctor={});if(a[r])return a[r];var i=e.name||n.options.name;var s=function(e){this._init(e)};return(s.prototype=Object.create(n.prototype)).constructor=s,s.cid=t++,s.options=Pe(n.options,e),s.super=n,s.options.props&&function(e){var t=e.options.props;for(var n in t)Et(e.prototype,"_props",n)}(s),s.options.computed&&function(e){var t=e.options.computed;for(var n in t)Wt(e.prototype,n,t[n])}(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,W.forEach(function(e){s[e]=n[e]}),i&&(s.options.components[i]=s),s.superOptions=n.options,s.extendOptions=e,s.sealedOptions=T({},s.options),a[r]=s,s}}function mn(e){return e&&(e.Ctor.options.name||e.tag)}function fn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!_(e)&&e.test(t)}function hn(e,t){var n=e.cache,r=e.keys,a=e._vnode;for(var i in n){var s=n[i];if(s){var o=mn(s.componentOptions);o&&!t(o)&&pn(n,i,r,a)}}}function pn(e,t,n,r){var a=e[t];!a||r&&a.tag===r.tag||a.componentInstance.$destroy(),e[t]=null,p(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=dn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r,n._parentElm=t._parentElm,n._refElm=t._refElm;var a=r.componentOptions;n.propsData=a.propsData,n._parentListeners=a.listeners,n._renderChildren=a.children,n._componentTag=a.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Pe(un(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&ht(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,r=e.$vnode=t._parentVnode,a=r&&r.context;e.$slots=pt(t._renderChildren,a),e.$scopedSlots=n,e._c=function(t,n,r,a){return on(e,t,n,r,a,!1)},e.$createElement=function(t,n,r,a){return on(e,t,n,r,a,!0)};var i=r&&r.data;be(e,"$attrs",i&&i.attrs||n,null,!0),be(e,"$listeners",t._parentListeners||n,null,!0)}(t),gt(t,"beforeCreate"),function(e){var t=Ft(e.$options.inject,e);t&&(Ye(!1),Object.keys(t).forEach(function(n){be(e,n,t[n])}),Ye(!0))}(t),At(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),gt(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(cn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Te,e.prototype.$delete=Se,e.prototype.$watch=function(e,t,n){if(u(t))return Rt(this,e,t,n);(n=n||{}).user=!0;var r=new jt(this,e,t,n);return n.immediate&&t.call(this,r.value),function(){r.teardown()}}}(cn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){if(Array.isArray(e))for(var r=0,a=e.length;r1?b(t):t;for(var n=b(arguments,1),r=0,a=t.length;rparseInt(this.max)&&pn(s,o[0],o,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return R}};Object.defineProperty(e,"config",t),e.util={warn:se,extend:T,mergeOptions:Pe,defineReactive:be},e.set=Te,e.delete=Se,e.nextTick=Qe,e.options=Object.create(null),W.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,T(e.options.components,Mn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=b(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Pe(this.options,e),this}}(e),ln(e),function(e){W.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(cn),Object.defineProperty(cn.prototype,"$isServer",{get:te}),Object.defineProperty(cn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(cn,"FunctionalRenderContext",{value:Xt}),cn.version="2.5.17";var vn=f("style,class"),Ln=f("input,textarea,option,select,progress"),Yn=f("contenteditable,draggable,spellcheck"),gn=f("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),wn="http://www.w3.org/1999/xlink",kn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Dn=function(e){return kn(e)?e.slice(6,e.length):""},bn=function(e){return null==e||!1===e};function Tn(e){for(var t=e.data,n=e,r=e;a(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Sn(r.data,t));for(;a(n=n.parent);)n&&n.data&&(t=Sn(t,n.data));return function(e,t){if(a(e)||a(t))return xn(e,Hn(t));return""}(t.staticClass,t.class)}function Sn(e,t){return{staticClass:xn(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function xn(e,t){return e?t?e+" "+t:e:t||""}function Hn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r-1?Qn(e,t,n):gn(t)?bn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Yn(t)?e.setAttribute(t,bn(n)||"false"===n?"false":"true"):kn(t)?bn(n)?e.removeAttributeNS(wn,Dn(t)):e.setAttributeNS(wn,t,n):Qn(e,t,n)}function Qn(e,t,n){if(bn(n))e.removeAttribute(t);else{if(V&&!G&&"TEXTAREA"===e.tagName&&"placeholder"===t&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var er={create:Zn,update:Zn};function tr(e,t){var n=t.elm,i=t.data,s=e.data;if(!(r(i.staticClass)&&r(i.class)&&(r(s)||r(s.staticClass)&&r(s.class)))){var o=Tn(t),d=n._transitionClasses;a(d)&&(o=xn(o,Hn(d))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}var nr,rr={create:tr,update:tr},ar="__r",ir="__c";function sr(e,t,n,r,a){t=function(e){return e._withTask||(e._withTask=function(){Ge=!0;var t=e.apply(null,arguments);return Ge=!1,t})}(t),n&&(t=function(e,t,n){var r=nr;return function a(){null!==e.apply(null,arguments)&&or(t,a,n,r)}}(t,e,r)),nr.addEventListener(e,t,Q?{capture:r,passive:a}:r)}function or(e,t,n,r){(r||nr).removeEventListener(e,t._withTask||t,n)}function dr(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};nr=t.elm,function(e){if(a(e[ar])){var t=V?"change":"input";e[t]=[].concat(e[ar],e[t]||[]),delete e[ar]}a(e[ir])&&(e.change=[].concat(e[ir],e.change||[]),delete e[ir])}(n),it(n,i,sr,or,t.context),nr=void 0}}var ur={create:dr,update:dr};function _r(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,i,s=t.elm,o=e.data.domProps||{},d=t.data.domProps||{};for(n in a(d.__ob__)&&(d=t.data.domProps=T({},d)),o)r(d[n])&&(s[n]="");for(n in d){if(i=d[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===o[n])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===n){s._value=i;var u=r(i)?"":String(i);cr(s,u)&&(s.value=u)}else s[n]=i}}}function cr(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(a(r)){if(r.lazy)return!1;if(r.number)return m(n)!==m(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var lr={create:_r,update:_r},mr=v(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function fr(e){var t=hr(e.style);return e.staticStyle?T(e.staticStyle,t):t}function hr(e){return Array.isArray(e)?S(e):"string"==typeof e?mr(e):e}var pr,yr=/^--/,Mr=/\s*!important$/,vr=function(e,t,n){if(yr.test(t))e.style.setProperty(t,n);else if(Mr.test(n))e.style.setProperty(t,n.replace(Mr,""),"important");else{var r=Yr(t);if(Array.isArray(n))for(var a=0,i=n.length;a-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Dr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function br(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&T(t,Tr(e.name||"v")),T(t,e),t}return"string"==typeof e?Tr(e):void 0}}var Tr=v(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),Sr=J&&!G,xr="transition",Hr="animation",jr="transition",Or="transitionend",Er="animation",Ar="animationend";Sr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(jr="WebkitTransition",Or="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Er="WebkitAnimation",Ar="webkitAnimationEnd"));var Pr=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Wr(e){Pr(function(){Pr(e)})}function Cr(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),kr(e,t))}function Rr(e,t){e._transitionClasses&&p(e._transitionClasses,t),Dr(e,t)}function Fr(e,t,n){var r=zr(e,t),a=r.type,i=r.timeout,s=r.propCount;if(!a)return n();var o=a===xr?Or:Ar,d=0,u=function(){e.removeEventListener(o,_),n()},_=function(t){t.target===e&&++d>=s&&u()};setTimeout(function(){d0&&(n=xr,_=s,c=i.length):t===Hr?u>0&&(n=Hr,_=u,c=d.length):c=(n=(_=Math.max(s,u))>0?s>u?xr:Hr:null)?n===xr?i.length:d.length:0,{type:n,timeout:_,propCount:c,hasTransform:n===xr&&Nr.test(r[jr+"Property"])}}function Ir(e,t){for(;e.length1}function Vr(e,t){!0!==t.data.show&&Jr(t)}var Gr=function(e){var t,n,o={},d=e.modules,u=e.nodeOps;for(t=0;tf?v(e,r(n[y+1])?null:n[y+1].elm,n,m,y,i):m>y&&Y(0,t,l,f)}(d,m,f,n,s):a(f)?(a(e.text)&&u.setTextContent(d,""),v(d,null,f,0,f.length-1,n)):a(m)?Y(0,m,0,m.length-1):a(e.text)&&u.setTextContent(d,""):e.text!==t.text&&u.setTextContent(d,t.text),a(l)&&a(_=l.hook)&&a(_=_.postpatch)&&_(e,t)}}}function D(e,t,n){if(i(n)&&a(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,s.selected!==i&&(s.selected=i);else if(O(ea(s),r))return void(e.selectedIndex!==o&&(e.selectedIndex=o));a||(e.selectedIndex=-1)}}function Qr(e,t){return t.every(function(t){return!O(t,e)})}function ea(e){return"_value"in e?e._value:e.value}function ta(e){e.target.composing=!0}function na(e){e.target.composing&&(e.target.composing=!1,ra(e.target,"input"))}function ra(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function aa(e){return!e.componentInstance||e.data&&e.data.transition?e:aa(e.componentInstance._vnode)}var ia={model:Kr,show:{bind:function(e,t,n){var r=t.value,a=(n=aa(n)).data&&n.data.transition,i=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&a?(n.data.show=!0,Jr(n,function(){e.style.display=i})):e.style.display=r?i:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=aa(n)).data&&n.data.transition?(n.data.show=!0,r?Jr(n,function(){e.style.display=e.__vOriginalDisplay}):Ur(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,a){a||(e.style.display=e.__vOriginalDisplay)}}},sa={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function oa(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?oa(lt(t.children)):e}function da(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var a=n._parentListeners;for(var i in a)t[Y(i)]=a[i];return t}function ua(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var _a={name:"transition",props:sa,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(function(e){return e.tag||ct(e)})).length){0;var r=this.mode;0;var a=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return a;var i=oa(a);if(!i)return a;if(this._leaving)return ua(e,a);var o="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?o+"comment":o+i.tag:s(i.key)?0===String(i.key).indexOf(o)?i.key:o+i.key:i.key;var d=(i.data||(i.data={})).transition=da(this),u=this._vnode,_=oa(u);if(i.data.directives&&i.data.directives.some(function(e){return"show"===e.name})&&(i.data.show=!0),_&&_.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(i,_)&&!ct(_)&&(!_.componentInstance||!_.componentInstance._vnode.isComment)){var c=_.data.transition=T({},d);if("out-in"===r)return this._leaving=!0,st(c,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),ua(e,a);if("in-out"===r){if(ct(i))return u;var l,m=function(){l()};st(d,"afterEnter",m),st(d,"enterCancelled",m),st(c,"delayLeave",function(e){l=e})}}return a}}},ca=T({tag:String,moveClass:String},sa);function la(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function ma(e){e.data.newPos=e.elm.getBoundingClientRect()}function fa(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,a=t.top-n.top;if(r||a){e.data.moved=!0;var i=e.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+a+"px)",i.transitionDuration="0s"}}delete ca.mode;var ha={Transition:_a,TransitionGroup:{props:ca,render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,a=this.$slots.default||[],i=this.children=[],s=da(this),o=0;o-1?Pn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Pn[e]=/HTMLUnknownElement/.test(t.toString())},T(cn.options.directives,ia),T(cn.options.components,ha),cn.prototype.__patch__=J?Gr:x,cn.prototype.$mount=function(e,t){return function(e,t,n){return e.$el=t,e.$options.render||(e.$options.render=fe),gt(e,"beforeMount"),new jt(e,function(){e._update(e._render(),n)},x,null,!0),n=!1,null==e.$vnode&&(e._isMounted=!0,gt(e,"mounted")),e}(this,e=e&&J?function(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}(e):void 0,t)},J&&setTimeout(function(){R.devtools&&ne&&ne.emit("init",cn)},0),t.default=cn}.call(this,n("yLpj"))},L2JU:function(e,t,n){"use strict";n.d(t,"b",function(){return Y}); +/** + * vuex v3.0.1 + * (c) 2017 Evan You + * @license MIT + */ +var r=function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:n});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,t.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}},a="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}var s=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},o={namespaced:{configurable:!0}};o.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(e,t){this._children[e]=t},s.prototype.removeChild=function(e){delete this._children[e]},s.prototype.getChild=function(e){return this._children[e]},s.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},s.prototype.forEachChild=function(e){i(this._children,e)},s.prototype.forEachGetter=function(e){this._rawModule.getters&&i(this._rawModule.getters,e)},s.prototype.forEachAction=function(e){this._rawModule.actions&&i(this._rawModule.actions,e)},s.prototype.forEachMutation=function(e){this._rawModule.mutations&&i(this._rawModule.mutations,e)},Object.defineProperties(s.prototype,o);var d=function(e){this.register([],e,!1)};d.prototype.get=function(e){return e.reduce(function(e,t){return e.getChild(t)},this.root)},d.prototype.getNamespace=function(e){var t=this.root;return e.reduce(function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")},"")},d.prototype.update=function(e){!function e(t,n,r){0;n.update(r);if(r.modules)for(var a in r.modules){if(!n.getChild(a))return void 0;e(t.concat(a),n.getChild(a),r.modules[a])}}([],this.root,e)},d.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var a=new s(t,n);0===e.length?this.root=a:this.get(e.slice(0,-1)).addChild(e[e.length-1],a);t.modules&&i(t.modules,function(t,a){r.register(e.concat(a),t,n)})},d.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];t.getChild(n).runtime&&t.removeChild(n)};var u;var _=function(e){var t=this;void 0===e&&(e={}),!u&&"undefined"!=typeof window&&window.Vue&&M(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1);var i=e.state;void 0===i&&(i={}),"function"==typeof i&&(i=i()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new d(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new u;var s=this,o=this.dispatch,_=this.commit;this.dispatch=function(e,t){return o.call(s,e,t)},this.commit=function(e,t,n){return _.call(s,e,t,n)},this.strict=r,h(this,i,[],this._modules.root),f(this,i),n.forEach(function(e){return e(t)}),u.config.devtools&&function(e){a&&(e._devtoolHook=a,a.emit("vuex:init",e),a.on("vuex:travel-to-state",function(t){e.replaceState(t)}),e.subscribe(function(e,t){a.emit("vuex:mutation",e,t)}))}(this)},c={state:{configurable:!0}};function l(e,t){return t.indexOf(e)<0&&t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function m(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;h(e,n,[],e._modules.root,!0),f(e,n,t)}function f(e,t,n){var r=e._vm;e.getters={};var a={};i(e._wrappedGetters,function(t,n){a[n]=function(){return t(e)},Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})});var s=u.config.silent;u.config.silent=!0,e._vm=new u({data:{$$state:t},computed:a}),u.config.silent=s,e.strict&&function(e){e._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}(e),r&&(n&&e._withCommit(function(){r._data.$$state=null}),u.nextTick(function(){return r.$destroy()}))}function h(e,t,n,r,a){var i=!n.length,s=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[s]=r),!i&&!a){var o=p(t,n.slice(0,-1)),d=n[n.length-1];e._withCommit(function(){u.set(o,d,r.state)})}var _=r.context=function(e,t,n){var r=""===t,a={dispatch:r?e.dispatch:function(n,r,a){var i=y(n,r,a),s=i.payload,o=i.options,d=i.type;return o&&o.root||(d=t+d),e.dispatch(d,s)},commit:r?e.commit:function(n,r,a){var i=y(n,r,a),s=i.payload,o=i.options,d=i.type;o&&o.root||(d=t+d),e.commit(d,s,o)}};return Object.defineProperties(a,{getters:{get:r?function(){return e.getters}:function(){return function(e,t){var n={},r=t.length;return Object.keys(e.getters).forEach(function(a){if(a.slice(0,r)===t){var i=a.slice(r);Object.defineProperty(n,i,{get:function(){return e.getters[a]},enumerable:!0})}}),n}(e,t)}},state:{get:function(){return p(e.state,n)}}}),a}(e,s,n);r.forEachMutation(function(t,n){!function(e,t,n,r){(e._mutations[t]||(e._mutations[t]=[])).push(function(t){n.call(e,r.state,t)})}(e,s+n,t,_)}),r.forEachAction(function(t,n){var r=t.root?n:s+n,a=t.handler||t;!function(e,t,n,r){(e._actions[t]||(e._actions[t]=[])).push(function(t,a){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t,a);return function(e){return e&&"function"==typeof e.then}(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch(function(t){throw e._devtoolHook.emit("vuex:error",t),t}):i})}(e,r,a,_)}),r.forEachGetter(function(t,n){!function(e,t,n,r){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}}(e,s+n,t,_)}),r.forEachChild(function(r,i){h(e,t,n.concat(i),r,a)})}function p(e,t){return t.length?t.reduce(function(e,t){return e[t]},e):e}function y(e,t,n){return function(e){return null!==e&&"object"==typeof e}(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function M(e){u&&e===u||r(u=e)}c.state.get=function(){return this._vm._data.$$state},c.state.set=function(e){0},_.prototype.commit=function(e,t,n){var r=this,a=y(e,t,n),i=a.type,s=a.payload,o=(a.options,{type:i,payload:s}),d=this._mutations[i];d&&(this._withCommit(function(){d.forEach(function(e){e(s)})}),this._subscribers.forEach(function(e){return e(o,r.state)}))},_.prototype.dispatch=function(e,t){var n=this,r=y(e,t),a=r.type,i=r.payload,s={type:a,payload:i},o=this._actions[a];if(o)return this._actionSubscribers.forEach(function(e){return e(s,n.state)}),o.length>1?Promise.all(o.map(function(e){return e(i)})):o[0](i)},_.prototype.subscribe=function(e){return l(e,this._subscribers)},_.prototype.subscribeAction=function(e){return l(e,this._actionSubscribers)},_.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch(function(){return e(r.state,r.getters)},t,n)},_.prototype.replaceState=function(e){var t=this;this._withCommit(function(){t._vm._data.$$state=e})},_.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),h(this,this.state,e,this._modules.get(e),n.preserveState),f(this,this.state)},_.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=p(t.state,e.slice(0,-1));u.delete(n,e[e.length-1])}),m(this)},_.prototype.hotUpdate=function(e){this._modules.update(e),m(this,!0)},_.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(_.prototype,c);var v=k(function(e,t){var n={};return w(t).forEach(function(t){var r=t.key,a=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=D(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"==typeof a?a.call(this,t,n):t[a]},n[r].vuex=!0}),n}),L=k(function(e,t){var n={};return w(t).forEach(function(t){var r=t.key,a=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.commit;if(e){var i=D(this.$store,"mapMutations",e);if(!i)return;r=i.context.commit}return"function"==typeof a?a.apply(this,[r].concat(t)):r.apply(this.$store,[a].concat(t))}}),n}),Y=k(function(e,t){var n={};return w(t).forEach(function(t){var r=t.key,a=t.val;a=e+a,n[r]=function(){if(!e||D(this.$store,"mapGetters",e))return this.$store.getters[a]},n[r].vuex=!0}),n}),g=k(function(e,t){var n={};return w(t).forEach(function(t){var r=t.key,a=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var i=D(this.$store,"mapActions",e);if(!i)return;r=i.context.dispatch}return"function"==typeof a?a.apply(this,[r].concat(t)):r.apply(this.$store,[a].concat(t))}}),n});function w(e){return Array.isArray(e)?e.map(function(e){return{key:e,val:e}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}})}function k(e){return function(t,n){return"string"!=typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function D(e,t,n){return e._modulesNamespaceMap[n]}var b={Store:_,install:M,version:"3.0.1",mapState:v,mapMutations:L,mapGetters:Y,mapActions:g,createNamespacedHelpers:function(e){return{mapState:v.bind(null,e),mapGetters:Y.bind(null,e),mapMutations:L.bind(null,e),mapActions:g.bind(null,e)}}};t.a=b},LYNF:function(e,t,n){"use strict";var r=n("OH9c");e.exports=function(e,t,n,a,i){var s=new Error(e);return r(s,t,n,a,i)}},Lmem:function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},Loxo:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n("wd/R"))},M1xp:function(e,t,n){var r=n("a0xu");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},MCSJ:function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},MLWZ:function(e,t,n){"use strict";var r=n("xTJ+");function a(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var s=[];r.forEach(t,function(e,t){null!==e&&void 0!==e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(a(t)+"="+a(e))}))}),i=s.join("&")}return i&&(e+=(-1===e.indexOf("?")?"?":"&")+i),e}},MPFp:function(e,t,n){"use strict";var r=n("uOPS"),a=n("Y7ZC"),i=n("kTiW"),s=n("NegM"),o=n("SBuE"),d=n("j2DC"),u=n("RfKB"),_=n("U+KD"),c=n("UWiX")("iterator"),l=!([].keys&&"next"in[].keys()),m=function(){return this};e.exports=function(e,t,n,f,h,p,y){d(n,t,f);var M,v,L,Y=function(e){if(!l&&e in D)return D[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},g=t+" Iterator",w="values"==h,k=!1,D=e.prototype,b=D[c]||D["@@iterator"]||h&&D[h],T=b||Y(h),S=h?w?Y("entries"):T:void 0,x="Array"==t&&D.entries||b;if(x&&(L=_(x.call(new e)))!==Object.prototype&&L.next&&(u(L,g,!0),r||"function"==typeof L[c]||s(L,c,m)),w&&b&&"values"!==b.name&&(k=!0,T=function(){return b.call(this)}),r&&!y||!l&&!k&&D[c]||s(D,c,T),o[t]=T,o[g]=m,h)if(M={values:w?T:Y("values"),keys:p?T:Y("keys"),entries:S},y)for(v in M)v in D||i(D,v,M[v]);else a(a.P+a.F*(l||k),t,M);return M}},Mj6V:function(e,t,n){var r,a; +/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT */void 0===(a="function"==typeof(r=function(){var e={version:"0.2.0"},t=e.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
    '};function n(e,t,n){return en?n:e}function r(e){return 100*(-1+e)}e.configure=function(e){var n,r;for(n in e)void 0!==(r=e[n])&&e.hasOwnProperty(n)&&(t[n]=r);return this},e.status=null,e.set=function(s){var o=e.isStarted();s=n(s,t.minimum,1),e.status=1===s?null:s;var d=e.render(!o),u=d.querySelector(t.barSelector),_=t.speed,c=t.easing;return d.offsetWidth,a(function(n){""===t.positionUsing&&(t.positionUsing=e.getPositioningCSS()),i(u,function(e,n,a){var i;return(i="translate3d"===t.positionUsing?{transform:"translate3d("+r(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+r(e)+"%,0)"}:{"margin-left":r(e)+"%"}).transition="all "+n+"ms "+a,i}(s,_,c)),1===s?(i(d,{transition:"none",opacity:1}),d.offsetWidth,setTimeout(function(){i(d,{transition:"all "+_+"ms linear",opacity:0}),setTimeout(function(){e.remove(),n()},_)},_)):setTimeout(n,_)}),this},e.isStarted=function(){return"number"==typeof e.status},e.start=function(){e.status||e.set(0);var n=function(){setTimeout(function(){e.status&&(e.trickle(),n())},t.trickleSpeed)};return t.trickle&&n(),this},e.done=function(t){return t||e.status?e.inc(.3+.5*Math.random()).set(1):this},e.inc=function(t){var r=e.status;return r?("number"!=typeof t&&(t=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+t,0,.994),e.set(r)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},function(){var t=0,n=0;e.promise=function(r){return r&&"resolved"!==r.state()?(0===n&&e.start(),t++,n++,r.always(function(){0==--n?(t=0,e.done()):e.set((t-n)/t)}),this):this}}(),e.render=function(n){if(e.isRendered())return document.getElementById("nprogress");o(document.documentElement,"nprogress-busy");var a=document.createElement("div");a.id="nprogress",a.innerHTML=t.template;var s,d=a.querySelector(t.barSelector),u=n?"-100":r(e.status||0),c=document.querySelector(t.parent);return i(d,{transition:"all 0 linear",transform:"translate3d("+u+"%,0,0)"}),t.showSpinner||(s=a.querySelector(t.spinnerSelector))&&_(s),c!=document.body&&o(c,"nprogress-custom-parent"),c.appendChild(a),a},e.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&_(e)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var a=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),i=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n){return n=function(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})}(n),t[n]||(t[n]=function(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+i)in n)return r;return t}(n))}function r(e,t,r){t=n(t),e.style[t]=r}return function(e,t){var n,a,i=arguments;if(2==i.length)for(n in t)void 0!==(a=t[n])&&t.hasOwnProperty(n)&&r(e,n,a);else r(e,i[1],i[2])}}();function s(e,t){var n="string"==typeof e?e:u(e);return n.indexOf(" "+t+" ")>=0}function o(e,t){var n=u(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=u(e);s(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function u(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function _(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return e})?r.call(t,n,t,e):r)||(e.exports=a)},MvwC:function(e,t,n){var r=n("5T2Y").document;e.exports=r&&r.documentElement},NV0k:function(e,t){t.f={}.propertyIsEnumerable},NegM:function(e,t,n){var r=n("2faE"),a=n("rr1i");e.exports=n("jmDH")?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},"NsO/":function(e,t,n){var r=n("M1xp"),a=n("Jes0");e.exports=function(e){return r(a(e))}},NwJ3:function(e,t,n){var r=n("SBuE"),a=n("UWiX")("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[a]===e)}},OH9c:function(e,t,n){"use strict";e.exports=function(e,t,n,r,a){return e.config=t,n&&(e.code=n),e.request=r,e.response=a,e}},OIYi:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}})}(n("wd/R"))},OTTw:function(e,t,n){"use strict";var r=n("xTJ+");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function a(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=a(window.location.href),function(t){var n=r.isString(t)?a(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},Oaa7:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},Ob0Z:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(e,t,n,r){var a="";if(t)switch(n){case"s":a="काही सेकंद";break;case"ss":a="%d सेकंद";break;case"m":a="एक मिनिट";break;case"mm":a="%d मिनिटे";break;case"h":a="एक तास";break;case"hh":a="%d तास";break;case"d":a="एक दिवस";break;case"dd":a="%d दिवस";break;case"M":a="एक महिना";break;case"MM":a="%d महिने";break;case"y":a="एक वर्ष";break;case"yy":a="%d वर्षे"}else switch(n){case"s":a="काही सेकंदां";break;case"ss":a="%d सेकंदां";break;case"m":a="एका मिनिटा";break;case"mm":a="%d मिनिटां";break;case"h":a="एका तासा";break;case"hh":a="%d तासां";break;case"d":a="एका दिवसा";break;case"dd":a="%d दिवसां";break;case"M":a="एका महिन्या";break;case"MM":a="%d महिन्यां";break;case"y":a="एका वर्षा";break;case"yy":a="%d वर्षां"}return a.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n("wd/R"))},Ojgd:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},OjkT:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n("wd/R"))},OmwH:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n("wd/R"))},Oxv6:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}})}(n("wd/R"))},P2sY:function(e,t,n){e.exports={default:n("UbbE"),__esModule:!0}},PA2r:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={format:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),standalone:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_")},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],a=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function i(e){return e>1&&e<5&&1!=~~(e/10)}function s(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?a+(i(e)?"sekundy":"sekund"):a+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?a+(i(e)?"minuty":"minut"):a+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(i(e)?"hodiny":"hodin"):a+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?a+(i(e)?"dny":"dní"):a+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?a+(i(e)?"měsíce":"měsíců"):a+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?a+(i(e)?"roky":"let"):a+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PBE1:function(e,t,n){"use strict";var r=n("Y7ZC"),a=n("WEpk"),i=n("5T2Y"),s=n("8gHz"),o=n("zXhZ");r(r.P+r.R,"Promise",{finally:function(e){var t=s(this,a.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return o(t,e()).then(function(){return n})}:e,n?function(n){return o(t,e()).then(function(){throw n})}:e)}})},PE4B:function(e,t,n){"use strict";var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===a}(e)}(e)};var a="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return t&&!0===t.clone&&r(e)?o(function(e){return Array.isArray(e)?[]:{}}(e),e,t):e}function s(e,t,n){var a=e.slice();return t.forEach(function(t,s){void 0===a[s]?a[s]=i(t,n):r(t)?a[s]=o(e[s],t,n):-1===e.indexOf(t)&&a.push(i(t,n))}),a}function o(e,t,n){var a=Array.isArray(t);return a===Array.isArray(e)?a?((n||{arrayMerge:s}).arrayMerge||s)(e,t,n):function(e,t,n){var a={};return r(e)&&Object.keys(e).forEach(function(t){a[t]=i(e[t],n)}),Object.keys(t).forEach(function(s){r(t[s])&&e[s]?a[s]=o(e[s],t[s],n):a[s]=i(t[s],n)}),a}(e,t,n):i(t,n)}o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce(function(e,n){return o(e,n,t)})};var d=o;e.exports=d},PeUW:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n("wd/R"))},PpIw:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(n("wd/R"))},"Q/yX":function(e,t,n){"use strict";var r=n("Y7ZC"),a=n("ZW5q"),i=n("RDmV");r(r.S,"Promise",{try:function(e){var t=a.f(this),n=i(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},QMMT:function(e,t,n){var r=n("a0xu"),a=n("UWiX")("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},QXhf:function(e,t,n){var r,a,i,s=n("2GTP"),o=n("MCSJ"),d=n("MvwC"),u=n("Hsns"),_=n("5T2Y"),c=_.process,l=_.setImmediate,m=_.clearImmediate,f=_.MessageChannel,h=_.Dispatch,p=0,y={},M=function(){var e=+this;if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},v=function(e){M.call(e.data)};l&&m||(l=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return y[++p]=function(){o("function"==typeof e?e:Function(e),t)},r(p),p},m=function(e){delete y[e]},"process"==n("a0xu")(c)?r=function(e){c.nextTick(s(M,e,1))}:h&&h.now?r=function(e){h.now(s(M,e,1))}:f?(i=(a=new f).port2,a.port1.onmessage=v,r=s(i.postMessage,i,1)):_.addEventListener&&"function"==typeof postMessage&&!_.importScripts?(r=function(e){_.postMessage(e+"","*")},_.addEventListener("message",v,!1)):r="onreadystatechange"in u("script")?function(e){d.appendChild(u("script")).onreadystatechange=function(){d.removeChild(this),M.call(e)}}:function(e){setTimeout(s(M,e,1),0)}),e.exports={set:l,clear:m}},QbLZ:function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n("P2sY"));t.default=r.default||function(e){for(var t=1;tu;)d.call(e,s=o[u++])&&t.push(s);return t}},RAwQ:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n,r){var a={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?a[n][0]:a[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,r=e/10;return n(0===t?r:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RDmV:function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},RfKB:function(e,t,n){var r=n("2faE").f,a=n("B+OT"),i=n("UWiX")("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},"Rn+g":function(e,t,n){"use strict";var r=n("LYNF");e.exports=function(e,t,n){var a=n.config.validateStatus;n.status&&a&&!a(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},S6ln:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},SBuE:function(e,t){e.exports={}},SFxW:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10,r=e%100-n,a=e>=100?100:null;return e+(t[n]||t[r]||t[a])},week:{dow:1,doy:7}})}(n("wd/R"))},SatO:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n("wd/R"))},TJWN:function(e,t,n){"use strict";var r=n("5T2Y"),a=n("WEpk"),i=n("2faE"),s=n("jmDH"),o=n("UWiX")("species");e.exports=function(e){var t="function"==typeof a[e]?a[e]:r[e];s&&t&&!t[o]&&i.f(t,o,{configurable:!0,get:function(){return this}})}},TuGD:function(e,t,n){var r=n("UWiX")("iterator"),a=!1;try{var i=[7][r]();i.return=function(){a=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:n=!0}},i[r]=function(){return s},e(i)}catch(e){}return n}},"U+KD":function(e,t,n){var r=n("B+OT"),a=n("JB68"),i=n("VVlx")("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=a(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},UDhR:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n("wd/R"))},UO39:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},USCx:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){var t=1===e?"d":e%10==2?"na":"mh";return e+t},week:{dow:1,doy:4}})}(n("wd/R"))},UWiX:function(e,t,n){var r=n("29s/")("wks"),a=n("YqAc"),i=n("5T2Y").Symbol,s="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=s&&i[e]||(s?i:a)("Symbol."+e))}).store=r},UbbE:function(e,t,n){n("o8NH"),e.exports=n("WEpk").Object.assign},UnBK:function(e,t,n){"use strict";var r=n("xTJ+"),a=n("xAGQ"),i=n("Lmem"),s=n("JEQr"),o=n("2SVd"),d=n("5oMp");function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return u(e),e.baseURL&&!o(e.url)&&(e.url=d(e.baseURL,e.url)),e.headers=e.headers||{},e.data=a(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return u(e),t.data=a(t.data,t.headers,e.transformResponse),t},function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=a(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},UpQW:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n("wd/R"))},Ur1D:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},V2x9:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},VVlx:function(e,t,n){var r=n("29s/")("keys"),a=n("YqAc");e.exports=function(e){return r[e]||(r[e]=a(e))}},Vclq:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n("wd/R"))},W070:function(e,t,n){var r=n("NsO/"),a=n("tEej"),i=n("D8kY");e.exports=function(e){return function(t,n,s){var o,d=r(t),u=a(d.length),_=i(s,u);if(e&&n!=n){for(;u>_;)if((o=d[_++])!=o)return!0}else for(;u>_;_++)if((e||_ in d)&&d[_]===n)return e||_||0;return!e&&-1}}},WEpk:function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"WX/U":function(e,t){e.exports=function(e,t,n,r){var a,i=0;return"boolean"!=typeof t&&(r=n,n=t,t=void 0),function(){var s=this,o=Number(new Date)-i,d=arguments;function u(){i=Number(new Date),n.apply(s,d)}r&&!a&&u(),a&&clearTimeout(a),void 0===r&&o>e?u():!0!==t&&(a=setTimeout(r?function(){a=void 0}:u,void 0===r?e-o:e))}}},WYrj:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n("wd/R"))},Wv91:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var r=e%10,a=e%100-r,i=e>=100?100:null;return e+(t[r]||t[a]||t[i])}},week:{dow:1,doy:7}})}(n("wd/R"))},WxRl:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,r){var a=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return a+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return a+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return a+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return a+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return a+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return a+(r||t?" év":" éve")}return""}function r(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},X709:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10,n=1==~~(e%100/10)?":e":1===t?":a":2===t?":a":":e";return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},XDpg:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n("wd/R"))},"XJU/":function(e,t,n){var r=n("NegM");e.exports=function(e,t,n){for(var a in t)n&&e[a]?e[a]=t[a]:r(e,a,t[a]);return e}},XLvN:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n("wd/R"))},Y7ZC:function(e,t,n){var r=n("5T2Y"),a=n("WEpk"),i=n("2GTP"),s=n("NegM"),o=n("B+OT"),d=function(e,t,n){var u,_,c,l=e&d.F,m=e&d.G,f=e&d.S,h=e&d.P,p=e&d.B,y=e&d.W,M=m?a:a[t]||(a[t]={}),v=M.prototype,L=m?r:f?r[t]:(r[t]||{}).prototype;for(u in m&&(n=t),n)(_=!l&&L&&void 0!==L[u])&&o(M,u)||(c=_?L[u]:n[u],M[u]=m&&"function"!=typeof L[u]?n[u]:p&&_?i(c,r):y&&L[u]==c?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(c):h&&"function"==typeof c?i(Function.call,c):c,h&&((M.virtual||(M.virtual={}))[u]=c,e&d.R&&v&&!v[u]&&s(v,u,c)))};d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,e.exports=d},YRex:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n("wd/R"))},YqAc:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},YuTi:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},Z4QM:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n("wd/R"))},ZAMP:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},ZW5q:function(e,t,n){"use strict";var r=n("eaoh");e.exports.f=function(e){return new function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}(e)}},Zduo:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},Zxgi:function(e,t,n){var r=n("5T2Y"),a=n("WEpk"),i=n("uOPS"),s=n("zLkG"),o=n("2faE").f;e.exports=function(e){var t=a.Symbol||(a.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||o(t,e,{value:s.f(e)})}},a0xu:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},aIdf:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}var n=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],r=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,a=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:a,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:a,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var t=1===e?"añ":"vet";return e+t},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n("wd/R"))},aIsn:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},aQkU:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n("wd/R"))},aW7e:function(e,t,n){n("wgeU"),n("FlQf"),n("bBy9"),n("JMW+"),n("PBE1"),n("Q/yX"),e.exports=n("WEpk").Promise},adOz:function(e,t,n){n("Zxgi")("asyncIterator")},"ar/p":function(e,t,n){var r=n("5vMV"),a=n("FpHa").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},b1Dy:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},bBy9:function(e,t,n){n("w2d+");for(var r=n("5T2Y"),a=n("NegM"),i=n("SBuE"),s=n("UWiX")("toStringTag"),o="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),d=0;d=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n("wd/R"))},bdgK:function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;d.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),c=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new n,k=function(){return function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=_.getInstance(),r=new g(t,n,this);w.set(this,r)}}();["observe","unobserve","disconnect"].forEach(function(e){k.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}});var D=void 0!==a.ResizeObserver?a.ResizeObserver:k;t.default=D}.call(this,n("yLpj"))},bpih:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},bxKX:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},cRix:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},ccE7:function(e,t,n){var r=n("Ojgd"),a=n("Jes0");e.exports=function(e){return function(t,n){var i,s,o=String(a(t)),d=r(n),u=o.length;return d<0||d>=u?e?"":void 0:(i=o.charCodeAt(d))<55296||i>56319||d+1===u||(s=o.charCodeAt(d+1))<56320||s>57343?e?o.charAt(d):i:e?o.slice(d,d+2):s-56320+(i-55296<<10)+65536}}},czMo:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}})}(n("wd/R"))},dNwA:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n("wd/R"))},dl0q:function(e,t,n){n("Zxgi")("observable")},"e+ae":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function a(e,t,n,a){var i=e+" ";switch(n){case"s":return t||a?"pár sekúnd":"pár sekundami";case"ss":return t||a?i+(r(e)?"sekundy":"sekúnd"):i+"sekundami";case"m":return t?"minúta":a?"minútu":"minútou";case"mm":return t||a?i+(r(e)?"minúty":"minút"):i+"minútami";case"h":return t?"hodina":a?"hodinu":"hodinou";case"hh":return t||a?i+(r(e)?"hodiny":"hodín"):i+"hodinami";case"d":return t||a?"deň":"dňom";case"dd":return t||a?i+(r(e)?"dni":"dní"):i+"dňami";case"M":return t||a?"mesiac":"mesiacom";case"MM":return t||a?i+(r(e)?"mesiace":"mesiacov"):i+"mesiacmi";case"y":return t||a?"rok":"rokom";case"yy":return t||a?i+(r(e)?"roky":"rokov"):i+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},eUtF:function(e,t,n){e.exports=!n("jmDH")&&!n("KUxP")(function(){return 7!=Object.defineProperty(n("Hsns")("div"),"a",{get:function(){return 7}}).a})},eaoh:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},endd:function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},eqyj:function(e,t,n){"use strict";var r=n("xTJ+");e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,a,i,s){var o=[];o.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),r.isString(a)&&o.push("path="+a),r.isString(i)&&o.push("domain="+i),!0===s&&o.push("secure"),document.cookie=o.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},ez49:function(e,t,n){"use strict";var r,a=n("o97j");a.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")) +/** + * Checks if an event is supported in the current execution environment. + * + * NOTE: This will not work correctly for non-generic events such as `change`, + * `reset`, `load`, `error`, and `select`. + * + * Borrows from Modernizr. + * + * @param {string} eventNameSuffix Event name, e.g. "click". + * @param {?boolean} capture Check if the capture phase is supported. + * @return {boolean} True if the event is supported. + * @internal + * @license Modernizr 3.0.0pre (Custom Build) | MIT + */,e.exports=function(e,t){if(!a.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var s=document.createElement("div");s.setAttribute(n,"return;"),i="function"==typeof s[n]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},fNZA:function(e,t,n){var r=n("QMMT"),a=n("UWiX")("iterator"),i=n("SBuE");e.exports=n("WEpk").getIteratorMethod=function(e){if(void 0!=e)return e[a]||e["@@iterator"]||i[r(e)]}},fpC5:function(e,t,n){var r=n("2faE"),a=n("5K7Z"),i=n("w6GO");e.exports=n("jmDH")?Object.defineProperties:function(e,t){a(e);for(var n,s=i(t),o=s.length,d=0;o>d;)r.f(e,n=s[d++],t[n]);return e}},fzPg:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n("wd/R"))},"gDS+":function(e,t,n){e.exports={default:n("oh+g"),__esModule:!0}},gVVK:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return a+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return a+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return a+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami";case"d":return t||r?"en dan":"enim dnem";case"dd":return a+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi";case"M":return t||r?"en mesec":"enim mesecem";case"MM":return a+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci";case"y":return t||r?"eno leto":"enim letom";case"yy":return a+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gekB:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,r,a,i){var s="";switch(a){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"ss":s=i?"sekunnin":"sekuntia";break;case"m":return i?"minuutin":"minuutti";case"mm":s=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":s=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":s=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":s=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":s=i?"vuoden":"vuotta"}return s=function(e,r){return e<10?r?n[e]:t[e]:e}(e,i)+" "+s}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},gjCT:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n("wd/R"))},hDam:function(e,t){e.exports=function(){}},hKrs:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n("wd/R"))},honF:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n("wd/R"))},iEDd:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},iYuL:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(n("wd/R"))},j2DC:function(e,t,n){"use strict";var r=n("oVml"),a=n("rr1i"),i=n("RfKB"),s={};n("NegM")(s,n("UWiX")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(s,{next:a(1,n)}),i(e,t+" Iterator")}},jE9Z:function(e,t,n){"use strict"; +/** + * vue-router v3.0.1 + * (c) 2017 Evan You + * @license MIT + */function r(e,t){0}function a(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}var i={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,r=t.children,a=t.parent,i=t.data;i.routerView=!0;for(var s=a.$createElement,o=n.name,d=a.$route,u=a._routerViewCache||(a._routerViewCache={}),_=0,c=!1;a&&a._routerRoot!==a;)a.$vnode&&a.$vnode.data.routerView&&_++,a._inactive&&(c=!0),a=a.$parent;if(i.routerViewDepth=_,c)return s(u[o],i,r);var l=d.matched[_];if(!l)return u[o]=null,s();var m=u[o]=l.components[o];i.registerRouteInstance=function(e,t){var n=l.instances[o];(t&&n!==e||!t&&n===e)&&(l.instances[o]=t)},(i.hook||(i.hook={})).prepatch=function(e,t){l.instances[o]=t.componentInstance};var f=i.props=function(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0;default:0}}(d,l.props&&l.props[o]);if(f){f=i.props=function(e,t){for(var n in t)e[n]=t[n];return e}({},f);var h=i.attrs=i.attrs||{};for(var p in f)m.props&&p in m.props||(h[p]=f[p],delete f[p])}return s(m,i,r)}};var s=/[!'()*]/g,o=function(e){return"%"+e.charCodeAt(0).toString(16)},d=/%2C/g,u=function(e){return encodeURIComponent(e).replace(s,o).replace(d,",")},_=decodeURIComponent;function c(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var n=e.replace(/\+/g," ").split("="),r=_(n.shift()),a=n.length>0?_(n.join("=")):null;void 0===t[r]?t[r]=a:Array.isArray(t[r])?t[r].push(a):t[r]=[t[r],a]}),t):t}function l(e){var t=e?Object.keys(e).map(function(t){var n=e[t];if(void 0===n)return"";if(null===n)return u(t);if(Array.isArray(n)){var r=[];return n.forEach(function(e){void 0!==e&&(null===e?r.push(u(t)):r.push(u(t)+"="+u(e)))}),r.join("&")}return u(t)+"="+u(n)}).filter(function(e){return e.length>0}).join("&"):null;return t?"?"+t:""}var m=/\/?$/;function f(e,t,n,r){var a=r&&r.options.stringifyQuery,i=t.query||{};try{i=h(i)}catch(e){}var s={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:i,params:t.params||{},fullPath:y(t,a),matched:e?function(e){var t=[];for(;e;)t.unshift(e),e=e.parent;return t}(e):[]};return n&&(s.redirectedFrom=y(n,a)),Object.freeze(s)}function h(e){if(Array.isArray(e))return e.map(h);if(e&&"object"==typeof e){var t={};for(var n in e)t[n]=h(e[n]);return t}return e}var p=f(null,{path:"/"});function y(e,t){var n=e.path,r=e.query;void 0===r&&(r={});var a=e.hash;return void 0===a&&(a=""),(n||"/")+(t||l)(r)+a}function M(e,t){return t===p?e===t:!!t&&(e.path&&t.path?e.path.replace(m,"")===t.path.replace(m,"")&&e.hash===t.hash&&v(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&v(e.query,t.query)&&v(e.params,t.params)))}function v(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(function(n){var r=e[n],a=t[n];return"object"==typeof r&&"object"==typeof a?v(r,a):String(r)===String(a)})}var L,Y=[String,Object],g=[String,Array],w={name:"router-link",props:{to:{type:Y,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:g,default:"click"}},render:function(e){var t=this,n=this.$router,r=this.$route,a=n.resolve(this.to,r,this.append),i=a.location,s=a.route,o=a.href,d={},u=n.options.linkActiveClass,_=n.options.linkExactActiveClass,c=null==u?"router-link-active":u,l=null==_?"router-link-exact-active":_,h=null==this.activeClass?c:this.activeClass,p=null==this.exactActiveClass?l:this.exactActiveClass,y=i.path?f(null,i,null,n):s;d[p]=M(r,y),d[h]=this.exact?d[p]:function(e,t){return 0===e.path.replace(m,"/").indexOf(t.path.replace(m,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var n in t)if(!(n in e))return!1;return!0}(e.query,t.query)}(r,y);var v=function(e){k(e)&&(t.replace?n.replace(i):n.push(i))},Y={click:k};Array.isArray(this.event)?this.event.forEach(function(e){Y[e]=v}):Y[this.event]=v;var g={class:d};if("a"===this.tag)g.on=Y,g.attrs={href:o};else{var w=function e(t){if(t)for(var n,r=0;r=0&&(t=e.slice(r),e=e.slice(0,r));var a=e.indexOf("?");return a>=0&&(n=e.slice(a+1),e=e.slice(0,a)),{path:e,query:n,hash:t}}(a.path||""),d=t&&t.path||"/",u=o.path?T(o.path,d,n||a.append):d,_=function(e,t,n){void 0===t&&(t={});var r,a=n||c;try{r=a(e||"")}catch(e){r={}}for(var i in t)r[i]=t[i];return r}(o.query,a.query,r&&r.options.parseQuery),l=a.hash||o.hash;return l&&"#"!==l.charAt(0)&&(l="#"+l),{_normalized:!0,path:u,query:_,hash:l}}function K(e,t){for(var n in t)e[n]=t[n];return e}function Z(e,t){var n=V(e),r=n.pathList,a=n.pathMap,i=n.nameMap;function s(e,n,s){var o=G(e,n,!1,t),u=o.name;if(u){var _=i[u];if(!_)return d(null,o);var c=_.regex.keys.filter(function(e){return!e.optional}).map(function(e){return e.name});if("object"!=typeof o.params&&(o.params={}),n&&"object"==typeof n.params)for(var l in n.params)!(l in o.params)&&c.indexOf(l)>-1&&(o.params[l]=n.params[l]);if(_)return o.path=B(_.path,o.params),d(_,o,s)}else if(o.path){o.params={};for(var m=0;m=e.length?n():e[a]?t(e[a],function(){r(a+1)}):r(a+1)};r(0)}function he(e){return function(t,n,r){var i=!1,s=0,o=null;pe(e,function(e,t,n,d){if("function"==typeof e&&void 0===e.cid){i=!0,s++;var u,_=ve(function(t){(function(e){return e.__esModule||Me&&"Module"===e[Symbol.toStringTag]})(t)&&(t=t.default),e.resolved="function"==typeof t?t:L.extend(t),n.components[d]=t,--s<=0&&r()}),c=ve(function(e){var t="Failed to resolve async component "+d+": "+e;o||(o=a(e)?e:new Error(t),r(o))});try{u=e(_,c)}catch(e){c(e)}if(u)if("function"==typeof u.then)u.then(_,c);else{var l=u.component;l&&"function"==typeof l.then&&l.then(_,c)}}}),i||r()}}function pe(e,t){return ye(e.map(function(e){return Object.keys(e.components).map(function(n){return t(e.components[n],e.instances[n],e,n)})}))}function ye(e){return Array.prototype.concat.apply([],e)}var Me="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function ve(e){var t=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!t)return t=!0,e.apply(this,n)}}var Le=function(e,t){this.router=e,this.base=function(e){if(!e)if(b){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=p,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function Ye(e,t,n,r){var a=pe(e,function(e,r,a,i){var s=function(e,t){"function"!=typeof e&&(e=L.extend(e));return e.options[t]}(e,t);if(s)return Array.isArray(s)?s.map(function(e){return n(e,r,a,i)}):n(s,r,a,i)});return ye(r?a.reverse():a)}function ge(e,t){if(t)return function(){return e.apply(t,arguments)}}Le.prototype.listen=function(e){this.cb=e},Le.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},Le.prototype.onError=function(e){this.errorCbs.push(e)},Le.prototype.transitionTo=function(e,t,n){var r=this,a=this.router.match(e,this.current);this.confirmTransition(a,function(){r.updateRoute(a),t&&t(a),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(e){e(a)}))},function(e){n&&n(e),e&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(t){t(e)}))})},Le.prototype.confirmTransition=function(e,t,n){var i=this,s=this.current,o=function(e){a(e)&&(i.errorCbs.length?i.errorCbs.forEach(function(t){t(e)}):(r(),console.error(e))),n&&n(e)};if(M(e,s)&&e.matched.length===s.matched.length)return this.ensureURL(),o();var d=function(e,t){var n,r=Math.max(e.length,t.length);for(n=0;n=0?t.slice(0,n):t)+"#"+e}function xe(e){oe?le(Se(e)):window.location.hash=e}function He(e){oe?me(Se(e)):window.location.replace(Se(e))}var je=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var r=this;this.transitionTo(e,function(e){r.stack=r.stack.slice(0,r.index+1).concat(e),r.index++,t&&t(e)},n)},t.prototype.replace=function(e,t,n){var r=this;this.transitionTo(e,function(e){r.stack=r.stack.slice(0,r.index).concat(e),t&&t(e)},n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){t.index=n,t.updateRoute(r)})}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(Le),Oe=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Z(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!oe&&!1!==e.fallback,this.fallback&&(t="hash"),b||(t="abstract"),this.mode=t,t){case"history":this.history=new we(this,e.base);break;case"hash":this.history=new De(this,e.base,this.fallback);break;case"abstract":this.history=new je(this,e.base);break;default:0}},Ee={currentRoute:{configurable:!0}};function Ae(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}Oe.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},Ee.currentRoute.get=function(){return this.history&&this.history.current},Oe.prototype.init=function(e){var t=this;if(this.apps.push(e),!this.app){this.app=e;var n=this.history;if(n instanceof we)n.transitionTo(n.getCurrentLocation());else if(n instanceof De){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(e){t.apps.forEach(function(t){t._route=e})})}},Oe.prototype.beforeEach=function(e){return Ae(this.beforeHooks,e)},Oe.prototype.beforeResolve=function(e){return Ae(this.resolveHooks,e)},Oe.prototype.afterEach=function(e){return Ae(this.afterHooks,e)},Oe.prototype.onReady=function(e,t){this.history.onReady(e,t)},Oe.prototype.onError=function(e){this.history.onError(e)},Oe.prototype.push=function(e,t,n){this.history.push(e,t,n)},Oe.prototype.replace=function(e,t,n){this.history.replace(e,t,n)},Oe.prototype.go=function(e){this.history.go(e)},Oe.prototype.back=function(){this.go(-1)},Oe.prototype.forward=function(){this.go(1)},Oe.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map(function(e){return Object.keys(e.components).map(function(t){return e.components[t]})})):[]},Oe.prototype.resolve=function(e,t,n){var r=G(e,t||this.history.current,n,this),a=this.match(r,t),i=a.redirectedFrom||a.fullPath;return{location:r,route:a,href:function(e,t,n){var r="hash"===n?"#"+t:t;return e?S(e+"/"+r):r}(this.history.base,i,this.mode),normalizedTo:r,resolved:a}},Oe.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==p&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Oe.prototype,Ee),Oe.install=D,Oe.version="3.0.1",b&&window.Vue&&window.Vue.use(Oe),t.a=Oe},jUeY:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n=this._calendarEl[e],r=t&&t.hours();return function(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}(n)&&(n=n.apply(t)),n.replace("{}",r%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),r=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function a(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function i(e,t,n){var r=e+" ";switch(n){case"ss":return r+(a(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return r+(a(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(a(e)?"godziny":"godzin");case"ww":return r+(a(e)?"tygodnie":"tygodni");case"MM":return r+(a(e)?"miesiące":"miesięcy");case"yy":return r+(a(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,r){return e?/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:i,m:i,mm:i,h:i,hh:i,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:i,M:"miesiąc",MM:i,y:"rok",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"jfS+":function(e,t,n){"use strict";var r=n("endd");function a(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}a.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},a.source=function(){var e;return{token:new a(function(t){e=t}),cancel:e}},e.exports=a},jfSC:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n("wd/R"))},jmDH:function(e,t,n){e.exports=!n("KUxP")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},jnO4:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},a={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,n,i,s){var o=r(t),d=a[e][r(t)];return 2===o&&(d=d[n?0:1]),d.replace(/%d/i,t)}},s=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n("wd/R"))},jrfk:function(e,t){var n,r,a,i,s,o,d,u,_,c,l,m,f,h,p,y=!1;function M(){if(!y){y=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),M=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(m=/\b(iPhone|iP[ao]d)/.exec(e),f=/\b(iP[ao]d)/.exec(e),c=/Android/i.exec(e),h=/FBAN\/\w+;/i.exec(e),p=/Mobile/i.exec(e),l=!!/Win64/.exec(e),t){(n=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN)&&document&&document.documentMode&&(n=document.documentMode);var v=/(?:Trident\/(\d+.\d+))/.exec(e);o=v?parseFloat(v[1])+4:n,r=t[2]?parseFloat(t[2]):NaN,a=t[3]?parseFloat(t[3]):NaN,(i=t[4]?parseFloat(t[4]):NaN)?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),s=t&&t[1]?parseFloat(t[1]):NaN):s=NaN}else n=r=a=s=i=NaN;if(M){if(M[1]){var L=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);d=!L||parseFloat(L[1].replace("_","."))}else d=!1;u=!!M[2],_=!!M[3]}else d=u=_=!1}}var v={ie:function(){return M()||n},ieCompatibilityMode:function(){return M()||o>n},ie64:function(){return v.ie()&&l},firefox:function(){return M()||r},opera:function(){return M()||a},webkit:function(){return M()||i},safari:function(){return v.webkit()},chrome:function(){return M()||s},windows:function(){return M()||u},osx:function(){return M()||d},linux:function(){return M()||_},iphone:function(){return M()||m},mobile:function(){return M()||m||f||c||p},nativeApp:function(){return M()||h},android:function(){return M()||c},ipad:function(){return M()||f}};e.exports=v},kAMH:function(e,t,n){var r=n("a0xu");e.exports=Array.isArray||function(e){return"Array"==r(e)}},kEOa:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n("wd/R"))},kOpN:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n("wd/R"))},kTiW:function(e,t,n){e.exports=n("NegM")},kvrn:function(e,t){var n=/^(attrs|props|on|nativeOn|class|style|hook)$/;function r(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}e.exports=function(e){return e.reduce(function(e,t){var a,i,s,o,d;for(s in t)if(a=e[s],i=t[s],a&&n.test(s))if("class"===s&&("string"==typeof a&&(d=a,e[s]=a={},a[d]=!0),"string"==typeof i&&(d=i,t[s]=i={},i[d]=!0)),"on"===s||"nativeOn"===s||"hook"===s)for(o in i)a[o]=r(a[o],i[o]);else if(Array.isArray(a))e[s]=a.concat(i);else if(Array.isArray(i))e[s]=[a].concat(i);else for(o in i)a[o]=i[o];else e[s]=t[s];return e},{})}},kwZ1:function(e,t,n){"use strict";var r=n("jmDH"),a=n("w6GO"),i=n("mqlF"),s=n("NV0k"),o=n("JB68"),d=n("M1xp"),u=Object.assign;e.exports=!u||n("KUxP")(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r})?function(e,t){for(var n=o(e),u=arguments.length,_=1,c=i.f,l=s.f;u>_;)for(var m,f=d(arguments[_++]),h=c?a(f).concat(c(f)):a(f),p=h.length,y=0;p>y;)m=h[y++],r&&!l.call(f,m)||(n[m]=f[m]);return n}:u},l5ep:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t=e,n="";return t>20?n=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(n=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},lXzo:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n){var r={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===n?t?"минута":"минуту":e+" "+function(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}(r[n],+e)}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,w:"неделя",ww:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n,r){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(n("wd/R"))},lgnt:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}})}(n("wd/R"))},lhnW:function(e,t,n){var r=n("WX/U"),a=n("DhVD");e.exports={throttle:r,debounce:a}},loYQ:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t?e:"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t?e+12:"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(n("wd/R"))},lyxo:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n("wd/R"))},mqlF:function(e,t){t.f=Object.getOwnPropertySymbols},n6bm:function(e,t,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function a(){this.message="String contains an invalid character"}a.prototype=new Error,a.prototype.code=5,a.prototype.name="InvalidCharacterError",e.exports=function(e){for(var t,n,i=String(e),s="",o=0,d=r;i.charAt(0|o)||(d="=",o%1);s+=d.charAt(63&t>>8-o%1*8)){if((n=i.charCodeAt(o+=.75))>255)throw new a;t=t<<8|n}return s}},nyYc:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},o1bE:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(r,a,i,s){var o=t(r),d=n[e][t(r)];return 2===o&&(d=d[a?0:1]),d.replace(/%d/i,r)}},a=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-dz",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(n("wd/R"))},o8NH:function(e,t,n){var r=n("Y7ZC");r(r.S+r.F,"Object",{assign:n("kwZ1")})},o97j:function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=a},oV5b:function(e,t,n){"use strict";n.r(t);var r=n("QbLZ"),a=n.n(r),i=n("EJiy"),s=n.n(i),o=/%[sdj%]/g,d=function(){};function u(){for(var e=arguments.length,t=Array(e),n=0;n=i)return e;switch(e){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(e){return"[Circular]"}break;default:return e}}),d=t[r];r()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},M={integer:function(e){return M.number(e)&&parseInt(e,10)===e},float:function(e){return M.number(e)&&!M.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(void 0===e?"undefined":s()(e))&&!M.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(y.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(y.url)},hex:function(e){return"string"==typeof e&&!!e.match(y.hex)}};var v="enum";var L={required:h,whitespace:p,type:function(e,t,n,r,a){if(e.required&&void 0===t)h(e,t,n,r,a);else{var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?M[i](t)||r.push(u(a.messages.types[i],e.fullField,e.type)):i&&(void 0===t?"undefined":s()(t))!==e.type&&r.push(u(a.messages.types[i],e.fullField,e.type))}},range:function(e,t,n,r,a){var i="number"==typeof e.len,s="number"==typeof e.min,o="number"==typeof e.max,d=t,_=null,c="number"==typeof t,l="string"==typeof t,m=Array.isArray(t);if(c?_="number":l?_="string":m&&(_="array"),!_)return!1;m&&(d=t.length),l&&(d=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?d!==e.len&&r.push(u(a.messages[_].len,e.fullField,e.len)):s&&!o&&de.max?r.push(u(a.messages[_].max,e.fullField,e.max)):s&&o&&(de.max)&&r.push(u(a.messages[_].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,a){e[v]=Array.isArray(e[v])?e[v]:[],-1===e[v].indexOf(t)&&r.push(u(a.messages[v],e.fullField,e[v].join(", ")))},pattern:function(e,t,n,r,a){e.pattern&&(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(u(a.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"==typeof e.pattern&&(new RegExp(e.pattern).test(t)||r.push(u(a.messages.pattern.mismatch,e.fullField,t,e.pattern))))}};var Y="enum";var g=function(e,t,n,r,a){var i=e.type,s=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(_(t,i)&&!e.required)return n();L.required(e,t,r,s,a,i),_(t,i)||L.type(e,t,r,s,a)}n(s)},w={string:function(e,t,n,r,a){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(_(t,"string")&&!e.required)return n();L.required(e,t,r,i,a,"string"),_(t,"string")||(L.type(e,t,r,i,a),L.range(e,t,r,i,a),L.pattern(e,t,r,i,a),!0===e.whitespace&&L.whitespace(e,t,r,i,a))}n(i)},method:function(e,t,n,r,a){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(_(t)&&!e.required)return n();L.required(e,t,r,i,a),void 0!==t&&L.type(e,t,r,i,a)}n(i)},number:function(e,t,n,r,a){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(_(t)&&!e.required)return n();L.required(e,t,r,i,a),void 0!==t&&(L.type(e,t,r,i,a),L.range(e,t,r,i,a))}n(i)},boolean:function(e,t,n,r,a){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(_(t)&&!e.required)return n();L.required(e,t,r,i,a),void 0!==t&&L.type(e,t,r,i,a)}n(i)},regexp:function(e,t,n,r,a){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(_(t)&&!e.required)return n();L.required(e,t,r,i,a),_(t)||L.type(e,t,r,i,a)}n(i)},integer:function(e,t,n,r,a){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(_(t)&&!e.required)return n();L.required(e,t,r,i,a),void 0!==t&&(L.type(e,t,r,i,a),L.range(e,t,r,i,a))}n(i)},float:function(e,t,n,r,a){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(_(t)&&!e.required)return n();L.required(e,t,r,i,a),void 0!==t&&(L.type(e,t,r,i,a),L.range(e,t,r,i,a))}n(i)},array:function(e,t,n,r,a){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(_(t,"array")&&!e.required)return n();L.required(e,t,r,i,a,"array"),_(t,"array")||(L.type(e,t,r,i,a),L.range(e,t,r,i,a))}n(i)},object:function(e,t,n,r,a){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(_(t)&&!e.required)return n();L.required(e,t,r,i,a),void 0!==t&&L.type(e,t,r,i,a)}n(i)},enum:function(e,t,n,r,a){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(_(t)&&!e.required)return n();L.required(e,t,r,i,a),t&&L[Y](e,t,r,i,a)}n(i)},pattern:function(e,t,n,r,a){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(_(t,"string")&&!e.required)return n();L.required(e,t,r,i,a),_(t,"string")||L.pattern(e,t,r,i,a)}n(i)},date:function(e,t,n,r,a){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(_(t)&&!e.required)return n();if(L.required(e,t,r,i,a),!_(t)){var s=void 0;s="number"==typeof t?new Date(t):t,L.type(e,s,r,i,a),s&&L.range(e,s.getTime(),r,i,a)}}n(i)},url:g,hex:g,email:g,required:function(e,t,n,r,a){var i=[],o=Array.isArray(t)?"array":void 0===t?"undefined":s()(t);L.required(e,t,r,i,a,o),n(i)}};function k(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var D=k();function b(e){this.rules=null,this._messages=D,this.define(e)}b.prototype={messages:function(e){return e&&(this._messages=f(k(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(void 0===e?"undefined":s()(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,n=void 0;for(t in e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2],i=e,o=n,_=r;if("function"==typeof o&&(_=o,o={}),this.rules&&0!==Object.keys(this.rules).length){if(o.messages){var c=this.messages();c===D&&(c=k()),f(c,o.messages),o.messages=c}else o.messages=this.messages();var h=void 0,p=void 0,y={};(o.keys||Object.keys(this.rules)).forEach(function(n){h=t.rules[n],p=i[n],h.forEach(function(r){var s=r;"function"==typeof s.transform&&(i===e&&(i=a()({},i)),p=i[n]=s.transform(p)),(s="function"==typeof s?{validator:s}:a()({},s)).validator=t.getValidationMethod(s),s.field=n,s.fullField=s.fullField||n,s.type=t.getType(s),s.validator&&(y[n]=y[n]||[],y[n].push({rule:s,value:p,source:i,field:n}))})});var M={};l(y,o,function(e,t){var n=e.rule,r=!("object"!==n.type&&"array"!==n.type||"object"!==s()(n.fields)&&"object"!==s()(n.defaultField));function i(e,t){return a()({},t,{fullField:n.fullField+"."+e})}function _(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(Array.isArray(s)||(s=[s]),s.length&&d("async-validator:",s),s.length&&n.message&&(s=[].concat(n.message)),s=s.map(m(n)),o.first&&s.length)return M[n.field]=1,t(s);if(r){if(n.required&&!e.value)return s=n.message?[].concat(n.message).map(m(n)):o.error?[o.error(n,u(o.messages.required,n.field))]:[],t(s);var _={};if(n.defaultField)for(var c in e.value)e.value.hasOwnProperty(c)&&(_[c]=n.defaultField);for(var l in _=a()({},_,e.rule.fields))if(_.hasOwnProperty(l)){var f=Array.isArray(_[l])?_[l]:[_[l]];_[l]=f.map(i.bind(null,l))}var h=new b(_);h.messages(o.messages),e.rule.options&&(e.rule.options.messages=o.messages,e.rule.options.error=o.error),h.validate(e.value,e.rule.options||o,function(e){t(e&&e.length?s.concat(e):e)})}else t(s)}r=r&&(n.required||!n.required&&e.value),n.field=e.field;var c=n.validator(n,e.value,_,e.source,o);c&&c.then&&c.then(function(){return _()},function(e){return _(e)})},function(e){!function(e){var t=void 0,n=void 0,r=[],a={};function i(e){Array.isArray(e)?r=r.concat.apply(r,e):r.push(e)}for(t=0;tdocument.F=Object<\/script>"),e.close(),d=e.F;r--;)delete d.prototype[i[r]];return d()};e.exports=Object.create||function(e,t){var n;return null!==e?(o.prototype=r(e),n=new o,o.prototype=null,n[s]=e):n=d(),void 0===t?n:a(n,t)}},"oh+g":function(e,t,n){var r=n("WEpk"),a=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return a.stringify.apply(a,arguments)}},oioR:function(e,t,n){var r=n("2GTP"),a=n("sNwI"),i=n("NwJ3"),s=n("5K7Z"),o=n("tEej"),d=n("fNZA"),u={},_={};(t=e.exports=function(e,t,n,c,l){var m,f,h,p,y=l?function(){return e}:d(e),M=r(n,c,t?2:1),v=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(i(y)){for(m=o(e.length);m>v;v++)if((p=t?M(s(f=e[v])[0],f[1]):M(e[v]))===u||p===_)return p}else for(h=y.call(e);!(f=h.next()).done;)if((p=a(h,M,f.value,t))===u||p===_)return p}).BREAK=u,t.RETURN=_},"p/rL":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},p46w:function(e,t,n){var r,a; +/*! + * JavaScript Cookie v2.2.0 + * https://github.com/js-cookie/js-cookie + * + * Copyright 2006, 2015 Klaus Hartl & Fagner Brack + * Released under the MIT license + */!function(i){if(void 0===(a="function"==typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=a),!0,e.exports=i(),!!0){var s=window.Cookies,o=window.Cookies=i();o.noConflict=function(){return window.Cookies=s,o}}}(function(){function e(){for(var e=0,t={};e1){if("number"==typeof(i=e({path:"/"},r.defaults,i)).expires){var o=new Date;o.setMilliseconds(o.getMilliseconds()+864e5*i.expires),i.expires=o}i.expires=i.expires?i.expires.toUTCString():"";try{s=JSON.stringify(a),/^[\{\[]/.test(s)&&(a=s)}catch(e){}a=n.write?n.write(a,t):encodeURIComponent(String(a)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=(t=(t=encodeURIComponent(String(t))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var d="";for(var u in i)i[u]&&(d+="; "+u,!0!==i[u]&&(d+="="+i[u]));return document.cookie=t+"="+a+d}t||(s={});for(var _=document.cookie?document.cookie.split("; "):[],c=/(%[0-9A-Z]{2})+/g,l=0;l<_.length;l++){var m=_[l].split("="),f=m.slice(1).join("=");this.json||'"'!==f.charAt(0)||(f=f.slice(1,-1));try{var h=m[0].replace(c,decodeURIComponent);if(f=n.read?n.read(f,h):n(f,h)||f.replace(c,decodeURIComponent),this.json)try{f=JSON.parse(f)}catch(e){}if(t===h){s=f;break}t||(s[h]=f)}catch(e){}}return s}}return r.set=r,r.get=function(e){return r.call(r,e)},r.getJSON=function(){return r.apply({json:!0},[].slice.call(arguments))},r.defaults={},r.remove=function(t,n){r(t,"",e(n,{expires:-1}))},r.withConverter=t,r}(function(){})})},pdi6:function(e,t,n){},q6LJ:function(e,t,n){var r=n("5T2Y"),a=n("QXhf").set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,o=r.Promise,d="process"==n("a0xu")(s);e.exports=function(){var e,t,n,u=function(){var r,a;for(d&&(r=s.domain)&&r.exit();e;){a=e.fn,e=e.next;try{a()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(d)n=function(){s.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(o&&o.resolve){var _=o.resolve(void 0);n=function(){_.then(u)}}else n=function(){a.call(r,u)};else{var c=!0,l=document.createTextNode("");new i(u).observe(l,{characterData:!0}),n=function(){l.data=c=!c}}return function(r){var a={fn:r,next:void 0};t&&(t.next=a),e||(e=a,n()),t=a}}},qvJo:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n,r){var a={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return r?a[n][0]:a[n][1]}e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){switch(t){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})}(n("wd/R"))},raLr:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n){var r={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+function(e,t){var n=e.split("_");return t%10==1&&t%100!=11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}(r[n],+e)}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var n,r={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?r.nominative.slice(1,7).concat(r.nominative.slice(0,1)):e?(n=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative",r[n][e.day()]):r.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},rr1i:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"s+uk":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},sNwI:function(e,t,n){var r=n("5K7Z");e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},sp3z:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n("wd/R"))},"t+mt":function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},tEej:function(e,t,n){var r=n("Ojgd"),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},tGlX:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tQ2B:function(e,t,n){"use strict";var r=n("xTJ+"),a=n("Rn+g"),i=n("MLWZ"),s=n("w0Vi"),o=n("OTTw"),d=n("LYNF"),u="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n("n6bm");e.exports=function(e){return new Promise(function(t,_){var c=e.data,l=e.headers;r.isFormData(c)&&delete l["Content-Type"];var m=new XMLHttpRequest,f="onreadystatechange",h=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in m||o(e.url)||(m=new window.XDomainRequest,f="onload",h=!0,m.onprogress=function(){},m.ontimeout=function(){}),e.auth){var p=e.auth.username||"",y=e.auth.password||"";l.Authorization="Basic "+u(p+":"+y)}if(m.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),m.timeout=e.timeout,m[f]=function(){if(m&&(4===m.readyState||h)&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in m?s(m.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?m.response:m.responseText,status:1223===m.status?204:m.status,statusText:1223===m.status?"No Content":m.statusText,headers:n,config:e,request:m};a(t,_,r),m=null}},m.onerror=function(){_(d("Network Error",e,null,m)),m=null},m.ontimeout=function(){_(d("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",m)),m=null},r.isStandardBrowserEnv()){var M=n("eqyj"),v=(e.withCredentials||o(e.url))&&e.xsrfCookieName?M.read(e.xsrfCookieName):void 0;v&&(l[e.xsrfHeaderName]=v)}if("setRequestHeader"in m&&r.forEach(l,function(e,t){void 0===c&&"content-type"===t.toLowerCase()?delete l[t]:m.setRequestHeader(t,e)}),e.withCredentials&&(m.withCredentials=!0),e.responseType)try{m.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&m.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){m&&(m.abort(),_(e),m=null)}),void 0===c&&(c=null),m.send(c)})}},tT3J:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n("wd/R"))},tUCv:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tbfe:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(n("wd/R"))},u3GI:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uEye:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uOPS:function(e,t){e.exports=!0},uXwI:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function r(e,r,a){return e+" "+n(t[a],e,r)}function a(e,r,a){return n(t[a],e,r)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:r,m:a,mm:r,h:a,hh:r,d:a,dd:r,M:a,MM:r,y:a,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},vBP9:function(e,t,n){var r=n("5T2Y").navigator;e.exports=r&&r.userAgent||""},vDqi:function(e,t,n){e.exports=n("zuR4")},vRGJ:function(e,t){e.exports=c,e.exports.parse=i,e.exports.compile=function(e,t){return s(i(e,t))},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=_;var n="/",r="./",a=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function i(e,t){for(var i,s=[],u=0,_=0,c="",l=t&&t.delimiter||n,m=t&&t.delimiters||r,f=!1;null!==(i=a.exec(e));){var h=i[0],p=i[1],y=i.index;if(c+=e.slice(_,y),_=y+h.length,p)c+=p[1],f=!0;else{var M="",v=e[_],L=i[2],Y=i[3],g=i[4],w=i[5];if(!f&&c.length){var k=c.length-1;m.indexOf(c[k])>-1&&(M=c[k],c=c.slice(0,k))}c&&(s.push(c),c="",f=!1);var D=""!==M&&void 0!==v&&v!==M,b="+"===w||"*"===w,T="?"===w||"*"===w,S=M||l,x=Y||g;s.push({name:L||u++,prefix:M,delimiter:S,optional:T,repeat:b,partial:D,pattern:x?d(x):"[^"+o(S)+"]+?"})}}return(c||_-1;else{var y=p.repeat?"(?:"+p.pattern+")(?:"+o(p.delimiter)+"(?:"+p.pattern+"))*":p.pattern;t&&t.push(p),p.optional?p.partial?m+=o(p.prefix)+"("+y+")?":m+="(?:"+o(p.prefix)+"("+y+"))?":m+=o(p.prefix)+"("+y+")"}}return d?(i||(m+="(?:"+_+")?"),m+="$"===l?"$":"(?="+l+")"):(i||(m+="(?:"+_+"(?="+l+"))?"),f||(m+="(?="+_+"|"+l+")")),new RegExp(m,u(a))}function c(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}}),s):s}},"w2d+":function(e,t,n){"use strict";var r=n("hDam"),a=n("UO39"),i=n("SBuE"),s=n("NsO/");e.exports=n("MPFp")(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,a(1)):a(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},w6GO:function(e,t,n){var r=n("5vMV"),a=n("FpHa");e.exports=Object.keys||function(e){return r(e,a)}},wJiJ:function(e,t,n){e.exports=n("1K8p")},wQk9:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n("wd/R"))},"wd/R":function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function a(){return t.apply(null,arguments)}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(o(e,t))return!1;return!0}function u(e){return void 0===e}function _(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[],a=e.length;for(n=0;n>>0;for(t=0;t0)for(n=0;n=0;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,D=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)o(e,t)&&n.push(t);return n};var O=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,E=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,A={},P={};function W(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(P[e]=a),t&&(P[t[0]]=function(){return j(a.apply(this,arguments),t[1],t[2])}),n&&(P[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function C(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function R(e,t){return e.isValid()?(t=F(t,e.localeData()),A[t]=A[t]||function(e){var t,n,r=e.match(O);for(t=0,n=r.length;t=0&&E.test(e);)e=e.replace(E,r),E.lastIndex=0,n-=1;return e}var N={};function z(e,t){var n=e.toLowerCase();N[n]=N[n+"s"]=N[t]=e}function I(e){return"string"==typeof e?N[e]||N[e.toLowerCase()]:void 0}function $(e){var t,n,r={};for(n in e)o(e,n)&&(t=I(n))&&(r[t]=e[n]);return r}var J={};function U(e,t){J[e]=t}function q(e){return e%4==0&&e%100!=0||e%400==0}function B(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function V(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=B(t)),n}function G(e,t){return function(n){return null!=n?(Z(this,e,n),a.updateOffset(this,t),this):K(this,e)}}function K(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&q(e.year())&&1===e.month()&&29===e.date()?(n=V(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Oe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var X,Q=/\d/,ee=/\d\d/,te=/\d{3}/,ne=/\d{4}/,re=/[+-]?\d{6}/,ae=/\d\d?/,ie=/\d\d\d\d?/,se=/\d\d\d\d\d\d?/,oe=/\d{1,3}/,de=/\d{1,4}/,ue=/[+-]?\d{1,6}/,_e=/\d+/,ce=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,me=/Z|[+-]\d\d(?::?\d\d)?/gi,fe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function he(e,t,n){X[e]=S(t)?t:function(e,r){return e&&n?n:t}}function pe(e,t){return o(X,e)?X[e](t._strict,t._locale):new RegExp(function(e){return ye(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,a){return t||n||r||a}))}(e))}function ye(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}X={};var Me={};function ve(e,t){var n,r,a=t;for("string"==typeof e&&(e=[e]),_(t)&&(a=function(e,n){n[t]=V(e)}),r=e.length,n=0;n68?1900:2e3)};var Ie=G("FullYear",!0);function $e(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Je(e,t,n){var r=7+t-n,a=(7+$e(e,0,r).getUTCDay()-t)%7;return-a+r-1}function Ue(e,t,n,r,a){var i,s,o=(7+n-r)%7,d=Je(e,r,a),u=1+7*(t-1)+o+d;return u<=0?s=ze(i=e-1)+u:u>ze(e)?(i=e+1,s=u-ze(e)):(i=e,s=u),{year:i,dayOfYear:s}}function qe(e,t,n){var r,a,i=Je(e.year(),t,n),s=Math.floor((e.dayOfYear()-i-1)/7)+1;return s<1?(a=e.year()-1,r=s+Be(a,t,n)):s>Be(e.year(),t,n)?(r=s-Be(e.year(),t,n),a=e.year()+1):(a=e.year(),r=s),{week:r,year:a}}function Be(e,t,n){var r=Je(e,t,n),a=Je(e+1,t,n);return(ze(e)-r+a)/7}function Ve(e,t){return e.slice(t,7).concat(e.slice(0,t))}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),z("week","w"),z("isoWeek","W"),U("week",5),U("isoWeek",5),he("w",ae),he("ww",ae,ee),he("W",ae),he("WW",ae,ee),Le(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=V(e)}),W("d",0,"do","day"),W("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),W("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),W("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),z("day","d"),z("weekday","e"),z("isoWeekday","E"),U("day",11),U("weekday",11),U("isoWeekday",11),he("d",ae),he("e",ae),he("E",ae),he("dd",function(e,t){return t.weekdaysMinRegex(e)}),he("ddd",function(e,t){return t.weekdaysShortRegex(e)}),he("dddd",function(e,t){return t.weekdaysRegex(e)}),Le(["dd","ddd","dddd"],function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:h(n).invalidWeekday=e}),Le(["d","e","E"],function(e,t,n,r){t[r]=V(e)});var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=fe,Qe=fe,et=fe;function tt(){function e(e,t){return t.length-e.length}var t,n,r,a,i,s=[],o=[],d=[],u=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=ye(this.weekdaysMin(n,"")),a=ye(this.weekdaysShort(n,"")),i=ye(this.weekdays(n,"")),s.push(r),o.push(a),d.push(i),u.push(r),u.push(a),u.push(i);s.sort(e),o.sort(e),d.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function nt(){return this.hours()%12||12}function rt(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function at(e,t){return t._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,nt),W("k",["kk",2],0,function(){return this.hours()||24}),W("hmm",0,0,function(){return""+nt.apply(this)+j(this.minutes(),2)}),W("hmmss",0,0,function(){return""+nt.apply(this)+j(this.minutes(),2)+j(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+j(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+j(this.minutes(),2)+j(this.seconds(),2)}),rt("a",!0),rt("A",!1),z("hour","h"),U("hour",13),he("a",at),he("A",at),he("H",ae),he("h",ae),he("k",ae),he("HH",ae,ee),he("hh",ae,ee),he("kk",ae,ee),he("hmm",ie),he("hmmss",se),he("Hmm",ie),he("Hmmss",se),ve(["H","HH"],be),ve(["k","kk"],function(e,t,n){var r=V(e);t[be]=24===r?0:r}),ve(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ve(["h","hh"],function(e,t,n){t[be]=V(e),h(n).bigHour=!0}),ve("hmm",function(e,t,n){var r=e.length-2;t[be]=V(e.substr(0,r)),t[Te]=V(e.substr(r)),h(n).bigHour=!0}),ve("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[be]=V(e.substr(0,r)),t[Te]=V(e.substr(r,2)),t[Se]=V(e.substr(a)),h(n).bigHour=!0}),ve("Hmm",function(e,t,n){var r=e.length-2;t[be]=V(e.substr(0,r)),t[Te]=V(e.substr(r))}),ve("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[be]=V(e.substr(0,r)),t[Te]=V(e.substr(r,2)),t[Se]=V(e.substr(a))});var it,st=G("Hours",!0),ot={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ee,monthsShort:Ae,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:Ze,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},dt={},ut={};function _t(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(r=lt(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&_t(a,n)>=t-1)break;t--}i++}return it}(e)}function pt(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[ke]<0||n[ke]>11?ke:n[De]<1||n[De]>Oe(n[we],n[ke])?De:n[be]<0||n[be]>24||24===n[be]&&(0!==n[Te]||0!==n[Se]||0!==n[xe])?be:n[Te]<0||n[Te]>59?Te:n[Se]<0||n[Se]>59?Se:n[xe]<0||n[xe]>999?xe:-1,h(e)._overflowDayOfYear&&(tDe)&&(t=De),h(e)._overflowWeeks&&-1===t&&(t=He),h(e)._overflowWeekday&&-1===t&&(t=je),h(e).overflow=t),e}var yt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Mt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vt=/Z|[+-]\d\d(?::?\d\d)?/,Lt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Yt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],gt=/^\/?Date\((-?\d+)/i,wt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,kt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dt(e){var t,n,r,a,i,s,o=e._i,d=yt.exec(o)||Mt.exec(o),u=Lt.length,_=Yt.length;if(d){for(h(e).iso=!0,t=0,n=u;t7)&&(d=!0)):(i=e._locale._week.dow,s=e._locale._week.doy,u=qe(Et(),i,s),n=St(t.gg,e._a[we],u.year),r=St(t.w,u.week),null!=t.d?((a=t.d)<0||a>6)&&(d=!0):null!=t.e?(a=t.e+i,(t.e<0||t.e>6)&&(d=!0)):a=i),r<1||r>Be(n,i,s)?h(e)._overflowWeeks=!0:null!=d?h(e)._overflowWeekday=!0:(o=Ue(n,r,a,i,s),e._a[we]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(s=St(e._a[we],r[we]),(e._dayOfYear>ze(s)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=$e(s,0,e._dayOfYear),e._a[ke]=n.getUTCMonth(),e._a[De]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[be]&&0===e._a[Te]&&0===e._a[Se]&&0===e._a[xe]&&(e._nextDay=!0,e._a[be]=0),e._d=(e._useUTC?$e:function(e,t,n,r,a,i,s){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,r,a,i,s),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,r,a,i,s),o}).apply(null,o),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[be]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(h(e).weekdayMismatch=!0)}}function Ht(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],h(e).empty=!0;var t,n,r,i,s,o,d,u=""+e._i,_=u.length,c=0;for(r=F(e._f,e._locale).match(O)||[],d=r.length,t=0;t0&&h(e).unusedInput.push(s),u=u.slice(u.indexOf(n)+n.length),c+=n.length),P[i]?(n?h(e).empty=!1:h(e).unusedTokens.push(i),Ye(i,n,e)):e._strict&&!n&&h(e).unusedTokens.push(i);h(e).charsLeftOver=_-c,u.length>0&&h(e).unusedInput.push(u),e._a[be]<=12&&!0===h(e).bigHour&&e._a[be]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[be]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[be],e._meridiem),null!==(o=h(e).era)&&(e._a[we]=e._locale.erasConvertYear(o,e._a[we])),xt(e),pt(e)}else Tt(e);else Dt(e)}function jt(e){var t=e._i,n=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),g(t)?new Y(pt(t)):(c(t)?e._d=t:i(n)?function(e){var t,n,r,a,i,s,o=!1,d=e._f.length;if(0===d)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;athis?this:e:y()});function Wt(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Et();for(n=t[0],r=1;r=0?new Date(e+400,t,n)-cn:new Date(e,t,n).valueOf()}function fn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-cn:Date.UTC(e,t,n)}function hn(e,t){return t.erasAbbrRegex(e)}function pn(){var e,t,n=[],r=[],a=[],i=[],s=this.eras();for(e=0,t=s.length;ei&&(t=i),function(e,t,n,r,a){var i=Ue(e,t,n,r,a),s=$e(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}.call(this,e,t,n,r,a))}W("N",0,0,"eraAbbr"),W("NN",0,0,"eraAbbr"),W("NNN",0,0,"eraAbbr"),W("NNNN",0,0,"eraName"),W("NNNNN",0,0,"eraNarrow"),W("y",["y",1],"yo","eraYear"),W("y",["yy",2],0,"eraYear"),W("y",["yyy",3],0,"eraYear"),W("y",["yyyy",4],0,"eraYear"),he("N",hn),he("NN",hn),he("NNN",hn),he("NNNN",function(e,t){return t.erasNameRegex(e)}),he("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ve(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?h(n).era=a:h(n).invalidEra=e}),he("y",_e),he("yy",_e),he("yyy",_e),he("yyyy",_e),he("yo",function(e,t){return t._eraYearOrdinalRegex||_e}),ve(["y","yy","yyy","yyyy"],we),ve(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[we]=n._locale.eraYearOrdinalParse(e,a):t[we]=parseInt(e,10)}),W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),yn("gggg","weekYear"),yn("ggggg","weekYear"),yn("GGGG","isoWeekYear"),yn("GGGGG","isoWeekYear"),z("weekYear","gg"),z("isoWeekYear","GG"),U("weekYear",1),U("isoWeekYear",1),he("G",ce),he("g",ce),he("GG",ae,ee),he("gg",ae,ee),he("GGGG",de,ne),he("gggg",de,ne),he("GGGGG",ue,re),he("ggggg",ue,re),Le(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=V(e)}),Le(["gg","GG"],function(e,t,n,r){t[r]=a.parseTwoDigitYear(e)}),W("Q",0,"Qo","quarter"),z("quarter","Q"),U("quarter",7),he("Q",Q),ve("Q",function(e,t){t[ke]=3*(V(e)-1)}),W("D",["DD",2],"Do","date"),z("date","D"),U("date",9),he("D",ae),he("DD",ae,ee),he("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ve(["D","DD"],De),ve("Do",function(e,t){t[De]=V(e.match(ae)[0])});var vn=G("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),z("dayOfYear","DDD"),U("dayOfYear",4),he("DDD",oe),he("DDDD",te),ve(["DDD","DDDD"],function(e,t,n){n._dayOfYear=V(e)}),W("m",["mm",2],0,"minute"),z("minute","m"),U("minute",14),he("m",ae),he("mm",ae,ee),ve(["m","mm"],Te);var Ln=G("Minutes",!1);W("s",["ss",2],0,"second"),z("second","s"),U("second",15),he("s",ae),he("ss",ae,ee),ve(["s","ss"],Se);var Yn,gn,wn=G("Seconds",!1);for(W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),z("millisecond","ms"),U("millisecond",16),he("S",oe,Q),he("SS",oe,ee),he("SSS",oe,te),Yn="SSSS";Yn.length<=9;Yn+="S")he(Yn,_e);function kn(e,t){t[xe]=V(1e3*("0."+e))}for(Yn="S";Yn.length<=9;Yn+="S")ve(Yn,kn);gn=G("Milliseconds",!1),W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var Dn=Y.prototype;function bn(e){return e}Dn.add=en,Dn.calendar=function(e,t){1===arguments.length&&(arguments[0]?function(e){return g(e)||c(e)||nn(e)||_(e)||function(e){var t=i(e),n=!1;return t&&(n=0===e.filter(function(t){return!_(t)&&nn(e)}).length),t&&n}(e)||function(e){var t,n=s(e)&&!d(e),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i=a.length;for(t=0;tn.valueOf():n.valueOf()9999?R(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):S(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(n,"Z")):R(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Dn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",a="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=a+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Dn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Dn.toJSON=function(){return this.isValid()?this.toISOString():null},Dn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Dn.unix=function(){return Math.floor(this.valueOf()/1e3)},Dn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Dn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Dn.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Dn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Dn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Dn.isUtc=qt,Dn.isUTC=qt,Dn.zoneAbbr=function(){return this._isUTC?"UTC":""},Dn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Dn.dates=k("dates accessor is deprecated. Use date instead.",vn),Dn.months=k("months accessor is deprecated. Use month instead",Fe),Dn.years=k("years accessor is deprecated. Use year instead",Ie),Dn.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),Dn.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return L(t,this),(t=jt(t))._a?(e=t._isUTC?f(t._a):Et(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,a=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0;for(r=0;r0):this._isDSTShifted=!1,this._isDSTShifted});var Tn=H.prototype;function Sn(e,t,n,r){var a=ht(),i=f().set(r,t);return a[n](i,e)}function xn(e,t,n){if(_(e)&&(t=e,e=void 0),e=e||"",null!=t)return Sn(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=Sn(e,r,n,"month");return a}function Hn(e,t,n,r){"boolean"==typeof e?(_(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,_(t)&&(n=t,t=void 0),t=t||"");var a,i=ht(),s=e?i._week.dow:0,o=[];if(null!=n)return Sn(t,(n+s)%7,r,"day");for(a=0;a<7;a++)o[a]=Sn(t,(a+s)%7,r,"day");return o}Tn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return S(r)?r.call(t,n):r},Tn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(O).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},Tn.invalidDate=function(){return this._invalidDate},Tn.ordinal=function(e){return this._ordinal.replace("%d",e)},Tn.preparse=bn,Tn.postformat=bn,Tn.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return S(a)?a(e,t,n,r):a.replace(/%d/i,e)},Tn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)},Tn.set=function(e){var t,n;for(n in e)o(e,n)&&(S(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Tn.eras=function(e,t){var n,r,i,s=this._eras||ht("en")._eras;for(n=0,r=s.length;n=0)return d[r]},Tn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n},Tn.erasAbbrRegex=function(e){return o(this,"_erasAbbrRegex")||pn.call(this),e?this._erasAbbrRegex:this._erasRegex},Tn.erasNameRegex=function(e){return o(this,"_erasNameRegex")||pn.call(this),e?this._erasNameRegex:this._erasRegex},Tn.erasNarrowRegex=function(e){return o(this,"_erasNarrowRegex")||pn.call(this),e?this._erasNarrowRegex:this._erasRegex},Tn.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Pe).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone},Tn.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Pe.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Tn.monthsParse=function(e,t,n){var r,a,i;if(this._monthsParseExact)return function(e,t,n){var r,a,i,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=ge.call(this._shortMonthsParse,s))?a:null:-1!==(a=ge.call(this._longMonthsParse,s))?a:null:"MMM"===t?-1!==(a=ge.call(this._shortMonthsParse,s))?a:-1!==(a=ge.call(this._longMonthsParse,s))?a:null:-1!==(a=ge.call(this._longMonthsParse,s))?a:-1!==(a=ge.call(this._shortMonthsParse,s))?a:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},Tn.monthsRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||Ne.call(this),e?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=Ce),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Tn.monthsShortRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||Ne.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=We),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Tn.week=function(e){return qe(e,this._week.dow,this._week.doy).week},Tn.firstDayOfYear=function(){return this._week.doy},Tn.firstDayOfWeek=function(){return this._week.dow},Tn.weekdays=function(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ve(n,this._week.dow):e?n[e.day()]:n},Tn.weekdaysMin=function(e){return!0===e?Ve(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Tn.weekdaysShort=function(e){return!0===e?Ve(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Tn.weekdaysParse=function(e,t,n){var r,a,i;if(this._weekdaysParseExact)return function(e,t,n){var r,a,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=ge.call(this._weekdaysParse,s))?a:null:"ddd"===t?-1!==(a=ge.call(this._shortWeekdaysParse,s))?a:null:-1!==(a=ge.call(this._minWeekdaysParse,s))?a:null:"dddd"===t?-1!==(a=ge.call(this._weekdaysParse,s))?a:-1!==(a=ge.call(this._shortWeekdaysParse,s))?a:-1!==(a=ge.call(this._minWeekdaysParse,s))?a:null:"ddd"===t?-1!==(a=ge.call(this._shortWeekdaysParse,s))?a:-1!==(a=ge.call(this._weekdaysParse,s))?a:-1!==(a=ge.call(this._minWeekdaysParse,s))?a:null:-1!==(a=ge.call(this._minWeekdaysParse,s))?a:-1!==(a=ge.call(this._weekdaysParse,s))?a:-1!==(a=ge.call(this._shortWeekdaysParse,s))?a:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},Tn.weekdaysRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||tt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Tn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||tt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Tn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||tt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=et),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Tn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Tn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},mt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===V(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),a.lang=k("moment.lang is deprecated. Use moment.locale instead.",mt),a.langData=k("moment.langData is deprecated. Use moment.localeData instead.",ht);var jn=Math.abs;function On(e,t,n,r){var a=Gt(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function En(e){return e<0?Math.floor(e):Math.ceil(e)}function An(e){return 4800*e/146097}function Pn(e){return 146097*e/4800}function Wn(e){return function(){return this.as(e)}}var Cn=Wn("ms"),Rn=Wn("s"),Fn=Wn("m"),Nn=Wn("h"),zn=Wn("d"),In=Wn("w"),$n=Wn("M"),Jn=Wn("Q"),Un=Wn("y");function qn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Bn=qn("milliseconds"),Vn=qn("seconds"),Gn=qn("minutes"),Kn=qn("hours"),Zn=qn("days"),Xn=qn("months"),Qn=qn("years"),er=Math.round,tr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11},nr=Math.abs;function rr(e){return(e>0)-(e<0)||+e}function ar(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,i,s,o,d=nr(this._milliseconds)/1e3,u=nr(this._days),_=nr(this._months),c=this.asSeconds();return c?(e=B(d/60),t=B(e/60),d%=60,e%=60,n=B(_/12),_%=12,r=d?d.toFixed(3).replace(/\.?0+$/,""):"",a=c<0?"-":"",i=rr(this._months)!==rr(c)?"-":"",s=rr(this._days)!==rr(c)?"-":"",o=rr(this._milliseconds)!==rr(c)?"-":"",a+"P"+(n?i+n+"Y":"")+(_?i+_+"M":"")+(u?s+u+"D":"")+(t||e||d?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(d?o+r+"S":"")):"P0D"}var ir=Rt.prototype;return ir.isValid=function(){return this._isValid},ir.abs=function(){var e=this._data;return this._milliseconds=jn(this._milliseconds),this._days=jn(this._days),this._months=jn(this._months),e.milliseconds=jn(e.milliseconds),e.seconds=jn(e.seconds),e.minutes=jn(e.minutes),e.hours=jn(e.hours),e.months=jn(e.months),e.years=jn(e.years),this},ir.add=function(e,t){return On(this,e,t,1)},ir.subtract=function(e,t){return On(this,e,t,-1)},ir.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=I(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+An(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Pn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},ir.asMilliseconds=Cn,ir.asSeconds=Rn,ir.asMinutes=Fn,ir.asHours=Nn,ir.asDays=zn,ir.asWeeks=In,ir.asMonths=$n,ir.asQuarters=Jn,ir.asYears=Un,ir.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*V(this._months/12):NaN},ir._bubble=function(){var e,t,n,r,a,i=this._milliseconds,s=this._days,o=this._months,d=this._data;return i>=0&&s>=0&&o>=0||i<=0&&s<=0&&o<=0||(i+=864e5*En(Pn(o)+s),s=0,o=0),d.milliseconds=i%1e3,e=B(i/1e3),d.seconds=e%60,t=B(e/60),d.minutes=t%60,n=B(t/60),d.hours=n%24,s+=B(n/24),a=B(An(s)),o+=a,s-=En(Pn(a)),r=B(o/12),o%=12,d.days=s,d.months=o,d.years=r,this},ir.clone=function(){return Gt(this)},ir.get=function(e){return e=I(e),this.isValid()?this[e+"s"]():NaN},ir.milliseconds=Bn,ir.seconds=Vn,ir.minutes=Gn,ir.hours=Kn,ir.days=Zn,ir.weeks=function(){return B(this.days()/7)},ir.months=Xn,ir.years=Qn,ir.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,a=!1,i=tr;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(i=Object.assign({},tr,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var a=Gt(e).abs(),i=er(a.as("s")),s=er(a.as("m")),o=er(a.as("h")),d=er(a.as("d")),u=er(a.as("M")),_=er(a.as("w")),c=er(a.as("y")),l=i<=n.ss&&["s",i]||i0,l[4]=r,function(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}.apply(null,l)}(this,!a,i,n),a&&(r=n.pastFuture(+this,r)),n.postformat(r)},ir.toISOString=ar,ir.toString=ar,ir.toJSON=ar,ir.locale=an,ir.localeData=on,ir.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ar),ir.lang=sn,W("X",0,0,"unix"),W("x",0,0,"valueOf"),he("x",ce),he("X",/[+-]?\d+(\.\d{1,3})?/),ve("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ve("x",function(e,t,n){n._d=new Date(V(e))}), +//! moment.js +a.version="2.29.4",function(e){t=e}(Et),a.fn=Dn,a.min=function(){return Wt("isBefore",[].slice.call(arguments,0))},a.max=function(){return Wt("isAfter",[].slice.call(arguments,0))},a.now=function(){return Date.now?Date.now():+new Date},a.utc=f,a.unix=function(e){return Et(1e3*e)},a.months=function(e,t){return xn(e,t,"months")},a.isDate=c,a.locale=mt,a.invalid=y,a.duration=Gt,a.isMoment=g,a.weekdays=function(e,t,n){return Hn(e,t,n,"weekdays")},a.parseZone=function(){return Et.apply(null,arguments).parseZone()},a.localeData=ht,a.isDuration=Ft,a.monthsShort=function(e,t){return xn(e,t,"monthsShort")},a.weekdaysMin=function(e,t,n){return Hn(e,t,n,"weekdaysMin")},a.defineLocale=ft,a.updateLocale=function(e,t){if(null!=t){var n,r,a=ot;null!=dt[e]&&null!=dt[e].parentLocale?dt[e].set(x(dt[e]._config,t)):(null!=(r=lt(e))&&(a=r._config),t=x(a,t),null==r&&(t.abbr=e),(n=new H(t)).parentLocale=dt[e],dt[e]=n),mt(e)}else null!=dt[e]&&(null!=dt[e].parentLocale?(dt[e]=dt[e].parentLocale,e===mt()&&mt(e)):null!=dt[e]&&delete dt[e]);return dt[e]},a.locales=function(){return D(dt)},a.weekdaysShort=function(e,t,n){return Hn(e,t,n,"weekdaysShort")},a.normalizeUnits=I,a.relativeTimeRounding=function(e){return void 0===e?er:"function"==typeof e&&(er=e,!0)},a.relativeTimeThreshold=function(e,t){return void 0!==tr[e]&&(void 0===t?tr[e]:(tr[e]=t,"s"===e&&(tr.ss=t-1),!0))},a.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},a.prototype=Dn,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()}).call(this,n("YuTi")(e))},wgeU:function(e,t){},x6pH:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n("wd/R"))},xAGQ:function(e,t,n){"use strict";var r=n("xTJ+");e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},"xTJ+":function(e,t,n){"use strict";var r=n("HSsa"),a=n("BEtg"),i=Object.prototype.toString;function s(e){return"[object Array]"===i.call(e)}function o(e){return null!==e&&"object"==typeof e}function d(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),s(e))for(var n=0,r=e.length;n11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,r,a){var i=function(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),a=e%10,i="";return n>0&&(i+=t[n]+"vatlh"),r>0&&(i+=(""!==i?" ":"")+t[r]+"maH"),a>0&&(i+=(""!==i?" ":"")+t[a]),""===i?"pagh":i}(e);switch(r){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},zLkG:function(e,t,n){t.f=n("UWiX")},zXhZ:function(e,t,n){var r=n("5K7Z"),a=n("93I4"),i=n("ZW5q");e.exports=function(e,t){if(r(e),a(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},zuR4:function(e,t,n){"use strict";var r=n("xTJ+"),a=n("HSsa"),i=n("CgaS"),s=n("JEQr");function o(e){var t=new i(e),n=a(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var d=o(s);d.Axios=i,d.create=function(e){return o(r.merge(s,e))},d.Cancel=n("endd"),d.CancelToken=n("jfS+"),d.isCancel=n("Lmem"),d.all=function(e){return Promise.all(e)},d.spread=n("DfZB"),e.exports=d,e.exports.default=d},zx6S:function(e,t,n){!function(e){"use strict"; +//! moment.js locale configuration +var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,r,a){var i,s=t.words[r];return 1===r.length?"y"===r&&n?"jedna godina":a||n?s[0]:s[1]:(i=t.correctGrammaticalCase(e,s),"yy"===r&&n&&"godinu"===i?e+" godina":e+" "+i)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))}}]); \ No newline at end of file diff --git a/rec-admin/rec-admin-views/src/main/resources/static/static/js/chunk-libs.eb9f58be.js b/rec-admin/rec-admin-views/src/main/resources/static/static/js/chunk-libs.eb9f58be.js deleted file mode 100644 index 3707468d90bdf38389df78c883090e3c71b0a813..0000000000000000000000000000000000000000 --- a/rec-admin/rec-admin-views/src/main/resources/static/static/js/chunk-libs.eb9f58be.js +++ /dev/null @@ -1,52 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-libs"],{"+JPL":function(t,e,n){t.exports={default:n("+SFK"),__esModule:!0}},"+SFK":function(t,e,n){n("AUvm"),n("wgeU"),n("adOz"),n("dl0q"),t.exports=n("WEpk").Symbol},"1K8p":function(t,e,n){"use strict";var r=n("jrfk"),o=n("ez49"),i=10,a=40,s=800;function u(t){var e=0,n=0,r=0,o=0;return"detail"in t&&(n=t.detail),"wheelDelta"in t&&(n=-t.wheelDelta/120),"wheelDeltaY"in t&&(n=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=n,n=0),r=e*i,o=n*i,"deltaY"in t&&(o=t.deltaY),"deltaX"in t&&(r=t.deltaX),(r||o)&&t.deltaMode&&(1==t.deltaMode?(r*=a,o*=a):(r*=s,o*=s)),r&&!e&&(e=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:e,spinY:n,pixelX:r,pixelY:o}}u.getEventType=function(){return r.firefox()?"DOMMouseScroll":o("wheel")?"wheel":"mousewheel"},t.exports=u},"29s/":function(t,e,n){var r=n("WEpk"),o=n("5T2Y"),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("uOPS")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"2GTP":function(t,e,n){var r=n("eaoh");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},"2Nb0":function(t,e,n){n("FlQf"),n("bBy9"),t.exports=n("zLkG").f("iterator")},"2SVd":function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},"2faE":function(t,e,n){var r=n("5K7Z"),o=n("eUtF"),i=n("G8Mo"),a=Object.defineProperty;e.f=n("jmDH")?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"33yf":function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var o=t[r];"."===o?t.splice(r,1):".."===o?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r=-1&&!o;i--){var a=i>=0?arguments[i]:t.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,o="/"===a.charAt(0))}return e=n(r(e.split("/"),function(t){return!!t}),!o).join("/"),(o?"/":"")+e||"."},e.normalize=function(t){var i=e.isAbsolute(t),a="/"===o(t,-1);return(t=n(r(t.split("/"),function(t){return!!t}),!i).join("/"))||i||(t="."),t&&a&&(t+="/"),(i?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var o=r(t.split("/")),i=r(n.split("/")),a=Math.min(o.length,i.length),s=a,u=0;u=1;--i)if(47===(e=t.charCodeAt(i))){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=function(t){"string"!=typeof t&&(t+="");var e,n=0,r=-1,o=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!o){n=e+1;break}}else-1===r&&(o=!1,r=e+1);return-1===r?"":t.slice(n,r)}(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!=typeof t&&(t+="");for(var e=-1,n=0,r=-1,o=!0,i=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===r&&(o=!1,r=a+1),46===s?-1===e?e=a:1!==i&&(i=1):-1!==e&&(i=-1);else if(!o){n=a+1;break}}return-1===e||-1===r||0===i||1===i&&e===r-1&&e===n+1?"":t.slice(e,r)};var o="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("8oxB"))},"4BeY":function(t,e,n){(function(e){!function(e,n){t.exports=n()}(0,function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach(function(e){return delete t[e]})};"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;function n(t,e){return t(e={exports:{}},e.exports),e.exports}var r=n(function(t,e){t.exports=function(){function t(t){var e=t&&"object"==typeof t;return e&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){var o=n&&!0===n.clone;return o&&t(e)?r(function(t){return Array.isArray(t)?[]:{}}(e),e,n):e}function n(n,o,i){var a=n.slice();return o.forEach(function(o,s){void 0===a[s]?a[s]=e(o,i):t(o)?a[s]=r(n[s],o,i):-1===n.indexOf(o)&&a.push(e(o,i))}),a}function r(o,i,a){var s=Array.isArray(i),u=a||{arrayMerge:n},c=u.arrayMerge||n;return s?Array.isArray(o)?c(o,i,a):e(i,a):function(n,o,i){var a={};return t(n)&&Object.keys(n).forEach(function(t){a[t]=e(n[t],i)}),Object.keys(o).forEach(function(s){t(o[s])&&n[s]?a[s]=r(n[s],o[s],i):a[s]=e(o[s],i)}),a}(o,i,a)}return r.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce(function(t,n){return r(t,n,e)})},r}()}),o=n(function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default}),i=o.svg,a=o.xlink,s={};s[i.name]=i.uri,s[a.name]=a.uri;var u=function(t,e){return void 0===t&&(t=""),""+t+""};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(u(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(t)})}).call(this,n("yLpj"))},"4d7F":function(t,e,n){t.exports={default:n("aW7e"),__esModule:!0}},"5K7Z":function(t,e,n){var r=n("93I4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},"5T2Y":function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"5oMp":function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},"5vMV":function(t,e,n){var r=n("B+OT"),o=n("NsO/"),i=n("W070")(!1),a=n("VVlx")("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(c,n)||c.push(n));return c}},"6/1s":function(t,e,n){var r=n("YqAc")("meta"),o=n("93I4"),i=n("B+OT"),a=n("2faE").f,s=0,u=Object.isExtensible||function(){return!0},c=!n("KUxP")(function(){return u(Object.preventExtensions({}))}),f=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!u(t))return"F";if(!e)return"E";f(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!u(t))return!0;if(!e)return!1;f(t)}return t[r].w},onFreeze:function(t){return c&&l.NEED&&u(t)&&!i(t,r)&&f(t),t}}},"8gHz":function(t,e,n){var r=n("5K7Z"),o=n("eaoh"),i=n("UWiX")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[i])?e:o(n)}},"8oxB":function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],f=!1,l=-1;function p(){f&&u&&(f=!1,u.length?c=u.concat(c):l=-1,c.length&&d())}function d(){if(!f){var t=s(p);f=!0;for(var e=c.length;e;){for(u=c,c=[];++l1)for(var n=1;no;)X(t,n=r[o++],e[n]);return t},Y=function(t){var e=U.call(this,t=x(t,!0));return!(this===B&&o(F,t)&&!o(I,t))&&(!(e||!o(this,t)||!o(F,t)||o(this,L)&&this[L][t])||e)},Z=function(t,e){if(t=w(t),e=x(e,!0),t!==B||!o(F,e)||o(I,e)){var n=T(t,e);return!n||!o(F,e)||o(t,L)&&t[L][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=$(w(t)),r=[],i=0;n.length>i;)o(F,e=n[i++])||e==L||e==u||r.push(e);return r},tt=function(t){for(var e,n=t===B,r=$(n?I:w(t)),i=[],a=0;r.length>a;)!o(F,e=r[a++])||n&&!o(B,e)||i.push(F[e]);return i};V||(s((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===B&&e.call(I,n),o(this,L)&&o(this[L],t)&&(this[L][t]=!1),z(this,t,O(1,n))};return i&&H&&z(B,t,{configurable:!0,set:e}),G(t)}).prototype,"toString",function(){return this._k}),C.f=Z,k.f=X,n("ar/p").f=A.f=Q,n("NV0k").f=Y,S.f=tt,i&&!n("uOPS")&&s(B,"propertyIsEnumerable",Y,!0),h.f=function(t){return G(d(t))}),a(a.G+a.W+a.F*!V,{Symbol:P});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)d(et[nt++]);for(var rt=j(d.store),ot=0;rt.length>ot;)v(rt[ot++]);a(a.S+a.F*!V,"Symbol",{for:function(t){return o(D,t+="")?D[t]:D[t]=P(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var e in D)if(D[e]===t)return e},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!V,"Object",{create:function(t,e){return void 0===e?E(t):K(E(t),e)},defineProperty:X,defineProperties:K,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:tt});var it=c(function(){S.f(1)});a(a.S+a.F*it,"Object",{getOwnPropertySymbols:function(t){return S.f(_(t))}}),N&&a(a.S+a.F*(!V||c(function(){var t=P();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(b(e)||void 0!==t)&&!J(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!J(e))return e}),r[1]=e,R.apply(N,r)}}),P.prototype[q]||n("NegM")(P.prototype,q,P.prototype.valueOf),l(P,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},"B+OT":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},BEtg:function(t,e){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)} -/*! - * Determine if an object is a Buffer - * - * @author Feross Aboukhadijeh - * @license MIT - */ -t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},CgaS:function(t,e,n){"use strict";var r=n("JEQr"),o=n("xTJ+"),i=n("9rSQ"),a=n("UnBK");function s(t){this.defaults=t,this.interceptors={request:new i,response:new i}}s.prototype.request=function(t){"string"==typeof t&&(t=o.merge({url:arguments[0]},arguments[1])),(t=o.merge(r,{method:"get"},this.defaults,t)).method=t.method.toLowerCase();var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},o.forEach(["delete","get","head","options"],function(t){s.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}}),o.forEach(["post","put","patch"],function(t){s.prototype[t]=function(e,n,r){return this.request(o.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=s},D8kY:function(t,e,n){var r=n("Ojgd"),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},DfZB:function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},DhVD:function(t,e,n){var r=n("WX/U");t.exports=function(t,e,n){return void 0===n?r(t,e,!1):r(t,n,!1!==e)}},EJiy:function(t,e,n){"use strict";e.__esModule=!0;var r=a(n("F+2o")),o=a(n("+JPL")),i="function"==typeof o.default&&"symbol"==typeof r.default?function(t){return typeof t}:function(t){return t&&"function"==typeof o.default&&t.constructor===o.default&&t!==o.default.prototype?"symbol":typeof t};function a(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof o.default&&"symbol"===i(r.default)?function(t){return void 0===t?"undefined":i(t)}:function(t){return t&&"function"==typeof o.default&&t.constructor===o.default&&t!==o.default.prototype?"symbol":void 0===t?"undefined":i(t)}},EXMj:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},"F+2o":function(t,e,n){t.exports={default:n("2Nb0"),__esModule:!0}},FlQf:function(t,e,n){"use strict";var r=n("ccE7")(!0);n("MPFp")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},FpHa:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},G8Mo:function(t,e,n){var r=n("93I4");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},HSsa:function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r"+t+""},c=r.svg,f=r.xlink,l={attrs:(s={style:["position: absolute","width: 0","height: 0"].join("; ")},s[c.name]=c.uri,s[f.name]=f.uri,s)},p=function(t){this.config=n(l,t||{}),this.symbols=[]};p.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},p.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},p.prototype.find=function(t){return this.symbols.filter(function(e){return e.id===t})[0]||null},p.prototype.has=function(t){return null!==this.find(t)},p.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map(function(t){return t.stringify()}).join("");return u(e,t)},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){this.symbols.forEach(function(t){return t.destroy()})};var d=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};d.prototype.stringify=function(){return this.content},d.prototype.toString=function(){return this.stringify()},d.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach(function(e){return delete t[e]})};var h=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},v=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return h(u(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(d),m={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},y=function(t){return Array.prototype.slice.call(t,0)},g=navigator.userAgent,b={isChrome:/chrome/i.test(g),isFirefox:/firefox/i.test(g),isIE:/msie/i.test(g)||/trident/i.test(g),isEdge:/edge/i.test(g)},_=function(t){var e=[];return y(t.querySelectorAll("style")).forEach(function(t){t.textContent+="",e.push(t)}),e},w=function(t){return(t||window.location.href).split("#")[0]},x=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",function(e,n,r){!function(t,e){var n=document.createEvent("CustomEvent");n.initCustomEvent(t,!1,!1,e),window.dispatchEvent(n)}(t,{oldUrl:r,newUrl:n})})}])},O=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern"),y(t.querySelectorAll("symbol")).forEach(function(t){y(t.querySelectorAll(e)).forEach(function(e){t.parentNode.insertBefore(e,t)})}),t};var E=r.xlink.uri,A="xlink:href",C=/[{}|\\\^\[\]`"<>]/g;function S(t){return t.replace(C,function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()})}var k,j=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],T=j.map(function(t){return"["+t+"]"}).join(","),M=function(t,e,n,r){var o=S(n),i=S(r);(function(t,e){return y(t).reduce(function(t,n){if(!n.attributes)return t;var r=y(n.attributes),o=e?r.filter(e):r;return t.concat(o)},[])})(t.querySelectorAll(T),function(t){var e=t.localName,n=t.value;return-1!==j.indexOf(e)&&-1!==n.indexOf("url("+o)}).forEach(function(t){return t.value=t.value.replace(o,i)}),function(t,e,n){y(t).forEach(function(t){var r=t.getAttribute(A);if(r&&0===r.indexOf(e)){var o=r.replace(e,n);t.setAttributeNS(E,A,o)}})}(e,o,i)},$={MOUNT:"mount",SYMBOL_MOUNT:"symbol_mount"},P=function(t){function e(e){var r=this;void 0===e&&(e={}),t.call(this,n(m,e));var o=function(t){return t=t||Object.create(null),{on:function(e,n){(t[e]||(t[e]=[])).push(n)},off:function(e,n){t[e]&&t[e].splice(t[e].indexOf(n)>>>0,1)},emit:function(e,n){(t[e]||[]).map(function(t){t(n)}),(t["*"]||[]).map(function(t){t(e,n)})}}}();this._emitter=o,this.node=null;var i=this.config;if(i.autoConfigure&&this._autoConfigure(e),i.syncUrlsWithBaseTag){var a=document.getElementsByTagName("base")[0].getAttribute("href");o.on($.MOUNT,function(){return r.updateUrls("#",a)})}var s=this._handleLocationChange.bind(this);this._handleLocationChange=s,i.listenLocationChangeEvent&&window.addEventListener(i.locationChangeEvent,s),i.locationChangeAngularEmitter&&x(i.locationChangeEvent),o.on($.MOUNT,function(t){i.moveGradientsOutsideSymbol&&O(t)}),o.on($.SYMBOL_MOUNT,function(t){i.moveGradientsOutsideSymbol&&O(t.parentNode),(b.isIE||b.isEdge)&&_(t)})}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter="angular"in window),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=b.isFirefox)},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,r=e.newUrl;this.updateUrls(n,r)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit($.SYMBOL_MOUNT,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof t?document.querySelector(t):t;return n.node=r,this.symbols.forEach(function(t){t.mount(n.node),e._emitter.emit($.SYMBOL_MOUNT,t.node)}),y(r.querySelectorAll("symbol")).forEach(function(t){var e=v.createFromExistingNode(t);e.node=t,n.add(e)}),this._emitter.emit($.MOUNT,r),r},e.prototype.destroy=function(){var t=this.config,e=this.symbols,n=this._emitter;e.forEach(function(t){return t.destroy()}),n.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1);if(this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,r=this.render();return this.node=r,e&&n.childNodes[0]?n.insertBefore(r,n.childNodes[0]):n.appendChild(r),this._emitter.emit($.MOUNT,r),r},e.prototype.render=function(){return h(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return M(this.node,n,w(t)+"#",w(e)+"#"),!0},Object.defineProperties(e.prototype,r),e}(p),N=t(function(t){ -/*! - * domready (c) Dustin Diaz 2014 - License MIT - */ -t.exports=function(){var t,e=[],n=document,r=(n.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(n.readyState);return r||n.addEventListener("DOMContentLoaded",t=function(){for(n.removeEventListener("DOMContentLoaded",t),r=1;t=e.shift();)t()}),function(t){r?setTimeout(t,0):e.push(t)}}()});!!window.__SVG_SPRITE__?k=window.__SVG_SPRITE__:(k=new P({attrs:{id:"__SVG_SPRITE_NODE__"}}),window.__SVG_SPRITE__=k);var R=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?k.attach(t):k.mount(document.body,!0)};return document.body?R():N(R),k})}).call(this,n("yLpj"))},JB68:function(t,e,n){var r=n("Jes0");t.exports=function(t){return Object(r(t))}},JEQr:function(t,e,n){"use strict";(function(e){var r=n("xTJ+"),o=n("yK9s"),i={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=n("tQ2B"):void 0!==e&&(t=n("tQ2B")),t}(),transformRequest:[function(t,e){return o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(a(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],function(t){s.headers[t]={}}),r.forEach(["post","put","patch"],function(t){s.headers[t]=r.merge(i)}),t.exports=s}).call(this,n("8oxB"))},"JMW+":function(t,e,n){"use strict";var r,o,i,a,s=n("uOPS"),u=n("5T2Y"),c=n("2GTP"),f=n("QMMT"),l=n("Y7ZC"),p=n("93I4"),d=n("eaoh"),h=n("EXMj"),v=n("oioR"),m=n("8gHz"),y=n("QXhf").set,g=n("q6LJ")(),b=n("ZW5q"),_=n("RDmV"),w=n("vBP9"),x=n("zXhZ"),O=u.TypeError,E=u.process,A=E&&E.versions,C=A&&A.v8||"",S=u.Promise,k="process"==f(E),j=function(){},T=o=b.f,M=!!function(){try{var t=S.resolve(1),e=(t.constructor={})[n("UWiX")("species")]=function(t){t(j,j)};return(k||"function"==typeof PromiseRejectionEvent)&&t.then(j)instanceof e&&0!==C.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),$=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},P=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,o=1==t._s,i=0,a=function(e){var n,i,a,s=o?e.ok:e.fail,u=e.resolve,c=e.reject,f=e.domain;try{s?(o||(2==t._h&&L(t),t._h=1),!0===s?n=r:(f&&f.enter(),n=s(r),f&&(f.exit(),a=!0)),n===e.promise?c(O("Promise-chain cycle")):(i=$(n))?i.call(n,u,c):u(n)):c(r)}catch(t){f&&!a&&f.exit(),c(t)}};n.length>i;)a(n[i++]);t._c=[],t._n=!1,e&&!t._h&&N(t)})}},N=function(t){y.call(u,function(){var e,n,r,o=t._v,i=R(t);if(i&&(e=_(function(){k?E.emit("unhandledRejection",o,t):(n=u.onunhandledrejection)?n({promise:t,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=k||R(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},R=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){y.call(u,function(){var e;k?E.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},q=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),P(e,!0))},U=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw O("Promise can't be resolved itself");(e=$(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,c(U,r,1),c(q,r,1))}catch(t){q.call(r,t)}}):(n._v=t,n._s=1,P(n,!1))}catch(t){q.call({_w:n,_d:!1},t)}}};M||(S=function(t){h(this,S,"Promise","_h"),d(t),r.call(this);try{t(c(U,this,1),c(q,this,1))}catch(t){q.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n("XJU/")(S.prototype,{then:function(t,e){var n=T(m(this,S));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=k?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&P(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=c(U,t,1),this.reject=c(q,t,1)},b.f=T=function(t){return t===S||t===a?new i(t):o(t)}),l(l.G+l.W+l.F*!M,{Promise:S}),n("RfKB")(S,"Promise"),n("TJWN")("Promise"),a=n("WEpk").Promise,l(l.S+l.F*!M,"Promise",{reject:function(t){var e=T(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(s||!M),"Promise",{resolve:function(t){return x(s&&this===a?S:this,t)}}),l(l.S+l.F*!(M&&n("TuGD")(function(t){S.all(t).catch(j)})),"Promise",{all:function(t){var e=this,n=T(e),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,a=1;v(t,!1,function(t){var s=i++,u=!1;n.push(void 0),a++,e.resolve(t).then(function(t){u||(u=!0,n[s]=t,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=T(e),r=n.reject,o=_(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},Jes0:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"KHd+":function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=u):o&&(u=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(c.functional){c._injectStyles=u;var f=c.render;c.render=function(t,e){return u.call(e),f(t,e)}}else{var l=c.beforeCreate;c.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:c}}n.d(e,"a",function(){return r})},KUxP:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},Kw5r:function(t,e,n){"use strict";n.r(e),function(t){ -/*! - * Vue.js v2.5.17 - * (c) 2014-2018 Evan You - * Released under the MIT License. - */ -var n=Object.freeze({});function r(t){return void 0===t||null===t}function o(t){return void 0!==t&&null!==t}function i(t){return!0===t}function a(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function s(t){return null!==t&&"object"==typeof t}var u=Object.prototype.toString;function c(t){return"[object Object]"===u.call(t)}function f(t){return"[object RegExp]"===u.call(t)}function l(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function d(t){var e=parseFloat(t);return isNaN(e)?t:e}function h(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function g(t,e){return y.call(t,e)}function b(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var _=/-(\w)/g,w=b(function(t){return t.replace(_,function(t,e){return e?e.toUpperCase():""})}),x=b(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),O=/\B([A-Z])/g,E=b(function(t){return t.replace(O,"-$1").toLowerCase()});var A=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function C(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function S(t,e){for(var n in e)t[n]=e[n];return t}function k(t){for(var e={},n=0;n0,K=G&&G.indexOf("edge/")>0,Y=(G&&G.indexOf("android"),G&&/iphone|ipad|ipod|ios/.test(G)||"ios"===z),Z=(G&&/chrome\/\d+/.test(G),{}.watch),Q=!1;if(W)try{var tt={};Object.defineProperty(tt,"passive",{get:function(){Q=!0}}),window.addEventListener("test-passive",null,tt)}catch(t){}var et=function(){return void 0===B&&(B=!W&&!H&&void 0!==t&&"server"===t.process.env.VUE_ENV),B},nt=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function rt(t){return"function"==typeof t&&/native code/.test(t.toString())}var ot,it="undefined"!=typeof Symbol&&rt(Symbol)&&"undefined"!=typeof Reflect&&rt(Reflect.ownKeys);ot="undefined"!=typeof Set&&rt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var at=j,st=0,ut=function(){this.id=st++,this.subs=[]};ut.prototype.addSub=function(t){this.subs.push(t)},ut.prototype.removeSub=function(t){m(this.subs,t)},ut.prototype.depend=function(){ut.target&&ut.target.addDep(this)},ut.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(i&&!g(o,"default"))a=!1;else if(""===a||a===E(t)){var u=Ft(String,o.type);(u<0||s0&&(ce((c=t(c,(n||"")+"_"+u))[0])&&ce(l)&&(s[f]=vt(l.text+c[0].text),c.shift()),s.push.apply(s,c)):a(c)?ce(l)?s[f]=vt(l.text+c):""!==c&&s.push(vt(c)):ce(c)&&ce(l)?s[f]=vt(l.text+c.text):(i(e._isVList)&&o(c.tag)&&r(c.key)&&o(n)&&(c.key="__vlist"+n+"_"+u+"__"),s.push(c)));return s}(t):void 0}function ce(t){return o(t)&&o(t.text)&&function(t){return!1===t}(t.isComment)}function fe(t,e){return(t.__esModule||it&&"Module"===t[Symbol.toStringTag])&&(t=t.default),s(t)?e.extend(t):t}function le(t){return t.isComment&&t.asyncFactory}function pe(t){if(Array.isArray(t))for(var e=0;eke&&Oe[n].id>t.id;)n--;Oe.splice(n+1,0,t)}else Oe.push(t);Ce||(Ce=!0,Qt(je))}}(this)},Me.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||s(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){It(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Me.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Me.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Me.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var $e={enumerable:!0,configurable:!0,get:j,set:j};function Pe(t,e,n){$e.get=function(){return this[e][n]},$e.set=function(t){this[e][n]=t},Object.defineProperty(t,n,$e)}function Ne(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];t.$parent&&wt(!1);var i=function(i){o.push(i);var a=qt(i,e,n,t);Ct(r,i,a),i in t||Pe(t,"_props",i)};for(var a in e)i(a);wt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?j:A(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;c(e=t._data="function"==typeof e?function(t,e){ft();try{return t.call(e,e)}catch(t){return It(t,e,"data()"),{}}finally{lt()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);for(;o--;){var i=n[o];0,r&&g(r,i)||D(i)||Pe(t,"_data",i)}At(e,!0)}(t):At(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=et();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;0,r||(n[o]=new Me(t,a||j,j,Re)),o in t||Le(t,o,i)}}(t,e.computed),e.watch&&e.watch!==Z&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o=0||n.indexOf(t[o])<0)&&r.push(t[o]);return r}return t}function ln(t){this._init(t)}function pn(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=t.name||n.options.name;var a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Rt(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)Pe(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)Le(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,L.forEach(function(t){a[t]=n[t]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=S({},a.options),o[r]=a,a}}function dn(t){return t&&(t.Ctor.options.name||t.tag)}function hn(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function vn(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=dn(a.componentOptions);s&&!e(s)&&mn(n,i,r,o)}}}function mn(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,m(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=un++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r,n._parentElm=e._parentElm,n._refElm=e._refElm;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Rt(cn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&ve(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,o=r&&r.context;t.$slots=me(e._renderChildren,o),t.$scopedSlots=n,t._c=function(e,n,r,o){return sn(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return sn(t,e,n,r,o,!0)};var i=r&&r.data;Ct(t,"$attrs",i&&i.attrs||n,null,!0),Ct(t,"$listeners",e._parentListeners||n,null,!0)}(e),xe(e,"beforeCreate"),function(t){var e=De(t.$options.inject,t);e&&(wt(!1),Object.keys(e).forEach(function(n){Ct(t,n,e[n])}),wt(!0))}(e),Ne(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),xe(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(ln),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=St,t.prototype.$delete=kt,t.prototype.$watch=function(t,e,n){if(c(e))return Ue(this,t,e,n);(n=n||{}).user=!0;var r=new Me(this,t,e,n);return n.immediate&&e.call(this,r.value),function(){r.teardown()}}}(ln),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){if(Array.isArray(t))for(var r=0,o=t.length;r1?C(e):e;for(var n=C(arguments,1),r=0,o=e.length;rparseInt(this.max)&&mn(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return U}};Object.defineProperty(t,"config",e),t.util={warn:at,extend:S,mergeOptions:Rt,defineReactive:Ct},t.set=St,t.delete=kt,t.nextTick=Qt,t.options=Object.create(null),L.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,S(t.options.components,gn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=C(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Rt(this.options,t),this}}(t),pn(t),function(t){L.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&c(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(ln),Object.defineProperty(ln.prototype,"$isServer",{get:et}),Object.defineProperty(ln.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ln,"FunctionalRenderContext",{value:Ze}),ln.version="2.5.17";var bn=h("style,class"),_n=h("input,textarea,option,select,progress"),wn=h("contenteditable,draggable,spellcheck"),xn=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),On="http://www.w3.org/1999/xlink",En=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},An=function(t){return En(t)?t.slice(6,t.length):""},Cn=function(t){return null==t||!1===t};function Sn(t){for(var e=t.data,n=t,r=t;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=kn(r.data,e));for(;o(n=n.parent);)n&&n.data&&(e=kn(e,n.data));return function(t,e){if(o(t)||o(e))return jn(t,Tn(e));return""}(e.staticClass,e.class)}function kn(t,e){return{staticClass:jn(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function jn(t,e){return t?e?t+" "+e:t:e||""}function Tn(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,i=t.length;r-1?Qn(t,e,n):xn(e)?Cn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):wn(e)?t.setAttribute(e,Cn(n)||"false"===n?"false":"true"):En(e)?Cn(n)?t.removeAttributeNS(On,An(e)):t.setAttributeNS(On,e,n):Qn(t,e,n)}function Qn(t,e,n){if(Cn(n))t.removeAttribute(e);else{if(J&&!X&&"TEXTAREA"===t.tagName&&"placeholder"===e&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var tr={create:Yn,update:Yn};function er(t,e){var n=e.elm,i=e.data,a=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Sn(e),u=n._transitionClasses;o(u)&&(s=jn(s,Tn(u))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var nr,rr={create:er,update:er},or="__r",ir="__c";function ar(t,e,n,r,o){e=function(t){return t._withTask||(t._withTask=function(){Xt=!0;var e=t.apply(null,arguments);return Xt=!1,e})}(e),n&&(e=function(t,e,n){var r=nr;return function o(){null!==t.apply(null,arguments)&&sr(e,o,n,r)}}(e,t,r)),nr.addEventListener(t,e,Q?{capture:r,passive:o}:r)}function sr(t,e,n,r){(r||nr).removeEventListener(t,e._withTask||e,n)}function ur(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};nr=e.elm,function(t){if(o(t[or])){var e=J?"change":"input";t[e]=[].concat(t[or],t[e]||[]),delete t[or]}o(t[ir])&&(t.change=[].concat(t[ir],t.change||[]),delete t[ir])}(n),ie(n,i,ar,sr,e.context),nr=void 0}}var cr={create:ur,update:ur};function fr(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,a=e.elm,s=t.data.domProps||{},u=e.data.domProps||{};for(n in o(u.__ob__)&&(u=e.data.domProps=S({},u)),s)r(u[n])&&(a[n]="");for(n in u){if(i=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=i;var c=r(i)?"":String(i);lr(a,c)&&(a.value=c)}else a[n]=i}}}function lr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(o(r)){if(r.lazy)return!1;if(r.number)return d(n)!==d(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var pr={create:fr,update:fr},dr=b(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function hr(t){var e=vr(t.style);return t.staticStyle?S(t.staticStyle,e):e}function vr(t){return Array.isArray(t)?k(t):"string"==typeof t?dr(t):t}var mr,yr=/^--/,gr=/\s*!important$/,br=function(t,e,n){if(yr.test(e))t.style.setProperty(e,n);else if(gr.test(n))t.style.setProperty(e,n.replace(gr,""),"important");else{var r=wr(e);if(Array.isArray(n))for(var o=0,i=n.length;o-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Ar(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Cr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&S(e,Sr(t.name||"v")),S(e,t),e}return"string"==typeof t?Sr(t):void 0}}var Sr=b(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),kr=W&&!X,jr="transition",Tr="animation",Mr="transition",$r="transitionend",Pr="animation",Nr="animationend";kr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Mr="WebkitTransition",$r="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Pr="WebkitAnimation",Nr="webkitAnimationEnd"));var Rr=W?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Lr(t){Rr(function(){Rr(t)})}function qr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Er(t,e))}function Ur(t,e){t._transitionClasses&&m(t._transitionClasses,e),Ar(t,e)}function Dr(t,e,n){var r=Ir(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===jr?$r:Nr,u=0,c=function(){t.removeEventListener(s,f),n()},f=function(e){e.target===t&&++u>=a&&c()};setTimeout(function(){u0&&(n=jr,f=a,l=i.length):e===Tr?c>0&&(n=Tr,f=c,l=u.length):l=(n=(f=Math.max(a,c))>0?a>c?jr:Tr:null)?n===jr?i.length:u.length:0,{type:n,timeout:f,propCount:l,hasTransform:n===jr&&Fr.test(r[Mr+"Property"])}}function Br(t,e){for(;t.length1}function Jr(t,e){!0!==e.data.show&&Wr(e)}var Xr=function(t){var e,n,s={},u=t.modules,c=t.nodeOps;for(e=0;eh?b(t,r(n[y+1])?null:n[y+1].elm,n,d,y,i):d>y&&w(0,e,p,h)}(u,d,h,n,a):o(h)?(o(t.text)&&c.setTextContent(u,""),b(u,null,h,0,h.length-1,n)):o(d)?w(0,d,0,d.length-1):o(t.text)&&c.setTextContent(u,""):t.text!==e.text&&c.setTextContent(u,e.text),o(p)&&o(f=p.hook)&&o(f=f.postpatch)&&f(t,e)}}}function A(t,e,n){if(i(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r-1,a.selected!==i&&(a.selected=i);else if($(to(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Qr(t,e){return e.every(function(e){return!$(e,t)})}function to(t){return"_value"in t?t._value:t.value}function eo(t){t.target.composing=!0}function no(t){t.target.composing&&(t.target.composing=!1,ro(t.target,"input"))}function ro(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function oo(t){return!t.componentInstance||t.data&&t.data.transition?t:oo(t.componentInstance._vnode)}var io={model:Kr,show:{bind:function(t,e,n){var r=e.value,o=(n=oo(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,Wr(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=oo(n)).data&&n.data.transition?(n.data.show=!0,r?Wr(n,function(){t.style.display=t.__vOriginalDisplay}):Hr(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}}},ao={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function so(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?so(pe(e.children)):t}function uo(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[w(i)]=o[i];return e}function co(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var fo={name:"transition",props:ao,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(function(t){return t.tag||le(t)})).length){0;var r=this.mode;0;var o=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var i=so(o);if(!i)return o;if(this._leaving)return co(t,o);var s="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?s+"comment":s+i.tag:a(i.key)?0===String(i.key).indexOf(s)?i.key:s+i.key:i.key;var u=(i.data||(i.data={})).transition=uo(this),c=this._vnode,f=so(c);if(i.data.directives&&i.data.directives.some(function(t){return"show"===t.name})&&(i.data.show=!0),f&&f.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(i,f)&&!le(f)&&(!f.componentInstance||!f.componentInstance._vnode.isComment)){var l=f.data.transition=S({},u);if("out-in"===r)return this._leaving=!0,ae(l,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),co(t,o);if("in-out"===r){if(le(i))return c;var p,d=function(){p()};ae(u,"afterEnter",d),ae(u,"enterCancelled",d),ae(l,"delayLeave",function(t){p=t})}}return o}}},lo=S({tag:String,moveClass:String},ao);function po(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ho(t){t.data.newPos=t.elm.getBoundingClientRect()}function vo(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete lo.mode;var mo={Transition:fo,TransitionGroup:{props:lo,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=uo(this),s=0;s-1?Rn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Rn[t]=/HTMLUnknownElement/.test(e.toString())},S(ln.options.directives,io),S(ln.options.components,mo),ln.prototype.__patch__=W?Xr:j,ln.prototype.$mount=function(t,e){return function(t,e,n){return t.$el=e,t.$options.render||(t.$options.render=ht),xe(t,"beforeMount"),new Me(t,function(){t._update(t._render(),n)},j,null,!0),n=!1,null==t.$vnode&&(t._isMounted=!0,xe(t,"mounted")),t}(this,t=t&&W?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},W&&setTimeout(function(){U.devtools&&nt&&nt.emit("init",ln)},0),e.default=ln}.call(this,n("yLpj"))},L2JU:function(t,e,n){"use strict";n.d(e,"b",function(){return w}); -/** - * vuex v3.0.1 - * (c) 2017 Evan You - * @license MIT - */ -var r=function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}},o="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}var a=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},s={namespaced:{configurable:!0}};s.namespaced.get=function(){return!!this._rawModule.namespaced},a.prototype.addChild=function(t,e){this._children[t]=e},a.prototype.removeChild=function(t){delete this._children[t]},a.prototype.getChild=function(t){return this._children[t]},a.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},a.prototype.forEachChild=function(t){i(this._children,t)},a.prototype.forEachGetter=function(t){this._rawModule.getters&&i(this._rawModule.getters,t)},a.prototype.forEachAction=function(t){this._rawModule.actions&&i(this._rawModule.actions,t)},a.prototype.forEachMutation=function(t){this._rawModule.mutations&&i(this._rawModule.mutations,t)},Object.defineProperties(a.prototype,s);var u=function(t){this.register([],t,!1)};u.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},u.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")},"")},u.prototype.update=function(t){!function t(e,n,r){0;n.update(r);if(r.modules)for(var o in r.modules){if(!n.getChild(o))return void 0;t(e.concat(o),n.getChild(o),r.modules[o])}}([],this.root,t)},u.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new a(e,n);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o);e.modules&&i(e.modules,function(e,o){r.register(t.concat(o),e,n)})},u.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var c;var f=function(t){var e=this;void 0===t&&(t={}),!c&&"undefined"!=typeof window&&window.Vue&&g(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1);var i=t.state;void 0===i&&(i={}),"function"==typeof i&&(i=i()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new u(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new c;var a=this,s=this.dispatch,f=this.commit;this.dispatch=function(t,e){return s.call(a,t,e)},this.commit=function(t,e,n){return f.call(a,t,e,n)},this.strict=r,v(this,i,[],this._modules.root),h(this,i),n.forEach(function(t){return t(e)}),c.config.devtools&&function(t){o&&(t._devtoolHook=o,o.emit("vuex:init",t),o.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){o.emit("vuex:mutation",t,e)}))}(this)},l={state:{configurable:!0}};function p(t,e){return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function d(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;v(t,n,[],t._modules.root,!0),h(t,n,e)}function h(t,e,n){var r=t._vm;t.getters={};var o={};i(t._wrappedGetters,function(e,n){o[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var a=c.config.silent;c.config.silent=!0,t._vm=new c({data:{$$state:e},computed:o}),c.config.silent=a,t.strict&&function(t){t._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}(t),r&&(n&&t._withCommit(function(){r._data.$$state=null}),c.nextTick(function(){return r.$destroy()}))}function v(t,e,n,r,o){var i=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a]=r),!i&&!o){var s=m(e,n.slice(0,-1)),u=n[n.length-1];t._withCommit(function(){c.set(s,u,r.state)})}var f=r.context=function(t,e,n){var r=""===e,o={dispatch:r?t.dispatch:function(n,r,o){var i=y(n,r,o),a=i.payload,s=i.options,u=i.type;return s&&s.root||(u=e+u),t.dispatch(u,a)},commit:r?t.commit:function(n,r,o){var i=y(n,r,o),a=i.payload,s=i.options,u=i.type;s&&s.root||(u=e+u),t.commit(u,a,s)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return function(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach(function(o){if(o.slice(0,r)===e){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[o]},enumerable:!0})}}),n}(t,e)}},state:{get:function(){return m(t.state,n)}}}),o}(t,a,n);r.forEachMutation(function(e,n){!function(t,e,n,r){(t._mutations[e]||(t._mutations[e]=[])).push(function(e){n.call(t,r.state,e)})}(t,a+n,e,f)}),r.forEachAction(function(e,n){var r=e.root?n:a+n,o=e.handler||e;!function(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push(function(e,o){var i=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e,o);return function(t){return t&&"function"==typeof t.then}(i)||(i=Promise.resolve(i)),t._devtoolHook?i.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):i})}(t,r,o,f)}),r.forEachGetter(function(e,n){!function(t,e,n,r){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)}}(t,a+n,e,f)}),r.forEachChild(function(r,i){v(t,e,n.concat(i),r,o)})}function m(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function y(t,e,n){return function(t){return null!==t&&"object"==typeof t}(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function g(t){c&&t===c||r(c=t)}l.state.get=function(){return this._vm._data.$$state},l.state.set=function(t){0},f.prototype.commit=function(t,e,n){var r=this,o=y(t,e,n),i=o.type,a=o.payload,s=(o.options,{type:i,payload:a}),u=this._mutations[i];u&&(this._withCommit(function(){u.forEach(function(t){t(a)})}),this._subscribers.forEach(function(t){return t(s,r.state)}))},f.prototype.dispatch=function(t,e){var n=this,r=y(t,e),o=r.type,i=r.payload,a={type:o,payload:i},s=this._actions[o];if(s)return this._actionSubscribers.forEach(function(t){return t(a,n.state)}),s.length>1?Promise.all(s.map(function(t){return t(i)})):s[0](i)},f.prototype.subscribe=function(t){return p(t,this._subscribers)},f.prototype.subscribeAction=function(t){return p(t,this._actionSubscribers)},f.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},f.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},f.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),v(this,this.state,t,this._modules.get(t),n.preserveState),h(this,this.state)},f.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=m(e.state,t.slice(0,-1));c.delete(n,t[t.length-1])}),d(this)},f.prototype.hotUpdate=function(t){this._modules.update(t),d(this,!0)},f.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(f.prototype,l);var b=E(function(t,e){var n={};return O(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=A(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0}),n}),_=E(function(t,e){var n={};return O(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var i=A(this.$store,"mapMutations",t);if(!i)return;r=i.context.commit}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n}),w=E(function(t,e){var n={};return O(e).forEach(function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||A(this.$store,"mapGetters",t))return this.$store.getters[o]},n[r].vuex=!0}),n}),x=E(function(t,e){var n={};return O(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var i=A(this.$store,"mapActions",t);if(!i)return;r=i.context.dispatch}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n});function O(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function E(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function A(t,e,n){return t._modulesNamespaceMap[n]}var C={Store:f,install:g,version:"3.0.1",mapState:b,mapMutations:_,mapGetters:w,mapActions:x,createNamespacedHelpers:function(t){return{mapState:b.bind(null,t),mapGetters:w.bind(null,t),mapMutations:_.bind(null,t),mapActions:x.bind(null,t)}}};e.a=C},LYNF:function(t,e,n){"use strict";var r=n("OH9c");t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},Lmem:function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},M1xp:function(t,e,n){var r=n("a0xu");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},MCSJ:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},MLWZ:function(t,e,n){"use strict";var r=n("xTJ+");function o(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,function(t,e){null!==t&&void 0!==t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))}))}),i=a.join("&")}return i&&(t+=(-1===t.indexOf("?")?"?":"&")+i),t}},MPFp:function(t,e,n){"use strict";var r=n("uOPS"),o=n("Y7ZC"),i=n("kTiW"),a=n("NegM"),s=n("SBuE"),u=n("j2DC"),c=n("RfKB"),f=n("U+KD"),l=n("UWiX")("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,h,v,m,y){u(n,e,h);var g,b,_,w=function(t){if(!p&&t in A)return A[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",O="values"==v,E=!1,A=t.prototype,C=A[l]||A["@@iterator"]||v&&A[v],S=C||w(v),k=v?O?w("entries"):S:void 0,j="Array"==e&&A.entries||C;if(j&&(_=f(j.call(new t)))!==Object.prototype&&_.next&&(c(_,x,!0),r||"function"==typeof _[l]||a(_,l,d)),O&&C&&"values"!==C.name&&(E=!0,S=function(){return C.call(this)}),r&&!y||!p&&!E&&A[l]||a(A,l,S),s[e]=S,s[x]=d,v)if(g={values:O?S:w("values"),keys:m?S:w("keys"),entries:k},y)for(b in g)b in A||i(A,b,g[b]);else o(o.P+o.F*(p||E),e,g);return g}},Mj6V:function(t,e,n){var r,o; -/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress - * @license MIT */void 0===(o="function"==typeof(r=function(){var t={version:"0.2.0"},e=t.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
    '};function n(t,e,n){return tn?n:t}function r(t){return 100*(-1+t)}t.configure=function(t){var n,r;for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&(e[n]=r);return this},t.status=null,t.set=function(a){var s=t.isStarted();a=n(a,e.minimum,1),t.status=1===a?null:a;var u=t.render(!s),c=u.querySelector(e.barSelector),f=e.speed,l=e.easing;return u.offsetWidth,o(function(n){""===e.positionUsing&&(e.positionUsing=t.getPositioningCSS()),i(c,function(t,n,o){var i;return(i="translate3d"===e.positionUsing?{transform:"translate3d("+r(t)+"%,0,0)"}:"translate"===e.positionUsing?{transform:"translate("+r(t)+"%,0)"}:{"margin-left":r(t)+"%"}).transition="all "+n+"ms "+o,i}(a,f,l)),1===a?(i(u,{transition:"none",opacity:1}),u.offsetWidth,setTimeout(function(){i(u,{transition:"all "+f+"ms linear",opacity:0}),setTimeout(function(){t.remove(),n()},f)},f)):setTimeout(n,f)}),this},t.isStarted=function(){return"number"==typeof t.status},t.start=function(){t.status||t.set(0);var n=function(){setTimeout(function(){t.status&&(t.trickle(),n())},e.trickleSpeed)};return e.trickle&&n(),this},t.done=function(e){return e||t.status?t.inc(.3+.5*Math.random()).set(1):this},t.inc=function(e){var r=t.status;return r?("number"!=typeof e&&(e=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+e,0,.994),t.set(r)):t.start()},t.trickle=function(){return t.inc(Math.random()*e.trickleRate)},function(){var e=0,n=0;t.promise=function(r){return r&&"resolved"!==r.state()?(0===n&&t.start(),e++,n++,r.always(function(){0==--n?(e=0,t.done()):t.set((e-n)/e)}),this):this}}(),t.render=function(n){if(t.isRendered())return document.getElementById("nprogress");s(document.documentElement,"nprogress-busy");var o=document.createElement("div");o.id="nprogress",o.innerHTML=e.template;var a,u=o.querySelector(e.barSelector),c=n?"-100":r(t.status||0),l=document.querySelector(e.parent);return i(u,{transition:"all 0 linear",transform:"translate3d("+c+"%,0,0)"}),e.showSpinner||(a=o.querySelector(e.spinnerSelector))&&f(a),l!=document.body&&s(l,"nprogress-custom-parent"),l.appendChild(o),o},t.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(e.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&f(t)},t.isRendered=function(){return!!document.getElementById("nprogress")},t.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"};var o=function(){var t=[];function e(){var n=t.shift();n&&n(e)}return function(n){t.push(n),1==t.length&&e()}}(),i=function(){var t=["Webkit","O","Moz","ms"],e={};function n(n){return n=function(t){return t.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(t,e){return e.toUpperCase()})}(n),e[n]||(e[n]=function(e){var n=document.body.style;if(e in n)return e;for(var r,o=t.length,i=e.charAt(0).toUpperCase()+e.slice(1);o--;)if((r=t[o]+i)in n)return r;return e}(n))}function r(t,e,r){e=n(e),t.style[e]=r}return function(t,e){var n,o,i=arguments;if(2==i.length)for(n in e)void 0!==(o=e[n])&&e.hasOwnProperty(n)&&r(t,n,o);else r(t,i[1],i[2])}}();function a(t,e){var n="string"==typeof t?t:c(t);return n.indexOf(" "+e+" ")>=0}function s(t,e){var n=c(t),r=n+e;a(n,e)||(t.className=r.substring(1))}function u(t,e){var n,r=c(t);a(t,e)&&(n=r.replace(" "+e+" "," "),t.className=n.substring(1,n.length-1))}function c(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function f(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return t})?r.call(e,n,e,t):r)||(t.exports=o)},MvwC:function(t,e,n){var r=n("5T2Y").document;t.exports=r&&r.documentElement},NV0k:function(t,e){e.f={}.propertyIsEnumerable},NegM:function(t,e,n){var r=n("2faE"),o=n("rr1i");t.exports=n("jmDH")?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},"NsO/":function(t,e,n){var r=n("M1xp"),o=n("Jes0");t.exports=function(t){return r(o(t))}},NwJ3:function(t,e,n){var r=n("SBuE"),o=n("UWiX")("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},OH9c:function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t}},OTTw:function(t,e,n){"use strict";var r=n("xTJ+");t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},Ojgd:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},P2sY:function(t,e,n){t.exports={default:n("UbbE"),__esModule:!0}},PBE1:function(t,e,n){"use strict";var r=n("Y7ZC"),o=n("WEpk"),i=n("5T2Y"),a=n("8gHz"),s=n("zXhZ");r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},PE4B:function(t,e,n){"use strict";var r=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===o}(t)}(t)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(t,e){return e&&!0===e.clone&&r(t)?s(function(t){return Array.isArray(t)?[]:{}}(t),t,e):t}function a(t,e,n){var o=t.slice();return e.forEach(function(e,a){void 0===o[a]?o[a]=i(e,n):r(e)?o[a]=s(t[a],e,n):-1===t.indexOf(e)&&o.push(i(e,n))}),o}function s(t,e,n){var o=Array.isArray(e);return o===Array.isArray(t)?o?((n||{arrayMerge:a}).arrayMerge||a)(t,e,n):function(t,e,n){var o={};return r(t)&&Object.keys(t).forEach(function(e){o[e]=i(t[e],n)}),Object.keys(e).forEach(function(a){r(e[a])&&t[a]?o[a]=s(t[a],e[a],n):o[a]=i(e[a],n)}),o}(t,e,n):i(e,n)}s.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce(function(t,n){return s(t,n,e)})};var u=s;t.exports=u},"Q/yX":function(t,e,n){"use strict";var r=n("Y7ZC"),o=n("ZW5q"),i=n("RDmV");r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},QMMT:function(t,e,n){var r=n("a0xu"),o=n("UWiX")("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},QXhf:function(t,e,n){var r,o,i,a=n("2GTP"),s=n("MCSJ"),u=n("MvwC"),c=n("Hsns"),f=n("5T2Y"),l=f.process,p=f.setImmediate,d=f.clearImmediate,h=f.MessageChannel,v=f.Dispatch,m=0,y={},g=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},b=function(t){g.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++m]=function(){s("function"==typeof t?t:Function(t),e)},r(m),m},d=function(t){delete y[t]},"process"==n("a0xu")(l)?r=function(t){l.nextTick(a(g,t,1))}:v&&v.now?r=function(t){v.now(a(g,t,1))}:h?(i=(o=new h).port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",b,!1)):r="onreadystatechange"in c("script")?function(t){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:p,clear:d}},QbLZ:function(t,e,n){"use strict";e.__esModule=!0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n("P2sY"));e.default=r.default||function(t){for(var e=1;ec;)u.call(t,a=s[c++])&&e.push(a);return e}},RDmV:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},RfKB:function(t,e,n){var r=n("2faE").f,o=n("B+OT"),i=n("UWiX")("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},"Rn+g":function(t,e,n){"use strict";var r=n("LYNF");t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},SBuE:function(t,e){t.exports={}},TJWN:function(t,e,n){"use strict";var r=n("5T2Y"),o=n("WEpk"),i=n("2faE"),a=n("jmDH"),s=n("UWiX")("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];a&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},TuGD:function(t,e,n){var r=n("UWiX")("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},"U+KD":function(t,e,n){var r=n("B+OT"),o=n("JB68"),i=n("VVlx")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},UO39:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},UWiX:function(t,e,n){var r=n("29s/")("wks"),o=n("YqAc"),i=n("5T2Y").Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},UbbE:function(t,e,n){n("o8NH"),t.exports=n("WEpk").Object.assign},UnBK:function(t,e,n){"use strict";var r=n("xTJ+"),o=n("xAGQ"),i=n("Lmem"),a=n("JEQr"),s=n("2SVd"),u=n("5oMp");function c(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return c(t),t.baseURL&&!s(t.url)&&(t.url=u(t.baseURL,t.url)),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return c(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return i(e)||(c(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},VVlx:function(t,e,n){var r=n("29s/")("keys"),o=n("YqAc");t.exports=function(t){return r[t]||(r[t]=o(t))}},W070:function(t,e,n){var r=n("NsO/"),o=n("tEej"),i=n("D8kY");t.exports=function(t){return function(e,n,a){var s,u=r(e),c=o(u.length),f=i(a,c);if(t&&n!=n){for(;c>f;)if((s=u[f++])!=s)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},WEpk:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"WX/U":function(t,e){t.exports=function(t,e,n,r){var o,i=0;return"boolean"!=typeof e&&(r=n,n=e,e=void 0),function(){var a=this,s=Number(new Date)-i,u=arguments;function c(){i=Number(new Date),n.apply(a,u)}r&&!o&&c(),o&&clearTimeout(o),void 0===r&&s>t?c():!0!==e&&(o=setTimeout(r?function(){o=void 0}:c,void 0===r?t-s:t))}}},"XJU/":function(t,e,n){var r=n("NegM");t.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},Y7ZC:function(t,e,n){var r=n("5T2Y"),o=n("WEpk"),i=n("2GTP"),a=n("NegM"),s=n("B+OT"),u=function(t,e,n){var c,f,l,p=t&u.F,d=t&u.G,h=t&u.S,v=t&u.P,m=t&u.B,y=t&u.W,g=d?o:o[e]||(o[e]={}),b=g.prototype,_=d?r:h?r[e]:(r[e]||{}).prototype;for(c in d&&(n=e),n)(f=!p&&_&&void 0!==_[c])&&s(g,c)||(l=f?_[c]:n[c],g[c]=d&&"function"!=typeof _[c]?n[c]:m&&f?i(l,r):y&&_[c]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((g.virtual||(g.virtual={}))[c]=l,t&u.R&&b&&!b[c]&&a(b,c,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},YqAc:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},ZW5q:function(t,e,n){"use strict";var r=n("eaoh");t.exports.f=function(t){return new function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}(t)}},Zxgi:function(t,e,n){var r=n("5T2Y"),o=n("WEpk"),i=n("uOPS"),a=n("zLkG"),s=n("2faE").f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},a0xu:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},aW7e:function(t,e,n){n("wgeU"),n("FlQf"),n("bBy9"),n("JMW+"),n("PBE1"),n("Q/yX"),t.exports=n("WEpk").Promise},adOz:function(t,e,n){n("Zxgi")("asyncIterator")},"ar/p":function(t,e,n){var r=n("5vMV"),o=n("FpHa").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},bBy9:function(t,e,n){n("w2d+");for(var r=n("5T2Y"),o=n("NegM"),i=n("SBuE"),a=n("UWiX")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;u.some(function(t){return!!~n.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var n=0,r=Object.keys(e);n0},t}(),O="undefined"!=typeof WeakMap?new WeakMap:new n,E=function(){return function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=f.getInstance(),r=new x(e,n,this);O.set(this,r)}}();["observe","unobserve","disconnect"].forEach(function(t){E.prototype[t]=function(){var e;return(e=O.get(this))[t].apply(e,arguments)}});var A=void 0!==o.ResizeObserver?o.ResizeObserver:E;e.default=A}.call(this,n("yLpj"))},ccE7:function(t,e,n){var r=n("Ojgd"),o=n("Jes0");t.exports=function(t){return function(e,n){var i,a,s=String(o(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(i=s.charCodeAt(u))<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):i:t?s.slice(u,u+2):a-56320+(i-55296<<10)+65536}}},dl0q:function(t,e,n){n("Zxgi")("observable")},eUtF:function(t,e,n){t.exports=!n("jmDH")&&!n("KUxP")(function(){return 7!=Object.defineProperty(n("Hsns")("div"),"a",{get:function(){return 7}}).a})},eaoh:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},endd:function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},eqyj:function(t,e,n){"use strict";var r=n("xTJ+");t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},ez49:function(t,e,n){"use strict";var r,o=n("o97j");o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")) -/** - * Checks if an event is supported in the current execution environment. - * - * NOTE: This will not work correctly for non-generic events such as `change`, - * `reset`, `load`, `error`, and `select`. - * - * Borrows from Modernizr. - * - * @param {string} eventNameSuffix Event name, e.g. "click". - * @param {?boolean} capture Check if the capture phase is supported. - * @return {boolean} True if the event is supported. - * @internal - * @license Modernizr 3.0.0pre (Custom Build) | MIT - */,t.exports=function(t,e){if(!o.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,i=n in document;if(!i){var a=document.createElement("div");a.setAttribute(n,"return;"),i="function"==typeof a[n]}return!i&&r&&"wheel"===t&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},fNZA:function(t,e,n){var r=n("QMMT"),o=n("UWiX")("iterator"),i=n("SBuE");t.exports=n("WEpk").getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},fpC5:function(t,e,n){var r=n("2faE"),o=n("5K7Z"),i=n("w6GO");t.exports=n("jmDH")?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,u=0;s>u;)r.f(t,n=a[u++],e[n]);return t}},hDam:function(t,e){t.exports=function(){}},j2DC:function(t,e,n){"use strict";var r=n("oVml"),o=n("rr1i"),i=n("RfKB"),a={};n("NegM")(a,n("UWiX")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},jE9Z:function(t,e,n){"use strict"; -/** - * vue-router v3.0.1 - * (c) 2017 Evan You - * @license MIT - */function r(t,e){0}function o(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}var i={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,o=e.parent,i=e.data;i.routerView=!0;for(var a=o.$createElement,s=n.name,u=o.$route,c=o._routerViewCache||(o._routerViewCache={}),f=0,l=!1;o&&o._routerRoot!==o;)o.$vnode&&o.$vnode.data.routerView&&f++,o._inactive&&(l=!0),o=o.$parent;if(i.routerViewDepth=f,l)return a(c[s],i,r);var p=u.matched[f];if(!p)return c[s]=null,a();var d=c[s]=p.components[s];i.registerRouteInstance=function(t,e){var n=p.instances[s];(e&&n!==t||!e&&n===t)&&(p.instances[s]=e)},(i.hook||(i.hook={})).prepatch=function(t,e){p.instances[s]=e.componentInstance};var h=i.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(u,p.props&&p.props[s]);if(h){h=i.props=function(t,e){for(var n in e)t[n]=e[n];return t}({},h);var v=i.attrs=i.attrs||{};for(var m in h)d.props&&m in d.props||(v[m]=h[m],delete h[m])}return a(d,i,r)}};var a=/[!'()*]/g,s=function(t){return"%"+t.charCodeAt(0).toString(16)},u=/%2C/g,c=function(t){return encodeURIComponent(t).replace(a,s).replace(u,",")},f=decodeURIComponent;function l(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=f(n.shift()),o=n.length>0?f(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]}),e):e}function p(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return c(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push(c(e)):r.push(c(e)+"="+c(t)))}),r.join("&")}return c(e)+"="+c(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}var d=/\/?$/;function h(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=v(i)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:y(e,o),matched:t?function(t){var e=[];for(;t;)e.unshift(t),t=t.parent;return e}(t):[]};return n&&(a.redirectedFrom=y(n,o)),Object.freeze(a)}function v(t){if(Array.isArray(t))return t.map(v);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=v(t[n]);return e}return t}var m=h(null,{path:"/"});function y(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;return void 0===o&&(o=""),(n||"/")+(e||p)(r)+o}function g(t,e){return e===m?t===e:!!e&&(t.path&&e.path?t.path.replace(d,"")===e.path.replace(d,"")&&t.hash===e.hash&&b(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&b(t.query,e.query)&&b(t.params,e.params)))}function b(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){var r=t[n],o=e[n];return"object"==typeof r&&"object"==typeof o?b(r,o):String(r)===String(o)})}var _,w=[String,Object],x=[String,Array],O={name:"router-link",props:{to:{type:w,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:x,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),i=o.location,a=o.route,s=o.href,u={},c=n.options.linkActiveClass,f=n.options.linkExactActiveClass,l=null==c?"router-link-active":c,p=null==f?"router-link-exact-active":f,v=null==this.activeClass?l:this.activeClass,m=null==this.exactActiveClass?p:this.exactActiveClass,y=i.path?h(null,i,null,n):a;u[m]=g(r,y),u[v]=this.exact?u[m]:function(t,e){return 0===t.path.replace(d,"/").indexOf(e.path.replace(d,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,y);var b=function(t){E(t)&&(e.replace?n.replace(i):n.push(i))},w={click:E};Array.isArray(this.event)?this.event.forEach(function(t){w[t]=b}):w[this.event]=b;var x={class:u};if("a"===this.tag)x.on=w,x.attrs={href:s};else{var O=function t(e){if(e)for(var n,r=0;r=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}(o.path||""),u=e&&e.path||"/",c=s.path?S(s.path,u,n||o.append):u,f=function(t,e,n){void 0===e&&(e={});var r,o=n||l;try{r=o(t||"")}catch(t){r={}}for(var i in e)r[i]=e[i];return r}(s.query,o.query,r&&r.options.parseQuery),p=o.hash||s.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:c,query:f,hash:p}}function K(t,e){for(var n in e)t[n]=e[n];return t}function Y(t,e){var n=J(t),r=n.pathList,o=n.pathMap,i=n.nameMap;function a(t,n,a){var s=X(t,n,!1,e),c=s.name;if(c){var f=i[c];if(!f)return u(null,s);var l=f.regex.keys.filter(function(t){return!t.optional}).map(function(t){return t.name});if("object"!=typeof s.params&&(s.params={}),n&&"object"==typeof n.params)for(var p in n.params)!(p in s.params)&&l.indexOf(p)>-1&&(s.params[p]=n.params[p]);if(f)return s.path=G(f.path,s.params),u(f,s,a)}else if(s.path){s.params={};for(var d=0;d=t.length?n():t[o]?e(t[o],function(){r(o+1)}):r(o+1)};r(0)}function vt(t){return function(e,n,r){var i=!1,a=0,s=null;mt(t,function(t,e,n,u){if("function"==typeof t&&void 0===t.cid){i=!0,a++;var c,f=bt(function(e){(function(t){return t.__esModule||gt&&"Module"===t[Symbol.toStringTag]})(e)&&(e=e.default),t.resolved="function"==typeof e?e:_.extend(e),n.components[u]=e,--a<=0&&r()}),l=bt(function(t){var e="Failed to resolve async component "+u+": "+t;s||(s=o(t)?t:new Error(e),r(s))});try{c=t(f,l)}catch(t){l(t)}if(c)if("function"==typeof c.then)c.then(f,l);else{var p=c.component;p&&"function"==typeof p.then&&p.then(f,l)}}}),i||r()}}function mt(t,e){return yt(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function yt(t){return Array.prototype.concat.apply([],t)}var gt="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function bt(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var _t=function(t,e){this.router=t,this.base=function(t){if(!t)if(C){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function wt(t,e,n,r){var o=mt(t,function(t,r,o,i){var a=function(t,e){"function"!=typeof t&&(t=_.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map(function(t){return n(t,r,o,i)}):n(a,r,o,i)});return yt(r?o.reverse():o)}function xt(t,e){if(e)return function(){return t.apply(e,arguments)}}_t.prototype.listen=function(t){this.cb=t},_t.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},_t.prototype.onError=function(t){this.errorCbs.push(t)},_t.prototype.transitionTo=function(t,e,n){var r=this,o=this.router.match(t,this.current);this.confirmTransition(o,function(){r.updateRoute(o),e&&e(o),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(o)}))},function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)}))})},_t.prototype.confirmTransition=function(t,e,n){var i=this,a=this.current,s=function(t){o(t)&&(i.errorCbs.length?i.errorCbs.forEach(function(e){e(t)}):(r(),console.error(t))),n&&n(t)};if(g(t,a)&&t.matched.length===a.matched.length)return this.ensureURL(),s();var u=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n=0?e.slice(0,n):e)+"#"+t}function jt(t){st?pt(kt(t)):window.location.hash=t}function Tt(t){st?dt(kt(t)):window.location.replace(kt(t))}var Mt=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(_t),$t=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Y(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!st&&!1!==t.fallback,this.fallback&&(e="hash"),C||(e="abstract"),this.mode=e,e){case"history":this.history=new Ot(this,t.base);break;case"hash":this.history=new At(this,t.base,this.fallback);break;case"abstract":this.history=new Mt(this,t.base);break;default:0}},Pt={currentRoute:{configurable:!0}};function Nt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}$t.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Pt.currentRoute.get=function(){return this.history&&this.history.current},$t.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof Ot)n.transitionTo(n.getCurrentLocation());else if(n instanceof At){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},$t.prototype.beforeEach=function(t){return Nt(this.beforeHooks,t)},$t.prototype.beforeResolve=function(t){return Nt(this.resolveHooks,t)},$t.prototype.afterEach=function(t){return Nt(this.afterHooks,t)},$t.prototype.onReady=function(t,e){this.history.onReady(t,e)},$t.prototype.onError=function(t){this.history.onError(t)},$t.prototype.push=function(t,e,n){this.history.push(t,e,n)},$t.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},$t.prototype.go=function(t){this.history.go(t)},$t.prototype.back=function(){this.go(-1)},$t.prototype.forward=function(){this.go(1)},$t.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},$t.prototype.resolve=function(t,e,n){var r=X(t,e||this.history.current,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath;return{location:r,route:o,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?k(t+"/"+r):r}(this.history.base,i,this.mode),normalizedTo:r,resolved:o}},$t.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties($t.prototype,Pt),$t.install=A,$t.version="3.0.1",C&&window.Vue&&window.Vue.use($t),e.a=$t},"jfS+":function(t,e,n){"use strict";var r=n("endd");function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new r(t),e(n.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o(function(e){t=e}),cancel:t}},t.exports=o},jmDH:function(t,e,n){t.exports=!n("KUxP")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},jrfk:function(t,e){var n,r,o,i,a,s,u,c,f,l,p,d,h,v,m,y=!1;function g(){if(!y){y=!0;var t=navigator.userAgent,e=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),g=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(d=/\b(iPhone|iP[ao]d)/.exec(t),h=/\b(iP[ao]d)/.exec(t),l=/Android/i.exec(t),v=/FBAN\/\w+;/i.exec(t),m=/Mobile/i.exec(t),p=!!/Win64/.exec(t),e){(n=e[1]?parseFloat(e[1]):e[5]?parseFloat(e[5]):NaN)&&document&&document.documentMode&&(n=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(t);s=b?parseFloat(b[1])+4:n,r=e[2]?parseFloat(e[2]):NaN,o=e[3]?parseFloat(e[3]):NaN,(i=e[4]?parseFloat(e[4]):NaN)?(e=/(?:Chrome\/(\d+\.\d+))/.exec(t),a=e&&e[1]?parseFloat(e[1]):NaN):a=NaN}else n=r=o=a=i=NaN;if(g){if(g[1]){var _=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);u=!_||parseFloat(_[1].replace("_","."))}else u=!1;c=!!g[2],f=!!g[3]}else u=c=f=!1}}var b={ie:function(){return g()||n},ieCompatibilityMode:function(){return g()||s>n},ie64:function(){return b.ie()&&p},firefox:function(){return g()||r},opera:function(){return g()||o},webkit:function(){return g()||i},safari:function(){return b.webkit()},chrome:function(){return g()||a},windows:function(){return g()||c},osx:function(){return g()||u},linux:function(){return g()||f},iphone:function(){return g()||d},mobile:function(){return g()||d||h||l||m},nativeApp:function(){return g()||v},android:function(){return g()||l},ipad:function(){return g()||h}};t.exports=b},kAMH:function(t,e,n){var r=n("a0xu");t.exports=Array.isArray||function(t){return"Array"==r(t)}},kTiW:function(t,e,n){t.exports=n("NegM")},kvrn:function(t,e){var n=/^(attrs|props|on|nativeOn|class|style|hook)$/;function r(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}t.exports=function(t){return t.reduce(function(t,e){var o,i,a,s,u;for(a in e)if(o=t[a],i=e[a],o&&n.test(a))if("class"===a&&("string"==typeof o&&(u=o,t[a]=o={},o[u]=!0),"string"==typeof i&&(u=i,e[a]=i={},i[u]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(s in i)o[s]=r(o[s],i[s]);else if(Array.isArray(o))t[a]=o.concat(i);else if(Array.isArray(i))t[a]=[o].concat(i);else for(s in i)o[s]=i[s];else t[a]=e[a];return t},{})}},kwZ1:function(t,e,n){"use strict";var r=n("jmDH"),o=n("w6GO"),i=n("mqlF"),a=n("NV0k"),s=n("JB68"),u=n("M1xp"),c=Object.assign;t.exports=!c||n("KUxP")(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){for(var n=s(t),c=arguments.length,f=1,l=i.f,p=a.f;c>f;)for(var d,h=u(arguments[f++]),v=l?o(h).concat(l(h)):o(h),m=v.length,y=0;m>y;)d=v[y++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:c},lhnW:function(t,e,n){var r=n("WX/U"),o=n("DhVD");t.exports={throttle:r,debounce:o}},mqlF:function(t,e){e.f=Object.getOwnPropertySymbols},n6bm:function(t,e,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function o(){this.message="String contains an invalid character"}o.prototype=new Error,o.prototype.code=5,o.prototype.name="InvalidCharacterError",t.exports=function(t){for(var e,n,i=String(t),a="",s=0,u=r;i.charAt(0|s)||(u="=",s%1);a+=u.charAt(63&e>>8-s%1*8)){if((n=i.charCodeAt(s+=.75))>255)throw new o;e=e<<8|n}return a}},o8NH:function(t,e,n){var r=n("Y7ZC");r(r.S+r.F,"Object",{assign:n("kwZ1")})},o97j:function(t,e,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};t.exports=o},oV5b:function(t,e,n){"use strict";n.r(e);var r=n("QbLZ"),o=n.n(r),i=n("EJiy"),a=n.n(i),s=/%[sdj%]/g,u=function(){};function c(){for(var t=arguments.length,e=Array(t),n=0;n=i)return t;switch(t){case"%s":return String(e[r++]);case"%d":return Number(e[r++]);case"%j":try{return JSON.stringify(e[r++])}catch(t){return"[Circular]"}break;default:return t}}),u=e[r];r()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},g={integer:function(t){return g.number(t)&&parseInt(t,10)===t},float:function(t){return g.number(t)&&!g.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(t){return!1}},date:function(t){return"function"==typeof t.getTime&&"function"==typeof t.getMonth&&"function"==typeof t.getYear},number:function(t){return!isNaN(t)&&"number"==typeof t},object:function(t){return"object"===(void 0===t?"undefined":a()(t))&&!g.array(t)},method:function(t){return"function"==typeof t},email:function(t){return"string"==typeof t&&!!t.match(y.email)&&t.length<255},url:function(t){return"string"==typeof t&&!!t.match(y.url)},hex:function(t){return"string"==typeof t&&!!t.match(y.hex)}};var b="enum";var _={required:v,whitespace:m,type:function(t,e,n,r,o){if(t.required&&void 0===e)v(t,e,n,r,o);else{var i=t.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?g[i](e)||r.push(c(o.messages.types[i],t.fullField,t.type)):i&&(void 0===e?"undefined":a()(e))!==t.type&&r.push(c(o.messages.types[i],t.fullField,t.type))}},range:function(t,e,n,r,o){var i="number"==typeof t.len,a="number"==typeof t.min,s="number"==typeof t.max,u=e,f=null,l="number"==typeof e,p="string"==typeof e,d=Array.isArray(e);if(l?f="number":p?f="string":d&&(f="array"),!f)return!1;d&&(u=e.length),p&&(u=e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?u!==t.len&&r.push(c(o.messages[f].len,t.fullField,t.len)):a&&!s&&ut.max?r.push(c(o.messages[f].max,t.fullField,t.max)):a&&s&&(ut.max)&&r.push(c(o.messages[f].range,t.fullField,t.min,t.max))},enum:function(t,e,n,r,o){t[b]=Array.isArray(t[b])?t[b]:[],-1===t[b].indexOf(e)&&r.push(c(o.messages[b],t.fullField,t[b].join(", ")))},pattern:function(t,e,n,r,o){t.pattern&&(t.pattern instanceof RegExp?(t.pattern.lastIndex=0,t.pattern.test(e)||r.push(c(o.messages.pattern.mismatch,t.fullField,e,t.pattern))):"string"==typeof t.pattern&&(new RegExp(t.pattern).test(e)||r.push(c(o.messages.pattern.mismatch,t.fullField,e,t.pattern))))}};var w="enum";var x=function(t,e,n,r,o){var i=t.type,a=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e,i)&&!t.required)return n();_.required(t,e,r,a,o,i),f(e,i)||_.type(t,e,r,a,o)}n(a)},O={string:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e,"string")&&!t.required)return n();_.required(t,e,r,i,o,"string"),f(e,"string")||(_.type(t,e,r,i,o),_.range(t,e,r,i,o),_.pattern(t,e,r,i,o),!0===t.whitespace&&_.whitespace(t,e,r,i,o))}n(i)},method:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e)&&!t.required)return n();_.required(t,e,r,i,o),void 0!==e&&_.type(t,e,r,i,o)}n(i)},number:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e)&&!t.required)return n();_.required(t,e,r,i,o),void 0!==e&&(_.type(t,e,r,i,o),_.range(t,e,r,i,o))}n(i)},boolean:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e)&&!t.required)return n();_.required(t,e,r,i,o),void 0!==e&&_.type(t,e,r,i,o)}n(i)},regexp:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e)&&!t.required)return n();_.required(t,e,r,i,o),f(e)||_.type(t,e,r,i,o)}n(i)},integer:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e)&&!t.required)return n();_.required(t,e,r,i,o),void 0!==e&&(_.type(t,e,r,i,o),_.range(t,e,r,i,o))}n(i)},float:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e)&&!t.required)return n();_.required(t,e,r,i,o),void 0!==e&&(_.type(t,e,r,i,o),_.range(t,e,r,i,o))}n(i)},array:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e,"array")&&!t.required)return n();_.required(t,e,r,i,o,"array"),f(e,"array")||(_.type(t,e,r,i,o),_.range(t,e,r,i,o))}n(i)},object:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e)&&!t.required)return n();_.required(t,e,r,i,o),void 0!==e&&_.type(t,e,r,i,o)}n(i)},enum:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e)&&!t.required)return n();_.required(t,e,r,i,o),e&&_[w](t,e,r,i,o)}n(i)},pattern:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e,"string")&&!t.required)return n();_.required(t,e,r,i,o),f(e,"string")||_.pattern(t,e,r,i,o)}n(i)},date:function(t,e,n,r,o){var i=[];if(t.required||!t.required&&r.hasOwnProperty(t.field)){if(f(e)&&!t.required)return n();if(_.required(t,e,r,i,o),!f(e)){var a=void 0;a="number"==typeof e?new Date(e):e,_.type(t,a,r,i,o),a&&_.range(t,a.getTime(),r,i,o)}}n(i)},url:x,hex:x,email:x,required:function(t,e,n,r,o){var i=[],s=Array.isArray(e)?"array":void 0===e?"undefined":a()(e);_.required(t,e,r,i,o,s),n(i)}};function E(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var A=E();function C(t){this.rules=null,this._messages=A,this.define(t)}C.prototype={messages:function(t){return t&&(this._messages=h(E(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if("object"!==(void 0===t?"undefined":a()(t))||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var e=void 0,n=void 0;for(e in t)t.hasOwnProperty(e)&&(n=t[e],this.rules[e]=Array.isArray(n)?n:[n])},validate:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2],i=t,s=n,f=r;if("function"==typeof s&&(f=s,s={}),this.rules&&0!==Object.keys(this.rules).length){if(s.messages){var l=this.messages();l===A&&(l=E()),h(l,s.messages),s.messages=l}else s.messages=this.messages();var v=void 0,m=void 0,y={};(s.keys||Object.keys(this.rules)).forEach(function(n){v=e.rules[n],m=i[n],v.forEach(function(r){var a=r;"function"==typeof a.transform&&(i===t&&(i=o()({},i)),m=i[n]=a.transform(m)),(a="function"==typeof a?{validator:a}:o()({},a)).validator=e.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=e.getType(a),a.validator&&(y[n]=y[n]||[],y[n].push({rule:a,value:m,source:i,field:n}))})});var g={};p(y,s,function(t,e){var n=t.rule,r=!("object"!==n.type&&"array"!==n.type||"object"!==a()(n.fields)&&"object"!==a()(n.defaultField));function i(t,e){return o()({},e,{fullField:n.fullField+"."+t})}function f(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(Array.isArray(a)||(a=[a]),a.length&&u("async-validator:",a),a.length&&n.message&&(a=[].concat(n.message)),a=a.map(d(n)),s.first&&a.length)return g[n.field]=1,e(a);if(r){if(n.required&&!t.value)return a=n.message?[].concat(n.message).map(d(n)):s.error?[s.error(n,c(s.messages.required,n.field))]:[],e(a);var f={};if(n.defaultField)for(var l in t.value)t.value.hasOwnProperty(l)&&(f[l]=n.defaultField);for(var p in f=o()({},f,t.rule.fields))if(f.hasOwnProperty(p)){var h=Array.isArray(f[p])?f[p]:[f[p]];f[p]=h.map(i.bind(null,p))}var v=new C(f);v.messages(s.messages),t.rule.options&&(t.rule.options.messages=s.messages,t.rule.options.error=s.error),v.validate(t.value,t.rule.options||s,function(t){e(t&&t.length?a.concat(t):t)})}else e(a)}r=r&&(n.required||!n.required&&t.value),n.field=t.field;var l=n.validator(n,t.value,f,t.source,s);l&&l.then&&l.then(function(){return f()},function(t){return f(t)})},function(t){!function(t){var e=void 0,n=void 0,r=[],o={};function i(t){Array.isArray(t)?r=r.concat.apply(r,t):r.push(t)}for(e=0;edocument.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[i[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=u(),void 0===e?n:o(n,e)}},oioR:function(t,e,n){var r=n("2GTP"),o=n("sNwI"),i=n("NwJ3"),a=n("5K7Z"),s=n("tEej"),u=n("fNZA"),c={},f={};(e=t.exports=function(t,e,n,l,p){var d,h,v,m,y=p?function(){return t}:u(t),g=r(n,l,e?2:1),b=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(i(y)){for(d=s(t.length);d>b;b++)if((m=e?g(a(h=t[b])[0],h[1]):g(t[b]))===c||m===f)return m}else for(v=y.call(t);!(h=v.next()).done;)if((m=o(v,g,h.value,e))===c||m===f)return m}).BREAK=c,e.RETURN=f},p46w:function(t,e,n){var r,o; -/*! - * JavaScript Cookie v2.2.0 - * https://github.com/js-cookie/js-cookie - * - * Copyright 2006, 2015 Klaus Hartl & Fagner Brack - * Released under the MIT license - */!function(i){if(void 0===(o="function"==typeof(r=i)?r.call(e,n,e,t):r)||(t.exports=o),!0,t.exports=i(),!!0){var a=window.Cookies,s=window.Cookies=i();s.noConflict=function(){return window.Cookies=a,s}}}(function(){function t(){for(var t=0,e={};t1){if("number"==typeof(i=t({path:"/"},r.defaults,i)).expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*i.expires),i.expires=s}i.expires=i.expires?i.expires.toUTCString():"";try{a=JSON.stringify(o),/^[\{\[]/.test(a)&&(o=a)}catch(t){}o=n.write?n.write(o,e):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var u="";for(var c in i)i[c]&&(u+="; "+c,!0!==i[c]&&(u+="="+i[c]));return document.cookie=e+"="+o+u}e||(a={});for(var f=document.cookie?document.cookie.split("; "):[],l=/(%[0-9A-Z]{2})+/g,p=0;p0?o(r(t),9007199254740991):0}},tQ2B:function(t,e,n){"use strict";var r=n("xTJ+"),o=n("Rn+g"),i=n("MLWZ"),a=n("w0Vi"),s=n("OTTw"),u=n("LYNF"),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n("n6bm");t.exports=function(t){return new Promise(function(e,f){var l=t.data,p=t.headers;r.isFormData(l)&&delete p["Content-Type"];var d=new XMLHttpRequest,h="onreadystatechange",v=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||s(t.url)||(d=new window.XDomainRequest,h="onload",v=!0,d.onprogress=function(){},d.ontimeout=function(){}),t.auth){var m=t.auth.username||"",y=t.auth.password||"";p.Authorization="Basic "+c(m+":"+y)}if(d.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d[h]=function(){if(d&&(4===d.readyState||v)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,r={data:t.responseType&&"text"!==t.responseType?d.response:d.responseText,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:n,config:t,request:d};o(e,f,r),d=null}},d.onerror=function(){f(u("Network Error",t,null,d)),d=null},d.ontimeout=function(){f(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var g=n("eqyj"),b=(t.withCredentials||s(t.url))&&t.xsrfCookieName?g.read(t.xsrfCookieName):void 0;b&&(p[t.xsrfHeaderName]=b)}if("setRequestHeader"in d&&r.forEach(p,function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete p[e]:d.setRequestHeader(e,t)}),t.withCredentials&&(d.withCredentials=!0),t.responseType)try{d.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){d&&(d.abort(),f(t),d=null)}),void 0===l&&(l=null),d.send(l)})}},uOPS:function(t,e){t.exports=!0},vBP9:function(t,e,n){var r=n("5T2Y").navigator;t.exports=r&&r.userAgent||""},vDqi:function(t,e,n){t.exports=n("zuR4")},vRGJ:function(t,e){t.exports=l,t.exports.parse=i,t.exports.compile=function(t,e){return a(i(t,e))},t.exports.tokensToFunction=a,t.exports.tokensToRegExp=f;var n="/",r="./",o=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function i(t,e){for(var i,a=[],c=0,f=0,l="",p=e&&e.delimiter||n,d=e&&e.delimiters||r,h=!1;null!==(i=o.exec(t));){var v=i[0],m=i[1],y=i.index;if(l+=t.slice(f,y),f=y+v.length,m)l+=m[1],h=!0;else{var g="",b=t[f],_=i[2],w=i[3],x=i[4],O=i[5];if(!h&&l.length){var E=l.length-1;d.indexOf(l[E])>-1&&(g=l[E],l=l.slice(0,E))}l&&(a.push(l),l="",h=!1);var A=""!==g&&void 0!==b&&b!==g,C="+"===O||"*"===O,S="?"===O||"*"===O,k=g||p,j=w||x;a.push({name:_||c++,prefix:g,delimiter:k,optional:S,repeat:C,partial:A,pattern:j?u(j):"[^"+s(k)+"]+?"})}}return(l||f-1;else{var y=m.repeat?"(?:"+m.pattern+")(?:"+s(m.delimiter)+"(?:"+m.pattern+"))*":m.pattern;e&&e.push(m),m.optional?m.partial?d+=s(m.prefix)+"("+y+")?":d+="(?:"+s(m.prefix)+"("+y+"))?":d+=s(m.prefix)+"("+y+")"}}return u?(i||(d+="(?:"+f+")?"),d+="$"===p?"$":"(?="+p+")"):(i||(d+="(?:"+f+"(?="+p+"))?"),h||(d+="(?="+f+"|"+p+")")),new RegExp(d,c(o))}function l(t,e,n){return t instanceof RegExp?function(t,e){if(!e)return t;var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}}),a):a}},"w2d+":function(t,e,n){"use strict";var r=n("hDam"),o=n("UO39"),i=n("SBuE"),a=n("NsO/");t.exports=n("MPFp")(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},w6GO:function(t,e,n){var r=n("5vMV"),o=n("FpHa");t.exports=Object.keys||function(t){return r(t,o)}},wJiJ:function(t,e,n){t.exports=n("1K8p")},wgeU:function(t,e){},xAGQ:function(t,e,n){"use strict";var r=n("xTJ+");t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},"xTJ+":function(t,e,n){"use strict";var r=n("HSsa"),o=n("BEtg"),i=Object.prototype.toString;function a(t){return"[object Array]"===i.call(t)}function s(t){return null!==t&&"object"==typeof t}function u(t){return"[object Function]"===i.call(t)}function c(t,e){if(null!==t&&void 0!==t)if("object"!=typeof t&&(t=[t]),a(t))for(var n=0,r=t.length;n