[
  {
    "path": "README.md",
    "content": "<p align=\"center\">\n <img width=\"100px\" src=\"img/icon.png\" align=\"center\" alt=“HackerBar” />\n <h2 align=\"center\">HackerBar</h2>\n <p align=\"center\">一款匿名的资产查询工具</p>\n</p>\n  <p align=\"center\">\n<img src=\"https://img.shields.io/github/v/release/HackerBar-Sec/HackerBar?color=0088ff\" />\n<img src=\"https://img.shields.io/chrome-web-store/rating-count/fplaffnjgbolllofijjpoebjgbilgkef\">\n    <a href=\"https://github.com/HackerBar-Sec/HackerBar/issues\">\n      <img alt=\"Issues\" src=\"https://img.shields.io/github/issues/HackerBar-Sec/HackerBar?color=0088ff\" />\n    </a>\n    <a href=\"https://github.com/HackerBar-Sec/HackerBar/pulls\">\n      <img alt=\"GitHub pull requests\" src=\"https://img.shields.io/github/issues-pr/HackerBar-Sec/HackerBar?color=0088ff\" />\n    </a>\n    <br />\n </p>\n\n  <p align=\"center\">\n    <a href=\"https://github.com/HackerBar-Sec/HackerBar/issues/new/choose\">Report Bug</a>\n    ·\n    <a href=\"https://github.com/HackerBar-Sec/HackerBar/discussions\">Ask Question</a>\n  </p>\n  <p align=\"center\">\n    <a href=\"README_EN.md\">English</a>\n    <a href=\"README.md\">中文</a>\n    </p>\n</p>\n\n> HackerBar是一款匿名资产查询插件，目前主要上架于[Chrome](https://www.google.com/chrome/)。\n\n项目地址：https://github.com/HackerBar-Sec/HackerBar\n\n## 安装\n\n### 手动安装\n\n下载版本：https://github.com/HackerBar-Sec/HackerBar/releases\n\n1.下载并解压\n\n2.打开 chrome://extensions/ 并且开启开发者模式\n\n3.点击 `加载已解压的扩展程序` 选择该插件目录加载\n\n![image1](img/image1.jpg)\n\n### 商城安装\n\n1.打开https://chrome.google.com/webstore/category/extensions谷歌商城\n\n2.搜索`hackerbar`\n\n3.下载到浏览器\n\n![image2](img/image2.jpg)\n\n## 功能\n\n### 基本信息\n\n![image3](img/image3.jpg)\n\n### 端口服务\n![image4](img/image4.jpg)\n\n### 公司信息\n![image5](img/image5.jpg)\n\n### 资产测绘\n\n![image6](img/image6.jpg)"
  },
  {
    "path": "README_EN.md",
    "content": "<p align=\"center\">\n <img width=\"100px\" src=\"img/icon.png\" align=\"center\" alt=“HackerBar” />\n <h2 align=\"center\">HackerBar</h2>\n <p align=\"center\">An anonymous asset query tool</p>\n</p>\n  <p align=\"center\">\n<img src=\"https://img.shields.io/github/v/release/HackerBar-Sec/HackerBar?color=0088ff\" />\n<img src=\"https://img.shields.io/chrome-web-store/rating-count/fplaffnjgbolllofijjpoebjgbilgkef\">\n    <a href=\"https://github.com/HackerBar-Sec/HackerBar/issues\">\n      <img alt=\"Issues\" src=\"https://img.shields.io/github/issues/HackerBar-Sec/HackerBar?color=0088ff\" />\n    </a>\n    <a href=\"https://github.com/HackerBar-Sec/HackerBar/pulls\">\n      <img alt=\"GitHub pull requests\" src=\"https://img.shields.io/github/issues-pr/HackerBar-Sec/HackerBar?color=0088ff\" />\n    </a>\n    <br />\n </p>\n\n  <p align=\"center\">\n    <a href=\"https://github.com/HackerBar-Sec/HackerBar/issues/new/choose\">Report Bug</a>\n    ·\n    <a href=\"https://github.com/HackerBar-Sec/HackerBar/discussions\">Ask Question</a>\n  </p>\n  <p align=\"center\">\n    <a href=\"README_EN.md\">English</a>\n    <a href=\"README.md\">中文</a>\n    </p>\n</p>\n\n> HackerBar is an anonymous asset query tool, currently mainly listed on [Chrome](https://www.google.com/chrome/)。\n\nProject Location：https://github.com/HackerBar-Sec/HackerBar\n\n## Install\n\n### Manual\n\nReleases：https://github.com/HackerBar-Sec/HackerBar/releases\n\n1.Download and Unzip\n\n2.Open `chrome://extensions/` and Enable developer mode\n\n3.Click `Load unpacked` select the plugin directory to load\n\n![image1](img/image1.jpg)\n\n### Chrome Web Store\n\n1.Open the `https://chrome.google.com/webstore/category/extensions` to Chrome Web Store \n\n2.Search `hackerbar`\n\n3.Add to Chrome\n\n![image2](img/image2.jpg)\n\n## Feature\n\n### Basic Information\n\n![image3](img/image3.jpg)\n\n### Ports\n![image4](img/image4.jpg)\n\n### Company\n![image5](img/image5.jpg)\n\n### Cyberspace\n\n![image6](img/image6.jpg)\n"
  },
  {
    "path": "index.html",
    "content": "<!DOCTYPE html>\n<html>\n  <head>\n    <meta charset=\"utf-8\" />\n    <meta\n      name=\"viewport\"\n      content=\"width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no\"\n    />\n    <link rel=\"stylesheet\" href=\"./umi.css\" />\n    <script>\n      window.routerBase = \"/\";\n    </script>\n    <script>\n      //! umi version: 3.5.35\n    </script>\n  </head>\n  <body>\n    <div id=\"google-site-search-root\"></div>\n\n    <script src=\"./umi.js\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "manifest.json",
    "content": "{\n  \"manifest_version\": 3,\n  \"name\": \"HackerBar\",\n  \"version\": \"1.1.0\",\n  \"description\": \"安全工具\",\n  \"icons\": {\n    \"16\": \"./img/icon.png\",\n    \"128\": \"./img/icon.png\",\n    \"48\": \"./img/icon.png\"\n  },\n  \"host_permissions\": [\n    \"*://*/*\"\n  ],\n  \"action\": {\n    \"default_title\": \"HackerBar\",\n    \"default_icon\": \"./img/icon.png\",\n    \"default_popup\": \"index.html\"\n  },\n  \"update_url\": \"https://hackerbar.org/extension/version_update\",\n  \"permissions\": [\n    \"tabs\"\n  ],\n  \"content_scripts\": [\n    {\n      \"js\": [\n        \"./umi.js\"\n      ],\n      \"matches\": [\n        \"http://*/*\",\n        \"https://*/*\",\n        \"<all_urls>\"\n      ],\n      \"run_at\": \"document_end\"\n    }\n  ]\n}\n"
  },
  {
    "path": "umi.css",
    "content": "[class*=ant-]::-ms-clear,[class*=ant-] input::-ms-clear,[class*=ant-] input::-ms-reveal,[class^=ant-]::-ms-clear,[class^=ant-] input::-ms-clear,[class^=ant-] input::-ms-reveal{display:none}body,html{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,:after,:before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0;color:hsla(0,0%,100%,.85);font-size:12px;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";font-variant:tabular-nums;line-height:1.66667;background-color:#000;font-feature-settings:tnum,\"tnum\"}[tabindex=\"-1\"]:focus{outline:none!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;color:hsla(0,0%,100%,.85);font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=number],input[type=password],input[type=text],textarea{-webkit-appearance:none}dl,ol,ul{margin-top:0;margin-bottom:1em}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#177ddc;text-decoration:none;background-color:transparent;outline:none;cursor:pointer;transition:color .3s;-webkit-text-decoration-skip:objects}a:hover{color:#165996}a:active{color:#388ed3}a:active,a:hover{text-decoration:none;outline:0}a:focus{text-decoration:none;outline:0}a[disabled]{color:hsla(0,0%,100%,.3);cursor:not-allowed}code,kbd,pre,samp{font-size:1em;font-family:\"SFMono-Regular\",Consolas,\"Liberation Mono\",Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;color:hsla(0,0%,100%,.45);text-align:left;caption-side:bottom}button,input,optgroup,select,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#2b2611}::selection{color:#fff;background:#177ddc}.clearfix:before{display:table;content:\"\"}.clearfix:after{display:table;clear:both;content:\"\"}.anticon{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.anticon>*{line-height:1}.anticon svg{display:inline-block}.anticon:before{display:none}.anticon .anticon-icon{display:block}.anticon>.anticon{line-height:0;vertical-align:0}.anticon[tabindex]{cursor:pointer}.anticon-spin,.anticon-spin:before{display:inline-block;animation:loadingCircle 1s linear infinite}.ant-fade-appear,.ant-fade-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-fade-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-fade-appear.ant-fade-appear-active,.ant-fade-enter.ant-fade-enter-active{animation-name:antFadeIn;animation-play-state:running}.ant-fade-leave.ant-fade-leave-active{animation-name:antFadeOut;animation-play-state:running;pointer-events:none}.ant-fade-appear,.ant-fade-enter{opacity:0;animation-timing-function:linear}.ant-fade-leave{animation-timing-function:linear}@keyframes antFadeIn{0%{opacity:0}to{opacity:1}}@keyframes antFadeOut{0%{opacity:1}to{opacity:0}}.ant-move-up-appear,.ant-move-up-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-up-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-up-appear.ant-move-up-appear-active,.ant-move-up-enter.ant-move-up-enter-active{animation-name:antMoveUpIn;animation-play-state:running}.ant-move-up-leave.ant-move-up-leave-active{animation-name:antMoveUpOut;animation-play-state:running;pointer-events:none}.ant-move-up-appear,.ant-move-up-enter{opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-up-leave{animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.ant-move-down-appear,.ant-move-down-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-down-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-down-appear.ant-move-down-appear-active,.ant-move-down-enter.ant-move-down-enter-active{animation-name:antMoveDownIn;animation-play-state:running}.ant-move-down-leave.ant-move-down-leave-active{animation-name:antMoveDownOut;animation-play-state:running;pointer-events:none}.ant-move-down-appear,.ant-move-down-enter{opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-down-leave{animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.ant-move-left-appear,.ant-move-left-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-left-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-left-appear.ant-move-left-appear-active,.ant-move-left-enter.ant-move-left-enter-active{animation-name:antMoveLeftIn;animation-play-state:running}.ant-move-left-leave.ant-move-left-leave-active{animation-name:antMoveLeftOut;animation-play-state:running;pointer-events:none}.ant-move-left-appear,.ant-move-left-enter{opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-left-leave{animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.ant-move-right-appear,.ant-move-right-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-right-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-move-right-appear.ant-move-right-appear-active,.ant-move-right-enter.ant-move-right-enter-active{animation-name:antMoveRightIn;animation-play-state:running}.ant-move-right-leave.ant-move-right-leave-active{animation-name:antMoveRightOut;animation-play-state:running;pointer-events:none}.ant-move-right-appear,.ant-move-right-enter{opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-move-right-leave{animation-timing-function:cubic-bezier(.6,.04,.98,.34)}@keyframes antMoveDownIn{0%{transform:translateY(100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@keyframes antMoveDownOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(100%);transform-origin:0 0;opacity:0}}@keyframes antMoveLeftIn{0%{transform:translateX(-100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@keyframes antMoveLeftOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(-100%);transform-origin:0 0;opacity:0}}@keyframes antMoveRightIn{0%{transform:translateX(100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@keyframes antMoveRightOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(100%);transform-origin:0 0;opacity:0}}@keyframes antMoveUpIn{0%{transform:translateY(-100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@keyframes antMoveUpOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(-100%);transform-origin:0 0;opacity:0}}@keyframes loadingCircle{to{transform:rotate(1turn)}}[ant-click-animating-without-extra-node=true],[ant-click-animating=true]{position:relative}html{--antd-wave-shadow-color:#177ddc;--scroll-bar:0}.ant-click-animating-node,[ant-click-animating-without-extra-node=true]:after{position:absolute;top:0;right:0;bottom:0;left:0;display:block;border-radius:inherit;box-shadow:0 0 0 0 #177ddc;box-shadow:0 0 0 0 var(--antd-wave-shadow-color);opacity:.2;animation:fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);animation-fill-mode:forwards;content:\"\";pointer-events:none}@keyframes waveEffect{to{box-shadow:0 0 0 #177ddc;box-shadow:0 0 0 6px #177ddc;box-shadow:0 0 0 6px var(--antd-wave-shadow-color)}}@keyframes fadeEffect{to{opacity:0}}.ant-slide-up-appear,.ant-slide-up-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-up-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-up-appear.ant-slide-up-appear-active,.ant-slide-up-enter.ant-slide-up-enter-active{animation-name:antSlideUpIn;animation-play-state:running}.ant-slide-up-leave.ant-slide-up-leave-active{animation-name:antSlideUpOut;animation-play-state:running;pointer-events:none}.ant-slide-up-appear,.ant-slide-up-enter{opacity:0;animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-up-leave{animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.ant-slide-down-appear,.ant-slide-down-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-down-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-down-appear.ant-slide-down-appear-active,.ant-slide-down-enter.ant-slide-down-enter-active{animation-name:antSlideDownIn;animation-play-state:running}.ant-slide-down-leave.ant-slide-down-leave-active{animation-name:antSlideDownOut;animation-play-state:running;pointer-events:none}.ant-slide-down-appear,.ant-slide-down-enter{opacity:0;animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-down-leave{animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.ant-slide-left-appear,.ant-slide-left-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-left-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-left-appear.ant-slide-left-appear-active,.ant-slide-left-enter.ant-slide-left-enter-active{animation-name:antSlideLeftIn;animation-play-state:running}.ant-slide-left-leave.ant-slide-left-leave-active{animation-name:antSlideLeftOut;animation-play-state:running;pointer-events:none}.ant-slide-left-appear,.ant-slide-left-enter{opacity:0;animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-left-leave{animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.ant-slide-right-appear,.ant-slide-right-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-right-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-slide-right-appear.ant-slide-right-appear-active,.ant-slide-right-enter.ant-slide-right-enter-active{animation-name:antSlideRightIn;animation-play-state:running}.ant-slide-right-leave.ant-slide-right-leave-active{animation-name:antSlideRightOut;animation-play-state:running;pointer-events:none}.ant-slide-right-appear,.ant-slide-right-enter{opacity:0;animation-timing-function:cubic-bezier(.23,1,.32,1)}.ant-slide-right-leave{animation-timing-function:cubic-bezier(.755,.05,.855,.06)}@keyframes antSlideUpIn{0%{transform:scaleY(.8);transform-origin:0 0;opacity:0}to{transform:scaleY(1);transform-origin:0 0;opacity:1}}@keyframes antSlideUpOut{0%{transform:scaleY(1);transform-origin:0 0;opacity:1}to{transform:scaleY(.8);transform-origin:0 0;opacity:0}}@keyframes antSlideDownIn{0%{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}to{transform:scaleY(1);transform-origin:100% 100%;opacity:1}}@keyframes antSlideDownOut{0%{transform:scaleY(1);transform-origin:100% 100%;opacity:1}to{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}}@keyframes antSlideLeftIn{0%{transform:scaleX(.8);transform-origin:0 0;opacity:0}to{transform:scaleX(1);transform-origin:0 0;opacity:1}}@keyframes antSlideLeftOut{0%{transform:scaleX(1);transform-origin:0 0;opacity:1}to{transform:scaleX(.8);transform-origin:0 0;opacity:0}}@keyframes antSlideRightIn{0%{transform:scaleX(.8);transform-origin:100% 0;opacity:0}to{transform:scaleX(1);transform-origin:100% 0;opacity:1}}@keyframes antSlideRightOut{0%{transform:scaleX(1);transform-origin:100% 0;opacity:1}to{transform:scaleX(.8);transform-origin:100% 0;opacity:0}}.ant-zoom-appear,.ant-zoom-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-appear.ant-zoom-appear-active,.ant-zoom-enter.ant-zoom-enter-active{animation-name:antZoomIn;animation-play-state:running}.ant-zoom-leave.ant-zoom-leave-active{animation-name:antZoomOut;animation-play-state:running;pointer-events:none}.ant-zoom-appear,.ant-zoom-enter{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-appear-prepare,.ant-zoom-enter-prepare{transform:none}.ant-zoom-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-big-appear,.ant-zoom-big-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-big-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-big-appear.ant-zoom-big-appear-active,.ant-zoom-big-enter.ant-zoom-big-enter-active{animation-name:antZoomBigIn;animation-play-state:running}.ant-zoom-big-leave.ant-zoom-big-leave-active{animation-name:antZoomBigOut;animation-play-state:running;pointer-events:none}.ant-zoom-big-appear,.ant-zoom-big-enter{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-big-appear-prepare,.ant-zoom-big-enter-prepare{transform:none}.ant-zoom-big-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-big-fast-appear,.ant-zoom-big-fast-enter{animation-duration:.1s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-big-fast-leave{animation-duration:.1s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-big-fast-appear.ant-zoom-big-fast-appear-active,.ant-zoom-big-fast-enter.ant-zoom-big-fast-enter-active{animation-name:antZoomBigIn;animation-play-state:running}.ant-zoom-big-fast-leave.ant-zoom-big-fast-leave-active{animation-name:antZoomBigOut;animation-play-state:running;pointer-events:none}.ant-zoom-big-fast-appear,.ant-zoom-big-fast-enter{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-big-fast-appear-prepare,.ant-zoom-big-fast-enter-prepare{transform:none}.ant-zoom-big-fast-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-up-appear,.ant-zoom-up-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-up-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-up-appear.ant-zoom-up-appear-active,.ant-zoom-up-enter.ant-zoom-up-enter-active{animation-name:antZoomUpIn;animation-play-state:running}.ant-zoom-up-leave.ant-zoom-up-leave-active{animation-name:antZoomUpOut;animation-play-state:running;pointer-events:none}.ant-zoom-up-appear,.ant-zoom-up-enter{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-up-appear-prepare,.ant-zoom-up-enter-prepare{transform:none}.ant-zoom-up-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-down-appear,.ant-zoom-down-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-down-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-down-appear.ant-zoom-down-appear-active,.ant-zoom-down-enter.ant-zoom-down-enter-active{animation-name:antZoomDownIn;animation-play-state:running}.ant-zoom-down-leave.ant-zoom-down-leave-active{animation-name:antZoomDownOut;animation-play-state:running;pointer-events:none}.ant-zoom-down-appear,.ant-zoom-down-enter{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-down-appear-prepare,.ant-zoom-down-enter-prepare{transform:none}.ant-zoom-down-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-left-appear,.ant-zoom-left-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-left-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-left-appear.ant-zoom-left-appear-active,.ant-zoom-left-enter.ant-zoom-left-enter-active{animation-name:antZoomLeftIn;animation-play-state:running}.ant-zoom-left-leave.ant-zoom-left-leave-active{animation-name:antZoomLeftOut;animation-play-state:running;pointer-events:none}.ant-zoom-left-appear,.ant-zoom-left-enter{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-left-appear-prepare,.ant-zoom-left-enter-prepare{transform:none}.ant-zoom-left-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.ant-zoom-right-appear,.ant-zoom-right-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-right-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.ant-zoom-right-appear.ant-zoom-right-appear-active,.ant-zoom-right-enter.ant-zoom-right-enter-active{animation-name:antZoomRightIn;animation-play-state:running}.ant-zoom-right-leave.ant-zoom-right-leave-active{animation-name:antZoomRightOut;animation-play-state:running;pointer-events:none}.ant-zoom-right-appear,.ant-zoom-right-enter{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}.ant-zoom-right-appear-prepare,.ant-zoom-right-enter-prepare{transform:none}.ant-zoom-right-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}@keyframes antZoomIn{0%{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}@keyframes antZoomOut{0%{transform:scale(1)}to{transform:scale(.2);opacity:0}}@keyframes antZoomBigIn{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes antZoomBigOut{0%{transform:scale(1)}to{transform:scale(.8);opacity:0}}@keyframes antZoomUpIn{0%{transform:scale(.8);transform-origin:50% 0;opacity:0}to{transform:scale(1);transform-origin:50% 0}}@keyframes antZoomUpOut{0%{transform:scale(1);transform-origin:50% 0}to{transform:scale(.8);transform-origin:50% 0;opacity:0}}@keyframes antZoomLeftIn{0%{transform:scale(.8);transform-origin:0 50%;opacity:0}to{transform:scale(1);transform-origin:0 50%}}@keyframes antZoomLeftOut{0%{transform:scale(1);transform-origin:0 50%}to{transform:scale(.8);transform-origin:0 50%;opacity:0}}@keyframes antZoomRightIn{0%{transform:scale(.8);transform-origin:100% 50%;opacity:0}to{transform:scale(1);transform-origin:100% 50%}}@keyframes antZoomRightOut{0%{transform:scale(1);transform-origin:100% 50%}to{transform:scale(.8);transform-origin:100% 50%;opacity:0}}@keyframes antZoomDownIn{0%{transform:scale(.8);transform-origin:50% 100%;opacity:0}to{transform:scale(1);transform-origin:50% 100%}}@keyframes antZoomDownOut{0%{transform:scale(1);transform-origin:50% 100%}to{transform:scale(.8);transform-origin:50% 100%;opacity:0}}.ant-motion-collapse-legacy{overflow:hidden}.ant-motion-collapse-legacy-active{transition:height .2s cubic-bezier(.645,.045,.355,1),opacity .2s cubic-bezier(.645,.045,.355,1)!important}.ant-motion-collapse{overflow:hidden;transition:height .2s cubic-bezier(.645,.045,.355,1),opacity .2s cubic-bezier(.645,.045,.355,1)!important}.ant-message{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";position:fixed;top:8px;left:0;z-index:1010;width:100%;pointer-events:none}.ant-message-notice{padding:8px;text-align:center}.ant-message-notice-content{display:inline-block;padding:8px 16px;background:#1f1f1f;border-radius:2px;box-shadow:0 3px 6px -4px rgba(0,0,0,.48),0 6px 16px 0 rgba(0,0,0,.32),0 9px 28px 8px rgba(0,0,0,.2);pointer-events:all}.ant-message-success .anticon{color:#49aa19}.ant-message-error .anticon{color:#a61d24}.ant-message-warning .anticon{color:#d89614}.ant-message-info .anticon,.ant-message-loading .anticon{color:#177ddc}.ant-message .anticon{position:relative;top:1px;margin-right:8px;font-size:14px}.ant-message-notice.ant-move-up-leave.ant-move-up-leave-active{animation-name:MessageMoveOut;animation-duration:.3s}@keyframes MessageMoveOut{0%{max-height:150px;padding:8px;opacity:1}to{max-height:0;padding:0;opacity:0}}.ant-message-rtl{direction:rtl}.ant-message-rtl span{direction:rtl}.ant-message-rtl .anticon{margin-right:0;margin-left:8px}.ant-notification .ant-anchor-wrapper,.ant-notification .ant-card,.ant-notification .ant-collapse-content,.ant-notification .ant-picker-clear,.ant-notification .ant-slider-handle,.ant-notification .ant-timeline-item-head{background-color:#1f1f1f}.ant-notification .ant-transfer-list-header{background:#1f1f1f;border-bottom:1px solid #3a3a3a}.ant-notification .ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover{background-color:hsla(0,0%,100%,.08)}.ant-notification tr.ant-table-expanded-row:hover>td,.ant-notification tr.ant-table-expanded-row>td{background:#272727}.ant-notification .ant-table.ant-table-small thead>tr>th{background-color:#1f1f1f;border-bottom:1px solid #3a3a3a}.ant-notification .ant-table{background-color:#1f1f1f}.ant-notification .ant-table .ant-table-row-expand-icon{border:1px solid #3a3a3a}.ant-notification .ant-table tfoot>tr>td,.ant-notification .ant-table tfoot>tr>th{border-bottom:1px solid #3a3a3a}.ant-notification .ant-table thead>tr>th{background-color:#272727;border-bottom:1px solid #3a3a3a}.ant-notification .ant-table tbody>tr>td{border-bottom:1px solid #3a3a3a}.ant-notification .ant-table tbody>tr>td.ant-table-cell-fix-left,.ant-notification .ant-table tbody>tr>td.ant-table-cell-fix-right{background-color:#1f1f1f}.ant-notification .ant-table tbody>tr.ant-table-row:hover>td{background:#303030}.ant-notification .ant-table.ant-table-bordered .ant-table-title{border:1px solid #3a3a3a}.ant-notification .ant-table.ant-table-bordered tbody>tr>td,.ant-notification .ant-table.ant-table-bordered tfoot>tr>td,.ant-notification .ant-table.ant-table-bordered tfoot>tr>th,.ant-notification .ant-table.ant-table-bordered thead>tr>th{border-right:1px solid #3a3a3a}.ant-notification .ant-table.ant-table-bordered .ant-table-cell-fix-right-first:after{border-right:1px solid #3a3a3a}.ant-notification .ant-table.ant-table-bordered table thead>tr:not(:last-child)>th{border-bottom:1px solid #303030}.ant-notification .ant-table.ant-table-bordered .ant-table-container{border:1px solid #3a3a3a}.ant-notification .ant-table.ant-table-bordered .ant-table-expanded-row-fixed:after{border-right:1px solid #3a3a3a}.ant-notification .ant-table.ant-table-bordered .ant-table-footer{border:1px solid #3a3a3a}.ant-notification .ant-table .ant-table-filter-trigger-container-open{background-color:#525252}.ant-notification .ant-picker-calendar-full{background-color:#1f1f1f}.ant-notification .ant-picker-calendar-full .ant-picker-panel{background-color:#1f1f1f}.ant-notification .ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date{border-top:2px solid #3a3a3a}.ant-notification .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active{background-color:#1f1f1f;border-bottom:1px solid #1f1f1f}.ant-notification .ant-badge-count{box-shadow:0 0 0 1px #1f1f1f}.ant-notification .ant-tree-show-line .ant-tree-switcher{background:#1f1f1f}.ant-notification{box-sizing:border-box;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";position:fixed;z-index:1010;margin:0 24px 0 0}.ant-notification-close-icon{font-size:12px;cursor:pointer}.ant-notification-hook-holder{position:relative}.ant-notification-notice{position:relative;width:384px;max-width:calc(100vw - 48px);margin-bottom:16px;margin-left:auto;padding:12px 16px;overflow:hidden;line-height:1.66667;word-wrap:break-word;background:#1f1f1f;border-radius:2px;box-shadow:0 3px 6px -4px rgba(0,0,0,.48),0 6px 16px 0 rgba(0,0,0,.32),0 9px 28px 8px rgba(0,0,0,.2)}.ant-notification-bottom .ant-notification-notice,.ant-notification-top .ant-notification-notice{margin-right:auto;margin-left:auto}.ant-notification-bottomLeft .ant-notification-notice,.ant-notification-topLeft .ant-notification-notice{margin-right:auto;margin-left:0}.ant-notification-notice-message{margin-bottom:8px;color:hsla(0,0%,100%,.85);font-size:14px;line-height:24px}.ant-notification-notice-message-single-line-auto-margin{display:block;width:calc(280px - 100%);max-width:4px;background-color:transparent;pointer-events:none}.ant-notification-notice-message-single-line-auto-margin:before{display:block;content:\"\"}.ant-notification-notice-description{font-size:12px}.ant-notification-notice-closable .ant-notification-notice-message{padding-right:24px}.ant-notification-notice-with-icon .ant-notification-notice-message{margin-bottom:4px;margin-left:48px;font-size:14px}.ant-notification-notice-with-icon .ant-notification-notice-description{margin-left:48px;font-size:12px}.ant-notification-notice-icon{position:absolute;margin-left:4px;font-size:24px;line-height:24px}.anticon.ant-notification-notice-icon-success{color:#49aa19}.anticon.ant-notification-notice-icon-info{color:#177ddc}.anticon.ant-notification-notice-icon-warning{color:#d89614}.anticon.ant-notification-notice-icon-error{color:#a61d24}.ant-notification-notice-close{position:absolute;top:16px;right:22px;color:hsla(0,0%,100%,.45);outline:none}.ant-notification-notice-close:hover{color:hsla(0,0%,100%,.85)}.ant-notification-notice-btn{float:right;margin-top:16px}.ant-notification .notification-fade-effect{animation-duration:.24s;animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-fill-mode:both}.ant-notification-fade-appear,.ant-notification-fade-enter{animation-duration:.24s;animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-fill-mode:both;opacity:0;animation-play-state:paused}.ant-notification-fade-leave{animation-duration:.24s;animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-fill-mode:both;animation-duration:.2s;animation-play-state:paused}.ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-fade-enter.ant-notification-fade-enter-active{animation-name:NotificationFadeIn;animation-play-state:running}.ant-notification-fade-leave.ant-notification-fade-leave-active{animation-name:NotificationFadeOut;animation-play-state:running}@keyframes NotificationFadeIn{0%{left:384px;opacity:0}to{left:0;opacity:1}}@keyframes NotificationFadeOut{0%{max-height:150px;margin-bottom:16px;opacity:1}to{max-height:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0}}.ant-notification-rtl{direction:rtl}.ant-notification-rtl .ant-notification-notice-closable .ant-notification-notice-message{padding-right:0;padding-left:24px}.ant-notification-rtl .ant-notification-notice-with-icon .ant-notification-notice-message{margin-right:48px;margin-left:0}.ant-notification-rtl .ant-notification-notice-with-icon .ant-notification-notice-description{margin-right:48px;margin-left:0}.ant-notification-rtl .ant-notification-notice-icon{margin-right:4px;margin-left:0}.ant-notification-rtl .ant-notification-notice-close{right:auto;left:22px}.ant-notification-rtl .ant-notification-notice-btn{float:left}.ant-notification-bottom,.ant-notification-top{margin-right:0;margin-left:0}.ant-notification-top .ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-top .ant-notification-fade-enter.ant-notification-fade-enter-active{animation-name:NotificationTopFadeIn}.ant-notification-bottom .ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-bottom .ant-notification-fade-enter.ant-notification-fade-enter-active{animation-name:NotificationBottomFadeIn}.ant-notification-bottomLeft,.ant-notification-topLeft{margin-right:0;margin-left:24px}.ant-notification-bottomLeft .ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-bottomLeft .ant-notification-fade-enter.ant-notification-fade-enter-active,.ant-notification-topLeft .ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-topLeft .ant-notification-fade-enter.ant-notification-fade-enter-active{animation-name:NotificationLeftFadeIn}@keyframes NotificationTopFadeIn{0%{margin-top:-100%;opacity:0}to{margin-top:0;opacity:1}}@keyframes NotificationBottomFadeIn{0%{margin-bottom:-100%;opacity:0}to{margin-bottom:0;opacity:1}}@keyframes NotificationLeftFadeIn{0%{right:384px;opacity:0}to{right:0;opacity:1}}.ant-tabs-small>.ant-tabs-nav .ant-tabs-tab{padding:4px 0;font-size:12px}.ant-tabs-large>.ant-tabs-nav .ant-tabs-tab{padding:8px 0;font-size:14px}.ant-tabs-card.ant-tabs-small>.ant-tabs-nav .ant-tabs-tab{padding:6px 8px}.ant-tabs-card.ant-tabs-large>.ant-tabs-nav .ant-tabs-tab{padding:7px 8px 6px}.ant-tabs-rtl{direction:rtl}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab{margin:0 0 0 32px}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab:last-of-type{margin-left:0}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .anticon{margin-right:0;margin-left:8px}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .ant-tabs-tab-remove{margin-right:4px;margin-left:0}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .ant-tabs-tab-remove .anticon{margin:0}.ant-tabs-rtl.ant-tabs-left>.ant-tabs-nav{order:1}.ant-tabs-rtl.ant-tabs-left>.ant-tabs-content-holder{order:0}.ant-tabs-rtl.ant-tabs-right>.ant-tabs-nav{order:0}.ant-tabs-rtl.ant-tabs-right>.ant-tabs-content-holder{order:1}.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin-right:2px;margin-left:0}.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-add{margin-right:2px;margin-left:0}.ant-tabs-dropdown-rtl{direction:rtl}.ant-tabs-dropdown-rtl .ant-tabs-dropdown-menu-item{text-align:right}.ant-tabs-bottom,.ant-tabs-top{flex-direction:column}.ant-tabs-bottom>.ant-tabs-nav,.ant-tabs-bottom>div>.ant-tabs-nav,.ant-tabs-top>.ant-tabs-nav,.ant-tabs-top>div>.ant-tabs-nav{margin:0 0 8px}.ant-tabs-bottom>.ant-tabs-nav:before,.ant-tabs-bottom>div>.ant-tabs-nav:before,.ant-tabs-top>.ant-tabs-nav:before,.ant-tabs-top>div>.ant-tabs-nav:before{position:absolute;right:0;left:0;border-bottom:1px solid #303030;content:\"\"}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-ink-bar{height:2px}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-top>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-ink-bar-animated{transition:width .3s,left .3s,right .3s}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{top:0;bottom:0;width:30px}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{left:0;box-shadow:inset 10px 0 8px -8px rgba(0,0,0,.08)}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:after{right:0;box-shadow:inset -10px 0 8px -8px rgba(0,0,0,.08)}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before{opacity:1}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after{opacity:1}.ant-tabs-top>.ant-tabs-nav:before,.ant-tabs-top>div>.ant-tabs-nav:before{bottom:0}.ant-tabs-top>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-ink-bar{bottom:0}.ant-tabs-bottom>.ant-tabs-nav,.ant-tabs-bottom>div>.ant-tabs-nav{order:1;margin-top:8px;margin-bottom:0}.ant-tabs-bottom>.ant-tabs-nav:before,.ant-tabs-bottom>div>.ant-tabs-nav:before{top:0}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-ink-bar{top:0}.ant-tabs-bottom>.ant-tabs-content-holder,.ant-tabs-bottom>div>.ant-tabs-content-holder{order:0}.ant-tabs-left>.ant-tabs-nav,.ant-tabs-left>div>.ant-tabs-nav,.ant-tabs-right>.ant-tabs-nav,.ant-tabs-right>div>.ant-tabs-nav{flex-direction:column;min-width:50px}.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab{padding:4px 16px;text-align:center}.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin:8px 0 0}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap{flex-direction:column}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{right:0;left:0;height:30px}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{top:0;box-shadow:inset 0 10px 8px -8px rgba(0,0,0,.08)}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:after{bottom:0;box-shadow:inset 0 -10px 8px -8px rgba(0,0,0,.08)}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before{opacity:1}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after{opacity:1}.ant-tabs-left>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-right>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-ink-bar{width:2px}.ant-tabs-left>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-right>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-ink-bar-animated{transition:height .3s,top .3s}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-operations{flex:1 0 auto;flex-direction:column}.ant-tabs-left>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-ink-bar{right:0}.ant-tabs-left>.ant-tabs-content-holder,.ant-tabs-left>div>.ant-tabs-content-holder{margin-left:-1px;border-left:1px solid #303030}.ant-tabs-left>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane,.ant-tabs-left>div>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane{padding-left:16px}.ant-tabs-right>.ant-tabs-nav,.ant-tabs-right>div>.ant-tabs-nav{order:1}.ant-tabs-right>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-ink-bar{left:0}.ant-tabs-right>.ant-tabs-content-holder,.ant-tabs-right>div>.ant-tabs-content-holder{order:0;margin-right:-1px;border-right:1px solid #303030}.ant-tabs-right>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane,.ant-tabs-right>div>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane{padding-right:16px}.ant-tabs-dropdown{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";position:absolute;top:-9999px;left:-9999px;z-index:1050;display:block}.ant-tabs-dropdown-hidden{display:none}.ant-tabs-dropdown-menu{max-height:200px;margin:0;padding:4px 0;overflow-x:hidden;overflow-y:auto;text-align:left;list-style-type:none;background-color:#1f1f1f;background-clip:padding-box;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px rgba(0,0,0,.48),0 6px 16px 0 rgba(0,0,0,.32),0 9px 28px 8px rgba(0,0,0,.2)}.ant-tabs-dropdown-menu-item{display:flex;align-items:center;min-width:120px;margin:0;padding:5px 8px;overflow:hidden;color:hsla(0,0%,100%,.85);font-weight:400;font-size:12px;line-height:18px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:all .3s}.ant-tabs-dropdown-menu-item>span{flex:1 1;white-space:nowrap}.ant-tabs-dropdown-menu-item-remove{flex:none;margin-left:8px;color:hsla(0,0%,100%,.45);font-size:12px;background:transparent;border:0;cursor:pointer}.ant-tabs-dropdown-menu-item-remove:hover{color:#165996}.ant-tabs-dropdown-menu-item:hover{background:hsla(0,0%,100%,.08)}.ant-tabs-dropdown-menu-item-disabled,.ant-tabs-dropdown-menu-item-disabled:hover{color:hsla(0,0%,100%,.3);background:transparent;cursor:not-allowed}.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-tab{margin:0;padding:4px 8px;background:hsla(0,0%,100%,.04);border:1px solid #303030;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-tab-active{color:#177ddc;background:#141414}.ant-tabs-card>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-ink-bar{visibility:hidden}.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin-left:2px}.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab{border-radius:2px 2px 0 0}.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab-active{border-bottom-color:#141414}.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab{border-radius:0 0 2px 2px}.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab-active{border-top-color:#141414}.ant-tabs-card.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab,.ant-tabs-card.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab+.ant-tabs-tab{margin-top:2px}.ant-tabs-card.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab{border-radius:2px 0 0 2px}.ant-tabs-card.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab-active{border-right-color:#141414}.ant-tabs-card.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab{border-radius:0 2px 2px 0}.ant-tabs-card.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab-active{border-left-color:#141414}.ant-tabs{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";display:flex}.ant-tabs>.ant-tabs-nav,.ant-tabs>div>.ant-tabs-nav{position:relative;display:flex;flex:none;align-items:center}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-wrap{position:relative;display:inline-block;display:flex;flex:auto;align-self:stretch;overflow:hidden;white-space:nowrap;transform:translate(0)}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{position:absolute;z-index:1;opacity:0;transition:opacity .3s;content:\"\";pointer-events:none}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-list{position:relative;display:flex;transition:transform .3s}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-operations{display:flex;align-self:stretch}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-operations-hidden,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-operations-hidden{position:absolute;visibility:hidden;pointer-events:none}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-more,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-more{position:relative;padding:4px 8px;background:transparent;border:0}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-more:after,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-more:after{position:absolute;right:0;bottom:0;left:0;height:5px;transform:translateY(100%);content:\"\"}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add{min-width:40px;margin-left:2px;padding:0 4px;background:hsla(0,0%,100%,.04);border:1px solid #303030;border-radius:2px 2px 0 0;outline:none;cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add:hover,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add:hover{color:#165996}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add:active,.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add:focus,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add:active,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add:focus{color:#388ed3}.ant-tabs-extra-content{flex:none}.ant-tabs-centered>.ant-tabs-nav .ant-tabs-nav-wrap:not([class*=ant-tabs-nav-wrap-ping]),.ant-tabs-centered>div>.ant-tabs-nav .ant-tabs-nav-wrap:not([class*=ant-tabs-nav-wrap-ping]){justify-content:center}.ant-tabs-ink-bar{position:absolute;background:#177ddc;pointer-events:none}.ant-tabs-tab{position:relative;display:inline-flex;align-items:center;padding:8px 0;font-size:12px;background:transparent;border:0;outline:none;cursor:pointer}.ant-tabs-tab-btn:active,.ant-tabs-tab-btn:focus,.ant-tabs-tab-remove:active,.ant-tabs-tab-remove:focus{color:#388ed3}.ant-tabs-tab-btn{outline:none;transition:all .3s}.ant-tabs-tab-remove{flex:none;margin-right:0;margin-left:4px;color:hsla(0,0%,100%,.45);font-size:12px;background:transparent;border:none;outline:none;cursor:pointer;transition:all .3s}.ant-tabs-tab-remove:hover{color:hsla(0,0%,100%,.85)}.ant-tabs-tab:hover{color:#165996}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#177ddc;text-shadow:0 0 .25px currentcolor}.ant-tabs-tab.ant-tabs-tab-disabled{color:hsla(0,0%,100%,.3);cursor:not-allowed}.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-btn:active,.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-btn:focus,.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-remove:active,.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-remove:focus{color:hsla(0,0%,100%,.3)}.ant-tabs-tab .ant-tabs-tab-remove .anticon{margin:0}.ant-tabs-tab .anticon{margin-right:8px}.ant-tabs-tab+.ant-tabs-tab{margin:0 0 0 32px}.ant-tabs-content{position:relative;width:100%}.ant-tabs-content-holder{flex:auto;min-width:0;min-height:0}.ant-tabs-tabpane{outline:none}.ant-tabs-tabpane-hidden{display:none}.ant-tabs-switch-appear,.ant-tabs-switch-enter{transition:none}.ant-tabs-switch-appear-start,.ant-tabs-switch-enter-start{opacity:0}.ant-tabs-switch-appear-active,.ant-tabs-switch-enter-active{opacity:1;transition:opacity .3s}.ant-tabs-switch-leave{position:absolute;transition:none;inset:0}.ant-tabs-switch-leave-start{opacity:1}.ant-tabs-switch-leave-active{opacity:0;transition:opacity .3s}.ant-tooltip{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";position:absolute;z-index:1070;display:block;width:-webkit-max-content;width:-moz-max-content;width:max-content;width:intrinsic;max-width:250px;visibility:visible}.ant-tooltip-content{position:relative}.ant-tooltip-hidden{display:none}.ant-tooltip-placement-top,.ant-tooltip-placement-topLeft,.ant-tooltip-placement-topRight{padding-bottom:14.3137085px}.ant-tooltip-placement-right,.ant-tooltip-placement-rightBottom,.ant-tooltip-placement-rightTop{padding-left:14.3137085px}.ant-tooltip-placement-bottom,.ant-tooltip-placement-bottomLeft,.ant-tooltip-placement-bottomRight{padding-top:14.3137085px}.ant-tooltip-placement-left,.ant-tooltip-placement-leftBottom,.ant-tooltip-placement-leftTop{padding-right:14.3137085px}.ant-tooltip-inner{min-width:30px;min-height:32px;padding:6px 8px;color:#fff;text-align:left;text-decoration:none;word-wrap:break-word;background-color:#434343;border-radius:2px;box-shadow:0 3px 6px -4px rgba(0,0,0,.48),0 6px 16px 0 rgba(0,0,0,.32),0 9px 28px 8px rgba(0,0,0,.2)}.ant-tooltip-arrow{position:absolute;z-index:2;display:block;width:22px;height:22px;overflow:hidden;background:transparent;pointer-events:none}.ant-tooltip-arrow-content{--antd-arrow-background-color:linear-gradient(to right bottom,rgba(67,67,67,0.9),#434343);position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:11.3137085px;height:11.3137085px;margin:auto;content:\"\";pointer-events:auto;border-radius:0 0 2px;pointer-events:none}.ant-tooltip-arrow-content:before{position:absolute;top:-11.3137085px;left:-11.3137085px;width:33.9411255px;height:33.9411255px;background:var(--antd-arrow-background-color);background-repeat:no-repeat;background-position:-10px -10px;content:\"\";-webkit-clip-path:inset(33% 33%);clip-path:inset(33% 33%);-webkit-clip-path:path(\"M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z\");clip-path:path(\"M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z\")}.ant-tooltip-placement-top .ant-tooltip-arrow,.ant-tooltip-placement-topLeft .ant-tooltip-arrow,.ant-tooltip-placement-topRight .ant-tooltip-arrow{bottom:0;transform:translateY(100%)}.ant-tooltip-placement-top .ant-tooltip-arrow-content,.ant-tooltip-placement-topLeft .ant-tooltip-arrow-content,.ant-tooltip-placement-topRight .ant-tooltip-arrow-content{box-shadow:3px 3px 7px rgba(0,0,0,.07);transform:translateY(-11px) rotate(45deg)}.ant-tooltip-placement-top .ant-tooltip-arrow{left:50%;transform:translateY(100%) translateX(-50%)}.ant-tooltip-placement-topLeft .ant-tooltip-arrow{left:13px}.ant-tooltip-placement-topRight .ant-tooltip-arrow{right:13px}.ant-tooltip-placement-right .ant-tooltip-arrow,.ant-tooltip-placement-rightBottom .ant-tooltip-arrow,.ant-tooltip-placement-rightTop .ant-tooltip-arrow{left:0;transform:translateX(-100%)}.ant-tooltip-placement-right .ant-tooltip-arrow-content,.ant-tooltip-placement-rightBottom .ant-tooltip-arrow-content,.ant-tooltip-placement-rightTop .ant-tooltip-arrow-content{box-shadow:-3px 3px 7px rgba(0,0,0,.07);transform:translateX(11px) rotate(135deg)}.ant-tooltip-placement-right .ant-tooltip-arrow{top:50%;transform:translateX(-100%) translateY(-50%)}.ant-tooltip-placement-rightTop .ant-tooltip-arrow{top:5px}.ant-tooltip-placement-rightBottom .ant-tooltip-arrow{bottom:5px}.ant-tooltip-placement-left .ant-tooltip-arrow,.ant-tooltip-placement-leftBottom .ant-tooltip-arrow,.ant-tooltip-placement-leftTop .ant-tooltip-arrow{right:0;transform:translateX(100%)}.ant-tooltip-placement-left .ant-tooltip-arrow-content,.ant-tooltip-placement-leftBottom .ant-tooltip-arrow-content,.ant-tooltip-placement-leftTop .ant-tooltip-arrow-content{box-shadow:3px -3px 7px rgba(0,0,0,.07);transform:translateX(-11px) rotate(315deg)}.ant-tooltip-placement-left .ant-tooltip-arrow{top:50%;transform:translateX(100%) translateY(-50%)}.ant-tooltip-placement-leftTop .ant-tooltip-arrow{top:5px}.ant-tooltip-placement-leftBottom .ant-tooltip-arrow{bottom:5px}.ant-tooltip-placement-bottom .ant-tooltip-arrow,.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow,.ant-tooltip-placement-bottomRight .ant-tooltip-arrow{top:0;transform:translateY(-100%)}.ant-tooltip-placement-bottom .ant-tooltip-arrow-content,.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow-content,.ant-tooltip-placement-bottomRight .ant-tooltip-arrow-content{box-shadow:-3px -3px 7px rgba(0,0,0,.07);transform:translateY(11px) rotate(225deg)}.ant-tooltip-placement-bottom .ant-tooltip-arrow{left:50%;transform:translateY(-100%) translateX(-50%)}.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow{left:13px}.ant-tooltip-placement-bottomRight .ant-tooltip-arrow{right:13px}.ant-tooltip-pink .ant-tooltip-inner{background-color:#cb2b83}.ant-tooltip-pink .ant-tooltip-arrow-content:before{background:#cb2b83}.ant-tooltip-magenta .ant-tooltip-inner{background-color:#cb2b83}.ant-tooltip-magenta .ant-tooltip-arrow-content:before{background:#cb2b83}.ant-tooltip-red .ant-tooltip-inner{background-color:#d32029}.ant-tooltip-red .ant-tooltip-arrow-content:before{background:#d32029}.ant-tooltip-volcano .ant-tooltip-inner{background-color:#d84a1b}.ant-tooltip-volcano .ant-tooltip-arrow-content:before{background:#d84a1b}.ant-tooltip-orange .ant-tooltip-inner{background-color:#d87a16}.ant-tooltip-orange .ant-tooltip-arrow-content:before{background:#d87a16}.ant-tooltip-yellow .ant-tooltip-inner{background-color:#d8bd14}.ant-tooltip-yellow .ant-tooltip-arrow-content:before{background:#d8bd14}.ant-tooltip-gold .ant-tooltip-inner{background-color:#d89614}.ant-tooltip-gold .ant-tooltip-arrow-content:before{background:#d89614}.ant-tooltip-cyan .ant-tooltip-inner{background-color:#13a8a8}.ant-tooltip-cyan .ant-tooltip-arrow-content:before{background:#13a8a8}.ant-tooltip-lime .ant-tooltip-inner{background-color:#8bbb11}.ant-tooltip-lime .ant-tooltip-arrow-content:before{background:#8bbb11}.ant-tooltip-green .ant-tooltip-inner{background-color:#49aa19}.ant-tooltip-green .ant-tooltip-arrow-content:before{background:#49aa19}.ant-tooltip-blue .ant-tooltip-inner{background-color:#177ddc}.ant-tooltip-blue .ant-tooltip-arrow-content:before{background:#177ddc}.ant-tooltip-geekblue .ant-tooltip-inner{background-color:#2b4acb}.ant-tooltip-geekblue .ant-tooltip-arrow-content:before{background:#2b4acb}.ant-tooltip-purple .ant-tooltip-inner{background-color:#642ab5}.ant-tooltip-purple .ant-tooltip-arrow-content:before{background:#642ab5}.ant-tooltip-rtl{direction:rtl}.ant-tooltip-rtl .ant-tooltip-inner{text-align:right}.ant-input-affix-wrapper{position:relative;display:inline-block;width:100%;min-width:0;padding:3px 7px;color:hsla(0,0%,100%,.85);font-size:12px;line-height:1.66667;background-color:transparent;background-image:none;border:1px solid #434343;border-radius:2px;transition:all .3s;display:inline-flex}.ant-input-affix-wrapper::-webkit-input-placeholder{color:hsla(0,0%,100%,.3);-webkit-user-select:none;user-select:none}.ant-input-affix-wrapper::-ms-input-placeholder{color:hsla(0,0%,100%,.3);-ms-user-select:none;user-select:none}.ant-input-affix-wrapper::placeholder{color:hsla(0,0%,100%,.3);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-input-affix-wrapper:placeholder-shown{text-overflow:ellipsis}.ant-input-affix-wrapper:hover{border-color:#165996;border-right-width:1px}.ant-input-rtl .ant-input-affix-wrapper:hover{border-right-width:0;border-left-width:1px!important}.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper:focus{border-color:#177ddc;box-shadow:0 0 0 2px rgba(23,125,220,.2);border-right-width:1px;outline:0}.ant-input-rtl .ant-input-affix-wrapper-focused,.ant-input-rtl .ant-input-affix-wrapper:focus{border-right-width:0;border-left-width:1px!important}.ant-input-affix-wrapper-disabled{color:hsla(0,0%,100%,.3);background-color:hsla(0,0%,100%,.08);border-color:#434343;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-affix-wrapper-disabled:hover{border-color:#434343;border-right-width:1px}.ant-input-affix-wrapper[disabled]{color:hsla(0,0%,100%,.3);background-color:hsla(0,0%,100%,.08);border-color:#434343;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-affix-wrapper[disabled]:hover{border-color:#434343;border-right-width:1px}.ant-input-affix-wrapper-borderless,.ant-input-affix-wrapper-borderless-disabled,.ant-input-affix-wrapper-borderless-focused,.ant-input-affix-wrapper-borderless:focus,.ant-input-affix-wrapper-borderless:hover,.ant-input-affix-wrapper-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-input-affix-wrapper{max-width:100%;height:auto;min-height:28px;line-height:1.66667;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-affix-wrapper-lg{padding:3.4px 11px;font-size:14px}.ant-input-affix-wrapper-sm{padding:0 7px}.ant-input-affix-wrapper-rtl{direction:rtl}.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{border-color:#165996;border-right-width:1px;z-index:1}.ant-input-rtl .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{border-right-width:0;border-left-width:1px!important}.ant-input-search-with-button .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover{z-index:0}.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper:focus{z-index:1}.ant-input-affix-wrapper-disabled .ant-input[disabled]{background:transparent}.ant-input-affix-wrapper>.ant-input{font-size:inherit;border:none;outline:none}.ant-input-affix-wrapper>.ant-input:focus{box-shadow:none!important}.ant-input-affix-wrapper>.ant-input:not(textarea){padding:0}.ant-input-affix-wrapper:before{width:0;visibility:hidden;content:\"\\a0\"}.ant-input-prefix,.ant-input-suffix{display:flex;flex:none;align-items:center}.ant-input-prefix>:not(:last-child),.ant-input-suffix>:not(:last-child){margin-right:8px}.ant-input-show-count-suffix{color:hsla(0,0%,100%,.45)}.ant-input-show-count-has-suffix{margin-right:2px}.ant-input-prefix{margin-right:4px}.ant-input-suffix{margin-left:4px}.ant-input-clear-icon,.anticon.ant-input-clear-icon{margin:0;color:hsla(0,0%,100%,.3);font-size:12px;vertical-align:-1px;cursor:pointer;transition:color .3s}.ant-input-clear-icon:hover,.anticon.ant-input-clear-icon:hover{color:hsla(0,0%,100%,.45)}.ant-input-clear-icon:active,.anticon.ant-input-clear-icon:active{color:hsla(0,0%,100%,.85)}.ant-input-clear-icon-hidden,.anticon.ant-input-clear-icon-hidden{visibility:hidden}.ant-input-clear-icon-has-suffix,.anticon.ant-input-clear-icon-has-suffix{margin:0 4px}.ant-input-affix-wrapper.ant-input-affix-wrapper-textarea-with-clear-btn{padding:0}.ant-input-affix-wrapper.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input-clear-icon{position:absolute;top:8px;right:8px;z-index:1}.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover{background:transparent;border-color:#a61d24}.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused,.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus{border-color:#a61d24;box-shadow:0 0 0 2px rgba(166,29,36,.2);border-right-width:1px;outline:0}.ant-input-status-error .ant-input-prefix{color:#a61d24}.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover{background:transparent;border-color:#d89614}.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused,.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus{border-color:#d89614;box-shadow:0 0 0 2px rgba(216,150,20,.2);border-right-width:1px;outline:0}.ant-input-status-warning .ant-input-prefix{color:#d89614}.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover{background:transparent;border-color:#a61d24}.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused,.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus{border-color:#a61d24;box-shadow:0 0 0 2px rgba(166,29,36,.2);border-right-width:1px;outline:0}.ant-input-affix-wrapper-status-error .ant-input-prefix{color:#a61d24}.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover{background:transparent;border-color:#d89614}.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused,.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus{border-color:#d89614;box-shadow:0 0 0 2px rgba(216,150,20,.2);border-right-width:1px;outline:0}.ant-input-affix-wrapper-status-warning .ant-input-prefix{color:#d89614}.ant-input-textarea-status-error.ant-input-textarea-has-feedback .ant-input,.ant-input-textarea-status-success.ant-input-textarea-has-feedback .ant-input,.ant-input-textarea-status-validating.ant-input-textarea-has-feedback .ant-input,.ant-input-textarea-status-warning.ant-input-textarea-has-feedback .ant-input{padding-right:24px}.ant-input-group-wrapper-status-error .ant-input-group-addon{color:#a61d24;border-color:#a61d24}.ant-input-group-wrapper-status-warning .ant-input-group-addon{color:#d89614;border-color:#d89614}.ant-input{box-sizing:border-box;margin:0;font-variant:tabular-nums;list-style:none;font-feature-settings:tnum,\"tnum\";position:relative;display:inline-block;width:100%;min-width:0;padding:3px 7px;color:hsla(0,0%,100%,.85);font-size:12px;line-height:1.66667;background-color:transparent;background-image:none;border:1px solid #434343;border-radius:2px;transition:all .3s}.ant-input::-webkit-input-placeholder{color:hsla(0,0%,100%,.3);-webkit-user-select:none;user-select:none}.ant-input::-ms-input-placeholder{color:hsla(0,0%,100%,.3);-ms-user-select:none;user-select:none}.ant-input::placeholder{color:hsla(0,0%,100%,.3);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-input:placeholder-shown{text-overflow:ellipsis}.ant-input:hover{border-color:#165996;border-right-width:1px}.ant-input-rtl .ant-input:hover{border-right-width:0;border-left-width:1px!important}.ant-input-focused,.ant-input:focus{border-color:#177ddc;box-shadow:0 0 0 2px rgba(23,125,220,.2);border-right-width:1px;outline:0}.ant-input-rtl .ant-input-focused,.ant-input-rtl .ant-input:focus{border-right-width:0;border-left-width:1px!important}.ant-input-disabled{color:hsla(0,0%,100%,.3);background-color:hsla(0,0%,100%,.08);border-color:#434343;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input-disabled:hover{border-color:#434343;border-right-width:1px}.ant-input[disabled]{color:hsla(0,0%,100%,.3);background-color:hsla(0,0%,100%,.08);border-color:#434343;box-shadow:none;cursor:not-allowed;opacity:1}.ant-input[disabled]:hover{border-color:#434343;border-right-width:1px}.ant-input-borderless,.ant-input-borderless-disabled,.ant-input-borderless-focused,.ant-input-borderless:focus,.ant-input-borderless:hover,.ant-input-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-input{max-width:100%;height:auto;min-height:28px;line-height:1.66667;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-lg{padding:3.4px 11px;font-size:14px}.ant-input-sm{padding:0 7px}.ant-input-rtl{direction:rtl}.ant-input-group{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";position:relative;display:table;width:100%;border-collapse:separate;border-spacing:0}.ant-input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.ant-input-group>[class*=col-]{padding-right:8px}.ant-input-group>[class*=col-]:last-child{padding-right:0}.ant-input-group-addon,.ant-input-group-wrap,.ant-input-group>.ant-input{display:table-cell}.ant-input-group-addon:not(:first-child):not(:last-child),.ant-input-group-wrap:not(:first-child):not(:last-child),.ant-input-group>.ant-input:not(:first-child):not(:last-child){border-radius:0}.ant-input-group-addon,.ant-input-group-wrap{width:1px;white-space:nowrap;vertical-align:middle}.ant-input-group-wrap>*{display:block!important}.ant-input-group .ant-input{float:left;width:100%;margin-bottom:0;text-align:inherit}.ant-input-group .ant-input:focus{z-index:1;border-right-width:1px}.ant-input-group .ant-input:hover{z-index:1;border-right-width:1px}.ant-input-search-with-button .ant-input-group .ant-input:hover{z-index:0}.ant-input-group-addon{position:relative;padding:0 7px;color:hsla(0,0%,100%,.85);font-weight:400;font-size:12px;text-align:center;background-color:hsla(0,0%,100%,.04);border:1px solid #434343;border-radius:2px;transition:all .3s}.ant-input-group-addon .ant-select{margin:-4px -7px}.ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{background-color:inherit;border:1px solid transparent;box-shadow:none}.ant-input-group-addon .ant-select-focused .ant-select-selector,.ant-input-group-addon .ant-select-open .ant-select-selector{color:#177ddc}.ant-input-group-addon .ant-cascader-picker{margin:-9px -8px;background-color:transparent}.ant-input-group-addon .ant-cascader-picker .ant-cascader-input{text-align:left;border:0;box-shadow:none}.ant-input-group-addon:first-child,.ant-input-group>.ant-input:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group-addon:first-child .ant-select .ant-select-selector,.ant-input-group>.ant-input:first-child .ant-select .ant-select-selector{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:first-child) .ant-input{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:last-child) .ant-input{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group-addon:first-child{border-right:0}.ant-input-group-addon:last-child{border-left:0}.ant-input-group-addon:last-child,.ant-input-group>.ant-input:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group-addon:last-child .ant-select .ant-select-selector,.ant-input-group>.ant-input:last-child .ant-select .ant-select-selector{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group-lg .ant-input,.ant-input-group-lg>.ant-input-group-addon{padding:3.4px 11px;font-size:14px}.ant-input-group-sm .ant-input,.ant-input-group-sm>.ant-input-group-addon{padding:0 7px}.ant-input-group-lg .ant-select-single .ant-select-selector{height:32px}.ant-input-group-sm .ant-select-single .ant-select-selector{height:22px}.ant-input-group .ant-input-affix-wrapper:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:last-child){border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-input-group .ant-input-affix-wrapper:not(:first-child),.ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group.ant-input-group-compact{display:block}.ant-input-group.ant-input-group-compact:before{display:table;content:\"\"}.ant-input-group.ant-input-group-compact:after{display:table;clear:both;content:\"\"}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child),.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child),.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child){border-right-width:1px}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):hover,.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):hover,.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child):hover{z-index:1}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child):focus{z-index:1}.ant-input-group.ant-input-group-compact>*{display:inline-block;float:none;vertical-align:top;border-radius:0}.ant-input-group.ant-input-group-compact>.ant-input-affix-wrapper{display:inline-flex}.ant-input-group.ant-input-group-compact>.ant-picker-range{display:inline-flex}.ant-input-group.ant-input-group-compact>:not(:last-child){margin-right:-1px;border-right-width:1px}.ant-input-group.ant-input-group-compact .ant-input{float:none}.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector{border-right-width:1px;border-radius:0}.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector:hover{z-index:1}.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector:focus{z-index:1}.ant-input-group.ant-input-group-compact>.ant-select-focused{z-index:1}.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-arrow{z-index:1}.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-group.ant-input-group-compact>:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-input-group.ant-input-group-compact>.ant-cascader-picker-focused:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-group.ant-input-group-compact>:last-child{border-right-width:1px;border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input{vertical-align:top}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper{margin-left:-1px}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper .ant-input-affix-wrapper{border-radius:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input-group-addon>.ant-input-search-button{border-radius:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:2px 0 0 2px}.ant-input-group-rtl .ant-input-group-addon:first-child,.ant-input-group>.ant-input-rtl:first-child{border-radius:0 2px 2px 0}.ant-input-group-rtl .ant-input-group-addon:first-child{border-right:1px solid #434343;border-left:0}.ant-input-group-rtl .ant-input-group-addon:last-child{border-right:0;border-left:1px solid #434343;border-radius:2px 0 0 2px}.ant-input-group-rtl.ant-input-group-addon:last-child,.ant-input-group-rtl.ant-input-group>.ant-input:last-child{border-radius:2px 0 0 2px}.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:first-child){border-radius:2px 0 0 2px}.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:last-child){border-radius:0 2px 2px 0}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>:not(:last-child){margin-right:0;margin-left:-1px;border-left-width:1px}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>:first-child{border-radius:0 2px 2px 0}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker-focused:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>:last-child{border-left-width:1px;border-radius:2px 0 0 2px}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl+.ant-input-group-wrapper-rtl{margin-right:-1px;margin-left:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:0 2px 2px 0}.ant-input-group-wrapper{display:inline-block;width:100%;text-align:start;vertical-align:top}.ant-input-password-icon.anticon{color:hsla(0,0%,100%,.45);cursor:pointer;transition:all .3s}.ant-input-password-icon.anticon:hover{color:hsla(0,0%,100%,.85)}.ant-input[type=color]{height:28px}.ant-input[type=color].ant-input-lg{height:32px}.ant-input[type=color].ant-input-sm{height:22px;padding-top:3px;padding-bottom:3px}.ant-input-textarea-show-count>.ant-input{height:100%}.ant-input-textarea-show-count:after{float:right;color:hsla(0,0%,100%,.45);white-space:nowrap;content:attr(data-count);pointer-events:none}.ant-input-textarea-show-count.ant-input-textarea-in-form-item:after{margin-bottom:-22px}.ant-input-textarea-suffix{position:absolute;top:0;right:7px;bottom:0;z-index:1;display:inline-flex;align-items:center;margin:auto}.ant-input-compact-item:not(.ant-input-compact-last-item):not(.ant-input-compact-item-rtl){margin-right:-1px}.ant-input-compact-item:not(.ant-input-compact-last-item).ant-input-compact-item-rtl{margin-left:-1px}.ant-input-compact-item:active,.ant-input-compact-item:focus,.ant-input-compact-item:hover{z-index:2}.ant-input-compact-item[disabled]{z-index:0}.ant-input-compact-item:not(.ant-input-compact-first-item):not(.ant-input-compact-last-item).ant-input{border-radius:0}.ant-input-compact-item.ant-input.ant-input-compact-first-item:not(.ant-input-compact-item-rtl){border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-compact-item.ant-input.ant-input-compact-last-item:not(.ant-input-compact-item-rtl){border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-compact-item.ant-input.ant-input-compact-item-rtl.ant-input-compact-first-item{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-compact-item.ant-input.ant-input-compact-item-rtl.ant-input-compact-last-item{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-search .ant-input:focus,.ant-input-search .ant-input:hover{border-color:#165996}.ant-input-search .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),.ant-input-search .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary){border-left-color:#165996}.ant-input-search .ant-input-affix-wrapper{border-radius:0}.ant-input-search .ant-input-lg{line-height:1.66647}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child{left:-1px;padding:0;border:0}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button{padding-top:0;padding-bottom:0;border-radius:0 2px 2px 0}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary){color:hsla(0,0%,100%,.45)}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary).ant-btn-loading:before{top:0;right:0;bottom:0;left:0}.ant-input-search-button{height:28px}.ant-input-search-button:focus,.ant-input-search-button:hover{z-index:1}.ant-input-search-large .ant-input-search-button{height:32px}.ant-input-search-small .ant-input-search-button{height:22px}.ant-input-search.ant-input-compact-item:not(.ant-input-compact-item-rtl):not(.ant-input-compact-last-item) .ant-input-group-addon .ant-input-search-button{margin-right:-1px;border-radius:0}.ant-input-search.ant-input-compact-item:not(.ant-input-compact-first-item) .ant-input,.ant-input-search.ant-input-compact-item:not(.ant-input-compact-first-item) .ant-input-affix-wrapper{border-radius:0}.ant-input-search.ant-input-compact-item .ant-input-affix-wrapper:active,.ant-input-search.ant-input-compact-item .ant-input-affix-wrapper:focus,.ant-input-search.ant-input-compact-item .ant-input-affix-wrapper:hover,.ant-input-search.ant-input-compact-item>.ant-input-group-addon .ant-input-search-button:active,.ant-input-search.ant-input-compact-item>.ant-input-group-addon .ant-input-search-button:focus,.ant-input-search.ant-input-compact-item>.ant-input-group-addon .ant-input-search-button:hover,.ant-input-search.ant-input-compact-item>.ant-input:active,.ant-input-search.ant-input-compact-item>.ant-input:focus,.ant-input-search.ant-input-compact-item>.ant-input:hover{z-index:2}.ant-input-search.ant-input-compact-item>.ant-input-affix-wrapper-focused{z-index:2}.ant-input-search.ant-input-compact-item-rtl:not(.ant-input-compact-last-item) .ant-input-group-addon:last-child .ant-input-search-button{margin-left:-1px;border-radius:0}.ant-input-group-wrapper-rtl{direction:rtl}.ant-input-group-rtl{direction:rtl}.ant-input-affix-wrapper.ant-input-affix-wrapper-rtl>input.ant-input{border:none;outline:none}.ant-input-affix-wrapper-rtl .ant-input-prefix{margin:0 0 0 4px}.ant-input-affix-wrapper-rtl .ant-input-suffix{margin:0 4px 0 0}.ant-input-textarea-rtl{direction:rtl}.ant-input-textarea-rtl.ant-input-textarea-show-count:after{text-align:left}.ant-input-affix-wrapper-rtl .ant-input-clear-icon-has-suffix{margin-right:0;margin-left:4px}.ant-input-affix-wrapper-rtl .ant-input-clear-icon{right:auto;left:8px}.ant-input-search-rtl{direction:rtl}.ant-input-search-rtl .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),.ant-input-search-rtl .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary){border-left-color:#434343}.ant-input-search-rtl .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary):hover,.ant-input-search-rtl .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary):hover{border-left-color:#165996}.ant-input-search-rtl>.ant-input-group>.ant-input-affix-wrapper-focused,.ant-input-search-rtl>.ant-input-group>.ant-input-affix-wrapper:hover{border-right-color:#165996}.ant-input-search-rtl>.ant-input-group>.ant-input-group-addon:last-child{right:-1px;left:auto}.ant-input-search-rtl>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button{border-radius:2px 0 0 2px}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ant-input{height:28px}.ant-input-lg{height:32px}.ant-input-sm{height:22px}.ant-input-affix-wrapper>input.ant-input{height:auto}}.ant-btn{line-height:1.66667;position:relative;display:inline-block;font-weight:400;white-space:nowrap;text-align:center;background-image:none;box-shadow:0 2px 0 rgba(0,0,0,.015);cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:manipulation;height:28px;padding:3px 11px;font-size:12px;border-radius:2px;color:hsla(0,0%,100%,.85);border:1px solid #434343;background:transparent}.ant-btn>.anticon{line-height:1}.ant-btn,.ant-btn:active,.ant-btn:focus{outline:0}.ant-btn:not([disabled]):hover{text-decoration:none}.ant-btn:not([disabled]):active{outline:0;box-shadow:none}.ant-btn[disabled]{cursor:not-allowed}.ant-btn[disabled]>*{pointer-events:none}.ant-btn-lg{height:32px;padding:3.3px 11px;font-size:14px;border-radius:2px}.ant-btn-sm{height:22px;padding:0 7px;font-size:12px;border-radius:2px}.ant-btn>a:only-child{color:currentcolor}.ant-btn>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn:focus,.ant-btn:hover{color:#165996;border-color:#165996;background:transparent}.ant-btn:focus>a:only-child,.ant-btn:hover>a:only-child{color:currentcolor}.ant-btn:focus>a:only-child:after,.ant-btn:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn:active{color:#388ed3;border-color:#388ed3;background:transparent}.ant-btn:active>a:only-child{color:currentcolor}.ant-btn:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn[disabled],.ant-btn[disabled]:active,.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{color:hsla(0,0%,100%,.3);border-color:#434343;background:hsla(0,0%,100%,.08);text-shadow:none;box-shadow:none}.ant-btn[disabled]:active>a:only-child,.ant-btn[disabled]:focus>a:only-child,.ant-btn[disabled]:hover>a:only-child,.ant-btn[disabled]>a:only-child{color:currentcolor}.ant-btn[disabled]:active>a:only-child:after,.ant-btn[disabled]:focus>a:only-child:after,.ant-btn[disabled]:hover>a:only-child:after,.ant-btn[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn:active,.ant-btn:focus,.ant-btn:hover{text-decoration:none;background:transparent}.ant-btn>span{display:inline-block}.ant-btn-primary{color:#fff;border-color:#177ddc;background:#177ddc;text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px 0 rgba(0,0,0,.045)}.ant-btn-primary>a:only-child{color:currentcolor}.ant-btn-primary>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-primary:focus,.ant-btn-primary:hover{color:#fff;border-color:#095cb5;background:#095cb5}.ant-btn-primary:focus>a:only-child,.ant-btn-primary:hover>a:only-child{color:currentcolor}.ant-btn-primary:focus>a:only-child:after,.ant-btn-primary:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-primary:active{color:#fff;border-color:#3c9be8;background:#3c9be8}.ant-btn-primary:active>a:only-child{color:currentcolor}.ant-btn-primary:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:active,.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{color:hsla(0,0%,100%,.3);border-color:#434343;background:hsla(0,0%,100%,.08);text-shadow:none;box-shadow:none}.ant-btn-primary[disabled]:active>a:only-child,.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-primary[disabled]>a:only-child{color:currentcolor}.ant-btn-primary[disabled]:active>a:only-child:after,.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-primary[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child){border-right-color:#165996;border-left-color:#165996}.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child):disabled{border-color:#434343}.ant-btn-group .ant-btn-primary:first-child:not(:last-child){border-right-color:#165996}.ant-btn-group .ant-btn-primary:first-child:not(:last-child)[disabled]{border-right-color:#434343}.ant-btn-group .ant-btn-primary+.ant-btn-primary,.ant-btn-group .ant-btn-primary:last-child:not(:first-child){border-left-color:#165996}.ant-btn-group .ant-btn-primary+.ant-btn-primary[disabled],.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled]{border-left-color:#434343}.ant-btn-ghost{color:hsla(0,0%,100%,.85);border-color:#434343;background:transparent}.ant-btn-ghost>a:only-child{color:currentcolor}.ant-btn-ghost>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-ghost:focus,.ant-btn-ghost:hover{color:#165996;border-color:#165996;background:transparent}.ant-btn-ghost:focus>a:only-child,.ant-btn-ghost:hover>a:only-child{color:currentcolor}.ant-btn-ghost:focus>a:only-child:after,.ant-btn-ghost:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-ghost:active{color:#388ed3;border-color:#388ed3;background:transparent}.ant-btn-ghost:active>a:only-child{color:currentcolor}.ant-btn-ghost:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-ghost[disabled],.ant-btn-ghost[disabled]:active,.ant-btn-ghost[disabled]:focus,.ant-btn-ghost[disabled]:hover{color:hsla(0,0%,100%,.3);border-color:#434343;background:hsla(0,0%,100%,.08);text-shadow:none;box-shadow:none}.ant-btn-ghost[disabled]:active>a:only-child,.ant-btn-ghost[disabled]:focus>a:only-child,.ant-btn-ghost[disabled]:hover>a:only-child,.ant-btn-ghost[disabled]>a:only-child{color:currentcolor}.ant-btn-ghost[disabled]:active>a:only-child:after,.ant-btn-ghost[disabled]:focus>a:only-child:after,.ant-btn-ghost[disabled]:hover>a:only-child:after,.ant-btn-ghost[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dashed{color:hsla(0,0%,100%,.85);border-color:#434343;background:transparent;border-style:dashed}.ant-btn-dashed>a:only-child{color:currentcolor}.ant-btn-dashed>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dashed:focus,.ant-btn-dashed:hover{color:#165996;border-color:#165996;background:transparent}.ant-btn-dashed:focus>a:only-child,.ant-btn-dashed:hover>a:only-child{color:currentcolor}.ant-btn-dashed:focus>a:only-child:after,.ant-btn-dashed:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dashed:active{color:#388ed3;border-color:#388ed3;background:transparent}.ant-btn-dashed:active>a:only-child{color:currentcolor}.ant-btn-dashed:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dashed[disabled],.ant-btn-dashed[disabled]:active,.ant-btn-dashed[disabled]:focus,.ant-btn-dashed[disabled]:hover{color:hsla(0,0%,100%,.3);border-color:#434343;background:hsla(0,0%,100%,.08);text-shadow:none;box-shadow:none}.ant-btn-dashed[disabled]:active>a:only-child,.ant-btn-dashed[disabled]:focus>a:only-child,.ant-btn-dashed[disabled]:hover>a:only-child,.ant-btn-dashed[disabled]>a:only-child{color:currentcolor}.ant-btn-dashed[disabled]:active>a:only-child:after,.ant-btn-dashed[disabled]:focus>a:only-child:after,.ant-btn-dashed[disabled]:hover>a:only-child:after,.ant-btn-dashed[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-danger{color:#fff;border-color:#a61d24;background:#a61d24;text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px 0 rgba(0,0,0,.045)}.ant-btn-danger>a:only-child{color:currentcolor}.ant-btn-danger>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-danger:focus,.ant-btn-danger:hover{color:#fff;border-color:#800f19;background:#800f19}.ant-btn-danger:focus>a:only-child,.ant-btn-danger:hover>a:only-child{color:currentcolor}.ant-btn-danger:focus>a:only-child:after,.ant-btn-danger:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-danger:active{color:#fff;border-color:#b33b3d;background:#b33b3d}.ant-btn-danger:active>a:only-child{color:currentcolor}.ant-btn-danger:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-danger[disabled],.ant-btn-danger[disabled]:active,.ant-btn-danger[disabled]:focus,.ant-btn-danger[disabled]:hover{color:hsla(0,0%,100%,.3);border-color:#434343;background:hsla(0,0%,100%,.08);text-shadow:none;box-shadow:none}.ant-btn-danger[disabled]:active>a:only-child,.ant-btn-danger[disabled]:focus>a:only-child,.ant-btn-danger[disabled]:hover>a:only-child,.ant-btn-danger[disabled]>a:only-child{color:currentcolor}.ant-btn-danger[disabled]:active>a:only-child:after,.ant-btn-danger[disabled]:focus>a:only-child:after,.ant-btn-danger[disabled]:hover>a:only-child:after,.ant-btn-danger[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-link{color:#177ddc;border-color:transparent;background:transparent;box-shadow:none}.ant-btn-link>a:only-child{color:currentcolor}.ant-btn-link>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-link:focus,.ant-btn-link:hover{color:#165996;border-color:#165996;background:transparent}.ant-btn-link:focus>a:only-child,.ant-btn-link:hover>a:only-child{color:currentcolor}.ant-btn-link:focus>a:only-child:after,.ant-btn-link:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-link:active{color:#388ed3;border-color:#388ed3;background:transparent}.ant-btn-link:active>a:only-child{color:currentcolor}.ant-btn-link:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-link[disabled],.ant-btn-link[disabled]:active,.ant-btn-link[disabled]:focus,.ant-btn-link[disabled]:hover{border-color:#434343;background:hsla(0,0%,100%,.08)}.ant-btn-link:hover{background:transparent}.ant-btn-link:active,.ant-btn-link:focus,.ant-btn-link:hover{border-color:transparent}.ant-btn-link[disabled],.ant-btn-link[disabled]:active,.ant-btn-link[disabled]:focus,.ant-btn-link[disabled]:hover{color:hsla(0,0%,100%,.3);border-color:transparent;background:transparent;text-shadow:none;box-shadow:none}.ant-btn-link[disabled]:active>a:only-child,.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-link[disabled]>a:only-child{color:currentcolor}.ant-btn-link[disabled]:active>a:only-child:after,.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-link[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-text{color:hsla(0,0%,100%,.85);border-color:transparent;background:transparent;box-shadow:none}.ant-btn-text>a:only-child{color:currentcolor}.ant-btn-text>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-text:focus,.ant-btn-text:hover{color:#165996;border-color:#165996;background:transparent}.ant-btn-text:focus>a:only-child,.ant-btn-text:hover>a:only-child{color:currentcolor}.ant-btn-text:focus>a:only-child:after,.ant-btn-text:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-text:active{color:#388ed3;border-color:#388ed3;background:transparent}.ant-btn-text:active>a:only-child{color:currentcolor}.ant-btn-text:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-text[disabled],.ant-btn-text[disabled]:active,.ant-btn-text[disabled]:focus,.ant-btn-text[disabled]:hover{border-color:#434343;background:hsla(0,0%,100%,.08)}.ant-btn-text:focus,.ant-btn-text:hover{color:hsla(0,0%,100%,.85);background:hsla(0,0%,100%,.03);border-color:transparent}.ant-btn-text:active{color:hsla(0,0%,100%,.85);background:hsla(0,0%,100%,.04);border-color:transparent}.ant-btn-text[disabled],.ant-btn-text[disabled]:active,.ant-btn-text[disabled]:focus,.ant-btn-text[disabled]:hover{color:hsla(0,0%,100%,.3);border-color:transparent;background:transparent;text-shadow:none;box-shadow:none}.ant-btn-text[disabled]:active>a:only-child,.ant-btn-text[disabled]:focus>a:only-child,.ant-btn-text[disabled]:hover>a:only-child,.ant-btn-text[disabled]>a:only-child{color:currentcolor}.ant-btn-text[disabled]:active>a:only-child:after,.ant-btn-text[disabled]:focus>a:only-child:after,.ant-btn-text[disabled]:hover>a:only-child:after,.ant-btn-text[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dangerous{color:#a61d24;border-color:#a61d24;background:transparent}.ant-btn-dangerous>a:only-child{color:currentcolor}.ant-btn-dangerous>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dangerous:focus,.ant-btn-dangerous:hover{color:#800f19;border-color:#800f19;background:transparent}.ant-btn-dangerous:focus>a:only-child,.ant-btn-dangerous:hover>a:only-child{color:currentcolor}.ant-btn-dangerous:focus>a:only-child:after,.ant-btn-dangerous:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dangerous:active{color:#b33b3d;border-color:#b33b3d;background:transparent}.ant-btn-dangerous:active>a:only-child{color:currentcolor}.ant-btn-dangerous:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dangerous[disabled],.ant-btn-dangerous[disabled]:active,.ant-btn-dangerous[disabled]:focus,.ant-btn-dangerous[disabled]:hover{color:hsla(0,0%,100%,.3);border-color:#434343;background:hsla(0,0%,100%,.08);text-shadow:none;box-shadow:none}.ant-btn-dangerous[disabled]:active>a:only-child,.ant-btn-dangerous[disabled]:focus>a:only-child,.ant-btn-dangerous[disabled]:hover>a:only-child,.ant-btn-dangerous[disabled]>a:only-child{color:currentcolor}.ant-btn-dangerous[disabled]:active>a:only-child:after,.ant-btn-dangerous[disabled]:focus>a:only-child:after,.ant-btn-dangerous[disabled]:hover>a:only-child:after,.ant-btn-dangerous[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dangerous.ant-btn-primary{color:#fff;border-color:#a61d24;background:#a61d24;text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px 0 rgba(0,0,0,.045)}.ant-btn-dangerous.ant-btn-primary>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-primary>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dangerous.ant-btn-primary:focus,.ant-btn-dangerous.ant-btn-primary:hover{color:#fff;border-color:#800f19;background:#800f19}.ant-btn-dangerous.ant-btn-primary:focus>a:only-child,.ant-btn-dangerous.ant-btn-primary:hover>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-primary:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-primary:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dangerous.ant-btn-primary:active{color:#fff;border-color:#b33b3d;background:#b33b3d}.ant-btn-dangerous.ant-btn-primary:active>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-primary:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dangerous.ant-btn-primary[disabled],.ant-btn-dangerous.ant-btn-primary[disabled]:active,.ant-btn-dangerous.ant-btn-primary[disabled]:focus,.ant-btn-dangerous.ant-btn-primary[disabled]:hover{color:hsla(0,0%,100%,.3);border-color:#434343;background:hsla(0,0%,100%,.08);text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-primary[disabled]:active>a:only-child,.ant-btn-dangerous.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-dangerous.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-dangerous.ant-btn-primary[disabled]>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-primary[disabled]:active>a:only-child:after,.ant-btn-dangerous.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-primary[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dangerous.ant-btn-link{color:#a61d24;border-color:transparent;background:transparent;box-shadow:none}.ant-btn-dangerous.ant-btn-link>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-link>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dangerous.ant-btn-link:focus,.ant-btn-dangerous.ant-btn-link:hover{color:#165996;border-color:#165996}.ant-btn-dangerous.ant-btn-link:active{color:#388ed3;border-color:#388ed3}.ant-btn-dangerous.ant-btn-link[disabled],.ant-btn-dangerous.ant-btn-link[disabled]:active,.ant-btn-dangerous.ant-btn-link[disabled]:focus,.ant-btn-dangerous.ant-btn-link[disabled]:hover{border-color:#434343;background:hsla(0,0%,100%,.08)}.ant-btn-dangerous.ant-btn-link:focus,.ant-btn-dangerous.ant-btn-link:hover{color:#800f19;border-color:transparent;background:transparent}.ant-btn-dangerous.ant-btn-link:focus>a:only-child,.ant-btn-dangerous.ant-btn-link:hover>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-link:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-link:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dangerous.ant-btn-link:active{color:#b33b3d;border-color:transparent;background:transparent}.ant-btn-dangerous.ant-btn-link:active>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-link:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dangerous.ant-btn-link[disabled],.ant-btn-dangerous.ant-btn-link[disabled]:active,.ant-btn-dangerous.ant-btn-link[disabled]:focus,.ant-btn-dangerous.ant-btn-link[disabled]:hover{color:hsla(0,0%,100%,.3);border-color:transparent;background:transparent;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child,.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child:after,.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dangerous.ant-btn-text{color:#a61d24;border-color:transparent;background:transparent;box-shadow:none}.ant-btn-dangerous.ant-btn-text>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-text>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dangerous.ant-btn-text:focus,.ant-btn-dangerous.ant-btn-text:hover{color:#165996;border-color:#165996;background:transparent}.ant-btn-dangerous.ant-btn-text:active{color:#388ed3;border-color:#388ed3;background:transparent}.ant-btn-dangerous.ant-btn-text[disabled],.ant-btn-dangerous.ant-btn-text[disabled]:active,.ant-btn-dangerous.ant-btn-text[disabled]:focus,.ant-btn-dangerous.ant-btn-text[disabled]:hover{border-color:#434343;background:hsla(0,0%,100%,.08)}.ant-btn-dangerous.ant-btn-text:focus,.ant-btn-dangerous.ant-btn-text:hover{color:#800f19;border-color:transparent;background:hsla(0,0%,100%,.03)}.ant-btn-dangerous.ant-btn-text:focus>a:only-child,.ant-btn-dangerous.ant-btn-text:hover>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-text:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-text:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dangerous.ant-btn-text:active{color:#b33b3d;border-color:transparent;background:hsla(0,0%,100%,.04)}.ant-btn-dangerous.ant-btn-text:active>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-text:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-dangerous.ant-btn-text[disabled],.ant-btn-dangerous.ant-btn-text[disabled]:active,.ant-btn-dangerous.ant-btn-text[disabled]:focus,.ant-btn-dangerous.ant-btn-text[disabled]:hover{color:hsla(0,0%,100%,.3);border-color:transparent;background:transparent;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-text[disabled]:active>a:only-child,.ant-btn-dangerous.ant-btn-text[disabled]:focus>a:only-child,.ant-btn-dangerous.ant-btn-text[disabled]:hover>a:only-child,.ant-btn-dangerous.ant-btn-text[disabled]>a:only-child{color:currentcolor}.ant-btn-dangerous.ant-btn-text[disabled]:active>a:only-child:after,.ant-btn-dangerous.ant-btn-text[disabled]:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-text[disabled]:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-text[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-icon-only{width:28px;height:28px;padding:1.3px 0;font-size:14px;border-radius:2px;vertical-align:-3px}.ant-btn-icon-only>*{font-size:14px}.ant-btn-icon-only.ant-btn-lg{width:32px;height:32px;padding:1.7px 0;font-size:16px;border-radius:2px}.ant-btn-icon-only.ant-btn-lg>*{font-size:16px}.ant-btn-icon-only.ant-btn-sm{width:22px;height:22px;padding:0;font-size:12px;border-radius:2px}.ant-btn-icon-only.ant-btn-sm>*{font-size:12px}.ant-btn-icon-only>.anticon{display:flex;justify-content:center}.ant-btn-icon-only .anticon-loading{padding:0!important}a.ant-btn-icon-only{vertical-align:-1px}a.ant-btn-icon-only>.anticon{display:inline}.ant-btn-round{height:28px;padding:3px 14px;font-size:12px;border-radius:28px}.ant-btn-round.ant-btn-lg{height:32px;padding:3.3px 16px;font-size:14px;border-radius:32px}.ant-btn-round.ant-btn-sm{height:22px;padding:0 11px;font-size:12px;border-radius:22px}.ant-btn-round.ant-btn-icon-only{width:auto}.ant-btn-circle{min-width:28px;padding-right:0;padding-left:0;text-align:center;border-radius:50%}.ant-btn-circle.ant-btn-lg{min-width:32px;border-radius:50%}.ant-btn-circle.ant-btn-sm{min-width:22px;border-radius:50%}.ant-btn:before{position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;z-index:1;display:none;background:#141414;border-radius:inherit;opacity:.35;transition:opacity .2s;content:\"\";pointer-events:none}.ant-btn .anticon{transition:margin-left .3s cubic-bezier(.645,.045,.355,1)}.ant-btn .anticon.anticon-minus>svg,.ant-btn .anticon.anticon-plus>svg{shape-rendering:optimizespeed}.ant-btn.ant-btn-loading{position:relative;cursor:default}.ant-btn.ant-btn-loading:before{display:block}.ant-btn>.ant-btn-loading-icon{transition:width .3s cubic-bezier(.645,.045,.355,1),opacity .3s cubic-bezier(.645,.045,.355,1)}.ant-btn>.ant-btn-loading-icon .anticon{padding-right:4px;animation:none}.ant-btn>.ant-btn-loading-icon .anticon svg{animation:loadingCircle 1s linear infinite}.ant-btn-group{position:relative;display:inline-flex}.ant-btn-group>.ant-btn,.ant-btn-group>span>.ant-btn{position:relative}.ant-btn-group>.ant-btn:active,.ant-btn-group>.ant-btn:focus,.ant-btn-group>.ant-btn:hover,.ant-btn-group>span>.ant-btn:active,.ant-btn-group>span>.ant-btn:focus,.ant-btn-group>span>.ant-btn:hover{z-index:2}.ant-btn-group>.ant-btn[disabled],.ant-btn-group>span>.ant-btn[disabled]{z-index:0}.ant-btn-group .ant-btn-icon-only{font-size:12px}.ant-btn+.ant-btn-group,.ant-btn-group+.ant-btn,.ant-btn-group+.ant-btn-group,.ant-btn-group .ant-btn+.ant-btn,.ant-btn-group .ant-btn+span,.ant-btn-group>span+span,.ant-btn-group span+.ant-btn{margin-left:-1px}.ant-btn-group .ant-btn-primary+.ant-btn:not(.ant-btn-primary):not([disabled]){border-left-color:transparent}.ant-btn-group .ant-btn{border-radius:0}.ant-btn-group>.ant-btn:first-child,.ant-btn-group>span:first-child>.ant-btn{margin-left:0}.ant-btn-group>.ant-btn:only-child{border-radius:2px}.ant-btn-group>span:only-child>.ant-btn{border-radius:2px}.ant-btn-group>.ant-btn:first-child:not(:last-child),.ant-btn-group>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-btn-group>.ant-btn:last-child:not(:first-child),.ant-btn-group>span:last-child:not(:first-child)>.ant-btn{border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-btn-group-sm>.ant-btn:only-child{border-radius:2px}.ant-btn-group-sm>span:only-child>.ant-btn{border-radius:2px}.ant-btn-group-sm>.ant-btn:first-child:not(:last-child),.ant-btn-group-sm>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:2px;border-bottom-left-radius:2px}.ant-btn-group-sm>.ant-btn:last-child:not(:first-child),.ant-btn-group-sm>span:last-child:not(:first-child)>.ant-btn{border-top-right-radius:2px;border-bottom-right-radius:2px}.ant-btn-group>.ant-btn-group{float:left}.ant-btn-group>.ant-btn-group:not(:first-child):not(:last-child)>.ant-btn{border-radius:0}.ant-btn-group>.ant-btn-group:first-child:not(:last-child)>.ant-btn:last-child{padding-right:8px;border-top-right-radius:0;border-bottom-right-radius:0}.ant-btn-group>.ant-btn-group:last-child:not(:first-child)>.ant-btn:first-child{padding-left:8px;border-top-left-radius:0;border-bottom-left-radius:0}.ant-btn-group-rtl.ant-btn+.ant-btn-group,.ant-btn-group-rtl.ant-btn-group+.ant-btn,.ant-btn-group-rtl.ant-btn-group+.ant-btn-group,.ant-btn-group-rtl.ant-btn-group .ant-btn+.ant-btn,.ant-btn-group-rtl.ant-btn-group .ant-btn+span,.ant-btn-group-rtl.ant-btn-group>span+span,.ant-btn-group-rtl.ant-btn-group span+.ant-btn,.ant-btn-rtl.ant-btn+.ant-btn-group,.ant-btn-rtl.ant-btn-group+.ant-btn,.ant-btn-rtl.ant-btn-group+.ant-btn-group,.ant-btn-rtl.ant-btn-group .ant-btn+.ant-btn,.ant-btn-rtl.ant-btn-group .ant-btn+span,.ant-btn-rtl.ant-btn-group>span+span,.ant-btn-rtl.ant-btn-group span+.ant-btn{margin-right:-1px;margin-left:auto}.ant-btn-group.ant-btn-group-rtl{direction:rtl}.ant-btn-group-rtl.ant-btn-group>.ant-btn:first-child:not(:last-child),.ant-btn-group-rtl.ant-btn-group>span:first-child:not(:last-child)>.ant-btn{border-radius:0 2px 2px 0}.ant-btn-group-rtl.ant-btn-group>.ant-btn:last-child:not(:first-child),.ant-btn-group-rtl.ant-btn-group>span:last-child:not(:first-child)>.ant-btn{border-radius:2px 0 0 2px}.ant-btn-group-rtl.ant-btn-group-sm>.ant-btn:first-child:not(:last-child),.ant-btn-group-rtl.ant-btn-group-sm>span:first-child:not(:last-child)>.ant-btn{border-radius:0 2px 2px 0}.ant-btn-group-rtl.ant-btn-group-sm>.ant-btn:last-child:not(:first-child),.ant-btn-group-rtl.ant-btn-group-sm>span:last-child:not(:first-child)>.ant-btn{border-radius:2px 0 0 2px}.ant-btn:active>span,.ant-btn:focus>span{position:relative}.ant-btn>.anticon+span,.ant-btn>span+.anticon{margin-left:4px}.ant-btn.ant-btn-background-ghost{color:hsla(0,0%,100%,.85);border-color:hsla(0,0%,100%,.25)}.ant-btn.ant-btn-background-ghost,.ant-btn.ant-btn-background-ghost:active,.ant-btn.ant-btn-background-ghost:focus,.ant-btn.ant-btn-background-ghost:hover{background:transparent}.ant-btn.ant-btn-background-ghost:focus,.ant-btn.ant-btn-background-ghost:hover{color:#3c9be8;border-color:#3c9be8}.ant-btn.ant-btn-background-ghost:active{color:#095cb5;border-color:#095cb5}.ant-btn.ant-btn-background-ghost[disabled]{color:hsla(0,0%,100%,.3);background:transparent;border-color:#434343}.ant-btn-background-ghost.ant-btn-primary{color:#177ddc;border-color:#177ddc;text-shadow:none}.ant-btn-background-ghost.ant-btn-primary>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-primary>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-background-ghost.ant-btn-primary:focus,.ant-btn-background-ghost.ant-btn-primary:hover{color:#095cb5;border-color:#095cb5}.ant-btn-background-ghost.ant-btn-primary:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary:hover>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-primary:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-background-ghost.ant-btn-primary:active{color:#3c9be8;border-color:#3c9be8}.ant-btn-background-ghost.ant-btn-primary:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-primary:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-background-ghost.ant-btn-primary[disabled],.ant-btn-background-ghost.ant-btn-primary[disabled]:active,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover{color:hsla(0,0%,100%,.3);border-color:#434343;background:hsla(0,0%,100%,.08);text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-primary[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-primary[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-background-ghost.ant-btn-danger{color:#a61d24;border-color:#a61d24;text-shadow:none}.ant-btn-background-ghost.ant-btn-danger>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-danger>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-background-ghost.ant-btn-danger:focus,.ant-btn-background-ghost.ant-btn-danger:hover{color:#800f19;border-color:#800f19}.ant-btn-background-ghost.ant-btn-danger:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger:hover>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-danger:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-background-ghost.ant-btn-danger:active{color:#b33b3d;border-color:#b33b3d}.ant-btn-background-ghost.ant-btn-danger:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-danger:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-background-ghost.ant-btn-danger[disabled],.ant-btn-background-ghost.ant-btn-danger[disabled]:active,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover{color:hsla(0,0%,100%,.3);border-color:#434343;background:hsla(0,0%,100%,.08);text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-danger[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-danger[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-background-ghost.ant-btn-dangerous{color:#a61d24;border-color:#a61d24;text-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-background-ghost.ant-btn-dangerous:focus,.ant-btn-background-ghost.ant-btn-dangerous:hover{color:#800f19;border-color:#800f19}.ant-btn-background-ghost.ant-btn-dangerous:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous:hover>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-background-ghost.ant-btn-dangerous:active{color:#b33b3d;border-color:#b33b3d}.ant-btn-background-ghost.ant-btn-dangerous:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-background-ghost.ant-btn-dangerous[disabled],.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover{color:hsla(0,0%,100%,.3);border-color:#434343;background:hsla(0,0%,100%,.08);text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous[disabled]>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link{color:#a61d24;border-color:transparent;text-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover{color:#800f19;border-color:transparent}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active{color:#b33b3d;border-color:transparent}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled],.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover{color:hsla(0,0%,100%,.3);border-color:#434343;background:hsla(0,0%,100%,.08);text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child{color:currentcolor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}.ant-btn-two-chinese-chars:first-letter{letter-spacing:.34em}.ant-btn-two-chinese-chars>:not(.anticon){margin-right:-.34em;letter-spacing:.34em}.ant-btn.ant-btn-block{width:100%}.ant-btn:empty{display:inline-block;width:0;visibility:hidden;content:\"\\a0\"}a.ant-btn{padding-top:.01px!important;line-height:26px}a.ant-btn-disabled{cursor:not-allowed}a.ant-btn-disabled>*{pointer-events:none}a.ant-btn-disabled,a.ant-btn-disabled:active,a.ant-btn-disabled:focus,a.ant-btn-disabled:hover{color:hsla(0,0%,100%,.3);border-color:transparent;background:transparent;text-shadow:none;box-shadow:none}a.ant-btn-disabled:active>a:only-child,a.ant-btn-disabled:focus>a:only-child,a.ant-btn-disabled:hover>a:only-child,a.ant-btn-disabled>a:only-child{color:currentcolor}a.ant-btn-disabled:active>a:only-child:after,a.ant-btn-disabled:focus>a:only-child:after,a.ant-btn-disabled:hover>a:only-child:after,a.ant-btn-disabled>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:\"\"}a.ant-btn-lg{line-height:30px}a.ant-btn-sm{line-height:20px}.ant-btn-compact-item:not(.ant-btn-compact-last-item):not(.ant-btn-compact-item-rtl){margin-right:-1px}.ant-btn-compact-item:not(.ant-btn-compact-last-item).ant-btn-compact-item-rtl{margin-left:-1px}.ant-btn-compact-item:active,.ant-btn-compact-item:focus,.ant-btn-compact-item:hover{z-index:2}.ant-btn-compact-item[disabled]{z-index:0}.ant-btn-compact-item:not(.ant-btn-compact-first-item):not(.ant-btn-compact-last-item).ant-btn{border-radius:0}.ant-btn-compact-item.ant-btn.ant-btn-compact-first-item:not(.ant-btn-compact-item-rtl){border-top-right-radius:0;border-bottom-right-radius:0}.ant-btn-compact-item.ant-btn.ant-btn-compact-last-item:not(.ant-btn-compact-item-rtl){border-top-left-radius:0;border-bottom-left-radius:0}.ant-btn-compact-item.ant-btn.ant-btn-compact-item-rtl.ant-btn-compact-first-item{border-top-left-radius:0;border-bottom-left-radius:0}.ant-btn-compact-item.ant-btn.ant-btn-compact-item-rtl.ant-btn-compact-last-item{border-top-right-radius:0;border-bottom-right-radius:0}.ant-btn-icon-only.ant-btn-compact-item{flex:none}.ant-btn-compact-item.ant-btn-primary:not([disabled])+.ant-btn-compact-item.ant-btn-primary:not([disabled]){position:relative}.ant-btn-compact-item.ant-btn-primary:not([disabled])+.ant-btn-compact-item.ant-btn-primary:not([disabled]):after{position:absolute;top:-1px;left:-1px;display:inline-block;width:1px;height:calc(100% + 2px);background-color:#165996;content:\" \"}.ant-btn-compact-item-rtl.ant-btn-compact-first-item.ant-btn-compact-item-rtl:not(.ant-btn-compact-last-item){border-top-left-radius:0;border-bottom-left-radius:0}.ant-btn-compact-item-rtl.ant-btn-compact-last-item.ant-btn-compact-item-rtl:not(.ant-btn-compact-first-item){border-top-right-radius:0;border-bottom-right-radius:0}.ant-btn-compact-item-rtl.ant-btn-sm.ant-btn-compact-first-item.ant-btn-compact-item-rtl.ant-btn-sm:not(.ant-btn-compact-last-item){border-top-left-radius:0;border-bottom-left-radius:0}.ant-btn-compact-item-rtl.ant-btn-sm.ant-btn-compact-last-item.ant-btn-compact-item-rtl.ant-btn-sm:not(.ant-btn-compact-first-item){border-top-right-radius:0;border-bottom-right-radius:0}.ant-btn-compact-item-rtl.ant-btn-primary:not([disabled])+.ant-btn-compact-item-rtl.ant-btn-primary:not([disabled]):after{right:-1px}.ant-btn-compact-vertical-item:not(.ant-btn-compact-vertical-last-item){margin-bottom:-1px}.ant-btn-compact-vertical-item:active,.ant-btn-compact-vertical-item:focus,.ant-btn-compact-vertical-item:hover{z-index:2}.ant-btn-compact-vertical-item[disabled]{z-index:0}.ant-btn-compact-vertical-item:not(.ant-btn-compact-vertical-first-item):not(.ant-btn-compact-vertical-last-item){border-radius:0}.ant-btn-compact-vertical-item.ant-btn-compact-vertical-first-item{border-bottom-right-radius:0;border-bottom-left-radius:0}.ant-btn-compact-vertical-item.ant-btn-compact-vertical-last-item{border-top-left-radius:0;border-top-right-radius:0}.ant-btn-compact-vertical-item.ant-btn-primary:not([disabled])+.ant-btn-compact-vertical-item.ant-btn-primary:not([disabled]){position:relative}.ant-btn-compact-vertical-item.ant-btn-primary:not([disabled])+.ant-btn-compact-vertical-item.ant-btn-primary:not([disabled]):after{position:absolute;top:-1px;left:-1px;display:inline-block;width:calc(100% + 2px);height:1px;background-color:#165996;content:\" \"}.ant-btn-rtl{direction:rtl}.ant-btn-group-rtl.ant-btn-group .ant-btn-primary+.ant-btn-primary,.ant-btn-group-rtl.ant-btn-group .ant-btn-primary:last-child:not(:first-child){border-right-color:#165996;border-left-color:#434343}.ant-btn-group-rtl.ant-btn-group .ant-btn-primary+.ant-btn-primary[disabled],.ant-btn-group-rtl.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled]{border-right-color:#434343;border-left-color:#165996}.ant-btn-rtl.ant-btn>.ant-btn-loading-icon .anticon{padding-right:0;padding-left:4px}.ant-btn-rtl.ant-btn>.anticon+span,.ant-btn-rtl.ant-btn>span+.anticon{margin-right:8px;margin-left:0}.ant-drawer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;pointer-events:none}.ant-drawer-inline{position:absolute}.ant-drawer-mask{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1000;background:rgba(0,0,0,.45);pointer-events:auto}.ant-drawer-content-wrapper{position:absolute;z-index:1000;transition:all .3s}.ant-drawer-content-wrapper-hidden{display:none}.ant-drawer-left>.ant-drawer-content-wrapper{top:0;bottom:0;left:0;box-shadow:6px 0 16px -8px rgba(0,0,0,.32),9px 0 28px 0 rgba(0,0,0,.2),12px 0 48px 16px rgba(0,0,0,.12)}.ant-drawer-right>.ant-drawer-content-wrapper{top:0;right:0;bottom:0;box-shadow:-6px 0 16px -8px rgba(0,0,0,.08),-9px 0 28px 0 rgba(0,0,0,.05),-12px 0 48px 16px rgba(0,0,0,.03)}.ant-drawer-top>.ant-drawer-content-wrapper{top:0;right:0;left:0;box-shadow:0 6px 16px -8px rgba(0,0,0,.32),0 9px 28px 0 rgba(0,0,0,.2),0 12px 48px 16px rgba(0,0,0,.12)}.ant-drawer-bottom>.ant-drawer-content-wrapper{right:0;bottom:0;left:0;box-shadow:0 -6px 16px -8px rgba(0,0,0,.32),0 -9px 28px 0 rgba(0,0,0,.2),0 -12px 48px 16px rgba(0,0,0,.12)}.ant-drawer-content{width:100%;height:100%;overflow:auto;background:#1f1f1f;pointer-events:auto}.ant-drawer-wrapper-body{display:flex;flex-direction:column;width:100%;height:100%}.ant-drawer-header{display:flex;flex:0 1;align-items:center;padding:11px 16px;font-size:14px;line-height:22px;border-bottom:1px solid #303030}.ant-drawer-header-title{display:flex;flex:1 1;align-items:center;min-width:0;min-height:0}.ant-drawer-extra{flex:none}.ant-drawer-close{display:inline-block;margin-right:12px;color:hsla(0,0%,100%,.45);font-weight:700;font-size:14px;font-style:normal;line-height:1;text-align:center;text-transform:none;text-decoration:none;background:transparent;border:0;outline:0;cursor:pointer;transition:color .3s;text-rendering:auto}.ant-drawer-close:focus,.ant-drawer-close:hover{color:hsla(0,0%,100%,.75);text-decoration:none}.ant-drawer-title{flex:1 1;margin:0;color:hsla(0,0%,100%,.85);font-weight:500;font-size:14px;line-height:22px}.ant-drawer-body{flex:1 1;min-width:0;min-height:0;padding:16px;overflow:auto}.ant-drawer-footer{flex-shrink:0;padding:8px;border-top:1px solid #303030}.panel-motion-appear-start,.panel-motion-enter-start,.panel-motion-leave-start{transition:none}.panel-motion-appear-active,.panel-motion-enter-active,.panel-motion-leave-active{transition:all .3s}.ant-drawer-mask-motion-appear-active,.ant-drawer-mask-motion-enter-active,.ant-drawer-mask-motion-leave-active{transition:all .3s}.ant-drawer-mask-motion-appear,.ant-drawer-mask-motion-enter{opacity:0}.ant-drawer-mask-motion-appear-active,.ant-drawer-mask-motion-enter-active{opacity:1}.ant-drawer-mask-motion-leave{opacity:1}.ant-drawer-mask-motion-leave-active{opacity:0}.ant-drawer-panel-motion-left-appear-start,.ant-drawer-panel-motion-left-enter-start,.ant-drawer-panel-motion-left-leave-start{transition:none}.ant-drawer-panel-motion-left-appear-active,.ant-drawer-panel-motion-left-enter-active,.ant-drawer-panel-motion-left-leave-active{transition:all .3s}.ant-drawer-panel-motion-left-appear-start,.ant-drawer-panel-motion-left-enter-start{transform:translateX(-100%)!important}.ant-drawer-panel-motion-left-appear-active,.ant-drawer-panel-motion-left-enter-active{transform:translateX(0)}.ant-drawer-panel-motion-left-leave{transform:translateX(0)}.ant-drawer-panel-motion-left-leave-active{transform:translateX(-100%)}.ant-drawer-panel-motion-right-appear-start,.ant-drawer-panel-motion-right-enter-start,.ant-drawer-panel-motion-right-leave-start{transition:none}.ant-drawer-panel-motion-right-appear-active,.ant-drawer-panel-motion-right-enter-active,.ant-drawer-panel-motion-right-leave-active{transition:all .3s}.ant-drawer-panel-motion-right-appear-start,.ant-drawer-panel-motion-right-enter-start{transform:translateX(100%)!important}.ant-drawer-panel-motion-right-appear-active,.ant-drawer-panel-motion-right-enter-active{transform:translateX(0)}.ant-drawer-panel-motion-right-leave{transform:translateX(0)}.ant-drawer-panel-motion-right-leave-active{transform:translateX(100%)}.ant-drawer-panel-motion-top-appear-start,.ant-drawer-panel-motion-top-enter-start,.ant-drawer-panel-motion-top-leave-start{transition:none}.ant-drawer-panel-motion-top-appear-active,.ant-drawer-panel-motion-top-enter-active,.ant-drawer-panel-motion-top-leave-active{transition:all .3s}.ant-drawer-panel-motion-top-appear-start,.ant-drawer-panel-motion-top-enter-start{transform:translateY(-100%)!important}.ant-drawer-panel-motion-top-appear-active,.ant-drawer-panel-motion-top-enter-active{transform:translateY(0)}.ant-drawer-panel-motion-top-leave{transform:translateY(0)}.ant-drawer-panel-motion-top-leave-active{transform:translateY(-100%)}.ant-drawer-panel-motion-bottom-appear-start,.ant-drawer-panel-motion-bottom-enter-start,.ant-drawer-panel-motion-bottom-leave-start{transition:none}.ant-drawer-panel-motion-bottom-appear-active,.ant-drawer-panel-motion-bottom-enter-active,.ant-drawer-panel-motion-bottom-leave-active{transition:all .3s}.ant-drawer-panel-motion-bottom-appear-start,.ant-drawer-panel-motion-bottom-enter-start{transform:translateY(100%)!important}.ant-drawer-panel-motion-bottom-appear-active,.ant-drawer-panel-motion-bottom-enter-active{transform:translateY(0)}.ant-drawer-panel-motion-bottom-leave{transform:translateY(0)}.ant-drawer-panel-motion-bottom-leave-active{transform:translateY(100%)}.ant-drawer-rtl{direction:rtl}.ant-drawer-rtl .ant-drawer-close{margin-right:0;margin-left:12px}.ant-drawer .ant-anchor-wrapper,.ant-drawer .ant-card,.ant-drawer .ant-collapse-content,.ant-drawer .ant-picker-clear,.ant-drawer .ant-slider-handle,.ant-drawer .ant-timeline-item-head{background-color:#1f1f1f}.ant-drawer .ant-transfer-list-header{background:#1f1f1f;border-bottom:1px solid #3a3a3a}.ant-drawer .ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover{background-color:hsla(0,0%,100%,.08)}.ant-drawer tr.ant-table-expanded-row:hover>td,.ant-drawer tr.ant-table-expanded-row>td{background:#272727}.ant-drawer .ant-table.ant-table-small thead>tr>th{background-color:#1f1f1f;border-bottom:1px solid #3a3a3a}.ant-drawer .ant-table{background-color:#1f1f1f}.ant-drawer .ant-table .ant-table-row-expand-icon{border:1px solid #3a3a3a}.ant-drawer .ant-table tfoot>tr>td,.ant-drawer .ant-table tfoot>tr>th{border-bottom:1px solid #3a3a3a}.ant-drawer .ant-table thead>tr>th{background-color:#272727;border-bottom:1px solid #3a3a3a}.ant-drawer .ant-table tbody>tr>td{border-bottom:1px solid #3a3a3a}.ant-drawer .ant-table tbody>tr>td.ant-table-cell-fix-left,.ant-drawer .ant-table tbody>tr>td.ant-table-cell-fix-right{background-color:#1f1f1f}.ant-drawer .ant-table tbody>tr.ant-table-row:hover>td{background:#303030}.ant-drawer .ant-table.ant-table-bordered .ant-table-title{border:1px solid #3a3a3a}.ant-drawer .ant-table.ant-table-bordered tbody>tr>td,.ant-drawer .ant-table.ant-table-bordered tfoot>tr>td,.ant-drawer .ant-table.ant-table-bordered tfoot>tr>th,.ant-drawer .ant-table.ant-table-bordered thead>tr>th{border-right:1px solid #3a3a3a}.ant-drawer .ant-table.ant-table-bordered .ant-table-cell-fix-right-first:after{border-right:1px solid #3a3a3a}.ant-drawer .ant-table.ant-table-bordered table thead>tr:not(:last-child)>th{border-bottom:1px solid #303030}.ant-drawer .ant-table.ant-table-bordered .ant-table-container{border:1px solid #3a3a3a}.ant-drawer .ant-table.ant-table-bordered .ant-table-expanded-row-fixed:after{border-right:1px solid #3a3a3a}.ant-drawer .ant-table.ant-table-bordered .ant-table-footer{border:1px solid #3a3a3a}.ant-drawer .ant-table .ant-table-filter-trigger-container-open{background-color:#525252}.ant-drawer .ant-picker-calendar-full{background-color:#1f1f1f}.ant-drawer .ant-picker-calendar-full .ant-picker-panel{background-color:#1f1f1f}.ant-drawer .ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date{border-top:2px solid #3a3a3a}.ant-drawer .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active{background-color:#1f1f1f;border-bottom:1px solid #1f1f1f}.ant-drawer .ant-badge-count{box-shadow:0 0 0 1px #1f1f1f}.ant-drawer .ant-tree-show-line .ant-tree-switcher{background:#1f1f1f}.ant-row{display:flex;flex-flow:row wrap;min-width:0}.ant-row:after,.ant-row:before{display:flex}.ant-row-no-wrap{flex-wrap:nowrap}.ant-row-start{justify-content:flex-start}.ant-row-center{justify-content:center}.ant-row-end{justify-content:flex-end}.ant-row-space-between{justify-content:space-between}.ant-row-space-around{justify-content:space-around}.ant-row-space-evenly{justify-content:space-evenly}.ant-row-top{align-items:flex-start}.ant-row-middle{align-items:center}.ant-row-bottom{align-items:flex-end}.ant-col{position:relative;max-width:100%;min-height:1px}.ant-col-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-push-24{left:100%}.ant-col-pull-24{right:100%}.ant-col-offset-24{margin-left:100%}.ant-col-order-24{order:24}.ant-col-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-push-23{left:95.83333333%}.ant-col-pull-23{right:95.83333333%}.ant-col-offset-23{margin-left:95.83333333%}.ant-col-order-23{order:23}.ant-col-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-push-22{left:91.66666667%}.ant-col-pull-22{right:91.66666667%}.ant-col-offset-22{margin-left:91.66666667%}.ant-col-order-22{order:22}.ant-col-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-push-21{left:87.5%}.ant-col-pull-21{right:87.5%}.ant-col-offset-21{margin-left:87.5%}.ant-col-order-21{order:21}.ant-col-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-push-20{left:83.33333333%}.ant-col-pull-20{right:83.33333333%}.ant-col-offset-20{margin-left:83.33333333%}.ant-col-order-20{order:20}.ant-col-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-push-19{left:79.16666667%}.ant-col-pull-19{right:79.16666667%}.ant-col-offset-19{margin-left:79.16666667%}.ant-col-order-19{order:19}.ant-col-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-push-18{left:75%}.ant-col-pull-18{right:75%}.ant-col-offset-18{margin-left:75%}.ant-col-order-18{order:18}.ant-col-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-push-17{left:70.83333333%}.ant-col-pull-17{right:70.83333333%}.ant-col-offset-17{margin-left:70.83333333%}.ant-col-order-17{order:17}.ant-col-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-push-16{left:66.66666667%}.ant-col-pull-16{right:66.66666667%}.ant-col-offset-16{margin-left:66.66666667%}.ant-col-order-16{order:16}.ant-col-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-push-15{left:62.5%}.ant-col-pull-15{right:62.5%}.ant-col-offset-15{margin-left:62.5%}.ant-col-order-15{order:15}.ant-col-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-push-14{left:58.33333333%}.ant-col-pull-14{right:58.33333333%}.ant-col-offset-14{margin-left:58.33333333%}.ant-col-order-14{order:14}.ant-col-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-push-13{left:54.16666667%}.ant-col-pull-13{right:54.16666667%}.ant-col-offset-13{margin-left:54.16666667%}.ant-col-order-13{order:13}.ant-col-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-push-12{left:50%}.ant-col-pull-12{right:50%}.ant-col-offset-12{margin-left:50%}.ant-col-order-12{order:12}.ant-col-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-push-11{left:45.83333333%}.ant-col-pull-11{right:45.83333333%}.ant-col-offset-11{margin-left:45.83333333%}.ant-col-order-11{order:11}.ant-col-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-push-10{left:41.66666667%}.ant-col-pull-10{right:41.66666667%}.ant-col-offset-10{margin-left:41.66666667%}.ant-col-order-10{order:10}.ant-col-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-push-9{left:37.5%}.ant-col-pull-9{right:37.5%}.ant-col-offset-9{margin-left:37.5%}.ant-col-order-9{order:9}.ant-col-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-push-8{left:33.33333333%}.ant-col-pull-8{right:33.33333333%}.ant-col-offset-8{margin-left:33.33333333%}.ant-col-order-8{order:8}.ant-col-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-push-7{left:29.16666667%}.ant-col-pull-7{right:29.16666667%}.ant-col-offset-7{margin-left:29.16666667%}.ant-col-order-7{order:7}.ant-col-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-push-6{left:25%}.ant-col-pull-6{right:25%}.ant-col-offset-6{margin-left:25%}.ant-col-order-6{order:6}.ant-col-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-push-5{left:20.83333333%}.ant-col-pull-5{right:20.83333333%}.ant-col-offset-5{margin-left:20.83333333%}.ant-col-order-5{order:5}.ant-col-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-push-4{left:16.66666667%}.ant-col-pull-4{right:16.66666667%}.ant-col-offset-4{margin-left:16.66666667%}.ant-col-order-4{order:4}.ant-col-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-push-3{left:12.5%}.ant-col-pull-3{right:12.5%}.ant-col-offset-3{margin-left:12.5%}.ant-col-order-3{order:3}.ant-col-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-push-2{left:8.33333333%}.ant-col-pull-2{right:8.33333333%}.ant-col-offset-2{margin-left:8.33333333%}.ant-col-order-2{order:2}.ant-col-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-push-1{left:4.16666667%}.ant-col-pull-1{right:4.16666667%}.ant-col-offset-1{margin-left:4.16666667%}.ant-col-order-1{order:1}.ant-col-0{display:none}.ant-col-offset-0{margin-left:0}.ant-col-order-0{order:0}.ant-col-offset-0.ant-col-rtl{margin-right:0}.ant-col-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}.ant-col-xs-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-xs-push-24{left:100%}.ant-col-xs-pull-24{right:100%}.ant-col-xs-offset-24{margin-left:100%}.ant-col-xs-order-24{order:24}.ant-col-xs-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-xs-push-23{left:95.83333333%}.ant-col-xs-pull-23{right:95.83333333%}.ant-col-xs-offset-23{margin-left:95.83333333%}.ant-col-xs-order-23{order:23}.ant-col-xs-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-xs-push-22{left:91.66666667%}.ant-col-xs-pull-22{right:91.66666667%}.ant-col-xs-offset-22{margin-left:91.66666667%}.ant-col-xs-order-22{order:22}.ant-col-xs-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-xs-push-21{left:87.5%}.ant-col-xs-pull-21{right:87.5%}.ant-col-xs-offset-21{margin-left:87.5%}.ant-col-xs-order-21{order:21}.ant-col-xs-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-xs-push-20{left:83.33333333%}.ant-col-xs-pull-20{right:83.33333333%}.ant-col-xs-offset-20{margin-left:83.33333333%}.ant-col-xs-order-20{order:20}.ant-col-xs-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-xs-push-19{left:79.16666667%}.ant-col-xs-pull-19{right:79.16666667%}.ant-col-xs-offset-19{margin-left:79.16666667%}.ant-col-xs-order-19{order:19}.ant-col-xs-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-xs-push-18{left:75%}.ant-col-xs-pull-18{right:75%}.ant-col-xs-offset-18{margin-left:75%}.ant-col-xs-order-18{order:18}.ant-col-xs-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-xs-push-17{left:70.83333333%}.ant-col-xs-pull-17{right:70.83333333%}.ant-col-xs-offset-17{margin-left:70.83333333%}.ant-col-xs-order-17{order:17}.ant-col-xs-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-xs-push-16{left:66.66666667%}.ant-col-xs-pull-16{right:66.66666667%}.ant-col-xs-offset-16{margin-left:66.66666667%}.ant-col-xs-order-16{order:16}.ant-col-xs-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-xs-push-15{left:62.5%}.ant-col-xs-pull-15{right:62.5%}.ant-col-xs-offset-15{margin-left:62.5%}.ant-col-xs-order-15{order:15}.ant-col-xs-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-xs-push-14{left:58.33333333%}.ant-col-xs-pull-14{right:58.33333333%}.ant-col-xs-offset-14{margin-left:58.33333333%}.ant-col-xs-order-14{order:14}.ant-col-xs-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-xs-push-13{left:54.16666667%}.ant-col-xs-pull-13{right:54.16666667%}.ant-col-xs-offset-13{margin-left:54.16666667%}.ant-col-xs-order-13{order:13}.ant-col-xs-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-xs-push-12{left:50%}.ant-col-xs-pull-12{right:50%}.ant-col-xs-offset-12{margin-left:50%}.ant-col-xs-order-12{order:12}.ant-col-xs-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-xs-push-11{left:45.83333333%}.ant-col-xs-pull-11{right:45.83333333%}.ant-col-xs-offset-11{margin-left:45.83333333%}.ant-col-xs-order-11{order:11}.ant-col-xs-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-xs-push-10{left:41.66666667%}.ant-col-xs-pull-10{right:41.66666667%}.ant-col-xs-offset-10{margin-left:41.66666667%}.ant-col-xs-order-10{order:10}.ant-col-xs-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-xs-push-9{left:37.5%}.ant-col-xs-pull-9{right:37.5%}.ant-col-xs-offset-9{margin-left:37.5%}.ant-col-xs-order-9{order:9}.ant-col-xs-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-xs-push-8{left:33.33333333%}.ant-col-xs-pull-8{right:33.33333333%}.ant-col-xs-offset-8{margin-left:33.33333333%}.ant-col-xs-order-8{order:8}.ant-col-xs-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-xs-push-7{left:29.16666667%}.ant-col-xs-pull-7{right:29.16666667%}.ant-col-xs-offset-7{margin-left:29.16666667%}.ant-col-xs-order-7{order:7}.ant-col-xs-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-xs-push-6{left:25%}.ant-col-xs-pull-6{right:25%}.ant-col-xs-offset-6{margin-left:25%}.ant-col-xs-order-6{order:6}.ant-col-xs-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-xs-push-5{left:20.83333333%}.ant-col-xs-pull-5{right:20.83333333%}.ant-col-xs-offset-5{margin-left:20.83333333%}.ant-col-xs-order-5{order:5}.ant-col-xs-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-xs-push-4{left:16.66666667%}.ant-col-xs-pull-4{right:16.66666667%}.ant-col-xs-offset-4{margin-left:16.66666667%}.ant-col-xs-order-4{order:4}.ant-col-xs-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-xs-push-3{left:12.5%}.ant-col-xs-pull-3{right:12.5%}.ant-col-xs-offset-3{margin-left:12.5%}.ant-col-xs-order-3{order:3}.ant-col-xs-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-xs-push-2{left:8.33333333%}.ant-col-xs-pull-2{right:8.33333333%}.ant-col-xs-offset-2{margin-left:8.33333333%}.ant-col-xs-order-2{order:2}.ant-col-xs-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-xs-push-1{left:4.16666667%}.ant-col-xs-pull-1{right:4.16666667%}.ant-col-xs-offset-1{margin-left:4.16666667%}.ant-col-xs-order-1{order:1}.ant-col-xs-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xs-push-0{left:auto}.ant-col-xs-pull-0{right:auto}.ant-col-xs-offset-0{margin-left:0}.ant-col-xs-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-xs-push-0.ant-col-rtl{right:auto}.ant-col-xs-pull-0.ant-col-rtl{left:auto}.ant-col-xs-offset-0.ant-col-rtl{margin-right:0}.ant-col-xs-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-xs-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-xs-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-xs-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-xs-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-xs-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-xs-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-xs-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-xs-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-xs-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-xs-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-xs-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-xs-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-xs-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-xs-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-xs-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-xs-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-xs-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-xs-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-xs-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-xs-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-xs-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-xs-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-xs-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-xs-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-xs-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-xs-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-xs-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-xs-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-xs-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-xs-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-xs-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-xs-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-xs-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-xs-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-xs-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-xs-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-xs-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-xs-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-xs-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-xs-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-xs-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-xs-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-xs-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-xs-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-xs-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-xs-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-xs-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-xs-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-xs-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-xs-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-xs-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-xs-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-xs-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-xs-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-xs-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-xs-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-xs-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-xs-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-xs-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-xs-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-xs-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-xs-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-xs-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-xs-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-xs-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-xs-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-xs-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-xs-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-xs-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-xs-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-xs-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}@media (min-width:576px){.ant-col-sm-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-sm-push-24{left:100%}.ant-col-sm-pull-24{right:100%}.ant-col-sm-offset-24{margin-left:100%}.ant-col-sm-order-24{order:24}.ant-col-sm-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-sm-push-23{left:95.83333333%}.ant-col-sm-pull-23{right:95.83333333%}.ant-col-sm-offset-23{margin-left:95.83333333%}.ant-col-sm-order-23{order:23}.ant-col-sm-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-sm-push-22{left:91.66666667%}.ant-col-sm-pull-22{right:91.66666667%}.ant-col-sm-offset-22{margin-left:91.66666667%}.ant-col-sm-order-22{order:22}.ant-col-sm-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-sm-push-21{left:87.5%}.ant-col-sm-pull-21{right:87.5%}.ant-col-sm-offset-21{margin-left:87.5%}.ant-col-sm-order-21{order:21}.ant-col-sm-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-sm-push-20{left:83.33333333%}.ant-col-sm-pull-20{right:83.33333333%}.ant-col-sm-offset-20{margin-left:83.33333333%}.ant-col-sm-order-20{order:20}.ant-col-sm-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-sm-push-19{left:79.16666667%}.ant-col-sm-pull-19{right:79.16666667%}.ant-col-sm-offset-19{margin-left:79.16666667%}.ant-col-sm-order-19{order:19}.ant-col-sm-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-sm-push-18{left:75%}.ant-col-sm-pull-18{right:75%}.ant-col-sm-offset-18{margin-left:75%}.ant-col-sm-order-18{order:18}.ant-col-sm-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-sm-push-17{left:70.83333333%}.ant-col-sm-pull-17{right:70.83333333%}.ant-col-sm-offset-17{margin-left:70.83333333%}.ant-col-sm-order-17{order:17}.ant-col-sm-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-sm-push-16{left:66.66666667%}.ant-col-sm-pull-16{right:66.66666667%}.ant-col-sm-offset-16{margin-left:66.66666667%}.ant-col-sm-order-16{order:16}.ant-col-sm-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-sm-push-15{left:62.5%}.ant-col-sm-pull-15{right:62.5%}.ant-col-sm-offset-15{margin-left:62.5%}.ant-col-sm-order-15{order:15}.ant-col-sm-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-sm-push-14{left:58.33333333%}.ant-col-sm-pull-14{right:58.33333333%}.ant-col-sm-offset-14{margin-left:58.33333333%}.ant-col-sm-order-14{order:14}.ant-col-sm-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-sm-push-13{left:54.16666667%}.ant-col-sm-pull-13{right:54.16666667%}.ant-col-sm-offset-13{margin-left:54.16666667%}.ant-col-sm-order-13{order:13}.ant-col-sm-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-sm-push-12{left:50%}.ant-col-sm-pull-12{right:50%}.ant-col-sm-offset-12{margin-left:50%}.ant-col-sm-order-12{order:12}.ant-col-sm-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-sm-push-11{left:45.83333333%}.ant-col-sm-pull-11{right:45.83333333%}.ant-col-sm-offset-11{margin-left:45.83333333%}.ant-col-sm-order-11{order:11}.ant-col-sm-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-sm-push-10{left:41.66666667%}.ant-col-sm-pull-10{right:41.66666667%}.ant-col-sm-offset-10{margin-left:41.66666667%}.ant-col-sm-order-10{order:10}.ant-col-sm-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-sm-push-9{left:37.5%}.ant-col-sm-pull-9{right:37.5%}.ant-col-sm-offset-9{margin-left:37.5%}.ant-col-sm-order-9{order:9}.ant-col-sm-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-sm-push-8{left:33.33333333%}.ant-col-sm-pull-8{right:33.33333333%}.ant-col-sm-offset-8{margin-left:33.33333333%}.ant-col-sm-order-8{order:8}.ant-col-sm-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-sm-push-7{left:29.16666667%}.ant-col-sm-pull-7{right:29.16666667%}.ant-col-sm-offset-7{margin-left:29.16666667%}.ant-col-sm-order-7{order:7}.ant-col-sm-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-sm-push-6{left:25%}.ant-col-sm-pull-6{right:25%}.ant-col-sm-offset-6{margin-left:25%}.ant-col-sm-order-6{order:6}.ant-col-sm-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-sm-push-5{left:20.83333333%}.ant-col-sm-pull-5{right:20.83333333%}.ant-col-sm-offset-5{margin-left:20.83333333%}.ant-col-sm-order-5{order:5}.ant-col-sm-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-sm-push-4{left:16.66666667%}.ant-col-sm-pull-4{right:16.66666667%}.ant-col-sm-offset-4{margin-left:16.66666667%}.ant-col-sm-order-4{order:4}.ant-col-sm-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-sm-push-3{left:12.5%}.ant-col-sm-pull-3{right:12.5%}.ant-col-sm-offset-3{margin-left:12.5%}.ant-col-sm-order-3{order:3}.ant-col-sm-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-sm-push-2{left:8.33333333%}.ant-col-sm-pull-2{right:8.33333333%}.ant-col-sm-offset-2{margin-left:8.33333333%}.ant-col-sm-order-2{order:2}.ant-col-sm-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-sm-push-1{left:4.16666667%}.ant-col-sm-pull-1{right:4.16666667%}.ant-col-sm-offset-1{margin-left:4.16666667%}.ant-col-sm-order-1{order:1}.ant-col-sm-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-sm-push-0{left:auto}.ant-col-sm-pull-0{right:auto}.ant-col-sm-offset-0{margin-left:0}.ant-col-sm-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-sm-push-0.ant-col-rtl{right:auto}.ant-col-sm-pull-0.ant-col-rtl{left:auto}.ant-col-sm-offset-0.ant-col-rtl{margin-right:0}.ant-col-sm-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-sm-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-sm-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-sm-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-sm-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-sm-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-sm-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-sm-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-sm-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-sm-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-sm-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-sm-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-sm-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-sm-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-sm-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-sm-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-sm-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-sm-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-sm-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-sm-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-sm-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-sm-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-sm-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-sm-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-sm-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-sm-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-sm-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-sm-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-sm-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-sm-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-sm-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-sm-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-sm-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-sm-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-sm-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-sm-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-sm-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-sm-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-sm-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-sm-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-sm-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-sm-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-sm-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-sm-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-sm-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-sm-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-sm-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-sm-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-sm-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-sm-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-sm-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-sm-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-sm-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-sm-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-sm-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-sm-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-sm-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-sm-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-sm-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-sm-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-sm-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-sm-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-sm-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-sm-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-sm-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-sm-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-sm-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-sm-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-sm-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-sm-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-sm-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-sm-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width:768px){.ant-col-md-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-md-push-24{left:100%}.ant-col-md-pull-24{right:100%}.ant-col-md-offset-24{margin-left:100%}.ant-col-md-order-24{order:24}.ant-col-md-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-md-push-23{left:95.83333333%}.ant-col-md-pull-23{right:95.83333333%}.ant-col-md-offset-23{margin-left:95.83333333%}.ant-col-md-order-23{order:23}.ant-col-md-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-md-push-22{left:91.66666667%}.ant-col-md-pull-22{right:91.66666667%}.ant-col-md-offset-22{margin-left:91.66666667%}.ant-col-md-order-22{order:22}.ant-col-md-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-md-push-21{left:87.5%}.ant-col-md-pull-21{right:87.5%}.ant-col-md-offset-21{margin-left:87.5%}.ant-col-md-order-21{order:21}.ant-col-md-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-md-push-20{left:83.33333333%}.ant-col-md-pull-20{right:83.33333333%}.ant-col-md-offset-20{margin-left:83.33333333%}.ant-col-md-order-20{order:20}.ant-col-md-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-md-push-19{left:79.16666667%}.ant-col-md-pull-19{right:79.16666667%}.ant-col-md-offset-19{margin-left:79.16666667%}.ant-col-md-order-19{order:19}.ant-col-md-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-md-push-18{left:75%}.ant-col-md-pull-18{right:75%}.ant-col-md-offset-18{margin-left:75%}.ant-col-md-order-18{order:18}.ant-col-md-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-md-push-17{left:70.83333333%}.ant-col-md-pull-17{right:70.83333333%}.ant-col-md-offset-17{margin-left:70.83333333%}.ant-col-md-order-17{order:17}.ant-col-md-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-md-push-16{left:66.66666667%}.ant-col-md-pull-16{right:66.66666667%}.ant-col-md-offset-16{margin-left:66.66666667%}.ant-col-md-order-16{order:16}.ant-col-md-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-md-push-15{left:62.5%}.ant-col-md-pull-15{right:62.5%}.ant-col-md-offset-15{margin-left:62.5%}.ant-col-md-order-15{order:15}.ant-col-md-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-md-push-14{left:58.33333333%}.ant-col-md-pull-14{right:58.33333333%}.ant-col-md-offset-14{margin-left:58.33333333%}.ant-col-md-order-14{order:14}.ant-col-md-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-md-push-13{left:54.16666667%}.ant-col-md-pull-13{right:54.16666667%}.ant-col-md-offset-13{margin-left:54.16666667%}.ant-col-md-order-13{order:13}.ant-col-md-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-md-push-12{left:50%}.ant-col-md-pull-12{right:50%}.ant-col-md-offset-12{margin-left:50%}.ant-col-md-order-12{order:12}.ant-col-md-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-md-push-11{left:45.83333333%}.ant-col-md-pull-11{right:45.83333333%}.ant-col-md-offset-11{margin-left:45.83333333%}.ant-col-md-order-11{order:11}.ant-col-md-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-md-push-10{left:41.66666667%}.ant-col-md-pull-10{right:41.66666667%}.ant-col-md-offset-10{margin-left:41.66666667%}.ant-col-md-order-10{order:10}.ant-col-md-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-md-push-9{left:37.5%}.ant-col-md-pull-9{right:37.5%}.ant-col-md-offset-9{margin-left:37.5%}.ant-col-md-order-9{order:9}.ant-col-md-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-md-push-8{left:33.33333333%}.ant-col-md-pull-8{right:33.33333333%}.ant-col-md-offset-8{margin-left:33.33333333%}.ant-col-md-order-8{order:8}.ant-col-md-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-md-push-7{left:29.16666667%}.ant-col-md-pull-7{right:29.16666667%}.ant-col-md-offset-7{margin-left:29.16666667%}.ant-col-md-order-7{order:7}.ant-col-md-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-md-push-6{left:25%}.ant-col-md-pull-6{right:25%}.ant-col-md-offset-6{margin-left:25%}.ant-col-md-order-6{order:6}.ant-col-md-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-md-push-5{left:20.83333333%}.ant-col-md-pull-5{right:20.83333333%}.ant-col-md-offset-5{margin-left:20.83333333%}.ant-col-md-order-5{order:5}.ant-col-md-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-md-push-4{left:16.66666667%}.ant-col-md-pull-4{right:16.66666667%}.ant-col-md-offset-4{margin-left:16.66666667%}.ant-col-md-order-4{order:4}.ant-col-md-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-md-push-3{left:12.5%}.ant-col-md-pull-3{right:12.5%}.ant-col-md-offset-3{margin-left:12.5%}.ant-col-md-order-3{order:3}.ant-col-md-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-md-push-2{left:8.33333333%}.ant-col-md-pull-2{right:8.33333333%}.ant-col-md-offset-2{margin-left:8.33333333%}.ant-col-md-order-2{order:2}.ant-col-md-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-md-push-1{left:4.16666667%}.ant-col-md-pull-1{right:4.16666667%}.ant-col-md-offset-1{margin-left:4.16666667%}.ant-col-md-order-1{order:1}.ant-col-md-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-md-push-0{left:auto}.ant-col-md-pull-0{right:auto}.ant-col-md-offset-0{margin-left:0}.ant-col-md-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-md-push-0.ant-col-rtl{right:auto}.ant-col-md-pull-0.ant-col-rtl{left:auto}.ant-col-md-offset-0.ant-col-rtl{margin-right:0}.ant-col-md-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-md-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-md-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-md-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-md-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-md-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-md-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-md-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-md-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-md-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-md-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-md-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-md-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-md-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-md-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-md-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-md-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-md-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-md-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-md-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-md-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-md-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-md-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-md-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-md-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-md-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-md-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-md-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-md-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-md-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-md-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-md-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-md-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-md-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-md-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-md-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-md-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-md-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-md-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-md-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-md-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-md-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-md-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-md-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-md-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-md-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-md-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-md-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-md-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-md-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-md-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-md-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-md-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-md-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-md-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-md-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-md-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-md-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-md-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-md-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-md-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-md-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-md-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-md-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-md-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-md-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-md-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-md-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-md-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-md-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-md-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-md-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width:992px){.ant-col-lg-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-lg-push-24{left:100%}.ant-col-lg-pull-24{right:100%}.ant-col-lg-offset-24{margin-left:100%}.ant-col-lg-order-24{order:24}.ant-col-lg-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-lg-push-23{left:95.83333333%}.ant-col-lg-pull-23{right:95.83333333%}.ant-col-lg-offset-23{margin-left:95.83333333%}.ant-col-lg-order-23{order:23}.ant-col-lg-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-lg-push-22{left:91.66666667%}.ant-col-lg-pull-22{right:91.66666667%}.ant-col-lg-offset-22{margin-left:91.66666667%}.ant-col-lg-order-22{order:22}.ant-col-lg-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-lg-push-21{left:87.5%}.ant-col-lg-pull-21{right:87.5%}.ant-col-lg-offset-21{margin-left:87.5%}.ant-col-lg-order-21{order:21}.ant-col-lg-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-lg-push-20{left:83.33333333%}.ant-col-lg-pull-20{right:83.33333333%}.ant-col-lg-offset-20{margin-left:83.33333333%}.ant-col-lg-order-20{order:20}.ant-col-lg-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-lg-push-19{left:79.16666667%}.ant-col-lg-pull-19{right:79.16666667%}.ant-col-lg-offset-19{margin-left:79.16666667%}.ant-col-lg-order-19{order:19}.ant-col-lg-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-lg-push-18{left:75%}.ant-col-lg-pull-18{right:75%}.ant-col-lg-offset-18{margin-left:75%}.ant-col-lg-order-18{order:18}.ant-col-lg-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-lg-push-17{left:70.83333333%}.ant-col-lg-pull-17{right:70.83333333%}.ant-col-lg-offset-17{margin-left:70.83333333%}.ant-col-lg-order-17{order:17}.ant-col-lg-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-lg-push-16{left:66.66666667%}.ant-col-lg-pull-16{right:66.66666667%}.ant-col-lg-offset-16{margin-left:66.66666667%}.ant-col-lg-order-16{order:16}.ant-col-lg-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-lg-push-15{left:62.5%}.ant-col-lg-pull-15{right:62.5%}.ant-col-lg-offset-15{margin-left:62.5%}.ant-col-lg-order-15{order:15}.ant-col-lg-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-lg-push-14{left:58.33333333%}.ant-col-lg-pull-14{right:58.33333333%}.ant-col-lg-offset-14{margin-left:58.33333333%}.ant-col-lg-order-14{order:14}.ant-col-lg-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-lg-push-13{left:54.16666667%}.ant-col-lg-pull-13{right:54.16666667%}.ant-col-lg-offset-13{margin-left:54.16666667%}.ant-col-lg-order-13{order:13}.ant-col-lg-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-lg-push-12{left:50%}.ant-col-lg-pull-12{right:50%}.ant-col-lg-offset-12{margin-left:50%}.ant-col-lg-order-12{order:12}.ant-col-lg-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-lg-push-11{left:45.83333333%}.ant-col-lg-pull-11{right:45.83333333%}.ant-col-lg-offset-11{margin-left:45.83333333%}.ant-col-lg-order-11{order:11}.ant-col-lg-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-lg-push-10{left:41.66666667%}.ant-col-lg-pull-10{right:41.66666667%}.ant-col-lg-offset-10{margin-left:41.66666667%}.ant-col-lg-order-10{order:10}.ant-col-lg-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-lg-push-9{left:37.5%}.ant-col-lg-pull-9{right:37.5%}.ant-col-lg-offset-9{margin-left:37.5%}.ant-col-lg-order-9{order:9}.ant-col-lg-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-lg-push-8{left:33.33333333%}.ant-col-lg-pull-8{right:33.33333333%}.ant-col-lg-offset-8{margin-left:33.33333333%}.ant-col-lg-order-8{order:8}.ant-col-lg-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-lg-push-7{left:29.16666667%}.ant-col-lg-pull-7{right:29.16666667%}.ant-col-lg-offset-7{margin-left:29.16666667%}.ant-col-lg-order-7{order:7}.ant-col-lg-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-lg-push-6{left:25%}.ant-col-lg-pull-6{right:25%}.ant-col-lg-offset-6{margin-left:25%}.ant-col-lg-order-6{order:6}.ant-col-lg-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-lg-push-5{left:20.83333333%}.ant-col-lg-pull-5{right:20.83333333%}.ant-col-lg-offset-5{margin-left:20.83333333%}.ant-col-lg-order-5{order:5}.ant-col-lg-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-lg-push-4{left:16.66666667%}.ant-col-lg-pull-4{right:16.66666667%}.ant-col-lg-offset-4{margin-left:16.66666667%}.ant-col-lg-order-4{order:4}.ant-col-lg-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-lg-push-3{left:12.5%}.ant-col-lg-pull-3{right:12.5%}.ant-col-lg-offset-3{margin-left:12.5%}.ant-col-lg-order-3{order:3}.ant-col-lg-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-lg-push-2{left:8.33333333%}.ant-col-lg-pull-2{right:8.33333333%}.ant-col-lg-offset-2{margin-left:8.33333333%}.ant-col-lg-order-2{order:2}.ant-col-lg-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-lg-push-1{left:4.16666667%}.ant-col-lg-pull-1{right:4.16666667%}.ant-col-lg-offset-1{margin-left:4.16666667%}.ant-col-lg-order-1{order:1}.ant-col-lg-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-lg-push-0{left:auto}.ant-col-lg-pull-0{right:auto}.ant-col-lg-offset-0{margin-left:0}.ant-col-lg-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-lg-push-0.ant-col-rtl{right:auto}.ant-col-lg-pull-0.ant-col-rtl{left:auto}.ant-col-lg-offset-0.ant-col-rtl{margin-right:0}.ant-col-lg-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-lg-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-lg-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-lg-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-lg-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-lg-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-lg-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-lg-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-lg-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-lg-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-lg-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-lg-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-lg-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-lg-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-lg-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-lg-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-lg-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-lg-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-lg-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-lg-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-lg-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-lg-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-lg-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-lg-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-lg-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-lg-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-lg-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-lg-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-lg-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-lg-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-lg-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-lg-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-lg-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-lg-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-lg-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-lg-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-lg-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-lg-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-lg-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-lg-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-lg-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-lg-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-lg-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-lg-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-lg-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-lg-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-lg-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-lg-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-lg-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-lg-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-lg-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-lg-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-lg-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-lg-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-lg-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-lg-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-lg-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-lg-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-lg-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-lg-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-lg-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-lg-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-lg-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-lg-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-lg-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-lg-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-lg-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-lg-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-lg-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-lg-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-lg-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-lg-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width:1200px){.ant-col-xl-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-xl-push-24{left:100%}.ant-col-xl-pull-24{right:100%}.ant-col-xl-offset-24{margin-left:100%}.ant-col-xl-order-24{order:24}.ant-col-xl-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-xl-push-23{left:95.83333333%}.ant-col-xl-pull-23{right:95.83333333%}.ant-col-xl-offset-23{margin-left:95.83333333%}.ant-col-xl-order-23{order:23}.ant-col-xl-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-xl-push-22{left:91.66666667%}.ant-col-xl-pull-22{right:91.66666667%}.ant-col-xl-offset-22{margin-left:91.66666667%}.ant-col-xl-order-22{order:22}.ant-col-xl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-xl-push-21{left:87.5%}.ant-col-xl-pull-21{right:87.5%}.ant-col-xl-offset-21{margin-left:87.5%}.ant-col-xl-order-21{order:21}.ant-col-xl-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-xl-push-20{left:83.33333333%}.ant-col-xl-pull-20{right:83.33333333%}.ant-col-xl-offset-20{margin-left:83.33333333%}.ant-col-xl-order-20{order:20}.ant-col-xl-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-xl-push-19{left:79.16666667%}.ant-col-xl-pull-19{right:79.16666667%}.ant-col-xl-offset-19{margin-left:79.16666667%}.ant-col-xl-order-19{order:19}.ant-col-xl-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-xl-push-18{left:75%}.ant-col-xl-pull-18{right:75%}.ant-col-xl-offset-18{margin-left:75%}.ant-col-xl-order-18{order:18}.ant-col-xl-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-xl-push-17{left:70.83333333%}.ant-col-xl-pull-17{right:70.83333333%}.ant-col-xl-offset-17{margin-left:70.83333333%}.ant-col-xl-order-17{order:17}.ant-col-xl-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-xl-push-16{left:66.66666667%}.ant-col-xl-pull-16{right:66.66666667%}.ant-col-xl-offset-16{margin-left:66.66666667%}.ant-col-xl-order-16{order:16}.ant-col-xl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-xl-push-15{left:62.5%}.ant-col-xl-pull-15{right:62.5%}.ant-col-xl-offset-15{margin-left:62.5%}.ant-col-xl-order-15{order:15}.ant-col-xl-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-xl-push-14{left:58.33333333%}.ant-col-xl-pull-14{right:58.33333333%}.ant-col-xl-offset-14{margin-left:58.33333333%}.ant-col-xl-order-14{order:14}.ant-col-xl-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-xl-push-13{left:54.16666667%}.ant-col-xl-pull-13{right:54.16666667%}.ant-col-xl-offset-13{margin-left:54.16666667%}.ant-col-xl-order-13{order:13}.ant-col-xl-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-xl-push-12{left:50%}.ant-col-xl-pull-12{right:50%}.ant-col-xl-offset-12{margin-left:50%}.ant-col-xl-order-12{order:12}.ant-col-xl-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-xl-push-11{left:45.83333333%}.ant-col-xl-pull-11{right:45.83333333%}.ant-col-xl-offset-11{margin-left:45.83333333%}.ant-col-xl-order-11{order:11}.ant-col-xl-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-xl-push-10{left:41.66666667%}.ant-col-xl-pull-10{right:41.66666667%}.ant-col-xl-offset-10{margin-left:41.66666667%}.ant-col-xl-order-10{order:10}.ant-col-xl-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-xl-push-9{left:37.5%}.ant-col-xl-pull-9{right:37.5%}.ant-col-xl-offset-9{margin-left:37.5%}.ant-col-xl-order-9{order:9}.ant-col-xl-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-xl-push-8{left:33.33333333%}.ant-col-xl-pull-8{right:33.33333333%}.ant-col-xl-offset-8{margin-left:33.33333333%}.ant-col-xl-order-8{order:8}.ant-col-xl-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-xl-push-7{left:29.16666667%}.ant-col-xl-pull-7{right:29.16666667%}.ant-col-xl-offset-7{margin-left:29.16666667%}.ant-col-xl-order-7{order:7}.ant-col-xl-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-xl-push-6{left:25%}.ant-col-xl-pull-6{right:25%}.ant-col-xl-offset-6{margin-left:25%}.ant-col-xl-order-6{order:6}.ant-col-xl-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-xl-push-5{left:20.83333333%}.ant-col-xl-pull-5{right:20.83333333%}.ant-col-xl-offset-5{margin-left:20.83333333%}.ant-col-xl-order-5{order:5}.ant-col-xl-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-xl-push-4{left:16.66666667%}.ant-col-xl-pull-4{right:16.66666667%}.ant-col-xl-offset-4{margin-left:16.66666667%}.ant-col-xl-order-4{order:4}.ant-col-xl-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-xl-push-3{left:12.5%}.ant-col-xl-pull-3{right:12.5%}.ant-col-xl-offset-3{margin-left:12.5%}.ant-col-xl-order-3{order:3}.ant-col-xl-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-xl-push-2{left:8.33333333%}.ant-col-xl-pull-2{right:8.33333333%}.ant-col-xl-offset-2{margin-left:8.33333333%}.ant-col-xl-order-2{order:2}.ant-col-xl-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-xl-push-1{left:4.16666667%}.ant-col-xl-pull-1{right:4.16666667%}.ant-col-xl-offset-1{margin-left:4.16666667%}.ant-col-xl-order-1{order:1}.ant-col-xl-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xl-push-0{left:auto}.ant-col-xl-pull-0{right:auto}.ant-col-xl-offset-0{margin-left:0}.ant-col-xl-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-xl-push-0.ant-col-rtl{right:auto}.ant-col-xl-pull-0.ant-col-rtl{left:auto}.ant-col-xl-offset-0.ant-col-rtl{margin-right:0}.ant-col-xl-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-xl-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-xl-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-xl-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-xl-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-xl-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-xl-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-xl-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-xl-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-xl-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-xl-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-xl-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-xl-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-xl-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-xl-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-xl-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-xl-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-xl-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-xl-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-xl-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-xl-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-xl-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-xl-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-xl-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-xl-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-xl-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-xl-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-xl-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-xl-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-xl-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-xl-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-xl-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-xl-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-xl-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-xl-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-xl-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-xl-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-xl-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-xl-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-xl-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-xl-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-xl-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-xl-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-xl-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-xl-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-xl-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-xl-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-xl-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-xl-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-xl-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-xl-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-xl-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-xl-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-xl-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-xl-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-xl-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-xl-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-xl-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-xl-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-xl-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-xl-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-xl-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-xl-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-xl-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-xl-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-xl-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-xl-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-xl-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-xl-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-xl-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-xl-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-xl-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width:1600px){.ant-col-xxl-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-xxl-push-24{left:100%}.ant-col-xxl-pull-24{right:100%}.ant-col-xxl-offset-24{margin-left:100%}.ant-col-xxl-order-24{order:24}.ant-col-xxl-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-xxl-push-23{left:95.83333333%}.ant-col-xxl-pull-23{right:95.83333333%}.ant-col-xxl-offset-23{margin-left:95.83333333%}.ant-col-xxl-order-23{order:23}.ant-col-xxl-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-xxl-push-22{left:91.66666667%}.ant-col-xxl-pull-22{right:91.66666667%}.ant-col-xxl-offset-22{margin-left:91.66666667%}.ant-col-xxl-order-22{order:22}.ant-col-xxl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-xxl-push-21{left:87.5%}.ant-col-xxl-pull-21{right:87.5%}.ant-col-xxl-offset-21{margin-left:87.5%}.ant-col-xxl-order-21{order:21}.ant-col-xxl-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-xxl-push-20{left:83.33333333%}.ant-col-xxl-pull-20{right:83.33333333%}.ant-col-xxl-offset-20{margin-left:83.33333333%}.ant-col-xxl-order-20{order:20}.ant-col-xxl-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-xxl-push-19{left:79.16666667%}.ant-col-xxl-pull-19{right:79.16666667%}.ant-col-xxl-offset-19{margin-left:79.16666667%}.ant-col-xxl-order-19{order:19}.ant-col-xxl-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-xxl-push-18{left:75%}.ant-col-xxl-pull-18{right:75%}.ant-col-xxl-offset-18{margin-left:75%}.ant-col-xxl-order-18{order:18}.ant-col-xxl-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-xxl-push-17{left:70.83333333%}.ant-col-xxl-pull-17{right:70.83333333%}.ant-col-xxl-offset-17{margin-left:70.83333333%}.ant-col-xxl-order-17{order:17}.ant-col-xxl-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-xxl-push-16{left:66.66666667%}.ant-col-xxl-pull-16{right:66.66666667%}.ant-col-xxl-offset-16{margin-left:66.66666667%}.ant-col-xxl-order-16{order:16}.ant-col-xxl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-xxl-push-15{left:62.5%}.ant-col-xxl-pull-15{right:62.5%}.ant-col-xxl-offset-15{margin-left:62.5%}.ant-col-xxl-order-15{order:15}.ant-col-xxl-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-xxl-push-14{left:58.33333333%}.ant-col-xxl-pull-14{right:58.33333333%}.ant-col-xxl-offset-14{margin-left:58.33333333%}.ant-col-xxl-order-14{order:14}.ant-col-xxl-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-xxl-push-13{left:54.16666667%}.ant-col-xxl-pull-13{right:54.16666667%}.ant-col-xxl-offset-13{margin-left:54.16666667%}.ant-col-xxl-order-13{order:13}.ant-col-xxl-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-xxl-push-12{left:50%}.ant-col-xxl-pull-12{right:50%}.ant-col-xxl-offset-12{margin-left:50%}.ant-col-xxl-order-12{order:12}.ant-col-xxl-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-xxl-push-11{left:45.83333333%}.ant-col-xxl-pull-11{right:45.83333333%}.ant-col-xxl-offset-11{margin-left:45.83333333%}.ant-col-xxl-order-11{order:11}.ant-col-xxl-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-xxl-push-10{left:41.66666667%}.ant-col-xxl-pull-10{right:41.66666667%}.ant-col-xxl-offset-10{margin-left:41.66666667%}.ant-col-xxl-order-10{order:10}.ant-col-xxl-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-xxl-push-9{left:37.5%}.ant-col-xxl-pull-9{right:37.5%}.ant-col-xxl-offset-9{margin-left:37.5%}.ant-col-xxl-order-9{order:9}.ant-col-xxl-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-xxl-push-8{left:33.33333333%}.ant-col-xxl-pull-8{right:33.33333333%}.ant-col-xxl-offset-8{margin-left:33.33333333%}.ant-col-xxl-order-8{order:8}.ant-col-xxl-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-xxl-push-7{left:29.16666667%}.ant-col-xxl-pull-7{right:29.16666667%}.ant-col-xxl-offset-7{margin-left:29.16666667%}.ant-col-xxl-order-7{order:7}.ant-col-xxl-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-xxl-push-6{left:25%}.ant-col-xxl-pull-6{right:25%}.ant-col-xxl-offset-6{margin-left:25%}.ant-col-xxl-order-6{order:6}.ant-col-xxl-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-xxl-push-5{left:20.83333333%}.ant-col-xxl-pull-5{right:20.83333333%}.ant-col-xxl-offset-5{margin-left:20.83333333%}.ant-col-xxl-order-5{order:5}.ant-col-xxl-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-xxl-push-4{left:16.66666667%}.ant-col-xxl-pull-4{right:16.66666667%}.ant-col-xxl-offset-4{margin-left:16.66666667%}.ant-col-xxl-order-4{order:4}.ant-col-xxl-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-xxl-push-3{left:12.5%}.ant-col-xxl-pull-3{right:12.5%}.ant-col-xxl-offset-3{margin-left:12.5%}.ant-col-xxl-order-3{order:3}.ant-col-xxl-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-xxl-push-2{left:8.33333333%}.ant-col-xxl-pull-2{right:8.33333333%}.ant-col-xxl-offset-2{margin-left:8.33333333%}.ant-col-xxl-order-2{order:2}.ant-col-xxl-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-xxl-push-1{left:4.16666667%}.ant-col-xxl-pull-1{right:4.16666667%}.ant-col-xxl-offset-1{margin-left:4.16666667%}.ant-col-xxl-order-1{order:1}.ant-col-xxl-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xxl-push-0{left:auto}.ant-col-xxl-pull-0{right:auto}.ant-col-xxl-offset-0{margin-left:0}.ant-col-xxl-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-xxl-push-0.ant-col-rtl{right:auto}.ant-col-xxl-pull-0.ant-col-rtl{left:auto}.ant-col-xxl-offset-0.ant-col-rtl{margin-right:0}.ant-col-xxl-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-xxl-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-xxl-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-xxl-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-xxl-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-xxl-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-xxl-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-xxl-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-xxl-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-xxl-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-xxl-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-xxl-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-xxl-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-xxl-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-xxl-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-xxl-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-xxl-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-xxl-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-xxl-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-xxl-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-xxl-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-xxl-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-xxl-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-xxl-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-xxl-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-xxl-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-xxl-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-xxl-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-xxl-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-xxl-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-xxl-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-xxl-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-xxl-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-xxl-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-xxl-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-xxl-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-xxl-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-xxl-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-xxl-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-xxl-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-xxl-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-xxl-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-xxl-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-xxl-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-xxl-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-xxl-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-xxl-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-xxl-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-xxl-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-xxl-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-xxl-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-xxl-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-xxl-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-xxl-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-xxl-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-xxl-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-xxl-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-xxl-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-xxl-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-xxl-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-xxl-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-xxl-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-xxl-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-xxl-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-xxl-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-xxl-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-xxl-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-xxl-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-xxl-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-xxl-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-xxl-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-xxl-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}.ant-row-rtl{direction:rtl}.ant-card{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";position:relative;background:#141414;border-radius:2px}.ant-card-rtl{direction:rtl}.ant-card-hoverable{cursor:pointer;transition:box-shadow .3s,border-color .3s}.ant-card-hoverable:hover{border-color:transparent;box-shadow:0 1px 2px -2px rgba(0,0,0,.64),0 3px 6px 0 rgba(0,0,0,.48),0 5px 12px 4px rgba(0,0,0,.36)}.ant-card-bordered{border:1px solid #303030}.ant-card-head{min-height:36px;margin-bottom:-1px;padding:0 12px;color:hsla(0,0%,100%,.85);font-weight:500;font-size:12px;background:transparent;border-bottom:1px solid #303030;border-radius:2px 2px 0 0}.ant-card-head:before{display:table;content:\"\"}.ant-card-head:after{display:table;clear:both;content:\"\"}.ant-card-head-wrapper{display:flex;align-items:center}.ant-card-head-title{display:inline-block;flex:1 1;padding:8.5px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-card-head-title>.ant-typography,.ant-card-head-title>.ant-typography-edit-content{left:0;margin-top:0;margin-bottom:0}.ant-card-head .ant-tabs-top{clear:both;margin-bottom:-9px;color:hsla(0,0%,100%,.85);font-weight:400;font-size:12px}.ant-card-head .ant-tabs-top-bar{border-bottom:1px solid #303030}.ant-card-extra{margin-left:auto;padding:8.5px 0;color:hsla(0,0%,100%,.85);font-weight:400;font-size:12px}.ant-card-rtl .ant-card-extra{margin-right:auto;margin-left:0}.ant-card-body{padding:12px}.ant-card-body:before{display:table;content:\"\"}.ant-card-body:after{display:table;clear:both;content:\"\"}.ant-card-contain-grid .ant-card-body{display:flex;flex-wrap:wrap}.ant-card-contain-grid:not(.ant-card-loading) .ant-card-body{margin:-1px 0 0 -1px;padding:0}.ant-card-grid{width:33.33%;padding:12px;border:0;border-radius:0;box-shadow:1px 0 0 0 #303030,0 1px 0 0 #303030,1px 1px 0 0 #303030,inset 1px 0 0 0 #303030,inset 0 1px 0 0 #303030;transition:all .3s}.ant-card-grid-hoverable:hover{position:relative;z-index:1;box-shadow:0 1px 2px -2px rgba(0,0,0,.64),0 3px 6px 0 rgba(0,0,0,.48),0 5px 12px 4px rgba(0,0,0,.36)}.ant-card-contain-tabs>.ant-card-head .ant-card-head-title{min-height:27.5px;padding-bottom:0}.ant-card-contain-tabs>.ant-card-head .ant-card-extra{padding-bottom:0}.ant-card-bordered .ant-card-cover{margin-top:-1px;margin-right:-1px;margin-left:-1px}.ant-card-cover>*{display:block;width:100%}.ant-card-cover img{border-radius:2px 2px 0 0}.ant-card-actions{display:flex;margin:0;padding:0;list-style:none;background:#141414;border-top:1px solid #303030}.ant-card-actions:before{display:table;content:\"\"}.ant-card-actions:after{display:table;clear:both;content:\"\"}.ant-card-actions>li{margin:4px 0;color:hsla(0,0%,100%,.45);text-align:center}.ant-card-actions>li>span{position:relative;display:block;min-width:32px;font-size:12px;line-height:1.66667;cursor:pointer}.ant-card-actions>li>span:hover{color:#177ddc;transition:color .3s}.ant-card-actions>li>span>.anticon,.ant-card-actions>li>span a:not(.ant-btn){display:inline-block;width:100%;color:hsla(0,0%,100%,.45);line-height:22px;transition:color .3s}.ant-card-actions>li>span>.anticon:hover,.ant-card-actions>li>span a:not(.ant-btn):hover{color:#177ddc}.ant-card-actions>li>span>.anticon{font-size:16px;line-height:22px}.ant-card-actions>li:not(:last-child){border-right:1px solid #303030}.ant-card-rtl .ant-card-actions>li:not(:last-child){border-right:none;border-left:1px solid #303030}.ant-card-type-inner .ant-card-head{padding:0 12px;background:hsla(0,0%,100%,.04)}.ant-card-type-inner .ant-card-head-title{padding:12px 0;font-size:12px}.ant-card-type-inner .ant-card-body{padding:16px 12px}.ant-card-type-inner .ant-card-extra{padding:13.5px 0}.ant-card-meta{display:flex;margin:-4px 0}.ant-card-meta:before{display:table;content:\"\"}.ant-card-meta:after{display:table;clear:both;content:\"\"}.ant-card-meta-avatar{padding-right:16px}.ant-card-rtl .ant-card-meta-avatar{padding-right:0;padding-left:16px}.ant-card-meta-detail{overflow:hidden}.ant-card-meta-detail>div:not(:last-child){margin-bottom:4px}.ant-card-meta-title{overflow:hidden;color:hsla(0,0%,100%,.85);font-weight:500;font-size:14px;white-space:nowrap;text-overflow:ellipsis}.ant-card-meta-description{color:hsla(0,0%,100%,.45)}.ant-card-loading{overflow:hidden}.ant-card-loading .ant-card-body{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-card-small>.ant-card-head{min-height:30px;padding:0 12px;font-size:12px}.ant-card-small>.ant-card-head>.ant-card-head-wrapper>.ant-card-head-title{padding:6px 0}.ant-card-small>.ant-card-head>.ant-card-head-wrapper>.ant-card-extra{padding:6px 0;font-size:12px}.ant-card-small>.ant-card-body{padding:12px}.ant-skeleton{display:table;width:100%}.ant-skeleton-header{display:table-cell;padding-right:8px;vertical-align:top}.ant-skeleton-header .ant-skeleton-avatar{display:inline-block;vertical-align:top;background:hsla(0,0%,74.5%,.2);width:28px;height:28px;line-height:28px}.ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-header .ant-skeleton-avatar-lg{width:32px;height:32px;line-height:32px}.ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-header .ant-skeleton-avatar-sm{width:22px;height:22px;line-height:22px}.ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-content{display:table-cell;width:100%;vertical-align:top}.ant-skeleton-content .ant-skeleton-title{width:100%;height:14px;background:hsla(0,0%,74.5%,.2);border-radius:2px}.ant-skeleton-content .ant-skeleton-title+.ant-skeleton-paragraph{margin-top:20px}.ant-skeleton-content .ant-skeleton-paragraph{padding:0}.ant-skeleton-content .ant-skeleton-paragraph>li{width:100%;height:14px;list-style:none;background:hsla(0,0%,74.5%,.2);border-radius:2px}.ant-skeleton-content .ant-skeleton-paragraph>li:last-child:not(:first-child):not(:nth-child(2)){width:61%}.ant-skeleton-content .ant-skeleton-paragraph>li+li{margin-top:12px}.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title{margin-top:8px}.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title+.ant-skeleton-paragraph{margin-top:20px}.ant-skeleton-round .ant-skeleton-content .ant-skeleton-paragraph>li,.ant-skeleton-round .ant-skeleton-content .ant-skeleton-title{border-radius:100px}.ant-skeleton-active .ant-skeleton-avatar,.ant-skeleton-active .ant-skeleton-button,.ant-skeleton-active .ant-skeleton-image,.ant-skeleton-active .ant-skeleton-input,.ant-skeleton-active .ant-skeleton-paragraph>li,.ant-skeleton-active .ant-skeleton-title{position:relative;z-index:0;overflow:hidden;background:transparent}.ant-skeleton-active .ant-skeleton-avatar:after,.ant-skeleton-active .ant-skeleton-button:after,.ant-skeleton-active .ant-skeleton-image:after,.ant-skeleton-active .ant-skeleton-input:after,.ant-skeleton-active .ant-skeleton-paragraph>li:after,.ant-skeleton-active .ant-skeleton-title:after{position:absolute;top:0;right:-150%;bottom:0;left:-150%;background:linear-gradient(90deg,hsla(0,0%,74.5%,.2) 25%,hsla(0,0%,100%,.16) 37%,hsla(0,0%,74.5%,.2) 63%);animation:ant-skeleton-loading 1.4s ease infinite;content:\"\"}.ant-skeleton.ant-skeleton-block{width:100%}.ant-skeleton.ant-skeleton-block .ant-skeleton-button{width:100%}.ant-skeleton.ant-skeleton-block .ant-skeleton-input{width:100%}.ant-skeleton-element{display:inline-block;width:auto}.ant-skeleton-element .ant-skeleton-button{display:inline-block;vertical-align:top;background:hsla(0,0%,74.5%,.2);border-radius:2px;width:56px;min-width:56px;height:28px;line-height:28px}.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-square{width:28px;min-width:28px}.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-circle{width:28px;min-width:28px;border-radius:50%}.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-round{border-radius:28px}.ant-skeleton-element .ant-skeleton-button-lg{width:64px;min-width:64px;height:32px;line-height:32px}.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-square{width:32px;min-width:32px}.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-circle{width:32px;min-width:32px;border-radius:50%}.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-round{border-radius:32px}.ant-skeleton-element .ant-skeleton-button-sm{width:44px;min-width:44px;height:22px;line-height:22px}.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-square{width:22px;min-width:22px}.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-circle{width:22px;min-width:22px;border-radius:50%}.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-round{border-radius:22px}.ant-skeleton-element .ant-skeleton-avatar{display:inline-block;vertical-align:top;background:hsla(0,0%,74.5%,.2);width:28px;height:28px;line-height:28px}.ant-skeleton-element .ant-skeleton-avatar.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-avatar-lg{width:32px;height:32px;line-height:32px}.ant-skeleton-element .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-avatar-sm{width:22px;height:22px;line-height:22px}.ant-skeleton-element .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-input{display:inline-block;vertical-align:top;background:hsla(0,0%,74.5%,.2);width:140px;min-width:140px;height:28px;line-height:28px}.ant-skeleton-element .ant-skeleton-input-lg{width:160px;min-width:160px;height:32px;line-height:32px}.ant-skeleton-element .ant-skeleton-input-sm{width:110px;min-width:110px;height:22px;line-height:22px}.ant-skeleton-element .ant-skeleton-image{display:flex;align-items:center;justify-content:center;vertical-align:top;background:hsla(0,0%,74.5%,.2);width:96px;height:96px;line-height:96px}.ant-skeleton-element .ant-skeleton-image.ant-skeleton-image-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-image-path{fill:#bfbfbf}.ant-skeleton-element .ant-skeleton-image-svg{width:48px;height:48px;line-height:48px;max-width:192px;max-height:192px}.ant-skeleton-element .ant-skeleton-image-svg.ant-skeleton-image-circle{border-radius:50%}@keyframes ant-skeleton-loading{0%{transform:translateX(-37.5%)}to{transform:translateX(37.5%)}}.ant-skeleton-rtl{direction:rtl}.ant-skeleton-rtl .ant-skeleton-header{padding-right:0;padding-left:16px}.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph>li,.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title{animation-name:ant-skeleton-loading-rtl}.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar{animation-name:ant-skeleton-loading-rtl}@keyframes ant-skeleton-loading-rtl{0%{background-position:0 50%}to{background-position:100% 50%}}.ant-tag{box-sizing:border-box;color:hsla(0,0%,100%,.85);font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";display:inline-block;height:auto;margin:0 8px 0 0;padding:0 7px;font-size:12px;line-height:18px;white-space:nowrap;background:hsla(0,0%,100%,.04);border:1px solid #434343;border-radius:2px;opacity:1;transition:all .3s}.ant-tag,.ant-tag a,.ant-tag a:hover{color:hsla(0,0%,100%,.85)}.ant-tag>a:first-child:last-child{display:inline-block;margin:0 -8px;padding:0 8px}.ant-tag-close-icon{margin-left:3px;color:hsla(0,0%,100%,.45);font-size:10px;cursor:pointer;transition:all .3s}.ant-tag-close-icon:hover{color:hsla(0,0%,100%,.85)}.ant-tag-has-color{border-color:transparent}.ant-tag-has-color,.ant-tag-has-color .anticon-close,.ant-tag-has-color .anticon-close:hover,.ant-tag-has-color a,.ant-tag-has-color a:hover{color:#fff}.ant-tag-checkable{background-color:transparent;border-color:transparent;cursor:pointer}.ant-tag-checkable:not(.ant-tag-checkable-checked):hover{color:#177ddc}.ant-tag-checkable-checked,.ant-tag-checkable:active{color:#fff}.ant-tag-checkable-checked{background-color:#177ddc}.ant-tag-checkable:active{background-color:#388ed3}.ant-tag-hidden{display:none}.ant-tag-pink{color:#e0529c;background:#291321;border-color:#551c3b}.ant-tag-pink-inverse{color:#fff;background:#cb2b83;border-color:#cb2b83}.ant-tag-magenta{color:#e0529c;background:#291321;border-color:#551c3b}.ant-tag-magenta-inverse{color:#fff;background:#cb2b83;border-color:#cb2b83}.ant-tag-red{color:#e84749;background:#2a1215;border-color:#58181c}.ant-tag-red-inverse{color:#fff;background:#d32029;border-color:#d32029}.ant-tag-volcano{color:#e87040;background:#2b1611;border-color:#592716}.ant-tag-volcano-inverse{color:#fff;background:#d84a1b;border-color:#d84a1b}.ant-tag-orange{color:#e89a3c;background:#2b1d11;border-color:#593815}.ant-tag-orange-inverse{color:#fff;background:#d87a16;border-color:#d87a16}.ant-tag-yellow{color:#e8d639;background:#2b2611;border-color:#595014}.ant-tag-yellow-inverse{color:#fff;background:#d8bd14;border-color:#d8bd14}.ant-tag-gold{color:#e8b339;background:#2b2111;border-color:#594214}.ant-tag-gold-inverse{color:#fff;background:#d89614;border-color:#d89614}.ant-tag-cyan{color:#33bcb7;background:#112123;border-color:#144848}.ant-tag-cyan-inverse{color:#fff;background:#13a8a8;border-color:#13a8a8}.ant-tag-lime{color:#a9d134;background:#1f2611;border-color:#3e4f13}.ant-tag-lime-inverse{color:#fff;background:#8bbb11;border-color:#8bbb11}.ant-tag-green{color:#6abe39;background:#162312;border-color:#274916}.ant-tag-green-inverse{color:#fff;background:#49aa19;border-color:#49aa19}.ant-tag-blue{color:#3c9ae8;background:#111d2c;border-color:#15395b}.ant-tag-blue-inverse{color:#fff;background:#177ddc;border-color:#177ddc}.ant-tag-geekblue{color:#5273e0;background:#131629;border-color:#1c2755}.ant-tag-geekblue-inverse{color:#fff;background:#2b4acb;border-color:#2b4acb}.ant-tag-purple{color:#854eca;background:#1a1325;border-color:#301c4d}.ant-tag-purple-inverse{color:#fff;background:#642ab5;border-color:#642ab5}.ant-tag-success{color:#49aa19;background:#162312;border-color:#274916}.ant-tag-processing{color:#177ddc;background:#111b26;border-color:#153450}.ant-tag-error{color:#a61d24;background:#2a1215;border-color:#58181c}.ant-tag-warning{color:#d89614;background:#2b1d11;border-color:#593815}.ant-tag>.anticon+span,.ant-tag>span+.anticon{margin-left:7px}.ant-tag.ant-tag-rtl{margin-right:0;margin-left:8px;direction:rtl;text-align:right}.ant-tag-rtl .ant-tag-close-icon{margin-right:3px;margin-left:0}.ant-tag-rtl.ant-tag>.anticon+span,.ant-tag-rtl.ant-tag>span+.anticon{margin-right:7px;margin-left:0}.ant-table.ant-table-middle{font-size:12px}.ant-table.ant-table-middle .ant-table-footer,.ant-table.ant-table-middle .ant-table-tbody>tr>td,.ant-table.ant-table-middle .ant-table-thead>tr>th,.ant-table.ant-table-middle .ant-table-title,.ant-table.ant-table-middle tfoot>tr>td,.ant-table.ant-table-middle tfoot>tr>th{padding:8px}.ant-table.ant-table-middle .ant-table-filter-trigger{margin-right:-4px}.ant-table.ant-table-middle .ant-table-expanded-row-fixed{margin:-8px}.ant-table.ant-table-middle .ant-table-tbody .ant-table-wrapper:only-child .ant-table{margin:-8px -8px -8px 40px}.ant-table.ant-table-middle .ant-table-selection-column{-webkit-padding-start:2px;padding-inline-start:2px}.ant-table.ant-table-small{font-size:12px}.ant-table.ant-table-small .ant-table-footer,.ant-table.ant-table-small .ant-table-tbody>tr>td,.ant-table.ant-table-small .ant-table-thead>tr>th,.ant-table.ant-table-small .ant-table-title,.ant-table.ant-table-small tfoot>tr>td,.ant-table.ant-table-small tfoot>tr>th{padding:4px}.ant-table.ant-table-small .ant-table-filter-trigger{margin-right:-2px}.ant-table.ant-table-small .ant-table-expanded-row-fixed{margin:-4px}.ant-table.ant-table-small .ant-table-tbody .ant-table-wrapper:only-child .ant-table{margin:-4px -4px -4px 44px}.ant-table.ant-table-small .ant-table-selection-column{-webkit-padding-start:1px;padding-inline-start:1px}.ant-table.ant-table-bordered>.ant-table-title{border:1px solid #303030;border-bottom:0}.ant-table.ant-table-bordered>.ant-table-container{border-left:1px solid #303030}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>th{border-right:1px solid #303030}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr:not(:last-child)>th{border-bottom:1px solid #303030}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>th:before,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>th:before{background-color:transparent!important}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>thead>tr>.ant-table-cell-fix-right-first:after{border-right:1px solid #303030}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-12px -9px}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-summary>table>tbody>tr>td>.ant-table-expanded-row-fixed:after{position:absolute;top:0;right:1px;bottom:0;border-right:1px solid #303030;content:\"\"}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table{border-top:1px solid #303030}.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.ant-table-body>table>tbody>tr.ant-table-expanded-row>td,.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.ant-table-body>table>tbody>tr.ant-table-placeholder>td{border-right:0}.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-8px -9px}.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-4px -5px}.ant-table.ant-table-bordered>.ant-table-footer{border:1px solid #303030;border-top:0}.ant-table-cell .ant-table-container:first-child{border-top:0}.ant-table-cell-scrollbar:not([rowspan]){box-shadow:0 1px 0 1px #1d1d1d}.ant-table-wrapper{clear:both;max-width:100%}.ant-table-wrapper:before{display:table;content:\"\"}.ant-table-wrapper:after{display:table;clear:both;content:\"\"}.ant-table{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";position:relative;font-size:12px;background:#141414;border-radius:2px}.ant-table table{width:100%;text-align:left;border-radius:2px 2px 0 0;border-collapse:separate;border-spacing:0}.ant-table-tbody>tr>td,.ant-table-thead>tr>th,.ant-table tfoot>tr>td,.ant-table tfoot>tr>th{position:relative;padding:12px 8px;overflow-wrap:break-word}.ant-table-cell-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.ant-table-cell-ellipsis.ant-table-cell-fix-left-last,.ant-table-cell-ellipsis.ant-table-cell-fix-right-first{overflow:visible}.ant-table-cell-ellipsis.ant-table-cell-fix-left-last .ant-table-cell-content,.ant-table-cell-ellipsis.ant-table-cell-fix-right-first .ant-table-cell-content{display:block;overflow:hidden;text-overflow:ellipsis}.ant-table-cell-ellipsis .ant-table-column-title{overflow:hidden;text-overflow:ellipsis;word-break:keep-all}.ant-table-title{padding:12px 8px}.ant-table-footer{padding:12px 8px;color:hsla(0,0%,100%,.85);background:hsla(0,0%,100%,.04)}.ant-table-thead>tr>th{position:relative;color:hsla(0,0%,100%,.85);font-weight:500;text-align:left;background:#1d1d1d;border-bottom:1px solid #303030;transition:background .3s ease}.ant-table-thead>tr>th[colspan]:not([colspan=\"1\"]){text-align:center}.ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]):before{position:absolute;top:50%;right:0;width:1px;height:1.6em;background-color:hsla(0,0%,100%,.08);transform:translateY(-50%);transition:background-color .3s;content:\"\"}.ant-table-thead>tr:not(:last-child)>th[colspan]{border-bottom:0}.ant-table-tbody>tr>td{border-bottom:1px solid #303030;transition:background .3s}.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table{margin:-12px -8px -12px 40px}.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td{border-bottom:0}.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:first-child,.ant-table-tbody>tr>td>.ant-table-expanded-row-fixed>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:last-child,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:first-child,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:last-child{border-radius:0}.ant-table-tbody>tr.ant-table-row:hover>td,.ant-table-tbody>tr>td.ant-table-cell-row-hover{background:#262626}.ant-table-tbody>tr.ant-table-row-selected>td{background:#111b26;border-color:rgba(0,0,0,.03)}.ant-table-tbody>tr.ant-table-row-selected:hover>td{background:#0e161f}.ant-table-summary{position:relative;z-index:2;background:#141414}div.ant-table-summary{box-shadow:0 -1px 0 #303030}.ant-table-summary>tr>td,.ant-table-summary>tr>th{border-bottom:1px solid #303030}.ant-table-pagination.ant-pagination{margin:16px 0}.ant-table-pagination{display:flex;flex-wrap:wrap;grid-row-gap:4px;row-gap:4px}.ant-table-pagination>*{flex:none}.ant-table-pagination-left{justify-content:flex-start}.ant-table-pagination-center{justify-content:center}.ant-table-pagination-right{justify-content:flex-end}.ant-table-thead th.ant-table-column-has-sorters{outline:none;cursor:pointer;transition:all .3s}.ant-table-thead th.ant-table-column-has-sorters:hover{background:#303030}.ant-table-thead th.ant-table-column-has-sorters:hover:before{background-color:transparent!important}.ant-table-thead th.ant-table-column-has-sorters:focus-visible{color:#177ddc}.ant-table-thead th.ant-table-column-has-sorters.ant-table-cell-fix-left:hover,.ant-table-thead th.ant-table-column-has-sorters.ant-table-cell-fix-right:hover{background:#222}.ant-table-thead th.ant-table-column-sort{background:#262626}.ant-table-thead th.ant-table-column-sort:before{background-color:transparent!important}td.ant-table-column-sort{background:hsla(0,0%,100%,.01)}.ant-table-column-title{position:relative;z-index:1;flex:1 1}.ant-table-column-sorters{display:flex;flex:auto;align-items:center;justify-content:space-between}.ant-table-column-sorters:after{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;content:\"\"}.ant-table-column-sorter{margin-left:4px;color:#bfbfbf;font-size:0;transition:color .3s}.ant-table-column-sorter-inner{display:inline-flex;flex-direction:column;align-items:center}.ant-table-column-sorter-down,.ant-table-column-sorter-up{font-size:11px}.ant-table-column-sorter-down.active,.ant-table-column-sorter-up.active{color:#177ddc}.ant-table-column-sorter-up+.ant-table-column-sorter-down{margin-top:-.3em}.ant-table-column-sorters:hover .ant-table-column-sorter{color:#a6a6a6}.ant-table-filter-column{display:flex;justify-content:space-between}.ant-table-filter-trigger{position:relative;display:flex;align-items:center;margin:-4px -4px -4px 4px;padding:0 4px;color:#bfbfbf;font-size:12px;border-radius:2px;cursor:pointer;transition:all .3s}.ant-table-filter-trigger:hover{color:hsla(0,0%,100%,.45);background:#434343}.ant-table-filter-trigger.active{color:#177ddc}.ant-table-filter-dropdown{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";min-width:120px;background-color:#1f1f1f;border-radius:2px;box-shadow:0 3px 6px -4px rgba(0,0,0,.48),0 6px 16px 0 rgba(0,0,0,.32),0 9px 28px 8px rgba(0,0,0,.2)}.ant-table-filter-dropdown .ant-dropdown-menu{max-height:264px;overflow-x:hidden;border:0;box-shadow:none}.ant-table-filter-dropdown .ant-dropdown-menu:empty:after{display:block;padding:8px 0;color:hsla(0,0%,100%,.3);font-size:12px;text-align:center;content:\"Not Found\"}.ant-table-filter-dropdown-tree{padding:8px 8px 0}.ant-table-filter-dropdown-tree .ant-tree-treenode .ant-tree-node-content-wrapper:hover{background-color:hsla(0,0%,100%,.08)}.ant-table-filter-dropdown-tree .ant-tree-treenode-checkbox-checked .ant-tree-node-content-wrapper,.ant-table-filter-dropdown-tree .ant-tree-treenode-checkbox-checked .ant-tree-node-content-wrapper:hover{background-color:#11263c}.ant-table-filter-dropdown-search{padding:8px;border-bottom:1px solid #303030}.ant-table-filter-dropdown-search-input input{min-width:140px}.ant-table-filter-dropdown-search-input .anticon{color:hsla(0,0%,100%,.3)}.ant-table-filter-dropdown-checkall{width:100%;margin-bottom:4px;margin-left:4px}.ant-table-filter-dropdown-submenu>ul{max-height:calc(100vh - 130px);overflow-x:hidden;overflow-y:auto}.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span,.ant-table-filter-dropdown .ant-checkbox-wrapper+span{padding-left:8px}.ant-table-filter-dropdown-btns{display:flex;justify-content:space-between;padding:7px 8px;overflow:hidden;background-color:#1f1f1f;border-top:1px solid #303030}.ant-table-selection-col{width:32px}.ant-table-bordered .ant-table-selection-col{width:50px}table tr td.ant-table-selection-column,table tr th.ant-table-selection-column{padding-right:4px;padding-left:4px;text-align:center}table tr td.ant-table-selection-column .ant-radio-wrapper,table tr th.ant-table-selection-column .ant-radio-wrapper{margin-right:0}table tr th.ant-table-selection-column.ant-table-cell-fix-left{z-index:3}table tr th.ant-table-selection-column:after{background-color:transparent!important}.ant-table-selection{position:relative;display:inline-flex;flex-direction:column}.ant-table-selection-extra{position:absolute;top:0;z-index:1;cursor:pointer;transition:all .3s;-webkit-margin-start:100%;margin-inline-start:100%;-webkit-padding-start:2px;padding-inline-start:2px}.ant-table-selection-extra .anticon{color:#bfbfbf;font-size:10px}.ant-table-selection-extra .anticon:hover{color:#a6a6a6}.ant-table-expand-icon-col{width:48px}.ant-table-row-expand-icon-cell{text-align:center}.ant-table-row-expand-icon-cell .ant-table-row-expand-icon{display:inline-flex;float:none;vertical-align:sub}.ant-table-row-indent{float:left;height:1px}.ant-table-row-expand-icon{color:#177ddc;outline:none;cursor:pointer;transition:color .3s;position:relative;float:left;box-sizing:border-box;width:17px;height:17px;padding:0;color:inherit;line-height:17px;background:transparent;border:1px solid #303030;border-radius:2px;transform:scale(.82352941);transition:all .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-table-row-expand-icon:focus-visible,.ant-table-row-expand-icon:hover{color:#165996}.ant-table-row-expand-icon:active{color:#388ed3}.ant-table-row-expand-icon:active,.ant-table-row-expand-icon:focus,.ant-table-row-expand-icon:hover{border-color:currentcolor}.ant-table-row-expand-icon:after,.ant-table-row-expand-icon:before{position:absolute;background:currentcolor;transition:transform .3s ease-out;content:\"\"}.ant-table-row-expand-icon:before{top:7px;right:3px;left:3px;height:1px}.ant-table-row-expand-icon:after{top:3px;bottom:3px;left:7px;width:1px;transform:rotate(90deg)}.ant-table-row-expand-icon-collapsed:before{transform:rotate(-180deg)}.ant-table-row-expand-icon-collapsed:after{transform:rotate(0deg)}.ant-table-row-expand-icon-spaced{background:transparent;border:0;visibility:hidden}.ant-table-row-expand-icon-spaced:after,.ant-table-row-expand-icon-spaced:before{display:none;content:none}.ant-table-row-indent+.ant-table-row-expand-icon{margin-top:1.50002px;margin-right:4px}tr.ant-table-expanded-row:hover>td,tr.ant-table-expanded-row>td{background:#1d1d1d}tr.ant-table-expanded-row .ant-descriptions-view{display:flex}tr.ant-table-expanded-row .ant-descriptions-view table{flex:auto;width:auto}.ant-table .ant-table-expanded-row-fixed{position:relative;margin:-12px -8px;padding:12px 8px}.ant-table-tbody>tr.ant-table-placeholder{text-align:center}.ant-table-empty .ant-table-tbody>tr.ant-table-placeholder{color:hsla(0,0%,100%,.3)}.ant-table-tbody>tr.ant-table-placeholder:hover>td{background:#141414}.ant-table-cell-fix-left,.ant-table-cell-fix-right{position:-webkit-sticky!important;position:sticky!important;z-index:2;background:#141414}.ant-table-cell-fix-left-first:after,.ant-table-cell-fix-left-last:after{position:absolute;top:0;right:0;bottom:-1px;width:30px;transform:translateX(100%);transition:box-shadow .3s;content:\"\";pointer-events:none}.ant-table-cell-fix-left-all:after{display:none}.ant-table-cell-fix-right-first:after,.ant-table-cell-fix-right-last:after{position:absolute;top:0;bottom:-1px;left:0;width:30px;transform:translateX(-100%);transition:box-shadow .3s;content:\"\";pointer-events:none}.ant-table .ant-table-container:after,.ant-table .ant-table-container:before{position:absolute;top:0;bottom:0;z-index:4;width:30px;transition:box-shadow .3s;content:\"\";pointer-events:none}.ant-table .ant-table-container:before{left:0}.ant-table .ant-table-container:after{right:0}.ant-table-ping-left:not(.ant-table-has-fix-left)>.ant-table-container{position:relative}.ant-table-ping-left:not(.ant-table-has-fix-left)>.ant-table-container:before{box-shadow:inset 10px 0 8px -8px rgba(0,0,0,.45)}.ant-table-ping-left .ant-table-cell-fix-left-first:after,.ant-table-ping-left .ant-table-cell-fix-left-last:after{box-shadow:inset 10px 0 8px -8px rgba(0,0,0,.45)}.ant-table-ping-left .ant-table-cell-fix-left-last:before{background-color:transparent!important}.ant-table-ping-right:not(.ant-table-has-fix-right)>.ant-table-container{position:relative}.ant-table-ping-right:not(.ant-table-has-fix-right)>.ant-table-container:after{box-shadow:inset -10px 0 8px -8px rgba(0,0,0,.45)}.ant-table-ping-right .ant-table-cell-fix-right-first:after,.ant-table-ping-right .ant-table-cell-fix-right-last:after{box-shadow:inset -10px 0 8px -8px rgba(0,0,0,.45)}.ant-table-sticky-holder{position:-webkit-sticky;position:sticky;z-index:3;background:#141414}.ant-table-sticky-scroll{position:-webkit-sticky;position:sticky;bottom:0;z-index:3;display:flex;align-items:center;background:#fcfcfc;border-top:1px solid #303030;opacity:.6}.ant-table-sticky-scroll:hover{transform-origin:center bottom}.ant-table-sticky-scroll-bar{height:8px;background-color:rgba(0,0,0,.35);border-radius:4px}.ant-table-sticky-scroll-bar:hover{background-color:rgba(0,0,0,.8)}.ant-table-sticky-scroll-bar-active{background-color:rgba(0,0,0,.8)}@media (-ms-high-contrast:none){.ant-table-ping-left .ant-table-cell-fix-left-last:after{box-shadow:none!important}.ant-table-ping-right .ant-table-cell-fix-right-first:after{box-shadow:none!important}}.ant-table-title{border-radius:2px 2px 0 0}.ant-table-title+.ant-table-container{border-top-left-radius:0;border-top-right-radius:0}.ant-table-title+.ant-table-container table{border-radius:0}.ant-table-title+.ant-table-container table>thead>tr:first-child th:first-child{border-radius:0}.ant-table-title+.ant-table-container table>thead>tr:first-child th:last-child{border-radius:0}.ant-table-container{border-top-left-radius:2px;border-top-right-radius:2px}.ant-table-container table>thead>tr:first-child th:first-child{border-top-left-radius:2px}.ant-table-container table>thead>tr:first-child th:last-child{border-top-right-radius:2px}.ant-table-footer{border-radius:0 0 2px 2px}.ant-table-wrapper-rtl{direction:rtl}.ant-table-rtl{direction:rtl}.ant-table-wrapper-rtl .ant-table table{text-align:right}.ant-table-wrapper-rtl .ant-table-thead>tr>th[colspan]:not([colspan=\"1\"]){text-align:center}.ant-table-wrapper-rtl .ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]):before{right:auto;left:0}.ant-table-wrapper-rtl .ant-table-thead>tr>th{text-align:right}.ant-table-tbody>tr .ant-table-wrapper:only-child .ant-table.ant-table-rtl{margin:-12px 25px -12px -8px}.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-left{justify-content:flex-end}.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-right{justify-content:flex-start}.ant-table-wrapper-rtl .ant-table-column-sorter{margin-right:4px;margin-left:0}.ant-table-wrapper-rtl .ant-table-filter-column-title{padding:12px 8px 12px 2.3em}.ant-table-rtl .ant-table-thead tr th.ant-table-column-has-sorters .ant-table-filter-column-title{padding:0 0 0 2.3em}.ant-table-wrapper-rtl .ant-table-filter-trigger{margin:-4px 4px -4px -4px}.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span,.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown .ant-checkbox-wrapper+span,.ant-dropdown-rtl .ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span,.ant-dropdown-rtl .ant-table-filter-dropdown .ant-checkbox-wrapper+span{padding-right:8px;padding-left:0}.ant-table-wrapper-rtl .ant-table-selection{text-align:center}.ant-table-wrapper-rtl .ant-table-row-indent{float:right}.ant-table-wrapper-rtl .ant-table-row-expand-icon{float:right}.ant-table-wrapper-rtl .ant-table-row-indent+.ant-table-row-expand-icon{margin-right:0;margin-left:4px}.ant-table-wrapper-rtl .ant-table-row-expand-icon:after{transform:rotate(-90deg)}.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed:before{transform:rotate(180deg)}.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed:after{transform:rotate(0deg)}.ant-checkbox{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";position:relative;top:.2em;line-height:1;white-space:nowrap;outline:none;cursor:pointer}.ant-checkbox-input:focus+.ant-checkbox-inner,.ant-checkbox-wrapper:hover .ant-checkbox-inner,.ant-checkbox:hover .ant-checkbox-inner{border-color:#177ddc}.ant-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #177ddc;border-radius:2px;visibility:hidden;animation:antCheckboxEffect .36s ease-in-out;animation-fill-mode:backwards;content:\"\"}.ant-checkbox-wrapper:hover .ant-checkbox:after,.ant-checkbox:hover:after{visibility:visible}.ant-checkbox-inner{position:relative;top:0;left:0;display:block;width:14px;height:14px;direction:ltr;background-color:transparent;border:1px solid #434343;border-radius:2px;border-collapse:separate;transition:all .3s}.ant-checkbox-inner:after{position:absolute;top:50%;left:21.5%;display:table;width:5px;height:8px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:\" \"}.ant-checkbox-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-checkbox-checked .ant-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:\" \"}.ant-checkbox-checked .ant-checkbox-inner{background-color:#177ddc;border-color:#177ddc}.ant-checkbox-disabled{cursor:not-allowed}.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner:after{border-color:hsla(0,0%,100%,.3);animation-name:none}.ant-checkbox-disabled .ant-checkbox-input{cursor:not-allowed;pointer-events:none}.ant-checkbox-disabled .ant-checkbox-inner{background-color:hsla(0,0%,100%,.08);border-color:#434343!important}.ant-checkbox-disabled .ant-checkbox-inner:after{border-color:hsla(0,0%,100%,.08);border-collapse:separate;animation-name:none}.ant-checkbox-disabled+span{color:hsla(0,0%,100%,.3);cursor:not-allowed}.ant-checkbox-disabled:hover:after,.ant-checkbox-wrapper:hover .ant-checkbox-disabled:after{visibility:hidden}.ant-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";display:inline-flex;align-items:baseline;line-height:unset;cursor:pointer}.ant-checkbox-wrapper:after{display:inline-block;width:0;overflow:hidden;content:\"\\a0\"}.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled{cursor:not-allowed}.ant-checkbox-wrapper+.ant-checkbox-wrapper{margin-left:8px}.ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type=checkbox]{width:14px;height:14px}.ant-checkbox+span{padding-right:8px;padding-left:8px}.ant-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";display:inline-block}.ant-checkbox-group-item{margin-right:6px}.ant-checkbox-group-item:last-child{margin-right:0}.ant-checkbox-group-item+.ant-checkbox-group-item{margin-left:0}.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:transparent;border-color:#434343}.ant-checkbox-indeterminate .ant-checkbox-inner:after{top:50%;left:50%;width:6px;height:6px;background-color:#177ddc;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:\" \"}.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner:after{background-color:hsla(0,0%,100%,.3);border-color:hsla(0,0%,100%,.3)}.ant-checkbox-rtl{direction:rtl}.ant-checkbox-group-rtl .ant-checkbox-group-item{margin-right:0;margin-left:6px}.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child{margin-left:0!important}.ant-checkbox-group-rtl .ant-checkbox-group-item+.ant-checkbox-group-item{margin-left:6px}.ant-dropdown-menu-item.ant-dropdown-menu-item-danger{color:#a61d24}.ant-dropdown-menu-item.ant-dropdown-menu-item-danger:hover{color:#fff;background-color:#a61d24}.ant-dropdown{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";position:absolute;top:-9999px;left:-9999px;z-index:1050;display:block}.ant-dropdown:before{position:absolute;top:-4px;right:0;bottom:-4px;left:-7px;z-index:-9999;opacity:.0001;content:\" \"}.ant-dropdown-wrap{position:relative}.ant-dropdown-wrap .ant-btn>.anticon-down{font-size:10px}.ant-dropdown-wrap .anticon-down:before{transition:transform .2s}.ant-dropdown-wrap-open .anticon-down:before{transform:rotate(180deg)}.ant-dropdown-hidden,.ant-dropdown-menu-hidden,.ant-dropdown-menu-submenu-hidden{display:none}.ant-dropdown-show-arrow.ant-dropdown-placement-top,.ant-dropdown-show-arrow.ant-dropdown-placement-topLeft,.ant-dropdown-show-arrow.ant-dropdown-placement-topRight{padding-bottom:15.3137085px}.ant-dropdown-show-arrow.ant-dropdown-placement-bottom,.ant-dropdown-show-arrow.ant-dropdown-placement-bottomLeft,.ant-dropdown-show-arrow.ant-dropdown-placement-bottomRight{padding-top:15.3137085px}.ant-dropdown-arrow{position:absolute;z-index:1;display:block;width:11.3137085px;height:11.3137085px;border-radius:0 0 2px;pointer-events:none}.ant-dropdown-arrow:before{position:absolute;top:-11.3137085px;left:-11.3137085px;width:33.9411255px;height:33.9411255px;background:#1f1f1f;background-repeat:no-repeat;background-position:-10px -10px;content:\"\";-webkit-clip-path:inset(33% 33%);clip-path:inset(33% 33%);-webkit-clip-path:path(\"M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z\");clip-path:path(\"M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z\")}.ant-dropdown-placement-top>.ant-dropdown-arrow,.ant-dropdown-placement-topLeft>.ant-dropdown-arrow,.ant-dropdown-placement-topRight>.ant-dropdown-arrow{bottom:10px;box-shadow:3px 3px 7px -3px rgba(0,0,0,.1);transform:rotate(45deg)}.ant-dropdown-placement-top>.ant-dropdown-arrow{left:50%;transform:translateX(-50%) rotate(45deg)}.ant-dropdown-placement-topLeft>.ant-dropdown-arrow{left:16px}.ant-dropdown-placement-topRight>.ant-dropdown-arrow{right:16px}.ant-dropdown-placement-bottom>.ant-dropdown-arrow,.ant-dropdown-placement-bottomLeft>.ant-dropdown-arrow,.ant-dropdown-placement-bottomRight>.ant-dropdown-arrow{top:9.41421356px;box-shadow:2px 2px 5px -2px rgba(0,0,0,.1);transform:rotate(-135deg) translateY(-.5px)}.ant-dropdown-placement-bottom>.ant-dropdown-arrow{left:50%;transform:translateX(-50%) rotate(-135deg) translateY(-.5px)}.ant-dropdown-placement-bottomLeft>.ant-dropdown-arrow{left:16px}.ant-dropdown-placement-bottomRight>.ant-dropdown-arrow{right:16px}.ant-dropdown-menu{position:relative;margin:0;padding:4px 0;text-align:left;list-style-type:none;background-color:#1f1f1f;background-clip:padding-box;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px rgba(0,0,0,.48),0 6px 16px 0 rgba(0,0,0,.32),0 9px 28px 8px rgba(0,0,0,.2)}.ant-dropdown-menu-item-group-title{padding:5px 8px;color:hsla(0,0%,100%,.45);transition:all .3s}.ant-dropdown-menu-submenu-popup{position:absolute;z-index:1050;background:transparent;box-shadow:none;transform-origin:0 0}.ant-dropdown-menu-submenu-popup li,.ant-dropdown-menu-submenu-popup ul{list-style:none}.ant-dropdown-menu-submenu-popup ul{margin-right:.3em;margin-left:.3em}.ant-dropdown-menu-item{position:relative;display:flex;align-items:center}.ant-dropdown-menu-item-icon{min-width:12px;margin-right:8px;font-size:12px}.ant-dropdown-menu-title-content{flex:auto}.ant-dropdown-menu-title-content>a{color:inherit;transition:all .3s}.ant-dropdown-menu-title-content>a:hover{color:inherit}.ant-dropdown-menu-title-content>a:after{position:absolute;top:0;right:0;bottom:0;left:0;content:\"\"}.ant-dropdown-menu-item,.ant-dropdown-menu-submenu-title{clear:both;margin:0;padding:5px 8px;color:hsla(0,0%,100%,.85);font-weight:400;font-size:12px;line-height:18px;cursor:pointer;transition:all .3s}.ant-dropdown-menu-item-selected,.ant-dropdown-menu-submenu-title-selected{color:#177ddc;background-color:#111b26}.ant-dropdown-menu-item.ant-dropdown-menu-item-active,.ant-dropdown-menu-item.ant-dropdown-menu-submenu-title-active,.ant-dropdown-menu-item:hover,.ant-dropdown-menu-submenu-title.ant-dropdown-menu-item-active,.ant-dropdown-menu-submenu-title.ant-dropdown-menu-submenu-title-active,.ant-dropdown-menu-submenu-title:hover{background-color:hsla(0,0%,100%,.08)}.ant-dropdown-menu-item-disabled,.ant-dropdown-menu-submenu-title-disabled{color:hsla(0,0%,100%,.3);cursor:not-allowed}.ant-dropdown-menu-item-disabled:hover,.ant-dropdown-menu-submenu-title-disabled:hover{color:hsla(0,0%,100%,.3);background-color:transparent;cursor:not-allowed}.ant-dropdown-menu-item-disabled a,.ant-dropdown-menu-submenu-title-disabled a{pointer-events:none}.ant-dropdown-menu-item-divider,.ant-dropdown-menu-submenu-title-divider{height:1px;margin:4px 0;overflow:hidden;line-height:0;background-color:#303030}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon{position:absolute;right:4px}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon{margin-right:0!important;color:hsla(0,0%,100%,.45);font-size:10px;font-style:normal}.ant-dropdown-menu-item-group-list{margin:0 8px;padding:0;list-style:none}.ant-dropdown-menu-submenu-title{padding-right:20px}.ant-dropdown-menu-submenu-vertical{position:relative}.ant-dropdown-menu-submenu-vertical>.ant-dropdown-menu{position:absolute;top:0;left:100%;min-width:100%;margin-left:4px;transform-origin:0 0}.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title,.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon{color:hsla(0,0%,100%,.3);background-color:transparent;cursor:not-allowed}.ant-dropdown-menu-submenu-selected .ant-dropdown-menu-submenu-title{color:#177ddc}.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottom,.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomRight,.ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottom,.ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomRight{animation-name:antSlideUpIn}.ant-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-dropdown-placement-top,.ant-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-dropdown-placement-topLeft,.ant-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-dropdown-placement-topRight,.ant-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-dropdown-placement-top,.ant-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-dropdown-placement-topLeft,.ant-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-dropdown-placement-topRight{animation-name:antSlideDownIn}.ant-dropdown.ant-slide-down-leave.ant-slide-down-leave-active.ant-dropdown-placement-bottom,.ant-dropdown.ant-slide-down-leave.ant-slide-down-leave-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.ant-slide-down-leave.ant-slide-down-leave-active.ant-dropdown-placement-bottomRight{animation-name:antSlideUpOut}.ant-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-dropdown-placement-top,.ant-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-dropdown-placement-topLeft,.ant-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-dropdown-placement-topRight{animation-name:antSlideDownOut}.ant-dropdown-button>.anticon.anticon-down,.ant-dropdown-link>.anticon.anticon-down,.ant-dropdown-trigger>.anticon.anticon-down{font-size:10px;vertical-align:baseline}.ant-dropdown-button{white-space:nowrap}.ant-dropdown-button.ant-btn-group>.ant-btn-loading,.ant-dropdown-button.ant-btn-group>.ant-btn-loading+.ant-btn{cursor:default;pointer-events:none}.ant-dropdown-button.ant-btn-group>.ant-btn-loading+.ant-btn:before{display:block}.ant-dropdown-button.ant-btn-group>.ant-btn:last-child:not(:first-child):not(.ant-btn-icon-only){padding-right:4px;padding-left:4px}.ant-dropdown-menu-dark,.ant-dropdown-menu-dark .ant-dropdown-menu{background:#1f1f1f}.ant-dropdown-menu-dark .ant-dropdown-menu-item,.ant-dropdown-menu-dark .ant-dropdown-menu-item>.anticon+span>a,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title{color:hsla(0,0%,100%,.65)}.ant-dropdown-menu-dark .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-item>.anticon+span>a .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow:after{color:hsla(0,0%,100%,.65)}.ant-dropdown-menu-dark .ant-dropdown-menu-item:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item>.anticon+span>a:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title:hover{color:#fff;background:transparent}.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected>a{color:#fff;background:#177ddc}.ant-dropdown-rtl{direction:rtl}.ant-dropdown-rtl.ant-dropdown:before{right:-7px;left:0}.ant-dropdown-menu.ant-dropdown-menu-rtl{direction:rtl;text-align:right}.ant-dropdown-menu-submenu-rtl .ant-dropdown-menu-item-group-title,.ant-dropdown-rtl .ant-dropdown-menu-item-group-title{direction:rtl;text-align:right}.ant-dropdown-menu-submenu-popup.ant-dropdown-menu-submenu-rtl{transform-origin:100% 0}.ant-dropdown-rtl .ant-dropdown-menu-submenu-popup li,.ant-dropdown-rtl .ant-dropdown-menu-submenu-popup ul{text-align:right}.ant-dropdown-rtl .ant-dropdown-menu-item,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title{text-align:right}.ant-dropdown-rtl .ant-dropdown-menu-item>.anticon:first-child,.ant-dropdown-rtl .ant-dropdown-menu-item>span>.anticon:first-child,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title>.anticon:first-child,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title>span>.anticon:first-child{margin-right:0;margin-left:8px}.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon{right:auto;left:4px}.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon{margin-left:0!important;transform:scaleX(-1)}.ant-dropdown-rtl .ant-dropdown-menu-submenu-title{padding-right:8px;padding-left:20px}.ant-dropdown-rtl .ant-dropdown-menu-submenu-vertical>.ant-dropdown-menu{right:100%;left:0;margin-right:4px;margin-left:0}.ant-menu-item-danger.ant-menu-item{color:#a61d24}.ant-menu-item-danger.ant-menu-item-active,.ant-menu-item-danger.ant-menu-item:hover{color:#a61d24}.ant-menu-item-danger.ant-menu-item:active{background:#2a1215}.ant-menu-item-danger.ant-menu-item-selected{color:#a61d24}.ant-menu-item-danger.ant-menu-item-selected>a,.ant-menu-item-danger.ant-menu-item-selected>a:hover{color:#a61d24}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected{background-color:#2a1215}.ant-menu-inline .ant-menu-item-danger.ant-menu-item:after{border-right-color:#a61d24}.ant-menu-dark .ant-menu-item-danger.ant-menu-item,.ant-menu-dark .ant-menu-item-danger.ant-menu-item:hover,.ant-menu-dark .ant-menu-item-danger.ant-menu-item>a{color:#a61d24}.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected{color:#fff;background-color:#a61d24}.ant-menu{box-sizing:border-box;font-variant:tabular-nums;line-height:1.66667;font-feature-settings:tnum,\"tnum\";margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;line-height:0;text-align:left;list-style:none;background:#141414;outline:none;box-shadow:0 3px 6px -4px rgba(0,0,0,.48),0 6px 16px 0 rgba(0,0,0,.32),0 9px 28px 8px rgba(0,0,0,.2);transition:background .3s,width .3s cubic-bezier(.2,0,0,1) 0s}.ant-menu:before{display:table;content:\"\"}.ant-menu:after{display:table;clear:both;content:\"\"}.ant-menu.ant-menu-root:focus-visible{box-shadow:0 0 0 2px #11263c}.ant-menu ol,.ant-menu ul{margin:0;padding:0;list-style:none}.ant-menu-overflow{display:flex}.ant-menu-overflow-item{flex:none}.ant-menu-hidden,.ant-menu-submenu-hidden{display:none}.ant-menu-item-group-title{height:1.66667;padding:8px 16px;color:hsla(0,0%,100%,.45);font-size:12px;line-height:1.66667;transition:all .3s}.ant-menu-horizontal .ant-menu-submenu{transition:border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu,.ant-menu-submenu-inline{transition:border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1),padding .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-selected{color:#177ddc}.ant-menu-item:active,.ant-menu-submenu-title:active{background:#111b26}.ant-menu-submenu .ant-menu-sub{cursor:auto;transition:background .3s cubic-bezier(.645,.045,.355,1),padding .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-title-content{transition:color .3s}.ant-menu-item a{color:hsla(0,0%,100%,.85)}.ant-menu-item a:hover{color:#177ddc}.ant-menu-item a:before{position:absolute;top:0;right:0;bottom:0;left:0;background-color:transparent;content:\"\"}.ant-menu-item>.ant-badge a{color:hsla(0,0%,100%,.85)}.ant-menu-item>.ant-badge a:hover{color:#177ddc}.ant-menu-item-divider{overflow:hidden;line-height:0;border:solid #303030;border-width:1px 0 0}.ant-menu-item-divider-dashed{border-style:dashed}.ant-menu-horizontal .ant-menu-item,.ant-menu-horizontal .ant-menu-submenu{margin-top:-1px}.ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-submenu .ant-menu-submenu-title:hover{background-color:transparent}.ant-menu-item-selected{color:#177ddc}.ant-menu-item-selected a,.ant-menu-item-selected a:hover{color:#177ddc}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected{background-color:#111b26}.ant-menu-inline,.ant-menu-vertical,.ant-menu-vertical-left{border-right:1px solid #303030}.ant-menu-vertical-right{border-left:1px solid #303030}.ant-menu-vertical-left.ant-menu-sub,.ant-menu-vertical-right.ant-menu-sub,.ant-menu-vertical.ant-menu-sub{min-width:160px;max-height:calc(100vh - 100px);padding:0;overflow:hidden;border-right:0}.ant-menu-vertical-left.ant-menu-sub:not([class*=-active]),.ant-menu-vertical-right.ant-menu-sub:not([class*=-active]),.ant-menu-vertical.ant-menu-sub:not([class*=-active]){overflow-x:hidden;overflow-y:auto}.ant-menu-vertical-left.ant-menu-sub .ant-menu-item,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item,.ant-menu-vertical.ant-menu-sub .ant-menu-item{left:0;margin-left:0;border-right:0}.ant-menu-vertical-left.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical.ant-menu-sub .ant-menu-item:after{border-right:0}.ant-menu-vertical-left.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-left.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical.ant-menu-sub>.ant-menu-item,.ant-menu-vertical.ant-menu-sub>.ant-menu-submenu{transform-origin:0 0}.ant-menu-horizontal.ant-menu-sub{min-width:114px}.ant-menu-horizontal .ant-menu-item,.ant-menu-horizontal .ant-menu-submenu-title{transition:border-color .3s,background .3s}.ant-menu-item,.ant-menu-submenu-title{position:relative;display:block;margin:0;padding:0 12px;white-space:nowrap;cursor:pointer;transition:border-color .3s,background .3s,padding .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-item .ant-menu-item-icon,.ant-menu-item .anticon,.ant-menu-submenu-title .ant-menu-item-icon,.ant-menu-submenu-title .anticon{min-width:14px;font-size:12px;transition:font-size .15s cubic-bezier(.215,.61,.355,1),margin .3s cubic-bezier(.645,.045,.355,1),color .3s}.ant-menu-item .ant-menu-item-icon+span,.ant-menu-item .anticon+span,.ant-menu-submenu-title .ant-menu-item-icon+span,.ant-menu-submenu-title .anticon+span{margin-left:8px;opacity:1;transition:opacity .3s cubic-bezier(.645,.045,.355,1),margin .3s,color .3s}.ant-menu-item .ant-menu-item-icon.svg,.ant-menu-submenu-title .ant-menu-item-icon.svg{vertical-align:-.125em}.ant-menu-item.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-item.ant-menu-item-only-child>.anticon,.ant-menu-submenu-title.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-submenu-title.ant-menu-item-only-child>.anticon{margin-right:0}.ant-menu-item:not(.ant-menu-item-disabled):focus-visible,.ant-menu-submenu-title:not(.ant-menu-item-disabled):focus-visible{box-shadow:0 0 0 2px #11263c}.ant-menu>.ant-menu-item-divider{margin:1px 0;padding:0}.ant-menu-submenu-popup{position:absolute;z-index:1050;background:transparent;border-radius:2px;box-shadow:none;transform-origin:0 0}.ant-menu-submenu-popup:before{position:absolute;top:-7px;right:0;bottom:0;left:0;z-index:-1;width:100%;height:100%;opacity:.0001;content:\" \"}.ant-menu-submenu-placement-rightTop:before{top:0;left:-7px}.ant-menu-submenu>.ant-menu{background-color:#141414;border-radius:2px}.ant-menu-submenu>.ant-menu-submenu-title:after{transition:transform .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-popup>.ant-menu{background-color:#1f1f1f}.ant-menu-submenu-arrow,.ant-menu-submenu-expand-icon{position:absolute;top:50%;right:16px;width:10px;color:hsla(0,0%,100%,.85);transform:translateY(-50%);transition:transform .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-arrow:after,.ant-menu-submenu-arrow:before{position:absolute;width:6px;height:1.5px;background-color:currentcolor;border-radius:2px;transition:background .3s cubic-bezier(.645,.045,.355,1),transform .3s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),color .3s cubic-bezier(.645,.045,.355,1);content:\"\"}.ant-menu-submenu-arrow:before{transform:rotate(45deg) translateY(-2.5px)}.ant-menu-submenu-arrow:after{transform:rotate(-45deg) translateY(2.5px)}.ant-menu-submenu:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-submenu:hover>.ant-menu-submenu-title>.ant-menu-submenu-expand-icon{color:#177ddc}.ant-menu-inline-collapsed .ant-menu-submenu-arrow:before,.ant-menu-submenu-inline .ant-menu-submenu-arrow:before{transform:rotate(-45deg) translateX(2.5px)}.ant-menu-inline-collapsed .ant-menu-submenu-arrow:after,.ant-menu-submenu-inline .ant-menu-submenu-arrow:after{transform:rotate(45deg) translateX(-2.5px)}.ant-menu-submenu-horizontal .ant-menu-submenu-arrow{display:none}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow{transform:translateY(-2px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after{transform:rotate(-45deg) translateX(-2.5px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{transform:rotate(45deg) translateX(2.5px)}.ant-menu-vertical-left .ant-menu-submenu-selected,.ant-menu-vertical-right .ant-menu-submenu-selected,.ant-menu-vertical .ant-menu-submenu-selected{color:#177ddc}.ant-menu-horizontal{line-height:38px;border:0;border-bottom:1px solid #303030;box-shadow:none}.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu{margin-top:-1px;margin-bottom:0;padding:0 12px}.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-active,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-open,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-selected,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item:hover,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-active,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-open,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-selected,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu:hover{color:#177ddc}.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-active:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-open:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-selected:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item:hover:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-active:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-open:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-selected:after,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu:hover:after{border-bottom:2px solid #177ddc}.ant-menu-horizontal>.ant-menu-item,.ant-menu-horizontal>.ant-menu-submenu{position:relative;top:1px;display:inline-block;vertical-align:bottom}.ant-menu-horizontal>.ant-menu-item:after,.ant-menu-horizontal>.ant-menu-submenu:after{position:absolute;right:12px;bottom:0;left:12px;border-bottom:2px solid transparent;transition:border-color .3s cubic-bezier(.645,.045,.355,1);content:\"\"}.ant-menu-horizontal>.ant-menu-submenu>.ant-menu-submenu-title{padding:0}.ant-menu-horizontal>.ant-menu-item a{color:hsla(0,0%,100%,.85)}.ant-menu-horizontal>.ant-menu-item a:hover{color:#177ddc}.ant-menu-horizontal>.ant-menu-item a:before{bottom:-2px}.ant-menu-horizontal>.ant-menu-item-selected a{color:#177ddc}.ant-menu-horizontal:after{display:block;clear:both;height:0;content:\"\\20\"}.ant-menu-inline .ant-menu-item,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-right .ant-menu-item,.ant-menu-vertical .ant-menu-item{position:relative}.ant-menu-inline .ant-menu-item:after,.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-vertical-right .ant-menu-item:after,.ant-menu-vertical .ant-menu-item:after{position:absolute;top:0;right:0;bottom:0;border-right:3px solid #177ddc;transform:scaleY(.0001);opacity:0;transition:transform .15s cubic-bezier(.215,.61,.355,1),opacity .15s cubic-bezier(.215,.61,.355,1);content:\"\"}.ant-menu-inline .ant-menu-item,.ant-menu-inline .ant-menu-submenu-title,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-left .ant-menu-submenu-title,.ant-menu-vertical-right .ant-menu-item,.ant-menu-vertical-right .ant-menu-submenu-title,.ant-menu-vertical .ant-menu-item,.ant-menu-vertical .ant-menu-submenu-title{height:32px;margin-top:0;margin-bottom:0;padding:0 16px;overflow:hidden;line-height:32px;text-overflow:ellipsis}.ant-menu-inline .ant-menu-submenu,.ant-menu-vertical-left .ant-menu-submenu,.ant-menu-vertical-right .ant-menu-submenu,.ant-menu-vertical .ant-menu-submenu{padding-bottom:.02px}.ant-menu-inline .ant-menu-item:not(:last-child),.ant-menu-vertical-left .ant-menu-item:not(:last-child),.ant-menu-vertical-right .ant-menu-item:not(:last-child),.ant-menu-vertical .ant-menu-item:not(:last-child){margin-bottom:0}.ant-menu-inline>.ant-menu-item,.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-left>.ant-menu-item,.ant-menu-vertical-left>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-right>.ant-menu-item,.ant-menu-vertical-right>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical>.ant-menu-item,.ant-menu-vertical>.ant-menu-submenu>.ant-menu-submenu-title{height:32px;line-height:32px}.ant-menu-vertical .ant-menu-item-group-list .ant-menu-submenu-title,.ant-menu-vertical .ant-menu-submenu-title{padding-right:34px}.ant-menu-inline{width:100%}.ant-menu-inline .ant-menu-item-selected:after,.ant-menu-inline .ant-menu-selected:after{transform:scaleY(1);opacity:1;transition:transform .15s cubic-bezier(.645,.045,.355,1),opacity .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-inline .ant-menu-item,.ant-menu-inline .ant-menu-submenu-title{width:calc(100% + 1px)}.ant-menu-inline .ant-menu-item-group-list .ant-menu-submenu-title,.ant-menu-inline .ant-menu-submenu-title{padding-right:34px}.ant-menu-inline.ant-menu-root .ant-menu-item,.ant-menu-inline.ant-menu-root .ant-menu-submenu-title{display:flex;align-items:center;transition:border-color .3s,background .3s,padding .1s cubic-bezier(.215,.61,.355,1)}.ant-menu-inline.ant-menu-root .ant-menu-item>.ant-menu-title-content,.ant-menu-inline.ant-menu-root .ant-menu-submenu-title>.ant-menu-title-content{flex:auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.ant-menu-inline.ant-menu-root .ant-menu-item>*,.ant-menu-inline.ant-menu-root .ant-menu-submenu-title>*{flex:none}.ant-menu.ant-menu-inline-collapsed{width:80px}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title{left:0;padding:0 calc(50% - 7px);text-overflow:clip}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow{opacity:0}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .anticon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon{margin:0;font-size:14px;line-height:32px}.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-item .anticon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon+span,.ant-menu.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span{display:inline-block;opacity:0}.ant-menu.ant-menu-inline-collapsed .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed .anticon{display:inline-block}.ant-menu.ant-menu-inline-collapsed-tooltip{pointer-events:none}.ant-menu.ant-menu-inline-collapsed-tooltip .ant-menu-item-icon,.ant-menu.ant-menu-inline-collapsed-tooltip .anticon{display:none}.ant-menu.ant-menu-inline-collapsed-tooltip a{color:hsla(0,0%,100%,.85)}.ant-menu.ant-menu-inline-collapsed .ant-menu-item-group-title{padding-right:4px;padding-left:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-menu-item-group-list{margin:0;padding:0}.ant-menu-item-group-list .ant-menu-item,.ant-menu-item-group-list .ant-menu-submenu-title{padding:0 16px 0 28px}.ant-menu-root.ant-menu-inline,.ant-menu-root.ant-menu-vertical,.ant-menu-root.ant-menu-vertical-left,.ant-menu-root.ant-menu-vertical-right{box-shadow:none}.ant-menu-root.ant-menu-inline-collapsed .ant-menu-item>.ant-menu-inline-collapsed-noicon,.ant-menu-root.ant-menu-inline-collapsed .ant-menu-submenu .ant-menu-submenu-title>.ant-menu-inline-collapsed-noicon{font-size:14px;text-align:center}.ant-menu-sub.ant-menu-inline{padding:0;background:hsla(0,0%,100%,.04);border-radius:0;box-shadow:none}.ant-menu-sub.ant-menu-inline>.ant-menu-item,.ant-menu-sub.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title{height:32px;line-height:32px;list-style-position:inside;list-style-type:disc}.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title{padding-left:32px}.ant-menu-item-disabled,.ant-menu-submenu-disabled{color:hsla(0,0%,100%,.3)!important;background:none;cursor:not-allowed}.ant-menu-item-disabled:after,.ant-menu-submenu-disabled:after{border-color:transparent!important}.ant-menu-item-disabled a,.ant-menu-submenu-disabled a{color:hsla(0,0%,100%,.3)!important}.ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-submenu-disabled>.ant-menu-submenu-title{color:hsla(0,0%,100%,.3)!important;cursor:not-allowed}.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:hsla(0,0%,100%,.3)!important}.ant-layout-header .ant-menu{line-height:inherit}.ant-menu-inline-collapsed-tooltip a,.ant-menu-inline-collapsed-tooltip a:hover{color:#fff}.ant-menu-light .ant-menu-item-active,.ant-menu-light .ant-menu-item:hover,.ant-menu-light .ant-menu-submenu-active,.ant-menu-light .ant-menu-submenu-title:hover,.ant-menu-light .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open{color:#177ddc}.ant-menu.ant-menu-root:focus-visible{box-shadow:0 0 0 2px #388ed3}.ant-menu-dark .ant-menu-item:focus-visible,.ant-menu-dark .ant-menu-submenu-title:focus-visible{box-shadow:0 0 0 2px #388ed3}.ant-menu-dark .ant-menu-sub,.ant-menu.ant-menu-dark,.ant-menu.ant-menu-dark .ant-menu-sub{color:hsla(0,0%,100%,.65);background:#1f1f1f}.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow{opacity:.45;transition:all .3s}.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark.ant-menu-submenu-popup{background:transparent}.ant-menu-dark .ant-menu-inline.ant-menu-sub{background:#141414}.ant-menu-dark.ant-menu-horizontal{border-bottom:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item,.ant-menu-dark.ant-menu-horizontal>.ant-menu-submenu{top:0;margin-top:0;padding:0 12px;border-color:#1f1f1f;border-bottom:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item:hover{background-color:#177ddc}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item>a:before{bottom:0}.ant-menu-dark .ant-menu-item,.ant-menu-dark .ant-menu-item-group-title,.ant-menu-dark .ant-menu-item>a,.ant-menu-dark .ant-menu-item>span>a{color:hsla(0,0%,100%,.65)}.ant-menu-dark.ant-menu-inline,.ant-menu-dark.ant-menu-vertical,.ant-menu-dark.ant-menu-vertical-left,.ant-menu-dark.ant-menu-vertical-right{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item,.ant-menu-dark.ant-menu-vertical .ant-menu-item{left:0;margin-left:0;border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical .ant-menu-item:after{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-inline .ant-menu-submenu-title{width:100%}.ant-menu-dark .ant-menu-item-active,.ant-menu-dark .ant-menu-item:hover,.ant-menu-dark .ant-menu-submenu-active,.ant-menu-dark .ant-menu-submenu-open,.ant-menu-dark .ant-menu-submenu-selected,.ant-menu-dark .ant-menu-submenu-title:hover{color:#fff;background-color:transparent}.ant-menu-dark .ant-menu-item-active>a,.ant-menu-dark .ant-menu-item-active>span>a,.ant-menu-dark .ant-menu-item:hover>a,.ant-menu-dark .ant-menu-item:hover>span>a,.ant-menu-dark .ant-menu-submenu-active>a,.ant-menu-dark .ant-menu-submenu-active>span>a,.ant-menu-dark .ant-menu-submenu-open>a,.ant-menu-dark .ant-menu-submenu-open>span>a,.ant-menu-dark .ant-menu-submenu-selected>a,.ant-menu-dark .ant-menu-submenu-selected>span>a,.ant-menu-dark .ant-menu-submenu-title:hover>a,.ant-menu-dark .ant-menu-submenu-title:hover>span>a{color:#fff}.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow{opacity:1}.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark .ant-menu-item:hover{background-color:transparent}.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-selected{background-color:#177ddc}.ant-menu-dark .ant-menu-item-selected{color:#fff;border-right:0}.ant-menu-dark .ant-menu-item-selected:after{border-right:0}.ant-menu-dark .ant-menu-item-selected>a,.ant-menu-dark .ant-menu-item-selected>a:hover,.ant-menu-dark .ant-menu-item-selected>span>a,.ant-menu-dark .ant-menu-item-selected>span>a:hover{color:#fff}.ant-menu-dark .ant-menu-item-selected .ant-menu-item-icon,.ant-menu-dark .ant-menu-item-selected .anticon{color:#fff}.ant-menu-dark .ant-menu-item-selected .ant-menu-item-icon+span,.ant-menu-dark .ant-menu-item-selected .anticon+span{color:#fff}.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected,.ant-menu.ant-menu-dark .ant-menu-item-selected{background-color:#177ddc}.ant-menu-dark .ant-menu-item-disabled,.ant-menu-dark .ant-menu-item-disabled>a,.ant-menu-dark .ant-menu-item-disabled>span>a,.ant-menu-dark .ant-menu-submenu-disabled,.ant-menu-dark .ant-menu-submenu-disabled>a,.ant-menu-dark .ant-menu-submenu-disabled>span>a{color:hsla(0,0%,100%,.3)!important;opacity:.8}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title{color:hsla(0,0%,100%,.3)!important}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:hsla(0,0%,100%,.3)!important}.ant-menu.ant-menu-rtl{direction:rtl;text-align:right}.ant-menu-rtl .ant-menu-item-group-title{text-align:right}.ant-menu-rtl.ant-menu-inline,.ant-menu-rtl.ant-menu-vertical{border-right:none;border-left:1px solid #303030}.ant-menu-rtl.ant-menu-dark.ant-menu-inline,.ant-menu-rtl.ant-menu-dark.ant-menu-vertical{border-left:none}.ant-menu-rtl.ant-menu-vertical-left.ant-menu-sub>.ant-menu-item,.ant-menu-rtl.ant-menu-vertical-left.ant-menu-sub>.ant-menu-submenu,.ant-menu-rtl.ant-menu-vertical-right.ant-menu-sub>.ant-menu-item,.ant-menu-rtl.ant-menu-vertical-right.ant-menu-sub>.ant-menu-submenu,.ant-menu-rtl.ant-menu-vertical.ant-menu-sub>.ant-menu-item,.ant-menu-rtl.ant-menu-vertical.ant-menu-sub>.ant-menu-submenu{transform-origin:top right}.ant-menu-rtl .ant-menu-item .ant-menu-item-icon,.ant-menu-rtl .ant-menu-item .anticon,.ant-menu-rtl .ant-menu-submenu-title .ant-menu-item-icon,.ant-menu-rtl .ant-menu-submenu-title .anticon{margin-right:auto;margin-left:8px}.ant-menu-rtl .ant-menu-item.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-rtl .ant-menu-item.ant-menu-item-only-child>.anticon,.ant-menu-rtl .ant-menu-submenu-title.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-rtl .ant-menu-submenu-title.ant-menu-item-only-child>.anticon{margin-left:0}.ant-menu-submenu-rtl.ant-menu-submenu-popup{transform-origin:100% 0}.ant-menu-rtl .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-rtl .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-rtl .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-rtl .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow{right:auto;left:16px}.ant-menu-rtl .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-rtl .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-rtl .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{transform:rotate(-45deg) translateY(-2px)}.ant-menu-rtl .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-rtl .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-rtl .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:after{transform:rotate(45deg) translateY(2px)}.ant-menu-rtl.ant-menu-inline .ant-menu-item:after,.ant-menu-rtl.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-rtl.ant-menu-vertical-right .ant-menu-item:after,.ant-menu-rtl.ant-menu-vertical .ant-menu-item:after{right:auto;left:0}.ant-menu-rtl.ant-menu-inline .ant-menu-item,.ant-menu-rtl.ant-menu-inline .ant-menu-submenu-title,.ant-menu-rtl.ant-menu-vertical-left .ant-menu-item,.ant-menu-rtl.ant-menu-vertical-left .ant-menu-submenu-title,.ant-menu-rtl.ant-menu-vertical-right .ant-menu-item,.ant-menu-rtl.ant-menu-vertical-right .ant-menu-submenu-title,.ant-menu-rtl.ant-menu-vertical .ant-menu-item,.ant-menu-rtl.ant-menu-vertical .ant-menu-submenu-title{text-align:right}.ant-menu-rtl.ant-menu-inline .ant-menu-submenu-title{padding-right:0;padding-left:34px}.ant-menu-rtl.ant-menu-vertical .ant-menu-submenu-title{padding-right:16px;padding-left:34px}.ant-menu-rtl.ant-menu-inline-collapsed.ant-menu-vertical .ant-menu-submenu-title{padding:0 calc(50% - 7px)}.ant-menu-rtl .ant-menu-item-group-list .ant-menu-item,.ant-menu-rtl .ant-menu-item-group-list .ant-menu-submenu-title{padding:0 28px 0 16px}.ant-menu-sub.ant-menu-inline{border:0}.ant-menu-rtl.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title{padding-right:32px;padding-left:0}.ant-space{display:inline-flex}.ant-space-vertical{flex-direction:column}.ant-space-align-center{align-items:center}.ant-space-align-start{align-items:flex-start}.ant-space-align-end{align-items:flex-end}.ant-space-align-baseline{align-items:baseline}.ant-space-item:empty{display:none}.ant-space-compact{display:inline-flex}.ant-space-compact-block{display:flex;width:100%}.ant-space-compact-vertical{flex-direction:column}.ant-space-rtl{direction:rtl}.ant-space-compact-rtl{direction:rtl}.ant-empty{margin:0 8px;font-size:12px;line-height:1.66667;text-align:center}.ant-empty-image{height:100px;margin-bottom:8px}.ant-empty-image img{height:100%}.ant-empty-image svg{height:100%;margin:auto}.ant-empty-footer{margin-top:16px}.ant-empty-normal{margin:32px 0;color:hsla(0,0%,100%,.3)}.ant-empty-normal .ant-empty-image{height:40px}.ant-empty-small{margin:8px 0;color:hsla(0,0%,100%,.3)}.ant-empty-small .ant-empty-image{height:35px}.ant-empty-img-default-ellipse{fill:#fff;fill-opacity:.08}.ant-empty-img-default-path-1{fill:#262626}.ant-empty-img-default-path-2{fill:url(#linearGradient-1)}.ant-empty-img-default-path-3{fill:#595959}.ant-empty-img-default-path-4{fill:#434343}.ant-empty-img-default-path-5{fill:#595959}.ant-empty-img-default-g{fill:#434343}.ant-empty-img-simple-ellipse{fill:#fff;fill-opacity:.08}.ant-empty-img-simple-g{stroke:#434343}.ant-empty-img-simple-path{fill:#262626;stroke:#434343}.ant-empty-rtl{direction:rtl}.ant-pagination{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\"}.ant-pagination ol,.ant-pagination ul{margin:0;padding:0;list-style:none}.ant-pagination:after{display:block;clear:both;height:0;overflow:hidden;visibility:hidden;content:\" \"}.ant-pagination-total-text{display:inline-block;height:28px;margin-right:8px;line-height:26px;vertical-align:middle}.ant-pagination-item{display:inline-block;min-width:28px;height:28px;margin-right:8px;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";line-height:26px;text-align:center;vertical-align:middle;list-style:none;background-color:transparent;border:1px solid #434343;border-radius:2px;outline:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-pagination-item a{display:block;padding:0 6px;color:hsla(0,0%,100%,.85);transition:none}.ant-pagination-item a:hover{text-decoration:none}.ant-pagination-item:hover{border-color:#177ddc;transition:all .3s}.ant-pagination-item:hover a{color:#177ddc}.ant-pagination-item:focus-visible{border-color:#177ddc;transition:all .3s}.ant-pagination-item:focus-visible a{color:#177ddc}.ant-pagination-item-active{font-weight:500;background:transparent;border-color:#177ddc}.ant-pagination-item-active a{color:#177ddc}.ant-pagination-item-active:hover{border-color:#165996}.ant-pagination-item-active:focus-visible{border-color:#165996}.ant-pagination-item-active:hover a{color:#165996}.ant-pagination-item-active:focus-visible a{color:#165996}.ant-pagination-jump-next,.ant-pagination-jump-prev{outline:0}.ant-pagination-jump-next .ant-pagination-item-container,.ant-pagination-jump-prev .ant-pagination-item-container{position:relative}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon{color:#177ddc;font-size:12px;letter-spacing:-1px;opacity:0;transition:all .2s}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg{top:0;right:0;bottom:0;left:0;margin:auto}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis{position:absolute;top:0;right:0;bottom:0;left:0;display:block;margin:auto;color:hsla(0,0%,100%,.3);font-family:Arial,Helvetica,sans-serif;letter-spacing:2px;text-align:center;text-indent:.13em;opacity:1;transition:all .2s}.ant-pagination-jump-next:hover .ant-pagination-item-link-icon,.ant-pagination-jump-prev:hover .ant-pagination-item-link-icon{opacity:1}.ant-pagination-jump-next:hover .ant-pagination-item-ellipsis,.ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis{opacity:0}.ant-pagination-jump-next:focus-visible .ant-pagination-item-link-icon,.ant-pagination-jump-prev:focus-visible .ant-pagination-item-link-icon{opacity:1}.ant-pagination-jump-next:focus-visible .ant-pagination-item-ellipsis,.ant-pagination-jump-prev:focus-visible .ant-pagination-item-ellipsis{opacity:0}.ant-pagination-jump-next,.ant-pagination-jump-prev,.ant-pagination-prev{margin-right:8px}.ant-pagination-jump-next,.ant-pagination-jump-prev,.ant-pagination-next,.ant-pagination-prev{display:inline-block;min-width:28px;height:28px;color:hsla(0,0%,100%,.85);font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";line-height:28px;text-align:center;vertical-align:middle;list-style:none;border-radius:2px;cursor:pointer;transition:all .3s}.ant-pagination-next,.ant-pagination-prev{font-family:Arial,Helvetica,sans-serif;outline:0}.ant-pagination-next button,.ant-pagination-prev button{color:hsla(0,0%,100%,.85);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-pagination-next:hover button,.ant-pagination-prev:hover button{border-color:#165996}.ant-pagination-next .ant-pagination-item-link,.ant-pagination-prev .ant-pagination-item-link{display:block;width:100%;height:100%;padding:0;font-size:12px;text-align:center;background-color:transparent;border:1px solid #434343;border-radius:2px;outline:none;transition:all .3s}.ant-pagination-next:focus-visible .ant-pagination-item-link,.ant-pagination-prev:focus-visible .ant-pagination-item-link{color:#177ddc;border-color:#177ddc}.ant-pagination-next:hover .ant-pagination-item-link,.ant-pagination-prev:hover .ant-pagination-item-link{color:#177ddc;border-color:#177ddc}.ant-pagination-disabled,.ant-pagination-disabled:hover{cursor:not-allowed}.ant-pagination-disabled .ant-pagination-item-link,.ant-pagination-disabled:hover .ant-pagination-item-link{color:hsla(0,0%,100%,.3);border-color:#434343;cursor:not-allowed}.ant-pagination-disabled:focus-visible{cursor:not-allowed}.ant-pagination-disabled:focus-visible .ant-pagination-item-link{color:hsla(0,0%,100%,.3);border-color:#434343;cursor:not-allowed}.ant-pagination-slash{margin:0 10px 0 5px}.ant-pagination-options{display:inline-block;margin-left:16px;vertical-align:middle}@media (-ms-high-contrast:none){.ant-pagination-options,.ant-pagination-options ::-ms-backdrop{vertical-align:top}}.ant-pagination-options-size-changer.ant-select{display:inline-block;width:auto}.ant-pagination-options-quick-jumper{display:inline-block;height:28px;margin-left:4px;line-height:28px;vertical-align:top}.ant-pagination-options-quick-jumper input{position:relative;display:inline-block;width:100%;min-width:0;padding:3px 7px;color:hsla(0,0%,100%,.85);font-size:12px;line-height:1.66667;background-color:transparent;background-image:none;border:1px solid #434343;border-radius:2px;transition:all .3s;width:50px;height:28px;margin:0 8px}.ant-pagination-options-quick-jumper input::-webkit-input-placeholder{color:hsla(0,0%,100%,.3);-webkit-user-select:none;user-select:none}.ant-pagination-options-quick-jumper input::-ms-input-placeholder{color:hsla(0,0%,100%,.3);-ms-user-select:none;user-select:none}.ant-pagination-options-quick-jumper input::placeholder{color:hsla(0,0%,100%,.3);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-pagination-options-quick-jumper input:placeholder-shown{text-overflow:ellipsis}.ant-pagination-options-quick-jumper input:hover{border-color:#165996;border-right-width:1px}.ant-pagination-options-quick-jumper input-focused,.ant-pagination-options-quick-jumper input:focus{border-color:#177ddc;box-shadow:0 0 0 2px rgba(23,125,220,.2);border-right-width:1px;outline:0}.ant-pagination-options-quick-jumper input-disabled{color:hsla(0,0%,100%,.3);background-color:hsla(0,0%,100%,.08);border-color:#434343;box-shadow:none;cursor:not-allowed;opacity:1}.ant-pagination-options-quick-jumper input-disabled:hover{border-color:#434343;border-right-width:1px}.ant-pagination-options-quick-jumper input[disabled]{color:hsla(0,0%,100%,.3);background-color:hsla(0,0%,100%,.08);border-color:#434343;box-shadow:none;cursor:not-allowed;opacity:1}.ant-pagination-options-quick-jumper input[disabled]:hover{border-color:#434343;border-right-width:1px}.ant-pagination-options-quick-jumper input-borderless,.ant-pagination-options-quick-jumper input-borderless-disabled,.ant-pagination-options-quick-jumper input-borderless-focused,.ant-pagination-options-quick-jumper input-borderless:focus,.ant-pagination-options-quick-jumper input-borderless:hover,.ant-pagination-options-quick-jumper input-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-pagination-options-quick-jumper input{max-width:100%;height:auto;min-height:28px;line-height:1.66667;vertical-align:bottom;transition:all .3s,height 0s}.ant-pagination-options-quick-jumper input-lg{padding:3.4px 11px;font-size:14px}.ant-pagination-options-quick-jumper input-sm{padding:0 7px}.ant-pagination-simple .ant-pagination-next,.ant-pagination-simple .ant-pagination-prev{height:22px;line-height:22px;vertical-align:top}.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link,.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link{height:22px;background-color:transparent;border:0}.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link:after,.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link:after{height:22px;line-height:22px}.ant-pagination-simple .ant-pagination-simple-pager{display:inline-block;height:22px;margin-right:8px}.ant-pagination-simple .ant-pagination-simple-pager input{box-sizing:border-box;height:100%;margin-right:8px;padding:0 6px;text-align:center;background-color:transparent;border:1px solid #434343;border-radius:2px;outline:none;transition:border-color .3s}.ant-pagination-simple .ant-pagination-simple-pager input:hover{border-color:#177ddc}.ant-pagination-simple .ant-pagination-simple-pager input:focus{border-color:#3c9be8;box-shadow:0 0 0 2px rgba(23,125,220,.2)}.ant-pagination-simple .ant-pagination-simple-pager input[disabled]{color:hsla(0,0%,100%,.3);background:hsla(0,0%,100%,.08);border-color:#434343;cursor:not-allowed}.ant-pagination.ant-pagination-mini .ant-pagination-simple-pager,.ant-pagination.ant-pagination-mini .ant-pagination-total-text{height:22px;line-height:22px}.ant-pagination.ant-pagination-mini .ant-pagination-item{min-width:22px;height:22px;margin:0;line-height:20px}.ant-pagination.ant-pagination-mini .ant-pagination-item:not(.ant-pagination-item-active){background:transparent;border-color:transparent}.ant-pagination.ant-pagination-mini .ant-pagination-next,.ant-pagination.ant-pagination-mini .ant-pagination-prev{min-width:22px;height:22px;margin:0;line-height:22px}.ant-pagination.ant-pagination-mini .ant-pagination-next .ant-pagination-item-link,.ant-pagination.ant-pagination-mini .ant-pagination-prev .ant-pagination-item-link{background:transparent;border-color:transparent}.ant-pagination.ant-pagination-mini .ant-pagination-next .ant-pagination-item-link:after,.ant-pagination.ant-pagination-mini .ant-pagination-prev .ant-pagination-item-link:after{height:22px;line-height:22px}.ant-pagination.ant-pagination-mini .ant-pagination-jump-next,.ant-pagination.ant-pagination-mini .ant-pagination-jump-prev{height:22px;margin-right:0;line-height:22px}.ant-pagination.ant-pagination-mini .ant-pagination-options{margin-left:2px}.ant-pagination.ant-pagination-mini .ant-pagination-options-size-changer{top:1px}.ant-pagination.ant-pagination-mini .ant-pagination-options-quick-jumper{height:22px;line-height:22px}.ant-pagination.ant-pagination-mini .ant-pagination-options-quick-jumper input{padding:0 7px;width:44px;height:22px}.ant-pagination.ant-pagination-disabled{cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item{background:hsla(0,0%,100%,.08);border-color:#434343;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item a{color:hsla(0,0%,100%,.3);background:transparent;border:none;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item-active{background:hsla(0,0%,100%,.25)}.ant-pagination.ant-pagination-disabled .ant-pagination-item-active a{color:#000}.ant-pagination.ant-pagination-disabled .ant-pagination-item-link{color:hsla(0,0%,100%,.3);background:hsla(0,0%,100%,.08);border-color:#434343;cursor:not-allowed}.ant-pagination-simple.ant-pagination.ant-pagination-disabled .ant-pagination-item-link{background:transparent}.ant-pagination.ant-pagination-disabled .ant-pagination-item-link-icon{opacity:0}.ant-pagination.ant-pagination-disabled .ant-pagination-item-ellipsis{opacity:1}.ant-pagination.ant-pagination-disabled .ant-pagination-simple-pager{color:hsla(0,0%,100%,.3)}@media only screen and (max-width:992px){.ant-pagination-item-after-jump-prev,.ant-pagination-item-before-jump-next{display:none}}@media only screen and (max-width:576px){.ant-pagination-options{display:none}}.ant-pagination-rtl .ant-pagination-total-text{margin-right:0;margin-left:8px}.ant-pagination-rtl .ant-pagination-item,.ant-pagination-rtl .ant-pagination-jump-next,.ant-pagination-rtl .ant-pagination-jump-prev,.ant-pagination-rtl .ant-pagination-prev{margin-right:0;margin-left:8px}.ant-pagination-rtl .ant-pagination-slash{margin:0 5px 0 10px}.ant-pagination-rtl .ant-pagination-options{margin-right:16px;margin-left:0}.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-size-changer.ant-select{margin-right:0;margin-left:8px}.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-quick-jumper{margin-left:0}.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager{margin-right:0;margin-left:8px}.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager input{margin-right:0;margin-left:8px}.ant-pagination-rtl.ant-pagination.mini .ant-pagination-options{margin-right:2px;margin-left:0}.ant-select-single .ant-select-selector{display:flex}.ant-select-single .ant-select-selector .ant-select-selection-search{position:absolute;top:0;right:7px;bottom:0;left:7px}.ant-select-single .ant-select-selector .ant-select-selection-search-input{width:100%}.ant-select-single .ant-select-selector .ant-select-selection-item,.ant-select-single .ant-select-selector .ant-select-selection-placeholder{padding:0;line-height:26px;transition:all .3s}.ant-select-single .ant-select-selector .ant-select-selection-item{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-select-single .ant-select-selector .ant-select-selection-placeholder{transition:none;pointer-events:none}.ant-select-single .ant-select-selector .ant-select-selection-item:after,.ant-select-single .ant-select-selector .ant-select-selection-placeholder:after,.ant-select-single .ant-select-selector:after{display:inline-block;width:0;visibility:hidden;content:\"\\a0\"}.ant-select-single.ant-select-show-arrow .ant-select-selection-search{right:19px}.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:15px}.ant-select-single.ant-select-open .ant-select-selection-item{color:hsla(0,0%,100%,.3)}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{width:100%;height:28px;padding:0 7px}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input{height:26px}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector:after{line-height:26px}.ant-select-single.ant-select-customize-input .ant-select-selector:after{display:none}.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-search{position:static;width:100%}.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-placeholder{position:absolute;right:0;left:0;padding:0 7px}.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-placeholder:after{display:none}.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{height:32px}.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item,.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder,.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector:after{line-height:30px}.ant-select-single.ant-select-lg:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input{height:30px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector{height:22px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item,.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder,.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector:after{line-height:20px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input{height:20px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selection-search{right:7px;left:7px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector{padding:0 7px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-search{right:25px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item,.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-placeholder{padding-right:18px}.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{padding:0 11px}.ant-select-selection-overflow{position:relative;display:flex;flex:auto;flex-wrap:wrap;max-width:100%}.ant-select-selection-overflow-item{flex:none;align-self:center;max-width:100%}.ant-select-multiple .ant-select-selector{display:flex;flex-wrap:wrap;align-items:center;padding:0 3px}.ant-select-show-search.ant-select-multiple .ant-select-selector{cursor:text}.ant-select-disabled.ant-select-multiple .ant-select-selector{background:#141414;cursor:not-allowed}.ant-select-multiple .ant-select-selector:after{display:inline-block;width:0;margin:3px 0;line-height:20px;content:\"\\a0\"}.ant-select-multiple.ant-select-allow-clear .ant-select-selector,.ant-select-multiple.ant-select-show-arrow .ant-select-selector{padding-right:20px}.ant-select-multiple .ant-select-selection-item{position:relative;display:flex;flex:none;box-sizing:border-box;max-width:100%;height:20px;margin-top:3px;margin-bottom:3px;line-height:18px;background:hsla(0,0%,100%,.08);border:1px solid #303030;border-radius:2px;cursor:default;transition:font-size .3s,line-height .3s,height .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-margin-end:3px;margin-inline-end:3px;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:2px;padding-inline-end:2px}.ant-select-disabled.ant-select-multiple .ant-select-selection-item{color:#595959;border-color:#1f1f1f;cursor:not-allowed}.ant-select-multiple .ant-select-selection-item-content{display:inline-block;margin-right:2px;overflow:hidden;white-space:pre;text-overflow:ellipsis}.ant-select-multiple .ant-select-selection-item-remove{color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;color:hsla(0,0%,100%,.45);font-weight:700;font-size:10px;line-height:inherit;cursor:pointer}.ant-select-multiple .ant-select-selection-item-remove>*{line-height:1}.ant-select-multiple .ant-select-selection-item-remove svg{display:inline-block}.ant-select-multiple .ant-select-selection-item-remove:before{display:none}.ant-select-multiple .ant-select-selection-item-remove .ant-select-multiple .ant-select-selection-item-remove-icon{display:block}.ant-select-multiple .ant-select-selection-item-remove>.anticon{vertical-align:middle}.ant-select-multiple .ant-select-selection-item-remove:hover{color:hsla(0,0%,100%,.75)}.ant-select-multiple .ant-select-selection-overflow-item+.ant-select-selection-overflow-item .ant-select-selection-search{-webkit-margin-start:0;margin-inline-start:0}.ant-select-multiple .ant-select-selection-search{position:relative;max-width:100%;-webkit-margin-start:4px;margin-inline-start:4px}.ant-select-multiple .ant-select-selection-search-input,.ant-select-multiple .ant-select-selection-search-mirror{height:20px;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";line-height:20px;transition:all .3s}.ant-select-multiple .ant-select-selection-search-input{width:100%;min-width:4.1px}.ant-select-multiple .ant-select-selection-search-mirror{position:absolute;top:0;left:0;z-index:999;white-space:pre;visibility:hidden}.ant-select-multiple .ant-select-selection-placeholder{position:absolute;top:50%;right:7px;left:7px;transform:translateY(-50%);transition:all .3s}.ant-select-multiple.ant-select-lg .ant-select-selector:after{line-height:26px}.ant-select-multiple.ant-select-lg .ant-select-selection-item{height:26px}.ant-select-multiple.ant-select-lg .ant-select-selection-search{height:26px;line-height:26px}.ant-select-multiple.ant-select-lg .ant-select-selection-search-input,.ant-select-multiple.ant-select-lg .ant-select-selection-search-mirror{height:26px;line-height:24px}.ant-select-multiple.ant-select-sm .ant-select-selector:after{line-height:16px}.ant-select-multiple.ant-select-sm .ant-select-selection-item{height:16px;line-height:14px}.ant-select-multiple.ant-select-sm .ant-select-selection-search{height:16px;line-height:16px}.ant-select-multiple.ant-select-sm .ant-select-selection-search-input,.ant-select-multiple.ant-select-sm .ant-select-selection-search-mirror{height:16px;line-height:14px}.ant-select-multiple.ant-select-sm .ant-select-selection-placeholder{left:7px}.ant-select-multiple.ant-select-sm .ant-select-selection-search{-webkit-margin-start:3px;margin-inline-start:3px}.ant-select-multiple.ant-select-lg .ant-select-selection-item{height:24px;line-height:24px}.ant-select-disabled .ant-select-selection-item-remove{display:none}.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector{background-color:transparent;border-color:#a61d24!important}.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector,.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector{border-color:#a61d24;box-shadow:0 0 0 2px rgba(166,29,36,.2);border-right-width:1px;outline:0}.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector{background-color:transparent;border-color:#d89614!important}.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector,.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector{border-color:#d89614;box-shadow:0 0 0 2px rgba(216,150,20,.2);border-right-width:1px;outline:0}.ant-select-status-error.ant-select-has-feedback .ant-select-clear,.ant-select-status-success.ant-select-has-feedback .ant-select-clear,.ant-select-status-validating.ant-select-has-feedback .ant-select-clear,.ant-select-status-warning.ant-select-has-feedback .ant-select-clear{right:32px}.ant-select-status-error.ant-select-has-feedback .ant-select-selection-selected-value,.ant-select-status-success.ant-select-has-feedback .ant-select-selection-selected-value,.ant-select-status-validating.ant-select-has-feedback .ant-select-selection-selected-value,.ant-select-status-warning.ant-select-has-feedback .ant-select-selection-selected-value{padding-right:42px}.ant-select{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";position:relative;display:inline-block;cursor:pointer}.ant-select:not(.ant-select-customize-input) .ant-select-selector{position:relative;background-color:transparent;border:1px solid #434343;border-radius:2px;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-select:not(.ant-select-customize-input) .ant-select-selector input{cursor:pointer}.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector{cursor:text}.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector input{cursor:auto}.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector{border-color:#177ddc;box-shadow:0 0 0 2px rgba(23,125,220,.2);border-right-width:1px;outline:0}.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector{color:hsla(0,0%,100%,.3);background:hsla(0,0%,100%,.08);cursor:not-allowed}.ant-select-multiple.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector{background:#141414}.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector input{cursor:not-allowed}.ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input{margin:0;padding:0;background:transparent;border:none;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input::-webkit-search-cancel-button{display:none;-webkit-appearance:none}.ant-select:not(.ant-select-disabled):hover .ant-select-selector{border-color:#165996;border-right-width:1px}.ant-select-selection-item{flex:1 1;overflow:hidden;font-weight:400;white-space:nowrap;text-overflow:ellipsis}@media (-ms-high-contrast:none){.ant-select-selection-item,.ant-select-selection-item ::-ms-backdrop{flex:auto}}.ant-select-selection-placeholder{flex:1 1;overflow:hidden;color:hsla(0,0%,100%,.3);white-space:nowrap;text-overflow:ellipsis;pointer-events:none}@media (-ms-high-contrast:none){.ant-select-selection-placeholder,.ant-select-selection-placeholder ::-ms-backdrop{flex:auto}}.ant-select-arrow{display:inline-block;color:inherit;font-style:normal;line-height:0;text-transform:none;vertical-align:-.125em;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:50%;right:7px;display:flex;align-items:center;height:12px;margin-top:-6px;color:hsla(0,0%,100%,.3);font-size:12px;line-height:1;text-align:center;pointer-events:none}.ant-select-arrow>*{line-height:1}.ant-select-arrow svg{display:inline-block}.ant-select-arrow:before{display:none}.ant-select-arrow .ant-select-arrow-icon{display:block}.ant-select-arrow .anticon{vertical-align:top;transition:transform .3s}.ant-select-arrow .anticon>svg{vertical-align:top}.ant-select-arrow .anticon:not(.ant-select-suffix){pointer-events:auto}.ant-select-disabled .ant-select-arrow{cursor:not-allowed}.ant-select-arrow>:not(:last-child){-webkit-margin-end:4px;margin-inline-end:4px}.ant-select-clear{position:absolute;top:50%;right:7px;z-index:1;display:inline-block;width:12px;height:12px;margin-top:-6px;color:hsla(0,0%,100%,.3);font-size:12px;font-style:normal;line-height:1;text-align:center;text-transform:none;background:#141414;cursor:pointer;opacity:0;transition:color .3s ease,opacity .15s ease;text-rendering:auto}.ant-select-clear:before{display:block}.ant-select-clear:hover{color:hsla(0,0%,100%,.45)}.ant-select:hover .ant-select-clear{opacity:1}.ant-select-dropdown{margin:0;color:hsla(0,0%,100%,.85);font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\",;position:absolute;top:-9999px;left:-9999px;z-index:1050;box-sizing:border-box;padding:4px 0;overflow:hidden;font-size:12px;font-variant:normal;background-color:#1f1f1f;border-radius:2px;outline:none;box-shadow:0 3px 6px -4px rgba(0,0,0,.48),0 6px 16px 0 rgba(0,0,0,.32),0 9px 28px 8px rgba(0,0,0,.2)}.ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-bottomLeft,.ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-bottomLeft{animation-name:antSlideUpIn}.ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft,.ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft{animation-name:antSlideDownIn}.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-bottomLeft{animation-name:antSlideUpOut}.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-topLeft{animation-name:antSlideDownOut}.ant-select-dropdown-hidden{display:none}.ant-select-dropdown-empty{color:hsla(0,0%,100%,.3)}.ant-select-item-empty{position:relative;display:block;min-height:28px;padding:5px 8px;color:hsla(0,0%,100%,.85);font-weight:400;font-size:12px;line-height:18px;color:hsla(0,0%,100%,.3)}.ant-select-item{position:relative;display:block;min-height:28px;padding:5px 8px;color:hsla(0,0%,100%,.85);font-weight:400;font-size:12px;line-height:18px;cursor:pointer;transition:background .3s ease}.ant-select-item-group{color:hsla(0,0%,100%,.45);font-size:12px;cursor:default}.ant-select-item-option{display:flex}.ant-select-item-option-content{flex:auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-select-item-option-state{flex:none}.ant-select-item-option-active:not(.ant-select-item-option-disabled){background-color:hsla(0,0%,100%,.08)}.ant-select-item-option-selected:not(.ant-select-item-option-disabled){color:hsla(0,0%,100%,.85);font-weight:600;background-color:#111b26}.ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-state{color:#177ddc}.ant-select-item-option-disabled{color:hsla(0,0%,100%,.3);cursor:not-allowed}.ant-select-item-option-disabled.ant-select-item-option-selected{background-color:#141414}.ant-select-item-option-grouped{padding-left:16px}.ant-select-lg{font-size:14px}.ant-select-borderless .ant-select-selector{background-color:transparent!important;border-color:transparent!important;box-shadow:none!important}.ant-select.ant-select-in-form-item{width:100%}.ant-select-compact-item:not(.ant-select-compact-last-item){margin-right:-1px}.ant-select-compact-item:not(.ant-select-compact-last-item).ant-select-compact-item-rtl{margin-right:0;margin-left:-1px}.ant-select-compact-item:active>*,.ant-select-compact-item:focus>*,.ant-select-compact-item:hover>*{z-index:2}.ant-select-compact-item.ant-select-focused>*{z-index:2}.ant-select-compact-item[disabled]>*{z-index:0}.ant-select-compact-item:not(.ant-select-compact-first-item):not(.ant-select-compact-last-item).ant-select>.ant-select-selector{border-radius:0}.ant-select-compact-item.ant-select-compact-first-item.ant-select:not(.ant-select-compact-item-rtl)>.ant-select-selector{border-top-right-radius:0;border-bottom-right-radius:0}.ant-select-compact-item.ant-select-compact-last-item.ant-select:not(.ant-select-compact-item-rtl)>.ant-select-selector{border-top-left-radius:0;border-bottom-left-radius:0}.ant-select-compact-item.ant-select.ant-select-compact-first-item.ant-select-compact-item-rtl>.ant-select-selector{border-top-left-radius:0;border-bottom-left-radius:0}.ant-select-compact-item.ant-select.ant-select-compact-last-item.ant-select-compact-item-rtl>.ant-select-selector{border-top-right-radius:0;border-bottom-right-radius:0}.ant-select-rtl{direction:rtl}.ant-select-rtl .ant-select-arrow{right:auto;left:7px}.ant-select-rtl .ant-select-clear{right:auto;left:7px}.ant-select-dropdown-rtl{direction:rtl}.ant-select-dropdown-rtl .ant-select-item-option-grouped{padding-right:16px;padding-left:8px}.ant-select-rtl.ant-select-multiple.ant-select-allow-clear .ant-select-selector,.ant-select-rtl.ant-select-multiple.ant-select-show-arrow .ant-select-selector{padding-right:3px;padding-left:20px}.ant-select-rtl.ant-select-multiple .ant-select-selection-item{text-align:right}.ant-select-rtl.ant-select-multiple .ant-select-selection-item-content{margin-right:0;margin-left:2px;text-align:right}.ant-select-rtl.ant-select-multiple .ant-select-selection-search-mirror{right:0;left:auto}.ant-select-rtl.ant-select-multiple .ant-select-selection-placeholder{right:7px;left:auto}.ant-select-rtl.ant-select-multiple.ant-select-sm .ant-select-selection-placeholder{right:7px}.ant-select-rtl.ant-select-single .ant-select-selector .ant-select-selection-item,.ant-select-rtl.ant-select-single .ant-select-selector .ant-select-selection-placeholder{right:0;left:9px;text-align:right}.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-search{right:7px;left:19px}.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:0;padding-left:15px}.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-search{right:6px}.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item,.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-placeholder{padding-right:0;padding-left:18px}.ant-radio-group{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";display:inline-block;font-size:0}.ant-radio-group .ant-badge-count{z-index:1}.ant-radio-group>.ant-badge:not(:first-child)>.ant-radio-button-wrapper{border-left:none}.ant-radio-wrapper{box-sizing:border-box;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";position:relative;display:inline-flex;align-items:baseline;margin:0 6px 0 0;cursor:pointer}.ant-radio-wrapper-disabled{cursor:not-allowed}.ant-radio-wrapper:after{display:inline-block;width:0;overflow:hidden;content:\"\\a0\"}.ant-radio-wrapper.ant-radio-wrapper-in-form-item input[type=radio]{width:14px;height:14px}.ant-radio{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";position:relative;top:.2em;display:inline-block;outline:none;cursor:pointer}.ant-radio-input:focus+.ant-radio-inner,.ant-radio-wrapper:hover .ant-radio,.ant-radio:hover .ant-radio-inner{border-color:#177ddc}.ant-radio-input:focus+.ant-radio-inner{box-shadow:0 0 0 3px rgba(23,125,220,.12)}.ant-radio-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #177ddc;border-radius:50%;visibility:hidden;animation:antRadioEffect .36s ease-in-out;animation-fill-mode:both;content:\"\"}.ant-radio-wrapper:hover .ant-radio:after,.ant-radio:hover:after{visibility:visible}.ant-radio-inner{position:relative;top:0;left:0;display:block;width:14px;height:14px;background-color:transparent;border:1px solid #434343;border-radius:50%;transition:all .3s}.ant-radio-inner:after{position:absolute;top:50%;left:50%;display:block;width:14px;height:14px;margin-top:-7px;margin-left:-7px;background-color:#177ddc;border-top:0;border-left:0;border-radius:14px;transform:scale(0);opacity:0;transition:all .3s cubic-bezier(.78,.14,.15,.86);content:\" \"}.ant-radio-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;cursor:pointer;opacity:0}.ant-radio.ant-radio-disabled .ant-radio-inner{border-color:#434343}.ant-radio-checked .ant-radio-inner{border-color:#177ddc}.ant-radio-checked .ant-radio-inner:after{transform:scale(.42857143);opacity:1;transition:all .3s cubic-bezier(.78,.14,.15,.86)}.ant-radio-disabled{cursor:not-allowed}.ant-radio-disabled .ant-radio-inner{background-color:hsla(0,0%,100%,.08);cursor:not-allowed}.ant-radio-disabled .ant-radio-inner:after{background-color:hsla(0,0%,100%,.2)}.ant-radio-disabled .ant-radio-input{cursor:not-allowed}.ant-radio-disabled+span{color:hsla(0,0%,100%,.3);cursor:not-allowed}span.ant-radio+*{padding-right:8px;padding-left:8px}.ant-radio-button-wrapper{position:relative;display:inline-block;height:28px;margin:0;padding:0 7px;color:hsla(0,0%,100%,.85);font-size:12px;line-height:26px;background:transparent;border-color:#434343;border-style:solid;border-width:1.02px 1px 1px 0;cursor:pointer;transition:color .3s,background .3s,border-color .3s,box-shadow .3s}.ant-radio-button-wrapper a{color:hsla(0,0%,100%,.85)}.ant-radio-button-wrapper>.ant-radio-button{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%}.ant-radio-group-large .ant-radio-button-wrapper{height:32px;font-size:14px;line-height:30px}.ant-radio-group-small .ant-radio-button-wrapper{height:22px;padding:0 7px;line-height:20px}.ant-radio-button-wrapper:not(:first-child):before{position:absolute;top:-1px;left:-1px;display:block;box-sizing:content-box;width:1px;height:100%;padding:1px 0;background-color:#434343;transition:background-color .3s;content:\"\"}.ant-radio-button-wrapper:first-child{border-left:1px solid #434343;border-radius:2px 0 0 2px}.ant-radio-button-wrapper:last-child{border-radius:0 2px 2px 0}.ant-radio-button-wrapper:first-child:last-child{border-radius:2px}.ant-radio-button-wrapper:hover{position:relative;color:#177ddc}.ant-radio-button-wrapper:focus-within{box-shadow:0 0 0 3px rgba(23,125,220,.12)}.ant-radio-button-wrapper .ant-radio-inner,.ant-radio-button-wrapper input[type=checkbox],.ant-radio-button-wrapper input[type=radio]{width:0;height:0;opacity:0;pointer-events:none}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){z-index:1;color:#177ddc;background:transparent;border-color:#177ddc}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):before{background-color:#177ddc}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child{border-color:#177ddc}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#165996;border-color:#165996}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover:before{background-color:#165996}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#388ed3;border-color:#388ed3}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active:before{background-color:#388ed3}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{box-shadow:0 0 0 3px rgba(23,125,220,.12)}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){color:#fff;background:#177ddc;border-color:#177ddc}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#fff;background:#165996;border-color:#165996}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#fff;background:#388ed3;border-color:#388ed3}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{box-shadow:0 0 0 3px rgba(23,125,220,.12)}.ant-radio-button-wrapper-disabled{color:hsla(0,0%,100%,.3);background-color:hsla(0,0%,100%,.08);border-color:#434343;cursor:not-allowed}.ant-radio-button-wrapper-disabled:first-child,.ant-radio-button-wrapper-disabled:hover{color:hsla(0,0%,100%,.3);background-color:hsla(0,0%,100%,.08);border-color:#434343}.ant-radio-button-wrapper-disabled:first-child{border-left-color:#434343}.ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked{color:hsla(0,0%,100%,.3);background-color:hsla(0,0%,100%,.2);border-color:#434343;box-shadow:none}@keyframes antRadioEffect{0%{transform:scale(1);opacity:.5}to{transform:scale(1.6);opacity:0}}.ant-radio-group.ant-radio-group-rtl{direction:rtl}.ant-radio-wrapper.ant-radio-wrapper-rtl{margin-right:0;margin-left:6px;direction:rtl}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl{border-right-width:0;border-left-width:1px}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:not(:first-child):before{right:-1px;left:0}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:first-child{border-right:1px solid #434343;border-radius:0 2px 2px 0}.ant-radio-button-wrapper-checked:not([class*=\" ant-radio-button-wrapper-disabled\"]).ant-radio-button-wrapper:first-child{border-right-color:#165996}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:last-child{border-radius:2px 0 0 2px}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper-disabled:first-child{border-right-color:#434343}.ant-spin{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";position:absolute;display:none;color:#177ddc;text-align:center;vertical-align:middle;opacity:0;transition:transform .3s cubic-bezier(.78,.14,.15,.86)}.ant-spin-spinning{position:static;display:inline-block;opacity:1}.ant-spin-nested-loading{position:relative}.ant-spin-nested-loading>div>.ant-spin{position:absolute;top:0;left:0;z-index:4;display:block;width:100%;height:100%;max-height:400px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-dot{position:absolute;top:50%;left:50%;margin:-10px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-text{position:absolute;top:50%;width:100%;padding-top:6px;text-shadow:0 1px 2px #141414}.ant-spin-nested-loading>div>.ant-spin.ant-spin-show-text .ant-spin-dot{margin-top:-20px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-dot{margin:-7px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-text{padding-top:3px}.ant-spin-nested-loading>div>.ant-spin-sm.ant-spin-show-text .ant-spin-dot{margin-top:-17px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-dot{margin:-16px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-text{padding-top:12px}.ant-spin-nested-loading>div>.ant-spin-lg.ant-spin-show-text .ant-spin-dot{margin-top:-26px}.ant-spin-container{position:relative;transition:opacity .3s}.ant-spin-container:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:none\\9;width:100%;height:100%;background:#141414;opacity:0;transition:all .3s;content:\"\";pointer-events:none}.ant-spin-blur{clear:both;opacity:.5;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.ant-spin-blur:after{opacity:.4;pointer-events:auto}.ant-spin-tip{color:hsla(0,0%,100%,.45)}.ant-spin-dot{position:relative;display:inline-block;font-size:20px;width:1em;height:1em}.ant-spin-dot-item{position:absolute;display:block;width:9px;height:9px;background-color:#177ddc;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;animation:antSpinMove 1s linear infinite alternate}.ant-spin-dot-item:first-child{top:0;left:0}.ant-spin-dot-item:nth-child(2){top:0;right:0;animation-delay:.4s}.ant-spin-dot-item:nth-child(3){right:0;bottom:0;animation-delay:.8s}.ant-spin-dot-item:nth-child(4){bottom:0;left:0;animation-delay:1.2s}.ant-spin-dot-spin{transform:rotate(0deg);animation:antRotate 1.2s linear infinite}.ant-spin-sm .ant-spin-dot{font-size:14px}.ant-spin-sm .ant-spin-dot i{width:6px;height:6px}.ant-spin-lg .ant-spin-dot{font-size:32px}.ant-spin-lg .ant-spin-dot i{width:14px;height:14px}.ant-spin.ant-spin-show-text .ant-spin-text{display:block}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.ant-spin-blur{background:#141414;opacity:.5}}@keyframes antSpinMove{to{opacity:1}}@keyframes antRotate{to{transform:rotate(1turn)}}.ant-spin-rtl{direction:rtl}.ant-spin-rtl .ant-spin-dot-spin{transform:rotate(-45deg);animation-name:antRotateRtl}@keyframes antRotateRtl{to{transform:rotate(-405deg)}}@keyframes antCheckboxEffect{0%{transform:scale(1);opacity:.5}to{transform:scale(1.6);opacity:0}}@keyframes ant-tree-node-fx-do-not-use{0%{opacity:0}to{opacity:1}}.ant-tree.ant-tree-directory .ant-tree-treenode{position:relative}.ant-tree.ant-tree-directory .ant-tree-treenode:before{position:absolute;top:0;right:0;bottom:4px;left:0;transition:background-color .3s;content:\"\";pointer-events:none}.ant-tree.ant-tree-directory .ant-tree-treenode:hover:before{background:hsla(0,0%,100%,.08)}.ant-tree.ant-tree-directory .ant-tree-treenode>*{z-index:1}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-switcher{transition:color .3s}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper{border-radius:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper:hover{background:transparent}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper.ant-tree-node-selected{color:#fff;background:transparent}.ant-tree.ant-tree-directory .ant-tree-treenode-selected:before,.ant-tree.ant-tree-directory .ant-tree-treenode-selected:hover:before{background:#177ddc}.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-switcher{color:#fff}.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-node-content-wrapper{color:#fff;background:transparent}.ant-tree-checkbox{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";position:relative;top:.2em;line-height:1;white-space:nowrap;outline:none;cursor:pointer}.ant-tree-checkbox-input:focus+.ant-tree-checkbox-inner,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,.ant-tree-checkbox:hover .ant-tree-checkbox-inner{border-color:#177ddc}.ant-tree-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #177ddc;border-radius:2px;visibility:hidden;animation:antCheckboxEffect .36s ease-in-out;animation-fill-mode:backwards;content:\"\"}.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox:after,.ant-tree-checkbox:hover:after{visibility:visible}.ant-tree-checkbox-inner{position:relative;top:0;left:0;display:block;width:14px;height:14px;direction:ltr;background-color:transparent;border:1px solid #434343;border-radius:2px;border-collapse:separate;transition:all .3s}.ant-tree-checkbox-inner:after{position:absolute;top:50%;left:21.5%;display:table;width:5px;height:8px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:\" \"}.ant-tree-checkbox-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:\" \"}.ant-tree-checkbox-checked .ant-tree-checkbox-inner{background-color:#177ddc;border-color:#177ddc}.ant-tree-checkbox-disabled{cursor:not-allowed}.ant-tree-checkbox-disabled.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{border-color:hsla(0,0%,100%,.3);animation-name:none}.ant-tree-checkbox-disabled .ant-tree-checkbox-input{cursor:not-allowed;pointer-events:none}.ant-tree-checkbox-disabled .ant-tree-checkbox-inner{background-color:hsla(0,0%,100%,.08);border-color:#434343!important}.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after{border-color:hsla(0,0%,100%,.08);border-collapse:separate;animation-name:none}.ant-tree-checkbox-disabled+span{color:hsla(0,0%,100%,.3);cursor:not-allowed}.ant-tree-checkbox-disabled:hover:after,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-disabled:after{visibility:hidden}.ant-tree-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";display:inline-flex;align-items:baseline;line-height:unset;cursor:pointer}.ant-tree-checkbox-wrapper:after{display:inline-block;width:0;overflow:hidden;content:\"\\a0\"}.ant-tree-checkbox-wrapper.ant-tree-checkbox-wrapper-disabled{cursor:not-allowed}.ant-tree-checkbox-wrapper+.ant-tree-checkbox-wrapper{margin-left:8px}.ant-tree-checkbox-wrapper.ant-tree-checkbox-wrapper-in-form-item input[type=checkbox]{width:14px;height:14px}.ant-tree-checkbox+span{padding-right:8px;padding-left:8px}.ant-tree-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";display:inline-block}.ant-tree-checkbox-group-item{margin-right:6px}.ant-tree-checkbox-group-item:last-child{margin-right:0}.ant-tree-checkbox-group-item+.ant-tree-checkbox-group-item{margin-left:0}.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner{background-color:transparent;border-color:#434343}.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner:after{top:50%;left:50%;width:6px;height:6px;background-color:#177ddc;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:\" \"}.ant-tree-checkbox-indeterminate.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after{background-color:hsla(0,0%,100%,.3);border-color:hsla(0,0%,100%,.3)}.ant-tree{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";background:transparent;border-radius:2px;transition:background-color .3s}.ant-tree-focused:not(:hover):not(.ant-tree-active-focused){background:#111b26}.ant-tree-list-holder-inner{align-items:flex-start}.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner{align-items:stretch}.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner .ant-tree-node-content-wrapper{flex:auto}.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner .ant-tree-treenode.dragging{position:relative}.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner .ant-tree-treenode.dragging:after{position:absolute;top:0;right:0;bottom:2px;left:0;border:1px solid #177ddc;opacity:0;animation:ant-tree-node-fx-do-not-use .3s;animation-play-state:running;animation-fill-mode:forwards;content:\"\";pointer-events:none}.ant-tree .ant-tree-treenode{display:flex;align-items:flex-start;padding:0 0 2px;outline:none}.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper{color:hsla(0,0%,100%,.3);cursor:not-allowed}.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper:hover{background:transparent}.ant-tree .ant-tree-treenode-active .ant-tree-node-content-wrapper{background:hsla(0,0%,100%,.08)}.ant-tree .ant-tree-treenode:not(.ant-tree .ant-tree-treenode-disabled).filter-node .ant-tree-title{color:inherit;font-weight:500}.ant-tree .ant-tree-treenode-draggable .ant-tree-draggable-icon{width:20px;line-height:20px;text-align:center;visibility:visible;opacity:.2;transition:opacity .3s}.ant-tree-treenode:hover .ant-tree .ant-tree-treenode-draggable .ant-tree-draggable-icon{opacity:.45}.ant-tree .ant-tree-treenode-draggable.ant-tree-treenode-disabled .ant-tree-draggable-icon{visibility:hidden}.ant-tree-indent{align-self:stretch;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-tree-indent-unit{display:inline-block;width:20px}.ant-tree-draggable-icon{visibility:hidden}.ant-tree-switcher{position:relative;flex:none;align-self:stretch;width:20px;margin:0;line-height:20px;text-align:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-tree-switcher .ant-select-tree-switcher-icon,.ant-tree-switcher .ant-tree-switcher-icon{display:inline-block;font-size:10px;vertical-align:baseline}.ant-tree-switcher .ant-select-tree-switcher-icon svg,.ant-tree-switcher .ant-tree-switcher-icon svg{transition:transform .3s}.ant-tree-switcher-noop{cursor:default}.ant-tree-switcher_close .ant-tree-switcher-icon svg{transform:rotate(-90deg)}.ant-tree-switcher-loading-icon{color:#177ddc}.ant-tree-switcher-leaf-line{position:relative;z-index:1;display:inline-block;width:100%;height:100%}.ant-tree-switcher-leaf-line:before{position:absolute;top:0;right:12px;bottom:-2px;margin-left:-1px;border-right:1px solid #d9d9d9;content:\" \"}.ant-tree-switcher-leaf-line:after{position:absolute;width:6px;height:10px;border-bottom:1px solid #d9d9d9;content:\" \"}.ant-tree-checkbox{top:auto;margin:3px 8px 0 0}.ant-tree .ant-tree-node-content-wrapper{position:relative;z-index:auto;min-height:20px;margin:0;padding:0 4px;color:inherit;line-height:20px;background:transparent;border-radius:2px;cursor:pointer;transition:all .3s,border 0s,line-height 0s,box-shadow 0s}.ant-tree .ant-tree-node-content-wrapper:hover{background-color:hsla(0,0%,100%,.08)}.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected{background-color:#11263c}.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle{display:inline-block;width:20px;height:20px;line-height:20px;text-align:center;vertical-align:top}.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle:empty{display:none}.ant-tree-unselectable .ant-tree-node-content-wrapper:hover{background-color:transparent}.ant-tree-node-content-wrapper{line-height:20px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-tree-node-content-wrapper .ant-tree-drop-indicator{position:absolute;z-index:1;height:2px;background-color:#177ddc;border-radius:1px;pointer-events:none}.ant-tree-node-content-wrapper .ant-tree-drop-indicator:after{position:absolute;top:-3px;left:-6px;width:8px;height:8px;background-color:transparent;border:2px solid #177ddc;border-radius:50%;content:\"\"}.ant-tree .ant-tree-treenode.drop-container>[draggable]{box-shadow:0 0 0 2px #177ddc}.ant-tree-show-line .ant-tree-indent-unit{position:relative;height:100%}.ant-tree-show-line .ant-tree-indent-unit:before{position:absolute;top:0;right:10px;bottom:-2px;border-right:1px solid #434343;content:\"\"}.ant-tree-show-line .ant-tree-indent-unit-end:before{display:none}.ant-tree-show-line .ant-tree-switcher{background:#141414}.ant-tree-show-line .ant-tree-switcher-line-icon{vertical-align:-.15em}.ant-tree .ant-tree-treenode-leaf-last .ant-tree-switcher-leaf-line:before{top:auto!important;bottom:auto!important;height:10px!important}.ant-tree-rtl{direction:rtl}.ant-tree-rtl .ant-tree-node-content-wrapper[draggable=true] .ant-tree-drop-indicator:after{right:-6px;left:unset}.ant-tree .ant-tree-treenode-rtl{direction:rtl}.ant-tree-rtl .ant-tree-switcher_close .ant-tree-switcher-icon svg{transform:rotate(90deg)}.ant-tree-rtl.ant-tree-show-line .ant-tree-indent-unit:before{right:auto;left:-11px;border-right:none;border-left:1px solid #434343}.ant-tree-rtl .ant-tree-checkbox{margin:3px 0 0 8px}.ant-tree-select-dropdown-rtl .ant-select-tree-checkbox{margin:3px 0 0 8px}.ant-badge{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";position:relative;display:inline-block;line-height:1}.ant-badge-count{z-index:auto;min-width:18px;height:18px;padding:0 6px;color:#fff;font-weight:400;font-size:12px;line-height:18px;white-space:nowrap;text-align:center;background:#a61d24;border-radius:9px;box-shadow:0 0 0 1px #141414}.ant-badge-count a,.ant-badge-count a:hover{color:#fff}.ant-badge-count-sm{min-width:14px;height:14px;padding:0;font-size:12px;line-height:14px;border-radius:7px}.ant-badge-multiple-words{padding:0 8px}.ant-badge-dot{z-index:auto;width:6px;min-width:6px;height:6px;background:#a61d24;border-radius:100%;box-shadow:0 0 0 1px #141414}.ant-badge-dot.ant-scroll-number{transition:background 1.5s}.ant-badge-count,.ant-badge-dot,.ant-badge .ant-scroll-number-custom-component{position:absolute;top:0;right:0;transform:translate(50%,-50%);transform-origin:100% 0}.ant-badge-count.anticon-spin,.ant-badge-dot.anticon-spin,.ant-badge .ant-scroll-number-custom-component.anticon-spin{animation:antBadgeLoadingCircle 1s linear infinite}.ant-badge-status{line-height:inherit;vertical-align:baseline}.ant-badge-status-dot{position:relative;top:-1px;display:inline-block;width:6px;height:6px;vertical-align:middle;border-radius:50%}.ant-badge-status-success{background-color:#49aa19}.ant-badge-status-processing{position:relative;background-color:#177ddc}.ant-badge-status-processing:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #177ddc;border-radius:50%;animation:antStatusProcessing 1.2s ease-in-out infinite;content:\"\"}.ant-badge-status-default{background-color:#d9d9d9}.ant-badge-status-error{background-color:#a61d24}.ant-badge-status-warning{background-color:#d89614}.ant-badge-status-pink{background:#cb2b83}.ant-badge-status-magenta{background:#cb2b83}.ant-badge-status-red{background:#d32029}.ant-badge-status-volcano{background:#d84a1b}.ant-badge-status-orange{background:#d87a16}.ant-badge-status-yellow{background:#d8bd14}.ant-badge-status-gold{background:#d89614}.ant-badge-status-cyan{background:#13a8a8}.ant-badge-status-lime{background:#8bbb11}.ant-badge-status-green{background:#49aa19}.ant-badge-status-blue{background:#177ddc}.ant-badge-status-geekblue{background:#2b4acb}.ant-badge-status-purple{background:#642ab5}.ant-badge-status-text{margin-left:8px;color:hsla(0,0%,100%,.85);font-size:12px}.ant-badge-zoom-appear,.ant-badge-zoom-enter{animation:antZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46);animation-fill-mode:both}.ant-badge-zoom-leave{animation:antZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6);animation-fill-mode:both}.ant-badge-not-a-wrapper .ant-badge-zoom-appear,.ant-badge-not-a-wrapper .ant-badge-zoom-enter{animation:antNoWrapperZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46)}.ant-badge-not-a-wrapper .ant-badge-zoom-leave{animation:antNoWrapperZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6)}.ant-badge-not-a-wrapper:not(.ant-badge-status){vertical-align:middle}.ant-badge-not-a-wrapper .ant-badge-count,.ant-badge-not-a-wrapper .ant-scroll-number-custom-component{transform:none}.ant-badge-not-a-wrapper .ant-scroll-number,.ant-badge-not-a-wrapper .ant-scroll-number-custom-component{position:relative;top:auto;display:block;transform-origin:50% 50%}@keyframes antStatusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}.ant-scroll-number{overflow:hidden;direction:ltr}.ant-scroll-number-only{position:relative;display:inline-block;height:18px;transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.ant-scroll-number-only>p.ant-scroll-number-only-unit{height:18px;margin:0;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.ant-scroll-number-symbol{vertical-align:top}@keyframes antZoomBadgeIn{0%{transform:scale(0) translate(50%,-50%);opacity:0}to{transform:scale(1) translate(50%,-50%)}}@keyframes antZoomBadgeOut{0%{transform:scale(1) translate(50%,-50%)}to{transform:scale(0) translate(50%,-50%);opacity:0}}@keyframes antNoWrapperZoomBadgeIn{0%{transform:scale(0);opacity:0}to{transform:scale(1)}}@keyframes antNoWrapperZoomBadgeOut{0%{transform:scale(1)}to{transform:scale(0);opacity:0}}@keyframes antBadgeLoadingCircle{0%{transform-origin:50%}to{transform:translate(50%,-50%) rotate(1turn);transform-origin:50%}}.ant-ribbon-wrapper{position:relative}.ant-ribbon{box-sizing:border-box;margin:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\";position:absolute;top:8px;height:22px;padding:0 8px;color:#fff;line-height:22px;white-space:nowrap;background-color:#177ddc;border-radius:2px}.ant-ribbon-text{color:#fff}.ant-ribbon-corner{position:absolute;top:100%;width:8px;height:8px;color:currentcolor;border:4px solid;transform:scaleY(.75);transform-origin:top}.ant-ribbon-corner:after{position:absolute;top:-4px;left:-4px;width:inherit;height:inherit;color:rgba(0,0,0,.25);border:inherit;content:\"\"}.ant-ribbon-color-pink{color:#cb2b83;background:#cb2b83}.ant-ribbon-color-magenta{color:#cb2b83;background:#cb2b83}.ant-ribbon-color-red{color:#d32029;background:#d32029}.ant-ribbon-color-volcano{color:#d84a1b;background:#d84a1b}.ant-ribbon-color-orange{color:#d87a16;background:#d87a16}.ant-ribbon-color-yellow{color:#d8bd14;background:#d8bd14}.ant-ribbon-color-gold{color:#d89614;background:#d89614}.ant-ribbon-color-cyan{color:#13a8a8;background:#13a8a8}.ant-ribbon-color-lime{color:#8bbb11;background:#8bbb11}.ant-ribbon-color-green{color:#49aa19;background:#49aa19}.ant-ribbon-color-blue{color:#177ddc;background:#177ddc}.ant-ribbon-color-geekblue{color:#2b4acb;background:#2b4acb}.ant-ribbon-color-purple{color:#642ab5;background:#642ab5}.ant-ribbon.ant-ribbon-placement-end{right:-8px;border-bottom-right-radius:0}.ant-ribbon.ant-ribbon-placement-end .ant-ribbon-corner{right:0;border-color:currentcolor transparent transparent currentcolor}.ant-ribbon.ant-ribbon-placement-start{left:-8px;border-bottom-left-radius:0}.ant-ribbon.ant-ribbon-placement-start .ant-ribbon-corner{left:0;border-color:currentcolor currentcolor transparent transparent}.ant-badge-rtl{direction:rtl}.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-badge-count,.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-badge-dot,.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-scroll-number-custom-component{right:auto;left:0;direction:ltr;transform:translate(-50%,-50%);transform-origin:0 0}.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-scroll-number-custom-component{right:auto;left:0;transform:translate(-50%,-50%);transform-origin:0 0}.ant-badge-rtl .ant-badge-status-text{margin-right:8px;margin-left:0}.ant-badge:not(.ant-badge-not-a-wrapper).ant-badge-rtl .ant-badge-zoom-appear,.ant-badge:not(.ant-badge-not-a-wrapper).ant-badge-rtl .ant-badge-zoom-enter{animation-name:antZoomBadgeInRtl}.ant-badge:not(.ant-badge-not-a-wrapper).ant-badge-rtl .ant-badge-zoom-leave{animation-name:antZoomBadgeOutRtl}.ant-ribbon-rtl{direction:rtl}.ant-ribbon-rtl.ant-ribbon-placement-end{right:unset;left:-8px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner{right:unset;left:0;border-color:currentcolor currentcolor transparent transparent}.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner:after{border-color:currentcolor currentcolor transparent transparent}.ant-ribbon-rtl.ant-ribbon-placement-start{right:-8px;left:unset;border-bottom-right-radius:0;border-bottom-left-radius:2px}.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner{right:0;left:unset;border-color:currentcolor transparent transparent currentcolor}.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner:after{border-color:currentcolor transparent transparent currentcolor}@keyframes antZoomBadgeInRtl{0%{transform:scale(0) translate(-50%,-50%);opacity:0}to{transform:scale(1) translate(-50%,-50%)}}@keyframes antZoomBadgeOutRtl{0%{transform:scale(1) translate(-50%,-50%)}to{transform:scale(0) translate(-50%,-50%);opacity:0}}.site-basicInfo .basic-cert-info{font-size:12px;margin-top:10px}.site-basicInfo .basic-cert-info .ant-card-head{font-size:12px}.site-basicInfo .basic-cert-info .ant-card-head .ant-card-head-wrapper .ant-card-extra{font-size:12px}.site-basicInfo .ant-card-grid{padding:10px 5px}.site-basicInfo .ant-btn-primary{font-size:12px}.site-sub-table .ant-table{font-size:12px;text-align:left}.site-sub-table .ant-table .ant-table-thead tr th{text-align:left!important}.site-sub-table .ant-table .ant-table-tbody tr td{text-align:left!important}.site-sub-table .ant-pagination{font-size:12px}.site-sub-table .ant-pagination-options{font-size:12px}.site-sub-table .ant-pagination-options .ant-select{font-size:12px}.site-sub-table .ant-select-open{font-size:12px}.site-port-drawer{font-size:12px}.site-port-drawer .ant-drawer-title{font-size:14px}.site-description-item-profile-wrapper{margin-bottom:7px;color:hsla(0,0%,100%,.85);font-size:12px;line-height:1.5715;word-break:break-all;word-wrap:break-word}.site-description-item-profile-p-label{display:inline-block;margin-right:8px;color:hsla(0,0%,100%,.85)}.ant-select-auto-complete{box-sizing:border-box;margin:0;padding:0;color:hsla(0,0%,100%,.85);font-size:12px;font-variant:tabular-nums;line-height:1.66667;list-style:none;font-feature-settings:tnum,\"tnum\"}.ant-select-auto-complete .ant-select-clear{right:13px}.easy-search{width:770px}.easy-search .ant-collapse>.ant-collapse-item{border-bottom:none}.easy-search .ant-collapse-borderless>.ant-collapse-item>.ant-collapse-content{border-top:none}.easy-search .ant-collapse-borderless>.ant-collapse-item>.ant-collapse-header:hover,.easy-search .ant-collapse>.ant-collapse-item:not(.ant-collapse-item-disabled)>.ant-collapse-header:active{background-color:transparent}.easy-search .ant-collapse-content{color:#fff;font-size:12px}.easy-search .ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow{font-size:12px;left:0;color:#fff;opacity:.8}.easy-search .easy-search-panel-size{color:#a6a9ad}.home-page .easy-search .ant-select-selection{border:none;color:#bfbfbf;background-color:rgba(30,37,62,.8)!important;font-size:12px}.easy-search .ant-select{width:140px}.easy-search .ant-select-arrow{color:#bfbfbf}.home-page .easy-search-options .ant-select-dropdown-menu-item-active:after,.home-page .easy-search-options .ant-select-dropdown-menu-item-selected:after,.home-page .easy-search-options .ant-select-dropdown-menu-item:after{background-image:none;font-size:12px}.easy-search .easy-search-search-list-div{display:flex;margin-top:8px}.easy-search .easy-search-search-list{padding-left:18px;padding-bottom:4px;font-size:12px}.easy-search .easy-search-copy{margin-left:16px;height:unset;max-width:520px;min-height:28px;line-height:1.5;word-break:break-all;white-space:unset;color:#bfbfbf;border:none;background-color:rgba(30,37,62,.8);font-size:12px}.easy-search .easy-search-input{background-color:rgba(30,37,62,.8);border:none;color:#bfbfbf}.easy-search .easy-search-auto-input{flex:1 1 760px;margin-left:24px}.easy-search .easy-search-auto-input>div{border-radius:4px}.easy-search .ant-collapse>.ant-collapse-item>.ant-collapse-header .arrow:before{color:#fff;font-weight:lighter;font-size:12px}.easy-search .ant-collapse>.ant-collapse-item>.ant-collapse-header .arrow{left:59px;top:-9px;font-size:22px}.easy-search .ant-collapse>.ant-collapse-item-active>.ant-collapse-header .arrow{left:65px;top:-4px;font-size:22px}.mobile.easy-search{width:100%;margin-top:64px;font-size:22px}.mobile.easy-search .easy-search-search-list{padding-left:0}.mobile.easy-search .easy-search-copy{display:block;margin:8px auto 0}.mobile.easy-search .easy-search-copy-text{display:block;text-align:center}.mobile.easy-search .ant-collapse>.ant-collapse-item>.ant-collapse-header .arrow{left:58px}.mobile.easy-search .easy-search-search-list{max-height:86px}.mobile.easy-search .easy-search-footer{display:flex;justify-content:space-between;flex-direction:row-reverse}.mobile.easy-search .easy-search-search-list-div{margin-top:6px}.easy-search .easy-search-panel-icon-en .ant-collapse-header,.easy-search .easy-search-panel-icon .ant-collapse-header{color:#fff;padding:0!important}.easy-search .easy-search-panel-icon-en>.ant-collapse-header .arrow{left:71px!important}.easy-search .ant-collapse-header{width:200px}.easy-search .easy-search-panel-icon-en .arrow:before,.easy-search .easy-search-panel-icon .arrow:before{width:0;height:0;transition:.5s;border-top:8px solid transparent;border-bottom:8px solid transparent;border-left:8px solid #fff;color:transparent!important;margin-top:14px;transition-delay:.5s;-webkit-animation-name:scaleDraw;-webkit-animation-timing-function:ease-in-out;-webkit-animation-iteration-count:infinite;-webkit-animation-duration:1s;-webkit-animation-direction:alternate}.easy-search .ant-badge-status-text{font-size:12px}.display-none{max-height:40px;overflow:hidden}.display-block{display:block}.page-content{background:#242525;width:800px;padding:8px;min-height:590px;box-sizing:border-box}.page-content::-webkit-scrollbar{width:0;height:0}.page-content::-webkit-scrollbar-corner{display:block;background:transparent}.page-content::-webkit-scrollbar-track{box-shadow:inset 0 0 5px rgba(0,0,0,.2);border-radius:10px;background:transparent}body::-webkit-scrollbar{width:0;height:0}body::-webkit-scrollbar-corner{display:block;background:transparent}body::-webkit-scrollbar-track{box-shadow:inset 0 0 5px rgba(0,0,0,.2);border-radius:10px;background:transparent}body::-webkit-scrollbar-thumb{border-radius:10px;box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#535353}.site-badge .ant-badge-status-text{font-size:12px!important}.assets-tabs .ant-tabs-content-holder .ant-tabs-tabpane{padding-left:10px!important}.asset-query-table .ant-table-body::-webkit-scrollbar{width:5px;height:5px}.asset-query-table .ant-table-body::-webkit-scrollbar-corner{display:block;background:transparent}.asset-query-table .ant-table-body::-webkit-scrollbar-track{box-shadow:inset 0 0 5px rgba(0,0,0,.2);border-radius:10px;background:transparent}.asset-query-table .ant-table-body::-webkit-scrollbar-thumb{border-radius:10px;box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#535353}"
  },
  {
    "path": "umi.js",
    "content": "(function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){\"undefined\"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&\"object\"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e[\"default\"]}:function(){return e};return n.d(t,\"a\",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p=\"./\",n(n.s=0)})({\"++zV\":function(e,t,n){var r=n(\"I+eb\"),o=n(\"eDxR\"),i=n(\"glrk\"),a=o.toKey,c=o.set;r({target:\"Reflect\",stat:!0},{defineMetadata:function(e,t,n){var r=arguments.length<4?void 0:a(arguments[3]);c(e,t,i(n),r)}})},\"+2oP\":function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"hh1v\"),i=n(\"6LWA\"),a=n(\"I8vh\"),c=n(\"UMSQ\"),u=n(\"/GqU\"),s=n(\"hBjN\"),l=n(\"tiKp\"),f=n(\"Hd5f\"),d=n(\"rkAj\"),h=f(\"slice\"),p=d(\"slice\",{ACCESSORS:!0,0:0,1:2}),v=l(\"species\"),g=[].slice,m=Math.max;r({target:\"Array\",proto:!0,forced:!h||!p},{slice:function(e,t){var n,r,l,f=u(this),d=c(f.length),h=a(e,d),p=a(void 0===t?d:t,d);if(i(f)&&(n=f.constructor,\"function\"!=typeof n||n!==Array&&!i(n.prototype)?o(n)&&(n=n[v],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return g.call(f,h,p);for(r=new(void 0===n?Array:n)(m(p-h,0)),l=0;h<p;h++,l++)h in f&&s(r,l,f[h]);return r.length=l,r}})},\"+6XX\":function(e,t,n){var r=n(\"y1pI\");function o(e){return r(this.__data__,e)>-1}e.exports=o},\"+M1K\":function(e,t,n){var r=n(\"ppGB\");e.exports=function(e){var t=r(e);if(t<0)throw RangeError(\"The argument can't be less than 0\");return t}},\"+QRC\":function(e,t,n){\"use strict\";var r=n(\"E9nw\"),o={\"text/plain\":\"Text\",\"text/html\":\"Url\",default:\"Text\"},i=\"Copy to clipboard: #{key}, Enter\";function a(e){var t=(/mac os x/i.test(navigator.userAgent)?\"\\u2318\":\"Ctrl\")+\"+C\";return e.replace(/#{\\s*key\\s*}/g,t)}function c(e,t){var n,c,u,s,l,f,d=!1;t||(t={}),n=t.debug||!1;try{u=r(),s=document.createRange(),l=document.getSelection(),f=document.createElement(\"span\"),f.textContent=e,f.ariaHidden=\"true\",f.style.all=\"unset\",f.style.position=\"fixed\",f.style.top=0,f.style.clip=\"rect(0, 0, 0, 0)\",f.style.whiteSpace=\"pre\",f.style.webkitUserSelect=\"text\",f.style.MozUserSelect=\"text\",f.style.msUserSelect=\"text\",f.style.userSelect=\"text\",f.addEventListener(\"copy\",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),\"undefined\"===typeof r.clipboardData){n&&console.warn(\"unable to use e.clipboardData\"),n&&console.warn(\"trying IE specific stuff\"),window.clipboardData.clearData();var i=o[t.format]||o[\"default\"];window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(f),s.selectNodeContents(f),l.addRange(s);var h=document.execCommand(\"copy\");if(!h)throw new Error(\"copy command was unsuccessful\");d=!0}catch(p){n&&console.error(\"unable to copy using execCommand: \",p),n&&console.warn(\"trying IE specific stuff\");try{window.clipboardData.setData(t.format||\"text\",e),t.onCopy&&t.onCopy(window.clipboardData),d=!0}catch(p){n&&console.error(\"unable to copy using clipboardData: \",p),n&&console.error(\"falling back to prompt\"),c=a(\"message\"in t?t.message:i),window.prompt(c,e)}}finally{l&&(\"function\"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),f&&document.body.removeChild(f),u()}return d}e.exports=c},\"+pfl\":function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,\"__esModule\",{value:!0}),t.FruchtermanLayout=void 0;var o=n(\"W8mN\"),i=n(\"8nGZ\"),a=800,c=function(e){function t(t){var n=e.call(this)||this;return n.maxIteration=1e3,n.workerEnabled=!1,n.gravity=10,n.speed=5,n.clustering=!1,n.clusterGravity=10,n.nodes=[],n.edges=[],n.width=300,n.height=300,n.nodeMap={},n.nodeIdxMap={},n.onLayoutEnd=function(){},n.tick=function(){},n.animate=!0,n.updateCfg(t),n}return r(t,e),t.prototype.getDefaultCfg=function(){return{maxIteration:1e3,gravity:10,speed:1,clustering:!1,clusterGravity:10,animate:!0}},t.prototype.execute=function(){var e,t,n=this,r=this,o=r.nodes;if(void 0!==r.timeInterval&&\"undefined\"!==typeof window&&window.clearInterval(r.timeInterval),o&&0!==o.length){r.width||\"undefined\"===typeof window||(r.width=window.innerWidth),r.height||\"undefined\"===typeof window||(r.height=window.innerHeight),r.center||(r.center=[r.width/2,r.height/2]);var a=r.center;if(1===o.length)return o[0].x=a[0],o[0].y=a[1],void(null===(t=r.onLayoutEnd)||void 0===t||t.call(r));var c={},u={};return o.forEach((function(e,t){(0,i.isNumber)(e.x)||(e.x=Math.random()*n.width),(0,i.isNumber)(e.y)||(e.y=Math.random()*n.height),c[e.id]=e,u[e.id]=t})),r.nodeMap=c,r.nodeIdxMap=u,r.run()}null===(e=r.onLayoutEnd)||void 0===e||e.call(r)},t.prototype.run=function(){var e,t=this,n=t.nodes;if(n){var r=t.edges,o=t.maxIteration,i=t.workerEnabled,a=t.clustering,c=t.animate,u={};if(a&&n.forEach((function(e){void 0===u[e.cluster]&&(u[e.cluster]={name:e.cluster,cx:0,cy:0,count:0})})),i||!c){for(var s=0;s<o;s++)t.runOneStep(u);null===(e=t.onLayoutEnd)||void 0===e||e.call(t)}else{if(\"undefined\"===typeof window)return;var l=0;this.timeInterval=window.setInterval((function(){var e;t.runOneStep(u),l++,l>=o&&(null===(e=t.onLayoutEnd)||void 0===e||e.call(t),window.clearInterval(t.timeInterval))}),0)}return{nodes:n,edges:r}}},t.prototype.runOneStep=function(e){var t,n=this,r=n.nodes;if(r){var o=n.edges,c=n.center,u=n.gravity,s=n.speed,l=n.clustering,f=n.height*n.width,d=Math.sqrt(f)/10,h=f/(r.length+1),p=Math.sqrt(h),v=[];if(r.forEach((function(e,t){v[t]={x:0,y:0}})),n.applyCalculate(r,o,v,p,h),l){for(var g in e)e[g].cx=0,e[g].cy=0,e[g].count=0;for(var g in r.forEach((function(t){var n=e[t.cluster];(0,i.isNumber)(t.x)&&(n.cx+=t.x),(0,i.isNumber)(t.y)&&(n.cy+=t.y),n.count++})),e)e[g].cx/=e[g].count,e[g].cy/=e[g].count;var m=n.clusterGravity||u;r.forEach((function(t,n){if((0,i.isNumber)(t.x)&&(0,i.isNumber)(t.y)){var r=e[t.cluster],o=Math.sqrt((t.x-r.cx)*(t.x-r.cx)+(t.y-r.cy)*(t.y-r.cy)),a=p*m;v[n].x-=a*(t.x-r.cx)/o,v[n].y-=a*(t.y-r.cy)/o}}))}r.forEach((function(e,t){if((0,i.isNumber)(e.x)&&(0,i.isNumber)(e.y)){var n=.01*p*u;v[t].x-=n*(e.x-c[0]),v[t].y-=n*(e.y-c[1])}})),r.forEach((function(e,t){if((0,i.isNumber)(e.fx)&&(0,i.isNumber)(e.fy))return e.x=e.fx,void(e.y=e.fy);if((0,i.isNumber)(e.x)&&(0,i.isNumber)(e.y)){var n=Math.sqrt(v[t].x*v[t].x+v[t].y*v[t].y);if(n>0){var r=Math.min(d*(s/a),n);e.x+=v[t].x/n*r,e.y+=v[t].y/n*r}}})),null===(t=n.tick)||void 0===t||t.call(n)}},t.prototype.applyCalculate=function(e,t,n,r,o){var i=this;i.calRepulsive(e,n,o),t&&i.calAttractive(t,n,r)},t.prototype.calRepulsive=function(e,t,n){e.forEach((function(r,o){t[o]={x:0,y:0},e.forEach((function(e,a){if(o!==a&&(0,i.isNumber)(r.x)&&(0,i.isNumber)(e.x)&&(0,i.isNumber)(r.y)&&(0,i.isNumber)(e.y)){var c=r.x-e.x,u=r.y-e.y,s=c*c+u*u;if(0===s){s=1;var l=o>a?1:-1;c=.01*l,u=.01*l}var f=n/s;t[o].x+=c*f,t[o].y+=u*f}}))}))},t.prototype.calAttractive=function(e,t,n){var r=this;e.forEach((function(e){var o=(0,i.getEdgeTerminal)(e,\"source\"),a=(0,i.getEdgeTerminal)(e,\"target\");if(o&&a){var c=r.nodeIdxMap[o],u=r.nodeIdxMap[a];if(c!==u){var s=r.nodeMap[o],l=r.nodeMap[a];if((0,i.isNumber)(l.x)&&(0,i.isNumber)(s.x)&&(0,i.isNumber)(l.y)&&(0,i.isNumber)(s.y)){var f=l.x-s.x,d=l.y-s.y,h=Math.sqrt(f*f+d*d),p=h*h/n;t[u].x-=f/h*p,t[u].y-=d/h*p,t[c].x+=f/h*p,t[c].y+=d/h*p}}}}))},t.prototype.stop=function(){this.timeInterval&&\"undefined\"!==typeof window&&window.clearInterval(this.timeInterval)},t.prototype.destroy=function(){var e=this;e.stop(),e.tick=null,e.nodes=null,e.edges=null,e.destroyed=!0},t.prototype.getType=function(){return\"fruchterman\"},t}(o.Base);t.FruchtermanLayout=c},\"+vmx\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(){function e(e){this.id=e.id||0,this.rx=e.rx,this.ry=e.ry,this.fx=0,this.fy=0,this.mass=e.mass,this.degree=e.degree,this.g=e.g||0}return e.prototype.distanceTo=function(e){var t=this.rx-e.rx,n=this.ry-e.ry;return Math.hypot(t,n)},e.prototype.setPos=function(e,t){this.rx=e,this.ry=t},e.prototype.resetForce=function(){this.fx=0,this.fy=0},e.prototype.addForce=function(e){var t=e.rx-this.rx,n=e.ry-this.ry,r=Math.hypot(t,n);r=r<1e-4?1e-4:r;var o=this.g*(this.degree+1)*(e.degree+1)/r;this.fx+=o*t/r,this.fy+=o*n/r},e.prototype.in=function(e){return e.contains(this.rx,this.ry)},e.prototype.add=function(t){var n=this.mass+t.mass,r=(this.rx*this.mass+t.rx*t.mass)/n,o=(this.ry*this.mass+t.ry*t.mass)/n,i=this.degree+t.degree,a={rx:r,ry:o,mass:n,degree:i};return new e(a)},e}();t.default=r},\"+wdc\":function(e,t,n){\"use strict\";var r,o,i,a;if(\"object\"===typeof performance&&\"function\"===typeof performance.now){var c=performance;t.unstable_now=function(){return c.now()}}else{var u=Date,s=u.now();t.unstable_now=function(){return u.now()-s}}if(\"undefined\"===typeof window||\"function\"!==typeof MessageChannel){var l=null,f=null,d=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(n){throw setTimeout(d,0),n}};r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(d,0))},o=function(e,t){f=setTimeout(e,t)},i=function(){clearTimeout(f)},t.unstable_shouldYield=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var h=window.setTimeout,p=window.clearTimeout;if(\"undefined\"!==typeof console){var v=window.cancelAnimationFrame;\"function\"!==typeof window.requestAnimationFrame&&console.error(\"This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills\"),\"function\"!==typeof v&&console.error(\"This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills\")}var g=!1,m=null,y=-1,b=5,x=0;t.unstable_shouldYield=function(){return t.unstable_now()>=x},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported\"):b=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,O=w.port2;w.port1.onmessage=function(){if(null!==m){var e=t.unstable_now();x=e+b;try{m(!0,e)?O.postMessage(null):(g=!1,m=null)}catch(n){throw O.postMessage(null),n}}else g=!1},r=function(e){m=e,g||(g=!0,O.postMessage(null))},o=function(e,n){y=h((function(){e(t.unstable_now())}),n)},i=function(){p(y),y=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<k(o,t)))break e;e[r]=t,e[n]=o,n=r}}function S(e){return e=e[0],void 0===e?null:e}function j(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],c=i+1,u=e[c];if(void 0!==a&&0>k(a,n))void 0!==u&&0>k(u,a)?(e[r]=u,e[c]=n,r=c):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==u&&0>k(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}return null}function k(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var _=[],C=[],M=1,A=null,N=3,T=!1,I=!1,P=!1;function L(e){for(var t=S(C);null!==t;){if(null===t.callback)j(C);else{if(!(t.startTime<=e))break;j(C),t.sortIndex=t.expirationTime,E(_,t)}t=S(C)}}function D(e){if(P=!1,L(e),!I)if(null!==S(_))I=!0,r(R);else{var t=S(C);null!==t&&o(D,t.startTime-e)}}function R(e,n){I=!1,P&&(P=!1,i()),T=!0;var r=N;try{for(L(n),A=S(_);null!==A&&(!(A.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=A.callback;if(\"function\"===typeof a){A.callback=null,N=A.priorityLevel;var c=a(A.expirationTime<=n);n=t.unstable_now(),\"function\"===typeof c?A.callback=c:A===S(_)&&j(_),L(n)}else j(_);A=S(_)}if(null!==A)var u=!0;else{var s=S(C);null!==s&&o(D,s.startTime-n),u=!1}return u}finally{A=null,N=r,T=!1}}var F=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){I||T||(I=!0,r(R))},t.unstable_getCurrentPriorityLevel=function(){return N},t.unstable_getFirstCallbackNode=function(){return S(_)},t.unstable_next=function(e){switch(N){case 1:case 2:case 3:var t=3;break;default:t=N}var n=N;N=t;try{return e()}finally{N=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=N;N=e;try{return t()}finally{N=n}},t.unstable_scheduleCallback=function(e,n,a){var c=t.unstable_now();switch(\"object\"===typeof a&&null!==a?(a=a.delay,a=\"number\"===typeof a&&0<a?c+a:c):a=c,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return u=a+u,e={id:M++,callback:n,priorityLevel:e,startTime:a,expirationTime:u,sortIndex:-1},a>c?(e.sortIndex=a,E(C,e),null===S(_)&&e===S(C)&&(P?i():P=!0,o(D,a-c))):(e.sortIndex=u,E(_,e),I||T||(I=!0,r(R))),e},t.unstable_wrapCallback=function(e){var t=N;return function(){var n=N;N=t;try{return e.apply(this,arguments)}finally{N=n}}}},\"+ywr\":function(e,t,n){var r=n(\"dOgj\");r(\"Uint32\",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},\"/9aa\":function(e,t,n){var r=n(\"NykK\"),o=n(\"ExA7\"),i=\"[object Symbol]\";function a(e){return\"symbol\"==typeof e||o(e)&&r(e)==i}e.exports=a},\"/GqU\":function(e,t,n){var r=n(\"RK3t\"),o=n(\"HYAF\");e.exports=function(e){return r(o(e))}},\"/Yfv\":function(e,t,n){var r=n(\"dOgj\");r(\"Int8\",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},\"/b8u\":function(e,t,n){var r=n(\"STAE\");e.exports=r&&!Symbol.sham&&\"symbol\"==typeof Symbol.iterator},\"/byt\":function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},\"/lHY\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=a;var r=n(\"3P6T\");function o(e){void 0===e&&(e={});var t=e,n=function(){},r=function(){var e={};return function(t){var n=t.next;return!e[n]&&(e[n]=!0,!0)}}();return t.allowTraversal=e.allowTraversal||r,t.enter=e.enter||n,t.leave=e.leave||n,t}function i(e,t,n,o){o.enter({current:t,previous:n});var a=e.edges,c=void 0===a?[]:a;(0,r.getNeighbors)(t,c,\"target\").forEach((function(r){o.allowTraversal({previous:n,current:t,next:r})&&i(e,r,t,o)})),o.leave({current:t,previous:n})}function a(e,t,n){i(e,t,\"\",o(n))}},\"/qmn\":function(e,t,n){var r=n(\"2oRo\");e.exports=r.Promise},\"/xke\":function(e,t,n){\"use strict\";n.r(t);n(\"EFp3\"),n(\"rSSe\")},0:function(e,t,n){e.exports=n(\"tB8F\")},\"03A+\":function(e,t,n){var r=n(\"JTzB\"),o=n(\"ExA7\"),i=Object.prototype,a=i.hasOwnProperty,c=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,\"callee\")&&!c.call(e,\"callee\")};e.exports=u},\"07d7\":function(e,t,n){var r=n(\"AO7/\"),o=n(\"busE\"),i=n(\"sEFX\");r||o(Object.prototype,\"toString\",i,{unsafe:!0})},\"0BK2\":function(e,t){e.exports={}},\"0Cz8\":function(e,t,n){var r=n(\"Xi7e\"),o=n(\"ebwN\"),i=n(\"e4Nc\"),a=200;function c(e,t){var n=this.__data__;if(n instanceof r){var c=n.__data__;if(!o||c.length<a-1)return c.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(c)}return n.set(e,t),this.size=n.size,this}e.exports=c},\"0Dky\":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},\"0GbY\":function(e,t,n){var r=n(\"Qo9l\"),o=n(\"2oRo\"),i=function(e){return\"function\"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},\"0eef\":function(e,t,n){\"use strict\";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},\"0jNN\":function(e,t,n){\"use strict\";var r=n(\"sxOR\"),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push(\"%\"+((t<16?\"0\":\"\")+t.toString(16)).toUpperCase());return e}(),c=function(e){while(e.length>1){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)\"undefined\"!==typeof n[o]&&r.push(n[o]);t.obj[t.prop]=r}}},u=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)\"undefined\"!==typeof e[r]&&(n[r]=e[r]);return n},s=function e(t,n,r){if(!n)return t;if(\"object\"!==typeof n){if(i(t))t.push(n);else{if(!t||\"object\"!==typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||\"object\"!==typeof t)return[t].concat(n);var a=t;return i(t)&&!i(n)&&(a=u(t,r)),i(t)&&i(n)?(n.forEach((function(n,i){if(o.call(t,i)){var a=t[i];a&&\"object\"===typeof a&&n&&\"object\"===typeof n?t[i]=e(a,n,r):t.push(n)}else t[i]=n})),t):Object.keys(n).reduce((function(t,i){var a=n[i];return o.call(t,i)?t[i]=e(t[i],a,r):t[i]=a,t}),a)},l=function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},f=function(e,t,n){var r=e.replace(/\\+/g,\" \");if(\"iso-8859-1\"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(o){return r}},d=function(e,t,n,o,i){if(0===e.length)return e;var c=e;if(\"symbol\"===typeof e?c=Symbol.prototype.toString.call(e):\"string\"!==typeof e&&(c=String(e)),\"iso-8859-1\"===n)return escape(c).replace(/%u[0-9a-f]{4}/gi,(function(e){return\"%26%23\"+parseInt(e.slice(2),16)+\"%3B\"}));for(var u=\"\",s=0;s<c.length;++s){var l=c.charCodeAt(s);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===r.RFC1738&&(40===l||41===l)?u+=c.charAt(s):l<128?u+=a[l]:l<2048?u+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?u+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(s+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(s)),u+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return u},h=function(e){for(var t=[{obj:{o:e},prop:\"o\"}],n=[],r=0;r<t.length;++r)for(var o=t[r],i=o.obj[o.prop],a=Object.keys(i),u=0;u<a.length;++u){var s=a[u],l=i[s];\"object\"===typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:i,prop:s}),n.push(l))}return c(t),e},p=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},v=function(e){return!(!e||\"object\"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},g=function(e,t){return[].concat(e,t)},m=function(e,t){if(i(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)};e.exports={arrayToObject:u,assign:l,combine:g,compact:h,decode:f,encode:d,isBuffer:v,isRegExp:p,maybeMap:m,merge:s}},\"0q/z\":function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"glrk\"),a=n(\"A2ZE\"),c=n(\"Sssf\"),u=n(\"ImZN\");r({target:\"Map\",proto:!0,real:!0,forced:o},{find:function(e){var t=i(this),n=c(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return u(n,(function(e,n){if(r(n,e,t))return u.stop(n)}),void 0,!0,!0).result}})},\"0rvr\":function(e,t,n){var r=n(\"glrk\"),o=n(\"O741\");e.exports=Object.setPrototypeOf||(\"__proto__\"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,\"__proto__\").set,e.call(n,[]),t=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},\"0x2o\":function(e,t,n){\"use strict\";n(\"MgzW\");var r=n(\"q1tI\"),o=60103;if(t.Fragment=60107,\"function\"===typeof Symbol&&Symbol.for){var i=Symbol.for;o=i(\"react.element\"),t.Fragment=i(\"react.fragment\")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var r,i={},s=null,l=null;for(r in void 0!==n&&(s=\"\"+n),void 0!==t.key&&(s=\"\"+t.key),void 0!==t.ref&&(l=t.ref),t)c.call(t,r)&&!u.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:s,ref:l,props:i,_owner:a.current}}t.jsx=s,t.jsxs=s},\"0ycA\":function(e,t){function n(){return[]}e.exports=n},1:function(e,t){},\"14Sl\":function(e,t,n){\"use strict\";n(\"rB9j\");var r=n(\"busE\"),o=n(\"0Dky\"),i=n(\"tiKp\"),a=n(\"kmMV\"),c=n(\"kRJp\"),u=i(\"species\"),s=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:\"7\"},e},\"7\"!==\"\".replace(e,\"$<a>\")})),l=function(){return\"$0\"===\"a\".replace(/./,\"$0\")}(),f=i(\"replace\"),d=function(){return!!/./[f]&&\"\"===/./[f](\"a\",\"$0\")}(),h=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n=\"ab\".split(e);return 2!==n.length||\"a\"!==n[0]||\"b\"!==n[1]}));e.exports=function(e,t,n,f){var p=i(e),v=!o((function(){var t={};return t[p]=function(){return 7},7!=\"\"[e](t)})),g=v&&!o((function(){var t=!1,n=/a/;return\"split\"===e&&(n={},n.constructor={},n.constructor[u]=function(){return n},n.flags=\"\",n[p]=/./[p]),n.exec=function(){return t=!0,null},n[p](\"\"),!t}));if(!v||!g||\"replace\"===e&&(!s||!l||d)||\"split\"===e&&!h){var m=/./[p],y=n(p,\"\"[e],(function(e,t,n,r,o){return t.exec===a?v&&!o?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}),b=y[0],x=y[1];r(String.prototype,e,b),r(RegExp.prototype,p,2==t?function(e,t){return x.call(e,this,t)}:function(e){return x.call(e,this)})}f&&c(RegExp.prototype[p],\"sham\",!0)}},\"16Al\":function(e,t,n){\"use strict\";var r=n(\"WbBG\");function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=new Error(\"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types\");throw c.name=\"Invariant Violation\",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},\"17x9\":function(e,t,n){e.exports=n(\"16Al\")()},\"1E5z\":function(e,t,n){var r=n(\"m/L8\").f,o=n(\"UTVS\"),i=n(\"tiKp\"),a=i(\"toStringTag\");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},\"1OyB\":function(e,t,n){\"use strict\";function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}n.d(t,\"a\",(function(){return r}))},\"1WJl\":function(e,t,n){\"use strict\";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&\"object\"==typeof t&&\"object\"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(o=r;0!==o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(n).length)return!1;for(o=r;0!==o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!==o--;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!==t&&n!==n}},\"1Y/n\":function(e,t,n){var r=n(\"HAuM\"),o=n(\"ewvW\"),i=n(\"RK3t\"),a=n(\"UMSQ\"),c=function(e){return function(t,n,c,u){r(n);var s=o(t),l=i(s),f=a(s.length),d=e?f-1:0,h=e?-1:1;if(c<2)while(1){if(d in l){u=l[d],d+=h;break}if(d+=h,e?d<0:f<=d)throw TypeError(\"Reduce of empty array with no initial value\")}for(;e?d>=0:f>d;d+=h)d in l&&(u=n(u,l[d],d,s));return u}};e.exports={left:c(!1),right:c(!0)}},\"1hJj\":function(e,t,n){var r=n(\"e4Nc\"),o=n(\"ftKO\"),i=n(\"3A9y\");function a(e){var t=-1,n=null==e?0:e.length;this.__data__=new r;while(++t<n)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},\"1kQv\":function(e,t,n){var r=n(\"I+eb\"),o=n(\"qY7S\");r({target:\"Set\",stat:!0},{from:o})},\"1uat\":function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"MlIO\"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.Hasher,o=t.x64,i=o.Word,a=o.WordArray,c=t.algo;function u(){return i.create.apply(i,arguments)}var s=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],l=[];(function(){for(var e=0;e<80;e++)l[e]=u()})();var f=c.SHA512=r.extend({_doReset:function(){this._hash=new a.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],c=n[4],u=n[5],f=n[6],d=n[7],h=r.high,p=r.low,v=o.high,g=o.low,m=i.high,y=i.low,b=a.high,x=a.low,w=c.high,O=c.low,E=u.high,S=u.low,j=f.high,k=f.low,_=d.high,C=d.low,M=h,A=p,N=v,T=g,I=m,P=y,L=b,D=x,R=w,F=O,B=E,z=S,U=j,G=k,V=_,W=C,H=0;H<80;H++){var Y,X,q=l[H];if(H<16)X=q.high=0|e[t+2*H],Y=q.low=0|e[t+2*H+1];else{var K=l[H-15],Z=K.high,$=K.low,Q=(Z>>>1|$<<31)^(Z>>>8|$<<24)^Z>>>7,J=($>>>1|Z<<31)^($>>>8|Z<<24)^($>>>7|Z<<25),ee=l[H-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,oe=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),ie=l[H-7],ae=ie.high,ce=ie.low,ue=l[H-16],se=ue.high,le=ue.low;Y=J+ce,X=Q+ae+(Y>>>0<J>>>0?1:0),Y+=oe,X=X+re+(Y>>>0<oe>>>0?1:0),Y+=le,X=X+se+(Y>>>0<le>>>0?1:0),q.high=X,q.low=Y}var fe=R&B^~R&U,de=F&z^~F&G,he=M&N^M&I^N&I,pe=A&T^A&P^T&P,ve=(M>>>28|A<<4)^(M<<30|A>>>2)^(M<<25|A>>>7),ge=(A>>>28|M<<4)^(A<<30|M>>>2)^(A<<25|M>>>7),me=(R>>>14|F<<18)^(R>>>18|F<<14)^(R<<23|F>>>9),ye=(F>>>14|R<<18)^(F>>>18|R<<14)^(F<<23|R>>>9),be=s[H],xe=be.high,we=be.low,Oe=W+ye,Ee=V+me+(Oe>>>0<W>>>0?1:0),Se=(Oe=Oe+de,Ee=Ee+fe+(Oe>>>0<de>>>0?1:0),Oe=Oe+we,Ee=Ee+xe+(Oe>>>0<we>>>0?1:0),Oe=Oe+Y,Ee=Ee+X+(Oe>>>0<Y>>>0?1:0),ge+pe),je=ve+he+(Se>>>0<ge>>>0?1:0);V=U,W=G,U=B,G=z,B=R,z=F,F=D+Oe|0,R=L+Ee+(F>>>0<D>>>0?1:0)|0,L=I,D=P,I=N,P=T,N=M,T=A,A=Oe+Se|0,M=Ee+je+(A>>>0<Oe>>>0?1:0)|0}p=r.low=p+A,r.high=h+M+(p>>>0<A>>>0?1:0),g=o.low=g+T,o.high=v+N+(g>>>0<T>>>0?1:0),y=i.low=y+P,i.high=m+I+(y>>>0<P>>>0?1:0),x=a.low=x+D,a.high=b+L+(x>>>0<D>>>0?1:0),O=c.low=O+F,c.high=w+R+(O>>>0<F>>>0?1:0),S=u.low=S+z,u.high=E+B+(S>>>0<z>>>0?1:0),k=f.low=k+G,f.high=j+U+(k>>>0<G>>>0?1:0),C=d.low=C+W,d.high=_+V+(C>>>0<W>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process();var o=this._hash.toX32();return o},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=r._createHelper(f),t.HmacSHA512=r._createHmacHelper(f)}(),e.SHA512}))},2:function(e,t){},\"25BE\":function(e,t,n){\"use strict\";function r(e){if(\"undefined\"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e[\"@@iterator\"])return Array.from(e)}n.d(t,\"a\",(function(){return r}))},\"27RR\":function(e,t,n){var r=n(\"I+eb\"),o=n(\"g6v/\"),i=n(\"Vu81\"),a=n(\"/GqU\"),c=n(\"Bs8V\"),u=n(\"hBjN\");r({target:\"Object\",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){var t,n,r=a(e),o=c.f,s=i(r),l={},f=0;while(s.length>f)n=o(r,t=s[f++]),void 0!==n&&u(l,t,n);return l}})},\"2B1R\":function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"tycR\").map,i=n(\"Hd5f\"),a=n(\"rkAj\"),c=i(\"map\"),u=a(\"map\");r({target:\"Array\",proto:!0,forced:!c||!u},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},\"2HEe\":function(e,t,n){var r,o,i;(function(n,a){o=[t,e],r=a,i=\"function\"===typeof r?r.apply(t,o):r,void 0===i||(e.exports=i)})(0,(function(e,t){\"use strict\";var n={timeout:5e3,jsonpCallback:\"callback\",jsonpCallbackFunction:null};function r(){return\"jsonp_\"+Date.now()+\"_\"+Math.ceil(1e5*Math.random())}function o(e){try{delete window[e]}catch(t){window[e]=void 0}}function i(e){var t=document.getElementById(e);t&&document.getElementsByTagName(\"head\")[0].removeChild(t)}function a(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=e,c=t.timeout||n.timeout,u=t.jsonpCallback||n.jsonpCallback,s=void 0;return new Promise((function(n,l){var f=t.jsonpCallbackFunction||r(),d=u+\"_\"+f;window[f]=function(e){n({ok:!0,json:function(){return Promise.resolve(e)}}),s&&clearTimeout(s),i(d),o(f)},a+=-1===a.indexOf(\"?\")?\"?\":\"&\";var h=document.createElement(\"script\");h.setAttribute(\"src\",\"\"+a+u+\"=\"+f),t.charset&&h.setAttribute(\"charset\",t.charset),t.nonce&&h.setAttribute(\"nonce\",t.nonce),t.referrerPolicy&&h.setAttribute(\"referrerPolicy\",t.referrerPolicy),h.id=d,document.getElementsByTagName(\"head\")[0].appendChild(h),s=setTimeout((function(){l(new Error(\"JSONP request to \"+e+\" timed out\")),o(f),i(d),window[f]=function(){o(f)}}),c),h.onerror=function(){l(new Error(\"JSONP request to \"+e+\" failed\")),o(f),i(d),s&&clearTimeout(s)}}))}t.exports=a}))},\"2cX4\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.getOutDegree=t.getInDegree=t.default=void 0;var r=function(e){var t={},n=e.nodes,r=void 0===n?[]:n,o=e.edges,i=void 0===o?[]:o;return r.forEach((function(e){t[e.id]={degree:0,inDegree:0,outDegree:0}})),i.forEach((function(e){t[e.source].degree++,t[e.source].outDegree++,t[e.target].degree++,t[e.target].inDegree++})),t},o=r;t.default=o;var i=function(e,t){var n=r(e);return n[t]?r(e)[t].inDegree:0};t.getInDegree=i;var a=function(e,t){var n=r(e);return n[t]?r(e)[t].outDegree:0};t.getOutDegree=a},\"2gN3\":function(e,t,n){var r=n(\"Kz5y\"),o=r[\"__core-js_shared__\"];e.exports=o},\"2mql\":function(e,t,n){\"use strict\";var r=n(\"TOwV\"),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function s(e){return r.isMemo(e)?c:u[e[\"$$typeof\"]]||o}u[r.ForwardRef]=a,u[r.Memo]=c;var l=Object.defineProperty,f=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,v=Object.prototype;function g(e,t,n){if(\"string\"!==typeof t){if(v){var r=p(t);r&&r!==v&&g(e,r,n)}var o=f(t);d&&(o=o.concat(d(t)));for(var a=s(e),c=s(t),u=0;u<o.length;++u){var m=o[u];if(!i[m]&&(!n||!n[m])&&(!c||!c[m])&&(!a||!a[m])){var y=h(t,m);try{l(e,m,y)}catch(b){}}}}return e}e.exports=g},\"2oRo\":function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n(\"object\"==typeof globalThis&&globalThis)||n(\"object\"==typeof window&&window)||n(\"object\"==typeof self&&self)||n(\"object\"==typeof t&&t)||Function(\"return this\")()}).call(this,n(\"IyRk\"))},\"2tOg\":function(e,t,n){\"use strict\";var r=n(\"g6v/\"),o=n(\"RNIs\"),i=n(\"ewvW\"),a=n(\"UMSQ\"),c=n(\"m/L8\").f;r&&!(\"lastItem\"in[])&&(c(Array.prototype,\"lastItem\",{configurable:!0,get:function(){var e=i(this),t=a(e.length);return 0==t?void 0:e[t-1]},set:function(e){var t=i(this),n=a(t.length);return t[0==n?0:n-1]=e}}),o(\"lastItem\"))},\"33Wh\":function(e,t,n){var r=n(\"yoRg\"),o=n(\"eDl+\");e.exports=Object.keys||function(e){return r(e,o)}},\"33yf\":function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];\".\"===o?e.splice(r,1):\"..\"===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift(\"..\");return e}function r(e){\"string\"!==typeof e&&(e+=\"\");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?\"\":e.slice(n,r)}function o(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t=\"\",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var a=i>=0?arguments[i]:e.cwd();if(\"string\"!==typeof a)throw new TypeError(\"Arguments to path.resolve must be strings\");a&&(t=a+\"/\"+t,r=\"/\"===a.charAt(0))}return t=n(o(t.split(\"/\"),(function(e){return!!e})),!r).join(\"/\"),(r?\"/\":\"\")+t||\".\"},t.normalize=function(e){var r=t.isAbsolute(e),a=\"/\"===i(e,-1);return e=n(o(e.split(\"/\"),(function(e){return!!e})),!r).join(\"/\"),e||r||(e=\".\"),e&&a&&(e+=\"/\"),(r?\"/\":\"\")+e},t.isAbsolute=function(e){return\"/\"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(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<e.length;t++)if(\"\"!==e[t])break;for(var n=e.length-1;n>=0;n--)if(\"\"!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split(\"/\")),i=r(n.split(\"/\")),a=Math.min(o.length,i.length),c=a,u=0;u<a;u++)if(o[u]!==i[u]){c=u;break}var s=[];for(u=c;u<o.length;u++)s.push(\"..\");return s=s.concat(i.slice(c)),s.join(\"/\")},t.sep=\"/\",t.delimiter=\":\",t.dirname=function(e){if(\"string\"!==typeof e&&(e+=\"\"),0===e.length)return\".\";for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,i=e.length-1;i>=1;--i)if(t=e.charCodeAt(i),47===t){if(!o){r=i;break}}else o=!1;return-1===r?n?\"/\":\".\":n&&1===r?\"/\":e.slice(0,r)},t.basename=function(e,t){var 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,o=!0,i=0,a=e.length-1;a>=0;--a){var c=e.charCodeAt(a);if(47!==c)-1===r&&(o=!1,r=a+1),46===c?-1===t?t=a:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=a+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?\"\":e.slice(t,r)};var i=\"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(\"Q2Ig\"))},\"3A9y\":function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},\"3Fdi\":function(e,t){var n=Function.prototype,r=n.toString;function o(e){if(null!=e){try{return r.call(e)}catch(t){}try{return e+\"\"}catch(t){}}return\"\"}e.exports=o},\"3I1R\":function(e,t,n){var r=n(\"dG/n\");r(\"hasInstance\")},\"3M29\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.getFuncByUnknownType=t.getFunc=t.isFunction=void 0;var r=n(\"8nGZ\"),o=n(\"SwNF\"),i=function(e){return\"function\"===typeof e};t.isFunction=i;var a=function(e,t,n){var r;return r=n||((0,o.isNumber)(e)?function(){return e}:function(){return t}),r};t.getFunc=a;var c=function(e,n,i){return void 0===i&&(i=!0),n||0===n?(0,t.isFunction)(n)?n:(0,o.isNumber)(n)?function(){return n}:(0,r.isArray)(n)?function(){if(i){var t=Math.max.apply(Math,n);return isNaN(t)?e:t}return n}:(0,r.isObject)(n)?function(){if(i){var t=Math.max(n.width,n.height);return isNaN(t)?e:t}return[n.width,n.height]}:function(){return e}:function(t){return t.size?(0,r.isArray)(t.size)?t.size[0]>t.size[1]?t.size[0]:t.size[1]:(0,r.isObject)(t.size)?t.size.width>t.size.height?t.size.width:t.size.height:t.size:e}};t.getFuncByUnknownType=c},\"3Nzz\":function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(\"q1tI\"),o=r[\"createContext\"](void 0),i=function(e){var t=e.children,n=e.size;return r[\"createElement\"](o.Consumer,null,(function(e){return r[\"createElement\"](o.Provider,{value:n||e},t)}))};t[\"b\"]=o},\"3P6T\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.uniqueId=t.getOutEdgesNodeId=t.getNeighbors=t.getEdgesByNodeId=void 0;var r=function(e,t,n){void 0===t&&(t=[]);var r=t.filter((function(t){return t.source===e||t.target===e}));if(\"target\"===n){var o=function(t){return t.source===e};return r.filter(o).map((function(e){return e.target}))}if(\"source\"===n){var i=function(t){return t.target===e};return r.filter(i).map((function(e){return e.source}))}var a=function(t){return t.source===e?t.target:t.source};return r.map(a)};t.getNeighbors=r;var o=function(e,t){return t.filter((function(t){return t.source===e}))};t.getOutEdgesNodeId=o;var i=function(e,t){return t.filter((function(t){return t.source===e||t.target===e}))};t.getEdgesByNodeId=i;var a=function(e){void 0===e&&(e=0);var t=\"\".concat(Math.random()).split(\".\")[1].substr(0,5),n=\"\".concat(Math.random()).split(\".\")[1].substr(0,5);return\"\".concat(e,\"-\").concat(t).concat(n)};t.uniqueId=a},\"3bBZ\":function(e,t,n){var r=n(\"2oRo\"),o=n(\"/byt\"),i=n(\"4mDm\"),a=n(\"kRJp\"),c=n(\"tiKp\"),u=c(\"iterator\"),s=c(\"toStringTag\"),l=i.values;for(var f in o){var d=r[f],h=d&&d.prototype;if(h){if(h[u]!==l)try{a(h,u,l)}catch(v){h[u]=l}if(h[s]||a(h,s,f),o[f])for(var p in i)if(h[p]!==i[p])try{a(h,p,i[p])}catch(v){h[p]=i[p]}}}},\"3uUd\":function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"0GbY\"),a=n(\"glrk\"),c=n(\"HAuM\"),u=n(\"A2ZE\"),s=n(\"SEBh\"),l=n(\"WGBp\"),f=n(\"ImZN\");r({target:\"Set\",proto:!0,real:!0,forced:o},{filter:function(e){var t=a(this),n=l(t),r=u(e,arguments.length>1?arguments[1]:void 0,3),o=new(s(t,i(\"Set\"))),d=c(o.add);return f(n,(function(e){r(e,e,t)&&d.call(o,e)}),void 0,!1,!0),o}})},\"3y9D\":function(e,t,n){(function(t,r){e.exports=r(n(\"Ib8C\"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=n.Hasher,i=t.algo,a=[],c=i.SHA1=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],c=n[3],u=n[4],s=0;s<80;s++){if(s<16)a[s]=0|e[t+s];else{var l=a[s-3]^a[s-8]^a[s-14]^a[s-16];a[s]=l<<1|l>>>31}var f=(r<<5|r>>>27)+u+a[s];f+=s<20?1518500249+(o&i|~o&c):s<40?1859775393+(o^i^c):s<60?(o&i|o&c|i&c)-1894007588:(o^i^c)-899497514,u=c,c=i,i=o<<30|o>>>2,o=r,r=f}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+c|0,n[4]=n[4]+u|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=o._createHelper(c),t.HmacSHA1=o._createHmacHelper(c)}(),e.SHA1}))},\"49+q\":function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"fXLg\");r({target:\"Set\",proto:!0,real:!0,forced:o},{addAll:function(){return i.apply(this,arguments)}})},\"49sm\":function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return\"[object Array]\"==n.call(e)}},\"4Brf\":function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"g6v/\"),i=n(\"2oRo\"),a=n(\"UTVS\"),c=n(\"hh1v\"),u=n(\"m/L8\").f,s=n(\"6JNq\"),l=i.Symbol;if(o&&\"function\"==typeof l&&(!(\"description\"in l.prototype)||void 0!==l().description)){var f={},d=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof d?new l(e):void 0===e?l():l(e);return\"\"===e&&(f[t]=!0),t};s(d,l);var h=d.prototype=l.prototype;h.constructor=d;var p=h.toString,v=\"Symbol(test)\"==String(l(\"test\")),g=/^Symbol\\((.*)\\)[^)]+$/;u(h,\"description\",{configurable:!0,get:function(){var e=c(this)?this.valueOf():this,t=p.call(e);if(a(f,e))return\"\";var n=v?t.slice(7,-1):t.replace(g,\"$1\");return\"\"===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:d})}},\"4WOD\":function(e,t,n){var r=n(\"UTVS\"),o=n(\"ewvW\"),i=n(\"93I0\"),a=n(\"4Xet\"),c=i(\"IE_PROTO\"),u=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,c)?e[c]:\"function\"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},\"4XaG\":function(e,t,n){var r=n(\"dG/n\");r(\"observable\")},\"4Xet\":function(e,t,n){var r=n(\"0Dky\");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},\"4f/S\":function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var i=o(n(\"b8AE\")),a=n(\"HeBM\"),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(i.default),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(a.Graph),s=function(){return 1},l=function(e,t){var n;if(e.nodeCount()<=1)return[];var r=h(e,t||s),o=f(r.graph,r.buckets,r.zeroIdx);return null===(n=o.map((function(t){return e.outEdges(t.v,t.w)})))||void 0===n?void 0:n.flat()},f=function(e,t,n){var r,o=[],i=t[t.length-1],a=t[0];while(e.nodeCount()){while(r=a.dequeue())d(e,t,n,r);while(r=i.dequeue())d(e,t,n,r);if(e.nodeCount())for(var c=t.length-2;c>0;--c)if(r=t[c].dequeue(),r){o=o.concat(d(e,t,n,r,!0));break}}return o},d=function(e,t,n,r,o){var i,a,c=[];return null===(i=e.inEdges(r.v))||void 0===i||i.forEach((function(r){var i=e.edge(r),a=e.node(r.v);o&&c.push({v:r.v,w:r.w,in:0,out:0}),void 0===a.out&&(a.out=0),a.out-=i,p(t,n,a)})),null===(a=e.outEdges(r.v))||void 0===a||a.forEach((function(r){var o=e.edge(r),i=r.w,a=e.node(i);void 0===a.in&&(a.in=0),a.in-=o,p(t,n,a)})),e.removeNode(r.v),o?c:void 0},h=function(e,t){var n=new u,r=0,o=0;e.nodes().forEach((function(e){n.setNode(e,{v:e,in:0,out:0})})),e.edges().forEach((function(e){var i=n.edge(e)||0,a=(null===t||void 0===t?void 0:t(e))||1,c=i+a;n.setEdge(e.v,e.w,c),o=Math.max(o,n.node(e.v).out+=a),r=Math.max(r,n.node(e.w).in+=a)}));for(var i=[],a=o+r+3,s=0;s<a;s++)i.push(new c);var l=r+1;return n.nodes().forEach((function(e){p(i,l,n.node(e))})),{buckets:i,zeroIdx:l,graph:n}},p=function(e,t,n){n.out?n[\"in\"]?e[n.out-n[\"in\"]+t].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)};t.default=l},\"4i/N\":function(e,t,n){\"use strict\";var r=n(\"VTBJ\"),o=n(\"q1tI\"),i={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z\"}}]},name:\"close\",theme:\"outlined\"},a=i,c=n(\"6VBw\"),u=function(e,t){return o[\"createElement\"](c[\"a\"],Object(r[\"a\"])(Object(r[\"a\"])({},e),{},{ref:t,icon:a}))};u.displayName=\"CloseOutlined\";t[\"a\"]=o[\"forwardRef\"](u)},\"4kuk\":function(e,t,n){var r=n(\"SfRM\"),o=n(\"Hvzi\"),i=n(\"u8Dt\"),a=n(\"ekgI\"),c=n(\"JSQU\");function u(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype[\"delete\"]=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,e.exports=u},\"4l63\":function(e,t,n){var r=n(\"I+eb\"),o=n(\"wg0c\");r({global:!0,forced:parseInt!=o},{parseInt:o})},\"4mDm\":function(e,t,n){\"use strict\";var r=n(\"/GqU\"),o=n(\"RNIs\"),i=n(\"P4y1\"),a=n(\"afO8\"),c=n(\"fdAy\"),u=\"Array Iterator\",s=a.set,l=a.getterFor(u);e.exports=c(Array,\"Array\",(function(e,t){s(this,{type:u,target:r(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):\"keys\"==n?{value:r,done:!1}:\"values\"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),\"values\"),i.Arguments=i.Array,o(\"keys\"),o(\"values\"),o(\"entries\")},\"4oU/\":function(e,t,n){var r=n(\"2oRo\"),o=r.isFinite;e.exports=Number.isFinite||function(e){return\"number\"==typeof e&&o(e)}},\"4syw\":function(e,t,n){var r=n(\"busE\");e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},\"55Ip\":function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return m})),n.d(t,\"b\",(function(){return w}));var r=n(\"Ty5D\"),o=n(\"dI71\"),i=n(\"q1tI\"),a=n.n(i),c=n(\"YS25\"),u=n(\"wx14\"),s=n(\"zLVn\"),l=n(\"9R94\");a.a.Component;a.a.Component;var f=function(e,t){return\"function\"===typeof e?e(t):e},d=function(e,t){return\"string\"===typeof e?Object(c[\"c\"])(e,null,null,t):e},h=function(e){return e},p=a.a.forwardRef;function v(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}\"undefined\"===typeof p&&(p=h);var g=p((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=Object(s[\"a\"])(e,[\"innerRef\",\"navigate\",\"onClick\"]),c=i.target,l=Object(u[\"a\"])({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||c&&\"_self\"!==c||v(e)||(e.preventDefault(),r())}});return l.ref=h!==p&&t||n,a.a.createElement(\"a\",l)}));var m=p((function(e,t){var n=e.component,o=void 0===n?g:n,i=e.replace,c=e.to,v=e.innerRef,m=Object(s[\"a\"])(e,[\"component\",\"replace\",\"to\",\"innerRef\"]);return a.a.createElement(r[\"h\"].Consumer,null,(function(e){e||Object(l[\"a\"])(!1);var n=e.history,r=d(f(c,e.location),e.location),s=r?n.createHref(r):\"\",g=Object(u[\"a\"])({},m,{href:s,navigate:function(){var t=f(c,e.location),r=i?n.replace:n.push;r(t)}});return h!==p?g.ref=t||v:g.innerRef=v,a.a.createElement(o,g)}))})),y=function(e){return e},b=a.a.forwardRef;function x(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(\" \")}\"undefined\"===typeof b&&(b=y);var w=b((function(e,t){var n=e[\"aria-current\"],o=void 0===n?\"page\":n,i=e.activeClassName,c=void 0===i?\"active\":i,h=e.activeStyle,p=e.className,v=e.exact,g=e.isActive,w=e.location,O=e.sensitive,E=e.strict,S=e.style,j=e.to,k=e.innerRef,_=Object(s[\"a\"])(e,[\"aria-current\",\"activeClassName\",\"activeStyle\",\"className\",\"exact\",\"isActive\",\"location\",\"sensitive\",\"strict\",\"style\",\"to\",\"innerRef\"]);return a.a.createElement(r[\"h\"].Consumer,null,(function(e){e||Object(l[\"a\"])(!1);var n=w||e.location,i=d(f(j,n),n),s=i.pathname,C=s&&s.replace(/([.+*?=^!:${}()[\\]|/\\\\])/g,\"\\\\$1\"),M=C?Object(r[\"i\"])(n.pathname,{path:C,exact:v,sensitive:O,strict:E}):null,A=!!(g?g(M,n):M),N=A?x(p,c):p,T=A?Object(u[\"a\"])({},S,{},h):S,I=Object(u[\"a\"])({\"aria-current\":A&&o||null,className:N,style:T,to:i},_);return y!==b?I.ref=t||k:I.innerRef=k,a.a.createElement(m,I)}))}))},5921:function(e,t,n){var r=n(\"I+eb\"),o=n(\"P940\");r({target:\"Map\",stat:!0},{of:o})},\"5GeT\":function(e,t,n){\"use strict\";(function(e){var r=n(\"xTJ+\"),o=n(\"eRe6\"),i=n(\"S2t0\");function a(e){return r[\"a\"].isPlainObject(e)||r[\"a\"].isArray(e)}function c(e){return r[\"a\"].endsWith(e,\"[]\")?e.slice(0,-2):e}function u(e,t,n){return e?e.concat(t).map((function(e,t){return e=c(e),!n&&t?\"[\"+e+\"]\":e})).join(n?\".\":\"\"):t}function s(e){return r[\"a\"].isArray(e)&&!e.some(a)}const l=r[\"a\"].toFlatObject(r[\"a\"],{},null,(function(e){return/^is[A-Z]/.test(e)}));function f(e){return e&&r[\"a\"].isFunction(e.append)&&\"FormData\"===e[Symbol.toStringTag]&&e[Symbol.iterator]}function d(t,n,d){if(!r[\"a\"].isObject(t))throw new TypeError(\"target must be an object\");n=n||new(i[\"a\"]||FormData),d=r[\"a\"].toFlatObject(d,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!r[\"a\"].isUndefined(t[e])}));const h=d.metaTokens,p=d.visitor||x,v=d.dots,g=d.indexes,m=d.Blob||\"undefined\"!==typeof Blob&&Blob,y=m&&f(n);if(!r[\"a\"].isFunction(p))throw new TypeError(\"visitor must be a function\");function b(t){if(null===t)return\"\";if(r[\"a\"].isDate(t))return t.toISOString();if(!y&&r[\"a\"].isBlob(t))throw new o[\"a\"](\"Blob is not supported. Use a Buffer instead.\");return r[\"a\"].isArrayBuffer(t)||r[\"a\"].isTypedArray(t)?y&&\"function\"===typeof Blob?new Blob([t]):e.from(t):t}function x(e,t,o){let i=e;if(e&&!o&&\"object\"===typeof e)if(r[\"a\"].endsWith(t,\"{}\"))t=h?t:t.slice(0,-2),e=JSON.stringify(e);else if(r[\"a\"].isArray(e)&&s(e)||r[\"a\"].isFileList(e)||r[\"a\"].endsWith(t,\"[]\")&&(i=r[\"a\"].toArray(e)))return t=c(t),i.forEach((function(e,o){!r[\"a\"].isUndefined(e)&&null!==e&&n.append(!0===g?u([t],o,v):null===g?t:t+\"[]\",b(e))})),!1;return!!a(e)||(n.append(u(o,t,v),b(e)),!1)}const w=[],O=Object.assign(l,{defaultVisitor:x,convertValue:b,isVisitable:a});function E(e,t){if(!r[\"a\"].isUndefined(e)){if(-1!==w.indexOf(e))throw Error(\"Circular reference detected in \"+t.join(\".\"));w.push(e),r[\"a\"].forEach(e,(function(e,o){const i=!(r[\"a\"].isUndefined(e)||null===e)&&p.call(n,e,r[\"a\"].isString(o)?o.trim():o,t,O);!0===i&&E(e,t?t.concat(o):[o])})),w.pop()}}if(!r[\"a\"].isObject(t))throw new TypeError(\"data must be an object\");return E(t),n}t[\"a\"]=d}).call(this,n(\"tjlA\").Buffer)},\"5JV0\":function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"glrk\"),a=n(\"WGBp\"),c=n(\"ImZN\");r({target:\"Set\",proto:!0,real:!0,forced:o},{join:function(e){var t=i(this),n=a(t),r=void 0===e?\",\":String(e),o=[];return c(n,o.push,o,!1,!0),o.join(r)}})},\"5Tg+\":function(e,t,n){var r=n(\"tiKp\");t.f=r},\"5YgA\":function(e,t,n){},\"5Yz+\":function(e,t,n){\"use strict\";var r=n(\"/GqU\"),o=n(\"ppGB\"),i=n(\"UMSQ\"),a=n(\"pkCn\"),c=n(\"rkAj\"),u=Math.min,s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0,f=a(\"lastIndexOf\"),d=c(\"indexOf\",{ACCESSORS:!0,1:0}),h=l||!f||!d;e.exports=h?function(e){if(l)return s.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=u(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:s},\"5hvy\":function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"MlIO\"))})(0,(function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,a=n.x64,c=a.Word,u=n.algo,s=[],l=[],f=[];(function(){for(var e=1,t=0,n=0;n<24;n++){s[e+5*t]=(n+1)*(n+2)/2%64;var r=t%5,o=(2*e+3*t)%5;e=r,t=o}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,a=0;a<24;a++){for(var u=0,d=0,h=0;h<7;h++){if(1&i){var p=(1<<h)-1;p<32?d^=1<<p:u^=1<<p-32}128&i?i=i<<1^113:i<<=1}f[a]=c.create(u,d)}})();var d=[];(function(){for(var e=0;e<25;e++)d[e]=c.create()})();var h=u.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new c.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,r=this.blockSize/2,o=0;o<r;o++){var i=e[t+2*o],a=e[t+2*o+1];i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8);var c=n[o];c.high^=a,c.low^=i}for(var u=0;u<24;u++){for(var h=0;h<5;h++){for(var p=0,v=0,g=0;g<5;g++){c=n[h+5*g];p^=c.high,v^=c.low}var m=d[h];m.high=p,m.low=v}for(h=0;h<5;h++){var y=d[(h+4)%5],b=d[(h+1)%5],x=b.high,w=b.low;for(p=y.high^(x<<1|w>>>31),v=y.low^(w<<1|x>>>31),g=0;g<5;g++){c=n[h+5*g];c.high^=p,c.low^=v}}for(var O=1;O<25;O++){c=n[O];var E=c.high,S=c.low,j=s[O];j<32?(p=E<<j|S>>>32-j,v=S<<j|E>>>32-j):(p=S<<j-32|E>>>64-j,v=E<<j-32|S>>>64-j);var k=d[l[O]];k.high=p,k.low=v}var _=d[0],C=n[0];_.high=C.high,_.low=C.low;for(h=0;h<5;h++)for(g=0;g<5;g++){O=h+5*g,c=n[O];var M=d[O],A=d[(h+1)%5+5*g],N=d[(h+2)%5+5*g];c.high=M.high^~A.high&N.high,c.low=M.low^~A.low&N.low}c=n[0];var T=f[u];c.high^=T.high,c.low^=T.low}},_doFinalize:function(){var e=this._data,n=e.words,r=(this._nDataBytes,8*e.sigBytes),i=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(t.ceil((r+1)/i)*i>>>5)-1]|=128,e.sigBytes=4*n.length,this._process();for(var a=this._state,c=this.cfg.outputLength/8,u=c/8,s=[],l=0;l<u;l++){var f=a[l],d=f.high,h=f.low;d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),s.push(h),s.push(d)}return new o.init(s,c)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});n.SHA3=i._createHelper(h),n.HmacSHA3=i._createHmacHelper(h)}(Math),e.SHA3}))},\"5mdu\":function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},\"5r1n\":function(e,t,n){var r=n(\"I+eb\"),o=n(\"eDxR\"),i=n(\"glrk\"),a=o.get,c=o.toKey;r({target:\"Reflect\",stat:!0},{getOwnMetadata:function(e,t){var n=arguments.length<3?void 0:c(arguments[2]);return a(e,i(t),n)}})},\"5s+n\":function(e,t,n){\"use strict\";var r,o,i,a,c=n(\"I+eb\"),u=n(\"xDBR\"),s=n(\"2oRo\"),l=n(\"0GbY\"),f=n(\"/qmn\"),d=n(\"busE\"),h=n(\"4syw\"),p=n(\"1E5z\"),v=n(\"JiZb\"),g=n(\"hh1v\"),m=n(\"HAuM\"),y=n(\"GarU\"),b=n(\"xrYK\"),x=n(\"iSVu\"),w=n(\"ImZN\"),O=n(\"HH4o\"),E=n(\"SEBh\"),S=n(\"LPSS\").set,j=n(\"tXUg\"),k=n(\"zfnd\"),_=n(\"RN6c\"),C=n(\"8GlL\"),M=n(\"5mdu\"),A=n(\"afO8\"),N=n(\"lMq5\"),T=n(\"tiKp\"),I=n(\"LQDL\"),P=T(\"species\"),L=\"Promise\",D=A.get,R=A.set,F=A.getterFor(L),B=f,z=s.TypeError,U=s.document,G=s.process,V=l(\"fetch\"),W=C.f,H=W,Y=\"process\"==b(G),X=!!(U&&U.createEvent&&s.dispatchEvent),q=\"unhandledrejection\",K=\"rejectionhandled\",Z=0,$=1,Q=2,J=1,ee=2,te=N(L,(function(){var e=x(B)!==String(B);if(!e){if(66===I)return!0;if(!Y&&\"function\"!=typeof PromiseRejectionEvent)return!0}if(u&&!B.prototype[\"finally\"])return!0;if(I>=51&&/native code/.test(B))return!1;var t=B.resolve(1),n=function(e){e((function(){}),(function(){}))},r=t.constructor={};return r[P]=n,!(t.then((function(){}))instanceof n)})),ne=te||!O((function(e){B.all(e)[\"catch\"]((function(){}))})),re=function(e){var t;return!(!g(e)||\"function\"!=typeof(t=e.then))&&t},oe=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;j((function(){var o=t.value,i=t.state==$,a=0;while(r.length>a){var c,u,s,l=r[a++],f=i?l.ok:l.fail,d=l.resolve,h=l.reject,p=l.domain;try{f?(i||(t.rejection===ee&&ue(e,t),t.rejection=J),!0===f?c=o:(p&&p.enter(),c=f(o),p&&(p.exit(),s=!0)),c===l.promise?h(z(\"Promise-chain cycle\")):(u=re(c))?u.call(c,d,h):d(c)):h(o)}catch(v){p&&!s&&p.exit(),h(v)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&ae(e,t)}))}},ie=function(e,t,n){var r,o;X?(r=U.createEvent(\"Event\"),r.promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},(o=s[\"on\"+e])?o(r):e===q&&_(\"Unhandled promise rejection\",n)},ae=function(e,t){S.call(s,(function(){var n,r=t.value,o=ce(t);if(o&&(n=M((function(){Y?G.emit(\"unhandledRejection\",r,e):ie(q,e,r)})),t.rejection=Y||ce(t)?ee:J,n.error))throw n.value}))},ce=function(e){return e.rejection!==J&&!e.parent},ue=function(e,t){S.call(s,(function(){Y?G.emit(\"rejectionHandled\",e):ie(K,e,t.value)}))},se=function(e,t,n,r){return function(o){e(t,n,o,r)}},le=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=Q,oe(e,t,!0))},fe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw z(\"Promise can't be resolved itself\");var o=re(n);o?j((function(){var r={done:!1};try{o.call(n,se(fe,e,r,t),se(le,e,r,t))}catch(i){le(e,r,i,t)}})):(t.value=n,t.state=$,oe(e,t,!1))}catch(i){le(e,{done:!1},i,t)}}};te&&(B=function(e){y(this,B,L),m(e),r.call(this);var t=D(this);try{e(se(fe,this,t),se(le,this,t))}catch(n){le(this,t,n)}},r=function(e){R(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:Z,value:void 0})},r.prototype=h(B.prototype,{then:function(e,t){var n=F(this),r=W(E(this,B));return r.ok=\"function\"!=typeof e||e,r.fail=\"function\"==typeof t&&t,r.domain=Y?G.domain:void 0,n.parent=!0,n.reactions.push(r),n.state!=Z&&oe(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=D(e);this.promise=e,this.resolve=se(fe,e,t),this.reject=se(le,e,t)},C.f=W=function(e){return e===B||e===i?new o(e):H(e)},u||\"function\"!=typeof f||(a=f.prototype.then,d(f.prototype,\"then\",(function(e,t){var n=this;return new B((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),\"function\"==typeof V&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return k(B,V.apply(s,arguments))}}))),c({global:!0,wrap:!0,forced:te},{Promise:B}),p(B,L,!1,!0),v(L),i=l(L),c({target:L,stat:!0,forced:te},{reject:function(e){var t=W(this);return t.reject.call(void 0,e),t.promise}}),c({target:L,stat:!0,forced:u||te},{resolve:function(e){return k(u&&this===i?B:this,e)}}),c({target:L,stat:!0,forced:ne},{all:function(e){var t=this,n=W(t),r=n.resolve,o=n.reject,i=M((function(){var n=m(t.resolve),i=[],a=0,c=1;w(e,(function(e){var u=a++,s=!1;i.push(void 0),c++,n.call(t,e).then((function(e){s||(s=!0,i[u]=e,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=W(t),r=n.reject,o=M((function(){var o=m(t.resolve);w(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},\"5wUe\":function(e,t,n){var r=n(\"Q9SF\"),o=n(\"MIOZ\"),i=n(\"mGKP\"),a=n(\"h0XC\");function c(e,t){return r(e)||o(e,t)||i(e,t)||a()}e.exports=c,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},\"5xtp\":function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"g6v/\"),i=n(\"6x0u\"),a=n(\"ewvW\"),c=n(\"HAuM\"),u=n(\"m/L8\");o&&r({target:\"Object\",proto:!0,forced:i},{__defineSetter__:function(e,t){u.f(a(this),e,{set:c(t),enumerable:!0,configurable:!0})}})},\"66V8\":function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"g6v/\"),i=n(\"4WOD\"),a=n(\"0rvr\"),c=n(\"fHMY\"),u=n(\"m/L8\"),s=n(\"XGwC\"),l=n(\"ImZN\"),f=n(\"kRJp\"),d=n(\"afO8\"),h=d.set,p=d.getterFor(\"AggregateError\"),v=function(e,t){var n=this;if(!(n instanceof v))return new v(e,t);a&&(n=a(new Error(t),i(n)));var r=[];return l(e,r.push,r),o?h(n,{errors:r,type:\"AggregateError\"}):n.errors=r,void 0!==t&&f(n,\"message\",String(t)),n};v.prototype=c(Error.prototype,{constructor:s(5,v),message:s(5,\"\"),name:s(5,\"AggregateError\")}),o&&u.f(v.prototype,\"errors\",{get:function(){return p(this).errors},configurable:!0}),r({global:!0},{AggregateError:v})},\"67WC\":function(e,t,n){\"use strict\";var r,o=n(\"qYE9\"),i=n(\"g6v/\"),a=n(\"2oRo\"),c=n(\"hh1v\"),u=n(\"UTVS\"),s=n(\"9d/t\"),l=n(\"kRJp\"),f=n(\"busE\"),d=n(\"m/L8\").f,h=n(\"4WOD\"),p=n(\"0rvr\"),v=n(\"tiKp\"),g=n(\"kOOl\"),m=a.Int8Array,y=m&&m.prototype,b=a.Uint8ClampedArray,x=b&&b.prototype,w=m&&h(m),O=y&&h(y),E=Object.prototype,S=E.isPrototypeOf,j=v(\"toStringTag\"),k=g(\"TYPED_ARRAY_TAG\"),_=o&&!!p&&\"Opera\"!==s(a.opera),C=!1,M={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},A=function(e){var t=s(e);return\"DataView\"===t||u(M,t)},N=function(e){return c(e)&&u(M,s(e))},T=function(e){if(N(e))return e;throw TypeError(\"Target is not a typed array\")},I=function(e){if(p){if(S.call(w,e))return e}else for(var t in M)if(u(M,r)){var n=a[t];if(n&&(e===n||S.call(n,e)))return e}throw TypeError(\"Target is not a typed array constructor\")},P=function(e,t,n){if(i){if(n)for(var r in M){var o=a[r];o&&u(o.prototype,e)&&delete o.prototype[e]}O[e]&&!n||f(O,e,n?t:_&&y[e]||t)}},L=function(e,t,n){var r,o;if(i){if(p){if(n)for(r in M)o=a[r],o&&u(o,e)&&delete o[e];if(w[e]&&!n)return;try{return f(w,e,n?t:_&&m[e]||t)}catch(c){}}for(r in M)o=a[r],!o||o[e]&&!n||f(o,e,t)}};for(r in M)a[r]||(_=!1);if((!_||\"function\"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError(\"Incorrect invocation\")},_))for(r in M)a[r]&&p(a[r],w);if((!_||!O||O===E)&&(O=w.prototype,_))for(r in M)a[r]&&p(a[r].prototype,O);if(_&&h(x)!==O&&p(x,O),i&&!u(O,j))for(r in C=!0,d(O,j,{get:function(){return c(this)?this[k]:void 0}}),M)a[r]&&l(a[r],k,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:_,TYPED_ARRAY_TAG:C&&k,aTypedArray:T,aTypedArrayConstructor:I,exportTypedArrayMethod:P,exportTypedArrayStaticMethod:L,isView:A,isTypedArray:N,TypedArray:w,TypedArrayPrototype:O}},\"6JNq\":function(e,t,n){var r=n(\"UTVS\"),o=n(\"Vu81\"),i=n(\"Bs8V\"),a=n(\"m/L8\");e.exports=function(e,t){for(var n=o(t),c=a.f,u=i.f,s=0;s<n.length;s++){var l=n[s];r(e,l)||c(e,l,u(t,l))}}},\"6LWA\":function(e,t,n){var r=n(\"xrYK\");e.exports=Array.isArray||function(e){return\"Array\"==r(e)}},\"6MrE\":function(e,t,n){},\"6O4b\":function(e,t,n){\"use strict\";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,\"__esModule\",{value:!0});var o=n(\"eQiA\"),i=n(\"HXx+\"),a=function(e){var t=(0,o.buildLayerMatrix)(e),n=e.graph().ranksep,i=0;null===t||void 0===t||t.forEach((function(t){var o=t.map((function(t){return e.node(t).height})),a=Math.max.apply(Math,r(r([],o,!1),[0],!1));null===t||void 0===t||t.forEach((function(t){e.node(t).y=i+a/2})),i+=a+n}))},c=function(e){var t=(0,o.buildLayerMatrix)(e),n=Object.assign((0,i.findType1Conflicts)(e,t),(0,i.findType2Conflicts)(e,t)),r={},a=[];[\"u\",\"d\"].forEach((function(o){a=\"u\"===o?t:Object.values(t).reverse(),[\"l\",\"r\"].forEach((function(t){\"r\"===t&&(a=a.map((function(e){return Object.values(e).reverse()})));var c=(\"u\"===o?e.predecessors:e.successors).bind(e),u=(0,i.verticalAlignment)(e,a,n,c),s=(0,i.horizontalCompaction)(e,a,u.root,u.align,\"r\"===t);\"r\"===t&&Object.keys(s).forEach((function(e){return s[e]=-s[e]})),r[o+t]=s}))}));var c=(0,i.findSmallestWidthAlignment)(e,r);return c&&(0,i.alignCoordinates)(r,c),(0,i.balance)(r,e.graph().align)},u=function(e){var t,n=(0,o.asNonCompoundGraph)(e);a(n);var r=c(n);null===(t=Object.keys(r))||void 0===t||t.forEach((function(e){n.node(e).x=r[e]}))};t.default=u},\"6V7H\":function(e,t,n){var r=n(\"dG/n\");r(\"patternMatch\")},\"6VBw\":function(e,t,n){\"use strict\";var r=n(\"VTBJ\"),o=n(\"ODXe\"),i=n(\"rePB\"),a=n(\"Ff2n\"),c=n(\"q1tI\"),u=n.n(c),s=n(\"TSYQ\"),l=n.n(s),f=n(\"Pw59\"),d=n(\"U8pU\"),h=n(\"AJpP\"),p=n(\"Kwbf\"),v=n(\"BU3w\");function g(e,t){Object(p[\"a\"])(e,\"[@ant-design/icons] \".concat(t))}function m(e){return\"object\"===Object(d[\"a\"])(e)&&\"string\"===typeof e.name&&\"string\"===typeof e.theme&&(\"object\"===Object(d[\"a\"])(e.icon)||\"function\"===typeof e.icon)}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];switch(n){case\"class\":t.className=r,delete t.class;break;default:t[n]=r}return t}),{})}function b(e,t,n){return n?u.a.createElement(e.tag,Object(r[\"a\"])(Object(r[\"a\"])({key:t},y(e.attrs)),n),(e.children||[]).map((function(n,r){return b(n,\"\".concat(t,\"-\").concat(e.tag,\"-\").concat(r))}))):u.a.createElement(e.tag,Object(r[\"a\"])({key:t},y(e.attrs)),(e.children||[]).map((function(n,r){return b(n,\"\".concat(t,\"-\").concat(e.tag,\"-\").concat(r))})))}function x(e){return Object(h[\"a\"])(e)[0]}function w(e){return e?Array.isArray(e)?e:[e]:[]}var O=\"\\n.anticon {\\n  display: inline-block;\\n  color: inherit;\\n  font-style: normal;\\n  line-height: 0;\\n  text-align: center;\\n  text-transform: none;\\n  vertical-align: -0.125em;\\n  text-rendering: optimizeLegibility;\\n  -webkit-font-smoothing: antialiased;\\n  -moz-osx-font-smoothing: grayscale;\\n}\\n\\n.anticon > * {\\n  line-height: 1;\\n}\\n\\n.anticon svg {\\n  display: inline-block;\\n}\\n\\n.anticon::before {\\n  display: none;\\n}\\n\\n.anticon .anticon-icon {\\n  display: block;\\n}\\n\\n.anticon[tabindex] {\\n  cursor: pointer;\\n}\\n\\n.anticon-spin::before,\\n.anticon-spin {\\n  display: inline-block;\\n  -webkit-animation: loadingCircle 1s infinite linear;\\n  animation: loadingCircle 1s infinite linear;\\n}\\n\\n@-webkit-keyframes loadingCircle {\\n  100% {\\n    -webkit-transform: rotate(360deg);\\n    transform: rotate(360deg);\\n  }\\n}\\n\\n@keyframes loadingCircle {\\n  100% {\\n    -webkit-transform: rotate(360deg);\\n    transform: rotate(360deg);\\n  }\\n}\\n\",E=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O,t=Object(c[\"useContext\"])(f[\"a\"]),n=t.csp;Object(c[\"useEffect\"])((function(){Object(v[\"b\"])(e,\"@ant-design-icons\",{prepend:!0,csp:n})}),[])},S=[\"icon\",\"className\",\"onClick\",\"style\",\"primaryColor\",\"secondaryColor\"],j={primaryColor:\"#333\",secondaryColor:\"#E6E6E6\",calculated:!1};function k(e){var t=e.primaryColor,n=e.secondaryColor;j.primaryColor=t,j.secondaryColor=n||x(t),j.calculated=!!n}function _(){return Object(r[\"a\"])({},j)}var C=function(e){var t=e.icon,n=e.className,o=e.onClick,i=e.style,c=e.primaryColor,u=e.secondaryColor,s=Object(a[\"a\"])(e,S),l=j;if(c&&(l={primaryColor:c,secondaryColor:u||x(c)}),E(),g(m(t),\"icon should be icon definiton, but got \".concat(t)),!m(t))return null;var f=t;return f&&\"function\"===typeof f.icon&&(f=Object(r[\"a\"])(Object(r[\"a\"])({},f),{},{icon:f.icon(l.primaryColor,l.secondaryColor)})),b(f.icon,\"svg-\".concat(f.name),Object(r[\"a\"])({className:n,onClick:o,style:i,\"data-icon\":f.name,width:\"1em\",height:\"1em\",fill:\"currentColor\",\"aria-hidden\":\"true\"},s))};C.displayName=\"IconReact\",C.getTwoToneColors=_,C.setTwoToneColors=k;var M=C;function A(e){var t=w(e),n=Object(o[\"a\"])(t,2),r=n[0],i=n[1];return M.setTwoToneColors({primaryColor:r,secondaryColor:i})}function N(){var e=M.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var T=[\"className\",\"icon\",\"spin\",\"rotate\",\"tabIndex\",\"onClick\",\"twoToneColor\"];A(\"#1890ff\");var I=c[\"forwardRef\"]((function(e,t){var n,u=e.className,s=e.icon,d=e.spin,h=e.rotate,p=e.tabIndex,v=e.onClick,g=e.twoToneColor,m=Object(a[\"a\"])(e,T),y=c[\"useContext\"](f[\"a\"]),b=y.prefixCls,x=void 0===b?\"anticon\":b,O=y.rootClassName,E=l()(O,x,(n={},Object(i[\"a\"])(n,\"\".concat(x,\"-\").concat(s.name),!!s.name),Object(i[\"a\"])(n,\"\".concat(x,\"-spin\"),!!d||\"loading\"===s.name),n),u),S=p;void 0===S&&v&&(S=-1);var j=h?{msTransform:\"rotate(\".concat(h,\"deg)\"),transform:\"rotate(\".concat(h,\"deg)\")}:void 0,k=w(g),_=Object(o[\"a\"])(k,2),C=_[0],A=_[1];return c[\"createElement\"](\"span\",Object(r[\"a\"])(Object(r[\"a\"])({role:\"img\",\"aria-label\":s.name},m),{},{ref:t,tabIndex:S,onClick:v,className:E}),c[\"createElement\"](M,{icon:s,primaryColor:C,secondaryColor:A,style:j}))}));I.displayName=\"AntdIcon\",I.getTwoToneColor=N,I.setTwoToneColor=A;t[\"a\"]=I},\"6VoE\":function(e,t,n){var r=n(\"tiKp\"),o=n(\"P4y1\"),i=r(\"iterator\"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},\"6Y31\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.pageRankAsync=t.minimumSpanningTreeAsync=t.louvainAsync=t.labelPropagationAsync=t.getOutDegreeAsync=t.getNeighborsAsync=t.getInDegreeAsync=t.getDegreeAsync=t.getAdjMatrixAsync=t.floydWarshallAsync=t.findShortestPathAsync=t.findAllPathAsync=t.dijkstraAsync=t.detectCycleAsync=t.detectAllUndirectedCycleAsync=t.detectAllDirectedCycleAsync=t.detectAllCyclesAsync=t.connectedComponentAsync=t.GADDIAsync=void 0;var r=i(n(\"wNIw\")),o=n(\"kCNo\");function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t){return(0,r.default)(o.ALGORITHM.getAdjMatrix).apply(void 0,[e,t])};t.getAdjMatrixAsync=a;var c=function(e,t){return(0,r.default)(o.ALGORITHM.connectedComponent).apply(void 0,[e,t])};t.connectedComponentAsync=c;var u=function(e){return(0,r.default)(o.ALGORITHM.getDegree)(e)};t.getDegreeAsync=u;var s=function(e,t){return(0,r.default)(o.ALGORITHM.getInDegree)(e,t)};t.getInDegreeAsync=s;var l=function(e,t){return(0,r.default)(o.ALGORITHM.getOutDegree)(e,t)};t.getOutDegreeAsync=l;var f=function(e){return(0,r.default)(o.ALGORITHM.detectCycle)(e)};t.detectCycleAsync=f;var d=function(e){return(0,r.default)(o.ALGORITHM.detectAllCycles)(e)};t.detectAllCyclesAsync=d;var h=function(e){return(0,r.default)(o.ALGORITHM.detectAllDirectedCycle)(e)};t.detectAllDirectedCycleAsync=h;var p=function(e){return(0,r.default)(o.ALGORITHM.detectAllUndirectedCycle)(e)};t.detectAllUndirectedCycleAsync=p;var v=function(e,t,n,i){return(0,r.default)(o.ALGORITHM.dijkstra).apply(void 0,[e,t,n,i])};t.dijkstraAsync=v;var g=function(e,t,n,i){return(0,r.default)(o.ALGORITHM.findAllPath).apply(void 0,[e,t,n,i])};t.findAllPathAsync=g;var m=function(e,t,n,i,a){return(0,r.default)(o.ALGORITHM.findShortestPath).apply(void 0,[e,t,n,i,a])};t.findShortestPathAsync=m;var y=function(e,t){return(0,r.default)(o.ALGORITHM.floydWarshall).apply(void 0,[e,t])};t.floydWarshallAsync=y;var b=function(e,t,n,i){return void 0===i&&(i=1e3),(0,r.default)(o.ALGORITHM.labelPropagation)(e,t,n,i)};t.labelPropagationAsync=b;var x=function(e,t,n,i){return(0,r.default)(o.ALGORITHM.louvain)(e,t,n,i)};t.louvainAsync=x;var w=function(e,t,n){return(0,r.default)(o.ALGORITHM.minimumSpanningTree).apply(void 0,[e,t,n])};t.minimumSpanningTreeAsync=w;var O=function(e,t,n){return(0,r.default)(o.ALGORITHM.pageRank).apply(void 0,[e,t,n])};t.pageRankAsync=O;var E=function(e,t,n){return(0,r.default)(o.ALGORITHM.getNeighbors).apply(void 0,[e,t,n])};t.getNeighborsAsync=E;var S=function(e,t,n,i,a,c,u){return void 0===n&&(n=!1),void 0===c&&(c=\"cluster\"),void 0===u&&(u=\"cluster\"),(0,r.default)(o.ALGORITHM.GADDI).apply(void 0,[e,t,n,i,a,c,u])};t.GADDIAsync=S},\"6sVZ\":function(e,t){var n=Object.prototype;function r(e){var t=e&&e.constructor,r=\"function\"==typeof t&&t.prototype||n;return e===r}e.exports=r},\"6x0u\":function(e,t,n){\"use strict\";var r=n(\"xDBR\"),o=n(\"2oRo\"),i=n(\"0Dky\");e.exports=r||!i((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete o[e]}))},\"7+IK\":function(e,t,n){\"use strict\";var r=n(\"TqRt\")[\"default\"];Object.defineProperty(t,\"__esModule\",{value:!0}),t[\"default\"]=void 0;var o=r(n(\"Z0Lh\")),i=o[\"default\"];t[\"default\"]=i},\"7+kd\":function(e,t,n){var r=n(\"dG/n\");r(\"isConcatSpreadable\")},\"7+zs\":function(e,t,n){var r=n(\"kRJp\"),o=n(\"UesL\"),i=n(\"tiKp\"),a=i(\"toPrimitive\"),c=Date.prototype;a in c||r(c,a,o)},\"702D\":function(e,t,n){var r=n(\"I+eb\"),o=n(\"qY7S\");r({target:\"WeakMap\",stat:!0},{from:o})},\"73dj\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(e,t,n){var r,o={};null===n||void 0===n||n.forEach((function(n){var i,a,c=e.parent(n);while(c){if(i=e.parent(c),i?(a=o[i],o[i]=c):(a=r,r=c),a&&a!==c)return void t.setEdge(a,c);c=i}}))};t.default=r},\"75y8\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.feasibleTreeWithLayer=t.feasibleTree=void 0;var r=n(\"Qy2L\"),o=n(\"eQiA\"),i=n(\"OXnU\"),a=function(e){var t,n,o=new i.Graph({directed:!1}),a=e.nodes()[0],u=e.nodeCount();o.setNode(a,{});while(c(o,e)<u)t=l(o,e),n=o.hasNode(t.v)?(0,r.slack)(e,t):-(0,r.slack)(e,t),f(o,e,n);return o};t.feasibleTree=a;var c=function(e,t){var n=function(o){t.nodeEdges(o).forEach((function(i){var a=i.v,c=o===a?i.w:a;e.hasNode(c)||(0,r.slack)(t,i)||(e.setNode(c,{}),e.setEdge(o,c,{}),n(c))}))};return e.nodes().forEach(n),e.nodeCount()},u=function(e){var t,n,o=new i.Graph({directed:!1}),a=e.nodes()[0],c=e.nodeCount();o.setNode(a,{});while(s(o,e)<c)t=l(o,e),n=o.hasNode(t.v)?(0,r.slack)(e,t):-(0,r.slack)(e,t),f(o,e,n);return o};t.feasibleTreeWithLayer=u;var s=function(e,t){var n=function(o){var i;null===(i=t.nodeEdges(o))||void 0===i||i.forEach((function(i){var a=i.v,c=o===a?i.w:a;e.hasNode(c)||void 0===t.node(c).layer&&(0,r.slack)(t,i)||(e.setNode(c,{}),e.setEdge(o,c,{}),n(c))}))};return e.nodes().forEach(n),e.nodeCount()},l=function(e,t){return(0,o.minBy)(t.edges(),(function(n){return e.hasNode(n.v)!==e.hasNode(n.w)?(0,r.slack)(t,n):1/0}))},f=function(e,t,n){e.nodes().forEach((function(e){t.node(e).rank||(t.node(e).rank=0),t.node(e).rank+=n}))};t.default={feasibleTree:a,feasibleTreeWithLayer:u}},\"77Zs\":function(e,t,n){var r=n(\"Xi7e\");function o(){this.__data__=new r,this.size=0}e.exports=o},\"7GkX\":function(e,t,n){var r=n(\"b80T\"),o=n(\"A90E\"),i=n(\"MMmD\");function a(e){return i(e)?r(e):o(e)}e.exports=a},\"7JcK\":function(e,t,n){\"use strict\";var r=n(\"67WC\"),o=n(\"iqeF\"),i=r.aTypedArrayConstructor,a=r.exportTypedArrayStaticMethod;a(\"of\",(function(){var e=0,t=arguments.length,n=new(i(this))(t);while(t>e)n[e]=arguments[e++];return n}),o)},\"7Pqi\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r={items_per_page:\"\\u6761/\\u9875\",jump_to:\"\\u8df3\\u81f3\",jump_to_confirm:\"\\u786e\\u5b9a\",page:\"\\u9875\",prev_page:\"\\u4e0a\\u4e00\\u9875\",next_page:\"\\u4e0b\\u4e00\\u9875\",prev_5:\"\\u5411\\u524d 5 \\u9875\",next_5:\"\\u5411\\u540e 5 \\u9875\",prev_3:\"\\u5411\\u524d 3 \\u9875\",next_3:\"\\u5411\\u540e 3 \\u9875\",page_size:\"\\u9875\\u7801\"};t.default=r},\"7PuE\":function(e,t,n){},\"7fqy\":function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}e.exports=n},\"7ueG\":function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"WKiH\").start,i=n(\"yNLB\"),a=i(\"trimStart\"),c=a?function(){return o(this)}:\"\".trimStart;r({target:\"String\",proto:!0,forced:a},{trimStart:c,trimLeft:c})},\"8+s/\":function(e,t,n){\"use strict\";function r(e){return e&&\"object\"===typeof e&&\"default\"in e?e[\"default\"]:e}var o=n(\"q1tI\"),i=r(o);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var u=!(\"undefined\"===typeof window||!window.document||!window.document.createElement);function s(e,t,n){if(\"function\"!==typeof e)throw new Error(\"Expected reducePropsToState to be a function.\");if(\"function\"!==typeof t)throw new Error(\"Expected handleStateChangeOnClient to be a function.\");if(\"undefined\"!==typeof n&&\"function\"!==typeof n)throw new Error(\"Expected mapStateOnServer to either be undefined or a function.\");function r(e){return e.displayName||e.name||\"Component\"}return function(s){if(\"function\"!==typeof s)throw new Error(\"Expected WrappedComponent to be a React component.\");var l,f=[];function d(){l=e(f.map((function(e){return e.props}))),h.canUseDOM?t(l):n&&(l=n(l))}var h=function(e){function t(){return e.apply(this,arguments)||this}c(t,e),t.peek=function(){return l},t.rewind=function(){if(t.canUseDOM)throw new Error(\"You may only call rewind() on the server. Call peek() to read the current state.\");var e=l;return l=void 0,f=[],e};var n=t.prototype;return n.UNSAFE_componentWillMount=function(){f.push(this),d()},n.componentDidUpdate=function(){d()},n.componentWillUnmount=function(){var e=f.indexOf(this);f.splice(e,1),d()},n.render=function(){return i.createElement(s,this.props)},t}(o.PureComponent);return a(h,\"displayName\",\"SideEffect(\"+r(s)+\")\"),a(h,\"canUseDOM\",u),h}}e.exports=s},\"85Fp\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(e,t){return t.map((function(t){var n=e.inEdges(t);if(!(null===n||void 0===n?void 0:n.length))return{v:t};var r={sum:0,weight:0};return null===n||void 0===n||n.forEach((function(t){var n=e.edge(t),o=e.node(t.v);r.sum+=n.weight*o.order,r.weight+=n.weight})),{v:t,barycenter:r.sum/r.weight,weight:r.weight}}))};t.default=r},\"85Yc\":function(e,t,n){\"use strict\";n.d(t,\"b\",(function(){return Se})),n.d(t,\"a\",(function(){return b}));var r=n(\"q1tI\"),o=n(\"wx14\"),i=n(\"Ff2n\"),a=n(\"rePB\"),c=n(\"VTBJ\"),u=n(\"KQm4\"),s=n(\"1OyB\"),l=n(\"vuIU\"),f=n(\"JX7q\"),d=n(\"Ji7U\"),h=n(\"LK+K\"),p=n(\"Zm9Q\"),v=n(\"Kwbf\"),g=\"RC_FORM_INTERNAL_HOOKS\",m=function(){Object(v[\"a\"])(!1,\"Can not find FormContext. Please make sure you wrap Field under Form.\")},y=r[\"createContext\"]({getFieldValue:m,getFieldsValue:m,getFieldError:m,getFieldWarning:m,getFieldsError:m,isFieldsTouched:m,isFieldTouched:m,isFieldValidating:m,isFieldsValidating:m,resetFields:m,setFields:m,setFieldValue:m,setFieldsValue:m,validateFields:m,submit:m,getInternalHooks:function(){return m(),{dispatch:m,initEntityValue:m,registerField:m,useSubscribe:m,setInitialValues:m,destroyForm:m,setCallbacks:m,registerWatch:m,getFields:m,setValidateMessages:m,setPreserve:m,getInitialValue:m}}}),b=y;function x(e){return void 0===e||null===e?[]:Array.isArray(e)?e:[e]}var w=n(\"x+uP\"),O=n(\"HaE+\"),E=n(\"KpVd\"),S=\"'${name}' is not a valid ${type}\",j={default:\"Validation error on field '${name}'\",required:\"'${name}' is required\",enum:\"'${name}' must be one of [${enum}]\",whitespace:\"'${name}' cannot be empty\",date:{format:\"'${name}' is invalid for format date\",parse:\"'${name}' could not be parsed as date\",invalid:\"'${name}' is invalid date\"},types:{string:S,method:S,array:S,object:S,number:S,date:S,boolean:S,integer:S,float:S,regexp:S,email:S,url:S,hex:S},string:{len:\"'${name}' must be exactly ${len} characters\",min:\"'${name}' must be at least ${min} characters\",max:\"'${name}' cannot be longer than ${max} characters\",range:\"'${name}' must be between ${min} and ${max} characters\"},number:{len:\"'${name}' must equal ${len}\",min:\"'${name}' cannot be less than ${min}\",max:\"'${name}' cannot be greater than ${max}\",range:\"'${name}' must be between ${min} and ${max}\"},array:{len:\"'${name}' must be exactly ${len} in length\",min:\"'${name}' cannot be less than ${min} in length\",max:\"'${name}' cannot be greater than ${max} in length\",range:\"'${name}' must be between ${min} and ${max} in length\"},pattern:{mismatch:\"'${name}' does not match pattern ${pattern}\"}},k=n(\"U8pU\");function _(e,t){for(var n=e,r=0;r<t.length;r+=1){if(null===n||void 0===n)return;n=n[t[r]]}return n}var C=n(\"T5bk\");function M(e,t,n,r){if(!t.length)return n;var o,i=Object(C[\"a\"])(t),a=i[0],s=i.slice(1);return o=e||\"number\"!==typeof a?Array.isArray(e)?Object(u[\"a\"])(e):Object(c[\"a\"])({},e):[],r&&void 0===n&&1===s.length?delete o[a][s[0]]:o[a]=M(o[a],s,n,r),o}function A(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!_(e,t.slice(0,-1))?e:M(e,t,n,r)}function N(e){return Array.isArray(e)?I(e):\"object\"===Object(k[\"a\"])(e)&&null!==e?T(e):e}function T(e){if(Object.getPrototypeOf(e)===Object.prototype){var t={};for(var n in e)t[n]=N(e[n]);return t}return e}function I(e){return e.map((function(e){return N(e)}))}var P=N;function L(e){return x(e)}function D(e,t){var n=_(e,t);return n}function R(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=A(e,t,n,r);return o}function F(e,t){var n={};return t.forEach((function(t){var r=D(e,t);n=R(n,t,r)})),n}function B(e,t){return e&&e.some((function(e){return V(e,t)}))}function z(e){return\"object\"===Object(k[\"a\"])(e)&&null!==e&&Object.getPrototypeOf(e)===Object.prototype}function U(e,t){var n=Array.isArray(e)?Object(u[\"a\"])(e):Object(c[\"a\"])({},e);return t?(Object.keys(t).forEach((function(e){var r=n[e],o=t[e],i=z(r)&&z(o);n[e]=i?U(r,o||{}):P(o)})),n):n}function G(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(e,t){return U(e,t)}),e)}function V(e,t){return!(!e||!t||e.length!==t.length)&&e.every((function(e,n){return t[n]===e}))}function W(e,t){if(e===t)return!0;if(!e&&t||e&&!t)return!1;if(!e||!t||\"object\"!==Object(k[\"a\"])(e)||\"object\"!==Object(k[\"a\"])(t))return!1;var n=Object.keys(e),r=Object.keys(t),o=new Set([].concat(n,r));return Object(u[\"a\"])(o).every((function(n){var r=e[n],o=t[n];return\"function\"===typeof r&&\"function\"===typeof o||r===o}))}function H(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&\"object\"===Object(k[\"a\"])(t.target)&&e in t.target?t.target[e]:t}function Y(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat(Object(u[\"a\"])(e.slice(0,n)),[o],Object(u[\"a\"])(e.slice(n,t)),Object(u[\"a\"])(e.slice(t+1,r))):i<0?[].concat(Object(u[\"a\"])(e.slice(0,t)),Object(u[\"a\"])(e.slice(t+1,n+1)),[o],Object(u[\"a\"])(e.slice(n+1,r))):e}var X=E[\"a\"];function q(e,t){return e.replace(/\\$\\{\\w+\\}/g,(function(e){var n=e.slice(2,-1);return t[n]}))}var K=\"CODE_LOGIC_ERROR\";function Z(e,t,n,r,o){return $.apply(this,arguments)}function $(){return $=Object(O[\"a\"])(Object(w[\"a\"])().mark((function e(t,n,o,i,s){var l,f,d,h,p,v,g,m,y;return Object(w[\"a\"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return l=Object(c[\"a\"])({},o),delete l.ruleIndex,l.validator&&(f=l.validator,l.validator=function(){try{return f.apply(void 0,arguments)}catch(e){return console.error(e),Promise.reject(K)}}),d=null,l&&\"array\"===l.type&&l.defaultField&&(d=l.defaultField,delete l.defaultField),h=new X(Object(a[\"a\"])({},t,[l])),p=G({},j,i.validateMessages),h.messages(p),v=[],e.prev=9,e.next=12,Promise.resolve(h.validate(Object(a[\"a\"])({},t,n),Object(c[\"a\"])({},i)));case 12:e.next=17;break;case 14:e.prev=14,e.t0=e[\"catch\"](9),e.t0.errors&&(v=e.t0.errors.map((function(e,t){var n=e.message,o=n===K?p.default:n;return r[\"isValidElement\"](o)?r[\"cloneElement\"](o,{key:\"error_\".concat(t)}):o})));case 17:if(v.length||!d){e.next=22;break}return e.next=20,Promise.all(n.map((function(e,n){return Z(\"\".concat(t,\".\").concat(n),e,d,i,s)})));case 20:return g=e.sent,e.abrupt(\"return\",g.reduce((function(e,t){return[].concat(Object(u[\"a\"])(e),Object(u[\"a\"])(t))}),[]));case 22:return m=Object(c[\"a\"])(Object(c[\"a\"])({},o),{},{name:t,enum:(o.enum||[]).join(\", \")},s),y=v.map((function(e){return\"string\"===typeof e?q(e,m):e})),e.abrupt(\"return\",y);case 25:case\"end\":return e.stop()}}),e,null,[[9,14]])}))),$.apply(this,arguments)}function Q(e,t,n,r,o,i){var a,u=e.join(\".\"),s=n.map((function(e,t){var n=e.validator,r=Object(c[\"a\"])(Object(c[\"a\"])({},e),{},{ruleIndex:t});return n&&(r.validator=function(e,t,r){var o=!1,i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Promise.resolve().then((function(){Object(v[\"a\"])(!o,\"Your validator function has already return a promise. `callback` will be ignored.\"),o||r.apply(void 0,t)}))},a=n(e,t,i);o=a&&\"function\"===typeof a.then&&\"function\"===typeof a.catch,Object(v[\"a\"])(o,\"`callback` is deprecated. Please return a promise instead.\"),o&&a.then((function(){r()})).catch((function(e){r(e||\" \")}))}),r})).sort((function(e,t){var n=e.warningOnly,r=e.ruleIndex,o=t.warningOnly,i=t.ruleIndex;return!!n===!!o?r-i:n?1:-1}));if(!0===o)a=new Promise(function(){var e=Object(O[\"a\"])(Object(w[\"a\"])().mark((function e(n,o){var a,c,l;return Object(w[\"a\"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:a=0;case 1:if(!(a<s.length)){e.next=12;break}return c=s[a],e.next=5,Z(u,t,c,r,i);case 5:if(l=e.sent,!l.length){e.next=9;break}return o([{errors:l,rule:c}]),e.abrupt(\"return\");case 9:a+=1,e.next=1;break;case 12:n([]);case 13:case\"end\":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}());else{var l=s.map((function(e){return Z(u,t,e,r,i).then((function(t){return{errors:t,rule:e}}))}));a=(o?te(l):J(l)).then((function(e){return Promise.reject(e)}))}return a.catch((function(e){return e})),a}function J(e){return ee.apply(this,arguments)}function ee(){return ee=Object(O[\"a\"])(Object(w[\"a\"])().mark((function e(t){return Object(w[\"a\"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt(\"return\",Promise.all(t).then((function(e){var t,n=(t=[]).concat.apply(t,Object(u[\"a\"])(e));return n})));case 1:case\"end\":return e.stop()}}),e)}))),ee.apply(this,arguments)}function te(e){return ne.apply(this,arguments)}function ne(){return ne=Object(O[\"a\"])(Object(w[\"a\"])().mark((function e(t){var n;return Object(w[\"a\"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=0,e.abrupt(\"return\",new Promise((function(e){t.forEach((function(r){r.then((function(r){r.errors.length&&e([r]),n+=1,n===t.length&&e([])}))}))})));case 2:case\"end\":return e.stop()}}),e)}))),ne.apply(this,arguments)}var re=[\"name\"],oe=[];function ie(e,t,n,r,o,i){return\"function\"===typeof e?e(t,n,\"source\"in i?{source:i.source}:{}):r!==o}var ae=function(e){Object(d[\"a\"])(n,e);var t=Object(h[\"a\"])(n);function n(e){var o;if(Object(s[\"a\"])(this,n),o=t.call(this,e),o.state={resetCount:0},o.cancelRegisterFunc=null,o.mounted=!1,o.touched=!1,o.dirty=!1,o.validatePromise=null,o.prevValidating=void 0,o.errors=oe,o.warnings=oe,o.cancelRegister=function(){var e=o.props,t=e.preserve,n=e.isListField,r=e.name;o.cancelRegisterFunc&&o.cancelRegisterFunc(n,t,L(r)),o.cancelRegisterFunc=null},o.getNamePath=function(){var e=o.props,t=e.name,n=e.fieldContext,r=n.prefixName,i=void 0===r?[]:r;return void 0!==t?[].concat(Object(u[\"a\"])(i),Object(u[\"a\"])(t)):[]},o.getRules=function(){var e=o.props,t=e.rules,n=void 0===t?[]:t,r=e.fieldContext;return n.map((function(e){return\"function\"===typeof e?e(r):e}))},o.refresh=function(){o.mounted&&o.setState((function(e){var t=e.resetCount;return{resetCount:t+1}}))},o.triggerMetaEvent=function(e){var t=o.props.onMetaChange;null===t||void 0===t||t(Object(c[\"a\"])(Object(c[\"a\"])({},o.getMeta()),{},{destroy:e}))},o.onStoreChange=function(e,t,n){var r=o.props,i=r.shouldUpdate,a=r.dependencies,c=void 0===a?[]:a,u=r.onReset,s=n.store,l=o.getNamePath(),f=o.getValue(e),d=o.getValue(s),h=t&&B(t,l);switch(\"valueUpdate\"===n.type&&\"external\"===n.source&&f!==d&&(o.touched=!0,o.dirty=!0,o.validatePromise=null,o.errors=oe,o.warnings=oe,o.triggerMetaEvent()),n.type){case\"reset\":if(!t||h)return o.touched=!1,o.dirty=!1,o.validatePromise=null,o.errors=oe,o.warnings=oe,o.triggerMetaEvent(),null===u||void 0===u||u(),void o.refresh();break;case\"remove\":if(i)return void o.reRender();break;case\"setField\":if(h){var p=n.data;return\"touched\"in p&&(o.touched=p.touched),\"validating\"in p&&!(\"originRCField\"in p)&&(o.validatePromise=p.validating?Promise.resolve([]):null),\"errors\"in p&&(o.errors=p.errors||oe),\"warnings\"in p&&(o.warnings=p.warnings||oe),o.dirty=!0,o.triggerMetaEvent(),void o.reRender()}if(i&&!l.length&&ie(i,e,s,f,d,n))return void o.reRender();break;case\"dependenciesUpdate\":var v=c.map(L);if(v.some((function(e){return B(n.relatedFields,e)})))return void o.reRender();break;default:if(h||(!c.length||l.length||i)&&ie(i,e,s,f,d,n))return void o.reRender();break}!0===i&&o.reRender()},o.validateRules=function(e){var t=o.getNamePath(),n=o.getValue(),r=Promise.resolve().then((function(){if(!o.mounted)return[];var i=o.props,a=i.validateFirst,c=void 0!==a&&a,s=i.messageVariables,l=e||{},f=l.triggerName,d=o.getRules();f&&(d=d.filter((function(e){return e})).filter((function(e){var t=e.validateTrigger;if(!t)return!0;var n=x(t);return n.includes(f)})));var h=Q(t,n,d,e,c,s);return h.catch((function(e){return e})).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:oe;if(o.validatePromise===r){var t;o.validatePromise=null;var n=[],i=[];null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.rule.warningOnly,r=e.errors,o=void 0===r?oe:r;t?i.push.apply(i,Object(u[\"a\"])(o)):n.push.apply(n,Object(u[\"a\"])(o))})),o.errors=n,o.warnings=i,o.triggerMetaEvent(),o.reRender()}})),h}));return o.validatePromise=r,o.dirty=!0,o.errors=oe,o.warnings=oe,o.triggerMetaEvent(),o.reRender(),r},o.isFieldValidating=function(){return!!o.validatePromise},o.isFieldTouched=function(){return o.touched},o.isFieldDirty=function(){if(o.dirty||void 0!==o.props.initialValue)return!0;var e=o.props.fieldContext,t=e.getInternalHooks(g),n=t.getInitialValue;return void 0!==n(o.getNamePath())},o.getErrors=function(){return o.errors},o.getWarnings=function(){return o.warnings},o.isListField=function(){return o.props.isListField},o.isList=function(){return o.props.isList},o.isPreserve=function(){return o.props.preserve},o.getMeta=function(){o.prevValidating=o.isFieldValidating();var e={touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath()};return e},o.getOnlyChild=function(e){if(\"function\"===typeof e){var t=o.getMeta();return Object(c[\"a\"])(Object(c[\"a\"])({},o.getOnlyChild(e(o.getControlled(),t,o.props.fieldContext))),{},{isFunction:!0})}var n=Object(p[\"a\"])(e);return 1===n.length&&r[\"isValidElement\"](n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}},o.getValue=function(e){var t=o.props.fieldContext.getFieldsValue,n=o.getNamePath();return D(e||t(!0),n)},o.getControlled=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o.props,n=t.trigger,r=t.validateTrigger,i=t.getValueFromEvent,u=t.normalize,s=t.valuePropName,l=t.getValueProps,f=t.fieldContext,d=void 0!==r?r:f.validateTrigger,h=o.getNamePath(),p=f.getInternalHooks,v=f.getFieldsValue,m=p(g),y=m.dispatch,b=o.getValue(),w=l||function(e){return Object(a[\"a\"])({},s,e)},O=e[n],E=Object(c[\"a\"])(Object(c[\"a\"])({},e),w(b));E[n]=function(){var e;o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e=i?i.apply(void 0,n):H.apply(void 0,[s].concat(n)),u&&(e=u(e,b,v(!0))),y({type:\"updateValue\",namePath:h,value:e}),O&&O.apply(void 0,n)};var S=x(d||[]);return S.forEach((function(e){var t=E[e];E[e]=function(){t&&t.apply(void 0,arguments);var n=o.props.rules;n&&n.length&&y({type:\"validateField\",namePath:h,triggerName:e})}})),E},e.fieldContext){var i=e.fieldContext.getInternalHooks,l=i(g),d=l.initEntityValue;d(Object(f[\"a\"])(o))}return o}return Object(l[\"a\"])(n,[{key:\"componentDidMount\",value:function(){var e=this.props,t=e.shouldUpdate,n=e.fieldContext;if(this.mounted=!0,n){var r=n.getInternalHooks,o=r(g),i=o.registerField;this.cancelRegisterFunc=i(this)}!0===t&&this.reRender()}},{key:\"componentWillUnmount\",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:\"reRender\",value:function(){this.mounted&&this.forceUpdate()}},{key:\"render\",value:function(){var e,t=this.state.resetCount,n=this.props.children,o=this.getOnlyChild(n),i=o.child,a=o.isFunction;return a?e=i:r[\"isValidElement\"](i)?e=r[\"cloneElement\"](i,this.getControlled(i.props)):(Object(v[\"a\"])(!i,\"`children` of Field is not validate ReactElement.\"),e=i),r[\"createElement\"](r[\"Fragment\"],{key:t},e)}}]),n}(r[\"Component\"]);function ce(e){var t=e.name,n=Object(i[\"a\"])(e,re),a=r[\"useContext\"](b),c=void 0!==t?L(t):void 0,u=\"keep\";return n.isListField||(u=\"_\".concat((c||[]).join(\"_\"))),r[\"createElement\"](ae,Object(o[\"a\"])({key:u,name:c},n,{fieldContext:a}))}ae.contextType=b,ae.defaultProps={trigger:\"onChange\",valuePropName:\"value\"};var ue=ce,se=r[\"createContext\"](null),le=se,fe=function(e){var t=e.name,n=e.initialValue,o=e.children,i=e.rules,a=e.validateTrigger,s=r[\"useContext\"](b),l=r[\"useRef\"]({keys:[],id:0}),f=l.current,d=r[\"useMemo\"]((function(){var e=L(s.prefixName)||[];return[].concat(Object(u[\"a\"])(e),Object(u[\"a\"])(L(t)))}),[s.prefixName,t]),h=r[\"useMemo\"]((function(){return Object(c[\"a\"])(Object(c[\"a\"])({},s),{},{prefixName:d})}),[s,d]),p=r[\"useMemo\"]((function(){return{getKey:function(e){var t=d.length,n=e[t];return[f.keys[n],e.slice(t+1)]}}}),[d]);if(\"function\"!==typeof o)return Object(v[\"a\"])(!1,\"Form.List only accepts function as children.\"),null;var g=function(e,t,n){var r=n.source;return\"internal\"!==r&&e!==t};return r[\"createElement\"](le.Provider,{value:p},r[\"createElement\"](b.Provider,{value:h},r[\"createElement\"](ue,{name:[],shouldUpdate:g,rules:i,validateTrigger:a,initialValue:n,isList:!0},(function(e,t){var n=e.value,r=void 0===n?[]:n,i=e.onChange,a=s.getFieldValue,c=function(){var e=a(d||[]);return e||[]},l={add:function(e,t){var n=c();t>=0&&t<=n.length?(f.keys=[].concat(Object(u[\"a\"])(f.keys.slice(0,t)),[f.id],Object(u[\"a\"])(f.keys.slice(t))),i([].concat(Object(u[\"a\"])(n.slice(0,t)),[e],Object(u[\"a\"])(n.slice(t))))):(f.keys=[].concat(Object(u[\"a\"])(f.keys),[f.id]),i([].concat(Object(u[\"a\"])(n),[e]))),f.id+=1},remove:function(e){var t=c(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(f.keys=f.keys.filter((function(e,t){return!n.has(t)})),i(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=c();e<0||e>=n.length||t<0||t>=n.length||(f.keys=Y(f.keys,e,t),i(Y(n,e,t)))}}},h=r||[];return Array.isArray(h)||(h=[]),o(h.map((function(e,t){var n=f.keys[t];return void 0===n&&(f.keys[t]=f.id,n=f.keys[t],f.id+=1),{name:t,key:n,isListField:!0}})),l,t)}))))},de=fe,he=n(\"ODXe\");function pe(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(o,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[a]=e,n>0||(t&&i(r),o(r))}))}))})):Promise.resolve([])}var ve=\"__@field_split__\";function ge(e){return e.map((function(e){return\"\".concat(Object(k[\"a\"])(e),\":\").concat(e)})).join(ve)}var me=function(){function e(){Object(s[\"a\"])(this,e),this.kvs=new Map}return Object(l[\"a\"])(e,[{key:\"set\",value:function(e,t){this.kvs.set(ge(e),t)}},{key:\"get\",value:function(e){return this.kvs.get(ge(e))}},{key:\"update\",value:function(e,t){var n=this.get(e),r=t(n);r?this.set(e,r):this.delete(e)}},{key:\"delete\",value:function(e){this.kvs.delete(ge(e))}},{key:\"map\",value:function(e){return Object(u[\"a\"])(this.kvs.entries()).map((function(t){var n=Object(he[\"a\"])(t,2),r=n[0],o=n[1],i=r.split(ve);return e({key:i.map((function(e){var t=e.match(/^([^:]*):(.*)$/),n=Object(he[\"a\"])(t,3),r=n[1],o=n[2];return\"number\"===r?Number(o):o})),value:o})}))}},{key:\"toJSON\",value:function(){var e={};return this.map((function(t){var n=t.key,r=t.value;return e[n.join(\".\")]=r,null})),e}}]),e}(),ye=me,be=[\"name\",\"errors\"],xe=Object(l[\"a\"])((function e(t){var n=this;Object(s[\"a\"])(this,e),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}},this.getInternalHooks=function(e){return e===g?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(Object(v[\"a\"])(!1,\"`getInternalHooks` is internal usage. Should not call directly.\"),null)},this.useSubscribe=function(e){n.subscribable=e},this.prevWithoutPreserves=null,this.setInitialValues=function(e,t){if(n.initialValues=e||{},t){var r,o=G({},e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map((function(t){var n=t.key;o=R(o,n,D(e,n))})),n.prevWithoutPreserves=null,n.updateStore(o)}},this.destroyForm=function(){var e=new ye;n.getFieldEntities(!0).forEach((function(t){n.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)})),n.prevWithoutPreserves=e},this.getInitialValue=function(e){var t=D(n.initialValues,e);return e.length?P(t):t},this.setCallbacks=function(e){n.callbacks=e},this.setValidateMessages=function(e){n.validateMessages=e},this.setPreserve=function(e){n.preserve=e},this.watchList=[],this.registerWatch=function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter((function(t){return t!==e}))}},this.notifyWatch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue();n.watchList.forEach((function(n){n(t,e)}))}},this.timeoutId=null,this.warningUnhooked=function(){0},this.updateStore=function(e){n.store=e},this.getFieldEntities=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities},this.getFieldsMap=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new ye;return n.getFieldEntities(e).forEach((function(e){var n=e.getNamePath();t.set(n,e)})),t},this.getFieldEntitiesForNamePathList=function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=L(e);return t.get(n)||{INVALIDATE_NAME_PATH:L(e)}}))},this.getFieldsValue=function(e,t){if(n.warningUnhooked(),!0===e&&!t)return n.store;var r=n.getFieldEntitiesForNamePathList(Array.isArray(e)?e:null),o=[];return r.forEach((function(n){var r,i=\"INVALIDATE_NAME_PATH\"in n?n.INVALIDATE_NAME_PATH:n.getNamePath();if(e||!(null===(r=n.isListField)||void 0===r?void 0:r.call(n)))if(t){var a=\"getMeta\"in n?n.getMeta():null;t(a)&&o.push(i)}else o.push(i)})),F(n.store,o.map(L))},this.getFieldValue=function(e){n.warningUnhooked();var t=L(e);return D(n.store,t)},this.getFieldsError=function(e){n.warningUnhooked();var t=n.getFieldEntitiesForNamePathList(e);return t.map((function(t,n){return t&&!(\"INVALIDATE_NAME_PATH\"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:L(e[n]),errors:[],warnings:[]}}))},this.getFieldError=function(e){n.warningUnhooked();var t=L(e),r=n.getFieldsError([t])[0];return r.errors},this.getFieldWarning=function(e){n.warningUnhooked();var t=L(e),r=n.getFieldsError([t])[0];return r.warnings},this.isFieldsTouched=function(){n.warningUnhooked();for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o,i=t[0],a=t[1],c=!1;0===t.length?o=null:1===t.length?Array.isArray(i)?(o=i.map(L),c=!1):(o=null,c=i):(o=i.map(L),c=a);var s=n.getFieldEntities(!0),l=function(e){return e.isFieldTouched()};if(!o)return c?s.every(l):s.some(l);var f=new ye;o.forEach((function(e){f.set(e,[])})),s.forEach((function(e){var t=e.getNamePath();o.forEach((function(n){n.every((function(e,n){return t[n]===e}))&&f.update(n,(function(t){return[].concat(Object(u[\"a\"])(t),[e])}))}))}));var d=function(e){return e.some(l)},h=f.map((function(e){var t=e.value;return t}));return c?h.every(d):h.some(d)},this.isFieldTouched=function(e){return n.warningUnhooked(),n.isFieldsTouched([e])},this.isFieldsValidating=function(e){n.warningUnhooked();var t=n.getFieldEntities();if(!e)return t.some((function(e){return e.isFieldValidating()}));var r=e.map(L);return t.some((function(e){var t=e.getNamePath();return B(r,t)&&e.isFieldValidating()}))},this.isFieldValidating=function(e){return n.warningUnhooked(),n.isFieldsValidating([e])},this.resetWithFieldInitialValue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new ye,r=n.getFieldEntities(!0);r.forEach((function(e){var n=e.props.initialValue,r=e.getNamePath();if(void 0!==n){var o=t.get(r)||new Set;o.add({entity:e,value:n}),t.set(r,o)}}));var o,i=function(r){r.forEach((function(r){var o=r.props.initialValue;if(void 0!==o){var i=r.getNamePath(),a=n.getInitialValue(i);if(void 0!==a)Object(v[\"a\"])(!1,\"Form already set 'initialValues' with path '\".concat(i.join(\".\"),\"'. Field can not overwrite it.\"));else{var c=t.get(i);if(c&&c.size>1)Object(v[\"a\"])(!1,\"Multiple Field with path '\".concat(i.join(\".\"),\"' set 'initialValue'. Can not decide which one to pick.\"));else if(c){var s=n.getFieldValue(i);e.skipExist&&void 0!==s||n.updateStore(R(n.store,i,Object(u[\"a\"])(c)[0].value))}}}}))};e.entities?o=e.entities:e.namePathList?(o=[],e.namePathList.forEach((function(e){var n,r=t.get(e);r&&(n=o).push.apply(n,Object(u[\"a\"])(Object(u[\"a\"])(r).map((function(e){return e.entity}))))}))):o=r,i(o)},this.resetFields=function(e){n.warningUnhooked();var t=n.store;if(!e)return n.updateStore(G({},n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:\"reset\"}),void n.notifyWatch();var r=e.map(L);r.forEach((function(e){var t=n.getInitialValue(e);n.updateStore(R(n.store,e,t))})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:\"reset\"}),n.notifyWatch(r)},this.setFields=function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach((function(e){var o=e.name,a=(e.errors,Object(i[\"a\"])(e,be)),c=L(o);r.push(c),\"value\"in a&&n.updateStore(R(n.store,c,a.value)),n.notifyObservers(t,[c],{type:\"setField\",data:e})})),n.notifyWatch(r)},this.getFields=function(){var e=n.getFieldEntities(!0),t=e.map((function(e){var t=e.getNamePath(),r=e.getMeta(),o=Object(c[\"a\"])(Object(c[\"a\"])({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(o,\"originRCField\",{value:!0}),o}));return t},this.initEntityValue=function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath(),o=D(n.store,r);void 0===o&&n.updateStore(R(n.store,r,t))}},this.isMergedPreserve=function(e){var t=void 0!==e?e:n.preserve;return null===t||void 0===t||t},this.registerField=function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var r=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:\"valueUpdate\",source:\"internal\"})}return function(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e})),!n.isMergedPreserve(o)&&(!r||i.length>1)){var a=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every((function(e){return!V(e.getNamePath(),t)}))){var c=n.store;n.updateStore(R(c,t,a,!0)),n.notifyObservers(c,[t],{type:\"remove\"}),n.triggerDependenciesUpdate(c,t)}}n.notifyWatch([t])}},this.dispatch=function(e){switch(e.type){case\"updateValue\":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case\"validateField\":var o=e.namePath,i=e.triggerName;n.validateFields([o],{triggerName:i});break;default:}},this.notifyObservers=function(e,t,r){if(n.subscribable){var o=Object(c[\"a\"])(Object(c[\"a\"])({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){var r=n.onStoreChange;r(e,t,o)}))}else n.forceRootUpdate()},this.triggerDependenciesUpdate=function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:\"dependenciesUpdate\",relatedFields:[t].concat(Object(u[\"a\"])(r))}),r},this.updateValue=function(e,t){var r=L(e),o=n.store;n.updateStore(R(n.store,r,t)),n.notifyObservers(o,[r],{type:\"valueUpdate\",source:\"internal\"}),n.notifyWatch([r]);var i=n.triggerDependenciesUpdate(o,r),a=n.callbacks.onValuesChange;if(a){var c=F(n.store,[r]);a(c,n.getFieldsValue())}n.triggerOnFieldsChange([r].concat(Object(u[\"a\"])(i)))},this.setFieldsValue=function(e){n.warningUnhooked();var t=n.store;if(e){var r=G(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:\"valueUpdate\",source:\"external\"}),n.notifyWatch()},this.setFieldValue=function(e,t){n.setFields([{name:e,value:t}])},this.getDependencyChildrenFields=function(e){var t=new Set,r=[],o=new ye;n.getFieldEntities().forEach((function(e){var t=e.props.dependencies;(t||[]).forEach((function(t){var n=L(t);o.update(n,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));var i=function e(n){var i=o.get(n)||new Set;i.forEach((function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}}))};return i(e),r},this.triggerOnFieldsChange=function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new ye;t.forEach((function(e){var t=e.name,n=e.errors;i.set(t,n)})),o.forEach((function(e){e.errors=i.get(e.name)||e.errors}))}var a=o.filter((function(t){var n=t.name;return B(e,n)}));r(a,o)}},this.validateFields=function(e,t){n.warningUnhooked();var r=!!e,o=r?e.map(L):[],i=[];n.getFieldEntities(!0).forEach((function(a){if(r||o.push(a.getNamePath()),(null===t||void 0===t?void 0:t.recursive)&&r){var s=a.getNamePath();s.every((function(t,n){return e[n]===t||void 0===e[n]}))&&o.push(s)}if(a.props.rules&&a.props.rules.length){var l=a.getNamePath();if(!r||B(o,l)){var f=a.validateRules(Object(c[\"a\"])({validateMessages:Object(c[\"a\"])(Object(c[\"a\"])({},j),n.validateMessages)},t));i.push(f.then((function(){return{name:l,errors:[],warnings:[]}})).catch((function(e){var t,n=[],r=[];return null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.rule.warningOnly,o=e.errors;t?r.push.apply(r,Object(u[\"a\"])(o)):n.push.apply(n,Object(u[\"a\"])(o))})),n.length?Promise.reject({name:l,errors:n,warnings:r}):{name:l,errors:n,warnings:r}})))}}}));var a=pe(i);n.lastValidatePromise=a,a.catch((function(e){return e})).then((function(e){var t=e.map((function(e){var t=e.name;return t}));n.notifyObservers(n.store,t,{type:\"validateFinish\"}),n.triggerOnFieldsChange(t,e)}));var s=a.then((function(){return n.lastValidatePromise===a?Promise.resolve(n.getFieldsValue(o)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(o),errorFields:t,outOfDate:n.lastValidatePromise!==a})}));return s.catch((function(e){return e})),s},this.submit=function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(r){console.error(r)}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))},this.forceRootUpdate=t}));function we(e){var t=r[\"useRef\"](),n=r[\"useState\"]({}),o=Object(he[\"a\"])(n,2),i=o[1];if(!t.current)if(e)t.current=e;else{var a=function(){i({})},c=new xe(a);t.current=c.getForm()}return[t.current]}var Oe=we,Ee=r[\"createContext\"]({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Se=function(e){var t=e.validateMessages,n=e.onFormChange,o=e.onFormFinish,i=e.children,u=r[\"useContext\"](Ee),s=r[\"useRef\"]({});return r[\"createElement\"](Ee.Provider,{value:Object(c[\"a\"])(Object(c[\"a\"])({},u),{},{validateMessages:Object(c[\"a\"])(Object(c[\"a\"])({},u.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:s.current}),u.triggerFormChange(e,t)},triggerFormFinish:function(e,t){o&&o(e,{values:t,forms:s.current}),u.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(s.current=Object(c[\"a\"])(Object(c[\"a\"])({},s.current),{},Object(a[\"a\"])({},e,t))),u.registerForm(e,t)},unregisterForm:function(e){var t=Object(c[\"a\"])({},s.current);delete t[e],s.current=t,u.unregisterForm(e)}})},i)},je=Ee,ke=[\"name\",\"initialValues\",\"fields\",\"form\",\"preserve\",\"children\",\"component\",\"validateMessages\",\"validateTrigger\",\"onValuesChange\",\"onFieldsChange\",\"onFinish\",\"onFinishFailed\"],_e=function(e,t){var n=e.name,a=e.initialValues,u=e.fields,s=e.form,l=e.preserve,f=e.children,d=e.component,h=void 0===d?\"form\":d,p=e.validateMessages,v=e.validateTrigger,m=void 0===v?\"onChange\":v,y=e.onValuesChange,x=e.onFieldsChange,w=e.onFinish,O=e.onFinishFailed,E=Object(i[\"a\"])(e,ke),S=r[\"useContext\"](je),j=Oe(s),k=Object(he[\"a\"])(j,1),_=k[0],C=_.getInternalHooks(g),M=C.useSubscribe,A=C.setInitialValues,N=C.setCallbacks,T=C.setValidateMessages,I=C.setPreserve,P=C.destroyForm;r[\"useImperativeHandle\"](t,(function(){return _})),r[\"useEffect\"]((function(){return S.registerForm(n,_),function(){S.unregisterForm(n)}}),[S,_,n]),T(Object(c[\"a\"])(Object(c[\"a\"])({},S.validateMessages),p)),N({onValuesChange:y,onFieldsChange:function(e){if(S.triggerFormChange(n,e),x){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];x.apply(void 0,[e].concat(r))}},onFinish:function(e){S.triggerFormFinish(n,e),w&&w(e)},onFinishFailed:O}),I(l);var L,D=r[\"useRef\"](null);A(a,!D.current),D.current||(D.current=!0),r[\"useEffect\"]((function(){return P}),[]);var R=\"function\"===typeof f;if(R){var F=_.getFieldsValue(!0);L=f(F,_)}else L=f;M(!R);var B=r[\"useRef\"]();r[\"useEffect\"]((function(){W(B.current||[],u||[])||_.setFields(u||[]),B.current=u}),[u,_]);var z=r[\"useMemo\"]((function(){return Object(c[\"a\"])(Object(c[\"a\"])({},_),{},{validateTrigger:m})}),[_,m]),U=r[\"createElement\"](b.Provider,{value:z},L);return!1===h?U:r[\"createElement\"](h,Object(o[\"a\"])({},E,{onSubmit:function(e){e.preventDefault(),e.stopPropagation(),_.submit()},onReset:function(e){var t;e.preventDefault(),_.resetFields(),null===(t=E.onReset)||void 0===t||t.call(E,e)}}),U)},Ce=_e;function Me(e){try{return JSON.stringify(e)}catch(t){return Math.random()}}function Ae(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t[0],i=void 0===o?[]:o,a=t[1],c=Object(r[\"useState\"])(),u=Object(he[\"a\"])(c,2),s=u[0],l=u[1],f=Object(r[\"useMemo\"])((function(){return Me(s)}),[s]),d=Object(r[\"useRef\"])(f);d.current=f;var h=Object(r[\"useContext\"])(b),p=a||h,v=p&&p._init;var m=L(i),y=Object(r[\"useRef\"])(m);return y.current=m,Object(r[\"useEffect\"])((function(){if(v){var e=p.getFieldsValue,t=p.getInternalHooks,n=t(g),r=n.registerWatch,o=r((function(e){var t=D(e,y.current),n=Me(t);d.current!==n&&(d.current=n,l(t))})),i=D(e(),y.current);return l(i),o}}),[v]),s}var Ne=Ae,Te=r[\"forwardRef\"](Ce),Ie=Te;Ie.FormProvider=Se,Ie.Field=ue,Ie.List=de,Ie.useForm=Oe,Ie.useWatch=Ne},\"8GlL\":function(e,t,n){\"use strict\";var r=n(\"HAuM\"),o=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.exports.f=function(e){return new o(e)}},\"8HVG\":function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return u}));var r=n(\"KQm4\"),o=n(\"wx14\"),i=n(\"ODXe\"),a=n(\"q1tI\"),c=n(\"EE3K\");function u(e){var t=a[\"useRef\"]({}),n=a[\"useState\"]([]),u=Object(i[\"a\"])(n,2),s=u[0],l=u[1];function f(n){var i=!0;e.add(n,(function(e,n){var u=n.key;if(e&&(!t.current[u]||i)){var s=a[\"createElement\"](c[\"a\"],Object(o[\"a\"])({},n,{holder:e}));t.current[u]=s,l((function(e){var t=e.findIndex((function(e){return e.key===n.key}));if(-1===t)return[].concat(Object(r[\"a\"])(e),[s]);var o=Object(r[\"a\"])(e);return o[t]=s,o}))}i=!1}))}return[f,a[\"createElement\"](a[\"Fragment\"],null,s)]}},\"8STE\":function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"Cg3G\");r({target:\"WeakSet\",proto:!0,real:!0,forced:o},{deleteAll:function(){return i.apply(this,arguments)}})},\"8XRh\":function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return pe}));var r=n(\"rePB\"),o=n(\"VTBJ\"),i=n(\"ODXe\"),a=n(\"U8pU\"),c=n(\"q1tI\"),u=n(\"m+aA\"),s=n(\"c+Xe\"),l=n(\"TSYQ\"),f=n.n(l),d=n(\"MNnm\");function h(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[\"Webkit\".concat(e)]=\"webkit\".concat(t),n[\"Moz\".concat(e)]=\"moz\".concat(t),n[\"ms\".concat(e)]=\"MS\".concat(t),n[\"O\".concat(e)]=\"o\".concat(t.toLowerCase()),n}function p(e,t){var n={animationend:h(\"Animation\",\"AnimationEnd\"),transitionend:h(\"Transition\",\"TransitionEnd\")};return e&&(\"AnimationEvent\"in t||delete n.animationend.animation,\"TransitionEvent\"in t||delete n.transitionend.transition),n}var v=p(Object(d[\"a\"])(),\"undefined\"!==typeof window?window:{}),g={};if(Object(d[\"a\"])()){var m=document.createElement(\"div\");g=m.style}var y={};function b(e){if(y[e])return y[e];var t=v[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o<r;o+=1){var i=n[o];if(Object.prototype.hasOwnProperty.call(t,i)&&i in g)return y[e]=t[i],y[e]}return\"\"}var x=b(\"animationend\"),w=b(\"transitionend\"),O=!(!x||!w),E=x||\"animationend\",S=w||\"transitionend\";function j(e,t){if(!e)return null;if(\"object\"===Object(a[\"a\"])(e)){var n=t.replace(/-\\w/g,(function(e){return e[1].toUpperCase()}));return e[n]}return\"\".concat(e,\"-\").concat(t)}var k=\"none\",_=\"appear\",C=\"enter\",M=\"leave\",A=\"none\",N=\"prepare\",T=\"start\",I=\"active\",P=\"end\",L=n(\"dm2S\"),D=n(\"wgJM\"),R=function(){var e=c[\"useRef\"](null);function t(){D[\"a\"].cancel(e.current)}function n(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var i=Object(D[\"a\"])((function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)}));e.current=i}return c[\"useEffect\"]((function(){return function(){t()}}),[]),[n,t]},F=Object(d[\"a\"])()?c[\"useLayoutEffect\"]:c[\"useEffect\"],B=F,z=[N,T,I,P],U=!1,G=!0;function V(e){return e===I||e===P}var W=function(e,t){var n=Object(L[\"a\"])(A),r=Object(i[\"a\"])(n,2),o=r[0],a=r[1],u=R(),s=Object(i[\"a\"])(u,2),l=s[0],f=s[1];function d(){a(N,!0)}return B((function(){if(o!==A&&o!==P){var e=z.indexOf(o),n=z[e+1],r=t(o);r===U?a(n,!0):l((function(e){function t(){e.isCanceled()||a(n,!0)}!0===r?t():Promise.resolve(r).then(t)}))}}),[e,o]),c[\"useEffect\"]((function(){return function(){f()}}),[]),[d,o]},H=function(e){var t=Object(c[\"useRef\"])(),n=Object(c[\"useRef\"])(e);n.current=e;var r=c[\"useCallback\"]((function(e){n.current(e)}),[]);function o(e){e&&(e.removeEventListener(S,r),e.removeEventListener(E,r))}function i(e){t.current&&t.current!==e&&o(t.current),e&&e!==t.current&&(e.addEventListener(S,r),e.addEventListener(E,r),t.current=e)}return c[\"useEffect\"]((function(){return function(){o(t.current)}}),[]),[i,o]};function Y(e,t,n,a){var u=a.motionEnter,s=void 0===u||u,l=a.motionAppear,f=void 0===l||l,d=a.motionLeave,h=void 0===d||d,p=a.motionDeadline,v=a.motionLeaveImmediately,g=a.onAppearPrepare,m=a.onEnterPrepare,y=a.onLeavePrepare,b=a.onAppearStart,x=a.onEnterStart,w=a.onLeaveStart,O=a.onAppearActive,E=a.onEnterActive,S=a.onLeaveActive,j=a.onAppearEnd,A=a.onEnterEnd,P=a.onLeaveEnd,D=a.onVisibleChanged,R=Object(L[\"a\"])(),F=Object(i[\"a\"])(R,2),z=F[0],Y=F[1],X=Object(L[\"a\"])(k),q=Object(i[\"a\"])(X,2),K=q[0],Z=q[1],$=Object(L[\"a\"])(null),Q=Object(i[\"a\"])($,2),J=Q[0],ee=Q[1],te=Object(c[\"useRef\"])(!1),ne=Object(c[\"useRef\"])(null);function re(){return n()}var oe=Object(c[\"useRef\"])(!1);function ie(e){var t=re();if(!e||e.deadline||e.target===t){var n,r=oe.current;K===_&&r?n=null===j||void 0===j?void 0:j(t,e):K===C&&r?n=null===A||void 0===A?void 0:A(t,e):K===M&&r&&(n=null===P||void 0===P?void 0:P(t,e)),K!==k&&r&&!1!==n&&(Z(k,!0),ee(null,!0))}}var ae=H(ie),ce=Object(i[\"a\"])(ae,1),ue=ce[0],se=c[\"useMemo\"]((function(){var e,t,n;switch(K){case _:return e={},Object(r[\"a\"])(e,N,g),Object(r[\"a\"])(e,T,b),Object(r[\"a\"])(e,I,O),e;case C:return t={},Object(r[\"a\"])(t,N,m),Object(r[\"a\"])(t,T,x),Object(r[\"a\"])(t,I,E),t;case M:return n={},Object(r[\"a\"])(n,N,y),Object(r[\"a\"])(n,T,w),Object(r[\"a\"])(n,I,S),n;default:return{}}}),[K]),le=W(K,(function(e){if(e===N){var t=se[N];return t?t(re()):U}var n;he in se&&ee((null===(n=se[he])||void 0===n?void 0:n.call(se,re(),null))||null);return he===I&&(ue(re()),p>0&&(clearTimeout(ne.current),ne.current=setTimeout((function(){ie({deadline:!0})}),p))),G})),fe=Object(i[\"a\"])(le,2),de=fe[0],he=fe[1],pe=V(he);oe.current=pe,B((function(){Y(t);var n,r=te.current;(te.current=!0,e)&&(!r&&t&&f&&(n=_),r&&t&&s&&(n=C),(r&&!t&&h||!r&&v&&!t&&h)&&(n=M),n&&(Z(n),de()))}),[t]),Object(c[\"useEffect\"])((function(){(K===_&&!f||K===C&&!s||K===M&&!h)&&Z(k)}),[f,s,h]),Object(c[\"useEffect\"])((function(){return function(){te.current=!1,clearTimeout(ne.current)}}),[]);var ve=c[\"useRef\"](!1);Object(c[\"useEffect\"])((function(){z&&(ve.current=!0),void 0!==z&&K===k&&((ve.current||z)&&(null===D||void 0===D||D(z)),ve.current=!0)}),[z,K]);var ge=J;return se[N]&&he===T&&(ge=Object(o[\"a\"])({transition:\"none\"},ge)),[K,he,ge,null!==z&&void 0!==z?z:t]}var X=n(\"1OyB\"),q=n(\"vuIU\"),K=n(\"Ji7U\"),Z=n(\"LK+K\"),$=function(e){Object(K[\"a\"])(n,e);var t=Object(Z[\"a\"])(n);function n(){return Object(X[\"a\"])(this,n),t.apply(this,arguments)}return Object(q[\"a\"])(n,[{key:\"render\",value:function(){return this.props.children}}]),n}(c[\"Component\"]),Q=$;function J(e){var t=e;function n(e){return!(!e.motionName||!t)}\"object\"===Object(a[\"a\"])(e)&&(t=e.transitionSupport);var l=c[\"forwardRef\"]((function(e,t){var a=e.visible,l=void 0===a||a,d=e.removeOnLeave,h=void 0===d||d,p=e.forceRender,v=e.children,g=e.motionName,m=e.leavedClassName,y=e.eventProps,b=n(e),x=Object(c[\"useRef\"])(),w=Object(c[\"useRef\"])();function O(){try{return x.current instanceof HTMLElement?x.current:Object(u[\"a\"])(w.current)}catch(e){return null}}var E=Y(b,l,O,e),S=Object(i[\"a\"])(E,4),_=S[0],C=S[1],M=S[2],A=S[3],I=c[\"useRef\"](A);A&&(I.current=!0);var P,L=c[\"useCallback\"]((function(e){x.current=e,Object(s[\"b\"])(t,e)}),[t]),D=Object(o[\"a\"])(Object(o[\"a\"])({},y),{},{visible:l});if(v)if(_!==k&&n(e)){var R,F;C===N?F=\"prepare\":V(C)?F=\"active\":C===T&&(F=\"start\"),P=v(Object(o[\"a\"])(Object(o[\"a\"])({},D),{},{className:f()(j(g,_),(R={},Object(r[\"a\"])(R,j(g,\"\".concat(_,\"-\").concat(F)),F),Object(r[\"a\"])(R,g,\"string\"===typeof g),R)),style:M}),L)}else P=A?v(Object(o[\"a\"])({},D),L):!h&&I.current?v(Object(o[\"a\"])(Object(o[\"a\"])({},D),{},{className:m}),L):p?v(Object(o[\"a\"])(Object(o[\"a\"])({},D),{},{style:{display:\"none\"}}),L):null;else P=null;if(c[\"isValidElement\"](P)&&Object(s[\"c\"])(P)){var B=P,z=B.ref;z||(P=c[\"cloneElement\"](P,{ref:L}))}return c[\"createElement\"](Q,{ref:w},P)}));return l.displayName=\"CSSMotion\",l}var ee=J(O),te=n(\"wx14\"),ne=n(\"Ff2n\"),re=\"add\",oe=\"keep\",ie=\"remove\",ae=\"removed\";function ce(e){var t;return t=e&&\"object\"===Object(a[\"a\"])(e)&&\"key\"in e?e:{key:e},Object(o[\"a\"])(Object(o[\"a\"])({},t),{},{key:String(t.key)})}function ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(ce)}function se(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,a=ue(e),c=ue(t);a.forEach((function(e){for(var t=!1,a=r;a<i;a+=1){var u=c[a];if(u.key===e.key){r<a&&(n=n.concat(c.slice(r,a).map((function(e){return Object(o[\"a\"])(Object(o[\"a\"])({},e),{},{status:re})}))),r=a),n.push(Object(o[\"a\"])(Object(o[\"a\"])({},u),{},{status:oe})),r+=1,t=!0;break}}t||n.push(Object(o[\"a\"])(Object(o[\"a\"])({},e),{},{status:ie}))})),r<i&&(n=n.concat(c.slice(r).map((function(e){return Object(o[\"a\"])(Object(o[\"a\"])({},e),{},{status:re})}))));var u={};n.forEach((function(e){var t=e.key;u[t]=(u[t]||0)+1}));var s=Object.keys(u).filter((function(e){return u[e]>1}));return s.forEach((function(e){n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==ie})),n.forEach((function(t){t.key===e&&(t.status=oe)}))})),n}var le=[\"component\",\"children\",\"onVisibleChanged\",\"onAllRemoved\"],fe=[\"status\"],de=[\"eventProps\",\"visible\",\"children\",\"motionName\",\"motionAppear\",\"motionEnter\",\"motionLeave\",\"motionLeaveImmediately\",\"motionDeadline\",\"removeOnLeave\",\"leavedClassName\",\"onAppearStart\",\"onAppearActive\",\"onAppearEnd\",\"onEnterStart\",\"onEnterActive\",\"onEnterEnd\",\"onLeaveStart\",\"onLeaveActive\",\"onLeaveEnd\"];function he(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ee,n=function(e){Object(K[\"a\"])(r,e);var n=Object(Z[\"a\"])(r);function r(){var e;Object(X[\"a\"])(this,r);for(var t=arguments.length,i=new Array(t),a=0;a<t;a++)i[a]=arguments[a];return e=n.call.apply(n,[this].concat(i)),e.state={keyEntities:[]},e.removeKey=function(t){var n=e.state.keyEntities,r=n.map((function(e){return e.key!==t?e:Object(o[\"a\"])(Object(o[\"a\"])({},e),{},{status:ae})}));return e.setState({keyEntities:r}),r.filter((function(e){var t=e.status;return t!==ae})).length},e}return Object(q[\"a\"])(r,[{key:\"render\",value:function(){var e=this,n=this.state.keyEntities,r=this.props,o=r.component,i=r.children,a=r.onVisibleChanged,u=r.onAllRemoved,s=Object(ne[\"a\"])(r,le),l=o||c[\"Fragment\"],f={};return de.forEach((function(e){f[e]=s[e],delete s[e]})),delete s.keys,c[\"createElement\"](l,s,n.map((function(n){var r=n.status,o=Object(ne[\"a\"])(n,fe),s=r===re||r===oe;return c[\"createElement\"](t,Object(te[\"a\"])({},f,{key:o.key,visible:s,eventProps:o,onVisibleChanged:function(t){if(null===a||void 0===a||a(t,{key:o.key}),!t){var n=e.removeKey(o.key);0===n&&u&&u()}}}),i)})))}}],[{key:\"getDerivedStateFromProps\",value:function(e,t){var n=e.keys,r=t.keyEntities,o=ue(n),i=se(r,o);return{keyEntities:i.filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==ae||e.status!==ie}))}}}]),r}(c[\"Component\"]);return n.defaultProps={component:\"div\"},n}var pe=he(O);t[\"b\"]=ee},\"8YOa\":function(e,t,n){var r=n(\"0BK2\"),o=n(\"hh1v\"),i=n(\"UTVS\"),a=n(\"m/L8\").f,c=n(\"kOOl\"),u=n(\"uy83\"),s=c(\"meta\"),l=0,f=Object.isExtensible||function(){return!0},d=function(e){a(e,s,{value:{objectID:\"O\"+ ++l,weakData:{}}})},h=function(e,t){if(!o(e))return\"symbol\"==typeof e?e:(\"string\"==typeof e?\"S\":\"P\")+e;if(!i(e,s)){if(!f(e))return\"F\";if(!t)return\"E\";d(e)}return e[s].objectID},p=function(e,t){if(!i(e,s)){if(!f(e))return!0;if(!t)return!1;d(e)}return e[s].weakData},v=function(e){return u&&g.REQUIRED&&f(e)&&!i(e,s)&&d(e),e},g=e.exports={REQUIRED:!1,fastKey:h,getWeakData:p,onFreeze:v};r[s]=!0},\"8go2\":function(e,t,n){n(\"gg6r\")},\"8jRI\":function(e,t,n){\"use strict\";var r=\"%[a-f0-9]{2}\",o=new RegExp(r,\"gi\"),i=new RegExp(\"(\"+r+\")+\",\"gi\");function a(e,t){try{return decodeURIComponent(e.join(\"\"))}catch(o){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],a(n),a(r))}function c(e){try{return decodeURIComponent(e)}catch(r){for(var t=e.match(o),n=1;n<t.length;n++)e=a(t,n).join(\"\"),t=e.match(o);return e}}function u(e){var t={\"%FE%FF\":\"\\ufffd\\ufffd\",\"%FF%FE\":\"\\ufffd\\ufffd\"},n=i.exec(e);while(n){try{t[n[0]]=decodeURIComponent(n[0])}catch(s){var r=c(n[0]);r!==n[0]&&(t[n[0]]=r)}n=i.exec(e)}t[\"%C2\"]=\"\\ufffd\";for(var o=Object.keys(t),a=0;a<o.length;a++){var u=o[a];e=e.replace(new RegExp(u,\"g\"),t[u])}return e}e.exports=function(e){if(\"string\"!==typeof e)throw new TypeError(\"Expected `encodedURI` to be of type `string`, got `\"+typeof e+\"`\");try{return e=e.replace(/\\+/g,\" \"),decodeURIComponent(e)}catch(t){return u(e)}}},\"8nGZ\":function(e,t,n){\"use strict\";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!(\"get\"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)\"default\"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,\"__esModule\",{value:!0}),o(n(\"Qjdz\"),t),o(n(\"kQ6e\"),t),o(n(\"SwNF\"),t),o(n(\"GdIf\"),t),o(n(\"KR08\"),t),o(n(\"3M29\"),t)},\"8r4s\":function(e,t,n){var r=n(\"I+eb\"),o=n(\"P940\");r({target:\"Set\",stat:!0},{of:o})},\"8tx+\":function(e,t,n){\"use strict\";var r,o=n(\"Ff2n\"),i=n(\"wx14\"),a=n(\"VTBJ\"),c=n(\"1OyB\"),u=n(\"vuIU\"),s=n(\"Ji7U\"),l=n(\"LK+K\"),f=n(\"q1tI\"),d=n(\"x+uP\"),h=n(\"HaE+\"),p=n(\"U8pU\"),v=n(\"i8i4\"),g=Object(a[\"a\"])({},v),m=g.version,y=g.render,b=g.unmountComponentAtNode;try{var x=Number((m||\"\").split(\".\")[0]);x>=18&&(r=g.createRoot)}catch(G){}function w(e){var t=g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&\"object\"===Object(p[\"a\"])(t)&&(t.usingClientEntryPoint=e)}var O=\"__rc_react_root__\";function E(e,t){w(!0);var n=t[O]||r(t);w(!1),n.render(e),t[O]=n}function S(e,t){y(e,t)}function j(e,t){r?E(e,t):S(e,t)}function k(e){return _.apply(this,arguments)}function _(){return _=Object(h[\"a\"])(Object(d[\"a\"])().mark((function e(t){return Object(d[\"a\"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt(\"return\",Promise.resolve().then((function(){var e;null===(e=t[O])||void 0===e||e.unmount(),delete t[O]})));case 1:case\"end\":return e.stop()}}),e)}))),_.apply(this,arguments)}function C(e){b(e)}function M(e){return A.apply(this,arguments)}function A(){return A=Object(h[\"a\"])(Object(d[\"a\"])().mark((function e(t){return Object(d[\"a\"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(void 0===r){e.next=2;break}return e.abrupt(\"return\",k(t));case 2:C(t);case 3:case\"end\":return e.stop()}}),e)}))),A.apply(this,arguments)}var N=n(\"TSYQ\"),T=n.n(N),I=n(\"8XRh\"),P=n(\"EE3K\"),L=n(\"8HVG\"),D=[\"getContainer\"],R=0,F=Date.now();function B(){var e=R;return R+=1,\"rcNotification_\".concat(F,\"_\").concat(e)}var z=function(e){Object(s[\"a\"])(n,e);var t=Object(l[\"a\"])(n);function n(){var e;Object(c[\"a\"])(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),e.state={notices:[]},e.hookRefs=new Map,e.add=function(t,n){var r,o=null!==(r=t.key)&&void 0!==r?r:B(),i=Object(a[\"a\"])(Object(a[\"a\"])({},t),{},{key:o}),c=e.props.maxCount;e.setState((function(e){var t=e.notices,r=t.map((function(e){return e.notice.key})).indexOf(o),a=t.concat();return-1!==r?a.splice(r,1,{notice:i,holderCallback:n}):(c&&t.length>=c&&(i.key=a[0].notice.key,i.updateMark=B(),i.userPassKey=o,a.shift()),a.push({notice:i,holderCallback:n})),{notices:a}}))},e.remove=function(t){e.setState((function(e){var n=e.notices;return{notices:n.filter((function(e){var n=e.notice,r=n.key,o=n.userPassKey,i=null!==o&&void 0!==o?o:r;return i!==t}))}}))},e.noticePropsMap={},e}return Object(u[\"a\"])(n,[{key:\"getTransitionName\",value:function(){var e=this.props,t=e.prefixCls,n=e.animation,r=this.props.transitionName;return!r&&n&&(r=\"\".concat(t,\"-\").concat(n)),r}},{key:\"render\",value:function(){var e=this,t=this.state.notices,n=this.props,r=n.prefixCls,o=n.className,c=n.closeIcon,u=n.style,s=[];return t.forEach((function(n,o){var i=n.notice,u=n.holderCallback,l=o===t.length-1?i.updateMark:void 0,f=i.key,d=i.userPassKey,h=Object(a[\"a\"])(Object(a[\"a\"])(Object(a[\"a\"])({prefixCls:r,closeIcon:c},i),i.props),{},{key:f,noticeKey:d||f,updateMark:l,onClose:function(t){var n;e.remove(t),null===(n=i.onClose)||void 0===n||n.call(i)},onClick:i.onClick,children:i.content});s.push(f),e.noticePropsMap[f]={props:h,holderCallback:u}})),f[\"createElement\"](\"div\",{className:T()(r,o),style:u},f[\"createElement\"](I[\"a\"],{keys:s,motionName:this.getTransitionName(),onVisibleChanged:function(t,n){var r=n.key;t||delete e.noticePropsMap[r]}},(function(t){var n=t.key,o=t.className,c=t.style,u=t.visible,s=e.noticePropsMap[n],l=s.props,d=s.holderCallback;return d?f[\"createElement\"](\"div\",{key:n,className:T()(o,\"\".concat(r,\"-hook-holder\")),style:Object(a[\"a\"])({},c),ref:function(t){\"undefined\"!==typeof n&&(t?(e.hookRefs.set(n,t),d(t,l)):e.hookRefs.delete(n))}}):f[\"createElement\"](P[\"a\"],Object(i[\"a\"])({},l,{className:T()(o,null===l||void 0===l?void 0:l.className),style:Object(a[\"a\"])(Object(a[\"a\"])({},c),null===l||void 0===l?void 0:l.style),visible:u}))})))}}]),n}(f[\"Component\"]);z.newInstance=void 0,z.defaultProps={prefixCls:\"rc-notification\",animation:\"fade\",style:{top:65,left:\"50%\"}},z.newInstance=function(e,t){var n=e||{},r=n.getContainer,a=Object(o[\"a\"])(n,D),c=document.createElement(\"div\");if(r){var u=r();u.appendChild(c)}else document.body.appendChild(c);var s=!1;function l(e){s||(s=!0,t({notice:function(t){e.add(t)},removeNotice:function(t){e.remove(t)},component:e,destroy:function(){M(c),c.parentNode&&c.parentNode.removeChild(c)},useNotification:function(){return Object(L[\"a\"])(e)}}))}j(f[\"createElement\"](z,Object(i[\"a\"])({},a,{ref:l})),c)};var U=z;t[\"a\"]=U},\"8yz6\":function(e,t,n){\"use strict\";e.exports=function(e,t){if(\"string\"!==typeof e||\"string\"!==typeof t)throw new TypeError(\"Expected the arguments to be of type `string`\");if(\"\"===t)return[e];var n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},\"9/5/\":function(e,t,n){(function(t){var n=\"Expected a function\",r=NaN,o=\"[object Symbol]\",i=/^\\s+|\\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,s=parseInt,l=\"object\"==typeof t&&t&&t.Object===Object&&t,f=\"object\"==typeof self&&self&&self.Object===Object&&self,d=l||f||Function(\"return this\")(),h=Object.prototype,p=h.toString,v=Math.max,g=Math.min,m=function(){return d.Date.now()};function y(e,t,r){var o,i,a,c,u,s,l=0,f=!1,d=!1,h=!0;if(\"function\"!=typeof e)throw new TypeError(n);function p(t){var n=o,r=i;return o=i=void 0,l=t,c=e.apply(r,n),c}function y(e){return l=e,u=setTimeout(E,t),f?p(e):c}function x(e){var n=e-s,r=e-l,o=t-n;return d?g(o,a-r):o}function w(e){var n=e-s,r=e-l;return void 0===s||n>=t||n<0||d&&r>=a}function E(){var e=m();if(w(e))return S(e);u=setTimeout(E,x(e))}function S(e){return u=void 0,h&&o?p(e):(o=i=void 0,c)}function j(){void 0!==u&&clearTimeout(u),l=0,o=s=i=u=void 0}function k(){return void 0===u?c:S(m())}function _(){var e=m(),n=w(e);if(o=arguments,i=this,s=e,n){if(void 0===u)return y(s);if(d)return u=setTimeout(E,t),p(s)}return void 0===u&&(u=setTimeout(E,t)),c}return t=O(t)||0,b(r)&&(f=!!r.leading,d=\"maxWait\"in r,a=d?v(O(r.maxWait)||0,t):a,h=\"trailing\"in r?!!r.trailing:h),_.cancel=j,_.flush=k,_}function b(e){var t=typeof e;return!!e&&(\"object\"==t||\"function\"==t)}function x(e){return!!e&&\"object\"==typeof e}function w(e){return\"symbol\"==typeof e||x(e)&&p.call(e)==o}function O(e){if(\"number\"==typeof e)return e;if(w(e))return r;if(b(e)){var t=\"function\"==typeof e.valueOf?e.valueOf():e;e=b(t)?t+\"\":t}if(\"string\"!=typeof e)return 0===e?e:+e;e=e.replace(i,\"\");var n=c.test(e);return n||u.test(e)?s(e.slice(2),n?2:8):a.test(e)?r:+e}e.exports=y}).call(this,n(\"IyRk\"))},\"90hW\":function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},\"93I0\":function(e,t,n){var r=n(\"VpIT\"),o=n(\"kOOl\"),i=r(\"keys\");e.exports=function(e){return i[e]||(i[e]=o(e))}},\"94Xl\":function(e,t,n){var r=n(\"JiZb\");r(\"Array\")},\"97ZR\":function(e,t,n){var r=function(e){\"use strict\";var t,n=Object.prototype,r=n.hasOwnProperty,o=\"function\"===typeof Symbol?Symbol:{},i=o.iterator||\"@@iterator\",a=o.asyncIterator||\"@@asyncIterator\",c=o.toStringTag||\"@@toStringTag\";function u(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=S(e,n,a),i}function s(e,t,n){try{return{type:\"normal\",arg:e.call(t,n)}}catch(r){return{type:\"throw\",arg:r}}}e.wrap=u;var l=\"suspendedStart\",f=\"suspendedYield\",d=\"executing\",h=\"completed\",p={};function v(){}function g(){}function m(){}var y={};y[i]=function(){return this};var b=Object.getPrototypeOf,x=b&&b(b(M([])));x&&x!==n&&r.call(x,i)&&(y=x);var w=m.prototype=v.prototype=Object.create(y);function O(e){[\"next\",\"throw\",\"return\"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function E(e,t){function n(o,i,a,c){var u=s(e[o],e,i);if(\"throw\"!==u.type){var l=u.arg,f=l.value;return f&&\"object\"===typeof f&&r.call(f,\"__await\")?t.resolve(f.__await).then((function(e){n(\"next\",e,a,c)}),(function(e){n(\"throw\",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return n(\"throw\",e,a,c)}))}c(u.arg)}var o;function i(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}this._invoke=i}function S(e,t,n){var r=l;return function(o,i){if(r===d)throw new Error(\"Generator is already running\");if(r===h){if(\"throw\"===o)throw i;return A()}n.method=o,n.arg=i;while(1){var a=n.delegate;if(a){var c=j(a,n);if(c){if(c===p)continue;return c}}if(\"next\"===n.method)n.sent=n._sent=n.arg;else if(\"throw\"===n.method){if(r===l)throw r=h,n.arg;n.dispatchException(n.arg)}else\"return\"===n.method&&n.abrupt(\"return\",n.arg);r=d;var u=s(e,t,n);if(\"normal\"===u.type){if(r=n.done?h:f,u.arg===p)continue;return{value:u.arg,done:n.done}}\"throw\"===u.type&&(r=h,n.method=\"throw\",n.arg=u.arg)}}}function j(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,\"throw\"===n.method){if(e.iterator[\"return\"]&&(n.method=\"return\",n.arg=t,j(e,n),\"throw\"===n.method))return p;n.method=\"throw\",n.arg=new TypeError(\"The iterator does not provide a 'throw' method\")}return p}var o=s(r,e.iterator,n.arg);if(\"throw\"===o.type)return n.method=\"throw\",n.arg=o.arg,n.delegate=null,p;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,\"return\"!==n.method&&(n.method=\"next\",n.arg=t),n.delegate=null,p):i:(n.method=\"throw\",n.arg=new TypeError(\"iterator result is not an object\"),n.delegate=null,p)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type=\"normal\",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:\"root\"}],e.forEach(k,this),this.reset(!0)}function M(e){if(e){var n=e[i];if(n)return n.call(e);if(\"function\"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){while(++o<e.length)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:A}}function A(){return{value:t,done:!0}}return g.prototype=w.constructor=m,m.constructor=g,m[c]=g.displayName=\"GeneratorFunction\",e.isGeneratorFunction=function(e){var t=\"function\"===typeof e&&e.constructor;return!!t&&(t===g||\"GeneratorFunction\"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,c in e||(e[c]=\"GeneratorFunction\")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},O(E.prototype),E.prototype[a]=function(){return this},e.AsyncIterator=E,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new E(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(w),w[c]=\"Generator\",w[i]=function(){return this},w.toString=function(){return\"[object Generator]\"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(t.length){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=M,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method=\"next\",this.arg=t,this.tryEntries.forEach(_),!e)for(var n in this)\"t\"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if(\"throw\"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type=\"throw\",c.arg=e,n.next=r,o&&(n.method=\"next\",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if(\"root\"===a.tryLoc)return o(\"end\");if(a.tryLoc<=this.prev){var u=r.call(a,\"catchLoc\"),s=r.call(a,\"finallyLoc\");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error(\"try statement without catch or finally\");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,\"finallyLoc\")&&this.prev<o.finallyLoc){var i=o;break}}i&&(\"break\"===e||\"continue\"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method=\"next\",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if(\"throw\"===e.type)throw e.arg;return\"break\"===e.type||\"continue\"===e.type?this.next=e.arg:\"return\"===e.type?(this.rval=this.arg=e.arg,this.method=\"return\",this.next=\"end\"):\"normal\"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if(\"throw\"===r.type){var o=r.arg;_(n)}return o}}throw new Error(\"illegal catch attempt\")},delegateYield:function(e,n,r){return this.delegate={iterator:M(e),resultName:n,nextLoc:r},\"next\"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=r}catch(o){Function(\"r\",\"regeneratorRuntime = r\")(r)}},\"9Baz\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),Object.defineProperty(t,\"message\",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,\"notification\",{enumerable:!0,get:function(){return o.default}}),n(\"miYZ\");var r=i(n(\"tsqr\"));n(\"/xke\");var o=i(n(\"TeRw\"));function i(e){return e&&e.__esModule?e:{default:e}}},\"9D6x\":function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"glrk\"),a=n(\"HAuM\");r({target:\"Map\",proto:!0,real:!0,forced:o},{update:function(e,t){var n=i(this),r=arguments.length;a(t);var o=n.has(e);if(!o&&r<3)throw TypeError(\"Updating absent value\");var c=o?n.get(e):a(r>2?arguments[2]:void 0)(e,n);return n.set(e,t(c,e,n)),n}})},\"9N29\":function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"1Y/n\").right,i=n(\"pkCn\"),a=n(\"rkAj\"),c=i(\"reduceRight\"),u=a(\"reduce\",{1:0});r({target:\"Array\",proto:!0,forced:!c||!u},{reduceRight:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},\"9OqN\":function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"OLod\"))})(0,(function(e){return e.mode.CTR=function(){var t=e.lib.BlockCipherMode.extend(),n=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,o=this._iv,i=this._counter;o&&(i=this._counter=o.slice(0),this._iv=void 0);var a=i.slice(0);n.encryptBlock(a,0),i[r-1]=i[r-1]+1|0;for(var c=0;c<r;c++)e[t+c]^=a[c]}});return t.Decryptor=n,t}(),e.mode.CTR}))},\"9R94\":function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=!0,o=\"Invariant failed\";function i(e,t){if(!e){if(r)throw new Error(o);var n=\"function\"===typeof t?t():t,i=n?\"\".concat(o,\": \").concat(n):o;throw new Error(i)}}},\"9ama\":function(e,t,n){},\"9d/t\":function(e,t,n){var r=n(\"AO7/\"),o=n(\"xrYK\"),i=n(\"tiKp\"),a=i(\"toStringTag\"),c=\"Arguments\"==o(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(n){}};e.exports=r?o:function(e){var t,n,r;return void 0===e?\"Undefined\":null===e?\"Null\":\"string\"==typeof(n=u(t=Object(e),a))?n:c?o(t):\"Object\"==(r=o(t))&&\"function\"==typeof t.callee?\"Arguments\":r}},\"9kvl\":function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r[\"b\"]})),n.d(t,\"b\",(function(){return o[\"a\"]})),n.d(t,\"c\",(function(){return i[\"a\"]}));var r=n(\"FfOG\"),o=n(\"bCY9\"),i=n(\"I5X1\"),a=(n(\"qLMh\"),n(\"9og8\"),n(\"PpiC\"),n(\"k1fw\"),n(\"ZqBY\"),n(\"rlch\"),n(\"9Baz\"),n(\"q1tI\")),c=n.n(a),u=n(\"9/5/\"),s=n.n(u),l=n(\"hKI/\"),f=n.n(l);function d(){return\"undefined\"===typeof document||\"undefined\"===typeof document.visibilityState||\"hidden\"!==document.visibilityState}function h(){return\"undefined\"===typeof navigator.onLine||navigator.onLine}new Map;var p=function(e,t){var n=\"function\"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=i.next()).done)a.push(r.value)}catch(c){o={error:c}}finally{try{r&&!r.done&&(n=i[\"return\"])&&n.call(i)}finally{if(o)throw o.error}}return a},v=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(p(arguments[t]));return e};function g(e,t){var n=!1;return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];n||(n=!0,e.apply(void 0,v(r)),setTimeout((function(){n=!1}),t))}}var m=[];function y(e){return m.push(e),function(){var t=m.indexOf(e);m.splice(t,1)}}var b=!1;if(\"undefined\"!==typeof window&&window.addEventListener&&!b){var x=function(){if(d()&&h())for(var e=0;e<m.length;e++){var t=m[e];t()}};window.addEventListener(\"visibilitychange\",x,!1),window.addEventListener(\"focus\",x,!1),b=!0}var w=y,O=[];function E(e){return O.push(e),function(){var t=O.indexOf(e);O.splice(t,1)}}var S=!1;if(\"undefined\"!==typeof window&&window.addEventListener&&!S){var j=function(){if(d())for(var e=0;e<O.length;e++){var t=O[e];t()}};window.addEventListener(\"visibilitychange\",j,!1),S=!0}var k=E,_=function(){return _=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},_.apply(this,arguments)},C=function(e,t){var n=\"function\"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=i.next()).done)a.push(r.value)}catch(c){o={error:c}}finally{try{r&&!r.done&&(n=i[\"return\"])&&n.call(i)}finally{if(o)throw o.error}}return a},M=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(C(arguments[t]));return e};(function(){function e(e,t,n,r){this.count=0,this.pollingWhenVisibleFlag=!1,this.pollingTimer=void 0,this.loadingDelayTimer=void 0,this.unsubscribe=[],this.that=this,this.state={loading:!1,params:[],data:void 0,error:void 0,run:this.run.bind(this.that),mutate:this.mutate.bind(this.that),refresh:this.refresh.bind(this.that),cancel:this.cancel.bind(this.that),unmount:this.unmount.bind(this.that)},this.service=e,this.config=t,this.subscribe=n,r&&(this.state=_(_({},this.state),r)),this.debounceRun=this.config.debounceInterval?s()(this._run,this.config.debounceInterval):void 0,this.throttleRun=this.config.throttleInterval?f()(this._run,this.config.throttleInterval):void 0,this.limitRefresh=g(this.refresh.bind(this),this.config.focusTimespan),this.config.pollingInterval&&this.unsubscribe.push(k(this.rePolling.bind(this))),this.config.refreshOnWindowFocus&&this.unsubscribe.push(w(this.limitRefresh.bind(this)))}e.prototype.setState=function(e){void 0===e&&(e={}),this.state=_(_({},this.state),e),this.subscribe(this.state)},e.prototype._run=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.pollingTimer&&clearTimeout(this.pollingTimer),this.loadingDelayTimer&&clearTimeout(this.loadingDelayTimer),this.count+=1;var r=this.count;return this.setState({loading:!this.config.loadingDelay,params:t}),this.config.loadingDelay&&(this.loadingDelayTimer=setTimeout((function(){e.setState({loading:!0})}),this.config.loadingDelay)),this.service.apply(this,M(t)).then((function(n){if(r!==e.count)return new Promise((function(){}));e.loadingDelayTimer&&clearTimeout(e.loadingDelayTimer);var o=e.config.formatResult?e.config.formatResult(n):n;return e.setState({data:o,error:void 0,loading:!1}),e.config.onSuccess&&e.config.onSuccess(o,t),o}))[\"catch\"]((function(n){if(r!==e.count)return new Promise((function(){}));if(e.loadingDelayTimer&&clearTimeout(e.loadingDelayTimer),e.setState({data:void 0,error:n,loading:!1}),e.config.onError&&e.config.onError(n,t),e.config.throwOnError)throw n;return console.error(n),Promise.reject(\"useRequest has caught the exception, if you need to handle the exception yourself, you can set options.throwOnError to true.\")}))[\"finally\"]((function(){if(r===e.count&&e.config.pollingInterval){if(!d()&&!e.config.pollingWhenHidden)return void(e.pollingWhenVisibleFlag=!0);e.pollingTimer=setTimeout((function(){e._run.apply(e,M(t))}),e.config.pollingInterval)}}))},e.prototype.run=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.debounceRun?(this.debounceRun.apply(this,M(e)),Promise.resolve(null)):this.throttleRun?(this.throttleRun.apply(this,M(e)),Promise.resolve(null)):this._run.apply(this,M(e))},e.prototype.cancel=function(){this.debounceRun&&this.debounceRun.cancel(),this.throttleRun&&this.throttleRun.cancel(),this.loadingDelayTimer&&clearTimeout(this.loadingDelayTimer),this.pollingTimer&&clearTimeout(this.pollingTimer),this.pollingWhenVisibleFlag=!1,this.count+=1,this.setState({loading:!1})},e.prototype.refresh=function(){return this.run.apply(this,M(this.state.params))},e.prototype.rePolling=function(){this.pollingWhenVisibleFlag&&(this.pollingWhenVisibleFlag=!1,this.refresh())},e.prototype.mutate=function(e){\"function\"===typeof e?this.setState({data:e(this.state.data)||{}}):this.setState({data:e})},e.prototype.unmount=function(){this.cancel(),this.unsubscribe.forEach((function(e){e()}))}})();var A=c.a.createContext({});A.displayName=\"UseRequestConfigContext\";var N=A;var T;N.Provider;(function(e){e[e[\"SILENT\"]=0]=\"SILENT\",e[e[\"WARN_MESSAGE\"]=1]=\"WARN_MESSAGE\",e[e[\"ERROR_MESSAGE\"]=2]=\"ERROR_MESSAGE\",e[e[\"NOTIFICATION\"]=4]=\"NOTIFICATION\",e[e[\"REDIRECT\"]=9]=\"REDIRECT\"})(T||(T={}));n(\"qhky\")},\"9og8\":function(e,t,n){\"use strict\";function r(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(s){return void n(s)}c.done?t(u):Promise.resolve(u).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,u,\"next\",e)}function u(e){r(a,o,i,c,u,\"throw\",e)}c(void 0)}))}}n.d(t,\"a\",(function(){return o}))},\"9xmf\":function(e,t,n){var r=n(\"EdiO\");function o(e){if(Array.isArray(e))return r(e)}e.exports=o,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},A2ZE:function(e,t,n){var r=n(\"HAuM\");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};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,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},A3YJ:function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__awaiter||function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function c(e){try{u(r[\"throw\"](e))}catch(t){i(t)}}function u(e){e.done?n(e.value):o(e.value).then(a,c)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},\"function\"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(e){return function(t){return u([e,t])}}function u(c){if(n)throw new TypeError(\"Generator is already executing.\");while(i&&(i=0,c[0]&&(a=0)),a)try{if(n=1,r&&(o=2&c[0]?r[\"return\"]:c[0]?r[\"throw\"]||((o=r[\"return\"])&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(u){c=[6,u],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}};Object.defineProperty(t,\"__esModule\",{value:!0}),t.GForceGPULayout=void 0;var a=n(\"W8mN\"),c=n(\"8nGZ\"),u=n(\"oZYf\"),s=n(\"Ypl+\"),l=n(\"GdIf\"),f=n(\"s9w0\"),d=n(\"OIgp\"),h=function(e){function t(t){var n=e.call(this)||this;return n.maxIteration=1e3,n.edgeStrength=200,n.nodeStrength=1e3,n.coulombDisScale=.005,n.damping=.9,n.maxSpeed=1e3,n.minMovement=.5,n.interval=.02,n.factor=1,n.linkDistance=1,n.gravity=10,n.workerEnabled=!1,n.nodes=[],n.edges=[],n.width=300,n.height=300,n.nodeMap={},n.nodeIdxMap={},n.updateCfg(t),n}return r(t,e),t.prototype.getDefaultCfg=function(){return{maxIteration:2e3,gravity:10,clustering:!1,clusterGravity:10}},t.prototype.execute=function(){return o(this,void 0,void 0,(function(){var e,t,n,r,o;return i(this,(function(i){switch(i.label){case 0:return e=this,t=e.nodes,t&&0!==t.length?(e.width||\"undefined\"===typeof window||(e.width=window.innerWidth),e.height||\"undefined\"===typeof window||(e.height=window.innerHeight),e.center||(e.center=[e.width/2,e.height/2]),n=e.center,1===t.length?(t[0].x=n[0],t[0].y=n[1],e.onLayoutEnd&&e.onLayoutEnd(),[2]):(r={},o={},t.forEach((function(t,n){(0,c.isNumber)(t.x)||(t.x=Math.random()*e.width),(0,c.isNumber)(t.y)||(t.y=Math.random()*e.height),r[t.id]=t,o[t.id]=n})),e.nodeMap=r,e.nodeIdxMap=o,e.nodeStrength=(0,s.proccessToFunc)(e.nodeStrength,1),e.edgeStrength=(0,s.proccessToFunc)(e.edgeStrength,1),[4,e.run()])):(e.onLayoutEnd&&e.onLayoutEnd(),[2]);case 1:return i.sent(),[2]}}))}))},t.prototype.executeWithWorker=function(e,t){var n=this,r=n.nodes,o=n.center;if(r&&0!==r.length){if(1===r.length)return r[0].x=o[0],void(r[0].y=o[1]);var i={},a={};r.forEach((function(e,t){(0,c.isNumber)(e.x)||(e.x=Math.random()*n.width),(0,c.isNumber)(e.y)||(e.y=Math.random()*n.height),i[e.id]=e,a[e.id]=t})),n.nodeMap=i,n.nodeIdxMap=a,n.nodeStrength=(0,s.proccessToFunc)(n.nodeStrength,1),n.edgeStrength=(0,s.proccessToFunc)(n.edgeStrength,1),n.run(e,t)}},t.prototype.run=function(e,t){return o(this,void 0,void 0,(function(){var n,r,a,h,p,v,g,m,y,b,x,w,O,E,S,j,k,_,C,M,A,N,T,I,P,L,D,R=this;return i(this,(function(F){switch(F.label){case 0:for(n=this,r=n.nodes,a=n.edges,h=n.maxIteration,n.width||\"undefined\"===typeof window||(n.width=window.innerWidth),n.height||\"undefined\"===typeof window||(n.height=window.innerHeight),p=r.length,n.linkDistance=(0,s.proccessToFunc)(n.linkDistance),n.edgeStrength=(0,s.proccessToFunc)(n.edgeStrength),v=(0,s.buildTextureDataWithTwoEdgeAttr)(r,a,n.linkDistance,n.edgeStrength),g=v.maxEdgePerVetex,m=v.array,n.degrees=(0,l.getDegree)(r.length,n.nodeIdxMap,a).map((function(e){return e.all})),y=[],b=[],x=[],w=[],O=[],E=[],S=[],n.getMass||(n.getMass=function(e){return n.degrees[n.nodeIdxMap[e.id]]||1}),j=n.gravity,k=n.center,r.forEach((function(e,t){y.push(n.getMass(e)),b.push(n.nodeStrength(e)),n.degrees[t]||(n.degrees[t]=0);var r=[k[0],k[1],j];if(n.getCenter){var o=n.getCenter(e,n.degrees[t]);o&&(0,c.isNumber)(o[0])&&(0,c.isNumber)(o[1])&&(0,c.isNumber)(o[2])&&(r=o)}x.push(r[0]),w.push(r[1]),O.push(r[2]),(0,c.isNumber)(e.fx)&&(0,c.isNumber)(e.fy)?(E.push(e.fx||.001),S.push(e.fy||.001)):(E.push(0),S.push(0))})),_=(0,s.arrayToTextureData)([y,n.degrees,b,E]),C=(0,s.arrayToTextureData)([x,w,O,S]),M=n.workerEnabled,A=M?u.World.create({canvas:e,engineOptions:{supportCompute:!0}}):u.World.create({engineOptions:{supportCompute:!0}}),N=n.onLayoutEnd,T=[],m.forEach((function(e){T.push(e)})),I=0;I<4;I++)T.push(0);return P=A.createKernel(f.gForceBundle).setDispatch([p,1,1]).setBinding({u_Data:m,u_damping:n.damping,u_maxSpeed:n.maxSpeed,u_minMovement:n.minMovement,u_coulombDisScale:n.coulombDisScale,u_factor:n.factor,u_NodeAttributeArray1:_,u_NodeAttributeArray2:C,MAX_EDGE_PER_VERTEX:g,VERTEX_COUNT:p,u_AveMovement:T,u_interval:n.interval}),L=A.createKernel(f.aveMovementBundle).setDispatch([1,1,1]).setBinding({u_Data:m,VERTEX_COUNT:p,u_AveMovement:[0,0,0,0]}),D=function(){return o(R,void 0,void 0,(function(){var o,a,c;return i(this,(function(i){switch(i.label){case 0:o=0,i.label=1;case 1:return o<h?[4,P.execute()]:[3,5];case 2:return i.sent(),L.setBinding({u_Data:P}),[4,L.execute()];case 3:i.sent(),a=Math.max(.02,n.interval-.002*o),P.setBinding({u_interval:a,u_AveMovement:L}),i.label=4;case 4:return o++,[3,1];case 5:return[4,P.getOutput()];case 6:return c=i.sent(),e?t.postMessage({type:d.LAYOUT_MESSAGE.GPUEND,vertexEdgeData:c}):r.forEach((function(e,t){var n=c[4*t],r=c[4*t+1];e.x=n,e.y=r})),N&&N(),[2]}}))}))},[4,D()];case 1:return F.sent(),[2]}}))}))},t.prototype.getType=function(){return\"gForce-gpu\"},t}(a.Base);t.GForceGPULayout=h},A90E:function(e,t,n){var r=n(\"6sVZ\"),o=n(\"V6Ve\"),i=Object.prototype,a=i.hasOwnProperty;function c(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&\"constructor\"!=n&&t.push(n);return t}e.exports=c},AJpP:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return b}));var r=n(\"FER5\"),o=n(\"LuSS\"),i=2,a=.16,c=.05,u=.05,s=.15,l=5,f=4,d=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function h(e){var t=e.r,n=e.g,o=e.b,i=Object(r[\"h\"])(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function p(e){var t=e.r,n=e.g,o=e.b;return\"#\".concat(Object(r[\"f\"])(t,n,o,!1))}function v(e,t,n){var r=n/100,o={r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b};return o}function g(e,t,n){var r;return r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-i*t:Math.round(e.h)+i*t:n?Math.round(e.h)+i*t:Math.round(e.h)-i*t,r<0?r+=360:r>=360&&(r-=360),r}function m(e,t,n){return 0===e.h&&0===e.s?e.s:(r=n?e.s-a*t:t===f?e.s+a:e.s+c*t,r>1&&(r=1),n&&t===l&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function y(e,t,n){var r;return r=n?e.v+u*t:e.v-s*t,r>1&&(r=1),Number(r.toFixed(2))}function b(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=Object(o[\"a\"])(e),i=l;i>0;i-=1){var a=h(r),c=p(Object(o[\"a\"])({h:g(a,i,!0),s:m(a,i,!0),v:y(a,i,!0)}));n.push(c)}n.push(p(r));for(var u=1;u<=f;u+=1){var s=h(r),b=p(Object(o[\"a\"])({h:g(s,u),s:m(s,u),v:y(s,u)}));n.push(b)}return\"dark\"===t.theme?d.map((function(e){var r=e.index,i=e.opacity,a=p(v(Object(o[\"a\"])(t.backgroundColor||\"#141414\"),Object(o[\"a\"])(n[r]),100*i));return a})):n}var x={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\"},w={},O={};Object.keys(x).forEach((function(e){w[e]=b(x[e]),w[e].primary=w[e][5],O[e]=b(x[e],{theme:\"dark\",backgroundColor:\"#141414\"}),O[e].primary=O[e][5]}));w.red,w.volcano,w.gold,w.orange,w.yellow,w.lime,w.green,w.cyan,w.blue,w.geekblue,w.purple,w.magenta,w.grey},ALsQ:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"OLod\"))})(0,(function(e){return e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function n(e,t,n,r){var o,i=this._iv;i?(o=i.slice(0),this._iv=void 0):o=this._prevBlock,r.encryptBlock(o,0);for(var a=0;a<n;a++)e[t+a]^=o[a]}return t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize;n.call(this,e,t,o,r),this._prevBlock=e.slice(t,t+o)}}),t.Decryptor=t.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize,i=e.slice(t,t+o);n.call(this,e,t,o,r),this._prevBlock=i}}),t}(),e.mode.CFB}))},AM7I:function(e,t,n){\"use strict\";var r,o=SyntaxError,i=Function,a=TypeError,c=function(e){try{return i('\"use strict\"; return ('+e+\").constructor;\")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},\"\")}catch(M){u=null}var s=function(){throw new a},l=u?function(){try{return s}catch(e){try{return u(arguments,\"callee\").get}catch(t){return s}}}():s,f=n(\"UVaH\")(),d=Object.getPrototypeOf||function(e){return e.__proto__},h={},p=\"undefined\"===typeof Uint8Array?r:d(Uint8Array),v={\"%AggregateError%\":\"undefined\"===typeof AggregateError?r:AggregateError,\"%Array%\":Array,\"%ArrayBuffer%\":\"undefined\"===typeof ArrayBuffer?r:ArrayBuffer,\"%ArrayIteratorPrototype%\":f?d([][Symbol.iterator]()):r,\"%AsyncFromSyncIteratorPrototype%\":r,\"%AsyncFunction%\":h,\"%AsyncGenerator%\":h,\"%AsyncGeneratorFunction%\":h,\"%AsyncIteratorPrototype%\":h,\"%Atomics%\":\"undefined\"===typeof Atomics?r:Atomics,\"%BigInt%\":\"undefined\"===typeof BigInt?r:BigInt,\"%Boolean%\":Boolean,\"%DataView%\":\"undefined\"===typeof DataView?r:DataView,\"%Date%\":Date,\"%decodeURI%\":decodeURI,\"%decodeURIComponent%\":decodeURIComponent,\"%encodeURI%\":encodeURI,\"%encodeURIComponent%\":encodeURIComponent,\"%Error%\":Error,\"%eval%\":eval,\"%EvalError%\":EvalError,\"%Float32Array%\":\"undefined\"===typeof Float32Array?r:Float32Array,\"%Float64Array%\":\"undefined\"===typeof Float64Array?r:Float64Array,\"%FinalizationRegistry%\":\"undefined\"===typeof FinalizationRegistry?r:FinalizationRegistry,\"%Function%\":i,\"%GeneratorFunction%\":h,\"%Int8Array%\":\"undefined\"===typeof Int8Array?r:Int8Array,\"%Int16Array%\":\"undefined\"===typeof Int16Array?r:Int16Array,\"%Int32Array%\":\"undefined\"===typeof Int32Array?r:Int32Array,\"%isFinite%\":isFinite,\"%isNaN%\":isNaN,\"%IteratorPrototype%\":f?d(d([][Symbol.iterator]())):r,\"%JSON%\":\"object\"===typeof JSON?JSON:r,\"%Map%\":\"undefined\"===typeof Map?r:Map,\"%MapIteratorPrototype%\":\"undefined\"!==typeof Map&&f?d((new Map)[Symbol.iterator]()):r,\"%Math%\":Math,\"%Number%\":Number,\"%Object%\":Object,\"%parseFloat%\":parseFloat,\"%parseInt%\":parseInt,\"%Promise%\":\"undefined\"===typeof Promise?r:Promise,\"%Proxy%\":\"undefined\"===typeof Proxy?r:Proxy,\"%RangeError%\":RangeError,\"%ReferenceError%\":ReferenceError,\"%Reflect%\":\"undefined\"===typeof Reflect?r:Reflect,\"%RegExp%\":RegExp,\"%Set%\":\"undefined\"===typeof Set?r:Set,\"%SetIteratorPrototype%\":\"undefined\"!==typeof Set&&f?d((new Set)[Symbol.iterator]()):r,\"%SharedArrayBuffer%\":\"undefined\"===typeof SharedArrayBuffer?r:SharedArrayBuffer,\"%String%\":String,\"%StringIteratorPrototype%\":f?d(\"\"[Symbol.iterator]()):r,\"%Symbol%\":f?Symbol:r,\"%SyntaxError%\":o,\"%ThrowTypeError%\":l,\"%TypedArray%\":p,\"%TypeError%\":a,\"%Uint8Array%\":\"undefined\"===typeof Uint8Array?r:Uint8Array,\"%Uint8ClampedArray%\":\"undefined\"===typeof Uint8ClampedArray?r:Uint8ClampedArray,\"%Uint16Array%\":\"undefined\"===typeof Uint16Array?r:Uint16Array,\"%Uint32Array%\":\"undefined\"===typeof Uint32Array?r:Uint32Array,\"%URIError%\":URIError,\"%WeakMap%\":\"undefined\"===typeof WeakMap?r:WeakMap,\"%WeakRef%\":\"undefined\"===typeof WeakRef?r:WeakRef,\"%WeakSet%\":\"undefined\"===typeof WeakSet?r:WeakSet},g=function e(t){var n;if(\"%AsyncFunction%\"===t)n=c(\"async function () {}\");else if(\"%GeneratorFunction%\"===t)n=c(\"function* () {}\");else if(\"%AsyncGeneratorFunction%\"===t)n=c(\"async function* () {}\");else if(\"%AsyncGenerator%\"===t){var r=e(\"%AsyncGeneratorFunction%\");r&&(n=r.prototype)}else if(\"%AsyncIteratorPrototype%\"===t){var o=e(\"%AsyncGenerator%\");o&&(n=d(o.prototype))}return v[t]=n,n},m={\"%ArrayBufferPrototype%\":[\"ArrayBuffer\",\"prototype\"],\"%ArrayPrototype%\":[\"Array\",\"prototype\"],\"%ArrayProto_entries%\":[\"Array\",\"prototype\",\"entries\"],\"%ArrayProto_forEach%\":[\"Array\",\"prototype\",\"forEach\"],\"%ArrayProto_keys%\":[\"Array\",\"prototype\",\"keys\"],\"%ArrayProto_values%\":[\"Array\",\"prototype\",\"values\"],\"%AsyncFunctionPrototype%\":[\"AsyncFunction\",\"prototype\"],\"%AsyncGenerator%\":[\"AsyncGeneratorFunction\",\"prototype\"],\"%AsyncGeneratorPrototype%\":[\"AsyncGeneratorFunction\",\"prototype\",\"prototype\"],\"%BooleanPrototype%\":[\"Boolean\",\"prototype\"],\"%DataViewPrototype%\":[\"DataView\",\"prototype\"],\"%DatePrototype%\":[\"Date\",\"prototype\"],\"%ErrorPrototype%\":[\"Error\",\"prototype\"],\"%EvalErrorPrototype%\":[\"EvalError\",\"prototype\"],\"%Float32ArrayPrototype%\":[\"Float32Array\",\"prototype\"],\"%Float64ArrayPrototype%\":[\"Float64Array\",\"prototype\"],\"%FunctionPrototype%\":[\"Function\",\"prototype\"],\"%Generator%\":[\"GeneratorFunction\",\"prototype\"],\"%GeneratorPrototype%\":[\"GeneratorFunction\",\"prototype\",\"prototype\"],\"%Int8ArrayPrototype%\":[\"Int8Array\",\"prototype\"],\"%Int16ArrayPrototype%\":[\"Int16Array\",\"prototype\"],\"%Int32ArrayPrototype%\":[\"Int32Array\",\"prototype\"],\"%JSONParse%\":[\"JSON\",\"parse\"],\"%JSONStringify%\":[\"JSON\",\"stringify\"],\"%MapPrototype%\":[\"Map\",\"prototype\"],\"%NumberPrototype%\":[\"Number\",\"prototype\"],\"%ObjectPrototype%\":[\"Object\",\"prototype\"],\"%ObjProto_toString%\":[\"Object\",\"prototype\",\"toString\"],\"%ObjProto_valueOf%\":[\"Object\",\"prototype\",\"valueOf\"],\"%PromisePrototype%\":[\"Promise\",\"prototype\"],\"%PromiseProto_then%\":[\"Promise\",\"prototype\",\"then\"],\"%Promise_all%\":[\"Promise\",\"all\"],\"%Promise_reject%\":[\"Promise\",\"reject\"],\"%Promise_resolve%\":[\"Promise\",\"resolve\"],\"%RangeErrorPrototype%\":[\"RangeError\",\"prototype\"],\"%ReferenceErrorPrototype%\":[\"ReferenceError\",\"prototype\"],\"%RegExpPrototype%\":[\"RegExp\",\"prototype\"],\"%SetPrototype%\":[\"Set\",\"prototype\"],\"%SharedArrayBufferPrototype%\":[\"SharedArrayBuffer\",\"prototype\"],\"%StringPrototype%\":[\"String\",\"prototype\"],\"%SymbolPrototype%\":[\"Symbol\",\"prototype\"],\"%SyntaxErrorPrototype%\":[\"SyntaxError\",\"prototype\"],\"%TypedArrayPrototype%\":[\"TypedArray\",\"prototype\"],\"%TypeErrorPrototype%\":[\"TypeError\",\"prototype\"],\"%Uint8ArrayPrototype%\":[\"Uint8Array\",\"prototype\"],\"%Uint8ClampedArrayPrototype%\":[\"Uint8ClampedArray\",\"prototype\"],\"%Uint16ArrayPrototype%\":[\"Uint16Array\",\"prototype\"],\"%Uint32ArrayPrototype%\":[\"Uint32Array\",\"prototype\"],\"%URIErrorPrototype%\":[\"URIError\",\"prototype\"],\"%WeakMapPrototype%\":[\"WeakMap\",\"prototype\"],\"%WeakSetPrototype%\":[\"WeakSet\",\"prototype\"]},y=n(\"D3zA\"),b=n(\"oNNP\"),x=y.call(Function.call,Array.prototype.concat),w=y.call(Function.apply,Array.prototype.splice),O=y.call(Function.call,String.prototype.replace),E=y.call(Function.call,String.prototype.slice),S=y.call(Function.call,RegExp.prototype.exec),j=/[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g,k=/\\\\(\\\\)?/g,_=function(e){var t=E(e,0,1),n=E(e,-1);if(\"%\"===t&&\"%\"!==n)throw new o(\"invalid intrinsic syntax, expected closing `%`\");if(\"%\"===n&&\"%\"!==t)throw new o(\"invalid intrinsic syntax, expected opening `%`\");var r=[];return O(e,j,(function(e,t,n,o){r[r.length]=n?O(o,k,\"$1\"):t||e})),r},C=function(e,t){var n,r=e;if(b(m,r)&&(n=m[r],r=\"%\"+n[0]+\"%\"),b(v,r)){var i=v[r];if(i===h&&(i=g(r)),\"undefined\"===typeof i&&!t)throw new a(\"intrinsic \"+e+\" exists, but is not available. Please file an issue!\");return{alias:n,name:r,value:i}}throw new o(\"intrinsic \"+e+\" does not exist!\")};e.exports=function(e,t){if(\"string\"!==typeof e||0===e.length)throw new a(\"intrinsic name must be a non-empty string\");if(arguments.length>1&&\"boolean\"!==typeof t)throw new a('\"allowMissing\" argument must be a boolean');if(null===S(/^%?[^%]*%?$/,e))throw new o(\"`%` may not be present anywhere but at the beginning and end of the intrinsic name\");var n=_(e),r=n.length>0?n[0]:\"\",i=C(\"%\"+r+\"%\",t),c=i.name,s=i.value,l=!1,f=i.alias;f&&(r=f[0],w(n,x([0,1],f)));for(var d=1,h=!0;d<n.length;d+=1){var p=n[d],g=E(p,0,1),m=E(p,-1);if(('\"'===g||\"'\"===g||\"`\"===g||'\"'===m||\"'\"===m||\"`\"===m)&&g!==m)throw new o(\"property names with quotes must have matching quotes\");if(\"constructor\"!==p&&h||(l=!0),r+=\".\"+p,c=\"%\"+r+\"%\",b(v,c))s=v[c];else if(null!=s){if(!(p in s)){if(!t)throw new a(\"base intrinsic for \"+e+\" exists, but the property is not available.\");return}if(u&&d+1>=n.length){var y=u(s,p);h=!!y,s=h&&\"get\"in y&&!(\"originalValue\"in y.get)?y.get:s[p]}else h=b(s,p),s=s[p];h&&!l&&(v[c]=s)}}return s}},\"AO7/\":function(e,t,n){var r=n(\"tiKp\"),o=r(\"toStringTag\"),i={};i[o]=\"z\",e.exports=\"[object z]\"===String(i)},AP2z:function(e,t,n){var r=n(\"nmnc\"),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,c=r?r.toStringTag:void 0;function u(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(u){}var o=a.call(e);return r&&(t?e[c]=n:delete e[c]),o}e.exports=u},AVoK:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"Cg3G\");r({target:\"Set\",proto:!0,real:!0,forced:o},{deleteAll:function(){return i.apply(this,arguments)}})},AlPw:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=o(n(\"FscW\"));function o(e){return e&&e.__esModule?e:{default:e}}var i=function(e,t){for(var n=(0,r.default)(e,t),o=[],i=n.length,a=0;a<i;a+=1){o[a]=[];for(var c=0;c<i;c+=1)a===c?o[a][c]=0:0!==n[a][c]&&n[a][c]?o[a][c]=n[a][c]:o[a][c]=1/0}for(var u=0;u<i;u+=1)for(a=0;a<i;a+=1)for(c=0;c<i;c+=1)o[a][c]>o[a][u]+o[u][c]&&(o[a][c]=o[a][u]+o[u][c]);return o},a=i;t.default=a},AqCL:function(e,t){e.exports=Array.isArray||function(e){return\"[object Array]\"==Object.prototype.toString.call(e)}},AwgR:function(e,t,n){var r=n(\"I+eb\"),o=n(\"eDxR\"),i=n(\"glrk\"),a=o.has,c=o.toKey;r({target:\"Reflect\",stat:!0},{hasOwnMetadata:function(e,t){var n=arguments.length<3?void 0:c(arguments[2]);return a(e,i(t),n)}})},B2Vs:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=i(n(\"2cX4\")),o=n(\"3P6T\");function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t,n){\"number\"!==typeof t&&(t=1e-6),\"number\"!==typeof n&&(n=.85);for(var i,a=1,c=0,u=1e3,s=e.nodes,l=void 0===s?[]:s,f=e.edges,d=void 0===f?[]:f,h=l.length,p={},v={},g=0;g<h;++g){var m=l[g],y=m.id;p[y]=1/h,v[y]=1/h}var b=(0,r.default)(e);while(u>0&&a>t){c=0;for(g=0;g<h;++g){m=l[g],y=m.id;if(i=0,0===b[m.id].inDegree)p[y]=0;else{for(var x=(0,o.getNeighbors)(y,d,\"source\"),w=0;w<x.length;++w){var O=x[w],E=b[O].outDegree;E>0&&(i+=v[O]/E)}p[y]=n*i,c+=p[y]}}c=(1-c)/h,a=0;for(g=0;g<h;++g){m=l[g],y=m.id;i=p[y]+c,a+=Math.abs(i-v[y]),v[y]=i}u-=1}return v},c=a;t.default=c},B33U:function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__awaiter||function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function c(e){try{u(r[\"throw\"](e))}catch(t){i(t)}}function u(e){e.done?n(e.value):o(e.value).then(a,c)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},\"function\"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(e){return function(t){return u([e,t])}}function u(c){if(n)throw new TypeError(\"Generator is already executing.\");while(i&&(i=0,c[0]&&(a=0)),a)try{if(n=1,r&&(o=2&c[0]?r[\"return\"]:c[0]?r[\"throw\"]||((o=r[\"return\"])&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(u){c=[6,u],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}};Object.defineProperty(t,\"__esModule\",{value:!0}),t.FruchtermanGPULayout=void 0;var a=n(\"W8mN\"),c=n(\"8nGZ\"),u=n(\"oZYf\"),s=n(\"Ypl+\"),l=n(\"GPwj\"),f=n(\"OIgp\"),d=function(e){function t(t){var n=e.call(this)||this;return n.maxIteration=1e3,n.gravity=10,n.speed=1,n.clustering=!1,n.clusterField=\"cluster\",n.clusterGravity=10,n.workerEnabled=!1,n.nodes=[],n.edges=[],n.width=300,n.height=300,n.nodeMap={},n.nodeIdxMap={},n.updateCfg(t),n}return r(t,e),t.prototype.getDefaultCfg=function(){return{maxIteration:1e3,gravity:10,speed:1,clustering:!1,clusterGravity:10}},t.prototype.execute=function(){return o(this,void 0,void 0,(function(){var e,t,n,r,o,a=this;return i(this,(function(i){switch(i.label){case 0:return e=this,t=e.nodes,t&&0!==t.length?(e.width||\"undefined\"===typeof window||(e.width=window.innerWidth),e.height||\"undefined\"===typeof window||(e.height=window.innerHeight),e.center||(e.center=[e.width/2,e.height/2]),n=e.center,1===t.length?(t[0].x=n[0],t[0].y=n[1],e.onLayoutEnd&&e.onLayoutEnd(),[2]):(r={},o={},t.forEach((function(e,t){(0,c.isNumber)(e.x)||(e.x=Math.random()*a.width),(0,c.isNumber)(e.y)||(e.y=Math.random()*a.height),r[e.id]=e,o[e.id]=t})),e.nodeMap=r,e.nodeIdxMap=o,[4,e.run()])):(e.onLayoutEnd&&e.onLayoutEnd(),[2]);case 1:return i.sent(),[2]}}))}))},t.prototype.executeWithWorker=function(e,t){return o(this,void 0,void 0,(function(){var n,r,o,a,u,s=this;return i(this,(function(i){switch(i.label){case 0:return n=this,r=n.nodes,o=n.center,r&&0!==r.length?1===r.length?(r[0].x=o[0],r[0].y=o[1],[2]):(a={},u={},r.forEach((function(e,t){(0,c.isNumber)(e.x)||(e.x=Math.random()*s.width),(0,c.isNumber)(e.y)||(e.y=Math.random()*s.height),a[e.id]=e,u[e.id]=t})),n.nodeMap=a,n.nodeIdxMap=u,[4,n.run(e,t)]):[2];case 1:return i.sent(),[2]}}))}))},t.prototype.run=function(e,t){return o(this,void 0,void 0,(function(){var n,r,a,d,h,p,v,g,m,y,b,x,w,O,E,S,j,k,_,C,M,A,N,T,I,P,L=this;return i(this,(function(D){switch(D.label){case 0:for(n=this,r=n.nodes,a=n.edges,d=n.maxIteration,h=n.center,p=n.height*n.width,v=Math.sqrt(p)/10,g=p/(r.length+1),m=Math.sqrt(g),y=n.speed,b=n.clustering,x=(0,s.attributesToTextureData)([n.clusterField],r),w=x.array,O=x.count,r.forEach((function(e,t){var n=0,r=0;(0,c.isNumber)(e.fx)&&(0,c.isNumber)(e.fy)&&(n=e.fx||.001,r=e.fy||.001),w[4*t+1]=n,w[4*t+2]=r})),E=r.length,S=(0,s.buildTextureData)(r,a),j=S.maxEdgePerVetex,k=S.array,_=n.workerEnabled,C=_?u.World.create({canvas:e,engineOptions:{supportCompute:!0}}):u.World.create({engineOptions:{supportCompute:!0}}),M=n.onLayoutEnd,A=[],N=0;N<O;N++)A.push(0,0,0,0);return T=C.createKernel(l.fruchtermanBundle).setDispatch([E,1,1]).setBinding({u_Data:k,u_K:m,u_K2:g,u_Gravity:n.gravity,u_ClusterGravity:n.clusterGravity||n.gravity||1,u_Speed:y,u_MaxDisplace:v,u_Clustering:b?1:0,u_Center:h,u_AttributeArray:w,u_ClusterCenters:A,MAX_EDGE_PER_VERTEX:j,VERTEX_COUNT:E}),b&&(I=C.createKernel(l.clusterBundle).setDispatch([O,1,1]).setBinding({u_Data:k,u_NodeAttributes:w,u_ClusterCenters:A,VERTEX_COUNT:E,CLUSTER_COUNT:O})),P=function(){return o(L,void 0,void 0,(function(){var n,o;return i(this,(function(i){switch(i.label){case 0:n=0,i.label=1;case 1:return n<d?[4,T.execute()]:[3,6];case 2:return i.sent(),b?(I.setBinding({u_Data:T}),[4,I.execute()]):[3,4];case 3:i.sent(),T.setBinding({u_ClusterCenters:I}),i.label=4;case 4:T.setBinding({u_MaxDisplace:v*=.99}),i.label=5;case 5:return n++,[3,1];case 6:return[4,T.getOutput()];case 7:return o=i.sent(),e?t.postMessage({type:f.LAYOUT_MESSAGE.GPUEND,vertexEdgeData:o}):r.forEach((function(e,t){var n=o[4*t],r=o[4*t+1];e.x=n,e.y=r})),M&&M(),[2]}}))}))},[4,P()];case 1:return D.sent(),[2]}}))}))},t.prototype.getType=function(){return\"fruchterman-gpu\"},t}(a.Base);t.FruchtermanGPULayout=d},B6y2:function(e,t,n){var r=n(\"I+eb\"),o=n(\"b1O7\").values;r({target:\"Object\",stat:!0},{values:function(e){return o(e)}})},B8du:function(e,t){function n(){return!1}e.exports=n},BGb9:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"0GbY\"),a=n(\"glrk\"),c=n(\"HAuM\"),u=n(\"SEBh\"),s=n(\"ImZN\");r({target:\"Set\",proto:!0,real:!0,forced:o},{union:function(e){var t=a(this),n=new(u(t,i(\"Set\")))(t);return s(e,c(n.add),n),n}})},BIHw:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"or9q\"),i=n(\"ewvW\"),a=n(\"UMSQ\"),c=n(\"ppGB\"),u=n(\"ZfDv\");r({target:\"Array\",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),n=a(t.length),r=u(t,0);return r.length=o(r,t,t,n,0,void 0===e?1:c(e)),r}})},BRni:function(e,t,n){(function(t,n){e.exports=n()})(\"undefined\"!==typeof self&&self,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e[\"default\"]}:function(){return e};return n.d(t,\"a\",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p=\"\",n(n.s=31)}([function(e,t,n){\"use strict\";var r=n(4);t[\"a\"]=function(e){return Array.isArray?Array.isArray(e):Object(r[\"a\"])(e,\"Array\")}},function(e,t,n){\"use strict\";var r=function(e){return null!==e&&\"function\"!==typeof e&&isFinite(e.length)};t[\"a\"]=r},function(e,t,n){\"use strict\";var r=n(0),o=n(13);function i(e,t){var n;if(e)if(Object(r[\"a\"])(e)){for(var i=0,a=e.length;i<a;i++)if(n=t(e[i],i),!1===n)break}else if(Object(o[\"a\"])(e))for(var c in e)if(e.hasOwnProperty(c)&&(n=t(e[c],c),!1===n))break}t[\"a\"]=i},function(e,t,n){\"use strict\";var r=n(4);t[\"a\"]=function(e){return Object(r[\"a\"])(e,\"Function\")}},function(e,t,n){\"use strict\";var r={}.toString,o=function(e,t){return r.call(e)===\"[object \"+t+\"]\"};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(4),o=function(e){return Object(r[\"a\"])(e,\"Number\")};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=function(e){return null===e||void 0===e};t[\"a\"]=r},function(e,t,n){var r=n(33),o=r.mix;e.exports={assign:o}},function(e,t,n){\"use strict\";var r=n(4);t[\"a\"]=function(e){return Object(r[\"a\"])(e,\"String\")}},function(e,t,n){\"use strict\";var r=n(15),o=n(4),i=function(e){if(!Object(r[\"a\"])(e)||!Object(o[\"a\"])(e,\"Object\"))return!1;if(null===Object.getPrototypeOf(e))return!0;var t=e;while(null!==Object.getPrototypeOf(t))t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t};t[\"a\"]=i},function(e,t,n){\"use strict\";var r=n(6);t[\"a\"]=function(e){return Object(r[\"a\"])(e)?\"\":e.toString()}},function(e,t,n){var r=n(18),o=function(){function e(e,t){void 0===t&&(t={});var n=this;n.options=t,n.rootNode=r(e,t)}var t=e.prototype;return t.execute=function(){throw new Error(\"please override this method\")},e}();e.exports=o},function(e,t,n){\"use strict\";var r=n(1),o=function(e,t){return!!Object(r[\"a\"])(e)&&e.indexOf(t)>-1};t[\"a\"]=o},function(e,t,n){\"use strict\";t[\"a\"]=function(e){var t=typeof e;return null!==e&&\"object\"===t||\"function\"===t}},function(e,t,n){\"use strict\";var r=n(2),o=n(1),i=function(e,t){if(!Object(o[\"a\"])(e))return e;var n=[];return Object(r[\"a\"])(e,(function(e,r){t(e,r)&&n.push(e)})),n};t[\"a\"]=i},function(e,t,n){\"use strict\";var r=function(e){return\"object\"===typeof e&&null!==e};t[\"a\"]=r},function(e,t,n){\"use strict\";function r(e,t){for(var n in t)t.hasOwnProperty(n)&&\"constructor\"!==n&&void 0!==t[n]&&(e[n]=t[n])}function o(e,t,n,o){return t&&r(e,t),n&&r(e,n),o&&r(e,o),e}t[\"a\"]=o},function(e,t,n){var r=n(30),o=[\"LR\",\"RL\",\"TB\",\"BT\",\"H\",\"V\"],i=[\"LR\",\"RL\",\"H\"],a=function(e){return i.indexOf(e)>-1},c=o[0];e.exports=function(e,t,n){var i=t.direction||c;if(t.isHorizontal=a(i),i&&-1===o.indexOf(i))throw new TypeError(\"Invalid direction: \"+i);if(i===o[0])n(e,t);else if(i===o[1])n(e,t),e.right2left();else if(i===o[2])n(e,t);else if(i===o[3])n(e,t),e.bottom2top();else if(i===o[4]||i===o[5]){var u=r(e,t),s=u.left,l=u.right;n(s,t),n(l,t),t.isHorizontal?s.right2left():s.bottom2top(),l.translate(s.x-l.x,s.y-l.y),e.x=s.x,e.y=l.y;var f=e.getBoundingBox();t.isHorizontal?f.top<0&&e.translate(0,-f.top):f.left<0&&e.translate(-f.left,0)}var d=t.fixedRoot;return void 0===d&&(d=!0),d&&e.translate(-(e.x+e.width/2+e.hgap),-(e.y+e.height/2+e.vgap)),e}},function(e,t,n){var r=n(7),o=18,i=2*o,a=o,c={getId:function(e){return e.id||e.name},getPreH:function(e){return e.preH||0},getPreV:function(e){return e.preV||0},getHGap:function(e){return e.hgap||a},getVGap:function(e){return e.vgap||a},getChildren:function(e){return e.children},getHeight:function(e){return e.height||i},getWidth:function(e){var t=e.label||\" \";return e.width||t.split(\"\").length*o}};function u(e,t){var n=this;if(n.vgap=n.hgap=0,e instanceof u)return e;n.data=e;var r=t.getHGap(e),o=t.getVGap(e);return n.preH=t.getPreH(e),n.preV=t.getPreV(e),n.width=t.getWidth(e),n.height=t.getHeight(e),n.width+=n.preH,n.height+=n.preV,n.id=t.getId(e),n.x=n.y=0,n.depth=0,n.children||(n.children=[]),n.addGap(r,o),n}function s(e,t,n){void 0===t&&(t={}),t=r.assign({},c,t);var o,i=new u(e,t),a=[i];if(!n&&!e.collapsed)while(o=a.shift())if(!o.data.collapsed){var s=t.getChildren(o.data),l=s?s.length:0;if(o.children=new Array(l),s&&l)for(var f=0;f<l;f++){var d=new u(s[f],t);o.children[f]=d,a.push(d),d.parent=o,d.depth=o.depth+1}}return i}r.assign(u.prototype,{isRoot:function(){return 0===this.depth},isLeaf:function(){return 0===this.children.length},addGap:function(e,t){var n=this;n.hgap+=e,n.vgap+=t,n.width+=2*e,n.height+=2*t},eachNode:function(e){var t,n=this,r=[n];while(t=r.shift())e(t),r=t.children.concat(r)},DFTraverse:function(e){this.eachNode(e)},BFTraverse:function(e){var t,n=this,r=[n];while(t=r.shift())e(t),r=r.concat(t.children)},getBoundingBox:function(){var e={left:Number.MAX_VALUE,top:Number.MAX_VALUE,width:0,height:0};return this.eachNode((function(t){e.left=Math.min(e.left,t.x),e.top=Math.min(e.top,t.y),e.width=Math.max(e.width,t.x+t.width),e.height=Math.max(e.height,t.y+t.height)})),e},translate:function(e,t){void 0===e&&(e=0),void 0===t&&(t=0),this.eachNode((function(n){n.x+=e,n.y+=t,n.x+=n.preH,n.y+=n.preV}))},right2left:function(){var e=this,t=e.getBoundingBox();e.eachNode((function(e){e.x=e.x-2*(e.x-t.left)-e.width})),e.translate(t.width,0)},bottom2top:function(){var e=this,t=e.getBoundingBox();e.eachNode((function(e){e.y=e.y-2*(e.y-t.top)-e.height})),e.translate(0,t.height)}}),e.exports=s},function(e,t,n){\"use strict\";var r=n(6),o=n(20);function i(e,t){var n=Object(o[\"a\"])(t),i=n.length;if(Object(r[\"a\"])(e))return!i;for(var a=0;a<i;a+=1){var c=n[a];if(t[c]!==e[c]||!(c in e))return!1}return!0}t[\"a\"]=i},function(e,t,n){\"use strict\";var r=n(2),o=n(3),i=Object.keys?function(e){return Object.keys(e)}:function(e){var t=[];return Object(r[\"a\"])(e,(function(n,r){Object(o[\"a\"])(e)&&\"prototype\"===r||t.push(r)})),t};t[\"a\"]=i},function(e,t,n){\"use strict\";var r=n(1),o=Array.prototype.splice,i=function(e,t){if(!Object(r[\"a\"])(e))return[];var n=e?t.length:0,i=n-1;while(n--){var a=void 0,c=t[n];n!==i&&c===a||(a=c,o.call(e,c,1))}return e};t[\"a\"]=i},function(e,t,n){\"use strict\";var r=n(12),o=n(2),i=function(e){var t=[];return Object(o[\"a\"])(e,(function(e){Object(r[\"a\"])(t,e)||t.push(e)})),t};t[\"a\"]=i},function(e,t,n){\"use strict\";var r=n(0),o=n(3),i=n(24),a=function(e,t){if(!t)return{0:e};if(!Object(o[\"a\"])(t)){var n=Object(r[\"a\"])(t)?t:t.replace(/\\s+/g,\"\").split(\"*\");t=function(e){for(var t=\"_\",r=0,o=n.length;r<o;r++)t+=e[n[r]]&&e[n[r]].toString();return t}}var a=Object(i[\"a\"])(e,t);return a};t[\"a\"]=a},function(e,t,n){\"use strict\";var r=n(2),o=n(0),i=n(3),a=Object.prototype.hasOwnProperty;function c(e,t){if(!t||!Object(o[\"a\"])(e))return{};var n,c={},u=Object(i[\"a\"])(t)?t:function(e){return e[t]};return Object(r[\"a\"])(e,(function(e){n=u(e),a.call(c,n)?c[n].push(e):c[n]=[e]})),c}t[\"a\"]=c},function(e,t,n){\"use strict\";t[\"a\"]=function(e,t){return e.hasOwnProperty(t)}},function(e,t,n){\"use strict\";var r=n(2),o=n(3),i=Object.values?function(e){return Object.values(e)}:function(e){var t=[];return Object(r[\"a\"])(e,(function(n,r){Object(o[\"a\"])(e)&&\"prototype\"===r||t.push(n)})),t};t[\"a\"]=i},function(e,t,n){\"use strict\";var r={}.toString,o=function(e){return r.call(e).replace(/^\\[object /,\"\").replace(/]$/,\"\")};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=Object.prototype,o=function(e){var t=e&&e.constructor,n=\"function\"===typeof t&&t.prototype||r;return e===n};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(15),o=n(1),i=n(8),a=function(e,t){if(e===t)return!0;if(!e||!t)return!1;if(Object(i[\"a\"])(e)||Object(i[\"a\"])(t))return!1;if(Object(o[\"a\"])(e)||Object(o[\"a\"])(t)){if(e.length!==t.length)return!1;for(var n=!0,c=0;c<e.length;c++)if(n=a(e[c],t[c]),!n)break;return n}if(Object(r[\"a\"])(e)||Object(r[\"a\"])(t)){var u=Object.keys(e),s=Object.keys(t);if(u.length!==s.length)return!1;for(n=!0,c=0;c<u.length;c++)if(n=a(e[u[c]],t[u[c]]),!n)break;return n}return!1};t[\"a\"]=a},function(e,t,n){var r=n(18);e.exports=function(e,t){for(var n=r(e.data,t,!0),o=r(e.data,t,!0),i=e.children.length,a=Math.round(i/2),c=t.getSide||function(e,t){return t<a?\"right\":\"left\"},u=0;u<i;u++){var s=e.children[u],l=c(s,u);\"right\"===l?o.children.push(s):n.children.push(s)}return n.eachNode((function(e){e.isRoot()||(e.side=\"left\")})),o.eachNode((function(e){e.isRoot()||(e.side=\"right\")})),{left:n,right:o}}},function(e,t,n){var r={compactBox:n(32),dendrogram:n(114),indented:n(116),mindmap:n(118)};e.exports=r},function(e,t,n){function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var o=n(11),i=n(113),a=n(17),c=n(7),u=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.execute=function(){var e=this;return a(e.rootNode,e.options,i)},t}(o),s={};function l(e,t){return t=c.assign({},s,t),new u(e,t).execute()}e.exports=l},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(12);n.d(t,\"contains\",(function(){return r[\"a\"]})),n.d(t,\"includes\",(function(){return r[\"a\"]}));var o=n(34);n.d(t,\"difference\",(function(){return o[\"a\"]}));var i=n(35);n.d(t,\"find\",(function(){return i[\"a\"]}));var a=n(36);n.d(t,\"findIndex\",(function(){return a[\"a\"]}));var c=n(37);n.d(t,\"firstValue\",(function(){return c[\"a\"]}));var u=n(38);n.d(t,\"flatten\",(function(){return u[\"a\"]}));var s=n(39);n.d(t,\"flattenDeep\",(function(){return s[\"a\"]}));var l=n(40);n.d(t,\"getRange\",(function(){return l[\"a\"]}));var f=n(41);n.d(t,\"pull\",(function(){return f[\"a\"]}));var d=n(21);n.d(t,\"pullAt\",(function(){return d[\"a\"]}));var h=n(42);n.d(t,\"reduce\",(function(){return h[\"a\"]}));var p=n(43);n.d(t,\"remove\",(function(){return p[\"a\"]}));var v=n(44);n.d(t,\"sortBy\",(function(){return v[\"a\"]}));var g=n(45);n.d(t,\"union\",(function(){return g[\"a\"]}));var m=n(22);n.d(t,\"uniq\",(function(){return m[\"a\"]}));var y=n(46);n.d(t,\"valuesOfKey\",(function(){return y[\"a\"]}));var b=n(47);n.d(t,\"head\",(function(){return b[\"a\"]}));var x=n(48);n.d(t,\"last\",(function(){return x[\"a\"]}));var w=n(49);n.d(t,\"startsWith\",(function(){return w[\"a\"]}));var O=n(50);n.d(t,\"endsWith\",(function(){return O[\"a\"]}));var E=n(14);n.d(t,\"filter\",(function(){return E[\"a\"]}));var S=n(51);n.d(t,\"every\",(function(){return S[\"a\"]}));var j=n(52);n.d(t,\"some\",(function(){return j[\"a\"]}));var k=n(53);n.d(t,\"group\",(function(){return k[\"a\"]}));var _=n(24);n.d(t,\"groupBy\",(function(){return _[\"a\"]}));var C=n(23);n.d(t,\"groupToMap\",(function(){return C[\"a\"]}));var M=n(54);n.d(t,\"getWrapBehavior\",(function(){return M[\"a\"]}));var A=n(55);n.d(t,\"wrapBehavior\",(function(){return A[\"a\"]}));var N=n(56);n.d(t,\"number2color\",(function(){return N[\"a\"]}));var T=n(57);n.d(t,\"parseRadius\",(function(){return T[\"a\"]}));var I=n(58);n.d(t,\"clamp\",(function(){return I[\"a\"]}));var P=n(59);n.d(t,\"fixedBase\",(function(){return P[\"a\"]}));var L=n(60);n.d(t,\"isDecimal\",(function(){return L[\"a\"]}));var D=n(61);n.d(t,\"isEven\",(function(){return D[\"a\"]}));var R=n(62);n.d(t,\"isInteger\",(function(){return R[\"a\"]}));var F=n(63);n.d(t,\"isNegative\",(function(){return F[\"a\"]}));var B=n(64);n.d(t,\"isNumberEqual\",(function(){return B[\"a\"]}));var z=n(65);n.d(t,\"isOdd\",(function(){return z[\"a\"]}));var U=n(66);n.d(t,\"isPositive\",(function(){return U[\"a\"]}));var G=n(67);n.d(t,\"maxBy\",(function(){return G[\"a\"]}));var V=n(68);n.d(t,\"minBy\",(function(){return V[\"a\"]}));var W=n(69);n.d(t,\"mod\",(function(){return W[\"a\"]}));var H=n(70);n.d(t,\"toDegree\",(function(){return H[\"a\"]}));var Y=n(71);n.d(t,\"toInteger\",(function(){return Y[\"a\"]}));var X=n(72);n.d(t,\"toRadian\",(function(){return X[\"a\"]}));var q=n(73);n.d(t,\"forIn\",(function(){return q[\"a\"]}));var K=n(25);n.d(t,\"has\",(function(){return K[\"a\"]}));var Z=n(74);n.d(t,\"hasKey\",(function(){return Z[\"a\"]}));var $=n(75);n.d(t,\"hasValue\",(function(){return $[\"a\"]}));var Q=n(20);n.d(t,\"keys\",(function(){return Q[\"a\"]}));var J=n(19);n.d(t,\"isMatch\",(function(){return J[\"a\"]}));var ee=n(26);n.d(t,\"values\",(function(){return ee[\"a\"]}));var te=n(76);n.d(t,\"lowerCase\",(function(){return te[\"a\"]}));var ne=n(77);n.d(t,\"lowerFirst\",(function(){return ne[\"a\"]}));var re=n(78);n.d(t,\"substitute\",(function(){return re[\"a\"]}));var oe=n(79);n.d(t,\"upperCase\",(function(){return oe[\"a\"]}));var ie=n(80);n.d(t,\"upperFirst\",(function(){return ie[\"a\"]}));var ae=n(27);n.d(t,\"getType\",(function(){return ae[\"a\"]}));var ce=n(81);n.d(t,\"isArguments\",(function(){return ce[\"a\"]}));var ue=n(0);n.d(t,\"isArray\",(function(){return ue[\"a\"]}));var se=n(1);n.d(t,\"isArrayLike\",(function(){return se[\"a\"]}));var le=n(82);n.d(t,\"isBoolean\",(function(){return le[\"a\"]}));var fe=n(83);n.d(t,\"isDate\",(function(){return fe[\"a\"]}));var de=n(84);n.d(t,\"isError\",(function(){return de[\"a\"]}));var he=n(3);n.d(t,\"isFunction\",(function(){return he[\"a\"]}));var pe=n(85);n.d(t,\"isFinite\",(function(){return pe[\"a\"]}));var ve=n(6);n.d(t,\"isNil\",(function(){return ve[\"a\"]}));var ge=n(86);n.d(t,\"isNull\",(function(){return ge[\"a\"]}));var me=n(5);n.d(t,\"isNumber\",(function(){return me[\"a\"]}));var ye=n(13);n.d(t,\"isObject\",(function(){return ye[\"a\"]}));var be=n(15);n.d(t,\"isObjectLike\",(function(){return be[\"a\"]}));var xe=n(9);n.d(t,\"isPlainObject\",(function(){return xe[\"a\"]}));var we=n(28);n.d(t,\"isPrototype\",(function(){return we[\"a\"]}));var Oe=n(87);n.d(t,\"isRegExp\",(function(){return Oe[\"a\"]}));var Ee=n(8);n.d(t,\"isString\",(function(){return Ee[\"a\"]}));var Se=n(4);n.d(t,\"isType\",(function(){return Se[\"a\"]}));var je=n(88);n.d(t,\"isUndefined\",(function(){return je[\"a\"]}));var ke=n(89);n.d(t,\"isElement\",(function(){return ke[\"a\"]}));var _e=n(90);n.d(t,\"requestAnimationFrame\",(function(){return _e[\"a\"]}));var Ce=n(91);n.d(t,\"clearAnimationFrame\",(function(){return Ce[\"a\"]}));var Me=n(92);n.d(t,\"augment\",(function(){return Me[\"a\"]}));var Ae=n(93);n.d(t,\"clone\",(function(){return Ae[\"a\"]}));var Ne=n(94);n.d(t,\"debounce\",(function(){return Ne[\"a\"]}));var Te=n(95);n.d(t,\"memoize\",(function(){return Te[\"a\"]}));var Ie=n(96);n.d(t,\"deepMix\",(function(){return Ie[\"a\"]}));var Pe=n(2);n.d(t,\"each\",(function(){return Pe[\"a\"]}));var Le=n(97);n.d(t,\"extend\",(function(){return Le[\"a\"]}));var De=n(98);n.d(t,\"indexOf\",(function(){return De[\"a\"]}));var Re=n(99);n.d(t,\"isEmpty\",(function(){return Re[\"a\"]}));var Fe=n(29);n.d(t,\"isEqual\",(function(){return Fe[\"a\"]}));var Be=n(100);n.d(t,\"isEqualWith\",(function(){return Be[\"a\"]}));var ze=n(101);n.d(t,\"map\",(function(){return ze[\"a\"]}));var Ue=n(102);n.d(t,\"mapValues\",(function(){return Ue[\"a\"]}));var Ge=n(16);n.d(t,\"mix\",(function(){return Ge[\"a\"]})),n.d(t,\"assign\",(function(){return Ge[\"a\"]}));var Ve=n(103);n.d(t,\"get\",(function(){return Ve[\"a\"]}));var We=n(104);n.d(t,\"set\",(function(){return We[\"a\"]}));var He=n(105);n.d(t,\"pick\",(function(){return He[\"a\"]}));var Ye=n(106);n.d(t,\"throttle\",(function(){return Ye[\"a\"]}));var Xe=n(107);n.d(t,\"toArray\",(function(){return Xe[\"a\"]}));var qe=n(10);n.d(t,\"toString\",(function(){return qe[\"a\"]}));var Ke=n(108);n.d(t,\"uniqueId\",(function(){return Ke[\"a\"]}));var Ze=n(109);n.d(t,\"noop\",(function(){return Ze[\"a\"]}));var $e=n(110);n.d(t,\"identity\",(function(){return $e[\"a\"]}));var Qe=n(111);n.d(t,\"size\",(function(){return Qe[\"a\"]}));var Je=n(112);n.d(t,\"Cache\",(function(){return Je[\"a\"]}))},function(e,t,n){\"use strict\";var r=n(14),o=n(12),i=function(e,t){return void 0===t&&(t=[]),Object(r[\"a\"])(e,(function(e){return!Object(o[\"a\"])(t,e)}))};t[\"a\"]=i},function(e,t,n){\"use strict\";var r=n(3),o=n(19),i=n(0),a=n(9);function c(e,t){if(!Object(i[\"a\"])(e))return null;var n;if(Object(r[\"a\"])(t)&&(n=t),Object(a[\"a\"])(t)&&(n=function(e){return Object(o[\"a\"])(e,t)}),n)for(var c=0;c<e.length;c+=1)if(n(e[c]))return e[c];return null}t[\"a\"]=c},function(e,t,n){\"use strict\";function r(e,t,n){void 0===n&&(n=0);for(var r=n;r<e.length;r++)if(t(e[r],r))return r;return-1}t[\"a\"]=r},function(e,t,n){\"use strict\";var r=n(6),o=n(0),i=function(e,t){for(var n=null,i=0;i<e.length;i++){var a=e[i],c=a[t];if(!Object(r[\"a\"])(c)){n=Object(o[\"a\"])(c)?c[0]:c;break}}return n};t[\"a\"]=i},function(e,t,n){\"use strict\";var r=n(0),o=function(e){if(!Object(r[\"a\"])(e))return[];for(var t=[],n=0;n<e.length;n++)t=t.concat(e[n]);return t};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(0),o=function(e,t){if(void 0===t&&(t=[]),Object(r[\"a\"])(e))for(var n=0;n<e.length;n+=1)o(e[n],t);else t.push(e);return t};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(0),o=n(14),i=function(e){if(e=Object(o[\"a\"])(e,(function(e){return!isNaN(e)})),!e.length)return{min:0,max:0};if(Object(r[\"a\"])(e[0])){for(var t=[],n=0;n<e.length;n++)t=t.concat(e[n]);e=t}var i=Math.max.apply(null,e),a=Math.min.apply(null,e);return{min:a,max:i}};t[\"a\"]=i},function(e,t,n){\"use strict\";var r=Array.prototype,o=r.splice,i=r.indexOf,a=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++){var a=t[r],c=-1;while((c=i.call(e,a))>-1)o.call(e,c,1)}return e};t[\"a\"]=a},function(e,t,n){\"use strict\";var r=n(2),o=n(0),i=n(9),a=function(e,t,n){if(!Object(o[\"a\"])(e)&&!Object(i[\"a\"])(e))return e;var a=n;return Object(r[\"a\"])(e,(function(e,n){a=t(a,e,n)})),a};t[\"a\"]=a},function(e,t,n){\"use strict\";var r=n(1),o=n(21),i=function(e,t){var n=[];if(!Object(r[\"a\"])(e))return n;var i=-1,a=[],c=e.length;while(++i<c){var u=e[i];t(u,i,e)&&(n.push(u),a.push(i))}return Object(o[\"a\"])(e,a),n};t[\"a\"]=i},function(e,t,n){\"use strict\";var r=n(0),o=n(8),i=n(3);function a(e,t){var n;if(Object(i[\"a\"])(t))n=function(e,n){return t(e)-t(n)};else{var a=[];Object(o[\"a\"])(t)?a.push(t):Object(r[\"a\"])(t)&&(a=t),n=function(e,t){for(var n=0;n<a.length;n+=1){var r=a[n];if(e[r]>t[r])return 1;if(e[r]<t[r])return-1}return 0}}return e.sort(n),e}t[\"a\"]=a},function(e,t,n){\"use strict\";var r=n(22),o=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Object(r[\"a\"])([].concat.apply([],e))};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(2),o=n(0),i=n(6);t[\"a\"]=function(e,t){var n=[],a={};return e.forEach((function(e){var c=e[t];Object(i[\"a\"])(c)||(Object(o[\"a\"])(c)||(c=[c]),Object(r[\"a\"])(c,(function(e){a[e]||(n.push(e),a[e]=!0)})))})),n}},function(e,t,n){\"use strict\";t[\"a\"]=o;var r=n(1);function o(e){if(Object(r[\"a\"])(e))return e[0]}},function(e,t,n){\"use strict\";t[\"a\"]=o;var r=n(1);function o(e){if(Object(r[\"a\"])(e)){var t=e;return t[t.length-1]}}},function(e,t,n){\"use strict\";var r=n(0),o=n(8);function i(e,t){return!(!Object(r[\"a\"])(e)&&!Object(o[\"a\"])(e))&&e[0]===t}t[\"a\"]=i},function(e,t,n){\"use strict\";var r=n(0),o=n(8);function i(e,t){return!(!Object(r[\"a\"])(e)&&!Object(o[\"a\"])(e))&&e[e.length-1]===t}t[\"a\"]=i},function(e,t,n){\"use strict\";var r=function(e,t){for(var n=0;n<e.length;n++)if(!t(e[n],n))return!1;return!0};t[\"a\"]=r},function(e,t,n){\"use strict\";var r=function(e,t){for(var n=0;n<e.length;n++)if(t(e[n],n))return!0;return!1};t[\"a\"]=r},function(e,t,n){\"use strict\";var r=n(23);t[\"a\"]=function(e,t){if(!t)return[e];var n=Object(r[\"a\"])(e,t),o=[];for(var i in n)o.push(n[i]);return o}},function(e,t,n){\"use strict\";function r(e,t){return e[\"_wrap_\"+t]}t[\"a\"]=r},function(e,t,n){\"use strict\";function r(e,t){if(e[\"_wrap_\"+t])return e[\"_wrap_\"+t];var n=function(n){e[t](n)};return e[\"_wrap_\"+t]=n,n}t[\"a\"]=r},function(e,t,n){\"use strict\";var r={};function o(e){var t=r[e];if(!t){for(var n=e.toString(16),o=n.length;o<6;o++)n=\"0\"+n;t=\"#\"+n,r[e]=t}return t}t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(0);function o(e){var t=0,n=0,o=0,i=0;return Object(r[\"a\"])(e)?1===e.length?t=n=o=i=e[0]:2===e.length?(t=o=e[0],n=i=e[1]):3===e.length?(t=e[0],n=i=e[1],o=e[2]):(t=e[0],n=e[1],o=e[2],i=e[3]):t=n=o=i=e,{r1:t,r2:n,r3:o,r4:i}}t[\"a\"]=o},function(e,t,n){\"use strict\";var r=function(e,t,n){return e<t?t:e>n?n:e};t[\"a\"]=r},function(e,t,n){\"use strict\";var r=function(e,t){var n=t.toString(),r=n.indexOf(\".\");if(-1===r)return Math.round(e);var o=n.substr(r+1).length;return o>20&&(o=20),parseFloat(e.toFixed(o))};t[\"a\"]=r},function(e,t,n){\"use strict\";var r=n(5),o=function(e){return Object(r[\"a\"])(e)&&e%1!==0};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(5),o=function(e){return Object(r[\"a\"])(e)&&e%2===0};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(5),o=Number.isInteger?Number.isInteger:function(e){return Object(r[\"a\"])(e)&&e%1===0};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(5),o=function(e){return Object(r[\"a\"])(e)&&e<0};t[\"a\"]=o},function(e,t,n){\"use strict\";t[\"a\"]=o;var r=1e-5;function o(e,t,n){return void 0===n&&(n=r),Math.abs(e-t)<n}},function(e,t,n){\"use strict\";var r=n(5),o=function(e){return Object(r[\"a\"])(e)&&e%2!==0};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(5),o=function(e){return Object(r[\"a\"])(e)&&e>0};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(2),o=n(0),i=n(3);t[\"a\"]=function(e,t){if(Object(o[\"a\"])(e)){var n,a,c=e[0];return n=Object(i[\"a\"])(t)?t(e[0]):e[0][t],Object(r[\"a\"])(e,(function(e){a=Object(i[\"a\"])(t)?t(e):e[t],a>n&&(c=e,n=a)})),c}}},function(e,t,n){\"use strict\";var r=n(2),o=n(0),i=n(3);t[\"a\"]=function(e,t){if(Object(o[\"a\"])(e)){var n,a,c=e[0];return n=Object(i[\"a\"])(t)?t(e[0]):e[0][t],Object(r[\"a\"])(e,(function(e){a=Object(i[\"a\"])(t)?t(e):e[t],a<n&&(c=e,n=a)})),c}}},function(e,t,n){\"use strict\";var r=function(e,t){return(e%t+t)%t};t[\"a\"]=r},function(e,t,n){\"use strict\";var r=180/Math.PI,o=function(e){return r*e};t[\"a\"]=o},function(e,t,n){\"use strict\";t[\"a\"]=parseInt},function(e,t,n){\"use strict\";var r=Math.PI/180,o=function(e){return r*e};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(2);t[\"a\"]=r[\"a\"]},function(e,t,n){\"use strict\";var r=n(25);t[\"a\"]=r[\"a\"]},function(e,t,n){\"use strict\";var r=n(12),o=n(26);t[\"a\"]=function(e,t){return Object(r[\"a\"])(Object(o[\"a\"])(e),t)}},function(e,t,n){\"use strict\";var r=n(10),o=function(e){return Object(r[\"a\"])(e).toLowerCase()};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(10),o=function(e){var t=Object(r[\"a\"])(e);return t.charAt(0).toLowerCase()+t.substring(1)};t[\"a\"]=o},function(e,t,n){\"use strict\";function r(e,t){return e&&t?e.replace(/\\\\?\\{([^{}]+)\\}/g,(function(e,n){return\"\\\\\"===e.charAt(0)?e.slice(1):void 0===t[n]?\"\":t[n]})):e}t[\"a\"]=r},function(e,t,n){\"use strict\";var r=n(10),o=function(e){return Object(r[\"a\"])(e).toUpperCase()};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(10),o=function(e){var t=Object(r[\"a\"])(e);return t.charAt(0).toUpperCase()+t.substring(1)};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(4),o=function(e){return Object(r[\"a\"])(e,\"Arguments\")};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(4),o=function(e){return Object(r[\"a\"])(e,\"Boolean\")};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(4),o=function(e){return Object(r[\"a\"])(e,\"Date\")};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(4),o=function(e){return Object(r[\"a\"])(e,\"Error\")};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(5);t[\"a\"]=function(e){return Object(r[\"a\"])(e)&&isFinite(e)}},function(e,t,n){\"use strict\";var r=function(e){return null===e};t[\"a\"]=r},function(e,t,n){\"use strict\";var r=n(4),o=function(e){return Object(r[\"a\"])(e,\"RegExp\")};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=function(e){return void 0===e};t[\"a\"]=r},function(e,t,n){\"use strict\";var r=function(e){return e instanceof Element||e instanceof HTMLDocument};t[\"a\"]=r},function(e,t,n){\"use strict\";function r(e){var t=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,16)};return t(e)}t[\"a\"]=r},function(e,t,n){\"use strict\";function r(e){var t=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout;t(e)}t[\"a\"]=r},function(e,t,n){\"use strict\";var r=n(16),o=n(3),i=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],i=1;i<e.length;i++){var a=e[i];Object(o[\"a\"])(a)&&(a=a.prototype),Object(r[\"a\"])(n.prototype,a)}};t[\"a\"]=i},function(e,t,n){\"use strict\";var r=n(0),o=function(e){if(\"object\"!==typeof e||null===e)return e;var t;if(Object(r[\"a\"])(e)){t=[];for(var n=0,i=e.length;n<i;n++)\"object\"===typeof e[n]&&null!=e[n]?t[n]=o(e[n]):t[n]=e[n]}else for(var a in t={},e)\"object\"===typeof e[a]&&null!=e[a]?t[a]=o(e[a]):t[a]=e[a];return t};t[\"a\"]=o},function(e,t,n){\"use strict\";function r(e,t,n){var r;return function(){var o=this,i=arguments,a=function(){r=null,n||e.apply(o,i)},c=n&&!r;clearTimeout(r),r=setTimeout(a,t),c&&e.apply(o,i)}}t[\"a\"]=r},function(e,t,n){\"use strict\";var r=n(3);t[\"a\"]=function(e,t){if(!Object(r[\"a\"])(e))throw new TypeError(\"Expected a function\");var n=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var c=e.apply(this,r);return a.set(i,c),c};return n.cache=new Map,n}},function(e,t,n){\"use strict\";var r=n(0),o=n(9),i=5;function a(e,t,n,c){for(var u in n=n||0,c=c||i,t)if(t.hasOwnProperty(u)){var s=t[u];null!==s&&Object(o[\"a\"])(s)?(Object(o[\"a\"])(e[u])||(e[u]={}),n<c?a(e[u],s,n+1,c):e[u]=t[u]):Object(r[\"a\"])(s)?(e[u]=[],e[u]=e[u].concat(s)):void 0!==s&&(e[u]=s)}}var c=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r+=1)a(e,t[r]);return e};t[\"a\"]=c},function(e,t,n){\"use strict\";var r=n(16),o=n(3),i=function(e,t,n,i){Object(o[\"a\"])(t)||(n=t,t=e,e=function(){});var a=Object.create?function(e,t){return Object.create(e,{constructor:{value:t}})}:function(e,t){function n(){}n.prototype=e;var r=new n;return r.constructor=t,r},c=a(t.prototype,e);return e.prototype=Object(r[\"a\"])(c,e.prototype),e.superclass=a(t.prototype,t),Object(r[\"a\"])(c,n),Object(r[\"a\"])(e,i),e};t[\"a\"]=i},function(e,t,n){\"use strict\";var r=n(1),o=function(e,t){if(!Object(r[\"a\"])(e))return-1;var n=Array.prototype.indexOf;if(n)return n.call(e,t);for(var o=-1,i=0;i<e.length;i++)if(e[i]===t){o=i;break}return o};t[\"a\"]=o},function(e,t,n){\"use strict\";var r=n(6),o=n(1),i=n(27),a=n(28),c=Object.prototype.hasOwnProperty;function u(e){if(Object(r[\"a\"])(e))return!0;if(Object(o[\"a\"])(e))return!e.length;var t=Object(i[\"a\"])(e);if(\"Map\"===t||\"Set\"===t)return!e.size;if(Object(a[\"a\"])(e))return!Object.keys(e).length;for(var n in e)if(c.call(e,n))return!1;return!0}t[\"a\"]=u},function(e,t,n){\"use strict\";var r=n(3),o=n(29);t[\"a\"]=function(e,t,n){return Object(r[\"a\"])(n)?!!n(e,t):Object(o[\"a\"])(e,t)}},function(e,t,n){\"use strict\";var r=n(2),o=n(1),i=function(e,t){if(!Object(o[\"a\"])(e))return e;var n=[];return Object(r[\"a\"])(e,(function(e,r){n.push(t(e,r))})),n};t[\"a\"]=i},function(e,t,n){\"use strict\";var r=n(6),o=n(13),i=function(e){return e};t[\"a\"]=function(e,t){void 0===t&&(t=i);var n={};return Object(o[\"a\"])(e)&&!Object(r[\"a\"])(e)&&Object.keys(e).forEach((function(r){n[r]=t(e[r],r)})),n}},function(e,t,n){\"use strict\";var r=n(8);t[\"a\"]=function(e,t,n){var o=0,i=Object(r[\"a\"])(t)?t.split(\".\"):t;while(e&&o<i.length)e=e[i[o++]];return void 0===e||o<i.length?n:e}},function(e,t,n){\"use strict\";var r=n(13),o=n(8),i=n(5);t[\"a\"]=function(e,t,n){var a=e,c=Object(o[\"a\"])(t)?t.split(\".\"):t;return c.forEach((function(e,t){t<c.length-1?(Object(r[\"a\"])(a[e])||(a[e]=Object(i[\"a\"])(c[t+1])?[]:{}),a=a[e]):a[e]=n})),e}},function(e,t,n){\"use strict\";var r=n(2),o=n(9),i=Object.prototype.hasOwnProperty;t[\"a\"]=function(e,t){if(null===e||!Object(o[\"a\"])(e))return{};var n={};return Object(r[\"a\"])(t,(function(t){i.call(e,t)&&(n[t]=e[t])})),n}},function(e,t,n){\"use strict\";t[\"a\"]=function(e,t,n){var r,o,i,a,c=0;n||(n={});var u=function(){c=!1===n.leading?0:Date.now(),r=null,a=e.apply(o,i),r||(o=i=null)},s=function(){var s=Date.now();c||!1!==n.leading||(c=s);var l=t-(s-c);return o=this,i=arguments,l<=0||l>t?(r&&(clearTimeout(r),r=null),c=s,a=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(u,l)),a};return s.cancel=function(){clearTimeout(r),c=0,r=o=i=null},s}},function(e,t,n){\"use strict\";var r=n(1);t[\"a\"]=function(e){return Object(r[\"a\"])(e)?Array.prototype.slice.call(e):[]}},function(e,t,n){\"use strict\";var r={};t[\"a\"]=function(e){return e=e||\"g\",r[e]?r[e]+=1:r[e]=1,e+r[e]}},function(e,t,n){\"use strict\";t[\"a\"]=function(){}},function(e,t,n){\"use strict\";t[\"a\"]=function(e){return e}},function(e,t,n){\"use strict\";t[\"a\"]=i;var r=n(6),o=n(1);function i(e){return Object(r[\"a\"])(e)?0:Object(o[\"a\"])(e)?e.length:Object.keys(e).length}},function(e,t,n){\"use strict\";var r=function(){function e(){this.map={}}return e.prototype.has=function(e){return void 0!==this.map[e]},e.prototype.get=function(e,t){var n=this.map[e];return void 0===n?t:n},e.prototype.set=function(e,t){this.map[e]=t},e.prototype.clear=function(){this.map={}},e.prototype.delete=function(e){delete this.map[e]},e.prototype.size=function(){return Object.keys(this.map).length},e}();t[\"a\"]=r},function(e,t){function n(e,t,n,r){void 0===r&&(r=[]);var o=this;o.w=e||0,o.h=t||0,o.y=n||0,o.x=0,o.c=r||[],o.cs=r.length,o.prelim=0,o.mod=0,o.shift=0,o.change=0,o.tl=null,o.tr=null,o.el=null,o.er=null,o.msel=0,o.mser=0}function r(e,t,n){n?e.y+=t:e.x+=t,e.children.forEach((function(e){r(e,t,n)}))}function o(e,t){var n=t?e.y:e.x;return e.children.forEach((function(e){n=Math.min(o(e,t),n)})),n}function i(e,t){var n=o(e,t);r(e,-n,t)}function a(e,t,n){n?t.y=e.x:t.x=e.x,e.c.forEach((function(e,r){a(e,t.children[r],n)}))}function c(e,t,n){void 0===n&&(n=0),t?(e.x=n,n+=e.width):(e.y=n,n+=e.height),e.children.forEach((function(e){c(e,t,n)}))}n.fromNode=function(e,t){if(!e)return null;var r=[];return e.children.forEach((function(e){r.push(n.fromNode(e,t))})),t?new n(e.height,e.width,e.x,r):new n(e.width,e.height,e.y,r)},e.exports=function(e,t){void 0===t&&(t={});var r=t.isHorizontal;function o(e){if(0!==e.cs){o(e.c[0]);for(var t=x(h(e.c[0].el),0,null),n=1;n<e.cs;++n){o(e.c[n]);var r=h(e.c[n].er);s(e,n,t),t=x(r,n,t)}g(e),u(e)}else u(e)}function u(e){0===e.cs?(e.el=e,e.er=e,e.msel=e.mser=0):(e.el=e.c[0].el,e.msel=e.c[0].msel,e.er=e.c[e.cs-1].er,e.mser=e.c[e.cs-1].mser)}function s(e,t,n){var r=e.c[t-1],o=r.mod,i=e.c[t],a=i.mod;while(null!==r&&null!==i){h(r)>n.low&&(n=n.nxt);var c=o+r.prelim+r.w-(a+i.prelim);c>0&&(a+=c,l(e,t,n.index,c));var u=h(r),s=h(i);u<=s&&(r=d(r),null!==r&&(o+=r.mod)),u>=s&&(i=f(i),null!==i&&(a+=i.mod))}!r&&i?p(e,t,i,a):r&&!i&&v(e,t,r,o)}function l(e,t,n,r){e.c[t].mod+=r,e.c[t].msel+=r,e.c[t].mser+=r,y(e,t,n,r)}function f(e){return 0===e.cs?e.tl:e.c[0]}function d(e){return 0===e.cs?e.tr:e.c[e.cs-1]}function h(e){return e.y+e.h}function p(e,t,n,r){var o=e.c[0].el;o.tl=n;var i=r-n.mod-e.c[0].msel;o.mod+=i,o.prelim-=i,e.c[0].el=e.c[t].el,e.c[0].msel=e.c[t].msel}function v(e,t,n,r){var o=e.c[t].er;o.tr=n;var i=r-n.mod-e.c[t].mser;o.mod+=i,o.prelim-=i,e.c[t].er=e.c[t-1].er,e.c[t].mser=e.c[t-1].mser}function g(e){e.prelim=(e.c[0].prelim+e.c[0].mod+e.c[e.cs-1].mod+e.c[e.cs-1].prelim+e.c[e.cs-1].w)/2-e.w/2}function m(e,t){t+=e.mod,e.x=e.prelim+t,b(e);for(var n=0;n<e.cs;n++)m(e.c[n],t)}function y(e,t,n,r){if(n!==t-1){var o=t-n;e.c[n+1].shift+=r/o,e.c[t].shift-=r/o,e.c[t].change-=r-r/o}}function b(e){for(var t=0,n=0,r=0;r<e.cs;r++)t+=e.c[r].shift,n+=t+e.c[r].change,e.c[r].mod+=n}function x(e,t,n){while(null!==n&&e>=n.low)n=n.nxt;return{low:e,index:t,nxt:n}}c(e,r);var w=n.fromNode(e,r);return o(w),m(w,0),a(w,e,r),i(e,r),e}},function(e,t,n){function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var o=n(11),i=n(115),a=n(17),c=n(7),u=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.execute=function(){var e=this;return e.rootNode.width=0,a(e.rootNode,e.options,i)},t}(o),s={};function l(e,t){return t=c.assign({},s,t),new u(e,t).execute()}e.exports=l},function(e,t,n){var r=n(7);function o(e,t){void 0===e&&(e=0),void 0===t&&(t=[]);var n=this;n.x=n.y=0,n.leftChild=n.rightChild=null,n.height=0,n.children=t}var i={isHorizontal:!0,nodeSep:20,nodeSize:20,rankSep:200,subTreeSep:10};function a(e,t,n){n?(t.x=e.x,t.y=e.y):(t.x=e.y,t.y=e.x),e.children.forEach((function(e,r){a(e,t.children[r],n)}))}e.exports=function(e,t){void 0===t&&(t={}),t=r.assign({},i,t);var n,c=0;function u(e){if(!e)return null;e.width=0,e.depth&&e.depth>c&&(c=e.depth);var t=e.children,n=t.length,r=new o(e.height,[]);return t.forEach((function(e,t){var o=u(e);r.children.push(o),0===t&&(r.leftChild=o),t===n-1&&(r.rightChild=o)})),r.originNode=e,r.isLeaf=e.isLeaf(),r}function s(e){if(e.isLeaf||0===e.children.length)e.drawingDepth=c;else{var t=e.children.map((function(e){return s(e)})),n=Math.min.apply(null,t);e.drawingDepth=n-1}return e.drawingDepth}function l(e){e.x=e.drawingDepth*t.rankSep,e.isLeaf?(e.y=0,n&&(e.y=n.y+n.height+t.nodeSep,e.originNode.parent!==n.originNode.parent&&(e.y+=t.subTreeSep)),n=e):(e.children.forEach((function(e){l(e)})),e.y=(e.leftChild.y+e.rightChild.y)/2)}var f=u(e);return s(f),l(f),a(f,e,t.isHorizontal),e}},function(e,t,n){function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var o=n(11),i=n(117),a=n(30),c=n(7),u=[\"LR\",\"RL\",\"H\"],s=u[0],l=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.execute=function(){var e=this,t=e.options,n=e.rootNode;t.isHorizontal=!0;var r=t.indent,o=void 0===r?20:r,c=t.dropCap,l=void 0===c||c,f=t.direction||s;if(f&&-1===u.indexOf(f))throw new TypeError(\"Invalid direction: \"+f);if(f===u[0])i(n,o,l);else if(f===u[1])i(n,o,l),n.right2left();else if(f===u[2]){var d=a(n,t),h=d.left,p=d.right;i(h,o,l),h.right2left(),i(p,o,l);var v=h.getBoundingBox();p.translate(v.width,0),n.x=p.x-n.width/2}return n},t}(o),f={};function d(e,t){return t=c.assign({},f,t),new l(e,t).execute()}e.exports=d},function(e,t){function n(e,t,n,r){var o=\"function\"===typeof n?n(e):n*e.depth;if(!r)try{if(e.id===e.parent.children[0].id)return e.x+=o,void(e.y=t?t.y:0)}catch(i){}e.x+=o,e.y=t?t.y+t.height:0}e.exports=function(e,t,r){var o=null;e.eachNode((function(e){n(e,o,t,r),o=e}))}},function(e,t,n){function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var o=n(11),i=n(119),a=n(17),c=n(7),u=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.execute=function(){var e=this;return a(e.rootNode,e.options,i)},t}(o),s={};function l(e,t){return t=c.assign({},s,t),new u(e,t).execute()}e.exports=l},function(e,t,n){var r=n(7);function o(e,t){var n=0;return e.children.length?e.children.forEach((function(e){n+=o(e,t)})):n=e.height,e._subTreeSep=t.getSubTreeSep(e.data),e.totalHeight=Math.max(e.height,n)+2*e._subTreeSep,e.totalHeight}function i(e){var t=e.children,n=t.length;if(n){t.forEach((function(e){i(e)}));var r=t[0],o=t[n-1],a=o.y-r.y+o.height,c=0;if(t.forEach((function(e){c+=e.totalHeight})),a>e.height)e.y=r.y+a/2-e.height/2;else if(1!==t.length||e.height>c){var u=e.y+(e.height-a)/2-r.y;t.forEach((function(e){e.translate(0,u)}))}else e.y=(r.y+r.height/2+o.y+o.height/2)/2-e.height/2}}var a={getSubTreeSep:function(){return 0}};e.exports=function(e,t){void 0===t&&(t={}),t=r.assign({},a,t),e.parent={x:0,width:0,height:0,y:0},e.BFTraverse((function(e){e.x=e.parent.x+e.parent.width})),e.parent=null,o(e,t),e.startY=0,e.y=e.totalHeight/2-e.height/2,e.eachNode((function(e){var t=e.children,n=t.length;if(n){var r=t[0];if(r.startY=e.startY+e._subTreeSep,1===n)r.y=e.y+e.height/2-r.height/2;else{r.y=r.startY+r.totalHeight/2-r.height/2;for(var o=1;o<n;o++){var i=t[o];i.startY=t[o-1].startY+t[o-1].totalHeight,i.y=i.startY+i.totalHeight/2-i.height/2}}}})),i(e)}}])}))},BTho:function(e,t,n){\"use strict\";var r=n(\"HAuM\"),o=n(\"hh1v\"),i=[].slice,a={},c=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]=\"a[\"+o+\"]\";a[t]=Function(\"C,a\",\"return new C(\"+r.join(\",\")+\")\")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?c(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},BU3w:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return p})),n.d(t,\"b\",(function(){return g}));var r=n(\"MNnm\"),o=n(\"l4aY\"),i=\"data-rc-order\",a=\"rc-util-key\",c=new Map;function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith(\"data-\")?t:\"data-\".concat(t):a}function s(e){if(e.attachTo)return e.attachTo;var t=document.querySelector(\"head\");return t||document.body}function l(e){return\"queue\"===e?\"prependQueue\":e?\"prepend\":\"append\"}function f(e){return Array.from((c.get(e)||e).children).filter((function(e){return\"STYLE\"===e.tagName}))}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Object(r[\"a\"])())return null;var n=t.csp,o=t.prepend,a=document.createElement(\"style\");a.setAttribute(i,l(o)),(null===n||void 0===n?void 0:n.nonce)&&(a.nonce=null===n||void 0===n?void 0:n.nonce),a.innerHTML=e;var c=s(t),u=c.firstChild;if(o){if(\"queue\"===o){var d=f(c).filter((function(e){return[\"prepend\",\"prependQueue\"].includes(e.getAttribute(i))}));if(d.length)return c.insertBefore(a,d[d.length-1].nextSibling),a}c.insertBefore(a,u)}else c.appendChild(a);return a}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=s(t);return f(n).find((function(n){return n.getAttribute(u(t))===e}))}function p(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=h(e,n);null===r||void 0===r||null===(t=r.parentNode)||void 0===t||t.removeChild(r)}function v(e,t){var n=c.get(e);if(!n||!Object(o[\"a\"])(document,n)){var r=d(\"\",t),i=r.parentNode;c.set(e,i),i.removeChild(r)}}function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=s(n);v(r,n);var o=h(t,n);if(o){var i,a,c;if((null===(i=n.csp)||void 0===i?void 0:i.nonce)&&o.nonce!==(null===(a=n.csp)||void 0===a?void 0:a.nonce))o.nonce=null===(c=n.csp)||void 0===c?void 0:c.nonce;return o.innerHTML!==e&&(o.innerHTML=e),o}var l=d(e,n);return l.setAttribute(u(n),t),l}},\"BX/b\":function(e,t,n){var r=n(\"/GqU\"),o=n(\"JBy8\").f,i={}.toString,a=\"object\"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return o(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&\"[object Window]\"==i.call(e)?c(e):o(r(e))}},Bnag:function(e,t){function n(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}e.exports=n,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},Bs8V:function(e,t,n){var r=n(\"g6v/\"),o=n(\"0eef\"),i=n(\"XGwC\"),a=n(\"/GqU\"),c=n(\"wE6v\"),u=n(\"UTVS\"),s=n(\"DPsx\"),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=c(t,!0),s)try{return l(e,t)}catch(n){}if(u(e,t))return i(!o.f.call(e,t),e[t])}},BsWD:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(\"a3WO\");function o(e,t){if(e){if(\"string\"===typeof e)return Object(r[\"a\"])(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===n&&e.constructor&&(n=e.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(e):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r[\"a\"])(e,t):void 0}}},BxdF:function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0}),t.ForceAtlas2Layout=void 0;var i=n(\"W8mN\"),a=n(\"8nGZ\"),c=o(n(\"+vmx\")),u=o(n(\"Qx/q\")),s=o(n(\"hx0n\")),l=function(e){function t(t){var n=e.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(t),n}return r(t,e),t.prototype.getDefaultCfg=function(){return{}},t.prototype.execute=function(){var e=this,t=e.nodes,n=e.onLayoutEnd,r=e.prune,o=e.maxIteration;e.width||\"undefined\"===typeof window||(e.width=window.innerWidth),e.height||\"undefined\"===typeof window||(e.height=window.innerHeight);for(var i=[],c=t.length,u=0;u<c;u+=1){var s=t[u],l=10,f=10;(0,a.isNumber)(s.size)&&(l=s.size,f=s.size),(0,a.isArray)(s.size)?(isNaN(s.size[0])||(l=s.size[0]),isNaN(s.size[1])||(f=s.size[1])):(0,a.isObject)(s.size)&&(l=s.size.width,f=s.size.height),e.getWidth&&!isNaN(e.getWidth(s))&&(f=e.getWidth(s)),e.getHeight&&!isNaN(e.getHeight(s))&&(l=e.getHeight(s));var d=Math.max(l,f);i.push(d)}void 0===e.barnesHut&&c>250&&(e.barnesHut=!0),void 0===e.prune&&c>100&&(e.prune=!0),0!==this.maxIteration||e.prune?0===this.maxIteration&&r&&(o=100,c<=200&&c>100?o=500:c>200&&(o=950),this.maxIteration=o):(o=250,c<=200&&c>100?o=1e3:c>200&&(o=1200),this.maxIteration=o),e.kr||(e.kr=50,c>100&&c<=500?e.kr=20:c>500&&(e.kr=1)),e.kg||(e.kg=20,c>100&&c<=500?e.kg=10:c>500&&(e.kg=1)),this.nodes=e.updateNodesByForces(i),n()},t.prototype.updateNodesByForces=function(e){for(var t=this,n=t.edges,r=t.maxIteration,o=t.nodes,i=n.filter((function(e){var t=(0,a.getEdgeTerminal)(e,\"source\"),n=(0,a.getEdgeTerminal)(e,\"target\");return t!==n})),c=o.length,u=i.length,s=[],l={},f={},d=[],h=0;h<c;h+=1)l[o[h].id]=h,s[h]=0,(void 0===o[h].x||isNaN(o[h].x))&&(o[h].x=1e3*Math.random()),(void 0===o[h].y||isNaN(o[h].y))&&(o[h].y=1e3*Math.random()),d.push({x:o[h].x,y:o[h].y});for(h=0;h<u;h+=1){for(var p=void 0,v=void 0,g=0,m=0,y=0;y<c;y+=1){var b=(0,a.getEdgeTerminal)(i[h],\"source\"),x=(0,a.getEdgeTerminal)(i[h],\"target\");o[y].id===b?(p=o[y],g=y):o[y].id===x&&(v=o[y],m=y),f[h]={sourceIdx:g,targetIdx:m}}p&&(s[l[p.id]]+=1),v&&(s[l[v.id]]+=1)}var w=r;if(o=this.iterate(w,l,f,u,s,e),t.prune){for(y=0;y<u;y+=1)s[f[y].sourceIdx]<=1?(o[f[y].sourceIdx].x=o[f[y].targetIdx].x,o[f[y].sourceIdx].y=o[f[y].targetIdx].y):s[f[y].targetIdx]<=1&&(o[f[y].targetIdx].x=o[f[y].sourceIdx].x,o[f[y].targetIdx].y=o[f[y].sourceIdx].y);t.prune=!1,t.barnesHut=!1,w=100,o=this.iterate(w,l,f,u,s,e)}return o},t.prototype.iterate=function(e,t,n,r,o,i){for(var a=this,u=a.nodes,s=a.kr,l=a.preventOverlap,f=a.barnesHut,d=u.length,h=0,p=100,v=e,g=50,m=[],y=[],b=[],x=0;x<d;x+=1)if(m[2*x]=0,m[2*x+1]=0,f){var w={id:x,rx:u[x].x,ry:u[x].y,mass:1,g:s,degree:o[x]};b[x]=new c.default(w)}while(v>0){for(x=0;x<d;x+=1)y[2*x]=m[2*x],y[2*x+1]=m[2*x+1],m[2*x]=0,m[2*x+1]=0;m=this.getAttrForces(v,g,r,t,n,o,i,m),m=f&&(l&&v>g||!l)?this.getOptRepGraForces(m,b,o):this.getRepGraForces(v,g,m,p,i,o);var O=this.updatePos(m,y,h,o);u=O.nodes,h=O.sg,v--,a.tick&&a.tick()}return u},t.prototype.getAttrForces=function(e,t,n,r,o,i,a,c){for(var u=this,s=u.nodes,l=u.preventOverlap,f=u.dissuadeHubs,d=u.mode,h=u.prune,p=0;p<n;p+=1){var v=s[o[p].sourceIdx],g=o[p].sourceIdx,m=s[o[p].targetIdx],y=o[p].targetIdx;if(!h||!(i[g]<=1||i[y]<=1)){var b=[m.x-v.x,m.y-v.y],x=Math.hypot(b[0],b[1]);x=x<1e-4?1e-4:x,b[0]=b[0]/x,b[1]=b[1]/x,l&&e<t&&(x=x-a[g]-a[y]);var w=x,O=w;\"linlog\"===d&&(w=Math.log(1+x),O=w),f&&(w=x/i[g],O=x/i[y]),l&&e<t&&x<=0?(w=0,O=0):l&&e<t&&x>0&&(w=x,O=x),c[2*r[v.id]]+=w*b[0],c[2*r[m.id]]-=O*b[0],c[2*r[v.id]+1]+=w*b[1],c[2*r[m.id]+1]-=O*b[1]}}return c},t.prototype.getRepGraForces=function(e,t,n,r,o,i){for(var a=this,c=a.nodes,u=a.preventOverlap,s=a.kr,l=a.kg,f=a.center,d=a.prune,h=c.length,p=0;p<h;p+=1){for(var v=p+1;v<h;v+=1)if(!d||!(i[p]<=1||i[v]<=1)){var g=[c[v].x-c[p].x,c[v].y-c[p].y],m=Math.hypot(g[0],g[1]);m=m<1e-4?1e-4:m,g[0]=g[0]/m,g[1]=g[1]/m,u&&e<t&&(m=m-o[p]-o[v]);var y=s*(i[p]+1)*(i[v]+1)/m;u&&e<t&&m<0?y=r*(i[p]+1)*(i[v]+1):u&&e<t&&0===m?y=0:u&&e<t&&m>0&&(y=s*(i[p]+1)*(i[v]+1)/m),n[2*p]-=y*g[0],n[2*v]+=y*g[0],n[2*p+1]-=y*g[1],n[2*v+1]+=y*g[1]}var b=[c[p].x-f[0],c[p].y-f[1]],x=Math.hypot(b[0],b[1]);b[0]=b[0]/x,b[1]=b[1]/x;var w=l*(i[p]+1);n[2*p]-=w*b[0],n[2*p+1]-=w*b[1]}return n},t.prototype.getOptRepGraForces=function(e,t,n){for(var r=this,o=r.nodes,i=r.kg,a=r.center,c=r.prune,l=o.length,f=9e10,d=-9e10,h=9e10,p=-9e10,v=0;v<l;v+=1)c&&n[v]<=1||(t[v].setPos(o[v].x,o[v].y),o[v].x>=d&&(d=o[v].x),o[v].x<=f&&(f=o[v].x),o[v].y>=p&&(p=o[v].y),o[v].y<=h&&(h=o[v].y));var g=Math.max(d-f,p-h),m={xmid:(d+f)/2,ymid:(p+h)/2,length:g,massCenter:a,mass:l},y=new u.default(m),b=new s.default(y);for(v=0;v<l;v+=1)c&&n[v]<=1||t[v].in(y)&&b.insert(t[v]);for(v=0;v<l;v+=1)if(!(c&&n[v]<=1)){t[v].resetForce(),b.updateForce(t[v]),e[2*v]-=t[v].fx,e[2*v+1]-=t[v].fy;var x=[o[v].x-a[0],o[v].y-a[1]],w=Math.hypot(x[0],x[1]);w=w<1e-4?1e-4:w,x[0]=x[0]/w,x[1]=x[1]/w;var O=i*(n[v]+1);e[2*v]-=O*x[0],e[2*v+1]-=O*x[1]}return e},t.prototype.updatePos=function(e,t,n,r){for(var o=this,i=o.nodes,c=o.ks,u=o.tao,s=o.prune,l=o.ksmax,f=i.length,d=[],h=[],p=0,v=0,g=0;g<f;g+=1)if(!(s&&r[g]<=1)){var m=[e[2*g]-t[2*g],e[2*g+1]-t[2*g+1]],y=Math.hypot(m[0],m[1]),b=[e[2*g]+t[2*g],e[2*g+1]+t[2*g+1]],x=Math.hypot(b[0],b[1]);d[g]=y,h[g]=x/2,p+=(r[g]+1)*d[g],v+=(r[g]+1)*h[g]}var w=n;n=u*v/p,0!==w&&(n=n>1.5*w?1.5*w:n);for(g=0;g<f;g+=1)if(!(s&&r[g]<=1)&&(!(0,a.isNumber)(i[g].fx)||!(0,a.isNumber)(i[g].fy))){var O=c*n/(1+n*Math.sqrt(d[g])),E=Math.hypot(e[2*g],e[2*g+1]);E=E<1e-4?1e-4:E;var S=l/E;O=O>S?S:O;var j=O*e[2*g],k=O*e[2*g+1];i[g].x+=j,i[g].y+=k}return{nodes:i,sg:n}},t}(i.Base);t.ForceAtlas2Layout=l},C1JJ:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"glrk\"),a=n(\"HAuM\"),c=n(\"ImZN\");r({target:\"Set\",proto:!0,real:!0,forced:o},{isDisjointFrom:function(e){var t=i(this),n=a(t.has);return!c(e,(function(e){if(!0===n.call(t,e))return c.stop()})).stopped}})},CH3K:function(e,t){function n(e,t){var n=-1,r=t.length,o=e.length;while(++n<r)e[o+n]=t[n];return e}e.exports=n},CUyW:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"0GbY\"),a=n(\"glrk\"),c=n(\"HAuM\"),u=n(\"A2ZE\"),s=n(\"SEBh\"),l=n(\"Sssf\"),f=n(\"ImZN\");r({target:\"Map\",proto:!0,real:!0,forced:o},{mapValues:function(e){var t=a(this),n=l(t),r=u(e,arguments.length>1?arguments[1]:void 0,3),o=new(s(t,i(\"Map\"))),d=c(o.set);return f(n,(function(e,n){d.call(o,e,r(n,e,t))}),void 0,!0,!0),o}})},\"CWI+\":function(e,t,n){},Cdrh:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(e){var t,n=null===(t=e.graph().rankdir)||void 0===t?void 0:t.toLowerCase();\"lr\"!==n&&\"rl\"!==n||i(e)},o=function(e){var t,n=null===(t=e.graph().rankdir)||void 0===t?void 0:t.toLowerCase();\"bt\"!==n&&\"rl\"!==n||c(e),\"lr\"!==n&&\"rl\"!==n||(s(e),i(e))},i=function(e){e.nodes().forEach((function(t){a(e.node(t))})),e.edges().forEach((function(t){a(e.edge(t))}))},a=function(e){var t=e.width;e.width=e.height,e.height=t},c=function(e){e.nodes().forEach((function(t){u(e.node(t))})),e.edges().forEach((function(t){var n,r=e.edge(t);null===(n=r.points)||void 0===n||n.forEach((function(e){return u(e)})),r.hasOwnProperty(\"y\")&&u(r)}))},u=function(e){(null===e||void 0===e?void 0:e.y)&&(e.y=-e.y)},s=function(e){e.nodes().forEach((function(t){l(e.node(t))})),e.edges().forEach((function(t){var n,r=e.edge(t);null===(n=r.points)||void 0===n||n.forEach((function(e){return l(e)})),r.hasOwnProperty(\"x\")&&l(r)}))},l=function(e){var t=e.x;e.x=e.y,e.y=t};t.default={adjust:r,undo:o}},Cg3G:function(e,t,n){\"use strict\";var r=n(\"glrk\"),o=n(\"HAuM\");e.exports=function(){for(var e,t=r(this),n=o(t[\"delete\"]),i=!0,a=0,c=arguments.length;a<c;a++)e=n.call(t,arguments[a]),i=i&&e;return!!i}},Cjym:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(\"eQiA\"),o=function(e){var t,n=(0,r.addDummyNode)(e,\"root\",{},\"_root\"),o=a(e),u=Math.max.apply(Math,Object.values(o));Math.abs(u)===1/0&&(u=1);var s=u-1,l=2*s+1;e.graph().nestingRoot=n,e.edges().forEach((function(t){e.edge(t).minlen*=l}));var f=c(e)+1;null===(t=e.children())||void 0===t||t.forEach((function(t){i(e,n,l,f,s,o,t)})),e.graph().nodeRankFactor=l},i=function(e,t,n,o,a,c,u){var s=e.children(u);if(null===s||void 0===s?void 0:s.length){var l=(0,r.addBorderNode)(e,\"_bt\"),f=(0,r.addBorderNode)(e,\"_bb\"),d=e.node(u);e.setParent(l,u),d.borderTop=l,e.setParent(f,u),d.borderBottom=f,null===s||void 0===s||s.forEach((function(r){i(e,t,n,o,a,c,r);var s=e.node(r),d=s.borderTop?s.borderTop:r,h=s.borderBottom?s.borderBottom:r,p=s.borderTop?o:2*o,v=d!==h?1:a-c[u]+1;e.setEdge(l,d,{minlen:v,weight:p,nestingEdge:!0}),e.setEdge(h,f,{minlen:v,weight:p,nestingEdge:!0})})),e.parent(u)||e.setEdge(t,l,{weight:0,minlen:a+c[u]})}else u!==t&&e.setEdge(t,u,{weight:0,minlen:n})},a=function(e){var t,n={},r=function(t,o){var i=e.children(t);null===i||void 0===i||i.forEach((function(e){return r(e,o+1)})),n[t]=o};return null===(t=e.children())||void 0===t||t.forEach((function(e){return r(e,1)})),n},c=function(e){var t=0;return e.edges().forEach((function(n){t+=e.edge(n).weight})),t},u=function(e){var t=e.graph();t.nestingRoot&&e.removeNode(t.nestingRoot),delete t.nestingRoot,e.edges().forEach((function(t){var n=e.edge(t);n.nestingEdge&&e.removeEdgeObj(t)}))};t.default={run:o,cleanup:u}},Ckr6:function(e,t,n){\"use strict\";n.r(t),n.d(t,\"forceCenter\",(function(){return r})),n.d(t,\"forceCollide\",(function(){return s})),n.d(t,\"forceLink\",(function(){return d})),n.d(t,\"forceManyBody\",(function(){return K})),n.d(t,\"forceRadial\",(function(){return Z})),n.d(t,\"forceSimulation\",(function(){return q})),n.d(t,\"forceX\",(function(){return $})),n.d(t,\"forceY\",(function(){return Q}));var r=function(e,t){var n,r=1;function o(){var o,i,a=n.length,c=0,u=0;for(o=0;o<a;++o)i=n[o],c+=i.x,u+=i.y;for(c=(c/a-e)*r,u=(u/a-t)*r,o=0;o<a;++o)i=n[o],i.x-=c,i.y-=u}return null==e&&(e=0),null==t&&(t=0),o.initialize=function(e){n=e},o.x=function(t){return arguments.length?(e=+t,o):e},o.y=function(e){return arguments.length?(t=+e,o):t},o.strength=function(e){return arguments.length?(r=+e,o):r},o},o=n(\"z6FA\"),i=function(e){return function(){return e}},a=function(e){return 1e-6*(e()-.5)};function c(e){return e.x+e.vx}function u(e){return e.y+e.vy}var s=function(e){var t,n,r,s=1,l=1;function f(){for(var e,i,f,h,p,v,g,m=t.length,y=0;y<l;++y)for(i=Object(o[\"a\"])(t,c,u).visitAfter(d),e=0;e<m;++e)f=t[e],v=n[f.index],g=v*v,h=f.x+f.vx,p=f.y+f.vy,i.visit(b);function b(e,t,n,o,i){var c=e.data,u=e.r,l=v+u;if(!c)return t>h+l||o<h-l||n>p+l||i<p-l;if(c.index>f.index){var d=h-c.x-c.vx,m=p-c.y-c.vy,y=d*d+m*m;y<l*l&&(0===d&&(d=a(r),y+=d*d),0===m&&(m=a(r),y+=m*m),y=(l-(y=Math.sqrt(y)))/y*s,f.vx+=(d*=y)*(l=(u*=u)/(g+u)),f.vy+=(m*=y)*l,c.vx-=d*(l=1-l),c.vy-=m*l)}}}function d(e){if(e.data)return e.r=n[e.data.index];for(var t=e.r=0;t<4;++t)e[t]&&e[t].r>e.r&&(e.r=e[t].r)}function h(){if(t){var r,o,i=t.length;for(n=new Array(i),r=0;r<i;++r)o=t[r],n[o.index]=+e(o,r,t)}}return\"function\"!==typeof e&&(e=i(null==e?1:+e)),f.initialize=function(e,n){t=e,r=n,h()},f.iterations=function(e){return arguments.length?(l=+e,f):l},f.strength=function(e){return arguments.length?(s=+e,f):s},f.radius=function(t){return arguments.length?(e=\"function\"===typeof t?t:i(+t),h(),f):e},f};function l(e){return e.index}function f(e,t){var n=e.get(t);if(!n)throw new Error(\"node not found: \"+t);return n}var d=function(e){var t,n,r,o,c,u,s=l,d=v,h=i(30),p=1;function v(e){return 1/Math.min(o[e.source.index],o[e.target.index])}function g(r){for(var o=0,i=e.length;o<p;++o)for(var s,l,f,d,h,v,g,m=0;m<i;++m)s=e[m],l=s.source,f=s.target,d=f.x+f.vx-l.x-l.vx||a(u),h=f.y+f.vy-l.y-l.vy||a(u),v=Math.sqrt(d*d+h*h),v=(v-n[m])/v*r*t[m],d*=v,h*=v,f.vx-=d*(g=c[m]),f.vy-=h*g,l.vx+=d*(g=1-g),l.vy+=h*g}function m(){if(r){var i,a,u=r.length,l=e.length,d=new Map(r.map((function(e,t){return[s(e,t,r),e]})));for(i=0,o=new Array(u);i<l;++i)a=e[i],a.index=i,\"object\"!==typeof a.source&&(a.source=f(d,a.source)),\"object\"!==typeof a.target&&(a.target=f(d,a.target)),o[a.source.index]=(o[a.source.index]||0)+1,o[a.target.index]=(o[a.target.index]||0)+1;for(i=0,c=new Array(l);i<l;++i)a=e[i],c[i]=o[a.source.index]/(o[a.source.index]+o[a.target.index]);t=new Array(l),y(),n=new Array(l),b()}}function y(){if(r)for(var n=0,o=e.length;n<o;++n)t[n]=+d(e[n],n,e)}function b(){if(r)for(var t=0,o=e.length;t<o;++t)n[t]=+h(e[t],t,e)}return null==e&&(e=[]),g.initialize=function(e,t){r=e,u=t,m()},g.links=function(t){return arguments.length?(e=t,m(),g):e},g.id=function(e){return arguments.length?(s=e,g):s},g.iterations=function(e){return arguments.length?(p=+e,g):p},g.strength=function(e){return arguments.length?(d=\"function\"===typeof e?e:i(+e),y(),g):d},g.distance=function(e){return arguments.length?(h=\"function\"===typeof e?e:i(+e),b(),g):h},g},h={value:function(){}};function p(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+\"\")||e in r||/[\\s.]/.test(e))throw new Error(\"illegal type: \"+e);r[e]=[]}return new v(r)}function v(e){this._=e}function g(e,t){return e.trim().split(/^|\\s+/).map((function(e){var n=\"\",r=e.indexOf(\".\");if(r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw new Error(\"unknown type: \"+e);return{type:e,name:n}}))}function m(e,t){for(var n,r=0,o=e.length;r<o;++r)if((n=e[r]).name===t)return n.value}function y(e,t,n){for(var r=0,o=e.length;r<o;++r)if(e[r].name===t){e[r]=h,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}v.prototype=p.prototype={constructor:v,on:function(e,t){var n,r=this._,o=g(e+\"\",r),i=-1,a=o.length;if(!(arguments.length<2)){if(null!=t&&\"function\"!==typeof t)throw new Error(\"invalid callback: \"+t);while(++i<a)if(n=(e=o[i]).type)r[n]=y(r[n],e.name,t);else if(null==t)for(n in r)r[n]=y(r[n],e.name,null);return this}while(++i<a)if((n=(e=o[i]).type)&&(n=m(r[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new v(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,o=new Array(n),i=0;i<n;++i)o[i]=arguments[i+2];if(!this._.hasOwnProperty(e))throw new Error(\"unknown type: \"+e);for(r=this._[e],i=0,n=r.length;i<n;++i)r[i].value.apply(t,o)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error(\"unknown type: \"+e);for(var r=this._[e],o=0,i=r.length;o<i;++o)r[o].value.apply(t,n)}};var b,x,w=p,O=0,E=0,S=0,j=1e3,k=0,_=0,C=0,M=\"object\"===typeof performance&&performance.now?performance:Date,A=\"object\"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function N(){return _||(A(T),_=M.now()+C)}function T(){_=0}function I(){this._call=this._time=this._next=null}function P(e,t,n){var r=new I;return r.restart(e,t,n),r}function L(){N(),++O;var e,t=b;while(t)(e=_-t._time)>=0&&t._call.call(null,e),t=t._next;--O}function D(){_=(k=M.now())+C,O=E=0;try{L()}finally{O=0,F(),_=0}}function R(){var e=M.now(),t=e-k;t>j&&(C-=t,k=e)}function F(){var e,t,n=b,r=1/0;while(n)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:b=t);x=e,B(r)}function B(e){if(!O){E&&(E=clearTimeout(E));var t=e-_;t>24?(e<1/0&&(E=setTimeout(D,e-M.now()-C)),S&&(S=clearInterval(S))):(S||(k=M.now(),S=setInterval(R,j)),O=1,A(D))}}I.prototype=P.prototype={constructor:I,restart:function(e,t,n){if(\"function\"!==typeof e)throw new TypeError(\"callback is not a function\");n=(null==n?N():+n)+(null==t?0:+t),this._next||x===this||(x?x._next=this:b=this,x=this),this._call=e,this._time=n,B()},stop:function(){this._call&&(this._call=null,this._time=1/0,B())}};var z=1664525,U=1013904223,G=4294967296,V=function(){var e=1;return function(){return(e=(z*e+U)%G)/G}};function W(e){return e.x}function H(e){return e.y}var Y=10,X=Math.PI*(3-Math.sqrt(5)),q=function(e){var t,n=1,r=.001,o=1-Math.pow(r,1/300),i=0,a=.6,c=new Map,u=P(f),s=w(\"tick\",\"end\"),l=V();function f(){d(),s.call(\"tick\",t),n<r&&(u.stop(),s.call(\"end\",t))}function d(r){var u,s,l=e.length;void 0===r&&(r=1);for(var f=0;f<r;++f)for(n+=(i-n)*o,c.forEach((function(e){e(n)})),u=0;u<l;++u)s=e[u],null==s.fx?s.x+=s.vx*=a:(s.x=s.fx,s.vx=0),null==s.fy?s.y+=s.vy*=a:(s.y=s.fy,s.vy=0);return t}function h(){for(var t,n=0,r=e.length;n<r;++n){if(t=e[n],t.index=n,null!=t.fx&&(t.x=t.fx),null!=t.fy&&(t.y=t.fy),isNaN(t.x)||isNaN(t.y)){var o=Y*Math.sqrt(.5+n),i=n*X;t.x=o*Math.cos(i),t.y=o*Math.sin(i)}(isNaN(t.vx)||isNaN(t.vy))&&(t.vx=t.vy=0)}}function p(t){return t.initialize&&t.initialize(e,l),t}return null==e&&(e=[]),h(),t={tick:d,restart:function(){return u.restart(f),t},stop:function(){return u.stop(),t},nodes:function(n){return arguments.length?(e=n,h(),c.forEach(p),t):e},alpha:function(e){return arguments.length?(n=+e,t):n},alphaMin:function(e){return arguments.length?(r=+e,t):r},alphaDecay:function(e){return arguments.length?(o=+e,t):+o},alphaTarget:function(e){return arguments.length?(i=+e,t):i},velocityDecay:function(e){return arguments.length?(a=1-e,t):1-a},randomSource:function(e){return arguments.length?(l=e,c.forEach(p),t):l},force:function(e,n){return arguments.length>1?(null==n?c[\"delete\"](e):c.set(e,p(n)),t):c.get(e)},find:function(t,n,r){var o,i,a,c,u,s=0,l=e.length;for(null==r?r=1/0:r*=r,s=0;s<l;++s)c=e[s],o=t-c.x,i=n-c.y,a=o*o+i*i,a<r&&(u=c,r=a);return u},on:function(e,n){return arguments.length>1?(s.on(e,n),t):s.on(e)}}},K=function(){var e,t,n,r,c,u=i(-30),s=1,l=1/0,f=.81;function d(n){var i,a=e.length,c=Object(o[\"a\"])(e,W,H).visitAfter(p);for(r=n,i=0;i<a;++i)t=e[i],c.visit(v)}function h(){if(e){var t,n,r=e.length;for(c=new Array(r),t=0;t<r;++t)n=e[t],c[n.index]=+u(n,t,e)}}function p(e){var t,n,r,o,i,a=0,u=0;if(e.length){for(r=o=i=0;i<4;++i)(t=e[i])&&(n=Math.abs(t.value))&&(a+=t.value,u+=n,r+=n*t.x,o+=n*t.y);e.x=r/u,e.y=o/u}else{t=e,t.x=t.data.x,t.y=t.data.y;do{a+=c[t.data.index]}while(t=t.next)}e.value=a}function v(e,o,i,u){if(!e.value)return!0;var d=e.x-t.x,h=e.y-t.y,p=u-o,v=d*d+h*h;if(p*p/f<v)return v<l&&(0===d&&(d=a(n),v+=d*d),0===h&&(h=a(n),v+=h*h),v<s&&(v=Math.sqrt(s*v)),t.vx+=d*e.value*r/v,t.vy+=h*e.value*r/v),!0;if(!(e.length||v>=l)){(e.data!==t||e.next)&&(0===d&&(d=a(n),v+=d*d),0===h&&(h=a(n),v+=h*h),v<s&&(v=Math.sqrt(s*v)));do{e.data!==t&&(p=c[e.data.index]*r/v,t.vx+=d*p,t.vy+=h*p)}while(e=e.next)}}return d.initialize=function(t,r){e=t,n=r,h()},d.strength=function(e){return arguments.length?(u=\"function\"===typeof e?e:i(+e),h(),d):u},d.distanceMin=function(e){return arguments.length?(s=e*e,d):Math.sqrt(s)},d.distanceMax=function(e){return arguments.length?(l=e*e,d):Math.sqrt(l)},d.theta=function(e){return arguments.length?(f=e*e,d):Math.sqrt(f)},d},Z=function(e,t,n){var r,o,a,c=i(.1);function u(e){for(var i=0,c=r.length;i<c;++i){var u=r[i],s=u.x-t||1e-6,l=u.y-n||1e-6,f=Math.sqrt(s*s+l*l),d=(a[i]-f)*o[i]*e/f;u.vx+=s*d,u.vy+=l*d}}function s(){if(r){var t,n=r.length;for(o=new Array(n),a=new Array(n),t=0;t<n;++t)a[t]=+e(r[t],t,r),o[t]=isNaN(a[t])?0:+c(r[t],t,r)}}return\"function\"!==typeof e&&(e=i(+e)),null==t&&(t=0),null==n&&(n=0),u.initialize=function(e){r=e,s()},u.strength=function(e){return arguments.length?(c=\"function\"===typeof e?e:i(+e),s(),u):c},u.radius=function(t){return arguments.length?(e=\"function\"===typeof t?t:i(+t),s(),u):e},u.x=function(e){return arguments.length?(t=+e,u):t},u.y=function(e){return arguments.length?(n=+e,u):n},u},$=function(e){var t,n,r,o=i(.1);function a(e){for(var o,i=0,a=t.length;i<a;++i)o=t[i],o.vx+=(r[i]-o.x)*n[i]*e}function c(){if(t){var i,a=t.length;for(n=new Array(a),r=new Array(a),i=0;i<a;++i)n[i]=isNaN(r[i]=+e(t[i],i,t))?0:+o(t[i],i,t)}}return\"function\"!==typeof e&&(e=i(null==e?0:+e)),a.initialize=function(e){t=e,c()},a.strength=function(e){return arguments.length?(o=\"function\"===typeof e?e:i(+e),c(),a):o},a.x=function(t){return arguments.length?(e=\"function\"===typeof t?t:i(+t),c(),a):e},a},Q=function(e){var t,n,r,o=i(.1);function a(e){for(var o,i=0,a=t.length;i<a;++i)o=t[i],o.vy+=(r[i]-o.y)*n[i]*e}function c(){if(t){var i,a=t.length;for(n=new Array(a),r=new Array(a),i=0;i<a;++i)n[i]=isNaN(r[i]=+e(t[i],i,t))?0:+o(t[i],i,t)}}return\"function\"!==typeof e&&(e=i(null==e?0:+e)),a.initialize=function(e){t=e,c()},a.strength=function(e){return arguments.length?(o=\"function\"===typeof e?e:i(+e),c(),a):o},a.y=function(t){return arguments.length?(e=\"function\"===typeof t?t:i(+t),c(),a):e},a}},Co1j:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"glrk\"),a=n(\"HAuM\"),c=n(\"ImZN\");r({target:\"Set\",proto:!0,real:!0,forced:o},{isSupersetOf:function(e){var t=i(this),n=a(t.has);return!c(e,(function(e){if(!1===n.call(t,e))return c.stop()})).stopped}})},Cwc5:function(e,t,n){var r=n(\"NKxu\"),o=n(\"Npjl\");function i(e,t){var n=o(e,t);return r(n)?n:void 0}e.exports=i},CyXQ:function(e,t,n){var r=n(\"ppGB\"),o=n(\"UMSQ\");e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError(\"Wrong length or index\");return n}},D3zA:function(e,t,n){\"use strict\";var r=n(\"aI7X\");e.exports=Function.prototype.bind||r},DEfu:function(e,t,n){var r=n(\"2oRo\"),o=n(\"1E5z\");o(r.JSON,\"JSON\",!0)},DGIe:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=n(\"iTfj\"),o=function(){function e(e){this.arr=e}return e.prototype.getArr=function(){return this.arr||[]},e.prototype.add=function(t){var n,r=t.arr;if(!(null===(n=this.arr)||void 0===n?void 0:n.length))return new e(r);if(!(null===r||void 0===r?void 0:r.length))return new e(this.arr);if(this.arr.length===r.length){var o=[];for(var i in this.arr)o[i]=this.arr[i]+r[i];return new e(o)}},e.prototype.subtract=function(t){var n,r=t.arr;if(!(null===(n=this.arr)||void 0===n?void 0:n.length))return new e(r);if(!(null===r||void 0===r?void 0:r.length))return new e(this.arr);if(this.arr.length===r.length){var o=[];for(var i in this.arr)o[i]=this.arr[i]-r[i];return new e(o)}},e.prototype.avg=function(t){var n=[];if(0!==t)for(var r in this.arr)n[r]=this.arr[r]/t;return new e(n)},e.prototype.negate=function(){var t=[];for(var n in this.arr)t[n]=-this.arr[n];return new e(t)},e.prototype.squareEuclideanDistance=function(e){var t,n=e.arr;if(!(null===(t=this.arr)||void 0===t?void 0:t.length)||!(null===n||void 0===n?void 0:n.length))return 0;if(this.arr.length===n.length){var r=0;for(var o in this.arr)r+=Math.pow(this.arr[o]-e.arr[o],2);return r}},e.prototype.euclideanDistance=function(e){var t,n=e.arr;if(!(null===(t=this.arr)||void 0===t?void 0:t.length)||!(null===n||void 0===n?void 0:n.length))return 0;if(this.arr.length===n.length){var r=0;for(var o in this.arr)r+=Math.pow(this.arr[o]-e.arr[o],2);return Math.sqrt(r)}console.error(\"The two vectors are unequal in length.\")},e.prototype.normalize=function(){var t=[],n=(0,r.clone)(this.arr);n.sort((function(e,t){return e-t}));var o=n[n.length-1],i=n[0];for(var a in this.arr)t[a]=(this.arr[a]-i)/(o-i);return new e(t)},e.prototype.norm2=function(){var e;if(!(null===(e=this.arr)||void 0===e?void 0:e.length))return 0;var t=0;for(var n in this.arr)t+=Math.pow(this.arr[n],2);return Math.sqrt(t)},e.prototype.dot=function(e){var t,n=e.arr;if(!(null===(t=this.arr)||void 0===t?void 0:t.length)||!(null===n||void 0===n?void 0:n.length))return 0;if(this.arr.length===n.length){var r=0;for(var o in this.arr)r+=this.arr[o]*e.arr[o];return r}console.error(\"The two vectors are unequal in length.\")},e.prototype.equal=function(e){var t,n=e.arr;if((null===(t=this.arr)||void 0===t?void 0:t.length)!==(null===n||void 0===n?void 0:n.length))return!1;for(var r in this.arr)if(this.arr[r]!==n[r])return!1;return!0},e}(),i=o;t.default=i},DMt2:function(e,t,n){var r=n(\"UMSQ\"),o=n(\"EUja\"),i=n(\"HYAF\"),a=Math.ceil,c=function(e){return function(t,n,c){var u,s,l=String(i(t)),f=l.length,d=void 0===c?\" \":String(c),h=r(n);return h<=f||\"\"==d?l:(u=h-f,s=o.call(d,a(u/d.length)),s.length>u&&(s=s.slice(0,u)),e?l+s:s+l)}};e.exports={start:c(!1),end:c(!0)}},DPsx:function(e,t,n){var r=n(\"g6v/\"),o=n(\"0Dky\"),i=n(\"zBJ4\");e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i(\"div\"),\"a\",{get:function(){return 7}}).a}))},DSFK:function(e,t,n){\"use strict\";function r(e){if(Array.isArray(e))return e}n.d(t,\"a\",(function(){return r}))},DSRE:function(e,t,n){(function(e){var r=n(\"Kz5y\"),o=n(\"B8du\"),i=t&&!t.nodeType&&t,a=i&&\"object\"==typeof e&&e&&!e.nodeType&&e,c=a&&a.exports===i,u=c?r.Buffer:void 0,s=u?u.isBuffer:void 0,l=s||o;e.exports=l}).call(this,n(\"hOG+\")(e))},DTth:function(e,t,n){var r=n(\"0Dky\"),o=n(\"tiKp\"),i=n(\"xDBR\"),a=o(\"iterator\");e.exports=!r((function(){var e=new URL(\"b?a=1&b=2&c=3\",\"http://a\"),t=e.searchParams,n=\"\";return e.pathname=\"c%20d\",t.forEach((function(e,r){t[\"delete\"](\"b\"),n+=r+e})),i&&!e.toJSON||!t.sort||\"http://a/c%20d?a=1&c=3\"!==e.href||\"3\"!==t.get(\"c\")||\"a=1\"!==String(new URLSearchParams(\"?a=1\"))||!t[a]||\"a\"!==new URL(\"https://a@b\").username||\"b\"!==new URLSearchParams(new URLSearchParams(\"a=b\")).get(\"a\")||\"xn--e1aybc\"!==new URL(\"http://\\u0442\\u0435\\u0441\\u0442\").host||\"#%D0%B1\"!==new URL(\"http://a#\\u0431\").hash||\"a1c3\"!==n||\"x\"!==new URL(\"http://x\",void 0).host}))},DhMN:function(e,t,n){n(\"ofBz\")},DrvE:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"HAuM\"),i=n(\"0GbY\"),a=n(\"8GlL\"),c=n(\"5mdu\"),u=n(\"ImZN\"),s=\"No one promise resolved\";r({target:\"Promise\",stat:!0},{any:function(e){var t=this,n=a.f(t),r=n.resolve,l=n.reject,f=c((function(){var n=o(t.resolve),a=[],c=0,f=1,d=!1;u(e,(function(e){var o=c++,u=!1;a.push(void 0),f++,n.call(t,e).then((function(e){u||d||(d=!0,r(e))}),(function(e){u||d||(u=!0,a[o]=e,--f||l(new(i(\"AggregateError\"))(a,s)))}))})),--f||l(new(i(\"AggregateError\"))(a,s))}));return f.error&&l(f.value),n.promise}})},DzJC:function(e,t,n){var r=n(\"sEfC\"),o=n(\"GoyQ\"),i=\"Expected a function\";function a(e,t,n){var a=!0,c=!0;if(\"function\"!=typeof e)throw new TypeError(i);return o(n)&&(a=\"leading\"in n?!!n.leading:a,c=\"trailing\"in n?!!n.trailing:c),r(e,t,{leading:a,maxWait:t,trailing:c})}e.exports=a},E2jh:function(e,t,n){var r=n(\"2gN3\"),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||\"\");return e?\"Symbol(src)_1.\"+e:\"\"}();function i(e){return!!o&&o in e}e.exports=i},E4JC:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"ETIr\"),n(\"cv67\"),n(\"K3mO\"),n(\"OLod\"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.StreamCipher,o=t.algo,i=[],a=[],c=[],u=o.Rabbit=r.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(n=0;n<4;n++)s.call(this);for(n=0;n<8;n++)o[n]^=r[n+4&7];if(t){var i=t.words,a=i[0],c=i[1],u=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),l=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),f=u>>>16|4294901760&l,d=l<<16|65535&u;o[0]^=u,o[1]^=f,o[2]^=l,o[3]^=d,o[4]^=u,o[5]^=f,o[6]^=l,o[7]^=d;for(n=0;n<4;n++)s.call(this)}},_doProcessBlock:function(e,t){var n=this._X;s.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),e[t+r]^=i[r]},blockSize:4,ivSize:2});function s(){for(var e=this._X,t=this._C,n=0;n<8;n++)a[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<a[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<a[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<a[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<a[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<a[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<a[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<a[6]>>>0?1:0)|0,this._b=t[7]>>>0<a[7]>>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,i=r>>>16,u=((o*o>>>17)+o*i>>>15)+i*i,s=((4294901760&r)*r|0)+((65535&r)*r|0);c[n]=u^s}e[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,e[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,e[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,e[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,e[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,e[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,e[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,e[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}t.Rabbit=r._createHelper(u)}(),e.Rabbit}))},E9Ls:function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0}),t.DagreLayout=void 0;var i=o(n(\"NIaI\")),a=n(\"8nGZ\"),c=n(\"W8mN\"),u=n(\"OXnU\"),s=function(e){function t(t){var n=e.call(this)||this;return n.rankdir=\"TB\",n.nodesep=50,n.ranksep=50,n.controlPoints=!1,n.sortByCombo=!1,n.edgeLabelSpace=!0,n.radial=!1,n.nodes=[],n.edges=[],n.onLayoutEnd=function(){},n.layoutNode=function(e){var t=n,r=t.nodes,o=r.find((function(t){return t.id===e}));if(o){var i=!1!==o.layout;return i}return!0},n.updateCfg(t),n}return r(t,e),t.prototype.getDefaultCfg=function(){return{rankdir:\"TB\",align:void 0,nodeSize:void 0,nodesepFunc:void 0,ranksepFunc:void 0,nodesep:50,ranksep:50,controlPoints:!1,radial:!1,focusNode:null}},t.prototype.execute=function(){var e,t,n,r=this,o=this,c=o.nodes,s=o.nodeSize,l=o.rankdir,f=o.combos,d=o.begin,h=o.radial,p=o.comboEdges,v=void 0===p?[]:p,g=o.vedges,m=void 0===g?[]:g;if(c){var y,b=o.edges||[],x=new u.Graph({multigraph:!0,compound:!0}),w={};c.forEach((function(e){e.comboId&&(w[e.comboId]=w[e.comboId]||[],w[e.comboId].push(e.id))})),y=s?(0,a.isArray)(s)?function(){return s}:function(){return[s,s]}:function(e){return e.size?(0,a.isArray)(e.size)?e.size:(0,a.isObject)(e.size)?[e.size.width||40,e.size.height||40]:[e.size,e.size]:[40,40]};var O=(0,a.getFunc)(o.ranksep,50,o.ranksepFunc),E=(0,a.getFunc)(o.nodesep,50,o.nodesepFunc),S=E,j=O;\"LR\"!==l&&\"RL\"!==l||(S=O,j=E),x.setDefaultEdgeLabel((function(){return{}})),x.setGraph(o);var k={};this.sortByCombo&&f&&f.forEach((function(e){if(k[e.id]=e,e.collapsed){var t=y(e),n=j(e),r=S(e),o=t[0]+2*r,i=t[1]+2*n;x.setNode(e.id,{width:o,height:i})}e.parentId&&(k[e.parentId]||x.setNode(e.parentId,{}),x.setParent(e.id,e.parentId))})),c.filter((function(e){return!1!==e.layout})).forEach((function(e){var t=y(e),n=j(e),o=S(e),i=t[0]+2*o,c=t[1]+2*n,u=e.layer;(0,a.isNumber)(u)?x.setNode(e.id,{width:i,height:c,layer:u}):x.setNode(e.id,{width:i,height:c}),r.sortByCombo&&e.comboId&&(k[e.comboId]||(k[e.comboId]={id:e.comboId},x.setNode(e.comboId,{})),x.setParent(e.id,e.comboId))})),b.forEach((function(e){var t=(0,a.getEdgeTerminal)(e,\"source\"),n=(0,a.getEdgeTerminal)(e,\"target\");r.layoutNode(t)&&r.layoutNode(n)&&x.setEdge(t,n,{weight:e.weight||1})})),null===(e=null===v||void 0===v?void 0:v.concat(m||[]))||void 0===e||e.forEach((function(e){var t,n,r=e.source,o=e.target,i=(null===(t=k[r])||void 0===t?void 0:t.collapsed)?[r]:w[r]||[r],a=(null===(n=k[o])||void 0===n?void 0:n.collapsed)?[o]:w[o]||[o];i.forEach((function(t){a.forEach((function(n){x.setEdge(t,n,{weight:e.weight||1})}))}))}));var _=void 0;(null===(t=o.preset)||void 0===t?void 0:t.nodes)&&(_=new u.Graph({multigraph:!0,compound:!0}),o.preset.nodes.forEach((function(e){null===_||void 0===_||_.setNode(e.id,e)}))),i.default.layout(x,{prevGraph:_,edgeLabelSpace:o.edgeLabelSpace,keepNodeOrder:Boolean(!!o.nodeOrder),nodeOrder:o.nodeOrder});var C=[0,0];if(d){var M=1/0,A=1/0;x.nodes().forEach((function(e){var t=x.node(e);M>t.x&&(M=t.x),A>t.y&&(A=t.y)})),x.edges().forEach((function(e){var t,n=x.edge(e);null===(t=n.points)||void 0===t||t.forEach((function(e){M>e.x&&(M=e.x),A>e.y&&(A=e.y)}))})),C[0]=d[0]-M,C[1]=d[1]-A}if(h){var N=this,T=N.focusNode,I=N.ranksep,P=N.getRadialPos,L=(0,a.isString)(T)?T:null===T||void 0===T?void 0:T.id,D=L?null===(n=x.node(L))||void 0===n?void 0:n._rank:0,R=[],F=\"LR\"===l||\"RL\"===l,B=F?\"y\":\"x\",z=F?\"height\":\"width\",U=1/0,G=-1/0;x.nodes().forEach((function(e){var t=x.node(e),n=c.findIndex((function(t){return t.id===e}));if(c[n]){var r=E(c[n]);if(0===D)R[t._rank]||(R[t._rank]={nodes:[],totalWidth:0,maxSize:-1/0}),R[t._rank].nodes.push(e),R[t._rank].totalWidth+=2*r+t[z],R[t._rank].maxSize<Math.max(t.width,t.height)&&(R[t._rank].maxSize=Math.max(t.width,t.height));else{var o=t._rank-D;if(0===o)R[o]||(R[o]={nodes:[],totalWidth:0,maxSize:-1/0}),R[o].nodes.push(e),R[o].totalWidth+=2*r+t[z],R[o].maxSize<Math.max(t.width,t.height)&&(R[o].maxSize=Math.max(t.width,t.height));else{var i=Math.abs(o);R[i]||(R[i]={left:[],right:[],totalWidth:0,maxSize:-1/0}),R[i].totalWidth+=2*r+t[z],R[i].maxSize<Math.max(t.width,t.height)&&(R[i].maxSize=Math.max(t.width,t.height)),o<0?R[i].left.push(e):R[i].right.push(e)}}var a=t[B]-t[z]/2-r,u=t[B]+t[z]/2+r;a<U&&(U=a),u>G&&(G=u)}}));var V=I||50,W={},H=(G-U)/.9,Y=[.5*(U+G-H),.5*(U+G+H)],X=function(e,t,n,r){void 0===n&&(n=-1/0),void 0===r&&(r=[0,1]);var o=n;return e.forEach((function(e){var n=x.node(e);W[e]=t;var i=P(n[B],Y,H,t,r),a=i.x,u=i.y,s=c.findIndex((function(t){return t.id===e}));if(c[s]){c[s].x=a+C[0],c[s].y=u+C[1],c[s]._order=n._order;var l=O(c[s]);o<l&&(o=l)}})),o},q=!0;R.forEach((function(e){var t,n,r,o,i,a,u;if((null===(t=null===e||void 0===e?void 0:e.nodes)||void 0===t?void 0:t.length)||(null===(n=null===e||void 0===e?void 0:e.left)||void 0===n?void 0:n.length)||(null===(r=null===e||void 0===e?void 0:e.right)||void 0===r?void 0:r.length)){if(q&&1===e.nodes.length){var s=c.findIndex((function(t){return t.id===e.nodes[0]}));if(s<=-1)return;return c[s].x=C[0],c[s].y=C[1],W[e.nodes[0]]=0,V=O(c[s]),void(q=!1)}V=Math.max(V,e.totalWidth/(2*Math.PI));var l=-1/0;if(0===D||(null===(o=e.nodes)||void 0===o?void 0:o.length))l=X(e.nodes,V,l,[0,1]);else{var f=(null===(i=e.left)||void 0===i?void 0:i.length)/((null===(a=e.left)||void 0===a?void 0:a.length)+(null===(u=e.right)||void 0===u?void 0:u.length));l=X(e.left,V,l,[0,f]),l=X(e.right,V,l,[f+.05,1])}V+=l,q=!1,e.maxSize}})),x.edges().forEach((function(e){var t,n,r,i=x.edge(e),c=b.findIndex((function(t){var n=(0,a.getEdgeTerminal)(t,\"source\"),r=(0,a.getEdgeTerminal)(t,\"target\");return n===e.v&&r===e.w}));if(!(c<=-1)&&o.edgeLabelSpace&&o.controlPoints&&\"loop\"!==b[c].type){var u=\"x\"===B?\"y\":\"x\",s=null===(t=null===i||void 0===i?void 0:i.points)||void 0===t?void 0:t.slice(1,i.points.length-1),l=[],f=null===(n=x.node(e.v))||void 0===n?void 0:n[u],d=f-(null===(r=x.node(e.w))||void 0===r?void 0:r[u]),h=W[e.v],p=h-W[e.w];null===s||void 0===s||s.forEach((function(e){var t=(e[u]-f)/d*p+h,n=P(e[B],Y,H,t);l.push({x:n.x+C[0],y:n.y+C[1]})})),b[c].controlPoints=l}}))}else x.nodes().forEach((function(e){var t=x.node(e);if(t){var n=c.find((function(t){return t.id===e}));n||(n=null===f||void 0===f?void 0:f.find((function(t){return t.id===e}))),n&&(n.x=t.x+C[0],n.y=t.y+C[1],n._order=t._order)}})),x.edges().forEach((function(e){var t,n=x.edge(e),r=b.findIndex((function(t){var n=(0,a.getEdgeTerminal)(t,\"source\"),r=(0,a.getEdgeTerminal)(t,\"target\");return n===e.v&&r===e.w}));r<=-1||o.edgeLabelSpace&&o.controlPoints&&\"loop\"!==b[r].type&&(b[r].controlPoints=null===(t=null===n||void 0===n?void 0:n.points)||void 0===t?void 0:t.slice(1,n.points.length-1),b[r].controlPoints.forEach((function(e){e.x+=C[0],e.y+=C[1]})))}));return o.onLayoutEnd&&o.onLayoutEnd(),{nodes:c,edges:b}}},t.prototype.getRadialPos=function(e,t,n,r,o){void 0===o&&(o=[0,1]);var i=(e-t[0])/n;i=i*(o[1]-o[0])+o[0];var a=2*i*Math.PI;return{x:Math.cos(a)*r,y:Math.sin(a)*r}},t.prototype.getType=function(){return\"dagre\"},t}(c.Base);t.DagreLayout=s},E9XD:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"1Y/n\").left,i=n(\"pkCn\"),a=n(\"rkAj\"),c=i(\"reduce\"),u=a(\"reduce\",{1:0});r({target:\"Array\",proto:!0,forced:!c||!u},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},E9nw:function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case\"INPUT\":case\"TEXTAREA\":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){\"Caret\"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},\"EDT/\":function(e,t,n){var r=n(\"I+eb\"),o=n(\"p5mE\"),i=n(\"0GbY\");r({global:!0},{compositeSymbol:function(){return 1===arguments.length&&\"string\"===typeof arguments[0]?i(\"Symbol\")[\"for\"](arguments[0]):o.apply(null,arguments).get(\"symbol\",i(\"Symbol\"))}})},EE3K:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return p}));var r=n(\"wx14\"),o=n(\"rePB\"),i=n(\"1OyB\"),a=n(\"vuIU\"),c=n(\"Ji7U\"),u=n(\"LK+K\"),s=n(\"q1tI\"),l=n(\"i8i4\"),f=n.n(l),d=n(\"TSYQ\"),h=n.n(d),p=function(e){Object(c[\"a\"])(n,e);var t=Object(u[\"a\"])(n);function n(){var e;Object(i[\"a\"])(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return e=t.call.apply(t,[this].concat(o)),e.closeTimer=null,e.close=function(t){t&&t.stopPropagation(),e.clearCloseTimer();var n=e.props,r=n.onClose,o=n.noticeKey;r&&r(o)},e.startCloseTimer=function(){e.props.duration&&(e.closeTimer=window.setTimeout((function(){e.close()}),1e3*e.props.duration))},e.clearCloseTimer=function(){e.closeTimer&&(clearTimeout(e.closeTimer),e.closeTimer=null)},e}return Object(a[\"a\"])(n,[{key:\"componentDidMount\",value:function(){this.startCloseTimer()}},{key:\"componentDidUpdate\",value:function(e){(this.props.duration!==e.duration||this.props.updateMark!==e.updateMark||this.props.visible!==e.visible&&this.props.visible)&&this.restartCloseTimer()}},{key:\"componentWillUnmount\",value:function(){this.clearCloseTimer()}},{key:\"restartCloseTimer\",value:function(){this.clearCloseTimer(),this.startCloseTimer()}},{key:\"render\",value:function(){var e=this,t=this.props,n=t.prefixCls,i=t.className,a=t.closable,c=t.closeIcon,u=t.style,l=t.onClick,d=t.children,p=t.holder,v=\"\".concat(n,\"-notice\"),g=Object.keys(this.props).reduce((function(t,n){return\"data-\"!==n.substr(0,5)&&\"aria-\"!==n.substr(0,5)&&\"role\"!==n||(t[n]=e.props[n]),t}),{}),m=s[\"createElement\"](\"div\",Object(r[\"a\"])({className:h()(v,i,Object(o[\"a\"])({},\"\".concat(v,\"-closable\"),a)),style:u,onMouseEnter:this.clearCloseTimer,onMouseLeave:this.startCloseTimer,onClick:l},g),s[\"createElement\"](\"div\",{className:\"\".concat(v,\"-content\")},d),a?s[\"createElement\"](\"a\",{tabIndex:0,onClick:this.close,className:\"\".concat(v,\"-close\")},c||s[\"createElement\"](\"span\",{className:\"\".concat(v,\"-close-x\")})):null);return p?f.a.createPortal(m,p):m}}]),n}(s[\"Component\"]);p.defaultProps={onClose:function(){},duration:1.5}},EFp3:function(e,t,n){},ELcG:function(e,t,n){(function(t,r){e.exports=r(n(\"Ib8C\"))})(0,(function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,a=n.algo,c=o.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=o.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),s=o.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=o.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),f=o.create([0,1518500249,1859775393,2400959708,2840853838]),d=o.create([1352829926,1548603684,1836072691,2053994217,0]),h=a.RIPEMD160=i.extend({_doReset:function(){this._hash=o.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,a,h,x,w,O,E,S,j,k,_,C=this._hash.words,M=f.words,A=d.words,N=c.words,T=u.words,I=s.words,P=l.words;O=i=C[0],E=a=C[1],S=h=C[2],j=x=C[3],k=w=C[4];for(n=0;n<80;n+=1)_=i+e[t+N[n]]|0,_+=n<16?p(a,h,x)+M[0]:n<32?v(a,h,x)+M[1]:n<48?g(a,h,x)+M[2]:n<64?m(a,h,x)+M[3]:y(a,h,x)+M[4],_|=0,_=b(_,I[n]),_=_+w|0,i=w,w=x,x=b(h,10),h=a,a=_,_=O+e[t+T[n]]|0,_+=n<16?y(E,S,j)+A[0]:n<32?m(E,S,j)+A[1]:n<48?g(E,S,j)+A[2]:n<64?v(E,S,j)+A[3]:p(E,S,j)+A[4],_|=0,_=b(_,P[n]),_=_+k|0,O=k,k=j,j=b(S,10),S=E,E=_;_=C[1]+h+j|0,C[1]=C[2]+x+k|0,C[2]=C[3]+w+O|0,C[3]=C[4]+i+E|0,C[4]=C[0]+a+S|0,C[0]=_},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,i=o.words,a=0;a<5;a++){var c=i[a];i[a]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return o},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,n){return e^t^n}function v(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function m(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function b(e,t){return e<<t|e>>>32-t}n.RIPEMD160=i._createHelper(h),n.HmacRIPEMD160=i._createHmacHelper(h)}(Math),e.RIPEMD160}))},ENF9:function(e,t,n){\"use strict\";var r,o=n(\"2oRo\"),i=n(\"4syw\"),a=n(\"8YOa\"),c=n(\"bWFh\"),u=n(\"rKzb\"),s=n(\"hh1v\"),l=n(\"afO8\").enforce,f=n(\"f5p1\"),d=!o.ActiveXObject&&\"ActiveXObject\"in o,h=Object.isExtensible,p=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},v=e.exports=c(\"WeakMap\",p,u);if(f&&d){r=u.getConstructor(p,\"WeakMap\",!0),a.REQUIRED=!0;var g=v.prototype,m=g[\"delete\"],y=g.has,b=g.get,x=g.set;i(g,{delete:function(e){if(s(e)&&!h(e)){var t=l(this);return t.frozen||(t.frozen=new r),m.call(this,e)||t.frozen[\"delete\"](e)}return m.call(this,e)},has:function(e){if(s(e)&&!h(e)){var t=l(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(s(e)&&!h(e)){var t=l(this);return t.frozen||(t.frozen=new r),y.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(s(e)&&!h(e)){var n=l(this);n.frozen||(n.frozen=new r),y.call(this,e)?x.call(this,e,t):n.frozen.set(e,t)}else x.call(this,e,t);return this}})}},ETIr:function(e,t,n){(function(t,r){e.exports=r(n(\"Ib8C\"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=t.enc;o.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],i=0;i<n;i+=3)for(var a=t[i>>>2]>>>24-i%4*8&255,c=t[i+1>>>2]>>>24-(i+1)%4*8&255,u=t[i+2>>>2]>>>24-(i+2)%4*8&255,s=a<<16|c<<8|u,l=0;l<4&&i+.75*l<n;l++)o.push(r.charAt(s>>>6*(3-l)&63));var f=r.charAt(64);if(f)while(o.length%4)o.push(f);return o.join(\"\")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var o=0;o<n.length;o++)r[n.charCodeAt(o)]=o}var a=n.charAt(64);if(a){var c=e.indexOf(a);-1!==c&&(t=c)}return i(e,t,r)},_map:\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\"};function i(e,t,n){for(var o=[],i=0,a=0;a<t;a++)if(a%4){var c=n[e.charCodeAt(a-1)]<<a%4*2,u=n[e.charCodeAt(a)]>>>6-a%4*2,s=c|u;o[i>>>2]|=s<<24-i%4*8,i++}return r.create(o,i)}}(),e.enc.Base64}))},EUja:function(e,t,n){\"use strict\";var r=n(\"ppGB\"),o=n(\"HYAF\");e.exports=\"\".repeat||function(e){var t=String(o(this)),n=\"\",i=r(e);if(i<0||i==1/0)throw RangeError(\"Wrong number of repetitions\");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},EVdn:function(e,t,n){var r,o;(function(t,n){\"use strict\";\"object\"===typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error(\"jQuery requires a window with a document\");return n(e)}:n(t)})(\"undefined\"!==typeof window?window:this,(function(n,i){\"use strict\";var a=[],c=Object.getPrototypeOf,u=a.slice,s=a.flat?function(e){return a.flat.call(e)}:function(e){return a.concat.apply([],e)},l=a.push,f=a.indexOf,d={},h=d.toString,p=d.hasOwnProperty,v=p.toString,g=v.call(Object),m={},y=function(e){return\"function\"===typeof e&&\"number\"!==typeof e.nodeType&&\"function\"!==typeof e.item},b=function(e){return null!=e&&e===e.window},x=n.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function O(e,t,n){n=n||x;var r,o,i=n.createElement(\"script\");if(i.text=e,t)for(r in w)o=t[r]||t.getAttribute&&t.getAttribute(r),o&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function E(e){return null==e?e+\"\":\"object\"===typeof e||\"function\"===typeof e?d[h.call(e)]||\"object\":typeof e}var S=\"3.6.1\",j=function(e,t){return new j.fn.init(e,t)};function k(e){var t=!!e&&\"length\"in e&&e.length,n=E(e);return!y(e)&&!b(e)&&(\"array\"===n||0===t||\"number\"===typeof t&&t>0&&t-1 in e)}j.fn=j.prototype={jquery:S,constructor:j,length:0,toArray:function(){return u.call(this)},get:function(e){return null==e?u.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=j.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return j.each(this,e)},map:function(e){return this.pushStack(j.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(j.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(j.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:a.sort,splice:a.splice},j.extend=j.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},c=1,u=arguments.length,s=!1;for(\"boolean\"===typeof a&&(s=a,a=arguments[c]||{},c++),\"object\"===typeof a||y(a)||(a={}),c===u&&(a=this,c--);c<u;c++)if(null!=(e=arguments[c]))for(t in e)r=e[t],\"__proto__\"!==t&&a!==r&&(s&&r&&(j.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||j.isPlainObject(n)?n:{},o=!1,a[t]=j.extend(s,i,r)):void 0!==r&&(a[t]=r));return a},j.extend({expando:\"jQuery\"+(S+Math.random()).replace(/\\D/g,\"\"),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||\"[object Object]\"!==h.call(e))&&(t=c(e),!t||(n=p.call(t,\"constructor\")&&t.constructor,\"function\"===typeof n&&v.call(n)===g))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){O(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(k(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(k(Object(e))?j.merge(n,\"string\"===typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:f.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r,o=[],i=0,a=e.length,c=!n;i<a;i++)r=!t(e[i],i),r!==c&&o.push(e[i]);return o},map:function(e,t,n){var r,o,i=0,a=[];if(k(e))for(r=e.length;i<r;i++)o=t(e[i],i,n),null!=o&&a.push(o);else for(i in e)o=t(e[i],i,n),null!=o&&a.push(o);return s(a)},guid:1,support:m}),\"function\"===typeof Symbol&&(j.fn[Symbol.iterator]=a[Symbol.iterator]),j.each(\"Boolean Number String Function Array Date RegExp Object Error Symbol\".split(\" \"),(function(e,t){d[\"[object \"+t+\"]\"]=t.toLowerCase()}));var _=function(e){var t,n,r,o,i,a,c,u,s,l,f,d,h,p,v,g,m,y,b,x=\"sizzle\"+1*new Date,w=e.document,O=0,E=0,S=ue(),j=ue(),k=ue(),_=ue(),C=function(e,t){return e===t&&(f=!0),0},M={}.hasOwnProperty,A=[],N=A.pop,T=A.push,I=A.push,P=A.slice,L=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},D=\"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped\",R=\"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",F=\"(?:\\\\\\\\[\\\\da-fA-F]{1,6}\"+R+\"?|\\\\\\\\[^\\\\r\\\\n\\\\f]|[\\\\w-]|[^\\0-\\\\x7f])+\",B=\"\\\\[\"+R+\"*(\"+F+\")(?:\"+R+\"*([*^$|!~]?=)\"+R+\"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\"+F+\"))|)\"+R+\"*\\\\]\",z=\":(\"+F+\")(?:\\\\((('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\"+B+\")*)|.*)\\\\)|)\",U=new RegExp(R+\"+\",\"g\"),G=new RegExp(\"^\"+R+\"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\"+R+\"+$\",\"g\"),V=new RegExp(\"^\"+R+\"*,\"+R+\"*\"),W=new RegExp(\"^\"+R+\"*([>+~]|\"+R+\")\"+R+\"*\"),H=new RegExp(R+\"|>\"),Y=new RegExp(z),X=new RegExp(\"^\"+F+\"$\"),q={ID:new RegExp(\"^#(\"+F+\")\"),CLASS:new RegExp(\"^\\\\.(\"+F+\")\"),TAG:new RegExp(\"^(\"+F+\"|[*])\"),ATTR:new RegExp(\"^\"+B),PSEUDO:new RegExp(\"^\"+z),CHILD:new RegExp(\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\"+R+\"*(even|odd|(([+-]|)(\\\\d*)n|)\"+R+\"*(?:([+-]|)\"+R+\"*(\\\\d+)|))\"+R+\"*\\\\)|)\",\"i\"),bool:new RegExp(\"^(?:\"+D+\")$\",\"i\"),needsContext:new RegExp(\"^\"+R+\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\"+R+\"*((?:-\\\\d)?\\\\d*)\"+R+\"*\\\\)|)(?=[^-]|$)\",\"i\")},K=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,$=/^h\\d$/i,Q=/^[^{]+\\{\\s*\\[native \\w/,J=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,ee=/[+~]/,te=new RegExp(\"\\\\\\\\[\\\\da-fA-F]{1,6}\"+R+\"?|\\\\\\\\([^\\\\r\\\\n\\\\f])\",\"g\"),ne=function(e,t){var n=\"0x\"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,oe=function(e,t){return t?\"\\0\"===e?\"\\ufffd\":e.slice(0,-1)+\"\\\\\"+e.charCodeAt(e.length-1).toString(16)+\" \":\"\\\\\"+e},ie=function(){d()},ae=xe((function(e){return!0===e.disabled&&\"fieldset\"===e.nodeName.toLowerCase()}),{dir:\"parentNode\",next:\"legend\"});try{I.apply(A=P.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(_e){I={apply:A.length?function(e,t){T.apply(e,P.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function ce(e,t,r,o){var i,c,s,l,f,p,m,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],\"string\"!==typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!o&&(d(t),t=t||h,v)){if(11!==w&&(f=J.exec(e)))if(i=f[1]){if(9===w){if(!(s=t.getElementById(i)))return r;if(s.id===i)return r.push(s),r}else if(y&&(s=y.getElementById(i))&&b(t,s)&&s.id===i)return r.push(s),r}else{if(f[2])return I.apply(r,t.getElementsByTagName(e)),r;if((i=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return I.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!_[e+\" \"]&&(!g||!g.test(e))&&(1!==w||\"object\"!==t.nodeName.toLowerCase())){if(m=e,y=t,1===w&&(H.test(e)||W.test(e))){y=ee.test(e)&&me(t.parentNode)||t,y===t&&n.scope||((l=t.getAttribute(\"id\"))?l=l.replace(re,oe):t.setAttribute(\"id\",l=x)),p=a(e),c=p.length;while(c--)p[c]=(l?\"#\"+l:\":scope\")+\" \"+be(p[c]);m=p.join(\",\")}try{return I.apply(r,y.querySelectorAll(m)),r}catch(O){_(e,!0)}finally{l===x&&t.removeAttribute(\"id\")}}}return u(e.replace(G,\"$1\"),t,r,o)}function ue(){var e=[];function t(n,o){return e.push(n+\" \")>r.cacheLength&&delete t[e.shift()],t[n+\" \"]=o}return t}function se(e){return e[x]=!0,e}function le(e){var t=h.createElement(\"fieldset\");try{return!!e(t)}catch(_e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split(\"|\"),o=n.length;while(o--)r.attrHandle[n[o]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function he(e){return function(t){var n=t.nodeName.toLowerCase();return\"input\"===n&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return(\"input\"===n||\"button\"===n)&&t.type===e}}function ve(e){return function(t){return\"form\"in t?t.parentNode&&!1===t.disabled?\"label\"in t?\"label\"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:\"label\"in t&&t.disabled===e}}function ge(e){return se((function(t){return t=+t,se((function(n,r){var o,i=e([],n.length,t),a=i.length;while(a--)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function me(e){return e&&\"undefined\"!==typeof e.getElementsByTagName&&e}for(t in n=ce.support={},i=ce.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!K.test(t||n&&n.nodeName||\"HTML\")},d=ce.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:w;return a!=h&&9===a.nodeType&&a.documentElement?(h=a,p=h.documentElement,v=!i(h),w!=h&&(o=h.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener(\"unload\",ie,!1):o.attachEvent&&o.attachEvent(\"onunload\",ie)),n.scope=le((function(e){return p.appendChild(e).appendChild(h.createElement(\"div\")),\"undefined\"!==typeof e.querySelectorAll&&!e.querySelectorAll(\":scope fieldset div\").length})),n.attributes=le((function(e){return e.className=\"i\",!e.getAttribute(\"className\")})),n.getElementsByTagName=le((function(e){return e.appendChild(h.createComment(\"\")),!e.getElementsByTagName(\"*\").length})),n.getElementsByClassName=Q.test(h.getElementsByClassName),n.getById=le((function(e){return p.appendChild(e).id=x,!h.getElementsByName||!h.getElementsByName(x).length})),n.getById?(r.filter[\"ID\"]=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute(\"id\")===t}},r.find[\"ID\"]=function(e,t){if(\"undefined\"!==typeof t.getElementById&&v){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter[\"ID\"]=function(e){var t=e.replace(te,ne);return function(e){var n=\"undefined\"!==typeof e.getAttributeNode&&e.getAttributeNode(\"id\");return n&&n.value===t}},r.find[\"ID\"]=function(e,t){if(\"undefined\"!==typeof t.getElementById&&v){var n,r,o,i=t.getElementById(e);if(i){if(n=i.getAttributeNode(\"id\"),n&&n.value===e)return[i];o=t.getElementsByName(e),r=0;while(i=o[r++])if(n=i.getAttributeNode(\"id\"),n&&n.value===e)return[i]}return[]}}),r.find[\"TAG\"]=n.getElementsByTagName?function(e,t){return\"undefined\"!==typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if(\"*\"===e){while(n=i[o++])1===n.nodeType&&r.push(n);return r}return i},r.find[\"CLASS\"]=n.getElementsByClassName&&function(e,t){if(\"undefined\"!==typeof t.getElementsByClassName&&v)return t.getElementsByClassName(e)},m=[],g=[],(n.qsa=Q.test(h.querySelectorAll))&&(le((function(e){var t;p.appendChild(e).innerHTML=\"<a id='\"+x+\"'></a><select id='\"+x+\"-\\r\\\\' msallowcapture=''><option selected=''></option></select>\",e.querySelectorAll(\"[msallowcapture^='']\").length&&g.push(\"[*^$]=\"+R+\"*(?:''|\\\"\\\")\"),e.querySelectorAll(\"[selected]\").length||g.push(\"\\\\[\"+R+\"*(?:value|\"+D+\")\"),e.querySelectorAll(\"[id~=\"+x+\"-]\").length||g.push(\"~=\"),t=h.createElement(\"input\"),t.setAttribute(\"name\",\"\"),e.appendChild(t),e.querySelectorAll(\"[name='']\").length||g.push(\"\\\\[\"+R+\"*name\"+R+\"*=\"+R+\"*(?:''|\\\"\\\")\"),e.querySelectorAll(\":checked\").length||g.push(\":checked\"),e.querySelectorAll(\"a#\"+x+\"+*\").length||g.push(\".#.+[+~]\"),e.querySelectorAll(\"\\\\\\f\"),g.push(\"[\\\\r\\\\n\\\\f]\")})),le((function(e){e.innerHTML=\"<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>\";var t=h.createElement(\"input\");t.setAttribute(\"type\",\"hidden\"),e.appendChild(t).setAttribute(\"name\",\"D\"),e.querySelectorAll(\"[name=d]\").length&&g.push(\"name\"+R+\"*[*^$|!~]?=\"),2!==e.querySelectorAll(\":enabled\").length&&g.push(\":enabled\",\":disabled\"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(\":disabled\").length&&g.push(\":enabled\",\":disabled\"),e.querySelectorAll(\"*,:x\"),g.push(\",.*:\")}))),(n.matchesSelector=Q.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&le((function(e){n.disconnectedMatch=y.call(e,\"*\"),y.call(e,\"[s!='']:x\"),m.push(\"!=\",z)})),g=g.length&&new RegExp(g.join(\"|\")),m=m.length&&new RegExp(m.join(\"|\")),t=Q.test(p.compareDocumentPosition),b=t||Q.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},C=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&r||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==h||e.ownerDocument==w&&b(w,e)?-1:t==h||t.ownerDocument==w&&b(w,t)?1:l?L(l,e)-L(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],c=[t];if(!o||!i)return e==h?-1:t==h?1:o?-1:i?1:l?L(l,e)-L(l,t):0;if(o===i)return de(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)c.unshift(n);while(a[r]===c[r])r++;return r?de(a[r],c[r]):a[r]==w?-1:c[r]==w?1:0},h):h},ce.matches=function(e,t){return ce(e,null,null,t)},ce.matchesSelector=function(e,t){if(d(e),n.matchesSelector&&v&&!_[t+\" \"]&&(!m||!m.test(t))&&(!g||!g.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(_e){_(t,!0)}return ce(t,h,null,[e]).length>0},ce.contains=function(e,t){return(e.ownerDocument||e)!=h&&d(e),b(e,t)},ce.attr=function(e,t){(e.ownerDocument||e)!=h&&d(e);var o=r.attrHandle[t.toLowerCase()],i=o&&M.call(r.attrHandle,t.toLowerCase())?o(e,t,!v):void 0;return void 0!==i?i:n.attributes||!v?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},ce.escape=function(e){return(e+\"\").replace(re,oe)},ce.error=function(e){throw new Error(\"Syntax error, unrecognized expression: \"+e)},ce.uniqueSort=function(e){var t,r=[],o=0,i=0;if(f=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(C),f){while(t=e[i++])t===e[i]&&(o=r.push(i));while(o--)e.splice(r[o],1)}return l=null,e},o=ce.getText=function(e){var t,n=\"\",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if(\"string\"===typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else while(t=e[r++])n+=o(t);return n},r=ce.selectors={cacheLength:50,createPseudo:se,match:q,attrHandle:{},find:{},relative:{\">\":{dir:\"parentNode\",first:!0},\" \":{dir:\"parentNode\"},\"+\":{dir:\"previousSibling\",first:!0},\"~\":{dir:\"previousSibling\"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||\"\").replace(te,ne),\"~=\"===e[2]&&(e[3]=\" \"+e[3]+\" \"),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),\"nth\"===e[1].slice(0,3)?(e[3]||ce.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*(\"even\"===e[3]||\"odd\"===e[3])),e[5]=+(e[7]+e[8]||\"odd\"===e[3])):e[3]&&ce.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return q[\"CHILD\"].test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||\"\":n&&Y.test(n)&&(t=a(n,!0))&&(t=n.indexOf(\")\",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return\"*\"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+\" \"];return t||(t=new RegExp(\"(^|\"+R+\")\"+e+\"(\"+R+\"|$)\"))&&S(e,(function(e){return t.test(\"string\"===typeof e.className&&e.className||\"undefined\"!==typeof e.getAttribute&&e.getAttribute(\"class\")||\"\")}))},ATTR:function(e,t,n){return function(r){var o=ce.attr(r,e);return null==o?\"!=\"===t:!t||(o+=\"\",\"=\"===t?o===n:\"!=\"===t?o!==n:\"^=\"===t?n&&0===o.indexOf(n):\"*=\"===t?n&&o.indexOf(n)>-1:\"$=\"===t?n&&o.slice(-n.length)===n:\"~=\"===t?(\" \"+o.replace(U,\" \")+\" \").indexOf(n)>-1:\"|=\"===t&&(o===n||o.slice(0,n.length+1)===n+\"-\"))}},CHILD:function(e,t,n,r,o){var i=\"nth\"!==e.slice(0,3),a=\"last\"!==e.slice(-4),c=\"of-type\"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var s,l,f,d,h,p,v=i!==a?\"nextSibling\":\"previousSibling\",g=t.parentNode,m=c&&t.nodeName.toLowerCase(),y=!u&&!c,b=!1;if(g){if(i){while(v){d=t;while(d=d[v])if(c?d.nodeName.toLowerCase()===m:1===d.nodeType)return!1;p=v=\"only\"===e&&!p&&\"nextSibling\"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&y){d=g,f=d[x]||(d[x]={}),l=f[d.uniqueID]||(f[d.uniqueID]={}),s=l[e]||[],h=s[0]===O&&s[1],b=h&&s[2],d=h&&g.childNodes[h];while(d=++h&&d&&d[v]||(b=h=0)||p.pop())if(1===d.nodeType&&++b&&d===t){l[e]=[O,h,b];break}}else if(y&&(d=t,f=d[x]||(d[x]={}),l=f[d.uniqueID]||(f[d.uniqueID]={}),s=l[e]||[],h=s[0]===O&&s[1],b=h),!1===b)while(d=++h&&d&&d[v]||(b=h=0)||p.pop())if((c?d.nodeName.toLowerCase()===m:1===d.nodeType)&&++b&&(y&&(f=d[x]||(d[x]={}),l=f[d.uniqueID]||(f[d.uniqueID]={}),l[e]=[O,b]),d===t))break;return b-=o,b===r||b%r===0&&b/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ce.error(\"unsupported pseudo: \"+e);return o[x]?o(t):o.length>1?(n=[e,e,\"\",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se((function(e,n){var r,i=o(e,t),a=i.length;while(a--)r=L(e,i[a]),e[r]=!(n[r]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:se((function(e){var t=[],n=[],r=c(e.replace(G,\"$1\"));return r[x]?se((function(e,t,n,o){var i,a=r(e,null,o,[]),c=e.length;while(c--)(i=a[c])&&(e[c]=!(t[c]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:se((function(e){return function(t){return ce(e,t).length>0}})),contains:se((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}})),lang:se((function(e){return X.test(e||\"\")||ce.error(\"unsupported lang: \"+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=v?t.lang:t.getAttribute(\"xml:lang\")||t.getAttribute(\"lang\"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+\"-\")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ve(!1),disabled:ve(!0),checked:function(e){var t=e.nodeName.toLowerCase();return\"input\"===t&&!!e.checked||\"option\"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos[\"empty\"](e)},header:function(e){return $.test(e.nodeName)},input:function(e){return Z.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return\"input\"===t&&\"button\"===e.type||\"button\"===t},text:function(e){var t;return\"input\"===e.nodeName.toLowerCase()&&\"text\"===e.type&&(null==(t=e.getAttribute(\"type\"))||\"text\"===t.toLowerCase())},first:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,n){return[n<0?n+t:n]})),even:ge((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ge((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ge((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ge((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos[\"nth\"]=r.pseudos[\"eq\"],{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=he(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function ye(){}function be(e){for(var t=0,n=e.length,r=\"\";t<n;t++)r+=e[t].value;return r}function xe(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&\"parentNode\"===i,c=E++;return t.first?function(t,n,o){while(t=t[r])if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,u){var s,l,f,d=[O,c];if(u){while(t=t[r])if((1===t.nodeType||a)&&e(t,n,u))return!0}else while(t=t[r])if(1===t.nodeType||a)if(f=t[x]||(t[x]={}),l=f[t.uniqueID]||(f[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((s=l[i])&&s[0]===O&&s[1]===c)return d[2]=s[2];if(l[i]=d,d[2]=e(t,n,u))return!0}return!1}}function we(e){return e.length>1?function(t,n,r){var o=e.length;while(o--)if(!e[o](t,n,r))return!1;return!0}:e[0]}function Oe(e,t,n){for(var r=0,o=t.length;r<o;r++)ce(e,t[r],n);return n}function Ee(e,t,n,r,o){for(var i,a=[],c=0,u=e.length,s=null!=t;c<u;c++)(i=e[c])&&(n&&!n(i,r,o)||(a.push(i),s&&t.push(c)));return a}function Se(e,t,n,r,o,i){return r&&!r[x]&&(r=Se(r)),o&&!o[x]&&(o=Se(o,i)),se((function(i,a,c,u){var s,l,f,d=[],h=[],p=a.length,v=i||Oe(t||\"*\",c.nodeType?[c]:c,[]),g=!e||!i&&t?v:Ee(v,d,e,c,u),m=n?o||(i?e:p||r)?[]:a:g;if(n&&n(g,m,c,u),r){s=Ee(m,h),r(s,[],c,u),l=s.length;while(l--)(f=s[l])&&(m[h[l]]=!(g[h[l]]=f))}if(i){if(o||e){if(o){s=[],l=m.length;while(l--)(f=m[l])&&s.push(g[l]=f);o(null,m=[],s,u)}l=m.length;while(l--)(f=m[l])&&(s=o?L(i,f):d[l])>-1&&(i[s]=!(a[s]=f))}}else m=Ee(m===a?m.splice(p,m.length):m),o?o(null,a,m,u):I.apply(a,m)}))}function je(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],c=a||r.relative[\" \"],u=a?1:0,l=xe((function(e){return e===t}),c,!0),f=xe((function(e){return L(t,e)>-1}),c,!0),d=[function(e,n,r){var o=!a&&(r||n!==s)||((t=n).nodeType?l(e,n,r):f(e,n,r));return t=null,o}];u<i;u++)if(n=r.relative[e[u].type])d=[xe(we(d),n)];else{if(n=r.filter[e[u].type].apply(null,e[u].matches),n[x]){for(o=++u;o<i;o++)if(r.relative[e[o].type])break;return Se(u>1&&we(d),u>1&&be(e.slice(0,u-1).concat({value:\" \"===e[u-2].type?\"*\":\"\"})).replace(G,\"$1\"),n,u<o&&je(e.slice(u,o)),o<i&&je(e=e.slice(o)),o<i&&be(e))}d.push(n)}return we(d)}function ke(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,c,u,l){var f,p,g,m=0,y=\"0\",b=i&&[],x=[],w=s,E=i||o&&r.find[\"TAG\"](\"*\",l),S=O+=null==w?1:Math.random()||.1,j=E.length;for(l&&(s=a==h||a||l);y!==j&&null!=(f=E[y]);y++){if(o&&f){p=0,a||f.ownerDocument==h||(d(f),c=!v);while(g=e[p++])if(g(f,a||h,c)){u.push(f);break}l&&(O=S)}n&&((f=!g&&f)&&m--,i&&b.push(f))}if(m+=y,n&&y!==m){p=0;while(g=t[p++])g(b,x,a,c);if(i){if(m>0)while(y--)b[y]||x[y]||(x[y]=N.call(u));x=Ee(x)}I.apply(u,x),l&&!i&&x.length>0&&m+t.length>1&&ce.uniqueSort(u)}return l&&(O=S,s=w),b};return n?se(i):i}return ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=ce.tokenize=function(e,t){var n,o,i,a,c,u,s,l=j[e+\" \"];if(l)return t?0:l.slice(0);c=e,u=[],s=r.preFilter;while(c){for(a in n&&!(o=V.exec(c))||(o&&(c=c.slice(o[0].length)||c),u.push(i=[])),n=!1,(o=W.exec(c))&&(n=o.shift(),i.push({value:n,type:o[0].replace(G,\" \")}),c=c.slice(n.length)),r.filter)!(o=q[a].exec(c))||s[a]&&!(o=s[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),c=c.slice(n.length));if(!n)break}return t?c.length:c?ce.error(e):j(e,u).slice(0)},c=ce.compile=function(e,t){var n,r=[],o=[],i=k[e+\" \"];if(!i){t||(t=a(e)),n=t.length;while(n--)i=je(t[n]),i[x]?r.push(i):o.push(i);i=k(e,ke(o,r)),i.selector=e}return i},u=ce.select=function(e,t,n,o){var i,u,s,l,f,d=\"function\"===typeof e&&e,h=!o&&a(e=d.selector||e);if(n=n||[],1===h.length){if(u=h[0]=h[0].slice(0),u.length>2&&\"ID\"===(s=u[0]).type&&9===t.nodeType&&v&&r.relative[u[1].type]){if(t=(r.find[\"ID\"](s.matches[0].replace(te,ne),t)||[])[0],!t)return n;d&&(t=t.parentNode),e=e.slice(u.shift().value.length)}i=q[\"needsContext\"].test(e)?0:u.length;while(i--){if(s=u[i],r.relative[l=s.type])break;if((f=r.find[l])&&(o=f(s.matches[0].replace(te,ne),ee.test(u[0].type)&&me(t.parentNode)||t))){if(u.splice(i,1),e=o.length&&be(u),!e)return I.apply(n,o),n;break}}}return(d||c(e,h))(o,t,!v,n,!t||ee.test(e)&&me(t.parentNode)||t),n},n.sortStable=x.split(\"\").sort(C).join(\"\")===x,n.detectDuplicates=!!f,d(),n.sortDetached=le((function(e){return 1&e.compareDocumentPosition(h.createElement(\"fieldset\"))})),le((function(e){return e.innerHTML=\"<a href='#'></a>\",\"#\"===e.firstChild.getAttribute(\"href\")}))||fe(\"type|href|height|width\",(function(e,t,n){if(!n)return e.getAttribute(t,\"type\"===t.toLowerCase()?1:2)})),n.attributes&&le((function(e){return e.innerHTML=\"<input/>\",e.firstChild.setAttribute(\"value\",\"\"),\"\"===e.firstChild.getAttribute(\"value\")}))||fe(\"value\",(function(e,t,n){if(!n&&\"input\"===e.nodeName.toLowerCase())return e.defaultValue})),le((function(e){return null==e.getAttribute(\"disabled\")}))||fe(D,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),ce}(n);j.find=_,j.expr=_.selectors,j.expr[\":\"]=j.expr.pseudos,j.uniqueSort=j.unique=_.uniqueSort,j.text=_.getText,j.isXMLDoc=_.isXML,j.contains=_.contains,j.escapeSelector=_.escape;var C=function(e,t,n){var r=[],o=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(o&&j(e).is(n))break;r.push(e)}return r},M=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},A=j.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var T=/^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i;function I(e,t,n){return y(t)?j.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?j.grep(e,(function(e){return e===t!==n})):\"string\"!==typeof t?j.grep(e,(function(e){return f.call(t,e)>-1!==n})):j.filter(t,e,n)}j.filter=function(e,t,n){var r=t[0];return n&&(e=\":not(\"+e+\")\"),1===t.length&&1===r.nodeType?j.find.matchesSelector(r,e)?[r]:[]:j.find.matches(e,j.grep(t,(function(e){return 1===e.nodeType})))},j.fn.extend({find:function(e){var t,n,r=this.length,o=this;if(\"string\"!==typeof e)return this.pushStack(j(e).filter((function(){for(t=0;t<r;t++)if(j.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)j.find(e,o[t],n);return r>1?j.uniqueSort(n):n},filter:function(e){return this.pushStack(I(this,e||[],!1))},not:function(e){return this.pushStack(I(this,e||[],!0))},is:function(e){return!!I(this,\"string\"===typeof e&&A.test(e)?j(e):e||[],!1).length}});var P,L=/^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,D=j.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||P,\"string\"===typeof e){if(r=\"<\"===e[0]&&\">\"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof j?t[0]:t,j.merge(this,j.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:x,!0)),T.test(r[1])&&j.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return o=x.getElementById(r[2]),o&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(j):j.makeArray(e,this)};D.prototype=j.fn,P=j(x);var R=/^(?:parents|prev(?:Until|All))/,F={children:!0,contents:!0,next:!0,prev:!0};function B(e,t){while((e=e[t])&&1!==e.nodeType);return e}j.fn.extend({has:function(e){var t=j(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(j.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a=\"string\"!==typeof e&&j(e);if(!A.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&j.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?j.uniqueSort(i):i)},index:function(e){return e?\"string\"===typeof e?f.call(j(e),this[0]):f.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(j.uniqueSort(j.merge(this.get(),j(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),j.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return C(e,\"parentNode\")},parentsUntil:function(e,t,n){return C(e,\"parentNode\",n)},next:function(e){return B(e,\"nextSibling\")},prev:function(e){return B(e,\"previousSibling\")},nextAll:function(e){return C(e,\"nextSibling\")},prevAll:function(e){return C(e,\"previousSibling\")},nextUntil:function(e,t,n){return C(e,\"nextSibling\",n)},prevUntil:function(e,t,n){return C(e,\"previousSibling\",n)},siblings:function(e){return M((e.parentNode||{}).firstChild,e)},children:function(e){return M(e.firstChild)},contents:function(e){return null!=e.contentDocument&&c(e.contentDocument)?e.contentDocument:(N(e,\"template\")&&(e=e.content||e),j.merge([],e.childNodes))}},(function(e,t){j.fn[e]=function(n,r){var o=j.map(this,t,n);return\"Until\"!==e.slice(-5)&&(r=n),r&&\"string\"===typeof r&&(o=j.filter(r,o)),this.length>1&&(F[e]||j.uniqueSort(o),R.test(e)&&o.reverse()),this.pushStack(o)}}));var z=/[^\\x20\\t\\r\\n\\f]+/g;function U(e){var t={};return j.each(e.match(z)||[],(function(e,n){t[n]=!0})),t}function G(e){return e}function V(e){throw e}function W(e,t,n,r){var o;try{e&&y(o=e.promise)?o.call(e).done(t).fail(n):e&&y(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}j.Callbacks=function(e){e=\"string\"===typeof e?U(e):j.extend({},e);var t,n,r,o,i=[],a=[],c=-1,u=function(){for(o=o||e.once,r=t=!0;a.length;c=-1){n=a.shift();while(++c<i.length)!1===i[c].apply(n[0],n[1])&&e.stopOnFalse&&(c=i.length,n=!1)}e.memory||(n=!1),t=!1,o&&(i=n?[]:\"\")},s={add:function(){return i&&(n&&!t&&(c=i.length-1,a.push(n)),function t(n){j.each(n,(function(n,r){y(r)?e.unique&&s.has(r)||i.push(r):r&&r.length&&\"string\"!==E(r)&&t(r)}))}(arguments),n&&!t&&u()),this},remove:function(){return j.each(arguments,(function(e,t){var n;while((n=j.inArray(t,i,n))>-1)i.splice(n,1),n<=c&&c--})),this},has:function(e){return e?j.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n=\"\",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=\"\"),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!r}};return s},j.extend({Deferred:function(e){var t=[[\"notify\",\"progress\",j.Callbacks(\"memory\"),j.Callbacks(\"memory\"),2],[\"resolve\",\"done\",j.Callbacks(\"once memory\"),j.Callbacks(\"once memory\"),0,\"resolved\"],[\"reject\",\"fail\",j.Callbacks(\"once memory\"),j.Callbacks(\"once memory\"),1,\"rejected\"]],r=\"pending\",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return j.Deferred((function(n){j.each(t,(function(t,r){var o=y(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+\"With\"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,o){var i=0;function a(e,t,r,o){return function(){var c=this,u=arguments,s=function(){var n,s;if(!(e<i)){if(n=r.apply(c,u),n===t.promise())throw new TypeError(\"Thenable self-resolution\");s=n&&(\"object\"===typeof n||\"function\"===typeof n)&&n.then,y(s)?o?s.call(n,a(i,t,G,o),a(i,t,V,o)):(i++,s.call(n,a(i,t,G,o),a(i,t,V,o),a(i,t,G,t.notifyWith))):(r!==G&&(c=void 0,u=[n]),(o||t.resolveWith)(c,u))}},l=o?s:function(){try{s()}catch(n){j.Deferred.exceptionHook&&j.Deferred.exceptionHook(n,l.stackTrace),e+1>=i&&(r!==V&&(c=void 0,u=[n]),t.rejectWith(c,u))}};e?l():(j.Deferred.getStackHook&&(l.stackTrace=j.Deferred.getStackHook()),n.setTimeout(l))}}return j.Deferred((function(n){t[0][3].add(a(0,n,y(o)?o:G,n.notifyWith)),t[1][3].add(a(0,n,y(e)?e:G)),t[2][3].add(a(0,n,y(r)?r:V))})).promise()},promise:function(e){return null!=e?j.extend(e,o):o}},i={};return j.each(t,(function(e,n){var a=n[2],c=n[5];o[n[1]]=a.add,c&&a.add((function(){r=c}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),i[n[0]]=function(){return i[n[0]+\"With\"](this===i?void 0:this,arguments),this},i[n[0]+\"With\"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=u.call(arguments),i=j.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?u.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(W(e,i.done(a(n)).resolve,i.reject,!t),\"pending\"===i.state()||y(o[n]&&o[n].then)))return i.then();while(n--)W(o[n],a(n),i.reject);return i.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;j.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&H.test(e.name)&&n.console.warn(\"jQuery.Deferred exception: \"+e.message,e.stack,t)},j.readyException=function(e){n.setTimeout((function(){throw e}))};var Y=j.Deferred();function X(){x.removeEventListener(\"DOMContentLoaded\",X),n.removeEventListener(\"load\",X),j.ready()}j.fn.ready=function(e){return Y.then(e).catch((function(e){j.readyException(e)})),this},j.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--j.readyWait:j.isReady)||(j.isReady=!0,!0!==e&&--j.readyWait>0||Y.resolveWith(x,[j]))}}),j.ready.then=Y.then,\"complete\"===x.readyState||\"loading\"!==x.readyState&&!x.documentElement.doScroll?n.setTimeout(j.ready):(x.addEventListener(\"DOMContentLoaded\",X),n.addEventListener(\"load\",X));var q=function(e,t,n,r,o,i,a){var c=0,u=e.length,s=null==n;if(\"object\"===E(n))for(c in o=!0,n)q(e,t,c,n[c],!0,i,a);else if(void 0!==r&&(o=!0,y(r)||(a=!0),s&&(a?(t.call(e,r),t=null):(s=t,t=function(e,t,n){return s.call(j(e),n)})),t))for(;c<u;c++)t(e[c],n,a?r:r.call(e[c],c,t(e[c],n)));return o?e:s?t.call(e):u?t(e[0],n):i},K=/^-ms-/,Z=/-([a-z])/g;function $(e,t){return t.toUpperCase()}function Q(e){return e.replace(K,\"ms-\").replace(Z,$)}var J=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ee(){this.expando=j.expando+ee.uid++}ee.uid=1,ee.prototype={cache:function(e){var t=e[this.expando];return t||(t={},J(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if(\"string\"===typeof t)o[Q(t)]=n;else for(r in t)o[Q(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Q(t)]},access:function(e,t,n){return void 0===t||t&&\"string\"===typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){Array.isArray(t)?t=t.map(Q):(t=Q(t),t=t in r?[t]:t.match(z)||[]),n=t.length;while(n--)delete r[t[n]]}(void 0===t||j.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!j.isEmptyObject(t)}};var te=new ee,ne=new ee,re=/^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,oe=/[A-Z]/g;function ie(e){return\"true\"===e||\"false\"!==e&&(\"null\"===e?null:e===+e+\"\"?+e:re.test(e)?JSON.parse(e):e)}function ae(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r=\"data-\"+t.replace(oe,\"-$&\").toLowerCase(),n=e.getAttribute(r),\"string\"===typeof n){try{n=ie(n)}catch(o){}ne.set(e,t,n)}else n=void 0;return n}j.extend({hasData:function(e){return ne.hasData(e)||te.hasData(e)},data:function(e,t,n){return ne.access(e,t,n)},removeData:function(e,t){ne.remove(e,t)},_data:function(e,t,n){return te.access(e,t,n)},_removeData:function(e,t){te.remove(e,t)}}),j.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=ne.get(i),1===i.nodeType&&!te.get(i,\"hasDataAttrs\"))){n=a.length;while(n--)a[n]&&(r=a[n].name,0===r.indexOf(\"data-\")&&(r=Q(r.slice(5)),ae(i,r,o[r])));te.set(i,\"hasDataAttrs\",!0)}return o}return\"object\"===typeof e?this.each((function(){ne.set(this,e)})):q(this,(function(t){var n;if(i&&void 0===t)return n=ne.get(i,e),void 0!==n?n:(n=ae(i,e),void 0!==n?n:void 0);this.each((function(){ne.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){ne.remove(this,e)}))}}),j.extend({queue:function(e,t,n){var r;if(e)return t=(t||\"fx\")+\"queue\",r=te.get(e,t),n&&(!r||Array.isArray(n)?r=te.access(e,t,j.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||\"fx\";var n=j.queue(e,t),r=n.length,o=n.shift(),i=j._queueHooks(e,t),a=function(){j.dequeue(e,t)};\"inprogress\"===o&&(o=n.shift(),r--),o&&(\"fx\"===t&&n.unshift(\"inprogress\"),delete i.stop,o.call(e,a,i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+\"queueHooks\";return te.get(e,n)||te.access(e,n,{empty:j.Callbacks(\"once memory\").add((function(){te.remove(e,[t+\"queue\",n])}))})}}),j.fn.extend({queue:function(e,t){var n=2;return\"string\"!==typeof e&&(t=e,e=\"fx\",n--),arguments.length<n?j.queue(this[0],e):void 0===t?this:this.each((function(){var n=j.queue(this,e,t);j._queueHooks(this,e),\"fx\"===e&&\"inprogress\"!==n[0]&&j.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){j.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||\"fx\",[])},promise:function(e,t){var n,r=1,o=j.Deferred(),i=this,a=this.length,c=function(){--r||o.resolveWith(i,[i])};\"string\"!==typeof e&&(t=e,e=void 0),e=e||\"fx\";while(a--)n=te.get(i[a],e+\"queueHooks\"),n&&n.empty&&(r++,n.empty.add(c));return c(),o.promise(t)}});var ce=/[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/.source,ue=new RegExp(\"^(?:([+-])=|)(\"+ce+\")([a-z%]*)$\",\"i\"),se=[\"Top\",\"Right\",\"Bottom\",\"Left\"],le=x.documentElement,fe=function(e){return j.contains(e.ownerDocument,e)},de={composed:!0};le.getRootNode&&(fe=function(e){return j.contains(e.ownerDocument,e)||e.getRootNode(de)===e.ownerDocument});var he=function(e,t){return e=t||e,\"none\"===e.style.display||\"\"===e.style.display&&fe(e)&&\"none\"===j.css(e,\"display\")};function pe(e,t,n,r){var o,i,a=20,c=r?function(){return r.cur()}:function(){return j.css(e,t,\"\")},u=c(),s=n&&n[3]||(j.cssNumber[t]?\"\":\"px\"),l=e.nodeType&&(j.cssNumber[t]||\"px\"!==s&&+u)&&ue.exec(j.css(e,t));if(l&&l[3]!==s){u/=2,s=s||l[3],l=+u||1;while(a--)j.style(e,t,l+s),(1-i)*(1-(i=c()/u||.5))<=0&&(a=0),l/=i;l*=2,j.style(e,t,l+s),n=n||[]}return n&&(l=+l||+u||0,o=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=s,r.start=l,r.end=o)),o}var ve={};function ge(e){var t,n=e.ownerDocument,r=e.nodeName,o=ve[r];return o||(t=n.body.appendChild(n.createElement(r)),o=j.css(t,\"display\"),t.parentNode.removeChild(t),\"none\"===o&&(o=\"block\"),ve[r]=o,o)}function me(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)r=e[i],r.style&&(n=r.style.display,t?(\"none\"===n&&(o[i]=te.get(r,\"display\")||null,o[i]||(r.style.display=\"\")),\"\"===r.style.display&&he(r)&&(o[i]=ge(r))):\"none\"!==n&&(o[i]=\"none\",te.set(r,\"display\",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}j.fn.extend({show:function(){return me(this,!0)},hide:function(){return me(this)},toggle:function(e){return\"boolean\"===typeof e?e?this.show():this.hide():this.each((function(){he(this)?j(this).show():j(this).hide()}))}});var ye=/^(?:checkbox|radio)$/i,be=/<([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)/i,xe=/^$|^module$|\\/(?:java|ecma)script/i;(function(){var e=x.createDocumentFragment(),t=e.appendChild(x.createElement(\"div\")),n=x.createElement(\"input\");n.setAttribute(\"type\",\"radio\"),n.setAttribute(\"checked\",\"checked\"),n.setAttribute(\"name\",\"t\"),t.appendChild(n),m.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML=\"<textarea>x</textarea>\",m.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML=\"<option></option>\",m.option=!!t.lastChild})();var we={thead:[1,\"<table>\",\"</table>\"],col:[2,\"<table><colgroup>\",\"</colgroup></table>\"],tr:[2,\"<table><tbody>\",\"</tbody></table>\"],td:[3,\"<table><tbody><tr>\",\"</tr></tbody></table>\"],_default:[0,\"\",\"\"]};function Oe(e,t){var n;return n=\"undefined\"!==typeof e.getElementsByTagName?e.getElementsByTagName(t||\"*\"):\"undefined\"!==typeof e.querySelectorAll?e.querySelectorAll(t||\"*\"):[],void 0===t||t&&N(e,t)?j.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)te.set(e[n],\"globalEval\",!t||te.get(t[n],\"globalEval\"))}we.tbody=we.tfoot=we.colgroup=we.caption=we.thead,we.th=we.td,m.option||(we.optgroup=we.option=[1,\"<select multiple='multiple'>\",\"</select>\"]);var Se=/<|&#?\\w+;/;function je(e,t,n,r,o){for(var i,a,c,u,s,l,f=t.createDocumentFragment(),d=[],h=0,p=e.length;h<p;h++)if(i=e[h],i||0===i)if(\"object\"===E(i))j.merge(d,i.nodeType?[i]:i);else if(Se.test(i)){a=a||f.appendChild(t.createElement(\"div\")),c=(be.exec(i)||[\"\",\"\"])[1].toLowerCase(),u=we[c]||we._default,a.innerHTML=u[1]+j.htmlPrefilter(i)+u[2],l=u[0];while(l--)a=a.lastChild;j.merge(d,a.childNodes),a=f.firstChild,a.textContent=\"\"}else d.push(t.createTextNode(i));f.textContent=\"\",h=0;while(i=d[h++])if(r&&j.inArray(i,r)>-1)o&&o.push(i);else if(s=fe(i),a=Oe(f.appendChild(i),\"script\"),s&&Ee(a),n){l=0;while(i=a[l++])xe.test(i.type||\"\")&&n.push(i)}return f}var ke=/^([^.]*)(?:\\.(.+)|)/;function _e(){return!0}function Ce(){return!1}function Me(e,t){return e===Ae()===(\"focus\"===t)}function Ae(){try{return x.activeElement}catch(e){}}function Ne(e,t,n,r,o,i){var a,c;if(\"object\"===typeof t){for(c in\"string\"!==typeof n&&(r=r||n,n=void 0),t)Ne(e,c,n,r,t[c],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&(\"string\"===typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Ce;else if(!o)return e;return 1===i&&(a=o,o=function(e){return j().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=j.guid++)),e.each((function(){j.event.add(this,t,o,r,n)}))}function Te(e,t,n){n?(te.set(e,t,!1),j.event.add(e,t,{namespace:!1,handler:function(e){var r,o,i=te.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(j.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=u.call(arguments),te.set(this,t,i),r=n(this,t),this[t](),o=te.get(this,t),i!==o||r?te.set(this,t,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o&&o.value}else i.length&&(te.set(this,t,{value:j.event.trigger(j.extend(i[0],j.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===te.get(e,t)&&j.event.add(e,t,_e)}j.event={global:{},add:function(e,t,n,r,o){var i,a,c,u,s,l,f,d,h,p,v,g=te.get(e);if(J(e)){n.handler&&(i=n,n=i.handler,o=i.selector),o&&j.find.matchesSelector(le,o),n.guid||(n.guid=j.guid++),(u=g.events)||(u=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return\"undefined\"!==typeof j&&j.event.triggered!==t.type?j.event.dispatch.apply(e,arguments):void 0}),t=(t||\"\").match(z)||[\"\"],s=t.length;while(s--)c=ke.exec(t[s])||[],h=v=c[1],p=(c[2]||\"\").split(\".\").sort(),h&&(f=j.event.special[h]||{},h=(o?f.delegateType:f.bindType)||h,f=j.event.special[h]||{},l=j.extend({type:h,origType:v,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&j.expr.match.needsContext.test(o),namespace:p.join(\".\")},i),(d=u[h])||(d=u[h]=[],d.delegateCount=0,f.setup&&!1!==f.setup.call(e,r,p,a)||e.addEventListener&&e.addEventListener(h,a)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,l):d.push(l),j.event.global[h]=!0)}},remove:function(e,t,n,r,o){var i,a,c,u,s,l,f,d,h,p,v,g=te.hasData(e)&&te.get(e);if(g&&(u=g.events)){t=(t||\"\").match(z)||[\"\"],s=t.length;while(s--)if(c=ke.exec(t[s])||[],h=v=c[1],p=(c[2]||\"\").split(\".\").sort(),h){f=j.event.special[h]||{},h=(r?f.delegateType:f.bindType)||h,d=u[h]||[],c=c[2]&&new RegExp(\"(^|\\\\.)\"+p.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"),a=i=d.length;while(i--)l=d[i],!o&&v!==l.origType||n&&n.guid!==l.guid||c&&!c.test(l.namespace)||r&&r!==l.selector&&(\"**\"!==r||!l.selector)||(d.splice(i,1),l.selector&&d.delegateCount--,f.remove&&f.remove.call(e,l));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,p,g.handle)||j.removeEvent(e,h,g.handle),delete u[h])}else for(h in u)j.event.remove(e,h+t[s],n,r,!0);j.isEmptyObject(u)&&te.remove(e,\"handle events\")}},dispatch:function(e){var t,n,r,o,i,a,c=new Array(arguments.length),u=j.event.fix(e),s=(te.get(this,\"events\")||Object.create(null))[u.type]||[],l=j.event.special[u.type]||{};for(c[0]=u,t=1;t<arguments.length;t++)c[t]=arguments[t];if(u.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,u)){a=j.event.handlers.call(this,u,s),t=0;while((o=a[t++])&&!u.isPropagationStopped()){u.currentTarget=o.elem,n=0;while((i=o.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==i.namespace&&!u.rnamespace.test(i.namespace)||(u.handleObj=i,u.data=i.data,r=((j.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,c),void 0!==r&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return l.postDispatch&&l.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,o,i,a,c=[],u=t.delegateCount,s=e.target;if(u&&s.nodeType&&!(\"click\"===e.type&&e.button>=1))for(;s!==this;s=s.parentNode||this)if(1===s.nodeType&&(\"click\"!==e.type||!0!==s.disabled)){for(i=[],a={},n=0;n<u;n++)r=t[n],o=r.selector+\" \",void 0===a[o]&&(a[o]=r.needsContext?j(o,this).index(s)>-1:j.find(o,this,null,[s]).length),a[o]&&i.push(r);i.length&&c.push({elem:s,handlers:i})}return s=this,u<t.length&&c.push({elem:s,handlers:t.slice(u)}),c},addProp:function(e,t){Object.defineProperty(j.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[j.expando]?e:new j.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ye.test(t.type)&&t.click&&N(t,\"input\")&&Te(t,\"click\",_e),!1},trigger:function(e){var t=this||e;return ye.test(t.type)&&t.click&&N(t,\"input\")&&Te(t,\"click\"),!0},_default:function(e){var t=e.target;return ye.test(t.type)&&t.click&&N(t,\"input\")&&te.get(t,\"click\")||N(t,\"a\")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},j.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},j.Event=function(e,t){if(!(this instanceof j.Event))return new j.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?_e:Ce,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&j.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[j.expando]=!0},j.Event.prototype={constructor:j.Event,isDefaultPrevented:Ce,isPropagationStopped:Ce,isImmediatePropagationStopped:Ce,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=_e,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=_e,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=_e,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},j.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},j.event.addProp),j.each({focus:\"focusin\",blur:\"focusout\"},(function(e,t){j.event.special[e]={setup:function(){return Te(this,e,Me),!1},trigger:function(){return Te(this,e),!0},_default:function(t){return te.get(t.target,e)},delegateType:t}})),j.each({mouseenter:\"mouseover\",mouseleave:\"mouseout\",pointerenter:\"pointerover\",pointerleave:\"pointerout\"},(function(e,t){j.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||j.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),j.fn.extend({on:function(e,t,n,r){return Ne(this,e,t,n,r)},one:function(e,t,n,r){return Ne(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,j(e.delegateTarget).off(r.namespace?r.origType+\".\"+r.namespace:r.origType,r.selector,r.handler),this;if(\"object\"===typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&\"function\"!==typeof t||(n=t,t=void 0),!1===n&&(n=Ce),this.each((function(){j.event.remove(this,e,n,t)}))}});var Ie=/<script|<style|<link/i,Pe=/checked\\s*(?:[^=]|=\\s*.checked.)/i,Le=/^\\s*<!\\[CDATA\\[|\\]\\]>\\s*$/g;function De(e,t){return N(e,\"table\")&&N(11!==t.nodeType?t:t.firstChild,\"tr\")&&j(e).children(\"tbody\")[0]||e}function Re(e){return e.type=(null!==e.getAttribute(\"type\"))+\"/\"+e.type,e}function Fe(e){return\"true/\"===(e.type||\"\").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute(\"type\"),e}function Be(e,t){var n,r,o,i,a,c,u;if(1===t.nodeType){if(te.hasData(e)&&(i=te.get(e),u=i.events,u))for(o in te.remove(t,\"handle events\"),u)for(n=0,r=u[o].length;n<r;n++)j.event.add(t,o,u[o][n]);ne.hasData(e)&&(a=ne.access(e),c=j.extend({},a),ne.set(t,c))}}function ze(e,t){var n=t.nodeName.toLowerCase();\"input\"===n&&ye.test(e.type)?t.checked=e.checked:\"input\"!==n&&\"textarea\"!==n||(t.defaultValue=e.defaultValue)}function Ue(e,t,n,r){t=s(t);var o,i,a,c,u,l,f=0,d=e.length,h=d-1,p=t[0],v=y(p);if(v||d>1&&\"string\"===typeof p&&!m.checkClone&&Pe.test(p))return e.each((function(o){var i=e.eq(o);v&&(t[0]=p.call(this,o,i.html())),Ue(i,t,n,r)}));if(d&&(o=je(t,e[0].ownerDocument,!1,e,r),i=o.firstChild,1===o.childNodes.length&&(o=i),i||r)){for(a=j.map(Oe(o,\"script\"),Re),c=a.length;f<d;f++)u=o,f!==h&&(u=j.clone(u,!0,!0),c&&j.merge(a,Oe(u,\"script\"))),n.call(e[f],u,f);if(c)for(l=a[a.length-1].ownerDocument,j.map(a,Fe),f=0;f<c;f++)u=a[f],xe.test(u.type||\"\")&&!te.access(u,\"globalEval\")&&j.contains(l,u)&&(u.src&&\"module\"!==(u.type||\"\").toLowerCase()?j._evalUrl&&!u.noModule&&j._evalUrl(u.src,{nonce:u.nonce||u.getAttribute(\"nonce\")},l):O(u.textContent.replace(Le,\"\"),u,l))}return e}function Ge(e,t,n){for(var r,o=t?j.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||j.cleanData(Oe(r)),r.parentNode&&(n&&fe(r)&&Ee(Oe(r,\"script\")),r.parentNode.removeChild(r));return e}j.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,c=e.cloneNode(!0),u=fe(e);if(!m.noCloneChecked&&(1===e.nodeType||11===e.nodeType)&&!j.isXMLDoc(e))for(a=Oe(c),i=Oe(e),r=0,o=i.length;r<o;r++)ze(i[r],a[r]);if(t)if(n)for(i=i||Oe(e),a=a||Oe(c),r=0,o=i.length;r<o;r++)Be(i[r],a[r]);else Be(e,c);return a=Oe(c,\"script\"),a.length>0&&Ee(a,!u&&Oe(e,\"script\")),c},cleanData:function(e){for(var t,n,r,o=j.event.special,i=0;void 0!==(n=e[i]);i++)if(J(n)){if(t=n[te.expando]){if(t.events)for(r in t.events)o[r]?j.event.remove(n,r):j.removeEvent(n,r,t.handle);n[te.expando]=void 0}n[ne.expando]&&(n[ne.expando]=void 0)}}}),j.fn.extend({detach:function(e){return Ge(this,e,!0)},remove:function(e){return Ge(this,e)},text:function(e){return q(this,(function(e){return void 0===e?j.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ue(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=De(this,e);t.appendChild(e)}}))},prepend:function(){return Ue(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=De(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ue(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ue(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(j.cleanData(Oe(e,!1)),e.textContent=\"\");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return j.clone(this,e,t)}))},html:function(e){return q(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if(\"string\"===typeof e&&!Ie.test(e)&&!we[(be.exec(e)||[\"\",\"\"])[1].toLowerCase()]){e=j.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(j.cleanData(Oe(t,!1)),t.innerHTML=e);t=0}catch(o){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ue(this,arguments,(function(t){var n=this.parentNode;j.inArray(this,e)<0&&(j.cleanData(Oe(this)),n&&n.replaceChild(t,this))}),e)}}),j.each({appendTo:\"append\",prependTo:\"prepend\",insertBefore:\"before\",insertAfter:\"after\",replaceAll:\"replaceWith\"},(function(e,t){j.fn[e]=function(e){for(var n,r=[],o=j(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),j(o[a])[t](n),l.apply(r,n.get());return this.pushStack(r)}}));var Ve=new RegExp(\"^(\"+ce+\")(?!px)[a-z%]+$\",\"i\"),We=/^--/,He=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ye=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},Xe=new RegExp(se.join(\"|\"),\"i\"),qe=\"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",Ke=new RegExp(\"^\"+qe+\"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\"+qe+\"+$\",\"g\");function Ze(e,t,n){var r,o,i,a,c=We.test(t),u=e.style;return n=n||He(e),n&&(a=n.getPropertyValue(t)||n[t],c&&(a=a.replace(Ke,\"$1\")),\"\"!==a||fe(e)||(a=j.style(e,t)),!m.pixelBoxStyles()&&Ve.test(a)&&Xe.test(t)&&(r=u.width,o=u.minWidth,i=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=o,u.maxWidth=i)),void 0!==a?a+\"\":a}function $e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}(function(){function e(){if(l){s.style.cssText=\"position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0\",l.style.cssText=\"position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%\",le.appendChild(s).appendChild(l);var e=n.getComputedStyle(l);r=\"1%\"!==e.top,u=12===t(e.marginLeft),l.style.right=\"60%\",a=36===t(e.right),o=36===t(e.width),l.style.position=\"absolute\",i=12===t(l.offsetWidth/3),le.removeChild(s),l=null}}function t(e){return Math.round(parseFloat(e))}var r,o,i,a,c,u,s=x.createElement(\"div\"),l=x.createElement(\"div\");l.style&&(l.style.backgroundClip=\"content-box\",l.cloneNode(!0).style.backgroundClip=\"\",m.clearCloneStyle=\"content-box\"===l.style.backgroundClip,j.extend(m,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),u},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,r,o;return null==c&&(e=x.createElement(\"table\"),t=x.createElement(\"tr\"),r=x.createElement(\"div\"),e.style.cssText=\"position:absolute;left:-11111px;border-collapse:separate\",t.style.cssText=\"border:1px solid\",t.style.height=\"1px\",r.style.height=\"9px\",r.style.display=\"block\",le.appendChild(e).appendChild(t).appendChild(r),o=n.getComputedStyle(t),c=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,le.removeChild(e)),c}}))})();var Qe=[\"Webkit\",\"Moz\",\"ms\"],Je=x.createElement(\"div\").style,et={};function tt(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if(e=Qe[n]+t,e in Je)return e}function nt(e){var t=j.cssProps[e]||et[e];return t||(e in Je?e:et[e]=tt(e)||e)}var rt=/^(none|table(?!-c[ea]).+)/,ot={position:\"absolute\",visibility:\"hidden\",display:\"block\"},it={letterSpacing:\"0\",fontWeight:\"400\"};function at(e,t,n){var r=ue.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||\"px\"):t}function ct(e,t,n,r,o,i){var a=\"width\"===t?1:0,c=0,u=0;if(n===(r?\"border\":\"content\"))return 0;for(;a<4;a+=2)\"margin\"===n&&(u+=j.css(e,n+se[a],!0,o)),r?(\"content\"===n&&(u-=j.css(e,\"padding\"+se[a],!0,o)),\"margin\"!==n&&(u-=j.css(e,\"border\"+se[a]+\"Width\",!0,o))):(u+=j.css(e,\"padding\"+se[a],!0,o),\"padding\"!==n?u+=j.css(e,\"border\"+se[a]+\"Width\",!0,o):c+=j.css(e,\"border\"+se[a]+\"Width\",!0,o));return!r&&i>=0&&(u+=Math.max(0,Math.ceil(e[\"offset\"+t[0].toUpperCase()+t.slice(1)]-i-u-c-.5))||0),u}function ut(e,t,n){var r=He(e),o=!m.boxSizingReliable()||n,i=o&&\"border-box\"===j.css(e,\"boxSizing\",!1,r),a=i,c=Ze(e,t,r),u=\"offset\"+t[0].toUpperCase()+t.slice(1);if(Ve.test(c)){if(!n)return c;c=\"auto\"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&N(e,\"tr\")||\"auto\"===c||!parseFloat(c)&&\"inline\"===j.css(e,\"display\",!1,r))&&e.getClientRects().length&&(i=\"border-box\"===j.css(e,\"boxSizing\",!1,r),a=u in e,a&&(c=e[u])),c=parseFloat(c)||0,c+ct(e,t,n||(i?\"border\":\"content\"),a,r,c)+\"px\"}function st(e,t,n,r,o){return new st.prototype.init(e,t,n,r,o)}j.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ze(e,\"opacity\");return\"\"===n?\"1\":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,c=Q(t),u=We.test(t),s=e.style;if(u||(t=nt(c)),a=j.cssHooks[t]||j.cssHooks[c],void 0===n)return a&&\"get\"in a&&void 0!==(o=a.get(e,!1,r))?o:s[t];i=typeof n,\"string\"===i&&(o=ue.exec(n))&&o[1]&&(n=pe(e,t,o),i=\"number\"),null!=n&&n===n&&(\"number\"!==i||u||(n+=o&&o[3]||(j.cssNumber[c]?\"\":\"px\")),m.clearCloneStyle||\"\"!==n||0!==t.indexOf(\"background\")||(s[t]=\"inherit\"),a&&\"set\"in a&&void 0===(n=a.set(e,n,r))||(u?s.setProperty(t,n):s[t]=n))}},css:function(e,t,n,r){var o,i,a,c=Q(t),u=We.test(t);return u||(t=nt(c)),a=j.cssHooks[t]||j.cssHooks[c],a&&\"get\"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Ze(e,t,r)),\"normal\"===o&&t in it&&(o=it[t]),\"\"===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),j.each([\"height\",\"width\"],(function(e,t){j.cssHooks[t]={get:function(e,n,r){if(n)return!rt.test(j.css(e,\"display\"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,t,r):Ye(e,ot,(function(){return ut(e,t,r)}))},set:function(e,n,r){var o,i=He(e),a=!m.scrollboxSize()&&\"absolute\"===i.position,c=a||r,u=c&&\"border-box\"===j.css(e,\"boxSizing\",!1,i),s=r?ct(e,t,r,u,i):0;return u&&a&&(s-=Math.ceil(e[\"offset\"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-ct(e,t,\"border\",!1,i)-.5)),s&&(o=ue.exec(n))&&\"px\"!==(o[3]||\"px\")&&(e.style[t]=n,n=j.css(e,t)),at(e,n,s)}}})),j.cssHooks.marginLeft=$e(m.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ze(e,\"marginLeft\"))||e.getBoundingClientRect().left-Ye(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+\"px\"})),j.each({margin:\"\",padding:\"\",border:\"Width\"},(function(e,t){j.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i=\"string\"===typeof n?n.split(\" \"):[n];r<4;r++)o[e+se[r]+t]=i[r]||i[r-2]||i[0];return o}},\"margin\"!==e&&(j.cssHooks[e+t].set=at)})),j.fn.extend({css:function(e,t){return q(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=He(e),o=t.length;a<o;a++)i[t[a]]=j.css(e,t[a],!1,r);return i}return void 0!==n?j.style(e,t,n):j.css(e,t)}),e,t,arguments.length>1)}}),j.Tween=st,st.prototype={constructor:st,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||j.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(j.cssNumber[n]?\"\":\"px\")},cur:function(){var e=st.propHooks[this.prop];return e&&e.get?e.get(this):st.propHooks._default.get(this)},run:function(e){var t,n=st.propHooks[this.prop];return this.options.duration?this.pos=t=j.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):st.propHooks._default.set(this),this}},st.prototype.init.prototype=st.prototype,st.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=j.css(e.elem,e.prop,\"\"),t&&\"auto\"!==t?t:0)},set:function(e){j.fx.step[e.prop]?j.fx.step[e.prop](e):1!==e.elem.nodeType||!j.cssHooks[e.prop]&&null==e.elem.style[nt(e.prop)]?e.elem[e.prop]=e.now:j.style(e.elem,e.prop,e.now+e.unit)}}},st.propHooks.scrollTop=st.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},j.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:\"swing\"},j.fx=st.prototype.init,j.fx.step={};var lt,ft,dt=/^(?:toggle|show|hide)$/,ht=/queueHooks$/;function pt(){ft&&(!1===x.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(pt):n.setTimeout(pt,j.fx.interval),j.fx.tick())}function vt(){return n.setTimeout((function(){lt=void 0})),lt=Date.now()}function gt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)n=se[r],o[\"margin\"+n]=o[\"padding\"+n]=e;return t&&(o.opacity=o.width=e),o}function mt(e,t,n){for(var r,o=(xt.tweeners[t]||[]).concat(xt.tweeners[\"*\"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function yt(e,t,n){var r,o,i,a,c,u,s,l,f=\"width\"in t||\"height\"in t,d=this,h={},p=e.style,v=e.nodeType&&he(e),g=te.get(e,\"fxshow\");for(r in n.queue||(a=j._queueHooks(e,\"fx\"),null==a.unqueued&&(a.unqueued=0,c=a.empty.fire,a.empty.fire=function(){a.unqueued||c()}),a.unqueued++,d.always((function(){d.always((function(){a.unqueued--,j.queue(e,\"fx\").length||a.empty.fire()}))}))),t)if(o=t[r],dt.test(o)){if(delete t[r],i=i||\"toggle\"===o,o===(v?\"hide\":\"show\")){if(\"show\"!==o||!g||void 0===g[r])continue;v=!0}h[r]=g&&g[r]||j.style(e,r)}if(u=!j.isEmptyObject(t),u||!j.isEmptyObject(h))for(r in f&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],s=g&&g.display,null==s&&(s=te.get(e,\"display\")),l=j.css(e,\"display\"),\"none\"===l&&(s?l=s:(me([e],!0),s=e.style.display||s,l=j.css(e,\"display\"),me([e]))),(\"inline\"===l||\"inline-block\"===l&&null!=s)&&\"none\"===j.css(e,\"float\")&&(u||(d.done((function(){p.display=s})),null==s&&(l=p.display,s=\"none\"===l?\"\":l)),p.display=\"inline-block\")),n.overflow&&(p.overflow=\"hidden\",d.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),u=!1,h)u||(g?\"hidden\"in g&&(v=g.hidden):g=te.access(e,\"fxshow\",{display:s}),i&&(g.hidden=!v),v&&me([e],!0),d.done((function(){for(r in v||me([e]),te.remove(e,\"fxshow\"),h)j.style(e,r,h[r])}))),u=mt(v?g[r]:0,r,d),r in g||(g[r]=u.start,v&&(u.end=u.start,u.start=0))}function bt(e,t){var n,r,o,i,a;for(n in e)if(r=Q(n),o=t[r],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),a=j.cssHooks[r],a&&\"expand\"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}function xt(e,t,n){var r,o,i=0,a=xt.prefilters.length,c=j.Deferred().always((function(){delete u.elem})),u=function(){if(o)return!1;for(var t=lt||vt(),n=Math.max(0,s.startTime+s.duration-t),r=n/s.duration||0,i=1-r,a=0,u=s.tweens.length;a<u;a++)s.tweens[a].run(i);return c.notifyWith(e,[s,i,n]),i<1&&u?n:(u||c.notifyWith(e,[s,1,0]),c.resolveWith(e,[s]),!1)},s=c.promise({elem:e,props:j.extend({},t),opts:j.extend(!0,{specialEasing:{},easing:j.easing._default},n),originalProperties:t,originalOptions:n,startTime:lt||vt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=j.Tween(e,s.opts,t,n,s.opts.specialEasing[t]||s.opts.easing);return s.tweens.push(r),r},stop:function(t){var n=0,r=t?s.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)s.tweens[n].run(1);return t?(c.notifyWith(e,[s,1,0]),c.resolveWith(e,[s,t])):c.rejectWith(e,[s,t]),this}}),l=s.props;for(bt(l,s.opts.specialEasing);i<a;i++)if(r=xt.prefilters[i].call(s,e,l,s.opts),r)return y(r.stop)&&(j._queueHooks(s.elem,s.opts.queue).stop=r.stop.bind(r)),r;return j.map(l,mt,s),y(s.opts.start)&&s.opts.start.call(e,s),s.progress(s.opts.progress).done(s.opts.done,s.opts.complete).fail(s.opts.fail).always(s.opts.always),j.fx.timer(j.extend(u,{elem:e,anim:s,queue:s.opts.queue})),s}j.Animation=j.extend(xt,{tweeners:{\"*\":[function(e,t){var n=this.createTween(e,t);return pe(n.elem,e,ue.exec(t),n),n}]},tweener:function(e,t){y(e)?(t=e,e=[\"*\"]):e=e.match(z);for(var n,r=0,o=e.length;r<o;r++)n=e[r],xt.tweeners[n]=xt.tweeners[n]||[],xt.tweeners[n].unshift(t)},prefilters:[yt],prefilter:function(e,t){t?xt.prefilters.unshift(e):xt.prefilters.push(e)}}),j.speed=function(e,t,n){var r=e&&\"object\"===typeof e?j.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return j.fx.off?r.duration=0:\"number\"!==typeof r.duration&&(r.duration in j.fx.speeds?r.duration=j.fx.speeds[r.duration]:r.duration=j.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue=\"fx\"),r.old=r.complete,r.complete=function(){y(r.old)&&r.old.call(this),r.queue&&j.dequeue(this,r.queue)},r},j.fn.extend({fadeTo:function(e,t,n,r){return this.filter(he).css(\"opacity\",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=j.isEmptyObject(e),i=j.speed(t,n,r),a=function(){var t=xt(this,j.extend({},e),i);(o||te.get(this,\"finish\"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return\"string\"!==typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||\"fx\",[]),this.each((function(){var t=!0,o=null!=e&&e+\"queueHooks\",i=j.timers,a=te.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&ht.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||j.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||\"fx\"),this.each((function(){var t,n=te.get(this),r=n[e+\"queue\"],o=n[e+\"queueHooks\"],i=j.timers,a=r?r.length:0;for(n.finish=!0,j.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),j.each([\"toggle\",\"show\",\"hide\"],(function(e,t){var n=j.fn[t];j.fn[t]=function(e,r,o){return null==e||\"boolean\"===typeof e?n.apply(this,arguments):this.animate(gt(t,!0),e,r,o)}})),j.each({slideDown:gt(\"show\"),slideUp:gt(\"hide\"),slideToggle:gt(\"toggle\"),fadeIn:{opacity:\"show\"},fadeOut:{opacity:\"hide\"},fadeToggle:{opacity:\"toggle\"}},(function(e,t){j.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),j.timers=[],j.fx.tick=function(){var e,t=0,n=j.timers;for(lt=Date.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||j.fx.stop(),lt=void 0},j.fx.timer=function(e){j.timers.push(e),j.fx.start()},j.fx.interval=13,j.fx.start=function(){ft||(ft=!0,pt())},j.fx.stop=function(){ft=null},j.fx.speeds={slow:600,fast:200,_default:400},j.fn.delay=function(e,t){return e=j.fx&&j.fx.speeds[e]||e,t=t||\"fx\",this.queue(t,(function(t,r){var o=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(o)}}))},function(){var e=x.createElement(\"input\"),t=x.createElement(\"select\"),n=t.appendChild(x.createElement(\"option\"));e.type=\"checkbox\",m.checkOn=\"\"!==e.value,m.optSelected=n.selected,e=x.createElement(\"input\"),e.value=\"t\",e.type=\"radio\",m.radioValue=\"t\"===e.value}();var wt,Ot=j.expr.attrHandle;j.fn.extend({attr:function(e,t){return q(this,j.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){j.removeAttr(this,e)}))}}),j.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return\"undefined\"===typeof e.getAttribute?j.prop(e,t,n):(1===i&&j.isXMLDoc(e)||(o=j.attrHooks[t.toLowerCase()]||(j.expr.match.bool.test(t)?wt:void 0)),void 0!==n?null===n?void j.removeAttr(e,t):o&&\"set\"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+\"\"),n):o&&\"get\"in o&&null!==(r=o.get(e,t))?r:(r=j.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&\"radio\"===t&&N(e,\"input\")){var n=e.value;return e.setAttribute(\"type\",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(z);if(o&&1===e.nodeType)while(n=o[r++])e.removeAttribute(n)}}),wt={set:function(e,t,n){return!1===t?j.removeAttr(e,n):e.setAttribute(n,n),n}},j.each(j.expr.match.bool.source.match(/\\w+/g),(function(e,t){var n=Ot[t]||j.find.attr;Ot[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=Ot[a],Ot[a]=o,o=null!=n(e,t,r)?a:null,Ot[a]=i),o}}));var Et=/^(?:input|select|textarea|button)$/i,St=/^(?:a|area)$/i;function jt(e){var t=e.match(z)||[];return t.join(\" \")}function kt(e){return e.getAttribute&&e.getAttribute(\"class\")||\"\"}function _t(e){return Array.isArray(e)?e:\"string\"===typeof e&&e.match(z)||[]}j.fn.extend({prop:function(e,t){return q(this,j.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[j.propFix[e]||e]}))}}),j.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&j.isXMLDoc(e)||(t=j.propFix[t]||t,o=j.propHooks[t]),void 0!==n?o&&\"set\"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&\"get\"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=j.find.attr(e,\"tabindex\");return t?parseInt(t,10):Et.test(e.nodeName)||St.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:\"htmlFor\",class:\"className\"}}),m.optSelected||(j.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),j.each([\"tabIndex\",\"readOnly\",\"maxLength\",\"cellSpacing\",\"cellPadding\",\"rowSpan\",\"colSpan\",\"useMap\",\"frameBorder\",\"contentEditable\"],(function(){j.propFix[this.toLowerCase()]=this})),j.fn.extend({addClass:function(e){var t,n,r,o,i,a;return y(e)?this.each((function(t){j(this).addClass(e.call(this,t,kt(this)))})):(t=_t(e),t.length?this.each((function(){if(r=kt(this),n=1===this.nodeType&&\" \"+jt(r)+\" \",n){for(i=0;i<t.length;i++)o=t[i],n.indexOf(\" \"+o+\" \")<0&&(n+=o+\" \");a=jt(n),r!==a&&this.setAttribute(\"class\",a)}})):this)},removeClass:function(e){var t,n,r,o,i,a;return y(e)?this.each((function(t){j(this).removeClass(e.call(this,t,kt(this)))})):arguments.length?(t=_t(e),t.length?this.each((function(){if(r=kt(this),n=1===this.nodeType&&\" \"+jt(r)+\" \",n){for(i=0;i<t.length;i++){o=t[i];while(n.indexOf(\" \"+o+\" \")>-1)n=n.replace(\" \"+o+\" \",\" \")}a=jt(n),r!==a&&this.setAttribute(\"class\",a)}})):this):this.attr(\"class\",\"\")},toggleClass:function(e,t){var n,r,o,i,a=typeof e,c=\"string\"===a||Array.isArray(e);return y(e)?this.each((function(n){j(this).toggleClass(e.call(this,n,kt(this),t),t)})):\"boolean\"===typeof t&&c?t?this.addClass(e):this.removeClass(e):(n=_t(e),this.each((function(){if(c)for(i=j(this),o=0;o<n.length;o++)r=n[o],i.hasClass(r)?i.removeClass(r):i.addClass(r);else void 0!==e&&\"boolean\"!==a||(r=kt(this),r&&te.set(this,\"__className__\",r),this.setAttribute&&this.setAttribute(\"class\",r||!1===e?\"\":te.get(this,\"__className__\")||\"\"))})))},hasClass:function(e){var t,n,r=0;t=\" \"+e+\" \";while(n=this[r++])if(1===n.nodeType&&(\" \"+jt(kt(n))+\" \").indexOf(t)>-1)return!0;return!1}});var Ct=/\\r/g;j.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=y(e),this.each((function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,j(this).val()):e,null==o?o=\"\":\"number\"===typeof o?o+=\"\":Array.isArray(o)&&(o=j.map(o,(function(e){return null==e?\"\":e+\"\"}))),t=j.valHooks[this.type]||j.valHooks[this.nodeName.toLowerCase()],t&&\"set\"in t&&void 0!==t.set(this,o,\"value\")||(this.value=o))}))):o?(t=j.valHooks[o.type]||j.valHooks[o.nodeName.toLowerCase()],t&&\"get\"in t&&void 0!==(n=t.get(o,\"value\"))?n:(n=o.value,\"string\"===typeof n?n.replace(Ct,\"\"):null==n?\"\":n)):void 0}}),j.extend({valHooks:{option:{get:function(e){var t=j.find.attr(e,\"value\");return null!=t?t:jt(j.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a=\"select-one\"===e.type,c=a?null:[],u=a?i+1:o.length;for(r=i<0?u:a?i:0;r<u;r++)if(n=o[r],(n.selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!N(n.parentNode,\"optgroup\"))){if(t=j(n).val(),a)return t;c.push(t)}return c},set:function(e,t){var n,r,o=e.options,i=j.makeArray(t),a=o.length;while(a--)r=o[a],(r.selected=j.inArray(j.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),j.each([\"radio\",\"checkbox\"],(function(){j.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=j.inArray(j(e).val(),t)>-1}},m.checkOn||(j.valHooks[this].get=function(e){return null===e.getAttribute(\"value\")?\"on\":e.value})})),m.focusin=\"onfocusin\"in n;var Mt=/^(?:focusinfocus|focusoutblur)$/,At=function(e){e.stopPropagation()};j.extend(j.event,{trigger:function(e,t,r,o){var i,a,c,u,s,l,f,d,h=[r||x],v=p.call(e,\"type\")?e.type:e,g=p.call(e,\"namespace\")?e.namespace.split(\".\"):[];if(a=d=c=r=r||x,3!==r.nodeType&&8!==r.nodeType&&!Mt.test(v+j.event.triggered)&&(v.indexOf(\".\")>-1&&(g=v.split(\".\"),v=g.shift(),g.sort()),s=v.indexOf(\":\")<0&&\"on\"+v,e=e[j.expando]?e:new j.Event(v,\"object\"===typeof e&&e),e.isTrigger=o?2:3,e.namespace=g.join(\".\"),e.rnamespace=e.namespace?new RegExp(\"(^|\\\\.)\"+g.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:j.makeArray(t,[e]),f=j.event.special[v]||{},o||!f.trigger||!1!==f.trigger.apply(r,t))){if(!o&&!f.noBubble&&!b(r)){for(u=f.delegateType||v,Mt.test(u+v)||(a=a.parentNode);a;a=a.parentNode)h.push(a),c=a;c===(r.ownerDocument||x)&&h.push(c.defaultView||c.parentWindow||n)}i=0;while((a=h[i++])&&!e.isPropagationStopped())d=a,e.type=i>1?u:f.bindType||v,l=(te.get(a,\"events\")||Object.create(null))[e.type]&&te.get(a,\"handle\"),l&&l.apply(a,t),l=s&&a[s],l&&l.apply&&J(a)&&(e.result=l.apply(a,t),!1===e.result&&e.preventDefault());return e.type=v,o||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(h.pop(),t)||!J(r)||s&&y(r[v])&&!b(r)&&(c=r[s],c&&(r[s]=null),j.event.triggered=v,e.isPropagationStopped()&&d.addEventListener(v,At),r[v](),e.isPropagationStopped()&&d.removeEventListener(v,At),j.event.triggered=void 0,c&&(r[s]=c)),e.result}},simulate:function(e,t,n){var r=j.extend(new j.Event,n,{type:e,isSimulated:!0});j.event.trigger(r,null,t)}}),j.fn.extend({trigger:function(e,t){return this.each((function(){j.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return j.event.trigger(e,t,n,!0)}}),m.focusin||j.each({focus:\"focusin\",blur:\"focusout\"},(function(e,t){var n=function(e){j.event.simulate(t,e.target,j.event.fix(e))};j.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=te.access(r,t);o||r.addEventListener(e,n,!0),te.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=te.access(r,t)-1;o?te.access(r,t,o):(r.removeEventListener(e,n,!0),te.remove(r,t))}}}));var Nt=n.location,Tt={guid:Date.now()},It=/\\?/;j.parseXML=function(e){var t,r;if(!e||\"string\"!==typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,\"text/xml\")}catch(o){}return r=t&&t.getElementsByTagName(\"parsererror\")[0],t&&!r||j.error(\"Invalid XML: \"+(r?j.map(r.childNodes,(function(e){return e.textContent})).join(\"\\n\"):e)),t};var Pt=/\\[\\]$/,Lt=/\\r?\\n/g,Dt=/^(?:submit|button|image|reset|file)$/i,Rt=/^(?:input|select|textarea|keygen)/i;function Ft(e,t,n,r){var o;if(Array.isArray(t))j.each(t,(function(t,o){n||Pt.test(e)?r(e,o):Ft(e+\"[\"+(\"object\"===typeof o&&null!=o?t:\"\")+\"]\",o,n,r)}));else if(n||\"object\"!==E(t))r(e,t);else for(o in t)Ft(e+\"[\"+o+\"]\",t[o],n,r)}j.param=function(e,t){var n,r=[],o=function(e,t){var n=y(t)?t():t;r[r.length]=encodeURIComponent(e)+\"=\"+encodeURIComponent(null==n?\"\":n)};if(null==e)return\"\";if(Array.isArray(e)||e.jquery&&!j.isPlainObject(e))j.each(e,(function(){o(this.name,this.value)}));else for(n in e)Ft(n,e[n],t,o);return r.join(\"&\")},j.fn.extend({serialize:function(){return j.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=j.prop(this,\"elements\");return e?j.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!j(this).is(\":disabled\")&&Rt.test(this.nodeName)&&!Dt.test(e)&&(this.checked||!ye.test(e))})).map((function(e,t){var n=j(this).val();return null==n?null:Array.isArray(n)?j.map(n,(function(e){return{name:t.name,value:e.replace(Lt,\"\\r\\n\")}})):{name:t.name,value:n.replace(Lt,\"\\r\\n\")}})).get()}});var Bt=/%20/g,zt=/#.*$/,Ut=/([?&])_=[^&]*/,Gt=/^(.*?):[ \\t]*([^\\r\\n]*)$/gm,Vt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Wt=/^(?:GET|HEAD)$/,Ht=/^\\/\\//,Yt={},Xt={},qt=\"*/\".concat(\"*\"),Kt=x.createElement(\"a\");function Zt(e){return function(t,n){\"string\"!==typeof t&&(n=t,t=\"*\");var r,o=0,i=t.toLowerCase().match(z)||[];if(y(n))while(r=i[o++])\"+\"===r[0]?(r=r.slice(1)||\"*\",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function $t(e,t,n,r){var o={},i=e===Xt;function a(c){var u;return o[c]=!0,j.each(e[c]||[],(function(e,c){var s=c(t,n,r);return\"string\"!==typeof s||i||o[s]?i?!(u=s):void 0:(t.dataTypes.unshift(s),a(s),!1)})),u}return a(t.dataTypes[0])||!o[\"*\"]&&a(\"*\")}function Qt(e,t){var n,r,o=j.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&j.extend(!0,e,r),e}function Jt(e,t,n){var r,o,i,a,c=e.contents,u=e.dataTypes;while(\"*\"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader(\"Content-Type\"));if(r)for(o in c)if(c[o]&&c[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||e.converters[o+\" \"+u[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),n[i]}function en(e,t,n,r){var o,i,a,c,u,s={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)s[a.toLowerCase()]=e.converters[a];i=l.shift();while(i)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=l.shift(),i)if(\"*\"===i)i=u;else if(\"*\"!==u&&u!==i){if(a=s[u+\" \"+i]||s[\"* \"+i],!a)for(o in s)if(c=o.split(\" \"),c[1]===i&&(a=s[u+\" \"+c[0]]||s[\"* \"+c[0]],a)){!0===a?a=s[o]:!0!==s[o]&&(i=c[0],l.unshift(c[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(f){return{state:\"parsererror\",error:a?f:\"No conversion from \"+u+\" to \"+i}}}return{state:\"success\",data:t}}Kt.href=Nt.href,j.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Nt.href,type:\"GET\",isLocal:Vt.test(Nt.protocol),global:!0,processData:!0,async:!0,contentType:\"application/x-www-form-urlencoded; charset=UTF-8\",accepts:{\"*\":qt,text:\"text/plain\",html:\"text/html\",xml:\"application/xml, text/xml\",json:\"application/json, text/javascript\"},contents:{xml:/\\bxml\\b/,html:/\\bhtml/,json:/\\bjson\\b/},responseFields:{xml:\"responseXML\",text:\"responseText\",json:\"responseJSON\"},converters:{\"* text\":String,\"text html\":!0,\"text json\":JSON.parse,\"text xml\":j.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Qt(Qt(e,j.ajaxSettings),t):Qt(j.ajaxSettings,e)},ajaxPrefilter:Zt(Yt),ajaxTransport:Zt(Xt),ajax:function(e,t){\"object\"===typeof e&&(t=e,e=void 0),t=t||{};var r,o,i,a,c,u,s,l,f,d,h=j.ajaxSetup({},t),p=h.context||h,v=h.context&&(p.nodeType||p.jquery)?j(p):j.event,g=j.Deferred(),m=j.Callbacks(\"once memory\"),y=h.statusCode||{},b={},w={},O=\"canceled\",E={readyState:0,getResponseHeader:function(e){var t;if(s){if(!a){a={};while(t=Gt.exec(i))a[t[1].toLowerCase()+\" \"]=(a[t[1].toLowerCase()+\" \"]||[]).concat(t[2])}t=a[e.toLowerCase()+\" \"]}return null==t?null:t.join(\", \")},getAllResponseHeaders:function(){return s?i:null},setRequestHeader:function(e,t){return null==s&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==s&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(s)E.always(e[E.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||O;return r&&r.abort(t),S(0,t),this}};if(g.promise(E),h.url=((e||h.url||Nt.href)+\"\").replace(Ht,Nt.protocol+\"//\"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||\"*\").toLowerCase().match(z)||[\"\"],null==h.crossDomain){u=x.createElement(\"a\");try{u.href=h.url,u.href=u.href,h.crossDomain=Kt.protocol+\"//\"+Kt.host!==u.protocol+\"//\"+u.host}catch(k){h.crossDomain=!0}}if(h.data&&h.processData&&\"string\"!==typeof h.data&&(h.data=j.param(h.data,h.traditional)),$t(Yt,h,t,E),s)return E;for(f in l=j.event&&h.global,l&&0===j.active++&&j.event.trigger(\"ajaxStart\"),h.type=h.type.toUpperCase(),h.hasContent=!Wt.test(h.type),o=h.url.replace(zt,\"\"),h.hasContent?h.data&&h.processData&&0===(h.contentType||\"\").indexOf(\"application/x-www-form-urlencoded\")&&(h.data=h.data.replace(Bt,\"+\")):(d=h.url.slice(o.length),h.data&&(h.processData||\"string\"===typeof h.data)&&(o+=(It.test(o)?\"&\":\"?\")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Ut,\"$1\"),d=(It.test(o)?\"&\":\"?\")+\"_=\"+Tt.guid+++d),h.url=o+d),h.ifModified&&(j.lastModified[o]&&E.setRequestHeader(\"If-Modified-Since\",j.lastModified[o]),j.etag[o]&&E.setRequestHeader(\"If-None-Match\",j.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&E.setRequestHeader(\"Content-Type\",h.contentType),E.setRequestHeader(\"Accept\",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+(\"*\"!==h.dataTypes[0]?\", \"+qt+\"; q=0.01\":\"\"):h.accepts[\"*\"]),h.headers)E.setRequestHeader(f,h.headers[f]);if(h.beforeSend&&(!1===h.beforeSend.call(p,E,h)||s))return E.abort();if(O=\"abort\",m.add(h.complete),E.done(h.success),E.fail(h.error),r=$t(Xt,h,t,E),r){if(E.readyState=1,l&&v.trigger(\"ajaxSend\",[E,h]),s)return E;h.async&&h.timeout>0&&(c=n.setTimeout((function(){E.abort(\"timeout\")}),h.timeout));try{s=!1,r.send(b,S)}catch(k){if(s)throw k;S(-1,k)}}else S(-1,\"No Transport\");function S(e,t,a,u){var f,d,b,x,w,O=t;s||(s=!0,c&&n.clearTimeout(c),r=void 0,i=u||\"\",E.readyState=e>0?4:0,f=e>=200&&e<300||304===e,a&&(x=Jt(h,E,a)),!f&&j.inArray(\"script\",h.dataTypes)>-1&&j.inArray(\"json\",h.dataTypes)<0&&(h.converters[\"text script\"]=function(){}),x=en(h,x,E,f),f?(h.ifModified&&(w=E.getResponseHeader(\"Last-Modified\"),w&&(j.lastModified[o]=w),w=E.getResponseHeader(\"etag\"),w&&(j.etag[o]=w)),204===e||\"HEAD\"===h.type?O=\"nocontent\":304===e?O=\"notmodified\":(O=x.state,d=x.data,b=x.error,f=!b)):(b=O,!e&&O||(O=\"error\",e<0&&(e=0))),E.status=e,E.statusText=(t||O)+\"\",f?g.resolveWith(p,[d,O,E]):g.rejectWith(p,[E,O,b]),E.statusCode(y),y=void 0,l&&v.trigger(f?\"ajaxSuccess\":\"ajaxError\",[E,h,f?d:b]),m.fireWith(p,[E,O]),l&&(v.trigger(\"ajaxComplete\",[E,h]),--j.active||j.event.trigger(\"ajaxStop\")))}return E},getJSON:function(e,t,n){return j.get(e,t,n,\"json\")},getScript:function(e,t){return j.get(e,void 0,t,\"script\")}}),j.each([\"get\",\"post\"],(function(e,t){j[t]=function(e,n,r,o){return y(n)&&(o=o||r,r=n,n=void 0),j.ajax(j.extend({url:e,type:t,dataType:o,data:n,success:r},j.isPlainObject(e)&&e))}})),j.ajaxPrefilter((function(e){var t;for(t in e.headers)\"content-type\"===t.toLowerCase()&&(e.contentType=e.headers[t]||\"\")})),j._evalUrl=function(e,t,n){return j.ajax({url:e,type:\"GET\",dataType:\"script\",cache:!0,async:!1,global:!1,converters:{\"text script\":function(){}},dataFilter:function(e){j.globalEval(e,t,n)}})},j.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=j(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return y(e)?this.each((function(t){j(this).wrapInner(e.call(this,t))})):this.each((function(){var t=j(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){j(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not(\"body\").each((function(){j(this).replaceWith(this.childNodes)})),this}}),j.expr.pseudos.hidden=function(e){return!j.expr.pseudos.visible(e)},j.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},j.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var tn={0:200,1223:204},nn=j.ajaxSettings.xhr();m.cors=!!nn&&\"withCredentials\"in nn,m.ajax=nn=!!nn,j.ajaxTransport((function(e){var t,r;if(m.cors||nn&&!e.crossDomain)return{send:function(o,i){var a,c=e.xhr();if(c.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)c[a]=e.xhrFields[a];for(a in e.mimeType&&c.overrideMimeType&&c.overrideMimeType(e.mimeType),e.crossDomain||o[\"X-Requested-With\"]||(o[\"X-Requested-With\"]=\"XMLHttpRequest\"),o)c.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=r=c.onload=c.onerror=c.onabort=c.ontimeout=c.onreadystatechange=null,\"abort\"===e?c.abort():\"error\"===e?\"number\"!==typeof c.status?i(0,\"error\"):i(c.status,c.statusText):i(tn[c.status]||c.status,c.statusText,\"text\"!==(c.responseType||\"text\")||\"string\"!==typeof c.responseText?{binary:c.response}:{text:c.responseText},c.getAllResponseHeaders()))}},c.onload=t(),r=c.onerror=c.ontimeout=t(\"error\"),void 0!==c.onabort?c.onabort=r:c.onreadystatechange=function(){4===c.readyState&&n.setTimeout((function(){t&&r()}))},t=t(\"abort\");try{c.send(e.hasContent&&e.data||null)}catch(u){if(t)throw u}},abort:function(){t&&t()}}})),j.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),j.ajaxSetup({accepts:{script:\"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript\"},contents:{script:/\\b(?:java|ecma)script\\b/},converters:{\"text script\":function(e){return j.globalEval(e),e}}}),j.ajaxPrefilter(\"script\",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type=\"GET\")})),j.ajaxTransport(\"script\",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=j(\"<script>\").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on(\"load error\",n=function(e){t.remove(),n=null,e&&o(\"error\"===e.type?404:200,e.type)}),x.head.appendChild(t[0])},abort:function(){n&&n()}}}));var rn=[],on=/(=)\\?(?=&|$)|\\?\\?/;j.ajaxSetup({jsonp:\"callback\",jsonpCallback:function(){var e=rn.pop()||j.expando+\"_\"+Tt.guid++;return this[e]=!0,e}}),j.ajaxPrefilter(\"json jsonp\",(function(e,t,r){var o,i,a,c=!1!==e.jsonp&&(on.test(e.url)?\"url\":\"string\"===typeof e.data&&0===(e.contentType||\"\").indexOf(\"application/x-www-form-urlencoded\")&&on.test(e.data)&&\"data\");if(c||\"jsonp\"===e.dataTypes[0])return o=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,c?e[c]=e[c].replace(on,\"$1\"+o):!1!==e.jsonp&&(e.url+=(It.test(e.url)?\"&\":\"?\")+e.jsonp+\"=\"+o),e.converters[\"script json\"]=function(){return a||j.error(o+\" was not called\"),a[0]},e.dataTypes[0]=\"json\",i=n[o],n[o]=function(){a=arguments},r.always((function(){void 0===i?j(n).removeProp(o):n[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,rn.push(o)),a&&y(i)&&i(a[0]),a=i=void 0})),\"script\"})),m.createHTMLDocument=function(){var e=x.implementation.createHTMLDocument(\"\").body;return e.innerHTML=\"<form></form><form></form>\",2===e.childNodes.length}(),j.parseHTML=function(e,t,n){return\"string\"!==typeof e?[]:(\"boolean\"===typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?(t=x.implementation.createHTMLDocument(\"\"),r=t.createElement(\"base\"),r.href=x.location.href,t.head.appendChild(r)):t=x),o=T.exec(e),i=!n&&[],o?[t.createElement(o[1])]:(o=je([e],t,i),i&&i.length&&j(i).remove(),j.merge([],o.childNodes)));var r,o,i},j.fn.load=function(e,t,n){var r,o,i,a=this,c=e.indexOf(\" \");return c>-1&&(r=jt(e.slice(c)),e=e.slice(0,c)),y(t)?(n=t,t=void 0):t&&\"object\"===typeof t&&(o=\"POST\"),a.length>0&&j.ajax({url:e,type:o||\"GET\",dataType:\"html\",data:t}).done((function(e){i=arguments,a.html(r?j(\"<div>\").append(j.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},j.expr.pseudos.animated=function(e){return j.grep(j.timers,(function(t){return e===t.elem})).length},j.offset={setOffset:function(e,t,n){var r,o,i,a,c,u,s,l=j.css(e,\"position\"),f=j(e),d={};\"static\"===l&&(e.style.position=\"relative\"),c=f.offset(),i=j.css(e,\"top\"),u=j.css(e,\"left\"),s=(\"absolute\"===l||\"fixed\"===l)&&(i+u).indexOf(\"auto\")>-1,s?(r=f.position(),a=r.top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(u)||0),y(t)&&(t=t.call(e,n,j.extend({},c))),null!=t.top&&(d.top=t.top-c.top+a),null!=t.left&&(d.left=t.left-c.left+o),\"using\"in t?t.using.call(e,d):f.css(d)}},j.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){j.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if(\"fixed\"===j.css(r,\"position\"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&\"static\"===j.css(e,\"position\"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&(o=j(e).offset(),o.top+=j.css(e,\"borderTopWidth\",!0),o.left+=j.css(e,\"borderLeftWidth\",!0))}return{top:t.top-o.top-j.css(r,\"marginTop\",!0),left:t.left-o.left-j.css(r,\"marginLeft\",!0)}}},offsetParent:function(){return this.map((function(){var e=this.offsetParent;while(e&&\"static\"===j.css(e,\"position\"))e=e.offsetParent;return e||le}))}}),j.each({scrollLeft:\"pageXOffset\",scrollTop:\"pageYOffset\"},(function(e,t){var n=\"pageYOffset\"===t;j.fn[e]=function(r){return q(this,(function(e,r,o){var i;if(b(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),j.each([\"top\",\"left\"],(function(e,t){j.cssHooks[t]=$e(m.pixelPosition,(function(e,n){if(n)return n=Ze(e,t),Ve.test(n)?j(e).position()[t]+\"px\":n}))})),j.each({Height:\"height\",Width:\"width\"},(function(e,t){j.each({padding:\"inner\"+e,content:t,\"\":\"outer\"+e},(function(n,r){j.fn[r]=function(o,i){var a=arguments.length&&(n||\"boolean\"!==typeof o),c=n||(!0===o||!0===i?\"margin\":\"border\");return q(this,(function(t,n,o){var i;return b(t)?0===r.indexOf(\"outer\")?t[\"inner\"+e]:t.document.documentElement[\"client\"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body[\"scroll\"+e],i[\"scroll\"+e],t.body[\"offset\"+e],i[\"offset\"+e],i[\"client\"+e])):void 0===o?j.css(t,n,c):j.style(t,n,o,c)}),t,a?o:void 0,a)}}))})),j.each([\"ajaxStart\",\"ajaxStop\",\"ajaxComplete\",\"ajaxError\",\"ajaxSuccess\",\"ajaxSend\"],(function(e,t){j.fn[t]=function(e){return this.on(t,e)}})),j.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,\"**\"):this.off(t,e||\"**\",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),j.each(\"blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu\".split(\" \"),(function(e,t){j.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var an=/^[\\s\\uFEFF\\xA0]+|([^\\s\\uFEFF\\xA0])[\\s\\uFEFF\\xA0]+$/g;j.proxy=function(e,t){var n,r,o;if(\"string\"===typeof t&&(n=e[t],t=e,e=n),y(e))return r=u.call(arguments,2),o=function(){return e.apply(t||this,r.concat(u.call(arguments)))},o.guid=e.guid=e.guid||j.guid++,o},j.holdReady=function(e){e?j.readyWait++:j.ready(!0)},j.isArray=Array.isArray,j.parseJSON=JSON.parse,j.nodeName=N,j.isFunction=y,j.isWindow=b,j.camelCase=Q,j.type=E,j.now=Date.now,j.isNumeric=function(e){var t=j.type(e);return(\"number\"===t||\"string\"===t)&&!isNaN(e-parseFloat(e))},j.trim=function(e){return null==e?\"\":(e+\"\").replace(an,\"$1\")},r=[],o=function(){return j}.apply(t,r),void 0===o||(e.exports=o);var cn=n.jQuery,un=n.$;return j.noConflict=function(e){return n.$===j&&(n.$=un),e&&n.jQuery===j&&(n.jQuery=cn),j},\"undefined\"===typeof i&&(n.jQuery=n.$=j),j}))},EbDI:function(e,t){function n(e){if(\"undefined\"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e[\"@@iterator\"])return Array.from(e)}e.exports=n,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},EdiO:function(e,t){function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports=n,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},EjHI:function(e,t,n){\"use strict\";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,\"__esModule\",{value:!0});var o=function(){function e(){this.cells=[],this.columnNum=0,this.rowNum=0,this.additionColumn=[],this.additionRow=[]}return e.prototype.init=function(t,n,r){this.cells=[],this.CELL_W=r.CELL_W||e.DEFAULT_CELL_W,this.CELL_H=r.CELL_H||e.DEFAULT_CELL_H,this.columnNum=Math.ceil(t/this.CELL_W),this.rowNum=Math.ceil(n/this.CELL_H),e.MIN_DIST=Math.pow(t,2)+Math.pow(n,2);for(var o=0;o<this.columnNum;o++){for(var i=[],a=0;a<this.rowNum;a++){var c={dx:o,dy:a,x:o*this.CELL_W,y:a*this.CELL_H,occupied:!1};i.push(c)}this.cells.push(i)}},e.prototype.findGridByNodeId=function(e){for(var t,n,r=0;r<this.columnNum;r++)for(var o=0;o<this.rowNum;o++)if(this.cells[r][o].node&&(null===(n=null===(t=this.cells[r][o])||void 0===t?void 0:t.node)||void 0===n?void 0:n.id)===e)return{column:r,row:o};return null},e.prototype.sqdist=function(e,t){return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)},e.prototype.occupyNearest=function(t){for(var n,r=e.MIN_DIST,o=null,i=0;i<this.columnNum;i++)for(var a=0;a<this.rowNum;a++)!this.cells[i][a].occupied&&(n=this.sqdist(t,this.cells[i][a]))<r&&(r=n,o=this.cells[i][a]);return o&&(o.occupied=!0),o},e.prototype.insertColumn=function(e,t){if(!(t<=0)){for(var n=0;n<t;n++){this.cells[n+this.columnNum]=[];for(var o=0;o<this.rowNum;o++)this.cells[n+this.columnNum][o]={dx:n,dy:o,x:n*this.CELL_W,y:o*this.CELL_H,occupied:!1,node:null}}for(n=this.columnNum-1;n>e;n--)for(o=0;o<this.rowNum;o++)this.cells[n+t][o]=r(r({},this.cells[n][o]),{x:(n+t)*this.CELL_W,y:o*this.CELL_H}),this.cells[n][o]={x:n*this.CELL_W,y:o*this.CELL_H,occupied:!0,node:null};for(o=0;o<this.additionColumn.length;o++)this.additionColumn[o]>=e&&(this.additionColumn[o]+=t);for(n=0;n<t;n++)this.additionColumn.push(e+n+1);this.columnNum+=t}},e.prototype.insertRow=function(e,t){if(!(t<=0)){for(var n=0;n<t;n++)for(var o=0;o<this.columnNum;o++)this.cells[o][n+this.rowNum]={dx:o,dy:n,x:o*this.CELL_W,y:n*this.CELL_H,occupied:!1,node:null};for(o=0;o<this.columnNum;o++)for(n=this.rowNum-1;n>e;n--)this.cells[o][n+t]=r(r({},this.cells[o][n]),{dx:o,dy:n+t,x:o*this.CELL_W,y:(n+t)*this.CELL_H}),this.cells[o][n]={dx:o,dy:n,x:o*this.CELL_W,y:n*this.CELL_H,occupied:!1,node:null};for(n=0;n<this.additionRow.length;n++)this.additionRow[n]>=e&&(this.additionRow[n]+=t);for(o=0;o<t;o++)this.additionRow.push(e+o+1);this.rowNum+=t}},e.prototype.getNodes=function(){for(var e=[],t=0;t<this.columnNum;t++)for(var n=0;n<this.rowNum;n++)this.cells[t][n].node&&e.push(this.cells[t][n]);return e},e.MIN_DIST=50,e.DEFAULT_CELL_W=80,e.DEFAULT_CELL_H=80,e}();t.default=o},EnZy:function(e,t,n){\"use strict\";var r=n(\"14Sl\"),o=n(\"ROdP\"),i=n(\"glrk\"),a=n(\"HYAF\"),c=n(\"SEBh\"),u=n(\"iqWW\"),s=n(\"UMSQ\"),l=n(\"FMNM\"),f=n(\"kmMV\"),d=n(\"0Dky\"),h=[].push,p=Math.min,v=4294967295,g=!d((function(){return!RegExp(v,\"y\")}));r(\"split\",2,(function(e,t,n){var r;return r=\"c\"==\"abbc\".split(/(b)*/)[1]||4!=\"test\".split(/(?:)/,-1).length||2!=\"ab\".split(/(?:ab)*/).length||4!=\".\".split(/(.?)(.?)/).length||\".\".split(/()()/).length>1||\"\".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?v:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);var c,u,s,l=[],d=(e.ignoreCase?\"i\":\"\")+(e.multiline?\"m\":\"\")+(e.unicode?\"u\":\"\")+(e.sticky?\"y\":\"\"),p=0,g=new RegExp(e.source,d+\"g\");while(c=f.call(g,r)){if(u=g.lastIndex,u>p&&(l.push(r.slice(p,c.index)),c.length>1&&c.index<r.length&&h.apply(l,c.slice(1)),s=c[0].length,p=u,l.length>=i))break;g.lastIndex===c.index&&g.lastIndex++}return p===r.length?!s&&g.test(\"\")||l.push(\"\"):l.push(r.slice(p)),l.length>i?l.slice(0,i):l}:\"0\".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=void 0==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var f=i(e),d=String(this),h=c(f,RegExp),m=f.unicode,y=(f.ignoreCase?\"i\":\"\")+(f.multiline?\"m\":\"\")+(f.unicode?\"u\":\"\")+(g?\"y\":\"g\"),b=new h(g?f:\"^(?:\"+f.source+\")\",y),x=void 0===o?v:o>>>0;if(0===x)return[];if(0===d.length)return null===l(b,d)?[d]:[];var w=0,O=0,E=[];while(O<d.length){b.lastIndex=g?O:0;var S,j=l(b,g?d:d.slice(O));if(null===j||(S=p(s(b.lastIndex+(g?0:O)),d.length))===w)O=u(d,O,m);else{if(E.push(d.slice(w,O)),E.length===x)return E;for(var k=1;k<=j.length-1;k++)if(E.push(j[k]),E.length===x)return E;O=w=S}}return E.push(d.slice(w)),E}]}),!g)},Ep9I:function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},EpBk:function(e,t){function n(e){var t=typeof e;return\"string\"==t||\"number\"==t||\"symbol\"==t||\"boolean\"==t?\"__proto__\"!==e:null===e}e.exports=n},Eqjn:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"g6v/\"),i=n(\"6x0u\"),a=n(\"ewvW\"),c=n(\"HAuM\"),u=n(\"m/L8\");o&&r({target:\"Object\",proto:!0,forced:i},{__defineGetter__:function(e,t){u.f(a(this),e,{get:c(t),enumerable:!0,configurable:!0})}})},\"Ew+T\":function(e,t,n){var r=n(\"I+eb\"),o=n(\"2oRo\"),i=n(\"LPSS\"),a=!o.setImmediate||!o.clearImmediate;r({global:!0,bind:!0,enumerable:!0,forced:a},{setImmediate:i.set,clearImmediate:i.clear})},ExA7:function(e,t){function n(e){return null!=e&&\"object\"==typeof e}e.exports=n},\"F+F2\":function(e,t,n){(function(t,r){e.exports=r(n(\"Ib8C\"))})(0,(function(e){return function(){if(\"function\"==typeof ArrayBuffer){var t=e,n=t.lib,r=n.WordArray,o=r.init,i=r.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||\"undefined\"!==typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],r=0;r<t;r++)n[r>>>2]|=e[r]<<24-r%4*8;o.call(this,n,t)}else o.apply(this,arguments)};i.prototype=r}}(),e.lib.WordArray}))},F8JR:function(e,t,n){\"use strict\";var r=n(\"tycR\").forEach,o=n(\"pkCn\"),i=n(\"rkAj\"),a=o(\"forEach\"),c=i(\"forEach\");e.exports=a&&c?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},FDzp:function(e,t,n){var r=n(\"dOgj\");r(\"Int32\",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},FER5:function(e,t,n){\"use strict\";n.d(t,\"i\",(function(){return o})),n.d(t,\"g\",(function(){return i})),n.d(t,\"b\",(function(){return c})),n.d(t,\"h\",(function(){return u})),n.d(t,\"c\",(function(){return s})),n.d(t,\"f\",(function(){return l})),n.d(t,\"j\",(function(){return f})),n.d(t,\"a\",(function(){return h})),n.d(t,\"e\",(function(){return p})),n.d(t,\"d\",(function(){return v}));var r=n(\"b3aT\");function o(e,t,n){return{r:255*Object(r[\"a\"])(e,255),g:255*Object(r[\"a\"])(t,255),b:255*Object(r[\"a\"])(n,255)}}function i(e,t,n){e=Object(r[\"a\"])(e,255),t=Object(r[\"a\"])(t,255),n=Object(r[\"a\"])(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,c=0,u=(o+i)/2;if(o===i)c=0,a=0;else{var s=o-i;switch(c=u>.5?s/(2-o-i):s/(o+i),o){case e:a=(t-n)/s+(t<n?6:0);break;case t:a=(n-e)/s+2;break;case n:a=(e-t)/s+4;break;default:break}a/=6}return{h:a,s:c,l:u}}function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function c(e,t,n){var o,i,c;if(e=Object(r[\"a\"])(e,360),t=Object(r[\"a\"])(t,100),n=Object(r[\"a\"])(n,100),0===t)i=n,c=n,o=n;else{var u=n<.5?n*(1+t):n+t-n*t,s=2*n-u;o=a(s,u,e+1/3),i=a(s,u,e),c=a(s,u,e-1/3)}return{r:255*o,g:255*i,b:255*c}}function u(e,t,n){e=Object(r[\"a\"])(e,255),t=Object(r[\"a\"])(t,255),n=Object(r[\"a\"])(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,c=o,u=o-i,s=0===o?0:u/o;if(o===i)a=0;else{switch(o){case e:a=(t-n)/u+(t<n?6:0);break;case t:a=(n-e)/u+2;break;case n:a=(e-t)/u+4;break;default:break}a/=6}return{h:a,s:s,v:c}}function s(e,t,n){e=6*Object(r[\"a\"])(e,360),t=Object(r[\"a\"])(t,100),n=Object(r[\"a\"])(n,100);var o=Math.floor(e),i=e-o,a=n*(1-t),c=n*(1-i*t),u=n*(1-(1-i)*t),s=o%6,l=[n,c,a,a,u,n][s],f=[u,n,n,c,a,a][s],d=[a,a,u,n,n,c][s];return{r:255*l,g:255*f,b:255*d}}function l(e,t,n,o){var i=[Object(r[\"e\"])(Math.round(e).toString(16)),Object(r[\"e\"])(Math.round(t).toString(16)),Object(r[\"e\"])(Math.round(n).toString(16))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join(\"\")}function f(e,t,n,o,i){var a=[Object(r[\"e\"])(Math.round(e).toString(16)),Object(r[\"e\"])(Math.round(t).toString(16)),Object(r[\"e\"])(Math.round(n).toString(16)),Object(r[\"e\"])(d(o))];return i&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join(\"\")}function d(e){return Math.round(255*parseFloat(e)).toString(16)}function h(e){return p(e)/255}function p(e){return parseInt(e,16)}function v(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}},FIfw:function(e,t,n){},FMNM:function(e,t,n){var r=n(\"xrYK\"),o=n(\"kmMV\");e.exports=function(e,t){var n=e.exec;if(\"function\"===typeof n){var i=n.call(e,t);if(\"object\"!==typeof i)throw TypeError(\"RegExp exec method returned something other than an Object or null\");return i}if(\"RegExp\"!==r(e))throw TypeError(\"RegExp#exec called on incompatible receiver\");return o.call(e,t)}},\"FPf+\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(\"IOcx\");function o(e,t,n){var o=[0,0,0,0,0,0,0,0,0];return r.mat3.fromTranslation(o,n),r.mat3.multiply(e,o,t)}function i(e,t,n){var o=[0,0,0,0,0,0,0,0,0];return r.mat3.fromRotation(o,n),r.mat3.multiply(e,o,t)}function a(e,t,n){var o=[0,0,0,0,0,0,0,0,0];return r.mat3.fromScaling(o,n),r.mat3.multiply(e,o,t)}function c(e,t,n){return r.mat3.multiply(e,n,t)}function u(e,t){for(var n=e?[].concat(e):[1,0,0,0,1,0,0,0,1],r=0,u=t.length;r<u;r++){var s=t[r];switch(s[0]){case\"t\":o(n,n,[s[1],s[2]]);break;case\"s\":a(n,n,[s[1],s[2]]);break;case\"r\":i(n,n,s[1]);break;case\"m\":c(n,n,s[1]);break;default:break}}return n}function s(e,t){return e[0]*t[1]-t[0]*e[1]}function l(e,t,n){var o=r.vec2.angle(e,t),i=s(e,t)>=0;return n?i?2*Math.PI-o:o:i?o:2*Math.PI-o}function f(e,t,n){return n?(e[0]=t[1],e[1]=-1*t[0]):(e[0]=-1*t[1],e[1]=t[0]),e}t.leftTranslate=o,t.leftRotate=i,t.leftScale=a,t.transform=u,t.direction=s,t.angleTo=l,t.vertical=f},FUNW:function(e,t,n){\"use strict\";(function(e){var r=n(\"q1tI\"),o=n.n(r),i=n(\"dI71\"),a=n(\"17x9\"),c=n.n(a),u=1073741823,s=\"undefined\"!==typeof globalThis?globalThis:\"undefined\"!==typeof window?window:\"undefined\"!==typeof e?e:{};function l(){var e=\"__global_unique_id__\";return s[e]=(s[e]||0)+1}function f(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function d(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}function h(e){return Array.isArray(e)?e[0]:e}function p(e,t){var n,o,a=\"__create-react-context-\"+l()+\"__\",s=function(e){function n(){var t;return t=e.apply(this,arguments)||this,t.emitter=d(t.props.value),t}Object(i[\"a\"])(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return e={},e[a]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;f(r,o)?n=0:(n=\"function\"===typeof t?t(r,o):u,n|=0,0!==n&&this.emitter.set(e.value,n))}},r.render=function(){return this.props.children},n}(r[\"Component\"]);s.childContextTypes=(n={},n[a]=c.a.object.isRequired,n);var p=function(t){function n(){var e;return e=t.apply(this,arguments)||this,e.state={value:e.getValue()},e.onUpdate=function(t,n){var r=0|e.observedBits;0!==(r&n)&&e.setState({value:e.getValue()})},e}Object(i[\"a\"])(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=void 0===t||null===t?u:t},r.componentDidMount=function(){this.context[a]&&this.context[a].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=void 0===e||null===e?u:e},r.componentWillUnmount=function(){this.context[a]&&this.context[a].off(this.onUpdate)},r.getValue=function(){return this.context[a]?this.context[a].get():e},r.render=function(){return h(this.props.children)(this.state.value)},n}(r[\"Component\"]);return p.contextTypes=(o={},o[a]=c.a.object,o),{Provider:s,Consumer:p}}var v=o.a.createContext||p;t[\"a\"]=v}).call(this,n(\"IyRk\"))},FZtP:function(e,t,n){var r=n(\"2oRo\"),o=n(\"/byt\"),i=n(\"F8JR\"),a=n(\"kRJp\");for(var c in o){var u=r[c],s=u&&u.prototype;if(s&&s.forEach!==i)try{a(s,\"forEach\",i)}catch(l){s.forEach=i}}},FbUP:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.forceNBody=void 0;var r=n(\"gO8D\"),o=.81,i=.1;function a(e,t,n,o,i){var a=n/o,u=e.map((function(e,n){var r=t[e.id],o=r.data,i=r.x,c=r.y,u=r.size,s=o.layout.force.nodeStrength;return{x:i,y:c,size:u,index:n,vx:0,vy:0,weight:a*s}})),l=(0,r.quadtree)(u,(function(e){return e.x}),(function(e){return e.y})).visitAfter(c);return u.forEach((function(e){s(e,l)})),u.map((function(n,r){var o=t[e[r].id],a=o.data.layout.force.mass,c=void 0===a?1:a;i[2*r]=n.vx/c,i[2*r+1]=n.vy/c})),i}function c(e){var t=0,n=0,r=0;if(e.length){for(var o=0;o<4;o++){var i=e[o];i&&i.weight&&(t+=i.weight,n+=i.x*i.weight,r+=i.y*i.weight)}e.x=n/t,e.y=r/t,e.weight=t}else{i=e;e.x=i.data.x,e.y=i.data.y,e.weight=i.data.weight}}t.forceNBody=a;var u=function(e,t,n,r,a,c){var u=c.x-e.x||i,s=c.y-e.y||i,l=r-t,f=u*u+s*s,d=Math.sqrt(f)*f;if(l*l*o<f){var h=e.weight/d;return c.vx+=u*h,c.vy+=s*h,!0}if(e.length)return!1;if(e.data!==c){h=e.data.weight/d;c.vx+=u*h,c.vy+=s*h}};function s(e,t){t.visit((function(t,n,r,o,i){return u(t,n,r,o,i,e)}))}},Ff2n:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(\"zLVn\");function o(e,t){if(null==e)return{};var n,o,i=Object(r[\"a\"])(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},FfOG:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a})),n.d(t,\"b\",(function(){return i}));var r=n(\"YS25\"),o={basename:\"/\"};window.routerBase&&(o.basename=window.routerBase);var i=Object({NODE_ENV:\"production\"}).__IS_SERVER?null:Object(r[\"b\"])(o),a=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e||(i=Object(r[\"b\"])(o)),i}},FoOO:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),Object.defineProperty(t,\"GADDIAsync\",{enumerable:!0,get:function(){return r.GADDIAsync}}),Object.defineProperty(t,\"connectedComponentAsync\",{enumerable:!0,get:function(){return r.connectedComponentAsync}}),t.default=void 0,Object.defineProperty(t,\"detectAllCyclesAsync\",{enumerable:!0,get:function(){return r.detectAllCyclesAsync}}),Object.defineProperty(t,\"detectAllDirectedCycleAsync\",{enumerable:!0,get:function(){return r.detectAllDirectedCycleAsync}}),Object.defineProperty(t,\"detectAllUndirectedCycleAsync\",{enumerable:!0,get:function(){return r.detectAllUndirectedCycleAsync}}),Object.defineProperty(t,\"detectCycleAsync\",{enumerable:!0,get:function(){return r.detectCycleAsync}}),t.detectDirectedCycleAsync=void 0,Object.defineProperty(t,\"dijkstraAsync\",{enumerable:!0,get:function(){return r.dijkstraAsync}}),Object.defineProperty(t,\"findAllPathAsync\",{enumerable:!0,get:function(){return r.findAllPathAsync}}),Object.defineProperty(t,\"findShortestPathAsync\",{enumerable:!0,get:function(){return r.findShortestPathAsync}}),Object.defineProperty(t,\"floydWarshallAsync\",{enumerable:!0,get:function(){return r.floydWarshallAsync}}),Object.defineProperty(t,\"getAdjMatrixAsync\",{enumerable:!0,get:function(){return r.getAdjMatrixAsync}}),Object.defineProperty(t,\"getDegreeAsync\",{enumerable:!0,get:function(){return r.getDegreeAsync}}),Object.defineProperty(t,\"getInDegreeAsync\",{enumerable:!0,get:function(){return r.getInDegreeAsync}}),Object.defineProperty(t,\"getNeighborsAsync\",{enumerable:!0,get:function(){return r.getNeighborsAsync}}),Object.defineProperty(t,\"getOutDegreeAsync\",{enumerable:!0,get:function(){return r.getOutDegreeAsync}}),Object.defineProperty(t,\"labelPropagationAsync\",{enumerable:!0,get:function(){return r.labelPropagationAsync}}),Object.defineProperty(t,\"louvainAsync\",{enumerable:!0,get:function(){return r.louvainAsync}}),Object.defineProperty(t,\"minimumSpanningTreeAsync\",{enumerable:!0,get:function(){return r.minimumSpanningTreeAsync}}),Object.defineProperty(t,\"pageRankAsync\",{enumerable:!0,get:function(){return r.pageRankAsync}});var r=n(\"6Y31\"),o=r.detectCycleAsync;t.detectDirectedCycleAsync=o;var i={getAdjMatrixAsync:r.getAdjMatrixAsync,connectedComponentAsync:r.connectedComponentAsync,getDegreeAsync:r.getDegreeAsync,getInDegreeAsync:r.getInDegreeAsync,getOutDegreeAsync:r.getOutDegreeAsync,detectCycleAsync:r.detectCycleAsync,detectDirectedCycleAsync:o,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};t.default=i},FpZJ:function(e,t,n){\"use strict\";e.exports=function(){if(\"function\"!==typeof Symbol||\"function\"!==typeof Object.getOwnPropertySymbols)return!1;if(\"symbol\"===typeof Symbol.iterator)return!0;var e={},t=Symbol(\"test\"),n=Object(t);if(\"string\"===typeof t)return!1;if(\"[object Symbol]\"!==Object.prototype.toString.call(t))return!1;if(\"[object Symbol]\"!==Object.prototype.toString.call(n))return!1;var r=42;for(t in e[t]=r,e)return!1;if(\"function\"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if(\"function\"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(\"function\"===typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(i.value!==r||!0!==i.enumerable)return!1}return!0}},FscW:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=function(e,t){var n=e.nodes,r=e.edges,o=[],i={};if(!n)throw new Error(\"invalid nodes data!\");return n&&n.forEach((function(e,t){i[e.id]=t;var n=[];o.push(n)})),r&&r.forEach((function(e){var n=e.source,r=e.target,a=i[n],c=i[r];!a&&0!==a||!c&&0!==c||(o[a][c]=1,t||(o[c][a]=1))})),o},o=r;t.default=o},\"G+Rx\":function(e,t,n){var r=n(\"0GbY\");e.exports=r(\"document\",\"documentElement\")},GC2F:function(e,t,n){var r=n(\"+M1K\");e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError(\"Wrong offset\");return n}},GPwj:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.clusterBundle=t.clusterCode=t.fruchtermanBundle=t.fruchtermanCode=void 0,t.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\",t.fruchtermanBundle='{\"shaders\":{\"WGSL\":\"\",\"GLSL450\":\"\",\"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<f32>[]\",\"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<f32>\",\"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<f32>[]\",\"storageClass\":\"StorageBuffer\",\"readonly\":true,\"writeonly\":false,\"size\":[1,1]},{\"name\":\"u_ClusterCenters\",\"type\":\"vec4<f32>[]\",\"storageClass\":\"StorageBuffer\",\"readonly\":true,\"writeonly\":false,\"size\":[1,1]}],\"globalDeclarations\":[],\"output\":{\"name\":\"u_Data\",\"size\":[1,1],\"length\":1},\"needPingpong\":true}}',t.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\",t.clusterBundle='{\"shaders\":{\"WGSL\":\"\",\"GLSL450\":\"\",\"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<f32>[]\",\"storageClass\":\"StorageBuffer\",\"readonly\":true,\"writeonly\":false,\"size\":[1,1]},{\"name\":\"u_NodeAttributes\",\"type\":\"vec4<f32>[]\",\"storageClass\":\"StorageBuffer\",\"readonly\":true,\"writeonly\":false,\"size\":[1,1]},{\"name\":\"u_ClusterCenters\",\"type\":\"vec4<f32>[]\",\"storageClass\":\"StorageBuffer\",\"readonly\":false,\"writeonly\":false,\"size\":[1,1]}],\"globalDeclarations\":[],\"output\":{\"name\":\"u_ClusterCenters\",\"size\":[1,1],\"length\":1},\"needPingpong\":true}}'},GRuw:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"lPiR\"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=t.algo,i=o.SHA256,a=o.SHA224=i.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=i._doFinalize.call(this);return e.sigBytes-=4,e}});t.SHA224=i._createHelper(a),t.HmacSHA224=i._createHmacHelper(a)}(),e.SHA224}))},GXvd:function(e,t,n){var r=n(\"dG/n\");r(\"species\")},GarU:function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError(\"Incorrect \"+(n?n+\" \":\"\")+\"invocation\");return e}},GdIf:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.getCoreNodeAndRelativeLeafNodes=t.getAvgNodePosition=t.findMinMaxNodeXY=t.traverseTreeUp=t.scaleMatrix=t.getAdjMatrix=t.floydWarshall=t.getDegreeMap=t.getDegree=t.getEdgeTerminal=void 0;var r=n(\"KR08\"),o=function(e,t){var n=e[t];return(0,r.isObject)(n)?n.cell:n};t.getEdgeTerminal=o;var i=function(e,n,r){for(var o=[],i=0;i<e;i++)o[i]={in:0,out:0,all:0};return r?(r.forEach((function(e){var r=(0,t.getEdgeTerminal)(e,\"source\"),i=(0,t.getEdgeTerminal)(e,\"target\");r&&o[n[r]]&&(o[n[r]].out+=1,o[n[r]].all+=1),i&&o[n[i]]&&(o[n[i]].in+=1,o[n[i]].all+=1)})),o):o};t.getDegree=i;var a=function(e,n){var r={};return e.forEach((function(e){r[e.id]={in:0,out:0,all:0}})),n?(n.forEach((function(e){var n=(0,t.getEdgeTerminal)(e,\"source\"),o=(0,t.getEdgeTerminal)(e,\"target\");n&&(r[n].out+=1,r[n].all+=1),o&&(r[o].in+=1,r[o].all+=1)})),r):r};t.getDegreeMap=a;var c=function(e){for(var t=[],n=e.length,r=0;r<n;r+=1){t[r]=[];for(var o=0;o<n;o+=1)r===o?t[r][o]=0:0!==e[r][o]&&e[r][o]?t[r][o]=e[r][o]:t[r][o]=1/0}for(var i=0;i<n;i+=1)for(r=0;r<n;r+=1)for(o=0;o<n;o+=1)t[r][o]>t[r][i]+t[i][o]&&(t[r][o]=t[r][i]+t[i][o]);return t};t.floydWarshall=c;var u=function(e,n){var r=e.nodes,o=e.edges,i=[],a={};if(!r)throw new Error(\"invalid nodes data!\");return r&&r.forEach((function(e,t){a[e.id]=t;var n=[];i.push(n)})),null===o||void 0===o||o.forEach((function(e){var r=(0,t.getEdgeTerminal)(e,\"source\"),o=(0,t.getEdgeTerminal)(e,\"target\"),c=a[r],u=a[o];void 0!==c&&void 0!==u&&(i[c][u]=1,n||(i[u][c]=1))})),i};t.getAdjMatrix=u;var s=function(e,t){var n=[];return e.forEach((function(e){var r=[];e.forEach((function(e){r.push(e*t)})),n.push(r)})),n};t.scaleMatrix=s;var l=function(e,t){if(e&&e.children)for(var n=e.children.length-1;n>=0;n--)if(!l(e.children[n],t))return;return!!t(e)},f=function(e,t){\"function\"===typeof t&&l(e,t)};t.traverseTreeUp=f;var d=function(e){var t=1/0,n=1/0,r=-1/0,o=-1/0;return e.forEach((function(e){t>e.x&&(t=e.x),n>e.y&&(n=e.y),r<e.x&&(r=e.x),o<e.y&&(o=e.y)})),{minX:t,minY:n,maxX:r,maxY:o}};t.findMinMaxNodeXY=d;var h=function(e){var t={x:0,y:0};e.forEach((function(e){t.x+=e.x||0,t.y+=e.y||0}));var n=e.length||1;return{x:t.x/n,y:t.y/n}};t.getAvgNodePosition=h;var p=function(e,t,n){var r,o;return\"source\"===e?(null===(r=null===n||void 0===n?void 0:n.find((function(e){return e.target===t.id})))||void 0===r?void 0:r.source)||{}:(null===(o=null===n||void 0===n?void 0:n.find((function(e){return e.source===t.id})))||void 0===o?void 0:o.target)||{}},v=function(e,t,n){var r=[];switch(e){case\"source\":r=null===n||void 0===n?void 0:n.filter((function(e){return e.source===t.id})).map((function(e){return e.target}));break;case\"target\":r=null===n||void 0===n?void 0:n.filter((function(e){return e.target===t.id})).map((function(e){return e.source}));break;case\"both\":r=null===n||void 0===n?void 0:n.filter((function(e){return e.source===t.id})).map((function(e){return e.target})).concat(null===n||void 0===n?void 0:n.filter((function(e){return e.target===t.id})).map((function(e){return e.source})));break;default:break}var o=new Set(r);return Array.from(o)},g=function(e,t,n,r,o){var i=n[t]||\"\",a=(null===r||void 0===r?void 0:r.filter((function(e){return e[t]===i})))||[];return\"leaf\"===e&&(a=a.filter((function(e){var t,n;return 0===(null===(t=o[e.id])||void 0===t?void 0:t.in)||0===(null===(n=o[e.id])||void 0===n?void 0:n.out)}))),a},m=function(e,t,n,r,o,i){var a=o[t.id],c=a.in,u=a.out,s=t,l=[];0===c?(s=p(\"source\",t,n),l=v(\"both\",s,n).map((function(e){return i[e]}))):0===u&&(s=p(\"target\",t,n),l=v(\"both\",s,n).map((function(e){return i[e]}))),l=l.filter((function(e){return o[e.id]&&(0===o[e.id].in||0===o[e.id].out)}));var f=g(e,r,t,l,o);return{coreNode:s,relativeLeafNodes:l,sameTypeLeafNodes:f}};t.getCoreNodeAndRelativeLeafNodes=m},GoyQ:function(e,t){function n(e){var t=typeof e;return null!=e&&(\"object\"==t||\"function\"==t)}e.exports=n},GrlX:function(e,t,n){var r=n(\"T016\"),o=n(\"JRS9\"),i=Object.hasOwnProperty,a=Object.create(null);for(var c in r)i.call(r,c)&&(a[r[c]]=c);var u=e.exports={to:{},get:{}};function s(e,t,n){return Math.min(Math.max(t,e),n)}function l(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?\"0\"+t:t}u.get=function(e){var t,n,r=e.substring(0,3).toLowerCase();switch(r){case\"hsl\":t=u.get.hsl(e),n=\"hsl\";break;case\"hwb\":t=u.get.hwb(e),n=\"hwb\";break;default:t=u.get.rgb(e),n=\"rgb\";break}return t?{model:n,value:t}:null},u.get.rgb=function(e){if(!e)return null;var t,n,o,a=/^#([a-f0-9]{3,4})$/i,c=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,u=/^rgba?\\(\\s*([+-]?\\d+)(?=[\\s,])\\s*(?:,\\s*)?([+-]?\\d+)(?=[\\s,])\\s*(?:,\\s*)?([+-]?\\d+)\\s*(?:[,|\\/]\\s*([+-]?[\\d\\.]+)(%?)\\s*)?\\)$/,l=/^rgba?\\(\\s*([+-]?[\\d\\.]+)\\%\\s*,?\\s*([+-]?[\\d\\.]+)\\%\\s*,?\\s*([+-]?[\\d\\.]+)\\%\\s*(?:[,|\\/]\\s*([+-]?[\\d\\.]+)(%?)\\s*)?\\)$/,f=/^(\\w+)$/,d=[0,0,0,1];if(t=e.match(c)){for(o=t[2],t=t[1],n=0;n<3;n++){var h=2*n;d[n]=parseInt(t.slice(h,h+2),16)}o&&(d[3]=parseInt(o,16)/255)}else if(t=e.match(a)){for(t=t[1],o=t[3],n=0;n<3;n++)d[n]=parseInt(t[n]+t[n],16);o&&(d[3]=parseInt(o+o,16)/255)}else if(t=e.match(u)){for(n=0;n<3;n++)d[n]=parseInt(t[n+1],0);t[4]&&(t[5]?d[3]=.01*parseFloat(t[4]):d[3]=parseFloat(t[4]))}else{if(!(t=e.match(l)))return(t=e.match(f))?\"transparent\"===t[1]?[0,0,0,0]:i.call(r,t[1])?(d=r[t[1]],d[3]=1,d):null:null;for(n=0;n<3;n++)d[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?d[3]=.01*parseFloat(t[4]):d[3]=parseFloat(t[4]))}for(n=0;n<3;n++)d[n]=s(d[n],0,255);return d[3]=s(d[3],0,1),d},u.get.hsl=function(e){if(!e)return null;var t=/^hsla?\\(\\s*([+-]?(?:\\d{0,3}\\.)?\\d+)(?:deg)?\\s*,?\\s*([+-]?[\\d\\.]+)%\\s*,?\\s*([+-]?[\\d\\.]+)%\\s*(?:[,|\\/]\\s*([+-]?(?=\\.\\d|\\d)(?:0|[1-9]\\d*)?(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)\\s*)?\\)$/,n=e.match(t);if(n){var r=parseFloat(n[4]),o=(parseFloat(n[1])%360+360)%360,i=s(parseFloat(n[2]),0,100),a=s(parseFloat(n[3]),0,100),c=s(isNaN(r)?1:r,0,1);return[o,i,a,c]}return null},u.get.hwb=function(e){if(!e)return null;var t=/^hwb\\(\\s*([+-]?\\d{0,3}(?:\\.\\d+)?)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?(?=\\.\\d|\\d)(?:0|[1-9]\\d*)?(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)\\s*)?\\)$/,n=e.match(t);if(n){var r=parseFloat(n[4]),o=(parseFloat(n[1])%360+360)%360,i=s(parseFloat(n[2]),0,100),a=s(parseFloat(n[3]),0,100),c=s(isNaN(r)?1:r,0,1);return[o,i,a,c]}return null},u.to.hex=function(){var e=o(arguments);return\"#\"+l(e[0])+l(e[1])+l(e[2])+(e[3]<1?l(Math.round(255*e[3])):\"\")},u.to.rgb=function(){var e=o(arguments);return e.length<4||1===e[3]?\"rgb(\"+Math.round(e[0])+\", \"+Math.round(e[1])+\", \"+Math.round(e[2])+\")\":\"rgba(\"+Math.round(e[0])+\", \"+Math.round(e[1])+\", \"+Math.round(e[2])+\", \"+e[3]+\")\"},u.to.rgb.percent=function(){var e=o(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return e.length<4||1===e[3]?\"rgb(\"+t+\"%, \"+n+\"%, \"+r+\"%)\":\"rgba(\"+t+\"%, \"+n+\"%, \"+r+\"%, \"+e[3]+\")\"},u.to.hsl=function(){var e=o(arguments);return e.length<4||1===e[3]?\"hsl(\"+e[0]+\", \"+e[1]+\"%, \"+e[2]+\"%)\":\"hsla(\"+e[0]+\", \"+e[1]+\"%, \"+e[2]+\"%, \"+e[3]+\")\"},u.to.hwb=function(){var e=o(arguments),t=\"\";return e.length>=4&&1!==e[3]&&(t=\", \"+e[3]),\"hwb(\"+e[0]+\", \"+e[1]+\"%, \"+e[2]+\"%\"+t+\")\"},u.to.keyword=function(e){return a[e.slice(0,3)]}},\"Gu+u\":function(e,t){var n=[],r=[],o=\"insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).\";function i(e,t){if(t=t||{},void 0===e)throw new Error(o);var i,c=!0===t.prepend?\"prepend\":\"append\",u=void 0!==t.container?t.container:document.querySelector(\"head\"),s=n.indexOf(u);return-1===s&&(s=n.push(u)-1,r[s]={}),void 0!==r[s]&&void 0!==r[s][c]?i=r[s][c]:(i=r[s][c]=a(),\"prepend\"===c?u.insertBefore(i,u.childNodes[0]):u.appendChild(i)),65279===e.charCodeAt(0)&&(e=e.substr(1,e.length)),i.styleSheet?i.styleSheet.cssText+=e:i.textContent+=e,i}function a(){var e=document.createElement(\"style\");return e.setAttribute(\"type\",\"text/css\"),e}e.exports=i,e.exports.insertCss=i},Gytx:function(e,t){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if(\"object\"!==typeof e||!e||\"object\"!==typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(t),u=0;u<i.length;u++){var s=i[u];if(!c(s))return!1;var l=e[s],f=t[s];if(o=n?n.call(r,l,f,s):void 0,!1===o||void 0===o&&l!==f)return!1}return!0}},\"H+LF\":function(e,t,n){\"use strict\";var r=n(\"bWFh\"),o=n(\"rKzb\");r(\"WeakSet\",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},H4fg:function(e,t,n){\"use strict\";t[\"a\"]={items_per_page:\"/ page\",jump_to:\"Go to\",jump_to_confirm:\"confirm\",page:\"Page\",prev_page:\"Previous Page\",next_page:\"Next Page\",prev_5:\"Previous 5 Pages\",next_5:\"Next 5 Pages\",prev_3:\"Previous 3 Pages\",next_3:\"Next 3 Pages\",page_size:\"Page Size\"}},H7XF:function(e,t,n){\"use strict\";t.byteLength=l,t.toByteArray=d,t.fromByteArray=v;for(var r=[],o=[],i=\"undefined\"!==typeof Uint8Array?Uint8Array:Array,a=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",c=0,u=a.length;c<u;++c)r[c]=a[c],o[a.charCodeAt(c)]=c;function s(e){var t=e.length;if(t%4>0)throw new Error(\"Invalid string. Length must be a multiple of 4\");var n=e.indexOf(\"=\");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function l(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r}function f(e,t,n){return 3*(t+n)/4-n}function d(e){var t,n,r=s(e),a=r[0],c=r[1],u=new i(f(e,a,c)),l=0,d=c>0?a-4:a;for(n=0;n<d;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],u[l++]=t>>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===c&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,u[l++]=255&t),1===c&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u}function h(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function p(e,t,n){for(var r,o=[],i=t;i<n;i+=3)r=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),o.push(h(r));return o.join(\"\")}function v(e){for(var t,n=e.length,o=n%3,i=[],a=16383,c=0,u=n-o;c<u;c+=a)i.push(p(e,c,c+a>u?u:c+a));return 1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+\"==\")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+\"=\")),i.join(\"\")}o[\"-\".charCodeAt(0)]=62,o[\"_\".charCodeAt(0)]=63},H84U:function(e,t,n){\"use strict\";n.d(t,\"b\",(function(){return i})),n.d(t,\"a\",(function(){return a}));n(\"wx14\");var r=n(\"q1tI\"),o=function(e,t){return t||(e?\"ant-\".concat(e):\"ant\")},i=r[\"createContext\"]({getPrefixCls:o}),a=i.Consumer},H8j4:function(e,t,n){var r=n(\"QkVE\");function o(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}e.exports=o},HAuM:function(e,t){e.exports=function(e){if(\"function\"!=typeof e)throw TypeError(String(e)+\" is not a function\");return e}},HDyB:function(e,t,n){var r=n(\"nmnc\"),o=n(\"JHRd\"),i=n(\"ljhN\"),a=n(\"or5M\"),c=n(\"7fqy\"),u=n(\"rEGp\"),s=1,l=2,f=\"[object Boolean]\",d=\"[object Date]\",h=\"[object Error]\",p=\"[object Map]\",v=\"[object Number]\",g=\"[object RegExp]\",m=\"[object Set]\",y=\"[object String]\",b=\"[object Symbol]\",x=\"[object ArrayBuffer]\",w=\"[object DataView]\",O=r?r.prototype:void 0,E=O?O.valueOf:void 0;function S(e,t,n,r,O,S,j){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case x:return!(e.byteLength!=t.byteLength||!S(new o(e),new o(t)));case f:case d:case v:return i(+e,+t);case h:return e.name==t.name&&e.message==t.message;case g:case y:return e==t+\"\";case p:var k=c;case m:var _=r&s;if(k||(k=u),e.size!=t.size&&!_)return!1;var C=j.get(e);if(C)return C==t;r|=l,j.set(e,t);var M=a(k(e),k(t),r,O,S,j);return j[\"delete\"](e),M;case b:if(E)return E.call(e)==E.call(t)}return!1}e.exports=S},HH4o:function(e,t,n){var r=n(\"tiKp\"),o=r(\"iterator\"),i=!1;try{var a=0,c={next:function(){return{done:!!a++}},return:function(){i=!0}};c[o]=function(){return this},Array.from(c,(function(){throw 2}))}catch(u){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var r={};r[o]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(u){}return n}},HNyW:function(e,t,n){var r=n(\"NC/Y\");e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},HOxn:function(e,t,n){var r=n(\"Cwc5\"),o=n(\"Kz5y\"),i=r(o,\"Promise\");e.exports=i},HSsa:function(e,t,n){\"use strict\";function r(e,t){return function(){return e.apply(t,arguments)}}n.d(t,\"a\",(function(){return r}))},\"HXx+\":function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,\"__esModule\",{value:!0}),t.width=t.sep=t.positionX=t.balance=t.alignCoordinates=t.findSmallestWidthAlignment=t.buildBlockGraph=t.horizontalCompaction=t.verticalAlignment=t.hasConflict=t.addConflict=t.findOtherInnerSegmentNode=t.findType2Conflicts=t.findType1Conflicts=void 0;var o=n(\"HeBM\"),i=n(\"eQiA\"),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(o.Graph),c=function(e,n){var r={},o=function(n,o){var i=0,a=0,c=n.length,u=null===o||void 0===o?void 0:o[(null===o||void 0===o?void 0:o.length)-1];return null===o||void 0===o||o.forEach((function(n,s){var l,f=(0,t.findOtherInnerSegmentNode)(e,n),d=f?e.node(f).order:c;(f||n===u)&&(null===(l=o.slice(a,s+1))||void 0===l||l.forEach((function(n){var o;null===(o=e.predecessors(n))||void 0===o||o.forEach((function(o){var a,c=e.node(o),u=c.order;!(u<i||d<u)||c.dummy&&(null===(a=e.node(n))||void 0===a?void 0:a.dummy)||(0,t.addConflict)(r,o,n)}))})),a=s+1,i=d)})),o};return(null===n||void 0===n?void 0:n.length)&&n.reduce(o),r};t.findType1Conflicts=c;var u=function(e,n){var r={},o=function(n,o,i,a,c){for(var u,s=[],l=o;l<i;l++)s.push(l);s.forEach((function(o){var i,s;u=n[o],(null===(i=e.node(u))||void 0===i?void 0:i.dummy)&&(null===(s=e.predecessors(u))||void 0===s||s.forEach((function(n){var o=e.node(n);o.dummy&&(o.order<a||o.order>c)&&(0,t.addConflict)(r,n,u)})))}))},i=function(t,n){var r,i=-1,a=0;return null===n||void 0===n||n.forEach((function(c,u){var s;if(\"border\"===(null===(s=e.node(c))||void 0===s?void 0:s.dummy)){var l=e.predecessors(c)||[];l.length&&(r=e.node(l[0]).order,o(n,a,u,i,r),a=u,i=r)}o(n,a,n.length,r,t.length)})),n};return(null===n||void 0===n?void 0:n.length)&&n.reduce(i),r};t.findType2Conflicts=u;var s=function(e,t){var n,r;if(null===(n=e.node(t))||void 0===n?void 0:n.dummy)return null===(r=e.predecessors(t))||void 0===r?void 0:r.find((function(t){return e.node(t).dummy}))};t.findOtherInnerSegmentNode=s;var l=function(e,t,n){var r=t,o=n;if(r>o){var i=r;r=o,o=i}var a=e[r];a||(e[r]=a={}),a[o]=!0};t.addConflict=l;var f=function(e,t,n){var r=t,o=n;if(r>o){var i=t;r=o,o=i}return!!e[r]};t.hasConflict=f;var d=function(e,n,r,o){var i={},a={},c={};return null===n||void 0===n||n.forEach((function(e){null===e||void 0===e||e.forEach((function(e,t){i[e]=e,a[e]=e,c[e]=t}))})),null===n||void 0===n||n.forEach((function(e){var n=-1;null===e||void 0===e||e.forEach((function(e){var u=o(e);if(u.length){u=u.sort((function(e,t){return c[e]-c[t]}));for(var s=(u.length-1)/2,l=Math.floor(s),f=Math.ceil(s);l<=f;++l){var d=u[l];a[e]===e&&n<c[d]&&!(0,t.hasConflict)(r,e,d)&&(a[d]=e,a[e]=i[e]=i[d],n=c[d])}}}))})),{root:i,align:a}};t.verticalAlignment=d;var h=function(e,n,r,o,i){var a,c={},u=(0,t.buildBlockGraph)(e,n,r,i),s=i?\"borderLeft\":\"borderRight\",l=function(e,t){var n=u.nodes(),r=n.pop(),o={};while(r)o[r]?e(r):(o[r]=!0,n.push(r),n=n.concat(t(r))),r=n.pop()},f=function(e){c[e]=(u.inEdges(e)||[]).reduce((function(e,t){return Math.max(e,(c[t.v]||0)+u.edge(t))}),0)},d=function(t){var n=(u.outEdges(t)||[]).reduce((function(e,t){return Math.min(e,(c[t.w]||0)-u.edge(t))}),Number.POSITIVE_INFINITY),r=e.node(t);n!==Number.POSITIVE_INFINITY&&r.borderType!==s&&(c[t]=Math.max(c[t],n))};return l(f,u.predecessors.bind(u)),l(d,u.successors.bind(u)),null===(a=Object.values(o))||void 0===a||a.forEach((function(e){c[e]=c[r[e]]})),c};t.horizontalCompaction=h;var p=function(e,n,r,o){var i=new a,c=e.graph(),u=(0,t.sep)(c.nodesep,c.edgesep,o);return null===n||void 0===n||n.forEach((function(t){var n;null===t||void 0===t||t.forEach((function(t){var o=r[t];if(i.setNode(o),n){var a=r[n],c=i.edgeFromArgs(a,o);i.setEdge(a,o,Math.max(u(e,t,n),c||0))}n=t}))})),i};t.buildBlockGraph=p;var v=function(e,n){return(0,i.minBy)(Object.values(n),(function(n){var r,o=Number.NEGATIVE_INFINITY,i=Number.POSITIVE_INFINITY;return null===(r=Object.keys(n))||void 0===r||r.forEach((function(r){var a=n[r],c=(0,t.width)(e,r)/2;o=Math.max(a+c,o),i=Math.min(a-c,i)})),o-i}))};function g(e,t){var n=Object.values(t),r=Math.min.apply(Math,n),o=Math.max.apply(Math,n);[\"u\",\"d\"].forEach((function(n){[\"l\",\"r\"].forEach((function(i){var a,c=n+i,u=e[c];if(u!==t){var s=Object.values(u);a=\"l\"===i?r-Math.min.apply(Math,s):o-Math.max.apply(Math,s),a&&(e[c]={},Object.keys(u).forEach((function(t){e[c][t]=u[t]+a})))}}))}))}t.findSmallestWidthAlignment=v,t.alignCoordinates=g;var m=function(e,t){var n={};return Object.keys(e.ul).forEach((function(r){if(t)n[r]=e[t.toLowerCase()][r];else{var o=Object.values(e).map((function(e){return e[r]}));n[r]=(o[0]+o[1])/2}})),n};t.balance=m;var y=function(e){var n,r=(0,i.buildLayerMatrix)(e),o=Object.assign((0,t.findType1Conflicts)(e,r),(0,t.findType2Conflicts)(e,r)),a={};[\"u\",\"d\"].forEach((function(i){n=\"u\"===i?r:Object.values(r).reverse(),[\"l\",\"r\"].forEach((function(r){\"r\"===r&&(n=n.map((function(e){return Object.values(e).reverse()})));var c=(\"u\"===i?e.predecessors:e.successors).bind(e),u=(0,t.verticalAlignment)(e,n,o,c),s=(0,t.horizontalCompaction)(e,n,u.root,u.align,\"r\"===r);\"r\"===r&&Object.keys(s).forEach((function(e){s[e]=-s[e]})),a[i+r]=s}))}));var c=(0,t.findSmallestWidthAlignment)(e,a);return g(a,c),(0,t.balance)(a,e.graph().align)};t.positionX=y;var b=function(e,t,n){return function(r,o,i){var a,c=r.node(o),u=r.node(i),s=0;if(s+=c.width/2,c.hasOwnProperty(\"labelpos\"))switch((c.labelpos||\"\").toLowerCase()){case\"l\":a=-c.width/2;break;case\"r\":a=c.width/2;break}if(a&&(s+=n?a:-a),a=0,s+=(c.dummy?t:e)/2,s+=(u.dummy?t:e)/2,s+=u.width/2,u.labelpos)switch((u.labelpos||\"\").toLowerCase()){case\"l\":a=u.width/2;break;case\"r\":a=-u.width/2;break}return a&&(s+=n?a:-a),a=0,s}};t.sep=b;var x=function(e,t){return e.node(t).width||0};t.width=x},HYAF:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError(\"Can't call method on \"+e);return e}},HYlc:function(e,t,n){\"use strict\";n.r(t),function(e){n.d(t,\"BRIDGE_GRAPH_NAME\",(function(){return c})),n.d(t,\"GraphType\",(function(){return l})),n.d(t,\"HierarchyNodeType\",(function(){return f})),n.d(t,\"InclusionType\",(function(){return s})),n.d(t,\"LAYOUT_CONFIG\",(function(){return r})),n.d(t,\"NodeType\",(function(){return u})),n.d(t,\"ROOT_NAME\",(function(){return a})),n.d(t,\"buildGraph\",(function(){return au})),n.d(t,\"flatGraph\",(function(){return cu})),n.d(t,\"getEdges\",(function(){return uu})),n.d(t,\"mergeConfig\",(function(){return o}));const r={graph:{meta:{rankDir:\"TB\",nodeSep:50,rankSep:50,edgeSep:5,align:void 0}},subScene:{meta:{paddingTop:20,paddingBottom:20,paddingLeft:20,paddingRight:20,labelHeight:20}},nodeSize:{meta:{width:100,maxLabelWidth:0,height:20},node:{width:80,height:20,labelOffset:10,maxLabelWidth:40},bridge:{width:5,height:5,radius:2,labelOffset:0}}};function o(e={},t=r){var n,o,i,a;const c=JSON.parse(JSON.stringify(t)),u=(null===(n=null==e?void 0:e.graph)||void 0===n?void 0:n.meta)||{},s=(null===(o=null==e?void 0:e.subScene)||void 0===o?void 0:o.meta)||{},l=(null===(i=null==e?void 0:e.nodeSize)||void 0===i?void 0:i.meta)||{},f=(null===(a=null==e?void 0:e.nodeSize)||void 0===a?void 0:a.node)||{},d=c.nodeSize.bridge;return{graph:{meta:Object.assign(c.graph.meta,u)},subScene:{meta:Object.assign(c.subScene.meta,s)},nodeSize:{meta:Object.assign(c.nodeSize.meta,l),node:Object.assign(c.nodeSize.node,f),bridge:d}}}function i(e){return`\\u25ec${e}\\u25ec`}const a=i(\"ROOT\"),c=i(\"BRIDGE_GRAPH\");var u,s,l,f;!function(e){e[e.META=0]=\"META\",e[e.NODE=1]=\"NODE\",e[e.BRIDGE=2]=\"BRIDGE\"}(u||(u={})),function(e){e[e.INCLUDE=0]=\"INCLUDE\",e[e.EXCLUDE=1]=\"EXCLUDE\",e[e.UNSPECIFIED=2]=\"UNSPECIFIED\"}(s||(s={})),function(e){e[e.META=0]=\"META\",e[e.CORE=1]=\"CORE\",e[e.BRIDGE=2]=\"BRIDGE\"}(l||(l={})),function(e){e[e.META=0]=\"META\",e[e.OP=1]=\"OP\",e[e.SERIES=2]=\"SERIES\"}(f||(f={}));var d=\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof window?window:\"undefined\"!=typeof e?e:\"undefined\"!=typeof self?self:{};function h(e,t){return e(t={exports:{}},t.exports),t.exports}var p=function(){this.__data__=[],this.size=0},v=function(e,t){return e===t||e!=e&&t!=t},g=function(e,t){for(var n=e.length;n--;)if(v(e[n][0],t))return n;return-1},m=Array.prototype.splice,y=function(e){var t=this.__data__,n=g(t,e);return!(n<0)&&(n==t.length-1?t.pop():m.call(t,n,1),--this.size,!0)},b=function(e){var t=this.__data__,n=g(t,e);return n<0?void 0:t[n][1]},x=function(e){return g(this.__data__,e)>-1},w=function(e,t){var n=this.__data__,r=g(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function O(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}O.prototype.clear=p,O.prototype.delete=y,O.prototype.get=b,O.prototype.has=x,O.prototype.set=w;var E,S=O,j=function(){this.__data__=new S,this.size=0},k=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},_=function(e){return this.__data__.get(e)},C=function(e){return this.__data__.has(e)},M=\"object\"==typeof d&&d&&d.Object===Object&&d,A=\"object\"==typeof self&&self&&self.Object===Object&&self,N=M||A||Function(\"return this\")(),T=N.Symbol,I=Object.prototype,P=I.hasOwnProperty,L=I.toString,D=T?T.toStringTag:void 0,R=function(e){var t=P.call(e,D),n=e[D];try{e[D]=void 0;var r=!0}catch(e){}var o=L.call(e);return r&&(t?e[D]=n:delete e[D]),o},F=Object.prototype.toString,B=function(e){return F.call(e)},z=T?T.toStringTag:void 0,U=function(e){return null==e?void 0===e?\"[object Undefined]\":\"[object Null]\":z&&z in Object(e)?R(e):B(e)},G=function(e){var t=typeof e;return null!=e&&(\"object\"==t||\"function\"==t)},V=function(e){if(!G(e))return!1;var t=U(e);return\"[object Function]\"==t||\"[object GeneratorFunction]\"==t||\"[object AsyncFunction]\"==t||\"[object Proxy]\"==t},W=N[\"__core-js_shared__\"],H=(E=/[^.]+$/.exec(W&&W.keys&&W.keys.IE_PROTO||\"\"))?\"Symbol(src)_1.\"+E:\"\",Y=function(e){return!!H&&H in e},X=Function.prototype.toString,q=function(e){if(null!=e){try{return X.call(e)}catch(e){}try{return e+\"\"}catch(e){}}return\"\"},K=/^\\[object .+?Constructor\\]$/,Z=Function.prototype,$=Object.prototype,Q=Z.toString,J=$.hasOwnProperty,ee=RegExp(\"^\"+Q.call(J).replace(/[\\\\^$.*+?()[\\]{}|]/g,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),te=function(e){return!(!G(e)||Y(e))&&(V(e)?ee:K).test(q(e))},ne=function(e,t){return null==e?void 0:e[t]},re=function(e,t){var n=ne(e,t);return te(n)?n:void 0},oe=re(N,\"Map\"),ie=re(Object,\"create\"),ae=function(){this.__data__=ie?ie(null):{},this.size=0},ce=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ue=Object.prototype.hasOwnProperty,se=function(e){var t=this.__data__;if(ie){var n=t[e];return\"__lodash_hash_undefined__\"===n?void 0:n}return ue.call(t,e)?t[e]:void 0},le=Object.prototype.hasOwnProperty,fe=function(e){var t=this.__data__;return ie?void 0!==t[e]:le.call(t,e)},de=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ie&&void 0===t?\"__lodash_hash_undefined__\":t,this};function he(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}he.prototype.clear=ae,he.prototype.delete=ce,he.prototype.get=se,he.prototype.has=fe,he.prototype.set=de;var pe=he,ve=function(){this.size=0,this.__data__={hash:new pe,map:new(oe||S),string:new pe}},ge=function(e){var t=typeof e;return\"string\"==t||\"number\"==t||\"symbol\"==t||\"boolean\"==t?\"__proto__\"!==e:null===e},me=function(e,t){var n=e.__data__;return ge(t)?n[\"string\"==typeof t?\"string\":\"hash\"]:n.map},ye=function(e){var t=me(this,e).delete(e);return this.size-=t?1:0,t},be=function(e){return me(this,e).get(e)},xe=function(e){return me(this,e).has(e)},we=function(e,t){var n=me(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function Oe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Oe.prototype.clear=ve,Oe.prototype.delete=ye,Oe.prototype.get=be,Oe.prototype.has=xe,Oe.prototype.set=we;var Ee=Oe,Se=function(e,t){var n=this.__data__;if(n instanceof S){var r=n.__data__;if(!oe||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ee(r)}return n.set(e,t),this.size=n.size,this};function je(e){var t=this.__data__=new S(e);this.size=t.size}je.prototype.clear=j,je.prototype.delete=k,je.prototype.get=_,je.prototype.has=C,je.prototype.set=Se;var ke=je,_e=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},Ce=function(){try{var e=re(Object,\"defineProperty\");return e({},\"\",{}),e}catch(e){}}(),Me=function(e,t,n){\"__proto__\"==t&&Ce?Ce(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},Ae=Object.prototype.hasOwnProperty,Ne=function(e,t,n){var r=e[t];Ae.call(e,t)&&v(r,n)&&(void 0!==n||t in e)||Me(e,t,n)},Te=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var c=t[i],u=r?r(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),o?Me(n,c,u):Ne(n,c,u)}return n},Ie=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},Pe=function(e){return null!=e&&\"object\"==typeof e},Le=function(e){return Pe(e)&&\"[object Arguments]\"==U(e)},De=Object.prototype,Re=De.hasOwnProperty,Fe=De.propertyIsEnumerable,Be=Le(function(){return arguments}())?Le:function(e){return Pe(e)&&Re.call(e,\"callee\")&&!Fe.call(e,\"callee\")},ze=Array.isArray,Ue=function(){return!1},Ge=h((function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,o=r&&r.exports===n?N.Buffer:void 0,i=(o?o.isBuffer:void 0)||Ue;e.exports=i})),Ve=/^(?:0|[1-9]\\d*)$/,We=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&(\"number\"==n||\"symbol\"!=n&&Ve.test(e))&&e>-1&&e%1==0&&e<t},He=function(e){return\"number\"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},Ye={};Ye[\"[object Float32Array]\"]=Ye[\"[object Float64Array]\"]=Ye[\"[object Int8Array]\"]=Ye[\"[object Int16Array]\"]=Ye[\"[object Int32Array]\"]=Ye[\"[object Uint8Array]\"]=Ye[\"[object Uint8ClampedArray]\"]=Ye[\"[object Uint16Array]\"]=Ye[\"[object Uint32Array]\"]=!0,Ye[\"[object Arguments]\"]=Ye[\"[object Array]\"]=Ye[\"[object ArrayBuffer]\"]=Ye[\"[object Boolean]\"]=Ye[\"[object DataView]\"]=Ye[\"[object Date]\"]=Ye[\"[object Error]\"]=Ye[\"[object Function]\"]=Ye[\"[object Map]\"]=Ye[\"[object Number]\"]=Ye[\"[object Object]\"]=Ye[\"[object RegExp]\"]=Ye[\"[object Set]\"]=Ye[\"[object String]\"]=Ye[\"[object WeakMap]\"]=!1;var Xe=function(e){return Pe(e)&&He(e.length)&&!!Ye[U(e)]},qe=function(e){return function(t){return e(t)}},Ke=h((function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,o=r&&r.exports===n&&M.process,i=function(){try{var e=r&&r.require&&r.require(\"util\").types;return e||o&&o.binding&&o.binding(\"util\")}catch(e){}}();e.exports=i})),Ze=Ke&&Ke.isTypedArray,$e=Ze?qe(Ze):Xe,Qe=Object.prototype.hasOwnProperty,Je=function(e,t){var n=ze(e),r=!n&&Be(e),o=!n&&!r&&Ge(e),i=!n&&!r&&!o&&$e(e),a=n||r||o||i,c=a?Ie(e.length,String):[],u=c.length;for(var s in e)!t&&!Qe.call(e,s)||a&&(\"length\"==s||o&&(\"offset\"==s||\"parent\"==s)||i&&(\"buffer\"==s||\"byteLength\"==s||\"byteOffset\"==s)||We(s,u))||c.push(s);return c},et=Object.prototype,tt=function(e){var t=e&&e.constructor;return e===(\"function\"==typeof t&&t.prototype||et)},nt=function(e,t){return function(n){return e(t(n))}},rt=nt(Object.keys,Object),ot=Object.prototype.hasOwnProperty,it=function(e){if(!tt(e))return rt(e);var t=[];for(var n in Object(e))ot.call(e,n)&&\"constructor\"!=n&&t.push(n);return t},at=function(e){return null!=e&&He(e.length)&&!V(e)},ct=function(e){return at(e)?Je(e):it(e)},ut=function(e,t){return e&&Te(t,ct(t),e)},st=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},lt=Object.prototype.hasOwnProperty,ft=function(e){if(!G(e))return st(e);var t=tt(e),n=[];for(var r in e)(\"constructor\"!=r||!t&&lt.call(e,r))&&n.push(r);return n},dt=function(e){return at(e)?Je(e,!0):ft(e)},ht=function(e,t){return e&&Te(t,dt(t),e)},pt=h((function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,o=r&&r.exports===n?N.Buffer:void 0,i=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=i?i(n):new e.constructor(n);return e.copy(r),r}})),vt=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},gt=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i},mt=function(){return[]},yt=Object.prototype.propertyIsEnumerable,bt=Object.getOwnPropertySymbols,xt=bt?function(e){return null==e?[]:(e=Object(e),gt(bt(e),(function(t){return yt.call(e,t)})))}:mt,wt=function(e,t){return Te(e,xt(e),t)},Ot=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e},Et=nt(Object.getPrototypeOf,Object),St=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Ot(t,xt(e)),e=Et(e);return t}:mt,jt=function(e,t){return Te(e,St(e),t)},kt=function(e,t,n){var r=t(e);return ze(e)?r:Ot(r,n(e))},_t=function(e){return kt(e,ct,xt)},Ct=function(e){return kt(e,dt,St)},Mt=re(N,\"DataView\"),At=re(N,\"Promise\"),Nt=re(N,\"Set\"),Tt=re(N,\"WeakMap\"),It=q(Mt),Pt=q(oe),Lt=q(At),Dt=q(Nt),Rt=q(Tt),Ft=U;(Mt&&\"[object DataView]\"!=Ft(new Mt(new ArrayBuffer(1)))||oe&&\"[object Map]\"!=Ft(new oe)||At&&\"[object Promise]\"!=Ft(At.resolve())||Nt&&\"[object Set]\"!=Ft(new Nt)||Tt&&\"[object WeakMap]\"!=Ft(new Tt))&&(Ft=function(e){var t=U(e),n=\"[object Object]\"==t?e.constructor:void 0,r=n?q(n):\"\";if(r)switch(r){case It:return\"[object DataView]\";case Pt:return\"[object Map]\";case Lt:return\"[object Promise]\";case Dt:return\"[object Set]\";case Rt:return\"[object WeakMap]\"}return t});var Bt=Ft,zt=Object.prototype.hasOwnProperty,Ut=function(e){var t=e.length,n=new e.constructor(t);return t&&\"string\"==typeof e[0]&&zt.call(e,\"index\")&&(n.index=e.index,n.input=e.input),n},Gt=N.Uint8Array,Vt=function(e){var t=new e.constructor(e.byteLength);return new Gt(t).set(new Gt(e)),t},Wt=function(e,t){var n=t?Vt(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},Ht=/\\w*$/,Yt=function(e){var t=new e.constructor(e.source,Ht.exec(e));return t.lastIndex=e.lastIndex,t},Xt=T?T.prototype:void 0,qt=Xt?Xt.valueOf:void 0,Kt=function(e){return qt?Object(qt.call(e)):{}},Zt=function(e,t){var n=t?Vt(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)},$t=function(e,t,n){var r=e.constructor;switch(t){case\"[object ArrayBuffer]\":return Vt(e);case\"[object Boolean]\":case\"[object Date]\":return new r(+e);case\"[object DataView]\":return Wt(e,n);case\"[object Float32Array]\":case\"[object Float64Array]\":case\"[object Int8Array]\":case\"[object Int16Array]\":case\"[object Int32Array]\":case\"[object Uint8Array]\":case\"[object Uint8ClampedArray]\":case\"[object Uint16Array]\":case\"[object Uint32Array]\":return Zt(e,n);case\"[object Map]\":return new r;case\"[object Number]\":case\"[object String]\":return new r(e);case\"[object RegExp]\":return Yt(e);case\"[object Set]\":return new r;case\"[object Symbol]\":return Kt(e)}},Qt=Object.create,Jt=function(){function e(){}return function(t){if(!G(t))return{};if(Qt)return Qt(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),en=function(e){return\"function\"!=typeof e.constructor||tt(e)?{}:Jt(Et(e))},tn=function(e){return Pe(e)&&\"[object Map]\"==Bt(e)},nn=Ke&&Ke.isMap,rn=nn?qe(nn):tn,on=function(e){return Pe(e)&&\"[object Set]\"==Bt(e)},an=Ke&&Ke.isSet,cn=an?qe(an):on,un={};un[\"[object Arguments]\"]=un[\"[object Array]\"]=un[\"[object ArrayBuffer]\"]=un[\"[object DataView]\"]=un[\"[object Boolean]\"]=un[\"[object Date]\"]=un[\"[object Float32Array]\"]=un[\"[object Float64Array]\"]=un[\"[object Int8Array]\"]=un[\"[object Int16Array]\"]=un[\"[object Int32Array]\"]=un[\"[object Map]\"]=un[\"[object Number]\"]=un[\"[object Object]\"]=un[\"[object RegExp]\"]=un[\"[object Set]\"]=un[\"[object String]\"]=un[\"[object Symbol]\"]=un[\"[object Uint8Array]\"]=un[\"[object Uint8ClampedArray]\"]=un[\"[object Uint16Array]\"]=un[\"[object Uint32Array]\"]=!0,un[\"[object Error]\"]=un[\"[object Function]\"]=un[\"[object WeakMap]\"]=!1;var sn=function e(t,n,r,o,i,a){var c,u=1&n,s=2&n,l=4&n;if(r&&(c=i?r(t,o,i,a):r(t)),void 0!==c)return c;if(!G(t))return t;var f=ze(t);if(f){if(c=Ut(t),!u)return vt(t,c)}else{var d=Bt(t),h=\"[object Function]\"==d||\"[object GeneratorFunction]\"==d;if(Ge(t))return pt(t,u);if(\"[object Object]\"==d||\"[object Arguments]\"==d||h&&!i){if(c=s||h?{}:en(t),!u)return s?jt(t,ht(c,t)):wt(t,ut(c,t))}else{if(!un[d])return i?t:{};c=$t(t,d,u)}}a||(a=new ke);var p=a.get(t);if(p)return p;a.set(t,c),cn(t)?t.forEach((function(o){c.add(e(o,n,r,o,t,a))})):rn(t)&&t.forEach((function(o,i){c.set(i,e(o,n,r,i,t,a))}));var v=f?void 0:(l?s?Ct:_t:s?dt:ct)(t);return _e(v||t,(function(o,i){v&&(o=t[i=o]),Ne(c,i,e(o,n,r,i,t,a))})),c},ln=function(e){return sn(e,4)},fn=function(e){return function(){return e}},dn=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),c=a.length;c--;){var u=a[e?c:++o];if(!1===n(i[u],u,i))break}return t}}(),hn=function(e,t){return e&&dn(e,t,ct)},pn=function(e,t){return function(n,r){if(null==n)return n;if(!at(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Object(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}(hn),vn=function(e){return e},gn=function(e){return\"function\"==typeof e?e:vn},mn=function(e,t){return(ze(e)?_e:pn)(e,gn(t))},yn=mn,bn=function(e,t){var n=[];return pn(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n},xn=function(e){return this.__data__.set(e,\"__lodash_hash_undefined__\"),this},wn=function(e){return this.__data__.has(e)};function On(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Ee;++t<n;)this.add(e[t])}On.prototype.add=On.prototype.push=xn,On.prototype.has=wn;var En=On,Sn=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},jn=function(e,t){return e.has(t)},kn=function(e,t,n,r,o,i){var a=1&n,c=e.length,u=t.length;if(c!=u&&!(a&&u>c))return!1;var s=i.get(e),l=i.get(t);if(s&&l)return s==t&&l==e;var f=-1,d=!0,h=2&n?new En:void 0;for(i.set(e,t),i.set(t,e);++f<c;){var p=e[f],v=t[f];if(r)var g=a?r(v,p,f,t,e,i):r(p,v,f,e,t,i);if(void 0!==g){if(g)continue;d=!1;break}if(h){if(!Sn(t,(function(e,t){if(!jn(h,t)&&(p===e||o(p,e,n,r,i)))return h.push(t)}))){d=!1;break}}else if(p!==v&&!o(p,v,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d},_n=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},Cn=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},Mn=T?T.prototype:void 0,An=Mn?Mn.valueOf:void 0,Nn=function(e,t,n,r,o,i,a){switch(n){case\"[object DataView]\":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case\"[object ArrayBuffer]\":return!(e.byteLength!=t.byteLength||!i(new Gt(e),new Gt(t)));case\"[object Boolean]\":case\"[object Date]\":case\"[object Number]\":return v(+e,+t);case\"[object Error]\":return e.name==t.name&&e.message==t.message;case\"[object RegExp]\":case\"[object String]\":return e==t+\"\";case\"[object Map]\":var c=_n;case\"[object Set]\":var u=1&r;if(c||(c=Cn),e.size!=t.size&&!u)return!1;var s=a.get(e);if(s)return s==t;r|=2,a.set(e,t);var l=kn(c(e),c(t),r,o,i,a);return a.delete(e),l;case\"[object Symbol]\":if(An)return An.call(e)==An.call(t)}return!1},Tn=Object.prototype.hasOwnProperty,In=function(e,t,n,r,o,i){var a=1&n,c=_t(e),u=c.length;if(u!=_t(t).length&&!a)return!1;for(var s=u;s--;){var l=c[s];if(!(a?l in t:Tn.call(t,l)))return!1}var f=i.get(e),d=i.get(t);if(f&&d)return f==t&&d==e;var h=!0;i.set(e,t),i.set(t,e);for(var p=a;++s<u;){var v=e[l=c[s]],g=t[l];if(r)var m=a?r(g,v,l,t,e,i):r(v,g,l,e,t,i);if(!(void 0===m?v===g||o(v,g,n,r,i):m)){h=!1;break}p||(p=\"constructor\"==l)}if(h&&!p){var y=e.constructor,b=t.constructor;y==b||!(\"constructor\"in e)||!(\"constructor\"in t)||\"function\"==typeof y&&y instanceof y&&\"function\"==typeof b&&b instanceof b||(h=!1)}return i.delete(e),i.delete(t),h},Pn=Object.prototype.hasOwnProperty,Ln=function(e,t,n,r,o,i){var a=ze(e),c=ze(t),u=a?\"[object Array]\":Bt(e),s=c?\"[object Array]\":Bt(t),l=\"[object Object]\"==(u=\"[object Arguments]\"==u?\"[object Object]\":u),f=\"[object Object]\"==(s=\"[object Arguments]\"==s?\"[object Object]\":s),d=u==s;if(d&&Ge(e)){if(!Ge(t))return!1;a=!0,l=!1}if(d&&!l)return i||(i=new ke),a||$e(e)?kn(e,t,n,r,o,i):Nn(e,t,u,n,r,o,i);if(!(1&n)){var h=l&&Pn.call(e,\"__wrapped__\"),p=f&&Pn.call(t,\"__wrapped__\");if(h||p){var v=h?e.value():e,g=p?t.value():t;return i||(i=new ke),o(v,g,n,r,i)}}return!!d&&(i||(i=new ke),In(e,t,n,r,o,i))},Dn=function e(t,n,r,o,i){return t===n||(null==t||null==n||!Pe(t)&&!Pe(n)?t!=t&&n!=n:Ln(t,n,r,o,e,i))},Rn=function(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var c=n[o];if(a&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++o<i;){var u=(c=n[o])[0],s=e[u],l=c[1];if(a&&c[2]){if(void 0===s&&!(u in e))return!1}else{var f=new ke;if(r)var d=r(s,l,u,e,t,f);if(!(void 0===d?Dn(l,s,3,r,f):d))return!1}}return!0},Fn=function(e){return e==e&&!G(e)},Bn=function(e){for(var t=ct(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Fn(o)]}return t},zn=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},Un=function(e){var t=Bn(e);return 1==t.length&&t[0][2]?zn(t[0][0],t[0][1]):function(n){return n===e||Rn(n,e,t)}},Gn=function(e){return\"symbol\"==typeof e||Pe(e)&&\"[object Symbol]\"==U(e)},Vn=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,Wn=/^\\w*$/,Hn=function(e,t){if(ze(e))return!1;var n=typeof e;return!(\"number\"!=n&&\"symbol\"!=n&&\"boolean\"!=n&&null!=e&&!Gn(e))||Wn.test(e)||!Vn.test(e)||null!=t&&e in Object(t)};function Yn(e,t){if(\"function\"!=typeof e||null!=t&&\"function\"!=typeof t)throw new TypeError(\"Expected a function\");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Yn.Cache||Ee),n}Yn.Cache=Ee;var Xn,qn=Yn,Kn=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,Zn=/\\\\(\\\\)?/g,$n=function(e){var t=qn(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(\"\"),e.replace(Kn,(function(e,n,r,o){t.push(r?o.replace(Zn,\"$1\"):n||e)})),t})),Qn=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o},Jn=T?T.prototype:void 0,er=Jn?Jn.toString:void 0,tr=function e(t){if(\"string\"==typeof t)return t;if(ze(t))return Qn(t,e)+\"\";if(Gn(t))return er?er.call(t):\"\";var n=t+\"\";return\"0\"==n&&1/t==-1/0?\"-0\":n},nr=function(e){return null==e?\"\":tr(e)},rr=function(e,t){return ze(e)?e:Hn(e,t)?[e]:$n(nr(e))},or=function(e){if(\"string\"==typeof e||Gn(e))return e;var t=e+\"\";return\"0\"==t&&1/e==-1/0?\"-0\":t},ir=function(e,t){for(var n=0,r=(t=rr(t,e)).length;null!=e&&n<r;)e=e[or(t[n++])];return n&&n==r?e:void 0},ar=function(e,t,n){var r=null==e?void 0:ir(e,t);return void 0===r?n:r},cr=function(e,t){return null!=e&&t in Object(e)},ur=function(e,t,n){for(var r=-1,o=(t=rr(t,e)).length,i=!1;++r<o;){var a=or(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&He(o)&&We(a,o)&&(ze(e)||Be(e))},sr=function(e,t){return null!=e&&ur(e,t,cr)},lr=function(e,t){return Hn(e)&&Fn(t)?zn(or(e),t):function(n){var r=ar(n,e);return void 0===r&&r===t?sr(n,e):Dn(t,r,3)}},fr=function(e){return function(t){return null==t?void 0:t[e]}},dr=function(e){return function(t){return ir(t,e)}},hr=function(e){return Hn(e)?fr(or(e)):dr(e)},pr=function(e){return\"function\"==typeof e?e:null==e?vn:\"object\"==typeof e?ze(e)?lr(e[0],e[1]):Un(e):hr(e)},vr=function(e,t){return(ze(e)?gt:bn)(e,pr(t))},gr=Object.prototype.hasOwnProperty,mr=function(e,t){return null!=e&&gr.call(e,t)},yr=function(e,t){return null!=e&&ur(e,t,mr)},br=Object.prototype.hasOwnProperty,xr=function(e){if(null==e)return!0;if(at(e)&&(ze(e)||\"string\"==typeof e||\"function\"==typeof e.splice||Ge(e)||$e(e)||Be(e)))return!e.length;var t=Bt(e);if(\"[object Map]\"==t||\"[object Set]\"==t)return!e.size;if(tt(e))return!it(e).length;for(var n in e)if(br.call(e,n))return!1;return!0},wr=function(e){return void 0===e},Or=function(e,t){var n=-1,r=at(e)?Array(e.length):[];return pn(e,(function(e,o,i){r[++n]=t(e,o,i)})),r},Er=function(e,t){return(ze(e)?Qn:Or)(e,pr(t))},Sr=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n},jr=function(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n},kr=function(e,t,n){var r=ze(e)?Sr:jr,o=arguments.length<3;return r(e,pr(t),n,o,pn)},_r=function(e){return\"string\"==typeof e||!ze(e)&&Pe(e)&&\"[object String]\"==U(e)},Cr=fr(\"length\"),Mr=RegExp(\"[\\\\u200d\\\\ud800-\\\\udfff\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe2f\\\\u20d0-\\\\u20ff\\\\ufe0e\\\\ufe0f]\"),Ar=function(e){return Mr.test(e)},Nr=\"[\\\\ud800-\\\\udfff]\",Tr=\"[\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe2f\\\\u20d0-\\\\u20ff]\",Ir=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",Pr=\"[^\\\\ud800-\\\\udfff]\",Lr=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",Dr=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",Rr=\"(?:\"+Tr+\"|\"+Ir+\")?\",Fr=\"[\\\\ufe0e\\\\ufe0f]?\"+Rr+\"(?:\\\\u200d(?:\"+[Pr,Lr,Dr].join(\"|\")+\")[\\\\ufe0e\\\\ufe0f]?\"+Rr+\")*\",Br=\"(?:\"+[Pr+Tr+\"?\",Tr,Lr,Dr,Nr].join(\"|\")+\")\",zr=RegExp(Ir+\"(?=\"+Ir+\")|\"+Br+Fr,\"g\"),Ur=function(e){for(var t=zr.lastIndex=0;zr.test(e);)++t;return t},Gr=function(e){return Ar(e)?Ur(e):Cr(e)},Vr=function(e){if(null==e)return 0;if(at(e))return _r(e)?Gr(e):e.length;var t=Bt(e);return\"[object Map]\"==t||\"[object Set]\"==t?e.size:it(e).length},Wr=function(e,t,n){var r=ze(e),o=r||Ge(e)||$e(e);if(t=pr(t),null==n){var i=e&&e.constructor;n=o?r?new i:[]:G(e)&&V(i)?Jt(Et(e)):{}}return(o?_e:hn)(e,(function(e,r,o){return t(n,e,r,o)})),n},Hr=T?T.isConcatSpreadable:void 0,Yr=function(e){return ze(e)||Be(e)||!!(Hr&&e&&e[Hr])},Xr=function e(t,n,r,o,i){var a=-1,c=t.length;for(r||(r=Yr),i||(i=[]);++a<c;){var u=t[a];n>0&&r(u)?n>1?e(u,n-1,r,o,i):Ot(i,u):o||(i[i.length]=u)}return i},qr=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},Kr=Math.max,Zr=function(e,t,n){return t=Kr(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=Kr(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var c=Array(t+1);++o<t;)c[o]=r[o];return c[t]=n(a),qr(e,this,c)}},$r=Ce?function(e,t){return Ce(e,\"toString\",{configurable:!0,enumerable:!1,value:fn(t),writable:!0})}:vn,Qr=Date.now,Jr=function(e){var t=0,n=0;return function(){var r=Qr(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}($r),eo=function(e,t){return Jr(Zr(e,t,vn),e+\"\")},to=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1},no=function(e){return e!=e},ro=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1},oo=function(e,t,n){return t==t?ro(e,t,n):to(e,no,n)},io=function(e,t){return!(null==e||!e.length)&&oo(e,t,0)>-1},ao=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1},co=function(){},uo=Nt&&1/Cn(new Nt([,-0]))[1]==1/0?function(e){return new Nt(e)}:co,so=function(e,t,n){var r=-1,o=io,i=e.length,a=!0,c=[],u=c;if(n)a=!1,o=ao;else if(i>=200){var s=t?null:uo(e);if(s)return Cn(s);a=!1,o=jn,u=new En}else u=t?[]:c;e:for(;++r<i;){var l=e[r],f=t?t(l):l;if(l=n||0!==l?l:0,a&&f==f){for(var d=u.length;d--;)if(u[d]===f)continue e;t&&u.push(f),c.push(l)}else o(u,f,n)||(u!==c&&u.push(f),c.push(l))}return c},lo=function(e){return Pe(e)&&at(e)},fo=eo((function(e){return so(Xr(e,1,lo,!0))})),ho=function(e,t){return Qn(t,(function(t){return e[t]}))},po=function(e){return null==e?[]:ho(e,ct(e))};try{Xn={clone:ln,constant:fn,each:yn,filter:vr,has:yr,isArray:ze,isEmpty:xr,isFunction:V,isUndefined:wr,keys:ct,map:Er,reduce:kr,size:Vr,transform:Wr,union:fo,values:po}}catch(r){}Xn||(Xn=window._);var vo=Xn,go=mo;function mo(e){this._isDirected=!vo.has(e,\"directed\")||e.directed,this._isMultigraph=!!vo.has(e,\"multigraph\")&&e.multigraph,this._isCompound=!!vo.has(e,\"compound\")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=vo.constant(void 0),this._defaultEdgeLabelFn=vo.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[\"\\0\"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function yo(e,t){e[t]?e[t]++:e[t]=1}function bo(e,t){--e[t]||delete e[t]}function xo(e,t,n,r){var o=\"\"+t,i=\"\"+n;if(!e&&o>i){var a=o;o=i,i=a}return o+\"\\x01\"+i+\"\\x01\"+(vo.isUndefined(r)?\"\\0\":r)}function wo(e,t,n,r){var o=\"\"+t,i=\"\"+n;if(!e&&o>i){var a=o;o=i,i=a}var c={v:o,w:i};return r&&(c.name=r),c}function Oo(e,t){return xo(e,t.v,t.w,t.name)}mo.prototype._nodeCount=0,mo.prototype._edgeCount=0,mo.prototype.isDirected=function(){return this._isDirected},mo.prototype.isMultigraph=function(){return this._isMultigraph},mo.prototype.isCompound=function(){return this._isCompound},mo.prototype.setGraph=function(e){return this._label=e,this},mo.prototype.graph=function(){return this._label},mo.prototype.setDefaultNodeLabel=function(e){return vo.isFunction(e)||(e=vo.constant(e)),this._defaultNodeLabelFn=e,this},mo.prototype.nodeCount=function(){return this._nodeCount},mo.prototype.nodes=function(){return vo.keys(this._nodes)},mo.prototype.sources=function(){var e=this;return vo.filter(this.nodes(),(function(t){return vo.isEmpty(e._in[t])}))},mo.prototype.sinks=function(){var e=this;return vo.filter(this.nodes(),(function(t){return vo.isEmpty(e._out[t])}))},mo.prototype.setNodes=function(e,t){var n=arguments,r=this;return vo.each(e,(function(e){n.length>1?r.setNode(e,t):r.setNode(e)})),this},mo.prototype.setNode=function(e,t){return vo.has(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=\"\\0\",this._children[e]={},this._children[\"\\0\"][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)},mo.prototype.node=function(e){return this._nodes[e]},mo.prototype.hasNode=function(e){return vo.has(this._nodes,e)},mo.prototype.removeNode=function(e){var t=this;if(vo.has(this._nodes,e)){var n=function(e){t.removeEdge(t._edgeObjs[e])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],vo.each(this.children(e),(function(e){t.setParent(e)})),delete this._children[e]),vo.each(vo.keys(this._in[e]),n),delete this._in[e],delete this._preds[e],vo.each(vo.keys(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this},mo.prototype.setParent=function(e,t){if(!this._isCompound)throw new Error(\"Cannot set parent in a non-compound graph\");if(vo.isUndefined(t))t=\"\\0\";else{for(var n=t+=\"\";!vo.isUndefined(n);n=this.parent(n))if(n===e)throw new Error(\"Setting \"+t+\" as parent of \"+e+\" would create a cycle\");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this},mo.prototype._removeFromParentsChildList=function(e){delete this._children[this._parent[e]][e]},mo.prototype.parent=function(e){if(this._isCompound){var t=this._parent[e];if(\"\\0\"!==t)return t}},mo.prototype.children=function(e){if(vo.isUndefined(e)&&(e=\"\\0\"),this._isCompound){var t=this._children[e];if(t)return vo.keys(t)}else{if(\"\\0\"===e)return this.nodes();if(this.hasNode(e))return[]}},mo.prototype.predecessors=function(e){var t=this._preds[e];if(t)return vo.keys(t)},mo.prototype.successors=function(e){var t=this._sucs[e];if(t)return vo.keys(t)},mo.prototype.neighbors=function(e){var t=this.predecessors(e);if(t)return vo.union(t,this.successors(e))},mo.prototype.isLeaf=function(e){return 0===(this.isDirected()?this.successors(e):this.neighbors(e)).length},mo.prototype.filterNodes=function(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var n=this;vo.each(this._nodes,(function(n,r){e(r)&&t.setNode(r,n)})),vo.each(this._edgeObjs,(function(e){t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,n.edge(e))}));var r={};function o(e){var i=n.parent(e);return void 0===i||t.hasNode(i)?(r[e]=i,i):i in r?r[i]:o(i)}return this._isCompound&&vo.each(t.nodes(),(function(e){t.setParent(e,o(e))})),t},mo.prototype.setDefaultEdgeLabel=function(e){return vo.isFunction(e)||(e=vo.constant(e)),this._defaultEdgeLabelFn=e,this},mo.prototype.edgeCount=function(){return this._edgeCount},mo.prototype.edges=function(){return vo.values(this._edgeObjs)},mo.prototype.setPath=function(e,t){var n=this,r=arguments;return vo.reduce(e,(function(e,o){return r.length>1?n.setEdge(e,o,t):n.setEdge(e,o),o})),this},mo.prototype.setEdge=function(){var e,t,n,r,o=!1,i=arguments[0];\"object\"==typeof i&&null!==i&&\"v\"in i?(e=i.v,t=i.w,n=i.name,2===arguments.length&&(r=arguments[1],o=!0)):(e=i,t=arguments[1],n=arguments[3],arguments.length>2&&(r=arguments[2],o=!0)),e=\"\"+e,t=\"\"+t,vo.isUndefined(n)||(n=\"\"+n);var a=xo(this._isDirected,e,t,n);if(vo.has(this._edgeLabels,a))return o&&(this._edgeLabels[a]=r),this;if(!vo.isUndefined(n)&&!this._isMultigraph)throw new Error(\"Cannot set a named edge when isMultigraph = false\");this.setNode(e),this.setNode(t),this._edgeLabels[a]=o?r:this._defaultEdgeLabelFn(e,t,n);var c=wo(this._isDirected,e,t,n);return e=c.v,t=c.w,Object.freeze(c),this._edgeObjs[a]=c,yo(this._preds[t],e),yo(this._sucs[e],t),this._in[t][a]=c,this._out[e][a]=c,this._edgeCount++,this},mo.prototype.edge=function(e,t,n){var r=1===arguments.length?Oo(this._isDirected,arguments[0]):xo(this._isDirected,e,t,n);return this._edgeLabels[r]},mo.prototype.hasEdge=function(e,t,n){var r=1===arguments.length?Oo(this._isDirected,arguments[0]):xo(this._isDirected,e,t,n);return vo.has(this._edgeLabels,r)},mo.prototype.removeEdge=function(e,t,n){var r=1===arguments.length?Oo(this._isDirected,arguments[0]):xo(this._isDirected,e,t,n),o=this._edgeObjs[r];return o&&(e=o.v,t=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],bo(this._preds[t],e),bo(this._sucs[e],t),delete this._in[t][r],delete this._out[e][r],this._edgeCount--),this},mo.prototype.inEdges=function(e,t){var n=this._in[e];if(n){var r=vo.values(n);return t?vo.filter(r,(function(e){return e.v===t})):r}},mo.prototype.outEdges=function(e,t){var n=this._out[e];if(n){var r=vo.values(n);return t?vo.filter(r,(function(e){return e.w===t})):r}},mo.prototype.nodeEdges=function(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))};var Eo={Graph:go,version:\"2.1.8\"},So={write:function(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:jo(e),edges:ko(e)};return vo.isUndefined(e.graph())||(t.value=vo.clone(e.graph())),t},read:function(e){var t=new go(e.options).setGraph(e.value);return vo.each(e.nodes,(function(e){t.setNode(e.v,e.value),e.parent&&t.setParent(e.v,e.parent)})),vo.each(e.edges,(function(e){t.setEdge({v:e.v,w:e.w,name:e.name},e.value)})),t}};function jo(e){return vo.map(e.nodes(),(function(t){var n=e.node(t),r=e.parent(t),o={v:t};return vo.isUndefined(n)||(o.value=n),vo.isUndefined(r)||(o.parent=r),o}))}function ko(e){return vo.map(e.edges(),(function(t){var n=e.edge(t),r={v:t.v,w:t.w};return vo.isUndefined(t.name)||(r.name=t.name),vo.isUndefined(n)||(r.value=n),r}))}var _o=function(e){var t,n={},r=[];function o(r){vo.has(n,r)||(n[r]=!0,t.push(r),vo.each(e.successors(r),o),vo.each(e.predecessors(r),o))}return vo.each(e.nodes(),(function(e){t=[],o(e),t.length&&r.push(t)})),r},Co=Mo;function Mo(){this._arr=[],this._keyIndices={}}Mo.prototype.size=function(){return this._arr.length},Mo.prototype.keys=function(){return this._arr.map((function(e){return e.key}))},Mo.prototype.has=function(e){return vo.has(this._keyIndices,e)},Mo.prototype.priority=function(e){var t=this._keyIndices[e];if(void 0!==t)return this._arr[t].priority},Mo.prototype.min=function(){if(0===this.size())throw new Error(\"Queue underflow\");return this._arr[0].key},Mo.prototype.add=function(e,t){var n=this._keyIndices;if(e=String(e),!vo.has(n,e)){var r=this._arr,o=r.length;return n[e]=o,r.push({key:e,priority:t}),this._decrease(o),!0}return!1},Mo.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var e=this._arr.pop();return delete this._keyIndices[e.key],this._heapify(0),e.key},Mo.prototype.decrease=function(e,t){var n=this._keyIndices[e];if(t>this._arr[n].priority)throw new Error(\"New priority is greater than current priority. Key: \"+e+\" Old: \"+this._arr[n].priority+\" New: \"+t);this._arr[n].priority=t,this._decrease(n)},Mo.prototype._heapify=function(e){var t=this._arr,n=2*e,r=n+1,o=e;n<t.length&&(o=t[n].priority<t[o].priority?n:o,r<t.length&&(o=t[r].priority<t[o].priority?r:o),o!==e&&(this._swap(e,o),this._heapify(o)))},Mo.prototype._decrease=function(e){for(var t,n=this._arr,r=n[e].priority;0!==e&&!(n[t=e>>1].priority<r);)this._swap(e,t),e=t},Mo.prototype._swap=function(e,t){var n=this._arr,r=this._keyIndices,o=n[e],i=n[t];n[e]=i,n[t]=o,r[i.key]=e,r[o.key]=t};var Ao=function(e,t,n,r){return function(e,t,n,r){var o,i,a={},c=new Co,u=function(e){var t=e.v!==o?e.v:e.w,r=a[t],u=n(e),s=i.distance+u;if(u<0)throw new Error(\"dijkstra does not allow negative edge weights. Bad edge: \"+e+\" Weight: \"+u);s<r.distance&&(r.distance=s,r.predecessor=o,c.decrease(t,s))};for(e.nodes().forEach((function(e){var n=e===t?0:Number.POSITIVE_INFINITY;a[e]={distance:n},c.add(e,n)}));c.size()>0&&(o=c.removeMin(),(i=a[o]).distance!==Number.POSITIVE_INFINITY);)r(o).forEach(u);return a}(e,String(t),n||No,r||function(t){return e.outEdges(t)})},No=vo.constant(1),To=function(e,t,n){return vo.transform(e.nodes(),(function(r,o){r[o]=Ao(e,o,t,n)}),{})},Io=function(e){var t=0,n=[],r={},o=[];function i(a){var c=r[a]={onStack:!0,lowlink:t,index:t++};if(n.push(a),e.successors(a).forEach((function(e){vo.has(r,e)?r[e].onStack&&(c.lowlink=Math.min(c.lowlink,r[e].index)):(i(e),c.lowlink=Math.min(c.lowlink,r[e].lowlink))})),c.lowlink===c.index){var u,s=[];do{u=n.pop(),r[u].onStack=!1,s.push(u)}while(a!==u);o.push(s)}}return e.nodes().forEach((function(e){vo.has(r,e)||i(e)})),o},Po=function(e){return vo.filter(Io(e),(function(t){return t.length>1||1===t.length&&e.hasEdge(t[0],t[0])}))},Lo=function(e,t,n){return function(e,t,n){var r={},o=e.nodes();return o.forEach((function(e){r[e]={},r[e][e]={distance:0},o.forEach((function(t){e!==t&&(r[e][t]={distance:Number.POSITIVE_INFINITY})})),n(e).forEach((function(n){var o=n.v===e?n.w:n.v,i=t(n);r[e][o]={distance:i,predecessor:e}}))})),o.forEach((function(e){var t=r[e];o.forEach((function(n){var i=r[n];o.forEach((function(n){var r=i[e],o=t[n],a=i[n],c=r.distance+o.distance;c<a.distance&&(a.distance=c,a.predecessor=o.predecessor)}))}))})),r}(e,t||Do,n||function(t){return e.outEdges(t)})},Do=vo.constant(1),Ro=Fo;function Fo(e){var t={},n={},r=[];if(vo.each(e.sinks(),(function o(i){if(vo.has(n,i))throw new Bo;vo.has(t,i)||(n[i]=!0,t[i]=!0,vo.each(e.predecessors(i),o),delete n[i],r.push(i))})),vo.size(t)!==e.nodeCount())throw new Bo;return r}function Bo(){}Fo.CycleException=Bo,Bo.prototype=new Error;var zo=function(e,t,n){vo.isArray(t)||(t=[t]);var r=(e.isDirected()?e.successors:e.neighbors).bind(e),o=[],i={};return vo.each(t,(function(t){if(!e.hasNode(t))throw new Error(\"Graph does not have node: \"+t);Uo(e,t,\"post\"===n,i,r,o)})),o};function Uo(e,t,n,r,o,i){vo.has(r,t)||(r[t]=!0,n||i.push(t),vo.each(o(t),(function(t){Uo(e,t,n,r,o,i)})),n&&i.push(t))}var Go,Vo={Graph:Eo.Graph,json:So,alg:{components:_o,dijkstra:Ao,dijkstraAll:To,findCycles:Po,floydWarshall:Lo,isAcyclic:function(e){try{Ro(e)}catch(e){if(e instanceof Ro.CycleException)return!1;throw e}return!0},postorder:function(e,t){return zo(e,t,\"post\")},preorder:function(e,t){return zo(e,t,\"pre\")},prim:function(e,t){var n,r=new go,o={},i=new Co;function a(e){var r=e.v===n?e.w:e.v,a=i.priority(r);if(void 0!==a){var c=t(e);c<a&&(o[r]=n,i.decrease(r,c))}}if(0===e.nodeCount())return r;vo.each(e.nodes(),(function(e){i.add(e,Number.POSITIVE_INFINITY),r.setNode(e)})),i.decrease(e.nodes()[0],0);for(var c=!1;i.size()>0;){if(n=i.removeMin(),vo.has(o,n))r.setEdge(n,o[n]);else{if(c)throw new Error(\"Input graph is not connected: \"+e);c=!0}e.nodeEdges(n).forEach(a)}return r},tarjan:Io,topsort:Ro},version:Eo.version};try{Go=Vo}catch(r){}Go||(Go=window.graphlib);var Wo,Ho=Go,Yo=function(e){return sn(e,5)},Xo=function(e,t,n){if(!G(n))return!1;var r=typeof t;return!!(\"number\"==r?at(n)&&We(t,n.length):\"string\"==r&&t in n)&&v(n[t],e)},qo=Object.prototype,Ko=qo.hasOwnProperty,Zo=eo((function(e,t){e=Object(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&Xo(t[0],t[1],o)&&(r=1);++n<r;)for(var i=t[n],a=dt(i),c=-1,u=a.length;++c<u;){var s=a[c],l=e[s];(void 0===l||v(l,qo[s])&&!Ko.call(e,s))&&(e[s]=i[s])}return e})),$o=function(e){return function(t,n,r){var o=Object(t);if(!at(t)){var i=pr(n);t=ct(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:void 0}},Qo=/^\\s+|\\s+$/g,Jo=/^[-+]0x[0-9a-f]+$/i,ei=/^0b[01]+$/i,ti=/^0o[0-7]+$/i,ni=parseInt,ri=function(e){if(\"number\"==typeof e)return e;if(Gn(e))return NaN;if(G(e)){var t=\"function\"==typeof e.valueOf?e.valueOf():e;e=G(t)?t+\"\":t}if(\"string\"!=typeof e)return 0===e?e:+e;e=e.replace(Qo,\"\");var n=ei.test(e);return n||ti.test(e)?ni(e.slice(2),n?2:8):Jo.test(e)?NaN:+e},oi=function(e){return e?1/0===(e=ri(e))||-1/0===e?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0},ii=function(e){var t=oi(e),n=t%1;return t==t?n?t-n:t:0},ai=Math.max,ci=$o((function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ii(n);return o<0&&(o=ai(r+o,0)),to(e,pr(t),o)})),ui=function(e){return null!=e&&e.length?Xr(e,1):[]},si=function(e,t){return null==e?e:dn(e,gn(t),dt)},li=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},fi=function(e,t){var n={};return t=pr(t),hn(e,(function(e,r,o){Me(n,r,t(e,r,o))})),n},di=function(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(void 0===c?a==a&&!Gn(a):n(a,c)))var c=a,u=i}return u},hi=function(e,t){return e>t},pi=function(e){return e&&e.length?di(e,vn,hi):void 0},vi=function(e,t,n){(void 0!==n&&!v(e[t],n)||void 0===n&&!(t in e))&&Me(e,t,n)},gi=Function.prototype,mi=Object.prototype,yi=gi.toString,bi=mi.hasOwnProperty,xi=yi.call(Object),wi=function(e){if(!Pe(e)||\"[object Object]\"!=U(e))return!1;var t=Et(e);if(null===t)return!0;var n=bi.call(t,\"constructor\")&&t.constructor;return\"function\"==typeof n&&n instanceof n&&yi.call(n)==xi},Oi=function(e,t){if((\"constructor\"!==t||\"function\"!=typeof e[t])&&\"__proto__\"!=t)return e[t]},Ei=function(e){return Te(e,dt(e))},Si=function(e,t,n,r,o,i,a){var c=Oi(e,n),u=Oi(t,n),s=a.get(u);if(s)vi(e,n,s);else{var l=i?i(c,u,n+\"\",e,t,a):void 0,f=void 0===l;if(f){var d=ze(u),h=!d&&Ge(u),p=!d&&!h&&$e(u);l=u,d||h||p?ze(c)?l=c:lo(c)?l=vt(c):h?(f=!1,l=pt(u,!0)):p?(f=!1,l=Zt(u,!0)):l=[]:wi(u)||Be(u)?(l=c,Be(c)?l=Ei(c):G(c)&&!V(c)||(l=en(u))):f=!1}f&&(a.set(u,l),o(l,u,r,i,a),a.delete(u)),vi(e,n,l)}},ji=function e(t,n,r,o,i){t!==n&&dn(n,(function(a,c){if(i||(i=new ke),G(a))Si(t,n,c,r,e,o,i);else{var u=o?o(Oi(t,c),a,c+\"\",t,n,i):void 0;void 0===u&&(u=a),vi(t,c,u)}}),dt)},ki=function(e){return eo((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&\"function\"==typeof i?(o--,i):void 0,a&&Xo(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var c=n[r];c&&e(t,c,r,i)}return t}))}((function(e,t,n){ji(e,t,n)})),_i=function(e,t){return e<t},Ci=function(e){return e&&e.length?di(e,vn,_i):void 0},Mi=function(e,t){return e&&e.length?di(e,pr(t),_i):void 0},Ai=function(){return N.Date.now()},Ni=function(e,t,n,r){if(!G(e))return e;for(var o=-1,i=(t=rr(t,e)).length,a=i-1,c=e;null!=c&&++o<i;){var u=or(t[o]),s=n;if(\"__proto__\"===u||\"constructor\"===u||\"prototype\"===u)return e;if(o!=a){var l=c[u];void 0===(s=r?r(l,u,c):void 0)&&(s=G(l)?l:We(t[o+1])?[]:{})}Ne(c,u,s),c=c[u]}return e},Ti=function(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],c=ir(e,a);n(c,a)&&Ni(i,rr(a,e),c)}return i},Ii=function(e,t){return Ti(e,t,(function(t,n){return sr(e,n)}))},Pi=function(e){return Jr(Zr(e,void 0,ui),e+\"\")}((function(e,t){return null==e?{}:Ii(e,t)})),Li=Math.ceil,Di=Math.max,Ri=function(e,t,n,r){for(var o=-1,i=Di(Li((t-e)/(n||1)),0),a=Array(i);i--;)a[r?i:++o]=e,e+=n;return a},Fi=function(e){return function(t,n,r){return r&&\"number\"!=typeof r&&Xo(t,n,r)&&(n=r=void 0),t=oi(t),void 0===n?(n=t,t=0):n=oi(n),r=void 0===r?t<n?1:-1:oi(r),Ri(t,n,r,e)}}(),Bi=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e},zi=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,i=Gn(e),a=void 0!==t,c=null===t,u=t==t,s=Gn(t);if(!c&&!s&&!i&&e>t||i&&a&&u&&!c&&!s||r&&a&&u||!n&&u||!o)return 1;if(!r&&!i&&!s&&e<t||s&&n&&o&&!r&&!i||c&&n&&o||!a&&o||!u)return-1}return 0},Ui=function(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,c=n.length;++r<a;){var u=zi(o[r],i[r]);if(u)return r>=c?u:u*(\"desc\"==n[r]?-1:1)}return e.index-t.index},Gi=function(e,t,n){t=t.length?Qn(t,(function(e){return ze(e)?function(t){return ir(t,1===e.length?e[0]:e)}:e})):[vn];var r=-1;t=Qn(t,qe(pr));var o=Or(e,(function(e,n,o){return{criteria:Qn(t,(function(t){return t(e)})),index:++r,value:e}}));return Bi(o,(function(e,t){return Ui(e,t,n)}))},Vi=eo((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Xo(e,t[0],t[1])?t=[]:n>2&&Xo(t[0],t[1],t[2])&&(t=[t[0]]),Gi(e,Xr(t,1),[])})),Wi=0,Hi=function(e){var t=++Wi;return nr(e)+t},Yi=function(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var c=r<i?t[r]:void 0;n(a,e[r],c)}return a},Xi=function(e,t){return Yi(e||[],t||[],Ne)};try{Wo={cloneDeep:Yo,constant:fn,defaults:Zo,each:yn,filter:vr,find:ci,flatten:ui,forEach:mn,forIn:si,has:yr,isUndefined:wr,last:li,map:Er,mapValues:fi,max:pi,merge:ki,min:Ci,minBy:Mi,now:Ai,pick:Pi,range:Fi,reduce:kr,sortBy:Vi,uniqueId:Hi,values:po,zipObject:Xi}}catch(r){}Wo||(Wo=window._);var qi=Wo,Ki=Zi;function Zi(){var e={};e._next=e._prev=e,this._sentinel=e}function $i(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function Qi(e,t){if(\"_next\"!==e&&\"_prev\"!==e)return t}Zi.prototype.dequeue=function(){var e=this._sentinel,t=e._prev;if(t!==e)return $i(t),t},Zi.prototype.enqueue=function(e){var t=this._sentinel;e._prev&&e._next&&$i(e),e._next=t._next,t._next._prev=e,t._next=e,e._prev=t},Zi.prototype.toString=function(){for(var e=[],t=this._sentinel,n=t._prev;n!==t;)e.push(JSON.stringify(n,Qi)),n=n._prev;return\"[\"+e.join(\", \")+\"]\"};var Ji=Ho.Graph,ea=function(e,t){if(e.nodeCount()<=1)return[];var n=function(e,t){var n=new Ji,r=0,o=0;qi.forEach(e.nodes(),(function(e){n.setNode(e,{v:e,in:0,out:0})})),qi.forEach(e.edges(),(function(e){var i=n.edge(e.v,e.w)||0,a=t(e),c=i+a;n.setEdge(e.v,e.w,c),o=Math.max(o,n.node(e.v).out+=a),r=Math.max(r,n.node(e.w).in+=a)}));var i=qi.range(o+r+3).map((function(){return new Ki})),a=r+1;return qi.forEach(n.nodes(),(function(e){ra(i,a,n.node(e))})),{graph:n,buckets:i,zeroIdx:a}}(e,t||ta),r=function(e,t,n){for(var r,o=[],i=t[t.length-1],a=t[0];e.nodeCount();){for(;r=a.dequeue();)na(e,t,n,r);for(;r=i.dequeue();)na(e,t,n,r);if(e.nodeCount())for(var c=t.length-2;c>0;--c)if(r=t[c].dequeue()){o=o.concat(na(e,t,n,r,!0));break}}return o}(n.graph,n.buckets,n.zeroIdx);return qi.flatten(qi.map(r,(function(t){return e.outEdges(t.v,t.w)})),!0)},ta=qi.constant(1);function na(e,t,n,r,o){var i=o?[]:void 0;return qi.forEach(e.inEdges(r.v),(function(r){var a=e.edge(r),c=e.node(r.v);o&&i.push({v:r.v,w:r.w}),c.out-=a,ra(t,n,c)})),qi.forEach(e.outEdges(r.v),(function(r){var o=e.edge(r),i=r.w,a=e.node(i);a.in-=o,ra(t,n,a)})),e.removeNode(r.v),i}function ra(e,t,n){n.out?n.in?e[n.out-n.in+t].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)}var oa={run:function(e){var t=\"greedy\"===e.graph().acyclicer?ea(e,function(e){return function(t){return e.edge(t).weight}}(e)):function(e){var t=[],n={},r={};function o(i){qi.has(r,i)||(r[i]=!0,n[i]=!0,qi.forEach(e.outEdges(i),(function(e){qi.has(n,e.w)?t.push(e):o(e.w)})),delete n[i])}return qi.forEach(e.nodes(),o),t}(e);qi.forEach(t,(function(t){var n=e.edge(t);e.removeEdge(t),n.forwardName=t.name,n.reversed=!0,e.setEdge(t.w,t.v,n,qi.uniqueId(\"rev\"))}))},undo:function(e){qi.forEach(e.edges(),(function(t){var n=e.edge(t);if(n.reversed){e.removeEdge(t);var r=n.forwardName;delete n.reversed,delete n.forwardName,e.setEdge(t.w,t.v,n,r)}}))}},ia=Ho.Graph,aa={addDummyNode:ca,simplify:function(e){var t=(new ia).setGraph(e.graph());return qi.forEach(e.nodes(),(function(n){t.setNode(n,e.node(n))})),qi.forEach(e.edges(),(function(n){var r=t.edge(n.v,n.w)||{weight:0,minlen:1},o=e.edge(n);t.setEdge(n.v,n.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})})),t},asNonCompoundGraph:function(e){var t=new ia({multigraph:e.isMultigraph()}).setGraph(e.graph());return qi.forEach(e.nodes(),(function(n){e.children(n).length||t.setNode(n,e.node(n))})),qi.forEach(e.edges(),(function(n){t.setEdge(n,e.edge(n))})),t},successorWeights:function(e){var t=qi.map(e.nodes(),(function(t){var n={};return qi.forEach(e.outEdges(t),(function(t){n[t.w]=(n[t.w]||0)+e.edge(t).weight})),n}));return qi.zipObject(e.nodes(),t)},predecessorWeights:function(e){var t=qi.map(e.nodes(),(function(t){var n={};return qi.forEach(e.inEdges(t),(function(t){n[t.v]=(n[t.v]||0)+e.edge(t).weight})),n}));return qi.zipObject(e.nodes(),t)},intersectRect:function(e,t){var n,r,o=e.x,i=e.y,a=t.x-o,c=t.y-i,u=e.width/2,s=e.height/2;if(!a&&!c)throw new Error(\"Not possible to find intersection inside of the rectangle\");return Math.abs(c)*u>Math.abs(a)*s?(c<0&&(s=-s),n=s*a/c,r=s):(a<0&&(u=-u),n=u,r=u*c/a),{x:o+n,y:i+r}},buildLayerMatrix:function(e){var t=qi.map(qi.range(ua(e)+1),(function(){return[]}));return qi.forEach(e.nodes(),(function(n){var r=e.node(n),o=r.rank;qi.isUndefined(o)||(t[o][r.order]=n)})),t},normalizeRanks:function(e){var t=qi.min(qi.map(e.nodes(),(function(t){return e.node(t).rank})));qi.forEach(e.nodes(),(function(n){var r=e.node(n);qi.has(r,\"rank\")&&(r.rank-=t)}))},removeEmptyRanks:function(e){var t=qi.min(qi.map(e.nodes(),(function(t){return e.node(t).rank}))),n=[];qi.forEach(e.nodes(),(function(r){var o=e.node(r).rank-t;n[o]||(n[o]=[]),n[o].push(r)}));var r=0,o=e.graph().nodeRankFactor;qi.forEach(n,(function(t,n){qi.isUndefined(t)&&n%o!=0?--r:r&&qi.forEach(t,(function(t){e.node(t).rank+=r}))}))},addBorderNode:function(e,t,n,r){var o={width:0,height:0};return arguments.length>=4&&(o.rank=n,o.order=r),ca(e,\"border\",o,t)},maxRank:ua,partition:function(e,t){var n={lhs:[],rhs:[]};return qi.forEach(e,(function(e){t(e)?n.lhs.push(e):n.rhs.push(e)})),n},time:function(e,t){var n=qi.now();try{return t()}finally{console.log(e+\" time: \"+(qi.now()-n)+\"ms\")}},notime:function(e,t){return t()}};function ca(e,t,n,r){var o;do{o=qi.uniqueId(r)}while(e.hasNode(o));return n.dummy=t,e.setNode(o,n),o}function ua(e){return qi.max(qi.map(e.nodes(),(function(t){var n=e.node(t).rank;if(!qi.isUndefined(n))return n})))}var sa={run:function(e){e.graph().dummyChains=[],qi.forEach(e.edges(),(function(t){!function(e,t){var n,r,o,i=t.v,a=e.node(i).rank,c=t.w,u=e.node(c).rank,s=t.name,l=e.edge(t),f=l.labelRank;if(u!==a+1){for(e.removeEdge(t),o=0,++a;a<u;++o,++a)l.points=[],r={width:0,height:0,edgeLabel:l,edgeObj:t,rank:a},n=aa.addDummyNode(e,\"edge\",r,\"_d\"),a===f&&(r.width=l.width,r.height=l.height,r.dummy=\"edge-label\",r.labelpos=l.labelpos),e.setEdge(i,n,{weight:l.weight},s),0===o&&e.graph().dummyChains.push(n),i=n;e.setEdge(i,c,{weight:l.weight},s)}}(e,t)}))},undo:function(e){qi.forEach(e.graph().dummyChains,(function(t){var n,r=e.node(t),o=r.edgeLabel;for(e.setEdge(r.edgeObj,o);r.dummy;)n=e.successors(t)[0],e.removeNode(t),o.points.push({x:r.x,y:r.y}),\"edge-label\"===r.dummy&&(o.x=r.x,o.y=r.y,o.width=r.width,o.height=r.height),t=n,r=e.node(t)}))}},la=function(e){var t={};qi.forEach(e.sources(),(function n(r){var o=e.node(r);if(qi.has(t,r))return o.rank;t[r]=!0;var i=qi.min(qi.map(e.outEdges(r),(function(t){return n(t.w)-e.edge(t).minlen})));return i!==Number.POSITIVE_INFINITY&&null!=i||(i=0),o.rank=i}))},fa=function(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen},da=Ho.Graph,ha=fa,pa=function(e){var t,n,r=new da({directed:!1}),o=e.nodes()[0],i=e.nodeCount();for(r.setNode(o,{});va(r,e)<i;)t=ga(r,e),n=r.hasNode(t.v)?ha(e,t):-ha(e,t),ma(r,e,n);return r};function va(e,t){return qi.forEach(e.nodes(),(function n(r){qi.forEach(t.nodeEdges(r),(function(o){var i=o.v,a=r===i?o.w:i;e.hasNode(a)||ha(t,o)||(e.setNode(a,{}),e.setEdge(r,a,{}),n(a))}))})),e.nodeCount()}function ga(e,t){return qi.minBy(t.edges(),(function(n){if(e.hasNode(n.v)!==e.hasNode(n.w))return ha(t,n)}))}function ma(e,t,n){qi.forEach(e.nodes(),(function(e){t.node(e).rank+=n}))}var ya=fa,ba=la,xa=Ho.alg.preorder,wa=Ho.alg.postorder,Oa=aa.simplify,Ea=Sa;function Sa(e){e=Oa(e),ba(e);var t,n=pa(e);for(_a(n),ja(n,e);t=Ma(n);)Na(n,e,t,Aa(n,e,t))}function ja(e,t){var n=wa(e,e.nodes());n=n.slice(0,n.length-1),qi.forEach(n,(function(n){!function(e,t,n){var r=e.node(n).parent;e.edge(n,r).cutvalue=ka(e,t,n)}(e,t,n)}))}function ka(e,t,n){var r=e.node(n).parent,o=!0,i=t.edge(n,r),a=0;return i||(o=!1,i=t.edge(r,n)),a=i.weight,qi.forEach(t.nodeEdges(n),(function(i){var c,u,s=i.v===n,l=s?i.w:i.v;if(l!==r){var f=s===o,d=t.edge(i).weight;if(a+=f?d:-d,c=n,u=l,e.hasEdge(c,u)){var h=e.edge(n,l).cutvalue;a+=f?-h:h}}})),a}function _a(e,t){arguments.length<2&&(t=e.nodes()[0]),Ca(e,{},1,t)}function Ca(e,t,n,r,o){var i=n,a=e.node(r);return t[r]=!0,qi.forEach(e.neighbors(r),(function(o){qi.has(t,o)||(n=Ca(e,t,n,o,r))})),a.low=i,a.lim=n++,o?a.parent=o:delete a.parent,n}function Ma(e){return qi.find(e.edges(),(function(t){return e.edge(t).cutvalue<0}))}function Aa(e,t,n){var r=n.v,o=n.w;t.hasEdge(r,o)||(r=n.w,o=n.v);var i=e.node(r),a=e.node(o),c=i,u=!1;i.lim>a.lim&&(c=a,u=!0);var s=qi.filter(t.edges(),(function(t){return u===Ta(e,e.node(t.v),c)&&u!==Ta(e,e.node(t.w),c)}));return qi.minBy(s,(function(e){return ya(t,e)}))}function Na(e,t,n,r){var o=n.v,i=n.w;e.removeEdge(o,i),e.setEdge(r.v,r.w,{}),_a(e),ja(e,t),function(e,t){var n=qi.find(e.nodes(),(function(e){return!t.node(e).parent})),r=xa(e,n);r=r.slice(1),qi.forEach(r,(function(n){var r=e.node(n).parent,o=t.edge(n,r),i=!1;o||(o=t.edge(r,n),i=!0),t.node(n).rank=t.node(r).rank+(i?o.minlen:-o.minlen)}))}(e,t)}function Ta(e,t,n){return n.low<=t.lim&&t.lim<=n.lim}Sa.initLowLimValues=_a,Sa.initCutValues=ja,Sa.calcCutValue=ka,Sa.leaveEdge=Ma,Sa.enterEdge=Aa,Sa.exchangeEdges=Na;var Ia=la,Pa=function(e){switch(e.graph().ranker){case\"network-simplex\":Da(e);break;case\"tight-tree\":!function(e){Ia(e),pa(e)}(e);break;case\"longest-path\":La(e);break;default:Da(e)}},La=Ia;function Da(e){Ea(e)}var Ra=function(e){var t=function(e){var t={},n=0;function r(o){var i=n;qi.forEach(e.children(o),r),t[o]={low:i,lim:n++}}return qi.forEach(e.children(),r),t}(e);qi.forEach(e.graph().dummyChains,(function(n){for(var r=e.node(n),o=r.edgeObj,i=function(e,t,n,r){var o,i,a=[],c=[],u=Math.min(t[n].low,t[r].low),s=Math.max(t[n].lim,t[r].lim);o=n;do{o=e.parent(o),a.push(o)}while(o&&(t[o].low>u||s>t[o].lim));for(i=o,o=r;(o=e.parent(o))!==i;)c.push(o);return{path:a.concat(c.reverse()),lca:i}}(e,t,o.v,o.w),a=i.path,c=i.lca,u=0,s=a[u],l=!0;n!==o.w;){if(r=e.node(n),l){for(;(s=a[u])!==c&&e.node(s).maxRank<r.rank;)u++;s===c&&(l=!1)}if(!l){for(;u<a.length-1&&e.node(s=a[u+1]).minRank<=r.rank;)u++;s=a[u]}e.setParent(n,s),n=e.successors(n)[0]}}))},Fa={run:function(e){var t=aa.addDummyNode(e,\"root\",{},\"_root\"),n=function(e){var t={};function n(r,o){var i=e.children(r);i&&i.length&&qi.forEach(i,(function(e){n(e,o+1)})),t[r]=o}return qi.forEach(e.children(),(function(e){n(e,1)})),t}(e),r=qi.max(qi.values(n))-1,o=2*r+1;e.graph().nestingRoot=t,qi.forEach(e.edges(),(function(t){e.edge(t).minlen*=o}));var i=function(e){return qi.reduce(e.edges(),(function(t,n){return t+e.edge(n).weight}),0)}(e)+1;qi.forEach(e.children(),(function(a){Ba(e,t,o,i,r,n,a)})),e.graph().nodeRankFactor=o},cleanup:function(e){var t=e.graph();e.removeNode(t.nestingRoot),delete t.nestingRoot,qi.forEach(e.edges(),(function(t){e.edge(t).nestingEdge&&e.removeEdge(t)}))}};function Ba(e,t,n,r,o,i,a){var c=e.children(a);if(c.length){var u=aa.addBorderNode(e,\"_bt\"),s=aa.addBorderNode(e,\"_bb\"),l=e.node(a);e.setParent(u,a),l.borderTop=u,e.setParent(s,a),l.borderBottom=s,qi.forEach(c,(function(c){Ba(e,t,n,r,o,i,c);var l=e.node(c),f=l.borderTop?l.borderTop:c,d=l.borderBottom?l.borderBottom:c,h=l.borderTop?r:2*r,p=f!==d?1:o-i[a]+1;e.setEdge(u,f,{weight:h,minlen:p,nestingEdge:!0}),e.setEdge(d,s,{weight:h,minlen:p,nestingEdge:!0})})),e.parent(a)||e.setEdge(t,u,{weight:0,minlen:o+i[a]})}else a!==t&&e.setEdge(t,a,{weight:0,minlen:n})}var za=function(e){qi.forEach(e.children(),(function t(n){var r=e.children(n),o=e.node(n);if(r.length&&qi.forEach(r,t),qi.has(o,\"minRank\")){o.borderLeft=[],o.borderRight=[];for(var i=o.minRank,a=o.maxRank+1;i<a;++i)Ua(e,\"borderLeft\",\"_bl\",n,o,i),Ua(e,\"borderRight\",\"_br\",n,o,i)}}))};function Ua(e,t,n,r,o,i){var a={width:0,height:0,rank:i,borderType:t},c=o[t][i-1],u=aa.addDummyNode(e,\"border\",a,n);o[t][i]=u,e.setParent(u,r),c&&e.setEdge(c,u,{weight:1})}var Ga={adjust:function(e){var t=e.graph().rankdir.toLowerCase();\"lr\"!==t&&\"rl\"!==t||Va(e)},undo:function(e){var t=e.graph().rankdir.toLowerCase();\"bt\"!==t&&\"rl\"!==t||function(e){qi.forEach(e.nodes(),(function(t){Ha(e.node(t))})),qi.forEach(e.edges(),(function(t){var n=e.edge(t);qi.forEach(n.points,Ha),qi.has(n,\"y\")&&Ha(n)}))}(e),\"lr\"!==t&&\"rl\"!==t||(function(e){qi.forEach(e.nodes(),(function(t){Ya(e.node(t))})),qi.forEach(e.edges(),(function(t){var n=e.edge(t);qi.forEach(n.points,Ya),qi.has(n,\"x\")&&Ya(n)}))}(e),Va(e))}};function Va(e){qi.forEach(e.nodes(),(function(t){Wa(e.node(t))})),qi.forEach(e.edges(),(function(t){Wa(e.edge(t))}))}function Wa(e){var t=e.width;e.width=e.height,e.height=t}function Ha(e){e.y=-e.y}function Ya(e){var t=e.x;e.x=e.y,e.y=t}var Xa=function(e){var t={},n=qi.filter(e.nodes(),(function(t){return!e.children(t).length})),r=qi.max(qi.map(n,(function(t){return e.node(t).rank}))),o=qi.map(qi.range(r+1),(function(){return[]}));function i(n){if(!qi.has(t,n)){t[n]=!0;var r=e.node(n);o[r.rank].push(n),qi.forEach(e.successors(n),i)}}var a=qi.sortBy(n,(function(t){return e.node(t).rank}));return qi.forEach(a,i),o},qa=function(e,t){for(var n=0,r=1;r<t.length;++r)n+=Ka(e,t[r-1],t[r]);return n};function Ka(e,t,n){for(var r=qi.zipObject(n,qi.map(n,(function(e,t){return t}))),o=qi.flatten(qi.map(t,(function(t){return qi.sortBy(qi.map(e.outEdges(t),(function(t){return{pos:r[t.w],weight:e.edge(t).weight}})),\"pos\")})),!0),i=1;i<n.length;)i<<=1;var a=2*i-1;i-=1;var c=qi.map(new Array(a),(function(){return 0})),u=0;return qi.forEach(o.forEach((function(e){var t=e.pos+i;c[t]+=e.weight;for(var n=0;t>0;)t%2&&(n+=c[t+1]),c[t=t-1>>1]+=e.weight;u+=e.weight*n}))),u}var Za=function(e,t){return qi.map(t,(function(t){var n=e.inEdges(t);if(n.length){var r=qi.reduce(n,(function(t,n){var r=e.edge(n),o=e.node(n.v);return{sum:t.sum+r.weight*o.order,weight:t.weight+r.weight}}),{sum:0,weight:0});return{v:t,barycenter:r.sum/r.weight,weight:r.weight}}return{v:t}}))},$a=function(e,t){var n={};return qi.forEach(e,(function(e,t){var r=n[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:t};qi.isUndefined(e.barycenter)||(r.barycenter=e.barycenter,r.weight=e.weight)})),qi.forEach(t.edges(),(function(e){var t=n[e.v],r=n[e.w];qi.isUndefined(t)||qi.isUndefined(r)||(r.indegree++,t.out.push(n[e.w]))})),function(e){var t=[];function n(e){return function(t){t.merged||(qi.isUndefined(t.barycenter)||qi.isUndefined(e.barycenter)||t.barycenter>=e.barycenter)&&function(e,t){var n=0,r=0;e.weight&&(n+=e.barycenter*e.weight,r+=e.weight),t.weight&&(n+=t.barycenter*t.weight,r+=t.weight),e.vs=t.vs.concat(e.vs),e.barycenter=n/r,e.weight=r,e.i=Math.min(t.i,e.i),t.merged=!0}(e,t)}}function r(t){return function(n){n.in.push(t),0==--n.indegree&&e.push(n)}}for(;e.length;){var o=e.pop();t.push(o),qi.forEach(o.in.reverse(),n(o)),qi.forEach(o.out,r(o))}return qi.map(qi.filter(t,(function(e){return!e.merged})),(function(e){return qi.pick(e,[\"vs\",\"i\",\"barycenter\",\"weight\"])}))}(qi.filter(n,(function(e){return!e.indegree})))},Qa=function(e,t){var n,r=aa.partition(e,(function(e){return qi.has(e,\"barycenter\")})),o=r.lhs,i=qi.sortBy(r.rhs,(function(e){return-e.i})),a=[],c=0,u=0,s=0;o.sort((n=!!t,function(e,t){return e.barycenter<t.barycenter?-1:e.barycenter>t.barycenter?1:n?t.i-e.i:e.i-t.i})),s=Ja(a,i,s),qi.forEach(o,(function(e){s+=e.vs.length,a.push(e.vs),c+=e.barycenter*e.weight,u+=e.weight,s=Ja(a,i,s)}));var l={vs:qi.flatten(a,!0)};return u&&(l.barycenter=c/u,l.weight=u),l};function Ja(e,t,n){for(var r;t.length&&(r=qi.last(t)).i<=n;)t.pop(),e.push(r.vs),n++;return n}var ec=function e(t,n,r,o){var i=t.children(n),a=t.node(n),c=a?a.borderLeft:void 0,u=a?a.borderRight:void 0,s={};c&&(i=qi.filter(i,(function(e){return e!==c&&e!==u})));var l=Za(t,i);qi.forEach(l,(function(n){if(t.children(n.v).length){var i=e(t,n.v,r,o);s[n.v]=i,qi.has(i,\"barycenter\")&&(a=n,c=i,qi.isUndefined(a.barycenter)?(a.barycenter=c.barycenter,a.weight=c.weight):(a.barycenter=(a.barycenter*a.weight+c.barycenter*c.weight)/(a.weight+c.weight),a.weight+=c.weight))}var a,c}));var f=$a(l,r);!function(e,t){qi.forEach(e,(function(e){e.vs=qi.flatten(e.vs.map((function(e){return t[e]?t[e].vs:e})),!0)}))}(f,s);var d=Qa(f,o);if(c&&(d.vs=qi.flatten([c,d.vs,u],!0),t.predecessors(c).length)){var h=t.node(t.predecessors(c)[0]),p=t.node(t.predecessors(u)[0]);qi.has(d,\"barycenter\")||(d.barycenter=0,d.weight=0),d.barycenter=(d.barycenter*d.weight+h.order+p.order)/(d.weight+2),d.weight+=2}return d},tc=Ho.Graph,nc=function(e,t,n){var r=function(e){for(var t;e.hasNode(t=qi.uniqueId(\"_root\")););return t}(e),o=new tc({compound:!0}).setGraph({root:r}).setDefaultNodeLabel((function(t){return e.node(t)}));return qi.forEach(e.nodes(),(function(i){var a=e.node(i),c=e.parent(i);(a.rank===t||a.minRank<=t&&t<=a.maxRank)&&(o.setNode(i),o.setParent(i,c||r),qi.forEach(e[n](i),(function(t){var n=t.v===i?t.w:t.v,r=o.edge(n,i),a=qi.isUndefined(r)?0:r.weight;o.setEdge(n,i,{weight:e.edge(t).weight+a})})),qi.has(a,\"minRank\")&&o.setNode(i,{borderLeft:a.borderLeft[t],borderRight:a.borderRight[t]}))})),o},rc=function(e,t,n){var r,o={};qi.forEach(n,(function(n){for(var i,a,c=e.parent(n);c;){if((i=e.parent(c))?(a=o[i],o[i]=c):(a=r,r=c),a&&a!==c)return void t.setEdge(a,c);c=i}}))},oc=Ho.Graph,ic=function(e){var t=aa.maxRank(e),n=ac(e,qi.range(1,t+1),\"inEdges\"),r=ac(e,qi.range(t-1,-1,-1),\"outEdges\"),o=Xa(e);uc(e,o);for(var i,a=Number.POSITIVE_INFINITY,c=0,u=0;u<4;++c,++u){cc(c%2?n:r,c%4>=2),o=aa.buildLayerMatrix(e);var s=qa(e,o);s<a&&(u=0,i=qi.cloneDeep(o),a=s)}uc(e,i)};function ac(e,t,n){return qi.map(t,(function(t){return nc(e,t,n)}))}function cc(e,t){var n=new oc;qi.forEach(e,(function(e){var r=e.graph().root,o=ec(e,r,n,t);qi.forEach(o.vs,(function(t,n){e.node(t).order=n})),rc(e,n,o.vs)}))}function uc(e,t){qi.forEach(t,(function(t){qi.forEach(t,(function(t,n){e.node(t).order=n}))}))}var sc=Ho.Graph,lc=function(e){var t,n=aa.buildLayerMatrix(e),r=qi.merge(fc(e,n),dc(e,n)),o={};qi.forEach([\"u\",\"d\"],(function(i){t=\"u\"===i?n:qi.values(n).reverse(),qi.forEach([\"l\",\"r\"],(function(n){\"r\"===n&&(t=qi.map(t,(function(e){return qi.values(e).reverse()})));var a=(\"u\"===i?e.predecessors:e.successors).bind(e),c=vc(e,t,r,a),u=gc(e,t,c.root,c.align,\"r\"===n);\"r\"===n&&(u=qi.mapValues(u,(function(e){return-e}))),o[i+n]=u}))}));var i=mc(e,o);return yc(o,i),bc(o,e.graph().align)};function fc(e,t){var n={};return qi.reduce(t,(function(t,r){var o=0,i=0,a=t.length,c=qi.last(r);return qi.forEach(r,(function(t,u){var s=function(e,t){if(e.node(t).dummy)return qi.find(e.predecessors(t),(function(t){return e.node(t).dummy}))}(e,t),l=s?e.node(s).order:a;(s||t===c)&&(qi.forEach(r.slice(i,u+1),(function(t){qi.forEach(e.predecessors(t),(function(r){var i=e.node(r),a=i.order;!(a<o||l<a)||i.dummy&&e.node(t).dummy||hc(n,r,t)}))})),i=u+1,o=l)})),r})),n}function dc(e,t){var n={};function r(t,r,o,i,a){var c;qi.forEach(qi.range(r,o),(function(r){c=t[r],e.node(c).dummy&&qi.forEach(e.predecessors(c),(function(t){var r=e.node(t);r.dummy&&(r.order<i||r.order>a)&&hc(n,t,c)}))}))}return qi.reduce(t,(function(t,n){var o,i=-1,a=0;return qi.forEach(n,(function(c,u){if(\"border\"===e.node(c).dummy){var s=e.predecessors(c);s.length&&(o=e.node(s[0]).order,r(n,a,u,i,o),a=u,i=o)}r(n,a,n.length,o,t.length)})),n})),n}function hc(e,t,n){if(t>n){var r=t;t=n,n=r}var o=e[t];o||(e[t]=o={}),o[n]=!0}function pc(e,t,n){if(t>n){var r=t;t=n,n=r}return qi.has(e[t],n)}function vc(e,t,n,r){var o={},i={},a={};return qi.forEach(t,(function(e){qi.forEach(e,(function(e,t){o[e]=e,i[e]=e,a[e]=t}))})),qi.forEach(t,(function(e){var t=-1;qi.forEach(e,(function(e){var c=r(e);if(c.length)for(var u=((c=qi.sortBy(c,(function(e){return a[e]}))).length-1)/2,s=Math.floor(u),l=Math.ceil(u);s<=l;++s){var f=c[s];i[e]===e&&t<a[f]&&!pc(n,e,f)&&(i[f]=e,i[e]=o[e]=o[f],t=a[f])}}))})),{root:o,align:i}}function gc(e,t,n,r,o){var i={},a=function(e,t,n,r){var o=new sc,i=e.graph(),a=function(e,t,n){return function(r,o,i){var a,c=r.node(o),u=r.node(i),s=0;if(s+=c.width/2,qi.has(c,\"labelpos\"))switch(c.labelpos.toLowerCase()){case\"l\":a=-c.width/2;break;case\"r\":a=c.width/2}if(a&&(s+=n?a:-a),a=0,s+=(c.dummy?t:e)/2,s+=(u.dummy?t:e)/2,s+=u.width/2,qi.has(u,\"labelpos\"))switch(u.labelpos.toLowerCase()){case\"l\":a=u.width/2;break;case\"r\":a=-u.width/2}return a&&(s+=n?a:-a),a=0,s}}(i.nodesep,i.edgesep,r);return qi.forEach(t,(function(t){var r;qi.forEach(t,(function(t){var i=n[t];if(o.setNode(i),r){var c=n[r],u=o.edge(c,i);o.setEdge(c,i,Math.max(a(e,t,r),u||0))}r=t}))})),o}(e,t,n,o),c=o?\"borderLeft\":\"borderRight\";function u(e,t){for(var n=a.nodes(),r=n.pop(),o={};r;)o[r]?e(r):(o[r]=!0,n.push(r),n=n.concat(t(r))),r=n.pop()}return u((function(e){i[e]=a.inEdges(e).reduce((function(e,t){return Math.max(e,i[t.v]+a.edge(t))}),0)}),a.predecessors.bind(a)),u((function(t){var n=a.outEdges(t).reduce((function(e,t){return Math.min(e,i[t.w]-a.edge(t))}),Number.POSITIVE_INFINITY),r=e.node(t);n!==Number.POSITIVE_INFINITY&&r.borderType!==c&&(i[t]=Math.max(i[t],n))}),a.successors.bind(a)),qi.forEach(r,(function(e){i[e]=i[n[e]]})),i}function mc(e,t){return qi.minBy(qi.values(t),(function(t){var n=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY;return qi.forIn(t,(function(t,o){var i=function(e,t){return e.node(t).width}(e,o)/2;n=Math.max(t+i,n),r=Math.min(t-i,r)})),n-r}))}function yc(e,t){var n=qi.values(t),r=qi.min(n),o=qi.max(n);qi.forEach([\"u\",\"d\"],(function(n){qi.forEach([\"l\",\"r\"],(function(i){var a,c=n+i,u=e[c];if(u!==t){var s=qi.values(u);(a=\"l\"===i?r-qi.min(s):o-qi.max(s))&&(e[c]=qi.mapValues(u,(function(e){return e+a})))}}))}))}function bc(e,t){return qi.mapValues(e.ul,(function(n,r){if(t)return e[t.toLowerCase()][r];var o=qi.sortBy(qi.map(e,r));return(o[1]+o[2])/2}))}var xc=lc,wc=function(e){(function(e){var t=aa.buildLayerMatrix(e),n=e.graph().ranksep,r=0;qi.forEach(t,(function(t){var o=qi.max(qi.map(t,(function(t){return e.node(t).height})));qi.forEach(t,(function(t){e.node(t).y=r+o/2})),r+=o+n}))})(e=aa.asNonCompoundGraph(e)),qi.forEach(xc(e),(function(t,n){e.node(n).x=t}))},Oc=aa.normalizeRanks,Ec=aa.removeEmptyRanks,Sc=aa,jc=Ho.Graph,kc=function(e,t){var n=t&&t.debugTiming?Sc.time:Sc.notime;n(\"layout\",(function(){var t=n(\"  buildLayoutGraph\",(function(){return function(e){var t=new jc({multigraph:!0,compound:!0}),n=Dc(e.graph());return t.setGraph(qi.merge({},Cc,Lc(n,_c),qi.pick(n,Mc))),qi.forEach(e.nodes(),(function(n){var r=Dc(e.node(n));t.setNode(n,qi.defaults(Lc(r,Ac),Nc)),t.setParent(n,e.parent(n))})),qi.forEach(e.edges(),(function(n){var r=Dc(e.edge(n));t.setEdge(n,qi.merge({},Ic,Lc(r,Tc),qi.pick(r,Pc)))})),t}(e)}));n(\"  runLayout\",(function(){!function(e,t){t(\"    makeSpaceForEdgeLabels\",(function(){!function(e){var t=e.graph();t.ranksep/=2,qi.forEach(e.edges(),(function(n){var r=e.edge(n);r.minlen*=2,\"c\"!==r.labelpos.toLowerCase()&&(\"TB\"===t.rankdir||\"BT\"===t.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}(e)})),t(\"    removeSelfEdges\",(function(){!function(e){qi.forEach(e.edges(),(function(t){if(t.v===t.w){var n=e.node(t.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:t,label:e.edge(t)}),e.removeEdge(t)}}))}(e)})),t(\"    acyclic\",(function(){oa.run(e)})),t(\"    nestingGraph.run\",(function(){Fa.run(e)})),t(\"    rank\",(function(){Pa(Sc.asNonCompoundGraph(e))})),t(\"    injectEdgeLabelProxies\",(function(){!function(e){qi.forEach(e.edges(),(function(t){var n=e.edge(t);if(n.width&&n.height){var r=e.node(t.v),o={rank:(e.node(t.w).rank-r.rank)/2+r.rank,e:t};Sc.addDummyNode(e,\"edge-proxy\",o,\"_ep\")}}))}(e)})),t(\"    removeEmptyRanks\",(function(){Ec(e)})),t(\"    nestingGraph.cleanup\",(function(){Fa.cleanup(e)})),t(\"    normalizeRanks\",(function(){Oc(e)})),t(\"    assignRankMinMax\",(function(){!function(e){var t=0;qi.forEach(e.nodes(),(function(n){var r=e.node(n);r.borderTop&&(r.minRank=e.node(r.borderTop).rank,r.maxRank=e.node(r.borderBottom).rank,t=qi.max(t,r.maxRank))})),e.graph().maxRank=t}(e)})),t(\"    removeEdgeLabelProxies\",(function(){!function(e){qi.forEach(e.nodes(),(function(t){var n=e.node(t);\"edge-proxy\"===n.dummy&&(e.edge(n.e).labelRank=n.rank,e.removeNode(t))}))}(e)})),t(\"    normalize.run\",(function(){sa.run(e)})),t(\"    parentDummyChains\",(function(){Ra(e)})),t(\"    addBorderSegments\",(function(){za(e)})),t(\"    order\",(function(){ic(e)})),t(\"    insertSelfEdges\",(function(){!function(e){var t=Sc.buildLayerMatrix(e);qi.forEach(t,(function(t){var n=0;qi.forEach(t,(function(t,r){var o=e.node(t);o.order=r+n,qi.forEach(o.selfEdges,(function(t){Sc.addDummyNode(e,\"selfedge\",{width:t.label.width,height:t.label.height,rank:o.rank,order:r+ ++n,e:t.e,label:t.label},\"_se\")})),delete o.selfEdges}))}))}(e)})),t(\"    adjustCoordinateSystem\",(function(){Ga.adjust(e)})),t(\"    position\",(function(){wc(e)})),t(\"    positionSelfEdges\",(function(){!function(e){qi.forEach(e.nodes(),(function(t){var n=e.node(t);if(\"selfedge\"===n.dummy){var r=e.node(n.e.v),o=r.x+r.width/2,i=r.y,a=n.x-o,c=r.height/2;e.setEdge(n.e,n.label),e.removeNode(t),n.label.points=[{x:o+2*a/3,y:i-c},{x:o+5*a/6,y:i-c},{x:o+a,y:i},{x:o+5*a/6,y:i+c},{x:o+2*a/3,y:i+c}],n.label.x=n.x,n.label.y=n.y}}))}(e)})),t(\"    removeBorderNodes\",(function(){!function(e){qi.forEach(e.nodes(),(function(t){if(e.children(t).length){var n=e.node(t),r=e.node(n.borderTop),o=e.node(n.borderBottom),i=e.node(qi.last(n.borderLeft)),a=e.node(qi.last(n.borderRight));n.width=Math.abs(a.x-i.x),n.height=Math.abs(o.y-r.y),n.x=i.x+n.width/2,n.y=r.y+n.height/2}})),qi.forEach(e.nodes(),(function(t){\"border\"===e.node(t).dummy&&e.removeNode(t)}))}(e)})),t(\"    normalize.undo\",(function(){sa.undo(e)})),t(\"    fixupEdgeLabelCoords\",(function(){!function(e){qi.forEach(e.edges(),(function(t){var n=e.edge(t);if(qi.has(n,\"x\"))switch(\"l\"!==n.labelpos&&\"r\"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case\"l\":n.x-=n.width/2+n.labeloffset;break;case\"r\":n.x+=n.width/2+n.labeloffset}}))}(e)})),t(\"    undoCoordinateSystem\",(function(){Ga.undo(e)})),t(\"    translateGraph\",(function(){!function(e){var t=Number.POSITIVE_INFINITY,n=0,r=Number.POSITIVE_INFINITY,o=0,i=e.graph(),a=i.marginx||0,c=i.marginy||0;function u(e){var i=e.x,a=e.y,c=e.width,u=e.height;t=Math.min(t,i-c/2),n=Math.max(n,i+c/2),r=Math.min(r,a-u/2),o=Math.max(o,a+u/2)}qi.forEach(e.nodes(),(function(t){u(e.node(t))})),qi.forEach(e.edges(),(function(t){var n=e.edge(t);qi.has(n,\"x\")&&u(n)})),t-=a,r-=c,qi.forEach(e.nodes(),(function(n){var o=e.node(n);o.x-=t,o.y-=r})),qi.forEach(e.edges(),(function(n){var o=e.edge(n);qi.forEach(o.points,(function(e){e.x-=t,e.y-=r})),qi.has(o,\"x\")&&(o.x-=t),qi.has(o,\"y\")&&(o.y-=r)})),i.width=n-t+a,i.height=o-r+c}(e)})),t(\"    assignNodeIntersects\",(function(){!function(e){qi.forEach(e.edges(),(function(t){var n,r,o=e.edge(t),i=e.node(t.v),a=e.node(t.w);o.points?(n=o.points[0],r=o.points[o.points.length-1]):(o.points=[],n=a,r=i),o.points.unshift(Sc.intersectRect(i,n)),o.points.push(Sc.intersectRect(a,r))}))}(e)})),t(\"    reversePoints\",(function(){!function(e){qi.forEach(e.edges(),(function(t){var n=e.edge(t);n.reversed&&n.points.reverse()}))}(e)})),t(\"    acyclic.undo\",(function(){oa.undo(e)}))}(t,n)})),n(\"  updateInputGraph\",(function(){!function(e,t){qi.forEach(e.nodes(),(function(n){var r=e.node(n),o=t.node(n);r&&(r.x=o.x,r.y=o.y,t.children(n).length&&(r.width=o.width,r.height=o.height))})),qi.forEach(e.edges(),(function(n){var r=e.edge(n),o=t.edge(n);r.points=o.points,qi.has(o,\"x\")&&(r.x=o.x,r.y=o.y)})),e.graph().width=t.graph().width,e.graph().height=t.graph().height}(e,t)}))}))},_c=[\"nodesep\",\"edgesep\",\"ranksep\",\"marginx\",\"marginy\"],Cc={ranksep:50,edgesep:20,nodesep:50,rankdir:\"tb\"},Mc=[\"acyclicer\",\"ranker\",\"rankdir\",\"align\"],Ac=[\"width\",\"height\"],Nc={width:0,height:0},Tc=[\"minlen\",\"weight\",\"width\",\"height\",\"labeloffset\"],Ic={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:\"r\"},Pc=[\"labelpos\"];function Lc(e,t){return qi.mapValues(qi.pick(e,t),Number)}function Dc(e){var t={};return qi.forEach(e,(function(e,n){t[n.toLowerCase()]=e})),t}var Rc=Ho.Graph,Fc={graphlib:Ho,layout:kc,debug:{debugOrdering:function(e){var t=aa.buildLayerMatrix(e),n=new Rc({compound:!0,multigraph:!0}).setGraph({});return qi.forEach(e.nodes(),(function(t){n.setNode(t,{label:t}),n.setParent(t,\"layer\"+e.node(t).rank)})),qi.forEach(e.edges(),(function(e){n.setEdge(e.v,e.w,{},e.name)})),qi.forEach(t,(function(e,t){var r=\"layer\"+t;n.setNode(r,{rank:\"same\"}),qi.reduce(e,(function(e,t){return n.setEdge(e,t,{style:\"invis\"}),t}))})),n}},util:{time:aa.time,notime:aa.notime},version:\"0.8.5\"},Bc=Fc.graphlib,zc=Fc.layout;class Uc{constructor(e){this.cardinality=1,this.include=s.UNSPECIFIED,this.isGroupNode=!1,this.parentNode=null,this.type=u.NODE,this.name=e.name,this.attr=e.attr||{},this.inputs=e.inputs,this.path=e.path||[],this.width=e.width,this.height=e.height}}class Gc{constructor(){this.nodes={},this.edges=[],this.nodes={},this.edges=[]}}function Vc(e){const t=new Gc;return e.nodes.map((e=>new Uc(e))).forEach((e=>{t.nodes[e.name]=e,e.inputs.forEach((n=>{!function(e,t,n){n.name!==t.name&&e.edges.push(Object.assign(Object.assign({},n.attr),{v:n.name,w:t.name}))}(t,e,n)}))})),t}class Wc{constructor(e,t={}){this.attr=null,this.bridgeGraph=null,this.cardinality=0,this.depth=1,this.include=s.UNSPECIFIED,this.isGroupNode=!0,this.parentNode=null,this.type=u.META,this.path=[],this.name=e,this.metaGraph=qc(e,l.META,t)}getFirstChild(){return this.metaGraph.node(this.metaGraph.nodes()[0])}getChildren(){return this.metaGraph.nodes().map((e=>this.metaGraph.node(e)))}leaves(){let e,t=[],n=[this];for(;n.length;){let r=n.shift();r.isGroupNode?(e=r.metaGraph,e.nodes().forEach((t=>n.push(e.node(t))))):t.push(r.name)}return t}}class Hc{constructor(e,t){this.v=e,this.w=t,this.baseEdgeList=[],this.inbound=null,this.name=null}addBaseEdge(e,t){this.baseEdgeList.push(e)}}function Yc(e,t={}){return new Wc(e,t)}function Xc(e,t){return new Hc(e,t)}function qc(e,t,n){const r=n||{},o=new Bc.Graph(r);return o.setGraph({name:e,rankdir:r.rankdir,type:t,align:r.align}),o}class Kc{constructor(e={}){this.graphOptions=e,this.index={},this.graphOptions.compound=!0,this.root=Yc(a,this.graphOptions),this.index[a]=this.root}getNodeMap(){return this.index}node(e){return this.index[e]}setNode(e,t){this.index[e]=t}getBridgeGraph(e){const t=this.index[e];if(!t)throw Error(\"Could not find node in hierarchy: \"+e);if(!(\"metaGraph\"in t))return null;const n=t;if(n.bridgeGraph)return n.bridgeGraph;const r=qc(c,l.BRIDGE,this.graphOptions);if(n.bridgeGraph=r,!t.parentNode||!(\"metaGraph\"in t.parentNode))return r;const o=t.parentNode;return[o.metaGraph,this.getBridgeGraph(o.name)].forEach((t=>{t.edges().filter((t=>t.v===e||t.w===e)).forEach((n=>{const o=n.w===e;t.edge(n).baseEdgeList.forEach((t=>{const[i,a]=o?[t.w,n.v]:[t.v,n.w],c=this.getChildName(e,i),u={v:o?a:c,w:o?c:a};let s=r.edge(u);s||(s=Xc(u.v,u.w),s.inbound=o,r.setEdge(u.v,u.w,s)),s.addBaseEdge(t,this)}))}))})),r}getChildName(e,t){let n=this.index[t];for(;n;){if(n.parentNode&&n.parentNode.name===e)return n.name;n=n.parentNode}throw Error(\"Could not find immediate child for descendant: \"+t)}getPredecessors(e){const t=this.index[e];if(!t)throw Error(\"Could not find node with name: \"+e);return this.getOneWayEdges(t,!0)}getSuccessors(e){const t=this.index[e];if(!t)throw Error(\"Could not find node with name: \"+e);return this.getOneWayEdges(t,!1)}getOneWayEdges(e,t){const n=[];if(!e.parentNode||!e.parentNode.isGroupNode)return n;const r=e.parentNode,o=r.metaGraph,i=this.getBridgeGraph(r.name);return $c(o,e,t,n),$c(i,e,t,n),n}}function Zc(e,t){const{rankDirection:n,align:r}=t,o=new Kc({rankdir:n,align:r});return function(e,t){Object.keys(t.nodes).forEach((n=>{const r=t.nodes[n],o=r.path;let i=e.root;i.depth=Math.max(o.length,i.depth);for(let t=0;t<o.length&&(i.depth=Math.max(i.depth,o.length-t),i.cardinality+=r.cardinality,t!==o.length-1);t++){const n=o[t];let a=e.node(n);a||(a=Yc(n,e.graphOptions),a.path=r.path.slice(0,t+1),a.parentNode=i,e.setNode(n,a),i.metaGraph.setNode(n,a)),i=a}e.setNode(r.name,r),r.parentNode=i,i.metaGraph.setNode(r.name,r)}))}(o,e),function(e,t){const n=e.getNodeMap();let r=[],o=[];const i=(e,t)=>{let n=0;for(;e;)t[n++]=e.name,e=e.parentNode;return n-1};t.edges.forEach((a=>{r=[],o=[];let c=i(t.nodes[a.v],r),u=i(t.nodes[a.w],o);for(;r[c]===o[u];)if(c--,u--,c<0||u<0)throw Error(\"No difference found between ancestor paths.\");const s=n[r[c+1]],l=r[c],f=o[u];let d=s.metaGraph.edge(l,f);d||(d=Xc(l,f),s.metaGraph.setEdge(l,f,d)),d.addBaseEdge(a,e)}))}(o,e),o}function $c(e,t,n,r){(n?e.inEdges(t.name):e.outEdges(t.name)).forEach((t=>{const n=e.edge(t);r.push(n)}))}class Qc{constructor(e){this.hierarchy=e,this.index={},this.hasSubHierarchy={},this.root=new tu(this.hierarchy.root,this.hierarchy.graphOptions),this.index[e.root.name]=this.root,this.buildSubHierarchy(e.root.name),this.root.expanded=!0}getRenderInfoNodes(){return Object.values(this.index)}getSubHierarchy(){return this.hasSubHierarchy}buildSubHierarchy(e){if(e in this.hasSubHierarchy)return;this.hasSubHierarchy[e]=!0;const t=this.index[e];if(t.node.type!==u.META)return;const n=t,r=n.node.metaGraph,o=n.coreGraph;r.nodes().forEach((e=>{const t=this.getOrCreateRenderNodeByName(e);o.setNode(e,t)})),r.edges().forEach((e=>{const t=r.edge(e),n=new eu(t);o.setEdge(e.v,e.w,n)}));const i=n.node.parentNode;if(!i)return;const a=this.getRenderNodeByName(i.name),c=(e,...t)=>t.concat([e?\"IN\":\"OUT\"]).join(\"~~\"),l=this.hierarchy.getBridgeGraph(e);l.edges().forEach((t=>{const n=l.edge(t),f=!!r.node(t.w),[d,h]=f?[t.w,t.v]:[t.v,t.w],p=t=>{const n=f?{v:t,w:e}:{v:e,w:t};return a.coreGraph.edge(n)};let v=p(h);v||(v=p(c(f,h,i.name)));const g=c(f,e),m=c(f,h,e);let y=o.node(m);if(!y){let e=o.node(g);if(!e){const t={name:g,type:u.BRIDGE,isGroupNode:!1,cardinality:0,parentNode:null,include:s.UNSPECIFIED,inbound:f,attr:{}};e=new Jc(t),this.index[g]=e,o.setNode(g,e)}const t={name:m,type:u.BRIDGE,isGroupNode:!1,cardinality:1,parentNode:null,include:s.UNSPECIFIED,inbound:f,attr:{}};y=new Jc(t),this.index[m]=y,o.setNode(m,y),o.setParent(m,g),e.node.cardinality++}const b=new eu(n);b.adjoiningMetaEdge=v,f?o.setEdge(m,d,b):o.setEdge(d,m,b)}))}getOrCreateRenderNodeByName(e){if(!e)return null;if(e in this.index)return this.index[e];const t=this.getNodeByName(e);return t?(this.index[e]=t.isGroupNode?new tu(t,this.hierarchy.graphOptions):new Jc(t),this.index[e]):null}getRenderNodeByName(e){return this.index[e]}getNodeByName(e){return this.hierarchy.node(e)}}class Jc{constructor(e){this.node=e,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=e.width||0,this.height=e.height||0,this.displayName=e.name,this.attr=e.attr}}class eu{constructor(e){this.metaEdge=e,this.adjoiningMetaEdge=null,this.weight=1,this.points=[]}}class tu extends Jc{constructor(e,t){super(e);const n=e.metaGraph.graph();t.compound=!0,this.coreGraph=qc(n.name,l.CORE,t)}}function nu(e,t){e.node.isGroupNode&&function(e,t){const n=o(t);e.coreGraph.nodes().map((t=>e.coreGraph.node(t))).forEach((e=>{var r,o,i,a,c,s;const{height:l,width:f}=e;switch(e.node.type){case u.NODE:Object.assign(e,n.nodeSize.node),e.height=l||n.nodeSize.node.height,e.width=f||n.nodeSize.node.width;break;case u.BRIDGE:Object.assign(e,n.nodeSize.bridge);break;case u.META:e.expanded?nu(e,t):(Object.assign(e,n.nodeSize.meta),e.height=n.nodeSize.meta.height,e.width=n.nodeSize.meta.width);break;default:throw Error(\"Unrecognized node type: \"+e.node.type)}if(!e.expanded){const n=e.attr;!function(e,t=!1){if(e.coreBox.width=e.width,e.coreBox.height=e.height,!t){const t=`${e.displayName}`.length,n=3;e.width=Math.max(e.coreBox.width,t*n)}}(e,t&&(0===e.node.type&&!!(null===(o=null===(r=null==t?void 0:t.nodeSize)||void 0===r?void 0:r.meta)||void 0===o?void 0:o.width)||1===e.node.type&&(!!(null===(a=null===(i=null==t?void 0:t.nodeSize)||void 0===i?void 0:i.node)||void 0===a?void 0:a.width)||!!n.width)||2===e.node.type&&!!(null===(s=null===(c=null==t?void 0:t.nodeSize)||void 0===c?void 0:c.bridge)||void 0===s?void 0:s.width)))}}))}(e,t),e.node.type===u.META&&function(e,t){const n=o(t),r=n.subScene.meta;Object.assign(e,r);const{nodeSep:i,rankSep:a,edgeSep:c,align:s}=n.graph.meta,l={nodesep:i,ranksep:a,edgesep:c,align:s};Object.assign(e.coreBox,function(e,t){const{ranksep:n,nodesep:r,edgesep:o,align:i}=t;Object.assign(e.graph(),{ranksep:n,nodesep:r,edgesep:o,align:i});const a=[];if(e.nodes().forEach((t=>{e.node(t).node.type!==u.BRIDGE&&a.push(t)})),!a.length)return{width:0,height:0};zc(e);let c=1/0,s=1/0,l=-1/0,f=-1/0;return a.forEach((t=>{const n=e.node(t),r=.5*n.width,o=n.x-r,i=n.x+r;c=o<c?o:c,l=i>l?i:l;const a=.5*n.height,u=n.y-a,d=n.y+a;s=u<s?u:s,f=d>f?d:f})),e.edges().forEach((t=>{const n=e.edge(t),r=e.node(n.metaEdge.v),o=e.node(n.metaEdge.w);if(3===n.points.length&&function(e){let t=ru(e[0],e[1]);for(let n=1;n<e.length-1;n++){const r=ru(e[n],e[n+1]);if(Math.abs(r-t)>1)return!1;t=r}return!0}(n.points)){if(null!=r){const e=r.expanded?r.x:ou(r);n.points[0].x=e}if(null!=o){const e=o.expanded?o.x:ou(o);n.points[2].x=e}n.points=[n.points[0],n.points[1]]}const i=n.points[n.points.length-2];null!=o&&(n.points[n.points.length-1]=iu(i,o));const a=n.points[1];null!=r&&(n.points[0]=iu(a,r)),n.points.forEach((e=>{c=e.x<c?e.x:c,l=e.x>l?e.x:l,s=e.y<s?e.y:s,f=e.y>f?e.y:f}))})),e.nodes().forEach((t=>{const n=e.node(t);n.x-=c,n.y-=s})),e.edges().forEach((t=>{e.edge(t).points.forEach((e=>{e.x-=c,e.y-=s}))})),{width:l-c,height:f-s}}(e.coreGraph,l));let f=0;e.coreGraph.nodeCount()>0&&f++;const d=f<=1?0:f;e.coreBox.width+=d+d,e.coreBox.height=r.labelHeight+e.coreBox.height,e.width=e.coreBox.width+r.paddingLeft+r.paddingRight,e.height=e.paddingTop+e.coreBox.height+e.paddingBottom}(e,t)}function ru(e,t){const n=t.x-e.x,r=t.y-e.y;return 180*Math.atan(r/n)/Math.PI}function ou(e){return e.expanded?e.x:e.x-e.width/2+0+e.coreBox.width/2}function iu(e,t){const n=t.expanded?t.x:ou(t),r=t.y,o=e.x-n,i=e.y-r;let a,c,u=t.expanded?t.width:t.coreBox.width,s=t.expanded?t.height:t.coreBox.height;return Math.abs(i)*u/2>Math.abs(o)*s/2?(i<0&&(s=-s),a=0===i?0:s/2*o/i,c=s/2):(o<0&&(u=-u),a=u/2,c=0===o?0:u/2*i/o),{x:n+a,y:r+c}}function au(e,t,n){var o,i,a,c;const u=e.nodes.filter(((e,t,n)=>n.findIndex((t=>t.id===e.id))!==t)).map((e=>e.id));if(u.length)throw new Error(`Duplicated ids found: ${u.join(\", \")}`);const s=function(e){const t={nodes:[]},n=e.compound,r=Object.keys(n||{}),o=new Map,i=(e,t=[])=>{if(o.has(e))return o.get(e);for(let o=0;o<r.length;o++){let a=r[o];if(n&&-1!==n[a].indexOf(e))return t.unshift(a),i(a,t)}return 0===t.length&&o.set(e,t),t},a=t=>e.edges.filter((e=>e.w===t)).map((e=>({name:e.v})));return e.nodes.forEach((e=>{const n=e.id,r=[...i(n),n];let o=a(n);t.nodes.push({name:n,path:r,inputs:o,width:e.width,height:e.height,attr:Object.assign({},e)})})),t}(e),l=function(e,t){const n=(e,t)=>{for(let n of t.values())if(n.includes(e))return!0;return!1},r=(e,t=[])=>{if(0===Object.keys(e).length)return[...new Set(t)];const o=new Map(Object.keys(e).map((t=>[t,e[t]]))),i={};for(let[r,a]of o)n(r,o)?i[r]=a:t=t.concat(r,a);return r(i,t)};return r(e).filter((e=>t.includes(e)))}(e.compound||{},(null==t?void 0:t.expanded)||[]),f=function(e,t){return function(e){return new Qc(e)}(Zc(Vc(e),t))}(s,{rankDirection:(null===(i=null===(o=null==n?void 0:n.graph)||void 0===o?void 0:o.meta)||void 0===i?void 0:i.rankDir)||(null==t?void 0:t.rankDirection)||r.graph.meta.rankDir,align:(null===(c=null===(a=null==n?void 0:n.graph)||void 0===a?void 0:a.meta)||void 0===c?void 0:c.align)||r.graph.meta.align});return function(e,t){t.forEach((t=>{const n=e.getRenderInfoNodes().find((e=>e.displayName===t));let r=n&&n.node&&n.node.name||\"\";const o=e.getRenderNodeByName(r);if(!o)throw new Error(`No nodes found: ${r}`);o.expanded=!0,e.buildSubHierarchy(r)}))}(f,l),nu(f.root,n),su(f.root)}function cu(e,t=!1){const n=JSON.parse(JSON.stringify(e)),r={nodes:[n],edges:[...n.edges]};return n.nodes.forEach((function e(t){(0===t.type||1===t.type)&&r.nodes.push(t),0===t.type&&(r.edges=r.edges.concat(t.edges)),Array.isArray(t.nodes)&&t.nodes.forEach(e)})),t&&r.nodes.forEach((e=>{const t=r.nodes.find((t=>t.id===e.parentNodeName));if(t){const n=t.x-t.width/2+t.paddingLeft,r=t.y-t.height/2+t.labelHeight+t.paddingTop;t.id!==a&&(e.x+=n,e.y+=r),0===e.type&&e.edges.forEach((t=>{t.points.forEach((t=>{t.x+=e.x-e.width/2+e.paddingLeft,t.y+=e.y-e.height/2+e.labelHeight+e.paddingTop}))}))}})),r}function uu(e,t,n,r){var o,i;let c=[];const u=(null===(o=n.find((t=>t.id===e)))||void 0===o?void 0:o.path)||[],s=(null===(i=n.find((e=>e.id===t)))||void 0===i?void 0:i.path)||[],l=[a,...u].slice(0,u.length).reverse(),f=[a,...s].slice(0,s.length);return l.forEach((o=>{const i=n.find((e=>e.id===o));c=c.concat(i.edges.filter((n=>n.baseEdgeList.some((n=>n.v===((null==r?void 0:r.v)||e)&&n.w===((null==r?void 0:r.w)||t))))))})),f.filter((e=>!l.includes(e))).forEach((o=>{const i=n.find((e=>e.id===o));c=c.concat(i.edges.filter((n=>n.baseEdgeList.some((n=>n.v===((null==r?void 0:r.v)||e)&&n.w===((null==r?void 0:r.w)||t))))))})),c}function su(e){const t=e.coreGraph.nodes().map((t=>e.coreGraph.node(t)));return Object.assign(Object.assign({},lu(e)),{expanded:e.expanded,nodes:e.expanded?(n=t,n.map((e=>e.node.type===u.META?su(e):lu(e)))):[],edges:e.expanded?fu(e):[]});var n}function lu(e){return{id:e.node.name,name:e.node.name,type:e.node.type,cardinality:e.node.cardinality,attr:e.attr,parentNodeName:e.node.parentNode?e.node.parentNode.name:null,coreBox:Object.assign({},e.coreBox),x:e.x,y:e.y,width:e.width,height:e.height,radius:e.radius,labelHeight:e.labelHeight,labelOffset:e.labelOffset,outboxWidth:e.outboxWidth,paddingLeft:e.paddingLeft,paddingTop:e.paddingTop,paddingRight:e.paddingRight,paddingBottom:e.paddingBottom,path:e.node.path}}function fu(e){return e.coreGraph.edges().map((t=>({renderInfoEdge:e.coreGraph.edge(t),edge:t}))).filter((({renderInfoEdge:e})=>e.metaEdge)).map((({edge:t,renderInfoEdge:n})=>{const r=function(e,t){const n=t.points.map((e=>Object.assign({},e)));if(t.adjoiningMetaEdge){const r=t.adjoiningMetaEdge.points,o=t.metaEdge.inbound,i=o?r[r.length-1]:r[0],a=n[o?0:n.length-1],c=e.x-e.width/2,u=e.y-e.height/2,s=i.x-c,l=i.y-u,f=-e.paddingLeft,d=-(e.paddingTop+e.labelHeight);a.x=s+f,a.y=l+d}return n}(e,n);return{adjoiningEdge:n.adjoiningMetaEdge?{w:n.adjoiningMetaEdge.metaEdge.w,v:n.adjoiningMetaEdge.metaEdge.v}:null,inbound:n.metaEdge.inbound,w:t.w,v:t.v,points:r,weight:n.weight,baseEdgeList:n.metaEdge.baseEdgeList,parentNodeName:e.node.name}}))}}.call(this,n(\"IyRk\"))},\"HaE+\":function(e,t,n){\"use strict\";function r(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(s){return void n(s)}c.done?t(u):Promise.resolve(u).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,u,\"next\",e)}function u(e){r(a,o,i,c,u,\"throw\",e)}c(void 0)}))}}n.d(t,\"a\",(function(){return o}))},Hd5f:function(e,t,n){var r=n(\"0Dky\"),o=n(\"tiKp\"),i=n(\"LQDL\"),a=o(\"species\");e.exports=function(e){return i>=51||!r((function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},HeBM:function(e,t,n){\"use strict\";n.r(t),n.d(t,\"Graph\",(function(){return j})),n.d(t,\"GraphWithEvent\",(function(){return B})),n.d(t,\"algorithm\",(function(){return r})),n.d(t,\"comparision\",(function(){return i})),n.d(t,\"essence\",(function(){return o})),n.d(t,\"generate\",(function(){return c}));var r={};n.r(r),n.d(r,\"components\",(function(){return X})),n.d(r,\"dfs\",(function(){return Z})),n.d(r,\"dijkstra\",(function(){return ae})),n.d(r,\"dijkstraAll\",(function(){return ue})),n.d(r,\"findCycles\",(function(){return de})),n.d(r,\"tarjan\",(function(){return le})),n.d(r,\"isAcyclic\",(function(){return Ne})),n.d(r,\"postorder\",(function(){return Ie})),n.d(r,\"preorder\",(function(){return Le})),n.d(r,\"prim\",(function(){return H})),n.d(r,\"topsort\",(function(){return Me})),n.d(r,\"floydWarshall\",(function(){return Be}));var o={};n.r(o),n.d(o,\"isGraph\",(function(){return tt})),n.d(o,\"isSimpleGraph\",(function(){return nt})),n.d(o,\"isNullGraph\",(function(){return rt})),n.d(o,\"hasSelfLoop\",(function(){return ot}));var i={};n.r(i),n.d(i,\"containAllSameEdges\",(function(){return Ye})),n.d(i,\"containAllSameNodes\",(function(){return He})),n.d(i,\"containSameEdges\",(function(){return Ue})),n.d(i,\"containSameNodes\",(function(){return ze})),n.d(i,\"isGraphComplement\",(function(){return it})),n.d(i,\"isGraphOptionSame\",(function(){return We})),n.d(i,\"getSameEdges\",(function(){return Ve})),n.d(i,\"getSameNodes\",(function(){return Ge})),n.d(i,\"isGraphSame\",(function(){return Xe})),n.d(i,\"isGraphContainsAnother\",(function(){return qe}));var a,c={};function u(e,t){var n=e.get(t)||0;e.set(t,n+1)}function s(e,t){var n=e.get(t);void 0!==n&&(n-=1,n>0?e.set(t,n):e.delete(t))}function l(e,t,n,r){var o=String(t),i=String(n);if(!e&&o>i){var c=o;o=i,i=c}return o+a.EDGE_KEY_DELIM+i+a.EDGE_KEY_DELIM+(void 0===r?a.DEFAULT_EDGE_NAME:r)}function f(e,t,n,r){var o=String(t),i=String(n),a={v:t,w:n};if(!e&&o>i){var c=a.v;a.v=a.w,a.w=c}return void 0!==r&&(a.name=r),a}function d(e,t){return l(e,t.v,t.w,t.name)}function h(e){return\"function\"===typeof e}n.r(c),n.d(c,\"getGraphComplement\",(function(){return at})),function(e){e[\"DEFAULT_EDGE_NAME\"]=\"\\0\",e[\"GRAPH_NODE\"]=\"\\0\",e[\"EDGE_KEY_DELIM\"]=\"\\x01\"}(a||(a={}));var p=function(e){return e.nodes().map((function(t){var n=e.node(t),r=e.parent(t),o={id:t,value:n,parent:r};return void 0===o.value&&delete o.value,void 0===o.parent&&delete o.parent,o}))},v=function(e){return e.edges().map((function(t){var n=e.edge(t),r={v:t.v,w:t.w,value:n,name:t.name};return void 0===r.name&&delete r.name,void 0===r.value&&delete r.value,r}))},g=function(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:p(e),edges:v(e),value:e.graph()};return void 0===t.value&&delete t.value,t},m=function(e){var t=new j(e.options);return void 0!==e.value&&t.setGraph(e.value),e.nodes.forEach((function(e){t.setNode(e.id,e.value),e.parent&&t.setParent(e.id,e.parent)})),e.edges.forEach((function(e){t.setEdge(e.v,e.w,e.value,e.name)})),t};function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t,n){return t&&O(e.prototype,t),n&&O(e,n),Object.defineProperty(e,\"prototype\",{writable:!1}),e}var S={compound:!1,multigraph:!1,directed:!0},j=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};w(this,e),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 t.directed},this.isMultigraph=function(){return t.multigraph},this.isCompound=function(){return t.compound},this.setGraph=function(e){return t.label=e,t},this.graph=function(){return t.label},this.setDefaultNodeLabel=function(e){return h(e)?t.defaultNodeLabelFn=e:t.defaultNodeLabelFn=function(){return e},t},this.nodeCount=function(){return t.nodeCountNum},this.node=function(e){return t.nodesLabelMap.get(e)},this.nodes=function(){return Array.from(t.nodesLabelMap.keys())},this.sources=function(){return t.nodes().filter((function(e){var n;return!(null===(n=t.inEdgesMap.get(e))||void 0===n?void 0:n.size)}))},this.sinks=function(){return t.nodes().filter((function(e){var n;return!(null===(n=t.outEdgesMap.get(e))||void 0===n?void 0:n.size)}))},this.setNodes=function(e,n){return e.map((function(e){return t.setNode(e,n)})),t},this.hasNode=function(e){return t.nodesLabelMap.has(e)},this.checkCompound=function(){if(!t.isCompound())throw new Error(\"Cannot construct parent-children relations in a non-compound graph\")},this.parent=function(e){if(t.isCompound()){var n,r=null===(n=t.parentMap)||void 0===n?void 0:n.get(e);if(r!==t.GRAPH_NODE)return r}},this.removeFromParentsChildList=function(e){var n=t.parentMap.get(e);t.childrenMap.get(n).delete(e)},this.setParent=function(e,n){var r,o;t.checkCompound();var i=void 0===n?t.GRAPH_NODE:n,a=t.parent(i);while(a){if(e===a)throw new Error(\"Setting \"+n+\" as parent of \"+e+\" would create a cycle\");a=t.parent(a)}n&&t.setNode(n),t.setNode(e),t.removeFromParentsChildList(e),null===(r=t.parentMap)||void 0===r||r.set(e,i);var c=t.childrenMap.get(i);return c.set(e,!0),null===(o=t.childrenMap)||void 0===o||o.set(i,c),t},this.children=function(e){var n=void 0===e?t.GRAPH_NODE:e;if(t.isCompound()){var r,o=null===(r=t.childrenMap)||void 0===r?void 0:r.get(n);return o?Array.from(o.keys()):void 0}return n===t.GRAPH_NODE?t.nodes():e&&t.hasNode(e)?[]:void 0},this.predecessors=function(e){var n=t.predecessorsMap.get(e);return n?Array.from(n.keys()):void 0},this.successors=function(e){var n=t.successorsMap.get(e);return n?Array.from(n.keys()):void 0},this.neighbors=function(e){var n;if(t.hasNode(e))return Array.from(new Set(null===(n=t.predecessors(e))||void 0===n?void 0:n.concat(t.successors(e))))},this.isLeaf=function(e){var n,r;return t.isDirected()?!(null===(r=t.successors(e))||void 0===r?void 0:r.length):!(null===(n=t.neighbors(e))||void 0===n?void 0:n.length)},this.filterNodes=function(n){var r=t.directed,o=t.multigraph,i=t.compound,a=new e({directed:r,multigraph:o,compound:i});if(a.setGraph(t.graph()),t.nodes().forEach((function(e){n(e)&&a.setNode(e,t.node(e))})),t.edges().forEach((function(e){a.hasNode(e.v)&&a.hasNode(e.w)&&a.setEdgeObj(e,t.edge(e))})),i){var c=function(e){var n=t.parent(e);while(void 0!==n&&!a.hasNode(n))n=t.parent(n);return n};a.nodes().forEach((function(e){a.setParent(e,c(e))}))}return a},this.setDefaultEdgeLabel=function(e){return h(e)?t.defaultEdgeLabelFn=e:t.defaultEdgeLabelFn=function(){return e},t},this.edgeCount=function(){return t.edgeCountNum},this.setEdgeObj=function(e,n){return t.setEdge(e.v,e.w,n,e.name)},this.setPath=function(e,n){return e.reduce((function(e,r){return t.setEdge(e,r,n),r})),t},this.edgeFromArgs=function(e,n,r){return t.edge({v:e,w:n,name:r})},this.edge=function(e){return t.edgesLabelsMap.get(d(t.isDirected(),e))},this.hasEdge=function(e,n,r){return t.edgesLabelsMap.has(d(t.isDirected(),{v:e,w:n,name:r}))},this.removeEdgeObj=function(e){var n=e.v,r=e.w,o=e.name;return t.removeEdge(n,r,o)},this.edges=function(){return Array.from(t.edgesMap.values())},this.inEdges=function(e,n){var r=t.inEdgesMap.get(e);if(r)return Array.from(r.values()).filter((function(e){return!n||e.v===n}))},this.outEdges=function(e,n){var r=t.outEdgesMap.get(e);if(r)return Array.from(r.values()).filter((function(e){return!n||e.w===n}))},this.nodeEdges=function(e,n){var r;if(t.hasNode(e))return null===(r=t.inEdges(e,n))||void 0===r?void 0:r.concat(t.outEdges(e,n))},this.toJSON=function(){return g(t)},this.nodeInDegree=function(e){var n=t.inEdgesMap.get(e);return n?n.size:0},this.nodeOutDegree=function(e){var n=t.outEdgesMap.get(e);return n?n.size:0},this.nodeDegree=function(e){return t.nodeInDegree(e)+t.nodeOutDegree(e)},this.source=function(e){return e.v},this.target=function(e){return e.w};var r=b(b({},S),n);this.compound=r.compound,this.directed=r.directed,this.multigraph=r.multigraph,this.compound&&(this.parentMap=new Map,this.childrenMap=new Map)}return E(e,[{key:\"setNode\",value:function(e,t){var n,r=this.nodesLabelMap,o=this.defaultNodeLabelFn,i=this.isCompound,a=this.parentMap,c=this.childrenMap,u=this.inEdgesMap,s=this.outEdgesMap,l=this.predecessorsMap,f=this.successorsMap;if(r.has(e))return void 0!==t&&r.set(e,t),this;(r.set(e,t||o(e)),i())&&(null===a||void 0===a||a.set(e,this.GRAPH_NODE),null===c||void 0===c||c.set(e,new Map),(null===c||void 0===c?void 0:c.has(this.GRAPH_NODE))||null===c||void 0===c||c.set(this.GRAPH_NODE,new Map),null===c||void 0===c||null===(n=c.get(this.GRAPH_NODE))||void 0===n||n.set(e,!0));return[u,s,l,f].forEach((function(t){return t.set(e,new Map)})),this.nodeCountNum+=1,this}},{key:\"removeNode\",value:function(e){var t=this;if(this.hasNode(e)){var n,r,o,i=function(e){t.removeEdge(e.v,e.w,e.name)},a=this.inEdgesMap,c=this.outEdgesMap,u=this.predecessorsMap,s=this.successorsMap,l=this.nodesLabelMap;if(this.isCompound())this.removeFromParentsChildList(e),null===(n=this.parentMap)||void 0===n||n.delete(e),null===(r=this.children(e))||void 0===r||r.forEach((function(e){return t.setParent(e)})),null===(o=this.childrenMap)||void 0===o||o.delete(e);var f=a.get(e),d=c.get(e);Array.from(f.values()).forEach((function(e){return i(e)})),Array.from(d.values()).forEach((function(e){return i(e)})),l.delete(e),a.delete(e),c.delete(e),u.delete(e),s.delete(e),this.nodeCountNum-=1}return this}},{key:\"setEdge\",value:function(e,t,n,r){var o,i,a=f(this.isDirected(),e,t,r),c=d(this.isDirected(),a),s=a.v,l=a.w;if(this.edgesLabelsMap.has(c))return this.edgesLabelsMap.set(c,n),this;if(void 0!==r&&!this.isMultigraph())throw new Error(\"Cannot set a named edge when isMultigraph = false\");this.setNode(s),this.setNode(l),this.edgesLabelsMap.set(c,n||this.defaultEdgeLabelFn(s,l,r)),Object.freeze(a),this.edgesMap.set(c,a);var h=this.predecessorsMap.get(l),p=this.successorsMap.get(s);return u(h,s),u(p,l),null===(o=this.inEdgesMap.get(l))||void 0===o||o.set(c,a),null===(i=this.outEdgesMap.get(s))||void 0===i||i.set(c,a),this.edgeCountNum+=1,this}},{key:\"removeEdge\",value:function(e,t,n){var r=l(this.isDirected(),e,t,n),o=this.edgesMap.get(r);if(o){var i=f(this.isDirected(),e,t,n),a=i.v,c=i.w;this.edgesLabelsMap.delete(r),this.edgesMap.delete(r);var u=this.predecessorsMap.get(c),d=this.successorsMap.get(a);s(u,a),s(d,c),this.inEdgesMap.get(c).delete(r),this.outEdgesMap.get(a).delete(r),this.edgeCountNum-=1}return this}}]),e}();function k(e){return k=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},k(e)}function _(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function M(e,t,n){return t&&C(e.prototype,t),n&&C(e,n),Object.defineProperty(e,\"prototype\",{writable:!1}),e}function A(){return A=\"undefined\"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=N(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},A.apply(this,arguments)}function N(e,t){while(!Object.prototype.hasOwnProperty.call(e,t))if(e=F(e),null===e)break;return e}function T(e,t){if(\"function\"!==typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,\"prototype\",{writable:!1}),t&&I(e,t)}function I(e,t){return I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},I(e,t)}function P(e){var t=R();return function(){var n,r=F(e);if(t){var o=F(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return L(this,n)}}function L(e,t){if(t&&(\"object\"===k(t)||\"function\"===typeof t))return t;if(void 0!==t)throw new TypeError(\"Derived constructors may only return object or undefined\");return D(e)}function D(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function R(){if(\"undefined\"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function F(e){return F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},F(e)}j.fromJSON=m;var B=function(e){T(n,e);var t=P(n);function n(){var e;_(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),e.eventPool={},e}return M(n,[{key:\"appendEvent\",value:function(e,t){this.eventPool[e]||(this.eventPool[e]=[]),this.eventPool[e].push(t)}},{key:\"removeEvent\",value:function(e,t){if(this.eventPool[e]){var n=this.eventPool[e].indexOf(t);n>-1&&this.eventPool[e].splice(n,1)}}},{key:\"emitEvent\",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.eventPool[e]&&this.eventPool[e].forEach((function(e){e.apply(void 0,n)}))}},{key:\"setNode\",value:function(e,t){return A(F(n.prototype),\"setNode\",this).call(this,e,t),this.emitEvent(\"nodeAdd\",e,t),this}},{key:\"removeNode\",value:function(e){return A(F(n.prototype),\"removeNode\",this).call(this,e),this.emitEvent(\"nodeRemove\",e),this}},{key:\"setEdge\",value:function(e,t,r,o){return A(F(n.prototype),\"setEdge\",this).call(this,e,t,r,o),this.emitEvent(\"edgeAdd\",e,t,r,o),this}},{key:\"removeEdge\",value:function(e,t,r){return A(F(n.prototype),\"removeEdge\",this).call(this,e,t,r),this.emitEvent(\"edgeRemove\",e,t,r),this}}]),n}(j);function z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function U(e,t,n){return t&&z(e.prototype,t),n&&z(e,n),Object.defineProperty(e,\"prototype\",{writable:!1}),e}function G(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var V=U((function e(){var t=this;G(this,e),this.arr=[],this.keyIndice=new Map,this.size=function(){return t.arr.length},this.keys=function(){return t.arr.map((function(e){return e.key}))},this.has=function(e){return t.keyIndice.has(e)},this.priority=function(e){var n=t.keyIndice.get(e);if(void 0!==n)return t.arr[n].priority},this.swap=function(e,n){var r=t.arr,o=t.keyIndice,i=[r[e],r[n]],a=i[0],c=i[1];r[e]=c,r[n]=a,o.set(a.key,n),o.set(c.key,e)},this.innerDecrease=function(e){var n,r=t.arr,o=r[e].priority,i=e;while(0!==i){var a;if(n=i>>1,(null===(a=r[n])||void 0===a?void 0:a.priority)<o)break;t.swap(i,n),i=n}},this.heapify=function(e){var n=t.arr,r=e<<1,o=r+1,i=e;r<n.length&&(i=n[r].priority<n[i].priority?r:i,o<n.length&&(i=n[o].priority<n[i].priority?o:i),i!==e&&(t.swap(e,i),t.heapify(i)))},this.min=function(){if(0===t.size())throw new Error(\"Queue underflow\");return t.arr[0].key},this.add=function(e,n){var r=t.keyIndice,o=t.arr;if(!r.has(e)){var i=o.length;return r.set(e,i),o.push({key:e,priority:n}),t.innerDecrease(i),!0}return!1},this.removeMin=function(){t.swap(0,t.arr.length-1);var e=t.arr.pop();return t.keyIndice.delete(e.key),t.heapify(0),e.key},this.decrease=function(e,n){if(!t.has(e))throw new Error(\"There's no key named \".concat(e));var r=t.keyIndice.get(e);if(n>t.arr[r].priority)throw new Error(\"New priority is greater than current priority.Key: \".concat(e,\" Old: + \").concat(t.arr[r].priority,\" New: \").concat(n));t.arr[r].priority=n,t.innerDecrease(r)}})),W=function(e,t){var n,r=new j,o=new Map,i=new V;function a(e){var r=e.v===n?e.w:e.v,a=i.priority(r);if(void 0!==a){var c=t(e);c<a&&(o.set(r,n),i.decrease(r,c))}}if(0===e.nodeCount())return r;e.nodes().forEach((function(e){i.add(e,Number.POSITIVE_INFINITY),r.setNode(e)})),i.decrease(e.nodes()[0],0);var c=!1;while(i.size()>0){var u;if(n=i.removeMin(),o.has(n))r.setEdge(n,o.get(n));else{if(c)throw new Error(\"Input graph is not connected: \"+e.graph());c=!0}null===(u=e.nodeEdges(n))||void 0===u||u.forEach(a)}return r},H=W,Y=function(e){var t=new Set,n=[],r=e.nodes();return r.forEach((function(r){var o=[],i=[r];while(i.length>0){var a,c,u=i.pop();if(!t.has(u))t.add(u),o.push(u),null===(a=e.successors(u))||void 0===a||a.forEach((function(e){return i.push(e)})),null===(c=e.predecessors(u))||void 0===c||c.forEach((function(e){return i.push(e)}))}o.length&&n.push(o)})),n},X=Y,q=function e(t,n,r,o,i,a){o.includes(n)||(o.push(n),r||a.push(n),i(n).forEach((function(n){return e(t,n,r,o,i,a)})),r&&a.push(n))},K=function(e,t,n){var r=Array.isArray(t)?t:[t],o=function(t){return e.isDirected()?e.successors(t):e.neighbors(t)},i=[],a=[];return r.forEach((function(t){if(!e.hasNode(t))throw new Error(\"Graph does not have node: \"+t);q(e,t,\"post\"===n,a,o,i)})),i},Z=K;function $(e,t){return ne(e)||te(e,t)||J(e,t)||Q()}function Q(){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(e,t){if(e){if(\"string\"===typeof e)return ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===n&&e.constructor&&(n=e.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(e):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ee(e,t):void 0}}function ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function te(e,t){var n=null==e?null:\"undefined\"!==typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done);a=!0)if(i.push(r.value),t&&i.length===t)break}catch(u){c=!0,o=u}finally{try{a||null==n[\"return\"]||n[\"return\"]()}finally{if(c)throw o}}return i}}function ne(e){if(Array.isArray(e))return e}var re=function(){return 1},oe=function(e,t,n,r){return ie(e,t,n||re,r||function(t){return e.outEdges(t)})},ie=function(e,t,n,r){var o,i,a=new Map,c=new V,u=function(e){var t=e.v!==o?e.v:e.w,r=a.get(t),u=n(e),s=i.distance+u;if(u<0)throw new Error(\"dijkstra does not allow negative edge weights. Bad edge: \"+e+\" Weight: \"+u);s<r.distance&&(r.distance=s,r.predecessor=o,c.decrease(t,s))};e.nodes().forEach((function(e){var n=e===t?0:Number.POSITIVE_INFINITY;a.set(e,{distance:n}),c.add(e,n)}));while(c.size()>0){if(o=c.removeMin(),i=a.get(o),i&&i.distance===Number.POSITIVE_INFINITY)break;r(o).forEach(u)}var s={};return Array.from(a.entries()).forEach((function(e){var t=$(e,2),n=t[0],r=t[1];return s[String(n)]=r,s})),s},ae=oe,ce=function(e,t,n){var r={};return e.nodes().forEach((function(o){return r[String(o)]=ae(e,o,t,n),r})),r},ue=ce,se=function(e){var t=0,n=[],r=new Map,o=[];function i(a){var c,u={onStack:!0,lowlink:t,index:t};if(r.set(a,u),t+=1,n.push(a),null===(c=e.successors(a))||void 0===c||c.forEach((function(e){var t;if(r.has(e)){if(null===(t=r.get(e))||void 0===t?void 0:t.onStack){var n=r.get(e);u.lowlink=Math.min(u.lowlink,n.index)}}else{i(e);var o=r.get(e);u.lowlink=Math.min(u.lowlink,o.lowlink)}})),u.lowlink===u.index){var s,l=[];do{s=n.pop();var f=r.get(s);f.onStack=!1,l.push(s)}while(a!==s);o.push(l)}}return e.nodes().forEach((function(e){r.has(e)||i(e)})),o},le=se,fe=function(e){return le(e).filter((function(t){return t.length>1||1===t.length&&e.hasEdge(t[0],t[0])}))},de=fe;function he(e){return he=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},he(e)}function pe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ve(e,t,n){return t&&pe(e.prototype,t),n&&pe(e,n),Object.defineProperty(e,\"prototype\",{writable:!1}),e}function ge(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function me(e,t){if(\"function\"!==typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,\"prototype\",{writable:!1}),t&&je(e,t)}function ye(e){var t=Ee();return function(){var n,r=ke(e);if(t){var o=ke(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return be(this,n)}}function be(e,t){if(t&&(\"object\"===he(t)||\"function\"===typeof t))return t;if(void 0!==t)throw new TypeError(\"Derived constructors may only return object or undefined\");return xe(e)}function xe(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function we(e){var t=\"function\"===typeof Map?new Map:void 0;return we=function(e){if(null===e||!Se(e))return e;if(\"function\"!==typeof e)throw new TypeError(\"Super expression must either be null or a function\");if(\"undefined\"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Oe(e,arguments,ke(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),je(n,e)},we(e)}function Oe(e,t,n){return Oe=Ee()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=Function.bind.apply(e,r),i=new o;return n&&je(i,n.prototype),i},Oe.apply(null,arguments)}function Ee(){if(\"undefined\"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function Se(e){return-1!==Function.toString.call(e).indexOf(\"[native code]\")}function je(e,t){return je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},je(e,t)}function ke(e){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ke(e)}var _e=function(e){me(n,e);var t=ye(n);function n(){return ge(this,n),t.apply(this,arguments)}return ve(n)}(we(Error));function Ce(e){var t=new Set,n=new Set,r=[];function o(i){if(n.has(i))throw new _e;var a;t.has(i)||(n.add(i),t.add(i),null===(a=e.predecessors(i))||void 0===a||a.forEach(o),n.delete(i),r.push(i))}if(e.sinks().forEach(o),t.size!==e.nodeCount())throw new _e;return r}var Me=Ce,Ae=function(e){try{Me(e)}catch(t){if(t instanceof _e)return!1;throw t}return!0},Ne=Ae,Te=function(e,t){return Z(e,t,\"post\")},Ie=Te,Pe=function(e,t){return Z(e,t,\"pre\")},Le=Pe,De=function(){return 1};function Re(e,t,n){return Fe(e,t||De,n||function(t){return e.outEdges(t)})}function Fe(e,t,n){var r={},o=e.nodes();return o.forEach((function(e){var i=String(e);r[i]={},r[i][i]={distance:0},o.forEach((function(t){e!==t&&(r[i][String(t)]={distance:Number.POSITIVE_INFINITY})})),n(e).forEach((function(n){var o=n.v===e?n.w:n.v,a=t(n);r[i][String(o)]={distance:a,predecessor:e}}))})),o.forEach((function(e){var t=String(e),n=r[t];o.forEach((function(e){var i=String(e),a=r[i];o.forEach((function(e){var r=String(e),o=a[t],i=n[r],c=a[r],u=o.distance+i.distance;u<c.distance&&(c.distance=u,c.predecessor=i.predecessor)}))}))})),r}var Be=Re,ze=function(e,t){for(var n=e.nodes(),r=0;r<n.length;r++){var o=n[r];if(t.hasNode(o))return!0}return!1},Ue=function(e,t){for(var n=e.edges(),r=0;r<n.length;r++){var o=n[r];if(t.hasEdge(o.v,o.w,o.name))return!0}return!1},Ge=function(e,t){var n=e.nodes(),r=n.filter((function(e){return t.hasNode(e)}));return r},Ve=function(e,t){var n=e.edges(),r=n.filter((function(e){return t.hasEdge(e.v,e.w,e.name)}));return r},We=function(e,t){return e.isCompound()===t.isCompound()&&e.isDirected()===t.isDirected()&&e.isMultigraph()===t.isMultigraph()},He=function(e,t){var n=Ge(e,t);return n.length===e.nodes().length},Ye=function(e,t){var n=Ve(e,t);return n.length===e.edges().length},Xe=function(e,t){return We(e,t)&&e.nodeCount()===t.nodeCount()&&He(e,t)&&e.edgeCount()===t.edgeCount()&&Ye(e,t)},qe=function(e,t){return He(e,t)&&Ye(e,t)};function Ke(e,t){return et(e)||Je(e,t)||$e(e,t)||Ze()}function Ze(){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 $e(e,t){if(e){if(\"string\"===typeof e)return Qe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===n&&e.constructor&&(n=e.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(e):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qe(e,t):void 0}}function Qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Je(e,t){var n=null==e?null:\"undefined\"!==typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done);a=!0)if(i.push(r.value),t&&i.length===t)break}catch(u){c=!0,o=u}finally{try{a||null==n[\"return\"]||n[\"return\"]()}finally{if(c)throw o}}return i}}function et(e){if(Array.isArray(e))return e}function tt(e){return e instanceof j}function nt(e){if(e.isMultigraph())return!1;for(var t=e.edges(),n=new Map,r=0;r<t.length;r++){var o=t[r];if(o.v===o.w)return!1;var i=[o.v,o.w].sort(),a=Ke(i,2),c=a[0],u=a[1],s=\"\".concat(c,\"-\").concat(u);if(n.has(s))return!1;n.set(s,!0)}return!0}function rt(e){return 0===e.nodes().length}function ot(e){for(var t=e.edges(),n=0;n<t.length;n++){var r=t[n];if(r.v===r.w)return!0}return!1}var it=function(e,t){if(!nt(e)||!nt(t))return!1;if(!He(e,t))return!1;if(Ue(e,t))return!1;var n=e.nodeCount();return e.edgeCount()+t.edgeCount()===n*(n-1)/2},at=function(e){if(!nt(e))return null;for(var t=e.nodeCount(),n=new j({compound:e.isCompound(),directed:e.isDirected(),multigraph:e.isMultigraph()}),r=e.nodes(),o=0;o<t;o++){var i=r[o];n.setNode(i,e.node(i));for(var a=o+1;a<t;a++){var c=r[a];e.hasEdge(i,c)||n.setEdge(i,c)}}return n}},HiXI:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"WKiH\").end,i=n(\"yNLB\"),a=i(\"trimEnd\"),c=a?function(){return o(this)}:\"\".trimEnd;r({target:\"String\",proto:!0,forced:a},{trimEnd:c,trimRight:c})},HjOm:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r={locale:\"zh_CN\",today:\"\\u4eca\\u5929\",now:\"\\u6b64\\u523b\",backToToday:\"\\u8fd4\\u56de\\u4eca\\u5929\",ok:\"\\u786e\\u5b9a\",timeSelect:\"\\u9009\\u62e9\\u65f6\\u95f4\",dateSelect:\"\\u9009\\u62e9\\u65e5\\u671f\",weekSelect:\"\\u9009\\u62e9\\u5468\",clear:\"\\u6e05\\u9664\",month:\"\\u6708\",year:\"\\u5e74\",previousMonth:\"\\u4e0a\\u4e2a\\u6708 (\\u7ffb\\u9875\\u4e0a\\u952e)\",nextMonth:\"\\u4e0b\\u4e2a\\u6708 (\\u7ffb\\u9875\\u4e0b\\u952e)\",monthSelect:\"\\u9009\\u62e9\\u6708\\u4efd\",yearSelect:\"\\u9009\\u62e9\\u5e74\\u4efd\",decadeSelect:\"\\u9009\\u62e9\\u5e74\\u4ee3\",yearFormat:\"YYYY\\u5e74\",dayFormat:\"D\\u65e5\",dateFormat:\"YYYY\\u5e74M\\u6708D\\u65e5\",dateTimeFormat:\"YYYY\\u5e74M\\u6708D\\u65e5 HH\\u65f6mm\\u5206ss\\u79d2\",previousYear:\"\\u4e0a\\u4e00\\u5e74 (Control\\u952e\\u52a0\\u5de6\\u65b9\\u5411\\u952e)\",nextYear:\"\\u4e0b\\u4e00\\u5e74 (Control\\u952e\\u52a0\\u53f3\\u65b9\\u5411\\u952e)\",previousDecade:\"\\u4e0a\\u4e00\\u5e74\\u4ee3\",nextDecade:\"\\u4e0b\\u4e00\\u5e74\\u4ee3\",previousCentury:\"\\u4e0a\\u4e00\\u4e16\\u7eaa\",nextCentury:\"\\u4e0b\\u4e00\\u4e16\\u7eaa\"},o=r;t.default=o},HsHA:function(e,t){var n=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:n(1+e)}},Hvzi:function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},\"I+eb\":function(e,t,n){var r=n(\"2oRo\"),o=n(\"Bs8V\").f,i=n(\"kRJp\"),a=n(\"busE\"),c=n(\"zk60\"),u=n(\"6JNq\"),s=n(\"lMq5\");e.exports=function(e,t){var n,l,f,d,h,p,v=e.target,g=e.global,m=e.stat;if(l=g?r:m?r[v]||c(v,{}):(r[v]||{}).prototype,l)for(f in t){if(h=t[f],e.noTargetGet?(p=o(l,f),d=p&&p.value):d=l[f],n=s(g?f:v+(m?\".\":\"#\")+f,e.forced),!n&&void 0!==d){if(typeof h===typeof d)continue;u(h,d)}(e.sham||d&&d.sham)&&i(h,\"sham\",!0),a(l,f,h,e)}}},I1Gw:function(e,t,n){var r=n(\"dG/n\");r(\"split\")},I5X1:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return u}));var r=n(\"tJVT\"),o=n(\"q1tI\"),i=n(\"1WJl\"),a=n.n(i),c=n(\"qwGt\");function u(e,t){var n=Object(o[\"useContext\"])(c[\"a\"]),i=Object(o[\"useRef\"])(t);i.current=t;var u=Object(o[\"useState\"])((()=>i.current?i.current(n.data[e]):n.data[e])),s=Object(r[\"a\"])(u,2),l=s[0],f=s[1],d=Object(o[\"useRef\"])(l);d.current=l;var h=Object(o[\"useRef\"])(!1);return Object(o[\"useEffect\"])((()=>(h.current=!0,()=>{h.current=!1})),[]),Object(o[\"useEffect\"])((()=>{var r=r=>{if(h.current)if(t&&i.current){var o=i.current(r),c=d.current;a()(o,c)||f(o)}else f(r);else setTimeout((()=>{n.data[e]=r,n.update(e)}))};try{n.callbacks[e].add(r),n.update(e)}catch(o){n.callbacks[e]=new Set,n.callbacks[e].add(r),n.update(e)}return()=>{n.callbacks[e].delete(r)}}),[e]),l}},I8vh:function(e,t,n){var r=n(\"ppGB\"),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},I9xj:function(e,t,n){var r=n(\"1E5z\");r(Math,\"Math\",!0)},\"IL/d\":function(e,t,n){\"use strict\";var r=n(\"iqeF\"),o=n(\"67WC\").exportTypedArrayStaticMethod,i=n(\"oHi+\");o(\"from\",i,r)},IOcx:function(e,t,n){\"use strict\";n.r(t),n.d(t,\"glMatrix\",(function(){return l})),n.d(t,\"mat2\",(function(){return r})),n.d(t,\"mat2d\",(function(){return o})),n.d(t,\"mat3\",(function(){return i})),n.d(t,\"mat4\",(function(){return a})),n.d(t,\"quat\",(function(){return u})),n.d(t,\"quat2\",(function(){return s})),n.d(t,\"vec2\",(function(){return Zr})),n.d(t,\"vec3\",(function(){return Rt})),n.d(t,\"vec4\",(function(){return c}));var r={};n.r(r),n.d(r,\"create\",(function(){return f})),n.d(r,\"clone\",(function(){return d})),n.d(r,\"copy\",(function(){return h})),n.d(r,\"identity\",(function(){return p})),n.d(r,\"fromValues\",(function(){return v})),n.d(r,\"set\",(function(){return g})),n.d(r,\"transpose\",(function(){return m})),n.d(r,\"invert\",(function(){return y})),n.d(r,\"adjoint\",(function(){return b})),n.d(r,\"determinant\",(function(){return x})),n.d(r,\"multiply\",(function(){return w})),n.d(r,\"rotate\",(function(){return O})),n.d(r,\"scale\",(function(){return E})),n.d(r,\"fromRotation\",(function(){return S})),n.d(r,\"fromScaling\",(function(){return j})),n.d(r,\"str\",(function(){return k})),n.d(r,\"frob\",(function(){return _})),n.d(r,\"LDU\",(function(){return C})),n.d(r,\"add\",(function(){return M})),n.d(r,\"subtract\",(function(){return A})),n.d(r,\"exactEquals\",(function(){return N})),n.d(r,\"equals\",(function(){return T})),n.d(r,\"multiplyScalar\",(function(){return I})),n.d(r,\"multiplyScalarAndAdd\",(function(){return P})),n.d(r,\"mul\",(function(){return L})),n.d(r,\"sub\",(function(){return D}));var o={};n.r(o),n.d(o,\"create\",(function(){return R})),n.d(o,\"clone\",(function(){return F})),n.d(o,\"copy\",(function(){return B})),n.d(o,\"identity\",(function(){return z})),n.d(o,\"fromValues\",(function(){return U})),n.d(o,\"set\",(function(){return G})),n.d(o,\"invert\",(function(){return V})),n.d(o,\"determinant\",(function(){return W})),n.d(o,\"multiply\",(function(){return H})),n.d(o,\"rotate\",(function(){return Y})),n.d(o,\"scale\",(function(){return X})),n.d(o,\"translate\",(function(){return q})),n.d(o,\"fromRotation\",(function(){return K})),n.d(o,\"fromScaling\",(function(){return Z})),n.d(o,\"fromTranslation\",(function(){return $})),n.d(o,\"str\",(function(){return Q})),n.d(o,\"frob\",(function(){return J})),n.d(o,\"add\",(function(){return ee})),n.d(o,\"subtract\",(function(){return te})),n.d(o,\"multiplyScalar\",(function(){return ne})),n.d(o,\"multiplyScalarAndAdd\",(function(){return re})),n.d(o,\"exactEquals\",(function(){return oe})),n.d(o,\"equals\",(function(){return ie})),n.d(o,\"mul\",(function(){return ae})),n.d(o,\"sub\",(function(){return ce}));var i={};n.r(i),n.d(i,\"create\",(function(){return ue})),n.d(i,\"fromMat4\",(function(){return se})),n.d(i,\"clone\",(function(){return le})),n.d(i,\"copy\",(function(){return fe})),n.d(i,\"fromValues\",(function(){return de})),n.d(i,\"set\",(function(){return he})),n.d(i,\"identity\",(function(){return pe})),n.d(i,\"transpose\",(function(){return ve})),n.d(i,\"invert\",(function(){return ge})),n.d(i,\"adjoint\",(function(){return me})),n.d(i,\"determinant\",(function(){return ye})),n.d(i,\"multiply\",(function(){return be})),n.d(i,\"translate\",(function(){return xe})),n.d(i,\"rotate\",(function(){return we})),n.d(i,\"scale\",(function(){return Oe})),n.d(i,\"fromTranslation\",(function(){return Ee})),n.d(i,\"fromRotation\",(function(){return Se})),n.d(i,\"fromScaling\",(function(){return je})),n.d(i,\"fromMat2d\",(function(){return ke})),n.d(i,\"fromQuat\",(function(){return _e})),n.d(i,\"normalFromMat4\",(function(){return Ce})),n.d(i,\"projection\",(function(){return Me})),n.d(i,\"str\",(function(){return Ae})),n.d(i,\"frob\",(function(){return Ne})),n.d(i,\"add\",(function(){return Te})),n.d(i,\"subtract\",(function(){return Ie})),n.d(i,\"multiplyScalar\",(function(){return Pe})),n.d(i,\"multiplyScalarAndAdd\",(function(){return Le})),n.d(i,\"exactEquals\",(function(){return De})),n.d(i,\"equals\",(function(){return Re})),n.d(i,\"mul\",(function(){return Fe})),n.d(i,\"sub\",(function(){return Be}));var a={};n.r(a),n.d(a,\"create\",(function(){return ze})),n.d(a,\"clone\",(function(){return Ue})),n.d(a,\"copy\",(function(){return Ge})),n.d(a,\"fromValues\",(function(){return Ve})),n.d(a,\"set\",(function(){return We})),n.d(a,\"identity\",(function(){return He})),n.d(a,\"transpose\",(function(){return Ye})),n.d(a,\"invert\",(function(){return Xe})),n.d(a,\"adjoint\",(function(){return qe})),n.d(a,\"determinant\",(function(){return Ke})),n.d(a,\"multiply\",(function(){return Ze})),n.d(a,\"translate\",(function(){return $e})),n.d(a,\"scale\",(function(){return Qe})),n.d(a,\"rotate\",(function(){return Je})),n.d(a,\"rotateX\",(function(){return et})),n.d(a,\"rotateY\",(function(){return tt})),n.d(a,\"rotateZ\",(function(){return nt})),n.d(a,\"fromTranslation\",(function(){return rt})),n.d(a,\"fromScaling\",(function(){return ot})),n.d(a,\"fromRotation\",(function(){return it})),n.d(a,\"fromXRotation\",(function(){return at})),n.d(a,\"fromYRotation\",(function(){return ct})),n.d(a,\"fromZRotation\",(function(){return ut})),n.d(a,\"fromRotationTranslation\",(function(){return st})),n.d(a,\"fromQuat2\",(function(){return lt})),n.d(a,\"getTranslation\",(function(){return ft})),n.d(a,\"getScaling\",(function(){return dt})),n.d(a,\"getRotation\",(function(){return ht})),n.d(a,\"fromRotationTranslationScale\",(function(){return pt})),n.d(a,\"fromRotationTranslationScaleOrigin\",(function(){return vt})),n.d(a,\"fromQuat\",(function(){return gt})),n.d(a,\"frustum\",(function(){return mt})),n.d(a,\"perspectiveNO\",(function(){return yt})),n.d(a,\"perspective\",(function(){return bt})),n.d(a,\"perspectiveZO\",(function(){return xt})),n.d(a,\"perspectiveFromFieldOfView\",(function(){return wt})),n.d(a,\"orthoNO\",(function(){return Ot})),n.d(a,\"ortho\",(function(){return Et})),n.d(a,\"orthoZO\",(function(){return St})),n.d(a,\"lookAt\",(function(){return jt})),n.d(a,\"targetTo\",(function(){return kt})),n.d(a,\"str\",(function(){return _t})),n.d(a,\"frob\",(function(){return Ct})),n.d(a,\"add\",(function(){return Mt})),n.d(a,\"subtract\",(function(){return At})),n.d(a,\"multiplyScalar\",(function(){return Nt})),n.d(a,\"multiplyScalarAndAdd\",(function(){return Tt})),n.d(a,\"exactEquals\",(function(){return It})),n.d(a,\"equals\",(function(){return Pt})),n.d(a,\"mul\",(function(){return Lt})),n.d(a,\"sub\",(function(){return Dt}));var c={};n.r(c),n.d(c,\"create\",(function(){return Ft})),n.d(c,\"clone\",(function(){return Bt})),n.d(c,\"fromValues\",(function(){return zt})),n.d(c,\"copy\",(function(){return Ut})),n.d(c,\"set\",(function(){return Gt})),n.d(c,\"add\",(function(){return Vt})),n.d(c,\"subtract\",(function(){return Wt})),n.d(c,\"multiply\",(function(){return Ht})),n.d(c,\"divide\",(function(){return Yt})),n.d(c,\"ceil\",(function(){return Xt})),n.d(c,\"floor\",(function(){return qt})),n.d(c,\"min\",(function(){return Kt})),n.d(c,\"max\",(function(){return Zt})),n.d(c,\"round\",(function(){return $t})),n.d(c,\"scale\",(function(){return Qt})),n.d(c,\"scaleAndAdd\",(function(){return Jt})),n.d(c,\"distance\",(function(){return en})),n.d(c,\"squaredDistance\",(function(){return tn})),n.d(c,\"length\",(function(){return nn})),n.d(c,\"squaredLength\",(function(){return rn})),n.d(c,\"negate\",(function(){return on})),n.d(c,\"inverse\",(function(){return an})),n.d(c,\"normalize\",(function(){return cn})),n.d(c,\"dot\",(function(){return un})),n.d(c,\"cross\",(function(){return sn})),n.d(c,\"lerp\",(function(){return ln})),n.d(c,\"random\",(function(){return fn})),n.d(c,\"transformMat4\",(function(){return dn})),n.d(c,\"transformQuat\",(function(){return hn})),n.d(c,\"zero\",(function(){return pn})),n.d(c,\"str\",(function(){return vn})),n.d(c,\"exactEquals\",(function(){return gn})),n.d(c,\"equals\",(function(){return mn})),n.d(c,\"sub\",(function(){return yn})),n.d(c,\"mul\",(function(){return bn})),n.d(c,\"div\",(function(){return xn})),n.d(c,\"dist\",(function(){return wn})),n.d(c,\"sqrDist\",(function(){return On})),n.d(c,\"len\",(function(){return En})),n.d(c,\"sqrLen\",(function(){return Sn})),n.d(c,\"forEach\",(function(){return jn}));var u={};n.r(u),n.d(u,\"create\",(function(){return kn})),n.d(u,\"identity\",(function(){return _n})),n.d(u,\"setAxisAngle\",(function(){return Cn})),n.d(u,\"getAxisAngle\",(function(){return Mn})),n.d(u,\"getAngle\",(function(){return An})),n.d(u,\"multiply\",(function(){return Nn})),n.d(u,\"rotateX\",(function(){return Tn})),n.d(u,\"rotateY\",(function(){return In})),n.d(u,\"rotateZ\",(function(){return Pn})),n.d(u,\"calculateW\",(function(){return Ln})),n.d(u,\"exp\",(function(){return Dn})),n.d(u,\"ln\",(function(){return Rn})),n.d(u,\"pow\",(function(){return Fn})),n.d(u,\"slerp\",(function(){return Bn})),n.d(u,\"random\",(function(){return zn})),n.d(u,\"invert\",(function(){return Un})),n.d(u,\"conjugate\",(function(){return Gn})),n.d(u,\"fromMat3\",(function(){return Vn})),n.d(u,\"fromEuler\",(function(){return Wn})),n.d(u,\"str\",(function(){return Hn})),n.d(u,\"clone\",(function(){return Yn})),n.d(u,\"fromValues\",(function(){return Xn})),n.d(u,\"copy\",(function(){return qn})),n.d(u,\"set\",(function(){return Kn})),n.d(u,\"add\",(function(){return Zn})),n.d(u,\"mul\",(function(){return $n})),n.d(u,\"scale\",(function(){return Qn})),n.d(u,\"dot\",(function(){return Jn})),n.d(u,\"lerp\",(function(){return er})),n.d(u,\"length\",(function(){return tr})),n.d(u,\"len\",(function(){return nr})),n.d(u,\"squaredLength\",(function(){return rr})),n.d(u,\"sqrLen\",(function(){return or})),n.d(u,\"normalize\",(function(){return ir})),n.d(u,\"exactEquals\",(function(){return ar})),n.d(u,\"equals\",(function(){return cr})),n.d(u,\"rotationTo\",(function(){return ur})),n.d(u,\"sqlerp\",(function(){return sr})),n.d(u,\"setAxes\",(function(){return lr}));var s={};n.r(s),n.d(s,\"create\",(function(){return fr})),n.d(s,\"clone\",(function(){return dr})),n.d(s,\"fromValues\",(function(){return hr})),n.d(s,\"fromRotationTranslationValues\",(function(){return pr})),n.d(s,\"fromRotationTranslation\",(function(){return vr})),n.d(s,\"fromTranslation\",(function(){return gr})),n.d(s,\"fromRotation\",(function(){return mr})),n.d(s,\"fromMat4\",(function(){return yr})),n.d(s,\"copy\",(function(){return br})),n.d(s,\"identity\",(function(){return xr})),n.d(s,\"set\",(function(){return wr})),n.d(s,\"getReal\",(function(){return Or})),n.d(s,\"getDual\",(function(){return Er})),n.d(s,\"setReal\",(function(){return Sr})),n.d(s,\"setDual\",(function(){return jr})),n.d(s,\"getTranslation\",(function(){return kr})),n.d(s,\"translate\",(function(){return _r})),n.d(s,\"rotateX\",(function(){return Cr})),n.d(s,\"rotateY\",(function(){return Mr})),n.d(s,\"rotateZ\",(function(){return Ar})),n.d(s,\"rotateByQuatAppend\",(function(){return Nr})),n.d(s,\"rotateByQuatPrepend\",(function(){return Tr})),n.d(s,\"rotateAroundAxis\",(function(){return Ir})),n.d(s,\"add\",(function(){return Pr})),n.d(s,\"multiply\",(function(){return Lr})),n.d(s,\"mul\",(function(){return Dr})),n.d(s,\"scale\",(function(){return Rr})),n.d(s,\"dot\",(function(){return Fr})),n.d(s,\"lerp\",(function(){return Br})),n.d(s,\"invert\",(function(){return zr})),n.d(s,\"conjugate\",(function(){return Ur})),n.d(s,\"length\",(function(){return Gr})),n.d(s,\"len\",(function(){return Vr})),n.d(s,\"squaredLength\",(function(){return Wr})),n.d(s,\"sqrLen\",(function(){return Hr})),n.d(s,\"normalize\",(function(){return Yr})),n.d(s,\"str\",(function(){return Xr})),n.d(s,\"exactEquals\",(function(){return qr})),n.d(s,\"equals\",(function(){return Kr}));var l=n(\"yU0y\");function f(){var e=new l[\"ARRAY_TYPE\"](4);return l[\"ARRAY_TYPE\"]!=Float32Array&&(e[1]=0,e[2]=0),e[0]=1,e[3]=1,e}function d(e){var t=new l[\"ARRAY_TYPE\"](4);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function h(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function p(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e}function v(e,t,n,r){var o=new l[\"ARRAY_TYPE\"](4);return o[0]=e,o[1]=t,o[2]=n,o[3]=r,o}function g(e,t,n,r,o){return e[0]=t,e[1]=n,e[2]=r,e[3]=o,e}function m(e,t){if(e===t){var n=t[1];e[1]=t[2],e[2]=n}else e[0]=t[0],e[1]=t[2],e[2]=t[1],e[3]=t[3];return e}function y(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=n*i-o*r;return a?(a=1/a,e[0]=i*a,e[1]=-r*a,e[2]=-o*a,e[3]=n*a,e):null}function b(e,t){var n=t[0];return e[0]=t[3],e[1]=-t[1],e[2]=-t[2],e[3]=n,e}function x(e){return e[0]*e[3]-e[2]*e[1]}function w(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],c=n[0],u=n[1],s=n[2],l=n[3];return e[0]=r*c+i*u,e[1]=o*c+a*u,e[2]=r*s+i*l,e[3]=o*s+a*l,e}function O(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],c=Math.sin(n),u=Math.cos(n);return e[0]=r*u+i*c,e[1]=o*u+a*c,e[2]=r*-c+i*u,e[3]=o*-c+a*u,e}function E(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],c=n[0],u=n[1];return e[0]=r*c,e[1]=o*c,e[2]=i*u,e[3]=a*u,e}function S(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[2]=-n,e[3]=r,e}function j(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=t[1],e}function k(e){return\"mat2(\"+e[0]+\", \"+e[1]+\", \"+e[2]+\", \"+e[3]+\")\"}function _(e){return Math.hypot(e[0],e[1],e[2],e[3])}function C(e,t,n,r){return e[2]=r[2]/r[0],n[0]=r[0],n[1]=r[1],n[3]=r[3]-e[2]*n[1],[e,t,n]}function M(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e}function A(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e}function N(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]}function T(e,t){var n=e[0],r=e[1],o=e[2],i=e[3],a=t[0],c=t[1],u=t[2],s=t[3];return Math.abs(n-a)<=l[\"EPSILON\"]*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(r-c)<=l[\"EPSILON\"]*Math.max(1,Math.abs(r),Math.abs(c))&&Math.abs(o-u)<=l[\"EPSILON\"]*Math.max(1,Math.abs(o),Math.abs(u))&&Math.abs(i-s)<=l[\"EPSILON\"]*Math.max(1,Math.abs(i),Math.abs(s))}function I(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e}function P(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e}var L=w,D=A;function R(){var e=new l[\"ARRAY_TYPE\"](6);return l[\"ARRAY_TYPE\"]!=Float32Array&&(e[1]=0,e[2]=0,e[4]=0,e[5]=0),e[0]=1,e[3]=1,e}function F(e){var t=new l[\"ARRAY_TYPE\"](6);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function B(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function z(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function U(e,t,n,r,o,i){var a=new l[\"ARRAY_TYPE\"](6);return a[0]=e,a[1]=t,a[2]=n,a[3]=r,a[4]=o,a[5]=i,a}function G(e,t,n,r,o,i,a){return e[0]=t,e[1]=n,e[2]=r,e[3]=o,e[4]=i,e[5]=a,e}function V(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=t[4],c=t[5],u=n*i-r*o;return u?(u=1/u,e[0]=i*u,e[1]=-r*u,e[2]=-o*u,e[3]=n*u,e[4]=(o*c-i*a)*u,e[5]=(r*a-n*c)*u,e):null}function W(e){return e[0]*e[3]-e[1]*e[2]}function H(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],c=t[4],u=t[5],s=n[0],l=n[1],f=n[2],d=n[3],h=n[4],p=n[5];return e[0]=r*s+i*l,e[1]=o*s+a*l,e[2]=r*f+i*d,e[3]=o*f+a*d,e[4]=r*h+i*p+c,e[5]=o*h+a*p+u,e}function Y(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],c=t[4],u=t[5],s=Math.sin(n),l=Math.cos(n);return e[0]=r*l+i*s,e[1]=o*l+a*s,e[2]=r*-s+i*l,e[3]=o*-s+a*l,e[4]=c,e[5]=u,e}function X(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],c=t[4],u=t[5],s=n[0],l=n[1];return e[0]=r*s,e[1]=o*s,e[2]=i*l,e[3]=a*l,e[4]=c,e[5]=u,e}function q(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],c=t[4],u=t[5],s=n[0],l=n[1];return e[0]=r,e[1]=o,e[2]=i,e[3]=a,e[4]=r*s+i*l+c,e[5]=o*s+a*l+u,e}function K(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[2]=-n,e[3]=r,e[4]=0,e[5]=0,e}function Z(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=t[1],e[4]=0,e[5]=0,e}function $(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=t[0],e[5]=t[1],e}function Q(e){return\"mat2d(\"+e[0]+\", \"+e[1]+\", \"+e[2]+\", \"+e[3]+\", \"+e[4]+\", \"+e[5]+\")\"}function J(e){return Math.hypot(e[0],e[1],e[2],e[3],e[4],e[5],1)}function ee(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e}function te(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e[4]=t[4]-n[4],e[5]=t[5]-n[5],e}function ne(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e}function re(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e[4]=t[4]+n[4]*r,e[5]=t[5]+n[5]*r,e}function oe(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]}function ie(e,t){var n=e[0],r=e[1],o=e[2],i=e[3],a=e[4],c=e[5],u=t[0],s=t[1],f=t[2],d=t[3],h=t[4],p=t[5];return Math.abs(n-u)<=l[\"EPSILON\"]*Math.max(1,Math.abs(n),Math.abs(u))&&Math.abs(r-s)<=l[\"EPSILON\"]*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(o-f)<=l[\"EPSILON\"]*Math.max(1,Math.abs(o),Math.abs(f))&&Math.abs(i-d)<=l[\"EPSILON\"]*Math.max(1,Math.abs(i),Math.abs(d))&&Math.abs(a-h)<=l[\"EPSILON\"]*Math.max(1,Math.abs(a),Math.abs(h))&&Math.abs(c-p)<=l[\"EPSILON\"]*Math.max(1,Math.abs(c),Math.abs(p))}var ae=H,ce=te;function ue(){var e=new l[\"ARRAY_TYPE\"](9);return l[\"ARRAY_TYPE\"]!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[5]=0,e[6]=0,e[7]=0),e[0]=1,e[4]=1,e[8]=1,e}function se(e,t){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 le(e){var t=new l[\"ARRAY_TYPE\"](9);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}function fe(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e}function de(e,t,n,r,o,i,a,c,u){var s=new l[\"ARRAY_TYPE\"](9);return s[0]=e,s[1]=t,s[2]=n,s[3]=r,s[4]=o,s[5]=i,s[6]=a,s[7]=c,s[8]=u,s}function he(e,t,n,r,o,i,a,c,u,s){return e[0]=t,e[1]=n,e[2]=r,e[3]=o,e[4]=i,e[5]=a,e[6]=c,e[7]=u,e[8]=s,e}function pe(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e}function ve(e,t){if(e===t){var n=t[1],r=t[2],o=t[5];e[1]=t[3],e[2]=t[6],e[3]=n,e[5]=t[7],e[6]=r,e[7]=o}else e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8];return e}function ge(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=t[4],c=t[5],u=t[6],s=t[7],l=t[8],f=l*a-c*s,d=-l*i+c*u,h=s*i-a*u,p=n*f+r*d+o*h;return p?(p=1/p,e[0]=f*p,e[1]=(-l*r+o*s)*p,e[2]=(c*r-o*a)*p,e[3]=d*p,e[4]=(l*n-o*u)*p,e[5]=(-c*n+o*i)*p,e[6]=h*p,e[7]=(-s*n+r*u)*p,e[8]=(a*n-r*i)*p,e):null}function me(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=t[4],c=t[5],u=t[6],s=t[7],l=t[8];return e[0]=a*l-c*s,e[1]=o*s-r*l,e[2]=r*c-o*a,e[3]=c*u-i*l,e[4]=n*l-o*u,e[5]=o*i-n*c,e[6]=i*s-a*u,e[7]=r*u-n*s,e[8]=n*a-r*i,e}function ye(e){var t=e[0],n=e[1],r=e[2],o=e[3],i=e[4],a=e[5],c=e[6],u=e[7],s=e[8];return t*(s*i-a*u)+n*(-s*o+a*c)+r*(u*o-i*c)}function be(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],c=t[4],u=t[5],s=t[6],l=t[7],f=t[8],d=n[0],h=n[1],p=n[2],v=n[3],g=n[4],m=n[5],y=n[6],b=n[7],x=n[8];return e[0]=d*r+h*a+p*s,e[1]=d*o+h*c+p*l,e[2]=d*i+h*u+p*f,e[3]=v*r+g*a+m*s,e[4]=v*o+g*c+m*l,e[5]=v*i+g*u+m*f,e[6]=y*r+b*a+x*s,e[7]=y*o+b*c+x*l,e[8]=y*i+b*u+x*f,e}function xe(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],c=t[4],u=t[5],s=t[6],l=t[7],f=t[8],d=n[0],h=n[1];return e[0]=r,e[1]=o,e[2]=i,e[3]=a,e[4]=c,e[5]=u,e[6]=d*r+h*a+s,e[7]=d*o+h*c+l,e[8]=d*i+h*u+f,e}function we(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],c=t[4],u=t[5],s=t[6],l=t[7],f=t[8],d=Math.sin(n),h=Math.cos(n);return e[0]=h*r+d*a,e[1]=h*o+d*c,e[2]=h*i+d*u,e[3]=h*a-d*r,e[4]=h*c-d*o,e[5]=h*u-d*i,e[6]=s,e[7]=l,e[8]=f,e}function Oe(e,t,n){var r=n[0],o=n[1];return e[0]=r*t[0],e[1]=r*t[1],e[2]=r*t[2],e[3]=o*t[3],e[4]=o*t[4],e[5]=o*t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e}function Ee(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=t[0],e[7]=t[1],e[8]=1,e}function Se(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[2]=0,e[3]=-n,e[4]=r,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e}function je(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=t[1],e[5]=0,e[6]=0,e[7]=0,e[8]=1,e}function ke(e,t){return e[0]=t[0],e[1]=t[1],e[2]=0,e[3]=t[2],e[4]=t[3],e[5]=0,e[6]=t[4],e[7]=t[5],e[8]=1,e}function _e(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=n+n,c=r+r,u=o+o,s=n*a,l=r*a,f=r*c,d=o*a,h=o*c,p=o*u,v=i*a,g=i*c,m=i*u;return e[0]=1-f-p,e[3]=l-m,e[6]=d+g,e[1]=l+m,e[4]=1-s-p,e[7]=h-v,e[2]=d-g,e[5]=h+v,e[8]=1-s-f,e}function Ce(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=t[4],c=t[5],u=t[6],s=t[7],l=t[8],f=t[9],d=t[10],h=t[11],p=t[12],v=t[13],g=t[14],m=t[15],y=n*c-r*a,b=n*u-o*a,x=n*s-i*a,w=r*u-o*c,O=r*s-i*c,E=o*s-i*u,S=l*v-f*p,j=l*g-d*p,k=l*m-h*p,_=f*g-d*v,C=f*m-h*v,M=d*m-h*g,A=y*M-b*C+x*_+w*k-O*j+E*S;return A?(A=1/A,e[0]=(c*M-u*C+s*_)*A,e[1]=(u*k-a*M-s*j)*A,e[2]=(a*C-c*k+s*S)*A,e[3]=(o*C-r*M-i*_)*A,e[4]=(n*M-o*k+i*j)*A,e[5]=(r*k-n*C-i*S)*A,e[6]=(v*E-g*O+m*w)*A,e[7]=(g*x-p*E-m*b)*A,e[8]=(p*O-v*x+m*y)*A,e):null}function Me(e,t,n){return e[0]=2/t,e[1]=0,e[2]=0,e[3]=0,e[4]=-2/n,e[5]=0,e[6]=-1,e[7]=1,e[8]=1,e}function Ae(e){return\"mat3(\"+e[0]+\", \"+e[1]+\", \"+e[2]+\", \"+e[3]+\", \"+e[4]+\", \"+e[5]+\", \"+e[6]+\", \"+e[7]+\", \"+e[8]+\")\"}function Ne(e){return Math.hypot(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])}function Te(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e[6]=t[6]+n[6],e[7]=t[7]+n[7],e[8]=t[8]+n[8],e}function Ie(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e[4]=t[4]-n[4],e[5]=t[5]-n[5],e[6]=t[6]-n[6],e[7]=t[7]-n[7],e[8]=t[8]-n[8],e}function Pe(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e[6]=t[6]*n,e[7]=t[7]*n,e[8]=t[8]*n,e}function Le(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e[4]=t[4]+n[4]*r,e[5]=t[5]+n[5]*r,e[6]=t[6]+n[6]*r,e[7]=t[7]+n[7]*r,e[8]=t[8]+n[8]*r,e}function De(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]&&e[8]===t[8]}function Re(e,t){var n=e[0],r=e[1],o=e[2],i=e[3],a=e[4],c=e[5],u=e[6],s=e[7],f=e[8],d=t[0],h=t[1],p=t[2],v=t[3],g=t[4],m=t[5],y=t[6],b=t[7],x=t[8];return Math.abs(n-d)<=l[\"EPSILON\"]*Math.max(1,Math.abs(n),Math.abs(d))&&Math.abs(r-h)<=l[\"EPSILON\"]*Math.max(1,Math.abs(r),Math.abs(h))&&Math.abs(o-p)<=l[\"EPSILON\"]*Math.max(1,Math.abs(o),Math.abs(p))&&Math.abs(i-v)<=l[\"EPSILON\"]*Math.max(1,Math.abs(i),Math.abs(v))&&Math.abs(a-g)<=l[\"EPSILON\"]*Math.max(1,Math.abs(a),Math.abs(g))&&Math.abs(c-m)<=l[\"EPSILON\"]*Math.max(1,Math.abs(c),Math.abs(m))&&Math.abs(u-y)<=l[\"EPSILON\"]*Math.max(1,Math.abs(u),Math.abs(y))&&Math.abs(s-b)<=l[\"EPSILON\"]*Math.max(1,Math.abs(s),Math.abs(b))&&Math.abs(f-x)<=l[\"EPSILON\"]*Math.max(1,Math.abs(f),Math.abs(x))}var Fe=be,Be=Ie;function ze(){var e=new l[\"ARRAY_TYPE\"](16);return l[\"ARRAY_TYPE\"]!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0),e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}function Ue(e){var t=new l[\"ARRAY_TYPE\"](16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}function Ge(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function Ve(e,t,n,r,o,i,a,c,u,s,f,d,h,p,v,g){var m=new l[\"ARRAY_TYPE\"](16);return m[0]=e,m[1]=t,m[2]=n,m[3]=r,m[4]=o,m[5]=i,m[6]=a,m[7]=c,m[8]=u,m[9]=s,m[10]=f,m[11]=d,m[12]=h,m[13]=p,m[14]=v,m[15]=g,m}function We(e,t,n,r,o,i,a,c,u,s,l,f,d,h,p,v,g){return e[0]=t,e[1]=n,e[2]=r,e[3]=o,e[4]=i,e[5]=a,e[6]=c,e[7]=u,e[8]=s,e[9]=l,e[10]=f,e[11]=d,e[12]=h,e[13]=p,e[14]=v,e[15]=g,e}function He(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function Ye(e,t){if(e===t){var n=t[1],r=t[2],o=t[3],i=t[6],a=t[7],c=t[11];e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=n,e[6]=t[9],e[7]=t[13],e[8]=r,e[9]=i,e[11]=t[14],e[12]=o,e[13]=a,e[14]=c}else e[0]=t[0],e[1]=t[4],e[2]=t[8],e[3]=t[12],e[4]=t[1],e[5]=t[5],e[6]=t[9],e[7]=t[13],e[8]=t[2],e[9]=t[6],e[10]=t[10],e[11]=t[14],e[12]=t[3],e[13]=t[7],e[14]=t[11],e[15]=t[15];return e}function Xe(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=t[4],c=t[5],u=t[6],s=t[7],l=t[8],f=t[9],d=t[10],h=t[11],p=t[12],v=t[13],g=t[14],m=t[15],y=n*c-r*a,b=n*u-o*a,x=n*s-i*a,w=r*u-o*c,O=r*s-i*c,E=o*s-i*u,S=l*v-f*p,j=l*g-d*p,k=l*m-h*p,_=f*g-d*v,C=f*m-h*v,M=d*m-h*g,A=y*M-b*C+x*_+w*k-O*j+E*S;return A?(A=1/A,e[0]=(c*M-u*C+s*_)*A,e[1]=(o*C-r*M-i*_)*A,e[2]=(v*E-g*O+m*w)*A,e[3]=(d*O-f*E-h*w)*A,e[4]=(u*k-a*M-s*j)*A,e[5]=(n*M-o*k+i*j)*A,e[6]=(g*x-p*E-m*b)*A,e[7]=(l*E-d*x+h*b)*A,e[8]=(a*C-c*k+s*S)*A,e[9]=(r*k-n*C-i*S)*A,e[10]=(p*O-v*x+m*y)*A,e[11]=(f*x-l*O-h*y)*A,e[12]=(c*j-a*_-u*S)*A,e[13]=(n*_-r*j+o*S)*A,e[14]=(v*b-p*w-g*y)*A,e[15]=(l*w-f*b+d*y)*A,e):null}function qe(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=t[4],c=t[5],u=t[6],s=t[7],l=t[8],f=t[9],d=t[10],h=t[11],p=t[12],v=t[13],g=t[14],m=t[15];return e[0]=c*(d*m-h*g)-f*(u*m-s*g)+v*(u*h-s*d),e[1]=-(r*(d*m-h*g)-f*(o*m-i*g)+v*(o*h-i*d)),e[2]=r*(u*m-s*g)-c*(o*m-i*g)+v*(o*s-i*u),e[3]=-(r*(u*h-s*d)-c*(o*h-i*d)+f*(o*s-i*u)),e[4]=-(a*(d*m-h*g)-l*(u*m-s*g)+p*(u*h-s*d)),e[5]=n*(d*m-h*g)-l*(o*m-i*g)+p*(o*h-i*d),e[6]=-(n*(u*m-s*g)-a*(o*m-i*g)+p*(o*s-i*u)),e[7]=n*(u*h-s*d)-a*(o*h-i*d)+l*(o*s-i*u),e[8]=a*(f*m-h*v)-l*(c*m-s*v)+p*(c*h-s*f),e[9]=-(n*(f*m-h*v)-l*(r*m-i*v)+p*(r*h-i*f)),e[10]=n*(c*m-s*v)-a*(r*m-i*v)+p*(r*s-i*c),e[11]=-(n*(c*h-s*f)-a*(r*h-i*f)+l*(r*s-i*c)),e[12]=-(a*(f*g-d*v)-l*(c*g-u*v)+p*(c*d-u*f)),e[13]=n*(f*g-d*v)-l*(r*g-o*v)+p*(r*d-o*f),e[14]=-(n*(c*g-u*v)-a*(r*g-o*v)+p*(r*u-o*c)),e[15]=n*(c*d-u*f)-a*(r*d-o*f)+l*(r*u-o*c),e}function Ke(e){var t=e[0],n=e[1],r=e[2],o=e[3],i=e[4],a=e[5],c=e[6],u=e[7],s=e[8],l=e[9],f=e[10],d=e[11],h=e[12],p=e[13],v=e[14],g=e[15],m=t*a-n*i,y=t*c-r*i,b=t*u-o*i,x=n*c-r*a,w=n*u-o*a,O=r*u-o*c,E=s*p-l*h,S=s*v-f*h,j=s*g-d*h,k=l*v-f*p,_=l*g-d*p,C=f*g-d*v;return m*C-y*_+b*k+x*j-w*S+O*E}function Ze(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],c=t[4],u=t[5],s=t[6],l=t[7],f=t[8],d=t[9],h=t[10],p=t[11],v=t[12],g=t[13],m=t[14],y=t[15],b=n[0],x=n[1],w=n[2],O=n[3];return e[0]=b*r+x*c+w*f+O*v,e[1]=b*o+x*u+w*d+O*g,e[2]=b*i+x*s+w*h+O*m,e[3]=b*a+x*l+w*p+O*y,b=n[4],x=n[5],w=n[6],O=n[7],e[4]=b*r+x*c+w*f+O*v,e[5]=b*o+x*u+w*d+O*g,e[6]=b*i+x*s+w*h+O*m,e[7]=b*a+x*l+w*p+O*y,b=n[8],x=n[9],w=n[10],O=n[11],e[8]=b*r+x*c+w*f+O*v,e[9]=b*o+x*u+w*d+O*g,e[10]=b*i+x*s+w*h+O*m,e[11]=b*a+x*l+w*p+O*y,b=n[12],x=n[13],w=n[14],O=n[15],e[12]=b*r+x*c+w*f+O*v,e[13]=b*o+x*u+w*d+O*g,e[14]=b*i+x*s+w*h+O*m,e[15]=b*a+x*l+w*p+O*y,e}function $e(e,t,n){var r,o,i,a,c,u,s,l,f,d,h,p,v=n[0],g=n[1],m=n[2];return t===e?(e[12]=t[0]*v+t[4]*g+t[8]*m+t[12],e[13]=t[1]*v+t[5]*g+t[9]*m+t[13],e[14]=t[2]*v+t[6]*g+t[10]*m+t[14],e[15]=t[3]*v+t[7]*g+t[11]*m+t[15]):(r=t[0],o=t[1],i=t[2],a=t[3],c=t[4],u=t[5],s=t[6],l=t[7],f=t[8],d=t[9],h=t[10],p=t[11],e[0]=r,e[1]=o,e[2]=i,e[3]=a,e[4]=c,e[5]=u,e[6]=s,e[7]=l,e[8]=f,e[9]=d,e[10]=h,e[11]=p,e[12]=r*v+c*g+f*m+t[12],e[13]=o*v+u*g+d*m+t[13],e[14]=i*v+s*g+h*m+t[14],e[15]=a*v+l*g+p*m+t[15]),e}function Qe(e,t,n){var r=n[0],o=n[1],i=n[2];return e[0]=t[0]*r,e[1]=t[1]*r,e[2]=t[2]*r,e[3]=t[3]*r,e[4]=t[4]*o,e[5]=t[5]*o,e[6]=t[6]*o,e[7]=t[7]*o,e[8]=t[8]*i,e[9]=t[9]*i,e[10]=t[10]*i,e[11]=t[11]*i,e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e}function Je(e,t,n,r){var o,i,a,c,u,s,f,d,h,p,v,g,m,y,b,x,w,O,E,S,j,k,_,C,M=r[0],A=r[1],N=r[2],T=Math.hypot(M,A,N);return T<l[\"EPSILON\"]?null:(T=1/T,M*=T,A*=T,N*=T,o=Math.sin(n),i=Math.cos(n),a=1-i,c=t[0],u=t[1],s=t[2],f=t[3],d=t[4],h=t[5],p=t[6],v=t[7],g=t[8],m=t[9],y=t[10],b=t[11],x=M*M*a+i,w=A*M*a+N*o,O=N*M*a-A*o,E=M*A*a-N*o,S=A*A*a+i,j=N*A*a+M*o,k=M*N*a+A*o,_=A*N*a-M*o,C=N*N*a+i,e[0]=c*x+d*w+g*O,e[1]=u*x+h*w+m*O,e[2]=s*x+p*w+y*O,e[3]=f*x+v*w+b*O,e[4]=c*E+d*S+g*j,e[5]=u*E+h*S+m*j,e[6]=s*E+p*S+y*j,e[7]=f*E+v*S+b*j,e[8]=c*k+d*_+g*C,e[9]=u*k+h*_+m*C,e[10]=s*k+p*_+y*C,e[11]=f*k+v*_+b*C,t!==e&&(e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e)}function et(e,t,n){var r=Math.sin(n),o=Math.cos(n),i=t[4],a=t[5],c=t[6],u=t[7],s=t[8],l=t[9],f=t[10],d=t[11];return t!==e&&(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[4]=i*o+s*r,e[5]=a*o+l*r,e[6]=c*o+f*r,e[7]=u*o+d*r,e[8]=s*o-i*r,e[9]=l*o-a*r,e[10]=f*o-c*r,e[11]=d*o-u*r,e}function tt(e,t,n){var r=Math.sin(n),o=Math.cos(n),i=t[0],a=t[1],c=t[2],u=t[3],s=t[8],l=t[9],f=t[10],d=t[11];return t!==e&&(e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=i*o-s*r,e[1]=a*o-l*r,e[2]=c*o-f*r,e[3]=u*o-d*r,e[8]=i*r+s*o,e[9]=a*r+l*o,e[10]=c*r+f*o,e[11]=u*r+d*o,e}function nt(e,t,n){var r=Math.sin(n),o=Math.cos(n),i=t[0],a=t[1],c=t[2],u=t[3],s=t[4],l=t[5],f=t[6],d=t[7];return t!==e&&(e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15]),e[0]=i*o+s*r,e[1]=a*o+l*r,e[2]=c*o+f*r,e[3]=u*o+d*r,e[4]=s*o-i*r,e[5]=l*o-a*r,e[6]=f*o-c*r,e[7]=d*o-u*r,e}function rt(e,t){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=t[0],e[13]=t[1],e[14]=t[2],e[15]=1,e}function ot(e,t){return e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=t[1],e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=t[2],e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function it(e,t,n){var r,o,i,a=n[0],c=n[1],u=n[2],s=Math.hypot(a,c,u);return s<l[\"EPSILON\"]?null:(s=1/s,a*=s,c*=s,u*=s,r=Math.sin(t),o=Math.cos(t),i=1-o,e[0]=a*a*i+o,e[1]=c*a*i+u*r,e[2]=u*a*i-c*r,e[3]=0,e[4]=a*c*i-u*r,e[5]=c*c*i+o,e[6]=u*c*i+a*r,e[7]=0,e[8]=a*u*i+c*r,e[9]=c*u*i-a*r,e[10]=u*u*i+o,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e)}function at(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=r,e[6]=n,e[7]=0,e[8]=0,e[9]=-n,e[10]=r,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function ct(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=0,e[2]=-n,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=n,e[9]=0,e[10]=r,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function ut(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[2]=0,e[3]=0,e[4]=-n,e[5]=r,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function st(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],c=r+r,u=o+o,s=i+i,l=r*c,f=r*u,d=r*s,h=o*u,p=o*s,v=i*s,g=a*c,m=a*u,y=a*s;return e[0]=1-(h+v),e[1]=f+y,e[2]=d-m,e[3]=0,e[4]=f-y,e[5]=1-(l+v),e[6]=p+g,e[7]=0,e[8]=d+m,e[9]=p-g,e[10]=1-(l+h),e[11]=0,e[12]=n[0],e[13]=n[1],e[14]=n[2],e[15]=1,e}function lt(e,t){var n=new l[\"ARRAY_TYPE\"](3),r=-t[0],o=-t[1],i=-t[2],a=t[3],c=t[4],u=t[5],s=t[6],f=t[7],d=r*r+o*o+i*i+a*a;return d>0?(n[0]=2*(c*a+f*r+u*i-s*o)/d,n[1]=2*(u*a+f*o+s*r-c*i)/d,n[2]=2*(s*a+f*i+c*o-u*r)/d):(n[0]=2*(c*a+f*r+u*i-s*o),n[1]=2*(u*a+f*o+s*r-c*i),n[2]=2*(s*a+f*i+c*o-u*r)),st(e,t,n),e}function ft(e,t){return e[0]=t[12],e[1]=t[13],e[2]=t[14],e}function dt(e,t){var n=t[0],r=t[1],o=t[2],i=t[4],a=t[5],c=t[6],u=t[8],s=t[9],l=t[10];return e[0]=Math.hypot(n,r,o),e[1]=Math.hypot(i,a,c),e[2]=Math.hypot(u,s,l),e}function ht(e,t){var n=new l[\"ARRAY_TYPE\"](3);dt(n,t);var r=1/n[0],o=1/n[1],i=1/n[2],a=t[0]*r,c=t[1]*o,u=t[2]*i,s=t[4]*r,f=t[5]*o,d=t[6]*i,h=t[8]*r,p=t[9]*o,v=t[10]*i,g=a+f+v,m=0;return g>0?(m=2*Math.sqrt(g+1),e[3]=.25*m,e[0]=(d-p)/m,e[1]=(h-u)/m,e[2]=(c-s)/m):a>f&&a>v?(m=2*Math.sqrt(1+a-f-v),e[3]=(d-p)/m,e[0]=.25*m,e[1]=(c+s)/m,e[2]=(h+u)/m):f>v?(m=2*Math.sqrt(1+f-a-v),e[3]=(h-u)/m,e[0]=(c+s)/m,e[1]=.25*m,e[2]=(d+p)/m):(m=2*Math.sqrt(1+v-a-f),e[3]=(c-s)/m,e[0]=(h+u)/m,e[1]=(d+p)/m,e[2]=.25*m),e}function pt(e,t,n,r){var o=t[0],i=t[1],a=t[2],c=t[3],u=o+o,s=i+i,l=a+a,f=o*u,d=o*s,h=o*l,p=i*s,v=i*l,g=a*l,m=c*u,y=c*s,b=c*l,x=r[0],w=r[1],O=r[2];return e[0]=(1-(p+g))*x,e[1]=(d+b)*x,e[2]=(h-y)*x,e[3]=0,e[4]=(d-b)*w,e[5]=(1-(f+g))*w,e[6]=(v+m)*w,e[7]=0,e[8]=(h+y)*O,e[9]=(v-m)*O,e[10]=(1-(f+p))*O,e[11]=0,e[12]=n[0],e[13]=n[1],e[14]=n[2],e[15]=1,e}function vt(e,t,n,r,o){var i=t[0],a=t[1],c=t[2],u=t[3],s=i+i,l=a+a,f=c+c,d=i*s,h=i*l,p=i*f,v=a*l,g=a*f,m=c*f,y=u*s,b=u*l,x=u*f,w=r[0],O=r[1],E=r[2],S=o[0],j=o[1],k=o[2],_=(1-(v+m))*w,C=(h+x)*w,M=(p-b)*w,A=(h-x)*O,N=(1-(d+m))*O,T=(g+y)*O,I=(p+b)*E,P=(g-y)*E,L=(1-(d+v))*E;return e[0]=_,e[1]=C,e[2]=M,e[3]=0,e[4]=A,e[5]=N,e[6]=T,e[7]=0,e[8]=I,e[9]=P,e[10]=L,e[11]=0,e[12]=n[0]+S-(_*S+A*j+I*k),e[13]=n[1]+j-(C*S+N*j+P*k),e[14]=n[2]+k-(M*S+T*j+L*k),e[15]=1,e}function gt(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=n+n,c=r+r,u=o+o,s=n*a,l=r*a,f=r*c,d=o*a,h=o*c,p=o*u,v=i*a,g=i*c,m=i*u;return e[0]=1-f-p,e[1]=l+m,e[2]=d-g,e[3]=0,e[4]=l-m,e[5]=1-s-p,e[6]=h+v,e[7]=0,e[8]=d+g,e[9]=h-v,e[10]=1-s-f,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}function mt(e,t,n,r,o,i,a){var c=1/(n-t),u=1/(o-r),s=1/(i-a);return e[0]=2*i*c,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=2*i*u,e[6]=0,e[7]=0,e[8]=(n+t)*c,e[9]=(o+r)*u,e[10]=(a+i)*s,e[11]=-1,e[12]=0,e[13]=0,e[14]=a*i*2*s,e[15]=0,e}function yt(e,t,n,r,o){var i,a=1/Math.tan(t/2);return e[0]=a/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,null!=o&&o!==1/0?(i=1/(r-o),e[10]=(o+r)*i,e[14]=2*o*r*i):(e[10]=-1,e[14]=-2*r),e}var bt=yt;function xt(e,t,n,r,o){var i,a=1/Math.tan(t/2);return e[0]=a/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[11]=-1,e[12]=0,e[13]=0,e[15]=0,null!=o&&o!==1/0?(i=1/(r-o),e[10]=o*i,e[14]=o*r*i):(e[10]=-1,e[14]=-r),e}function wt(e,t,n,r){var o=Math.tan(t.upDegrees*Math.PI/180),i=Math.tan(t.downDegrees*Math.PI/180),a=Math.tan(t.leftDegrees*Math.PI/180),c=Math.tan(t.rightDegrees*Math.PI/180),u=2/(a+c),s=2/(o+i);return e[0]=u,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=s,e[6]=0,e[7]=0,e[8]=-(a-c)*u*.5,e[9]=(o-i)*s*.5,e[10]=r/(n-r),e[11]=-1,e[12]=0,e[13]=0,e[14]=r*n/(n-r),e[15]=0,e}function Ot(e,t,n,r,o,i,a){var c=1/(t-n),u=1/(r-o),s=1/(i-a);return e[0]=-2*c,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*u,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*s,e[11]=0,e[12]=(t+n)*c,e[13]=(o+r)*u,e[14]=(a+i)*s,e[15]=1,e}var Et=Ot;function St(e,t,n,r,o,i,a){var c=1/(t-n),u=1/(r-o),s=1/(i-a);return e[0]=-2*c,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*u,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=s,e[11]=0,e[12]=(t+n)*c,e[13]=(o+r)*u,e[14]=i*s,e[15]=1,e}function jt(e,t,n,r){var o,i,a,c,u,s,f,d,h,p,v=t[0],g=t[1],m=t[2],y=r[0],b=r[1],x=r[2],w=n[0],O=n[1],E=n[2];return Math.abs(v-w)<l[\"EPSILON\"]&&Math.abs(g-O)<l[\"EPSILON\"]&&Math.abs(m-E)<l[\"EPSILON\"]?He(e):(f=v-w,d=g-O,h=m-E,p=1/Math.hypot(f,d,h),f*=p,d*=p,h*=p,o=b*h-x*d,i=x*f-y*h,a=y*d-b*f,p=Math.hypot(o,i,a),p?(p=1/p,o*=p,i*=p,a*=p):(o=0,i=0,a=0),c=d*a-h*i,u=h*o-f*a,s=f*i-d*o,p=Math.hypot(c,u,s),p?(p=1/p,c*=p,u*=p,s*=p):(c=0,u=0,s=0),e[0]=o,e[1]=c,e[2]=f,e[3]=0,e[4]=i,e[5]=u,e[6]=d,e[7]=0,e[8]=a,e[9]=s,e[10]=h,e[11]=0,e[12]=-(o*v+i*g+a*m),e[13]=-(c*v+u*g+s*m),e[14]=-(f*v+d*g+h*m),e[15]=1,e)}function kt(e,t,n,r){var o=t[0],i=t[1],a=t[2],c=r[0],u=r[1],s=r[2],l=o-n[0],f=i-n[1],d=a-n[2],h=l*l+f*f+d*d;h>0&&(h=1/Math.sqrt(h),l*=h,f*=h,d*=h);var p=u*d-s*f,v=s*l-c*d,g=c*f-u*l;return h=p*p+v*v+g*g,h>0&&(h=1/Math.sqrt(h),p*=h,v*=h,g*=h),e[0]=p,e[1]=v,e[2]=g,e[3]=0,e[4]=f*g-d*v,e[5]=d*p-l*g,e[6]=l*v-f*p,e[7]=0,e[8]=l,e[9]=f,e[10]=d,e[11]=0,e[12]=o,e[13]=i,e[14]=a,e[15]=1,e}function _t(e){return\"mat4(\"+e[0]+\", \"+e[1]+\", \"+e[2]+\", \"+e[3]+\", \"+e[4]+\", \"+e[5]+\", \"+e[6]+\", \"+e[7]+\", \"+e[8]+\", \"+e[9]+\", \"+e[10]+\", \"+e[11]+\", \"+e[12]+\", \"+e[13]+\", \"+e[14]+\", \"+e[15]+\")\"}function Ct(e){return Math.hypot(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}function Mt(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e[6]=t[6]+n[6],e[7]=t[7]+n[7],e[8]=t[8]+n[8],e[9]=t[9]+n[9],e[10]=t[10]+n[10],e[11]=t[11]+n[11],e[12]=t[12]+n[12],e[13]=t[13]+n[13],e[14]=t[14]+n[14],e[15]=t[15]+n[15],e}function At(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e[4]=t[4]-n[4],e[5]=t[5]-n[5],e[6]=t[6]-n[6],e[7]=t[7]-n[7],e[8]=t[8]-n[8],e[9]=t[9]-n[9],e[10]=t[10]-n[10],e[11]=t[11]-n[11],e[12]=t[12]-n[12],e[13]=t[13]-n[13],e[14]=t[14]-n[14],e[15]=t[15]-n[15],e}function Nt(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e[6]=t[6]*n,e[7]=t[7]*n,e[8]=t[8]*n,e[9]=t[9]*n,e[10]=t[10]*n,e[11]=t[11]*n,e[12]=t[12]*n,e[13]=t[13]*n,e[14]=t[14]*n,e[15]=t[15]*n,e}function Tt(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e[4]=t[4]+n[4]*r,e[5]=t[5]+n[5]*r,e[6]=t[6]+n[6]*r,e[7]=t[7]+n[7]*r,e[8]=t[8]+n[8]*r,e[9]=t[9]+n[9]*r,e[10]=t[10]+n[10]*r,e[11]=t[11]+n[11]*r,e[12]=t[12]+n[12]*r,e[13]=t[13]+n[13]*r,e[14]=t[14]+n[14]*r,e[15]=t[15]+n[15]*r,e}function It(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]&&e[8]===t[8]&&e[9]===t[9]&&e[10]===t[10]&&e[11]===t[11]&&e[12]===t[12]&&e[13]===t[13]&&e[14]===t[14]&&e[15]===t[15]}function Pt(e,t){var n=e[0],r=e[1],o=e[2],i=e[3],a=e[4],c=e[5],u=e[6],s=e[7],f=e[8],d=e[9],h=e[10],p=e[11],v=e[12],g=e[13],m=e[14],y=e[15],b=t[0],x=t[1],w=t[2],O=t[3],E=t[4],S=t[5],j=t[6],k=t[7],_=t[8],C=t[9],M=t[10],A=t[11],N=t[12],T=t[13],I=t[14],P=t[15];return Math.abs(n-b)<=l[\"EPSILON\"]*Math.max(1,Math.abs(n),Math.abs(b))&&Math.abs(r-x)<=l[\"EPSILON\"]*Math.max(1,Math.abs(r),Math.abs(x))&&Math.abs(o-w)<=l[\"EPSILON\"]*Math.max(1,Math.abs(o),Math.abs(w))&&Math.abs(i-O)<=l[\"EPSILON\"]*Math.max(1,Math.abs(i),Math.abs(O))&&Math.abs(a-E)<=l[\"EPSILON\"]*Math.max(1,Math.abs(a),Math.abs(E))&&Math.abs(c-S)<=l[\"EPSILON\"]*Math.max(1,Math.abs(c),Math.abs(S))&&Math.abs(u-j)<=l[\"EPSILON\"]*Math.max(1,Math.abs(u),Math.abs(j))&&Math.abs(s-k)<=l[\"EPSILON\"]*Math.max(1,Math.abs(s),Math.abs(k))&&Math.abs(f-_)<=l[\"EPSILON\"]*Math.max(1,Math.abs(f),Math.abs(_))&&Math.abs(d-C)<=l[\"EPSILON\"]*Math.max(1,Math.abs(d),Math.abs(C))&&Math.abs(h-M)<=l[\"EPSILON\"]*Math.max(1,Math.abs(h),Math.abs(M))&&Math.abs(p-A)<=l[\"EPSILON\"]*Math.max(1,Math.abs(p),Math.abs(A))&&Math.abs(v-N)<=l[\"EPSILON\"]*Math.max(1,Math.abs(v),Math.abs(N))&&Math.abs(g-T)<=l[\"EPSILON\"]*Math.max(1,Math.abs(g),Math.abs(T))&&Math.abs(m-I)<=l[\"EPSILON\"]*Math.max(1,Math.abs(m),Math.abs(I))&&Math.abs(y-P)<=l[\"EPSILON\"]*Math.max(1,Math.abs(y),Math.abs(P))}var Lt=Ze,Dt=At,Rt=n(\"n+fv\");function Ft(){var e=new l[\"ARRAY_TYPE\"](4);return l[\"ARRAY_TYPE\"]!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0,e[3]=0),e}function Bt(e){var t=new l[\"ARRAY_TYPE\"](4);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function zt(e,t,n,r){var o=new l[\"ARRAY_TYPE\"](4);return o[0]=e,o[1]=t,o[2]=n,o[3]=r,o}function Ut(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function Gt(e,t,n,r,o){return e[0]=t,e[1]=n,e[2]=r,e[3]=o,e}function Vt(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e}function Wt(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e}function Ht(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e[3]=t[3]*n[3],e}function Yt(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e[3]=t[3]/n[3],e}function Xt(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e[3]=Math.ceil(t[3]),e}function qt(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e[3]=Math.floor(t[3]),e}function Kt(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e[3]=Math.min(t[3],n[3]),e}function Zt(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e[3]=Math.max(t[3],n[3]),e}function $t(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e[3]=Math.round(t[3]),e}function Qt(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e}function Jt(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e}function en(e,t){var n=t[0]-e[0],r=t[1]-e[1],o=t[2]-e[2],i=t[3]-e[3];return Math.hypot(n,r,o,i)}function tn(e,t){var n=t[0]-e[0],r=t[1]-e[1],o=t[2]-e[2],i=t[3]-e[3];return n*n+r*r+o*o+i*i}function nn(e){var t=e[0],n=e[1],r=e[2],o=e[3];return Math.hypot(t,n,r,o)}function rn(e){var t=e[0],n=e[1],r=e[2],o=e[3];return t*t+n*n+r*r+o*o}function on(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e}function an(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e}function cn(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=n*n+r*r+o*o+i*i;return a>0&&(a=1/Math.sqrt(a)),e[0]=n*a,e[1]=r*a,e[2]=o*a,e[3]=i*a,e}function un(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}function sn(e,t,n,r){var o=n[0]*r[1]-n[1]*r[0],i=n[0]*r[2]-n[2]*r[0],a=n[0]*r[3]-n[3]*r[0],c=n[1]*r[2]-n[2]*r[1],u=n[1]*r[3]-n[3]*r[1],s=n[2]*r[3]-n[3]*r[2],l=t[0],f=t[1],d=t[2],h=t[3];return e[0]=f*s-d*u+h*c,e[1]=-l*s+d*a-h*i,e[2]=l*u-f*a+h*o,e[3]=-l*c+f*i-d*o,e}function ln(e,t,n,r){var o=t[0],i=t[1],a=t[2],c=t[3];return e[0]=o+r*(n[0]-o),e[1]=i+r*(n[1]-i),e[2]=a+r*(n[2]-a),e[3]=c+r*(n[3]-c),e}function fn(e,t){var n,r,o,i,a,c;t=t||1;do{n=2*l[\"RANDOM\"]()-1,r=2*l[\"RANDOM\"]()-1,a=n*n+r*r}while(a>=1);do{o=2*l[\"RANDOM\"]()-1,i=2*l[\"RANDOM\"]()-1,c=o*o+i*i}while(c>=1);var u=Math.sqrt((1-a)/c);return e[0]=t*n,e[1]=t*r,e[2]=t*o*u,e[3]=t*i*u,e}function dn(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3];return e[0]=n[0]*r+n[4]*o+n[8]*i+n[12]*a,e[1]=n[1]*r+n[5]*o+n[9]*i+n[13]*a,e[2]=n[2]*r+n[6]*o+n[10]*i+n[14]*a,e[3]=n[3]*r+n[7]*o+n[11]*i+n[15]*a,e}function hn(e,t,n){var r=t[0],o=t[1],i=t[2],a=n[0],c=n[1],u=n[2],s=n[3],l=s*r+c*i-u*o,f=s*o+u*r-a*i,d=s*i+a*o-c*r,h=-a*r-c*o-u*i;return e[0]=l*s+h*-a+f*-u-d*-c,e[1]=f*s+h*-c+d*-a-l*-u,e[2]=d*s+h*-u+l*-c-f*-a,e[3]=t[3],e}function pn(e){return e[0]=0,e[1]=0,e[2]=0,e[3]=0,e}function vn(e){return\"vec4(\"+e[0]+\", \"+e[1]+\", \"+e[2]+\", \"+e[3]+\")\"}function gn(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]}function mn(e,t){var n=e[0],r=e[1],o=e[2],i=e[3],a=t[0],c=t[1],u=t[2],s=t[3];return Math.abs(n-a)<=l[\"EPSILON\"]*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(r-c)<=l[\"EPSILON\"]*Math.max(1,Math.abs(r),Math.abs(c))&&Math.abs(o-u)<=l[\"EPSILON\"]*Math.max(1,Math.abs(o),Math.abs(u))&&Math.abs(i-s)<=l[\"EPSILON\"]*Math.max(1,Math.abs(i),Math.abs(s))}var yn=Wt,bn=Ht,xn=Yt,wn=en,On=tn,En=nn,Sn=rn,jn=function(){var e=Ft();return function(t,n,r,o,i,a){var c,u;for(n||(n=4),r||(r=0),u=o?Math.min(o*n+r,t.length):t.length,c=r;c<u;c+=n)e[0]=t[c],e[1]=t[c+1],e[2]=t[c+2],e[3]=t[c+3],i(e,e,a),t[c]=e[0],t[c+1]=e[1],t[c+2]=e[2],t[c+3]=e[3];return t}}();function kn(){var e=new l[\"ARRAY_TYPE\"](4);return l[\"ARRAY_TYPE\"]!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e[3]=1,e}function _n(e){return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e}function Cn(e,t,n){n*=.5;var r=Math.sin(n);return e[0]=r*t[0],e[1]=r*t[1],e[2]=r*t[2],e[3]=Math.cos(n),e}function Mn(e,t){var n=2*Math.acos(t[3]),r=Math.sin(n/2);return r>l[\"EPSILON\"]?(e[0]=t[0]/r,e[1]=t[1]/r,e[2]=t[2]/r):(e[0]=1,e[1]=0,e[2]=0),n}function An(e,t){var n=Jn(e,t);return Math.acos(2*n*n-1)}function Nn(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],c=n[0],u=n[1],s=n[2],l=n[3];return e[0]=r*l+a*c+o*s-i*u,e[1]=o*l+a*u+i*c-r*s,e[2]=i*l+a*s+r*u-o*c,e[3]=a*l-r*c-o*u-i*s,e}function Tn(e,t,n){n*=.5;var r=t[0],o=t[1],i=t[2],a=t[3],c=Math.sin(n),u=Math.cos(n);return e[0]=r*u+a*c,e[1]=o*u+i*c,e[2]=i*u-o*c,e[3]=a*u-r*c,e}function In(e,t,n){n*=.5;var r=t[0],o=t[1],i=t[2],a=t[3],c=Math.sin(n),u=Math.cos(n);return e[0]=r*u-i*c,e[1]=o*u+a*c,e[2]=i*u+r*c,e[3]=a*u-o*c,e}function Pn(e,t,n){n*=.5;var r=t[0],o=t[1],i=t[2],a=t[3],c=Math.sin(n),u=Math.cos(n);return e[0]=r*u+o*c,e[1]=o*u-r*c,e[2]=i*u+a*c,e[3]=a*u-i*c,e}function Ln(e,t){var n=t[0],r=t[1],o=t[2];return e[0]=n,e[1]=r,e[2]=o,e[3]=Math.sqrt(Math.abs(1-n*n-r*r-o*o)),e}function Dn(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=Math.sqrt(n*n+r*r+o*o),c=Math.exp(i),u=a>0?c*Math.sin(a)/a:0;return e[0]=n*u,e[1]=r*u,e[2]=o*u,e[3]=c*Math.cos(a),e}function Rn(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=Math.sqrt(n*n+r*r+o*o),c=a>0?Math.atan2(a,i)/a:0;return e[0]=n*c,e[1]=r*c,e[2]=o*c,e[3]=.5*Math.log(n*n+r*r+o*o+i*i),e}function Fn(e,t,n){return Rn(e,t),Qn(e,e,n),Dn(e,e),e}function Bn(e,t,n,r){var o,i,a,c,u,s=t[0],f=t[1],d=t[2],h=t[3],p=n[0],v=n[1],g=n[2],m=n[3];return i=s*p+f*v+d*g+h*m,i<0&&(i=-i,p=-p,v=-v,g=-g,m=-m),1-i>l[\"EPSILON\"]?(o=Math.acos(i),a=Math.sin(o),c=Math.sin((1-r)*o)/a,u=Math.sin(r*o)/a):(c=1-r,u=r),e[0]=c*s+u*p,e[1]=c*f+u*v,e[2]=c*d+u*g,e[3]=c*h+u*m,e}function zn(e){var t=l[\"RANDOM\"](),n=l[\"RANDOM\"](),r=l[\"RANDOM\"](),o=Math.sqrt(1-t),i=Math.sqrt(t);return e[0]=o*Math.sin(2*Math.PI*n),e[1]=o*Math.cos(2*Math.PI*n),e[2]=i*Math.sin(2*Math.PI*r),e[3]=i*Math.cos(2*Math.PI*r),e}function Un(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=n*n+r*r+o*o+i*i,c=a?1/a:0;return e[0]=-n*c,e[1]=-r*c,e[2]=-o*c,e[3]=i*c,e}function Gn(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=t[3],e}function Vn(e,t){var n,r=t[0]+t[4]+t[8];if(r>0)n=Math.sqrt(r+1),e[3]=.5*n,n=.5/n,e[0]=(t[5]-t[7])*n,e[1]=(t[6]-t[2])*n,e[2]=(t[1]-t[3])*n;else{var o=0;t[4]>t[0]&&(o=1),t[8]>t[3*o+o]&&(o=2);var i=(o+1)%3,a=(o+2)%3;n=Math.sqrt(t[3*o+o]-t[3*i+i]-t[3*a+a]+1),e[o]=.5*n,n=.5/n,e[3]=(t[3*i+a]-t[3*a+i])*n,e[i]=(t[3*i+o]+t[3*o+i])*n,e[a]=(t[3*a+o]+t[3*o+a])*n}return e}function Wn(e,t,n,r){var o=.5*Math.PI/180;t*=o,n*=o,r*=o;var i=Math.sin(t),a=Math.cos(t),c=Math.sin(n),u=Math.cos(n),s=Math.sin(r),l=Math.cos(r);return e[0]=i*u*l-a*c*s,e[1]=a*c*l+i*u*s,e[2]=a*u*s-i*c*l,e[3]=a*u*l+i*c*s,e}function Hn(e){return\"quat(\"+e[0]+\", \"+e[1]+\", \"+e[2]+\", \"+e[3]+\")\"}var Yn=Bt,Xn=zt,qn=Ut,Kn=Gt,Zn=Vt,$n=Nn,Qn=Qt,Jn=un,er=ln,tr=nn,nr=tr,rr=rn,or=rr,ir=cn,ar=gn,cr=mn,ur=function(){var e=Rt[\"create\"](),t=Rt[\"fromValues\"](1,0,0),n=Rt[\"fromValues\"](0,1,0);return function(r,o,i){var a=Rt[\"dot\"](o,i);return a<-.999999?(Rt[\"cross\"](e,t,o),Rt[\"len\"](e)<1e-6&&Rt[\"cross\"](e,n,o),Rt[\"normalize\"](e,e),Cn(r,e,Math.PI),r):a>.999999?(r[0]=0,r[1]=0,r[2]=0,r[3]=1,r):(Rt[\"cross\"](e,o,i),r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=1+a,ir(r,r))}}(),sr=function(){var e=kn(),t=kn();return function(n,r,o,i,a,c){return Bn(e,r,a,c),Bn(t,o,i,c),Bn(n,e,t,2*c*(1-c)),n}}(),lr=function(){var e=ue();return function(t,n,r,o){return e[0]=r[0],e[3]=r[1],e[6]=r[2],e[1]=o[0],e[4]=o[1],e[7]=o[2],e[2]=-n[0],e[5]=-n[1],e[8]=-n[2],ir(t,Vn(t,e))}}();function fr(){var e=new l[\"ARRAY_TYPE\"](8);return l[\"ARRAY_TYPE\"]!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0,e[4]=0,e[5]=0,e[6]=0,e[7]=0),e[3]=1,e}function dr(e){var t=new l[\"ARRAY_TYPE\"](8);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}function hr(e,t,n,r,o,i,a,c){var u=new l[\"ARRAY_TYPE\"](8);return u[0]=e,u[1]=t,u[2]=n,u[3]=r,u[4]=o,u[5]=i,u[6]=a,u[7]=c,u}function pr(e,t,n,r,o,i,a){var c=new l[\"ARRAY_TYPE\"](8);c[0]=e,c[1]=t,c[2]=n,c[3]=r;var u=.5*o,s=.5*i,f=.5*a;return c[4]=u*r+s*n-f*t,c[5]=s*r+f*e-u*n,c[6]=f*r+u*t-s*e,c[7]=-u*e-s*t-f*n,c}function vr(e,t,n){var r=.5*n[0],o=.5*n[1],i=.5*n[2],a=t[0],c=t[1],u=t[2],s=t[3];return e[0]=a,e[1]=c,e[2]=u,e[3]=s,e[4]=r*s+o*u-i*c,e[5]=o*s+i*a-r*u,e[6]=i*s+r*c-o*a,e[7]=-r*a-o*c-i*u,e}function gr(e,t){return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e[4]=.5*t[0],e[5]=.5*t[1],e[6]=.5*t[2],e[7]=0,e}function mr(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=0,e[5]=0,e[6]=0,e[7]=0,e}function yr(e,t){var n=kn();ht(n,t);var r=new l[\"ARRAY_TYPE\"](3);return ft(r,t),vr(e,n,r),e}function br(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e}function xr(e){return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e[6]=0,e[7]=0,e}function wr(e,t,n,r,o,i,a,c,u){return e[0]=t,e[1]=n,e[2]=r,e[3]=o,e[4]=i,e[5]=a,e[6]=c,e[7]=u,e}var Or=qn;function Er(e,t){return e[0]=t[4],e[1]=t[5],e[2]=t[6],e[3]=t[7],e}var Sr=qn;function jr(e,t){return e[4]=t[0],e[5]=t[1],e[6]=t[2],e[7]=t[3],e}function kr(e,t){var n=t[4],r=t[5],o=t[6],i=t[7],a=-t[0],c=-t[1],u=-t[2],s=t[3];return e[0]=2*(n*s+i*a+r*u-o*c),e[1]=2*(r*s+i*c+o*a-n*u),e[2]=2*(o*s+i*u+n*c-r*a),e}function _r(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],c=.5*n[0],u=.5*n[1],s=.5*n[2],l=t[4],f=t[5],d=t[6],h=t[7];return e[0]=r,e[1]=o,e[2]=i,e[3]=a,e[4]=a*c+o*s-i*u+l,e[5]=a*u+i*c-r*s+f,e[6]=a*s+r*u-o*c+d,e[7]=-r*c-o*u-i*s+h,e}function Cr(e,t,n){var r=-t[0],o=-t[1],i=-t[2],a=t[3],c=t[4],u=t[5],s=t[6],l=t[7],f=c*a+l*r+u*i-s*o,d=u*a+l*o+s*r-c*i,h=s*a+l*i+c*o-u*r,p=l*a-c*r-u*o-s*i;return Tn(e,t,n),r=e[0],o=e[1],i=e[2],a=e[3],e[4]=f*a+p*r+d*i-h*o,e[5]=d*a+p*o+h*r-f*i,e[6]=h*a+p*i+f*o-d*r,e[7]=p*a-f*r-d*o-h*i,e}function Mr(e,t,n){var r=-t[0],o=-t[1],i=-t[2],a=t[3],c=t[4],u=t[5],s=t[6],l=t[7],f=c*a+l*r+u*i-s*o,d=u*a+l*o+s*r-c*i,h=s*a+l*i+c*o-u*r,p=l*a-c*r-u*o-s*i;return In(e,t,n),r=e[0],o=e[1],i=e[2],a=e[3],e[4]=f*a+p*r+d*i-h*o,e[5]=d*a+p*o+h*r-f*i,e[6]=h*a+p*i+f*o-d*r,e[7]=p*a-f*r-d*o-h*i,e}function Ar(e,t,n){var r=-t[0],o=-t[1],i=-t[2],a=t[3],c=t[4],u=t[5],s=t[6],l=t[7],f=c*a+l*r+u*i-s*o,d=u*a+l*o+s*r-c*i,h=s*a+l*i+c*o-u*r,p=l*a-c*r-u*o-s*i;return Pn(e,t,n),r=e[0],o=e[1],i=e[2],a=e[3],e[4]=f*a+p*r+d*i-h*o,e[5]=d*a+p*o+h*r-f*i,e[6]=h*a+p*i+f*o-d*r,e[7]=p*a-f*r-d*o-h*i,e}function Nr(e,t,n){var r=n[0],o=n[1],i=n[2],a=n[3],c=t[0],u=t[1],s=t[2],l=t[3];return e[0]=c*a+l*r+u*i-s*o,e[1]=u*a+l*o+s*r-c*i,e[2]=s*a+l*i+c*o-u*r,e[3]=l*a-c*r-u*o-s*i,c=t[4],u=t[5],s=t[6],l=t[7],e[4]=c*a+l*r+u*i-s*o,e[5]=u*a+l*o+s*r-c*i,e[6]=s*a+l*i+c*o-u*r,e[7]=l*a-c*r-u*o-s*i,e}function Tr(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],c=n[0],u=n[1],s=n[2],l=n[3];return e[0]=r*l+a*c+o*s-i*u,e[1]=o*l+a*u+i*c-r*s,e[2]=i*l+a*s+r*u-o*c,e[3]=a*l-r*c-o*u-i*s,c=n[4],u=n[5],s=n[6],l=n[7],e[4]=r*l+a*c+o*s-i*u,e[5]=o*l+a*u+i*c-r*s,e[6]=i*l+a*s+r*u-o*c,e[7]=a*l-r*c-o*u-i*s,e}function Ir(e,t,n,r){if(Math.abs(r)<l[\"EPSILON\"])return br(e,t);var o=Math.hypot(n[0],n[1],n[2]);r*=.5;var i=Math.sin(r),a=i*n[0]/o,c=i*n[1]/o,u=i*n[2]/o,s=Math.cos(r),f=t[0],d=t[1],h=t[2],p=t[3];e[0]=f*s+p*a+d*u-h*c,e[1]=d*s+p*c+h*a-f*u,e[2]=h*s+p*u+f*c-d*a,e[3]=p*s-f*a-d*c-h*u;var v=t[4],g=t[5],m=t[6],y=t[7];return e[4]=v*s+y*a+g*u-m*c,e[5]=g*s+y*c+m*a-v*u,e[6]=m*s+y*u+v*c-g*a,e[7]=y*s-v*a-g*c-m*u,e}function Pr(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e[4]=t[4]+n[4],e[5]=t[5]+n[5],e[6]=t[6]+n[6],e[7]=t[7]+n[7],e}function Lr(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],c=n[4],u=n[5],s=n[6],l=n[7],f=t[4],d=t[5],h=t[6],p=t[7],v=n[0],g=n[1],m=n[2],y=n[3];return e[0]=r*y+a*v+o*m-i*g,e[1]=o*y+a*g+i*v-r*m,e[2]=i*y+a*m+r*g-o*v,e[3]=a*y-r*v-o*g-i*m,e[4]=r*l+a*c+o*s-i*u+f*y+p*v+d*m-h*g,e[5]=o*l+a*u+i*c-r*s+d*y+p*g+h*v-f*m,e[6]=i*l+a*s+r*u-o*c+h*y+p*m+f*g-d*v,e[7]=a*l-r*c-o*u-i*s+p*y-f*v-d*g-h*m,e}var Dr=Lr;function Rr(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e[4]=t[4]*n,e[5]=t[5]*n,e[6]=t[6]*n,e[7]=t[7]*n,e}var Fr=Jn;function Br(e,t,n,r){var o=1-r;return Fr(t,n)<0&&(r=-r),e[0]=t[0]*o+n[0]*r,e[1]=t[1]*o+n[1]*r,e[2]=t[2]*o+n[2]*r,e[3]=t[3]*o+n[3]*r,e[4]=t[4]*o+n[4]*r,e[5]=t[5]*o+n[5]*r,e[6]=t[6]*o+n[6]*r,e[7]=t[7]*o+n[7]*r,e}function zr(e,t){var n=Wr(t);return e[0]=-t[0]/n,e[1]=-t[1]/n,e[2]=-t[2]/n,e[3]=t[3]/n,e[4]=-t[4]/n,e[5]=-t[5]/n,e[6]=-t[6]/n,e[7]=t[7]/n,e}function Ur(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=t[3],e[4]=-t[4],e[5]=-t[5],e[6]=-t[6],e[7]=t[7],e}var Gr=tr,Vr=Gr,Wr=rr,Hr=Wr;function Yr(e,t){var n=Wr(t);if(n>0){n=Math.sqrt(n);var r=t[0]/n,o=t[1]/n,i=t[2]/n,a=t[3]/n,c=t[4],u=t[5],s=t[6],l=t[7],f=r*c+o*u+i*s+a*l;e[0]=r,e[1]=o,e[2]=i,e[3]=a,e[4]=(c-r*f)/n,e[5]=(u-o*f)/n,e[6]=(s-i*f)/n,e[7]=(l-a*f)/n}return e}function Xr(e){return\"quat2(\"+e[0]+\", \"+e[1]+\", \"+e[2]+\", \"+e[3]+\", \"+e[4]+\", \"+e[5]+\", \"+e[6]+\", \"+e[7]+\")\"}function qr(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]}function Kr(e,t){var n=e[0],r=e[1],o=e[2],i=e[3],a=e[4],c=e[5],u=e[6],s=e[7],f=t[0],d=t[1],h=t[2],p=t[3],v=t[4],g=t[5],m=t[6],y=t[7];return Math.abs(n-f)<=l[\"EPSILON\"]*Math.max(1,Math.abs(n),Math.abs(f))&&Math.abs(r-d)<=l[\"EPSILON\"]*Math.max(1,Math.abs(r),Math.abs(d))&&Math.abs(o-h)<=l[\"EPSILON\"]*Math.max(1,Math.abs(o),Math.abs(h))&&Math.abs(i-p)<=l[\"EPSILON\"]*Math.max(1,Math.abs(i),Math.abs(p))&&Math.abs(a-v)<=l[\"EPSILON\"]*Math.max(1,Math.abs(a),Math.abs(v))&&Math.abs(c-g)<=l[\"EPSILON\"]*Math.max(1,Math.abs(c),Math.abs(g))&&Math.abs(u-m)<=l[\"EPSILON\"]*Math.max(1,Math.abs(u),Math.abs(m))&&Math.abs(s-y)<=l[\"EPSILON\"]*Math.max(1,Math.abs(s),Math.abs(y))}var Zr=n(\"ZxFD\")},IZzc:function(e,t,n){\"use strict\";var r=n(\"67WC\"),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].sort;i(\"sort\",(function(e){return a.call(o(this),e)}))},Ib8C:function(e,t,n){(function(t){(function(t,n){e.exports=n()})(0,(function(){var e=e||function(e,r){var o;if(\"undefined\"!==typeof window&&window.crypto&&(o=window.crypto),\"undefined\"!==typeof self&&self.crypto&&(o=self.crypto),\"undefined\"!==typeof globalThis&&globalThis.crypto&&(o=globalThis.crypto),!o&&\"undefined\"!==typeof window&&window.msCrypto&&(o=window.msCrypto),!o&&\"undefined\"!==typeof t&&t.crypto&&(o=t.crypto),!o)try{o=n(1)}catch(m){}var i=function(){if(o){if(\"function\"===typeof o.getRandomValues)try{return o.getRandomValues(new Uint32Array(1))[0]}catch(m){}if(\"function\"===typeof o.randomBytes)try{return o.randomBytes(4).readInt32LE()}catch(m){}}throw new Error(\"Native crypto module could not be used to get secure random number.\")},a=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),c={},u=c.lib={},s=u.Base=function(){return{extend:function(e){var t=a(this);return e&&t.mixIn(e),t.hasOwnProperty(\"init\")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty(\"toString\")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),l=u.WordArray=s.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=t!=r?t:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i<o;i++){var a=n[i>>>2]>>>24-i%4*8&255;t[r+i>>>2]|=a<<24-(r+i)%4*8}else for(var c=0;c<o;c+=4)t[r+c>>>2]=n[c>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(i());return new l.init(t,e)}}),f=c.enc={},d=f.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join(\"\")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new l.init(n,t/2)}},h=f.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join(\"\")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new l.init(n,t)}},p=f.Utf8={stringify:function(e){try{return decodeURIComponent(escape(h.stringify(e)))}catch(t){throw new Error(\"Malformed UTF-8 data\")}},parse:function(e){return h.parse(unescape(encodeURIComponent(e)))}},v=u.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){\"string\"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,i=r.sigBytes,a=this.blockSize,c=4*a,u=i/c;u=t?e.ceil(u):e.max((0|u)-this._minBufferSize,0);var s=u*a,f=e.min(4*s,i);if(s){for(var d=0;d<s;d+=a)this._doProcessBlock(o,d);n=o.splice(0,s),r.sigBytes-=f}return new l.init(n,f)},clone:function(){var e=s.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),g=(u.Hasher=v.extend({cfg:s.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new g.HMAC.init(e,n).finalize(t)}}}),c.algo={});return c}(Math);return e}))}).call(this,n(\"IyRk\"))},Ijbi:function(e,t,n){var r=n(\"WkPL\");function o(e){if(Array.isArray(e))return r(e)}e.exports=o,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},ImZN:function(e,t,n){var r=n(\"glrk\"),o=n(\"6VoE\"),i=n(\"UMSQ\"),a=n(\"A2ZE\"),c=n(\"NaFW\"),u=n(\"m92n\"),s=function(e,t){this.stopped=e,this.result=t},l=e.exports=function(e,t,n,l,f){var d,h,p,v,g,m,y,b=a(t,n,l?2:1);if(f)d=e;else{if(h=c(e),\"function\"!=typeof h)throw TypeError(\"Target is not iterable\");if(o(h)){for(p=0,v=i(e.length);v>p;p++)if(g=l?b(r(y=e[p])[0],y[1]):b(e[p]),g&&g instanceof s)return g;return new s(!1)}d=h.call(e)}m=d.next;while(!(y=m.call(d)).done)if(g=u(d,b,y.value,l),\"object\"==typeof g&&g&&g instanceof s)return g;return new s(!1)};l.stop=function(e){return new s(!0,e)}},IyRk:function(e,t){(function(t){e.exports=function(){var e={873:function(e){var t;t=function(){return this}();try{t=t||new Function(\"return this\")()}catch(n){\"object\"===typeof window&&(t=window)}e.exports=t}},n={};function r(t){if(n[t])return n[t].exports;var o=n[t]={exports:{}},i=!0;try{e[t](o,o.exports,r),i=!1}finally{i&&delete n[t]}return o.exports}return r.ab=t+\"/\",r(873)}()}).call(this,\"/\")},\"J/St\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.getPropertyWeight=t.getAllSortProperties=t.getAllProperties=t.default=void 0;var r=n(\"hpyz\"),o=function(e,t){void 0===e&&(e=[]),void 0===t&&(t=100);var n={};e.forEach((function(e){e.properties&&Object.keys(e.properties).forEach((function(t){\"id\"===t||!\"\".concat(e.properties[t]).match(r.secondReg)&&!\"\".concat(e.properties[t]).match(r.dateReg)&&isNaN(Number(e.properties[t]))?n.hasOwnProperty(t)&&delete n[t]:n.hasOwnProperty(t)?n[t]+=1:n[t]=1}))}));var o=Object.keys(n).sort((function(e,t){return n[t]-n[e]}));return o.length<t?o:o.slice(0,t)};t.getAllSortProperties=o;var i=function(e,t){return t.map((function(t){return e.hasOwnProperty(t)?e[t]:0}))},a=function(e){for(var t=o(e),n=[],r=0;r<e.length;r++)n[r]=i(e[r].properties,t);return n};t.getPropertyWeight=a;var c=function(e,t){void 0===t&&(t=void 0);var n=[];return e.forEach((function(e){void 0===t&&n.push(e),void 0!==e[t]&&n.push(e[t])})),n};t.getAllProperties=c;var u={getAllSortProperties:o,getPropertyWeight:a,getAllProperties:c};t.default=u},JBy8:function(e,t,n){var r=n(\"yoRg\"),o=n(\"eDl+\"),i=o.concat(\"length\",\"prototype\");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},JHRd:function(e,t,n){var r=n(\"Kz5y\"),o=r.Uint8Array;e.exports=o},JHgL:function(e,t,n){var r=n(\"QkVE\");function o(e){return r(this,e).get(e)}e.exports=o},JRS9:function(e,t,n){\"use strict\";var r=n(\"uPr3\"),o=Array.prototype.concat,i=Array.prototype.slice,a=e.exports=function(e){for(var t=[],n=0,a=e.length;n<a;n++){var c=e[n];r(c)?t=o.call(t,i.call(c)):t.push(c)}return t};a.wrap=function(e){return function(){return e(a(arguments))}}},JSQU:function(e,t,n){var r=n(\"YESw\"),o=\"__lodash_hash_undefined__\";function i(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?o:t,this}e.exports=i},JTJg:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"WjRb\"),i=n(\"HYAF\"),a=n(\"qxPZ\");r({target:\"String\",proto:!0,forced:!a(\"includes\")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},JTzB:function(e,t,n){var r=n(\"NykK\"),o=n(\"ExA7\"),i=\"[object Arguments]\";function a(e){return o(e)&&r(e)==i}e.exports=a},JX7q:function(e,t,n){\"use strict\";function r(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}n.d(t,\"a\",(function(){return r}))},JevA:function(e,t,n){var r=n(\"I+eb\"),o=n(\"wg0c\");r({target:\"Number\",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},JfAA:function(e,t,n){\"use strict\";var r=n(\"busE\"),o=n(\"glrk\"),i=n(\"0Dky\"),a=n(\"rW0t\"),c=\"toString\",u=RegExp.prototype,s=u[c],l=i((function(){return\"/a/b\"!=s.call({source:\"a\",flags:\"b\"})})),f=s.name!=c;(l||f)&&r(RegExp.prototype,c,(function(){var e=o(this),t=String(e.source),n=e.flags,r=String(void 0===n&&e instanceof RegExp&&!(\"flags\"in u)?a.call(e):n);return\"/\"+t+\"/\"+r}),{unsafe:!0})},Ji7U:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(\"s4An\");function o(e,t){if(\"function\"!==typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,\"prototype\",{writable:!1}),t&&Object(r[\"a\"])(e,t)}},JiZb:function(e,t,n){\"use strict\";var r=n(\"0GbY\"),o=n(\"m/L8\"),i=n(\"tiKp\"),a=n(\"g6v/\"),c=i(\"species\");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[c]&&n(t,c,{configurable:!0,get:function(){return this}})}},Jk7S:function(e,t,n){\"use strict\";function r(e){return r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},r(e)}Object.defineProperty(t,\"__esModule\",{value:!0}),Object.defineProperty(t,\"GADDI\",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,\"breadthFirstSearch\",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,\"connectedComponent\",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,\"depthFirstSearch\",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,\"detectCycle\",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,\"dijkstra\",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,\"findAllPath\",{enumerable:!0,get:function(){return f.findAllPath}}),Object.defineProperty(t,\"findShortestPath\",{enumerable:!0,get:function(){return f.findShortestPath}}),Object.defineProperty(t,\"floydWarshall\",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,\"getAdjMatrix\",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,\"getDegree\",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,\"getInDegree\",{enumerable:!0,get:function(){return c.getInDegree}}),Object.defineProperty(t,\"getNeighbors\",{enumerable:!0,get:function(){return y.getNeighbors}}),Object.defineProperty(t,\"getOutDegree\",{enumerable:!0,get:function(){return c.getOutDegree}}),Object.defineProperty(t,\"labelPropagation\",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,\"louvain\",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,\"minimumSpanningTree\",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,\"pageRank\",{enumerable:!0,get:function(){return g.default}});var o=w(n(\"FscW\")),i=w(n(\"OHKo\")),a=w(n(\"hi4r\")),c=x(n(\"2cX4\")),u=w(n(\"UUCH\")),s=w(n(\"/lHY\")),l=w(n(\"m5Yo\")),f=n(\"mOLT\"),d=w(n(\"AlPw\")),h=w(n(\"Ybyq\")),p=w(n(\"sUsD\")),v=w(n(\"PvkP\")),g=w(n(\"B2Vs\")),m=w(n(\"ZJ+n\")),y=n(\"3P6T\");function b(e){if(\"function\"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||\"object\"!==r(e)&&\"function\"!==typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(\"default\"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var c=i?Object.getOwnPropertyDescriptor(e,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}function w(e){return e&&e.__esModule?e:{default:e}}},Junv:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"6LWA\"),i=[].reverse,a=[1,2];r({target:\"Array\",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),i.call(this)}})},JwUS:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"glrk\"),a=n(\"HAuM\"),c=n(\"WGBp\"),u=n(\"ImZN\");r({target:\"Set\",proto:!0,real:!0,forced:o},{reduce:function(e){var t=i(this),n=c(t),r=arguments.length<2,o=r?void 0:arguments[1];if(a(e),u(n,(function(n){r?(r=!1,o=n):o=e(o,n,n,t)}),void 0,!1,!0),r)throw TypeError(\"Reduce of empty set with no initial value\");return o}})},JxQ3:function(e,t,n){var r=\"function\"===typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,\"size\"):null,i=r&&o&&\"function\"===typeof o.get?o.get:null,a=r&&Map.prototype.forEach,c=\"function\"===typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,\"size\"):null,s=c&&u&&\"function\"===typeof u.get?u.get:null,l=c&&Set.prototype.forEach,f=\"function\"===typeof WeakMap&&WeakMap.prototype,d=f?WeakMap.prototype.has:null,h=\"function\"===typeof WeakSet&&WeakSet.prototype,p=h?WeakSet.prototype.has:null,v=\"function\"===typeof WeakRef&&WeakRef.prototype,g=v?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,y=Object.prototype.toString,b=Function.prototype.toString,x=String.prototype.match,w=String.prototype.slice,O=String.prototype.replace,E=String.prototype.toUpperCase,S=String.prototype.toLowerCase,j=RegExp.prototype.test,k=Array.prototype.concat,_=Array.prototype.join,C=Array.prototype.slice,M=Math.floor,A=\"function\"===typeof BigInt?BigInt.prototype.valueOf:null,N=Object.getOwnPropertySymbols,T=\"function\"===typeof Symbol&&\"symbol\"===typeof Symbol.iterator?Symbol.prototype.toString:null,I=\"function\"===typeof Symbol&&\"object\"===typeof Symbol.iterator,P=\"function\"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===I||\"symbol\")?Symbol.toStringTag:null,L=Object.prototype.propertyIsEnumerable,D=(\"function\"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function R(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||j.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(\"number\"===typeof e){var r=e<0?-M(-e):M(e);if(r!==e){var o=String(r),i=w.call(t,o.length+1);return O.call(o,n,\"$&_\")+\".\"+O.call(O.call(i,/([0-9]{3})/g,\"$&_\"),/_$/,\"\")}}return O.call(t,n,\"$&_\")}var F=n(2),B=F.custom,z=Z(B)?B:null;function U(e,t,n){var r=\"double\"===(n.quoteStyle||t)?'\"':\"'\";return r+e+r}function G(e){return O.call(String(e),/\"/g,\"&quot;\")}function V(e){return\"[object Array]\"===ee(e)&&(!P||!(\"object\"===typeof e&&P in e))}function W(e){return\"[object Date]\"===ee(e)&&(!P||!(\"object\"===typeof e&&P in e))}function H(e){return\"[object RegExp]\"===ee(e)&&(!P||!(\"object\"===typeof e&&P in e))}function Y(e){return\"[object Error]\"===ee(e)&&(!P||!(\"object\"===typeof e&&P in e))}function X(e){return\"[object String]\"===ee(e)&&(!P||!(\"object\"===typeof e&&P in e))}function q(e){return\"[object Number]\"===ee(e)&&(!P||!(\"object\"===typeof e&&P in e))}function K(e){return\"[object Boolean]\"===ee(e)&&(!P||!(\"object\"===typeof e&&P in e))}function Z(e){if(I)return e&&\"object\"===typeof e&&e instanceof Symbol;if(\"symbol\"===typeof e)return!0;if(!e||\"object\"!==typeof e||!T)return!1;try{return T.call(e),!0}catch(t){}return!1}function $(e){if(!e||\"object\"!==typeof e||!A)return!1;try{return A.call(e),!0}catch(t){}return!1}e.exports=function e(t,n,r,o){var c=n||{};if(J(c,\"quoteStyle\")&&\"single\"!==c.quoteStyle&&\"double\"!==c.quoteStyle)throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');if(J(c,\"maxStringLength\")&&(\"number\"===typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');var u=!J(c,\"customInspect\")||c.customInspect;if(\"boolean\"!==typeof u&&\"symbol\"!==u)throw new TypeError(\"option \\\"customInspect\\\", if provided, must be `true`, `false`, or `'symbol'`\");if(J(c,\"indent\")&&null!==c.indent&&\"\\t\"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');if(J(c,\"numericSeparator\")&&\"boolean\"!==typeof c.numericSeparator)throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');var f=c.numericSeparator;if(\"undefined\"===typeof t)return\"undefined\";if(null===t)return\"null\";if(\"boolean\"===typeof t)return t?\"true\":\"false\";if(\"string\"===typeof t)return se(t,c);if(\"number\"===typeof t){if(0===t)return 1/0/t>0?\"0\":\"-0\";var d=String(t);return f?R(t,d):d}if(\"bigint\"===typeof t){var h=String(t)+\"n\";return f?R(t,h):h}var p=\"undefined\"===typeof c.depth?5:c.depth;if(\"undefined\"===typeof r&&(r=0),r>=p&&p>0&&\"object\"===typeof t)return V(t)?\"[Array]\":\"[Object]\";var v=ve(c,r);if(\"undefined\"===typeof o)o=[];else if(ne(o,t)>=0)return\"[Circular]\";function g(t,n,i){if(n&&(o=C.call(o),o.push(n)),i){var a={depth:c.depth};return J(c,\"quoteStyle\")&&(a.quoteStyle=c.quoteStyle),e(t,a,r+1,o)}return e(t,c,r+1,o)}if(\"function\"===typeof t&&!H(t)){var y=te(t),b=me(t,g);return\"[Function\"+(y?\": \"+y:\" (anonymous)\")+\"]\"+(b.length>0?\" { \"+_.call(b,\", \")+\" }\":\"\")}if(Z(t)){var x=I?O.call(String(t),/^(Symbol\\(.*\\))_[^)]*$/,\"$1\"):T.call(t);return\"object\"!==typeof t||I?x:fe(x)}if(ue(t)){for(var E=\"<\"+S.call(String(t.nodeName)),j=t.attributes||[],M=0;M<j.length;M++)E+=\" \"+j[M].name+\"=\"+U(G(j[M].value),\"double\",c);return E+=\">\",t.childNodes&&t.childNodes.length&&(E+=\"...\"),E+=\"</\"+S.call(String(t.nodeName))+\">\",E}if(V(t)){if(0===t.length)return\"[]\";var N=me(t,g);return v&&!pe(N)?\"[\"+ge(N,v)+\"]\":\"[ \"+_.call(N,\", \")+\" ]\"}if(Y(t)){var B=me(t,g);return\"cause\"in Error.prototype||!(\"cause\"in t)||L.call(t,\"cause\")?0===B.length?\"[\"+String(t)+\"]\":\"{ [\"+String(t)+\"] \"+_.call(B,\", \")+\" }\":\"{ [\"+String(t)+\"] \"+_.call(k.call(\"[cause]: \"+g(t.cause),B),\", \")+\" }\"}if(\"object\"===typeof t&&u){if(z&&\"function\"===typeof t[z]&&F)return F(t,{depth:p-r});if(\"symbol\"!==u&&\"function\"===typeof t.inspect)return t.inspect()}if(re(t)){var Q=[];return a.call(t,(function(e,n){Q.push(g(n,t,!0)+\" => \"+g(e,t))})),he(\"Map\",i.call(t),Q,v)}if(ae(t)){var le=[];return l.call(t,(function(e){le.push(g(e,t))})),he(\"Set\",s.call(t),le,v)}if(oe(t))return de(\"WeakMap\");if(ce(t))return de(\"WeakSet\");if(ie(t))return de(\"WeakRef\");if(q(t))return fe(g(Number(t)));if($(t))return fe(g(A.call(t)));if(K(t))return fe(m.call(t));if(X(t))return fe(g(String(t)));if(!W(t)&&!H(t)){var ye=me(t,g),be=D?D(t)===Object.prototype:t instanceof Object||t.constructor===Object,xe=t instanceof Object?\"\":\"null prototype\",we=!be&&P&&Object(t)===t&&P in t?w.call(ee(t),8,-1):xe?\"Object\":\"\",Oe=be||\"function\"!==typeof t.constructor?\"\":t.constructor.name?t.constructor.name+\" \":\"\",Ee=Oe+(we||xe?\"[\"+_.call(k.call([],we||[],xe||[]),\": \")+\"] \":\"\");return 0===ye.length?Ee+\"{}\":v?Ee+\"{\"+ge(ye,v)+\"}\":Ee+\"{ \"+_.call(ye,\", \")+\" }\"}return String(t)};var Q=Object.prototype.hasOwnProperty||function(e){return e in this};function J(e,t){return Q.call(e,t)}function ee(e){return y.call(e)}function te(e){if(e.name)return e.name;var t=x.call(b.call(e),/^function\\s*([\\w$]+)/);return t?t[1]:null}function ne(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function re(e){if(!i||!e||\"object\"!==typeof e)return!1;try{i.call(e);try{s.call(e)}catch(t){return!0}return e instanceof Map}catch(n){}return!1}function oe(e){if(!d||!e||\"object\"!==typeof e)return!1;try{d.call(e,d);try{p.call(e,p)}catch(t){return!0}return e instanceof WeakMap}catch(n){}return!1}function ie(e){if(!g||!e||\"object\"!==typeof e)return!1;try{return g.call(e),!0}catch(t){}return!1}function ae(e){if(!s||!e||\"object\"!==typeof e)return!1;try{s.call(e);try{i.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}function ce(e){if(!p||!e||\"object\"!==typeof e)return!1;try{p.call(e,p);try{d.call(e,d)}catch(t){return!0}return e instanceof WeakSet}catch(n){}return!1}function ue(e){return!(!e||\"object\"!==typeof e)&&(\"undefined\"!==typeof HTMLElement&&e instanceof HTMLElement||\"string\"===typeof e.nodeName&&\"function\"===typeof e.getAttribute)}function se(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r=\"... \"+n+\" more character\"+(n>1?\"s\":\"\");return se(w.call(e,0,t.maxStringLength),t)+r}var o=O.call(O.call(e,/(['\\\\])/g,\"\\\\$1\"),/[\\x00-\\x1f]/g,le);return U(o,\"single\",t)}function le(e){var t=e.charCodeAt(0),n={8:\"b\",9:\"t\",10:\"n\",12:\"f\",13:\"r\"}[t];return n?\"\\\\\"+n:\"\\\\x\"+(t<16?\"0\":\"\")+E.call(t.toString(16))}function fe(e){return\"Object(\"+e+\")\"}function de(e){return e+\" { ? }\"}function he(e,t,n,r){var o=r?ge(n,r):_.call(n,\", \");return e+\" (\"+t+\") {\"+o+\"}\"}function pe(e){for(var t=0;t<e.length;t++)if(ne(e[t],\"\\n\")>=0)return!1;return!0}function ve(e,t){var n;if(\"\\t\"===e.indent)n=\"\\t\";else{if(!(\"number\"===typeof e.indent&&e.indent>0))return null;n=_.call(Array(e.indent+1),\" \")}return{base:n,prev:_.call(Array(t+1),n)}}function ge(e,t){if(0===e.length)return\"\";var n=\"\\n\"+t.prev+t.base;return n+_.call(e,\",\"+n)+\"\\n\"+t.prev}function me(e,t){var n=V(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=J(e,o)?t(e[o],e):\"\"}var i,a=\"function\"===typeof N?N(e):[];if(I){i={};for(var c=0;c<a.length;c++)i[\"$\"+a[c]]=a[c]}for(var u in e)J(e,u)&&(n&&String(Number(u))===u&&u<e.length||I&&i[\"$\"+u]instanceof Symbol||(j.call(/[^\\w$]/,u)?r.push(t(u,e)+\": \"+t(e[u],e)):r.push(u+\": \"+t(e[u],e))));if(\"function\"===typeof N)for(var s=0;s<a.length;s++)L.call(e,a[s])&&r.push(\"[\"+t(a[s])+\"]: \"+t(e[a[s]],e));return r}},K3mO:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"3y9D\"),n(\"WYAk\"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.Base,o=n.WordArray,i=t.algo,a=i.MD5,c=i.EvpKDF=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){var n,r=this.cfg,i=r.hasher.create(),a=o.create(),c=a.words,u=r.keySize,s=r.iterations;while(c.length<u){n&&i.update(n),n=i.update(e).finalize(t),i.reset();for(var l=1;l<s;l++)n=i.finalize(n),i.reset();a.concat(n)}return a.sigBytes=4*u,a}});t.EvpKDF=function(e,t,n){return c.create(n).compute(e,t)}}(),e.EvpKDF}))},KAsB:function(e,t,n){},KCY9:function(e,t,n){},KLt6:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(e){for(var t={},n=e.nodes().filter((function(t){var n;return!(null===(n=e.children(t))||void 0===n?void 0:n.length)})),r=n.map((function(t){return e.node(t).rank})),o=Math.max.apply(Math,r),i=[],a=0;a<o+1;a++)i.push([]);var c=function(n){var r;if(!t.hasOwnProperty(n)){t[n]=!0;var o=e.node(n);isNaN(o.rank)||i[o.rank].push(n),null===(r=e.successors(n))||void 0===r||r.forEach((function(e){return c(e)}))}},u=n.sort((function(t,n){return e.node(t).rank-e.node(n).rank})),s=u.filter((function(t){return void 0!==e.node(t).fixorder})),l=s.sort((function(t,n){return e.node(t).fixorder-e.node(n).fixorder}));return null===l||void 0===l||l.forEach((function(n){isNaN(e.node(n).rank)||i[e.node(n).rank].push(n),t[n]=!0})),null===u||void 0===u||u.forEach(c),i};t.default=r},KMkd:function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},KPFz:function(e,t,n){},KQm4:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return u}));var r=n(\"a3WO\");function o(e){if(Array.isArray(e))return Object(r[\"a\"])(e)}var i=n(\"25BE\"),a=n(\"BsWD\");function c(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}function u(e){return o(e)||Object(i[\"a\"])(e)||Object(a[\"a\"])(e)||c()}},KR08:function(e,t,n){\"use strict\";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.defineProperty(t,\"__esModule\",{value:!0}),t.clone=t.isObject=void 0;var o=function(e){return null!==e&&\"object\"===typeof e};t.isObject=o;var i=function(e){if(null===e)return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof Array){var n=[];return e.forEach((function(e){n.push(e)})),n.map((function(e){return(0,t.clone)(e)}))}if(\"object\"===typeof e&&Object.keys(e).length){var o=r({},e);return Object.keys(o).forEach((function(e){o[e]=(0,t.clone)(o[e])})),o}return e};t.clone=i},KfNM:function(e,t){var n=Object.prototype,r=n.toString;function o(e){return r.call(e)}e.exports=o},KhsS:function(e,t,n){var r=n(\"dG/n\");r(\"match\")},KmYQ:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"OLod\"))})(0,(function(e){return e.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},e.pad.ZeroPadding}))},KpVd:function(e,t,n){\"use strict\";(function(e){function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,a(e,t)}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(){if(\"undefined\"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function u(e,t,n){return u=c()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=Function.bind.apply(e,r),i=new o;return n&&a(i,n.prototype),i},u.apply(null,arguments)}function s(e){return-1!==Function.toString.call(e).indexOf(\"[native code]\")}function l(e){var t=\"function\"===typeof Map?new Map:void 0;return l=function(e){if(null===e||!s(e))return e;if(\"function\"!==typeof e)throw new TypeError(\"Super expression must either be null or a function\");if(\"undefined\"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return u(e,arguments,i(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),a(n,e)},l(e)}n.d(t,\"a\",(function(){return re}));var f=/%[sdj%]/g,d=function(){};function h(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)})),t}function p(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i=n.length;if(\"function\"===typeof e)return e.apply(null,n);if(\"string\"===typeof e){var a=e.replace(f,(function(e){if(\"%%\"===e)return\"%\";if(o>=i)return e;switch(e){case\"%s\":return String(n[o++]);case\"%d\":return Number(n[o++]);case\"%j\":try{return JSON.stringify(n[o++])}catch(t){return\"[Circular]\"}break;default:return e}}));return a}return e}function v(e){return\"string\"===e||\"url\"===e||\"hex\"===e||\"email\"===e||\"date\"===e||\"pattern\"===e}function g(e,t){return void 0===e||null===e||(!(\"array\"!==t||!Array.isArray(e)||e.length)||!(!v(t)||\"string\"!==typeof e||e))}function m(e,t,n){var r=[],o=0,i=e.length;function a(e){r.push.apply(r,e||[]),o++,o===i&&n(r)}e.forEach((function(e){t(e,a)}))}function y(e,t,n){var r=0,o=e.length;function i(a){if(a&&a.length)n(a);else{var c=r;r+=1,c<o?t(e[c],i):n([])}}i([])}function b(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n]||[])})),t}\"undefined\"!==typeof e&&Object({NODE_ENV:\"production\"});var x=function(e){function t(t,n){var r;return r=e.call(this,\"Async Validation Error\")||this,r.errors=t,r.fields=n,r}return o(t,e),t}(l(Error));function w(e,t,n,r,o){if(t.first){var i=new Promise((function(t,i){var a=function(e){return r(e),e.length?i(new x(e,h(e))):t(o)},c=b(e);y(c,n,a)}));return i[\"catch\"]((function(e){return e})),i}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],c=Object.keys(e),u=c.length,s=0,l=[],f=new Promise((function(t,i){var f=function(e){if(l.push.apply(l,e),s++,s===u)return r(l),l.length?i(new x(l,h(l))):t(o)};c.length||(r(l),t(o)),c.forEach((function(t){var r=e[t];-1!==a.indexOf(t)?y(r,n,f):m(r,n,f)}))}));return f[\"catch\"]((function(e){return e})),f}function O(e){return!(!e||void 0===e.message)}function E(e,t){for(var n=e,r=0;r<t.length;r++){if(void 0==n)return n;n=n[t[r]]}return n}function S(e,t){return function(n){var r;return r=e.fullFields?E(t,e.fullFields):t[n.field||e.fullField],O(n)?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:\"function\"===typeof n?n():n,fieldValue:r,field:n.field||e.fullField}}}function j(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];\"object\"===typeof o&&\"object\"===typeof e[n]?e[n]=r({},e[n],o):e[n]=o}return e}var k,_=function(e,t,n,r,o,i){!e.required||n.hasOwnProperty(e.field)&&!g(t,i||e.type)||r.push(p(o.messages.required,e.fullField))},C=function(e,t,n,r,o){(/^\\s+$/.test(t)||\"\"===t)&&r.push(p(o.messages.whitespace,e.fullField))},M=function(){if(k)return k;var e=\"[a-fA-F\\\\d:]\",t=function(t){return t&&t.includeBoundaries?\"(?:(?<=\\\\s|^)(?=\"+e+\")|(?<=\"+e+\")(?=\\\\s|$))\":\"\"},n=\"(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)){3}\",r=\"[a-fA-F\\\\d]{1,4}\",o=(\"\\n(?:\\n(?:\"+r+\":){7}(?:\"+r+\"|:)|                                    // 1:2:3:4:5:6:7::  1:2:3:4:5:6:7:8\\n(?:\"+r+\":){6}(?:\"+n+\"|:\"+r+\"|:)|                             // 1:2:3:4:5:6::    1:2:3:4:5:6::8   1:2:3:4:5:6::8  1:2:3:4:5:6::1.2.3.4\\n(?:\"+r+\":){5}(?::\"+n+\"|(?::\"+r+\"){1,2}|:)|                   // 1:2:3:4:5::      1:2:3:4:5::7:8   1:2:3:4:5::8    1:2:3:4:5::7:1.2.3.4\\n(?:\"+r+\":){4}(?:(?::\"+r+\"){0,1}:\"+n+\"|(?::\"+r+\"){1,3}|:)| // 1:2:3:4::        1:2:3:4::6:7:8   1:2:3:4::8      1:2:3:4::6:7:1.2.3.4\\n(?:\"+r+\":){3}(?:(?::\"+r+\"){0,2}:\"+n+\"|(?::\"+r+\"){1,4}|:)| // 1:2:3::          1:2:3::5:6:7:8   1:2:3::8        1:2:3::5:6:7:1.2.3.4\\n(?:\"+r+\":){2}(?:(?::\"+r+\"){0,3}:\"+n+\"|(?::\"+r+\"){1,5}|:)| // 1:2::            1:2::4:5:6:7:8   1:2::8          1:2::4:5:6:7:1.2.3.4\\n(?:\"+r+\":){1}(?:(?::\"+r+\"){0,4}:\"+n+\"|(?::\"+r+\"){1,6}|:)| // 1::              1::3:4:5:6:7:8   1::8            1::3:4:5:6:7:1.2.3.4\\n(?::(?:(?::\"+r+\"){0,5}:\"+n+\"|(?::\"+r+\"){1,7}|:))             // ::2:3:4:5:6:7:8  ::2:3:4:5:6:7:8  ::8             ::1.2.3.4\\n)(?:%[0-9a-zA-Z]{1,})?                                             // %eth0            %1\\n\").replace(/\\s*\\/\\/.*$/gm,\"\").replace(/\\n/g,\"\").trim(),i=new RegExp(\"(?:^\"+n+\"$)|(?:^\"+o+\"$)\"),a=new RegExp(\"^\"+n+\"$\"),c=new RegExp(\"^\"+o+\"$\"),u=function(e){return e&&e.exact?i:new RegExp(\"(?:\"+t(e)+n+t(e)+\")|(?:\"+t(e)+o+t(e)+\")\",\"g\")};u.v4=function(e){return e&&e.exact?a:new RegExp(\"\"+t(e)+n+t(e),\"g\")},u.v6=function(e){return e&&e.exact?c:new RegExp(\"\"+t(e)+o+t(e),\"g\")};var s=\"(?:(?:[a-z]+:)?//)\",l=\"(?:\\\\S+(?::\\\\S*)?@)?\",f=u.v4().source,d=u.v6().source,h=\"(?:(?:[a-z\\\\u00a1-\\\\uffff0-9][-_]*)*[a-z\\\\u00a1-\\\\uffff0-9]+)\",p=\"(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff0-9]-*)*[a-z\\\\u00a1-\\\\uffff0-9]+)*\",v=\"(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff]{2,}))\",g=\"(?::\\\\d{2,5})?\",m='(?:[/?#][^\\\\s\"]*)?',y=\"(?:\"+s+\"|www\\\\.)\"+l+\"(?:localhost|\"+f+\"|\"+d+\"|\"+h+p+v+\")\"+g+m;return k=new RegExp(\"(?:^\"+y+\"$)\",\"i\"),k},A={email:/^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+\\.)+[a-zA-Z\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},N={integer:function(e){return N.number(e)&&parseInt(e,10)===e},float:function(e){return N.number(e)&&!N.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return\"function\"===typeof e.getTime&&\"function\"===typeof e.getMonth&&\"function\"===typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&\"number\"===typeof e},object:function(e){return\"object\"===typeof e&&!N.array(e)},method:function(e){return\"function\"===typeof e},email:function(e){return\"string\"===typeof e&&e.length<=320&&!!e.match(A.email)},url:function(e){return\"string\"===typeof e&&e.length<=2048&&!!e.match(M())},hex:function(e){return\"string\"===typeof e&&!!e.match(A.hex)}},T=function(e,t,n,r,o){if(e.required&&void 0===t)_(e,t,n,r,o);else{var i=[\"integer\",\"float\",\"array\",\"regexp\",\"object\",\"method\",\"email\",\"number\",\"date\",\"url\",\"hex\"],a=e.type;i.indexOf(a)>-1?N[a](t)||r.push(p(o.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&r.push(p(o.messages.types[a],e.fullField,e.type))}},I=function(e,t,n,r,o){var i=\"number\"===typeof e.len,a=\"number\"===typeof e.min,c=\"number\"===typeof e.max,u=/[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g,s=t,l=null,f=\"number\"===typeof t,d=\"string\"===typeof t,h=Array.isArray(t);if(f?l=\"number\":d?l=\"string\":h&&(l=\"array\"),!l)return!1;h&&(s=t.length),d&&(s=t.replace(u,\"_\").length),i?s!==e.len&&r.push(p(o.messages[l].len,e.fullField,e.len)):a&&!c&&s<e.min?r.push(p(o.messages[l].min,e.fullField,e.min)):c&&!a&&s>e.max?r.push(p(o.messages[l].max,e.fullField,e.max)):a&&c&&(s<e.min||s>e.max)&&r.push(p(o.messages[l].range,e.fullField,e.min,e.max))},P=\"enum\",L=function(e,t,n,r,o){e[P]=Array.isArray(e[P])?e[P]:[],-1===e[P].indexOf(t)&&r.push(p(o.messages[P],e.fullField,e[P].join(\", \")))},D=function(e,t,n,r,o){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(p(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(\"string\"===typeof e.pattern){var i=new RegExp(e.pattern);i.test(t)||r.push(p(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}},R={required:_,whitespace:C,type:T,range:I,enum:L,pattern:D},F=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t,\"string\")&&!e.required)return n();R.required(e,t,r,i,o,\"string\"),g(t,\"string\")||(R.type(e,t,r,i,o),R.range(e,t,r,i,o),R.pattern(e,t,r,i,o),!0===e.whitespace&&R.whitespace(e,t,r,i,o))}n(i)},B=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t)&&!e.required)return n();R.required(e,t,r,i,o),void 0!==t&&R.type(e,t,r,i,o)}n(i)},z=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(\"\"===t&&(t=void 0),g(t)&&!e.required)return n();R.required(e,t,r,i,o),void 0!==t&&(R.type(e,t,r,i,o),R.range(e,t,r,i,o))}n(i)},U=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t)&&!e.required)return n();R.required(e,t,r,i,o),void 0!==t&&R.type(e,t,r,i,o)}n(i)},G=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t)&&!e.required)return n();R.required(e,t,r,i,o),g(t)||R.type(e,t,r,i,o)}n(i)},V=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t)&&!e.required)return n();R.required(e,t,r,i,o),void 0!==t&&(R.type(e,t,r,i,o),R.range(e,t,r,i,o))}n(i)},W=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t)&&!e.required)return n();R.required(e,t,r,i,o),void 0!==t&&(R.type(e,t,r,i,o),R.range(e,t,r,i,o))}n(i)},H=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if((void 0===t||null===t)&&!e.required)return n();R.required(e,t,r,i,o,\"array\"),void 0!==t&&null!==t&&(R.type(e,t,r,i,o),R.range(e,t,r,i,o))}n(i)},Y=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t)&&!e.required)return n();R.required(e,t,r,i,o),void 0!==t&&R.type(e,t,r,i,o)}n(i)},X=\"enum\",q=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t)&&!e.required)return n();R.required(e,t,r,i,o),void 0!==t&&R[X](e,t,r,i,o)}n(i)},K=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t,\"string\")&&!e.required)return n();R.required(e,t,r,i,o),g(t,\"string\")||R.pattern(e,t,r,i,o)}n(i)},Z=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t,\"date\")&&!e.required)return n();var c;if(R.required(e,t,r,i,o),!g(t,\"date\"))c=t instanceof Date?t:new Date(t),R.type(e,c,r,i,o),c&&R.range(e,c.getTime(),r,i,o)}n(i)},$=function(e,t,n,r,o){var i=[],a=Array.isArray(t)?\"array\":typeof t;R.required(e,t,r,i,o,a),n(i)},Q=function(e,t,n,r,o){var i=e.type,a=[],c=e.required||!e.required&&r.hasOwnProperty(e.field);if(c){if(g(t,i)&&!e.required)return n();R.required(e,t,r,a,o,i),g(t,i)||R.type(e,t,r,a,o)}n(a)},J=function(e,t,n,r,o){var i=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t)&&!e.required)return n();R.required(e,t,r,i,o)}n(i)},ee={string:F,method:B,number:z,boolean:U,regexp:G,integer:V,float:W,array:H,object:Y,enum:q,pattern:K,date:Z,url:Q,hex:Q,email:Q,required:$,any:J};function te(){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 ne=te(),re=function(){function e(e){this.rules=null,this._messages=ne,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error(\"Cannot configure a schema with no rules\");if(\"object\"!==typeof e||Array.isArray(e))throw new Error(\"Rules must be an object\");this.rules={},Object.keys(e).forEach((function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]}))},t.messages=function(e){return e&&(this._messages=j(te(),e)),this._messages},t.validate=function(t,n,o){var i=this;void 0===n&&(n={}),void 0===o&&(o=function(){});var a=t,c=n,u=o;if(\"function\"===typeof c&&(u=c,c={}),!this.rules||0===Object.keys(this.rules).length)return u&&u(null,a),Promise.resolve(a);function s(e){var t=[],n={};function r(e){var n;Array.isArray(e)?t=(n=t).concat.apply(n,e):t.push(e)}for(var o=0;o<e.length;o++)r(e[o]);t.length?(n=h(t),u(t,n)):u(null,a)}if(c.messages){var l=this.messages();l===ne&&(l=te()),j(l,c.messages),c.messages=l}else c.messages=this.messages();var f={},d=c.keys||Object.keys(this.rules);d.forEach((function(e){var n=i.rules[e],o=a[e];n.forEach((function(n){var c=n;\"function\"===typeof c.transform&&(a===t&&(a=r({},a)),o=a[e]=c.transform(o)),c=\"function\"===typeof c?{validator:c}:r({},c),c.validator=i.getValidationMethod(c),c.validator&&(c.field=e,c.fullField=c.fullField||e,c.type=i.getType(c),f[e]=f[e]||[],f[e].push({rule:c,value:o,source:a,field:e}))}))}));var v={};return w(f,c,(function(t,n){var o,i=t.rule,u=(\"object\"===i.type||\"array\"===i.type)&&(\"object\"===typeof i.fields||\"object\"===typeof i.defaultField);function s(e,t){return r({},t,{fullField:i.fullField+\".\"+e,fullFields:i.fullFields?[].concat(i.fullFields,[e]):[e]})}function l(o){void 0===o&&(o=[]);var l=Array.isArray(o)?o:[o];!c.suppressWarning&&l.length&&e.warning(\"async-validator:\",l),l.length&&void 0!==i.message&&(l=[].concat(i.message));var f=l.map(S(i,a));if(c.first&&f.length)return v[i.field]=1,n(f);if(u){if(i.required&&!t.value)return void 0!==i.message?f=[].concat(i.message).map(S(i,a)):c.error&&(f=[c.error(i,p(c.messages.required,i.field))]),n(f);var d={};i.defaultField&&Object.keys(t.value).map((function(e){d[e]=i.defaultField})),d=r({},d,t.rule.fields);var h={};Object.keys(d).forEach((function(e){var t=d[e],n=Array.isArray(t)?t:[t];h[e]=n.map(s.bind(null,e))}));var g=new e(h);g.messages(c.messages),t.rule.options&&(t.rule.options.messages=c.messages,t.rule.options.error=c.error),g.validate(t.value,t.rule.options||c,(function(e){var t=[];f&&f.length&&t.push.apply(t,f),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)}))}else n(f)}if(u=u&&(i.required||!i.required&&t.value),i.field=t.field,i.asyncValidator)o=i.asyncValidator(i,t.value,l,t.source,c);else if(i.validator){try{o=i.validator(i,t.value,l,t.source,c)}catch(f){null==console.error||console.error(f),c.suppressValidatorError||setTimeout((function(){throw f}),0),l(f.message)}!0===o?l():!1===o?l(\"function\"===typeof i.message?i.message(i.fullField||i.field):i.message||(i.fullField||i.field)+\" fails\"):o instanceof Array?l(o):o instanceof Error&&l(o.message)}o&&o.then&&o.then((function(){return l()}),(function(e){return l(e)}))}),(function(e){s(e)}),a)},t.getType=function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type=\"pattern\"),\"function\"!==typeof e.validator&&e.type&&!ee.hasOwnProperty(e.type))throw new Error(p(\"Unknown rule type %s\",e.type));return e.type||\"string\"},t.getValidationMethod=function(e){if(\"function\"===typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf(\"message\");return-1!==n&&t.splice(n,1),1===t.length&&\"required\"===t[0]?ee.required:ee[this.getType(e)]||void 0},e}();re.register=function(e,t){if(\"function\"!==typeof t)throw new Error(\"Cannot register a validator by type, validator is not a function\");ee[e]=t},re.warning=d,re.messages=ne,re.validators=ee}).call(this,n(\"Q2Ig\"))},KrxN:function(e,t,n){var r=n(\"I+eb\"),o=180/Math.PI;r({target:\"Math\",stat:!0},{degrees:function(e){return e*o}})},Kwbf:function(e,t,n){\"use strict\";n.d(t,\"c\",(function(){return o})),n.d(t,\"b\",(function(){return u}));var r={};function o(e,t){0}function i(e,t){0}function a(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function c(e,t){a(o,e,t)}function u(e,t){a(i,e,t)}t[\"a\"]=c},KxFI:function(e,t,n){},Kz25:function(e,t,n){\"use strict\";n(\"PKPk\");var r,o=n(\"I+eb\"),i=n(\"g6v/\"),a=n(\"DTth\"),c=n(\"2oRo\"),u=n(\"N+g0\"),s=n(\"busE\"),l=n(\"GarU\"),f=n(\"UTVS\"),d=n(\"YNrV\"),h=n(\"TfTi\"),p=n(\"ZUd8\").codeAt,v=n(\"X7LM\"),g=n(\"1E5z\"),m=n(\"mGGf\"),y=n(\"afO8\"),b=c.URL,x=m.URLSearchParams,w=m.getState,O=y.set,E=y.getterFor(\"URL\"),S=Math.floor,j=Math.pow,k=\"Invalid authority\",_=\"Invalid scheme\",C=\"Invalid host\",M=\"Invalid port\",A=/[A-Za-z]/,N=/[\\d+-.A-Za-z]/,T=/\\d/,I=/^(0x|0X)/,P=/^[0-7]+$/,L=/^\\d+$/,D=/^[\\dA-Fa-f]+$/,R=/[\\u0000\\u0009\\u000A\\u000D #%/:?@[\\\\]]/,F=/[\\u0000\\u0009\\u000A\\u000D #/:?@[\\\\]]/,B=/^[\\u0000-\\u001F ]+|[\\u0000-\\u001F ]+$/g,z=/[\\u0009\\u000A\\u000D]/g,U=function(e,t){var n,r,o;if(\"[\"==t.charAt(0)){if(\"]\"!=t.charAt(t.length-1))return C;if(n=V(t.slice(1,-1)),!n)return C;e.host=n}else if(Q(e)){if(t=v(t),R.test(t))return C;if(n=G(t),null===n)return C;e.host=n}else{if(F.test(t))return C;for(n=\"\",r=h(t),o=0;o<r.length;o++)n+=Z(r[o],Y);e.host=n}},G=function(e){var t,n,r,o,i,a,c,u=e.split(\".\");if(u.length&&\"\"==u[u.length-1]&&u.pop(),t=u.length,t>4)return e;for(n=[],r=0;r<t;r++){if(o=u[r],\"\"==o)return e;if(i=10,o.length>1&&\"0\"==o.charAt(0)&&(i=I.test(o)?16:8,o=o.slice(8==i?1:2)),\"\"===o)a=0;else{if(!(10==i?L:8==i?P:D).test(o))return e;a=parseInt(o,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=j(256,5-t))return null}else if(a>255)return null;for(c=n.pop(),r=0;r<n.length;r++)c+=n[r]*j(256,3-r);return c},V=function(e){var t,n,r,o,i,a,c,u=[0,0,0,0,0,0,0,0],s=0,l=null,f=0,d=function(){return e.charAt(f)};if(\":\"==d()){if(\":\"!=e.charAt(1))return;f+=2,s++,l=s}while(d()){if(8==s)return;if(\":\"!=d()){t=n=0;while(n<4&&D.test(d()))t=16*t+parseInt(d(),16),f++,n++;if(\".\"==d()){if(0==n)return;if(f-=n,s>6)return;r=0;while(d()){if(o=null,r>0){if(!(\".\"==d()&&r<4))return;f++}if(!T.test(d()))return;while(T.test(d())){if(i=parseInt(d(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}u[s]=256*u[s]+o,r++,2!=r&&4!=r||s++}if(4!=r)return;break}if(\":\"==d()){if(f++,!d())return}else if(d())return;u[s++]=t}else{if(null!==l)return;f++,s++,l=s}}if(null!==l){a=s-l,s=7;while(0!=s&&a>0)c=u[s],u[s--]=u[l+a-1],u[l+--a]=c}else if(8!=s)return;return u},W=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t},H=function(e){var t,n,r,o;if(\"number\"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=S(e/256);return t.join(\".\")}if(\"object\"==typeof e){for(t=\"\",r=W(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?\":\":\"::\",o=!0):(t+=e[n].toString(16),n<7&&(t+=\":\")));return\"[\"+t+\"]\"}return e},Y={},X=d({},Y,{\" \":1,'\"':1,\"<\":1,\">\":1,\"`\":1}),q=d({},X,{\"#\":1,\"?\":1,\"{\":1,\"}\":1}),K=d({},q,{\"/\":1,\":\":1,\";\":1,\"=\":1,\"@\":1,\"[\":1,\"\\\\\":1,\"]\":1,\"^\":1,\"|\":1}),Z=function(e,t){var n=p(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},$={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Q=function(e){return f($,e.scheme)},J=function(e){return\"\"!=e.username||\"\"!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||\"file\"==e.scheme},te=function(e,t){var n;return 2==e.length&&A.test(e.charAt(0))&&(\":\"==(n=e.charAt(1))||!t&&\"|\"==n)},ne=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||\"/\"===(t=e.charAt(2))||\"\\\\\"===t||\"?\"===t||\"#\"===t)},re=function(e){var t=e.path,n=t.length;!n||\"file\"==e.scheme&&1==n&&te(t[0],!0)||t.pop()},oe=function(e){return\".\"===e||\"%2e\"===e.toLowerCase()},ie=function(e){return e=e.toLowerCase(),\"..\"===e||\"%2e.\"===e||\".%2e\"===e||\"%2e%2e\"===e},ae={},ce={},ue={},se={},le={},fe={},de={},he={},pe={},ve={},ge={},me={},ye={},be={},xe={},we={},Oe={},Ee={},Se={},je={},ke={},_e=function(e,t,n,o){var i,a,c,u,s=n||ae,l=0,d=\"\",p=!1,v=!1,g=!1;n||(e.scheme=\"\",e.username=\"\",e.password=\"\",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(B,\"\")),t=t.replace(z,\"\"),i=h(t);while(l<=i.length){switch(a=i[l],s){case ae:if(!a||!A.test(a)){if(n)return _;s=ue;continue}d+=a.toLowerCase(),s=ce;break;case ce:if(a&&(N.test(a)||\"+\"==a||\"-\"==a||\".\"==a))d+=a.toLowerCase();else{if(\":\"!=a){if(n)return _;d=\"\",s=ue,l=0;continue}if(n&&(Q(e)!=f($,d)||\"file\"==d&&(J(e)||null!==e.port)||\"file\"==e.scheme&&!e.host))return;if(e.scheme=d,n)return void(Q(e)&&$[e.scheme]==e.port&&(e.port=null));d=\"\",\"file\"==e.scheme?s=be:Q(e)&&o&&o.scheme==e.scheme?s=se:Q(e)?s=he:\"/\"==i[l+1]?(s=le,l++):(e.cannotBeABaseURL=!0,e.path.push(\"\"),s=Se)}break;case ue:if(!o||o.cannotBeABaseURL&&\"#\"!=a)return _;if(o.cannotBeABaseURL&&\"#\"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment=\"\",e.cannotBeABaseURL=!0,s=ke;break}s=\"file\"==o.scheme?be:fe;continue;case se:if(\"/\"!=a||\"/\"!=i[l+1]){s=fe;continue}s=pe,l++;break;case le:if(\"/\"==a){s=ve;break}s=Ee;continue;case fe:if(e.scheme=o.scheme,a==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if(\"/\"==a||\"\\\\\"==a&&Q(e))s=de;else if(\"?\"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=\"\",s=je;else{if(\"#\"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),s=Ee;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment=\"\",s=ke}break;case de:if(!Q(e)||\"/\"!=a&&\"\\\\\"!=a){if(\"/\"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,s=Ee;continue}s=ve}else s=pe;break;case he:if(s=pe,\"/\"!=a||\"/\"!=d.charAt(l+1))continue;l++;break;case pe:if(\"/\"!=a&&\"\\\\\"!=a){s=ve;continue}break;case ve:if(\"@\"==a){p&&(d=\"%40\"+d),p=!0,c=h(d);for(var m=0;m<c.length;m++){var y=c[m];if(\":\"!=y||g){var b=Z(y,K);g?e.password+=b:e.username+=b}else g=!0}d=\"\"}else if(a==r||\"/\"==a||\"?\"==a||\"#\"==a||\"\\\\\"==a&&Q(e)){if(p&&\"\"==d)return k;l-=h(d).length+1,d=\"\",s=ge}else d+=a;break;case ge:case me:if(n&&\"file\"==e.scheme){s=we;continue}if(\":\"!=a||v){if(a==r||\"/\"==a||\"?\"==a||\"#\"==a||\"\\\\\"==a&&Q(e)){if(Q(e)&&\"\"==d)return C;if(n&&\"\"==d&&(J(e)||null!==e.port))return;if(u=U(e,d),u)return u;if(d=\"\",s=Oe,n)return;continue}\"[\"==a?v=!0:\"]\"==a&&(v=!1),d+=a}else{if(\"\"==d)return C;if(u=U(e,d),u)return u;if(d=\"\",s=ye,n==me)return}break;case ye:if(!T.test(a)){if(a==r||\"/\"==a||\"?\"==a||\"#\"==a||\"\\\\\"==a&&Q(e)||n){if(\"\"!=d){var x=parseInt(d,10);if(x>65535)return M;e.port=Q(e)&&x===$[e.scheme]?null:x,d=\"\"}if(n)return;s=Oe;continue}return M}d+=a;break;case be:if(e.scheme=\"file\",\"/\"==a||\"\\\\\"==a)s=xe;else{if(!o||\"file\"!=o.scheme){s=Ee;continue}if(a==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if(\"?\"==a)e.host=o.host,e.path=o.path.slice(),e.query=\"\",s=je;else{if(\"#\"!=a){ne(i.slice(l).join(\"\"))||(e.host=o.host,e.path=o.path.slice(),re(e)),s=Ee;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment=\"\",s=ke}}break;case xe:if(\"/\"==a||\"\\\\\"==a){s=we;break}o&&\"file\"==o.scheme&&!ne(i.slice(l).join(\"\"))&&(te(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),s=Ee;continue;case we:if(a==r||\"/\"==a||\"\\\\\"==a||\"?\"==a||\"#\"==a){if(!n&&te(d))s=Ee;else if(\"\"==d){if(e.host=\"\",n)return;s=Oe}else{if(u=U(e,d),u)return u;if(\"localhost\"==e.host&&(e.host=\"\"),n)return;d=\"\",s=Oe}continue}d+=a;break;case Oe:if(Q(e)){if(s=Ee,\"/\"!=a&&\"\\\\\"!=a)continue}else if(n||\"?\"!=a)if(n||\"#\"!=a){if(a!=r&&(s=Ee,\"/\"!=a))continue}else e.fragment=\"\",s=ke;else e.query=\"\",s=je;break;case Ee:if(a==r||\"/\"==a||\"\\\\\"==a&&Q(e)||!n&&(\"?\"==a||\"#\"==a)){if(ie(d)?(re(e),\"/\"==a||\"\\\\\"==a&&Q(e)||e.path.push(\"\")):oe(d)?\"/\"==a||\"\\\\\"==a&&Q(e)||e.path.push(\"\"):(\"file\"==e.scheme&&!e.path.length&&te(d)&&(e.host&&(e.host=\"\"),d=d.charAt(0)+\":\"),e.path.push(d)),d=\"\",\"file\"==e.scheme&&(a==r||\"?\"==a||\"#\"==a))while(e.path.length>1&&\"\"===e.path[0])e.path.shift();\"?\"==a?(e.query=\"\",s=je):\"#\"==a&&(e.fragment=\"\",s=ke)}else d+=Z(a,q);break;case Se:\"?\"==a?(e.query=\"\",s=je):\"#\"==a?(e.fragment=\"\",s=ke):a!=r&&(e.path[0]+=Z(a,Y));break;case je:n||\"#\"!=a?a!=r&&(\"'\"==a&&Q(e)?e.query+=\"%27\":e.query+=\"#\"==a?\"%23\":Z(a,Y)):(e.fragment=\"\",s=ke);break;case ke:a!=r&&(e.fragment+=Z(a,X));break}l++}},Ce=function(e){var t,n,r=l(this,Ce,\"URL\"),o=arguments.length>1?arguments[1]:void 0,a=String(e),c=O(r,{type:\"URL\"});if(void 0!==o)if(o instanceof Ce)t=E(o);else if(n=_e(t={},String(o)),n)throw TypeError(n);if(n=_e(c,a,null,t),n)throw TypeError(n);var u=c.searchParams=new x,s=w(u);s.updateSearchParams(c.query),s.updateURL=function(){c.query=String(u)||null},i||(r.href=Ae.call(r),r.origin=Ne.call(r),r.protocol=Te.call(r),r.username=Ie.call(r),r.password=Pe.call(r),r.host=Le.call(r),r.hostname=De.call(r),r.port=Re.call(r),r.pathname=Fe.call(r),r.search=Be.call(r),r.searchParams=ze.call(r),r.hash=Ue.call(r))},Me=Ce.prototype,Ae=function(){var e=E(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,c=e.query,u=e.fragment,s=t+\":\";return null!==o?(s+=\"//\",J(e)&&(s+=n+(r?\":\"+r:\"\")+\"@\"),s+=H(o),null!==i&&(s+=\":\"+i)):\"file\"==t&&(s+=\"//\"),s+=e.cannotBeABaseURL?a[0]:a.length?\"/\"+a.join(\"/\"):\"\",null!==c&&(s+=\"?\"+c),null!==u&&(s+=\"#\"+u),s},Ne=function(){var e=E(this),t=e.scheme,n=e.port;if(\"blob\"==t)try{return new URL(t.path[0]).origin}catch(r){return\"null\"}return\"file\"!=t&&Q(e)?t+\"://\"+H(e.host)+(null!==n?\":\"+n:\"\"):\"null\"},Te=function(){return E(this).scheme+\":\"},Ie=function(){return E(this).username},Pe=function(){return E(this).password},Le=function(){var e=E(this),t=e.host,n=e.port;return null===t?\"\":null===n?H(t):H(t)+\":\"+n},De=function(){var e=E(this).host;return null===e?\"\":H(e)},Re=function(){var e=E(this).port;return null===e?\"\":String(e)},Fe=function(){var e=E(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?\"/\"+t.join(\"/\"):\"\"},Be=function(){var e=E(this).query;return e?\"?\"+e:\"\"},ze=function(){return E(this).searchParams},Ue=function(){var e=E(this).fragment;return e?\"#\"+e:\"\"},Ge=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&u(Me,{href:Ge(Ae,(function(e){var t=E(this),n=String(e),r=_e(t,n);if(r)throw TypeError(r);w(t.searchParams).updateSearchParams(t.query)})),origin:Ge(Ne),protocol:Ge(Te,(function(e){var t=E(this);_e(t,String(e)+\":\",ae)})),username:Ge(Ie,(function(e){var t=E(this),n=h(String(e));if(!ee(t)){t.username=\"\";for(var r=0;r<n.length;r++)t.username+=Z(n[r],K)}})),password:Ge(Pe,(function(e){var t=E(this),n=h(String(e));if(!ee(t)){t.password=\"\";for(var r=0;r<n.length;r++)t.password+=Z(n[r],K)}})),host:Ge(Le,(function(e){var t=E(this);t.cannotBeABaseURL||_e(t,String(e),ge)})),hostname:Ge(De,(function(e){var t=E(this);t.cannotBeABaseURL||_e(t,String(e),me)})),port:Ge(Re,(function(e){var t=E(this);ee(t)||(e=String(e),\"\"==e?t.port=null:_e(t,e,ye))})),pathname:Ge(Fe,(function(e){var t=E(this);t.cannotBeABaseURL||(t.path=[],_e(t,e+\"\",Oe))})),search:Ge(Be,(function(e){var t=E(this);e=String(e),\"\"==e?t.query=null:(\"?\"==e.charAt(0)&&(e=e.slice(1)),t.query=\"\",_e(t,e,je)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:Ge(ze),hash:Ge(Ue,(function(e){var t=E(this);e=String(e),\"\"!=e?(\"#\"==e.charAt(0)&&(e=e.slice(1)),t.fragment=\"\",_e(t,e,ke)):t.fragment=null}))}),s(Me,\"toJSON\",(function(){return Ae.call(this)}),{enumerable:!0}),s(Me,\"toString\",(function(){return Ae.call(this)}),{enumerable:!0}),b){var Ve=b.createObjectURL,We=b.revokeObjectURL;Ve&&s(Ce,\"createObjectURL\",(function(e){return Ve.apply(b,arguments)})),We&&s(Ce,\"revokeObjectURL\",(function(e){return We.apply(b,arguments)}))}g(Ce,\"URL\"),o({global:!0,forced:!a,sham:!i},{URL:Ce})},Kz5y:function(e,t,n){var r=n(\"WFqU\"),o=\"object\"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function(\"return this\")();e.exports=i},L8im:function(e,t,n){\"use strict\";var r=n(\"MgzW\"),o=n(\"q1tI\");t.useSubscription=function(e){var t=e.getCurrentValue,n=e.subscribe,i=o.useState((function(){return{getCurrentValue:t,subscribe:n,value:t()}}));e=i[0];var a=i[1];return i=e.value,e.getCurrentValue===t&&e.subscribe===n||(i=t(),a({getCurrentValue:t,subscribe:n,value:i})),o.useDebugValue(i),o.useEffect((function(){function e(){if(!o){var e=t();a((function(o){return o.getCurrentValue!==t||o.subscribe!==n||o.value===e?o:r({},o,{value:e})}))}}var o=!1,i=n(e);return e(),function(){o=!0,i()}}),[t,n]),i}},L8xA:function(e,t){function n(e){var t=this.__data__,n=t[\"delete\"](e);return this.size=t.size,n}e.exports=n},\"LK+K\":function(e,t,n){\"use strict\";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}function o(){if(\"undefined\"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,\"a\",(function(){return u}));var i=n(\"U8pU\"),a=n(\"JX7q\");function c(e,t){if(t&&(\"object\"===Object(i[\"a\"])(t)||\"function\"===typeof t))return t;if(void 0!==t)throw new TypeError(\"Derived constructors may only return object or undefined\");return Object(a[\"a\"])(e)}function u(e){var t=o();return function(){var n,o=r(e);if(t){var i=r(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return c(this,n)}}},LKBx:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"Bs8V\").f,i=n(\"UMSQ\"),a=n(\"WjRb\"),c=n(\"HYAF\"),u=n(\"qxPZ\"),s=n(\"xDBR\"),l=\"\".startsWith,f=Math.min,d=u(\"startsWith\"),h=!s&&!d&&!!function(){var e=o(String.prototype,\"startsWith\");return e&&!e.writable}();r({target:\"String\",proto:!0,forced:!h&&!d},{startsWith:function(e){var t=String(c(this));a(e);var n=i(f(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return l?l.call(t,r,n):t.slice(n,n+r.length)===r}})},LPSS:function(e,t,n){var r,o,i,a=n(\"2oRo\"),c=n(\"0Dky\"),u=n(\"xrYK\"),s=n(\"A2ZE\"),l=n(\"G+Rx\"),f=n(\"zBJ4\"),d=n(\"HNyW\"),h=a.location,p=a.setImmediate,v=a.clearImmediate,g=a.process,m=a.MessageChannel,y=a.Dispatch,b=0,x={},w=\"onreadystatechange\",O=function(e){if(x.hasOwnProperty(e)){var t=x[e];delete x[e],t()}},E=function(e){return function(){O(e)}},S=function(e){O(e.data)},j=function(e){a.postMessage(e+\"\",h.protocol+\"//\"+h.host)};p&&v||(p=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return x[++b]=function(){(\"function\"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},v=function(e){delete x[e]},\"process\"==u(g)?r=function(e){g.nextTick(E(e))}:y&&y.now?r=function(e){y.now(E(e))}:m&&!d?(o=new m,i=o.port2,o.port1.onmessage=S,r=s(i.postMessage,i,1)):!a.addEventListener||\"function\"!=typeof postMessage||a.importScripts||c(j)||\"file:\"===h.protocol?r=w in f(\"script\")?function(e){l.appendChild(f(\"script\"))[w]=function(){l.removeChild(this),O(e)}}:function(e){setTimeout(E(e),0)}:(r=j,a.addEventListener(\"message\",S,!1))),e.exports={set:p,clear:v}},LQDL:function(e,t,n){var r,o,i=n(\"2oRo\"),a=n(\"NC/Y\"),c=i.process,u=c&&c.versions,s=u&&u.v8;s?(r=s.split(\".\"),o=r[0]+r[1]):a&&(r=a.match(/Edge\\/(\\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\\/(\\d+)/),r&&(o=r[1]))),e.exports=o&&+o},LXxW:function(e,t){function n(e,t){var n=-1,r=null==e?0:e.length,o=0,i=[];while(++n<r){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}e.exports=n},LcsW:function(e,t,n){var r=n(\"kekF\"),o=r(Object.getPrototypeOf,Object);e.exports=o},LkwV:function(e,t,n){\"use strict\";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!(\"get\"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)\"default\"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,\"__esModule\",{value:!0}),t.getLayoutByName=t.unRegisterLayout=t.registerLayout=void 0;var i=n(\"cEnC\");Object.defineProperty(t,\"registerLayout\",{enumerable:!0,get:function(){return i.registerLayout}}),Object.defineProperty(t,\"unRegisterLayout\",{enumerable:!0,get:function(){return i.unRegisterLayout}}),Object.defineProperty(t,\"getLayoutByName\",{enumerable:!0,get:function(){return i.getLayoutByName}}),o(n(\"zOyl\"),t)},LpSC:function(e,t,n){n(\"bZMm\"),e.exports=self.fetch.bind(self)},LuSS:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a}));var r=n(\"FER5\"),o=n(\"iNWh\"),i=n(\"b3aT\");function a(e){var t={r:0,g:0,b:0},n=1,o=null,a=null,c=null,u=!1,s=!1;return\"string\"===typeof e&&(e=h(e)),\"object\"===typeof e&&(p(e.r)&&p(e.g)&&p(e.b)?(t=Object(r[\"i\"])(e.r,e.g,e.b),u=!0,s=\"%\"===String(e.r).substr(-1)?\"prgb\":\"rgb\"):p(e.h)&&p(e.s)&&p(e.v)?(o=Object(i[\"d\"])(e.s),a=Object(i[\"d\"])(e.v),t=Object(r[\"c\"])(e.h,o,a),u=!0,s=\"hsv\"):p(e.h)&&p(e.s)&&p(e.l)&&(o=Object(i[\"d\"])(e.s),c=Object(i[\"d\"])(e.l),t=Object(r[\"b\"])(e.h,o,c),u=!0,s=\"hsl\"),Object.prototype.hasOwnProperty.call(e,\"a\")&&(n=e.a)),n=Object(i[\"b\"])(n),{ok:u,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var c=\"[-\\\\+]?\\\\d+%?\",u=\"[-\\\\+]?\\\\d*\\\\.\\\\d+%?\",s=\"(?:\".concat(u,\")|(?:\").concat(c,\")\"),l=\"[\\\\s|\\\\(]+(\".concat(s,\")[,|\\\\s]+(\").concat(s,\")[,|\\\\s]+(\").concat(s,\")\\\\s*\\\\)?\"),f=\"[\\\\s|\\\\(]+(\".concat(s,\")[,|\\\\s]+(\").concat(s,\")[,|\\\\s]+(\").concat(s,\")[,|\\\\s]+(\").concat(s,\")\\\\s*\\\\)?\"),d={CSS_UNIT:new RegExp(s),rgb:new RegExp(\"rgb\"+l),rgba:new RegExp(\"rgba\"+f),hsl:new RegExp(\"hsl\"+l),hsla:new RegExp(\"hsla\"+f),hsv:new RegExp(\"hsv\"+l),hsva:new RegExp(\"hsva\"+f),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 h(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(o[\"a\"][e])e=o[\"a\"][e],t=!0;else if(\"transparent\"===e)return{r:0,g:0,b:0,a:0,format:\"name\"};var n=d.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=d.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=d.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=d.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=d.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=d.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=d.hex8.exec(e),n?{r:Object(r[\"e\"])(n[1]),g:Object(r[\"e\"])(n[2]),b:Object(r[\"e\"])(n[3]),a:Object(r[\"a\"])(n[4]),format:t?\"name\":\"hex8\"}:(n=d.hex6.exec(e),n?{r:Object(r[\"e\"])(n[1]),g:Object(r[\"e\"])(n[2]),b:Object(r[\"e\"])(n[3]),format:t?\"name\":\"hex\"}:(n=d.hex4.exec(e),n?{r:Object(r[\"e\"])(n[1]+n[1]),g:Object(r[\"e\"])(n[2]+n[2]),b:Object(r[\"e\"])(n[3]+n[3]),a:Object(r[\"a\"])(n[4]+n[4]),format:t?\"name\":\"hex8\"}:(n=d.hex3.exec(e),!!n&&{r:Object(r[\"e\"])(n[1]+n[1]),g:Object(r[\"e\"])(n[2]+n[2]),b:Object(r[\"e\"])(n[3]+n[3]),format:t?\"name\":\"hex\"})))))))))}function p(e){return Boolean(d.CSS_UNIT.exec(String(e)))}},LvDl:function(e,t,n){(function(e,r){var o;(function(){var i,a=\"4.17.21\",c=200,u=\"Unsupported core-js use. Try https://npms.io/search?q=ponyfill.\",s=\"Expected a function\",l=\"Invalid `variable` option passed into `_.template`\",f=\"__lodash_hash_undefined__\",d=500,h=\"__lodash_placeholder__\",p=1,v=2,g=4,m=1,y=2,b=1,x=2,w=4,O=8,E=16,S=32,j=64,k=128,_=256,C=512,M=30,A=\"...\",N=800,T=16,I=1,P=2,L=3,D=1/0,R=9007199254740991,F=17976931348623157e292,B=NaN,z=4294967295,U=z-1,G=z>>>1,V=[[\"ary\",k],[\"bind\",b],[\"bindKey\",x],[\"curry\",O],[\"curryRight\",E],[\"flip\",C],[\"partial\",S],[\"partialRight\",j],[\"rearg\",_]],W=\"[object Arguments]\",H=\"[object Array]\",Y=\"[object AsyncFunction]\",X=\"[object Boolean]\",q=\"[object Date]\",K=\"[object DOMException]\",Z=\"[object Error]\",$=\"[object Function]\",Q=\"[object GeneratorFunction]\",J=\"[object Map]\",ee=\"[object Number]\",te=\"[object Null]\",ne=\"[object Object]\",re=\"[object Promise]\",oe=\"[object Proxy]\",ie=\"[object RegExp]\",ae=\"[object Set]\",ce=\"[object String]\",ue=\"[object Symbol]\",se=\"[object Undefined]\",le=\"[object WeakMap]\",fe=\"[object WeakSet]\",de=\"[object ArrayBuffer]\",he=\"[object DataView]\",pe=\"[object Float32Array]\",ve=\"[object Float64Array]\",ge=\"[object Int8Array]\",me=\"[object Int16Array]\",ye=\"[object Int32Array]\",be=\"[object Uint8Array]\",xe=\"[object Uint8ClampedArray]\",we=\"[object Uint16Array]\",Oe=\"[object Uint32Array]\",Ee=/\\b__p \\+= '';/g,Se=/\\b(__p \\+=) '' \\+/g,je=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,ke=/&(?:amp|lt|gt|quot|#39);/g,_e=/[&<>\"']/g,Ce=RegExp(ke.source),Me=RegExp(_e.source),Ae=/<%-([\\s\\S]+?)%>/g,Ne=/<%([\\s\\S]+?)%>/g,Te=/<%=([\\s\\S]+?)%>/g,Ie=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,Pe=/^\\w*$/,Le=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,De=/[\\\\^$.*+?()[\\]{}|]/g,Re=RegExp(De.source),Fe=/^\\s+/,Be=/\\s/,ze=/\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,Ue=/\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,Ge=/,? & /,Ve=/[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g,We=/[()=,{}\\[\\]\\/\\s]/,He=/\\\\(\\\\)?/g,Ye=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,Xe=/\\w*$/,qe=/^[-+]0x[0-9a-f]+$/i,Ke=/^0b[01]+$/i,Ze=/^\\[object .+?Constructor\\]$/,$e=/^0o[0-7]+$/i,Qe=/^(?:0|[1-9]\\d*)$/,Je=/[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g,et=/($^)/,tt=/['\\n\\r\\u2028\\u2029\\\\]/g,nt=\"\\\\ud800-\\\\udfff\",rt=\"\\\\u0300-\\\\u036f\",ot=\"\\\\ufe20-\\\\ufe2f\",it=\"\\\\u20d0-\\\\u20ff\",at=rt+ot+it,ct=\"\\\\u2700-\\\\u27bf\",ut=\"a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff\",st=\"\\\\xac\\\\xb1\\\\xd7\\\\xf7\",lt=\"\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf\",ft=\"\\\\u2000-\\\\u206f\",dt=\" \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000\",ht=\"A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde\",pt=\"\\\\ufe0e\\\\ufe0f\",vt=st+lt+ft+dt,gt=\"['\\u2019]\",mt=\"[\"+nt+\"]\",yt=\"[\"+vt+\"]\",bt=\"[\"+at+\"]\",xt=\"\\\\d+\",wt=\"[\"+ct+\"]\",Ot=\"[\"+ut+\"]\",Et=\"[^\"+nt+vt+xt+ct+ut+ht+\"]\",St=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",jt=\"(?:\"+bt+\"|\"+St+\")\",kt=\"[^\"+nt+\"]\",_t=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",Ct=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",Mt=\"[\"+ht+\"]\",At=\"\\\\u200d\",Nt=\"(?:\"+Ot+\"|\"+Et+\")\",Tt=\"(?:\"+Mt+\"|\"+Et+\")\",It=\"(?:\"+gt+\"(?:d|ll|m|re|s|t|ve))?\",Pt=\"(?:\"+gt+\"(?:D|LL|M|RE|S|T|VE))?\",Lt=jt+\"?\",Dt=\"[\"+pt+\"]?\",Rt=\"(?:\"+At+\"(?:\"+[kt,_t,Ct].join(\"|\")+\")\"+Dt+Lt+\")*\",Ft=\"\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])\",Bt=\"\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])\",zt=Dt+Lt+Rt,Ut=\"(?:\"+[wt,_t,Ct].join(\"|\")+\")\"+zt,Gt=\"(?:\"+[kt+bt+\"?\",bt,_t,Ct,mt].join(\"|\")+\")\",Vt=RegExp(gt,\"g\"),Wt=RegExp(bt,\"g\"),Ht=RegExp(St+\"(?=\"+St+\")|\"+Gt+zt,\"g\"),Yt=RegExp([Mt+\"?\"+Ot+\"+\"+It+\"(?=\"+[yt,Mt,\"$\"].join(\"|\")+\")\",Tt+\"+\"+Pt+\"(?=\"+[yt,Mt+Nt,\"$\"].join(\"|\")+\")\",Mt+\"?\"+Nt+\"+\"+It,Mt+\"+\"+Pt,Bt,Ft,xt,Ut].join(\"|\"),\"g\"),Xt=RegExp(\"[\"+At+nt+at+pt+\"]\"),qt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Kt=[\"Array\",\"Buffer\",\"DataView\",\"Date\",\"Error\",\"Float32Array\",\"Float64Array\",\"Function\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Map\",\"Math\",\"Object\",\"Promise\",\"RegExp\",\"Set\",\"String\",\"Symbol\",\"TypeError\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"WeakMap\",\"_\",\"clearTimeout\",\"isFinite\",\"parseInt\",\"setTimeout\"],Zt=-1,$t={};$t[pe]=$t[ve]=$t[ge]=$t[me]=$t[ye]=$t[be]=$t[xe]=$t[we]=$t[Oe]=!0,$t[W]=$t[H]=$t[de]=$t[X]=$t[he]=$t[q]=$t[Z]=$t[$]=$t[J]=$t[ee]=$t[ne]=$t[ie]=$t[ae]=$t[ce]=$t[le]=!1;var Qt={};Qt[W]=Qt[H]=Qt[de]=Qt[he]=Qt[X]=Qt[q]=Qt[pe]=Qt[ve]=Qt[ge]=Qt[me]=Qt[ye]=Qt[J]=Qt[ee]=Qt[ne]=Qt[ie]=Qt[ae]=Qt[ce]=Qt[ue]=Qt[be]=Qt[xe]=Qt[we]=Qt[Oe]=!0,Qt[Z]=Qt[$]=Qt[le]=!1;var Jt={\"\\xc0\":\"A\",\"\\xc1\":\"A\",\"\\xc2\":\"A\",\"\\xc3\":\"A\",\"\\xc4\":\"A\",\"\\xc5\":\"A\",\"\\xe0\":\"a\",\"\\xe1\":\"a\",\"\\xe2\":\"a\",\"\\xe3\":\"a\",\"\\xe4\":\"a\",\"\\xe5\":\"a\",\"\\xc7\":\"C\",\"\\xe7\":\"c\",\"\\xd0\":\"D\",\"\\xf0\":\"d\",\"\\xc8\":\"E\",\"\\xc9\":\"E\",\"\\xca\":\"E\",\"\\xcb\":\"E\",\"\\xe8\":\"e\",\"\\xe9\":\"e\",\"\\xea\":\"e\",\"\\xeb\":\"e\",\"\\xcc\":\"I\",\"\\xcd\":\"I\",\"\\xce\":\"I\",\"\\xcf\":\"I\",\"\\xec\":\"i\",\"\\xed\":\"i\",\"\\xee\":\"i\",\"\\xef\":\"i\",\"\\xd1\":\"N\",\"\\xf1\":\"n\",\"\\xd2\":\"O\",\"\\xd3\":\"O\",\"\\xd4\":\"O\",\"\\xd5\":\"O\",\"\\xd6\":\"O\",\"\\xd8\":\"O\",\"\\xf2\":\"o\",\"\\xf3\":\"o\",\"\\xf4\":\"o\",\"\\xf5\":\"o\",\"\\xf6\":\"o\",\"\\xf8\":\"o\",\"\\xd9\":\"U\",\"\\xda\":\"U\",\"\\xdb\":\"U\",\"\\xdc\":\"U\",\"\\xf9\":\"u\",\"\\xfa\":\"u\",\"\\xfb\":\"u\",\"\\xfc\":\"u\",\"\\xdd\":\"Y\",\"\\xfd\":\"y\",\"\\xff\":\"y\",\"\\xc6\":\"Ae\",\"\\xe6\":\"ae\",\"\\xde\":\"Th\",\"\\xfe\":\"th\",\"\\xdf\":\"ss\",\"\\u0100\":\"A\",\"\\u0102\":\"A\",\"\\u0104\":\"A\",\"\\u0101\":\"a\",\"\\u0103\":\"a\",\"\\u0105\":\"a\",\"\\u0106\":\"C\",\"\\u0108\":\"C\",\"\\u010a\":\"C\",\"\\u010c\":\"C\",\"\\u0107\":\"c\",\"\\u0109\":\"c\",\"\\u010b\":\"c\",\"\\u010d\":\"c\",\"\\u010e\":\"D\",\"\\u0110\":\"D\",\"\\u010f\":\"d\",\"\\u0111\":\"d\",\"\\u0112\":\"E\",\"\\u0114\":\"E\",\"\\u0116\":\"E\",\"\\u0118\":\"E\",\"\\u011a\":\"E\",\"\\u0113\":\"e\",\"\\u0115\":\"e\",\"\\u0117\":\"e\",\"\\u0119\":\"e\",\"\\u011b\":\"e\",\"\\u011c\":\"G\",\"\\u011e\":\"G\",\"\\u0120\":\"G\",\"\\u0122\":\"G\",\"\\u011d\":\"g\",\"\\u011f\":\"g\",\"\\u0121\":\"g\",\"\\u0123\":\"g\",\"\\u0124\":\"H\",\"\\u0126\":\"H\",\"\\u0125\":\"h\",\"\\u0127\":\"h\",\"\\u0128\":\"I\",\"\\u012a\":\"I\",\"\\u012c\":\"I\",\"\\u012e\":\"I\",\"\\u0130\":\"I\",\"\\u0129\":\"i\",\"\\u012b\":\"i\",\"\\u012d\":\"i\",\"\\u012f\":\"i\",\"\\u0131\":\"i\",\"\\u0134\":\"J\",\"\\u0135\":\"j\",\"\\u0136\":\"K\",\"\\u0137\":\"k\",\"\\u0138\":\"k\",\"\\u0139\":\"L\",\"\\u013b\":\"L\",\"\\u013d\":\"L\",\"\\u013f\":\"L\",\"\\u0141\":\"L\",\"\\u013a\":\"l\",\"\\u013c\":\"l\",\"\\u013e\":\"l\",\"\\u0140\":\"l\",\"\\u0142\":\"l\",\"\\u0143\":\"N\",\"\\u0145\":\"N\",\"\\u0147\":\"N\",\"\\u014a\":\"N\",\"\\u0144\":\"n\",\"\\u0146\":\"n\",\"\\u0148\":\"n\",\"\\u014b\":\"n\",\"\\u014c\":\"O\",\"\\u014e\":\"O\",\"\\u0150\":\"O\",\"\\u014d\":\"o\",\"\\u014f\":\"o\",\"\\u0151\":\"o\",\"\\u0154\":\"R\",\"\\u0156\":\"R\",\"\\u0158\":\"R\",\"\\u0155\":\"r\",\"\\u0157\":\"r\",\"\\u0159\":\"r\",\"\\u015a\":\"S\",\"\\u015c\":\"S\",\"\\u015e\":\"S\",\"\\u0160\":\"S\",\"\\u015b\":\"s\",\"\\u015d\":\"s\",\"\\u015f\":\"s\",\"\\u0161\":\"s\",\"\\u0162\":\"T\",\"\\u0164\":\"T\",\"\\u0166\":\"T\",\"\\u0163\":\"t\",\"\\u0165\":\"t\",\"\\u0167\":\"t\",\"\\u0168\":\"U\",\"\\u016a\":\"U\",\"\\u016c\":\"U\",\"\\u016e\":\"U\",\"\\u0170\":\"U\",\"\\u0172\":\"U\",\"\\u0169\":\"u\",\"\\u016b\":\"u\",\"\\u016d\":\"u\",\"\\u016f\":\"u\",\"\\u0171\":\"u\",\"\\u0173\":\"u\",\"\\u0174\":\"W\",\"\\u0175\":\"w\",\"\\u0176\":\"Y\",\"\\u0177\":\"y\",\"\\u0178\":\"Y\",\"\\u0179\":\"Z\",\"\\u017b\":\"Z\",\"\\u017d\":\"Z\",\"\\u017a\":\"z\",\"\\u017c\":\"z\",\"\\u017e\":\"z\",\"\\u0132\":\"IJ\",\"\\u0133\":\"ij\",\"\\u0152\":\"Oe\",\"\\u0153\":\"oe\",\"\\u0149\":\"'n\",\"\\u017f\":\"s\"},en={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\"},tn={\"&amp;\":\"&\",\"&lt;\":\"<\",\"&gt;\":\">\",\"&quot;\":'\"',\"&#39;\":\"'\"},nn={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},rn=parseFloat,on=parseInt,an=\"object\"==typeof e&&e&&e.Object===Object&&e,cn=\"object\"==typeof self&&self&&self.Object===Object&&self,un=an||cn||Function(\"return this\")(),sn=t&&!t.nodeType&&t,ln=sn&&\"object\"==typeof r&&r&&!r.nodeType&&r,fn=ln&&ln.exports===sn,dn=fn&&an.process,hn=function(){try{var e=ln&&ln.require&&ln.require(\"util\").types;return e||dn&&dn.binding&&dn.binding(\"util\")}catch(t){}}(),pn=hn&&hn.isArrayBuffer,vn=hn&&hn.isDate,gn=hn&&hn.isMap,mn=hn&&hn.isRegExp,yn=hn&&hn.isSet,bn=hn&&hn.isTypedArray;function xn(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function wn(e,t,n,r){var o=-1,i=null==e?0:e.length;while(++o<i){var a=e[o];t(r,a,n(a),e)}return r}function On(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(!1===t(e[n],n,e))break;return e}function En(e,t){var n=null==e?0:e.length;while(n--)if(!1===t(e[n],n,e))break;return e}function Sn(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(!t(e[n],n,e))return!1;return!0}function jn(e,t){var n=-1,r=null==e?0:e.length,o=0,i=[];while(++n<r){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function kn(e,t){var n=null==e?0:e.length;return!!n&&Fn(e,t,0)>-1}function _n(e,t,n){var r=-1,o=null==e?0:e.length;while(++r<o)if(n(t,e[r]))return!0;return!1}function Cn(e,t){var n=-1,r=null==e?0:e.length,o=Array(r);while(++n<r)o[n]=t(e[n],n,e);return o}function Mn(e,t){var n=-1,r=t.length,o=e.length;while(++n<r)e[o+n]=t[n];return e}function An(e,t,n,r){var o=-1,i=null==e?0:e.length;r&&i&&(n=e[++o]);while(++o<i)n=t(n,e[o],o,e);return n}function Nn(e,t,n,r){var o=null==e?0:e.length;r&&o&&(n=e[--o]);while(o--)n=t(n,e[o],o,e);return n}function Tn(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(t(e[n],n,e))return!0;return!1}var In=Gn(\"length\");function Pn(e){return e.split(\"\")}function Ln(e){return e.match(Ve)||[]}function Dn(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Rn(e,t,n,r){var o=e.length,i=n+(r?1:-1);while(r?i--:++i<o)if(t(e[i],i,e))return i;return-1}function Fn(e,t,n){return t===t?pr(e,t,n):Rn(e,zn,n)}function Bn(e,t,n,r){var o=n-1,i=e.length;while(++o<i)if(r(e[o],t))return o;return-1}function zn(e){return e!==e}function Un(e,t){var n=null==e?0:e.length;return n?Yn(e,t)/n:B}function Gn(e){return function(t){return null==t?i:t[e]}}function Vn(e){return function(t){return null==e?i:e[t]}}function Wn(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Hn(e,t){var n=e.length;e.sort(t);while(n--)e[n]=e[n].value;return e}function Yn(e,t){var n,r=-1,o=e.length;while(++r<o){var a=t(e[r]);a!==i&&(n=n===i?a:n+a)}return n}function Xn(e,t){var n=-1,r=Array(e);while(++n<e)r[n]=t(n);return r}function qn(e,t){return Cn(t,(function(t){return[t,e[t]]}))}function Kn(e){return e?e.slice(0,yr(e)+1).replace(Fe,\"\"):e}function Zn(e){return function(t){return e(t)}}function $n(e,t){return Cn(t,(function(t){return e[t]}))}function Qn(e,t){return e.has(t)}function Jn(e,t){var n=-1,r=e.length;while(++n<r&&Fn(t,e[n],0)>-1);return n}function er(e,t){var n=e.length;while(n--&&Fn(t,e[n],0)>-1);return n}function tr(e,t){var n=e.length,r=0;while(n--)e[n]===t&&++r;return r}var nr=Vn(Jt),rr=Vn(en);function or(e){return\"\\\\\"+nn[e]}function ir(e,t){return null==e?i:e[t]}function ar(e){return Xt.test(e)}function cr(e){return qt.test(e)}function ur(e){var t,n=[];while(!(t=e.next()).done)n.push(t.value);return n}function sr(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function lr(e,t){return function(n){return e(t(n))}}function fr(e,t){var n=-1,r=e.length,o=0,i=[];while(++n<r){var a=e[n];a!==t&&a!==h||(e[n]=h,i[o++]=n)}return i}function dr(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function hr(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function pr(e,t,n){var r=n-1,o=e.length;while(++r<o)if(e[r]===t)return r;return-1}function vr(e,t,n){var r=n+1;while(r--)if(e[r]===t)return r;return r}function gr(e){return ar(e)?xr(e):In(e)}function mr(e){return ar(e)?wr(e):Pn(e)}function yr(e){var t=e.length;while(t--&&Be.test(e.charAt(t)));return t}var br=Vn(tn);function xr(e){var t=Ht.lastIndex=0;while(Ht.test(e))++t;return t}function wr(e){return e.match(Ht)||[]}function Or(e){return e.match(Yt)||[]}var Er=function e(t){t=null==t?un:Sr.defaults(un.Object(),t,Sr.pick(un,Kt));var n=t.Array,r=t.Date,o=t.Error,Be=t.Function,Ve=t.Math,nt=t.Object,rt=t.RegExp,ot=t.String,it=t.TypeError,at=n.prototype,ct=Be.prototype,ut=nt.prototype,st=t[\"__core-js_shared__\"],lt=ct.toString,ft=ut.hasOwnProperty,dt=0,ht=function(){var e=/[^.]+$/.exec(st&&st.keys&&st.keys.IE_PROTO||\"\");return e?\"Symbol(src)_1.\"+e:\"\"}(),pt=ut.toString,vt=lt.call(nt),gt=un._,mt=rt(\"^\"+lt.call(ft).replace(De,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),yt=fn?t.Buffer:i,bt=t.Symbol,xt=t.Uint8Array,wt=yt?yt.allocUnsafe:i,Ot=lr(nt.getPrototypeOf,nt),Et=nt.create,St=ut.propertyIsEnumerable,jt=at.splice,kt=bt?bt.isConcatSpreadable:i,_t=bt?bt.iterator:i,Ct=bt?bt.toStringTag:i,Mt=function(){try{var e=Xa(nt,\"defineProperty\");return e({},\"\",{}),e}catch(t){}}(),At=t.clearTimeout!==un.clearTimeout&&t.clearTimeout,Nt=r&&r.now!==un.Date.now&&r.now,Tt=t.setTimeout!==un.setTimeout&&t.setTimeout,It=Ve.ceil,Pt=Ve.floor,Lt=nt.getOwnPropertySymbols,Dt=yt?yt.isBuffer:i,Rt=t.isFinite,Ft=at.join,Bt=lr(nt.keys,nt),zt=Ve.max,Ut=Ve.min,Gt=r.now,Ht=t.parseInt,Yt=Ve.random,Xt=at.reverse,qt=Xa(t,\"DataView\"),Jt=Xa(t,\"Map\"),en=Xa(t,\"Promise\"),tn=Xa(t,\"Set\"),nn=Xa(t,\"WeakMap\"),an=Xa(nt,\"create\"),cn=nn&&new nn,sn={},ln=Tc(qt),dn=Tc(Jt),hn=Tc(en),In=Tc(tn),Pn=Tc(nn),Vn=bt?bt.prototype:i,pr=Vn?Vn.valueOf:i,xr=Vn?Vn.toString:i;function wr(e){if(jl(e)&&!ul(e)&&!(e instanceof _r)){if(e instanceof kr)return e;if(ft.call(e,\"__wrapped__\"))return Pc(e)}return new kr(e)}var Er=function(){function e(){}return function(t){if(!Sl(t))return{};if(Et)return Et(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function jr(){}function kr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function _r(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=z,this.__views__=[]}function Cr(){var e=new _r(this.__wrapped__);return e.__actions__=oa(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=oa(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=oa(this.__views__),e}function Mr(){if(this.__filtered__){var e=new _r(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Ar(){var e=this.__wrapped__.value(),t=this.__dir__,n=ul(e),r=t<0,o=n?e.length:0,i=Qa(0,o,this.__views__),a=i.start,c=i.end,u=c-a,s=r?c:a-1,l=this.__iteratees__,f=l.length,d=0,h=Ut(u,this.__takeCount__);if(!n||!r&&o==u&&h==u)return Bi(e,this.__actions__);var p=[];e:while(u--&&d<h){s+=t;var v=-1,g=e[s];while(++v<f){var m=l[v],y=m.iteratee,b=m.type,x=y(g);if(b==P)g=x;else if(!x){if(b==I)continue e;break e}}p[d++]=g}return p}function Nr(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Tr(){this.__data__=an?an(null):{},this.size=0}function Ir(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function Pr(e){var t=this.__data__;if(an){var n=t[e];return n===f?i:n}return ft.call(t,e)?t[e]:i}function Lr(e){var t=this.__data__;return an?t[e]!==i:ft.call(t,e)}function Dr(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=an&&t===i?f:t,this}function Rr(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Fr(){this.__data__=[],this.size=0}function Br(e){var t=this.__data__,n=lo(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():jt.call(t,n,1),--this.size,!0}function zr(e){var t=this.__data__,n=lo(t,e);return n<0?i:t[n][1]}function Ur(e){return lo(this.__data__,e)>-1}function Gr(e,t){var n=this.__data__,r=lo(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Vr(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Wr(){this.size=0,this.__data__={hash:new Nr,map:new(Jt||Rr),string:new Nr}}function Hr(e){var t=Ha(this,e)[\"delete\"](e);return this.size-=t?1:0,t}function Yr(e){return Ha(this,e).get(e)}function Xr(e){return Ha(this,e).has(e)}function qr(e,t){var n=Ha(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Kr(e){var t=-1,n=null==e?0:e.length;this.__data__=new Vr;while(++t<n)this.add(e[t])}function Zr(e){return this.__data__.set(e,f),this}function $r(e){return this.__data__.has(e)}function Qr(e){var t=this.__data__=new Rr(e);this.size=t.size}function Jr(){this.__data__=new Rr,this.size=0}function eo(e){var t=this.__data__,n=t[\"delete\"](e);return this.size=t.size,n}function to(e){return this.__data__.get(e)}function no(e){return this.__data__.has(e)}function ro(e,t){var n=this.__data__;if(n instanceof Rr){var r=n.__data__;if(!Jt||r.length<c-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Vr(r)}return n.set(e,t),this.size=n.size,this}function oo(e,t){var n=ul(e),r=!n&&cl(e),o=!n&&!r&&hl(e),i=!n&&!r&&!o&&zl(e),a=n||r||o||i,c=a?Xn(e.length,ot):[],u=c.length;for(var s in e)!t&&!ft.call(e,s)||a&&(\"length\"==s||o&&(\"offset\"==s||\"parent\"==s)||i&&(\"buffer\"==s||\"byteLength\"==s||\"byteOffset\"==s)||ac(s,u))||c.push(s);return c}function io(e){var t=e.length;return t?e[yi(0,t-1)]:i}function ao(e,t){return Mc(oa(e),mo(t,0,e.length))}function co(e){return Mc(oa(e))}function uo(e,t,n){(n!==i&&!ol(e[t],n)||n===i&&!(t in e))&&vo(e,t,n)}function so(e,t,n){var r=e[t];ft.call(e,t)&&ol(r,n)&&(n!==i||t in e)||vo(e,t,n)}function lo(e,t){var n=e.length;while(n--)if(ol(e[n][0],t))return n;return-1}function fo(e,t,n,r){return Eo(e,(function(e,o,i){t(r,e,n(e),i)})),r}function ho(e,t){return e&&ia(t,Ef(t),e)}function po(e,t){return e&&ia(t,Sf(t),e)}function vo(e,t,n){\"__proto__\"==t&&Mt?Mt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function go(e,t){var r=-1,o=t.length,a=n(o),c=null==e;while(++r<o)a[r]=c?i:mf(e,t[r]);return a}function mo(e,t,n){return e===e&&(n!==i&&(e=e<=n?e:n),t!==i&&(e=e>=t?e:t)),e}function yo(e,t,n,r,o,a){var c,u=t&p,s=t&v,l=t&g;if(n&&(c=o?n(e,r,o,a):n(e)),c!==i)return c;if(!Sl(e))return e;var f=ul(e);if(f){if(c=tc(e),!u)return oa(e,c)}else{var d=$a(e),h=d==$||d==Q;if(hl(e))return qi(e,u);if(d==ne||d==W||h&&!o){if(c=s||h?{}:nc(e),!u)return s?ca(e,po(c,e)):aa(e,ho(c,e))}else{if(!Qt[d])return o?e:{};c=rc(e,d,u)}}a||(a=new Qr);var m=a.get(e);if(m)return m;a.set(e,c),Rl(e)?e.forEach((function(r){c.add(yo(r,t,n,r,e,a))})):kl(e)&&e.forEach((function(r,o){c.set(o,yo(r,t,n,o,e,a))}));var y=l?s?za:Ba:s?Sf:Ef,b=f?i:y(e);return On(b||e,(function(r,o){b&&(o=r,r=e[o]),so(c,o,yo(r,t,n,o,e,a))})),c}function bo(e){var t=Ef(e);return function(n){return xo(n,e,t)}}function xo(e,t,n){var r=n.length;if(null==e)return!r;e=nt(e);while(r--){var o=n[r],a=t[o],c=e[o];if(c===i&&!(o in e)||!a(c))return!1}return!0}function wo(e,t,n){if(\"function\"!=typeof e)throw new it(s);return jc((function(){e.apply(i,n)}),t)}function Oo(e,t,n,r){var o=-1,i=kn,a=!0,u=e.length,s=[],l=t.length;if(!u)return s;n&&(t=Cn(t,Zn(n))),r?(i=_n,a=!1):t.length>=c&&(i=Qn,a=!1,t=new Kr(t));e:while(++o<u){var f=e[o],d=null==n?f:n(f);if(f=r||0!==f?f:0,a&&d===d){var h=l;while(h--)if(t[h]===d)continue e;s.push(f)}else i(t,d,r)||s.push(f)}return s}wr.templateSettings={escape:Ae,evaluate:Ne,interpolate:Te,variable:\"\",imports:{_:wr}},wr.prototype=jr.prototype,wr.prototype.constructor=wr,kr.prototype=Er(jr.prototype),kr.prototype.constructor=kr,_r.prototype=Er(jr.prototype),_r.prototype.constructor=_r,Nr.prototype.clear=Tr,Nr.prototype[\"delete\"]=Ir,Nr.prototype.get=Pr,Nr.prototype.has=Lr,Nr.prototype.set=Dr,Rr.prototype.clear=Fr,Rr.prototype[\"delete\"]=Br,Rr.prototype.get=zr,Rr.prototype.has=Ur,Rr.prototype.set=Gr,Vr.prototype.clear=Wr,Vr.prototype[\"delete\"]=Hr,Vr.prototype.get=Yr,Vr.prototype.has=Xr,Vr.prototype.set=qr,Kr.prototype.add=Kr.prototype.push=Zr,Kr.prototype.has=$r,Qr.prototype.clear=Jr,Qr.prototype[\"delete\"]=eo,Qr.prototype.get=to,Qr.prototype.has=no,Qr.prototype.set=ro;var Eo=la(To),So=la(Io,!0);function jo(e,t){var n=!0;return Eo(e,(function(e,r,o){return n=!!t(e,r,o),n})),n}function ko(e,t,n){var r=-1,o=e.length;while(++r<o){var a=e[r],c=t(a);if(null!=c&&(u===i?c===c&&!Bl(c):n(c,u)))var u=c,s=a}return s}function _o(e,t,n,r){var o=e.length;n=ql(n),n<0&&(n=-n>o?0:o+n),r=r===i||r>o?o:ql(r),r<0&&(r+=o),r=n>r?0:Kl(r);while(n<r)e[n++]=t;return e}function Co(e,t){var n=[];return Eo(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function Mo(e,t,n,r,o){var i=-1,a=e.length;n||(n=ic),o||(o=[]);while(++i<a){var c=e[i];t>0&&n(c)?t>1?Mo(c,t-1,n,r,o):Mn(o,c):r||(o[o.length]=c)}return o}var Ao=fa(),No=fa(!0);function To(e,t){return e&&Ao(e,t,Ef)}function Io(e,t){return e&&No(e,t,Ef)}function Po(e,t){return jn(t,(function(t){return wl(e[t])}))}function Lo(e,t){t=Wi(t,e);var n=0,r=t.length;while(null!=e&&n<r)e=e[Nc(t[n++])];return n&&n==r?e:i}function Do(e,t,n){var r=t(e);return ul(e)?r:Mn(r,n(e))}function Ro(e){return null==e?e===i?se:te:Ct&&Ct in nt(e)?qa(e):bc(e)}function Fo(e,t){return e>t}function Bo(e,t){return null!=e&&ft.call(e,t)}function zo(e,t){return null!=e&&t in nt(e)}function Uo(e,t,n){return e>=Ut(t,n)&&e<zt(t,n)}function Go(e,t,r){var o=r?_n:kn,a=e[0].length,c=e.length,u=c,s=n(c),l=1/0,f=[];while(u--){var d=e[u];u&&t&&(d=Cn(d,Zn(t))),l=Ut(d.length,l),s[u]=!r&&(t||a>=120&&d.length>=120)?new Kr(u&&d):i}d=e[0];var h=-1,p=s[0];e:while(++h<a&&f.length<l){var v=d[h],g=t?t(v):v;if(v=r||0!==v?v:0,!(p?Qn(p,g):o(f,g,r))){u=c;while(--u){var m=s[u];if(!(m?Qn(m,g):o(e[u],g,r)))continue e}p&&p.push(g),f.push(v)}}return f}function Vo(e,t,n,r){return To(e,(function(e,o,i){t(r,n(e),o,i)})),r}function Wo(e,t,n){t=Wi(t,e),e=wc(e,t);var r=null==e?e:e[Nc(iu(t))];return null==r?i:xn(r,e,n)}function Ho(e){return jl(e)&&Ro(e)==W}function Yo(e){return jl(e)&&Ro(e)==de}function Xo(e){return jl(e)&&Ro(e)==q}function qo(e,t,n,r,o){return e===t||(null==e||null==t||!jl(e)&&!jl(t)?e!==e&&t!==t:Ko(e,t,n,r,qo,o))}function Ko(e,t,n,r,o,i){var a=ul(e),c=ul(t),u=a?H:$a(e),s=c?H:$a(t);u=u==W?ne:u,s=s==W?ne:s;var l=u==ne,f=s==ne,d=u==s;if(d&&hl(e)){if(!hl(t))return!1;a=!0,l=!1}if(d&&!l)return i||(i=new Qr),a||zl(e)?La(e,t,n,r,o,i):Da(e,t,u,n,r,o,i);if(!(n&m)){var h=l&&ft.call(e,\"__wrapped__\"),p=f&&ft.call(t,\"__wrapped__\");if(h||p){var v=h?e.value():e,g=p?t.value():t;return i||(i=new Qr),o(v,g,n,r,i)}}return!!d&&(i||(i=new Qr),Ra(e,t,n,r,o,i))}function Zo(e){return jl(e)&&$a(e)==J}function $o(e,t,n,r){var o=n.length,a=o,c=!r;if(null==e)return!a;e=nt(e);while(o--){var u=n[o];if(c&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}while(++o<a){u=n[o];var s=u[0],l=e[s],f=u[1];if(c&&u[2]){if(l===i&&!(s in e))return!1}else{var d=new Qr;if(r)var h=r(l,f,s,e,t,d);if(!(h===i?qo(f,l,m|y,r,d):h))return!1}}return!0}function Qo(e){if(!Sl(e)||fc(e))return!1;var t=wl(e)?mt:Ze;return t.test(Tc(e))}function Jo(e){return jl(e)&&Ro(e)==ie}function ei(e){return jl(e)&&$a(e)==ae}function ti(e){return jl(e)&&El(e.length)&&!!$t[Ro(e)]}function ni(e){return\"function\"==typeof e?e:null==e?Nd:\"object\"==typeof e?ul(e)?ui(e[0],e[1]):ci(e):Wd(e)}function ri(e){if(!hc(e))return Bt(e);var t=[];for(var n in nt(e))ft.call(e,n)&&\"constructor\"!=n&&t.push(n);return t}function oi(e){if(!Sl(e))return yc(e);var t=hc(e),n=[];for(var r in e)(\"constructor\"!=r||!t&&ft.call(e,r))&&n.push(r);return n}function ii(e,t){return e<t}function ai(e,t){var r=-1,o=ll(e)?n(e.length):[];return Eo(e,(function(e,n,i){o[++r]=t(e,n,i)})),o}function ci(e){var t=Ya(e);return 1==t.length&&t[0][2]?vc(t[0][0],t[0][1]):function(n){return n===e||$o(n,e,t)}}function ui(e,t){return uc(e)&&pc(t)?vc(Nc(e),t):function(n){var r=mf(n,e);return r===i&&r===t?bf(n,e):qo(t,r,m|y)}}function si(e,t,n,r,o){e!==t&&Ao(t,(function(a,c){if(o||(o=new Qr),Sl(a))li(e,t,c,n,si,r,o);else{var u=r?r(Ec(e,c),a,c+\"\",e,t,o):i;u===i&&(u=a),uo(e,c,u)}}),Sf)}function li(e,t,n,r,o,a,c){var u=Ec(e,n),s=Ec(t,n),l=c.get(s);if(l)uo(e,n,l);else{var f=a?a(u,s,n+\"\",e,t,c):i,d=f===i;if(d){var h=ul(s),p=!h&&hl(s),v=!h&&!p&&zl(s);f=s,h||p||v?ul(u)?f=u:fl(u)?f=oa(u):p?(d=!1,f=qi(s,!0)):v?(d=!1,f=Ji(s,!0)):f=[]:Pl(s)||cl(s)?(f=u,cl(u)?f=$l(u):Sl(u)&&!wl(u)||(f=nc(s))):d=!1}d&&(c.set(s,f),o(f,s,r,a,c),c[\"delete\"](s)),uo(e,n,f)}}function fi(e,t){var n=e.length;if(n)return t+=t<0?n:0,ac(t,n)?e[t]:i}function di(e,t,n){t=t.length?Cn(t,(function(e){return ul(e)?function(t){return Lo(t,1===e.length?e[0]:e)}:e})):[Nd];var r=-1;t=Cn(t,Zn(Wa()));var o=ai(e,(function(e,n,o){var i=Cn(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return Hn(o,(function(e,t){return ta(e,t,n)}))}function hi(e,t){return pi(e,t,(function(t,n){return bf(e,n)}))}function pi(e,t,n){var r=-1,o=t.length,i={};while(++r<o){var a=t[r],c=Lo(e,a);n(c,a)&&Si(i,Wi(a,e),c)}return i}function vi(e){return function(t){return Lo(t,e)}}function gi(e,t,n,r){var o=r?Bn:Fn,i=-1,a=t.length,c=e;e===t&&(t=oa(t)),n&&(c=Cn(e,Zn(n)));while(++i<a){var u=0,s=t[i],l=n?n(s):s;while((u=o(c,l,u,r))>-1)c!==e&&jt.call(c,u,1),jt.call(e,u,1)}return e}function mi(e,t){var n=e?t.length:0,r=n-1;while(n--){var o=t[n];if(n==r||o!==i){var i=o;ac(o)?jt.call(e,o,1):Di(e,o)}}return e}function yi(e,t){return e+Pt(Yt()*(t-e+1))}function bi(e,t,r,o){var i=-1,a=zt(It((t-e)/(r||1)),0),c=n(a);while(a--)c[o?a:++i]=e,e+=r;return c}function xi(e,t){var n=\"\";if(!e||t<1||t>R)return n;do{t%2&&(n+=e),t=Pt(t/2),t&&(e+=e)}while(t);return n}function wi(e,t){return kc(xc(e,t,Nd),e+\"\")}function Oi(e){return io(Gf(e))}function Ei(e,t){var n=Gf(e);return Mc(n,mo(t,0,n.length))}function Si(e,t,n,r){if(!Sl(e))return e;t=Wi(t,e);var o=-1,a=t.length,c=a-1,u=e;while(null!=u&&++o<a){var s=Nc(t[o]),l=n;if(\"__proto__\"===s||\"constructor\"===s||\"prototype\"===s)return e;if(o!=c){var f=u[s];l=r?r(f,s,u):i,l===i&&(l=Sl(f)?f:ac(t[o+1])?[]:{})}so(u,s,l),u=u[s]}return e}var ji=cn?function(e,t){return cn.set(e,t),e}:Nd,ki=Mt?function(e,t){return Mt(e,\"toString\",{configurable:!0,enumerable:!1,value:_d(t),writable:!0})}:Nd;function _i(e){return Mc(Gf(e))}function Ci(e,t,r){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),r=r>i?i:r,r<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;var a=n(i);while(++o<i)a[o]=e[o+t];return a}function Mi(e,t){var n;return Eo(e,(function(e,r,o){return n=t(e,r,o),!n})),!!n}function Ai(e,t,n){var r=0,o=null==e?r:e.length;if(\"number\"==typeof t&&t===t&&o<=G){while(r<o){var i=r+o>>>1,a=e[i];null!==a&&!Bl(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return Ni(e,t,Nd,n)}function Ni(e,t,n,r){var o=0,a=null==e?0:e.length;if(0===a)return 0;t=n(t);var c=t!==t,u=null===t,s=Bl(t),l=t===i;while(o<a){var f=Pt((o+a)/2),d=n(e[f]),h=d!==i,p=null===d,v=d===d,g=Bl(d);if(c)var m=r||v;else m=l?v&&(r||h):u?v&&h&&(r||!p):s?v&&h&&!p&&(r||!g):!p&&!g&&(r?d<=t:d<t);m?o=f+1:a=f}return Ut(a,U)}function Ti(e,t){var n=-1,r=e.length,o=0,i=[];while(++n<r){var a=e[n],c=t?t(a):a;if(!n||!ol(c,u)){var u=c;i[o++]=0===a?0:a}}return i}function Ii(e){return\"number\"==typeof e?e:Bl(e)?B:+e}function Pi(e){if(\"string\"==typeof e)return e;if(ul(e))return Cn(e,Pi)+\"\";if(Bl(e))return xr?xr.call(e):\"\";var t=e+\"\";return\"0\"==t&&1/e==-D?\"-0\":t}function Li(e,t,n){var r=-1,o=kn,i=e.length,a=!0,u=[],s=u;if(n)a=!1,o=_n;else if(i>=c){var l=t?null:Ma(e);if(l)return dr(l);a=!1,o=Qn,s=new Kr}else s=t?[]:u;e:while(++r<i){var f=e[r],d=t?t(f):f;if(f=n||0!==f?f:0,a&&d===d){var h=s.length;while(h--)if(s[h]===d)continue e;t&&s.push(d),u.push(f)}else o(s,d,n)||(s!==u&&s.push(d),u.push(f))}return u}function Di(e,t){return t=Wi(t,e),e=wc(e,t),null==e||delete e[Nc(iu(t))]}function Ri(e,t,n,r){return Si(e,t,n(Lo(e,t)),r)}function Fi(e,t,n,r){var o=e.length,i=r?o:-1;while((r?i--:++i<o)&&t(e[i],i,e));return n?Ci(e,r?0:i,r?i+1:o):Ci(e,r?i+1:0,r?o:i)}function Bi(e,t){var n=e;return n instanceof _r&&(n=n.value()),An(t,(function(e,t){return t.func.apply(t.thisArg,Mn([e],t.args))}),n)}function zi(e,t,r){var o=e.length;if(o<2)return o?Li(e[0]):[];var i=-1,a=n(o);while(++i<o){var c=e[i],u=-1;while(++u<o)u!=i&&(a[i]=Oo(a[i]||c,e[u],t,r))}return Li(Mo(a,1),t,r)}function Ui(e,t,n){var r=-1,o=e.length,a=t.length,c={};while(++r<o){var u=r<a?t[r]:i;n(c,e[r],u)}return c}function Gi(e){return fl(e)?e:[]}function Vi(e){return\"function\"==typeof e?e:Nd}function Wi(e,t){return ul(e)?e:uc(e,t)?[e]:Ac(Jl(e))}var Hi=wi;function Yi(e,t,n){var r=e.length;return n=n===i?r:n,!t&&n>=r?e:Ci(e,t,n)}var Xi=At||function(e){return un.clearTimeout(e)};function qi(e,t){if(t)return e.slice();var n=e.length,r=wt?wt(n):new e.constructor(n);return e.copy(r),r}function Ki(e){var t=new e.constructor(e.byteLength);return new xt(t).set(new xt(e)),t}function Zi(e,t){var n=t?Ki(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function $i(e){var t=new e.constructor(e.source,Xe.exec(e));return t.lastIndex=e.lastIndex,t}function Qi(e){return pr?nt(pr.call(e)):{}}function Ji(e,t){var n=t?Ki(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ea(e,t){if(e!==t){var n=e!==i,r=null===e,o=e===e,a=Bl(e),c=t!==i,u=null===t,s=t===t,l=Bl(t);if(!u&&!l&&!a&&e>t||a&&c&&s&&!u&&!l||r&&c&&s||!n&&s||!o)return 1;if(!r&&!a&&!l&&e<t||l&&n&&o&&!r&&!a||u&&n&&o||!c&&o||!s)return-1}return 0}function ta(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,c=n.length;while(++r<a){var u=ea(o[r],i[r]);if(u){if(r>=c)return u;var s=n[r];return u*(\"desc\"==s?-1:1)}}return e.index-t.index}function na(e,t,r,o){var i=-1,a=e.length,c=r.length,u=-1,s=t.length,l=zt(a-c,0),f=n(s+l),d=!o;while(++u<s)f[u]=t[u];while(++i<c)(d||i<a)&&(f[r[i]]=e[i]);while(l--)f[u++]=e[i++];return f}function ra(e,t,r,o){var i=-1,a=e.length,c=-1,u=r.length,s=-1,l=t.length,f=zt(a-u,0),d=n(f+l),h=!o;while(++i<f)d[i]=e[i];var p=i;while(++s<l)d[p+s]=t[s];while(++c<u)(h||i<a)&&(d[p+r[c]]=e[i++]);return d}function oa(e,t){var r=-1,o=e.length;t||(t=n(o));while(++r<o)t[r]=e[r];return t}function ia(e,t,n,r){var o=!n;n||(n={});var a=-1,c=t.length;while(++a<c){var u=t[a],s=r?r(n[u],e[u],u,n,e):i;s===i&&(s=e[u]),o?vo(n,u,s):so(n,u,s)}return n}function aa(e,t){return ia(e,Ka(e),t)}function ca(e,t){return ia(e,Za(e),t)}function ua(e,t){return function(n,r){var o=ul(n)?wn:fo,i=t?t():{};return o(n,e,Wa(r,2),i)}}function sa(e){return wi((function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:i,c=o>2?n[2]:i;a=e.length>3&&\"function\"==typeof a?(o--,a):i,c&&cc(n[0],n[1],c)&&(a=o<3?i:a,o=1),t=nt(t);while(++r<o){var u=n[r];u&&e(t,u,r,a)}return t}))}function la(e,t){return function(n,r){if(null==n)return n;if(!ll(n))return e(n,r);var o=n.length,i=t?o:-1,a=nt(n);while(t?i--:++i<o)if(!1===r(a[i],i,a))break;return n}}function fa(e){return function(t,n,r){var o=-1,i=nt(t),a=r(t),c=a.length;while(c--){var u=a[e?c:++o];if(!1===n(i[u],u,i))break}return t}}function da(e,t,n){var r=t&b,o=va(e);function i(){var t=this&&this!==un&&this instanceof i?o:e;return t.apply(r?n:this,arguments)}return i}function ha(e){return function(t){t=Jl(t);var n=ar(t)?mr(t):i,r=n?n[0]:t.charAt(0),o=n?Yi(n,1).join(\"\"):t.slice(1);return r[e]()+o}}function pa(e){return function(t){return An(Od(Kf(t).replace(Vt,\"\")),e,\"\")}}function va(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Er(e.prototype),r=e.apply(n,t);return Sl(r)?r:n}}function ga(e,t,r){var o=va(e);function a(){var c=arguments.length,u=n(c),s=c,l=Va(a);while(s--)u[s]=arguments[s];var f=c<3&&u[0]!==l&&u[c-1]!==l?[]:fr(u,l);if(c-=f.length,c<r)return _a(e,t,ba,a.placeholder,i,u,f,i,i,r-c);var d=this&&this!==un&&this instanceof a?o:e;return xn(d,this,u)}return a}function ma(e){return function(t,n,r){var o=nt(t);if(!ll(t)){var a=Wa(n,3);t=Ef(t),n=function(e){return a(o[e],e,o)}}var c=e(t,n,r);return c>-1?o[a?t[c]:c]:i}}function ya(e){return Fa((function(t){var n=t.length,r=n,o=kr.prototype.thru;e&&t.reverse();while(r--){var a=t[r];if(\"function\"!=typeof a)throw new it(s);if(o&&!c&&\"wrapper\"==Ga(a))var c=new kr([],!0)}r=c?r:n;while(++r<n){a=t[r];var u=Ga(a),l=\"wrapper\"==u?Ua(a):i;c=l&&lc(l[0])&&l[1]==(k|O|S|_)&&!l[4].length&&1==l[9]?c[Ga(l[0])].apply(c,l[3]):1==a.length&&lc(a)?c[u]():c.thru(a)}return function(){var e=arguments,r=e[0];if(c&&1==e.length&&ul(r))return c.plant(r).value();var o=0,i=n?t[o].apply(this,e):r;while(++o<n)i=t[o].call(this,i);return i}}))}function ba(e,t,r,o,a,c,u,s,l,f){var d=t&k,h=t&b,p=t&x,v=t&(O|E),g=t&C,m=p?i:va(e);function y(){var i=arguments.length,b=n(i),x=i;while(x--)b[x]=arguments[x];if(v)var w=Va(y),O=tr(b,w);if(o&&(b=na(b,o,a,v)),c&&(b=ra(b,c,u,v)),i-=O,v&&i<f){var E=fr(b,w);return _a(e,t,ba,y.placeholder,r,b,E,s,l,f-i)}var S=h?r:this,j=p?S[e]:e;return i=b.length,s?b=Oc(b,s):g&&i>1&&b.reverse(),d&&l<i&&(b.length=l),this&&this!==un&&this instanceof y&&(j=m||va(j)),j.apply(S,b)}return y}function xa(e,t){return function(n,r){return Vo(n,e,t(r),{})}}function wa(e,t){return function(n,r){var o;if(n===i&&r===i)return t;if(n!==i&&(o=n),r!==i){if(o===i)return r;\"string\"==typeof n||\"string\"==typeof r?(n=Pi(n),r=Pi(r)):(n=Ii(n),r=Ii(r)),o=e(n,r)}return o}}function Oa(e){return Fa((function(t){return t=Cn(t,Zn(Wa())),wi((function(n){var r=this;return e(t,(function(e){return xn(e,r,n)}))}))}))}function Ea(e,t){t=t===i?\" \":Pi(t);var n=t.length;if(n<2)return n?xi(t,e):t;var r=xi(t,It(e/gr(t)));return ar(t)?Yi(mr(r),0,e).join(\"\"):r.slice(0,e)}function Sa(e,t,r,o){var i=t&b,a=va(e);function c(){var t=-1,u=arguments.length,s=-1,l=o.length,f=n(l+u),d=this&&this!==un&&this instanceof c?a:e;while(++s<l)f[s]=o[s];while(u--)f[s++]=arguments[++t];return xn(d,i?r:this,f)}return c}function ja(e){return function(t,n,r){return r&&\"number\"!=typeof r&&cc(t,n,r)&&(n=r=i),t=Xl(t),n===i?(n=t,t=0):n=Xl(n),r=r===i?t<n?1:-1:Xl(r),bi(t,n,r,e)}}function ka(e){return function(t,n){return\"string\"==typeof t&&\"string\"==typeof n||(t=Zl(t),n=Zl(n)),e(t,n)}}function _a(e,t,n,r,o,a,c,u,s,l){var f=t&O,d=f?c:i,h=f?i:c,p=f?a:i,v=f?i:a;t|=f?S:j,t&=~(f?j:S),t&w||(t&=~(b|x));var g=[e,t,o,p,d,v,h,u,s,l],m=n.apply(i,g);return lc(e)&&Sc(m,g),m.placeholder=r,_c(m,e,t)}function Ca(e){var t=Ve[e];return function(e,n){if(e=Zl(e),n=null==n?0:Ut(ql(n),292),n&&Rt(e)){var r=(Jl(e)+\"e\").split(\"e\"),o=t(r[0]+\"e\"+(+r[1]+n));return r=(Jl(o)+\"e\").split(\"e\"),+(r[0]+\"e\"+(+r[1]-n))}return t(e)}}var Ma=tn&&1/dr(new tn([,-0]))[1]==D?function(e){return new tn(e)}:Bd;function Aa(e){return function(t){var n=$a(t);return n==J?sr(t):n==ae?hr(t):qn(t,e(t))}}function Na(e,t,n,r,o,a,c,u){var l=t&x;if(!l&&\"function\"!=typeof e)throw new it(s);var f=r?r.length:0;if(f||(t&=~(S|j),r=o=i),c=c===i?c:zt(ql(c),0),u=u===i?u:ql(u),f-=o?o.length:0,t&j){var d=r,h=o;r=o=i}var p=l?i:Ua(e),v=[e,t,n,r,o,d,h,a,c,u];if(p&&mc(v,p),e=v[0],t=v[1],n=v[2],r=v[3],o=v[4],u=v[9]=v[9]===i?l?0:e.length:zt(v[9]-f,0),!u&&t&(O|E)&&(t&=~(O|E)),t&&t!=b)g=t==O||t==E?ga(e,t,u):t!=S&&t!=(b|S)||o.length?ba.apply(i,v):Sa(e,t,n,r);else var g=da(e,t,n);var m=p?ji:Sc;return _c(m(g,v),e,t)}function Ta(e,t,n,r){return e===i||ol(e,ut[n])&&!ft.call(r,n)?t:e}function Ia(e,t,n,r,o,a){return Sl(e)&&Sl(t)&&(a.set(t,e),si(e,t,i,Ia,a),a[\"delete\"](t)),e}function Pa(e){return Pl(e)?i:e}function La(e,t,n,r,o,a){var c=n&m,u=e.length,s=t.length;if(u!=s&&!(c&&s>u))return!1;var l=a.get(e),f=a.get(t);if(l&&f)return l==t&&f==e;var d=-1,h=!0,p=n&y?new Kr:i;a.set(e,t),a.set(t,e);while(++d<u){var v=e[d],g=t[d];if(r)var b=c?r(g,v,d,t,e,a):r(v,g,d,e,t,a);if(b!==i){if(b)continue;h=!1;break}if(p){if(!Tn(t,(function(e,t){if(!Qn(p,t)&&(v===e||o(v,e,n,r,a)))return p.push(t)}))){h=!1;break}}else if(v!==g&&!o(v,g,n,r,a)){h=!1;break}}return a[\"delete\"](e),a[\"delete\"](t),h}function Da(e,t,n,r,o,i,a){switch(n){case he:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case de:return!(e.byteLength!=t.byteLength||!i(new xt(e),new xt(t)));case X:case q:case ee:return ol(+e,+t);case Z:return e.name==t.name&&e.message==t.message;case ie:case ce:return e==t+\"\";case J:var c=sr;case ae:var u=r&m;if(c||(c=dr),e.size!=t.size&&!u)return!1;var s=a.get(e);if(s)return s==t;r|=y,a.set(e,t);var l=La(c(e),c(t),r,o,i,a);return a[\"delete\"](e),l;case ue:if(pr)return pr.call(e)==pr.call(t)}return!1}function Ra(e,t,n,r,o,a){var c=n&m,u=Ba(e),s=u.length,l=Ba(t),f=l.length;if(s!=f&&!c)return!1;var d=s;while(d--){var h=u[d];if(!(c?h in t:ft.call(t,h)))return!1}var p=a.get(e),v=a.get(t);if(p&&v)return p==t&&v==e;var g=!0;a.set(e,t),a.set(t,e);var y=c;while(++d<s){h=u[d];var b=e[h],x=t[h];if(r)var w=c?r(x,b,h,t,e,a):r(b,x,h,e,t,a);if(!(w===i?b===x||o(b,x,n,r,a):w)){g=!1;break}y||(y=\"constructor\"==h)}if(g&&!y){var O=e.constructor,E=t.constructor;O==E||!(\"constructor\"in e)||!(\"constructor\"in t)||\"function\"==typeof O&&O instanceof O&&\"function\"==typeof E&&E instanceof E||(g=!1)}return a[\"delete\"](e),a[\"delete\"](t),g}function Fa(e){return kc(xc(e,i,qc),e+\"\")}function Ba(e){return Do(e,Ef,Ka)}function za(e){return Do(e,Sf,Za)}var Ua=cn?function(e){return cn.get(e)}:Bd;function Ga(e){var t=e.name+\"\",n=sn[t],r=ft.call(sn,t)?n.length:0;while(r--){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Va(e){var t=ft.call(wr,\"placeholder\")?wr:e;return t.placeholder}function Wa(){var e=wr.iteratee||Td;return e=e===Td?ni:e,arguments.length?e(arguments[0],arguments[1]):e}function Ha(e,t){var n=e.__data__;return sc(t)?n[\"string\"==typeof t?\"string\":\"hash\"]:n.map}function Ya(e){var t=Ef(e),n=t.length;while(n--){var r=t[n],o=e[r];t[n]=[r,o,pc(o)]}return t}function Xa(e,t){var n=ir(e,t);return Qo(n)?n:i}function qa(e){var t=ft.call(e,Ct),n=e[Ct];try{e[Ct]=i;var r=!0}catch(a){}var o=pt.call(e);return r&&(t?e[Ct]=n:delete e[Ct]),o}var Ka=Lt?function(e){return null==e?[]:(e=nt(e),jn(Lt(e),(function(t){return St.call(e,t)})))}:qd,Za=Lt?function(e){var t=[];while(e)Mn(t,Ka(e)),e=Ot(e);return t}:qd,$a=Ro;function Qa(e,t,n){var r=-1,o=n.length;while(++r<o){var i=n[r],a=i.size;switch(i.type){case\"drop\":e+=a;break;case\"dropRight\":t-=a;break;case\"take\":t=Ut(t,e+a);break;case\"takeRight\":e=zt(e,t-a);break}}return{start:e,end:t}}function Ja(e){var t=e.match(Ue);return t?t[1].split(Ge):[]}function ec(e,t,n){t=Wi(t,e);var r=-1,o=t.length,i=!1;while(++r<o){var a=Nc(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:(o=null==e?0:e.length,!!o&&El(o)&&ac(a,o)&&(ul(e)||cl(e)))}function tc(e){var t=e.length,n=new e.constructor(t);return t&&\"string\"==typeof e[0]&&ft.call(e,\"index\")&&(n.index=e.index,n.input=e.input),n}function nc(e){return\"function\"!=typeof e.constructor||hc(e)?{}:Er(Ot(e))}function rc(e,t,n){var r=e.constructor;switch(t){case de:return Ki(e);case X:case q:return new r(+e);case he:return Zi(e,n);case pe:case ve:case ge:case me:case ye:case be:case xe:case we:case Oe:return Ji(e,n);case J:return new r;case ee:case ce:return new r(e);case ie:return $i(e);case ae:return new r;case ue:return Qi(e)}}function oc(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?\"& \":\"\")+t[r],t=t.join(n>2?\", \":\" \"),e.replace(ze,\"{\\n/* [wrapped with \"+t+\"] */\\n\")}function ic(e){return ul(e)||cl(e)||!!(kt&&e&&e[kt])}function ac(e,t){var n=typeof e;return t=null==t?R:t,!!t&&(\"number\"==n||\"symbol\"!=n&&Qe.test(e))&&e>-1&&e%1==0&&e<t}function cc(e,t,n){if(!Sl(n))return!1;var r=typeof t;return!!(\"number\"==r?ll(n)&&ac(t,n.length):\"string\"==r&&t in n)&&ol(n[t],e)}function uc(e,t){if(ul(e))return!1;var n=typeof e;return!(\"number\"!=n&&\"symbol\"!=n&&\"boolean\"!=n&&null!=e&&!Bl(e))||(Pe.test(e)||!Ie.test(e)||null!=t&&e in nt(t))}function sc(e){var t=typeof e;return\"string\"==t||\"number\"==t||\"symbol\"==t||\"boolean\"==t?\"__proto__\"!==e:null===e}function lc(e){var t=Ga(e),n=wr[t];if(\"function\"!=typeof n||!(t in _r.prototype))return!1;if(e===n)return!0;var r=Ua(n);return!!r&&e===r[0]}function fc(e){return!!ht&&ht in e}(qt&&$a(new qt(new ArrayBuffer(1)))!=he||Jt&&$a(new Jt)!=J||en&&$a(en.resolve())!=re||tn&&$a(new tn)!=ae||nn&&$a(new nn)!=le)&&($a=function(e){var t=Ro(e),n=t==ne?e.constructor:i,r=n?Tc(n):\"\";if(r)switch(r){case ln:return he;case dn:return J;case hn:return re;case In:return ae;case Pn:return le}return t});var dc=st?wl:Kd;function hc(e){var t=e&&e.constructor,n=\"function\"==typeof t&&t.prototype||ut;return e===n}function pc(e){return e===e&&!Sl(e)}function vc(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==i||e in nt(n)))}}function gc(e){var t=zs(e,(function(e){return n.size===d&&n.clear(),e})),n=t.cache;return t}function mc(e,t){var n=e[1],r=t[1],o=n|r,i=o<(b|x|k),a=r==k&&n==O||r==k&&n==_&&e[7].length<=t[8]||r==(k|_)&&t[7].length<=t[8]&&n==O;if(!i&&!a)return e;r&b&&(e[2]=t[2],o|=n&b?0:w);var c=t[3];if(c){var u=e[3];e[3]=u?na(u,c,t[4]):c,e[4]=u?fr(e[3],h):t[4]}return c=t[5],c&&(u=e[5],e[5]=u?ra(u,c,t[6]):c,e[6]=u?fr(e[5],h):t[6]),c=t[7],c&&(e[7]=c),r&k&&(e[8]=null==e[8]?t[8]:Ut(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o,e}function yc(e){var t=[];if(null!=e)for(var n in nt(e))t.push(n);return t}function bc(e){return pt.call(e)}function xc(e,t,r){return t=zt(t===i?e.length-1:t,0),function(){var o=arguments,i=-1,a=zt(o.length-t,0),c=n(a);while(++i<a)c[i]=o[t+i];i=-1;var u=n(t+1);while(++i<t)u[i]=o[i];return u[t]=r(c),xn(e,this,u)}}function wc(e,t){return t.length<2?e:Lo(e,Ci(t,0,-1))}function Oc(e,t){var n=e.length,r=Ut(t.length,n),o=oa(e);while(r--){var a=t[r];e[r]=ac(a,n)?o[a]:i}return e}function Ec(e,t){if((\"constructor\"!==t||\"function\"!==typeof e[t])&&\"__proto__\"!=t)return e[t]}var Sc=Cc(ji),jc=Tt||function(e,t){return un.setTimeout(e,t)},kc=Cc(ki);function _c(e,t,n){var r=t+\"\";return kc(e,oc(r,Ic(Ja(r),n)))}function Cc(e){var t=0,n=0;return function(){var r=Gt(),o=T-(r-n);if(n=r,o>0){if(++t>=N)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Mc(e,t){var n=-1,r=e.length,o=r-1;t=t===i?r:t;while(++n<t){var a=yi(n,o),c=e[a];e[a]=e[n],e[n]=c}return e.length=t,e}var Ac=gc((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(\"\"),e.replace(Le,(function(e,n,r,o){t.push(r?o.replace(He,\"$1\"):n||e)})),t}));function Nc(e){if(\"string\"==typeof e||Bl(e))return e;var t=e+\"\";return\"0\"==t&&1/e==-D?\"-0\":t}function Tc(e){if(null!=e){try{return lt.call(e)}catch(t){}try{return e+\"\"}catch(t){}}return\"\"}function Ic(e,t){return On(V,(function(n){var r=\"_.\"+n[0];t&n[1]&&!kn(e,r)&&e.push(r)})),e.sort()}function Pc(e){if(e instanceof _r)return e.clone();var t=new kr(e.__wrapped__,e.__chain__);return t.__actions__=oa(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Lc(e,t,r){t=(r?cc(e,t,r):t===i)?1:zt(ql(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];var a=0,c=0,u=n(It(o/t));while(a<o)u[c++]=Ci(e,a,a+=t);return u}function Dc(e){var t=-1,n=null==e?0:e.length,r=0,o=[];while(++t<n){var i=e[t];i&&(o[r++]=i)}return o}function Rc(){var e=arguments.length;if(!e)return[];var t=n(e-1),r=arguments[0],o=e;while(o--)t[o-1]=arguments[o];return Mn(ul(r)?oa(r):[r],Mo(t,1))}var Fc=wi((function(e,t){return fl(e)?Oo(e,Mo(t,1,fl,!0)):[]})),Bc=wi((function(e,t){var n=iu(t);return fl(n)&&(n=i),fl(e)?Oo(e,Mo(t,1,fl,!0),Wa(n,2)):[]})),zc=wi((function(e,t){var n=iu(t);return fl(n)&&(n=i),fl(e)?Oo(e,Mo(t,1,fl,!0),i,n):[]}));function Uc(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===i?1:ql(t),Ci(e,t<0?0:t,r)):[]}function Gc(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===i?1:ql(t),t=r-t,Ci(e,0,t<0?0:t)):[]}function Vc(e,t){return e&&e.length?Fi(e,Wa(t,3),!0,!0):[]}function Wc(e,t){return e&&e.length?Fi(e,Wa(t,3),!0):[]}function Hc(e,t,n,r){var o=null==e?0:e.length;return o?(n&&\"number\"!=typeof n&&cc(e,t,n)&&(n=0,r=o),_o(e,t,n,r)):[]}function Yc(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ql(n);return o<0&&(o=zt(r+o,0)),Rn(e,Wa(t,3),o)}function Xc(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return n!==i&&(o=ql(n),o=n<0?zt(r+o,0):Ut(o,r-1)),Rn(e,Wa(t,3),o,!0)}function qc(e){var t=null==e?0:e.length;return t?Mo(e,1):[]}function Kc(e){var t=null==e?0:e.length;return t?Mo(e,D):[]}function Zc(e,t){var n=null==e?0:e.length;return n?(t=t===i?1:ql(t),Mo(e,t)):[]}function $c(e){var t=-1,n=null==e?0:e.length,r={};while(++t<n){var o=e[t];r[o[0]]=o[1]}return r}function Qc(e){return e&&e.length?e[0]:i}function Jc(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ql(n);return o<0&&(o=zt(r+o,0)),Fn(e,t,o)}function eu(e){var t=null==e?0:e.length;return t?Ci(e,0,-1):[]}var tu=wi((function(e){var t=Cn(e,Gi);return t.length&&t[0]===e[0]?Go(t):[]})),nu=wi((function(e){var t=iu(e),n=Cn(e,Gi);return t===iu(n)?t=i:n.pop(),n.length&&n[0]===e[0]?Go(n,Wa(t,2)):[]})),ru=wi((function(e){var t=iu(e),n=Cn(e,Gi);return t=\"function\"==typeof t?t:i,t&&n.pop(),n.length&&n[0]===e[0]?Go(n,i,t):[]}));function ou(e,t){return null==e?\"\":Ft.call(e,t)}function iu(e){var t=null==e?0:e.length;return t?e[t-1]:i}function au(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==i&&(o=ql(n),o=o<0?zt(r+o,0):Ut(o,r-1)),t===t?vr(e,t,o):Rn(e,zn,o,!0)}function cu(e,t){return e&&e.length?fi(e,ql(t)):i}var uu=wi(su);function su(e,t){return e&&e.length&&t&&t.length?gi(e,t):e}function lu(e,t,n){return e&&e.length&&t&&t.length?gi(e,t,Wa(n,2)):e}function fu(e,t,n){return e&&e.length&&t&&t.length?gi(e,t,i,n):e}var du=Fa((function(e,t){var n=null==e?0:e.length,r=go(e,t);return mi(e,Cn(t,(function(e){return ac(e,n)?+e:e})).sort(ea)),r}));function hu(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;t=Wa(t,3);while(++r<i){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return mi(e,o),n}function pu(e){return null==e?e:Xt.call(e)}function vu(e,t,n){var r=null==e?0:e.length;return r?(n&&\"number\"!=typeof n&&cc(e,t,n)?(t=0,n=r):(t=null==t?0:ql(t),n=n===i?r:ql(n)),Ci(e,t,n)):[]}function gu(e,t){return Ai(e,t)}function mu(e,t,n){return Ni(e,t,Wa(n,2))}function yu(e,t){var n=null==e?0:e.length;if(n){var r=Ai(e,t);if(r<n&&ol(e[r],t))return r}return-1}function bu(e,t){return Ai(e,t,!0)}function xu(e,t,n){return Ni(e,t,Wa(n,2),!0)}function wu(e,t){var n=null==e?0:e.length;if(n){var r=Ai(e,t,!0)-1;if(ol(e[r],t))return r}return-1}function Ou(e){return e&&e.length?Ti(e):[]}function Eu(e,t){return e&&e.length?Ti(e,Wa(t,2)):[]}function Su(e){var t=null==e?0:e.length;return t?Ci(e,1,t):[]}function ju(e,t,n){return e&&e.length?(t=n||t===i?1:ql(t),Ci(e,0,t<0?0:t)):[]}function ku(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===i?1:ql(t),t=r-t,Ci(e,t<0?0:t,r)):[]}function _u(e,t){return e&&e.length?Fi(e,Wa(t,3),!1,!0):[]}function Cu(e,t){return e&&e.length?Fi(e,Wa(t,3)):[]}var Mu=wi((function(e){return Li(Mo(e,1,fl,!0))})),Au=wi((function(e){var t=iu(e);return fl(t)&&(t=i),Li(Mo(e,1,fl,!0),Wa(t,2))})),Nu=wi((function(e){var t=iu(e);return t=\"function\"==typeof t?t:i,Li(Mo(e,1,fl,!0),i,t)}));function Tu(e){return e&&e.length?Li(e):[]}function Iu(e,t){return e&&e.length?Li(e,Wa(t,2)):[]}function Pu(e,t){return t=\"function\"==typeof t?t:i,e&&e.length?Li(e,i,t):[]}function Lu(e){if(!e||!e.length)return[];var t=0;return e=jn(e,(function(e){if(fl(e))return t=zt(e.length,t),!0})),Xn(t,(function(t){return Cn(e,Gn(t))}))}function Du(e,t){if(!e||!e.length)return[];var n=Lu(e);return null==t?n:Cn(n,(function(e){return xn(t,i,e)}))}var Ru=wi((function(e,t){return fl(e)?Oo(e,t):[]})),Fu=wi((function(e){return zi(jn(e,fl))})),Bu=wi((function(e){var t=iu(e);return fl(t)&&(t=i),zi(jn(e,fl),Wa(t,2))})),zu=wi((function(e){var t=iu(e);return t=\"function\"==typeof t?t:i,zi(jn(e,fl),i,t)})),Uu=wi(Lu);function Gu(e,t){return Ui(e||[],t||[],so)}function Vu(e,t){return Ui(e||[],t||[],Si)}var Wu=wi((function(e){var t=e.length,n=t>1?e[t-1]:i;return n=\"function\"==typeof n?(e.pop(),n):i,Du(e,n)}));function Hu(e){var t=wr(e);return t.__chain__=!0,t}function Yu(e,t){return t(e),e}function Xu(e,t){return t(e)}var qu=Fa((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return go(t,e)};return!(t>1||this.__actions__.length)&&r instanceof _r&&ac(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Xu,args:[o],thisArg:i}),new kr(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(o)}));function Ku(){return Hu(this)}function Zu(){return new kr(this.value(),this.__chain__)}function $u(){this.__values__===i&&(this.__values__=Yl(this.value()));var e=this.__index__>=this.__values__.length,t=e?i:this.__values__[this.__index__++];return{done:e,value:t}}function Qu(){return this}function Ju(e){var t,n=this;while(n instanceof jr){var r=Pc(n);r.__index__=0,r.__values__=i,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t}function es(){var e=this.__wrapped__;if(e instanceof _r){var t=e;return this.__actions__.length&&(t=new _r(this)),t=t.reverse(),t.__actions__.push({func:Xu,args:[pu],thisArg:i}),new kr(t,this.__chain__)}return this.thru(pu)}function ts(){return Bi(this.__wrapped__,this.__actions__)}var ns=ua((function(e,t,n){ft.call(e,n)?++e[n]:vo(e,n,1)}));function rs(e,t,n){var r=ul(e)?Sn:jo;return n&&cc(e,t,n)&&(t=i),r(e,Wa(t,3))}function os(e,t){var n=ul(e)?jn:Co;return n(e,Wa(t,3))}var is=ma(Yc),as=ma(Xc);function cs(e,t){return Mo(gs(e,t),1)}function us(e,t){return Mo(gs(e,t),D)}function ss(e,t,n){return n=n===i?1:ql(n),Mo(gs(e,t),n)}function ls(e,t){var n=ul(e)?On:Eo;return n(e,Wa(t,3))}function fs(e,t){var n=ul(e)?En:So;return n(e,Wa(t,3))}var ds=ua((function(e,t,n){ft.call(e,n)?e[n].push(t):vo(e,n,[t])}));function hs(e,t,n,r){e=ll(e)?e:Gf(e),n=n&&!r?ql(n):0;var o=e.length;return n<0&&(n=zt(o+n,0)),Fl(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Fn(e,t,n)>-1}var ps=wi((function(e,t,r){var o=-1,i=\"function\"==typeof t,a=ll(e)?n(e.length):[];return Eo(e,(function(e){a[++o]=i?xn(t,e,r):Wo(e,t,r)})),a})),vs=ua((function(e,t,n){vo(e,n,t)}));function gs(e,t){var n=ul(e)?Cn:ai;return n(e,Wa(t,3))}function ms(e,t,n,r){return null==e?[]:(ul(t)||(t=null==t?[]:[t]),n=r?i:n,ul(n)||(n=null==n?[]:[n]),di(e,t,n))}var ys=ua((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));function bs(e,t,n){var r=ul(e)?An:Wn,o=arguments.length<3;return r(e,Wa(t,4),n,o,Eo)}function xs(e,t,n){var r=ul(e)?Nn:Wn,o=arguments.length<3;return r(e,Wa(t,4),n,o,So)}function ws(e,t){var n=ul(e)?jn:Co;return n(e,Us(Wa(t,3)))}function Os(e){var t=ul(e)?io:Oi;return t(e)}function Es(e,t,n){t=(n?cc(e,t,n):t===i)?1:ql(t);var r=ul(e)?ao:Ei;return r(e,t)}function Ss(e){var t=ul(e)?co:_i;return t(e)}function js(e){if(null==e)return 0;if(ll(e))return Fl(e)?gr(e):e.length;var t=$a(e);return t==J||t==ae?e.size:ri(e).length}function ks(e,t,n){var r=ul(e)?Tn:Mi;return n&&cc(e,t,n)&&(t=i),r(e,Wa(t,3))}var _s=wi((function(e,t){if(null==e)return[];var n=t.length;return n>1&&cc(e,t[0],t[1])?t=[]:n>2&&cc(t[0],t[1],t[2])&&(t=[t[0]]),di(e,Mo(t,1),[])})),Cs=Nt||function(){return un.Date.now()};function Ms(e,t){if(\"function\"!=typeof t)throw new it(s);return e=ql(e),function(){if(--e<1)return t.apply(this,arguments)}}function As(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Na(e,k,i,i,i,i,t)}function Ns(e,t){var n;if(\"function\"!=typeof t)throw new it(s);return e=ql(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var Ts=wi((function(e,t,n){var r=b;if(n.length){var o=fr(n,Va(Ts));r|=S}return Na(e,r,t,n,o)})),Is=wi((function(e,t,n){var r=b|x;if(n.length){var o=fr(n,Va(Is));r|=S}return Na(t,r,e,n,o)}));function Ps(e,t,n){t=n?i:t;var r=Na(e,O,i,i,i,i,i,t);return r.placeholder=Ps.placeholder,r}function Ls(e,t,n){t=n?i:t;var r=Na(e,E,i,i,i,i,i,t);return r.placeholder=Ls.placeholder,r}function Ds(e,t,n){var r,o,a,c,u,l,f=0,d=!1,h=!1,p=!0;if(\"function\"!=typeof e)throw new it(s);function v(t){var n=r,a=o;return r=o=i,f=t,c=e.apply(a,n),c}function g(e){return f=e,u=jc(b,t),d?v(e):c}function m(e){var n=e-l,r=e-f,o=t-n;return h?Ut(o,a-r):o}function y(e){var n=e-l,r=e-f;return l===i||n>=t||n<0||h&&r>=a}function b(){var e=Cs();if(y(e))return x(e);u=jc(b,m(e))}function x(e){return u=i,p&&r?v(e):(r=o=i,c)}function w(){u!==i&&Xi(u),f=0,r=l=o=u=i}function O(){return u===i?c:x(Cs())}function E(){var e=Cs(),n=y(e);if(r=arguments,o=this,l=e,n){if(u===i)return g(l);if(h)return Xi(u),u=jc(b,t),v(l)}return u===i&&(u=jc(b,t)),c}return t=Zl(t)||0,Sl(n)&&(d=!!n.leading,h=\"maxWait\"in n,a=h?zt(Zl(n.maxWait)||0,t):a,p=\"trailing\"in n?!!n.trailing:p),E.cancel=w,E.flush=O,E}var Rs=wi((function(e,t){return wo(e,1,t)})),Fs=wi((function(e,t,n){return wo(e,Zl(t)||0,n)}));function Bs(e){return Na(e,C)}function zs(e,t){if(\"function\"!=typeof e||null!=t&&\"function\"!=typeof t)throw new it(s);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(zs.Cache||Vr),n}function Us(e){if(\"function\"!=typeof e)throw new it(s);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Gs(e){return Ns(2,e)}zs.Cache=Vr;var Vs=Hi((function(e,t){t=1==t.length&&ul(t[0])?Cn(t[0],Zn(Wa())):Cn(Mo(t,1),Zn(Wa()));var n=t.length;return wi((function(r){var o=-1,i=Ut(r.length,n);while(++o<i)r[o]=t[o].call(this,r[o]);return xn(e,this,r)}))})),Ws=wi((function(e,t){var n=fr(t,Va(Ws));return Na(e,S,i,t,n)})),Hs=wi((function(e,t){var n=fr(t,Va(Hs));return Na(e,j,i,t,n)})),Ys=Fa((function(e,t){return Na(e,_,i,i,i,t)}));function Xs(e,t){if(\"function\"!=typeof e)throw new it(s);return t=t===i?t:ql(t),wi(e,t)}function qs(e,t){if(\"function\"!=typeof e)throw new it(s);return t=null==t?0:zt(ql(t),0),wi((function(n){var r=n[t],o=Yi(n,0,t);return r&&Mn(o,r),xn(e,this,o)}))}function Ks(e,t,n){var r=!0,o=!0;if(\"function\"!=typeof e)throw new it(s);return Sl(n)&&(r=\"leading\"in n?!!n.leading:r,o=\"trailing\"in n?!!n.trailing:o),Ds(e,t,{leading:r,maxWait:t,trailing:o})}function Zs(e){return As(e,1)}function $s(e,t){return Ws(Vi(t),e)}function Qs(){if(!arguments.length)return[];var e=arguments[0];return ul(e)?e:[e]}function Js(e){return yo(e,g)}function el(e,t){return t=\"function\"==typeof t?t:i,yo(e,g,t)}function tl(e){return yo(e,p|g)}function nl(e,t){return t=\"function\"==typeof t?t:i,yo(e,p|g,t)}function rl(e,t){return null==t||xo(e,t,Ef(t))}function ol(e,t){return e===t||e!==e&&t!==t}var il=ka(Fo),al=ka((function(e,t){return e>=t})),cl=Ho(function(){return arguments}())?Ho:function(e){return jl(e)&&ft.call(e,\"callee\")&&!St.call(e,\"callee\")},ul=n.isArray,sl=pn?Zn(pn):Yo;function ll(e){return null!=e&&El(e.length)&&!wl(e)}function fl(e){return jl(e)&&ll(e)}function dl(e){return!0===e||!1===e||jl(e)&&Ro(e)==X}var hl=Dt||Kd,pl=vn?Zn(vn):Xo;function vl(e){return jl(e)&&1===e.nodeType&&!Pl(e)}function gl(e){if(null==e)return!0;if(ll(e)&&(ul(e)||\"string\"==typeof e||\"function\"==typeof e.splice||hl(e)||zl(e)||cl(e)))return!e.length;var t=$a(e);if(t==J||t==ae)return!e.size;if(hc(e))return!ri(e).length;for(var n in e)if(ft.call(e,n))return!1;return!0}function ml(e,t){return qo(e,t)}function yl(e,t,n){n=\"function\"==typeof n?n:i;var r=n?n(e,t):i;return r===i?qo(e,t,i,n):!!r}function bl(e){if(!jl(e))return!1;var t=Ro(e);return t==Z||t==K||\"string\"==typeof e.message&&\"string\"==typeof e.name&&!Pl(e)}function xl(e){return\"number\"==typeof e&&Rt(e)}function wl(e){if(!Sl(e))return!1;var t=Ro(e);return t==$||t==Q||t==Y||t==oe}function Ol(e){return\"number\"==typeof e&&e==ql(e)}function El(e){return\"number\"==typeof e&&e>-1&&e%1==0&&e<=R}function Sl(e){var t=typeof e;return null!=e&&(\"object\"==t||\"function\"==t)}function jl(e){return null!=e&&\"object\"==typeof e}var kl=gn?Zn(gn):Zo;function _l(e,t){return e===t||$o(e,t,Ya(t))}function Cl(e,t,n){return n=\"function\"==typeof n?n:i,$o(e,t,Ya(t),n)}function Ml(e){return Il(e)&&e!=+e}function Al(e){if(dc(e))throw new o(u);return Qo(e)}function Nl(e){return null===e}function Tl(e){return null==e}function Il(e){return\"number\"==typeof e||jl(e)&&Ro(e)==ee}function Pl(e){if(!jl(e)||Ro(e)!=ne)return!1;var t=Ot(e);if(null===t)return!0;var n=ft.call(t,\"constructor\")&&t.constructor;return\"function\"==typeof n&&n instanceof n&&lt.call(n)==vt}var Ll=mn?Zn(mn):Jo;function Dl(e){return Ol(e)&&e>=-R&&e<=R}var Rl=yn?Zn(yn):ei;function Fl(e){return\"string\"==typeof e||!ul(e)&&jl(e)&&Ro(e)==ce}function Bl(e){return\"symbol\"==typeof e||jl(e)&&Ro(e)==ue}var zl=bn?Zn(bn):ti;function Ul(e){return e===i}function Gl(e){return jl(e)&&$a(e)==le}function Vl(e){return jl(e)&&Ro(e)==fe}var Wl=ka(ii),Hl=ka((function(e,t){return e<=t}));function Yl(e){if(!e)return[];if(ll(e))return Fl(e)?mr(e):oa(e);if(_t&&e[_t])return ur(e[_t]());var t=$a(e),n=t==J?sr:t==ae?dr:Gf;return n(e)}function Xl(e){if(!e)return 0===e?e:0;if(e=Zl(e),e===D||e===-D){var t=e<0?-1:1;return t*F}return e===e?e:0}function ql(e){var t=Xl(e),n=t%1;return t===t?n?t-n:t:0}function Kl(e){return e?mo(ql(e),0,z):0}function Zl(e){if(\"number\"==typeof e)return e;if(Bl(e))return B;if(Sl(e)){var t=\"function\"==typeof e.valueOf?e.valueOf():e;e=Sl(t)?t+\"\":t}if(\"string\"!=typeof e)return 0===e?e:+e;e=Kn(e);var n=Ke.test(e);return n||$e.test(e)?on(e.slice(2),n?2:8):qe.test(e)?B:+e}function $l(e){return ia(e,Sf(e))}function Ql(e){return e?mo(ql(e),-R,R):0===e?e:0}function Jl(e){return null==e?\"\":Pi(e)}var ef=sa((function(e,t){if(hc(t)||ll(t))ia(t,Ef(t),e);else for(var n in t)ft.call(t,n)&&so(e,n,t[n])})),tf=sa((function(e,t){ia(t,Sf(t),e)})),nf=sa((function(e,t,n,r){ia(t,Sf(t),e,r)})),rf=sa((function(e,t,n,r){ia(t,Ef(t),e,r)})),of=Fa(go);function af(e,t){var n=Er(e);return null==t?n:ho(n,t)}var cf=wi((function(e,t){e=nt(e);var n=-1,r=t.length,o=r>2?t[2]:i;o&&cc(t[0],t[1],o)&&(r=1);while(++n<r){var a=t[n],c=Sf(a),u=-1,s=c.length;while(++u<s){var l=c[u],f=e[l];(f===i||ol(f,ut[l])&&!ft.call(e,l))&&(e[l]=a[l])}}return e})),uf=wi((function(e){return e.push(i,Ia),xn(Cf,i,e)}));function sf(e,t){return Dn(e,Wa(t,3),To)}function lf(e,t){return Dn(e,Wa(t,3),Io)}function ff(e,t){return null==e?e:Ao(e,Wa(t,3),Sf)}function df(e,t){return null==e?e:No(e,Wa(t,3),Sf)}function hf(e,t){return e&&To(e,Wa(t,3))}function pf(e,t){return e&&Io(e,Wa(t,3))}function vf(e){return null==e?[]:Po(e,Ef(e))}function gf(e){return null==e?[]:Po(e,Sf(e))}function mf(e,t,n){var r=null==e?i:Lo(e,t);return r===i?n:r}function yf(e,t){return null!=e&&ec(e,t,Bo)}function bf(e,t){return null!=e&&ec(e,t,zo)}var xf=xa((function(e,t,n){null!=t&&\"function\"!=typeof t.toString&&(t=pt.call(t)),e[t]=n}),_d(Nd)),wf=xa((function(e,t,n){null!=t&&\"function\"!=typeof t.toString&&(t=pt.call(t)),ft.call(e,t)?e[t].push(n):e[t]=[n]}),Wa),Of=wi(Wo);function Ef(e){return ll(e)?oo(e):ri(e)}function Sf(e){return ll(e)?oo(e,!0):oi(e)}function jf(e,t){var n={};return t=Wa(t,3),To(e,(function(e,r,o){vo(n,t(e,r,o),e)})),n}function kf(e,t){var n={};return t=Wa(t,3),To(e,(function(e,r,o){vo(n,r,t(e,r,o))})),n}var _f=sa((function(e,t,n){si(e,t,n)})),Cf=sa((function(e,t,n,r){si(e,t,n,r)})),Mf=Fa((function(e,t){var n={};if(null==e)return n;var r=!1;t=Cn(t,(function(t){return t=Wi(t,e),r||(r=t.length>1),t})),ia(e,za(e),n),r&&(n=yo(n,p|v|g,Pa));var o=t.length;while(o--)Di(n,t[o]);return n}));function Af(e,t){return Tf(e,Us(Wa(t)))}var Nf=Fa((function(e,t){return null==e?{}:hi(e,t)}));function Tf(e,t){if(null==e)return{};var n=Cn(za(e),(function(e){return[e]}));return t=Wa(t),pi(e,n,(function(e,n){return t(e,n[0])}))}function If(e,t,n){t=Wi(t,e);var r=-1,o=t.length;o||(o=1,e=i);while(++r<o){var a=null==e?i:e[Nc(t[r])];a===i&&(r=o,a=n),e=wl(a)?a.call(e):a}return e}function Pf(e,t,n){return null==e?e:Si(e,t,n)}function Lf(e,t,n,r){return r=\"function\"==typeof r?r:i,null==e?e:Si(e,t,n,r)}var Df=Aa(Ef),Rf=Aa(Sf);function Ff(e,t,n){var r=ul(e),o=r||hl(e)||zl(e);if(t=Wa(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Sl(e)&&wl(i)?Er(Ot(e)):{}}return(o?On:To)(e,(function(e,r,o){return t(n,e,r,o)})),n}function Bf(e,t){return null==e||Di(e,t)}function zf(e,t,n){return null==e?e:Ri(e,t,Vi(n))}function Uf(e,t,n,r){return r=\"function\"==typeof r?r:i,null==e?e:Ri(e,t,Vi(n),r)}function Gf(e){return null==e?[]:$n(e,Ef(e))}function Vf(e){return null==e?[]:$n(e,Sf(e))}function Wf(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=Zl(n),n=n===n?n:0),t!==i&&(t=Zl(t),t=t===t?t:0),mo(Zl(e),t,n)}function Hf(e,t,n){return t=Xl(t),n===i?(n=t,t=0):n=Xl(n),e=Zl(e),Uo(e,t,n)}function Yf(e,t,n){if(n&&\"boolean\"!=typeof n&&cc(e,t,n)&&(t=n=i),n===i&&(\"boolean\"==typeof t?(n=t,t=i):\"boolean\"==typeof e&&(n=e,e=i)),e===i&&t===i?(e=0,t=1):(e=Xl(e),t===i?(t=e,e=0):t=Xl(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Yt();return Ut(e+o*(t-e+rn(\"1e-\"+((o+\"\").length-1))),t)}return yi(e,t)}var Xf=pa((function(e,t,n){return t=t.toLowerCase(),e+(n?qf(t):t)}));function qf(e){return wd(Jl(e).toLowerCase())}function Kf(e){return e=Jl(e),e&&e.replace(Je,nr).replace(Wt,\"\")}function Zf(e,t,n){e=Jl(e),t=Pi(t);var r=e.length;n=n===i?r:mo(ql(n),0,r);var o=n;return n-=t.length,n>=0&&e.slice(n,o)==t}function $f(e){return e=Jl(e),e&&Me.test(e)?e.replace(_e,rr):e}function Qf(e){return e=Jl(e),e&&Re.test(e)?e.replace(De,\"\\\\$&\"):e}var Jf=pa((function(e,t,n){return e+(n?\"-\":\"\")+t.toLowerCase()})),ed=pa((function(e,t,n){return e+(n?\" \":\"\")+t.toLowerCase()})),td=ha(\"toLowerCase\");function nd(e,t,n){e=Jl(e),t=ql(t);var r=t?gr(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Ea(Pt(o),n)+e+Ea(It(o),n)}function rd(e,t,n){e=Jl(e),t=ql(t);var r=t?gr(e):0;return t&&r<t?e+Ea(t-r,n):e}function od(e,t,n){e=Jl(e),t=ql(t);var r=t?gr(e):0;return t&&r<t?Ea(t-r,n)+e:e}function id(e,t,n){return n||null==t?t=0:t&&(t=+t),Ht(Jl(e).replace(Fe,\"\"),t||0)}function ad(e,t,n){return t=(n?cc(e,t,n):t===i)?1:ql(t),xi(Jl(e),t)}function cd(){var e=arguments,t=Jl(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var ud=pa((function(e,t,n){return e+(n?\"_\":\"\")+t.toLowerCase()}));function sd(e,t,n){return n&&\"number\"!=typeof n&&cc(e,t,n)&&(t=n=i),n=n===i?z:n>>>0,n?(e=Jl(e),e&&(\"string\"==typeof t||null!=t&&!Ll(t))&&(t=Pi(t),!t&&ar(e))?Yi(mr(e),0,n):e.split(t,n)):[]}var ld=pa((function(e,t,n){return e+(n?\" \":\"\")+wd(t)}));function fd(e,t,n){return e=Jl(e),n=null==n?0:mo(ql(n),0,e.length),t=Pi(t),e.slice(n,n+t.length)==t}function dd(e,t,n){var r=wr.templateSettings;n&&cc(e,t,n)&&(t=i),e=Jl(e),t=nf({},t,r,Ta);var a,c,u=nf({},t.imports,r.imports,Ta),s=Ef(u),f=$n(u,s),d=0,h=t.interpolate||et,p=\"__p += '\",v=rt((t.escape||et).source+\"|\"+h.source+\"|\"+(h===Te?Ye:et).source+\"|\"+(t.evaluate||et).source+\"|$\",\"g\"),g=\"//# sourceURL=\"+(ft.call(t,\"sourceURL\")?(t.sourceURL+\"\").replace(/\\s/g,\" \"):\"lodash.templateSources[\"+ ++Zt+\"]\")+\"\\n\";e.replace(v,(function(t,n,r,o,i,u){return r||(r=o),p+=e.slice(d,u).replace(tt,or),n&&(a=!0,p+=\"' +\\n__e(\"+n+\") +\\n'\"),i&&(c=!0,p+=\"';\\n\"+i+\";\\n__p += '\"),r&&(p+=\"' +\\n((__t = (\"+r+\")) == null ? '' : __t) +\\n'\"),d=u+t.length,t})),p+=\"';\\n\";var m=ft.call(t,\"variable\")&&t.variable;if(m){if(We.test(m))throw new o(l)}else p=\"with (obj) {\\n\"+p+\"\\n}\\n\";p=(c?p.replace(Ee,\"\"):p).replace(Se,\"$1\").replace(je,\"$1;\"),p=\"function(\"+(m||\"obj\")+\") {\\n\"+(m?\"\":\"obj || (obj = {});\\n\")+\"var __t, __p = ''\"+(a?\", __e = _.escape\":\"\")+(c?\", __j = Array.prototype.join;\\nfunction print() { __p += __j.call(arguments, '') }\\n\":\";\\n\")+p+\"return __p\\n}\";var y=Ed((function(){return Be(s,g+\"return \"+p).apply(i,f)}));if(y.source=p,bl(y))throw y;return y}function hd(e){return Jl(e).toLowerCase()}function pd(e){return Jl(e).toUpperCase()}function vd(e,t,n){if(e=Jl(e),e&&(n||t===i))return Kn(e);if(!e||!(t=Pi(t)))return e;var r=mr(e),o=mr(t),a=Jn(r,o),c=er(r,o)+1;return Yi(r,a,c).join(\"\")}function gd(e,t,n){if(e=Jl(e),e&&(n||t===i))return e.slice(0,yr(e)+1);if(!e||!(t=Pi(t)))return e;var r=mr(e),o=er(r,mr(t))+1;return Yi(r,0,o).join(\"\")}function md(e,t,n){if(e=Jl(e),e&&(n||t===i))return e.replace(Fe,\"\");if(!e||!(t=Pi(t)))return e;var r=mr(e),o=Jn(r,mr(t));return Yi(r,o).join(\"\")}function yd(e,t){var n=M,r=A;if(Sl(t)){var o=\"separator\"in t?t.separator:o;n=\"length\"in t?ql(t.length):n,r=\"omission\"in t?Pi(t.omission):r}e=Jl(e);var a=e.length;if(ar(e)){var c=mr(e);a=c.length}if(n>=a)return e;var u=n-gr(r);if(u<1)return r;var s=c?Yi(c,0,u).join(\"\"):e.slice(0,u);if(o===i)return s+r;if(c&&(u+=s.length-u),Ll(o)){if(e.slice(u).search(o)){var l,f=s;o.global||(o=rt(o.source,Jl(Xe.exec(o))+\"g\")),o.lastIndex=0;while(l=o.exec(f))var d=l.index;s=s.slice(0,d===i?u:d)}}else if(e.indexOf(Pi(o),u)!=u){var h=s.lastIndexOf(o);h>-1&&(s=s.slice(0,h))}return s+r}function bd(e){return e=Jl(e),e&&Ce.test(e)?e.replace(ke,br):e}var xd=pa((function(e,t,n){return e+(n?\" \":\"\")+t.toUpperCase()})),wd=ha(\"toUpperCase\");function Od(e,t,n){return e=Jl(e),t=n?i:t,t===i?cr(e)?Or(e):Ln(e):e.match(t)||[]}var Ed=wi((function(e,t){try{return xn(e,i,t)}catch(n){return bl(n)?n:new o(n)}})),Sd=Fa((function(e,t){return On(t,(function(t){t=Nc(t),vo(e,t,Ts(e[t],e))})),e}));function jd(e){var t=null==e?0:e.length,n=Wa();return e=t?Cn(e,(function(e){if(\"function\"!=typeof e[1])throw new it(s);return[n(e[0]),e[1]]})):[],wi((function(n){var r=-1;while(++r<t){var o=e[r];if(xn(o[0],this,n))return xn(o[1],this,n)}}))}function kd(e){return bo(yo(e,p))}function _d(e){return function(){return e}}function Cd(e,t){return null==e||e!==e?t:e}var Md=ya(),Ad=ya(!0);function Nd(e){return e}function Td(e){return ni(\"function\"==typeof e?e:yo(e,p))}function Id(e){return ci(yo(e,p))}function Pd(e,t){return ui(e,yo(t,p))}var Ld=wi((function(e,t){return function(n){return Wo(n,e,t)}})),Dd=wi((function(e,t){return function(n){return Wo(e,n,t)}}));function Rd(e,t,n){var r=Ef(t),o=Po(t,r);null!=n||Sl(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=Po(t,Ef(t)));var i=!(Sl(n)&&\"chain\"in n)||!!n.chain,a=wl(e);return On(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=oa(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Mn([this.value()],arguments))})})),e}function Fd(){return un._===this&&(un._=gt),this}function Bd(){}function zd(e){return e=ql(e),wi((function(t){return fi(t,e)}))}var Ud=Oa(Cn),Gd=Oa(Sn),Vd=Oa(Tn);function Wd(e){return uc(e)?Gn(Nc(e)):vi(e)}function Hd(e){return function(t){return null==e?i:Lo(e,t)}}var Yd=ja(),Xd=ja(!0);function qd(){return[]}function Kd(){return!1}function Zd(){return{}}function $d(){return\"\"}function Qd(){return!0}function Jd(e,t){if(e=ql(e),e<1||e>R)return[];var n=z,r=Ut(e,z);t=Wa(t),e-=z;var o=Xn(r,t);while(++n<e)t(n);return o}function eh(e){return ul(e)?Cn(e,Nc):Bl(e)?[e]:oa(Ac(Jl(e)))}function th(e){var t=++dt;return Jl(e)+t}var nh=wa((function(e,t){return e+t}),0),rh=Ca(\"ceil\"),oh=wa((function(e,t){return e/t}),1),ih=Ca(\"floor\");function ah(e){return e&&e.length?ko(e,Nd,Fo):i}function ch(e,t){return e&&e.length?ko(e,Wa(t,2),Fo):i}function uh(e){return Un(e,Nd)}function sh(e,t){return Un(e,Wa(t,2))}function lh(e){return e&&e.length?ko(e,Nd,ii):i}function fh(e,t){return e&&e.length?ko(e,Wa(t,2),ii):i}var dh=wa((function(e,t){return e*t}),1),hh=Ca(\"round\"),ph=wa((function(e,t){return e-t}),0);function vh(e){return e&&e.length?Yn(e,Nd):0}function gh(e,t){return e&&e.length?Yn(e,Wa(t,2)):0}return wr.after=Ms,wr.ary=As,wr.assign=ef,wr.assignIn=tf,wr.assignInWith=nf,wr.assignWith=rf,wr.at=of,wr.before=Ns,wr.bind=Ts,wr.bindAll=Sd,wr.bindKey=Is,wr.castArray=Qs,wr.chain=Hu,wr.chunk=Lc,wr.compact=Dc,wr.concat=Rc,wr.cond=jd,wr.conforms=kd,wr.constant=_d,wr.countBy=ns,wr.create=af,wr.curry=Ps,wr.curryRight=Ls,wr.debounce=Ds,wr.defaults=cf,wr.defaultsDeep=uf,wr.defer=Rs,wr.delay=Fs,wr.difference=Fc,wr.differenceBy=Bc,wr.differenceWith=zc,wr.drop=Uc,wr.dropRight=Gc,wr.dropRightWhile=Vc,wr.dropWhile=Wc,wr.fill=Hc,wr.filter=os,wr.flatMap=cs,wr.flatMapDeep=us,wr.flatMapDepth=ss,wr.flatten=qc,wr.flattenDeep=Kc,wr.flattenDepth=Zc,wr.flip=Bs,wr.flow=Md,wr.flowRight=Ad,wr.fromPairs=$c,wr.functions=vf,wr.functionsIn=gf,wr.groupBy=ds,wr.initial=eu,wr.intersection=tu,wr.intersectionBy=nu,wr.intersectionWith=ru,wr.invert=xf,wr.invertBy=wf,wr.invokeMap=ps,wr.iteratee=Td,wr.keyBy=vs,wr.keys=Ef,wr.keysIn=Sf,wr.map=gs,wr.mapKeys=jf,wr.mapValues=kf,wr.matches=Id,wr.matchesProperty=Pd,wr.memoize=zs,wr.merge=_f,wr.mergeWith=Cf,wr.method=Ld,wr.methodOf=Dd,wr.mixin=Rd,wr.negate=Us,wr.nthArg=zd,wr.omit=Mf,wr.omitBy=Af,wr.once=Gs,wr.orderBy=ms,wr.over=Ud,wr.overArgs=Vs,wr.overEvery=Gd,wr.overSome=Vd,wr.partial=Ws,wr.partialRight=Hs,wr.partition=ys,wr.pick=Nf,wr.pickBy=Tf,wr.property=Wd,wr.propertyOf=Hd,wr.pull=uu,wr.pullAll=su,wr.pullAllBy=lu,wr.pullAllWith=fu,wr.pullAt=du,wr.range=Yd,wr.rangeRight=Xd,wr.rearg=Ys,wr.reject=ws,wr.remove=hu,wr.rest=Xs,wr.reverse=pu,wr.sampleSize=Es,wr.set=Pf,wr.setWith=Lf,wr.shuffle=Ss,wr.slice=vu,wr.sortBy=_s,wr.sortedUniq=Ou,wr.sortedUniqBy=Eu,wr.split=sd,wr.spread=qs,wr.tail=Su,wr.take=ju,wr.takeRight=ku,wr.takeRightWhile=_u,wr.takeWhile=Cu,wr.tap=Yu,wr.throttle=Ks,wr.thru=Xu,wr.toArray=Yl,wr.toPairs=Df,wr.toPairsIn=Rf,wr.toPath=eh,wr.toPlainObject=$l,wr.transform=Ff,wr.unary=Zs,wr.union=Mu,wr.unionBy=Au,wr.unionWith=Nu,wr.uniq=Tu,wr.uniqBy=Iu,wr.uniqWith=Pu,wr.unset=Bf,wr.unzip=Lu,wr.unzipWith=Du,wr.update=zf,wr.updateWith=Uf,wr.values=Gf,wr.valuesIn=Vf,wr.without=Ru,wr.words=Od,wr.wrap=$s,wr.xor=Fu,wr.xorBy=Bu,wr.xorWith=zu,wr.zip=Uu,wr.zipObject=Gu,wr.zipObjectDeep=Vu,wr.zipWith=Wu,wr.entries=Df,wr.entriesIn=Rf,wr.extend=tf,wr.extendWith=nf,Rd(wr,wr),wr.add=nh,wr.attempt=Ed,wr.camelCase=Xf,wr.capitalize=qf,wr.ceil=rh,wr.clamp=Wf,wr.clone=Js,wr.cloneDeep=tl,wr.cloneDeepWith=nl,wr.cloneWith=el,wr.conformsTo=rl,wr.deburr=Kf,wr.defaultTo=Cd,wr.divide=oh,wr.endsWith=Zf,wr.eq=ol,wr.escape=$f,wr.escapeRegExp=Qf,wr.every=rs,wr.find=is,wr.findIndex=Yc,wr.findKey=sf,wr.findLast=as,wr.findLastIndex=Xc,wr.findLastKey=lf,wr.floor=ih,wr.forEach=ls,wr.forEachRight=fs,wr.forIn=ff,wr.forInRight=df,wr.forOwn=hf,wr.forOwnRight=pf,wr.get=mf,wr.gt=il,wr.gte=al,wr.has=yf,wr.hasIn=bf,wr.head=Qc,wr.identity=Nd,wr.includes=hs,wr.indexOf=Jc,wr.inRange=Hf,wr.invoke=Of,wr.isArguments=cl,wr.isArray=ul,wr.isArrayBuffer=sl,wr.isArrayLike=ll,wr.isArrayLikeObject=fl,wr.isBoolean=dl,wr.isBuffer=hl,wr.isDate=pl,wr.isElement=vl,wr.isEmpty=gl,wr.isEqual=ml,wr.isEqualWith=yl,wr.isError=bl,wr.isFinite=xl,wr.isFunction=wl,wr.isInteger=Ol,wr.isLength=El,wr.isMap=kl,wr.isMatch=_l,wr.isMatchWith=Cl,wr.isNaN=Ml,wr.isNative=Al,wr.isNil=Tl,wr.isNull=Nl,wr.isNumber=Il,wr.isObject=Sl,wr.isObjectLike=jl,wr.isPlainObject=Pl,wr.isRegExp=Ll,wr.isSafeInteger=Dl,wr.isSet=Rl,wr.isString=Fl,wr.isSymbol=Bl,wr.isTypedArray=zl,wr.isUndefined=Ul,wr.isWeakMap=Gl,wr.isWeakSet=Vl,wr.join=ou,wr.kebabCase=Jf,wr.last=iu,wr.lastIndexOf=au,wr.lowerCase=ed,wr.lowerFirst=td,wr.lt=Wl,wr.lte=Hl,wr.max=ah,wr.maxBy=ch,wr.mean=uh,wr.meanBy=sh,wr.min=lh,wr.minBy=fh,wr.stubArray=qd,wr.stubFalse=Kd,wr.stubObject=Zd,wr.stubString=$d,wr.stubTrue=Qd,wr.multiply=dh,wr.nth=cu,wr.noConflict=Fd,wr.noop=Bd,wr.now=Cs,wr.pad=nd,wr.padEnd=rd,wr.padStart=od,wr.parseInt=id,wr.random=Yf,wr.reduce=bs,wr.reduceRight=xs,wr.repeat=ad,wr.replace=cd,wr.result=If,wr.round=hh,wr.runInContext=e,wr.sample=Os,wr.size=js,wr.snakeCase=ud,wr.some=ks,wr.sortedIndex=gu,wr.sortedIndexBy=mu,wr.sortedIndexOf=yu,wr.sortedLastIndex=bu,wr.sortedLastIndexBy=xu,wr.sortedLastIndexOf=wu,wr.startCase=ld,wr.startsWith=fd,wr.subtract=ph,wr.sum=vh,wr.sumBy=gh,wr.template=dd,wr.times=Jd,wr.toFinite=Xl,wr.toInteger=ql,wr.toLength=Kl,wr.toLower=hd,wr.toNumber=Zl,wr.toSafeInteger=Ql,wr.toString=Jl,wr.toUpper=pd,wr.trim=vd,wr.trimEnd=gd,wr.trimStart=md,wr.truncate=yd,wr.unescape=bd,wr.uniqueId=th,wr.upperCase=xd,wr.upperFirst=wd,wr.each=ls,wr.eachRight=fs,wr.first=Qc,Rd(wr,function(){var e={};return To(wr,(function(t,n){ft.call(wr.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),wr.VERSION=a,On([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],(function(e){wr[e].placeholder=wr})),On([\"drop\",\"take\"],(function(e,t){_r.prototype[e]=function(n){n=n===i?1:zt(ql(n),0);var r=this.__filtered__&&!t?new _r(this):this.clone();return r.__filtered__?r.__takeCount__=Ut(n,r.__takeCount__):r.__views__.push({size:Ut(n,z),type:e+(r.__dir__<0?\"Right\":\"\")}),r},_r.prototype[e+\"Right\"]=function(t){return this.reverse()[e](t).reverse()}})),On([\"filter\",\"map\",\"takeWhile\"],(function(e,t){var n=t+1,r=n==I||n==L;_r.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Wa(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),On([\"head\",\"last\"],(function(e,t){var n=\"take\"+(t?\"Right\":\"\");_r.prototype[e]=function(){return this[n](1).value()[0]}})),On([\"initial\",\"tail\"],(function(e,t){var n=\"drop\"+(t?\"\":\"Right\");_r.prototype[e]=function(){return this.__filtered__?new _r(this):this[n](1)}})),_r.prototype.compact=function(){return this.filter(Nd)},_r.prototype.find=function(e){return this.filter(e).head()},_r.prototype.findLast=function(e){return this.reverse().find(e)},_r.prototype.invokeMap=wi((function(e,t){return\"function\"==typeof e?new _r(this):this.map((function(n){return Wo(n,e,t)}))})),_r.prototype.reject=function(e){return this.filter(Us(Wa(e)))},_r.prototype.slice=function(e,t){e=ql(e);var n=this;return n.__filtered__&&(e>0||t<0)?new _r(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(t=ql(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},_r.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},_r.prototype.toArray=function(){return this.take(z)},To(_r.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=wr[r?\"take\"+(\"last\"==t?\"Right\":\"\"):t],a=r||/^find/.test(t);o&&(wr.prototype[t]=function(){var t=this.__wrapped__,c=r?[1]:arguments,u=t instanceof _r,s=c[0],l=u||ul(t),f=function(e){var t=o.apply(wr,Mn([e],c));return r&&d?t[0]:t};l&&n&&\"function\"==typeof s&&1!=s.length&&(u=l=!1);var d=this.__chain__,h=!!this.__actions__.length,p=a&&!d,v=u&&!h;if(!a&&l){t=v?t:new _r(this);var g=e.apply(t,c);return g.__actions__.push({func:Xu,args:[f],thisArg:i}),new kr(g,d)}return p&&v?e.apply(this,c):(g=this.thru(f),p?r?g.value()[0]:g.value():g)})})),On([\"pop\",\"push\",\"shift\",\"sort\",\"splice\",\"unshift\"],(function(e){var t=at[e],n=/^(?:push|sort|unshift)$/.test(e)?\"tap\":\"thru\",r=/^(?:pop|shift)$/.test(e);wr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(ul(o)?o:[],e)}return this[n]((function(n){return t.apply(ul(n)?n:[],e)}))}})),To(_r.prototype,(function(e,t){var n=wr[t];if(n){var r=n.name+\"\";ft.call(sn,r)||(sn[r]=[]),sn[r].push({name:t,func:n})}})),sn[ba(i,x).name]=[{name:\"wrapper\",func:i}],_r.prototype.clone=Cr,_r.prototype.reverse=Mr,_r.prototype.value=Ar,wr.prototype.at=qu,wr.prototype.chain=Ku,wr.prototype.commit=Zu,wr.prototype.next=$u,wr.prototype.plant=Ju,wr.prototype.reverse=es,wr.prototype.toJSON=wr.prototype.valueOf=wr.prototype.value=ts,wr.prototype.first=wr.prototype.head,_t&&(wr.prototype[_t]=Qu),wr},Sr=Er();un._=Sr,o=function(){return Sr}.call(t,n,t,r),o===i||(r.exports=o)}).call(this)}).call(this,n(\"IyRk\"),n(\"hOG+\")(e))},MIOZ:function(e,t){function n(e,t){var n=null==e?null:\"undefined\"!==typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done);a=!0)if(i.push(r.value),t&&i.length===t)break}catch(u){c=!0,o=u}finally{try{a||null==n[\"return\"]||n[\"return\"]()}finally{if(c)throw o}}return i}}e.exports=n,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},MMmD:function(e,t,n){var r=n(\"lSCD\"),o=n(\"shjB\");function i(e){return null!=e&&o(e.length)&&!r(e)}e.exports=i},MNnm:function(e,t,n){\"use strict\";function r(){return!(\"undefined\"===typeof window||!window.document||!window.document.createElement)}n.d(t,\"a\",(function(){return r}))},MgzW:function(e,t,n){\"use strict\";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError(\"Object.assign cannot be called with null or undefined\");return Object(e)}function c(){try{if(!Object.assign)return!1;var e=new String(\"abc\");if(e[5]=\"de\",\"5\"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t[\"_\"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if(\"0123456789\"!==r.join(\"\"))return!1;var o={};return\"abcdefghijklmnopqrst\".split(\"\").forEach((function(e){o[e]=e})),\"abcdefghijklmnopqrst\"===Object.keys(Object.assign({},o)).join(\"\")}catch(i){return!1}}e.exports=c()?Object.assign:function(e,t){for(var n,c,u=a(e),s=1;s<arguments.length;s++){for(var l in n=Object(arguments[s]),n)o.call(n,l)&&(u[l]=n[l]);if(r){c=r(n);for(var f=0;f<c.length;f++)i.call(n,c[f])&&(u[c[f]]=n[c[f]])}}return u}},MlIO:function(e,t,n){(function(t,r){e.exports=r(n(\"Ib8C\"))})(0,(function(e){return function(t){var n=e,r=n.lib,o=r.Base,i=r.WordArray,a=n.x64={};a.Word=o.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=o.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],r=0;r<t;r++){var o=e[r];n.push(o.high),n.push(o.low)}return i.create(n,this.sigBytes)},clone:function(){for(var e=o.clone.call(this),t=e.words=this.words.slice(0),n=t.length,r=0;r<n;r++)t[r]=t[r].clone();return e}})}(),e}))},MvSz:function(e,t,n){var r=n(\"LXxW\"),o=n(\"0ycA\"),i=Object.prototype,a=i.propertyIsEnumerable,c=Object.getOwnPropertySymbols,u=c?function(e){return null==e?[]:(e=Object(e),r(c(e),(function(t){return a.call(e,t)})))}:o;e.exports=u},\"N+g0\":function(e,t,n){var r=n(\"g6v/\"),o=n(\"m/L8\"),i=n(\"glrk\"),a=n(\"33Wh\");e.exports=r?Object.defineProperties:function(e,t){i(e);var n,r=a(t),c=r.length,u=0;while(c>u)o.f(e,n=r[u++],t[n]);return e}},\"NC/Y\":function(e,t,n){var r=n(\"0GbY\");e.exports=r(\"navigator\",\"userAgent\")||\"\"},NFKh:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"MlIO\"),n(\"F+F2\"),n(\"qM6L\"),n(\"ETIr\"),n(\"wbyO\"),n(\"cv67\"),n(\"3y9D\"),n(\"lPiR\"),n(\"GRuw\"),n(\"1uat\"),n(\"uGsb\"),n(\"5hvy\"),n(\"ELcG\"),n(\"WYAk\"),n(\"e7zE\"),n(\"K3mO\"),n(\"OLod\"),n(\"ALsQ\"),n(\"9OqN\"),n(\"qu8F\"),n(\"S6kV\"),n(\"gb/T\"),n(\"qBft\"),n(\"oRuE\"),n(\"jO9C\"),n(\"KmYQ\"),n(\"uGxW\"),n(\"bQjk\"),n(\"wZgz\"),n(\"pA7S\"),n(\"w7YG\"),n(\"E4JC\"),n(\"PVpz\"))})(0,(function(e){return e}))},NIaI:function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var o=r(n(\"V6Kr\")),i=n(\"eQiA\");t.default={layout:o.default,util:{time:i.time,notime:i.notime}}},NKxu:function(e,t,n){var r=n(\"lSCD\"),o=n(\"E2jh\"),i=n(\"GoyQ\"),a=n(\"3Fdi\"),c=/[\\\\^$.*+?()[\\]{}|]/g,u=/^\\[object .+?Constructor\\]$/,s=Function.prototype,l=Object.prototype,f=s.toString,d=l.hasOwnProperty,h=RegExp(\"^\"+f.call(d).replace(c,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\");function p(e){if(!i(e)||o(e))return!1;var t=r(e)?h:u;return t.test(a(e))}e.exports=p},NV22:function(e,t,n){var r=n(\"I+eb\"),o=n(\"glrk\"),i=n(\"4oU/\"),a=n(\"ntOU\"),c=n(\"afO8\"),u=\"Seeded Random\",s=u+\" Generator\",l=c.set,f=c.getterFor(s),d='Math.seededPRNG() argument should have a \"seed\" field with a finite value.',h=a((function(e){l(this,{type:s,seed:e%2147483647})}),u,(function(){var e=f(this),t=e.seed=(1103515245*e.seed+12345)%2147483647;return{value:(1073741823&t)/1073741823,done:!1}}));r({target:\"Math\",stat:!0,forced:!0},{seededPRNG:function(e){var t=o(e).seed;if(!i(t))throw TypeError(d);return new h(t)}})},NaFW:function(e,t,n){var r=n(\"9d/t\"),o=n(\"P4y1\"),i=n(\"tiKp\"),a=i(\"iterator\");e.exports=function(e){if(void 0!=e)return e[a]||e[\"@@iterator\"]||o[r(e)]}},Npjl:function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},NqR8:function(e,t,n){var r=n(\"I+eb\");r({target:\"Math\",stat:!0},{isubh:function(e,t,n,r){var o=e>>>0,i=t>>>0,a=n>>>0;return i-(r>>>0)-((~o&a|~(o^a)&o-a>>>0)>>>31)|0}})},NykK:function(e,t,n){var r=n(\"nmnc\"),o=n(\"AP2z\"),i=n(\"KfNM\"),a=\"[object Null]\",c=\"[object Undefined]\",u=r?r.toStringTag:void 0;function s(e){return null==e?void 0===e?c:a:u&&u in Object(e)?o(e):i(e)}e.exports=s},\"O/iA\":function(e,t,n){},O741:function(e,t,n){var r=n(\"hh1v\");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError(\"Can't set \"+String(e)+\" as a prototype\");return e}},ODXe:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return c}));var r=n(\"DSFK\");function o(e,t){var n=null==e?null:\"undefined\"!==typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done);a=!0)if(i.push(r.value),t&&i.length===t)break}catch(u){c=!0,o=u}finally{try{a||null==n[\"return\"]||n[\"return\"]()}finally{if(c)throw o}}return i}}var i=n(\"BsWD\"),a=n(\"PYwp\");function c(e,t){return Object(r[\"a\"])(e)||o(e,t)||Object(i[\"a\"])(e,t)||Object(a[\"a\"])()}},OHKo:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=i(n(\"UrMv\")),o=n(\"3P6T\");function i(e){return e&&e.__esModule?e:{default:e}}function a(e){void 0===e&&(e={});var t=e,n=function(){},r=function(){var e={};return function(t){var n=t.next,r=n;return!e[r]&&(e[r]=!0,!0)}}();return t.allowTraversal=e.allowTraversal||r,t.enter=e.enter||n,t.leave=e.leave||n,t}var c=function(e,t,n,i){void 0===i&&(i=!0);var c=a(n),u=new r.default,s=e.edges,l=void 0===s?[]:s;u.enqueue(t);var f=\"\",d=function(){var e=u.dequeue();c.enter({current:e,previous:f}),(0,o.getNeighbors)(e,l,i?\"target\":void 0).forEach((function(t){c.allowTraversal({previous:f,current:e,next:t})&&u.enqueue(t)})),c.leave({current:e,previous:f}),f=e};while(!u.isEmpty())d()},u=c;t.default=u},OIgp:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.FORCE_LAYOUT_TYPE_MAP=t.LAYOUT_MESSAGE=void 0,t.LAYOUT_MESSAGE={RUN:\"LAYOUT_RUN\",END:\"LAYOUT_END\",ERROR:\"LAYOUT_ERROR\",TICK:\"LAYOUT_TICK\",GPURUN:\"GPU_LAYOUT_RUN\",GPUEND:\"GPU_LAYOUT_END\"},t.FORCE_LAYOUT_TYPE_MAP={gForce:!0,force2:!0,fruchterman:!0,forceAtlas2:!0,force:!0,\"graphin-force\":!0}},OLod:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"K3mO\"))})(0,(function(e){e.lib.Cipher||function(t){var n=e,r=n.lib,o=r.Base,i=r.WordArray,a=r.BufferedBlockAlgorithm,c=n.enc,u=(c.Utf8,c.Base64),s=n.algo,l=s.EvpKDF,f=r.Cipher=a.extend({cfg:o.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return\"string\"==typeof e?E:x}return function(t){return{encrypt:function(n,r,o){return e(r).encrypt(t,n,r,o)},decrypt:function(n,r,o){return e(r).decrypt(t,n,r,o)}}}}()}),d=(r.StreamCipher=f.extend({_doFinalize:function(){var e=this._process(!0);return e},blockSize:1}),n.mode={}),h=r.BlockCipherMode=o.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=d.CBC=function(){var e=h.extend();function n(e,n,r){var o,i=this._iv;i?(o=i,this._iv=t):o=this._prevBlock;for(var a=0;a<r;a++)e[n+a]^=o[a]}return e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize;n.call(this,e,t,o),r.encryptBlock(e,t),this._prevBlock=e.slice(t,t+o)}}),e.Decryptor=e.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize,i=e.slice(t,t+o);r.decryptBlock(e,t),n.call(this,e,t,o),this._prevBlock=i}}),e}(),v=n.pad={},g=v.Pkcs7={pad:function(e,t){for(var n=4*t,r=n-e.sigBytes%n,o=r<<24|r<<16|r<<8|r,a=[],c=0;c<r;c+=4)a.push(o);var u=i.create(a,r);e.concat(u)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},m=(r.BlockCipher=f.extend({cfg:f.cfg.extend({mode:p,padding:g}),reset:function(){var e;f.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),r.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),y=n.format={},b=y.OpenSSL={stringify:function(e){var t,n=e.ciphertext,r=e.salt;return t=r?i.create([1398893684,1701076831]).concat(r).concat(n):n,t.toString(u)},parse:function(e){var t,n=u.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=i.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),m.create({ciphertext:n,salt:t})}},x=r.SerializableCipher=o.extend({cfg:o.extend({format:b}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var o=e.createEncryptor(n,r),i=o.finalize(t),a=o.cfg;return m.create({ciphertext:i,key:n,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var o=e.createDecryptor(n,r).finalize(t.ciphertext);return o},_parse:function(e,t){return\"string\"==typeof e?t.parse(e,this):e}}),w=n.kdf={},O=w.OpenSSL={execute:function(e,t,n,r){r||(r=i.random(8));var o=l.create({keySize:t+n}).compute(e,r),a=i.create(o.words.slice(t),4*n);return o.sigBytes=4*t,m.create({key:o,iv:a,salt:r})}},E=r.PasswordBasedCipher=x.extend({cfg:x.cfg.extend({kdf:O}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var o=r.kdf.execute(n,e.keySize,e.ivSize);r.iv=o.iv;var i=x.encrypt.call(this,e,t,o.key,r);return i.mixIn(o),i},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var o=r.kdf.execute(n,e.keySize,e.ivSize,t.salt);r.iv=o.iv;var i=x.decrypt.call(this,e,t,o.key,r);return i}})}()}))},OPEp:function(e,t,n){},OXnU:function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,\"__esModule\",{value:!0}),t.Graph=void 0;var o=n(\"HeBM\"),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(o.Graph);t.Graph=i},\"Of+w\":function(e,t,n){var r=n(\"Cwc5\"),o=n(\"Kz5y\"),i=r(o,\"WeakMap\");e.exports=i},OnYD:function(e,t,n){},P4y1:function(e,t){e.exports={}},P940:function(e,t,n){\"use strict\";e.exports=function(){var e=arguments.length,t=new Array(e);while(e--)t[e]=arguments[e];return new this(t)}},PA46:function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)},i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,\"__esModule\",{value:!0}),t.DagreCompoundLayout=void 0;var a=n(\"W8mN\"),c=n(\"HYlc\"),u=n(\"8nGZ\"),s=function(e){function t(t){var n=e.call(this)||this;return n.rankdir=\"TB\",n.nodesep=50,n.edgesep=5,n.ranksep=50,n.controlPoints=!0,n.anchorPoint=!0,n.nodes=[],n.edges=[],n.combos=[],n.onLayoutEnd=function(){},n.updateCfg(t),n}return r(t,e),t.prototype.getDefaultCfg=function(){return{rankdir:\"TB\",align:void 0,begin:void 0,nodeSize:void 0,nodesep:50,ranksep:50,controlPoints:!0,anchorPoint:!0}},t.prototype.init=function(e){var t=e.hiddenNodes||[],n=e.hiddenEdges||[],r=e.hiddenCombos||[];this.nodes=this.getDataByOrder((e.nodes||[]).concat(t)),this.edges=this.getDataByOrder((e.edges||[]).concat(n)),this.combos=(e.combos||[]).concat(r.map((function(e){return o(o({},e),{collapsed:!0})})))},t.prototype.execute=function(){var e=this,t=e.nodes,n=e.edges;if(t){var r=e.getLayoutConfig(),o=r.graphDef,i=r.graphOption,a=r.graphSettings,u=(0,c.buildGraph)(o,i,a),s=(0,c.flatGraph)(u,!0);return this.updatePosition(s),e.onLayoutEnd&&e.onLayoutEnd(),{nodes:t,edges:n}}},t.prototype.getNodePath=function(e){var t=this,n=t.nodes,r=t.combos,o=n.find((function(t){return t.id===e})),i=function(e,t){void 0===t&&(t=[]);var n=r.find((function(t){return t.id===e}));return n?(t.unshift(e),n.parentId?i(n.parentId,t):t):t};return o&&o.comboId?i(o.comboId,[e]):[e]},t.prototype.getLayoutConfig=function(){var e,t,n,r,a=this,s=a.nodes,l=a.edges,f=a.combos,d=a.nodeSize,h=a.rankdir,p=a.align,v=a.edgesep,g=a.nodesep,m=a.ranksep,y=a.settings,b=(f||[]).reduce((function(e,t){var n=s.filter((function(e){return e.comboId===t.id})).map((function(e){return e.id})),r=(f||[]).filter((function(e){return e.parentId===t.id})).map((function(e){return e.id}));return(n.length||r.length)&&(e[t.id]=i(i([],n,!0),r,!0)),e}),{});r=d?(0,u.isArray)(d)?function(){return d}:function(){return[d,d]}:function(e){return e&&e.size?(0,u.isArray)(e.size)?e.size:(0,u.isObject)(e.size)?[e.size.width||40,e.size.height||40]:[e.size,e.size]:[40,40]};var x=function(e){return e&&e.size?(0,u.isArray)(e.size)?e.size:[e.size,e.size]:[80,40]},w=x(null===f||void 0===f?void 0:f[0]),O=w[0],E=w[1],S=null===(t=null===(e=a.graphSettings)||void 0===e?void 0:e.subScene)||void 0===t?void 0:t.meta,j=(null===(n=f.find((function(e){return!e.collapsed})))||void 0===n?void 0:n.padding)||[20,20,20,20],k=j[0],_=j[1],C=j[2],M=j[3],A={compound:b,nodes:i([],(s||[]).map((function(e){var t=r(e),n=t[0],i=t[1];return o(o({},e),{width:n,height:i})})),!0),edges:i([],(l||[]).map((function(e){return o(o({},e),{v:e.source,w:e.target})})),!0)},N={expanded:(f||[]).filter((function(e){return!e.collapsed})).map((function(e){return e.id}))},T={graph:{meta:{align:p,rankDir:h,nodeSep:g,edgeSep:v,rankSep:m}},subScene:{meta:{paddingTop:k||(null===S||void 0===S?void 0:S.paddingTop)||20,paddingRight:_||(null===S||void 0===S?void 0:S.paddingRight)||20,paddingBottom:C||(null===S||void 0===S?void 0:S.paddingBottom)||20,paddingLeft:M||(null===S||void 0===S?void 0:S.paddingLeft)||20,labelHeight:0}},nodeSize:{meta:{width:O,height:E}}},I=(0,c.mergeConfig)(y,o({},(0,c.mergeConfig)(T,c.LAYOUT_CONFIG)));return a.graphSettings=I,{graphDef:A,graphOption:N,graphSettings:I}},t.prototype.updatePosition=function(e){var t=e.nodes,n=e.edges;this.updateNodePosition(t,n),this.updateEdgePosition(t,n)},t.prototype.getBegin=function(e,t){var n=this,r=n.begin,o=[0,0];if(r){var i=1/0,a=1/0;e.forEach((function(e){i>e.x&&(i=e.x),a>e.y&&(a=e.y)})),t.forEach((function(e){e.points.forEach((function(e){i>e.x&&(i=e.x),a>e.y&&(a=e.y)}))})),o[0]=r[0]-i,o[1]=r[1]-a}return o},t.prototype.updateNodePosition=function(e,t){var n=this,r=n.combos,o=n.nodes,i=n.edges,a=n.anchorPoint,u=n.graphSettings,s=this.getBegin(e,t);e.forEach((function(e){var n,l=e.x,f=e.y,d=e.id,h=e.type,p=e.coreBox;if(h===c.HierarchyNodeType.META&&d!==c.ROOT_NAME){var v=r.findIndex((function(e){return e.id===d})),g=null===(n=null===u||void 0===u?void 0:u.subScene)||void 0===n?void 0:n.meta;r[v].offsetX=l+s[0],r[v].offsetY=f+s[1],r[v].fixSize=[p.width,p.height],r[v].fixCollapseSize=[p.width,p.height],e.expanded?r[v].padding=[null===g||void 0===g?void 0:g.paddingTop,null===g||void 0===g?void 0:g.paddingRight,null===g||void 0===g?void 0:g.paddingBottom,null===g||void 0===g?void 0:g.paddingLeft]:r[v].padding=[0,0,0,0]}else if(h===c.HierarchyNodeType.OP){v=o.findIndex((function(e){return e.id===d}));if(o[v].x=l+s[0],o[v].y=f+s[1],a){var m=[],y=t.filter((function(e){return e.v===d})),b=t.filter((function(e){return e.w===d}));y.length>0&&y.forEach((function(t){var n=t.points[0],r=(n.x-l)/e.width+.5,o=(n.y-f)/e.height+.5;m.push([r,o]),t.baseEdgeList.forEach((function(e){var t=i.find((function(t){return t.source===e.v&&t.target===e.w}));t&&(t.sourceAnchor=m.length-1)}))})),b.length>0&&b.forEach((function(t){var n=t.points[t.points.length-1],r=(n.x-l)/e.width+.5,o=(n.y-f)/e.height+.5;m.push([r,o]),t.baseEdgeList.forEach((function(e){var t=i.find((function(t){return t.source===e.v&&t.target===e.w}));t&&(t.targetAnchor=m.length-1)}))})),o[v].anchorPoints=m.length>0?m:o[v].anchorPoints||[]}}}))},t.prototype.updateEdgePosition=function(e,t){var n=this,r=n.combos,a=n.edges,u=n.controlPoints,s=this.getBegin(e,t);u&&(r.forEach((function(e){e.inEdges=[],e.outEdges=[]})),a.forEach((function(t){var a,u,l,f,d=e.find((function(e){return e.id===t.source})),h=e.find((function(e){return e.id===t.target})),p=[],v=[];if(d&&h)v=(0,c.getEdges)(null===d||void 0===d?void 0:d.id,null===h||void 0===h?void 0:h.id,e);else if(!d||!h){var g=n.getNodePath(t.source),m=n.getNodePath(t.target),y=g.reverse().slice(d?0:1).find((function(t){return e.find((function(e){return e.id===t}))})),b=m.reverse().slice(h?0:1).find((function(t){return e.find((function(e){return e.id===t}))}));d=e.find((function(e){return e.id===y})),h=e.find((function(e){return e.id===b})),v=(0,c.getEdges)(null===d||void 0===d?void 0:d.id,null===h||void 0===h?void 0:h.id,e,{v:t.source,w:t.target})}if(p=v.reduce((function(e,t){return i(i([],e,!0),t.points.map((function(e){return o(o({},e),{x:e.x+s[0],y:e.y+s[1]})})),!0)}),[]),p=p.slice(1,-1),t.controlPoints=p,(null===h||void 0===h?void 0:h.type)===c.NodeType.META){var x=r.findIndex((function(e){return e.id===(null===h||void 0===h?void 0:h.id)}));if(!r[x]||(null===(a=r[x].inEdges)||void 0===a?void 0:a.some((function(e){return e.source===d.id&&e.target===h.id}))))return;null===(u=r[x].inEdges)||void 0===u||u.push({source:d.id,target:h.id,controlPoints:p})}if((null===d||void 0===d?void 0:d.type)===c.NodeType.META){x=r.findIndex((function(e){return e.id===(null===d||void 0===d?void 0:d.id)}));if(!r[x]||(null===(l=r[x].outEdges)||void 0===l?void 0:l.some((function(e){return e.source===d.id&&e.target===h.id}))))return;null===(f=r[x].outEdges)||void 0===f||f.push({source:d.id,target:h.id,controlPoints:p})}})))},t.prototype.getType=function(){return\"dagreCompound\"},t.prototype.getDataByOrder=function(e){return e.every((function(e){return void 0!==e.layoutOrder}))||e.forEach((function(e,t){e.layoutOrder=t})),e.sort((function(e,t){return e.layoutOrder-t.layoutOrder}))},t}(a.Base);t.DagreCompoundLayout=s},PF2M:function(e,t,n){\"use strict\";var r=n(\"67WC\"),o=n(\"UMSQ\"),i=n(\"GC2F\"),a=n(\"ewvW\"),c=n(\"0Dky\"),u=r.aTypedArray,s=r.exportTypedArrayMethod,l=c((function(){new Int8Array(1).set({})}));s(\"set\",(function(e){u(this);var t=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(e),c=o(r.length),s=0;if(c+t>n)throw RangeError(\"Wrong length\");while(s<c)this[t+s]=r[s++]}),l)},PKPk:function(e,t,n){\"use strict\";var r=n(\"ZUd8\").charAt,o=n(\"afO8\"),i=n(\"fdAy\"),a=\"String Iterator\",c=o.set,u=o.getterFor(a);i(String,\"String\",(function(e){c(this,{type:a,string:String(e),index:0})}),(function(){var e,t=u(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},PQMj:function(e,t,n){},PVpz:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"ETIr\"),n(\"cv67\"),n(\"K3mO\"),n(\"OLod\"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.StreamCipher,o=t.algo,i=[],a=[],c=[],u=o.RabbitLegacy=r.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var o=0;o<4;o++)s.call(this);for(o=0;o<8;o++)r[o]^=n[o+4&7];if(t){var i=t.words,a=i[0],c=i[1],u=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),l=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),f=u>>>16|4294901760&l,d=l<<16|65535&u;r[0]^=u,r[1]^=f,r[2]^=l,r[3]^=d,r[4]^=u,r[5]^=f,r[6]^=l,r[7]^=d;for(o=0;o<4;o++)s.call(this)}},_doProcessBlock:function(e,t){var n=this._X;s.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),e[t+r]^=i[r]},blockSize:4,ivSize:2});function s(){for(var e=this._X,t=this._C,n=0;n<8;n++)a[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<a[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<a[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<a[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<a[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<a[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<a[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<a[6]>>>0?1:0)|0,this._b=t[7]>>>0<a[7]>>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,i=r>>>16,u=((o*o>>>17)+o*i>>>15)+i*i,s=((4294901760&r)*r|0)+((65535&r)*r|0);c[n]=u^s}e[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,e[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,e[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,e[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,e[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,e[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,e[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,e[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}t.RabbitLegacy=r._createHelper(u)}(),e.RabbitLegacy}))},PYwp:function(e,t,n){\"use strict\";function r(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}n.d(t,\"a\",(function(){return r}))},Pdwu:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(\"tK6A\"),o=function(){function e(e){this.distances=e.distances,this.dimension=e.dimension||2,this.linkDistance=e.linkDistance}return e.prototype.layout=function(){var e=this,t=e.dimension,n=e.distances,o=e.linkDistance;try{var i=r.Matrix.mul(r.Matrix.pow(n,2),-.5),a=i.mean(\"row\"),c=i.mean(\"column\"),u=i.mean();i.add(u).subRowVector(a).subColumnVector(c);var s=new r.SingularValueDecomposition(i),l=r.Matrix.sqrt(s.diagonalMatrix).diagonal();return s.leftSingularVectors.toJSON().map((function(e){return r.Matrix.mul([e],[l]).toJSON()[0].splice(0,t)}))}catch(v){for(var f=[],d=0;d<n.length;d++){var h=Math.random()*o,p=Math.random()*o;f.push([h,p])}return f}},e}();t.default=o},PpiC:function(e,t,n){\"use strict\";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function o(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,\"a\",(function(){return o}))},PrET:function(e,t,n){\"use strict\";var r=n(\"D3zA\"),o=n(\"AM7I\"),i=o(\"%Function.prototype.apply%\"),a=o(\"%Function.prototype.call%\"),c=o(\"%Reflect.apply%\",!0)||r.call(a,i),u=o(\"%Object.getOwnPropertyDescriptor%\",!0),s=o(\"%Object.defineProperty%\",!0),l=o(\"%Math.max%\");if(s)try{s({},\"a\",{value:1})}catch(d){s=null}e.exports=function(e){var t=c(r,a,arguments);if(u&&s){var n=u(t,\"length\");n.configurable&&s(t,\"length\",{value:1+l(0,e.length-(arguments.length-1))})}return t};var f=function(){return c(r,i,arguments)};s?s(e.exports,\"apply\",{value:f}):e.exports.apply=f},PvkP:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=a(n(\"g629\")),o=a(n(\"nC8U\")),i=n(\"3P6T\");function a(e){return e&&e.__esModule?e:{default:e}}var c=function(e,t){var n=[],r=e.nodes,a=void 0===r?[]:r,c=e.edges,u=void 0===c?[]:c;if(0===a.length)return n;var s=a[0],l=new Set;l.add(s);var f=function(e,n){return t?e.weight-n.weight:0},d=new o.default(f);(0,i.getEdgesByNodeId)(s.id,u).forEach((function(e){d.insert(e)}));while(!d.isEmpty()){var h=d.delMin(),p=h.source,v=h.target;l.has(p)&&l.has(v)||(n.push(h),l.has(p)||(l.add(p),(0,i.getEdgesByNodeId)(p,u).forEach((function(e){d.insert(e)}))),l.has(v)||(l.add(v),(0,i.getEdgesByNodeId)(v,u).forEach((function(e){d.insert(e)}))))}return n},u=function(e,t){var n=[],o=e.nodes,i=void 0===o?[]:o,a=e.edges,c=void 0===a?[]:a;if(0===i.length)return n;var u=c.map((function(e){return e}));t&&u.sort((function(e,t){return e.weight-t.weight}));var s=new r.default(i.map((function(e){return e.id})));while(u.length>0){var l=u.shift(),f=l.source,d=l.target;s.connected(f,d)||(n.push(l),s.union(f,d))}return n},s=function(e,t,n){var r={prim:c,kruskal:u};return n?r[n](e,t):u(e,t)},l=s;t.default=l},Pw59:function(e,t,n){\"use strict\";var r=n(\"q1tI\"),o=Object(r[\"createContext\"])({});t[\"a\"]=o},Q2Ig:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title=\"browser\",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error(\"No such module. (Possibly not yet loaded)\")},function(){var e,r=\"/\";t.cwd=function(){return r},t.chdir=function(t){e||(e=n(\"33yf\")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},Q7Pz:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"glrk\"),a=n(\"Sssf\"),c=n(\"i4U9\"),u=n(\"ImZN\");r({target:\"Map\",proto:!0,real:!0,forced:o},{includes:function(e){return u(a(i(this)),(function(t,n){if(c(n,e))return u.stop()}),void 0,!0,!0).stopped}})},Q9SF:function(e,t){function n(e){if(Array.isArray(e))return e}e.exports=n,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},QCnb:function(e,t,n){\"use strict\";e.exports=n(\"+wdc\")},QFcT:function(e,t,n){var r=n(\"I+eb\"),o=Math.hypot,i=Math.abs,a=Math.sqrt,c=!!o&&o(1/0,NaN)!==1/0;r({target:\"Math\",stat:!0,forced:c},{hypot:function(e,t){var n,r,o=0,c=0,u=arguments.length,s=0;while(c<u)n=i(arguments[c++]),s<n?(r=s/n,o=o*r*r+1,s=n):n>0?(r=n/s,o+=r*r):o+=n;return s===1/0?1/0:s*a(o)}})},QGkA:function(e,t,n){var r=n(\"RNIs\");r(\"flat\")},QIpd:function(e,t,n){var r=n(\"xrYK\");e.exports=function(e){if(\"number\"!=typeof e&&\"Number\"!=r(e))throw TypeError(\"Incorrect invocation\");return+e}},QIyF:function(e,t,n){var r=n(\"Kz5y\"),o=function(){return r.Date.now()};e.exports=o},QSc6:function(e,t,n){\"use strict\";var r=n(\"VAJa\"),o=n(\"0jNN\"),i=n(\"sxOR\"),a=Object.prototype.hasOwnProperty,c={brackets:function(e){return e+\"[]\"},comma:\"comma\",indices:function(e,t){return e+\"[\"+t+\"]\"},repeat:function(e){return e}},u=Array.isArray,s=String.prototype.split,l=Array.prototype.push,f=function(e,t){l.apply(e,u(t)?t:[t])},d=Date.prototype.toISOString,h=i[\"default\"],p={addQueryPrefix:!1,allowDots:!1,charset:\"utf-8\",charsetSentinel:!1,delimiter:\"&\",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},v=function(e){return\"string\"===typeof e||\"number\"===typeof e||\"boolean\"===typeof e||\"symbol\"===typeof e||\"bigint\"===typeof e},g={},m=function e(t,n,i,a,c,l,d,h,m,y,b,x,w,O,E,S){var j=t,k=S,_=0,C=!1;while(void 0!==(k=k.get(g))&&!C){var M=k.get(t);if(_+=1,\"undefined\"!==typeof M){if(M===_)throw new RangeError(\"Cyclic object value\");C=!0}\"undefined\"===typeof k.get(g)&&(_=0)}if(\"function\"===typeof h?j=h(n,j):j instanceof Date?j=b(j):\"comma\"===i&&u(j)&&(j=o.maybeMap(j,(function(e){return e instanceof Date?b(e):e}))),null===j){if(c)return d&&!O?d(n,p.encoder,E,\"key\",x):n;j=\"\"}if(v(j)||o.isBuffer(j)){if(d){var A=O?n:d(n,p.encoder,E,\"key\",x);if(\"comma\"===i&&O){for(var N=s.call(String(j),\",\"),T=\"\",I=0;I<N.length;++I)T+=(0===I?\"\":\",\")+w(d(N[I],p.encoder,E,\"value\",x));return[w(A)+(a&&u(j)&&1===N.length?\"[]\":\"\")+\"=\"+T]}return[w(A)+\"=\"+w(d(j,p.encoder,E,\"value\",x))]}return[w(n)+\"=\"+w(String(j))]}var P,L=[];if(\"undefined\"===typeof j)return L;if(\"comma\"===i&&u(j))P=[{value:j.length>0?j.join(\",\")||null:void 0}];else if(u(h))P=h;else{var D=Object.keys(j);P=m?D.sort(m):D}for(var R=a&&u(j)&&1===j.length?n+\"[]\":n,F=0;F<P.length;++F){var B=P[F],z=\"object\"===typeof B&&\"undefined\"!==typeof B.value?B.value:j[B];if(!l||null!==z){var U=u(j)?\"function\"===typeof i?i(R,B):R:R+(y?\".\"+B:\"[\"+B+\"]\");S.set(t,_);var G=r();G.set(g,S),f(L,e(z,U,i,a,c,l,d,h,m,y,b,x,w,O,E,G))}}return L},y=function(e){if(!e)return p;if(null!==e.encoder&&\"undefined\"!==typeof e.encoder&&\"function\"!==typeof e.encoder)throw new TypeError(\"Encoder has to be a function.\");var t=e.charset||p.charset;if(\"undefined\"!==typeof e.charset&&\"utf-8\"!==e.charset&&\"iso-8859-1\"!==e.charset)throw new TypeError(\"The charset option must be either utf-8, iso-8859-1, or undefined\");var n=i[\"default\"];if(\"undefined\"!==typeof e.format){if(!a.call(i.formatters,e.format))throw new TypeError(\"Unknown format option provided.\");n=e.format}var r=i.formatters[n],o=p.filter;return(\"function\"===typeof e.filter||u(e.filter))&&(o=e.filter),{addQueryPrefix:\"boolean\"===typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:\"undefined\"===typeof e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:\"boolean\"===typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:\"undefined\"===typeof e.delimiter?p.delimiter:e.delimiter,encode:\"boolean\"===typeof e.encode?e.encode:p.encode,encoder:\"function\"===typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:\"boolean\"===typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:\"function\"===typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:\"boolean\"===typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:\"function\"===typeof e.sort?e.sort:null,strictNullHandling:\"boolean\"===typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}};e.exports=function(e,t){var n,o,i=e,a=y(t);\"function\"===typeof a.filter?(o=a.filter,i=o(\"\",i)):u(a.filter)&&(o=a.filter,n=o);var s,l=[];if(\"object\"!==typeof i||null===i)return\"\";s=t&&t.arrayFormat in c?t.arrayFormat:t&&\"indices\"in t?t.indices?\"indices\":\"repeat\":\"indices\";var d=c[s];if(t&&\"commaRoundTrip\"in t&&\"boolean\"!==typeof t.commaRoundTrip)throw new TypeError(\"`commaRoundTrip` must be a boolean, or absent\");var h=\"comma\"===d&&t&&t.commaRoundTrip;n||(n=Object.keys(i)),a.sort&&n.sort(a.sort);for(var p=r(),v=0;v<n.length;++v){var g=n[v];a.skipNulls&&null===i[g]||f(l,m(i[g],g,d,h,a.strictNullHandling,a.skipNulls,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,p))}var b=l.join(a.delimiter),x=!0===a.addQueryPrefix?\"?\":\"\";return a.charsetSentinel&&(\"iso-8859-1\"===a.charset?x+=\"utf8=%26%2310003%3B&\":x+=\"utf8=%E2%9C%93&\"),b.length>0?x+b:\"\"}},QeBL:function(e,n,r){\"use strict\";r.r(n),r.d(n,\"default\",(function(){return sq}));var o={};r.r(o),r.d(o,\"leftTranslate\",(function(){return $S})),r.d(o,\"leftRotate\",(function(){return QS})),r.d(o,\"leftScale\",(function(){return JS})),r.d(o,\"transform\",(function(){return tj})),r.d(o,\"direction\",(function(){return nj})),r.d(o,\"angleTo\",(function(){return rj})),r.d(o,\"vertical\",(function(){return oj}));var i={};r.r(i),r.d(i,\"getAdjMatrix\",(function(){return aj})),r.d(i,\"breadthFirstSearch\",(function(){return bj})),r.d(i,\"connectedComponent\",(function(){return Oj})),r.d(i,\"getDegree\",(function(){return Sj})),r.d(i,\"getInDegree\",(function(){return jj})),r.d(i,\"getOutDegree\",(function(){return kj})),r.d(i,\"detectCycle\",(function(){return Pj})),r.d(i,\"detectDirectedCycle\",(function(){return n_})),r.d(i,\"detectAllCycles\",(function(){return Ij})),r.d(i,\"detectAllDirectedCycle\",(function(){return Tj})),r.d(i,\"detectAllUndirectedCycle\",(function(){return Nj})),r.d(i,\"depthFirstSearch\",(function(){return Mj})),r.d(i,\"dijkstra\",(function(){return Rj})),r.d(i,\"findAllPath\",(function(){return Uj})),r.d(i,\"findShortestPath\",(function(){return zj})),r.d(i,\"floydWarshall\",(function(){return Vj})),r.d(i,\"labelPropagation\",(function(){return Hj})),r.d(i,\"louvain\",(function(){return tk})),r.d(i,\"iLouvain\",(function(){return rk})),r.d(i,\"kCore\",(function(){return ik})),r.d(i,\"kMeans\",(function(){return uk})),r.d(i,\"cosineSimilarity\",(function(){return lk})),r.d(i,\"nodesCosineSimilarity\",(function(){return dk})),r.d(i,\"minimumSpanningTree\",(function(){return wk})),r.d(i,\"pageRank\",(function(){return Ek})),r.d(i,\"getNeighbors\",(function(){return hj})),r.d(i,\"Stack\",(function(){return t_})),r.d(i,\"GADDI\",(function(){return Jk})),r.d(i,\"default\",(function(){return r_}));var a={};r.r(a),r.d(a,\"compare\",(function(){return i_})),r.d(a,\"getLineIntersect\",(function(){return c_})),r.d(a,\"getRectIntersectByPoint\",(function(){return u_})),r.d(a,\"getCircleIntersectByPoint\",(function(){return s_})),r.d(a,\"getEllipseIntersectByPoint\",(function(){return l_})),r.d(a,\"applyMatrix\",(function(){return f_})),r.d(a,\"invertMatrix\",(function(){return d_})),r.d(a,\"getCircleCenterByPoints\",(function(){return h_})),r.d(a,\"distance\",(function(){return p_})),r.d(a,\"scaleMatrix\",(function(){return v_})),r.d(a,\"floydWarshall\",(function(){return g_})),r.d(a,\"getAdjMatrix\",(function(){return m_})),r.d(a,\"translate\",(function(){return y_})),r.d(a,\"move\",(function(){return b_})),r.d(a,\"scale\",(function(){return x_})),r.d(a,\"rotate\",(function(){return w_})),r.d(a,\"getDegree\",(function(){return O_})),r.d(a,\"isPointInPolygon\",(function(){return S_})),r.d(a,\"intersectBBox\",(function(){return j_})),r.d(a,\"isPolygonsIntersect\",(function(){return __})),r.d(a,\"Line\",(function(){return C_})),r.d(a,\"getBBoxBoundLine\",(function(){return M_})),r.d(a,\"itemIntersectByLine\",(function(){return N_})),r.d(a,\"fractionToLine\",(function(){return T_})),r.d(a,\"getPointsCenter\",(function(){return I_})),r.d(a,\"squareDist\",(function(){return P_})),r.d(a,\"pointLineSquareDist\",(function(){return L_})),r.d(a,\"isPointsOverlap\",(function(){return D_})),r.d(a,\"pointRectSquareDist\",(function(){return R_})),r.d(a,\"pointLineDistance\",(function(){return F_})),r.d(a,\"lerp\",(function(){return B_})),r.d(a,\"lerpArray\",(function(){return z_}));var c={};r.r(c),r.d(c,\"getBBox\",(function(){return uC})),r.d(c,\"getLoopCfgs\",(function(){return sC})),r.d(c,\"getLabelPosition\",(function(){return lC})),r.d(c,\"traverseTree\",(function(){return hC})),r.d(c,\"traverseTreeUp\",(function(){return pC})),r.d(c,\"getLetterWidth\",(function(){return vC})),r.d(c,\"getTextSize\",(function(){return gC})),r.d(c,\"truncateLabelByLength\",(function(){return mC})),r.d(c,\"plainCombosToTrees\",(function(){return yC})),r.d(c,\"reconstructTree\",(function(){return bC})),r.d(c,\"getComboBBox\",(function(){return xC})),r.d(c,\"shouldRefreshEdge\",(function(){return wC})),r.d(c,\"cloneBesidesImg\",(function(){return OC})),r.d(c,\"getAnimateCfgWithCallback\",(function(){return EC}));var u={};r.r(u),r.d(u,\"catmullRomToBezier\",(function(){return TC})),r.d(u,\"fillPath\",(function(){return rM})),r.d(u,\"fillPathByDiff\",(function(){return cM})),r.d(u,\"formatPath\",(function(){return lM})),r.d(u,\"intersection\",(function(){return JC})),r.d(u,\"parsePathArray\",(function(){return zC})),r.d(u,\"parsePathString\",(function(){return NC})),r.d(u,\"pathToAbsolute\",(function(){return PC})),r.d(u,\"pathToCurve\",(function(){return FC})),r.d(u,\"rectPath\",(function(){return YC}));var s={};r.r(s),r.d(s,\"easeLinear\",(function(){return fN})),r.d(s,\"easeQuad\",(function(){return pN})),r.d(s,\"easeQuadIn\",(function(){return dN})),r.d(s,\"easeQuadOut\",(function(){return hN})),r.d(s,\"easeQuadInOut\",(function(){return pN})),r.d(s,\"easeCubic\",(function(){return mN})),r.d(s,\"easeCubicIn\",(function(){return vN})),r.d(s,\"easeCubicOut\",(function(){return gN})),r.d(s,\"easeCubicInOut\",(function(){return mN})),r.d(s,\"easePoly\",(function(){return wN})),r.d(s,\"easePolyIn\",(function(){return bN})),r.d(s,\"easePolyOut\",(function(){return xN})),r.d(s,\"easePolyInOut\",(function(){return wN})),r.d(s,\"easeSin\",(function(){return kN})),r.d(s,\"easeSinIn\",(function(){return SN})),r.d(s,\"easeSinOut\",(function(){return jN})),r.d(s,\"easeSinInOut\",(function(){return kN})),r.d(s,\"easeExp\",(function(){return AN})),r.d(s,\"easeExpIn\",(function(){return CN})),r.d(s,\"easeExpOut\",(function(){return MN})),r.d(s,\"easeExpInOut\",(function(){return AN})),r.d(s,\"easeCircle\",(function(){return IN})),r.d(s,\"easeCircleIn\",(function(){return NN})),r.d(s,\"easeCircleOut\",(function(){return TN})),r.d(s,\"easeCircleInOut\",(function(){return IN})),r.d(s,\"easeBounce\",(function(){return HN})),r.d(s,\"easeBounceIn\",(function(){return WN})),r.d(s,\"easeBounceOut\",(function(){return HN})),r.d(s,\"easeBounceInOut\",(function(){return YN})),r.d(s,\"easeBack\",(function(){return ZN})),r.d(s,\"easeBackIn\",(function(){return qN})),r.d(s,\"easeBackOut\",(function(){return KN})),r.d(s,\"easeBackInOut\",(function(){return ZN})),r.d(s,\"easeElastic\",(function(){return tT})),r.d(s,\"easeElasticIn\",(function(){return eT})),r.d(s,\"easeElasticOut\",(function(){return tT})),r.d(s,\"easeElasticInOut\",(function(){return nT}));var l={};r.r(l),r.d(l,\"distance\",(function(){return LT})),r.d(l,\"isNumberEqual\",(function(){return DT})),r.d(l,\"getBBoxByArray\",(function(){return RT})),r.d(l,\"getBBoxRange\",(function(){return FT})),r.d(l,\"piMod\",(function(){return BT}));var f={};r.r(f),r.d(f,\"uniqueId\",(function(){return iP})),r.d(f,\"formatPadding\",(function(){return aP})),r.d(f,\"cloneEvent\",(function(){return cP})),r.d(f,\"isViewportChanged\",(function(){return uP})),r.d(f,\"isNaN\",(function(){return sP})),r.d(f,\"calculationItemsBBox\",(function(){return lP})),r.d(f,\"processParallelEdges\",(function(){return fP}));var d={};r.r(d),r.d(d,\"getSpline\",(function(){return uL})),r.d(d,\"getControlPoint\",(function(){return sL})),r.d(d,\"pointsToPolygon\",(function(){return lL})),r.d(d,\"pathToPoints\",(function(){return fL})),r.d(d,\"getClosedSpline\",(function(){return dL})),r.d(d,\"roundedHull\",(function(){return gL})),r.d(d,\"paddedHull\",(function(){return mL}));var h={};r.r(h),r.d(h,\"defaultSubjectColors\",(function(){return oD}));var p={};r.r(p),r.d(p,\"isForce\",(function(){return iD}));var v={};r.r(v),r.d(v,\"Base\",(function(){return lR})),r.d(v,\"Circle\",(function(){return dR})),r.d(v,\"Ellipse\",(function(){return vR})),r.d(v,\"Image\",(function(){return yR})),r.d(v,\"Line\",(function(){return wR})),r.d(v,\"Marker\",(function(){return SR})),r.d(v,\"Path\",(function(){return BR})),r.d(v,\"Polygon\",(function(){return GR})),r.d(v,\"Polyline\",(function(){return WR})),r.d(v,\"Rect\",(function(){return qR})),r.d(v,\"Text\",(function(){return ZR}));var g={};r.r(g),r.d(g,\"Base\",(function(){return mF})),r.d(g,\"Circle\",(function(){return bF})),r.d(g,\"Dom\",(function(){return wF})),r.d(g,\"Ellipse\",(function(){return EF})),r.d(g,\"Image\",(function(){return jF})),r.d(g,\"Line\",(function(){return _F})),r.d(g,\"Marker\",(function(){return NF})),r.d(g,\"Path\",(function(){return IF})),r.d(g,\"Polygon\",(function(){return LF})),r.d(g,\"Polyline\",(function(){return RF})),r.d(g,\"Rect\",(function(){return zF})),r.d(g,\"Text\",(function(){return YF}));var m={};r.r(m),r.d(m,\"mixColor\",(function(){return BB})),r.d(m,\"getColorsWithSubjectColor\",(function(){return GB})),r.d(m,\"getColorSetsBySubjectColors\",(function(){return VB}));var y={};r.r(y),r.d(y,\"proccessToFunc\",(function(){return cz})),r.d(y,\"buildTextureData\",(function(){return uz})),r.d(y,\"buildTextureDataWithOneEdgeAttr\",(function(){return sz})),r.d(y,\"buildTextureDataWithTwoEdgeAttr\",(function(){return lz})),r.d(y,\"attributesToTextureData\",(function(){return fz})),r.d(y,\"arrayToTextureData\",(function(){return dz})),r.d(y,\"radialLayout\",(function(){return hz}));var b={};r.r(b),r.d(b,\"gpuDetector\",(function(){return pz}));var x={};r.r(x),r.d(x,\"default\",(function(){return gG})),r.d(x,\"assign\",(function(){return qU})),r.d(x,\"format\",(function(){return hG})),r.d(x,\"parse\",(function(){return pG})),r.d(x,\"defaultI18n\",(function(){return JU})),r.d(x,\"setGlobalDateI18n\",(function(){return tG})),r.d(x,\"setGlobalDateMasks\",(function(){return dG}));r(\"EFp3\"),r(\"9ama\");var w=r(\"rePB\"),O=r(\"wx14\"),E=r(\"4i/N\"),S=r(\"VTBJ\"),j=r(\"q1tI\"),k=r.n(j),_={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z\"}}]},name:\"ellipsis\",theme:\"outlined\"},C=_,M=r(\"6VBw\"),A=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:C}))};A.displayName=\"EllipsisOutlined\";var N=j[\"forwardRef\"](A),T={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"defs\",attrs:{},children:[{tag:\"style\",attrs:{}}]},{tag:\"path\",attrs:{d:\"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z\"}},{tag:\"path\",attrs:{d:\"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z\"}}]},name:\"plus\",theme:\"outlined\"},I=T,P=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:I}))};P.displayName=\"PlusOutlined\";var L=j[\"forwardRef\"](P),D=r(\"TSYQ\"),R=r.n(D),F=r(\"ODXe\"),B=r(\"U8pU\"),z=r(\"Ff2n\"),U=function(){if(\"undefined\"===typeof navigator||\"undefined\"===typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\\d+|meego).+mobile|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null===e||void 0===e?void 0:e.substr(0,4))};function G(e){var t=j[\"useRef\"]();t.current=e;var n=j[\"useCallback\"]((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))}),[]);return n}var V,W=r(\"MNnm\"),H=Object(W[\"a\"])()?j[\"useLayoutEffect\"]:j[\"useEffect\"],Y=H,X=function(e,t){var n=j[\"useRef\"](!0);H((function(){if(!n.current)return e()}),t),H((function(){return n.current=!1,function(){n.current=!0}}),[])},q=r(\"dm2S\");function K(e){return void 0!==e}function Z(e,t){var n=t||{},r=n.defaultValue,o=n.value,i=n.onChange,a=n.postState,c=Object(q[\"a\"])((function(){var t,n=void 0;return K(o)?(n=o,t=V.PROP):K(r)?(n=\"function\"===typeof r?r():r,t=V.PROP):(n=\"function\"===typeof e?e():e,t=V.INNER),[n,t,n]})),u=Object(F[\"a\"])(c,2),s=u[0],l=u[1],f=K(o)?o:s[0],d=a?a(f):f;X((function(){l((function(e){var t=Object(F[\"a\"])(e,1),n=t[0];return[o,V.PROP,n]}))}),[o]);var h=j[\"useRef\"](),p=G((function(e,t){l((function(t){var n=Object(F[\"a\"])(t,3),r=n[0],o=n[1],i=n[2],a=\"function\"===typeof e?e(r):e;if(a===r)return t;var c=o===V.INNER&&h.current!==i?i:r;return[a,V.INNER,c]}),t)})),v=G(i);return Y((function(){var e=Object(F[\"a\"])(s,3),t=e[0],n=e[1],r=e[2];t!==r&&n===V.INNER&&(v(t,r),h.current=r)}),[s]),[d,p]}(function(e){e[e[\"INNER\"]=0]=\"INNER\",e[e[\"PROP\"]=1]=\"PROP\"})(V||(V={}));var $=r(\"8XRh\"),Q=Object(j[\"createContext\"])(null),J=j[\"forwardRef\"]((function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.id,a=e.active,c=e.tabKey,u=e.children;return j[\"createElement\"](\"div\",{id:i&&\"\".concat(i,\"-panel-\").concat(c),role:\"tabpanel\",tabIndex:a?0:-1,\"aria-labelledby\":i&&\"\".concat(i,\"-tab-\").concat(c),\"aria-hidden\":!a,style:o,className:R()(n,a&&\"\".concat(n,\"-active\"),r),ref:t},u)}));var ee=J,te=[\"key\",\"forceRender\",\"style\",\"className\"];function ne(e){var t=e.id,n=e.activeKey,r=e.animated,o=e.tabPosition,i=e.destroyInactiveTabPane,a=j[\"useContext\"](Q),c=a.prefixCls,u=a.tabs,s=r.tabPane,l=\"\".concat(c,\"-tabpane\");return j[\"createElement\"](\"div\",{className:R()(\"\".concat(c,\"-content-holder\"))},j[\"createElement\"](\"div\",{className:R()(\"\".concat(c,\"-content\"),\"\".concat(c,\"-content-\").concat(o),Object(w[\"a\"])({},\"\".concat(c,\"-content-animated\"),s))},u.map((function(e){var o=e.key,a=e.forceRender,c=e.style,u=e.className,f=Object(z[\"a\"])(e,te),d=o===n;return j[\"createElement\"]($[\"b\"],Object(O[\"a\"])({key:o,visible:d,forceRender:a,removeOnLeave:!!i,leavedClassName:\"\".concat(l,\"-hidden\")},r.tabPaneMotion),(function(e,n){var r=e.style,i=e.className;return j[\"createElement\"](ee,Object(O[\"a\"])({},f,{prefixCls:l,id:t,tabKey:o,animated:s,active:d,style:Object(S[\"a\"])(Object(S[\"a\"])({},c),r),className:R()(u,i),ref:n}))}))}))))}var re=r(\"KQm4\"),oe=r(\"wgJM\"),ie=r(\"c+Xe\"),ae=r(\"Zm9Q\"),ce=r(\"Kwbf\"),ue=r(\"m+aA\"),se=r(\"bdgK\"),le=new Map;function fe(e){e.forEach((function(e){var t,n=e.target;null===(t=le.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}var de=new se[\"a\"](fe);function he(e,t){le.has(e)||(le.set(e,new Set),de.observe(e)),le.get(e).add(t)}function pe(e,t){le.has(e)&&(le.get(e).delete(t),le.get(e).size||(de.unobserve(e),le.delete(e)))}var ve=r(\"1OyB\"),ge=r(\"vuIU\"),me=r(\"Ji7U\"),ye=r(\"LK+K\"),be=function(e){Object(me[\"a\"])(n,e);var t=Object(ye[\"a\"])(n);function n(){return Object(ve[\"a\"])(this,n),t.apply(this,arguments)}return Object(ge[\"a\"])(n,[{key:\"render\",value:function(){return this.props.children}}]),n}(j[\"Component\"]),xe=j[\"createContext\"](null);function we(e){var t=e.children,n=e.onBatchResize,r=j[\"useRef\"](0),o=j[\"useRef\"]([]),i=j[\"useContext\"](xe),a=j[\"useCallback\"]((function(e,t,a){r.current+=1;var c=r.current;o.current.push({size:e,element:t,data:a}),Promise.resolve().then((function(){c===r.current&&(null===n||void 0===n||n(o.current),o.current=[])})),null===i||void 0===i||i(e,t,a)}),[n,i]);return j[\"createElement\"](xe.Provider,{value:a},t)}function Oe(e){var t=e.children,n=e.disabled,r=j[\"useRef\"](null),o=j[\"useRef\"](null),i=j[\"useContext\"](xe),a=\"function\"===typeof t,c=a?t(r):t,u=j[\"useRef\"]({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),s=!a&&j[\"isValidElement\"](c)&&Object(ie[\"c\"])(c),l=s?c.ref:null,f=j[\"useMemo\"]((function(){return Object(ie[\"a\"])(l,r)}),[l,r]),d=j[\"useRef\"](e);d.current=e;var h=j[\"useCallback\"]((function(e){var t=d.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),a=o.width,c=o.height,s=e.offsetWidth,l=e.offsetHeight,f=Math.floor(a),h=Math.floor(c);if(u.current.width!==f||u.current.height!==h||u.current.offsetWidth!==s||u.current.offsetHeight!==l){var p={width:f,height:h,offsetWidth:s,offsetHeight:l};u.current=p;var v=s===Math.round(a)?a:s,g=l===Math.round(c)?c:l,m=Object(S[\"a\"])(Object(S[\"a\"])({},p),{},{offsetWidth:v,offsetHeight:g});null===i||void 0===i||i(m,e,r),n&&Promise.resolve().then((function(){n(m,e)}))}}),[]);return j[\"useEffect\"]((function(){var e=Object(ue[\"a\"])(r.current)||Object(ue[\"a\"])(o.current);return e&&!n&&he(e,h),function(){return pe(e,h)}}),[r.current,n]),j[\"createElement\"](be,{ref:o},s?j[\"cloneElement\"](c,{ref:f}):c)}var Ee=\"rc-observer-key\";function Se(e){var t=e.children,n=\"function\"===typeof t?[t]:Object(ae[\"a\"])(t);return n.map((function(t,n){var r=(null===t||void 0===t?void 0:t.key)||\"\".concat(Ee,\"-\").concat(n);return j[\"createElement\"](Oe,Object(O[\"a\"])({},e,{key:r}),t)}))}Se.Collection=we;var je=Se;function ke(e){var t=Object(j[\"useRef\"])(),n=Object(j[\"useRef\"])(!1);function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];n.current||(oe[\"a\"].cancel(t.current),t.current=Object(oe[\"a\"])((function(){e.apply(void 0,o)})))}return Object(j[\"useEffect\"])((function(){return n.current=!1,function(){n.current=!0,oe[\"a\"].cancel(t.current)}}),[]),r}function _e(e){var t=Object(j[\"useRef\"])([]),n=Object(j[\"useState\"])({}),r=Object(F[\"a\"])(n,2),o=r[1],i=Object(j[\"useRef\"])(\"function\"===typeof e?e():e),a=ke((function(){var e=i.current;t.current.forEach((function(t){e=t(e)})),t.current=[],i.current=e,o({})}));function c(e){t.current.push(e),a()}return[i.current,c]}var Ce={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=Ce.F1&&t<=Ce.F12)return!1;switch(t){case Ce.ALT:case Ce.CAPS_LOCK:case Ce.CONTEXT_MENU:case Ce.CTRL:case Ce.DOWN:case Ce.END:case Ce.ESC:case Ce.HOME:case Ce.INSERT:case Ce.LEFT:case Ce.MAC_FF_META:case Ce.META:case Ce.NUMLOCK:case Ce.NUM_CENTER:case Ce.PAGE_DOWN:case Ce.PAGE_UP:case Ce.PAUSE:case Ce.PRINT_SCREEN:case Ce.RIGHT:case Ce.SHIFT:case Ce.UP:case Ce.WIN_KEY:case Ce.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=Ce.ZERO&&e<=Ce.NINE)return!0;if(e>=Ce.NUM_ZERO&&e<=Ce.NUM_MULTIPLY)return!0;if(e>=Ce.A&&e<=Ce.Z)return!0;if(-1!==window.navigator.userAgent.indexOf(\"WebKit\")&&0===e)return!0;switch(e){case Ce.SPACE:case Ce.QUESTION_MARK:case Ce.NUM_PLUS:case Ce.NUM_MINUS:case Ce.NUM_PERIOD:case Ce.NUM_DIVISION:case Ce.SEMICOLON:case Ce.DASH:case Ce.EQUALS:case Ce.COMMA:case Ce.PERIOD:case Ce.SLASH:case Ce.APOSTROPHE:case Ce.SINGLE_QUOTE:case Ce.OPEN_SQUARE_BRACKET:case Ce.BACKSLASH:case Ce.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Me=Ce;function Ae(e,t){var n,r=e.prefixCls,o=e.id,i=e.active,a=e.tab,c=a.key,u=a.label,s=a.disabled,l=a.closeIcon,f=e.closable,d=e.renderWrapper,h=e.removeAriaLabel,p=e.editable,v=e.onClick,g=e.onRemove,m=e.onFocus,y=e.style,b=\"\".concat(r,\"-tab\");j[\"useEffect\"]((function(){return g}),[]);var x=p&&!1!==f&&!s;function O(e){s||v(e)}function E(e){e.preventDefault(),e.stopPropagation(),p.onEdit(\"remove\",{key:c,event:e})}var S=j[\"createElement\"](\"div\",{key:c,ref:t,className:R()(b,(n={},Object(w[\"a\"])(n,\"\".concat(b,\"-with-remove\"),x),Object(w[\"a\"])(n,\"\".concat(b,\"-active\"),i),Object(w[\"a\"])(n,\"\".concat(b,\"-disabled\"),s),n)),style:y,onClick:O},j[\"createElement\"](\"div\",{role:\"tab\",\"aria-selected\":i,id:o&&\"\".concat(o,\"-tab-\").concat(c),className:\"\".concat(b,\"-btn\"),\"aria-controls\":o&&\"\".concat(o,\"-panel-\").concat(c),\"aria-disabled\":s,tabIndex:s?null:0,onClick:function(e){e.stopPropagation(),O(e)},onKeyDown:function(e){[Me.SPACE,Me.ENTER].includes(e.which)&&(e.preventDefault(),O(e))},onFocus:m},u),x&&j[\"createElement\"](\"button\",{type:\"button\",\"aria-label\":h||\"remove\",tabIndex:0,className:\"\".concat(b,\"-remove\"),onClick:function(e){e.stopPropagation(),E(e)}},l||p.removeIcon||\"\\xd7\"));return d?d(S):S}var Ne=j[\"forwardRef\"](Ae),Te={width:0,height:0,left:0,top:0};function Ie(e,t,n){return Object(j[\"useMemo\"])((function(){for(var n,r=new Map,o=t.get(null===(n=e[0])||void 0===n?void 0:n.key)||Te,i=o.left+o.width,a=0;a<e.length;a+=1){var c,u=e[a].key,s=t.get(u);if(!s)s=t.get(null===(c=e[a-1])||void 0===c?void 0:c.key)||Te;var l=r.get(u)||Object(S[\"a\"])({},s);l.right=i-l.left-l.width,r.set(u,l)}return r}),[e.map((function(e){return e.key})).join(\"_\"),t,n])}var Pe={width:0,height:0,left:0,top:0,right:0};function Le(e,t,n,r,o,i,a){var c,u,s,l=a.tabs,f=a.tabPosition,d=a.rtl;return[\"top\",\"bottom\"].includes(f)?(c=\"width\",u=d?\"right\":\"left\",s=Math.abs(n)):(c=\"height\",u=\"top\",s=-n),Object(j[\"useMemo\"])((function(){if(!l.length)return[0,0];for(var n=l.length,r=n,o=0;o<n;o+=1){var i=e.get(l[o].key)||Pe;if(i[u]+i[c]>s+t){r=o-1;break}}for(var a=0,f=n-1;f>=0;f-=1){var d=e.get(l[f].key)||Pe;if(d[u]<s){a=f+1;break}}return[a,r]}),[e,t,r,o,i,s,f,l.map((function(e){return e.key})).join(\"_\"),d])}var De=r(\"Gytx\"),Re=r.n(De),Fe=[\"prefixCls\",\"invalidate\",\"item\",\"renderItem\",\"responsive\",\"responsiveDisabled\",\"registerSize\",\"itemKey\",\"className\",\"style\",\"children\",\"display\",\"order\",\"component\"],Be=void 0;function ze(e,t){var n=e.prefixCls,r=e.invalidate,o=e.item,i=e.renderItem,a=e.responsive,c=e.responsiveDisabled,u=e.registerSize,s=e.itemKey,l=e.className,f=e.style,d=e.children,h=e.display,p=e.order,v=e.component,g=void 0===v?\"div\":v,m=Object(z[\"a\"])(e,Fe),y=a&&!h;function b(e){u(s,e)}j[\"useEffect\"]((function(){return function(){b(null)}}),[]);var x,w=i&&o!==Be?i(o):d;r||(x={opacity:y?0:1,height:y?0:Be,overflowY:y?\"hidden\":Be,order:a?p:Be,pointerEvents:y?\"none\":Be,position:y?\"absolute\":Be});var E={};y&&(E[\"aria-hidden\"]=!0);var k=j[\"createElement\"](g,Object(O[\"a\"])({className:R()(!r&&n,l),style:Object(S[\"a\"])(Object(S[\"a\"])({},x),f)},E,m,{ref:t}),w);return a&&(k=j[\"createElement\"](je,{onResize:function(e){var t=e.offsetWidth;b(t)},disabled:c},k)),k}var Ue=j[\"forwardRef\"](ze);Ue.displayName=\"Item\";var Ge=Ue;function Ve(){var e=Object(q[\"a\"])({}),t=Object(F[\"a\"])(e,2),n=t[1],r=Object(j[\"useRef\"])([]),o=0,i=0;function a(e){var t=o;o+=1,r.current.length<t+1&&(r.current[t]=e);var a=r.current[t];function c(e){r.current[t]=\"function\"===typeof e?e(r.current[t]):e,oe[\"a\"].cancel(i),i=Object(oe[\"a\"])((function(){n({},!0)}))}return[a,c]}return a}var We=[\"component\"],He=[\"className\"],Ye=[\"className\"],Xe=function(e,t){var n=j[\"useContext\"]($e);if(!n){var r=e.component,o=void 0===r?\"div\":r,i=Object(z[\"a\"])(e,We);return j[\"createElement\"](o,Object(O[\"a\"])({},i,{ref:t}))}var a=n.className,c=Object(z[\"a\"])(n,He),u=e.className,s=Object(z[\"a\"])(e,Ye);return j[\"createElement\"]($e.Provider,{value:null},j[\"createElement\"](Ge,Object(O[\"a\"])({ref:t,className:R()(a,u)},c,s)))},qe=j[\"forwardRef\"](Xe);qe.displayName=\"RawItem\";var Ke=qe,Ze=[\"prefixCls\",\"data\",\"renderItem\",\"renderRawItem\",\"itemKey\",\"itemWidth\",\"ssr\",\"style\",\"className\",\"maxCount\",\"renderRest\",\"renderRawRest\",\"suffix\",\"component\",\"itemComponent\",\"onVisibleChange\"],$e=j[\"createContext\"](null),Qe=\"responsive\",Je=\"invalidate\";function et(e){return\"+ \".concat(e.length,\" ...\")}function tt(e,t){var n=e.prefixCls,r=void 0===n?\"rc-overflow\":n,o=e.data,i=void 0===o?[]:o,a=e.renderItem,c=e.renderRawItem,u=e.itemKey,s=e.itemWidth,l=void 0===s?10:s,f=e.ssr,d=e.style,h=e.className,p=e.maxCount,v=e.renderRest,g=e.renderRawRest,m=e.suffix,y=e.component,b=void 0===y?\"div\":y,x=e.itemComponent,w=e.onVisibleChange,E=Object(z[\"a\"])(e,Ze),k=Ve(),_=\"full\"===f,C=k(null),M=Object(F[\"a\"])(C,2),A=M[0],N=M[1],T=A||0,I=k(new Map),P=Object(F[\"a\"])(I,2),L=P[0],D=P[1],B=k(0),U=Object(F[\"a\"])(B,2),G=U[0],V=U[1],W=k(0),H=Object(F[\"a\"])(W,2),X=H[0],q=H[1],K=k(0),Z=Object(F[\"a\"])(K,2),$=Z[0],Q=Z[1],J=Object(j[\"useState\"])(null),ee=Object(F[\"a\"])(J,2),te=ee[0],ne=ee[1],re=Object(j[\"useState\"])(null),oe=Object(F[\"a\"])(re,2),ie=oe[0],ae=oe[1],ce=j[\"useMemo\"]((function(){return null===ie&&_?Number.MAX_SAFE_INTEGER:ie||0}),[ie,A]),ue=Object(j[\"useState\"])(!1),se=Object(F[\"a\"])(ue,2),le=se[0],fe=se[1],de=\"\".concat(r,\"-item\"),he=Math.max(G,X),pe=p===Qe,ve=i.length&&pe,ge=p===Je,me=ve||\"number\"===typeof p&&i.length>p,ye=Object(j[\"useMemo\"])((function(){var e=i;return ve?e=null===A&&_?i:i.slice(0,Math.min(i.length,T/l)):\"number\"===typeof p&&(e=i.slice(0,p)),e}),[i,l,A,p,ve]),be=Object(j[\"useMemo\"])((function(){return ve?i.slice(ce+1):i.slice(ye.length)}),[i,ye,ve,ce]),xe=Object(j[\"useCallback\"])((function(e,t){var n;return\"function\"===typeof u?u(e):null!==(n=u&&(null===e||void 0===e?void 0:e[u]))&&void 0!==n?n:t}),[u]),we=Object(j[\"useCallback\"])(a||function(e){return e},[a]);function Oe(e,t,n){(ie!==e||void 0!==t&&t!==te)&&(ae(e),n||(fe(e<i.length-1),null===w||void 0===w||w(e)),void 0!==t&&ne(t))}function Ee(e,t){N(t.clientWidth)}function Se(e,t){D((function(n){var r=new Map(n);return null===t?r.delete(e):r.set(e,t),r}))}function ke(e,t){q(t),V(X)}function _e(e,t){Q(t)}function Ce(e){return L.get(xe(ye[e],e))}Y((function(){if(T&&he&&ye){var e=$,t=ye.length,n=t-1;if(!t)return void Oe(0,null);for(var r=0;r<t;r+=1){var o=Ce(r);if(_&&(o=o||0),void 0===o){Oe(r-1,void 0,!0);break}if(e+=o,0===n&&e<=T||r===n-1&&e+Ce(n)<=T){Oe(n,null);break}if(e+he>T){Oe(r-1,e-o-$+X);break}}m&&Ce(0)+$>T&&ne(null)}}),[T,L,X,$,xe,ye]);var Me=le&&!!be.length,Ae={};null!==te&&ve&&(Ae={position:\"absolute\",left:te,top:0});var Ne,Te={prefixCls:de,responsive:ve,component:x,invalidate:ge},Ie=c?function(e,t){var n=xe(e,t);return j[\"createElement\"]($e.Provider,{key:n,value:Object(S[\"a\"])(Object(S[\"a\"])({},Te),{},{order:t,item:e,itemKey:n,registerSize:Se,display:t<=ce})},c(e,t))}:function(e,t){var n=xe(e,t);return j[\"createElement\"](Ge,Object(O[\"a\"])({},Te,{order:t,key:n,item:e,renderItem:we,itemKey:n,registerSize:Se,display:t<=ce}))},Pe={order:Me?ce:Number.MAX_SAFE_INTEGER,className:\"\".concat(de,\"-rest\"),registerSize:ke,display:Me};if(g)g&&(Ne=j[\"createElement\"]($e.Provider,{value:Object(S[\"a\"])(Object(S[\"a\"])({},Te),Pe)},g(be)));else{var Le=v||et;Ne=j[\"createElement\"](Ge,Object(O[\"a\"])({},Te,Pe),\"function\"===typeof Le?Le(be):Le)}var De=j[\"createElement\"](b,Object(O[\"a\"])({className:R()(!ge&&r,h),style:d,ref:t},E),ye.map(Ie),me?Ne:null,m&&j[\"createElement\"](Ge,Object(O[\"a\"])({},Te,{responsive:pe,responsiveDisabled:!ve,order:ce,className:\"\".concat(de,\"-suffix\"),registerSize:_e,display:!0,style:Ae}),m));return pe&&(De=j[\"createElement\"](je,{onResize:Ee,disabled:!ve},De)),De}var nt=j[\"forwardRef\"](tt);nt.displayName=\"Overflow\",nt.Item=Ke,nt.RESPONSIVE=Qe,nt.INVALIDATE=Je;var rt=nt,ot=rt;function it(e,t){var n=Object(S[\"a\"])({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}var at=r(\"YrtM\"),ct=[\"children\",\"locked\"],ut=j[\"createContext\"](null);function st(e,t){var n=Object(S[\"a\"])({},e);return Object.keys(t).forEach((function(e){var r=t[e];void 0!==r&&(n[e]=r)})),n}function lt(e){var t=e.children,n=e.locked,r=Object(z[\"a\"])(e,ct),o=j[\"useContext\"](ut),i=Object(at[\"a\"])((function(){return st(o,r)}),[o,r],(function(e,t){return!n&&(e[0]!==t[0]||!Re()(e[1],t[1]))}));return j[\"createElement\"](ut.Provider,{value:i},t)}function ft(e,t,n,r){var o=j[\"useContext\"](ut),i=o.activeKey,a=o.onActive,c=o.onInactive,u={active:i===e};return t||(u.onMouseEnter=function(t){null===n||void 0===n||n({key:e,domEvent:t}),a(e)},u.onMouseLeave=function(t){null===r||void 0===r||r({key:e,domEvent:t}),c(e)}),u}var dt=[\"item\"];function ht(e){var t=e.item,n=Object(z[\"a\"])(e,dt);return Object.defineProperty(n,\"item\",{get:function(){return Object(ce[\"a\"])(!1,\"`info.item` is deprecated since we will move to function component that not provides React Node instance in future.\"),t}}),n}function pt(e){var t,n=e.icon,r=e.props,o=e.children;return t=\"function\"===typeof n?j[\"createElement\"](n,Object(S[\"a\"])({},r)):n,t||o||null}function vt(e){var t=j[\"useContext\"](ut),n=t.mode,r=t.rtl,o=t.inlineIndent;if(\"inline\"!==n)return null;var i=e;return r?{paddingRight:i*o}:{paddingLeft:i*o}}var gt=[],mt=j[\"createContext\"](null);function yt(){return j[\"useContext\"](mt)}var bt=j[\"createContext\"](gt);function xt(e){var t=j[\"useContext\"](bt);return j[\"useMemo\"]((function(){return void 0!==e?[].concat(Object(re[\"a\"])(t),[e]):t}),[t,e])}var wt=j[\"createContext\"](null),Ot=j[\"createContext\"](null);function Et(e,t){return void 0===e?null:\"\".concat(e,\"-\").concat(t)}function St(e){var t=j[\"useContext\"](Ot);return Et(t,e)}var jt=j[\"createContext\"]({}),kt=jt,_t=[\"title\",\"attribute\",\"elementRef\"],Ct=[\"style\",\"className\",\"eventKey\",\"warnKey\",\"disabled\",\"itemIcon\",\"children\",\"role\",\"onMouseEnter\",\"onMouseLeave\",\"onClick\",\"onKeyDown\",\"onFocus\"],Mt=[\"active\"],At=function(e){Object(me[\"a\"])(n,e);var t=Object(ye[\"a\"])(n);function n(){return Object(ve[\"a\"])(this,n),t.apply(this,arguments)}return Object(ge[\"a\"])(n,[{key:\"render\",value:function(){var e=this.props,t=e.title,n=e.attribute,r=e.elementRef,o=Object(z[\"a\"])(e,_t),i=it(o,[\"eventKey\"]);return Object(ce[\"a\"])(!n,\"`attribute` of Menu.Item is deprecated. Please pass attribute directly.\"),j[\"createElement\"](ot.Item,Object(O[\"a\"])({},n,{title:\"string\"===typeof t?t:void 0},i,{ref:r}))}}]),n}(j[\"Component\"]),Nt=function(e){var t,n=e.style,r=e.className,o=e.eventKey,i=(e.warnKey,e.disabled),a=e.itemIcon,c=e.children,u=e.role,s=e.onMouseEnter,l=e.onMouseLeave,f=e.onClick,d=e.onKeyDown,h=e.onFocus,p=Object(z[\"a\"])(e,Ct),v=St(o),g=j[\"useContext\"](ut),m=g.prefixCls,y=g.onItemClick,b=g.disabled,x=g.overflowDisabled,E=g.itemIcon,k=g.selectedKeys,_=g.onActive,C=j[\"useContext\"](kt),M=C._internalRenderMenuItem,A=\"\".concat(m,\"-item\"),N=j[\"useRef\"](),T=j[\"useRef\"](),I=b||i,P=xt(o);var L=function(e){return{key:o,keyPath:Object(re[\"a\"])(P).reverse(),item:N.current,domEvent:e}},D=a||E,F=ft(o,I,s,l),B=F.active,U=Object(z[\"a\"])(F,Mt),G=k.includes(o),V=vt(P.length),W=function(e){if(!I){var t=L(e);null===f||void 0===f||f(ht(t)),y(t)}},H=function(e){if(null===d||void 0===d||d(e),e.which===Me.ENTER){var t=L(e);null===f||void 0===f||f(ht(t)),y(t)}},Y=function(e){_(o),null===h||void 0===h||h(e)},X={};\"option\"===e.role&&(X[\"aria-selected\"]=G);var q=j[\"createElement\"](At,Object(O[\"a\"])({ref:N,elementRef:T,role:null===u?\"none\":u||\"menuitem\",tabIndex:i?null:-1,\"data-menu-id\":x&&v?null:v},p,U,X,{component:\"li\",\"aria-disabled\":i,style:Object(S[\"a\"])(Object(S[\"a\"])({},V),n),className:R()(A,(t={},Object(w[\"a\"])(t,\"\".concat(A,\"-active\"),B),Object(w[\"a\"])(t,\"\".concat(A,\"-selected\"),G),Object(w[\"a\"])(t,\"\".concat(A,\"-disabled\"),I),t),r),onClick:W,onKeyDown:H,onFocus:Y}),c,j[\"createElement\"](pt,{props:Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{isSelected:G}),icon:D}));return M&&(q=M(q,e,{selected:G})),q};function Tt(e){var t=e.eventKey,n=yt(),r=xt(t);return j[\"useEffect\"]((function(){if(n)return n.registerPath(t,r),function(){n.unregisterPath(t,r)}}),[r]),n?null:j[\"createElement\"](Nt,e)}var It=Tt,Pt=[\"label\",\"children\",\"key\",\"type\"];function Lt(e,t){return Object(ae[\"a\"])(e).map((function(e,n){if(j[\"isValidElement\"](e)){var r,o,i=e.key,a=null!==(r=null===(o=e.props)||void 0===o?void 0:o.eventKey)&&void 0!==r?r:i,c=null===a||void 0===a;c&&(a=\"tmp_key-\".concat([].concat(Object(re[\"a\"])(t),[n]).join(\"-\")));var u={key:a,eventKey:a};return j[\"cloneElement\"](e,u)}return e}))}function Dt(e){return(e||[]).map((function(e,t){if(e&&\"object\"===Object(B[\"a\"])(e)){var n=e,r=n.label,o=n.children,i=n.key,a=n.type,c=Object(z[\"a\"])(n,Pt),u=null!==i&&void 0!==i?i:\"tmp-\".concat(t);return o||\"group\"===a?\"group\"===a?j[\"createElement\"](qo,Object(O[\"a\"])({key:u},c,{title:r}),Dt(o)):j[\"createElement\"](po,Object(O[\"a\"])({key:u},c,{title:r}),Dt(o)):\"divider\"===a?j[\"createElement\"](Ko,Object(O[\"a\"])({key:u},c)):j[\"createElement\"](It,Object(O[\"a\"])({key:u},c),r)}return null})).filter((function(e){return e}))}function Rt(e,t,n){var r=e;return t&&(r=Dt(t)),Lt(r,n)}function Ft(e){var t=j[\"useRef\"](e);t.current=e;var n=j[\"useCallback\"]((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))}),[]);return e?n:void 0}var Bt=[\"className\",\"children\"],zt=function(e,t){var n=e.className,r=e.children,o=Object(z[\"a\"])(e,Bt),i=j[\"useContext\"](ut),a=i.prefixCls,c=i.mode,u=i.rtl;return j[\"createElement\"](\"ul\",Object(O[\"a\"])({className:R()(a,u&&\"\".concat(a,\"-rtl\"),\"\".concat(a,\"-sub\"),\"\".concat(a,\"-\").concat(\"inline\"===c?\"inline\":\"vertical\"),n)},o,{\"data-menu-list\":!0,ref:t}),r)},Ut=j[\"forwardRef\"](zt);Ut.displayName=\"SubMenuList\";var Gt=Ut,Vt=r(\"JX7q\"),Wt=r(\"i8i4\"),Ht=r.n(Wt),Yt=r(\"l4aY\");function Xt(e,t,n,r){var o=Ht.a.unstable_batchedUpdates?function(e){Ht.a.unstable_batchedUpdates(n,e)}:n;return e.addEventListener&&e.addEventListener(t,o,r),{remove:function(){e.removeEventListener&&e.removeEventListener(t,o,r)}}}var qt=Object(j[\"forwardRef\"])((function(e,t){var n=e.didUpdate,r=e.getContainer,o=e.children,i=Object(j[\"useRef\"])(),a=Object(j[\"useRef\"])();Object(j[\"useImperativeHandle\"])(t,(function(){return{}}));var c=Object(j[\"useRef\"])(!1);return!c.current&&Object(W[\"a\"])()&&(a.current=r(),i.current=a.current.parentNode,c.current=!0),Object(j[\"useEffect\"])((function(){null===n||void 0===n||n(e)})),Object(j[\"useEffect\"])((function(){return null===a.current.parentNode&&null!==i.current&&i.current.appendChild(a.current),function(){var e,t;null===(e=a.current)||void 0===e||null===(t=e.parentNode)||void 0===t||t.removeChild(a.current)}}),[]),a.current?Ht.a.createPortal(o,a.current):null})),Kt=qt;function Zt(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function $t(e,t,n){var r=e[t]||{};return Object(S[\"a\"])(Object(S[\"a\"])({},r),n)}function Qt(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a<i.length;a+=1){var c=i[a];if(Zt(e[c].points,o,r))return\"\".concat(t,\"-placement-\").concat(c)}return\"\"}function Jt(e){var t=e.prefixCls,n=e.motion,r=e.animation,o=e.transitionName;return n||(r?{motionName:\"\".concat(t,\"-\").concat(r)}:o?{motionName:o}:null)}function en(e){var t=e.prefixCls,n=e.visible,r=e.zIndex,o=e.mask,i=e.maskMotion,a=e.maskAnimation,c=e.maskTransitionName;if(!o)return null;var u={};return(i||c||a)&&(u=Object(S[\"a\"])({motionAppear:!0},Jt({motion:i,prefixCls:t,transitionName:c,animation:a}))),j[\"createElement\"]($[\"b\"],Object(O[\"a\"])({},u,{visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return j[\"createElement\"](\"div\",{style:{zIndex:r},className:R()(\"\".concat(t,\"-mask\"),n)})}))}var tn,nn=function(e){if(!e)return!1;if(e instanceof HTMLElement&&e.offsetParent)return!0;if(e instanceof SVGGraphicsElement&&e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e instanceof HTMLElement&&e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}return!1};function rn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function on(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rn(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function an(e){return an=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},an(e)}function cn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var un={Webkit:\"-webkit-\",Moz:\"-moz-\",ms:\"-ms-\",O:\"-o-\"};function sn(){if(void 0!==tn)return tn;tn=\"\";var e=document.createElement(\"p\").style,t=\"Transform\";for(var n in un)n+t in e&&(tn=n);return tn}function ln(){return sn()?\"\".concat(sn(),\"TransitionProperty\"):\"transitionProperty\"}function fn(){return sn()?\"\".concat(sn(),\"Transform\"):\"transform\"}function dn(e,t){var n=ln();n&&(e.style[n]=t,\"transitionProperty\"!==n&&(e.style.transitionProperty=t))}function hn(e,t){var n=fn();n&&(e.style[n]=t,\"transform\"!==n&&(e.style.transform=t))}function pn(e){return e.style.transitionProperty||e.style[ln()]}function vn(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue(\"transform\")||t.getPropertyValue(fn());if(n&&\"none\"!==n){var r=n.replace(/[^0-9\\-.,]/g,\"\").split(\",\");return{x:parseFloat(r[12]||r[4],0),y:parseFloat(r[13]||r[5],0)}}return{x:0,y:0}}var gn=/matrix\\((.*)\\)/,mn=/matrix3d\\((.*)\\)/;function yn(e,t){var n=window.getComputedStyle(e,null),r=n.getPropertyValue(\"transform\")||n.getPropertyValue(fn());if(r&&\"none\"!==r){var o,i=r.match(gn);if(i)i=i[1],o=i.split(\",\").map((function(e){return parseFloat(e,10)})),o[4]=t.x,o[5]=t.y,hn(e,\"matrix(\".concat(o.join(\",\"),\")\"));else{var a=r.match(mn)[1];o=a.split(\",\").map((function(e){return parseFloat(e,10)})),o[12]=t.x,o[13]=t.y,hn(e,\"matrix3d(\".concat(o.join(\",\"),\")\"))}}else hn(e,\"translateX(\".concat(t.x,\"px) translateY(\").concat(t.y,\"px) translateZ(0)\"))}var bn,xn=/[\\-+]?(?:\\d*\\.|)\\d+(?:[eE][\\-+]?\\d+|)/.source;function wn(e){var t=e.style.display;e.style.display=\"none\",e.offsetHeight,e.style.display=t}function On(e,t,n){var r=n;if(\"object\"!==an(t))return\"undefined\"!==typeof r?(\"number\"===typeof r&&(r=\"\".concat(r,\"px\")),void(e.style[t]=r)):bn(e,t);for(var o in t)t.hasOwnProperty(o)&&On(e,o,t[o])}function En(e){var t,n,r,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return t=e.getBoundingClientRect(),n=Math.floor(t.left),r=Math.floor(t.top),n-=a.clientLeft||i.clientLeft||0,r-=a.clientTop||i.clientTop||0,{left:n,top:r}}function Sn(e,t){var n=e[\"page\".concat(t?\"Y\":\"X\",\"Offset\")],r=\"scroll\".concat(t?\"Top\":\"Left\");if(\"number\"!==typeof n){var o=e.document;n=o.documentElement[r],\"number\"!==typeof n&&(n=o.body[r])}return n}function jn(e){return Sn(e)}function kn(e){return Sn(e,!0)}function _n(e){var t=En(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=jn(r),t.top+=kn(r),t}function Cn(e){return null!==e&&void 0!==e&&e==e.window}function Mn(e){return Cn(e)?e.document:9===e.nodeType?e:e.ownerDocument}function An(e,t,n){var r=n,o=\"\",i=Mn(e);return r=r||i.defaultView.getComputedStyle(e,null),r&&(o=r.getPropertyValue(t)||r[t]),o}var Nn=new RegExp(\"^(\".concat(xn,\")(?!px)[a-z%]+$\"),\"i\"),Tn=/^(top|right|bottom|left)$/,In=\"currentStyle\",Pn=\"runtimeStyle\",Ln=\"left\",Dn=\"px\";function Rn(e,t){var n=e[In]&&e[In][t];if(Nn.test(n)&&!Tn.test(t)){var r=e.style,o=r[Ln],i=e[Pn][Ln];e[Pn][Ln]=e[In][Ln],r[Ln]=\"fontSize\"===t?\"1em\":n||0,n=r.pixelLeft+Dn,r[Ln]=o,e[Pn][Ln]=i}return\"\"===n?\"auto\":n}function Fn(e,t){return\"left\"===e?t.useCssRight?\"right\":e:t.useCssBottom?\"bottom\":e}function Bn(e){return\"left\"===e?\"right\":\"right\"===e?\"left\":\"top\"===e?\"bottom\":\"bottom\"===e?\"top\":void 0}function zn(e,t,n){\"static\"===On(e,\"position\")&&(e.style.position=\"relative\");var r=-999,o=-999,i=Fn(\"left\",n),a=Fn(\"top\",n),c=Bn(i),u=Bn(a);\"left\"!==i&&(r=999),\"top\"!==a&&(o=999);var s=\"\",l=_n(e);(\"left\"in t||\"top\"in t)&&(s=pn(e)||\"\",dn(e,\"none\")),\"left\"in t&&(e.style[c]=\"\",e.style[i]=\"\".concat(r,\"px\")),\"top\"in t&&(e.style[u]=\"\",e.style[a]=\"\".concat(o,\"px\")),wn(e);var f=_n(e),d={};for(var h in t)if(t.hasOwnProperty(h)){var p=Fn(h,n),v=\"left\"===h?r:o,g=l[h]-f[h];d[p]=p===h?v+g:v-g}On(e,d),wn(e),(\"left\"in t||\"top\"in t)&&dn(e,s);var m={};for(var y in t)if(t.hasOwnProperty(y)){var b=Fn(y,n),x=t[y]-l[y];m[b]=y===b?d[b]+x:d[b]-x}On(e,m)}function Un(e,t){var n=_n(e),r=vn(e),o={x:r.x,y:r.y};\"left\"in t&&(o.x=r.x+t.left-n.left),\"top\"in t&&(o.y=r.y+t.top-n.top),yn(e,o)}function Gn(e,t,n){if(n.ignoreShake){var r=_n(e),o=r.left.toFixed(0),i=r.top.toFixed(0),a=t.left.toFixed(0),c=t.top.toFixed(0);if(o===a&&i===c)return}n.useCssRight||n.useCssBottom?zn(e,t,n):n.useCssTransform&&fn()in document.body.style?Un(e,t):zn(e,t,n)}function Vn(e,t){for(var n=0;n<e.length;n++)t(e[n])}function Wn(e){return\"border-box\"===bn(e,\"boxSizing\")}\"undefined\"!==typeof window&&(bn=window.getComputedStyle?An:Rn);var Hn=[\"margin\",\"border\",\"padding\"],Yn=-1,Xn=2,qn=1,Kn=0;function Zn(e,t,n){var r,o={},i=e.style;for(r in t)t.hasOwnProperty(r)&&(o[r]=i[r],i[r]=t[r]);for(r in n.call(e),t)t.hasOwnProperty(r)&&(i[r]=o[r])}function $n(e,t,n){var r,o,i,a=0;for(o=0;o<t.length;o++)if(r=t[o],r)for(i=0;i<n.length;i++){var c=void 0;c=\"border\"===r?\"\".concat(r).concat(n[i],\"Width\"):r+n[i],a+=parseFloat(bn(e,c))||0}return a}var Qn={getParent:function(e){var t=e;do{t=11===t.nodeType&&t.host?t.host:t.parentNode}while(t&&1!==t.nodeType&&9!==t.nodeType);return t}};function Jn(e,t,n){var r=n;if(Cn(e))return\"width\"===t?Qn.viewportWidth(e):Qn.viewportHeight(e);if(9===e.nodeType)return\"width\"===t?Qn.docWidth(e):Qn.docHeight(e);var o=\"width\"===t?[\"Left\",\"Right\"]:[\"Top\",\"Bottom\"],i=\"width\"===t?Math.floor(e.getBoundingClientRect().width):Math.floor(e.getBoundingClientRect().height),a=Wn(e),c=0;(null===i||void 0===i||i<=0)&&(i=void 0,c=bn(e,t),(null===c||void 0===c||Number(c)<0)&&(c=e.style[t]||0),c=Math.floor(parseFloat(c))||0),void 0===r&&(r=a?qn:Yn);var u=void 0!==i||a,s=i||c;return r===Yn?u?s-$n(e,[\"border\",\"padding\"],o):c:u?r===qn?s:s+(r===Xn?-$n(e,[\"border\"],o):$n(e,[\"margin\"],o)):c+$n(e,Hn.slice(r),o)}Vn([\"Width\",\"Height\"],(function(e){Qn[\"doc\".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement[\"scroll\".concat(e)],n.body[\"scroll\".concat(e)],Qn[\"viewport\".concat(e)](n))},Qn[\"viewport\".concat(e)]=function(t){var n=\"client\".concat(e),r=t.document,o=r.body,i=r.documentElement,a=i[n];return\"CSS1Compat\"===r.compatMode&&a||o&&o[n]||a}}));var er={position:\"absolute\",visibility:\"hidden\",display:\"block\"};function tr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t[0];return 0!==o.offsetWidth?r=Jn.apply(void 0,t):Zn(o,er,(function(){r=Jn.apply(void 0,t)})),r}function nr(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}Vn([\"width\",\"height\"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);Qn[\"outer\".concat(t)]=function(t,n){return t&&tr(t,e,n?Kn:qn)};var n=\"width\"===e?[\"Left\",\"Right\"]:[\"Top\",\"Bottom\"];Qn[e]=function(t,r){var o=r;if(void 0===o)return t&&tr(t,e,Yn);if(t){var i=Wn(t);return i&&(o+=$n(t,[\"padding\",\"border\"],n)),On(t,e,o)}}}));var rr={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:Mn,offset:function(e,t,n){if(\"undefined\"===typeof t)return _n(e);Gn(e,t,n||{})},isWindow:Cn,each:Vn,css:On,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);var r=e.overflow;if(r)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:nr,getWindowScrollLeft:function(e){return jn(e)},getWindowScrollTop:function(e){return kn(e)},merge:function(){for(var e={},t=0;t<arguments.length;t++)rr.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0};nr(rr,Qn);var or=rr.getParent;function ir(e){if(rr.isWindow(e)||9===e.nodeType)return null;var t,n=rr.getDocument(e),r=n.body,o=rr.css(e,\"position\"),i=\"fixed\"===o||\"absolute\"===o;if(!i)return\"html\"===e.nodeName.toLowerCase()?null:or(e);for(t=or(e);t&&t!==r&&9!==t.nodeType;t=or(t))if(o=rr.css(t,\"position\"),\"static\"!==o)return t;return null}var ar=rr.getParent;function cr(e){if(rr.isWindow(e)||9===e.nodeType)return!1;var t=rr.getDocument(e),n=t.body,r=null;for(r=ar(e);r&&r!==n&&r!==t;r=ar(r)){var o=rr.css(r,\"position\");if(\"fixed\"===o)return!0}return!1}function ur(e,t){var n={left:0,right:1/0,top:0,bottom:1/0},r=ir(e),o=rr.getDocument(e),i=o.defaultView||o.parentWindow,a=o.body,c=o.documentElement;while(r){if(-1!==navigator.userAgent.indexOf(\"MSIE\")&&0===r.clientWidth||r===a||r===c||\"visible\"===rr.css(r,\"overflow\")){if(r===a||r===c)break}else{var u=rr.offset(r);u.left+=r.clientLeft,u.top+=r.clientTop,n.top=Math.max(n.top,u.top),n.right=Math.min(n.right,u.left+r.clientWidth),n.bottom=Math.min(n.bottom,u.top+r.clientHeight),n.left=Math.max(n.left,u.left)}r=ir(r)}var s=null;if(!rr.isWindow(e)&&9!==e.nodeType){s=e.style.position;var l=rr.css(e,\"position\");\"absolute\"===l&&(e.style.position=\"fixed\")}var f=rr.getWindowScrollLeft(i),d=rr.getWindowScrollTop(i),h=rr.viewportWidth(i),p=rr.viewportHeight(i),v=c.scrollWidth,g=c.scrollHeight,m=window.getComputedStyle(a);if(\"hidden\"===m.overflowX&&(v=i.innerWidth),\"hidden\"===m.overflowY&&(g=i.innerHeight),e.style&&(e.style.position=s),t||cr(e))n.left=Math.max(n.left,f),n.top=Math.max(n.top,d),n.right=Math.min(n.right,f+h),n.bottom=Math.min(n.bottom,d+p);else{var y=Math.max(v,f+h);n.right=Math.min(n.right,y);var b=Math.max(g,d+p);n.bottom=Math.min(n.bottom,b)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function sr(e,t,n,r){var o=rr.clone(e),i={width:t.width,height:t.height};return r.adjustX&&o.left<n.left&&(o.left=n.left),r.resizeWidth&&o.left>=n.left&&o.left+i.width>n.right&&(i.width-=o.left+i.width-n.right),r.adjustX&&o.left+i.width>n.right&&(o.left=Math.max(n.right-i.width,n.left)),r.adjustY&&o.top<n.top&&(o.top=n.top),r.resizeHeight&&o.top>=n.top&&o.top+i.height>n.bottom&&(i.height-=o.top+i.height-n.bottom),r.adjustY&&o.top+i.height>n.bottom&&(o.top=Math.max(n.bottom-i.height,n.top)),rr.mix(o,i)}function lr(e){var t,n,r;if(rr.isWindow(e)||9===e.nodeType){var o=rr.getWindow(e);t={left:rr.getWindowScrollLeft(o),top:rr.getWindowScrollTop(o)},n=rr.viewportWidth(o),r=rr.viewportHeight(o)}else t=rr.offset(e),n=rr.outerWidth(e),r=rr.outerHeight(e);return t.width=n,t.height=r,t}function fr(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,i=e.height,a=e.left,c=e.top;return\"c\"===n?c+=i/2:\"b\"===n&&(c+=i),\"c\"===r?a+=o/2:\"r\"===r&&(a+=o),{left:a,top:c}}function dr(e,t,n,r,o){var i=fr(t,n[1]),a=fr(e,n[0]),c=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-c[0]+r[0]-o[0]),top:Math.round(e.top-c[1]+r[1]-o[1])}}function hr(e,t,n){return e.left<n.left||e.left+t.width>n.right}function pr(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function vr(e,t,n){return e.left>n.right||e.left+t.width<n.left}function gr(e,t,n){return e.top>n.bottom||e.top+t.height<n.top}function mr(e,t,n){var r=[];return rr.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function yr(e,t){return e[t]=-e[t],e}function br(e,t){var n;return n=/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10),n||0}function xr(e,t){e[0]=br(e[0],t.width),e[1]=br(e[1],t.height)}function wr(e,t,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],c=n.overflow,u=n.source||e;i=[].concat(i),a=[].concat(a),c=c||{};var s={},l=0,f=!(!c||!c.alwaysByViewport),d=ur(u,f),h=lr(u);xr(i,h),xr(a,t);var p=dr(h,t,o,i,a),v=rr.merge(h,p);if(d&&(c.adjustX||c.adjustY)&&r){if(c.adjustX&&hr(p,h,d)){var g=mr(o,/[lr]/gi,{l:\"r\",r:\"l\"}),m=yr(i,0),y=yr(a,0),b=dr(h,t,g,m,y);vr(b,h,d)||(l=1,o=g,i=m,a=y)}if(c.adjustY&&pr(p,h,d)){var x=mr(o,/[tb]/gi,{t:\"b\",b:\"t\"}),w=yr(i,1),O=yr(a,1),E=dr(h,t,x,w,O);gr(E,h,d)||(l=1,o=x,i=w,a=O)}l&&(p=dr(h,t,o,i,a),rr.mix(v,p));var S=hr(p,h,d),j=pr(p,h,d);if(S||j){var k=o;S&&(k=mr(o,/[lr]/gi,{l:\"r\",r:\"l\"})),j&&(k=mr(o,/[tb]/gi,{t:\"b\",b:\"t\"})),o=k,i=n.offset||[0,0],a=n.targetOffset||[0,0]}s.adjustX=c.adjustX&&S,s.adjustY=c.adjustY&&j,(s.adjustX||s.adjustY)&&(v=sr(p,h,d,s))}return v.width!==h.width&&rr.css(u,\"width\",rr.width(u)+v.width-h.width),v.height!==h.height&&rr.css(u,\"height\",rr.height(u)+v.height-h.height),rr.offset(u,{left:v.left,top:v.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:o,offset:i,targetOffset:a,overflow:s}}function Or(e,t){var n=ur(e,t),r=lr(e);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}function Er(e,t,n){var r=n.target||t,o=lr(r),i=!Or(r,n.overflow&&n.overflow.alwaysByViewport);return wr(e,o,n,i)}function Sr(e,t,n){var r,o,i=rr.getDocument(e),a=i.defaultView||i.parentWindow,c=rr.getWindowScrollLeft(a),u=rr.getWindowScrollTop(a),s=rr.viewportWidth(a),l=rr.viewportHeight(a);r=\"pageX\"in t?t.pageX:c+t.clientX,o=\"pageY\"in t?t.pageY:u+t.clientY;var f={left:r,top:o,width:0,height:0},d=r>=0&&r<=c+s&&o>=0&&o<=u+l,h=[n.points[0],\"cc\"];return wr(e,f,on(on({},n),{},{points:h}),d)}Er.__getOffsetParent=ir,Er.__getVisibleRectForElement=ur;var jr=r(\"Y+p1\"),kr=r.n(jr);function _r(e,t){return e===t||!(!e||!t)&&(\"pageX\"in t&&\"pageY\"in t?e.pageX===t.pageX&&e.pageY===t.pageY:\"clientX\"in t&&\"clientY\"in t&&(e.clientX===t.clientX&&e.clientY===t.clientY))}function Cr(e,t){e!==document.activeElement&&Object(Yt[\"a\"])(t,e)&&\"function\"===typeof e.focus&&e.focus()}function Mr(e,t){var n=null,r=null;function o(e){var o=Object(F[\"a\"])(e,1),i=o[0].target;if(document.documentElement.contains(i)){var a=i.getBoundingClientRect(),c=a.width,u=a.height,s=Math.floor(c),l=Math.floor(u);n===s&&r===l||Promise.resolve().then((function(){t({width:s,height:l})})),n=s,r=l}}var i=new se[\"a\"](o);return e&&i.observe(e),function(){i.disconnect()}}var Ar=function(e,t){var n=k.a.useRef(!1),r=k.a.useRef(null);function o(){window.clearTimeout(r.current)}function i(a){if(o(),n.current&&!0!==a)r.current=window.setTimeout((function(){n.current=!1,i()}),t);else{if(!1===e())return;n.current=!0,r.current=window.setTimeout((function(){n.current=!1}),t)}}return[i,function(){n.current=!1,o()}]};function Nr(e){return\"function\"!==typeof e?null:e()}function Tr(e){return\"object\"===Object(B[\"a\"])(e)&&e?e:null}var Ir=function(e,t){var n=e.children,r=e.disabled,o=e.target,i=e.align,a=e.onAlign,c=e.monitorWindowResize,u=e.monitorBufferTime,s=void 0===u?0:u,l=k.a.useRef({}),f=k.a.useRef(),d=k.a.Children.only(n),h=k.a.useRef({});h.current.disabled=r,h.current.target=o,h.current.align=i,h.current.onAlign=a;var p=Ar((function(){var e=h.current,t=e.disabled,n=e.target,r=e.align,o=e.onAlign;if(!t&&n){var i,a=f.current,c=Nr(n),u=Tr(n);l.current.element=c,l.current.point=u,l.current.align=r;var s=document,d=s.activeElement;return c&&nn(c)?i=Er(a,c,r):u&&(i=Sr(a,u,r)),Cr(d,a),o&&i&&o(a,i),!0}return!1}),s),v=Object(F[\"a\"])(p,2),g=v[0],m=v[1],y=k.a.useRef({cancel:function(){}}),b=k.a.useRef({cancel:function(){}});k.a.useEffect((function(){var e=Nr(o),t=Tr(o);f.current!==b.current.element&&(b.current.cancel(),b.current.element=f.current,b.current.cancel=Mr(f.current,g)),l.current.element===e&&_r(l.current.point,t)&&kr()(l.current.align,i)||(g(),y.current.element!==e&&(y.current.cancel(),y.current.element=e,y.current.cancel=Mr(e,g)))})),k.a.useEffect((function(){r?m():g()}),[r]);var x=k.a.useRef(null);return k.a.useEffect((function(){c?x.current||(x.current=Xt(window,\"resize\",g)):x.current&&(x.current.remove(),x.current=null)}),[c]),k.a.useEffect((function(){return function(){y.current.cancel(),b.current.cancel(),x.current&&x.current.remove(),m()}}),[]),k.a.useImperativeHandle(t,(function(){return{forceAlign:function(){return g(!0)}}})),k.a.isValidElement(d)&&(d=k.a.cloneElement(d,{ref:Object(ie[\"a\"])(d.ref,f)})),d},Pr=k.a.forwardRef(Ir);Pr.displayName=\"Align\";var Lr=Pr,Dr=Lr,Rr=r(\"x+uP\"),Fr=r(\"HaE+\"),Br=[\"measure\",\"alignPre\",\"align\",null,\"motion\"],zr=function(e,t){var n=Object(q[\"a\"])(null),r=Object(F[\"a\"])(n,2),o=r[0],i=r[1],a=Object(j[\"useRef\"])();function c(e){i(e,!0)}function u(){oe[\"a\"].cancel(a.current)}function s(e){u(),a.current=Object(oe[\"a\"])((function(){c((function(e){switch(o){case\"align\":return\"motion\";case\"motion\":return\"stable\";default:}return e})),null===e||void 0===e||e()}))}return Object(j[\"useEffect\"])((function(){c(\"measure\")}),[e]),Object(j[\"useEffect\"])((function(){switch(o){case\"measure\":t();break;default:}o&&(a.current=Object(oe[\"a\"])(Object(Fr[\"a\"])(Object(Rr[\"a\"])().mark((function e(){var t,n;return Object(Rr[\"a\"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t=Br.indexOf(o),n=Br[t+1],n&&-1!==t&&c(n);case 3:case\"end\":return e.stop()}}),e)})))))}),[o]),Object(j[\"useEffect\"])((function(){return function(){u()}}),[]),[o,s]},Ur=function(e){var t=j[\"useState\"]({width:0,height:0}),n=Object(F[\"a\"])(t,2),r=n[0],o=n[1];function i(e){o({width:e.offsetWidth,height:e.offsetHeight})}var a=j[\"useMemo\"]((function(){var t={};if(e){var n=r.width,o=r.height;-1!==e.indexOf(\"height\")&&o?t.height=o:-1!==e.indexOf(\"minHeight\")&&o&&(t.minHeight=o),-1!==e.indexOf(\"width\")&&n?t.width=n:-1!==e.indexOf(\"minWidth\")&&n&&(t.minWidth=n)}return t}),[e,r]);return[a,i]},Gr=j[\"forwardRef\"]((function(e,t){var n=e.visible,r=e.prefixCls,o=e.className,i=e.style,a=e.children,c=e.zIndex,u=e.stretch,s=e.destroyPopupOnHide,l=e.forceRender,f=e.align,d=e.point,h=e.getRootDomNode,p=e.getClassNameFromAlign,v=e.onAlign,g=e.onMouseEnter,m=e.onMouseLeave,y=e.onMouseDown,b=e.onTouchStart,x=e.onClick,w=Object(j[\"useRef\"])(),E=Object(j[\"useRef\"])(),k=Object(j[\"useState\"])(),_=Object(F[\"a\"])(k,2),C=_[0],M=_[1],A=Ur(u),N=Object(F[\"a\"])(A,2),T=N[0],I=N[1];function P(){u&&I(h())}var L=zr(n,P),D=Object(F[\"a\"])(L,2),B=D[0],z=D[1],U=Object(j[\"useState\"])(0),G=Object(F[\"a\"])(U,2),V=G[0],W=G[1],H=Object(j[\"useRef\"])();function X(){return d||h}function q(){var e;null===(e=w.current)||void 0===e||e.forceAlign()}function K(e,t){var n=p(t);C!==n&&M(n),W((function(e){return e+1})),\"align\"===B&&(null===v||void 0===v||v(e,t))}Y((function(){\"alignPre\"===B&&W(0)}),[B]),Y((function(){\"align\"===B&&(V<3?q():z((function(){var e;null===(e=H.current)||void 0===e||e.call(H)})))}),[V]);var Z=Object(S[\"a\"])({},Jt(e));function Q(){return new Promise((function(e){H.current=e}))}[\"onAppearEnd\",\"onEnterEnd\",\"onLeaveEnd\"].forEach((function(e){var t=Z[e];Z[e]=function(e,n){return z(),null===t||void 0===t?void 0:t(e,n)}})),j[\"useEffect\"]((function(){Z.motionName||\"motion\"!==B||z()}),[Z.motionName,B]),j[\"useImperativeHandle\"](t,(function(){return{forceAlign:q,getElement:function(){return E.current}}}));var J=Object(S[\"a\"])(Object(S[\"a\"])({},T),{},{zIndex:c,opacity:\"motion\"!==B&&\"stable\"!==B&&n?0:void 0,pointerEvents:n||\"stable\"===B?void 0:\"none\"},i),ee=!0;null===f||void 0===f||!f.points||\"align\"!==B&&\"stable\"!==B||(ee=!1);var te=a;return j[\"Children\"].count(a)>1&&(te=j[\"createElement\"](\"div\",{className:\"\".concat(r,\"-content\")},a)),j[\"createElement\"]($[\"b\"],Object(O[\"a\"])({visible:n,ref:E,leavedClassName:\"\".concat(r,\"-hidden\")},Z,{onAppearPrepare:Q,onEnterPrepare:Q,removeOnLeave:s,forceRender:l}),(function(e,t){var n=e.className,i=e.style,a=R()(r,o,C,n);return j[\"createElement\"](Dr,{target:X(),key:\"popup\",ref:w,monitorWindowResize:!0,disabled:ee,align:f,onAlign:K},j[\"createElement\"](\"div\",{ref:t,className:a,onMouseEnter:g,onMouseLeave:m,onMouseDownCapture:y,onTouchStartCapture:b,onClick:x,style:Object(S[\"a\"])(Object(S[\"a\"])({},i),J)},te))}))}));Gr.displayName=\"PopupInner\";var Vr=Gr,Wr=j[\"forwardRef\"]((function(e,t){var n=e.prefixCls,r=e.visible,o=e.zIndex,i=e.children,a=e.mobile;a=void 0===a?{}:a;var c=a.popupClassName,u=a.popupStyle,s=a.popupMotion,l=void 0===s?{}:s,f=a.popupRender,d=e.onClick,h=j[\"useRef\"]();j[\"useImperativeHandle\"](t,(function(){return{forceAlign:function(){},getElement:function(){return h.current}}}));var p=Object(S[\"a\"])({zIndex:o},u),v=i;return j[\"Children\"].count(i)>1&&(v=j[\"createElement\"](\"div\",{className:\"\".concat(n,\"-content\")},i)),f&&(v=f(v)),j[\"createElement\"]($[\"b\"],Object(O[\"a\"])({visible:r,ref:h,removeOnLeave:!0},l),(function(e,t){var r=e.className,o=e.style,i=R()(n,c,r);return j[\"createElement\"](\"div\",{ref:t,className:i,onClick:d,style:Object(S[\"a\"])(Object(S[\"a\"])({},o),p)},v)}))}));Wr.displayName=\"MobilePopupInner\";var Hr=Wr,Yr=[\"visible\",\"mobile\"],Xr=j[\"forwardRef\"]((function(e,t){var n=e.visible,r=e.mobile,o=Object(z[\"a\"])(e,Yr),i=Object(j[\"useState\"])(n),a=Object(F[\"a\"])(i,2),c=a[0],u=a[1],s=Object(j[\"useState\"])(!1),l=Object(F[\"a\"])(s,2),f=l[0],d=l[1],h=Object(S[\"a\"])(Object(S[\"a\"])({},o),{},{visible:c});Object(j[\"useEffect\"])((function(){u(n),n&&r&&d(U())}),[n,r]);var p=f?j[\"createElement\"](Hr,Object(O[\"a\"])({},h,{mobile:r,ref:t})):j[\"createElement\"](Vr,Object(O[\"a\"])({},h,{ref:t}));return j[\"createElement\"](\"div\",null,j[\"createElement\"](en,h),p)}));Xr.displayName=\"Popup\";var qr=Xr,Kr=j[\"createContext\"](null),Zr=Kr;function $r(){}function Qr(){return\"\"}function Jr(e){return e?e.ownerDocument:window.document}var eo=[\"onClick\",\"onMouseDown\",\"onTouchStart\",\"onMouseEnter\",\"onMouseLeave\",\"onFocus\",\"onBlur\",\"onContextMenu\"];function to(e){var t=function(t){Object(me[\"a\"])(r,t);var n=Object(ye[\"a\"])(r);function r(e){var t,o;return Object(ve[\"a\"])(this,r),t=n.call(this,e),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"popupRef\",j[\"createRef\"]()),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"triggerRef\",j[\"createRef\"]()),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"portalContainer\",void 0),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"attachId\",void 0),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"clickOutsideHandler\",void 0),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"touchOutsideHandler\",void 0),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"contextMenuOutsideHandler1\",void 0),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"contextMenuOutsideHandler2\",void 0),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"mouseDownTimeout\",void 0),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"focusTime\",void 0),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"preClickTime\",void 0),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"preTouchTime\",void 0),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"delayTimer\",void 0),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"hasPopupMouseDown\",void 0),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"onMouseEnter\",(function(e){var n=t.props.mouseEnterDelay;t.fireEvents(\"onMouseEnter\",e),t.delaySetPopupVisible(!0,n,n?null:e)})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"onMouseMove\",(function(e){t.fireEvents(\"onMouseMove\",e),t.setPoint(e)})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"onMouseLeave\",(function(e){t.fireEvents(\"onMouseLeave\",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"onPopupMouseEnter\",(function(){t.clearDelayTimer()})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"onPopupMouseLeave\",(function(e){var n;e.relatedTarget&&!e.relatedTarget.setTimeout&&Object(Yt[\"a\"])(null===(n=t.popupRef.current)||void 0===n?void 0:n.getElement(),e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"onFocus\",(function(e){t.fireEvents(\"onFocus\",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"onMouseDown\",(function(e){t.fireEvents(\"onMouseDown\",e),t.preClickTime=Date.now()})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"onTouchStart\",(function(e){t.fireEvents(\"onTouchStart\",e),t.preTouchTime=Date.now()})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"onBlur\",(function(e){t.fireEvents(\"onBlur\",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"onContextMenu\",(function(e){e.preventDefault(),t.fireEvents(\"onContextMenu\",e),t.setPopupVisible(!0,e)})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"onContextMenuClose\",(function(){t.isContextMenuToShow()&&t.close()})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"onClick\",(function(e){if(t.fireEvents(\"onClick\",e),t.focusTime){var n;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var r=!t.state.popupVisible;(t.isClickToHide()&&!r||r&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"onPopupMouseDown\",(function(){var e;(t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=window.setTimeout((function(){t.hasPopupMouseDown=!1}),0),t.context)&&(e=t.context).onPopupMouseDown.apply(e,arguments)})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"onDocumentClick\",(function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,r=t.getRootDomNode(),o=t.getPopupDomNode();Object(Yt[\"a\"])(r,n)&&!t.isContextMenuOnly()||Object(Yt[\"a\"])(o,n)||t.hasPopupMouseDown||t.close()}})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"getRootDomNode\",(function(){var e=t.props.getTriggerDOMNode;if(e)return e(t.triggerRef.current);try{var n=Object(ue[\"a\"])(t.triggerRef.current);if(n)return n}catch(r){}return Ht.a.findDOMNode(Object(Vt[\"a\"])(t))})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"getPopupClassNameFromAlign\",(function(e){var n=[],r=t.props,o=r.popupPlacement,i=r.builtinPlacements,a=r.prefixCls,c=r.alignPoint,u=r.getPopupClassNameFromAlign;return o&&i&&n.push(Qt(i,a,e,c)),u&&n.push(u(e)),n.join(\" \")})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"getComponent\",(function(){var e=t.props,n=e.prefixCls,r=e.destroyPopupOnHide,o=e.popupClassName,i=e.onPopupAlign,a=e.popupMotion,c=e.popupAnimation,u=e.popupTransitionName,s=e.popupStyle,l=e.mask,f=e.maskAnimation,d=e.maskTransitionName,h=e.maskMotion,p=e.zIndex,v=e.popup,g=e.stretch,m=e.alignPoint,y=e.mobile,b=e.forceRender,x=e.onPopupClick,w=t.state,E=w.popupVisible,S=w.point,k=t.getPopupAlign(),_={};return t.isMouseEnterToShow()&&(_.onMouseEnter=t.onPopupMouseEnter),t.isMouseLeaveToHide()&&(_.onMouseLeave=t.onPopupMouseLeave),_.onMouseDown=t.onPopupMouseDown,_.onTouchStart=t.onPopupMouseDown,j[\"createElement\"](qr,Object(O[\"a\"])({prefixCls:n,destroyPopupOnHide:r,visible:E,point:m&&S,className:o,align:k,onAlign:i,animation:c,getClassNameFromAlign:t.getPopupClassNameFromAlign},_,{stretch:g,getRootDomNode:t.getRootDomNode,style:s,mask:l,zIndex:p,transitionName:u,maskAnimation:f,maskTransitionName:d,maskMotion:h,ref:t.popupRef,motion:a,mobile:y,forceRender:b,onClick:x}),\"function\"===typeof v?v():v)})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"attachParent\",(function(e){oe[\"a\"].cancel(t.attachId);var n,r=t.props,o=r.getPopupContainer,i=r.getDocument,a=t.getRootDomNode();o?(a||0===o.length)&&(n=o(a)):n=i(t.getRootDomNode()).body,n?n.appendChild(e):t.attachId=Object(oe[\"a\"])((function(){t.attachParent(e)}))})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"getContainer\",(function(){if(!t.portalContainer){var e=t.props.getDocument,n=e(t.getRootDomNode()).createElement(\"div\");n.style.position=\"absolute\",n.style.top=\"0\",n.style.left=\"0\",n.style.width=\"100%\",t.portalContainer=n}return t.attachParent(t.portalContainer),t.portalContainer})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"setPoint\",(function(e){var n=t.props.alignPoint;n&&e&&t.setState({point:{pageX:e.pageX,pageY:e.pageY}})})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"handlePortalUpdate\",(function(){t.state.prevPopupVisible!==t.state.popupVisible&&t.props.afterPopupVisibleChange(t.state.popupVisible)})),Object(w[\"a\"])(Object(Vt[\"a\"])(t),\"triggerContextValue\",{onPopupMouseDown:t.onPopupMouseDown}),o=\"popupVisible\"in e?!!e.popupVisible:!!e.defaultPopupVisible,t.state={prevPopupVisible:o,popupVisible:o},eo.forEach((function(e){t[\"fire\".concat(e)]=function(n){t.fireEvents(e,n)}})),t}return Object(ge[\"a\"])(r,[{key:\"componentDidMount\",value:function(){this.componentDidUpdate()}},{key:\"componentDidUpdate\",value:function(){var e,t=this.props,n=this.state;if(n.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(e=t.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Xt(e,\"mousedown\",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Xt(e,\"touchstart\",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Xt(e,\"scroll\",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Xt(window,\"blur\",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:\"componentWillUnmount\",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),oe[\"a\"].cancel(this.attachId)}},{key:\"getPopupDomNode\",value:function(){var e;return(null===(e=this.popupRef.current)||void 0===e?void 0:e.getElement())||null}},{key:\"getPopupAlign\",value:function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,r=e.builtinPlacements;return t&&r?$t(r,t,n):n}},{key:\"setPopupVisible\",value:function(e,t){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==e&&(\"popupVisible\"in this.props||this.setState({popupVisible:e,prevPopupVisible:r}),this.props.onPopupVisibleChange(e)),n&&t&&e&&this.setPoint(t)}},{key:\"delaySetPopupVisible\",value:function(e,t,n){var r=this,o=1e3*t;if(this.clearDelayTimer(),o){var i=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout((function(){r.setPopupVisible(e,i),r.clearDelayTimer()}),o)}else this.setPopupVisible(e,n)}},{key:\"clearDelayTimer\",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:\"clearOutsideHandler\",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:\"createTwoChains\",value:function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this[\"fire\".concat(e)]:t[e]||n[e]}},{key:\"isClickToShow\",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf(\"click\")||-1!==n.indexOf(\"click\")}},{key:\"isContextMenuOnly\",value:function(){var e=this.props.action;return\"contextMenu\"===e||1===e.length&&\"contextMenu\"===e[0]}},{key:\"isContextMenuToShow\",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf(\"contextMenu\")||-1!==n.indexOf(\"contextMenu\")}},{key:\"isClickToHide\",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf(\"click\")||-1!==n.indexOf(\"click\")}},{key:\"isMouseEnterToShow\",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf(\"hover\")||-1!==n.indexOf(\"mouseEnter\")}},{key:\"isMouseLeaveToHide\",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf(\"hover\")||-1!==n.indexOf(\"mouseLeave\")}},{key:\"isFocusToShow\",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf(\"focus\")||-1!==n.indexOf(\"focus\")}},{key:\"isBlurToHide\",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf(\"focus\")||-1!==n.indexOf(\"blur\")}},{key:\"forcePopupAlign\",value:function(){var e;this.state.popupVisible&&(null===(e=this.popupRef.current)||void 0===e||e.forceAlign())}},{key:\"fireEvents\",value:function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)}},{key:\"close\",value:function(){this.setPopupVisible(!1)}},{key:\"render\",value:function(){var t=this.state.popupVisible,n=this.props,r=n.children,o=n.forceRender,i=n.alignPoint,a=n.className,c=n.autoDestroy,u=j[\"Children\"].only(r),s={key:\"trigger\"};this.isContextMenuToShow()?s.onContextMenu=this.onContextMenu:s.onContextMenu=this.createTwoChains(\"onContextMenu\"),this.isClickToHide()||this.isClickToShow()?(s.onClick=this.onClick,s.onMouseDown=this.onMouseDown,s.onTouchStart=this.onTouchStart):(s.onClick=this.createTwoChains(\"onClick\"),s.onMouseDown=this.createTwoChains(\"onMouseDown\"),s.onTouchStart=this.createTwoChains(\"onTouchStart\")),this.isMouseEnterToShow()?(s.onMouseEnter=this.onMouseEnter,i&&(s.onMouseMove=this.onMouseMove)):s.onMouseEnter=this.createTwoChains(\"onMouseEnter\"),this.isMouseLeaveToHide()?s.onMouseLeave=this.onMouseLeave:s.onMouseLeave=this.createTwoChains(\"onMouseLeave\"),this.isFocusToShow()||this.isBlurToHide()?(s.onFocus=this.onFocus,s.onBlur=this.onBlur):(s.onFocus=this.createTwoChains(\"onFocus\"),s.onBlur=this.createTwoChains(\"onBlur\"));var l=R()(u&&u.props&&u.props.className,a);l&&(s.className=l);var f=Object(S[\"a\"])({},s);Object(ie[\"c\"])(u)&&(f.ref=Object(ie[\"a\"])(this.triggerRef,u.ref));var d,h=j[\"cloneElement\"](u,f);return(t||this.popupRef.current||o)&&(d=j[\"createElement\"](e,{key:\"portal\",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&c&&(d=null),j[\"createElement\"](Zr.Provider,{value:this.triggerContextValue},h,d)}}],[{key:\"getDerivedStateFromProps\",value:function(e,t){var n=e.popupVisible,r={};return void 0!==n&&t.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=t.popupVisible),r}}]),r}(j[\"Component\"]);return Object(w[\"a\"])(t,\"contextType\",Zr),Object(w[\"a\"])(t,\"defaultProps\",{prefixCls:\"rc-trigger-popup\",getPopupClassNameFromAlign:Qr,getDocument:Jr,onPopupVisibleChange:$r,afterPopupVisibleChange:$r,onPopupAlign:$r,popupClassName:\"\",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),t}var no=to(Kt),ro={adjustX:1,adjustY:1},oo={topLeft:{points:[\"bl\",\"tl\"],overflow:ro,offset:[0,-7]},bottomLeft:{points:[\"tl\",\"bl\"],overflow:ro,offset:[0,7]},leftTop:{points:[\"tr\",\"tl\"],overflow:ro,offset:[-4,0]},rightTop:{points:[\"tl\",\"tr\"],overflow:ro,offset:[4,0]}},io={topLeft:{points:[\"bl\",\"tl\"],overflow:ro,offset:[0,-7]},bottomLeft:{points:[\"tl\",\"bl\"],overflow:ro,offset:[0,7]},rightTop:{points:[\"tr\",\"tl\"],overflow:ro,offset:[-4,0]},leftTop:{points:[\"tl\",\"tr\"],overflow:ro,offset:[4,0]}};function ao(e,t,n){return t||(n?n[e]||n.other:void 0)}var co={horizontal:\"bottomLeft\",vertical:\"rightTop\",\"vertical-left\":\"rightTop\",\"vertical-right\":\"leftTop\"};function uo(e){var t=e.prefixCls,n=e.visible,r=e.children,o=e.popup,i=e.popupClassName,a=e.popupOffset,c=e.disabled,u=e.mode,s=e.onVisibleChange,l=j[\"useContext\"](ut),f=l.getPopupContainer,d=l.rtl,h=l.subMenuOpenDelay,p=l.subMenuCloseDelay,v=l.builtinPlacements,g=l.triggerSubMenuAction,m=l.forceSubMenuRender,y=l.rootClassName,b=l.motion,x=l.defaultMotions,O=j[\"useState\"](!1),E=Object(F[\"a\"])(O,2),k=E[0],_=E[1],C=d?Object(S[\"a\"])(Object(S[\"a\"])({},io),v):Object(S[\"a\"])(Object(S[\"a\"])({},oo),v),M=co[u],A=ao(u,b,x),N=Object(S[\"a\"])(Object(S[\"a\"])({},A),{},{leavedClassName:\"\".concat(t,\"-hidden\"),removeOnLeave:!1,motionAppear:!0}),T=j[\"useRef\"]();return j[\"useEffect\"]((function(){return T.current=Object(oe[\"a\"])((function(){_(n)})),function(){oe[\"a\"].cancel(T.current)}}),[n]),j[\"createElement\"](no,{prefixCls:t,popupClassName:R()(\"\".concat(t,\"-popup\"),Object(w[\"a\"])({},\"\".concat(t,\"-rtl\"),d),i,y),stretch:\"horizontal\"===u?\"minWidth\":null,getPopupContainer:f,builtinPlacements:C,popupPlacement:M,popupVisible:k,popup:o,popupAlign:a&&{offset:a},action:c?[]:[g],mouseEnterDelay:h,mouseLeaveDelay:p,onPopupVisibleChange:s,forceRender:m,popupMotion:N},r)}function so(e){var t=e.id,n=e.open,r=e.keyPath,o=e.children,i=\"inline\",a=j[\"useContext\"](ut),c=a.prefixCls,u=a.forceSubMenuRender,s=a.motion,l=a.defaultMotions,f=a.mode,d=j[\"useRef\"](!1);d.current=f===i;var h=j[\"useState\"](!d.current),p=Object(F[\"a\"])(h,2),v=p[0],g=p[1],m=!!d.current&&n;j[\"useEffect\"]((function(){d.current&&g(!1)}),[f]);var y=Object(S[\"a\"])({},ao(i,s,l));r.length>1&&(y.motionAppear=!1);var b=y.onVisibleChanged;return y.onVisibleChanged=function(e){return d.current||e||g(!0),null===b||void 0===b?void 0:b(e)},v?null:j[\"createElement\"](lt,{mode:i,locked:!d.current},j[\"createElement\"]($[\"b\"],Object(O[\"a\"])({visible:m},y,{forceRender:u,removeOnLeave:!1,leavedClassName:\"\".concat(c,\"-hidden\")}),(function(e){var n=e.className,r=e.style;return j[\"createElement\"](Gt,{id:t,className:n,style:r},o)})))}var lo=[\"style\",\"className\",\"title\",\"eventKey\",\"warnKey\",\"disabled\",\"internalPopupClose\",\"children\",\"itemIcon\",\"expandIcon\",\"popupClassName\",\"popupOffset\",\"onClick\",\"onMouseEnter\",\"onMouseLeave\",\"onTitleClick\",\"onTitleMouseEnter\",\"onTitleMouseLeave\"],fo=[\"active\"],ho=function(e){var t,n=e.style,r=e.className,o=e.title,i=e.eventKey,a=(e.warnKey,e.disabled),c=e.internalPopupClose,u=e.children,s=e.itemIcon,l=e.expandIcon,f=e.popupClassName,d=e.popupOffset,h=e.onClick,p=e.onMouseEnter,v=e.onMouseLeave,g=e.onTitleClick,m=e.onTitleMouseEnter,y=e.onTitleMouseLeave,b=Object(z[\"a\"])(e,lo),x=St(i),E=j[\"useContext\"](ut),k=E.prefixCls,_=E.mode,C=E.openKeys,M=E.disabled,A=E.overflowDisabled,N=E.activeKey,T=E.selectedKeys,I=E.itemIcon,P=E.expandIcon,L=E.onItemClick,D=E.onOpenChange,B=E.onActive,U=j[\"useContext\"](kt),G=U._internalRenderSubMenuItem,V=j[\"useContext\"](wt),W=V.isSubPathKey,H=xt(),Y=\"\".concat(k,\"-submenu\"),X=M||a,q=j[\"useRef\"](),K=j[\"useRef\"]();var Z=s||I,$=l||P,Q=C.includes(i),J=!A&&Q,ee=W(T,i),te=ft(i,X,m,y),ne=te.active,re=Object(z[\"a\"])(te,fo),oe=j[\"useState\"](!1),ie=Object(F[\"a\"])(oe,2),ae=ie[0],ce=ie[1],ue=function(e){X||ce(e)},se=function(e){ue(!0),null===p||void 0===p||p({key:i,domEvent:e})},le=function(e){ue(!1),null===v||void 0===v||v({key:i,domEvent:e})},fe=j[\"useMemo\"]((function(){return ne||\"inline\"!==_&&(ae||W([N],i))}),[_,ne,N,ae,i,W]),de=vt(H.length),he=function(e){X||(null===g||void 0===g||g({key:i,domEvent:e}),\"inline\"===_&&D(i,!Q))},pe=Ft((function(e){null===h||void 0===h||h(ht(e)),L(e)})),ve=function(e){\"inline\"!==_&&D(i,e)},ge=function(){B(i)},me=x&&\"\".concat(x,\"-popup\"),ye=j[\"createElement\"](\"div\",Object(O[\"a\"])({role:\"menuitem\",style:de,className:\"\".concat(Y,\"-title\"),tabIndex:X?null:-1,ref:q,title:\"string\"===typeof o?o:null,\"data-menu-id\":A&&x?null:x,\"aria-expanded\":J,\"aria-haspopup\":!0,\"aria-controls\":me,\"aria-disabled\":X,onClick:he,onFocus:ge},re),o,j[\"createElement\"](pt,{icon:\"horizontal\"!==_?$:null,props:Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{isOpen:J,isSubMenu:!0})},j[\"createElement\"](\"i\",{className:\"\".concat(Y,\"-arrow\")}))),be=j[\"useRef\"](_);if(\"inline\"!==_&&H.length>1?be.current=\"vertical\":be.current=_,!A){var xe=be.current;ye=j[\"createElement\"](uo,{mode:xe,prefixCls:Y,visible:!c&&J&&\"inline\"!==_,popupClassName:f,popupOffset:d,popup:j[\"createElement\"](lt,{mode:\"horizontal\"===xe?\"vertical\":xe},j[\"createElement\"](Gt,{id:me,ref:K},u)),disabled:X,onVisibleChange:ve},ye)}var we=j[\"createElement\"](ot.Item,Object(O[\"a\"])({role:\"none\"},b,{component:\"li\",style:n,className:R()(Y,\"\".concat(Y,\"-\").concat(_),r,(t={},Object(w[\"a\"])(t,\"\".concat(Y,\"-open\"),J),Object(w[\"a\"])(t,\"\".concat(Y,\"-active\"),fe),Object(w[\"a\"])(t,\"\".concat(Y,\"-selected\"),ee),Object(w[\"a\"])(t,\"\".concat(Y,\"-disabled\"),X),t)),onMouseEnter:se,onMouseLeave:le}),ye,!A&&j[\"createElement\"](so,{id:me,open:J,keyPath:H},u));return G&&(we=G(we,e,{selected:ee,active:fe,open:J,disabled:X})),j[\"createElement\"](lt,{onItemClick:pe,mode:\"horizontal\"===_?\"vertical\":_,itemIcon:Z,expandIcon:$},we)};function po(e){var t,n=e.eventKey,r=e.children,o=xt(n),i=Lt(r,o),a=yt();return j[\"useEffect\"]((function(){if(a)return a.registerPath(n,o),function(){a.unregisterPath(n,o)}}),[o]),t=a?i:j[\"createElement\"](ho,e,i),j[\"createElement\"](bt.Provider,{value:o},t)}function vo(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(nn(e)){var n=e.nodeName.toLowerCase(),r=[\"input\",\"select\",\"textarea\",\"button\"].includes(n)||e.isContentEditable||\"a\"===n&&!!e.getAttribute(\"href\"),o=e.getAttribute(\"tabindex\"),i=Number(o),a=null;return o&&!Number.isNaN(i)?a=i:r&&null===a&&(a=0),r&&e.disabled&&(a=null),null!==a&&(a>=0||t&&a<0)}return!1}function go(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Object(re[\"a\"])(e.querySelectorAll(\"*\")).filter((function(e){return vo(e,t)}));return vo(e,t)&&n.unshift(e),n}var mo=Me.LEFT,yo=Me.RIGHT,bo=Me.UP,xo=Me.DOWN,wo=Me.ENTER,Oo=Me.ESC,Eo=Me.HOME,So=Me.END,jo=[bo,xo,mo,yo];function ko(e,t,n,r){var o,i,a,c,u=\"prev\",s=\"next\",l=\"children\",f=\"parent\";if(\"inline\"===e&&r===wo)return{inlineTrigger:!0};var d=(o={},Object(w[\"a\"])(o,bo,u),Object(w[\"a\"])(o,xo,s),o),h=(i={},Object(w[\"a\"])(i,mo,n?s:u),Object(w[\"a\"])(i,yo,n?u:s),Object(w[\"a\"])(i,xo,l),Object(w[\"a\"])(i,wo,l),i),p=(a={},Object(w[\"a\"])(a,bo,u),Object(w[\"a\"])(a,xo,s),Object(w[\"a\"])(a,wo,l),Object(w[\"a\"])(a,Oo,f),Object(w[\"a\"])(a,mo,n?l:f),Object(w[\"a\"])(a,yo,n?f:l),a),v={inline:d,horizontal:h,vertical:p,inlineSub:d,horizontalSub:p,verticalSub:p},g=null===(c=v[\"\".concat(e).concat(t?\"\":\"Sub\")])||void 0===c?void 0:c[r];switch(g){case u:return{offset:-1,sibling:!0};case s:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case l:return{offset:1,sibling:!1};default:return null}}function _o(e){var t=e;while(t){if(t.getAttribute(\"data-menu-list\"))return t;t=t.parentElement}return null}function Co(e,t){var n=e||document.activeElement;while(n){if(t.has(n))return n;n=n.parentElement}return null}function Mo(e,t){var n=go(e,!0);return n.filter((function(e){return t.has(e)}))}function Ao(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=Mo(e,t),i=o.length,a=o.findIndex((function(e){return n===e}));return r<0?-1===a?a=i-1:a-=1:r>0&&(a+=1),a=(a+i)%i,o[a]}function No(e,t,n,r,o,i,a,c,u,s){var l=j[\"useRef\"](),f=j[\"useRef\"]();f.current=t;var d=function(){oe[\"a\"].cancel(l.current)};return j[\"useEffect\"]((function(){return function(){d()}}),[]),function(h){var p=h.which;if([].concat(jo,[wo,Oo,Eo,So]).includes(p)){var v,g,m,y=function(){v=new Set,g=new Map,m=new Map;var e=i();return e.forEach((function(e){var t=document.querySelector(\"[data-menu-id='\".concat(Et(r,e),\"']\"));t&&(v.add(t),m.set(t,e),g.set(e,t))})),v};y();var b=g.get(t),x=Co(b,v),w=m.get(x),O=ko(e,1===a(w,!0).length,n,p);if(!O&&p!==Eo&&p!==So)return;(jo.includes(p)||[Eo,So].includes(p))&&h.preventDefault();var E=function(e){if(e){var t=e,n=e.querySelector(\"a\");null!==n&&void 0!==n&&n.getAttribute(\"href\")&&(t=n);var r=m.get(e);c(r),d(),l.current=Object(oe[\"a\"])((function(){f.current===r&&t.focus()}))}};if([Eo,So].includes(p)||O.sibling||!x){var S,j;S=x&&\"inline\"!==e?_o(x):o.current;var k=Mo(S,v);j=p===Eo?k[0]:p===So?k[k.length-1]:Ao(S,v,x,O.offset),E(j)}else if(O.inlineTrigger)u(w);else if(O.offset>0)u(w,!0),d(),l.current=Object(oe[\"a\"])((function(){y();var e=x.getAttribute(\"aria-controls\"),t=document.getElementById(e),n=Ao(t,v);E(n)}),5);else if(O.offset<0){var _=a(w,!0),C=_[_.length-2],M=g.get(C);u(C,!1),E(M)}}null===s||void 0===s||s(h)}}var To=Math.random().toFixed(5).toString().slice(2),Io=0;function Po(e){var t=Z(e,{value:e}),n=Object(F[\"a\"])(t,2),r=n[0],o=n[1];return j[\"useEffect\"]((function(){Io+=1;var e=\"\".concat(To,\"-\").concat(Io);o(\"rc-menu-uuid-\".concat(e))}),[]),r}function Lo(e){Promise.resolve().then(e)}var Do=\"__RC_UTIL_PATH_SPLIT__\",Ro=function(e){return e.join(Do)},Fo=function(e){return e.split(Do)},Bo=\"rc-menu-more\";function zo(){var e=j[\"useState\"]({}),t=Object(F[\"a\"])(e,2),n=t[1],r=Object(j[\"useRef\"])(new Map),o=Object(j[\"useRef\"])(new Map),i=j[\"useState\"]([]),a=Object(F[\"a\"])(i,2),c=a[0],u=a[1],s=Object(j[\"useRef\"])(0),l=Object(j[\"useRef\"])(!1),f=function(){l.current||n({})},d=Object(j[\"useCallback\"])((function(e,t){var n=Ro(t);o.current.set(n,e),r.current.set(e,n),s.current+=1;var i=s.current;Lo((function(){i===s.current&&f()}))}),[]),h=Object(j[\"useCallback\"])((function(e,t){var n=Ro(t);o.current.delete(n),r.current.delete(e)}),[]),p=Object(j[\"useCallback\"])((function(e){u(e)}),[]),v=Object(j[\"useCallback\"])((function(e,t){var n=r.current.get(e)||\"\",o=Fo(n);return t&&c.includes(o[0])&&o.unshift(Bo),o}),[c]),g=Object(j[\"useCallback\"])((function(e,t){return e.some((function(e){var n=v(e,!0);return n.includes(t)}))}),[v]),m=function(){var e=Object(re[\"a\"])(r.current.keys());return c.length&&e.push(Bo),e},y=Object(j[\"useCallback\"])((function(e){var t=\"\".concat(r.current.get(e)).concat(Do),n=new Set;return Object(re[\"a\"])(o.current.keys()).forEach((function(e){e.startsWith(t)&&n.add(o.current.get(e))})),n}),[]);return j[\"useEffect\"]((function(){return function(){l.current=!0}}),[]),{registerPath:d,unregisterPath:h,refreshOverflowKeys:p,isSubPathKey:g,getKeyPath:v,getKeys:m,getSubPathKeys:y}}var Uo=[\"prefixCls\",\"rootClassName\",\"style\",\"className\",\"tabIndex\",\"items\",\"children\",\"direction\",\"id\",\"mode\",\"inlineCollapsed\",\"disabled\",\"disabledOverflow\",\"subMenuOpenDelay\",\"subMenuCloseDelay\",\"forceSubMenuRender\",\"defaultOpenKeys\",\"openKeys\",\"activeKey\",\"defaultActiveFirst\",\"selectable\",\"multiple\",\"defaultSelectedKeys\",\"selectedKeys\",\"onSelect\",\"onDeselect\",\"inlineIndent\",\"motion\",\"defaultMotions\",\"triggerSubMenuAction\",\"builtinPlacements\",\"itemIcon\",\"expandIcon\",\"overflowedIndicator\",\"overflowedIndicatorPopupClassName\",\"getPopupContainer\",\"onClick\",\"onOpenChange\",\"onKeyDown\",\"openAnimation\",\"openTransitionName\",\"_internalRenderMenuItem\",\"_internalRenderSubMenuItem\"],Go=[],Vo=j[\"forwardRef\"]((function(e,t){var n,r,o=e,i=o.prefixCls,a=void 0===i?\"rc-menu\":i,c=o.rootClassName,u=o.style,s=o.className,l=o.tabIndex,f=void 0===l?0:l,d=o.items,h=o.children,p=o.direction,v=o.id,g=o.mode,m=void 0===g?\"vertical\":g,y=o.inlineCollapsed,b=o.disabled,x=o.disabledOverflow,E=o.subMenuOpenDelay,k=void 0===E?.1:E,_=o.subMenuCloseDelay,C=void 0===_?.1:_,M=o.forceSubMenuRender,A=o.defaultOpenKeys,N=o.openKeys,T=o.activeKey,I=o.defaultActiveFirst,P=o.selectable,L=void 0===P||P,D=o.multiple,B=void 0!==D&&D,U=o.defaultSelectedKeys,G=o.selectedKeys,V=o.onSelect,W=o.onDeselect,H=o.inlineIndent,Y=void 0===H?24:H,X=o.motion,q=o.defaultMotions,K=o.triggerSubMenuAction,$=void 0===K?\"hover\":K,Q=o.builtinPlacements,J=o.itemIcon,ee=o.expandIcon,te=o.overflowedIndicator,ne=void 0===te?\"...\":te,oe=o.overflowedIndicatorPopupClassName,ie=o.getPopupContainer,ae=o.onClick,ce=o.onOpenChange,ue=o.onKeyDown,se=(o.openAnimation,o.openTransitionName,o._internalRenderMenuItem),le=o._internalRenderSubMenuItem,fe=Object(z[\"a\"])(o,Uo),de=j[\"useMemo\"]((function(){return Rt(h,d,Go)}),[h,d]),he=j[\"useState\"](!1),pe=Object(F[\"a\"])(he,2),ve=pe[0],ge=pe[1],me=j[\"useRef\"](),ye=Po(v),be=\"rtl\"===p;var xe=j[\"useMemo\"]((function(){return\"inline\"!==m&&\"vertical\"!==m||!y?[m,!1]:[\"vertical\",y]}),[m,y]),we=Object(F[\"a\"])(xe,2),Oe=we[0],Ee=we[1],Se=j[\"useState\"](0),je=Object(F[\"a\"])(Se,2),ke=je[0],_e=je[1],Ce=ke>=de.length-1||\"horizontal\"!==Oe||x,Me=Z(A,{value:N,postState:function(e){return e||Go}}),Ae=Object(F[\"a\"])(Me,2),Ne=Ae[0],Te=Ae[1],Ie=function(e){Te(e),null===ce||void 0===ce||ce(e)},Pe=j[\"useState\"](Ne),Le=Object(F[\"a\"])(Pe,2),De=Le[0],Fe=Le[1],Be=\"inline\"===Oe,ze=j[\"useRef\"](!1);j[\"useEffect\"]((function(){Be&&Fe(Ne)}),[Ne]),j[\"useEffect\"]((function(){ze.current&&(Be?Te(De):Ie(Go))}),[Be]),j[\"useEffect\"]((function(){return ze.current=!0,function(){ze.current=!1}}),[]);var Ue=zo(),Ge=Ue.registerPath,Ve=Ue.unregisterPath,We=Ue.refreshOverflowKeys,He=Ue.isSubPathKey,Ye=Ue.getKeyPath,Xe=Ue.getKeys,qe=Ue.getSubPathKeys,Ke=j[\"useMemo\"]((function(){return{registerPath:Ge,unregisterPath:Ve}}),[Ge,Ve]),Ze=j[\"useMemo\"]((function(){return{isSubPathKey:He}}),[He]);j[\"useEffect\"]((function(){We(Ce?Go:de.slice(ke+1).map((function(e){return e.key})))}),[ke,Ce]);var $e=Z(T||I&&(null===(n=de[0])||void 0===n?void 0:n.key),{value:T}),Qe=Object(F[\"a\"])($e,2),Je=Qe[0],et=Qe[1],tt=Ft((function(e){et(e)})),nt=Ft((function(){et(void 0)}));Object(j[\"useImperativeHandle\"])(t,(function(){return{list:me.current,focus:function(e){var t,n,r,o,i=null!==Je&&void 0!==Je?Je:null===(t=de.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key;i&&(null===(n=me.current)||void 0===n||null===(r=n.querySelector(\"li[data-menu-id='\".concat(Et(ye,i),\"']\")))||void 0===r||null===(o=r.focus)||void 0===o||o.call(r,e))}}}));var rt=Z(U||[],{value:G,postState:function(e){return Array.isArray(e)?e:null===e||void 0===e?Go:[e]}}),it=Object(F[\"a\"])(rt,2),at=it[0],ct=it[1],ut=function(e){if(L){var t,n=e.key,r=at.includes(n);t=B?r?at.filter((function(e){return e!==n})):[].concat(Object(re[\"a\"])(at),[n]):[n],ct(t);var o=Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{selectedKeys:t});r?null===W||void 0===W||W(o):null===V||void 0===V||V(o)}!B&&Ne.length&&\"inline\"!==Oe&&Ie(Go)},st=Ft((function(e){null===ae||void 0===ae||ae(ht(e)),ut(e)})),ft=Ft((function(e,t){var n=Ne.filter((function(t){return t!==e}));if(t)n.push(e);else if(\"inline\"!==Oe){var r=qe(e);n=n.filter((function(e){return!r.has(e)}))}Re()(Ne,n)||Ie(n)})),dt=Ft(ie),pt=function(e,t){var n=null!==t&&void 0!==t?t:!Ne.includes(e);ft(e,n)},vt=No(Oe,Je,be,ye,me,Xe,Ye,et,pt,ue);j[\"useEffect\"]((function(){ge(!0)}),[]);var gt=j[\"useMemo\"]((function(){return{_internalRenderMenuItem:se,_internalRenderSubMenuItem:le}}),[se,le]),yt=\"horizontal\"!==Oe||x?de:de.map((function(e,t){return j[\"createElement\"](lt,{key:e.key,overflowDisabled:t>ke},e)})),bt=j[\"createElement\"](ot,Object(O[\"a\"])({id:v,ref:me,prefixCls:\"\".concat(a,\"-overflow\"),component:\"ul\",itemComponent:It,className:R()(a,\"\".concat(a,\"-root\"),\"\".concat(a,\"-\").concat(Oe),s,(r={},Object(w[\"a\"])(r,\"\".concat(a,\"-inline-collapsed\"),Ee),Object(w[\"a\"])(r,\"\".concat(a,\"-rtl\"),be),r),c),dir:p,style:u,role:\"menu\",tabIndex:f,data:yt,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?de.slice(-t):null;return j[\"createElement\"](po,{eventKey:Bo,title:ne,disabled:Ce,internalPopupClose:0===t,popupClassName:oe},n)},maxCount:\"horizontal\"!==Oe||x?ot.INVALIDATE:ot.RESPONSIVE,ssr:\"full\",\"data-menu-list\":!0,onVisibleChange:function(e){_e(e)},onKeyDown:vt},fe));return j[\"createElement\"](kt.Provider,{value:gt},j[\"createElement\"](Ot.Provider,{value:ye},j[\"createElement\"](lt,{prefixCls:a,rootClassName:c,mode:Oe,openKeys:Ne,rtl:be,disabled:b,motion:ve?X:null,defaultMotions:ve?q:null,activeKey:Je,onActive:tt,onInactive:nt,selectedKeys:at,inlineIndent:Y,subMenuOpenDelay:k,subMenuCloseDelay:C,forceSubMenuRender:M,builtinPlacements:Q,triggerSubMenuAction:$,getPopupContainer:dt,itemIcon:J,expandIcon:ee,onItemClick:st,onOpenChange:ft},j[\"createElement\"](wt.Provider,{value:Ze},bt),j[\"createElement\"](\"div\",{style:{display:\"none\"},\"aria-hidden\":!0},j[\"createElement\"](mt.Provider,{value:Ke},de)))))})),Wo=Vo,Ho=[\"className\",\"title\",\"eventKey\",\"children\"],Yo=[\"children\"],Xo=function(e){var t=e.className,n=e.title,r=(e.eventKey,e.children),o=Object(z[\"a\"])(e,Ho),i=j[\"useContext\"](ut),a=i.prefixCls,c=\"\".concat(a,\"-item-group\");return j[\"createElement\"](\"li\",Object(O[\"a\"])({},o,{onClick:function(e){return e.stopPropagation()},className:R()(c,t)}),j[\"createElement\"](\"div\",{className:\"\".concat(c,\"-title\"),title:\"string\"===typeof n?n:void 0},n),j[\"createElement\"](\"ul\",{className:\"\".concat(c,\"-list\")},r))};function qo(e){var t=e.children,n=Object(z[\"a\"])(e,Yo),r=xt(n.eventKey),o=Lt(t,r),i=yt();return i?o:j[\"createElement\"](Xo,it(n,[\"warnKey\"]),o)}function Ko(e){var t=e.className,n=e.style,r=j[\"useContext\"](ut),o=r.prefixCls,i=yt();return i?null:j[\"createElement\"](\"li\",{className:R()(\"\".concat(o,\"-item-divider\"),t),style:n})}var Zo=Wo;Zo.Item=It,Zo.SubMenu=po,Zo.ItemGroup=qo,Zo.Divider=Ko;var $o=Zo,Qo={adjustX:1,adjustY:1},Jo=[0,0],ei={topLeft:{points:[\"bl\",\"tl\"],overflow:Qo,offset:[0,-4],targetOffset:Jo},topCenter:{points:[\"bc\",\"tc\"],overflow:Qo,offset:[0,-4],targetOffset:Jo},topRight:{points:[\"br\",\"tr\"],overflow:Qo,offset:[0,-4],targetOffset:Jo},bottomLeft:{points:[\"tl\",\"bl\"],overflow:Qo,offset:[0,4],targetOffset:Jo},bottomCenter:{points:[\"tc\",\"bc\"],overflow:Qo,offset:[0,4],targetOffset:Jo},bottomRight:{points:[\"tr\",\"br\"],overflow:Qo,offset:[0,4],targetOffset:Jo}},ti=ei,ni=Me.ESC,ri=Me.TAB;function oi(e){var t=e.visible,n=e.setTriggerVisible,r=e.triggerRef,o=e.onVisibleChange,i=e.autoFocus,a=j[\"useRef\"](!1),c=function(){var e,i,a,c;t&&r.current&&(null===(e=r.current)||void 0===e||null===(i=e.triggerRef)||void 0===i||null===(a=i.current)||void 0===a||null===(c=a.focus)||void 0===c||c.call(a),n(!1),\"function\"===typeof o&&o(!1))},u=function(){var e,t,n,o,i=go(null===(e=r.current)||void 0===e||null===(t=e.popupRef)||void 0===t||null===(n=t.current)||void 0===n||null===(o=n.getElement)||void 0===o?void 0:o.call(n)),c=i[0];return!!(null===c||void 0===c?void 0:c.focus)&&(c.focus(),a.current=!0,!0)},s=function(e){switch(e.keyCode){case ni:c();break;case ri:var t=!1;a.current||(t=u()),t?e.preventDefault():c();break}};j[\"useEffect\"]((function(){return t?(window.addEventListener(\"keydown\",s),i&&Object(oe[\"a\"])(u,3),function(){window.removeEventListener(\"keydown\",s),a.current=!1}):function(){a.current=!1}}),[t])}var ii=[\"arrow\",\"prefixCls\",\"transitionName\",\"animation\",\"align\",\"placement\",\"placements\",\"getPopupContainer\",\"showAction\",\"hideAction\",\"overlayClassName\",\"overlayStyle\",\"visible\",\"trigger\",\"autoFocus\"];function ai(e,t){var n=e.arrow,r=void 0!==n&&n,o=e.prefixCls,i=void 0===o?\"rc-dropdown\":o,a=e.transitionName,c=e.animation,u=e.align,s=e.placement,l=void 0===s?\"bottomLeft\":s,f=e.placements,d=void 0===f?ti:f,h=e.getPopupContainer,p=e.showAction,v=e.hideAction,g=e.overlayClassName,m=e.overlayStyle,y=e.visible,b=e.trigger,x=void 0===b?[\"hover\"]:b,O=e.autoFocus,E=Object(z[\"a\"])(e,ii),k=j[\"useState\"](),_=Object(F[\"a\"])(k,2),C=_[0],M=_[1],A=\"visible\"in e?y:C,N=j[\"useRef\"](null);j[\"useImperativeHandle\"](t,(function(){return N.current})),oi({visible:A,setTriggerVisible:M,triggerRef:N,onVisibleChange:e.onVisibleChange,autoFocus:O});var T=function(){var t,n=e.overlay;return t=\"function\"===typeof n?n():n,t},I=function(t){var n=e.onOverlayClick;M(!1),n&&n(t)},P=function(t){var n=e.onVisibleChange;M(t),\"function\"===typeof n&&n(t)},L=function(){var e=T();return j[\"createElement\"](j[\"Fragment\"],null,r&&j[\"createElement\"](\"div\",{className:\"\".concat(i,\"-arrow\")}),e)},D=function(){var t=e.overlay;return\"function\"===typeof t?L:L()},B=function(){var t=e.minOverlayWidthMatchTrigger,n=e.alignPoint;return\"minOverlayWidthMatchTrigger\"in e?t:!n},U=function(){var t=e.openClassName;return void 0!==t?t:\"\".concat(i,\"-open\")},G=function(){var t=e.children,n=t.props?t.props:{},r=R()(n.className,U());return A&&t?j[\"cloneElement\"](t,{className:r}):t},V=v;return V||-1===x.indexOf(\"contextMenu\")||(V=[\"click\"]),j[\"createElement\"](no,Object(S[\"a\"])(Object(S[\"a\"])({builtinPlacements:d},E),{},{prefixCls:i,ref:N,popupClassName:R()(g,Object(w[\"a\"])({},\"\".concat(i,\"-show-arrow\"),r)),popupStyle:m,action:x,showAction:p,hideAction:V||[],popupPlacement:l,popupAlign:u,popupTransitionName:a,popupAnimation:c,popupVisible:A,stretch:B()?\"minWidth\":\"\",popup:D(),onPopupVisibleChange:P,onPopupClick:I,getPopupContainer:h}),G())}var ci=j[\"forwardRef\"](ai),ui=ci;function si(e,t){var n=e.prefixCls,r=e.editable,o=e.locale,i=e.style;return r&&!1!==r.showAdd?j[\"createElement\"](\"button\",{ref:t,type:\"button\",className:\"\".concat(n,\"-nav-add\"),style:i,\"aria-label\":(null===o||void 0===o?void 0:o.addAriaLabel)||\"Add tab\",onClick:function(e){r.onEdit(\"add\",{event:e})}},r.addIcon||\"+\"):null}var li=j[\"forwardRef\"](si);function fi(e,t){var n=e.prefixCls,r=e.id,o=e.tabs,i=e.locale,a=e.mobile,c=e.moreIcon,u=void 0===c?\"More\":c,s=e.moreTransitionName,l=e.style,f=e.className,d=e.editable,h=e.tabBarGutter,p=e.rtl,v=e.removeAriaLabel,g=e.onTabClick,m=e.getPopupContainer,y=e.popupClassName,b=Object(j[\"useState\"])(!1),x=Object(F[\"a\"])(b,2),O=x[0],E=x[1],S=Object(j[\"useState\"])(null),k=Object(F[\"a\"])(S,2),_=k[0],C=k[1],M=\"\".concat(r,\"-more-popup\"),A=\"\".concat(n,\"-dropdown\"),N=null!==_?\"\".concat(M,\"-\").concat(_):null,T=null===i||void 0===i?void 0:i.dropdownAriaLabel;function I(e,t){e.preventDefault(),e.stopPropagation(),d.onEdit(\"remove\",{key:t,event:e})}var P=j[\"createElement\"]($o,{onClick:function(e){var t=e.key,n=e.domEvent;g(t,n),E(!1)},prefixCls:\"\".concat(A,\"-menu\"),id:M,tabIndex:-1,role:\"listbox\",\"aria-activedescendant\":N,selectedKeys:[_],\"aria-label\":void 0!==T?T:\"expanded dropdown\"},o.map((function(e){var t=d&&!1!==e.closable&&!e.disabled;return j[\"createElement\"](It,{key:e.key,id:\"\".concat(M,\"-\").concat(e.key),role:\"option\",\"aria-controls\":r&&\"\".concat(r,\"-panel-\").concat(e.key),disabled:e.disabled},j[\"createElement\"](\"span\",null,e.label),t&&j[\"createElement\"](\"button\",{type:\"button\",\"aria-label\":v||\"remove\",tabIndex:0,className:\"\".concat(A,\"-menu-item-remove\"),onClick:function(t){t.stopPropagation(),I(t,e.key)}},e.closeIcon||d.removeIcon||\"\\xd7\"))})));function L(e){for(var t=o.filter((function(e){return!e.disabled})),n=t.findIndex((function(e){return e.key===_}))||0,r=t.length,i=0;i<r;i+=1){n=(n+e+r)%r;var a=t[n];if(!a.disabled)return void C(a.key)}}function D(e){var t=e.which;if(O)switch(t){case Me.UP:L(-1),e.preventDefault();break;case Me.DOWN:L(1),e.preventDefault();break;case Me.ESC:E(!1);break;case Me.SPACE:case Me.ENTER:null!==_&&g(_,e);break}else[Me.DOWN,Me.SPACE,Me.ENTER].includes(t)&&(E(!0),e.preventDefault())}Object(j[\"useEffect\"])((function(){var e=document.getElementById(N);e&&e.scrollIntoView&&e.scrollIntoView(!1)}),[_]),Object(j[\"useEffect\"])((function(){O||C(null)}),[O]);var B=Object(w[\"a\"])({},p?\"marginRight\":\"marginLeft\",h);o.length||(B.visibility=\"hidden\",B.order=1);var z=R()(Object(w[\"a\"])({},\"\".concat(A,\"-rtl\"),p)),U=a?null:j[\"createElement\"](ui,{prefixCls:A,overlay:P,trigger:[\"hover\"],visible:!!o.length&&O,transitionName:s,onVisibleChange:E,overlayClassName:R()(z,y),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:m},j[\"createElement\"](\"button\",{type:\"button\",className:\"\".concat(n,\"-nav-more\"),style:B,tabIndex:-1,\"aria-hidden\":\"true\",\"aria-haspopup\":\"listbox\",\"aria-controls\":M,id:\"\".concat(r,\"-more\"),\"aria-expanded\":O,onKeyDown:D},u));return j[\"createElement\"](\"div\",{className:R()(\"\".concat(n,\"-nav-operations\"),f),style:l,ref:t},U,j[\"createElement\"](li,{prefixCls:n,locale:i,editable:d}))}var di=j[\"memo\"](j[\"forwardRef\"](fi),(function(e,t){return t.tabMoving})),hi=.1,pi=.01,vi=20,gi=Math.pow(.995,vi);function mi(e,t){var n=Object(j[\"useState\"])(),r=Object(F[\"a\"])(n,2),o=r[0],i=r[1],a=Object(j[\"useState\"])(0),c=Object(F[\"a\"])(a,2),u=c[0],s=c[1],l=Object(j[\"useState\"])(0),f=Object(F[\"a\"])(l,2),d=f[0],h=f[1],p=Object(j[\"useState\"])(),v=Object(F[\"a\"])(p,2),g=v[0],m=v[1],y=Object(j[\"useRef\"])();function b(e){var t=e.touches[0],n=t.screenX,r=t.screenY;i({x:n,y:r}),window.clearInterval(y.current)}function x(e){if(o){e.preventDefault();var n=e.touches[0],r=n.screenX,a=n.screenY;i({x:r,y:a});var c=r-o.x,l=a-o.y;t(c,l);var f=Date.now();s(f),h(f-u),m({x:c,y:l})}}function w(){if(o&&(i(null),m(null),g)){var e=g.x/d,n=g.y/d,r=Math.abs(e),a=Math.abs(n);if(Math.max(r,a)<hi)return;var c=e,u=n;y.current=window.setInterval((function(){Math.abs(c)<pi&&Math.abs(u)<pi?window.clearInterval(y.current):(c*=gi,u*=gi,t(c*vi,u*vi))}),vi)}}var O=Object(j[\"useRef\"])();function E(e){var n=e.deltaX,r=e.deltaY,o=0,i=Math.abs(n),a=Math.abs(r);i===a?o=\"x\"===O.current?n:r:i>a?(o=n,O.current=\"x\"):(o=r,O.current=\"y\"),t(-o,-o)&&e.preventDefault()}var S=Object(j[\"useRef\"])(null);S.current={onTouchStart:b,onTouchMove:x,onTouchEnd:w,onWheel:E},j[\"useEffect\"]((function(){function t(e){S.current.onTouchStart(e)}function n(e){S.current.onTouchMove(e)}function r(e){S.current.onTouchEnd(e)}function o(e){S.current.onWheel(e)}return document.addEventListener(\"touchmove\",n,{passive:!1}),document.addEventListener(\"touchend\",r,{passive:!1}),e.current.addEventListener(\"touchstart\",t,{passive:!1}),e.current.addEventListener(\"wheel\",o),function(){document.removeEventListener(\"touchmove\",n),document.removeEventListener(\"touchend\",r)}}),[])}function yi(){var e=Object(j[\"useRef\"])(new Map);function t(t){return e.current.has(t)||e.current.set(t,j[\"createRef\"]()),e.current.get(t)}function n(t){e.current.delete(t)}return[t,n]}function bi(e,t){var n=j[\"useRef\"](e),r=j[\"useState\"]({}),o=Object(F[\"a\"])(r,2),i=o[1];function a(e){var r=\"function\"===typeof e?e(n.current):e;r!==n.current&&t(r,n.current),n.current=r,i({})}return[n.current,a]}function xi(e){var t;return e instanceof Map?(t={},e.forEach((function(e,n){t[n]=e}))):t=e,JSON.stringify(t)}var wi=j[\"forwardRef\"]((function(e,t){var n,r=e.position,o=e.prefixCls,i=e.extra;if(!i)return null;var a={};return\"object\"!==Object(B[\"a\"])(i)||j[\"isValidElement\"](i)?a.right=i:a=i,\"right\"===r&&(n=a.right),\"left\"===r&&(n=a.left),n?j[\"createElement\"](\"div\",{className:\"\".concat(o,\"-extra-content\"),ref:t},n):null}));var Oi=wi,Ei=function(e){var t=e.current||{},n=t.offsetWidth,r=void 0===n?0:n,o=t.offsetHeight,i=void 0===o?0:o;return[r,i]},Si=function(e,t){return e[t?0:1]};function ji(e,t){var n,r=j[\"useContext\"](Q),o=r.prefixCls,i=r.tabs,a=e.className,c=e.style,u=e.id,s=e.animated,l=e.activeKey,f=e.rtl,d=e.extra,h=e.editable,p=e.locale,v=e.tabPosition,g=e.tabBarGutter,m=e.children,y=e.onTabClick,b=e.onTabScroll,x=Object(j[\"useRef\"])(),E=Object(j[\"useRef\"])(),k=Object(j[\"useRef\"])(),_=Object(j[\"useRef\"])(),C=Object(j[\"useRef\"])(),M=Object(j[\"useRef\"])(),A=Object(j[\"useRef\"])(),N=yi(),T=Object(F[\"a\"])(N,2),I=T[0],P=T[1],L=\"top\"===v||\"bottom\"===v,D=bi(0,(function(e,t){L&&b&&b({direction:e>t?\"left\":\"right\"})})),B=Object(F[\"a\"])(D,2),z=B[0],U=B[1],G=bi(0,(function(e,t){!L&&b&&b({direction:e>t?\"top\":\"bottom\"})})),V=Object(F[\"a\"])(G,2),W=V[0],H=V[1],Y=Object(j[\"useState\"])([0,0]),X=Object(F[\"a\"])(Y,2),q=X[0],K=X[1],Z=Object(j[\"useState\"])([0,0]),$=Object(F[\"a\"])(Z,2),J=$[0],ee=$[1],te=Object(j[\"useState\"])([0,0]),ne=Object(F[\"a\"])(te,2),ae=ne[0],ce=ne[1],ue=Object(j[\"useState\"])([0,0]),se=Object(F[\"a\"])(ue,2),le=se[0],fe=se[1],de=_e(new Map),he=Object(F[\"a\"])(de,2),pe=he[0],ve=he[1],ge=Ie(i,pe,J[0]),me=Si(q,L),ye=Si(J,L),be=Si(ae,L),xe=Si(le,L),we=me<ye+be,Oe=we?me-xe:me-be,Ee=\"\".concat(o,\"-nav-operations-hidden\"),Se=0,Ce=0;function Me(e){return e<Se?Se:e>Ce?Ce:e}L&&f?(Se=0,Ce=Math.max(0,ye-Oe)):(Se=Math.min(0,Oe-ye),Ce=0);var Ae=Object(j[\"useRef\"])(),Te=Object(j[\"useState\"])(),Pe=Object(F[\"a\"])(Te,2),De=Pe[0],Re=Pe[1];function Fe(){Re(Date.now())}function Be(){window.clearTimeout(Ae.current)}mi(_,(function(e,t){function n(e,t){e((function(e){var n=Me(e+t);return n}))}return!(me>=ye)&&(L?n(U,e):n(H,t),Be(),Fe(),!0)})),Object(j[\"useEffect\"])((function(){return Be(),De&&(Ae.current=window.setTimeout((function(){Re(0)}),100)),Be}),[De]);var ze=Le(ge,Oe,L?z:W,ye,be,xe,Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{tabs:i})),Ue=Object(F[\"a\"])(ze,2),Ge=Ue[0],Ve=Ue[1],We=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=ge.get(e)||{width:0,height:0,left:0,right:0,top:0};if(L){var n=z;f?t.right<z?n=t.right:t.right+t.width>z+Oe&&(n=t.right+t.width-Oe):t.left<-z?n=-t.left:t.left+t.width>-z+Oe&&(n=-(t.left+t.width-Oe)),H(0),U(Me(n))}else{var r=W;t.top<-W?r=-t.top:t.top+t.height>-W+Oe&&(r=-(t.top+t.height-Oe)),U(0),H(Me(r))}},He={};\"top\"===v||\"bottom\"===v?He[f?\"marginRight\":\"marginLeft\"]=g:He.marginTop=g;var Ye=i.map((function(e,t){var n=e.key;return j[\"createElement\"](Ne,{id:u,prefixCls:o,key:n,tab:e,style:0===t?void 0:He,closable:e.closable,editable:h,active:n===l,renderWrapper:m,removeAriaLabel:null===p||void 0===p?void 0:p.removeAriaLabel,ref:I(n),onClick:function(e){y(n,e)},onRemove:function(){P(n)},onFocus:function(){We(n),Fe(),_.current&&(f||(_.current.scrollLeft=0),_.current.scrollTop=0)}})})),Xe=ke((function(){var e=Ei(x),t=Ei(E),n=Ei(k);K([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var r=Ei(A);ce(r);var o=Ei(M);fe(o);var a=Ei(C);ee([a[0]-r[0],a[1]-r[1]]),ve((function(){var e=new Map;return i.forEach((function(t){var n=t.key,r=I(n).current;r&&e.set(n,{width:r.offsetWidth,height:r.offsetHeight,left:r.offsetLeft,top:r.offsetTop})})),e}))})),qe=i.slice(0,Ge),Ke=i.slice(Ve+1),Ze=[].concat(Object(re[\"a\"])(qe),Object(re[\"a\"])(Ke)),$e=Object(j[\"useState\"])(),Qe=Object(F[\"a\"])($e,2),Je=Qe[0],et=Qe[1],tt=ge.get(l),nt=Object(j[\"useRef\"])();function rt(){oe[\"a\"].cancel(nt.current)}Object(j[\"useEffect\"])((function(){var e={};return tt&&(L?(f?e.right=tt.right:e.left=tt.left,e.width=tt.width):(e.top=tt.top,e.height=tt.height)),rt(),nt.current=Object(oe[\"a\"])((function(){et(e)})),rt}),[tt,L,f]),Object(j[\"useEffect\"])((function(){We()}),[l,xi(tt),xi(ge),L]),Object(j[\"useEffect\"])((function(){Xe()}),[f]);var ot,it,at,ct,ut=!!Ze.length,st=\"\".concat(o,\"-nav-wrap\");return L?f?(it=z>0,ot=z+me<ye):(ot=z<0,it=-z+me<ye):(at=W<0,ct=-W+me<ye),j[\"createElement\"](je,{onResize:Xe},j[\"createElement\"](\"div\",{ref:Object(ie[\"d\"])(t,x),role:\"tablist\",className:R()(\"\".concat(o,\"-nav\"),a),style:c,onKeyDown:function(){Fe()}},j[\"createElement\"](Oi,{ref:E,position:\"left\",extra:d,prefixCls:o}),j[\"createElement\"](\"div\",{className:R()(st,(n={},Object(w[\"a\"])(n,\"\".concat(st,\"-ping-left\"),ot),Object(w[\"a\"])(n,\"\".concat(st,\"-ping-right\"),it),Object(w[\"a\"])(n,\"\".concat(st,\"-ping-top\"),at),Object(w[\"a\"])(n,\"\".concat(st,\"-ping-bottom\"),ct),n)),ref:_},j[\"createElement\"](je,{onResize:Xe},j[\"createElement\"](\"div\",{ref:C,className:\"\".concat(o,\"-nav-list\"),style:{transform:\"translate(\".concat(z,\"px, \").concat(W,\"px)\"),transition:De?\"none\":void 0}},Ye,j[\"createElement\"](li,{ref:A,prefixCls:o,locale:p,editable:h,style:Object(S[\"a\"])(Object(S[\"a\"])({},0===Ye.length?void 0:He),{},{visibility:ut?\"hidden\":null})}),j[\"createElement\"](\"div\",{className:R()(\"\".concat(o,\"-ink-bar\"),Object(w[\"a\"])({},\"\".concat(o,\"-ink-bar-animated\"),s.inkBar)),style:Je})))),j[\"createElement\"](di,Object(O[\"a\"])({},e,{removeAriaLabel:null===p||void 0===p?void 0:p.removeAriaLabel,ref:M,prefixCls:o,tabs:Ze,className:!ut&&Ee,tabMoving:!!De})),j[\"createElement\"](Oi,{ref:k,position:\"right\",extra:d,prefixCls:o})))}var ki=j[\"forwardRef\"](ji),_i=[\"renderTabBar\"],Ci=[\"label\",\"key\"];function Mi(e){var t=e.renderTabBar,n=Object(z[\"a\"])(e,_i),r=Object(j[\"useContext\"])(Q),o=r.tabs;if(t){var i=Object(S[\"a\"])(Object(S[\"a\"])({},n),{},{panes:o.map((function(e){var t=e.label,n=e.key,r=Object(z[\"a\"])(e,Ci);return k.a.createElement(ee,Object(O[\"a\"])({tab:t,key:n,tabKey:n},r))}))});return t(i,ki)}return k.a.createElement(ki,n)}function Ai(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:Object(S[\"a\"])({inkBar:!0},\"object\"===Object(B[\"a\"])(t)?t:{}),e.tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}var Ni=[\"id\",\"prefixCls\",\"className\",\"items\",\"direction\",\"activeKey\",\"defaultActiveKey\",\"editable\",\"animated\",\"tabPosition\",\"tabBarGutter\",\"tabBarStyle\",\"tabBarExtraContent\",\"locale\",\"moreIcon\",\"moreTransitionName\",\"destroyInactiveTabPane\",\"renderTabBar\",\"onChange\",\"onTabClick\",\"onTabScroll\",\"getPopupContainer\",\"popupClassName\"],Ti=0;function Ii(e,t){var n,r=e.id,o=e.prefixCls,i=void 0===o?\"rc-tabs\":o,a=e.className,c=e.items,u=e.direction,s=e.activeKey,l=e.defaultActiveKey,f=e.editable,d=e.animated,h=e.tabPosition,p=void 0===h?\"top\":h,v=e.tabBarGutter,g=e.tabBarStyle,m=e.tabBarExtraContent,y=e.locale,b=e.moreIcon,x=e.moreTransitionName,E=e.destroyInactiveTabPane,k=e.renderTabBar,_=e.onChange,C=e.onTabClick,M=e.onTabScroll,A=e.getPopupContainer,N=e.popupClassName,T=Object(z[\"a\"])(e,Ni),I=j[\"useMemo\"]((function(){return(c||[]).filter((function(e){return e&&\"object\"===Object(B[\"a\"])(e)&&\"key\"in e}))}),[c]),P=\"rtl\"===u,L=Ai(d),D=Object(j[\"useState\"])(!1),G=Object(F[\"a\"])(D,2),V=G[0],W=G[1];Object(j[\"useEffect\"])((function(){W(U())}),[]);var H=Z((function(){var e;return null===(e=I[0])||void 0===e?void 0:e.key}),{value:s,defaultValue:l}),Y=Object(F[\"a\"])(H,2),X=Y[0],q=Y[1],K=Object(j[\"useState\"])((function(){return I.findIndex((function(e){return e.key===X}))})),$=Object(F[\"a\"])(K,2),J=$[0],ee=$[1];Object(j[\"useEffect\"])((function(){var e,t=I.findIndex((function(e){return e.key===X}));-1===t&&(t=Math.max(0,Math.min(J,I.length-1)),q(null===(e=I[t])||void 0===e?void 0:e.key));ee(t)}),[I.map((function(e){return e.key})).join(\"_\"),X,J]);var te=Z(null,{value:r}),re=Object(F[\"a\"])(te,2),oe=re[0],ie=re[1];function ae(e,t){null===C||void 0===C||C(e,t);var n=e!==X;q(e),n&&(null===_||void 0===_||_(e))}Object(j[\"useEffect\"])((function(){r||(ie(\"rc-tabs-\".concat(Ti)),Ti+=1)}),[]);var ce,ue={id:oe,activeKey:X,animated:L,tabPosition:p,rtl:P,mobile:V},se=Object(S[\"a\"])(Object(S[\"a\"])({},ue),{},{editable:f,locale:y,moreIcon:b,moreTransitionName:x,tabBarGutter:v,onTabClick:ae,onTabScroll:M,extra:m,style:g,panes:null,getPopupContainer:A,popupClassName:N});return j[\"createElement\"](Q.Provider,{value:{tabs:I,prefixCls:i}},j[\"createElement\"](\"div\",Object(O[\"a\"])({ref:t,id:r,className:R()(i,\"\".concat(i,\"-\").concat(p),(n={},Object(w[\"a\"])(n,\"\".concat(i,\"-mobile\"),V),Object(w[\"a\"])(n,\"\".concat(i,\"-editable\"),f),Object(w[\"a\"])(n,\"\".concat(i,\"-rtl\"),P),n),a)},T),ce,j[\"createElement\"](Mi,Object(O[\"a\"])({},se,{renderTabBar:k})),j[\"createElement\"](ne,Object(O[\"a\"])({destroyInactiveTabPane:E},ue,{animated:L}))))}var Pi=j[\"forwardRef\"](Ii);var Li=Pi,Di=Li,Ri=r(\"H84U\"),Fi=r(\"3Nzz\"),Bi=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t},zi=function(){return{height:0,opacity:0}},Ui=function(e){var t=e.scrollHeight;return{height:t,opacity:1}},Gi=function(e){return{height:e?e.offsetHeight:0}},Vi=function(e,t){return!0===(null===t||void 0===t?void 0:t.deadline)||\"height\"===t.propertyName},Wi={motionName:\"ant-motion-collapse\",onAppearStart:zi,onEnterStart:zi,onAppearActive:Ui,onEnterActive:Ui,onLeaveStart:Gi,onLeaveActive:zi,onAppearEnd:Vi,onEnterEnd:Vi,onLeaveEnd:Vi,motionDeadline:500},Hi=(Bi(\"bottomLeft\",\"bottomRight\",\"topLeft\",\"topRight\"),function(e){return void 0===e||\"topLeft\"!==e&&\"topRight\"!==e?\"slide-up\":\"slide-down\"}),Yi=function(e,t,n){return void 0!==n?n:\"\".concat(e,\"-\").concat(t)},Xi=Wi,qi={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Ki(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object(O[\"a\"])({inkBar:!0},\"object\"===Object(B[\"a\"])(n)?n:{}),t.tabPane&&(t.tabPaneMotion=Object(O[\"a\"])(Object(O[\"a\"])({},qi),{motionName:Yi(e,\"switch\")})),t}var Zi=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function $i(e){return e.filter((function(e){return e}))}function Qi(e,t){if(e)return e;var n=Object(ae[\"a\"])(t).map((function(e){if(j[\"isValidElement\"](e)){var t=e.key,n=e.props,r=n||{},o=r.tab,i=Zi(r,[\"tab\"]),a=Object(O[\"a\"])(Object(O[\"a\"])({key:String(t)},i),{label:o});return a}return null}));return $i(n)}var Ji=function(){return null};var ea=Ji,ta=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function na(e){var t,n=e.type,r=e.className,o=e.size,i=e.onEdit,a=e.hideAdd,c=e.centered,u=e.addIcon,s=e.children,l=e.items,f=e.animated,d=ta(e,[\"type\",\"className\",\"size\",\"onEdit\",\"hideAdd\",\"centered\",\"addIcon\",\"children\",\"items\",\"animated\"]),h=d.prefixCls,p=d.moreIcon,v=void 0===p?j[\"createElement\"](N,null):p,g=j[\"useContext\"](Ri[\"b\"]),m=g.getPrefixCls,y=g.direction,b=g.getPopupContainer,x=m(\"tabs\",h);\"editable-card\"===n&&(t={onEdit:function(e,t){var n=t.key,r=t.event;null===i||void 0===i||i(\"add\"===e?r:n,e)},removeIcon:j[\"createElement\"](E[\"a\"],null),addIcon:u||j[\"createElement\"](L,null),showAdd:!0!==a});var S=m(),k=Qi(l,s),_=Ki(x,f);return j[\"createElement\"](Fi[\"b\"].Consumer,null,(function(e){var i,a=void 0!==o?o:e;return j[\"createElement\"](Di,Object(O[\"a\"])({direction:y,getPopupContainer:b,moreTransitionName:\"\".concat(S,\"-slide-up\")},d,{items:k,className:R()((i={},Object(w[\"a\"])(i,\"\".concat(x,\"-\").concat(a),a),Object(w[\"a\"])(i,\"\".concat(x,\"-card\"),[\"card\",\"editable-card\"].includes(n)),Object(w[\"a\"])(i,\"\".concat(x,\"-editable-card\"),\"editable-card\"===n),Object(w[\"a\"])(i,\"\".concat(x,\"-centered\"),c),i),r),editable:t,moreIcon:v,prefixCls:x,animated:_}))}))}na.TabPane=ea;var ra=na,oa=(r(\"/xke\"),r(\"TeRw\")),ia=r(\"k1fw\"),aa=r(\"9kvl\"),ca=(r(\"5YgA\"),{adjustX:1,adjustY:1}),ua=[0,0],sa={left:{points:[\"cr\",\"cl\"],overflow:ca,offset:[-4,0],targetOffset:ua},right:{points:[\"cl\",\"cr\"],overflow:ca,offset:[4,0],targetOffset:ua},top:{points:[\"bc\",\"tc\"],overflow:ca,offset:[0,-4],targetOffset:ua},bottom:{points:[\"tc\",\"bc\"],overflow:ca,offset:[0,4],targetOffset:ua},topLeft:{points:[\"bl\",\"tl\"],overflow:ca,offset:[0,-4],targetOffset:ua},leftTop:{points:[\"tr\",\"tl\"],overflow:ca,offset:[-4,0],targetOffset:ua},topRight:{points:[\"br\",\"tr\"],overflow:ca,offset:[0,-4],targetOffset:ua},rightTop:{points:[\"tl\",\"tr\"],overflow:ca,offset:[4,0],targetOffset:ua},bottomRight:{points:[\"tr\",\"br\"],overflow:ca,offset:[0,4],targetOffset:ua},rightBottom:{points:[\"bl\",\"br\"],overflow:ca,offset:[4,0],targetOffset:ua},bottomLeft:{points:[\"tl\",\"bl\"],overflow:ca,offset:[0,4],targetOffset:ua},leftBottom:{points:[\"br\",\"bl\"],overflow:ca,offset:[-4,0],targetOffset:ua}};function la(e){var t=e.showArrow,n=e.arrowContent,r=e.children,o=e.prefixCls,i=e.id,a=e.overlayInnerStyle,c=e.className,u=e.style;return j[\"createElement\"](\"div\",{className:R()(\"\".concat(o,\"-content\"),c),style:u},!1!==t&&j[\"createElement\"](\"div\",{className:\"\".concat(o,\"-arrow\"),key:\"arrow\"},n),j[\"createElement\"](\"div\",{className:\"\".concat(o,\"-inner\"),id:i,role:\"tooltip\",style:a},\"function\"===typeof r?r():r))}var fa=function(e,t){var n=e.overlayClassName,r=e.trigger,o=void 0===r?[\"hover\"]:r,i=e.mouseEnterDelay,a=void 0===i?0:i,c=e.mouseLeaveDelay,u=void 0===c?.1:c,s=e.overlayStyle,l=e.prefixCls,f=void 0===l?\"rc-tooltip\":l,d=e.children,h=e.onVisibleChange,p=e.afterVisibleChange,v=e.transitionName,g=e.animation,m=e.motion,y=e.placement,b=void 0===y?\"right\":y,x=e.align,w=void 0===x?{}:x,E=e.destroyTooltipOnHide,k=void 0!==E&&E,_=e.defaultVisible,C=e.getTooltipContainer,M=e.overlayInnerStyle,A=e.arrowContent,N=e.overlay,T=e.id,I=e.showArrow,P=Object(z[\"a\"])(e,[\"overlayClassName\",\"trigger\",\"mouseEnterDelay\",\"mouseLeaveDelay\",\"overlayStyle\",\"prefixCls\",\"children\",\"onVisibleChange\",\"afterVisibleChange\",\"transitionName\",\"animation\",\"motion\",\"placement\",\"align\",\"destroyTooltipOnHide\",\"defaultVisible\",\"getTooltipContainer\",\"overlayInnerStyle\",\"arrowContent\",\"overlay\",\"id\",\"showArrow\"]),L=Object(j[\"useRef\"])(null);Object(j[\"useImperativeHandle\"])(t,(function(){return L.current}));var D=Object(S[\"a\"])({},P);\"visible\"in e&&(D.popupVisible=e.visible);var R=function(){return j[\"createElement\"](la,{showArrow:I,arrowContent:A,key:\"content\",prefixCls:f,id:T,overlayInnerStyle:M},N)},F=!1,U=!1;if(\"boolean\"===typeof k)F=k;else if(k&&\"object\"===Object(B[\"a\"])(k)){var G=k.keepParent;F=!0===G,U=!1===G}return j[\"createElement\"](no,Object(O[\"a\"])({popupClassName:n,prefixCls:f,popup:R,action:o,builtinPlacements:sa,popupPlacement:b,ref:L,popupAlign:w,getPopupContainer:C,onPopupVisibleChange:h,afterPopupVisibleChange:p,popupTransitionName:v,popupAnimation:g,popupMotion:m,defaultPopupVisible:_,destroyPopupOnHide:F,autoDestroy:U,mouseLeaveDelay:u,popupStyle:s,mouseEnterDelay:a},D),d)},da=Object(j[\"forwardRef\"])(fa),ha=da,pa=Bi(\"success\",\"processing\",\"error\",\"default\",\"warning\"),va=Bi(\"pink\",\"red\",\"yellow\",\"orange\",\"cyan\",\"green\",\"blue\",\"purple\",\"geekblue\",\"magenta\",\"volcano\",\"gold\",\"lime\"),ga={adjustX:1,adjustY:1},ma={adjustX:0,adjustY:0},ya=[0,0];function ba(e){return\"boolean\"===typeof e?e?ga:ma:Object(O[\"a\"])(Object(O[\"a\"])({},ma),e)}function xa(e){var t=e.arrowWidth,n=void 0===t?4:t,r=e.horizontalArrowShift,o=void 0===r?16:r,i=e.verticalArrowShift,a=void 0===i?8:i,c=e.autoAdjustOverflow,u=e.arrowPointAtCenter,s={left:{points:[\"cr\",\"cl\"],offset:[-4,0]},right:{points:[\"cl\",\"cr\"],offset:[4,0]},top:{points:[\"bc\",\"tc\"],offset:[0,-4]},bottom:{points:[\"tc\",\"bc\"],offset:[0,4]},topLeft:{points:[\"bl\",\"tc\"],offset:[-(o+n),-4]},leftTop:{points:[\"tr\",\"cl\"],offset:[-4,-(a+n)]},topRight:{points:[\"br\",\"tc\"],offset:[o+n,-4]},rightTop:{points:[\"tl\",\"cr\"],offset:[4,-(a+n)]},bottomRight:{points:[\"tr\",\"bc\"],offset:[o+n,4]},rightBottom:{points:[\"bl\",\"cr\"],offset:[4,a+n]},bottomLeft:{points:[\"tl\",\"bc\"],offset:[-(o+n),4]},leftBottom:{points:[\"br\",\"cl\"],offset:[-4,a+n]}};return Object.keys(s).forEach((function(e){s[e]=u?Object(O[\"a\"])(Object(O[\"a\"])({},s[e]),{overflow:ba(c),targetOffset:ya}):Object(O[\"a\"])(Object(O[\"a\"])({},sa[e]),{overflow:ba(c)}),s[e].ignoreShake=!0})),s}var wa=j[\"isValidElement\"];function Oa(e){return e&&wa(e)&&e.type===j[\"Fragment\"]}function Ea(e,t,n){return wa(e)?j[\"cloneElement\"](e,\"function\"===typeof n?n(e.props||{}):n):t}function Sa(e,t){return Ea(e,e,t)}var ja=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},ka=function(e,t){var n={},r=Object(O[\"a\"])({},e);return t.forEach((function(t){e&&t in e&&(n[t]=e[t],delete r[t])})),{picked:n,omitted:r}},_a=new RegExp(\"^(\".concat(va.join(\"|\"),\")(-inverse)?$\"));function Ca(e,t){var n=e.type;if((!0===n.__ANT_BUTTON||\"button\"===e.type)&&e.props.disabled||!0===n.__ANT_SWITCH&&(e.props.disabled||e.props.loading)||!0===n.__ANT_RADIO&&e.props.disabled){var r=ka(e.props.style,[\"position\",\"left\",\"right\",\"top\",\"bottom\",\"float\",\"display\",\"zIndex\"]),o=r.picked,i=r.omitted,a=Object(O[\"a\"])(Object(O[\"a\"])({display:\"inline-block\"},o),{cursor:\"not-allowed\",width:e.props.block?\"100%\":void 0}),c=Object(O[\"a\"])(Object(O[\"a\"])({},i),{pointerEvents:\"none\"}),u=Sa(e,{style:c,className:null});return j[\"createElement\"](\"span\",{style:a,className:R()(e.props.className,\"\".concat(t,\"-disabled-compatible-wrapper\"))},u)}return e}var Ma=j[\"forwardRef\"]((function(e,t){var n,r=j[\"useContext\"](Ri[\"b\"]),o=r.getPopupContainer,i=r.getPrefixCls,a=r.direction;var c=Z(!1,{value:void 0!==e.open?e.open:e.visible,defaultValue:void 0!==e.defaultOpen?e.defaultOpen:e.defaultVisible}),u=Object(F[\"a\"])(c,2),s=u[0],l=u[1],f=function(){var t=e.title,n=e.overlay;return!t&&!n&&0!==t},d=function(t){var n,r;l(!f()&&t),f()||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},h=function(){var t=e.builtinPlacements,n=e.arrowPointAtCenter,r=void 0!==n&&n,o=e.autoAdjustOverflow,i=void 0===o||o;return t||xa({arrowPointAtCenter:r,autoAdjustOverflow:i})},p=function(e,t){var n=h(),r=Object.keys(n).find((function(e){var r,o;return n[e].points[0]===(null===(r=t.points)||void 0===r?void 0:r[0])&&n[e].points[1]===(null===(o=t.points)||void 0===o?void 0:o[1])}));if(r){var o=e.getBoundingClientRect(),i={top:\"50%\",left:\"50%\"};/top|Bottom/.test(r)?i.top=\"\".concat(o.height-t.offset[1],\"px\"):/Top|bottom/.test(r)&&(i.top=\"\".concat(-t.offset[1],\"px\")),/left|Right/.test(r)?i.left=\"\".concat(o.width-t.offset[0],\"px\"):/right|Left/.test(r)&&(i.left=\"\".concat(-t.offset[0],\"px\")),e.style.transformOrigin=\"\".concat(i.left,\" \").concat(i.top)}},v=function(){var t=e.title,n=e.overlay;return 0===t?t:n||t||\"\"},g=e.getPopupContainer,m=e.placement,y=void 0===m?\"top\":m,b=e.mouseEnterDelay,x=void 0===b?.1:b,E=e.mouseLeaveDelay,S=void 0===E?.1:E,k=ja(e,[\"getPopupContainer\",\"placement\",\"mouseEnterDelay\",\"mouseLeaveDelay\"]),_=e.prefixCls,C=e.openClassName,M=e.getTooltipContainer,A=e.overlayClassName,N=e.color,T=e.overlayInnerStyle,I=e.children,P=i(\"tooltip\",_),L=i(),D=s;\"open\"in e||\"visible\"in e||!f()||(D=!1);var B=Ca(wa(I)&&!Oa(I)?I:j[\"createElement\"](\"span\",null,I),P),z=B.props,U=z.className&&\"string\"!==typeof z.className?z.className:R()(z.className,Object(w[\"a\"])({},C||\"\".concat(P,\"-open\"),!0)),G=R()(A,(n={},Object(w[\"a\"])(n,\"\".concat(P,\"-rtl\"),\"rtl\"===a),Object(w[\"a\"])(n,\"\".concat(P,\"-\").concat(N),N&&_a.test(N)),n)),V=T,W={};return N&&!_a.test(N)&&(V=Object(O[\"a\"])(Object(O[\"a\"])({},T),{background:N}),W={\"--antd-arrow-background-color\":N}),j[\"createElement\"](ha,Object(O[\"a\"])({},k,{placement:y,mouseEnterDelay:x,mouseLeaveDelay:S,prefixCls:P,overlayClassName:G,getTooltipContainer:g||M||o,ref:t,builtinPlacements:h(),overlay:v(),visible:D,onVisibleChange:d,onPopupAlign:p,overlayInnerStyle:V,arrowContent:j[\"createElement\"](\"span\",{className:\"\".concat(P,\"-arrow-content\"),style:W}),motion:{motionName:Yi(L,\"zoom-big-fast\",e.transitionName),motionDeadline:1e3}}),D?Sa(B,{className:U}):B)}));var Aa=Ma,Na=(r(\"miYZ\"),r(\"tsqr\")),Ta=r(\"tJVT\"),Ia=(r(\"OnYD\"),r(\"qCM6\"),r(\"85Yc\"),j[\"createContext\"]({})),Pa=function(e){var t=e.children,n=e.status,r=e.override,o=Object(j[\"useContext\"])(Ia),i=Object(j[\"useMemo\"])((function(){var e=Object(O[\"a\"])({},o);return r&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e}),[n,r,o]);return j[\"createElement\"](Ia.Provider,{value:i},t)},La=function(e){var t,n=Object(j[\"useContext\"])(Ri[\"b\"]),r=n.getPrefixCls,o=n.direction,i=e.prefixCls,a=e.className,c=void 0===a?\"\":a,u=r(\"input-group\",i),s=R()(u,(t={},Object(w[\"a\"])(t,\"\".concat(u,\"-lg\"),\"large\"===e.size),Object(w[\"a\"])(t,\"\".concat(u,\"-sm\"),\"small\"===e.size),Object(w[\"a\"])(t,\"\".concat(u,\"-compact\"),e.compact),Object(w[\"a\"])(t,\"\".concat(u,\"-rtl\"),\"rtl\"===o),t),c),l=Object(j[\"useContext\"])(Ia),f=Object(j[\"useMemo\"])((function(){return Object(O[\"a\"])(Object(O[\"a\"])({},l),{isFormItemInput:!1})}),[l]);return j[\"createElement\"](\"span\",{className:s,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},j[\"createElement\"](Ia.Provider,{value:f},e.children))},Da=La,Ra=r(\"jN4g\");function Fa(e){return!(!e.addonBefore&&!e.addonAfter)}function Ba(e){return!!(e.prefix||e.suffix||e.allowClear)}function za(e,t,n,r){if(n){var o=t;if(\"click\"===t.type){var i=e.cloneNode(!0);return o=Object.create(t,{target:{value:i},currentTarget:{value:i}}),i.value=\"\",void n(o)}if(void 0!==r)return o=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,void n(o);n(o)}}function Ua(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var o=e.value.length;switch(r){case\"start\":e.setSelectionRange(0,0);break;case\"end\":e.setSelectionRange(o,o);break;default:e.setSelectionRange(0,o)}}}}function Ga(e){return\"undefined\"===typeof e||null===e?\"\":String(e)}var Va=function(e){var t=e.inputElement,n=e.prefixCls,r=e.prefix,o=e.suffix,i=e.addonBefore,a=e.addonAfter,c=e.className,u=e.style,s=e.affixWrapperClassName,l=e.groupClassName,f=e.wrapperClassName,d=e.disabled,h=e.readOnly,p=e.focused,v=e.triggerFocus,g=e.allowClear,m=e.value,y=e.handleReset,b=e.hidden,x=Object(j[\"useRef\"])(null),O=function(e){var t;null!==(t=x.current)&&void 0!==t&&t.contains(e.target)&&(null===v||void 0===v||v())},E=function(){var e;if(!g)return null;var t=!d&&!h&&m,r=\"\".concat(n,\"-clear-icon\"),i=\"object\"===Object(B[\"a\"])(g)&&null!==g&&void 0!==g&&g.clearIcon?g.clearIcon:\"\\u2716\";return k.a.createElement(\"span\",{onClick:y,onMouseDown:function(e){return e.preventDefault()},className:R()(r,(e={},Object(w[\"a\"])(e,\"\".concat(r,\"-hidden\"),!t),Object(w[\"a\"])(e,\"\".concat(r,\"-has-suffix\"),!!o),e)),role:\"button\",tabIndex:-1},i)},S=Object(j[\"cloneElement\"])(t,{value:m,hidden:b});if(Ba(e)){var _,C=\"\".concat(n,\"-affix-wrapper\"),M=R()(C,(_={},Object(w[\"a\"])(_,\"\".concat(C,\"-disabled\"),d),Object(w[\"a\"])(_,\"\".concat(C,\"-focused\"),p),Object(w[\"a\"])(_,\"\".concat(C,\"-readonly\"),h),Object(w[\"a\"])(_,\"\".concat(C,\"-input-with-clear-btn\"),o&&g&&m),_),!Fa(e)&&c,s),A=(o||g)&&k.a.createElement(\"span\",{className:\"\".concat(n,\"-suffix\")},E(),o);S=k.a.createElement(\"span\",{className:M,style:u,hidden:!Fa(e)&&b,onClick:O,ref:x},r&&k.a.createElement(\"span\",{className:\"\".concat(n,\"-prefix\")},r),Object(j[\"cloneElement\"])(t,{style:null,value:m,hidden:null}),A)}if(Fa(e)){var N=\"\".concat(n,\"-group\"),T=\"\".concat(N,\"-addon\"),I=R()(\"\".concat(n,\"-wrapper\"),N,f),P=R()(\"\".concat(n,\"-group-wrapper\"),c,l);return k.a.createElement(\"span\",{className:P,style:u,hidden:b},k.a.createElement(\"span\",{className:I},i&&k.a.createElement(\"span\",{className:T},i),Object(j[\"cloneElement\"])(S,{style:null,hidden:null}),a&&k.a.createElement(\"span\",{className:T},a)))}return S},Wa=Va,Ha=[\"autoComplete\",\"onChange\",\"onFocus\",\"onBlur\",\"onPressEnter\",\"onKeyDown\",\"prefixCls\",\"disabled\",\"htmlSize\",\"className\",\"maxLength\",\"suffix\",\"showCount\",\"type\",\"inputClassName\"],Ya=Object(j[\"forwardRef\"])((function(e,t){var n=e.autoComplete,r=e.onChange,o=e.onFocus,i=e.onBlur,a=e.onPressEnter,c=e.onKeyDown,u=e.prefixCls,s=void 0===u?\"rc-input\":u,l=e.disabled,f=e.htmlSize,d=e.className,h=e.maxLength,p=e.suffix,v=e.showCount,g=e.type,m=void 0===g?\"text\":g,y=e.inputClassName,b=Object(z[\"a\"])(e,Ha),x=Z(e.defaultValue,{value:e.value}),E=Object(F[\"a\"])(x,2),S=E[0],_=E[1],C=Object(j[\"useState\"])(!1),M=Object(F[\"a\"])(C,2),A=M[0],N=M[1],T=Object(j[\"useRef\"])(null),I=function(e){T.current&&Ua(T.current,e)};Object(j[\"useImperativeHandle\"])(t,(function(){return{focus:I,blur:function(){var e;null===(e=T.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=T.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=T.current)||void 0===e||e.select()},input:T.current}})),Object(j[\"useEffect\"])((function(){N((function(e){return(!e||!l)&&e}))}),[l]);var P=function(t){void 0===e.value&&_(t.target.value),T.current&&za(T.current,t,r)},L=function(e){a&&\"Enter\"===e.key&&a(e),null===c||void 0===c||c(e)},D=function(e){N(!0),null===o||void 0===o||o(e)},U=function(e){N(!1),null===i||void 0===i||i(e)},G=function(e){_(\"\"),I(),T.current&&za(T.current,e,r)},V=function(){var t=it(e,[\"prefixCls\",\"onPressEnter\",\"addonBefore\",\"addonAfter\",\"prefix\",\"suffix\",\"allowClear\",\"defaultValue\",\"showCount\",\"affixWrapperClassName\",\"groupClassName\",\"inputClassName\",\"wrapperClassName\",\"htmlSize\"]);return k.a.createElement(\"input\",Object(O[\"a\"])({autoComplete:n},t,{onChange:P,onFocus:D,onBlur:U,onKeyDown:L,className:R()(s,Object(w[\"a\"])({},\"\".concat(s,\"-disabled\"),l),y,!Fa(e)&&!Ba(e)&&d),ref:T,size:f,type:m}))},W=function(){var e=Number(h)>0;if(p||v){var t=Ga(S),n=Object(re[\"a\"])(t).length,r=\"object\"===Object(B[\"a\"])(v)?v.formatter({value:t,count:n,maxLength:h}):\"\".concat(n).concat(e?\" / \".concat(h):\"\");return k.a.createElement(k.a.Fragment,null,!!v&&k.a.createElement(\"span\",{className:R()(\"\".concat(s,\"-show-count-suffix\"),Object(w[\"a\"])({},\"\".concat(s,\"-show-count-has-suffix\"),!!p))},r),p)}return null};return k.a.createElement(Wa,Object(O[\"a\"])({},b,{prefixCls:s,className:d,inputElement:V(),handleReset:G,value:Ga(S),focused:A,triggerFocus:I,suffix:W(),disabled:l}))})),Xa=Ya,qa=Xa,Ka=r(\"caoh\"),Za=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},$a=j[\"createContext\"](null),Qa=function(e,t){var n=j[\"useContext\"]($a),r=j[\"useMemo\"]((function(){var r;if(!n)return\"\";var o=n.compactDirection,i=n.isFirstItem,a=n.isLastItem,c=\"vertical\"===o?\"-vertical-\":\"-\";return R()((r={},Object(w[\"a\"])(r,\"\".concat(e,\"-compact\").concat(c,\"item\"),!0),Object(w[\"a\"])(r,\"\".concat(e,\"-compact\").concat(c,\"first-item\"),i),Object(w[\"a\"])(r,\"\".concat(e,\"-compact\").concat(c,\"last-item\"),a),Object(w[\"a\"])(r,\"\".concat(e,\"-compact\").concat(c,\"item-rtl\"),\"rtl\"===t),r))}),[e,t,n]);return{compactSize:null===n||void 0===n?void 0:n.compactSize,compactDirection:null===n||void 0===n?void 0:n.compactDirection,compactItemClassnames:r}},Ja=function(e){var t=e.children;return j[\"createElement\"]($a.Provider,{value:null},t)},ec=function(e){var t=e.children,n=Za(e,[\"children\"]);return j[\"createElement\"]($a.Provider,{value:n},t)},tc=function(e){var t,n=j[\"useContext\"](Ri[\"b\"]),r=n.getPrefixCls,o=n.direction,i=e.size,a=void 0===i?\"middle\":i,c=e.direction,u=e.block,s=e.prefixCls,l=e.className,f=e.children,d=Za(e,[\"size\",\"direction\",\"block\",\"prefixCls\",\"className\",\"children\"]),h=r(\"space-compact\",s),p=R()(h,(t={},Object(w[\"a\"])(t,\"\".concat(h,\"-rtl\"),\"rtl\"===o),Object(w[\"a\"])(t,\"\".concat(h,\"-block\"),u),Object(w[\"a\"])(t,\"\".concat(h,\"-vertical\"),\"vertical\"===c),t),l),v=j[\"useContext\"]($a),g=Object(ae[\"a\"])(f),m=j[\"useMemo\"]((function(){return g.map((function(e,t){var n=e&&e.key||\"\".concat(h,\"-item-\").concat(t);return j[\"createElement\"](ec,{key:n,compactSize:a,compactDirection:c,isFirstItem:0===t&&(!v||(null===v||void 0===v?void 0:v.isFirstItem)),isLastItem:t===g.length-1&&(!v||(null===v||void 0===v?void 0:v.isLastItem))},e)}))}),[a,g,v]);return 0===g.length?null:j[\"createElement\"](\"div\",Object(O[\"a\"])({className:p},d),m)},nc=tc;Bi(\"warning\",\"error\",\"\");function rc(e,t,n){var r;return R()((r={},Object(w[\"a\"])(r,\"\".concat(e,\"-status-success\"),\"success\"===t),Object(w[\"a\"])(r,\"\".concat(e,\"-status-warning\"),\"warning\"===t),Object(w[\"a\"])(r,\"\".concat(e,\"-status-error\"),\"error\"===t),Object(w[\"a\"])(r,\"\".concat(e,\"-status-validating\"),\"validating\"===t),Object(w[\"a\"])(r,\"\".concat(e,\"-has-feedback\"),n),r))}var oc=function(e,t){return t||e};function ic(e,t){var n=Object(j[\"useRef\"])([]),r=function(){n.current.push(setTimeout((function(){var t,n,r,o;(null===(t=e.current)||void 0===t?void 0:t.input)&&\"password\"===(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute(\"type\"))&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute(\"value\"))&&(null===(o=e.current)||void 0===o||o.input.removeAttribute(\"value\"))})))};return Object(j[\"useEffect\"])((function(){return t&&r(),function(){return n.current.forEach((function(e){e&&clearTimeout(e)}))}}),[]),r}function ac(e){return!!(e.prefix||e.suffix||e.allowClear)}var cc=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function uc(e){return\"undefined\"===typeof e||null===e?\"\":String(e)}function sc(e,t,n,r){if(n){var o=t;if(\"click\"===t.type){var i=e.cloneNode(!0);return o=Object.create(t,{target:{value:i},currentTarget:{value:i}}),i.value=\"\",void n(o)}if(void 0!==r)return o=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,void n(o);n(o)}}function lc(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var o=e.value.length;switch(r){case\"start\":e.setSelectionRange(0,0);break;case\"end\":e.setSelectionRange(o,o);break;default:e.setSelectionRange(0,o);break}}}}var fc=Object(j[\"forwardRef\"])((function(e,t){var n,r,o,i=e.prefixCls,a=e.bordered,c=void 0===a||a,u=e.status,s=e.size,l=e.disabled,f=e.onBlur,d=e.onFocus,h=e.suffix,p=e.allowClear,v=e.addonAfter,g=e.addonBefore,m=e.className,y=e.onChange,b=cc(e,[\"prefixCls\",\"bordered\",\"status\",\"size\",\"disabled\",\"onBlur\",\"onFocus\",\"suffix\",\"allowClear\",\"addonAfter\",\"addonBefore\",\"className\",\"onChange\"]),x=k.a.useContext(Ri[\"b\"]),E=x.getPrefixCls,S=x.direction,_=x.input,C=E(\"input\",i),M=Object(j[\"useRef\"])(null),A=Qa(C,S),N=A.compactSize,T=A.compactItemClassnames,I=k.a.useContext(Fi[\"b\"]),P=N||s||I,L=k.a.useContext(Ka[\"b\"]),D=null!==l&&void 0!==l?l:L,F=Object(j[\"useContext\"])(Ia),z=F.status,U=F.hasFeedback,G=F.feedbackIcon,V=oc(z,u),W=ac(e)||!!U,H=Object(j[\"useRef\"])(W);Object(j[\"useEffect\"])((function(){W&&H.current,H.current=W}),[W]);var Y,X=ic(M,!0),q=function(e){X(),null===f||void 0===f||f(e)},K=function(e){X(),null===d||void 0===d||d(e)},Z=function(e){X(),null===y||void 0===y||y(e)},$=(U||h)&&k.a.createElement(k.a.Fragment,null,h,U&&G);return\"object\"===Object(B[\"a\"])(p)&&(null===p||void 0===p?void 0:p.clearIcon)?Y=p:p&&(Y={clearIcon:k.a.createElement(Ra[\"a\"],null)}),k.a.createElement(qa,Object(O[\"a\"])({ref:Object(ie[\"a\"])(t,M),prefixCls:C,autoComplete:null===_||void 0===_?void 0:_.autoComplete},b,{disabled:D||void 0,onBlur:q,onFocus:K,suffix:$,allowClear:Y,className:R()(m,T),onChange:Z,addonAfter:v&&k.a.createElement(Ja,null,k.a.createElement(Pa,{override:!0,status:!0},v)),addonBefore:g&&k.a.createElement(Ja,null,k.a.createElement(Pa,{override:!0,status:!0},g)),inputClassName:R()((n={},Object(w[\"a\"])(n,\"\".concat(C,\"-sm\"),\"small\"===P),Object(w[\"a\"])(n,\"\".concat(C,\"-lg\"),\"large\"===P),Object(w[\"a\"])(n,\"\".concat(C,\"-rtl\"),\"rtl\"===S),Object(w[\"a\"])(n,\"\".concat(C,\"-borderless\"),!c),n),!W&&rc(C,V)),affixWrapperClassName:R()((r={},Object(w[\"a\"])(r,\"\".concat(C,\"-affix-wrapper-sm\"),\"small\"===P),Object(w[\"a\"])(r,\"\".concat(C,\"-affix-wrapper-lg\"),\"large\"===P),Object(w[\"a\"])(r,\"\".concat(C,\"-affix-wrapper-rtl\"),\"rtl\"===S),Object(w[\"a\"])(r,\"\".concat(C,\"-affix-wrapper-borderless\"),!c),r),rc(\"\".concat(C,\"-affix-wrapper\"),V,U)),wrapperClassName:R()(Object(w[\"a\"])({},\"\".concat(C,\"-group-rtl\"),\"rtl\"===S)),groupClassName:R()((o={},Object(w[\"a\"])(o,\"\".concat(C,\"-group-wrapper-sm\"),\"small\"===P),Object(w[\"a\"])(o,\"\".concat(C,\"-group-wrapper-lg\"),\"large\"===P),Object(w[\"a\"])(o,\"\".concat(C,\"-group-wrapper-rtl\"),\"rtl\"===S),o),rc(\"\".concat(C,\"-group-wrapper\"),V,U))}))})),dc=fc,hc={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z\"}},{tag:\"path\",attrs:{d:\"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z\"}}]},name:\"eye-invisible\",theme:\"outlined\"},pc=hc,vc=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:pc}))};vc.displayName=\"EyeInvisibleOutlined\";var gc=j[\"forwardRef\"](vc),mc={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z\"}}]},name:\"eye\",theme:\"outlined\"},yc=mc,bc=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:yc}))};bc.displayName=\"EyeOutlined\";var xc=j[\"forwardRef\"](bc),wc=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Oc=function(e){return e?j[\"createElement\"](xc,null):j[\"createElement\"](gc,null)},Ec={click:\"onClick\",hover:\"onMouseOver\"},Sc=j[\"forwardRef\"]((function(e,t){var n=e.visibilityToggle,r=void 0===n||n,o=\"object\"===Object(B[\"a\"])(r)&&void 0!==r.visible,i=Object(j[\"useState\"])((function(){return!!o&&r.visible})),a=Object(F[\"a\"])(i,2),c=a[0],u=a[1],s=Object(j[\"useRef\"])(null);j[\"useEffect\"]((function(){o&&u(r.visible)}),[o,r]);var l=ic(s),f=function(){var t=e.disabled;t||(c&&l(),u((function(e){var t,n=!e;return\"object\"===Object(B[\"a\"])(r)&&(null===(t=r.onVisibleChange)||void 0===t||t.call(r,n)),n})))},d=function(t){var n,r=e.action,o=void 0===r?\"click\":r,i=e.iconRender,a=void 0===i?Oc:i,u=Ec[o]||\"\",s=a(c),l=(n={},Object(w[\"a\"])(n,u,f),Object(w[\"a\"])(n,\"className\",\"\".concat(t,\"-icon\")),Object(w[\"a\"])(n,\"key\",\"passwordIcon\"),Object(w[\"a\"])(n,\"onMouseDown\",(function(e){e.preventDefault()})),Object(w[\"a\"])(n,\"onMouseUp\",(function(e){e.preventDefault()})),n);return j[\"cloneElement\"](j[\"isValidElement\"](s)?s:j[\"createElement\"](\"span\",null,s),l)},h=function(n){var o=n.getPrefixCls,i=e.className,a=e.prefixCls,u=e.inputPrefixCls,l=e.size,f=wc(e,[\"className\",\"prefixCls\",\"inputPrefixCls\",\"size\"]),h=o(\"input\",u),p=o(\"input-password\",a),v=r&&d(p),g=R()(p,i,Object(w[\"a\"])({},\"\".concat(p,\"-\").concat(l),!!l)),m=Object(O[\"a\"])(Object(O[\"a\"])({},it(f,[\"suffix\",\"iconRender\",\"visibilityToggle\"])),{type:c?\"text\":\"password\",className:g,prefixCls:h,suffix:v});return l&&(m.size=l),j[\"createElement\"](dc,Object(O[\"a\"])({ref:Object(ie[\"a\"])(t,s)},m))};return j[\"createElement\"](Ri[\"a\"],null,h)}));var jc=Sc,kc={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z\"}}]},name:\"search\",theme:\"outlined\"},_c=kc,Cc=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:_c}))};Cc.displayName=\"SearchOutlined\";var Mc,Ac=j[\"forwardRef\"](Cc),Nc=r(\"BU3w\"),Tc=0,Ic={};function Pc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=Tc++,r=t;function o(){r-=1,r<=0?(e(),delete Ic[n]):Ic[n]=Object(oe[\"a\"])(o)}return Ic[n]=Object(oe[\"a\"])(o),n}function Lc(e){return!e||null===e.offsetParent||e.hidden}function Dc(e){return e instanceof Document?e.body:Array.from(e.childNodes).find((function(e){return(null===e||void 0===e?void 0:e.nodeType)===Node.ELEMENT_NODE}))}function Rc(e){var t=(e||\"\").match(/rgba?\\((\\d*), (\\d*), (\\d*)(, [\\d.]*)?\\)/);return!(t&&t[1]&&t[2]&&t[3])||!(t[1]===t[2]&&t[2]===t[3])}Pc.cancel=function(e){void 0!==e&&(oe[\"a\"].cancel(Ic[e]),delete Ic[e])},Pc.ids=Ic;var Fc=function(e){Object(me[\"a\"])(n,e);var t=Object(ye[\"a\"])(n);function n(){var e;return Object(ve[\"a\"])(this,n),e=t.apply(this,arguments),e.containerRef=j[\"createRef\"](),e.animationStart=!1,e.destroyed=!1,e.onClick=function(t,n){var r,o,i=e.props,a=i.insertExtraNode,c=i.disabled;if(!c&&t&&!Lc(t)&&!t.className.includes(\"-leave\")){e.extraNode=document.createElement(\"div\");var u=Object(Vt[\"a\"])(e),s=u.extraNode,l=e.context.getPrefixCls;s.className=\"\".concat(l(\"\"),\"-click-animating-node\");var f=e.getAttributeName();if(t.setAttribute(f,\"true\"),n&&\"#fff\"!==n&&\"#ffffff\"!==n&&\"rgb(255, 255, 255)\"!==n&&\"rgba(255, 255, 255, 1)\"!==n&&Rc(n)&&!/rgba\\((?:\\d*, ){3}0\\)/.test(n)&&\"transparent\"!==n){s.style.borderColor=n;var d=(null===(r=t.getRootNode)||void 0===r?void 0:r.call(t))||t.ownerDocument,h=null!==(o=Dc(d))&&void 0!==o?o:d;Mc=Object(Nc[\"b\"])(\"\\n      [\".concat(l(\"\"),\"-click-animating-without-extra-node='true']::after, .\").concat(l(\"\"),\"-click-animating-node {\\n        --antd-wave-shadow-color: \").concat(n,\";\\n      }\"),\"antd-wave\",{csp:e.csp,attachTo:h})}a&&t.appendChild(s),[\"transition\",\"animation\"].forEach((function(n){t.addEventListener(\"\".concat(n,\"start\"),e.onTransitionStart),t.addEventListener(\"\".concat(n,\"end\"),e.onTransitionEnd)}))}},e.onTransitionStart=function(t){if(!e.destroyed){var n=e.containerRef.current;t&&t.target===n&&!e.animationStart&&e.resetEffect(n)}},e.onTransitionEnd=function(t){t&&\"fadeEffect\"===t.animationName&&e.resetEffect(t.target)},e.bindAnimationEvent=function(t){if(t&&t.getAttribute&&!t.getAttribute(\"disabled\")&&!t.className.includes(\"disabled\")){var n=function(n){if(\"INPUT\"!==n.target.tagName&&!Lc(n.target)){e.resetEffect(t);var r=getComputedStyle(t).getPropertyValue(\"border-top-color\")||getComputedStyle(t).getPropertyValue(\"border-color\")||getComputedStyle(t).getPropertyValue(\"background-color\");e.clickWaveTimeoutId=window.setTimeout((function(){return e.onClick(t,r)}),0),Pc.cancel(e.animationStartId),e.animationStart=!0,e.animationStartId=Pc((function(){e.animationStart=!1}),10)}};return t.addEventListener(\"click\",n,!0),{cancel:function(){t.removeEventListener(\"click\",n,!0)}}}},e.renderWave=function(t){var n=t.csp,r=e.props.children;if(e.csp=n,!j[\"isValidElement\"](r))return r;var o=e.containerRef;return Object(ie[\"c\"])(r)&&(o=Object(ie[\"a\"])(r.ref,e.containerRef)),Sa(r,{ref:o})},e}return Object(ge[\"a\"])(n,[{key:\"componentDidMount\",value:function(){this.destroyed=!1;var e=this.containerRef.current;e&&1===e.nodeType&&(this.instance=this.bindAnimationEvent(e))}},{key:\"componentWillUnmount\",value:function(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroyed=!0}},{key:\"getAttributeName\",value:function(){var e=this.context.getPrefixCls,t=this.props.insertExtraNode;return\"\".concat(e(\"\"),t?\"-click-animating\":\"-click-animating-without-extra-node\")}},{key:\"resetEffect\",value:function(e){var t=this;if(e&&e!==this.extraNode&&e instanceof Element){var n=this.props.insertExtraNode,r=this.getAttributeName();e.setAttribute(r,\"false\"),Mc&&(Mc.innerHTML=\"\"),n&&this.extraNode&&e.contains(this.extraNode)&&e.removeChild(this.extraNode),[\"transition\",\"animation\"].forEach((function(n){e.removeEventListener(\"\".concat(n,\"start\"),t.onTransitionStart),e.removeEventListener(\"\".concat(n,\"end\"),t.onTransitionEnd)}))}}},{key:\"render\",value:function(){return j[\"createElement\"](Ri[\"a\"],null,this.renderWave)}}]),n}(j[\"Component\"]);Fc.contextType=Ri[\"b\"];var Bc=Fc,zc=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Uc=j[\"createContext\"](void 0),Gc=function(e){var t,n=j[\"useContext\"](Ri[\"b\"]),r=n.getPrefixCls,o=n.direction,i=e.prefixCls,a=e.size,c=e.className,u=zc(e,[\"prefixCls\",\"size\",\"className\"]),s=r(\"btn-group\",i),l=\"\";switch(a){case\"large\":l=\"lg\";break;case\"small\":l=\"sm\";break;case\"middle\":case void 0:break;default:}var f=R()(s,(t={},Object(w[\"a\"])(t,\"\".concat(s,\"-\").concat(l),l),Object(w[\"a\"])(t,\"\".concat(s,\"-rtl\"),\"rtl\"===o),t),c);return j[\"createElement\"](Uc.Provider,{value:a},j[\"createElement\"](\"div\",Object(O[\"a\"])({},u,{className:f})))},Vc=Gc,Wc=r(\"ye1Q\"),Hc=function(){return{width:0,opacity:0,transform:\"scale(0)\"}},Yc=function(e){return{width:e.scrollWidth,opacity:1,transform:\"scale(1)\"}},Xc=function(e){var t=e.prefixCls,n=e.loading,r=e.existIcon,o=!!n;return r?k.a.createElement(\"span\",{className:\"\".concat(t,\"-loading-icon\")},k.a.createElement(Wc[\"a\"],null)):k.a.createElement($[\"b\"],{visible:o,motionName:\"\".concat(t,\"-loading-icon-motion\"),removeOnLeave:!0,onAppearStart:Hc,onAppearActive:Yc,onEnterStart:Hc,onEnterActive:Yc,onLeaveStart:Yc,onLeaveActive:Hc},(function(e,n){var r=e.className,o=e.style;return k.a.createElement(\"span\",{className:\"\".concat(t,\"-loading-icon\"),style:o,ref:n},k.a.createElement(Wc[\"a\"],{className:r}))}))},qc=Xc,Kc=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Zc=/^[\\u4e00-\\u9fa5]{2}$/,$c=Zc.test.bind(Zc);function Qc(e){return\"string\"===typeof e}function Jc(e){return\"text\"===e||\"link\"===e}function eu(e,t){if(null!==e&&void 0!==e){var n=t?\" \":\"\";return\"string\"!==typeof e&&\"number\"!==typeof e&&Qc(e.type)&&$c(e.props.children)?Sa(e,{children:e.props.children.split(\"\").join(n)}):\"string\"===typeof e?$c(e)?j[\"createElement\"](\"span\",null,e.split(\"\").join(n)):j[\"createElement\"](\"span\",null,e):Oa(e)?j[\"createElement\"](\"span\",null,e):e}}function tu(e,t){var n=!1,r=[];return j[\"Children\"].forEach(e,(function(e){var t=Object(B[\"a\"])(e),o=\"string\"===t||\"number\"===t;if(n&&o){var i=r.length-1,a=r[i];r[i]=\"\".concat(a).concat(e)}else r.push(e);n=o})),j[\"Children\"].map(r,(function(e){return eu(e,t)}))}Bi(\"default\",\"primary\",\"ghost\",\"dashed\",\"link\",\"text\"),Bi(\"default\",\"circle\",\"round\"),Bi(\"submit\",\"button\",\"reset\");var nu=function(e,t){var n,r=e.loading,o=void 0!==r&&r,i=e.prefixCls,a=e.type,c=void 0===a?\"default\":a,u=e.danger,s=e.shape,l=void 0===s?\"default\":s,f=e.size,d=e.disabled,h=e.className,p=e.children,v=e.icon,g=e.ghost,m=void 0!==g&&g,y=e.block,b=void 0!==y&&y,x=e.htmlType,E=void 0===x?\"button\":x,S=Kc(e,[\"loading\",\"prefixCls\",\"type\",\"danger\",\"shape\",\"size\",\"disabled\",\"className\",\"children\",\"icon\",\"ghost\",\"block\",\"htmlType\"]),k=j[\"useContext\"](Fi[\"b\"]),_=j[\"useContext\"](Ka[\"b\"]),C=null!==d&&void 0!==d?d:_,M=j[\"useContext\"](Uc),A=j[\"useState\"](!!o),N=Object(F[\"a\"])(A,2),T=N[0],I=N[1],P=j[\"useState\"](!1),L=Object(F[\"a\"])(P,2),D=L[0],B=L[1],z=j[\"useContext\"](Ri[\"b\"]),U=z.getPrefixCls,G=z.autoInsertSpaceInButton,V=z.direction,W=t||j[\"createRef\"](),H=function(){return 1===j[\"Children\"].count(p)&&!v&&!Jc(c)},Y=function(){if(W&&W.current&&!1!==G){var e=W.current.textContent;H()&&$c(e)?D||B(!0):D&&B(!1)}},X=\"boolean\"===typeof o?o:(null===o||void 0===o?void 0:o.delay)||!0;j[\"useEffect\"]((function(){var e=null;return\"number\"===typeof X?e=window.setTimeout((function(){e=null,I(X)}),X):I(X),function(){e&&(window.clearTimeout(e),e=null)}}),[X]),j[\"useEffect\"](Y,[W]);var q=function(t){var n=e.onClick;T||C?t.preventDefault():null===n||void 0===n||n(t)},K=U(\"btn\",i),Z=!1!==G,$=Qa(K,V),Q=$.compactSize,J=$.compactItemClassnames,ee={large:\"lg\",small:\"sm\",middle:void 0},te=Q||M||f||k,ne=te&&ee[te]||\"\",re=T?\"loading\":v,oe=it(S,[\"navigate\"]),ie=R()(K,(n={},Object(w[\"a\"])(n,\"\".concat(K,\"-\").concat(l),\"default\"!==l&&l),Object(w[\"a\"])(n,\"\".concat(K,\"-\").concat(c),c),Object(w[\"a\"])(n,\"\".concat(K,\"-\").concat(ne),ne),Object(w[\"a\"])(n,\"\".concat(K,\"-icon-only\"),!p&&0!==p&&!!re),Object(w[\"a\"])(n,\"\".concat(K,\"-background-ghost\"),m&&!Jc(c)),Object(w[\"a\"])(n,\"\".concat(K,\"-loading\"),T),Object(w[\"a\"])(n,\"\".concat(K,\"-two-chinese-chars\"),D&&Z&&!T),Object(w[\"a\"])(n,\"\".concat(K,\"-block\"),b),Object(w[\"a\"])(n,\"\".concat(K,\"-dangerous\"),!!u),Object(w[\"a\"])(n,\"\".concat(K,\"-rtl\"),\"rtl\"===V),Object(w[\"a\"])(n,\"\".concat(K,\"-disabled\"),void 0!==oe.href&&C),n),J,h),ae=v&&!T?v:j[\"createElement\"](qc,{existIcon:!!v,prefixCls:K,loading:!!T}),ce=p||0===p?tu(p,H()&&Z):null;if(void 0!==oe.href)return j[\"createElement\"](\"a\",Object(O[\"a\"])({},oe,{className:ie,onClick:q,ref:W}),ae,ce);var ue=j[\"createElement\"](\"button\",Object(O[\"a\"])({},S,{type:E,className:ie,onClick:q,disabled:C,ref:W}),ae,ce);return Jc(c)?ue:j[\"createElement\"](Bc,{disabled:!!T},ue)},ru=j[\"forwardRef\"](nu);ru.Group=Vc,ru.__ANT_BUTTON=!0;var ou=ru,iu=ou,au=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},cu=j[\"forwardRef\"]((function(e,t){var n,r,o=e.prefixCls,i=e.inputPrefixCls,a=e.className,c=e.size,u=e.suffix,s=e.enterButton,l=void 0!==s&&s,f=e.addonAfter,d=e.loading,h=e.disabled,p=e.onSearch,v=e.onChange,g=e.onCompositionStart,m=e.onCompositionEnd,y=au(e,[\"prefixCls\",\"inputPrefixCls\",\"className\",\"size\",\"suffix\",\"enterButton\",\"addonAfter\",\"loading\",\"disabled\",\"onSearch\",\"onChange\",\"onCompositionStart\",\"onCompositionEnd\"]),b=j[\"useContext\"](Ri[\"b\"]),x=b.getPrefixCls,E=b.direction,S=j[\"useContext\"](Fi[\"b\"]),k=j[\"useRef\"](!1),_=x(\"input-search\",o),C=x(\"input\",i),M=Qa(_,E),A=M.compactSize,N=A||c||S,T=j[\"useRef\"](null),I=function(e){e&&e.target&&\"click\"===e.type&&p&&p(e.target.value,e),v&&v(e)},P=function(e){var t;document.activeElement===(null===(t=T.current)||void 0===t?void 0:t.input)&&e.preventDefault()},L=function(e){var t,n;p&&p(null===(n=null===(t=T.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e)},D=function(e){k.current||d||L(e)},F=\"boolean\"===typeof l?j[\"createElement\"](Ac,null):null,B=\"\".concat(_,\"-button\"),z=l||{},U=z.type&&!0===z.type.__ANT_BUTTON;r=U||\"button\"===z.type?Sa(z,Object(O[\"a\"])({onMouseDown:P,onClick:function(e){var t,n;null===(n=null===(t=null===z||void 0===z?void 0:z.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),L(e)},key:\"enterButton\"},U?{className:B,size:N}:{})):j[\"createElement\"](iu,{className:B,type:l?\"primary\":void 0,size:N,disabled:h,key:\"enterButton\",onMouseDown:P,onClick:L,loading:d,icon:F},l),f&&(r=[r,Sa(f,{key:\"addonAfter\"})]);var G=R()(_,(n={},Object(w[\"a\"])(n,\"\".concat(_,\"-rtl\"),\"rtl\"===E),Object(w[\"a\"])(n,\"\".concat(_,\"-\").concat(N),!!N),Object(w[\"a\"])(n,\"\".concat(_,\"-with-button\"),!!l),n),a),V=function(e){k.current=!0,null===g||void 0===g||g(e)},W=function(e){k.current=!1,null===m||void 0===m||m(e)};return j[\"createElement\"](dc,Object(O[\"a\"])({ref:Object(ie[\"a\"])(T,t),onPressEnter:D},y,{size:N,onCompositionStart:V,onCompositionEnd:W,prefixCls:C,addonAfter:r,suffix:u,onChange:I,className:G,disabled:h}))}));var uu,su=cu,lu=\"\\n  min-height:0 !important;\\n  max-height:none !important;\\n  height:0 !important;\\n  visibility:hidden !important;\\n  overflow:hidden !important;\\n  position:absolute !important;\\n  z-index:-1000 !important;\\n  top:0 !important;\\n  right:0 !important;\\n  pointer-events: none !important;\\n\",fu=[\"letter-spacing\",\"line-height\",\"padding-top\",\"padding-bottom\",\"font-family\",\"font-weight\",\"font-size\",\"font-variant\",\"text-rendering\",\"text-transform\",\"width\",\"text-indent\",\"padding-left\",\"padding-right\",\"border-width\",\"box-sizing\",\"word-break\"],du={};function hu(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute(\"id\")||e.getAttribute(\"data-reactid\")||e.getAttribute(\"name\");if(t&&du[n])return du[n];var r=window.getComputedStyle(e),o=r.getPropertyValue(\"box-sizing\")||r.getPropertyValue(\"-moz-box-sizing\")||r.getPropertyValue(\"-webkit-box-sizing\"),i=parseFloat(r.getPropertyValue(\"padding-bottom\"))+parseFloat(r.getPropertyValue(\"padding-top\")),a=parseFloat(r.getPropertyValue(\"border-bottom-width\"))+parseFloat(r.getPropertyValue(\"border-top-width\")),c=fu.map((function(e){return\"\".concat(e,\":\").concat(r.getPropertyValue(e))})).join(\";\"),u={sizingStyle:c,paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(du[n]=u),u}function pu(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;uu||(uu=document.createElement(\"textarea\"),uu.setAttribute(\"tab-index\",\"-1\"),uu.setAttribute(\"aria-hidden\",\"true\"),document.body.appendChild(uu)),e.getAttribute(\"wrap\")?uu.setAttribute(\"wrap\",e.getAttribute(\"wrap\")):uu.removeAttribute(\"wrap\");var o=hu(e,t),i=o.paddingSize,a=o.borderSize,c=o.boxSizing,u=o.sizingStyle;uu.setAttribute(\"style\",\"\".concat(u,\";\").concat(lu)),uu.value=e.value||e.placeholder||\"\";var s,l=void 0,f=void 0,d=uu.scrollHeight;if(\"border-box\"===c?d+=a:\"content-box\"===c&&(d-=i),null!==n||null!==r){uu.value=\" \";var h=uu.scrollHeight-i;null!==n&&(l=h*n,\"border-box\"===c&&(l=l+i+a),d=Math.max(l,d)),null!==r&&(f=h*r,\"border-box\"===c&&(f=f+i+a),s=d>f?\"\":\"hidden\",d=Math.min(f,d))}var p={height:d,overflowY:s,resize:\"none\"};return l&&(p.minHeight=l),f&&(p.maxHeight=f),p}var vu=[\"prefixCls\",\"onPressEnter\",\"defaultValue\",\"value\",\"autoSize\",\"onResize\",\"className\",\"style\",\"disabled\",\"onChange\",\"onInternalAutoSize\"],gu=0,mu=1,yu=2,bu=j[\"forwardRef\"]((function(e,t){var n=e.prefixCls,r=void 0===n?\"rc-textarea\":n,o=(e.onPressEnter,e.defaultValue),i=e.value,a=e.autoSize,c=e.onResize,u=e.className,s=e.style,l=e.disabled,f=e.onChange,d=(e.onInternalAutoSize,Object(z[\"a\"])(e,vu)),h=Z(o,{value:i,postState:function(e){return null!==e&&void 0!==e?e:\"\"}}),p=Object(F[\"a\"])(h,2),v=p[0],g=p[1],m=function(e){g(e.target.value),null===f||void 0===f||f(e)},y=j[\"useRef\"]();j[\"useImperativeHandle\"](t,(function(){return{textArea:y.current}}));var b=j[\"useMemo\"]((function(){return a&&\"object\"===Object(B[\"a\"])(a)?[a.minRows,a.maxRows]:[]}),[a]),x=Object(F[\"a\"])(b,2),E=x[0],k=x[1],_=!!a,C=function(){try{if(document.activeElement===y.current){var e=y.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;y.current.setSelectionRange(t,n),y.current.scrollTop=r}}catch(o){}},M=j[\"useState\"](yu),A=Object(F[\"a\"])(M,2),N=A[0],T=A[1],I=j[\"useState\"](),P=Object(F[\"a\"])(I,2),L=P[0],D=P[1],U=function(){T(gu)};Y((function(){_&&U()}),[i,E,k,_]),Y((function(){if(N===gu)T(mu);else if(N===mu){var e=pu(y.current,!1,E,k);T(yu),D(e)}else C()}),[N]);var G=j[\"useRef\"](),V=function(){oe[\"a\"].cancel(G.current)},W=function(e){N===yu&&(null===c||void 0===c||c(e),a&&(V(),G.current=Object(oe[\"a\"])((function(){U()}))))};j[\"useEffect\"]((function(){return V}),[]);var H=_?L:null,X=Object(S[\"a\"])(Object(S[\"a\"])({},s),H);return N!==gu&&N!==mu||(X.overflowY=\"hidden\",X.overflowX=\"hidden\"),j[\"createElement\"](je,{onResize:W,disabled:!(a||c)},j[\"createElement\"](\"textarea\",Object(O[\"a\"])({},d,{ref:y,style:X,className:R()(r,u,Object(w[\"a\"])({},\"\".concat(r,\"-disabled\"),l)),disabled:l,value:v,onChange:m})))})),xu=bu,wu=function(e){Object(me[\"a\"])(n,e);var t=Object(ye[\"a\"])(n);function n(e){var r;Object(ve[\"a\"])(this,n),r=t.call(this,e),r.resizableTextArea=void 0,r.focus=function(){r.resizableTextArea.textArea.focus()},r.saveTextArea=function(e){r.resizableTextArea=e},r.handleChange=function(e){var t=r.props.onChange;r.setValue(e.target.value),t&&t(e)},r.handleKeyDown=function(e){var t=r.props,n=t.onPressEnter,o=t.onKeyDown;13===e.keyCode&&n&&n(e),o&&o(e)};var o=\"undefined\"===typeof e.value||null===e.value?e.defaultValue:e.value;return r.state={value:o},r}return Object(ge[\"a\"])(n,[{key:\"setValue\",value:function(e,t){\"value\"in this.props||this.setState({value:e},t)}},{key:\"blur\",value:function(){this.resizableTextArea.textArea.blur()}},{key:\"render\",value:function(){return j[\"createElement\"](xu,Object(O[\"a\"])({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:\"getDerivedStateFromProps\",value:function(e){return\"value\"in e?{value:e.value}:null}}]),n}(j[\"Component\"]),Ou=wu,Eu=Bi(\"text\",\"input\");function Su(e){return!(!e.addonBefore&&!e.addonAfter)}var ju=function(e){Object(me[\"a\"])(n,e);var t=Object(ye[\"a\"])(n);function n(){return Object(ve[\"a\"])(this,n),t.apply(this,arguments)}return Object(ge[\"a\"])(n,[{key:\"renderClearIcon\",value:function(e){var t,n=this.props,r=n.value,o=n.disabled,i=n.readOnly,a=n.handleReset,c=n.suffix,u=!o&&!i&&r,s=\"\".concat(e,\"-clear-icon\");return j[\"createElement\"](Ra[\"a\"],{onClick:a,onMouseDown:function(e){return e.preventDefault()},className:R()((t={},Object(w[\"a\"])(t,\"\".concat(s,\"-hidden\"),!u),Object(w[\"a\"])(t,\"\".concat(s,\"-has-suffix\"),!!c),t),s),role:\"button\"})}},{key:\"renderTextAreaWithClearIcon\",value:function(e,t,n){var r,o=this.props,i=o.value,a=o.allowClear,c=o.className,u=o.style,s=o.direction,l=o.bordered,f=o.hidden,d=o.status,h=n.status,p=n.hasFeedback;if(!a)return Sa(t,{value:i});var v=R()(\"\".concat(e,\"-affix-wrapper\"),\"\".concat(e,\"-affix-wrapper-textarea-with-clear-btn\"),rc(\"\".concat(e,\"-affix-wrapper\"),oc(h,d),p),(r={},Object(w[\"a\"])(r,\"\".concat(e,\"-affix-wrapper-rtl\"),\"rtl\"===s),Object(w[\"a\"])(r,\"\".concat(e,\"-affix-wrapper-borderless\"),!l),Object(w[\"a\"])(r,\"\".concat(c),!Su(this.props)&&c),r));return j[\"createElement\"](\"span\",{className:v,style:u,hidden:f},Sa(t,{style:null,value:i}),this.renderClearIcon(e))}},{key:\"render\",value:function(){var e=this;return j[\"createElement\"](Ia.Consumer,null,(function(t){var n=e.props,r=n.prefixCls,o=n.inputType,i=n.element;if(o===Eu[0])return e.renderTextAreaWithClearIcon(r,i,t)}))}}]),n}(j[\"Component\"]),ku=ju,_u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function Cu(e,t){return Object(re[\"a\"])(e||\"\").slice(0,t).join(\"\")}function Mu(e,t,n,r){var o=n;return e?o=Cu(n,r):Object(re[\"a\"])(t||\"\").length<n.length&&Object(re[\"a\"])(n||\"\").length>r&&(o=t),o}var Au=j[\"forwardRef\"]((function(e,t){var n,r=e.prefixCls,o=e.bordered,i=void 0===o||o,a=e.showCount,c=void 0!==a&&a,u=e.maxLength,s=e.className,l=e.style,f=e.size,d=e.disabled,h=e.onCompositionStart,p=e.onCompositionEnd,v=e.onChange,g=e.status,m=_u(e,[\"prefixCls\",\"bordered\",\"showCount\",\"maxLength\",\"className\",\"style\",\"size\",\"disabled\",\"onCompositionStart\",\"onCompositionEnd\",\"onChange\",\"status\"]),y=j[\"useContext\"](Ri[\"b\"]),b=y.getPrefixCls,x=y.direction,E=j[\"useContext\"](Fi[\"b\"]),S=j[\"useContext\"](Ka[\"b\"]),k=null!==d&&void 0!==d?d:S,_=j[\"useContext\"](Ia),C=_.status,M=_.hasFeedback,A=_.isFormItemInput,N=_.feedbackIcon,T=oc(C,g),I=j[\"useRef\"](null),P=j[\"useRef\"](null),L=j[\"useState\"](!1),D=Object(F[\"a\"])(L,2),z=D[0],U=D[1],G=j[\"useRef\"](),V=j[\"useRef\"](0),W=Z(m.defaultValue,{value:m.value}),H=Object(F[\"a\"])(W,2),Y=H[0],X=H[1],q=m.hidden,K=function(e,t){void 0===m.value&&(X(e),null===t||void 0===t||t())},$=Number(u)>0,Q=function(e){U(!0),G.current=Y,V.current=e.currentTarget.selectionStart,null===h||void 0===h||h(e)},J=function(e){var t;U(!1);var n=e.currentTarget.value;if($){var r=V.current>=u+1||V.current===(null===(t=G.current)||void 0===t?void 0:t.length);n=Mu(r,G.current,n,u)}n!==Y&&(K(n),sc(e.currentTarget,e,v,n)),null===p||void 0===p||p(e)},ee=function(e){var t=e.target.value;if(!z&&$){var n=e.target.selectionStart>=u+1||e.target.selectionStart===t.length||!e.target.selectionStart;t=Mu(n,Y,t,u)}K(t),sc(e.currentTarget,e,v,t)},te=function(e){var t,n,r;K(\"\"),null===(t=I.current)||void 0===t||t.focus(),sc(null===(r=null===(n=I.current)||void 0===n?void 0:n.resizableTextArea)||void 0===r?void 0:r.textArea,e,v)},ne=b(\"input\",r);j[\"useImperativeHandle\"](t,(function(){var e;return{resizableTextArea:null===(e=I.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,n;lc(null===(n=null===(t=I.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:function(){var e;return null===(e=I.current)||void 0===e?void 0:e.blur()}}}));var oe=j[\"createElement\"](Ou,Object(O[\"a\"])({},it(m,[\"allowClear\"]),{disabled:k,className:R()((n={},Object(w[\"a\"])(n,\"\".concat(ne,\"-borderless\"),!i),Object(w[\"a\"])(n,s,s&&!c),Object(w[\"a\"])(n,\"\".concat(ne,\"-sm\"),\"small\"===E||\"small\"===f),Object(w[\"a\"])(n,\"\".concat(ne,\"-lg\"),\"large\"===E||\"large\"===f),n),rc(ne,T)),style:c?{resize:null===l||void 0===l?void 0:l.resize}:l,prefixCls:ne,onCompositionStart:Q,onChange:ee,onCompositionEnd:J,ref:I})),ie=uc(Y);z||!$||null!==m.value&&void 0!==m.value||(ie=Cu(ie,u));var ae=j[\"createElement\"](ku,Object(O[\"a\"])({disabled:k},m,{prefixCls:ne,direction:x,inputType:\"text\",value:ie,element:oe,handleReset:te,ref:P,bordered:i,status:g,style:c?void 0:l}));if(c||M){var ce,ue=Object(re[\"a\"])(ie).length,se=\"\";return se=\"object\"===Object(B[\"a\"])(c)?c.formatter({value:ie,count:ue,maxLength:u}):\"\".concat(ue).concat($?\" / \".concat(u):\"\"),j[\"createElement\"](\"div\",{hidden:q,className:R()(\"\".concat(ne,\"-textarea\"),(ce={},Object(w[\"a\"])(ce,\"\".concat(ne,\"-textarea-rtl\"),\"rtl\"===x),Object(w[\"a\"])(ce,\"\".concat(ne,\"-textarea-show-count\"),c),Object(w[\"a\"])(ce,\"\".concat(ne,\"-textarea-in-form-item\"),A),ce),rc(\"\".concat(ne,\"-textarea\"),T,M),s),style:l,\"data-count\":se},ae,M&&j[\"createElement\"](\"span\",{className:\"\".concat(ne,\"-textarea-suffix\")},N))}return ae})),Nu=Au,Tu=dc;Tu.Group=Da,Tu.Search=su,Tu.TextArea=Nu,Tu.Password=jc;var Iu=Tu,Pu={icon:{tag:\"svg\",attrs:{viewBox:\"0 0 1024 1024\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M136 552h63.6c4.4 0 8-3.6 8-8V288.7h528.6v72.6c0 1.9.6 3.7 1.8 5.2a8.3 8.3 0 0011.7 1.4L893 255.4c4.3-5 3.6-10.3 0-13.2L749.7 129.8a8.22 8.22 0 00-5.2-1.8c-4.6 0-8.4 3.8-8.4 8.4V209H199.7c-39.5 0-71.7 32.2-71.7 71.8V544c0 4.4 3.6 8 8 8zm752-80h-63.6c-4.4 0-8 3.6-8 8v255.3H287.8v-72.6c0-1.9-.6-3.7-1.8-5.2a8.3 8.3 0 00-11.7-1.4L131 768.6c-4.3 5-3.6 10.3 0 13.2l143.3 112.4c1.5 1.2 3.3 1.8 5.2 1.8 4.6 0 8.4-3.8 8.4-8.4V815h536.6c39.5 0 71.7-32.2 71.7-71.8V480c-.2-4.4-3.8-8-8.2-8z\"}}]},name:\"retweet\",theme:\"outlined\"},Lu=Pu,Du=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:Lu}))};Du.displayName=\"RetweetOutlined\";var Ru=j[\"forwardRef\"](Du),Fu=function(e){return function(t,n){var r=Object(j[\"useRef\"])(!1);e((function(){return function(){r.current=!1}}),[]),e((function(){if(r.current)return t();r.current=!0}),n)}},Bu=Fu(j[\"useEffect\"]),zu=function(e,t){var n=\"function\"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=i.next()).done)a.push(r.value)}catch(c){o={error:c}}finally{try{r&&!r.done&&(n=i[\"return\"])&&n.call(i)}finally{if(o)throw o.error}}return a},Uu=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Gu=function(e,t){var n=t.manual,r=t.ready,o=void 0===r||r,i=t.defaultParams,a=void 0===i?[]:i,c=t.refreshDeps,u=void 0===c?[]:c,s=t.refreshDepsAction,l=Object(j[\"useRef\"])(!1);return l.current=!1,Bu((function(){!n&&o&&(l.current=!0,e.run.apply(e,Uu([],zu(a),!1)))}),[o]),Bu((function(){l.current||n||(l.current=!0,s?s():e.refresh())}),Uu([],zu(u),!1)),{onBefore:function(){if(!o)return{stopNow:!0}}}};Gu.onInit=function(e){var t=e.ready,n=void 0===t||t,r=e.manual;return{loading:!r&&n}};var Vu=Gu;function Wu(e,t){if(e===t)return!0;for(var n=0;n<e.length;n++)if(!Object.is(e[n],t[n]))return!1;return!0}function Hu(e,t){var n=Object(j[\"useRef\"])({deps:t,obj:void 0,initialized:!1}).current;return!1!==n.initialized&&Wu(n.deps,t)||(n.deps=t,n.obj=e(),n.initialized=!0),n.obj}function Yu(e){var t=Object(j[\"useRef\"])(e);return t.current=e,t}var Xu=Yu,qu=function(e){return\"function\"===typeof e},Ku=!1,Zu=Ku,$u=function(e){Zu&&(qu(e)||console.error(\"useUnmount expected parameter is a function, got \".concat(typeof e)));var t=Xu(e);Object(j[\"useEffect\"])((function(){return function(){t.current()}}),[])},Qu=$u,Ju=function(){return Ju=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ju.apply(this,arguments)},es=new Map,ts=function(e,t,n){var r=es.get(e);(null===r||void 0===r?void 0:r.timer)&&clearTimeout(r.timer);var o=void 0;t>-1&&(o=setTimeout((function(){es[\"delete\"](e)}),t)),es.set(e,Ju(Ju({},n),{timer:o}))},ns=function(e){return es.get(e)},rs=new Map,os=function(e){return rs.get(e)},is=function(e,t){rs.set(e,t),t.then((function(t){return rs[\"delete\"](e),t}))[\"catch\"]((function(){rs[\"delete\"](e)}))},as={},cs=function(e,t){as[e]&&as[e].forEach((function(e){return e(t)}))},us=function(e,t){return as[e]||(as[e]=[]),as[e].push(t),function(){var n=as[e].indexOf(t);as[e].splice(n,1)}},ss=function(e,t){var n=\"function\"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=i.next()).done)a.push(r.value)}catch(c){o={error:c}}finally{try{r&&!r.done&&(n=i[\"return\"])&&n.call(i)}finally{if(o)throw o.error}}return a},ls=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},fs=function(e,t){var n=t.cacheKey,r=t.cacheTime,o=void 0===r?3e5:r,i=t.staleTime,a=void 0===i?0:i,c=t.setCache,u=t.getCache,s=Object(j[\"useRef\"])(),l=Object(j[\"useRef\"])(),f=function(e,t){c?c(t):ts(e,o,t),cs(e,t.data)},d=function(e,t){return void 0===t&&(t=[]),u?u(t):ns(e)};return Hu((function(){if(n){var t=d(n);t&&Object.hasOwnProperty.call(t,\"data\")&&(e.state.data=t.data,e.state.params=t.params,(-1===a||(new Date).getTime()-t.time<=a)&&(e.state.loading=!1)),s.current=us(n,(function(t){e.setState({data:t})}))}}),[]),Qu((function(){var e;null===(e=s.current)||void 0===e||e.call(s)})),n?{onBefore:function(e){var t=d(n,e);return t&&Object.hasOwnProperty.call(t,\"data\")?-1===a||(new Date).getTime()-t.time<=a?{loading:!1,data:null===t||void 0===t?void 0:t.data,error:void 0,returnNow:!0}:{data:null===t||void 0===t?void 0:t.data,error:void 0}:{}},onRequest:function(e,t){var r=os(n);return r&&r!==l.current||(r=e.apply(void 0,ls([],ss(t),!1)),l.current=r,is(n,r)),{servicePromise:r}},onSuccess:function(t,r){var o;n&&(null===(o=s.current)||void 0===o||o.call(s),f(n,{data:t,params:r,time:(new Date).getTime()}),s.current=us(n,(function(t){e.setState({data:t})})))},onMutate:function(t){var r;n&&(null===(r=s.current)||void 0===r||r.call(s),f(n,{data:t,params:e.state.params,time:(new Date).getTime()}),s.current=us(n,(function(t){e.setState({data:t})})))}}:{}},ds=fs,hs=r(\"sEfC\"),ps=r.n(hs),vs=function(e,t){var n=\"function\"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=i.next()).done)a.push(r.value)}catch(c){o={error:c}}finally{try{r&&!r.done&&(n=i[\"return\"])&&n.call(i)}finally{if(o)throw o.error}}return a},gs=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},ms=function(e,t){var n=t.debounceWait,r=t.debounceLeading,o=t.debounceTrailing,i=t.debounceMaxWait,a=Object(j[\"useRef\"])(),c=Object(j[\"useMemo\"])((function(){var e={};return void 0!==r&&(e.leading=r),void 0!==o&&(e.trailing=o),void 0!==i&&(e.maxWait=i),e}),[r,o,i]);return Object(j[\"useEffect\"])((function(){if(n){var t=e.runAsync.bind(e);return a.current=ps()((function(e){e()}),n,c),e.runAsync=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new Promise((function(n,r){var o;null===(o=a.current)||void 0===o||o.call(a,(function(){t.apply(void 0,gs([],vs(e),!1)).then(n)[\"catch\"](r)}))}))},function(){var n;null===(n=a.current)||void 0===n||n.cancel(),e.runAsync=t}}}),[n,c]),n?{onCancel:function(){var e;null===(e=a.current)||void 0===e||e.cancel()}}:{}},ys=ms,bs=function(e,t){var n=t.loadingDelay,r=Object(j[\"useRef\"])();if(!n)return{};var o=function(){r.current&&clearTimeout(r.current)};return{onBefore:function(){return o(),r.current=setTimeout((function(){e.setState({loading:!0})}),n),{loading:!1}},onFinally:function(){o()},onCancel:function(){o()}}},xs=bs,ws=!(\"undefined\"===typeof window||!window.document||!window.document.createElement),Os=ws;function Es(){return!Os||\"hidden\"!==document.visibilityState}var Ss=[];function js(e){return Ss.push(e),function(){var t=Ss.indexOf(e);Ss.splice(t,1)}}if(Os){var ks=function(){if(Es())for(var e=0;e<Ss.length;e++){var t=Ss[e];t()}};window.addEventListener(\"visibilitychange\",ks,!1)}var _s=js,Cs=function(e,t){var n=t.pollingInterval,r=t.pollingWhenHidden,o=void 0===r||r,i=t.pollingErrorRetryCount,a=void 0===i?-1:i,c=Object(j[\"useRef\"])(),u=Object(j[\"useRef\"])(),s=Object(j[\"useRef\"])(0),l=function(){var e;c.current&&clearTimeout(c.current),null===(e=u.current)||void 0===e||e.call(u)};return Bu((function(){n||l()}),[n]),n?{onBefore:function(){l()},onError:function(){s.current+=1},onSuccess:function(){s.current=0},onFinally:function(){-1===a||-1!==a&&s.current<=a?c.current=setTimeout((function(){o||Es()?e.refresh():u.current=_s((function(){e.refresh()}))}),n):s.current=0},onCancel:function(){l()}}:{}},Ms=Cs,As=function(e,t){var n=\"function\"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=i.next()).done)a.push(r.value)}catch(c){o={error:c}}finally{try{r&&!r.done&&(n=i[\"return\"])&&n.call(i)}finally{if(o)throw o.error}}return a},Ns=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function Ts(e,t){var n=!1;return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];n||(n=!0,e.apply(void 0,Ns([],As(r),!1)),setTimeout((function(){n=!1}),t))}}function Is(){return!Os||\"undefined\"===typeof navigator.onLine||navigator.onLine}var Ps=[];function Ls(e){return Ps.push(e),function(){var t=Ps.indexOf(e);t>-1&&Ps.splice(t,1)}}if(Os){var Ds=function(){if(Es()&&Is())for(var e=0;e<Ps.length;e++){var t=Ps[e];t()}};window.addEventListener(\"visibilitychange\",Ds,!1),window.addEventListener(\"focus\",Ds,!1)}var Rs=Ls,Fs=function(e,t){var n=t.refreshOnWindowFocus,r=t.focusTimespan,o=void 0===r?5e3:r,i=Object(j[\"useRef\"])(),a=function(){var e;null===(e=i.current)||void 0===e||e.call(i)};return Object(j[\"useEffect\"])((function(){if(n){var t=Ts(e.refresh.bind(e),o);i.current=Rs((function(){t()}))}return function(){a()}}),[n,o]),Qu((function(){a()})),{}},Bs=Fs,zs=function(e,t){var n=t.retryInterval,r=t.retryCount,o=Object(j[\"useRef\"])(),i=Object(j[\"useRef\"])(0),a=Object(j[\"useRef\"])(!1);return r?{onBefore:function(){a.current||(i.current=0),a.current=!1,o.current&&clearTimeout(o.current)},onSuccess:function(){i.current=0},onError:function(){if(i.current+=1,-1===r||i.current<=r){var t=null!==n&&void 0!==n?n:Math.min(1e3*Math.pow(2,i.current),3e4);o.current=setTimeout((function(){a.current=!0,e.refresh()}),t)}else i.current=0},onCancel:function(){i.current=0,o.current&&clearTimeout(o.current)}}:{}},Us=zs,Gs=r(\"DzJC\"),Vs=r.n(Gs),Ws=function(e,t){var n=\"function\"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=i.next()).done)a.push(r.value)}catch(c){o={error:c}}finally{try{r&&!r.done&&(n=i[\"return\"])&&n.call(i)}finally{if(o)throw o.error}}return a},Hs=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Ys=function(e,t){var n=t.throttleWait,r=t.throttleLeading,o=t.throttleTrailing,i=Object(j[\"useRef\"])(),a={};return void 0!==r&&(a.leading=r),void 0!==o&&(a.trailing=o),Object(j[\"useEffect\"])((function(){if(n){var t=e.runAsync.bind(e);return i.current=Vs()((function(e){e()}),n,a),e.runAsync=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new Promise((function(n,r){var o;null===(o=i.current)||void 0===o||o.call(i,(function(){t.apply(void 0,Hs([],Ws(e),!1)).then(n)[\"catch\"](r)}))}))},function(){var n;e.runAsync=t,null===(n=i.current)||void 0===n||n.cancel()}}}),[n,r,o]),n?{onCancel:function(){var e;null===(e=i.current)||void 0===e||e.cancel()}}:{}},Xs=Ys;function qs(e){Zu&&(qu(e)||console.error(\"useMemoizedFn expected parameter is a function, got \".concat(typeof e)));var t=Object(j[\"useRef\"])(e);t.current=Object(j[\"useMemo\"])((function(){return e}),[e]);var n=Object(j[\"useRef\"])();return n.current||(n.current=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.current.apply(this,e)}),n.current}var Ks=qs,Zs=function(e){Zu&&(qu(e)||console.error('useMount: parameter `fn` expected to be a function, but got \"'.concat(typeof e,'\".'))),Object(j[\"useEffect\"])((function(){null===e||void 0===e||e()}),[])},$s=Zs,Qs=function(e,t){var n=\"function\"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=i.next()).done)a.push(r.value)}catch(c){o={error:c}}finally{try{r&&!r.done&&(n=i[\"return\"])&&n.call(i)}finally{if(o)throw o.error}}return a},Js=function(){var e=Qs(Object(j[\"useState\"])({}),2),t=e[1];return Object(j[\"useCallback\"])((function(){return t({})}),[])},el=Js,tl=function(){return tl=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},tl.apply(this,arguments)},nl=function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function c(e){try{u(r[\"throw\"](e))}catch(t){i(t)}}function u(e){e.done?n(e.value):o(e.value).then(a,c)}u((r=r.apply(e,t||[])).next())}))},rl=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},\"function\"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(e){return function(t){return u([e,t])}}function u(i){if(n)throw new TypeError(\"Generator is already executing.\");while(a)try{if(n=1,r&&(o=2&i[0]?r[\"return\"]:i[0]?r[\"throw\"]||((o=r[\"return\"])&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(c){i=[6,c],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}},ol=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},il=function(e,t){var n=\"function\"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=i.next()).done)a.push(r.value)}catch(c){o={error:c}}finally{try{r&&!r.done&&(n=i[\"return\"])&&n.call(i)}finally{if(o)throw o.error}}return a},al=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},cl=function(){function e(e,t,n,r){void 0===r&&(r={}),this.serviceRef=e,this.options=t,this.subscribe=n,this.initState=r,this.count=0,this.state={loading:!1,params:void 0,data:void 0,error:void 0},this.state=tl(tl(tl({},this.state),{loading:!t.manual}),r)}return e.prototype.setState=function(e){void 0===e&&(e={}),this.state=tl(tl({},this.state),e),this.subscribe()},e.prototype.runPluginHandler=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.pluginImpls.map((function(n){var r;return null===(r=n[e])||void 0===r?void 0:r.call.apply(r,al([n],il(t),!1))})).filter(Boolean);return Object.assign.apply(Object,al([{}],il(r),!1))},e.prototype.runAsync=function(){for(var e,t,n,r,o,i,a,c,u,s,l=[],f=0;f<arguments.length;f++)l[f]=arguments[f];return nl(this,void 0,void 0,(function(){var f,d,h,p,v,g,m,y,b,x,w;return rl(this,(function(O){switch(O.label){case 0:if(this.count+=1,f=this.count,d=this.runPluginHandler(\"onBefore\",l),h=d.stopNow,p=void 0!==h&&h,v=d.returnNow,g=void 0!==v&&v,m=ol(d,[\"stopNow\",\"returnNow\"]),p)return[2,new Promise((function(){}))];if(this.setState(tl({loading:!0,params:l},m)),g)return[2,Promise.resolve(m.data)];null===(t=(e=this.options).onBefore)||void 0===t||t.call(e,l),O.label=1;case 1:return O.trys.push([1,3,,4]),y=this.runPluginHandler(\"onRequest\",this.serviceRef.current,l).servicePromise,y||(y=(w=this.serviceRef).current.apply(w,al([],il(l),!1))),[4,y];case 2:return b=O.sent(),f!==this.count?[2,new Promise((function(){}))]:(this.setState({data:b,error:void 0,loading:!1}),null===(r=(n=this.options).onSuccess)||void 0===r||r.call(n,b,l),this.runPluginHandler(\"onSuccess\",b,l),null===(i=(o=this.options).onFinally)||void 0===i||i.call(o,l,b,void 0),f===this.count&&this.runPluginHandler(\"onFinally\",l,b,void 0),[2,b]);case 3:if(x=O.sent(),f!==this.count)return[2,new Promise((function(){}))];throw this.setState({error:x,loading:!1}),null===(c=(a=this.options).onError)||void 0===c||c.call(a,x,l),this.runPluginHandler(\"onError\",x,l),null===(s=(u=this.options).onFinally)||void 0===s||s.call(u,l,void 0,x),f===this.count&&this.runPluginHandler(\"onFinally\",l,void 0,x),x;case 4:return[2]}}))}))},e.prototype.run=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.runAsync.apply(this,al([],il(t),!1))[\"catch\"]((function(t){e.options.onError||console.error(t)}))},e.prototype.cancel=function(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler(\"onCancel\")},e.prototype.refresh=function(){this.run.apply(this,al([],il(this.state.params||[]),!1))},e.prototype.refreshAsync=function(){return this.runAsync.apply(this,al([],il(this.state.params||[]),!1))},e.prototype.mutate=function(e){var t=qu(e)?e(this.state.data):e;this.runPluginHandler(\"onMutate\",t),this.setState({data:t})},e}(),ul=cl,sl=function(){return sl=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},sl.apply(this,arguments)},ll=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},fl=function(e,t){var n=\"function\"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=i.next()).done)a.push(r.value)}catch(c){o={error:c}}finally{try{r&&!r.done&&(n=i[\"return\"])&&n.call(i)}finally{if(o)throw o.error}}return a},dl=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function hl(e,t,n){void 0===t&&(t={}),void 0===n&&(n=[]);var r=t.manual,o=void 0!==r&&r,i=ll(t,[\"manual\"]),a=sl({manual:o},i),c=Xu(e),u=el(),s=Hu((function(){var e=n.map((function(e){var t;return null===(t=null===e||void 0===e?void 0:e.onInit)||void 0===t?void 0:t.call(e,a)})).filter(Boolean);return new ul(c,a,u,Object.assign.apply(Object,dl([{}],fl(e),!1)))}),[]);return s.options=a,s.pluginImpls=n.map((function(e){return e(s,a)})),$s((function(){if(!o){var e=s.state.params||t.defaultParams||[];s.run.apply(s,dl([],fl(e),!1))}})),Qu((function(){s.cancel()})),{loading:s.state.loading,data:s.state.data,error:s.state.error,params:s.state.params||[],cancel:Ks(s.cancel.bind(s)),refresh:Ks(s.refresh.bind(s)),refreshAsync:Ks(s.refreshAsync.bind(s)),run:Ks(s.run.bind(s)),runAsync:Ks(s.runAsync.bind(s)),mutate:Ks(s.mutate.bind(s))}}var pl=hl,vl=function(e,t){var n=\"function\"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=i.next()).done)a.push(r.value)}catch(c){o={error:c}}finally{try{r&&!r.done&&(n=i[\"return\"])&&n.call(i)}finally{if(o)throw o.error}}return a},gl=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function ml(e,t,n){return pl(e,t,gl(gl([],vl(n||[]),!1),[ys,xs,Ms,Bs,Xs,Vu,ds,Us],!1))}var yl,bl=ml,xl=bl,wl=r(\"xQxM\"),Ol=(r(\"CWI+\"),j[\"createContext\"](null)),El=Ol,Sl=[];function jl(e,t){var n=j[\"useState\"]((function(){if(!Object(W[\"a\"])())return null;var e=document.createElement(\"div\");return e})),r=Object(F[\"a\"])(n,1),o=r[0],i=j[\"useContext\"](El),a=j[\"useState\"](Sl),c=Object(F[\"a\"])(a,2),u=c[0],s=c[1],l=i||function(e){s((function(t){var n=[e].concat(Object(re[\"a\"])(t));return n}))};function f(){o.parentElement||document.body.appendChild(o)}function d(){var e;null===(e=o.parentElement)||void 0===e||e.removeChild(o)}return Y((function(){return e?i?i(f):f():d(),d}),[e]),Y((function(){u.length&&(u.forEach((function(e){return e()})),s(Sl))}),[u]),[o,l]}function kl(e){if(\"undefined\"===typeof document)return 0;if(e||void 0===yl){var t=document.createElement(\"div\");t.style.width=\"100%\",t.style.height=\"200px\";var n=document.createElement(\"div\"),r=n.style;r.position=\"absolute\",r.top=\"0\",r.left=\"0\",r.pointerEvents=\"none\",r.visibility=\"hidden\",r.width=\"200px\",r.height=\"150px\",r.overflow=\"hidden\",n.appendChild(t),document.body.appendChild(n);var o=t.offsetWidth;n.style.overflow=\"scroll\";var i=t.offsetWidth;o===i&&(i=n.clientWidth),document.body.removeChild(n),yl=o-i}return yl}function _l(e){var t=e.match(/^(.*)px$/),n=Number(null===t||void 0===t?void 0:t[1]);return Number.isNaN(n)?kl():n}function Cl(e){if(\"undefined\"===typeof document||!e||!(e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,\"::-webkit-scrollbar\"),n=t.width,r=t.height;return{width:_l(n),height:_l(r)}}function Ml(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Al=\"rc-util-locker-\".concat(Date.now()),Nl=0;function Tl(e){var t=!!e,n=j[\"useState\"]((function(){return Nl+=1,\"\".concat(Al,\"_\").concat(Nl)})),r=Object(F[\"a\"])(n,1),o=r[0];Y((function(){if(t){var e=kl(),n=Ml();Object(Nc[\"b\"])(\"\\nhtml body {\\n  overflow-y: hidden;\\n  \".concat(n?\"width: calc(100% - \".concat(e,\"px);\"):\"\",\"\\n}\"),o)}else Object(Nc[\"a\"])(o);return function(){Object(Nc[\"a\"])(o)}}),[t,o])}var Il=!1;function Pl(e){return\"boolean\"===typeof e&&(Il=e),Il}var Ll=function(e){return!1!==e&&(Object(W[\"a\"])()&&e?\"string\"===typeof e?document.querySelector(e):\"function\"===typeof e?e():e:null)},Dl=j[\"forwardRef\"]((function(e,t){var n=e.open,r=e.autoLock,o=e.getContainer,i=e.debug,a=e.autoDestroy,c=void 0===a||a,u=e.children,s=j[\"useState\"](n),l=Object(F[\"a\"])(s,2),f=l[0],d=l[1],h=f||n;j[\"useEffect\"]((function(){(c||n)&&d(n)}),[n,c]);var p=j[\"useState\"]((function(){return Ll(o)})),v=Object(F[\"a\"])(p,2),g=v[0],m=v[1];j[\"useEffect\"]((function(){var e=Ll(o);m(null!==e&&void 0!==e?e:null)}));var y=jl(h&&!g,i),b=Object(F[\"a\"])(y,2),x=b[0],w=b[1],O=null!==g&&void 0!==g?g:x;Tl(r&&n&&Object(W[\"a\"])()&&(O===x||O===document.body));var E=null;if(u&&Object(ie[\"c\"])(u)&&t){var S=u;E=S.ref}var k=Object(ie[\"d\"])(E,t);if(!h||!Object(W[\"a\"])()||void 0===g)return null;var _=!1===O||Pl(),C=u;return t&&(C=j[\"cloneElement\"](u,{ref:k})),j[\"createElement\"](El.Provider,{value:w},_?C:Object(Wt[\"createPortal\"])(C,O))}));var Rl=Dl,Fl=Rl,Bl=function(e){var t=e.prefixCls,n=e.className,r=e.style,o=e.children,i=e.containerRef;return j[\"createElement\"](j[\"Fragment\"],null,j[\"createElement\"](\"div\",{className:R()(\"\".concat(t,\"-content\"),n),style:Object(S[\"a\"])({},r),\"aria-modal\":\"true\",role:\"dialog\",ref:i},o))};var zl=Bl,Ul=j[\"createContext\"](null),Gl=Ul;function Vl(e){return\"string\"===typeof e&&String(Number(e))===e?(Object(ce[\"a\"])(!1,\"Invalid value type of `width` or `height` which should be number type instead.\"),Number(e)):e}var Wl={width:0,height:0,overflow:\"hidden\",outline:\"none\",position:\"absolute\"};function Hl(e){var t,n,r,o,i=e.prefixCls,a=e.open,c=e.placement,u=e.inline,s=e.push,l=e.forceRender,f=e.autoFocus,d=e.keyboard,h=e.rootClassName,p=e.rootStyle,v=e.zIndex,g=e.className,m=e.style,y=e.motion,b=e.width,x=e.height,E=e.children,k=e.contentWrapperStyle,_=e.mask,C=e.maskClosable,M=e.maskMotion,A=e.maskClassName,N=e.maskStyle,T=e.afterOpenChange,I=e.onClose,P=j[\"useRef\"](),L=j[\"useRef\"](),D=j[\"useRef\"](),B=function(e){var t=e.keyCode,n=e.shiftKey;switch(t){case Me.TAB:var r;if(t===Me.TAB)if(n||document.activeElement!==D.current){if(n&&document.activeElement===L.current){var o;null===(o=D.current)||void 0===o||o.focus({preventScroll:!0})}}else null===(r=L.current)||void 0===r||r.focus({preventScroll:!0});break;case Me.ESC:I&&d&&I(e);break}};j[\"useEffect\"]((function(){var e;a&&f&&(null===(e=P.current)||void 0===e||e.focus({preventScroll:!0}))}),[a,f]);var z,U=j[\"useState\"](!1),G=Object(F[\"a\"])(U,2),V=G[0],W=G[1],H=j[\"useContext\"](Gl);z=!1===s?{distance:0}:!0===s?{}:s||{};var Y=null!==(t=null!==(n=null===(r=z)||void 0===r?void 0:r.distance)&&void 0!==n?n:null===H||void 0===H?void 0:H.pushDistance)&&void 0!==t?t:180,X=j[\"useMemo\"]((function(){return{pushDistance:Y,push:function(){W(!0)},pull:function(){W(!1)}}}),[Y]);j[\"useEffect\"]((function(){var e,t;a?null===H||void 0===H||null===(e=H.push)||void 0===e||e.call(H):null===H||void 0===H||null===(t=H.pull)||void 0===t||t.call(H)}),[a]),j[\"useEffect\"]((function(){return function(){var e;null===H||void 0===H||null===(e=H.pull)||void 0===e||e.call(H)}}),[]);var q=_&&j[\"createElement\"]($[\"b\"],Object(O[\"a\"])({key:\"mask\"},M,{visible:a}),(function(e,t){var n=e.className,r=e.style;return j[\"createElement\"](\"div\",{className:R()(\"\".concat(i,\"-mask\"),n,A),style:Object(S[\"a\"])(Object(S[\"a\"])({},r),N),onClick:C?I:void 0,ref:t})})),K=\"function\"===typeof y?y(c):y,Z={};if(V&&Y)switch(c){case\"top\":Z.transform=\"translateY(\".concat(Y,\"px)\");break;case\"bottom\":Z.transform=\"translateY(\".concat(-Y,\"px)\");break;case\"left\":Z.transform=\"translateX(\".concat(Y,\"px)\");break;default:Z.transform=\"translateX(\".concat(-Y,\"px)\");break}\"left\"===c||\"right\"===c?Z.width=Vl(b):Z.height=Vl(x);var Q=j[\"createElement\"]($[\"b\"],Object(O[\"a\"])({key:\"panel\"},K,{visible:a,forceRender:l,onVisibleChanged:function(e){null===T||void 0===T||T(e)},removeOnLeave:!1,leavedClassName:\"\".concat(i,\"-content-wrapper-hidden\")}),(function(e,t){var n=e.className,r=e.style;return j[\"createElement\"](\"div\",{className:R()(\"\".concat(i,\"-content-wrapper\"),n),style:Object(S[\"a\"])(Object(S[\"a\"])(Object(S[\"a\"])({},Z),r),k)},j[\"createElement\"](zl,{containerRef:t,prefixCls:i,className:g,style:m},E))})),J=Object(S[\"a\"])({},p);return v&&(J.zIndex=v),j[\"createElement\"](Gl.Provider,{value:X},j[\"createElement\"](\"div\",{className:R()(i,\"\".concat(i,\"-\").concat(c),h,(o={},Object(w[\"a\"])(o,\"\".concat(i,\"-open\"),a),Object(w[\"a\"])(o,\"\".concat(i,\"-inline\"),u),o)),style:J,tabIndex:-1,ref:P,onKeyDown:B},q,j[\"createElement\"](\"div\",{tabIndex:0,ref:L,style:Wl,\"aria-hidden\":\"true\",\"data-sentinel\":\"start\"}),Q,j[\"createElement\"](\"div\",{tabIndex:0,ref:D,style:Wl,\"aria-hidden\":\"true\",\"data-sentinel\":\"end\"})))}var Yl=function(e){var t=e.open,n=e.getContainer,r=e.forceRender,o=e.prefixCls,i=e.afterOpenChange,a=e.destroyOnClose,c=e.mask,u=j[\"useState\"](!1),s=Object(F[\"a\"])(u,2),l=s[0],f=s[1];var d=function(e){f(e),null===i||void 0===i||i(e)};if(!r&&!l&&!t&&a)return null;var h=Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{prefixCls:o,afterOpenChange:d});return j[\"createElement\"](Fl,{open:t||r||l,autoDestroy:!1,getContainer:n,autoLock:c&&(t||l)},j[\"createElement\"](Hl,Object(O[\"a\"])({},h,{inline:!1===n})))};Yl.defaultProps={open:!1,prefixCls:\"rc-drawer\",placement:\"right\",autoFocus:!0,keyboard:!0,width:378,mask:!0,maskClosable:!0};var Xl=Yl,ql=Xl,Kl=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Zl=(Bi(\"default\",\"large\"),{distance:180});function $l(e){var t=e.width,n=e.height,r=e.size,o=void 0===r?\"default\":r,i=e.closable,a=void 0===i||i,c=e.mask,u=void 0===c||c,s=e.push,l=void 0===s?Zl:s,f=e.closeIcon,d=void 0===f?j[\"createElement\"](E[\"a\"],null):f,h=e.bodyStyle,p=e.drawerStyle,v=e.className,g=e.visible,m=e.open,y=e.children,b=e.style,x=e.title,S=e.headerStyle,k=e.onClose,_=e.footer,C=e.footerStyle,M=e.prefixCls,A=e.getContainer,N=e.extra,T=e.afterVisibleChange,I=e.afterOpenChange,P=Kl(e,[\"width\",\"height\",\"size\",\"closable\",\"mask\",\"push\",\"closeIcon\",\"bodyStyle\",\"drawerStyle\",\"className\",\"visible\",\"open\",\"children\",\"style\",\"title\",\"headerStyle\",\"onClose\",\"footer\",\"footerStyle\",\"prefixCls\",\"getContainer\",\"extra\",\"afterVisibleChange\",\"afterOpenChange\"]),L=j[\"useContext\"](Ri[\"b\"]),D=L.getPopupContainer,B=L.getPrefixCls,z=L.direction,U=B(\"drawer\",M),G=void 0===A&&D?function(){return D(document.body)}:A,V=a&&j[\"createElement\"](\"button\",{type:\"button\",onClick:k,\"aria-label\":\"Close\",className:\"\".concat(U,\"-close\")},d);function W(){return x||a?j[\"createElement\"](\"div\",{className:R()(\"\".concat(U,\"-header\"),Object(w[\"a\"])({},\"\".concat(U,\"-header-close-only\"),a&&!x&&!N)),style:S},j[\"createElement\"](\"div\",{className:\"\".concat(U,\"-header-title\")},V,x&&j[\"createElement\"](\"div\",{className:\"\".concat(U,\"-title\")},x)),N&&j[\"createElement\"](\"div\",{className:\"\".concat(U,\"-extra\")},N)):null}function H(){if(!_)return null;var e=\"\".concat(U,\"-footer\");return j[\"createElement\"](\"div\",{className:e,style:C},_)}[[\"visible\",\"open\"],[\"afterVisibleChange\",\"afterOpenChange\"]].forEach((function(e){var t=Object(F[\"a\"])(e,2);t[0],t[1]}));var Y=R()(Object(w[\"a\"])({\"no-mask\":!u},\"\".concat(U,\"-rtl\"),\"rtl\"===z),v),X=j[\"useMemo\"]((function(){return null!==t&&void 0!==t?t:\"large\"===o?736:378}),[t,o]),q=j[\"useMemo\"]((function(){return null!==n&&void 0!==n?n:\"large\"===o?736:378}),[n,o]),K={motionName:Yi(U,\"mask-motion\"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Z=function(e){return{motionName:Yi(U,\"panel-motion-\".concat(e)),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}};return j[\"createElement\"](Pa,{status:!0,override:!0},j[\"createElement\"](ql,Object(O[\"a\"])({prefixCls:U,onClose:k},P,{open:m||g,mask:u,push:l,width:X,height:q,rootClassName:Y,getContainer:G,afterOpenChange:function(e){null===I||void 0===I||I(e),null===T||void 0===T||T(e)},maskMotion:K,motion:Z,rootStyle:b}),j[\"createElement\"](\"div\",{className:\"\".concat(U,\"-wrapper-body\"),style:Object(O[\"a\"])({},p)},W(),j[\"createElement\"](\"div\",{className:\"\".concat(U,\"-body\"),style:h},y),H())))}var Ql=$l,Jl=(r(\"FIfw\"),function(e){if(Object(W[\"a\"])()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1}),ef=function(e,t){if(!Jl(e))return!1;var n=document.createElement(\"div\"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function tf(e,t){return Array.isArray(e)||void 0===t?Jl(e):ef(e,t)}var nf,rf=function(){return Object(W[\"a\"])()&&window.document.documentElement},of=function(){if(!rf())return!1;if(void 0!==nf)return nf;var e=document.createElement(\"div\");return e.style.display=\"flex\",e.style.flexDirection=\"column\",e.style.rowGap=\"1px\",e.appendChild(document.createElement(\"div\")),e.appendChild(document.createElement(\"div\")),document.body.appendChild(e),nf=1===e.scrollHeight,document.body.removeChild(e),nf},af=function(){var e=j[\"useState\"](!1),t=Object(F[\"a\"])(e,2),n=t[0],r=t[1];return j[\"useEffect\"]((function(){r(of())}),[]),n},cf=[\"xxl\",\"xl\",\"lg\",\"md\",\"sm\",\"xs\"],uf={xs:\"(max-width: 575px)\",sm:\"(min-width: 576px)\",md:\"(min-width: 768px)\",lg:\"(min-width: 992px)\",xl:\"(min-width: 1200px)\",xxl:\"(min-width: 1600px)\"},sf=new Map,lf=-1,ff={},df={matchHandlers:{},dispatch:function(e){return ff=e,sf.forEach((function(e){return e(ff)})),sf.size>=1},subscribe:function(e){return sf.size||this.register(),lf+=1,sf.set(lf,e),e(ff),lf},unsubscribe:function(e){sf[\"delete\"](e),sf.size||this.unregister()},unregister:function(){var e=this;Object.keys(uf).forEach((function(t){var n=uf[t],r=e.matchHandlers[n];null===r||void 0===r||r.mql.removeListener(null===r||void 0===r?void 0:r.listener)})),sf.clear()},register:function(){var e=this;Object.keys(uf).forEach((function(t){var n=uf[t],r=function(n){var r=n.matches;e.dispatch(Object(O[\"a\"])(Object(O[\"a\"])({},ff),Object(w[\"a\"])({},t,r)))},o=window.matchMedia(n);o.addListener(r),e.matchHandlers[n]={mql:o,listener:r},r(o)}))}},hf=df,pf=Object(j[\"createContext\"])({}),vf=pf,gf=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Bi(\"top\",\"middle\",\"bottom\",\"stretch\"),Bi(\"start\",\"end\",\"center\",\"space-around\",\"space-between\",\"space-evenly\");function mf(e,t){var n=j[\"useState\"](\"string\"===typeof e?e:\"\"),r=Object(F[\"a\"])(n,2),o=r[0],i=r[1],a=function(){if(\"object\"===Object(B[\"a\"])(e))for(var n=0;n<cf.length;n++){var r=cf[n];if(t[r]){var o=e[r];if(void 0!==o)return void i(o)}}};return j[\"useEffect\"]((function(){a()}),[JSON.stringify(e),t]),o}var yf=j[\"forwardRef\"]((function(e,t){var n,r=e.prefixCls,o=e.justify,i=e.align,a=e.className,c=e.style,u=e.children,s=e.gutter,l=void 0===s?0:s,f=e.wrap,d=gf(e,[\"prefixCls\",\"justify\",\"align\",\"className\",\"style\",\"children\",\"gutter\",\"wrap\"]),h=j[\"useContext\"](Ri[\"b\"]),p=h.getPrefixCls,v=h.direction,g=j[\"useState\"]({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),m=Object(F[\"a\"])(g,2),y=m[0],b=m[1],x=j[\"useState\"]({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),E=Object(F[\"a\"])(x,2),S=E[0],k=E[1],_=mf(i,S),C=mf(o,S),M=af(),A=j[\"useRef\"](l);j[\"useEffect\"]((function(){var e=hf.subscribe((function(e){k(e);var t=A.current||0;(!Array.isArray(t)&&\"object\"===Object(B[\"a\"])(t)||Array.isArray(t)&&(\"object\"===Object(B[\"a\"])(t[0])||\"object\"===Object(B[\"a\"])(t[1])))&&b(e)}));return function(){return hf.unsubscribe(e)}}),[]);var N=function(){var e=[void 0,void 0],t=Array.isArray(l)?l:[l,void 0];return t.forEach((function(t,n){if(\"object\"===Object(B[\"a\"])(t))for(var r=0;r<cf.length;r++){var o=cf[r];if(y[o]&&void 0!==t[o]){e[n]=t[o];break}}else e[n]=t})),e},T=p(\"row\",r),I=N(),P=R()(T,(n={},Object(w[\"a\"])(n,\"\".concat(T,\"-no-wrap\"),!1===f),Object(w[\"a\"])(n,\"\".concat(T,\"-\").concat(C),C),Object(w[\"a\"])(n,\"\".concat(T,\"-\").concat(_),_),Object(w[\"a\"])(n,\"\".concat(T,\"-rtl\"),\"rtl\"===v),n),a),L={},D=null!=I[0]&&I[0]>0?I[0]/-2:void 0,z=null!=I[1]&&I[1]>0?I[1]/-2:void 0;if(D&&(L.marginLeft=D,L.marginRight=D),M){var U=Object(F[\"a\"])(I,2);L.rowGap=U[1]}else z&&(L.marginTop=z,L.marginBottom=z);var G=Object(F[\"a\"])(I,2),V=G[0],W=G[1],H=j[\"useMemo\"]((function(){return{gutter:[V,W],wrap:f,supportFlexGap:M}}),[V,W,f,M]);return j[\"createElement\"](vf.Provider,{value:H},j[\"createElement\"](\"div\",Object(O[\"a\"])({},d,{className:P,style:Object(O[\"a\"])(Object(O[\"a\"])({},L),c),ref:t}),u))}));var bf=yf,xf=bf,wf=(r(\"lnY3\"),r(\"oIFs\"),function(e){var t,n,r=e.prefixCls,o=e.className,i=e.style,a=e.size,c=e.shape,u=R()((t={},Object(w[\"a\"])(t,\"\".concat(r,\"-lg\"),\"large\"===a),Object(w[\"a\"])(t,\"\".concat(r,\"-sm\"),\"small\"===a),t)),s=R()((n={},Object(w[\"a\"])(n,\"\".concat(r,\"-circle\"),\"circle\"===c),Object(w[\"a\"])(n,\"\".concat(r,\"-square\"),\"square\"===c),Object(w[\"a\"])(n,\"\".concat(r,\"-round\"),\"round\"===c),n)),l=j[\"useMemo\"]((function(){return\"number\"===typeof a?{width:a,height:a,lineHeight:\"\".concat(a,\"px\")}:{}}),[a]);return j[\"createElement\"](\"span\",{className:R()(r,u,s,o),style:Object(O[\"a\"])(Object(O[\"a\"])({},l),i)})}),Of=wf,Ef=function(e){var t=e.prefixCls,n=e.className,r=e.active,o=e.shape,i=void 0===o?\"circle\":o,a=e.size,c=void 0===a?\"default\":a,u=j[\"useContext\"](Ri[\"b\"]),s=u.getPrefixCls,l=s(\"skeleton\",t),f=it(e,[\"prefixCls\",\"className\"]),d=R()(l,\"\".concat(l,\"-element\"),Object(w[\"a\"])({},\"\".concat(l,\"-active\"),r),n);return j[\"createElement\"](\"div\",{className:d},j[\"createElement\"](Of,Object(O[\"a\"])({prefixCls:\"\".concat(l,\"-avatar\"),shape:i,size:c},f)))},Sf=Ef,jf=function(e){var t,n=e.prefixCls,r=e.className,o=e.active,i=e.block,a=void 0!==i&&i,c=e.size,u=void 0===c?\"default\":c,s=j[\"useContext\"](Ri[\"b\"]),l=s.getPrefixCls,f=l(\"skeleton\",n),d=it(e,[\"prefixCls\"]),h=R()(f,\"\".concat(f,\"-element\"),(t={},Object(w[\"a\"])(t,\"\".concat(f,\"-active\"),o),Object(w[\"a\"])(t,\"\".concat(f,\"-block\"),a),t),r);return j[\"createElement\"](\"div\",{className:h},j[\"createElement\"](Of,Object(O[\"a\"])({prefixCls:\"\".concat(f,\"-button\"),size:u},d)))},kf=jf,_f={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z\"}}]},name:\"dot-chart\",theme:\"outlined\"},Cf=_f,Mf=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:Cf}))};Mf.displayName=\"DotChartOutlined\";var Af=j[\"forwardRef\"](Mf),Nf=function(e){var t=e.prefixCls,n=e.className,r=e.style,o=e.active,i=e.children,a=j[\"useContext\"](Ri[\"b\"]),c=a.getPrefixCls,u=c(\"skeleton\",t),s=R()(u,\"\".concat(u,\"-element\"),Object(w[\"a\"])({},\"\".concat(u,\"-active\"),o),n),l=null!==i&&void 0!==i?i:j[\"createElement\"](Af,null);return j[\"createElement\"](\"div\",{className:s},j[\"createElement\"](\"div\",{className:R()(\"\".concat(u,\"-image\"),n),style:r},l))},Tf=Nf,If=\"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z\",Pf=function(e){var t=e.prefixCls,n=e.className,r=e.style,o=e.active,i=j[\"useContext\"](Ri[\"b\"]),a=i.getPrefixCls,c=a(\"skeleton\",t),u=R()(c,\"\".concat(c,\"-element\"),Object(w[\"a\"])({},\"\".concat(c,\"-active\"),o),n);return j[\"createElement\"](\"div\",{className:u},j[\"createElement\"](\"div\",{className:R()(\"\".concat(c,\"-image\"),n),style:r},j[\"createElement\"](\"svg\",{viewBox:\"0 0 1098 1024\",xmlns:\"http://www.w3.org/2000/svg\",className:\"\".concat(c,\"-image-svg\")},j[\"createElement\"](\"path\",{d:If,className:\"\".concat(c,\"-image-path\")}))))},Lf=Pf,Df=function(e){var t,n=e.prefixCls,r=e.className,o=e.active,i=e.block,a=e.size,c=void 0===a?\"default\":a,u=j[\"useContext\"](Ri[\"b\"]),s=u.getPrefixCls,l=s(\"skeleton\",n),f=it(e,[\"prefixCls\"]),d=R()(l,\"\".concat(l,\"-element\"),(t={},Object(w[\"a\"])(t,\"\".concat(l,\"-active\"),o),Object(w[\"a\"])(t,\"\".concat(l,\"-block\"),i),t),r);return j[\"createElement\"](\"div\",{className:d},j[\"createElement\"](Of,Object(O[\"a\"])({prefixCls:\"\".concat(l,\"-input\"),size:c},f)))},Rf=Df,Ff=function(e){var t=function(t){var n=e.width,r=e.rows,o=void 0===r?2:r;return Array.isArray(n)?n[t]:o-1===t?n:void 0},n=e.prefixCls,r=e.className,o=e.style,i=e.rows,a=Object(re[\"a\"])(Array(i)).map((function(e,n){return j[\"createElement\"](\"li\",{key:n,style:{width:t(n)}})}));return j[\"createElement\"](\"ul\",{className:R()(n,r),style:o},a)},Bf=Ff,zf=function(e){var t=e.prefixCls,n=e.className,r=e.width,o=e.style;return j[\"createElement\"](\"h3\",{className:R()(t,n),style:Object(O[\"a\"])({width:r},o)})},Uf=zf;function Gf(e){return e&&\"object\"===Object(B[\"a\"])(e)?e:{}}function Vf(e,t){return e&&!t?{size:\"large\",shape:\"square\"}:{size:\"large\",shape:\"circle\"}}function Wf(e,t){return!e&&t?{width:\"38%\"}:e&&t?{width:\"50%\"}:{}}function Hf(e,t){var n={};return e&&t||(n.width=\"61%\"),n.rows=!e&&t?3:2,n}var Yf=function(e){var t=e.prefixCls,n=e.loading,r=e.className,o=e.style,i=e.children,a=e.avatar,c=void 0!==a&&a,u=e.title,s=void 0===u||u,l=e.paragraph,f=void 0===l||l,d=e.active,h=e.round,p=j[\"useContext\"](Ri[\"b\"]),v=p.getPrefixCls,g=p.direction,m=v(\"skeleton\",t);if(n||!(\"loading\"in e)){var y,b,x,E=!!c,S=!!s,k=!!f;if(E){var _=Object(O[\"a\"])(Object(O[\"a\"])({prefixCls:\"\".concat(m,\"-avatar\")},Vf(S,k)),Gf(c));b=j[\"createElement\"](\"div\",{className:\"\".concat(m,\"-header\")},j[\"createElement\"](Of,Object(O[\"a\"])({},_)))}if(S||k){var C,M;if(S){var A=Object(O[\"a\"])(Object(O[\"a\"])({prefixCls:\"\".concat(m,\"-title\")},Wf(E,k)),Gf(s));C=j[\"createElement\"](Uf,Object(O[\"a\"])({},A))}if(k){var N=Object(O[\"a\"])(Object(O[\"a\"])({prefixCls:\"\".concat(m,\"-paragraph\")},Hf(E,S)),Gf(f));M=j[\"createElement\"](Bf,Object(O[\"a\"])({},N))}x=j[\"createElement\"](\"div\",{className:\"\".concat(m,\"-content\")},C,M)}var T=R()(m,(y={},Object(w[\"a\"])(y,\"\".concat(m,\"-with-avatar\"),E),Object(w[\"a\"])(y,\"\".concat(m,\"-active\"),d),Object(w[\"a\"])(y,\"\".concat(m,\"-rtl\"),\"rtl\"===g),Object(w[\"a\"])(y,\"\".concat(m,\"-round\"),h),y),r);return j[\"createElement\"](\"div\",{className:T,style:o},b,x)}return\"undefined\"!==typeof i?i:null};Yf.Button=kf,Yf.Avatar=Sf,Yf.Input=Rf,Yf.Image=Lf,Yf.Node=Tf;var Xf=Yf,qf=Xf,Kf=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Zf=function(e){var t=e.prefixCls,n=e.className,r=e.hoverable,o=void 0===r||r,i=Kf(e,[\"prefixCls\",\"className\",\"hoverable\"]);return j[\"createElement\"](Ri[\"a\"],null,(function(e){var r=e.getPrefixCls,a=r(\"card\",t),c=R()(\"\".concat(a,\"-grid\"),n,Object(w[\"a\"])({},\"\".concat(a,\"-grid-hoverable\"),o));return j[\"createElement\"](\"div\",Object(O[\"a\"])({},i,{className:c}))}))},$f=Zf,Qf=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function Jf(e){var t=e.map((function(t,n){return j[\"createElement\"](\"li\",{style:{width:\"\".concat(100/e.length,\"%\")},key:\"action-\".concat(n)},j[\"createElement\"](\"span\",null,t))}));return t}var ed=j[\"forwardRef\"]((function(e,t){var n,r,o,i=j[\"useContext\"](Ri[\"b\"]),a=i.getPrefixCls,c=i.direction,u=j[\"useContext\"](Fi[\"b\"]),s=function(t){var n;null===(n=e.onTabChange)||void 0===n||n.call(e,t)},l=function(){var t;return j[\"Children\"].forEach(e.children,(function(e){e&&e.type&&e.type===$f&&(t=!0)})),t},f=e.prefixCls,d=e.className,h=e.extra,p=e.headStyle,v=void 0===p?{}:p,g=e.bodyStyle,m=void 0===g?{}:g,y=e.title,b=e.loading,x=e.bordered,E=void 0===x||x,S=e.size,k=e.type,_=e.cover,C=e.actions,M=e.tabList,A=e.children,N=e.activeTabKey,T=e.defaultActiveTabKey,I=e.tabBarExtraContent,P=e.hoverable,L=e.tabProps,D=void 0===L?{}:L,F=Qf(e,[\"prefixCls\",\"className\",\"extra\",\"headStyle\",\"bodyStyle\",\"title\",\"loading\",\"bordered\",\"size\",\"type\",\"cover\",\"actions\",\"tabList\",\"children\",\"activeTabKey\",\"defaultActiveTabKey\",\"tabBarExtraContent\",\"hoverable\",\"tabProps\"]),B=a(\"card\",f),z=j[\"createElement\"](qf,{loading:!0,active:!0,paragraph:{rows:4},title:!1},A),U=void 0!==N,G=Object(O[\"a\"])(Object(O[\"a\"])({},D),(n={},Object(w[\"a\"])(n,U?\"activeKey\":\"defaultActiveKey\",U?N:T),Object(w[\"a\"])(n,\"tabBarExtraContent\",I),n)),V=M&&M.length?j[\"createElement\"](ra,Object(O[\"a\"])({size:\"large\"},G,{className:\"\".concat(B,\"-head-tabs\"),onChange:s,items:M.map((function(e){var t;return{label:e.tab,key:e.key,disabled:null!==(t=e.disabled)&&void 0!==t&&t}}))})):null;(y||h||V)&&(o=j[\"createElement\"](\"div\",{className:\"\".concat(B,\"-head\"),style:v},j[\"createElement\"](\"div\",{className:\"\".concat(B,\"-head-wrapper\")},y&&j[\"createElement\"](\"div\",{className:\"\".concat(B,\"-head-title\")},y),h&&j[\"createElement\"](\"div\",{className:\"\".concat(B,\"-extra\")},h)),V));var W=_?j[\"createElement\"](\"div\",{className:\"\".concat(B,\"-cover\")},_):null,H=j[\"createElement\"](\"div\",{className:\"\".concat(B,\"-body\"),style:m},b?z:A),Y=C&&C.length?j[\"createElement\"](\"ul\",{className:\"\".concat(B,\"-actions\")},Jf(C)):null,X=it(F,[\"onTabChange\"]),q=S||u,K=R()(B,(r={},Object(w[\"a\"])(r,\"\".concat(B,\"-loading\"),b),Object(w[\"a\"])(r,\"\".concat(B,\"-bordered\"),E),Object(w[\"a\"])(r,\"\".concat(B,\"-hoverable\"),P),Object(w[\"a\"])(r,\"\".concat(B,\"-contain-grid\"),l()),Object(w[\"a\"])(r,\"\".concat(B,\"-contain-tabs\"),M&&M.length),Object(w[\"a\"])(r,\"\".concat(B,\"-\").concat(q),q),Object(w[\"a\"])(r,\"\".concat(B,\"-type-\").concat(k),!!k),Object(w[\"a\"])(r,\"\".concat(B,\"-rtl\"),\"rtl\"===c),r),d);return j[\"createElement\"](\"div\",Object(O[\"a\"])({ref:t},X,{className:K}),o,W,H,Y)})),td=ed,nd=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},rd=function(e){return j[\"createElement\"](Ri[\"a\"],null,(function(t){var n=t.getPrefixCls,r=e.prefixCls,o=e.className,i=e.avatar,a=e.title,c=e.description,u=nd(e,[\"prefixCls\",\"className\",\"avatar\",\"title\",\"description\"]),s=n(\"card\",r),l=R()(\"\".concat(s,\"-meta\"),o),f=i?j[\"createElement\"](\"div\",{className:\"\".concat(s,\"-meta-avatar\")},i):null,d=a?j[\"createElement\"](\"div\",{className:\"\".concat(s,\"-meta-title\")},a):null,h=c?j[\"createElement\"](\"div\",{className:\"\".concat(s,\"-meta-description\")},c):null,p=d||h?j[\"createElement\"](\"div\",{className:\"\".concat(s,\"-meta-detail\")},d,h):null;return j[\"createElement\"](\"div\",Object(O[\"a\"])({},u,{className:l}),f,p)}))},od=rd,id=td;id.Grid=$f,id.Meta=od;var ad=id,cd=(r(\"6MrE\"),function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}),ud=function(e){var t,n=e.prefixCls,r=e.className,o=e.checked,i=e.onChange,a=e.onClick,c=cd(e,[\"prefixCls\",\"className\",\"checked\",\"onChange\",\"onClick\"]),u=j[\"useContext\"](Ri[\"b\"]),s=u.getPrefixCls,l=function(e){null===i||void 0===i||i(!o),null===a||void 0===a||a(e)},f=s(\"tag\",n),d=R()(f,(t={},Object(w[\"a\"])(t,\"\".concat(f,\"-checkable\"),!0),Object(w[\"a\"])(t,\"\".concat(f,\"-checkable-checked\"),o),t),r);return j[\"createElement\"](\"span\",Object(O[\"a\"])({},c,{className:d,onClick:l}))},sd=ud,ld=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},fd=new RegExp(\"^(\".concat(va.join(\"|\"),\")(-inverse)?$\")),dd=new RegExp(\"^(\".concat(pa.join(\"|\"),\")$\")),hd=function(e,t){var n,r=e.prefixCls,o=e.className,i=e.style,a=e.children,c=e.icon,u=e.color,s=e.onClose,l=e.closeIcon,f=e.closable,d=void 0!==f&&f,h=ld(e,[\"prefixCls\",\"className\",\"style\",\"children\",\"icon\",\"color\",\"onClose\",\"closeIcon\",\"closable\"]),p=j[\"useContext\"](Ri[\"b\"]),v=p.getPrefixCls,g=p.direction,m=j[\"useState\"](!0),y=Object(F[\"a\"])(m,2),b=y[0],x=y[1];j[\"useEffect\"]((function(){\"visible\"in h&&x(h.visible)}),[h.visible]);var S=function(){return!!u&&(fd.test(u)||dd.test(u))},k=Object(O[\"a\"])({backgroundColor:u&&!S()?u:void 0},i),_=S(),C=v(\"tag\",r),M=R()(C,(n={},Object(w[\"a\"])(n,\"\".concat(C,\"-\").concat(u),_),Object(w[\"a\"])(n,\"\".concat(C,\"-has-color\"),u&&!_),Object(w[\"a\"])(n,\"\".concat(C,\"-hidden\"),!b),Object(w[\"a\"])(n,\"\".concat(C,\"-rtl\"),\"rtl\"===g),n),o),A=function(e){e.stopPropagation(),null===s||void 0===s||s(e),e.defaultPrevented||\"visible\"in h||x(!1)},N=function(){return d?l?j[\"createElement\"](\"span\",{className:\"\".concat(C,\"-close-icon\"),onClick:A},l):j[\"createElement\"](E[\"a\"],{className:\"\".concat(C,\"-close-icon\"),onClick:A}):null},T=\"onClick\"in h||a&&\"a\"===a.type,I=it(h,[\"visible\"]),P=c||null,L=P?j[\"createElement\"](j[\"Fragment\"],null,P,j[\"createElement\"](\"span\",null,a)):a,D=j[\"createElement\"](\"span\",Object(O[\"a\"])({},I,{ref:t,className:M,style:k}),L,N());return T?j[\"createElement\"](Bc,null,D):D},pd=j[\"forwardRef\"](hd);pd.CheckableTag=sd;var vd=pd,gd=r(\"Qw5x\");function md(e,t){var n=\"undefined\"!==typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(!n){if(Array.isArray(e)||(n=Object(gd[\"a\"])(e))||t&&e&&\"number\"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n[\"return\"]||n[\"return\"]()}finally{if(c)throw i}}}}var yd=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function bd(e){return\"number\"===typeof e?\"\".concat(e,\" \").concat(e,\" auto\"):/^\\d+(\\.\\d+)?(px|em|rem|%)$/.test(e)?\"0 0 \".concat(e):e}var xd=[\"xs\",\"sm\",\"md\",\"lg\",\"xl\",\"xxl\"],wd=j[\"forwardRef\"]((function(e,t){var n,r=j[\"useContext\"](Ri[\"b\"]),o=r.getPrefixCls,i=r.direction,a=j[\"useContext\"](vf),c=a.gutter,u=a.wrap,s=a.supportFlexGap,l=e.prefixCls,f=e.span,d=e.order,h=e.offset,p=e.push,v=e.pull,g=e.className,m=e.children,y=e.flex,b=e.style,x=yd(e,[\"prefixCls\",\"span\",\"order\",\"offset\",\"push\",\"pull\",\"className\",\"children\",\"flex\",\"style\"]),E=o(\"col\",l),S={};xd.forEach((function(t){var n,r={},o=e[t];\"number\"===typeof o?r.span=o:\"object\"===Object(B[\"a\"])(o)&&(r=o||{}),delete x[t],S=Object(O[\"a\"])(Object(O[\"a\"])({},S),(n={},Object(w[\"a\"])(n,\"\".concat(E,\"-\").concat(t,\"-\").concat(r.span),void 0!==r.span),Object(w[\"a\"])(n,\"\".concat(E,\"-\").concat(t,\"-order-\").concat(r.order),r.order||0===r.order),Object(w[\"a\"])(n,\"\".concat(E,\"-\").concat(t,\"-offset-\").concat(r.offset),r.offset||0===r.offset),Object(w[\"a\"])(n,\"\".concat(E,\"-\").concat(t,\"-push-\").concat(r.push),r.push||0===r.push),Object(w[\"a\"])(n,\"\".concat(E,\"-\").concat(t,\"-pull-\").concat(r.pull),r.pull||0===r.pull),Object(w[\"a\"])(n,\"\".concat(E,\"-rtl\"),\"rtl\"===i),n))}));var k=R()(E,(n={},Object(w[\"a\"])(n,\"\".concat(E,\"-\").concat(f),void 0!==f),Object(w[\"a\"])(n,\"\".concat(E,\"-order-\").concat(d),d),Object(w[\"a\"])(n,\"\".concat(E,\"-offset-\").concat(h),h),Object(w[\"a\"])(n,\"\".concat(E,\"-push-\").concat(p),p),Object(w[\"a\"])(n,\"\".concat(E,\"-pull-\").concat(v),v),n),g,S),_={};if(c&&c[0]>0){var C=c[0]/2;_.paddingLeft=C,_.paddingRight=C}if(c&&c[1]>0&&!s){var M=c[1]/2;_.paddingTop=M,_.paddingBottom=M}return y&&(_.flex=bd(y),!1!==u||_.minWidth||(_.minWidth=0)),j[\"createElement\"](\"div\",Object(O[\"a\"])({},x,{style:Object(O[\"a\"])(Object(O[\"a\"])({},_),b),className:k,ref:t}),m)}));var Od=wd,Ed=Od,Sd=r(\"+QRC\"),jd=r.n(Sd),kd=r(\"nKUr\");function _d(e){var t=e.text,n=e.total,r=void 0===n?20:n;return Object(kd[\"jsx\"])(\"span\",{children:t.length>r?Object(kd[\"jsx\"])(Aa,{title:t,children:\"\".concat(t.substring(0,r),\"...\")}):t})}var Cd={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z\"}}]},name:\"up\",theme:\"outlined\"},Md=Cd,Ad=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:Md}))};Ad.displayName=\"UpOutlined\";var Nd=j[\"forwardRef\"](Ad),Td={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z\"}}]},name:\"down\",theme:\"outlined\"},Id=Td,Pd=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:Id}))};Pd.displayName=\"DownOutlined\";var Ld=j[\"forwardRef\"](Pd),Dd=e=>{var t=e.title,n=e.content,r=e.isNode,o=void 0!==r&&r,i=Object(j[\"useState\"])(!1),a=Object(Ta[\"a\"])(i,2),c=a[0],u=a[1];return Object(kd[\"jsx\"])(\"div\",{className:\"site-description-item-profile-wrapper\",children:Object(kd[\"jsxs\"])(xf,{children:[Object(kd[\"jsx\"])(Ed,{span:4,style:{textAlign:\"right\"},children:Object(kd[\"jsxs\"])(\"p\",{className:\"site-description-item-profile-p-label\",children:[t,\":\"]})}),!o&&Object(kd[\"jsx\"])(Ed,{span:20,children:n.length>50?Object(kd[\"jsxs\"])(\"div\",{children:[Object(kd[\"jsx\"])(\"span\",{children:c?n:n.substring(0,50)}),Object(kd[\"jsx\"])(\"span\",{style:{marginLeft:5},children:c?Object(kd[\"jsxs\"])(\"a\",{onClick:()=>u(!1),children:[Object(kd[\"jsx\"])(Nd,{}),\" \\u6536\\u8d77\"]}):Object(kd[\"jsxs\"])(\"a\",{onClick:()=>u(!0),children:[Object(kd[\"jsx\"])(Ld,{}),\" \\u67e5\\u770b\\u66f4\\u591a\"]})})]}):n}),o&&Object(kd[\"jsx\"])(Ed,{span:20,children:n})]})})},Rd=r(\"R1gS\"),Fd={width:\"25%\",textAlign:\"center\"},Bd={width:\"100%\",textAlign:\"center\"},zd={expire_time:\"-\",issue_time:\"-\",issuer_common_name:\"-\",issuer_country_name:\"-\",issuer_locality:\"-\",issuer_organization:\"-\",issuer_organizational_unit:\"-\",issuer_state_or_province_name:\"-\",serial_number:\"-\",subject_common_name:\"-\",subject_organization:\"-\",subject_organizational_unit:\"-\"};function Ud(e){var t=Object(aa[\"c\"])(\"@@initialState\"),n=t.initialState.type,r=e.data,o=r.ip,i=void 0===o?\"-\":o,a=r.location,c=void 0===a?{}:a,u=r.tags,s=void 0===u?[]:u,l=e.loading,f=Object(j[\"useState\"])(!1),d=Object(Ta[\"a\"])(f,2),h=d[0],p=d[1],v=Object(j[\"useState\"])(!1),g=Object(Ta[\"a\"])(v,2),m=g[0],y=g[1],b=Object(j[\"useState\"])([]),x=Object(Ta[\"a\"])(b,2),w=x[0],O=x[1],E=Object(j[\"useState\"])([]),S=Object(Ta[\"a\"])(E,2),k=S[0],_=S[1],C=Object(j[\"useState\"])([]),M=Object(Ta[\"a\"])(C,2),A=M[0],N=M[1],T=Object(j[\"useState\"])({title:\"\\u8be6\\u60c5\",span:6,data:[]}),I=Object(Ta[\"a\"])(T,2),P=I[0],L=I[1],D=Object(j[\"useState\"])(zd),R=Object(Ta[\"a\"])(D,2),F=R[0],B=R[1],z=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=[],o=function(o){if(o>n-1)return\"break\";r.push(Object(kd[\"jsx\"])(Ed,{style:{wordBreak:\"break-all\",wordWrap:\"break-word\"},span:t,children:Object(kd[\"jsx\"])(\"a\",{onClick:()=>{G(e[o])},children:e[o]})},e[o]))},i=0;i<e.length;i+=1){var a=o(i);if(\"break\"===a)break}return r},U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6;0!==e.length?(L({title:t,span:n,data:e}),y(!0)):Na[\"default\"].info(\"\\u5f53\\u524d\\u6682\\u65e0\\u6570\\u636e\\u53ef\\u67e5\\u770b\\uff01\")},G=e=>{0!==e.length?(jd()(e),Na[\"default\"].success(\"\\u590d\\u5236\\u6210\\u529f\\uff01\")):Na[\"default\"].info(\"\\u5f53\\u524d\\u6682\\u65e0\\u6570\\u636e\\u53ef\\u590d\\u5236\\uff01\")},V=()=>{y(!1),L({title:\"\\u8be6\\u60c5\",span:6,data:[]})},W=()=>{p(!1)};Object(j[\"useEffect\"])((()=>{if(null!==e&&void 0!==e&&e.data){var t,r,o,i=e.data,a=i.domains,c=void 0===a?[]:a,u=i.hostnames,s=void 0===u?[]:u,l=i.data,f=void 0===l?[]:l,d=zd,h=\"https\"===n?443:80,p=[],v=[...s],g=md(c);try{for(g.s();!(o=g.n()).done;){var m=o.value;v.includes(m)||v.push(m)}}catch(j){g.e(j)}finally{g.f()}1===v.length&&Object(Rd[\"h\"])(v[0])&&(v.length=0);var y,b=md(f);try{for(b.s();!(y=b.n()).done;){var x,w=y.value;if(w.port===h)if(null!==w&&void 0!==w&&w.product&&p.push({type:1,title:w.product}),null!==w&&void 0!==w&&w.http&&null!==w&&void 0!==w&&null!==(x=w.http)&&void 0!==x&&x.components)for(var E in w.http.components)p.push({type:2,title:E,content:w.http.components[E].categories||[]})}}catch(j){b.e(j)}finally{b.f()}var S=f.filter((e=>!(e.port!==h||!e.cert)));S.length>0&&null!==(t=S[0])&&void 0!==t&&null!==(r=t.cert)&&void 0!==r&&r.dns_names&&O(S[0].cert.dns_names),B(S.length>0?Object(ia[\"a\"])(Object(ia[\"a\"])({},d),S[0].cert):d),_(p),N(v)}}),[e.data]);var H=e=>{var t=[],n=e.filter((e=>1===e.type)),r=e.filter((e=>2===e.type));if(n.length>0&&t.push(Object(kd[\"jsx\"])(vd,{color:\"blue\",children:n[0].title},\"product\")),r.length>2){var o=r.map((e=>{var t=e.content.map((e=>Object(kd[\"jsx\"])(vd,{color:\"gold\",children:e},e)));return Object(kd[\"jsxs\"])(\"div\",{style:{margin:5},children:[Object(kd[\"jsx\"])(\"span\",{children:e.title}),\": \",t,\" \"]})}));t.push(Object(kd[\"jsx\"])(Aa,{title:o,children:Object(kd[\"jsx\"])(vd,{color:\"cyan\",style:{marginLeft:8},children:\"\".concat(r.length,\"\\u4e2a...\")},\"2\")}))}else{var i,a=md(r);try{for(a.s();!(i=a.n()).done;){var c=i.value,u=c.content.map((e=>Object(kd[\"jsx\"])(vd,{color:\"gold\",children:e},e)));t.push(Object(kd[\"jsx\"])(Aa,{title:u,children:Object(kd[\"jsx\"])(vd,{color:\"cyan\",style:{marginLeft:8},children:c.title},c.title)}))}}catch(s){a.e(s)}finally{a.f()}}return t};return Object(kd[\"jsxs\"])(\"div\",{className:\"site-basicInfo\",children:[Object(kd[\"jsxs\"])(ad,{style:{fontSize:12},loading:l,children:[Object(kd[\"jsxs\"])(ad.Grid,{style:Fd,children:[Object(kd[\"jsx\"])(\"div\",{children:\"\\u7f51\\u7ad9ip\"}),Object(kd[\"jsx\"])(\"div\",{children:Object(kd[\"jsx\"])(\"a\",{onClick:()=>G(i),children:i})})]}),Object(kd[\"jsxs\"])(ad.Grid,{style:Fd,children:[Object(kd[\"jsx\"])(\"div\",{children:\"asn\"}),Object(kd[\"jsx\"])(\"div\",{children:Object(kd[\"jsx\"])(\"a\",{onClick:()=>G((null===c||void 0===c?void 0:c.asn)||\"-\"),children:Object(kd[\"jsx\"])(_d,{text:(null===c||void 0===c?void 0:c.asn)||\"-\"})})})]}),Object(kd[\"jsxs\"])(ad.Grid,{style:Fd,children:[Object(kd[\"jsx\"])(\"div\",{children:\"\\u5730\\u7406\\u4f4d\\u7f6e\"}),Object(kd[\"jsx\"])(\"div\",{children:Object(kd[\"jsx\"])(\"a\",{onClick:()=>{var e=null!==c&&void 0!==c&&c.country_name?\"\".concat(null===c||void 0===c?void 0:c.country_name,\"-\").concat(null===c||void 0===c?void 0:c.city):\"-\";G(e)},children:Object(kd[\"jsx\"])(_d,{text:null!==c&&void 0!==c&&c.country_name?\"\".concat(null===c||void 0===c?void 0:c.country_name,\"-\").concat(null===c||void 0===c?void 0:c.city):\"-\"})})})]}),Object(kd[\"jsxs\"])(ad.Grid,{style:Fd,children:[Object(kd[\"jsx\"])(\"div\",{children:\"\\u6807\\u7b7e\"}),Object(kd[\"jsx\"])(\"div\",{children:s&&s.length>0?1===s.length?Object(kd[\"jsx\"])(vd,{color:\"blue\",children:s[0]}):Object(kd[\"jsx\"])(Aa,{placement:\"leftBottom\",title:s.map((e=>Object(kd[\"jsx\"])(vd,{color:\"cyan\",style:{margin:5},children:e},e))),children:Object(kd[\"jsx\"])(vd,{color:\"blue\",children:\"\".concat(s.length,\"\\u4e2a\\u6807\\u7b7e..\")})}):\"-\"})]})]}),Object(kd[\"jsx\"])(ad,{className:\"basic-cert-info\",size:\"small\",title:\"\\u8bc1\\u4e66\\u4fe1\\u606f\",loading:l,extra:Object(kd[\"jsxs\"])(\"div\",{children:[Object(kd[\"jsx\"])(iu,{size:\"small\",type:\"primary\",onClick:()=>{G(w)},children:\"\\u590d\\u5236\\u8bc1\\u4e66\\u57df\\u540d\"},1),Object(kd[\"jsx\"])(iu,{style:{marginLeft:8},size:\"small\",type:\"primary\",onClick:()=>{p(!0)},children:\"\\u8be6\\u60c5\"},2)]}),children:Object(kd[\"jsx\"])(ad.Grid,{style:Bd,children:Object(kd[\"jsxs\"])(xf,{gutter:[5,5],style:{textAlign:\"left\",paddingLeft:12},children:[Object(kd[\"jsxs\"])(Ed,{span:8,children:[Object(kd[\"jsx\"])(\"span\",{children:\"\\u4e3b\\u9898:\"}),Object(kd[\"jsx\"])(\"span\",{style:{marginLeft:8},children:Object(kd[\"jsx\"])(_d,{text:F.subject_common_name})})]}),Object(kd[\"jsxs\"])(Ed,{span:8,children:[Object(kd[\"jsx\"])(\"span\",{children:\"\\u7ec4\\u7ec7:\"}),Object(kd[\"jsx\"])(\"span\",{style:{marginLeft:8},children:Object(kd[\"jsx\"])(_d,{text:F.subject_organization})})]}),Object(kd[\"jsxs\"])(Ed,{span:8,children:[Object(kd[\"jsx\"])(\"span\",{children:\"\\u9881\\u5e03\\u8005\\u540d\\u79f0:\"}),Object(kd[\"jsx\"])(\"span\",{style:{marginLeft:8},children:Object(kd[\"jsx\"])(_d,{text:F.issuer_common_name})})]}),Object(kd[\"jsxs\"])(Ed,{span:8,children:[Object(kd[\"jsx\"])(\"span\",{children:\"\\u9881\\u5e03\\u8005\\u4f4d\\u7f6e:\"}),Object(kd[\"jsx\"])(\"span\",{style:{marginLeft:8},children:Object(kd[\"jsx\"])(_d,{text:\"-\"!==F.issuer_country_name?\"\".concat(F.issuer_country_name,\"-\").concat(F.issuer_locality,\"-\").concat(F.issuer_locality):\"-\"})})]}),Object(kd[\"jsxs\"])(Ed,{span:8,children:[Object(kd[\"jsx\"])(\"span\",{children:\"\\u9881\\u5e03\\u8005\\u5f52\\u5c5e:\"}),Object(kd[\"jsx\"])(\"span\",{style:{marginLeft:8},children:Object(kd[\"jsx\"])(_d,{text:F.issuer_organization})})]}),Object(kd[\"jsxs\"])(Ed,{span:8,children:[Object(kd[\"jsx\"])(\"span\",{children:\"\\u8fc7\\u671f\\u65f6\\u95f4:\"}),Object(kd[\"jsx\"])(\"span\",{style:{marginLeft:8},children:Object(kd[\"jsx\"])(_d,{text:F.expire_time})})]}),Object(kd[\"jsxs\"])(Ed,{span:24,children:[Object(kd[\"jsx\"])(\"span\",{children:\"\\u76f8\\u5173\\u57df\\u540d:\"}),Object(kd[\"jsx\"])(\"span\",{style:{marginLeft:8},children:w.length>0?w.map(((e,t)=>t>=5?null:Object(kd[\"jsx\"])(\"a\",{style:{marginLeft:10},onClick:()=>{G(e)},children:e},e))):\"-\"})]})]})})}),Object(kd[\"jsx\"])(ad,{className:\"basic-cert-info\",size:\"small\",title:\"\\u6307\\u7eb9\",loading:l,children:Object(kd[\"jsx\"])(ad.Grid,{style:Object(ia[\"a\"])(Object(ia[\"a\"])({},Bd),{},{textAlign:\"left\"}),children:H(k)})}),Object(kd[\"jsx\"])(ad,{className:\"basic-cert-info\",size:\"small\",title:\"\\u53cd\\u67e5\\u57df\\u540d\",loading:l,extra:Object(kd[\"jsxs\"])(xf,{children:[Object(kd[\"jsx\"])(Ed,{flex:4}),Object(kd[\"jsxs\"])(Ed,{flex:1,style:{textAlign:\"right\"},children:[Object(kd[\"jsx\"])(iu,{size:\"small\",type:\"primary\",onClick:()=>{U(A,\"\\u53cd\\u67e5\\u57df\\u540d\\u8be6\\u60c5\",8)},children:\"\\u8be6\\u60c5\"}),Object(kd[\"jsx\"])(iu,{size:\"small\",type:\"primary\",style:{marginLeft:10},onClick:()=>{G(A)},children:\"\\u590d\\u5236\"})]})]}),children:Object(kd[\"jsx\"])(ad.Grid,{style:Bd,children:A&&A.length>0?Object(kd[\"jsxs\"])(xf,{gutter:[5,5],children:[z(A),\" \"]}):Object(kd[\"jsx\"])(\"div\",{children:\"-\"})})}),Object(kd[\"jsx\"])(Ql,{title:P.title,placement:\"right\",onClose:V,open:m,width:600,className:\"site-port-drawer\",children:Object(kd[\"jsxs\"])(xf,{gutter:[5,5],children:[z(P.data,P.span,P.data.length),\" \"]})}),Object(kd[\"jsx\"])(Ql,{title:\"\\u8bc1\\u4e66\\u4fe1\\u606f\\u8be6\\u60c5\",placement:\"right\",onClose:W,open:h,width:600,className:\"site-port-drawer\",children:Object(kd[\"jsxs\"])(xf,{children:[Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"\\u4e3b\\u9898\",content:F.subject_common_name})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"\\u7ec4\\u7ec7\",content:F.subject_organization})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"\\u9881\\u5e03\\u8005\\u540d\\u79f0\",content:F.issuer_common_name})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"\\u9881\\u5e03\\u8005\\u56fd\\u5bb6\",content:F.issuer_country_name})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"\\u9881\\u5e03\\u8005\\u7701/\\u6d32\",content:F.issuer_state_or_province_name})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"\\u9881\\u5e03\\u8005\\u5e02\",content:F.issuer_locality})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"\\u9881\\u5e03\\u8005\\u5f52\\u5c5e\",content:F.issuer_organization})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"\\u8fc7\\u671f\\u65f6\\u95f4\",content:F.expire_time})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"\\u9881\\u5e03\\u65f6\\u95f4\",content:F.issue_time})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"\\u9881\\u53d1\\u8005\\u94fe\\u63a5\",content:F.issuer_organizational_unit})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"\\u5e8f\\u5217\\u53f7\",content:F.serial_number})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"\\u76f8\\u5173\\u57df\\u540d\",isNode:!0,content:w.length>0?w.map((e=>Object(kd[\"jsx\"])(\"a\",{style:{marginLeft:10},children:e},e))):\"-\"})})]})})]})}r(\"pED+\"),r(\"KCY9\"),r(\"KAsB\"),r(\"x54q\"),r(\"OPEp\"),r(\"pwpV\"),r(\"Urep\"),r(\"bKJz\"),r(\"KPFz\"),r(\"YBTB\"),r(\"KxFI\");var Gd=\"accept acceptCharset accessKey action allowFullScreen allowTransparency\\n    alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\\n    charSet checked classID className colSpan cols content contentEditable contextMenu\\n    controls coords crossOrigin data dateTime default defer dir disabled download draggable\\n    encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\\n    headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\\n    is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\\n    mediaGroup method min minLength multiple muted name noValidate nonce open\\n    optimum pattern placeholder poster preload radioGroup readOnly rel required\\n    reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\\n    shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\\n    summary tabIndex target title type useMap value width wmode wrap\",Vd=\"onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\\n    onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\\n    onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\\n    onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\\n    onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\\n    onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\\n    onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError\",Wd=\"\".concat(Gd,\" \").concat(Vd).split(/[\\s\\n]+/),Hd=\"aria-\",Yd=\"data-\";function Xd(e,t){return 0===e.indexOf(t)}function qd(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:Object(S[\"a\"])({},n);var r={};return Object.keys(e).forEach((function(n){(t.aria&&(\"role\"===n||Xd(n,Hd))||t.data&&Xd(n,Yd)||t.attr&&Wd.includes(n))&&(r[n]=e[n])})),r}function Kd(e){return null}var Zd=Kd;function $d(e){return null}var Qd=$d,Jd=\"RC_TABLE_KEY\";function eh(e){return void 0===e||null===e?[]:Array.isArray(e)?e:[e]}function th(e,t){if(!t&&\"number\"!==typeof t)return e;for(var n=eh(t),r=e,o=0;o<n.length;o+=1){if(!r)return null;var i=n[o];r=r[i]}return r}function nh(e){var t=[],n={};return e.forEach((function(e){var r=e||{},o=r.key,i=r.dataIndex,a=o||eh(i).join(\"-\")||Jd;while(n[a])a=\"\".concat(a,\"_next\");n[a]=!0,t.push(a)})),t}function rh(e){return null!==e&&void 0!==e}var oh=j[\"createContext\"](!1),ih=oh;function ah(){var e=j[\"createContext\"](null),t=function(t){var n=t.value,r=t.children,o=j[\"useRef\"](n);o.current=n;var i=j[\"useState\"]((function(){return{getValue:function(){return o.current},listeners:new Set}})),a=Object(F[\"a\"])(i,1),c=a[0];return Y((function(){c.listeners.forEach((function(e){e(n)}))}),[n]),j[\"createElement\"](e.Provider,{value:c},r)};return{Context:e,Provider:t}}function ch(e,t){var n=G(t),r=j[\"useContext\"](null===e||void 0===e?void 0:e.Context),o=r||{},i=o.listeners,a=o.getValue,c=j[\"useState\"]((function(){return n(r?a():null)})),u=Object(F[\"a\"])(c,2),s=u[0],l=u[1];return Y((function(){if(r)return i.add(e),function(){i.delete(e)};function e(e){l((function(t){var r=n(e);return Re()(t,r)?t:r}))}}),[r]),s}var uh=ah(),sh=uh,lh=j[\"createContext\"](null),fh=lh,dh=j[\"createContext\"]({renderWithProps:!1}),hh=dh,ph=[\"colSpan\",\"rowSpan\",\"style\",\"className\"];function vh(e,t,n,r){var o=e+t-1;return e<=r&&o>=n}function gh(e){return e&&\"object\"===Object(B[\"a\"])(e)&&!Array.isArray(e)&&!j[\"isValidElement\"](e)}function mh(e){return\"string\"===typeof e||Object(ie[\"c\"])(e)}var yh=function(e){var t,n=e.ellipsis,r=e.rowType,o=e.children,i=!0===n?{showTitle:!0}:n;return i&&(i.showTitle||\"header\"===r)&&(\"string\"===typeof o||\"number\"===typeof o?t=o.toString():j[\"isValidElement\"](o)&&\"string\"===typeof o.props.children&&(t=o.props.children)),t};function bh(e,t){var n,r,o,i=e.prefixCls,a=e.className,c=e.record,u=e.index,s=e.renderIndex,l=e.dataIndex,f=e.render,d=e.children,h=e.component,p=void 0===h?\"td\":h,v=e.colSpan,g=e.rowSpan,m=e.fixLeft,y=e.fixRight,b=e.firstFixLeft,x=e.lastFixLeft,O=e.firstFixRight,E=e.lastFixRight,k=e.appendNode,_=e.additionalProps,C=void 0===_?{}:_,M=e.ellipsis,A=e.align,N=e.rowType,T=e.isSticky,I=e.hovering,P=e.onHover,L=\"\".concat(i,\"-cell\"),D=j[\"useContext\"](hh),U=j[\"useContext\"](ih),G=j[\"useContext\"](fh),V=G.allColumnsFixedLeft,W=j[\"useMemo\"]((function(){if(rh(d))return[d];var e=th(c,l),t=e,n=void 0;if(f){var r=f(e,c,s);gh(r)?(t=r.children,n=r.props,D.renderWithProps=!0):t=r}return[t,n]}),[D.renderWithProps?Math.random():0,d,l,D,c,f,s]),H=Object(F[\"a\"])(W,2),Y=H[0],X=H[1],q=Y;\"object\"!==Object(B[\"a\"])(q)||Array.isArray(q)||j[\"isValidElement\"](q)||(q=null),M&&(x||O)&&(q=j[\"createElement\"](\"span\",{className:\"\".concat(L,\"-content\")},q));var K=X||{},Z=K.colSpan,$=K.rowSpan,Q=K.style,J=K.className,ee=Object(z[\"a\"])(K,ph),te=null!==(n=void 0!==Z?Z:v)&&void 0!==n?n:1,ne=null!==(r=void 0!==$?$:g)&&void 0!==r?r:1;if(0===te||0===ne)return null;var re={},oe=\"number\"===typeof m&&U,ie=\"number\"===typeof y&&U;oe&&(re.position=\"sticky\",re.left=m),ie&&(re.position=\"sticky\",re.right=y);var ae={};A&&(ae.textAlign=A);var ce=function(e){var t;c&&P(u,u+ne-1),null===C||void 0===C||null===(t=C.onMouseEnter)||void 0===t||t.call(C,e)},ue=function(e){var t;c&&P(-1,-1),null===C||void 0===C||null===(t=C.onMouseLeave)||void 0===t||t.call(C,e)},se=yh({rowType:N,ellipsis:M,children:Y}),le=Object(S[\"a\"])(Object(S[\"a\"])(Object(S[\"a\"])({title:se},ee),C),{},{colSpan:1!==te?te:null,rowSpan:1!==ne?ne:null,className:R()(L,a,(o={},Object(w[\"a\"])(o,\"\".concat(L,\"-fix-left\"),oe&&U),Object(w[\"a\"])(o,\"\".concat(L,\"-fix-left-first\"),b&&U),Object(w[\"a\"])(o,\"\".concat(L,\"-fix-left-last\"),x&&U),Object(w[\"a\"])(o,\"\".concat(L,\"-fix-left-all\"),x&&V&&U),Object(w[\"a\"])(o,\"\".concat(L,\"-fix-right\"),ie&&U),Object(w[\"a\"])(o,\"\".concat(L,\"-fix-right-first\"),O&&U),Object(w[\"a\"])(o,\"\".concat(L,\"-fix-right-last\"),E&&U),Object(w[\"a\"])(o,\"\".concat(L,\"-ellipsis\"),M),Object(w[\"a\"])(o,\"\".concat(L,\"-with-append\"),k),Object(w[\"a\"])(o,\"\".concat(L,\"-fix-sticky\"),(oe||ie)&&T&&U),Object(w[\"a\"])(o,\"\".concat(L,\"-row-hover\"),!X&&I),o),C.className,J),style:Object(S[\"a\"])(Object(S[\"a\"])(Object(S[\"a\"])(Object(S[\"a\"])({},C.style),ae),re),Q),onMouseEnter:ce,onMouseLeave:ue,ref:mh(p)?t:null});return j[\"createElement\"](p,le,k,q)}var xh=j[\"forwardRef\"](bh);xh.displayName=\"Cell\";var wh=[\"expanded\",\"className\",\"hovering\"],Oh=j[\"memo\"](xh,(function(e,t){return t.shouldCellUpdate?wh.every((function(n){return e[n]===t[n]}))&&!t.shouldCellUpdate(t.record,e.record):Re()(e,t)})),Eh=j[\"forwardRef\"]((function(e,t){var n=e.index,r=e.additionalProps,o=void 0===r?{}:r,i=e.colSpan,a=e.rowSpan,c=o.colSpan,u=o.rowSpan,s=null!==i&&void 0!==i?i:c,l=null!==a&&void 0!==a?a:u,f=ch(sh,(function(e){var t=vh(n,l||1,null===e||void 0===e?void 0:e.startRow,null===e||void 0===e?void 0:e.endRow);return{onHover:null===e||void 0===e?void 0:e.onHover,hovering:t}})),d=f.onHover,h=f.hovering;return j[\"createElement\"](Oh,Object(O[\"a\"])({},e,{colSpan:s,rowSpan:l,hovering:h,ref:t,onHover:d}))}));Eh.displayName=\"WrappedCell\";var Sh=Eh,jh=j[\"createContext\"](null),kh=jh;function _h(e,t,n,r,o){var i,a,c=n[e]||{},u=n[t]||{};\"left\"===c.fixed?i=r.left[e]:\"right\"===u.fixed&&(a=r.right[t]);var s=!1,l=!1,f=!1,d=!1,h=n[t+1],p=n[e-1];if(\"rtl\"===o){if(void 0!==i){var v=p&&\"left\"===p.fixed;d=!v}else if(void 0!==a){var g=h&&\"right\"===h.fixed;f=!g}}else if(void 0!==i){var m=h&&\"left\"===h.fixed;s=!m}else if(void 0!==a){var y=p&&\"right\"===p.fixed;l=!y}return{fixLeft:i,fixRight:a,lastFixLeft:s,firstFixRight:l,lastFixRight:f,firstFixLeft:d,isSticky:r.isSticky}}function Ch(e){var t,n=e.cells,r=e.stickyOffsets,o=e.flattenColumns,i=e.rowComponent,a=e.cellComponent,c=e.onHeaderRow,u=e.index,s=j[\"useContext\"](kh),l=s.prefixCls,f=s.direction;c&&(t=c(n.map((function(e){return e.column})),u));var d=nh(n.map((function(e){return e.column})));return j[\"createElement\"](i,t,n.map((function(e,t){var n,i=e.column,c=_h(e.colStart,e.colEnd,o,r,f);return i&&i.onHeaderCell&&(n=e.column.onHeaderCell(i)),j[\"createElement\"](Sh,Object(O[\"a\"])({},e,{ellipsis:i.ellipsis,align:i.align,component:a,prefixCls:l,key:d[t]},c,{additionalProps:n,rowType:\"header\"}))})))}Ch.displayName=\"HeaderRow\";var Mh=Ch;function Ah(e){var t=[];function n(e,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;t[o]=t[o]||[];var i=r,a=e.filter(Boolean).map((function(e){var r={key:e.key,className:e.className||\"\",children:e.title,column:e,colStart:i},a=1,c=e.children;return c&&c.length>0&&(a=n(c,i,o+1).reduce((function(e,t){return e+t}),0),r.hasSubColumns=!0),\"colSpan\"in e&&(a=e.colSpan),\"rowSpan\"in e&&(r.rowSpan=e.rowSpan),r.colSpan=a,r.colEnd=r.colStart+a-1,t[o].push(r),i+=a,a}));return a}n(e,0);for(var r=t.length,o=function(e){t[e].forEach((function(t){\"rowSpan\"in t||t.hasSubColumns||(t.rowSpan=r-e)}))},i=0;i<r;i+=1)o(i);return t}function Nh(e){var t=e.stickyOffsets,n=e.columns,r=e.flattenColumns,o=e.onHeaderRow,i=j[\"useContext\"](kh),a=i.prefixCls,c=i.getComponent,u=j[\"useMemo\"]((function(){return Ah(n)}),[n]),s=c([\"header\",\"wrapper\"],\"thead\"),l=c([\"header\",\"row\"],\"tr\"),f=c([\"header\",\"cell\"],\"th\");return j[\"createElement\"](s,{className:\"\".concat(a,\"-thead\")},u.map((function(e,n){var i=j[\"createElement\"](Mh,{key:n,flattenColumns:r,cells:e,stickyOffsets:t,rowComponent:l,cellComponent:f,onHeaderRow:o,index:n});return i})))}var Th=Nh,Ih=j[\"createContext\"](null),Ph=Ih;function Lh(e){var t=e.prefixCls,n=e.children,r=e.component,o=e.cellComponent,i=e.className,a=e.expanded,c=e.colSpan,u=e.isEmpty,s=j[\"useContext\"](kh),l=s.scrollbarSize,f=j[\"useContext\"](Ph),d=f.fixHeader,h=f.fixColumn,p=f.componentWidth,v=f.horizonScroll;return j[\"useMemo\"]((function(){var e=n;return(u?v:h)&&(e=j[\"createElement\"](\"div\",{style:{width:p-(d?l:0),position:\"sticky\",left:0,overflow:\"hidden\"},className:\"\".concat(t,\"-expanded-row-fixed\")},0!==p&&e)),j[\"createElement\"](r,{className:i,style:{display:a?null:\"none\"}},j[\"createElement\"](Sh,{component:o,prefixCls:t,colSpan:c},e))}),[n,r,i,a,c,u,l,p,h,d,v])}var Dh=Lh,Rh=j[\"createContext\"](null),Fh=Rh;function Bh(e){var t=e.className,n=e.style,r=e.record,o=e.index,i=e.renderIndex,a=e.rowKey,c=e.rowExpandable,u=e.expandedKeys,s=e.onRow,l=e.indent,f=void 0===l?0:l,d=e.rowComponent,h=e.cellComponent,p=e.childrenColumnName,v=j[\"useContext\"](kh),g=v.prefixCls,m=v.fixedInfoList,y=j[\"useContext\"](fh),b=y.flattenColumns,x=y.expandableType,w=y.expandRowByClick,E=y.onTriggerExpand,k=y.rowClassName,_=y.expandedRowClassName,C=y.indentSize,M=y.expandIcon,A=y.expandedRowRender,N=y.expandIconColumnIndex,T=j[\"useState\"](!1),I=Object(F[\"a\"])(T,2),P=I[0],L=I[1],D=u&&u.has(e.recordKey);j[\"useEffect\"]((function(){D&&L(!0)}),[D]);var B=\"row\"===x&&(!c||c(r)),z=\"nest\"===x,U=p&&r&&r[p],G=B||z,V=j[\"useRef\"](E);V.current=E;var W,H=function(){V.current.apply(V,arguments)},Y=null===s||void 0===s?void 0:s(r,o),X=function(e){var t;w&&G&&H(r,e);for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];null===Y||void 0===Y||null===(t=Y.onClick)||void 0===t||t.call.apply(t,[Y,e].concat(o))};\"string\"===typeof k?W=k:\"function\"===typeof k&&(W=k(r,o,f));var q,K=nh(b),Z=j[\"createElement\"](d,Object(O[\"a\"])({},Y,{\"data-row-key\":a,className:R()(t,\"\".concat(g,\"-row\"),\"\".concat(g,\"-row-level-\").concat(f),W,Y&&Y.className),style:Object(S[\"a\"])(Object(S[\"a\"])({},n),Y?Y.style:null),onClick:X}),b.map((function(e,t){var n,a,c=e.render,u=e.dataIndex,s=e.className,l=K[t],d=m[t];return t===(N||0)&&z&&(n=j[\"createElement\"](j[\"Fragment\"],null,j[\"createElement\"](\"span\",{style:{paddingLeft:\"\".concat(C*f,\"px\")},className:\"\".concat(g,\"-row-indent indent-level-\").concat(f)}),M({prefixCls:g,expanded:D,expandable:U,record:r,onExpand:H}))),e.onCell&&(a=e.onCell(r,o)),j[\"createElement\"](Sh,Object(O[\"a\"])({className:s,ellipsis:e.ellipsis,align:e.align,component:h,prefixCls:g,key:l,record:r,index:o,renderIndex:i,dataIndex:u,render:c,shouldCellUpdate:e.shouldCellUpdate,expanded:n&&D},d,{appendNode:n,additionalProps:a}))})));if(B&&(P||D)){var $=A(r,o,f+1,D),Q=_&&_(r,o,f);q=j[\"createElement\"](Dh,{expanded:D,className:R()(\"\".concat(g,\"-expanded-row\"),\"\".concat(g,\"-expanded-row-level-\").concat(f+1),Q),prefixCls:g,component:d,cellComponent:h,colSpan:b.length,isEmpty:!1},$)}return j[\"createElement\"](j[\"Fragment\"],null,Z,q)}Bh.displayName=\"BodyRow\";var zh=Bh;function Uh(e,t,n,r,o,i){var a=[];a.push({record:e,indent:t,index:i});var c=o(e),u=null===r||void 0===r?void 0:r.has(c);if(e&&Array.isArray(e[n])&&u)for(var s=0;s<e[n].length;s+=1){var l=Uh(e[n][s],t+1,n,r,o,s);a.push.apply(a,Object(re[\"a\"])(l))}return a}function Gh(e,t,n,r){var o=j[\"useMemo\"]((function(){if(null===n||void 0===n?void 0:n.size){for(var o=[],i=0;i<(null===e||void 0===e?void 0:e.length);i+=1){var a=e[i];o.push.apply(o,Object(re[\"a\"])(Uh(a,0,t,n,r,i)))}return o}return null===e||void 0===e?void 0:e.map((function(e,t){return{record:e,indent:0,index:t}}))}),[e,t,n,r]);return o}function Vh(e){var t=e.columnKey,n=e.onColumnResize,r=j[\"useRef\"]();return j[\"useEffect\"]((function(){r.current&&n(t,r.current.offsetWidth)}),[]),j[\"createElement\"](je,{data:t},j[\"createElement\"](\"td\",{ref:r,style:{padding:0,border:0,height:0}},j[\"createElement\"](\"div\",{style:{height:0,overflow:\"hidden\"}},\"\\xa0\")))}function Wh(e){var t=e.prefixCls,n=e.columnsKey,r=e.onColumnResize;return j[\"createElement\"](\"tr\",{\"aria-hidden\":\"true\",className:\"\".concat(t,\"-measure-row\"),style:{height:0,fontSize:0}},j[\"createElement\"](je.Collection,{onBatchResize:function(e){e.forEach((function(e){var t=e.data,n=e.size;r(t,n.offsetWidth)}))}},n.map((function(e){return j[\"createElement\"](Vh,{key:e,columnKey:e,onColumnResize:r})}))))}function Hh(e){var t=e.data,n=e.getRowKey,r=e.measureColumnWidth,o=e.expandedKeys,i=e.onRow,a=e.rowExpandable,c=e.emptyNode,u=e.childrenColumnName,s=j[\"useContext\"](Fh),l=s.onColumnResize,f=j[\"useContext\"](kh),d=f.prefixCls,h=f.getComponent,p=j[\"useContext\"](fh),v=p.flattenColumns,g=Gh(t,u,o,n),m=j[\"useRef\"]({renderWithProps:!1}),y=j[\"useState\"](-1),b=Object(F[\"a\"])(y,2),x=b[0],w=b[1],O=j[\"useState\"](-1),E=Object(F[\"a\"])(O,2),S=E[0],k=E[1],_=j[\"useCallback\"]((function(e,t){w(e),k(t)}),[]),C=j[\"useMemo\"]((function(){var e,s=h([\"body\",\"wrapper\"],\"tbody\"),f=h([\"body\",\"row\"],\"tr\"),p=h([\"body\",\"cell\"],\"td\");e=t.length?g.map((function(e,t){var r=e.record,c=e.indent,s=e.index,l=n(r,t);return j[\"createElement\"](zh,{key:l,rowKey:l,record:r,recordKey:l,index:t,renderIndex:s,rowComponent:f,cellComponent:p,expandedKeys:o,onRow:i,getRowKey:n,rowExpandable:a,childrenColumnName:u,indent:c})})):j[\"createElement\"](Dh,{expanded:!0,className:\"\".concat(d,\"-placeholder\"),prefixCls:d,component:f,cellComponent:p,colSpan:v.length,isEmpty:!0},c);var m=nh(v);return j[\"createElement\"](s,{className:\"\".concat(d,\"-tbody\")},r&&j[\"createElement\"](Wh,{prefixCls:d,columnsKey:m,onColumnResize:l}),e)}),[t,d,i,r,o,n,h,c,v,u,l,a,g]);return j[\"createElement\"](hh.Provider,{value:m.current},j[\"createElement\"](sh.Provider,{value:{startRow:x,endRow:S,onHover:_}},C))}var Yh=j[\"memo\"](Hh);Yh.displayName=\"Body\";var Xh=Yh,qh=[\"expandable\"],Kh=\"RC_TABLE_INTERNAL_COL_DEFINE\";function Zh(e){var t,n=e.expandable,r=Object(z[\"a\"])(e,qh);return t=\"expandable\"in e?Object(S[\"a\"])(Object(S[\"a\"])({},r),n):r,!1===t.showExpandColumn&&(t.expandIconColumnIndex=-1),t}var $h={},Qh=[\"children\"],Jh=[\"fixed\"];function ep(e){return Object(ae[\"a\"])(e).filter((function(e){return j[\"isValidElement\"](e)})).map((function(e){var t=e.key,n=e.props,r=n.children,o=Object(z[\"a\"])(n,Qh),i=Object(S[\"a\"])({key:t},o);return r&&(i.children=ep(r)),i}))}function tp(e){return e.reduce((function(e,t){var n=t.fixed,r=!0===n?\"left\":n,o=t.children;return o&&o.length>0?[].concat(Object(re[\"a\"])(e),Object(re[\"a\"])(tp(o).map((function(e){return Object(S[\"a\"])({fixed:r},e)})))):[].concat(Object(re[\"a\"])(e),[Object(S[\"a\"])(Object(S[\"a\"])({},t),{},{fixed:r})])}),[])}function np(e){return e.map((function(e){var t=e.fixed,n=Object(z[\"a\"])(e,Jh),r=t;return\"left\"===t?r=\"right\":\"right\"===t&&(r=\"left\"),Object(S[\"a\"])({fixed:r},n)}))}function rp(e,t){var n=e.prefixCls,r=e.columns,o=e.children,i=e.expandable,a=e.expandedKeys,c=e.columnTitle,u=e.getRowKey,s=e.onTriggerExpand,l=e.expandIcon,f=e.rowExpandable,d=e.expandIconColumnIndex,h=e.direction,p=e.expandRowByClick,v=e.columnWidth,g=e.fixed,m=j[\"useMemo\"]((function(){return r||ep(o)}),[r,o]),y=j[\"useMemo\"]((function(){if(i){var e,t=m.slice();if(!t.includes($h)){var r=d||0;r>=0&&t.splice(r,0,$h)}0;var o=t.indexOf($h);t=t.filter((function(e,t){return e!==$h||t===o}));var h,y=m[o];h=\"left\"!==g&&!g||d?\"right\"!==g&&!g||d!==m.length?y?y.fixed:null:\"right\":\"left\";var b=(e={},Object(w[\"a\"])(e,Kh,{className:\"\".concat(n,\"-expand-icon-col\"),columnType:\"EXPAND_COLUMN\"}),Object(w[\"a\"])(e,\"title\",c),Object(w[\"a\"])(e,\"fixed\",h),Object(w[\"a\"])(e,\"className\",\"\".concat(n,\"-row-expand-icon-cell\")),Object(w[\"a\"])(e,\"width\",v),Object(w[\"a\"])(e,\"render\",(function(e,t,r){var o=u(t,r),i=a.has(o),c=!f||f(t),d=l({prefixCls:n,expanded:i,expandable:c,record:t,onExpand:s});return p?j[\"createElement\"](\"span\",{onClick:function(e){return e.stopPropagation()}},d):d})),e);return t.map((function(e){return e===$h?b:e}))}return m.filter((function(e){return e!==$h}))}),[i,m,u,a,l,h]),b=j[\"useMemo\"]((function(){var e=y;return t&&(e=t(e)),e.length||(e=[{render:function(){return null}}]),e}),[t,y,h]),x=j[\"useMemo\"]((function(){return\"rtl\"===h?np(tp(b)):tp(b)}),[b,h]);return[b,x]}var op=rp;function ip(e){var t=Object(j[\"useRef\"])(e),n=Object(j[\"useState\"])({}),r=Object(F[\"a\"])(n,2),o=r[1],i=Object(j[\"useRef\"])(null),a=Object(j[\"useRef\"])([]);function c(e){a.current.push(e);var n=Promise.resolve();i.current=n,n.then((function(){if(i.current===n){var e=a.current,r=t.current;a.current=[],e.forEach((function(e){t.current=e(t.current)})),i.current=null,r!==t.current&&o({})}}))}return Object(j[\"useEffect\"])((function(){return function(){i.current=null}}),[]),[t.current,c]}function ap(e){var t=Object(j[\"useRef\"])(e||null),n=Object(j[\"useRef\"])();function r(){window.clearTimeout(n.current)}function o(e){t.current=e,r(),n.current=window.setTimeout((function(){t.current=null,n.current=void 0}),100)}function i(){return t.current}return Object(j[\"useEffect\"])((function(){return r}),[]),[o,i]}function cp(e,t,n){var r=Object(j[\"useMemo\"])((function(){for(var r=[],o=[],i=0,a=0,c=0;c<t;c+=1)if(\"rtl\"===n){o[c]=a,a+=e[c]||0;var u=t-c-1;r[u]=i,i+=e[u]||0}else{r[c]=i,i+=e[c]||0;var s=t-c-1;o[s]=a,a+=e[s]||0}return{left:r,right:o}}),[e,t,n]);return r}var up=cp,sp=[\"columnType\"];function lp(e){for(var t=e.colWidths,n=e.columns,r=e.columCount,o=[],i=r||n.length,a=!1,c=i-1;c>=0;c-=1){var u=t[c],s=n&&n[c],l=s&&s[Kh];if(u||l||a){var f=l||{},d=(f.columnType,Object(z[\"a\"])(f,sp));o.unshift(j[\"createElement\"](\"col\",Object(O[\"a\"])({key:c,style:{width:u}},d))),a=!0}}return j[\"createElement\"](\"colgroup\",null,o)}var fp=lp;function dp(e){var t=e.className,n=e.children;return j[\"createElement\"](\"div\",{className:t},n)}var hp=dp,pp=j[\"createContext\"]({}),vp=pp;function gp(e){var t=e.className,n=e.index,r=e.children,o=e.colSpan,i=void 0===o?1:o,a=e.rowSpan,c=e.align,u=j[\"useContext\"](kh),s=u.prefixCls,l=u.direction,f=j[\"useContext\"](vp),d=f.scrollColumnIndex,h=f.stickyOffsets,p=f.flattenColumns,v=n+i-1,g=v+1===d?i+1:i,m=_h(n,n+g-1,p,h,l);return j[\"createElement\"](Sh,Object(O[\"a\"])({className:t,index:n,component:\"td\",prefixCls:s,record:null,dataIndex:null,align:c,colSpan:g,rowSpan:a,render:function(){return r}},m))}var mp=[\"children\"];function yp(e){var t=e.children,n=Object(z[\"a\"])(e,mp);return j[\"createElement\"](\"tr\",n,t)}function bp(e){var t=e.children;return t}bp.Row=yp,bp.Cell=gp;var xp=bp;function wp(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,o=j[\"useContext\"](kh),i=o.prefixCls,a=r.length-1,c=r[a],u=j[\"useMemo\"]((function(){return{stickyOffsets:n,flattenColumns:r,scrollColumnIndex:(null===c||void 0===c?void 0:c.scrollbar)?a:null}}),[c,r,a,n]);return j[\"createElement\"](vp.Provider,{value:u},j[\"createElement\"](\"tfoot\",{className:\"\".concat(i,\"-summary\")},t))}var Op=wp,Ep=xp;function Sp(e){var t,n=e.prefixCls,r=e.record,o=e.onExpand,i=e.expanded,a=e.expandable,c=\"\".concat(n,\"-row-expand-icon\");if(!a)return j[\"createElement\"](\"span\",{className:R()(c,\"\".concat(n,\"-row-spaced\"))});var u=function(e){o(r,e),e.stopPropagation()};return j[\"createElement\"](\"span\",{className:R()(c,(t={},Object(w[\"a\"])(t,\"\".concat(n,\"-row-expanded\"),i),Object(w[\"a\"])(t,\"\".concat(n,\"-row-collapsed\"),!i),t)),onClick:u})}function jp(e,t,n){var r=[];function o(e){(e||[]).forEach((function(e,i){r.push(t(e,i)),o(e[n])}))}return o(e),r}function kp(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}var _p=function(e,t){var n,r,o=e.scrollBodyRef,i=e.onScroll,a=e.offsetScroll,c=e.container,u=j[\"useContext\"](kh),s=u.prefixCls,l=(null===(n=o.current)||void 0===n?void 0:n.scrollWidth)||0,f=(null===(r=o.current)||void 0===r?void 0:r.clientWidth)||0,d=l&&f*(f/l),h=j[\"useRef\"](),p=ip({scrollLeft:0,isHiddenScrollBar:!1}),v=Object(F[\"a\"])(p,2),g=v[0],m=v[1],y=j[\"useRef\"]({delta:0,x:0}),b=j[\"useState\"](!1),x=Object(F[\"a\"])(b,2),O=x[0],E=x[1],k=function(){E(!1)},_=function(e){e.persist(),y.current.delta=e.pageX-g.scrollLeft,y.current.x=0,E(!0),e.preventDefault()},C=function(e){var t,n=e||(null===(t=window)||void 0===t?void 0:t.event),r=n.buttons;if(O&&0!==r){var o=y.current.x+e.pageX-y.current.x-y.current.delta;o<=0&&(o=0),o+d>=f&&(o=f-d),i({scrollLeft:o/f*(l+2)}),y.current.x=e.pageX}else O&&E(!1)},M=function(){if(o.current){var e=kp(o.current).top,t=e+o.current.offsetHeight,n=c===window?document.documentElement.scrollTop+window.innerHeight:kp(c).top+c.clientHeight;t-kl()<=n||e>=n-a?m((function(e){return Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{isHiddenScrollBar:!0})})):m((function(e){return Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{isHiddenScrollBar:!1})}))}},A=function(e){m((function(t){return Object(S[\"a\"])(Object(S[\"a\"])({},t),{},{scrollLeft:e/l*f||0})}))};return j[\"useImperativeHandle\"](t,(function(){return{setScrollLeft:A}})),j[\"useEffect\"]((function(){var e=Xt(document.body,\"mouseup\",k,!1),t=Xt(document.body,\"mousemove\",C,!1);return M(),function(){e.remove(),t.remove()}}),[d,O]),j[\"useEffect\"]((function(){var e=Xt(c,\"scroll\",M,!1),t=Xt(window,\"resize\",M,!1);return function(){e.remove(),t.remove()}}),[c]),j[\"useEffect\"]((function(){g.isHiddenScrollBar||m((function(e){var t=o.current;return t?Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{scrollLeft:t.scrollLeft/t.scrollWidth*t.clientWidth}):e}))}),[g.isHiddenScrollBar]),l<=f||!d||g.isHiddenScrollBar?null:j[\"createElement\"](\"div\",{style:{height:kl(),width:f,bottom:a},className:\"\".concat(s,\"-sticky-scroll\")},j[\"createElement\"](\"div\",{onMouseDown:_,ref:h,className:R()(\"\".concat(s,\"-sticky-scroll-bar\"),Object(w[\"a\"])({},\"\".concat(s,\"-sticky-scroll-bar-active\"),O)),style:{width:\"\".concat(d,\"px\"),transform:\"translate3d(\".concat(g.scrollLeft,\"px, 0, 0)\")}}))},Cp=j[\"forwardRef\"](_p),Mp=Object(W[\"a\"])()?window:null;function Ap(e,t){var n=\"object\"===Object(B[\"a\"])(e)?e:{},r=n.offsetHeader,o=void 0===r?0:r,i=n.offsetSummary,a=void 0===i?0:i,c=n.offsetScroll,u=void 0===c?0:c,s=n.getContainer,l=void 0===s?function(){return Mp}:s,f=l()||Mp;return j[\"useMemo\"]((function(){var n=!!e;return{isSticky:n,stickyClassName:n?\"\".concat(t,\"-sticky-holder\"):\"\",offsetHeader:o,offsetSummary:a,offsetScroll:u,container:f}}),[u,o,a,t,f])}var Np=[\"className\",\"noData\",\"columns\",\"flattenColumns\",\"colWidths\",\"columCount\",\"stickyOffsets\",\"direction\",\"fixHeader\",\"stickyTopOffset\",\"stickyBottomOffset\",\"stickyClassName\",\"onScroll\",\"maxContentScroll\",\"children\"];function Tp(e,t){return Object(j[\"useMemo\"])((function(){for(var n=[],r=0;r<t;r+=1){var o=e[r];if(void 0===o)return null;n[r]=o}return n}),[e.join(\"_\"),t])}var Ip=j[\"forwardRef\"]((function(e,t){var n=e.className,r=e.noData,o=e.columns,i=e.flattenColumns,a=e.colWidths,c=e.columCount,u=e.stickyOffsets,s=e.direction,l=e.fixHeader,f=e.stickyTopOffset,d=e.stickyBottomOffset,h=e.stickyClassName,p=e.onScroll,v=e.maxContentScroll,g=e.children,m=Object(z[\"a\"])(e,Np),y=j[\"useContext\"](kh),b=y.prefixCls,x=y.scrollbarSize,O=y.isSticky,E=O&&!l?0:x,k=j[\"useRef\"](null),_=j[\"useCallback\"]((function(e){Object(ie[\"b\"])(t,e),Object(ie[\"b\"])(k,e)}),[]);j[\"useEffect\"]((function(){var e;function t(e){var t=e.currentTarget,n=e.deltaX;n&&(p({currentTarget:t,scrollLeft:t.scrollLeft+n}),e.preventDefault())}return null===(e=k.current)||void 0===e||e.addEventListener(\"wheel\",t),function(){var e;null===(e=k.current)||void 0===e||e.removeEventListener(\"wheel\",t)}}),[]);var C=j[\"useMemo\"]((function(){return i.every((function(e){return e.width>=0}))}),[i]),M=i[i.length-1],A={fixed:M?M.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:\"\".concat(b,\"-cell-scrollbar\")}}},N=Object(j[\"useMemo\"])((function(){return E?[].concat(Object(re[\"a\"])(o),[A]):o}),[E,o]),T=Object(j[\"useMemo\"])((function(){return E?[].concat(Object(re[\"a\"])(i),[A]):i}),[E,i]),I=Object(j[\"useMemo\"])((function(){var e=u.right,t=u.left;return Object(S[\"a\"])(Object(S[\"a\"])({},u),{},{left:\"rtl\"===s?[].concat(Object(re[\"a\"])(t.map((function(e){return e+E}))),[0]):t,right:\"rtl\"===s?e:[].concat(Object(re[\"a\"])(e.map((function(e){return e+E}))),[0]),isSticky:O})}),[E,u,O]),P=Tp(a,c);return j[\"createElement\"](\"div\",{style:Object(S[\"a\"])({overflow:\"hidden\"},O?{top:f,bottom:d}:{}),ref:_,className:R()(n,Object(w[\"a\"])({},h,!!h))},j[\"createElement\"](\"table\",{style:{tableLayout:\"fixed\",visibility:r||P?null:\"hidden\"}},(!r||!v||C)&&j[\"createElement\"](fp,{colWidths:P?[].concat(Object(re[\"a\"])(P),[E]):[],columCount:c+1,columns:T}),g(Object(S[\"a\"])(Object(S[\"a\"])({},m),{},{stickyOffsets:I,columns:N,flattenColumns:T}))))}));Ip.displayName=\"FixedHolder\";var Pp=Ip,Lp=[],Dp={},Rp=\"rc-table-internal-hook\",Fp=j[\"memo\"]((function(e){var t=e.children;return t}),(function(e,t){return!!Re()(e.props,t.props)&&(e.pingLeft!==t.pingLeft||e.pingRight!==t.pingRight)}));function Bp(e){var t,n=e.prefixCls,r=e.className,o=e.rowClassName,i=e.style,a=e.data,c=e.rowKey,u=e.scroll,s=e.tableLayout,l=e.direction,f=e.title,d=e.footer,h=e.summary,p=e.id,v=e.showHeader,g=e.components,m=e.emptyText,y=e.onRow,b=e.onHeaderRow,x=e.internalHooks,E=e.transformColumns,k=e.internalRefs,_=e.sticky,C=a||Lp,M=!!C.length;var A=j[\"useCallback\"]((function(e,t){return th(g||{},e)||t}),[g]),N=j[\"useMemo\"]((function(){return\"function\"===typeof c?c:function(e){var t=e&&e[c];return t}}),[c]),T=Zh(e),I=T.expandIcon,P=T.expandedRowKeys,L=T.defaultExpandedRowKeys,D=T.defaultExpandAllRows,z=T.expandedRowRender,U=T.columnTitle,G=T.onExpand,V=T.onExpandedRowsChange,W=T.expandRowByClick,H=T.rowExpandable,Y=T.expandIconColumnIndex,X=T.expandedRowClassName,q=T.childrenColumnName,K=T.indentSize,Z=I||Sp,$=q||\"children\",Q=j[\"useMemo\"]((function(){return z?\"row\":!!(e.expandable&&x===Rp&&e.expandable.__PARENT_RENDER_ICON__||C.some((function(e){return e&&\"object\"===Object(B[\"a\"])(e)&&e[$]})))&&\"nest\"}),[!!z,C]),J=j[\"useState\"]((function(){return L||(D?jp(C,N,$):[])})),ee=Object(F[\"a\"])(J,2),te=ee[0],ne=ee[1],oe=j[\"useMemo\"]((function(){return new Set(P||te||[])}),[P,te]),ie=j[\"useCallback\"]((function(e){var t,n=N(e,C.indexOf(e)),r=oe.has(n);r?(oe.delete(n),t=Object(re[\"a\"])(oe)):t=[].concat(Object(re[\"a\"])(oe),[n]),ne(t),G&&G(!r,e),V&&V(t)}),[N,oe,C,G,V]);var ae,ue,se,le=j[\"useState\"](0),fe=Object(F[\"a\"])(le,2),de=fe[0],he=fe[1],pe=op(Object(S[\"a\"])(Object(S[\"a\"])(Object(S[\"a\"])({},e),T),{},{expandable:!!z,columnTitle:U,expandedKeys:oe,getRowKey:N,onTriggerExpand:ie,expandIcon:Z,expandIconColumnIndex:Y,direction:l}),x===Rp?E:null),ve=Object(F[\"a\"])(pe,2),ge=ve[0],me=ve[1],ye=j[\"useMemo\"]((function(){return{columns:ge,flattenColumns:me}}),[ge,me]),be=j[\"useRef\"](),xe=j[\"useRef\"](),we=j[\"useRef\"](),Oe=j[\"useRef\"](),Ee=j[\"useRef\"](),Se=j[\"useState\"](!1),ke=Object(F[\"a\"])(Se,2),_e=ke[0],Ce=ke[1],Me=j[\"useState\"](!1),Ae=Object(F[\"a\"])(Me,2),Ne=Ae[0],Te=Ae[1],Ie=ip(new Map),Pe=Object(F[\"a\"])(Ie,2),Le=Pe[0],De=Pe[1],Re=nh(me),Fe=Re.map((function(e){return Le.get(e)})),Be=j[\"useMemo\"]((function(){return Fe}),[Fe.join(\"_\")]),ze=up(Be,me.length,l),Ue=u&&rh(u.y),Ge=u&&rh(u.x)||Boolean(T.fixed),Ve=Ge&&me.some((function(e){var t=e.fixed;return t})),We=j[\"useRef\"](),He=Ap(_,n),Ye=He.isSticky,Xe=He.offsetHeader,qe=He.offsetSummary,Ke=He.offsetScroll,Ze=He.stickyClassName,$e=He.container,Qe=null===h||void 0===h?void 0:h(C),Je=(Ue||Ye)&&j[\"isValidElement\"](Qe)&&Qe.type===xp&&Qe.props.fixed;Ue&&(ue={overflowY:\"scroll\",maxHeight:u.y}),Ge&&(ae={overflowX:\"auto\"},Ue||(ue={overflowY:\"hidden\"}),se={width:!0===(null===u||void 0===u?void 0:u.x)?\"auto\":null===u||void 0===u?void 0:u.x,minWidth:\"100%\"});var et=j[\"useCallback\"]((function(e,t){nn(be.current)&&De((function(n){if(n.get(e)!==t){var r=new Map(n);return r.set(e,t),r}return n}))}),[]),tt=ap(null),nt=Object(F[\"a\"])(tt,2),rt=nt[0],ot=nt[1];function it(e,t){t&&(\"function\"===typeof t?t(e):t.scrollLeft!==e&&(t.scrollLeft=e))}var at=function(e){var t,n=e.currentTarget,r=e.scrollLeft,o=\"rtl\"===l,i=\"number\"===typeof r?r:n.scrollLeft,a=n||Dp;ot()&&ot()!==a||(rt(a),it(i,xe.current),it(i,we.current),it(i,Ee.current),it(i,null===(t=We.current)||void 0===t?void 0:t.setScrollLeft));if(n){var c=n.scrollWidth,u=n.clientWidth;if(c===u)return Ce(!1),void Te(!1);o?(Ce(-i<c-u),Te(-i>0)):(Ce(i>0),Te(i<c-u))}},ct=function(){Ge&&we.current?at({currentTarget:we.current}):(Ce(!1),Te(!1))},ut=function(e){var t=e.width;t!==de&&(ct(),he(be.current?be.current.offsetWidth:t))},st=j[\"useRef\"](!1);j[\"useEffect\"]((function(){st.current&&ct()}),[Ge,a,ge.length]),j[\"useEffect\"]((function(){st.current=!0}),[]);var lt=j[\"useState\"](0),ft=Object(F[\"a\"])(lt,2),dt=ft[0],ht=ft[1],pt=j[\"useState\"](!0),vt=Object(F[\"a\"])(pt,2),gt=vt[0],mt=vt[1];j[\"useEffect\"]((function(){we.current instanceof Element?ht(Cl(we.current).width):ht(Cl(Oe.current).width),mt(tf(\"position\",\"sticky\"))}),[]),j[\"useEffect\"]((function(){x===Rp&&k&&(k.body.current=we.current)}));var yt,bt=A([\"table\"],\"table\"),xt=j[\"useMemo\"]((function(){return s||(Ve?\"max-content\"===(null===u||void 0===u?void 0:u.x)?\"auto\":\"fixed\":Ue||Ye||me.some((function(e){var t=e.ellipsis;return t}))?\"fixed\":\"auto\")}),[Ue,Ve,me,s,Ye]),wt={colWidths:Be,columCount:me.length,stickyOffsets:ze,onHeaderRow:b,fixHeader:Ue,scroll:u},Ot=j[\"useMemo\"]((function(){return M?null:\"function\"===typeof m?m():m}),[M,m]),Et=j[\"createElement\"](Xh,{data:C,measureColumnWidth:Ue||Ge||Ye,expandedKeys:oe,rowExpandable:H,getRowKey:N,onRow:y,emptyNode:Ot,childrenColumnName:$}),St=j[\"createElement\"](fp,{colWidths:me.map((function(e){var t=e.width;return t})),columns:me}),jt=A([\"body\"]);if(Ue||Ye){var kt;\"function\"===typeof jt?(kt=jt(C,{scrollbarSize:dt,ref:we,onScroll:at}),wt.colWidths=me.map((function(e,t){var n=e.width,r=t===ge.length-1?n-dt:n;return\"number\"!==typeof r||Number.isNaN(r)?(Object(ce[\"a\"])(!1,\"When use `components.body` with render props. Each column should have a fixed `width` value.\"),0):r}))):kt=j[\"createElement\"](\"div\",{style:Object(S[\"a\"])(Object(S[\"a\"])({},ae),ue),onScroll:at,ref:we,className:R()(\"\".concat(n,\"-body\"))},j[\"createElement\"](bt,{style:Object(S[\"a\"])(Object(S[\"a\"])({},se),{},{tableLayout:xt})},St,Et,!Je&&Qe&&j[\"createElement\"](Op,{stickyOffsets:ze,flattenColumns:me},Qe)));var _t=Object(S[\"a\"])(Object(S[\"a\"])(Object(S[\"a\"])({noData:!C.length,maxContentScroll:Ge&&\"max-content\"===u.x},wt),ye),{},{direction:l,stickyClassName:Ze,onScroll:at});yt=j[\"createElement\"](j[\"Fragment\"],null,!1!==v&&j[\"createElement\"](Pp,Object(O[\"a\"])({},_t,{stickyTopOffset:Xe,className:\"\".concat(n,\"-header\"),ref:xe}),(function(e){return j[\"createElement\"](j[\"Fragment\"],null,j[\"createElement\"](Th,e),\"top\"===Je&&j[\"createElement\"](Op,e,Qe))})),kt,Je&&\"top\"!==Je&&j[\"createElement\"](Pp,Object(O[\"a\"])({},_t,{stickyBottomOffset:qe,className:\"\".concat(n,\"-summary\"),ref:Ee}),(function(e){return j[\"createElement\"](Op,e,Qe)})),Ye&&j[\"createElement\"](Cp,{ref:We,offsetScroll:Ke,scrollBodyRef:we,onScroll:at,container:$e}))}else yt=j[\"createElement\"](\"div\",{style:Object(S[\"a\"])(Object(S[\"a\"])({},ae),ue),className:R()(\"\".concat(n,\"-content\")),onScroll:at,ref:we},j[\"createElement\"](bt,{style:Object(S[\"a\"])(Object(S[\"a\"])({},se),{},{tableLayout:xt})},St,!1!==v&&j[\"createElement\"](Th,Object(O[\"a\"])({},wt,ye)),Et,Qe&&j[\"createElement\"](Op,{stickyOffsets:ze,flattenColumns:me},Qe)));var Ct=qd(e,{aria:!0,data:!0}),Mt=j[\"createElement\"](\"div\",Object(O[\"a\"])({className:R()(n,r,(t={},Object(w[\"a\"])(t,\"\".concat(n,\"-rtl\"),\"rtl\"===l),Object(w[\"a\"])(t,\"\".concat(n,\"-ping-left\"),_e),Object(w[\"a\"])(t,\"\".concat(n,\"-ping-right\"),Ne),Object(w[\"a\"])(t,\"\".concat(n,\"-layout-fixed\"),\"fixed\"===s),Object(w[\"a\"])(t,\"\".concat(n,\"-fixed-header\"),Ue),Object(w[\"a\"])(t,\"\".concat(n,\"-fixed-column\"),Ve),Object(w[\"a\"])(t,\"\".concat(n,\"-scroll-horizontal\"),Ge),Object(w[\"a\"])(t,\"\".concat(n,\"-has-fix-left\"),me[0]&&me[0].fixed),Object(w[\"a\"])(t,\"\".concat(n,\"-has-fix-right\"),me[me.length-1]&&\"right\"===me[me.length-1].fixed),t)),style:i,id:p,ref:be},Ct),j[\"createElement\"](Fp,{pingLeft:_e,pingRight:Ne,props:Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{stickyOffsets:ze,mergedExpandedKeys:oe})},f&&j[\"createElement\"](hp,{className:\"\".concat(n,\"-title\")},f(C)),j[\"createElement\"](\"div\",{ref:Oe,className:\"\".concat(n,\"-container\")},yt),d&&j[\"createElement\"](hp,{className:\"\".concat(n,\"-footer\")},d(C))));Ge&&(Mt=j[\"createElement\"](je,{onResize:ut},Mt));var At=j[\"useMemo\"]((function(){return{prefixCls:n,getComponent:A,scrollbarSize:dt,direction:l,fixedInfoList:me.map((function(e,t){return _h(t,t,me,ze,l)})),isSticky:Ye}}),[n,A,dt,l,me,ze,Ye]),Nt=j[\"useMemo\"]((function(){return Object(S[\"a\"])(Object(S[\"a\"])({},ye),{},{tableLayout:xt,rowClassName:o,expandedRowClassName:X,expandIcon:Z,expandableType:Q,expandRowByClick:W,expandedRowRender:z,onTriggerExpand:ie,expandIconColumnIndex:Y,indentSize:K,allColumnsFixedLeft:ye.flattenColumns.every((function(e){return\"left\"===e.fixed}))})}),[ye,xt,o,X,Z,Q,W,z,ie,Y,K]),Tt=j[\"useMemo\"]((function(){return{componentWidth:de,fixHeader:Ue,fixColumn:Ve,horizonScroll:Ge}}),[de,Ue,Ve,Ge]),It=j[\"useMemo\"]((function(){return{onColumnResize:et}}),[et]);return j[\"createElement\"](ih.Provider,{value:gt},j[\"createElement\"](kh.Provider,{value:At},j[\"createElement\"](fh.Provider,{value:Nt},j[\"createElement\"](Ph.Provider,{value:Tt},j[\"createElement\"](Fh.Provider,{value:It},Mt)))))}Bp.EXPAND_COLUMN=$h,Bp.Column=Qd,Bp.ColumnGroup=Zd,Bp.Summary=Ep,Bp.defaultProps={rowKey:\"key\",prefixCls:\"rc-table\",emptyText:function(){return\"No Data\"}};var zp=Bp,Up=zp,Gp=r(\"YMnH\"),Vp=function(){var e=j[\"useContext\"](Ri[\"b\"]),t=e.getPrefixCls,n=t(\"empty-img-default\");return j[\"createElement\"](\"svg\",{className:n,width:\"184\",height:\"152\",viewBox:\"0 0 184 152\",xmlns:\"http://www.w3.org/2000/svg\"},j[\"createElement\"](\"g\",{fill:\"none\",fillRule:\"evenodd\"},j[\"createElement\"](\"g\",{transform:\"translate(24 31.67)\"},j[\"createElement\"](\"ellipse\",{className:\"\".concat(n,\"-ellipse\"),cx:\"67.797\",cy:\"106.89\",rx:\"67.797\",ry:\"12.668\"}),j[\"createElement\"](\"path\",{className:\"\".concat(n,\"-path-1\"),d:\"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z\"}),j[\"createElement\"](\"path\",{className:\"\".concat(n,\"-path-2\"),d:\"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z\",transform:\"translate(13.56)\"}),j[\"createElement\"](\"path\",{className:\"\".concat(n,\"-path-3\"),d:\"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z\"}),j[\"createElement\"](\"path\",{className:\"\".concat(n,\"-path-4\"),d:\"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z\"})),j[\"createElement\"](\"path\",{className:\"\".concat(n,\"-path-5\"),d:\"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z\"}),j[\"createElement\"](\"g\",{className:\"\".concat(n,\"-g\"),transform:\"translate(149.65 15.383)\"},j[\"createElement\"](\"ellipse\",{cx:\"20.654\",cy:\"3.167\",rx:\"2.849\",ry:\"2.815\"}),j[\"createElement\"](\"path\",{d:\"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z\"}))))},Wp=Vp,Hp=function(){var e=j[\"useContext\"](Ri[\"b\"]),t=e.getPrefixCls,n=t(\"empty-img-simple\");return j[\"createElement\"](\"svg\",{className:n,width:\"64\",height:\"41\",viewBox:\"0 0 64 41\",xmlns:\"http://www.w3.org/2000/svg\"},j[\"createElement\"](\"g\",{transform:\"translate(0 1)\",fill:\"none\",fillRule:\"evenodd\"},j[\"createElement\"](\"ellipse\",{className:\"\".concat(n,\"-ellipse\"),cx:\"32\",cy:\"33\",rx:\"32\",ry:\"7\"}),j[\"createElement\"](\"g\",{className:\"\".concat(n,\"-g\"),fillRule:\"nonzero\"},j[\"createElement\"](\"path\",{d:\"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z\"}),j[\"createElement\"](\"path\",{d:\"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z\",className:\"\".concat(n,\"-path\")}))))},Yp=Hp,Xp=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},qp=j[\"createElement\"](Wp,null),Kp=j[\"createElement\"](Yp,null),Zp=function(e){var t=e.className,n=e.prefixCls,r=e.image,o=void 0===r?qp:r,i=e.description,a=e.children,c=e.imageStyle,u=Xp(e,[\"className\",\"prefixCls\",\"image\",\"description\",\"children\",\"imageStyle\"]),s=j[\"useContext\"](Ri[\"b\"]),l=s.getPrefixCls,f=s.direction;return j[\"createElement\"](Gp[\"a\"],{componentName:\"Empty\"},(function(e){var r,s=l(\"empty\",n),d=\"undefined\"!==typeof i?i:e.description,h=\"string\"===typeof d?d:\"empty\",p=null;return p=\"string\"===typeof o?j[\"createElement\"](\"img\",{alt:h,src:o}):o,j[\"createElement\"](\"div\",Object(O[\"a\"])({className:R()(s,(r={},Object(w[\"a\"])(r,\"\".concat(s,\"-normal\"),o===Kp),Object(w[\"a\"])(r,\"\".concat(s,\"-rtl\"),\"rtl\"===f),r),t)},u),j[\"createElement\"](\"div\",{className:\"\".concat(s,\"-image\"),style:c},p),d&&j[\"createElement\"](\"div\",{className:\"\".concat(s,\"-description\")},d),a&&j[\"createElement\"](\"div\",{className:\"\".concat(s,\"-footer\")},a))}))};Zp.PRESENTED_IMAGE_DEFAULT=qp,Zp.PRESENTED_IMAGE_SIMPLE=Kp;var $p=Zp,Qp=function(e){return j[\"createElement\"](Ri[\"a\"],null,(function(t){var n=t.getPrefixCls,r=n(\"empty\");switch(e){case\"Table\":case\"List\":return j[\"createElement\"]($p,{image:$p.PRESENTED_IMAGE_SIMPLE});case\"Select\":case\"TreeSelect\":case\"Cascader\":case\"Transfer\":case\"Mentions\":return j[\"createElement\"]($p,{image:$p.PRESENTED_IMAGE_SIMPLE,className:\"\".concat(r,\"-small\")});default:return j[\"createElement\"]($p,null)}}))},Jp=Qp;function ev(){var e=j[\"useReducer\"]((function(e){return e+1}),0),t=Object(F[\"a\"])(e,2),n=t[1];return n}function tv(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=Object(j[\"useRef\"])({}),n=ev();return Object(j[\"useEffect\"])((function(){var r=hf.subscribe((function(r){t.current=r,e&&n()}));return function(){return hf.unsubscribe(r)}}),[]),t.current}var nv=tv,rv=r(\"ZvpZ\"),ov=rv[\"a\"],iv={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z\"}}]},name:\"double-left\",theme:\"outlined\"},av=iv,cv=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:av}))};cv.displayName=\"DoubleLeftOutlined\";var uv=j[\"forwardRef\"](cv),sv={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z\"}}]},name:\"double-right\",theme:\"outlined\"},lv=sv,fv=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:lv}))};fv.displayName=\"DoubleRightOutlined\";var dv=j[\"forwardRef\"](fv),hv={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z\"}}]},name:\"left\",theme:\"outlined\"},pv=hv,vv=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:pv}))};vv.displayName=\"LeftOutlined\";var gv=j[\"forwardRef\"](vv),mv={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z\"}}]},name:\"right\",theme:\"outlined\"},yv=mv,bv=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:yv}))};bv.displayName=\"RightOutlined\";var xv=j[\"forwardRef\"](bv),wv=function(e){var t,n=\"\".concat(e.rootPrefixCls,\"-item\"),r=R()(n,\"\".concat(n,\"-\").concat(e.page),(t={},Object(w[\"a\"])(t,\"\".concat(n,\"-active\"),e.active),Object(w[\"a\"])(t,\"\".concat(n,\"-disabled\"),!e.page),Object(w[\"a\"])(t,e.className,!!e.className),t)),o=function(){e.onClick(e.page)},i=function(t){e.onKeyPress(t,e.onClick,e.page)};return k.a.createElement(\"li\",{title:e.showTitle?e.page:null,className:r,onClick:o,onKeyPress:i,tabIndex:\"0\"},e.itemRender(e.page,\"page\",k.a.createElement(\"a\",{rel:\"nofollow\"},e.page)))},Ov=wv,Ev={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},Sv=function(e){Object(me[\"a\"])(n,e);var t=Object(ye[\"a\"])(n);function n(){var e;Object(ve[\"a\"])(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),e.state={goInputText:\"\"},e.buildOptionText=function(t){return\"\".concat(t,\" \").concat(e.props.locale.items_per_page)},e.changeSize=function(t){e.props.changeSize(Number(t))},e.handleChange=function(t){e.setState({goInputText:t.target.value})},e.handleBlur=function(t){var n=e.props,r=n.goButton,o=n.quickGo,i=n.rootPrefixCls,a=e.state.goInputText;r||\"\"===a||(e.setState({goInputText:\"\"}),t.relatedTarget&&(t.relatedTarget.className.indexOf(\"\".concat(i,\"-item-link\"))>=0||t.relatedTarget.className.indexOf(\"\".concat(i,\"-item\"))>=0)||o(e.getValidValue()))},e.go=function(t){var n=e.state.goInputText;\"\"!==n&&(t.keyCode!==Ev.ENTER&&\"click\"!==t.type||(e.setState({goInputText:\"\"}),e.props.quickGo(e.getValidValue())))},e}return Object(ge[\"a\"])(n,[{key:\"getValidValue\",value:function(){var e=this.state.goInputText;return!e||isNaN(e)?void 0:Number(e)}},{key:\"getPageSizeOptions\",value:function(){var e=this.props,t=e.pageSize,n=e.pageSizeOptions;return n.some((function(e){return e.toString()===t.toString()}))?n:n.concat([t.toString()]).sort((function(e,t){var n=isNaN(Number(e))?0:Number(e),r=isNaN(Number(t))?0:Number(t);return n-r}))}},{key:\"render\",value:function(){var e=this,t=this.props,n=t.pageSize,r=t.locale,o=t.rootPrefixCls,i=t.changeSize,a=t.quickGo,c=t.goButton,u=t.selectComponentClass,s=t.buildOptionText,l=t.selectPrefixCls,f=t.disabled,d=this.state.goInputText,h=\"\".concat(o,\"-options\"),p=u,v=null,g=null,m=null;if(!i&&!a)return null;var y=this.getPageSizeOptions();if(i&&p){var b=y.map((function(t,n){return k.a.createElement(p.Option,{key:n,value:t.toString()},(s||e.buildOptionText)(t))}));v=k.a.createElement(p,{disabled:f,prefixCls:l,showSearch:!1,className:\"\".concat(h,\"-size-changer\"),optionLabelProp:\"children\",dropdownMatchSelectWidth:!1,value:(n||y[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode},\"aria-label\":r.page_size,defaultOpen:!1},b)}return a&&(c&&(m=\"boolean\"===typeof c?k.a.createElement(\"button\",{type:\"button\",onClick:this.go,onKeyUp:this.go,disabled:f,className:\"\".concat(h,\"-quick-jumper-button\")},r.jump_to_confirm):k.a.createElement(\"span\",{onClick:this.go,onKeyUp:this.go},c)),g=k.a.createElement(\"div\",{className:\"\".concat(h,\"-quick-jumper\")},r.jump_to,k.a.createElement(\"input\",{disabled:f,type:\"text\",value:d,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,\"aria-label\":r.page}),r.page,m)),k.a.createElement(\"li\",{className:\"\".concat(h)},v,g)}}]),n}(k.a.Component);Sv.defaultProps={pageSizeOptions:[\"10\",\"20\",\"50\",\"100\"]};var jv=Sv,kv={items_per_page:\"\\u6761/\\u9875\",jump_to:\"\\u8df3\\u81f3\",jump_to_confirm:\"\\u786e\\u5b9a\",page:\"\\u9875\",prev_page:\"\\u4e0a\\u4e00\\u9875\",next_page:\"\\u4e0b\\u4e00\\u9875\",prev_5:\"\\u5411\\u524d 5 \\u9875\",next_5:\"\\u5411\\u540e 5 \\u9875\",prev_3:\"\\u5411\\u524d 3 \\u9875\",next_3:\"\\u5411\\u540e 3 \\u9875\",page_size:\"\\u9875\\u7801\"};function _v(){}function Cv(e){var t=Number(e);return\"number\"===typeof t&&!isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function Mv(e,t,n){return n}function Av(e,t,n){var r=\"undefined\"===typeof e?t.pageSize:e;return Math.floor((n.total-1)/r)+1}var Nv=function(e){Object(me[\"a\"])(n,e);var t=Object(ye[\"a\"])(n);function n(e){var r;Object(ve[\"a\"])(this,n),r=t.call(this,e),r.getJumpPrevPage=function(){return Math.max(1,r.state.current-(r.props.showLessItems?3:5))},r.getJumpNextPage=function(){return Math.min(Av(void 0,r.state,r.props),r.state.current+(r.props.showLessItems?3:5))},r.getItemIcon=function(e,t){var n=r.props.prefixCls,o=e||k.a.createElement(\"button\",{type:\"button\",\"aria-label\":t,className:\"\".concat(n,\"-item-link\")});return\"function\"===typeof e&&(o=k.a.createElement(e,Object(S[\"a\"])({},r.props))),o},r.savePaginationNode=function(e){r.paginationNode=e},r.isValid=function(e){var t=r.props.total;return Cv(e)&&e!==r.state.current&&Cv(t)&&t>0},r.shouldDisplayQuickJumper=function(){var e=r.props,t=e.showQuickJumper,n=e.total,o=r.state.pageSize;return!(n<=o)&&t},r.handleKeyDown=function(e){e.keyCode!==Ev.ARROW_UP&&e.keyCode!==Ev.ARROW_DOWN||e.preventDefault()},r.handleKeyUp=function(e){var t=r.getValidValue(e),n=r.state.currentInputValue;t!==n&&r.setState({currentInputValue:t}),e.keyCode===Ev.ENTER?r.handleChange(t):e.keyCode===Ev.ARROW_UP?r.handleChange(t-1):e.keyCode===Ev.ARROW_DOWN&&r.handleChange(t+1)},r.handleBlur=function(e){var t=r.getValidValue(e);r.handleChange(t)},r.changePageSize=function(e){var t=r.state.current,n=Av(e,r.state,r.props);t=t>n?n:t,0===n&&(t=r.state.current),\"number\"===typeof e&&(\"pageSize\"in r.props||r.setState({pageSize:e}),\"current\"in r.props||r.setState({current:t,currentInputValue:t})),r.props.onShowSizeChange(t,e),\"onChange\"in r.props&&r.props.onChange&&r.props.onChange(t,e)},r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange,i=r.state,a=i.pageSize,c=i.current,u=i.currentInputValue;if(r.isValid(e)&&!n){var s=Av(void 0,r.state,r.props),l=e;return e>s?l=s:e<1&&(l=1),\"current\"in r.props||r.setState({current:l}),l!==u&&r.setState({currentInputValue:l}),o(l,a),l}return c},r.prev=function(){r.hasPrev()&&r.handleChange(r.state.current-1)},r.next=function(){r.hasNext()&&r.handleChange(r.state.current+1)},r.jumpPrev=function(){r.handleChange(r.getJumpPrevPage())},r.jumpNext=function(){r.handleChange(r.getJumpNextPage())},r.hasPrev=function(){return r.state.current>1},r.hasNext=function(){return r.state.current<Av(void 0,r.state,r.props)},r.runIfEnter=function(e,t){if(\"Enter\"===e.key||13===e.charCode){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];t.apply(void 0,r)}},r.runIfEnterPrev=function(e){r.runIfEnter(e,r.prev)},r.runIfEnterNext=function(e){r.runIfEnter(e,r.next)},r.runIfEnterJumpPrev=function(e){r.runIfEnter(e,r.jumpPrev)},r.runIfEnterJumpNext=function(e){r.runIfEnter(e,r.jumpNext)},r.handleGoTO=function(e){e.keyCode!==Ev.ENTER&&\"click\"!==e.type||r.handleChange(r.state.currentInputValue)};var o=e.onChange!==_v,i=\"current\"in e;i&&!o&&console.warn(\"Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.\");var a=e.defaultCurrent;\"current\"in e&&(a=e.current);var c=e.defaultPageSize;return\"pageSize\"in e&&(c=e.pageSize),a=Math.min(a,Av(c,void 0,e)),r.state={current:a,currentInputValue:a,pageSize:c},r}return Object(ge[\"a\"])(n,[{key:\"componentDidUpdate\",value:function(e,t){var n=this.props.prefixCls;if(t.current!==this.state.current&&this.paginationNode){var r=this.paginationNode.querySelector(\".\".concat(n,\"-item-\").concat(t.current));r&&document.activeElement===r&&r.blur()}}},{key:\"getValidValue\",value:function(e){var t,n=e.target.value,r=Av(void 0,this.state,this.props),o=this.state.currentInputValue;return t=\"\"===n?n:isNaN(Number(n))?o:n>=r?r:Number(n),t}},{key:\"getShowSizeChanger\",value:function(){var e=this.props,t=e.showSizeChanger,n=e.total,r=e.totalBoundaryShowSizeChanger;return\"undefined\"!==typeof t?t:n>r}},{key:\"renderPrev\",value:function(e){var t=this.props,n=t.prevIcon,r=t.itemRender,o=r(e,\"prev\",this.getItemIcon(n,\"prev page\")),i=!this.hasPrev();return Object(j[\"isValidElement\"])(o)?Object(j[\"cloneElement\"])(o,{disabled:i}):o}},{key:\"renderNext\",value:function(e){var t=this.props,n=t.nextIcon,r=t.itemRender,o=r(e,\"next\",this.getItemIcon(n,\"next page\")),i=!this.hasNext();return Object(j[\"isValidElement\"])(o)?Object(j[\"cloneElement\"])(o,{disabled:i}):o}},{key:\"render\",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.className,o=t.style,i=t.disabled,a=t.hideOnSinglePage,c=t.total,u=t.locale,s=t.showQuickJumper,l=t.showLessItems,f=t.showTitle,d=t.showTotal,h=t.simple,p=t.itemRender,v=t.showPrevNextJumpers,g=t.jumpPrevIcon,m=t.jumpNextIcon,y=t.selectComponentClass,b=t.selectPrefixCls,x=t.pageSizeOptions,E=this.state,S=E.current,_=E.pageSize,C=E.currentInputValue;if(!0===a&&c<=_)return null;var M=Av(void 0,this.state,this.props),A=[],N=null,T=null,I=null,P=null,L=null,D=s&&s.goButton,F=l?1:2,B=S-1>0?S-1:0,z=S+1<M?S+1:M,U=Object.keys(this.props).reduce((function(t,n){return\"data-\"!==n.substr(0,5)&&\"aria-\"!==n.substr(0,5)&&\"role\"!==n||(t[n]=e.props[n]),t}),{}),G=d&&k.a.createElement(\"li\",{className:\"\".concat(n,\"-total-text\")},d(c,[0===c?0:(S-1)*_+1,S*_>c?c:S*_]));if(h)return D&&(L=\"boolean\"===typeof D?k.a.createElement(\"button\",{type:\"button\",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},u.jump_to_confirm):k.a.createElement(\"span\",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},D),L=k.a.createElement(\"li\",{title:f?\"\".concat(u.jump_to).concat(S,\"/\").concat(M):null,className:\"\".concat(n,\"-simple-pager\")},L)),k.a.createElement(\"ul\",Object(O[\"a\"])({className:R()(n,\"\".concat(n,\"-simple\"),Object(w[\"a\"])({},\"\".concat(n,\"-disabled\"),i),r),style:o,ref:this.savePaginationNode},U),G,k.a.createElement(\"li\",{title:f?u.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:R()(\"\".concat(n,\"-prev\"),Object(w[\"a\"])({},\"\".concat(n,\"-disabled\"),!this.hasPrev())),\"aria-disabled\":!this.hasPrev()},this.renderPrev(B)),k.a.createElement(\"li\",{title:f?\"\".concat(S,\"/\").concat(M):null,className:\"\".concat(n,\"-simple-pager\")},k.a.createElement(\"input\",{type:\"text\",value:C,disabled:i,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:\"3\"}),k.a.createElement(\"span\",{className:\"\".concat(n,\"-slash\")},\"/\"),M),k.a.createElement(\"li\",{title:f?u.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:R()(\"\".concat(n,\"-next\"),Object(w[\"a\"])({},\"\".concat(n,\"-disabled\"),!this.hasNext())),\"aria-disabled\":!this.hasNext()},this.renderNext(z)),L);if(M<=3+2*F){var V={locale:u,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:f,itemRender:p};M||A.push(k.a.createElement(Ov,Object(O[\"a\"])({},V,{key:\"noPager\",page:1,className:\"\".concat(n,\"-item-disabled\")})));for(var W=1;W<=M;W+=1){var H=S===W;A.push(k.a.createElement(Ov,Object(O[\"a\"])({},V,{key:W,page:W,active:H})))}}else{var Y=l?u.prev_3:u.prev_5,X=l?u.next_3:u.next_5;v&&(N=k.a.createElement(\"li\",{title:f?Y:null,key:\"prev\",onClick:this.jumpPrev,tabIndex:\"0\",onKeyPress:this.runIfEnterJumpPrev,className:R()(\"\".concat(n,\"-jump-prev\"),Object(w[\"a\"])({},\"\".concat(n,\"-jump-prev-custom-icon\"),!!g))},p(this.getJumpPrevPage(),\"jump-prev\",this.getItemIcon(g,\"prev page\"))),T=k.a.createElement(\"li\",{title:f?X:null,key:\"next\",tabIndex:\"0\",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:R()(\"\".concat(n,\"-jump-next\"),Object(w[\"a\"])({},\"\".concat(n,\"-jump-next-custom-icon\"),!!m))},p(this.getJumpNextPage(),\"jump-next\",this.getItemIcon(m,\"next page\")))),P=k.a.createElement(Ov,{locale:u,last:!0,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:M,page:M,active:!1,showTitle:f,itemRender:p}),I=k.a.createElement(Ov,{locale:u,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:f,itemRender:p});var q=Math.max(1,S-F),K=Math.min(S+F,M);S-1<=F&&(K=1+2*F),M-S<=F&&(q=M-2*F);for(var Z=q;Z<=K;Z+=1){var $=S===Z;A.push(k.a.createElement(Ov,{locale:u,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Z,page:Z,active:$,showTitle:f,itemRender:p}))}S-1>=2*F&&3!==S&&(A[0]=Object(j[\"cloneElement\"])(A[0],{className:\"\".concat(n,\"-item-after-jump-prev\")}),A.unshift(N)),M-S>=2*F&&S!==M-2&&(A[A.length-1]=Object(j[\"cloneElement\"])(A[A.length-1],{className:\"\".concat(n,\"-item-before-jump-next\")}),A.push(T)),1!==q&&A.unshift(I),K!==M&&A.push(P)}var Q=!this.hasPrev()||!M,J=!this.hasNext()||!M;return k.a.createElement(\"ul\",Object(O[\"a\"])({className:R()(n,r,Object(w[\"a\"])({},\"\".concat(n,\"-disabled\"),i)),style:o,ref:this.savePaginationNode},U),G,k.a.createElement(\"li\",{title:f?u.prev_page:null,onClick:this.prev,tabIndex:Q?null:0,onKeyPress:this.runIfEnterPrev,className:R()(\"\".concat(n,\"-prev\"),Object(w[\"a\"])({},\"\".concat(n,\"-disabled\"),Q)),\"aria-disabled\":Q},this.renderPrev(B)),A,k.a.createElement(\"li\",{title:f?u.next_page:null,onClick:this.next,tabIndex:J?null:0,onKeyPress:this.runIfEnterNext,className:R()(\"\".concat(n,\"-next\"),Object(w[\"a\"])({},\"\".concat(n,\"-disabled\"),J)),\"aria-disabled\":J},this.renderNext(z)),k.a.createElement(jv,{disabled:i,locale:u,rootPrefixCls:n,selectComponentClass:y,selectPrefixCls:b,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:S,pageSize:_,pageSizeOptions:x,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:D}))}}],[{key:\"getDerivedStateFromProps\",value:function(e,t){var n={};if(\"current\"in e&&(n.current=e.current,e.current!==t.current&&(n.currentInputValue=n.current)),\"pageSize\"in e&&e.pageSize!==t.pageSize){var r=t.current,o=Av(e.pageSize,t,e);r=r>o?o:r,\"current\"in e||(n.current=r,n.currentInputValue=r),n.pageSize=e.pageSize}return n}}]),n}(k.a.Component);Nv.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:_v,className:\"\",selectPrefixCls:\"rc-select\",prefixCls:\"rc-pagination\",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:_v,locale:kv,style:{},itemRender:Mv,totalBoundaryShowSizeChanger:50};var Tv=Nv,Iv=r(\"H4fg\"),Pv=j[\"createContext\"](null);function Lv(){return j[\"useContext\"](Pv)}function Dv(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=j[\"useState\"](!1),n=Object(F[\"a\"])(t,2),r=n[0],o=n[1],i=j[\"useRef\"](null),a=function(){window.clearTimeout(i.current)};j[\"useEffect\"]((function(){return a}),[]);var c=function(t,n){a(),i.current=window.setTimeout((function(){o(t),n&&n()}),e)};return[r,c,a]}function Rv(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=j[\"useRef\"](null),n=j[\"useRef\"](null);function r(r){(r||null===t.current)&&(t.current=r),window.clearTimeout(n.current),n.current=window.setTimeout((function(){t.current=null}),e)}return j[\"useEffect\"]((function(){return function(){window.clearTimeout(n.current)}}),[]),[function(){return t.current},r]}function Fv(e,t,n,r){var o=j[\"useRef\"](null);o.current={open:t,triggerOpen:n,customizedTrigger:r},j[\"useEffect\"]((function(){function t(t){var n;if(null===(n=o.current)||void 0===n||!n.customizedTrigger){var r=t.target;r.shadowRoot&&t.composed&&(r=t.composedPath()[0]||r),o.current.open&&e().filter((function(e){return e})).every((function(e){return!e.contains(r)&&e!==r}))&&o.current.triggerOpen(!1)}}return window.addEventListener(\"mousedown\",t),function(){return window.removeEventListener(\"mousedown\",t)}}),[])}var Bv=function(e){var t,n=e.className,r=e.customizeIcon,o=e.customizeIconProps,i=e.onMouseDown,a=e.onClick,c=e.children;return t=\"function\"===typeof r?r(o):r,j[\"createElement\"](\"span\",{className:n,onMouseDown:function(e){e.preventDefault(),i&&i(e)},style:{userSelect:\"none\",WebkitUserSelect:\"none\"},unselectable:\"on\",onClick:a,\"aria-hidden\":!0},void 0!==t?t:j[\"createElement\"](\"span\",{className:R()(n.split(/\\s+/).map((function(e){return\"\".concat(e,\"-icon\")})))},c))},zv=Bv,Uv=function(e,t){var n,r,o=e.prefixCls,i=e.id,a=e.inputElement,c=e.disabled,u=e.tabIndex,s=e.autoFocus,l=e.autoComplete,f=e.editable,d=e.activeDescendantId,h=e.value,p=e.maxLength,v=e.onKeyDown,g=e.onMouseDown,m=e.onChange,y=e.onPaste,b=e.onCompositionStart,x=e.onCompositionEnd,w=e.open,O=e.attrs,E=a||j[\"createElement\"](\"input\",null),k=E,_=k.ref,C=k.props,M=C.onKeyDown,A=C.onChange,N=C.onMouseDown,T=C.onCompositionStart,I=C.onCompositionEnd,P=C.style;return Object(ce[\"c\"])(!(\"maxLength\"in E.props),\"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled.\"),E=j[\"cloneElement\"](E,Object(S[\"a\"])(Object(S[\"a\"])(Object(S[\"a\"])({type:\"search\"},C),{},{id:i,ref:Object(ie[\"a\"])(t,_),disabled:c,tabIndex:u,autoComplete:l||\"off\",autoFocus:s,className:R()(\"\".concat(o,\"-selection-search-input\"),null===(n=E)||void 0===n||null===(r=n.props)||void 0===r?void 0:r.className),role:\"combobox\",\"aria-expanded\":w,\"aria-haspopup\":\"listbox\",\"aria-owns\":\"\".concat(i,\"_list\"),\"aria-autocomplete\":\"list\",\"aria-controls\":\"\".concat(i,\"_list\"),\"aria-activedescendant\":d},O),{},{value:f?h:\"\",maxLength:p,readOnly:!f,unselectable:f?null:\"on\",style:Object(S[\"a\"])(Object(S[\"a\"])({},P),{},{opacity:f?null:0}),onKeyDown:function(e){v(e),M&&M(e)},onMouseDown:function(e){g(e),N&&N(e)},onChange:function(e){m(e),A&&A(e)},onCompositionStart:function(e){b(e),T&&T(e)},onCompositionEnd:function(e){x(e),I&&I(e)},onPaste:y})),E},Gv=j[\"forwardRef\"](Uv);Gv.displayName=\"Input\";var Vv=Gv;function Wv(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var Hv=\"undefined\"!==typeof window&&window.document&&window.document.documentElement,Yv=Hv;function Xv(e){return void 0!==e&&null!==e}function qv(e){return[\"string\",\"number\"].includes(Object(B[\"a\"])(e))}function Kv(e){var t=void 0;return e&&(qv(e.title)?t=e.title.toString():qv(e.label)&&(t=e.label.toString())),t}function Zv(e,t){Yv?j[\"useLayoutEffect\"](e,t):j[\"useEffect\"](e,t)}function $v(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var Qv=function(e){e.preventDefault(),e.stopPropagation()},Jv=function(e){var t=e.id,n=e.prefixCls,r=e.values,o=e.open,i=e.searchValue,a=e.autoClearSearchValue,c=e.inputRef,u=e.placeholder,s=e.disabled,l=e.mode,f=e.showSearch,d=e.autoFocus,h=e.autoComplete,p=e.activeDescendantId,v=e.tabIndex,g=e.removeIcon,m=e.maxTagCount,y=e.maxTagTextLength,b=e.maxTagPlaceholder,x=void 0===b?function(e){return\"+ \".concat(e.length,\" ...\")}:b,O=e.tagRender,E=e.onToggleOpen,S=e.onRemove,k=e.onInputChange,_=e.onInputPaste,C=e.onInputKeyDown,M=e.onInputMouseDown,A=e.onInputCompositionStart,N=e.onInputCompositionEnd,T=j[\"useRef\"](null),I=Object(j[\"useState\"])(0),P=Object(F[\"a\"])(I,2),L=P[0],D=P[1],B=Object(j[\"useState\"])(!1),z=Object(F[\"a\"])(B,2),U=z[0],G=z[1],V=\"\".concat(n,\"-selection\"),W=o||\"multiple\"===l&&!1===a||\"tags\"===l?i:\"\",H=\"tags\"===l||\"multiple\"===l&&!1===a||f&&(o||U);function Y(e,t,n,r,o){return j[\"createElement\"](\"span\",{className:R()(\"\".concat(V,\"-item\"),Object(w[\"a\"])({},\"\".concat(V,\"-item-disabled\"),n)),title:Kv(e)},j[\"createElement\"](\"span\",{className:\"\".concat(V,\"-item-content\")},t),r&&j[\"createElement\"](zv,{className:\"\".concat(V,\"-item-remove\"),onMouseDown:Qv,onClick:o,customizeIcon:g},\"\\xd7\"))}function X(e,t,n,r,i){var a=function(e){Qv(e),E(!o)};return j[\"createElement\"](\"span\",{onMouseDown:a},O({label:t,value:e,disabled:n,closable:r,onClose:i}))}function q(e){var t=e.disabled,n=e.label,r=e.value,o=!s&&!t,i=n;if(\"number\"===typeof y&&(\"string\"===typeof n||\"number\"===typeof n)){var a=String(i);a.length>y&&(i=\"\".concat(a.slice(0,y),\"...\"))}var c=function(t){t&&t.stopPropagation(),S(e)};return\"function\"===typeof O?X(r,i,t,o,c):Y(e,i,t,o,c)}function K(e){var t=\"function\"===typeof x?x(e):x;return Y({title:t},t,!1)}Zv((function(){D(T.current.scrollWidth)}),[W]);var Z=j[\"createElement\"](\"div\",{className:\"\".concat(V,\"-search\"),style:{width:L},onFocus:function(){G(!0)},onBlur:function(){G(!1)}},j[\"createElement\"](Vv,{ref:c,open:o,prefixCls:n,id:t,inputElement:null,disabled:s,autoFocus:d,autoComplete:h,editable:H,activeDescendantId:p,value:W,onKeyDown:C,onMouseDown:M,onChange:k,onPaste:_,onCompositionStart:A,onCompositionEnd:N,tabIndex:v,attrs:qd(e,!0)}),j[\"createElement\"](\"span\",{ref:T,className:\"\".concat(V,\"-search-mirror\"),\"aria-hidden\":!0},W,\"\\xa0\")),$=j[\"createElement\"](ot,{prefixCls:\"\".concat(V,\"-overflow\"),data:r,renderItem:q,renderRest:K,suffix:Z,itemKey:$v,maxCount:m});return j[\"createElement\"](j[\"Fragment\"],null,$,!r.length&&!W&&j[\"createElement\"](\"span\",{className:\"\".concat(V,\"-placeholder\")},u))},eg=Jv,tg=function(e){var t=e.inputElement,n=e.prefixCls,r=e.id,o=e.inputRef,i=e.disabled,a=e.autoFocus,c=e.autoComplete,u=e.activeDescendantId,s=e.mode,l=e.open,f=e.values,d=e.placeholder,h=e.tabIndex,p=e.showSearch,v=e.searchValue,g=e.activeValue,m=e.maxLength,y=e.onInputKeyDown,b=e.onInputMouseDown,x=e.onInputChange,w=e.onInputPaste,O=e.onInputCompositionStart,E=e.onInputCompositionEnd,S=j[\"useState\"](!1),k=Object(F[\"a\"])(S,2),_=k[0],C=k[1],M=\"combobox\"===s,A=M||p,N=f[0],T=v||\"\";M&&g&&!_&&(T=g),j[\"useEffect\"]((function(){M&&C(!1)}),[M,g]);var I=!(\"combobox\"!==s&&!l&&!p)&&!!T,P=Kv(N),L=function(){if(N)return null;var e=I?{visibility:\"hidden\"}:void 0;return j[\"createElement\"](\"span\",{className:\"\".concat(n,\"-selection-placeholder\"),style:e},d)};return j[\"createElement\"](j[\"Fragment\"],null,j[\"createElement\"](\"span\",{className:\"\".concat(n,\"-selection-search\")},j[\"createElement\"](Vv,{ref:o,prefixCls:n,id:r,open:l,inputElement:t,disabled:i,autoFocus:a,autoComplete:c,editable:A,activeDescendantId:u,value:T,onKeyDown:y,onMouseDown:b,onChange:function(e){C(!0),x(e)},onPaste:w,onCompositionStart:O,onCompositionEnd:E,tabIndex:h,attrs:qd(e,!0),maxLength:M?m:void 0})),!M&&N&&!I&&j[\"createElement\"](\"span\",{className:\"\".concat(n,\"-selection-item\"),title:P},N.label),L())},ng=tg;function rg(e){return![Me.ESC,Me.SHIFT,Me.BACKSPACE,Me.TAB,Me.WIN_KEY,Me.ALT,Me.META,Me.WIN_KEY_RIGHT,Me.CTRL,Me.SEMICOLON,Me.EQUALS,Me.CAPS_LOCK,Me.CONTEXT_MENU,Me.F1,Me.F2,Me.F3,Me.F4,Me.F5,Me.F6,Me.F7,Me.F8,Me.F9,Me.F10,Me.F11,Me.F12].includes(e)}var og=function(e,t){var n=Object(j[\"useRef\"])(null),r=Object(j[\"useRef\"])(!1),o=e.prefixCls,i=e.open,a=e.mode,c=e.showSearch,u=e.tokenWithEnter,s=e.onSearch,l=e.onSearchSubmit,f=e.onToggleOpen,d=e.onInputKeyDown,h=e.domRef;j[\"useImperativeHandle\"](t,(function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}}));var p=Rv(0),v=Object(F[\"a\"])(p,2),g=v[0],m=v[1],y=function(e){var t=e.which;t!==Me.UP&&t!==Me.DOWN||e.preventDefault(),d&&d(e),t!==Me.ENTER||\"tags\"!==a||r.current||i||null===l||void 0===l||l(e.target.value),rg(t)&&f(!0)},b=function(){m(!0)},x=Object(j[\"useRef\"])(null),w=function(e){!1!==s(e,!0,r.current)&&f(!0)},E=function(){r.current=!0},S=function(e){r.current=!1,\"combobox\"!==a&&w(e.target.value)},k=function(e){var t=e.target.value;if(u&&x.current&&/[\\r\\n]/.test(x.current)){var n=x.current.replace(/[\\r\\n]+$/,\"\").replace(/\\r\\n/g,\" \").replace(/[\\r\\n]/g,\" \");t=t.replace(n,x.current)}x.current=null,w(t)},_=function(e){var t=e.clipboardData,n=t.getData(\"text\");x.current=n},C=function(e){var t=e.target;if(t!==n.current){var r=void 0!==document.body.style.msTouchAction;r?setTimeout((function(){n.current.focus()})):n.current.focus()}},M=function(e){var t=g();e.target===n.current||t||\"combobox\"===a||e.preventDefault(),(\"combobox\"===a||c&&t)&&i||(i&&s(\"\",!0,!1),f())},A={inputRef:n,onInputKeyDown:y,onInputMouseDown:b,onInputChange:k,onInputPaste:_,onInputCompositionStart:E,onInputCompositionEnd:S},N=\"multiple\"===a||\"tags\"===a?j[\"createElement\"](eg,Object(O[\"a\"])({},e,A)):j[\"createElement\"](ng,Object(O[\"a\"])({},e,A));return j[\"createElement\"](\"div\",{ref:h,className:\"\".concat(o,\"-selector\"),onClick:C,onMouseDown:M},N)},ig=j[\"forwardRef\"](og);ig.displayName=\"Selector\";var ag=ig,cg=[\"prefixCls\",\"disabled\",\"visible\",\"children\",\"popupElement\",\"containerWidth\",\"animation\",\"transitionName\",\"dropdownStyle\",\"dropdownClassName\",\"direction\",\"placement\",\"dropdownMatchSelectWidth\",\"dropdownRender\",\"dropdownAlign\",\"getPopupContainer\",\"empty\",\"getTriggerDOMNode\",\"onPopupVisibleChange\",\"onPopupMouseEnter\"],ug=function(e){var t=!0===e?0:1;return{bottomLeft:{points:[\"tl\",\"bl\"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:[\"tr\",\"br\"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:[\"bl\",\"tl\"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:[\"br\",\"tr\"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},sg=function(e,t){var n=e.prefixCls,r=(e.disabled,e.visible),o=e.children,i=e.popupElement,a=e.containerWidth,c=e.animation,u=e.transitionName,s=e.dropdownStyle,l=e.dropdownClassName,f=e.direction,d=void 0===f?\"ltr\":f,h=e.placement,p=e.dropdownMatchSelectWidth,v=e.dropdownRender,g=e.dropdownAlign,m=e.getPopupContainer,y=e.empty,b=e.getTriggerDOMNode,x=e.onPopupVisibleChange,E=e.onPopupMouseEnter,k=Object(z[\"a\"])(e,cg),_=\"\".concat(n,\"-dropdown\"),C=i;v&&(C=v(i));var M=j[\"useMemo\"]((function(){return ug(p)}),[p]),A=c?\"\".concat(_,\"-\").concat(c):u,N=j[\"useRef\"](null);j[\"useImperativeHandle\"](t,(function(){return{getPopupElement:function(){return N.current}}}));var T=Object(S[\"a\"])({minWidth:a},s);return\"number\"===typeof p?T.width=p:p&&(T.width=a),j[\"createElement\"](no,Object(O[\"a\"])({},k,{showAction:x?[\"click\"]:[],hideAction:x?[\"click\"]:[],popupPlacement:h||(\"rtl\"===d?\"bottomRight\":\"bottomLeft\"),builtinPlacements:M,prefixCls:_,popupTransitionName:A,popup:j[\"createElement\"](\"div\",{ref:N,onMouseEnter:E},C),popupAlign:g,popupVisible:r,getPopupContainer:m,popupClassName:R()(l,Object(w[\"a\"])({},\"\".concat(_,\"-empty\"),y)),popupStyle:T,getTriggerDOMNode:b,onPopupVisibleChange:x}),o)},lg=j[\"forwardRef\"](sg);lg.displayName=\"SelectTrigger\";var fg=lg,dg=r(\"T5bk\");function hg(e,t){var n,r=e.key;return\"value\"in e&&(n=e.value),null!==r&&void 0!==r?r:void 0!==n?n:\"rc-index-key-\".concat(t)}function pg(e,t){var n=e||{},r=n.label,o=n.value,i=n.options;return{label:r||(t?\"children\":\"label\"),value:o||\"value\",options:i||\"options\"}}function vg(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,o=[],i=pg(n,!1),a=i.label,c=i.value,u=i.options;function s(e,t){e.forEach((function(e){var n=e[a];if(t||!(u in e)){var i=e[c];o.push({key:hg(e,o.length),groupOption:t,data:e,label:n,value:i})}else{var l=n;void 0===l&&r&&(l=e.label),o.push({key:hg(e,o.length),group:!0,data:e,label:l}),s(e[u],!0)}}))}return s(e,!1),o}function gg(e){var t=Object(S[\"a\"])({},e);return\"props\"in t||Object.defineProperty(t,\"props\",{get:function(){return Object(ce[\"a\"])(!1,\"Return type is option instead of Option instance. Please read value directly instead of reading from `props`.\"),t}}),t}function mg(e,t){if(!t||!t.length)return null;var n=!1;function r(e,t){var o=Object(dg[\"a\"])(t),i=o[0],a=o.slice(1);if(!i)return[e];var c=e.split(i);return n=n||c.length>1,c.reduce((function(e,t){return[].concat(Object(re[\"a\"])(e),Object(re[\"a\"])(r(t,a)))}),[]).filter((function(e){return e}))}var o=r(e,t);return n?o:null}var yg=[\"id\",\"prefixCls\",\"className\",\"showSearch\",\"tagRender\",\"direction\",\"omitDomProps\",\"displayValues\",\"onDisplayValuesChange\",\"emptyOptions\",\"notFoundContent\",\"onClear\",\"mode\",\"disabled\",\"loading\",\"getInputElement\",\"getRawInputElement\",\"open\",\"defaultOpen\",\"onDropdownVisibleChange\",\"activeValue\",\"onActiveValueChange\",\"activeDescendantId\",\"searchValue\",\"autoClearSearchValue\",\"onSearch\",\"onSearchSplit\",\"tokenSeparators\",\"allowClear\",\"showArrow\",\"inputIcon\",\"clearIcon\",\"OptionList\",\"animation\",\"transitionName\",\"dropdownStyle\",\"dropdownClassName\",\"dropdownMatchSelectWidth\",\"dropdownRender\",\"dropdownAlign\",\"placement\",\"getPopupContainer\",\"showAction\",\"onFocus\",\"onBlur\",\"onKeyUp\",\"onKeyDown\",\"onMouseDown\"],bg=[\"value\",\"onChange\",\"removeIcon\",\"placeholder\",\"autoFocus\",\"maxTagCount\",\"maxTagTextLength\",\"maxTagPlaceholder\",\"choiceTransitionName\",\"onInputKeyDown\",\"onPopupScroll\",\"tabIndex\"];function xg(e){return\"tags\"===e||\"multiple\"===e}var wg=j[\"forwardRef\"]((function(e,t){var n,r,o=e.id,i=e.prefixCls,a=e.className,c=e.showSearch,u=e.tagRender,s=e.direction,l=e.omitDomProps,f=e.displayValues,d=e.onDisplayValuesChange,h=e.emptyOptions,p=e.notFoundContent,v=void 0===p?\"Not Found\":p,g=e.onClear,m=e.mode,y=e.disabled,b=e.loading,x=e.getInputElement,E=e.getRawInputElement,k=e.open,_=e.defaultOpen,C=e.onDropdownVisibleChange,M=e.activeValue,A=e.onActiveValueChange,N=e.activeDescendantId,T=e.searchValue,I=e.autoClearSearchValue,P=e.onSearch,L=e.onSearchSplit,D=e.tokenSeparators,G=e.allowClear,V=e.showArrow,W=e.inputIcon,H=e.clearIcon,X=e.OptionList,q=e.animation,K=e.transitionName,$=e.dropdownStyle,Q=e.dropdownClassName,J=e.dropdownMatchSelectWidth,ee=e.dropdownRender,te=e.dropdownAlign,ne=e.placement,oe=e.getPopupContainer,ae=e.showAction,ce=void 0===ae?[]:ae,ue=e.onFocus,se=e.onBlur,le=e.onKeyUp,fe=e.onKeyDown,de=e.onMouseDown,he=Object(z[\"a\"])(e,yg),pe=xg(m),ve=(void 0!==c?c:pe)||\"combobox\"===m,ge=Object(S[\"a\"])({},he);bg.forEach((function(e){delete ge[e]})),null===l||void 0===l||l.forEach((function(e){delete ge[e]}));var me=j[\"useState\"](!1),ye=Object(F[\"a\"])(me,2),be=ye[0],xe=ye[1];j[\"useEffect\"]((function(){xe(U())}),[]);var we=j[\"useRef\"](null),Oe=j[\"useRef\"](null),Ee=j[\"useRef\"](null),Se=j[\"useRef\"](null),je=j[\"useRef\"](null),ke=Dv(),_e=Object(F[\"a\"])(ke,3),Ce=_e[0],Ae=_e[1],Ne=_e[2];j[\"useImperativeHandle\"](t,(function(){var e,t;return{focus:null===(e=Se.current)||void 0===e?void 0:e.focus,blur:null===(t=Se.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=je.current)||void 0===t?void 0:t.scrollTo(e)}}}));var Te=j[\"useMemo\"]((function(){var e;if(\"combobox\"!==m)return T;var t=null===(e=f[0])||void 0===e?void 0:e.value;return\"string\"===typeof t||\"number\"===typeof t?String(t):\"\"}),[T,m,f]),Ie=\"combobox\"===m&&\"function\"===typeof x&&x()||null,Pe=\"function\"===typeof E&&E(),Le=Object(ie[\"d\"])(Oe,null===Pe||void 0===Pe||null===(n=Pe.props)||void 0===n?void 0:n.ref),De=Z(void 0,{defaultValue:_,value:k}),Re=Object(F[\"a\"])(De,2),Fe=Re[0],Be=Re[1],ze=Fe,Ue=!v&&h;(y||Ue&&ze&&\"combobox\"===m)&&(ze=!1);var Ge=!Ue&&ze,Ve=j[\"useCallback\"]((function(e){var t=void 0!==e?e:!ze;y||(Be(t),ze!==t&&(null===C||void 0===C||C(t)))}),[y,ze,Be,C]),We=j[\"useMemo\"]((function(){return(D||[]).some((function(e){return[\"\\n\",\"\\r\\n\"].includes(e)}))}),[D]),He=function(e,t,n){var r=!0,o=e;null===A||void 0===A||A(null);var i=n?null:mg(e,D);return\"combobox\"!==m&&i&&(o=\"\",null===L||void 0===L||L(i),Ve(!1),r=!1),P&&Te!==o&&P(o,{source:t?\"typing\":\"effect\"}),r},Ye=function(e){e&&e.trim()&&P(e,{source:\"submit\"})};j[\"useEffect\"]((function(){ze||pe||\"combobox\"===m||He(\"\",!1,!1)}),[ze]),j[\"useEffect\"]((function(){Fe&&y&&Be(!1),y&&Ae(!1)}),[y]);var Xe=Rv(),qe=Object(F[\"a\"])(Xe,2),Ke=qe[0],Ze=qe[1],$e=function(e){var t,n=Ke(),r=e.which;if(r===Me.ENTER&&(\"combobox\"!==m&&e.preventDefault(),ze||Ve(!0)),Ze(!!Te),r===Me.BACKSPACE&&!n&&pe&&!Te&&f.length){for(var o=Object(re[\"a\"])(f),i=null,a=o.length-1;a>=0;a-=1){var c=o[a];if(!c.disabled){o.splice(a,1),i=c;break}}i&&d(o,{type:\"remove\",values:[i]})}for(var u=arguments.length,s=new Array(u>1?u-1:0),l=1;l<u;l++)s[l-1]=arguments[l];ze&&je.current&&(t=je.current).onKeyDown.apply(t,[e].concat(s));null===fe||void 0===fe||fe.apply(void 0,[e].concat(s))},Qe=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o;ze&&je.current&&(o=je.current).onKeyUp.apply(o,[e].concat(n));null===le||void 0===le||le.apply(void 0,[e].concat(n))},Je=function(e){var t=f.filter((function(t){return t!==e}));d(t,{type:\"remove\",values:[e]})},et=j[\"useRef\"](!1),tt=function(){Ae(!0),y||(ue&&!et.current&&ue.apply(void 0,arguments),ce.includes(\"focus\")&&Ve(!0)),et.current=!0},nt=function(){Ae(!1,(function(){et.current=!1,Ve(!1)})),y||(Te&&(\"tags\"===m?P(Te,{source:\"submit\"}):\"multiple\"===m&&P(\"\",{source:\"blur\"})),se&&se.apply(void 0,arguments))},rt=[];j[\"useEffect\"]((function(){return function(){rt.forEach((function(e){return clearTimeout(e)})),rt.splice(0,rt.length)}}),[]);var ot,it=function(e){var t,n=e.target,r=null===(t=Ee.current)||void 0===t?void 0:t.getPopupElement();if(r&&r.contains(n)){var o=setTimeout((function(){var e,t=rt.indexOf(o);(-1!==t&&rt.splice(t,1),Ne(),be||r.contains(document.activeElement))||(null===(e=Se.current)||void 0===e||e.focus())}));rt.push(o)}for(var i=arguments.length,a=new Array(i>1?i-1:0),c=1;c<i;c++)a[c-1]=arguments[c];null===de||void 0===de||de.apply(void 0,[e].concat(a))},at=j[\"useState\"](null),ct=Object(F[\"a\"])(at,2),ut=ct[0],st=ct[1],lt=j[\"useState\"]({}),ft=Object(F[\"a\"])(lt,2),dt=ft[1];function ht(){dt({})}Y((function(){if(Ge){var e,t=Math.ceil(null===(e=we.current)||void 0===e?void 0:e.offsetWidth);ut===t||Number.isNaN(t)||st(t)}}),[Ge]),Pe&&(ot=function(e){Ve(e)}),Fv((function(){var e;return[we.current,null===(e=Ee.current)||void 0===e?void 0:e.getPopupElement()]}),Ge,Ve,!!Pe);var pt,vt,gt=j[\"useMemo\"]((function(){return Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{notFoundContent:v,open:ze,triggerOpen:Ge,id:o,showSearch:ve,multiple:pe,toggleOpen:Ve})}),[e,v,Ge,ze,o,ve,pe,Ve]),mt=void 0!==V?V:b||!pe&&\"combobox\"!==m;mt&&(pt=j[\"createElement\"](zv,{className:R()(\"\".concat(i,\"-arrow\"),Object(w[\"a\"])({},\"\".concat(i,\"-arrow-loading\"),b)),customizeIcon:W,customizeIconProps:{loading:b,searchValue:Te,open:ze,focused:Ce,showSearch:ve}}));var yt=function(){null===g||void 0===g||g(),d([],{type:\"clear\",values:f}),He(\"\",!1,!1)};y||!G||!f.length&&!Te||\"combobox\"===m&&\"\"===Te||(vt=j[\"createElement\"](zv,{className:\"\".concat(i,\"-clear\"),onMouseDown:yt,customizeIcon:H},\"\\xd7\"));var bt,xt=j[\"createElement\"](X,{ref:je}),wt=R()(i,a,(r={},Object(w[\"a\"])(r,\"\".concat(i,\"-focused\"),Ce),Object(w[\"a\"])(r,\"\".concat(i,\"-multiple\"),pe),Object(w[\"a\"])(r,\"\".concat(i,\"-single\"),!pe),Object(w[\"a\"])(r,\"\".concat(i,\"-allow-clear\"),G),Object(w[\"a\"])(r,\"\".concat(i,\"-show-arrow\"),mt),Object(w[\"a\"])(r,\"\".concat(i,\"-disabled\"),y),Object(w[\"a\"])(r,\"\".concat(i,\"-loading\"),b),Object(w[\"a\"])(r,\"\".concat(i,\"-open\"),ze),Object(w[\"a\"])(r,\"\".concat(i,\"-customize-input\"),Ie),Object(w[\"a\"])(r,\"\".concat(i,\"-show-search\"),ve),r)),Ot=j[\"createElement\"](fg,{ref:Ee,disabled:y,prefixCls:i,visible:Ge,popupElement:xt,containerWidth:ut,animation:q,transitionName:K,dropdownStyle:$,dropdownClassName:Q,direction:s,dropdownMatchSelectWidth:J,dropdownRender:ee,dropdownAlign:te,placement:ne,getPopupContainer:oe,empty:h,getTriggerDOMNode:function(){return Oe.current},onPopupVisibleChange:ot,onPopupMouseEnter:ht},Pe?j[\"cloneElement\"](Pe,{ref:Le}):j[\"createElement\"](ag,Object(O[\"a\"])({},e,{domRef:Oe,prefixCls:i,inputElement:Ie,ref:Se,id:o,showSearch:ve,autoClearSearchValue:I,mode:m,activeDescendantId:N,tagRender:u,values:f,open:ze,onToggleOpen:Ve,activeValue:M,searchValue:Te,onSearch:He,onSearchSubmit:Ye,onRemove:Je,tokenWithEnter:We})));return bt=Pe?Ot:j[\"createElement\"](\"div\",Object(O[\"a\"])({className:wt},ge,{ref:we,onMouseDown:it,onKeyDown:$e,onKeyUp:Qe,onFocus:tt,onBlur:nt}),Ce&&!ze&&j[\"createElement\"](\"span\",{style:{width:0,height:0,position:\"absolute\",overflow:\"hidden\",opacity:0},\"aria-live\":\"polite\"},\"\".concat(f.map((function(e){var t=e.label,n=e.value;return[\"number\",\"string\"].includes(Object(B[\"a\"])(t))?t:n})).join(\", \"))),Ot,pt,vt),j[\"createElement\"](Pv.Provider,{value:gt},bt)}));var Og=wg,Eg=function(e,t){var n=j[\"useRef\"]({values:new Map,options:new Map}),r=j[\"useMemo\"]((function(){var r=n.current,o=r.values,i=r.options,a=e.map((function(e){var t;return void 0===e.label?Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{label:null===(t=o.get(e.value))||void 0===t?void 0:t.label}):e})),c=new Map,u=new Map;return a.forEach((function(e){c.set(e.value,e),u.set(e.value,t.get(e.value)||i.get(e.value))})),n.current.values=c,n.current.options=u,a}),[e,t]),o=j[\"useCallback\"]((function(e){return t.get(e)||n.current.options.get(e)}),[t]);return[r,o]};function Sg(e,t){return Wv(e).join(\"\").toUpperCase().includes(t)}var jg=function(e,t,n,r,o){return j[\"useMemo\"]((function(){if(!n||!1===r)return e;var i=t.options,a=t.label,c=t.value,u=[],s=\"function\"===typeof r,l=n.toUpperCase(),f=s?r:function(e,t){return o?Sg(t[o],l):t[i]?Sg(t[\"children\"!==a?a:\"label\"],l):Sg(t[c],l)},d=s?function(e){return gg(e)}:function(e){return e};return e.forEach((function(e){if(e[i]){var t=f(n,d(e));if(t)u.push(e);else{var r=e[i].filter((function(e){return f(n,d(e))}));r.length&&u.push(Object(S[\"a\"])(Object(S[\"a\"])({},e),{},Object(w[\"a\"])({},i,r)))}}else f(n,d(e))&&u.push(e)})),u}),[e,r,o,n,t])},kg=0,_g=Object(W[\"a\"])();function Cg(){var e;return _g?(e=kg,kg+=1):e=\"TEST_OR_SSR\",e}function Mg(e){var t=j[\"useState\"](),n=Object(F[\"a\"])(t,2),r=n[0],o=n[1];return j[\"useEffect\"]((function(){o(\"rc_select_\".concat(Cg()))}),[]),e||r}var Ag=[\"children\",\"value\"],Ng=[\"children\"];function Tg(e){var t=e,n=t.key,r=t.props,o=r.children,i=r.value,a=Object(z[\"a\"])(r,Ag);return Object(S[\"a\"])({key:n,value:void 0!==i?i:n,children:o},a)}function Ig(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object(ae[\"a\"])(e).map((function(e,n){if(!j[\"isValidElement\"](e)||!e.type)return null;var r=e,o=r.type.isSelectOptGroup,i=r.key,a=r.props,c=a.children,u=Object(z[\"a\"])(a,Ng);return t||!o?Tg(e):Object(S[\"a\"])(Object(S[\"a\"])({key:\"__RC_SELECT_GRP__\".concat(null===i?n:i,\"__\"),label:i},u),{},{options:Ig(c)})})).filter((function(e){return e}))}function Pg(e,t,n,r,o){return j[\"useMemo\"]((function(){var i=e,a=!e;a&&(i=Ig(t));var c=new Map,u=new Map,s=function(e,t,n){n&&\"string\"===typeof n&&e.set(t[n],t)};function l(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=0;i<e.length;i+=1){var a=e[i];!a[n.options]||t?(c.set(a[n.value],a),s(u,a,n.label),s(u,a,r),s(u,a,o)):l(a[n.options],!0)}}return l(i),{options:i,valueOptions:c,labelOptions:u}}),[e,t,n,r,o])}function Lg(e){var t=j[\"useRef\"]();t.current=e;var n=j[\"useCallback\"]((function(){return t.current.apply(t,arguments)}),[]);return n}var Dg=function(){return null};Dg.isSelectOptGroup=!0;var Rg=Dg,Fg=function(){return null};Fg.isSelectOption=!0;var Bg=Fg,zg=j[\"forwardRef\"]((function(e,t){var n=e.height,r=e.offset,o=e.children,i=e.prefixCls,a=e.onInnerResize,c={},u={display:\"flex\",flexDirection:\"column\"};return void 0!==r&&(c={height:n,position:\"relative\",overflow:\"hidden\"},u=Object(S[\"a\"])(Object(S[\"a\"])({},u),{},{transform:\"translateY(\".concat(r,\"px)\"),position:\"absolute\",left:0,right:0,top:0})),j[\"createElement\"](\"div\",{style:c},j[\"createElement\"](je,{onResize:function(e){var t=e.offsetHeight;t&&a&&a()}},j[\"createElement\"](\"div\",{style:u,className:R()(Object(w[\"a\"])({},\"\".concat(i,\"-holder-inner\"),i)),ref:t},o)))}));zg.displayName=\"Filler\";var Ug=zg,Gg=20;function Vg(e){return\"touches\"in e?e.touches[0].pageY:e.pageY}var Wg=function(e){Object(me[\"a\"])(n,e);var t=Object(ye[\"a\"])(n);function n(){var e;Object(ve[\"a\"])(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),e.moveRaf=null,e.scrollbarRef=j[\"createRef\"](),e.thumbRef=j[\"createRef\"](),e.visibleTimeout=null,e.state={dragging:!1,pageY:null,startTop:null,visible:!1},e.delayHidden=function(){clearTimeout(e.visibleTimeout),e.setState({visible:!0}),e.visibleTimeout=setTimeout((function(){e.setState({visible:!1})}),2e3)},e.onScrollbarTouchStart=function(e){e.preventDefault()},e.onContainerMouseDown=function(e){e.stopPropagation(),e.preventDefault()},e.patchEvents=function(){window.addEventListener(\"mousemove\",e.onMouseMove),window.addEventListener(\"mouseup\",e.onMouseUp),e.thumbRef.current.addEventListener(\"touchmove\",e.onMouseMove),e.thumbRef.current.addEventListener(\"touchend\",e.onMouseUp)},e.removeEvents=function(){var t;window.removeEventListener(\"mousemove\",e.onMouseMove),window.removeEventListener(\"mouseup\",e.onMouseUp),null===(t=e.scrollbarRef.current)||void 0===t||t.removeEventListener(\"touchstart\",e.onScrollbarTouchStart),e.thumbRef.current&&(e.thumbRef.current.removeEventListener(\"touchstart\",e.onMouseDown),e.thumbRef.current.removeEventListener(\"touchmove\",e.onMouseMove),e.thumbRef.current.removeEventListener(\"touchend\",e.onMouseUp)),oe[\"a\"].cancel(e.moveRaf)},e.onMouseDown=function(t){var n=e.props.onStartMove;e.setState({dragging:!0,pageY:Vg(t),startTop:e.getTop()}),n(),e.patchEvents(),t.stopPropagation(),t.preventDefault()},e.onMouseMove=function(t){var n=e.state,r=n.dragging,o=n.pageY,i=n.startTop,a=e.props.onScroll;if(oe[\"a\"].cancel(e.moveRaf),r){var c=Vg(t)-o,u=i+c,s=e.getEnableScrollRange(),l=e.getEnableHeightRange(),f=l?u/l:0,d=Math.ceil(f*s);e.moveRaf=Object(oe[\"a\"])((function(){a(d)}))}},e.onMouseUp=function(){var t=e.props.onStopMove;e.setState({dragging:!1}),t(),e.removeEvents()},e.getSpinHeight=function(){var t=e.props,n=t.height,r=t.count,o=n/r*10;return o=Math.max(o,Gg),o=Math.min(o,n/2),Math.floor(o)},e.getEnableScrollRange=function(){var t=e.props,n=t.scrollHeight,r=t.height;return n-r||0},e.getEnableHeightRange=function(){var t=e.props.height,n=e.getSpinHeight();return t-n||0},e.getTop=function(){var t=e.props.scrollTop,n=e.getEnableScrollRange(),r=e.getEnableHeightRange();if(0===t||0===n)return 0;var o=t/n;return o*r},e.showScroll=function(){var t=e.props,n=t.height,r=t.scrollHeight;return r>n},e}return Object(ge[\"a\"])(n,[{key:\"componentDidMount\",value:function(){this.scrollbarRef.current.addEventListener(\"touchstart\",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener(\"touchstart\",this.onMouseDown)}},{key:\"componentDidUpdate\",value:function(e){e.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:\"componentWillUnmount\",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:\"render\",value:function(){var e=this.state,t=e.dragging,n=e.visible,r=this.props.prefixCls,o=this.getSpinHeight(),i=this.getTop(),a=this.showScroll(),c=a&&n;return j[\"createElement\"](\"div\",{ref:this.scrollbarRef,className:R()(\"\".concat(r,\"-scrollbar\"),Object(w[\"a\"])({},\"\".concat(r,\"-scrollbar-show\"),a)),style:{width:8,top:0,bottom:0,right:0,position:\"absolute\",display:c?null:\"none\"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},j[\"createElement\"](\"div\",{ref:this.thumbRef,className:R()(\"\".concat(r,\"-scrollbar-thumb\"),Object(w[\"a\"])({},\"\".concat(r,\"-scrollbar-thumb-moving\"),t)),style:{width:\"100%\",height:o,top:i,left:0,position:\"absolute\",background:\"rgba(0, 0, 0, 0.5)\",borderRadius:99,cursor:\"pointer\",userSelect:\"none\"},onMouseDown:this.onMouseDown}))}}]),n}(j[\"Component\"]);function Hg(e){var t=e.children,n=e.setRef,r=j[\"useCallback\"]((function(e){n(e)}),[]);return j[\"cloneElement\"](t,{ref:r})}function Yg(e,t,n,r,o,i){var a=i.getKey;return e.slice(t,n+1).map((function(e,n){var i=t+n,c=o(e,i,{}),u=a(e);return j[\"createElement\"](Hg,{key:u,setRef:function(t){return r(e,t)}},c)}))}var Xg=function(){function e(){Object(ve[\"a\"])(this,e),this.maps=void 0,this.maps=Object.create(null)}return Object(ge[\"a\"])(e,[{key:\"set\",value:function(e,t){this.maps[e]=t}},{key:\"get\",value:function(e){return this.maps[e]}}]),e}(),qg=Xg;function Kg(e,t,n){var r=j[\"useState\"](0),o=Object(F[\"a\"])(r,2),i=o[0],a=o[1],c=Object(j[\"useRef\"])(new Map),u=Object(j[\"useRef\"])(new qg),s=Object(j[\"useRef\"])();function l(){oe[\"a\"].cancel(s.current)}function f(){l(),s.current=Object(oe[\"a\"])((function(){c.current.forEach((function(e,t){if(e&&e.offsetParent){var n=Object(ue[\"a\"])(e),r=n.offsetHeight;u.current.get(t)!==r&&u.current.set(t,n.offsetHeight)}})),a((function(e){return e+1}))}))}function d(r,o){var i=e(r),a=c.current.get(i);o?(c.current.set(i,o),f()):c.current.delete(i),!a!==!o&&(o?null===t||void 0===t||t(r):null===n||void 0===n||n(r))}return Object(j[\"useEffect\"])((function(){return l}),[]),[d,f,u.current,i]}function Zg(e,t,n,r,o,i,a,c){var u=j[\"useRef\"]();return function(s){if(null!==s&&void 0!==s){if(oe[\"a\"].cancel(u.current),\"number\"===typeof s)a(s);else if(s&&\"object\"===Object(B[\"a\"])(s)){var l,f=s.align;l=\"index\"in s?s.index:t.findIndex((function(e){return o(e)===s.key}));var d=s.offset,h=void 0===d?0:d,p=function c(s,d){if(!(s<0)&&e.current){var p=e.current.clientHeight,v=!1,g=d;if(p){for(var m=d||f,y=0,b=0,x=0,w=Math.min(t.length,l),O=0;O<=w;O+=1){var E=o(t[O]);b=y;var S=n.get(E);x=b+(void 0===S?r:S),y=x,O===l&&void 0===S&&(v=!0)}var j=null;switch(m){case\"top\":j=b-h;break;case\"bottom\":j=x-p+h;break;default:var k=e.current.scrollTop,_=k+p;b<k?g=\"top\":x>_&&(g=\"bottom\")}null!==j&&j!==e.current.scrollTop&&a(j)}u.current=Object(oe[\"a\"])((function(){v&&i(),c(s-1,g)}))}};p(3)}}else c()}}function $g(e,t,n){var r,o,i=e.length,a=t.length;if(0===i&&0===a)return null;i<a?(r=e,o=t):(r=t,o=e);var c={__EMPTY_ITEM__:!0};function u(e){return void 0!==e?n(e):c}for(var s=null,l=1!==Math.abs(i-a),f=0;f<o.length;f+=1){var d=u(r[f]),h=u(o[f]);if(d!==h){s=f,l=l||d!==u(o[f+1]);break}}return null===s?null:{index:s,multiple:l}}function Qg(e,t,n){var r=j[\"useState\"](e),o=Object(F[\"a\"])(r,2),i=o[0],a=o[1],c=j[\"useState\"](null),u=Object(F[\"a\"])(c,2),s=u[0],l=u[1];return j[\"useEffect\"]((function(){var r=$g(i||[],e||[],t);void 0!==(null===r||void 0===r?void 0:r.index)&&(null===n||void 0===n||n(r.index),l(e[r.index])),a(e)}),[e]),[s]}var Jg=\"object\"===(\"undefined\"===typeof navigator?\"undefined\":Object(B[\"a\"])(navigator))&&/Firefox/i.test(navigator.userAgent),em=Jg,tm=function(e,t){var n=Object(j[\"useRef\"])(!1),r=Object(j[\"useRef\"])(null);function o(){clearTimeout(r.current),n.current=!0,r.current=setTimeout((function(){n.current=!1}),50)}var i=Object(j[\"useRef\"])({top:e,bottom:t});return i.current.top=e,i.current.bottom=t,function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=e<0&&i.current.top||e>0&&i.current.bottom;return t&&a?(clearTimeout(r.current),n.current=!1):a&&!n.current||o(),!n.current&&a}};function nm(e,t,n,r){var o=Object(j[\"useRef\"])(0),i=Object(j[\"useRef\"])(null),a=Object(j[\"useRef\"])(null),c=Object(j[\"useRef\"])(!1),u=tm(t,n);function s(t){if(e){oe[\"a\"].cancel(i.current);var n=t.deltaY;o.current+=n,a.current=n,u(n)||(em||t.preventDefault(),i.current=Object(oe[\"a\"])((function(){var e=c.current?10:1;r(o.current*e),o.current=0})))}}function l(t){e&&(c.current=t.detail===a.current)}return[s,l]}var rm=14/15;function om(e,t,n){var r,o=Object(j[\"useRef\"])(!1),i=Object(j[\"useRef\"])(0),a=Object(j[\"useRef\"])(null),c=Object(j[\"useRef\"])(null),u=function(e){if(o.current){var t=Math.ceil(e.touches[0].pageY),r=i.current-t;i.current=t,n(r)&&e.preventDefault(),clearInterval(c.current),c.current=setInterval((function(){r*=rm,(!n(r,!0)||Math.abs(r)<=.1)&&clearInterval(c.current)}),16)}},s=function(){o.current=!1,r()},l=function(e){r(),1!==e.touches.length||o.current||(o.current=!0,i.current=Math.ceil(e.touches[0].pageY),a.current=e.target,a.current.addEventListener(\"touchmove\",u),a.current.addEventListener(\"touchend\",s))};r=function(){a.current&&(a.current.removeEventListener(\"touchmove\",u),a.current.removeEventListener(\"touchend\",s))},Y((function(){return e&&t.current.addEventListener(\"touchstart\",l),function(){var e;null===(e=t.current)||void 0===e||e.removeEventListener(\"touchstart\",l),r(),clearInterval(c.current)}}),[e])}var im=[\"prefixCls\",\"className\",\"height\",\"itemHeight\",\"fullHeight\",\"style\",\"data\",\"children\",\"itemKey\",\"virtual\",\"component\",\"onScroll\",\"onVisibleChange\"],am=[],cm={overflowY:\"auto\",overflowAnchor:\"none\"};function um(e,t){var n=e.prefixCls,r=void 0===n?\"rc-virtual-list\":n,o=e.className,i=e.height,a=e.itemHeight,c=e.fullHeight,u=void 0===c||c,s=e.style,l=e.data,f=e.children,d=e.itemKey,h=e.virtual,p=e.component,v=void 0===p?\"div\":p,g=e.onScroll,m=e.onVisibleChange,y=Object(z[\"a\"])(e,im),b=!(!1===h||!i||!a),x=b&&l&&a*l.length>i,E=Object(j[\"useState\"])(0),k=Object(F[\"a\"])(E,2),_=k[0],C=k[1],M=Object(j[\"useState\"])(!1),A=Object(F[\"a\"])(M,2),N=A[0],T=A[1],I=R()(r,o),P=l||am,L=Object(j[\"useRef\"])(),D=Object(j[\"useRef\"])(),B=Object(j[\"useRef\"])(),U=j[\"useCallback\"]((function(e){return\"function\"===typeof d?d(e):null===e||void 0===e?void 0:e[d]}),[d]),G={getKey:U};function V(e){C((function(t){var n;n=\"function\"===typeof e?e(t):e;var r=se(n);return L.current.scrollTop=r,r}))}var W=Object(j[\"useRef\"])({start:0,end:P.length}),H=Object(j[\"useRef\"])(),X=Qg(P,U),q=Object(F[\"a\"])(X,1),K=q[0];H.current=K;var Z=Kg(U,null,null),$=Object(F[\"a\"])(Z,4),Q=$[0],J=$[1],ee=$[2],te=$[3],ne=j[\"useMemo\"]((function(){if(!b)return{scrollHeight:void 0,start:0,end:P.length-1,offset:void 0};var e;if(!x)return{scrollHeight:(null===(e=D.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:P.length-1,offset:void 0};for(var t,n,r,o=0,c=P.length,u=0;u<c;u+=1){var s=P[u],l=U(s),f=ee.get(l),d=o+(void 0===f?a:f);d>=_&&void 0===t&&(t=u,n=o),d>_+i&&void 0===r&&(r=u),o=d}return void 0===t&&(t=0,n=0,r=Math.ceil(i/a)),void 0===r&&(r=P.length-1),r=Math.min(r+1,P.length),{scrollHeight:o,start:t,end:r,offset:n}}),[x,b,_,P,te,i]),re=ne.scrollHeight,oe=ne.start,ie=ne.end,ae=ne.offset;W.current.start=oe,W.current.end=ie;var ce=re-i,ue=Object(j[\"useRef\"])(ce);function se(e){var t=e;return Number.isNaN(ue.current)||(t=Math.min(t,ue.current)),t=Math.max(t,0),t}ue.current=ce;var le=_<=0,fe=_>=ce,de=tm(le,fe);function he(e){var t=e;V(t)}function pe(e){var t=e.currentTarget.scrollTop;t!==_&&V(t),null===g||void 0===g||g(e)}var ve=nm(b,le,fe,(function(e){V((function(t){var n=t+e;return n}))})),ge=Object(F[\"a\"])(ve,2),me=ge[0],ye=ge[1];om(b,L,(function(e,t){return!de(e,t)&&(me({preventDefault:function(){},deltaY:e}),!0)})),Y((function(){function e(e){b&&e.preventDefault()}return L.current.addEventListener(\"wheel\",me),L.current.addEventListener(\"DOMMouseScroll\",ye),L.current.addEventListener(\"MozMousePixelScroll\",e),function(){L.current&&(L.current.removeEventListener(\"wheel\",me),L.current.removeEventListener(\"DOMMouseScroll\",ye),L.current.removeEventListener(\"MozMousePixelScroll\",e))}}),[b]);var be=Zg(L,P,ee,a,U,J,V,(function(){var e;null===(e=B.current)||void 0===e||e.delayHidden()}));j[\"useImperativeHandle\"](t,(function(){return{scrollTo:be}})),Y((function(){if(m){var e=P.slice(oe,ie+1);m(e,P)}}),[oe,ie,P]);var xe=Yg(P,oe,ie,Q,f,G),we=null;return i&&(we=Object(S[\"a\"])(Object(w[\"a\"])({},u?\"height\":\"maxHeight\",i),cm),b&&(we.overflowY=\"hidden\",N&&(we.pointerEvents=\"none\"))),j[\"createElement\"](\"div\",Object(O[\"a\"])({style:Object(S[\"a\"])(Object(S[\"a\"])({},s),{},{position:\"relative\"}),className:I},y),j[\"createElement\"](v,{className:\"\".concat(r,\"-holder\"),style:we,ref:L,onScroll:pe},j[\"createElement\"](Ug,{prefixCls:r,height:re,offset:ae,onInnerResize:J,ref:D},xe)),b&&j[\"createElement\"](Wg,{ref:B,prefixCls:r,scrollTop:_,height:i,scrollHeight:re,count:P.length,onScroll:he,onStartMove:function(){T(!0)},onStopMove:function(){T(!1)}}))}var sm=j[\"forwardRef\"](um);sm.displayName=\"List\";var lm=sm,fm=lm;function dm(){return/(mac\\sos|macintosh)/i.test(navigator.appVersion)}var hm=j[\"createContext\"](null),pm=hm,vm=[\"disabled\",\"title\",\"children\",\"style\",\"className\"];function gm(e){return\"string\"===typeof e||\"number\"===typeof e}var mm=function(e,t){var n=Lv(),r=n.prefixCls,o=n.id,i=n.open,a=n.multiple,c=n.mode,u=n.searchValue,s=n.toggleOpen,l=n.notFoundContent,f=n.onPopupScroll,d=j[\"useContext\"](pm),h=d.flattenOptions,p=d.onActiveValue,v=d.defaultActiveFirstOption,g=d.onSelect,m=d.menuItemSelectedIcon,y=d.rawValues,b=d.fieldNames,x=d.virtual,E=d.listHeight,S=d.listItemHeight,k=\"\".concat(r,\"-item\"),_=Object(at[\"a\"])((function(){return h}),[i,h],(function(e,t){return t[0]&&e[1]!==t[1]})),C=j[\"useRef\"](null),M=function(e){e.preventDefault()},A=function(e){C.current&&C.current.scrollTo(\"number\"===typeof e?{index:e}:e)},N=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=_.length,r=0;r<n;r+=1){var o=(e+r*t+n)%n,i=_[o],a=i.group,c=i.data;if(!a&&!c.disabled)return o}return-1},T=j[\"useState\"]((function(){return N(0)})),I=Object(F[\"a\"])(T,2),P=I[0],L=I[1],D=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];L(e);var n={source:t?\"keyboard\":\"mouse\"},r=_[e];r?p(r.value,e,n):p(null,-1,n)};Object(j[\"useEffect\"])((function(){D(!1!==v?N(0):-1)}),[_.length,u]);var B=j[\"useCallback\"]((function(e){return y.has(e)&&\"combobox\"!==c}),[c,Object(re[\"a\"])(y).toString(),y.size]);Object(j[\"useEffect\"])((function(){var e,t=setTimeout((function(){if(!a&&i&&1===y.size){var e=Array.from(y)[0],t=_.findIndex((function(t){var n=t.data;return n.value===e}));-1!==t&&(D(t),A(t))}}));i&&(null===(e=C.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(t)}}),[i,u]);var U=function(e){void 0!==e&&g(e,{selected:!y.has(e)}),a||s(!1)};if(j[\"useImperativeHandle\"](t,(function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case Me.N:case Me.P:case Me.UP:case Me.DOWN:var r=0;if(t===Me.UP?r=-1:t===Me.DOWN?r=1:dm()&&n&&(t===Me.N?r=1:t===Me.P&&(r=-1)),0!==r){var o=N(P+r,r);A(o),D(o,!0)}break;case Me.ENTER:var a=_[P];a&&!a.data.disabled?U(a.value):U(void 0),i&&e.preventDefault();break;case Me.ESC:s(!1),i&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){A(e)}}})),0===_.length)return j[\"createElement\"](\"div\",{role:\"listbox\",id:\"\".concat(o,\"_list\"),className:\"\".concat(k,\"-empty\"),onMouseDown:M},l);var G=Object.keys(b).map((function(e){return b[e]})),V=function(e){return e.label},W=function(e){var t=_[e];if(!t)return null;var n=t.data||{},r=n.value,i=t.group,a=qd(n,!0),c=V(t);return t?j[\"createElement\"](\"div\",Object(O[\"a\"])({\"aria-label\":\"string\"!==typeof c||i?null:c},a,{key:e,role:i?\"presentation\":\"option\",id:\"\".concat(o,\"_list_\").concat(e),\"aria-selected\":B(r)}),r):null};return j[\"createElement\"](j[\"Fragment\"],null,j[\"createElement\"](\"div\",{role:\"listbox\",id:\"\".concat(o,\"_list\"),style:{height:0,width:0,overflow:\"hidden\"}},W(P-1),W(P),W(P+1)),j[\"createElement\"](fm,{itemKey:\"key\",ref:C,data:_,height:E,itemHeight:S,fullHeight:!1,onMouseDown:M,onScroll:f,virtual:x},(function(e,t){var n,r=e.group,o=e.groupOption,i=e.data,a=e.label,c=e.value,u=i.key;if(r){var s,l=null!==(s=i.title)&&void 0!==s?s:gm(a)?a.toString():void 0;return j[\"createElement\"](\"div\",{className:R()(k,\"\".concat(k,\"-group\")),title:l},void 0!==a?a:u)}var f=i.disabled,d=i.title,h=(i.children,i.style),p=i.className,v=Object(z[\"a\"])(i,vm),g=it(v,G),y=B(c),b=\"\".concat(k,\"-option\"),x=R()(k,b,p,(n={},Object(w[\"a\"])(n,\"\".concat(b,\"-grouped\"),o),Object(w[\"a\"])(n,\"\".concat(b,\"-active\"),P===t&&!f),Object(w[\"a\"])(n,\"\".concat(b,\"-disabled\"),f),Object(w[\"a\"])(n,\"\".concat(b,\"-selected\"),y),n)),E=V(e),S=!m||\"function\"===typeof m||y,_=\"number\"===typeof E?E:E||c,C=gm(_)?_.toString():void 0;return void 0!==d&&(C=d),j[\"createElement\"](\"div\",Object(O[\"a\"])({},qd(g),{\"aria-selected\":y,className:x,title:C,onMouseMove:function(){P===t||f||D(t)},onClick:function(){f||U(c)},style:h}),j[\"createElement\"](\"div\",{className:\"\".concat(b,\"-content\")},_),j[\"isValidElement\"](m)||y,S&&j[\"createElement\"](zv,{className:\"\".concat(k,\"-option-state\"),customizeIcon:m,customizeIconProps:{isSelected:y}},y?\"\\u2713\":null))})))},ym=j[\"forwardRef\"](mm);ym.displayName=\"OptionList\";var bm=ym;var xm=[\"id\",\"mode\",\"prefixCls\",\"backfill\",\"fieldNames\",\"inputValue\",\"searchValue\",\"onSearch\",\"autoClearSearchValue\",\"onSelect\",\"onDeselect\",\"dropdownMatchSelectWidth\",\"filterOption\",\"filterSort\",\"optionFilterProp\",\"optionLabelProp\",\"options\",\"children\",\"defaultActiveFirstOption\",\"menuItemSelectedIcon\",\"virtual\",\"listHeight\",\"listItemHeight\",\"value\",\"defaultValue\",\"labelInValue\",\"onChange\"],wm=[\"inputValue\"];function Om(e){return!e||\"object\"!==Object(B[\"a\"])(e)}var Em=j[\"forwardRef\"]((function(e,t){var n=e.id,r=e.mode,o=e.prefixCls,i=void 0===o?\"rc-select\":o,a=e.backfill,c=e.fieldNames,u=e.inputValue,s=e.searchValue,l=e.onSearch,f=e.autoClearSearchValue,d=void 0===f||f,h=e.onSelect,p=e.onDeselect,v=e.dropdownMatchSelectWidth,g=void 0===v||v,m=e.filterOption,y=e.filterSort,b=e.optionFilterProp,x=e.optionLabelProp,E=e.options,k=e.children,_=e.defaultActiveFirstOption,C=e.menuItemSelectedIcon,M=e.virtual,A=e.listHeight,N=void 0===A?200:A,T=e.listItemHeight,I=void 0===T?20:T,P=e.value,L=e.defaultValue,D=e.labelInValue,R=e.onChange,B=Object(z[\"a\"])(e,xm),U=Mg(n),G=xg(r),V=!(E||!k),W=j[\"useMemo\"]((function(){return(void 0!==m||\"combobox\"!==r)&&m}),[m,r]),H=j[\"useMemo\"]((function(){return pg(c,V)}),[JSON.stringify(c),V]),Y=Z(\"\",{value:void 0!==s?s:u,postState:function(e){return e||\"\"}}),X=Object(F[\"a\"])(Y,2),q=X[0],K=X[1],$=Pg(E,k,H,b,x),Q=$.valueOptions,J=$.labelOptions,ee=$.options,te=j[\"useCallback\"]((function(e){var t=Wv(e);return t.map((function(e){var t,n,r,o,i,a;Om(e)?t=e:(r=e.key,n=e.label,t=null!==(a=e.value)&&void 0!==a?a:r);var c,u=Q.get(t);u&&(void 0===n&&(n=null===u||void 0===u?void 0:u[x||H.label]),void 0===r&&(r=null!==(c=null===u||void 0===u?void 0:u.key)&&void 0!==c?c:t),o=null===u||void 0===u?void 0:u.disabled,i=null===u||void 0===u?void 0:u.title);return{label:n,value:t,key:r,disabled:o,title:i}}))}),[H,x,Q]),ne=Z(L,{value:P}),oe=Object(F[\"a\"])(ne,2),ie=oe[0],ae=oe[1],ce=j[\"useMemo\"]((function(){var e,t=te(ie);return\"combobox\"!==r||null!==(e=t[0])&&void 0!==e&&e.value?t:[]}),[ie,te,r]),ue=Eg(ce,Q),se=Object(F[\"a\"])(ue,2),le=se[0],fe=se[1],de=j[\"useMemo\"]((function(){if(!r&&1===le.length){var e=le[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return le.map((function(e){var t;return Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{label:null!==(t=e.label)&&void 0!==t?t:e.value})}))}),[r,le]),he=j[\"useMemo\"]((function(){return new Set(le.map((function(e){return e.value})))}),[le]);j[\"useEffect\"]((function(){if(\"combobox\"===r){var e,t=null===(e=le[0])||void 0===e?void 0:e.value;K(Xv(t)?String(t):\"\")}}),[le]);var pe=Lg((function(e,t){var n,r=null!==t&&void 0!==t?t:e;return n={},Object(w[\"a\"])(n,H.value,e),Object(w[\"a\"])(n,H.label,r),n})),ve=j[\"useMemo\"]((function(){if(\"tags\"!==r)return ee;var e=Object(re[\"a\"])(ee),t=function(e){return Q.has(e)};return Object(re[\"a\"])(le).sort((function(e,t){return e.value<t.value?-1:1})).forEach((function(n){var r=n.value;t(r)||e.push(pe(r,n.label))})),e}),[pe,ee,Q,le,r]),ge=jg(ve,H,q,W,b),me=j[\"useMemo\"]((function(){return\"tags\"!==r||!q||ge.some((function(e){return e[b||\"value\"]===q}))?ge:[pe(q)].concat(Object(re[\"a\"])(ge))}),[pe,b,r,ge,q]),ye=j[\"useMemo\"]((function(){return y?Object(re[\"a\"])(me).sort((function(e,t){return y(e,t)})):me}),[me,y]),be=j[\"useMemo\"]((function(){return vg(ye,{fieldNames:H,childrenAsData:V})}),[ye,H,V]),xe=function(e){var t=te(e);if(ae(t),R&&(t.length!==le.length||t.some((function(e,t){var n;return(null===(n=le[t])||void 0===n?void 0:n.value)!==(null===e||void 0===e?void 0:e.value)})))){var n=D?t:t.map((function(e){return e.value})),r=t.map((function(e){return gg(fe(e.value))}));R(G?n:n[0],G?r:r[0])}},we=j[\"useState\"](null),Oe=Object(F[\"a\"])(we,2),Ee=Oe[0],Se=Oe[1],je=j[\"useState\"](0),ke=Object(F[\"a\"])(je,2),_e=ke[0],Ce=ke[1],Me=void 0!==_?_:\"combobox\"!==r,Ae=j[\"useCallback\"]((function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.source,i=void 0===o?\"keyboard\":o;Ce(t),a&&\"combobox\"===r&&null!==e&&\"keyboard\"===i&&Se(String(e))}),[a,r]),Ne=function(e,t,n){var r=function(){var t,n=fe(e);return[D?{label:null===n||void 0===n?void 0:n[H.label],value:e,key:null!==(t=null===n||void 0===n?void 0:n.key)&&void 0!==t?t:e}:e,gg(n)]};if(t&&h){var o=r(),i=Object(F[\"a\"])(o,2),a=i[0],c=i[1];h(a,c)}else if(!t&&p&&\"clear\"!==n){var u=r(),s=Object(F[\"a\"])(u,2),l=s[0],f=s[1];p(l,f)}},Te=Lg((function(e,t){var n,o=!G||t.selected;n=o?G?[].concat(Object(re[\"a\"])(le),[e]):[e]:le.filter((function(t){return t.value!==e})),xe(n),Ne(e,o),\"combobox\"===r?Se(\"\"):xg&&!d||(K(\"\"),Se(\"\"))})),Ie=function(e,t){xe(e);var n=t.type,r=t.values;\"remove\"!==n&&\"clear\"!==n||r.forEach((function(e){Ne(e.value,!1,n)}))},Pe=function(e,t){if(K(e),Se(null),\"submit\"!==t.source)\"blur\"!==t.source&&(\"combobox\"===r&&xe(e),null===l||void 0===l||l(e));else{var n=(e||\"\").trim();if(n){var o=Array.from(new Set([].concat(Object(re[\"a\"])(he),[n])));xe(o),Ne(n,!0),K(\"\")}}},Le=function(e){var t=e;\"tags\"!==r&&(t=e.map((function(e){var t=J.get(e);return null===t||void 0===t?void 0:t.value})).filter((function(e){return void 0!==e})));var n=Array.from(new Set([].concat(Object(re[\"a\"])(he),Object(re[\"a\"])(t))));xe(n),n.forEach((function(e){Ne(e,!0)}))},De=j[\"useMemo\"]((function(){var e=!1!==M&&!1!==g;return Object(S[\"a\"])(Object(S[\"a\"])({},$),{},{flattenOptions:be,onActiveValue:Ae,defaultActiveFirstOption:Me,onSelect:Te,menuItemSelectedIcon:C,rawValues:he,fieldNames:H,virtual:e,listHeight:N,listItemHeight:I,childrenAsData:V})}),[$,be,Ae,Me,Te,C,he,H,M,g,N,I,V]);return j[\"createElement\"](pm.Provider,{value:De},j[\"createElement\"](Og,Object(O[\"a\"])({},B,{id:U,prefixCls:i,ref:t,omitDomProps:wm,mode:r,displayValues:de,onDisplayValuesChange:Ie,searchValue:q,onSearch:Pe,autoClearSearchValue:d,onSearchSplit:Le,dropdownMatchSelectWidth:g,OptionList:bm,emptyOptions:!be.length,activeValue:Ee,activeDescendantId:\"\".concat(U,\"_list_\").concat(_e)})))}));var Sm=Em;Sm.Option=Bg,Sm.OptGroup=Rg;var jm=Sm,km=jm,_m={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z\"}}]},name:\"check\",theme:\"outlined\"},Cm=_m,Mm=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:Cm}))};Mm.displayName=\"CheckOutlined\";var Am=j[\"forwardRef\"](Mm);function Nm(e){var t=e.suffixIcon,n=e.clearIcon,r=e.menuItemSelectedIcon,o=e.removeIcon,i=e.loading,a=e.multiple,c=e.hasFeedback,u=e.prefixCls,s=e.showArrow,l=e.feedbackIcon,f=null!==n&&void 0!==n?n:j[\"createElement\"](Ra[\"a\"],null),d=function(e){return j[\"createElement\"](j[\"Fragment\"],null,!1!==s&&e,c&&l)},h=null;if(void 0!==t)h=d(t);else if(i)h=d(j[\"createElement\"](Wc[\"a\"],{spin:!0}));else{var p=\"\".concat(u,\"-suffix\");h=function(e){var t=e.open,n=e.showSearch;return d(t&&n?j[\"createElement\"](Ac,{className:p}):j[\"createElement\"](Ld,{className:p}))}}var v=null;v=void 0!==r?r:a?j[\"createElement\"](Am,null):null;var g=null;return g=void 0!==o?o:j[\"createElement\"](E[\"a\"],null),{clearIcon:f,suffixIcon:h,itemIcon:v,removeIcon:g}}var Tm=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Im=\"SECRET_COMBOBOX_MODE_DO_NOT_USE\",Pm=function(e,t){var n,r,o=e.prefixCls,i=e.bordered,a=void 0===i||i,c=e.className,u=e.getPopupContainer,s=e.dropdownClassName,l=e.popupClassName,f=e.listHeight,d=void 0===f?256:f,h=e.placement,p=e.listItemHeight,v=void 0===p?24:p,g=e.size,m=e.disabled,y=e.notFoundContent,b=e.status,x=e.showArrow,E=Tm(e,[\"prefixCls\",\"bordered\",\"className\",\"getPopupContainer\",\"dropdownClassName\",\"popupClassName\",\"listHeight\",\"placement\",\"listItemHeight\",\"size\",\"disabled\",\"notFoundContent\",\"status\",\"showArrow\"]),S=j[\"useContext\"](Ri[\"b\"]),k=S.getPopupContainer,_=S.getPrefixCls,C=S.renderEmpty,M=S.direction,A=S.virtual,N=S.dropdownMatchSelectWidth,T=j[\"useContext\"](Fi[\"b\"]),I=_(\"select\",o),P=_(),L=Qa(I,M),D=L.compactSize,F=L.compactItemClassnames,B=j[\"useMemo\"]((function(){var e=E.mode;if(\"combobox\"!==e)return e===Im?\"combobox\":e}),[E.mode]),z=\"multiple\"===B||\"tags\"===B,U=void 0!==x?x:E.loading||!(z||\"combobox\"===B),G=Object(j[\"useContext\"])(Ia),V=G.status,W=G.hasFeedback,H=G.isFormItemInput,Y=G.feedbackIcon,X=oc(V,b);r=void 0!==y?y:\"combobox\"===B?null:(C||Jp)(\"Select\");var q=Nm(Object(O[\"a\"])(Object(O[\"a\"])({},E),{multiple:z,hasFeedback:W,feedbackIcon:Y,showArrow:U,prefixCls:I})),K=q.suffixIcon,Z=q.itemIcon,$=q.removeIcon,Q=q.clearIcon,J=it(E,[\"suffixIcon\",\"itemIcon\"]),ee=R()(l||s,Object(w[\"a\"])({},\"\".concat(I,\"-dropdown-\").concat(M),\"rtl\"===M)),te=D||g||T,ne=j[\"useContext\"](Ka[\"b\"]),re=null!==m&&void 0!==m?m:ne,oe=R()((n={},Object(w[\"a\"])(n,\"\".concat(I,\"-lg\"),\"large\"===te),Object(w[\"a\"])(n,\"\".concat(I,\"-sm\"),\"small\"===te),Object(w[\"a\"])(n,\"\".concat(I,\"-rtl\"),\"rtl\"===M),Object(w[\"a\"])(n,\"\".concat(I,\"-borderless\"),!a),Object(w[\"a\"])(n,\"\".concat(I,\"-in-form-item\"),H),n),rc(I,X,W),F,c),ie=function(){return void 0!==h?h:\"rtl\"===M?\"bottomRight\":\"bottomLeft\"};return j[\"createElement\"](km,Object(O[\"a\"])({ref:t,virtual:A,dropdownMatchSelectWidth:N},J,{transitionName:Yi(P,Hi(h),E.transitionName),listHeight:d,listItemHeight:v,mode:B,prefixCls:I,placement:ie(),direction:M,inputIcon:K,menuItemSelectedIcon:Z,removeIcon:$,clearIcon:Q,notFoundContent:r,className:oe,getPopupContainer:u||k,dropdownClassName:ee,showArrow:W||x,disabled:re}))},Lm=j[\"forwardRef\"](Pm);Lm.SECRET_COMBOBOX_MODE_DO_NOT_USE=Im,Lm.Option=Bg,Lm.OptGroup=Rg;var Dm=Lm,Rm=function(e){return j[\"createElement\"](Dm,Object(O[\"a\"])({},e,{size:\"small\"}))},Fm=function(e){return j[\"createElement\"](Dm,Object(O[\"a\"])({},e,{size:\"middle\"}))};Rm.Option=Dm.Option,Fm.Option=Dm.Option;var Bm=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},zm=function(e){var t=e.prefixCls,n=e.selectPrefixCls,r=e.className,o=e.size,i=e.locale,a=e.selectComponentClass,c=e.responsive,u=e.showSizeChanger,s=Bm(e,[\"prefixCls\",\"selectPrefixCls\",\"className\",\"size\",\"locale\",\"selectComponentClass\",\"responsive\",\"showSizeChanger\"]),l=nv(c),f=l.xs,d=j[\"useContext\"](Ri[\"b\"]),h=d.getPrefixCls,p=d.direction,v=d.pagination,g=void 0===v?{}:v,m=h(\"pagination\",t),y=null!==u&&void 0!==u?u:g.showSizeChanger,b=function(){var e=j[\"createElement\"](\"span\",{className:\"\".concat(m,\"-item-ellipsis\")},\"\\u2022\\u2022\\u2022\"),t=j[\"createElement\"](\"button\",{className:\"\".concat(m,\"-item-link\"),type:\"button\",tabIndex:-1},j[\"createElement\"](gv,null)),n=j[\"createElement\"](\"button\",{className:\"\".concat(m,\"-item-link\"),type:\"button\",tabIndex:-1},j[\"createElement\"](xv,null)),r=j[\"createElement\"](\"a\",{className:\"\".concat(m,\"-item-link\")},j[\"createElement\"](\"div\",{className:\"\".concat(m,\"-item-container\")},j[\"createElement\"](uv,{className:\"\".concat(m,\"-item-link-icon\")}),e)),o=j[\"createElement\"](\"a\",{className:\"\".concat(m,\"-item-link\")},j[\"createElement\"](\"div\",{className:\"\".concat(m,\"-item-container\")},j[\"createElement\"](dv,{className:\"\".concat(m,\"-item-link-icon\")}),e));if(\"rtl\"===p){var i=[n,t];t=i[0],n=i[1];var a=[o,r];r=a[0],o=a[1]}return{prevIcon:t,nextIcon:n,jumpPrevIcon:r,jumpNextIcon:o}};return j[\"createElement\"](Gp[\"a\"],{componentName:\"Pagination\",defaultLocale:Iv[\"a\"]},(function(e){var t,u=Object(O[\"a\"])(Object(O[\"a\"])({},e),i),l=\"small\"===o||!(!f||o||!c),d=h(\"select\",n),v=R()((t={},Object(w[\"a\"])(t,\"\".concat(m,\"-mini\"),l),Object(w[\"a\"])(t,\"\".concat(m,\"-rtl\"),\"rtl\"===p),t),r);return j[\"createElement\"](Tv,Object(O[\"a\"])({},b(),s,{prefixCls:m,selectPrefixCls:d,className:v,selectComponentClass:a||(l?Rm:Fm),locale:u,showSizeChanger:y}))}))},Um=zm,Gm=Um,Vm=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Wm=(Bi(\"small\",\"default\",\"large\"),null);function Hm(e,t){var n=t.indicator,r=\"\".concat(e,\"-dot\");return null===n?null:wa(n)?Sa(n,{className:R()(n.props.className,r)}):wa(Wm)?Sa(Wm,{className:R()(Wm.props.className,r)}):j[\"createElement\"](\"span\",{className:R()(r,\"\".concat(e,\"-dot-spin\"))},j[\"createElement\"](\"i\",{className:\"\".concat(e,\"-dot-item\")}),j[\"createElement\"](\"i\",{className:\"\".concat(e,\"-dot-item\")}),j[\"createElement\"](\"i\",{className:\"\".concat(e,\"-dot-item\")}),j[\"createElement\"](\"i\",{className:\"\".concat(e,\"-dot-item\")}))}function Ym(e,t){return!!e&&!!t&&!isNaN(Number(t))}var Xm=function(e){var t=e.spinPrefixCls,n=e.spinning,r=void 0===n||n,o=e.delay,i=e.className,a=e.size,c=void 0===a?\"default\":a,u=e.tip,s=e.wrapperClassName,l=e.style,f=e.children,d=Vm(e,[\"spinPrefixCls\",\"spinning\",\"delay\",\"className\",\"size\",\"tip\",\"wrapperClassName\",\"style\",\"children\"]),h=j[\"useState\"]((function(){return r&&!Ym(r,o)})),p=Object(F[\"a\"])(h,2),v=p[0],g=p[1];j[\"useEffect\"]((function(){var e=ps()((function(){g(r)}),o);return e(),function(){var t;null===(t=null===e||void 0===e?void 0:e.cancel)||void 0===t||t.call(e)}}),[o,r]);var m=function(){return\"undefined\"!==typeof f},y=function(n){var r,o=n.direction,a=R()(t,(r={},Object(w[\"a\"])(r,\"\".concat(t,\"-sm\"),\"small\"===c),Object(w[\"a\"])(r,\"\".concat(t,\"-lg\"),\"large\"===c),Object(w[\"a\"])(r,\"\".concat(t,\"-spinning\"),v),Object(w[\"a\"])(r,\"\".concat(t,\"-show-text\"),!!u),Object(w[\"a\"])(r,\"\".concat(t,\"-rtl\"),\"rtl\"===o),r),i),h=it(d,[\"indicator\",\"prefixCls\"]),p=j[\"createElement\"](\"div\",Object(O[\"a\"])({},h,{style:l,className:a,\"aria-live\":\"polite\",\"aria-busy\":v}),Hm(t,e),u?j[\"createElement\"](\"div\",{className:\"\".concat(t,\"-text\")},u):null);if(m()){var g=R()(\"\".concat(t,\"-container\"),Object(w[\"a\"])({},\"\".concat(t,\"-blur\"),v));return j[\"createElement\"](\"div\",Object(O[\"a\"])({},h,{className:R()(\"\".concat(t,\"-nested-loading\"),s)}),v&&j[\"createElement\"](\"div\",{key:\"loading\"},p),j[\"createElement\"](\"div\",{className:g,key:\"container\"},f))}return p};return j[\"createElement\"](Ri[\"a\"],null,y)},qm=function(e){var t=e.prefixCls,n=j[\"useContext\"](Ri[\"b\"]),r=n.getPrefixCls,o=r(\"spin\",t),i=Object(O[\"a\"])(Object(O[\"a\"])({},e),{spinPrefixCls:o});return j[\"createElement\"](Xm,Object(O[\"a\"])({},i))};qm.setDefaultIndicator=function(e){Wm=e};var Km=qm;function Zm(e,t,n,r){var o=n-t;return e/=r/2,e<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}function $m(e){return null!==e&&void 0!==e&&e===e.window}function Qm(e,t){var n,r;if(\"undefined\"===typeof window)return 0;var o=t?\"scrollTop\":\"scrollLeft\",i=0;return $m(e)?i=e[t?\"pageYOffset\":\"pageXOffset\"]:e instanceof Document?i=e.documentElement[o]:(e instanceof HTMLElement||e)&&(i=e[o]),e&&!$m(e)&&\"number\"!==typeof i&&(i=null===(r=(null!==(n=e.ownerDocument)&&void 0!==n?n:e).documentElement)||void 0===r?void 0:r[o]),i}function Jm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,r=void 0===n?function(){return window}:n,o=t.callback,i=t.duration,a=void 0===i?450:i,c=r(),u=Qm(c,!0),s=Date.now(),l=function t(){var n=Date.now(),r=n-s,i=Zm(r>a?a:r,u,e,a);$m(c)?c.scrollTo(window.pageXOffset,i):c instanceof Document||\"HTMLDocument\"===c.constructor.name?c.documentElement.scrollTop=i:c.scrollTop=i,r<a?Object(oe[\"a\"])(t):\"function\"===typeof o&&o()};Object(oe[\"a\"])(l)}function ey(e){return null}var ty=ey;function ny(e){return null}var ry=ny;function oy(e){return function(t){var n,r=t.prefixCls,o=t.onExpand,i=t.record,a=t.expanded,c=t.expandable,u=\"\".concat(r,\"-row-expand-icon\");return j[\"createElement\"](\"button\",{type:\"button\",onClick:function(e){o(i,e),e.stopPropagation()},className:R()(u,(n={},Object(w[\"a\"])(n,\"\".concat(u,\"-spaced\"),!c),Object(w[\"a\"])(n,\"\".concat(u,\"-expanded\"),c&&a),Object(w[\"a\"])(n,\"\".concat(u,\"-collapsed\"),c&&!a),n)),\"aria-label\":a?e.collapse:e.expand,\"aria-expanded\":a})}}var iy=oy;function ay(e,t){return\"key\"in e&&void 0!==e.key&&null!==e.key?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join(\".\"):e.dataIndex:t}function cy(e,t){return t?\"\".concat(t,\"-\").concat(e):\"\".concat(e)}function uy(e,t){return\"function\"===typeof e?e(t):e}function sy(e,t){var n=uy(e,t);return\"[object Object]\"===Object.prototype.toString.call(n)?\"\":n}var ly={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z\"}}]},name:\"filter\",theme:\"filled\"},fy=ly,dy=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:fy}))};dy.displayName=\"FilterFilled\";var hy=j[\"forwardRef\"](dy),py=function(e){Object(me[\"a\"])(n,e);var t=Object(ye[\"a\"])(n);function n(e){var r;Object(ve[\"a\"])(this,n),r=t.call(this,e),r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||(\"checked\"in r.props||r.setState({checked:e.target.checked}),o&&o({target:Object(S[\"a\"])(Object(S[\"a\"])({},r.props),{},{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o=\"checked\"in e?e.checked:e.defaultChecked;return r.state={checked:o},r}return Object(ge[\"a\"])(n,[{key:\"focus\",value:function(){this.input.focus()}},{key:\"blur\",value:function(){this.input.blur()}},{key:\"render\",value:function(){var e,t=this.props,n=t.prefixCls,r=t.className,o=t.style,i=t.name,a=t.id,c=t.type,u=t.disabled,s=t.readOnly,l=t.tabIndex,f=t.onClick,d=t.onFocus,h=t.onBlur,p=t.onKeyDown,v=t.onKeyPress,g=t.onKeyUp,m=t.autoFocus,y=t.value,b=t.required,x=Object(z[\"a\"])(t,[\"prefixCls\",\"className\",\"style\",\"name\",\"id\",\"type\",\"disabled\",\"readOnly\",\"tabIndex\",\"onClick\",\"onFocus\",\"onBlur\",\"onKeyDown\",\"onKeyPress\",\"onKeyUp\",\"autoFocus\",\"value\",\"required\"]),E=Object.keys(x).reduce((function(e,t){return\"aria-\"!==t.substr(0,5)&&\"data-\"!==t.substr(0,5)&&\"role\"!==t||(e[t]=x[t]),e}),{}),S=this.state.checked,j=R()(n,r,(e={},Object(w[\"a\"])(e,\"\".concat(n,\"-checked\"),S),Object(w[\"a\"])(e,\"\".concat(n,\"-disabled\"),u),e));return k.a.createElement(\"span\",{className:j,style:o},k.a.createElement(\"input\",Object(O[\"a\"])({name:i,id:a,type:c,required:b,readOnly:s,disabled:u,tabIndex:l,className:\"\".concat(n,\"-input\"),checked:!!S,onClick:f,onFocus:d,onBlur:h,onKeyUp:g,onKeyDown:p,onKeyPress:v,onChange:this.handleChange,autoFocus:m,ref:this.saveInput,value:y},E)),k.a.createElement(\"span\",{className:\"\".concat(n,\"-inner\")}))}}],[{key:\"getDerivedStateFromProps\",value:function(e,t){return\"checked\"in e?Object(S[\"a\"])(Object(S[\"a\"])({},t),{},{checked:e.checked}):null}}]),n}(j[\"Component\"]);py.defaultProps={prefixCls:\"rc-checkbox\",className:\"\",style:{},type:\"checkbox\",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}};var vy=py,gy=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},my=j[\"createContext\"](null),yy=function(e,t){var n=e.defaultValue,r=e.children,o=e.options,i=void 0===o?[]:o,a=e.prefixCls,c=e.className,u=e.style,s=e.onChange,l=gy(e,[\"defaultValue\",\"children\",\"options\",\"prefixCls\",\"className\",\"style\",\"onChange\"]),f=j[\"useContext\"](Ri[\"b\"]),d=f.getPrefixCls,h=f.direction,p=j[\"useState\"](l.value||n||[]),v=Object(F[\"a\"])(p,2),g=v[0],m=v[1],y=j[\"useState\"]([]),b=Object(F[\"a\"])(y,2),x=b[0],E=b[1];j[\"useEffect\"]((function(){\"value\"in l&&m(l.value||[])}),[l.value]);var S=function(){return i.map((function(e){return\"string\"===typeof e||\"number\"===typeof e?{label:e,value:e}:e}))},k=function(e){E((function(t){return t.filter((function(t){return t!==e}))}))},_=function(e){E((function(t){return[].concat(Object(re[\"a\"])(t),[e])}))},C=function(e){var t=g.indexOf(e.value),n=Object(re[\"a\"])(g);-1===t?n.push(e.value):n.splice(t,1),\"value\"in l||m(n);var r=S();null===s||void 0===s||s(n.filter((function(e){return x.includes(e)})).sort((function(e,t){var n=r.findIndex((function(t){return t.value===e})),o=r.findIndex((function(e){return e.value===t}));return n-o})))},M=d(\"checkbox\",a),A=\"\".concat(M,\"-group\"),N=it(l,[\"value\",\"disabled\"]);i&&i.length>0&&(r=S().map((function(e){return j[\"createElement\"](Sy,{prefixCls:M,key:e.value.toString(),disabled:\"disabled\"in e?e.disabled:l.disabled,value:e.value,checked:g.includes(e.value),onChange:e.onChange,className:\"\".concat(A,\"-item\"),style:e.style},e.label)})));var T={toggleOption:C,value:g,disabled:l.disabled,name:l.name,registerValue:_,cancelValue:k},I=R()(A,Object(w[\"a\"])({},\"\".concat(A,\"-rtl\"),\"rtl\"===h),c);return j[\"createElement\"](\"div\",Object(O[\"a\"])({className:I,style:u},N,{ref:t}),j[\"createElement\"](my.Provider,{value:T},r))},by=j[\"forwardRef\"](yy),xy=j[\"memo\"](by),wy=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Oy=function(e,t){var n,r,o=e.prefixCls,i=e.className,a=e.children,c=e.indeterminate,u=void 0!==c&&c,s=e.style,l=e.onMouseEnter,f=e.onMouseLeave,d=e.skipGroup,h=void 0!==d&&d,p=e.disabled,v=wy(e,[\"prefixCls\",\"className\",\"children\",\"indeterminate\",\"style\",\"onMouseEnter\",\"onMouseLeave\",\"skipGroup\",\"disabled\"]),g=j[\"useContext\"](Ri[\"b\"]),m=g.getPrefixCls,y=g.direction,b=j[\"useContext\"](my),x=Object(j[\"useContext\"])(Ia),E=x.isFormItemInput,S=Object(j[\"useContext\"])(Ka[\"b\"]),k=null!==(r=(null===b||void 0===b?void 0:b.disabled)||p)&&void 0!==r?r:S,_=j[\"useRef\"](v.value);j[\"useEffect\"]((function(){null===b||void 0===b||b.registerValue(v.value)}),[]),j[\"useEffect\"]((function(){if(!h)return v.value!==_.current&&(null===b||void 0===b||b.cancelValue(_.current),null===b||void 0===b||b.registerValue(v.value),_.current=v.value),function(){return null===b||void 0===b?void 0:b.cancelValue(v.value)}}),[v.value]);var C=m(\"checkbox\",o),M=Object(O[\"a\"])({},v);b&&!h&&(M.onChange=function(){v.onChange&&v.onChange.apply(v,arguments),b.toggleOption&&b.toggleOption({label:a,value:v.value})},M.name=b.name,M.checked=b.value.includes(v.value));var A=R()((n={},Object(w[\"a\"])(n,\"\".concat(C,\"-wrapper\"),!0),Object(w[\"a\"])(n,\"\".concat(C,\"-rtl\"),\"rtl\"===y),Object(w[\"a\"])(n,\"\".concat(C,\"-wrapper-checked\"),M.checked),Object(w[\"a\"])(n,\"\".concat(C,\"-wrapper-disabled\"),k),Object(w[\"a\"])(n,\"\".concat(C,\"-wrapper-in-form-item\"),E),n),i),N=R()(Object(w[\"a\"])({},\"\".concat(C,\"-indeterminate\"),u)),T=u?\"mixed\":void 0;return j[\"createElement\"](\"label\",{className:A,style:s,onMouseEnter:l,onMouseLeave:f},j[\"createElement\"](vy,Object(O[\"a\"])({\"aria-checked\":T},M,{prefixCls:C,className:N,disabled:k,ref:t})),void 0!==a&&j[\"createElement\"](\"span\",null,a))},Ey=j[\"forwardRef\"](Oy);var Sy=Ey,jy=Sy;jy.Group=xy,jy.__ANT_CHECKBOX=!0;var ky=jy,_y={icon:{tag:\"svg\",attrs:{viewBox:\"0 0 1024 1024\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z\"}}]},name:\"bars\",theme:\"outlined\"},Cy=_y,My=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:Cy}))};My.displayName=\"BarsOutlined\";var Ay=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Ny=j[\"createContext\"]({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function Ty(e){var t=e.suffixCls,n=e.tagName;e.displayName;return function(e){var r=j[\"forwardRef\"]((function(r,o){var i=j[\"useContext\"](Ri[\"b\"]),a=i.getPrefixCls,c=r.prefixCls,u=a(t,c);return j[\"createElement\"](e,Object(O[\"a\"])({ref:o,prefixCls:u,tagName:n},r))}));return r}}var Iy=j[\"forwardRef\"]((function(e,t){var n=e.prefixCls,r=e.className,o=e.children,i=e.tagName,a=Ay(e,[\"prefixCls\",\"className\",\"children\",\"tagName\"]),c=R()(n,r);return j[\"createElement\"](i,Object(O[\"a\"])(Object(O[\"a\"])({className:c},a),{ref:t}),o)})),Py=j[\"forwardRef\"]((function(e,t){var n,r=j[\"useContext\"](Ri[\"b\"]),o=r.direction,i=j[\"useState\"]([]),a=Object(F[\"a\"])(i,2),c=a[0],u=a[1],s=e.prefixCls,l=e.className,f=e.children,d=e.hasSider,h=e.tagName,p=Ay(e,[\"prefixCls\",\"className\",\"children\",\"hasSider\",\"tagName\"]),v=R()(s,(n={},Object(w[\"a\"])(n,\"\".concat(s,\"-has-sider\"),\"boolean\"===typeof d?d:c.length>0),Object(w[\"a\"])(n,\"\".concat(s,\"-rtl\"),\"rtl\"===o),n),l),g=j[\"useMemo\"]((function(){return{siderHook:{addSider:function(e){u((function(t){return[].concat(Object(re[\"a\"])(t),[e])}))},removeSider:function(e){u((function(t){return t.filter((function(t){return t!==e}))}))}}}}),[]);return j[\"createElement\"](Ny.Provider,{value:g},j[\"createElement\"](h,Object(O[\"a\"])({ref:t,className:v},p),f))})),Ly=(Ty({suffixCls:\"layout\",tagName:\"section\",displayName:\"Layout\"})(Py),Ty({suffixCls:\"layout-header\",tagName:\"header\",displayName:\"Header\"})(Iy),Ty({suffixCls:\"layout-footer\",tagName:\"footer\",displayName:\"Footer\"})(Iy),Ty({suffixCls:\"layout-content\",tagName:\"main\",displayName:\"Content\"})(Iy),j[\"createContext\"]({}));(function(){var e=0})();var Dy=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Ry=function(e){var t=e.prefixCls,n=e.className,r=e.dashed,o=Dy(e,[\"prefixCls\",\"className\",\"dashed\"]),i=j[\"useContext\"](Ri[\"b\"]),a=i.getPrefixCls,c=a(\"menu\",t),u=R()(Object(w[\"a\"])({},\"\".concat(c,\"-item-divider-dashed\"),!!r),n);return j[\"createElement\"](Ko,Object(O[\"a\"])({className:u},o))},Fy=Ry,By=Object(j[\"createContext\"])({prefixCls:\"\",firstLevel:!0,inlineCollapsed:!1}),zy=By,Uy=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Gy=function(e){Object(me[\"a\"])(n,e);var t=Object(ye[\"a\"])(n);function n(){var e;return Object(ve[\"a\"])(this,n),e=t.apply(this,arguments),e.renderItem=function(t){var n,r,o=t.siderCollapsed,i=e.context,a=i.prefixCls,c=i.firstLevel,u=i.inlineCollapsed,s=i.direction,l=i.disableMenuItemTitleTooltip,f=e.props,d=f.className,h=f.children,p=e.props,v=p.title,g=p.icon,m=p.danger,y=Uy(p,[\"title\",\"icon\",\"danger\"]),b=v;\"undefined\"===typeof v?b=c?h:\"\":!1===v&&(b=\"\");var x={title:b};o||u||(x.title=null,x.open=!1);var E=Object(ae[\"a\"])(h).length,S=j[\"createElement\"](It,Object(O[\"a\"])({},y,{className:R()((n={},Object(w[\"a\"])(n,\"\".concat(a,\"-item-danger\"),m),Object(w[\"a\"])(n,\"\".concat(a,\"-item-only-child\"),1===(g?E+1:E)),n),d),title:\"string\"===typeof v?v:void 0}),Sa(g,{className:R()(wa(g)?null===(r=g.props)||void 0===r?void 0:r.className:\"\",\"\".concat(a,\"-item-icon\"))}),e.renderItemChildren(u));return l||(S=j[\"createElement\"](Aa,Object(O[\"a\"])({},x,{placement:\"rtl\"===s?\"left\":\"right\",overlayClassName:\"\".concat(a,\"-inline-collapsed-tooltip\")}),S)),S},e}return Object(ge[\"a\"])(n,[{key:\"renderItemChildren\",value:function(e){var t=this.context,n=t.prefixCls,r=t.firstLevel,o=this.props,i=o.icon,a=o.children,c=j[\"createElement\"](\"span\",{className:\"\".concat(n,\"-title-content\")},a);return(!i||wa(a)&&\"span\"===a.type)&&a&&e&&r&&\"string\"===typeof a?j[\"createElement\"](\"div\",{className:\"\".concat(n,\"-inline-collapsed-noicon\")},a.charAt(0)):c}},{key:\"render\",value:function(){return j[\"createElement\"](Ly.Consumer,null,this.renderItem)}}]),n}(j[\"Component\"]);function Vy(e){var t,n,r=e.popupClassName,o=e.icon,i=e.title,a=e.theme,c=j[\"useContext\"](zy),u=c.prefixCls,s=c.inlineCollapsed,l=c.antdMenuTheme,f=xt();if(o){var d=wa(i)&&\"span\"===i.type;n=j[\"createElement\"](j[\"Fragment\"],null,Sa(o,{className:R()(wa(o)?null===(t=o.props)||void 0===t?void 0:t.className:\"\",\"\".concat(u,\"-item-icon\"))}),d?i:j[\"createElement\"](\"span\",{className:\"\".concat(u,\"-title-content\")},i))}else n=s&&!f.length&&i&&\"string\"===typeof i?j[\"createElement\"](\"div\",{className:\"\".concat(u,\"-inline-collapsed-noicon\")},i.charAt(0)):j[\"createElement\"](\"span\",{className:\"\".concat(u,\"-title-content\")},i);var h=j[\"useMemo\"]((function(){return Object(O[\"a\"])(Object(O[\"a\"])({},c),{firstLevel:!1})}),[c]);return j[\"createElement\"](zy.Provider,{value:h},j[\"createElement\"](po,Object(O[\"a\"])({},it(e,[\"icon\"]),{title:n,popupClassName:R()(u,\"\".concat(u,\"-\").concat(a||l),r)})))}Gy.contextType=zy;var Wy=Vy,Hy=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function Yy(e){return(e||[]).map((function(e,t){if(e&&\"object\"===Object(B[\"a\"])(e)){var n=e,r=n.label,o=n.children,i=n.key,a=n.type,c=Hy(n,[\"label\",\"children\",\"key\",\"type\"]),u=null!==i&&void 0!==i?i:\"tmp-\".concat(t);return o||\"group\"===a?\"group\"===a?j[\"createElement\"](qo,Object(O[\"a\"])({key:u},c,{title:r}),Yy(o)):j[\"createElement\"](Wy,Object(O[\"a\"])({key:u},c,{title:r}),Yy(o)):\"divider\"===a?j[\"createElement\"](Fy,Object(O[\"a\"])({key:u},c)):j[\"createElement\"](Gy,Object(O[\"a\"])({key:u},c),r)}return null})).filter((function(e){return e}))}function Xy(e){return j[\"useMemo\"]((function(){return e?Yy(e):e}),[e])}var qy=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Ky=j[\"createContext\"](null),Zy=function(e){var t=e.children,n=qy(e,[\"children\"]),r=j[\"useContext\"](Ky),o=j[\"useMemo\"]((function(){return Object(O[\"a\"])(Object(O[\"a\"])({},r),n)}),[r,n.prefixCls,n.mode,n.selectable]);return j[\"createElement\"](Ky.Provider,{value:o},t)},$y=Ky,Qy=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Jy=Object(j[\"forwardRef\"])((function(e,t){var n,r=j[\"useContext\"]($y)||{},o=j[\"useContext\"](Ri[\"b\"]),i=o.getPrefixCls,a=o.getPopupContainer,c=o.direction,u=i(),s=e.prefixCls,l=e.className,f=e.theme,d=void 0===f?\"light\":f,h=e.expandIcon,p=e._internalDisableMenuItemTitleTooltip,v=e.inlineCollapsed,g=e.siderCollapsed,m=e.items,y=e.children,b=e.mode,x=e.selectable,w=e.onClick,E=Qy(e,[\"prefixCls\",\"className\",\"theme\",\"expandIcon\",\"_internalDisableMenuItemTitleTooltip\",\"inlineCollapsed\",\"siderCollapsed\",\"items\",\"children\",\"mode\",\"selectable\",\"onClick\"]),S=it(E,[\"collapsedWidth\"]),k=Xy(m)||y;null===(n=r.validator)||void 0===n||n.call(r,{mode:b});var _,C=G((function(){var e;null===w||void 0===w||w.apply(void 0,arguments),null===(e=null===r||void 0===r?void 0:r.onClick)||void 0===e||e.call(r)})),M=r.mode||b,A=null!==x&&void 0!==x?x:r.selectable,T=j[\"useMemo\"]((function(){return void 0!==g?g:v}),[v,g]),I={horizontal:{motionName:\"\".concat(u,\"-slide-up\")},inline:Xi,other:{motionName:\"\".concat(u,\"-zoom-big\")}},P=i(\"menu\",s||r.prefixCls),L=R()(\"\".concat(P,\"-\").concat(d),l);_=\"function\"===typeof h?h:Sa(h||r.expandIcon,{className:\"\".concat(P,\"-submenu-expand-icon\")});var D=j[\"useMemo\"]((function(){return{prefixCls:P,inlineCollapsed:T||!1,antdMenuTheme:d,direction:c,firstLevel:!0,disableMenuItemTitleTooltip:p}}),[P,T,d,c,p]);return j[\"createElement\"]($y.Provider,{value:null},j[\"createElement\"](zy.Provider,{value:D},j[\"createElement\"]($o,Object(O[\"a\"])({getPopupContainer:a,overflowedIndicator:j[\"createElement\"](N,null),overflowedIndicatorPopupClassName:\"\".concat(P,\"-\").concat(d),mode:M,selectable:A,onClick:C},S,{inlineCollapsed:T,className:L,prefixCls:P,direction:c,defaultMotions:I,expandIcon:_,ref:t}),k)))})),eb=function(e){Object(me[\"a\"])(n,e);var t=Object(ye[\"a\"])(n);function n(){var e;return Object(ve[\"a\"])(this,n),e=t.apply(this,arguments),e.focus=function(t){var n;null===(n=e.menu)||void 0===n||n.focus(t)},e}return Object(ge[\"a\"])(n,[{key:\"render\",value:function(){var e=this;return j[\"createElement\"](Ly.Consumer,null,(function(t){return j[\"createElement\"](Jy,Object(O[\"a\"])({ref:function(t){e.menu=t}},e.props,t))}))}}]),n}(j[\"Component\"]);eb.Divider=Fy,eb.Item=Gy,eb.SubMenu=Wy,eb.ItemGroup=qo;var tb=eb;function nb(e){var t=e.className,n=e.direction,r=e.index,o=e.marginDirection,i=e.children,a=e.split,c=e.wrap,u=j[\"useContext\"](ob),s=u.horizontalSize,l=u.verticalSize,f=u.latestIndex,d=u.supportFlexGap,h={};return d||(\"vertical\"===n?r<f&&(h={marginBottom:s/(a?2:1)}):h=Object(O[\"a\"])(Object(O[\"a\"])({},r<f&&Object(w[\"a\"])({},o,s/(a?2:1))),c&&{paddingBottom:l})),null===i||void 0===i?null:j[\"createElement\"](j[\"Fragment\"],null,j[\"createElement\"](\"div\",{className:t,style:h},i),r<f&&a&&j[\"createElement\"](\"span\",{className:\"\".concat(t,\"-split\"),style:h},a))}var rb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},ob=j[\"createContext\"]({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),ib={small:8,middle:16,large:24};function ab(e){return\"string\"===typeof e?ib[e]:e||0}var cb=function(e){var t,n=j[\"useContext\"](Ri[\"b\"]),r=n.getPrefixCls,o=n.space,i=n.direction,a=e.size,c=void 0===a?(null===o||void 0===o?void 0:o.size)||\"small\":a,u=e.align,s=e.className,l=e.children,f=e.direction,d=void 0===f?\"horizontal\":f,h=e.prefixCls,p=e.split,v=e.style,g=e.wrap,m=void 0!==g&&g,y=rb(e,[\"size\",\"align\",\"className\",\"children\",\"direction\",\"prefixCls\",\"split\",\"style\",\"wrap\"]),b=af(),x=j[\"useMemo\"]((function(){return(Array.isArray(c)?c:[c,c]).map((function(e){return ab(e)}))}),[c]),E=Object(F[\"a\"])(x,2),S=E[0],k=E[1],_=Object(ae[\"a\"])(l,{keepEmpty:!0}),C=void 0===u&&\"horizontal\"===d?\"center\":u,M=r(\"space\",h),A=R()(M,\"\".concat(M,\"-\").concat(d),(t={},Object(w[\"a\"])(t,\"\".concat(M,\"-rtl\"),\"rtl\"===i),Object(w[\"a\"])(t,\"\".concat(M,\"-align-\").concat(C),C),t),s),N=\"\".concat(M,\"-item\"),T=\"rtl\"===i?\"marginLeft\":\"marginRight\",I=0,P=_.map((function(e,t){null!==e&&void 0!==e&&(I=t);var n=e&&e.key||\"\".concat(N,\"-\").concat(t);return j[\"createElement\"](nb,{className:N,key:n,direction:d,index:t,marginDirection:T,split:p,wrap:m},e)})),L=j[\"useMemo\"]((function(){return{horizontalSize:S,verticalSize:k,latestIndex:I,supportFlexGap:b}}),[S,k,I,b]);if(0===_.length)return null;var D={};return m&&(D.flexWrap=\"wrap\",b||(D.marginBottom=-k)),b&&(D.columnGap=S,D.rowGap=k),j[\"createElement\"](\"div\",Object(O[\"a\"])({className:A,style:Object(O[\"a\"])(Object(O[\"a\"])({},D),v)},y),j[\"createElement\"](ob.Provider,{value:L},P))},ub=cb;ub.Compact=nc;var sb=ub,lb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},fb=function(e){var t=j[\"useContext\"](Ri[\"b\"]),n=t.getPopupContainer,r=t.getPrefixCls,o=t.direction,i=e.prefixCls,a=e.type,c=void 0===a?\"default\":a,u=e.danger,s=e.disabled,l=e.loading,f=e.onClick,d=e.htmlType,h=e.children,p=e.className,v=e.menu,g=e.arrow,m=e.autoFocus,y=e.overlay,b=e.trigger,x=e.align,w=e.visible,E=e.open,S=e.onVisibleChange,k=e.onOpenChange,_=e.placement,C=e.getPopupContainer,M=e.href,A=e.icon,T=void 0===A?j[\"createElement\"](N,null):A,I=e.title,P=e.buttonsRender,L=void 0===P?function(e){return e}:P,D=e.mouseEnterDelay,B=e.mouseLeaveDelay,z=e.overlayClassName,U=e.overlayStyle,G=e.destroyPopupOnHide,V=lb(e,[\"prefixCls\",\"type\",\"danger\",\"disabled\",\"loading\",\"onClick\",\"htmlType\",\"children\",\"className\",\"menu\",\"arrow\",\"autoFocus\",\"overlay\",\"trigger\",\"align\",\"visible\",\"open\",\"onVisibleChange\",\"onOpenChange\",\"placement\",\"getPopupContainer\",\"href\",\"icon\",\"title\",\"buttonsRender\",\"mouseEnterDelay\",\"mouseLeaveDelay\",\"overlayClassName\",\"overlayStyle\",\"destroyPopupOnHide\"]),W=r(\"dropdown-button\",i),H={menu:v,arrow:g,autoFocus:m,align:x,disabled:s,trigger:s?[]:b,onOpenChange:k||S,getPopupContainer:C||n,mouseEnterDelay:D,mouseLeaveDelay:B,overlayClassName:z,overlayStyle:U,destroyPopupOnHide:G},Y=Qa(W,o),X=Y.compactSize,q=Y.compactItemClassnames,K=R()(W,q,p);\"overlay\"in e&&(H.overlay=y),\"open\"in e?H.open=E:\"visible\"in e&&(H.open=w),H.placement=\"placement\"in e?_:\"rtl\"===o?\"bottomLeft\":\"bottomRight\";var Z=j[\"createElement\"](iu,{type:c,danger:u,disabled:s,loading:l,onClick:f,htmlType:d,href:M,title:I},h),$=j[\"createElement\"](iu,{type:c,danger:u,icon:T}),Q=L([Z,$]),J=Object(F[\"a\"])(Q,2),ee=J[0],te=J[1];return j[\"createElement\"](sb.Compact,Object(O[\"a\"])({className:K,size:X,block:!0},V),ee,j[\"createElement\"](pb,Object(O[\"a\"])({},H),te))};fb.__ANT_BUTTON=!0;var db=fb,hb=(Bi(\"topLeft\",\"topCenter\",\"topRight\",\"bottomLeft\",\"bottomCenter\",\"bottomRight\",\"top\",\"bottom\"),function(e){var t=j[\"useContext\"](Ri[\"b\"]),n=t.getPopupContainer,r=t.getPrefixCls,o=t.direction;var i,a=function(){var t=r(),n=e.placement,o=void 0===n?\"\":n,i=e.transitionName;return void 0!==i?i:o.includes(\"top\")?\"\".concat(t,\"-slide-down\"):\"\".concat(t,\"-slide-up\")},c=function(){var t=e.placement;if(!t)return\"rtl\"===o?\"bottomRight\":\"bottomLeft\";if(t.includes(\"Center\")){var n=t.slice(0,t.indexOf(\"Center\"));return n}return t},u=e.menu,s=e.arrow,l=e.prefixCls,f=e.children,d=e.trigger,h=e.disabled,p=e.dropdownRender,v=e.getPopupContainer,g=e.overlayClassName,m=e.visible,y=e.open,b=e.onVisibleChange,x=e.onOpenChange,E=e.mouseEnterDelay,S=void 0===E?.15:E,k=e.mouseLeaveDelay,_=void 0===k?.1:k,C=r(\"dropdown\",l),M=j[\"Children\"].only(f),A=Sa(M,{className:R()(\"\".concat(C,\"-trigger\"),Object(w[\"a\"])({},\"\".concat(C,\"-rtl\"),\"rtl\"===o),M.props.className),disabled:h}),N=h?[]:d;N&&N.includes(\"contextMenu\")&&(i=!0);var T=Z(!1,{value:void 0!==y?y:m}),I=Object(F[\"a\"])(T,2),P=I[0],L=I[1],D=G((function(e){null===b||void 0===b||b(e),null===x||void 0===x||x(e),L(e)})),z=R()(g,Object(w[\"a\"])({},\"\".concat(C,\"-rtl\"),\"rtl\"===o)),U=xa({arrowPointAtCenter:\"object\"===Object(B[\"a\"])(s)&&s.pointAtCenter,autoAdjustOverflow:!0}),V=j[\"useCallback\"]((function(){L(!1)}),[]),W=function(){var t,n=e.overlay;return t=(null===u||void 0===u?void 0:u.items)?j[\"createElement\"](tb,Object(O[\"a\"])({},u)):\"function\"===typeof n?n():n,p&&(t=p(t)),t=j[\"Children\"].only(\"string\"===typeof t?j[\"createElement\"](\"span\",null,t):t),j[\"createElement\"](Zy,{prefixCls:\"\".concat(C,\"-menu\"),expandIcon:j[\"createElement\"](\"span\",{className:\"\".concat(C,\"-menu-submenu-arrow\")},j[\"createElement\"](xv,{className:\"\".concat(C,\"-menu-submenu-arrow-icon\")})),mode:\"vertical\",selectable:!1,onClick:V,validator:function(e){e.mode}},t)};return j[\"createElement\"](ui,Object(O[\"a\"])({alignPoint:i},e,{mouseEnterDelay:S,mouseLeaveDelay:_,visible:P,builtinPlacements:U,arrow:!!s,overlayClassName:z,prefixCls:C,getPopupContainer:v||n,transitionName:a(),trigger:N,overlay:W,placement:c(),onVisibleChange:D}),A)});hb.Button=db;var pb=hb,vb=pb;function gb(e){return Object.keys(e).reduce((function(t,n){return!n.startsWith(\"data-\")&&!n.startsWith(\"aria-\")&&\"role\"!==n||n.startsWith(\"data-__\")||(t[n]=e[n]),t}),{})}var mb=j[\"createContext\"](null),yb=mb.Provider,bb=mb,xb=j[\"createContext\"](null),wb=xb.Provider,Ob=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Eb=function(e,t){var n,r=j[\"useContext\"](bb),o=j[\"useContext\"](xb),i=j[\"useContext\"](Ri[\"b\"]),a=i.getPrefixCls,c=i.direction,u=j[\"useRef\"](),s=Object(ie[\"a\"])(t,u),l=Object(j[\"useContext\"])(Ia),f=l.isFormItemInput,d=function(t){var n,o;null===(n=e.onChange)||void 0===n||n.call(e,t),null===(o=null===r||void 0===r?void 0:r.onChange)||void 0===o||o.call(r,t)},h=e.prefixCls,p=e.className,v=e.children,g=e.style,m=e.disabled,y=Ob(e,[\"prefixCls\",\"className\",\"children\",\"style\",\"disabled\"]),b=a(\"radio\",h),x=\"button\"===((null===r||void 0===r?void 0:r.optionType)||o)?\"\".concat(b,\"-button\"):b,E=Object(O[\"a\"])({},y),S=j[\"useContext\"](Ka[\"b\"]);E.disabled=m||S,r&&(E.name=r.name,E.onChange=d,E.checked=e.value===r.value,E.disabled=E.disabled||r.disabled);var k=R()(\"\".concat(x,\"-wrapper\"),(n={},Object(w[\"a\"])(n,\"\".concat(x,\"-wrapper-checked\"),E.checked),Object(w[\"a\"])(n,\"\".concat(x,\"-wrapper-disabled\"),E.disabled),Object(w[\"a\"])(n,\"\".concat(x,\"-wrapper-rtl\"),\"rtl\"===c),Object(w[\"a\"])(n,\"\".concat(x,\"-wrapper-in-form-item\"),f),n),p);return j[\"createElement\"](\"label\",{className:k,style:g,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},j[\"createElement\"](vy,Object(O[\"a\"])({},E,{type:\"radio\",prefixCls:x,ref:s})),void 0!==v?j[\"createElement\"](\"span\",null,v):null)},Sb=j[\"forwardRef\"](Eb);var jb=Sb,kb=j[\"forwardRef\"]((function(e,t){var n,r=j[\"useContext\"](Ri[\"b\"]),o=r.getPrefixCls,i=r.direction,a=j[\"useContext\"](Fi[\"b\"]),c=Z(e.defaultValue,{value:e.value}),u=Object(F[\"a\"])(c,2),s=u[0],l=u[1],f=function(t){var n=s,r=t.target.value;\"value\"in e||l(r);var o=e.onChange;o&&r!==n&&o(t)},d=e.prefixCls,h=e.className,p=void 0===h?\"\":h,v=e.options,g=e.buttonStyle,m=void 0===g?\"outline\":g,y=e.disabled,b=e.children,x=e.size,E=e.style,S=e.id,k=e.onMouseEnter,_=e.onMouseLeave,C=e.onFocus,M=e.onBlur,A=o(\"radio\",d),N=\"\".concat(A,\"-group\"),T=b;v&&v.length>0&&(T=v.map((function(e){return\"string\"===typeof e||\"number\"===typeof e?j[\"createElement\"](jb,{key:e.toString(),prefixCls:A,disabled:y,value:e,checked:s===e},e):j[\"createElement\"](jb,{key:\"radio-group-value-options-\".concat(e.value),prefixCls:A,disabled:e.disabled||y,value:e.value,checked:s===e.value,style:e.style},e.label)})));var I=x||a,P=R()(N,\"\".concat(N,\"-\").concat(m),(n={},Object(w[\"a\"])(n,\"\".concat(N,\"-\").concat(I),I),Object(w[\"a\"])(n,\"\".concat(N,\"-rtl\"),\"rtl\"===i),n),p);return j[\"createElement\"](\"div\",Object(O[\"a\"])({},gb(e),{className:P,style:E,onMouseEnter:k,onMouseLeave:_,onFocus:C,onBlur:M,id:S,ref:t}),j[\"createElement\"](yb,{value:{onChange:f,value:s,disabled:e.disabled,name:e.name,optionType:e.optionType}},T))})),_b=j[\"memo\"](kb),Cb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Mb=function(e,t){var n=j[\"useContext\"](Ri[\"b\"]),r=n.getPrefixCls,o=e.prefixCls,i=Cb(e,[\"prefixCls\"]),a=r(\"radio\",o);return j[\"createElement\"](wb,{value:\"button\"},j[\"createElement\"](jb,Object(O[\"a\"])({prefixCls:a},i,{type:\"radio\",ref:t})))},Ab=j[\"forwardRef\"](Mb),Nb=jb;Nb.Button=Ab,Nb.Group=_b,Nb.__ANT_RADIO=!0;var Tb=Nb,Ib=j[\"createContext\"](null),Pb=function(e){for(var t=e.prefixCls,n=e.level,r=e.isStart,o=e.isEnd,i=\"\".concat(t,\"-indent-unit\"),a=[],c=0;c<n;c+=1){var u;a.push(j[\"createElement\"](\"span\",{key:c,className:R()(i,(u={},Object(w[\"a\"])(u,\"\".concat(i,\"-start\"),r[c]),Object(w[\"a\"])(u,\"\".concat(i,\"-end\"),o[c]),u))}))}return j[\"createElement\"](\"span\",{\"aria-hidden\":\"true\",className:\"\".concat(t,\"-indent\")},a)},Lb=j[\"memo\"](Pb),Db=[\"children\"];function Rb(e,t){return null!==e&&void 0!==e?e:t}function Fb(e){var t=e||{},n=t.title,r=t._title,o=t.key,i=t.children,a=n||\"title\";return{title:a,_title:r||[a],key:o||\"key\",children:i||\"children\"}}function Bb(e){function t(e){var n=Object(ae[\"a\"])(e);return n.map((function(e){if(!nx(e))return Object(ce[\"a\"])(!e,\"Tree/TreeNode can only accept TreeNode as children.\"),null;var n=e.key,r=e.props,o=r.children,i=Object(z[\"a\"])(r,Db),a=Object(S[\"a\"])({key:n},i),c=t(o);return c.length&&(a.children=c),a})).filter((function(e){return e}))}return t(e)}function zb(e,t,n){var r=Fb(n),o=r._title,i=r.key,a=r.children,c=new Set(!0===t?[]:t),u=[];function s(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.map((function(r,l){for(var f,d=tx(n?n.pos:\"0\",l),h=Rb(r[i],d),p=0;p<o.length;p+=1){var v=o[p];if(void 0!==r[v]){f=r[v];break}}var g=Object(S[\"a\"])(Object(S[\"a\"])({},it(r,[].concat(Object(re[\"a\"])(o),[i,a]))),{},{title:f,key:h,parent:n,pos:d,children:null,data:r,isStart:[].concat(Object(re[\"a\"])(n?n.isStart:[]),[0===l]),isEnd:[].concat(Object(re[\"a\"])(n?n.isEnd:[]),[l===e.length-1])});return u.push(g),!0===t||c.has(h)?g.children=s(r[a]||[],g):g.children=[],g}))}return s(e),u}function Ub(e,t,n){var r={};r=\"object\"===Object(B[\"a\"])(n)?n:{externalGetKey:n},r=r||{};var o,i=r,a=i.childrenPropName,c=i.externalGetKey,u=i.fieldNames,s=Fb(u),l=s.key,f=s.children,d=a||f;function h(n,r,i,a){var c=n?n[d]:e,u=n?tx(i.pos,r):\"0\",s=n?[].concat(Object(re[\"a\"])(a),[n]):[];if(n){var l=o(n,u),f={node:n,index:r,pos:u,key:l,parentPos:i.node?i.pos:null,level:i.level+1,nodes:s};t(f)}c&&c.forEach((function(e,t){h(e,t,{node:n,pos:u,level:i?i.level+1:-1},s)}))}c?\"string\"===typeof c?o=function(e){return e[c]}:\"function\"===typeof c&&(o=function(e){return c(e)}):o=function(e,t){return Rb(e[l],t)},h(null)}function Gb(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.initWrapper,r=t.processEntity,o=t.onProcessFinished,i=t.externalGetKey,a=t.childrenPropName,c=t.fieldNames,u=arguments.length>2?arguments[2]:void 0,s=i||u,l={},f={},d={posEntities:l,keyEntities:f};return n&&(d=n(d)||d),Ub(e,(function(e){var t=e.node,n=e.index,o=e.pos,i=e.key,a=e.parentPos,c=e.level,u=e.nodes,s={node:t,nodes:u,index:n,key:i,pos:o,level:c},h=Rb(i,o);l[o]=s,f[h]=s,s.parent=l[a],s.parent&&(s.parent.children=s.parent.children||[],s.parent.children.push(s)),r&&r(s,d)}),{externalGetKey:s,childrenPropName:a,fieldNames:c}),o&&o(d),d}function Vb(e,t){var n=t.expandedKeys,r=t.selectedKeys,o=t.loadedKeys,i=t.loadingKeys,a=t.checkedKeys,c=t.halfCheckedKeys,u=t.dragOverNodeKey,s=t.dropPosition,l=t.keyEntities,f=l[e],d={eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==o.indexOf(e),loading:-1!==i.indexOf(e),checked:-1!==a.indexOf(e),halfChecked:-1!==c.indexOf(e),pos:String(f?f.pos:\"\"),dragOver:u===e&&0===s,dragOverGapTop:u===e&&-1===s,dragOverGapBottom:u===e&&1===s};return d}function Wb(e){var t=e.data,n=e.expanded,r=e.selected,o=e.checked,i=e.loaded,a=e.loading,c=e.halfChecked,u=e.dragOver,s=e.dragOverGapTop,l=e.dragOverGapBottom,f=e.pos,d=e.active,h=e.eventKey,p=Object(S[\"a\"])(Object(S[\"a\"])({},t),{},{expanded:n,selected:r,checked:o,loaded:i,loading:a,halfChecked:c,dragOver:u,dragOverGapTop:s,dragOverGapBottom:l,pos:f,active:d,key:h});return\"props\"in p||Object.defineProperty(p,\"props\",{get:function(){return Object(ce[\"a\"])(!1,\"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`.\"),e}}),p}var Hb=[\"eventKey\",\"className\",\"style\",\"dragOver\",\"dragOverGapTop\",\"dragOverGapBottom\",\"isLeaf\",\"isStart\",\"isEnd\",\"expanded\",\"selected\",\"checked\",\"halfChecked\",\"loading\",\"domRef\",\"active\",\"data\",\"onMouseMove\",\"selectable\"],Yb=\"open\",Xb=\"close\",qb=\"---\",Kb=function(e){Object(me[\"a\"])(n,e);var t=Object(ye[\"a\"])(n);function n(){var e;Object(ve[\"a\"])(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),e.state={dragNodeHighlight:!1},e.selectHandle=void 0,e.onSelectorClick=function(t){var n=e.props.context.onNodeClick;n(t,Wb(e.props)),e.isSelectable()?e.onSelect(t):e.onCheck(t)},e.onSelectorDoubleClick=function(t){var n=e.props.context.onNodeDoubleClick;n(t,Wb(e.props))},e.onSelect=function(t){if(!e.isDisabled()){var n=e.props.context.onNodeSelect;t.preventDefault(),n(t,Wb(e.props))}},e.onCheck=function(t){if(!e.isDisabled()){var n=e.props,r=n.disableCheckbox,o=n.checked,i=e.props.context.onNodeCheck;if(e.isCheckable()&&!r){t.preventDefault();var a=!o;i(t,Wb(e.props),a)}}},e.onMouseEnter=function(t){var n=e.props.context.onNodeMouseEnter;n(t,Wb(e.props))},e.onMouseLeave=function(t){var n=e.props.context.onNodeMouseLeave;n(t,Wb(e.props))},e.onContextMenu=function(t){var n=e.props.context.onNodeContextMenu;n(t,Wb(e.props))},e.onDragStart=function(t){var n=e.props.context.onNodeDragStart;t.stopPropagation(),e.setState({dragNodeHighlight:!0}),n(t,Object(Vt[\"a\"])(e));try{t.dataTransfer.setData(\"text/plain\",\"\")}catch(r){}},e.onDragEnter=function(t){var n=e.props.context.onNodeDragEnter;t.preventDefault(),t.stopPropagation(),n(t,Object(Vt[\"a\"])(e))},e.onDragOver=function(t){var n=e.props.context.onNodeDragOver;t.preventDefault(),t.stopPropagation(),n(t,Object(Vt[\"a\"])(e))},e.onDragLeave=function(t){var n=e.props.context.onNodeDragLeave;t.stopPropagation(),n(t,Object(Vt[\"a\"])(e))},e.onDragEnd=function(t){var n=e.props.context.onNodeDragEnd;t.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(t,Object(Vt[\"a\"])(e))},e.onDrop=function(t){var n=e.props.context.onNodeDrop;t.preventDefault(),t.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(t,Object(Vt[\"a\"])(e))},e.onExpand=function(t){var n=e.props,r=n.loading,o=n.context.onNodeExpand;r||o(t,Wb(e.props))},e.setSelectHandle=function(t){e.selectHandle=t},e.getNodeState=function(){var t=e.props.expanded;return e.isLeaf()?null:t?Yb:Xb},e.hasChildren=function(){var t=e.props.eventKey,n=e.props.context.keyEntities,r=n[t]||{},o=r.children;return!!(o||[]).length},e.isLeaf=function(){var t=e.props,n=t.isLeaf,r=t.loaded,o=e.props.context.loadData,i=e.hasChildren();return!1!==n&&(n||!o&&!i||o&&r&&!i)},e.isDisabled=function(){var t=e.props.disabled,n=e.props.context.disabled;return!(!n&&!t)},e.isCheckable=function(){var t=e.props.checkable,n=e.props.context.checkable;return!(!n||!1===t)&&n},e.syncLoadData=function(t){var n=t.expanded,r=t.loading,o=t.loaded,i=e.props.context,a=i.loadData,c=i.onNodeLoad;r||a&&n&&!e.isLeaf()&&(e.hasChildren()||o||c(Wb(e.props)))},e.isDraggable=function(){var t=e.props,n=t.data,r=t.context.draggable;return!(!r||r.nodeDraggable&&!r.nodeDraggable(n))},e.renderDragHandler=function(){var t=e.props.context,n=t.draggable,r=t.prefixCls;return(null===n||void 0===n?void 0:n.icon)?j[\"createElement\"](\"span\",{className:\"\".concat(r,\"-draggable-icon\")},n.icon):null},e.renderSwitcherIconDom=function(t){var n=e.props.switcherIcon,r=e.props.context.switcherIcon,o=n||r;return\"function\"===typeof o?o(Object(S[\"a\"])(Object(S[\"a\"])({},e.props),{},{isLeaf:t})):o},e.renderSwitcher=function(){var t=e.props.expanded,n=e.props.context.prefixCls;if(e.isLeaf()){var r=e.renderSwitcherIconDom(!0);return!1!==r?j[\"createElement\"](\"span\",{className:R()(\"\".concat(n,\"-switcher\"),\"\".concat(n,\"-switcher-noop\"))},r):null}var o=R()(\"\".concat(n,\"-switcher\"),\"\".concat(n,\"-switcher_\").concat(t?Yb:Xb)),i=e.renderSwitcherIconDom(!1);return!1!==i?j[\"createElement\"](\"span\",{onClick:e.onExpand,className:o},i):null},e.renderCheckbox=function(){var t=e.props,n=t.checked,r=t.halfChecked,o=t.disableCheckbox,i=e.props.context.prefixCls,a=e.isDisabled(),c=e.isCheckable();if(!c)return null;var u=\"boolean\"!==typeof c?c:null;return j[\"createElement\"](\"span\",{className:R()(\"\".concat(i,\"-checkbox\"),n&&\"\".concat(i,\"-checkbox-checked\"),!n&&r&&\"\".concat(i,\"-checkbox-indeterminate\"),(a||o)&&\"\".concat(i,\"-checkbox-disabled\")),onClick:e.onCheck},u)},e.renderIcon=function(){var t=e.props.loading,n=e.props.context.prefixCls;return j[\"createElement\"](\"span\",{className:R()(\"\".concat(n,\"-iconEle\"),\"\".concat(n,\"-icon__\").concat(e.getNodeState()||\"docu\"),t&&\"\".concat(n,\"-icon_loading\"))})},e.renderSelector=function(){var t,n,r=e.state.dragNodeHighlight,o=e.props,i=o.title,a=o.selected,c=o.icon,u=o.loading,s=o.data,l=e.props.context,f=l.prefixCls,d=l.showIcon,h=l.icon,p=l.loadData,v=l.titleRender,g=e.isDisabled(),m=\"\".concat(f,\"-node-content-wrapper\");if(d){var y=c||h;t=y?j[\"createElement\"](\"span\",{className:R()(\"\".concat(f,\"-iconEle\"),\"\".concat(f,\"-icon__customize\"))},\"function\"===typeof y?y(e.props):y):e.renderIcon()}else p&&u&&(t=e.renderIcon());n=\"function\"===typeof i?i(s):v?v(s):i;var b=j[\"createElement\"](\"span\",{className:\"\".concat(f,\"-title\")},n);return j[\"createElement\"](\"span\",{ref:e.setSelectHandle,title:\"string\"===typeof i?i:\"\",className:R()(\"\".concat(m),\"\".concat(m,\"-\").concat(e.getNodeState()||\"normal\"),!g&&(a||r)&&\"\".concat(f,\"-node-selected\")),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onContextMenu:e.onContextMenu,onClick:e.onSelectorClick,onDoubleClick:e.onSelectorDoubleClick},t,b,e.renderDropIndicator())},e.renderDropIndicator=function(){var t=e.props,n=t.disabled,r=t.eventKey,o=e.props.context,i=o.draggable,a=o.dropLevelOffset,c=o.dropPosition,u=o.prefixCls,s=o.indent,l=o.dropIndicatorRender,f=o.dragOverNodeKey,d=o.direction,h=!!i,p=!n&&h&&f===r;return p?l({dropPosition:c,dropLevelOffset:a,indent:s,prefixCls:u,direction:d}):null},e}return Object(ge[\"a\"])(n,[{key:\"componentDidMount\",value:function(){this.syncLoadData(this.props)}},{key:\"componentDidUpdate\",value:function(){this.syncLoadData(this.props)}},{key:\"isSelectable\",value:function(){var e=this.props.selectable,t=this.props.context.selectable;return\"boolean\"===typeof e?e:t}},{key:\"render\",value:function(){var e,t=this.props,n=t.eventKey,r=t.className,o=t.style,i=t.dragOver,a=t.dragOverGapTop,c=t.dragOverGapBottom,u=t.isLeaf,s=t.isStart,l=t.isEnd,f=t.expanded,d=t.selected,h=t.checked,p=t.halfChecked,v=t.loading,g=t.domRef,m=t.active,y=(t.data,t.onMouseMove),b=t.selectable,x=Object(z[\"a\"])(t,Hb),E=this.props.context,S=E.prefixCls,k=E.filterTreeNode,_=E.keyEntities,C=E.dropContainerKey,M=E.dropTargetKey,A=E.draggingNodeKey,N=this.isDisabled(),T=qd(x,{aria:!0,data:!0}),I=_[n]||{},P=I.level,L=l[l.length-1],D=this.isDraggable(),F=!N&&D,B=A===n,U=void 0!==b?{\"aria-selected\":!!b}:void 0;return j[\"createElement\"](\"div\",Object(O[\"a\"])({ref:g,className:R()(r,\"\".concat(S,\"-treenode\"),(e={},Object(w[\"a\"])(e,\"\".concat(S,\"-treenode-disabled\"),N),Object(w[\"a\"])(e,\"\".concat(S,\"-treenode-switcher-\").concat(f?\"open\":\"close\"),!u),Object(w[\"a\"])(e,\"\".concat(S,\"-treenode-checkbox-checked\"),h),Object(w[\"a\"])(e,\"\".concat(S,\"-treenode-checkbox-indeterminate\"),p),Object(w[\"a\"])(e,\"\".concat(S,\"-treenode-selected\"),d),Object(w[\"a\"])(e,\"\".concat(S,\"-treenode-loading\"),v),Object(w[\"a\"])(e,\"\".concat(S,\"-treenode-active\"),m),Object(w[\"a\"])(e,\"\".concat(S,\"-treenode-leaf-last\"),L),Object(w[\"a\"])(e,\"\".concat(S,\"-treenode-draggable\"),D),Object(w[\"a\"])(e,\"dragging\",B),Object(w[\"a\"])(e,\"drop-target\",M===n),Object(w[\"a\"])(e,\"drop-container\",C===n),Object(w[\"a\"])(e,\"drag-over\",!N&&i),Object(w[\"a\"])(e,\"drag-over-gap-top\",!N&&a),Object(w[\"a\"])(e,\"drag-over-gap-bottom\",!N&&c),Object(w[\"a\"])(e,\"filter-node\",k&&k(Wb(this.props))),e)),style:o,draggable:F,\"aria-grabbed\":B,onDragStart:F?this.onDragStart:void 0,onDragEnter:D?this.onDragEnter:void 0,onDragOver:D?this.onDragOver:void 0,onDragLeave:D?this.onDragLeave:void 0,onDrop:D?this.onDrop:void 0,onDragEnd:D?this.onDragEnd:void 0,onMouseMove:y},U,T),j[\"createElement\"](Lb,{prefixCls:S,level:P,isStart:s,isEnd:l}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),n}(j[\"Component\"]),Zb=function(e){return j[\"createElement\"](Ib.Consumer,null,(function(t){return j[\"createElement\"](Kb,Object(O[\"a\"])({},e,{context:t}))}))};Zb.displayName=\"TreeNode\",Zb.defaultProps={title:qb},Zb.isTreeNode=1;var $b=Zb;function Qb(e,t){if(!e)return[];var n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function Jb(e,t){var n=(e||[]).slice();return-1===n.indexOf(t)&&n.push(t),n}function ex(e){return e.split(\"-\")}function tx(e,t){return\"\".concat(e,\"-\").concat(t)}function nx(e){return e&&e.type&&e.type.isTreeNode}function rx(e,t){var n=[],r=t[e];function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.forEach((function(e){var t=e.key,r=e.children;n.push(t),o(r)}))}return o(r.children),n}function ox(e){if(e.parent){var t=ex(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function ix(e){var t=ex(e.pos);return 0===Number(t[t.length-1])}function ax(e,t,n,r,o,i,a,c,u,s){var l,f=e.clientX,d=e.clientY,h=e.target.getBoundingClientRect(),p=h.top,v=h.height,g=(\"rtl\"===s?-1:1)*(((null===o||void 0===o?void 0:o.x)||0)-f),m=(g-12)/r,y=c[n.props.eventKey];if(d<p+v/2){var b=a.findIndex((function(e){return e.key===y.key})),x=b<=0?0:b-1,w=a[x].key;y=c[w]}var O=y.key,E=y,S=y.key,j=0,k=0;if(!u.includes(O))for(var _=0;_<m;_+=1){if(!ox(y))break;y=y.parent,k+=1}var C=t.props.data,M=y.node,A=!0;return ix(y)&&0===y.level&&d<p+v/2&&i({dragNode:C,dropNode:M,dropPosition:-1})&&y.key===n.props.eventKey?j=-1:(E.children||[]).length&&u.includes(S)?i({dragNode:C,dropNode:M,dropPosition:0})?j=0:A=!1:0===k?m>-1.5?i({dragNode:C,dropNode:M,dropPosition:1})?j=1:A=!1:i({dragNode:C,dropNode:M,dropPosition:0})?j=0:i({dragNode:C,dropNode:M,dropPosition:1})?j=1:A=!1:i({dragNode:C,dropNode:M,dropPosition:1})?j=1:A=!1,{dropPosition:j,dropLevelOffset:k,dropTargetKey:y.key,dropTargetPos:y.pos,dragOverNodeKey:S,dropContainerKey:0===j?null:(null===(l=y.parent)||void 0===l?void 0:l.key)||null,dropAllowed:A}}function cx(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function ux(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if(\"object\"!==Object(B[\"a\"])(e))return Object(ce[\"a\"])(!1,\"`checkedKeys` is not an array or an object\"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function sx(e,t){var n=new Set;function r(e){if(!n.has(e)){var o=t[e];if(o){n.add(e);var i=o.parent,a=o.node;a.disabled||i&&r(i.key)}}}return(e||[]).forEach((function(e){r(e)})),Object(re[\"a\"])(n)}function lx(e){if(null==e)throw new TypeError(\"Cannot destructure \"+e)}var fx=[\"className\",\"style\",\"motion\",\"motionNodes\",\"motionType\",\"onMotionStart\",\"onMotionEnd\",\"active\",\"treeNodeRequiredProps\"],dx=function(e,t){var n=e.className,r=e.style,o=e.motion,i=e.motionNodes,a=e.motionType,c=e.onMotionStart,u=e.onMotionEnd,s=e.active,l=e.treeNodeRequiredProps,f=Object(z[\"a\"])(e,fx),d=j[\"useState\"](!0),h=Object(F[\"a\"])(d,2),p=h[0],v=h[1],g=j[\"useContext\"](Ib),m=g.prefixCls,y=j[\"useRef\"](!1),b=function(){y.current||u(),y.current=!0};return Object(j[\"useEffect\"])((function(){i&&\"hide\"===a&&p&&v(!1)}),[i]),Object(j[\"useEffect\"])((function(){return i&&c(),function(){i&&b()}}),[]),i?j[\"createElement\"]($[\"b\"],Object(O[\"a\"])({ref:t,visible:p},o,{motionAppear:\"show\"===a,onAppearEnd:b,onLeaveEnd:b}),(function(e,t){var n=e.className,r=e.style;return j[\"createElement\"](\"div\",{ref:t,className:R()(\"\".concat(m,\"-treenode-motion\"),n),style:r},i.map((function(e){var t=Object(O[\"a\"])({},(lx(e.data),e.data)),n=e.title,r=e.key,o=e.isStart,i=e.isEnd;delete t.children;var a=Vb(r,l);return j[\"createElement\"]($b,Object(O[\"a\"])({},t,a,{title:n,active:s,data:e.data,key:r,isStart:o,isEnd:i}))})))})):j[\"createElement\"]($b,Object(O[\"a\"])({domRef:t,className:n,style:r},f,{active:s}))};dx.displayName=\"MotionTreeNode\";var hx=j[\"forwardRef\"](dx),px=hx;function vx(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.length,r=t.length;if(1!==Math.abs(n-r))return{add:!1,key:null};function o(e,t){var n=new Map;e.forEach((function(e){n.set(e,!0)}));var r=t.filter((function(e){return!n.has(e)}));return 1===r.length?r[0]:null}return n<r?{add:!0,key:o(e,t)}:{add:!1,key:o(t,e)}}function gx(e,t,n){var r=e.findIndex((function(e){return e.key===n})),o=e[r+1],i=t.findIndex((function(e){return e.key===n}));if(o){var a=t.findIndex((function(e){return e.key===o.key}));return t.slice(i+1,a)}return t.slice(i+1)}var mx=[\"prefixCls\",\"data\",\"selectable\",\"checkable\",\"expandedKeys\",\"selectedKeys\",\"checkedKeys\",\"loadedKeys\",\"loadingKeys\",\"halfCheckedKeys\",\"keyEntities\",\"disabled\",\"dragging\",\"dragOverNodeKey\",\"dropPosition\",\"motion\",\"height\",\"itemHeight\",\"virtual\",\"focusable\",\"activeItem\",\"focused\",\"tabIndex\",\"onKeyDown\",\"onFocus\",\"onBlur\",\"onActiveChange\",\"onListChangeStart\",\"onListChangeEnd\"],yx={width:0,height:0,display:\"flex\",overflow:\"hidden\",opacity:0,border:0,padding:0,margin:0},bx=function(){},xx=\"RC_TREE_MOTION_\".concat(Math.random()),wx={key:xx},Ox={key:xx,level:0,index:0,pos:\"0\",node:wx,nodes:[wx]},Ex={parent:null,children:[],pos:Ox.pos,data:wx,title:null,key:xx,isStart:[],isEnd:[]};function Sx(e,t,n,r){return!1!==t&&n?e.slice(0,Math.ceil(n/r)+1):e}function jx(e){var t=e.key,n=e.pos;return Rb(t,n)}function kx(e){var t=String(e.data.key),n=e;while(n.parent)n=n.parent,t=\"\".concat(n.data.key,\" > \").concat(t);return t}var _x=j[\"forwardRef\"]((function(e,t){var n=e.prefixCls,r=e.data,o=(e.selectable,e.checkable,e.expandedKeys),i=e.selectedKeys,a=e.checkedKeys,c=e.loadedKeys,u=e.loadingKeys,s=e.halfCheckedKeys,l=e.keyEntities,f=e.disabled,d=e.dragging,h=e.dragOverNodeKey,p=e.dropPosition,v=e.motion,g=e.height,m=e.itemHeight,y=e.virtual,b=e.focusable,x=e.activeItem,w=e.focused,E=e.tabIndex,S=e.onKeyDown,k=e.onFocus,_=e.onBlur,C=e.onActiveChange,M=e.onListChangeStart,A=e.onListChangeEnd,N=Object(z[\"a\"])(e,mx),T=j[\"useRef\"](null),I=j[\"useRef\"](null);j[\"useImperativeHandle\"](t,(function(){return{scrollTo:function(e){T.current.scrollTo(e)},getIndentWidth:function(){return I.current.offsetWidth}}}));var P=j[\"useState\"](o),L=Object(F[\"a\"])(P,2),D=L[0],R=L[1],B=j[\"useState\"](r),U=Object(F[\"a\"])(B,2),G=U[0],V=U[1],W=j[\"useState\"](r),H=Object(F[\"a\"])(W,2),Y=H[0],X=H[1],q=j[\"useState\"]([]),K=Object(F[\"a\"])(q,2),Z=K[0],$=K[1],Q=j[\"useState\"](null),J=Object(F[\"a\"])(Q,2),ee=J[0],te=J[1],ne=j[\"useRef\"](r);function re(){var e=ne.current;V(e),X(e),$([]),te(null),A()}ne.current=r,j[\"useEffect\"]((function(){R(o);var e=vx(D,o);if(null!==e.key)if(e.add){var t=G.findIndex((function(t){var n=t.key;return n===e.key})),n=Sx(gx(G,r,e.key),y,g,m),i=G.slice();i.splice(t+1,0,Ex),X(i),$(n),te(\"show\")}else{var a=r.findIndex((function(t){var n=t.key;return n===e.key})),c=Sx(gx(r,G,e.key),y,g,m),u=r.slice();u.splice(a+1,0,Ex),X(u),$(c),te(\"hide\")}else G!==r&&(V(r),X(r))}),[o,r]),j[\"useEffect\"]((function(){d||re()}),[d]);var oe=v?Y:r,ie={expandedKeys:o,selectedKeys:i,loadedKeys:c,loadingKeys:u,checkedKeys:a,halfCheckedKeys:s,dragOverNodeKey:h,dropPosition:p,keyEntities:l};return j[\"createElement\"](j[\"Fragment\"],null,w&&x&&j[\"createElement\"](\"span\",{style:yx,\"aria-live\":\"assertive\"},kx(x)),j[\"createElement\"](\"div\",null,j[\"createElement\"](\"input\",{style:yx,disabled:!1===b||f,tabIndex:!1!==b?E:null,onKeyDown:S,onFocus:k,onBlur:_,value:\"\",onChange:bx,\"aria-label\":\"for screen reader\"})),j[\"createElement\"](\"div\",{className:\"\".concat(n,\"-treenode\"),\"aria-hidden\":!0,style:{position:\"absolute\",pointerEvents:\"none\",visibility:\"hidden\",height:0,overflow:\"hidden\"}},j[\"createElement\"](\"div\",{className:\"\".concat(n,\"-indent\")},j[\"createElement\"](\"div\",{ref:I,className:\"\".concat(n,\"-indent-unit\")}))),j[\"createElement\"](fm,Object(O[\"a\"])({},N,{data:oe,itemKey:jx,height:g,fullHeight:!1,virtual:y,itemHeight:m,prefixCls:\"\".concat(n,\"-list\"),ref:T,onVisibleChange:function(e,t){var n=new Set(e),r=t.filter((function(e){return!n.has(e)}));r.some((function(e){return jx(e)===xx}))&&re()}}),(function(e){var t=e.pos,n=Object(O[\"a\"])({},(lx(e.data),e.data)),r=e.title,o=e.key,i=e.isStart,a=e.isEnd,c=Rb(o,t);delete n.key,delete n.children;var u=Vb(c,ie);return j[\"createElement\"](px,Object(O[\"a\"])({},n,u,{title:r,active:!!x&&o===x.key,pos:t,data:e.data,isStart:i,isEnd:a,motion:v,motionNodes:o===xx?Z:null,motionType:ee,onMotionStart:M,onMotionEnd:re,treeNodeRequiredProps:ie,onMouseMove:function(){C(null)}}))})))}));_x.displayName=\"NodeList\";var Cx=_x;function Mx(e,t){var n=new Set;return e.forEach((function(e){t.has(e)||n.add(e)})),n}function Ax(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,o=t.checkable;return!(!n&&!r)||!1===o}function Nx(e,t,n,r){for(var o=new Set(e),i=new Set,a=0;a<=n;a+=1){var c=t.get(a)||new Set;c.forEach((function(e){var t=e.key,n=e.node,i=e.children,a=void 0===i?[]:i;o.has(t)&&!r(n)&&a.filter((function(e){return!r(e.node)})).forEach((function(e){o.add(e.key)}))}))}for(var u=new Set,s=n;s>=0;s-=1){var l=t.get(s)||new Set;l.forEach((function(e){var t=e.parent,n=e.node;if(!r(n)&&e.parent&&!u.has(e.parent.key))if(r(e.parent.node))u.add(t.key);else{var a=!0,c=!1;(t.children||[]).filter((function(e){return!r(e.node)})).forEach((function(e){var t=e.key,n=o.has(t);a&&!n&&(a=!1),c||!n&&!i.has(t)||(c=!0)})),a&&o.add(t.key),c&&i.add(t.key),u.add(t.key)}}))}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(Mx(i,o))}}function Tx(e,t,n,r,o){for(var i=new Set(e),a=new Set(t),c=0;c<=r;c+=1){var u=n.get(c)||new Set;u.forEach((function(e){var t=e.key,n=e.node,r=e.children,c=void 0===r?[]:r;i.has(t)||a.has(t)||o(n)||c.filter((function(e){return!o(e.node)})).forEach((function(e){i.delete(e.key)}))}))}a=new Set;for(var s=new Set,l=r;l>=0;l-=1){var f=n.get(l)||new Set;f.forEach((function(e){var t=e.parent,n=e.node;if(!o(n)&&e.parent&&!s.has(e.parent.key))if(o(e.parent.node))s.add(t.key);else{var r=!0,c=!1;(t.children||[]).filter((function(e){return!o(e.node)})).forEach((function(e){var t=e.key,n=i.has(t);r&&!n&&(r=!1),c||!n&&!a.has(t)||(c=!0)})),r||i.delete(t.key),c&&a.add(t.key),s.add(t.key)}}))}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(Mx(a,i))}}function Ix(e,t,n,r){var o,i=[];o=r||Ax;var a,c=new Set(e.filter((function(e){var t=!!n[e];return t||i.push(e),t}))),u=new Map,s=0;return Object.keys(n).forEach((function(e){var t=n[e],r=t.level,o=u.get(r);o||(o=new Set,u.set(r,o)),o.add(t),s=Math.max(s,r)})),Object(ce[\"a\"])(!i.length,\"Tree missing follow keys: \".concat(i.slice(0,100).map((function(e){return\"'\".concat(e,\"'\")})).join(\", \"))),a=!0===t?Nx(c,u,s,o):Tx(c,t.halfCheckedKeys,u,s,o),a}function Px(e){var t=e.dropPosition,n=e.dropLevelOffset,r=e.indent,o={pointerEvents:\"none\",position:\"absolute\",right:0,backgroundColor:\"red\",height:2};switch(t){case-1:o.top=0,o.left=-n*r;break;case 1:o.bottom=0,o.left=-n*r;break;case 0:o.bottom=0,o.left=r;break}return j[\"createElement\"](\"div\",{style:o})}var Lx=10,Dx=function(e){Object(me[\"a\"])(n,e);var t=Object(ye[\"a\"])(n);function n(){var e;Object(ve[\"a\"])(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),e.destroyed=!1,e.delayedDragEnterLogic=void 0,e.loadingRetryTimes={},e.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:Fb()},e.dragStartMousePosition=null,e.dragNode=void 0,e.currentMouseOverDroppableNodeKey=null,e.listRef=j[\"createRef\"](),e.onNodeDragStart=function(t,n){var r=e.state,o=r.expandedKeys,i=r.keyEntities,a=e.props.onDragStart,c=n.props.eventKey;e.dragNode=n,e.dragStartMousePosition={x:t.clientX,y:t.clientY};var u=Qb(o,c);e.setState({draggingNodeKey:c,dragChildrenKeys:rx(c,i),indent:e.listRef.current.getIndentWidth()}),e.setExpandedKeys(u),window.addEventListener(\"dragend\",e.onWindowDragEnd),null===a||void 0===a||a({event:t,node:Wb(n.props)})},e.onNodeDragEnter=function(t,n){var r=e.state,o=r.expandedKeys,i=r.keyEntities,a=r.dragChildrenKeys,c=r.flattenNodes,u=r.indent,s=e.props,l=s.onDragEnter,f=s.onExpand,d=s.allowDrop,h=s.direction,p=n.props,v=p.pos,g=p.eventKey,m=Object(Vt[\"a\"])(e),y=m.dragNode;if(e.currentMouseOverDroppableNodeKey!==g&&(e.currentMouseOverDroppableNodeKey=g),y){var b=ax(t,y,n,u,e.dragStartMousePosition,d,c,i,o,h),x=b.dropPosition,w=b.dropLevelOffset,O=b.dropTargetKey,E=b.dropContainerKey,S=b.dropTargetPos,j=b.dropAllowed,k=b.dragOverNodeKey;-1===a.indexOf(O)&&j?(e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach((function(t){clearTimeout(e.delayedDragEnterLogic[t])})),y.props.eventKey!==n.props.eventKey&&(t.persist(),e.delayedDragEnterLogic[v]=window.setTimeout((function(){if(null!==e.state.draggingNodeKey){var r=Object(re[\"a\"])(o),a=i[n.props.eventKey];a&&(a.children||[]).length&&(r=Jb(o,n.props.eventKey)),\"expandedKeys\"in e.props||e.setExpandedKeys(r),null===f||void 0===f||f(r,{node:Wb(n.props),expanded:!0,nativeEvent:t.nativeEvent})}}),800)),y.props.eventKey!==O||0!==w?(e.setState({dragOverNodeKey:k,dropPosition:x,dropLevelOffset:w,dropTargetKey:O,dropContainerKey:E,dropTargetPos:S,dropAllowed:j}),null===l||void 0===l||l({event:t,node:Wb(n.props),expandedKeys:o})):e.resetDragState()):e.resetDragState()}else e.resetDragState()},e.onNodeDragOver=function(t,n){var r=e.state,o=r.dragChildrenKeys,i=r.flattenNodes,a=r.keyEntities,c=r.expandedKeys,u=r.indent,s=e.props,l=s.onDragOver,f=s.allowDrop,d=s.direction,h=Object(Vt[\"a\"])(e),p=h.dragNode;if(p){var v=ax(t,p,n,u,e.dragStartMousePosition,f,i,a,c,d),g=v.dropPosition,m=v.dropLevelOffset,y=v.dropTargetKey,b=v.dropContainerKey,x=v.dropAllowed,w=v.dropTargetPos,O=v.dragOverNodeKey;-1===o.indexOf(y)&&x&&(p.props.eventKey===y&&0===m?null===e.state.dropPosition&&null===e.state.dropLevelOffset&&null===e.state.dropTargetKey&&null===e.state.dropContainerKey&&null===e.state.dropTargetPos&&!1===e.state.dropAllowed&&null===e.state.dragOverNodeKey||e.resetDragState():g===e.state.dropPosition&&m===e.state.dropLevelOffset&&y===e.state.dropTargetKey&&b===e.state.dropContainerKey&&w===e.state.dropTargetPos&&x===e.state.dropAllowed&&O===e.state.dragOverNodeKey||e.setState({dropPosition:g,dropLevelOffset:m,dropTargetKey:y,dropContainerKey:b,dropTargetPos:w,dropAllowed:x,dragOverNodeKey:O}),null===l||void 0===l||l({event:t,node:Wb(n.props)}))}},e.onNodeDragLeave=function(t,n){e.currentMouseOverDroppableNodeKey!==n.props.eventKey||t.currentTarget.contains(t.relatedTarget)||(e.resetDragState(),e.currentMouseOverDroppableNodeKey=null);var r=e.props.onDragLeave;null===r||void 0===r||r({event:t,node:Wb(n.props)})},e.onWindowDragEnd=function(t){e.onNodeDragEnd(t,null,!0),window.removeEventListener(\"dragend\",e.onWindowDragEnd)},e.onNodeDragEnd=function(t,n){var r=e.props.onDragEnd;e.setState({dragOverNodeKey:null}),e.cleanDragState(),null===r||void 0===r||r({event:t,node:Wb(n.props)}),e.dragNode=null,window.removeEventListener(\"dragend\",e.onWindowDragEnd)},e.onNodeDrop=function(t,n){var r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=e.state,a=i.dragChildrenKeys,c=i.dropPosition,u=i.dropTargetKey,s=i.dropTargetPos,l=i.dropAllowed;if(l){var f=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==u){var d=Object(S[\"a\"])(Object(S[\"a\"])({},Vb(u,e.getTreeNodeRequiredProps())),{},{active:(null===(r=e.getActiveItem())||void 0===r?void 0:r.key)===u,data:e.state.keyEntities[u].node}),h=-1!==a.indexOf(u);Object(ce[\"a\"])(!h,\"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.\");var p=ex(s),v={event:t,node:Wb(d),dragNode:e.dragNode?Wb(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(a),dropToGap:0!==c,dropPosition:c+Number(p[p.length-1])};o||null===f||void 0===f||f(v),e.dragNode=null}}},e.cleanDragState=function(){var t=e.state.draggingNodeKey;null!==t&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null},e.triggerExpandActionExpand=function(t,n){var r=e.state,o=r.expandedKeys,i=r.flattenNodes,a=n.expanded,c=n.key,u=n.isLeaf;if(!(u||t.shiftKey||t.metaKey||t.ctrlKey)){var s=i.filter((function(e){return e.key===c}))[0],l=Wb(Object(S[\"a\"])(Object(S[\"a\"])({},Vb(c,e.getTreeNodeRequiredProps())),{},{data:s.data}));e.setExpandedKeys(a?Qb(o,c):Jb(o,c)),e.onNodeExpand(t,l)}},e.onNodeClick=function(t,n){var r=e.props,o=r.onClick,i=r.expandAction;\"click\"===i&&e.triggerExpandActionExpand(t,n),null===o||void 0===o||o(t,n)},e.onNodeDoubleClick=function(t,n){var r=e.props,o=r.onDoubleClick,i=r.expandAction;\"doubleClick\"===i&&e.triggerExpandActionExpand(t,n),null===o||void 0===o||o(t,n)},e.onNodeSelect=function(t,n){var r=e.state.selectedKeys,o=e.state,i=o.keyEntities,a=o.fieldNames,c=e.props,u=c.onSelect,s=c.multiple,l=n.selected,f=n[a.key],d=!l;r=d?s?Jb(r,f):[f]:Qb(r,f);var h=r.map((function(e){var t=i[e];return t?t.node:null})).filter((function(e){return e}));e.setUncontrolledState({selectedKeys:r}),null===u||void 0===u||u(r,{event:\"select\",selected:d,node:n,selectedNodes:h,nativeEvent:t.nativeEvent})},e.onNodeCheck=function(t,n,r){var o,i=e.state,a=i.keyEntities,c=i.checkedKeys,u=i.halfCheckedKeys,s=e.props,l=s.checkStrictly,f=s.onCheck,d=n.key,h={event:\"check\",node:n,checked:r,nativeEvent:t.nativeEvent};if(l){var p=r?Jb(c,d):Qb(c,d),v=Qb(u,d);o={checked:p,halfChecked:v},h.checkedNodes=p.map((function(e){return a[e]})).filter((function(e){return e})).map((function(e){return e.node})),e.setUncontrolledState({checkedKeys:p})}else{var g=Ix([].concat(Object(re[\"a\"])(c),[d]),!0,a),m=g.checkedKeys,y=g.halfCheckedKeys;if(!r){var b=new Set(m);b.delete(d);var x=Ix(Array.from(b),{checked:!1,halfCheckedKeys:y},a);m=x.checkedKeys,y=x.halfCheckedKeys}o=m,h.checkedNodes=[],h.checkedNodesPositions=[],h.halfCheckedKeys=y,m.forEach((function(e){var t=a[e];if(t){var n=t.node,r=t.pos;h.checkedNodes.push(n),h.checkedNodesPositions.push({node:n,pos:r})}})),e.setUncontrolledState({checkedKeys:m},!1,{halfCheckedKeys:y})}null===f||void 0===f||f(o,h)},e.onNodeLoad=function(t){var n=t.key,r=new Promise((function(r,o){e.setState((function(i){var a=i.loadedKeys,c=void 0===a?[]:a,u=i.loadingKeys,s=void 0===u?[]:u,l=e.props,f=l.loadData,d=l.onLoad;if(!f||-1!==c.indexOf(n)||-1!==s.indexOf(n))return null;var h=f(t);return h.then((function(){var o=e.state.loadedKeys,i=Jb(o,n);null===d||void 0===d||d(i,{event:\"load\",node:t}),e.setUncontrolledState({loadedKeys:i}),e.setState((function(e){return{loadingKeys:Qb(e.loadingKeys,n)}})),r()})).catch((function(t){if(e.setState((function(e){return{loadingKeys:Qb(e.loadingKeys,n)}})),e.loadingRetryTimes[n]=(e.loadingRetryTimes[n]||0)+1,e.loadingRetryTimes[n]>=Lx){var i=e.state.loadedKeys;Object(ce[\"a\"])(!1,\"Retry for `loadData` many times but still failed. No more retry.\"),e.setUncontrolledState({loadedKeys:Jb(i,n)}),r()}o(t)})),{loadingKeys:Jb(s,n)}}))}));return r.catch((function(){})),r},e.onNodeMouseEnter=function(t,n){var r=e.props.onMouseEnter;null===r||void 0===r||r({event:t,node:n})},e.onNodeMouseLeave=function(t,n){var r=e.props.onMouseLeave;null===r||void 0===r||r({event:t,node:n})},e.onNodeContextMenu=function(t,n){var r=e.props.onRightClick;r&&(t.preventDefault(),r({event:t,node:n}))},e.onFocus=function(){var t=e.props.onFocus;e.setState({focused:!0});for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];null===t||void 0===t||t.apply(void 0,r)},e.onBlur=function(){var t=e.props.onBlur;e.setState({focused:!1}),e.onActiveChange(null);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];null===t||void 0===t||t.apply(void 0,r)},e.getTreeNodeRequiredProps=function(){var t=e.state,n=t.expandedKeys,r=t.selectedKeys,o=t.loadedKeys,i=t.loadingKeys,a=t.checkedKeys,c=t.halfCheckedKeys,u=t.dragOverNodeKey,s=t.dropPosition,l=t.keyEntities;return{expandedKeys:n||[],selectedKeys:r||[],loadedKeys:o||[],loadingKeys:i||[],checkedKeys:a||[],halfCheckedKeys:c||[],dragOverNodeKey:u,dropPosition:s,keyEntities:l}},e.setExpandedKeys=function(t){var n=e.state,r=n.treeData,o=n.fieldNames,i=zb(r,t,o);e.setUncontrolledState({expandedKeys:t,flattenNodes:i},!0)},e.onNodeExpand=function(t,n){var r=e.state.expandedKeys,o=e.state,i=o.listChanging,a=o.fieldNames,c=e.props,u=c.onExpand,s=c.loadData,l=n.expanded,f=n[a.key];if(!i){var d=r.indexOf(f),h=!l;if(Object(ce[\"a\"])(l&&-1!==d||!l&&-1===d,\"Expand state not sync with index check\"),r=h?Jb(r,f):Qb(r,f),e.setExpandedKeys(r),null===u||void 0===u||u(r,{node:n,expanded:h,nativeEvent:t.nativeEvent}),h&&s){var p=e.onNodeLoad(n);p&&p.then((function(){var t=zb(e.state.treeData,r,a);e.setUncontrolledState({flattenNodes:t})})).catch((function(){var t=e.state.expandedKeys,n=Qb(t,f);e.setExpandedKeys(n)}))}}},e.onListChangeStart=function(){e.setUncontrolledState({listChanging:!0})},e.onListChangeEnd=function(){setTimeout((function(){e.setUncontrolledState({listChanging:!1})}))},e.onActiveChange=function(t){var n=e.state.activeKey,r=e.props.onActiveChange;n!==t&&(e.setState({activeKey:t}),null!==t&&e.scrollTo({key:t}),null===r||void 0===r||r(t))},e.getActiveItem=function(){var t=e.state,n=t.activeKey,r=t.flattenNodes;return null===n?null:r.find((function(e){var t=e.key;return t===n}))||null},e.offsetActiveKey=function(t){var n=e.state,r=n.flattenNodes,o=n.activeKey,i=r.findIndex((function(e){var t=e.key;return t===o}));-1===i&&t<0&&(i=r.length),i=(i+t+r.length)%r.length;var a=r[i];if(a){var c=a.key;e.onActiveChange(c)}else e.onActiveChange(null)},e.onKeyDown=function(t){var n=e.state,r=n.activeKey,o=n.expandedKeys,i=n.checkedKeys,a=n.fieldNames,c=e.props,u=c.onKeyDown,s=c.checkable,l=c.selectable;switch(t.which){case Me.UP:e.offsetActiveKey(-1),t.preventDefault();break;case Me.DOWN:e.offsetActiveKey(1),t.preventDefault();break}var f=e.getActiveItem();if(f&&f.data){var d=e.getTreeNodeRequiredProps(),h=!1===f.data.isLeaf||!!(f.data[a.children]||[]).length,p=Wb(Object(S[\"a\"])(Object(S[\"a\"])({},Vb(r,d)),{},{data:f.data,active:!0}));switch(t.which){case Me.LEFT:h&&o.includes(r)?e.onNodeExpand({},p):f.parent&&e.onActiveChange(f.parent.key),t.preventDefault();break;case Me.RIGHT:h&&!o.includes(r)?e.onNodeExpand({},p):f.children&&f.children.length&&e.onActiveChange(f.children[0].key),t.preventDefault();break;case Me.ENTER:case Me.SPACE:!s||p.disabled||!1===p.checkable||p.disableCheckbox?s||!l||p.disabled||!1===p.selectable||e.onNodeSelect({},p):e.onNodeCheck({},p,!i.includes(r));break}}null===u||void 0===u||u(t)},e.setUncontrolledState=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var o=!1,i=!0,a={};Object.keys(t).forEach((function(n){n in e.props?i=!1:(o=!0,a[n]=t[n])})),!o||n&&!i||e.setState(Object(S[\"a\"])(Object(S[\"a\"])({},a),r))}},e.scrollTo=function(t){e.listRef.current.scrollTo(t)},e}return Object(ge[\"a\"])(n,[{key:\"componentDidMount\",value:function(){this.destroyed=!1,this.onUpdated()}},{key:\"componentDidUpdate\",value:function(){this.onUpdated()}},{key:\"onUpdated\",value:function(){var e=this.props.activeKey;void 0!==e&&e!==this.state.activeKey&&(this.setState({activeKey:e}),null!==e&&this.scrollTo({key:e}))}},{key:\"componentWillUnmount\",value:function(){window.removeEventListener(\"dragend\",this.onWindowDragEnd),this.destroyed=!0}},{key:\"resetDragState\",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:\"render\",value:function(){var e,t,n=this.state,r=n.focused,o=n.flattenNodes,i=n.keyEntities,a=n.draggingNodeKey,c=n.activeKey,u=n.dropLevelOffset,s=n.dropContainerKey,l=n.dropTargetKey,f=n.dropPosition,d=n.dragOverNodeKey,h=n.indent,p=this.props,v=p.prefixCls,g=p.className,m=p.style,y=p.showLine,b=p.focusable,x=p.tabIndex,E=void 0===x?0:x,S=p.selectable,k=p.showIcon,_=p.icon,C=p.switcherIcon,M=p.draggable,A=p.checkable,N=p.checkStrictly,T=p.disabled,I=p.motion,P=p.loadData,L=p.filterTreeNode,D=p.height,F=p.itemHeight,z=p.virtual,U=p.titleRender,G=p.dropIndicatorRender,V=p.onContextMenu,W=p.onScroll,H=p.direction,Y=p.rootClassName,X=p.rootStyle,q=qd(this.props,{aria:!0,data:!0});return M&&(t=\"object\"===Object(B[\"a\"])(M)?M:\"function\"===typeof M?{nodeDraggable:M}:{}),j[\"createElement\"](Ib.Provider,{value:{prefixCls:v,selectable:S,showIcon:k,icon:_,switcherIcon:C,draggable:t,draggingNodeKey:a,checkable:A,checkStrictly:N,disabled:T,keyEntities:i,dropLevelOffset:u,dropContainerKey:s,dropTargetKey:l,dropPosition:f,dragOverNodeKey:d,indent:h,direction:H,dropIndicatorRender:G,loadData:P,filterTreeNode:L,titleRender:U,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},j[\"createElement\"](\"div\",{role:\"tree\",className:R()(v,g,Y,(e={},Object(w[\"a\"])(e,\"\".concat(v,\"-show-line\"),y),Object(w[\"a\"])(e,\"\".concat(v,\"-focused\"),r),Object(w[\"a\"])(e,\"\".concat(v,\"-active-focused\"),null!==c),e)),style:X},j[\"createElement\"](Cx,Object(O[\"a\"])({ref:this.listRef,prefixCls:v,style:m,data:o,disabled:T,selectable:S,checkable:!!A,motion:I,dragging:null!==a,height:D,itemHeight:F,virtual:z,focusable:b,focused:r,tabIndex:E,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:V,onScroll:W},this.getTreeNodeRequiredProps(),q))))}}],[{key:\"getDerivedStateFromProps\",value:function(e,t){var n,r=t.prevProps,o={prevProps:e};function i(t){return!r&&t in e||r&&r[t]!==e[t]}var a=t.fieldNames;if(i(\"fieldNames\")&&(a=Fb(e.fieldNames),o.fieldNames=a),i(\"treeData\")?n=e.treeData:i(\"children\")&&(Object(ce[\"a\"])(!1,\"`children` of Tree is deprecated. Please use `treeData` instead.\"),n=Bb(e.children)),n){o.treeData=n;var c=Gb(n,{fieldNames:a});o.keyEntities=Object(S[\"a\"])(Object(w[\"a\"])({},xx,Ox),c.keyEntities)}var u,s=o.keyEntities||t.keyEntities;if(i(\"expandedKeys\")||r&&i(\"autoExpandParent\"))o.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?sx(e.expandedKeys,s):e.expandedKeys;else if(!r&&e.defaultExpandAll){var l=Object(S[\"a\"])({},s);delete l[xx],o.expandedKeys=Object.keys(l).map((function(e){return l[e].key}))}else!r&&e.defaultExpandedKeys&&(o.expandedKeys=e.autoExpandParent||e.defaultExpandParent?sx(e.defaultExpandedKeys,s):e.defaultExpandedKeys);if(o.expandedKeys||delete o.expandedKeys,n||o.expandedKeys){var f=zb(n||t.treeData,o.expandedKeys||t.expandedKeys,a);o.flattenNodes=f}if((e.selectable&&(i(\"selectedKeys\")?o.selectedKeys=cx(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(o.selectedKeys=cx(e.defaultSelectedKeys,e))),e.checkable)&&(i(\"checkedKeys\")?u=ux(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?u=ux(e.defaultCheckedKeys)||{}:n&&(u=ux(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),u)){var d=u,h=d.checkedKeys,p=void 0===h?[]:h,v=d.halfCheckedKeys,g=void 0===v?[]:v;if(!e.checkStrictly){var m=Ix(p,!0,s);p=m.checkedKeys,g=m.halfCheckedKeys}o.checkedKeys=p,o.halfCheckedKeys=g}return i(\"loadedKeys\")&&(o.loadedKeys=e.loadedKeys),o}}]),n}(j[\"Component\"]);Dx.defaultProps={prefixCls:\"rc-tree\",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Px,allowDrop:function(){return!0},expandAction:!1},Dx.TreeNode=$b;var Rx=Dx,Fx=Rx,Bx={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z\"}}]},name:\"holder\",theme:\"outlined\"},zx=Bx,Ux=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:zx}))};Ux.displayName=\"HolderOutlined\";var Gx=j[\"forwardRef\"](Ux),Vx=4;function Wx(e){var t,n=e.dropPosition,r=e.dropLevelOffset,o=e.prefixCls,i=e.indent,a=e.direction,c=void 0===a?\"ltr\":a,u=\"ltr\"===c?\"left\":\"right\",s=\"ltr\"===c?\"right\":\"left\",l=(t={},Object(w[\"a\"])(t,u,-r*i+Vx),Object(w[\"a\"])(t,s,0),t);switch(n){case-1:l.top=-3;break;case 1:l.bottom=-3;break;default:l.bottom=-3,l[u]=i+Vx;break}return k.a.createElement(\"div\",{style:l,className:\"\".concat(o,\"-drop-indicator\")})}var Hx={icon:{tag:\"svg\",attrs:{viewBox:\"0 0 1024 1024\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z\"}}]},name:\"caret-down\",theme:\"filled\"},Yx=Hx,Xx=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:Yx}))};Xx.displayName=\"CaretDownFilled\";var qx=j[\"forwardRef\"](Xx),Kx={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z\"}}]},name:\"file\",theme:\"outlined\"},Zx=Kx,$x=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:Zx}))};$x.displayName=\"FileOutlined\";var Qx=j[\"forwardRef\"]($x),Jx={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z\"}},{tag:\"path\",attrs:{d:\"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z\"}}]},name:\"minus-square\",theme:\"outlined\"},ew=Jx,tw=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:ew}))};tw.displayName=\"MinusSquareOutlined\";var nw=j[\"forwardRef\"](tw),rw={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z\"}},{tag:\"path\",attrs:{d:\"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z\"}}]},name:\"plus-square\",theme:\"outlined\"},ow=rw,iw=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:ow}))};iw.displayName=\"PlusSquareOutlined\";var aw=j[\"forwardRef\"](iw);function cw(e,t,n,r){var o,i=r.isLeaf,a=r.expanded,c=r.loading;if(c)return j[\"createElement\"](Wc[\"a\"],{className:\"\".concat(e,\"-switcher-loading-icon\")});if(n&&\"object\"===Object(B[\"a\"])(n)&&(o=n.showLeafIcon),i){if(!n)return null;if(\"boolean\"!==typeof o&&o){var u=\"function\"===typeof o?o(r):o,s=\"\".concat(e,\"-switcher-line-custom-icon\");return wa(u)?Sa(u,{className:R()(u.props.className||\"\",s)}):u}return o?j[\"createElement\"](Qx,{className:\"\".concat(e,\"-switcher-line-icon\")}):j[\"createElement\"](\"span\",{className:\"\".concat(e,\"-switcher-leaf-line\")})}var l=\"\".concat(e,\"-switcher-icon\"),f=\"function\"===typeof t?t(r):t;return wa(f)?Sa(f,{className:R()(f.props.className||\"\",l)}):f||(n?a?j[\"createElement\"](nw,{className:\"\".concat(e,\"-switcher-line-icon\")}):j[\"createElement\"](aw,{className:\"\".concat(e,\"-switcher-line-icon\")}):j[\"createElement\"](qx,{className:l}))}var uw=j[\"forwardRef\"]((function(e,t){var n,r=j[\"useContext\"](Ri[\"b\"]),o=r.getPrefixCls,i=r.direction,a=r.virtual,c=e.prefixCls,u=e.className,s=e.showIcon,l=void 0!==s&&s,f=e.showLine,d=e.switcherIcon,h=e.blockNode,p=void 0!==h&&h,v=e.children,g=e.checkable,m=void 0!==g&&g,y=e.selectable,b=void 0===y||y,x=e.draggable,E=e.motion,S=void 0===E?Object(O[\"a\"])(Object(O[\"a\"])({},Xi),{motionAppear:!1}):E,k=o(\"tree\",c),_=Object(O[\"a\"])(Object(O[\"a\"])({},e),{checkable:m,selectable:b,showIcon:l,motion:S,blockNode:p,showLine:Boolean(f),dropIndicatorRender:Wx}),C=j[\"useMemo\"]((function(){if(!x)return!1;var e={};switch(Object(B[\"a\"])(x)){case\"function\":e.nodeDraggable=x;break;case\"object\":e=Object(O[\"a\"])({},x);break;default:break}return!1!==e.icon&&(e.icon=e.icon||j[\"createElement\"](Gx,null)),e}),[x]);return j[\"createElement\"](Fx,Object(O[\"a\"])({itemHeight:20,ref:t,virtual:a},_,{prefixCls:k,className:R()((n={},Object(w[\"a\"])(n,\"\".concat(k,\"-icon-hide\"),!l),Object(w[\"a\"])(n,\"\".concat(k,\"-block-node\"),p),Object(w[\"a\"])(n,\"\".concat(k,\"-unselectable\"),!b),Object(w[\"a\"])(n,\"\".concat(k,\"-rtl\"),\"rtl\"===i),n),u),direction:i,checkable:m?j[\"createElement\"](\"span\",{className:\"\".concat(k,\"-checkbox-inner\")}):m,selectable:b,switcherIcon:function(e){return cw(k,d,f,e)},draggable:C}),v)})),sw=uw,lw={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z\"}}]},name:\"folder-open\",theme:\"outlined\"},fw=lw,dw=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:fw}))};dw.displayName=\"FolderOpenOutlined\";var hw=j[\"forwardRef\"](dw),pw={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z\"}}]},name:\"folder\",theme:\"outlined\"},vw=pw,gw=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:vw}))};gw.displayName=\"FolderOutlined\";var mw,yw=j[\"forwardRef\"](gw);function bw(e,t){function n(e){var n=e.key,r=e.children;!1!==t(n,e)&&bw(r||[],t)}e.forEach(n)}function xw(e){var t=e.treeData,n=e.expandedKeys,r=e.startKey,o=e.endKey,i=[],a=mw.None;if(r&&r===o)return[r];if(!r||!o)return[];function c(e){return e===r||e===o}return bw(t,(function(e){if(a===mw.End)return!1;if(c(e)){if(i.push(e),a===mw.None)a=mw.Start;else if(a===mw.Start)return a=mw.End,!1}else a===mw.Start&&i.push(e);return n.includes(e)})),i}function ww(e,t){var n=Object(re[\"a\"])(t),r=[];return bw(e,(function(e,t){var o=n.indexOf(e);return-1!==o&&(r.push(t),n.splice(o,1)),!!n.length})),r}(function(e){e[e[\"None\"]=0]=\"None\",e[e[\"Start\"]=1]=\"Start\",e[e[\"End\"]=2]=\"End\"})(mw||(mw={}));var Ow=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function Ew(e){var t=e.isLeaf,n=e.expanded;return t?j[\"createElement\"](Qx,null):n?j[\"createElement\"](hw,null):j[\"createElement\"](yw,null)}function Sw(e){var t=e.treeData,n=e.children;return t||Bb(n)}var jw=function(e,t){var n=e.defaultExpandAll,r=e.defaultExpandParent,o=e.defaultExpandedKeys,i=Ow(e,[\"defaultExpandAll\",\"defaultExpandParent\",\"defaultExpandedKeys\"]),a=j[\"useRef\"](),c=j[\"useRef\"](),u=function(){var e,t=Gb(Sw(i)),a=t.keyEntities;return e=n?Object.keys(a):r?sx(i.expandedKeys||o||[],a):i.expandedKeys||o,e},s=j[\"useState\"](i.selectedKeys||i.defaultSelectedKeys||[]),l=Object(F[\"a\"])(s,2),f=l[0],d=l[1],h=j[\"useState\"]((function(){return u()})),p=Object(F[\"a\"])(h,2),v=p[0],g=p[1];j[\"useEffect\"]((function(){\"selectedKeys\"in i&&d(i.selectedKeys)}),[i.selectedKeys]),j[\"useEffect\"]((function(){\"expandedKeys\"in i&&g(i.expandedKeys)}),[i.expandedKeys]);var m=function(e,t){var n;return\"expandedKeys\"in i||g(e),null===(n=i.onExpand)||void 0===n?void 0:n.call(i,e,t)},y=function(e,t){var n,r,o=i.multiple,u=t.node,s=t.nativeEvent,l=u.key,f=void 0===l?\"\":l,h=Sw(i),p=Object(O[\"a\"])(Object(O[\"a\"])({},t),{selected:!0}),g=(null===s||void 0===s?void 0:s.ctrlKey)||(null===s||void 0===s?void 0:s.metaKey),m=null===s||void 0===s?void 0:s.shiftKey;o&&g?(r=e,a.current=f,c.current=r,p.selectedNodes=ww(h,r)):o&&m?(r=Array.from(new Set([].concat(Object(re[\"a\"])(c.current||[]),Object(re[\"a\"])(xw({treeData:h,expandedKeys:v,startKey:f,endKey:a.current}))))),p.selectedNodes=ww(h,r)):(r=[f],a.current=f,c.current=r,p.selectedNodes=ww(h,r)),null===(n=i.onSelect)||void 0===n||n.call(i,r,p),\"selectedKeys\"in i||d(r)},b=j[\"useContext\"](Ri[\"b\"]),x=b.getPrefixCls,E=b.direction,S=i.prefixCls,k=i.className,_=i.showIcon,C=void 0===_||_,M=i.expandAction,A=void 0===M?\"click\":M,N=Ow(i,[\"prefixCls\",\"className\",\"showIcon\",\"expandAction\"]),T=x(\"tree\",S),I=R()(\"\".concat(T,\"-directory\"),Object(w[\"a\"])({},\"\".concat(T,\"-directory-rtl\"),\"rtl\"===E),k);return j[\"createElement\"](sw,Object(O[\"a\"])({icon:Ew,ref:t,blockNode:!0},N,{showIcon:C,expandAction:A,prefixCls:T,className:I,expandedKeys:v,selectedKeys:f,onSelect:y,onExpand:m}))},kw=j[\"forwardRef\"](jw);var _w=kw,Cw=sw;Cw.DirectoryTree=_w,Cw.TreeNode=$b;var Mw=Cw;function Aw(e){var t=j[\"useRef\"](e),n=ev();return[function(){return t.current},function(e){t.current=e,n()}]}function Nw(e){var t=e.value,n=e.onChange,r=e.filterSearch,o=e.tablePrefixCls,i=e.locale;return r?j[\"createElement\"](\"div\",{className:\"\".concat(o,\"-filter-dropdown-search\")},j[\"createElement\"](Iu,{prefix:j[\"createElement\"](Ac,null),placeholder:i.filterSearchPlaceholder,onChange:n,value:t,htmlSize:1,className:\"\".concat(o,\"-filter-dropdown-search-input\")})):null}var Tw=Nw,Iw=function(e){var t=e.keyCode;t===Me.ENTER&&e.stopPropagation()},Pw=function(e){return j[\"createElement\"](\"div\",{className:e.className,onClick:function(e){return e.stopPropagation()},onKeyDown:Iw},e.children)},Lw=Pw;function Dw(e){return e.some((function(e){var t=e.children;return t}))}function Rw(e,t){return(\"string\"===typeof t||\"number\"===typeof t)&&(null===t||void 0===t?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()))}function Fw(e){var t=e.filters,n=e.prefixCls,r=e.filteredKeys,o=e.filterMultiple,i=e.searchValue,a=e.filterSearch;return t.map((function(e,t){var c=String(e.value);if(e.children)return{key:c||t,label:e.text,popupClassName:\"\".concat(n,\"-dropdown-submenu\"),children:Fw({filters:e.children,prefixCls:n,filteredKeys:r,filterMultiple:o,searchValue:i,filterSearch:a})};var u=o?ky:Tb,s={key:void 0!==e.value?c:t,label:j[\"createElement\"](j[\"Fragment\"],null,j[\"createElement\"](u,{checked:r.includes(c)}),j[\"createElement\"](\"span\",null,e.text))};return i.trim()?\"function\"===typeof a?a(i,e)?s:null:Rw(i,e.text)?s:null:s}))}function Bw(e){var t,n,r=e.tablePrefixCls,o=e.prefixCls,i=e.column,a=e.dropdownPrefixCls,c=e.columnKey,u=e.filterMultiple,s=e.filterMode,l=void 0===s?\"menu\":s,f=e.filterSearch,d=void 0!==f&&f,h=e.filterState,p=e.triggerFilter,v=e.locale,g=e.children,m=e.getPopupContainer,y=i.filterDropdownOpen,b=i.onFilterDropdownOpenChange,x=i.filterDropdownVisible,E=i.onFilterDropdownVisibleChange,S=i.filterResetToDefaultFilteredValue,k=i.defaultFilteredValue,_=j[\"useState\"](!1),C=Object(F[\"a\"])(_,2),M=C[0],A=C[1],N=!(!h||!(null===(t=h.filteredKeys)||void 0===t?void 0:t.length)&&!h.forceFiltered),T=function(e){A(e),null===b||void 0===b||b(e),null===E||void 0===E||E(e)};n=\"boolean\"===typeof y?y:\"boolean\"===typeof x?x:M;var I=null===h||void 0===h?void 0:h.filteredKeys,P=Aw(I||[]),L=Object(F[\"a\"])(P,2),D=L[0],B=L[1],z=function(e){var t=e.selectedKeys;B(t)},U=function(e,t){var n=t.node,r=t.checked;z(u?{selectedKeys:e}:{selectedKeys:r&&n.key?[n.key]:[]})};j[\"useEffect\"]((function(){M&&z({selectedKeys:I||[]})}),[I]);var G=j[\"useState\"]([]),V=Object(F[\"a\"])(G,2),W=V[0],H=V[1],Y=function(e){H(e)},X=j[\"useState\"](\"\"),q=Object(F[\"a\"])(X,2),K=q[0],Z=q[1],$=function(e){var t=e.target.value;Z(t)};j[\"useEffect\"]((function(){M||Z(\"\")}),[M]);var Q,J=function(e){var t=e&&e.length?e:null;return null!==t||h&&h.filteredKeys?kr()(t,null===h||void 0===h?void 0:h.filteredKeys)?null:void p({column:i,key:c,filteredKeys:t}):null},ee=function(){T(!1),J(D())},te=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1},t=e.confirm,n=e.closeDropdown;t&&J([]),n&&T(!1),Z(\"\"),B(S?(k||[]).map((function(e){return String(e)})):[])},ne=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0},t=e.closeDropdown;t&&T(!1),J(D())},re=function(e){e&&void 0!==I&&B(I||[]),T(e),e||i.filterDropdown||ee()},oe=R()(Object(w[\"a\"])({},\"\".concat(a,\"-menu-without-submenu\"),!Dw(i.filters||[]))),ie=function(e){if(e.target.checked){var t=Vw(null===i||void 0===i?void 0:i.filters).map((function(e){return String(e)}));B(t)}else B([])},ae=function e(t){var n=t.filters;return(n||[]).map((function(t,n){var r=String(t.value),o={title:t.text,key:void 0!==t.value?r:n};return t.children&&(o.children=e({filters:t.children})),o}))},ce=function e(t){var n;return Object(O[\"a\"])(Object(O[\"a\"])({},t),{text:t.title,value:t.key,children:(null===(n=t.children)||void 0===n?void 0:n.map((function(t){return e(t)})))||[]})};if(\"function\"===typeof i.filterDropdown)Q=i.filterDropdown({prefixCls:\"\".concat(a,\"-custom\"),setSelectedKeys:function(e){return z({selectedKeys:e})},selectedKeys:D(),confirm:ne,clearFilters:te,filters:i.filters,visible:n,close:function(){T(!1)}});else if(i.filterDropdown)Q=i.filterDropdown;else{var ue=D()||[],se=function(){return 0===(i.filters||[]).length?j[\"createElement\"]($p,{image:$p.PRESENTED_IMAGE_SIMPLE,description:v.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:\"16px 0\"}}):\"tree\"===l?j[\"createElement\"](j[\"Fragment\"],null,j[\"createElement\"](Tw,{filterSearch:d,value:K,onChange:$,tablePrefixCls:r,locale:v}),j[\"createElement\"](\"div\",{className:\"\".concat(r,\"-filter-dropdown-tree\")},u?j[\"createElement\"](ky,{checked:ue.length===Vw(i.filters).length,indeterminate:ue.length>0&&ue.length<Vw(i.filters).length,className:\"\".concat(r,\"-filter-dropdown-checkall\"),onChange:ie},v.filterCheckall):null,j[\"createElement\"](Mw,{checkable:!0,selectable:!1,blockNode:!0,multiple:u,checkStrictly:!u,className:\"\".concat(a,\"-menu\"),onCheck:U,checkedKeys:ue,selectedKeys:ue,showIcon:!1,treeData:ae({filters:i.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:K.trim()?function(e){return\"function\"===typeof d?d(K,ce(e)):Rw(K,e.title)}:void 0}))):j[\"createElement\"](j[\"Fragment\"],null,j[\"createElement\"](Tw,{filterSearch:d,value:K,onChange:$,tablePrefixCls:r,locale:v}),j[\"createElement\"](tb,{selectable:!0,multiple:u,prefixCls:\"\".concat(a,\"-menu\"),className:oe,onSelect:z,onDeselect:z,selectedKeys:ue,getPopupContainer:m,openKeys:W,onOpenChange:Y,items:Fw({filters:i.filters||[],filterSearch:d,prefixCls:o,filteredKeys:D(),filterMultiple:u,searchValue:K})}))},le=function(){return S?kr()((k||[]).map((function(e){return String(e)})),ue):0===ue.length};Q=j[\"createElement\"](j[\"Fragment\"],null,se(),j[\"createElement\"](\"div\",{className:\"\".concat(o,\"-dropdown-btns\")},j[\"createElement\"](iu,{type:\"link\",size:\"small\",disabled:le(),onClick:function(){return te()}},v.filterReset),j[\"createElement\"](iu,{type:\"primary\",size:\"small\",onClick:ee},v.filterConfirm)))}i.filterDropdown&&(Q=j[\"createElement\"](Zy,{selectable:void 0},Q));var fe,de=function(){return j[\"createElement\"](Lw,{className:\"\".concat(o,\"-dropdown\")},Q)};fe=\"function\"===typeof i.filterIcon?i.filterIcon(N):i.filterIcon?i.filterIcon:j[\"createElement\"](hy,null);var he=j[\"useContext\"](Ri[\"b\"]),pe=he.direction;return j[\"createElement\"](\"div\",{className:\"\".concat(o,\"-column\")},j[\"createElement\"](\"span\",{className:\"\".concat(r,\"-column-title\")},g),j[\"createElement\"](vb,{dropdownRender:de,trigger:[\"click\"],open:n,onOpenChange:re,getPopupContainer:m,placement:\"rtl\"===pe?\"bottomLeft\":\"bottomRight\"},j[\"createElement\"](\"span\",{role:\"button\",tabIndex:-1,className:R()(\"\".concat(o,\"-trigger\"),{active:N}),onClick:function(e){e.stopPropagation()}},fe)))}var zw=Bw;function Uw(e,t,n){var r=[];return(e||[]).forEach((function(e,o){var i,a=cy(o,n);if(e.filters||\"filterDropdown\"in e||\"onFilter\"in e)if(\"filteredValue\"in e){var c=e.filteredValue;\"filterDropdown\"in e||(c=null!==(i=null===c||void 0===c?void 0:c.map(String))&&void 0!==i?i:c),r.push({column:e,key:ay(e,a),filteredKeys:c,forceFiltered:e.filtered})}else r.push({column:e,key:ay(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered});\"children\"in e&&(r=[].concat(Object(re[\"a\"])(r),Object(re[\"a\"])(Uw(e.children,t,a))))})),r}function Gw(e,t,n,r,o,i,a,c){return n.map((function(n,u){var s=cy(u,c),l=n.filterMultiple,f=void 0===l||l,d=n.filterMode,h=n.filterSearch,p=n;if(p.filters||p.filterDropdown){var v=ay(p,s),g=r.find((function(e){var t=e.key;return v===t}));p=Object(O[\"a\"])(Object(O[\"a\"])({},p),{title:function(r){return j[\"createElement\"](zw,{tablePrefixCls:e,prefixCls:\"\".concat(e,\"-filter\"),dropdownPrefixCls:t,column:p,columnKey:v,filterState:g,filterMultiple:f,filterMode:d,filterSearch:h,triggerFilter:o,locale:a,getPopupContainer:i},uy(n.title,r))}})}return\"children\"in p&&(p=Object(O[\"a\"])(Object(O[\"a\"])({},p),{children:Gw(e,t,p.children,r,o,i,a,s)})),p}))}function Vw(e){var t=[];return(e||[]).forEach((function(e){var n=e.value,r=e.children;t.push(n),r&&(t=[].concat(Object(re[\"a\"])(t),Object(re[\"a\"])(Vw(r))))})),t}function Ww(e){var t={};return e.forEach((function(e){var n=e.key,r=e.filteredKeys,o=e.column,i=o.filters,a=o.filterDropdown;if(a)t[n]=r||null;else if(Array.isArray(r)){var c=Vw(i);t[n]=c.filter((function(e){return r.includes(String(e))}))}else t[n]=null})),t}function Hw(e,t){return t.reduce((function(e,t){var n=t.column,r=n.onFilter,o=n.filters,i=t.filteredKeys;return r&&i&&i.length?e.filter((function(e){return i.some((function(t){var n=Vw(o),i=n.findIndex((function(e){return String(e)===String(t)})),a=-1!==i?n[i]:t;return r(a,e)}))})):e}),e)}function Yw(e){var t=e.prefixCls,n=e.dropdownPrefixCls,r=e.mergedColumns,o=e.onFilterChange,i=e.getPopupContainer,a=e.locale,c=j[\"useState\"]((function(){return Uw(r,!0)})),u=Object(F[\"a\"])(c,2),s=u[0],l=u[1],f=j[\"useMemo\"]((function(){var e=Uw(r,!1),t=!0;return e.forEach((function(e){var n=e.filteredKeys;void 0!==n?t=!1:!1})),t?s:e}),[r,s]),d=j[\"useMemo\"]((function(){return Ww(f)}),[f]),h=function(e){var t=f.filter((function(t){var n=t.key;return n!==e.key}));t.push(e),l(t),o(Ww(t),t)},p=function(e){return Gw(t,n,e,f,h,i,a)};return[p,f,d]}var Xw=Yw;function qw(e,t,n){var r=j[\"useRef\"]({});function o(o){if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){var i=new Map;function a(e){e.forEach((function(e,r){var o=n(e,r);i.set(o,e),e&&\"object\"===Object(B[\"a\"])(e)&&t in e&&a(e[t]||[])}))}a(e),r.current={data:e,childrenColumnName:t,kvMap:i,getRowKey:n}}return r.current.kvMap.get(o)}return[o]}var Kw=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Zw=10;function $w(e,t){var n={current:t.current,pageSize:t.pageSize},r=e&&\"object\"===Object(B[\"a\"])(e)?e:{};return Object.keys(r).forEach((function(e){var r=t[e];\"function\"!==typeof r&&(n[e]=r)})),n}function Qw(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){t&&Object.keys(t).forEach((function(n){var r=t[n];void 0!==r&&(e[n]=r)}))})),e}function Jw(e,t,n){var r=t&&\"object\"===Object(B[\"a\"])(t)?t:{},o=r.total,i=void 0===o?0:o,a=Kw(r,[\"total\"]),c=Object(j[\"useState\"])((function(){return{current:\"defaultCurrent\"in a?a.defaultCurrent:1,pageSize:\"defaultPageSize\"in a?a.defaultPageSize:Zw}})),u=Object(F[\"a\"])(c,2),s=u[0],l=u[1],f=Qw(s,a,{total:i>0?i:e}),d=Math.ceil((i||e)/f.pageSize);f.current>d&&(f.current=d||1);var h=function(e,t){l({current:null!==e&&void 0!==e?e:1,pageSize:t||f.pageSize})},p=function(e,r){var o;t&&(null===(o=t.onChange)||void 0===o||o.call(t,e,r)),h(e,r),n(e,r||(null===f||void 0===f?void 0:f.pageSize))};return!1===t?[{},function(){}]:[Object(O[\"a\"])(Object(O[\"a\"])({},f),{onChange:p}),h]}var eO={},tO=\"SELECT_ALL\",nO=\"SELECT_INVERT\",rO=\"SELECT_NONE\",oO=[];function iO(e,t){var n=[];return(e||[]).forEach((function(e){n.push(e),e&&\"object\"===Object(B[\"a\"])(e)&&t in e&&(n=[].concat(Object(re[\"a\"])(n),Object(re[\"a\"])(iO(e[t],t))))})),n}function aO(e,t){var n=e||{},r=n.preserveSelectedRowKeys,o=n.selectedRowKeys,i=n.defaultSelectedRowKeys,a=n.getCheckboxProps,c=n.onChange,u=n.onSelect,s=n.onSelectAll,l=n.onSelectInvert,f=n.onSelectNone,d=n.onSelectMultiple,h=n.columnWidth,p=n.type,v=n.selections,g=n.fixed,m=n.renderCell,y=n.hideSelectAll,b=n.checkStrictly,x=void 0===b||b,E=t.prefixCls,S=t.data,k=t.pageData,_=t.getRecordByKey,C=t.getRowKey,M=t.expandType,A=t.childrenColumnName,N=t.locale,T=t.getPopupContainer,I=Z(o||i||oO,{value:o}),P=Object(F[\"a\"])(I,2),L=P[0],D=P[1],R=j[\"useRef\"](new Map),B=Object(j[\"useCallback\"])((function(e){if(r){var t=new Map;e.forEach((function(e){var n=_(e);!n&&R.current.has(e)&&(n=R.current.get(e)),t.set(e,n)})),R.current=t}}),[_,r]);j[\"useEffect\"]((function(){B(L)}),[L]);var z=Object(j[\"useMemo\"])((function(){return x?{keyEntities:null}:Gb(S,{externalGetKey:C,childrenPropName:A})}),[S,C,x,A]),U=z.keyEntities,G=Object(j[\"useMemo\"])((function(){return iO(k,A)}),[k,A]),V=Object(j[\"useMemo\"])((function(){var e=new Map;return G.forEach((function(t,n){var r=C(t,n),o=(a?a(t):null)||{};e.set(r,o)})),e}),[G,C,a]),W=Object(j[\"useCallback\"])((function(e){var t;return!!(null===(t=V.get(C(e)))||void 0===t?void 0:t.disabled)}),[V,C]),H=Object(j[\"useMemo\"])((function(){if(x)return[L||[],[]];var e=Ix(L,!0,U,W),t=e.checkedKeys,n=e.halfCheckedKeys;return[t||[],n]}),[L,x,U,W]),Y=Object(F[\"a\"])(H,2),X=Y[0],q=Y[1],K=Object(j[\"useMemo\"])((function(){var e=\"radio\"===p?X.slice(0,1):X;return new Set(e)}),[X,p]),$=Object(j[\"useMemo\"])((function(){return\"radio\"===p?new Set:new Set(q)}),[q,p]),Q=Object(j[\"useState\"])(null),J=Object(F[\"a\"])(Q,2),ee=J[0],te=J[1];j[\"useEffect\"]((function(){e||D(oO)}),[!!e]);var ne=Object(j[\"useCallback\"])((function(e,t){var n,o;B(e),r?(n=e,o=e.map((function(e){return R.current.get(e)}))):(n=[],o=[],e.forEach((function(e){var t=_(e);void 0!==t&&(n.push(e),o.push(t))}))),D(n),null===c||void 0===c||c(n,o,{type:t})}),[D,_,c,r]),oe=Object(j[\"useCallback\"])((function(e,t,n,r){if(u){var o=n.map((function(e){return _(e)}));u(_(e),t,o,r)}ne(n,\"single\")}),[u,_,ne]),ie=Object(j[\"useMemo\"])((function(){if(!v||y)return null;var e=!0===v?[tO,nO,rO]:v;return e.map((function(e){return e===tO?{key:\"all\",text:N.selectionAll,onSelect:function(){ne(S.map((function(e,t){return C(e,t)})).filter((function(e){var t=V.get(e);return!(null===t||void 0===t?void 0:t.disabled)||K.has(e)})),\"all\")}}:e===nO?{key:\"invert\",text:N.selectInvert,onSelect:function(){var e=new Set(K);k.forEach((function(t,n){var r=C(t,n),o=V.get(r);(null===o||void 0===o?void 0:o.disabled)||(e.has(r)?e[\"delete\"](r):e.add(r))}));var t=Array.from(e);l&&l(t),ne(t,\"invert\")}}:e===rO?{key:\"none\",text:N.selectNone,onSelect:function(){null===f||void 0===f||f(),ne(Array.from(K).filter((function(e){var t=V.get(e);return null===t||void 0===t?void 0:t.disabled})),\"none\")}}:e})).map((function(e){return Object(O[\"a\"])(Object(O[\"a\"])({},e),{onSelect:function(){for(var t,n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];null===(n=e.onSelect)||void 0===n||(t=n).call.apply(t,[e].concat(o)),te(null)}})}))}),[v,K,k,C,l,ne]),ae=Object(j[\"useCallback\"])((function(t){var n;if(!e)return t.filter((function(e){return e!==eO}));var r,o,i=Object(re[\"a\"])(t),a=new Set(K),c=G.map(C).filter((function(e){return!V.get(e).disabled})),u=c.every((function(e){return a.has(e)})),l=c.some((function(e){return a.has(e)})),f=function(){var e=[];u?c.forEach((function(t){a[\"delete\"](t),e.push(t)})):c.forEach((function(t){a.has(t)||(a.add(t),e.push(t))}));var t=Array.from(a);null===s||void 0===s||s(!u,t.map((function(e){return _(e)})),e.map((function(e){return _(e)}))),ne(t,\"all\"),te(null)};if(\"radio\"!==p){var v;if(ie){var b={getPopupContainer:T,items:ie.map((function(e,t){var n=e.key,r=e.text,o=e.onSelect;return{key:n||t,onClick:function(){null===o||void 0===o||o(c)},label:r}}))};v=j[\"createElement\"](\"div\",{className:\"\".concat(E,\"-selection-extra\")},j[\"createElement\"](vb,{menu:b,getPopupContainer:T},j[\"createElement\"](\"span\",null,j[\"createElement\"](Ld,null))))}var S=G.map((function(e,t){var n=C(e,t),r=V.get(n)||{};return Object(O[\"a\"])({checked:a.has(n)},r)})).filter((function(e){var t=e.disabled;return t})),k=!!S.length&&S.length===G.length,A=k&&S.every((function(e){var t=e.checked;return t})),N=k&&S.some((function(e){var t=e.checked;return t}));r=!y&&j[\"createElement\"](\"div\",{className:\"\".concat(E,\"-selection\")},j[\"createElement\"](ky,{checked:k?A:!!G.length&&u,indeterminate:k?!A&&N:!u&&l,onChange:f,disabled:0===G.length||k,\"aria-label\":v?\"Custom selection\":\"Select all\",skipGroup:!0}),v)}o=\"radio\"===p?function(e,t,n){var r=C(t,n),o=a.has(r);return{node:j[\"createElement\"](Tb,Object(O[\"a\"])({},V.get(r),{checked:o,onClick:function(e){return e.stopPropagation()},onChange:function(e){a.has(r)||oe(r,!0,[r],e.nativeEvent)}})),checked:o}}:function(e,t,n){var r,o,i=C(t,n),u=a.has(i),s=$.has(i),l=V.get(i);return o=\"nest\"===M?s:null!==(r=null===l||void 0===l?void 0:l.indeterminate)&&void 0!==r?r:s,{node:j[\"createElement\"](ky,Object(O[\"a\"])({},l,{indeterminate:o,checked:u,skipGroup:!0,onClick:function(e){return e.stopPropagation()},onChange:function(e){var t=e.nativeEvent,n=t.shiftKey,r=-1,o=-1;if(n&&x){var s=new Set([ee,i]);c.some((function(e,t){if(s.has(e)){if(-1!==r)return o=t,!0;r=t}return!1}))}if(-1!==o&&r!==o&&x){var l=c.slice(r,o+1),f=[];u?l.forEach((function(e){a.has(e)&&(f.push(e),a[\"delete\"](e))})):l.forEach((function(e){a.has(e)||(f.push(e),a.add(e))}));var h=Array.from(a);null===d||void 0===d||d(!u,h.map((function(e){return _(e)})),f.map((function(e){return _(e)}))),ne(h,\"multiple\")}else{var p=X;if(x){var v=u?Qb(p,i):Jb(p,i);oe(i,!u,v,t)}else{var g=Ix([].concat(Object(re[\"a\"])(p),[i]),!0,U,W),m=g.checkedKeys,y=g.halfCheckedKeys,b=m;if(u){var w=new Set(m);w[\"delete\"](i),b=Ix(Array.from(w),{checked:!1,halfCheckedKeys:y},U,W).checkedKeys}oe(i,!u,b,t)}}te(u?null:i)}})),checked:u}};var I=function(e,t,n){var r=o(e,t,n),i=r.node,a=r.checked;return m?m(a,t,n,i):i};if(!i.includes(eO))if(0===i.findIndex((function(e){var t;return\"EXPAND_COLUMN\"===(null===(t=e[Kh])||void 0===t?void 0:t.columnType)}))){var P=i,L=Object(dg[\"a\"])(P),D=L[0],R=L.slice(1);i=[D,eO].concat(Object(re[\"a\"])(R))}else i=[eO].concat(Object(re[\"a\"])(i));var F=i.indexOf(eO);i=i.filter((function(e,t){return e!==eO||t===F}));var B=i[F-1],z=i[F+1],H=g;void 0===H&&(void 0!==(null===z||void 0===z?void 0:z.fixed)?H=z.fixed:void 0!==(null===B||void 0===B?void 0:B.fixed)&&(H=B.fixed)),H&&B&&\"EXPAND_COLUMN\"===(null===(n=B[Kh])||void 0===n?void 0:n.columnType)&&void 0===B.fixed&&(B.fixed=H);var Y=Object(w[\"a\"])({fixed:H,width:h,className:\"\".concat(E,\"-selection-column\"),title:e.columnTitle||r,render:I},Kh,{className:\"\".concat(E,\"-selection-col\")});return i.map((function(e){return e===eO?Y:e}))}),[C,G,e,X,K,$,h,ie,M,ee,V,d,oe,W]);return[ae,K]}var cO={icon:{tag:\"svg\",attrs:{viewBox:\"0 0 1024 1024\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z\"}}]},name:\"caret-down\",theme:\"outlined\"},uO=cO,sO=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:uO}))};sO.displayName=\"CaretDownOutlined\";var lO=j[\"forwardRef\"](sO),fO={icon:{tag:\"svg\",attrs:{viewBox:\"0 0 1024 1024\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z\"}}]},name:\"caret-up\",theme:\"outlined\"},dO=fO,hO=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:dO}))};hO.displayName=\"CaretUpOutlined\";var pO=j[\"forwardRef\"](hO),vO=\"ascend\",gO=\"descend\";function mO(e){return\"object\"===Object(B[\"a\"])(e.sorter)&&\"number\"===typeof e.sorter.multiple&&e.sorter.multiple}function yO(e){return\"function\"===typeof e?e:!(!e||\"object\"!==Object(B[\"a\"])(e)||!e.compare)&&e.compare}function bO(e,t){return t?e[e.indexOf(t)+1]:e[0]}function xO(e,t,n){var r=[];function o(e,t){r.push({column:e,key:ay(e,t),multiplePriority:mO(e),sortOrder:e.sortOrder})}return(e||[]).forEach((function(e,i){var a=cy(i,n);e.children?(\"sortOrder\"in e&&o(e,a),r=[].concat(Object(re[\"a\"])(r),Object(re[\"a\"])(xO(e.children,t,a)))):e.sorter&&(\"sortOrder\"in e?o(e,a):t&&e.defaultSortOrder&&r.push({column:e,key:ay(e,a),multiplePriority:mO(e),sortOrder:e.defaultSortOrder}))})),r}function wO(e,t,n,r,o,i,a,c){return(t||[]).map((function(t,u){var s=cy(u,c),l=t;if(l.sorter){var f=l.sortDirections||o,d=void 0===l.showSorterTooltip?a:l.showSorterTooltip,h=ay(l,s),p=n.find((function(e){var t=e.key;return t===h})),v=p?p.sortOrder:null,g=bO(f,v),m=f.includes(vO)&&j[\"createElement\"](pO,{className:R()(\"\".concat(e,\"-column-sorter-up\"),{active:v===vO}),role:\"presentation\"}),y=f.includes(gO)&&j[\"createElement\"](lO,{className:R()(\"\".concat(e,\"-column-sorter-down\"),{active:v===gO}),role:\"presentation\"}),b=i||{},x=b.cancelSort,E=b.triggerAsc,S=b.triggerDesc,k=x;g===gO?k=S:g===vO&&(k=E);var _=\"object\"===Object(B[\"a\"])(d)?d:{title:k};l=Object(O[\"a\"])(Object(O[\"a\"])({},l),{className:R()(l.className,Object(w[\"a\"])({},\"\".concat(e,\"-column-sort\"),v)),title:function(n){var r=j[\"createElement\"](\"div\",{className:\"\".concat(e,\"-column-sorters\")},j[\"createElement\"](\"span\",{className:\"\".concat(e,\"-column-title\")},uy(t.title,n)),j[\"createElement\"](\"span\",{className:R()(\"\".concat(e,\"-column-sorter\"),Object(w[\"a\"])({},\"\".concat(e,\"-column-sorter-full\"),!(!m||!y)))},j[\"createElement\"](\"span\",{className:\"\".concat(e,\"-column-sorter-inner\")},m,y)));return d?j[\"createElement\"](Aa,Object(O[\"a\"])({},_),r):r},onHeaderCell:function(n){var o=t.onHeaderCell&&t.onHeaderCell(n)||{},i=o.onClick,a=o.onKeyDown;o.onClick=function(e){r({column:t,key:h,sortOrder:g,multiplePriority:mO(t)}),null===i||void 0===i||i(e)},o.onKeyDown=function(e){e.keyCode===Me.ENTER&&(r({column:t,key:h,sortOrder:g,multiplePriority:mO(t)}),null===a||void 0===a||a(e))};var c=sy(t.title,{}),u=null===c||void 0===c?void 0:c.toString();return v?o[\"aria-sort\"]=\"ascend\"===v?\"ascending\":\"descending\":o[\"aria-label\"]=\"\".concat(u?\"this column's title is \".concat(u,\",\"):\"\",\"this column is sortable\"),o.className=R()(o.className,\"\".concat(e,\"-column-has-sorters\")),o.tabIndex=0,t.ellipsis&&(o.title=(null!==c&&void 0!==c?c:\"\").toString()),o}})}return\"children\"in l&&(l=Object(O[\"a\"])(Object(O[\"a\"])({},l),{children:wO(e,l.children,n,r,o,i,a,s)})),l}))}function OO(e){var t=e.column,n=e.sortOrder;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}}function EO(e){var t=e.filter((function(e){var t=e.sortOrder;return t})).map(OO);return 0===t.length&&e.length?Object(O[\"a\"])(Object(O[\"a\"])({},OO(e[e.length-1])),{column:void 0}):t.length<=1?t[0]||{}:t}function SO(e,t,n){var r=t.slice().sort((function(e,t){return t.multiplePriority-e.multiplePriority})),o=e.slice(),i=r.filter((function(e){var t=e.column.sorter,n=e.sortOrder;return yO(t)&&n}));return i.length?o.sort((function(e,t){for(var n=0;n<i.length;n+=1){var r=i[n],o=r.column.sorter,a=r.sortOrder,c=yO(o);if(c&&a){var u=c(e,t,a);if(0!==u)return a===vO?u:-u}}return 0})).map((function(e){var r=e[n];return r?Object(O[\"a\"])(Object(O[\"a\"])({},e),Object(w[\"a\"])({},n,SO(r,t,n))):e})):o}function jO(e){var t=e.prefixCls,n=e.mergedColumns,r=e.onSorterChange,o=e.sortDirections,i=e.tableLocale,a=e.showSorterTooltip,c=j[\"useState\"](xO(n,!0)),u=Object(F[\"a\"])(c,2),s=u[0],l=u[1],f=j[\"useMemo\"]((function(){var e=!0,t=xO(n,!1);if(!t.length)return s;var r=[];function o(t){e?r.push(t):r.push(Object(O[\"a\"])(Object(O[\"a\"])({},t),{sortOrder:null}))}var i=null;return t.forEach((function(t){null===i?(o(t),t.sortOrder&&(!1===t.multiplePriority?e=!1:i=!0)):(i&&!1!==t.multiplePriority||(e=!1),o(t))})),r}),[n,s]),d=j[\"useMemo\"]((function(){var e=f.map((function(e){var t=e.column,n=e.sortOrder;return{column:t,order:n}}));return{sortColumns:e,sortColumn:e[0]&&e[0].column,sortOrder:e[0]&&e[0].order}}),[f]);function h(e){var t;t=!1!==e.multiplePriority&&f.length&&!1!==f[0].multiplePriority?[].concat(Object(re[\"a\"])(f.filter((function(t){var n=t.key;return n!==e.key}))),[e]):[e],l(t),r(EO(t),t)}var p=function(e){return wO(t,e,f,h,o,i,a)},v=function(){return EO(f)};return[p,f,d,v]}function kO(e,t){return e.map((function(e){var n=Object(O[\"a\"])({},e);return n.title=uy(e.title,t),\"children\"in n&&(n.children=kO(n.children,t)),n}))}function _O(e){var t=j[\"useCallback\"]((function(t){return kO(t,e)}),[e]);return[t]}var CO=[];function MO(e,t){var n,r=e.prefixCls,o=e.className,i=e.style,a=e.size,c=e.bordered,u=e.dropdownPrefixCls,s=e.dataSource,l=e.pagination,f=e.rowSelection,d=e.rowKey,h=void 0===d?\"key\":d,p=e.rowClassName,v=e.columns,g=e.children,m=e.childrenColumnName,y=e.onChange,b=e.getPopupContainer,x=e.loading,E=e.expandIcon,S=e.expandable,k=e.expandedRowRender,_=e.expandIconColumnIndex,C=e.indentSize,M=e.scroll,A=e.sortDirections,N=e.locale,T=e.showSorterTooltip,I=void 0===T||T;[[\"filterDropdownVisible\",\"filterDropdownOpen\"],[\"onFilterDropdownVisibleChange\",\"onFilterDropdownOpenChange\"]].forEach((function(e){var t=Object(F[\"a\"])(e,2);t[0],t[1]}));var P=j[\"useMemo\"]((function(){return v||ep(g)}),[v,g]),L=j[\"useMemo\"]((function(){return P.some((function(e){return e.responsive}))}),[P]),D=nv(L),z=j[\"useMemo\"]((function(){var e=new Set(Object.keys(D).filter((function(e){return D[e]})));return P.filter((function(t){return!t.responsive||t.responsive.some((function(t){return e.has(t)}))}))}),[P,D]),U=it(e,[\"className\",\"style\",\"columns\"]),G=j[\"useContext\"](Fi[\"b\"]),V=j[\"useContext\"](Ri[\"b\"]),W=V.locale,H=void 0===W?ov:W,Y=V.renderEmpty,X=V.direction,q=a||G,K=Object(O[\"a\"])(Object(O[\"a\"])({},H.Table),N),Z=s||CO,$=j[\"useContext\"](Ri[\"b\"]),Q=$.getPrefixCls,J=Q(\"table\",r),ee=Q(\"dropdown\",u),te=Object(O[\"a\"])({childrenColumnName:m,expandIconColumnIndex:_},S),ne=te.childrenColumnName,re=void 0===ne?\"children\":ne,oe=j[\"useMemo\"]((function(){return Z.some((function(e){return null===e||void 0===e?void 0:e[re]}))?\"nest\":k||S&&S.expandedRowRender?\"row\":null}),[Z]),ie={body:j[\"useRef\"]()},ae=j[\"useMemo\"]((function(){return\"function\"===typeof h?h:function(e){return null===e||void 0===e?void 0:e[h]}}),[h]),ce=qw(Z,re,ae),ue=Object(F[\"a\"])(ce,1),se=ue[0],le={},fe=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Object(O[\"a\"])(Object(O[\"a\"])({},le),e);n&&(le.resetPagination(),r.pagination.current&&(r.pagination.current=1),l&&l.onChange&&l.onChange(1,r.pagination.pageSize)),M&&!1!==M.scrollToFirstRowOnChange&&ie.body.current&&Jm(0,{getContainer:function(){return ie.body.current}}),null===y||void 0===y||y(r.pagination,r.filters,r.sorter,{currentDataSource:Hw(SO(Z,r.sorterStates,re),r.filterStates),action:t})},de=function(e,t){fe({sorter:e,sorterStates:t},\"sort\",!1)},he=jO({prefixCls:J,mergedColumns:z,onSorterChange:de,sortDirections:A||[\"ascend\",\"descend\"],tableLocale:K,showSorterTooltip:I}),pe=Object(F[\"a\"])(he,4),ve=pe[0],ge=pe[1],me=pe[2],ye=pe[3],be=j[\"useMemo\"]((function(){return SO(Z,ge,re)}),[Z,ge]);le.sorter=ye(),le.sorterStates=ge;var xe=function(e,t){fe({filters:e,filterStates:t},\"filter\",!0)},we=Xw({prefixCls:J,locale:K,dropdownPrefixCls:ee,mergedColumns:z,onFilterChange:xe,getPopupContainer:b}),Oe=Object(F[\"a\"])(we,3),Ee=Oe[0],Se=Oe[1],je=Oe[2],ke=Hw(be,Se);le.filters=je,le.filterStates=Se;var _e=j[\"useMemo\"]((function(){var e={};return Object.keys(je).forEach((function(t){null!==je[t]&&(e[t]=je[t])})),Object(O[\"a\"])(Object(O[\"a\"])({},me),{filters:e})}),[me,je]),Ce=_O(_e),Me=Object(F[\"a\"])(Ce,1),Ae=Me[0],Ne=function(e,t){fe({pagination:Object(O[\"a\"])(Object(O[\"a\"])({},le.pagination),{current:e,pageSize:t})},\"paginate\")},Te=Jw(ke.length,l,Ne),Ie=Object(F[\"a\"])(Te,2),Pe=Ie[0],Le=Ie[1];le.pagination=!1===l?{}:$w(l,Pe),le.resetPagination=Le;var De=j[\"useMemo\"]((function(){if(!1===l||!Pe.pageSize)return ke;var e=Pe.current,t=void 0===e?1:e,n=Pe.total,r=Pe.pageSize,o=void 0===r?Zw:r;return ke.length<n?ke.length>o?ke.slice((t-1)*o,t*o):ke:ke.slice((t-1)*o,t*o)}),[!!l,ke,Pe&&Pe.current,Pe&&Pe.pageSize,Pe&&Pe.total]),Re=aO(f,{prefixCls:J,data:ke,pageData:De,getRowKey:ae,getRecordByKey:se,expandType:oe,childrenColumnName:re,locale:K,getPopupContainer:b}),Fe=Object(F[\"a\"])(Re,2),Be=Fe[0],ze=Fe[1],Ue=function(e,t,n){var r;return r=\"function\"===typeof p?R()(p(e,t,n)):R()(p),R()(Object(w[\"a\"])({},\"\".concat(J,\"-row-selected\"),ze.has(ae(e,t))),r)};te.__PARENT_RENDER_ICON__=te.expandIcon,te.expandIcon=te.expandIcon||E||iy(K),\"nest\"===oe&&void 0===te.expandIconColumnIndex?te.expandIconColumnIndex=f?1:0:te.expandIconColumnIndex>0&&f&&(te.expandIconColumnIndex-=1),\"number\"!==typeof te.indentSize&&(te.indentSize=\"number\"===typeof C?C:15);var Ge,Ve,We,He=j[\"useCallback\"]((function(e){return Ae(Be(Ee(ve(e))))}),[ve,Ee,Be]);if(!1!==l&&(null===Pe||void 0===Pe?void 0:Pe.total)){var Ye;Ye=Pe.size?Pe.size:\"small\"===q||\"middle\"===q?\"small\":void 0;var Xe=function(e){return j[\"createElement\"](Gm,Object(O[\"a\"])({},Pe,{className:R()(\"\".concat(J,\"-pagination \").concat(J,\"-pagination-\").concat(e),Pe.className),size:Ye}))},qe=\"rtl\"===X?\"left\":\"right\",Ke=Pe.position;if(null!==Ke&&Array.isArray(Ke)){var Ze=Ke.find((function(e){return e.includes(\"top\")})),$e=Ke.find((function(e){return e.includes(\"bottom\")})),Qe=Ke.every((function(e){return\"none\"===\"\".concat(e)}));Ze||$e||Qe||(Ve=Xe(qe)),Ze&&(Ge=Xe(Ze.toLowerCase().replace(\"top\",\"\"))),$e&&(Ve=Xe($e.toLowerCase().replace(\"bottom\",\"\")))}else Ve=Xe(qe)}\"boolean\"===typeof x?We={spinning:x}:\"object\"===Object(B[\"a\"])(x)&&(We=Object(O[\"a\"])({spinning:!0},x));var Je=R()(\"\".concat(J,\"-wrapper\"),Object(w[\"a\"])({},\"\".concat(J,\"-wrapper-rtl\"),\"rtl\"===X),o);return j[\"createElement\"](\"div\",{ref:t,className:Je,style:i},j[\"createElement\"](Km,Object(O[\"a\"])({spinning:!1},We),Ge,j[\"createElement\"](Up,Object(O[\"a\"])({},U,{columns:z,direction:X,expandable:te,prefixCls:J,className:R()((n={},Object(w[\"a\"])(n,\"\".concat(J,\"-middle\"),\"middle\"===q),Object(w[\"a\"])(n,\"\".concat(J,\"-small\"),\"small\"===q),Object(w[\"a\"])(n,\"\".concat(J,\"-bordered\"),c),Object(w[\"a\"])(n,\"\".concat(J,\"-empty\"),0===Z.length),n)),data:De,rowKey:ae,rowClassName:Ue,emptyText:N&&N.emptyText||(Y||Jp)(\"Table\"),internalHooks:Rp,internalRefs:ie,transformColumns:He})),Ve))}var AO=j[\"forwardRef\"](MO),NO=AO;NO.SELECTION_COLUMN=eO,NO.EXPAND_COLUMN=Up.EXPAND_COLUMN,NO.SELECTION_ALL=tO,NO.SELECTION_INVERT=nO,NO.SELECTION_NONE=rO,NO.Column=ty,NO.ColumnGroup=ry,NO.Summary=Ep;var TO=NO,IO=TO,PO=r(\"I5X1\"),LO=r(\"qLMh\"),DO=r(\"9og8\"),RO=r(\"xTJ+\"),FO=r(\"HSsa\"),BO=r(\"5GeT\");function zO(e){const t={\"!\":\"%21\",\"'\":\"%27\",\"(\":\"%28\",\")\":\"%29\",\"~\":\"%7E\",\"%20\":\"+\",\"%00\":\"\\0\"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function UO(e,t){this._pairs=[],e&&Object(BO[\"a\"])(e,this,t)}const GO=UO.prototype;GO.append=function(e,t){this._pairs.push([e,t])},GO.toString=function(e){const t=e?function(t){return e.call(this,t,zO)}:zO;return this._pairs.map((function(e){return t(e[0])+\"=\"+t(e[1])}),\"\").join(\"&\")};var VO=UO;function WO(e){return encodeURIComponent(e).replace(/%3A/gi,\":\").replace(/%24/g,\"$\").replace(/%2C/gi,\",\").replace(/%20/g,\"+\").replace(/%5B/gi,\"[\").replace(/%5D/gi,\"]\")}function HO(e,t,n){if(!t)return e;const r=n&&n.encode||WO,o=n&&n.serialize;let i;if(i=o?o(t,n):RO[\"a\"].isURLSearchParams(t)?t.toString():new VO(t,n).toString(r),i){const t=e.indexOf(\"#\");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf(\"?\")?\"?\":\"&\")+i}return e}class YO{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){RO[\"a\"].forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var XO=YO,qO=r(\"eRe6\"),KO={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ZO=\"undefined\"!==typeof URLSearchParams?URLSearchParams:VO,$O=FormData;const QO=(()=>{let e;return(\"undefined\"===typeof navigator||\"ReactNative\"!==(e=navigator.product)&&\"NativeScript\"!==e&&\"NS\"!==e)&&(\"undefined\"!==typeof window&&\"undefined\"!==typeof document)})();var JO={isBrowser:!0,classes:{URLSearchParams:ZO,FormData:$O,Blob:Blob},isStandardBrowserEnv:QO,protocols:[\"http\",\"https\",\"file\",\"blob\",\"url\",\"data\"]};function eE(e,t){return Object(BO[\"a\"])(e,new JO.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return JO.isNode&&RO[\"a\"].isBuffer(e)?(this.append(t,e.toString(\"base64\")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function tE(e){return RO[\"a\"].matchAll(/\\w+|\\[(\\w*)]/g,e).map((e=>\"[]\"===e[0]?\"\":e[1]||e[0]))}function nE(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}function rE(e){function t(e,n,r,o){let i=e[o++];const a=Number.isFinite(+i),c=o>=e.length;if(i=!i&&RO[\"a\"].isArray(r)?r.length:i,c)return RO[\"a\"].hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&RO[\"a\"].isObject(r[i])||(r[i]=[]);const u=t(e,n,r[i],o);return u&&RO[\"a\"].isArray(r[i])&&(r[i]=nE(r[i])),!a}if(RO[\"a\"].isFormData(e)&&RO[\"a\"].isFunction(e.entries)){const n={};return RO[\"a\"].forEachEntry(e,((e,r)=>{t(tE(e),r,n,0)})),n}return null}var oE=rE;const iE={\"Content-Type\":void 0};function aE(e,t,n){if(RO[\"a\"].isString(e))try{return(t||JSON.parse)(e),RO[\"a\"].trim(e)}catch(r){if(\"SyntaxError\"!==r.name)throw r}return(n||JSON.stringify)(e)}const cE={transitional:KO,adapter:[\"xhr\",\"http\"],transformRequest:[function(e,t){const n=t.getContentType()||\"\",r=n.indexOf(\"application/json\")>-1,o=RO[\"a\"].isObject(e);o&&RO[\"a\"].isHTMLForm(e)&&(e=new FormData(e));const i=RO[\"a\"].isFormData(e);if(i)return r&&r?JSON.stringify(oE(e)):e;if(RO[\"a\"].isArrayBuffer(e)||RO[\"a\"].isBuffer(e)||RO[\"a\"].isStream(e)||RO[\"a\"].isFile(e)||RO[\"a\"].isBlob(e))return e;if(RO[\"a\"].isArrayBufferView(e))return e.buffer;if(RO[\"a\"].isURLSearchParams(e))return t.setContentType(\"application/x-www-form-urlencoded;charset=utf-8\",!1),e.toString();let a;if(o){if(n.indexOf(\"application/x-www-form-urlencoded\")>-1)return eE(e,this.formSerializer).toString();if((a=RO[\"a\"].isFileList(e))||n.indexOf(\"multipart/form-data\")>-1){const t=this.env&&this.env.FormData;return Object(BO[\"a\"])(a?{\"files[]\":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType(\"application/json\",!1),aE(e)):e}],transformResponse:[function(e){const t=this.transitional||cE.transitional,n=t&&t.forcedJSONParsing,r=\"json\"===this.responseType;if(e&&RO[\"a\"].isString(e)&&(n&&!this.responseType||r)){const n=t&&t.silentJSONParsing,i=!n&&r;try{return JSON.parse(e)}catch(o){if(i){if(\"SyntaxError\"===o.name)throw qO[\"a\"].from(o,qO[\"a\"].ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return e}],timeout:0,xsrfCookieName:\"XSRF-TOKEN\",xsrfHeaderName:\"X-XSRF-TOKEN\",maxContentLength:-1,maxBodyLength:-1,env:{FormData:JO.classes.FormData,Blob:JO.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:\"application/json, text/plain, */*\"}}};RO[\"a\"].forEach([\"delete\",\"get\",\"head\"],(function(e){cE.headers[e]={}})),RO[\"a\"].forEach([\"post\",\"put\",\"patch\"],(function(e){cE.headers[e]=RO[\"a\"].merge(iE)}));var uE=cE;const sE=RO[\"a\"].toObjectSet([\"age\",\"authorization\",\"content-length\",\"content-type\",\"etag\",\"expires\",\"from\",\"host\",\"if-modified-since\",\"if-unmodified-since\",\"last-modified\",\"location\",\"max-forwards\",\"proxy-authorization\",\"referer\",\"retry-after\",\"user-agent\"]);var lE=e=>{const t={};let n,r,o;return e&&e.split(\"\\n\").forEach((function(e){o=e.indexOf(\":\"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&sE[n]||(\"set-cookie\"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+\", \"+r:r)})),t};const fE=Symbol(\"internals\");function dE(e){return e&&String(e).trim().toLowerCase()}function hE(e){return!1===e||null==e?e:RO[\"a\"].isArray(e)?e.map(hE):String(e)}function pE(e){const t=Object.create(null),n=/([^\\s,;=]+)\\s*(?:=\\s*([^,;]+))?/g;let r;while(r=n.exec(e))t[r[1]]=r[2];return t}function vE(e){return/^[-_a-zA-Z]+$/.test(e.trim())}function gE(e,t,n,r){return RO[\"a\"].isFunction(r)?r.call(this,t,n):RO[\"a\"].isString(t)?RO[\"a\"].isString(r)?-1!==t.indexOf(r):RO[\"a\"].isRegExp(r)?r.test(t):void 0:void 0}function mE(e){return e.trim().toLowerCase().replace(/([a-z\\d])(\\w*)/g,((e,t,n)=>t.toUpperCase()+n))}function yE(e,t){const n=RO[\"a\"].toCamelCase(\" \"+t);[\"get\",\"set\",\"has\"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}class bE{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=dE(t);if(!o)throw new Error(\"header name must be a non-empty string\");const i=RO[\"a\"].findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=hE(e))}const i=(e,t)=>RO[\"a\"].forEach(e,((e,n)=>o(e,n,t)));return RO[\"a\"].isPlainObject(e)||e instanceof this.constructor?i(e,t):RO[\"a\"].isString(e)&&(e=e.trim())&&!vE(e)?i(lE(e),t):null!=e&&o(t,e,n),this}get(e,t){if(e=dE(e),e){const n=RO[\"a\"].findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return pE(e);if(RO[\"a\"].isFunction(t))return t.call(this,e,n);if(RO[\"a\"].isRegExp(t))return t.exec(e);throw new TypeError(\"parser must be boolean|regexp|function\")}}}has(e,t){if(e=dE(e),e){const n=RO[\"a\"].findKey(this,e);return!(!n||t&&!gE(this,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=dE(e),e){const o=RO[\"a\"].findKey(n,e);!o||t&&!gE(n,n[o],o,t)||(delete n[o],r=!0)}}return RO[\"a\"].isArray(e)?e.forEach(o):o(e),r}clear(){return Object.keys(this).forEach(this.delete.bind(this))}normalize(e){const t=this,n={};return RO[\"a\"].forEach(this,((r,o)=>{const i=RO[\"a\"].findKey(n,o);if(i)return t[i]=hE(r),void delete t[o];const a=e?mE(o):String(o).trim();a!==o&&delete t[o],t[a]=hE(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return RO[\"a\"].forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&RO[\"a\"].isArray(n)?n.join(\", \"):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+\": \"+t)).join(\"\\n\")}get[Symbol.toStringTag](){return\"AxiosHeaders\"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=this[fE]=this[fE]={accessors:{}},n=t.accessors,r=this.prototype;function o(e){const t=dE(e);n[t]||(yE(r,e),n[t]=!0)}return RO[\"a\"].isArray(e)?e.forEach(o):o(e),this}}bE.accessor([\"Content-Type\",\"Content-Length\",\"Accept\",\"Accept-Encoding\",\"User-Agent\"]),RO[\"a\"].freezeMethods(bE.prototype),RO[\"a\"].freezeMethods(bE);var xE=bE;function wE(e,t){const n=this||uE,r=t||n,o=xE.from(r.headers);let i=r.data;return RO[\"a\"].forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function OE(e){return!(!e||!e.__CANCEL__)}function EE(e,t,n){qO[\"a\"].call(this,null==e?\"canceled\":e,qO[\"a\"].ERR_CANCELED,t,n),this.name=\"CanceledError\"}RO[\"a\"].inherits(EE,qO[\"a\"],{__CANCEL__:!0});var SE=EE,jE=null;function kE(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new qO[\"a\"](\"Request failed with status code \"+n.status,[qO[\"a\"].ERR_BAD_REQUEST,qO[\"a\"].ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}var _E=JO.isStandardBrowserEnv?function(){return{write:function(e,t,n,r,o,i){const a=[];a.push(e+\"=\"+encodeURIComponent(t)),RO[\"a\"].isNumber(n)&&a.push(\"expires=\"+new Date(n).toGMTString()),RO[\"a\"].isString(r)&&a.push(\"path=\"+r),RO[\"a\"].isString(o)&&a.push(\"domain=\"+o),!0===i&&a.push(\"secure\"),document.cookie=a.join(\"; \")},read:function(e){const t=document.cookie.match(new RegExp(\"(^|;\\\\s*)(\"+e+\")=([^;]*)\"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,\"\",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function CE(e){return/^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(e)}function ME(e,t){return t?e.replace(/\\/+$/,\"\")+\"/\"+t.replace(/^\\/+/,\"\"):e}function AE(e,t){return e&&!CE(t)?ME(e,t):t}var NE=JO.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement(\"a\");let n;function r(n){let r=n;return e&&(t.setAttribute(\"href\",r),r=t.href),t.setAttribute(\"href\",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,\"\"):\"\",host:t.host,search:t.search?t.search.replace(/^\\?/,\"\"):\"\",hash:t.hash?t.hash.replace(/^#/,\"\"):\"\",hostname:t.hostname,port:t.port,pathname:\"/\"===t.pathname.charAt(0)?t.pathname:\"/\"+t.pathname}}return n=r(window.location.href),function(e){const t=RO[\"a\"].isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return function(){return!0}}();function TE(e){const t=/^([-+\\w]{1,25})(:?\\/\\/|:)/.exec(e);return t&&t[1]||\"\"}function IE(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(c){const u=Date.now(),s=r[a];o||(o=u),n[i]=c,r[i]=u;let l=a,f=0;while(l!==i)f+=n[l++],l%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o<t)return;const d=s&&u-s;return d?Math.round(1e3*f/d):void 0}}var PE=IE;function LE(e,t){let n=0;const r=PE(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,c=i-n,u=r(c),s=i<=a;n=i;const l={loaded:i,total:a,progress:a?i/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a&&s?(a-i)/u:void 0,event:o};l[t?\"download\":\"upload\"]=!0,e(l)}}const DE=\"undefined\"!==typeof XMLHttpRequest;var RE=DE&&function(e){return new Promise((function(t,n){let r=e.data;const o=xE.from(e.headers).normalize(),i=e.responseType;let a;function c(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener(\"abort\",a)}RO[\"a\"].isFormData(r)&&JO.isStandardBrowserEnv&&o.setContentType(!1);let u=new XMLHttpRequest;if(e.auth){const t=e.auth.username||\"\",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):\"\";o.set(\"Authorization\",\"Basic \"+btoa(t+\":\"+n))}const s=AE(e.baseURL,e.url);function l(){if(!u)return;const r=xE.from(\"getAllResponseHeaders\"in u&&u.getAllResponseHeaders()),o=i&&\"text\"!==i&&\"json\"!==i?u.response:u.responseText,a={data:o,status:u.status,statusText:u.statusText,headers:r,config:e,request:u};kE((function(e){t(e),c()}),(function(e){n(e),c()}),a),u=null}if(u.open(e.method.toUpperCase(),HO(s,e.params,e.paramsSerializer),!0),u.timeout=e.timeout,\"onloadend\"in u?u.onloadend=l:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf(\"file:\"))&&setTimeout(l)},u.onabort=function(){u&&(n(new qO[\"a\"](\"Request aborted\",qO[\"a\"].ECONNABORTED,e,u)),u=null)},u.onerror=function(){n(new qO[\"a\"](\"Network Error\",qO[\"a\"].ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let t=e.timeout?\"timeout of \"+e.timeout+\"ms exceeded\":\"timeout exceeded\";const r=e.transitional||KO;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new qO[\"a\"](t,r.clarifyTimeoutError?qO[\"a\"].ETIMEDOUT:qO[\"a\"].ECONNABORTED,e,u)),u=null},JO.isStandardBrowserEnv){const t=(e.withCredentials||NE(s))&&e.xsrfCookieName&&_E.read(e.xsrfCookieName);t&&o.set(e.xsrfHeaderName,t)}void 0===r&&o.setContentType(null),\"setRequestHeader\"in u&&RO[\"a\"].forEach(o.toJSON(),(function(e,t){u.setRequestHeader(t,e)})),RO[\"a\"].isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),i&&\"json\"!==i&&(u.responseType=e.responseType),\"function\"===typeof e.onDownloadProgress&&u.addEventListener(\"progress\",LE(e.onDownloadProgress,!0)),\"function\"===typeof e.onUploadProgress&&u.upload&&u.upload.addEventListener(\"progress\",LE(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=t=>{u&&(n(!t||t.type?new SE(null,e,u):t),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener(\"abort\",a)));const f=TE(s);f&&-1===JO.protocols.indexOf(f)?n(new qO[\"a\"](\"Unsupported protocol \"+f+\":\",qO[\"a\"].ERR_BAD_REQUEST,e)):u.send(r||null)}))};const FE={http:jE,xhr:RE};RO[\"a\"].forEach(FE,((e,t)=>{if(e){try{Object.defineProperty(e,\"name\",{value:t})}catch(n){}Object.defineProperty(e,\"adapterName\",{value:t})}}));var BE={getAdapter:e=>{e=RO[\"a\"].isArray(e)?e:[e];const{length:t}=e;let n,r;for(let o=0;o<t;o++)if(n=e[o],r=RO[\"a\"].isString(n)?FE[n.toLowerCase()]:n)break;if(!r){if(!1===r)throw new qO[\"a\"](`Adapter ${n} is not supported by the environment`,\"ERR_NOT_SUPPORT\");throw new Error(RO[\"a\"].hasOwnProp(FE,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`)}if(!RO[\"a\"].isFunction(r))throw new TypeError(\"adapter is not a function\");return r},adapters:FE};function zE(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new SE}function UE(e){zE(e),e.headers=xE.from(e.headers),e.data=wE.call(e,e.transformRequest),-1!==[\"post\",\"put\",\"patch\"].indexOf(e.method)&&e.headers.setContentType(\"application/x-www-form-urlencoded\",!1);const t=BE.getAdapter(e.adapter||uE.adapter);return t(e).then((function(t){return zE(e),t.data=wE.call(e,e.transformResponse,t),t.headers=xE.from(t.headers),t}),(function(t){return OE(t)||(zE(e),t&&t.response&&(t.response.data=wE.call(e,e.transformResponse,t.response),t.response.headers=xE.from(t.response.headers))),Promise.reject(t)}))}const GE=e=>e instanceof xE?e.toJSON():e;function VE(e,t){t=t||{};const n={};function r(e,t,n){return RO[\"a\"].isPlainObject(e)&&RO[\"a\"].isPlainObject(t)?RO[\"a\"].merge.call({caseless:n},e,t):RO[\"a\"].isPlainObject(t)?RO[\"a\"].merge({},t):RO[\"a\"].isArray(t)?t.slice():t}function o(e,t,n){return RO[\"a\"].isUndefined(t)?RO[\"a\"].isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!RO[\"a\"].isUndefined(t))return r(void 0,t)}function a(e,t){return RO[\"a\"].isUndefined(t)?RO[\"a\"].isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function c(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:c,headers:(e,t)=>o(GE(e),GE(t),!0)};return RO[\"a\"].forEach(Object.keys(e).concat(Object.keys(t)),(function(r){const i=u[r]||o,a=i(e[r],t[r],r);RO[\"a\"].isUndefined(a)&&i!==c||(n[r]=a)})),n}const WE=\"1.2.0\",HE={};[\"object\",\"boolean\",\"number\",\"function\",\"string\",\"symbol\"].forEach(((e,t)=>{HE[e]=function(n){return typeof n===e||\"a\"+(t<1?\"n \":\" \")+e}}));const YE={};function XE(e,t,n){if(\"object\"!==typeof e)throw new qO[\"a\"](\"options must be an object\",qO[\"a\"].ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;while(o-- >0){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new qO[\"a\"](\"option \"+i+\" must be \"+n,qO[\"a\"].ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new qO[\"a\"](\"Unknown option \"+i,qO[\"a\"].ERR_BAD_OPTION)}}HE.transitional=function(e,t,n){function r(e,t){return\"[Axios v\"+WE+\"] Transitional option '\"+e+\"'\"+t+(n?\". \"+n:\"\")}return(n,o,i)=>{if(!1===e)throw new qO[\"a\"](r(o,\" has been removed\"+(t?\" in \"+t:\"\")),qO[\"a\"].ERR_DEPRECATED);return t&&!YE[o]&&(YE[o]=!0,console.warn(r(o,\" has been deprecated since v\"+t+\" and will be removed in the near future\"))),!e||e(n,o,i)}};var qE={assertOptions:XE,validators:HE};const KE=qE.validators;class ZE{constructor(e){this.defaults=e,this.interceptors={request:new XO,response:new XO}}request(e,t){\"string\"===typeof e?(t=t||{},t.url=e):t=e||{},t=VE(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;let i;void 0!==n&&qE.assertOptions(n,{silentJSONParsing:KE.transitional(KE.boolean),forcedJSONParsing:KE.transitional(KE.boolean),clarifyTimeoutError:KE.transitional(KE.boolean)},!1),void 0!==r&&qE.assertOptions(r,{encode:KE.function,serialize:KE.function},!0),t.method=(t.method||this.defaults.method||\"get\").toLowerCase(),i=o&&RO[\"a\"].merge(o.common,o[t.method]),i&&RO[\"a\"].forEach([\"delete\",\"get\",\"head\",\"post\",\"put\",\"patch\",\"common\"],(e=>{delete o[e]})),t.headers=xE.concat(i,o);const a=[];let c=!0;this.interceptors.request.forEach((function(e){\"function\"===typeof e.runWhen&&!1===e.runWhen(t)||(c=c&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const u=[];let s;this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));let l,f=0;if(!c){const e=[UE.bind(this),void 0];e.unshift.apply(e,a),e.push.apply(e,u),l=e.length,s=Promise.resolve(t);while(f<l)s=s.then(e[f++],e[f++]);return s}l=a.length;let d=t;f=0;while(f<l){const e=a[f++],t=a[f++];try{d=e(d)}catch(h){t.call(this,h);break}}try{s=UE.call(this,d)}catch(h){return Promise.reject(h)}f=0,l=u.length;while(f<l)s=s.then(u[f++],u[f++]);return s}getUri(e){e=VE(this.defaults,e);const t=AE(e.baseURL,e.url);return HO(t,e.params,e.paramsSerializer)}}RO[\"a\"].forEach([\"delete\",\"get\",\"head\",\"options\"],(function(e){ZE.prototype[e]=function(t,n){return this.request(VE(n||{},{method:e,url:t,data:(n||{}).data}))}})),RO[\"a\"].forEach([\"post\",\"put\",\"patch\"],(function(e){function t(t){return function(n,r,o){return this.request(VE(o||{},{method:e,headers:t?{\"Content-Type\":\"multipart/form-data\"}:{},url:n,data:r}))}}ZE.prototype[e]=t(),ZE.prototype[e+\"Form\"]=t(!0)}));var $E=ZE;class QE{constructor(e){if(\"function\"!==typeof e)throw new TypeError(\"executor must be a function.\");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;while(t-- >0)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new SE(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;const t=new QE((function(t){e=t}));return{token:t,cancel:e}}}var JE=QE;function eS(e){return function(t){return e.apply(null,t)}}function tS(e){return RO[\"a\"].isObject(e)&&!0===e.isAxiosError}function nS(e){const t=new $E(e),n=Object(FO[\"a\"])($E.prototype.request,t);return RO[\"a\"].extend(n,$E.prototype,t,{allOwnKeys:!0}),RO[\"a\"].extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return nS(VE(e,t))},n}const rS=nS(uE);rS.Axios=$E,rS.CanceledError=SE,rS.CancelToken=JE,rS.isCancel=OE,rS.VERSION=WE,rS.toFormData=BO[\"a\"],rS.AxiosError=qO[\"a\"],rS.Cancel=rS.CanceledError,rS.all=function(e){return Promise.all(e)},rS.spread=eS,rS.isAxiosError=tS,rS.AxiosHeaders=xE,rS.formToJSON=e=>oE(RO[\"a\"].isHTMLForm(e)?new FormData(e):e),rS.default=rS;var oS=rS,iS=(r(\"2HEe\"),r(\"Qyje\")),aS=r.n(iS),cS=((()=>{var e=window.location.href;/localhost:|127.0.0.1:/.test(e)})(),oS.create({timeout:12e4,withCredentials:!1})),uS=oS.create({timeout:12e4,transformRequest:[e=>aS.a.stringify(e)],headers:{\"Content-Type\":\"application/x-www-form-urlencoded\"},withCredentials:!1}),sS={200:\"\\u670d\\u52a1\\u5668\\u6210\\u529f\\u8fd4\\u56de\\u8bf7\\u6c42\\u7684\\u6570\\u636e\\u3002\",201:\"\\u65b0\\u5efa\\u6216\\u4fee\\u6539\\u6570\\u636e\\u6210\\u529f\\u3002\",202:\"\\u4e00\\u4e2a\\u8bf7\\u6c42\\u5df2\\u7ecf\\u8fdb\\u5165\\u540e\\u53f0\\u6392\\u961f\\uff08\\u5f02\\u6b65\\u4efb\\u52a1\\uff09\\u3002\",204:\"\\u5220\\u9664\\u6570\\u636e\\u6210\\u529f\\u3002\",400:\"\\u53d1\\u51fa\\u7684\\u8bf7\\u6c42\\u6709\\u9519\\u8bef\\uff0c\\u670d\\u52a1\\u5668\\u6ca1\\u6709\\u8fdb\\u884c\\u65b0\\u5efa\\u6216\\u4fee\\u6539\\u6570\\u636e\\u7684\\u64cd\\u4f5c\\u3002\",403:\"\\u7528\\u6237\\u5f97\\u5230\\u6388\\u6743\\uff0c\\u4f46\\u662f\\u8bbf\\u95ee\\u662f\\u88ab\\u7981\\u6b62\\u7684\\u3002\",404:\"\\u53d1\\u51fa\\u7684\\u8bf7\\u6c42\\u9488\\u5bf9\\u7684\\u662f\\u4e0d\\u5b58\\u5728\\u7684\\u8bb0\\u5f55\\uff0c\\u670d\\u52a1\\u5668\\u6ca1\\u6709\\u8fdb\\u884c\\u64cd\\u4f5c\\u3002\",406:\"\\u8bf7\\u6c42\\u7684\\u683c\\u5f0f\\u4e0d\\u53ef\\u5f97\\u3002\",410:\"\\u8bf7\\u6c42\\u7684\\u8d44\\u6e90\\u88ab\\u6c38\\u4e45\\u5220\\u9664\\uff0c\\u4e14\\u4e0d\\u4f1a\\u518d\\u5f97\\u5230\\u7684\\u3002\",422:\"\\u5f53\\u521b\\u5efa\\u4e00\\u4e2a\\u5bf9\\u8c61\\u65f6\\uff0c\\u53d1\\u751f\\u4e00\\u4e2a\\u9a8c\\u8bc1\\u9519\\u8bef\\u3002\",500:\"\\u670d\\u52a1\\u5668\\u53d1\\u751f\\u9519\\u8bef\\uff0c\\u8bf7\\u68c0\\u67e5\\u670d\\u52a1\\u5668\\u3002\",502:\"\\u7f51\\u5173\\u9519\\u8bef\\u3002\",503:\"\\u670d\\u52a1\\u4e0d\\u53ef\\u7528\\uff0c\\u670d\\u52a1\\u5668\\u6682\\u65f6\\u8fc7\\u8f7d\\u6216\\u7ef4\\u62a4\\u3002\",504:\"\\u7f51\\u5173\\u8d85\\u65f6\\u3002\"};function lS(e,t){var n=!0;if((e<200||e>300)&&0!==e){var r=t||sS[e];oa[\"default\"].destroy(),r&&oa[\"default\"].error({message:r}),n=!1}return n}var fS=[\"get\",\"delete\",\"head\"];function dS(e,t,n){return hS.apply(this,arguments)}function hS(){return hS=Object(DO[\"a\"])(Object(LO[\"a\"])().mark((function e(t,n,r){var o,i,a,c=arguments;return Object(LO[\"a\"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=c.length>3&&void 0!==c[3]&&c[3],i=o?uS:cS,a=fS.indexOf(t)>=0?{params:r}:r,e.abrupt(\"return\",i[t](\"\".concat(n.includes(\"http://\")||n.includes(\"https://\")?\"\":Rd[\"l\"]).concat(n),a).then((e=>{var t=e.data,n=void 0===t?{}:t,r=e.status,o=n.msg,i=n.code,a=n.message,c=lS(r,o||a);if(!c)return{};if(lS(i,o||a)){var u=Object(Rd[\"b\"])(n);return JSON.parse(u)}throw new Error(\"self error code \".concat(JSON.stringify(e.data)))})).catch((e=>{var t=e.message,n=e.code,r=e.response,o=void 0===r?{}:r,i=o.status,a=o.data;throw e.hasOwnProperty(\"response\")&&lS(i||n,a.message||\"\"),new Error(t)})));case 4:case\"end\":return e.stop()}}),e)}))),hS.apply(this,arguments)}var pS=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return dS(\"post\",e,t)};function vS(e){return gS.apply(this,arguments)}function gS(){return gS=Object(DO[\"a\"])(Object(LO[\"a\"])().mark((function e(t){var n;return Object(LO[\"a\"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,n=Object(Rd[\"d\"])(),e.next=4,pS(\"/query_host\",Object(Rd[\"c\"])(Object(ia[\"a\"])(Object(ia[\"a\"])({},t),{},{uid:n})));case 4:return e.abrupt(\"return\",e.sent);case 7:throw e.prev=7,e.t0=e[\"catch\"](0),e.t0;case 10:case\"end\":return e.stop()}}),e,null,[[0,7]])}))),gS.apply(this,arguments)}function mS(e){return yS.apply(this,arguments)}function yS(){return yS=Object(DO[\"a\"])(Object(LO[\"a\"])().mark((function e(t){var n;return Object(LO[\"a\"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,n=Object(Rd[\"d\"])(),e.next=4,pS(\"/query_subdomain\",Object(Rd[\"c\"])(Object(ia[\"a\"])(Object(ia[\"a\"])({},t),{},{uid:n})));case 4:return e.abrupt(\"return\",e.sent);case 7:throw e.prev=7,e.t0=e[\"catch\"](0),e.t0;case 10:case\"end\":return e.stop()}}),e,null,[[0,7]])}))),yS.apply(this,arguments)}function bS(e){return xS.apply(this,arguments)}function xS(){return xS=Object(DO[\"a\"])(Object(LO[\"a\"])().mark((function e(t){var n;return Object(LO[\"a\"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,n=Object(Rd[\"d\"])(),e.next=4,pS(\"/host_search\",Object(Rd[\"c\"])(Object(ia[\"a\"])(Object(ia[\"a\"])({},t),{},{uid:n})));case 4:return e.abrupt(\"return\",e.sent);case 7:throw e.prev=7,e.t0=e[\"catch\"](0),e.t0;case 10:case\"end\":return e.stop()}}),e,null,[[0,7]])}))),xS.apply(this,arguments)}function wS(e){return OS.apply(this,arguments)}function OS(){return OS=Object(DO[\"a\"])(Object(LO[\"a\"])().mark((function e(t){var n;return Object(LO[\"a\"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,n=Object(Rd[\"d\"])(),e.next=4,pS(\"/query_company\",Object(Rd[\"c\"])(Object(ia[\"a\"])(Object(ia[\"a\"])({},t),{},{uid:n})));case 4:return e.abrupt(\"return\",e.sent);case 7:throw e.prev=7,e.t0=e[\"catch\"](0),e.t0;case 10:case\"end\":return e.stop()}}),e,null,[[0,7]])}))),OS.apply(this,arguments)}var ES=e=>{var t,n=e.content,r=n.subdomains,o=void 0===r?[]:r,i=n.data,a=void 0===i?[]:i,c=n.domain,u=[],s=a.map(((e,t)=>{var n=e.subdomain?\"\".concat(e.subdomain.replace(\"*.\",\"\"),\".\").concat(c):\"-\";return Object(ia[\"a\"])(Object(ia[\"a\"])({key:t},e),{},{subdomain:n})})),l=o.map((e=>{var t=e?\"\".concat(e.replace(\"*.\",\"\"),\".\").concat(c):\"-\";return t})),f=md(s);try{for(f.s();!(t=f.n()).done;){var d=t.value;if(null!==d&&void 0!==d&&d.ports&&d.ports.length>0){var h,p=md(d.ports);try{for(p.s();!(h=p.n()).done;){var v=h.value;u.includes(v)||u.push(v)}}catch(g){p.e(g)}finally{p.f()}}}}catch(g){f.e(g)}finally{f.f()}return{data:s,subdomains:l,ports:u}};function SS(e){var t=e.searchData,n=e.tabActiveKey,r=Object(j[\"useState\"])({data:[],subdomains:[],ports:[]}),o=Object(Ta[\"a\"])(r,2),i=o[0],a=o[1],c=Object(j[\"useRef\"])(n),u=Object(j[\"useRef\"])(null),s=Object(PO[\"a\"])(\"@@initialState\"),l=s.initialState,f=l.url,d=l.isReuest,h=l.components,p=xl(mS,{manual:!0,onSuccess:(e,t)=>{var n=!!e.content;if(n){var r=ES(e);a(r);var o=t[0].keyword,i=Object(wl[\"b\"])(),c=i?JSON.parse(i):{};c[o]?c[o].subdomainInfo=e.content:c[o]={subdomainInfo:e.content},Object(wl[\"e\"])(JSON.stringify(c))}else a({data:[],subdomains:[],ports:[]})}}),v=p.loading,g=p.run,m=()=>{i.subdomains&&0===i.subdomains.length?Na[\"default\"].info(\"\\u6ca1\\u6709\\u8981\\u590d\\u5236\\u7684\\u6570\\u636e\\uff01\"):(jd()(i.subdomains.join(\"\\n\")),Na[\"default\"].success(\"\\u590d\\u5236\\u6210\\u529f\\uff01\"))},y=()=>{if(0!==i.data.length){var e,t=[\"subdomain\",\"type\",\"value\",\"ports\"],n=\"subdomain,type,value,ports\\n\",r=md(i.data);try{for(r.s();!(e=r.n()).done;){var o=e.value;for(var a in o)t.includes(a)&&(n+=\"\".concat(\"ports\"===a?o[a]?o[a].join(\"\\u3001\"):\"\":o[a]?o[a]:\"\",\"\\t,\"));n+=\"\\n\"}}catch(c){r.e(c)}finally{r.f()}Object(Rd[\"e\"])(n)}else Na[\"default\"].info(\"\\u6ca1\\u6709\\u8981\\u5bfc\\u51fa\\u7684\\u6570\\u636e\\uff01\")};Object(j[\"useEffect\"])((()=>{if(d&&f){var e=Object(wl[\"b\"])(),t=e?JSON.parse(e):{};if(t[f]&&t[f].subdomainInfo){var n=ES({content:t[f].basicInfo});return void a(n)}g({page:1,keyword:f,fid:Object(Rd[\"c\"])(h)})}}),[d]),Object(j[\"useEffect\"])((()=>{if(t.searchTime){if(\"2\"===c.current)return void g({page:1,keyword:t.url,fid:Object(Rd[\"c\"])(h)});u.current=t}}),[t]),Object(j[\"useEffect\"])((()=>{c.current=n,\"2\"===n&&u.current&&(g({page:1,keyword:u.current.url,fid:Object(Rd[\"c\"])(h)}),u.current=null)}),[n]);var b=[{title:\"subdomain\",dataIndex:\"subdomain\",key:\"subdomain\",width:\"35%\",filters:i.subdomains.map((e=>({text:e,value:e}))),onFilter:(e,t)=>t.subdomain===e,render:e=>Object(kd[\"jsx\"])(\"div\",{children:e?Object(kd[\"jsx\"])(Aa,{title:e,overlayStyle:{fontSize:12},children:Object(Rd[\"k\"])(e,36)}):\"-\"}),sorter:(e,t)=>e.subdomain.length-t.subdomain.length,sortDirections:[\"descend\"]},{title:\"type\",dataIndex:\"type\",key:\"type\",width:\"10%\",sorter:(e,t)=>e.type?e.type.length:0-t.type?t.type.length:0,render:e=>Object(kd[\"jsx\"])(\"div\",{children:e?Object(kd[\"jsx\"])(Aa,{title:e,overlayStyle:{fontSize:12},children:Object(Rd[\"k\"])(e,10)}):\"-\"})},{title:\"value\",dataIndex:\"value\",key:\"value\",width:\"25%\",sorter:(e,t)=>e.value?e.value.length:0-t.value?t.value.length:0,render:e=>Object(kd[\"jsx\"])(\"div\",{children:e?Object(kd[\"jsx\"])(Aa,{title:e,overlayStyle:{fontSize:12},children:Object(Rd[\"k\"])(e,20)}):\"-\"})},{title:\"ports\",dataIndex:\"ports\",key:\"ports\",width:\"20%\",filters:i.ports.map((e=>({text:e,value:e}))),onFilter:(e,t)=>{var n=t.ports;return!(!n||!n.includes(e))},render:e=>Object(kd[\"jsx\"])(\"div\",{children:e&&e.length>0?Object(kd[\"jsx\"])(Aa,{title:e.join(\"\\u3001\"),overlayStyle:{fontSize:12},children:Object(Rd[\"k\"])(e.join(\"\\u3001\"),15)}):\"-\"})}];return Object(kd[\"jsxs\"])(\"div\",{children:[Object(kd[\"jsxs\"])(\"div\",{style:{textAlign:\"right\",fontSize:12,marginBottom:8},children:[Object(kd[\"jsx\"])(iu,{size:\"small\",type:\"primary\",style:{fontSize:12},onClick:y,children:\"\\u5bfc\\u51fa\"}),Object(kd[\"jsx\"])(iu,{size:\"small\",style:{marginLeft:10,fontSize:12},onClick:m,children:\"\\u590d\\u5236\"})]}),Object(kd[\"jsx\"])(IO,{className:\"site-sub-table asset-query-table\",size:\"small\",columns:b,pagination:{defaultPageSize:20,pageSizeOptions:[\"20\",\"100\"]},scroll:{y:420},loading:v,dataSource:i.data})]})}r(\"PQMj\");function jS(e){return va.includes(e)}var kS=function(e){var t,n=e.className,r=e.prefixCls,o=e.style,i=e.color,a=e.children,c=e.text,u=e.placement,s=void 0===u?\"end\":u,l=j[\"useContext\"](Ri[\"b\"]),f=l.getPrefixCls,d=l.direction,h=f(\"ribbon\",r),p=jS(i),v=R()(h,\"\".concat(h,\"-placement-\").concat(s),(t={},Object(w[\"a\"])(t,\"\".concat(h,\"-rtl\"),\"rtl\"===d),Object(w[\"a\"])(t,\"\".concat(h,\"-color-\").concat(i),p),t),n),g={},m={};return i&&!p&&(g.background=i,m.color=i),j[\"createElement\"](\"div\",{className:\"\".concat(h,\"-wrapper\")},a,j[\"createElement\"](\"div\",{className:v,style:Object(O[\"a\"])(Object(O[\"a\"])({},g),o)},j[\"createElement\"](\"span\",{className:\"\".concat(h,\"-text\")},c),j[\"createElement\"](\"div\",{className:\"\".concat(h,\"-corner\"),style:m})))},_S=kS;function CS(e){var t,n=e.prefixCls,r=e.value,o=e.current,i=e.offset,a=void 0===i?0:i;return a&&(t={position:\"absolute\",top:\"\".concat(a,\"00%\"),left:0}),j[\"createElement\"](\"span\",{style:t,className:R()(\"\".concat(n,\"-only-unit\"),{current:o})},r)}function MS(e,t,n){var r=e,o=0;while((r+10)%10!==t)r+=n,o+=n;return o}function AS(e){var t,n,r=e.prefixCls,o=e.count,i=e.value,a=Number(i),c=Math.abs(o),u=j[\"useState\"](a),s=Object(F[\"a\"])(u,2),l=s[0],f=s[1],d=j[\"useState\"](c),h=Object(F[\"a\"])(d,2),p=h[0],v=h[1],g=function(){f(a),v(c)};if(j[\"useEffect\"]((function(){var e=setTimeout((function(){g()}),1e3);return function(){clearTimeout(e)}}),[a]),l===a||Number.isNaN(a)||Number.isNaN(l))t=[j[\"createElement\"](CS,Object(O[\"a\"])({},e,{key:a,current:!0}))],n={transition:\"none\"};else{t=[];for(var m=a+10,y=[],b=a;b<=m;b+=1)y.push(b);var x=y.findIndex((function(e){return e%10===l}));t=y.map((function(t,n){var r=t%10;return j[\"createElement\"](CS,Object(O[\"a\"])({},e,{key:t,value:r,offset:n-x,current:n===x}))}));var w=p<c?1:-1;n={transform:\"translateY(\".concat(-MS(l,a,w),\"00%)\")}}return j[\"createElement\"](\"span\",{className:\"\".concat(r,\"-only\"),style:n,onTransitionEnd:g},t)}var NS=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},TS=function(e){var t=e.prefixCls,n=e.count,r=e.className,o=e.motionClassName,i=e.style,a=e.title,c=e.show,u=e.component,s=void 0===u?\"sup\":u,l=e.children,f=NS(e,[\"prefixCls\",\"count\",\"className\",\"motionClassName\",\"style\",\"title\",\"show\",\"component\",\"children\"]),d=j[\"useContext\"](Ri[\"b\"]),h=d.getPrefixCls,p=h(\"scroll-number\",t),v=Object(O[\"a\"])(Object(O[\"a\"])({},f),{\"data-show\":c,style:i,className:R()(p,r,o),title:a}),g=n;if(n&&Number(n)%1===0){var m=String(n).split(\"\");g=m.map((function(e,t){return j[\"createElement\"](AS,{prefixCls:p,count:Number(n),value:e,key:m.length-t})}))}return i&&i.borderColor&&(v.style=Object(O[\"a\"])(Object(O[\"a\"])({},i),{boxShadow:\"0 0 0 1px \".concat(i.borderColor,\" inset\")})),l?Sa(l,(function(e){return{className:R()(\"\".concat(p,\"-custom-component\"),null===e||void 0===e?void 0:e.className,o)}})):j[\"createElement\"](s,v,g)},IS=TS,PS=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},LS=function(e){var t,n,r=e.prefixCls,o=e.scrollNumberPrefixCls,i=e.children,a=e.status,c=e.text,u=e.color,s=e.count,l=void 0===s?null:s,f=e.overflowCount,d=void 0===f?99:f,h=e.dot,p=void 0!==h&&h,v=e.size,g=void 0===v?\"default\":v,m=e.title,y=e.offset,b=e.style,x=e.className,E=e.showZero,S=void 0!==E&&E,k=PS(e,[\"prefixCls\",\"scrollNumberPrefixCls\",\"children\",\"status\",\"text\",\"color\",\"count\",\"overflowCount\",\"dot\",\"size\",\"title\",\"offset\",\"style\",\"className\",\"showZero\"]),_=j[\"useContext\"](Ri[\"b\"]),C=_.getPrefixCls,M=_.direction,A=C(\"badge\",r),N=l>d?\"\".concat(d,\"+\"):l,T=\"0\"===N||0===N,I=null===l||T,P=(null!==a&&void 0!==a||null!==u&&void 0!==u)&&I,L=p&&!T,D=L?\"\":N,F=Object(j[\"useMemo\"])((function(){var e=null===D||void 0===D||\"\"===D;return(e||T&&!S)&&!L}),[D,T,S,L]),z=Object(j[\"useRef\"])(l);F||(z.current=l);var U=z.current,G=Object(j[\"useRef\"])(D);F||(G.current=D);var V=G.current,W=Object(j[\"useRef\"])(L);F||(W.current=L);var H=Object(j[\"useMemo\"])((function(){if(!y)return Object(O[\"a\"])({},b);var e={marginTop:y[1]};return\"rtl\"===M?e.left=parseInt(y[0],10):e.right=-parseInt(y[0],10),Object(O[\"a\"])(Object(O[\"a\"])({},e),b)}),[M,y,b]),Y=null!==m&&void 0!==m?m:\"string\"===typeof U||\"number\"===typeof U?U:void 0,X=F||!c?null:j[\"createElement\"](\"span\",{className:\"\".concat(A,\"-status-text\")},c),q=U&&\"object\"===Object(B[\"a\"])(U)?Sa(U,(function(e){return{style:Object(O[\"a\"])(Object(O[\"a\"])({},H),e.style)}})):void 0,K=R()((t={},Object(w[\"a\"])(t,\"\".concat(A,\"-status-dot\"),P),Object(w[\"a\"])(t,\"\".concat(A,\"-status-\").concat(a),!!a),Object(w[\"a\"])(t,\"\".concat(A,\"-status-\").concat(u),jS(u)),t)),Z={};u&&!jS(u)&&(Z.background=u);var Q=R()(A,(n={},Object(w[\"a\"])(n,\"\".concat(A,\"-status\"),P),Object(w[\"a\"])(n,\"\".concat(A,\"-not-a-wrapper\"),!i),Object(w[\"a\"])(n,\"\".concat(A,\"-rtl\"),\"rtl\"===M),n),x);if(!i&&P){var J=H.color;return j[\"createElement\"](\"span\",Object(O[\"a\"])({},k,{className:Q,style:H}),j[\"createElement\"](\"span\",{className:K,style:Z}),c&&j[\"createElement\"](\"span\",{style:{color:J},className:\"\".concat(A,\"-status-text\")},c))}return j[\"createElement\"](\"span\",Object(O[\"a\"])({},k,{className:Q}),i,j[\"createElement\"]($[\"b\"],{visible:!F,motionName:\"\".concat(A,\"-zoom\"),motionAppear:!1,motionDeadline:1e3},(function(e){var t,n=e.className,r=C(\"scroll-number\",o),i=W.current,c=R()((t={},Object(w[\"a\"])(t,\"\".concat(A,\"-dot\"),i),Object(w[\"a\"])(t,\"\".concat(A,\"-count\"),!i),Object(w[\"a\"])(t,\"\".concat(A,\"-count-sm\"),\"small\"===g),Object(w[\"a\"])(t,\"\".concat(A,\"-multiple-words\"),!i&&V&&V.toString().length>1),Object(w[\"a\"])(t,\"\".concat(A,\"-status-\").concat(a),!!a),Object(w[\"a\"])(t,\"\".concat(A,\"-status-\").concat(u),jS(u)),t)),s=Object(O[\"a\"])({},H);return u&&!jS(u)&&(s=s||{},s.background=u),j[\"createElement\"](IS,{prefixCls:r,show:!F,motionClassName:n,className:c,count:V,title:Y,style:s,key:\"scrollNumber\"},q)})),X)};LS.Ribbon=_S;var DS=LS,RS={0:\"success\",200:\"success\",400:\"warning\",404:\"error\",500:\"error\",502:\"error\",503:\"error\",504:\"error\"};function FS(e){var t,n,r,o,i,a,c,u=e.data,s=u.data,l=void 0===s?[]:s,f=u.ports,d=void 0===f?[]:f,h=e.loading,p=Object(j[\"useState\"])([]),v=Object(Ta[\"a\"])(p,2),g=v[0],m=v[1],y=Object(j[\"useState\"])(!1),b=Object(Ta[\"a\"])(y,2),x=b[0],w=b[1],O=Object(j[\"useState\"])({port:\"-\",components:[],http:{status:0,header:\"-\",host:\"-\",html:\"-\",server:\"-\"},product:\"-\",banner:\"-\"}),E=Object(Ta[\"a\"])(O,2),S=E[0],k=E[1],_=()=>{w(!1)},C=e=>{k(e),w(!0)},M=e=>{var t=[],n=e.filter((e=>1===e.type)),r=e.filter((e=>2===e.type));if(n.length>0&&t.push(Object(kd[\"jsx\"])(vd,{color:\"blue\",children:n[0].title},\"product\")),r.length>2){var o=r.map((e=>{var t=e.content.map((e=>Object(kd[\"jsx\"])(vd,{color:\"gold\",children:e},e)));return Object(kd[\"jsxs\"])(\"div\",{style:{margin:5},children:[Object(kd[\"jsx\"])(\"span\",{children:e.title}),\": \",t,\" \"]})}));t.push(Object(kd[\"jsx\"])(Aa,{title:o,children:Object(kd[\"jsx\"])(vd,{color:\"cyan\",style:{marginLeft:8},children:\"\".concat(r.length,\"\\u4e2a...\")},\"2\")}))}else{var i,a=md(r);try{for(a.s();!(i=a.n()).done;){var c=i.value,u=c.content.map((e=>Object(kd[\"jsx\"])(vd,{color:\"gold\",children:e},e)));t.push(Object(kd[\"jsx\"])(Aa,{title:u,children:Object(kd[\"jsx\"])(vd,{color:\"cyan\",style:{marginLeft:8},children:c.title},c.title)}))}}catch(s){a.e(s)}finally{a.f()}}return t},A=[{title:\"port\",dataIndex:\"port\",key:\"port\",width:\"15%\",filters:d.map((e=>({text:e,value:e}))),onFilter:(e,t)=>t.port===e,sorter:(e,t)=>e.port-t.port,sortDirections:[\"descend\"]},{title:\"\\u6307\\u7eb9\",dataIndex:\"components\",key:\"components\",width:\"20%\",render:e=>e.length>0?M(e):\"-\"},{title:\"product\",dataIndex:\"product\",key:\"product\",width:\"20%\",sorter:(e,t)=>e.product?e.product.length:0-t.product?t.product.length:0,render:e=>Object(kd[\"jsx\"])(vd,{color:\"blue\",style:{fontSize:12},children:e||\"-\"})},{title:\"banner\",dataIndex:\"banner\",key:\"banner\",width:\"40%\",sorter:(e,t)=>e.banner?e.banner.length:0-t.banner?t.banner.length:0,render:e=>Object(kd[\"jsx\"])(\"div\",{children:e?Object(kd[\"jsx\"])(Aa,{title:e,overlayStyle:{fontSize:12},children:Object(Rd[\"k\"])(e,35)}):\"-\"})},{title:\"\\u64cd\\u4f5c\",dataIndex:\"id\",key:\"id\",width:\"5%\",render:(e,t)=>Object(kd[\"jsx\"])(\"a\",{onClick:()=>C(t),children:\"\\u8be6\\u60c5\"})}];return Object(j[\"useEffect\"])((()=>{if(l&&l.length>0){var e=l.map(((e,t)=>{var n,r,o=Object(ia[\"a\"])(Object(ia[\"a\"])({key:t},e),{},{banner:(null===e||void 0===e||null===(n=e.http)||void 0===n?void 0:n.title)||(null===e||void 0===e?void 0:e.banner)||\"-\",components:[]});if(null!==e&&void 0!==e&&null!==(r=e.http)&&void 0!==r&&r.components){var i=[];for(var a in e.http.components)i.push({title:a,type:2,content:e.http.components[a].categories});o.components=i}return o}));m(e)}}),[l]),Object(kd[\"jsxs\"])(\"div\",{children:[Object(kd[\"jsx\"])(IO,{className:\"site-sub-table asset-query-table\",size:\"small\",columns:A,loading:h,dataSource:g,pagination:{defaultPageSize:20,pageSizeOptions:[\"20\",\"100\"]},scroll:{y:420}}),Object(kd[\"jsx\"])(Ql,{title:\"\\u7aef\\u53e3\\u8be6\\u60c5\",placement:\"right\",onClose:_,open:x,width:600,className:\"site-port-drawer\",children:Object(kd[\"jsxs\"])(xf,{children:[Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"port\",content:S.port})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{isNode:!0,title:\"\\u6307\\u7eb9\",content:(null===S||void 0===S||null===(t=S.components)||void 0===t?void 0:t.length)>0?M(S.components):\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{isNode:!0,title:\"product\",content:Object(kd[\"jsx\"])(vd,{color:\"blue\",children:S.product||\"-\"})})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"banner\",content:S.banner})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"status\",content:Object(kd[\"jsx\"])(DS,{status:null!==S&&void 0!==S&&null!==(n=S.http)&&void 0!==n&&n.status?RS[S.http.status]:\"default\",children:(null===S||void 0===S||null===(r=S.http)||void 0===r?void 0:r.status)||\"-\"})})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"header\",content:(null===S||void 0===S||null===(o=S.http)||void 0===o?void 0:o.header)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"host\",content:(null===S||void 0===S||null===(i=S.http)||void 0===i?void 0:i.host)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"html\",content:(null===S||void 0===S||null===(a=S.http)||void 0===a?void 0:a.html)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Dd,{title:\"server\",content:(null===S||void 0===S||null===(c=S.http)||void 0===c?void 0:c.server)||\"-\"})})]})})]})}var BS=r(\"EVdn\"),zS=r.n(BS),US=r(\"mrSG\"),GS=r(\"iTfj\"),VS={getDefaultCfg:function(){return{}},getEvents:function(){return{}},updateCfg:function(e){return Object.assign(this,e),!0},shouldBegin:function(){return!0},shouldUpdate:function(){return!0},shouldEnd:function(){return!0},bind:function(e){var t=this,n=this.events;this.graph=e,\"drag-canvas\"!==this.type&&\"brush-select\"!==this.type&&\"lasso-select\"!==this.type||e.get(\"canvas\").set(\"draggable\",!0),Object(GS[\"each\"])(n,(function(t,n){e.on(n,t)})),document.addEventListener(\"visibilitychange\",(function(){t.keydown=!1}))},unbind:function(e){var t=this.events,n=e.get(\"canvas\").get(\"draggable\");\"drag-canvas\"!==this.type&&\"brush-select\"!==this.type&&\"lasso-select\"!==this.type||e.get(\"canvas\").set(\"draggable\",!1),Object(GS[\"each\"])(t,(function(t,n){e.off(n,t)})),e.get(\"canvas\").set(\"draggable\",n)},get:function(e){return this[e]},set:function(e,t){return this[e]=t,this}},WS=function(){function e(){}return e.registerBehavior=function(t,n){if(!n)throw new Error(\"please specify handler for this behavior: \".concat(t));var r=Object(GS[\"clone\"])(VS);Object.assign(r,n);var o=function(e){var t=this;Object.assign(this,this.getDefaultCfg(),e);var n=this.getEvents();this.events=null;var r={};n&&(Object(GS[\"each\"])(n,(function(e,n){r[n]=Object(GS[\"wrapBehavior\"])(t,e)})),this.events=r)};o.prototype=r,e.types[t]=o},e.hasBehavior=function(t){return!!e.types[t]},e.getBehavior=function(t){return e.types[t]},e.types={},e}(),HS=WS,YS=HS,XS=\"*\",qS=function(){function e(){this._events={}}return e.prototype.on=function(e,t,n){return this._events[e]||(this._events[e]=[]),this._events[e].push({callback:t,once:!!n}),this},e.prototype.once=function(e,t){return this.on(e,t,!0)},e.prototype.emit=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=this._events[e]||[],i=this._events[XS]||[],a=function(r){for(var o=r.length,i=0;i<o;i++)if(r[i]){var a=r[i],c=a.callback,u=a.once;u&&(r.splice(i,1),0===r.length&&delete t._events[e],o--,i--),c.apply(t,n)}};a(o),a(i)},e.prototype.off=function(e,t){if(e)if(t){for(var n=this._events[e]||[],r=n.length,o=0;o<r;o++)n[o].callback===t&&(n.splice(o,1),r--,o--);0===n.length&&delete this._events[e]}else delete this._events[e];else this._events={};return this},e.prototype.getEvents=function(){return this._events},e}(),KS=qS,ZS=r(\"IOcx\");function $S(e,t,n){var r=[0,0,0,0,0,0,0,0,0];return ZS[\"mat3\"].fromTranslation(r,n),ZS[\"mat3\"].multiply(e,r,t)}function QS(e,t,n){var r=[0,0,0,0,0,0,0,0,0];return ZS[\"mat3\"].fromRotation(r,n),ZS[\"mat3\"].multiply(e,r,t)}function JS(e,t,n){var r=[0,0,0,0,0,0,0,0,0];return ZS[\"mat3\"].fromScaling(r,n),ZS[\"mat3\"].multiply(e,r,t)}function ej(e,t,n){return ZS[\"mat3\"].multiply(e,n,t)}function tj(e,t){for(var n=e?[].concat(e):[1,0,0,0,1,0,0,0,1],r=0,o=t.length;r<o;r++){var i=t[r];switch(i[0]){case\"t\":$S(n,n,[i[1],i[2]]);break;case\"s\":JS(n,n,[i[1],i[2]]);break;case\"r\":QS(n,n,i[1]);break;case\"m\":ej(n,n,i[1]);break;default:break}}return n}function nj(e,t){return e[0]*t[1]-t[0]*e[1]}function rj(e,t,n){var r=ZS[\"vec2\"].angle(e,t),o=nj(e,t)>=0;return n?o?2*Math.PI-r:r:o?r:2*Math.PI-r}function oj(e,t,n){return n?(e[0]=t[1],e[1]=-1*t[0]):(e[0]=-1*t[1],e[1]=t[0]),e}var ij=function(e,t){var n=e.nodes,r=e.edges,o=[],i={};if(!n)throw new Error(\"invalid nodes data!\");return n&&n.forEach((function(e,t){i[e.id]=t;var n=[];o.push(n)})),r&&r.forEach((function(e){var n=e.source,r=e.target,a=i[n],c=i[r];!a&&0!==a||!c&&0!==c||(o[a][c]=1,t||(o[c][a]=1))})),o},aj=ij,cj=function(e,t){return e===t},uj=function(){function e(e,t){void 0===t&&(t=null),this.value=e,this.next=t}return e.prototype.toString=function(e){return e?e(this.value):\"\".concat(this.value)},e}(),sj=function(){function e(e){void 0===e&&(e=cj),this.head=null,this.tail=null,this.compare=e}return e.prototype.prepend=function(e){var t=new uj(e,this.head);return this.head=t,this.tail||(this.tail=t),this},e.prototype.append=function(e){var t=new uj(e);return this.head?(this.tail.next=t,this.tail=t,this):(this.head=t,this.tail=t,this)},e.prototype.delete=function(e){if(!this.head)return null;var t=null;while(this.head&&this.compare(this.head.value,e))t=this.head,this.head=this.head.next;var n=this.head;if(null!==n)while(n.next)this.compare(n.next.value,e)?(t=n.next,n.next=n.next.next):n=n.next;return this.compare(this.tail.value,e)&&(this.tail=n),t},e.prototype.find=function(e){var t=e.value,n=void 0===t?void 0:t,r=e.callback,o=void 0===r?void 0:r;if(!this.head)return null;var i=this.head;while(i){if(o&&o(i.value))return i;if(void 0!==n&&this.compare(i.value,n))return i;i=i.next}return null},e.prototype.deleteTail=function(){var e=this.tail;if(this.head===this.tail)return this.head=null,this.tail=null,e;var t=this.head;while(t.next)t.next.next?t=t.next:t.next=null;return this.tail=t,e},e.prototype.deleteHead=function(){if(!this.head)return null;var e=this.head;return this.head.next?this.head=this.head.next:(this.head=null,this.tail=null),e},e.prototype.fromArray=function(e){var t=this;return e.forEach((function(e){return t.append(e)})),this},e.prototype.toArray=function(){var e=[],t=this.head;while(t)e.push(t),t=t.next;return e},e.prototype.reverse=function(){var e=this.head,t=null,n=null;while(e)n=e.next,e.next=t,t=e,e=n;this.tail=this.head,this.head=t},e.prototype.toString=function(e){return void 0===e&&(e=void 0),this.toArray().map((function(t){return t.toString(e)})).toString()},e}(),lj=sj,fj=function(){function e(){this.linkedList=new lj}return e.prototype.isEmpty=function(){return!this.linkedList.head},e.prototype.peek=function(){return this.linkedList.head?this.linkedList.head.value:null},e.prototype.enqueue=function(e){this.linkedList.append(e)},e.prototype.dequeue=function(){var e=this.linkedList.deleteHead();return e?e.value:null},e.prototype.toString=function(e){return this.linkedList.toString(e)},e}(),dj=fj,hj=function(e,t,n){void 0===t&&(t=[]);var r=t.filter((function(t){return t.source===e||t.target===e}));if(\"target\"===n){var o=function(t){return t.source===e};return r.filter(o).map((function(e){return e.target}))}if(\"source\"===n){var i=function(t){return t.target===e};return r.filter(i).map((function(e){return e.source}))}var a=function(t){return t.source===e?t.target:t.source};return r.map(a)},pj=function(e,t){return t.filter((function(t){return t.source===e}))},vj=function(e,t){return t.filter((function(t){return t.source===e||t.target===e}))},gj=function(e){void 0===e&&(e=0);var t=\"\".concat(Math.random()).split(\".\")[1].substr(0,5),n=\"\".concat(Math.random()).split(\".\")[1].substr(0,5);return\"\".concat(e,\"-\").concat(t).concat(n)};function mj(e){void 0===e&&(e={});var t=e,n=function(){},r=function(){var e={};return function(t){var n=t.next,r=n;return!e[r]&&(e[r]=!0,!0)}}();return t.allowTraversal=e.allowTraversal||r,t.enter=e.enter||n,t.leave=e.leave||n,t}var yj=function(e,t,n,r){void 0===r&&(r=!0);var o=mj(n),i=new dj,a=e.edges,c=void 0===a?[]:a;i.enqueue(t);var u=\"\",s=function(){var e=i.dequeue();o.enter({current:e,previous:u}),hj(e,c,r?\"target\":void 0).forEach((function(t){o.allowTraversal({previous:u,current:e,next:t})&&i.enqueue(t)})),o.leave({current:e,previous:u}),u=e};while(!i.isEmpty())s()},bj=yj,xj=function(e){for(var t=e.nodes,n=void 0===t?[]:t,r=e.edges,o=void 0===r?[]:r,i=[],a={},c=[],u=function e(t){c.push(t),a[t.id]=!0;for(var r=hj(t.id,o),i=function(t){var o=r[t];if(!a[o]){var i=n.filter((function(e){return e.id===o}));i.length>0&&e(i[0])}},u=0;u<r.length;++u)i(u)},s=0;s<n.length;s++){var l=n[s];if(!a[l.id]){u(l);var f=[];while(c.length>0)f.push(c.pop());i.push(f)}}return i},wj=function(e){for(var t=e.nodes,n=void 0===t?[]:t,r=e.edges,o=void 0===r?[]:r,i=[],a={},c={},u={},s=[],l=0,f=function e(t){c[t.id]=l,u[t.id]=l,l+=1,i.push(t),a[t.id]=!0;for(var r=hj(t.id,o,\"target\").filter((function(e){return n.map((function(e){return e.id})).indexOf(e)>-1})),f=function(o){var i=r[o];if(c[i]||0===c[i])a[i]&&(u[t.id]=Math.min(u[t.id],c[i]));else{var s=n.filter((function(e){return e.id===i}));s.length>0&&e(s[0]),u[t.id]=Math.min(u[t.id],u[i])}},d=0;d<r.length;d++)f(d);if(u[t.id]===c[t.id]){var h=[];while(i.length>0){var p=i.pop();if(a[p.id]=!1,h.push(p),p===t)break}h.length>0&&s.push(h)}},d=0,h=n;d<h.length;d++){var p=h[d];c[p.id]||0===c[p.id]||f(p)}return s};function Oj(e,t){return t?wj(e):xj(e)}var Ej=function(e){var t={},n=e.nodes,r=void 0===n?[]:n,o=e.edges,i=void 0===o?[]:o;return r.forEach((function(e){t[e.id]={degree:0,inDegree:0,outDegree:0}})),i.forEach((function(e){t[e.source].degree++,t[e.source].outDegree++,t[e.target].degree++,t[e.target].inDegree++})),t},Sj=Ej,jj=function(e,t){var n=Ej(e);return n[t]?Ej(e)[t].inDegree:0},kj=function(e,t){var n=Ej(e);return n[t]?Ej(e)[t].outDegree:0};function _j(e){void 0===e&&(e={});var t=e,n=function(){},r=function(){var e={};return function(t){var n=t.next;return!e[n]&&(e[n]=!0,!0)}}();return t.allowTraversal=e.allowTraversal||r,t.enter=e.enter||n,t.leave=e.leave||n,t}function Cj(e,t,n,r){r.enter({current:t,previous:n});var o=e.edges,i=void 0===o?[]:o;hj(t,i,\"target\").forEach((function(o){r.allowTraversal({previous:n,current:t,next:o})&&Cj(e,o,t,r)})),r.leave({current:t,previous:n})}function Mj(e,t,n){Cj(e,t,\"\",_j(n))}var Aj=function(e){var t=null,n=e.nodes,r=void 0===n?[]:n,o={},i={},a={},c={};r.forEach((function(e){i[e.id]=e}));var u={enter:function(e){var n=e.current,r=e.previous;if(a[n]){t={};var c=n,u=r;while(u!==n)t[c]=u,c=u,u=o[u];t[c]=u}else a[n]=n,delete i[n],o[n]=r},leave:function(e){var t=e.current;c[t]=t,delete a[t]},allowTraversal:function(e){var n=e.next;return!t&&!c[n]}};while(Object.keys(i).length){var s=Object.keys(i)[0];Mj(e,s,u)}return t},Nj=function(e,t,n){var r,o;void 0===n&&(n=!0);for(var i=[],a=Oj(e,!1),c=0,u=a;c<u.length;c++){var s=u[c];if(s.length){var l=s[0],f=l.id,d=[l],h=(r={},r[f]=l,r),p=(o={},o[f]=new Set,o);while(d.length>0)for(var v=d.pop(),g=v.id,m=hj(g,e.edges),y=function(r){var o,a=m[r],c=e.nodes.find((function(e){return e.id===a}));if(a===g)i.push((o={},o[a]=v,o));else if(a in p){if(!p[g].has(c)){var u=!0,s=[c,v],l=h[g];while(p[a].size&&!p[a].has(l)){if(s.push(l),l===h[l.id])break;l=h[l.id]}if(s.push(l),t&&n?(u=!1,s.findIndex((function(e){return t.indexOf(e.id)>-1}))>-1&&(u=!0)):t&&!n&&s.findIndex((function(e){return t.indexOf(e.id)>-1}))>-1&&(u=!1),u){for(var f={},y=1;y<s.length;y+=1)f[s[y-1].id]=s[y];s.length&&(f[s[s.length-1].id]=s[0]),i.push(f)}p[a].add(v)}}else h[a]=v,d.push(c),p[a]=new Set([v])},b=0;b<m.length;b+=1)y(b)}}return i},Tj=function(e,t,n){void 0===n&&(n=!0);for(var r=[],o=new Set,i=[],a=[],c={},u={},s=function(e){var t=[e];while(t.length>0){var n=t.pop();o.has(n)&&(o.delete(n),i[n.id].forEach((function(e){t.push(e)})),i[n.id].clear())}},l=function e(u,l,f){var d=!1;if(t&&!1===n&&t.indexOf(u.id)>-1)return d;r.push(u),o.add(u);for(var h=f[u.id],p=0;p<h.length;p+=1){var v=c[h[p]];if(v===l){for(var g={},m=1;m<r.length;m+=1)g[r[m-1].id]=r[m];r.length&&(g[r[r.length-1].id]=r[0]),a.push(g),d=!0}else o.has(v)||e(v,l,f)&&(d=!0)}if(d)s(u);else for(p=0;p<h.length;p+=1){v=c[h[p]];i[v.id].has(u)||i[v.id].add(u)}return r.pop(),d},f=e.nodes,d=void 0===f?[]:f,h=0;h<d.length;h+=1){var p=d[h],v=p.id;u[v]=h,c[h]=p}if(t&&n){var g=function(e){var n=t[e];u[d[e].id]=u[n],u[n]=0,c[0]=d.find((function(e){return e.id===n})),c[u[d[e].id]]=d[e]};for(h=0;h<t.length;h++)g(h)}var m=function(r){for(var o,i,c=1/0,s=0;s<r.length;s+=1)for(var l=r[s],f=0;f<l.length;f++){var d=u[l[f].id];d<c&&(c=d,i=s)}var h=r[i],p=[];for(s=0;s<h.length;s+=1){var v=h[s];p[v.id]=[];for(var g=0,m=hj(v.id,e.edges,\"target\").filter((function(e){return h.map((function(e){return e.id})).indexOf(e)>-1}));g<m.length;g++){var y=m[g];y!==v.id||!1===n&&t.indexOf(v.id)>-1?p[v.id].push(u[y]):a.push((o={},o[v.id]=v,o))}}return{component:h,adjList:p,minIdx:c}},y=0;while(y<d.length){var b=d.filter((function(e){return u[e.id]>=y})),x=wj({nodes:b,edges:e.edges}).filter((function(e){return e.length>1}));if(0===x.length)break;var w=m(x),O=w.minIdx,E=w.adjList,S=w.component;if(!(S.length>1))break;S.forEach((function(e){i[e.id]=new Set}));var j=c[O];if(t&&n&&-1===t.indexOf(j.id))return a;l(j,j,E),y=O+1}return a},Ij=function(e,t,n,r){return void 0===r&&(r=!0),t?Tj(e,n,r):Nj(e,n,r)},Pj=Aj,Lj=function(e,t,n){for(var r,o=1/0,i=0;i<t.length;i++){var a=t[i].id;!n[a]&&e[a]<=o&&(o=e[a],r=t[i])}return r},Dj=function(e,t,n,r){var o=e.nodes,i=void 0===o?[]:o,a=e.edges,c=void 0===a?[]:a,u=[],s={},l={},f={};i.forEach((function(e,n){var r=e.id;u.push(r),l[r]=1/0,r===t&&(l[r]=0)}));for(var d=i.length,h=function(e){var t=Lj(l,i,s),o=t.id;if(s[o]=!0,l[o]===1/0)return\"continue\";var a=[];a=n?pj(o,c):vj(o,c),a.forEach((function(e){var n=e.target,i=e.source,a=n===o?i:n,c=r&&e[r]?e[r]:1;l[a]>l[t.id]+c?(l[a]=l[t.id]+c,f[a]=[t.id]):l[a]===l[t.id]+c&&f[a].push(t.id)}))},p=0;p<d;p++)h(p);f[t]=[t];var v={};for(var g in l)l[g]!==1/0&&Fj(t,g,f,v);var m={};for(var g in v)m[g]=v[g][0];return{length:l,path:m,allPath:v}},Rj=Dj;function Fj(e,t,n,r){if(e===t)return[e];if(r[t])return r[t];for(var o=[],i=0,a=n[t];i<a.length;i++){var c=a[i],u=Fj(e,c,n,r);if(!u)return;for(var s=0,l=u;s<l.length;s++){var f=l[s];Object(GS[\"isArray\"])(f)?o.push(Object(US[\"__spreadArray\"])(Object(US[\"__spreadArray\"])([],f,!0),[t],!1)):o.push([f,t])}}return r[t]=o,r[t]}var Bj,zj=function(e,t,n,r,o){var i=Rj(e,t,r,o),a=i.length,c=i.path,u=i.allPath;return{length:a[n],path:c[n],allPath:u[n]}},Uj=function(e,t,n,r){var o;if(t===n)return[[t]];var i=e.edges,a=void 0===i?[]:i,c=[t],u=(o={},o[t]=!0,o),s=[],l=[],f=r?hj(t,a,\"target\"):hj(t,a);s.push(f);while(c.length>0&&s.length>0){var d=s[s.length-1];if(d.length){var h=d.shift();if(h&&(c.push(h),u[h]=!0,f=r?hj(h,a,\"target\"):hj(h,a),s.push(f.filter((function(e){return!u[e]})))),c[c.length-1]===n){var p=c.map((function(e){return e}));l.push(p);v=c.pop();u[v]=!1,s.pop()}}else{var v=c.pop();u[v]=!1,s.pop()}}return l},Gj=function(e,t){for(var n=aj(e,t),r=[],o=n.length,i=0;i<o;i+=1){r[i]=[];for(var a=0;a<o;a+=1)i===a?r[i][a]=0:0!==n[i][a]&&n[i][a]?r[i][a]=n[i][a]:r[i][a]=1/0}for(var c=0;c<o;c+=1)for(i=0;i<o;i+=1)for(a=0;a<o;a+=1)r[i][a]>r[i][c]+r[c][a]&&(r[i][a]=r[i][c]+r[c][a]);return r},Vj=Gj,Wj=function(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=\"weight\"),void 0===r&&(r=1e3);var o=e.nodes,i=void 0===o?[]:o,a=e.edges,c=void 0===a?[]:a,u={},s={};i.forEach((function(e,t){var n=gj();e.clusterId=n,u[n]={id:n,nodes:[e]},s[e.id]={node:e,idx:t}}));var l=aj(e,t),f=[],d={};l.forEach((function(e,t){var n=0,r=i[t].id;d[r]={},e.forEach((function(e,t){if(e){n+=e;var o=i[t].id;d[r][o]=e}})),f.push(n)}));var h=0,p=function(){var e=!1;if(i.forEach((function(t){var n={};Object.keys(d[t.id]).forEach((function(e){var r=d[t.id][e],o=s[e].node,i=o.clusterId;n[i]||(n[i]=0),n[i]+=r}));var r=-1/0,o=[];if(Object.keys(n).forEach((function(e){r<n[e]?(r=n[e],o=[e]):r===n[e]&&o.push(e)})),1!==o.length||o[0]!==t.clusterId){var i=o.indexOf(t.clusterId);if(i>=0&&o.splice(i,1),o&&o.length){e=!0;var a=u[t.clusterId],c=a.nodes.indexOf(t);a.nodes.splice(c,1);var l=Math.floor(Math.random()*o.length),f=u[o[l]];f.nodes.push(t),t.clusterId=f.id}}})),!e)return\"break\";h++};while(h<r){var v=p();if(\"break\"===v)break}Object.keys(u).forEach((function(e){var t=u[e];t.nodes&&t.nodes.length||delete u[e]}));var g=[],m={};c.forEach((function(e){var t=e.source,r=e.target,o=e[n]||1,i=s[t].node.clusterId,a=s[r].node.clusterId,c=\"\".concat(i,\"---\").concat(a);if(m[c])m[c].weight+=o,m[c].count++;else{var u={source:i,target:a,weight:o,count:1};m[c]=u,g.push(u)}}));var y=[];return Object.keys(u).forEach((function(e){y.push(u[e])})),{clusters:y,clusterEdges:g}},Hj=Wj,Yj=function(){function e(e){this.arr=e}return e.prototype.getArr=function(){return this.arr||[]},e.prototype.add=function(t){var n,r=t.arr;if(!(null===(n=this.arr)||void 0===n?void 0:n.length))return new e(r);if(!(null===r||void 0===r?void 0:r.length))return new e(this.arr);if(this.arr.length===r.length){var o=[];for(var i in this.arr)o[i]=this.arr[i]+r[i];return new e(o)}},e.prototype.subtract=function(t){var n,r=t.arr;if(!(null===(n=this.arr)||void 0===n?void 0:n.length))return new e(r);if(!(null===r||void 0===r?void 0:r.length))return new e(this.arr);if(this.arr.length===r.length){var o=[];for(var i in this.arr)o[i]=this.arr[i]-r[i];return new e(o)}},e.prototype.avg=function(t){var n=[];if(0!==t)for(var r in this.arr)n[r]=this.arr[r]/t;return new e(n)},e.prototype.negate=function(){var t=[];for(var n in this.arr)t[n]=-this.arr[n];return new e(t)},e.prototype.squareEuclideanDistance=function(e){var t,n=e.arr;if(!(null===(t=this.arr)||void 0===t?void 0:t.length)||!(null===n||void 0===n?void 0:n.length))return 0;if(this.arr.length===n.length){var r=0;for(var o in this.arr)r+=Math.pow(this.arr[o]-e.arr[o],2);return r}},e.prototype.euclideanDistance=function(e){var t,n=e.arr;if(!(null===(t=this.arr)||void 0===t?void 0:t.length)||!(null===n||void 0===n?void 0:n.length))return 0;if(this.arr.length===n.length){var r=0;for(var o in this.arr)r+=Math.pow(this.arr[o]-e.arr[o],2);return Math.sqrt(r)}console.error(\"The two vectors are unequal in length.\")},e.prototype.normalize=function(){var t=[],n=Object(GS[\"clone\"])(this.arr);n.sort((function(e,t){return e-t}));var r=n[n.length-1],o=n[0];for(var i in this.arr)t[i]=(this.arr[i]-o)/(r-o);return new e(t)},e.prototype.norm2=function(){var e;if(!(null===(e=this.arr)||void 0===e?void 0:e.length))return 0;var t=0;for(var n in this.arr)t+=Math.pow(this.arr[n],2);return Math.sqrt(t)},e.prototype.dot=function(e){var t,n=e.arr;if(!(null===(t=this.arr)||void 0===t?void 0:t.length)||!(null===n||void 0===n?void 0:n.length))return 0;if(this.arr.length===n.length){var r=0;for(var o in this.arr)r+=this.arr[o]*e.arr[o];return r}console.error(\"The two vectors are unequal in length.\")},e.prototype.equal=function(e){var t,n=e.arr;if((null===(t=this.arr)||void 0===t?void 0:t.length)!==(null===n||void 0===n?void 0:n.length))return!1;for(var r in this.arr)if(this.arr[r]!==n[r])return!1;return!0},e}(),Xj=Yj,qj=function(e,t){void 0===t&&(t=void 0);var n=[];return e.forEach((function(e){void 0===t&&n.push(e),void 0!==e[t]&&n.push(e[t])})),n};(function(e){e[\"EuclideanDistance\"]=\"euclideanDistance\"})(Bj||(Bj={}));var Kj=function(e,t,n){var r=[];(null===t||void 0===t?void 0:t.length)?r=t:(e.forEach((function(e){r=r.concat(Object.keys(e))})),r=Object(GS[\"uniq\"])(r));var o={};return r.forEach((function(t){var r=[];e.forEach((function(e){void 0!==e[t]&&\"\"!==e[t]&&r.push(e[t])})),r.length&&!(null===n||void 0===n?void 0:n.includes(t))&&(o[t]=Object(GS[\"uniq\"])(r))})),o},Zj=function(e,t,n){var r=Kj(e,t,n),o=[];if(!Object.keys(r).length)return o;var i=Object.values(r),a=i.every((function(e){return e.every((function(e){return\"number\"===typeof e}))}));return e.forEach((function(e,t){var n=[];Object.keys(r).forEach((function(t){var o=e[t],i=r[t],c=i.findIndex((function(e){return o===e})),u=[];if(a)u.push(o);else for(var s=0;s<i.length;s++)s===c?u.push(1):u.push(0);n=n.concat(u)})),o[t]=n})),o},$j=function(e,t,n,r){void 0===n&&(n=Bj.EuclideanDistance);var o=0;switch(n){case Bj.EuclideanDistance:o=new Xj(e).euclideanDistance(new Xj(t));break;default:break}return o},Qj=function(e,t,n,r){for(var o=t.length,i=2*r,a=0,c=0;c<o;c++)for(var u=e[c].clusterId,s=0;s<o;s++){var l=e[s].clusterId;if(u===l){var f=t[c][s]||0,d=n[c]||0,h=n[s]||0;a+=f-d*h/i}}return a*=1/i,a},Jj=function(e,t){void 0===e&&(e=[]);for(var n=e.length,r=new Xj([]),o=0;o<n;o++)r=r.add(new Xj(t[o]));var i=r.avg(n);i.normalize();var a=0;for(o=0;o<n;o++){var c=new Xj(t[o]),u=c.squareEuclideanDistance(i);a+=u}var s=[];e.forEach((function(){s.push([])}));for(o=0;o<n;o++){c=new Xj(t[o]);e[o][\"clusterInertial\"]=0;for(var l=0;l<n;l++)if(o!==l){var f=new Xj(t[l]);s[o][l]=c.squareEuclideanDistance(f),e[o][\"clusterInertial\"]+=s[o][l]}else s[o][l]=0}var d=0,h=2*n*a;for(o=0;o<n;o++){var p=e[o].clusterId;for(l=0;l<n;l++){var v=e[l].clusterId;if(o!==l&&p===v){var g=e[o].clusterInertial*e[l].clusterInertial/Math.pow(h,2)-s[o][l]/h;d+=g}}}return Number(d.toFixed(4))},ek=function(e,t,n,r,o,i,a,c,u){void 0===t&&(t=!1),void 0===n&&(n=\"weight\"),void 0===r&&(r=1e-4),void 0===o&&(o=!1),void 0===i&&(i=void 0),void 0===a&&(a=[]),void 0===c&&(c=[\"id\"]),void 0===u&&(u=1);var s=e.nodes,l=void 0===s?[]:s,f=e.edges,d=void 0===f?[]:f,h=[];if(o){l.forEach((function(e,t){e.properties=e.properties||{},e.originIndex=t}));var p=[];l.every((function(e){return e.hasOwnProperty(\"nodeType\")}))&&(p=Array.from(new Set(l.map((function(e){return e.nodeType})))),l.forEach((function(e){e.properties.nodeType=p.findIndex((function(t){return t===e.nodeType}))})));var v=qj(l,i);h=Zj(v,a,c)}var g=1,m={},y={};l.forEach((function(e,t){var n=String(g++);e.clusterId=n,m[n]={id:n,nodes:[e]},y[e.id]={node:e,idx:t}}));var b=aj(e,t),x=[],w={},O=0;b.forEach((function(e,t){var n=0,r=l[t].id;w[r]={},e.forEach((function(e,t){if(e){n+=e;var o=l[t].id;w[r][o]=e,O+=e}})),x.push(n)})),O/=2;var E=1/0,S=1/0,j=0,k=[],_={};while(1){E=o&&l.every((function(e){return e.hasOwnProperty(\"properties\")}))?Qj(l,b,x,O)+Jj(l,h)*u:Qj(l,b,x,O),0===j&&(S=E,k=l,_=m);var C=E>0&&E>S&&E-S<r;if(E>S&&(k=l.map((function(e){return{node:e,clusterId:e.clusterId}})),_=Object(GS[\"clone\"])(m),S=E),C||j>100)break;j++,Object.keys(m).forEach((function(e){var t=0;d.forEach((function(r){var o=r.source,i=r.target,a=y[o].node.clusterId,c=y[i].node.clusterId;(a===e&&c!==e||c===e&&a!==e)&&(t+=r[n]||1)})),m[e].sumTot=t})),l.forEach((function(e,t){var r,i=m[e.clusterId],a=0,c=x[t]/(2*O),s=0,l=i.nodes;l.forEach((function(e){var n=y[e.id].idx;s+=b[t][n]||0}));var f=s-i.sumTot*c,p=l.filter((function(t){return t.id!==e.id})),v=[];p.forEach((function(e,t){v[t]=h[e.originIndex]}));var g=Jj(p,h)*u,E=w[e.id];if(Object.keys(E).forEach((function(n){var i=y[n].node,s=i.clusterId;if(s!==e.clusterId){var l=m[s],d=l.nodes;if(d&&d.length){var p=0;d.forEach((function(e){var n=y[e.id].idx;p+=b[t][n]||0}));var v=p-l.sumTot*c,x=d.concat([e]),w=[];x.forEach((function(e,t){w[t]=h[e.originIndex]}));var O=Jj(x,h)*u,E=v-f;o&&(E=v+O-(f+g)),E>a&&(a=E,r=l)}}})),a>0){r.nodes.push(e);var S=e.clusterId;e.clusterId=r.id;var j=i.nodes.indexOf(e);i.nodes.splice(j,1);var k=0,_=0;d.forEach((function(e){var t=e.source,o=e.target,i=y[t].node.clusterId,a=y[o].node.clusterId;(i===r.id&&a!==r.id||a===r.id&&i!==r.id)&&(k+=e[n]||1),(i===S&&a!==S||a===S&&i!==S)&&(_+=e[n]||1)})),r.sumTot=k,i.sumTot=_}}))}var M={},A=0;Object.keys(_).forEach((function(e){var t=_[e];if(t.nodes&&t.nodes.length){var n=String(A+1);n!==e&&(t.id=n,t.nodes=t.nodes.map((function(e){return{id:e.id,clusterId:n}})),_[n]=t,M[e]=n,delete _[e],A++)}else delete _[e]})),k.forEach((function(e){var t=e.node,n=e.clusterId;t&&(t.clusterId=n,t.clusterId&&M[t.clusterId]&&(t.clusterId=M[t.clusterId]))}));var N=[],T={};d.forEach((function(e){var t=e.source,r=e.target,o=e[n]||1,i=y[t].node.clusterId,a=y[r].node.clusterId;if(i&&a){var c=\"\".concat(i,\"---\").concat(a);if(T[c])T[c].weight+=o,T[c].count++;else{var u={source:i,target:a,weight:o,count:1};T[c]=u,N.push(u)}}}));var I=[];return Object.keys(_).forEach((function(e){I.push(_[e])})),{clusters:I,clusterEdges:N}},tk=ek,nk=function(e,t,n,r,o,i,a,c){return void 0===t&&(t=!1),void 0===n&&(n=\"weight\"),void 0===r&&(r=1e-4),void 0===o&&(o=void 0),void 0===i&&(i=[]),void 0===a&&(a=[\"id\"]),void 0===c&&(c=1),tk(e,t,n,r,!0,o,i,a,c)},rk=nk,ok=function(e,t){var n;void 0===t&&(t=1);var r=Object(GS[\"clone\"])(e),o=r.nodes,i=void 0===o?[]:o,a=r.edges,c=void 0===a?[]:a,u=function(){var e=Sj({nodes:i,edges:c}),r=Object.keys(e);r.sort((function(t,n){var r,o;return(null===(r=e[t])||void 0===r?void 0:r.degree)-(null===(o=e[n])||void 0===o?void 0:o.degree)}));var o=r[0];if(!i.length||(null===(n=e[o])||void 0===n?void 0:n.degree)>=t)return\"break\";var a=i.findIndex((function(e){return e.id===o}));i.splice(a,1),c=c.filter((function(e){return!(e.source===o||e.target===o)}))};while(1){var s=u();if(\"break\"===s)break}return{nodes:i,edges:c}},ik=ok,ak=function(e,t,n){var r=[];switch(e){case Bj.EuclideanDistance:r=t[n];break;default:r=[];break}return r},ck=function(e,t,n,r,o,i){void 0===t&&(t=3),void 0===n&&(n=void 0),void 0===r&&(r=[]),void 0===o&&(o=[\"id\"]),void 0===i&&(i=Bj.EuclideanDistance);var a=e.nodes,c=void 0===a?[]:a,u=e.edges,s=void 0===u?[]:u,l={clusters:[{id:\"0\",nodes:c}],clusterEdges:[]};if(i===Bj.EuclideanDistance&&!c.every((function(e){return e.hasOwnProperty(n)})))return l;var f=[],d=[];if(i===Bj.EuclideanDistance&&(f=qj(c,n),d=Zj(f,r,o)),!d.length)return l;for(var h=Object(GS[\"uniq\"])(d.map((function(e){return e.join(\"\")}))),p=Math.min(t,c.length,h.length),v=0;v<c.length;v++)c[v].originIndex=v;var g=[],m=[],y=[];for(v=0;v<p;v++)if(0===v){var b=Math.floor(Math.random()*c.length);switch(i){case Bj.EuclideanDistance:g[v]=d[b];break;default:g[v]=[];break}m.push(b),y[v]=[c[b]],c[b].clusterId=String(v)}else{for(var x=-1/0,w=0,O=function(e){if(!m.includes(e)){for(var t=0,n=0;n<g.length;n++){var r=0;switch(i){case Bj.EuclideanDistance:r=$j(d[c[e].originIndex],g[n],i);break;default:break}t+=r}var o=t/g.length;o>x&&!g.find((function(t){return Object(GS[\"isEqual\"])(t,ak(i,d,c[e].originIndex))}))&&(x=o,w=e)}},E=0;E<c.length;E++)O(E);g[v]=ak(i,d,w),m.push(w),y[v]=[c[w]],c[w].clusterId=String(v)}var S=0;while(1){for(v=0;v<c.length;v++){var j=0,k=1/0;if(0!==S||!m.includes(v)){for(var _=0;_<g.length;_++){var C=0;switch(i){case Bj.EuclideanDistance:C=$j(d[v],g[_],i);break;default:break}C<k&&(k=C,j=_)}if(void 0!==c[v].clusterId)for(var M=y[Number(c[v].clusterId)].length-1;M>=0;M--)y[Number(c[v].clusterId)][M].id===c[v].id&&y[Number(c[v].clusterId)].splice(M,1);c[v].clusterId=String(j),y[j].push(c[v])}}var A=!1;for(v=0;v<y.length;v++){var N=y[v],T=new Xj([]);for(_=0;_<N.length;_++)T=T.add(new Xj(d[N[_].originIndex]));var I=T.avg(N.length);I.equal(new Xj(g[v]))||(A=!0,g[v]=I.getArr())}if(S++,c.every((function(e){return void 0!==e.clusterId}))&&A||S>=1e3)break}var P=[],L={};return s.forEach((function(e){var t,n,r=e.source,o=e.target,i=null===(t=c.find((function(e){return e.id===r})))||void 0===t?void 0:t.clusterId,a=null===(n=c.find((function(e){return e.id===o})))||void 0===n?void 0:n.clusterId,u=\"\".concat(i,\"---\").concat(a);if(L[u])L[u].count++;else{var s={source:i,target:a,count:1};L[u]=s,P.push(s)}})),{clusters:y,clusterEdges:P}},uk=ck,sk=function(e,t){var n=new Xj(t),r=n.norm2(),o=new Xj(e),i=o.norm2(),a=n.dot(o),c=r*i,u=c?a/c:0;return u},lk=sk,fk=function(e,t,n,r,o){void 0===e&&(e=[]),void 0===n&&(n=void 0),void 0===r&&(r=[]),void 0===o&&(o=[]);var i=Object(GS[\"clone\"])(e.filter((function(e){return e.id!==t.id}))),a=e.findIndex((function(e){return e.id===t.id})),c=qj(e,n),u=Zj(c,r,o),s=u[a],l=[];return i.forEach((function(e,n){if(e.id!==t.id){var r=u[n],o=lk(r,s);l.push(o),e.cosineSimilarity=o}})),i.sort((function(e,t){return t.cosineSimilarity-e.cosineSimilarity})),{allCosineSimilarity:l,similarNodes:i}},dk=fk,hk=function(){function e(e){this.count=e.length,this.parent={};for(var t=0,n=e;t<n.length;t++){var r=n[t];this.parent[r]=r}}return e.prototype.find=function(e){while(this.parent[e]!==e)e=this.parent[e];return e},e.prototype.union=function(e,t){var n=this.find(e),r=this.find(t);n!==r&&(n<r?(this.parent[t]!==t&&this.union(this.parent[t],e),this.parent[t]=this.parent[e]):(this.parent[e]!==e&&this.union(this.parent[e],t),this.parent[e]=this.parent[t]))},e.prototype.connected=function(e,t){return this.find(e)===this.find(t)},e}(),pk=hk,vk=function(e,t){return e-t},gk=function(){function e(e){void 0===e&&(e=vk),this.compareFn=e,this.list=[]}return e.prototype.getLeft=function(e){return 2*e+1},e.prototype.getRight=function(e){return 2*e+2},e.prototype.getParent=function(e){return 0===e?null:Math.floor((e-1)/2)},e.prototype.isEmpty=function(){return this.list.length<=0},e.prototype.top=function(){return this.isEmpty()?void 0:this.list[0]},e.prototype.delMin=function(){var e=this.top(),t=this.list.pop();return this.list.length>0&&(this.list[0]=t,this.moveDown(0)),e},e.prototype.insert=function(e){if(null!==e){this.list.push(e);var t=this.list.length-1;return this.moveUp(t),!0}return!1},e.prototype.moveUp=function(e){var t=this.getParent(e);while(e&&e>0&&this.compareFn(this.list[t],this.list[e])>0){var n=this.list[t];this.list[t]=this.list[e],this.list[e]=n,e=t,t=this.getParent(e)}},e.prototype.moveDown=function(e){var t,n=e,r=this.getLeft(e),o=this.getRight(e),i=this.list.length;null!==r&&r<i&&this.compareFn(this.list[n],this.list[r])>0?n=r:null!==o&&o<i&&this.compareFn(this.list[n],this.list[o])>0&&(n=o),e!==n&&(t=[this.list[n],this.list[e]],this.list[e]=t[0],this.list[n]=t[1],this.moveDown(n))},e}(),mk=gk,yk=function(e,t){var n=[],r=e.nodes,o=void 0===r?[]:r,i=e.edges,a=void 0===i?[]:i;if(0===o.length)return n;var c=o[0],u=new Set;u.add(c);var s=function(e,n){return t?e.weight-n.weight:0},l=new mk(s);vj(c.id,a).forEach((function(e){l.insert(e)}));while(!l.isEmpty()){var f=l.delMin(),d=f.source,h=f.target;u.has(d)&&u.has(h)||(n.push(f),u.has(d)||(u.add(d),vj(d,a).forEach((function(e){l.insert(e)}))),u.has(h)||(u.add(h),vj(h,a).forEach((function(e){l.insert(e)}))))}return n},bk=function(e,t){var n=[],r=e.nodes,o=void 0===r?[]:r,i=e.edges,a=void 0===i?[]:i;if(0===o.length)return n;var c=a.map((function(e){return e}));t&&c.sort((function(e,t){return e.weight-t.weight}));var u=new pk(o.map((function(e){return e.id})));while(c.length>0){var s=c.shift(),l=s.source,f=s.target;u.connected(l,f)||(n.push(s),u.union(l,f))}return n},xk=function(e,t,n){var r={prim:yk,kruskal:bk};return n?r[n](e,t):bk(e,t)},wk=xk,Ok=function(e,t,n){\"number\"!==typeof t&&(t=1e-6),\"number\"!==typeof n&&(n=.85);for(var r,o=1,i=0,a=1e3,c=e.nodes,u=void 0===c?[]:c,s=e.edges,l=void 0===s?[]:s,f=u.length,d={},h={},p=0;p<f;++p){var v=u[p],g=v.id;d[g]=1/f,h[g]=1/f}var m=Sj(e);while(a>0&&o>t){i=0;for(p=0;p<f;++p){v=u[p],g=v.id;if(r=0,0===m[v.id].inDegree)d[g]=0;else{for(var y=hj(g,l,\"source\"),b=0;b<y.length;++b){var x=y[b],w=m[x].outDegree;w>0&&(r+=h[x]/w)}d[g]=n*r,i+=d[g]}}i=(1-i)/f,o=0;for(p=0;p<f;++p){v=u[p],g=v.id;r=d[g]+i,o+=Math.abs(r-h[g]),h[g]=r}a-=1}return h},Ek=Ok,Sk=-1,jk=-1,kk=\"-1\",_k=\"-1\",Ck=-1,Mk=function(){function e(e,t,n,r){void 0===e&&(e=Sk),void 0===t&&(t=jk),void 0===n&&(n=jk),void 0===r&&(r=kk),this.id=e,this.from=t,this.to=n,this.label=r}return e}(),Ak=function(){function e(e,t){void 0===e&&(e=jk),void 0===t&&(t=_k),this.id=e,this.label=t,this.edges=[],this.edgeMap={}}return e.prototype.addEdge=function(e){this.edges.push(e),this.edgeMap[e.id]=e},e}(),Nk=function(){function e(e,t,n){void 0===e&&(e=jk),void 0===t&&(t=!0),void 0===n&&(n=!1),this.id=e,this.edgeIdAutoIncrease=t,this.edges=[],this.nodes=[],this.nodeMap={},this.edgeMap={},this.nodeLabelMap={},this.edgeLabelMap={},this.counter=0,this.directed=n}return e.prototype.getNodeNum=function(){return this.nodes.length},e.prototype.addNode=function(e,t){if(!this.nodeMap[e]){var n=new Ak(e,t);this.nodes.push(n),this.nodeMap[e]=n,this.nodeLabelMap[t]||(this.nodeLabelMap[t]=[]),this.nodeLabelMap[t].push(e)}},e.prototype.addEdge=function(e,t,n,r){if((this.edgeIdAutoIncrease||void 0===e)&&(e=this.counter++),!(this.nodeMap[t]&&this.nodeMap[n]&&this.nodeMap[n].edgeMap[e])){var o=new Mk(e,t,n,r);if(this.edges.push(o),this.edgeMap[e]=o,this.nodeMap[t].addEdge(o),this.edgeLabelMap[r]||(this.edgeLabelMap[r]=[]),this.edgeLabelMap[r].push(o),!this.directed){var i=new Mk(e,n,t,r);this.nodeMap[n].addEdge(i),this.edgeLabelMap[r].push(i)}}},e}(),Tk=function(){function e(e,t,n,r,o){this.fromNode=e,this.toNode=t,this.nodeEdgeNodeLabel={nodeLabel1:n||_k,edgeLabel:r||kk,nodeLabel2:o||_k}}return e.prototype.equalTo=function(e){return this.fromNode===e.formNode&&this.toNode===e.toNode&&this.nodeEdgeNodeLabel===e.nodeEdgeNodeLabel},e.prototype.notEqualTo=function(e){return!this.equalTo(e)},e}(),Ik=function(){function e(){this.rmpath=[],this.dfsEdgeList=[]}return e.prototype.equalTo=function(e){var t=this.dfsEdgeList.length,n=e.length;if(t!==n)return!1;for(var r=0;r<t;r++)if(this.dfsEdgeList[r]!==e[r])return!1;return!0},e.prototype.notEqualTo=function(e){return!this.equalTo(e)},e.prototype.pushBack=function(e,t,n,r,o){return this.dfsEdgeList.push(new Tk(e,t,n,r,o)),this.dfsEdgeList},e.prototype.toGraph=function(e,t){void 0===e&&(e=Ck),void 0===t&&(t=!1);var n=new Nk(e,!0,t);return this.dfsEdgeList.forEach((function(e){var t=e.fromNode,r=e.toNode,o=e.nodeEdgeNodeLabel,i=o.nodeLabel1,a=o.edgeLabel,c=o.nodeLabel2;i!==_k&&n.addNode(t,i),c!==_k&&n.addNode(r,c),i!==_k&&c!==i&&n.addEdge(void 0,t,r,a)})),n},e.prototype.buildRmpath=function(){this.rmpath=[];for(var e=void 0,t=this.dfsEdgeList.length,n=t-1;n>=0;n--){var r=this.dfsEdgeList[n],o=r.fromNode,i=r.toNode;o<i&&(void 0===e||i===e)&&(this.rmpath.push(n),e=o)}return this.rmpath},e.prototype.getNodeNum=function(){var e={};return this.dfsEdgeList.forEach((function(t){e[t.fromNode]||(e[t.fromNode]=!0),e[t.toNode]||(e[t.toNode]=!0)})),Object.keys(e).length},e}(),Pk=function(){function e(e){if(this.his={},this.nodesUsed={},this.edgesUsed={},this.edges=[],e){while(e){var t=e.edge;this.edges.push(t),this.nodesUsed[t.from]=1,this.nodesUsed[t.to]=1,this.edgesUsed[t.id]=1,e=e.preNode}this.edges=this.edges.reverse()}}return e.prototype.hasNode=function(e){return 1===this.nodesUsed[e.id]},e.prototype.hasEdge=function(e){return 1===this.edgesUsed[e.id]},e}(),Lk=function(){function e(e){var t=e.graphs,n=e.minSupport,r=void 0===n?2:n,o=e.minNodeNum,i=void 0===o?1:o,a=e.maxNodeNum,c=void 0===a?4:a,u=e.top,s=void 0===u?10:u,l=e.directed,f=void 0!==l&&l,d=e.verbose,h=void 0!==d&&d;this.graphs=t,this.dfsCode=new Ik,this.support=0,this.frequentSize1Subgraphs=[],this.frequentSubgraphs=[],this.minSupport=r,this.top=s,this.directed=f,this.counter=0,this.maxNodeNum=c,this.minNodeNum=i,this.verbose=h,this.maxNodeNum<this.minNodeNum&&(this.maxNodeNum=this.minNodeNum),this.reportDF=[]}return e.prototype.findForwardRootEdges=function(e,t){var n=this,r=[],o=e.nodeMap;return t.edges.forEach((function(e){(n.directed||t.label<=o[e.to].label)&&r.push(e)})),r},e.prototype.findBackwardEdge=function(e,t,n,r){if(!this.directed&&t===n)return null;for(var o=e.nodeMap,i=o[n.to],a=i.edges,c=a.length,u=0;u<c;u++){var s=a[u];if(!r.hasEdge(s)&&s.to===t.from)if(this.directed){if(o[t.from].label<o[n.to].label||o[t.from].label===o[n.to].label&&t.label<=s.label)return s}else if(t.label<s.label||t.label===s.label&&o[t.to].label<=o[n.to].label)return s}return null},e.prototype.findForwardPureEdges=function(e,t,n,r){for(var o=[],i=t.to,a=e.nodeMap[i].edges,c=a.length,u=0;u<c;u++){var s=a[u],l=e.nodeMap[s.to];n<=l.label&&!r.hasNode(l)&&o.push(s)}return o},e.prototype.findForwardRmpathEdges=function(e,t,n,r){for(var o=[],i=e.nodeMap,a=i[t.to].label,c=i[t.from],u=c.edges,s=u.length,l=0;l<s;l++){var f=u[l],d=i[f.to].label;t.to===f.to||n>d||r.hasNode(i[f.to])||(t.label<f.label||t.label===f.label&&a<=d)&&o.push(f)}return o},e.prototype.getSupport=function(e){var t={};return e.forEach((function(e){t[e.graphId]||(t[e.graphId]=!0)})),Object.keys(t).length},e.prototype.findMinLabel=function(e){var t=void 0;return Object.keys(e).forEach((function(n){var r=e[n],o=r.nodeLabel1,i=r.edgeLabel,a=r.nodeLabel2;t?(o<t.nodeLabel1||o===t.nodeLabel1&&i<t.edgeLabel||o===t.nodeLabel1&&i===t.edgeLabel&&a<t.nodeLabel2)&&(t={nodeLabel1:o,edgeLabel:i,nodeLabel2:a}):t={nodeLabel1:o,edgeLabel:i,nodeLabel2:a}})),t},e.prototype.isMin=function(){var e=this,t=this.dfsCode;if(this.verbose&&console.log(\"isMin checking\",t),1===t.dfsEdgeList.length)return!0;var n=this.directed,r=t.toGraph(Ck,n),o=r.nodeMap,i=new Ik,a={};r.nodes.forEach((function(t){var n=e.findForwardRootEdges(r,t);n.forEach((function(e){var n=o[e.to],i=\"\".concat(t.label,\"-\").concat(e.label,\"-\").concat(n.label);a[i]||(a[i]={projected:[],nodeLabel1:t.label,edgeLabel:e.label,nodeLabel2:n.label});var c={graphId:r.id,edge:e,preNode:null};a[i].projected.push(c)}))}));var c=this.findMinLabel(a);if(c){i.dfsEdgeList.push(new Tk(0,1,c.nodeLabel1,c.edgeLabel,c.nodeLabel2));var u=function a(c){for(var u=i.buildRmpath(),s=i.dfsEdgeList[0].nodeEdgeNodeLabel.nodeLabel1,l=i.dfsEdgeList[u[0]].toNode,f={},d=!1,h=0,p=n?-1:0,v=function(t){if(d)return\"break\";c.forEach((function(n){var o=new Pk(n),a=e.findBackwardEdge(r,o.edges[u[t]],o.edges[u[0]],o);a&&(f[a.label]||(f[a.label]={projected:[],edgeLabel:a.label}),f[a.label].projected.push({graphId:r.id,edge:f,preNode:n}),h=i.dfsEdgeList[u[t]].fromNode,d=!0)}))},g=u.length-1;g>p;g--){var m=v(g);if(\"break\"===m)break}if(d){var y=e.findMinLabel(f);i.dfsEdgeList.push(new Tk(l,h,_k,y.edgeLabel,_k));var b=i.dfsEdgeList.length-1;return e.dfsCode.dfsEdgeList[b]===i.dfsEdgeList[b]&&a(f[y.edgeLabel].projected)}var x={};d=!1;var w=0;c.forEach((function(t){var n=new Pk(t),i=e.findForwardPureEdges(r,n.edges[u[0]],s,n);i.length>0&&(d=!0,w=l,i.forEach((function(e){var n=\"\".concat(e.label,\"-\").concat(o[e.to].label);x[n]||(x[n]={projected:[],edgeLabel:e.label,nodeLabel2:o[e.to].label}),x[n].projected.push({graphId:r.id,edge:e,preNode:t})})))}));var O=u.length,E=function(t){if(d)return\"break\";var n=u[t];c.forEach((function(t){var a=new Pk(t),c=e.findForwardRmpathEdges(r,a.edges[n],s,a);c.length>0&&(d=!0,w=i.dfsEdgeList[n].fromNode,c.forEach((function(e){var n=\"\".concat(e.label,\"-\").concat(o[e.to].label);x[n]||(x[n]={projected:[],edgeLabel:e.label,nodeLabel2:o[e.to].label}),x[n].projected.push({graphId:r.id,edge:e,preNode:t})})))}))};for(g=0;g<O;g++){var S=E(g);if(\"break\"===S)break}if(!d)return!0;var j=e.findMinLabel(x);i.dfsEdgeList.push(new Tk(w,l+1,_k,j.edgeLabel,j.nodeLabel2));var k=i.dfsEdgeList.length-1;return t.dfsEdgeList[k]===i.dfsEdgeList[k]&&a(x[\"\".concat(j.edgeLabel,\"-\").concat(j.nodeLabel2)].projected)},s=\"\".concat(c.nodeLabel1,\"-\").concat(c.edgeLabel,\"-\").concat(c.nodeLabel2);return u(a[s].projected)}},e.prototype.report=function(){if(!(this.dfsCode.getNodeNum()<this.minNodeNum)){this.counter++;var e=this.dfsCode.toGraph(this.counter,this.directed);this.frequentSubgraphs.push(Object(GS[\"clone\"])(e))}},e.prototype.subGraphMining=function(e){var t=this,n=this.getSupport(e);if(!(n<this.minSupport)&&this.isMin()){this.report();var r=this.dfsCode.getNodeNum(),o=this.dfsCode.buildRmpath(),i=this.dfsCode.dfsEdgeList[o[0]].toNode,a=this.dfsCode.dfsEdgeList[0].nodeEdgeNodeLabel.nodeLabel1,c={},u={};e.forEach((function(e){for(var n=t.graphs[e.graphId],s=n.nodeMap,l=new Pk(e),f=o.length-1;f>=0;f--){var d=t.findBackwardEdge(n,l.edges[o[f]],l.edges[o[0]],l);if(d){var h=\"\".concat(t.dfsCode.dfsEdgeList[o[f]].fromNode,\"-\").concat(d.label);u[h]||(u[h]={projected:[],toNodeId:t.dfsCode.dfsEdgeList[o[f]].fromNode,edgeLabel:d.label}),u[h].projected.push({graphId:e.graphId,edge:d,preNode:e})}}if(!(r>=t.maxNodeNum)){var p=t.findForwardPureEdges(n,l.edges[o[0]],a,l);p.forEach((function(t){var n=\"\".concat(i,\"-\").concat(t.label,\"-\").concat(s[t.to].label);c[n]||(c[n]={projected:[],fromNodeId:i,edgeLabel:t.label,nodeLabel2:s[t.to].label}),c[n].projected.push({graphId:e.graphId,edge:t,preNode:e})}));var v=function(r){var i=t.findForwardRmpathEdges(n,l.edges[o[r]],a,l);i.forEach((function(n){var i=\"\".concat(t.dfsCode.dfsEdgeList[o[r]].fromNode,\"-\").concat(n.label,\"-\").concat(s[n.to].label);c[i]||(c[i]={projected:[],fromNodeId:t.dfsCode.dfsEdgeList[o[r]].fromNode,edgeLabel:n.label,nodeLabel2:s[n.to].label}),c[i].projected.push({graphId:e.graphId,edge:n,preNode:e})}))};for(f=0;f<o.length;f++)v(f)}})),Object.keys(u).forEach((function(e){var n=u[e],r=n.toNodeId,o=n.edgeLabel;t.dfsCode.dfsEdgeList.push(new Tk(i,r,\"-1\",o,\"-1\")),t.subGraphMining(u[e].projected),t.dfsCode.dfsEdgeList.pop()})),Object.keys(c).forEach((function(e){var n=c[e],r=n.fromNodeId,o=n.edgeLabel,a=n.nodeLabel2;t.dfsCode.dfsEdgeList.push(new Tk(r,i+1,_k,o,a)),t.subGraphMining(c[e].projected),t.dfsCode.dfsEdgeList.pop()}))}},e.prototype.generate1EdgeFrequentSubGraphs=function(){var e=this.graphs,t=this.directed,n=this.minSupport,r=this.frequentSize1Subgraphs,o={},i={},a={},c={};return Object.keys(e).forEach((function(n){var r=e[n],u=r.nodeMap;r.nodes.forEach((function(e,r){var s=e.label,l=\"\".concat(n,\"-\").concat(s);if(!a[l]){var f=o[s]||0;f++,o[s]=f}a[l]={graphKey:n,label:s},e.edges.forEach((function(e){var r=s,o=u[e.to].label;if(!t&&r>o){var a=o;o=r,r=a}var l=e.label,f=\"\".concat(n,\"-\").concat(r,\"-\").concat(l,\"-\").concat(o),d=\"\".concat(r,\"-\").concat(l,\"-\").concat(o);if(!i[d]){var h=i[d]||0;h++,i[d]=h}c[f]={graphId:n,nodeLabel1:r,edgeLabel:l,nodeLabel2:o}}))}))})),Object.keys(o).forEach((function(e){var t=o[e];if(!(t<n)){var i={nodes:[],edges:[]};i.nodes.push({id:\"0\",label:e}),r.push(i)}})),r},e.prototype.run=function(){var e=this;if(this.frequentSize1Subgraphs=this.generate1EdgeFrequentSubGraphs(),!(this.maxNodeNum<2)){var t=this.graphs,n=(this.directed,{});Object.keys(t).forEach((function(r){var o=t[r],i=o.nodeMap;o.nodes.forEach((function(t){var a=e.findForwardRootEdges(o,t);a.forEach((function(e){var o=i[e.to],a=\"\".concat(t.label,\"-\").concat(e.label,\"-\").concat(o.label);n[a]||(n[a]={projected:[],nodeLabel1:t.label,edgeLabel:e.label,nodeLabel2:o.label});var c={graphId:r,edge:e,preNode:null};n[a].projected.push(c)}))}))})),Object.keys(n).forEach((function(t){var r=n[t],o=r.projected,i=r.nodeLabel1,a=r.edgeLabel,c=r.nodeLabel2;e.dfsCode.dfsEdgeList.push(new Tk(0,1,i,a,c)),e.subGraphMining(o),e.dfsCode.dfsEdgeList.pop()}))}},e}(),Dk=function(e,t,n,r){var o={};return Object.keys(e).forEach((function(i,a){var c=e[i],u=new Nk(a,!0,t),s={};c.nodes.forEach((function(e,t){u.addNode(t,e[n]),s[e.id]=t})),c.edges.forEach((function(e,t){var n=s[e.source],o=s[e.target];u.addEdge(-1,n,o,e[r])})),u&&u.getNodeNum()&&(o[u.id]=u)})),o},Rk=function(e,t,n){var r=[];return e.forEach((function(e){var o={nodes:[],edges:[]};e.nodes.forEach((function(e){var n;o.nodes.push((n={id:\"\".concat(e.id)},n[t]=e.label,n))})),e.edges.forEach((function(e){var t;o.edges.push((t={source:\"\".concat(e.from),target:\"\".concat(e.to)},t[n]=e.label,t))})),r.push(o)})),r},Fk=\"cluster\",Bk=function(e){var t=e.graphs,n=e.directed,r=void 0!==n&&n,o=e.nodeLabelProp,i=void 0===o?Fk:o,a=e.edgeLabelProp,c=void 0===a?Fk:a,u=Dk(t,r,i,c),s=e.minSupport,l=e.maxNodeNum,f=e.minNodeNum,d=e.verbose,h=e.top,p={graphs:u,minSupport:s,maxNodeNum:l,minNodeNum:f,top:h,verbose:d,directed:r},v=new Lk(p);v.run();var g=Rk(v.frequentSubgraphs,i,c);return g},zk=Bk,Uk=function(e,t,n,r){void 0===n&&(n=\"cluster\"),void 0===r&&(r=2);var o=[],i=e.nodes;return t.forEach((function(e,t){o.push(Gk(i,e,t,n,r))})),o},Gk=function(e,t,n,r,o){var i=[n],a=[],c={};return t.forEach((function(t,u){if(t<=o&&n!==u){i.push(u),a.push(e[u]);var s=e[u][r];c[s]?(c[s].count++,c[s].dists.push(t)):c[s]={count:1,dists:[t]}}})),Object.keys(c).forEach((function(e){c[e].dists=c[e].dists.sort((function(e,t){return e-t}))})),{nodeIdx:n,nodeId:e[n].id,nodeIdxs:i,neighbors:a,neighborNum:i.length-1,nodeLabelCountMap:c}},Vk=function(e,t,n,r,o){var i=Math.ceil(n/t),a={},c=0;return r.forEach((function(e,r){var u=0,s=0,l=e.nodeIdxs,f=e.neighborNum-1;while(u<i){var d=l[1+Math.floor(Math.random()*f)],h=0;while(a[\"\".concat(r,\"-\").concat(d)]||a[\"\".concat(d,\"-\").concat(r)])if(d=Math.floor(Math.random()*t),h++,h>2*t)break;if(h<2*t&&(a[\"\".concat(r,\"-\").concat(d)]={start:r,end:d,distance:o[r][d]},u++,c++,c>=n))return a;if(s++,s>2*t)break}if(u<i){var p=i-u;i=(i+p)/(t-r-1)}})),a},Wk=function(e,t,n,r){var o=n.nodes;return r||(r={}),Object.keys(e).forEach((function(i){var a,c;if(!r||!r[i]){r[i]={nodes:[],edges:[]};var u=e[i],s=null===(a=t[u.start])||void 0===a?void 0:a.nodeIdxs,l=null===(c=t[u.end])||void 0===c?void 0:c.nodeIdxs;if(s&&l){var f=new Set(l),d=s.filter((function(e){return f.has(e)}));if(d&&d.length){for(var h={},p=d.length,v=0;v<p;v++){var g=o[d[v]];r[i].nodes.push(g),h[g.id]=!0}n.edges.forEach((function(e){h[e.source]&&h[e.target]&&r[i].edges.push(e)}))}}}})),r},Hk=function(e,t,n,r){var o,i,a={};e.nodes.forEach((function(e){a[e.id]=e}));var c=0;return!(null===(o=null===t||void 0===t?void 0:t.edges)||void 0===o?void 0:o.length)||(null===(i=null===t||void 0===t?void 0:t.nodes)||void 0===i?void 0:i.length)<2?0:(e.edges.forEach((function(e){var o=a[e.source][n],i=a[e.target][n],u=null===t||void 0===t?void 0:t.nodes[0][n],s=null===t||void 0===t?void 0:t.nodes[1][n],l=null===t||void 0===t?void 0:t.edges[0][r];e[r]===l&&(o===u&&i===s||o===s&&i===u)&&c++})),c)},Yk=function(e,t,n){for(var r=1/0,o=0,i=function(t){var n=e[t],i=Object.keys(n).sort((function(e,t){return n[e]-n[t]})),a=10,c=[];i.forEach((function(e,t){c[t%a]||(c[t%a]={graphs:[],totalCount:0,aveCount:0}),c[t%a].graphs.push(e),c[t%a].totalCount+=n[e]}));var u=0,s=[];c.forEach((function(e){var t=e.totalCount/e.graphs.length;e.aveCount=t,s.push(t);var r=0,o=e.length;e.graphs.forEach((function(t,o){var i=n[t];e.graphs.forEach((function(e,t){o!==t&&(r+=Math.abs(i-n[e]))}))})),r/=o*(o-1)/2,u+=r})),u/=c.length;var l=0;s.forEach((function(e,t){s.forEach((function(n,r){t!==r&&(l+=Math.abs(e-n))})),l/=s.length*(s.length-1)/2}));var f=l-u;r<f&&(r=f,o=t)},a=0;a<t;a++)i(a);return{structure:n[o],structureCountMap:e[o]}},Xk=function(e,t){var n={},r={};return e.forEach((function(e,o){n[e.id]={idx:o,node:e,degree:0,inDegree:0,outDegree:0};var i=e[t];r[i]||(r[i]=[]),r[i].push(e)})),{nodeMap:n,nodeLabelMap:r}},qk=function(e,t,n){var r={},o={};return e.forEach((function(e,i){r[\"\".concat(gj)]={idx:i,edge:e};var a=e[t];o[a]||(o[a]=[]),o[a].push(e);var c=n[e.source];c&&(c.degree++,c.outDegree++);var u=n[e.target];u&&(u.degree++,u.inDegree++)})),{edgeMap:r,edgeLabelMap:o}},Kk=function(e,t,n){var r=t.length,o={};return t.forEach((function(t,i){for(var a=n?0:i+1,c=e[i].id,u=a;u<r;u++)if(i!==u){var s=e[u].id,l=t[u];o[\"\".concat(c,\"-\").concat(s)]=l,n||(o[\"\".concat(s,\"-\").concat(c)]=l)}})),o},Zk=function(e,t,n,r,o,i,a,c,u,s,l){var f,d=\"\".concat(t.id,\"-\").concat(n.id);if(s&&s[d])return s[d];var h=l?l[d]:void 0;if(!h){var p=(f={},f[d]={start:r[t.id].idx,end:r[n.id].idx,distance:o},f);l=Wk(p,i,e,l),h=l[d]}return Hk(h,a,c,u)},$k=function(e,t,n,r){var o,i,a,c=null===(o=e[t])||void 0===o?void 0:o.degree,u=null===(i=e[t])||void 0===i?void 0:i.inDegree,s=null===(a=e[t])||void 0===a?void 0:a.outDegree;return void 0===e[t]&&(c=1/0,u=1/0,s=1/0,r[t].forEach((function(e){var t=n[e.id].degree;c>t&&(c=t);var r=n[e.id].inDegree;u>r&&(u=r);var o=n[e.id].outDegree;s>o&&(s=o)})),e[t]={degree:c,inDegree:u,outDegree:s}),{minPatternNodeLabelDegree:c,minPatternNodeLabelInDegree:u,minPatternNodeLabelOutDegree:s}},Qk=function(e,t,n,r,o,i,a){var c;if(void 0===n&&(n=!1),void 0===i&&(i=\"cluster\"),void 0===a&&(a=\"cluster\"),e&&e.nodes){var u=e.nodes.length;if(u){var s=Vj(e,n),l=Vj(t,n),f=Kk(e.nodes,s,n),d=Kk(t.nodes,l,n),h=Xk(e.nodes,i),p=h.nodeMap,v=h.nodeLabelMap,g=Xk(t.nodes,i),m=g.nodeMap,y=g.nodeLabelMap;qk(e.edges,a,p);var b=qk(t.edges,a,m).edgeLabelMap,x=[];null===l||void 0===l||l.forEach((function(e){x=x.concat(e)})),o||(o=Math.max.apply(Math,Object(US[\"__spreadArray\"])(Object(US[\"__spreadArray\"])([],x,!1),[2],!1))),r||(r=o);var w=Uk(e,s,i,r),O=Uk(t,l,i,r),E=Math.min(100,u*(u-1)/2),S=Vk(r,u,E,w,s),j=Wk(S,w,e),k=10,_=1,C=1,M=4,A={graphs:j,nodeLabelProp:i,edgeLabelProp:a,minSupport:_,minNodeNum:C,maxNodeNum:M,directed:n},N=zk(A).slice(0,k),T=N.length,I=[];N.forEach((function(e,t){I[t]={},Object.keys(j).forEach((function(n){var r=j[n],o=Hk(r,e,i,a);I[t][n]=o}))}));var P=Yk(I,T,N),L=P.structure,D=P.structureCountMap,R=t.nodes[0],F=[],B=null===(c=t.nodes[0])||void 0===c?void 0:c[i],z=-1/0;t.nodes.forEach((function(e){var t=e[i],n=v[t];(null===n||void 0===n?void 0:n.length)>z&&(z=n.length,F=n,B=t,R=e)}));var U={},G={},V={},W={},H={},Y={};Object.keys(y).forEach((function(r,o){H[r]=[],n&&(Y[r]=[]);var c=-1/0,u=y[r],s={};u.forEach((function(e){var t=d[\"\".concat(R.id,\"-\").concat(e.id)];if(t&&H[r].push(t),c<t&&(c=t),s[\"\".concat(R.id,\"-\").concat(e.id)]={start:0,end:m[e.id].idx,distance:t},n){var o=d[\"\".concat(e.id,\"-\").concat(R.id)];o&&Y[r].push(o)}})),H[r]=H[r].sort((function(e,t){return e-t})),n&&(Y[r]=Y[r].sort((function(e,t){return e-t}))),G=Wk(s,O,t,G);var l=[];if(Object.keys(s).forEach((function(e){if(V[e])l.push(V[e]);else{var t=G[e];V[e]=Hk(t,L,i,a),l.push(V[e])}})),l=l.sort((function(e,t){return t-e})),W[\"\".concat(R.id,\"-\").concat(r)]=l,r!==B)for(var h=(null===F||void 0===F?void 0:F.length)||0,v=function(t){var n=F[t],o=w[p[n.id].idx],c=o.nodeLabelCountMap[r],u=y[r].length;if(!c||c.count<u)return F.splice(t,1),\"continue\";for(var s=!1,d=0;d<u;d++)if(c.dists[d]>H[r][d]){s=!0;break}if(s)return F.splice(t,1),\"continue\";var h={};o.neighbors.forEach((function(e){var t=f[\"\".concat(n.id,\"-\").concat(e.id)];h[\"\".concat(n.id,\"-\").concat(e.id)]={start:p[n.id].idx,end:p[e.id].idx,distance:t}})),j=Wk(h,w,e,j);var v=[];Object.keys(h).forEach((function(e){if(D[e])v.push(D[e]);else{var t=j[e];D[e]=Hk(t,L,i,a),v.push(D[e])}})),v=v.sort((function(e,t){return t-e}));var g=!1;for(d=0;d<u;d++)if(v[d]<l[d]){g=!0;break}return g?(F.splice(t,1),\"continue\"):void 0},g=h-1;g>=0;g--)v(g)}));var X=[];null===F||void 0===F||F.forEach((function(r){for(var c=p[r.id].idx,u=Gk(e.nodes,s[c],c,i,o),l=u.neighbors,d=l.length,h=!1,v=d-1;v>=0;v--){if(l.length+1<t.nodes.length)return void(h=!0);var g=l[v],b=g[i];if(y[b]&&y[b].length)if(H[b]&&H[b].length){var x=\"\".concat(r.id,\"-\").concat(g.id),O=f[x],E=H[b].length-1,S=H[b][E];if(O>S)l.splice(v,1);else{if(n){var k=\"\".concat(g.id,\"-\").concat(r.id),_=f[k];E=Y[b].length-1;var C=Y[b][E];if(_>C){l.splice(v,1);continue}}var M=D[x]?D[x]:Zk(e,r,g,p,O,w,L,i,a,D,j),A=\"\".concat(R.id,\"-\").concat(b),N=W[A][W[A].length-1];if(M<N)l.splice(v,1);else{var T=$k(U,b,m,y),I=T.minPatternNodeLabelDegree;T.minPatternNodeLabelInDegree,T.minPatternNodeLabelOutDegree;p[g.id].degree<I&&l.splice(v,1)}}}else l.splice(v,1);else l.splice(v,1)}h||X.push({nodes:[r].concat(l)})}));var q=Rj(t,R.id,!1).length,K={};n?(Object.keys(q).forEach((function(e){var t=m[e].node[i];K[t]?K[t].push(q[e]):K[t]=[q[e]]})),Object.keys(K).forEach((function(e){K[e].sort((function(e,t){return e-t}))}))):K=H;for(var Z=X.length,$=function(r){var o=X[r],c=o.nodes[0],u={},s={};o.nodes.forEach((function(e,t){s[e.id]={idx:t,node:e,degree:0,inDegree:0,outDegree:0};var n=e[i];u[n]?u[n]++:u[n]=1}));var l=[],f={};e.edges.forEach((function(e){s[e.source]&&s[e.target]&&(l.push(e),f[e[a]]?f[e[a]]++:f[e[a]]=1,s[e.source].degree++,s[e.target].degree++,s[e.source].outDegree++,s[e.target].inDegree++)}));for(var d=Object.keys(b).length,h=!1,v=0;v<d;v++){var g=Object.keys(b)[v];if(!f[g]||f[g]<b[g].length){h=!0;break}}if(h)return X.splice(r,1),\"continue\";var x=l.length;if(x<t.edges.length)return X.splice(r,1),\"break\";var w=!1,O=function(e){var t=l[e],r=t[a],o=b[r];if(!o||!o.length)return f[r]--,o&&f[r]<o.length?(w=!0,\"break\"):(l.splice(e,1),s[t.source].degree--,s[t.target].degree--,s[t.source].outDegree--,s[t.target].inDegree--,\"continue\");var c=s[t.source].node[i],u=s[t.target].node[i],d=!1;return o.forEach((function(e){var t=m[e.source].node,r=m[e.target].node;t[i]===c&&r[i]===u&&(d=!0),n||t[i]!==u||r[i]!==c||(d=!0)})),d?void 0:(f[r]--,o&&f[r]<o.length?(w=!0,\"break\"):(l.splice(e,1),s[t.source].degree--,s[t.target].degree--,s[t.source].outDegree--,s[t.target].inDegree--,\"continue\"))};for(v=x-1;v>=0;v--){var E=O(v);if(\"break\"===E)break}if(w)return X.splice(r,1),\"continue\";o.edges=l;var S=Rj(o,o.nodes[0].id,!1).length;if(Object.keys(S).reverse().forEach((function(e){if(e!==o.nodes[0].id&&!w){if(S[e]===1/0){var t=s[e].node[i];if(u[t]--,u[t]<y[t].length)return void(w=!0);var n=o.nodes.indexOf(s[e].node);return o.nodes.splice(n,1),void(s[e]=void 0)}var r=p[e].node[i];if(!K[r]||!K[r].length||S[e]>K[r][K[r].length-1]){t=s[e].node[i];if(u[t]--,u[t]<y[t].length)return void(w=!0);n=o.nodes.indexOf(s[e].node);o.nodes.splice(n,1),s[e]=void 0}}})),w)return X.splice(r,1),\"continue\";var j=!0,k=0;while(j&&!w){j=!1;var _=n?s[c.id].degree<m[R.id].degree||s[c.id].inDegree<m[R.id].inDegree||s[c.id].outDegree<m[R.id].outDegree:s[c.id].degree<m[R.id].degree;if(_){w=!0;break}if(u[c[i]]<y[c[i]].length){w=!0;break}for(var C=o.nodes.length,M=C-1;M>=0;M--){var A=o.nodes[M],N=s[A.id].degree,T=s[A.id].inDegree,I=s[A.id].outDegree,P=A[i],L=$k(U,P,m,y),D=L.minPatternNodeLabelDegree,F=L.minPatternNodeLabelInDegree,B=L.minPatternNodeLabelOutDegree,z=n?N<D||T<F||I<B:N<D;if(z){if(u[A[i]]--,u[A[i]]<y[A[i]].length){w=!0;break}o.nodes.splice(M,1),s[A.id]=void 0,j=!0}}if(w||!j&&0!==k)break;x=l.length;for(var G=x-1;G>=0;G--){var V=l[G];if(!s[V.source]||!s[V.target]){l.splice(G,1);var W=V[a];if(f[W]--,s[V.source]&&(s[V.source].degree--,s[V.source].outDegree--),s[V.target]&&(s[V.target].degree--,s[V.target].inDegree--),b[W]&&f[W]<b[W].length){w=!0;break}j=!0}}k++}return w||w||o.nodes.length<t.nodes.length||l.length<t.edges.length?(X.splice(r,1),\"continue\"):void 0},Q=Z-1;Q>=0;Q--){var J=$(Q);if(\"break\"===J)break}var ee=X.length,te=function(e){var t=X[e],n={};t.edges.forEach((function(e){var t=\"\".concat(e.source,\"-\").concat(e.target,\"-\").concat(e.label);n[t]?n[t]++:n[t]=1}));for(var r=function(e){var t=X[e],r={};t.edges.forEach((function(e){var t=\"\".concat(e.source,\"-\").concat(e.target,\"-\").concat(e.label);r[t]?r[t]++:r[t]=1}));var o=!0;Object.keys(r).length!==Object.keys(n).length?o=!1:Object.keys(n).forEach((function(e){r[e]!==n[e]&&(o=!1)})),o&&X.splice(e,1)},o=ee-1;o>e;o--)r(o);ee=X.length};for(Q=0;Q<=ee-1;Q++)te(Q);return X}}},Jk=Qk,e_=function(){function e(e){void 0===e&&(e=10),this.linkedList=new lj,this.maxStep=e}return Object.defineProperty(e.prototype,\"length\",{get:function(){return this.linkedList.toArray().length},enumerable:!1,configurable:!0}),e.prototype.isEmpty=function(){return!this.linkedList.head},e.prototype.isMaxStack=function(){return this.toArray().length>=this.maxStep},e.prototype.peek=function(){return this.isEmpty()?null:this.linkedList.head.value},e.prototype.push=function(e){this.linkedList.prepend(e),this.length>this.maxStep&&this.linkedList.deleteTail()},e.prototype.pop=function(){var e=this.linkedList.deleteHead();return e?e.value:null},e.prototype.toArray=function(){return this.linkedList.toArray().map((function(e){return e.value}))},e.prototype.clear=function(){while(!this.isEmpty())this.pop()},e}(),t_=e_,n_=Pj,r_={getAdjMatrix:aj,breadthFirstSearch:bj,connectedComponent:Oj,getDegree:Sj,getInDegree:jj,getOutDegree:kj,detectCycle:Pj,detectDirectedCycle:n_,detectAllCycles:Ij,detectAllDirectedCycle:Tj,detectAllUndirectedCycle:Nj,depthFirstSearch:Mj,dijkstra:Rj,findAllPath:Uj,findShortestPath:zj,floydWarshall:Vj,labelPropagation:Hj,louvain:tk,iLouvain:rk,kCore:ik,kMeans:uk,cosineSimilarity:lk,nodesCosineSimilarity:dk,minimumSpanningTree:wk,pageRank:Ek,getNeighbors:hj,Stack:t_,GADDI:Jk},o_=o.transform,i_=function(e){return function(t,n){return t[e]-n[e]}},a_=function(e,t,n){return e>=t&&e<=n},c_=function(e,t,n,r){var o=1e-4,i={x:n.x-e.x,y:n.y-e.y},a={x:t.x-e.x,y:t.y-e.y},c={x:r.x-n.x,y:r.y-n.y},u=a.x*c.y-a.y*c.x,s=u*u,l=1/u,f=a.x*a.x+a.y*a.y,d=c.x*c.x+c.y*c.y;if(s>o*f*d){var h=(i.x*c.y-i.y*c.x)*l,p=(i.x*a.y-i.y*a.x)*l;return a_(h,0,1)&&a_(p,0,1)?{x:e.x+h*a.x,y:e.y+h*a.y}:null}return null},u_=function(e,t){var n=e.x,r=e.y,o=e.width,i=e.height,a=n+o/2,c=r+i/2,u=[],s={x:a,y:c};u.push({x:n,y:r}),u.push({x:n+o,y:r}),u.push({x:n+o,y:r+i}),u.push({x:n,y:r+i}),u.push({x:n,y:r});for(var l=null,f=1;f<u.length;f++)if(l=c_(u[f-1],u[f],s,t),l)break;return l},s_=function(e,t){var n=e.x,r=e.y,o=e.r,i=t.x,a=t.y,c=i-n,u=a-r;if(c*c+u*u<o*o)return null;var s=Math.atan(u/c);return{x:n+Math.abs(o*Math.cos(s))*Math.sign(c),y:r+Math.abs(o*Math.sin(s))*Math.sign(u)}},l_=function(e,t){var n=e.rx,r=e.ry,o=e.x,i=e.y,a=t.x-o,c=t.y-i,u=Math.atan2(c/r,a/n);return u<0&&(u+=2*Math.PI),{x:o+n*Math.cos(u),y:i+r*Math.sin(u)}},f_=function(e,t,n){void 0===n&&(n=1);var r=[e.x,e.y,n];return t&&!isNaN(t[0])||(t=[1,0,0,0,1,0,0,0,1]),ZS[\"vec3\"].transformMat3(r,r,t),{x:r[0],y:r[1]}},d_=function(e,t,n){void 0===n&&(n=1),t&&!isNaN(t[0])||(t=[1,0,0,0,1,0,0,0,1]);var r=ZS[\"mat3\"].invert([1,0,0,0,1,0,0,0,1],t);r||(r=[1,0,0,0,1,0,0,0,1]);var o=[e.x,e.y,n];return ZS[\"vec3\"].transformMat3(o,o,r),{x:o[0],y:o[1]}},h_=function(e,t,n){var r=e.x-t.x,o=e.y-t.y,i=e.x-n.x,a=e.y-n.y,c=(e.x*e.x-t.x*t.x-t.y*t.y+e.y*e.y)/2,u=(e.x*e.x-n.x*n.x-n.y*n.y+e.y*e.y)/2,s=o*i-r*a;return{x:-(a*c-o*u)/s,y:-(r*u-i*c)/s}},p_=function(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)},v_=function(e,t){var n=[];return e.forEach((function(e){var r=[];e.forEach((function(e){r.push(e*t)})),n.push(r)})),n},g_=function(e){for(var t=[],n=e.length,r=0;r<n;r+=1){t[r]=[];for(var o=0;o<n;o+=1)r===o?t[r][o]=0:0!==e[r][o]&&e[r][o]?t[r][o]=e[r][o]:t[r][o]=1/0}for(var i=0;i<n;i+=1)for(r=0;r<n;r+=1)for(o=0;o<n;o+=1)t[r][o]>t[r][i]+t[i][o]&&(t[r][o]=t[r][i]+t[i][o]);return t},m_=function(e,t){var n=e.nodes,r=e.edges,o=[],i={};if(!n)throw new Error(\"invalid nodes data!\");return n&&n.forEach((function(e,t){i[e.id]=t;var n=[];o.push(n)})),r&&r.forEach((function(e){var n=e.source,r=e.target,a=i[n],c=i[r];o[a][c]=1,t||(o[c][a]=1)})),o},y_=function(e,t){e.translate(t.x,t.y)},b_=function(e,t,n,r){void 0===r&&(r={duration:500});var o=e.getMatrix();o||(o=[1,0,0,0,1,0,0,0,1]);var i=e.getCanvasBBox(),a=t.x-i.minX,c=t.y-i.minY;if(n){var u=a*o[0],s=c*o[4],l=0,f=0,d=0,h=0;e.animate((function(e){return d=u*e,h=s*e,o=o_(o,[[\"t\",d-l,h-f]]),l=d,f=h,{matrix:o}}),r)}else{var p=o_(o,[[\"t\",a,c]]);e.setMatrix(p)}},x_=function(e,t){var n=e.getMatrix();n||(n=[1,0,0,0,1,0,0,0,1]);var r=t;Object(GS[\"isArray\"])(t)||(r=[t,t]),Object(GS[\"isArray\"])(t)&&1===t.length&&(r=[t[0],t[0]]),n=o_(n,[[\"s\",r[0],r[1]]]),e.setMatrix(n)},w_=function(e,t){var n=e.getMatrix();n||(n=[1,0,0,0,1,0,0,0,1]),n=o_(n,[[\"r\",t]]),e.setMatrix(n)},O_=function(e,t,n){for(var r=[],o=0;o<e;o++)r[o]=0;return n.forEach((function(e){e.source&&(r[t[e.source]]+=1),e.target&&(r[t[e.target]]+=1)})),r};function E_(e,t,n){return(n[0]-e[0])*(t[1]-e[1])===(t[0]-e[0])*(n[1]-e[1])&&Math.min(e[0],t[0])<=n[0]&&n[0]<=Math.max(e[0],t[0])&&Math.min(e[1],t[1])<=n[1]&&n[1]<=Math.max(e[1],t[1])}var S_=function(e,t,n){var r=!1,o=e.length,i=1e-6;function a(e){return Math.abs(e)<i?0:e<0?-1:1}if(o<=2)return!1;for(var c=0;c<o;c++){var u=e[c],s=e[(c+1)%o];if(E_(u,s,[t,n]))return!0;a(u[1]-n)>0!==a(s[1]-n)>0&&a(t-(n-u[1])*(u[0]-s[0])/(u[1]-s[1])-u[0])<0&&(r=!r)}return r},j_=function(e,t){return!(t.minX>e.maxX||t.maxX<e.minX||t.minY>e.maxY||t.maxY<e.minY)},k_=function(e,t){var n=!1;return Object(GS[\"each\"])(e,(function(e){if(c_(e.from,e.to,t.from,t.to))return n=!0,!1})),n},__=function(e,t){var n=function(e){var t=e.map((function(e){return e[0]})),n=e.map((function(e){return e[1]}));return{minX:Math.min.apply(null,t),maxX:Math.max.apply(null,t),minY:Math.min.apply(null,n),maxY:Math.max.apply(null,n)}},r=function(e){for(var t=[],n=e.length,r=0;r<n-1;r++){var o=e[r],i=e[r+1];t.push({from:{x:o[0],y:o[1]},to:{x:i[0],y:i[1]}})}if(t.length>1){var a=e[0],c=e[n-1];t.push({from:{x:c[0],y:c[1]},to:{x:a[0],y:a[1]}})}return t};if(e.length<2||t.length<2)return!1;var o=n(e),i=n(t);if(!j_(o,i))return!1;var a=!1;if(Object(GS[\"each\"])(t,(function(t){if(S_(e,t[0],t[1]))return a=!0,!1})),a)return!0;if(Object(GS[\"each\"])(e,(function(e){if(S_(t,e[0],e[1]))return a=!0,!1})),a)return!0;var c=r(e),u=r(t),s=!1;return Object(GS[\"each\"])(u,(function(e){if(k_(c,e))return s=!0,!1})),s},C_=function(){function e(e,t,n,r){this.x1=e,this.y1=t,this.x2=n,this.y2=r}return e.prototype.getBBox=function(){var e=Math.min(this.x1,this.x2),t=Math.min(this.y1,this.y2),n=Math.max(this.x1,this.x2),r=Math.max(this.y1,this.y2),o={x:e,y:t,minX:e,minY:t,maxX:n,maxY:r,width:n-e,height:r-t};return o},e}(),M_=function(e,t){var n={top:[e.minX,e.minY,e.maxX,e.minY],left:[e.minX,e.minY,e.minX,e.maxY],bottom:[e.minX,e.maxY,e.maxX,e.maxY],right:[e.maxX,e.minY,e.maxX,e.maxY]};return n[t]},A_=function(e,t){var n=(t.x2-t.x1)*(e.y1-t.y1)-(t.y2-t.y1)*(e.x1-t.x1),r=(e.x2-e.x1)*(e.y1-t.y1)-(e.y2-e.y1)*(e.x1-t.x1),o=(t.y2-t.y1)*(e.x2-e.x1)-(t.x2-t.x1)*(e.y2-e.y1);if(o){var i=n/o,a=r/o;if(i>=0&&i<=1&&a>=0&&a<=1)return i}return Number.POSITIVE_INFINITY},N_=function(e,t){for(var n=[\"top\",\"left\",\"bottom\",\"right\"],r=e.getBBox(),o=0,i=[],a=0;a<4;a++){var c=M_(r,n[a]),u=c[0],s=c[1],l=c[2],f=c[3];i[a]=c_({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},{x:u,y:s},{x:l,y:f}),i[a]&&(o+=1)}return[i,o]},T_=function(e,t){for(var n=[\"top\",\"left\",\"bottom\",\"right\"],r=e.getBBox(),o=Number.POSITIVE_INFINITY,i=0,a=0;a<4;a++){var c=M_(r,n[a]),u=c[0],s=c[1],l=c[2],f=c[3],d=A_(t,new C_(u,s,l,f));d=Math.abs(d-.5),d>=0&&d<=1&&(i+=1,o=d<o?d:o)}return 0===i?-1:o},I_=function(e){var t=0,n=0;if(e.length>0){for(var r=0,o=e;r<o.length;r++){var i=o[r];t+=i.x,n+=i.y}t/=e.length,n/=e.length}return{x:t,y:n}},P_=function(e,t){return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)},L_=function(e,t){var n,r=t.x1,o=t.y1,i=t.x2-r,a=t.y2-o,c=e.x-r,u=e.y-o,s=c*i+u*a;s<=0?n=0:(c=i-c,u=a-u,s=c*i+u*a,n=s<=0?0:s*s/(i*i+a*a));var l=c*c+u*u-n;return l<0&&(l=0),l},D_=function(e,t,n){return void 0===n&&(n=.001),Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)<Math.pow(n,2)},R_=function(e,t){var n=e.x<t.x,r=e.x>t.x+t.width,o=e.y>t.y+t.height,i=e.y<t.y,a=n||r||o||i;if(!a)return 0;if(o&&!n&&!r)return Math.pow(t.y+t.height-e.y,2);if(i&&!n&&!r)return Math.pow(e.y-t.y,2);if(n&&!o&&!i)return Math.pow(t.x-e.x,2);if(r&&!o&&!i)return Math.pow(t.x+t.width-e.x,2);var c=Math.min(Math.abs(t.x-e.x),Math.abs(t.x+t.width-e.x)),u=Math.min(Math.abs(t.y-e.y),Math.abs(t.y+t.height-e.y));return c*c+u*u},F_=function(e,t){var n=e[0],r=e[1],o=e[2],i=e[3],a=t.x,c=t.y,u=[o-n,i-r];if(ZS[\"vec2\"].exactEquals(u,[0,0]))return NaN;var s=[-u[1],u[0]];ZS[\"vec2\"].normalize(s,s);var l=[a-n,c-r];return Math.abs(ZS[\"vec2\"].dot(l,s))},B_=function(e,t,n){return e+(t-e)*n},z_=function(e,t,n){for(var r=Math.min(e.length,t.length),o=new Array(r),i=0;i<r;i++)o[i]=B_(e[i],t[i],n);return o},U_=\"rgb(95, 149, 255)\",G_=\"rgb(255, 255, 255)\",V_=\"rgb(0, 0, 0)\",W_=\"rgb(247, 250, 255)\",H_=\"rgb(239, 244, 255)\",Y_=\"rgb(253, 253, 253)\",X_=\"rgb(250, 250, 250)\",q_=\"rgb(224, 224, 224)\",K_=\"rgb(234, 234, 234)\",Z_=\"rgb(245, 245, 245)\",$_=\"rgb(191, 213, 255)\",Q_=\"#4572d9\",J_=\"rgb(223, 234, 255)\",eC={mainStroke:U_,mainFill:H_,activeStroke:U_,activeFill:W_,inactiveStroke:$_,inactiveFill:W_,selectedStroke:U_,selectedFill:G_,highlightStroke:Q_,highlightFill:J_,disableStroke:q_,disableFill:X_,edgeMainStroke:q_,edgeActiveStroke:U_,edgeInactiveStroke:K_,edgeSelectedStroke:U_,edgeHighlightStroke:U_,edgeDisableStroke:Z_,comboMainStroke:q_,comboMainFill:Y_,comboActiveStroke:U_,comboActiveFill:W_,comboInactiveStroke:q_,comboInactiveFill:Y_,comboSelectedStroke:U_,comboSelectedFill:Y_,comboHighlightStroke:Q_,comboHighlightFill:Y_,comboDisableStroke:K_,comboDisableFill:X_},tC={version:\"0.7.16\",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:eC.mainStroke,fill:H_},size:20,color:eC.mainStroke,linkPoints:{size:8,lineWidth:1,fill:eC.activeFill,stroke:eC.activeStroke}},nodeStateStyles:{active:{fill:eC.activeFill,stroke:eC.activeStroke,lineWidth:2,shadowColor:eC.mainStroke,shadowBlur:10},selected:{fill:eC.selectedFill,stroke:eC.selectedStroke,lineWidth:4,shadowColor:eC.selectedStroke,shadowBlur:10,\"text-shape\":{fontWeight:500}},highlight:{fill:eC.highlightFill,stroke:eC.highlightStroke,lineWidth:2,\"text-shape\":{fontWeight:500}},inactive:{fill:eC.inactiveFill,stroke:eC.inactiveStroke,lineWidth:1},disable:{fill:eC.disableFill,stroke:eC.disableStroke,lineWidth:1}},edgeLabel:{style:{fill:V_,textAlign:\"center\",textBaseline:\"middle\",fontSize:12}},defaultEdge:{type:\"line\",size:1,style:{stroke:eC.edgeMainStroke,lineAppendWidth:2},color:eC.edgeMainStroke},edgeStateStyles:{active:{stroke:eC.edgeActiveStroke,lineWidth:1},selected:{stroke:eC.edgeSelectedStroke,lineWidth:2,shadowColor:eC.edgeSelectedStroke,shadowBlur:10,\"text-shape\":{fontWeight:500}},highlight:{stroke:eC.edgeHighlightStroke,lineWidth:2,\"text-shape\":{fontWeight:500}},inactive:{stroke:eC.edgeInactiveStroke,lineWidth:1},disable:{stroke:eC.edgeDisableStroke,lineWidth:1}},comboLabel:{style:{fill:V_,textBaseline:\"middle\",fontSize:12},refY:10,refX:10},defaultCombo:{type:\"circle\",style:{fill:eC.comboMainFill,lineWidth:1,stroke:eC.comboMainStroke,r:5,width:20,height:10},size:[20,5],color:eC.comboMainStroke,padding:[25,20,15,20]},comboStateStyles:{active:{stroke:eC.comboActiveStroke,lineWidth:1,fill:eC.comboActiveFill},selected:{stroke:eC.comboSelectedStroke,lineWidth:2,fill:eC.comboSelectedFill,shadowColor:eC.comboSelectedStroke,shadowBlur:10,\"text-shape\":{fontWeight:500}},highlight:{stroke:eC.comboHighlightStroke,lineWidth:2,fill:eC.comboHighlightFill,\"text-shape\":{fontWeight:500}},inactive:{stroke:eC.comboInactiveStroke,fill:eC.comboInactiveFill,lineWidth:1},disable:{stroke:eC.comboDisableStroke,fill:eC.comboDisableFill,lineWidth:1}},delegateStyle:{fill:\"#F3F9FF\",fillOpacity:.5,stroke:\"#1890FF\",strokeOpacity:.9,lineDash:[5,5]},windowFontFamily:\"undefined\"!==typeof window&&window.getComputedStyle&&document.body&&window.getComputedStyle(document.body,null).getPropertyValue(\"font-family\")||\"Arial, sans-serif\"},nC={\" \":.3329986572265625,a:.5589996337890625,A:.6569992065429687,b:.58599853515625,B:.6769989013671875,c:.5469985961914062,C:.7279998779296875,d:.58599853515625,D:.705999755859375,e:.554998779296875,E:.63699951171875,f:.37299957275390627,F:.5769989013671875,g:.5909988403320312,G:.7479995727539063,h:.555999755859375,H:.7199996948242188,i:.255999755859375,I:.23699951171875,j:.26699981689453123,J:.5169998168945312,k:.5289993286132812,K:.6899993896484375,l:.23499908447265624,L:.5879989624023437,m:.854998779296875,M:.8819992065429687,n:.5589996337890625,N:.7189987182617188,o:.58599853515625,O:.7669998168945312,p:.58599853515625,P:.6419998168945312,q:.58599853515625,Q:.7669998168945312,r:.3649993896484375,R:.6759994506835938,s:.504998779296875,S:.6319992065429687,t:.354998779296875,T:.6189987182617187,u:.5599990844726562,U:.7139999389648437,v:.48199920654296874,V:.6389999389648438,w:.754998779296875,W:.929998779296875,x:.5089996337890625,X:.63699951171875,y:.4959991455078125,Y:.66199951171875,z:.48699951171875,Z:.6239990234375,0:.6,1:.40099945068359377,2:.6,3:.6,4:.6,5:.6,6:.6,7:.5469985961914062,8:.6,9:.6,\"[\":.3329986572265625,\"]\":.3329986572265625,\",\":.26399993896484375,\".\":.26399993896484375,\";\":.26399993896484375,\":\":.26399993896484375,\"{\":.3329986572265625,\"}\":.3329986572265625,\"\\\\\":.5,\"|\":.19499969482421875,\"=\":.604998779296875,\"+\":.604998779296875,\"-\":.604998779296875,_:.5,\"`\":.3329986572265625,\" ~\":.8329986572265625,\"!\":.3329986572265625,\"@\":.8579986572265625,\"#\":.6,$:.6,\"%\":.9699996948242188,\"^\":.517999267578125,\"&\":.7259994506835937,\"*\":.505999755859375,\"(\":.3329986572265625,\")\":.3329986572265625,\"<\":.604998779296875,\">\":.604998779296875,\"/\":.5,\"?\":.53699951171875},rC=Math.PI,oC=Math.sin,iC=Math.cos,aC=oC(rC/8),cC=iC(rC/8),uC=function(e,t){var n=e.getBBox(),r={x:n.minX,y:n.minY},o={x:n.maxX,y:n.maxY};if(t){var i=t.getMatrix();i||(i=[1,0,0,0,1,0,0,0,1]),r=f_(r,i),o=f_(o,i)}var a=r.x,c=r.y,u=o.x,s=o.y;return{x:a,y:c,minX:a,minY:c,maxX:u,maxY:s,width:u-a,height:s-c}},sC=function(e){var t=e.sourceNode||e.targetNode,n=t.get(\"group\"),r=n.getMatrix();r||(r=[1,0,0,0,1,0,0,0,1]);var o=t.getKeyShape(),i=o.getBBox(),a=e.loopCfg||{},c=a.dist||2*Math.max(i.width,i.height),u=a.position||tC.defaultLoopPosition,s=[r[6],r[7]],l=[e.startPoint.x,e.startPoint.y],f=[e.endPoint.x,e.endPoint.y],d=i.height/2,h=i.width/2,p=d,v=d,g=p*aC,m=p*cC,y=v*aC,b=v*cC,x=o.get(\"type\"),w=Math.min(d/2,h/2),O=Math.min(d,h),E=(null===a||void 0===a?void 0:a.pointPadding)?Math.min(O,null===a||void 0===a?void 0:a.pointPadding):w;if(l[0]===f[0]&&l[1]===f[1]){switch(u){case\"top\":\"circle\"===x?(l=[s[0]-g,s[1]-m],f=[s[0]+y,s[1]-b]):(l=[s[0]-E,s[1]-d],f=[s[0]+E,s[1]-d]);break;case\"top-right\":p=d,v=h,\"circle\"===x?(g=p*aC,m=p*cC,y=v*aC,b=v*cC,l=[s[0]+g,s[1]-m],f=[s[0]+b,s[1]-y]):(l=[s[0]+h-E,s[1]-d],f=[s[0]+h,s[1]-d+E]);break;case\"right\":p=h,v=h,\"circle\"===x?(g=p*aC,m=p*cC,y=v*aC,b=v*cC,l=[s[0]+m,s[1]-g],f=[s[0]+b,s[1]+y]):(l=[s[0]+h,s[1]-E],f=[s[0]+h,s[1]+E]);break;case\"bottom-right\":p=h,v=d,\"circle\"===x?(g=p*aC,m=p*cC,y=v*aC,b=v*cC,l=[s[0]+m,s[1]+g],f=[s[0]+y,s[1]+b]):(l=[s[0]+h,s[1]+d-E],f=[s[0]+h-E,s[1]+d]);break;case\"bottom\":p=d,v=d,\"circle\"===x?(g=p*aC,m=p*cC,y=v*aC,b=v*cC,l=[s[0]+g,s[1]+m],f=[s[0]-y,s[1]+b]):(l=[s[0]-E,s[1]+d],f=[s[0]+E,s[1]+d]);break;case\"bottom-left\":p=d,v=h,\"circle\"===x?(g=p*aC,m=p*cC,y=v*aC,b=v*cC,l=[s[0]-g,s[1]+m],f=[s[0]-b,s[1]+y]):(l=[s[0]-h,s[1]+d-E],f=[s[0]-h+E,s[1]+d]);break;case\"left\":p=h,v=h,\"circle\"===x?(g=p*aC,m=p*cC,y=v*aC,b=v*cC,l=[s[0]-m,s[1]+g],f=[s[0]-b,s[1]-y]):(l=[s[0]-h,s[1]-E],f=[s[0]-h,s[1]+E]);break;case\"top-left\":p=h,v=d,\"circle\"===x?(g=p*aC,m=p*cC,y=v*aC,b=v*cC,l=[s[0]-m,s[1]-g],f=[s[0]-y,s[1]-b]):(l=[s[0]-h+E,s[1]-d],f=[s[0]-h,s[1]-d+E]);break;default:p=h,v=h,g=p*aC,m=p*cC,y=v*aC,b=v*cC,l=[s[0]-g,s[1]-m],f=[s[0]+y,s[1]-b]}if(!1===a.clockwise){var S=[l[0],l[1]];l=[f[0],f[1]],f=[S[0],S[1]]}}var j=[l[0]-s[0],l[1]-s[1]],k=(p+c)/p,_=(v+c)/v;!1===a.clockwise&&(k=(v+c)/v,_=(p+c)/p);var C=ZS[\"vec2\"].scale([0,0],j,k),M=[s[0]+C[0],s[1]+C[1]],A=[f[0]-s[0],f[1]-s[1]],N=ZS[\"vec2\"].scale([0,0],A,_),T=[s[0]+N[0],s[1]+N[1]];return e.startPoint={x:l[0],y:l[1]},e.endPoint={x:f[0],y:f[1]},e.controlPoints=[{x:M[0],y:M[1]},{x:T[0],y:T[1]}],e},lC=function(e,t,n,r,o){var i=1e-4,a=[],c=null===e||void 0===e?void 0:e.getPoint(t);if(!c)return{x:0,y:0,angle:0};if(t<i)a=e.getStartTangent().reverse();else if(t>1-i)a=e.getEndTangent();else{var u=null===e||void 0===e?void 0:e.getPoint(t+i);a.push([c.x,c.y]),a.push([u.x,u.y])}var s=Math.atan2(a[1][1]-a[0][1],a[1][0]-a[0][0]);if(s<0&&(s+=2*rC),n&&(c.x+=iC(s)*n,c.y+=oC(s)*n),r){var l=s-rC/2;s>.5*rC&&s<1.5*rC&&(l-=rC),c.x+=iC(l)*r,c.y+=oC(l)*r}var f={x:c.x,y:c.y,angle:s};return o?(s>.5*rC&&s<1.5*rC&&(s-=rC),Object(US[\"__assign\"])({rotate:s},f)):f},fC=function e(t,n,r,o){if(!1===o(t,n,r))return!1;if(t&&t.children)for(var i=t.children.length-1;i>=0;i--)if(!e(t.children[i],t,i,o))return!1;return!0},dC=function e(t,n,r,o){if(t&&t.children)for(var i=t.children.length-1;i>=0;i--)if(!e(t.children[i],t,i,o))return;return!1!==o(t,n,r)},hC=function(e,t){\"function\"===typeof t&&fC(e,null,-1,t)},pC=function(e,t){\"function\"===typeof t&&dC(e,null,-1,t)},vC=function(e,t){return t*(nC[e]||1)},gC=function(e,t){var n=0,r=new RegExp(\"[\\u4e00-\\u9fa5]+\");return e.split(\"\").forEach((function(e){r.test(e)?n+=t:n+=vC(e,t)})),[n,t]},mC=function(e,t){return\"number\"!==typeof t||t<=0||t>=e.length?e:e.substring(0,t)+\"...\"},yC=function(e,t){var n=[],r={},o={};e.forEach((function(e){o[e.id]=e})),e.forEach((function(e,t){var i=Object(GS[\"clone\"])(e);i.itemType=\"combo\",i.children=void 0,i.parentId===i.id?(console.warn(\"The parentId for combo \".concat(i.id,\" can not be the same as the combo's id\")),delete i.parentId):i.parentId&&!o[i.parentId]&&(console.warn(\"The parent combo for combo \".concat(i.id,\" does not exist!\")),delete i.parentId);var a=r[i.id];if(a){if(i.children=a.children,r[i.id]=i,a=i,!a.parentId)return void n.push(a);var c=r[a.parentId];if(c)c.children?c.children.push(i):c.children=[i];else{var u={id:a.parentId,children:[a]};r[a.parentId]=u,r[i.id]=i}}else if(Object(GS[\"isString\"])(e.parentId)){var s=r[e.parentId];if(s)s.children?s.children.push(i):s.children=[i],r[i.id]=i;else{var l={id:e.parentId,children:[i]};r[l.id]=l,r[i.id]=i}}else n.push(i),r[i.id]=i}));var i={};(t||[]).forEach((function(e){i[e.id]=e;var t=r[e.comboId];if(t){var n={id:e.id,comboId:e.comboId};t.children?t.children.push(n):t.children=[n],n.itemType=\"node\",r[e.id]=n}}));var a=0;return n.forEach((function(e){e.depth=a+10,hC(e,(function(e){var t,n=r[e.id].itemType;t=\"node\"===n?r[e.comboId]:r[e.parentId],e.depth=t&&\"node\"===n?a+1:a+10,a<e.depth&&(a=e.depth);var o=i[e.id];return o&&(o.depth=e.depth),!0}))})),n},bC=function(e,t,n){var r,o,i=e,a={root:{children:e}},c=!1,u=\"root\";(e||[]).forEach((function(e){if(!c)return e.id===t?(o=e,\"combo\"===e.itemType?o.parentId=n:o.comboId=n,void(c=!0)):void hC(e,(function(e){var r;return a[e.id]={children:(null===e||void 0===e?void 0:e.children)||[]},i=null===(r=a[e.parentId||e.comboId||\"root\"])||void 0===r?void 0:r.children,!e||!e.removed&&t!==e.id||!i||(u=e.parentId||e.comboId||\"root\",o=e,\"combo\"===e.itemType?o.parentId=n:o.comboId=n,c=!0,!1)}))})),i=null===(r=a[u])||void 0===r?void 0:r.children;var s=i?i.indexOf(o):-1;if(s>-1&&i.splice(s,1),c||(o={id:t,itemType:\"node\",comboId:n},a[t]={children:void 0}),t){var l=!1;if(n){var f=0;(e||[]).forEach((function(e){l||hC(e,(function(e){return n!==e.id||(l=!0,e.children?e.children.push(o):e.children=[o],f=e.depth,\"node\"===o.itemType?o.depth=f+2:o.depth=f+1,!1)}))}))}else n&&l||\"node\"===o.itemType||e.push(o);var d=o.depth;hC(o,(function(e){return\"node\"===e.itemType?d+=2:d+=1,e.depth=d,!0}))}return e},xC=function(e,t,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(!e||0===e.length){var o=null===n||void 0===n?void 0:n.getModel(),i=o||{},a=i.x,c=i.y;return{minX:a,minY:c,maxX:a,maxY:c,x:a,y:c,width:void 0,height:void 0}}return e.forEach((function(e){var n=t.findById(e.id);if(n&&n.isVisible()){n.set(\"bboxCanvasCache\",void 0);var o=n.getCanvasBBox();o.x&&r.minX>o.minX&&(r.minX=o.minX),o.y&&r.minY>o.minY&&(r.minY=o.minY),o.x&&r.maxX<o.maxX&&(r.maxX=o.maxX),o.y&&r.maxY<o.maxY&&(r.maxY=o.maxY)}})),r.x=(r.minX+r.maxX)/2,r.y=(r.minY+r.maxY)/2,r.width=r.maxX-r.minX,r.height=r.maxY-r.minY,r.centerX=(r.minX+r.maxX)/2,r.centerY=(r.minY+r.maxY)/2,Object.keys(r).forEach((function(e){r[e]!==1/0&&r[e]!==-1/0||(r[e]=void 0)})),r},wC=function(e){var t=Object(GS[\"isNumber\"])(e.x)||Object(GS[\"isNumber\"])(e.y)||e.type||e.anchorPoints||e.size;return e.style&&(t=t||Object(GS[\"isNumber\"])(e.style.r)||Object(GS[\"isNumber\"])(e.style.width)||Object(GS[\"isNumber\"])(e.style.height)||Object(GS[\"isNumber\"])(e.style.rx)||Object(GS[\"isNumber\"])(e.style.ry)),t},OC=function(e){var t={};return Object.keys(e).forEach((function(n){var r=e[n];if(Object(GS[\"isObject\"])(r)&&!Object(GS[\"isArray\"])(r)){var o={};Object.keys(r).forEach((function(e){var t=r[e];(\"img\"!==e||Object(GS[\"isString\"])(t))&&(o[e]=Object(GS[\"clone\"])(t))})),t[n]=o}else t[n]=Object(GS[\"clone\"])(r)})),t},EC=function(e){var t,n=e.animateCfg,r=e.callback;if(n)if(t=Object(GS[\"clone\"])(n),n.callback){var o=n.callback;t.callback=function(){r(),o()}}else t.callback=r;else t={duration:500,callback:r};return t},SC=function(e){if(!e)return console.error(\"G6 Error Tips: the data must be defined\"),!1;var t=e.nodes,n=e.edges,r=e.combos,o=void 0===r?[]:r;if(!t&&!n){var i=!0;return hC(e,(function(e){return!!Object(GS[\"isString\"])(e.id)||(i=!1,!1)})),i}var a=(t||[]).find((function(e){return!Object(GS[\"isString\"])(e.id)}));if(a)return console.warn(\"G6 Warning Tips: missing 'id' property, or %c\".concat(a.id,\"%c is not a string.\"),\"font-size: 20px; color: red;\",\"\"),!1;var c=(t||[]).map((function(e){return e.id})),u=null===o||void 0===o?void 0:o.map((function(e){return e.id})),s=Object(US[\"__spreadArray\"])(Object(US[\"__spreadArray\"])([],c,!0),u,!0),l=(n||[]).find((function(e){return!s.includes(e.source)||!s.includes(e.target)}));return!l||(console.warn(\"G6 Warning Tips: The source %c\".concat(l.source,\"%c or the target %c\").concat(l.target,\"%c of the edge do not exist in the nodes or combos.\"),\"font-size: 20px; color: red;\",\"\",\"font-size: 20px; color: red;\",\"\"),!1)},jC=function(e,t){if(\"node\"===e||\"combo\"===e){if(t.id&&!Object(GS[\"isString\"])(t.id))return console.warn(\"G6 Warning Tips: missing 'id' property, or the 'id' %c\".concat(t.id,\"%c is not a string.\"),\"font-size: 20px; color: red;\",\"\"),!1}else if(\"edge\"===e&&(!t.source||!t.target))return console.warn(\"G6 Warning Tips: missing 'source' or 'target' for the edge.\"),!1;return!0},kC=function(){function e(e){this.graph=e,this.destroyed=!1,this.modes=e.get(\"modes\")||{default:[]},this.formatModes(),this.mode=e.get(\"defaultMode\")||\"default\",this.currentBehaves=[],this.setMode(this.mode)}return e.prototype.formatModes=function(){var e=this.modes;Object(GS[\"each\"])(e,(function(e){Object(GS[\"each\"])(e,(function(t,n){Object(GS[\"isString\"])(t)&&(e[n]={type:t})}))}))},e.prototype.setBehaviors=function(e){var t,n=this.graph,r=this.modes[e],o=[];Object(GS[\"each\"])(r||[],(function(e){var r=HS.getBehavior(e.type||e);r&&(t=new r(e),t&&(t.bind(n),o.push(t)))})),this.currentBehaves=o},e.mergeBehaviors=function(e,t){return Object(GS[\"each\"])(t,(function(t){e.indexOf(t)<0&&(Object(GS[\"isString\"])(t)&&(t={type:t}),e.push(t))})),e},e.filterBehaviors=function(e,t){var n=[];return e.forEach((function(e){var r=\"\";r=Object(GS[\"isString\"])(e)?e:e.type,t.indexOf(r)<0&&n.push(e)})),n},e.prototype.setMode=function(e){var t=this,n=t.modes,r=t.graph,o=e,i=n[o];i&&(r.emit(\"beforemodechange\",{mode:e}),Object(GS[\"each\"])(this.currentBehaves,(function(e){e.delegate&&e.delegate.remove(),e.unbind(r)})),this.setBehaviors(o),r.emit(\"aftermodechange\",{mode:e}),this.mode=e)},e.prototype.getMode=function(){return this.mode},e.prototype.manipulateBehaviors=function(t,n,r){var o,i=this;if(o=Object(GS[\"isArray\"])(t)?t:[t],Object(GS[\"isArray\"])(n))return Object(GS[\"each\"])(n,(function(t){i.modes[t]?i.modes[t]=r?e.mergeBehaviors(i.modes[t]||[],o):e.filterBehaviors(i.modes[t]||[],o):r&&(i.modes[t]=o)})),this;var a=n;return n||(a=this.mode),this.modes[a]||r&&(this.modes[a]=o),this.modes[a]=r?e.mergeBehaviors(this.modes[a]||[],o):e.filterBehaviors(this.modes[a]||[],o),this.formatModes(),this.setMode(this.mode),this},e.prototype.updateBehavior=function(e,t,n){Object(GS[\"isString\"])(e)&&(e={type:e});var r=[];if(n&&n!==this.mode&&\"default\"!==n){if(r=this.modes[n],!r||!r.length)return console.warn(\"Update behavior failed! There is no behaviors in this mode on the graph.\"),this;var o=r.length;for(a=0;a<o;a++){c=r[a];if(c.type===e.type||c===e.type)return c===e.type&&(c={type:c}),Object.assign(c,t),r[a]=c,this;a===o-1&&console.warn(\"Update behavior failed! There is no such behavior in the mode\")}}else{if(r=this.currentBehaves,!r||!r.length)return console.warn(\"Update behavior failed! There is no behaviors in this mode on the graph.\"),this;for(var i=r.length,a=0;a<i;a++){var c=r[a];if(c.type===e.type)return c.updateCfg(t),this;a===i-1&&console.warn(\"Update behavior failed! There is no such behavior in the mode\")}}return this},e.prototype.destroy=function(){this.graph=null,this.modes=null,this.currentBehaves=null,this.destroyed=!0},e}(),_C=kC,CC=\"\\t\\n\\v\\f\\r \\xa0\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u2028\\u2029\",MC=new RegExp(\"([a-z])[\"+CC+\",]*((-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?[\"+CC+\"]*,?[\"+CC+\"]*)+)\",\"ig\"),AC=new RegExp(\"(-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?)[\"+CC+\"]*,?[\"+CC+\"]*\",\"ig\"),NC=function(e){if(!e)return null;if(Object(GS[\"isArray\"])(e))return e;var t={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},n=[];return String(e).replace(MC,(function(r,o,i){var a=[],c=o.toLowerCase();if(i.replace(AC,(function(e,t){t&&a.push(+t)})),\"m\"===c&&a.length>2&&(n.push([o].concat(a.splice(0,2))),c=\"l\",o=\"m\"===o?\"l\":\"L\"),\"o\"===c&&1===a.length&&n.push([o,a[0]]),\"r\"===c)n.push([o].concat(a));else while(a.length>=t[c])if(n.push([o].concat(a.splice(0,t[c]))),!t[c])break;return e})),n},TC=function(e,t){for(var n=[],r=0,o=e.length;o-2*!t>r;r+=2){var i=[{x:+e[r-2],y:+e[r-1]},{x:+e[r],y:+e[r+1]},{x:+e[r+2],y:+e[r+3]},{x:+e[r+4],y:+e[r+5]}];t?r?o-4===r?i[3]={x:+e[0],y:+e[1]}:o-2===r&&(i[2]={x:+e[0],y:+e[1]},i[3]={x:+e[2],y:+e[3]}):i[0]={x:+e[o-2],y:+e[o-1]}:o-4===r?i[3]=i[2]:r||(i[0]={x:+e[r],y:+e[r+1]}),n.push([\"C\",(-i[0].x+6*i[1].x+i[2].x)/6,(-i[0].y+6*i[1].y+i[2].y)/6,(i[1].x+6*i[2].x-i[3].x)/6,(i[1].y+6*i[2].y-i[3].y)/6,i[2].x,i[2].y])}return n},IC=function(e,t,n,r,o){var i=[];if(null===o&&null===r&&(r=n),e=+e,t=+t,n=+n,r=+r,null!==o){var a=Math.PI/180,c=e+n*Math.cos(-r*a),u=e+n*Math.cos(-o*a),s=t+n*Math.sin(-r*a),l=t+n*Math.sin(-o*a);i=[[\"M\",c,s],[\"A\",n,n,0,+(o-r>180),0,u,l]]}else i=[[\"M\",e,t],[\"m\",0,-r],[\"a\",n,r,0,1,1,0,2*r],[\"a\",n,r,0,1,1,0,-2*r],[\"z\"]];return i},PC=function(e){if(e=NC(e),!e||!e.length)return[[\"M\",0,0]];var t,n,r=[],o=0,i=0,a=0,c=0,u=0;\"M\"===e[0][0]&&(o=+e[0][1],i=+e[0][2],a=o,c=i,u++,r[0]=[\"M\",o,i]);for(var s=3===e.length&&\"M\"===e[0][0]&&\"R\"===e[1][0].toUpperCase()&&\"Z\"===e[2][0].toUpperCase(),l=void 0,f=void 0,d=u,h=e.length;d<h;d++){if(r.push(l=[]),f=e[d],t=f[0],t!==t.toUpperCase())switch(l[0]=t.toUpperCase(),l[0]){case\"A\":l[1]=f[1],l[2]=f[2],l[3]=f[3],l[4]=f[4],l[5]=f[5],l[6]=+f[6]+o,l[7]=+f[7]+i;break;case\"V\":l[1]=+f[1]+i;break;case\"H\":l[1]=+f[1]+o;break;case\"R\":n=[o,i].concat(f.slice(1));for(var p=2,v=n.length;p<v;p++)n[p]=+n[p]+o,n[++p]=+n[p]+i;r.pop(),r=r.concat(TC(n,s));break;case\"O\":r.pop(),n=IC(o,i,f[1],f[2]),n.push(n[0]),r=r.concat(n);break;case\"U\":r.pop(),r=r.concat(IC(o,i,f[1],f[2],f[3])),l=[\"U\"].concat(r[r.length-1].slice(-2));break;case\"M\":a=+f[1]+o,c=+f[2]+i;break;default:for(p=1,v=f.length;p<v;p++)l[p]=+f[p]+(p%2?o:i)}else if(\"R\"===t)n=[o,i].concat(f.slice(1)),r.pop(),r=r.concat(TC(n,s)),l=[\"R\"].concat(f.slice(-2));else if(\"O\"===t)r.pop(),n=IC(o,i,f[1],f[2]),n.push(n[0]),r=r.concat(n);else if(\"U\"===t)r.pop(),r=r.concat(IC(o,i,f[1],f[2],f[3])),l=[\"U\"].concat(r[r.length-1].slice(-2));else for(var g=0,m=f.length;g<m;g++)l[g]=f[g];if(t=t.toUpperCase(),\"O\"!==t)switch(l[0]){case\"Z\":o=+a,i=+c;break;case\"H\":o=l[1];break;case\"V\":i=l[1];break;case\"M\":a=l[l.length-2],c=l[l.length-1];break;default:o=l[l.length-2],i=l[l.length-1]}}return r},LC=function(e,t,n,r){return[e,t,n,r,n,r]},DC=function(e,t,n,r,o,i){var a=1/3,c=2/3;return[a*e+c*n,a*t+c*r,a*o+c*n,a*i+c*r,o,i]},RC=function(e,t,n,r,o,i,a,c,u,s){n===r&&(n+=1);var l,f,d,h,p,v=120*Math.PI/180,g=Math.PI/180*(+o||0),m=[],y=function(e,t,n){var r=e*Math.cos(n)-t*Math.sin(n),o=e*Math.sin(n)+t*Math.cos(n);return{x:r,y:o}};if(s)f=s[0],d=s[1],h=s[2],p=s[3];else{l=y(e,t,-g),e=l.x,t=l.y,l=y(c,u,-g),c=l.x,u=l.y,e===c&&t===u&&(c+=1,u+=1);var b=(e-c)/2,x=(t-u)/2,w=b*b/(n*n)+x*x/(r*r);w>1&&(w=Math.sqrt(w),n*=w,r*=w);var O=n*n,E=r*r,S=(i===a?-1:1)*Math.sqrt(Math.abs((O*E-O*x*x-E*b*b)/(O*x*x+E*b*b)));h=S*n*x/r+(e+c)/2,p=S*-r*b/n+(t+u)/2,f=Math.asin(((t-p)/r).toFixed(9)),d=Math.asin(((u-p)/r).toFixed(9)),f=e<h?Math.PI-f:f,d=c<h?Math.PI-d:d,f<0&&(f=2*Math.PI+f),d<0&&(d=2*Math.PI+d),a&&f>d&&(f-=2*Math.PI),!a&&d>f&&(d-=2*Math.PI)}var j=d-f;if(Math.abs(j)>v){var k=d,_=c,C=u;d=f+v*(a&&d>f?1:-1),c=h+n*Math.cos(d),u=p+r*Math.sin(d),m=RC(c,u,n,r,o,0,a,_,C,[d,k,h,p])}j=d-f;var M=Math.cos(f),A=Math.sin(f),N=Math.cos(d),T=Math.sin(d),I=Math.tan(j/4),P=4/3*n*I,L=4/3*r*I,D=[e,t],R=[e+P*A,t-L*M],F=[c+P*T,u-L*N],B=[c,u];if(R[0]=2*D[0]-R[0],R[1]=2*D[1]-R[1],s)return[R,F,B].concat(m);m=[R,F,B].concat(m).join().split(\",\");for(var z=[],U=0,G=m.length;U<G;U++)z[U]=U%2?y(m[U-1],m[U],g).y:y(m[U],m[U+1],g).x;return z},FC=function(e,t){var n,r=PC(e),o=t&&PC(t),i={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},c=[],u=[],s=\"\",l=\"\",f=function(e,t,n){var r,o;if(!e)return[\"C\",t.x,t.y,t.x,t.y,t.x,t.y];switch(!(e[0]in{T:1,Q:1})&&(t.qx=t.qy=null),e[0]){case\"M\":t.X=e[1],t.Y=e[2];break;case\"A\":e=[\"C\"].concat(RC.apply(0,[t.x,t.y].concat(e.slice(1))));break;case\"S\":\"C\"===n||\"S\"===n?(r=2*t.x-t.bx,o=2*t.y-t.by):(r=t.x,o=t.y),e=[\"C\",r,o].concat(e.slice(1));break;case\"T\":\"Q\"===n||\"T\"===n?(t.qx=2*t.x-t.qx,t.qy=2*t.y-t.qy):(t.qx=t.x,t.qy=t.y),e=[\"C\"].concat(DC(t.x,t.y,t.qx,t.qy,e[1],e[2]));break;case\"Q\":t.qx=e[1],t.qy=e[2],e=[\"C\"].concat(DC(t.x,t.y,e[1],e[2],e[3],e[4]));break;case\"L\":e=[\"C\"].concat(LC(t.x,t.y,e[1],e[2]));break;case\"H\":e=[\"C\"].concat(LC(t.x,t.y,e[1],t.y));break;case\"V\":e=[\"C\"].concat(LC(t.x,t.y,t.x,e[1]));break;case\"Z\":e=[\"C\"].concat(LC(t.x,t.y,t.X,t.Y));break;default:break}return e},d=function(e,t){if(e[t].length>7){e[t].shift();var i=e[t];while(i.length)c[t]=\"A\",o&&(u[t]=\"A\"),e.splice(t++,0,[\"C\"].concat(i.splice(0,6)));e.splice(t,1),n=Math.max(r.length,o&&o.length||0)}},h=function(e,t,i,a,c){e&&t&&\"M\"===e[c][0]&&\"M\"!==t[c][0]&&(t.splice(c,0,[\"M\",a.x,a.y]),i.bx=0,i.by=0,i.x=e[c][1],i.y=e[c][2],n=Math.max(r.length,o&&o.length||0))};n=Math.max(r.length,o&&o.length||0);for(var p=0;p<n;p++){r[p]&&(s=r[p][0]),\"C\"!==s&&(c[p]=s,p&&(l=c[p-1])),r[p]=f(r[p],i,l),\"A\"!==c[p]&&\"C\"===s&&(c[p]=\"C\"),d(r,p),o&&(o[p]&&(s=o[p][0]),\"C\"!==s&&(u[p]=s,p&&(l=u[p-1])),o[p]=f(o[p],a,l),\"A\"!==u[p]&&\"C\"===s&&(u[p]=\"C\"),d(o,p)),h(r,o,i,a,p),h(o,r,a,i,p);var v=r[p],g=o&&o[p],m=v.length,y=o&&g.length;i.x=v[m-2],i.y=v[m-1],i.bx=parseFloat(v[m-4])||i.x,i.by=parseFloat(v[m-3])||i.y,a.bx=o&&(parseFloat(g[y-4])||a.x),a.by=o&&(parseFloat(g[y-3])||a.y),a.x=o&&g[y-2],a.y=o&&g[y-1]}return o?[r,o]:r},BC=/,?([a-z]),?/gi,zC=function(e){return e.join(\",\").replace(BC,\"$1\")},UC=function(e,t,n,r,o){var i=-3*t+9*n-9*r+3*o,a=e*i+6*t-12*n+6*r;return e*a-3*t+3*n},GC=function(e,t,n,r,o,i,a,c,u){null===u&&(u=1),u=u>1?1:u<0?0:u;for(var s=u/2,l=12,f=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],d=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],h=0,p=0;p<l;p++){var v=s*f[p]+s,g=UC(v,e,n,o,a),m=UC(v,t,r,i,c),y=g*g+m*m;h+=d[p]*Math.sqrt(y)}return s*h},VC=function(e,t,n,r,o,i,a,c){for(var u,s,l,f,d=[],h=[[],[]],p=0;p<2;++p)if(0===p?(s=6*e-12*n+6*o,u=-3*e+9*n-9*o+3*a,l=3*n-3*e):(s=6*t-12*r+6*i,u=-3*t+9*r-9*i+3*c,l=3*r-3*t),Math.abs(u)<1e-12){if(Math.abs(s)<1e-12)continue;f=-l/s,f>0&&f<1&&d.push(f)}else{var v=s*s-4*l*u,g=Math.sqrt(v);if(!(v<0)){var m=(-s+g)/(2*u);m>0&&m<1&&d.push(m);var y=(-s-g)/(2*u);y>0&&y<1&&d.push(y)}}var b,x=d.length,w=x;while(x--)f=d[x],b=1-f,h[0][x]=b*b*b*e+3*b*b*f*n+3*b*f*f*o+f*f*f*a,h[1][x]=b*b*b*t+3*b*b*f*r+3*b*f*f*i+f*f*f*c;return h[0][w]=e,h[1][w]=t,h[0][w+1]=a,h[1][w+1]=c,h[0].length=h[1].length=w+2,{min:{x:Math.min.apply(0,h[0]),y:Math.min.apply(0,h[1])},max:{x:Math.max.apply(0,h[0]),y:Math.max.apply(0,h[1])}}},WC=function(e,t,n,r,o,i,a,c){if(!(Math.max(e,n)<Math.min(o,a)||Math.min(e,n)>Math.max(o,a)||Math.max(t,r)<Math.min(i,c)||Math.min(t,r)>Math.max(i,c))){var u=(e*r-t*n)*(o-a)-(e-n)*(o*c-i*a),s=(e*r-t*n)*(i-c)-(t-r)*(o*c-i*a),l=(e-n)*(i-c)-(t-r)*(o-a);if(l){var f=u/l,d=s/l,h=+f.toFixed(2),p=+d.toFixed(2);if(!(h<+Math.min(e,n).toFixed(2)||h>+Math.max(e,n).toFixed(2)||h<+Math.min(o,a).toFixed(2)||h>+Math.max(o,a).toFixed(2)||p<+Math.min(t,r).toFixed(2)||p>+Math.max(t,r).toFixed(2)||p<+Math.min(i,c).toFixed(2)||p>+Math.max(i,c).toFixed(2)))return{x:f,y:d}}}},HC=function(e,t,n){return t>=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height},YC=function(e,t,n,r,o){if(o)return[[\"M\",+e+ +o,t],[\"l\",n-2*o,0],[\"a\",o,o,0,0,1,o,o],[\"l\",0,r-2*o],[\"a\",o,o,0,0,1,-o,o],[\"l\",2*o-n,0],[\"a\",o,o,0,0,1,-o,-o],[\"l\",0,2*o-r],[\"a\",o,o,0,0,1,o,-o],[\"z\"]];var i=[[\"M\",e,t],[\"l\",n,0],[\"l\",0,r],[\"l\",-n,0],[\"z\"]];return i.parsePathArray=zC,i},XC=function(e,t,n,r){return null===e&&(e=t=n=r=0),null===t&&(t=e.y,n=e.width,r=e.height,e=e.x),{x:e,y:t,width:n,w:n,height:r,h:r,x2:e+n,y2:t+r,cx:e+n/2,cy:t+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:YC(e,t,n,r),vb:[e,t,n,r].join(\" \")}},qC=function(e,t){return e=XC(e),t=XC(t),HC(t,e.x,e.y)||HC(t,e.x2,e.y)||HC(t,e.x,e.y2)||HC(t,e.x2,e.y2)||HC(e,t.x,t.y)||HC(e,t.x2,t.y)||HC(e,t.x,t.y2)||HC(e,t.x2,t.y2)||(e.x<t.x2&&e.x>t.x||t.x<e.x2&&t.x>e.x)&&(e.y<t.y2&&e.y>t.y||t.y<e.y2&&t.y>e.y)},KC=function(e,t,n,r,o,i,a,c){Object(GS[\"isArray\"])(e)||(e=[e,t,n,r,o,i,a,c]);var u=VC.apply(null,e);return XC(u.min.x,u.min.y,u.max.x-u.min.x,u.max.y-u.min.y)},ZC=function(e,t,n,r,o,i,a,c,u){var s=1-u,l=Math.pow(s,3),f=Math.pow(s,2),d=u*u,h=d*u,p=l*e+3*f*u*n+3*s*u*u*o+h*a,v=l*t+3*f*u*r+3*s*u*u*i+h*c,g=e+2*u*(n-e)+d*(o-2*n+e),m=t+2*u*(r-t)+d*(i-2*r+t),y=n+2*u*(o-n)+d*(a-2*o+n),b=r+2*u*(i-r)+d*(c-2*i+r),x=s*e+u*n,w=s*t+u*r,O=s*o+u*a,E=s*i+u*c,S=90-180*Math.atan2(g-y,m-b)/Math.PI;return{x:p,y:v,m:{x:g,y:m},n:{x:y,y:b},start:{x:x,y:w},end:{x:O,y:E},alpha:S}},$C=function(e,t,n){var r=KC(e),o=KC(t);if(!qC(r,o))return n?0:[];for(var i=GC.apply(0,e),a=GC.apply(0,t),c=~~(i/8),u=~~(a/8),s=[],l=[],f={},d=n?0:[],h=0;h<c+1;h++){var p=ZC.apply(0,e.concat(h/c));s.push({x:p.x,y:p.y,t:h/c})}for(h=0;h<u+1;h++){p=ZC.apply(0,t.concat(h/u));l.push({x:p.x,y:p.y,t:h/u})}for(h=0;h<c;h++)for(var v=0;v<u;v++){var g=s[h],m=s[h+1],y=l[v],b=l[v+1],x=Math.abs(m.x-g.x)<.001?\"y\":\"x\",w=Math.abs(b.x-y.x)<.001?\"y\":\"x\",O=WC(g.x,g.y,m.x,m.y,y.x,y.y,b.x,b.y);if(O){if(f[O.x.toFixed(4)]===O.y.toFixed(4))continue;f[O.x.toFixed(4)]=O.y.toFixed(4);var E=g.t+Math.abs((O[x]-g[x])/(m[x]-g[x]))*(m.t-g.t),S=y.t+Math.abs((O[w]-y[w])/(b[w]-y[w]))*(b.t-y.t);E>=0&&E<=1&&S>=0&&S<=1&&(n?d+=1:d.push({x:O.x,y:O.y,t1:E,t2:S}))}}return d},QC=function(e,t,n){var r,o,i,a,c,u,s,l,f,d;e=FC(e),t=FC(t);for(var h=n?0:[],p=0,v=e.length;p<v;p++){var g=e[p];if(\"M\"===g[0])r=c=g[1],o=u=g[2];else{\"C\"===g[0]?(f=[r,o].concat(g.slice(1)),r=f[6],o=f[7]):(f=[r,o,r,o,c,u,c,u],r=c,o=u);for(var m=0,y=t.length;m<y;m++){var b=t[m];if(\"M\"===b[0])i=s=b[1],a=l=b[2];else{\"C\"===b[0]?(d=[i,a].concat(b.slice(1)),i=d[6],a=d[7]):(d=[i,a,i,a,s,l,s,l],i=s,a=l);var x=$C(f,d,n);if(n)h+=x;else{for(var w=0,O=x.length;w<O;w++)x[w].segment1=p,x[w].segment2=m,x[w].bez1=f,x[w].bez2=d;h=h.concat(x)}}}}}return h},JC=function(e,t){return QC(e,t)};function eM(e,t){var n=[],r=[];function o(e,t){if(1===e.length)n.push(e[0]),r.push(e[0]);else{for(var i=[],a=0;a<e.length-1;a++)0===a&&n.push(e[0]),a===e.length-2&&r.push(e[a+1]),i[a]=[(1-t)*e[a][0]+t*e[a+1][0],(1-t)*e[a][1]+t*e[a+1][1]];o(i,t)}}return e.length&&o(e,t),{left:n,right:r.reverse()}}function tM(e,t,n){var r=[[e[1],e[2]]];n=n||2;var o=[];\"A\"===t[0]?(r.push(t[6]),r.push(t[7])):\"C\"===t[0]?(r.push([t[1],t[2]]),r.push([t[3],t[4]]),r.push([t[5],t[6]])):\"S\"===t[0]||\"Q\"===t[0]?(r.push([t[1],t[2]]),r.push([t[3],t[4]])):r.push([t[1],t[2]]);for(var i=r,a=1/n,c=0;c<n-1;c++){var u=a/(1-a*c),s=eM(i,u);o.push(s.left),i=s.right}o.push(i);var l=o.map((function(e){var t=[];return 4===e.length&&(t.push(\"C\"),t=t.concat(e[2])),e.length>=3&&(3===e.length&&t.push(\"Q\"),t=t.concat(e[1])),2===e.length&&t.push(\"L\"),t=t.concat(e[e.length-1]),t}));return l}var nM=function(e,t,n){if(1===n)return[[].concat(e)];var r=[];if(\"L\"===t[0]||\"C\"===t[0]||\"Q\"===t[0])r=r.concat(tM(e,t,n));else{var o=[].concat(e);\"M\"===o[0]&&(o[0]=\"L\");for(var i=0;i<=n-1;i++)r.push(o)}return r},rM=function(e,t){if(1===e.length)return e;var n=e.length-1,r=t.length-1,o=n/r,i=[];if(1===e.length&&\"M\"===e[0][0]){for(var a=0;a<r-n;a++)e.push(e[0]);return e}for(a=0;a<r;a++){var c=Math.floor(o*a);i[c]=(i[c]||0)+1}var u=i.reduce((function(t,r,o){return o===n?t.concat(e[n]):t.concat(nM(e[o],e[o+1],r))}),[]);return u.unshift(e[0]),\"Z\"!==t[r]&&\"z\"!==t[r]||u.push(\"Z\"),u},oM=function(e,t){if(e.length!==t.length)return!1;var n=!0;return Object(GS[\"each\"])(e,(function(e,r){if(e!==t[r])return n=!1,!1})),n};function iM(e,t,n){var r=null,o=n;return t<o&&(o=t,r=\"add\"),e<o&&(o=e,r=\"del\"),{type:r,min:o}}var aM=function(e,t){var n,r,o=e.length,i=t.length,a=0;if(0===o||0===i)return null;for(var c=[],u=0;u<=o;u++)c[u]=[],c[u][0]={min:u};for(var s=0;s<=i;s++)c[0][s]={min:s};for(u=1;u<=o;u++){n=e[u-1];for(s=1;s<=i;s++){r=t[s-1],a=oM(n,r)?0:1;var l=c[u-1][s].min+1,f=c[u][s-1].min+1,d=c[u-1][s-1].min+a;c[u][s]=iM(l,f,d)}}return c},cM=function(e,t){var n=aM(e,t),r=e.length,o=t.length,i=[],a=1,c=1;if(n[r][o].min!==r){for(var u=1;u<=r;u++){var s=n[u][u].min;c=u;for(var l=a;l<=o;l++)n[u][l].min<s&&(s=n[u][l].min,c=l);a=c,n[u][a].type&&i.push({index:u-1,type:n[u][a].type})}for(u=i.length-1;u>=0;u--)a=i[u].index,\"add\"===i[u].type?e.splice(a,0,[].concat(e[a])):e.splice(a,1)}r=e.length;var f=o-r;if(r<o)for(u=0;u<f;u++)\"z\"===e[r-1][0]||\"Z\"===e[r-1][0]?e.splice(r-2,0,e[r-2]):e.push(e[r-1]),r+=1;return e};function uM(e,t,n){for(var r,o=[].concat(e),i=1/(n+1),a=sM(t)[0],c=1;c<=n;c++)i*=c,r=Math.floor(e.length*i),0===r?o.unshift([a[0]*i+e[r][0]*(1-i),a[1]*i+e[r][1]*(1-i)]):o.splice(r,0,[a[0]*i+e[r][0]*(1-i),a[1]*i+e[r][1]*(1-i)]);return o}function sM(e){var t=[];switch(e[0]){case\"M\":t.push([e[1],e[2]]);break;case\"L\":t.push([e[1],e[2]]);break;case\"A\":t.push([e[6],e[7]]);break;case\"Q\":t.push([e[3],e[4]]),t.push([e[1],e[2]]);break;case\"T\":t.push([e[1],e[2]]);break;case\"C\":t.push([e[5],e[6]]),t.push([e[1],e[2]]),t.push([e[3],e[4]]);break;case\"S\":t.push([e[3],e[4]]),t.push([e[1],e[2]]);break;case\"H\":t.push([e[1],e[1]]);break;case\"V\":t.push([e[1],e[1]]);break;default:}return t}var lM=function(e,t){if(e.length<=1)return e;for(var n,r=0;r<t.length;r++)if(e[r][0]!==t[r][0])switch(n=sM(e[r]),t[r][0]){case\"M\":e[r]=[\"M\"].concat(n[0]);break;case\"L\":e[r]=[\"L\"].concat(n[0]);break;case\"A\":e[r]=[].concat(t[r]),e[r][6]=n[0][0],e[r][7]=n[0][1];break;case\"Q\":if(n.length<2){if(!(r>0)){e[r]=t[r];break}n=uM(n,e[r-1],1)}e[r]=[\"Q\"].concat(n.reduce((function(e,t){return e.concat(t)}),[]));break;case\"T\":e[r]=[\"T\"].concat(n[0]);break;case\"C\":if(n.length<3){if(!(r>0)){e[r]=t[r];break}n=uM(n,e[r-1],2)}e[r]=[\"C\"].concat(n.reduce((function(e,t){return e.concat(t)}),[]));break;case\"S\":if(n.length<2){if(!(r>0)){e[r]=t[r];break}n=uM(n,e[r-1],1)}e[r]=[\"S\"].concat(n.reduce((function(e,t){return e.concat(t)}),[]));break;default:e[r]=t[r]}return e},fM=function(){function e(e,t){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=e,this.name=e,this.originalEvent=t,this.timeStamp=t.timeStamp}return e.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},e.prototype.stopPropagation=function(){this.propagationStopped=!0},e.prototype.toString=function(){var e=this.type;return\"[Event (type=\"+e+\")]\"},e.prototype.save=function(){},e.prototype.restore=function(){},e}(),dM=fM;function hM(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}var pM=\"undefined\"!==typeof window&&\"undefined\"!==typeof window.document;function vM(e,t){if(e.isCanvas())return!0;var n=t.getParent(),r=!1;while(n){if(n===e){r=!0;break}n=n.getParent()}return r}function gM(e){return e.cfg.visible&&e.cfg.capture}var mM=function(e){function t(t){var n=e.call(this)||this;n.destroyed=!1;var r=n.getDefaultCfg();return n.cfg=Object(GS[\"mix\"])(r,t),n}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultCfg=function(){return{}},t.prototype.get=function(e){return this.cfg[e]},t.prototype.set=function(e,t){this.cfg[e]=t},t.prototype.destroy=function(){this.cfg={destroyed:!0},this.off(),this.destroyed=!0},t}(KS),yM=mM,bM=r(\"e0ae\");function xM(e,t){var n=[],r=e[0],o=e[1],i=e[2],a=e[3],c=e[4],u=e[5],s=e[6],l=e[7],f=e[8],d=t[0],h=t[1],p=t[2],v=t[3],g=t[4],m=t[5],y=t[6],b=t[7],x=t[8];return n[0]=d*r+h*a+p*s,n[1]=d*o+h*c+p*l,n[2]=d*i+h*u+p*f,n[3]=v*r+g*a+m*s,n[4]=v*o+g*c+m*l,n[5]=v*i+g*u+m*f,n[6]=y*r+b*a+x*s,n[7]=y*o+b*c+x*l,n[8]=y*i+b*u+x*f,n}function wM(e,t){var n=[],r=t[0],o=t[1];return n[0]=e[0]*r+e[3]*o+e[6],n[1]=e[1]*r+e[4]*o+e[7],n}function OM(e){var t=[],n=e[0],r=e[1],o=e[2],i=e[3],a=e[4],c=e[5],u=e[6],s=e[7],l=e[8],f=l*a-c*s,d=-l*i+c*u,h=s*i-a*u,p=n*f+r*d+o*h;return p?(p=1/p,t[0]=f*p,t[1]=(-l*r+o*s)*p,t[2]=(c*r-o*a)*p,t[3]=d*p,t[4]=(l*n-o*u)*p,t[5]=(-c*n+o*i)*p,t[6]=h*p,t[7]=(-s*n+r*u)*p,t[8]=(a*n-r*i)*p,t):null}var EM=o.transform,SM=\"matrix\",jM=[\"zIndex\",\"capture\",\"visible\",\"type\"],kM=[\"repeat\"],_M=\":\",CM=\"*\";function MM(e){for(var t=[],n=0;n<e.length;n++)Object(GS[\"isArray\"])(e[n])?t.push([].concat(e[n])):t.push(e[n]);return t}function AM(e,t){var n={},r=t.attrs;for(var o in e)n[o]=r[o];return n}function NM(e,t){var n={},r=t.attr();return Object(GS[\"each\"])(e,(function(e,t){-1!==kM.indexOf(t)||Object(GS[\"isEqual\"])(r[t],e)||(n[t]=e)})),n}function TM(e,t){if(t.onFrame)return e;var n=t.startTime,r=t.delay,o=t.duration,i=Object.prototype.hasOwnProperty;return Object(GS[\"each\"])(e,(function(e){n+r<e.startTime+e.delay+e.duration&&o>e.delay&&Object(GS[\"each\"])(t.toAttrs,(function(t,n){i.call(e.toAttrs,n)&&(delete e.toAttrs[n],delete e.fromAttrs[n])}))})),e}var IM=function(e){function t(t){var n=e.call(this,t)||this;n.attrs={};var r=n.getDefaultAttrs();return Object(GS[\"mix\"])(r,t.attrs),n.attrs=r,n.initAttrs(r),n.initAnimate(),n}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},t.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},t.prototype.onCanvasChange=function(e){},t.prototype.initAttrs=function(e){},t.prototype.initAnimate=function(){this.set(\"animable\",!0),this.set(\"animating\",!1)},t.prototype.isGroup=function(){return!1},t.prototype.getParent=function(){return this.get(\"parent\")},t.prototype.getCanvas=function(){return this.get(\"canvas\")},t.prototype.attr=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t[0],o=t[1];if(!r)return this.attrs;if(Object(GS[\"isObject\"])(r)){for(var i in r)this.setAttr(i,r[i]);return this.afterAttrsChange(r),this}return 2===t.length?(this.setAttr(r,o),this.afterAttrsChange((e={},e[r]=o,e)),this):this.attrs[r]},t.prototype.isClipped=function(e,t){var n=this.getClip();return n&&!n.isHit(e,t)},t.prototype.setAttr=function(e,t){var n=this.attrs[e];n!==t&&(this.attrs[e]=t,this.onAttrChange(e,t,n))},t.prototype.onAttrChange=function(e,t,n){\"matrix\"===e&&this.set(\"totalMatrix\",null)},t.prototype.afterAttrsChange=function(e){if(this.cfg.isClipShape){var t=this.cfg.applyTo;t&&t.onCanvasChange(\"clip\")}else this.onCanvasChange(\"attr\")},t.prototype.show=function(){return this.set(\"visible\",!0),this.onCanvasChange(\"show\"),this},t.prototype.hide=function(){return this.set(\"visible\",!1),this.onCanvasChange(\"hide\"),this},t.prototype.setZIndex=function(e){this.set(\"zIndex\",e);var t=this.getParent();return t&&t.sort(),this},t.prototype.toFront=function(){var e=this.getParent();if(e){var t=e.getChildren(),n=(this.get(\"el\"),t.indexOf(this));t.splice(n,1),t.push(this),this.onCanvasChange(\"zIndex\")}},t.prototype.toBack=function(){var e=this.getParent();if(e){var t=e.getChildren(),n=(this.get(\"el\"),t.indexOf(this));t.splice(n,1),t.unshift(this),this.onCanvasChange(\"zIndex\")}},t.prototype.remove=function(e){void 0===e&&(e=!0);var t=this.getParent();t?(hM(t.getChildren(),this),t.get(\"clearing\")||this.onCanvasChange(\"remove\")):this.onCanvasChange(\"remove\"),e&&this.destroy()},t.prototype.resetMatrix=function(){this.attr(SM,this.getDefaultMatrix()),this.onCanvasChange(\"matrix\")},t.prototype.getMatrix=function(){return this.attr(SM)},t.prototype.setMatrix=function(e){this.attr(SM,e),this.onCanvasChange(\"matrix\")},t.prototype.getTotalMatrix=function(){var e=this.cfg.totalMatrix;if(!e){var t=this.attr(\"matrix\"),n=this.cfg.parentMatrix;e=n&&t?xM(n,t):t||n,this.set(\"totalMatrix\",e)}return e},t.prototype.applyMatrix=function(e){var t=this.attr(\"matrix\"),n=null;n=e&&t?xM(e,t):t||e,this.set(\"totalMatrix\",n),this.set(\"parentMatrix\",e)},t.prototype.getDefaultMatrix=function(){return null},t.prototype.applyToMatrix=function(e){var t=this.attr(\"matrix\");return t?wM(t,e):e},t.prototype.invertFromMatrix=function(e){var t=this.attr(\"matrix\");if(t){var n=OM(t);if(n)return wM(n,e)}return e},t.prototype.setClip=function(e){var t=this.getCanvas(),n=null;if(e){var r=this.getShapeBase(),o=Object(GS[\"upperFirst\"])(e.type),i=r[o];i&&(n=new i({type:e.type,isClipShape:!0,applyTo:this,attrs:e.attrs,canvas:t}))}return this.set(\"clipShape\",n),this.onCanvasChange(\"clip\"),n},t.prototype.getClip=function(){var e=this.cfg.clipShape;return e||null},t.prototype.clone=function(){var e=this,t=this.attrs,n={};Object(GS[\"each\"])(t,(function(e,r){Object(GS[\"isArray\"])(t[r])?n[r]=MM(t[r]):n[r]=t[r]}));var r=this.constructor,o=new r({attrs:n});return Object(GS[\"each\"])(jM,(function(t){o.set(t,e.get(t))})),o},t.prototype.destroy=function(){var t=this.destroyed;t||(this.attrs={},e.prototype.destroy.call(this))},t.prototype.isAnimatePaused=function(){return this.get(\"_pause\").isPaused},t.prototype.animate=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this.get(\"timeline\")||this.get(\"canvas\")){this.set(\"animating\",!0);var n=this.get(\"timeline\");n||(n=this.get(\"canvas\").get(\"timeline\"),this.set(\"timeline\",n));var r=this.get(\"animations\")||[];n.timer||n.initTimer();var o,i,a,c,u,s=e[0],l=e[1],f=e[2],d=void 0===f?\"easeLinear\":f,h=e[3],p=void 0===h?GS[\"noop\"]:h,v=e[4],g=void 0===v?0:v;Object(GS[\"isFunction\"])(s)?(o=s,s={}):Object(GS[\"isObject\"])(s)&&s.onFrame&&(o=s.onFrame,i=s.repeat),Object(GS[\"isObject\"])(l)?(u=l,l=u.duration,d=u.easing||\"easeLinear\",g=u.delay||0,i=u.repeat||i||!1,p=u.callback||GS[\"noop\"],a=u.pauseCallback||GS[\"noop\"],c=u.resumeCallback||GS[\"noop\"]):(Object(GS[\"isNumber\"])(p)&&(g=p,p=null),Object(GS[\"isFunction\"])(d)?(p=d,d=\"easeLinear\"):d=d||\"easeLinear\");var m=NM(s,this),y={fromAttrs:AM(m,this),toAttrs:m,duration:l,easing:d,repeat:i,callback:p,pauseCallback:a,resumeCallback:c,delay:g,startTime:n.getTime(),id:Object(GS[\"uniqueId\"])(),onFrame:o,pathFormatted:!1};r.length>0?r=TM(r,y):n.addAnimator(this),r.push(y),this.set(\"animations\",r),this.set(\"_pause\",{isPaused:!1})}},t.prototype.stopAnimate=function(e){var t=this;void 0===e&&(e=!0);var n=this.get(\"animations\");Object(GS[\"each\"])(n,(function(n){e&&(n.onFrame?t.attr(n.onFrame(1)):t.attr(n.toAttrs)),n.callback&&n.callback()})),this.set(\"animating\",!1),this.set(\"animations\",[])},t.prototype.pauseAnimate=function(){var e=this.get(\"timeline\"),t=this.get(\"animations\"),n=e.getTime();return Object(GS[\"each\"])(t,(function(e){e._paused=!0,e._pauseTime=n,e.pauseCallback&&e.pauseCallback()})),this.set(\"_pause\",{isPaused:!0,pauseTime:n}),this},t.prototype.resumeAnimate=function(){var e=this.get(\"timeline\"),t=e.getTime(),n=this.get(\"animations\"),r=this.get(\"_pause\").pauseTime;return Object(GS[\"each\"])(n,(function(e){e.startTime=e.startTime+(t-r),e._paused=!1,e._pauseTime=null,e.resumeCallback&&e.resumeCallback()})),this.set(\"_pause\",{isPaused:!1}),this.set(\"animations\",n),this},t.prototype.emitDelegation=function(e,t){var n,r=this,o=t.propagationPath;this.getEvents();\"mouseenter\"===e?n=t.fromShape:\"mouseleave\"===e&&(n=t.toShape);for(var i=function(e){var i=o[e],c=i.get(\"name\");if(c){if((i.isGroup()||i.isCanvas&&i.isCanvas())&&n&&vM(i,n))return\"break\";Object(GS[\"isArray\"])(c)?Object(GS[\"each\"])(c,(function(e){r.emitDelegateEvent(i,e,t)})):a.emitDelegateEvent(i,c,t)}},a=this,c=0;c<o.length;c++){var u=i(c);if(\"break\"===u)break}},t.prototype.emitDelegateEvent=function(e,t,n){var r=this.getEvents(),o=t+_M+n.type;(r[o]||r[CM])&&(n.name=o,n.currentTarget=e,n.delegateTarget=this,n.delegateObject=e.get(\"delegateObject\"),this.emit(o,n))},t.prototype.translate=function(e,t){void 0===e&&(e=0),void 0===t&&(t=0);var n=this.getMatrix(),r=EM(n,[[\"t\",e,t]]);return this.setMatrix(r),this},t.prototype.move=function(e,t){var n=this.attr(\"x\")||0,r=this.attr(\"y\")||0;return this.translate(e-n,t-r),this},t.prototype.moveTo=function(e,t){return this.move(e,t)},t.prototype.scale=function(e,t){var n=this.getMatrix(),r=EM(n,[[\"s\",e,t||e]]);return this.setMatrix(r),this},t.prototype.rotate=function(e){var t=this.getMatrix(),n=EM(t,[[\"r\",e]]);return this.setMatrix(n),this},t.prototype.rotateAtStart=function(e){var t=this.attr(),n=t.x,r=t.y,o=this.getMatrix(),i=EM(o,[[\"t\",-n,-r],[\"r\",e],[\"t\",n,r]]);return this.setMatrix(i),this},t.prototype.rotateAtPoint=function(e,t,n){var r=this.getMatrix(),o=EM(r,[[\"t\",-e,-t],[\"r\",n],[\"t\",e,t]]);return this.setMatrix(o),this},t}(yM),PM=IM,LM={},DM=\"_INDEX\";function RM(e,t){if(e.set(\"canvas\",t),e.isGroup()){var n=e.get(\"children\");n.length&&n.forEach((function(e){RM(e,t)}))}}function FM(e,t){if(e.set(\"timeline\",t),e.isGroup()){var n=e.get(\"children\");n.length&&n.forEach((function(e){FM(e,t)}))}}function BM(e,t,n){void 0===n&&(n=!0),n?t.destroy():(t.set(\"parent\",null),t.set(\"canvas\",null)),hM(e.getChildren(),t)}function zM(e){return function(t,n){var r=e(t,n);return 0===r?t[DM]-n[DM]:r}}var UM,GM,VM=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.isCanvas=function(){return!1},t.prototype.getBBox=function(){var e=1/0,t=-1/0,n=1/0,r=-1/0,o=[],i=[],a=this.getChildren().filter((function(e){return e.get(\"visible\")&&(!e.isGroup()||e.isGroup()&&e.getChildren().length>0)}));a.length>0?(Object(GS[\"each\"])(a,(function(e){var t=e.getBBox();o.push(t.minX,t.maxX),i.push(t.minY,t.maxY)})),e=Object(GS[\"min\"])(o),t=Object(GS[\"max\"])(o),n=Object(GS[\"min\"])(i),r=Object(GS[\"max\"])(i)):(e=0,t=0,n=0,r=0);var c={x:e,y:n,minX:e,minY:n,maxX:t,maxY:r,width:t-e,height:r-n};return c},t.prototype.getCanvasBBox=function(){var e=1/0,t=-1/0,n=1/0,r=-1/0,o=[],i=[],a=this.getChildren().filter((function(e){return e.get(\"visible\")&&(!e.isGroup()||e.isGroup()&&e.getChildren().length>0)}));a.length>0?(Object(GS[\"each\"])(a,(function(e){var t=e.getCanvasBBox();o.push(t.minX,t.maxX),i.push(t.minY,t.maxY)})),e=Object(GS[\"min\"])(o),t=Object(GS[\"max\"])(o),n=Object(GS[\"min\"])(i),r=Object(GS[\"max\"])(i)):(e=0,t=0,n=0,r=0);var c={x:e,y:n,minX:e,minY:n,maxX:t,maxY:r,width:t-e,height:r-n};return c},t.prototype.getDefaultCfg=function(){var t=e.prototype.getDefaultCfg.call(this);return t[\"children\"]=[],t},t.prototype.onAttrChange=function(t,n,r){if(e.prototype.onAttrChange.call(this,t,n,r),\"matrix\"===t){var o=this.getTotalMatrix();this._applyChildrenMarix(o)}},t.prototype.applyMatrix=function(t){var n=this.getTotalMatrix();e.prototype.applyMatrix.call(this,t);var r=this.getTotalMatrix();r!==n&&this._applyChildrenMarix(r)},t.prototype._applyChildrenMarix=function(e){var t=this.getChildren();Object(GS[\"each\"])(t,(function(t){t.applyMatrix(e)}))},t.prototype.addShape=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[0],r=e[1];Object(GS[\"isObject\"])(n)?r=n:r[\"type\"]=n;var o=LM[r.type];o||(o=Object(GS[\"upperFirst\"])(r.type),LM[r.type]=o);var i=this.getShapeBase(),a=new i[o](r);return this.add(a),a},t.prototype.addGroup=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n,r=e[0],o=e[1];if(Object(GS[\"isFunction\"])(r))n=new r(o||{parent:this});else{var i=r||{},a=this.getGroupBase();n=new a(i)}return this.add(n),n},t.prototype.getCanvas=function(){var e;return e=this.isCanvas()?this:this.get(\"canvas\"),e},t.prototype.getShape=function(e,t,n){if(!gM(this))return null;var r,o=this.getChildren();if(this.isCanvas())r=this._findShape(o,e,t,n);else{var i=[e,t,1];i=this.invertFromMatrix(i),this.isClipped(i[0],i[1])||(r=this._findShape(o,i[0],i[1],n))}return r},t.prototype._findShape=function(e,t,n,r){for(var o=null,i=e.length-1;i>=0;i--){var a=e[i];if(gM(a)&&(a.isGroup()?o=a.getShape(t,n,r):a.isHit(t,n)&&(o=a)),o)break}return o},t.prototype.add=function(e){var t=this.getCanvas(),n=this.getChildren(),r=this.get(\"timeline\"),o=e.getParent();o&&BM(o,e,!1),e.set(\"parent\",this),t&&RM(e,t),r&&FM(e,r),n.push(e),e.onCanvasChange(\"add\"),this._applyElementMatrix(e)},t.prototype._applyElementMatrix=function(e){var t=this.getTotalMatrix();t&&e.applyMatrix(t)},t.prototype.getChildren=function(){return this.get(\"children\")},t.prototype.sort=function(){var e=this.getChildren();Object(GS[\"each\"])(e,(function(e,t){return e[DM]=t,e})),e.sort(zM((function(e,t){return e.get(\"zIndex\")-t.get(\"zIndex\")}))),this.onCanvasChange(\"sort\")},t.prototype.clear=function(){if(this.set(\"clearing\",!0),!this.destroyed){for(var e=this.getChildren(),t=e.length-1;t>=0;t--)e[t].destroy();this.set(\"children\",[]),this.onCanvasChange(\"clear\"),this.set(\"clearing\",!1)}},t.prototype.destroy=function(){this.get(\"destroyed\")||(this.clear(),e.prototype.destroy.call(this))},t.prototype.getFirst=function(){return this.getChildByIndex(0)},t.prototype.getLast=function(){var e=this.getChildren();return this.getChildByIndex(e.length-1)},t.prototype.getChildByIndex=function(e){var t=this.getChildren();return t[e]},t.prototype.getCount=function(){var e=this.getChildren();return e.length},t.prototype.contain=function(e){var t=this.getChildren();return t.indexOf(e)>-1},t.prototype.removeChild=function(e,t){void 0===t&&(t=!0),this.contain(e)&&e.remove(t)},t.prototype.findAll=function(e){var t=[],n=this.getChildren();return Object(GS[\"each\"])(n,(function(n){e(n)&&t.push(n),n.isGroup()&&(t=t.concat(n.findAll(e)))})),t},t.prototype.find=function(e){var t=null,n=this.getChildren();return Object(GS[\"each\"])(n,(function(n){if(e(n)?t=n:n.isGroup()&&(t=n.find(e)),t)return!1})),t},t.prototype.findById=function(e){return this.find((function(t){return t.get(\"id\")===e}))},t.prototype.findByClassName=function(e){return this.find((function(t){return t.get(\"className\")===e}))},t.prototype.findAllByName=function(e){return this.findAll((function(t){return t.get(\"name\")===e}))},t}(PM),WM=VM,HM=0,YM=0,XM=0,qM=1e3,KM=0,ZM=0,$M=0,QM=\"object\"===typeof performance&&performance.now?performance:Date,JM=\"object\"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function eA(){return ZM||(JM(tA),ZM=QM.now()+$M)}function tA(){ZM=0}function nA(){this._call=this._time=this._next=null}function rA(e,t,n){var r=new nA;return r.restart(e,t,n),r}function oA(){eA(),++HM;var e,t=UM;while(t)(e=ZM-t._time)>=0&&t._call.call(null,e),t=t._next;--HM}function iA(){ZM=(KM=QM.now())+$M,HM=YM=0;try{oA()}finally{HM=0,cA(),ZM=0}}function aA(){var e=QM.now(),t=e-KM;t>qM&&($M-=t,KM=e)}function cA(){var e,t,n=UM,r=1/0;while(n)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:UM=t);GM=e,uA(r)}function uA(e){if(!HM){YM&&(YM=clearTimeout(YM));var t=e-ZM;t>24?(e<1/0&&(YM=setTimeout(iA,e-QM.now()-$M)),XM&&(XM=clearInterval(XM))):(XM||(KM=QM.now(),XM=setInterval(aA,qM)),HM=1,JM(iA))}}nA.prototype=rA.prototype={constructor:nA,restart:function(e,t,n){if(\"function\"!==typeof e)throw new TypeError(\"callback is not a function\");n=(null==n?eA():+n)+(null==t?0:+t),this._next||GM===this||(GM?GM._next=this:UM=this,GM=this),this._call=e,this._time=n,uA()},stop:function(){this._call&&(this._call=null,this._time=1/0,uA())}};var sA=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e};function lA(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function fA(){}var dA=.7,hA=1/dA,pA=\"\\\\s*([+-]?\\\\d+)\\\\s*\",vA=\"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*\",gA=\"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*\",mA=/^#([0-9a-f]{3,8})$/,yA=new RegExp(\"^rgb\\\\(\"+[pA,pA,pA]+\"\\\\)$\"),bA=new RegExp(\"^rgb\\\\(\"+[gA,gA,gA]+\"\\\\)$\"),xA=new RegExp(\"^rgba\\\\(\"+[pA,pA,pA,vA]+\"\\\\)$\"),wA=new RegExp(\"^rgba\\\\(\"+[gA,gA,gA,vA]+\"\\\\)$\"),OA=new RegExp(\"^hsl\\\\(\"+[vA,gA,gA]+\"\\\\)$\"),EA=new RegExp(\"^hsla\\\\(\"+[vA,gA,gA,vA]+\"\\\\)$\"),SA={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 jA(){return this.rgb().formatHex()}function kA(){return FA(this).formatHsl()}function _A(){return this.rgb().formatRgb()}function CA(e){var t,n;return e=(e+\"\").trim().toLowerCase(),(t=mA.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?MA(t):3===n?new IA(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?AA(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?AA(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=yA.exec(e))?new IA(t[1],t[2],t[3],1):(t=bA.exec(e))?new IA(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=xA.exec(e))?AA(t[1],t[2],t[3],t[4]):(t=wA.exec(e))?AA(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=OA.exec(e))?RA(t[1],t[2]/100,t[3]/100,1):(t=EA.exec(e))?RA(t[1],t[2]/100,t[3]/100,t[4]):SA.hasOwnProperty(e)?MA(SA[e]):\"transparent\"===e?new IA(NaN,NaN,NaN,0):null}function MA(e){return new IA(e>>16&255,e>>8&255,255&e,1)}function AA(e,t,n,r){return r<=0&&(e=t=n=NaN),new IA(e,t,n,r)}function NA(e){return e instanceof fA||(e=CA(e)),e?(e=e.rgb(),new IA(e.r,e.g,e.b,e.opacity)):new IA}function TA(e,t,n,r){return 1===arguments.length?NA(e):new IA(e,t,n,null==r?1:r)}function IA(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function PA(){return\"#\"+DA(this.r)+DA(this.g)+DA(this.b)}function LA(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(1===e?\"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===e?\")\":\", \"+e+\")\")}function DA(e){return e=Math.max(0,Math.min(255,Math.round(e)||0)),(e<16?\"0\":\"\")+e.toString(16)}function RA(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new zA(e,t,n,r)}function FA(e){if(e instanceof zA)return new zA(e.h,e.s,e.l,e.opacity);if(e instanceof fA||(e=CA(e)),!e)return new zA;if(e instanceof zA)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,c=i-o,u=(i+o)/2;return c?(a=t===i?(n-r)/c+6*(n<r):n===i?(r-t)/c+2:(t-n)/c+4,c/=u<.5?i+o:2-i-o,a*=60):c=u>0&&u<1?0:a,new zA(a,c,u,e.opacity)}function BA(e,t,n,r){return 1===arguments.length?FA(e):new zA(e,t,n,null==r?1:r)}function zA(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function UA(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function GA(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}sA(fA,CA,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:jA,formatHex:jA,formatHsl:kA,formatRgb:_A,toString:_A}),sA(IA,TA,lA(fA,{brighter:function(e){return e=null==e?hA:Math.pow(hA,e),new IA(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?dA:Math.pow(dA,e),new IA(this.r*e,this.g*e,this.b*e,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:PA,formatHex:PA,formatRgb:LA,toString:LA})),sA(zA,BA,lA(fA,{brighter:function(e){return e=null==e?hA:Math.pow(hA,e),new zA(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?dA:Math.pow(dA,e),new zA(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new IA(UA(e>=240?e-240:e+120,o,r),UA(e,o,r),UA(e<120?e+240:e-120,o,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 e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(1===e?\"hsl(\":\"hsla(\")+(this.h||0)+\", \"+100*(this.s||0)+\"%, \"+100*(this.l||0)+\"%\"+(1===e?\")\":\", \"+e+\")\")}}));var VA=function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,c=r<t-1?e[r+2]:2*i-o;return GA((n-r/t)*t,a,o,i,c)}},WA=function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],a=e[(r+1)%t],c=e[(r+2)%t];return GA((n-r/t)*t,o,i,a,c)}},HA=function(e){return function(){return e}};function YA(e,t){return function(n){return e+n*t}}function XA(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function qA(e){return 1===(e=+e)?KA:function(t,n){return n-t?XA(t,n,e):HA(isNaN(t)?n:t)}}function KA(e,t){var n=t-e;return n?YA(e,n):HA(isNaN(e)?t:e)}var ZA=function e(t){var n=qA(t);function r(e,t){var r=n((e=TA(e)).r,(t=TA(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=KA(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+\"\"}}return r.gamma=e,r}(1);function $A(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),c=new Array(o);for(n=0;n<o;++n)r=TA(t[n]),i[n]=r.r||0,a[n]=r.g||0,c[n]=r.b||0;return i=e(i),a=e(a),c=e(c),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=c(e),r+\"\"}}}$A(VA),$A(WA);var QA=function(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,o=t.slice();return function(i){for(n=0;n<r;++n)o[n]=e[n]*(1-i)+t[n]*i;return o}};function JA(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}var eN=function(e,t){return(JA(t)?QA:tN)(e,t)};function tN(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=lN(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<o;++n)a[n]=i[n](e);return a}}var nN=function(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}},rN=function(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}},oN=function(e,t){var n,r={},o={};for(n in null!==e&&\"object\"===typeof e||(e={}),null!==t&&\"object\"===typeof t||(t={}),t)n in e?r[n]=lN(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}},iN=/[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?/g,aN=new RegExp(iN.source,\"g\");function cN(e){return function(){return e}}function uN(e){return function(t){return e(t)+\"\"}}var sN=function(e,t){var n,r,o,i=iN.lastIndex=aN.lastIndex=0,a=-1,c=[],u=[];e+=\"\",t+=\"\";while((n=iN.exec(e))&&(r=aN.exec(t)))(o=r.index)>i&&(o=t.slice(i,o),c[a]?c[a]+=o:c[++a]=o),(n=n[0])===(r=r[0])?c[a]?c[a]+=r:c[++a]=r:(c[++a]=null,u.push({i:a,x:rN(n,r)})),i=aN.lastIndex;return i<t.length&&(o=t.slice(i),c[a]?c[a]+=o:c[++a]=o),c.length<2?u[0]?uN(u[0].x):cN(t):(t=u.length,function(e){for(var n,r=0;r<t;++r)c[(n=u[r]).i]=n.x(e);return c.join(\"\")})},lN=function(e,t){var n,r=typeof t;return null==t||\"boolean\"===r?HA(t):(\"number\"===r?rN:\"string\"===r?(n=CA(t))?(t=n,ZA):sN:t instanceof CA?ZA:t instanceof Date?nN:JA(t)?QA:Array.isArray(t)?tN:\"function\"!==typeof t.valueOf&&\"function\"!==typeof t.toString||isNaN(t)?oN:rN)(e,t)};function fN(e){return+e}function dN(e){return e*e}function hN(e){return e*(2-e)}function pN(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function vN(e){return e*e*e}function gN(e){return--e*e*e+1}function mN(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var yN=3,bN=function e(t){function n(e){return Math.pow(e,t)}return t=+t,n.exponent=e,n}(yN),xN=function e(t){function n(e){return 1-Math.pow(1-e,t)}return t=+t,n.exponent=e,n}(yN),wN=function e(t){function n(e){return((e*=2)<=1?Math.pow(e,t):2-Math.pow(2-e,t))/2}return t=+t,n.exponent=e,n}(yN),ON=Math.PI,EN=ON/2;function SN(e){return 1===+e?1:1-Math.cos(e*EN)}function jN(e){return Math.sin(e*EN)}function kN(e){return(1-Math.cos(ON*e))/2}function _N(e){return 1.0009775171065494*(Math.pow(2,-10*e)-.0009765625)}function CN(e){return _N(1-+e)}function MN(e){return 1-_N(e)}function AN(e){return((e*=2)<=1?_N(1-e):2-_N(e-1))/2}function NN(e){return 1-Math.sqrt(1-e*e)}function TN(e){return Math.sqrt(1- --e*e)}function IN(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}var PN=4/11,LN=6/11,DN=8/11,RN=3/4,FN=9/11,BN=10/11,zN=15/16,UN=21/22,GN=63/64,VN=1/PN/PN;function WN(e){return 1-HN(1-e)}function HN(e){return(e=+e)<PN?VN*e*e:e<DN?VN*(e-=LN)*e+RN:e<BN?VN*(e-=FN)*e+zN:VN*(e-=UN)*e+GN}function YN(e){return((e*=2)<=1?1-HN(1-e):HN(e-1)+1)/2}var XN=1.70158,qN=function e(t){function n(e){return(e=+e)*e*(t*(e-1)+e)}return t=+t,n.overshoot=e,n}(XN),KN=function e(t){function n(e){return--e*e*((e+1)*t+e)+1}return t=+t,n.overshoot=e,n}(XN),ZN=function e(t){function n(e){return((e*=2)<1?e*e*((t+1)*e-t):(e-=2)*e*((t+1)*e+t)+2)/2}return t=+t,n.overshoot=e,n}(XN),$N=2*Math.PI,QN=1,JN=.3,eT=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=$N);function o(e){return t*_N(- --e)*Math.sin((r-e)/n)}return o.amplitude=function(t){return e(t,n*$N)},o.period=function(n){return e(t,n)},o}(QN,JN),tT=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=$N);function o(e){return 1-t*_N(e=+e)*Math.sin((e+r)/n)}return o.amplitude=function(t){return e(t,n*$N)},o.period=function(n){return e(t,n)},o}(QN,JN),nT=function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=$N);function o(e){return((e=2*e-1)<0?t*_N(-e)*Math.sin((r-e)/n):2-t*_N(e)*Math.sin((r+e)/n))/2}return o.amplitude=function(t){return e(t,n*$N)},o.period=function(n){return e(t,n)},o}(QN,JN),rT={};function oT(e){return rT[e.toLowerCase()]||s[e]}var iT=function(e){return[\"fill\",\"stroke\",\"fillStyle\",\"strokeStyle\"].includes(e)},aT=function(e){return/^[r,R,L,l]{1}[\\s]*\\(/.test(e)},cT=[1,0,0,0,1,0,0,0,1];function uT(e,t,n){var r={},o=t.fromAttrs,i=t.toAttrs;if(!e.destroyed){var a;for(var c in i)if(!Object(GS[\"isEqual\"])(o[c],i[c]))if(\"path\"===c){var u=i[c],s=o[c];u.length>s.length?(u=NC(i[c]),s=NC(o[c]),s=cM(s,u),s=lM(s,u),t.fromAttrs.path=s,t.toAttrs.path=u):t.pathFormatted||(u=NC(i[c]),s=NC(o[c]),s=lM(s,u),t.fromAttrs.path=s,t.toAttrs.path=u,t.pathFormatted=!0),r[c]=[];for(var l=0;l<u.length;l++){for(var f=u[l],d=s[l],h=[],p=0;p<f.length;p++)Object(GS[\"isNumber\"])(f[p])&&d&&Object(GS[\"isNumber\"])(d[p])?(a=lN(d[p],f[p]),h.push(a(n))):h.push(f[p]);r[c].push(h)}}else if(\"matrix\"===c){var v=eN(o[c]||cT,i[c]||cT),g=v(n);r[c]=g}else iT(c)&&aT(i[c])?r[c]=i[c]:Object(GS[\"isFunction\"])(i[c])||(a=lN(o[c],i[c]),r[c]=a(n));e.attr(r)}}function sT(e,t,n){var r,o=t.startTime,i=t.delay;if(n<o+i||t._paused)return!1;var a=t.duration,c=t.easing,u=oT(c);if(n=n-o-t.delay,t.repeat)r=n%a/a,r=u(r);else{if(r=n/a,!(r<1))return t.onFrame?e.attr(t.onFrame(1)):e.attr(t.toAttrs),!0;r=u(r)}if(t.onFrame){var s=t.onFrame(r);e.attr(s)}else uT(e,t,r);return!1}var lT=function(){function e(e){this.animators=[],this.current=0,this.timer=null,this.canvas=e}return e.prototype.initTimer=function(){var e,t,n,r=this,o=!1;this.timer=rA((function(i){if(r.current=i,r.animators.length>0){for(var a=r.animators.length-1;a>=0;a--)if(e=r.animators[a],e.destroyed)r.removeAnimator(a);else{if(!e.isAnimatePaused()){t=e.get(\"animations\");for(var c=t.length-1;c>=0;c--)n=t[c],o=sT(e,n,i),o&&(t.splice(c,1),o=!1,n.callback&&n.callback())}0===t.length&&r.removeAnimator(a)}var u=r.canvas.get(\"autoDraw\");u||r.canvas.draw()}}))},e.prototype.addAnimator=function(e){this.animators.push(e)},e.prototype.removeAnimator=function(e){this.animators.splice(e,1)},e.prototype.isAnimating=function(){return!!this.animators.length},e.prototype.stop=function(){this.timer&&this.timer.stop()},e.prototype.stopAllAnimations=function(e){void 0===e&&(e=!0),this.animators.forEach((function(t){t.stopAnimate(e)})),this.animators=[],this.canvas.draw()},e.prototype.getTime=function(){return this.current},e}(),fT=lT,dT=40,hT=0,pT=[\"mousedown\",\"mouseup\",\"dblclick\",\"mouseout\",\"mouseover\",\"mousemove\",\"mouseleave\",\"mouseenter\",\"touchstart\",\"touchmove\",\"touchend\",\"dragenter\",\"dragover\",\"dragleave\",\"drop\",\"contextmenu\",\"mousewheel\"];function vT(e,t,n){n.name=t,n.target=e,n.currentTarget=e,n.delegateTarget=e,e.emit(t,n)}function gT(e,t,n){if(n.bubbles){var r=void 0,o=!1;if(\"mouseenter\"===t?(r=n.fromShape,o=!0):\"mouseleave\"===t&&(o=!0,r=n.toShape),e.isCanvas()&&o)return;if(r&&vM(e,r))return void(n.bubbles=!1);n.name=t,n.currentTarget=e,n.delegateTarget=e,e.emit(t,n)}}var mT=function(){function e(e){var t=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(e){var n=e.type;t._triggerEvent(n,e)},this._onDocumentMove=function(e){var n=t.canvas,r=n.get(\"el\");if(r!==e.target&&(t.dragging||t.currentShape)){var o=t._getPointInfo(e);t.dragging&&t._emitEvent(\"drag\",e,o,t.draggingShape)}},this._onDocumentMouseUp=function(e){var n=t.canvas,r=n.get(\"el\");if(r!==e.target&&t.dragging){var o=t._getPointInfo(e);t.draggingShape&&t._emitEvent(\"drop\",e,o,null),t._emitEvent(\"dragend\",e,o,t.draggingShape),t._afterDrag(t.draggingShape,o,e)}},this.canvas=e.canvas}return e.prototype.init=function(){this._bindEvents()},e.prototype._bindEvents=function(){var e=this,t=this.canvas.get(\"el\");Object(GS[\"each\"])(pT,(function(n){t.addEventListener(n,e._eventCallback)})),document&&(document.addEventListener(\"mousemove\",this._onDocumentMove),document.addEventListener(\"mouseup\",this._onDocumentMouseUp))},e.prototype._clearEvents=function(){var e=this,t=this.canvas.get(\"el\");Object(GS[\"each\"])(pT,(function(n){t.removeEventListener(n,e._eventCallback)})),document&&(document.removeEventListener(\"mousemove\",this._onDocumentMove),document.removeEventListener(\"mouseup\",this._onDocumentMouseUp))},e.prototype._getEventObj=function(e,t,n,r,o,i){var a=new dM(e,t);return a.fromShape=o,a.toShape=i,a.x=n.x,a.y=n.y,a.clientX=n.clientX,a.clientY=n.clientY,a.propagationPath.push(r),a},e.prototype._getShape=function(e,t){return this.canvas.getShape(e.x,e.y,t)},e.prototype._getPointInfo=function(e){var t=this.canvas,n=t.getClientByEvent(e),r=t.getPointByEvent(e);return{x:r.x,y:r.y,clientX:n.x,clientY:n.y}},e.prototype._triggerEvent=function(e,t){var n=this._getPointInfo(t),r=this._getShape(n,t),o=this[\"_on\"+e],i=!1;if(o)o.call(this,n,r,t);else{var a=this.currentShape;\"mouseenter\"===e||\"dragenter\"===e||\"mouseover\"===e?(this._emitEvent(e,t,n,null,null,r),r&&this._emitEvent(e,t,n,r,null,r),\"mouseenter\"===e&&this.draggingShape&&this._emitEvent(\"dragenter\",t,n,null)):\"mouseleave\"===e||\"dragleave\"===e||\"mouseout\"===e?(i=!0,a&&this._emitEvent(e,t,n,a,a,null),this._emitEvent(e,t,n,null,a,null),\"mouseleave\"===e&&this.draggingShape&&this._emitEvent(\"dragleave\",t,n,null)):this._emitEvent(e,t,n,r,null,null)}if(i||(this.currentShape=r),r&&!r.get(\"destroyed\")){var c=this.canvas,u=c.get(\"el\");u.style.cursor=r.attr(\"cursor\")||c.get(\"cursor\")}},e.prototype._onmousedown=function(e,t,n){n.button===hT&&(this.mousedownShape=t,this.mousedownPoint=e,this.mousedownTimeStamp=n.timeStamp),this._emitEvent(\"mousedown\",n,e,t,null,null)},e.prototype._emitMouseoverEvents=function(e,t,n,r){var o=this.canvas.get(\"el\");n!==r&&(n&&(this._emitEvent(\"mouseout\",e,t,n,n,r),this._emitEvent(\"mouseleave\",e,t,n,n,r),r&&!r.get(\"destroyed\")||(o.style.cursor=this.canvas.get(\"cursor\"))),r&&(this._emitEvent(\"mouseover\",e,t,r,n,r),this._emitEvent(\"mouseenter\",e,t,r,n,r)))},e.prototype._emitDragoverEvents=function(e,t,n,r,o){r?(r!==n&&(n&&this._emitEvent(\"dragleave\",e,t,n,n,r),this._emitEvent(\"dragenter\",e,t,r,n,r)),o||this._emitEvent(\"dragover\",e,t,r)):n&&this._emitEvent(\"dragleave\",e,t,n,n,r),o&&this._emitEvent(\"dragover\",e,t,r)},e.prototype._afterDrag=function(e,t,n){e&&(e.set(\"capture\",!0),this.draggingShape=null),this.dragging=!1;var r=this._getShape(t,n);r!==e&&this._emitMouseoverEvents(n,t,e,r),this.currentShape=r},e.prototype._onmouseup=function(e,t,n){if(n.button===hT){var r=this.draggingShape;this.dragging?(r&&this._emitEvent(\"drop\",n,e,t),this._emitEvent(\"dragend\",n,e,r),this._afterDrag(r,e,n)):(this._emitEvent(\"mouseup\",n,e,t),t===this.mousedownShape&&this._emitEvent(\"click\",n,e,t),this.mousedownShape=null,this.mousedownPoint=null)}},e.prototype._ondragover=function(e,t,n){n.preventDefault();var r=this.currentShape;this._emitDragoverEvents(n,e,r,t,!0)},e.prototype._onmousemove=function(e,t,n){var r=this.canvas,o=this.currentShape,i=this.draggingShape;if(this.dragging)i&&this._emitDragoverEvents(n,e,o,t,!1),this._emitEvent(\"drag\",n,e,i);else{var a=this.mousedownPoint;if(a){var c=this.mousedownShape,u=n.timeStamp,s=u-this.mousedownTimeStamp,l=a.clientX-e.clientX,f=a.clientY-e.clientY,d=l*l+f*f;s>120||d>dT?c&&c.get(\"draggable\")?(i=this.mousedownShape,i.set(\"capture\",!1),this.draggingShape=i,this.dragging=!0,this._emitEvent(\"dragstart\",n,e,i),this.mousedownShape=null,this.mousedownPoint=null):!c&&r.get(\"draggable\")?(this.dragging=!0,this._emitEvent(\"dragstart\",n,e,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(n,e,o,t),this._emitEvent(\"mousemove\",n,e,t)):(this._emitMouseoverEvents(n,e,o,t),this._emitEvent(\"mousemove\",n,e,t))}else this._emitMouseoverEvents(n,e,o,t),this._emitEvent(\"mousemove\",n,e,t)}},e.prototype._emitEvent=function(e,t,n,r,o,i){var a=this._getEventObj(e,t,n,r,o,i);if(r){a.shape=r,vT(r,e,a);var c=r.getParent();while(c)c.emitDelegation(e,a),a.propagationStopped||gT(c,e,a),a.propagationPath.push(c),c=c.getParent()}else{var u=this.canvas;vT(u,e,a)}},e.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},e}(),yT=mT,bT=\"px\",xT=Object(bM[\"a\"])(),wT=xT&&\"firefox\"===xT.name,OT=function(e){function t(t){var n=e.call(this,t)||this;return n.initContainer(),n.initDom(),n.initEvents(),n.initTimeline(),n}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultCfg=function(){var t=e.prototype.getDefaultCfg.call(this);return t[\"cursor\"]=\"default\",t[\"supportCSSTransform\"]=!1,t},t.prototype.initContainer=function(){var e=this.get(\"container\");Object(GS[\"isString\"])(e)&&(e=document.getElementById(e),this.set(\"container\",e))},t.prototype.initDom=function(){var e=this.createDom();this.set(\"el\",e);var t=this.get(\"container\");t.appendChild(e),this.setDOMSize(this.get(\"width\"),this.get(\"height\"))},t.prototype.initEvents=function(){var e=new yT({canvas:this});e.init(),this.set(\"eventController\",e)},t.prototype.initTimeline=function(){var e=new fT(this);this.set(\"timeline\",e)},t.prototype.setDOMSize=function(e,t){var n=this.get(\"el\");pM&&(n.style.width=e+bT,n.style.height=t+bT)},t.prototype.changeSize=function(e,t){this.setDOMSize(e,t),this.set(\"width\",e),this.set(\"height\",t),this.onCanvasChange(\"changeSize\")},t.prototype.getRenderer=function(){return this.get(\"renderer\")},t.prototype.getCursor=function(){return this.get(\"cursor\")},t.prototype.setCursor=function(e){this.set(\"cursor\",e);var t=this.get(\"el\");pM&&t&&(t.style.cursor=e)},t.prototype.getPointByEvent=function(e){var t=this.get(\"supportCSSTransform\");if(t){if(wT&&!Object(GS[\"isNil\"])(e.layerX)&&e.layerX!==e.offsetX)return{x:e.layerX,y:e.layerY};if(!Object(GS[\"isNil\"])(e.offsetX))return{x:e.offsetX,y:e.offsetY}}var n=this.getClientByEvent(e),r=n.x,o=n.y;return this.getPointByClient(r,o)},t.prototype.getClientByEvent=function(e){var t=e;return e.touches&&(t=\"touchend\"===e.type?e.changedTouches[0]:e.touches[0]),{x:t.clientX,y:t.clientY}},t.prototype.getPointByClient=function(e,t){var n=this.get(\"el\"),r=n.getBoundingClientRect();return{x:e-r.left,y:t-r.top}},t.prototype.getClientByPoint=function(e,t){var n=this.get(\"el\"),r=n.getBoundingClientRect();return{x:e+r.left,y:t+r.top}},t.prototype.draw=function(){},t.prototype.removeDom=function(){var e=this.get(\"el\");e.parentNode.removeChild(e)},t.prototype.clearEvents=function(){var e=this.get(\"eventController\");e.destroy()},t.prototype.isCanvas=function(){return!0},t.prototype.getParent=function(){return null},t.prototype.destroy=function(){var t=this.get(\"timeline\");this.get(\"destroyed\")||(this.clear(),t&&t.stop(),this.clearEvents(),this.removeDom(),e.prototype.destroy.call(this))},t}(WM),ET=OT,ST=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.isGroup=function(){return!0},t.prototype.isEntityGroup=function(){return!1},t.prototype.clone=function(){for(var t=e.prototype.clone.call(this),n=this.getChildren(),r=0;r<n.length;r++){var o=n[r];t.add(o.clone())}return t},t}(WM),jT=ST,kT=function(e){function t(t){return e.call(this,t)||this}return Object(US[\"__extends\"])(t,e),t.prototype._isInBBox=function(e,t){var n=this.getBBox();return n.minX<=e&&n.maxX>=e&&n.minY<=t&&n.maxY>=t},t.prototype.afterAttrsChange=function(t){e.prototype.afterAttrsChange.call(this,t),this.clearCacheBBox()},t.prototype.getBBox=function(){var e=this.cfg.bbox;return e||(e=this.calculateBBox(),this.set(\"bbox\",e)),e},t.prototype.getCanvasBBox=function(){var e=this.cfg.canvasBBox;return e||(e=this.calculateCanvasBBox(),this.set(\"canvasBBox\",e)),e},t.prototype.applyMatrix=function(t){e.prototype.applyMatrix.call(this,t),this.set(\"canvasBBox\",null)},t.prototype.calculateCanvasBBox=function(){var e=this.getBBox(),t=this.getTotalMatrix(),n=e.minX,r=e.minY,o=e.maxX,i=e.maxY;if(t){var a=wM(t,[e.minX,e.minY]),c=wM(t,[e.maxX,e.minY]),u=wM(t,[e.minX,e.maxY]),s=wM(t,[e.maxX,e.maxY]);n=Math.min(a[0],c[0],u[0],s[0]),o=Math.max(a[0],c[0],u[0],s[0]),r=Math.min(a[1],c[1],u[1],s[1]),i=Math.max(a[1],c[1],u[1],s[1])}var l=this.attrs;if(l.shadowColor){var f=l.shadowBlur,d=void 0===f?0:f,h=l.shadowOffsetX,p=void 0===h?0:h,v=l.shadowOffsetY,g=void 0===v?0:v,m=n-d+p,y=o+d+p,b=r-d+g,x=i+d+g;n=Math.min(n,m),o=Math.max(o,y),r=Math.min(r,b),i=Math.max(i,x)}return{x:n,y:r,minX:n,minY:r,maxX:o,maxY:i,width:o-n,height:i-r}},t.prototype.clearCacheBBox=function(){this.set(\"bbox\",null),this.set(\"canvasBBox\",null)},t.prototype.isClipShape=function(){return this.get(\"isClipShape\")},t.prototype.isInShape=function(e,t){return!1},t.prototype.isOnlyHitBox=function(){return!1},t.prototype.isHit=function(e,t){var n=this.get(\"startArrowShape\"),r=this.get(\"endArrowShape\"),o=[e,t,1];o=this.invertFromMatrix(o);var i=o[0],a=o[1],c=this._isInBBox(i,a);if(this.isOnlyHitBox())return c;if(c&&!this.isClipped(i,a)){if(this.isInShape(i,a))return!0;if(n&&n.isHit(i,a))return!0;if(r&&r.isHit(i,a))return!0}return!1},t}(PM),_T=kT,CT=new Map;function MT(e,t){CT.set(e,t)}function AT(e){return CT.get(e)}var NT=function(e){var t=e.attr(),n=t.x,r=t.y,o=t.width,i=t.height;return{x:n,y:r,width:o,height:i}},TT=function(e){var t=e.attr(),n=t.x,r=t.y,o=t.r;return{x:n-o,y:r-o,width:2*o,height:2*o}};function IT(e){return Math.min.apply(null,e)}function PT(e){return Math.max.apply(null,e)}function LT(e,t,n,r){var o=e-n,i=t-r;return Math.sqrt(o*o+i*i)}function DT(e,t){return Math.abs(e-t)<.001}function RT(e,t){var n=IT(e),r=IT(t),o=PT(e),i=PT(t);return{x:n,y:r,width:o-n,height:i-r}}function FT(e,t,n,r){return{minX:IT([e,n]),maxX:PT([e,n]),minY:IT([t,r]),maxY:PT([t,r])}}function BT(e){return(e+2*Math.PI)%(2*Math.PI)}var zT=r(\"ZxFD\"),UT={box:function(e,t,n,r){return RT([e,n],[t,r])},length:function(e,t,n,r){return LT(e,t,n,r)},pointAt:function(e,t,n,r,o){return{x:(1-o)*e+o*n,y:(1-o)*t+o*r}},pointDistance:function(e,t,n,r,o,i){var a=(n-e)*(o-e)+(r-t)*(i-t);if(a<0)return LT(e,t,o,i);var c=(n-e)*(n-e)+(r-t)*(r-t);return a>c?LT(n,r,o,i):this.pointToLine(e,t,n,r,o,i)},pointToLine:function(e,t,n,r,o,i){var a=[n-e,r-t];if(zT[\"exactEquals\"](a,[0,0]))return Math.sqrt((o-e)*(o-e)+(i-t)*(i-t));var c=[-a[1],a[0]];zT[\"normalize\"](c,c);var u=[o-e,i-t];return Math.abs(zT[\"dot\"](u,c))},tangentAngle:function(e,t,n,r){return Math.atan2(r-t,n-e)}},GT=1e-4;function VT(e,t,n,r,o,i){var a,c=1/0,u=[n,r],s=20;i&&i>200&&(s=i/10);for(var l=1/s,f=l/10,d=0;d<=s;d++){var h=d*l,p=[o.apply(null,e.concat([h])),o.apply(null,t.concat([h]))],v=LT(u[0],u[1],p[0],p[1]);v<c&&(a=h,c=v)}if(0===a)return{x:e[0],y:t[0]};if(1===a){var g=e.length;return{x:e[g-1],y:t[g-1]}}c=1/0;for(d=0;d<32;d++){if(f<GT)break;var m=a-f,y=a+f;p=[o.apply(null,e.concat([m])),o.apply(null,t.concat([m]))],v=LT(u[0],u[1],p[0],p[1]);if(m>=0&&v<c)a=m,c=v;else{var b=[o.apply(null,e.concat([y])),o.apply(null,t.concat([y]))],x=LT(u[0],u[1],b[0],b[1]);y<=1&&x<c?(a=y,c=x):f*=.5}}return{x:o.apply(null,e.concat([a])),y:o.apply(null,t.concat([a]))}}function WT(e,t){for(var n=0,r=e.length,o=0;o<r;o++){var i=e[o],a=t[o],c=e[(o+1)%r],u=t[(o+1)%r];n+=LT(i,a,c,u)}return n/2}function HT(e,t,n,r){var o=1-r;return o*o*e+2*r*o*t+r*r*n}function YT(e,t,n){var r=e+n-2*t;if(DT(r,0))return[.5];var o=(e-t)/r;return o<=1&&o>=0?[o]:[]}function XT(e,t,n,r){return 2*(1-r)*(t-e)+2*r*(n-t)}function qT(e,t,n,r,o,i,a){var c=HT(e,n,o,a),u=HT(t,r,i,a),s=UT.pointAt(e,t,n,r,a),l=UT.pointAt(n,r,o,i,a);return[[e,t,s.x,s.y,c,u],[c,u,l.x,l.y,o,i]]}function KT(e,t,n,r,o,i,a){if(0===a)return(LT(e,t,n,r)+LT(n,r,o,i)+LT(e,t,o,i))/2;var c=qT(e,t,n,r,o,i,.5),u=c[0],s=c[1];return u.push(a-1),s.push(a-1),KT.apply(null,u)+KT.apply(null,s)}var ZT={box:function(e,t,n,r,o,i){var a=YT(e,n,o)[0],c=YT(t,r,i)[0],u=[e,o],s=[t,i];return void 0!==a&&u.push(HT(e,n,o,a)),void 0!==c&&s.push(HT(t,r,i,c)),RT(u,s)},length:function(e,t,n,r,o,i){return KT(e,t,n,r,o,i,3)},nearestPoint:function(e,t,n,r,o,i,a,c){return VT([e,n,o],[t,r,i],a,c,HT)},pointDistance:function(e,t,n,r,o,i,a,c){var u=this.nearestPoint(e,t,n,r,o,i,a,c);return LT(u.x,u.y,a,c)},interpolationAt:HT,pointAt:function(e,t,n,r,o,i,a){return{x:HT(e,n,o,a),y:HT(t,r,i,a)}},divide:function(e,t,n,r,o,i,a){return qT(e,t,n,r,o,i,a)},tangentAngle:function(e,t,n,r,o,i,a){var c=XT(e,n,o,a),u=XT(t,r,i,a),s=Math.atan2(u,c);return BT(s)}};function $T(e,t,n,r,o){var i=1-o;return i*i*i*e+3*t*o*i*i+3*n*o*o*i+r*o*o*o}function QT(e,t,n,r,o){var i=1-o;return 3*(i*i*(t-e)+2*i*o*(n-t)+o*o*(r-n))}function JT(e,t,n,r){var o,i,a,c=-3*e+9*t-9*n+3*r,u=6*e-12*t+6*n,s=3*t-3*e,l=[];if(DT(c,0))DT(u,0)||(o=-s/u,o>=0&&o<=1&&l.push(o));else{var f=u*u-4*c*s;DT(f,0)?l.push(-u/(2*c)):f>0&&(a=Math.sqrt(f),o=(-u+a)/(2*c),i=(-u-a)/(2*c),o>=0&&o<=1&&l.push(o),i>=0&&i<=1&&l.push(i))}return l}function eI(e,t,n,r,o,i,a,c,u){var s=$T(e,n,o,a,u),l=$T(t,r,i,c,u),f=UT.pointAt(e,t,n,r,u),d=UT.pointAt(n,r,o,i,u),h=UT.pointAt(o,i,a,c,u),p=UT.pointAt(f.x,f.y,d.x,d.y,u),v=UT.pointAt(d.x,d.y,h.x,h.y,u);return[[e,t,f.x,f.y,p.x,p.y,s,l],[s,l,v.x,v.y,h.x,h.y,a,c]]}function tI(e,t,n,r,o,i,a,c,u){if(0===u)return WT([e,n,o,a],[t,r,i,c]);var s=eI(e,t,n,r,o,i,a,c,.5),l=s[0],f=s[1];return l.push(u-1),f.push(u-1),tI.apply(null,l)+tI.apply(null,f)}var nI={extrema:JT,box:function(e,t,n,r,o,i,a,c){for(var u=[e,a],s=[t,c],l=JT(e,n,o,a),f=JT(t,r,i,c),d=0;d<l.length;d++)u.push($T(e,n,o,a,l[d]));for(d=0;d<f.length;d++)s.push($T(t,r,i,c,f[d]));return RT(u,s)},length:function(e,t,n,r,o,i,a,c){return tI(e,t,n,r,o,i,a,c,3)},nearestPoint:function(e,t,n,r,o,i,a,c,u,s,l){return VT([e,n,o,a],[t,r,i,c],u,s,$T,l)},pointDistance:function(e,t,n,r,o,i,a,c,u,s,l){var f=this.nearestPoint(e,t,n,r,o,i,a,c,u,s,l);return LT(f.x,f.y,u,s)},interpolationAt:$T,pointAt:function(e,t,n,r,o,i,a,c,u){return{x:$T(e,n,o,a,u),y:$T(t,r,i,c,u)}},divide:function(e,t,n,r,o,i,a,c,u){return eI(e,t,n,r,o,i,a,c,u)},tangentAngle:function(e,t,n,r,o,i,a,c,u){var s=QT(e,n,o,a,u),l=QT(t,r,i,c,u);return BT(Math.atan2(l,s))}};function rI(e,t){var n=Math.abs(e);return t>0?n:-1*n}var oI={box:function(e,t,n,r){return{x:e-n,y:t-r,width:2*n,height:2*r}},length:function(e,t,n,r){return Math.PI*(3*(n+r)-Math.sqrt((3*n+r)*(n+3*r)))},nearestPoint:function(e,t,n,r,o,i){var a=n,c=r;if(0===a||0===c)return{x:e,y:t};for(var u,s,l=o-e,f=i-t,d=Math.abs(l),h=Math.abs(f),p=a*a,v=c*c,g=Math.PI/4,m=0;m<4;m++){u=a*Math.cos(g),s=c*Math.sin(g);var y=(p-v)*Math.pow(Math.cos(g),3)/a,b=(v-p)*Math.pow(Math.sin(g),3)/c,x=u-y,w=s-b,O=d-y,E=h-b,S=Math.hypot(w,x),j=Math.hypot(E,O),k=S*Math.asin((x*E-w*O)/(S*j)),_=k/Math.sqrt(p+v-u*u-s*s);g+=_,g=Math.min(Math.PI/2,Math.max(0,g))}return{x:e+rI(u,l),y:t+rI(s,f)}},pointDistance:function(e,t,n,r,o,i){var a=this.nearestPoint(e,t,n,r,o,i);return LT(a.x,a.y,o,i)},pointAt:function(e,t,n,r,o){var i=2*Math.PI*o;return{x:e+n*Math.cos(i),y:t+r*Math.sin(i)}},tangentAngle:function(e,t,n,r,o){var i=2*Math.PI*o,a=Math.atan2(r*Math.cos(i),-n*Math.sin(i));return BT(a)}};function iI(e,t,n,r,o,i,a,c){return-1*n*Math.cos(o)*Math.sin(c)-r*Math.sin(o)*Math.cos(c)}function aI(e,t,n,r,o,i,a,c){return-1*n*Math.sin(o)*Math.sin(c)+r*Math.cos(o)*Math.cos(c)}function cI(e,t,n){return Math.atan(-t/e*Math.tan(n))}function uI(e,t,n){return Math.atan(t/(e*Math.tan(n)))}function sI(e,t,n,r,o,i){return n*Math.cos(o)*Math.cos(i)-r*Math.sin(o)*Math.sin(i)+e}function lI(e,t,n,r,o,i){return n*Math.sin(o)*Math.cos(i)+r*Math.cos(o)*Math.sin(i)+t}function fI(e,t,n,r){var o=Math.atan2(r*e,n*t);return(o+2*Math.PI)%(2*Math.PI)}function dI(e,t,n){return{x:e*Math.cos(n),y:t*Math.sin(n)}}function hI(e,t,n){var r=Math.cos(n),o=Math.sin(n);return[e*r-t*o,e*o+t*r]}var pI={box:function(e,t,n,r,o,i,a){for(var c=cI(n,r,o),u=1/0,s=-1/0,l=[i,a],f=2*-Math.PI;f<=2*Math.PI;f+=Math.PI){var d=c+f;i<a?i<d&&d<a&&l.push(d):a<d&&d<i&&l.push(d)}for(f=0;f<l.length;f++){var h=sI(e,t,n,r,o,l[f]);h<u&&(u=h),h>s&&(s=h)}var p=uI(n,r,o),v=1/0,g=-1/0,m=[i,a];for(f=2*-Math.PI;f<=2*Math.PI;f+=Math.PI){var y=p+f;i<a?i<y&&y<a&&m.push(y):a<y&&y<i&&m.push(y)}for(f=0;f<m.length;f++){var b=lI(e,t,n,r,o,m[f]);b<v&&(v=b),b>g&&(g=b)}return{x:u,y:v,width:s-u,height:g-v}},length:function(e,t,n,r,o,i,a){},nearestPoint:function(e,t,n,r,o,i,a,c,u){var s=hI(c-e,u-t,-o),l=s[0],f=s[1],d=oI.nearestPoint(0,0,n,r,l,f),h=fI(n,r,d.x,d.y);h<i?d=dI(n,r,i):h>a&&(d=dI(n,r,a));var p=hI(d.x,d.y,o);return{x:p[0]+e,y:p[1]+t}},pointDistance:function(e,t,n,r,o,i,a,c,u){var s=this.nearestPoint(e,t,n,r,c,u);return LT(s.x,s.y,c,u)},pointAt:function(e,t,n,r,o,i,a,c){var u=(a-i)*c+i;return{x:sI(e,t,n,r,o,u),y:lI(e,t,n,r,o,u)}},tangentAngle:function(e,t,n,r,o,i,a,c){var u=(a-i)*c+i,s=iI(e,t,n,r,o,i,a,u),l=aI(e,t,n,r,o,i,a,u);return BT(Math.atan2(l,s))}};function vI(e){for(var t=0,n=[],r=0;r<e.length-1;r++){var o=e[r],i=e[r+1],a=LT(o[0],o[1],i[0],i[1]),c={from:o,to:i,length:a};n.push(c),t+=a}return{segments:n,totalLength:t}}function gI(e){if(e.length<2)return 0;for(var t=0,n=0;n<e.length-1;n++){var r=e[n],o=e[n+1];t+=LT(r[0],r[1],o[0],o[1])}return t}function mI(e,t){if(t>1||t<0||e.length<2)return null;var n=vI(e),r=n.segments,o=n.totalLength;if(0===o)return{x:e[0][0],y:e[0][1]};for(var i=0,a=null,c=0;c<r.length;c++){var u=r[c],s=u.from,l=u.to,f=u.length/o;if(t>=i&&t<=i+f){var d=(t-i)/f;a=UT.pointAt(s[0],s[1],l[0],l[1],d);break}i+=f}return a}function yI(e,t){if(t>1||t<0||e.length<2)return 0;for(var n=vI(e),r=n.segments,o=n.totalLength,i=0,a=0,c=0;c<r.length;c++){var u=r[c],s=u.from,l=u.to,f=u.length/o;if(t>=i&&t<=i+f){a=Math.atan2(l[1]-s[1],l[0]-s[0]);break}i+=f}return a}function bI(e,t,n){for(var r=1/0,o=0;o<e.length-1;o++){var i=e[o],a=e[o+1],c=UT.pointDistance(i[0],i[1],a[0],a[1],t,n);c<r&&(r=c)}return r}var xI={box:function(e){for(var t=[],n=[],r=0;r<e.length;r++){var o=e[r];t.push(o[0]),n.push(o[1])}return RT(t,n)},length:function(e){return gI(e)},pointAt:function(e,t){return mI(e,t)},pointDistance:function(e,t,n){return bI(e,t,n)},tangentAngle:function(e,t){return yI(e,t)}};function wI(e,t){return e&&t?{minX:Math.min(e.minX,t.minX),minY:Math.min(e.minY,t.minY),maxX:Math.max(e.maxX,t.maxX),maxY:Math.max(e.maxY,t.maxY)}:e||t}function OI(e,t){var n=e.get(\"startArrowShape\"),r=e.get(\"endArrowShape\"),o=null,i=null;return n&&(o=n.getCanvasBBox(),t=wI(t,o)),r&&(i=r.getCanvasBBox(),t=wI(t,i)),t}var EI=function(e){for(var t=e.attr(),n=t.points,r=[],o=[],i=0;i<n.length;i++){var a=n[i];r.push(a[0]),o.push(a[1])}var c=l.getBBoxByArray(r,o),u=c.x,s=c.y,f=c.width,d=c.height,h={minX:u,minY:s,maxX:u+f,maxY:s+d};return h=OI(e,h),{x:h.minX,y:h.minY,width:h.maxX-h.minX,height:h.maxY-h.minY}},SI=function(e){for(var t=e.attr(),n=t.points,r=[],o=[],i=0;i<n.length;i++){var a=n[i];r.push(a[0]),o.push(a[1])}return l.getBBoxByArray(r,o)},jI=null;function kI(){if(!jI){var e=document.createElement(\"canvas\");e.width=1,e.height=1,jI=e.getContext(\"2d\")}return jI}function _I(e,t,n){var r=1;if(Object(GS[\"isString\"])(e)&&(r=e.split(\"\\n\").length),r>1){var o=CI(t,n);return t*r+o*(r-1)}return t}function CI(e,t){return t?t-e:.14*e}function MI(e,t){var n=kI(),r=0;if(Object(GS[\"isNil\"])(e)||\"\"===e)return r;if(n.save(),n.font=t,Object(GS[\"isString\"])(e)&&e.includes(\"\\n\")){var o=e.split(\"\\n\");Object(GS[\"each\"])(o,(function(e){var t=n.measureText(e).width;r<t&&(r=t)}))}else r=n.measureText(e).width;return n.restore(),r}function AI(e){var t=e.fontSize,n=e.fontFamily,r=e.fontWeight,o=e.fontStyle,i=e.fontVariant;return[o,i,r,t+\"px\",n].join(\" \").trim()}var NI=function(e){var t=e.attr(),n=t.x,r=t.y,o=t.text,i=t.fontSize,a=t.lineHeight,c=t.font;c||(c=AI(t));var u,s=MI(o,c);if(s){var l=t.textAlign,f=t.textBaseline,d=_I(o,i,a),h={x:n,y:r-d};l&&(\"end\"===l||\"right\"===l?h.x-=s:\"center\"===l&&(h.x-=s/2)),f&&(\"top\"===f?h.y+=d:\"middle\"===f&&(h.y+=d/2)),u={x:h.x,y:h.y,width:s,height:d}}else u={x:n,y:r,width:0,height:0};return u},TI=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,II=/[^\\s\\,]+/gi;function PI(e){var t=e||[];return Object(GS[\"isArray\"])(t)?t:Object(GS[\"isString\"])(t)?(t=t.match(TI),Object(GS[\"each\"])(t,(function(e,n){if(e=e.match(II),e[0].length>1){var r=e[0].charAt(0);e.splice(1,0,e[0].substr(1)),e[0]=r}Object(GS[\"each\"])(e,(function(t,n){isNaN(t)||(e[n]=+t)})),t[n]=e})),t):void 0}var LI=PI;function DI(e,t,n,r){var o,i,a,c,u,s,l,f=[],d=!!r;if(d){a=r[0],c=r[1];for(var h=0,p=e.length;h<p;h+=1){var v=e[h];a=ZS[\"vec2\"].min([0,0],a,v),c=ZS[\"vec2\"].max([0,0],c,v)}}h=0;for(var g=e.length;h<g;h+=1){v=e[h];if(0!==h||n)if(h!==g-1||n){var m=[h?h-1:g-1,h-1][n?0:1];o=e[m],i=e[n?(h+1)%g:h+1];var y=[0,0];y=ZS[\"vec2\"].sub(y,i,o),y=ZS[\"vec2\"].scale(y,y,t);var b=ZS[\"vec2\"].distance(v,o),x=ZS[\"vec2\"].distance(v,i),w=b+x;0!==w&&(b/=w,x/=w);var O=ZS[\"vec2\"].scale([0,0],y,-b),E=ZS[\"vec2\"].scale([0,0],y,x);s=ZS[\"vec2\"].add([0,0],v,O),u=ZS[\"vec2\"].add([0,0],v,E),u=ZS[\"vec2\"].min([0,0],u,ZS[\"vec2\"].max([0,0],i,v)),u=ZS[\"vec2\"].max([0,0],u,ZS[\"vec2\"].min([0,0],i,v)),O=ZS[\"vec2\"].sub([0,0],u,v),O=ZS[\"vec2\"].scale([0,0],O,-b/x),s=ZS[\"vec2\"].add([0,0],v,O),s=ZS[\"vec2\"].min([0,0],s,ZS[\"vec2\"].max([0,0],o,v)),s=ZS[\"vec2\"].max([0,0],s,ZS[\"vec2\"].min([0,0],o,v)),E=ZS[\"vec2\"].sub([0,0],v,s),E=ZS[\"vec2\"].scale([0,0],E,x/b),u=ZS[\"vec2\"].add([0,0],v,E),d&&(s=ZS[\"vec2\"].max([0,0],s,a),s=ZS[\"vec2\"].min([0,0],s,c),u=ZS[\"vec2\"].max([0,0],u,a),u=ZS[\"vec2\"].min([0,0],u,c)),f.push(l),f.push(s),l=u}else s=v,f.push(l),f.push(s);else l=v}return n&&f.push(f.shift()),f}function RI(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=[[0,0],[1,1]]);for(var r=!!t,o=[],i=0,a=e.length;i<a;i+=2)o.push([e[i],e[i+1]]);var c,u,s,l=DI(o,.4,r,n),f=o.length,d=[];for(i=0;i<f-1;i+=1)c=l[2*i],u=l[2*i+1],s=o[i+1],d.push([\"C\",c[0],c[1],u[0],u[1],s[0],s[1]]);return r&&(c=l[f],u=l[f+1],s=o[0],d.push([\"C\",c[0],c[1],u[0],u[1],s[0],s[1]])),d}var FI=RI;var BI=\"\\t\\n\\v\\f\\r \\xa0\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u2028\\u2029\",zI=new RegExp(\"([a-z])[\"+BI+\",]*((-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?[\"+BI+\"]*,?[\"+BI+\"]*)+)\",\"ig\"),UI=new RegExp(\"(-?\\\\d*\\\\.?\\\\d*(?:e[\\\\-+]?\\\\d+)?)[\"+BI+\"]*,?[\"+BI+\"]*\",\"ig\");function GI(e){if(!e)return null;if(Object(GS[\"isArray\"])(e))return e;var t={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},n=[];return String(e).replace(zI,(function(e,r,o){var i=[],a=r.toLowerCase();if(o.replace(UI,(function(e,t){t&&i.push(+t)})),\"m\"===a&&i.length>2&&(n.push([r].concat(i.splice(0,2))),a=\"l\",r=\"m\"===r?\"l\":\"L\"),\"o\"===a&&1===i.length&&n.push([r,i[0]]),\"r\"===a)n.push([r].concat(i));else while(i.length>=t[a])if(n.push([r].concat(i.splice(0,t[a]))),!t[a])break;return\"\"})),n}var VI=/[a-z]/;function WI(e,t){return[t[0]+(t[0]-e[0]),t[1]+(t[1]-e[1])]}function HI(e){var t=GI(e);if(!t||!t.length)return[[\"M\",0,0]];for(var n=!1,r=0;r<t.length;r++){var o=t[r][0];if(VI.test(o)||[\"V\",\"H\",\"T\",\"S\"].indexOf(o)>=0){n=!0;break}}if(!n)return t;var i=[],a=0,c=0,u=0,s=0,l=0,f=t[0];\"M\"!==f[0]&&\"m\"!==f[0]||(a=+f[1],c=+f[2],u=a,s=c,l++,i[0]=[\"M\",a,c]);r=l;for(var d=t.length;r<d;r++){var h=t[r],p=i[r-1],v=[],g=(o=h[0],o.toUpperCase());if(o!==g)switch(v[0]=g,g){case\"A\":v[1]=h[1],v[2]=h[2],v[3]=h[3],v[4]=h[4],v[5]=h[5],v[6]=+h[6]+a,v[7]=+h[7]+c;break;case\"V\":v[1]=+h[1]+c;break;case\"H\":v[1]=+h[1]+a;break;case\"M\":u=+h[1]+a,s=+h[2]+c,v[1]=u,v[2]=s;break;default:for(var m=1,y=h.length;m<y;m++)v[m]=+h[m]+(m%2?a:c)}else v=t[r];switch(g){case\"Z\":a=+u,c=+s;break;case\"H\":a=v[1],v=[\"L\",a,c];break;case\"V\":c=v[1],v=[\"L\",a,c];break;case\"T\":a=v[1],c=v[2];var b=WI([p[1],p[2]],[p[3],p[4]]);v=[\"Q\",b[0],b[1],a,c];break;case\"S\":a=v[v.length-2],c=v[v.length-1];var x=p.length,w=WI([p[x-4],p[x-3]],[p[x-2],p[x-1]]);v=[\"C\",w[0],w[1],v[1],v[2],a,c];break;case\"M\":u=v[v.length-2],s=v[v.length-1];break;default:a=v[v.length-2],c=v[v.length-1]}i.push(v)}return i}Math.PI;function YI(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function XI(e,t){return YI(e)*YI(t)?(e[0]*t[0]+e[1]*t[1])/(YI(e)*YI(t)):1}function qI(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(XI(e,t))}function KI(e,t){return e[0]===t[0]&&e[1]===t[1]}function ZI(e,t){var n=t[1],r=t[2],o=Object(GS[\"mod\"])(Object(GS[\"toRadian\"])(t[3]),2*Math.PI),i=t[4],a=t[5],c=e[0],u=e[1],s=t[6],l=t[7],f=Math.cos(o)*(c-s)/2+Math.sin(o)*(u-l)/2,d=-1*Math.sin(o)*(c-s)/2+Math.cos(o)*(u-l)/2,h=f*f/(n*n)+d*d/(r*r);h>1&&(n*=Math.sqrt(h),r*=Math.sqrt(h));var p=n*n*(d*d)+r*r*(f*f),v=p?Math.sqrt((n*n*(r*r)-p)/p):1;i===a&&(v*=-1),isNaN(v)&&(v=0);var g=r?v*n*d/r:0,m=n?v*-r*f/n:0,y=(c+s)/2+Math.cos(o)*g-Math.sin(o)*m,b=(u+l)/2+Math.sin(o)*g+Math.cos(o)*m,x=[(f-g)/n,(d-m)/r],w=[(-1*f-g)/n,(-1*d-m)/r],O=qI([1,0],x),E=qI(x,w);return XI(x,w)<=-1&&(E=Math.PI),XI(x,w)>=1&&(E=0),0===a&&E>0&&(E-=2*Math.PI),1===a&&E<0&&(E+=2*Math.PI),{cx:y,cy:b,rx:KI(e,[s,l])?0:n,ry:KI(e,[s,l])?0:r,startAngle:O,endAngle:O+E,xRotation:o,arcFlag:i,sweepFlag:a}}function $I(e,t){return[t[0]+(t[0]-e[0]),t[1]+(t[1]-e[1])]}function QI(e){e=LI(e);for(var t=[],n=null,r=null,o=null,i=0,a=e.length,c=0;c<a;c++){var u=e[c];r=e[c+1];var s=u[0],l={command:s,prePoint:n,params:u,startTangent:null,endTangent:null};switch(s){case\"M\":o=[u[1],u[2]],i=c;break;case\"A\":var f=ZI(n,u);l[\"arcParams\"]=f;break;default:break}if(\"Z\"===s)n=o,r=e[i+1];else{var d=u.length;n=[u[d-2],u[d-1]]}r&&\"Z\"===r[0]&&(r=e[i],t[i]&&(t[i].prePoint=n)),l[\"currentPoint\"]=n,t[i]&&KI(n,t[i].currentPoint)&&(t[i].prePoint=l.prePoint);var h=r?[r[r.length-2],r[r.length-1]]:null;l[\"nextPoint\"]=h;var p=l.prePoint;if([\"L\",\"H\",\"V\"].includes(s))l.startTangent=[p[0]-n[0],p[1]-n[1]],l.endTangent=[n[0]-p[0],n[1]-p[1]];else if(\"Q\"===s){var v=[u[1],u[2]];l.startTangent=[p[0]-v[0],p[1]-v[1]],l.endTangent=[n[0]-v[0],n[1]-v[1]]}else if(\"T\"===s){var g=t[c-1];v=$I(g.currentPoint,p);\"Q\"===g.command?(l.command=\"Q\",l.startTangent=[p[0]-v[0],p[1]-v[1]],l.endTangent=[n[0]-v[0],n[1]-v[1]]):(l.command=\"TL\",l.startTangent=[p[0]-n[0],p[1]-n[1]],l.endTangent=[n[0]-p[0],n[1]-p[1]])}else if(\"C\"===s){var m=[u[1],u[2]],y=[u[3],u[4]];l.startTangent=[p[0]-m[0],p[1]-m[1]],l.endTangent=[n[0]-y[0],n[1]-y[1]],0===l.startTangent[0]&&0===l.startTangent[1]&&(l.startTangent=[m[0]-y[0],m[1]-y[1]]),0===l.endTangent[0]&&0===l.endTangent[1]&&(l.endTangent=[y[0]-m[0],y[1]-m[1]])}else if(\"S\"===s){g=t[c-1],m=$I(g.currentPoint,p),y=[u[1],u[2]];\"C\"===g.command?(l.command=\"C\",l.startTangent=[p[0]-m[0],p[1]-m[1]],l.endTangent=[n[0]-y[0],n[1]-y[1]]):(l.command=\"SQ\",l.startTangent=[p[0]-y[0],p[1]-y[1]],l.endTangent=[n[0]-y[0],n[1]-y[1]])}else if(\"A\"===s){var b=.001,x=l[\"arcParams\"]||{},w=x.cx,O=void 0===w?0:w,E=x.cy,S=void 0===E?0:E,j=x.rx,k=void 0===j?0:j,_=x.ry,C=void 0===_?0:_,M=x.sweepFlag,A=void 0===M?0:M,N=x.startAngle,T=void 0===N?0:N,I=x.endAngle,P=void 0===I?0:I;0===A&&(b*=-1);var L=k*Math.cos(T-b)+O,D=C*Math.sin(T-b)+S;l.startTangent=[L-o[0],D-o[1]];var R=k*Math.cos(T+P+b)+O,F=C*Math.sin(T+P-b)+S;l.endTangent=[p[0]-R,p[1]-F]}t.push(l)}return t}function JI(e,t){for(var n=[],r=[],o=[],i=0;i<e.length;i++){var a=e[i],c=a.currentPoint,u=a.params,s=a.prePoint,l=void 0;switch(a.command){case\"Q\":l=ZT.box(s[0],s[1],u[1],u[2],u[3],u[4]);break;case\"C\":l=nI.box(s[0],s[1],u[1],u[2],u[3],u[4],u[5],u[6]);break;case\"A\":var f=a.arcParams;l=pI.box(f.cx,f.cy,f.rx,f.ry,f.xRotation,f.startAngle,f.endAngle);break;default:n.push(c[0]),r.push(c[1]);break}l&&(a.box=l,n.push(l.x,l.x+l.width),r.push(l.y,l.y+l.height)),t&&(\"L\"===a.command||\"M\"===a.command)&&a.prePoint&&a.nextPoint&&o.push(a)}n=n.filter((function(e){return!Number.isNaN(e)&&e!==1/0&&e!==-1/0})),r=r.filter((function(e){return!Number.isNaN(e)&&e!==1/0&&e!==-1/0}));var d=Object(GS[\"min\"])(n),h=Object(GS[\"min\"])(r),p=Object(GS[\"max\"])(n),v=Object(GS[\"max\"])(r);if(0===o.length)return{x:d,y:h,width:p-d,height:v-h};for(i=0;i<o.length;i++){a=o[i],c=a.currentPoint;var g=void 0;c[0]===d?(g=eP(a,t),d-=g.xExtra):c[0]===p&&(g=eP(a,t),p+=g.xExtra),c[1]===h?(g=eP(a,t),h-=g.yExtra):c[1]===v&&(g=eP(a,t),v+=g.yExtra)}return{x:d,y:h,width:p-d,height:v-h}}function eP(e,t){var n=e.prePoint,r=e.currentPoint,o=e.nextPoint,i=Math.pow(r[0]-n[0],2)+Math.pow(r[1]-n[1],2),a=Math.pow(r[0]-o[0],2)+Math.pow(r[1]-o[1],2),c=Math.pow(n[0]-o[0],2)+Math.pow(n[1]-o[1],2),u=Math.acos((i+a-c)/(2*Math.sqrt(i)*Math.sqrt(a)));if(!u||0===Math.sin(u)||Object(GS[\"isNumberEqual\"])(u,0))return{xExtra:0,yExtra:0};var s=Math.abs(Math.atan2(o[1]-r[1],o[0]-r[0])),l=Math.abs(Math.atan2(o[0]-r[0],o[1]-r[1]));s=s>Math.PI/2?Math.PI-s:s,l=l>Math.PI/2?Math.PI-l:l;var f={xExtra:Math.cos(u/2-s)*(t/2*(1/Math.sin(u/2)))-t/2||0,yExtra:Math.cos(l-u/2)*(t/2*(1/Math.sin(u/2)))-t/2||0};return f}var tP=function(e){var t=e.attr(),n=t.path,r=t.stroke,o=r?t.lineWidth:0,i=e.get(\"segments\")||QI(n),a=JI(i,o),c=a.x,u=a.y,s=a.width,l=a.height,f={minX:c,minY:u,maxX:c+s,maxY:u+l};return f=OI(e,f),{x:f.minX,y:f.minY,width:f.maxX-f.minX,height:f.maxY-f.minY}},nP=function(e){var t=e.attr(),n=t.x1,r=t.y1,o=t.x2,i=t.y2,a=Math.min(n,o),c=Math.max(n,o),u=Math.min(r,i),s=Math.max(r,i),l={minX:a,maxX:c,minY:u,maxY:s};return l=OI(e,l),{x:l.minX,y:l.minY,width:l.maxX-l.minX,height:l.maxY-l.minY}},rP=function(e){var t=e.attr(),n=t.x,r=t.y,o=t.rx,i=t.ry;return{x:n-o,y:r-i,width:2*o,height:2*i}};MT(\"rect\",NT),MT(\"image\",NT),MT(\"circle\",TT),MT(\"marker\",TT),MT(\"polyline\",EI),MT(\"polygon\",SI),MT(\"text\",NI),MT(\"path\",tP),MT(\"line\",nP),MT(\"ellipse\",rP);var oP=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.item=n.item,r.canvasX=n.canvasX,r.canvasY=n.canvasY,r.wheelDelta=n.wheelDelta,r.detail=n.detail,r}return Object(US[\"__extends\"])(t,e),t}(dM),iP=function(e){return\"\".concat(e,\"-\").concat(Math.random()).concat(Date.now())},aP=function(e){if(Object(GS[\"isArray\"])(e))switch(e.length){case 4:return e;case 3:return e.push(e[1]),e;case 2:return e.concat(e);case 1:return[e[0],e[0],e[0],e[0]];default:return[0,0,0,0]}if(Object(GS[\"isNumber\"])(e))return[e,e,e,e];if(Object(GS[\"isString\"])(e)){var t=parseInt(e,10);return[t,t,t,t]}return[0,0,0,0]},cP=function(e){var t=new oP(e.type,e);return t.clientX=e.clientX,t.clientY=e.clientY,t.x=e.x,t.y=e.y,t.target=e.target,t.currentTarget=e.currentTarget,t.bubbles=!0,t.item=e.item,t},uP=function(e){if(!e)return!1;for(var t=9,n=[1,0,0,0,1,0,0,0,1],r=0;r<t;r++)if(e[r]!==n[r])return!0;return!1},sP=function(e){return Number.isNaN(Number(e))},lP=function(e){for(var t=1/0,n=-1/0,r=1/0,o=-1/0,i=0;i<e.length;i++){var a=e[i],c=a.getBBox(),u=c.minX,s=c.minY,l=c.maxX,f=c.maxY;u<t&&(t=u),s<r&&(r=s),l>n&&(n=l),f>o&&(o=f)}var d=Math.floor(t),h=Math.floor(r),p=Math.ceil(n)-Math.floor(t),v=Math.ceil(o)-Math.floor(r);return{x:d,y:h,width:p,height:v,minX:t,minY:r,maxX:n,maxY:o}},fP=function(e,t,n,r,o){void 0===t&&(t=15),void 0===n&&(n=\"quadratic\"),void 0===r&&(r=void 0),void 0===o&&(o=void 0);for(var i=e.length,a=2*t,c=[\"top\",\"top-right\",\"right\",\"bottom-right\",\"bottom\",\"bottom-left\",\"left\",\"top-left\"],u={},s=[],l={},f=0;f<i;f++){var d=e[f],h=d.source,p=d.target,v=\"\".concat(h,\"-\").concat(p);if(!s[f]){u[v]||(u[v]=[]),s[f]=!0,u[v].push(d);for(var g=0;g<i;g++)if(f!==g){var m=e[g],y=m.source,b=m.target;s[g]||(h===b&&p===y?(u[v].push(m),s[g]=!0,l[\"\".concat(y,\"|\").concat(b,\"|\").concat(u[v].length-1)]=!0):h===y&&p===b&&(u[v].push(m),s[g]=!0))}}}for(var x in u)for(var w=u[x],O=w.length,E=0;E<O;E++){var S=w[E];if(S.source!==S.target)if(1===O&&r&&S.source!==S.target)S.type=r;else{S.type=n;var j=(E%2===0?1:-1)*(l[\"\".concat(S.source,\"|\").concat(S.target,\"|\").concat(E)]?-1:1);S.curveOffset=O%2===1?j*Math.ceil(E/2)*a:j*(Math.floor(E/2)*a+t)}else o&&(S.type=o),S.loopCfg={position:c[E%8],dist:20*Math.floor(E/8)+50}}return e},dP=r(\"FPf+\"),hP=function(){function e(e){this.destroyed=!1,this.graph=e,this.destroyed=!1}return e.prototype.getViewCenter=function(){var e=this.getFormatPadding(),t=this.graph,n=this.graph.get(\"width\"),r=t.get(\"height\");return{x:(n-e[1]-e[3])/2+e[3],y:(r-e[0]-e[2])/2+e[0]}},e.prototype.fitCenter=function(e,t){var n,r=this.graph,o=r.get(\"group\"),i=r.getNodes();if(i.length>r.get(\"optimizeThreshold\")){var a=1/0,c=1/0,u=-1/0,s=-1/0;i.forEach((function(e){var t=e.getModel(),n=t.x,r=t.y;a>n&&(a=n),c>r&&(c=r),u<n&&(u=n),s<r&&(s=r)}));var l=o.getMatrix()||[1,0,0,0,1,0,0,0,1],f=f_({x:a,y:c},l),d=f.x,h=f.y,p=f_({x:u,y:s},l),v=p.x,g=p.y;n={minX:d,maxX:v,minY:h,maxY:g,width:v-d,height:g-h,x:d,y:h}}else n=o.getCanvasBBox();if(0!==n.width&&0!==n.height){var m=this.getViewCenter(),y={x:n.x+n.width/2,y:n.y+n.height/2};r.translate(m.x-y.x,m.y-y.y,e,t)}},e.prototype.animatedFitView=function(e,t,n,r,o,i,a,c){var u=this.graph;n=n||{duration:500,easing:\"easeCubic\"};var s=[1,0,0,0,1,0,0,0,1],l=r.x+o.x-i.x-r.minX,f=r.y+o.y-i.y-r.minY;if(!sP(l)&&!sP(f)){var d=Object(dP[\"transform\"])(s,[[\"t\",l,f]]);if(c){var h=u.get(\"minZoom\"),p=u.get(\"maxZoom\"),v=a;h&&a<h?(v=h,console.warn(\"fitview failed, ratio out of range, ratio: %f\",a,\"graph minzoom has been used instead\")):p&&a>p&&(v=p,console.warn(\"fitview failed, ratio out of range, ratio: %f\",a,\"graph maxzoom has been used instead\"));var g=Object(dP[\"transform\"])(d,[[\"t\",-o.x,-o.y],[\"s\",v,v],[\"t\",o.x,o.y]]),m=EC({animateCfg:n,callback:function(){e.setMatrix(g),u.emit(\"viewportchange\",{action:\"translate\",matrix:d}),u.emit(\"viewportchange\",{action:\"zoom\",matrix:g})}});e.stopAnimate(),e.setMatrix(t),e.animate((function(e){return{matrix:z_(t,g,e)}}),m)}else{var y=EC({animateCfg:n,callback:function(){u.emit(\"viewportchange\",{action:\"translate\",matrix:d})}});e.animate((function(e){return{matrix:z_(t,d,e)}}),y)}}},e.prototype.fitView=function(e,t){var n,r=this.graph,o=this.getFormatPadding(),i=r.get(\"width\"),a=r.get(\"height\"),c=r.get(\"group\"),u=c.getMatrix()||[1,0,0,0,1,0,0,0,1];c.resetMatrix();var s=r.getNodes();if(s.length>r.get(\"optimizeThreshold\")){var l=1/0,f=1/0,d=-1/0,h=-1/0;s.forEach((function(e){var t=e.getModel(),n=t.x,r=t.y;l>n&&(l=n),f>r&&(f=r),d<n&&(d=n),h<r&&(h=r)})),n={minX:l,maxX:d,minY:f,maxY:h,width:d-l,height:h-f,x:l,y:f}}else n=c.getCanvasBBox();if(0!==n.width&&0!==n.height){var p=this.getViewCenter(),v={x:n.x+n.width/2,y:n.y+n.height/2},g=(i-o[1]-o[3])/n.width,m=(a-o[0]-o[2])/n.height,y=g;if(g>m&&(y=m),e)this.animatedFitView(c,u,t,n,p,v,y,!0);else{var b=p.x-v.x,x=p.y-v.y;if(sP(b)||sP(x))return;r.translate(b,x),r.zoom(y,p)||console.warn(\"zoom failed, ratio out of range, ratio: %f\",y)}}},e.prototype.fitViewByRules=function(e,t,n){var r,o=e.onlyOutOfViewPort,i=void 0!==o&&o,a=e.direction,c=void 0===a?\"both\":a,u=e.ratioRule,s=void 0===u?\"min\":u,l=this.graph,f=this.getFormatPadding(),d=l.get(\"width\"),h=l.get(\"height\"),p=l.get(\"group\"),v=p.getMatrix()||[1,0,0,0,1,0,0,0,1];p.resetMatrix();var g=l.getNodes();if(g.length>l.get(\"optimizeThreshold\")){var m=1/0,y=1/0,b=-1/0,x=-1/0;g.forEach((function(e){var t=e.getModel(),n=t.x,r=t.y;m>n&&(m=n),y>r&&(y=r),b<n&&(b=n),x<r&&(x=r)})),r={minX:m,maxX:b,minY:y,maxY:x,width:b-m,height:x-y,x:m,y:y}}else r=p.getCanvasBBox();if(0!==r.width&&0!==r.height){var w,O=this.getViewCenter(),E={x:r.x+r.width/2,y:r.y+r.height/2},S=(d-f[1]-f[3])/r.width,j=(h-f[0]-f[2])/r.height;if(w=\"x\"===c?S:\"y\"===c?j:\"max\"===s?Math.max(S,j):Math.min(S,j),i&&(w=w<1?w:1),t)this.animatedFitView(p,v,n,r,O,E,w,!0);else{var k=l.getZoom(),_=k*w,C=l.get(\"minZoom\");_<C&&(_=C,console.warn(\"fitview failed, ratio out of range, ratio: %f\",w,\"graph minzoom has been used instead\")),l.translate(O.x-E.x,O.y-E.y),l.zoomTo(_,O)}}},e.prototype.getFormatPadding=function(){var e=this.graph.get(\"fitViewPadding\");return aP(e)},e.prototype.focusPoint=function(e,t,n){var r=this,o=this.getViewCenter(),i=this.getPointByCanvas(o.x,o.y),a=this.graph.get(\"group\").getMatrix();if(a||(a=[1,0,0,0,1,0,0,0,1]),t){var c=(i.x-e.x)*a[0],u=(i.y-e.y)*a[4],s=0,l=0,f=0,d=0;this.graph.get(\"canvas\").animate((function(e){f=c*e,d=u*e,r.graph.translate(f-s,d-l),s=f,l=d}),Object(US[\"__assign\"])({},n))}else this.graph.translate((i.x-e.x)*a[0],(i.y-e.y)*a[4])},e.prototype.getPointByCanvas=function(e,t){var n=this.graph.get(\"group\").getMatrix();n||(n=[1,0,0,0,1,0,0,0,1]);var r=d_({x:e,y:t},n);return r},e.prototype.getPointByClient=function(e,t){var n=this.graph.get(\"canvas\"),r=n.getPointByClient(e,t);return this.getPointByCanvas(r.x,r.y)},e.prototype.getClientByPoint=function(e,t){var n=this.graph.get(\"canvas\"),r=this.getCanvasByPoint(e,t),o=n.getClientByPoint(r.x,r.y);return{x:o.x,y:o.y}},e.prototype.getCanvasByPoint=function(e,t){var n=this.graph.get(\"group\").getMatrix();return n||(n=[1,0,0,0,1,0,0,0,1]),f_({x:e,y:t},n)},e.prototype.focus=function(e,t,n){if(Object(GS[\"isString\"])(e)&&(e=this.graph.findById(e)),e){var r=0,o=0;if(e.getType&&\"edge\"===e.getType()){var i=e.getSource().get(\"group\").getMatrix(),a=e.getTarget().get(\"group\").getMatrix();i&&a?(r=(i[6]+a[6])/2,o=(i[7]+a[7])/2):(i||a)&&(r=i?i[6]:a[6],o=i?i[7]:a[7])}else{var c=e.get(\"group\"),u=c.getMatrix();u||(u=[1,0,0,0,1,0,0,0,1]),r=u[6],o=u[7]}this.focusPoint({x:r,y:o},t,n)}},e.prototype.focusItems=function(e,t,n,r){if(e.length){var o=this.graph,i=this.getFormatPadding(),a=o.get(\"width\"),c=o.get(\"height\"),u=o.get(\"group\"),s=u.getMatrix()||[1,0,0,0,1,0,0,0,1];u.resetMatrix();for(var l={x:0,y:0,minX:Number.MAX_SAFE_INTEGER,minY:Number.MAX_SAFE_INTEGER,maxX:Number.MIN_SAFE_INTEGER,maxY:Number.MIN_SAFE_INTEGER,width:0,height:0},f=0,d=e;f<d.length;f++){var h=d[f],p=h.getBBox();p.minX<l.minX&&(l.minX=p.minX),p.minY<l.minY&&(l.minY=p.minY),p.maxX>l.maxX&&(l.maxX=p.maxX),p.maxY>l.maxY&&(l.maxY=p.maxY)}if(l.x=l.minX,l.y=l.minY,l.width=l.maxX-l.minX,l.height=l.maxY-l.minY,0!==l.width&&0!==l.height){var v=this.getViewCenter(),g={x:l.x+l.width/2,y:l.y+l.height/2},m=(a-i[1]-i[3])/l.width,y=(c-i[0]-i[2])/l.height,b=m;m>y&&(b=y),n?this.animatedFitView(u,s,r,l,v,g,b,t):(o.translate(v.x-g.x,v.y-g.y),t&&!o.zoom(b,v)&&console.warn(\"zoom failed, ratio out of range, ratio: %f\",b))}}},e.prototype.changeSize=function(e,t){var n=this.graph;if(!Object(GS[\"isNumber\"])(e)||!Object(GS[\"isNumber\"])(t))throw Error(\"invalid canvas width & height, please make sure width & height type is number\");n.set({width:e,height:t});var r=n.get(\"canvas\");r.changeSize(e,t);var o=n.get(\"plugins\");o.forEach((function(e){e.get(\"gridContainer\")&&e.positionInit()}))},e.prototype.destroy=function(){this.graph=null,this.destroyed=!1},e}(),pP=hP;function vP(e){return vP=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},vP(e)}function gP(e){if(\"string\"!==typeof e)return e;var t=function(e){if(\"string\"!==typeof e)return e;try{return JSON.parse(e.trim())}catch(t){return e.trim()}},n=t(e);if(\"string\"!==typeof n)return n;var r=function(e){return e[e.length-1]},o=e.trim(),i=[],a=[],c=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.some((function(e){return r(a)===e}))},u=function(){return r(i)},s=null,l=0,f=\"\";while(l<o.length){var d=o[l],h=c('\"',\"'\");if(h||d.trim()){var p=\"\\\\\"===o[l-1],v=c(\"}\"),g=c(\"]\"),m=c(\",\"),y=u();if(h)if(r(a)!==d||p)f+=d;else{a.pop();var b=t(f);y.push(b),s=b,f=\"\"}else if(g&&\",\"===d)f&&(y.push(t(f)),f=\"\");else if(v&&\":\"===d)a.push(\",\"),f&&(y.push(f),f=\"\");else if(m&&\",\"===d)f&&(y.push(t(f)),f=\"\"),a.pop();else if(\"}\"===d&&(v||m)){f&&(y.push(t(f)),f=\"\"),m&&a.pop();for(var x={},w=1;w<y.length;w+=2)x[y[w-1]]=y[w];i.pop(),i.length&&r(i).push(x),a.pop(),s=x}else\"]\"===d&&g?(f&&(y.push(t(f)),f=\"\"),i.pop(),i.length&&r(i).push(y),a.pop(),s=y):\"{\"===d?(i.push([]),a.push(\"}\")):\"[\"===d?(i.push([]),a.push(\"]\")):'\"'===d?a.push('\"'):\"'\"===d?a.push(\"'\"):f+=d;l+=1}else l+=1}return s||f}var mP=function(e){return e.split(\"-\").reduce((function(e,t){return e+t.charAt(0).toUpperCase()+t.slice(1)}))},yP=function(e){return function(t){var n=e.length,r=[],o=0,i=\"\";while(o<n)if(\"{\"===e[o]&&\"{\"===e[o+1])r.push(i),i=\"\",o+=2;else if(\"}\"===e[o]&&\"}\"===e[o+1]){if(r.length){var a=r.pop();i=Object(GS[\"get\"])(t,i,a.endsWith(\"=\")?'\"{'.concat(i,'}\"'):i),r.push(a+i)}o+=2,i=\"\"}else i+=e[o],o+=1;return r.push(i),r.map((function(e,t){return r[t-1]&&r[t-1].endsWith(\"=\")?'\"{'.concat(e,'}\"'):e})).join(\"\")}};function bP(e,t){var n={},r=e.getAttributeNames&&e.getAttributeNames()||[],o=e.children&&Array.from(e.children).map((function(e){return bP(e,t)})),i={},a=e.tagName?e.tagName.toLowerCase():\"group\";return\"text\"===a&&(n.text=e.innerText),i.type=a,\"img\"===a&&(i.type=\"image\"),Array.from(r).forEach((function(t){var r=mP(t),o=e.getAttribute(t);try{if(\"style\"===r||\"attrs\"===r){var a=gP(o);n=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},n),a)}else i[r]=gP(o)}catch(c){if(\"style\"===r)throw c;i[r]=o}})),i.attrs=n,t&&t.style&&i.name&&\"object\"===vP(t.style[i.name])&&(i.attrs=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},i.attrs),t.style[i.name])),t&&t.style&&i.keyshape&&(i.attrs=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},i.attrs),t.style)),o.length&&(i.children=o),i}function xP(e,t,n){var r,o,i=e.attrs,a=void 0===i?{}:i,c={x:t.x||0,y:t.y||0,width:n.width||0,height:n.height||0};switch(e.type){case\"maker\":case\"circle\":a.r&&(o=2*a.r,r=2*a.r);break;case\"text\":a.text&&(o=gC(a.text,a.fontSize||12)[0],r=16,c.y+=r,c.height=r,c.width=o,e.attrs=Object(US[\"__assign\"])({fontSize:12,fill:\"#000\"},a));break;default:a.width&&(o=a.width),a.height&&(r=a.height)}return r>=0&&(c.height=r),o>=0&&(c.width=o),a.marginTop&&(c.y+=a.marginTop),a.marginLeft&&(c.x+=a.marginLeft),c}function wP(e,t){var n;void 0===t&&(t={x:0,y:0});var r=Object(US[\"__assign\"])({x:0,y:0,width:0,height:0},t);if(null===(n=e.children)||void 0===n?void 0:n.length){var o=e.attrs,i=void 0===o?{}:o,a=i.marginTop,c=Object(US[\"__assign\"])({},t);a&&(c.y+=a);for(var u=0;u<e.children.length;u++){e.children[u].attrs.key=\"\".concat(i.key||\"root\",\" -\").concat(u,\" \");var s=wP(e.children[u],c);if(s.bbox){var l=s.bbox;\"inline\"===s.attrs.next?c.x+=s.bbox.width:c.y+=s.bbox.height,l.width+l.x>r.width&&(r.width=l.width+l.x),l.height+l.y>r.height&&(r.height=l.height+l.y)}}}return e.bbox=xP(e,t,r),e.attrs=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},e.attrs),e.bbox),e}function OP(e,t){var n,r,o,i,a=(e||{}).type,c=((null===t||void 0===t?void 0:t.attrs)||{}).key;if(c&&e&&(e.attrs.key=c),!e&&t)return{action:\"delete\",val:t,type:a,key:c};if(e&&!t)return{action:\"add\",val:e,type:a};if(!e&&!t)return{action:\"same\",type:a};var u=[];if((null===(n=e.children)||void 0===n?void 0:n.length)>0||(null===(r=t.children)||void 0===r?void 0:r.length)>0)for(var s=Math.max(null===(o=e.children)||void 0===o?void 0:o.length,null===(i=t.children)||void 0===i?void 0:i.length),l=t.children||[],f=e.children||[],d=0;d<s;d+=1)u.push(OP(f[d],l[d]));var h=Object.keys(t.attrs),p=Object.keys(e.attrs);return t.type!==e.type?{action:\"restructure\",nowTarget:e,formerTarget:t,key:c,children:u}:h.filter((function(e){return\"children\"!==e})).some((function(n){return e.attrs[n]!==t.attrs[n]||!p.includes(n)}))?{action:\"change\",val:e,children:u,type:a,key:c}:{action:\"same\",children:u,type:a,key:c}}function EP(e){var t={},n=function(t){var n=\"function\"===typeof e?e(t):e,r=yP(n)(t),o=document.createElement(\"div\");o.innerHTML=r;var i=o.children[0],a=wP(bP(i,t));return o.remove(),a};return{draw:function(e,r){var o=n(e),i=r,a=function e(t){var n=t.attrs,o=void 0===n?{}:n,a=t.bbox,c=t.type,u=t.children,s=Object(US[\"__rest\"])(t,[\"attrs\",\"bbox\",\"type\",\"children\"]);if(\"group\"!==t.type){var l=r.addShape(t.type,Object(US[\"__assign\"])({attrs:o,origin:{bbox:a,type:c,children:u}},s));t.keyshape&&(i=l)}t.children&&t.children.forEach((function(t){return e(t)}))};return a(o),t[e.id]=[o],i},update:function(e,r){t[e.id]||(t[e.id]=[]);var o=r.getContainer(),i=o.get(\"children\"),a=n(e),c=t[e.id].pop(),u=OP(a,c),s=function e(t){var n;\"group\"!==t.type&&o.addShape(t.type,{attrs:t.attrs}),(null===(n=t.children)||void 0===n?void 0:n.length)&&t.children.map((function(t){return e(t)}))},l=function e(t){var n,r=i.find((function(e){return e.attrs.key===t.attrs.key}));r&&o.removeChild(r),(null===(n=t.children)||void 0===n?void 0:n.length)&&t.children.map((function(t){return e(t)}))},f=function e(t){var n=t.key;if(\"group\"!==t.type){var o=i.find((function(e){return e.attrs.key===n}));switch(t.action){case\"change\":if(o){var a=t.val.keyshape?r.getOriginStyle():{};o.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},a),t.val.attrs))}break;case\"add\":s(t.val);break;case\"delete\":l(t.val);break;case\"restructure\":l(t.formerTarget),s(t.nowTarget);break;default:break}}t.children&&t.children.forEach((function(t){return e(t)}))};f(u),t[e.id].push(a)},getAnchorPoints:function(){return[[0,.5],[1,.5],[.5,1],[.5,0]]}}}var SP={};function jP(e){return SP[e]||(SP[e]=Object(GS[\"upperFirst\"])(e)),SP[e]}var kP={defaultShapeType:\"defaultType\",className:null,getShape:function(e){var t=this,n=t[e]||t[t.defaultShapeType]||t[\"simple-circle\"];return n},draw:function(e,t,n){var r=this.getShape(e);n[\"shapeMap\"]={};var o=r.draw(t,n);return r.afterDraw&&r.afterDraw(t,n,o),o},baseUpdate:function(e,t,n,r){var o,i,a=this.getShape(e);a.update&&(a.mergeStyle=null===(o=a.getOptions)||void 0===o?void 0:o.call(a,t,r),null===(i=a.update)||void 0===i||i.call(a,t,n,r)),a.afterUpdate&&a.afterUpdate(t,n)},setState:function(e,t,n,r){var o=this.getShape(e);o.setState(t,n,r)},shouldUpdate:function(e){var t=this.getShape(e);return!!t.update},getControlPoints:function(e,t){var n=this.getShape(e);return n.getControlPoints(t)},getAnchorPoints:function(e,t){var n=this.getShape(e);return n.getAnchorPoints(t)}},_P={options:{},draw:function(e,t){return this.drawShape(e,t)},drawShape:function(){},afterDraw:function(){},afterUpdate:function(){},setState:function(){},getControlPoints:function(e){return e.controlPoints},getAnchorPoints:function(e){var t=this.options.anchorPoints,n=e.anchorPoints||t;return n}},CP=function(){function e(){}return e.registerFactory=function(t,n){var r=jP(t),o=kP,i=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},o),n);return e[r]=i,i.className=r,i},e.getFactory=function(t){var n=jP(t);return e[n]},e.registerNode=function(t,n,r){var o,i=e.Node;if(\"string\"===typeof n||\"function\"===typeof n){var a=EP(n);o=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},i.getShape(\"single-node\")),a)}else if(n.jsx){var c=n.jsx;a=EP(c);o=Object(US[\"__assign\"])(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},i.getShape(\"single-node\")),a),n)}else{i.getShape(r);var u=r?i.getShape(r):_P;o=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},u),n)}return o.type=t,o.itemType=\"node\",i[t]=o,o},e.registerEdge=function(t,n,r){var o=e.Edge,i=r?o.getShape(r):_P,a=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},i),n);return a.type=t,a.itemType=\"edge\",o[t]=a,a},e.registerCombo=function(t,n,r){var o=e.Combo,i=r?o.getShape(r):_P,a=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},i),n);return a.type=t,a.itemType=\"combo\",o[t]=a,a},e}(),MP=CP;CP.registerFactory(\"node\",{defaultShapeType:\"circle\"}),CP.registerFactory(\"edge\",{defaultShapeType:\"line\"}),CP.registerFactory(\"combo\",{defaultShapeType:\"circle\"});var AP=\"bboxCache\",NP=\"bboxCanvasCache\",TP=function(){function e(e){this._cfg={},this.destroyed=!1,this.optimize=!1;var t={id:void 0,type:\"item\",model:{},group:void 0,animate:!1,visible:!0,locked:!1,event:!0,keyShape:void 0,states:[]};this._cfg=Object.assign(t,this.getDefaultCfg(),e);var n=this.get(\"model\"),r=n.id,o=this.get(\"type\");\"undefined\"===typeof r?r=iP(o):\"string\"!==typeof r&&(r=String(r)),this.get(\"model\").id=r,this.set(\"id\",r);var i=e.group;i&&(i.set(\"item\",this),i.set(\"id\",r)),this.init(),this.draw();var a=n.shape||n.type||(\"edge\"===o?\"line\":\"circle\"),c=this.get(\"shapeFactory\");if(c&&c[a]){var u=c[a].options;if(u&&u.stateStyles){var s=this.get(\"styles\")||n.stateStyles;s=Object(GS[\"deepMix\"])({},u.stateStyles,s),this.set(\"styles\",s)}}}return e.prototype.calculateBBox=function(){var e=this.get(\"keyShape\"),t=this.get(\"group\"),n=uC(e,t);return n.x=n.minX,n.y=n.minY,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,n},e.prototype.calculateCanvasBBox=function(){var e=this.get(\"keyShape\"),t=this.get(\"group\"),n=uC(e,t);return n.x=n.minX,n.y=n.minY,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,n},e.prototype.drawInner=function(){var e=this,t=e.get(\"shapeFactory\"),n=e.get(\"group\"),r=e.get(\"model\");n.clear();var o=r.visible;if(void 0===o||o||e.changeVisibility(o),t){e.updatePosition(r);var i=e.getShapeCfg(r),a=i.type,c=t.draw(a,i,n);c&&(e.set(\"keyShape\",c),c.set(\"isKeyShape\",!0),c.set(\"draggable\",!0)),this.setOriginStyle(),this.set(\"currentShape\",a),this.restoreStates(t,a)}},e.prototype.setOriginStyle=function(){var e=this.get(\"group\"),t=e.get(\"children\"),n=this.getKeyShape(),r=this,o=n.get(\"name\");if(this.get(\"originStyle\")){var i=this.get(\"originStyle\");o&&!i[o]&&(i[o]={});var a=this.getCurrentStatesStyle(),c=function(e){var n=t[e],c=n.get(\"name\"),u=n.attr();if(c&&c!==o){var s=a[c];i[c]||(i[c]={}),s?Object.keys(u).forEach((function(e){var t=u[e];t!==s[e]&&(i[c][e]=t)})):i[c]=\"image\"!==n.get(\"type\")?Object(GS[\"clone\"])(u):r.getShapeStyleByName(c)}else{var l=n.attr(),f={};Object.keys(a).forEach((function(e){var t=a[e];e!==o&&Object(GS[\"isPlainObject\"])(t)||(f[e]=t)})),Object.keys(l).forEach((function(e){var t=l[e];f[e]!==t&&(o?i[o][e]=t:i[e]=t)}))}};for(s=0;s<t.length;s++)c(s);delete i.path,delete i.matrix,delete i.x,delete i.y,i[o]&&(delete i[o].x,delete i[o].y,delete i[o].matrix,delete i[o].path),r.set(\"originStyle\",i)}else{for(var u={},s=0;s<t.length;s++){var l=t[s],f=l.get(\"type\"),d=l.get(\"name\");if(d&&d!==o)u[d]=\"image\"!==f?Object(GS[\"clone\"])(l.attr()):r.getShapeStyleByName(d),\"text\"===f&&u[d]&&(delete u[d].x,delete u[d].y,delete u[d].matrix);else{var h=r.getShapeStyleByName();if(delete h.path,delete h.matrix,o)if(d)u[o]=h;else{var p=iP(\"shape\");l.set(\"name\",p),e[\"shapeMap\"][p]=l,u[p]=\"image\"!==f?Object(GS[\"clone\"])(l.attr()):r.getShapeStyleByName(d)}else Object.assign(u,h)}}r.set(\"originStyle\",u)}},e.prototype.restoreStates=function(e,t){var n=this,r=n.get(\"states\");Object(GS[\"each\"])(r,(function(r){e.setState(t,r,!0,n)}))},e.prototype.init=function(){var e=MP.getFactory(this.get(\"type\"));this.set(\"shapeFactory\",e)},e.prototype.get=function(e){return this._cfg[e]},e.prototype.set=function(e,t){Object(GS[\"isPlainObject\"])(e)?this._cfg=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},this._cfg),e):this._cfg[e]=t},e.prototype.getDefaultCfg=function(){return{}},e.prototype.clearCache=function(){this.set(AP,null),this.set(NP,null)},e.prototype.beforeDraw=function(){},e.prototype.afterDraw=function(){},e.prototype.afterUpdate=function(){},e.prototype.draw=function(){this.beforeDraw(),this.drawInner(),this.afterDraw()},e.prototype.getShapeStyleByName=function(e){var t,n=this.get(\"group\");if(t=e?n[\"shapeMap\"][e]:this.getKeyShape(),t){var r={};return Object(GS[\"each\"])(t.attr(),(function(e,t){(\"img\"!==t||Object(GS[\"isString\"])(e))&&(r[t]=e)})),r}return{}},e.prototype.getShapeCfg=function(e,t){var n=this.get(\"styles\");if(n){var r=e;return r.style=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},n),e.style),r}return e},e.prototype.getStateStyle=function(e){var t=this.get(\"styles\"),n=t&&t[e];return n},e.prototype.getOriginStyle=function(){return this.get(\"originStyle\")},e.prototype.getCurrentStatesStyle=function(){var e=this,t={},n=e.getStates();return n&&n.length?(Object(GS[\"each\"])(e.getStates(),(function(n){t=Object.assign(t,e.getStateStyle(n))})),t):this.get(\"originStyle\")},e.prototype.setState=function(e,t){var n=this.get(\"states\"),r=this.get(\"shapeFactory\"),o=e,i=e;Object(GS[\"isString\"])(t)&&(o=\"\".concat(e,\":\").concat(t),i=\"\".concat(e,\":\"));var a=n;if(Object(GS[\"isBoolean\"])(t)){var c=n.indexOf(i);if(t){if(c>-1)return;n.push(o)}else c>-1&&n.splice(c,1)}else if(Object(GS[\"isString\"])(t)){var u=n.filter((function(e){return e.includes(i)}));u.length>0&&this.clearStates(u),a=a.filter((function(e){return!e.includes(i)})),a.push(o),this.set(\"states\",a)}if(r){var s=this.get(\"model\"),l=s.type;r.setState(l,e,t,this)}},e.prototype.clearStates=function(e){var t=this,n=t.getStates(),r=t.get(\"shapeFactory\"),o=t.get(\"model\"),i=o.type;e||(e=n),Object(GS[\"isString\"])(e)&&(e=[e]);var a=n.filter((function(t){return-1===e.indexOf(t)}));t.set(\"states\",a),e.forEach((function(e){r.setState(i,e,!1,t)}))},e.prototype.setOptimize=function(e){this.optimize=e},e.prototype.getContainer=function(){return this.get(\"group\")},e.prototype.getKeyShape=function(){return this.get(\"keyShape\")},e.prototype.getModel=function(){return this.get(\"model\")},e.prototype.getType=function(){return this.get(\"type\")},e.prototype.getID=function(){return this.get(\"id\")},e.prototype.isItem=function(){return!0},e.prototype.getStates=function(){return this.get(\"states\")},e.prototype.hasState=function(e){var t=this.getStates();return t.indexOf(e)>=0},e.prototype.refresh=function(e){var t=this.get(\"model\");this.updatePosition(t),this.updateShape(e),this.afterUpdate(),this.clearCache()},e.prototype.getUpdateType=function(e){},e.prototype.update=function(e,t){void 0===t&&(t=void 0);var n=this.get(\"model\");if(\"move\"===t)this.updatePosition(e);else{var r=n.visible,o=e.visible;r!==o&&void 0!==o&&this.changeVisibility(o);var i={x:n.x,y:n.y};e.x=isNaN(+e.x)?n.x:+e.x,e.y=isNaN(+e.y)?n.y:+e.y;var a=this.get(\"styles\");if(e.stateStyles){var c=e.stateStyles;Object(GS[\"mix\"])(a,c),delete e.stateStyles}Object.assign(n,e),i.x===e.x&&i.y===e.y||this.updatePosition(e),this.updateShape(t)}this.afterUpdate(),this.clearCache()},e.prototype.updateShape=function(e){var t=this.get(\"shapeFactory\"),n=this.get(\"model\"),r=n.type;if(t.shouldUpdate(r)&&r===this.get(\"currentShape\")){var o=this.getShapeCfg(n,e);t.baseUpdate(r,o,this,e),\"move\"!==e&&this.setOriginStyle()}else this.draw();this.restoreStates(t,r)},e.prototype.updatePosition=function(e){var t=this.get(\"model\"),n=isNaN(+e.x)?+t.x:+e.x,r=isNaN(+e.y)?+t.y:+e.y,o=this.get(\"group\");if(isNaN(n)||isNaN(r))return!1;t.x=n,t.y=r;var i=o.getMatrix();return(!i||i[6]!==n||i[7]!==r)&&(o.resetMatrix(),y_(o,{x:n,y:r}),this.clearCache(),!0)},e.prototype.getBBox=function(){var e=this.get(AP);return e||(e=this.calculateBBox(),this.set(AP,e)),e},e.prototype.getCanvasBBox=function(){var e=this.get(NP);return e||(e=this.calculateCanvasBBox(),this.set(NP,e)),e},e.prototype.toFront=function(){var e=this.get(\"group\");e.toFront()},e.prototype.toBack=function(){var e=this.get(\"group\");e.toBack()},e.prototype.show=function(){this.changeVisibility(!0)},e.prototype.hide=function(){this.changeVisibility(!1)},e.prototype.changeVisibility=function(e){var t=this.get(\"group\");e?t.show():t.hide(),this.set(\"visible\",e)},e.prototype.isVisible=function(){return this.get(\"visible\")},e.prototype.enableCapture=function(e){var t=this.get(\"group\");t&&t.set(\"capture\",e)},e.prototype.destroy=function(){if(!this.destroyed){var e=this.get(\"animate\"),t=this.get(\"group\");e&&t.stopAnimate(),t[\"shapeMap\"]={},this.clearCache(),t.remove(),this._cfg=null,this.destroyed=!0}},e}(),IP=TP,PP={source:\"start\",target:\"end\"},LP=\"Node\",DP=\"Point\",RP=\"Anchor\",FP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultCfg=function(){return{type:\"edge\",sourceNode:null,targetNode:null,startPoint:null,endPoint:null,linkCenter:!1}},t.prototype.setEnd=function(e,t){var n=PP[e]+DP,r=e+LP,o=this.get(r);o&&!o.destroyed&&o.removeEdge(this),Object(GS[\"isPlainObject\"])(t)?(this.set(n,t),this.set(r,null)):t&&(t.addEdge(this),this.set(r,t),this.set(n,null))},t.prototype.getLinkPoint=function(e,t,n){var r=PP[e]+DP,o=e+LP,i=this.get(r);if(!i){var a=this.get(o),c=e+RP,u=this.getPrePoint(e,n),s=t[c];Object(GS[\"isNil\"])(s)||(i=a.getLinkPointByAnchor(s)),i=i||a.getLinkPoint(u),Object(GS[\"isNil\"])(i.index)||this.set(\"\".concat(e,\"AnchorIndex\"),i.index)}return i},t.prototype.getPrePoint=function(e,t){if(t&&t.length){var n=\"source\"===e?0:t.length-1;return t[n]}var r=\"source\"===e?\"target\":\"source\";return this.getEndPoint(r)},t.prototype.getEndPoint=function(e){var t=e+LP,n=PP[e]+DP,r=this.get(t);return r?r.get(\"model\"):this.get(n)},t.prototype.getControlPointsByCenter=function(e){var t=this.getEndPoint(\"source\"),n=this.getEndPoint(\"target\"),r=this.get(\"shapeFactory\"),o=e.type;return r.getControlPoints(o,{startPoint:t,endPoint:n})},t.prototype.getEndCenter=function(e){var t=e+LP,n=PP[e]+DP,r=this.get(t);if(r){var o=r.getBBox();return{x:o.centerX,y:o.centerY}}return this.get(n)},t.prototype.init=function(){e.prototype.init.call(this),this.setSource(this.get(\"source\")),this.setTarget(this.get(\"target\"))},t.prototype.getShapeCfg=function(t,n){var r=this,o=r.get(\"linkCenter\"),i=(null===n||void 0===n?void 0:n.includes(\"move\"))?t:e.prototype.getShapeCfg.call(this,t);if(o)i.startPoint=r.getEndCenter(\"source\"),i.endPoint=r.getEndCenter(\"target\");else{var a=i.controlPoints||r.getControlPointsByCenter(i);i.startPoint=r.getLinkPoint(\"source\",t,a),i.endPoint=r.getLinkPoint(\"target\",t,a)}return i.sourceNode=r.get(\"sourceNode\"),i.targetNode=r.get(\"targetNode\"),i},t.prototype.getModel=function(){var e=this.get(\"model\"),t=this.get(\"source\".concat(LP)),n=this.get(\"target\".concat(LP));return t?delete e[\"source\".concat(LP)]:e.source=this.get(\"start\".concat(DP)),n?delete e[\"target\".concat(LP)]:e.target=this.get(\"end\".concat(DP)),Object(GS[\"isString\"])(e.source)||Object(GS[\"isPlainObject\"])(e.source)||(e.source=e.source.getID()),Object(GS[\"isString\"])(e.target)||Object(GS[\"isPlainObject\"])(e.target)||(e.target=e.target.getID()),e},t.prototype.setSource=function(e){this.setEnd(\"source\",e),this.set(\"source\",e)},t.prototype.setTarget=function(e){this.setEnd(\"target\",e),this.set(\"target\",e)},t.prototype.getSource=function(){return this.get(\"source\")},t.prototype.getTarget=function(){return this.get(\"target\")},t.prototype.updatePosition=function(){return!1},t.prototype.update=function(e,t){void 0===t&&(t=void 0);var n=this.get(\"model\"),r=n.visible,o=e.visible;r!==o&&void 0!==o&&this.changeVisibility(o);var i=this.get(\"styles\");if(e.stateStyles){var a=e.stateStyles;Object(GS[\"mix\"])(i,a),delete e.stateStyles}Object.assign(n,e),this.updateShape(t),this.afterUpdate(),this.clearCache()},t.prototype.destroy=function(){var t=this.get(\"source\".concat(LP)),n=this.get(\"target\".concat(LP));t&&!t.destroyed&&t.removeEdge(this),n&&!n.destroyed&&n.removeEdge(this),e.prototype.destroy.call(this)},t}(IP),BP=FP,zP=\"anchorPointsCache\",UP=\"bboxCache\",GP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.getNearestPoint=function(e,t){for(var n=0,r=e[0],o=p_(e[0],t),i=0;i<e.length;i++){var a=e[i],c=p_(a,t);c<o&&(r=a,o=c,n=i)}return r.anchorIndex=n,r},t.prototype.getDefaultCfg=function(){return{type:\"node\",edges:[]}},t.prototype.getEdges=function(){return this.get(\"edges\")},t.prototype.getInEdges=function(){var e=this;return this.get(\"edges\").filter((function(t){return t.get(\"target\")===e}))},t.prototype.getOutEdges=function(){var e=this;return this.get(\"edges\").filter((function(t){return t.get(\"source\")===e}))},t.prototype.getNeighbors=function(e){var t=this,n=this.get(\"edges\");if(\"target\"===e){var r=function(e){return e.getSource()===t};return n.filter(r).map((function(e){return e.getTarget()}))}if(\"source\"===e){var o=function(e){return e.getTarget()===t};return n.filter(o).map((function(e){return e.getSource()}))}var i=function(e){return e.getSource()===t?e.getTarget():e.getSource()};return n.map(i)},t.prototype.getLinkPointByAnchor=function(e){var t=this.getAnchorPoints();return t[e]},t.prototype.getLinkPoint=function(e){var t,n,r=this.get(\"keyShape\"),o=r.get(\"type\"),i=this.get(\"type\"),a=this.getBBox();\"combo\"===i?(t=a.centerX||(a.maxX+a.minX)/2,n=a.centerY||(a.maxY+a.minY)/2):(t=a.centerX,n=a.centerY);var c,u=this.getAnchorPoints();switch(o){case\"circle\":c=s_({x:t,y:n,r:a.width/2},e);break;case\"ellipse\":c=l_({x:t,y:n,rx:a.width/2,ry:a.height/2},e);break;default:c=u_(a,e)}var s=c;return u.length&&(s||(s=e),s=this.getNearestPoint(u,s)),s||(s={x:t,y:n}),s},t.prototype.getAnchorPoints=function(){var e=this.get(zP);if(!e){e=[];var t=this.get(\"shapeFactory\"),n=this.getBBox(),r=this.get(\"model\"),o=this.getShapeCfg(r),i=r.type,a=t.getAnchorPoints(i,o)||[];Object(GS[\"each\"])(a,(function(t,r){var o={x:n.minX+t[0]*n.width,y:n.minY+t[1]*n.height,anchorIndex:r};e.push(o)})),this.set(zP,e)}return e},t.prototype.addEdge=function(e){this.get(\"edges\").push(e)},t.prototype.lock=function(){this.set(\"locked\",!0)},t.prototype.unlock=function(){this.set(\"locked\",!1)},t.prototype.hasLocked=function(){return this.get(\"locked\")},t.prototype.removeEdge=function(e){var t=this.getEdges(),n=t.indexOf(e);n>-1&&t.splice(n,1)},t.prototype.clearCache=function(){this.set(UP,null),this.set(zP,null)},t.prototype.getUpdateType=function(e){var t,n,r,o,i;if(e){var a=!Object(GS[\"isNil\"])(e.x),c=!Object(GS[\"isNil\"])(e.y),u=Object.keys(e);if(1===u.length&&(a||c)||2===u.length&&a&&c)return\"move\";if(Object(GS[\"isNumber\"])(e.x)||Object(GS[\"isNumber\"])(e.y)||e.type||e.anchorPoints||e.size||(null===e||void 0===e?void 0:e.style)&&((null===(t=null===e||void 0===e?void 0:e.style)||void 0===t?void 0:t.r)||(null===(n=null===e||void 0===e?void 0:e.style)||void 0===n?void 0:n.width)||(null===(r=null===e||void 0===e?void 0:e.style)||void 0===r?void 0:r.height)||(null===(o=null===e||void 0===e?void 0:e.style)||void 0===o?void 0:o.rx)||(null===(i=null===e||void 0===e?void 0:e.style)||void 0===i?void 0:i.ry)))return\"bbox|label\";var s=u.includes(\"label\")||u.includes(\"labelCfg\");return s?\"style|label\":\"style\"}},t.prototype.setState=function(t,n){var r=this;this.optimize?e.prototype.setState.call(this,t,n):this.runWithBBoxAffected((function(){return e.prototype.setState.call(r,t,n)}))},t.prototype.clearStates=function(t){var n=this;this.optimize?e.prototype.clearStates.call(this,t):this.runWithBBoxAffected((function(){return e.prototype.clearStates.call(n,t)}))},t.prototype.runWithBBoxAffected=function(e){var t=[\"r\",\"width\",\"height\",\"rx\",\"ry\",\"lineWidth\"],n=this.getKeyShape().attr(),r={};Object.keys(this.getKeyShape().attr()).forEach((function(e){t.includes(e)&&(r[e]=n[e])})),e();for(var o=this.getKeyShape().attr(),i=0;i<t.length;i++){var a=t[i];if(o[a]!==r[a]){this.clearCache(),this.getEdges().forEach((function(e){return e.refresh()}));break}}},t}(IP),VP=GP,WP=\"bboxCache\",HP=\"bboxCanvasCache\",YP=\"sizeCache\",XP=\"anchorPointsCache\",qP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultCfg=function(){return{type:\"combo\",nodes:[],edges:[],combos:[]}},t.prototype.getShapeCfg=function(e){var t=this.get(\"styles\"),n=this.get(\"bbox\");if(t&&n){var r=e,o={r:Math.hypot(n.height,n.width)/2||tC.defaultCombo.size[0]/2,width:n.width||tC.defaultCombo.size[0],height:n.height||tC.defaultCombo.size[1]};r.style=Object(US[\"__assign\"])(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),e.style),o);var i=e.padding||tC.defaultCombo.padding;return Object(GS[\"isNumber\"])(i)?(o.r+=i,o.width+=2*i,o.height+=2*i):(o.r+=i[0],o.width+=i[1]+i[3]||2*i[1],o.height+=i[0]+i[2]||2*i[0]),this.set(YP,o),r}return e},t.prototype.calculateCanvasBBox=function(){if(!this.destroyed){var e=this.get(\"keyShape\"),t=this.get(\"group\"),n=uC(e,t);n.centerX=(n.minX+n.maxX)/2,n.centerY=(n.minY+n.maxY)/2;var r=this.get(YP),o=this.get(WP)||{},i=o.x,a=o.x;if(r){r.width=Math.max(r.width,n.width),r.height=Math.max(r.height,n.height);var c=e.get(\"type\");\"circle\"===c?(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===i&&n.y===a||this.set(XP,null),n}},t.prototype.getChildren=function(){var e=this;return{nodes:e.getNodes(),combos:e.getCombos()}},t.prototype.getNodes=function(){var e=this;return e.get(\"nodes\")},t.prototype.getCombos=function(){var e=this;return e.get(\"combos\")},t.prototype.addChild=function(e){var t=this,n=e.getType();switch(n){case\"node\":t.addNode(e);break;case\"combo\":t.addCombo(e);break;default:return console.warn(\"Only node or combo items are allowed to be added into a combo\"),!1}return!0},t.prototype.addCombo=function(e){var t=this;return t.get(\"combos\").push(e),!0},t.prototype.addNode=function(e){var t=this;return t.get(\"nodes\").push(e),!0},t.prototype.removeChild=function(e){var t=this,n=e.getType();switch(n){case\"node\":t.removeNode(e);break;case\"combo\":t.removeCombo(e);break;default:return console.warn(\"Only node or combo items are allowed to be added into a combo\"),!1}return!0},t.prototype.removeCombo=function(e){if(e){var t=this.getCombos(),n=t.indexOf(e);return n>-1&&(t.splice(n,1),!0)}},t.prototype.removeNode=function(e){if(e){var t=this.getNodes(),n=t.indexOf(e);return n>-1&&(t.splice(n,1),!0)}},t.prototype.getUpdateType=function(e){},t.prototype.getBBox=function(){this.set(HP,null);var e=this.calculateCanvasBBox();return e},t.prototype.clearCache=function(){this.set(WP,null),this.set(HP,null),this.set(XP,null)},t.prototype.destroy=function(){if(!this.destroyed){var e=this.get(\"animate\"),t=this.get(\"group\");e&&t.stopAnimate(),t[\"shapeMap\"]={},this.clearCache(),this.set(YP,null),this.set(\"bbox\",null),t.remove(),this._cfg=null,this.destroyed=!0}},t}(VP),KP=qP,ZP=\"node\",$P=\"edge\",QP=\"vedge\",JP=\"combo\",eL=\"default\",tL=\"Mapper\",nL=\"stateStyles\",rL=function(){function e(e){var t=this;this.edgeToBeUpdateMap={},this.throttleRefresh=Object(GS[\"throttle\"])((function(e){var n=t.graph;if(n&&!n.get(\"destroyed\")){var r=t.edgeToBeUpdateMap;if(r){var o=Object.values(r);o.length&&(o.forEach((function(e){var t=e.edge;if(t&&!t.destroyed){var n=t.getSource(),r=t.getTarget();n&&!n.destroyed&&r&&!r.destroyed&&t.refresh(e.updateType)}})),t.edgeToBeUpdateMap={})}}}),16,{trailing:!0,leading:!0}),this.graph=e,this.destroyed=!1}return e.prototype.addItem=function(e,t){var n=this.graph,r=e===QP?$P:e,o=n.get(\"\".concat(r,\"Group\"))||n.get(\"group\"),i=Object(GS[\"upperFirst\"])(r),a=null,c=n.get(r+Object(GS[\"upperFirst\"])(nL))||{},u=n.get(eL+i);t[nL]&&(c=t[nL]),u&&Object(GS[\"each\"])(u,(function(e,n){Object(GS[\"isObject\"])(e)&&!Object(GS[\"isArray\"])(e)?t[n]=Object(GS[\"deepMix\"])({},e,t[n]):Object(GS[\"isArray\"])(e)?t[n]=t[n]||Object(GS[\"clone\"])(u[n]):t[n]=t[n]||u[n]}));var s=n.get(r+tL);if(s){var l=s(t);l[nL]&&(c=l[nL],delete l[nL]),Object(GS[\"each\"])(l,(function(e,n){Object(GS[\"isObject\"])(e)&&!Object(GS[\"isArray\"])(e)?t[n]=Object(GS[\"deepMix\"])({},t[n],e):t[n]=l[n]||t[n]}))}if(n.emit(\"beforeadditem\",{type:e,model:t}),e===$P||e===QP){var f=void 0,d=void 0;if(f=t.source,d=t.target,f&&Object(GS[\"isString\"])(f)&&(f=n.findById(f)),d&&Object(GS[\"isString\"])(d)&&(d=n.findById(d)),!f||!d)return void console.warn(\"The source or target node of edge \".concat(t.id,\" does not exist!\"));f.getType&&\"combo\"===f.getType()&&(t.isComboEdge=!0),d.getType&&\"combo\"===d.getType()&&(t.isComboEdge=!0),a=new BP({model:t,source:f,target:d,styles:c,linkCenter:n.get(\"linkCenter\"),group:o.addGroup()})}else if(e===ZP)a=new VP({model:t,styles:c,group:o.addGroup()});else if(e===JP){var h=t.children,p=xC(h,n),v=void 0,g=void 0;if(isNaN(p.x)?isNaN(t.x)&&(v=100*Math.random()):v=p.x,isNaN(p.y)?isNaN(t.y)&&(g=100*Math.random()):g=p.y,isNaN(t.x)||isNaN(t.y))t.x=v,t.y=g;else{var m=t.x-v,y=t.y-g;this.updateComboSucceeds(t.id,m,y,h)}var b=o.addGroup();b.setZIndex(t.depth),a=new KP({model:t,styles:c,animate:n.get(\"animate\"),bbox:t.collapsed?xC([],n):p,group:b});var x=a.getModel();(h||[]).forEach((function(e){var t=n.findById(e.id);a.addChild(t),e.depth=x.depth+2}))}if(a)return a.setOptimize(n.getNodes().length>n.get(\"optimizeThreshold\")),n.get(\"\".concat(e,\"s\")).push(a),n.get(\"itemMap\")[a.get(\"id\")]=a,n.emit(\"afteradditem\",{item:a,model:t}),a},e.prototype.updateItem=function(e,t){var n,r,o=this,i=this.graph;if(Object(GS[\"isString\"])(e)&&(e=i.findById(e)),e&&!e.destroyed){var a=\"\";e.getType&&(a=e.getType());var c=i.get(a+tL),u=e.getModel(),s=u.x,l=u.y,f=e.getUpdateType(t);if(c){var d=Object(GS[\"deepMix\"])({},u,t),h=c(d),p=Object(GS[\"deepMix\"])({},u,h,t);h[nL]&&(e.set(\"styles\",p[nL]),delete p[nL]),Object(GS[\"each\"])(p,(function(e,n){t[n]=e}))}else Object(GS[\"each\"])(t,(function(e,n){u[n]&&Object(GS[\"isObject\"])(e)&&!Object(GS[\"isArray\"])(e)&&(t[n]=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},u[n]),t[n]))}));if(i.emit(\"beforeupdateitem\",{item:e,cfg:t}),a===$P){if(t.source){var v=t.source;Object(GS[\"isString\"])(v)&&(v=i.findById(v)),e.setSource(v)}if(t.target){var g=t.target;Object(GS[\"isString\"])(g)&&(g=i.findById(g)),e.setTarget(g)}e.update(t)}else if(a===ZP){e.update(t,f);var m=e.getEdges();\"move\"===f?Object(GS[\"each\"])(m,(function(e){o.edgeToBeUpdateMap[e.getID()]={edge:e,updateType:f},o.throttleRefresh()})):(null===f||void 0===f?void 0:f.includes(\"bbox\"))&&Object(GS[\"each\"])(m,(function(e){e.refresh(f)}))}else if(a===JP){if(e.update(t,f),!isNaN(t.x)||!isNaN(t.y)){var y=t.x-s||0,b=t.y-l||0;this.updateComboSucceeds(u.id,y,b)}var x=e.getEdges(),w=(null===f||void 0===f?void 0:f.includes(\"bbox\"))||\"move\"===f;if(w&&a===JP){var O=e.get(\"shapeFactory\"),E=u.type||\"circle\",S=void 0===u.animate||void 0===t.animate?null===(r=null===(n=O[E])||void 0===n?void 0:n.options)||void 0===r?void 0:r.animate:u.animate||t.animate;S?setTimeout((function(){if(e&&!e.destroyed){var t=e.getKeyShape();t&&!t.destroyed&&Object(GS[\"each\"])(x,(function(e){e&&!e.destroyed&&e.refresh()}))}}),201):Object(GS[\"each\"])(x,(function(e){e.refresh()}))}}e.setOptimize(i.getNodes().length>i.get(\"optimizeThreshold\")),i.emit(\"afterupdateitem\",{item:e,cfg:t})}},e.prototype.updateCombo=function(e,t,n){var r,o,i=this,a=this.graph;if(Object(GS[\"isString\"])(e)&&(e=a.findById(e)),e&&!e.destroyed){var c=e.getModel(),u=xC(t,a,e),s=u.x,l=u.y;e.set(\"bbox\",u);var f=s,d=l;n?(f=isNaN(c.x)?s:c.x,d=isNaN(c.y)?l:c.y):(f=isNaN(s)?c.x:s,d=isNaN(l)?c.y:l),e.update({x:f,y:d});var h=e.get(\"shapeFactory\"),p=c.type||\"circle\",v=void 0===c.animate?null===(o=null===(r=h[p])||void 0===r?void 0:r.options)||void 0===o?void 0:o.animate:c.animate;v?setTimeout((function(){if(e&&!e.destroyed){var t=e.getKeyShape();t&&!t.destroyed&&(e.getShapeCfg(c),i.updateComboEdges(e))}}),201):this.updateComboEdges(e)}},e.prototype.updateComboEdges=function(e){for(var t,n,r=e.getEdges()||[],o=0;o<r.length;o++){var i=r[o];(null===i||void 0===i?void 0:i.destroyed)||(null===(t=null===i||void 0===i?void 0:i.getSource())||void 0===t?void 0:t.destroyed)||(null===(n=null===i||void 0===i?void 0:i.getTarget())||void 0===n?void 0:n.destroyed)||i.refresh()}},e.prototype.collapseCombo=function(e,t){void 0===t&&(t=!0);var n=this.graph;Object(GS[\"isString\"])(e)&&(e=n.findById(e));var r=e.getChildren();r.nodes.forEach((function(e){n.hideItem(e,t)})),r.combos.forEach((function(e){n.hideItem(e,t)}))},e.prototype.updateComboSucceeds=function(e,t,n,r){var o=this;void 0===r&&(r=[]);var i=this.graph;if(t||n){var a=r;if(!(null===a||void 0===a?void 0:a.length)){var c=i.get(\"comboTrees\");null===c||void 0===c||c.forEach((function(t){hC(t,(function(t){return t.id!==e||(a=t.children,!1)}))}))}null===a||void 0===a||a.forEach((function(e){var r=i.findById(e.id);if(r){var a=r.getModel();o.updateItem(e.id,{x:(a.x||0)+t,y:(a.y||0)+n})}}))}},e.prototype.expandCombo=function(e,t){void 0===t&&(t=!0);var n=this.graph;Object(GS[\"isString\"])(e)&&(e=n.findById(e));var r=e.getChildren();r.nodes.forEach((function(e){n.showItem(e,t)})),r.combos.forEach((function(e){e.getModel().collapsed?e.show():n.showItem(e,t)}))},e.prototype.removeItem=function(e){var t=this,n=this.graph;if(Object(GS[\"isString\"])(e)&&(e=n.findById(e)),e&&!e.destroyed){var r=Object(GS[\"clone\"])(e.getModel());n.emit(\"beforeremoveitem\",{item:r});var o=\"\";e.getType&&(o=e.getType());var i=n.get(\"\".concat(o,\"s\")),a=i.indexOf(e);if(a>-1&&i.splice(a,1),o===$P){var c=n.get(\"v\".concat(o,\"s\")),u=c.indexOf(e);u>-1&&c.splice(u,1)}var s=e.get(\"id\"),l=n.get(\"itemMap\");delete l[s];var f=n.get(\"comboTrees\"),d=e.get(\"id\");if(o===ZP){var h=e.getModel().comboId;if(f&&h){var p=f,v=!1;f.forEach((function(e){v||hC(e,(function(e){if(e.id===d&&p){var t=p.indexOf(e);return p.splice(t,1),v=!0,!1}return p=e.children,!0}))}))}for(var g=e.getEdges(),m=g.length-1;m>=0;m--)n.removeItem(g[m],!1);h&&n.updateCombo(h)}else if(o===JP){var y,b=e.getModel().parentId,x=!1;(f||[]).forEach((function(e){x||hC(e,(function(e){return e.id!==d||(y=e,x=!0,!1)}))})),y.removed=!0,y&&y.children&&y.children.forEach((function(e){t.removeItem(e.id)}));for(g=e.getEdges(),m=g.length;m>=0;m--)n.removeItem(g[m],!1);b&&n.updateCombo(b)}e.destroy(),n.emit(\"afterremoveitem\",{item:r,type:o})}},e.prototype.setItemState=function(e,t,n){var r=this.graph,o=t;Object(GS[\"isString\"])(n)&&(o=\"\".concat(t,\":\").concat(n)),e.hasState(o)===n&&n||Object(GS[\"isString\"])(n)&&e.hasState(o)||(r.emit(\"beforeitemstatechange\",{item:e,state:o,enabled:n}),e.setState(t,n),r.autoPaint(),r.emit(\"afteritemstatechange\",{item:e,state:o,enabled:n}))},e.prototype.priorityState=function(e,t){var n=this.graph,r=e;Object(GS[\"isString\"])(e)&&(r=n.findById(e)),this.setItemState(r,t,!1),this.setItemState(r,t,!0)},e.prototype.clearItemStates=function(e,t){var n=this.graph;Object(GS[\"isString\"])(e)&&(e=n.findById(e)),n.emit(\"beforeitemstatesclear\",{item:e,states:t}),e.clearStates(t),n.emit(\"afteritemstatesclear\",{item:e,states:t})},e.prototype.refreshItem=function(e){var t=this.graph;Object(GS[\"isString\"])(e)&&(e=t.findById(e)),t.emit(\"beforeitemrefresh\",{item:e}),e.refresh(),t.emit(\"afteritemrefresh\",{item:e})},e.prototype.addCombos=function(e,t){var n=this,r=this.graph;(e||[]).forEach((function(e){pC(e,(function(e){var r;return t.forEach((function(t){t.id===e.id&&(t.children=e.children,t.depth=e.depth,r=t)})),r&&n.addItem(\"combo\",r),!0}))}));var o=r.get(\"comboGroup\");o&&o.sort()},e.prototype.changeItemVisibility=function(e,t){var n=this,r=this.graph;if(Object(GS[\"isString\"])(e)&&(e=r.findById(e)),e){if(r.emit(\"beforeitemvisibilitychange\",{item:e,visible:t}),e.changeVisibility(t),e.getType&&e.getType()===ZP){var o=e.getEdges();Object(GS[\"each\"])(o,(function(e){(!t||e.get(\"source\").isVisible()&&e.get(\"target\").isVisible())&&n.changeItemVisibility(e,t)}))}else if(e.getType&&e.getType()===JP){var i=r.get(\"comboTrees\"),a=e.get(\"id\"),c=[],u=!1;(i||[]).forEach((function(e){u||e.children&&0!==e.children.length&&hC(e,(function(e){return e.id!==a||(c=e.children,u=!0,!1)}))})),c&&(!t||t&&!e.getModel().collapsed)&&c.forEach((function(e){var o=r.findById(e.id);n.changeItemVisibility(o,t)}));o=e.getEdges();Object(GS[\"each\"])(o,(function(e){(!t||e.get(\"source\").isVisible()&&e.get(\"target\").isVisible())&&n.changeItemVisibility(e,t)}))}return r.emit(\"afteritemvisibilitychange\",{item:e,visible:t}),e}console.warn(\"The item to be shown or hidden does not exist!\")},e.prototype.destroy=function(){this.graph=null,this.destroyed=!0},e}(),oL=rL,iL=function(){function e(e){this.graph=e,this.destroyed=!1}return e.prototype.updateState=function(e,t,n){var r=this.graph.get(\"states\"),o=t;Object(GS[\"isString\"])(n)&&(o=\"\".concat(t,\":\").concat(n)),r[o]||(r[o]=[]),n?r[o].push(e):r[o]=r[o].filter((function(t){return t!==e})),this.graph.set(\"states\",r),this.graph.emit(\"graphstatechange\",{states:r})},e.prototype.updateStates=function(e,t,n){var r=this.graph.get(\"states\"),o=Object(GS[\"isString\"])(t)?[t]:t;o.forEach((function(t){var o=t;r[o]||(r[o]=[]),Object(GS[\"isString\"])(n)&&(o=\"\".concat(t,\":\").concat(n)),n?r[o].push(e):r[o]=r[o].filter((function(t){return t!==e}))})),this.graph.set(\"states\",r),this.graph.emit(\"graphstatechange\",{states:t})},e.prototype.destroy=function(){this.graph=null,this.destroyed=!0},e}(),aL=iL,cL=function(e,t){return e&&t?e.replace(/\\\\?\\{([^{}]+)\\}/g,(function(e,n){if(\"\\\\\"===e.charAt(0))return e.slice(1);var r=t[n];return 0===r&&(r=\"0\"),r||\"\"})):e},uL=function(e){var t=[];if(e.length<2)throw new Error(\"point length must largn than 2, now it's \".concat(e.length));for(var n=0,r=e;n<r.length;n++){var o=r[n],i=o.x,a=o.y;t.push(i),t.push(a)}var c=FI(t);return c.unshift([\"M\",e[0].x,e[0].y]),c},sL=function(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=0);var o={x:(1-n)*e.x+n*t.x,y:(1-n)*e.y+n*t.y},i=[0,0];ZS[\"vec2\"].normalize(i,[t.x-e.x,t.y-e.y]),i&&(i[0]||i[1])||(i=[0,0]);var a=[-i[1]*r,i[0]*r];return o.x+=a[0],o.y+=a[1],o},lL=function(e,t){var n=e.length;if(!n)return\"\";for(var r=\"\",o=\"\",i=0;i<n;i++){var a=e[i];o=0===i?\"M{x} {y}\":\"L{x} {y}\",r+=cL(o,a)}return t&&(r+=\"Z\"),r},fL=function(e){var t=[];return e.forEach((function(e){var n=e[0];if(\"A\"!==n)for(var r=1;r<e.length;r+=2)t.push([e[r],e[r+1]]);else{var o=e.length;t.push([e[o-2],e[o-1]])}})),t},dL=function(e){if(e.length<2)throw new Error(\"point length must largn than 2, now it's \".concat(e.length));var t=e[0],n=e[1],r=e[e.length-1],o=e[e.length-2];e.unshift(r),e.unshift(o),e.push(t),e.push(n);for(var i=[],a=1;a<e.length-2;a+=1){var c=e[a-1].x,u=e[a-1].y,s=e[a].x,l=e[a].y,f=e[a+1].x,d=e[a+1].y,h=a!==e.length-2?e[a+2].x:f,p=a!==e.length-2?e[a+2].y:d,v=s+(f-c)/6,g=l+(d-u)/6,m=f-(h-s)/6,y=d-(p-l)/6;i.push([\"C\",v,g,m,y,f,d])}return i.unshift([\"M\",r.x,r.y]),i},hL=function(e,t){return ZS[\"vec2\"].scale([0,0],ZS[\"vec2\"].normalize([0,0],e),t)},pL=function(e,t){var n=[e[1]-t[1],t[0]-e[0]],r=Math.sqrt(n[0]*n[0]+n[1]*n[1]);if(0===r)throw new Error(\"p0 should not be equal to p1\");return[n[0]/r,n[1]/r]},vL=function(e,t){return[t[0]-e[0],t[1]-e[1]]};function gL(e,t){var n=function(e){var n=[e[0][0],e[0][1]-t],r=[e[0][0],e[0][1]+t];return\"M \".concat(n,\" A \").concat(t,\",\").concat(t,\",0,0,0,\").concat(r,\" A \").concat(t,\",\").concat(t,\",0,0,0,\").concat(n)},r=function(e){var n=ZS[\"vec2\"].scale([0,0],pL(e[0],e[1]),t),r=ZS[\"vec2\"].scale([0,0],n,-1),o=ZS[\"vec2\"].add([0,0],e[0],n),i=ZS[\"vec2\"].add([0,0],e[1],n),a=ZS[\"vec2\"].add([0,0],e[1],r),c=ZS[\"vec2\"].add([0,0],e[0],r);return\"M \".concat(o,\" L \").concat(i,\" A \").concat([t,t,\"0,0,0\",a].join(\",\"),\" L \").concat(c,\" A \").concat([t,t,\"0,0,0\",o].join(\",\"))};if(!e||e.length<1)return\"\";if(1===e.length)return n(e);if(2===e.length)return r(e);for(var o=new Array(e.length),i=0;i<o.length;++i){var a=0===i?e[e.length-1]:e[i-1],c=e[i],u=ZS[\"vec2\"].scale([0,0],pL(a,c),t);o[i]=[ZS[\"vec2\"].add([0,0],a,u),ZS[\"vec2\"].add([0,0],c,u)]}var s=\"A \".concat([t,t,\"0,0,0,\"].join(\",\"));return o=o.map((function(e,t){var n=\"\";return 0===t&&(n=\"M \".concat(o[o.length-1][1],\" \")),n+=\"\".concat(s+e[0],\" L \").concat(e[1]),n})),o.join(\" \")}function mL(e,t){var n=e.length,r=function(e){var n=[e[0][0],e[0][1]-t],r=[e[0][0],e[0][1]+t];return\"M \".concat(n,\" A \").concat([t,t,\"0,0,0\",r].join(\",\"),\" A \").concat([t,t,\"0,0,0\",n].join(\",\"))},o=function(e){var n=vL(e[0],e[1]),r=hL(n,t),o=ZS[\"vec2\"].add([0,0],e[0],ZS[\"vec2\"].scale([0,0],r,-1)),i=ZS[\"vec2\"].add([0,0],e[1],r),a=1.2*t,c=hL(ZS[\"vec2\"].normalize([0,0],n),a),u=ZS[\"vec2\"].scale([0,0],c,-1),s=ZS[\"vec2\"].add([0,0],o,u),l=ZS[\"vec2\"].add([0,0],i,u),f=ZS[\"vec2\"].add([0,0],o,c);return\"M \".concat(o,\" C \").concat([s,l,i].join(\",\"),\" S \").concat([f,o].join(\",\"),\" Z\")};if(!e||n<1)return\"\";if(1===n)return r(e);if(2===n)return o(e);for(var i=e.map((function(t,r){var o=e[(r+1)%n];return{p:t,v:ZS[\"vec2\"].normalize([0,0],vL(t,o))}})),a=0;a<i.length;++a){var c=a>0?a-1:n-1,u=ZS[\"vec2\"].normalize([0,0],ZS[\"vec2\"].add([0,0],i[c].v,ZS[\"vec2\"].scale([0,0],i[a].v,-1)));i[a].p=ZS[\"vec2\"].add([0,0],i[a].p,ZS[\"vec2\"].scale([0,0],u,t))}return i.map((function(e){var t=e.p;return{x:t[0],y:t[1]}}))}var yL=function(e,t,n){return(e.y-n.y)*(t.x-n.x)-(e.x-n.x)*(t.y-n.y)},bL=function(e){var t=e.map((function(e){return{x:e.getModel().x,y:e.getModel().y}}));if(t.sort((function(e,t){return e.x===t.x?e.y-t.y:e.x-t.x})),1===t.length)return t;for(var n=[],r=0;r<t.length;r++){while(n.length>=2&&yL(n[n.length-2],n[n.length-1],t[r])<=0)n.pop();n.push(t[r])}var o=[];for(r=t.length-1;r>=0;r--){while(o.length>=2&&yL(o[o.length-2],o[o.length-1],t[r])<=0)o.pop();o.push(t[r])}o.pop(),n.pop();var i=n.concat(o);return i},xL={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 wL(e,t,n){var r=!1,o=function(e,n){return t.cells[e+n*t.width]},i=function(e,t){var r=0;return o(e-1,t-1)>=n&&(r+=1),o(e,t-1)>n&&(r+=2),o(e-1,t)>n&&(r+=4),o(e,t)>n&&(r+=8),r},a=function(n,r){for(var o,a,c=n,u=r,s=0;s<t.width*t.height;s++){if(o=c,a=u,e.findIndex((function(e){return e.x===c&&e.y===u}))>-1){if(e[0].x===c&&e[0].y===u)return!0}else e.push({x:c,y:u});var l=i(c,u);switch(l){case-1:return console.warn(\"Marched out of bounds\"),!0;case 0:case 3:case 2:case 7:c++;break;case 12:case 14:case 4:c--;break;case 6:0===o&&(-1===a?c-=1:c+=1);break;case 1:case 13:case 5:u--;break;case 9:1===o&&(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 e=0;e<t.width&&!r;e+=1)for(var c=0;c<t.height&&!r;c+=1)o(e,c)>n&&15!==i(e,c)&&(r=a(e,c));return r}}var OL=function(e,t,n){var r=Math.ceil(e/n),o=Math.ceil(t/n),i=new Float32Array(Math.max(0,r*o)).fill(0);return{cells:i,width:r,height:o}},EL=function(e,t,n){var r=null,o=Number.POSITIVE_INFINITY;return t.forEach((function(t){var i={x:e.getModel().x,y:e.getModel().y},a={x:t.getModel().x,y:t.getModel().y},c=P_(i,a),u=new C_(i.x,i.y,a.x,a.y),s=n.reduce((function(e,t){return T_(t,u)>0?e+1:e}),0);c*Math.pow(s+1,2)<o&&(r=t,o=c*Math.pow(s+1,2))})),r},SL=function(e,t){var n=Number.POSITIVE_INFINITY,r=null;return e.forEach((function(e){var o=T_(e,t);o>=0&&o<n&&(r=e,n=o)})),r},jL=function(e,t,n,r){var o=[],i=[];i.push(e);var a=!0,c=0,u=function(e,t){var n=!1;return t.forEach((function(t){n||(D_(e,{x:t.x1,y:t.y1})||D_(e,{x:t.x2,y:t.y2}))&&(n=!0)})),n},s=function(e,t){for(var n=0,r=t;n<r.length;n++){var o=r[n],i=o.getBBox(),a=[[i.x,i.y],[i.x+i.width,i.y],[i.x,i.y+i.height],[i.x+i.width,i.y+i.height]];if(S_(a,e.x,e.y))return!0}return!1};while(a&&c<n){a=!1;var l=function(){var e=i.pop(),n=SL(t,e);if(n){var l=N_(n,e),f=l[0],d=l[1];if(2===d){var h=function(c){var l=r,d=AL(n,l,f,c),h=u(d,i)||u(d,o),p=s(d,t);while(!h&&p&&l>=1)l/=1.5,d=AL(n,l,f,c),h=u(d,i)||u(d,o),p=s(d,t);!d||h||c&&p||(i.push(new C_(e.x1,e.y1,d.x,d.y)),i.push(new C_(d.x,d.y,e.x2,e.y2)),a=!0)};h(!0),a||h(!1)}}a||o.push(e),c+=1};while(!a&&i.length)l()}while(i.length)o.push(i.pop());return o};function kL(e,t,n,r,o){var i=EL(e,n,t);if(null===i)return[];var a=function(e){var n=[];while(e.length>0){var r=e.pop();if(0===e.length){n.push(r);break}var o=e.pop(),i=new C_(r.x1,r.y1,o.x2,o.y2),a=SL(t,i);a?(n.push(r),e.push(o)):e.push(i)}return n},c=new C_(e.getModel().x,e.getModel().y,i.getModel().x,i.getModel().y),u=jL(c,t,r,o),s=a(u);return s}var _L=function(e,t,n){var r=Object.assign(xL,n),o=I_(e.map((function(e){return{x:e.getModel().x,y:e.getModel().y}})));e=e.sort((function(e,t){return P_({x:e.getModel().x,y:e.getModel().y},o)-P_({x:t.getModel().x,y:t.getModel().y},o)}));var i=[],a=[];e.forEach((function(e){var n=kL(e,t,i,r.maxRoutingIterations,r.morphBuffer);n.forEach((function(e){a.push(e)})),i.push(e)}));for(var c=CL(e,a,r.nodeR0),u=OL(c.width,c.height,r.pixelGroupSize),s=[],l=[],f=0;f<r.maxMarchingIterations;f++)if(ML(e,t,a,c,u,r),s=[],l=[],new wL(s,u,r.threshold).march()){var d=s.map((function(e){return{x:Math.round(e.x*r.pixelGroupSize+c.minX),y:Math.round(e.y*r.pixelGroupSize+c.minY)}}));if(d){var h=d.length;if(r.skip>1){h=Math.floor(d.length/r.skip);while(h<3&&r.skip>1)r.skip-=1,h=Math.floor(d.length/r.skip)}for(var p=0,v=0;v<h;v+=1,p+=r.skip)l.push({x:d[p].x,y:d[p].y})}var g=function(){for(var t=0,n=e;t<n.length;t++){var r=n[t],o=l.map((function(e){return[e.x,e.y]}));if(!S_(o,r.getBBox().centerX,r.getBBox().centerY))return!1}return!0};if(l&&g())return l;if(r.threshold*=.9,f<=.5*r.maxMarchingIterations)r.memberInfluenceFactor*=1.2,r.edgeInfluenceFactor*=1.2;else{if(!(0!==r.nonMemberInfluenceFactor&&t.length>0))break;r.nonMemberInfluenceFactor*=.8}}return l};function CL(e,t,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},o=[];e.forEach((function(e){o.push(e.getBBox())})),t.forEach((function(e){o.push(e.getBBox())}));for(var i=0,a=o;i<a.length;i++){var c=a[i];r.minX=(c.minX<r.minX?c.minX:r.minX)-n,r.minY=(c.minY<r.minY?c.minY:r.minY)-n,r.maxX=(c.maxX>r.maxX?c.maxX:r.maxX)+n,r.maxY=(c.maxY>r.maxY?c.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}function ML(e,t,n,r,o,i){function a(e,t){var n=Math.floor((e-t)/i.pixelGroupSize);return n<0?0:n}function c(e,t){return e*i.pixelGroupSize+t}var u=(i.nodeR0-i.nodeR1)*(i.nodeR0-i.nodeR1),s=(i.edgeR0-i.edgeR1)*(i.edgeR0-i.edgeR1),l=function(e,t){var n=Math.min(a(e.minX,t+r.minX),o.width),i=Math.min(a(e.minY,t+r.minY),o.height),c=Math.min(a(e.maxX,-t+r.minX),o.width),u=Math.min(a(e.maxY,-t+r.minY),o.height);return[n,i,c,u]},f=function(e,t){for(var n=e.getBBox(),a=l(n,i.nodeR1),u=a[0],s=a[1],f=a[2],d=a[3],h=s;h<d;h+=1)for(var p=u;p<f;p+=1)if(!(t<0&&o[p+h*o.width]<=0)){var v=c(p,r.minX),g=c(h,r.minY),m=R_({x:v,y:g},{x:n.minX,y:n.minY,width:n.width,height:n.height});if(m<Math.pow(i.nodeR1,2)){var y=Math.sqrt(m)-i.nodeR1;o.cells[p+h*o.width]+=t*y*y}}},d=function(e,t){for(var n=e.getBBox(),a=l(n,i.edgeR1),u=a[0],s=a[1],f=a[2],d=a[3],h=s;h<d;h+=1)for(var p=u;p<f;p+=1)if(!(t<0&&o.cells[p+h*o.width]<=0)){var v=c(p,r.minX),g=c(h,r.minY),m=L_({x:v,y:g},e);if(m<Math.pow(i.edgeR1,2)){var y=Math.sqrt(m)-i.edgeR1;o.cells[p+h*o.width]+=t*y*y}}};i.nodeInfluenceFactor&&e.forEach((function(e){f(e,i.nodeInfluenceFactor/u)})),i.edgeInfluenceFactor&&n.forEach((function(e){d(e,i.edgeInfluenceFactor/s)})),i.negativeNodeInfluenceFactor&&t.forEach((function(e){f(e,i.negativeNodeInfluenceFactor/u)}))}function AL(e,t,n,r){var o=e.getBBox(),i=n[0],a=n[1],c=n[2],u=n[3],s={topLeft:{x:o.minX-t,y:o.minY-t},topRight:{x:o.maxX+t,y:o.minY-t},bottomLeft:{x:o.minX-t,y:o.maxY+t},bottomRight:{x:o.maxX+t,y:o.maxY+t}},l=o.height*o.width;function f(e,t){return o.width*(.5*(e.y-o.minY+(t.y-o.minY)))}if(a){if(i)return r?s.topLeft:s.bottomRight;if(c)return r?s.bottomLeft:s.topRight;var d=f(a,u);return d<.5*l?a.y>u.y?r?s.topLeft:s.bottomRight:r?s.topRight:s.bottomLeft:a.y<u.y?r?s.bottomLeft:s.topRight:r?s.bottomRight:s.topLeft}if(u){if(i)return r?s.topRight:s.bottomLeft;if(c)return r?s.bottomRight:s.topLeft}var h=f(i,c);return h<.5*l?i.x>c.x?r?s.topLeft:s.bottomRight:r?s.bottomLeft:s.topRight:i.x<c.x?r?s.topRight:s.bottomLeft:r?s.bottomRight:s.topLeft}var NL=function(){function e(e,t){this.cfg=Object(GS[\"deepMix\"])(this.getDefaultCfg(),t),this.graph=e,this.id=this.cfg.id,this.group=this.cfg.group,this.members=this.cfg.members.map((function(t){return Object(GS[\"isString\"])(t)?e.findById(t):t})),this.nonMembers=this.cfg.nonMembers.map((function(t){return Object(GS[\"isString\"])(t)?e.findById(t):t})),this.setPadding(),this.setType(),this.path=this.calcPath(this.members,this.nonMembers),this.render()}return e.prototype.getDefaultCfg=function(){return{id:\"g6-hull\",type:\"round-convex\",members:[],nonMembers:[],style:{fill:\"lightblue\",stroke:\"blue\",opacity:.2},padding:10}},e.prototype.setPadding=function(){var e=this.members.length&&this.members[0].getKeyShape().getCanvasBBox().width/2;this.padding=this.cfg.padding>0?this.cfg.padding+e:10+e,this.cfg.bubbleCfg={nodeR0:this.padding-e,nodeR1:this.padding-e,morphBuffer:this.padding-e}},e.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\")},e.prototype.calcPath=function(e,t){var n,r,o;switch(this.type){case\"round-convex\":n=bL(e),o=gL(n.map((function(e){return[e.x,e.y]})),this.padding),r=GI(o);break;case\"smooth-convex\":n=bL(e),2===n.length?(o=gL(n.map((function(e){return[e.x,e.y]})),this.padding),r=GI(o)):n.length>2&&(o=mL(n.map((function(e){return[e.x,e.y]})),this.padding),r=dL(o));break;case\"bubble\":n=_L(e,t,this.cfg.bubbleCfg),r=n.length>=2&&dL(n);break;default:}return r},e.prototype.render=function(){this.group.addShape(\"path\",{attrs:Object(US[\"__assign\"])({path:this.path},this.cfg.style),id:this.id,name:this.cfg.id,capture:!1}),this.group.toBack()},e.prototype.addMember=function(e){if(e){Object(GS[\"isString\"])(e)&&(e=this.graph.findById(e)),this.members.push(e);var t=this.nonMembers.indexOf(e);return t>-1&&this.nonMembers.splice(t,1),this.updateData(this.members,this.nonMembers),!0}},e.prototype.addNonMember=function(e){if(e){Object(GS[\"isString\"])(e)&&(e=this.graph.findById(e)),this.nonMembers.push(e);var t=this.members.indexOf(e);return t>-1&&this.members.splice(t,1),this.updateData(this.members,this.nonMembers),!0}},e.prototype.removeMember=function(e){if(e){Object(GS[\"isString\"])(e)&&(e=this.graph.findById(e));var t=this.members.indexOf(e);return t>-1&&(this.members.splice(t,1),this.updateData(this.members,this.nonMembers),!0)}},e.prototype.removeNonMember=function(e){if(e){Object(GS[\"isString\"])(e)&&(e=this.graph.findById(e));var t=this.nonMembers.indexOf(e);return t>-1&&(this.nonMembers.splice(t,1),this.updateData(this.members,this.nonMembers),!0)}},e.prototype.updateData=function(e,t){var n=this;this.group.findById(this.id).remove(),e&&(this.members=e.map((function(e){return Object(GS[\"isString\"])(e)?n.graph.findById(e):e}))),t&&(this.nonMembers=t.map((function(e){return Object(GS[\"isString\"])(e)?n.graph.findById(e):e}))),this.path=this.calcPath(this.members,this.nonMembers),this.render()},e.prototype.updateStyle=function(e){var t=this.group.findById(this.id);t.attr(Object(US[\"__assign\"])({},e))},e.prototype.updateCfg=function(e){var t=this;this.cfg=Object(GS[\"deepMix\"])(this.cfg,e),this.id=this.cfg.id,this.group=this.cfg.group,e.members&&(this.members=this.cfg.members.map((function(e){return Object(GS[\"isString\"])(e)?t.graph.findById(e):e}))),e.nonMembers&&(this.nonMembers=this.cfg.nonMembers.map((function(e){return Object(GS[\"isString\"])(e)?t.graph.findById(e):e}))),this.setPadding(),this.setType(),this.path=this.calcPath(this.members,this.nonMembers),this.render()},e.prototype.contain=function(e){var t,n,r=this;t=Object(GS[\"isString\"])(e)?this.graph.findById(e):e;var o=t.getKeyShape();if(\"path\"===t.get(\"type\"))n=fL(o.attr(\"path\"));else{var i=o.getCanvasBBox();n=[[i.minX,i.minY],[i.maxX,i.minY],[i.maxX,i.maxY],[i.minX,i.maxY]]}return n=n.map((function(e){var t=r.graph.getPointByCanvas(e[0],e[1]);return[t.x,t.y]})),__(n,fL(this.path))},e.prototype.destroy=function(){this.group.remove(),this.cfg=null},e}(),TL=NL,IL=o.transform,PL=\"node\",LL=function(e){function t(t){var n=e.call(this)||this;return n.sortCombos=Object(GS[\"debounce\"])((function(){var e=n.get(\"comboSorted\");if(n&&!n.destroyed&&!e){n.set(\"comboSorted\",!0);var t=[],r={},o=n.get(\"comboTrees\");(o||[]).forEach((function(e){hC(e,(function(e){return t[e.depth]?t[e.depth].push(e.id):t[e.depth]=[e.id],r[e.id]=e.depth,!0}))}));var i=n.getEdges().concat(n.get(\"vedges\"));(i||[]).forEach((function(e){var n=e.getModel(),o=r[n.source]||0,i=r[n.target]||0,a=Math.max(o,i);t[a]?t[a].push(n.id):t[a]=[n.id]})),t.forEach((function(e){if(e&&e.length)for(var t=e.length-1;t>=0;t--){var r=n.findById(e[t]);r&&r.toFront()}}))}}),500,!1),n.cfg=Object(GS[\"deepMix\"])(n.getDefaultCfg(),t),n.init(),n.animating=!1,n.destroyed=!1,n.cfg.enabledStack&&(n.undoStack=new t_(n.cfg.maxStep),n.redoStack=new t_(n.cfg.maxStep)),n}return Object(US[\"__extends\"])(t,e),t.prototype.init=function(){this.initCanvas();var e=new pP(this),t=new _C(this),n=new oL(this),r=new aL(this);this.set({viewController:e,modeController:t,itemController:n,stateController:r}),this.initLayoutController(),this.initEventController(),this.initGroups(),this.initPlugins()},t.prototype.initGroups=function(){var e=this.get(\"canvas\");if(e){var t=e.get(\"el\"),n=(t||{}).id,r=void 0===n?\"g6\":n,o=e.addGroup({id:\"\".concat(r,\"-root\"),className:tC.rootContainerClassName});if(this.get(\"groupByTypes\")){var i=o.addGroup({id:\"\".concat(r,\"-edge\"),className:tC.edgeContainerClassName}),a=o.addGroup({id:\"\".concat(r,\"-node\"),className:tC.nodeContainerClassName}),c=o.addGroup({id:\"\".concat(r,\"-combo\"),className:tC.comboContainerClassName});c.toBack(),this.set({nodeGroup:a,edgeGroup:i,comboGroup:c})}var u=o.addGroup({id:\"\".concat(r,\"-delegate\"),className:tC.delegateContainerClassName});this.set({delegateGroup:u}),this.set(\"group\",o)}},t.prototype.getDefaultCfg=function(){return{container:void 0,width:void 0,height:void 0,renderer:\"canvas\",modes:{},plugins:[],data:{},fitViewPadding:10,minZoom:.02,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:[],optimizeThreshold:1e3}},t.prototype.set=function(e,t){return Object(GS[\"isPlainObject\"])(e)?this.cfg=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},this.cfg),e):this.cfg[e]=t,\"enabledStack\"!==e||!t||this.undoStack||this.redoStack||(this.undoStack=new t_(this.cfg.maxStep),this.redoStack=new t_(this.cfg.maxStep)),this},t.prototype.get=function(e){var t;return null===(t=this.cfg)||void 0===t?void 0:t[e]},t.prototype.getGroup=function(){return this.get(\"group\")},t.prototype.getContainer=function(){return this.get(\"container\")},t.prototype.getMinZoom=function(){return this.get(\"minZoom\")},t.prototype.setMinZoom=function(e){return this.set(\"minZoom\",e)},t.prototype.getMaxZoom=function(){return this.get(\"maxZoom\")},t.prototype.setMaxZoom=function(e){return this.set(\"maxZoom\",e)},t.prototype.getWidth=function(){return this.get(\"width\")},t.prototype.getHeight=function(){return this.get(\"height\")},t.prototype.clearItemStates=function(e,t){Object(GS[\"isString\"])(e)&&(e=this.findById(e));var n=this.get(\"itemController\");t||(t=e.get(\"states\")),n.clearItemStates(e,t);var r=this.get(\"stateController\");r.updateStates(e,t,!1)},t.prototype.node=function(e){\"function\"===typeof e&&this.set(\"nodeMapper\",e)},t.prototype.edge=function(e){\"function\"===typeof e&&this.set(\"edgeMapper\",e)},t.prototype.combo=function(e){\"function\"===typeof e&&this.set(\"comboMapper\",e)},t.prototype.findById=function(e){return this.get(\"itemMap\")[e]},t.prototype.find=function(e,t){var n,r=this.get(\"\".concat(e,\"s\"));return Object(GS[\"each\"])(r,(function(e,r){if(t(e,r))return n=e,n})),n},t.prototype.findAll=function(e,t){var n=[];return Object(GS[\"each\"])(this.get(\"\".concat(e,\"s\")),(function(e,r){t(e,r)&&n.push(e)})),n},t.prototype.findAllByState=function(e,t,n){return n?this.findAll(e,(function(e){return e.hasState(t)&&n(e)})):this.findAll(e,(function(e){return e.hasState(t)}))},t.prototype.translate=function(e,t,n,r){var o=this,i=this.get(\"group\"),a=Object(GS[\"clone\"])(i.getMatrix());if(a||(a=[1,0,0,0,1,0,0,0,1]),n){var c=EC({animateCfg:r,callback:function(){return o.emit(\"viewportchange\",{action:\"translate\",matrix:i.getMatrix()})}});b_(i,{x:i.getCanvasBBox().x+e,y:i.getCanvasBBox().y+t},n,c||{duration:500,easing:\"easeCubic\"})}else a=IL(a,[[\"t\",e,t]]),i.setMatrix(a),this.emit(\"viewportchange\",{action:\"translate\",matrix:a}),this.autoPaint()},t.prototype.moveTo=function(e,t,n,r){var o=this.get(\"group\");b_(o,{x:e,y:t},n,r||{duration:500,easing:\"easeCubic\"}),this.emit(\"viewportchange\",{action:\"move\",matrix:o.getMatrix()})},t.prototype.fitView=function(e,t,n,r){e&&this.set(\"fitViewPadding\",e);var o=this.get(\"viewController\");t?o.fitViewByRules(t,n,r):o.fitView(n,r),this.autoPaint()},t.prototype.fitCenter=function(e,t){var n=this.get(\"viewController\");n.fitCenter(e,t),this.autoPaint()},t.prototype.addBehaviors=function(e,t){var n=this.get(\"modeController\");return n.manipulateBehaviors(e,t,!0),this},t.prototype.removeBehaviors=function(e,t){var n=this.get(\"modeController\");return n.manipulateBehaviors(e,t,!1),this},t.prototype.updateBehavior=function(e,t,n){var r=this.get(\"modeController\");return r.updateBehavior(e,t,n),this},t.prototype.zoom=function(e,t,n,r){var o=this,i=this.get(\"group\"),a=Object(GS[\"clone\"])(i.getMatrix())||[1,0,0,0,1,0,0,0,1],c=this.get(\"minZoom\"),u=this.get(\"maxZoom\"),s=this.getZoom()||1,l=s*e,f=e,d=!1;if(c&&l<c?(f=c/s,d=!0):u&&l>u&&(f=u/s,d=!0),a=IL(a,t?[[\"t\",-t.x,-t.y],[\"s\",f,f],[\"t\",t.x,t.y]]:[[\"s\",f,f]]),n){var h=Object(GS[\"clone\"])(i.getMatrix());h||(h=[1,0,0,0,1,0,0,0,1]);var p=h[0],v=p*f,g=EC({animateCfg:r,callback:function(){return o.emit(\"viewportchange\",{action:\"zoom\",matrix:i.getMatrix()})}});i.animate((function(e){if(1===e)h=a;else{var n=B_(p,v,e)/h[0];h=IL(h,t?[[\"t\",-t.x,-t.y],[\"s\",n,n],[\"t\",t.x,t.y]]:[[\"s\",n,n]])}return{matrix:h}}),g)}else i.setMatrix(a),this.emit(\"viewportchange\",{action:\"zoom\",matrix:a}),this.autoPaint();return!d},t.prototype.zoomTo=function(e,t,n,r){var o=e/this.getZoom();return this.zoom(o,t,n,r)},t.prototype.focusItem=function(e,t,n){var r=this.get(\"viewController\"),o=!1;t?o=!0:void 0===t&&(o=this.get(\"animate\"));var i={};n?i=n:void 0===n&&(i=this.get(\"animateCfg\")),r.focus(e,o,i),this.autoPaint()},t.prototype.focusItems=function(e,t,n,r){var o=this.get(\"viewController\");o.focusItems(e,t,n,r)},t.prototype.autoPaint=function(){this.get(\"autoPaint\")&&this.paint()},t.prototype.paint=function(){this.emit(\"beforepaint\"),this.get(\"canvas\").draw(),this.emit(\"afterpaint\")},t.prototype.getPointByClient=function(e,t){var n=this.get(\"viewController\");return n.getPointByClient(e,t)},t.prototype.getClientByPoint=function(e,t){var n=this.get(\"viewController\");return n.getClientByPoint(e,t)},t.prototype.getPointByCanvas=function(e,t){var n=this.get(\"viewController\");return n.getPointByCanvas(e,t)},t.prototype.getCanvasByPoint=function(e,t){var n=this.get(\"viewController\");return n.getCanvasByPoint(e,t)},t.prototype.getGraphCenterPoint=function(){var e=this.get(\"group\").getCanvasBBox();return{x:(e.minX+e.maxX)/2,y:(e.minY+e.maxY)/2}},t.prototype.getViewPortCenterPoint=function(){return this.getPointByCanvas(this.get(\"width\")/2,this.get(\"height\")/2)},t.prototype.showItem=function(e,t){void 0===t&&(t=!0);var n=this.get(\"itemController\"),r=n.changeItemVisibility(e,!0);if(t&&this.get(\"enabledStack\")){var o=r.getID(),i=r.getType(),a={},c={};switch(i){case\"node\":a.nodes=[{id:o,visible:!1}],c.nodes=[{id:o,visible:!0}];break;case\"edge\":a.nodes=[{id:o,visible:!1}],c.edges=[{id:o,visible:!0}];break;case\"combo\":a.nodes=[{id:o,visible:!1}],c.combos=[{id:o,visible:!0}];break;default:break}this.pushStack(\"visible\",{before:a,after:c})}},t.prototype.hideItem=function(e,t){void 0===t&&(t=!0);var n=this.get(\"itemController\"),r=n.changeItemVisibility(e,!1);if(t&&this.get(\"enabledStack\")){var o=r.getID(),i=r.getType(),a={},c={};switch(i){case\"node\":a.nodes=[{id:o,visible:!0}],c.nodes=[{id:o,visible:!1}];break;case\"edge\":a.nodes=[{id:o,visible:!0}],c.edges=[{id:o,visible:!1}];break;case\"combo\":a.nodes=[{id:o,visible:!0}],c.combos=[{id:o,visible:!1}];break;default:break}this.pushStack(\"visible\",{before:a,after:c})}},t.prototype.refreshItem=function(e){var t=this.get(\"itemController\");t.refreshItem(e)},t.prototype.setAutoPaint=function(e){var t=this;t.set(\"autoPaint\",e);var n=t.get(\"canvas\");n.set(\"autoDraw\",e)},t.prototype.remove=function(e,t){void 0===t&&(t=!0),this.removeItem(e,t)},t.prototype.removeItem=function(e,t){void 0===t&&(t=!0);var n=e;if(Object(GS[\"isString\"])(e)&&(n=this.findById(e)),!n&&Object(GS[\"isString\"])(e))console.warn(\"The item \".concat(e,\" to be removed does not exist!\"));else if(n){var r=\"\";if(n.getType&&(r=n.getType()),t&&this.get(\"enabledStack\")){var o=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},n.getModel()),{itemType:r}),i={};switch(r){case\"node\":i.nodes=[o],i.edges=[];for(var a=n.getEdges(),c=a.length-1;c>=0;c--)i.edges.push(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},a[c].getModel()),{itemType:\"edge\"}));break;case\"edge\":i.edges=[o];break;case\"combo\":i.combos=[o];break;default:break}this.pushStack(\"delete\",{before:i,after:{}})}if(\"node\"===r){var u=n.getModel();u.comboId&&this.updateComboTree(n,void 0,!1)}var s=this.get(\"itemController\");if(s.removeItem(n),\"combo\"===r){var l=bC(this.get(\"comboTrees\"));this.set(\"comboTrees\",l)}}},t.prototype.innerAddItem=function(e,t,n){if(!jC(e,t))return!1;if(!t.id||!this.findById(t.id)){var r,o=this.get(\"comboTrees\")||[];if(\"combo\"===e){var i=this.get(\"itemMap\"),a=!1;if(o.forEach((function(o){a||pC(o,(function(o){if(t.parentId===o.id){a=!0;var c=Object(US[\"__assign\"])({id:t.id,depth:o.depth+2},t);o.children?o.children.push(c):o.children=[c],t.depth=c.depth,r=n.addItem(e,t)}var u=i[o.id];return a&&u&&u.getType&&\"combo\"===u.getType()&&n.updateCombo(u,o.children),!0}))})),!a){var c=Object(US[\"__assign\"])({id:t.id,depth:0},t);t.depth=c.depth,o.push(c),r=n.addItem(e,t)}this.set(\"comboTrees\",o),t.collapsed&&(this.collapseCombo(r,!1),this.updateCombo(r))}else if(\"node\"===e&&Object(GS[\"isString\"])(t.comboId)&&o){var u=this.findById(t.comboId);u&&u.getType&&\"combo\"!==u.getType()&&console.warn(\"'\".concat(t.comboId,\"' is not a id of a combo in the graph, the node will be added without combo.\")),r=n.addItem(e,t);var s=this.get(\"itemMap\"),l=!1,f=!1;o.forEach((function(e){f||l||pC(e,(function(e){if(e.id===t.id)return f=!0,!1;if(t.comboId===e.id&&!f){l=!0;var r=Object(GS[\"clone\"])(t);r.itemType=\"node\",e.children?e.children.push(r):e.children=[r],r.depth=e.depth+1}return l&&s[e.id].getType&&\"combo\"===s[e.id].getType()&&n.updateCombo(s[e.id],e.children),!0}))}))}else r=n.addItem(e,t);if(\"node\"===e&&t.comboId||\"combo\"===e&&t.parentId){u=this.findById(t.comboId||t.parentId);u&&u.getType&&\"combo\"===u.getType()&&u.addChild(r)}return r}console.warn(\"This item exists already. Be sure the id %c\".concat(t.id,\"%c is unique.\"),\"font-size: 20px; color: red;\",\"\")},t.prototype.addItem=function(e,t,n,r){void 0===n&&(n=!0),void 0===r&&(r=!0);var o=this.get(\"comboSorted\");this.set(\"comboSorted\",o&&!r);var i=this.get(\"itemController\"),a=this.innerAddItem(e,t,i);if(!1===a||!0===a)return a;var c=this.get(\"combos\");if(c&&c.length>0&&this.sortCombos(),this.autoPaint(),n&&this.get(\"enabledStack\")){var u=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},a.getModel()),{itemType:e}),s={};switch(e){case\"node\":s.nodes=[u];break;case\"edge\":s.edges=[u];break;case\"combo\":s.combos=[u];break;default:break}this.pushStack(\"add\",{before:{},after:s})}return a},t.prototype.addItems=function(e,t,n){void 0===e&&(e=[]),void 0===t&&(t=!0),void 0===n&&(n=!0);var r=this.get(\"comboSorted\");this.set(\"comboSorted\",r&&!n);for(var o=this.get(\"itemController\"),i=[],a=0;a<e.length;a++){var c=e[a];\"edge\"!==c.type&&\"vedge\"!==c.type?i.push(this.innerAddItem(c.type,c.model,o)):i.push(void 0)}for(a=0;a<e.length;a++){c=e[a];\"edge\"!==c.type&&\"vedge\"!==c.type||(i[a]=this.innerAddItem(c.type,c.model,o))}if(n){var u=this.get(\"combos\");u&&u.length>0&&this.sortCombos()}if(this.autoPaint(),t&&this.get(\"enabledStack\")){var s={nodes:[],edges:[],combos:[]};for(a=0;a<e.length;a++){var l=e[a].type,f=i[a];if(f&&!0!==f){var d=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},f.getModel()),{itemType:l});switch(l){case\"node\":s.nodes.push(d);break;case\"edge\":s.edges.push(d);break;case\"combo\":s.combos.push(d);break;default:break}}}this.pushStack(\"addItems\",{before:{},after:s})}return i},t.prototype.add=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=!0),this.addItem(e,t,n,r)},t.prototype.updateItem=function(e,t,n){var r=this;void 0===n&&(n=!0);var o,i=this.get(\"itemController\");o=Object(GS[\"isString\"])(e)?this.findById(e):e;var a,c=n&&this.get(\"enabledStack\");c&&(a=Object(GS[\"clone\"])(o.getModel()));var u=\"\";o.getType&&(u=o.getType());var s=Object(US[\"__spreadArray\"])([],o.getStates(),!0);if(\"combo\"===u&&Object(GS[\"each\"])(s,(function(e){return r.setItemState(o,e,!1)})),i.updateItem(o,t),\"combo\"===u&&Object(GS[\"each\"])(s,(function(e){return r.setItemState(o,e,!0)})),c){var l={nodes:[],edges:[],combos:[]},f={nodes:[],edges:[],combos:[]},d=Object(US[\"__assign\"])({id:a.id},t);switch(u){case\"node\":l.nodes.push(a),f.nodes.push(d);break;case\"edge\":l.edges.push(a),f.edges.push(d);break;case\"combo\":l.combos.push(a),f.combos.push(d);break;default:break}this.pushStack(\"update\",{before:l,after:f})}},t.prototype.update=function(e,t,n){void 0===n&&(n=!0),this.updateItem(e,t,n)},t.prototype.setItemState=function(e,t,n){Object(GS[\"isString\"])(e)&&(e=this.findById(e));var r=this.get(\"itemController\");r.setItemState(e,t,n);var o=this.get(\"stateController\");o.updateState(e,t,n)},t.prototype.priorityState=function(e,t){var n=this.get(\"itemController\");n.priorityState(e,t)},t.prototype.data=function(e){SC(e),this.set(\"data\",e)},t.prototype.render=function(){var e=this;this.set(\"comboSorted\",!1);var t=this.get(\"data\");if(this.get(\"enabledStack\")&&this.clearStack(),!t)throw new Error(\"data must be defined first\");var n=t.nodes,r=void 0===n?[]:n,o=t.edges,i=void 0===o?[]:o,a=t.combos,c=void 0===a?[]:a;if(this.clear(!0),this.emit(\"beforerender\"),e.addItems(r.map((function(e){return{type:\"node\",model:e}})),!1,!1),0!==(null===c||void 0===c?void 0:c.length)){var u=yC(c,r);this.set(\"comboTrees\",u),e.addCombos(c)}e.addItems(i.map((function(e){return{type:\"edge\",model:e}})),!1,!1);var s=e.get(\"animate\");(e.get(\"fitView\")||e.get(\"fitCenter\"))&&e.set(\"animate\",!1);var l=e.get(\"layoutController\");if(l){if(l.layout(f),this.destroyed)return}else f();function f(){(e.get(\"comboTrees\")||[]).forEach((function(t){pC(t,(function(t){var n=e.findById(t.id);return\"combo\"===n.getType()&&t.collapsed&&(e.collapseCombo(t.id,!1),e.updateCombo(n)),!0}))})),e.get(\"fitView\")?e.fitView():e.get(\"fitCenter\")&&e.fitCenter(),e.autoPaint(),e.emit(\"afterrender\"),(e.get(\"fitView\")||e.get(\"fitCenter\"))&&e.set(\"animate\",s),setTimeout((function(){var t;null===(t=e.getCombos())||void 0===t||t.forEach((function(e){e.set(\"animate\",!0)}))}),0)}if(!this.get(\"groupByTypes\"))if(c&&0!==c.length)this.sortCombos();else if(t.nodes&&t.edges&&t.nodes.length<t.edges.length){var d=this.getNodes();d.forEach((function(e){e.toFront()}))}else{var h=this.getEdges();h.forEach((function(e){e.toBack()}))}this.get(\"enabledStack\")&&this.pushStack(\"render\")},t.prototype.read=function(e){this.data(e),this.render()},t.prototype.diffItems=function(e,t,n){var r,o=this,i=this.get(\"itemMap\");Object(GS[\"each\"])(n,(function(n){if(r=i[n.id],r){if(o.get(\"animate\")&&e===PL){var a=r.getContainer().getMatrix();a||(a=[1,0,0,0,1,0,0,0,1]),r.set(\"originAttrs\",{x:a[6],y:a[7]})}o.updateItem(r,n,!1)}else r=o.addItem(e,n,!1);r&&t[\"\".concat(e,\"s\")].push(r)}))},t.prototype.changeData=function(e,t){var n,r=this;void 0===t&&(t=!0);var o=this,i=e||o.get(\"data\");if(!SC(i))return this;this.emit(\"beforechangedata\"),t&&this.get(\"enabledStack\")&&this.pushStack(\"changedata\",{before:o.save(),after:i}),this.set(\"comboSorted\",!1),this.removeHulls(),this.getNodes().map((function(e){return o.clearItemStates(e)})),this.getEdges().map((function(e){return o.clearItemStates(e)}));var a=this.get(\"canvas\"),c=a.get(\"localRefresh\");a.set(\"localRefresh\",!1),o.get(\"data\")||(o.data(i),o.render());var u=this.get(\"itemMap\"),s={nodes:[],edges:[]},l=i.combos;if(l){var f=yC(l,i.nodes);this.set(\"comboTrees\",f)}else this.set(\"comboTrees\",[]);this.diffItems(\"node\",s,i.nodes),Object(GS[\"each\"])(u,(function(e,t){u[t].getModel().depth=0,e.getType&&\"edge\"===e.getType()||(e.getType&&\"combo\"===e.getType()?(delete u[t],e.destroy()):s.nodes.indexOf(e)<0&&(delete u[t],o.remove(e,!1)))}));for(var d=this.getCombos(),h=d.length,p=h-1;p>=0;p--)d[p].destroyed&&d.splice(p,1);l&&(o.addCombos(l),this.get(\"groupByTypes\")||this.sortCombos()),this.diffItems(\"edge\",s,i.edges),Object(GS[\"each\"])(u,(function(e,t){(!e.getType||\"node\"!==e.getType()&&\"combo\"!==e.getType())&&s.edges.indexOf(e)<0&&(delete u[t],o.remove(e,!1))})),(this.get(\"comboTrees\")||[]).forEach((function(e){pC(e,(function(e){var t=r.findById(e.id);return\"combo\"===t.getType()&&e.collapsed&&r.collapseCombo(e.id,!1),!0}))})),this.set({nodes:s.nodes,edges:s.edges});var v=this.get(\"layoutController\");return v&&(v.changeData((function(){setTimeout((function(){var e;null===(e=o.getCombos())||void 0===e||e.forEach((function(e){e.set(\"animate\",!0)}))}),0)})),o.get(\"animate\")&&!v.getLayoutType()?(o.positionsAnimate(),null===(n=o.getCombos())||void 0===n||n.forEach((function(e){return e.set(\"animate\",!0)}))):o.autoPaint()),setTimeout((function(){a.set(\"localRefresh\",c)}),16),this.set(\"data\",i),this.emit(\"afterchangedata\"),this},t.prototype.addCombos=function(e){var t=this,n=t.get(\"comboTrees\"),r=this.get(\"itemController\");r.addCombos(n,e)},t.prototype.createCombo=function(e,t){var n=this,r=this.get(\"itemController\");this.set(\"comboSorted\",!1);var o,i=\"\";if(e){if(Object(GS[\"isString\"])(e))i=e,o={id:e};else{if(i=e.id,!i)return void console.warn(\"Create combo failed. Please assign a unique string id for the adding combo.\");o=e}var a=this.get(\"comboTrees\"),c=new Set(t),u=new Map;a&&(a.forEach((function(e){pC(e,(function(e,t,o){if(c.has(e.id)){if(t){var i=n.findById(t.id),a=n.findById(e.id);t.children.splice(o,1),i.removeChild(a),r.updateCombo(i,t.children)}\"combo\"===e.itemType&&u.set(e.id,e)}return!0}))})),a=a.filter((function(e){return!c.has(e.id)})),this.set(\"comboTrees\",a));var s=t.map((function(e){var t=n.findById(e),r=t.getModel(),o=\"\";t.getType&&(o=t.getType());var a=u.get(e)||{id:t.getID(),itemType:o};return\"combo\"===o?(a.parentId=i,r.parentId=i):\"node\"===o&&(a.comboId=i,r.comboId=i),a}));o.children=s,this.addItem(\"combo\",o,!1),this.set(\"comboSorted\",!1),a&&(a.forEach((function(e){hC(e,(function(e){return e.id!==i||(e.itemType=\"combo\",e.children=s,!1)}))})),this.sortCombos())}},t.prototype.uncombo=function(e){var t,n=this,r=this,o=e;if(Object(GS[\"isString\"])(e)&&(o=this.findById(e)),!o||o.getType&&\"combo\"!==o.getType())console.warn(\"The item is not a combo!\");else{var i=o.getModel().parentId,a=r.get(\"comboTrees\");a||(a=[]);var c,u=this.get(\"itemMap\"),s=o.get(\"id\"),l=[],f=this.get(\"combos\"),d=this.findById(i);if(a.forEach((function(e){c||pC(e,(function(e){var t;if(e.id===s){c=e;var r=o.getEdges().map((function(e){return e.getID()}));r.forEach((function(e){n.removeItem(e,!1)}));var a=f.indexOf(o);f.splice(a,1),delete u[s],o.destroy(),n.emit(\"afterremoveitem\",{item:o,type:\"combo\"})}if(i&&c&&e.id===i){d.removeCombo(o),l=e.children;a=l.indexOf(c);return-1!==a&&l.splice(a,1),null===(t=c.children)||void 0===t||t.forEach((function(e){var t=n.findById(e.id),r=t.getModel();t.getType&&\"combo\"===t.getType()?(e.parentId=i,delete e.comboId,r.parentId=i,delete r.comboId):t.getType&&\"node\"===t.getType()&&(e.comboId=i,r.comboId=i),d.addChild(t),l.push(e)})),!1}return!0}))})),!i&&c){var h=a.indexOf(c);a.splice(h,1),null===(t=c.children)||void 0===t||t.forEach((function(e){e.parentId=void 0;var t=n.findById(e.id).getModel();delete t.parentId,delete t.comboId,\"node\"!==e.itemType&&a.push(e)}))}}},t.prototype.updateCombos=function(e){var t=this;void 0===e&&(e=!1);var n=this,r=this.get(\"comboTrees\"),o=n.get(\"itemController\"),i=n.get(\"itemMap\");(r||[]).forEach((function(n){pC(n,(function(n){var r;if(!n)return!0;var a=i[n.id];if(\"combo\"===(null===(r=null===a||void 0===a?void 0:a.getType)||void 0===r?void 0:r.call(a))){var c=Object(US[\"__spreadArray\"])([],a.getStates(),!0);Object(GS[\"each\"])(c,(function(e){return t.setItemState(a,e,!1)})),o.updateCombo(a,n.children,e),Object(GS[\"each\"])(c,(function(e){return t.setItemState(a,e,!0)}))}return!0}))})),n.sortCombos()},t.prototype.updateCombo=function(e){var t,n=this,r=this,o=e;if(Object(GS[\"isString\"])(e)&&(o=this.findById(e)),!o||o.getType&&\"combo\"!==o.getType())console.warn(\"The item to be updated is not a combo!\");else{t=o.get(\"id\");var i=this.get(\"comboTrees\"),a=r.get(\"itemController\"),c=r.get(\"itemMap\");(i||[]).forEach((function(e){pC(e,(function(e){if(!e)return!0;var r=c[e.id];if(t===e.id&&r&&r.getType&&\"combo\"===r.getType()){var o=Object(US[\"__spreadArray\"])([],r.getStates(),!0);Object(GS[\"each\"])(o,(function(e){r.getStateStyle(e)&&n.setItemState(r,e,!1)})),a.updateCombo(r,e.children),Object(GS[\"each\"])(o,(function(e){r.getStateStyle(e)&&n.setItemState(r,e,!0)})),t&&(t=e.parentId)}return!0}))}))}},t.prototype.updateComboTree=function(e,t,n){void 0===n&&(n=!0);var r,o=this;this.set(\"comboSorted\",!1),r=Object(GS[\"isString\"])(e)?o.findById(e):e;var i=r.getModel(),a=i.comboId||i.parentId,c=\"\";if(r.getType&&(c=r.getType()),t&&\"combo\"===c){var u,s=this.get(\"comboTrees\"),l=!0;if((s||[]).forEach((function(e){u||hC(e,(function(e){if(!u)return e.id===r.getID()&&(u=e),!0}))})),hC(u,(function(e){return e.id!==t||(l=!1,!1)})),!l)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 f={},d={};\"combo\"===c?(f.combos=[{id:i.id,parentId:i.parentId}],d.combos=[{id:i.id,parentId:t}]):\"node\"===c&&(f.nodes=[{id:i.id,parentId:i.comboId}],d.nodes=[{id:i.id,parentId:t}]),this.pushStack(\"updateComboTree\",{before:f,after:d})}if(i.parentId||i.comboId){var h=this.findById(i.parentId||i.comboId);h&&h.removeChild(r)}if(\"combo\"===c?i.parentId=t:\"node\"===c&&(i.comboId=t),t){var p=this.findById(t);p&&p.addChild(r)}if(a){p=this.findById(a);p&&p.removeChild(r)}var v=bC(this.get(\"comboTrees\"),i.id,t);this.set(\"comboTrees\",v),this.updateCombos()},t.prototype.save=function(){var e=[],t=[],n=[];return Object(GS[\"each\"])(this.get(\"nodes\"),(function(t){e.push(t.getModel())})),Object(GS[\"each\"])(this.get(\"edges\"),(function(e){t.push(e.getModel())})),Object(GS[\"each\"])(this.get(\"combos\"),(function(e){n.push(e.getModel())})),{nodes:e,edges:t,combos:n}},t.prototype.changeSize=function(e,t){var n=this.get(\"viewController\");return n.changeSize(e,t),this},t.prototype.refresh=function(){var e=this;if(e.emit(\"beforegraphrefresh\"),e.get(\"animate\"))e.positionsAnimate();else{var t=e.get(\"nodes\"),n=e.get(\"edges\"),r=e.get(\"edges\");Object(GS[\"each\"])(t,(function(e){e.refresh()})),Object(GS[\"each\"])(n,(function(e){e.refresh()})),Object(GS[\"each\"])(r,(function(e){e.refresh()}))}e.emit(\"aftergraphrefresh\"),e.autoPaint()},t.prototype.getNodes=function(){return this.get(\"nodes\")},t.prototype.getEdges=function(){return this.get(\"edges\")},t.prototype.getCombos=function(){return this.get(\"combos\")},t.prototype.getComboChildren=function(e){if(Object(GS[\"isString\"])(e)&&(e=this.findById(e)),e&&(!e.getType||\"combo\"===e.getType()))return e.getChildren();console.warn(\"The combo does not exist!\")},t.prototype.positionsAnimate=function(e){var t=this;t.emit(\"beforeanimate\");var n=t.get(\"animateCfg\"),r=n.onFrame,o=e?t.getNodes().concat(t.getCombos()):t.getNodes(),i=o.map((function(e){var t=e.getModel();return{id:t.id,x:t.x,y:t.y}}));t.stopAnimate();var a=t.get(\"canvas\");t.animating=!0,a.animate((function(n){Object(GS[\"each\"])(i,(function(e){var o=t.findById(e.id);if(o&&!o.destroyed){var i=o.get(\"originAttrs\"),a=o.get(\"model\"),c=o.getContainer().getMatrix();if(void 0!==i&&null!==i||(c&&(i={x:c[6],y:c[7]}),o.set(\"originAttrs\",i||0)),r){var u=r(o,n,e,i||{x:0,y:0});o.set(\"model\",Object.assign(a,u))}else i?(a.x=i.x+(e.x-i.x)*n,a.y=i.y+(e.y-i.y)*n):(a.x=e.x,a.y=e.y)}})),t.refreshPositions(e)}),{duration:n.duration,easing:n.easing,callback:function(){Object(GS[\"each\"])(o,(function(e){e.set(\"originAttrs\",null)})),n.callback&&n.callback(),t.emit(\"afteranimate\"),t.animating=!1}})},t.prototype.refreshPositions=function(e){var t=this;t.emit(\"beforegraphrefreshposition\");var n,r=t.get(\"nodes\"),o=t.get(\"edges\"),i=t.get(\"vedges\"),a=t.get(\"combos\"),c={},u=function(e){Object(GS[\"each\"])(e,(function(e){n=e.getModel();var t=e.get(\"originAttrs\");if(!t||n.x!==t.x||n.y!==t.y){var r=e.updatePosition({x:n.x,y:n.y});c[n.id]=r,n.comboId&&(c[n.comboId]=c[n.comboId]||r),n.parentId&&(c[n.parentId]=c[n.parentId]||r)}}))};u(a),u(r),a&&0!==a.length&&(e?(u(a),t.updateCombos()):t.updateCombos()),Object(GS[\"each\"])(o,(function(e){var t=e.getSource().getModel(),n=e.getTarget();if(!Object(GS[\"isPlainObject\"])(n)){var r=n.getModel();(c[t.id]||c[r.id]||e.getModel().isComboEdge)&&e.refresh()}})),Object(GS[\"each\"])(i,(function(e){e.refresh()})),t.emit(\"aftergraphrefreshposition\"),t.autoPaint()},t.prototype.stopAnimate=function(){this.isAnimating()&&this.get(\"canvas\").stopAnimate()},t.prototype.isAnimating=function(){return this.animating},t.prototype.getZoom=function(){var e=this.get(\"group\").getMatrix();return e?e[0]:1},t.prototype.getCurrentMode=function(){var e=this.get(\"modeController\");return e.getMode()},t.prototype.setMode=function(e){var t=this.get(\"modeController\");return t.setMode(e),this},t.prototype.clear=function(e){var t;return void 0===e&&(e=!1),null===(t=this.get(\"canvas\"))||void 0===t||t.clear(),this.initGroups(),this.set({itemMap:{},nodes:[],edges:[],vedges:[],groups:[],combos:[],comboTrees:[]}),e||this.emit(\"afterrender\"),this},t.prototype.updateLayout=function(e,t,n,r){var o=this;void 0===e&&(e={}),void 0===r&&(r=!0);var i=this.get(\"layoutController\");if(Object(GS[\"isString\"])(e)&&(e={type:e}),t){var a=n;a||(a=\"begin\"===t?{x:0,y:0}:{x:this.getWidth()/2,y:this.getHeight()/2}),a=this.getPointByCanvas(a.x,a.y);var c=[\"force\",\"gForce\",\"fruchterman\",\"force2\"];c.includes(e.type)||!e.type&&c.includes(null===i||void 0===i?void 0:i.layoutType)?e.center=[a.x,a.y]:this.once(\"afterlayout\",(function(e){var n=o.getGroup().getMatrix()||[1,0,0,0,1,0,0,0,1];a.x=a.x*n[0]+n[6],a.y=a.y*n[0]+n[7];var r=o.getGroup().getCanvasBBox(),i=r.minX,c=r.maxX,u=r.minY,s=r.maxY,l={x:(i+c)/2,y:(u+s)/2};\"begin\"===t&&(l.x=i,l.y=u),o.translate(a.x-l.x,a.y-l.y)}))}var u=Object(US[\"__assign\"])({},this.get(\"layout\")),s={};Object.assign(s,u,e),e.pipes&&!e.type?delete s.type:!e.pipes&&s.type&&delete s.pipes,this.set(\"layout\",s),i&&(i.isLayoutTypeSame(s)&&s.gpuEnabled===u.gpuEnabled?i.updateLayoutCfg(s):i.changeLayout(s),r&&this.get(\"enabledStack\")&&this.pushStack(\"layout\",{before:u,after:s}))},t.prototype.destroyLayout=function(){var e=this.get(\"layoutController\");null===e||void 0===e||e.destroyLayout()},t.prototype.layout=function(){var e,t=this.get(\"layoutController\"),n=this.get(\"layout\");n&&t&&(n.workerEnabled?t.layout():(null===(e=t.layoutMethods)||void 0===e?void 0:e.length)?t.relayout(!0):t.layout())},t.prototype.collapseCombo=function(e,t){var n=this;if(void 0===t&&(t=!0),!this.destroyed)if(Object(GS[\"isString\"])(e)&&(e=this.findById(e)),e){this.emit(\"beforecollapseexpandcombo\",{action:\"expand\",item:e});var r=e.getModel(),o=this.get(\"itemController\");o.collapseCombo(e,t),r.collapsed=!0;var i=this.getEdges().concat(this.get(\"vedges\")),a=[],c=this.get(\"comboTrees\"),u=!1;(c||[]).forEach((function(e){u||hC(e,(function(e){if(u&&e.depth<=r.depth)return!1;if(r.id===e.id&&(u=!0),u){var t=n.findById(e.id);t&&t.getType&&\"combo\"===t.getType()&&(a=a.concat(t.getNodes()),a=a.concat(t.getCombos()))}return!0}))}));var s={};i.forEach((function(e){var t=e.getModel(),o=t.isVEdge,i=t.size,c=void 0===i?1:i;if(!e.isVisible()||o){var u,l=e.getSource(),f=e.getTarget(),d=null;if(l.getModel().id===r.id||a.includes(l)&&!a.includes(f)?(d=f,u=!1):(f.getModel().id===r.id||!a.includes(l)&&a.includes(f))&&(d=l,u=!0),d){if(o)return void n.removeItem(e,!1);var h=d.getModel();while(!d.isVisible()){var p=h.parentId,v=h.comboId,g=p||v;if(d=n.findById(g),!d||!g)return;h=d.getModel()}var m=h.id,y=u?{source:m,target:r.id,size:c,isVEdge:!0}:{source:r.id,target:m,size:c,isVEdge:!0},b=\"\".concat(y.source,\"-\").concat(y.target);if(s[b])return void(s[b].size+=c);s[b]=y}}})),this.addItems(Object.values(s).map((function(e){return{type:\"vedge\",model:e}})),!1),this.emit(\"aftercollapseexpandcombo\",{action:\"collapse\",item:e})}else console.warn(\"The combo to be collapsed does not exist!\")},t.prototype.expandCombo=function(e,t){var n=this;if(void 0===t&&(t=!0),Object(GS[\"isString\"])(e)&&(e=this.findById(e)),!e||e.getType&&\"combo\"!==e.getType())console.warn(\"The combo to be collapsed does not exist!\");else{this.emit(\"beforecollapseexpandcombo\",{action:\"expand\",item:e});var r=e.getModel(),o=this.get(\"itemController\");o.expandCombo(e,t),r.collapsed=!1;var i=this.getEdges().concat(this.get(\"vedges\")),a=[],c=this.get(\"comboTrees\"),u=!1;(c||[]).forEach((function(e){u||hC(e,(function(e){if(u&&e.depth<=r.depth)return!1;if(r.id===e.id&&(u=!0),u){var t=n.findById(e.id);t&&t.getType&&\"combo\"===t.getType()&&(a=a.concat(t.getNodes()),a=a.concat(t.getCombos()))}return!0}))}));var s={};i.forEach((function(e){if(!e.isVisible()||e.getModel().isVEdge){var t,o=e.getSource(),i=e.getTarget(),c=o.get(\"id\"),u=i.get(\"id\"),l=null;if(c===r.id||a.includes(o)&&!a.includes(i)?(l=i,t=!1):u===r.id||!a.includes(o)&&a.includes(i)?(l=o,t=!0):a.includes(o)&&a.includes(i)&&o.isVisible()&&i.isVisible()&&e.show(),l){var f=e.getModel(),d=f.isVEdge,h=f.size,p=void 0===h?1:h;if(d)return void n.removeItem(e,!1);var v=l.getModel();while(!l.isVisible()){var g=v.parentId,m=v.comboId,y=g||m;if(l=n.findById(y),!l||!y)return;v=l.getModel()}var b=v.id,x=t?i:o,w=x.getModel();while(!x.isVisible()){var O=w.parentId,E=w.comboId,S=O||E;if(x=n.findById(S),!x||!S)return;if(w.comboId===r.id||w.parentId===r.id)break;w=x.getModel()}var j=w.id;if(b){var k=t?{source:b,target:j,isVEdge:!0,size:p}:{source:j,target:b,isVEdge:!0,size:p},_=\"\".concat(k.source,\"-\").concat(k.target);if(s[_])return void(s[_].size+=p);s[_]=k}}}})),this.addItems(Object.values(s).map((function(e){return{type:\"vedge\",model:e}})),!1),this.emit(\"aftercollapseexpandcombo\",{action:\"expand\",item:e})}},t.prototype.collapseExpandCombo=function(e,t){if(void 0===t&&(t=!0),Object(GS[\"isString\"])(e)&&(e=this.findById(e)),e&&(!e.getType||\"combo\"===e.getType())){var n=e.getModel(),r=this.findById(n.parentId);while(r){var o=r.getModel();if(o.collapsed)return console.warn(\"Fail to expand the combo since it's ancestor combo is collapsed.\"),void(r=void 0);r=this.findById(o.parentId)}var i=n.collapsed;i?this.expandCombo(e,t):this.collapseCombo(e,t),this.updateCombo(e)}},t.prototype.getNeighbors=function(e,t){var n=e;return Object(GS[\"isString\"])(e)&&(n=this.findById(e)),n.getNeighbors(t)},t.prototype.getNodeDegree=function(e,t,n){void 0===t&&(t=void 0),void 0===n&&(n=!1);var r=e;Object(GS[\"isString\"])(e)&&(r=this.findById(e));var o=this.get(\"degrees\");o&&!n||(o=Sj(this.save()),this.set(\"degrees\",o));var i=o[r.getID()],a=0;if(!i)return 0;switch(t){case\"in\":a=i.inDegree;break;case\"out\":a=i.outDegree;break;case\"all\":a=i;break;default:a=i.degree;break}return a},t.prototype.getUndoStack=function(){return this.undoStack},t.prototype.getRedoStack=function(){return this.redoStack},t.prototype.getStackData=function(){return this.get(\"enabledStack\")?{undoStack:this.undoStack.toArray(),redoStack:this.redoStack.toArray()}:null},t.prototype.clearStack=function(){this.get(\"enabledStack\")&&(this.undoStack.clear(),this.redoStack.clear())},t.prototype.pushStack=function(e,t,n){if(void 0===e&&(e=\"update\"),void 0===n&&(n=\"undo\"),this.get(\"enabledStack\")){var r=t?Object(GS[\"clone\"])(t):{before:{},after:Object(GS[\"clone\"])(this.save())};\"redo\"===n?this.redoStack.push({action:e,data:r}):this.undoStack.push({action:e,data:r}),this.emit(\"stackchange\",{action:e,stackType:n,undoStack:this.undoStack,redoStack:this.redoStack})}else console.warn(\"\\u8bf7\\u5148\\u542f\\u7528 undo & redo \\u529f\\u80fd\\uff0c\\u5728\\u5b9e\\u4f8b\\u5316 Graph \\u65f6\\u5019\\u914d\\u7f6e enabledStack: true !\")},t.prototype.getAdjMatrix=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=this.get(\"directed\"));var n=this.get(\"adjMatrix\");return n&&e||(n=aj(this.save(),t),this.set(\"adjMatrix\",n)),n},t.prototype.getShortestPathMatrix=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=this.get(\"directed\"));var n=this.get(\"adjMatrix\"),r=this.get(\"shortestPathMatrix\");return n&&e||(n=aj(this.save(),t),this.set(\"adjMatrix\",n)),r&&e||(r=Vj(this.save(),t),this.set(\"shortestPathMatrix\",r)),r},t.prototype.on=function(t,n,r){return e.prototype.on.call(this,t,n,r)},t.prototype.destroy=function(){var e,t,n,r,o;this.clear(),this.clearStack(),null===(e=this.get(\"itemController\"))||void 0===e||e.destroy(),null===(t=this.get(\"modeController\"))||void 0===t||t.destroy(),null===(n=this.get(\"viewController\"))||void 0===n||n.destroy(),null===(r=this.get(\"stateController\"))||void 0===r||r.destroy(),null===(o=this.get(\"canvas\"))||void 0===o||o.destroy(),this.cfg=null,this.destroyed=!0,this.redoStack=null,this.undoStack=null},t.prototype.createHull=function(e){if(e.members&&!(e.members.length<1)){var t=this.get(\"hullGroup\"),n=this.get(\"hullMap\");if(n||(n={},this.set(\"hullMap\",n)),t&&!t.get(\"destroyed\")||(t=this.get(\"group\").addGroup({id:\"hullGroup\"}),t.toBack(),this.set(\"hullGroup\",t)),n[e.id])return console.warn(\"Existed hull id.\"),n[e.id];var r=t.addGroup({id:\"\".concat(e.id,\"-container\")}),o=new TL(this,Object(US[\"__assign\"])(Object(US[\"__assign\"])({},e),{group:r})),i=o.id;return n[i]=o,o}console.warn(\"Create hull failed! The members is empty.\")},t.prototype.getHulls=function(){return this.get(\"hullMap\")},t.prototype.getHullById=function(e){return this.get(\"hullMap\")[e]},t.prototype.removeHull=function(e){var t,n;n=Object(GS[\"isString\"])(e)?this.getHullById(e):e,null===(t=this.get(\"hullMap\"))||void 0===t||delete t[n.id],n.destroy()},t.prototype.removeHulls=function(){var e=this.getHulls();e&&Object.keys(e).length&&(Object.keys(e).forEach((function(t){var n=e[t];n.destroy()})),this.set(\"hullMap\",{}))},t}(KS),DL=LL;function RL(e){return RL=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},RL(e)}var FL=o.transform,BL=\"-shape\",zL=\"-label\",UL=[\"startArrow\",\"endArrow\"],GL={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},VL={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},WL={edge:VL,node:GL,combo:GL},HL=\"-label-bg\",YL={options:{labelCfg:{style:{fontFamily:tC.windowFontFamily}},descriptionCfg:{style:{fontFamily:tC.windowFontFamily}}},itemType:\"\",type:\"\",getCustomConfig:function(e){return{}},getOptions:function(e,t){return\"move\"===t||(null===t||void 0===t?void 0:t.includes(\"bbox\"))?e:Object(GS[\"deepMix\"])({},this.options,this.getCustomConfig(e)||{},e)},draw:function(e,t){t[\"shapeMap\"]={},this.mergeStyle=this.getOptions(e);var n=this.drawShape(e,t);if(n.set(\"className\",this.itemType+BL),t[\"shapeMap\"][this.itemType+BL]=n,e.label){var r=this.drawLabel(e,t);r.set(\"className\",this.itemType+zL),t[\"shapeMap\"][this.itemType+zL]=r}return n},afterDraw:function(e,t,n){},drawShape:function(e,t){return null},drawLabel:function(e,t){var n=(this.mergeStyle||this.getOptions(e)||{}).labelCfg,r=n||{},o=this.getLabelStyle(e,r,t),i=o.rotate;delete o.rotate;var a=t.addShape(\"text\",{attrs:o,draggable:!0,className:\"text-shape\",name:\"text-shape\",labelRelated:!0});if(t[\"shapeMap\"][\"text-shape\"]=a,!isNaN(i)&&\"\"!==i){var c=a.getBBox(),u=[1,0,0,0,1,0,0,0,1];if(o.rotateCenter)switch(o.rotateCenter){case\"center\":u=FL(u,[[\"t\",-c.width/2,-c.height/2],[\"r\",i],[\"t\",c.width/2,c.height/2]]);break;case\"lefttop\":u=FL(u,[[\"t\",-o.x,-o.y],[\"r\",i],[\"t\",o.x,o.y]]);break;case\"leftcenter\":u=FL(u,[[\"t\",-o.x,-o.y-c.height/2],[\"r\",i],[\"t\",o.x,o.y+c.height/2]]);break;default:u=FL(u,[[\"t\",-c.width/2,-c.height/2],[\"r\",i],[\"t\",c.width/2,c.height/2]]);break}else u=FL(u,[[\"t\",-o.x,-o.y-c.height/2],[\"r\",i],[\"t\",o.x,o.y+c.height/2]]);a.setMatrix(u)}if(o.background){var s=this.drawLabelBg(e,t,a),l=this.itemType+HL;s.set(\"classname\",l),t[\"shapeMap\"][l]=s,a.toFront()}return a},drawLabelBg:function(e,t,n){var r=this.options.labelCfg,o=Object(GS[\"mix\"])({},r,e.labelCfg),i=this.getLabelBgStyleByPosition(n,o),a=t.addShape(\"rect\",{name:\"text-bg-shape\",attrs:i,labelRelated:!0});return t[\"shapeMap\"][\"text-bg-shape\"]=a,a},getLabelStyleByPosition:function(e,t,n){return{text:e.label}},getLabelBgStyleByPosition:function(e,t){return{}},getLabelStyle:function(e,t,n){var r=this.getLabelStyleByPosition(e,t,n),o=\"\".concat(this.itemType,\"Label\"),i=tC[o]?tC[o].style:null;return Object(US[\"__assign\"])(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},i),r),t.style)},getShapeStyle:function(e){return e.style},update:function(e,t,n){this.updateShapeStyle(e,t,n),this.updateLabel(e,t,n)},updateShapeStyle:function(e,t,n){var r,o=t.getContainer(),i=t.getKeyShape(),a=Object(GS[\"mix\"])({},i.attr(),e.style),c=function(e){var t,n=a[e];if(Object(GS[\"isPlainObject\"])(n)){var c=(null===(r=o[\"shapeMap\"])||void 0===r?void 0:r[e])||o.find((function(t){return t.get(\"name\")===e}));null===c||void 0===c||c.attr(n)}else i.attr((t={},t[e]=n,t))};for(var u in a)c(u)},updateLabel:function(e,t,n){var r,o;if(e.label||\"\"===e.label){var i=t.getContainer(),a=(this.mergeStyle||this.getOptions({},n)||{}).labelCfg,c=void 0===a?{}:a,u=this.itemType+zL,s=i[\"shapeMap\"][u]||i.find((function(e){return e.get(\"className\")===u})),l=this.itemType+HL,f=i[\"shapeMap\"][l]||i.find((function(e){return e.get(\"className\")===l}));if(s){(!n||\"bbox|label\"===n||\"edge\"===this.itemType&&\"style\"!==n)&&(c=Object(GS[\"deepMix\"])(c,e.labelCfg));var d=this.getLabelStyleByPosition(e,c,i),h=null===(r=e.labelCfg)||void 0===r?void 0:r.style,p=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},d),h),v=p.rotate;if(delete p.rotate,isNaN(v)||\"\"===v)1!==(null===(o=s.getMatrix())||void 0===o?void 0:o[4])&&s.resetMatrix(),s.attr(p);else{var g=[1,0,0,0,1,0,0,0,1];g=FL(g,[[\"t\",-p.x,-p.y],[\"r\",v],[\"t\",p.x,p.y]]),p.matrix=g,s.attr(p)}if(f)if(p.background){var m=this.getLabelBgStyleByPosition(s,c);f.attr(m)}else i.removeChild(f);else p.background&&(f=this.drawLabelBg(e,i,s),f.set(\"classname\",l),i[\"shapeMap\"][l]=f,s.toFront())}else{var y=this.drawLabel(e,i);y.set(\"className\",u),i[\"shapeMap\"][u]=y}}},afterUpdate:function(e,t){},setState:function(e,t,n){var r,o,i,a=n.get(\"keyShape\");if(a&&!a.destroyed){var c=n.getType(),u=Object(GS[\"isBoolean\"])(t)?e:\"\".concat(e,\":\").concat(t),s=this.getStateStyle(u,n),l=n.getStateStyle(u);if(l||s){var f=Object(GS[\"mix\"])({},l||s),d=n.getContainer(),h={x:1,y:1,cx:1,cy:1,matrix:1};if(\"combo\"===c&&(h.r=1,h.width=1,h.height=1),t){var p=function(e){var t,n=f[e];if(Object(GS[\"isPlainObject\"])(n)&&!UL.includes(e)){var r=(null===(i=d[\"shapeMap\"])||void 0===i?void 0:i[e])||d.find((function(t){return t.get(\"name\")===e}));null===r||void 0===r||r.attr(n)}else a.attr((t={},t[e]=n,t))};for(var v in f)p(v)}else{var g=OC(n.getCurrentStatesStyle()),m=n.getModel(),y=Object(GS[\"mix\"])({},m.style,OC(n.getOriginStyle())),b=a.get(\"name\"),x=a.attr(),w={};Object.keys(x).forEach((function(e){if(\"img\"!==e){var t=x[e];t&&\"object\"===RL(t)?w[e]=Object(GS[\"clone\"])(t):w[e]=t}}));var O={},E=function(e){var t=f[e];if(Object(GS[\"isPlainObject\"])(t)&&!UL.includes(e)){var n=d[\"shapeMap\"][e]||d.find((function(t){return t.get(\"name\")===e}));if(n){var r=OC(n.attr());Object(GS[\"each\"])(t,(function(t,o){if(e===b&&w[o]&&!h[o]){delete w[o];var i=y[e][o]||WL[c][o];a.attr(o,i)}else if(r[o]||0===r[o]){delete r[o];var u=y[e][o]||WL[c][o];n.attr(o,u)}})),O[e]=r}}else if(w[e]&&!h[e]){delete w[e];var o=y[e]||(y[b]?y[b][e]:void 0)||WL[c][e];a.attr(e,o)}};for(var S in f)E(S);for(var v in b?O[b]=w:Object(GS[\"mix\"])(O,w),g)if(!h[v]){var j=g[v];Object(GS[\"isPlainObject\"])(j)&&!UL.includes(v)||(b?(Object(GS[\"mix\"])(y[b],(o={},o[v]=j,o)),delete y[v]):Object(GS[\"mix\"])(y,(r={},r[v]=j,r)),delete g[v])}var k={};Object(GS[\"deepMix\"])(k,y,O,g);var _=!1,C=function(e){var t,n,r=k[e];if(Object(GS[\"isPlainObject\"])(r)&&!UL.includes(e)){var o=d[\"shapeMap\"][e]||d.find((function(t){return t.get(\"name\")===e}));o&&((\"text\"===o.get(\"type\")||o.get(\"labelRelated\"))&&(delete r.x,delete r.y,delete r.matrix),e===b&&(\"combo\"===c&&(delete r.r,delete r.width,delete r.height),_=!0),o.attr(r))}else if(!_){var i=r||WL[c][e];\"combo\"===c?b||a.attr((t={},t[e]=i,t)):a.attr((n={},n[e]=i,n))}};for(var M in k)C(M)}}}},getStateStyle:function(e,t){var n=t.getModel(),r=t.getType(),o=this.getOptions(n),i=o.stateStyles,a=o.style,c=void 0===a?{}:a,u=n.stateStyles?n.stateStyles[e]:i&&i[e];return\"combo\"===r?Object(GS[\"clone\"])(u):Object(GS[\"mix\"])({},c,u)},getControlPoints:function(e){return e.controlPoints},getAnchorPoints:function(e){var t,n,r=(null===e||void 0===e?void 0:e.anchorPoints)||(null===(t=this.getCustomConfig(e))||void 0===t?void 0:t.anchorPoints)||(null===(n=this.options)||void 0===n?void 0:n.anchorPoints);return r}},XL={itemType:\"node\",shapeType:\"single-node\",labelPosition:\"center\",offset:tC.nodeLabel.offset,getSize:function(e){var t,n=(null===(t=this.mergeStyle)||void 0===t?void 0:t.size)||e.size||this.getOptions({}).size||tC.defaultNode.size;return Object(GS[\"isArray\"])(n)&&1===n.length&&(n=[n[0],n[0]]),Object(GS[\"isArray\"])(n)||(n=[n,n]),n},getLabelStyleByPosition:function(e,t){var n=t.maxLength,r=e.label;n&&(r=mC(r,n));var o=t.position||this.labelPosition;if(\"center\"===o)return{x:0,y:0,text:r,textBaseline:\"middle\",textAlign:\"center\"};var i=t.offset;Object(GS[\"isNil\"])(i)&&(i=this.offset);var a,c=this.getSize(e);switch(o){case\"top\":a={x:0,y:-c[1]/2-i,textBaseline:\"bottom\",textAlign:\"center\"};break;case\"bottom\":a={x:0,y:c[1]/2+i,textBaseline:\"top\",textAlign:\"center\"};break;case\"left\":a={x:-c[0]/2-i,y:0,textBaseline:\"middle\",textAlign:\"right\"};break;default:a={x:c[0]/2+i,y:0,textBaseline:\"middle\",textAlign:\"left\"};break}return a.text=r,a},getLabelBgStyleByPosition:function(e,t){var n;if(!e)return{};var r=null===(n=t.style)||void 0===n?void 0:n.background;if(!r)return{};var o=e.getBBox(),i=aP(r.padding),a=o.width+i[1]+i[3],c=o.height+i[0]+i[2];return Object(US[\"__assign\"])(Object(US[\"__assign\"])({x:o.minX-i[3],y:o.minY-i[0]},r),{width:a,height:c})},drawShape:function(e,t){var n=this.shapeType,r=this.getShapeStyle(e),o=t.addShape(n,{attrs:r,draggable:!0,name:\"node-shape\"});return t[\"shapeMap\"][\"node-shape\"]=o,o},updateLinkPoints:function(e,t){var n,r=(this.mergeStyle||this.getOptions(e)).linkPoints,o=t[\"shapeMap\"][\"link-point-left\"]||t.find((function(e){return\"link-point-left\"===e.get(\"className\")})),i=t[\"shapeMap\"][\"link-point-right\"]||t.find((function(e){return\"link-point-right\"===e.get(\"className\")})),a=t[\"shapeMap\"][\"link-point-top\"]||t.find((function(e){return\"link-point-top\"===e.get(\"className\")})),c=t[\"shapeMap\"][\"link-point-bottom\"]||t.find((function(e){return\"link-point-bottom\"===e.get(\"className\")}));o&&(n=o.attr()),i&&!n&&(n=i.attr()),a&&!n&&(n=a.attr()),c&&!n&&(n=c.attr()),n||(n=r);var u=Object(GS[\"mix\"])({},n,e.linkPoints),s=u.fill,l=u.stroke,f=u.lineWidth,d=u.size/2;d||(d=u.r);var h=e.linkPoints?e.linkPoints:{left:void 0,right:void 0,top:void 0,bottom:void 0},p=h.left,v=h.right,g=h.top,m=h.bottom,y=this.getSize(e),b=y[0],x=y[1],w={r:d,fill:s,stroke:l,lineWidth:f};if(o)p||void 0===p?o.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},w),{x:-b/2,y:0})):(o.remove(),delete t[\"shapeMap\"][\"link-point-left\"]);else if(p){var O=\"link-point-left\";t[\"shapeMap\"][O]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},w),{x:-b/2,y:0}),className:O,name:O,isAnchorPoint:!0})}if(i)v||void 0===v||(i.remove(),delete t[\"shapeMap\"][\"link-point-right\"]),i.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},w),{x:b/2,y:0}));else if(v){var E=\"link-point-right\";t[\"shapeMap\"][E]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},w),{x:b/2,y:0}),className:E,name:E,isAnchorPoint:!0})}if(a)g||void 0===g||(a.remove(),delete t[\"shapeMap\"][\"link-point-top\"]),a.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},w),{x:0,y:-x/2}));else if(g){var S=\"link-point-top\";t[\"shapeMap\"][S]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},w),{x:0,y:-x/2}),className:S,name:S,isAnchorPoint:!0})}if(c)m||void 0===m?c.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},w),{x:0,y:x/2})):(c.remove(),delete t[\"shapeMap\"][\"link-point-bottom\"]);else if(m){var j=\"link-point-bottom\";t[\"shapeMap\"][j]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},w),{x:0,y:x/2}),className:j,name:j,isAnchorPoint:!0})}},updateShape:function(e,t,n,r,o){var i=t.get(\"keyShape\");i.attr(Object(US[\"__assign\"])({},n)),this.updateLabel(e,t,o),r&&this.updateIcon(e,t)},updateIcon:function(e,t){var n=this,r=t.getContainer(),o=(this.mergeStyle||this.getOptions(e)).icon,i=e.icon?e.icon:{show:void 0,text:void 0},a=i.show,c=i.text,u=r[\"shapeMap\"][\"\".concat(this.type,\"-icon\")]||r.find((function(e){return e.get(\"name\")===\"\".concat(n.type,\"-icon\")}));if(u)if(a||void 0===a){var s=Object(GS[\"mix\"])({},u.attr(),o),l=s.width,f=void 0===l?20:l,d=s.height,h=void 0===d?20:d;(\"iconfont\"===s.fontFamily||s.hasOwnProperty(\"text\"))&&(f=0,h=0),u.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},s),{x:-f/2,y:-h/2}))}else u.remove(),delete r[\"shapeMap\"][\"\".concat(this.type,\"-icon\")];else if(a){var p=\"\".concat(this.type,\"-icon\");if(c)r[\"shapeMap\"][p]=r.addShape(\"text\",{attrs:Object(US[\"__assign\"])({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},o),className:p,name:p});else{f=o.width,h=o.height;r[\"shapeMap\"][p]=r.addShape(\"image\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},o),{x:-f/2,y:-h/2}),className:p,name:p})}var v=r[\"shapeMap\"][\"node-label\"]||r.find((function(e){return\"node-label\"===e.get(\"name\")}));v&&v.toFront()}}},qL=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},YL),XL);MP.registerNode(\"single-node\",qL);var KL=\"edge-shape\";function ZL(e){var t=e;return\"start\"===e?t=\"end\":\"end\"===e&&(t=\"start\"),t}var $L={itemType:\"edge\",labelPosition:\"center\",refX:0,refY:0,labelAutoRotate:!1,options:{size:tC.defaultEdge.size,style:{x:0,y:0,stroke:tC.defaultEdge.style.stroke,lineAppendWidth:tC.defaultEdge.style.lineAppendWidth},labelCfg:{style:{fill:tC.edgeLabel.style.fill,fontSize:tC.edgeLabel.style.fontSize,fontFamily:tC.windowFontFamily}},stateStyles:Object(US[\"__assign\"])({},tC.edgeStateStyles)},getPath:function(e){var t=[];return Object(GS[\"each\"])(e,(function(e,n){0===n?t.push([\"M\",e.x,e.y]):t.push([\"L\",e.x,e.y])})),t},getShapeStyle:function(e){var t=this.options.style,n={stroke:e.color},r=Object(GS[\"mix\"])({},t,n,e.style),o=e.size||tC.defaultEdge.size;e=this.getPathPoints(e);var i=e.startPoint,a=e.endPoint,c=this.getControlPoints(e),u=[i];c&&(u=u.concat(c)),u.push(a);var s=this.getPath(u),l=Object(GS[\"mix\"])({},tC.defaultEdge.style,{stroke:tC.defaultEdge.color,lineWidth:o,path:s},r);return l},updateShapeStyle:function(e,t,n){var r,o=t.getContainer(),i=(null===(r=t.getKeyShape)||void 0===r?void 0:r.call(t))||o[\"shapeMap\"][\"edge-shape\"],a=e.size;e=this.getPathPoints(e);var c=e.startPoint,u=e.endPoint,s=this.getControlPoints(e),l=[c];s&&(l=l.concat(s)),l.push(u);var f=i.attr(),d=e.style||{};void 0===d.stroke&&(d.stroke=e.color);var h=e.sourceNode,p=e.targetNode,v={radius:d.radius};s||(v={source:h,target:p,offset:d.offset,radius:d.radius});var g=this.getPath(l,v),m={};\"move\"===n?m={path:g}:(f.endArrow&&!1===d.endArrow&&(e.style.endArrow={path:\"\"}),f.startArrow&&!1===d.startArrow&&(e.style.startArrow={path:\"\"}),m=Object(US[\"__assign\"])({},e.style),void 0===m.lineWidth&&(m.lineWdith=(Object(GS[\"isNumber\"])(a)?a:null===a||void 0===a?void 0:a[0])||f.lineWidth),void 0===m.path&&(m.path=g),void 0===m.stroke&&(m.stroke=f.stroke||e.color)),i&&i.attr(m)},getLabelStyleByPosition:function(e,t,n){var r,o=t.position||this.labelPosition,i={},a=null===n||void 0===n?void 0:n[\"shapeMap\"][KL];r=\"start\"===o?0:\"end\"===o?1:.5;var c,u=t.refX||this.refX,s=t.refY||this.refY;if(e.startPoint.x===e.endPoint.x&&e.startPoint.y===e.endPoint.y)return i.x=e.startPoint.x+u,i.y=e.startPoint.y+s,i.text=e.label,i;c=Object(GS[\"isNil\"])(t.autoRotate)?this.labelAutoRotate:t.autoRotate;var l=lC(a,r,u,s,c);return i.x=l.x,i.y=l.y,i.rotate=l.rotate,i.textAlign=this._getTextAlign(o,l.angle),i.text=e.label,i},getLabelBgStyleByPosition:function(e,t){if(!e)return{};var n=e.getBBox(),r=t.style&&t.style.background;if(!r)return{};var o,i=r.padding,a=n.width+i[1]+i[3],c=n.height+i[0]+i[2],u=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},r),{width:a,height:c,x:n.minX-i[3],y:n.minY-i[0],matrix:[1,0,0,0,1,0,0,0,1]});return o=Object(GS[\"isNil\"])(t.autoRotate)?this.labelAutoRotate:t.autoRotate,o&&(u.matrix=e.attr(\"matrix\")||[1,0,0,0,1,0,0,0,1]),u},_getTextAlign:function(e,t){var n=\"center\";return t?(t%=2*Math.PI,\"center\"!==e&&(n=t>=0&&t<=Math.PI/2||t>=1.5*Math.PI&&t<2*Math.PI?e:ZL(e)),n):e},getControlPoints:function(e){return e.controlPoints},getPathPoints:function(e){return e},drawShape:function(e,t){var n=this.getShapeStyle(e),r=t.addShape(\"path\",{className:KL,name:KL,attrs:n});return t[\"shapeMap\"][KL]=r,r},drawLabel:function(e,t){var n=this.options.labelCfg,r=Object(GS[\"deepMix\"])({},n,e.labelCfg),o=this.getLabelStyle(e,r,t),i=o.rotate;delete o.rotate;var a=t.addShape(\"text\",{attrs:o,name:\"text-shape\",labelRelated:!0});if(t[\"shapeMap\"][\"text-shape\"]=a,isNaN(i)||\"\"===i||a.rotateAtStart(i),o.background){var c=this.drawLabelBg(e,t,a,o,i),u=this.itemType+HL;c.set(\"classname\",u),t[\"shapeMap\"][u]=c,a.toFront()}return a},drawLabelBg:function(e,t,n,r,o){var i=this.options.labelCfg,a=Object(GS[\"deepMix\"])({},i,e.labelCfg),c=this.getLabelBgStyleByPosition(n,a),u=t.addShape(\"rect\",{name:\"text-bg-shape\",attrs:c,labelRelated:!0});return t[\"shapeMap\"][\"text-bg-shape\"]=u,u}},QL=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},YL),$L);MP.registerEdge(\"single-edge\",QL),MP.registerEdge(\"line\",{getControlPoints:function(){}},\"single-edge\"),MP.registerEdge(\"spline\",{getPath:function(e){var t=uL(e);return t}},\"single-edge\"),MP.registerEdge(\"arc\",{curveOffset:20,clockwise:1,getControlPoints:function(e){var t,n,r=e.startPoint,o=e.endPoint,i={x:(r.x+o.x)/2,y:(r.y+o.y)/2};if(void 0!==e.controlPoints){if(n=e.controlPoints[0],t=h_(r,n,o),r.x<=o.x&&r.y>o.y?this.clockwise=t.x>n.x?0:1:r.x<=o.x&&r.y<o.y?this.clockwise=t.x>n.x?1:0:r.x>o.x&&r.y<=o.y?this.clockwise=t.y<n.y?0:1:this.clockwise=t.y<n.y?1:0,(n.x-r.x)/(n.y-r.y)===(o.x-r.x)/(o.y-r.y))return[]}else{void 0===e.curveOffset&&(e.curveOffset=this.curveOffset),Object(GS[\"isArray\"])(e.curveOffset)&&(e.curveOffset=e.curveOffset[0]),e.curveOffset<0?this.clockwise=0:this.clockwise=1;var a={x:o.x-r.x,y:o.y-r.y},c=Math.atan2(a.y,a.x);n={x:e.curveOffset*Math.cos(-Math.PI/2+c)+i.x,y:e.curveOffset*Math.sin(-Math.PI/2+c)+i.y},t=h_(r,n,o)}var u=p_(r,t),s=[{x:u,y:u}];return s},getPath:function(e){var t=[];return t.push([\"M\",e[0].x,e[0].y]),2===e.length?t.push([\"L\",e[1].x,e[1].y]):t.push([\"A\",e[1].x,e[1].y,0,0,this.clockwise,e[2].x,e[2].y]),t}},\"single-edge\"),MP.registerEdge(\"quadratic\",{curvePosition:.5,curveOffset:-20,getControlPoints:function(e){var t=e.controlPoints;if(!t||!t.length){var n=e.startPoint,r=e.endPoint;void 0===e.curveOffset&&(e.curveOffset=this.curveOffset),void 0===e.curvePosition&&(e.curvePosition=this.curvePosition),Object(GS[\"isArray\"])(this.curveOffset)&&(e.curveOffset=e.curveOffset[0]),Object(GS[\"isArray\"])(this.curvePosition)&&(e.curvePosition=e.curveOffset[0]);var o=sL(n,r,e.curvePosition,e.curveOffset);t=[o]}return t},getPath:function(e){var t=[];return t.push([\"M\",e[0].x,e[0].y]),t.push([\"Q\",e[1].x,e[1].y,e[2].x,e[2].y]),t}},\"single-edge\"),MP.registerEdge(\"cubic\",{curvePosition:[.5,.5],curveOffset:[-20,20],getControlPoints:function(e){var t=e.controlPoints;if(void 0===e.curveOffset&&(e.curveOffset=this.curveOffset),void 0===e.curvePosition&&(e.curvePosition=this.curvePosition),Object(GS[\"isNumber\"])(e.curveOffset)&&(e.curveOffset=[e.curveOffset,-e.curveOffset]),Object(GS[\"isNumber\"])(e.curvePosition)&&(e.curvePosition=[e.curvePosition,1-e.curvePosition]),!t||!t.length||t.length<2){var n=e.startPoint,r=e.endPoint,o=sL(n,r,e.curvePosition[0],e.curveOffset[0]),i=sL(n,r,e.curvePosition[1],e.curveOffset[1]);t=[o,i]}return t},getPath:function(e){var t=[];return t.push([\"M\",e[0].x,e[0].y]),t.push([\"C\",e[1].x,e[1].y,e[2].x,e[2].y,e[3].x,e[3].y]),t}},\"single-edge\"),MP.registerEdge(\"cubic-vertical\",{curvePosition:[.5,.5],minCurveOffset:[0,0],curveOffset:void 0,getControlPoints:function(e){var t=e.startPoint,n=e.endPoint;void 0===e.curvePosition&&(e.curvePosition=this.curvePosition),void 0===e.curveOffset&&(e.curveOffset=this.curveOffset),void 0===e.minCurveOffset&&(e.minCurveOffset=this.minCurveOffset),Object(GS[\"isNumber\"])(e.curveOffset)&&(e.curveOffset=[e.curveOffset,-e.curveOffset]),Object(GS[\"isNumber\"])(e.minCurveOffset)&&(e.minCurveOffset=[e.minCurveOffset,-e.minCurveOffset]),Object(GS[\"isNumber\"])(e.curvePosition)&&(e.curvePosition=[e.curvePosition,1-e.curvePosition]);var r=n.y-t.y,o=[0,0];e.curveOffset?o=e.curveOffset:Math.abs(r)<Math.abs(e.minCurveOffset[0])&&(o=e.minCurveOffset);var i={x:t.x,y:t.y+r*this.curvePosition[0]+o[0]},a={x:n.x,y:n.y-r*this.curvePosition[1]+o[1]};return[i,a]}},\"cubic\"),MP.registerEdge(\"cubic-horizontal\",{curvePosition:[.5,.5],minCurveOffset:[0,0],curveOffset:void 0,getControlPoints:function(e){var t=e.startPoint,n=e.endPoint;void 0===e.curvePosition&&(e.curvePosition=this.curvePosition),void 0===e.curveOffset&&(e.curveOffset=this.curveOffset),void 0===e.minCurveOffset&&(e.minCurveOffset=this.minCurveOffset),Object(GS[\"isNumber\"])(e.curveOffset)&&(e.curveOffset=[e.curveOffset,-e.curveOffset]),Object(GS[\"isNumber\"])(e.minCurveOffset)&&(e.minCurveOffset=[e.minCurveOffset,-e.minCurveOffset]),Object(GS[\"isNumber\"])(e.curvePosition)&&(e.curvePosition=[e.curvePosition,1-e.curvePosition]);var r=n.x-t.x,o=[0,0];e.curveOffset?o=e.curveOffset:Math.abs(r)<Math.abs(e.minCurveOffset[0])&&(o=e.minCurveOffset);var i={x:t.x+r*this.curvePosition[0]+o[0],y:t.y},a={x:n.x-r*this.curvePosition[1]+o[1],y:n.y},c=[i,a];return c}},\"cubic\"),MP.registerEdge(\"loop\",{getPathPoints:function(e){return sC(e)},getControlPoints:function(e){return e.controlPoints},afterDraw:function(e){e.controlPoints=void 0},afterUpdate:function(e){e.controlPoints=void 0}},\"cubic\");var JL={itemType:\"combo\",shapeType:\"single-combo\",labelPosition:\"top\",refX:tC.comboLabel.refX,refY:tC.comboLabel.refY,options:{style:{stroke:tC.defaultCombo.style.stroke,fill:tC.defaultCombo.style.fill,lineWidth:tC.defaultCombo.style.lineWidth},labelCfg:{style:{fill:tC.comboLabel.style.fill,fontSize:tC.comboLabel.style.fontSize,fontFamily:tC.windowFontFamily}},stateStyles:Object(US[\"__assign\"])({},tC.comboStateStyles),collapsedSubstituteIcon:{show:!1,img:\"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*RsnHRqLfJn4AAAAAAAAAAAAAARQnAQ\"}},getSize:function(e){var t=Object(GS[\"clone\"])(e.size||this.options.size||tC.defaultCombo.size);return Object(GS[\"isArray\"])(t)&&1===t.length&&(t=[t[0],t[0]]),Object(GS[\"isArray\"])(t)||(t=[t,t]),t},getLabelStyleByPosition:function(e,t){var n=t.position||this.labelPosition,r=e.style,o=e.padding||this.options.padding;Object(GS[\"isArray\"])(o)&&(o=o[0]);var i=t.refX,a=t.refY;Object(GS[\"isNil\"])(i)&&(i=this.refX),Object(GS[\"isNil\"])(a)&&(a=this.refY);var c,u=this.getSize(e),s=Math.max(r.r,u[0]/2)||u[0]/2,l=s+o;switch(n){case\"top\":c={x:0,y:-l-a,textBaseline:\"bottom\",textAlign:\"center\"};break;case\"bottom\":c={x:0,y:l+a,textBaseline:\"bottom\",textAlign:\"center\"};break;case\"left\":c={x:-l+i,y:0,textAlign:\"left\"};break;case\"center\":c={x:0,y:0,text:e.label,textAlign:\"center\"};break;default:c={x:l+i,y:0,textAlign:\"right\"};break}return c.text=e.label,c},drawShape:function(e,t){var n=this.shapeType,r=this.getShapeStyle(e),o=t.addShape(n,{attrs:r,draggable:!0,name:\"combo-shape\"});return o},updateCollapsedIcon:function(e,t,n){var r=e.collapsed,o=e.collapsedSubstituteIcon,i=void 0===o?{}:o,a=Object.assign({},this.options.collapsedSubstituteIcon,i),c=a.show,u=a.img,s=a.width,l=a.height,f=t.getContainer(),d=f.find((function(e){return\"combo-collapsed-substitute-icon\"===e.get(\"name\")})),h=d&&!d.destroyed,p=t.get(\"keyShape\");if(r&&c){if(h)d.show();else{var v={width:s||2*n.r||n.width,height:l||2*n.r||n.height};d=f.addShape(\"image\",{attrs:Object(US[\"__assign\"])({img:u,x:-v.width/2,y:-v.height/2},v),name:\"combo-collapsed-substitute-icon\",draggable:!0})}p.hide()}else h&&(d.hide(),p.show())},updateShape:function(e,t,n){var r=this,o=t.get(\"keyShape\"),i=t.get(\"animate\"),a=i&&(void 0===e.animate?this.options.animate:e.animate);a&&o.animate?(e.collapsed||this.updateCollapsedIcon(e,t,n),o.animate(n,{duration:200,easing:\"easeLinear\",callback:function(){e.collapsed&&r.updateCollapsedIcon(e,t,n)}})):(o.attr(Object(US[\"__assign\"])({},n)),this.updateCollapsedIcon(e,t,n)),this.updateLabel(e,t)}},eD=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},YL),JL);MP.registerCombo(\"single-combo\",eD),MP.registerCombo(\"circle\",{options:{size:[tC.defaultCombo.size[0],tC.defaultCombo.size[0]],padding:tC.defaultCombo.padding[0],animate:!0,style:{stroke:tC.defaultCombo.style.stroke,fill:tC.defaultCombo.style.fill,lineWidth:tC.defaultCombo.style.lineWidth},labelCfg:{style:{fill:tC.comboLabel.style.fill,fontSize:tC.comboLabel.style.fontSize},refX:0,refY:0},stateStyles:Object(US[\"__assign\"])({},tC.comboStateStyles),collapsedSubstituteIcon:{show:!1,img:\"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*RsnHRqLfJn4AAAAAAAAAAAAAARQnAQ\"}},shapeType:\"circle\",labelPosition:\"top\",drawShape:function(e,t){var n=this.getShapeStyle(e);delete n.height,delete n.width;var r=t.addShape(\"circle\",{attrs:n,className:\"circle-combo\",name:\"circle-combo\",draggable:!0});return r},getShapeStyle:function(e){var t=this.options.style,n=e.padding||this.options.padding;Object(GS[\"isArray\"])(n)&&(n=n[0]);var r,o={stroke:e.color},i=Object(GS[\"mix\"])({},t,o,e.style),a=e.collapsed&&e.fixCollapseSize?e.fixCollapseSize:e.fixSize;if(a)r=Object(GS[\"isNumber\"])(a)?a:a[0];else{var c=this.getSize(e);r=!Object(GS[\"isNumber\"])(i.r)||isNaN(i.r)?c[0]/2||tC.defaultCombo.style.r:Math.max(i.r,c[0]/2)||c[0]/2}i.r=r+n;var u=Object(US[\"__assign\"])({x:0,y:0},i);return e.style?e.style.r=r:e.style={r:r},u},update:function(e,t){var n=this.getSize(e),r=e.padding||this.options.padding;Object(GS[\"isArray\"])(r)&&(r=r[0]);var o,i=Object(GS[\"clone\"])(e.style),a=e.collapsed&&e.fixCollapseSize?e.fixCollapseSize:e.fixSize;o=a?Object(GS[\"isNumber\"])(a)?a:a[0]:Math.max(i.r,n[0]/2)||n[0]/2,i.r=o+r;var c=t.get(\"sizeCache\");c&&(c.r=i.r);var u={stroke:e.color},s=t.get(\"keyShape\"),l=Object(GS[\"mix\"])({},s.attr(),u,i);e.style?e.style.r=o:e.style={r:o},this.updateShape(e,t,l,!0)}},\"single-combo\"),MP.registerCombo(\"rect\",{options:{size:[40,5],padding:[25,20,15,20],animate:!0,style:{radius:0,stroke:tC.defaultCombo.style.stroke,fill:tC.defaultCombo.style.fill,lineWidth:tC.defaultCombo.style.lineWidth},labelCfg:{style:{fill:tC.comboLabel.style.fill,fontSize:tC.comboLabel.style.fontSize,fontFamily:tC.windowFontFamily}},anchorPoints:[[0,.5],[1,.5]],stateStyles:Object(US[\"__assign\"])({},tC.comboStateStyles),collapsedSubstituteIcon:{show:!1,img:\"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*RsnHRqLfJn4AAAAAAAAAAAAAARQnAQ\"}},shapeType:\"rect\",labelPosition:\"top\",drawShape:function(e,t){var n=this.getShapeStyle(e),r=t.addShape(\"rect\",{attrs:n,className:\"rect-combo\",name:\"rect-combo\",draggable:!0});return r},getLabelStyleByPosition:function(e,t){var n=t.position||this.labelPosition,r=e.style,o=e.padding||this.options.padding;Object(GS[\"isNumber\"])(o)&&(o=[o,o,o,o]);var i=t.refX,a=t.refY;Object(GS[\"isNil\"])(i)&&(i=this.refX),Object(GS[\"isNil\"])(a)&&(a=this.refY);var c,u=r.width/2+o[3],s=r.height/2+o[0];switch(n){case\"top\":c={x:0-u+i,y:0-s+a,textBaseline:\"top\",textAlign:\"left\"};break;case\"bottom\":c={x:0,y:s+a,textBaseline:\"bottom\",textAlign:\"center\"};break;case\"left\":c={x:0-u+a,y:0,textAlign:\"left\"};break;case\"center\":c={x:0,y:0,text:e.label,textAlign:\"center\"};break;default:c={x:u+i,y:0,textAlign:\"right\"};break}return c.text=e.label,c},getShapeStyle:function(e){var t=this.options.style,n=e.padding||this.options.padding;Object(GS[\"isNumber\"])(n)&&(n=[n,n,n,n]);var r,o,i={stroke:e.color},a=Object(GS[\"mix\"])({},t,i,e.style),c=this.getSize(e),u=e.collapsed&&e.fixCollapseSize?e.fixCollapseSize:e.fixSize;u?Object(GS[\"isNumber\"])(u)?(r=u,o=u):(r=u[0],o=u[1]):(r=!Object(GS[\"isNumber\"])(a.width)||isNaN(a.width)?c[0]||tC.defaultCombo.style.width:Math.max(a.width,c[0])||c[0],o=!Object(GS[\"isNumber\"])(a.height)||isNaN(a.height)?c[1]||tC.defaultCombo.style.height:Math.max(a.height,c[1])||c[1]);var s=-r/2-n[3],l=-o/2-n[0];a.width=r+n[1]+n[3],a.height=o+n[0]+n[2];var f=Object(US[\"__assign\"])({x:s,y:l},a);return e.style?(e.style.width=r,e.style.height=o):e.style={width:r,height:o},f},update:function(e,t){var n=this.getSize(e),r=e.padding||this.options.padding;Object(GS[\"isNumber\"])(r)&&(r=[r,r,r,r]);var o,i,a=Object(GS[\"clone\"])(e.style),c=e.collapsed&&e.fixCollapseSize?e.fixCollapseSize:e.fixSize;c?Object(GS[\"isNumber\"])(c)?(o=c,i=c):(o=c[0],i=c[1]):(o=Math.max(a.width,n[0])||n[0],i=Math.max(a.height,n[1])||n[1]),a.width=o+r[1]+r[3],a.height=i+r[0]+r[2];var u=t.get(\"sizeCache\");u&&(u.width=a.width,u.height=a.height),a.x=-o/2-r[3],a.y=-i/2-r[0];var s={stroke:e.color},l=t.get(\"keyShape\"),f=Object(GS[\"mix\"])({},l.attr(),s,a);e.style?(e.style.width=o,e.style.height=i):e.style={width:o,height:i},this.updateShape(e,t,f,!1)}},\"single-combo\"),MP.registerNode(\"simple-circle\",{options:{size:tC.defaultNode.size,style:{x:0,y:0,stroke:tC.defaultNode.style.stroke,fill:tC.defaultNode.style.fill,lineWidth:tC.defaultNode.style.lineWidth},labelCfg:{style:{fill:tC.nodeLabel.style.fill,fontSize:tC.nodeLabel.style.fontSize,fontFamily:tC.windowFontFamily}},stateStyles:Object(US[\"__assign\"])({},tC.nodeStateStyles)},shapeType:\"simple-circle\",labelPosition:\"center\",shapeMap:{},drawShape:function(e,t){var n=this.getShapeStyle(e),r=\"\".concat(this.type,\"-keyShape\"),o=t.addShape(\"circle\",{attrs:n,className:\"\".concat(this.type,\"-keyShape\"),name:r,draggable:!0});return t[\"shapeMap\"][r]=o,o},getShapeStyle:function(e){var t=(this.mergeStyle||this.getOptions(e)).style,n={stroke:e.color},r=Object(GS[\"deepMix\"])({},t,n),o=this.getSize(e),i=o[0]/2,a=Object(US[\"__assign\"])({x:0,y:0,r:i},r);return a},update:function(e,t,n){var r=this.getSize(e),o={stroke:e.color,r:r[0]/2},i=t.get(\"keyShape\"),a=Object(GS[\"deepMix\"])({},i.attr(),o,e.style);this.updateShape(e,t,a,!0,n)}},\"single-node\"),MP.registerNode(\"simple-rect\",{options:{size:[100,30],style:{radius:0,stroke:tC.defaultNode.style.stroke,fill:tC.defaultNode.style.fill,lineWidth:tC.defaultNode.style.lineWidth},labelCfg:{style:{fill:tC.nodeLabel.style.fill,fontSize:tC.nodeLabel.style.fontSize,fontFamily:tC.windowFontFamily}},anchorPoints:[[0,.5],[1,.5]],stateStyles:Object(US[\"__assign\"])({},tC.nodeStateStyles)},shapeType:\"simple-rect\",labelPosition:\"center\",drawShape:function(e,t){var n=this.getShapeStyle(e),r=t.addShape(\"rect\",{attrs:n,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});return r},getShapeStyle:function(e){var t=(this.mergeStyle||this.getOptions(e)).style,n={stroke:e.color},r=Object(GS[\"mix\"])({},t,n),o=this.getSize(e),i=r.width||o[0],a=r.height||o[1],c=Object(US[\"__assign\"])({x:-i/2,y:-a/2,width:i,height:a},r);return c},update:function(e,t,n){t.getContainer();var r=(this.mergeStyle||this.getOptions(e)).style,o=this.getSize(e),i=t.get(\"keyShape\");e.size||(o[0]=i.attr(\"width\")||r.width,o[1]=i.attr(\"height\")||r.height);var a={stroke:e.color,x:-o[0]/2,y:-o[1]/2,width:o[0],height:o[1]},c=Object(GS[\"mix\"])({},r,i.attr(),a);c=Object(GS[\"mix\"])(c,e.style),this.updateShape(e,t,c,!1,n)}},\"single-node\"),MP.registerNode(\"image\",{options:{img:\"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*eD7nT6tmYgAAAAAAAAAAAABkARQnAQ\",size:200,labelCfg:{style:{fontFamily:tC.windowFontFamily}},clipCfg:{show:!1,type:\"circle\",r:50,rx:50,ry:35,width:50,height:35,points:[[30,12],[12,30],[30,48],[48,30]],path:[[\"M\",25,25],[\"L\",50,25],[\"A\",12.5,12.5,0,1,1,50,50],[\"A\",12.5,12.5,0,1,0,50,50],[\"L\",25,75],[\"Z\"]],x:0,y:0}},shapeType:\"image\",labelPosition:\"bottom\",drawShape:function(e,t){var n=this.shapeType,r=this.getShapeStyle(e);delete r.fill;var o=t.addShape(n,{attrs:r,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});return this.drawClip(e,o),o},drawClip:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).clipCfg;if(n.show){var r=n.type,o=n.x,i=n.y,a=n.style;if(\"circle\"===r){var c=n.r;t.setClip({type:\"circle\",attrs:Object(US[\"__assign\"])({r:c,x:o,y:i},a)})}else if(\"rect\"===r){var u=n.width,s=n.height,l=o-u/2,f=i-s/2;t.setClip({type:\"rect\",attrs:Object(US[\"__assign\"])({x:l,y:f,width:u,height:s},a)})}else if(\"ellipse\"===r){var d=n.rx,h=n.ry;t.setClip({type:\"ellipse\",attrs:Object(US[\"__assign\"])({x:o,y:i,rx:d,ry:h},a)})}else if(\"polygon\"===r){var p=n.points;t.setClip({type:\"polygon\",attrs:Object(US[\"__assign\"])({points:p},a)})}else if(\"path\"===r){var v=n.path;t.setClip({type:\"path\",attrs:Object(US[\"__assign\"])({path:v},a)})}}},getShapeStyle:function(e){var t=this.mergeStyle||this.getOptions(e),n=t.style,r=t.img,o=this.getSize(e),i=o[0],a=o[1];n&&(i=n.width||o[0],a=n.height||o[1]);var c=Object(US[\"__assign\"])({x:-i/2,y:-a/2,width:i,height:a,img:r},n);return c},updateShapeStyle:function(e,t){var n=t.getContainer(),r=\"\".concat(this.itemType,\"-shape\"),o=n[\"shapeMap\"][r]||n.find((function(e){return e.get(\"className\")===r}))||t.getKeyShape(),i=this.getShapeStyle(e);o&&!o.destroyed&&o.attr(i)}},\"single-node\");var tD={triangle:function(e,t,n){void 0===e&&(e=10),void 0===t&&(t=15),void 0===n&&(n=0);var r=2*n,o=\"M \".concat(r,\",0 L \").concat(r+t,\",-\").concat(e/2,\" L \").concat(r+t,\",\").concat(e/2,\" Z\");return o},vee:function(e,t,n){void 0===e&&(e=15),void 0===t&&(t=20),void 0===n&&(n=0);var r=2*n,o=\"M \".concat(r,\",0 L \").concat(r+t,\",-\").concat(e/2,\"\\n        L \").concat(r+2*t/3,\",0 L \").concat(r+t,\",\").concat(e/2,\" Z\");return o},circle:function(e,t){void 0===e&&(e=5),void 0===t&&(t=0);var n=2*t,r=\"M \".concat(n,\", 0\\n            a \").concat(e,\",\").concat(e,\" 0 1,0 \").concat(2*e,\",0\\n            a \").concat(e,\",\").concat(e,\" 0 1,0 \").concat(2*-e,\",0\");return r},rect:function(e,t,n){void 0===e&&(e=10),void 0===t&&(t=10),void 0===n&&(n=0);var r=2*n,o=\"M \".concat(r,\",\").concat(-e/2,\" \\n        L \").concat(r+t,\",\").concat(-e/2,\" \\n        L \").concat(r+t,\",\").concat(e/2,\" \\n        L \").concat(r,\",\").concat(e/2,\" Z\");return o},diamond:function(e,t,n){void 0===e&&(e=15),void 0===t&&(t=15),void 0===n&&(n=0);var r=2*n,o=\"M \".concat(r,\",0 \\n        L \").concat(r+t/2,\",\").concat(-e/2,\" \\n        L \").concat(r+t,\",0 \\n        L \").concat(r+t/2,\",\").concat(e/2,\" Z\");return o},triangleRect:function(e,t,n,r,o,i){void 0===e&&(e=15),void 0===t&&(t=15),void 0===n&&(n=15),void 0===r&&(r=3),void 0===o&&(o=5),void 0===i&&(i=0);var a=2*i,c=a+t+o,u=\"M \".concat(a,\",0 L \").concat(a+t,\",-\").concat(e/2,\" L \").concat(a+t,\",\").concat(e/2,\" Z\\n            M \").concat(c,\", -\").concat(n/2,\"\\n            L \").concat(c+r,\" -\").concat(n/2,\"\\n            L \").concat(c+r,\" \").concat(n/2,\"\\n            L \").concat(c,\" \").concat(n/2,\"\\n            Z\");return u}},nD={collapse:function(e,t,n){return[[\"M\",e-n,t],[\"a\",n,n,0,1,0,2*n,0],[\"a\",n,n,0,1,0,2*-n,0],[\"M\",e-n+4,t],[\"L\",e+n-4,t]]},expand:function(e,t,n){return[[\"M\",e-n,t],[\"a\",n,n,0,1,0,2*n,0],[\"a\",n,n,0,1,0,2*-n,0],[\"M\",e-n+4,t],[\"L\",e-n+2*n-4,t],[\"M\",e-n+n,t-n+4],[\"L\",e,t+n-4]]},upTriangle:function(e,t,n){var r=n*Math.cos(Math.PI/6),o=n*Math.sin(Math.PI/6);return[[\"M\",e-r,t+o],[\"L\",e+r,t+o],[\"L\",e,t-n],[\"Z\"]]},downTriangle:function(e,t,n){var r=n*Math.cos(Math.PI/6),o=n*Math.sin(Math.PI/6);return[[\"M\",e-r,t-o],[\"L\",e+r,t-o],[\"L\",e,t+n],[\"Z\"]]}},rD=MP,oD=[\"#5F95FF\",\"#61DDAA\",\"#65789B\",\"#F6BD16\",\"#7262FD\",\"#78D3F8\",\"#9661BC\",\"#F6903D\",\"#008685\",\"#F08BB4\"],iD=function(e){return\"force\"===e||\"g6force\"===e||\"gForce\"===e||\"force2\"===e},aD=o.transform,cD=Object(US[\"__assign\"])(Object(US[\"__assign\"])(Object(US[\"__assign\"])(Object(US[\"__assign\"])(Object(US[\"__assign\"])(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},f),c),d),a),h),p),{transform:aD,mat3:ZS[\"mat3\"]}),uD=cD,sD=function(){function e(e){this.graph=e,this.layoutCfg=e.get(\"layout\")||{},this.layoutType=this.getLayoutType(),this.layoutMethods=[],this.initLayout()}return e.prototype.initLayout=function(){},e.prototype.getLayoutType=function(){return this.getLayoutCfgType(this.layoutCfg)},e.prototype.getLayoutCfgType=function(e){var t=e.type;if(t)return t;var n=e.pipes;return Array.isArray(n)?n.map((function(e){return(null===e||void 0===e?void 0:e.type)||\"\"})):null},e.prototype.isLayoutTypeSame=function(e){var t=this.getLayoutCfgType(e),n=Array.isArray(this.layoutType),r=Array.isArray(t);return n&&r?this.layoutType.every((function(e,n){return e===t[n]})):!Array.isArray(t)&&!Array.isArray(this.layoutType)&&(null===e||void 0===e?void 0:e.type)===this.layoutType},e.prototype.refreshLayout=function(){var e=this,t=e.graph,n=e.layoutType,r=e.layoutCfg,o=void 0===r?{}:r;if(t){var i=o.animate,a=void 0===i&&(\"force\"===n||\"force2\"===n),c=iD(n)&&(i||a);t.get(\"animate\")&&!c?t.positionsAnimate(\"comboCombined\"===n):t.refreshPositions(\"comboCombined\"===n)}},e.prototype.changeLayout=function(e){var t=e.disableTriggerLayout,n=Object(US[\"__rest\"])(e,[\"disableTriggerLayout\"]);this.layoutCfg=n,this.layoutType=n.type||this.layoutType,t||this.layout()},e.prototype.changeData=function(e){this.layout(e)},e.prototype.destoryLayoutMethods=function(){var e=this.layoutMethods,t=[];return null===e||void 0===e||e.forEach((function(e){var n,r=null===(n=e.getType)||void 0===n?void 0:n.call(e);r&&t.push(r),e.destroy()})),this.layoutMethods=[],t},e.prototype.destroyLayout=function(){var e=this.graph;this.destoryLayoutMethods(),e.set(\"layout\",void 0),this.layoutCfg=void 0,this.layoutType=void 0,this.layoutMethods=void 0},e.prototype.setDataFromGraph=function(){for(var e,t=[],n=[],r=[],o=[],i=[],a=[],c=[],u=this.graph.getNodes(),s=this.graph.getEdges(),l=this.graph.getCombos(),f=u.length,d=0;d<f;d++){var h=u[d];if(h&&!h.destroyed){var p=h.getModel();h.isVisible()?t.push(p):n.push(p)}}var v=s.length;for(d=0;d<v;d++){var g=s[d];if(g&&!g.destroyed){p=g.getModel();g.isVisible()?p.isComboEdge?i.push(p):r.push(p):o.push(p)}}var m=l.length;for(d=0;d<m;d++){var y=l[d];if(!y.destroyed){p=y.getModel();y.isVisible()?a.push(p):c.push(p)}}return{nodes:t,hiddenNodes:n,edges:r,hiddenEdges:o,combos:a,hiddenCombos:c,comboEdges:i,vedges:null===(e=this.graph.get(\"vedges\"))||void 0===e?void 0:e.map((function(e){return e.getModel()}))}},e.prototype.relayout=function(e){var t=this,n=this,r=n.graph,o=n.layoutMethods,i=n.layoutCfg;if(e){this.data=this.setDataFromGraph();var a=this.data.nodes;if(!a)return!1;this.initPositions(i.center,a)}r.emit(\"beforelayout\");var c=Promise.resolve();null===o||void 0===o||o.forEach((function(e,n){var r=i[n]||i;c=c.then((function(){var e,a=t.execLayoutMethod(r,n);return n===o.length-1&&(null===(e=i.onAllLayoutEnd)||void 0===e||e.call(i)),a}))}))},e.prototype.filterLayoutData=function(e,t){var n,r,o=e.nodes,i=e.edges,a=Object(US[\"__rest\"])(e,[\"nodes\",\"edges\"]);if(!o)return e;n=Object(GS[\"isFunction\"])(null===t||void 0===t?void 0:t.nodesFilter)?t.nodesFilter:function(){return!0};var c=o.filter(n);if(Object(GS[\"isFunction\"])(null===t||void 0===t?void 0:t.edgesFilter))r=t.edgesFilter;else{var u=c.reduce((function(e,t){return e[t.id]=!0,e}),{});r=function(e){return u[e.source]&&u[e.target]}}return Object(US[\"__assign\"])({nodes:c,edges:i.filter(r)},a)},e.prototype.getLayoutBBox=function(e){var t=this.graph,n=Object(GS[\"groupBy\"])(t.getNodes(),(function(e){return e.getModel().layoutOrder})),r=Object.values(n).map((function(e){var t=lP(e);return t.size=[t.width,t.height],t})),o=Object.values(Object(GS[\"groupBy\"])(e,\"layoutOrder\"));return{groupNodes:o,layoutNodes:r}},e.prototype.layoutAnimate=function(){},e.prototype.moveToZero=function(){var e=this.graph,t=e.get(\"data\"),n=t.nodes;if(void 0!==n[0].x&&null!==n[0].x&&!sP(n[0].x)){for(var r=[0,0],o=n.length,i=0;i<o;i++){var a=n[i];r[0]+=a.x,r[1]+=a.y}r[0]/=n.length,r[1]/=n.length;for(i=0;i<o;i++){a=n[i];a.x-=r[0],a.y-=r[1]}}},e.prototype.initPositions=function(e,t){var n,r=this.graph;if(!t)return!1;var o=t.filter((function(e){return sP(e.x)||sP(e.y)})),i=o?o.length:0;if(i){var a=null===(n=this.initWithPreset)||void 0===n?void 0:n.call(this);if(a)return!1;var c=.85*r.get(\"width\"),u=.85*r.get(\"height\"),s=Math.ceil(Math.sqrt(i)*(c/u)),l=Math.ceil(i/s),f=c/(s-1),d=u/(l-1);isFinite(f)&&f||(f=0),isFinite(d)&&f||(d=0);for(var h=e[0]-c/2,p=e[1]-u/2,v=!0,g=0;g<i;g++){var m=o[g];sP(+m.x)&&(v=!1,m.x=g%s*f+h),sP(+m.y)&&(v=!1,m.y=Math.floor(g/s)*d+p)}return v}},e.prototype.destroy=function(){this.graph=null,this.destoryLayoutMethods(),this.destroyed=!0},e}(),lD=sD,fD=function(){function e(e){this.graph=e,this.destroyed=!1,this.initEvents()}return e}(),dD=fD,hD=rD.registerNode,pD=rD.registerEdge,vD=rD.registerCombo,gD=YS.registerBehavior,mD=tC,yD=(tC.version,rD.registerNode,rD.registerEdge,rD.registerCombo,YS.registerBehavior,r(\"FoOO\"));function bD(){return window?window.devicePixelRatio:1}function xD(e,t,n,r){var o=e-n,i=t-r;return Math.sqrt(o*o+i*i)}function wD(e,t,n,r,o,i){return o>=e&&o<=e+n&&i>=t&&i<=t+r}function OD(e,t){return!(t.minX>e.maxX||t.maxX<e.minX||t.minY>e.maxY||t.maxY<e.minY)}function ED(e,t){return e&&t?{minX:Math.min(e.minX,t.minX),minY:Math.min(e.minY,t.minY),maxX:Math.max(e.maxX,t.maxX),maxY:Math.max(e.maxY,t.maxY)}:e||t}function SD(e,t){return e[0]===t[0]&&e[1]===t[1]}var jD=/^l\\s*\\(\\s*([\\d.]+)\\s*\\)\\s*(.*)/i,kD=/^r\\s*\\(\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*\\)\\s*(.*)/i,_D=/^p\\s*\\(\\s*([axyn])\\s*\\)\\s*(.*)/i,CD=/[\\d.]+:(#[^\\s]+|[^\\)]+\\))/gi;function MD(e,t){var n=e.match(CD);Object(GS[\"each\"])(n,(function(e){var n=e.split(\":\");t.addColorStop(n[0],n[1])}))}function AD(e,t,n){var r,o,i=jD.exec(n),a=parseFloat(i[1])%360*(Math.PI/180),c=i[2],u=t.getBBox();a>=0&&a<.5*Math.PI?(r={x:u.minX,y:u.minY},o={x:u.maxX,y:u.maxY}):.5*Math.PI<=a&&a<Math.PI?(r={x:u.maxX,y:u.minY},o={x:u.minX,y:u.maxY}):Math.PI<=a&&a<1.5*Math.PI?(r={x:u.maxX,y:u.maxY},o={x:u.minX,y:u.minY}):(r={x:u.minX,y:u.maxY},o={x:u.maxX,y:u.minY});var s=Math.tan(a),l=s*s,f=(o.x-r.x+s*(o.y-r.y))/(l+1)+r.x,d=s*(o.x-r.x+s*(o.y-r.y))/(l+1)+r.y,h=e.createLinearGradient(r.x,r.y,f,d);return MD(c,h),h}function ND(e,t,n){var r=kD.exec(n),o=parseFloat(r[1]),i=parseFloat(r[2]),a=parseFloat(r[3]),c=r[4];if(0===a){var u=c.match(CD);return u[u.length-1].split(\":\")[1]}var s=t.getBBox(),l=s.maxX-s.minX,f=s.maxY-s.minY,d=Math.sqrt(l*l+f*f)/2,h=e.createRadialGradient(s.minX+l*o,s.minY+f*i,0,s.minX+l/2,s.minY+f/2,a*d);return MD(c,h),h}function TD(e,t,n){if(t.get(\"patternSource\")&&t.get(\"patternSource\")===n)return t.get(\"pattern\");var r,o,i=_D.exec(n),a=i[1],c=i[2];function u(){r=e.createPattern(o,a),t.set(\"pattern\",r),t.set(\"patternSource\",n)}switch(a){case\"a\":a=\"repeat\";break;case\"x\":a=\"repeat-x\";break;case\"y\":a=\"repeat-y\";break;case\"n\":a=\"no-repeat\";break;default:a=\"no-repeat\"}return o=new Image,c.match(/^data:/i)||(o.crossOrigin=\"Anonymous\"),o.src=c,o.complete?u():(o.onload=u,o.src=o.src),r}function ID(e,t,n){var r=t.getBBox();if(isNaN(r.x)||isNaN(r.y)||isNaN(r.width)||isNaN(r.height))return n;if(Object(GS[\"isString\"])(n)){if(\"(\"===n[1]||\"(\"===n[2]){if(\"l\"===n[0])return AD(e,t,n);if(\"r\"===n[0])return ND(e,t,n);if(\"p\"===n[0])return TD(e,t,n)}return n}return n instanceof CanvasPattern?n:void 0}function PD(e){var t=0,n=0,r=0,o=0;return Object(GS[\"isArray\"])(e)?1===e.length?t=n=r=o=e[0]:2===e.length?(t=r=e[0],n=o=e[1]):3===e.length?(t=e[0],n=o=e[1],r=e[2]):(t=e[0],n=e[1],r=e[2],o=e[3]):t=n=r=o=e,[t,n,r,o]}function LD(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function DD(e,t){return LD(e)*LD(t)?(e[0]*t[0]+e[1]*t[1])/(LD(e)*LD(t)):1}function RD(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(DD(e,t))}function FD(e,t){var n=t[1],r=t[2],o=Object(GS[\"mod\"])(Object(GS[\"toRadian\"])(t[3]),2*Math.PI),i=t[4],a=t[5],c=e[0],u=e[1],s=t[6],l=t[7],f=Math.cos(o)*(c-s)/2+Math.sin(o)*(u-l)/2,d=-1*Math.sin(o)*(c-s)/2+Math.cos(o)*(u-l)/2,h=f*f/(n*n)+d*d/(r*r);h>1&&(n*=Math.sqrt(h),r*=Math.sqrt(h));var p=n*n*(d*d)+r*r*(f*f),v=p?Math.sqrt((n*n*(r*r)-p)/p):1;i===a&&(v*=-1),isNaN(v)&&(v=0);var g=r?v*n*d/r:0,m=n?v*-r*f/n:0,y=(c+s)/2+Math.cos(o)*g-Math.sin(o)*m,b=(u+l)/2+Math.sin(o)*g+Math.cos(o)*m,x=[(f-g)/n,(d-m)/r],w=[(-1*f-g)/n,(-1*d-m)/r],O=RD([1,0],x),E=RD(x,w);return DD(x,w)<=-1&&(E=Math.PI),DD(x,w)>=1&&(E=0),0===a&&E>0&&(E-=2*Math.PI),1===a&&E<0&&(E+=2*Math.PI),{cx:y,cy:b,rx:SD(e,[s,l])?0:n,ry:SD(e,[s,l])?0:r,startAngle:O,endAngle:O+E,xRotation:o,arcFlag:i,sweepFlag:a}}var BD=Math.sin,zD=Math.cos,UD=Math.atan2,GD=Math.PI;function VD(e,t,n,r,o,i,a){var c=t.stroke,u=t.lineWidth,s=n-o,l=r-i,f=UD(l,s),d=new BR({type:\"path\",canvas:e.get(\"canvas\"),isArrowShape:!0,attrs:{path:\"M\"+10*zD(GD/6)+\",\"+10*BD(GD/6)+\" L0,0 L\"+10*zD(GD/6)+\",-\"+10*BD(GD/6),stroke:c,lineWidth:u}});d.translate(o,i),d.rotateAtPoint(o,i,f),e.set(a?\"startArrowShape\":\"endArrowShape\",d)}function WD(e,t,n,r,o,i,a){var c=t.startArrow,u=t.endArrow,s=t.stroke,l=t.lineWidth,f=a?c:u,d=f.d,h=f.fill,p=f.stroke,v=f.lineWidth,g=Object(US[\"__rest\"])(f,[\"d\",\"fill\",\"stroke\",\"lineWidth\"]),m=n-o,y=r-i,b=UD(y,m);d&&(o-=zD(b)*d,i-=BD(b)*d);var x=new BR({type:\"path\",canvas:e.get(\"canvas\"),isArrowShape:!0,attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},g),{stroke:p||s,lineWidth:v||l,fill:h})});x.translate(o,i),x.rotateAtPoint(o,i,b),e.set(a?\"startArrowShape\":\"endArrowShape\",x)}function HD(e,t,n,r,o){var i=UD(r-t,n-e);return{dx:zD(i)*o,dy:BD(i)*o}}function YD(e,t,n,r,o,i){\"object\"===typeof t.startArrow?WD(e,t,n,r,o,i,!0):t.startArrow?VD(e,t,n,r,o,i,!0):e.set(\"startArrowShape\",null)}function XD(e,t,n,r,o,i){\"object\"===typeof t.endArrow?WD(e,t,n,r,o,i,!1):t.endArrow?VD(e,t,n,r,o,i,!1):e.set(\"startArrowShape\",null)}var qD={fill:\"fillStyle\",stroke:\"strokeStyle\",opacity:\"globalAlpha\"};function KD(e,t){var n=t.attr();for(var r in n){var o=n[r],i=qD[r]?qD[r]:r;\"matrix\"===i&&o?e.transform(o[0],o[1],o[3],o[4],o[6],o[7]):\"lineDash\"===i&&e.setLineDash?Object(GS[\"isArray\"])(o)&&e.setLineDash(o):(\"strokeStyle\"===i||\"fillStyle\"===i?o=ID(e,t,o):\"globalAlpha\"===i&&(o*=e.globalAlpha),e[i]=o)}}function ZD(e,t,n){for(var r=0;r<t.length;r++){var o=t[r];o.cfg.visible?o.draw(e,n):o.skipDraw()}}function $D(e,t,n){var r=e.get(\"refreshElements\");Object(GS[\"each\"])(r,(function(t){if(t!==e){var n=t.cfg.parent;while(n&&n!==e&&!n.cfg.refresh)n.cfg.refresh=!0,n=n.cfg.parent}})),r[0]===e?eR(t,n):QD(t,n)}function QD(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.cfg.visible)if(r.cfg.hasChanged)r.cfg.refresh=!0,r.isGroup()&&eR(r.cfg.children,t);else if(r.cfg.refresh)r.isGroup()&&QD(r.cfg.children,t);else{var o=tR(r,t);r.cfg.refresh=o,o&&r.isGroup()&&QD(r.cfg.children,t)}}}function JD(e){for(var t=0;t<e.length;t++){var n=e[t];n.cfg.hasChanged=!1,n.isGroup()&&!n.destroyed&&JD(n.cfg.children)}}function eR(e,t){for(var n=0;n<e.length;n++){var r=e[n];r.cfg.refresh=!0,r.isGroup()&&eR(r.get(\"children\"),t)}}function tR(e,t){var n=e.cfg.cacheCanvasBBox,r=e.cfg.isInView&&n&&OD(n,t);return r}function nR(e,t,n,r){var o=n.path,i=n.startArrow,a=n.endArrow;if(o){var c=[0,0],u=[0,0],s={dx:0,dy:0};t.beginPath();for(var l=0;l<o.length;l++){var f=o[l],d=f[0];if(0===l&&i&&i.d){var h=e.getStartTangent();s=HD(h[0][0],h[0][1],h[1][0],h[1][1],i.d)}else if(l===o.length-2&&\"Z\"===o[l+1][0]&&a&&a.d){var p=o[l+1];if(\"Z\"===p[0]){h=e.getEndTangent();s=HD(h[0][0],h[0][1],h[1][0],h[1][1],a.d)}}else if(l===o.length-1&&a&&a.d&&\"Z\"!==o[0]){h=e.getEndTangent();s=HD(h[0][0],h[0][1],h[1][0],h[1][1],a.d)}var v=s.dx,g=s.dy;switch(d){case\"M\":t.moveTo(f[1]-v,f[2]-g),u=[f[1],f[2]];break;case\"L\":t.lineTo(f[1]-v,f[2]-g);break;case\"Q\":t.quadraticCurveTo(f[1],f[2],f[3]-v,f[4]-g);break;case\"C\":t.bezierCurveTo(f[1],f[2],f[3],f[4],f[5]-v,f[6]-g);break;case\"A\":var m=void 0;r?(m=r[l],m||(m=FD(c,f),r[l]=m)):m=FD(c,f);var y=m.cx,b=m.cy,x=m.rx,w=m.ry,O=m.startAngle,E=m.endAngle,S=m.xRotation,j=m.sweepFlag;if(t.ellipse)t.ellipse(y,b,x,w,S,O,E,1-j);else{var k=x>w?x:w,_=x>w?1:x/w,C=x>w?w/x:1;t.translate(y,b),t.rotate(S),t.scale(_,C),t.arc(0,0,k,O,E,1-j),t.scale(1/_,1/C),t.rotate(-S),t.translate(-y,-b)}break;case\"Z\":t.closePath();break;default:break}if(\"Z\"===d)c=u;else{var M=f.length;c=[f[M-2],f[M-1]]}}}}function rR(e,t){var n=e.get(\"canvas\");n&&(\"remove\"===t&&(e._cacheCanvasBBox=e.get(\"cacheCanvasBBox\")),e.get(\"hasChanged\")||(e.set(\"hasChanged\",!0),e.cfg.parent&&e.cfg.parent.get(\"hasChanged\")||(n.refreshElement(e,t,n),n.get(\"autoDraw\")&&n.draw())))}function oR(e){var t;if(e.destroyed)t=e[\"_cacheCanvasBBox\"];else{var n=e.get(\"cacheCanvasBBox\"),r=n&&!(!n.width||!n.height),o=e.getCanvasBBox(),i=o&&!(!o.width||!o.height);r&&i?t=ED(n,o):r?t=n:i&&(t=o)}return t}function iR(e){if(!e.length)return null;var t=[],n=[],r=[],o=[];return Object(GS[\"each\"])(e,(function(e){var i=oR(e);i&&(t.push(i.minX),n.push(i.minY),r.push(i.maxX),o.push(i.maxY))})),{minX:Object(GS[\"min\"])(t),minY:Object(GS[\"min\"])(n),maxX:Object(GS[\"max\"])(r),maxY:Object(GS[\"max\"])(o)}}function aR(e,t){return e&&t&&OD(e,t)?{minX:Math.max(e.minX,t.minX),minY:Math.max(e.minY,t.minY),maxX:Math.min(e.maxX,t.maxX),maxY:Math.min(e.maxY,t.maxY)}:null}var cR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.onCanvasChange=function(e){rR(this,e)},t.prototype.getShapeBase=function(){return v},t.prototype.getGroupBase=function(){return t},t.prototype._applyClip=function(e,t){t&&(e.save(),KD(e,t),t.createPath(e),e.restore(),e.clip(),t._afterDraw())},t.prototype.cacheCanvasBBox=function(){var e=this.cfg.children,t=[],n=[];Object(GS[\"each\"])(e,(function(e){var r=e.cfg.cacheCanvasBBox;r&&e.cfg.isInView&&(t.push(r.minX,r.maxX),n.push(r.minY,r.maxY))}));var r=null;if(t.length){var o=Object(GS[\"min\"])(t),i=Object(GS[\"max\"])(t),a=Object(GS[\"min\"])(n),c=Object(GS[\"max\"])(n);r={minX:o,minY:a,x:o,y:a,maxX:i,maxY:c,width:i-o,height:c-a};var u=this.cfg.canvas;if(u){var s=u.getViewRange();this.set(\"isInView\",OD(r,s))}}else this.set(\"isInView\",!1);this.set(\"cacheCanvasBBox\",r)},t.prototype.draw=function(e,t){var n=this.cfg.children,r=!t||this.cfg.refresh;n.length&&r&&(e.save(),KD(e,this),this._applyClip(e,this.getClip()),ZD(e,n,t),e.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set(\"hasChanged\",!1)},t.prototype.skipDraw=function(){this.set(\"cacheCanvasBBox\",null),this.set(\"hasChanged\",!1)},t}(jT),uR=cR,sR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},t.prototype.getShapeBase=function(){return v},t.prototype.getGroupBase=function(){return uR},t.prototype.onCanvasChange=function(e){rR(this,e)},t.prototype.calculateBBox=function(){var e=this.get(\"type\"),t=this.getHitLineWidth(),n=AT(e),r=n(this),o=t/2,i=r.x-o,a=r.y-o,c=r.x+r.width+o,u=r.y+r.height+o;return{x:i,minX:i,y:a,minY:a,width:r.width+t,height:r.height+t,maxX:c,maxY:u}},t.prototype.isFill=function(){return!!this.attrs[\"fill\"]||this.isClipShape()},t.prototype.isStroke=function(){return!!this.attrs[\"stroke\"]},t.prototype._applyClip=function(e,t){t&&(e.save(),KD(e,t),t.createPath(e),e.restore(),e.clip(),t._afterDraw())},t.prototype.draw=function(e,t){var n=this.cfg.clipShape;if(t){if(!1===this.cfg.refresh)return void this.set(\"hasChanged\",!1);var r=this.getCanvasBBox();if(!OD(t,r))return this.set(\"hasChanged\",!1),void(this.cfg.isInView&&this._afterDraw())}e.save(),KD(e,this),this._applyClip(e,n),this.drawPath(e),e.restore(),this._afterDraw()},t.prototype.getCanvasViewBox=function(){var e=this.cfg.canvas;return e?e.getViewRange():null},t.prototype.cacheCanvasBBox=function(){var e=this.getCanvasViewBox();if(e){var t=this.getCanvasBBox(),n=OD(t,e);this.set(\"isInView\",n),n?this.set(\"cacheCanvasBBox\",t):this.set(\"cacheCanvasBBox\",null)}},t.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set(\"hasChanged\",!1),this.set(\"refresh\",null)},t.prototype.skipDraw=function(){this.set(\"cacheCanvasBBox\",null),this.set(\"isInView\",null),this.set(\"hasChanged\",!1)},t.prototype.drawPath=function(e){this.createPath(e),this.strokeAndFill(e),this.afterDrawPath(e)},t.prototype.fill=function(e){e.fill()},t.prototype.stroke=function(e){e.stroke()},t.prototype.strokeAndFill=function(e){var t=this.attrs,n=t.lineWidth,r=t.opacity,o=t.strokeOpacity,i=t.fillOpacity;this.isFill()&&(Object(GS[\"isNil\"])(i)||1===i?this.fill(e):(e.globalAlpha=i,this.fill(e),e.globalAlpha=r)),this.isStroke()&&n>0&&(Object(GS[\"isNil\"])(o)||1===o||(e.globalAlpha=o),this.stroke(e)),this.afterDrawPath(e)},t.prototype.createPath=function(e){},t.prototype.afterDrawPath=function(e){},t.prototype.isInShape=function(e,t){var n=this.isStroke(),r=this.isFill(),o=this.getHitLineWidth();return this.isInStrokeOrPath(e,t,n,r,o)},t.prototype.isInStrokeOrPath=function(e,t,n,r,o){return!1},t.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var e=this.attrs;return e[\"lineWidth\"]+e[\"lineAppendWidth\"]},t}(_T),lR=sR,fR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{x:0,y:0,r:0})},t.prototype.isInStrokeOrPath=function(e,t,n,r,o){var i=this.attr(),a=i.x,c=i.y,u=i.r,s=o/2,l=xD(a,c,e,t);return r&&n?l<=u+s:r?l<=u:!!n&&(l>=u-s&&l<=u+s)},t.prototype.createPath=function(e){var t=this.attr(),n=t.x,r=t.y,o=t.r;e.beginPath(),e.arc(n,r,o,0,2*Math.PI,!1),e.closePath()},t}(lR),dR=fR;function hR(e,t,n,r){return e/(n*n)+t/(r*r)}var pR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{x:0,y:0,rx:0,ry:0})},t.prototype.isInStrokeOrPath=function(e,t,n,r,o){var i=this.attr(),a=o/2,c=i.x,u=i.y,s=i.rx,l=i.ry,f=(e-c)*(e-c),d=(t-u)*(t-u);return r&&n?hR(f,d,s+a,l+a)<=1:r?hR(f,d,s,l)<=1:!!n&&(hR(f,d,s-a,l-a)>=1&&hR(f,d,s+a,l+a)<=1)},t.prototype.createPath=function(e){var t=this.attr(),n=t.x,r=t.y,o=t.rx,i=t.ry;if(e.beginPath(),e.ellipse)e.ellipse(n,r,o,i,0,0,2*Math.PI,!1);else{var a=o>i?o:i,c=o>i?1:o/i,u=o>i?i/o:1;e.save(),e.translate(n,r),e.scale(c,u),e.arc(0,0,a,0,2*Math.PI),e.restore(),e.closePath()}},t}(lR),vR=pR;function gR(e){return e instanceof HTMLElement&&Object(GS[\"isString\"])(e.nodeName)&&\"CANVAS\"===e.nodeName.toUpperCase()}var mR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{x:0,y:0,width:0,height:0})},t.prototype.initAttrs=function(e){this._setImage(e.img)},t.prototype.isStroke=function(){return!1},t.prototype.isOnlyHitBox=function(){return!0},t.prototype._afterLoading=function(){if(!0===this.get(\"toDraw\")){var e=this.get(\"canvas\");e?e.draw():this.createPath(this.get(\"context\"))}},t.prototype._setImage=function(e){var t=this,n=this.attrs;if(Object(GS[\"isString\"])(e)){var r=new Image;r.onload=function(){if(t.destroyed)return!1;t.attr(\"img\",r),t.set(\"loading\",!1),t._afterLoading();var e=t.get(\"callback\");e&&e.call(t)},r.crossOrigin=\"Anonymous\",r.src=e,this.set(\"loading\",!0)}else e instanceof Image?(n.width||(n.width=e.width),n.height||(n.height=e.height)):gR(e)&&(n.width||(n.width=Number(e.getAttribute(\"width\"))),n.height||(n.height,Number(e.getAttribute(\"height\"))))},t.prototype.onAttrChange=function(t,n,r){e.prototype.onAttrChange.call(this,t,n,r),\"img\"===t&&this._setImage(n)},t.prototype.createPath=function(e){if(this.get(\"loading\"))return this.set(\"toDraw\",!0),void this.set(\"context\",e);var t=this.attr(),n=t.x,r=t.y,o=t.width,i=t.height,a=t.sx,c=t.sy,u=t.swidth,s=t.sheight,l=t.img;(l instanceof Image||gR(l))&&(Object(GS[\"isNil\"])(a)||Object(GS[\"isNil\"])(c)||Object(GS[\"isNil\"])(u)||Object(GS[\"isNil\"])(s)?e.drawImage(l,n,r,o,i):e.drawImage(l,a,c,u,s,n,r,o,i))},t}(lR),yR=mR;function bR(e,t,n,r,o,i,a){var c=Math.min(e,n),u=Math.max(e,n),s=Math.min(t,r),l=Math.max(t,r),f=o/2;return i>=c-f&&i<=u+f&&a>=s-f&&a<=l+f&&UT.pointToLine(e,t,n,r,i,a)<=o/2}var xR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},t.prototype.initAttrs=function(e){this.setArrow()},t.prototype.onAttrChange=function(t,n,r){e.prototype.onAttrChange.call(this,t,n,r),this.setArrow()},t.prototype.setArrow=function(){var e=this.attr(),t=e.x1,n=e.y1,r=e.x2,o=e.y2,i=e.startArrow,a=e.endArrow;i&&YD(this,e,r,o,t,n),a&&XD(this,e,t,n,r,o)},t.prototype.isInStrokeOrPath=function(e,t,n,r,o){if(!n||!o)return!1;var i=this.attr(),a=i.x1,c=i.y1,u=i.x2,s=i.y2;return bR(a,c,u,s,o,e,t)},t.prototype.createPath=function(e){var t=this.attr(),n=t.x1,r=t.y1,o=t.x2,i=t.y2,a=t.startArrow,c=t.endArrow,u={dx:0,dy:0},s={dx:0,dy:0};a&&a.d&&(u=HD(n,r,o,i,t.startArrow.d)),c&&c.d&&(s=HD(n,r,o,i,t.endArrow.d)),e.beginPath(),e.moveTo(n+u.dx,r+u.dy),e.lineTo(o-s.dx,i-s.dy)},t.prototype.afterDrawPath=function(e){var t=this.get(\"startArrowShape\"),n=this.get(\"endArrowShape\");t&&t.draw(e),n&&n.draw(e)},t.prototype.getTotalLength=function(){var e=this.attr(),t=e.x1,n=e.y1,r=e.x2,o=e.y2;return UT.length(t,n,r,o)},t.prototype.getPoint=function(e){var t=this.attr(),n=t.x1,r=t.y1,o=t.x2,i=t.y2;return UT.pointAt(n,r,o,i,e)},t}(lR),wR=xR,OR={circle:function(e,t,n){return[[\"M\",e-n,t],[\"A\",n,n,0,1,0,e+n,t],[\"A\",n,n,0,1,0,e-n,t]]},square:function(e,t,n){return[[\"M\",e-n,t-n],[\"L\",e+n,t-n],[\"L\",e+n,t+n],[\"L\",e-n,t+n],[\"Z\"]]},diamond:function(e,t,n){return[[\"M\",e-n,t],[\"L\",e,t-n],[\"L\",e+n,t],[\"L\",e,t+n],[\"Z\"]]},triangle:function(e,t,n){var r=n*Math.sin(1/3*Math.PI);return[[\"M\",e-n,t+r],[\"L\",e,t-r],[\"L\",e+n,t+r],[\"Z\"]]},\"triangle-down\":function(e,t,n){var r=n*Math.sin(1/3*Math.PI);return[[\"M\",e-n,t-r],[\"L\",e+n,t-r],[\"L\",e,t+r],[\"Z\"]]}},ER=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.initAttrs=function(e){this._resetParamsCache()},t.prototype._resetParamsCache=function(){this.set(\"paramsCache\",{})},t.prototype.onAttrChange=function(t,n,r){e.prototype.onAttrChange.call(this,t,n,r),-1!==[\"symbol\",\"x\",\"y\",\"r\",\"radius\"].indexOf(t)&&this._resetParamsCache()},t.prototype.isOnlyHitBox=function(){return!0},t.prototype._getR=function(e){return Object(GS[\"isNil\"])(e.r)?e.radius:e.r},t.prototype._getPath=function(){var e,n,r=this.attr(),o=r.x,i=r.y,a=r.symbol||\"circle\",c=this._getR(r);if(Object(GS[\"isFunction\"])(a))e=a,n=e(o,i,c),n=HI(n);else{if(e=t.Symbols[a],!e)return console.warn(a+\" marker is not supported.\"),null;n=e(o,i,c)}return n},t.prototype.createPath=function(e){var t=this._getPath(),n=this.get(\"paramsCache\");nR(this,e,{path:t},n)},t.Symbols=OR,t}(lR),SR=ER;function jR(e,t,n){var r=kI();return e.createPath(r),r.isPointInPath(t,n)}var kR=1e-6;function _R(e){return Math.abs(e)<kR?0:e<0?-1:1}function CR(e,t,n){return(n[0]-e[0])*(t[1]-e[1])===(t[0]-e[0])*(n[1]-e[1])&&Math.min(e[0],t[0])<=n[0]&&n[0]<=Math.max(e[0],t[0])&&Math.min(e[1],t[1])<=n[1]&&n[1]<=Math.max(e[1],t[1])}function MR(e,t,n){var r=!1,o=e.length;if(o<=2)return!1;for(var i=0;i<o;i++){var a=e[i],c=e[(i+1)%o];if(CR(a,c,[t,n]))return!0;_R(a[1]-n)>0!==_R(c[1]-n)>0&&_R(t-(n-a[1])*(a[0]-c[0])/(a[1]-c[1])-a[0])<0&&(r=!r)}return r}var AR=r(\"n+fv\");function NR(e,t,n,r,o,i,a,c){var u=(Math.atan2(c-t,a-e)+2*Math.PI)%(2*Math.PI);if(u<r||u>o)return!1;var s={x:e+n*Math.cos(u),y:t+n*Math.sin(u)};return xD(s.x,s.y,a,c)<=i/2}var TR=o.transform;function IR(e){for(var t=!1,n=e.length,r=0;r<n;r++){var o=e[r],i=o[0];if(\"C\"===i||\"A\"===i||\"Q\"===i){t=!0;break}}return t}function PR(e,t,n,r,o){for(var i=!1,a=t/2,c=0;c<e.length;c++){var u=e[c],s=u.currentPoint,l=u.params,f=u.prePoint,d=u.box;if(!d||wD(d.x-a,d.y-a,d.width+t,d.height+t,n,r)){switch(u.command){case\"L\":case\"Z\":i=bR(f[0],f[1],s[0],s[1],t,n,r);break;case\"Q\":var h=ZT.pointDistance(f[0],f[1],l[1],l[2],l[3],l[4],n,r);i=h<=t/2;break;case\"C\":var p=nI.pointDistance(f[0],f[1],l[1],l[2],l[3],l[4],l[5],l[6],n,r,o);i=p<=t/2;break;case\"A\":var v=u.arcParams,g=v.cx,m=v.cy,y=v.rx,b=v.ry,x=v.startAngle,w=v.endAngle,O=v.xRotation,E=[n,r,1],S=y>b?y:b,j=y>b?1:y/b,k=y>b?b/y:1,_=TR(null,[[\"t\",-g,-m],[\"r\",-O],[\"s\",1/j,1/k]]);AR[\"transformMat3\"](E,E,_),i=NR(0,0,S,x,w,t,E[0],E[1]);break;default:break}if(i)break}}return i}function LR(e){for(var t=e.length,n=[],r=[],o=[],i=0;i<t;i++){var a=e[i],c=a[0];\"M\"===c?(o.length&&(r.push(o),o=[]),o.push([a[1],a[2]])):\"Z\"===c?o.length&&(n.push(o),o=[]):o.push([a[1],a[2]])}return o.length>0&&r.push(o),{polygons:n,polylines:r}}var DR=Object(US[\"__assign\"])({hasArc:IR,extractPolygons:LR,isPointInStroke:PR},u);function RR(e,t,n){for(var r=!1,o=0;o<e.length;o++){var i=e[o];if(r=MR(i,t,n),r)break}return r}var FR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{startArrow:!1,endArrow:!1})},t.prototype.initAttrs=function(e){this._setPathArr(e.path),this.setArrow()},t.prototype.onAttrChange=function(t,n,r){e.prototype.onAttrChange.call(this,t,n,r),\"path\"===t&&this._setPathArr(n),this.setArrow()},t.prototype._setPathArr=function(e){this.attrs.path=HI(e);var t=DR.hasArc(e);this.set(\"hasArc\",t),this.set(\"paramsCache\",{}),this.set(\"segments\",null),this.set(\"curve\",null),this.set(\"tCache\",null),this.set(\"totalLength\",null)},t.prototype.getSegments=function(){var e=this.get(\"segements\");return e||(e=QI(this.attr(\"path\")),this.set(\"segments\",e)),e},t.prototype.setArrow=function(){var e=this.attr(),t=e.startArrow,n=e.endArrow;if(t){var r=this.getStartTangent();YD(this,e,r[0][0],r[0][1],r[1][0],r[1][1])}if(n){r=this.getEndTangent();XD(this,e,r[0][0],r[0][1],r[1][0],r[1][1])}},t.prototype.isInStrokeOrPath=function(e,t,n,r,o){var i=this.getSegments(),a=this.get(\"hasArc\"),c=!1;if(n){var u=this.getTotalLength();c=DR.isPointInStroke(i,o,e,t,u)}if(!c&&r)if(a)c=jR(this,e,t);else{var s=this.attr(\"path\"),l=DR.extractPolygons(s);c=RR(l.polygons,e,t)||RR(l.polylines,e,t)}return c},t.prototype.createPath=function(e){var t=this.attr(),n=this.get(\"paramsCache\");nR(this,e,t,n)},t.prototype.afterDrawPath=function(e){var t=this.get(\"startArrowShape\"),n=this.get(\"endArrowShape\");t&&t.draw(e),n&&n.draw(e)},t.prototype.getTotalLength=function(){var e=this.get(\"totalLength\");return Object(GS[\"isNil\"])(e)?(this._calculateCurve(),this._setTcache(),this.get(\"totalLength\")):e},t.prototype.getPoint=function(e){var t,n,r=this.get(\"tCache\");r||(this._calculateCurve(),this._setTcache(),r=this.get(\"tCache\"));var o=this.get(\"curve\");if(!r||0===r.length)return o?{x:o[0][1],y:o[0][2]}:null;Object(GS[\"each\"])(r,(function(r,o){e>=r[0]&&e<=r[1]&&(t=(e-r[0])/(r[1]-r[0]),n=o)}));var i=o[n];if(Object(GS[\"isNil\"])(i)||Object(GS[\"isNil\"])(n))return null;var a=i.length,c=o[n+1];return nI.pointAt(i[a-2],i[a-1],c[1],c[2],c[3],c[4],c[5],c[6],t)},t.prototype._calculateCurve=function(){var e=this.attr().path;this.set(\"curve\",DR.pathToCurve(e))},t.prototype._setTcache=function(){var e,t,n,r,o=0,i=0,a=[],c=this.get(\"curve\");c&&(Object(GS[\"each\"])(c,(function(e,t){n=c[t+1],r=e.length,n&&(o+=nI.length(e[r-2],e[r-1],n[1],n[2],n[3],n[4],n[5],n[6])||0)})),this.set(\"totalLength\",o),0!==o?(Object(GS[\"each\"])(c,(function(u,s){n=c[s+1],r=u.length,n&&(e=[],e[0]=i/o,t=nI.length(u[r-2],u[r-1],n[1],n[2],n[3],n[4],n[5],n[6]),i+=t||0,e[1]=i/o,a.push(e))})),this.set(\"tCache\",a)):this.set(\"tCache\",[]))},t.prototype.getStartTangent=function(){var e,t=this.getSegments();if(t.length>1){var n=t[0].currentPoint,r=t[1].currentPoint,o=t[1].startTangent;e=[],o?(e.push([n[0]-o[0],n[1]-o[1]]),e.push([n[0],n[1]])):(e.push([r[0],r[1]]),e.push([n[0],n[1]]))}return e},t.prototype.getEndTangent=function(){var e,t=this.getSegments(),n=t.length;if(n>1){var r=t[n-2].currentPoint,o=t[n-1].currentPoint,i=t[n-1].endTangent;e=[],i?(e.push([o[0]-i[0],o[1]-i[1]]),e.push([o[0],o[1]])):(e.push([r[0],r[1]]),e.push([o[0],o[1]]))}return e},t}(lR),BR=FR;function zR(e,t,n,r,o){var i=e.length;if(i<2)return!1;for(var a=0;a<i-1;a++){var c=e[a][0],u=e[a][1],s=e[a+1][0],l=e[a+1][1];if(bR(c,u,s,l,t,n,r))return!0}if(o){var f=e[0],d=e[i-1];if(bR(f[0],f[1],d[0],d[1],t,n,r))return!0}return!1}var UR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.isInStrokeOrPath=function(e,t,n,r,o){var i=this.attr().points,a=!1;return n&&(a=zR(i,o,e,t,!0)),!a&&r&&(a=MR(i,e,t)),a},t.prototype.createPath=function(e){var t=this.attr(),n=t.points;if(!(n.length<2)){e.beginPath();for(var r=0;r<n.length;r++){var o=n[r];0===r?e.moveTo(o[0],o[1]):e.lineTo(o[0],o[1])}e.closePath()}},t}(lR),GR=UR,VR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{startArrow:!1,endArrow:!1})},t.prototype.initAttrs=function(e){this.setArrow()},t.prototype.onAttrChange=function(t,n,r){e.prototype.onAttrChange.call(this,t,n,r),this.setArrow(),-1!==[\"points\"].indexOf(t)&&this._resetCache()},t.prototype._resetCache=function(){this.set(\"totalLength\",null),this.set(\"tCache\",null)},t.prototype.setArrow=function(){var e=this.attr(),t=this.attrs,n=t.points,r=t.startArrow,o=t.endArrow,i=n.length,a=n[0][0],c=n[0][1],u=n[i-1][0],s=n[i-1][1];r&&YD(this,e,n[1][0],n[1][1],a,c),o&&XD(this,e,n[i-2][0],n[i-2][1],u,s)},t.prototype.isFill=function(){return!1},t.prototype.isInStrokeOrPath=function(e,t,n,r,o){if(!n||!o)return!1;var i=this.attr().points;return zR(i,o,e,t,!1)},t.prototype.isStroke=function(){return!0},t.prototype.createPath=function(e){var t=this.attr(),n=t.points,r=t.startArrow,o=t.endArrow,i=n.length;if(!(n.length<2)){var a=n[0][0],c=n[0][1],u=n[i-1][0],s=n[i-1][1];if(r&&r.d){var l=HD(a,c,n[1][0],n[1][1],r.d);a+=l.dx,c+=l.dy}if(o&&o.d){l=HD(n[i-2][0],n[i-2][1],u,s,o.d);u-=l.dx,s-=l.dy}e.beginPath(),e.moveTo(a,c);for(var f=0;f<i-1;f++){var d=n[f];e.lineTo(d[0],d[1])}e.lineTo(u,s)}},t.prototype.afterDrawPath=function(e){var t=this.get(\"startArrowShape\"),n=this.get(\"endArrowShape\");t&&t.draw(e),n&&n.draw(e)},t.prototype.getTotalLength=function(){var e=this.attr().points,t=this.get(\"totalLength\");return Object(GS[\"isNil\"])(t)?(this.set(\"totalLength\",xI.length(e)),this.get(\"totalLength\")):t},t.prototype.getPoint=function(e){var t,n,r=this.attr().points,o=this.get(\"tCache\");return o||(this._setTcache(),o=this.get(\"tCache\")),Object(GS[\"each\"])(o,(function(r,o){e>=r[0]&&e<=r[1]&&(t=(e-r[0])/(r[1]-r[0]),n=o)})),UT.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],t)},t.prototype._setTcache=function(){var e=this.attr().points;if(e&&0!==e.length){var t=this.getTotalLength();if(!(t<=0)){var n,r,o=0,i=[];Object(GS[\"each\"])(e,(function(a,c){e[c+1]&&(n=[],n[0]=o/t,r=UT.length(a[0],a[1],e[c+1][0],e[c+1][1]),o+=r,n[1]=o/t,i.push(n))})),this.set(\"tCache\",i)}}},t.prototype.getStartTangent=function(){var e=this.attr().points,t=[];return t.push([e[1][0],e[1][1]]),t.push([e[0][0],e[0][1]]),t},t.prototype.getEndTangent=function(){var e=this.attr().points,t=e.length-1,n=[];return n.push([e[t-1][0],e[t-1][1]]),n.push([e[t][0],e[t][1]]),n},t}(lR),WR=VR;function HR(e,t,n,r,o,i,a){var c=o/2;return wD(e-c,t-c,n,o,i,a)||wD(e+n-c,t-c,o,r,i,a)||wD(e+c,t+r-c,n,o,i,a)||wD(e-c,t+c,o,r,i,a)}function YR(e,t,n,r,o,i,a,c){return bR(e+o,t,e+n-o,t,i,a,c)||bR(e+n,t+o,e+n,t+r-o,i,a,c)||bR(e+n-o,t+r,e+o,t+r,i,a,c)||bR(e,t+r-o,e,t+o,i,a,c)||NR(e+n-o,t+o,o,1.5*Math.PI,2*Math.PI,i,a,c)||NR(e+n-o,t+r-o,o,0,.5*Math.PI,i,a,c)||NR(e+o,t+r-o,o,.5*Math.PI,Math.PI,i,a,c)||NR(e+o,t+o,o,Math.PI,1.5*Math.PI,i,a,c)}var XR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{x:0,y:0,width:0,height:0,radius:0})},t.prototype.isInStrokeOrPath=function(e,t,n,r,o){var i=this.attr(),a=i.x,c=i.y,u=i.width,s=i.height,l=i.radius;if(l){var f=!1;return n&&(f=YR(a,c,u,s,l,o,e,t)),!f&&r&&(f=jR(this,e,t)),f}var d=o/2;return r&&n?wD(a-d,c-d,u+d,s+d,e,t):r?wD(a,c,u,s,e,t):n?HR(a,c,u,s,o,e,t):void 0},t.prototype.createPath=function(e){var t=this.attr(),n=t.x,r=t.y,o=t.width,i=t.height,a=t.radius;if(e.beginPath(),0===a)e.rect(n,r,o,i);else{var c=PD(a),u=c[0],s=c[1],l=c[2],f=c[3];e.moveTo(n+u,r),e.lineTo(n+o-s,r),0!==s&&e.arc(n+o-s,r+s,s,-Math.PI/2,0),e.lineTo(n+o,r+i-l),0!==l&&e.arc(n+o-l,r+i-l,l,0,Math.PI/2),e.lineTo(n+f,r+i),0!==f&&e.arc(n+f,r+i-f,f,Math.PI/2,Math.PI),e.lineTo(n,r+u),0!==u&&e.arc(n+u,r+u,u,Math.PI,1.5*Math.PI),e.closePath()}},t}(lR),qR=XR,KR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{x:0,y:0,text:null,fontSize:12,fontFamily:\"sans-serif\",fontStyle:\"normal\",fontWeight:\"normal\",fontVariant:\"normal\",textAlign:\"start\",textBaseline:\"bottom\"})},t.prototype.isOnlyHitBox=function(){return!0},t.prototype.initAttrs=function(e){this._assembleFont(),e.text&&this._setText(e.text)},t.prototype._assembleFont=function(){var e=this.attrs;e.font=AI(e)},t.prototype._setText=function(e){var t=null;Object(GS[\"isString\"])(e)&&-1!==e.indexOf(\"\\n\")&&(t=e.split(\"\\n\")),this.set(\"textArr\",t)},t.prototype.onAttrChange=function(t,n,r){e.prototype.onAttrChange.call(this,t,n,r),t.startsWith(\"font\")&&this._assembleFont(),\"text\"===t&&this._setText(n)},t.prototype._getSpaceingY=function(){var e=this.attrs,t=e.lineHeight,n=1*e.fontSize;return t?t-n:.14*n},t.prototype._drawTextArr=function(e,t,n){var r,o=this.attrs,i=o.textBaseline,a=o.x,c=o.y,u=1*o.fontSize,s=this._getSpaceingY(),l=_I(o.text,o.fontSize,o.lineHeight);Object(GS[\"each\"])(t,(function(t,o){r=c+o*(s+u)-l+u,\"middle\"===i&&(r+=l-u-(l-u)/2),\"top\"===i&&(r+=l-u),Object(GS[\"isNil\"])(t)||(n?e.fillText(t,a,r):e.strokeText(t,a,r))}))},t.prototype._drawText=function(e,t){var n=this.attr(),r=n.x,o=n.y,i=this.get(\"textArr\");if(i)this._drawTextArr(e,i,t);else{var a=n.text;Object(GS[\"isNil\"])(a)||(t?e.fillText(a,r,o):e.strokeText(a,r,o))}},t.prototype.strokeAndFill=function(e){var t=this.attrs,n=t.lineWidth,r=t.opacity,o=t.strokeOpacity,i=t.fillOpacity;this.isStroke()&&n>0&&(Object(GS[\"isNil\"])(o)||1===o||(e.globalAlpha=r),this.stroke(e)),this.isFill()&&(Object(GS[\"isNil\"])(i)||1===i?this.fill(e):(e.globalAlpha=i,this.fill(e),e.globalAlpha=r)),this.afterDrawPath(e)},t.prototype.fill=function(e){this._drawText(e,!0)},t.prototype.stroke=function(e){this._drawText(e,!1)},t}(lR),ZR=KR;function $R(e,t){if(t){var n=OM(t);return wM(n,e)}return e}function QR(e,t,n){var r=e.getTotalMatrix();if(r){var o=$R([t,n,1],r),i=o[0],a=o[1];return[i,a]}return[t,n]}function JR(e,t,n){if(e.isCanvas&&e.isCanvas())return!0;if(!gM(e)||!1===e.cfg.isInView)return!1;if(e.cfg.clipShape){var r=QR(e,t,n),o=r[0],i=r[1];if(e.isClipped(o,i))return!1}var a=e.cfg.cacheCanvasBBox||e.getCanvasBBox();return t>=a.minX&&t<=a.maxX&&n>=a.minY&&n<=a.maxY}function eF(e,t,n){if(!JR(e,t,n))return null;for(var r=null,o=e.getChildren(),i=o.length,a=i-1;a>=0;a--){var c=o[a];if(c.isGroup())r=eF(c,t,n);else if(JR(c,t,n)){var u=c,s=QR(c,t,n),l=s[0],f=s[1];u.isInShape(l,f)&&(r=c)}if(r)break}return r}var tF=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultCfg=function(){var t=e.prototype.getDefaultCfg.call(this);return t[\"renderer\"]=\"canvas\",t[\"autoDraw\"]=!0,t[\"localRefresh\"]=!0,t[\"refreshElements\"]=[],t[\"clipView\"]=!0,t[\"quickHit\"]=!1,t},t.prototype.onCanvasChange=function(e){\"attr\"!==e&&\"sort\"!==e&&\"changeSize\"!==e||(this.set(\"refreshElements\",[this]),this.draw())},t.prototype.getShapeBase=function(){return v},t.prototype.getGroupBase=function(){return uR},t.prototype.getPixelRatio=function(){var e=this.get(\"pixelRatio\")||bD();return e>=1?Math.ceil(e):1},t.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},t.prototype.createDom=function(){var e=document.createElement(\"canvas\"),t=e.getContext(\"2d\");return this.set(\"context\",t),e},t.prototype.setDOMSize=function(t,n){e.prototype.setDOMSize.call(this,t,n);var r=this.get(\"context\"),o=this.get(\"el\"),i=this.getPixelRatio();o.width=i*t,o.height=i*n,i>1&&r.scale(i,i)},t.prototype.clear=function(){e.prototype.clear.call(this),this._clearFrame();var t=this.get(\"context\"),n=this.get(\"el\");t.clearRect(0,0,n.width,n.height)},t.prototype.getShape=function(t,n){var r;return r=this.get(\"quickHit\")?eF(this,t,n):e.prototype.getShape.call(this,t,n,null),r},t.prototype._getRefreshRegion=function(){var e,t=this.get(\"refreshElements\"),n=this.getViewRange();if(t.length&&t[0]===this)e=n;else if(e=iR(t),e){e.minX=Math.floor(e.minX),e.minY=Math.floor(e.minY),e.maxX=Math.ceil(e.maxX),e.maxY=Math.ceil(e.maxY),e.maxY+=1;var r=this.get(\"clipView\");r&&(e=aR(e,n))}return e},t.prototype.refreshElement=function(e){var t=this.get(\"refreshElements\");t.push(e)},t.prototype._clearFrame=function(){var e=this.get(\"drawFrame\");e&&(Object(GS[\"clearAnimationFrame\"])(e),this.set(\"drawFrame\",null),this.set(\"refreshElements\",[]))},t.prototype.draw=function(){var e=this.get(\"drawFrame\");this.get(\"autoDraw\")&&e||this._startDraw()},t.prototype._drawAll=function(){var e=this.get(\"context\"),t=this.get(\"el\"),n=this.getChildren();e.clearRect(0,0,t.width,t.height),KD(e,this),ZD(e,n),this.set(\"refreshElements\",[])},t.prototype._drawRegion=function(){var e=this.get(\"context\"),t=this.get(\"refreshElements\"),n=this.getChildren(),r=this._getRefreshRegion();r?(e.clearRect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),e.save(),e.beginPath(),e.rect(r.minX,r.minY,r.maxX-r.minX,r.maxY-r.minY),e.clip(),KD(e,this),$D(this,n,r),ZD(e,n,r),e.restore()):t.length&&JD(t),Object(GS[\"each\"])(t,(function(e){e.get(\"hasChanged\")&&e.set(\"hasChanged\",!1)})),this.set(\"refreshElements\",[])},t.prototype._startDraw=function(){var e=this,t=this.get(\"drawFrame\");t||(t=Object(GS[\"requestAnimationFrame\"])((function(){e.get(\"localRefresh\")?e._drawRegion():e._drawAll(),e.set(\"drawFrame\",null)})),this.set(\"drawFrame\",t))},t.prototype.skipDraw=function(){},t.prototype.removeDom=function(){var e=this.get(\"el\");e.width=0,e.height=0,e.parentNode.removeChild(e)},t}(ET),nF=tF,rF={rect:\"path\",circle:\"circle\",line:\"line\",path:\"path\",marker:\"path\",text:\"text\",polyline:\"polyline\",polygon:\"polygon\",image:\"image\",ellipse:\"ellipse\",dom:\"foreignObject\"},oF={opacity:\"opacity\",fillStyle:\"fill\",fill:\"fill\",fillOpacity:\"fill-opacity\",strokeStyle:\"stroke\",strokeOpacity:\"stroke-opacity\",stroke:\"stroke\",x:\"x\",y:\"y\",r:\"r\",rx:\"rx\",ry:\"ry\",width:\"width\",height:\"height\",x1:\"x1\",x2:\"x2\",y1:\"y1\",y2:\"y2\",lineCap:\"stroke-linecap\",lineJoin:\"stroke-linejoin\",lineWidth:\"stroke-width\",lineDash:\"stroke-dasharray\",lineDashOffset:\"stroke-dashoffset\",miterLimit:\"stroke-miterlimit\",font:\"font\",fontSize:\"font-size\",fontStyle:\"font-style\",fontVariant:\"font-variant\",fontWeight:\"font-weight\",fontFamily:\"font-family\",startArrow:\"marker-start\",endArrow:\"marker-end\",path:\"d\",class:\"class\",id:\"id\",style:\"style\",preserveAspectRatio:\"preserveAspectRatio\"};function iF(e){return document.createElementNS(\"http://www.w3.org/2000/svg\",e)}function aF(e){var t=rF[e.type],n=e.getParent();if(!t)throw new Error(\"the type \"+e.type+\" is not supported by svg\");var r=iF(t);if(e.get(\"id\")&&(r.id=e.get(\"id\")),e.set(\"el\",r),e.set(\"attrs\",{}),n){var o=n.get(\"el\");o||(o=n.createDom(),n.set(\"el\",o)),o.appendChild(r)}return r}function cF(e,t){var n=e.get(\"el\"),r=Object(GS[\"toArray\"])(n.children).sort(t),o=document.createDocumentFragment();r.forEach((function(e){o.appendChild(e)})),n.appendChild(o)}function uF(e,t){var n=e.parentNode,r=Array.from(n.childNodes).filter((function(e){return 1===e.nodeType&&\"defs\"!==e.nodeName.toLowerCase()})),o=r[t],i=r.indexOf(e);if(o){if(i>t)n.insertBefore(e,o);else if(i<t){var a=r[t+1];a?n.insertBefore(e,a):n.appendChild(e)}}else n.appendChild(e)}function sF(e,t){var n=e.cfg.el,r=e.attr(),o={dx:r.shadowOffsetX,dy:r.shadowOffsetY,blur:r.shadowBlur,color:r.shadowColor};if(o.dx||o.dy||o.blur||o.color){var i=t.find(\"filter\",o);i||(i=t.addShadow(o)),n.setAttribute(\"filter\",\"url(#\"+i+\")\")}else n.removeAttribute(\"filter\")}function lF(e){var t=e.attr().matrix;if(t){for(var n=e.cfg.el,r=[],o=0;o<9;o+=3)r.push(t[o]+\",\"+t[o+1]);r=r.join(\",\"),-1===r.indexOf(\"NaN\")?n.setAttribute(\"transform\",\"matrix(\"+r+\")\"):console.warn(\"invalid matrix:\",t)}}function fF(e,t){var n=e.getClip(),r=e.get(\"el\");if(n){if(n&&!r.hasAttribute(\"clip-path\")){aF(n),n.createPath(t);var o=t.addClip(n);r.setAttribute(\"clip-path\",\"url(#\"+o+\")\")}}else r.removeAttribute(\"clip-path\")}function dF(e,t){t.forEach((function(t){t.draw(e)}))}function hF(e,t){var n=e.get(\"canvas\");if(n&&n.get(\"autoDraw\")){var r=n.get(\"context\"),o=e.getParent(),i=o?o.getChildren():[n],a=e.get(\"el\");if(\"remove\"===t){var c=e.get(\"isClipShape\");if(c){var u=a&&a.parentNode,s=u&&u.parentNode;u&&s&&s.removeChild(u)}else a&&a.parentNode&&a.parentNode.removeChild(a)}else if(\"show\"===t)a.setAttribute(\"visibility\",\"visible\");else if(\"hide\"===t)a.setAttribute(\"visibility\",\"hidden\");else if(\"zIndex\"===t)uF(a,i.indexOf(e));else if(\"sort\"===t){var l=e.get(\"children\");l&&l.length&&cF(e,(function(e,t){return l.indexOf(e)-l.indexOf(t)?1:0}))}else\"clear\"===t?a&&(a.innerHTML=\"\"):\"matrix\"===t?lF(e):\"clip\"===t?fF(e,r):\"attr\"===t||\"add\"===t&&e.draw(r)}}var pF=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(US[\"__extends\"])(t,e),t.prototype.isEntityGroup=function(){return!0},t.prototype.createDom=function(){var e=iF(\"g\");this.set(\"el\",e);var t=this.getParent();if(t){var n=t.get(\"el\");n||(n=t.createDom(),t.set(\"el\",n)),n.appendChild(e)}return e},t.prototype.afterAttrsChange=function(t){e.prototype.afterAttrsChange.call(this,t);var n=this.get(\"canvas\");if(n&&n.get(\"autoDraw\")){var r=n.get(\"context\");this.createPath(r,t)}},t.prototype.onCanvasChange=function(e){hF(this,e)},t.prototype.getShapeBase=function(){return g},t.prototype.getGroupBase=function(){return t},t.prototype.draw=function(e){var t=this.getChildren(),n=this.get(\"el\");this.get(\"destroyed\")?n&&n.parentNode.removeChild(n):(n||this.createDom(),fF(this,e),this.createPath(e),t.length&&dF(e,t))},t.prototype.createPath=function(e,t){var n=this.attr(),r=this.get(\"el\");Object(GS[\"each\"])(t||n,(function(e,t){oF[t]&&r.setAttribute(oF[t],e)})),lF(this)},t}(jT),vF=pF,gF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"svg\",t.canFill=!1,t.canStroke=!1,t}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},t.prototype.afterAttrsChange=function(t){e.prototype.afterAttrsChange.call(this,t);var n=this.get(\"canvas\");if(n&&n.get(\"autoDraw\")){var r=n.get(\"context\");this.draw(r,t)}},t.prototype.getShapeBase=function(){return g},t.prototype.getGroupBase=function(){return vF},t.prototype.onCanvasChange=function(e){hF(this,e)},t.prototype.calculateBBox=function(){var e=this.get(\"el\"),t=null;if(e)t=e.getBBox();else{var n=AT(this.get(\"type\"));n&&(t=n(this))}if(t){var r=t.x,o=t.y,i=t.width,a=t.height,c=this.getHitLineWidth(),u=c/2,s=r-u,l=o-u,f=r+i+u,d=o+a+u;return{x:s,y:l,minX:s,minY:l,maxX:f,maxY:d,width:i+c,height:a+c}}return{x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0}},t.prototype.isFill=function(){var e=this.attr(),t=e.fill,n=e.fillStyle;return(t||n||this.isClipShape())&&this.canFill},t.prototype.isStroke=function(){var e=this.attr(),t=e.stroke,n=e.strokeStyle;return(t||n)&&this.canStroke},t.prototype.draw=function(e,t){var n=this.get(\"el\");this.get(\"destroyed\")?n&&n.parentNode.removeChild(n):(n||aF(this),fF(this,e),this.createPath(e,t),this.shadow(e,t),this.strokeAndFill(e,t),this.transform(t))},t.prototype.createPath=function(e,t){},t.prototype.strokeAndFill=function(e,t){var n=t||this.attr(),r=n.fill,o=n.fillStyle,i=n.stroke,a=n.strokeStyle,c=n.fillOpacity,u=n.strokeOpacity,s=n.lineWidth,l=this.get(\"el\");this.canFill&&(t?\"fill\"in n?this._setColor(e,\"fill\",r):\"fillStyle\"in n&&this._setColor(e,\"fill\",o):this._setColor(e,\"fill\",r||o),c&&l.setAttribute(oF[\"fillOpacity\"],c)),this.canStroke&&s>0&&(t?\"stroke\"in n?this._setColor(e,\"stroke\",i):\"strokeStyle\"in n&&this._setColor(e,\"stroke\",a):this._setColor(e,\"stroke\",i||a),u&&l.setAttribute(oF[\"strokeOpacity\"],u),s&&l.setAttribute(oF[\"lineWidth\"],s))},t.prototype._setColor=function(e,t,n){var r=this.get(\"el\");if(n)if(n=n.trim(),/^[r,R,L,l]{1}[\\s]*\\(/.test(n)){var o=e.find(\"gradient\",n);o||(o=e.addGradient(n)),r.setAttribute(oF[t],\"url(#\"+o+\")\")}else if(/^[p,P]{1}[\\s]*\\(/.test(n)){o=e.find(\"pattern\",n);o||(o=e.addPattern(n)),r.setAttribute(oF[t],\"url(#\"+o+\")\")}else r.setAttribute(oF[t],n);else r.setAttribute(oF[t],\"none\")},t.prototype.shadow=function(e,t){var n=this.attr(),r=t||n,o=r.shadowOffsetX,i=r.shadowOffsetY,a=r.shadowBlur,c=r.shadowColor;(o||i||a||c)&&sF(this,e)},t.prototype.transform=function(e){var t=this.attr(),n=(e||t).matrix;n&&lF(this)},t.prototype.isInShape=function(e,t){return this.isPointInPath(e,t)},t.prototype.isPointInPath=function(e,t){var n=this.get(\"el\"),r=this.get(\"canvas\"),o=r.get(\"el\").getBoundingClientRect(),i=e+o.left,a=t+o.top,c=document.elementFromPoint(i,a);return!(!c||!c.isEqualNode(n))},t.prototype.getHitLineWidth=function(){var e=this.attrs,t=e.lineWidth,n=e.lineAppendWidth;return this.isStroke()?t+n:0},t}(_T),mF=gF,yF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"circle\",t.canFill=!0,t.canStroke=!0,t}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{x:0,y:0,r:0})},t.prototype.createPath=function(e,t){var n=this.attr(),r=this.get(\"el\");Object(GS[\"each\"])(t||n,(function(e,t){\"x\"===t||\"y\"===t?r.setAttribute(\"c\"+t,e):oF[t]&&r.setAttribute(oF[t],e)}))},t}(mF),bF=yF,xF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"dom\",t.canFill=!1,t.canStroke=!1,t}return Object(US[\"__extends\"])(t,e),t.prototype.createPath=function(e,t){var n=this.attr(),r=this.get(\"el\");if(Object(GS[\"each\"])(t||n,(function(e,t){oF[t]&&r.setAttribute(oF[t],e)})),\"function\"===typeof n[\"html\"]){var o=n[\"html\"].call(this,n);if(o instanceof Element||o instanceof HTMLDocument){for(var i=r.childNodes,a=i.length-1;a>=0;a--)r.removeChild(i[a]);r.appendChild(o)}else r.innerHTML=o}else r.innerHTML=n[\"html\"]},t}(mF),wF=xF,OF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"ellipse\",t.canFill=!0,t.canStroke=!0,t}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{x:0,y:0,rx:0,ry:0})},t.prototype.createPath=function(e,t){var n=this.attr(),r=this.get(\"el\");Object(GS[\"each\"])(t||n,(function(e,t){\"x\"===t||\"y\"===t?r.setAttribute(\"c\"+t,e):oF[t]&&r.setAttribute(oF[t],e)}))},t}(mF),EF=OF,SF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"image\",t.canFill=!1,t.canStroke=!1,t}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{x:0,y:0,width:0,height:0})},t.prototype.createPath=function(e,t){var n=this,r=this.attr(),o=this.get(\"el\");Object(GS[\"each\"])(t||r,(function(e,t){\"img\"===t?n._setImage(r.img):oF[t]&&o.setAttribute(oF[t],e)}))},t.prototype.setAttr=function(e,t){this.attrs[e]=t,\"img\"===e&&this._setImage(t)},t.prototype._setImage=function(e){var t=this.attr(),n=this.get(\"el\");if(Object(GS[\"isString\"])(e))n.setAttribute(\"href\",e);else if(e instanceof window.Image)t.width||(n.setAttribute(\"width\",e.width),this.attr(\"width\",e.width)),t.height||(n.setAttribute(\"height\",e.height),this.attr(\"height\",e.height)),n.setAttribute(\"href\",e.src);else if(e instanceof HTMLElement&&Object(GS[\"isString\"])(e.nodeName)&&\"CANVAS\"===e.nodeName.toUpperCase())n.setAttribute(\"href\",e.toDataURL());else if(e instanceof ImageData){var r=document.createElement(\"canvas\");r.setAttribute(\"width\",\"\"+e.width),r.setAttribute(\"height\",\"\"+e.height),r.getContext(\"2d\").putImageData(e,0,0),t.width||(n.setAttribute(\"width\",\"\"+e.width),this.attr(\"width\",e.width)),t.height||(n.setAttribute(\"height\",\"\"+e.height),this.attr(\"height\",e.height)),n.setAttribute(\"href\",r.toDataURL())}},t}(mF),jF=SF,kF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"line\",t.canFill=!1,t.canStroke=!0,t}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},t.prototype.createPath=function(e,t){var n=this.attr(),r=this.get(\"el\");Object(GS[\"each\"])(t||n,(function(t,o){if(\"startArrow\"===o||\"endArrow\"===o)if(t){var i=Object(GS[\"isObject\"])(t)?e.addArrow(n,oF[o]):e.getDefaultArrow(n,oF[o]);r.setAttribute(oF[o],\"url(#\"+i+\")\")}else r.removeAttribute(oF[o]);else oF[o]&&r.setAttribute(oF[o],t)}))},t.prototype.getTotalLength=function(){var e=this.attr(),t=e.x1,n=e.y1,r=e.x2,o=e.y2;return UT.length(t,n,r,o)},t.prototype.getPoint=function(e){var t=this.attr(),n=t.x1,r=t.y1,o=t.x2,i=t.y2;return UT.pointAt(n,r,o,i,e)},t}(mF),_F=kF,CF={circle:function(e,t,n){return[[\"M\",e,t],[\"m\",-n,0],[\"a\",n,n,0,1,0,2*n,0],[\"a\",n,n,0,1,0,2*-n,0]]},square:function(e,t,n){return[[\"M\",e-n,t-n],[\"L\",e+n,t-n],[\"L\",e+n,t+n],[\"L\",e-n,t+n],[\"Z\"]]},diamond:function(e,t,n){return[[\"M\",e-n,t],[\"L\",e,t-n],[\"L\",e+n,t],[\"L\",e,t+n],[\"Z\"]]},triangle:function(e,t,n){var r=n*Math.sin(1/3*Math.PI);return[[\"M\",e-n,t+r],[\"L\",e,t-r],[\"L\",e+n,t+r],[\"z\"]]},triangleDown:function(e,t,n){var r=n*Math.sin(1/3*Math.PI);return[[\"M\",e-n,t-r],[\"L\",e+n,t-r],[\"L\",e,t+r],[\"Z\"]]}},MF={get:function(e){return CF[e]},register:function(e,t){CF[e]=t},remove:function(e){delete CF[e]},getAll:function(){return CF}},AF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"marker\",t.canFill=!0,t.canStroke=!0,t}return Object(US[\"__extends\"])(t,e),t.prototype.createPath=function(e){var t=this.get(\"el\");t.setAttribute(\"d\",this._assembleMarker())},t.prototype._assembleMarker=function(){var e=this._getPath();return Object(GS[\"isArray\"])(e)?e.map((function(e){return e.join(\" \")})).join(\"\"):e},t.prototype._getPath=function(){var e,t=this.attr(),n=t.x,r=t.y,o=t.r||t.radius,i=t.symbol||\"circle\";return e=Object(GS[\"isFunction\"])(i)?i:MF.get(i),e?e(n,r,o):(console.warn(e+\" symbol is not exist.\"),null)},t.symbolsFactory=MF,t}(mF),NF=AF,TF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"path\",t.canFill=!0,t.canStroke=!0,t}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{startArrow:!1,endArrow:!1})},t.prototype.createPath=function(e,t){var n=this,r=this.attr(),o=this.get(\"el\");Object(GS[\"each\"])(t||r,(function(t,i){if(\"path\"===i&&Object(GS[\"isArray\"])(t))o.setAttribute(\"d\",n._formatPath(t));else if(\"startArrow\"===i||\"endArrow\"===i)if(t){var a=Object(GS[\"isObject\"])(t)?e.addArrow(r,oF[i]):e.getDefaultArrow(r,oF[i]);o.setAttribute(oF[i],\"url(#\"+a+\")\")}else o.removeAttribute(oF[i]);else oF[i]&&o.setAttribute(oF[i],t)}))},t.prototype._formatPath=function(e){var t=e.map((function(e){return e.join(\" \")})).join(\"\");return~t.indexOf(\"NaN\")?\"\":t},t.prototype.getTotalLength=function(){var e=this.get(\"el\");return e?e.getTotalLength():null},t.prototype.getPoint=function(e){var t=this.get(\"el\"),n=this.getTotalLength();if(0===n)return null;var r=t?t.getPointAtLength(e*n):null;return r?{x:r.x,y:r.y}:null},t}(mF),IF=TF,PF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"polygon\",t.canFill=!0,t.canStroke=!0,t}return Object(US[\"__extends\"])(t,e),t.prototype.createPath=function(e,t){var n=this.attr(),r=this.get(\"el\");Object(GS[\"each\"])(t||n,(function(e,t){\"points\"===t&&Object(GS[\"isArray\"])(e)&&e.length>=2?r.setAttribute(\"points\",e.map((function(e){return e[0]+\",\"+e[1]})).join(\" \")):oF[t]&&r.setAttribute(oF[t],e)}))},t}(mF),LF=PF,DF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"polyline\",t.canFill=!0,t.canStroke=!0,t}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{startArrow:!1,endArrow:!1})},t.prototype.onAttrChange=function(t,n,r){e.prototype.onAttrChange.call(this,t,n,r),-1!==[\"points\"].indexOf(t)&&this._resetCache()},t.prototype._resetCache=function(){this.set(\"totalLength\",null),this.set(\"tCache\",null)},t.prototype.createPath=function(e,t){var n=this.attr(),r=this.get(\"el\");Object(GS[\"each\"])(t||n,(function(e,t){\"points\"===t&&Object(GS[\"isArray\"])(e)&&e.length>=2?r.setAttribute(\"points\",e.map((function(e){return e[0]+\",\"+e[1]})).join(\" \")):oF[t]&&r.setAttribute(oF[t],e)}))},t.prototype.getTotalLength=function(){var e=this.attr().points,t=this.get(\"totalLength\");return Object(GS[\"isNil\"])(t)?(this.set(\"totalLength\",xI.length(e)),this.get(\"totalLength\")):t},t.prototype.getPoint=function(e){var t,n,r=this.attr().points,o=this.get(\"tCache\");return o||(this._setTcache(),o=this.get(\"tCache\")),Object(GS[\"each\"])(o,(function(r,o){e>=r[0]&&e<=r[1]&&(t=(e-r[0])/(r[1]-r[0]),n=o)})),UT.pointAt(r[n][0],r[n][1],r[n+1][0],r[n+1][1],t)},t.prototype._setTcache=function(){var e=this.attr().points;if(e&&0!==e.length){var t=this.getTotalLength();if(!(t<=0)){var n,r,o=0,i=[];Object(GS[\"each\"])(e,(function(a,c){e[c+1]&&(n=[],n[0]=o/t,r=UT.length(a[0],a[1],e[c+1][0],e[c+1][1]),o+=r,n[1]=o/t,i.push(n))})),this.set(\"tCache\",i)}}},t.prototype.getStartTangent=function(){var e=this.attr().points,t=[];return t.push([e[1][0],e[1][1]]),t.push([e[0][0],e[0][1]]),t},t.prototype.getEndTangent=function(){var e=this.attr().points,t=e.length-1,n=[];return n.push([e[t-1][0],e[t-1][1]]),n.push([e[t][0],e[t][1]]),n},t}(mF),RF=DF;function FF(e){var t=0,n=0,r=0,o=0;return Object(GS[\"isArray\"])(e)?1===e.length?t=n=r=o=e[0]:2===e.length?(t=r=e[0],n=o=e[1]):3===e.length?(t=e[0],n=o=e[1],r=e[2]):(t=e[0],n=e[1],r=e[2],o=e[3]):t=n=r=o=e,{r1:t,r2:n,r3:r,r4:o}}var BF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"rect\",t.canFill=!0,t.canStroke=!0,t}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{x:0,y:0,width:0,height:0,radius:0})},t.prototype.createPath=function(e,t){var n=this,r=this.attr(),o=this.get(\"el\"),i=!1,a=[\"x\",\"y\",\"width\",\"height\",\"radius\"];Object(GS[\"each\"])(t||r,(function(e,t){-1===a.indexOf(t)||i?-1===a.indexOf(t)&&oF[t]&&o.setAttribute(oF[t],e):(o.setAttribute(\"d\",n._assembleRect(r)),i=!0)}))},t.prototype._assembleRect=function(e){var t=e.x,n=e.y,r=e.width,o=e.height,i=e.radius;if(!i)return\"M \"+t+\",\"+n+\" l \"+r+\",0 l 0,\"+o+\" l\"+-r+\" 0 z\";var a=FF(i);Object(GS[\"isArray\"])(i)?1===i.length?a.r1=a.r2=a.r3=a.r4=i[0]:2===i.length?(a.r1=a.r3=i[0],a.r2=a.r4=i[1]):3===i.length?(a.r1=i[0],a.r2=a.r4=i[1],a.r3=i[2]):(a.r1=i[0],a.r2=i[1],a.r3=i[2],a.r4=i[3]):a.r1=a.r2=a.r3=a.r4=i;var c=[[\"M \"+(t+a.r1)+\",\"+n],[\"l \"+(r-a.r1-a.r2)+\",0\"],[\"a \"+a.r2+\",\"+a.r2+\",0,0,1,\"+a.r2+\",\"+a.r2],[\"l 0,\"+(o-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-o)],[\"a \"+a.r1+\",\"+a.r1+\",0,0,1,\"+a.r1+\",\"+-a.r1],[\"z\"]];return c.join(\" \")},t}(mF),zF=BF,UF=.3,GF={top:\"before-edge\",middle:\"central\",bottom:\"after-edge\",alphabetic:\"baseline\",hanging:\"hanging\"},VF={top:\"text-before-edge\",middle:\"central\",bottom:\"text-after-edge\",alphabetic:\"alphabetic\",hanging:\"hanging\"},WF={left:\"left\",start:\"left\",center:\"middle\",right:\"end\",end:\"end\"},HF=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"text\",t.canFill=!0,t.canStroke=!0,t}return Object(US[\"__extends\"])(t,e),t.prototype.getDefaultAttrs=function(){var t=e.prototype.getDefaultAttrs.call(this);return Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{x:0,y:0,text:null,fontSize:12,fontFamily:\"sans-serif\",fontStyle:\"normal\",fontWeight:\"normal\",fontVariant:\"normal\",textAlign:\"start\",textBaseline:\"bottom\"})},t.prototype.createPath=function(e,t){var n=this,r=this.attr(),o=this.get(\"el\");this._setFont(),Object(GS[\"each\"])(t||r,(function(e,t){\"text\"===t?n._setText(\"\"+e):\"matrix\"===t&&e?lF(n):oF[t]&&o.setAttribute(oF[t],e)})),o.setAttribute(\"paint-order\",\"stroke\"),o.setAttribute(\"style\",\"stroke-linecap:butt; stroke-linejoin:miter;\")},t.prototype._setFont=function(){var e=this.get(\"el\"),t=this.attr(),n=t.textBaseline,r=t.textAlign,o=Object(bM[\"a\"])();o&&\"firefox\"===o.name?e.setAttribute(\"dominant-baseline\",VF[n]||\"alphabetic\"):e.setAttribute(\"alignment-baseline\",GF[n]||\"baseline\"),e.setAttribute(\"text-anchor\",WF[r]||\"left\")},t.prototype._setText=function(e){var t=this.get(\"el\"),n=this.attr(),r=n.x,o=n.textBaseline,i=void 0===o?\"bottom\":o;if(e)if(~e.indexOf(\"\\n\")){var a=e.split(\"\\n\"),c=a.length-1,u=\"\";Object(GS[\"each\"])(a,(function(e,t){0===t?\"alphabetic\"===i?u+='<tspan x=\"'+r+'\" dy=\"'+-c+'em\">'+e+\"</tspan>\":\"top\"===i?u+='<tspan x=\"'+r+'\" dy=\"0.9em\">'+e+\"</tspan>\":\"middle\"===i?u+='<tspan x=\"'+r+'\" dy=\"'+-(c-1)/2+'em\">'+e+\"</tspan>\":\"bottom\"===i?u+='<tspan x=\"'+r+'\" dy=\"-'+(c+UF)+'em\">'+e+\"</tspan>\":\"hanging\"===i&&(u+='<tspan x=\"'+r+'\" dy=\"'+(-(c-1)-UF)+'em\">'+e+\"</tspan>\"):u+='<tspan x=\"'+r+'\" dy=\"1em\">'+e+\"</tspan>\"})),t.innerHTML=u}else t.innerHTML=e;else t.innerHTML=\"\"},t}(mF),YF=HF,XF=/^l\\s*\\(\\s*([\\d.]+)\\s*\\)\\s*(.*)/i,qF=/^r\\s*\\(\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*,\\s*([\\d.]+)\\s*\\)\\s*(.*)/i,KF=/[\\d.]+:(#[^\\s]+|[^)]+\\))/gi;function ZF(e){var t=e.match(KF);if(!t)return\"\";var n=\"\";return t.sort((function(e,t){return e=e.split(\":\"),t=t.split(\":\"),Number(e[0])-Number(t[0])})),Object(GS[\"each\"])(t,(function(e){e=e.split(\":\"),n+='<stop offset=\"'+e[0]+'\" stop-color=\"'+e[1]+'\"></stop>'})),n}function $F(e,t){var n,r,o=XF.exec(e),i=Object(GS[\"mod\"])(Object(GS[\"toRadian\"])(parseFloat(o[1])),2*Math.PI),a=o[2];i>=0&&i<.5*Math.PI?(n={x:0,y:0},r={x:1,y:1}):.5*Math.PI<=i&&i<Math.PI?(n={x:1,y:0},r={x:0,y:1}):Math.PI<=i&&i<1.5*Math.PI?(n={x:1,y:1},r={x:0,y:0}):(n={x:0,y:1},r={x:1,y:0});var c=Math.tan(i),u=c*c,s=(r.x-n.x+c*(r.y-n.y))/(u+1)+n.x,l=c*(r.x-n.x+c*(r.y-n.y))/(u+1)+n.y;t.setAttribute(\"x1\",n.x),t.setAttribute(\"y1\",n.y),t.setAttribute(\"x2\",s),t.setAttribute(\"y2\",l),t.innerHTML=ZF(a)}function QF(e,t){var n=qF.exec(e),r=parseFloat(n[1]),o=parseFloat(n[2]),i=parseFloat(n[3]),a=n[4];t.setAttribute(\"cx\",r),t.setAttribute(\"cy\",o),t.setAttribute(\"r\",i),t.innerHTML=ZF(a)}var JF=function(){function e(e){this.cfg={};var t=null,n=Object(GS[\"uniqueId\"])(\"gradient_\");return\"l\"===e.toLowerCase()[0]?(t=iF(\"linearGradient\"),$F(e,t)):(t=iF(\"radialGradient\"),QF(e,t)),t.setAttribute(\"id\",n),this.el=t,this.id=n,this.cfg=e,this}return e.prototype.match=function(e,t){return this.cfg===t},e}(),eB=JF,tB={shadowColor:\"color\",shadowOpacity:\"opacity\",shadowBlur:\"blur\",shadowOffsetX:\"dx\",shadowOffsetY:\"dy\"},nB={x:\"-40%\",y:\"-40%\",width:\"200%\",height:\"200%\"},rB=function(){function e(e){this.type=\"filter\",this.cfg={},this.type=\"filter\";var t=iF(\"filter\");return Object(GS[\"each\"])(nB,(function(e,n){t.setAttribute(n,e)})),this.el=t,this.id=Object(GS[\"uniqueId\"])(\"filter_\"),this.el.id=this.id,this.cfg=e,this._parseShadow(e,t),this}return e.prototype.match=function(e,t){if(this.type!==e)return!1;var n=!0,r=this.cfg;return Object(GS[\"each\"])(Object.keys(r),(function(e){if(r[e]!==t[e])return n=!1,!1})),n},e.prototype.update=function(e,t){var n=this.cfg;return n[tB[e]]=t,this._parseShadow(n,this.el),this},e.prototype._parseShadow=function(e,t){var n='<feDropShadow\\n      dx=\"'+(e.dx||0)+'\"\\n      dy=\"'+(e.dy||0)+'\"\\n      stdDeviation=\"'+(e.blur?e.blur/10:0)+'\"\\n      flood-color=\"'+(e.color?e.color:\"#000\")+'\"\\n      flood-opacity=\"'+(e.opacity?e.opacity:1)+'\"\\n      />';t.innerHTML=n},e}(),oB=rB,iB=function(){function e(e,t){this.cfg={};var n=iF(\"marker\"),r=Object(GS[\"uniqueId\"])(\"marker_\");n.setAttribute(\"id\",r);var o=iF(\"path\");o.setAttribute(\"stroke\",e.stroke||\"none\"),o.setAttribute(\"fill\",e.fill||\"none\"),n.appendChild(o),n.setAttribute(\"overflow\",\"visible\"),n.setAttribute(\"orient\",\"auto-start-reverse\"),this.el=n,this.child=o,this.id=r;var i=e[\"marker-start\"===t?\"startArrow\":\"endArrow\"];return this.stroke=e.stroke||\"#000\",!0===i?this._setDefaultPath(t,o):(this.cfg=i,this._setMarker(e.lineWidth,o)),this}return e.prototype.match=function(){return!1},e.prototype._setDefaultPath=function(e,t){var n=this.el;t.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\")},e.prototype._setMarker=function(e,t){var n=this.el,r=this.cfg.path,o=this.cfg.d;Object(GS[\"isArray\"])(r)&&(r=r.map((function(e){return e.join(\" \")})).join(\"\")),t.setAttribute(\"d\",r),n.appendChild(t),o&&n.setAttribute(\"refX\",\"\"+o/e)},e.prototype.update=function(e){var t=this.child;t.attr?t.attr(\"fill\",e):t.setAttribute(\"fill\",e)},e}(),aB=iB,cB=function(){function e(e){this.type=\"clip\",this.cfg={};var t=iF(\"clipPath\");this.el=t,this.id=Object(GS[\"uniqueId\"])(\"clip_\"),t.id=this.id;var n=e.cfg.el;return t.appendChild(n),this.cfg=e,this}return e.prototype.match=function(){return!1},e.prototype.remove=function(){var e=this.el;e.parentNode.removeChild(e)},e}(),uB=cB,sB=/^p\\s*\\(\\s*([axyn])\\s*\\)\\s*(.*)/i,lB=function(){function e(e){this.cfg={};var t=iF(\"pattern\");t.setAttribute(\"patternUnits\",\"userSpaceOnUse\");var n=iF(\"image\");t.appendChild(n);var r=Object(GS[\"uniqueId\"])(\"pattern_\");t.id=r,this.el=t,this.id=r,this.cfg=e;var o=sB.exec(e),i=o[2];n.setAttribute(\"href\",i);var a=new Image;function c(){t.setAttribute(\"width\",\"\"+a.width),t.setAttribute(\"height\",\"\"+a.height)}return i.match(/^data:/i)||(a.crossOrigin=\"Anonymous\"),a.src=i,a.complete?c():(a.onload=c,a.src=a.src),this}return e.prototype.match=function(e,t){return this.cfg===t},e}(),fB=lB,dB=function(){function e(e){var t=iF(\"defs\"),n=Object(GS[\"uniqueId\"])(\"defs_\");t.id=n,e.appendChild(t),this.children=[],this.defaultArrow={},this.el=t,this.canvas=e}return e.prototype.find=function(e,t){for(var n=this.children,r=null,o=0;o<n.length;o++)if(n[o].match(e,t)){r=n[o].id;break}return r},e.prototype.findById=function(e){for(var t=this.children,n=null,r=0;r<t.length;r++)if(t[r].id===e){n=t[r];break}return n},e.prototype.add=function(e){this.children.push(e),e.canvas=this.canvas,e.parent=this},e.prototype.getDefaultArrow=function(e,t){var n=e.stroke||e.strokeStyle;if(this.defaultArrow[n])return this.defaultArrow[n].id;var r=new aB(e,t);return this.defaultArrow[n]=r,this.el.appendChild(r.el),this.add(r),r.id},e.prototype.addGradient=function(e){var t=new eB(e);return this.el.appendChild(t.el),this.add(t),t.id},e.prototype.addArrow=function(e,t){var n=new aB(e,t);return this.el.appendChild(n.el),this.add(n),n.id},e.prototype.addShadow=function(e){var t=new oB(e);return this.el.appendChild(t.el),this.add(t),t.id},e.prototype.addPattern=function(e){var t=new fB(e);return this.el.appendChild(t.el),this.add(t),t.id},e.prototype.addClip=function(e){var t=new uB(e);return this.el.appendChild(t.el),this.add(t),t.id},e}(),hB=dB,pB=function(e){function t(t){return e.call(this,Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t),{autoDraw:!0,renderer:\"svg\"}))||this}return Object(US[\"__extends\"])(t,e),t.prototype.getShapeBase=function(){return g},t.prototype.getGroupBase=function(){return vF},t.prototype.getShape=function(e,t,n){var r=n.target||n.srcElement;if(!rF[r.tagName]){var o=r.parentNode;while(o&&!rF[o.tagName])o=o.parentNode;r=o}return this.find((function(e){return e.get(\"el\")===r}))},t.prototype.createDom=function(){var e=iF(\"svg\"),t=new hB(e);return e.setAttribute(\"width\",\"\"+this.get(\"width\")),e.setAttribute(\"height\",\"\"+this.get(\"height\")),this.set(\"context\",t),e},t.prototype.onCanvasChange=function(e){var t=this.get(\"context\"),n=this.get(\"el\");if(\"sort\"===e){var r=this.get(\"children\");r&&r.length&&cF(this,(function(e,t){return r.indexOf(e)-r.indexOf(t)?1:0}))}else if(\"clear\"===e){if(n){n.innerHTML=\"\";var o=t.el;o.innerHTML=\"\",n.appendChild(o)}}else\"matrix\"===e?lF(this):\"clip\"===e?fF(this,t):\"changeSize\"===e&&(n.setAttribute(\"width\",\"\"+this.get(\"width\")),n.setAttribute(\"height\",\"\"+this.get(\"height\")))},t.prototype.draw=function(){var e=this.get(\"context\"),t=this.getChildren();fF(this,e),t.length&&dF(e,t)},t}(ET),vB=pB,gB=r(\"aSns\"),mB=r.n(gB),yB=r(\"Zss7\"),bB=r.n(yB),xB=2,wB=.16,OB=.05,EB=.05,SB=.15,jB=5,kB=4,_B=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function CB(e,t,n){var r;return r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-xB*t:Math.round(e.h)+xB*t:n?Math.round(e.h)+xB*t:Math.round(e.h)-xB*t,r<0?r+=360:r>=360&&(r-=360),r}function MB(e,t,n){return 0===e.h&&0===e.s?e.s:(r=n?e.s-wB*t:t===kB?e.s+wB:e.s+OB*t,r>1&&(r=1),n&&t===jB&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function AB(e,t,n){var r;return r=n?e.v+EB*t:e.v-SB*t,r>1&&(r=1),Number(r.toFixed(2))}function NB(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=bB()(e),o=jB;o>0;o-=1){var i=r.toHsv(),a=bB()({h:CB(i,o,!0),s:MB(i,o,!0),v:AB(i,o,!0)}).toHexString();n.push(a)}n.push(r.toHexString());for(var c=1;c<=kB;c+=1){var u=r.toHsv(),s=bB()({h:CB(u,c),s:MB(u,c),v:AB(u,c)}).toHexString();n.push(s)}return\"dark\"===t.theme?_B.map((function(e){var r=e.index,o=e.opacity,i=bB.a.mix(t.backgroundColor||\"#141414\",n[r],100*o).toHexString();return i})):n}var TB={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\"},IB={},PB={};Object.keys(TB).forEach((function(e){IB[e]=NB(TB[e]),IB[e].primary=IB[e][5],PB[e]=NB(TB[e],{theme:\"dark\",backgroundColor:\"#141414\"}),PB[e].primary=PB[e][5]}));IB.red,IB.volcano,IB.gold,IB.orange,IB.yellow,IB.lime,IB.green,IB.cyan,IB.blue,IB.geekblue,IB.purple,IB.magenta,IB.grey;var LB,DB,RB,FB,BB=function(e,t,n){var r=mB()(e),o=mB()(t);return mB()([(1-n)*r.red()+n*o.red(),(1-n)*r.green()+n*o.green(),(1-n)*r.blue()+n*o.blue()]).rgb()},zB=function(e,t,n){void 0===t&&(t=\"#fff\"),void 0===n&&(n=\"rgb(150, 150, 150)\");var r=BB(t,e,.05).rgb().toString(),o=BB(t,e,.1).rgb().toString(),i=BB(t,e,.2).rgb().toString(),a=BB(t,e,.4).rgb().toString(),c=BB(t,n,.02).rgb().toString(),u=BB(t,n,.05).rgb().toString(),s=BB(t,n,.1).rgb().toString(),l=BB(t,n,.2).rgb().toString(),f=BB(t,n,.3).rgb().toString(),d=NB(e,{theme:\"default\",backgroundColor:t}),h=mB()(e).hex().toLowerCase(),p=d.indexOf(h),v=e;return-1!==p&&(v=d[p+1]),{mainStroke:e,mainFill:o,activeStroke:e,activeFill:r,inactiveStroke:a,inactiveFill:r,selectedStroke:e,selectedFill:t,highlightStroke:v,highlightFill:i,disableStroke:f,disableFill:u,edgeMainStroke:f,edgeActiveStroke:e,edgeInactiveStroke:l,edgeSelectedStroke:e,edgeHighlightStroke:e,edgeDisableStroke:s,comboMainStroke:f,comboMainFill:c,comboActiveStroke:e,comboActiveFill:r,comboInactiveStroke:f,comboInactiveFill:c,comboSelectedStroke:e,comboSelectedFill:c,comboHighlightStroke:v,comboHighlightFill:c,comboDisableStroke:l,comboDisableFill:u}},UB=function(e,t,n){void 0===t&&(t=\"#fff\"),void 0===n&&(n=\"#777\");var r=BB(t,e,.2).rgb().toString(),o=BB(t,e,.3).rgb().toString(),i=BB(t,e,.6).rgb().toString(),a=BB(t,e,.8).rgb().toString(),c=BB(t,n,.2).rgb().toString(),u=BB(t,n,.25).rgb().toString(),s=BB(t,n,.3).rgb().toString(),l=BB(t,n,.4).rgb().toString(),f=BB(t,n,.5).rgb().toString(),d=NB(e,{theme:\"dark\",backgroundColor:t}),h=mB()(e).hex().toLowerCase(),p=d.indexOf(h),v=e;return-1!==p&&(v=d[p+1]),{mainStroke:a,mainFill:r,activeStroke:e,activeFill:o,inactiveStroke:a,inactiveFill:r,selectedStroke:e,selectedFill:r,highlightStroke:e,highlightFill:i,disableStroke:f,disableFill:u,edgeMainStroke:n,edgeActiveStroke:e,edgeInactiveStroke:n,edgeSelectedStroke:e,edgeHighlightStroke:e,edgeDisableStroke:s,comboMainStroke:l,comboMainFill:u,comboActiveStroke:e,comboActiveFill:c,comboInactiveStroke:l,comboInactiveFill:u,comboSelectedStroke:e,comboSelectedFill:c,comboHighlightStroke:v,comboHighlightFill:u,comboDisableStroke:l,comboDisableFill:c}},GB=function(e,t,n,r){return void 0===t&&(t=\"#fff\"),void 0===n&&(n=\"default\"),void 0===r&&(r=\"rgb(150, 150, 150)\"),\"default\"===n?zB(e,t,\"rgb(150, 150, 150)\"):UB(e,t,\"#777\")},VB=function(e,t,n,r){void 0===t&&(t=\"#fff\"),void 0===n&&(n=\"default\"),void 0===r&&(r=\"rgb(150, 150, 150)\");var o=[];return e.forEach((function(e){o.push(GB(e,t,n,r))})),o},WB=\"rgb(95, 149, 255)\",HB=\"rgb(255, 255, 255)\",YB=\"rgb(0, 0, 0)\",XB=GB(WB,HB),qB={version:\"0.7.16\",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:XB.mainStroke,fill:XB.mainFill},size:20,color:XB.mainStroke,linkPoints:{size:8,lineWidth:1,fill:XB.activeFill,stroke:XB.activeStroke}},nodeStateStyles:{active:{fill:XB.activeFill,stroke:XB.activeStroke,lineWidth:2,shadowColor:XB.mainStroke,shadowBlur:10},selected:{fill:XB.selectedFill,stroke:XB.selectedStroke,lineWidth:4,shadowColor:XB.selectedStroke,shadowBlur:10,\"text-shape\":{fontWeight:500}},highlight:{fill:XB.highlightFill,stroke:XB.highlightStroke,lineWidth:2,\"text-shape\":{fontWeight:500}},inactive:{fill:XB.inactiveFill,stroke:XB.inactiveStroke,lineWidth:1},disable:{fill:XB.disableFill,stroke:XB.disableStroke,lineWidth:1}},edgeLabel:{style:{fill:YB,textAlign:\"center\",textBaseline:\"middle\",fontSize:12}},defaultEdge:{type:\"line\",size:1,style:{stroke:XB.edgeMainStroke,lineAppendWidth:2},color:XB.edgeMainStroke},edgeStateStyles:{active:{stroke:XB.edgeActiveStroke,lineWidth:1},selected:{stroke:XB.edgeSelectedStroke,lineWidth:2,shadowColor:XB.edgeSelectedStroke,shadowBlur:10,\"text-shape\":{fontWeight:500}},highlight:{stroke:XB.edgeHighlightStroke,lineWidth:2,\"text-shape\":{fontWeight:500}},inactive:{stroke:XB.edgeInactiveStroke,lineWidth:1},disable:{stroke:XB.edgeDisableStroke,lineWidth:1}},comboLabel:{style:{fill:YB,textBaseline:\"middle\",fontSize:12},refY:10,refX:10},defaultCombo:{type:\"circle\",style:{fill:XB.comboMainFill,lineWidth:1,stroke:XB.comboMainStroke,r:5,width:20,height:10},size:[20,5],color:XB.comboMainStroke,padding:[25,20,15,20]},comboStateStyles:{active:{stroke:XB.comboActiveStroke,lineWidth:1,fill:XB.comboActiveFill},selected:{stroke:XB.comboSelectedStroke,lineWidth:2,fill:XB.comboSelectedFill,shadowColor:XB.comboSelectedStroke,shadowBlur:10,\"text-shape\":{fontWeight:500}},highlight:{stroke:XB.comboHighlightStroke,lineWidth:2,fill:XB.comboHighlightFill,\"text-shape\":{fontWeight:500}},inactive:{stroke:XB.comboInactiveStroke,fill:XB.comboInactiveFill,lineWidth:1},disable:{stroke:XB.comboDisableStroke,fill:XB.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 KB(e,t,n){if(e){if(\"function\"===typeof e.addEventListener)return e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}};if(\"function\"===typeof e.attachEvent)return e.attachEvent(\"on\"+t,n),{remove:function(){e.detachEvent(\"on\"+t,n)}}}}function ZB(){LB=document.createElement(\"table\"),DB=document.createElement(\"tr\"),RB=/^\\s*<(\\w+|!)[^>]*>/,FB={tr:document.createElement(\"tbody\"),tbody:LB,thead:LB,tfoot:LB,td:DB,th:DB,\"*\":document.createElement(\"div\")}}function $B(e){LB||ZB();var t=RB.test(e)&&RegExp.$1;t&&t in FB||(t=\"*\");var n=FB[t];e=\"string\"===typeof e?e.replace(/(^\\s*)|(\\s*$)/g,\"\"):e,n.innerHTML=\"\"+e;var r=n.childNodes[0];return r&&n.contains(r)&&n.removeChild(r),r}function QB(e,t){if(e)for(var n in t)t.hasOwnProperty(n)&&(e.style[n]=t[n]);return e}var JB=uD.cloneEvent,ez=uD.isViewportChanged,tz=function(e){function t(t){var n=e.call(this,t)||this;return n.extendEvents=[],n.dragging=!1,n.preItem=null,n.graph=t,n.destroyed=!1,n.initEvents(),n}return Object(US[\"__extends\"])(t,e),t.prototype.initEvents=function(){var e=this,t=e.graph,n=e.extendEvents,r=void 0===n?[]:n,o=t.get(\"canvas\"),i=o.get(\"el\"),a=Object(GS[\"wrapBehavior\"])(this,\"onCanvasEvents\"),c=Object(GS[\"wrapBehavior\"])(this,\"onExtendEvents\"),u=Object(GS[\"wrapBehavior\"])(this,\"onWheelEvent\");o.off(\"*\").on(\"*\",a),this.canvasHandler=a,r.push(KB(i,\"DOMMouseScroll\",u)),r.push(KB(i,\"mousewheel\",u)),\"undefined\"!==typeof window&&(r.push(KB(window,\"keydown\",c)),r.push(KB(window,\"keyup\",c)),r.push(KB(window,\"focus\",c)))},t.getItemRoot=function(e){while(e&&!e.get(\"item\"))e=e.get(\"parent\");return e},t.prototype.onCanvasEvents=function(e){var n=this.graph,r=n.get(\"canvas\"),o=e.target,i=e.type;e.canvasX=e.x,e.canvasY=e.y;var a={x:e.canvasX,y:e.canvasY},c=n.get(\"group\"),u=c.getMatrix();if(u||(u=[1,0,0,0,1,0,0,0,1]),ez(u)&&(a=n.getPointByClient(e.clientX,e.clientY)),e.x=a.x,e.y=a.y,e.currentTarget=n,o===r)return\"mousemove\"!==i&&\"mouseleave\"!==i||this.handleMouseMove(e,\"canvas\"),e.target=r,e.item=null,n.emit(i,e),void n.emit(\"canvas:\".concat(i),e);var s=t.getItemRoot(o);if(s){var l=s.get(\"item\");if(!l.destroyed){var f=l.getType();if(e.target=o,e.item=l,e.canvasX===e.x&&e.canvasY===e.y){var d=n.getCanvasByPoint(e.x,e.y);e.canvasX=d.x,e.canvasY=d.y}n.emit(i,e),e.name&&!e.name.includes(\":\")?n.emit(\"\".concat(f,\":\").concat(i),e):n.emit(e.name,e),\"dragstart\"===i&&(this.dragging=!0),\"dragend\"===i&&(this.dragging=!1),\"mousemove\"===i&&this.handleMouseMove(e,f)}}else n.emit(i,e)},t.prototype.onExtendEvents=function(e){this.graph.emit(e.type,e)},t.prototype.onWheelEvent=function(e){Object(GS[\"isNil\"])(e.wheelDelta)&&(e.wheelDelta=-e.detail),this.graph.emit(\"wheel\",e)},t.prototype.handleMouseMove=function(e,t){var n=this,r=n.graph,o=n.preItem,i=r.get(\"canvas\"),a=e.target===i?null:e.item;e=JB(e),o&&o!==a&&!o.destroyed&&(e.item=o,this.emitCustomEvent(o.getType(),\"mouseleave\",e),this.dragging&&this.emitCustomEvent(o.getType(),\"dragleave\",e)),a&&o!==a&&(e.item=a,this.emitCustomEvent(t,\"mouseenter\",e),this.dragging&&this.emitCustomEvent(t,\"dragenter\",e)),this.preItem=a},t.prototype.emitCustomEvent=function(e,t,n){n.type=t,this.graph.emit(\"\".concat(e,\":\").concat(t),n)},t.prototype.destroy=function(){var e=this,t=e.graph,n=e.canvasHandler,r=e.extendEvents,o=t.get(\"canvas\");o.off(\"*\",n),Object(GS[\"each\"])(r,(function(e){e.remove()})),this.dragging=!1,this.preItem=null,this.extendEvents.length=0,this.canvasHandler=null,this.destroyed=!0},t}(dD),nz=tz,rz=r(\"LkwV\"),oz=r(\"BRni\"),iz=r.n(oz),az=uD.traverseTree,cz=function(e,t){var n;return n=e?Object(GS[\"isNumber\"])(e)?function(t){return e}:e:function(e){return t||1},n},uz=function(e,t){var n=[],r=[],o={},i=0;for(i=0;i<e.length;i++){var a=e[i];o[a.id]=i,n.push(a.x),n.push(a.y),n.push(0),n.push(0),r.push([])}for(i=0;i<t.length;i++){var c=t[i];r[o[c.source]].push(o[c.target]),r[o[c.target]].push(o[c.source])}var u=0;for(i=0;i<e.length;i++){var s=n.length,l=r[i],f=l.length;n[4*i+2]=s,n[4*i+3]=l.length,u=Math.max(u,l.length);for(var d=0;d<f;++d){var h=l[d];n.push(+h)}}while(n.length%4!==0)n.push(0);return{array:new Float32Array(n),maxEdgePerVetex:u}},sz=function(e,t,n){var r=[],o=[],i={},a=0;for(a=0;a<e.length;a++){var c=e[a];i[c.id]=a,r.push(c.x),r.push(c.y),r.push(0),r.push(0),o.push([])}for(a=0;a<t.length;a++){var u=t[a];o[i[u.source]].push(i[u.target]),o[i[u.source]].push(n(u)),o[i[u.target]].push(i[u.source]),o[i[u.target]].push(n(u))}var s=0;for(a=0;a<e.length;a++){var l=r.length,f=o[a],d=f.length;r[4*a+2]=l,r[4*a+3]=d/2,s=Math.max(s,d/2);for(var h=0;h<d;++h){var p=f[h];r.push(+p)}}while(r.length%4!==0)r.push(0);return{array:new Float32Array(r),maxEdgePerVetex:s}},lz=function(e,t,n,r){var o=[],i=[],a={},c=0;for(c=0;c<e.length;c++){var u=e[c];a[u.id]=c,o.push(u.x),o.push(u.y),o.push(0),o.push(0),i.push([])}for(c=0;c<t.length;c++){var s=t[c];i[a[s.source]].push(a[s.target]),i[a[s.source]].push(n(s)),i[a[s.source]].push(r(s)),i[a[s.source]].push(0),i[a[s.target]].push(a[s.source]),i[a[s.target]].push(n(s)),i[a[s.target]].push(r(s)),i[a[s.target]].push(0)}var l=0;for(c=0;c<e.length;c++){var f=o.length,d=i[c],h=d.length;o[4*c+2]=f+1048576*h/4,o[4*c+3]=0,l=Math.max(l,h/4);for(var p=0;p<h;++p){var v=d[p];o.push(+v)}}while(o.length%4!==0)o.push(0);return{array:new Float32Array(o),maxEdgePerVetex:l}},fz=function(e,t){var n=[],r=e.length,o={};return t.forEach((function(t){e.forEach((function(e,i){if(void 0===o[t[e]]&&(o[t[e]]=Object.keys(o).length),n.push(o[t[e]]),i===r-1)while(n.length%4!==0)n.push(0)}))})),{array:new Float32Array(n),count:Object.keys(o).length}},dz=function(e){for(var t=[],n=e.length,r=e[0].length,o=function(r){e.forEach((function(e,o){if(t.push(e[r]),o===n-1)while(t.length%4!==0)t.push(0)}))},i=0;i<r;i++)o(i);return new Float32Array(t)},hz=function(e,t){var n=[\"V\",\"TB\",\"BT\"],r={x:1/0,y:1/0},o={x:-1/0,y:-1/0},i=\"x\",a=\"y\";t&&n.indexOf(t)>=0&&(a=\"x\",i=\"y\");var c=0;az(e,(function(e){return c++,e.x>o.x&&(o.x=e.x),e.x<r.x&&(r.x=e.x),e.y>o.y&&(o.y=e.y),e.y<r.y&&(r.y=e.y),!0}));var u=2*Math.PI/c,s=o[a]-r[a];return 0===s||az(e,(function(t){var n=(t[a]-r[a])/s*(2*Math.PI-u)+u,o=Math.abs(\"x\"===i?t.x-e.x:t.y-e.y);return t.x=o*Math.cos(n),t.y=o*Math.sin(n),!0})),e},pz=function e(){return\"undefined\"===typeof window||\"undefined\"===typeof document?{}:{canvas:!!window.CanvasRenderingContext2D,webgl:function(){try{var e=document.createElement(\"canvas\");return!(!window.WebGLRenderingContext||!e.getContext(\"webgl\")&&!e.getContext(\"experimental-webgl\"))}catch(t){return!1}}(),workers:!!window.Worker,fileapi:window.File&&window.FileReader&&window.FileList&&window.Blob,getWebGLErrorMessage:function(){var e=document.createElement(\"div\");return e.id=\"webgl-error-message\",e.style.fontFamily=\"monospace\",e.style.fontSize=\"13px\",e.style.fontWeight=\"normal\",e.style.textAlign=\"center\",e.style.background=\"#fff\",e.style.color=\"#000\",e.style.padding=\"1.5em\",e.style.width=\"400px\",e.style.margin=\"5em auto 0\",this.webgl||(e.innerHTML=window.WebGLRenderingContext?['Your graphics card does not seem to support <a href=\"http://khronos.org/webgl/wiki/Getting_a_WebGL_Implementation\" rel=\"external nofollow\" rel=\"external nofollow\" style=\"color:#000\">WebGL</a>.<br />','Find out how to get it <a href=\"http://get.webgl.org/\" rel=\"external nofollow\" rel=\"external nofollow\" style=\"color:#000\">here</a>.'].join(\"\\n\"):['Your browser does not seem to support <a href=\"http://khronos.org/webgl/wiki/Getting_a_WebGL_Implementation\" rel=\"external nofollow\" rel=\"external nofollow\" style=\"color:#000\">WebGL</a>.<br/>','Find out how to get it <a href=\"http://get.webgl.org/\" rel=\"external nofollow\" rel=\"external nofollow\" style=\"color:#000\">here</a>.'].join(\"\\n\")),e},addGetWebGLMessage:function(t){t=t||{};var n=void 0!==t.parent?t.parent:document.body,r=void 0!==t.id?t.id:\"oldie\",o=e().getWebGLErrorMessage();o.id=r,n.appendChild(o)}}},vz=Object(US[\"__assign\"])(Object(US[\"__assign\"])(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},uD),m),y),b),gz=vz,mz=gz.radialLayout,yz=function(){function e(e){this.type=e.type,this.radial=e.radial,this.config=e}return e.prototype.init=function(e){var t=this;this.data=e,this.radial?this.layoutMethod=function(e){var n=iz.a[t.type](e,t.config);return mz(n),n}:this.layoutMethod=function(e){return iz.a[t.type](e,t.config)}},e.prototype.execute=function(){return this.layoutMethod(this.data,this.config)},e.prototype.layout=function(e){return this.init(e),this.execute()},e}(),bz=yz;Object(rz[\"registerLayout\"])(\"grid\",rz[\"GridLayout\"]),Object(rz[\"registerLayout\"])(\"random\",rz[\"RandomLayout\"]),Object(rz[\"registerLayout\"])(\"force\",rz[\"ForceLayout\"]),Object(rz[\"registerLayout\"])(\"circular\",rz[\"CircularLayout\"]),Object(rz[\"registerLayout\"])(\"dagre\",rz[\"DagreLayout\"]),Object(rz[\"registerLayout\"])(\"dagreCompound\",rz[\"DagreCompoundLayout\"]),Object(rz[\"registerLayout\"])(\"radial\",rz[\"RadialLayout\"]),Object(rz[\"registerLayout\"])(\"concentric\",rz[\"ConcentricLayout\"]),Object(rz[\"registerLayout\"])(\"mds\",rz[\"MDSLayout\"]),Object(rz[\"registerLayout\"])(\"fruchterman\",rz[\"FruchtermanLayout\"]),Object(rz[\"registerLayout\"])(\"fruchterman-gpu\",rz[\"FruchtermanGPULayout\"]),Object(rz[\"registerLayout\"])(\"gForce\",rz[\"GForceLayout\"]),Object(rz[\"registerLayout\"])(\"force2\",rz[\"Force2Layout\"]),Object(rz[\"registerLayout\"])(\"gForce-gpu\",rz[\"GForceGPULayout\"]),Object(rz[\"registerLayout\"])(\"comboForce\",rz[\"ComboForceLayout\"]),Object(rz[\"registerLayout\"])(\"comboCombined\",rz[\"ComboCombinedLayout\"]),Object(rz[\"registerLayout\"])(\"forceAtlas2\",rz[\"ForceAtlas2Layout\"]);var xz=function(e,t){t.isCustomLayout=!0,rz[\"Layouts\"][e]=Object(rz[\"registerLayout\"])(e,t)},wz=function(){function e(e,t){var n=e.toString(),r=new Blob([\"importScripts('\".concat(t,\"');(\").concat(n,\")()\")],{type:\"text/javascript\"});return new Worker(URL.createObjectURL(r))}return e}(),Oz=wz,Ez=function(e){function t(){var e={RUN:\"LAYOUT_RUN\",END:\"LAYOUT_END\",ERROR:\"LAYOUT_ERROR\",TICK:\"LAYOUT_TICK\",GPURUN:\"GPU_LAYOUT_RUN\",GPUEND:\"GPU_LAYOUT_END\"};function t(t){var n=t.data.type;return n===e.RUN||n===e.GPURUN}function n(t){var n=this,r=t.data.type;switch(r){case e.RUN:var o,i=t.data,a=i.nodes,c=i.edges,u=i.layoutCfg,s=void 0===u?{}:u,l=s.type,f=layout.getLayoutByName(l);if(!f){this.postMessage({type:e.ERROR,message:\"layout \".concat(l,\" not found\")});break}s.onLayoutEnd=function(){n.postMessage({type:e.END,nodes:a}),null===o||void 0===o||o.destroy()},o=new f(s),o.init({nodes:a,edges:c}),o.execute();break;case e.GPURUN:var d=t.data,h=d.nodes,p=(c=d.edges,d.layoutCfg),v=(s=void 0===p?{}:p,d.canvas);l=s.type,f=layout.getLayoutByName(l);if(!f){this.postMessage({type:e.ERROR,message:\"layout \".concat(l,\" not found\")});break}if(\"gpu\"!==l.split(\"-\")[1]){this.postMessage({type:e.ERROR,message:\"layout \".concat(l,\" does not support GPU\")});break}var g=new f(s);g.init({nodes:h,edges:c}),g.executeWithWorker(v,this);break;default:break}}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){t(e)&&n(e)}}void 0===e&&(e=\"https://unpkg.com/@antv/layout@latest/dist/layout.min.js\");var n=new Oz(t,e);return n},Sz={RUN:\"LAYOUT_RUN\",END:\"LAYOUT_END\",ERROR:\"LAYOUT_ERROR\",TICK:\"LAYOUT_TICK\",GPURUN:\"GPU_LAYOUT_RUN\",GPUEND:\"GPU_LAYOUT_END\"};function jz(e){return jz=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},jz(e)}var kz=function(e){return setTimeout(e,16)},_z=function(e){return clearTimeout(e)},Cz={requestAnimationFrame:function(e){var t=\"undefined\"!==typeof window&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame)||kz;return t(e)},cancelAnimationFrame:function(e){var t=\"undefined\"!==typeof window&&(window.cancelAnimationFrame||window.webkitCancelAnimationFrame)||_z;return t(e)}},Mz=[\"fruchterman\",\"gForce\"],Az=[\"force\",\"grid\",\"circular\"],Nz=function(e){function t(t){var n=e.call(this,t)||this;return n.graph=t,n.layoutCfg=t.get(\"layout\")||{},n.layoutType=n.getLayoutType(),n.worker=null,n.workerData={},n.initLayout(),n}return Object(US[\"__extends\"])(t,e),t.prototype.initLayout=function(){},t.prototype.getWorker=function(){return this.worker||(\"undefined\"===typeof Worker?(console.warn(\"Web worker is not supported in current browser.\"),this.worker=null):this.worker=Ez(this.layoutCfg.workerScriptURL)),this.worker},t.prototype.stopWorker=function(){var e=this.workerData;this.worker&&(this.worker.terminate(),this.worker=null,e.requestId&&(Cz.cancelAnimationFrame(e.requestId),e.requestId=null),e.requestId2&&(Cz.cancelAnimationFrame(e.requestId2),e.requestId2=null))},t.prototype.execLayoutMethod=function(e,t){var n=this;return new Promise((function(r,o){return Object(US[\"__awaiter\"])(n,void 0,void 0,(function(){var n,i,a,c,u,s,l,f,d,h;return Object(US[\"__generator\"])(this,(function(p){switch(p.label){case 0:if(n=this.graph,!n||n.get(\"destroyed\"))return[2];i=e.type,e.onLayoutEnd=function(){n.emit(\"aftersublayout\",{type:i}),r()},i&&this.isGPU&&(this.hasGPUVersion(i)?i=\"\".concat(i,\"-gpu\"):console.warn(\"The '\".concat(i,\"' layout does not support GPU calculation for now, it will run in CPU.\"))),uD.isForce(i)?(a=e.onTick,c=e.animate,u=void 0===c&&(\"force\"===i||\"force2\"===i),d=function(){a&&a(),(c||u)&&n.refreshPositions()},e.tick=d):\"comboForce\"!==i&&\"comboCombined\"!==i||(e.comboTrees=n.get(\"comboTrees\")),s=!1;try{l=new rz[\"Layouts\"][i](e),this.layoutMethods[t]&&this.layoutMethods[t].destroy(),this.layoutMethods[t]=l}catch(v){console.warn(\"The layout method: '\".concat(i,\"' does not exist! Please specify it first.\")),o()}return s=l.enableTick,s&&(f=e.onTick,d=function(){f&&f(),n.refreshPositions()},l.tick=d),h=this.filterLayoutData(this.data,e),Dz(h,t),l.init(h),n.emit(\"beforesublayout\",{type:i}),[4,l.execute()];case 1:return p.sent(),l.isCustomLayout&&e.onLayoutEnd&&e.onLayoutEnd(),[2]}}))}))}))},t.prototype.updateLayoutMethod=function(e,t){var n=this;return new Promise((function(r,o){return Object(US[\"__awaiter\"])(n,void 0,void 0,(function(){var n,o,i;return Object(US[\"__generator\"])(this,(function(a){switch(a.label){case 0:return n=this.graph,o=null===t||void 0===t?void 0:t.type,t.onLayoutEnd=function(){n.emit(\"aftersublayout\",{type:o}),r()},i=this.filterLayoutData(this.data,t),e.init(i),e.updateCfg(t),n.emit(\"beforesublayout\",{type:o}),[4,e.execute()];case 1:return a.sent(),e.isCustomLayout&&t.onLayoutEnd&&t.onLayoutEnd(),[2]}}))}))}))},t.prototype.layout=function(e){var t=this,n=this.graph;this.data=this.setDataFromGraph();var r=this.data,o=r.nodes,i=r.hiddenNodes;if(!o)return!1;var a=n.get(\"width\"),c=n.get(\"height\"),u={};Object.assign(u,{width:a,height:c,center:[a/2,c/2]},this.layoutCfg),this.layoutCfg=u;var s=u.type,l=this.destoryLayoutMethods();n.emit(\"beforelayout\"),(null===l||void 0===l?void 0:l.length)&&s&&1===(null===l||void 0===l?void 0:l.length)&&l[0]===s?this.tweakInit():this.initPositions(u.center,o),this.initPositions(u.center,i),s&&\"gpu\"===s.split(\"-\")[1]&&(s=s.split(\"-\")[0],u.gpuEnabled=!0);var f=!1;u.gpuEnabled&&(f=!0,pz().webgl||(console.warn(\"Your browser does not support webGL or GPGPU. The layout will run in CPU.\"),f=!1)),f&&!this.hasGPUVersion(s)&&(console.warn(\"The '\".concat(s,\"' layout does not support GPU calculation for now, it will run in CPU.\")),f=!1),this.isGPU=f;var d=u.onLayoutEnd,h=u.layoutEndFormatted,p=u.adjust;if(h||(u.layoutEndFormatted=!0,u.onAllLayoutEnd=function(){return Object(US[\"__awaiter\"])(t,void 0,void 0,(function(){return Object(US[\"__generator\"])(this,(function(e){switch(e.label){case 0:return d&&d(o),this.refreshLayout(),p&&u.pipes?[4,this.adjustPipesBox(this.data,p)]:[3,2];case 1:e.sent(),this.refreshLayout(),e.label=2;case 2:return n.emit(\"afterlayout\"),[2]}}))}))}),this.stopWorker(),u.workerEnabled&&this.layoutWithWorker(this.data,e))return!0;var v=Promise.resolve(),g=!1;return u.type?(g=!0,v=v.then((function(){return Object(US[\"__awaiter\"])(t,void 0,void 0,(function(){return Object(US[\"__generator\"])(this,(function(e){switch(e.label){case 0:return[4,this.execLayoutMethod(u,0)];case 1:return[2,e.sent()]}}))}))}))):u.pipes&&(g=!0,u.pipes.forEach((function(e,n){v=v.then((function(){return Object(US[\"__awaiter\"])(t,void 0,void 0,(function(){return Object(US[\"__generator\"])(this,(function(t){switch(t.label){case 0:return[4,this.execLayoutMethod(e,n)];case 1:return[2,t.sent()]}}))}))}))}))),g?v.then((function(){u.onAllLayoutEnd&&u.onAllLayoutEnd(),e&&e()})).catch((function(e){console.warn(\"graph layout failed,\",e)})):(n.refreshPositions(),null===e||void 0===e||e()),!1},t.prototype.tweakInit=function(){var e=this,t=e.data,n=e.graph,r=t.nodes,o=t.edges;if(null===r||void 0===r?void 0:r.length){var i={};r.forEach((function(e){var t=e.x,n=e.y;isNaN(t)||isNaN(n)||(i[e.id]={x:t,y:n},e.mass=e.mass||2)})),o.forEach((function(e){var t=e.source,n=e.target,r=i[t],o=i[n];!r&&o?i[t]={x:o.x+80*(Math.random()-.5),y:o.y+80*(Math.random()-.5)}:!o&&r&&(i[n]={x:r.x+80*(Math.random()-.5),y:r.y+80*(Math.random()-.5)})}));var a=n.get(\"width\"),c=n.get(\"height\");r.forEach((function(e){var t=i[e.id]||{x:a/2+20*(Math.random()-.5),y:c/2+20*(Math.random()-.5)};e.x=t.x,e.y=t.y}))}},t.prototype.initWithPreset=function(){var e=this,t=e.layoutCfg,n=e.data,r=t.preset;if(!(null===r||void 0===r?void 0:r.type)||!rz[\"Layouts\"][null===r||void 0===r?void 0:r.type])return!1;var o=new rz[\"Layouts\"][null===r||void 0===r?void 0:r.type](r);return o.layout(n),delete t.preset,!0},t.prototype.layoutWithWorker=function(e,t){var n=this,r=this,o=r.layoutCfg,i=r.graph,a=this.getWorker(),c=this.workerData;if(!a)return!1;c.requestId=null,c.requestId2=null,c.currentTick=null,c.currentTickData=null,i.emit(\"beforelayout\");var u=Promise.resolve(),s=!1;if(o.type)s=!0,u=u.then((function(){return n.runWebworker(a,e,o)}));else if(o.pipes){s=!0;for(var l=function(t){u=u.then((function(){return n.runWebworker(a,e,t)}))},f=0,d=o.pipes;f<d.length;f++){var h=d[f];l(h)}}return s&&u.then((function(){o.onAllLayoutEnd&&o.onAllLayoutEnd(),null===t||void 0===t||t()})).catch((function(e){console.error(\"layout failed\",e)})),!0},t.prototype.runWebworker=function(e,t,n){var r=this,o=this.isGPU,i=this.filterLayoutData(t,n),a=i.nodes,c=i.edges,u=document.createElement(\"canvas\"),s=o&&\"undefined\"!==typeof window&&window.navigator&&!navigator[\"gpu\"]&&\"OffscreenCanvas\"in window&&\"transferControlToOffscreen\"in u,l=Pz(n,(function(e){return\"function\"!==typeof e}));if(s){var f=u.transferControlToOffscreen();l.type=\"\".concat(l.type,\"-gpu\"),e.postMessage({type:Sz.GPURUN,nodes:a,edges:c,layoutCfg:l,canvas:f},[f])}else e.postMessage({type:Sz.RUN,nodes:a,edges:c,layoutCfg:l});return new Promise((function(t,o){e.onmessage=function(e){r.handleWorkerMessage(t,o,e,i,n)}}))},t.prototype.handleWorkerMessage=function(e,t,n,r,o){var i=this,a=i.graph,c=i.workerData,u=n.data,s=u.type,l=function(){o.onTick&&o.onTick()};switch(s){case Sz.TICK:c.currentTick=u.currentTick,c.currentTickData=u,c.requestId||(c.requestId=Cz.requestAnimationFrame((function(){Iz(r,u),a.refreshPositions(),l(),u.currentTick===u.totalTicks?e():c.currentTick===u.totalTicks&&(c.requestId2=Cz.requestAnimationFrame((function(){Iz(r,c.currentTickData),a.refreshPositions(),c.requestId2=null,l(),e()}))),c.requestId=null})));break;case Sz.END:null==c.currentTick&&(Iz(r,u),e());break;case Sz.GPUEND:null==c.currentTick&&(Lz(r,u),e());break;case Sz.ERROR:console.warn(\"Web-Worker layout error!\",u.message),t();break;default:t();break}},t.prototype.updateLayoutCfg=function(e){var t=this,n=this,r=n.graph,o=n.layoutMethods,i=e.disableTriggerLayout,a=Object(US[\"__rest\"])(e,[\"disableTriggerLayout\"]),c=Object(GS[\"mix\"])({},this.layoutCfg,a);if(this.layoutCfg=c,!i)if(null===o||void 0===o?void 0:o.length){if(this.data=this.setDataFromGraph(),this.stopWorker(),!a.workerEnabled||!this.layoutWithWorker(this.data,null)){r.emit(\"beforelayout\");var u=Promise.resolve(),s=!1;1===(null===o||void 0===o?void 0:o.length)?(s=!0,u=u.then((function(){return Object(US[\"__awaiter\"])(t,void 0,void 0,(function(){return Object(US[\"__generator\"])(this,(function(e){switch(e.label){case 0:return[4,this.updateLayoutMethod(o[0],c)];case 1:return[2,e.sent()]}}))}))}))):(null===o||void 0===o?void 0:o.length)&&(s=!0,o.forEach((function(e,n){var r=c.pipes[n];u=u.then((function(){return Object(US[\"__awaiter\"])(t,void 0,void 0,(function(){return Object(US[\"__generator\"])(this,(function(t){switch(t.label){case 0:return[4,this.updateLayoutMethod(e,r)];case 1:return[2,t.sent()]}}))}))}))}))),s&&u.then((function(){c.onAllLayoutEnd&&c.onAllLayoutEnd()})).catch((function(e){console.warn(\"layout failed\",e)}))}}else this.layout()},t.prototype.adjustPipesBox=function(e,t){var n=this;return new Promise((function(r){var o=e.nodes;(null===o||void 0===o?void 0:o.length)||r(),Az.includes(t)||(console.warn(\"The adjust type \".concat(t,\" is not supported yet, please assign it with 'force', 'grid', or 'circular'.\")),r());var i={center:n.layoutCfg.center,nodeSize:function(e){return Math.max(e.height,e.width)},preventOverlap:!0,onLayoutEnd:function(){}},a=n.getLayoutBBox(o),c=a.groupNodes,u=a.layoutNodes,s=Object(GS[\"clone\"])(u);i.onLayoutEnd=function(){null===u||void 0===u||u.forEach((function(e,t){var n,r,o,i=e.x-(null===(n=s[t])||void 0===n?void 0:n.x),a=e.y-(null===(r=s[t])||void 0===r?void 0:r.y);null===(o=c[t])||void 0===o||o.forEach((function(e){e.x+=i,e.y+=a}))})),r()};var l=new rz[\"Layouts\"][t](i);l.layout({nodes:u})}))},t.prototype.hasGPUVersion=function(e){return Mz.includes(e)},t.prototype.destroy=function(){this.destoryLayoutMethods();var e=this.worker;e&&(e.terminate(),this.worker=null),this.destroyed=!0,this.graph.set(\"layout\",void 0),this.layoutCfg=void 0,this.layoutType=void 0,this.layoutMethods=void 0,this.graph=null},t}(lD),Tz=Nz;function Iz(e,t){for(var n=e.nodes,r=t.nodes,o=n.length,i=0;i<o;i++){var a=n[i];a.x=r[i].x,a.y=r[i].y}}function Pz(e,t){var n={};return e&&\"object\"===jz(e)?(Object.keys(e).forEach((function(r){e.hasOwnProperty(r)&&t(e[r])&&(n[r]=e[r])})),n):e}function Lz(e,t){for(var n=e.nodes,r=t.vertexEdgeData,o=n.length,i=0;i<o;i++){var a=n[i],c=r[4*i],u=r[4*i+1];a.x=c,a.y=u}}function Dz(e,t){var n;if(null===(n=null===e||void 0===e?void 0:e.nodes)||void 0===n?void 0:n.length){var r=e.nodes;r.forEach((function(e){e.layoutOrder=t}))}}var Rz=o.transform,Fz=\"svg\",Bz=function(e){function t(t){var n=e.call(this,t)||this,r=n.get(\"defaultNode\");return r||n.set(\"defaultNode\",{type:\"circle\"}),r.type||(r.type=\"circle\",n.set(\"defaultNode\",r)),n.destroyed=!1,n}return Object(US[\"__extends\"])(t,e),t.prototype.initLayoutController=function(){var e=new Tz(this);this.set({layoutController:e})},t.prototype.initEventController=function(){var e=new nz(this);this.set({eventController:e})},t.prototype.initCanvas=function(){var e=this.get(\"container\");if(\"string\"===typeof e&&(e=document.getElementById(e),this.set(\"container\",e)),!e)throw new Error(\"invalid container\");var t=e.clientWidth,n=e.clientHeight,r=this.get(\"width\")||t,o=this.get(\"height\")||n;this.get(\"width\")||this.get(\"height\")||(this.set(\"width\",t),this.set(\"height\",n));var i,a=this.get(\"renderer\");if(a===Fz)i=new vB({container:e,width:r,height:o});else{var c={container:e,width:r,height:o},u=this.get(\"pixelRatio\");u&&(c.pixelRatio=u,window.devicePixelRatio=u),i=new nF(c)}this.set(\"canvas\",i)},t.prototype.initPlugins=function(){var e=this;Object(GS[\"each\"])(e.get(\"plugins\"),(function(t){!t.destroyed&&t.initPlugin&&t.initPlugin(e)}))},t.prototype.downloadImageWatermark=function(e,t,n,r){return Object(US[\"__awaiter\"])(this,void 0,void 0,(function(){var o,i,a;return Object(US[\"__generator\"])(this,(function(c){switch(c.label){case 0:return o=e.style.backgroundImage,i=o.slice(5,o.length-2),a=new Image,a.src=i,[4,new Promise((function(e){a.onload=function(){var o=t.createPattern(a,\"repeat\");t.rect(0,0,n,r),t.fillStyle=o,t.fill(),e(\"\")}}))];case 1:return c.sent(),[2]}}))}))},t.prototype.asyncToDataUrl=function(e,t,n,r,o,i){var a=this,c=document.querySelector(\".g6-graph-watermarker\"),u=this.get(\"canvas\"),s=u.getRenderer(),l=i||u.get(\"el\"),f=\"\";e||(e=\"image/png\"),setTimeout((function(){return Object(US[\"__awaiter\"])(a,void 0,void 0,(function(){var i,a,u,d,h,p,v,g,m,y;return Object(US[\"__generator\"])(this,(function(b){switch(b.label){case 0:return\"svg\"!==s?[3,1]:(i=l.cloneNode(!0),a=document.implementation.createDocumentType(\"svg\",\"-//W3C//DTD SVG 1.1//EN\",\"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"),u=document.implementation.createDocument(\"http://www.w3.org/2000/svg\",\"svg\",a),u.replaceChild(i,u.documentElement),d=(new XMLSerializer).serializeToString(u),f=\"data:image/svg+xml;charset=utf8,\".concat(encodeURIComponent(d)),[3,4]);case 1:return h=void 0,p=l.getContext(\"2d\"),v=r||this.get(\"width\"),g=o||this.get(\"height\"),m=void 0,c?[4,this.downloadImageWatermark(c,p,v,g)]:[3,3];case 2:b.sent(),b.label=3;case 3:if(t){y=\"undefined\"!==typeof window?window.devicePixelRatio:1;try{h=p.getImageData(0,0,v*y,g*y),m=p.globalCompositeOperation,p.globalCompositeOperation=\"destination-over\",p.fillStyle=t,p.fillRect(0,0,v,g)}catch(x){console.error(\"Download image failed. Out of memory at ImageData creation\")}}f=l.toDataURL(e),t&&(p.clearRect(0,0,v,g),p.putImageData(h,0,0),p.globalCompositeOperation=m),b.label=4;case 4:return n&&n(f),[2]}}))}))}),16)},t.prototype.toDataURL=function(e,t){var n=this.get(\"canvas\"),r=n.getRenderer(),o=n.get(\"el\");e||(e=\"image/png\");var i=\"\";if(\"svg\"===r){var a=o.cloneNode(!0),c=document.implementation.createDocumentType(\"svg\",\"-//W3C//DTD SVG 1.1//EN\",\"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"),u=document.implementation.createDocument(\"http://www.w3.org/2000/svg\",\"svg\",c);u.replaceChild(a,u.documentElement);var s=(new XMLSerializer).serializeToString(u);i=\"data:image/svg+xml;charset=utf8,\".concat(encodeURIComponent(s))}else{var l=void 0,f=o.getContext(\"2d\"),d=Math.max(this.get(\"width\"),500),h=Math.max(this.get(\"height\"),500),p=void 0;if(t){var v=\"undefined\"!==typeof window&&window.devicePixelRatio||1;try{l=f.getImageData(0,0,d*v,h*v),p=f.globalCompositeOperation,f.globalCompositeOperation=\"destination-over\",f.fillStyle=t,f.fillRect(0,0,d,h)}catch(g){console.error(\"Download image failed. Out of memory at ImageData creation\")}}i=o.toDataURL(e),t&&(f.clearRect(0,0,d,h),f.putImageData(l,0,0),f.globalCompositeOperation=p)}return i},t.prototype.toFullDataURL=function(e,t,n){var r=this.get(\"group\").getCanvasBBox(),o=r.height,i=r.width,a=this.get(\"renderer\"),c=$B('<div id=\"virtual-image\"></div>'),u=n?n.backgroundColor:void 0,s=n?n.padding:void 0;s?Object(GS[\"isNumber\"])(s)&&(s=[s,s,s,s]):s=[0,0,0,0];var l=o+s[0]+s[2],f=i+s[1]+s[3],d={container:c,height:l,width:f,quickHit:!0},h=\"svg\"===a?new vB(d):new nF(d),p=this.get(\"group\"),v=p.clone(),g=Object(GS[\"clone\"])(v.getMatrix());g||(g=[1,0,0,0,1,0,0,0,1]);var m=(r.maxX+r.minX)/2,y=(r.maxY+r.minY)/2;g=Rz(g,[[\"t\",-m,-y],[\"t\",i/2+s[3],o/2+s[0]]]),v.resetMatrix(),v.setMatrix(g),h.add(v);var b=h.get(\"el\"),x=\"\";t||(t=\"image/png\"),setTimeout((function(){if(\"svg\"===a){var n=b.cloneNode(!0),r=document.implementation.createDocumentType(\"svg\",\"-//W3C//DTD SVG 1.1//EN\",\"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"),o=document.implementation.createDocument(\"http://www.w3.org/2000/svg\",\"svg\",r);o.replaceChild(n,o.documentElement);var i=(new XMLSerializer).serializeToString(o);x=\"data:image/svg+xml;charset=utf8,\".concat(encodeURIComponent(i))}else{var c=void 0,s=b.getContext(\"2d\"),d=void 0;if(u){var h=\"undefined\"!==typeof window?window.devicePixelRatio:1;try{c=s.getImageData(0,0,f*h,l*h),d=s.globalCompositeOperation,s.globalCompositeOperation=\"destination-over\",s.fillStyle=u,s.fillRect(0,0,f,l)}catch(p){console.error(\"Download image failed. Out of memory at ImageData creation\")}}x=b.toDataURL(t),u&&(s.clearRect(0,0,f,l),s.putImageData(c,0,0),s.globalCompositeOperation=d)}e&&e(x)}),16)},t.prototype.downloadFullImage=function(e,t,n){var r=this,o=this.get(\"group\").getCanvasBBox(),i=o.height,a=o.width,c=this.get(\"renderer\"),u=$B('<div id=\"virtual-image\"></div>'),s=document.querySelector(\".g6-graph-watermarker\"),l=n?n.backgroundColor:void 0,f=n?n.padding:void 0;f?Object(GS[\"isNumber\"])(f)&&(f=[f,f,f,f]):f=[0,0,0,0];var d=i+f[0]+f[2],h=a+f[1]+f[3];if(s){var p=this.get(\"graphWaterMarker\").cfg||{},v=p.width,g=p.height;d=Math.ceil(d/g)*g,h=Math.ceil(h/v)*v}var m={container:u,height:d,width:h},y=\"svg\"===c?new vB(m):new nF(m),b=this.get(\"group\"),x=b.clone(),w=Object(GS[\"clone\"])(x.getMatrix());w||(w=[1,0,0,0,1,0,0,0,1]);var O=(o.maxX+o.minX)/2,E=(o.maxY+o.minY)/2;w=Rz(w,[[\"t\",-O,-E],[\"t\",a/2+f[3],i/2+f[0]]]),x.resetMatrix(),x.setMatrix(w),y.add(x);var S=y.get(\"el\");t||(t=\"image/png\"),this.asyncToDataUrl(t,l,(function(n){var o=document.createElement(\"a\"),i=(e||\"graph\")+(\"svg\"===c?\".svg\":\".\".concat(t.split(\"/\")[1]));r.dataURLToImage(n,c,o,i);var a=document.createEvent(\"MouseEvents\");a.initEvent(\"click\",!1,!1),o.dispatchEvent(a)}),h,d,S)},t.prototype.downloadImage=function(e,t,n){var r=this,o=this;o.stopAnimate();var i=o.get(\"canvas\"),a=i.getRenderer();t||(t=\"image/png\");var c=(e||\"graph\")+(\"svg\"===a?\".svg\":t.split(\"/\")[1]),u=document.createElement(\"a\");o.asyncToDataUrl(t,n,(function(e){r.dataURLToImage(e,a,u,c);var t=document.createEvent(\"MouseEvents\");t.initEvent(\"click\",!1,!1),u.dispatchEvent(t)}))},t.prototype.dataURLToImage=function(e,t,n,r){if(e&&\"data:\"!==e){if(\"undefined\"!==typeof window)if(window.Blob&&window.URL&&\"svg\"!==t){var o=e.split(\",\"),i=\"\";if(o&&o.length>0){var a=o[0].match(/:(.*?);/);a&&a.length>=2&&(i=a[1])}var c=atob(o[1]),u=c.length,s=new Uint8Array(u);while(u--)s[u]=c.charCodeAt(u);var l=new Blob([s],{type:i});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=e}))}else console.error(\"Download image failed. The graph is too large or there is invalid attribute values in graph items\")},t.prototype.addPlugin=function(e){var t=this;e.destroyed||(t.get(\"plugins\").push(e),e.initPlugin(t))},t.prototype.removePlugin=function(e){var t=this.get(\"plugins\"),n=t.indexOf(e);n>=0&&(e.destroyPlugin(),t.splice(n,1))},t.prototype.setImageWaterMarker=function(e,t){void 0===e&&(e=qB.waterMarkerImage);var n=this.get(\"container\");Object(GS[\"isString\"])(n)&&(n=document.getElementById(n)),n.style.position||(n.style.position=\"relative\");var r=this.get(\"graphWaterMarker\"),o=Object(GS[\"deepMix\"])({},qB.imageWaterMarkerConfig,t),i=o.width,a=o.height,c=o.compatible,u=o.image;if(!e){var s=c?n:document.querySelector(\".g6-graph-watermarker\");return s&&(s.style.cssText=void 0),void(r&&r.clear())}if(r)r.clear();else{var l={container:n,width:i,height:a,capture:!1},f=this.get(\"pixelRatio\");f&&(l.pixelRatio=f,window.devicePixelRatio=f),r=new nF(l),this.set(\"graphWaterMarker\",r)}r.get(\"el\").style.display=\"none\";var d=r.get(\"context\"),h=u.rotate,p=u.x,v=u.y;d.rotate(-h*Math.PI/180);var g=new Image;g.crossOrigin=\"anonymous\",g.src=e,g.onload=function(){if(d.drawImage(g,p,v,u.width,u.height),d.rotate(h*Math.PI/180),c)n.style.cssText=\"background-image: url(\".concat(r.get(\"el\").toDataURL(\"image/png\"),\");background-repeat:repeat;\");else{var e=document.querySelector(\".g6-graph-watermarker\");e||(e=document.createElement(\"div\"),e.className=\"g6-graph-watermarker\"),e.className=\"g6-graph-watermarker\",r.destroyed||(e.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(e))}}},t.prototype.setTextWaterMarker=function(e,t){var n=this.get(\"container\");Object(GS[\"isString\"])(n)&&(n=document.getElementById(n)),n.style.position||(n.style.position=\"relative\");var r=this.get(\"graphWaterMarker\"),o=Object(GS[\"deepMix\"])({},qB.textWaterMarkerConfig,t),i=o.width,a=o.height,c=o.compatible,u=o.text;if(!(null===e||void 0===e?void 0:e.length)){var s=c?n:document.querySelector(\".g6-graph-watermarker\");return s&&(s.style.cssText=void 0),void(r&&r.clear())}if(r)r.clear();else{var l={container:n,width:i,height:a,capture:!1},f=this.get(\"pixelRatio\");f&&(l.pixelRatio=f,window.devicePixelRatio=f),r=new nF(l),this.set(\"graphWaterMarker\",r)}r.get(\"el\").style.display=\"none\";var d=r.get(\"context\"),h=u.rotate,p=u.fill,v=u.fontFamily,g=u.fontSize,m=u.baseline,y=u.x,b=u.y,x=u.lineHeight;d.rotate(-h*Math.PI/180),d.font=\"\".concat(g,\"px \").concat(v),d.fillStyle=p,d.textBaseline=m;for(var w=Object(GS[\"isString\"])(e)?[e]:e,O=w.length-1;O>=0;O--)d.fillText(w[O],y,b+O*x);if(d.rotate(h*Math.PI/180),c)n.style.cssText=\"background-image: url(\".concat(r.get(\"el\").toDataURL(\"image/png\"),\");background-repeat:repeat;\");else{var E=document.querySelector(\".g6-graph-watermarker\");E||(E=document.createElement(\"div\"),E.className=\"g6-graph-watermarker\"),E.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)}},t.prototype.destroy=function(){var t,n,r,o;Object(GS[\"each\"])(this.get(\"plugins\"),(function(e){e.destroyPlugin()}));var i=this.get(\"tooltips\");if(i)for(var a=0;a<i.length;a++){var c=i[a];if(c){var u=c.parentElement;u&&u.removeChild(c)}}null===(t=this.get(\"eventController\"))||void 0===t||t.destroy(),null===(n=this.get(\"layoutController\"))||void 0===n||n.destroy(),null===(r=this.get(\"graphWaterMarker\"))||void 0===r||r.destroy(),null===(o=document.querySelector(\".g6-graph-watermarker\"))||void 0===o||o.remove(),e.prototype.destroy.call(this)},t}(DL),zz=Bz,Uz=gz.radialLayout,Gz=gz.traverseTree,Vz=function(e){function t(t){var n=e.call(this,t)||this;return n.layoutAnimating=!1,n.set(\"removeList\",[]),n.set(\"layoutMethod\",n.getLayout()),n}return Object(US[\"__extends\"])(t,e),t.prototype.getLayout=function(){var e=this.get(\"layout\");return e?\"function\"===typeof e?e:(e.type||(e.type=\"dendrogram\"),e.direction||(e.direction=\"TB\"),e.radial?function(t){var n=iz.a[e.type](t,e);return Uz(n),n}:function(t){return iz.a[e.type](t,e)}):null},t.indexOfChild=function(e,t){var n=-1;return Object(GS[\"each\"])(e,(function(e,r){if(t===e.id)return n=r,!1})),n},t.prototype.getDefaultCfg=function(){var t=e.prototype.getDefaultCfg.call(this);return t.animate=!0,t},t.prototype.innerAddChild=function(e,t,n){var r=this,o=e.data;o&&(o.x=e.x,o.y=e.y,o.depth=e.depth);var i=r.addItem(\"node\",o,!1);if(t){if(i.set(\"parent\",t),n){var a=t.get(\"originAttrs\");if(a)i.set(\"originAttrs\",a);else{var c=t.getModel();i.set(\"originAttrs\",{x:c.x,y:c.y})}}var u=t.get(\"children\");u?u.push(i):t.set(\"children\",[i]),r.addItem(\"edge\",{source:t.get(\"id\"),target:i.get(\"id\"),id:\"\".concat(t.get(\"id\"),\":\").concat(i.get(\"id\"))},!1)}return Object(GS[\"each\"])(e.children||[],(function(e){r.innerAddChild(e,i,n)})),r.emit(\"afteraddchild\",{item:i,parent:t}),i},t.prototype.innerUpdateChild=function(e,n,r){var o=this,i=o.findById(e.id);if(i){Object(GS[\"each\"])(e.children||[],(function(e){o.innerUpdateChild(e,i,r)}));var a,c,u=i.get(\"children\");if(u){var s=u.length;if(s>0)for(var l=u.length-1;l>=0;l--){var f=u[l].getModel();-1===t.indexOfChild(e.children||[],f.id)&&(o.innerRemoveChild(f.id,{x:e.x,y:e.y},r),u.splice(l,1))}}i.get(\"originAttrs\")&&(a=i.get(\"originAttrs\").x,c=i.get(\"originAttrs\").y);var d=i.getModel();r&&i.set(\"originAttrs\",{x:d.x,y:d.y}),i.set(\"model\",Object.assign(d,e.data)),a===e.x&&c===e.y||i.updatePosition({x:e.x,y:e.y})}else o.innerAddChild(e,n,r)},t.prototype.innerRemoveChild=function(e,t,n){var r=this,o=r.findById(e);if(o)if(Object(GS[\"each\"])(o.get(\"children\"),(function(e){r.innerRemoveChild(e.getModel().id,t,n)})),n){var i=o.getModel();o.set(\"to\",t),o.set(\"originAttrs\",{x:i.x,y:i.y}),r.get(\"removeList\").push(o)}else r.removeItem(o,!1)},t.prototype.changeData=function(e){var t=this;this.getNodes().map((function(e){return t.clearItemStates(e)})),this.getEdges().map((function(e){return t.clearItemStates(e)})),e?(t.data(e),t.render()):t.layout(this.get(\"fitView\"))},t.prototype.changeLayout=function(e){console.warn(\"Please call updateLayout instead of changeLayout. changeLayout will be discarded soon\");var t=this;t.updateLayout(e)},t.prototype.updateLayout=function(e){var t=this;e?(t.set(\"layout\",e),t.set(\"layoutMethod\",t.getLayout()),t.layout()):console.warn(\"layout cannot be null\")},t.prototype.refreshLayout=function(e){console.warn(\"Please call layout instead of refreshLayout. refreshLayout will be discarded soon\");var t=this;t.layout(e)},t.prototype.layout=function(e){var t=this,n=t.get(\"data\"),r=t.get(\"layoutMethod\"),o=r?r(n,t.get(\"layout\")):n,i=t.get(\"animate\");if(t.emit(\"beforerefreshlayout\",{data:n,layoutData:o}),t.emit(\"beforelayout\"),t.innerUpdateChild(o,void 0,i),e){var a=t.get(\"viewController\");a.fitView()}i?t.layoutAnimate(o):(t.refresh(),t.paint()),t.emit(\"afterrefreshlayout\",{data:n,layoutData:o}),t.emit(\"afterlayout\")},t.prototype.addChild=function(e,t){var n=this;n.emit(\"beforeaddchild\",{model:e,parent:t}),Object(GS[\"isString\"])(t)||(t=t.get(\"id\"));var r=n.findDataById(t);r&&(r.children||(r.children=[]),r.children.push(e),n.changeData())},t.prototype.updateChildren=function(e,t){var n=this;if(t&&n.findById(t)){var r=n.findDataById(t);r.children=e,n.changeData()}else console.warn(\"Update children failed! There is no node with id '\".concat(t,\"'\"))},t.prototype.updateChild=function(e,n){var r=this;if(n&&r.findById(n)){var o=r.findDataById(n),i=r.findById(e.id);if(o.children||(o.children=[]),i){var a=t.indexOfChild(o.children,e.id);o.children[a]=e}else o.children.push(e);r.changeData()}else r.changeData(e)},t.prototype.removeChild=function(e){var n=this,r=n.findById(e);if(r){var o=r.get(\"parent\");if(o&&!o.destroyed){var i=n.findDataById(o.get(\"id\")),a=i&&i.children||[],c=r.getModel(),u=t.indexOfChild(a,c.id);a.splice(u,1)}n.changeData()}},t.prototype.findDataById=function(e,t){var n=this;if(t||(t=n.get(\"data\")),e===t.id)return t;var r=null;return Object(GS[\"each\"])(t.children||[],(function(t){return t.id===e?(r=t,!1):(r=n.findDataById(e,t),!r&&void 0)})),r},t.prototype.layoutAnimate=function(e,t){var n=this,r=this.get(\"animateCfg\");n.emit(\"beforeanimate\",{data:e}),n.getEdges().forEach((function(e){var t=e.get(\"model\");t.sourceAnchor||(t.sourceAnchor=e.get(\"sourceAnchorIndex\"))})),this.get(\"canvas\").animate((function(r){Gz(e,(function(o){var i=n.findById(o.id);if(i){var a=i.get(\"originAttrs\"),c=i.get(\"model\");if(a||(a={x:c.x,y:c.y},i.set(\"originAttrs\",a)),t){var u=t(i,r,a,e);i.set(\"model\",Object.assign(c,u))}else c.x=a.x+(o.x-a.x)*r,c.y=a.y+(o.y-a.y)*r}return!0})),Object(GS[\"each\"])(n.get(\"removeList\"),(function(e){var t=e.getModel(),n=e.get(\"originAttrs\"),o=e.get(\"to\");t.x=n.x+(o.x-n.x)*r,t.y=n.y+(o.y-n.y)*r})),n.refreshPositions()}),{duration:r.duration,easing:r.ease,callback:function(){Object(GS[\"each\"])(n.getNodes(),(function(e){e.set(\"originAttrs\",null)})),Object(GS[\"each\"])(n.get(\"removeList\"),(function(e){n.removeItem(e)})),n.set(\"removeList\",[]),r.callback&&r.callback(),n.emit(\"afteranimate\",{data:e})},delay:r.delay})},t.prototype.stopLayoutAnimate=function(){this.get(\"canvas\").stopAnimate(),this.emit(\"layoutanimateend\",{data:this.get(\"data\")}),this.layoutAnimating=!1},t.prototype.isLayoutAnimating=function(){return this.layoutAnimating},t.prototype.render=function(){var e=this,t=e.get(\"data\");if(!t||!Object(GS[\"isObject\"])(t)||!Object.keys(t).length)throw new Error(\"data must be defined first\");e.clear(),e.emit(\"beforerender\"),e.layout(this.get(\"fitView\")),e.emit(\"afterrender\")},t.prototype.save=function(){return this.get(\"data\")},t}(zz),Wz=Vz,Hz=function(){function e(e){this._cfgs=Object(GS[\"deepMix\"])(this.getDefaultCfgs(),e),this._events={},this.destroyed=!1}return e.prototype.getDefaultCfgs=function(){return{}},e.prototype.initPlugin=function(e){var t=this;t.set(\"graph\",e);var n=t.getEvents(),r={};Object(GS[\"each\"])(n,(function(n,o){var i=Object(GS[\"wrapBehavior\"])(t,n);r[o]=i,e.on(o,i)})),this._events=r,this.init()},e.prototype.getEvents=function(){return{}},e.prototype.get=function(e){var t;return null===(t=this._cfgs)||void 0===t?void 0:t[e]},e.prototype.set=function(e,t){this._cfgs[e]=t},e.prototype.destroy=function(){},e.prototype.destroyPlugin=function(){this.destroy();var e=this.get(\"graph\"),t=this._events;Object(GS[\"each\"])(t,(function(t,n){e.off(n,t)})),this._events=null,this._cfgs=null,this.destroyed=!0},e}(),Yz=Hz,Xz=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),qz=\"url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAwIDEwIEwgNDAgMTAgTSAxMCAwIEwgMTAgNDAgTSAwIDIwIEwgNDAgMjAgTSAyMCAwIEwgMjAgNDAgTSAwIDMwIEwgNDAgMzAgTSAzMCAwIEwgMzAgNDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2UwZTBlMCIgb3BhY2l0eT0iMC4yIiBzdHJva2Utd2lkdGg9IjEiLz48cGF0aCBkPSJNIDQwIDAgTCAwIDAgMCA0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZTBlMGUwIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=)\",Kz=function(e){function t(t){return e.call(this,t)||this}return Xz(t,e),t.prototype.getDefaultCfgs=function(){return{img:qz,follow:!0}},t.prototype.init=function(){var e=this.get(\"graph\"),t=e.get(\"container\"),n=e.get(\"canvas\").get(\"el\"),r=this.get(\"img\")||qz;r.includes(\"url(\")||(r='url(\"'.concat(r,'\")'));var o=$B(\"<div class='g6-grid-container' style=\\\"position:absolute;overflow:hidden;z-index: -1;\\\"></div>\"),i=$B(\"<div\\n        class='g6-grid'\\n        style='position:absolute;\\n        background-image: \".concat(r,\";\\n        user-select: none\\n        '></div>\"));this.set(\"container\",o),this.set(\"gridContainer\",i),this.positionInit(),o.appendChild(i),t.insertBefore(o,n)},t.prototype.positionInit=function(){var e=this.get(\"graph\"),t=e.get(\"minZoom\"),n=e.get(\"width\"),r=e.get(\"height\");QB(this.get(\"container\"),{width:\"\".concat(n,\"px\"),height:\"\".concat(r,\"px\")});var o=80*n/t,i=80*r/t;QB(this.get(\"gridContainer\"),{width:\"\".concat(o,\"px\"),height:\"\".concat(i,\"px\"),left:\"-\".concat(o/2,\"px\"),top:\"-\".concat(i/2,\"px\")})},t.prototype.getEvents=function(){return{viewportchange:\"updateGrid\"}},t.prototype.updateGrid=function(e){var t=this.get(\"gridContainer\"),n=e.matrix;n||(n=[1,0,0,0,1,0,0,0,1]);var r=this.get(\"follow\"),o=\"matrix(\".concat(n[0],\", \").concat(n[1],\", \").concat(n[3],\", \").concat(n[4],\", \").concat(r?n[6]:\"0\",\", \").concat(r?n[7]:\"0\",\")\");QB(t,{transform:o})},t.prototype.getContainer=function(){return this.get(\"container\")},t.prototype.destroy=function(){var e=this.get(\"graph\"),t=e.get(\"container\"),n=this.get(\"container\");t.removeChild(n)},t}(Yz),Zz=Kz,$z=r(\"Gu+u\"),Qz=r.n($z),Jz=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();\"undefined\"!==typeof document&&Qz()(\"\\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 eU=function(e){function t(t){return e.call(this,t)||this}return Jz(t,e),t.prototype.getDefaultCfgs=function(){return{offsetX:6,offsetY:6,handleMenuClick:void 0,getContent:function(e){return\"\\n          <ul class='g6-contextmenu-ul'>\\n            <li>\\u83dc\\u5355\\u98791</li>\\n            <li>\\u83dc\\u5355\\u98792</li>\\n          </ul>\\n        \"},shouldBegin:function(e){return!0},onHide:function(){return!0},itemTypes:[\"node\",\"edge\",\"combo\"],trigger:\"contextmenu\"}},t.prototype.getEvents=function(){return\"click\"===this.get(\"trigger\")?{click:\"onMenuShow\",touchend:\"onMenuShow\"}:{contextmenu:\"onMenuShow\"}},t.prototype.init=function(){var e=this.get(\"className\"),t=$B(\"<div class=\".concat(e||\"g6-component-contextmenu\",\"></div>\"));QB(t,{top:\"0px\",position:\"absolute\",visibility:\"hidden\"});var n=this.get(\"container\");n||(n=this.get(\"graph\").get(\"container\")),Object(GS[\"isString\"])(n)&&(n=document.getElementById(n)),n.appendChild(t),this.set(\"menu\",t)},t.prototype.onMenuShow=function(e){var t=this;e.preventDefault();var n=this.get(\"itemTypes\");if(e.item){if(e.item&&e.item.getType&&-1===n.indexOf(e.item.getType()))return void t.onMenuHide()}else if(-1===n.indexOf(\"canvas\"))return void t.onMenuHide();var r=this.get(\"shouldBegin\");if(r(e)){var o=this.get(\"menu\"),i=this.get(\"getContent\"),a=this.get(\"graph\"),c=i(e,a);Object(GS[\"isString\"])(c)?o.innerHTML=c:o.innerHTML=c.outerHTML,this.removeMenuEventListener();var u=this.get(\"handleMenuClick\");if(u){var s=function(t){u(t.target,e.item,a)};this.set(\"handleMenuClickWrapper\",s),o.addEventListener(\"click\",s)}var l=a.get(\"width\"),f=a.get(\"height\"),d=o.getBoundingClientRect(),h=this.get(\"offsetX\")||0,p=this.get(\"offsetY\")||0,v=a.getContainer().offsetTop,g=a.getContainer().offsetLeft,m=e.canvasX+g+h,y=e.canvasY+v+p;m+d.width>l&&(m=e.canvasX-d.width-h+g),y+d.height>f&&(y=e.canvasY-d.height-p+v),QB(o,{top:\"\".concat(y,\"px\"),left:\"\".concat(m,\"px\"),visibility:\"visible\"});var b=\"click\"===this.get(\"trigger\"),x=function(e){b?b=!1:t.onMenuHide()};document.body.addEventListener(\"click\",x),this.set(\"handler\",x)}},t.prototype.removeMenuEventListener=function(){var e=this.get(\"handleMenuClickWrapper\"),t=this.get(\"handler\");if(e){var n=this.get(\"menu\");n.removeEventListener(\"click\",e),this.set(\"handleMenuClickWrapper\",null)}t&&document.body.removeEventListener(\"click\",t)},t.prototype.onMenuHide=function(){var e=this.get(\"menu\");e&&QB(e,{visibility:\"hidden\"}),this.removeMenuEventListener()},t.prototype.destroy=function(){var e=this.get(\"menu\");if(this.removeMenuEventListener(),e){var t=this.get(\"container\");t||(t=this.get(\"graph\").get(\"container\")),Object(GS[\"isString\"])(t)&&(t=document.getElementById(t)),t.removeChild(e)}},t}(Yz),tU=eU,nU=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),rU=function(){return rU=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},rU.apply(this,arguments)},oU=Math.max,iU=o.transform,aU=\"default\",cU=\"keyShape\",uU=\"delegate\",sU=\"svg\",lU=function(e){function t(t){var n=e.call(this,t)||this;return n.handleUpdateCanvas=Object(GS[\"debounce\"])((function(e){var t=n;t.destroyed||t.updateCanvas()}),100,!1),n}return nU(t,e),t.prototype.getDefaultCfgs=function(){return{container:null,className:\"g6-minimap\",viewportClassName:\"g6-minimap-viewport\",type:\"default\",padding:50,size:[200,120],delegateStyle:{fill:\"#40a9ff\",stroke:\"#096dd9\"},refresh:!0,hideEdge:!1}},t.prototype.getEvents=function(){return{beforepaint:\"updateViewport\",beforeanimate:\"disableRefresh\",afteranimate:\"enableRefresh\",viewportchange:\"disableOneRefresh\"}},t.prototype.disableRefresh=function(){this.set(\"refresh\",!1)},t.prototype.enableRefresh=function(){this.set(\"refresh\",!0),this.updateCanvas()},t.prototype.disableOneRefresh=function(){this.set(\"viewportChange\",!0)},t.prototype.initViewport=function(){var e=this,t=this._cfgs,n=t.size,r=t.graph;if(!this.destroyed){var o=this.get(\"canvas\"),i=o.get(\"container\"),a=navigator.userAgent.toLowerCase().indexOf(\"firefox\")>-1,c=navigator.userAgent.toLowerCase().indexOf(\"safari\")>-1,u=$B(\"\\n      <div\\n        class=\".concat(t.viewportClassName,\"\\n        style='position:absolute;\\n          left:0;\\n          top:0;\\n          box-sizing:border-box;\\n          outline: 2px solid #1980ff;\\n          cursor:move'\\n        draggable=\").concat(!c&&!a,\"\\n      </div>\")),s=0,l=0,f=!1,d=0,h=0,p=0,v=0,g=0,m=0,y=c||a?\"mousedown\":\"dragstart\";u.addEventListener(y,(function(o){var i,a;if(o.dataTransfer){var c=new Image;c.src=\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' %3E%3Cpath /%3E%3C/svg%3E\",null===(a=(i=o.dataTransfer).setDragImage)||void 0===a||a.call(i,c,0,0);try{o.dataTransfer.setData(\"text/html\",\"view-port-minimap\")}catch(b){o.dataTransfer.setData(\"text\",\"view-port-minimap\")}}if(t.refresh=!1,o.target===u){var y=u.style;d=parseInt(y.left,10),h=parseInt(y.top,10),p=parseInt(y.width,10),v=parseInt(y.height,10),p>n[0]||v>n[1]||(m=r.getZoom(),g=e.get(\"ratio\"),f=!0,s=o.clientX,l=o.clientY)}}),!1);var b=function(e){if(f&&!Object(GS[\"isNil\"])(e.clientX)&&!Object(GS[\"isNil\"])(e.clientY)){var t=s-e.clientX,o=l-e.clientY;(d-t<0||d-t+p>=n[0])&&(t=0),(h-o<0||h-o+v>=n[1])&&(o=0),d-=t,h-=o,QB(u,{left:\"\".concat(d,\"px\"),top:\"\".concat(h,\"px\")}),r.translate(t*m/g,o*m/g),s=e.clientX,l=e.clientY}};c||a||u.addEventListener(\"drag\",b,!1);var x=function(){f=!1,t.refresh=!0},w=c||a?\"mouseup\":\"dragend\";u.addEventListener(w,x,!1),i.addEventListener(\"mouseleave\",x),i.addEventListener(\"mouseup\",x),(c||a)&&i.addEventListener(\"mousemove\",b,!1),this.set(\"viewport\",u),i.appendChild(u)}},t.prototype.updateViewport=function(){if(!this.destroyed){var e=this.get(\"ratio\"),t=(this.get(\"dx\"),this.get(\"dy\"),this.get(\"totaldx\")),n=this.get(\"totaldy\"),r=this.get(\"graph\"),o=this.get(\"size\"),i=r.get(\"width\"),a=r.get(\"height\"),c=r.getPointByCanvas(0,0),u=r.getPointByCanvas(i,a),s=this.get(\"viewport\");s||this.initViewport();var l=(u.x-c.x)*e,f=(u.y-c.y)*e,d=c.x*e+t,h=c.y*e+n,p=d+l,v=h+f;d<0&&(l+=d,d=0),p>o[0]&&(l-=p-o[0]),h<0&&(f+=h,h=0),v>o[1]&&(f-=v-o[1]),this.set(\"ratio\",e);var g=\"\".concat(d,\"px\"),m=\"\".concat(h,\"px\");QB(s,{left:g,top:m,width:\"\".concat(l,\"px\"),height:\"\".concat(f,\"px\")})}},t.prototype.updateGraphShapes=function(){var e=this._cfgs.graph,t=this.get(\"canvas\"),n=e.get(\"group\");if(!n.destroyed){var r;t.clear(),this.get(\"hideEdge\")?(r=t.addGroup(),n.get(\"children\").forEach((function(e){e.get(\"id\").includes(\"-edge\")||r.add(e.clone())}))):(r=n.clone(),r.resetMatrix(),t.add(r));var o=e.get(\"renderer\");o===sU&&this.updateVisible(r)}},t.prototype.updateVisible=function(e){var t=this;if(e.isGroup()||e.get(\"visible\")){var n=e.get(\"children\");if(!n||!n.length)return;n.forEach((function(e){e.get(\"visible\")||e.hide(),t.updateVisible(e)}))}else e.hide()},t.prototype.updateKeyShapes=function(){var e=this,t=this._cfgs.graph,n=this.get(\"canvas\"),r=n.get(\"children\")[0]||n.addGroup();this.get(\"hideEdge\")||Object(GS[\"each\"])(t.getEdges(),(function(t){e.updateOneEdgeKeyShape(t,r)})),Object(GS[\"each\"])(t.getNodes(),(function(t){e.updateOneNodeKeyShape(t,r)}));var o=t.getCombos();if(o&&o.length){var i=r.find((function(e){return\"comboGroup\"===e.get(\"name\")}))||r.addGroup({name:\"comboGroup\"});setTimeout((function(){e.destroyed||(Object(GS[\"each\"])(o,(function(t){e.updateOneComboKeyShape(t,i)})),null===i||void 0===i||i.sort(),null===i||void 0===i||i.toBack(),e.updateCanvas())}),250)}this.clearDestroyedShapes()},t.prototype.updateOneComboKeyShape=function(e,t){if(!this.destroyed){var n=this.get(\"itemMap\")||{},r=n[e.get(\"id\")],o=e.getBBox(),i=e.get(\"keyShape\").clone(),a=i.attr(),c={x:o.centerX,y:o.centerY};r?c=Object.assign(a,c):(r=i,t.add(r));var u=r.get(\"type\");\"rect\"!==u&&\"image\"!==u||(c.x=o.minX,c.y=o.minY),r.attr(c),e.isVisible()?r.show():r.hide(),r.exist=!0;var s=e.getModel().depth;isNaN(s)||r.set(\"zIndex\",s),n[e.get(\"id\")]=r,this.set(\"itemMap\",n)}},t.prototype.updateOneNodeKeyShape=function(e,t){var n=this.get(\"itemMap\")||{},r=n[e.get(\"id\")],o=e.getBBox(),i=e.get(\"keyShape\").clone(),a=i.attr(),c={x:o.centerX,y:o.centerY};r?(c=Object.assign(a,c),r.toFront()):(r=i,t.add(r));var u=r.get(\"type\");\"rect\"!==u&&\"image\"!==u||(c.x=o.minX,c.y=o.minY),r.attr(c),e.isVisible()?r.show():r.hide(),r.exist=!0;var s=e.getModel().depth;isNaN(s)||r.set(\"zIndex\",s),n[e.get(\"id\")]=r,this.set(\"itemMap\",n)},t.prototype.updateDelegateShapes=function(){var e=this,t=this._cfgs.graph,n=this.get(\"canvas\"),r=n.get(\"children\")[0]||n.addGroup();this.get(\"hideEdge\")||Object(GS[\"each\"])(t.getEdges(),(function(t){e.updateOneEdgeKeyShape(t,r)})),Object(GS[\"each\"])(t.getNodes(),(function(t){e.updateOneNodeDelegateShape(t,r)}));var o=t.getCombos();if(o&&o.length){var i=r.find((function(e){return\"comboGroup\"===e.get(\"name\")}))||r.addGroup({name:\"comboGroup\"});setTimeout((function(){e.destroyed||(Object(GS[\"each\"])(o,(function(t){e.updateOneComboKeyShape(t,i)})),null===i||void 0===i||i.sort(),null===i||void 0===i||i.toBack(),e.updateCanvas())}),250)}this.clearDestroyedShapes()},t.prototype.clearDestroyedShapes=function(){var e=this.get(\"itemMap\")||{},t=Object.keys(e);if(t&&0!==t.length)for(var n=t.length-1;n>=0;n--){var r=e[t[n]],o=r.exist;r.exist=!1,o||(r.remove(),delete e[t[n]])}},t.prototype.updateOneEdgeKeyShape=function(e,t){var n=this.get(\"itemMap\")||{},r=n[e.get(\"id\")];if(r){var o=e.get(\"keyShape\").attr(\"path\");r.attr(\"path\",o)}else r=e.get(\"keyShape\").clone(),t.add(r);e.isVisible()?r.show():r.hide(),r.exist=!0,n[e.get(\"id\")]=r,this.set(\"itemMap\",n)},t.prototype.updateOneNodeDelegateShape=function(e,t){var n=this.get(\"delegateStyle\"),r=this.get(\"itemMap\")||{},o=r[e.get(\"id\")],i=e.getBBox();if(o){var a={x:i.minX,y:i.minY,width:i.width,height:i.height};o.attr(a),o.toFront()}else o=t.addShape(\"rect\",{attrs:rU({x:i.minX,y:i.minY,width:i.width,height:i.height},n),name:\"minimap-node-shape\"});e.isVisible()?o.show():o.hide(),o.exist=!0,r[e.get(\"id\")]=o,this.set(\"itemMap\",r)},t.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)},t.prototype.initContainer=function(){var e=this,t=e.get(\"graph\"),n=e.get(\"size\"),r=e.get(\"className\"),o=e.get(\"container\"),i=$B(\"<div class='\".concat(r,\"' style='width: \").concat(n[0],\"px; height: \").concat(n[1],\"px; overflow: hidden'></div>\"));Object(GS[\"isString\"])(o)&&(o=document.getElementById(o)),o?o.appendChild(i):t.get(\"container\").appendChild(i),e.set(\"container\",i);var a,c=$B('<div class=\"g6-minimap-container\" style=\"position: relative;\"></div>');i.appendChild(c),c.addEventListener(\"dragenter\",(function(e){e.preventDefault()})),c.addEventListener(\"dragover\",(function(e){e.preventDefault()}));var u=t.get(\"renderer\");a=u===sU?new vB({container:c,width:n[0],height:n[1]}):new nF({container:c,width:n[0],height:n[1]}),e.set(\"canvas\",a),e.updateCanvas()},t.prototype.updateCanvas=function(){if(!this.destroyed){var e=this.get(\"refresh\");if(e){var t=this.get(\"graph\");if(!t.get(\"destroyed\")){this.get(\"viewportChange\")&&(this.set(\"viewportChange\",!1),this.updateViewport());var n=this.get(\"size\"),r=this.get(\"canvas\"),o=this.get(\"type\"),i=this.get(\"padding\");if(!r.destroyed){switch(o){case aU:this.updateGraphShapes();break;case cU:this.updateKeyShapes();break;case uU:this.updateDelegateShapes();break;default:break}var a=r.get(\"children\")[0];if(a){a.resetMatrix();var c=a.getCanvasBBox(),u=t.get(\"canvas\").getCanvasBBox(),s=t.getZoom()||1,l=u.width/s,f=u.height/s;Number.isFinite(c.width)&&(l=oU(c.width,l),f=oU(c.height,f)),l+=2*i,f+=2*i;var d=Math.min(n[0]/l,n[1]/f),h=[1,0,0,0,1,0,0,0,1],p=0,v=0;Number.isFinite(c.minX)&&(p=-c.minX),Number.isFinite(c.minY)&&(v=-c.minY);var g=(n[0]-(l-2*i)*d)/2,m=(n[1]-(f-2*i)*d)/2;h=iU(h,[[\"t\",p,v],[\"s\",d,d],[\"t\",g,m]]),a.setMatrix(h),this.set(\"ratio\",d),this.set(\"totaldx\",g+p*d),this.set(\"totaldy\",m+v*d),this.set(\"dx\",g),this.set(\"dy\",m),this.updateViewport()}}}}}},t.prototype.getCanvas=function(){return this.get(\"canvas\")},t.prototype.getViewport=function(){return this.get(\"viewport\")},t.prototype.getContainer=function(){return this.get(\"container\")},t.prototype.destroy=function(){var e;null===(e=this.get(\"canvas\"))||void 0===e||e.destroy();var t=this.get(\"container\");(null===t||void 0===t?void 0:t.parentNode)&&t.parentNode.removeChild(t)},t}(Yz),fU=lU,dU=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function hU(e,t,n){var r=e.x-t.x,o=e.y-t.y;return!n||Math.abs(r)>n||Math.abs(o)>n?Math.sqrt(r*r+o*o):n}function pU(e,t){return e.x*t.x+e.y*t.y}function vU(e,t){var n=(t.source.y-t.target.y)/(t.source.x-t.target.x),r=(n*n*t.source.x+n*(e.y-t.source.y)+e.x)/(n*n+1),o=n*(r-t.source.x)+t.source.y;return{x:r,y:o}}var gU=function(e){function t(t){return e.call(this,t)||this}return dU(t,e),t.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(){}}},t.prototype.init=function(){var e=this.get(\"graph\"),t=this.get(\"onTick\"),n=function(){t&&t(),e.refreshPositions()};this.set(\"tick\",n)},t.prototype.bundling=function(e){var t=this;if(t.set(\"data\",e),!t.isTicking()){var n=e.edges||[],r=e.nodes||[],o={},i=!1;if(r.forEach((function(e){null!==e.x&&null!==!e.y&&void 0!==e.x&&void 0!==!e.y||(i=!0),o[e.id]=e})),i)throw new Error(\"please layout the graph or assign x and y for nodes first\");t.set(\"nodeIdMap\",o);var a=t.get(\"divisions\"),c=t.get(\"divRate\"),u=t.divideEdges(a);t.set(\"edgePoints\",u);var s=t.getEdgeBundles();t.set(\"edgeBundles\",s);for(var l=t.get(\"cycles\"),f=t.get(\"iterations\"),d=t.get(\"iterRate\"),h=t.get(\"lambda\"),p=0;p<l;p++){for(var v=function(e){var r=[];n.forEach((function(e,n){if(e.source!==e.target){var i=o[e.source],c=o[e.target];r[n]=t.getEdgeForces({source:i,target:c},n,a,h);for(var s=0;s<a+1;s++)u[n][s].x+=r[n][s].x,u[n][s].y+=r[n][s].y}}))},g=0;g<f;g++)v(g);h/=2,a*=c,f*=d,u=t.divideEdges(a),t.set(\"edgePoints\",u)}n.forEach((function(e,t){e.source!==e.target&&(e.type=\"polyline\",e.controlPoints=u[t].slice(1,u[t].length-1))}));var m=t.get(\"graph\");m.refresh()}},t.prototype.updateBundling=function(e){var t=this,n=e.data;if(n&&t.set(\"data\",n),t.get(\"ticking\")&&t.set(\"ticking\",!1),Object.keys(e).forEach((function(n){t.set(n,e[n])})),e.onTick){var r=this.get(\"graph\");t.set(\"tick\",(function(){e.onTick(),r.refresh()}))}t.bundling(n)},t.prototype.divideEdges=function(e){var t=this,n=t.get(\"data\").edges,r=t.get(\"nodeIdMap\"),o=t.get(\"edgePoints\");return o&&void 0!==o||(o=[]),n.forEach((function(n,i){var a;o[i]&&void 0!==o[i]||(o[i]=[]);var c=r[n.source],u=r[n.target];if(1===e)o[i].push({x:c.x,y:c.y}),o[i].push({x:.5*(c.x+u.x),y:.5*(c.y+u.y)}),o[i].push({x:u.x,y:u.y});else{var s=0;s=(null===(a=o[i])||void 0===a?void 0:a.length)?t.getEdgeLength(o[i]):hU({x:c.x,y:c.y},{x:u.x,y:u.y});var l=s/(e+1),f=l,d=[{x:c.x,y:c.y}];o[i].forEach((function(e,t){if(0!==t){var n=hU(e,o[i][t-1]);while(n>f){var r=f/n,a={x:o[i][t-1].x,y:o[i][t-1].y};a.x+=r*(e.x-o[i][t-1].x),a.y+=r*(e.y-o[i][t-1].y),d.push(a),n-=f,f=l}f-=n}})),d.push({x:u.x,y:u.y}),o[i]=d}})),o},t.prototype.getEdgeLength=function(e){var t=0;return e.forEach((function(n,r){0!==r&&(t+=hU(n,e[r-1]))})),t},t.prototype.getEdgeBundles=function(){var e=this,t=e.get(\"data\"),n=t.edges||[],r=e.get(\"bundleThreshold\"),o=e.get(\"nodeIdMap\"),i=e.get(\"edgeBundles\");return i||(i=[]),n.forEach((function(e,t){i[t]&&void 0!==i[t]||(i[t]=[])})),n.forEach((function(t,a){var c=o[t.source],u=o[t.target];n.forEach((function(t,n){if(!(n<=a)){var s=o[t.source],l=o[t.target],f=e.getBundleScore({source:c,target:u},{source:s,target:l});f>=r&&(i[a].push(n),i[n].push(a))}}))})),i},t.prototype.getBundleScore=function(e,t){var n=this;e.vx=e.target.x-e.source.x,e.vy=e.target.y-e.source.y,t.vx=t.target.x-t.source.x,t.vy=t.target.y-t.source.y,e.length=hU({x:e.source.x,y:e.source.y},{x:e.target.x,y:e.target.y}),t.length=hU({x:t.source.x,y:t.source.y},{x:t.target.x,y:t.target.y});var r=n.getAngleScore(e,t),o=n.getScaleScore(e,t),i=n.getPositionScore(e,t),a=n.getVisibilityScore(e,t);return r*o*i*a},t.prototype.getAngleScore=function(e,t){var n=pU({x:e.vx,y:e.vy},{x:t.vx,y:t.vy});return n/(e.length*t.length)},t.prototype.getScaleScore=function(e,t){var n=(e.length+t.length)/2,r=2/(n/Math.min(e.length,t.length)+Math.max(e.length,t.length)/n);return r},t.prototype.getPositionScore=function(e,t){var n=(e.length+t.length)/2,r={x:(e.source.x+e.target.x)/2,y:(e.source.y+e.target.y)/2},o={x:(t.source.x+t.target.x)/2,y:(t.source.y+t.target.y)/2},i=hU(r,o);return n/(n+i)},t.prototype.getVisibilityScore=function(e,t){var n=this.getEdgeVisibility(e,t),r=this.getEdgeVisibility(t,e);return n<r?n:r},t.prototype.getEdgeVisibility=function(e,t){var n=vU(t.source,e),r=vU(t.target,e),o={x:(n.x+r.x)/2,y:(n.y+r.y)/2},i={x:(e.source.x+e.target.x)/2,y:(e.source.y+e.target.y)/2};return Math.max(0,1-2*hU(o,i)/hU(n,r))},t.prototype.getEdgeForces=function(e,t,n,r){for(var o=this,i=o.get(\"edgePoints\"),a=o.get(\"K\"),c=a/(hU(e.source,e.target)*(n+1)),u=[{x:0,y:0}],s=1;s<n;s++){var l={x:0,y:0},f=o.getSpringForce({pre:i[t][s-1],cur:i[t][s],next:i[t][s+1]},c),d=o.getElectrostaticForce(s,t);l.x=r*(f.x+d.x),l.y=r*(f.y+d.y),u.push(l)}return u.push({x:0,y:0}),u},t.prototype.getSpringForce=function(e,t){var n=e.pre.x+e.next.x-2*e.cur.x,r=e.pre.y+e.next.y-2*e.cur.y;return n*=t,r*=t,{x:n,y:r}},t.prototype.getElectrostaticForce=function(e,t){var n=this,r=n.get(\"eps\"),o=n.get(\"edgeBundles\"),i=n.get(\"edgePoints\"),a=o[t],c={x:0,y:0};return a.forEach((function(n){var o={x:i[n][e].x-i[t][e].x,y:i[n][e].y-i[t][e].y};if(Math.abs(o.x)>r||Math.abs(o.y)>r){var a=hU(i[n][e],i[t][e]),u=1/a;c.x+=o.x*u,c.y+=o.y*u}})),c},t.prototype.isTicking=function(){return this.get(\"ticking\")},t.prototype.getSimulation=function(){return this.get(\"forceSimulation\")},t.prototype.destroy=function(){this.get(\"ticking\")&&this.getSimulation().stop(),e.prototype.destroy.call(this)},t}(Yz),mU=gU,yU=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),bU=function(){return bU=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},bU.apply(this,arguments)},xU=.05,wU={stroke:\"#000\",strokeOpacity:.8,lineWidth:2,fillOpacity:.1,fill:\"#ccc\"},OU=function(e){function t(t){return e.call(this,t)||this}return yU(t,e),t.prototype.getDefaultCfgs=function(){return{trigger:\"mousemove\",d:1.5,r:300,delegateStyle:Object(GS[\"clone\"])(wU),showLabel:!1,maxD:5,minD:0,scaleRBy:\"unset\",scaleDBy:\"unset\",showDPercent:!0}},t.prototype.getEvents=function(){var e;switch(this.get(\"trigger\")){case\"click\":e={click:\"magnify\"};break;case\"drag\":e={click:\"createDelegate\"};break;default:e={mousemove:\"magnify\"};break}return e},t.prototype.init=function(){var e=this,t=e.get(\"r\");e.set(\"cachedMagnifiedModels\",[]),e.set(\"cachedOriginPositions\",{}),e.set(\"r2\",t*t);var n=e.get(\"d\");e.set(\"molecularParam\",(n+1)*t)},t.prototype.createDelegate=function(e){var t=this,n=this,r=n.get(\"delegate\");r&&!r.destroyed||(n.magnify(e),r=n.get(\"delegate\"),r.on(\"dragstart\",(function(e){n.set(\"delegateCenterDiff\",{x:r.attr(\"x\")-e.x,y:r.attr(\"y\")-e.y})})),r.on(\"drag\",(function(e){n.magnify(e)})),\"wheel\"===this.get(\"scaleDBy\")&&r.on(\"mousewheel\",(function(e){t.scaleDByWheel(e)})),\"wheel\"===this.get(\"scaleRBy\")&&r.on(\"mousewheel\",(function(e){n.scaleRByWheel(e)})))},t.prototype.scaleRByWheel=function(e){var t=this;if(e&&e.originalEvent){e.preventDefault&&e.preventDefault();var n,r=t.get(\"graph\"),o=t.get(\"delegate\"),i=o?{x:o.attr(\"x\"),y:o.attr(\"y\")}:void 0,a=i||r.getPointByClient(e.clientX,e.clientY);n=e.originalEvent.wheelDelta<0?1-xU:1/(1-xU);var c=t.get(\"maxR\"),u=t.get(\"minR\"),s=t.get(\"r\");(s>(c||r.get(\"height\"))&&n>1||s<(u||.05*r.get(\"height\"))&&n<1)&&(n=1),s*=n,t.set(\"r\",s),t.set(\"r2\",s*s);var l=t.get(\"d\");t.set(\"molecularParam\",(l+1)*s),t.set(\"delegateCenterDiff\",void 0),t.magnify(e,a)}},t.prototype.scaleRByDrag=function(e){var t=this;if(e){var n,r=t.get(\"dragPrePos\"),o=t.get(\"graph\"),i=o.getPointByClient(e.clientX,e.clientY);n=e.x-r.x<0?1-xU:1/(1-xU);var a=t.get(\"maxR\"),c=t.get(\"minR\"),u=t.get(\"r\");(u>(a||o.get(\"height\"))&&n>1||u<(c||.05*o.get(\"height\"))&&n<1)&&(n=1),u*=n,t.set(\"r\",u),t.set(\"r2\",u*u);var s=t.get(\"d\");t.set(\"molecularParam\",(s+1)*u),t.magnify(e,i),t.set(\"dragPrePos\",{x:e.x,y:e.y})}},t.prototype.scaleDByWheel=function(e){var t=this;if(e||e.originalEvent){e.preventDefault&&e.preventDefault();var n=0;n=e.originalEvent.wheelDelta<0?-.1:.1;var r=t.get(\"d\"),o=r+n,i=t.get(\"maxD\"),a=t.get(\"minD\");if(o<i&&o>a){t.set(\"d\",o);var c=t.get(\"r\");t.set(\"molecularParam\",(o+1)*c);var u=t.get(\"delegate\"),s=u?{x:u.attr(\"x\"),y:u.attr(\"y\")}:void 0;t.set(\"delegateCenterDiff\",void 0),t.magnify(e,s)}}},t.prototype.scaleDByDrag=function(e){var t=this,n=t.get(\"dragPrePos\"),r=e.x-n.x>0?.1:-.1,o=t.get(\"d\"),i=o+r,a=t.get(\"maxD\"),c=t.get(\"minD\");if(i<a&&i>c){t.set(\"d\",i);var u=t.get(\"r\");t.set(\"molecularParam\",(i+1)*u),t.magnify(e)}t.set(\"dragPrePos\",{x:e.x,y:e.y})},t.prototype.magnify=function(e,t){var n=this;n.restoreCache();var r=n.get(\"graph\"),o=n.get(\"cachedMagnifiedModels\"),i=n.get(\"cachedOriginPositions\"),a=n.get(\"showLabel\"),c=n.get(\"r\"),u=n.get(\"r2\"),s=n.get(\"d\"),l=n.get(\"molecularParam\"),f=r.getNodes(),d=f.length,h=t?{x:t.x,y:t.y}:{x:e.x,y:e.y};!n.get(\"dragging\")||\"mousemove\"!==n.get(\"trigger\")&&\"click\"!==n.get(\"trigger\")||(h=n.get(\"cacheCenter\"));var p=n.get(\"delegateCenterDiff\");p&&(h.x+=p.x,h.y+=p.y),n.updateDelegate(h,c);for(var v=0;v<d;v++){var g=f[v].getModel(),m=g.x,y=g.y;if(!isNaN(m)&&!isNaN(y)){var b=(m-h.x)*(m-h.x)+(y-h.y)*(y-h.y);if(!isNaN(b)&&b<u&&0!==b){var x=Math.sqrt(b),w=l*x/(s*x+c),O=(m-h.x)/x,E=(y-h.y)/x;if(g.x=O*w+h.x,g.y=E*w+h.y,i[g.id]||(i[g.id]={x:m,y:y,texts:[]}),o.push(g),a&&2*x<c)for(var S=f[v],j=S.getContainer(),k=j.getChildren(),_=k.length,C=0;C<_;C++){var M=k[C];\"text\"===M.get(\"type\")&&(i[g.id].texts.push({visible:M.get(\"visible\"),shape:M}),M.set(\"visible\",!0))}}}}r.refreshPositions()},t.prototype.restoreCache=function(){for(var e=this,t=e.get(\"cachedMagnifiedModels\"),n=e.get(\"cachedOriginPositions\"),r=t.length,o=0;o<r;o++){var i=t[o],a=i.id,c=n[a];i.x=c.x,i.y=c.y;for(var u=c.texts.length,s=0;s<u;s++){var l=c.texts[s];l.shape.set(\"visible\",l.visible)}}e.set(\"cachedMagnifiedModels\",[]),e.set(\"cachedOriginPositions\",{})},t.prototype.updateParams=function(e){var t=this,n=e.r,r=e.d,o=e.trigger,i=e.minD,a=e.maxD,c=e.minR,u=e.maxR,s=e.scaleDBy,l=e.scaleRBy;isNaN(e.r)||(t.set(\"r\",n),t.set(\"r2\",n*n)),isNaN(r)||t.set(\"d\",r),isNaN(a)||t.set(\"maxD\",a),isNaN(i)||t.set(\"minD\",i),isNaN(u)||t.set(\"maxR\",u),isNaN(c)||t.set(\"minR\",c);var f=t.get(\"d\"),d=t.get(\"r\");if(t.set(\"molecularParam\",(f+1)*d),\"mousemove\"!==o&&\"click\"!==o&&\"drag\"!==o||t.set(\"trigger\",o),\"drag\"===s||\"wheel\"===s||\"unset\"===s){t.set(\"scaleDBy\",s),t.get(\"delegate\").remove(),t.get(\"delegate\").destroy();var h=t.get(\"dPercentText\");h&&(h.remove(),h.destroy())}if(\"drag\"===l||\"wheel\"===l||\"unset\"===l){t.set(\"scaleRBy\",l),t.get(\"delegate\").remove(),t.get(\"delegate\").destroy();h=t.get(\"dPercentText\");h&&(h.remove(),h.destroy())}},t.prototype.updateDelegate=function(e,t){var n=this,r=this,o=r.get(\"graph\"),i=r.get(\"delegate\");if(!i||i.destroyed){var a=o.get(\"group\"),c=r.get(\"delegateStyle\")||wU;i=a.addShape(\"circle\",{attrs:bU({r:t/1.5,x:e.x,y:e.y},c),name:\"lens-shape\",draggable:!0}),\"drag\"!==this.get(\"trigger\")&&(\"wheel\"===this.get(\"scaleRBy\")?i.on(\"mousewheel\",(function(e){r.scaleRByWheel(e)})):\"drag\"===this.get(\"scaleRBy\")&&(i.on(\"dragstart\",(function(e){r.set(\"dragging\",!0),r.set(\"cacheCenter\",{x:e.x,y:e.y}),r.set(\"dragPrePos\",{x:e.x,y:e.y})})),i.on(\"drag\",(function(e){r.scaleRByDrag(e)})),i.on(\"dragend\",(function(e){r.set(\"dragging\",!1)}))),\"wheel\"===this.get(\"scaleDBy\")?i.on(\"mousewheel\",(function(e){n.scaleDByWheel(e)})):\"drag\"===this.get(\"scaleDBy\")&&(i.on(\"dragstart\",(function(e){r.set(\"dragging\",!0),r.set(\"cacheCenter\",{x:e.x,y:e.y}),r.set(\"dragPrePos\",{x:e.x,y:e.y})})),i.on(\"drag\",(function(e){n.scaleDByDrag(e)})),i.on(\"dragend\",(function(e){r.set(\"dragging\",!1)}))))}else i.attr({x:e.x,y:e.y,r:t/1.5});if(r.get(\"showDPercent\")){var u=Math.round((r.get(\"d\")-r.get(\"minD\"))/(r.get(\"maxD\")-r.get(\"minD\"))*100),s=r.get(\"dPercentText\"),l=e.y+t/1.5+16;if(!s||s.destroyed){var f=o.get(\"group\");s=f.addShape(\"text\",{attrs:{text:\"\".concat(u,\"%\"),x:e.x,y:l,fill:\"#aaa\",stroke:\"#fff\",lineWidth:1,fontSize:12}}),r.set(\"dPercentText\",s)}else s.attr({text:\"\".concat(u,\"%\"),x:e.x,y:l})}r.set(\"delegate\",i)},t.prototype.clear=function(){var e=this.get(\"graph\");this.restoreCache(),e.refreshPositions();var t=this.get(\"delegate\");t&&!t.destroyed&&(t.remove(),t.destroy());var n=this.get(\"dPercentText\");n&&!n.destroyed&&(n.remove(),n.destroy())},t.prototype.destroy=function(){this.clear()},t}(Yz),EU=OU,SU=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),jU=.05;\"undefined\"!==typeof document&&Qz()(\"\\n  .g6-component-toolbar {\\n    position: absolute;\\n    list-style-type: none;\\n    padding: 6px;\\n    left: 0px;\\n    top: 0px;\\n    background-color: rgba(255, 255, 255, 0.9);\\n    border: 1px solid #e2e2e2;\\n    border-radius: 4px;\\n    font-size: 12px;\\n    color: #545454;\\n    margin: 0;\\n  }\\n  .g6-component-toolbar li {\\n    float: left;\\n    text-align: center;\\n    width: 35px;\\n    height: 24px;\\n    cursor: pointer;\\n\\t\\tlist-style-type:none;\\n    list-style: none;\\n    margin-left: 0px;\\n  }\\n  .g6-component-toolbar li .icon {\\n    opacity: 0.7;\\n  }\\n  .g6-component-toolbar li .icon:hover {\\n    opacity: 1;\\n  }\\n\");var kU=function(e){if(!e)return[];if(e.composedPath)return e.composedPath();var t=[],n=e.target;while(n){if(t.push(n),\"HTML\"===n.tagName)return t.push(document,window),t;n=n.parentElement}return t},_U=function(e){function t(t){return e.call(this,t)||this}return SU(t,e),t.prototype.getDefaultCfgs=function(){return{handleClick:void 0,getContent:function(e){return'\\n          <ul class=\\'g6-component-toolbar\\'>\\n            <li code=\\'redo\\'>\\n              <svg class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\">\\n                <path d=\"M256 682.666667c0-102.741333 66.730667-213.333333 213.333333-213.333334 107.008 0 190.762667 56.576 230.570667 125.354667L611.968 682.666667H853.333333v-241.365334l-91.562666 91.562667C704.768 448.469333 601.130667 384 469.333333 384c-196.096 0-298.666667 150.229333-298.666666 298.666667h85.333333z\" fill=\"\" p-id=\"2041\"></path>\\n              </svg>\\n            </li>\\n            <li code=\\'undo\\'>\\n              <svg class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\">\\n                <path d=\"M170.666667 682.666667h241.365333l-87.936-87.978667C363.904 525.909333 447.658667 469.333333 554.666667 469.333333c146.602667 0 213.333333 110.592 213.333333 213.333334h85.333333c0-148.437333-102.570667-298.666667-298.666666-298.666667-131.797333 0-235.392 64.469333-292.48 148.821333L170.666667 441.301333V682.666667z\" fill=\"\" p-id=\"2764\"></path>\\n              </svg>\\n            </li>\\n            <li  code=\\'zoomOut\\'>\\n              <svg class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\">\\n                <path d=\"M658.432 428.736a33.216 33.216 0 0 1-33.152 33.152H525.824v99.456a33.216 33.216 0 0 1-66.304 0V461.888H360.064a33.152 33.152 0 0 1 0-66.304H459.52V296.128a33.152 33.152 0 0 1 66.304 0V395.52H625.28c18.24 0 33.152 14.848 33.152 33.152z m299.776 521.792a43.328 43.328 0 0 1-60.864-6.912l-189.248-220.992a362.368 362.368 0 0 1-215.36 70.848 364.8 364.8 0 1 1 364.8-364.736 363.072 363.072 0 0 1-86.912 235.968l192.384 224.64a43.392 43.392 0 0 1-4.8 61.184z m-465.536-223.36a298.816 298.816 0 0 0 298.432-298.432 298.816 298.816 0 0 0-298.432-298.432A298.816 298.816 0 0 0 194.24 428.8a298.816 298.816 0 0 0 298.432 298.432z\"></path>\\n              </svg>\\n            </li>\\n            <li code=\\'zoomIn\\'>\\n              <svg class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\">\\n                <path d=\"M639.936 416a32 32 0 0 1-32 32h-256a32 32 0 0 1 0-64h256a32 32 0 0 1 32 32z m289.28 503.552a41.792 41.792 0 0 1-58.752-6.656l-182.656-213.248A349.76 349.76 0 0 1 480 768 352 352 0 1 1 832 416a350.4 350.4 0 0 1-83.84 227.712l185.664 216.768a41.856 41.856 0 0 1-4.608 59.072zM479.936 704c158.784 0 288-129.216 288-288S638.72 128 479.936 128a288.32 288.32 0 0 0-288 288c0 158.784 129.216 288 288 288z\" p-id=\"3853\"></path>\\n              </svg>\\n            </li>\\n            <li code=\\'realZoom\\'>\\n              <svg class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"24\">\\n                <path d=\"M384 320v384H320V320h64z m256 0v384H576V320h64zM512 576v64H448V576h64z m0-192v64H448V384h64z m355.968 576H92.032A28.16 28.16 0 0 1 64 931.968V28.032C64 12.608 76.608 0 95.168 0h610.368L896 192v739.968a28.16 28.16 0 0 1-28.032 28.032zM704 64v128h128l-128-128z m128 192h-190.464V64H128v832h704V256z\"></path>\\n              </svg>\\n            </li>\\n            <li code=\\'autoZoom\\'>\\n              <svg class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"24\">\\n                <path d=\"M684.288 305.28l0.128-0.64-0.128-0.64V99.712c0-19.84 15.552-35.904 34.496-35.712a35.072 35.072 0 0 1 34.56 35.776v171.008h170.944c19.648 0 35.84 15.488 35.712 34.432a35.072 35.072 0 0 1-35.84 34.496h-204.16l-0.64-0.128a32.768 32.768 0 0 1-20.864-7.552c-1.344-1.024-2.816-1.664-3.968-2.816-0.384-0.32-0.512-0.768-0.832-1.088a33.472 33.472 0 0 1-9.408-22.848zM305.28 64a35.072 35.072 0 0 0-34.56 35.776v171.008H99.776A35.072 35.072 0 0 0 64 305.216c0 18.944 15.872 34.496 35.84 34.496h204.16l0.64-0.128a32.896 32.896 0 0 0 20.864-7.552c1.344-1.024 2.816-1.664 3.904-2.816 0.384-0.32 0.512-0.768 0.768-1.088a33.024 33.024 0 0 0 9.536-22.848l-0.128-0.64 0.128-0.704V99.712A35.008 35.008 0 0 0 305.216 64z m618.944 620.288h-204.16l-0.64 0.128-0.512-0.128c-7.808 0-14.72 3.2-20.48 7.68-1.28 1.024-2.752 1.664-3.84 2.752-0.384 0.32-0.512 0.768-0.832 1.088a33.664 33.664 0 0 0-9.408 22.912l0.128 0.64-0.128 0.704v204.288c0 19.712 15.552 35.904 34.496 35.712a35.072 35.072 0 0 0 34.56-35.776V753.28h170.944c19.648 0 35.84-15.488 35.712-34.432a35.072 35.072 0 0 0-35.84-34.496z m-593.92 11.52c-0.256-0.32-0.384-0.768-0.768-1.088-1.088-1.088-2.56-1.728-3.84-2.688a33.088 33.088 0 0 0-20.48-7.68l-0.512 0.064-0.64-0.128H99.84a35.072 35.072 0 0 0-35.84 34.496 35.072 35.072 0 0 0 35.712 34.432H270.72v171.008c0 19.84 15.552 35.84 34.56 35.776a35.008 35.008 0 0 0 34.432-35.712V720l-0.128-0.64 0.128-0.704a33.344 33.344 0 0 0-9.472-22.848zM512 374.144a137.92 137.92 0 1 0 0.128 275.84A137.92 137.92 0 0 0 512 374.08z\"></path>\\n              </svg>\\n            </li>\\n          </ul>\\n        '},zoomSensitivity:2}},t.prototype.init=function(){var e=this,t=this.get(\"graph\"),n=this.get(\"getContent\"),r=n(t),o=r;Object(GS[\"isString\"])(r)&&(o=$B(r));var i=this.get(\"className\");o.setAttribute(\"class\",i||\"g6-component-toolbar\");var a=this.get(\"container\");a||(a=this.get(\"graph\").get(\"container\")),Object(GS[\"isString\"])(a)&&(a=document.getElementById(a)),a.appendChild(o),this.set(\"toolBar\",o);var c=this.get(\"handleClick\");o.addEventListener(\"click\",(function(n){var r=kU(n).filter((function(e){return\"LI\"===e.nodeName}));if(0!==r.length){var o=r[0].getAttribute(\"code\");o&&(c?c(o,t):e.handleDefaultOperator(o))}}));var u=this.get(\"position\");u&&QB(o,{top:\"\".concat(u.y,\"px\"),left:\"\".concat(u.x,\"px\")}),this.bindUndoRedo()},t.prototype.bindUndoRedo=function(){var e=this.get(\"graph\"),t=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\"]'),o=document.querySelector('.g6-component-toolbar li[code=\"redo\"] svg');t&&n&&r&&o&&e.on(\"stackchange\",(function(e){var i=e.undoStack,a=e.redoStack,c=i.length,u=a.length;1===c?(t.setAttribute(\"style\",\"cursor: not-allowed\"),n.setAttribute(\"style\",\"opacity: 0.4\")):(t.removeAttribute(\"style\"),n.removeAttribute(\"style\")),0===u?(r.setAttribute(\"style\",\"cursor: not-allowed\"),o.setAttribute(\"style\",\"opacity: 0.4\")):(r.removeAttribute(\"style\"),o.removeAttribute(\"style\"))}))},t.prototype.undo=function(){var e=this.get(\"graph\"),t=e.getUndoStack();if(t&&1!==t.length){var n=t.pop();if(n){var r=n.action;e.pushStack(r,Object(GS[\"clone\"])(n.data),\"redo\");var o=n.data.before;if(\"add\"===r&&(o=n.data.after),!o)return;switch(r){case\"visible\":Object.keys(o).forEach((function(t){var n=o[t];n&&n.forEach((function(t){var n=e.findById(t.id);t.visible?e.showItem(n,!1):e.hideItem(n,!1)}))}));break;case\"render\":case\"update\":Object.keys(o).forEach((function(t){var n=o[t];n&&n.forEach((function(t){var n=e.findById(t.id);delete t.id,e.updateItem(n,t,!1),\"combo\"===n.getType()&&e.updateCombo(n)}))}));break;case\"changedata\":e.changeData(o,!1);break;case\"delete\":Object.keys(o).forEach((function(t){var n=o[t];n&&n.forEach((function(t){var n=t.itemType;delete t.itemType,e.addItem(n,t,!1)}))}));break;case\"add\":Object.keys(o).forEach((function(t){var n=o[t];n&&n.forEach((function(t){e.removeItem(t.id,!1)}))}));break;case\"updateComboTree\":Object.keys(o).forEach((function(t){var n=o[t];n&&n.forEach((function(t){e.updateComboTree(t.id,t.parentId,!1)}))}));break;case\"layout\":e.updateLayout(o,void 0,void 0,!1);break;default:}}}},t.prototype.redo=function(){var e=this.get(\"graph\"),t=e.getRedoStack();if(t&&0!==t.length){var n=t.pop();if(n){var r=n.action,o=n.data.after;if(e.pushStack(r,Object(GS[\"clone\"])(n.data)),\"delete\"===r&&(o=n.data.before),!o)return;switch(r){case\"visible\":Object.keys(o).forEach((function(t){var n=o[t];n&&n.forEach((function(t){var n=e.findById(t.id);t.visible?e.showItem(n,!1):e.hideItem(n,!1)}))}));break;case\"render\":case\"update\":Object.keys(o).forEach((function(t){var n=o[t];n&&n.forEach((function(t){var n=e.findById(t.id);delete t.id,e.updateItem(n,t,!1),\"combo\"===n.getType()&&e.updateCombo(n)}))}));break;case\"changedata\":e.changeData(o,!1);break;case\"delete\":o.edges&&o.edges.forEach((function(t){e.removeItem(t.id,!1)})),o.nodes&&o.nodes.forEach((function(t){e.removeItem(t.id,!1)})),o.combos&&o.combos.forEach((function(t){e.removeItem(t.id,!1)}));break;case\"add\":Object.keys(o).forEach((function(t){var n=o[t];n&&n.forEach((function(t){var n=t.itemType;delete t.itemType,e.addItem(n,t,!1)}))}));break;case\"updateComboTree\":Object.keys(o).forEach((function(t){var n=o[t];n&&n.forEach((function(t){e.updateComboTree(t.id,t.parentId,!1)}))}));break;case\"layout\":e.updateLayout(o,void 0,void 0,!1);break;default:}}}},t.prototype.zoomOut=function(){var e=this.get(\"graph\"),t=e.getZoom(),n=1/(1-jU*this.get(\"zoomSensitivity\")),r=this.get(\"maxZoom\")||e.get(\"maxZoom\");n*t>r||e.zoomTo(t*n)},t.prototype.zoomIn=function(){var e=this.get(\"graph\"),t=e.getZoom(),n=1-jU*this.get(\"zoomSensitivity\"),r=this.get(\"minZoom\")||e.get(\"minZoom\");n*t<r||e.zoomTo(t*n)},t.prototype.realZoom=function(){var e=this.get(\"graph\");e.zoomTo(1)},t.prototype.autoZoom=function(){var e=this.get(\"graph\");e.fitView([20,20])},t.prototype.handleDefaultOperator=function(e){switch(e){case\"redo\":this.redo();break;case\"undo\":this.undo();break;case\"zoomOut\":this.zoomOut();break;case\"zoomIn\":this.zoomIn();break;case\"realZoom\":this.realZoom();break;case\"autoZoom\":this.autoZoom();break;default:}},t.prototype.destroy=function(){var e=this.get(\"toolBar\");if(e){var t=this.get(\"container\");t||(t=this.get(\"graph\").get(\"container\")),Object(GS[\"isString\"])(t)&&(t=document.getElementById(t)),t.removeChild(e)}var n=this.get(\"handleClick\");n&&e.removeEventListener(\"click\",n)},t}(Yz),CU=_U,MU=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();\"undefined\"!==typeof document&&Qz()(\"\\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 AU=function(e){function t(t){return e.call(this,t)||this}return MU(t,e),t.prototype.getDefaultCfgs=function(){return{offsetX:6,offsetY:6,getContent:function(e){return\"\\n          <h4 class='tooltip-type'>\\u7c7b\\u578b\\uff1a\".concat(e.item.getType(),\"</h4>\\n          <span class='tooltip-id'>ID\\uff1a\").concat(e.item.getID(),\"</span>\\n        \")},shouldBegin:function(e){return!0},itemTypes:[\"node\",\"edge\",\"combo\"],trigger:\"mouseenter\",fixToNode:void 0}},t.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\"}},t.prototype.init=function(){var e=this,t=e.get(\"className\")||\"g6-component-tooltip\",n=$B(\"<div class='\".concat(t,\"'></div>\")),r=e.get(\"container\");r||(r=e.get(\"graph\").get(\"container\")),Object(GS[\"isString\"])(r)&&(r=document.getElementById(r)),QB(n,{position:\"absolute\",visibility:\"hidden\",display:\"none\"}),r.appendChild(n),\"click\"!==e.get(\"trigger\")&&(n.addEventListener(\"mouseenter\",(function(e){QB(n,{visibility:\"visible\",display:\"unset\"})})),n.addEventListener(\"mouseleave\",(function(t){e.hideTooltip()}))),e.set(\"tooltip\",n)},t.prototype.onClick=function(e){var t=this.get(\"itemTypes\");if(!e.item||!e.item.getType||-1!==t.indexOf(e.item.getType())){var n=e.item,r=this.get(\"graph\");this.currentTarget===n?(this.currentTarget=null,this.hideTooltip(),r.emit(\"tooltipchange\",{item:e.item,action:\"hide\"})):(this.currentTarget=n,this.showTooltip(e),r.emit(\"tooltipchange\",{item:e.item,action:\"show\"}))}},t.prototype.onMouseEnter=function(e){var t=this.get(\"itemTypes\");if(!e.item||!e.item.getType||-1!==t.indexOf(e.item.getType())){var n=e.item,r=this.get(\"graph\");this.currentTarget=n,this.showTooltip(e),r.emit(\"tooltipchange\",{item:e.item,action:\"show\"})}},t.prototype.onMouseMove=function(e){var t=this.get(\"itemTypes\");e.item&&e.item.getType&&-1===t.indexOf(e.item.getType())||this.currentTarget&&e.item===this.currentTarget&&this.showTooltip(e)},t.prototype.onMouseLeave=function(){this.hideTooltip();var e=this.get(\"graph\");e.emit(\"tooltipchange\",{item:this.currentTarget,action:\"hide\"}),this.currentTarget=null},t.prototype.clearContainer=function(){var e=this.get(\"tooltip\");e&&(e.innerHTML=\"\")},t.prototype.showTooltip=function(e){if(e.item){var t=this.get(\"itemTypes\");if(!e.item.getType||-1!==t.indexOf(e.item.getType())){var n=this.get(\"tooltip\"),r=this.get(\"getContent\"),o=r(e);Object(GS[\"isString\"])(o)?n.innerHTML=o:(this.clearContainer(),n.appendChild(o)),this.updatePosition(e)}}},t.prototype.hideTooltip=function(){var e=this.get(\"tooltip\");e&&QB(e,{visibility:\"hidden\",display:\"none\"})},t.prototype.updatePosition=function(e){var t=this.get(\"shouldBegin\"),n=this.get(\"tooltip\");if(t(e)){var r=this.get(\"graph\"),o=r.get(\"width\"),i=r.get(\"height\"),a=this.get(\"offsetX\")||0,c=this.get(\"offsetY\")||0,u=r.getPointByClient(e.clientX,e.clientY),s=this.get(\"fixToNode\"),l=e.item;if(l.getType&&\"node\"===l.getType()&&s&&Object(GS[\"isArray\"])(s)&&s.length>=2){var f=l.getBBox();u={x:f.minX+f.width*s[0],y:f.minY+f.height*s[1]}}var d=r.getCanvasByPoint(u.x,u.y),h=d.x,p=d.y,v=r.getContainer(),g={x:h+v.offsetLeft+a,y:p+v.offsetTop+c};QB(n,{visibility:\"visible\",display:\"unset\"});var m=n.getBoundingClientRect();h+m.width+a>o&&(g.x-=m.width+a),p+m.height+c>i&&(g.y-=m.height+c),QB(n,{left:\"\".concat(g.x,\"px\"),top:\"\".concat(g.y,\"px\")})}else QB(n,{visibility:\"hidden\",display:\"none\"})},t.prototype.hide=function(){this.onMouseLeave()},t.prototype.destroy=function(){var e=this.get(\"tooltip\");if(e){var t=this.get(\"container\");t||(t=this.get(\"graph\").get(\"container\")),Object(GS[\"isString\"])(t)&&(t=document.getElementById(t)),t.removeChild(e)}},t}(Yz),NU=AU,TU={};function IU(e){return TU[e]}function PU(e,t){TU[e]=t}var LU=function(){function e(e){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__=e,this.initCfg(),this.init()}return e.prototype.translate=function(e){return e},e.prototype.change=function(e){Object(GS[\"assign\"])(this.__cfg__,e),this.init()},e.prototype.clone=function(){return this.constructor(this.__cfg__)},e.prototype.getTicks=function(){var e=this;return Object(GS[\"map\"])(this.ticks,(function(t,n){return Object(GS[\"isObject\"])(t)?t:{text:e.getText(t,n),tickValue:t,value:e.scale(t)}}))},e.prototype.getText=function(e,t){var n=this.formatter,r=n?n(e,t):e;return Object(GS[\"isNil\"])(r)||!Object(GS[\"isFunction\"])(r.toString)?\"\":r.toString()},e.prototype.getConfig=function(e){return this.__cfg__[e]},e.prototype.init=function(){Object(GS[\"assign\"])(this,this.__cfg__),this.setDomain(),Object(GS[\"isEmpty\"])(this.getConfig(\"ticks\"))&&(this.ticks=this.calculateTicks())},e.prototype.initCfg=function(){},e.prototype.setDomain=function(){},e.prototype.calculateTicks=function(){var e=this.tickMethod,t=[];if(Object(GS[\"isString\"])(e)){var n=IU(e);if(!n)throw new Error(\"There is no method to to calculate ticks!\");t=n(this)}else Object(GS[\"isFunction\"])(e)&&(t=e(this));return t},e.prototype.rangeMin=function(){return this.range[0]},e.prototype.rangeMax=function(){return this.range[1]},e.prototype.calcPercent=function(e,t,n){return Object(GS[\"isNumber\"])(e)?(e-t)/(n-t):NaN},e.prototype.calcValue=function(e,t,n){return t+e*(n-t)},e}(),DU=LU,RU=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"cat\",t.isCategory=!0,t}return Object(US[\"__extends\"])(t,e),t.prototype.buildIndexMap=function(){if(!this.translateIndexMap){this.translateIndexMap=new Map;for(var e=0;e<this.values.length;e++)this.translateIndexMap.set(this.values[e],e)}},t.prototype.translate=function(e){this.buildIndexMap();var t=this.translateIndexMap.get(e);return void 0===t&&(t=Object(GS[\"isNumber\"])(e)?e:NaN),t},t.prototype.scale=function(e){var t=this.translate(e),n=this.calcPercent(t,this.min,this.max);return this.calcValue(n,this.rangeMin(),this.rangeMax())},t.prototype.invert=function(e){var t=this.max-this.min,n=this.calcPercent(e,this.rangeMin(),this.rangeMax()),r=Math.round(t*n)+this.min;return r<this.min||r>this.max?NaN:this.values[r]},t.prototype.getText=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=t;return Object(GS[\"isNumber\"])(t)&&!this.values.includes(t)&&(o=this.values[o]),e.prototype.getText.apply(this,Object(US[\"__spreadArrays\"])([o],n))},t.prototype.initCfg=function(){this.tickMethod=\"cat\"},t.prototype.setDomain=function(){if(Object(GS[\"isNil\"])(this.getConfig(\"min\"))&&(this.min=0),Object(GS[\"isNil\"])(this.getConfig(\"max\"))){var e=this.values.length;this.max=e>1?e-1:e}this.translateIndexMap&&(this.translateIndexMap=void 0)},t}(DU),FU=RU,BU=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\\1?|[aA]|\"[^\"]*\"|'[^']*'/g,zU=\"\\\\d\\\\d?\",UU=\"\\\\d\\\\d\",GU=\"\\\\d{3}\",VU=\"\\\\d{4}\",WU=\"[^\\\\s]+\",HU=/\\[([^]*?)\\]/gm;function YU(e,t){for(var n=[],r=0,o=e.length;r<o;r++)n.push(e[r].substr(0,t));return n}var XU=function(e){return function(t,n){var r=n[e].map((function(e){return e.toLowerCase()})),o=r.indexOf(t.toLowerCase());return o>-1?o:null}};function qU(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++){var i=o[r];for(var a in i)e[a]=i[a]}return e}var KU=[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],ZU=[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],$U=YU(ZU,3),QU=YU(KU,3),JU={dayNamesShort:QU,dayNames:KU,monthNamesShort:$U,monthNames:ZU,amPm:[\"am\",\"pm\"],DoFn:function(e){return e+[\"th\",\"st\",\"nd\",\"rd\"][e%10>3?0:(e-e%10!==10?1:0)*e%10]}},eG=qU({},JU),tG=function(e){return eG=qU(eG,e)},nG=function(e){return e.replace(/[|\\\\{()[^$+*?.-]/g,\"\\\\$&\")},rG=function(e,t){void 0===t&&(t=2),e=String(e);while(e.length<t)e=\"0\"+e;return e},oG={D:function(e){return String(e.getDate())},DD:function(e){return rG(e.getDate())},Do:function(e,t){return t.DoFn(e.getDate())},d:function(e){return String(e.getDay())},dd:function(e){return rG(e.getDay())},ddd:function(e,t){return t.dayNamesShort[e.getDay()]},dddd:function(e,t){return t.dayNames[e.getDay()]},M:function(e){return String(e.getMonth()+1)},MM:function(e){return rG(e.getMonth()+1)},MMM:function(e,t){return t.monthNamesShort[e.getMonth()]},MMMM:function(e,t){return t.monthNames[e.getMonth()]},YY:function(e){return rG(String(e.getFullYear()),4).substr(2)},YYYY:function(e){return rG(e.getFullYear(),4)},h:function(e){return String(e.getHours()%12||12)},hh:function(e){return rG(e.getHours()%12||12)},H:function(e){return String(e.getHours())},HH:function(e){return rG(e.getHours())},m:function(e){return String(e.getMinutes())},mm:function(e){return rG(e.getMinutes())},s:function(e){return String(e.getSeconds())},ss:function(e){return rG(e.getSeconds())},S:function(e){return String(Math.round(e.getMilliseconds()/100))},SS:function(e){return rG(Math.round(e.getMilliseconds()/10),2)},SSS:function(e){return rG(e.getMilliseconds(),3)},a:function(e,t){return e.getHours()<12?t.amPm[0]:t.amPm[1]},A:function(e,t){return e.getHours()<12?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase()},ZZ:function(e){var t=e.getTimezoneOffset();return(t>0?\"-\":\"+\")+rG(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)},Z:function(e){var t=e.getTimezoneOffset();return(t>0?\"-\":\"+\")+rG(Math.floor(Math.abs(t)/60),2)+\":\"+rG(Math.abs(t)%60,2)}},iG=function(e){return+e-1},aG=[null,zU],cG=[null,WU],uG=[\"isPm\",WU,function(e,t){var n=e.toLowerCase();return n===t.amPm[0]?0:n===t.amPm[1]?1:null}],sG=[\"timezoneOffset\",\"[^\\\\s]*?[\\\\+\\\\-]\\\\d\\\\d:?\\\\d\\\\d|[^\\\\s]*?Z?\",function(e){var t=(e+\"\").match(/([+-]|\\d\\d)/gi);if(t){var n=60*+t[1]+parseInt(t[2],10);return\"+\"===t[0]?n:-n}return 0}],lG={D:[\"day\",zU],DD:[\"day\",UU],Do:[\"day\",zU+WU,function(e){return parseInt(e,10)}],M:[\"month\",zU,iG],MM:[\"month\",UU,iG],YY:[\"year\",UU,function(e){var t=new Date,n=+(\"\"+t.getFullYear()).substr(0,2);return+(\"\"+(+e>68?n-1:n)+e)}],h:[\"hour\",zU,void 0,\"isPm\"],hh:[\"hour\",UU,void 0,\"isPm\"],H:[\"hour\",zU],HH:[\"hour\",UU],m:[\"minute\",zU],mm:[\"minute\",UU],s:[\"second\",zU],ss:[\"second\",UU],YYYY:[\"year\",VU],S:[\"millisecond\",\"\\\\d\",function(e){return 100*+e}],SS:[\"millisecond\",UU,function(e){return 10*+e}],SSS:[\"millisecond\",GU],d:aG,dd:aG,ddd:cG,dddd:cG,MMM:[\"month\",WU,XU(\"monthNamesShort\")],MMMM:[\"month\",WU,XU(\"monthNames\")],a:uG,A:uG,ZZ:sG,Z:sG},fG={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\"},dG=function(e){return qU(fG,e)},hG=function(e,t,n){if(void 0===t&&(t=fG[\"default\"]),void 0===n&&(n={}),\"number\"===typeof e&&(e=new Date(e)),\"[object Date]\"!==Object.prototype.toString.call(e)||isNaN(e.getTime()))throw new Error(\"Invalid Date pass to format\");t=fG[t]||t;var r=[];t=t.replace(HU,(function(e,t){return r.push(t),\"@@@\"}));var o=qU(qU({},eG),n);return t=t.replace(BU,(function(t){return oG[t](e,o)})),t.replace(/@@@/g,(function(){return r.shift()}))};function pG(e,t,n){if(void 0===n&&(n={}),\"string\"!==typeof t)throw new Error(\"Invalid format in fecha parse\");if(t=fG[t]||t,e.length>1e3)return null;var r=new Date,o={year:r.getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},i=[],a=[],c=t.replace(HU,(function(e,t){return a.push(nG(t)),\"@@@\"})),u={},s={};c=nG(c).replace(BU,(function(e){var t=lG[e],n=t[0],r=t[1],o=t[3];if(u[n])throw new Error(\"Invalid format. \"+n+\" specified twice in format\");return u[n]=!0,o&&(s[o]=!0),i.push(t),\"(\"+r+\")\"})),Object.keys(s).forEach((function(e){if(!u[e])throw new Error(\"Invalid format. \"+e+\" is required in specified format\")})),c=c.replace(/@@@/g,(function(){return a.shift()}));var l=e.match(new RegExp(c,\"i\"));if(!l)return null;for(var f,d=qU(qU({},eG),n),h=1;h<l.length;h++){var p=i[h-1],v=p[0],g=p[2],m=g?g(l[h],d):+l[h];if(null==m)return null;o[v]=m}if(1===o.isPm&&null!=o.hour&&12!==+o.hour?o.hour=+o.hour+12:0===o.isPm&&12===+o.hour&&(o.hour=0),null==o.timezoneOffset){f=new Date(o.year,o.month,o.day,o.hour,o.minute,o.second,o.millisecond);for(var y=[[\"month\",\"getMonth\"],[\"day\",\"getDate\"],[\"hour\",\"getHours\"],[\"minute\",\"getMinutes\"],[\"second\",\"getSeconds\"]],b=(h=0,y.length);h<b;h++)if(u[y[h][0]]&&o[y[h][0]]!==f[y[h][1]]())return null}else if(f=new Date(Date.UTC(o.year,o.month,o.day,o.hour,o.minute-o.timezoneOffset,o.second,o.millisecond)),o.month>11||o.month<0||o.day>31||o.day<1||o.hour>23||o.hour<0||o.minute>59||o.minute<0||o.second>59||o.second<0)return null;return f}var vG={format:hG,parse:pG,defaultI18n:JU,setGlobalDateI18n:tG,setGlobalDateMasks:dG},gG=vG,mG=function(e){return function(t,n,r,o){var i=Object(GS[\"isNil\"])(r)?0:r,a=Object(GS[\"isNil\"])(o)?t.length:o;while(i<a){var c=i+a>>>1;e(t[c])>n?a=c:i=c+1}return i}},yG=\"format\";function bG(e,t){var n=x[yG]||gG[yG];return n(e,t)}function xG(e){return Object(GS[\"isString\"])(e)&&(e=e.indexOf(\"T\")>0?new Date(e).getTime():new Date(e.replace(/-/gi,\"/\")).getTime()),Object(GS[\"isDate\"])(e)&&(e=e.getTime()),e}var wG=1e3,OG=60*wG,EG=60*OG,SG=24*EG,jG=31*SG,kG=365*SG,_G=[[\"HH:mm:ss\",wG],[\"HH:mm:ss\",10*wG],[\"HH:mm:ss\",30*wG],[\"HH:mm\",OG],[\"HH:mm\",10*OG],[\"HH:mm\",30*OG],[\"HH\",EG],[\"HH\",6*EG],[\"HH\",12*EG],[\"YYYY-MM-DD\",SG],[\"YYYY-MM-DD\",4*SG],[\"YYYY-WW\",7*SG],[\"YYYY-MM\",jG],[\"YYYY-MM\",4*jG],[\"YYYY-MM\",6*jG],[\"YYYY\",380*SG]];function CG(e,t,n){var r=(t-e)/n,o=mG((function(e){return e[1]}))(_G,r)-1,i=_G[o];return o<0?i=_G[0]:o>=_G.length&&(i=Object(GS[\"last\"])(_G)),i}var MG=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"timeCat\",t}return Object(US[\"__extends\"])(t,e),t.prototype.translate=function(e){e=xG(e);var t=this.values.indexOf(e);return-1===t&&(t=Object(GS[\"isNumber\"])(e)&&e<this.values.length?e:NaN),t},t.prototype.getText=function(e,t){var n=this.translate(e);if(n>-1){var r=this.values[n],o=this.formatter;return r=o?o(r,t):bG(r,this.mask),r}return e},t.prototype.initCfg=function(){this.tickMethod=\"time-cat\",this.mask=\"YYYY-MM-DD\",this.tickCount=7},t.prototype.setDomain=function(){var t=this.values;Object(GS[\"each\"])(t,(function(e,n){t[n]=xG(e)})),t.sort((function(e,t){return e-t})),e.prototype.setDomain.call(this)},t}(FU),AG=MG,NG=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isContinuous=!0,t}return Object(US[\"__extends\"])(t,e),t.prototype.scale=function(e){if(Object(GS[\"isNil\"])(e))return NaN;var t=this.rangeMin(),n=this.rangeMax(),r=this.max,o=this.min;if(r===o)return t;var i=this.getScalePercent(e);return t+i*(n-t)},t.prototype.init=function(){e.prototype.init.call(this);var t=this.ticks,n=Object(GS[\"head\"])(t),r=Object(GS[\"last\"])(t);n<this.min&&(this.min=n),r>this.max&&(this.max=r),Object(GS[\"isNil\"])(this.minLimit)||(this.min=n),Object(GS[\"isNil\"])(this.maxLimit)||(this.max=r)},t.prototype.setDomain=function(){var e=Object(GS[\"getRange\"])(this.values),t=e.min,n=e.max;Object(GS[\"isNil\"])(this.min)&&(this.min=t),Object(GS[\"isNil\"])(this.max)&&(this.max=n),this.min>this.max&&(this.min=t,this.max=n)},t.prototype.calculateTicks=function(){var t=this,n=e.prototype.calculateTicks.call(this);return this.nice||(n=Object(GS[\"filter\"])(n,(function(e){return e>=t.min&&e<=t.max}))),n},t.prototype.getScalePercent=function(e){var t=this.max,n=this.min;return(e-n)/(t-n)},t.prototype.getInvertPercent=function(e){return(e-this.rangeMin())/(this.rangeMax()-this.rangeMin())},t}(DU),TG=NG,IG=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"linear\",t.isLinear=!0,t}return Object(US[\"__extends\"])(t,e),t.prototype.invert=function(e){var t=this.getInvertPercent(e);return this.min+t*(this.max-this.min)},t.prototype.initCfg=function(){this.tickMethod=\"wilkinson-extended\",this.nice=!1},t}(TG),PG=IG;function LG(e,t){var n,r=Math.E;return n=t>=0?Math.pow(r,Math.log(t)/e):-1*Math.pow(r,Math.log(-t)/e),n}function DG(e,t){return 1===e?1:Math.log(t)/Math.log(e)}function RG(e,t,n){Object(GS[\"isNil\"])(n)&&(n=Math.max.apply(null,e));var r=n;return Object(GS[\"each\"])(e,(function(e){e>0&&e<r&&(r=e)})),r===n&&(r=n/t),r>1&&(r=1),r}var FG=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"log\",t}return Object(US[\"__extends\"])(t,e),t.prototype.invert=function(e){var t,n=this.base,r=DG(n,this.max),o=this.rangeMin(),i=this.rangeMax()-o,a=this.positiveMin;if(a){if(0===e)return 0;t=DG(n,a/n);var c=1/(r-t)*i;if(e<c)return e/c*a}else t=DG(n,this.min);var u=(e-o)/i,s=u*(r-t)+t;return Math.pow(n,s)},t.prototype.initCfg=function(){this.tickMethod=\"log\",this.base=10,this.tickCount=6,this.nice=!0},t.prototype.setDomain=function(){e.prototype.setDomain.call(this);var t=this.min;if(t<0)throw new Error(\"When you use log scale, the minimum value must be greater than zero!\");0===t&&(this.positiveMin=RG(this.values,this.base,this.max))},t.prototype.getScalePercent=function(e){var t=this.max,n=this.min;if(t===n)return 0;if(e<=0)return 0;var r,o=this.base,i=this.positiveMin;return i&&(n=1*i/o),r=e<i?e/i/(DG(o,t)-DG(o,n)):(DG(o,e)-DG(o,n))/(DG(o,t)-DG(o,n)),r},t}(TG),BG=FG,zG=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"pow\",t}return Object(US[\"__extends\"])(t,e),t.prototype.invert=function(e){var t=this.getInvertPercent(e),n=this.exponent,r=LG(n,this.max),o=LG(n,this.min),i=t*(r-o)+o,a=i>=0?1:-1;return Math.pow(i,n)*a},t.prototype.initCfg=function(){this.tickMethod=\"pow\",this.exponent=2,this.tickCount=5,this.nice=!0},t.prototype.getScalePercent=function(e){var t=this.max,n=this.min;if(t===n)return 0;var r=this.exponent,o=(LG(r,e)-LG(r,n))/(LG(r,t)-LG(r,n));return o},t}(TG),UG=zG,GG=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"time\",t}return Object(US[\"__extends\"])(t,e),t.prototype.getText=function(e,t){var n=this.translate(e),r=this.formatter;return r?r(n,t):bG(n,this.mask)},t.prototype.scale=function(t){var n=t;return(Object(GS[\"isString\"])(n)||Object(GS[\"isDate\"])(n))&&(n=this.translate(n)),e.prototype.scale.call(this,n)},t.prototype.translate=function(e){return xG(e)},t.prototype.initCfg=function(){this.tickMethod=\"time-pretty\",this.mask=\"YYYY-MM-DD\",this.tickCount=7,this.nice=!1},t.prototype.setDomain=function(){var e=this.values,t=this.getConfig(\"min\"),n=this.getConfig(\"max\");if(Object(GS[\"isNil\"])(t)&&Object(GS[\"isNumber\"])(t)||(this.min=this.translate(this.min)),Object(GS[\"isNil\"])(n)&&Object(GS[\"isNumber\"])(n)||(this.max=this.translate(this.max)),e&&e.length){var r=[],o=1/0,i=o,a=0;Object(GS[\"each\"])(e,(function(e){var t=xG(e);if(isNaN(t))throw new TypeError(\"Invalid Time: \"+e+\" in time scale!\");o>t?(i=o,o=t):i>t&&(i=t),a<t&&(a=t),r.push(t)})),e.length>1&&(this.minTickInterval=i-o),Object(GS[\"isNil\"])(t)&&(this.min=o),Object(GS[\"isNil\"])(n)&&(this.max=a)}},t}(PG),VG=GG,WG=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"quantize\",t}return Object(US[\"__extends\"])(t,e),t.prototype.invert=function(e){var t=this.ticks,n=t.length,r=this.getInvertPercent(e),o=Math.floor(r*(n-1));if(o>=n-1)return Object(GS[\"last\"])(t);if(o<0)return Object(GS[\"head\"])(t);var i=t[o],a=t[o+1],c=o/(n-1),u=(o+1)/(n-1);return i+(r-c)/(u-c)*(a-i)},t.prototype.initCfg=function(){this.tickMethod=\"r-pretty\",this.tickCount=5,this.nice=!0},t.prototype.calculateTicks=function(){var t=e.prototype.calculateTicks.call(this);return this.nice||(Object(GS[\"last\"])(t)!==this.max&&t.push(this.max),Object(GS[\"head\"])(t)!==this.min&&t.unshift(this.min)),t},t.prototype.getScalePercent=function(e){var t=this.ticks;if(e<Object(GS[\"head\"])(t))return 0;if(e>Object(GS[\"last\"])(t))return 1;var n=0;return Object(GS[\"each\"])(t,(function(t,r){if(!(e>=t))return!1;n=r})),n/(t.length-1)},t}(TG),HG=WG,YG=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"quantile\",t}return Object(US[\"__extends\"])(t,e),t.prototype.initCfg=function(){this.tickMethod=\"quantile\",this.tickCount=5,this.nice=!0},t}(HG),XG=YG,qG={};function KG(e){return qG[e]}function ZG(e,t){if(KG(e))throw new Error(\"type '\"+e+\"' existed.\");qG[e]=t}var $G=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=\"identity\",t.isIdentity=!0,t}return Object(US[\"__extends\"])(t,e),t.prototype.calculateTicks=function(){return this.values},t.prototype.scale=function(e){return this.values[0]!==e&&Object(GS[\"isNumber\"])(e)?e:this.range[0]},t.prototype.invert=function(e){var t=this.range;return e<t[0]||e>t[1]?NaN:this.values[0]},t}(DU),QG=$G;function JG(e){var t=e.values,n=e.tickInterval,r=e.tickCount,o=e.showLast;if(Object(GS[\"isNumber\"])(n)){var i=Object(GS[\"filter\"])(t,(function(e,t){return t%n===0})),a=Object(GS[\"last\"])(t);return o&&Object(GS[\"last\"])(i)!==a&&i.push(a),i}var c=t.length,u=e.min,s=e.max;if(Object(GS[\"isNil\"])(u)&&(u=0),Object(GS[\"isNil\"])(s)&&(s=t.length-1),!Object(GS[\"isNumber\"])(r)||r>=c)return t.slice(u,s+1);if(r<=0||s<=0)return[];for(var l=1===r?c:Math.floor(c/(r-1)),f=[],d=u,h=0;h<r;h++){if(d>=s)break;d=Math.min(u+h*l,s),h===r-1&&o?f.push(t[s]):f.push(t[d])}return f}function eV(e){var t=e.min,n=e.max,r=e.nice,o=e.tickCount,i=new iV;return i.domain([t,n]),r&&i.nice(o),i.ticks(o)}var tV=5,nV=Math.sqrt(50),rV=Math.sqrt(10),oV=Math.sqrt(2),iV=function(){function e(){this._domain=[0,1]}return e.prototype.domain=function(e){return e?(this._domain=Array.from(e,Number),this):this._domain.slice()},e.prototype.nice=function(e){var t,n;void 0===e&&(e=tV);var r,o=this._domain.slice(),i=0,a=this._domain.length-1,c=this._domain[i],u=this._domain[a];return u<c&&(t=[u,c],c=t[0],u=t[1],n=[a,i],i=n[0],a=n[1]),r=cV(c,u,e),r>0?(c=Math.floor(c/r)*r,u=Math.ceil(u/r)*r,r=cV(c,u,e)):r<0&&(c=Math.ceil(c*r)/r,u=Math.floor(u*r)/r,r=cV(c,u,e)),r>0?(o[i]=Math.floor(c/r)*r,o[a]=Math.ceil(u/r)*r,this.domain(o)):r<0&&(o[i]=Math.ceil(c*r)/r,o[a]=Math.floor(u*r)/r,this.domain(o)),this},e.prototype.ticks=function(e){return void 0===e&&(e=tV),aV(this._domain[0],this._domain[this._domain.length-1],e||tV)},e}();function aV(e,t,n){var r,o,i,a,c=-1;if(t=+t,e=+e,n=+n,e===t&&n>0)return[e];if((r=t<e)&&(o=e,e=t,t=o),0===(a=cV(e,t,n))||!isFinite(a))return[];if(a>0){e=Math.ceil(e/a),t=Math.floor(t/a),i=new Array(o=Math.ceil(t-e+1));while(++c<o)i[c]=(e+c)*a}else{e=Math.floor(e*a),t=Math.ceil(t*a),i=new Array(o=Math.ceil(e-t+1));while(++c<o)i[c]=(e-c)/a}return r&&i.reverse(),i}function cV(e,t,n){var r=(t-e)/Math.max(0,n),o=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,o);return o>=0?(i>=nV?10:i>=rV?5:i>=oV?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=nV?10:i>=rV?5:i>=oV?2:1)}function uV(e,t,n){var r;return r=\"ceil\"===n?Math.ceil(e/t):\"floor\"===n?Math.floor(e/t):Math.round(e/t),r*t}function sV(e,t,n){var r=uV(e,n,\"floor\"),o=uV(t,n,\"ceil\");r=Object(GS[\"fixedBase\"])(r,n),o=Object(GS[\"fixedBase\"])(o,n);for(var i=[],a=Math.max((o-r)/(Math.pow(2,12)-1),n),c=r;c<=o;c+=a){var u=Object(GS[\"fixedBase\"])(c,a);i.push(u)}return{min:r,max:o,ticks:i}}function lV(e,t,n){var r,o=e.minLimit,i=e.maxLimit,a=e.min,c=e.max,u=e.tickCount,s=void 0===u?5:u,l=Object(GS[\"isNil\"])(o)?Object(GS[\"isNil\"])(t)?a:t:o,f=Object(GS[\"isNil\"])(i)?Object(GS[\"isNil\"])(n)?c:n:i;if(l>f&&(r=[l,f],f=r[0],l=r[1]),s<=2)return[l,f];for(var d=(f-l)/(s-1),h=[],p=0;p<s;p++)h.push(l+d*p);return h}function fV(e){var t=e.min,n=e.max,r=e.tickInterval,o=e.minLimit,i=e.maxLimit,a=eV(e);return Object(GS[\"isNil\"])(o)&&Object(GS[\"isNil\"])(i)?r?sV(t,n,r).ticks:a:lV(e,Object(GS[\"head\"])(a),Object(GS[\"last\"])(a))}function dV(e){return Math.abs(e)<1e-15?e:parseFloat(e.toFixed(15))}var hV=[1,5,2,2.5,4,3],pV=100*Number.EPSILON;function vV(e,t){return(e%t+t)%t}function gV(e){return Math.round(1e12*e)/1e12}function mV(e,t,n,r,o,i){var a=Object(GS[\"size\"])(t),c=Object(GS[\"indexOf\"])(t,e),u=0,s=vV(r,i);return(s<pV||i-s<pV)&&r<=0&&o>=0&&(u=1),1-c/(a-1)-n+u}function yV(e,t,n){var r=Object(GS[\"size\"])(t),o=Object(GS[\"indexOf\"])(t,e),i=1;return 1-o/(r-1)-n+i}function bV(e,t,n,r,o,i){var a=(e-1)/(i-o),c=(t-1)/(Math.max(i,r)-Math.min(n,o));return 2-Math.max(a/c,c/a)}function xV(e,t){return e>=t?2-(e-1)/(t-1):1}function wV(e,t,n,r){var o=t-e;return 1-.5*(Math.pow(t-r,2)+Math.pow(e-n,2))/Math.pow(.1*o,2)}function OV(e,t,n){var r=t-e;if(n>r){var o=(n-r)/2;return 1-Math.pow(o,2)/Math.pow(.1*r,2)}return 1}function EV(){return 1}function SV(e,t,n,r,o,i){void 0===n&&(n=5),void 0===r&&(r=!0),void 0===o&&(o=hV),void 0===i&&(i=[.25,.2,.5,.05]);var a=n<0?0:Math.round(n);if(Number.isNaN(e)||Number.isNaN(t)||\"number\"!==typeof e||\"number\"!==typeof t||!a)return{min:0,max:0,ticks:[]};if(t-e<1e-15||1===a)return{min:e,max:t,ticks:[e]};if(t-e>1e148){var c=n||5,u=(t-e)/c;return{min:e,max:t,ticks:Array(c).fill(null).map((function(t,n){return dV(e+u*n)}))}}var s={score:-2,lmin:0,lmax:0,lstep:0},l=1;while(l<1/0){for(var f=0;f<o.length;f+=1){var d=o[f],h=yV(d,o,l);if(i[0]*h+i[1]+i[2]+i[3]<s.score){l=1/0;break}var p=2;while(p<1/0){var v=xV(p,a);if(i[0]*h+i[1]+i[2]*v+i[3]<s.score)break;var g=(t-e)/(p+1)/l/d,m=Math.ceil(Math.log10(g));while(m<1/0){var y=l*d*Math.pow(10,m),b=OV(e,t,y*(p-1));if(i[0]*h+i[1]*b+i[2]*v+i[3]<s.score)break;var x=Math.floor(t/y)*l-(p-1)*l,w=Math.ceil(e/y)*l;if(x<=w){c=w-x;for(var O=0;O<=c;O+=1){var E=x+O,S=E*(y/l),j=S+y*(p-1),k=y,_=mV(d,o,l,S,j,k),C=wV(e,t,S,j),M=bV(p,a,e,t,S,j),A=EV(),N=i[0]*_+i[1]*C+i[2]*M+i[3]*A;N>s.score&&(!r||S<=e&&j>=t)&&(s.lmin=S,s.lmax=j,s.lstep=k,s.score=N)}}m+=1}p+=1}}l+=1}var T=dV(s.lmax),I=dV(s.lmin),P=dV(s.lstep),L=Math.floor(gV((T-I)/P))+1,D=new Array(L);D[0]=dV(I);for(f=1;f<L;f++)D[f]=dV(D[f-1]+P);return{min:Math.min(e,Object(GS[\"head\"])(D)),max:Math.max(t,Object(GS[\"last\"])(D)),ticks:D}}function jV(e){var t=e.min,n=e.max,r=e.tickCount,o=e.nice,i=e.tickInterval,a=e.minLimit,c=e.maxLimit,u=SV(t,n,r,o).ticks;return Object(GS[\"isNil\"])(a)&&Object(GS[\"isNil\"])(c)?i?sV(t,n,i).ticks:u:lV(e,Object(GS[\"head\"])(u),Object(GS[\"last\"])(u))}function kV(e){var t,n=e.base,r=e.tickCount,o=e.min,i=e.max,a=e.values,c=DG(n,i);if(o>0)t=Math.floor(DG(n,o));else{var u=RG(a,n,i);t=Math.floor(DG(n,u))}for(var s=c-t,l=Math.ceil(s/r),f=[],d=t;d<c+l;d+=l)f.push(Math.pow(n,d));return o<=0&&f.unshift(0),f}function _V(e,t,n){if(void 0===n&&(n=5),e===t)return{max:t,min:e,ticks:[e]};var r=n<0?0:Math.round(n);if(0===r)return{max:t,min:e,ticks:[]};var o=1.5,i=.5+1.5*o,a=t-e,c=a/r,u=Math.pow(10,Math.floor(Math.log10(c))),s=u;2*u-c<o*(c-s)&&(s=2*u,5*u-c<i*(c-s)&&(s=5*u,10*u-c<o*(c-s)&&(s=10*u)));for(var l=Math.ceil(t/s),f=Math.floor(e/s),d=Math.max(l*s,t),h=Math.min(f*s,e),p=Math.floor((d-h)/s)+1,v=new Array(p),g=0;g<p;g++)v[g]=dV(h+g*s);return{min:h,max:d,ticks:v}}function CV(e){var t=e.exponent,n=e.tickCount,r=Math.ceil(LG(t,e.max)),o=Math.floor(LG(t,e.min)),i=_V(o,r,n).ticks;return i.map((function(e){var n=e>=0?1:-1;return Math.pow(e,t)*n}))}function MV(e,t){var n=e.length*t;return 1===t?e[e.length-1]:0===t?e[0]:n%1!==0?e[Math.ceil(n)-1]:e.length%2===0?(e[n-1]+e[n])/2:e[n]}function AV(e){var t=e.tickCount,n=e.values;if(!n||!n.length)return[];for(var r=n.slice().sort((function(e,t){return e-t})),o=[],i=0;i<t;i++){var a=i/(t-1);o.push(MV(r,a))}return o}function NV(e){var t=e.min,n=e.max,r=e.tickCount,o=e.tickInterval,i=e.minLimit,a=e.maxLimit,c=_V(t,n,r).ticks;return Object(GS[\"isNil\"])(i)&&Object(GS[\"isNil\"])(a)?o?sV(t,n,o).ticks:c:lV(e,Object(GS[\"head\"])(c),Object(GS[\"last\"])(c))}function TV(e){var t=e.min,n=e.max,r=e.minTickInterval,o=e.tickInterval,i=e.tickCount;if(o)i=Math.ceil((n-t)/o);else{o=CG(t,n,i)[1];var a=(n-t)/o,c=a/i;c>1&&(o*=Math.ceil(c)),r&&o<r&&(o=r)}o=Math.max(Math.floor((n-t)/(Math.pow(2,12)-1)),o);for(var u=[],s=t;s<n+o;s+=o)u.push(s);return u}function IV(e){var t=JG(Object(US[\"__assign\"])({showLast:!0},e));return t}function PV(e){return new Date(e).getFullYear()}function LV(e){return new Date(e,0,1).getTime()}function DV(e){return new Date(e).getMonth()}function RV(e,t){var n=PV(e),r=PV(t),o=DV(e),i=DV(t);return 12*(r-n)+(i-o)%12}function FV(e,t){return new Date(e,t,1).getTime()}function BV(e,t){return Math.ceil((t-e)/SG)}function zV(e,t){return Math.ceil((t-e)/EG)}function UV(e,t){return Math.ceil((t-e)/6e4)}function GV(e){var t=e.min,n=e.max,r=e.minTickInterval,o=e.tickCount,i=e.tickInterval,a=[];i||(i=(n-t)/o,r&&i<r&&(i=r)),i=Math.max(Math.floor((n-t)/(Math.pow(2,12)-1)),i);var c=PV(t);if(i>kG)for(var u=PV(n),s=Math.ceil(i/kG),l=c;l<=u+s;l+=s)a.push(LV(l));else if(i>jG){var f=Math.ceil(i/jG),d=DV(t),h=RV(t,n);for(l=0;l<=h+f;l+=f)a.push(FV(c,l+d))}else if(i>SG){var p=new Date(t),v=p.getFullYear(),g=p.getMonth(),m=p.getDate(),y=Math.ceil(i/SG),b=BV(t,n);for(l=0;l<b+y;l+=y)a.push(new Date(v,g,m+l).getTime())}else if(i>EG){p=new Date(t),v=p.getFullYear(),g=p.getMonth(),y=p.getDate();var x=p.getHours(),w=Math.ceil(i/EG),O=zV(t,n);for(l=0;l<=O+w;l+=w)a.push(new Date(v,g,y,x+l).getTime())}else if(i>OG){var E=UV(t,n),S=Math.ceil(i/OG);for(l=0;l<=E+S;l+=S)a.push(t+l*OG)}else{var j=i;j<wG&&(j=wG);var k=Math.floor(t/wG)*wG,_=Math.ceil((n-t)/wG),C=Math.ceil(j/wG);for(l=0;l<_+C;l+=C)a.push(k+l*wG)}return a.length>=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 '+i+\") is too small, increase the value to solve the problem!\"),a}PU(\"cat\",JG),PU(\"time-cat\",IV),PU(\"wilkinson-extended\",jV),PU(\"r-pretty\",NV),PU(\"time\",TV),PU(\"time-pretty\",GV),PU(\"log\",kV),PU(\"pow\",CV),PU(\"quantile\",AV),PU(\"d3-linear\",fV),ZG(\"cat\",FU),ZG(\"category\",FU),ZG(\"identity\",QG),ZG(\"linear\",PG),ZG(\"log\",BG),ZG(\"pow\",UG),ZG(\"time\",VG),ZG(\"timeCat\",AG),ZG(\"quantize\",HG),ZG(\"quantile\",XG);var VV=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function WV(e){return Object(GS[\"map\"])(e,(function(e,t){var n=0===t?\"M\":\"L\",r=e[0],o=e[1];return[n,r,o]}))}function HV(e){return WV(e)}function YV(e){if(e.length<=2)return HV(e);var t=[];Object(GS[\"each\"])(e,(function(e){Object(GS[\"isEqual\"])(e,t.slice(t.length-2))||t.push(e[0],e[1])}));var n=FI(t,!1),r=Object(GS[\"head\"])(e),o=r[0],i=r[1];return n.unshift([\"M\",o,i]),n}function XV(e,t,n,r){void 0===r&&(r=!0);var o=new PG({values:e}),i=new FU({values:Object(GS[\"map\"])(e,(function(e,t){return t}))}),a=Object(GS[\"map\"])(e,(function(e,r){return[i.scale(r)*t,n-o.scale(e)*n]}));return r?YV(a):HV(a)}function qV(e,t,n,r){void 0===r&&(r=5);for(var o=new PG({values:e}),i=new FU({values:Object(GS[\"map\"])(e,(function(e,t){return t}))}),a=Object(GS[\"map\"])(e,(function(e,r){return[i.scale(r)*t,n-o.scale(e)*n]})),c=[],u=0;u<a.length;u++){var s=a[u],l={x:s[0],y:s[1],y0:n,size:r},f=$V(l);c.push.apply(c,f)}return QV(c)}function KV(e,t){var n=new PG({values:e}),r=Math.max(0,n.min);return t-n.scale(r)*t}function ZV(e,t,n,r){var o=VV([],e,!0),i=KV(r,n);return o.push([\"L\",t,i]),o.push([\"L\",0,i]),o.push([\"Z\"]),o}function $V(e){var t,n,r,o,i=e.x,a=e.y,c=e.y0,u=e.size;Object(GS[\"isArray\"])(a)?(t=a[0],n=a[1]):(t=c,n=a),Object(GS[\"isArray\"])(i)?(r=i[0],o=i[1]):(r=i-u/2,o=i+u/2);var s=[{x:r,y:t},{x:r,y:n}];return s.push({x:o,y:n},{x:o,y:t}),s}function QV(e,t){void 0===t&&(t=!0);var n=[],r=e[0];n.push([\"M\",r.x,r.y]);for(var o=1,i=e.length;o<i;o++)n.push([\"L\",e[o].x,e[o].y]);return t&&(n.push([\"L\",r.x,r.y]),n.push([\"z\"])),n}var JV=function(){return JV=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},JV.apply(this,arguments)},eW={stroke:\"#C5C5C5\",strokeOpacity:.85},tW={fill:\"#CACED4\",opacity:.85},nW=function(){function e(e){var t=e.x,n=void 0===t?0:t,r=e.y,o=void 0===r?0:r,i=e.width,a=void 0===i?200:i,c=e.height,u=void 0===c?26:c,s=e.smooth,l=void 0===s||s,f=e.isArea,d=void 0!==f&&f,h=e.data,p=void 0===h?[]:h,v=e.lineStyle,g=e.areaStyle,m=e.group,y=e.interval,b=void 0===y?null:y;this.group=m,this.x=n,this.y=o,this.width=a,this.height=u,this.data=p,this.smooth=l,this.isArea=d,this.lineStyle=Object.assign({},eW,v),this.areaStyle=Object.assign({},tW,g),this.intervalConfig=b,this.renderLine()}return e.prototype.renderLine=function(){var e=this,t=e.x,n=e.y,r=e.width,o=e.height,i=(e.barWidth,e.data),a=e.smooth,c=e.isArea,u=e.lineStyle,s=e.areaStyle,l=this.group.addGroup({name:\"trend-group\"});if(i){var f=XV(i,r,o,a);if(l.addShape(\"path\",{attrs:JV({path:f},u),name:\"trend-line\"}),c){var d=ZV(f,r,o,i);l.addShape(\"path\",{attrs:JV({path:d},s),name:\"trend-area\"})}}this.intervalConfig&&l.addShape(\"path\",{attrs:JV({path:qV(this.intervalConfig.data,r,o,this.intervalConfig.style.barWidth)},this.intervalConfig.style),name:\"trend-interval\"}),l.move(t,n)},e.prototype.destory=function(){this.group.destroy()},e}(),rW=nW,oW=function(){return oW=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},oW.apply(this,arguments)},iW={fill:\"#1890ff\",stroke:\"#1890ff\",type:\"trend\",radius:2,opacity:1,cursor:\"ew-resize\",highLightFill:\"#0050b3\"},aW={fill:\"#fff\",stroke:\"#1890ff\",radius:2,opacity:1,cursor:\"ew-resize\"},cW=function(){function e(e){var t=e.group,n=e.name,r=e.type,o=e.x,i=void 0===o?0:o,a=e.y,c=void 0===a?0:a,u=e.width,s=void 0===u?2:u,l=e.height,f=void 0===l?24:l,d=e.style,h=void 0===d?{}:d;this.group=t,this.name=n,this.handleType=r,this.x=i,this.y=c,this.width=s,this.height=f,\"trend\"===r?this.style=oW(oW({},iW),h):\"simple\"===r&&(this.style=oW(oW({},aW),h)),this.renderHandle()}return e.prototype.setX=function(e){this.setXY(e,void 0)},e.prototype.setY=function(e){this.setXY(void 0,e)},e.prototype.setXY=function(e,t){Object(GS[\"isNumber\"])(e)&&(this.x=e),Object(GS[\"isNumber\"])(t)&&(this.y=t),this.updateXY()},e.prototype.renderHandle=function(){var e=this,t=e.width,n=e.height,r=e.style,o=e.name,i=r.fill,a=r.stroke,c=r.radius,u=r.opacity,s=r.cursor;this.handleGroup=this.group.addGroup(),\"trend\"===this.handleType?(this.verticalLine=this.handleGroup.addShape(\"rect\",{attrs:{x:0,y:0,width:t,height:n,fill:i,stroke:a,radius:c,opacity:u,cursor:s},name:\"\".concat(o,\"-handler\")}),this.topCircle=this.handleGroup.addShape(\"circle\",{attrs:{x:t/2,y:0,r:2*t,fill:i,stroke:a,radius:c,opacity:u,cursor:s,lineAppendWidth:12},name:\"\".concat(o,\"-handler\")}),this.bottomCircle=this.handleGroup.addShape(\"circle\",{attrs:{x:t/2,y:n,r:2*t,fill:i,stroke:a,radius:c,opacity:u,cursor:s},name:\"\".concat(o,\"-handler\")})):\"simple\"===this.handleType&&(this.topCircle=this.handleGroup.addShape(\"circle\",{attrs:{x:t/2,y:n/2,r:2*t,fill:i,stroke:a,radius:c,opacity:u,cursor:s,lineWidth:2},name:\"\".concat(o,\"-handler\")})),this.updateXY(),\"trend\"===this.handleType?this.bindTrendEvents():\"simple\"===this.handleType&&this.bindSimpleEvents()},e.prototype.bindSimpleEvents=function(){var e=this,t=this.name;this.handleGroup.on(\"\".concat(t,\"-handler:mouseenter\"),(function(){var t=e.style.highLightFill;e.topCircle.attr(\"fill\",t)})),this.handleGroup.on(\"\".concat(t,\"-handler:mouseleave\"),(function(){var t=e.style.fill;e.topCircle.attr(\"fill\",t)}))},e.prototype.bindTrendEvents=function(){var e=this,t=this.name;this.handleGroup.on(\"\".concat(t,\"-handler:mouseenter\"),(function(){var t=e.style.highLightFill;e.verticalLine.attr(\"fill\",t),e.topCircle.attr(\"fill\",t),e.bottomCircle.attr(\"fill\",t)})),this.handleGroup.on(\"\".concat(t,\"-handler:mouseleave\"),(function(){var t=e.style.fill;e.verticalLine.attr(\"fill\",t),e.topCircle.attr(\"fill\",t),e.bottomCircle.attr(\"fill\",t)}))},e.prototype.show=function(){this.handleGroup.show()},e.prototype.hide=function(){this.handleGroup.hide()},e.prototype.updateXY=function(){this.handleGroup.setMatrix([1,0,0,0,1,0,this.x,this.y,1])},e}(),uW=cW,sW=\"timebarstartplay\",lW=\"timebarendplay\",fW=\"valuechange\",dW=\"timebarConfigChanged\",hW=\"playPauseBtn\",pW=\"nextStepBtn\",vW=\"preStepBtn\",gW=function(){return gW=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},gW.apply(this,arguments)},mW=function(){function e(e){this.config=Object(GS[\"deepMix\"])({},e),this.init()}return e.prototype.update=function(e){this.config=Object(GS[\"deepMix\"])({},this.config,e),this.updateElement(),this.renderMarker()},e.prototype.init=function(){this.initElement(),this.renderMarker()},e.prototype.initElement=function(){var e=this.config,t=e.group,n=e.style,r=n.scale,o=void 0===r?1:r,i=n.offsetX,a=void 0===i?0:i,c=n.offsetY,u=void 0===c?0:c,s=this.config.x+a,l=this.config.y+u,f=t.addGroup({name:hW});this.startMarkerGroup=f.addGroup({name:hW}),this.circle=t.addShape(\"circle\",{attrs:gW({x:s,y:l,r:this.config.r*o},n),name:hW}),this.startMarker=this.startMarkerGroup.addShape(\"path\",{attrs:{path:this.getStartMarkerPath(s,l,o),fill:n.stroke||\"#aaa\"},name:\"start-marker\"}),this.pauseMarkerGroup=f.addGroup({name:hW});var d=.25*this.config.r*o,h=.5*this.config.r*Math.sqrt(3)*o;this.pauseLeftMarker=this.pauseMarkerGroup.addShape(\"rect\",{attrs:{x:s-.375*this.config.r*o,y:l-h/2,width:d,height:h,fill:n.stroke||\"#aaa\",lineWidth:0}}),this.pauseRightMarker=this.pauseMarkerGroup.addShape(\"rect\",{attrs:{x:s+1/8*this.config.r*o,y:l-h/2,width:d,height:h,fill:n.stroke||\"#aaa\",lineWidth:0}})},e.prototype.updateElement=function(){var e=this.config.style,t=e.scale,n=void 0===t?1:t,r=e.offsetX,o=void 0===r?0:r,i=e.offsetY,a=void 0===i?0:i,c=this.config.x+o,u=this.config.y+a;this.circle.attr(\"x\",c),this.circle.attr(\"y\",u),this.circle.attr(\"r\",this.config.r*n),this.startMarker.attr(\"path\",this.getStartMarkerPath(c,u,n));var s=.25*this.config.r*n,l=.5*this.config.r*Math.sqrt(3)*n;this.pauseLeftMarker.attr(\"x\",c-.375*this.config.r*n),this.pauseLeftMarker.attr(\"y\",u-l/2),this.pauseLeftMarker.attr(\"width\",s),this.pauseLeftMarker.attr(\"height\",l),this.pauseRightMarker.attr(\"x\",c+1/8*this.config.r*n),this.pauseRightMarker.attr(\"y\",u-l/2),this.pauseRightMarker.attr(\"width\",s),this.pauseRightMarker.attr(\"height\",l)},e.prototype.renderMarker=function(){this.config.isPlay?(this.startMarkerGroup.hide(),this.pauseMarkerGroup.show()):(this.startMarkerGroup.show(),this.pauseMarkerGroup.hide())},e.prototype.getStartMarkerPath=function(e,t,n){var r=.5*this.config.r*Math.sqrt(3)*n;return[[\"M\",e-r/Math.sqrt(3)/2,t-r/2],[\"L\",e+r/Math.sqrt(3),t],[\"L\",e-r/Math.sqrt(3)/2,t+r/2]]},e}(),yW=mW,bW=function(){return bW=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},bW.apply(this,arguments)},xW=o.transform,wW=\"#aaa\",OW=\"green\",EW={fill:\"#aaa\",fillOpacity:.35,stroke:\"#aaa\"},SW={fill:\"#fff\"},jW={fill:\"green\"},kW={pointer:{fill:\"#aaa\",lineWidth:0},scroller:{stroke:\"#aaa\",fill:\"#aaa\",lineWidth:1,lineAppendWidth:5,cursor:\"pointer\"},text:{fill:\"#aaa\",textBaseline:\"top\"}},_W={check:{stroke:\"green\",lineWidth:3},box:{fill:\"#fff\",stroke:\"#aaa\",lineWidth:2,radius:3,width:12,height:12},text:{fill:\"#aaa\",fontSize:12,textBaseline:\"top\"}},CW={speed:1,loop:!1,fill:\"#fff\",stroke:\"#fff\",hideTimeTypeController:!1,preBtnStyle:{fill:\"#aaa\",stroke:\"#aaa\"},nextBtnStyle:{fill:\"#aaa\",stroke:\"#aaa\"},playBtnStyle:{fill:\"#aaa\",stroke:\"#aaa\",fillOpacity:.05},speedControllerStyle:kW,timeTypeControllerStyle:_W},MW=110,AW=50,NW={SINGLE:\"single\",RANGE:\"range\"},TW=function(){function e(e){this.controllerCfg=Object(GS[\"deepMix\"])({},CW,e),this.group=e.group,this.controllerGroup=this.group.addGroup({name:\"controller-group\"}),this.speedAxisY=[],this.currentSpeed=this.controllerCfg.speed,this.currentType=this.controllerCfg.defaultTimeType||NW.RANGE,this.fontFamily=e.fontFamily||\"Arial, sans-serif\",this.init()}return e.prototype.init=function(){this.renderPlayButton()},e.prototype.getNextMarkerPath=function(e,t,n){return[[\"M\",e,t-n],[\"L\",e+n,t],[\"L\",e,t+n],[\"Z\",e,t-n],[\"M\",e,t],[\"L\",e-n,t-n],[\"L\",e-n,t+n],[\"Z\"]]},e.prototype.getPreMarkerPath=function(e,t,n){return[[\"M\",e,t-n],[\"L\",e-n,t],[\"L\",e,t+n],[\"L\",e,t-n],[\"M\",e,t],[\"L\",e+n,t-n],[\"L\",e+n,t+n],[\"Z\"]]},e.prototype.renderPlayButton=function(){var e=this.controllerCfg,t=e.width,n=e.height,r=e.x,o=e.y,i=e.hideTimeTypeController,a=e.fill,c=void 0===a?wW:a,u=e.stroke,s=void 0===u?OW:u,l=e.containerStyle,f=void 0===l?{}:l,d=bW(bW({},EW),e.playBtnStyle||{}),h=bW(bW({},SW),e.preBtnStyle||{}),p=bW(bW({},jW),e.nextBtnStyle||{}),v=n/2-5,g=o+10,m=this.controllerGroup.addShape(\"rect\",{attrs:bW({x:r,y:g,width:t,height:n,stroke:s,fill:c},f),name:\"container-rect\"});this.playButton?this.playButton.update({x:t/2,y:g,r:v}):this.playButton=new yW({group:this.controllerGroup,x:t/2,y:g+v+5,r:v,isPlay:this.isPlay,style:d});var y=h.offsetX||0,b=h.offsetY||0,x=(h.scale||1)*v;this.controllerGroup.addShape(\"path\",{attrs:bW({path:this.getPreMarkerPath(t/2-5*v+y,g+v+5+b,.5*x)},h),name:vW});var w=p.offsetX||0,O=p.offsetY||0,E=(p.scale||1)*v;this.controllerGroup.addShape(\"path\",{attrs:bW({path:this.getNextMarkerPath(t/2+5*v+w,g+v+5+O,.5*E)},p),name:pW}),m.toBack(),this.renderSpeedBtn(),i||this.renderToggleTime(),this.bindEvent();var S=this.controllerCfg.scale,j=void 0===S?1:S,k=this.controllerGroup.getCanvasBBox(),_=(k.maxX+k.minX)/2,C=(k.maxY+k.minY)/2,M=xW([1,0,0,0,1,0,0,0,1],[[\"t\",-_,-C],[\"s\",j,j],[\"t\",_,C]]);this.controllerGroup.setMatrix(M)},e.prototype.renderSpeedBtn=function(){var e=this.controllerCfg,t=e.y,n=e.width,r=e.hideTimeTypeController,o=bW(bW({},kW),this.controllerCfg.speedControllerStyle||{}),i=o.scroller,a=void 0===i?{}:i,c=o.text,u=void 0===c?{}:c,s=o.pointer,l=void 0===s?{}:s,f=o.scale,d=void 0===f?1:f,h=o.offsetX,p=void 0===h?0:h,v=o.offsetY,g=void 0===v?0:v,m=this.controllerGroup.addGroup({name:\"speed-group\"});this.speedGroup=m;var y=[],b=5;this.speedAxisY=[19,22,26,32,39];for(var x=0;x<5;x++){var w=t+this.speedAxisY[x],O=n-(r?AW:MW);m.addShape(\"line\",{attrs:bW({x1:O,x2:O+15,y1:w,y2:w},a),speed:b,name:\"speed-rect\"}),this.speedAxisY[x]=w,y.push(b),b-=1}this.speedText=m.addShape(\"text\",{attrs:bW({x:n-(r?AW:MW)+20,y:this.speedAxisY[0]+4,text:\"1.0X\",fontFamily:this.fontFamily||\"Arial, sans-serif\"},u),name:\"speed-text\"}),this.speedPoint=m.addShape(\"path\",{attrs:bW({path:this.getPointerPath(n-(r?AW:MW),0),matrix:[1,0,0,0,1,0,0,this.speedAxisY[4],1]},l),name:\"speed-pointer\"});var E=this.speedGroup.getCanvasBBox(),S=(E.maxX+E.minX)/2,j=(E.maxY+E.minY)/2,k=this.speedGroup.getMatrix()||[1,0,0,0,1,0,0,0,1];k=xW(k,[[\"t\",-S,-j],[\"s\",d,d],[\"t\",S+p*d,j+g*d]]),this.speedGroup.setMatrix(k)},e.prototype.getPointerPath=function(e,t){return[[\"M\",e,t],[\"L\",e-10,t-4],[\"L\",e-10,t+4],[\"Z\"]]},e.prototype.renderToggleTime=function(){var e,t,n=this.controllerCfg,r=n.width,o=n.defaultTimeType,i=bW(bW({},_W),this.controllerCfg.timeTypeControllerStyle||{}),a=i.scale,c=void 0===a?1:a,u=i.offsetX,s=void 0===u?0:u,l=i.offsetY,f=void 0===l?0:l,d=i.box,h=void 0===d?{}:d,p=i.check,v=void 0===p?{}:p,g=i.text,m=void 0===g?{}:g;this.toggleGroup=this.controllerGroup.addGroup({name:\"toggle-group\"});var y=o===NW.SINGLE;this.toggleGroup.addShape(\"rect\",{attrs:bW({x:r-AW,y:this.speedAxisY[0]+3.5},h),isChecked:y,name:\"toggle-model\"}),this.checkedIcon=this.toggleGroup.addShape(\"path\",{attrs:bW({path:[[\"M\",r-AW+3,this.speedAxisY[1]+6],[\"L\",r-AW+7,this.speedAxisY[1]+10],[\"L\",r-AW+12,this.speedAxisY[1]+4]]},v),capture:!1,name:\"check-icon\"}),y||this.checkedIcon.hide(),this.checkedText=this.toggleGroup.addShape(\"text\",{attrs:bW({text:y?(null===(e=this.controllerCfg)||void 0===e?void 0:e.timeRangeControllerText)||\"\\u65f6\\u95f4\\u8303\\u56f4\":(null===(t=this.controllerCfg)||void 0===t?void 0:t.timePointControllerText)||\"\\u5355\\u4e00\\u65f6\\u95f4\",x:r-AW+15,y:this.speedAxisY[0]+4,fontFamily:\"undefined\"!==typeof window&&window.getComputedStyle(document.body,null).getPropertyValue(\"font-family\")||\"Arial, sans-serif\"},m),name:\"checked-text\"});var b=this.toggleGroup.getCanvasBBox(),x=(b.maxX+b.minX)/2,w=(b.maxY+b.minY)/2,O=this.toggleGroup.getMatrix()||[1,0,0,0,1,0,0,0,1];O=xW(O,[[\"t\",-x,-w],[\"s\",c,c],[\"t\",x+s*c,w+f*c]]),this.toggleGroup.setMatrix(O)},e.prototype.bindEvent=function(){var e=this;this.speedGroup.on(\"speed-rect:click\",(function(t){var n=t.target.attr(\"y1\"),r=e.speedPoint.attr(\"matrix\"),o=e.speedAxisY.indexOf(r[7]||0),i=e.speedAxisY.indexOf(n),a=e.speedAxisY[i]-e.speedAxisY[o];r=xW(r,[[\"t\",0,a]]),e.speedPoint.setMatrix(r),e.currentSpeed=e.speedAxisY.length-i,e.speedText.attr(\"text\",\"\".concat(e.currentSpeed,\".0X\")),e.group.emit(dW,{speed:e.currentSpeed,type:e.currentType})})),this.speedGroup.on(\"mousewheel\",(function(t){t.preventDefault();var n=e.speedPoint.attr(\"matrix\")||[1,0,0,0,1,0,0,0,1],r=n[7],o=e.speedAxisY.indexOf(r);if(-1===o){var i=1/0;e.speedAxisY.forEach((function(e,t){var n=Math.abs(e-r);i>n&&(i=n,o=t)}))}o=t.originalEvent.deltaY>0?Math.max(0,o-1):Math.min(e.speedAxisY.length-1,o+1);var a=e.speedAxisY[o]-r;n=xW(n,[[\"t\",0,a]]),e.speedPoint.setMatrix(n),e.currentSpeed=e.speedAxisY.length-o,e.speedText.attr(\"text\",\"\".concat(e.currentSpeed,\".0X\")),e.group.emit(dW,{speed:e.currentSpeed,type:e.currentType})})),this.toggleGroup&&this.toggleGroup.on(\"toggle-model:click\",(function(t){var n,r,o=t.target.get(\"isChecked\");o?(e.checkedIcon.hide(),e.checkedText.attr(\"text\",(null===(r=e.controllerCfg)||void 0===r?void 0:r.timePointControllerText)||\"\\u5355\\u4e00\\u65f6\\u95f4\"),e.currentType=NW.RANGE):(e.checkedIcon.show(),e.checkedText.attr(\"text\",(null===(n=e.controllerCfg)||void 0===n?void 0:n.timeRangeControllerText)||\"\\u65f6\\u95f4\\u8303\\u56f4\"),e.currentType=NW.SINGLE),t.target.set(\"isChecked\",!o),e.group.emit(dW,{type:e.currentType,speed:e.currentSpeed})}))},e.prototype.destroy=function(){this.speedGroup.off(\"speed-rect:click\"),this.toggleGroup&&(this.toggleGroup.off(\"toggle-model:click\"),this.toggleGroup.destroy()),this.speedGroup.destroy()},e}(),IW=TW,PW=function(){return PW=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},PW.apply(this,arguments)},LW=o.transform,DW={fill:\"#416180\",opacity:.05},RW={fill:\"#416180\",opacity:.15,radius:5},FW={fill:\"#5B8FF9\",opacity:.3,cursor:\"grab\"},BW=2,zW={width:BW,height:24},UW={textBaseline:\"middle\",fill:\"#000\",opacity:.45},GW={textAlign:\"center\",textBaseline:\"top\",fill:\"#607889\",opacity:.35},VW={lineWidth:1,stroke:\"#ccc\"},WW=function(){function e(e){var t=this;this.prevX=0,this.onMouseDown=function(e){return function(n){t.currentHandler=e;var r=n.originalEvent;r.stopPropagation(),r.preventDefault(),t.prevX=Object(GS[\"get\"])(r,\"touches.0.pageX\",r.pageX);var o=t.canvas.get(\"container\");o.addEventListener(\"mousemove\",t.onMouseMove),o.addEventListener(\"mouseup\",t.onMouseUp),o.addEventListener(\"mouseleave\",t.onMouseUp),o.addEventListener(\"touchmove\",t.onMouseMove),o.addEventListener(\"touchend\",t.onMouseUp),o.addEventListener(\"touchcancel\",t.onMouseUp)}},this.onMouseMove=function(e){e.stopPropagation(),e.preventDefault();var n=Object(GS[\"get\"])(e,\"touches.0.pageX\",e.pageX),r=n-t.prevX,o=t.adjustOffsetRange(r/t.width);t.updateStartEnd(o),t.updateUI(),t.prevX=n},this.onMouseUp=function(){t.currentHandler&&(t.currentHandler=void 0);var e=t.canvas.get(\"container\");e&&(e.removeEventListener(\"mousemove\",t.onMouseMove),e.removeEventListener(\"mouseup\",t.onMouseUp),e.removeEventListener(\"mouseleave\",t.onMouseUp),e.removeEventListener(\"touchmove\",t.onMouseMove),e.removeEventListener(\"touchend\",t.onMouseUp),e.removeEventListener(\"touchcancel\",t.onMouseUp))};var n=e.x,r=void 0===n?0:n,o=e.y,i=void 0===o?0:o,a=e.width,c=void 0===a?100:a,u=e.height,s=e.padding,l=void 0===s?10:s,f=e.trendCfg,d=e.controllerCfg,h=void 0===d?{speed:1}:d,p=e.backgroundStyle,v=void 0===p?{}:p,g=e.foregroundStyle,m=void 0===g?{}:g,y=e.handlerStyle,b=void 0===y?{}:y,x=e.textStyle,w=void 0===x?{}:x,O=e.start,E=void 0===O?0:O,S=e.end,j=void 0===S?1:S,k=e.minText,_=void 0===k?\"\":k,C=e.maxText,M=void 0===C?\"\":C,A=e.group,N=e.graph,T=e.canvas,I=e.tick,P=void 0===I?{tickLabelStyle:{},tickLineStyle:{},tickLabelFormatter:function(e){return e},ticks:[]}:I,L=e.type;this.graph=N,this.canvas=T,this.group=A,this.timeBarType=L,this.x=r,this.y=i,this.width=c,this.height=u,this.padding=l,this.ticks=P.ticks,this.trendCfg=f,this.controllerCfg=h,this.currentSpeed=h.speed||1,this.tickLabelFormatter=P.tickLabelFormatter,\"trend\"===L?this.backgroundStyle=PW(PW({},DW),v):\"simple\"===L&&(this.backgroundStyle=PW(PW({},RW),v)),this.foregroundStyle=PW(PW({},FW),m),this.handlerStyle=PW(PW({},zW),b),this.textStyle=PW(PW({},UW),w),this.tickLabelStyle=PW(PW({},GW),P.tickLabelStyle),this.tickLineStyle=PW(PW({},VW),P.tickLineStyle),this.currentMode=h.defaultTimeType||NW.RANGE,this.start=E,this.end=j,this.minText=_,this.maxText=M,this.fontFamily=\"undefined\"!==typeof window&&window.getComputedStyle(document.body,null).getPropertyValue(\"font-family\")||\"Arial, sans-serif\",this.renderSlider()}return e.prototype.update=function(e){var t=e.x,n=e.y,r=e.width,o=e.height,i=e.minText,a=e.maxText,c=e.start,u=e.end;this.start=Math.min(1,Math.max(c,0)),this.end=Math.min(1,Math.max(u,0)),Object(GS[\"assign\"])(this,{x:t,y:n,width:r,height:o,minText:i,maxText:a}),this.updateUI()},e.prototype.setText=function(e,t){this.minTextShape.attr(\"text\",e),this.maxTextShape.attr(\"text\",t)},e.prototype.renderSlider=function(){var e=this,t=this,n=t.width,r=t.height,o=t.timeBarType;if(\"trend\"===o&&Object(GS[\"size\"])(Object(GS[\"get\"])(this.trendCfg,\"data\"))){var i=new rW(PW(PW({x:this.x,y:this.y,width:n,height:r},this.trendCfg),{group:this.group}));this.trendComponent=i}var a=this.group.addGroup({name:\"slider-group\"});a.addShape(\"rect\",{attrs:PW({x:0,y:0,width:n,height:r},this.backgroundStyle),name:\"background\"});var c=this.group.addGroup();\"trend\"===o?(this.minTextShape=c.addShape(\"text\",{attrs:PW({x:0,y:r/2+this.y,textAlign:\"right\",text:this.minText,silent:!1,fontFamily:this.fontFamily||\"Arial, sans-serif\",stroke:\"#fff\",lineWidth:5},this.textStyle),capture:!1,name:\"min-text-shape\"}),this.maxTextShape=c.addShape(\"text\",{attrs:PW({y:r/2+this.y,textAlign:\"left\",text:this.maxText,silent:!1,fontFamily:this.fontFamily||\"Arial, sans-serif\",stroke:\"#fff\",lineWidth:5},this.textStyle),capture:!1,name:\"max-text-shape\"})):(this.minTextShape=c.addShape(\"text\",{attrs:PW({x:0,y:this.y-10,textAlign:\"center\",text:this.minText,silent:!1,fontFamily:this.fontFamily||\"Arial, sans-serif\",stroke:\"#fff\",lineWidth:5},this.textStyle),capture:!1,name:\"min-text-shape\"}),this.maxTextShape=c.addShape(\"text\",{attrs:PW({y:this.y-10,textAlign:\"center\",text:this.maxText,silent:!1,fontFamily:this.fontFamily||\"Arial, sans-serif\",stroke:\"#fff\",lineWidth:5},this.textStyle),capture:!1,name:\"max-text-shape\"})),this.foregroundShape=this.group.addGroup().addShape(\"rect\",{attrs:PW({x:0,y:this.y,height:r},this.foregroundStyle),name:\"foreground-shape\"}),this.foregroundShape.on(\"mousedown\",(function(e){e.target.attr(\"cursor\",\"grabbing\")})),this.foregroundShape.on(\"mouseup\",(function(t){t.target.attr(\"cursor\",e.foregroundStyle.cursor||\"grab\")}));var u=Object(GS[\"get\"])(this.handlerStyle,\"width\",2),s=Object(GS[\"get\"])(this.handlerStyle,\"height\",24),l=this.group.addGroup({name:\"minHandlerShape\"});this.minHandlerShape=new uW({name:\"minHandlerShape\",group:l,type:o,x:this.x,y:this.y,width:u,height:s,style:this.handlerStyle});var f=this.group.addGroup({name:\"maxHandlerShape\"});this.maxHandlerShape=new uW({name:\"maxHandlerShape\",group:f,type:o,x:this.x,y:this.y,width:u,height:s,style:this.handlerStyle});var d=this.ticks,h=n/(d.length-1);this.tickPosList=[],this.textList&&this.textList.length&&this.textList.forEach((function(e){e.destroy()}));var p=-1/0,v=this.tickLabelStyle.rotate;delete this.tickLabelStyle.rotate,this.textList=d.map((function(t,n){var o;e.tickPosList.push(e.x+n*h),e.tickLabelFormatter?(o=e.tickLabelFormatter(t),!Object(GS[\"isString\"])(o)&&o&&(o=t.date)):o=t.date;var i=e.x+n*h,a=e.y+r+5,c=e.group.addShape(\"text\",{attrs:PW({x:i,y:a,text:o,fontFamily:e.fontFamily||\"Arial, sans-serif\"},e.tickLabelStyle),name:\"tick-label\"});if(Object(GS[\"isNumber\"])(v)&&n!==d.length-1){var u=LW([1,0,0,0,1,0,0,0,1],[[\"t\",-i,-a],[\"r\",v],[\"t\",i-5,a+2]]);c.attr({textAlign:\"left\",matrix:u})}0===n?c.attr({textAlign:\"left\"}):n!==d.length-1&&c.attr({textAlign:\"right\"});var s=e.group.addShape(\"line\",{attrs:PW({x1:e.x+n*h,y1:e.y+r+2,x2:e.x+n*h,y2:e.y+r+6},e.tickLineStyle),name:\"tick-line\"});s.toBack();var l=c.getBBox();return l.minX>p?(c.show(),s.show(),p=l.minX+l.width+10):(c.hide(),s.hide()),c})),this.controllerBtnGroup=new IW(PW({group:this.group,x:this.x,y:this.y+r+25,width:n,height:35},this.controllerCfg)),this.updateStartEnd(0),this.updateUI(),a.move(this.x,this.y),this.bindEvents(),this.currentMode===NW.SINGLE&&(this.minHandlerShape.hide(),this.foregroundShape.hide(),this.minTextShape.hide())},e.prototype.bindEvents=function(){var e=this,t=this.group.find((function(e){return\"minHandlerShape\"===e.get(\"name\")}));t&&(t.on(\"minHandlerShape-handler:mousedown\",this.onMouseDown(this.minHandlerShape)),t.on(\"minHandlerShape-handler:touchstart\",this.onMouseDown(this.minHandlerShape)));var n=this.group.find((function(e){return\"maxHandlerShape\"===e.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(hW,\":click\"),(function(){e.isPlay=!e.isPlay,e.currentHandler=e.maxHandlerShape,e.changePlayStatus()})),this.group.on(\"\".concat(pW,\":click\"),(function(){e.currentHandler=e.maxHandlerShape,e.updateStartEnd(.01),e.updateUI()})),this.group.on(\"\".concat(vW,\":click\"),(function(){e.currentHandler=e.maxHandlerShape,e.updateStartEnd(-.01),e.updateUI()})),this.group.on(dW,(function(t){var n=t.type,r=t.speed;e.currentSpeed=r,e.currentMode=n,n===NW.SINGLE?(e.minHandlerShape.hide(),e.foregroundShape.hide(),e.minTextShape.hide()):n===NW.RANGE&&(e.minHandlerShape.show(),e.foregroundShape.show(),e.minTextShape.show())}))},e.prototype.adjustTickIndex=function(e){for(var t=0;t<this.tickPosList.length-1;t++)if(this.tickPosList[t]<=e&&e<=this.tickPosList[t+1])return Math.abs(this.tickPosList[t]-e)<Math.abs(e-this.tickPosList[t+1])?t:t+1;return 0},e.prototype.adjustOffsetRange=function(e){switch(this.currentHandler){case this.minHandlerShape:var t=0-this.start,n=1-this.start;return Math.min(n,Math.max(t,e));case this.maxHandlerShape:t=0-this.end,n=1-this.end;return Math.min(n,Math.max(t,e));case this.foregroundShape:t=0-this.start,n=1-this.end;return Math.min(n,Math.max(t,e));default:return 0}},e.prototype.updateStartEnd=function(e){var t=this.ticks[this.adjustTickIndex(this.start*this.width)],n=this.ticks[this.adjustTickIndex(this.end*this.width)];if(!this.currentHandler)return this.minText=this.tickLabelFormatter?this.tickLabelFormatter(t):null===t||void 0===t?void 0:t.date,void(this.maxText=this.tickLabelFormatter?this.tickLabelFormatter(n):null===n||void 0===n?void 0:n.date);switch(this.currentHandler){case this.minHandlerShape:this.maxText=this.maxTextShape.attr(\"text\"),this.start+=e,this.minText=this.tickLabelFormatter?this.tickLabelFormatter(t):t.date;break;case this.maxHandlerShape:this.minText=this.minTextShape.attr(\"text\"),this.end+=e,this.maxText=this.tickLabelFormatter?this.tickLabelFormatter(n):n.date;break;case this.foregroundShape:this.start+=e,this.end+=e,this.minText=this.tickLabelFormatter?this.tickLabelFormatter(t):t.date,this.maxText=this.tickLabelFormatter?this.tickLabelFormatter(n):n.date;break;default:break}},e.prototype.updateUI=function(){var e=this;this.start<0&&(this.start=0),this.end>1&&(this.end=1);var t=this.x+this.start*this.width,n=this.x+this.end*this.width;this.foregroundShape.attr(\"x\",t),this.foregroundShape.attr(\"width\",n-t);var r=Object(GS[\"get\"])(this.handlerStyle,\"width\",BW);this.setText(this.minText,this.maxText);var o=this.dodgeText([t,n]),i=o[0],a=o[1];this.minHandlerShape.setX(t-r/2),Object(GS[\"each\"])(i,(function(t,n){return e.minTextShape.attr(n,t)})),this.maxHandlerShape.setX(n-r/2),Object(GS[\"each\"])(a,(function(t,n){return e.maxTextShape.attr(n,t)})),this.currentMode===NW.RANGE?this.graph.emit(fW,{value:[this.start,this.end].sort()}):this.currentMode===NW.SINGLE&&this.graph.emit(fW,{value:[this.end,this.end]})},e.prototype.dodgeText=function(e){var t,n,r=2,o=Object(GS[\"get\"])(this.handlerStyle,\"width\",BW),i=this.minTextShape,a=this.maxTextShape,c=e[0],u=e[1],s=!1;c>u&&(t=[u,c],c=t[0],u=t[1],n=[a,i],i=n[0],a=n[1],s=!0);var l=i.getBBox(),f=a.getBBox(),d=null,h=null;return\"trend\"===this.timeBarType?(d=c-l.width<this.x+r?{x:c+o/2+r,textAlign:\"left\"}:{x:c-o/2-r,textAlign:\"right\"},h=u+f.width>this.x+this.width?{x:u-o/2-r,textAlign:\"right\"}:{x:u+o/2+r,textAlign:\"left\"}):\"simple\"===this.timeBarType&&(d=i.attr(\"x\")>l.width?{x:c,textAlign:\"center\"}:{x:c,textAlign:\"left\"},h=a.attr(\"x\")>this.width-f.width?{x:u,textAlign:\"right\"}:{x:u,textAlign:\"center\"}),s?[h,d]:[d,h]},e.prototype.startPlay=function(){var e=this;return\"undefined\"!==typeof window?window.requestAnimationFrame((function(){var t=e,n=t.ticks,r=t.width,o=e.currentSpeed,i=r/n.length,a=i/(1e3*(10-o)/60),c=e.adjustOffsetRange(a/e.width);e.updateStartEnd(c),e.updateUI(),e.isPlay&&(e.playHandler=e.startPlay())})):void 0},e.prototype.changePlayStatus=function(e){void 0===e&&(e=!0),this.controllerBtnGroup.playButton.update({isPlay:this.isPlay}),this.isPlay?(this.playHandler=this.startPlay(),this.graph.emit(sW,null)):this.playHandler&&(\"undefined\"!==typeof window&&window.cancelAnimationFrame(this.playHandler),e&&this.graph.emit(lW,null))},e.prototype.destory=function(){this.graph.off(fW,(function(){}));var e=this.group,t=e.find((function(e){return\"minHandlerShape\"===e.get(\"name\")}));t&&(t.off(\"minHandlerShape-handler:mousedown\"),t.off(\"minHandlerShape-handler:touchstart\"),t.destroy());var n=e.find((function(e){return\"maxHandlerShape\"===e.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(),e.off(\"\".concat(hW,\":click\")),e.off(\"\".concat(pW,\":click\")),e.off(\"\".concat(vW,\":click\")),e.off(dW),e.destroy(),this.trendComponent&&this.trendComponent.destory()},e}(),HW=WW,YW=function(){function e(e){var t=e.x,n=void 0===t?0:t,r=e.y,o=void 0===r?0:r,i=e.container,a=e.text,c=e.padding,u=void 0===c?[4,4,4,4]:c,s=e.className,l=void 0===s?\"g6-component-timebar-tooltip\":s,f=e.backgroundColor,d=void 0===f?\"#000\":f,h=e.textColor,p=void 0===h?\"#fff\":h,v=e.opacity,g=void 0===v?.8:v,m=e.fontSize,y=void 0===m?12:m;this.container=i,this.className=l,this.backgroundColor=d,this.textColor=p,this.x=n,this.y=o,this.text=a,this.padding=u,this.opacity=g,this.fontSize=y,this.render()}return e.prototype.render=function(){var e=this,t=e.className,n=(e.x,e.y,e.backgroundColor),r=e.textColor,o=e.text,i=e.padding,a=e.opacity,c=e.fontSize,u=e.container,s=$B(\"<div class='\".concat(t,\"' style=\\\"position: absolute; width: fit-content; height: fit-content; opacity: \").concat(a,'\"></div>'));Object(GS[\"isString\"])(u)&&(u=document.getElementById(u)),u.appendChild(s),e.parentHeight=u.offsetHeight,e.parentWidth=u.offsetWidth,QB(s,{visibility:\"hidden\",top:0,left:0});var l=$B(\"\\n      <div style='position: absolute; white-space:nowrap; background-color: \".concat(n,\"; font-size: \").concat(c,\"px; border-radius: 4px; width: fit-content; height: fit-content; color: \").concat(r,\"; padding: \").concat(i[0],\"px \").concat(i[1],\"px \").concat(i[2],\"px \").concat(i[3],\"px'></div>\"));l.innerHTML=o,s.appendChild(l),e.backgroundDOM=l;var f=$B(\"<div style='position: absolute; width: 0px; height: 0px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 10px solid \".concat(n,\"'></div>\"));s.appendChild(f),e.arrowDOM=f,e.container=s},e.prototype.show=function(e){var t=this,n=e.text,r=e.x;e.y,e.clientX,e.clientY;t.backgroundDOM.innerHTML=n;var o=t.backgroundDOM.offsetWidth,i=t.backgroundDOM.offsetHeight,a=t.arrowDOM.offsetWidth,c=t.arrowDOM.offsetHeight;QB(t.container,{top:\"\".concat(-i-c,\"px\"),left:\"\".concat(r,\"px\"),visibility:\"visible\"}),QB(t.backgroundDOM,{marginLeft:\"\".concat(-o/2,\"px\")}),QB(t.arrowDOM,{marginLeft:\"\".concat(-a/2,\"px\"),top:\"\".concat(i,\"px\")});var u=r-o/2,s=r+o/2;u<0?QB(t.backgroundDOM,{marginLeft:\"\".concat(-o/2-u,\"px\")}):s>t.parentWidth&&QB(t.backgroundDOM,{marginLeft:\"\".concat(-o/2-s+t.parentWidth+12,\"px\")})},e.prototype.hide=function(){QB(this.container,{top:0,left:0,visibility:\"hidden\"})},e}(),XW=YW,qW=function(){return qW=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},qW.apply(this,arguments)},KW=o.transform,ZW={fill:\"#5B8FF9\"},$W={fill:\"#e6e8e9\"},QW=function(){function e(e){this.frameCount=0,this.fontFamily=\"Arial, sans-serif\";var t=e.graph,n=e.canvas,r=e.group,o=e.width,i=e.height,a=e.padding,c=e.data,u=e.start,s=e.end,l=e.x,f=void 0===l?0:l,d=e.y,h=void 0===d?0:d,p=e.tickLabelFormatter,v=e.selectedTickStyle,g=void 0===v?ZW:v,m=e.unselectedTickStyle,y=void 0===m?$W:m,b=e.tooltipBackgroundColor,x=e.tooltipFomatter,w=e.tickLabelStyle,O=e.controllerCfg,E=void 0===O?{speed:1}:O;this.graph=t,this.group=r,this.sliceGroup=r.addGroup({name:\"slice-group\"}),this.canvas=n,this.width=o,this.height=i,this.padding=a,this.data=c,this.start=u,this.end=s,this.tickLabelFormatter=p,this.tickLabelStyle=w||{},this.selectedTickStyle=g,this.unselectedTickStyle=y,this.controllerCfg=E,this.currentSpeed=E.speed||1,this.x=f,this.y=h,this.tooltipBackgroundColor=b,this.tooltipFomatter=x,this.fontFamily=\"undefined\"!==typeof window&&window.getComputedStyle(document.body,null).getPropertyValue(\"font-family\")||\"Arial, sans-serif\",this.renderSlices(),this.initEvent()}return e.prototype.renderSlices=function(){var e=this,t=this,n=t.width,r=t.height,o=t.padding,i=t.data,a=t.start,c=t.end,u=t.tickLabelFormatter,s=t.selectedTickStyle,l=t.unselectedTickStyle,f=t.tickLabelStyle,d=n-2*o,h=10,p=4,v=3*o+p+h,g=r-v-2*o,m=2,y=i.length,b=(d-m*(y-1))/y;this.tickWidth=b;var x=this.sliceGroup,w=[],O=[],E=Math.round(y*a),S=Math.round(y*c);this.startTickRectId=E,this.endTickRectId=S;var j=f.rotate;delete f.rotate,i.forEach((function(t,r){var i=r>=E&&r<=S,a=i?s:l,c=x.addShape(\"rect\",{attrs:qW({x:o+r*(b+m),y:o,width:b,height:g},a),draggable:!0,name:\"tick-rect-\".concat(r)}),d=x.addShape(\"rect\",{attrs:{x:o+r*b+m*(2*r-1)/2,y:o,width:0===r||r===y-1?b+m/2:b+m,height:g,fill:\"#fff\",opacity:0},draggable:!0,name:\"pick-rect-\".concat(r)});d.toFront();var h,v=c.getBBox(),k=(v.minX+v.maxX)/2;if(w.push({rect:c,pickRect:d,value:t.date,x:k,y:v.minY}),u?(h=u(t),!Object(GS[\"isString\"])(h)&&h&&(h=t.date)):r%Math.round(y/10)===0&&(h=t.date),h){O.push(h);var _=v.maxY+2*o;x.addShape(\"line\",{attrs:{stroke:\"#BFBFBF\",x1:k,y1:_,x2:k,y2:_+p},name:\"tick-line\"});var C=_+p+o,M=x.addShape(\"text\",{attrs:qW({fill:\"#8c8c8c\",stroke:\"#fff\",lineWidth:1,x:k,y:C,textAlign:\"center\",text:h,textBaseline:\"top\",fontSize:10,fontFamily:e.fontFamily||\"Arial, sans-serif\"},f),capture:!1,name:\"tick-label\"}),A=M.getBBox();if(A.maxX>n?M.attr(\"textAlign\",\"right\"):A.minX<0&&M.attr(\"textAlign\",\"left\"),Object(GS[\"isNumber\"])(j)&&10!==O.length){var N=KW([1,0,0,0,1,0,0,0,1],[[\"t\",-k,-C],[\"r\",j],[\"t\",k-5,C+2]]);M.attr({textAlign:\"left\",matrix:N})}1===O.length?M.attr({textAlign:\"left\"}):10===O.length&&M.attr({textAlign:\"right\"})}})),this.tickRects=w;var k=this.group;this.currentSpeed=1,this.controllerBtnGroup=new IW(qW({group:k,x:this.x,y:this.y+r+5,width:n,height:40,hideTimeTypeController:!0,speed:this.currentSpeed,fontFamily:this.fontFamily||\"Arial, sans-serif\"},this.controllerCfg))},e.prototype.initEvent=function(){var e=this,t=this.sliceGroup;t.on(\"click\",(function(t){var n=t.target;if(\"rect\"===n.get(\"type\")&&n.get(\"name\")){var r=parseInt(n.get(\"name\").split(\"-\")[2],10);if(!isNaN(r)){var o=e.tickRects,i=e.unselectedTickStyle;o.forEach((function(e){e.rect.attr(i)}));var a=e.selectedTickStyle;o[r].rect.attr(a),e.startTickRectId=r,e.endTickRectId=r;var c=o.length,u=r/c;e.graph.emit(fW,{value:[u,u]})}}})),t.on(\"dragstart\",(function(t){var n=e.tickRects,r=e.unselectedTickStyle;n.forEach((function(e){e.rect.attr(r)}));var o=t.target,i=parseInt(o.get(\"name\").split(\"-\")[2],10),a=e.selectedTickStyle;n[i].rect.attr(a),e.startTickRectId=i;var c=n.length,u=i/c;e.graph.emit(fW,{value:[u,u]}),e.dragging=!0})),t.on(\"dragover\",(function(t){if(e.dragging&&\"rect\"===t.target.get(\"type\")){for(var n=parseInt(t.target.get(\"name\").split(\"-\")[2],10),r=e.startTickRectId,o=e.tickRects,i=e.selectedTickStyle,a=e.unselectedTickStyle,c=0;c<o.length;c++){var u=c>=r&&c<=n?i:a;o[c].rect.attr(u)}var s=o.length;e.endTickRectId=n;var l=r/s,f=n/s;e.graph.emit(fW,{value:[l,f]})}})),t.on(\"drop\",(function(t){if(e.dragging&&(e.dragging=!1,\"rect\"===t.target.get(\"type\"))){var n=e.startTickRectId,r=parseInt(t.target.get(\"name\").split(\"-\")[2],10);if(!(r<n)){var o=e.selectedTickStyle,i=e.tickRects;i[r].rect.attr(o),e.endTickRectId=r;var a=i.length,c=n/a,u=r/a;e.graph.emit(fW,{value:[c,u]})}}}));var n=this,r=n.tooltipBackgroundColor,o=n.tooltipFomatter,i=n.canvas,a=new XW({container:i.get(\"container\"),backgroundColor:r}),c=this.tickRects;c.forEach((function(e){var t=e.pickRect;t.on(\"mouseenter\",(function(e){var t=e.target;if(\"rect\"===t.get(\"type\")){var n=parseInt(t.get(\"name\").split(\"-\")[2],10),r=i.getClientByPoint(c[n].x,c[n].y);a.show({x:c[n].x,y:c[n].y,clientX:r.x,clientY:r.y,text:o?o(c[n].value):c[n].value})}})),t.on(\"mouseleave\",(function(e){a.hide()}))}));var u=this.group;u.on(\"\".concat(hW,\":click\"),(function(){e.isPlay=!e.isPlay,e.changePlayStatus()})),u.on(\"\".concat(pW,\":click\"),(function(){e.updateStartEnd(1)})),u.on(\"\".concat(vW,\":click\"),(function(){e.updateStartEnd(-1)})),u.on(dW,(function(t){t.type;var n=t.speed;e.currentSpeed=n}))},e.prototype.changePlayStatus=function(e){void 0===e&&(e=!0),this.controllerBtnGroup.playButton.update({isPlay:this.isPlay}),this.isPlay?(this.playHandler=this.startPlay(),this.graph.emit(sW,null)):this.playHandler&&(\"undefined\"!==typeof window&&window.cancelAnimationFrame(this.playHandler),e&&this.graph.emit(lW,null))},e.prototype.startPlay=function(){var e=this;return\"undefined\"!==typeof window?window.requestAnimationFrame((function(){var t=e.currentSpeed;e.frameCount%(60/t)===0&&(e.frameCount=0,e.updateStartEnd(1)),e.frameCount++,e.isPlay&&(e.playHandler=e.startPlay())})):void 0},e.prototype.updateStartEnd=function(e){var t=this,n=this.tickRects,r=n.length,o=this.unselectedTickStyle,i=this.selectedTickStyle,a=t.endTickRectId;if(e>0?t.endTickRectId++:(n[t.endTickRectId].rect.attr(o),t.endTickRectId--),a!==t.startTickRectId)t.endTickRectId<t.startTickRectId&&(t.startTickRectId=t.endTickRectId);else{for(var c=t.startTickRectId;c<=t.endTickRectId-1;c++)n[c].rect.attr(o);t.startTickRectId=t.endTickRectId}if(n[t.endTickRectId]){n[t.endTickRectId].rect.attr(i);var u=t.startTickRectId/r,s=t.endTickRectId/r;this.graph.emit(fW,{value:[u,s]})}},e.prototype.destory=function(){var e=this.sliceGroup;e.off(\"click\"),e.off(\"dragstart\"),e.off(\"dragover\"),e.off(\"drop\"),this.tickRects.forEach((function(e){var t=e.pickRect;t.off(\"mouseenter\"),t.off(\"mouseleave\")})),this.tickRects.length=0,e.off(\"\".concat(hW,\":click\")),e.off(\"\".concat(pW,\":click\")),e.off(\"\".concat(vW,\":click\")),e.off(dW),this.sliceGroup.destroy()},e}(),JW=QW,eH=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),tH=function(){return tH=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},tH.apply(this,arguments)},nH=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},rH=4,oH=26,iH=function(e){function t(t){var n=e.call(this,t)||this;return n.afterrenderListener=function(e){return n.filterData({})},n.valueChangeListener=Object(GS[\"throttle\"])((function(e){return n.filterData(e)}),200,{trailing:!0,leading:!0}),n.changeData=function(e){var t=n.get(\"graph\");n.cacheGraphData=t.get(\"data\"),n.filterData({})},n}return eH(t,e),t.prototype.getDefaultCfgs=function(){return{container:null,className:\"g6-component-timebar\",padding:10,type:\"trend\",trend:{data:[],isArea:!1,smooth:!0},controllerCfg:{speed:1,loop:!1},slider:{start:.1,end:.9,minText:\"min\",maxText:\"max\"},tick:{start:.1,end:.9,data:[]},textStyle:{},filterEdge:!1,filterItemTypes:[\"node\"],containerCSS:{}}},t.prototype.initContainer=function(){var e,t,n=this.get(\"graph\"),r=this._cfgs,o=r.width,i=r.height,a=this.get(\"className\")||\"g6-component-timebar\",c=this.get(\"container\"),u=this.get(\"graph\").get(\"container\");c?(Object(GS[\"isString\"])(c)&&(c=document.getElementById(c)),e=c):(e=$B(\"<div class='\".concat(a,\"'></div>\")),QB(e,{position:\"relative\"})),u.appendChild(e),this.set(\"timeBarContainer\",e);var s=n.get(\"renderer\");t=\"SVG\"===s?new vB({container:e,width:o,height:i}):new nF({container:e,width:o,height:i}),this.get(\"containerCSS\")&&QB(e,this.get(\"containerCSS\")),this.set(\"canvas\",t)},t.prototype.init=function(){this.initContainer();var e=this.get(\"canvas\"),t=e.addGroup({name:\"timebar-group\"});this.set(\"timeBarGroup\",t),this.renderTrend(),this.initEvent();var n=\"undefined\"!==typeof window&&window.getComputedStyle(document.body,null).getPropertyValue(\"font-family\")||\"Arial, sans-serif\";this.set(\"fontFamily\",n)},t.prototype.play=function(){this.togglePlay(!0)},t.prototype.pause=function(){this.togglePlay(!1)},t.prototype.togglePlay=function(e){var t=this.get(\"timebar\");t&&(t.isPlay=!!e,t.changePlayStatus())},t.prototype.renderTrend=function(){var e=this,t=this._cfgs,n=t.width,r=t.x,o=t.y,i=t.padding,a=t.type,c=t.trend,u=t.slider,s=t.controllerCfg,l=t.textStyle,f=t.tick,d=t.backgroundStyle,h=t.foregroundStyle,p=c.data,v=nH(c,[\"data\"]),g=n-2*i,m=\"trend\"===a?oH:rH,y=this.get(\"graph\"),b=this.get(\"timeBarGroup\"),x=this.get(\"canvas\"),w=null;if(\"trend\"===a||\"simple\"===a){var O=this.get(\"getValue\");w=new HW(tH(tH({graph:y,canvas:x,group:b,type:a,x:r+i,y:\"trend\"===a?o+i:o+i+15,width:g,height:m,padding:i,backgroundStyle:d,foregroundStyle:h,trendCfg:tH(tH({},v),{data:p.map((function(e){return(null===O||void 0===O?void 0:O(e))||e.value}))})},u),{tick:{ticks:p,tickLabelFormatter:f.tickLabelFormatter,tickLabelStyle:f.tickLabelStyle,tickLineStyle:f.tickLineStyle},handlerStyle:tH(tH({},u.handlerStyle),{height:u.height||m}),controllerCfg:s,textStyle:l}))}else\"tick\"===a&&(w=new JW(tH({graph:y,canvas:x,group:b,x:r+i,y:o+i,width:n,height:42,padding:2,controllerCfg:s},f)));var E=function t(){var n=e.get(\"timebar\");n.draggingHandler=!1,n.isPlay&&(n.isPlay=!1,n.currentHandler=n.maxHandlerShape,n.changePlayStatus()),document.removeEventListener(\"mouseup\",t)};x.on(\"mousedown\",(function(e){\"maxHandlerShape-handler\"!==e.target.get(\"name\")&&\"minHandlerShape-handler\"!==e.target.get(\"name\")&&e.target!==w.foregroundShape||document.addEventListener(\"mouseup\",E)})),this.set(\"timebar\",w)},t.prototype.filterData=function(e){var t,n=e.value;if(!n){n=[];var r=this._cfgs.type;r&&\"trend\"!==r&&\"simple\"!==r?\"tick\"===r&&(n[0]=this._cfgs.tick.start,n[1]=this._cfgs.tick.end):(n[0]=this._cfgs.slider.start,n[1]=this._cfgs.slider.end)}var o=null,i=this._cfgs.type;if(\"trend\"===i||\"simple\"===i?o=this._cfgs.trend.data:\"tick\"===i&&(o=this._cfgs.tick.data),o&&0!==o.length){var a=this.get(\"rangeChange\"),c=this.get(\"graph\"),u=Math.round(o.length*n[0]),s=Math.round(o.length*n[1]);s=s>=o.length?o.length-1:s,u=u>=o.length?o.length-1:u;var l=null===(t=this._cfgs.tick)||void 0===t?void 0:t.tickLabelFormatter,f=l?l(o[u]):o[u].date,d=l?l(o[s]):o[s].date;if(\"tick\"!==i){var h=this.get(\"timebar\");h.setText(f,d)}if(a)a(c,f,d);else{(!this.cacheGraphData||this.cacheGraphData.nodes&&0===this.cacheGraphData.nodes.length)&&(this.cacheGraphData=c.get(\"data\"));var p=this.get(\"filterItemTypes\"),v=this.get(\"changeData\"),g=this.get(\"getDate\"),m=this.get(\"shouldIgnore\"),y=o[u].date,b=o[s].date;if(v||void 0===v){var x=this.cacheGraphData.nodes,w=this.cacheGraphData.edges,O={},E={};c.getNodes().forEach((function(e){return O[e.getID()]=!0})),c.getEdges().forEach((function(e){return E[e.getID()]=!0})),p.includes(\"node\")&&(x.forEach((function(e){var t=+((null===g||void 0===g?void 0:g(e))||e.date),n=t>=y&&t<=b||(null===m||void 0===m?void 0:m(\"node\",e,{min:y,max:b})),r=O[e.id];r&&!n?(c.removeItem(e.id),O[e.id]=!1):!r&&n&&(c.addItem(\"node\",e),O[e.id]=!0)})),null===w||void 0===w||w.forEach((function(e){var t=O[e.source]&&O[e.target]||(null===m||void 0===m?void 0:m(\"edge\",e,{min:y,max:b})),n=!!c.findById(e.id);n&&!t?(c.removeItem(e.id),E[e.id]=!1):!n&&t?(c.addItem(\"edge\",e),E[e.id]=!0):n||(E[e.id]=!1)}))),(this.get(\"filterEdge\")||p.includes(\"edge\"))&&(null===w||void 0===w||w.filter((function(e){var t=+((null===g||void 0===g?void 0:g(e))||e.date),n=t>=y&&t<=b||(null===m||void 0===m?void 0:m(\"edge\",e,{min:y,max:b})),r=O[e.source]&&O[e.target],o=n&&r,i=E[e.id];i&&!o?(E[e.id]=!1,c.removeItem(e.id)):!i&&o&&(E[e.id]=!0,c.addItem(\"edge\",e))})))}else p.includes(\"node\")&&c.getNodes().forEach((function(e){var t=e.getModel();if(!(null===m||void 0===m?void 0:m(\"node\",t,{min:y,max:b}))){var n=+((null===g||void 0===g?void 0:g(t))||t.date);n<y||n>b?c.hideItem(e):c.showItem(e)}})),(this.get(\"filterEdge\")||p.includes(\"edge\"))&&c.getEdges().forEach((function(e){var t=e.getModel();if(!(null===m||void 0===m?void 0:m(\"edge\",t,{min:o[u].date,max:o[s].date}))){var n=+((null===g||void 0===g?void 0:g(t))||t.date);if(n<o[u].date||n>o[s].date)c.hideItem(e);else{var r=e.getSource().isVisible(),i=e.getTarget().isVisible();r&&i&&c.showItem(e)}}}))}}else console.warn(\"\\u8bf7\\u914d\\u7f6e TimeBar \\u7ec4\\u4ef6\\u7684\\u6570\\u636e\")},t.prototype.initEvent=function(){var e=this.get(\"graph\");e.on(\"afterchangedata\",this.changeData),e.on(\"afterrender\",this.afterrenderListener),e.on(fW,this.valueChangeListener)},t.prototype.destroy=function(){var t=this.get(\"graph\");t.off(\"afterchangedata\",this.changeData),t.off(\"afterrender\",this.afterrenderListener),t.off(fW,this.valueChangeListener);var n=this.get(\"timebar\");n&&n.destory&&n.destory(),e.prototype.destroy.call(this);var r=this.get(\"timeBarContainer\");if(r){var o=this.get(\"container\");o||(o=this.get(\"graph\").get(\"container\")),Object(GS[\"isString\"])(o)&&(o=document.getElementById(o)),o.removeChild(r)}},t}(Yz),aH=iH,cH=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),uH=uD.applyMatrix;function sH(e,t){var n,r;if(e.naturalWidth)n=e.naturalWidth,r=e.naturalHeight;else{var o=new Image;o.src=e.src,o.onload=function(){t&&t(o.width,o.height)}}return[n,r]}var lH=function(e){function t(t){return e.call(this,t)||this}return cH(t,e),t.prototype.getDefaultCfgs=function(){return{container:null,className:\"g6-minimap\",viewportClassName:\"g6-minimap-viewport\",width:200,delegateStyle:{fill:\"#40a9ff\",stroke:\"#096dd9\"},refresh:!0}},t.prototype.getEvents=function(){return{beforepaint:\"updateViewport\",beforeanimate:\"disableRefresh\",afteranimate:\"enableRefresh\",viewportchange:\"disableOneRefresh\"}},t.prototype.disableRefresh=function(){this.set(\"refresh\",!1)},t.prototype.enableRefresh=function(){this.set(\"refresh\",!0),this.updateCanvas()},t.prototype.disableOneRefresh=function(){this.set(\"viewportChange\",!0)},t.prototype.initViewport=function(){var e=this,t=this._cfgs,n=t.graph;if(!this.destroyed){var r=this.get(\"container\");Object(GS[\"isString\"])(r)&&(r=document.getElementById(r));var o=$B(\"<div class=\".concat(t.viewportClassName,\"\\n      style='position:absolute;\\n        left:0;\\n        top:0;\\n        box-sizing:border-box;\\n        border: 2px solid #1980ff;\\n        cursor:move'\\n      </div>\")),i=0,a=0,c=!1,u=0,s=0,l=0,f=0,d=0,h=0;r.addEventListener(\"mousedown\",(function(r){if(t.refresh=!1,r.target===o){var u=o.style;l=parseInt(u.width,10),f=parseInt(u.height,10);var s=e.get(\"width\"),p=e.get(\"height\");l>s||f>p||(h=n.getZoom(),d=e.get(\"ratio\"),c=!0,i=r.clientX,a=r.clientY)}}),!1),r.addEventListener(\"mousemove\",(function(t){if(c&&!Object(GS[\"isNil\"])(t.clientX)&&!Object(GS[\"isNil\"])(t.clientY)){var r=e.get(\"width\"),p=e.get(\"height\"),v=o.style;u=parseInt(v.left,10),s=parseInt(v.top,10),l=parseInt(v.width,10),f=parseInt(v.height,10);var g=i-t.clientX,m=a-t.clientY;u-g<0?g=u:u-g+l>=r&&(g=0),s-m<0?m=s:s-m+f>=p&&(m=0),u-=g,s-=m,QB(o,{left:\"\".concat(u,\"px\"),top:\"\".concat(s,\"px\")}),n.translate(g*h/d,m*h/d),i=t.clientX,a=t.clientY}}),!1),r.addEventListener(\"mouseleave\",(function(){c=!1,t.refresh=!0}),!1),r.addEventListener(\"mouseup\",(function(){c=!1,t.refresh=!0}),!1),this.set(\"viewport\",o),r.appendChild(o)}},t.prototype.updateViewport=function(){if(!this.destroyed){var e=this.get(\"ratio\"),t=this.get(\"width\"),n=this.get(\"height\"),r=this.get(\"graph\"),o=r.get(\"width\"),i=r.get(\"height\"),a=o/i,c=r.getGroup(),u=c.getCanvasBBox(),s=[(u.minX+u.maxX)/2,(u.minY+u.maxY)/2],l=[u.maxX-u.minX,u.maxY-u.minY],f={centerX:s[0],centerY:s[1],width:0,height:0,minX:0,minY:0};u[0]/u[1]>a?(f.width=l[0],f.height=f.width/a):(f.height=l[1],f.width=f.height*a),f.minX=s[0]-f.width/2,f.minY=s[1]-f.height/2;var d=c.getMatrix();d||(d=[1,0,0,0,1,0,0,0,1]);var h=ZS[\"mat3\"].invert([1,0,0,0,1,0,0,0,1],d),p=uH({x:f.minX,y:f.minY},h),v=r.getCanvasByPoint(p.x,p.y),g=this.get(\"viewport\");g||this.initViewport();var m=o/f.width,y=m*t,b=m*n,x=t*-v.x/f.width,w=n*-v.y/f.height,O=x+y,E=w+b;x<0&&(y+=x,x=0),O>t&&(y-=O-t),w<0&&(b+=w,w=0),E>n&&(b-=E-n),this.set(\"ratio\",e);var S=\"\".concat(x,\"px\"),j=\"\".concat(w,\"px\");QB(g,{left:S,top:j,width:\"\".concat(y,\"px\"),height:\"\".concat(b,\"px\")})}},t.prototype.init=function(){this.initContainer()},t.prototype.initContainer=function(){var e=this,t=e.get(\"graph\"),n=t.get(\"width\"),r=t.get(\"height\"),o=r/n,i=e.get(\"className\"),a=e.get(\"container\"),c=e.get(\"width\"),u=e.get(\"height\");c||u||(c=200),c?(u=o*c,e.set(\"height\",u)):(c=1/o*u,e.set(\"width\",c));var s=$B(\"<div class='\".concat(i,\"' style='width: \").concat(c,\"px; height: \").concat(u,\"px; overflow: hidden; position: relative;'></div>\"));Object(GS[\"isString\"])(a)&&(a=document.getElementById(a)),a?a.appendChild(s):t.get(\"container\").appendChild(s),e.set(\"container\",s);var l=$B('<div class=\"g6-minimap-container\" style=\"position: relative; width: 100%; height: 100%; text-align: center; display: table;\"></div>');s.appendChild(l);var f=$B('<span style=\"display: table-cell; vertical-align: middle; \"></span>');l.appendChild(f),e.set(\"containerDOM\",l),e.set(\"containerSpan\",f);var d=$B('<img alt=\"\" src=\"'.concat(this.get(\"graphImg\"),'\" style=\"display: inline-block; user-select: none;\" draggable=\"false\" />'));e.set(\"imgDOM\",d),e.updateImgSize(),f.appendChild(d),e.updateCanvas()},t.prototype.updateImgSize=function(){var e=this,t=e.get(\"imgDOM\"),n=e.get(\"width\"),r=e.get(\"height\");t.onload=function(){var e=sH(t);e[0]>e[1]?t.width=n:t.height=r}},t.prototype.updateCanvas=function(){var e=this.get(\"refresh\");if(e){var t=this.get(\"graph\");if(!t.get(\"destroyed\")){this.get(\"viewportChange\")&&(this.set(\"viewportChange\",!1),this.updateViewport());var n=this.get(\"width\"),r=t.get(\"canvas\").getCanvasBBox(),o=r.width,i=n/o;this.set(\"ratio\",i),this.updateViewport()}}},t.prototype.getViewport=function(){return this.get(\"viewport\")},t.prototype.getContainer=function(){return this.get(\"container\")},t.prototype.updateGraphImg=function(e){var t=this,n=t.get(\"imgDOM\");n.remove(),t.set(\"graphImg\",e);var r=$B('<img alt=\"\" src=\"'.concat(e,'\" style=\"display: inline-block;\" ondragstart=\"return false;\" onselectstart=\"return false;\"/>'));t.set(\"imgDOM\",r),r.src=e,t.updateImgSize();var o=t.get(\"containerSpan\");o.appendChild(r),t.updateCanvas()},t.prototype.destroy=function(){var e=this.get(\"container\");e.parentNode.removeChild(e)},t}(Yz),fH=lH,dH=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),hH=function(){return hH=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},hH.apply(this,arguments)},pH=uD.distance,vH=.05,gH={stroke:\"#000\",strokeOpacity:.8,lineWidth:2,fillOpacity:1,fill:\"#fff\"},mH=function(e){function t(t){return e.call(this,t)||this}return dH(t,e),t.prototype.getDefaultCfgs=function(){return{type:\"both\",trigger:\"mousemove\",r:60,delegateStyle:Object(GS[\"clone\"])(gH),showLabel:\"edge\",scaleRBy:\"wheel\"}},t.prototype.getEvents=function(){var e;switch(this.get(\"trigger\")){case\"click\":e={click:\"filter\"};break;case\"drag\":e={click:\"createDelegate\"};break;default:e={mousemove:\"filter\"};break}return e},t.prototype.init=function(){var e=this,t=e.get(\"showLabel\"),n=\"node\"===t||\"both\"===t,r=\"edge\"===t||\"both\"===t;e.set(\"showNodeLabel\",n),e.set(\"showEdgeLabel\",r);var o=e.get(\"shouldShow\");o||e.set(\"shouldShow\",(function(){return!0}))},t.prototype.createDelegate=function(e){var t=this,n=t.get(\"delegate\");n&&!n.destroyed||(t.filter(e),n=t.get(\"delegate\"),n.on(\"dragstart\",(function(e){})),n.on(\"drag\",(function(e){t.filter(e)})),\"wheel\"===this.get(\"scaleRBy\")&&n.on(\"mousewheel\",(function(e){t.scaleRByWheel(e)})))},t.prototype.scaleRByWheel=function(e){var t=this;if(e&&e.originalEvent){e.preventDefault&&e.preventDefault();var n,r=t.get(\"graph\"),o=t.get(\"delegate\"),i=o?{x:o.attr(\"x\"),y:o.attr(\"y\")}:void 0;i||r.getPointByClient(e.clientX,e.clientY);n=e.originalEvent.wheelDelta<0?1-vH:1/(1-vH);var a=t.get(\"maxR\"),c=t.get(\"minR\"),u=t.get(\"r\");(u>(a||r.get(\"height\"))&&n>1||u<(c||.05*r.get(\"height\"))&&n<1)&&(n=1),u*=n,t.set(\"r\",u),t.filter(e)}},t.prototype.filter=function(e){var t=this,n=t.get(\"graph\"),r=n.getNodes(),o={},i=t.get(\"r\"),a=t.get(\"type\"),c={x:e.x,y:e.y};t.updateDelegate(c,i);var u=t.get(\"shouldShow\"),s=t.get(\"vShapes\");s&&s.forEach((function(e){e.remove(),e.destroy()})),s=[],r.forEach((function(e){var t=e.getModel(),n=t.x,r=t.y;pH({x:n,y:r},c)<i&&(o[t.id]=e)}));var l=n.getEdges(),f=[];l.forEach((function(e){var t=e.getModel(),n=t.source,r=t.target;u(t)&&(\"only-source\"===a||\"one\"===a?o[n]&&!o[r]&&f.push(e):\"only-target\"===a||\"one\"===a?o[r]&&!o[n]&&f.push(e):\"both\"===a&&o[n]&&o[r]&&f.push(e))}));var d=t.get(\"showNodeLabel\"),h=t.get(\"showEdgelabel\"),p=n.get(\"group\");f.forEach((function(e){var t=e.get(\"group\").get(\"children\");t.forEach((function(e){var t=e.get(\"type\"),n=p.addShape(t,{attrs:e.attr()});s.push(n),d&&\"text\"===t&&n.set(\"visible\",!0)}))})),Object.keys(o).forEach((function(e){var t=o[e],n=t.get(\"group\").clone();if(p.add(n),s.push(n),h)for(var r=n.get(\"children\"),i=0;i<r.length;i++){var a=r[i];\"text\"===a.get(\"type\")&&a.set(\"visible\",!0)}})),t.set(\"vShapes\",s)},t.prototype.updateParams=function(e){var t=this,n=e.r,r=e.trigger,o=e.minR,i=e.maxR,a=e.scaleRBy,c=e.showLabel,u=e.shouldShow;if(isNaN(e.r)||t.set(\"r\",n),isNaN(i)||t.set(\"maxR\",i),isNaN(o)||t.set(\"minR\",o),\"mousemove\"!==r&&\"click\"!==r||t.set(\"trigger\",r),\"wheel\"===a||\"unset\"===a){t.set(\"scaleRBy\",a),t.get(\"delegate\").remove(),t.get(\"delegate\").destroy();var s=t.get(\"dPercentText\");s&&(s.remove(),s.destroy())}\"node\"!==c&&\"both\"!==c||t.set(\"showNodeLabel\",!0),\"edge\"!==c&&\"both\"!==c||t.set(\"showEdgeLabel\",!0),u&&t.set(\"shouldShow\",u)},t.prototype.updateDelegate=function(e,t){var n=this,r=n.get(\"graph\"),o=n.get(\"delegate\");if(!o||o.destroyed){var i=r.get(\"group\"),a=n.get(\"delegateStyle\")||gH;o=i.addShape(\"circle\",{attrs:hH({r:t,x:e.x,y:e.y},a),name:\"lens-shape\",draggable:!0}),\"drag\"!==this.get(\"trigger\")&&\"wheel\"===this.get(\"scaleRBy\")&&o.on(\"mousewheel\",(function(e){n.scaleRByWheel(e)}))}else o.attr({x:e.x,y:e.y,r:t});n.set(\"delegate\",o)},t.prototype.clear=function(){var e=this,t=e.get(\"vShapes\");t&&t.forEach((function(e){e.remove(),e.destroy()})),t=[],e.set(\"vShapes\",t);var n=e.get(\"delegate\");n&&!n.destroyed&&(n.remove(),n.destroy())},t.prototype.destroy=function(){this.clear()},t}(Yz),yH=mH,bH=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),xH=uD.pointLineDistance,wH={stroke:\"#FA8C16\",lineWidth:1},OH=function(e){function t(t){return e.call(this,t)||this}return bH(t,e),t.prototype.getDefaultCfgs=function(){return{line:wH,itemAlignType:\"center\",tolerance:5,horizontalLines:{},verticalLines:{},alignLines:[]}},t.prototype.init=function(){},t.prototype.getEvents=function(){return{\"node:dragstart\":\"onDragStart\",\"node:drag\":\"onDrag\",\"node:dragend\":\"onDragEnd\"}},t.prototype.onDragStart=function(){this.initBoxLine()},t.prototype.onDrag=function(e){var t=e.item,n=t.get(\"delegateShape\")||t,r=n.getBBox(),o=t.getModel(),i=o.x-r.x,a=o.y-r.y;this.show({x:r.minX+i,y:r.minY+a},{width:r.width,height:r.height})},t.prototype.onDragEnd=function(){this.destory()},t.prototype.initBoxLine=function(){var e=this._cfgs,t=e.horizontalLines,n=e.verticalLines,r=e.itemAlignType,o=this.get(\"graph\"),i=o.getNodes();i.forEach((function(e){var o=e.getBBox(),i=e.get(\"id\");!0===r||\"horizontal\"===r?(t[\"\".concat(i,\"tltr\")]=[o.minX,o.minY,o.maxX,o.minY,e],t[\"\".concat(i,\"lcrc\")]=[o.minX,o.centerY,o.maxX,o.centerY,e],t[\"\".concat(i,\"blbr\")]=[o.minX,o.maxY,o.maxX,o.maxY,e]):\"center\"===r&&(t[\"\".concat(i,\"lcrc\")]=[o.minX,o.centerY,o.maxX,o.centerY,e]),!0===r||\"vertical\"===r?(n[\"\".concat(i,\"tlbl\")]=[o.minX,o.minY,o.minX,o.maxY,e],n[\"\".concat(i,\"tcbc\")]=[o.centerX,o.minY,o.centerX,o.maxY,e],n[\"\".concat(i,\"trbr\")]=[o.maxX,o.minY,o.maxX,o.maxY,e]):\"center\"===r&&(n[\"\".concat(i,\"tcbc\")]=[o.centerX,o.minY,o.centerX,o.maxY,e])}))},t.prototype.show=function(e,t){var n=Object(GS[\"mix\"])({},e);return this.itemAlign(e,t,n),e},t.prototype.itemAlign=function(e,t,n){var r=this,o=this._cfgs,i=o.horizontalLines,a=o.verticalLines,c=o.tolerance,u={x:n.x+t.width/2,y:n.y},s={x:n.x+t.width/2,y:n.y+t.height/2},l={x:n.x+t.width/2,y:n.y+t.height},f={x:n.x,y:n.y+t.height/2},d={x:n.x+t.width,y:n.y+t.height/2},h=[],p=[],v=null;if(this.clearAlignLine(),Object(GS[\"each\"])(i,(function(e){e[4].isVisible&&(h.push(r.getLineDisObject(e,u)),h.push(r.getLineDisObject(e,s)),h.push(r.getLineDisObject(e,l)))})),Object(GS[\"each\"])(a,(function(e){e[4].isVisible&&(p.push(r.getLineDisObject(e,f)),p.push(r.getLineDisObject(e,s)),p.push(r.getLineDisObject(e,d)))})),h.sort((function(e,t){return e.dis-t.dis})),p.sort((function(e,t){return e.dis-t.dis})),0!==h.length&&h[0].dis<c){e.y=h[0].line[1]-h[0].point.y+n.y,v={type:\"item\",horizontals:[h[0]]};for(var g=1;g<3;g++)h[0].dis===h[g].dis&&v.horizontals.push(h[g])}if(0!==p.length&&p[0].dis<c){e.x=p[0].line[0]-p[0].point.x+n.x,v?v.verticals=[p[0]]:v={type:\"item\",verticals:[p[0]]};for(g=1;g<3;g++)p[0].dis===p[g].dis&&v.verticals.push(p[g])}v&&(v.bbox=t,this.addAlignLine(v))},t.prototype.addAlignLine=function(e){var t=e.bbox,n=e.type,r=e.horizontals,o=e.verticals,i=this._cfgs,a=i.line,c=i.alignLines,u=this.get(\"graph\"),s=u.get(\"group\");\"item\"===n&&(r&&Object(GS[\"each\"])(r,(function(e){var n,r,o=e.line,i=e.point,u=(o[0]+o[2])/2;i.x<u?(n=i.x-t.width/2,r=Math.max(o[0],o[2])):(n=i.x+t.width/2,r=Math.min(o[0],o[2]));var l=Object(GS[\"mix\"])({x1:n,y1:o[1],x2:r,y2:o[1]},a),f=s.addShape(\"line\",{attrs:l,capture:!1});c.push(f)})),o&&Object(GS[\"each\"])(o,(function(e){var n,r,o=e.line,i=e.point,u=(o[1]+o[3])/2;i.y<u?(n=i.y-t.height/2,r=Math.max(o[1],o[3])):(n=i.y+t.height/2,r=Math.min(o[1],o[3]));var l=Object(GS[\"mix\"])({x1:o[0],y1:n,x2:o[0],y2:r},a),f=s.addShape(\"line\",{attrs:l,capture:!1});c.push(f)})))},t.prototype.getLineDisObject=function(e,t){return{line:e,point:t,dis:xH(e,t)}},t.prototype.getContainer=function(){return this.get(\"container\")},t.prototype.clearAlignLine=function(){var e=this._cfgs.alignLines;Object(GS[\"each\"])(e,(function(e){e.remove()})),e.length=0},t.prototype.destory=function(){var e=this._cfgs,t=e.horizontalLines,n=e.verticalLines,r=this.get(\"graph\"),o=r.getNodes();o.forEach((function(e){var r=e.get(\"id\");delete t[\"\".concat(r,\"tltr\")],delete t[\"\".concat(r,\"lcrc\")],delete t[\"\".concat(r,\"blbr\")],delete n[\"\".concat(r,\"tlbl\")],delete n[\"\".concat(r,\"tcbc\")],delete n[\"\".concat(r,\"trbr\")]})),this.clearAlignLine()},t}(Yz),EH=OH,SH=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),jH=function(){return jH=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},jH.apply(this,arguments)},kH=[\"click\",\"mouseenter\"],_H=function(e){function t(t){return e.call(this,t)||this}return SH(t,e),t.prototype.getDefaultCfgs=function(){return{data:{},position:\"top\",padding:8,margin:8,offsetX:0,offsetY:0,layout:\"horizontal\",flipPage:!1,containerStyle:{},align:void 0,horiSep:8,vertiSep:8,filter:{enable:!1,trigger:\"click\"}}},t.prototype.init=function(){this.formatArray(\"padding\"),this.formatArray(\"margin\");var e=this.get(\"filter\")||{},t=e.multiple;t&&\"mouseenter\"===e.trigger&&this.set(\"multiple\",!1);var n=this.get(\"align\");if(!n){var r=this.get(\"position\").split(\"-\");r.includes(\"left\")&&(n=\"left\"),n=r.includes(\"right\")?\"right\":\"center\",this.set(\"align\",n)}var o=this.get(\"graph\"),i=o.get(\"container\"),a=$B(\"<div class='g6-legend-container' style=\\\"position: absolute;\\\"></div>\");i.appendChild(a),this.set(\"container\",a);var c=this.render();QB(a,this.getContainerPos(c)),this.bindEvents()},t.prototype.getContainerPos=function(e){void 0===e&&(e=[0,0]);var t=this,n=t.get(\"graph\"),r=this.get(\"offsetX\"),o=this.get(\"offsetY\"),i=this.get(\"margin\"),a=this.get(\"position\").split(\"-\"),c={top:0,right:1,bottom:2,left:3},u=0,s=0,l={left:(n.getWidth()-e[0])/2+u,top:(n.getHeight()-e[1])/2+s};return a.forEach((function(t){var r=i[c[t]],o=t;switch(t){case\"top\":r+=s;break;case\"left\":r+=u;break;case\"bottom\":r=n.getHeight()-e[1]-r+s,o=\"top\";break;default:r=n.getWidth()-e[0]-r+u,o=\"left\";break}l[o]=r})),l.top+=o+n.getContainer().offsetTop,l.left+=r+n.getContainer().offsetLeft,Object.keys(l).forEach((function(e){l[e]=\"\".concat(l[e],\"px\")})),l},t.prototype.bindEvents=function(){var e=this,t=e.get(\"filter\");if(t&&t.enable){var n=t.trigger||\"click\";kH.includes(n)||(console.warn(\"Trigger for legend filterling must be 'click' or 'mouseenter', 'click' will take effect by default.\"),n=\"click\");var r=e.get(\"legendCanvas\");\"mouseenter\"===n?(r.on(\"node-container:mouseenter\",(function(t){return e.filterData(t)})),r.on(\"node-container:mouseleave\",(function(t){e.clearFilter(),e.clearActiveLegend()}))):(r.on(\"node-container:click\",(function(t){return e.filterData(t)})),r.on(\"click\",(function(t){t.target&&t.target.isCanvas&&t.target.isCanvas()&&(e.clearFilter(),e.clearActiveLegend())})))}},t.prototype.changeData=function(e){this.set(\"data\",e);var t=this.render();QB(this.get(\"container\"),this.getContainerPos(t))},t.prototype.activateLegend=function(e){var t=this.get(\"filter\"),n=null===t||void 0===t?void 0:t.multiple;n||this.clearActiveLegend();var r=e.get(\"parent\");r.get(\"active\")?(r.set(\"active\",!1),this.findLegendItemsByState(\"active\").length&&r.set(\"inactive\",!0)):(r.set(\"inactive\",!1),r.set(\"active\",!0)),this.findLegendItemsByState(\"active\").length?this.findLegendItemsByState(\"active\",\"all\",!1).forEach((function(e){e.set(\"inactive\",!0)})):this.clearActiveLegend();var o=(null===t||void 0===t?void 0:t.legendStateStyles)||{},i=(null===o||void 0===o?void 0:o.inactive)||{opacity:.5,\"text-shape\":{opacity:.5}},a=i[\"text-shape\"]||{};this.findLegendItemsByState(\"inactive\").forEach((function(e){var t=e.get(\"children\"),n=t[0],r=t[1];n.attr(jH(jH({},n.get(\"oriAttrs\")),i)),r.attr(jH(jH({},r.get(\"oriAttrs\")),a))}));var c=(null===o||void 0===o?void 0:o.active)||{stroke:\"#000\",lineWidth:2,\"text-shape\":{fontWeight:\"bold\"}},u=c[\"text-shape\"]||{};this.findLegendItemsByState(\"active\").forEach((function(e){var t=e.get(\"children\"),n=t[0],r=t[1];n.attr(jH(jH({},n.get(\"oriAttrs\")),c)),r.attr(jH(jH({},r.get(\"oriAttrs\")),u))}))},t.prototype.findLegendItemsByState=function(e,t,n){void 0===t&&(t=\"all\"),void 0===n&&(n=!0);var r=this.get(\"legendCanvas\").find((function(e){return\"root\"===e.get(\"name\")})),o=r.find((function(e){return\"node-group\"===e.get(\"name\")})),i=r.find((function(e){return\"edge-group\"===e.get(\"name\")}));return\"node\"===t?o.get(\"children\").filter((function(t){return!!t.get(e)===n})):\"edge\"===t?i.get(\"children\").filter((function(t){return!!t.get(e)===n})):o.get(\"children\").filter((function(t){return!!t.get(e)===n})).concat(i.get(\"children\").filter((function(t){return!!t.get(e)===n})))},t.prototype.clearActiveLegend=function(){var e=this.get(\"legendCanvas\"),t=e.find((function(e){return\"root\"===e.get(\"name\")})),n=[t.find((function(e){return\"node-group\"===e.get(\"name\")})),t.find((function(e){return\"edge-group\"===e.get(\"name\")}))];n.forEach((function(e){e.get(\"children\").forEach((function(e){e.set(\"active\",!1),e.set(\"inactive\",!1);var t=e.get(\"children\"),n=t[0],r=t[1];n.attr(n.get(\"oriAttrs\")),r.attr(r.get(\"oriAttrs\"))}))}))},t.prototype.filterData=function(e){var t=this.get(\"filter\"),n=null===t||void 0===t?void 0:t.filterFunctions;if(t&&n){var r=this.get(\"legendCanvas\"),o=this.get(\"graph\"),i=t.graphActiveState||\"active\",a=t.graphInactiveState||\"inactive\",c=t.multiple;this.clearFilter(),c||this.clearActiveLegend(),this.activateLegend(e.target);var u=r.find((function(e){return\"root\"===e.get(\"name\")})),s=u.find((function(e){return\"node-group\"===e.get(\"name\")})),l=u.find((function(e){return\"edge-group\"===e.get(\"name\")})),f=s.get(\"children\").filter((function(e){return e.get(\"active\")})),d=l.get(\"children\").filter((function(e){return e.get(\"active\")})),h=0,p=[\"getNodes\",\"getEdges\"];p.forEach((function(e){o[e]().forEach((function(t){var r=!1,c=\"getNodes\"===e?f:d;c.forEach((function(e){var o=n[e.get(\"id\")];r=r||o(t.getModel())})),r?(o.setItemState(t,a,!1),o.setItemState(t,i,!0),h++):(o.setItemState(t,i,!1),o.setItemState(t,a,!0))}))})),h||p.forEach((function(e){o[e]().forEach((function(e){o.clearItemStates(e,[a])}))}))}},t.prototype.clearFilter=function(){var e=this.get(\"graph\"),t=this.get(\"filter\");if(t){var n=t.graphActiveState||\"active\",r=t.graphInactiveState||\"inactive\";e.getNodes().forEach((function(t){e.clearItemStates(t,[n,r])})),e.getEdges().forEach((function(t){e.clearItemStates(t,[n,r])}))}},t.prototype.render=function(){var e=this;this.processData();var t=this.get(\"legendCanvas\");t?t.clear():t=new nF({container:this.get(\"container\"),width:200,height:200});var n=t.addGroup({name:\"root\"}),r=n.addGroup({name:\"node-group\"}),o=n.addGroup({name:\"edge-group\"});this.set(\"legendCanvas\",t);var i=this.get(\"itemsData\"),a=[\"nodes\",\"edges\"],c=[r,o];a.forEach((function(t,n){i[t].forEach((function(r){var o,i,a=c[n].addGroup({id:r.id,name:\"node-container\"}),u=r.type,s=e.getShapeSize(r),l=s.width,f=s.height,d=s.r,h=e.getStyle(t.substr(0,4),r);switch(r.type){case\"circle\":i={r:d,x:0,y:0};break;case\"rect\":i={width:l,height:f,x:-l/2,y:-f/2};break;case\"ellipse\":i={r1:l,r2:f,x:0,y:0};break;case\"line\":i={x1:-l/2,y1:0,x2:l/2,y2:0},u=\"line\";break;case\"quadratic\":i={path:[[\"M\",-l/2,0],[\"Q\",0,l/2,l/2,0]]},u=\"path\";break;case\"cubic\":i={path:[[\"M\",-l/2,0],[\"C\",-l/6,l/2,l/6,-l/2,l/2,0]]},u=\"path\";break;default:i={r:d,x:0,y:0};break}var p=a.addShape(u,{attrs:jH(jH({},i),h),name:\"\".concat(r.type,\"-node-keyShape\"),oriAttrs:jH({opacity:1},h)});if(r.label){var v=p.getBBox(),g=(null===(o=r.labelCfg)||void 0===o?void 0:o.style)||{},m=jH({textAlign:\"begin\",fontSize:12,textBaseline:\"middle\",fill:\"#000\",opacity:1,fontWeight:\"normal\"},g);a.addShape(\"text\",{attrs:jH({x:v.maxX+4,y:0,text:r.label},m),className:\"legend-label\",name:\"\".concat(r.type,\"-node-text\"),oriAttrs:m})}}))}));var u,s=this.get(\"padding\"),l=n.find((function(e){return\"title-container\"===e.get(\"name\")})),f={height:0,maxY:0,width:0};if(this.get(\"title\")){l||(l=n.addGroup({name:\"title-container\"}));var d={fontSize:20,fontFamily:\"Arial\",fontWeight:300,textBaseline:\"top\",textAlign:\"center\",fill:\"#000\",x:0,y:s[0]},h=this.get(\"titleConfig\")||{},p=Object.assign(d,h.style||{});u=l.addShape(\"text\",{attrs:jH({text:this.get(\"title\")},p)}),f=l.getCanvasBBox(),l.setMatrix([1,0,0,0,1,0,h.offsetX,h.offsetY,1])}this.layoutItems();var v=n.getCanvasBBox(),g=r.getCanvasBBox(),m=g.minX<0?Math.abs(g.minX)+s[3]:s[3],y=f.maxY<g.minY?Math.abs(f.maxY-g.minY)+s[0]:f.maxY+s[0],b=[1,0,0,0,1,0,m,y,1];r.setMatrix(b),v=n.getCanvasBBox();var x=[v.minX+v.width+s[1],v.minY+v.height+s[2]];if(u){h=jH({position:\"center\",offsetX:0,offsetY:0},this.get(\"titleConfig\"));f=l.getCanvasBBox();var w=l.getMatrix()||[1,0,0,0,1,0,0,0,1];\"center\"===h.position?w[6]=x[0]/2+h.offsetX:\"right\"===h.position?(w[6]=x[0]-s[3]+h.offsetX,u.attr({textAlign:\"right\"})):(w[6]=s[3]+h.offsetX,u.attr({textAlign:\"left\"})),l.setMatrix(w),f=l.getCanvasBBox(),m=g.minX<0?Math.abs(g.minX)+s[3]:s[3],y=g.minY<f.maxY?Math.abs(f.maxY-g.minY)+s[0]:f.maxY+s[0],b=[1,0,0,0,1,0,m,y,1],r.setMatrix(b);var O=[1,0,0,0,1,0,m,y,1];\"vertical\"===this.get(\"layout\")?O[6]+=g.maxX+this.get(\"horiSep\"):O[7]+=g.maxY+this.get(\"vertiSep\"),o.setMatrix(O)}else{g=r.getCanvasBBox();var E=[1,0,0,0,1,0,0,0,1];\"vertical\"===this.get(\"layout\")?E[6]+=b[6]+g.maxX+this.get(\"horiSep\"):E[7]+=b[7]+g.maxY+this.get(\"vertiSep\"),o.setMatrix(E)}v=n.getCanvasBBox(),g=r.getCanvasBBox(),b=r.getMatrix()||[1,0,0,0,1,0,0,0,1];var S=o.getMatrix()||[1,0,0,0,1,0,0,0,1],j=o.getCanvasBBox();x=[Math.max(g.width+b[6],j.width+S[6])+s[1],Math.max(g.height+b[7],j.height+S[7])+s[2]],t.changeSize(x[0],x[1]);var k=this.get(\"containerStyle\"),_=n.getMatrix()||[1,0,0,0,1,0,0,0,1],C=uD.invertMatrix({x:0,y:0},_),M=n.addShape(\"rect\",{attrs:jH({x:C.x+(k.lineWidth||1),y:C.y+(k.lineWidth||1),width:x[0]-2*(k.lineWidth||1),height:x[1]-2*(k.lineWidth||1),fill:\"#f00\",stroke:\"#000\",lineWidth:1,opacity:.5},k),name:\"legend-back-rect\",capture:!1});return M.toBack(),x},t.prototype.layoutItems=function(){var e=this.get(\"legendCanvas\"),t=this.get(\"horiSep\"),n=this.get(\"vertiSep\"),r=this.get(\"layout\"),o=this.get(\"align\"),i=[0,0],a=e.find((function(e){return\"root\"===e.get(\"name\")})),c=a.find((function(e){return\"node-group\"===e.get(\"name\")})),u=a.find((function(e){return\"edge-group\"===e.get(\"name\")})),s={min:0,max:-1/0},l=-1/0;c.get(\"children\").forEach((function(e,o){0===o&&(s.min=i[0]);var a=e.get(\"children\")[0],c=e.getCanvasBBox(),u=a.getBBox(),f=u.width,d=u.height,h=0,p=0,v=0;\"vertical\"===r?(p=i[1],v=i[0]+f/2,i[0]=v+c.height+n,h=c.maxX+p+f/2):(p=i[0]+f/2,v=i[1],i[0]=p+c.width+t,h=c.maxY+v+d/2),i[0]>s.max&&(s.max=i[0]),h>l&&(l=h),e.setMatrix([1,0,0,0,1,0,p,v,1])}));var f=s.max-s.min,d={min:0,max:-1/0},h=c.getCanvasBBox();i[0]=0,i[1]=\"vertical\"===r?h.maxX+t:h.maxY+n,u.get(\"children\").forEach((function(e,o){0===o&&(d.min=i[0]);var a=e.get(\"children\")[0],c=e.getCanvasBBox(),u=a.getBBox(),s=u.width,l=u.height,f=0,h=0;\"vertical\"===r?(f=i[1],h=i[0],i[0]=h+c.height+n,e.setMatrix([1,0,0,0,1,0,0,h+l/2,1])):(f=i[0],h=i[1],i[0]=f+c.width+t,e.setMatrix([1,0,0,0,1,0,f+s/2,0,1])),i[0]>d.max&&(d.max=i[0])}));var p=d.max-d.min;if(o&&\"\"!==o&&\"left\"!==o){var v=f-p,g=\"center\"===o?Math.abs(v)/2:Math.abs(v),m=v<0?c:u;m.get(\"children\").forEach((function(e){var t=e.getMatrix()||[1,0,0,0,1,0,0,0,1];\"vertical\"===r?t[7]+=g:t[6]+=g,e.setMatrix(t)}))}},t.prototype.processData=function(){var e=this.get(\"data\"),t={nodes:[],edges:[]};e.nodes&&(e.nodes.sort((function(e,t){return e.order-t.order})),e.nodes.forEach((function(e){var n,r,o,i,a,c=e.size||[(null===(n=e.style)||void 0===n?void 0:n.width)||(null===(r=e.style)||void 0===r?void 0:r.r)||8,(null===(o=e.style)||void 0===o?void 0:o.height)||(null===(i=e.style)||void 0===i?void 0:i.r)||8],u=(null===(a=e.labelCfg)||void 0===a?void 0:a.style)||{};t.nodes.push({id:e.id||Object(GS[\"uniqueId\"])(),type:e.type||\"circle\",style:jH({},e.style),order:e.order,label:e.label,itemType:\"node\",size:c,labelCfg:{position:\"right\",style:jH({fontFamily:\"Arial\"},u)}})}))),e.edges&&(e.edges.sort((function(e,t){return e.order-t.order})),e.edges.forEach((function(e){var n,r,o=e.type||\"line\";\"cubic-horizontal\"===e.type&&(o=\"cubic\");var i=(null===(n=e.labelCfg)||void 0===n?void 0:n.style)||{},a=e.size||[(null===(r=e.style)||void 0===r?void 0:r.width)||8,1];t.edges.push({id:e.id||Object(GS[\"uniqueId\"])(),type:o,size:a,style:jH({lineWidth:Object(GS[\"isArray\"])(a)?a[1]:1},e.style),order:e.order,label:e.label,itemType:\"edge\",labelCfg:{position:\"right\",style:jH({fontFamily:\"Arial\"},i)}})}))),this.set(\"itemsData\",t)},t.prototype.getContainer=function(){return this.get(\"container\")},t.prototype.formatArray=function(e){var t=this.get(e);if(Object(GS[\"isNumber\"])(t))this.set(e,[t,t,t,t]);else if(Object(GS[\"isArray\"])(t))switch(t.length){case 0:this.set(e,[0,0,0,0]);break;case 1:this.set(e,[t[0],t[0],t[0],t[0]]);break;case 2:this.set(e,[t[0],t[1],t[0],t[1]]);break;case 3:this.set(e,[t[0],t[1],t[2],t[1]]);break;default:break}return this.get(e)},t.prototype.getShapeSize=function(e){var t,n,r;return e.size&&(Object(GS[\"isArray\"])(e.size)?(t=e.size[0],n=e.size[1]||e.size[0],r=e.size[0]/2):Object(GS[\"isNumber\"])(e.size)&&(t=e.size,n=e.size,r=e.size/2)),e.style&&(e.style.width&&(t=e.style.width),e.style.height&&(n=e.style.height),e.style.r&&(r=e.style.r)),r||(r=5),t||(t=r),n||(n=r),{width:t,height:n,r:r}},t.prototype.getStyle=function(e,t){var n=\"node\"===e?{fill:\"#ccc\",lineWidth:0}:{stroke:\"#000\",lineWidth:1};return jH(jH({},n),t.style||{})},t.prototype.destroy=function(){var e=this.get(\"legendCanvas\");null===e||void 0===e||e.destroy();var t=this.get(\"graph\"),n=t.get(\"container\"),r=this.get(\"container\");n.removeChild(r)},t}(Yz),CH=_H,MH=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),AH=function(){return AH=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},AH.apply(this,arguments)},NH=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};\"undefined\"!==typeof document&&Qz()(\"\\n  .g6-annotation-container {\\n    background-color: rgba(255, 255, 255, 0.3);\\n    padding: 8px;\\n  }\\n  .g6-annotation-wrapper {\\n    background-color: #fff;\\n    box-shadow: 0 0 8px rgba(0, 0, 0, 0.85);\\n  }\\n  .g6-annotation-header-wapper {\\n    height: fit-content;\\n    width: 100%;\\n    background-color: #5B8FF9;\\n    display: inline-flex;\\n    cursor: move;\\n  }\\n  .g6-annotation-title {\\n    margin: 4px 40px 4px 8px;\\n    cursor: text;\\n    min-width: 32px;\\n  }\\n  .g6-annotation-collapse {\\n    margin: 4px;\\n    cursor: pointer;\\n  }\\n  .g6-annotation-expand {\\n    margin: 4px;\\n    cursor: pointer;\\n  }\\n  .g6-annotation-close {\\n    margin: 4px 8px 4px 0;\\n    cursor: pointer;\\n  }\\n  .g6-annotation-content {\\n    padding: 8px;\\n    width: fit-content;\\n    cursor: text;\\n    word-break: break-all;\\n    min-width: 32px;\\n  }\\n  .g6-annotation-title-input-wrapper {\\n    margin: 4px 40px 4px 8px;\\n  }\\n  .g6-annotation-content-input {\\n    height: 100%;\\n    word-break: break-all;\\n  }\\n  .g6-annotation-content-input-wrapper {\\n    margin: 8px;\\n    height: 100%;\\n  }\\n\");var TH=\"canvas-annotation\",IH=function(e){function t(t){return e.call(this,t)||this}return MH(t,e),t.prototype.getDefaultCfgs=function(){return{trigger:\"click\",editable:!0,itemHighlightState:\"highlight\",linkHighlightStyle:{shadowColor:\"#5B8FF9\",shadowBlur:10},cardCfg:{minHeight:60,width:\"fit-content\",height:\"fit-content\",collapseType:\"minimize\",closeType:\"hide\",borderRadius:5,maxTitleLength:20}}},t.prototype.getEvents=function(){var e={viewportchange:\"updateLinks\",afterlayout:\"updateLinks\",aftergraphrefreshposition:\"updateLinks\",afterupdateitem:\"updateLink\",afterchangedata:\"onGraphDataChange\",afteritemvisibilitychange:\"onGraphItemVisibilityChange\"};switch(this.get(\"trigger\")){case\"click\":e=AH(AH({},e),{\"node:click\":\"showAnnotation\",\"edge:click\":\"showAnnotation\"})}return e},t.prototype.getDOMContent=function(e){if(!this.destroyed){var t=e.collapsed,n=e.maxWidth,r=e.title,o=void 0===r?\"\":r,i=e.content,a=void 0===i?\"\":i,c=e.borderRadius,u=void 0===c?5:c,s=t?\"<p class='g6-annotation-expand'>+</p>\":\"<p class='g6-annotation-collapse'>-</p>\",l=t?\"\":\" <p class='g6-annotation-content'>\".concat(a,\"</p>\"),f=\"<p class='g6-annotation-close'>x</p>\",d=t?\"\".concat(u,\"px\"):\"\".concat(u,\"px \").concat(u,\"px 0 0\");return'<div class=\"g6-annotation-wrapper\" style=\"border-radius: '.concat(u,\"px; max-width: \").concat(n,'px\">\\n        <div\\n          class=\"g6-annotation-header-wapper\"\\n          style=\"border-radius: ').concat(d,\";\\\"\\n        >\\n          <h4 class='g6-annotation-title'>\").concat(o,\"</h4>\\n          \").concat(s,\"\\n          \").concat(f,\"\\n        </div>\\n        \").concat(l,\"\\n      </div>\")}},t.prototype.init=function(){var e=this;if(!e.destroyed){var t=e.get(\"graph\"),n=t.getContainer(),r=e.get(\"container\"),o=this.get(\"containerCfg\");o?(r=this.createContainer(),n.appendChild(r)):r=n,this.set(\"container\",r);var i=n.getBoundingClientRect(),a=new nF({container:n,width:i.right-i.left,height:i.bottom-i.top});QB(a.get(\"el\"),{position:\"absolute\",top:0,left:0,pointerEvents:\"none\"}),window.addEventListener(\"resize\",Object(GS[\"debounce\"])((function(){return e.resizeCanvas(e)}),100));var c=a.addGroup({id:\"annotation-link-group\"});e.set(\"linkGroup\",c),e.set(\"canvas\",a),e.get(\"getTitle\")||e.set(\"getTitle\",(function(e){var t,n=(null===(t=null===e||void 0===e?void 0:e.getModel)||void 0===t?void 0:t.call(e))||{},r=n.label,o=n.id;return r||o||\"-\"})),e.get(\"getContent\")||e.set(\"getContent\",(function(e){var t,n;if(!e)return\"-\";var r=(null===(t=e.getModel)||void 0===t?void 0:t.call(e))||{},o=r.label,i=r.id,a=null===(n=e.getType)||void 0===n?void 0:n.call(e),c=a?\"\".concat(a,\": \"):\"\";return\"\".concat(c).concat(o||i||\"\")}));var u=e.get(\"defaultData\");u&&this.readData(u)}},t.prototype.createContainer=function(){var e=this;if(!this.destroyed){var t=this.get(\"containerCfg\"),n=this.get(\"graph\"),r=n.getContainer(),o=r.getBoundingClientRect(),i=o.left,a=o.right,c=o.top,u=o.bottom,s=u-c,l=a-i,f=t.position,d=void 0===f?\"top\":f,h=t.offsetX,p=void 0===h?0:h,v=t.offsetY,g=void 0===v?0:v,m=NH(t,[\"position\",\"offsetX\",\"offsetY\"]),y=t.height,b=void 0===y?\"fit-content\":y,x=t.width,w=void 0===x?n.getWidth():x;\"100%\"===b&&(b=s),\"100%\"===w&&(w=l);var O=\"unset\",E=\"unset\",S={};switch(d){case\"right\":O=\"\".concat(s,\"px\"),S={top:0,right:0},S.right+=i+p,S.top+=c+g;break;case\"bottom\":E=\"\".concat(l,\"px\"),S={bottom:0,left:0},S.left+=i+p,S.bottom+=c+g;break;case\"top\":E=\"\".concat(l,\"px\");case\"left\":O=\"\".concat(s,\"px\");default:S={top:0,left:0},S.left+=i+p,S.top+=c+g;break}Object.keys(S).forEach((function(e){S[e]=\"\".concat(S[e],\"px\")}));var j=$B(\"<div class='\".concat(t.className,\" g6-annotation-container'></div>\"));return QB(j,AH(AH({position:\"absolute\",display:\"top\"===d||\"bottom\"===d?\"inline-flex\":\"unset\",width:Object(GS[\"isNumber\"])(w)?\"\".concat(w,\"px\"):w,height:Object(GS[\"isNumber\"])(b)?\"\".concat(b,\"px\"):b,maxHeight:O,maxWidth:E,overflow:\"scroll\"},S),m)),r.appendChild(j),j.addEventListener(\"scroll\",(function(t){e.updateLinks()})),j}},t.prototype.resizeCanvas=function(e){clearTimeout(e.resizeTimer),e.resizeTimer=setTimeout((function(){if(e&&!e.destroyed){var t=e.get(\"container\").getBoundingClientRect(),n=t.right-t.left,r=t.bottom-t.top;e.get(\"canvas\").changeSize(n,r),e.updateOutsideCards(e)}}),250)},t.prototype.updateOutsideCards=function(e){var t=e||this,n=t.get(\"cardInfoMap\")||{},r=t.get(\"graph\"),o=r.getPointByCanvas(0,0),i=r.getPointByCanvas(r.getWidth(),r.getHeight()),a=r.getClientByPoint(o.x,o.y),c=a.x,u=a.y,s=r.getClientByPoint(i.x,i.y),l=s.x,f=s.y;Object.values(n).forEach((function(e){var t=e.card;if(t){var n=t.style,r=RH(n.left),o=RH(n.top),i=t.getBoundingClientRect(),a=i.width,s=i.height,d=r,h=o;r+a>l-c&&(d=l-c-a),r<0&&(d=0),o+s>f-u&&(h=f-u-s),o<0&&(h=0),QB(t,{left:\"\".concat(d,\"px\"),top:\"\".concat(h,\"px\")})}})),t.updateLinks()},t.prototype.showAnnotation=function(e){if(!this.destroyed){var t=e.item;this.toggleAnnotation(t)}},t.prototype.hideCards=function(){var e=this;if(!e.destroyed){var t=e.get(\"cardInfoMap\")||{};Object.keys(t).forEach((function(t){e.hideCard(t)}))}},t.prototype.toggleAnnotation=function(e,t){var n,r;void 0===t&&(t={});var o=this;if(!o.destroyed){var i=o.get(\"cardInfoMap\")||{},a=o.get(\"graph\"),c=o.get(\"container\"),u=o.get(\"containerCfg\"),s=Object.assign({},o.get(\"cardCfg\")||{},t),l=s.minHeight,f=s.minWidth,d=s.width,h=s.height,p=s.collapsed,v=void 0!==p&&p,g=s.x,m=s.y,y=s.title,b=s.content,x=s.maxTitleLength,w=s.defaultBegin,O=NH(s,[\"minHeight\",\"minWidth\",\"width\",\"height\",\"collapsed\",\"x\",\"y\",\"title\",\"content\",\"maxTitleLength\",\"defaultBegin\"]),E=o.get(\"linkGroup\"),S=this.get(\"rows\")||[[]],j=null===(n=e.isCanvas)||void 0===n?void 0:n.call(e),k=j?TH:e.getID(),_=i[k]||{},C=_.card,M=_.link,A=_.x,N=_.y,T=_.title,I=_.content,P=this.get(\"getTitle\"),L=this.get(\"getContent\"),D=this.get(\"getContentPlaceholder\")||function(){return\"\"},R=this.get(\"getTitlePlaceHolder\")||function(){return\"\"},F=D(e),B=R(e),z=$B(this.getDOMContent(AH({itemId:k,collapsed:v,title:(null===(r=T||y||(null===P||void 0===P?void 0:P(e)))||void 0===r?void 0:r.substr(0,x))||B,content:I||b||(null===L||void 0===L?void 0:L(e))||F},O))),U=Object(GS[\"isNumber\"])(l)?\"\".concat(l,\"px\"):l;QB(z,{minHeight:v?\"unset\":U,minWidth:Object(GS[\"isNumber\"])(f)?\"\".concat(f,\"px\"):f,height:h,width:d});var G,V=!!C;if(V?(null===M||void 0===M||M.remove(!0),c.replaceChild(z,C)):c.appendChild(z),!u){if(G=c.getBoundingClientRect()||{},void 0!==g&&void 0!==m)A=g,N=m;else if(!V&&!j){var W=G.top,H=w||{},Y=H.left,X=H.right,q=void 0===X?16:X,K=H.top,Z=void 0===K?8:K,$=H.bottom,Q=q,J=Z;isNaN(Y)||(Q=c.scrollWidth-Y),isNaN($)||(J=c.scrollHeight-$);var ee=Object(GS[\"isNumber\"])(f)?f:100;A=c.scrollWidth-z.scrollWidth-(S.length-1)*ee-Q;var te=S[S.length-1],ne=(te[te.length-1]||{}).bbox;N=(null===ne||void 0===ne?void 0:ne.bottom)-W||J}QB(z,{position:\"absolute\",left:\"\".concat(A,\"px\"),top:\"\".concat(N,\"px\"),cusor:u?\"unset\":\"move\"})}this.bindListener(z,k);var re=z.getBoundingClientRect();if(!j){var oe=DH(e,re,a,this.get(\"canvas\")),ie=this.get(\"linkStyle\");M=E.addShape(\"path\",{attrs:AH({lineWidth:1,lineDash:[5,5],stroke:\"#ccc\",path:oe},ie)})}if(i[k]=AH(AH({},i[k]||{}),{id:k,collapsed:v,card:z,link:M,x:A,y:N,cardBBox:re,content:I||b,title:T||y,contentPlaceholder:F,titlePlaceholder:B,isCanvas:j}),o.set(\"cardInfoMap\",i),u)this.updateCardPositionsInConatainer(),this.updateLinks();else{var ae=!isNaN(g)&&!isNaN(m);if(!V&&!j&&!ae){var ce=G.bottom,ue=void 0===ce?0:ce;W=G.top;S[S.length-1].push({id:k,bbox:re}),re.top>ue-W-re.height-16&&S.push([]),this.set(\"rows\",S)}}this.updateCardSize(k);var se=this.get(\"onAnnotationChange\");null===se||void 0===se||se(i[k],V?\"update\":\"create\")}},t.prototype.updateCardPositionsInConatainer=function(){if(!this.destroyed){var e=this.get(\"cardInfoMap\");if(e){var t=this.get(\"container\"),n=this.get(\"containerCfg\").position,r=t.getBoundingClientRect().width,o=getComputedStyle(t),i=RH(o[\"paddingLeft\"])+RH(o[\"paddingRight\"]);r-=i,Object.values(e).forEach((function(e){var t=e.card,o=t.getBoundingClientRect().width;switch(n){case\"right\":QB(t,{marginLeft:r?\"\".concat(r-o,\"px\"):\"0px\"});break;case\"top\":case\"bottom\":QB(t,{marginLeft:\"8px\"});default:break}}))}}},t.prototype.handleExpandCollapseCard=function(e){if(!this.destroyed){var t=this.get(\"graph\"),n=this.get(\"cardInfoMap\");if(n){var r=n[e].collapsed,o=t.findById(e);if(o){var i=this.get(\"cardCfg\").collapseType;\"hide\"!==i||r?this.toggleAnnotation(o,{collapsed:!r}):this.hideCard(e),n[e]=AH(AH({},n[e]),{collapsed:!r})}}}},t.prototype.hideCard=function(e){if(!this.destroyed){var t=this.get(\"cardInfoMap\");if(t&&t[e]){var n=t[e],r=n.card,o=n.link;QB(r,{display:\"none\"}),null===o||void 0===o||o.hide();var i=this.get(\"onAnnotationChange\");i(t[e],\"hide\")}}},t.prototype.removeCard=function(e){if(!this.destroyed){var t=this.get(\"cardInfoMap\");if(t){var n=t[e],r=n.card,o=n.link,i=this.get(\"container\");i.removeChild(r),null===o||void 0===o||o.remove(!0),delete t[e];var a=this.get(\"onAnnotationChange\");a(n,\"remove\")}}},t.prototype.bindListener=function(e,t){var n=this;if(!this.destroyed){e.addEventListener(\"mousemove\",(function(e){var r;if(\"g6-annotation-collapse\"===e.target.className?r=\"collapse\":\"g6-annotation-expand\"===e.target.className?r=\"expand\":\"g6-annotation-close\"===e.target.className&&(r=\"close\"),r){var o=n.get(\"cardCfg\").onMouseEnterIcon,i=void 0===o?function(){}:o;i(e,t,r)}})),e.addEventListener(\"mouseout\",(function(e){var r;if(\"g6-annotation-collapse\"===e.target.className?r=\"collapse\":\"g6-annotation-expand\"===e.target.className?r=\"expand\":\"g6-annotation-close\"===e.target.className&&(r=\"close\"),r){var o=n.get(\"cardCfg\").onMouseLeaveIcon,i=void 0===o?function(){}:o;i(e,t,r)}})),e.addEventListener(\"mouseenter\",(function(e){var r=n.get(\"cardInfoMap\");if(r){var o=n.get(\"graph\"),i=o.findById(t);if(i){var a=n.get(\"itemHighlightState\");o.setItemState(i,a,!0)}var c=r[t].link;if(c){var u=n.get(\"linkHighlightStyle\")||{};c.attr(u)}}})),e.addEventListener(\"mouseleave\",(function(e){var r=n.get(\"cardInfoMap\");if(r){var o=n.get(\"graph\"),i=o.findById(t);if(i){var a=n.get(\"itemHighlightState\");o.setItemState(i,a,!1)}var c=r[t].link;if(c){var u=n.get(\"linkHighlightStyle\")||{};Object.keys(u).forEach((function(e){c.attr(e,void 0),c.attr(e,void 0)}));var s=n.get(\"linkStyle\");c.attr(s)}}})),e.addEventListener(\"click\",(function(e){var r=(n.get(\"cardCfg\")||{}).onClickIcon;if(\"g6-annotation-collapse\"===e.target.className||\"g6-annotation-expand\"===e.target.className){var o=n.get(\"cardCfg\").collapseType;\"hide\"===o?n.hideCard(t):n.handleExpandCollapseCard(t),null===r||void 0===r||r(e,t,\"g6-annotation-collapse\"===e.target.className?\"collapse\":\"expand\")}else if(\"g6-annotation-close\"===e.target.className){var i=n.get(\"cardCfg\").closeType;\"remove\"===i?n.removeCard(t):n.hideCard(t),null===r||void 0===r||r(e,t,\"close\")}}));var r=this.get(\"editable\");r&&e.addEventListener(\"dblclick\",(function(e){var r=n.get(\"cardInfoMap\"),o=(n.get(\"cardCfg\")||{}).maxTitleLength,i=void 0===o?20:o;if(r){var a=e.target,c=a.className;if(\"g6-annotation-title\"===c||\"g6-annotation-content\"===c){var u=\"g6-annotation-title\"===c?a.getBoundingClientRect():a.parentNode.getBoundingClientRect(),s=u.width,l=u.height,f=getComputedStyle(a),d=\"g6-annotation-title\"===c?\"input\":\"textarea\",h=$B(\"<\".concat(d,' class=\"').concat(c,'-input\" type=\"textarea\" style=\"width:').concat(s,\"px; height: \").concat(l,'px; min-width: 16px;\"/>')),p=$B('<div class=\"'.concat(c,'-input-wrapper\" style=\"width: ').concat(s,\"px; height: \").concat(l,\"px; min-width: 16px; margin-right: \").concat(f[\"marginRight\"],'\" />'));p.appendChild(h),a.parentNode.replaceChild(p,a);var v=r[t],g=v.contentPlaceholder,m=v.titlePlaceholder,y=v.content,b=v.title,x=y;\"g6-annotation-title\"===c?(h.name=\"title\",h.maxLength=i,x=b):h.name=\"content\",x?(h.innerHTML=a.innerHTML,h.value=a.innerHTML):h.placeholder=\"g6-annotation-title\"===c?m:g,h.focus(),h.addEventListener(\"blur\",(function(e){h.value&&(a.innerHTML=h.value,v[h.name||\"title\"]=h.value),p.parentNode.replaceChild(a,p),n.updateCardSize(t);var r=n.get(\"onAnnotationChange\");null===r||void 0===r||r(v,\"update\")}))}}}));var o=[\"g6-annotation-title\",\"g6-annotation-content\",\"g6-annotation-title-input\",\"g6-annotation-content-input\"];e.draggable=!0,e.addEventListener(\"dragstart\",(function(t){var r=t.target.className;if(!o.includes(r)){var i=e.style;n.set(\"dragging\",{card:e,x:t.clientX,y:t.clientY,left:RH(i.left),top:RH(i.top)})}})),e.addEventListener(\"drag\",(function(e){e.preventDefault();var r=n.get(\"cardInfoMap\");if(r){var o=e.clientX,i=e.clientY,a=n.get(\"dragging\");if(!isNaN(o)&&!isNaN(i)&&a){var c=a.x,u=a.y,s=a.left,l=a.top,f=a.card,d=o-c,h=i-u;s+=d,l+=h;var p=n.get(\"graph\"),v=p.getPointByCanvas(0,0),g=p.getPointByCanvas(p.getWidth(),p.getHeight()),m=p.getClientByPoint(v.x,v.y),y=m.x,b=m.y,x=p.getClientByPoint(g.x,g.y),w=x.x,O=x.y,E=f.getBoundingClientRect(),S=E.right-E.left,j=E.bottom-E.top;(s>w-y-S&&d>0||s<0&&d<0)&&(s-=d),(l>O-b-j&&h>0||l<0&&h<0)&&(l-=h),QB(f,{left:\"\".concat(s,\"px\"),top:\"\".concat(l,\"px\"),visibility:\"hidden\"}),c=o,u=i;var k=(r[t]||{}).link;if(k){var _=p.findById(t);k.attr(\"path\",DH(_,E,p,n.get(\"canvas\")))}n.set(\"dragging\",{x:c,y:u,left:s,top:l,card:f})}}}));var i=function(e){var r=n.get(\"cardInfoMap\");if(r){var o=n.get(\"dragging\");if(o){var i=o.left,a=o.top,c=o.card;r[t].x=i,r[t].y=a,QB(c,{visibility:\"visible\"}),n.set(\"dragging\",!1);var u=n.get(\"rows\");null===u||void 0===u||u.forEach((function(e){for(var n=e.length-1;n>=0;n--)e[n].id===t&&e.splice(n,1)}));var s=n.get(\"onAnnotationChange\");null===s||void 0===s||s(r[t],\"update\")}}};e.addEventListener(\"dragend\",i)}},t.prototype.updateCardSize=function(e){var t=this.get(\"cardInfoMap\");if(t){var n=t[e].card,r=n.getBoundingClientRect().width,o=n.getElementsByClassName(\"g6-annotation-title\")[0];if(o){var i=getComputedStyle(o),a=RH(i[\"marginLeft\"]),c=o.getBoundingClientRect().width;QB(o,{marginRight:\"\".concat(r-a-24-16-c,\"px\")})}}},t.prototype.updateLink=function(e){var t=e.item;if(t){var n=this.get(\"cardInfoMap\");if(n){var r=this.get(\"canvas\"),o=this.get(\"graph\"),i=t.getID(),a=n[i]||{},c=a.link,u=a.card;if(c){var s=DH(t,u.getBoundingClientRect(),o,r);c.attr(\"path\",s)}}}},t.prototype.updateLinks=function(){var e=this;if(!this.destroyed){var t=this.get(\"cardInfoMap\");if(t){var n=this.get(\"graph\");Object.values(t).forEach((function(t){var r=t.id,o=n.findById(r);e.updateLink({item:o})}))}}},t.prototype.onGraphDataChange=function(){var e=this,t=this.get(\"cardInfoMap\");if(t){var n=this.get(\"graph\");Object.values(t).forEach((function(t){var r=t.id,o=t.card,i=t.isCanvas;if(o&&!i&&\"none\"!==o.style.display){var a=n.findById(r);a&&a.isVisible()?e.toggleAnnotation(a):e.hideCard(r)}}))}},t.prototype.onGraphItemVisibilityChange=function(e){var t=e.item,n=e.visible;if(t&&!t.destroyed){var r=this.get(\"cardInfoMap\");if(r){var o=t.getID();r[o]&&(n||this.hideCard(o))}}},t.prototype.saveData=function(e){void 0===e&&(e=!1);var t=this.get(\"cardInfoMap\");if(t){var n=this.get(\"graph\"),r=this.get(\"getTitle\"),o=this.get(\"getContent\"),i=[];return Object.values(t).forEach((function(t){var a=t.title,c=t.content,u=t.x,s=t.y,l=t.id,f=t.collapsed,d=t.card;if(!d||\"none\"!==d.style.display||e){var h=n.findById(l)||n.get(\"canvas\");i.push({id:l,x:u,y:s,collapsed:f,title:a||(null===r||void 0===r?void 0:r(h)),content:c||(null===o||void 0===o?void 0:o(h)),visible:d&&\"none\"!==d.style.display})}})),i}},t.prototype.readData=function(e){var t=this,n=this.get(\"graph\");e.forEach((function(e){var r=e.id,o=e.x,i=e.y,a=e.title,c=e.content,u=e.collapsed,s=e.visible,l=n.findById(r);if(l||r!==TH||(l=n.get(\"canvas\")),!l){var f=t.get(\"cardInfoMap\")||{};return f[r]=e,void t.set(\"cardInfoMap\",f)}t.toggleAnnotation(l,{x:o,y:i,title:a,content:c,collapsed:u}),s||t.hideCard(r)}))},t.prototype.clear=function(){var e=this.get(\"cardInfoMap\");if(e){var t=this.get(\"container\");Object.values(e).forEach((function(e){var n=e.card,r=e.link;t.removeChild(n),null===r||void 0===r||r.remove(!0)})),this.set(\"cardInfoMap\",{})}},t.prototype.destroy=function(){var e;this.clear(),null===(e=this.get(\"canvas\"))||void 0===e||e.destroy();var t=this.get(\"graph\");t&&!t.destroyed&&(this.get(\"containerCfg\")&&t.getContainer().removeChild(this.get(\"container\")),this.destroyed=!0)},t}(Yz),PH=IH,LH=function(e,t){var n,r,o=1/0;Object.keys(e).forEach((function(i){var a=e[i];Object.keys(t).forEach((function(e){var c=t[e],u=a.x-c.x,s=a.y-c.y,l=u*u+s*s;o>l&&(o=l,n=a,r=c,[i,e])}))}));var i=20,a=uD.getControlPoint(n,r,.5,i);return[[\"M\",n.x,n.y],[\"Q\",a.x,a.y,r.x,r.y]]},DH=function(e,t,n,r){var o,i,a=e.getType();if(\"edge\"===a)i=[e.getKeyShape().getPoint(.5)];else{var c=null===(o=e.getKeyShape)||void 0===o?void 0:o.call(e).getBBox(),u=c.minX,s=c.minY,l=c.maxX,f=c.maxY,d=e.getModel(),h=d.x,p=d.y;u+=h,s+=p,l+=h,f+=p,i={left:{x:u,y:(s+f)/2},right:{x:l,y:(s+f)/2},top:{x:(u+l)/2,y:s},bottom:{x:(u+l)/2,y:f}}}Object.keys(i).forEach((function(e){var t=i[e],o=t.x,a=t.y,c=n.getClientByPoint(o,a);i[e]=r.getPointByClient(c.x,c.y)}));var v=t.top,g=void 0===v?0:v,m=t.left,y=void 0===m?0:m,b=t.right,x=void 0===b?0:b,w=t.bottom,O=void 0===w?0:w,E={left:r.getPointByClient(y,(g+O)/2),right:r.getPointByClient(x,(g+O)/2),top:r.getPointByClient((y+x)/2,g),bottom:r.getPointByClient((y+x)/2,O)};return LH(i,E)},RH=function(e){return Number(e.replace(/\\s+|px/gi,\"\"))||0},FH={PluginBase:Yz,Menu:tU,Grid:Zz,Minimap:fU,Bundling:mU,ToolBar:CU,Tooltip:NU,Fisheye:EU,TimeBar:aH,ImageMinimap:fH,EdgeFilterLens:yH,SnapLine:EH,Legend:CH,Annotation:PH},BH=FH,zH=BH;hD(\"circle\",{options:{size:mD.defaultNode.size,style:{x:0,y:0,stroke:mD.defaultNode.style.stroke,fill:mD.defaultNode.style.fill,lineWidth:mD.defaultNode.style.lineWidth},labelCfg:{style:{fill:mD.nodeLabel.style.fill,fontSize:mD.nodeLabel.style.fontSize,fontFamily:mD.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:mD.defaultNode.linkPoints.size,lineWidth:mD.defaultNode.linkPoints.lineWidth,fill:mD.defaultNode.linkPoints.fill,stroke:mD.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(US[\"__assign\"])({},mD.nodeStateStyles)},shapeType:\"circle\",labelPosition:\"center\",drawShape:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).icon,r=void 0===n?{}:n,o=this.getShapeStyle(e),i=Object(GS[\"deepMix\"])({},r,e.icon),a=\"\".concat(this.type,\"-keyShape\"),c=t.addShape(\"circle\",{attrs:o,className:a,name:a,draggable:!0});t[\"shapeMap\"][a]=c;var u=i.width,s=i.height,l=i.show,f=i.text;if(l){var d=\"\".concat(this.type,\"-icon\");t[\"shapeMap\"][d]=f?t.addShape(\"text\",{attrs:Object(US[\"__assign\"])({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},i),className:d,name:d,draggable:!0}):t.addShape(\"image\",{attrs:Object(US[\"__assign\"])({x:-u/2,y:-s/2},i),className:d,name:d,draggable:!0})}return this.drawLinkPoints(e,t),c},drawLinkPoints:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).linkPoints;if(n){var r=n||{},o=r.top,i=r.left,a=r.right,c=r.bottom,u=r.size,s=r.r,l=Object(US[\"__rest\"])(r,[\"top\",\"left\",\"right\",\"bottom\",\"size\",\"r\"]),f=this.getSize(e),d=f[0]/2;if(i){var h=\"link-point-left\";t[\"shapeMap\"][h]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:-d,y:0,r:u/2||s||5}),className:h,name:h,isAnchorPoint:!0})}if(a){var p=\"link-point-right\";t[\"shapeMap\"][p]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:d,y:0,r:u/2||s||5}),className:p,name:p,isAnchorPoint:!0})}if(o){var v=\"link-point-top\";t[\"shapeMap\"][v]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:0,y:-d,r:u/2||s||5}),className:v,name:v,isAnchorPoint:!0})}if(c){var g=\"link-point-bottom\";t[\"shapeMap\"][g]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:0,y:d,r:u/2||s||5}),className:g,name:g,isAnchorPoint:!0})}}},getShapeStyle:function(e){var t=(this.mergeStyle||this.getOptions(e)).style,n={stroke:e.color},r=Object(GS[\"deepMix\"])({},t,n),o=this.getSize(e),i=o[0]/2,a=Object(US[\"__assign\"])({x:0,y:0,r:i},r);return a},update:function(e,t,n){var r=t.getContainer(),o=this.getSize(e),i=Object(US[\"__assign\"])({},e.style);void 0===e.style.stroke&&e.color&&(i.stroke=e.color),void 0!==e.style.r||isNaN(o[0])||(i.r=o[0]/2),this.updateShape(e,t,i,!0,n),this.updateLinkPoints(e,r)}},\"single-node\"),hD(\"rect\",{options:{size:[100,30],style:{radius:0,stroke:mD.defaultNode.style.stroke,fill:mD.defaultNode.style.fill,lineWidth:mD.defaultNode.style.lineWidth},labelCfg:{style:{fill:mD.nodeLabel.style.fill,fontSize:mD.nodeLabel.style.fontSize,fontFamily:mD.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:mD.defaultNode.linkPoints.size,lineWidth:mD.defaultNode.linkPoints.lineWidth,fill:mD.defaultNode.linkPoints.fill,stroke:mD.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(US[\"__assign\"])({},mD.nodeStateStyles)},shapeType:\"rect\",labelPosition:\"center\",drawShape:function(e,t){var n=this.getShapeStyle(e),r=t.addShape(\"rect\",{attrs:n,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});return t[\"shapeMap\"][\"\".concat(this.type,\"-keyShape\")]=r,this.drawLinkPoints(e,t),r},drawLinkPoints:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).linkPoints,r=void 0===n?{}:n,o=r.top,i=r.left,a=r.right,c=r.bottom,u=r.size,s=r.r,l=Object(US[\"__rest\"])(r,[\"top\",\"left\",\"right\",\"bottom\",\"size\",\"r\"]),f=this.getSize(e),d=f[0],h=f[1];i&&(t[\"shapeMap\"][\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:-d/2,y:0,r:u/2||s||5}),className:\"link-point-left\",name:\"link-point-left\",isAnchorPoint:!0})),a&&(t[\"shapeMap\"][\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:d/2,y:0,r:u/2||s||5}),className:\"link-point-right\",name:\"link-point-right\",isAnchorPoint:!0})),o&&(t[\"shapeMap\"][\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:0,y:-h/2,r:u/2||s||5}),className:\"link-point-top\",name:\"link-point-top\",isAnchorPoint:!0})),c&&(t[\"shapeMap\"][\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:0,y:h/2,r:u/2||s||5}),className:\"link-point-bottom\",name:\"link-point-bottom\",isAnchorPoint:!0}))},getShapeStyle:function(e){var t=(this.mergeStyle||this.getOptions(e)).style,n={stroke:e.color},r=Object(GS[\"mix\"])({},t,n),o=this.getSize(e),i=r.width||o[0],a=r.height||o[1],c=Object(US[\"__assign\"])({x:-i/2,y:-a/2,width:i,height:a},r);return c},update:function(e,t,n){var r=t.getContainer(),o=this.getOptions({}).style,i=this.getSize(e),a=t.get(\"keyShape\");e.size||(i[0]=a.attr(\"width\")||o.width,i[1]=a.attr(\"height\")||o.height);var c={stroke:e.color,x:-i[0]/2,y:-i[1]/2,width:i[0],height:i[1]},u=Object(GS[\"mix\"])({},o,a.attr(),c);u=Object(GS[\"mix\"])(u,e.style),this.updateShape(e,t,u,!1,n),this.updateLinkPoints(e,r)}},\"single-node\"),hD(\"ellipse\",{options:{size:[80,40],style:{x:0,y:0,stroke:mD.defaultNode.style.stroke,fill:mD.defaultNode.style.fill,lineWidth:mD.defaultNode.style.lineWidth},labelCfg:{style:{fill:mD.nodeLabel.style.fill,fontSize:mD.nodeLabel.style.fontSize,fontFamily:mD.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:mD.defaultNode.linkPoints.size,lineWidth:mD.defaultNode.linkPoints.lineWidth,fill:mD.defaultNode.linkPoints.fill,stroke:mD.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(US[\"__assign\"])({},mD.nodeStateStyles)},shapeType:\"ellipse\",labelPosition:\"center\",drawShape:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).icon,r=void 0===n?{}:n,o=this.getShapeStyle(e),i=t.addShape(\"ellipse\",{attrs:o,className:\"ellipse-keyShape\",name:\"ellipse-keyShape\",draggable:!0});t[\"shapeMap\"][\"ellipse-keyShape\"]=i;var a=r.width,c=r.height,u=r.show,s=r.text;return u&&(t[\"shapeMap\"][\"\".concat(this.type,\"-icon\")]=s?t.addShape(\"text\",{attrs:Object(US[\"__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}):t.addShape(\"image\",{attrs:Object(US[\"__assign\"])({x:-a/2,y:-c/2},r),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0})),this.drawLinkPoints(e,t),i},drawLinkPoints:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).linkPoints,r=void 0===n?{}:n,o=r.top,i=r.left,a=r.right,c=r.bottom,u=r.size,s=r.r,l=Object(US[\"__rest\"])(r,[\"top\",\"left\",\"right\",\"bottom\",\"size\",\"r\"]),f=this.getSize(e),d=f[0]/2,h=f[1]/2;i&&(t[\"shapeMap\"][\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:-d,y:0,r:u/2||s||5}),className:\"link-point-left\",name:\"link-point-left\",isAnchorPoint:!0})),a&&(t[\"shapeMap\"][\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:d,y:0,r:u/2||s||5}),className:\"link-point-right\",name:\"link-point-right\",isAnchorPoint:!0})),o&&(t[\"shapeMap\"][\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:0,y:-h,r:u/2||s||5}),className:\"link-point-top\",name:\"link-point-top\",isAnchorPoint:!0})),c&&(t[\"shapeMap\"][\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:0,y:h,r:u/2||s||5}),className:\"link-point-bottom\",name:\"link-point-bottom\",isAnchorPoint:!0}))},getShapeStyle:function(e){var t=(this.mergeStyle||this.getOptions(e)).style,n={stroke:e.color},r=Object(GS[\"mix\"])({},t,n),o=this.getSize(e),i=o[0]/2,a=o[1]/2,c=Object(US[\"__assign\"])({x:0,y:0,rx:i,ry:a},r);return c},update:function(e,t,n){var r=t.getContainer(),o=this.getOptions({}).style,i=this.getSize(e),a={stroke:e.color,rx:i[0]/2,ry:i[1]/2},c=t.get(\"keyShape\"),u=Object(GS[\"mix\"])({},o,c.attr(),a);u=Object(GS[\"mix\"])(u,e.style),this.updateShape(e,t,u,!0,n),this.updateLinkPoints(e,r)}},\"single-node\"),hD(\"diamond\",{options:{size:[80,80],style:{stroke:mD.defaultNode.style.stroke,fill:mD.defaultNode.style.fill,lineWidth:mD.defaultNode.style.lineWidth},labelCfg:{style:{fill:mD.nodeLabel.style.fill,fontSize:mD.nodeLabel.style.fontSize,fontFamily:mD.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:mD.defaultNode.linkPoints.size,lineWidth:mD.defaultNode.linkPoints.lineWidth,fill:mD.defaultNode.linkPoints.fill,stroke:mD.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(US[\"__assign\"])({},mD.nodeStateStyles)},shapeType:\"diamond\",labelPosition:\"center\",drawShape:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).icon,r=void 0===n?{}:n,o=this.getShapeStyle(e),i=t.addShape(\"path\",{attrs:o,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});t[\"shapeMap\"][\"\".concat(this.type,\"-keyShape\")]=i;var a=r.width,c=r.height,u=r.show,s=r.text;return u&&(t[\"shapeMap\"][\"\".concat(this.type,\"-icon\")]=s?t.addShape(\"text\",{attrs:Object(US[\"__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}):t.addShape(\"image\",{attrs:Object(US[\"__assign\"])({x:-a/2,y:-c/2},r),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0})),this.drawLinkPoints(e,t),i},drawLinkPoints:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).linkPoints,r=void 0===n?{}:n,o=r.top,i=r.left,a=r.right,c=r.bottom,u=r.size,s=r.r,l=Object(US[\"__rest\"])(r,[\"top\",\"left\",\"right\",\"bottom\",\"size\",\"r\"]),f=this.getSize(e),d=f[0],h=f[1];i&&(t[\"shapeMap\"][\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:-d/2,y:0,r:u/2||s||5}),className:\"link-point-left\",name:\"link-point-left\",isAnchorPoint:!0})),a&&(t[\"shapeMap\"][\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:d/2,y:0,r:u/2||s||5}),className:\"link-point-right\",name:\"link-point-right\",isAnchorPoint:!0})),o&&(t[\"shapeMap\"][\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:0,y:-h/2,r:u/2||s||5}),className:\"link-point-top\",name:\"link-point-top\",isAnchorPoint:!0})),c&&(t[\"shapeMap\"][\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:0,y:h/2,r:u/2||s||5}),className:\"link-point-bottom\",name:\"link-point-bottom\",isAnchorPoint:!0}))},getPath:function(e){var t=this.getSize(e),n=t[0],r=t[1],o=[[\"M\",0,-r/2],[\"L\",n/2,0],[\"L\",0,r/2],[\"L\",-n/2,0],[\"Z\"]];return o},getShapeStyle:function(e){var t=(this.mergeStyle||this.getOptions(e)).style,n={stroke:e.color},r=Object(GS[\"mix\"])({},t,n),o=this.getPath(e),i=Object(US[\"__assign\"])({path:o},r);return i},update:function(e,t,n){var r=t.getContainer(),o=this.getOptions({}).style,i=this.getPath(e),a={stroke:e.color,path:i},c=t.get(\"keyShape\"),u=Object(GS[\"mix\"])({},o,c.attr(),a);u=Object(GS[\"mix\"])(u,e.style),this.updateShape(e,t,u,!0,n),this.updateLinkPoints(e,r)}},\"single-node\"),hD(\"triangle\",{options:{size:40,direction:\"up\",style:{stroke:mD.defaultNode.style.stroke,fill:mD.defaultNode.style.fill,lineWidth:mD.defaultNode.style.lineWidth},labelCfg:{style:{fill:mD.nodeLabel.style.fill,fontSize:mD.nodeLabel.style.fontSize},offset:15},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:mD.defaultNode.linkPoints.size,lineWidth:mD.defaultNode.linkPoints.lineWidth,fill:mD.defaultNode.linkPoints.fill,stroke:mD.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(US[\"__assign\"])({},mD.nodeStateStyles)},shapeType:\"triangle\",labelPosition:\"bottom\",drawShape:function(e,t){var n=this.mergeStyle||this.getOptions(e),r=n.icon,o=void 0===r?{}:r,i=n.direction,a=this.getShapeStyle(e),c=e.direction||i,u=t.addShape(\"path\",{attrs:a,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});t[\"shapeMap\"][\"\".concat(this.type,\"-keyShape\")]=u;var s=o.width,l=o.height,f=o.show,d=o.offset,h=o.text;if(f)if(h)t[\"shapeMap\"][\"\".concat(this.type,\"-icon\")]=t.addShape(\"text\",{attrs:Object(US[\"__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});else{var p=-s/2,v=-l/2;\"up\"!==c&&\"down\"!==c||(v+=d),\"left\"!==c&&\"right\"!==c||(p+=d),t[\"shapeMap\"][\"\".concat(this.type,\"-icon\")]=t.addShape(\"image\",{attrs:Object(US[\"__assign\"])({x:p,y:v},o),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0})}return this.drawLinkPoints(e,t),u},drawLinkPoints:function(e,t){var n=this.mergeStyle||this.getOptions(e),r=n.linkPoints,o=void 0===r?{}:r,i=n.direction,a=e.direction||i,c=o.top,u=o.left,s=o.right,l=o.bottom,f=o.size,d=o.r,h=Object(US[\"__rest\"])(o,[\"top\",\"left\",\"right\",\"bottom\",\"size\",\"r\"]),p=this.getSize(e),v=p[0];if(u){var g=null,m=v*Math.sin(1/3*Math.PI),y=v*Math.sin(1/3*Math.PI);\"up\"===a?g=[-y,m]:\"down\"===a?g=[-y,-m]:\"left\"===a&&(g=[-y,y-m]),g&&(t[\"shapeMap\"][\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},h),{x:g[0],y:g[1],r:f/2||d||5}),className:\"link-point-left\",name:\"link-point-left\"}))}if(s){var b=null;m=v*Math.sin(1/3*Math.PI),y=v*Math.sin(1/3*Math.PI);\"up\"===a?b=[y,m]:\"down\"===a?b=[y,-m]:\"right\"===a&&(b=[y,y-m]),b&&(t[\"shapeMap\"][\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},h),{x:b[0],y:b[1],r:f/2||d||5}),className:\"link-point-right\",name:\"link-point-right\"}))}if(c){var x=null;m=v*Math.sin(1/3*Math.PI),y=v*Math.sin(1/3*Math.PI);\"up\"===a?x=[y-m,-m]:\"left\"===a?x=[y,-m]:\"right\"===a&&(x=[-y,-m]),x&&(t[\"shapeMap\"][\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},h),{x:x[0],y:x[1],r:f/2||d||5}),className:\"link-point-top\",name:\"link-point-top\"}))}if(l){var w=null;m=v*Math.sin(1/3*Math.PI),y=v*Math.sin(1/3*Math.PI);\"down\"===a?w=[-y+m,m]:\"left\"===a?w=[y,m]:\"right\"===a&&(w=[-y,m]),w&&(t[\"shapeMap\"][\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},h),{x:w[0],y:w[1],r:f/2||d||5}),className:\"link-point-bottom\",name:\"link-point-bottom\"}))}},getPath:function(e){var t=(this.mergeStyle||this.getOptions(e)).direction,n=e.direction||t,r=this.getSize(e),o=r[0],i=o*Math.sin(1/3*Math.PI),a=o*Math.sin(1/3*Math.PI),c=[[\"M\",-a,i],[\"L\",0,-i],[\"L\",a,i],[\"Z\"]];return\"down\"===n?c=[[\"M\",-a,-i],[\"L\",a,-i],[\"L\",0,i],[\"Z\"]]:\"left\"===n?c=[[\"M\",-a,a-i],[\"L\",a,-a],[\"L\",a,a],[\"Z\"]]:\"right\"===n&&(c=[[\"M\",a,a-i],[\"L\",-a,a],[\"L\",-a,-a],[\"Z\"]]),c},getShapeStyle:function(e){var t=(this.mergeStyle||this.getOptions(e)).style,n={stroke:e.color},r=Object(GS[\"mix\"])({},t,n),o=this.getPath(e),i=Object(US[\"__assign\"])({path:o},r);return i},update:function(e,t,n){var r=t.getContainer(),o=this.getOptions({}).style,i=this.getPath(e),a={stroke:e.color,path:i},c=t.get(\"keyShape\"),u=Object(GS[\"mix\"])({},o,c.attr(),a);u=Object(GS[\"mix\"])(u,e.style),this.updateShape(e,t,u,!0,n),this.updateLinkPoints(e,r)},updateLinkPoints:function(e,t){var n=this.getOptions({}),r=n.linkPoints,o=n.direction,i=e.direction||o,a=t[\"shapeMap\"][\"link-point-left\"]||t.find((function(e){return\"link-point-left\"===e.get(\"className\")})),c=t[\"shapeMap\"][\"link-point-right\"]||t.find((function(e){return\"link-point-right\"===e.get(\"className\")})),u=t[\"shapeMap\"][\"link-point-top\"]||t.find((function(e){return\"link-point-top\"===e.get(\"className\")})),s=t[\"shapeMap\"][\"link-point-bottom\"]||t.find((function(e){return\"link-point-bottom\"===e.get(\"className\")})),l=r,f=a||c||u||s;f&&(l=f.attr());var d=Object(GS[\"mix\"])({},l,e.linkPoints),h=d.fill,p=d.stroke,v=d.lineWidth,g=d.size/2;g||(g=d.r);var m=e.linkPoints?e.linkPoints:{left:void 0,right:void 0,top:void 0,bottom:void 0},y=m.left,b=m.right,x=m.top,w=m.bottom,O=this.getSize(e),E=O[0],S={r:g,fill:h,stroke:p,lineWidth:v},j=null,k=E*Math.sin(1/3*Math.PI),_=E*Math.sin(1/3*Math.PI);\"up\"===i?j=[-_,k]:\"down\"===i?j=[-_,-k]:\"left\"===i&&(j=[-_,_-k]),j&&(a?y||void 0===y?a.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},S),{x:j[0],y:j[1]})):(a.remove(),delete t[\"shapeMap\"][\"link-point-left\"]):y&&(t[\"shapeMap\"][\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},S),{x:j[0],y:j[1]}),className:\"link-point-left\",name:\"link-point-left\",isAnchorPoint:!0})));var C=null;\"up\"===i?C=[_,k]:\"down\"===i?C=[_,-k]:\"right\"===i&&(C=[_,_-k]),C&&(c?b||void 0===b?c.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},S),{x:C[0],y:C[1]})):(c.remove(),delete t[\"shapeMap\"][\"link-point-right\"]):b&&(t[\"shapeMap\"][\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},S),{x:C[0],y:C[1]}),className:\"link-point-right\",name:\"link-point-right\",isAnchorPoint:!0})));var M=null;\"up\"===i?M=[_-k,-k]:\"left\"===i?M=[_,-k]:\"right\"===i&&(M=[-_,-k]),M&&(u?x||void 0===x?u.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},S),{x:M[0],y:M[1]})):(u.remove(),delete t[\"shapeMap\"][\"link-point-top\"]):x&&(t[\"shapeMap\"][\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},S),{x:M[0],y:M[1]}),className:\"link-point-top\",name:\"link-point-top\",isAnchorPoint:!0})));var A=null;\"down\"===i?A=[-_+k,k]:\"left\"===i?A=[_,k]:\"right\"===i&&(A=[-_,k]),A&&(s?w||void 0===w?s.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},S),{x:A[0],y:A[1]})):(s.remove(),delete t[\"shapeMap\"][\"link-point-bottom\"]):w&&(t[\"shapeMap\"][\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},S),{x:A[0],y:A[1]}),className:\"link-point-bottom\",name:\"link-point-bottom\",isAnchorPoint:!0})))}},\"single-node\"),hD(\"modelRect\",{options:{size:[185,70],style:{radius:5,stroke:\"#69c0ff\",fill:\"#ffffff\",lineWidth:mD.defaultNode.style.lineWidth,fillOpacity:1},labelCfg:{style:{fill:\"#595959\",fontSize:14,fontFamily:mD.windowFontFamily},offset:30},descriptionCfg:{style:{fontSize:12,fill:\"#bfbfbf\",fontFamily:mD.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(e,t){var n=(this.mergeStyle||this.getOptions(e)).preRect,r=void 0===n?{}:n,o=this.getShapeStyle(e),i=this.getSize(e),a=i[0],c=i[1],u=t.addShape(\"rect\",{attrs:o,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});t[\"shapeMap\"][\"\".concat(this.type,\"-keyShape\")]=u;var s=r.show,l=Object(US[\"__rest\"])(r,[\"show\"]);return s&&(t[\"shapeMap\"][\"pre-rect\"]=t.addShape(\"rect\",{attrs:Object(US[\"__assign\"])({x:-a/2,y:-c/2,height:c},l),className:\"pre-rect\",name:\"pre-rect\",draggable:!0})),this.drawLogoIcon(e,t),this.drawStateIcon(e,t),this.drawLinkPoints(e,t),u},drawLogoIcon:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).logoIcon,r=void 0===n?{}:n,o=this.getSize(e),i=o[0];if(r.show){var a=r.width,c=r.height,u=r.x,s=r.y,l=r.offset,f=r.text,d=Object(US[\"__rest\"])(r,[\"width\",\"height\",\"x\",\"y\",\"offset\",\"text\"]);t[\"shapeMap\"][\"rect-logo-icon\"]=f?t.addShape(\"text\",{attrs:Object(US[\"__assign\"])({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},d),className:\"rect-logo-icon\",name:\"rect-logo-icon\",draggable:!0}):t.addShape(\"image\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},d),{x:u||-i/2+a+l,y:s||-c/2,width:a,height:c}),className:\"rect-logo-icon\",name:\"rect-logo-icon\",draggable:!0})}},drawStateIcon:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).stateIcon,r=void 0===n?{}:n,o=this.getSize(e),i=o[0];if(r.show){var a=r.width,c=r.height,u=r.x,s=r.y,l=r.offset,f=r.text,d=Object(US[\"__rest\"])(r,[\"width\",\"height\",\"x\",\"y\",\"offset\",\"text\"]);t[\"shapeMap\"][\"rect-state-icon\"]=f?t.addShape(\"text\",{attrs:Object(US[\"__assign\"])({x:0,y:0,fontSize:12,fill:\"#000\",stroke:\"#000\",textBaseline:\"middle\",textAlign:\"center\"},d),className:\"rect-state-icon\",name:\"rect-state-icon\",draggable:!0}):t.addShape(\"image\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},d),{x:u||i/2-a+l,y:s||-c/2,width:a,height:c}),className:\"rect-state-icon\",name:\"rect-state-icon\",draggable:!0})}},drawLinkPoints:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).linkPoints,r=void 0===n?{}:n,o=r.top,i=r.left,a=r.right,c=r.bottom,u=r.size,s=r.r,l=Object(US[\"__rest\"])(r,[\"top\",\"left\",\"right\",\"bottom\",\"size\",\"r\"]),f=this.getSize(e),d=f[0],h=f[1];i&&(t[\"shapeMap\"][\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:-d/2,y:0,r:u/2||s||5}),className:\"link-point-left\",name:\"link-point-left\",isAnchorPoint:!0})),a&&(t[\"shapeMap\"][\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:d/2,y:0,r:u/2||s||5}),className:\"link-point-right\",name:\"link-point-right\",isAnchorPoint:!0})),o&&(t[\"shapeMap\"][\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:0,y:-h/2,r:u/2||s||5}),className:\"link-point-top\",name:\"link-point-top\",isAnchorPoint:!0})),c&&(t[\"shapeMap\"][\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},l),{x:0,y:h/2,r:u/2||s||5}),className:\"link-point-bottom\",name:\"link-point-bottom\",isAnchorPoint:!0}))},drawLabel:function(e,t){var n=this.getOptions(e),r=n.labelCfg,o=void 0===r?{}:r,i=n.logoIcon,a=void 0===i?{}:i,c=n.descriptionCfg,u=void 0===c?{}:c,s=this.getSize(e),l=s[0],f=null,d=a.show,h=a.width,p=-l/2+o.offset;d&&(p=-l/2+h+o.offset);var v=o.style,g=u.style,m=u.paddingTop;return Object(GS[\"isString\"])(e.description)?(f=t.addShape(\"text\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},v),{x:p,y:-5,text:e.label}),className:\"text-shape\",name:\"text-shape\",draggable:!0,labelRelated:!0}),t[\"shapeMap\"][\"text-shape\"]=f,t[\"shapeMap\"][\"rect-description\"]=t.addShape(\"text\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},g),{x:p,y:17+(m||0),text:e.description}),className:\"rect-description\",name:\"rect-description\",draggable:!0,labelRelated:!0})):(f=t.addShape(\"text\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},v),{x:p,y:7,text:e.label}),className:\"text-shape\",name:\"text-shape\",draggable:!0,labelRelated:!0}),t[\"shapeMap\"][\"text-shape\"]=f),f},getShapeStyle:function(e){var t=(this.mergeStyle||this.getOptions(e)).style,n={stroke:e.color},r=Object(GS[\"mix\"])({},t,n),o=this.getSize(e),i=r.width||o[0],a=r.height||o[1],c=Object(US[\"__assign\"])({x:-i/2,y:-a/2,width:i,height:a},r);return c},update:function(e,t){var n=this.mergeStyle||this.getOptions(e),r=n.style,o=void 0===r?{}:r,i=n.labelCfg,a=void 0===i?{}:i,c=n.descriptionCfg,u=void 0===c?{}:c,s=this.getSize(e),l=s[0],f=s[1],d=t.get(\"keyShape\");d.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},o),{x:-l/2,y:-f/2,width:l,height:f}));var h=t.getContainer(),p=h[\"shapeMap\"][\"rect-logo-icon\"]||h.find((function(e){return\"rect-logo-icon\"===e.get(\"className\")})),v=p?p.attr():{},g=Object(GS[\"mix\"])({},v,e.logoIcon),m=g.width;void 0===m&&(m=this.options.logoIcon.width);var y=e.logoIcon?e.logoIcon.show:void 0,b=a.offset,x=-l/2+m+b;y||void 0===y||(x=-l/2+b);var w=h[\"shapeMap\"][\"node-label\"]||h.find((function(e){return\"node-label\"===e.get(\"className\")})),O=h[\"shapeMap\"][\"rect-description\"]||h.find((function(e){return\"rect-description\"===e.get(\"className\")}));if(e.label)if(w){var E=e.labelCfg?e.labelCfg.style:{},S=Object(GS[\"mix\"])({},w.attr(),E);e.label&&(S.text=e.label),S.x=x,Object(GS[\"isString\"])(e.description)&&(S.y=-5),O&&(O.resetMatrix(),O.attr({x:x})),w.resetMatrix(),w.attr(S)}else h[\"shapeMap\"][\"node-label\"]=h.addShape(\"text\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},a.style),{x:x,y:e.description?-5:7,text:e.label}),className:\"node-label\",name:\"node-label\",draggable:!0,labelRelated:!0});if(Object(GS[\"isString\"])(e.description)){var j=u.paddingTop;if(O){E=e.descriptionCfg?e.descriptionCfg.style:{};var k=Object(GS[\"mix\"])({},O.attr(),E);Object(GS[\"isString\"])(e.description)&&(k.text=e.description),k.x=x,O.resetMatrix(),O.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},k),{y:17+(j||0)}))}else h[\"shapeMap\"][\"rect-description\"]=h.addShape(\"text\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},u.style),{x:x,y:17+(j||0),text:e.description}),className:\"rect-description\",name:\"rect-description\",draggable:!0,labelRelated:!0})}var _=h[\"shapeMap\"][\"pre-rect\"]||h.find((function(e){return\"pre-rect\"===e.get(\"className\")}));if(_&&!_.destroyed){var C=Object(GS[\"mix\"])({},_.attr(),e.preRect);_.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},C),{x:-l/2,y:-f/2,height:f}))}if(p&&!p.destroyed)if(y||void 0===y){var M=g.width,A=g.height,N=g.x,T=g.y,I=g.offset,P=Object(US[\"__rest\"])(g,[\"width\",\"height\",\"x\",\"y\",\"offset\"]);p.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},P),{x:N||-l/2+M+I,y:T||-A/2,width:M,height:A}))}else p.remove(),delete h[\"shapeMap\"][\"pre-rect\"];else y&&this.drawLogoIcon(e,h);var L=h[\"shapeMap\"][\"rect-state-icon\"]||h.find((function(e){return\"rect-state-icon\"===e.get(\"className\")})),D=L?L.attr():{},R=Object(GS[\"mix\"])({},D,e.stateIcon);if(L){R.show||void 0===R.show||(L.remove(),delete h[\"shapeMap\"][\"rect-state-icon\"]);var F=R.width,B=(A=R.height,N=R.x,T=R.y,R.offset),z=Object(US[\"__rest\"])(R,[\"width\",\"height\",\"x\",\"y\",\"offset\"]);L.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},z),{x:N||l/2-F+B,y:T||-A/2,width:F,height:A}))}else R.show&&this.drawStateIcon(e,h);this.updateLinkPoints(e,h)},getOptions:function(e,t){return\"move\"===t?e:Object(GS[\"deepMix\"])({},this.options,this.getCustomConfig(e)||{},e)}},\"single-node\"),hD(\"star\",{options:{size:60,style:{stroke:mD.defaultNode.style.stroke,fill:mD.defaultNode.style.fill,lineWidth:mD.defaultNode.style.lineWidth},labelCfg:{style:{fill:mD.nodeLabel.style.fill,fontSize:mD.nodeLabel.style.fontSize,fontFamily:mD.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:mD.defaultNode.linkPoints.size,lineWidth:mD.defaultNode.linkPoints.lineWidth,fill:mD.defaultNode.linkPoints.fill,stroke:mD.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(US[\"__assign\"])({},mD.nodeStateStyles)},shapeType:\"star\",labelPosition:\"center\",drawShape:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).icon,r=void 0===n?{}:n,o=this.getShapeStyle(e),i=t.addShape(\"path\",{attrs:o,className:\"\".concat(this.type,\"-keyShape\"),name:\"\".concat(this.type,\"-keyShape\"),draggable:!0});t[\"shapeMap\"][\"\".concat(this.type,\"-keyShape\")]=i;var a=r.width,c=r.height,u=r.show,s=r.text;return u&&(t[\"shapeMap\"][\"\".concat(this.type,\"-icon\")]=s?t.addShape(\"text\",{attrs:Object(US[\"__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}):t.addShape(\"image\",{attrs:Object(US[\"__assign\"])({x:-a/2,y:-c/2},r),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0})),this.drawLinkPoints(e,t),i},drawLinkPoints:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).linkPoints,r=void 0===n?{}:n,o=r.top,i=r.left,a=r.right,c=r.leftBottom,u=r.rightBottom,s=r.size,l=r.r,f=Object(US[\"__rest\"])(r,[\"top\",\"left\",\"right\",\"leftBottom\",\"rightBottom\",\"size\",\"r\"]),d=this.getSize(e),h=d[0];if(a){var p=Math.cos(.1*Math.PI)*h,v=Math.sin(.1*Math.PI)*h;t[\"shapeMap\"][\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},f),{x:p,y:-v,r:s/2||l||5}),className:\"link-point-right\",name:\"link-point-right\"})}if(o){p=Math.cos(.5*Math.PI)*h,v=Math.sin(.5*Math.PI)*h;t[\"shapeMap\"][\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},f),{x:p,y:-v,r:s/2||l||5}),className:\"link-point-top\",name:\"link-point-top\"})}if(i){p=Math.cos(.9*Math.PI)*h,v=Math.sin(.9*Math.PI)*h;t[\"shapeMap\"][\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},f),{x:p,y:-v,r:s/2||l||5}),className:\"link-point-left\",name:\"link-point-left\"})}if(c){p=Math.cos(1.3*Math.PI)*h,v=Math.sin(1.3*Math.PI)*h;t[\"shapeMap\"][\"link-point-bottom\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},f),{x:p,y:-v,r:s/2||l||5}),className:\"link-point-left-bottom\",name:\"link-point-left-bottom\"})}if(u){p=Math.cos(1.7*Math.PI)*h,v=Math.sin(1.7*Math.PI)*h;t[\"shapeMap\"][\"link-point-right-bottom\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},f),{x:p,y:-v,r:s/2||l||5}),className:\"link-point-right-bottom\",name:\"link-point-right-bottom\"})}},getPath:function(e){for(var t=this.getSize(e),n=t[0],r=3*n/8,o=e.innerR||r,i=[],a=0;a<5;a++){var c=Math.cos((18+72*a)/180*Math.PI)*n,u=Math.sin((18+72*a)/180*Math.PI)*n,s=Math.cos((54+72*a)/180*Math.PI)*o,l=Math.sin((54+72*a)/180*Math.PI)*o;0===a?i.push([\"M\",c,-u]):i.push([\"L\",c,-u]),i.push([\"L\",s,-l])}return i.push([\"Z\"]),i},getShapeStyle:function(e){var t=(this.mergeStyle||this.getOptions(e)).style,n={stroke:e.color},r=Object(GS[\"mix\"])({},t,n),o=this.getPath(e),i=Object(US[\"__assign\"])({path:o},r);return i},update:function(e,t,n){var r=t.getContainer(),o=this.getOptions({}).style,i=this.getPath(e),a={stroke:e.color,path:i},c=t.get(\"keyShape\"),u=Object(GS[\"mix\"])({},o,c.attr(),a);u=Object(GS[\"mix\"])(u,e.style),this.updateShape(e,t,u,!0,n),this.updateLinkPoints(e,r)},updateLinkPoints:function(e,t){var n=this.getOptions({}).linkPoints,r=t[\"shapeMap\"][\"link-point-left\"]||t.find((function(e){return\"link-point-left\"===e.get(\"className\")})),o=t[\"shapeMap\"][\"link-point-right\"]||t.find((function(e){return\"link-point-right\"===e.get(\"className\")})),i=t[\"shapeMap\"][\"link-point-top\"]||t.find((function(e){return\"link-point-top\"===e.get(\"className\")})),a=t[\"shapeMap\"][\"link-point-left-bottom\"]||t.find((function(e){return\"link-point-left-bottom\"===e.get(\"className\")})),c=t[\"shapeMap\"][\"link-point-left-bottom\"]||t.find((function(e){return\"link-point-right-bottom\"===e.get(\"className\")})),u=n,s=r||o||i||a||c;s&&(u=s.attr());var l=Object(GS[\"mix\"])({},u,e.linkPoints),f=l.fill,d=l.stroke,h=l.lineWidth,p=l.size/2;p||(p=l.r);var v=e.linkPoints?e.linkPoints:{left:void 0,right:void 0,top:void 0,leftBottom:void 0,rightBottom:void 0},g=v.left,m=v.right,y=v.top,b=v.leftBottom,x=v.rightBottom,w=this.getSize(e),O=w[0],E={r:p,fill:f,stroke:d,lineWidth:h},S=Math.cos(.1*Math.PI)*O,j=Math.sin(.1*Math.PI)*O;o?m||void 0===m?o.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},E),{x:S,y:-j})):(o.remove(),delete t[\"shapeMap\"][\"link-point-right\"]):m&&(t[\"shapeMap\"][\"link-point-right\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},E),{x:S,y:-j}),className:\"link-point-right\",name:\"link-point-right\",isAnchorPoint:!0})),S=Math.cos(.5*Math.PI)*O,j=Math.sin(.5*Math.PI)*O,i?y||void 0===y?i.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},E),{x:S,y:-j})):(i.remove(),delete t[\"shapeMap\"][\"link-point-top\"]):y&&(t[\"shapeMap\"][\"link-point-top\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},E),{x:S,y:-j}),className:\"link-point-top\",name:\"link-point-top\",isAnchorPoint:!0})),S=Math.cos(.9*Math.PI)*O,j=Math.sin(.9*Math.PI)*O,r?g||void 0===g?r.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},E),{x:S,y:-j})):(r.remove(),delete t[\"shapeMap\"][\"link-point-left\"]):g&&(t[\"shapeMap\"][\"link-point-left\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},E),{x:S,y:-j}),className:\"link-point-left\",name:\"link-point-left\",isAnchorPoint:!0})),S=Math.cos(1.3*Math.PI)*O,j=Math.sin(1.3*Math.PI)*O,a?b||void 0===b?a.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},E),{x:S,y:-j})):(a.remove(),delete t[\"shapeMap\"][\"link-point-left-bottom\"]):b&&(t[\"shapeMap\"][\"link-point-left-bottom\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},E),{x:S,y:-j}),className:\"link-point-left-bottom\",name:\"link-point-left-bottom\",isAnchorPoint:!0})),S=Math.cos(1.7*Math.PI)*O,j=Math.sin(1.7*Math.PI)*O,c?x||void 0===x?c.attr(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},E),{x:S,y:-j})):(c.remove(),delete t[\"shapeMap\"][\"link-point-right-bottom\"]):x&&(t[\"shapeMap\"][\"link-point-right-bottom\"]=t.addShape(\"circle\",{attrs:Object(US[\"__assign\"])(Object(US[\"__assign\"])({},E),{x:S,y:-j}),className:\"link-point-right-bottom\",name:\"link-point-right-bottom\",isAnchorPoint:!0}))}},\"single-node\");var UH=uD.defaultSubjectColors;hD(\"donut\",{options:{size:mD.defaultNode.size,style:{x:0,y:0,stroke:mD.defaultNode.style.stroke,fill:mD.defaultNode.style.fill,lineWidth:mD.defaultNode.style.lineWidth},labelCfg:{style:{fill:mD.nodeLabel.style.fill,fontSize:mD.nodeLabel.style.fontSize,fontFamily:mD.windowFontFamily}},linkPoints:{top:!1,right:!1,bottom:!1,left:!1,size:mD.defaultNode.linkPoints.size,lineWidth:mD.defaultNode.linkPoints.lineWidth,fill:mD.defaultNode.linkPoints.fill,stroke:mD.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(US[\"__assign\"])({},mD.nodeStateStyles)},shapeType:\"circle\",labelPosition:\"center\",drawShape:function(e,t){var n=(this.mergeStyle||this.getOptions(e)).icon,r=void 0===n?{}:n,o=this.getShapeStyle(e),i=Object(GS[\"deepMix\"])({},r,e.icon),a=t.addShape(\"circle\",{attrs:o,className:\"\".concat(this.type,\"-keyShape\"),draggable:!0,name:\"\".concat(this.type,\"-keyShape\")});t[\"shapeMap\"][\"\".concat(this.type,\"-keyShape\")]=a;var c=i.width,u=i.height,s=i.show,l=i.text;s&&(t[\"shapeMap\"][\"\".concat(this.type,\"-icon\")]=l?t.addShape(\"text\",{attrs:Object(US[\"__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}):t.addShape(\"image\",{attrs:Object(US[\"__assign\"])({x:-c/2,y:-u/2},i),className:\"\".concat(this.type,\"-icon\"),name:\"\".concat(this.type,\"-icon\"),draggable:!0}));var f=a.attr(\"r\"),d=.6*f,h=(f+d)/2,p=e,v=p.donutAttrs,g=void 0===v?{}:v,m=p.donutColorMap,y=void 0===m?{}:m,b=Object.keys(g).length;if(g&&b>1){var x=[],w=0;if(Object.keys(g).forEach((function(e){var t=g[e]||0;Object(GS[\"isNumber\"])(t)&&(x.push({key:e,value:t,color:y[e]}),w+=t)})),w){var O=f-d;if(1===b)return void(t[\"shapeMap\"][\"fan-shape-0\"]=t.addShape(\"circle\",{attrs:{r:h,x:0,y:0,stroke:x[0].color||UH[0],lineWidth:O},name:\"fan-shape-0\",draggable:!0}));var E=[h,0],S=0;x.forEach((function(e,n){var r=e.value/w;if(!(r<.001))if(r>.999&&(r=1),1!==r){e.percent=r,e.angle=r*Math.PI*2,e.beginAgnle=S,S+=e.angle,e.endAngle=S,e.arcBegin=E,e.arcEnd=[h*Math.cos(e.endAngle),-h*Math.sin(e.endAngle)];var o=e.angle>Math.PI?1:0,i=[[\"M\",e.arcBegin[0],e.arcBegin[1]],[\"A\",h,h,0,o,0,e.arcEnd[0],e.arcEnd[1]],[\"L\",e.arcEnd[0],e.arcEnd[1]]];t[\"shapeMap\"][\"fan-shape-\".concat(n)]=t.addShape(\"path\",{attrs:{path:i,lineWidth:O,stroke:e.color||UH[n%UH.length]},name:\"fan-shape-\".concat(n),draggable:!0}),E=e.arcEnd}else t[\"shapeMap\"][\"fan-shape-\".concat(n)]=t.addShape(\"circle\",{attrs:{r:h,x:0,y:0,stroke:e.color||UH[n%UH.length],lineWidth:O},name:\"fan-shape-\".concat(n),draggable:!0})}))}}return this.drawLinkPoints(e,t),a},update:void 0},\"circle\");var GH=function(e){var t=e.x,n=e.y;return{x:t,y:n,centerX:t,centerY:n,minX:t,minY:n,maxX:t,maxY:n,height:0,width:0}},VH=function(e){void 0===e&&(e=[]);var t=[],n=[];e.forEach((function(e){t.push(e.x),n.push(e.y)}));var r=Math.min.apply(Math,t),o=Math.max.apply(Math,t),i=Math.min.apply(Math,n),a=Math.max.apply(Math,n);return{centerX:(r+o)/2,centerY:(i+a)/2,maxX:o,maxY:a,minX:r,minY:i,height:a-i,width:o-r}},WH=function(e){for(var t=[],n={},r=e.length,o=r-1;o>=0;o--){var i=e[o];i.id=\"\".concat(i.x,\"|||\").concat(i.y),n[i.id]=i,t.push(i)}return t},HH=function(e){return WH(e)},YH=function(e,t){return e.width||e.height?{centerX:e.centerX,centerY:e.centerY,minX:e.minX-t,minY:e.minY-t,maxX:e.maxX+t,maxY:e.maxY+t,height:e.height+2*t,width:e.width+2*t}:e},XH=function(e,t){var n=Math.abs(e.x-t.centerX),r=Math.abs(e.y-t.centerY);return 0===n&&0===r?0:n/t.width>r/t.height},qH=function(e,t,n){var r=XH(t,e);if(0===r){var o=e.centerX,i=e.centerY;return n.y<t.y?i=e.minY:n.x>t.x?o=e.maxX:n.x<t.x?o=e.minX:n.x===t.x&&(i=e.maxY),{x:o,y:i}}return r?{x:t.x>e.centerX?e.maxX:e.minX,y:t.y}:{x:t.x,y:t.y>e.centerY?e.maxY:e.minY}},KH=function(e,t){var n=Math.min(e.minX,t.minX),r=Math.min(e.minY,t.minY),o=Math.max(e.maxX,t.maxX),i=Math.max(e.maxY,t.maxY);return{centerX:(n+o)/2,centerY:(r+i)/2,minX:n,minY:r,maxX:o,maxY:i,height:i-r,width:o-n}},ZH=function(e){return[{x:e.minX,y:e.minY},{x:e.maxX,y:e.minY},{x:e.maxX,y:e.maxY},{x:e.minX,y:e.maxY}]},$H=function(e,t){var n=e.x,r=e.y;return n<t.minX||n>t.maxX||r<t.minY||r>t.maxY},QH=function(e,t){return t<e.minX||t>e.maxX?[]:[{x:t,y:e.minY},{x:t,y:e.maxY}]},JH=function(e,t){return t<e.minY||t>e.maxY?[]:[{x:e.minX,y:t},{x:e.maxX,y:t}]},eY=function(e,t){return QH(e,t.x).concat(JH(e,t.y))},tY=function(e,t){return Math.abs(e.x-t.x)+Math.abs(e.y-t.y)},nY=function(e,t){var n=-2,r=0;return t.forEach((function(t){t&&(e.x===t.x&&(r+=n),e.y===t.y&&(r+=n))})),r},rY=function(e,t,n,r,o){return tY(e,t)+tY(e,n)+nY(e,[t,n,r,o])},oY=function e(t,n,r,o,i){void 0===i&&(i=0),t.unshift(n[o]),r[o]&&r[o]!==o&&i<=100&&e(t,n,r,r[o],i+1)},iY=function(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)},aY=function(e,t,n,r){var o=n.x-e.x,i=n.y-e.y,a=r.x-e.x,c=r.y-e.y,u=n.x-t.x,s=n.y-t.y,l=r.x-t.x,f=r.y-t.y,d=o*c-i*a,h=u*f-s*l,p=o*s-i*u,v=a*f-c*l;return d*h<=0&&p*v<=0},cY=function(e,t,n){if(n.width||n.height){var r=ZH(n),o=r[0],i=r[1],a=r[2],c=r[3];return aY(e,t,o,i)||aY(e,t,o,c)||aY(e,t,i,a)||aY(e,t,a,c)}return!1},uY=function(e,t,n,r){var o=[];return e.forEach((function(e){if(e!==t&&(e.x===t.x||e.y===t.y)){if(cY(e,t,n)||cY(e,t,r))return;o.push(e)}})),WH(o)},sY=function(e,t,n,r,o,i,a){var c=[],u=[t],s={},l={},f={};l[t.id]=0,f[t.id]=rY(t,n,t);var d,h,p={};e.forEach((function(e){p[e.id]=e}));while(u.length){if(d=void 0,h=1/0,u.forEach((function(e){f[e.id]<=h&&(h=f[e.id],d=e)})),d===n){var v=[];return oY(v,p,s,n.id),v}iY(u,d),c.push(d),uY(e,d,r,o).forEach((function(e){if(-1===c.indexOf(e)){-1===u.indexOf(e)&&u.push(e);var r=f[d.id]+tY(d,e);l[e.id]&&r>=l[e.id]||(s[e.id]=d.id,l[e.id]=r,f[e.id]=l[e.id]+rY(e,n,t,i,a))}}))}return[t,n]},lY=function(e,t,n){return!(e.x===t.x&&t.x===n.x||e.y===t.y&&t.y===n.y)},fY=function(e,t,n,r){var o=tY(e,t),i=tY(n,t);o<r&&(r=o),i<r&&(r=i);var a={x:t.x-r/o*(t.x-e.x),y:t.y-r/o*(t.y-e.y)},c={x:t.x-r/i*(t.x-n.x),y:t.y-r/i*(t.y-n.y)};return[a,c]},dY=function(e,t){var n=[],r=e[0];return n.push(\"M\".concat(r.x,\" \").concat(r.y)),e.forEach((function(r,o){var i=e[o+1],a=e[o+2];if(i&&a)if(lY(r,i,a)){var c=fY(r,i,a,t),u=c[0],s=c[1];n.push(\"L\".concat(u.x,\" \").concat(u.y)),n.push(\"Q\".concat(i.x,\" \").concat(i.y,\" \").concat(s.x,\" \").concat(s.y)),n.push(\"L\".concat(s.x,\" \").concat(s.y))}else n.push(\"L\".concat(i.x,\" \").concat(i.y));else i&&n.push(\"L\".concat(i.x,\" \").concat(i.y))})),n.join(\"\")},hY=function(e,t,n,r,o){var i,a;if(n&&n.getType())if(\"combo\"===n.getType()){var c=n.getKeyShape().getBBox();if(c){var u=n.getModel(),s=u.x,l=u.y;i={x:s,y:l,width:c.width,height:c.height,minX:c.minX+s,maxX:c.maxX+s,minY:c.minY+l,maxY:c.maxY+l},i.centerX=(i.minX+i.maxX)/2,i.centerY=(i.minY+i.maxY)/2}else i=GH(e)}else i=n&&n.getBBox();else i=GH(e);if(r&&r.getType())if(\"combo\"===r.getType()){var f=r.getKeyShape().getBBox();if(f){var d=r.getModel(),h=d.x,p=d.y;a={x:h,y:p,width:f.width,height:f.height,minX:f.minX+h,maxX:f.maxX+h,minY:f.minY+p,maxY:f.maxY+p},a.centerX=(a.minX+a.maxX)/2,a.centerY=(a.minY+a.maxY)/2}else a=GH(t)}else a=r&&r.getBBox();else a=GH(t);var v=YH(i,o),g=YH(a,o),m=qH(v,e,t),y=qH(g,t,e),b=VH([m,y]),x=KH(v,b),w=KH(g,b),O=[];O=O.concat(ZH(x)).concat(ZH(w));var E={x:(e.x+t.x)/2,y:(e.y+t.y)/2};[b,x,w].forEach((function(e){O=O.concat(eY(e,E).filter((function(e){return $H(e,v)&&$H(e,g)})))})),[{x:m.x,y:y.y},{x:y.x,y:m.y}].forEach((function(e){$H(e,v)&&$H(e,g)&&O.push(e)})),O.unshift(m),O.push(y),O=WH(O);var S=sY(O,m,y,i,a,e,t);return S.unshift(e),S.push(t),HH(S)},pY=function(e,t){return Math.abs(e.x-t.x)+Math.abs(e.y-t.y)},vY=function(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},gY=function(e,t){return[e,t]},mY=function(e,t,n,r,o){return HH(hY(e,t,n,r,o.offset))},yY={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:pY,fallbackRoute:mY},bY=(Math.PI,function(e,t){var n=Math.round(Math.abs(e/t)),r=e<0?-1:1;return n<0?0:r*n}),xY=function(e,t,n){var r={};return e.forEach((function(e){if(e)for(var o=YH(e.getBBox(),n),i=bY(o.minX,t);i<=bY(o.maxX,t);i+=1)for(var a=bY(o.minY,t);a<=bY(o.maxY,t);a+=1)r[\"\".concat(i,\"|||\").concat(a)]=!0})),r},wY=function(e,t){var n=t.x-e.x,r=t.y-e.y;return n||r?Math.atan2(r,n):0},OY=function(e,t){var n=Math.abs(e-t);return n>Math.PI?2*Math.PI-n:n},EY=function(e,t,n){for(var r=1/0,o=0,i=t.length;o<i;o++){var a=n(e,t[o]);a<r&&(r=a)}return r},SY=function(e,t,n,r,o){var i=[];if(!n)return[e];var a=o.directions,c=o.offset,u=n.getBBox(),s=t.x>u.minX&&t.x<u.maxX&&t.y>u.minY&&t.y<u.maxY,l=YH(u,c);for(var f in l)l[f]=bY(l[f],o.gridSize);if(s){for(var d=0,h=a;d<h.length;d++){var p=h[d],v=[[{x:l.minX,y:l.minY},{x:l.maxX,y:l.minY}],[{x:l.minX,y:l.minY},{x:l.minX,y:l.maxY}],[{x:l.maxX,y:l.minY},{x:l.maxX,y:l.maxY}],[{x:l.minX,y:l.maxY},{x:l.maxX,y:l.maxY}]];for(f=0;f<4;f++){var g=v[f],m=uD.getLineIntersect(e,{x:e.x+p.stepX*l.width,y:e.y+p.stepY*l.height},g[0],g[1]);m&&!cY(e,m,u)&&(m.id=\"\".concat(m.x,\"|||\").concat(m.y),i.push(m))}}return i}var y=qH(l,e,r);return y.id=\"\".concat(y.x,\"|||\").concat(y.y),[y]},jY=function(e,t,n,r){var o=wY(e,t);if(!n[e.id]){var i=wY(r,e);return OY(i,o)}var a=wY({x:n[e.id].x,y:n[e.id].y},e);return OY(a,o)},kY=function(e,t,n,r,o,i,a){var c=[r],u=e.id,s=e.x,l=e.y,f={x:s,y:l,id:u};jY(f,i,t,n)&&c.unshift({x:i.x===r.x?r.x:f.x*a,y:i.y===r.y?r.y:f.y*a});while(t[u]&&t[u].id!==u){var d={x:s,y:l,id:u},h=t[u].id,p=t[u].x,v=t[u].y,g={x:p,y:v,id:h},m=jY(g,d,t,n);m&&c.unshift({x:g.x===d.x?c[0].x:g.x*a,y:g.y===d.y?c[0].y:g.y*a}),u=h,s=p,l=v}var y={x:s,y:l,id:u};return c[0].x=y.x===n.x?o.x:c[0].x,c[0].y=y.y===n.y?o.y:c[0].y,c.unshift(o),c},_Y=function(e,t,n,r,o){if(isNaN(e.x)||isNaN(t.x))return[];var i=Object(GS[\"deepMix\"])(yY,o);i.obstacles=i.obstacles||[];var a=i.gridSize,c=xY(i.obstacles.concat([n,r]),a,i.offset),u={x:bY(e.x,a),y:bY(e.y,a)},s={x:bY(t.x,a),y:bY(t.y,a)};e.id=\"\".concat(u.x,\"|||\").concat(u.y),t.id=\"\".concat(s.x,\"|||\").concat(s.y);var l=SY(u,e,n,s,i),f=SY(s,t,r,u,i);l.forEach((function(e){delete c[e.id]})),f.forEach((function(e){delete c[e.id]}));for(var d={},h={},p={},v={},g={},m=0;m<l.length;m++){var y=l[m];d[y.id]=y,v[y.id]=0,g[y.id]=EY(y,f,i.distFunc)}var b,x,w,O,E,S,j,k=i.maximumLoops,_=i.penalties;while(Object.keys(d).length>0&&k>0){if(b=void 0,x=1/0,Object.keys(d).forEach((function(e){var t=d[e].id;g[t]<=x&&(x=g[t],b=d[t])})),!b)break;if(f.findIndex((function(e){return e.x===b.x&&e.y===b.y}))>-1)return kY(b,p,u,t,e,s,a);delete d[b.id],h[b.id]=!0;for(m=0;m<i.directions.length;m++)w=i.directions[m],O={x:b.x+w.stepX,y:b.y+w.stepY,id:\"\".concat(Math.round(b.x)+w.stepX,\"|||\").concat(Math.round(b.y)+w.stepY)},h[O.id]||(j=jY(b,O,p,u),j>i.maxAllowedDirectionChange||c[O.id]||(d[O.id]||(d[O.id]=O),E=i.distFunc(b,O)+(isNaN(_[j])?a:_[j]),S=v[b.id]+E,v[O.id]&&S>=v[O.id]||(p[O.id]=b,v[O.id]=S,g[O.id]=S+EY(O,f,i.distFunc))));k-=1}return i.fallbackRoute(e,t,n,r,i)};pD(\"polyline\",{options:{color:mD.defaultEdge.color,size:mD.defaultEdge.size,style:{radius:0,offset:15,x:0,y:0,stroke:mD.defaultEdge.style.stroke,lineAppendWidth:mD.defaultEdge.style.lineAppendWidth},labelCfg:{style:{fill:mD.edgeLabel.style.fill,fontSize:mD.edgeLabel.style.fontSize,fontFamily:mD.windowFontFamily}},routeCfg:{obstacles:[],maxAllowedDirectionChange:Math.PI,maximumLoops:500,gridSize:10},stateStyles:Object(US[\"__assign\"])({},mD.edgeStateStyles)},shapeType:\"polyline\",labelPosition:\"center\",drawShape:function(e,t){var n=this.getShapeStyle(e);0===n.radius&&delete n.radius;var r=t.addShape(\"path\",{className:\"edge-shape\",name:\"edge-shape\",attrs:n});return t[\"shapeMap\"][\"edge-shape\"]=r,r},getShapeStyle:function(e){var t=this.options.style,n={stroke:e.color},r=Object(GS[\"mix\"])({},t,n,e.style);e=this.getPathPoints(e),this.radius=r.radius,this.offset=r.offset;var o=e.startPoint,i=e.endPoint,a=this.getControlPoints(e),c=[o];a&&(c=c.concat(a)),c.push(i);var u=e.sourceNode,s=e.targetNode,l=r.radius,f=this.options.routeCfg,d=Object(GS[\"mix\"])({},f,e.routeCfg);d.offset=r.offset;var h=this.getPath(c,u,s,l,d);(Object(GS[\"isArray\"])(h)&&h.length<=1||Object(GS[\"isString\"])(h)&&-1===h.indexOf(\"L\"))&&(h=\"M0 0, L0 0\"),(isNaN(o.x)||isNaN(o.y)||isNaN(i.x)||isNaN(i.y))&&(h=\"M0 0, L0 0\");var p=Object(GS[\"mix\"])({},mD.defaultEdge.style,r,{lineWidth:e.size,path:h});return p},updateShapeStyle:function(e,t){var n=t.getContainer();if(t.isVisible()){var r={stroke:e.color},o=n[\"shapeMap\"][\"edge-shape\"]||n.find((function(e){return\"edge-shape\"===e.get(\"className\")}))||t.getKeyShape(),i=e.size;e=this.getPathPoints(e);var a=e.startPoint,c=e.endPoint,u=this.getControlPoints(e),s=[a];u&&(s=s.concat(u)),s.push(c);var l=o.attr(),f=Object(GS[\"mix\"])({},r,l,e.style),d=e.sourceNode,h=e.targetNode,p=f.radius,v=this.options.routeCfg,g=Object(GS[\"mix\"])({},v,e.routeCfg);g.offset=f.offset;var m=this.getPath(s,d,h,p,g);(Object(GS[\"isArray\"])(m)&&m.length<=1||Object(GS[\"isString\"])(m)&&-1===m.indexOf(\"L\"))&&(m=\"M0 0, L0 0\"),(isNaN(a.x)||isNaN(a.y)||isNaN(c.x)||isNaN(c.y))&&(m=\"M0 0, L0 0\"),l.endArrow&&!1===f.endArrow&&(e.style.endArrow={path:\"\"}),l.startArrow&&!1===f.startArrow&&(e.style.startArrow={path:\"\"});var y=Object(GS[\"mix\"])(r,o.attr(),{lineWidth:i,path:m},e.style);o&&o.attr(y)}},getPath:function(e,t,n,r,o){var i=o.offset,a=o.simple;if(!i||e.length>2){if(r)return dY(e,r);var c=[];return Object(GS[\"each\"])(e,(function(e,t){0===t?c.push([\"M\",e.x,e.y]):c.push([\"L\",e.x,e.y])})),c}var u=a?hY(e[e.length-1],e[0],n,t,i):_Y(e[0],e[e.length-1],t,n,o);if(!u||!u.length)return\"M0 0, L0 0\";if(r){var s=dY(u,r);return s}var l=uD.pointsToPolygon(u);return l}},\"single-edge\");var CY=gz.cloneEvent,MY=gz.isNaN,AY=Math.abs,NY=10,TY=[\"shift\",\"ctrl\",\"alt\",\"control\"],IY={getDefaultCfg:function(){return{direction:\"both\",enableOptimize:!1,scalableRange:0,allowDragOnItem:!1}},getEvents:function(){return{mousedown:\"onMouseDown\",drag:\"onDragMove\",dragend:\"onMouseUp\",\"canvas:click\":\"onMouseUp\",keyup:\"onKeyUp\",focus:\"onKeyUp\",keydown:\"onKeyDown\",touchstart:\"onTouchStart\",touchmove:\"onTouchMove\",touchend:\"onMouseUp\"}},updateViewport:function(e){var t=this.origin,n=+e.clientX,r=+e.clientY;if(!MY(n)&&!MY(r)){var o=n-t.x,i=r-t.y;\"x\"===this.get(\"direction\")?i=0:\"y\"===this.get(\"direction\")&&(o=0),this.origin={x:n,y:r};var a=this.graph.get(\"width\"),c=this.graph.get(\"height\"),u=this.graph.get(\"canvas\").getCanvasBBox(),s=this.scalableRange,l=this.scalableRange;s<1&&s>-1&&(s*=a,l*=c),(u.minX<=a+s&&u.minX+o>a+s||u.maxX+s>=0&&u.maxX+s+o<0)&&(o=0),(u.minY<=c+l&&u.minY+i>c+l||u.maxY+l>=0&&u.maxY+l+i<0)&&(i=0),this.graph.translate(o,i)}},onTouchStart:function(e){var t=this,n=e.originalEvent.touches,r=n[0],o=n[1];r&&o||(e.preventDefault(),this.mousedown=!0,t.onDragStart(e))},onMouseDown:function(e){this.mousedown=!0},onDragMove:function(e){this.mousedown&&(this.dragstart?this.onDrag(e):(this.dragstart=!0,this.onDragStart(e)))},onDragStart:function(e){var t=this,n=e.originalEvent;if((!n||\"touchstart\"===e.name||0===n.button)&&(\"touchstart\"===e.name||\"undefined\"===typeof window||!window.event||window.event.buttons||window.event.button)&&this.shouldBegin(e,this)&&!t.keydown){var r=e.target,o=r&&r.isCanvas&&r.isCanvas();if(this.allowDragOnItem||o){if(t.origin={x:e.clientX,y:e.clientY},t.dragging=!1,this.enableOptimize){for(var i=this.graph,a=i.getEdges(),c=0,u=a.length;c<u;c++){var s=a[c].get(\"group\").get(\"children\");s&&s.forEach((function(e){e.set(\"ori-visibility\",e.get(\"ori-visibility\")||e.get(\"visible\")),e.hide()}))}for(var l=i.getNodes(),f=0,d=l.length;f<d;f++)for(var h=l[f].getContainer(),p=h.get(\"children\"),v=0,g=p;v<g.length;v++){var m=g[v],y=m.get(\"isKeyShape\");y||(m.set(\"ori-visibility\",m.get(\"ori-visibility\")||m.get(\"visible\")),m.hide())}}if(\"undefined\"!==typeof window){var b=this;this.handleDOMContextMenu=function(e){return b.onMouseUp(e)},document.body.addEventListener(\"contextmenu\",this.handleDOMContextMenu)}}}},onTouchMove:function(e){var t=this,n=e.originalEvent.touches,r=n[0],o=n[1];r&&o?this.onMouseUp(e):(e.preventDefault(),t.onDrag(e))},onDrag:function(e){if(this.mousedown){var t=this.graph;if(!this.keydown){var n=e.target,r=n&&n.isCanvas&&n.isCanvas();if((this.allowDragOnItem||r)&&(e=CY(e),this.origin)){if(this.dragging)e.type=\"drag\",t.emit(\"canvas:drag\",e);else{if(AY(this.origin.x-e.clientX)+AY(this.origin.y-e.clientY)<NY)return;this.shouldBegin(e,this)&&(e.type=\"dragstart\",t.emit(\"canvas:dragstart\",e),this.originPosition={x:e.clientX,y:e.clientY},this.dragging=!0)}this.shouldUpdate(e,this)&&this.updateViewport(e)}}}},onMouseUp:function(e){var t,n;this.mousedown=!1,this.dragstart=!1;var r=this.graph;if(!this.keydown){var o=r.getZoom(),i=r.get(\"modeController\"),a=null===(n=null===(t=null===i||void 0===i?void 0:i.modes[i.mode])||void 0===t?void 0:t.filter((function(e){return\"zoom-canvas\"===e.type})))||void 0===n?void 0:n[0],c=a?a.optimizeZoom||.1:0;if(this.enableOptimize){for(var u=r.getEdges(),s=0,l=u.length;s<l;s++){var f=u[s].get(\"group\").get(\"children\");f&&f.forEach((function(e){var t=e.get(\"ori-visibility\");e.set(\"ori-visibility\",void 0),t&&e.show()}))}if(o>c)for(var d=r.getNodes(),h=0,p=d.length;h<p;h++)for(var v=d[h].getContainer(),g=v.get(\"children\"),m=0,y=g;m<y.length;m++){var b=y[m],x=b.get(\"isKeyShape\");if(!x){var w=b.get(\"ori-visibility\");b.set(\"ori-visibility\",void 0),w&&b.show()}}}this.dragging?(e=CY(e),this.shouldEnd(e,this)&&this.updateViewport(e),e.type=\"dragend\",e.dx=e.clientX-this.originPosition.x,e.dy=e.clientY-this.originPosition.y,r.emit(\"canvas:dragend\",e),this.endDrag(),\"undefined\"!==typeof window&&document.body.removeEventListener(\"contextmenu\",this.handleDOMContextMenu)):this.origin=null}},endDrag:function(){this.origin=null,this.dragging=!1,this.dragbegin=!1,this.mousedown=!1,this.dragstart=!1},onKeyDown:function(e){var t=this,n=e.key;n&&(TY.indexOf(n.toLowerCase())>-1?t.keydown=!0:t.keydown=!1)},onKeyUp:function(){this.keydown=!1,this.origin=null,this.dragging=!1,this.dragbegin=!1}},PY={getDefaultCfg:function(){return{updateEdge:!0,delegateStyle:{},enableDelegate:!1,onlyChangeComboSize:!1,comboActiveState:\"\",selectedState:\"selected\",enableOptimize:!1,enableDebounce:!1,enableStack:!0}},getEvents:function(){return{\"node:mousedown\":\"onMouseDown\",drag:\"onDragMove\",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(e){if(!this.origin||!e||e.destroyed)return!1;var t=e.getType();return\"combo\"===t},onTouchStart:function(e){if(e.item){var t=this;try{var n=e.originalEvent.touches,r=n[0],o=n[1];if(r&&o)return;e.preventDefault()}catch(i){console.warn(\"Touch original event not exist!\")}this.mousedown={item:e.item,target:e.target},this.dragstart=!0,t.onDragStart(e)}},onTouchMove:function(e){var t=this;try{var n=e.originalEvent.touches,r=n[0],o=n[1];if(r&&o)return void t.onDragEnd(e);e.preventDefault()}catch(e){console.warn(\"Touch original event not exist!\")}t.onDrag(e)},onMouseDown:function(e){this.mousedown={item:e.item,target:e.target}},onDragMove:function(e){var t,n;\"node\"===(null===(n=null===(t=e.item)||void 0===t?void 0:t.getType)||void 0===n?void 0:n.call(t))?this.mousedown&&(this.dragstart?this.onDrag(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},e),this.mousedown)):(this.dragstart=!0,this.onDragStart(e))):this.onDragEnd()},onDragStart:function(e){var t=this;if(this.currentShouldEnd=!0,this.shouldBegin(Object(US[\"__assign\"])(Object(US[\"__assign\"])({},e),this.mousedown),this)){var n=this.mousedown,r=n.item,o=n.target;if(r&&!r.destroyed&&!r.hasLocked()){var i=r.getContainer();if(i.set(\"capture\",!1),this.cachedCaptureItems||(this.cachedCaptureItems=[]),this.cachedCaptureItems.push(r),o){var a=o.get(\"isAnchorPoint\");if(a)return}var c=this.graph;this.targets=[],this.targetCombo=null;var u=c.findAllByState(\"node\",this.selectedState),s=r.get(\"id\"),l=u.filter((function(e){var t=e.get(\"id\");return s===t}));if(0===l.length?this.targets.push(r):u.length>1?u.forEach((function(e){var n=e.hasLocked();n||t.targets.push(e)})):this.targets.push(r),this.graph.get(\"enabledStack\")&&this.enableStack){var f=[];this.targets.forEach((function(e){var t=e.getModel(),n=t.x,r=t.y,o=t.id;f.push({x:n,y:r,id:o})})),this.set(\"beforeDragNodes\",f)}if(this.hidenEdge={},this.get(\"updateEdge\")&&this.enableOptimize&&!this.enableDelegate&&this.targets.forEach((function(e){var n=e.getEdges();n.forEach((function(e){e.isVisible()&&(t.hidenEdge[e.getID()]=!0,e.hide())}))})),this.origin={x:e.x,y:e.y},this.point={},this.originPoint={},\"undefined\"!==typeof window){var d=this;this.handleDOMContextMenu=function(){return d.onDragEnd()},document.body.addEventListener(\"contextmenu\",this.handleDOMContextMenu)}}}},onDrag:function(e){var t=this;this.mousedown&&this.origin&&this.shouldUpdate(e,this)&&(this.get(\"enableDelegate\")?this.updateDelegate(e):this.enableDebounce?this.debounceUpdate({targets:this.targets,graph:this.graph,point:this.point,origin:this.origin,evt:e,updateEdge:this.get(\"updateEdge\")}):this.targets.map((function(n){t.update(n,e)})))},onDragEnd:function(e){var t,n=this;if(this.mousedown=!1,this.dragstart=!1,this.origin){null===(t=this.cachedCaptureItems)||void 0===t||t.forEach((function(e){var t=e.getContainer();t.set(\"capture\",!0)})),this.cachedCaptureItems=[],this.delegateRect&&(this.delegateRect.remove(),this.delegateRect=null),this.get(\"updateEdge\")&&this.enableOptimize&&!this.enableDelegate&&this.targets.forEach((function(e){var t=e.getEdges();t.forEach((function(e){n.hidenEdge[e.getID()]&&e.show(),e.refresh()}))})),this.hidenEdge={};var r=this.graph;if(r.get(\"enabledStack\")&&this.enableStack){var o={before:{nodes:[],edges:[],combos:[]},after:{nodes:[],edges:[],combos:[]}};this.get(\"beforeDragNodes\").forEach((function(e){o.before.nodes.push(e)})),this.targets.forEach((function(e){var t=e.getModel(),n=t.x,r=t.y,i=t.id;o.after.nodes.push({x:n,y:r,id:i})})),r.pushStack(\"update\",Object(GS[\"clone\"])(o))}r.emit(\"dragnodeend\",{items:this.targets,targetItem:null}),this.point={},this.origin=null,this.originPoint={},this.targets.length=0,this.targetCombo=null,\"undefined\"!==typeof window&&document.body.removeEventListener(\"contextmenu\",this.handleDOMContextMenu)}},onDropCombo:function(e){var t=e.item;if(this.currentShouldEnd=this.shouldEnd(e,t,this),this.updatePositions(e,!this.currentShouldEnd),this.currentShouldEnd&&this.validationCombo(t)){var n=this.graph;if(this.comboActiveState&&n.setItemState(t,this.comboActiveState,!1),this.targetCombo=t,this.onlyChangeComboSize)n.updateCombos();else{var r=t.getModel();this.targets.map((function(e){var t=e.getModel();t.comboId!==r.id&&n.updateComboTree(e,r.id)})),n.updateCombo(t)}n.emit(\"dragnodeend\",{items:this.targets,targetItem:this.targetCombo})}},onDropCanvas:function(e){var t=this.graph;this.currentShouldEnd=this.shouldEnd(e,void 0,this),this.updatePositions(e,!this.currentShouldEnd),this.targets&&0!==this.targets.length&&this.currentShouldEnd&&(this.onlyChangeComboSize?t.updateCombos():this.targets.map((function(e){var n=e.getModel();n.comboId&&t.updateComboTree(e)})))},onDropNode:function(e){if(this.targets&&0!==this.targets.length){var t=this,n=e.item,r=t.graph,o=n.getModel().comboId,i=o?r.findById(o):void 0;if(this.currentShouldEnd=this.shouldEnd(e,i,this),this.updatePositions(e,!this.currentShouldEnd),this.currentShouldEnd){if(this.onlyChangeComboSize)r.updateCombos();else if(o){var a=r.findById(o);t.comboActiveState&&r.setItemState(a,t.comboActiveState,!1),this.targets.map((function(e){var t=e.getModel();o!==t.comboId&&r.updateComboTree(e,o)})),r.updateCombo(a)}else this.targets.map((function(e){var t=e.getModel();t.comboId&&r.updateComboTree(e)}));r.emit(\"dragnodeend\",{items:this.targets,targetItem:n})}}},onDragEnter:function(e){var t=e.item;if(this.validationCombo(t)){var n=this.graph;this.comboActiveState&&n.setItemState(t,this.comboActiveState,!0)}},onDragLeave:function(e){var t=e.item;if(this.validationCombo(t)){var n=this.graph;this.comboActiveState&&n.setItemState(t,this.comboActiveState,!1)}},updatePositions:function(e,t){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:e,updateEdge:this.get(\"updateEdge\"),updateFunc:this.update}):t||this.targets.map((function(t){return n.update(t,e)})):this.targets.map((function(r){return n.update(r,e,t)})))},update:function(e,t,n){var r=this.origin,o=e.get(\"model\"),i=e.get(\"id\");this.point[i]||(this.point[i]={x:o.x||0,y:o.y||0});var a=t.x-r.x+this.point[i].x,c=t.y-r.y+this.point[i].y;n&&(a+=r.x-t.x,c+=r.y-t.y);var u={x:a,y:c};this.get(\"updateEdge\")?this.graph.updateItem(e,u,!1):e.updatePosition(u)},debounceUpdate:Object(GS[\"debounce\"])((function(e){var t=e.targets,n=e.graph,r=e.point,o=e.origin,i=e.evt,a=e.updateEdge;e.updateFunc;t.map((function(e){var t=e.get(\"model\"),c=e.get(\"id\");r[c]||(r[c]={x:t.x||0,y:t.y||0});var u=i.x-o.x+r[c].x,s=i.y-o.y+r[c].y,l={x:u,y:s};a?n.updateItem(e,l,!1):e.updatePosition(l)}))}),50,!0),updateDelegate:function(e){var t=this.graph;if(this.delegateRect){var n=e.x-this.origin.x+this.originPoint.minX,r=e.y-this.origin.y+this.originPoint.minY;this.delegateRect.attr({x:n,y:r})}else{var o=t.get(\"group\"),i=Object(GS[\"deepMix\"])({},qB.delegateStyle,this.delegateStyle),a=this.calculationGroupPosition(e),c=a.x,u=a.y,s=a.width,l=a.height,f=a.minX,d=a.minY;this.originPoint={x:c,y:u,width:s,height:l,minX:f,minY:d},this.delegateRect=o.addShape(\"rect\",{attrs:Object(US[\"__assign\"])({width:s,height:l,x:c,y:u},i),name:\"rect-delegate-shape\"}),this.delegate=this.delegateRect,this.delegateRect.set(\"capture\",!1)}},calculationGroupPosition:function(e){var t=this.targets;0===t.length&&t.push(e.item);for(var n=1/0,r=-1/0,o=1/0,i=-1/0,a=0;a<t.length;a++){var c=t[a],u=c.getBBox(),s=u.minX,l=u.minY,f=u.maxX,d=u.maxY;s<n&&(n=s),l<o&&(o=l),f>r&&(r=f),d>i&&(i=d)}var h=Math.floor(n),p=Math.floor(o),v=Math.ceil(r)-Math.floor(n),g=Math.ceil(i)-Math.floor(o);return{x:h,y:p,width:v,height:g,minX:n,minY:o}}},LY={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(e){var t=this;try{var n=e.originalEvent.touches,r=n[0],o=n[1];if(r&&o)return;e.preventDefault()}catch(e){console.warn(\"Touch original event not exist!\")}t.setAllItemStates(e)},clearOnTouchStart:function(e){var t=this;try{var n=e.originalEvent.touches,r=n[0],o=n[1];if(r&&o)return;e.preventDefault()}catch(e){console.warn(\"Touch original event not exist!\")}t.clearActiveState(e)},setAllItemStates:function(e){clearTimeout(this.timer),this.throttleSetAllItemStates(e,this)},clearActiveState:function(e){var t=this;this.timer=setTimeout((function(){t.throttleClearActiveState(e,t)}),50)},throttleSetAllItemStates:Object(GS[\"throttle\"])((function(e,t){var n=e.item,r=t.graph;if(r&&!r.destroyed&&(t.item=n,t.shouldUpdate(e.item,{event:e,action:\"activate\"},t))){for(var o=t.activeState,i=t.inactiveState,a=r.getNodes(),c=r.getCombos(),u=r.getEdges(),s=r.get(\"vedges\"),l=a.length,f=c.length,d=u.length,h=s.length,p=t.inactiveItems||{},v=t.activeItems||{},g=0;g<l;g++){var m=a[g],y=m.getID(),b=m.hasState(\"selected\");t.resetSelected&&b&&r.setItemState(m,\"selected\",!1),v[y]&&(r.setItemState(m,o,!1),delete v[y]),i&&!p[y]&&(r.setItemState(m,i,!0),p[y]=m)}for(g=0;g<f;g++){var x=c[g],w=x.getID();b=x.hasState(\"selected\");t.resetSelected&&b&&r.setItemState(x,\"selected\",!1),v[w]&&(r.setItemState(x,o,!1),delete v[w]),i&&!p[w]&&(r.setItemState(x,i,!0),p[w]=x)}for(g=0;g<d;g++){var O=u[g],E=O.getID();v[E]&&(r.setItemState(O,o,!1),delete v[E]),i&&!p[E]&&(r.setItemState(O,i,!0),p[E]=O)}for(g=0;g<h;g++){var S=s[g],j=S.getID();v[j]&&(r.setItemState(S,o,!1),delete v[j]),i&&!p[j]&&(r.setItemState(S,i,!0),p[j]=S)}i&&(r.setItemState(n,i,!1),delete p[n.getID()]),v[n.getID()]||(r.setItemState(n,o,!0),v[n.getID()]=n);var k=n.getEdges(),_=k.length;for(g=0;g<_;g++){O=k[g],E=O.getID();var C=void 0;C=O.getSource()===n?O.getTarget():O.getSource();var M=C.getID();i&&p[M]&&(r.setItemState(C,i,!1),delete p[M]),v[M]||(r.setItemState(C,o,!0),v[M]=C),p[E]&&(r.setItemState(O,i,!1),delete p[E]),v[E]||(r.setItemState(O,o,!0),v[E]=O),O.toFront()}t.activeItems=v,t.inactiveItems=p,r.emit(\"afteractivaterelations\",{item:e.item,action:\"activate\"})}}),50,{trailing:!0,leading:!0}),throttleClearActiveState:Object(GS[\"throttle\"])((function(e,t){var n=t.get(\"graph\");if(n&&!n.destroyed&&t.shouldUpdate(e.item,{event:e,action:\"deactivate\"},t)){var r=t.activeState,o=t.inactiveState,i=t.activeItems||{},a=t.inactiveItems||{};Object.values(i).forEach((function(e){n.clearItemStates(e,r)})),Object.values(a).forEach((function(e){n.clearItemStates(e,o)})),t.activeItems={},t.inactiveItems={},n.emit(\"afteractivaterelations\",{item:e.item||t.get(\"item\"),action:\"deactivate\"})}}),50,{trailing:!0,leading:!0})},DY=Math.min,RY=Math.max,FY=Math.abs,BY=\"shift\",zY=[\"drag\",\"shift\",\"ctrl\",\"alt\",\"control\"],UY={getDefaultCfg:function(){return{brushStyle:{fill:\"#EEF6FF\",fillOpacity:.4,stroke:\"#DDEEFE\",lineWidth:1},onSelect:function(){},onDeselect:function(){},selectedState:\"selected\",trigger:BY,includeEdges:!0,includeCombos:!1,selectedEdges:[],selectedNodes:[],selectedCombos:[]}},getEvents:function(){return zY.indexOf(this.trigger.toLowerCase())>-1||(this.trigger=BY,console.warn(\"Behavior brush-select \\u7684 trigger \\u53c2\\u6570\\u4e0d\\u5408\\u6cd5\\uff0c\\u8bf7\\u8f93\\u5165 'drag'\\u3001'shift'\\u3001'ctrl' \\u6216 '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(e){var t=e.item,n=this.brush;t||(\"drag\"===this.trigger||this.keydown)&&(this.selectedNodes&&0!==this.selectedNodes.length&&this.clearStates(),n||(n=this.createBrush()),this.originPoint={x:e.canvasX,y:e.canvasY},n.attr({width:0,height:0}),n.show(),this.dragging=!0)},onMouseMove:function(e){this.dragging&&(\"drag\"===this.trigger||this.keydown)&&this.updateBrush(e)},onMouseUp:function(e){this.graph;(this.brush||this.dragging)&&(\"drag\"===this.trigger||this.keydown)&&(this.brush.remove(!0),this.brush=null,this.getSelectedNodes(e),this.dragging=!1)},clearStates:function(){var e=this,t=e.graph,n=e.selectedState,r=t.findAllByState(\"node\",n),o=t.findAllByState(\"edge\",n),i=t.findAllByState(\"combo\",n);r.forEach((function(e){return t.setItemState(e,n,!1)})),o.forEach((function(e){return t.setItemState(e,n,!1)})),i.forEach((function(e){return t.setItemState(e,n,!1)})),this.selectedNodes=[],this.selectedEdges=[],this.selectedCombos=[],this.onDeselect&&this.onDeselect(this.selectedNodes,this.selectedEdges,this.selectedCombos),t.emit(\"nodeselectchange\",{selectedItems:{nodes:[],edges:[],combos:[]},select:!1})},isBBoxCenterInRect:function(e,t,n,r,o){var i=e.getBBox();return i.centerX>=t&&i.centerX<=n&&i.centerY>=r&&i.centerY<=o},getSelectedNodes:function(e){var t=this,n=this,r=n.graph,o=n.originPoint,i=n.shouldUpdate,a=n.isBBoxCenterInRect,c=this.selectedState,u={x:e.x,y:e.y},s=r.getPointByCanvas(o.x,o.y),l=DY(u.x,s.x),f=RY(u.x,s.x),d=DY(u.y,s.y),h=RY(u.y,s.y),p=[],v=[];r.getNodes().forEach((function(e){if(e.isVisible()&&a(e,l,f,d,h)&&i(e,\"select\",t)){p.push(e);var n=e.getModel();v.push(n.id),r.setItemState(e,c,!0)}}));var g=[];this.includeEdges&&p.forEach((function(e){var n=e.getOutEdges();n.forEach((function(e){if(e.isVisible()){var n=e.getModel(),o=n.source,a=n.target;v.includes(o)&&v.includes(a)&&i(e,\"select\",t)&&(g.push(e),r.setItemState(e,t.selectedState,!0))}}))}));var m=[];this.includeCombos&&r.getCombos().forEach((function(e){if(e.isVisible()&&a(e,l,f,d,h)&&i(e,\"select\",t)){m.push(e);var n=e.getModel();v.push(n.id),r.setItemState(e,c,!0)}})),this.selectedEdges=g,this.selectedNodes=p,this.selectedCombos=m,this.onSelect&&this.onSelect(p,g,m),r.emit(\"nodeselectchange\",{selectedItems:{nodes:p,edges:g,combos:m},select:!0})},createBrush:function(){var e=this,t=e.graph.get(\"canvas\").addShape(\"rect\",{attrs:e.brushStyle,capture:!1,name:\"brush-shape\"});return this.brush=t,this.delegate=t,t},updateBrush:function(e){var t=this.originPoint;this.brush.attr({width:FY(e.canvasX-t.x),height:FY(e.canvasY-t.y),x:DY(e.canvasX,t.x),y:DY(e.canvasY,t.y)})},onKeyDown:function(e){var t=e.key;if(t){var n=this.trigger.toLowerCase(),r=t.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}},GY=\"shift\",VY=[\"shift\",\"ctrl\",\"alt\",\"control\"],WY={getDefaultCfg:function(){return{multiple:!0,trigger:GY,selectedState:\"selected\",selectNode:!0,selectEdge:!1,selectCombo:!0}},getEvents:function(){var e=this;return VY.indexOf(e.trigger.toLowerCase())>-1||(e.trigger=GY,console.warn(\"Behavior click-select \\u7684 trigger \\u53c2\\u6570\\u4e0d\\u5408\\u6cd5\\uff0c\\u8bf7\\u8f93\\u5165 'drag'\\u3001'shift'\\u3001'ctrl' \\u6216 'alt'\")),e.multiple?{\"node:click\":\"onClick\",\"combo:click\":\"onClick\",\"edge:click\":\"onClick\",\"canvas:click\":\"onCanvasClick\",keyup:\"onKeyUp\",keydown:\"onKeyDown\"}:{\"node:click\":\"onClick\",\"combo:click\":\"onClick\",\"edge:click\":\"onClick\",\"canvas:click\":\"onCanvasClick\"}},onClick:function(e){var t=this,n=e.item;if(n&&!n.destroyed){var r=n.getType(),o=t.graph,i=t.keydown,a=t.multiple,c=t.shouldUpdate,u=t.shouldBegin;if(u(e,t)){if(!i||!a){var s=o.findAllByState(\"node\",t.selectedState).concat(o.findAllByState(\"edge\",t.selectedState)).concat(o.findAllByState(\"combo\",t.selectedState));Object(GS[\"each\"])(s,(function(e){e!==n&&o.setItemState(e,t.selectedState,!1)}))}var l=function(){switch(r){case\"node\":return t.selectNode;case\"edge\":return t.selectEdge;case\"combo\":return t.selectCombo;default:return!1}}();if(l)if(n.hasState(t.selectedState)){c(e,t)&&o.setItemState(n,t.selectedState,!1);f=o.findAllByState(\"node\",t.selectedState),d=o.findAllByState(\"edge\",t.selectedState),h=o.findAllByState(\"combo\",t.selectedState);o.emit(\"nodeselectchange\",{target:n,selectedItems:{nodes:f,edges:d,combos:h},select:!1})}else{c(e,t)&&o.setItemState(n,t.selectedState,!0);f=o.findAllByState(\"node\",t.selectedState),d=o.findAllByState(\"edge\",t.selectedState),h=o.findAllByState(\"combo\",t.selectedState);o.emit(\"nodeselectchange\",{target:n,selectedItems:{nodes:f,edges:d,combos:h},select:!0})}else{var f=o.findAllByState(\"node\",t.selectedState),d=o.findAllByState(\"edge\",t.selectedState),h=o.findAllByState(\"combo\",t.selectedState);o.emit(\"nodeselectchange\",{selectedItems:{nodes:f,edges:d,combos:h},select:!1})}}}},onCanvasClick:function(e){var t=this,n=this,r=n.graph,o=n.shouldBegin;if(o(e,this)){var i=r.findAllByState(\"node\",this.selectedState);Object(GS[\"each\"])(i,(function(e){r.setItemState(e,t.selectedState,!1)}));var a=r.findAllByState(\"edge\",this.selectedState);Object(GS[\"each\"])(a,(function(e){r.setItemState(e,t.selectedState,!1)}));var c=r.findAllByState(\"combo\",this.selectedState);Object(GS[\"each\"])(c,(function(e){r.setItemState(e,t.selectedState,!1)})),r.emit(\"nodeselectchange\",{selectedItems:{nodes:[],edges:[],combos:[]},select:!1})}},onKeyDown:function(e){var t=this,n=e.key;n&&(n.toLowerCase()===this.trigger.toLowerCase()||\"control\"===n.toLowerCase()?t.keydown=!0:t.keydown=!1)},onKeyUp:function(){var e=this;e.keydown=!1}},HY=o.transform,YY=.05,XY={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 e=this.fixSelectedItems;return e.fixState||(e.fixState=\"selected\"),e.fixAll&&(e.fixLineWidth=!0,e.fixLabel=!0),{wheel:\"onWheel\",touchstart:\"onTouchStart\",touchmove:\"onTouchMove\",touchend:\"onTouchEnd\"}},onTouchStart:function(e){var t=e.originalEvent.touches,n=t[0],r=t[1];e.preventDefault(),r&&(this.shouldBegin&&!this.shouldBegin(e,this)||(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(e){if(this.moveable){e.preventDefault();var t=e.originalEvent.touches,n=t[0],r=t[1];if(r){this.endPoint||(this.endPoint={pageX:r.pageX,pageY:r.pageY});var o=function(e,t){return Math.hypot(t.x-e.x,t.y-e.y)},i=o({x:n.pageX,y:n.pageY},{x:r.pageX,y:r.pageY})/o({x:this.startPoint.pageX,y:this.startPoint.pageY},{x:this.endPoint.pageX,y:this.endPoint.pageY}),a=this.originScale*i;this.currentScale=a;var c=this.get(\"minZoom\")||this.graph.get(\"minZoom\"),u=this.get(\"maxZoom\")||this.graph.get(\"maxZoom\");if(!(a>u||a<c)){var s=this.get(\"animate\"),l=this.get(\"animateCfg\"),f=this.graph.get(\"canvas\"),d=f.getPointByClient(e.clientX,e.clientY);this.graph.zoomTo(a,{x:d.x,y:d.y},s,l),this.graph.emit(\"wheelzoom\",e)}}}},onTouchEnd:function(){this.moveable=!1,this.endPoint=null},onWheel:function(e){var t=this,n=this,r=n.graph,o=n.fixSelectedItems;if((!this.shouldBegin||this.shouldBegin(e,this))&&this.shouldUpdate(e,this)){e.preventDefault();var i=r.get(\"canvas\"),a=i.getPointByClient(e.clientX,e.clientY),c=this.get(\"sensitivity\"),u=r.getZoom(),s=u,l=u;s=e.wheelDelta<0?1-YY*c:1/(1-YY*c),l=u*s;var f=this.get(\"minZoom\")||r.get(\"minZoom\"),d=this.get(\"maxZoom\")||r.get(\"maxZoom\");l>d?l=d:l<f&&(l=f);var h=this.get(\"enableOptimize\");if(h){var p=this.get(\"optimizeZoom\"),v=this.get(\"optimized\"),g=r.getNodes(),m=r.getEdges(),y=g.length,b=m.length;if(!v){for(var x=0;x<y;x++){var w=g[x];if(!w.destroyed)for(var O=w.get(\"group\").get(\"children\"),E=O.length,S=0;S<E;S++){var j=O[S];j.destoryed||j.get(\"isKeyShape\")||(j.set(\"ori-visibility\",j.get(\"ori-visibility\")||j.get(\"visible\")),j.hide())}}for(var k=0;k<b;k++){var _=m[k];for(O=_.get(\"group\").get(\"children\"),E=O.length,S=0;S<E;S++){j=O[S];j.set(\"ori-visibility\",j.get(\"ori-visibility\")||j.get(\"visible\")),j.hide()}}this.set(\"optimized\",!0)}clearTimeout(this.get(\"timeout\"));var C=setTimeout((function(){var e=r.getZoom(),n=t.get(\"optimized\");if(n){t.set(\"optimized\",!1);for(var o=0;o<y;o++){var i=g[o],a=i.get(\"group\").get(\"children\"),c=a.length;if(e<p){var u=i.getKeyShape(),s=u.get(\"ori-visibility\");u.set(\"ori-visibility\",void 0),s&&u.show()}else for(var l=0;l<c;l++){var f=a[l];s=f.get(\"ori-visibility\");f.set(\"ori-visibility\",void 0),!f.get(\"visible\")&&s&&s&&f.show()}}for(var d=0;d<b;d++){var h=m[d];a=h.get(\"group\").get(\"children\"),c=a.length;if(e<p){u=h.getKeyShape(),s=u.get(\"ori-visibility\");u.set(\"ori-visibility\",void 0),s&&u.show()}else for(l=0;l<c;l++){f=a[l];if(!f.get(\"visible\")){s=f.get(\"ori-visibility\");f.set(\"ori-visibility\",void 0),s&&f.show()}}}}}),100);this.set(\"timeout\",C)}if(u<=1){var M=void 0,A=void 0;if(o.fixAll||o.fixLineWidth||o.fixLabel){M=r.findAllByState(\"node\",o.fixState),A=r.findAllByState(\"edge\",o.fixState);for(var N=u/l,T=M.length,I=0;I<T;I++){w=M[I];var P=w.getContainer(),L=w.getModel(),D=w.getOriginStyle(),R=w.getStateStyle(o.fixState),F=w.get(\"shapeFactory\").getShape(L.type).getStateStyle(o.fixState,w)[o.fixState];if(o.fixAll){if(l<=1){var B=Object(GS[\"clone\"])(P.getMatrix());B||(B=[1,0,0,0,1,0,0,0,1]);var z=w.getModel(),U=z.x,G=z.y;B=HY(B,[[\"t\",-U,-G],[\"s\",N,N],[\"t\",U,G]]),P.setMatrix(B)}}else for(O=P.get(\"children\"),E=O.length,S=0;S<E;S++){j=O[S];var V=void 0,W=void 0;if(o.fixLabel){var H=j.get(\"type\");if(\"text\"===H){V=j.attr(\"fontSize\")||12;var Y=R[j.get(\"name\")],X=F[j.get(\"name\")],q=Y?Y.fontSize:12,K=X?X.fontSize:12,Z=q||K||12;if(l<=1&&j.attr(\"fontSize\",Z/l),W)break}}if(o.fixLineWidth&&j.get(\"isKeyShape\")){W=j.attr(\"lineWidth\")||0;var $=R.lineWidth||F.lineWidth||D.lineWidth||0;if(l<=1&&j.attr(\"lineWidth\",$/l),V)break}}}for(var Q=A.length,J=0;J<Q;J++)for(_=A[J],P=_.getContainer(),O=P.get(\"children\"),L=_.getModel(),R=_.getStateStyle(o.fixState),F=_.get(\"shapeFactory\").getShape(L.type).getStateStyle(o.fixState,_)[o.fixState],E=O.length,S=0;S<E;S++){j=O[S],V=void 0,W=void 0;if(o.fixLabel||o.fixAll){H=j.get(\"type\");if(\"text\"===H){V=j.attr(\"fontSize\")||12;Y=R[j.get(\"name\")],X=F[j.get(\"name\")],q=Y?Y.fontSize:12,K=X?X.fontSize:12,Z=q||K||12;if(l<=1&&j.attr(\"fontSize\",Z/l),W)break}}if((o.fixLineWidth||o.fixAll)&&j.get(\"isKeyShape\")){W=j.attr(\"lineWidth\")||0;$=R.lineWidth||F.lineWidth||1;if(l<=1&&j.attr(\"lineWidth\",$/l),V)break}}}}var ee=this.get(\"animate\"),te=this.get(\"animateCfg\");r.zoomTo(l,{x:a.x,y:a.y},ee,te),r.emit(\"wheelzoom\",e)}}},qY={onMouseEnter:function(e){var t=e.item;this.currentTarget=t,this.showTooltip(e),this.graph.emit(\"tooltipchange\",{item:e.item,action:\"show\"})},onMouseMove:function(e){this.shouldUpdate(e,this)?this.currentTarget&&e.item===this.currentTarget&&this.updatePosition(e):this.hideTooltip()},onMouseLeave:function(e){this.shouldEnd(e,this)&&(this.hideTooltip(),this.graph.emit(\"tooltipchange\",{item:this.currentTarget,action:\"hide\"}),this.currentTarget=null)},showTooltip:function(e){var t=this.container;if(e.item&&!e.item.destroyed){t||(t=this.createTooltip(this.graph.get(\"canvas\")),this.container=t);var n=this.formatText(e.item.get(\"model\"),e);t.innerHTML=n,QB(this.container,{visibility:\"visible\"}),this.updatePosition(e)}},hideTooltip:function(){QB(this.container,{visibility:\"hidden\"})},updatePosition:function(e){var t=this.get(\"shouldBegin\"),n=this,r=n.width,o=n.height,i=n.container,a=n.graph;if(t(e,this)){var c=a.getPointByClient(e.clientX,e.clientY),u=a.getCanvasByPoint(c.x,c.y),s=u.x,l=u.y,f=i.getBoundingClientRect();s>r/2?s-=f.width:s+=this.offset,l>o/2?l-=f.height:l+=this.offset;var d=\"\".concat(s,\"px\"),h=\"\".concat(l,\"px\");QB(this.container,{left:d,top:h,visibility:\"visible\"})}else QB(i,{visibility:\"hidden\"})},createTooltip:function(e){var t=e.get(\"el\");t.style.position=\"relative\";var n=$B('<div class=\"g6-tooltip g6-'.concat(this.item,'-tooltip\"></div>'));return t.parentNode.appendChild(n),QB(n,{position:\"absolute\",visibility:\"visible\"}),this.width=e.get(\"width\"),this.height=e.get(\"height\"),this.container=n,this.graph.get(\"tooltips\").push(n),n}},KY=Object(US[\"__assign\"])({getDefaultCfg:function(){return{item:\"node\",offset:12,formatText:function(e){return e.label}}},getEvents:function(){return{\"node:mouseenter\":\"onMouseEnter\",\"node:mouseleave\":\"onMouseLeave\",\"node:mousemove\":\"onMouseMove\",afterremoveitem:\"onMouseLeave\"}}},qY),ZY=Object(US[\"__assign\"])({getDefaultCfg:function(){return{item:\"edge\",offset:12,formatText:function(e){return\"source: \".concat(e.source,\" target: \").concat(e.target)}}},getEvents:function(){return{\"edge:mouseenter\":\"onMouseEnter\",\"edge:mouseleave\":\"onMouseLeave\",\"edge:mousemove\":\"onMouseMove\",afterremoveitem:\"onMouseLeave\"}}},qY),$Y=\"click\",QY=[\"click\",\"dblclick\"],JY={getDefaultCfg:function(){return{trigger:$Y,onChange:function(){}}},getEvents:function(){var e,t;return QY.includes(this.trigger)?t=this.trigger:(t=$Y,console.warn(\"Behavior collapse-expand \\u7684 trigger \\u53c2\\u6570\\u4e0d\\u5408\\u6cd5\\uff0c\\u8bf7\\u8f93\\u5165 'click' \\u6216 'dblclick'\")),e={},e[\"node:\".concat(t)]=\"onNodeClick\",e.touchstart=\"onNodeClick\",e},onNodeClick:function(e){var t=e.item;if(t){var n=this.graph.findDataById(t.get(\"id\"));if(n){var r=n.children;if(r&&0!==r.length){var o=!n.collapsed;this.shouldBegin(e,o,this)&&(n.collapsed=o,t.getModel().collapsed=o,this.graph.emit(\"itemcollapsed\",{item:e.item,collapsed:o}),this.shouldUpdate(e,o,this)&&(this.onChange(t,o,this),this.graph.layout()))}}}}},eX=gz.calculationItemsBBox,tX=function e(t,n){if(!1!==n(t)&&t){var r=t.get(\"combos\");if(0===r.length)return!1;Object(GS[\"each\"])(r,(function(t){e(t,n)}))}},nX={getDefaultCfg:function(){return{enableDelegate:!1,delegateStyle:{},onlyChangeComboSize:!1,activeState:\"\",selectedState:\"selected\",enableStack:!0}},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(e){var t=e.item;if(!t||t.destroyed)return!1;if(!this.shouldUpdate(e,this))return!1;var n=t.getType();return\"combo\"===n},onDragStart:function(e){var t=this,n=this.graph,r=e.item;if(this.currentShouldEnd=!0,this.validationCombo(e)){this.targets=[];var o=n.findAllByState(\"combo\",this.selectedState),i=r.get(\"id\"),a=o.filter((function(e){var t=e.get(\"id\");return i===t}));0===a.length?this.targets.push(r):this.targets=o;var c=[];this.targets.forEach((function(e){var t=e.getModel(),n=t.x,r=t.y,o=t.id;c.push({x:n,y:r,id:o})})),this.set(\"beforeDragItems\",c),this.activeState&&this.targets.map((function(e){var r=e.getModel();if(r.parentId){var o=n.findById(r.parentId);o&&n.setItemState(o,t.activeState,!0)}})),this.point={},this.originPoint={},this.origin={x:e.x,y:e.y},this.currentItemChildCombos=[],tX(r,(function(e){if(e.destroyed)return!1;var n=e.getModel();return t.currentItemChildCombos.push(n.id),!0}))}},onDrag:function(e){var t=this;if(this.origin&&this.validationCombo(e))if(this.enableDelegate)this.updateDelegate(e);else{if(this.activeState){var n=this.graph,r=e.item,o=r.getModel(),i=n.getCombos(),a=r.getBBox(),c=a.centerX,u=a.centerY,s=a.width,l=i.filter((function(e){var n=e.getModel();return o.parentId,n.id!==o.id&&!t.currentItemChildCombos.includes(n.id)}));l.map((function(e){var r=e.getBBox(),o=r.centerX,i=r.centerY,a=r.width,l=c-o,f=u-i,d=2*Math.sqrt(l*l+f*f);s+a-d>.8*s?n.setItemState(e,t.activeState,!0):n.setItemState(e,t.activeState,!1)}))}Object(GS[\"each\"])(this.targets,(function(n){t.updateCombo(n,e)}))}},updatePositions:function(e,t){var n=this;(this.enableDelegate||t)&&Object(GS[\"each\"])(this.targets,(function(r){n.updateCombo(r,e,t)}))},onDrop:function(e){var t=this,n=e.item;if(this.currentShouldEnd=this.shouldEnd(e,n,this),this.updatePositions(e,!this.currentShouldEnd),this.currentShouldEnd&&n&&this.targets&&!n.destroyed){var r=this.graph,o=n.getModel();this.targets.map((function(e){var i=e.getModel();i.parentId!==o.id?(t.activeState&&r.setItemState(n,t.activeState,!1),t.onlyChangeComboSize?r.updateCombo(e):r.updateComboTree(e,o.id,!1)):r.updateCombo(n)})),this.end(n,e),this.endComparison=!0}},onNodeDrop:function(e){var t=this;if(this.targets&&0!==this.targets.length){var n=this.graph,r=e.item,o=r.getModel().comboId,i=o?n.findById(o):void 0;if(this.currentShouldEnd=this.shouldEnd(e,i,this),this.updatePositions(e,!this.currentShouldEnd),this.currentShouldEnd){var a;if(o){if(this.activeState){var c=n.findById(o);n.setItemState(c,this.activeState,!1)}this.targets.map((function(e){t.onlyChangeComboSize?n.updateCombo(e):o!==e.getID()&&(a=n.findById(o),o!==e.getModel().parentId&&n.updateComboTree(e,o,!1))}))}else this.targets.map((function(e){if(t.onlyChangeComboSize)n.updateCombo(e);else{var r=e.getModel();r.comboId&&n.updateComboTree(e,void 0,!1)}}));this.endComparison=!0,this.end(a,e)}}},onDragEnter:function(e){if(this.origin&&this.validationCombo(e)){var t=e.item,n=this.graph;this.activeState&&n.setItemState(t,this.activeState,!0)}},onDragLeave:function(e){if(this.origin&&this.validationCombo(e)){var t=e.item,n=this.graph;this.activeState&&n.setItemState(t,this.activeState,!1)}},onDragEnd:function(e){if(this.targets&&0!==this.targets.length){var t=e.item;this.currentShouldEnd&&this.updatePositions(e);var n=this.getParentCombo(t.getModel().parentId),r=this.graph;n&&this.activeState&&r.setItemState(n,this.activeState,!1),this.end(void 0,e)}},end:function(e,t){var n=this;if(this.origin){var r=this.graph;if(this.delegateShape){var o=r.get(\"delegateGroup\");o.clear(),this.delegateShape=null}if(e&&this.activeState&&r.setItemState(e,this.activeState,!1),!e){var i=r.get(\"enabledStack\")&&this.enableStack,a={before:{nodes:[],edges:[],combos:[].concat(this.get(\"beforeDragItems\"))},after:{nodes:[],edges:[],combos:[]}};this.targets.map((function(e){if(n.onlyChangeComboSize){r.updateCombo(e);var t=e.getModel(),o=t.x,c=t.y,u=t.id;a.after.combos.push({x:o,y:c,id:u}),r.pushStack(\"update\",a)}else r.updateComboTree(e,void 0,i)}))}this.point=[],this.origin=null,this.originPoint=null,this.targets.length=0}},traverse:function(e,t,n){var r=this;if(void 0===n&&(n={}),!1!==t(e,n)&&e){var o=e.get(\"combos\");Object(GS[\"each\"])(o,(function(e){r.traverse(e,t,n)}));var i=e.get(\"nodes\");Object(GS[\"each\"])(i,(function(e){r.traverse(e,t,n)}))}},updateCombo:function(e,t,n){this.updateSingleItem(e,t,n);var r={};this.traverse(e,(function(e,t){return!e.destroyed&&(e.getEdges().forEach((function(e){return t[e.getID()]=e})),!0)}),r),Object.values(r).forEach((function(e){return e.refresh()}))},updateSingleItem:function(e,t,n){var r=this.origin,o=this.graph,i=e.getModel(),a=e.get(\"id\");this.point[a]||(this.point[a]={x:i.x,y:i.y});var c=t.x-r.x+this.point[a].x,u=t.y-r.y+this.point[a].y;n&&(c+=r.x-t.x,u+=r.y-t.y),o.updateItem(e,{x:c,y:u},!1)},getParentCombo:function(e){var t=this.graph;if(e){var n=t.findById(e);if(n)return n}},updateDelegate:function(e){var t=this.graph;if(this.delegateShape){var n=e.x-this.origin.x+this.originPoint.minX,r=e.y-this.origin.y+this.originPoint.minY;this.delegateShape.attr({x:n,y:r})}else{var o=t.get(\"delegateGroup\"),i=null;i=this.targets.length>1?eX(this.targets):this.targets[0].getBBox();var a=i.x,c=i.y,u=i.width,s=i.height,l=i.minX,f=i.minY;this.originPoint={x:a,y:c,width:u,height:s,minX:l,minY:f};var d=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},qB.delegateStyle),this.delegateStyle);this.delegateShape=o.addShape(\"rect\",{attrs:Object(US[\"__assign\"])({width:i.width,height:i.height,x:i.x,y:i.y},d),name:\"combo-delegate-shape\"}),this.delegateShape.set(\"capture\",!1),this.delegate=this.delegateShape}}},rX=\"dblclick\",oX=[\"click\",\"dblclick\"],iX={getDefaultCfg:function(){return{trigger:rX,relayout:!0}},getEvents:function(){var e,t;return oX.includes(this.trigger)?t=this.trigger:(t=rX,console.warn(\"Behavior collapse-expand-group \\u7684 trigger \\u53c2\\u6570\\u4e0d\\u5408\\u6cd5\\uff0c\\u8bf7\\u8f93\\u5165 'click' \\u6216 'dblclick'\")),e={},e[\"combo:\".concat(t)]=\"onComboClick\",e},onComboClick:function(e){var t=e.item,n=this,r=n.graph,o=n.relayout;if(t&&!t.destroyed&&\"combo\"===t.getType()){var i=t.getModel(),a=i.id;a&&(r.collapseExpandCombo(a),o&&r.get(\"layout\")?r.layout():r.refreshPositions())}}},aX=gz.isPolygonsIntersect,cX=gz.pathToPoints,uX=\"shift\",sX=[\"drag\",\"shift\",\"ctrl\",\"alt\",\"control\"],lX=function(e,t){var n,r=e.getKeyShape();if(\"path\"===e.get(\"type\"))n=cX(r.attr(\"path\"));else{var o=r.getCanvasBBox();n=[[o.minX,o.minY],[o.maxX,o.minY],[o.maxX,o.maxY],[o.minX,o.maxY]]}return aX(t,n)},fX={getDefaultCfg:function(){return{delegateStyle:{fill:\"#EEF6FF\",fillOpacity:.4,stroke:\"#DDEEFE\",lineWidth:1},onSelect:function(){},onDeselect:function(){},shouldDeselect:void 0,selectedState:\"selected\",trigger:uX,includeEdges:!0,selectedEdges:[],selectedNodes:[]}},getEvents:function(){return sX.indexOf(this.trigger.toLowerCase())>-1||(this.trigger=uX,console.warn(\"Behavior lasso-select \\u7684 trigger \\u53c2\\u6570\\u4e0d\\u5408\\u6cd5\\uff0c\\u8bf7\\u8f93\\u5165 'drag'\\u3001'shift'\\u3001'ctrl' \\u6216 '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(e){var t=this.lasso,n=e.item;n||(\"drag\"===this.trigger||this.keydown)&&(this.selectedNodes&&0!==this.selectedNodes.length&&this.clearStates(\"dragstart\"),t||(t=this.createLasso()),this.dragging=!0,this.originPoint={x:e.x,y:e.y},this.points.push(this.originPoint),t.show())},onDragMove:function(e){this.dragging&&(\"drag\"===this.trigger||this.keydown)&&(this.points.push({x:e.x,y:e.y}),this.updateLasso(e))},onDragEnd:function(e){(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 e=this.points,t=[];return e.length&&(e.forEach((function(e,n){0===n?t.push([\"M\",e.x,e.y]):t.push([\"L\",e.x,e.y])})),t.push([\"L\",e[0].x,e[0].y])),t},clearStates:function(e){void 0===e&&(e=\"canvas:click\");var t=this,n=t.graph,r=t.selectedState,o=t.shouldDeselect,i=n.findAllByState(\"node\",r),a=n.findAllByState(\"edge\",r);o&&!o({action:e,nodes:i,edges:a})||(i.forEach((function(e){return n.setItemState(e,r,!1)})),a.forEach((function(e){return n.setItemState(e,r,!1)}))),this.onDeselect&&this.onDeselect(this.selectedNodes,this.selectedEdges),this.selectedNodes=[],this.selectedEdges=[],n.emit(\"nodeselectchange\",{selectedItems:{nodes:[],edges:[]},select:!1})},getSelectedItems:function(){var e=this,t=this,n=t.graph,r=t.shouldUpdate,o=this.points.map((function(e){return[n.getCanvasByPoint(e.x,e.y).x,n.getCanvasByPoint(e.x,e.y).y]})),i=this.selectedState,a=[],c=[];n.getNodes().forEach((function(t){if(t.isVisible()&&lX(t,o)&&r(t,\"select\",e)){a.push(t);var u=t.getModel();c.push(u.id),n.setItemState(t,i,!0)}}));var u=[];this.includeEdges&&a.forEach((function(t){var o=t.getOutEdges();o.forEach((function(t){if(t.isVisible()){var o=t.getModel(),i=o.source,a=o.target;c.includes(i)&&c.includes(a)&&r(t,\"select\",e)&&(u.push(t),n.setItemState(t,e.selectedState,!0))}}))})),this.selectedEdges=u,this.selectedNodes=a,this.onSelect&&this.onSelect(a,u),n.emit(\"nodeselectchange\",{selectedItems:{nodes:a,edges:u},select:!0})},createLasso:function(){var e=this,t=e.graph.get(\"delegateGroup\").addShape(\"path\",{attrs:Object(US[\"__assign\"])({path:[]},e.delegateStyle),capture:!1,name:\"lasso-shape\"});return this.lasso=t,this.delegate=t,this.points=[],t},updateLasso:function(e){var t=this;this.lasso.attr({path:t.getLassoPath()})},onKeyDown:function(e){var t=e.key;t&&(t.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}},dX=\"click\",hX=[\"click\",\"drag\"],pX=void 0,vX=[\"shift\",\"ctrl\",\"control\",\"alt\",\"meta\",void 0],gX={getDefaultCfg:function(){return{trigger:dX,key:pX,edgeConfig:{},getEdgeConfig:void 0}},getEvents:function(){var e,t=this;return hX.indexOf(t.trigger.toLowerCase())>-1||(t.trigger=dX,console.warn(\"Behavior create-edge \\u7684 trigger \\u53c2\\u6570\\u4e0d\\u5408\\u6cd5\\uff0c\\u8bf7\\u8f93\\u5165 'click'\\uff0c'drag'\")),t.key&&-1===vX.indexOf(t.key.toLowerCase())&&(t.trigger=pX,console.warn(\"Behavior create-edge \\u7684 key \\u53c2\\u6570\\u4e0d\\u5408\\u6cd5\\uff0c\\u8bf7\\u8f93\\u5165 'shift'\\uff0c'ctrl'\\uff0c'alt'\\uff0c'control'\\uff0c\\u6216 undefined\")),\"drag\"===t.trigger?e={\"node:dragstart\":\"onClick\",\"combo:dragstart\":\"onClick\",drag:\"updateEndPoint\",\"node:drop\":\"onClick\",\"combo:drop\":\"onClick\",dragend:\"onDragEnd\"}:\"click\"===t.trigger&&(e={\"node:click\":\"onClick\",mousemove:\"updateEndPoint\",\"edge:click\":\"cancelCreating\",\"canvas:click\":\"cancelCreating\",\"combo:click\":\"onClick\"}),t.key&&(e.keydown=\"onKeyDown\",e.keyup=\"onKeyUp\"),e},onDragEnd:function(e){var t=this;if(!t.key||t.keydown){var n=e.item;n&&n.getID()!==t.source&&\"node\"===n.getType()||t.cancelCreating({item:t.edge,x:e.x,y:e.y})}},onClick:function(e){var t=this;if(!t.key||t.keydown){var n=e.item,r=t.graph,o=n.getModel(),i=t.getEdgeConfig;if(t.addingEdge&&t.edge){if(!t.shouldEnd(e,t))return;var a=void 0;a=i&&Object(GS[\"isFunction\"])(i)?i({source:t.source,target:o.id},t):t.edgeConfig;var c=Object(US[\"__assign\"])({target:o.id},a);if(t.source===o.id&&(c.type=\"loop\"),r.emit(\"beforecreateedge\",{}),r.updateItem(t.edge,c,!1),r.get(\"enabledStack\")){var u=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},t.edge.getModel()),{itemType:\"edge\"}),s={};s.edges=[u],r.pushStack(\"add\",{before:{},after:s})}r.emit(\"aftercreateedge\",{edge:t.edge}),t.edge.getKeyShape().set(\"capture\",!0),t.edge=null,t.addingEdge=!1}else{if(!t.shouldBegin(e,t))return;a=void 0;a=i&&Object(GS[\"isFunction\"])(i)?i({source:o.id,target:o.id},t):t.edgeConfig,t.edge=r.addItem(\"edge\",Object(US[\"__assign\"])({source:o.id,target:o.id},a),!1),t.source=o.id,t.addingEdge=!0,t.edge.getKeyShape().set(\"capture\",!1)}}},updateEndPoint:function(e){var t=this;if(!t.key||t.keydown){t.edge&&t.edge.destroyed&&t.cancelCreating({item:t.edge});var n={x:e.x,y:e.y};t.graph.findById(t.source)?t.addingEdge&&t.edge&&t.graph.updateItem(t.edge,{target:n},!1):t.addingEdge=!1}},cancelCreating:function(e){var t,n,r=this;if(!r.key||r.keydown){var o=r.graph,i=e.item;return r.addingEdge&&(r.edge===i||(null===(n=null===(t=e.target)||void 0===t?void 0:t.isCanvas)||void 0===n?void 0:n.call(t)))?(r.edge&&!r.edge.destroyed&&o.removeItem(r.edge,!1),r.edge=null,void(r.addingEdge=!1)):void 0}},onKeyDown:function(e){var t=this,n=e.key;n&&(n.toLowerCase()===t.key.toLowerCase()?t.keydown=!0:t.keydown=!1)},onKeyUp:function(){var e=this;e.addingEdge&&e.edge&&(e.graph.removeItem(e.edge,!1),e.addingEdge=!1,e.edge=null),this.keydown=!1}},mX=\"ctrl\",yX=[\"shift\",\"ctrl\",\"alt\",\"control\"],bX=\"1\",xX={getDefaultCfg:function(){return{trigger:mX,combinedKey:bX,functionName:\"fitView\",functionParams:[]}},getEvents:function(){return yX.indexOf(this.trigger.toLowerCase())>-1||(this.trigger=mX,console.warn(\"Behavior shortcuts-fit-view \\u7684 trigger \\u53c2\\u6570 '\".concat(this.trigger,\"' \\u4e0d\\u5408\\u6cd5\\uff0c\\u8bf7\\u8f93\\u5165 'drag'\\u3001'shift'\\u3001'ctrl' \\u6216 'alt'\"))),this.combinedKey===this.trigger&&(this.combinedKey=void 0),{keyup:\"onKeyUp\",keydown:\"onKeyDown\"}},onKeyDown:function(e){var t=e.key;if(t){var n=this.trigger.toLowerCase(),r=t.toLowerCase();this.triggerKeydown||(this.triggerKeydown=r===n||\"control\"===r&&\"ctrl\"===n||\"ctrl\"===r&&\"control\"===n);var o=this.graph;if(!o[this.functionName])return console.warn(\"Behavior shortcuts-fit-view \\u7684 functionName \\u53c2\\u6570 '\".concat(this.functionName,\"' \\u4e0d\\u5408\\u6cd5\\uff0c\\u5b83\\u4e0d\\u662f Graph \\u7684\\u4e00\\u4e2a\\u51fd\\u6570\\u540d\")),{};if(!this.triggerKeydown||this.combinedKey){var i=this.combinedKey.toLowerCase();this.triggerKeydown&&(r===i||\"control\"===r&&\"ctrl\"===i||\"ctrl\"===r&&\"control\"===i)&&(this.functionParams&&this.functionParams.length?o[this.functionName].apply(o,this.functionParams):o[this.functionName]())}else this.functionParams&&this.functionParams.length?o[this.functionName].apply(o,this.functionParams):o[this.functionName]()}},onKeyUp:function(){this.brush&&(this.brush.remove(!0),this.brush=null,this.dragging=!1),this.triggerKeydown=!1}},wX=[\"shift\",\"ctrl\",\"alt\",\"control\",\"meta\"],OX={getDefaultCfg:function(){return{direction:\"both\",enableOptimize:!1,zoomKey:\"ctrl\",scalableRange:0,allowDragOnItem:!0}},getEvents:function(){return this.zoomKey&&-1!==wX.indexOf(this.zoomKey)||(this.zoomKey=\"ctrl\"),{wheel:\"onWheel\"}},onWheel:function(e){var t=this,n=e.target,r=n&&n.isCanvas&&n.isCanvas();if(this.allowDragOnItem||r){var o=this.graph,i=Array.isArray(this.zoomKey)?[].concat(this.zoomKey):[this.zoomKey];i.includes(\"control\")&&i.push(\"ctrl\");var a=i.some((function(t){return e[\"\".concat(t,\"Key\")]}));if(a){var c=o.get(\"canvas\"),u=c.getPointByClient(e.clientX,e.clientY),s=o.getZoom();e.wheelDelta>0?s+=.05*s:s-=.05*s,o.zoomTo(s,{x:u.x,y:u.y})}else{var l=e.deltaX||e.movementX,f=e.deltaY||e.movementY;!f&&navigator.userAgent.indexOf(\"Firefox\")>-1&&(f=125*-e.wheelDelta/3);var d=this.graph.get(\"width\"),h=this.graph.get(\"height\"),p=this.graph.get(\"canvas\").getCanvasBBox(),v=this.scalableRange,g=this.scalableRange;v<1&&v>-1&&(v*=d,g*=h);var m=p.minX,y=p.maxX,b=p.minY,x=p.maxY;l>0?y<-v?l=0:y-l<-v&&(l=y+v):l<0&&(m>d+v?l=0:m-l>d+v&&(l=m-(d+v))),f>0?x<-g?f=0:x-f<-g&&(f=x+g):f<0&&(b>h+g?f=0:b-f>h+g&&(f=b-(h+g))),\"x\"===this.get(\"direction\")?f=0:\"y\"===this.get(\"direction\")&&(l=0),o.translate(-l,-f)}e.preventDefault();var w=this.get(\"enableOptimize\");if(w){var O=this.get(\"optimizeZoom\"),E=this.get(\"optimized\"),S=o.getNodes(),j=o.getEdges(),k=S.length,_=j.length;if(!E){for(var C=0;C<k;C++){var M=S[C];if(!M.destroyed)for(var A=M.get(\"group\").get(\"children\"),N=A.length,T=0;T<N;T++){var I=A[T];I.destoryed||I.get(\"isKeyShape\")||(I.set(\"ori-visibility\",I.get(\"ori-visibility\")||I.get(\"visible\")),I.hide())}}for(var P=0;P<_;P++){var L=j[P];for(A=L.get(\"group\").get(\"children\"),N=A.length,T=0;T<N;T++){I=A[T];I.set(\"ori-visibility\",I.get(\"ori-visibility\")||I.get(\"visible\")),I.hide()}}this.set(\"optimized\",!0)}clearTimeout(this.get(\"timeout\"));var D=setTimeout((function(){var e=o.getZoom(),n=t.get(\"optimized\");if(n){t.set(\"optimized\",!1);for(var r=0;r<k;r++){var i=S[r],a=i.get(\"group\").get(\"children\"),c=a.length;if(e<O){var u=i.getKeyShape(),s=u.get(\"ori-visibility\");s&&u.show()}else for(var l=0;l<c;l++){var f=a[l];s=f.get(\"ori-visibility\");!f.get(\"visible\")&&s&&s&&f.show()}}for(var d=0;d<_;d++){var h=j[d];a=h.get(\"group\").get(\"children\"),c=a.length;if(e<O){u=h.getKeyShape(),s=u.get(\"ori-visibility\");s&&u.show()}else for(l=0;l<c;l++){f=a[l];if(!f.get(\"visible\")){s=f.get(\"ori-visibility\");s&&f.show()}}}}}),100);this.set(\"timeout\",D)}}}},EX={\"drag-canvas\":IY,\"zoom-canvas\":XY,\"drag-node\":PY,\"activate-relations\":LY,\"brush-select\":UY,\"click-select\":WY,\"lasso-select\":fX,tooltip:KY,\"edge-tooltip\":ZY,\"collapse-expand\":JY,\"drag-combo\":nX,\"collapse-expand-combo\":iX,\"create-edge\":gX,\"shortcuts-call\":xX,\"scroll-canvas\":OX};Object(GS[\"each\"])(EX,(function(e,t){gD(t,e)}));var SX=Object(US[\"__assign\"])(Object(US[\"__assign\"])({},i),yD),jX=(zH.Grid,zH.Minimap,zH.Bundling,zH.Menu,zH.Fisheye),kX=(zH.ToolBar,zH.Tooltip,zH.TimeBar),_X=zH.ImageMinimap,CX=zH.EdgeFilterLens,MX=zH.SnapLine,AX=(zH.Legend,zH.Annotation),NX={version:qB.version,Graph:zz,TreeGraph:Wz,Util:gz,Layout:rz[\"Layouts\"],TreeLayout:bz,registerLayout:xz,Global:qB,registerBehavior:gD,registerCombo:vD,registerEdge:pD,registerNode:hD,Minimap:zH.Minimap,Grid:zH.Grid,Bundling:zH.Bundling,Menu:zH.Menu,ToolBar:zH.ToolBar,Tooltip:zH.Tooltip,Legend:zH.Legend,TimeBar:kX,SnapLine:MX,Fisheye:jX,ImageMinimap:_X,EdgeFilterLens:CX,Annotation:AX,Algorithm:SX,Arrow:tD,Marker:nD,Shape:rD};NX.version=\"4.7.16\";var TX=NX,IX=TX.Util;function PX(e){var t=e.data,n=\"A-\".concat(Object(Rd[\"g\"])()),r=Object(j[\"useRef\"])();return Object(j[\"useEffect\"])((()=>{if(t&&!r.current){TX.registerNode(\"dice-mind-map-root\",{jsx:e=>{var t=IX.getTextSize(e.name,16)[0]+24,n=e.style.stroke||\"#096dd9\";e.style.fill;return'\\n      <group>\\n        <rect draggable=\"true\" style={{width: '.concat(t,\", height: 42, stroke: \").concat(n,\", radius: 4}} keyshape>\\n          <text style={{ fontSize: 16, marginLeft: 12, marginTop: 12, fill: \").concat(n,\" }}>\").concat(e.name,\"</text></rect>\\n      </group>\\n    \")},getAnchorPoints(){return[[0,.5],[1,.5]]}},\"single-node\"),TX.registerNode(\"dice-mind-map-sub\",{jsx:e=>{var t=IX.getTextSize(e.name,14)[0]+24,n=e.color||e.style.stroke||\"#13c2c2\",r=e.position,o=\"left\"===r?\"#36cfc9\":\"#73d13d\";return'\\n      <group>\\n        <rect draggable=\"true\" style={{width: '.concat(t+24,\", height: 22, stroke: \").concat(o,', radius: 4}} keyshape>\\n          <text draggable=\"true\" style={{ fontSize: 14, marginLeft: 12, marginTop: 6, fill: ').concat(o,\" }}>\").concat(e.name,\"</text>\\n        </rect>\\n        <rect style={{ fill: \").concat(n,\", width: \").concat(t+24,\", height: 2, x: 0, y: 22 }} />\\n      </group>\\n    \")},getAnchorPoints(){return[[0,.965],[1,.965]]}},\"single-node\"),TX.registerNode(\"dice-mind-map-leaf\",{jsx:e=>{var t=e.name+e.rate,n=IX.getTextSize(t,12)[0]+24,r=e.color||e.style.stroke||\"white\",o=e.position,i=\"left\"===o?\"#87e8de\":\"#b7eb8f\";return'\\n      <group>\\n        <rect draggable=\"true\" style={{width: '.concat(n+20,\", height: 26, fill: 'transparent', stroke:\").concat(i,\", radius: 4 }}>\\n          <text style={{ fontSize: 10, marginLeft: 10, marginTop: 2, fill: '#ffa39e',next:'inline' }}>\").concat(e.rate,\"</text>\\n          <text style={{ fontSize: 12, marginLeft: 20, marginTop: 2, fill: \").concat(r,\", next:'inline' }}>\").concat(e.name,\"</text>\\n        </rect>\\n      </group>\\n    \")},getAnchorPoints(){return[[0,.965],[1,.965]]}},\"single-node\"),TX.registerBehavior(\"scroll-canvas\",{getEvents:function(){return{wheel:\"onWheel\"}},onWheel:function(e){var t=this.graph;if(t){if(e.ctrlKey){var n=t.get(\"canvas\"),r=n.getPointByClient(e.clientX,e.clientY),o=t.getZoom();e.wheelDelta>0?o+=.05*o:o*=.05*o,t.zoomTo(o,{x:r.x,y:r.y})}else{var i=e.deltaX||e.movementX,a=e.deltaY||e.movementY||125*-e.wheelDelta/3;t.translate(-i,-a)}e.preventDefault()}}});var e=e=>{var t=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0,o=Object(ia[\"a\"])({},t);switch(n){case 0:o.type=\"dice-mind-map-root\";break;case 1:o.type=\"dice-mind-map-sub\";break;default:o.type=\"dice-mind-map-leaf\";break}return o.hover=!1,r&&(o.color=r),t.children&&(o.children=t.children.map((t=>e(t,n+1,o.color)))),o};return t(e)},o=document.getElementById(n),i=o.scrollWidth,a=500,c=new TX.TreeGraph({container:n,width:i,height:a,fitView:!0,fitViewPadding:[10,20],layout:{type:\"mindmap\",direction:\"H\",getHeight:()=>16,getWidth:e=>0===e.level?IX.getTextSize(e.name,16)[0]+12:IX.getTextSize(e.name,12)[0],getVGap:()=>10,getHGap:()=>60,getSide:()=>\"right\"},defaultEdge:{type:\"cubic-horizontal\",style:{lineWidth:2}},minZoom:.5,modes:{default:[\"drag-canvas\",\"zoom-canvas\",\"dice-mindmap\"]}});c.data(e(t)),c.render(),r.current=c}}),[t]),Object(kd[\"jsx\"])(\"div\",{id:n,style:{width:\"100%\"}})}function LX(e){var t=Object(PO[\"a\"])(\"@@initialState\"),n=t.initialState,r=n.url,o=n.isReuest,i=n.components,a=e.searchData,c=e.tabActiveKey,u=Object(j[\"useState\"])(\"-\"),s=Object(Ta[\"a\"])(u,2),l=s[0],f=s[1],d=Object(j[\"useState\"])(!1),h=Object(Ta[\"a\"])(d,2),p=h[0],v=h[1],g=Object(j[\"useState\"])(!0),m=Object(Ta[\"a\"])(g,2),y=m[0],b=m[1],x=Object(j[\"useState\"])({sharesList:[],investList:[],domain:\"-\",icp:\"-\",persion:\"-\",type:\"-\"}),w=Object(Ta[\"a\"])(x,2),O=w[0],E=w[1],S=Object(j[\"useRef\"])(c),k=Object(j[\"useRef\"])(null),_=xl(wS,{manual:!0,onBefore:()=>{E({sharesList:[],investList:[],domain:\"-\",icp:\"-\",persion:\"-\",type:\"-\"}),f(\"-\")},onSuccess:(e,t)=>{b(!1);var n=!!e.content;if(n){var r=e.content,o=r.name,i=void 0===o?\"\":o,a=r.shares,c=void 0===a?[]:a,u=r.invest,s=void 0===u?[]:u;(\"-\"===l||i)&&f(i||\"-\"),E(Object(ia[\"a\"])({sharesList:c||[],investList:s||[]},e.content));var d=t[0].keyword,h=Object(wl[\"b\"])(),p=h?JSON.parse(h):{};return p[d]?p[d].companyInfo=e.content:p[d]={companyInfo:e.content},void Object(wl[\"e\"])(JSON.stringify(p))}E({sharesList:[],investList:[],domain:\"-\",icp:\"-\",persion:\"-\",type:\"-\"}),f(\"-\")},onError:()=>{b(!1)}}),C=_.run;return Object(j[\"useEffect\"])((()=>{if(o){v(!0);var e=\"https://www.aizhan.com/cha/\".concat(r,\"/\");zS.a.ajax({url:e,type:\"GET\",async:!1,success:function(e){if(e){var t=zS()(e).find(\"#icp_company\").text().trim();v(!1),t&&f(t)}},error:function(){v(!1)}}),setTimeout((()=>{var e=Object(wl[\"b\"])(),t=e?JSON.parse(e):{};if(t[r]&&t[r].companyInfo){var n=t[r].companyInfo,o=n.name,a=void 0===o?\"\":o,c=n.shares,u=void 0===c?[]:c,s=n.invest,d=void 0===s?[]:s;return\"-\"===l&&a&&f(a),E(Object(ia[\"a\"])({sharesList:u||[],investList:d||[]},t[r].companyInfo)),void b(!1)}C({keyword:r,fid:Object(Rd[\"c\"])(i)})}),1e3)}}),[o]),Object(j[\"useEffect\"])((()=>{o||r||b(!1)}),[]),Object(j[\"useEffect\"])((()=>{if(a.searchTime){if(\"4\"===S.current)return b(!0),void C({keyword:a.url,fid:Object(Rd[\"c\"])(i)});k.current=a}}),[a]),Object(j[\"useEffect\"])((()=>{S.current=c,\"4\"===c&&k.current&&(b(!0),C({keyword:k.current.url,fid:Object(Rd[\"c\"])(i)}),k.current=null)}),[c]),Object(kd[\"jsx\"])(\"div\",{children:Object(kd[\"jsx\"])(ad,{className:\"basic-cert-info\",size:\"small\",loading:p,children:Object(kd[\"jsx\"])(ad.Grid,{style:{width:\"100%\"},children:Object(kd[\"jsxs\"])(xf,{gutter:[5,5],children:[Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsxs\"])(xf,{gutter:[5,5],children:[Object(kd[\"jsxs\"])(Ed,{span:12,children:[Object(kd[\"jsx\"])(\"span\",{children:\"\\u516c\\u53f8\\u540d\\u79f0\\uff1a\"}),Object(kd[\"jsx\"])(\"span\",{children:Object(kd[\"jsx\"])(\"a\",{children:l})})]}),Object(kd[\"jsxs\"])(Ed,{span:12,children:[Object(kd[\"jsx\"])(\"span\",{children:\"\\u516c\\u53f8\\u6cd5\\u4eba\\uff1a\"}),Object(kd[\"jsx\"])(\"span\",{children:Object(kd[\"jsx\"])(\"a\",{children:(null===O||void 0===O?void 0:O.persion)||\"-\"})})]})]})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsxs\"])(xf,{gutter:[5,5],children:[Object(kd[\"jsxs\"])(Ed,{span:12,children:[Object(kd[\"jsx\"])(\"span\",{children:\"\\u5907\\u6848\\u53f7\\uff1a\"}),Object(kd[\"jsx\"])(\"span\",{children:Object(kd[\"jsx\"])(\"a\",{children:(null===O||void 0===O?void 0:O.icp)||\"-\"})})]}),Object(kd[\"jsxs\"])(Ed,{span:12,children:[Object(kd[\"jsx\"])(\"span\",{children:\"\\u516c\\u53f8\\u7c7b\\u578b\\uff1a\"}),Object(kd[\"jsx\"])(\"span\",{children:Object(kd[\"jsx\"])(\"a\",{children:(null===O||void 0===O?void 0:O.type)||\"-\"})})]})]})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(Km,{tip:\"\\u6570\\u636e\\u52a0\\u8f7d\\u6162\\uff0c\\u8bf7\\u7a0d\\u7b49...\",spinning:y,children:Object(kd[\"jsxs\"])(\"div\",{style:{minHeight:y?150:20},children:[Object(kd[\"jsx\"])(\"span\",{children:\"\\u80a1\\u6743\\u7ed3\\u6784\\uff1a\"}),0===O.sharesList.length&&Object(kd[\"jsx\"])(\"span\",{children:\"-\"}),y?null:Object(kd[\"jsx\"])(PX,{data:O.sharesList.length>0&&{name:l,id:l,position:\"middle\",children:[{name:\"\\u80a1\\u6743\\u7ed3\\u6784\",id:\"\\u80a1\\u6743\\u7ed3\\u6784\",position:\"left\",children:[...O.sharesList.map((e=>Object(ia[\"a\"])(Object(ia[\"a\"])({},e),{},{id:e.name,position:\"left\"})))]},{name:\"\\u5bf9\\u5916\\u6295\\u8d44\",id:\"\\u5bf9\\u5916\\u6295\\u8d44\",position:\"right\",children:[...O.investList.map((e=>Object(ia[\"a\"])(Object(ia[\"a\"])({},e),{},{id:e.name,position:\"right\"})))]}]}},y?1:2)]})})})]})})})})}r(\"hir/\");var DX=Iu.Search;function RX(){var e=Object(j[\"useState\"])({}),t=Object(Ta[\"a\"])(e,2),n=t[0],r=t[1],o=Object(j[\"useState\"])(\"1\"),i=Object(Ta[\"a\"])(o,2),a=i[0],c=i[1],u=Object(j[\"useState\"])(\"\"),s=Object(Ta[\"a\"])(u,2),l=s[0],f=s[1],d=Object(j[\"useState\"])({searchTime:null,url:\"\"}),h=Object(Ta[\"a\"])(d,2),p=h[0],v=h[1],g=Object(j[\"useRef\"])(a),m=Object(j[\"useRef\"])(null),y=Object(aa[\"c\"])(\"@@initialState\"),b=y.initialState,x=b.url,w=b.isReuest,O=b.components,E=Object(aa[\"c\"])(\"@@initialState\"),S=E.initialState,k=E.setInitialState,_=xl(vS,{manual:!0,onSuccess:(e,t)=>{if(r(e.content||{}),e.content&&0!==Object.keys(e.content).length){var n=t[0].keyword,o=Object(wl[\"b\"])(),i=o?JSON.parse(o):{};i[n]?i[n].basicInfo=e.content:i[n]={basicInfo:e.content},Object(wl[\"e\"])(JSON.stringify(i))}}}),C=_.loading,M=_.run,A=[{label:\"\\u57fa\\u672c\\u4fe1\\u606f\",key:\"1\",children:Object(kd[\"jsx\"])(Ud,{data:n,loading:C})},{label:\"\\u7aef\\u53e3\\u670d\\u52a1\",key:\"3\",children:Object(kd[\"jsx\"])(FS,{data:n,loading:C})},{label:\"\\u5b50\\u57df\\u4fe1\\u606f\",key:\"2\",children:Object(kd[\"jsx\"])(SS,{searchData:p,tabActiveKey:a})},{label:\"\\u516c\\u53f8\\u4fe1\\u606f\",key:\"4\",children:Object(kd[\"jsx\"])(LX,{searchData:p,tabActiveKey:a})}],N=e=>{e?(v({searchTime:(new Date).getTime(),url:e}),S.isReuest&&k(Object(ia[\"a\"])(Object(ia[\"a\"])({},S),{},{isReuest:!1})),[\"1\",\"3\"].includes(g.current)?M({page:1,keyword:e,fid:Object(Rd[\"c\"])(O)}):m.current=e):Na[\"default\"].warning(\"\\u57df\\u540d\\u4e0d\\u5b58\\u5728\\uff01\")},T=e=>{Object(Rd[\"h\"])(e)||Object(Rd[\"i\"])(e)||Object(Rd[\"j\"])(e)?(f(e),N(e)):Na[\"default\"].warning(\"\\u8f93\\u5165\\u683c\\u5f0f\\u6709\\u8bef\\u8bf7\\u68c0\\u67e5\\u540e\\u91cd\\u65b0\\u8f93\\u5165\\uff01\")};return Object(j[\"useEffect\"])((()=>{if(w&&x){var e=Object(wl[\"b\"])(),t=e?JSON.parse(e):{};if(t[x]&&t[x].basicInfo)return r(t[x].basicInfo),void f(x);f(x),M({page:1,keyword:x,fid:Object(Rd[\"c\"])(O)})}}),[w,x]),Object(kd[\"jsxs\"])(\"div\",{children:[Object(kd[\"jsxs\"])(\"div\",{style:{textAlign:\"right\",marginBottom:5,lineHeight:\"28px\"},children:[Object(kd[\"jsxs\"])(\"span\",{children:[\" \",\"\\u5f53\\u524d\\u57df\\u540d: \",Object(kd[\"jsx\"])(\"a\",{style:{marginLeft:8},children:l||\"-\"}),Object(kd[\"jsx\"])(Aa,{title:\"\\u5237\\u65b0\\u5f53\\u524d\\u57df\\u540d\\u6570\\u636e\",children:Object(kd[\"jsx\"])(Ru,{onClick:()=>{N(l)},style:{fontSize:12,color:\"#52c41a\",marginLeft:2,cursor:\"pointer\"}})})]}),Object(kd[\"jsx\"])(DX,{loading:C,placeholder:\"\\u8f93\\u5165\\u57df\\u540d\\u5982 google.com \\u5207\\u6362\\u641c\\u7d22\",style:{width:230,marginLeft:15},onSearch:T})]}),Object(kd[\"jsx\"])(ra,{tabPosition:\"left\",defaultActiveKey:\"1\",items:A,onChange:e=>{c(e),g.current=e,[\"1\",\"3\"].includes(g.current)&&m.current&&(M({page:1,keyword:m.current,fid:Object(Rd[\"c\"])(O)}),m.current=null)}})]})}r(\"O/iA\");var FX=Dm.Option;function BX(e){return e&&e.type&&(e.type.isSelectOption||e.type.isSelectOptGroup)}var zX=function(e,t){var n,r=e.prefixCls,o=e.className,i=e.popupClassName,a=e.dropdownClassName,c=e.children,u=e.dataSource,s=Object(ae[\"a\"])(c);if(1===s.length&&wa(s[0])&&!BX(s[0])){var l=Object(F[\"a\"])(s,1);n=l[0]}var f,d=n?function(){return n}:void 0;return f=s.length&&BX(s[0])?c:u?u.map((function(e){if(wa(e))return e;switch(Object(B[\"a\"])(e)){case\"string\":return j[\"createElement\"](FX,{key:e,value:e},e);case\"object\":var t=e.value;return j[\"createElement\"](FX,{key:t,value:t},e.text);default:return}})):[],j[\"createElement\"](Ri[\"a\"],null,(function(n){var c=n.getPrefixCls,u=c(\"select\",r);return j[\"createElement\"](Dm,Object(O[\"a\"])({ref:t},it(e,[\"dataSource\"]),{prefixCls:u,popupClassName:i||a,className:R()(\"\".concat(u,\"-auto-complete\"),o),mode:Dm.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:d}),f)}))},UX=j[\"forwardRef\"](zX);UX.Option=FX;var GX=UX,VX=r(\"LvDl\"),WX=r.n(VX),HX={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z\"}},{tag:\"path\",attrs:{d:\"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\"}}]},name:\"minus-circle\",theme:\"outlined\"},YX=HX,XX=function(e,t){return j[\"createElement\"](M[\"a\"],Object(S[\"a\"])(Object(S[\"a\"])({},e),{},{ref:t,icon:YX}))};XX.displayName=\"MinusCircleOutlined\";var qX=j[\"forwardRef\"](XX),KX={searchTools:\"\\u641c\\u7d22\\u5de5\\u5177\",maxAdd:\"\\u53ef\\u6dfb\\u52a0\\u6807\\u7b7e\\u5df2\\u8fbe\\u4e0a\\u9650\",warnWrite:\"\\u8bf7\\u586b\\u5199\\u8fc7\\u6ee4\\u5668\\u4ee5\\u590d\\u5236\",hasCopy:\"\\u5df2\\u590d\\u5236\\u5230\\u526a\\u8d34\\u677f\",copyFailed:\"\\u590d\\u5236\\u5931\\u8d25\",searchContent:\"\\u8f93\\u5165\\u67e5\\u8be2\\u5185\\u5bb9\",searchLogic:\"\\u67e5\\u8be2\\u903b\\u8f91\",searchType:\"\\u5173\\u952e\\u5b57\",or:\"\\u6216\\uff08\\u6216\\u8005\\uff09\",and:\"\\u4e14\\uff08\\u5305\\u62ec\\uff09\",not:\"\\u975e\\uff08\\u53bb\\u9664\\uff09\",search:\"\\u68c0\\u7d22\",copyForSearch:\"\\u8fc7\\u6ee4\\u5668\\u8bed\\u53e5(\\u590d\\u5236\\u4ee5\\u65b9\\u4fbf\\u4e0b\\u6b21\\u67e5\\u8be2)\",plsWrite:\"\\u8bf7\\u586b\\u5199\\u8fc7\\u6ee4\\u5668\",ip:\"IP\\uff08\\u652f\\u6301IPV4\\u548cIPV6\\uff09\",cidr:\"CIDR\\uff08IP \\u5730\\u5740\\u6bb5\\uff09\",hostname:\"Hostname\\uff08\\u4e3b\\u673a\\u540d\\uff09\",site:\"Site\\uff08\\u57df\\u540d\\uff09\",country:\"Country\\uff08\\u56fd\\u5bb6\\u540d\\u79f0\\uff09\",subdivisions:\"Subdivisions\\uff08\\u7701/\\u5dde\\uff09\",city:\"City\\uff08\\u57ce\\u5e02\\u540d\\u79f0\\uff09\",ssl:\"SSL\\uff08SSL\\u8bc1\\u4e66\\u4fe1\\u606f\\uff09\",title:\"title\\uff08\\u7f51\\u7ad9\\u6807\\u9898\\uff09\",isp:\"ISP\\uff08\\u7f51\\u7edc\\u670d\\u52a1\\u63d0\\u4f9b\\u5546\\uff09\",app:\"APP\\uff08\\u7ec4\\u4ef6\\u4fe1\\u606f\\uff09\",org:\"org\\uff08\\u7ec4\\u7ec7\\u4fe1\\u606f\\uff09\",asn:\"ASN\\uff08\\u81ea\\u6cbb\\u7cfb\\u7edf\\u7f16\\u53f7\\uff09\",service:\"service\\uff08\\u670d\\u52a1/\\u534f\\u8bae\\uff09\",device:\"device\\uff08\\u8bbe\\u5907\\u7c7b\\u578b\\uff09\",os:\"OS\\uff08\\u64cd\\u4f5c\\u7cfb\\u7edf\\uff09\",port:\"port\\uff08\\u7aef\\u53e3\\uff09\",timeAfter:\"\\u65f6\\u95f4\\uff08\\u4e4b\\u540e\\uff09\",timeBefore:\"\\u65f6\\u95f4\\uff08\\u4e4b\\u524d\\uff09\",ph_ip:\"\\u5982\\uff1a23.185.0.1\",ph_cidr:\"\\u5982\\uff1a23.185.0.1,\\u63a9\\u7801\\u5730\\u5740\\u81ea\\u52a8\\u8865\\u5168\",ph_hostname:\"\\u5982\\uff1agoogle.com\",ph_site:\"\\u5982\\uff1abaidu.com\",ph_port:\"\\u5982\\uff1a80\",ph_country:\"\\u5982\\uff1aUS\",ph_subdivisions:\"\\u5982\\uff1aCalifornia\",ph_city:\"\\u5982\\uff1aNew York\",ph_title:\"\\u5982\\uff1alogin\",ph_isp:\"\\u5982\\uff1aEarthlink\",ph_asn:\"\\u5982\\uff1aAS54113\",ph_org:\"\\u5982\\uff1anuclear\",ph_app:\"\\u5982\\uff1aCISCO\",ph_service:\"\\u5982\\uff1aHTTP\",ph_device:\"\\u5982\\uff1aboardband router\",ph_os:\"\\u5982\\uff1aWindows\",ph_ssl:\"\\u652f\\u6301\\u6a21\\u7cca\\u641c\\u7d22\\uff0c\\u5982\\uff1aIssuer:CN=kubernetes\",ph_after:\"\\u67d0\\u4e2a\\u65f6\\u95f4\\u4e4b\\u540e\\u7684\\u6570\\u636e\\uff0c\\u5982\\uff1a2020-08-08\",ph_before:\"\\u67d0\\u4e2a\\u65f6\\u95f4\\u4e4b\\u524d\\u7684\\u6570\\u636e\\uff0c\\u5982\\uff1a2020-08-08\",ph_headers:\"\\u8f93\\u5165\\u67e5\\u8be2\\u5185\\u5bb9\",ph_desc:\"\\u8f93\\u5165\\u67e5\\u8be2\\u5185\\u5bb9\",ph_keyword:\"\\u8f93\\u5165\\u67e5\\u8be2\\u5185\\u5bb9\",class_A:\"A\\u7c7b\\u6bb5\",class_B:\"B\\u7c7b\\u6bb5\",class_C:\"C\\u7c7b\\u6bb5\"},ZX={or:\"\\u6216\\uff08\\u6216\\u8005\\uff09\",and:\"\\u4e14\\uff08\\u5305\\u62ec\\uff09\",not:\"\\u975e\\uff08\\u53bb\\u9664\\uff09\",search:\"\\u68c0\\u7d22\",searchTools:\"\\u641c\\u7d22\\u5de5\\u5177\",maxAdd:\"\\u53ef\\u6dfb\\u52a0\\u6807\\u7b7e\\u5df2\\u8fbe\\u4e0a\\u9650\",warnWrite:\"\\u8bf7\\u586b\\u5199\\u8fc7\\u6ee4\\u5668\\u4ee5\\u590d\\u5236\",hasCopy:\"\\u5df2\\u590d\\u5236\\u5230\\u526a\\u8d34\\u677f\",copyFailed:\"\\u590d\\u5236\\u5931\\u8d25\",searchContent:\"\\u8f93\\u5165\\u67e5\\u8be2\\u5185\\u5bb9\",searchLogic:\"\\u67e5\\u8be2\\u903b\\u8f91\",searchType:\"\\u5173\\u952e\\u5b57\",ip:\"IP (IPV4\\u3001IPV6\\u3001IP\\u6bb5\\uff09\",net:\"NET\\uff08\\u7f51\\u7ad9\\u57df\\u540d\\uff09\",port:\"Port\\uff08\\u7aef\\u53e3\\uff09\",country:\"Country\\uff08\\u56fd\\u5bb6\\u540d\\u79f0\\uff09\",region:\"Region\\uff08\\u7701/\\u5dde\\uff09\",city:\"City\\uff08\\u57ce\\u5e02\\u540d\\u79f0\\uff09\",asn:\"ASN\\uff08\\u81ea\\u6cbb\\u7cfb\\u7edf\\u7f16\\u53f7\\uff09\",icp:\"Icp \\uff08\\u8bb8\\u53ef\\u8bc1\\uff09\",org:\"Org\\uff08\\u7ec4\\u7ec7\\u4fe1\\u606f\\uff09\",hostname:\"Domain\\uff08\\u57df\\u540d\\uff09\",domain:\"all (\\u5168\\u90e8)\",all:\"all (\\u5168\\u90e8)\",product:\"Product\\uff08\\u5e94\\u7528\\uff09\",title:\"Title\\uff08\\u7f51\\u7ad9\\u6807\\u9898\\uff09\",statuscode:\"StatusCode\\uff08\\u72b6\\u6001\\u7801\\uff09\",server:\"Server\\uff08Http\\u54cd\\u5e94Server\\uff09\",header:\"Header\\uff08Http\\u54cd\\u5e94\\u5934\\uff09\",html:\"Html\\uff08\\u7f51\\u9875\\uff09\",iconhash:\"IconHash \\uff08\\u56fe\\u6807 hash\\uff09\",cert:\"Cert \\uff08\\u8bc1\\u4e66\\uff09\",cert_issuer:\"Cert_issuer\\uff08\\u8bc1\\u4e66\\u9881\\u53d1\\u8005\\uff09\",cert_subject:\"Cert_subject\\uff08\\u8bc1\\u4e66\\u4e3b\\u9898\\uff09\",banner:\"Banner \\uff08\\u54cd\\u5e94\\u5305\\uff09\",transport:\"Transport\\uff08\\u4f20\\u8f93\\u65b9\\u5f0f\\uff09\",ph_ip:\"\\u5982\\uff1a8.8.8.8,1.1.1.1/24,2400:cb00::/32\",ph_net:\"\\u5982 baidu.com\",ph_port:\"\\u5982 80,443\",ph_country:\"\\u5982\\uff1aUS\",ph_region:\"\\u5982\\uff1aCalifornia\",ph_city:\"\\u5982\\uff1aNew York\",ph_asn:\"\\u5982\\uff1aAS54113\",ph_icp:\"\\u8bf7\\u8f93\\u5165 icp\",ph_org:\"\\u5982\\uff1anuclear\",ph_domain:\"\\u5982\\uff1agoogle.com\",ph_hostname:\"\\u5982\\uff1agoogle.com\",ph_product:\"\\u5982: nginx\",ph_title:\"\\u5982\\uff1a\\u767e\\u5ea6\",ph_statuscode:\"\\u5982\\uff1a200\",ph_all:\"\\u5982 google.com\",ph_server:\"\\u5982: Apache\",ph_header:\"\\u8bf7\\u8f93\\u5165\\u5934\\u90e8\\u4fe1\\u606f\",ph_html:\"\\u8bf7\\u8f93\\u5165 html\",ph_iconhash:\"\\u8bf7\\u8f93\\u5165\\u56fe\\u6807 hash\",ph_cert:\"\\u5982: Cloudflare, Inc\",ph_cert_issuer:\"\\u8bf7\\u8f93\\u5165\\u8bc1\\u4e66\\u9881\\u53d1\\u8005\",ph_cert_subject:\"\\u8bf7\\u8f93\\u5165\\u8bc1\\u4e66\\u4e3b\\u9898\",ph_banner:\"\\u8bf7\\u8f93\\u5165 banner\",ph_transport:\"\\u8bf7\\u8f93\\u5165\\u4f20\\u8f93\\u65b9\\u5f0f\"},$X=[{value:\"all\",label:ZX.all},{value:\"hostname\",label:KX.hostname},{value:\"ip\",label:ZX.ip},{value:\"port\",label:ZX.port},{value:\"title\",label:ZX.title},{value:\"product\",label:ZX.product},{value:\"cert\",label:ZX.cert},{value:\"statuscode\",label:ZX.statuscode},{value:\"banner\",label:ZX.banner},{value:\"server\",label:ZX.server},{value:\"header\",label:ZX.header},{value:\"html\",label:ZX.html},{value:\"iconhash\",label:ZX.iconhash},{value:\"country\",label:ZX.country},{value:\"region\",label:ZX.region},{value:\"city\",label:ZX.city},{value:\"asn\",label:ZX.asn},{value:\"org\",label:ZX.org}],QX=(KX.searchType,KX.ip,KX.cidr,KX.hostname,KX.site,KX.port,KX.country,KX.subdivisions,KX.city,KX.title,KX.isp,KX.asn,KX.org,KX.app,KX.service,KX.device,KX.os,KX.ssl,KX.timeAfter,KX.timeBefore,r(\"7PuE\"),Dm.Option),JX=\"easy-search\",eq=[\"country\",\"subdivisions\",\"city\",\"os\",\"service\",\"device\",\"app\",\"keyword\"],tq={a:\"/8\",b:\"/16\",c:\"/24\"},nq={0:\"success\",200:\"success\",400:\"warning\",404:\"error\",500:\"error\",502:\"error\",503:\"error\",504:\"error\"},rq=e=>{var t=e.title,n=e.content,r=e.isNode,o=void 0!==r&&r,i=Object(j[\"useState\"])(!1),a=Object(Ta[\"a\"])(i,2),c=a[0],u=a[1];return Object(kd[\"jsx\"])(\"div\",{className:\"site-description-item-profile-wrapper\",children:Object(kd[\"jsxs\"])(xf,{children:[Object(kd[\"jsx\"])(Ed,{span:4,style:{textAlign:\"right\"},children:Object(kd[\"jsxs\"])(\"p\",{className:\"site-description-item-profile-p-label\",children:[t,\":\"]})}),!o&&Object(kd[\"jsx\"])(Ed,{span:20,children:n.length>50?Object(kd[\"jsxs\"])(\"div\",{children:[Object(kd[\"jsx\"])(\"span\",{children:c?n:n.substring(0,50)}),Object(kd[\"jsx\"])(\"span\",{style:{marginLeft:5},children:c?Object(kd[\"jsxs\"])(\"a\",{onClick:()=>u(!1),children:[Object(kd[\"jsx\"])(Nd,{}),\" \\u6536\\u8d77\"]}):Object(kd[\"jsxs\"])(\"a\",{onClick:()=>u(!0),children:[Object(kd[\"jsx\"])(Ld,{}),\" \\u67e5\\u770b\\u66f4\\u591a\"]})})]}):n}),o&&Object(kd[\"jsx\"])(Ed,{children:n})]})})},oq=()=>{var e=Object(PO[\"a\"])(\"@@initialState\"),t=e.initialState;return t},iq=e=>t=>{var n=oq();return Object(kd[\"jsx\"])(e,Object(ia[\"a\"])(Object(ia[\"a\"])({},n),t))};class aq extends j[\"Component\"]{constructor(){var e;super(...arguments),e=this,this.state={searchList:[{logic:void 0,keyword:\"all\",content:void 0,dataSource:[],placeHolder:\"searchContent\"}],filterText:\"\",isLoading:!1,data:[],filterField:{portList:[],ipList:[],statusList:[],reginList:[],ispList:[]},isDetails:!1,details:{ip:\"-\",app:[],tags:[],port:\"-\",title:\"-\",hostnames:\"-\",status:500,regin:\"-\",time:\"-\",icon:\"\",isp:\"-\",http:{},location:{},server:\"-\",cert:\"-\",subject_common_name:\"-\",cert:{}},isExpend:!0},this.handleSearchData=e=>{var t,n=e.matches,r=void 0===n?[]:n,o=r.map(((e,t)=>{var n,r,o,i,a,c,u,s,l={key:t,icp:\"-\",ip:(null===e||void 0===e?void 0:e.ip)||\"-\",app:[],tags:(null===e||void 0===e?void 0:e.tags)||[],port:(null===e||void 0===e?void 0:e.port)||\"-\",icon:(null===e||void 0===e||null===(n=e.http)||void 0===n?void 0:n.icon_data)||\"\",title:(null===e||void 0===e||null===(r=e.http)||void 0===r?void 0:r.title)||\"-\",hostnames:(null===e||void 0===e?void 0:e.ip)||\"-\",status:(null===e||void 0===e||null===(o=e.http)||void 0===o?void 0:o.status)||500,regin:null!==e&&void 0!==e&&null!==(i=e.location)&&void 0!==i&&i.country_name?\"\".concat(e.location.country_name,\"-\").concat(e.location.city):\"-\",isp:(null===e||void 0===e||null===(a=e.location)||void 0===a?void 0:a.isp)||\"-\",server:(null===e||void 0===e||null===(c=e.http)||void 0===c?void 0:c.server)||\"-\",time:null!==e&&void 0!==e&&e.timestamp?Object(Rd[\"f\"])(e.timestamp):\"-\",http:e.http||{},location:e.location||{},subject_common_name:(null===e||void 0===e||null===(u=e.cert)||void 0===u?void 0:u.subject_common_name)||\"-\",cert:(null===e||void 0===e?void 0:e.cert)||{}};if(e.hostnames&&e.hostnames.length>0&&(l.hostnames=e.hostnames[0]),null!==e&&void 0!==e&&e.product&&l.app.push({title:e.product,content:e.product,type:1}),null!==e&&void 0!==e&&null!==(s=e.http)&&void 0!==s&&s.components)for(var f in e.http.components)l.app.push({title:f,content:e.http.components[f].categories,type:2});return l})),i=[],a=[],c=[],u=[],s=[],l=md(o);try{for(l.s();!(t=l.n()).done;){var f=t.value;\"-\"===f.ip||i.includes(f.ip)||i.push(f.ip),\"-\"===f.isp||a.includes(f.isp)||a.push(f.isp),\"-\"===f.port||c.includes(f.port)||c.push(f.port),\"-\"===f.regin||u.includes(f.regin)||u.push(f.regin),\"-\"===f.status||s.includes(f.status)||s.push(f.status)}}catch(d){l.e(d)}finally{l.f()}return{data:o,filterField:{ipList:i,ispList:a,portList:c,reginList:u,statusList:s}}},this.getHostSearchList=function(){var t=Object(DO[\"a\"])(Object(LO[\"a\"])().mark((function t(n){var r,o,i,a,c,u,s,l,f,d;return Object(LO[\"a\"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e.state.searchList,o=e.props.components,e.setState({isLoading:!0}),t.next=5,bS({keyword:n,page:1,fid:Object(Rd[\"c\"])(o)}).finally((()=>{e.setState({isLoading:!1})}));case 5:if(i=t.sent,a=i.status,c=i.content,\"failed\"!==a){t.next=11;break}return oa[\"default\"].error({message:\"\\u8bf7\\u6c42\\u51fa\\u9519\\uff01\"}),t.abrupt(\"return\");case 11:if(c){t.next=13;break}return t.abrupt(\"return\");case 13:if(u=c.total,s=void 0===u?0:u,0!==s){t.next=17;break}return e.setState({data:[]}),t.abrupt(\"return\");case 17:l=e.handleSearchData(c),f=Object(wl[\"a\"])(),d=f?JSON.parse(f):{},d.searchData=r,d.data=c,Object(wl[\"d\"])(JSON.stringify(d)),e.setState(l);case 24:case\"end\":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),this.onLogicSelectChange=(e,t)=>{var n=this.state.searchList,r=n.length;n[t].logic=e,this.setState({searchList:n},(()=>{this.makeFilter(),t+1===r&&this.addToList()}))},this.onKeywordSelectChange=(e,t)=>{var n=this.state.searchList;n[t].keyword=e,n[t].placeHolder=\"ph_\".concat(e),this.setState({searchList:n},this.makeFilter)},this.onCidrSelectChange=(e,t)=>{var n=this.state.searchList;n[t].cidr=e,this.setState({searchList:n},this.makeFilter)},this.onInputChange=(e,t)=>{var n=e.target.value,r=this.state.searchList;r[t].content=n,this.setState({searchList:r},this.makeFilter)},this.onAutoCompleteChange=WX.a.debounce(function(){var t=Object(DO[\"a\"])(Object(LO[\"a\"])().mark((function t(n,r){var o,i;return Object(LO[\"a\"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(o=String(n),i=e.state.searchList,i[r].dataSource=[],i[r].content=o,o){t.next=7;break}return e.setState({searchList:i},e.makeFilter),t.abrupt(\"return\");case 7:e.setState({searchList:i},e.makeFilter);case 8:case\"end\":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),500,{maxWait:1e3,leading:!0}),this.addToList=()=>{var e=this.state.searchList;if(e.length>15)Na[\"default\"].error(ZX.maxAdd);else{var t={logic:void 0,keyword:\"domain\",content:void 0,dataSource:[],placeHolder:\"searchContent\",cidr:\"c\"};e.push(t),this.setState({searchList:e},this.autoScroll)}},this.delFromList=e=>{var t=this.state.searchList;t.splice(e,1),this.setState({searchList:t},this.makeFilter)},this.makeFilter=()=>{var e=this.state.searchList,t=\"\",n=e.length;e.forEach(((e,r)=>{var o=e.logic,i=void 0===o?void 0:o,a=e.cidr,c=void 0===a?\"\":a,u=e.content,s=void 0===u?\"\":u,l=e.keyword,f=void 0===l?\"\":l;\"cidr\"===f&&s&&(s=\"\".concat(s).concat(tq[c])),\"country\"===f&&s&&(s=s.replace(\"(\\u5305\\u62ec\\u6e2f\\u6fb3\\u53f0)\",\"\").replace(\"(\\u4e0d\\u5305\\u62ec\\u6e2f\\u6fb3\\u53f0)\",\"\")),\"\\u8bf7\\u9009\\u62e9\\u5173\\u952e\\u5b57\"===f&&(f=\"\"),s&&(t+=\"\".concat(f).concat(f&&\":\",'\"').concat(s,'\"').concat(n===r+1?\"\":\" \").concat(void 0!==i?i:\"\"))})),this.setState({filterText:t})},this.copySearch=()=>{var e=this.state.filterText;e||Na[\"default\"].warning(t.warnWrite)},this.autoScroll=()=>{var e=document.getElementsByClassName(\"easy-search-search-list\")[0];e.scrollTop=e.scrollHeight},this.sendSearch=()=>{var e,t=this.state.searchList,n={},r=md(t);try{for(r.s();!(e=r.n()).done;){var o=e.value;o.content&&\"\\u8bf7\\u9009\\u62e9\\u5173\\u952e\\u5b57\"!==o.keyword&&(\"-\"!==o.logic?n[o.keyword]=o.content||\"\":n[\"-\".concat(o.keyword)]=o.content||\"\")}}catch(a){r.e(a)}finally{r.f()}if(0!==Object.keys(n).length){var i=window.btoa(unescape(encodeURIComponent(JSON.stringify(n))));this.getHostSearchList(i)}else oa[\"default\"].info({message:\"\\u8bf7\\u5b8c\\u5584\\u4e00\\u4e0b\\u4fe1\\u606f\\u518d\\u8fdb\\u884c\\u67e5\\u8be2\\uff01\"})},this.onClose=()=>{this.setState({isDetails:!1})},this.compentTagRender=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=[],r=0;r<e.length;r+=1){if(r>t-1)break;n.push(Object(kd[\"jsx\"])(vd,{color:\"blue\",style:{margin:5,fontSize:12},children:e[r]},e[r]))}return n},this.fingInfoRender=e=>{var t=[],n=e.filter((e=>1===e.type)),r=e.filter((e=>2===e.type));if(n.length>0&&t.push(Object(kd[\"jsx\"])(vd,{color:\"blue\",children:n[0].title},\"product\")),r.length>=2){var o=r.map((e=>{var t=e.content.map((e=>Object(kd[\"jsx\"])(vd,{color:\"gold\",children:e},e)));return Object(kd[\"jsxs\"])(\"div\",{style:{margin:5},children:[Object(kd[\"jsx\"])(\"span\",{children:e.title}),\": \",t,\" \"]})}));t.push(Object(kd[\"jsx\"])(Aa,{title:o,children:Object(kd[\"jsx\"])(vd,{color:\"cyan\",style:{marginLeft:8},children:\"\".concat(r.length,\"\\u4e2a...\")},\"2\")}))}else{var i,a=md(r);try{for(a.s();!(i=a.n()).done;){var c=i.value,u=c.content.map((e=>Object(kd[\"jsx\"])(vd,{color:\"gold\",children:e},e)));t.push(Object(kd[\"jsx\"])(Aa,{title:u,children:Object(kd[\"jsx\"])(vd,{color:\"cyan\",style:{marginLeft:8},children:c.title},c.title)}))}}catch(s){a.e(s)}finally{a.f()}}return t}}componentWillMount(e,t){var n=Object(wl[\"a\"])(),r=n?JSON.parse(n):{};if(r&&r.data){var o=this.handleSearchData(r.data);this.setState(Object(ia[\"a\"])(Object(ia[\"a\"])({},o),{},{searchList:r.searchData}))}}render(){var e,t,n,r,o,i,a,c,u,s,l,f,d,h,p,v,g,m,y,b,x,w=this.state,O=w.searchList,E=w.data,S=w.isLoading,j=w.filterField,k=w.isDetails,_=w.details,C=w.isExpend,M=j.ipList,A=j.ispList,N=j.portList,T=j.reginList,I=j.statusList,P=[{title:\"\\u8d44\\u4ea7\\u6807\\u7b7e\",dataIndex:\"tags\",key:\"tags\",width:90,render:e=>Object(kd[\"jsx\"])(\"div\",{children:e.length>0?e.length>1?Object(kd[\"jsxs\"])(Aa,{title:e.map((e=>Object(kd[\"jsx\"])(vd,{color:\"gold\",style:{margin:5},children:e},e))),children:[Object(kd[\"jsx\"])(vd,{color:\"blue\",children:\"\".concat(e.length,\"\\u4e2a...\")},1),\" \"]}):Object(kd[\"jsx\"])(vd,{color:\"blue\",children:e[0]},1):\"-\"})},{title:\"IP\",dataIndex:\"ip\",key:\"ip\",width:150,filters:M.map((e=>({text:e,value:e}))),onFilter:(e,t)=>t.ip===e,render:e=>\"-\"!==e?Object(kd[\"jsx\"])(Aa,{title:e,overlayStyle:{fontSize:12},children:Object(Rd[\"k\"])(e,15)}):e},{title:\"\\u7aef\\u53e3\",dataIndex:\"port\",key:\"port\",width:100,filters:N.map((e=>({text:e,value:e}))),onFilter:(e,t)=>t.port===e},{title:\"\\u57df\\u540d\",dataIndex:\"hostnames\",key:\"hostnames\",width:150,render:e=>\"-\"!==e?Object(kd[\"jsx\"])(Aa,{title:e,overlayStyle:{fontSize:12},children:Object(Rd[\"k\"])(e,18)}):e},{title:\"\\u5e94\\u7528/\\u7ec4\\u4ef6\",dataIndex:\"app\",key:\"app\",width:180,render:e=>e.length>0?this.fingInfoRender(e):\"-\"},{title:\"\\u7ad9\\u70b9\\u6807\\u9898\",dataIndex:\"title\",key:\"title\",width:150,render:(e,t)=>\"-\"!==e?Object(kd[\"jsxs\"])(Aa,{title:Object(kd[\"jsx\"])(\"div\",{dangerouslySetInnerHTML:{__html:e}}),overlayStyle:{fontSize:12},children:[t.icon&&Object(kd[\"jsx\"])(\"img\",{width:\"14px\",height:\"14px\",style:{marginBottom:2,marginRight:5},src:\"data:image/jpg;base64,\".concat(t.icon)}),Object(kd[\"jsx\"])(\"span\",{dangerouslySetInnerHTML:{__html:Object(Rd[\"k\"])(e,13)}})]}):Object(kd[\"jsxs\"])(\"span\",{children:[\" \",t.icon&&Object(kd[\"jsx\"])(\"img\",{style:{borderRadius:\"5px\"},width:\"14px\",height:\"14px\",style:{marginBottom:2},src:\"data:image/jpg;base64,\".concat(t.icon)}),e]})},{title:\"\\u72b6\\u6001\\u7801\",dataIndex:\"status\",key:\"status\",width:80,filters:I.map((e=>({text:e,value:e}))),onFilter:(e,t)=>t.status===e,render:e=>Object(kd[\"jsx\"])(DS,{style:{fontSize:12},status:nq[e]||\"default\",text:e})},{title:\"isp\",dataIndex:\"isp\",key:\"isp\",width:120,filters:A.map((e=>({text:e,value:e}))),onFilter:(e,t)=>t.isp===e,render:e=>\"-\"!==e?Object(kd[\"jsx\"])(Aa,{title:e,overlayStyle:{fontSize:12},children:Object(Rd[\"k\"])(e,12)}):e},{title:\"server\",dataIndex:\"server\",key:\"server\",width:120,render:e=>\"-\"!==e?Object(kd[\"jsx\"])(Aa,{title:e,overlayStyle:{fontSize:12},children:Object(Rd[\"k\"])(e,12)}):e},{title:\"\\u8bc1\\u4e66\\u4e3b\\u9898\",dataIndex:\"subject_common_name\",key:\"subject_common_name\",width:120,render:e=>\"-\"!==e?Object(kd[\"jsx\"])(Aa,{title:e,overlayStyle:{fontSize:12},children:Object(Rd[\"k\"])(e,12)}):e},{title:\"\\u5730\\u7406\\u4f4d\\u7f6e\",dataIndex:\"regin\",key:\"regin\",width:120,filters:T.map((e=>({text:e,value:e}))),onFilter:(e,t)=>t.regin===e,render:e=>\"-\"!==e?Object(kd[\"jsx\"])(Aa,{title:e,overlayStyle:{fontSize:12},children:Object(Rd[\"k\"])(e,15)}):e},{title:\"\\u66f4\\u65b0\\u65f6\\u95f4\",dataIndex:\"time\",key:\"time\",width:100,sorter:(e,t)=>Date.parse(e.time)-Date.parse(t.time)},{title:\"\\u64cd\\u4f5c\",dataIndex:\"id\",key:\"id\",width:50,fixed:\"right\",render:(e,t)=>Object(kd[\"jsx\"])(\"a\",{onClick:()=>{this.setState({isDetails:!0,details:t})},children:\"\\u8be6\\u60c5\"})}];return Object(kd[\"jsxs\"])(\"div\",{className:\"\".concat(JX),children:[Object(kd[\"jsxs\"])(xf,{gutter:[8,8],children:[Object(kd[\"jsx\"])(Ed,{flex:\"auto\",children:Object(kd[\"jsx\"])(\"div\",{className:\"\".concat(JX,\"-search-list \").concat(C?\"display-block\":\"display-none\"),children:O.map(((e,t)=>{var n=[],r=e.keyword,o=void 0===r?\"\\u8bf7\\u9009\\u62e9\\u5173\\u952e\\u5b57\":r;\"app\"!==o&&-1!==eq.indexOf(o)&&(n=e.dataSource.map((e=>Object(kd[\"jsx\"])(QX,{value:e.content,children:e.content},e.id)))),\"app\"!==o&&\"\\u8bf7\\u9009\\u62e9\\u5173\\u952e\\u5b57\"!==o||(n=e.dataSource.map((e=>Object(kd[\"jsxs\"])(QX,{children:[e.title_en,\"\\xa0\\xa0|\\xa0\",e.classify_en||\"\",\"\\xa0|\\xa0\\xa0\",e.filter]},e.filter.replace('app:\"',\"\").replace(/\"$/g,\"\")))));var i=!0;1===O.length&&0===t&&(i=!1);var a=144;return Object(kd[\"jsxs\"])(\"div\",{className:\"\".concat(JX,\"-search-list-div\"),children:[Object(kd[\"jsx\"])(Dm,{style:{flex:\"1 1 210px\",maxWidth:a,minWidth:a,fontSize:12},options:$X,placeholder:ZX.searchType,value:o,dropdownClassName:\"\".concat(JX,\"-options\"),onChange:e=>this.onKeywordSelectChange(e,t),dropdownMatchSelectWidth:!1}),Object(kd[\"jsx\"])(GX,{defaultValue:e.content,options:n,className:\"\".concat(JX,\"-auto-input\"),onChange:e=>this.onAutoCompleteChange(e,t),style:{marginLeft:18,fontSize:12},children:Object(kd[\"jsx\"])(Iu,{value:e.content,onPressEnter:this.sendSearch,placeholder:ZX[\"ph_\".concat(o)]})}),Object(kd[\"jsxs\"])(Dm,{style:{marginLeft:18,flex:\"1 1 210px\",maxWidth:104,minWidth:104,fontSize:12},placeholder:ZX.searchLogic,value:e.logic,dropdownClassName:\"\".concat(JX,\"-options\"),onChange:e=>this.onLogicSelectChange(e,t),children:[Object(kd[\"jsx\"])(QX,{value:\"+\",children:ZX.and},\"and\"),Object(kd[\"jsx\"])(QX,{value:\"-\",children:ZX.not},\"not\")]}),i?Object(kd[\"jsx\"])(qX,{style:{cursor:\"pointer\",margin:\"10px 8px 0 8px\"},onClick:()=>this.delFromList(t)}):Object(kd[\"jsx\"])(\"div\",{style:{width:56}})]},t)}))})}),Object(kd[\"jsxs\"])(Ed,{flex:\"130px\",style:{marginTop:8},children:[Object(kd[\"jsxs\"])(\"a\",{style:{fontSize:12},onClick:()=>{this.setState({isExpend:!C})},children:[C?Object(kd[\"jsx\"])(Nd,{}):Object(kd[\"jsx\"])(Ld,{}),C?\"\\u6536\\u8d77\":\"\\u5c55\\u5f00\"]}),Object(kd[\"jsx\"])(iu,{style:{marginLeft:10},type:\"primary\",loading:S,onClick:this.sendSearch,children:ZX.search})]})]}),Object(kd[\"jsx\"])(IO,{size:\"small\",columns:P,dataSource:E,loading:{spinning:S,tip:\"\\u5f53\\u524d\\u6570\\u636e\\u52a0\\u8f7d\\u8f83\\u6162\\uff0c\\u8bf7\\u7a0d\\u7b49...\"},scroll:{x:1550,y:420},style:{marginTop:10},className:\"site-sub-table asset-query-table\",pagination:{defaultPageSize:20,pageSizeOptions:[\"20\",\"100\"]}}),Object(kd[\"jsx\"])(Ql,{title:\"\\u8d44\\u4ea7\\u8be6\\u60c5\",placement:\"right\",onClose:this.onClose,open:k,width:600,className:\"site-port-drawer\",children:Object(kd[\"jsxs\"])(xf,{children:[Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{isNode:!0,title:\"\\u8d44\\u4ea7\\u6807\\u7b7e\",content:_.tags.length>0?_.tags.map((e=>Object(kd[\"jsx\"])(vd,{color:\"blue\",children:e},e))):\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"ip\",content:_.ip})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"\\u7aef\\u53e3\",content:_.port})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"\\u57df\\u540d\",content:_.hostnames})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{isNode:!0,title:\"\\u5e94\\u7528/\\u7ec4\\u4ef6\",content:(null===_||void 0===_||null===(e=_.app)||void 0===e?void 0:e.length)>0?this.fingInfoRender(_.app):\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{isNode:!0,title:\"\\u7ad9\\u70b9icon\",content:null!==_&&void 0!==_&&_.icon?Object(kd[\"jsx\"])(\"img\",{src:\"data:image/jpg;base64,\".concat(_.icon),width:\"14px\",height:\"14px\",alt:\"\"}):\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"\\u7ad9\\u70b9\\u6807\\u9898\",content:_.title})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{isNode:!0,title:\"\\u72b6\\u6001\\u7801\",content:Object(kd[\"jsx\"])(DS,{className:\"site-badge\",status:nq[_.status]||\"default\",text:_.status})})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"server\",content:_.server})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"\\u5730\\u7406\\u4f4d\\u7f6e\",content:_.regin})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"\\u66f4\\u65b0\\u65f6\\u95f4\",content:_.time})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"isp\",content:_.isp})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"header\",content:(null===_||void 0===_||null===(t=_.http)||void 0===t?void 0:t.header)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"host\",content:(null===_||void 0===_||null===(n=_.http)||void 0===n?void 0:n.host)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"html\",content:(null===_||void 0===_||null===(r=_.http)||void 0===r?void 0:r.html)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"asn\",content:(null===_||void 0===_||null===(o=_.location)||void 0===o?void 0:o.asn)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"country_code\",content:(null===_||void 0===_||null===(i=_.location)||void 0===i?void 0:i.country_code)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"latitude\",content:(null===_||void 0===_||null===(a=_.location)||void 0===a?void 0:a.latitude)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"longitude\",content:(null===_||void 0===_||null===(c=_.location)||void 0===c?void 0:c.longitude)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"\\u8bc1\\u4e66\\u4e3b\\u9898\",content:(null===_||void 0===_||null===(u=_.cert)||void 0===u?void 0:u.subject_common_name)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"\\u7ec4\\u7ec7\",content:(null===_||void 0===_||null===(s=_.cert)||void 0===s?void 0:s.subject_organization)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"\\u9881\\u5e03\\u8005\\u540d\\u79f0\",content:(null===_||void 0===_||null===(l=_.cert)||void 0===l?void 0:l.issuer_common_name)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"\\u9881\\u5e03\\u8005\\u56fd\\u5bb6\",content:(null===_||void 0===_||null===(f=_.cert)||void 0===f?void 0:f.issuer_country_name)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"\\u9881\\u5e03\\u8005\\u7701/\\u6d32\",content:(null===_||void 0===_||null===(d=_.cert)||void 0===d?void 0:d.issuer_state_or_province_name)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"\\u9881\\u5e03\\u8005\\u5e02\",content:(null===_||void 0===_||null===(h=_.cert)||void 0===h?void 0:h.issuer_locality)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"\\u9881\\u5e03\\u8005\\u5f52\\u5c5e\",content:(null===_||void 0===_||null===(p=_.cert)||void 0===p?void 0:p.issuer_organization)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"\\u8fc7\\u671f\\u65f6\\u95f4\",content:(null===_||void 0===_||null===(v=_.cert)||void 0===v?void 0:v.expire_time)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"\\u9881\\u5e03\\u65f6\\u95f4\",content:(null===_||void 0===_||null===(g=_.cert)||void 0===g?void 0:g.issue_time)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"\\u9881\\u53d1\\u8005\\u94fe\\u63a5\",content:(null===_||void 0===_||null===(m=_.cert)||void 0===m?void 0:m.issuer_organizational_unit)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"\\u5e8f\\u5217\\u53f7\",content:(null===_||void 0===_||null===(y=_.cert)||void 0===y?void 0:y.serial_number)||\"-\"})}),Object(kd[\"jsx\"])(Ed,{span:24,children:Object(kd[\"jsx\"])(rq,{title:\"\\u76f8\\u5173\\u57df\\u540d\",content:(null===_||void 0===_||null===(b=_.cert)||void 0===b||null===(x=b.dns_names)||void 0===x?void 0:x.length)>0?_.cert.dns_names.map((e=>Object(kd[\"jsx\"])(\"a\",{style:{marginLeft:10},children:e},e))):\"-\"})})]})})]})}}var cq=iq(aq),uq=(r(\"XfOM\"),[{label:\"\\u7f51\\u7ad9\\u6982\\u89c8\",key:\"site-overview\",children:Object(kd[\"jsx\"])(RX,{})},{label:\"\\u8d44\\u4ea7\\u67e5\\u8be2\",key:\"asset-query\",children:Object(kd[\"jsx\"])(cq,{})}]);function sq(){var e=Object(aa[\"c\"])(\"@@initialState\"),t=e.initialState,n=e.setInitialState;return Object(j[\"useEffect\"])((()=>{var e;if(chrome&&null!==(e=chrome)&&void 0!==e&&e.tabs){var r=!0;chrome.tabs.query({currentWindow:!0,active:!0},(function(e){var o=Object(ia[\"a\"])({},t),i=e[0].url;0===i.indexOf(\"chrome://\")&&(oa[\"default\"].error({message:\"\\u5f53\\u524durl\\u65e0\\u6548\",style:{fontSize:12}}),r=!1);var a=Object(Rd[\"m\"])(i),c=a.split(\":\")[0];Object(Rd[\"a\"])(c)&&(oa[\"default\"].error({message:\"\\u5f53\\u524dip\\u4e3a\\u5c40\\u57df\\u7f51ip\\uff0c\\u65e0\\u6cd5\\u67e5\\u8be2\",style:{fontSize:12}}),r=!1),r&&(oa[\"default\"].info({message:\"\\u6570\\u636e\\u521d\\u59cb\\u5316\\u4e2d\\uff0c\\u8bf7\\u7a0d\\u7b49...\",style:{fontSize:12}}),o.url=c,o.isReuest=!0,-1!==i.indexOf(\"http://\")&&(o.type=\"http\"),n(o))}))}}),[]),Object(kd[\"jsx\"])(\"div\",{className:\"page-content\",children:Object(kd[\"jsx\"])(ra,{className:\"assets-tabs\",defaultActiveKey:\"1\",tabBarGutter:15,type:\"card\",items:uq})})}},Qjdz:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.camelize=t.isString=void 0;var r=function(e){return\"string\"===typeof e};t.isString=r;var o=function(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}},i=/-(\\w)/g;t.camelize=o((function(e){return e.replace(i,(function(e,t){return t?t.toUpperCase():\"\"}))}))},QkVE:function(e,t,n){var r=n(\"EpBk\");function o(e,t){var n=e.__data__;return r(t)?n[\"string\"==typeof t?\"string\":\"hash\"]:n.map}e.exports=o},Qo9l:function(e,t,n){var r=n(\"2oRo\");e.exports=r},QoRX:function(e,t){function n(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(t(e[n],n,e))return!0;return!1}e.exports=n},QqLw:function(e,t,n){var r=n(\"tadb\"),o=n(\"ebwN\"),i=n(\"HOxn\"),a=n(\"yGk4\"),c=n(\"Of+w\"),u=n(\"NykK\"),s=n(\"3Fdi\"),l=\"[object Map]\",f=\"[object Object]\",d=\"[object Promise]\",h=\"[object Set]\",p=\"[object WeakMap]\",v=\"[object DataView]\",g=s(r),m=s(o),y=s(i),b=s(a),x=s(c),w=u;(r&&w(new r(new ArrayBuffer(1)))!=v||o&&w(new o)!=l||i&&w(i.resolve())!=d||a&&w(new a)!=h||c&&w(new c)!=p)&&(w=function(e){var t=u(e),n=t==f?e.constructor:void 0,r=n?s(n):\"\";if(r)switch(r){case g:return v;case m:return l;case y:return d;case b:return h;case x:return p}return t}),e.exports=w},Qw5x:function(e,t,n){\"use strict\";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){if(e){if(\"string\"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===n&&e.constructor&&(n=e.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(e):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}n.d(t,\"a\",(function(){return o}))},\"Qx/q\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(){function e(e){this.xmid=e.xmid,this.ymid=e.ymid,this.length=e.length,this.massCenter=e.massCenter||[0,0],this.mass=e.mass||1}return e.prototype.getLength=function(){return this.length},e.prototype.contains=function(e,t){var n=this.length/2;return e<=this.xmid+n&&e>=this.xmid-n&&t<=this.ymid+n&&t>=this.ymid-n},e.prototype.NW=function(){var t=this.xmid-this.length/4,n=this.ymid+this.length/4,r=this.length/2,o={xmid:t,ymid:n,length:r},i=new e(o);return i},e.prototype.NE=function(){var t=this.xmid+this.length/4,n=this.ymid+this.length/4,r=this.length/2,o={xmid:t,ymid:n,length:r},i=new e(o);return i},e.prototype.SW=function(){var t=this.xmid-this.length/4,n=this.ymid-this.length/4,r=this.length/2,o={xmid:t,ymid:n,length:r},i=new e(o);return i},e.prototype.SE=function(){var t=this.xmid+this.length/4,n=this.ymid-this.length/4,r=this.length/2,o={xmid:t,ymid:n,length:r},i=new e(o);return i},e}();t.default=r},Qy2L:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.slack=t.longestPathWithLayer=t.longestPath=void 0;var r=function(e){var t,n={},r=function(t){var o,i,a=e.node(t);return n[t]?a.rank:(n[t]=!0,null===(o=e.outEdges(t))||void 0===o||o.forEach((function(t){var n=r(t.w),o=e.edge(t).minlen,a=n-o;a&&(void 0===i||a<i)&&(i=a)})),i||(i=0),a.rank=i,i)};null===(t=e.sources())||void 0===t||t.forEach((function(e){return r(e)}))};t.longestPath=r;var o=function(e){var t,n,r={},o=function(t){var i,a,c=e.node(t);return r[t]?c.rank:(r[t]=!0,null===(i=e.outEdges(t))||void 0===i||i.forEach((function(t){var n=o(t.w),r=e.edge(t).minlen,i=n-r;i&&(void 0===a||i<a)&&(a=i)})),a||(a=0),(void 0===n||a<n)&&(n=a),c.rank=a,a)};null===(t=e.sources())||void 0===t||t.forEach((function(e){return o(e)})),void 0===n&&(n=0);var i={},a=function(t,n){var r,o=e.node(t),c=isNaN(o.layer)?n:o.layer;(void 0===o.rank||o.rank<c)&&(o.rank=c),i[t]||(i[t]=!0,null===(r=e.outEdges(t))||void 0===r||r.map((function(t){a(t.w,c+e.edge(t).minlen)})))};e.nodes().forEach((function(t){var r=e.node(t);isNaN(r.layer)?r.rank-=n:a(t,r.layer)}))};t.longestPathWithLayer=o;var i=function(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen};t.slack=i,t.default={longestPath:r,longestPathWithLayer:o,slack:i}},QyJ8:function(e,t,n){\"use strict\";function r(e){return r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},r(e)}n.d(t,\"a\",(function(){return r}))},Qyje:function(e,t,n){\"use strict\";var r=n(\"QSc6\"),o=n(\"nmq7\"),i=n(\"sxOR\");e.exports={formats:i,parse:o,stringify:r}},\"R+vY\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.exchangeEdges=t.enterEdge=t.leaveEdge=t.initLowLimValues=t.calcCutValue=t.initCutValues=void 0;var r=n(\"75y8\"),o=n(\"Qy2L\"),i=n(\"eQiA\"),a=n(\"HeBM\"),c=a.algorithm.preorder,u=a.algorithm.postorder,s=function(e){var n=(0,i.simplify)(e);(0,o.longestPath)(n);var a,c,u=(0,r.feasibleTree)(n);(0,t.initLowLimValues)(u),(0,t.initCutValues)(u,n);while(a=(0,t.leaveEdge)(u))c=(0,t.enterEdge)(u,n,a),(0,t.exchangeEdges)(u,n,a,c)},l=function(e,t){var n=u(e,e.nodes());n=null===n||void 0===n?void 0:n.slice(0,(null===n||void 0===n?void 0:n.length)-1),null===n||void 0===n||n.forEach((function(n){f(e,t,n)}))};t.initCutValues=l;var f=function(e,n,r){var o=e.node(r),i=o.parent;e.edgeFromArgs(r,i).cutvalue=(0,t.calcCutValue)(e,n,r)},d=function(e,t,n){var r,o=e.node(n),i=o.parent,a=!0,c=t.edgeFromArgs(n,i),u=0;return c||(a=!1,c=t.edgeFromArgs(i,n)),u=c.weight,null===(r=t.nodeEdges(n))||void 0===r||r.forEach((function(r){var o=r.v===n,c=o?r.w:r.v;if(c!==i){var s=o===a,l=t.edge(r).weight;if(u+=s?l:-l,b(e,n,c)){var f=e.edgeFromArgs(n,c).cutvalue;u+=s?-f:f}}})),u};t.calcCutValue=d;var h=function(e,t){void 0===t&&(t=e.nodes()[0]),p(e,{},1,t)};t.initLowLimValues=h;var p=function(e,t,n,r,o){var i,a=n,c=n,u=e.node(r);return t[r]=!0,null===(i=e.neighbors(r))||void 0===i||i.forEach((function(n){t[n]||(c=p(e,t,c,n,r))})),u.low=a,u.lim=c++,o?u.parent=o:delete u.parent,c},v=function(e){return e.edges().find((function(t){return e.edge(t).cutvalue<0}))};t.leaveEdge=v;var g=function(e,t,n){var r=n.v,a=n.w;t.hasEdge(r,a)||(r=n.w,a=n.v);var c=e.node(r),u=e.node(a),s=c,l=!1;c.lim>u.lim&&(s=u,l=!0);var f=t.edges().filter((function(t){return l===x(e,e.node(t.v),s)&&l!==x(e,e.node(t.w),s)}));return(0,i.minBy)(f,(function(e){return(0,o.slack)(t,e)}))};t.enterEdge=g;var m=function(e,n,r,o){var i=r.v,a=r.w;e.removeEdge(i,a),e.setEdge(o.v,o.w,{}),(0,t.initLowLimValues)(e),(0,t.initCutValues)(e,n),y(e,n)};t.exchangeEdges=m;var y=function(e,t){var n=e.nodes().find((function(e){var n;return!(null===(n=t.node(e))||void 0===n?void 0:n.parent)})),r=c(e,n);r=null===r||void 0===r?void 0:r.slice(1),null===r||void 0===r||r.forEach((function(n){var r=e.node(n).parent,o=t.edgeFromArgs(n,r),i=!1;o||(o=t.edgeFromArgs(r,n),i=!0),t.node(n).rank=t.node(r).rank+(i?o.minlen:-o.minlen)}))},b=function(e,t,n){return e.hasEdge(t,n)},x=function(e,t,n){return n.low<=t.lim&&t.lim<=n.lim};t.default=s},R0SI:function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var o=r(n(\"4f/S\")),i=function(e){var t=function(e){return function(t){var n;return(null===(n=e.edge(t))||void 0===n?void 0:n.weight)||1}},n=\"greedy\"===e.graph().acyclicer?(0,o.default)(e,t(e)):a(e);null===n||void 0===n||n.forEach((function(t){var n=e.edge(t);e.removeEdgeObj(t),n.forwardName=t.name,n.reversed=!0,e.setEdge(t.w,t.v,n,\"rev-\".concat(Math.random()))}))},a=function(e){var t=[],n={},r={},o=function(i){var a;r[i]||(r[i]=!0,n[i]=!0,null===(a=e.outEdges(i))||void 0===a||a.forEach((function(e){n[e.w]?t.push(e):o(e.w)})),delete n[i])};return e.nodes().forEach(o),t},c=function(e){e.edges().forEach((function(t){var n=e.edge(t);if(n.reversed){e.removeEdgeObj(t);var r=n.forwardName;delete n.reversed,delete n.forwardName,e.setEdge(t.w,t.v,n,r)}}))};t.default={run:i,undo:c}},R1gS:function(e,t,n){\"use strict\";n.d(t,\"l\",(function(){return a})),n.d(t,\"f\",(function(){return c})),n.d(t,\"g\",(function(){return u})),n.d(t,\"k\",(function(){return s})),n.d(t,\"e\",(function(){return l})),n.d(t,\"m\",(function(){return f})),n.d(t,\"a\",(function(){return d})),n.d(t,\"c\",(function(){return h})),n.d(t,\"d\",(function(){return p})),n.d(t,\"b\",(function(){return v})),n.d(t,\"h\",(function(){return g})),n.d(t,\"i\",(function(){return m})),n.d(t,\"j\",(function(){return y}));n(\"aqBw\");var r=n(\"NFKh\"),o=n.n(r),i=n(\"xQxM\"),a=\"https://hackerbar.org/api/v1\";function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=new Date(e),r=n.getFullYear(),o=n.getMonth()+1;o=o<10?\"0\"+o:o;var i=n.getDate();i=i<10?\"0\"+i:i;var a=n.getHours();a=a<10?\"0\"+a:a;var c=n.getMinutes(),u=n.getSeconds();return c=c<10?\"0\"+c:c,u=u<10?\"0\"+u:u,1===t?r+\"-\"+o+\"-\"+i:r+\"-\"+o+\"-\"+i+\" \"+a+\":\"+c+\":\"+u}function u(){return\"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx\".replace(/[xy]/g,(function(e){var t=16*Math.random()|0,n=\"x\"==e?t:3&t|8;return n.toString(16)}))}function s(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,n=0,r=0,o=0;o<e.length;o+=1)if(e[o].charCodeAt()>255){if(n+=1.5,n>=t){r=o;break}}else if(n+=1,n>=t){r=o;break}return 0!==r?\"\".concat(e.substring(0,r),\" ...\"):e}function l(e){var t=\"data:text/csv;charset=utf-8,\\ufeff\".concat(encodeURIComponent(e)),n=document.createElement(\"a\");n.href=t,n.download=\"\\u5b50\\u57df\\u540d\\u6570\\u636e\\u8868.csv\",n.click()}function f(e){if(e.indexOf(\"http\")>-1||e.indexOf(\"https\")>-1)return e.split(\"/\")[2]}function d(e){if(e.toLowerCase(),\"localhost\"==e)return!0;var t=0;if(\"\"==e)return!1;var n=e.split(\".\");return 4==n.length&&(t+=parseInt(n[0])<<24,t+=parseInt(n[1])<<16,t+=parseInt(n[2])<<8,t+=parseInt(n[3])<<0,t=t>>16&65535,t>>8==127||t>>8==10||49320==t||t>=44048&&t<=44063)}var h=e=>{var t=JSON.stringify(e),n=o.a.AES.encrypt(t,o.a.enc.Hex.parse(\"564a4b797750624b6b6f5a416d69710a\"),{mode:o.a.mode.ECB}).toString();return n},p=()=>{var e=Object(i[\"c\"])();if(!e){var t=(new Date).getTime(),n=Math.floor(8999*Math.random())+1e3,r=\"\".concat(String(n)).concat(String(t).substring(1));return Object(i[\"f\"])(r),r}return e},v=e=>{var t=o.a.AES.decrypt(e,o.a.enc.Hex.parse(\"784875444d6c5047595748596c7a610a\"),{mode:o.a.mode.ECB}).toString(o.a.enc.Utf8);return t},g=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\",r=\"(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\",o=\"(\".concat(r,\"[.]){3}\").concat(r),i=new RegExp(\"^\".concat(o,\"$\")),a=\"(?:[0-9a-fA-F]{1,4})\",c=new RegExp(\"^(\"+\"(?:\".concat(a,\":){7}(?:\").concat(a,\"|:)|\")+\"(?:\".concat(a,\":){6}(?:\").concat(o,\"|:\").concat(a,\"|:)|\")+\"(?:\".concat(a,\":){5}(?::\").concat(o,\"|(:\").concat(a,\"){1,2}|:)|\")+\"(?:\".concat(a,\":){4}(?:(:\").concat(a,\"){0,1}:\").concat(o,\"|(:\").concat(a,\"){1,3}|:)|\")+\"(?:\".concat(a,\":){3}(?:(:\").concat(a,\"){0,2}:\").concat(o,\"|(:\").concat(a,\"){1,4}|:)|\")+\"(?:\".concat(a,\":){2}(?:(:\").concat(a,\"){0,3}:\").concat(o,\"|(:\").concat(a,\"){1,5}|:)|\")+\"(?:\".concat(a,\":){1}(?:(:\").concat(a,\"){0,4}:\").concat(o,\"|(:\").concat(a,\"){1,6}|:)|\")+\"(?::((?::\".concat(a,\"){0,5}:\").concat(o,\"|(?::\").concat(a,\"){1,7}|:))\")+\")(%[0-9a-zA-Z-.:]{1,})?$\");if(!n)return e(t,4)||e(t,6);if(4===n){if(!i.test(t))return!1;var u=t.split(\".\").sort(((e,t)=>e-t));return u[3]<=255}return 6===n&&!!c.test(t)},m=e=>{var t=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\");return t.test(e)},y=e=>{var t=new RegExp(\"^(?=^.{3,255}$)[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\\\\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+$\",\"i\");return t.test(e)}},\"R3/m\":function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"glrk\"),a=n(\"A2ZE\"),c=n(\"Sssf\"),u=n(\"ImZN\");r({target:\"Map\",proto:!0,real:!0,forced:o},{every:function(e){var t=i(this),n=c(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return!u(n,(function(e,n){if(!r(n,e,t))return u.stop()}),void 0,!0,!0).stopped}})},R5yR:function(e,t,n){var r=n(\"9xmf\"),o=n(\"rhT+\"),i=n(\"mGKP\"),a=n(\"XWE6\");function c(e){return r(e)||o(e)||i(e)||a()}e.exports=c,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},RIqP:function(e,t,n){var r=n(\"Ijbi\"),o=n(\"EbDI\"),i=n(\"ZhPi\"),a=n(\"Bnag\");function c(e){return r(e)||o(e)||i(e)||a()}e.exports=c,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},RK3t:function(e,t,n){var r=n(\"0Dky\"),o=n(\"xrYK\"),i=\"\".split;e.exports=r((function(){return!Object(\"z\").propertyIsEnumerable(0)}))?function(e){return\"String\"==o(e)?i.call(e,\"\"):Object(e)}:Object},RN6c:function(e,t,n){var r=n(\"2oRo\");e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},RNIs:function(e,t,n){var r=n(\"tiKp\"),o=n(\"fHMY\"),i=n(\"m/L8\"),a=r(\"unscopables\"),c=Array.prototype;void 0==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),e.exports=function(e){c[a][e]=!0}},ROdP:function(e,t,n){var r=n(\"hh1v\"),o=n(\"xrYK\"),i=n(\"tiKp\"),a=i(\"match\");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:\"RegExp\"==o(e))}},RVo0:function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,\"__esModule\",{value:!0}),t.ConcentricLayout=void 0;var o=n(\"8nGZ\"),i=n(\"W8mN\"),a=function(e){function t(t){var n=e.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(t),n}return r(t,e),t.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\"}},t.prototype.execute=function(){var e,t,n=this,r=n.nodes,i=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 c=n.center;if(1===a)return r[0].x=c[0],r[0].y=c[1],void(null===(t=n.onLayoutEnd)||void 0===t||t.call(n));var u,s=n.nodeSize,l=n.nodeSpacing,f=[],d=0;u=(0,o.isArray)(s)?Math.max(s[0],s[1]):s,(0,o.isArray)(l)?d=Math.max(l[0],l[1]):(0,o.isNumber)(l)&&(d=l),r.forEach((function(e){f.push(e);var t=u;(0,o.isArray)(e.size)?t=Math.max(e.size[0],e.size[1]):(0,o.isNumber)(e.size)?t=e.size:(0,o.isObject)(e.size)&&(t=Math.max(e.size.width,e.size.height)),u=Math.max(u,t),(0,o.isFunction)(l)&&(d=Math.max(l(e),d))})),n.clockwise=void 0!==n.counterclockwise?!n.counterclockwise:n.clockwise;var h={},p={};if(f.forEach((function(e,t){h[e.id]=e,p[e.id]=t})),(\"degree\"===n.sortBy||!(0,o.isString)(n.sortBy)||void 0===f[0][n.sortBy])&&(n.sortBy=\"degree\",!(0,o.isNumber)(r[0].degree))){var v=(0,o.getDegree)(r.length,p,i);f.forEach((function(e,t){e.degree=v[t].all}))}f.sort((function(e,t){return t[n.sortBy]-e[n.sortBy]})),n.maxValueNode=f[0],n.maxLevelDiff=n.maxLevelDiff||n.maxValueNode[n.sortBy]/4;var g=[[]],m=g[0];f.forEach((function(e){if(m.length>0){var t=Math.abs(m[0][n.sortBy]-e[n.sortBy]);n.maxLevelDiff&&t>=n.maxLevelDiff&&(m=[],g.push(m))}m.push(e)}));var y=u+(d||n.minNodeSpacing);if(!n.preventOverlap){var b=g.length>0&&g[0].length>1,x=Math.min(n.width,n.height)/2-y,w=x/(g.length+(b?1:0));y=Math.min(y,w)}var O=0;if(g.forEach((function(e){var t=n.sweep;void 0===t&&(t=2*Math.PI-2*Math.PI/e.length);var r=e.dTheta=t/Math.max(1,e.length-1);if(e.length>1&&n.preventOverlap){var o=Math.cos(r)-Math.cos(0),i=Math.sin(r)-Math.sin(0),a=Math.sqrt(y*y/(o*o+i*i));O=Math.max(a,O)}e.r=O,O+=y})),n.equidistant){for(var E=0,S=0,j=0;j<g.length;j++){var k=g[j],_=k.r-S;E=Math.max(E,_)}S=0,g.forEach((function(e,t){0===t&&(S=e.r),e.r=S,S+=E}))}return g.forEach((function(e){var t=e.dTheta,r=e.r;e.forEach((function(e,o){var i=n.startAngle+(n.clockwise?1:-1)*t*o;e.x=c[0]+r*Math.cos(i),e.y=c[1]+r*Math.sin(i)}))})),n.onLayoutEnd&&n.onLayoutEnd(),{nodes:r,edges:i}}null===(e=n.onLayoutEnd)||void 0===e||e.call(n)},t.prototype.getType=function(){return\"concentric\"},t}(i.Base);t.ConcentricLayout=a},Rm1S:function(e,t,n){\"use strict\";var r=n(\"14Sl\"),o=n(\"glrk\"),i=n(\"UMSQ\"),a=n(\"HYAF\"),c=n(\"iqWW\"),u=n(\"FMNM\");r(\"match\",1,(function(e,t,n){return[function(t){var n=a(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),s=String(this);if(!a.global)return u(a,s);var l=a.unicode;a.lastIndex=0;var f,d=[],h=0;while(null!==(f=u(a,s))){var p=String(f[0]);d[h]=p,\"\"===p&&(a.lastIndex=c(s,i(a.lastIndex),l)),h++}return 0===h?null:d}]}))},S2t0:function(e,t,n){\"use strict\";var r=n(\"WjD0\"),o=n.n(r);t[\"a\"]=o.a},S6kV:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"OLod\"))})(0,(function(e){return e.mode.OFB=function(){var t=e.lib.BlockCipherMode.extend(),n=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,o=this._iv,i=this._keystream;o&&(i=this._keystream=o.slice(0),this._iv=void 0),n.encryptBlock(i,0);for(var a=0;a<r;a++)e[t+a]^=i[a]}});return t.Decryptor=n,t}(),e.mode.OFB}))},SA0R:function(e,t,n){\"use strict\";var r=n(\"TqRt\")[\"default\"];Object.defineProperty(t,\"__esModule\",{value:!0}),t[\"default\"]=void 0;var o=r(n(\"7Pqi\")),i=r(n(\"7+IK\")),a=r(n(\"Z0Lh\")),c=r(n(\"Z6rY\")),u=\"${label}\\u4e0d\\u662f\\u4e00\\u4e2a\\u6709\\u6548\\u7684${type}\",s={locale:\"zh-cn\",Pagination:o[\"default\"],DatePicker:a[\"default\"],TimePicker:c[\"default\"],Calendar:i[\"default\"],global:{placeholder:\"\\u8bf7\\u9009\\u62e9\"},Table:{filterTitle:\"\\u7b5b\\u9009\",filterConfirm:\"\\u786e\\u5b9a\",filterReset:\"\\u91cd\\u7f6e\",filterEmptyText:\"\\u65e0\\u7b5b\\u9009\\u9879\",filterCheckall:\"\\u5168\\u9009\",filterSearchPlaceholder:\"\\u5728\\u7b5b\\u9009\\u9879\\u4e2d\\u641c\\u7d22\",selectAll:\"\\u5168\\u9009\\u5f53\\u9875\",selectInvert:\"\\u53cd\\u9009\\u5f53\\u9875\",selectNone:\"\\u6e05\\u7a7a\\u6240\\u6709\",selectionAll:\"\\u5168\\u9009\\u6240\\u6709\",sortTitle:\"\\u6392\\u5e8f\",expand:\"\\u5c55\\u5f00\\u884c\",collapse:\"\\u5173\\u95ed\\u884c\",triggerDesc:\"\\u70b9\\u51fb\\u964d\\u5e8f\",triggerAsc:\"\\u70b9\\u51fb\\u5347\\u5e8f\",cancelSort:\"\\u53d6\\u6d88\\u6392\\u5e8f\"},Modal:{okText:\"\\u786e\\u5b9a\",cancelText:\"\\u53d6\\u6d88\",justOkText:\"\\u77e5\\u9053\\u4e86\"},Popconfirm:{cancelText:\"\\u53d6\\u6d88\",okText:\"\\u786e\\u5b9a\"},Transfer:{titles:[\"\",\"\"],searchPlaceholder:\"\\u8bf7\\u8f93\\u5165\\u641c\\u7d22\\u5185\\u5bb9\",itemUnit:\"\\u9879\",itemsUnit:\"\\u9879\",remove:\"\\u5220\\u9664\",selectCurrent:\"\\u5168\\u9009\\u5f53\\u9875\",removeCurrent:\"\\u5220\\u9664\\u5f53\\u9875\",selectAll:\"\\u5168\\u9009\\u6240\\u6709\",removeAll:\"\\u5220\\u9664\\u5168\\u90e8\",selectInvert:\"\\u53cd\\u9009\\u5f53\\u9875\"},Upload:{uploading:\"\\u6587\\u4ef6\\u4e0a\\u4f20\\u4e2d\",removeFile:\"\\u5220\\u9664\\u6587\\u4ef6\",uploadError:\"\\u4e0a\\u4f20\\u9519\\u8bef\",previewFile:\"\\u9884\\u89c8\\u6587\\u4ef6\",downloadFile:\"\\u4e0b\\u8f7d\\u6587\\u4ef6\"},Empty:{description:\"\\u6682\\u65e0\\u6570\\u636e\"},Icon:{icon:\"\\u56fe\\u6807\"},Text:{edit:\"\\u7f16\\u8f91\",copy:\"\\u590d\\u5236\",copied:\"\\u590d\\u5236\\u6210\\u529f\",expand:\"\\u5c55\\u5f00\"},PageHeader:{back:\"\\u8fd4\\u56de\"},Form:{optional:\"\\uff08\\u53ef\\u9009\\uff09\",defaultValidateMessages:{default:\"\\u5b57\\u6bb5\\u9a8c\\u8bc1\\u9519\\u8bef${label}\",required:\"\\u8bf7\\u8f93\\u5165${label}\",enum:\"${label}\\u5fc5\\u987b\\u662f\\u5176\\u4e2d\\u4e00\\u4e2a[${enum}]\",whitespace:\"${label}\\u4e0d\\u80fd\\u4e3a\\u7a7a\\u5b57\\u7b26\",date:{format:\"${label}\\u65e5\\u671f\\u683c\\u5f0f\\u65e0\\u6548\",parse:\"${label}\\u4e0d\\u80fd\\u8f6c\\u6362\\u4e3a\\u65e5\\u671f\",invalid:\"${label}\\u662f\\u4e00\\u4e2a\\u65e0\\u6548\\u65e5\\u671f\"},types:{string:u,method:u,array:u,object:u,number:u,date:u,boolean:u,integer:u,float:u,regexp:u,email:u,url:u,hex:u},string:{len:\"${label}\\u987b\\u4e3a${len}\\u4e2a\\u5b57\\u7b26\",min:\"${label}\\u6700\\u5c11${min}\\u4e2a\\u5b57\\u7b26\",max:\"${label}\\u6700\\u591a${max}\\u4e2a\\u5b57\\u7b26\",range:\"${label}\\u987b\\u5728${min}-${max}\\u5b57\\u7b26\\u4e4b\\u95f4\"},number:{len:\"${label}\\u5fc5\\u987b\\u7b49\\u4e8e${len}\",min:\"${label}\\u6700\\u5c0f\\u503c\\u4e3a${min}\",max:\"${label}\\u6700\\u5927\\u503c\\u4e3a${max}\",range:\"${label}\\u987b\\u5728${min}-${max}\\u4e4b\\u95f4\"},array:{len:\"\\u987b\\u4e3a${len}\\u4e2a${label}\",min:\"\\u6700\\u5c11${min}\\u4e2a${label}\",max:\"\\u6700\\u591a${max}\\u4e2a${label}\",range:\"${label}\\u6570\\u91cf\\u987b\\u5728${min}-${max}\\u4e4b\\u95f4\"},pattern:{mismatch:\"${label}\\u4e0e\\u6a21\\u5f0f\\u4e0d\\u5339\\u914d${pattern}\"}}},Image:{preview:\"\\u9884\\u89c8\"}},l=s;t[\"default\"]=l},SEBh:function(e,t,n){var r=n(\"glrk\"),o=n(\"HAuM\"),i=n(\"tiKp\"),a=i(\"species\");e.exports=function(e,t){var n,i=r(e).constructor;return void 0===i||void 0==(n=r(i)[a])?t:o(n)}},SL6q:function(e,t,n){var r=n(\"I+eb\"),o=n(\"voyM\"),i=n(\"vo4V\");r({target:\"Math\",stat:!0},{fscale:function(e,t,n,r,a){return i(o(e,t,n,r,a))}})},STAE:function(e,t,n){var r=n(\"0Dky\");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},SYor:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"WKiH\").trim,i=n(\"yNLB\");r({target:\"String\",proto:!0,forced:i(\"trim\")},{trim:function(){return o(this)}})},SfRM:function(e,t,n){var r=n(\"YESw\");function o(){this.__data__=r?r(null):{},this.size=0}e.exports=o},Si40:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"0GbY\"),a=n(\"glrk\"),c=n(\"HAuM\"),u=n(\"SEBh\"),s=n(\"ImZN\");r({target:\"Set\",proto:!0,real:!0,forced:o},{symmetricDifference:function(e){var t=a(this),n=new(u(t,i(\"Set\")))(t),r=c(n[\"delete\"]),o=c(n.add);return s(e,(function(e){r.call(n,e)||o.call(n,e)})),n}})},SpvK:function(e,t,n){var r=n(\"dOgj\");r(\"Float64\",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},Sssf:function(e,t,n){var r=n(\"xDBR\"),o=n(\"mh/w\");e.exports=r?o:function(e){return Map.prototype.entries.call(e)}},SuFq:function(e,t,n){var r=n(\"I+eb\"),o=n(\"0GbY\"),i=n(\"HAuM\"),a=n(\"glrk\"),c=n(\"hh1v\"),u=n(\"fHMY\"),s=n(\"BTho\"),l=n(\"0Dky\"),f=o(\"Reflect\",\"construct\"),d=l((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),h=!l((function(){f((function(){}))})),p=d||h;r({target:\"Reflect\",stat:!0,forced:p,sham:p},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(h&&!d)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var o=n.prototype,l=u(c(o)?o:Object.prototype),p=Function.apply.call(e,l,t);return c(p)?p:l}})},SwNF:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.toNumber=t.isNaN=t.isNumber=void 0;var r=function(e){return\"number\"===typeof e};t.isNumber=r;var o=function(e){return Number.isNaN(Number(e))};t.isNaN=o;var i=function(e){var n=parseFloat(e);return(0,t.isNaN)(n)?e:n};t.toNumber=i},T016:function(e,t,n){\"use strict\";e.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]}},T5bk:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return c}));var r=n(\"DSFK\"),o=n(\"25BE\"),i=n(\"BsWD\"),a=n(\"PYwp\");function c(e){return Object(r[\"a\"])(e)||Object(o[\"a\"])(e)||Object(i[\"a\"])(e)||Object(a[\"a\"])()}},T63A:function(e,t,n){var r=n(\"I+eb\"),o=n(\"b1O7\").entries;r({target:\"Object\",stat:!0},{entries:function(e){return o(e)}})},TJ79:function(e,t,n){var r=n(\"I+eb\"),o=n(\"P940\");r({target:\"WeakMap\",stat:!0},{of:o})},TO8r:function(e,t){var n=/\\s/;function r(e){var t=e.length;while(t--&&n.test(e.charAt(t)));return t}e.exports=r},TOwV:function(e,t,n){\"use strict\";e.exports=n(\"qT12\")},TRqC:function(e,t,n){\"use strict\";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!(\"get\"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)\"default\"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,\"__esModule\",{value:!0}),o(n(\"zLJh\"),t)},TSYQ:function(e,t,n){var r,o;(function(){\"use strict\";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if(\"string\"===o||\"number\"===o)e.push(r);else if(Array.isArray(r)){if(r.length){var a=i.apply(null,r);a&&e.push(a)}}else if(\"object\"===o){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes(\"[native code]\")){e.push(r.toString());continue}for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}}return e.join(\" \")}e.exports?(i.default=i,e.exports=i):(r=[],o=function(){return i}.apply(t,r),void 0===o||(e.exports=o))})()},TWNs:function(e,t,n){var r=n(\"g6v/\"),o=n(\"2oRo\"),i=n(\"lMq5\"),a=n(\"cVYH\"),c=n(\"m/L8\").f,u=n(\"JBy8\").f,s=n(\"ROdP\"),l=n(\"rW0t\"),f=n(\"n3/R\"),d=n(\"busE\"),h=n(\"0Dky\"),p=n(\"afO8\").set,v=n(\"JiZb\"),g=n(\"tiKp\"),m=g(\"match\"),y=o.RegExp,b=y.prototype,x=/a/g,w=/a/g,O=new y(x)!==x,E=f.UNSUPPORTED_Y,S=r&&i(\"RegExp\",!O||E||h((function(){return w[m]=!1,y(x)!=x||y(w)==w||\"/a/i\"!=y(x,\"i\")})));if(S){var j=function(e,t){var n,r=this instanceof j,o=s(e),i=void 0===t;if(!r&&o&&e.constructor===j&&i)return e;O?o&&!i&&(e=e.source):e instanceof j&&(i&&(t=l.call(e)),e=e.source),E&&(n=!!t&&t.indexOf(\"y\")>-1,n&&(t=t.replace(/y/g,\"\")));var c=a(O?new y(e,t):y(e,t),r?this:b,j);return E&&n&&p(c,{sticky:n}),c},k=function(e){e in j||c(j,e,{configurable:!0,get:function(){return y[e]},set:function(t){y[e]=t}})},_=u(y),C=0;while(_.length>C)k(_[C++]);b.constructor=j,j.prototype=b,d(o,\"RegExp\",j)}v(\"RegExp\")},TWQb:function(e,t,n){var r=n(\"/GqU\"),o=n(\"UMSQ\"),i=n(\"I8vh\"),a=function(e){return function(t,n,a){var c,u=r(t),s=o(u.length),l=i(a,s);if(e&&n!=n){while(s>l)if(c=u[l++],c!=c)return!0}else for(;s>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},TZCg:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"DMt2\").start,i=n(\"mgyK\");r({target:\"String\",proto:!0,forced:i},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},Tahl:function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,\"__esModule\",{value:!0}),t.RandomLayout=void 0;var o=n(\"W8mN\"),i=function(e){function t(t){var n=e.call(this)||this;return n.center=[0,0],n.width=300,n.height=300,n.nodes=[],n.edges=[],n.onLayoutEnd=function(){},n.updateCfg(t),n}return r(t,e),t.prototype.getDefaultCfg=function(){return{center:[0,0],width:300,height:300}},t.prototype.execute=function(){var e=this,t=e.nodes,n=.9,r=e.center;return e.width||\"undefined\"===typeof window||(e.width=window.innerWidth),e.height||\"undefined\"===typeof window||(e.height=window.innerHeight),t&&t.forEach((function(t){t.x=(Math.random()-.5)*n*e.width+r[0],t.y=(Math.random()-.5)*n*e.height+r[1]})),e.onLayoutEnd&&e.onLayoutEnd(),{nodes:t,edges:this.edges}},t.prototype.getType=function(){return\"random\"},t}(o.Base);t.RandomLayout=i},TeQF:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"tycR\").filter,i=n(\"Hd5f\"),a=n(\"rkAj\"),c=i(\"filter\"),u=a(\"filter\");r({target:\"Array\",proto:!0,forced:!c||!u},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},TeRw:function(e,t,n){\"use strict\";n.r(t),n.d(t,\"getInstance\",(function(){return Q}));var r=n(\"x+uP\"),o=n(\"wx14\"),i=n(\"rePB\"),a=n(\"VTBJ\"),c=n(\"q1tI\"),u={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z\"}},{tag:\"path\",attrs:{d:\"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\"}}]},name:\"check-circle\",theme:\"outlined\"},s=u,l=n(\"6VBw\"),f=function(e,t){return c[\"createElement\"](l[\"a\"],Object(a[\"a\"])(Object(a[\"a\"])({},e),{},{ref:t,icon:s}))};f.displayName=\"CheckCircleOutlined\";var d=c[\"forwardRef\"](f),h={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z\"}},{tag:\"path\",attrs:{d:\"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\"}}]},name:\"close-circle\",theme:\"outlined\"},p=h,v=function(e,t){return c[\"createElement\"](l[\"a\"],Object(a[\"a\"])(Object(a[\"a\"])({},e),{},{ref:t,icon:p}))};v.displayName=\"CloseCircleOutlined\";var g=c[\"forwardRef\"](v),m=n(\"4i/N\"),y={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\"}},{tag:\"path\",attrs:{d:\"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z\"}}]},name:\"exclamation-circle\",theme:\"outlined\"},b=y,x=function(e,t){return c[\"createElement\"](l[\"a\"],Object(a[\"a\"])(Object(a[\"a\"])({},e),{},{ref:t,icon:b}))};x.displayName=\"ExclamationCircleOutlined\";var w=c[\"forwardRef\"](x),O={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\"}},{tag:\"path\",attrs:{d:\"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z\"}}]},name:\"info-circle\",theme:\"outlined\"},E=O,S=function(e,t){return c[\"createElement\"](l[\"a\"],Object(a[\"a\"])(Object(a[\"a\"])({},e),{},{ref:t,icon:E}))};S.displayName=\"InfoCircleOutlined\";var j=c[\"forwardRef\"](S),k=n(\"TSYQ\"),_=n.n(k),C=n(\"8tx+\"),M=n(\"wEI+\"),A=n(\"ODXe\"),N=n(\"8HVG\"),T=n(\"H84U\");function I(e,t){var n=function(){var n,r=null,i={add:function(e,t){null===r||void 0===r||r.component.add(e,t)}},a=Object(N[\"a\"])(i),u=Object(A[\"a\"])(a,2),s=u[0],l=u[1];function f(i){var a=i.prefixCls,c=n(\"notification\",a);e(Object(o[\"a\"])(Object(o[\"a\"])({},i),{prefixCls:c}),(function(e){var n=e.prefixCls,o=e.instance;r=o,s(t(i,n))}))}var d=c[\"useRef\"]({});return d.current.open=f,[\"success\",\"info\",\"warning\",\"error\"].forEach((function(e){d.current[e]=function(t){return d.current.open(Object(o[\"a\"])(Object(o[\"a\"])({},t),{type:e}))}})),[d.current,c[\"createElement\"](T[\"a\"],{key:\"holder\"},(function(e){return n=e.getPrefixCls,l}))]};return n}var P,L,D,R=function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function c(e){try{u(r[\"throw\"](e))}catch(t){i(t)}}function u(e){e.done?n(e.value):o(e.value).then(a,c)}u((r=r.apply(e,t||[])).next())}))},F={},B=4.5,z=24,U=24,G=\"\",V=\"topRight\",W=!1;function H(e){var t=e.duration,n=e.placement,r=e.bottom,o=e.top,i=e.getContainer,a=e.closeIcon,c=e.prefixCls;void 0!==c&&(G=c),void 0!==t&&(B=t),void 0!==n?V=n:e.rtl&&(V=\"topLeft\"),void 0!==r&&(U=r),void 0!==o&&(z=o),void 0!==i&&(P=i),void 0!==a&&(L=a),void 0!==e.rtl&&(W=e.rtl),void 0!==e.maxCount&&(D=e.maxCount)}function Y(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:U;switch(e){case\"top\":t={left:\"50%\",transform:\"translateX(-50%)\",right:\"auto\",top:n,bottom:\"auto\"};break;case\"topLeft\":t={left:0,top:n,bottom:\"auto\"};break;case\"topRight\":t={right:0,top:n,bottom:\"auto\"};break;case\"bottom\":t={left:\"50%\",transform:\"translateX(-50%)\",right:\"auto\",top:\"auto\",bottom:r};break;case\"bottomLeft\":t={left:0,top:\"auto\",bottom:r};break;default:t={right:0,top:\"auto\",bottom:r};break}return t}function X(e,t){var n=e.placement,r=void 0===n?V:n,o=e.top,a=e.bottom,c=e.getContainer,u=void 0===c?P:c,s=e.prefixCls,l=Object(M[\"b\"])(),f=l.getPrefixCls,d=l.getIconPrefixCls,h=f(\"notification\",s||G),p=d(),v=\"\".concat(h,\"-\").concat(r),g=F[v];if(g)Promise.resolve(g).then((function(e){t({prefixCls:\"\".concat(h,\"-notice\"),iconPrefixCls:p,instance:e})}));else{var m=_()(\"\".concat(h,\"-\").concat(r),Object(i[\"a\"])({},\"\".concat(h,\"-rtl\"),!0===W));F[v]=new Promise((function(e){C[\"a\"].newInstance({prefixCls:h,className:m,style:Y(r,o,a),getContainer:u,maxCount:D},(function(n){e(n),t({prefixCls:\"\".concat(h,\"-notice\"),iconPrefixCls:p,instance:n})}))}))}}var q={success:d,info:j,error:g,warning:w};function K(e,t,n){var r=e.duration,o=e.icon,a=e.type,u=e.description,s=e.message,l=e.btn,f=e.onClose,d=e.onClick,h=e.key,p=e.style,v=e.className,g=e.closeIcon,y=void 0===g?L:g,b=e.props,x=void 0===r?B:r,w=null;o?w=c[\"createElement\"](\"span\",{className:\"\".concat(t,\"-icon\")},e.icon):a&&(w=c[\"createElement\"](q[a]||null,{className:\"\".concat(t,\"-icon \").concat(t,\"-icon-\").concat(a)}));var O=c[\"createElement\"](\"span\",{className:\"\".concat(t,\"-close-x\")},y||c[\"createElement\"](m[\"a\"],{className:\"\".concat(t,\"-close-icon\")})),E=!u&&w?c[\"createElement\"](\"span\",{className:\"\".concat(t,\"-message-single-line-auto-margin\")}):null;return{content:c[\"createElement\"](M[\"a\"],{iconPrefixCls:n},c[\"createElement\"](\"div\",{className:w?\"\".concat(t,\"-with-icon\"):\"\",role:\"alert\"},w,c[\"createElement\"](\"div\",{className:\"\".concat(t,\"-message\")},E,s),c[\"createElement\"](\"div\",{className:\"\".concat(t,\"-description\")},u),l?c[\"createElement\"](\"span\",{className:\"\".concat(t,\"-btn\")},l):null)),duration:x,closable:!0,closeIcon:O,onClose:f,onClick:d,key:h,style:p||{},className:_()(v,Object(i[\"a\"])({},\"\".concat(t,\"-\").concat(a),!!a)),props:b}}function Z(e){X(e,(function(t){var n=t.prefixCls,r=t.iconPrefixCls,o=t.instance;o.notice(K(e,n,r))}))}var $={open:Z,close:function(e){Object.keys(F).forEach((function(t){return Promise.resolve(F[t]).then((function(t){t.removeNotice(e)}))}))},config:H,destroy:function(){Object.keys(F).forEach((function(e){Promise.resolve(F[e]).then((function(e){e.destroy()})),delete F[e]}))}};[\"success\",\"info\",\"warning\",\"error\"].forEach((function(e){$[e]=function(t){return $.open(Object(o[\"a\"])(Object(o[\"a\"])({},t),{type:e}))}})),$.warn=$.warning,$.useNotification=I(X,K);var Q=function(e){return R(void 0,void 0,void 0,Object(r[\"a\"])().mark((function e(){return Object(r[\"a\"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt(\"return\",null);case 1:case\"end\":return e.stop()}}),e)})))};t[\"default\"]=$},TfTi:function(e,t,n){\"use strict\";var r=n(\"A2ZE\"),o=n(\"ewvW\"),i=n(\"m92n\"),a=n(\"6VoE\"),c=n(\"UMSQ\"),u=n(\"hBjN\"),s=n(\"NaFW\");e.exports=function(e){var t,n,l,f,d,h,p=o(e),v=\"function\"==typeof this?this:Array,g=arguments.length,m=g>1?arguments[1]:void 0,y=void 0!==m,b=s(p),x=0;if(y&&(m=r(m,g>2?arguments[2]:void 0,2)),void 0==b||v==Array&&a(b))for(t=c(p.length),n=new v(t);t>x;x++)h=y?m(p[x],x):p[x],u(n,x,h);else for(f=b.call(p),d=f.next,n=new v;!(l=d.call(f)).done;x++)h=y?i(f,m,[l.value,x],!0):l.value,u(n,x,h);return n.length=x,n}},Thag:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"glrk\"),a=n(\"A2ZE\"),c=n(\"Sssf\"),u=n(\"ImZN\");r({target:\"Map\",proto:!0,real:!0,forced:o},{some:function(e){var t=i(this),n=c(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return u(n,(function(e,n){if(r(n,e,t))return u.stop()}),void 0,!0,!0).stopped}})},Tirl:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.Layouts=t.Layout=void 0;var r=n(\"cEnC\"),o=n(\"miQf\"),i=n(\"Tahl\"),a=n(\"i3If\"),c=n(\"qsEr\"),u=n(\"TRqC\"),s=n(\"fGbL\"),l=n(\"E9Ls\"),f=n(\"Y0u0\"),d=n(\"RVo0\"),h=n(\"gsyx\"),p=n(\"+pfl\"),v=n(\"B33U\"),g=n(\"A3YJ\"),m=n(\"x+rs\"),y=n(\"fQop\"),b=n(\"BxdF\"),x=n(\"knzT\"),w=n(\"PA46\"),O=n(\"8nGZ\"),E=function(){function e(e){var t=(0,r.getLayoutByName)(e.type);this.layoutInstance=new t(e)}return e.prototype.layout=function(e){return this.layoutInstance.layout(e)},e.prototype.updateCfg=function(e){this.layoutInstance.updateCfg(e)},e.prototype.init=function(e){this.correctLayers(e.nodes),this.layoutInstance.init(e)},e.prototype.correctLayers=function(e){if(null===e||void 0===e?void 0:e.length){var t=1/0,n=[];if(e.forEach((function(e){(0,O.isString)(e.layer)&&(e.layer=parseInt(e.layer,10)),void 0===e.layer||isNaN(e.layer)||(n.push(e),e.layer<t&&(t=e.layer))})),t<=0){var r=Math.abs(t)+1;n.forEach((function(e){return e.layer+=r}))}}},e.prototype.execute=function(){this.layoutInstance.execute()},e.prototype.getDefaultCfg=function(){return this.layoutInstance.getDefaultCfg()},e.prototype.destroy=function(){return this.layoutInstance.destroy()},e}();t.Layout=E,t.Layouts={force:u.ForceLayout,fruchterman:p.FruchtermanLayout,forceAtlas2:b.ForceAtlas2Layout,gForce:c.GForceLayout,force2:a.Force2Layout,dagre:l.DagreLayout,dagreCompound:w.DagreCompoundLayout,circular:s.CircularLayout,radial:f.RadialLayout,concentric:d.ConcentricLayout,grid:o.GridLayout,mds:h.MDSLayout,comboForce:m.ComboForceLayout,comboCombined:y.ComboCombinedLayout,random:i.RandomLayout,\"gForce-gpu\":g.GForceGPULayout,\"fruchterman-gpu\":v.FruchtermanGPULayout,er:x.ERLayout}},ToJy:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"HAuM\"),i=n(\"ewvW\"),a=n(\"0Dky\"),c=n(\"pkCn\"),u=[],s=u.sort,l=a((function(){u.sort(void 0)})),f=a((function(){u.sort(null)})),d=c(\"sort\"),h=l||!f||!d;r({target:\"Array\",proto:!0,forced:h},{sort:function(e){return void 0===e?s.call(i(this)):s.call(i(this),o(e))}})},TqRt:function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},Tskq:function(e,t,n){\"use strict\";var r=n(\"bWFh\"),o=n(\"ZWaQ\");e.exports=r(\"Map\",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},Ty5D:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return x})),n.d(t,\"b\",(function(){return O})),n.d(t,\"c\",(function(){return C})),n.d(t,\"d\",(function(){return P})),n.d(t,\"e\",(function(){return b})),n.d(t,\"f\",(function(){return U})),n.d(t,\"g\",(function(){return G})),n.d(t,\"h\",(function(){return y})),n.d(t,\"i\",(function(){return I})),n.d(t,\"j\",(function(){return H})),n.d(t,\"k\",(function(){return Y})),n.d(t,\"l\",(function(){return X})),n.d(t,\"m\",(function(){return q})),n.d(t,\"n\",(function(){return V}));var r=n(\"dI71\"),o=n(\"q1tI\"),i=n.n(o),a=n(\"YS25\"),c=n(\"FUNW\"),u=n(\"9R94\"),s=n(\"wx14\"),l=n(\"vRGJ\"),f=n.n(l),d=(n(\"TOwV\"),n(\"zLVn\")),h=n(\"2mql\"),p=n.n(h),v=function(e){var t=Object(c[\"a\"])();return t.displayName=e,t},g=v(\"Router-History\"),m=function(e){var t=Object(c[\"a\"])();return t.displayName=e,t},y=m(\"Router\"),b=function(e){function t(t){var n;return n=e.call(this,t)||this,n.state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(r[\"a\"])(t,e),t.computeRootMatch=function(e){return{path:\"/\",url:\"/\",params:{},isExact:\"/\"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return i.a.createElement(y.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i.a.createElement(g.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i.a.Component);var x=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.history=Object(a[\"d\"])(t.props),t}Object(r[\"a\"])(t,e);var n=t.prototype;return n.render=function(){return i.a.createElement(b,{history:this.history,children:this.props.children})},t}(i.a.Component);var w=function(e){function t(){return e.apply(this,arguments)||this}Object(r[\"a\"])(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(i.a.Component);function O(e){var t=e.message,n=e.when,r=void 0===n||n;return i.a.createElement(y.Consumer,null,(function(e){if(e||Object(u[\"a\"])(!1),!r||e.staticContext)return null;var n=e.history.block;return i.a.createElement(w,{onMount:function(e){e.release=n(t)},onUpdate:function(e,r){r.message!==t&&(e.release(),e.release=n(t))},onUnmount:function(e){e.release()},message:t})}))}var E={},S=1e4,j=0;function k(e){if(E[e])return E[e];var t=f.a.compile(e);return j<S&&(E[e]=t,j++),t}function _(e,t){return void 0===e&&(e=\"/\"),void 0===t&&(t={}),\"/\"===e?e:k(e)(t,{pretty:!0})}function C(e){var t=e.computedMatch,n=e.to,r=e.push,o=void 0!==r&&r;return i.a.createElement(y.Consumer,null,(function(e){e||Object(u[\"a\"])(!1);var r=e.history,c=e.staticContext,l=o?r.push:r.replace,f=Object(a[\"c\"])(t?\"string\"===typeof n?_(n,t.params):Object(s[\"a\"])({},n,{pathname:_(n.pathname,t.params)}):n);return c?(l(f),null):i.a.createElement(w,{onMount:function(){l(f)},onUpdate:function(e,t){var n=Object(a[\"c\"])(t.to);Object(a[\"f\"])(n,Object(s[\"a\"])({},f,{key:n.key}))||l(f)},to:n})}))}var M={},A=1e4,N=0;function T(e,t){var n=\"\"+t.end+t.strict+t.sensitive,r=M[n]||(M[n]={});if(r[e])return r[e];var o=[],i=f()(e,o,t),a={regexp:i,keys:o};return N<A&&(r[e]=a,N++),a}function I(e,t){void 0===t&&(t={}),(\"string\"===typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,c=void 0!==a&&a,u=n.sensitive,s=void 0!==u&&u,l=[].concat(r);return l.reduce((function(t,n){if(!n&&\"\"!==n)return null;if(t)return t;var r=T(n,{end:i,strict:c,sensitive:s}),o=r.regexp,a=r.keys,u=o.exec(e);if(!u)return null;var l=u[0],f=u.slice(1),d=e===l;return i&&!d?null:{path:n,url:\"/\"===n&&\"\"===l?\"/\":l,isExact:d,params:a.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var P=function(e){function t(){return e.apply(this,arguments)||this}Object(r[\"a\"])(t,e);var n=t.prototype;return n.render=function(){var e=this;return i.a.createElement(y.Consumer,null,(function(t){t||Object(u[\"a\"])(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?I(n.pathname,e.props):t.match,o=Object(s[\"a\"])({},t,{location:n,match:r}),a=e.props,c=a.children,l=a.component,f=a.render;return Array.isArray(c)&&0===c.length&&(c=null),i.a.createElement(y.Provider,{value:o},o.match?c?\"function\"===typeof c?c(o):c:l?i.a.createElement(l,o):f?f(o):null:\"function\"===typeof c?c(o):null)}))},t}(i.a.Component);function L(e){return\"/\"===e.charAt(0)?e:\"/\"+e}function D(e,t){return e?Object(s[\"a\"])({},t,{pathname:L(e)+t.pathname}):t}function R(e,t){if(!e)return t;var n=L(e);return 0!==t.pathname.indexOf(n)?t:Object(s[\"a\"])({},t,{pathname:t.pathname.substr(n.length)})}function F(e){return\"string\"===typeof e?e:Object(a[\"e\"])(e)}function B(e){return function(){Object(u[\"a\"])(!1)}}function z(){}var U=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.handlePush=function(e){return t.navigateTo(e,\"PUSH\")},t.handleReplace=function(e){return t.navigateTo(e,\"REPLACE\")},t.handleListen=function(){return z},t.handleBlock=function(){return z},t}Object(r[\"a\"])(t,e);var n=t.prototype;return n.navigateTo=function(e,t){var n=this.props,r=n.basename,o=void 0===r?\"\":r,i=n.context,c=void 0===i?{}:i;c.action=t,c.location=D(o,Object(a[\"c\"])(e)),c.url=F(c.location)},n.render=function(){var e=this.props,t=e.basename,n=void 0===t?\"\":t,r=e.context,o=void 0===r?{}:r,c=e.location,u=void 0===c?\"/\":c,l=Object(d[\"a\"])(e,[\"basename\",\"context\",\"location\"]),f={createHref:function(e){return L(n+F(e))},action:\"POP\",location:R(n,Object(a[\"c\"])(u)),push:this.handlePush,replace:this.handleReplace,go:B(\"go\"),goBack:B(\"goBack\"),goForward:B(\"goForward\"),listen:this.handleListen,block:this.handleBlock};return i.a.createElement(b,Object(s[\"a\"])({},l,{history:f,staticContext:o}))},t}(i.a.Component);var G=function(e){function t(){return e.apply(this,arguments)||this}Object(r[\"a\"])(t,e);var n=t.prototype;return n.render=function(){var e=this;return i.a.createElement(y.Consumer,null,(function(t){t||Object(u[\"a\"])(!1);var n,r,o=e.props.location||t.location;return i.a.Children.forEach(e.props.children,(function(e){if(null==r&&i.a.isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?I(o.pathname,Object(s[\"a\"])({},e.props,{path:a})):t.match}})),r?i.a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i.a.Component);function V(e){var t=\"withRouter(\"+(e.displayName||e.name)+\")\",n=function(t){var n=t.wrappedComponentRef,r=Object(d[\"a\"])(t,[\"wrappedComponentRef\"]);return i.a.createElement(y.Consumer,null,(function(t){return t||Object(u[\"a\"])(!1),i.a.createElement(e,Object(s[\"a\"])({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,p()(n,e)}var W=i.a.useContext;function H(){return W(g)}function Y(){return W(y).location}function X(){var e=W(y).match;return e?e.params:{}}function q(e){var t=Y(),n=W(y).match;return e?I(t.pathname,e):n}},U3f4:function(e,t,n){var r=n(\"g6v/\"),o=n(\"m/L8\"),i=n(\"rW0t\"),a=n(\"n3/R\").UNSUPPORTED_Y;r&&(\"g\"!=/./g.flags||a)&&o.f(RegExp.prototype,\"flags\",{configurable:!0,get:i})},U8pU:function(e,t,n){\"use strict\";function r(e){return r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},r(e)}n.d(t,\"a\",(function(){return r}))},UB5X:function(e,t,n){var r=n(\"NykK\"),o=n(\"ExA7\"),i=\"[object Number]\";function a(e){return\"number\"==typeof e||o(e)&&r(e)==i}e.exports=a},UMSQ:function(e,t,n){var r=n(\"ppGB\"),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},\"UNi/\":function(e,t){function n(e,t){var n=-1,r=Array(e);while(++n<e)r[n]=t(n);return r}e.exports=n},UTVS:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},UUCH:function(e,t,n){\"use strict\";function r(e){return r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},r(e)}Object.defineProperty(t,\"__esModule\",{value:!0}),t.detectAllUndirectedCycle=t.detectAllDirectedCycle=t.detectAllCycles=t.default=void 0;var o=s(n(\"/lHY\")),i=u(n(\"hi4r\")),a=n(\"3P6T\");function c(e){if(\"function\"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||\"object\"!==r(e)&&\"function\"!==typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(\"default\"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var t=null,n=e.nodes,r=void 0===n?[]:n,i={},a={},c={},u={};r.forEach((function(e){a[e.id]=e}));var s={enter:function(e){var n=e.current,r=e.previous;if(c[n]){t={};var o=n,u=r;while(u!==n)t[o]=u,o=u,u=i[u];t[o]=u}else c[n]=n,delete a[n],i[n]=r},leave:function(e){var t=e.current;u[t]=t,delete c[t]},allowTraversal:function(e){var n=e.next;return!t&&!u[n]}};while(Object.keys(a).length){var l=Object.keys(a)[0];(0,o.default)(e,l,s)}return t},f=function(e,t,n){var r,o;void 0===n&&(n=!0);for(var c=[],u=(0,i.default)(e,!1),s=0,l=u;s<l.length;s++){var f=l[s];if(f.length){var d=f[0],h=d.id,p=[d],v=(r={},r[h]=d,r),g=(o={},o[h]=new Set,o);while(p.length>0)for(var m=p.pop(),y=m.id,b=(0,a.getNeighbors)(y,e.edges),x=function(r){var o,i=b[r],a=e.nodes.find((function(e){return e.id===i}));if(i===y)c.push((o={},o[i]=m,o));else if(i in g){if(!g[y].has(a)){var u=!0,s=[a,m],l=v[y];while(g[i].size&&!g[i].has(l)){if(s.push(l),l===v[l.id])break;l=v[l.id]}if(s.push(l),t&&n?(u=!1,s.findIndex((function(e){return t.indexOf(e.id)>-1}))>-1&&(u=!0)):t&&!n&&s.findIndex((function(e){return t.indexOf(e.id)>-1}))>-1&&(u=!1),u){for(var f={},d=1;d<s.length;d+=1)f[s[d-1].id]=s[d];s.length&&(f[s[s.length-1].id]=s[0]),c.push(f)}g[i].add(m)}}else v[i]=m,p.push(a),g[i]=new Set([m])},w=0;w<b.length;w+=1)x(w)}}return c};t.detectAllUndirectedCycle=f;var d=function(e,t,n){void 0===n&&(n=!0);for(var r=[],o=new Set,c=[],u=[],s={},l={},f=function(e){var t=[e];while(t.length>0){var n=t.pop();o.has(n)&&(o.delete(n),c[n.id].forEach((function(e){t.push(e)})),c[n.id].clear())}},d=function e(i,a,l){var d=!1;if(t&&!1===n&&t.indexOf(i.id)>-1)return d;r.push(i),o.add(i);for(var h=l[i.id],p=0;p<h.length;p+=1){var v=s[h[p]];if(v===a){for(var g={},m=1;m<r.length;m+=1)g[r[m-1].id]=r[m];r.length&&(g[r[r.length-1].id]=r[0]),u.push(g),d=!0}else o.has(v)||e(v,a,l)&&(d=!0)}if(d)f(i);else for(p=0;p<h.length;p+=1){v=s[h[p]];c[v.id].has(i)||c[v.id].add(i)}return r.pop(),d},h=e.nodes,p=void 0===h?[]:h,v=0;v<p.length;v+=1){var g=p[v],m=g.id;l[m]=v,s[v]=g}if(t&&n){var y=function(e){var n=t[e];l[p[e].id]=l[n],l[n]=0,s[0]=p.find((function(e){return e.id===n})),s[l[p[e].id]]=p[e]};for(v=0;v<t.length;v++)y(v)}var b=function(r){for(var o,i,c=1/0,s=0;s<r.length;s+=1)for(var f=r[s],d=0;d<f.length;d++){var h=l[f[d].id];h<c&&(c=h,i=s)}var p=r[i],v=[];for(s=0;s<p.length;s+=1){var g=p[s];v[g.id]=[];for(var m=0,y=(0,a.getNeighbors)(g.id,e.edges,\"target\").filter((function(e){return p.map((function(e){return e.id})).indexOf(e)>-1}));m<y.length;m++){var b=y[m];b!==g.id||!1===n&&t.indexOf(g.id)>-1?v[g.id].push(l[b]):u.push((o={},o[g.id]=g,o))}}return{component:p,adjList:v,minIdx:c}},x=0;while(x<p.length){var w=p.filter((function(e){return l[e.id]>=x})),O=(0,i.detectStrongConnectComponents)({nodes:w,edges:e.edges}).filter((function(e){return e.length>1}));if(0===O.length)break;var E=b(O),S=E.minIdx,j=E.adjList,k=E.component;if(!(k.length>1))break;k.forEach((function(e){c[e.id]=new Set}));var _=s[S];if(t&&n&&-1===t.indexOf(_.id))return u;d(_,_,j),x=S+1}return u};t.detectAllDirectedCycle=d;var h=function(e,t,n,r){return void 0===r&&(r=!0),t?d(e,n,r):f(e,n,r)};t.detectAllCycles=h;var p=l;t.default=p},UVaH:function(e,t,n){\"use strict\";var r=\"undefined\"!==typeof Symbol&&Symbol,o=n(\"FpZJ\");e.exports=function(){return\"function\"===typeof r&&(\"function\"===typeof Symbol&&(\"symbol\"===typeof r(\"foo\")&&(\"symbol\"===typeof Symbol(\"bar\")&&o())))}},UesL:function(e,t,n){\"use strict\";var r=n(\"glrk\"),o=n(\"wE6v\");e.exports=function(e){if(\"string\"!==e&&\"number\"!==e&&\"default\"!==e)throw TypeError(\"Incorrect hint\");return o(r(this),\"number\"!==e)}},Unfr:function(e,t,n){\"use strict\";n.r(t),n.d(t,\"ApplyPluginsType\",(function(){return B})),n.d(t,\"Plugin\",(function(){return V})),n.d(t,\"dynamic\",(function(){return R})),n.d(t,\"isBrowser\",(function(){return z}));var r=n(\"YS25\");n.d(t,\"createBrowserHistory\",(function(){return r[\"a\"]})),n.d(t,\"createHashHistory\",(function(){return r[\"b\"]})),n.d(t,\"createMemoryHistory\",(function(){return r[\"d\"]}));var o=n(\"Ty5D\");n.d(t,\"__RouterContext\",(function(){return o[\"h\"]}));var i=n(\"55Ip\");n.d(t,\"Link\",(function(){return i[\"a\"]})),n.d(t,\"MemoryRouter\",(function(){return o[\"a\"]})),n.d(t,\"NavLink\",(function(){return i[\"b\"]})),n.d(t,\"Prompt\",(function(){return o[\"b\"]})),n.d(t,\"Redirect\",(function(){return o[\"c\"]})),n.d(t,\"Route\",(function(){return o[\"d\"]})),n.d(t,\"Router\",(function(){return o[\"e\"]})),n.d(t,\"StaticRouter\",(function(){return o[\"f\"]})),n.d(t,\"Switch\",(function(){return o[\"g\"]})),n.d(t,\"matchPath\",(function(){return o[\"i\"]})),n.d(t,\"useHistory\",(function(){return o[\"j\"]})),n.d(t,\"useLocation\",(function(){return o[\"k\"]})),n.d(t,\"useParams\",(function(){return o[\"l\"]})),n.d(t,\"useRouteMatch\",(function(){return o[\"m\"]})),n.d(t,\"withRouter\",(function(){return o[\"n\"]}));var a=n(\"q1tI\"),c=n(\"auQ1\");function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e){return l=\"function\"===typeof Symbol&&\"symbol\"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},l(e)}function f(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(s){return void n(s)}c.done?t(u):Promise.resolve(u).then(r,o)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){f(i,r,o,a,c,\"next\",e)}function c(e){f(i,r,o,a,c,\"throw\",e)}a(void 0)}))}}function h(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e){return y(e)||b(e)||x(e)||O()}function y(e){if(Array.isArray(e))return e}function b(e){if(\"undefined\"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e[\"@@iterator\"])return Array.from(e)}function x(e,t){if(e){if(\"string\"===typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===n&&e.constructor&&(n=e.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(e):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function O(){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 E(e,t){var n=\"undefined\"!==typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(!n){if(Array.isArray(e)||(n=x(e))||t&&e&&\"number\"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}var S=Object(a[\"createContext\"])(null),j=[],k=[],_=!1;function C(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function M(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var o=C(e[r]);o.loading?t.loading=!0:(t.loaded[r]=o.loaded,t.error=o.error),n.push(o.promise),o.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function A(e){return e&&e.__esModule?e.default:e}function N(e,t){return Object(a[\"createElement\"])(A(e),t)}function T(e,t){var n=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:N,webpack:null,modules:null},t),r=null;function o(){if(!r){var t=new I(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(\"undefined\"===typeof window&&j.push(o),!_&&\"undefined\"!==typeof window&&\"function\"===typeof n.webpack){var i=n.webpack();k.push((function(e){var t,n=E(i);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(-1!==e.indexOf(r))return o()}}catch(a){n.e(a)}finally{n.f()}}))}var u=function(e,t){o();var i=Object(a[\"useContext\"])(S),u=Object(c[\"useSubscription\"])(r);return Object(a[\"useImperativeHandle\"])(t,(function(){return{retry:r.retry}})),i&&Array.isArray(n.modules)&&n.modules.forEach((function(e){i(e)})),u.loading||u.error?Object(a[\"createElement\"])(n.loading,{isLoading:u.loading,pastDelay:u.pastDelay,timedOut:u.timedOut,error:u.error,retry:r.retry}):u.loaded?n.render(u.loaded,e):null},s=Object(a[\"forwardRef\"])(u);return s.preload=function(){return o()},s.displayName=\"LoadableComponent\",s}var I=function(){function e(t,n){h(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return v(e,[{key:\"promise\",value:function(){return this._res.promise}},{key:\"retry\",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&(\"number\"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),\"number\"===typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update(),e._clearTimeouts()})).catch((function(t){e._update(),e._clearTimeouts()})),this._update({})}},{key:\"_update\",value:function(e){this._state=s(s({},this._state),e),this._callbacks.forEach((function(e){return e()}))}},{key:\"_clearTimeouts\",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:\"getCurrentValue\",value:function(){return s(s({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading})}},{key:\"subscribe\",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function P(e){return T(C,e)}function L(e){if(\"function\"!==typeof e.render)throw new Error(\"LoadableMap requires a `render(loaded, props)` function\");return T(M,e)}function D(e,t){var n=[];while(e.length){var r=e.pop();n.push(r(t))}return Promise.all(n).then((function(){if(e.length)return D(e,t)}))}function R(e){var t=P,n={loading:function(e){e.error,e.isLoading;return Object(a[\"createElement\"])(\"p\",null,\"loading...\")}};if(\"function\"===typeof e)n.loader=e;else{if(\"object\"!==l(e))throw new Error(\"Unexpect arguments \".concat(e));n=s(s({},n),e)}return t(n)}function F(e,t){if(!e)throw new Error(t)}P.Map=L,P.preloadAll=function(){return new Promise((function(e,t){D(j).then(e,t)}))},P.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return _=!0,t()};D(k,e).then(n,n)}))},\"undefined\"!==typeof window&&(window.__NEXT_PRELOADREADY=P.preloadReady);var B,z=function(){return\"undefined\"!==typeof window&&\"undefined\"!==typeof window.document&&\"undefined\"!==typeof window.document.createElement};function U(e){var t=e.fns,n=e.args;if(1===t.length)return t[0];var r=t.pop();return t.reduce((function(e,t){return function(){return t(e,n)}}),r)}function G(e){return!!e&&\"object\"===l(e)&&\"function\"===typeof e.then}(function(e){e[\"compose\"]=\"compose\",e[\"modify\"]=\"modify\",e[\"event\"]=\"event\"})(B||(B={}));var V=function(){function e(t){h(this,e),this.validKeys=void 0,this.hooks={},this.validKeys=(null===t||void 0===t?void 0:t.validKeys)||[]}return v(e,[{key:\"register\",value:function(e){var t=this;F(!!e.apply,\"register failed, plugin.apply must supplied\"),F(!!e.path,\"register failed, plugin.path must supplied\"),Object.keys(e.apply).forEach((function(n){F(t.validKeys.indexOf(n)>-1,\"register failed, invalid key \".concat(n,\" from plugin \").concat(e.path,\".\")),t.hooks[n]||(t.hooks[n]=[]),t.hooks[n]=t.hooks[n].concat(e.apply[n])}))}},{key:\"getHooks\",value:function(e){var t=e.split(\".\"),n=m(t),r=n[0],o=n.slice(1),i=this.hooks[r]||[];return o.length&&(i=i.map((function(e){try{var t,n=e,r=E(o);try{for(r.s();!(t=r.n()).done;){var i=t.value;n=n[i]}}catch(a){r.e(a)}finally{r.f()}return n}catch(c){return null}})).filter(Boolean)),i}},{key:\"applyPlugins\",value:function(e){var t=e.key,n=e.type,r=e.initialValue,o=e.args,i=e.async,a=this.getHooks(t)||[];switch(o&&F(\"object\"===l(o),\"applyPlugins failed, args must be plain object.\"),n){case B.modify:return i?a.reduce(function(){var e=d(regeneratorRuntime.mark((function e(n,r){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(F(\"function\"===typeof r||\"object\"===l(r)||G(r),\"applyPlugins failed, all hooks for key \".concat(t,\" must be function, plain object or Promise.\")),!G(n)){e.next=5;break}return e.next=4,n;case 4:n=e.sent;case 5:if(\"function\"!==typeof r){e.next=16;break}if(i=r(n,o),!G(i)){e.next=13;break}return e.next=10,i;case 10:return e.abrupt(\"return\",e.sent);case 13:return e.abrupt(\"return\",i);case 14:e.next=21;break;case 16:if(!G(r)){e.next=20;break}return e.next=19,r;case 19:r=e.sent;case 20:return e.abrupt(\"return\",s(s({},n),r));case 21:case\"end\":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),G(r)?r:Promise.resolve(r)):a.reduce((function(e,n){return F(\"function\"===typeof n||\"object\"===l(n),\"applyPlugins failed, all hooks for key \".concat(t,\" must be function or plain object.\")),\"function\"===typeof n?n(e,o):s(s({},e),n)}),r);case B.event:return a.forEach((function(e){F(\"function\"===typeof e,\"applyPlugins failed, all hooks for key \".concat(t,\" must be function.\")),e(o)}));case B.compose:return function(){return U({fns:a.concat(r),args:o})()}}}}]),e}()},UrMv:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=o(n(\"XLAz\"));function o(e){return e&&e.__esModule?e:{default:e}}var i=function(){function e(){this.linkedList=new r.default}return e.prototype.isEmpty=function(){return!this.linkedList.head},e.prototype.peek=function(){return this.linkedList.head?this.linkedList.head.value:null},e.prototype.enqueue=function(e){this.linkedList.append(e)},e.prototype.dequeue=function(){var e=this.linkedList.deleteHead();return e?e.value:null},e.prototype.toString=function(e){return this.linkedList.toString(e)},e}(),a=i;t.default=a},Urep:function(e,t,n){},UxlC:function(e,t,n){\"use strict\";var r=n(\"14Sl\"),o=n(\"glrk\"),i=n(\"ewvW\"),a=n(\"UMSQ\"),c=n(\"ppGB\"),u=n(\"HYAF\"),s=n(\"iqWW\"),l=n(\"FMNM\"),f=Math.max,d=Math.min,h=Math.floor,p=/\\$([$&'`]|\\d\\d?|<[^>]*>)/g,v=/\\$([$&'`]|\\d\\d?)/g,g=function(e){return void 0===e?e:String(e)};r(\"replace\",2,(function(e,t,n,r){var m=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=r.REPLACE_KEEPS_$0,b=m?\"$\":\"$0\";return[function(n,r){var o=u(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!m&&y||\"string\"===typeof r&&-1===r.indexOf(b)){var i=n(t,e,this,r);if(i.done)return i.value}var u=o(e),h=String(this),p=\"function\"===typeof r;p||(r=String(r));var v=u.global;if(v){var w=u.unicode;u.lastIndex=0}var O=[];while(1){var E=l(u,h);if(null===E)break;if(O.push(E),!v)break;var S=String(E[0]);\"\"===S&&(u.lastIndex=s(h,a(u.lastIndex),w))}for(var j=\"\",k=0,_=0;_<O.length;_++){E=O[_];for(var C=String(E[0]),M=f(d(c(E.index),h.length),0),A=[],N=1;N<E.length;N++)A.push(g(E[N]));var T=E.groups;if(p){var I=[C].concat(A,M,h);void 0!==T&&I.push(T);var P=String(r.apply(void 0,I))}else P=x(C,h,M,A,T,r);M>=k&&(j+=h.slice(k,M)+P,k=M+C.length)}return j+h.slice(k)}];function x(e,n,r,o,a,c){var u=r+e.length,s=o.length,l=v;return void 0!==a&&(a=i(a),l=p),t.call(c,l,(function(t,i){var c;switch(i.charAt(0)){case\"$\":return\"$\";case\"&\":return e;case\"`\":return n.slice(0,r);case\"'\":return n.slice(u);case\"<\":c=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return t;if(l>s){var f=h(l/10);return 0===f?t:f<=s?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}c=o[l-1]}return void 0===c?\"\":c}))}}))},Uydy:function(e,t,n){var r=n(\"I+eb\"),o=n(\"HsHA\"),i=Math.acosh,a=Math.log,c=Math.sqrt,u=Math.LN2,s=!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0;r({target:\"Math\",stat:!0,forced:s},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?a(e)+u:o(e-1+c(e-1)*c(e+1))}})},UzNg:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"ntOU\"),i=n(\"HYAF\"),a=n(\"afO8\"),c=n(\"ZUd8\"),u=c.codeAt,s=c.charAt,l=\"String Iterator\",f=a.set,d=a.getterFor(l),h=o((function(e){f(this,{type:l,string:e,index:0})}),\"String\",(function(){var e,t=d(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=s(n,r),t.index+=e.length,{value:{codePoint:u(e,0),position:r},done:!1})}));r({target:\"String\",proto:!0},{codePoints:function(){return new h(String(i(this)))}})},V6Kr:function(e,t,n){\"use strict\";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var i=o(n(\"R0SI\")),a=o(n(\"XC7/\")),c=o(n(\"phjb\")),u=n(\"eQiA\"),s=o(n(\"eLGL\")),l=o(n(\"Cjym\")),f=o(n(\"wyML\")),d=o(n(\"Cdrh\")),h=o(n(\"eSf/\")),p=o(n(\"6O4b\")),v=o(n(\"dDrT\")),g=n(\"OXnU\"),m=function(e,t){var n=t&&t.debugTiming?u.time:u.notime;n(\"layout\",(function(){t&&!t.keepNodeOrder&&t.prevGraph&&n(\"  inheritOrder\",(function(){b(e,t.prevGraph)}));var r=n(\"  buildLayoutGraph\",(function(){return M(e)}));t&&!1===t.edgeLabelSpace||n(\"  makeSpaceForEdgeLabels\",(function(){A(r)}));try{n(\"  runLayout\",(function(){y(r,n,t)}))}catch(o){if(\"Not possible to find intersection inside of the rectangle\"===o.message)return void console.error(\"The following error may be caused by improper layer setting, please make sure your manual layer setting does not violate the graph's structure:\\n\",o);throw o}n(\"  updateInputGraph\",(function(){x(e,r)}))}))},y=function(e,t,n){t(\"    removeSelfEdges\",(function(){B(e)})),t(\"    acyclic\",(function(){i.default.run(e)})),t(\"    nestingGraph.run\",(function(){l.default.run(e)})),t(\"    rank\",(function(){(0,c.default)((0,u.asNonCompoundGraph)(e))})),t(\"    injectEdgeLabelProxies\",(function(){N(e)})),t(\"    removeEmptyRanks\",(function(){(0,u.removeEmptyRanks)(e)})),t(\"    nestingGraph.cleanup\",(function(){l.default.cleanup(e)})),t(\"    normalizeRanks\",(function(){(0,u.normalizeRanks)(e)})),t(\"    assignRankMinMax\",(function(){T(e)})),t(\"    removeEdgeLabelProxies\",(function(){I(e)})),t(\"    normalize.run\",(function(){a.default.run(e)})),t(\"    parentDummyChains\",(function(){(0,s.default)(e)})),t(\"    addBorderSegments\",(function(){(0,f.default)(e)})),n&&n.keepNodeOrder&&t(\"    initDataOrder\",(function(){(0,v.default)(e,n.nodeOrder)})),t(\"    order\",(function(){(0,h.default)(e)})),t(\"    insertSelfEdges\",(function(){z(e)})),t(\"    adjustCoordinateSystem\",(function(){d.default.adjust(e)})),t(\"    position\",(function(){(0,p.default)(e)})),t(\"    positionSelfEdges\",(function(){U(e)})),t(\"    removeBorderNodes\",(function(){F(e)})),t(\"    normalize.undo\",(function(){a.default.undo(e)})),t(\"    fixupEdgeLabelCoords\",(function(){D(e)})),t(\"    undoCoordinateSystem\",(function(){d.default.undo(e)})),t(\"    translateGraph\",(function(){P(e)})),t(\"    assignNodeIntersects\",(function(){L(e)})),t(\"    reversePoints\",(function(){R(e)})),t(\"    acyclic.undo\",(function(){i.default.undo(e)}))},b=function(e,t){e.nodes().forEach((function(n){var r=e.node(n),o=t.node(n);void 0!==o?(r.fixorder=o._order,delete o._order):delete r.fixorder}))},x=function(e,t){e.nodes().forEach((function(n){var r,o=e.node(n);if(o){var i=t.node(n);o.x=i.x,o.y=i.y,o._order=i.order,o._rank=i.rank,(null===(r=t.children(n))||void 0===r?void 0:r.length)&&(o.width=i.width,o.height=i.height)}})),e.edges().forEach((function(n){var r=e.edge(n),o=t.edge(n);r.points=o?o.points:[],o&&o.hasOwnProperty(\"x\")&&(r.x=o.x,r.y=o.y)})),e.graph().width=t.graph().width,e.graph().height=t.graph().height},w=[\"nodesep\",\"edgesep\",\"ranksep\",\"marginx\",\"marginy\"],O={ranksep:50,edgesep:20,nodesep:50,rankdir:\"tb\"},E=[\"acyclicer\",\"ranker\",\"rankdir\",\"align\"],S=[\"width\",\"height\",\"layer\",\"fixorder\"],j={width:0,height:0},k=[\"minlen\",\"weight\",\"width\",\"height\",\"labeloffset\"],_={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:\"r\"},C=[\"labelpos\"],M=function(e){var t=new g.Graph({multigraph:!0,compound:!0}),n=V(e.graph()),o={};return null===E||void 0===E||E.forEach((function(e){void 0!==n[e]&&(o[e]=n[e])})),t.setGraph(Object.assign({},O,G(n,w),o)),e.nodes().forEach((function(n){var o=V(e.node(n)),i=r(r({},j),o),a=G(i,S);t.setNode(n,a),t.setParent(n,e.parent(n))})),e.edges().forEach((function(n){var r=V(e.edge(n)),o={};null===C||void 0===C||C.forEach((function(e){void 0!==r[e]&&(o[e]=r[e])})),t.setEdgeObj(n,Object.assign({},_,G(r,k),o))})),t},A=function(e){var t=e.graph();t.ranksep||(t.ranksep=0),t.ranksep/=2,e.nodes().forEach((function(t){var n=e.node(t);isNaN(n.layer)||n.layer||(n.layer=0)})),e.edges().forEach((function(n){var r,o=e.edge(n);o.minlen*=2,\"c\"!==(null===(r=o.labelpos)||void 0===r?void 0:r.toLowerCase())&&(\"TB\"===t.rankdir||\"BT\"===t.rankdir?o.width+=o.labeloffset:o.height+=o.labeloffset)}))},N=function(e){e.edges().forEach((function(t){var n=e.edge(t);if(n.width&&n.height){var r=e.node(t.v),o=e.node(t.w),i={e:t,rank:(o.rank-r.rank)/2+r.rank};(0,u.addDummyNode)(e,\"edge-proxy\",i,\"_ep\")}}))},T=function(e){var t=0;e.nodes().forEach((function(n){var r,o,i=e.node(n);i.borderTop&&(i.minRank=null===(r=e.node(i.borderTop))||void 0===r?void 0:r.rank,i.maxRank=null===(o=e.node(i.borderBottom))||void 0===o?void 0:o.rank,t=Math.max(t,i.maxRank||-1/0))})),e.graph().maxRank=t},I=function(e){e.nodes().forEach((function(t){var n=e.node(t);\"edge-proxy\"===n.dummy&&(e.edge(n.e).labelRank=n.rank,e.removeNode(t))}))},P=function(e){var t,n,r=0,o=0,i=e.graph(),a=i.marginx||0,c=i.marginy||0,u=function(e){if(e){var i=e.x,a=e.y,c=e.width,u=e.height;isNaN(i)||isNaN(c)||(void 0===t&&(t=i-c/2),t=Math.min(t,i-c/2),r=Math.max(r,i+c/2)),isNaN(a)||isNaN(u)||(void 0===n&&(n=a-u/2),n=Math.min(n,a-u/2),o=Math.max(o,a+u/2))}};e.nodes().forEach((function(t){u(e.node(t))})),e.edges().forEach((function(t){var n=e.edge(t);(null===n||void 0===n?void 0:n.hasOwnProperty(\"x\"))&&u(n)})),t-=a,n-=c,e.nodes().forEach((function(r){var o=e.node(r);o&&(o.x-=t,o.y-=n)})),e.edges().forEach((function(r){var o,i=e.edge(r);null===(o=i.points)||void 0===o||o.forEach((function(e){e.x-=t,e.y-=n})),i.hasOwnProperty(\"x\")&&(i.x-=t),i.hasOwnProperty(\"y\")&&(i.y-=n)})),i.width=r-t+a,i.height=o-n+c},L=function(e){e.edges().forEach((function(t){var n,r,o=e.edge(t),i=e.node(t.v),a=e.node(t.w);o.points?(n=o.points[0],r=o.points[o.points.length-1]):(o.points=[],n=a,r=i),o.points.unshift((0,u.intersectRect)(i,n)),o.points.push((0,u.intersectRect)(a,r))}))},D=function(e){e.edges().forEach((function(t){var n=e.edge(t);if(null===n||void 0===n?void 0:n.hasOwnProperty(\"x\"))switch(\"l\"!==n.labelpos&&\"r\"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case\"l\":n.x-=n.width/2+n.labeloffset;break;case\"r\":n.x+=n.width/2+n.labeloffset;break}}))},R=function(e){e.edges().forEach((function(t){var n,r=e.edge(t);r.reversed&&(null===(n=r.points)||void 0===n||n.reverse())}))},F=function(e){e.nodes().forEach((function(t){var n,r,o;if(null===(n=e.children(t))||void 0===n?void 0:n.length){var i=e.node(t),a=e.node(i.borderTop),c=e.node(i.borderBottom),u=e.node(i.borderLeft[(null===(r=i.borderLeft)||void 0===r?void 0:r.length)-1]),s=e.node(i.borderRight[(null===(o=i.borderRight)||void 0===o?void 0:o.length)-1]);i.width=Math.abs((null===s||void 0===s?void 0:s.x)-(null===u||void 0===u?void 0:u.x))||10,i.height=Math.abs((null===c||void 0===c?void 0:c.y)-(null===a||void 0===a?void 0:a.y))||10,i.x=((null===u||void 0===u?void 0:u.x)||0)+i.width/2,i.y=((null===a||void 0===a?void 0:a.y)||0)+i.height/2}})),e.nodes().forEach((function(t){var n;\"border\"===(null===(n=e.node(t))||void 0===n?void 0:n.dummy)&&e.removeNode(t)}))},B=function(e){e.edges().forEach((function(t){if(t.v===t.w){var n=e.node(t.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:t,label:e.edge(t)}),e.removeEdgeObj(t)}}))},z=function(e){var t=(0,u.buildLayerMatrix)(e);null===t||void 0===t||t.forEach((function(t){var n=0;null===t||void 0===t||t.forEach((function(t,r){var o,i=e.node(t);i.order=r+n,null===(o=i.selfEdges)||void 0===o||o.forEach((function(t){(0,u.addDummyNode)(e,\"selfedge\",{width:t.label.width,height:t.label.height,rank:i.rank,order:r+ ++n,e:t.e,label:t.label},\"_se\")})),delete i.selfEdges}))}))},U=function(e){e.nodes().forEach((function(t){var n=e.node(t);if(\"selfedge\"===n.dummy){var r=e.node(n.e.v),o=r.x+r.width/2,i=r.y,a=n.x-o,c=r.height/2;e.setEdgeObj(n.e,n.label),e.removeNode(t),n.label.points=[{x:o+2*a/3,y:i-c},{x:o+5*a/6,y:i-c},{y:i,x:o+a},{x:o+5*a/6,y:i+c},{x:o+2*a/3,y:i+c}],n.label.x=n.x,n.label.y=n.y}}))},G=function(e,t){var n={};return null===t||void 0===t||t.forEach((function(t){void 0!==e[t]&&(n[t]=+e[t])})),n},V=function(e){void 0===e&&(e={});var t={};return Object.keys(e).forEach((function(n){t[n.toLowerCase()]=e[n]})),t};t.default=m},V6Ve:function(e,t,n){var r=n(\"kekF\"),o=r(Object.keys,Object);e.exports=o},V93i:function(e,t,n){\"use strict\";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return\"%\".concat(e.charCodeAt(0).toString(16).toUpperCase())}))}},VAEr:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=800,o=function(){function e(e){this.disp=[],this.positions=e.positions,this.adjMatrix=e.adjMatrix,this.focusID=e.focusID,this.radii=e.radii,this.iterations=e.iterations||10,this.height=e.height||10,this.width=e.width||10,this.speed=e.speed||100,this.gravity=e.gravity||10,this.nodeSizeFunc=e.nodeSizeFunc,this.k=e.k||5,this.strictRadial=e.strictRadial,this.nodes=e.nodes}return e.prototype.layout=function(){var e=this,t=e.positions,n=[],r=e.iterations,o=e.width/10;e.maxDisplace=o,e.disp=n;for(var i=0;i<r;i++)t.forEach((function(e,t){n[t]={x:0,y:0}})),e.getRepulsion(),e.updatePositions();return t},e.prototype.getRepulsion=function(){var e=this,t=e.positions,n=e.nodes,r=e.disp,o=e.k,i=e.radii||[];t.forEach((function(a,c){r[c]={x:0,y:0},t.forEach((function(t,u){if(c!==u&&i[c]===i[u]){var s=a[0]-t[0],l=a[1]-t[1],f=Math.sqrt(s*s+l*l);if(0===f){f=1;var d=c>u?1:-1;s=.01*d,l=.01*d}if(f<e.nodeSizeFunc(n[c])/2+e.nodeSizeFunc(n[u])/2){var h=o*o/f;r[c].x+=s/f*h,r[c].y+=l/f*h}}}))}))},e.prototype.updatePositions=function(){var e=this,t=e.positions,n=e.disp,o=e.speed,i=e.strictRadial,a=e.focusID,c=e.maxDisplace||e.width/10;i&&n.forEach((function(e,n){var r=t[n][0]-t[a][0],o=t[n][1]-t[a][1],i=Math.sqrt(r*r+o*o),c=o/i,u=-r/i,s=Math.sqrt(e.x*e.x+e.y*e.y),l=Math.acos((c*e.x+u*e.y)/s);l>Math.PI/2&&(l-=Math.PI/2,c*=-1,u*=-1);var f=Math.cos(l)*s;e.x=c*f,e.y=u*f}));var u=e.radii;t.forEach((function(e,s){if(s!==a){var l=Math.sqrt(n[s].x*n[s].x+n[s].y*n[s].y);if(l>0&&s!==a){var f=Math.min(c*(o/r),l);if(e[0]+=n[s].x/l*f,e[1]+=n[s].y/l*f,i){var d=e[0]-t[a][0],h=e[1]-t[a][1],p=Math.sqrt(d*d+h*h);d=d/p*u[s],h=h/p*u[s],e[0]=t[a][0]+d,e[1]=t[a][1]+h}}}}))},e}();t.default=o},VAJa:function(e,t,n){\"use strict\";var r=n(\"AM7I\"),o=n(\"VF6F\"),i=n(\"JxQ3\"),a=r(\"%TypeError%\"),c=r(\"%WeakMap%\",!0),u=r(\"%Map%\",!0),s=o(\"WeakMap.prototype.get\",!0),l=o(\"WeakMap.prototype.set\",!0),f=o(\"WeakMap.prototype.has\",!0),d=o(\"Map.prototype.get\",!0),h=o(\"Map.prototype.set\",!0),p=o(\"Map.prototype.has\",!0),v=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},g=function(e,t){var n=v(e,t);return n&&n.value},m=function(e,t,n){var r=v(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},y=function(e,t){return!!v(e,t)};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a(\"Side channel does not contain \"+i(e))},get:function(r){if(c&&r&&(\"object\"===typeof r||\"function\"===typeof r)){if(e)return s(e,r)}else if(u){if(t)return d(t,r)}else if(n)return g(n,r)},has:function(r){if(c&&r&&(\"object\"===typeof r||\"function\"===typeof r)){if(e)return f(e,r)}else if(u){if(t)return p(t,r)}else if(n)return y(n,r);return!1},set:function(r,o){c&&r&&(\"object\"===typeof r||\"function\"===typeof r)?(e||(e=new c),l(e,r,o)):u?(t||(t=new u),h(t,r,o)):(n||(n={key:{},next:null}),m(n,r,o))}};return r}},VF6F:function(e,t,n){\"use strict\";var r=n(\"AM7I\"),o=n(\"PrET\"),i=o(r(\"String.prototype.indexOf\"));e.exports=function(e,t){var n=r(e,!!t);return\"function\"===typeof n&&i(e,\".prototype.\")>-1?o(n):n}},VOz1:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"glrk\"),a=n(\"HAuM\"),c=n(\"Sssf\"),u=n(\"ImZN\");r({target:\"Map\",proto:!0,real:!0,forced:o},{reduce:function(e){var t=i(this),n=c(t),r=arguments.length<2,o=r?void 0:arguments[1];if(a(e),u(n,(function(n,i){r?(r=!1,o=i):o=e(o,i,n,t)}),void 0,!0,!0),r)throw TypeError(\"Reduce of empty map with no initial value\");return o}})},VTBJ:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(\"rePB\");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(r[\"a\"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},VaNO:function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},Vnov:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"glrk\"),a=n(\"Sssf\"),c=n(\"ImZN\");r({target:\"Map\",proto:!0,real:!0,forced:o},{keyOf:function(e){return c(a(i(this)),(function(t,n){if(n===e)return c.stop(t)}),void 0,!0,!0).result}})},VpIT:function(e,t,n){var r=n(\"xDBR\"),o=n(\"xs3f\");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})(\"versions\",[]).push({version:\"3.6.5\",mode:r?\"pure\":\"global\",copyright:\"\\xa9 2020 Denis Pushkarev (zloirock.ru)\"})},Vu81:function(e,t,n){var r=n(\"0GbY\"),o=n(\"JBy8\"),i=n(\"dBg+\"),a=n(\"glrk\");e.exports=r(\"Reflect\",\"ownKeys\")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},\"W/eh\":function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"g6v/\"),i=n(\"6x0u\"),a=n(\"ewvW\"),c=n(\"wE6v\"),u=n(\"4WOD\"),s=n(\"Bs8V\").f;o&&r({target:\"Object\",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),r=c(e,!0);do{if(t=s(n,r))return t.set}while(n=u(n))}})},W8MJ:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,\"prototype\",{writable:!1}),e}e.exports=r,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},W8mN:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.Base=void 0;var r=function(){function e(){this.nodes=[],this.edges=[],this.combos=[],this.comboEdges=[],this.hiddenNodes=[],this.hiddenEdges=[],this.hiddenCombos=[],this.vedges=[],this.positions=[],this.destroyed=!1,this.onLayoutEnd=function(){}}return e.prototype.layout=function(e){return this.init(e),this.execute(!0)},e.prototype.init=function(e){this.nodes=e.nodes||[],this.edges=e.edges||[],this.combos=e.combos||[],this.comboEdges=e.comboEdges||[],this.hiddenNodes=e.hiddenNodes||[],this.hiddenEdges=e.hiddenEdges||[],this.hiddenCombos=e.hiddenCombos||[],this.vedges=e.vedges||[]},e.prototype.execute=function(e){},e.prototype.executeWithWorker=function(){},e.prototype.getDefaultCfg=function(){return{}},e.prototype.updateCfg=function(e){e&&Object.assign(this,e)},e.prototype.getType=function(){return\"base\"},e.prototype.destroy=function(){this.nodes=null,this.edges=null,this.combos=null,this.positions=null,this.destroyed=!0},e}();t.Base=r},WFqU:function(e,t,n){(function(t){var n=\"object\"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(\"IyRk\"))},WGBp:function(e,t,n){var r=n(\"xDBR\"),o=n(\"mh/w\");e.exports=r?o:function(e){return Set.prototype.values.call(e)}},WJkJ:function(e,t){e.exports=\"\\t\\n\\v\\f\\r \\xa0\\u1680\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u2028\\u2029\\ufeff\"},WKiH:function(e,t,n){var r=n(\"HYAF\"),o=n(\"WJkJ\"),i=\"[\"+o+\"]\",a=RegExp(\"^\"+i+i+\"*\"),c=RegExp(i+i+\"*$\"),u=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(a,\"\")),2&e&&(n=n.replace(c,\"\")),n}};e.exports={start:u(1),end:u(2),trim:u(3)}},WPzJ:function(e,t,n){var r=n(\"I+eb\"),o=n(\"voyM\");r({target:\"Math\",stat:!0},{scale:o})},WYAk:function(e,t,n){(function(t,r){e.exports=r(n(\"Ib8C\"))})(0,(function(e){(function(){var t=e,n=t.lib,r=n.Base,o=t.enc,i=o.Utf8,a=t.algo;a.HMAC=r.extend({init:function(e,t){e=this._hasher=new e.init,\"string\"==typeof t&&(t=i.parse(t));var n=e.blockSize,r=4*n;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),a=this._iKey=t.clone(),c=o.words,u=a.words,s=0;s<n;s++)c[s]^=1549556828,u[s]^=909522486;o.sigBytes=a.sigBytes=r,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);t.reset();var r=t.finalize(this._oKey.clone().concat(n));return r}})})()}))},WbBG:function(e,t,n){\"use strict\";var r=\"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\";e.exports=r},WjD0:function(e,t){e.exports=\"object\"==typeof self?self.FormData:window.FormData},WjRb:function(e,t,n){var r=n(\"ROdP\");e.exports=function(e){if(r(e))throw TypeError(\"The method doesn't accept regular expressions\");return e}},WkPL:function(e,t){function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports=n,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},X7LM:function(e,t,n){\"use strict\";var r=2147483647,o=36,i=1,a=26,c=38,u=700,s=72,l=128,f=\"-\",d=/[^\\0-\\u007E]/,h=/[.\\u3002\\uFF0E\\uFF61]/g,p=\"Overflow: input needs wider integers to process\",v=o-i,g=Math.floor,m=String.fromCharCode,y=function(e){var t=[],n=0,r=e.length;while(n<r){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t},b=function(e){return e+22+75*(e<26)},x=function(e,t,n){var r=0;for(e=n?g(e/u):e>>1,e+=g(e/t);e>v*a>>1;r+=o)e=g(e/v);return g(r+(v+1)*e/(e+c))},w=function(e){var t=[];e=y(e);var n,c,u=e.length,d=l,h=0,v=s;for(n=0;n<e.length;n++)c=e[n],c<128&&t.push(m(c));var w=t.length,O=w;w&&t.push(f);while(O<u){var E=r;for(n=0;n<e.length;n++)c=e[n],c>=d&&c<E&&(E=c);var S=O+1;if(E-d>g((r-h)/S))throw RangeError(p);for(h+=(E-d)*S,d=E,n=0;n<e.length;n++){if(c=e[n],c<d&&++h>r)throw RangeError(p);if(c==d){for(var j=h,k=o;;k+=o){var _=k<=v?i:k>=v+a?a:k-v;if(j<_)break;var C=j-_,M=o-_;t.push(m(b(_+C%M))),j=g(C/M)}t.push(m(b(j))),v=x(h,S,O==w),h=0,++O}}++h,++d}return t.join(\"\")};e.exports=function(e){var t,n,r=[],o=e.toLowerCase().replace(h,\".\").split(\".\");for(t=0;t<o.length;t++)n=o[t],r.push(d.test(n)?\"xn--\"+w(n):n);return r.join(\".\")}},\"XC7/\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(\"eQiA\"),o=function(e){e.graph().dummyChains=[],e.edges().forEach((function(t){return i(e,t)}))},i=function(e,t){var n=t.v,o=e.node(n).rank,i=t.w,a=e.node(i).rank,c=t.name,u=e.edge(t),s=u.labelRank;if(a!==o+1){e.removeEdgeObj(t);var l,f,d,h=e.graph();for(d=0,++o;o<a;++d,++o)u.points=[],f={edgeLabel:u,width:0,height:0,edgeObj:t,rank:o},l=(0,r.addDummyNode)(e,\"edge\",f,\"_d\"),o===s&&(f.width=u.width,f.height=u.height,f.dummy=\"edge-label\",f.labelpos=u.labelpos),e.setEdge(n,l,{weight:u.weight},c),0===d&&(h.dummyChains||(h.dummyChains=[]),h.dummyChains.push(l)),n=l;e.setEdge(n,i,{weight:u.weight},c)}},a=function(e){var t;null===(t=e.graph().dummyChains)||void 0===t||t.forEach((function(t){var n,r=e.node(t),o=r.edgeLabel;r.edgeObj&&e.setEdgeObj(r.edgeObj,o);var i=t;while(r.dummy)n=e.successors(i)[0],e.removeNode(i),o.points.push({x:r.x,y:r.y}),\"edge-label\"===r.dummy&&(o.x=r.x,o.y=r.y,o.width=r.width,o.height=r.height),i=n,r=e.node(i)}))};t.default={run:o,undo:a}},XGwC:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},XLAz:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=t.LinkedListNode=void 0;var r=function(e,t){return e===t},o=function(){function e(e,t){void 0===t&&(t=null),this.value=e,this.next=t}return e.prototype.toString=function(e){return e?e(this.value):\"\".concat(this.value)},e}();t.LinkedListNode=o;var i=function(){function e(e){void 0===e&&(e=r),this.head=null,this.tail=null,this.compare=e}return e.prototype.prepend=function(e){var t=new o(e,this.head);return this.head=t,this.tail||(this.tail=t),this},e.prototype.append=function(e){var t=new o(e);return this.head?(this.tail.next=t,this.tail=t,this):(this.head=t,this.tail=t,this)},e.prototype.delete=function(e){if(!this.head)return null;var t=null;while(this.head&&this.compare(this.head.value,e))t=this.head,this.head=this.head.next;var n=this.head;if(null!==n)while(n.next)this.compare(n.next.value,e)?(t=n.next,n.next=n.next.next):n=n.next;return this.compare(this.tail.value,e)&&(this.tail=n),t},e.prototype.find=function(e){var t=e.value,n=void 0===t?void 0:t,r=e.callback,o=void 0===r?void 0:r;if(!this.head)return null;var i=this.head;while(i){if(o&&o(i.value))return i;if(void 0!==n&&this.compare(i.value,n))return i;i=i.next}return null},e.prototype.deleteTail=function(){var e=this.tail;if(this.head===this.tail)return this.head=null,this.tail=null,e;var t=this.head;while(t.next)t.next.next?t=t.next:t.next=null;return this.tail=t,e},e.prototype.deleteHead=function(){if(!this.head)return null;var e=this.head;return this.head.next?this.head=this.head.next:(this.head=null,this.tail=null),e},e.prototype.fromArray=function(e){var t=this;return e.forEach((function(e){return t.append(e)})),this},e.prototype.toArray=function(){var e=[],t=this.head;while(t)e.push(t),t=t.next;return e},e.prototype.reverse=function(){var e=this.head,t=null,n=null;while(e)n=e.next,e.next=t,t=e,e=n;this.tail=this.head,this.head=t},e.prototype.toString=function(e){return void 0===e&&(e=void 0),this.toArray().map((function(t){return t.toString(e)})).toString()},e}(),a=i;t.default=a},XMab:function(e,t,n){var r=n(\"dOgj\");r(\"Uint8\",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},\"XW+9\":function(e,t,n){\"use strict\";var r;Object.defineProperty(t,\"__esModule\",{value:!0}),t.DistanceType=void 0,t.DistanceType=r,function(e){e[\"EuclideanDistance\"]=\"euclideanDistance\"}(r||(t.DistanceType=r={}))},XWE6:function(e,t){function n(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}e.exports=n,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},XbcX:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"or9q\"),i=n(\"ewvW\"),a=n(\"UMSQ\"),c=n(\"HAuM\"),u=n(\"ZfDv\");r({target:\"Array\",proto:!0},{flatMap:function(e){var t,n=i(this),r=a(n.length);return c(e),t=u(n,0),t.length=o(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},XfOM:function(e,t,n){},Xi7e:function(e,t,n){var r=n(\"KMkd\"),o=n(\"adU4\"),i=n(\"tMB7\"),a=n(\"+6XX\"),c=n(\"Z8oC\");function u(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype[\"delete\"]=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,e.exports=u},XzOe:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(\"eQiA\"),o=function(e,t,n){var o=(0,r.zipObject)(n,n.map((function(e,t){return t}))),i=t.map((function(t){var n,r=null===(n=e.outEdges(t))||void 0===n?void 0:n.map((function(t){return{pos:o[t.w]||0,weight:e.edge(t).weight}}));return null===r||void 0===r?void 0:r.sort((function(e,t){return e.pos-t.pos}))})),a=i.flat().filter((function(e){return void 0!==e})),c=1;while(c<n.length)c<<=1;var u=2*c-1;c-=1;var s=Array(u).fill(0,0,u),l=0;return null===a||void 0===a||a.forEach((function(e){if(e){var t=e.pos+c;s[t]+=e.weight;var n=0;while(t>0)t%2&&(n+=s[t+1]),t=t-1>>1,s[t]+=e.weight;l+=e.weight*n}})),l},i=function(e,t){for(var n=0,r=1;r<(null===t||void 0===t?void 0:t.length);r+=1)n+=o(e,t[r-1],t[r]);return n};t.default=i},\"Y+p1\":function(e,t,n){var r=n(\"wF/u\");function o(e,t){return r(e,t)}e.exports=o},Y0u0:function(e,t,n){\"use strict\";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!(\"get\"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)\"default\"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,\"__esModule\",{value:!0}),o(n(\"cRxj\"),t)},Y4C7:function(e,t,n){var r=n(\"I+eb\"),o=n(\"eDxR\"),i=n(\"glrk\"),a=o.toKey,c=o.getMap,u=o.store;r({target:\"Reflect\",stat:!0},{deleteMetadata:function(e,t){var n=arguments.length<3?void 0:a(arguments[2]),r=c(i(t),n,!1);if(void 0===r||!r[\"delete\"](e))return!1;if(r.size)return!0;var o=u.get(t);return o[\"delete\"](n),!!o.size||u[\"delete\"](t)}})},YBTB:function(e,t,n){},YESw:function(e,t,n){var r=n(\"Cwc5\"),o=r(Object,\"create\");e.exports=o},YGK4:function(e,t,n){\"use strict\";var r=n(\"bWFh\"),o=n(\"ZWaQ\");e.exports=r(\"Set\",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},YJ9l:function(e,t,n){\"use strict\";var r=n(\"5wUe\")[\"default\"],o=n(\"bfL6\")[\"default\"],i=n(\"R5yR\")[\"default\"],a=n(\"V93i\"),c=n(\"8jRI\"),u=n(\"8yz6\"),s=n(\"c0go\"),l=function(e){return null===e||void 0===e};function f(e){switch(e.arrayFormat){case\"index\":return function(t){return function(n,r){var o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&\"\"===r?n:[].concat(i(n),null===r?[[p(t,e),\"[\",o,\"]\"].join(\"\")]:[[p(t,e),\"[\",p(o,e),\"]=\",p(r,e)].join(\"\")])}};case\"bracket\":return function(t){return function(n,r){return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&\"\"===r?n:[].concat(i(n),null===r?[[p(t,e),\"[]\"].join(\"\")]:[[p(t,e),\"[]=\",p(r,e)].join(\"\")])}};case\"comma\":case\"separator\":return function(t){return function(n,r){return null===r||void 0===r||0===r.length?n:0===n.length?[[p(t,e),\"=\",p(r,e)].join(\"\")]:[[n,p(r,e)].join(e.arrayFormatSeparator)]}};default:return function(t){return function(n,r){return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&\"\"===r?n:[].concat(i(n),null===r?[p(t,e)]:[[p(t,e),\"=\",p(r,e)].join(\"\")])}}}}function d(e){var t;switch(e.arrayFormat){case\"index\":return function(e,n,r){t=/\\[(\\d*)\\]$/.exec(e),e=e.replace(/\\[\\d*\\]$/,\"\"),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case\"bracket\":return function(e,n,r){t=/(\\[\\])$/.exec(e),e=e.replace(/\\[\\]$/,\"\"),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case\"comma\":case\"separator\":return function(t,n,r){var o=\"string\"===typeof n&&n.includes(e.arrayFormatSeparator),i=\"string\"===typeof n&&!o&&v(n,e).includes(e.arrayFormatSeparator);n=i?v(n,e):n;var a=o||i?n.split(e.arrayFormatSeparator).map((function(t){return v(t,e)})):null===n?n:v(n,e);r[t]=a};default:return function(e,t,n){void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}function h(e){if(\"string\"!==typeof e||1!==e.length)throw new TypeError(\"arrayFormatSeparator must be single character string\")}function p(e,t){return t.encode?t.strict?a(e):encodeURIComponent(e):e}function v(e,t){return t.decode?c(e):e}function g(e){return Array.isArray(e)?e.sort():\"object\"===typeof e?g(Object.keys(e)).sort((function(e,t){return Number(e)-Number(t)})).map((function(t){return e[t]})):e}function m(e){var t=e.indexOf(\"#\");return-1!==t&&(e=e.slice(0,t)),e}function y(e){var t=\"\",n=e.indexOf(\"#\");return-1!==n&&(t=e.slice(n)),t}function b(e){e=m(e);var t=e.indexOf(\"?\");return-1===t?\"\":e.slice(t+1)}function x(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&\"string\"===typeof e&&\"\"!==e.trim()?e=Number(e):!t.parseBooleans||null===e||\"true\"!==e.toLowerCase()&&\"false\"!==e.toLowerCase()||(e=\"true\"===e.toLowerCase()),e}function w(e,t){t=Object.assign({decode:!0,sort:!0,arrayFormat:\"none\",arrayFormatSeparator:\",\",parseNumbers:!1,parseBooleans:!1},t),h(t.arrayFormatSeparator);var n=d(t),i=Object.create(null);if(\"string\"!==typeof e)return i;if(e=e.trim().replace(/^[?#&]/,\"\"),!e)return i;var a,c=o(e.split(\"&\"));try{for(c.s();!(a=c.n()).done;){var s=a.value;if(\"\"!==s){var l=u(t.decode?s.replace(/\\+/g,\" \"):s,\"=\"),f=r(l,2),p=f[0],m=f[1];m=void 0===m?null:[\"comma\",\"separator\"].includes(t.arrayFormat)?m:v(m,t),n(v(p,t),m,i)}}}catch(k){c.e(k)}finally{c.f()}for(var y=0,b=Object.keys(i);y<b.length;y++){var w=b[y],O=i[w];if(\"object\"===typeof O&&null!==O)for(var E=0,S=Object.keys(O);E<S.length;E++){var j=S[E];O[j]=x(O[j],t)}else i[w]=x(O,t)}return!1===t.sort?i:(!0===t.sort?Object.keys(i).sort():Object.keys(i).sort(t.sort)).reduce((function(e,t){var n=i[t];return Boolean(n)&&\"object\"===typeof n&&!Array.isArray(n)?e[t]=g(n):e[t]=n,e}),Object.create(null))}t.extract=b,t.parse=w,t.stringify=function(e,t){if(!e)return\"\";t=Object.assign({encode:!0,strict:!0,arrayFormat:\"none\",arrayFormatSeparator:\",\"},t),h(t.arrayFormatSeparator);for(var n=function(n){return t.skipNull&&l(e[n])||t.skipEmptyString&&\"\"===e[n]},r=f(t),o={},i=0,a=Object.keys(e);i<a.length;i++){var c=a[i];n(c)||(o[c]=e[c])}var u=Object.keys(o);return!1!==t.sort&&u.sort(t.sort),u.map((function(n){var o=e[n];return void 0===o?\"\":null===o?p(n,t):Array.isArray(o)?o.reduce(r(n),[]).join(\"&\"):p(n,t)+\"=\"+p(o,t)})).filter((function(e){return e.length>0})).join(\"&\")},t.parseUrl=function(e,t){t=Object.assign({decode:!0},t);var n=u(e,\"#\"),o=r(n,2),i=o[0],a=o[1];return Object.assign({url:i.split(\"?\")[0]||\"\",query:w(b(e),t)},t&&t.parseFragmentIdentifier&&a?{fragmentIdentifier:v(a,t)}:{})},t.stringifyUrl=function(e,n){n=Object.assign({encode:!0,strict:!0},n);var r=m(e.url).split(\"?\")[0]||\"\",o=t.extract(e.url),i=t.parse(o,{sort:!1}),a=Object.assign(i,e.query),c=t.stringify(a,n);c&&(c=\"?\".concat(c));var u=y(e.url);return e.fragmentIdentifier&&(u=\"#\".concat(p(e.fragmentIdentifier,n))),\"\".concat(r).concat(c).concat(u)},t.pick=function(e,n,r){r=Object.assign({parseFragmentIdentifier:!0},r);var o=t.parseUrl(e,r),i=o.url,a=o.query,c=o.fragmentIdentifier;return t.stringifyUrl({url:i,query:s(a,n),fragmentIdentifier:c},r)},t.exclude=function(e,n,r){var o=Array.isArray(n)?function(e){return!n.includes(e)}:function(e,t){return!n(e,t)};return t.pick(e,o,r)}},YJiH:function(e,t,n){\"use strict\";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!(\"get\"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:!0,value:t})}:function(e,t){e[\"default\"]=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)\"default\"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var u=a(n(\"Ckr6\")),s=c(n(\"fvN/\")),l=c(n(\"y3dy\")),f=n(\"E9Ls\");function d(e,t){var n=e.nodes,o=e.edges,i=t.width,a=t.height;if(!(null===n||void 0===n?void 0:n.length))return Promise.resolve();var c=[];n.forEach((function(e){var t=o.filter((function(t){return t.source===e.id||t.target===e.id}));if(t.length>1){var n=r({},e);delete n.size,c.push(n)}}));var d=[];o.forEach((function(e){var t=c.find((function(t){return t.id===e.source})),n=c.find((function(t){return t.id===e.target}));t&&n&&d.push(e)}));var h=new f.DagreLayout({type:\"dagre\",ranksep:t.nodeMinGap,nodesep:t.nodeMinGap}),p=h.layout({nodes:c,edges:d}).nodes;n.forEach((function(e){var t=(p||[]).find((function(t){return t.id===e.id}));e.x=(null===t||void 0===t?void 0:t.x)||i/2,e.y=(null===t||void 0===t?void 0:t.y)||a/2}));var v=JSON.parse(JSON.stringify(n)),g=JSON.parse(JSON.stringify(o)),m=u.forceSimulation().nodes(v).force(\"link\",u.forceLink(g).id((function(e){return e.id})).distance((function(e){var t=d.find((function(t){return t.source===e.source&&t.target===e.target}));return t?30:20}))).force(\"charge\",u.forceManyBody()).force(\"center\",u.forceCenter(i/2,a/2)).force(\"x\",u.forceX(i/2)).force(\"y\",u.forceY(a/2)).alpha(.3).alphaDecay(.08).alphaMin(.001),y=new Promise((function(e){m.on(\"end\",(function(){n.forEach((function(e){var t=v.find((function(t){return t.id===e.id}));t&&(e.x=t.x,e.y=t.y)}));var r=Math.min.apply(Math,n.map((function(e){return e.x}))),c=Math.max.apply(Math,n.map((function(e){return e.x}))),u=Math.min.apply(Math,n.map((function(e){return e.y}))),f=Math.max.apply(Math,n.map((function(e){return e.y}))),d=i/(c-r),h=a/(f-u);n.forEach((function(e){void 0!==e.x&&d<1&&(e.x=(e.x-r)*d),void 0!==e.y&&h<1&&(e.y=(e.y-u)*h)})),n.forEach((function(e){e.sizeTemp=e.size,e.size=[10,10]})),(0,l.default)(n,o),n.forEach((function(e){e.size=e.sizeTemp||[],delete e.sizeTemp})),(0,s.default)({nodes:n,edges:o},t),e()}))}));return y}t.default=d},YL0P:function(e,t,n){\"use strict\";var r=n(\"2oRo\"),o=n(\"67WC\"),i=n(\"4mDm\"),a=n(\"tiKp\"),c=a(\"iterator\"),u=r.Uint8Array,s=i.values,l=i.keys,f=i.entries,d=o.aTypedArray,h=o.exportTypedArrayMethod,p=u&&u.prototype[c],v=!!p&&(\"values\"==p.name||void 0==p.name),g=function(){return s.call(d(this))};h(\"entries\",(function(){return f.call(d(this))})),h(\"keys\",(function(){return l.call(d(this))})),h(\"values\",g,!v),h(c,g,!v)},YMnH:function(e,t,n){\"use strict\";var r=n(\"wx14\"),o=n(\"q1tI\"),i=n(\"YlG9\"),a=n(\"ZvpZ\"),c=a[\"a\"],u=function(e){var t=e.componentName,n=void 0===t?\"global\":t,a=e.defaultLocale,u=e.children,s=o[\"useContext\"](i[\"a\"]),l=o[\"useMemo\"]((function(){var e,t=a||c[n],o=null!==(e=null===s||void 0===s?void 0:s[n])&&void 0!==e?e:{};return Object(r[\"a\"])(Object(r[\"a\"])({},t instanceof Function?t():t),o||{})}),[n,a,s]),f=o[\"useMemo\"]((function(){var e=s&&s.locale;return s&&s.exist&&!e?c.locale:e}),[s]);return u(l,f,s)};t[\"a\"]=u},YNrV:function(e,t,n){\"use strict\";var r=n(\"g6v/\"),o=n(\"0Dky\"),i=n(\"33Wh\"),a=n(\"dBg+\"),c=n(\"0eef\"),u=n(\"ewvW\"),s=n(\"RK3t\"),l=Object.assign,f=Object.defineProperty;e.exports=!l||o((function(){if(r&&1!==l({b:1},l(f({},\"a\",{enumerable:!0,get:function(){f(this,\"b\",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o=\"abcdefghijklmnopqrst\";return e[n]=7,o.split(\"\").forEach((function(e){t[e]=e})),7!=l({},e)[n]||i(l({},t)).join(\"\")!=o}))?function(e,t){var n=u(e),o=arguments.length,l=1,f=a.f,d=c.f;while(o>l){var h,p=s(arguments[l++]),v=f?i(p).concat(f(p)):i(p),g=v.length,m=0;while(g>m)h=v[m++],r&&!d.call(p,h)||(n[h]=p[h])}return n}:l},YO3V:function(e,t,n){var r=n(\"NykK\"),o=n(\"LcsW\"),i=n(\"ExA7\"),a=\"[object Object]\",c=Function.prototype,u=Object.prototype,s=c.toString,l=u.hasOwnProperty,f=s.call(Object);function d(e){if(!i(e)||r(e)!=a)return!1;var t=o(e);if(null===t)return!0;var n=l.call(t,\"constructor\")&&t.constructor;return\"function\"==typeof n&&n instanceof n&&s.call(n)==f}e.exports=d},YS25:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return I})),n.d(t,\"b\",(function(){return z})),n.d(t,\"d\",(function(){return G})),n.d(t,\"c\",(function(){return w})),n.d(t,\"f\",(function(){return O})),n.d(t,\"e\",(function(){return x}));var r=n(\"wx14\");function o(e){return\"/\"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}function a(e,t){void 0===t&&(t=\"\");var n,r=e&&e.split(\"/\")||[],a=t&&t.split(\"/\")||[],c=e&&o(e),u=t&&o(t),s=c||u;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return\"/\";if(a.length){var l=a[a.length-1];n=\".\"===l||\"..\"===l||\"\"===l}else n=!1;for(var f=0,d=a.length;d>=0;d--){var h=a[d];\".\"===h?i(a,d):\"..\"===h?(i(a,d),f++):f&&(i(a,d),f--)}if(!s)for(;f--;f)a.unshift(\"..\");!s||\"\"===a[0]||a[0]&&o(a[0])||a.unshift(\"\");var p=a.join(\"/\");return n&&\"/\"!==p.substr(-1)&&(p+=\"/\"),p}var c=a;function u(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}function s(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every((function(e,n){return s(e,t[n])}));if(\"object\"===typeof e||\"object\"===typeof t){var n=u(e),r=u(t);return n!==e||r!==t?s(n,r):Object.keys(Object.assign({},e,t)).every((function(n){return s(e[n],t[n])}))}return!1}var l=s,f=n(\"YJ9l\"),d=n.n(f),h=n(\"9R94\");function p(e){return\"/\"===e.charAt(0)?e:\"/\"+e}function v(e){return\"/\"===e.charAt(0)?e.substr(1):e}function g(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!==\"/?#\".indexOf(e.charAt(t.length))}function m(e,t){return g(e,t)?e.substr(t.length):e}function y(e){return\"/\"===e.charAt(e.length-1)?e.slice(0,-1):e}function b(e){var t=e||\"/\",n=\"\",r=\"\",o=t.indexOf(\"#\");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf(\"?\");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:\"?\"===n?\"\":n,hash:\"#\"===r?\"\":r}}function x(e){var t=e.pathname,n=e.search,r=e.hash,o=t||\"/\";return n&&\"?\"!==n&&(o+=\"?\"===n.charAt(0)?n:\"?\"+n),r&&\"#\"!==r&&(o+=\"#\"===r.charAt(0)?r:\"#\"+r),o}function w(e,t,n,o){var i;\"string\"===typeof e?(i=b(e),i.query=i.search?d.a.parse(i.search):{},i.state=t):(i=Object(r[\"a\"])({},e),void 0===i.pathname&&(i.pathname=\"\"),i.search?(\"?\"!==i.search.charAt(0)&&(i.search=\"?\"+i.search),i.query=d.a.parse(i.search)):(i.search=i.query?d.a.stringify(i.query):\"\",i.query=i.query||{}),i.hash?\"#\"!==i.hash.charAt(0)&&(i.hash=\"#\"+i.hash):i.hash=\"\",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(a){throw a instanceof URIError?new URIError('Pathname \"'+i.pathname+'\" could not be decoded. This is likely caused by an invalid percent-encoding.'):a}return n&&(i.key=n),o?i.pathname?\"/\"!==i.pathname.charAt(0)&&(i.pathname=c(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname=\"/\"),i}function O(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&l(e.state,t.state)}function E(){var e=null;function t(t){return e=t,function(){e===t&&(e=null)}}function n(t,n,r,o){if(null!=e){var i=\"function\"===typeof e?e(t,n):e;\"string\"===typeof i?\"function\"===typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)}var r=[];function o(e){var t=!0;function n(){t&&e.apply(void 0,arguments)}return r.push(n),function(){t=!1,r=r.filter((function(e){return e!==n}))}}function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.forEach((function(e){return e.apply(void 0,t)}))}return{setPrompt:t,confirmTransitionTo:n,appendListener:o,notifyListeners:i}}var S=!(\"undefined\"===typeof window||!window.document||!window.document.createElement);function j(e,t){t(window.confirm(e))}function k(){var e=window.navigator.userAgent;return(-1===e.indexOf(\"Android 2.\")&&-1===e.indexOf(\"Android 4.0\")||-1===e.indexOf(\"Mobile Safari\")||-1!==e.indexOf(\"Chrome\")||-1!==e.indexOf(\"Windows Phone\"))&&(window.history&&\"pushState\"in window.history)}function _(){return-1===window.navigator.userAgent.indexOf(\"Trident\")}function C(){return-1===window.navigator.userAgent.indexOf(\"Firefox\")}function M(e){return void 0===e.state&&-1===navigator.userAgent.indexOf(\"CriOS\")}var A=\"popstate\",N=\"hashchange\";function T(){try{return window.history.state||{}}catch(e){return{}}}function I(e){void 0===e&&(e={}),S||Object(h[\"a\"])(!1);var t=window.history,n=k(),o=!_(),i=e,a=i.forceRefresh,c=void 0!==a&&a,u=i.getUserConfirmation,s=void 0===u?j:u,l=i.keyLength,f=void 0===l?6:l,d=e.basename?y(p(e.basename)):\"\";function v(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname,a=o.search,c=o.hash,u=i+a+c;return d&&(u=m(u,d)),w(u,r,n)}function g(){return Math.random().toString(36).substr(2,f)}var b=E();function O(e){Object(r[\"a\"])(Z,e),Z.length=t.length,b.notifyListeners(Z.location,Z.action)}function C(e){M(e)||L(v(e.state))}function I(){L(v(T()))}var P=!1;function L(e){if(P)P=!1,O();else{var t=\"POP\";b.confirmTransitionTo(e,t,s,(function(n){n?O({action:t,location:e}):D(e)}))}}function D(e){var t=Z.location,n=F.indexOf(t.key);-1===n&&(n=0);var r=F.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(P=!0,G(o))}var R=v(T()),F=[R.key];function B(e){return d+x(e)}function z(e,r){var o=\"PUSH\",i=w(e,r,g(),Z.location);b.confirmTransitionTo(i,o,s,(function(e){if(e){var r=B(i),a=i.key,u=i.state;if(n)if(t.pushState({key:a,state:u},null,r),c)window.location.href=r;else{var s=F.indexOf(Z.location.key),l=F.slice(0,s+1);l.push(i.key),F=l,O({action:o,location:i})}else window.location.href=r}}))}function U(e,r){var o=\"REPLACE\",i=w(e,r,g(),Z.location);b.confirmTransitionTo(i,o,s,(function(e){if(e){var r=B(i),a=i.key,u=i.state;if(n)if(t.replaceState({key:a,state:u},null,r),c)window.location.replace(r);else{var s=F.indexOf(Z.location.key);-1!==s&&(F[s]=i.key),O({action:o,location:i})}else window.location.replace(r)}}))}function G(e){t.go(e)}function V(){G(-1)}function W(){G(1)}var H=0;function Y(e){H+=e,1===H&&1===e?(window.addEventListener(A,C),o&&window.addEventListener(N,I)):0===H&&(window.removeEventListener(A,C),o&&window.removeEventListener(N,I))}var X=!1;function q(e){void 0===e&&(e=!1);var t=b.setPrompt(e);return X||(Y(1),X=!0),function(){return X&&(X=!1,Y(-1)),t()}}function K(e){var t=b.appendListener(e);return Y(1),function(){Y(-1),t()}}var Z={length:t.length,action:\"POP\",location:R,createHref:B,push:z,replace:U,go:G,goBack:V,goForward:W,block:q,listen:K};return Z}var P=\"hashchange\",L={hashbang:{encodePath:function(e){return\"!\"===e.charAt(0)?e:\"!/\"+v(e)},decodePath:function(e){return\"!\"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:v,decodePath:p},slash:{encodePath:p,decodePath:p}};function D(e){var t=e.indexOf(\"#\");return-1===t?e:e.slice(0,t)}function R(){var e=window.location.href,t=e.indexOf(\"#\");return-1===t?\"\":e.substring(t+1)}function F(e){window.location.hash=e}function B(e){window.location.replace(D(window.location.href)+\"#\"+e)}function z(e){void 0===e&&(e={}),S||Object(h[\"a\"])(!1);var t=window.history,n=(C(),e),o=n.getUserConfirmation,i=void 0===o?j:o,a=n.hashType,c=void 0===a?\"slash\":a,u=e.basename?y(p(e.basename)):\"\",s=L[c],l=s.encodePath,f=s.decodePath;function d(){var e=f(R());return u&&(e=m(e,u)),w(e)}var v=E();function g(e){Object(r[\"a\"])(Q,e),Q.length=t.length,v.notifyListeners(Q.location,Q.action)}var b=!1,O=null;function k(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash}function _(){var e=R(),t=l(e);if(e!==t)B(t);else{var n=d(),r=Q.location;if(!b&&k(r,n))return;if(O===x(n))return;O=null,M(n)}}function M(e){if(b)b=!1,g();else{var t=\"POP\";v.confirmTransitionTo(e,t,i,(function(n){n?g({action:t,location:e}):A(e)}))}}function A(e){var t=Q.location,n=z.lastIndexOf(x(t));-1===n&&(n=0);var r=z.lastIndexOf(x(e));-1===r&&(r=0);var o=n-r;o&&(b=!0,W(o))}var N=R(),T=l(N);N!==T&&B(T);var I=d(),z=[x(I)];function U(e){var t=document.querySelector(\"base\"),n=\"\";return t&&t.getAttribute(\"href\")&&(n=D(window.location.href)),n+\"#\"+l(u+x(e))}function G(e,t){var n=\"PUSH\",r=w(e,void 0,void 0,Q.location);v.confirmTransitionTo(r,n,i,(function(e){if(e){var t=x(r),o=l(u+t),i=R()!==o;if(i){O=t,F(o);var a=z.lastIndexOf(x(Q.location)),c=z.slice(0,a+1);c.push(t),z=c,g({action:n,location:r})}else g()}}))}function V(e,t){var n=\"REPLACE\",r=w(e,void 0,void 0,Q.location);v.confirmTransitionTo(r,n,i,(function(e){if(e){var t=x(r),o=l(u+t),i=R()!==o;i&&(O=t,B(o));var a=z.indexOf(x(Q.location));-1!==a&&(z[a]=t),g({action:n,location:r})}}))}function W(e){t.go(e)}function H(){W(-1)}function Y(){W(1)}var X=0;function q(e){X+=e,1===X&&1===e?window.addEventListener(P,_):0===X&&window.removeEventListener(P,_)}var K=!1;function Z(e){void 0===e&&(e=!1);var t=v.setPrompt(e);return K||(q(1),K=!0),function(){return K&&(K=!1,q(-1)),t()}}function $(e){var t=v.appendListener(e);return q(1),function(){q(-1),t()}}var Q={length:t.length,action:\"POP\",location:I,createHref:U,push:G,replace:V,go:W,goBack:H,goForward:Y,block:Z,listen:$};return Q}function U(e,t,n){return Math.min(Math.max(e,t),n)}function G(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?[\"/\"]:o,a=t.initialIndex,c=void 0===a?0:a,u=t.keyLength,s=void 0===u?6:u,l=E();function f(e){Object(r[\"a\"])(_,e),_.length=_.entries.length,l.notifyListeners(_.location,_.action)}function d(){return Math.random().toString(36).substr(2,s)}var h=U(c,0,i.length-1),p=i.map((function(e){return w(e,void 0,\"string\"===typeof e?d():e.key||d())})),v=x;function g(e,t){var r=\"PUSH\",o=w(e,t,d(),_.location);l.confirmTransitionTo(o,r,n,(function(e){if(e){var t=_.index,n=t+1,i=_.entries.slice(0);i.length>n?i.splice(n,i.length-n,o):i.push(o),f({action:r,location:o,index:n,entries:i})}}))}function m(e,t){var r=\"REPLACE\",o=w(e,t,d(),_.location);l.confirmTransitionTo(o,r,n,(function(e){e&&(_.entries[_.index]=o,f({action:r,location:o}))}))}function y(e){var t=U(_.index+e,0,_.entries.length-1),r=\"POP\",o=_.entries[t];l.confirmTransitionTo(o,r,n,(function(e){e?f({action:r,location:o,index:t}):f()}))}function b(){y(-1)}function O(){y(1)}function S(e){var t=_.index+e;return t>=0&&t<_.entries.length}function j(e){return void 0===e&&(e=!1),l.setPrompt(e)}function k(e){return l.appendListener(e)}var _={length:p.length,action:\"POP\",location:p[h],index:h,entries:p,createHref:v,push:g,replace:m,go:y,goBack:b,goForward:O,canGo:S,block:j,listen:k};return _}},Ybyq:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=i(n(\"FscW\")),o=n(\"3P6T\");function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t,n,i){void 0===t&&(t=!1),void 0===n&&(n=\"weight\"),void 0===i&&(i=1e3);var a=e.nodes,c=void 0===a?[]:a,u=e.edges,s=void 0===u?[]:u,l={},f={};c.forEach((function(e,t){var n=(0,o.uniqueId)();e.clusterId=n,l[n]={id:n,nodes:[e]},f[e.id]={node:e,idx:t}}));var d=(0,r.default)(e,t),h=[],p={};d.forEach((function(e,t){var n=0,r=c[t].id;p[r]={},e.forEach((function(e,t){if(e){n+=e;var o=c[t].id;p[r][o]=e}})),h.push(n)}));var v=0,g=function(){var e=!1;if(c.forEach((function(t){var n={};Object.keys(p[t.id]).forEach((function(e){var r=p[t.id][e],o=f[e].node,i=o.clusterId;n[i]||(n[i]=0),n[i]+=r}));var r=-1/0,o=[];if(Object.keys(n).forEach((function(e){r<n[e]?(r=n[e],o=[e]):r===n[e]&&o.push(e)})),1!==o.length||o[0]!==t.clusterId){var i=o.indexOf(t.clusterId);if(i>=0&&o.splice(i,1),o&&o.length){e=!0;var a=l[t.clusterId],c=a.nodes.indexOf(t);a.nodes.splice(c,1);var u=Math.floor(Math.random()*o.length),s=l[o[u]];s.nodes.push(t),t.clusterId=s.id}}})),!e)return\"break\";v++};while(v<i){var m=g();if(\"break\"===m)break}Object.keys(l).forEach((function(e){var t=l[e];t.nodes&&t.nodes.length||delete l[e]}));var y=[],b={};s.forEach((function(e){var t=e.source,r=e.target,o=e[n]||1,i=f[t].node.clusterId,a=f[r].node.clusterId,c=\"\".concat(i,\"---\").concat(a);if(b[c])b[c].weight+=o,b[c].count++;else{var u={source:i,target:a,weight:o,count:1};b[c]=u,y.push(u)}}));var x=[];return Object.keys(l).forEach((function(e){x.push(l[e])})),{clusters:x,clusterEdges:y}},c=a;t.default=c},Yhre:function(e,t,n){\"use strict\";var r=n(\"2oRo\"),o=n(\"g6v/\"),i=n(\"qYE9\"),a=n(\"kRJp\"),c=n(\"4syw\"),u=n(\"0Dky\"),s=n(\"GarU\"),l=n(\"ppGB\"),f=n(\"UMSQ\"),d=n(\"CyXQ\"),h=n(\"d6cI\"),p=n(\"4WOD\"),v=n(\"0rvr\"),g=n(\"JBy8\").f,m=n(\"m/L8\").f,y=n(\"gdVl\"),b=n(\"1E5z\"),x=n(\"afO8\"),w=x.get,O=x.set,E=\"ArrayBuffer\",S=\"DataView\",j=\"prototype\",k=\"Wrong length\",_=\"Wrong index\",C=r[E],M=C,A=r[S],N=A&&A[j],T=Object.prototype,I=r.RangeError,P=h.pack,L=h.unpack,D=function(e){return[255&e]},R=function(e){return[255&e,e>>8&255]},F=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},B=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},z=function(e){return P(e,23,4)},U=function(e){return P(e,52,8)},G=function(e,t){m(e[j],t,{get:function(){return w(this)[t]}})},V=function(e,t,n,r){var o=d(n),i=w(e);if(o+t>i.byteLength)throw I(_);var a=w(i.buffer).bytes,c=o+i.byteOffset,u=a.slice(c,c+t);return r?u:u.reverse()},W=function(e,t,n,r,o,i){var a=d(n),c=w(e);if(a+t>c.byteLength)throw I(_);for(var u=w(c.buffer).bytes,s=a+c.byteOffset,l=r(+o),f=0;f<t;f++)u[s+f]=l[i?f:t-f-1]};if(i){if(!u((function(){C(1)}))||!u((function(){new C(-1)}))||u((function(){return new C,new C(1.5),new C(NaN),C.name!=E}))){M=function(e){return s(this,M),new C(d(e))};for(var H,Y=M[j]=C[j],X=g(C),q=0;X.length>q;)(H=X[q++])in M||a(M,H,C[H]);Y.constructor=M}v&&p(N)!==T&&v(N,T);var K=new A(new M(2)),Z=N.setInt8;K.setInt8(0,2147483648),K.setInt8(1,2147483649),!K.getInt8(0)&&K.getInt8(1)||c(N,{setInt8:function(e,t){Z.call(this,e,t<<24>>24)},setUint8:function(e,t){Z.call(this,e,t<<24>>24)}},{unsafe:!0})}else M=function(e){s(this,M,E);var t=d(e);O(this,{bytes:y.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},A=function(e,t,n){s(this,A,S),s(e,M,S);var r=w(e).byteLength,i=l(t);if(i<0||i>r)throw I(\"Wrong offset\");if(n=void 0===n?r-i:f(n),i+n>r)throw I(k);O(this,{buffer:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},o&&(G(M,\"byteLength\"),G(A,\"buffer\"),G(A,\"byteLength\"),G(A,\"byteOffset\")),c(A[j],{getInt8:function(e){return V(this,1,e)[0]<<24>>24},getUint8:function(e){return V(this,1,e)[0]},getInt16:function(e){var t=V(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=V(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return B(V(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return B(V(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return L(V(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return L(V(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){W(this,1,e,D,t)},setUint8:function(e,t){W(this,1,e,D,t)},setInt16:function(e,t){W(this,2,e,R,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){W(this,2,e,R,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){W(this,4,e,F,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){W(this,4,e,F,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){W(this,4,e,z,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){W(this,8,e,U,t,arguments.length>2?arguments[2]:void 0)}});b(M,E),b(A,S),e.exports={ArrayBuffer:M,DataView:A}},YlG9:function(e,t,n){\"use strict\";var r=n(\"q1tI\"),o=Object(r[\"createContext\"])(void 0);t[\"a\"]=o},\"Ypl+\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.arrayToTextureData=t.attributesToTextureData=t.buildTextureDataWithTwoEdgeAttr=t.buildTextureData=t.proccessToFunc=void 0;var r=n(\"8nGZ\"),o=n(\"GdIf\"),i=function(e,t){var n;return n=e?(0,r.isNumber)(e)?function(){return e}:e:function(){return t||1},n};t.proccessToFunc=i;var a=function(e,t){var n=[],r=[],i={},a=0;for(a=0;a<e.length;a++){var c=e[a];i[c.id]=a,n.push(c.x),n.push(c.y),n.push(0),n.push(0),r.push([])}for(a=0;a<t.length;a++){var u=t[a],s=(0,o.getEdgeTerminal)(u,\"source\"),l=(0,o.getEdgeTerminal)(u,\"target\");isNaN(i[s])||isNaN(i[l])||(r[i[s]].push(i[l]),r[i[l]].push(i[s]))}var f=0;for(a=0;a<e.length;a++){var d=n.length,h=r[a],p=h.length;n[4*a+2]=d,n[4*a+3]=p,f=Math.max(f,p);for(var v=0;v<p;++v){var g=h[v];n.push(+g)}}while(n.length%4!==0)n.push(0);return{maxEdgePerVetex:f,array:new Float32Array(n)}};t.buildTextureData=a;var c=function(e,t,n,r){var i=[],a=[],c={},u=0;for(u=0;u<e.length;u++){var s=e[u];c[s.id]=u,i.push(s.x),i.push(s.y),i.push(0),i.push(0),a.push([])}for(u=0;u<t.length;u++){var l=t[u],f=(0,o.getEdgeTerminal)(l,\"source\"),d=(0,o.getEdgeTerminal)(l,\"target\");a[c[f]].push(c[d]),a[c[f]].push(n(l)),a[c[f]].push(r(l)),a[c[f]].push(0),a[c[d]].push(c[f]),a[c[d]].push(n(l)),a[c[d]].push(r(l)),a[c[d]].push(0)}var h=0;for(u=0;u<e.length;u++){var p=i.length,v=a[u],g=v.length;i[4*u+2]=p+1048576*g/4,i[4*u+3]=0,h=Math.max(h,g/4);for(var m=0;m<g;++m){var y=v[m];i.push(+y)}}while(i.length%4!==0)i.push(0);return{maxEdgePerVetex:h,array:new Float32Array(i)}};t.buildTextureDataWithTwoEdgeAttr=c;var u=function(e,t){var n=[],r=e.length,o={};return t.forEach((function(t){e.forEach((function(e,i){if(void 0===o[t[e]]&&(o[t[e]]=Object.keys(o).length),n.push(o[t[e]]),i===r-1)while(n.length%4!==0)n.push(0)}))})),{array:new Float32Array(n),count:Object.keys(o).length}};t.attributesToTextureData=u;var s=function(e){for(var t=[],n=e.length,r=e[0].length,o=function(r){e.forEach((function(e,o){if(t.push(e[r]),o===n-1)while(t.length%4!==0)t.push(0)}))},i=0;i<r;i++)o(i);return new Float32Array(t)};t.arrayToTextureData=s},YrtM:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(\"q1tI\");function o(e,t,n){var o=r[\"useRef\"]({});return\"value\"in o.current&&!n(o.current.condition,t)||(o.current.value=e(),o.current.condition=t),o.current.value}},Z0Lh:function(e,t,n){\"use strict\";var r=n(\"TqRt\")[\"default\"];Object.defineProperty(t,\"__esModule\",{value:!0}),t[\"default\"]=void 0;var o=r(n(\"pVnL\")),i=r(n(\"HjOm\")),a=r(n(\"Z6rY\")),c={lang:(0,o[\"default\"])({placeholder:\"\\u8bf7\\u9009\\u62e9\\u65e5\\u671f\",yearPlaceholder:\"\\u8bf7\\u9009\\u62e9\\u5e74\\u4efd\",quarterPlaceholder:\"\\u8bf7\\u9009\\u62e9\\u5b63\\u5ea6\",monthPlaceholder:\"\\u8bf7\\u9009\\u62e9\\u6708\\u4efd\",weekPlaceholder:\"\\u8bf7\\u9009\\u62e9\\u5468\",rangePlaceholder:[\"\\u5f00\\u59cb\\u65e5\\u671f\",\"\\u7ed3\\u675f\\u65e5\\u671f\"],rangeYearPlaceholder:[\"\\u5f00\\u59cb\\u5e74\\u4efd\",\"\\u7ed3\\u675f\\u5e74\\u4efd\"],rangeMonthPlaceholder:[\"\\u5f00\\u59cb\\u6708\\u4efd\",\"\\u7ed3\\u675f\\u6708\\u4efd\"],rangeQuarterPlaceholder:[\"\\u5f00\\u59cb\\u5b63\\u5ea6\",\"\\u7ed3\\u675f\\u5b63\\u5ea6\"],rangeWeekPlaceholder:[\"\\u5f00\\u59cb\\u5468\",\"\\u7ed3\\u675f\\u5468\"]},i[\"default\"]),timePickerLocale:(0,o[\"default\"])({},a[\"default\"])};c.lang.ok=\"\\u786e\\u5b9a\";var u=c;t[\"default\"]=u},Z0cm:function(e,t){var n=Array.isArray;e.exports=n},Z4nd:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"fXLg\");r({target:\"WeakSet\",proto:!0,real:!0,forced:o},{addAll:function(){return i.apply(this,arguments)}})},Z6rY:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t[\"default\"]=void 0;var r={placeholder:\"\\u8bf7\\u9009\\u62e9\\u65f6\\u95f4\",rangePlaceholder:[\"\\u5f00\\u59cb\\u65f6\\u95f4\",\"\\u7ed3\\u675f\\u65f6\\u95f4\"]},o=r;t[\"default\"]=o},Z8oC:function(e,t,n){var r=n(\"y1pI\");function o(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}e.exports=o},\"ZJ+n\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=n(\"mrSG\"),o=u(n(\"AlPw\")),i=u(n(\"raXR\")),a=u(n(\"m5Yo\")),c=n(\"3P6T\");function u(e){return e&&e.__esModule?e:{default:e}}var s=function(e,t,n,r){void 0===n&&(n=\"cluster\"),void 0===r&&(r=2);var o=[],i=e.nodes;return t.forEach((function(e,t){o.push(l(i,e,t,n,r))})),o},l=function(e,t,n,r,o){var i=[n],a=[],c={};return t.forEach((function(t,u){if(t<=o&&n!==u){i.push(u),a.push(e[u]);var s=e[u][r];c[s]?(c[s].count++,c[s].dists.push(t)):c[s]={count:1,dists:[t]}}})),Object.keys(c).forEach((function(e){c[e].dists=c[e].dists.sort((function(e,t){return e-t}))})),{nodeIdx:n,nodeId:e[n].id,nodeIdxs:i,neighbors:a,neighborNum:i.length-1,nodeLabelCountMap:c}},f=function(e,t,n,r,o){var i=Math.ceil(n/t),a={},c=0;return r.forEach((function(e,r){var u=0,s=0,l=e.nodeIdxs,f=e.neighborNum-1;while(u<i){var d=l[1+Math.floor(Math.random()*f)],h=0;while(a[\"\".concat(r,\"-\").concat(d)]||a[\"\".concat(d,\"-\").concat(r)])if(d=Math.floor(Math.random()*t),h++,h>2*t)break;if(h<2*t&&(a[\"\".concat(r,\"-\").concat(d)]={start:r,end:d,distance:o[r][d]},u++,c++,c>=n))return a;if(s++,s>2*t)break}if(u<i){var p=i-u;i=(i+p)/(t-r-1)}})),a},d=function(e,t,n,r){var o=n.nodes;return r||(r={}),Object.keys(e).forEach((function(i){var a,c;if(!r||!r[i]){r[i]={nodes:[],edges:[]};var u=e[i],s=null===(a=t[u.start])||void 0===a?void 0:a.nodeIdxs,l=null===(c=t[u.end])||void 0===c?void 0:c.nodeIdxs;if(s&&l){var f=new Set(l),d=s.filter((function(e){return f.has(e)}));if(d&&d.length){for(var h={},p=d.length,v=0;v<p;v++){var g=o[d[v]];r[i].nodes.push(g),h[g.id]=!0}n.edges.forEach((function(e){h[e.source]&&h[e.target]&&r[i].edges.push(e)}))}}}})),r},h=function(e,t,n,r){var o,i,a={};e.nodes.forEach((function(e){a[e.id]=e}));var c=0;return!(null===(o=null===t||void 0===t?void 0:t.edges)||void 0===o?void 0:o.length)||(null===(i=null===t||void 0===t?void 0:t.nodes)||void 0===i?void 0:i.length)<2?0:(e.edges.forEach((function(e){var o=a[e.source][n],i=a[e.target][n],u=null===t||void 0===t?void 0:t.nodes[0][n],s=null===t||void 0===t?void 0:t.nodes[1][n],l=null===t||void 0===t?void 0:t.edges[0][r];e[r]===l&&(o===u&&i===s||o===s&&i===u)&&c++})),c)},p=function(e,t,n){for(var r=1/0,o=0,i=function(t){var n=e[t],i=Object.keys(n).sort((function(e,t){return n[e]-n[t]})),a=10,c=[];i.forEach((function(e,t){c[t%a]||(c[t%a]={graphs:[],totalCount:0,aveCount:0}),c[t%a].graphs.push(e),c[t%a].totalCount+=n[e]}));var u=0,s=[];c.forEach((function(e){var t=e.totalCount/e.graphs.length;e.aveCount=t,s.push(t);var r=0,o=e.length;e.graphs.forEach((function(t,o){var i=n[t];e.graphs.forEach((function(e,t){o!==t&&(r+=Math.abs(i-n[e]))}))})),r/=o*(o-1)/2,u+=r})),u/=c.length;var l=0;s.forEach((function(e,t){s.forEach((function(n,r){t!==r&&(l+=Math.abs(e-n))})),l/=s.length*(s.length-1)/2}));var f=l-u;r<f&&(r=f,o=t)},a=0;a<t;a++)i(a);return{structure:n[o],structureCountMap:e[o]}},v=function(e,t){var n={},r={};return e.forEach((function(e,o){n[e.id]={idx:o,node:e,degree:0,inDegree:0,outDegree:0};var i=e[t];r[i]||(r[i]=[]),r[i].push(e)})),{nodeMap:n,nodeLabelMap:r}},g=function(e,t,n){var r={},o={};return e.forEach((function(e,i){r[\"\".concat(c.uniqueId)]={idx:i,edge:e};var a=e[t];o[a]||(o[a]=[]),o[a].push(e);var u=n[e.source];u&&(u.degree++,u.outDegree++);var s=n[e.target];s&&(s.degree++,s.inDegree++)})),{edgeMap:r,edgeLabelMap:o}},m=function(e,t,n){var r=t.length,o={};return t.forEach((function(t,i){for(var a=n?0:i+1,c=e[i].id,u=a;u<r;u++)if(i!==u){var s=e[u].id,l=t[u];o[\"\".concat(c,\"-\").concat(s)]=l,n||(o[\"\".concat(s,\"-\").concat(c)]=l)}})),o},y=function(e,t,n,r,o,i,a,c,u,s,l){var f,p=\"\".concat(t.id,\"-\").concat(n.id);if(s&&s[p])return s[p];var v=l?l[p]:void 0;if(!v){var g=(f={},f[p]={start:r[t.id].idx,end:r[n.id].idx,distance:o},f);l=d(g,i,e,l),v=l[p]}return h(v,a,c,u)},b=function(e,t,n,r){var o,i,a,c=null===(o=e[t])||void 0===o?void 0:o.degree,u=null===(i=e[t])||void 0===i?void 0:i.inDegree,s=null===(a=e[t])||void 0===a?void 0:a.outDegree;return void 0===e[t]&&(c=1/0,u=1/0,s=1/0,r[t].forEach((function(e){var t=n[e.id].degree;c>t&&(c=t);var r=n[e.id].inDegree;u>r&&(u=r);var o=n[e.id].outDegree;s>o&&(s=o)})),e[t]={degree:c,inDegree:u,outDegree:s}),{minPatternNodeLabelDegree:c,minPatternNodeLabelInDegree:u,minPatternNodeLabelOutDegree:s}},x=function(e,t,n,c,u,x,w){var O;if(void 0===n&&(n=!1),void 0===x&&(x=\"cluster\"),void 0===w&&(w=\"cluster\"),e&&e.nodes){var E=e.nodes.length;if(E){var S=(0,o.default)(e,n),j=(0,o.default)(t,n),k=m(e.nodes,S,n),_=m(t.nodes,j,n),C=v(e.nodes,x),M=C.nodeMap,A=C.nodeLabelMap,N=v(t.nodes,x),T=N.nodeMap,I=N.nodeLabelMap;g(e.edges,w,M);var P=g(t.edges,w,T).edgeLabelMap,L=[];null===j||void 0===j||j.forEach((function(e){L=L.concat(e)})),u||(u=Math.max.apply(Math,(0,r.__spreadArray)((0,r.__spreadArray)([],L,!1),[2],!1))),c||(c=u);var D=s(e,S,x,c),R=s(t,j,x,c),F=Math.min(100,E*(E-1)/2),B=f(c,E,F,D,S),z=d(B,D,e),U=10,G=1,V=1,W=4,H={graphs:z,nodeLabelProp:x,edgeLabelProp:w,minSupport:G,minNodeNum:V,maxNodeNum:W,directed:n},Y=(0,i.default)(H).slice(0,U),X=Y.length,q=[];Y.forEach((function(e,t){q[t]={},Object.keys(z).forEach((function(n){var r=z[n],o=h(r,e,x,w);q[t][n]=o}))}));var K=p(q,X,Y),Z=K.structure,$=K.structureCountMap,Q=t.nodes[0],J=[],ee=null===(O=t.nodes[0])||void 0===O?void 0:O[x],te=-1/0;t.nodes.forEach((function(e){var t=e[x],n=A[t];(null===n||void 0===n?void 0:n.length)>te&&(te=n.length,J=n,ee=t,Q=e)}));var ne={},re={},oe={},ie={},ae={},ce={};Object.keys(I).forEach((function(r,o){ae[r]=[],n&&(ce[r]=[]);var i=-1/0,a=I[r],c={};a.forEach((function(e){var t=_[\"\".concat(Q.id,\"-\").concat(e.id)];if(t&&ae[r].push(t),i<t&&(i=t),c[\"\".concat(Q.id,\"-\").concat(e.id)]={start:0,end:T[e.id].idx,distance:t},n){var o=_[\"\".concat(e.id,\"-\").concat(Q.id)];o&&ce[r].push(o)}})),ae[r]=ae[r].sort((function(e,t){return e-t})),n&&(ce[r]=ce[r].sort((function(e,t){return e-t}))),re=d(c,R,t,re);var u=[];if(Object.keys(c).forEach((function(e){if(oe[e])u.push(oe[e]);else{var t=re[e];oe[e]=h(t,Z,x,w),u.push(oe[e])}})),u=u.sort((function(e,t){return t-e})),ie[\"\".concat(Q.id,\"-\").concat(r)]=u,r!==ee)for(var s=(null===J||void 0===J?void 0:J.length)||0,l=function(t){var n=J[t],o=D[M[n.id].idx],i=o.nodeLabelCountMap[r],a=I[r].length;if(!i||i.count<a)return J.splice(t,1),\"continue\";for(var c=!1,s=0;s<a;s++)if(i.dists[s]>ae[r][s]){c=!0;break}if(c)return J.splice(t,1),\"continue\";var l={};o.neighbors.forEach((function(e){var t=k[\"\".concat(n.id,\"-\").concat(e.id)];l[\"\".concat(n.id,\"-\").concat(e.id)]={start:M[n.id].idx,end:M[e.id].idx,distance:t}})),z=d(l,D,e,z);var f=[];Object.keys(l).forEach((function(e){if($[e])f.push($[e]);else{var t=z[e];$[e]=h(t,Z,x,w),f.push($[e])}})),f=f.sort((function(e,t){return t-e}));var p=!1;for(s=0;s<a;s++)if(f[s]<u[s]){p=!0;break}return p?(J.splice(t,1),\"continue\"):void 0},f=s-1;f>=0;f--)l(f)}));var ue=[];null===J||void 0===J||J.forEach((function(r){for(var o=M[r.id].idx,i=l(e.nodes,S[o],o,x,u),a=i.neighbors,c=a.length,s=!1,f=c-1;f>=0;f--){if(a.length+1<t.nodes.length)return void(s=!0);var d=a[f],h=d[x];if(I[h]&&I[h].length)if(ae[h]&&ae[h].length){var p=\"\".concat(r.id,\"-\").concat(d.id),v=k[p],g=ae[h].length-1,m=ae[h][g];if(v>m)a.splice(f,1);else{if(n){var O=\"\".concat(d.id,\"-\").concat(r.id),E=k[O];g=ce[h].length-1;var j=ce[h][g];if(E>j){a.splice(f,1);continue}}var _=$[p]?$[p]:y(e,r,d,M,v,D,Z,x,w,$,z),C=\"\".concat(Q.id,\"-\").concat(h),A=ie[C][ie[C].length-1];if(_<A)a.splice(f,1);else{var N=b(ne,h,T,I),P=N.minPatternNodeLabelDegree;N.minPatternNodeLabelInDegree,N.minPatternNodeLabelOutDegree;M[d.id].degree<P&&a.splice(f,1)}}}else a.splice(f,1);else a.splice(f,1)}s||ue.push({nodes:[r].concat(a)})}));var se=(0,a.default)(t,Q.id,!1).length,le={};n?(Object.keys(se).forEach((function(e){var t=T[e].node[x];le[t]?le[t].push(se[e]):le[t]=[se[e]]})),Object.keys(le).forEach((function(e){le[e].sort((function(e,t){return e-t}))}))):le=ae;for(var fe=ue.length,de=function(r){var o=ue[r],i=o.nodes[0],c={},u={};o.nodes.forEach((function(e,t){u[e.id]={idx:t,node:e,degree:0,inDegree:0,outDegree:0};var n=e[x];c[n]?c[n]++:c[n]=1}));var s=[],l={};e.edges.forEach((function(e){u[e.source]&&u[e.target]&&(s.push(e),l[e[w]]?l[e[w]]++:l[e[w]]=1,u[e.source].degree++,u[e.target].degree++,u[e.source].outDegree++,u[e.target].inDegree++)}));for(var f=Object.keys(P).length,d=!1,h=0;h<f;h++){var p=Object.keys(P)[h];if(!l[p]||l[p]<P[p].length){d=!0;break}}if(d)return ue.splice(r,1),\"continue\";var v=s.length;if(v<t.edges.length)return ue.splice(r,1),\"break\";var g=!1,m=function(e){var t=s[e],r=t[w],o=P[r];if(!o||!o.length)return l[r]--,o&&l[r]<o.length?(g=!0,\"break\"):(s.splice(e,1),u[t.source].degree--,u[t.target].degree--,u[t.source].outDegree--,u[t.target].inDegree--,\"continue\");var i=u[t.source].node[x],a=u[t.target].node[x],c=!1;return o.forEach((function(e){var t=T[e.source].node,r=T[e.target].node;t[x]===i&&r[x]===a&&(c=!0),n||t[x]!==a||r[x]!==i||(c=!0)})),c?void 0:(l[r]--,o&&l[r]<o.length?(g=!0,\"break\"):(s.splice(e,1),u[t.source].degree--,u[t.target].degree--,u[t.source].outDegree--,u[t.target].inDegree--,\"continue\"))};for(h=v-1;h>=0;h--){var y=m(h);if(\"break\"===y)break}if(g)return ue.splice(r,1),\"continue\";o.edges=s;var O=(0,a.default)(o,o.nodes[0].id,!1).length;if(Object.keys(O).reverse().forEach((function(e){if(e!==o.nodes[0].id&&!g){if(O[e]===1/0){var t=u[e].node[x];if(c[t]--,c[t]<I[t].length)return void(g=!0);var n=o.nodes.indexOf(u[e].node);return o.nodes.splice(n,1),void(u[e]=void 0)}var r=M[e].node[x];if(!le[r]||!le[r].length||O[e]>le[r][le[r].length-1]){t=u[e].node[x];if(c[t]--,c[t]<I[t].length)return void(g=!0);n=o.nodes.indexOf(u[e].node);o.nodes.splice(n,1),u[e]=void 0}}})),g)return ue.splice(r,1),\"continue\";var E=!0,S=0;while(E&&!g){E=!1;var j=n?u[i.id].degree<T[Q.id].degree||u[i.id].inDegree<T[Q.id].inDegree||u[i.id].outDegree<T[Q.id].outDegree:u[i.id].degree<T[Q.id].degree;if(j){g=!0;break}if(c[i[x]]<I[i[x]].length){g=!0;break}for(var k=o.nodes.length,_=k-1;_>=0;_--){var C=o.nodes[_],A=u[C.id].degree,N=u[C.id].inDegree,L=u[C.id].outDegree,D=C[x],R=b(ne,D,T,I),F=R.minPatternNodeLabelDegree,B=R.minPatternNodeLabelInDegree,z=R.minPatternNodeLabelOutDegree,U=n?A<F||N<B||L<z:A<F;if(U){if(c[C[x]]--,c[C[x]]<I[C[x]].length){g=!0;break}o.nodes.splice(_,1),u[C.id]=void 0,E=!0}}if(g||!E&&0!==S)break;v=s.length;for(var G=v-1;G>=0;G--){var V=s[G];if(!u[V.source]||!u[V.target]){s.splice(G,1);var W=V[w];if(l[W]--,u[V.source]&&(u[V.source].degree--,u[V.source].outDegree--),u[V.target]&&(u[V.target].degree--,u[V.target].inDegree--),P[W]&&l[W]<P[W].length){g=!0;break}E=!0}}S++}return g||g||o.nodes.length<t.nodes.length||s.length<t.edges.length?(ue.splice(r,1),\"continue\"):void 0},he=fe-1;he>=0;he--){var pe=de(he);if(\"break\"===pe)break}var ve=ue.length,ge=function(e){var t=ue[e],n={};t.edges.forEach((function(e){var t=\"\".concat(e.source,\"-\").concat(e.target,\"-\").concat(e.label);n[t]?n[t]++:n[t]=1}));for(var r=function(e){var t=ue[e],r={};t.edges.forEach((function(e){var t=\"\".concat(e.source,\"-\").concat(e.target,\"-\").concat(e.label);r[t]?r[t]++:r[t]=1}));var o=!0;Object.keys(r).length!==Object.keys(n).length?o=!1:Object.keys(n).forEach((function(e){r[e]!==n[e]&&(o=!1)})),o&&ue.splice(e,1)},o=ve-1;o>e;o--)r(o);ve=ue.length};for(he=0;he<=ve-1;he++)ge(he);return ue}}},w=x;t.default=w},ZUd8:function(e,t,n){var r=n(\"ppGB\"),o=n(\"HYAF\"),i=function(e){return function(t,n){var i,a,c=String(o(t)),u=r(n),s=c.length;return u<0||u>=s?e?\"\":void 0:(i=c.charCodeAt(u),i<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?e?c.charAt(u):i:e?c.slice(u,u+2):a-56320+(i-55296<<10)+65536)}};e.exports={codeAt:i(!1),charAt:i(!0)}},ZWaQ:function(e,t,n){\"use strict\";var r=n(\"m/L8\").f,o=n(\"fHMY\"),i=n(\"4syw\"),a=n(\"A2ZE\"),c=n(\"GarU\"),u=n(\"ImZN\"),s=n(\"fdAy\"),l=n(\"JiZb\"),f=n(\"g6v/\"),d=n(\"8YOa\").fastKey,h=n(\"afO8\"),p=h.set,v=h.getterFor;e.exports={getConstructor:function(e,t,n,s){var l=e((function(e,r){c(e,l,t),p(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),void 0!=r&&u(r,e[s],e,n)})),h=v(t),g=function(e,t,n){var r,o,i=h(e),a=m(e,t);return a?a.value=n:(i.last=a={index:o=d(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:e.size++,\"F\"!==o&&(i.index[o]=a)),e},m=function(e,t){var n,r=h(e),o=d(t);if(\"F\"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(l.prototype,{clear:function(){var e=this,t=h(e),n=t.index,r=t.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;t.first=t.last=void 0,f?t.size=0:e.size=0},delete:function(e){var t=this,n=h(t),r=m(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),f?n.size--:t.size--}return!!r},forEach:function(e){var t,n=h(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);while(t=t?t.next:n.first){r(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!m(this,e)}}),i(l.prototype,n?{get:function(e){var t=m(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),f&&r(l.prototype,\"size\",{get:function(){return h(this).size}}),l},setStrong:function(e,t,n){var r=t+\" Iterator\",o=v(t),i=v(r);s(e,t,(function(e,t){p(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){var e=i(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?\"keys\"==t?{value:n.key,done:!1}:\"values\"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?\"entries\":\"values\",!n,!0),l(t)}}},ZY7T:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"0GbY\"),a=n(\"glrk\"),c=n(\"HAuM\"),u=n(\"SEBh\"),s=n(\"ImZN\");r({target:\"Set\",proto:!0,real:!0,forced:o},{intersection:function(e){var t=a(this),n=new(u(t,i(\"Set\"))),r=c(t.has),o=c(n.add);return s(e,(function(e){r.call(t,e)&&o.call(n,e)})),n}})},ZfDv:function(e,t,n){var r=n(\"hh1v\"),o=n(\"6LWA\"),i=n(\"tiKp\"),a=i(\"species\");e.exports=function(e,t){var n;return o(e)&&(n=e.constructor,\"function\"!=typeof n||n!==Array&&!o(n.prototype)?r(n)&&(n=n[a],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},ZhPi:function(e,t,n){var r=n(\"WkPL\");function o(e,t){if(e){if(\"string\"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===n&&e.constructor&&(n=e.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(e):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}e.exports=o,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},Zm9Q:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a}));var r=n(\"q1tI\"),o=n.n(r),i=n(\"TOwV\");function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return o.a.Children.forEach(e,(function(e){(void 0!==e&&null!==e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(a(e)):Object(i[\"isFragment\"])(e)&&e.props?n=n.concat(a(e.props.children,t)):n.push(e))})),n}},ZqBY:function(e,t,n){\"use strict\";(function(e){n.d(t,\"a\",(function(){return ae}));var r=n(\"Qyje\");n(\"LpSC\");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e){return a=\"function\"===typeof Symbol&&\"symbol\"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},a(e)}function c(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(\"function\"!==typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function p(){if(\"undefined\"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function v(e,t,n){return v=p()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=Function.bind.apply(e,r),i=new o;return n&&h(i,n.prototype),i},v.apply(null,arguments)}function g(e){return-1!==Function.toString.call(e).indexOf(\"[native code]\")}function m(e){var t=\"function\"===typeof Map?new Map:void 0;return m=function(e){if(null===e||!g(e))return e;if(\"function\"!==typeof e)throw new TypeError(\"Super expression must either be null or a function\");if(\"undefined\"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return v(e,arguments,d(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),h(n,e)},m(e)}function y(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function b(e,t){if(t&&(\"object\"===typeof t||\"function\"===typeof t))return t;if(void 0!==t)throw new TypeError(\"Derived constructors may only return object or undefined\");return y(e)}function x(e){var t=p();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function w(e){return O(e)||E(e)||S(e)||k()}function O(e){if(Array.isArray(e))return j(e)}function E(e){if(\"undefined\"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e[\"@@iterator\"])return Array.from(e)}function S(e,t){if(e){if(\"string\"===typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===n&&e.constructor&&(n=e.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(e):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?j(e,t):void 0}}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function k(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}function _(e){if(!Array.isArray(e))throw new TypeError(\"Middlewares must be an array!\");for(var t=e.length,n=0;n<t;n++)if(\"function\"!==typeof e[n])throw new TypeError(\"Middleware must be componsed of function\");return function(t,n){var r=-1;function o(i){if(i<=r)return Promise.reject(new Error(\"next() should not be called multiple times in one middleware!\"));r=i;var a=e[i]||n;if(!a)return Promise.resolve();try{return Promise.resolve(a(t,(function(){return o(i+1)})))}catch(c){return Promise.reject(c)}}return o(0)}}var C=function(){function t(e){if(c(this,t),!Array.isArray(e))throw new TypeError(\"Default middlewares must be an array!\");this.defaultMiddlewares=w(e),this.middlewares=[]}return s(t,[{key:\"use\",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!1,core:!1,defaultInstance:!1},o=!1,i=!1,c=!1;\"number\"===typeof r?(e&&Object({NODE_ENV:\"production\"}),o=!0,i=!1):\"object\"===a(r)&&r&&(i=r.global||!1,o=r.core||!1,c=r.defaultInstance||!1),i?t.globalMiddlewares.splice(t.globalMiddlewares.length-t.defaultGlobalMiddlewaresLength,0,n):o?t.coreMiddlewares.splice(t.coreMiddlewares.length-t.defaultCoreMiddlewaresLength,0,n):c?this.defaultMiddlewares.push(n):this.middlewares.push(n)}},{key:\"execute\",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=_([].concat(w(this.middlewares),w(this.defaultMiddlewares),w(t.globalMiddlewares),w(t.coreMiddlewares)));return n(e)}}]),t}();C.globalMiddlewares=[],C.defaultGlobalMiddlewaresLength=0,C.coreMiddlewares=[],C.defaultCoreMiddlewaresLength=0;var M=function(){function e(t){c(this,e),this.cache=new Map,this.timer={},this.extendOptions(t)}return s(e,[{key:\"extendOptions\",value:function(e){this.maxCache=e.maxCache||0}},{key:\"get\",value:function(e){return this.cache.get(JSON.stringify(e))}},{key:\"set\",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;if(this.maxCache>0&&this.cache.size>=this.maxCache){var o=w(this.cache.keys())[0];this.cache.delete(o),this.timer[o]&&clearTimeout(this.timer[o])}var i=JSON.stringify(e);this.cache.set(i,t),r>0&&(this.timer[i]=setTimeout((function(){n.cache.delete(i),delete n.timer[i]}),r))}},{key:\"delete\",value:function(e){var t=JSON.stringify(e);return delete this.timer[t],this.cache.delete(t)}},{key:\"clear\",value:function(){return this.timer={},this.cache.clear()}}]),e}(),A=function(e){f(n,e);var t=x(n);function n(e,r){var o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"RequestError\";return c(this,n),o=t.call(this,e),o.name=\"RequestError\",o.request=r,o.type=i,o}return n}(m(Error)),N=function(e){f(n,e);var t=x(n);function n(e,r,o,i){var a,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:\"ResponseError\";return c(this,n),a=t.call(this,r||e.statusText),a.name=\"ResponseError\",a.data=o,a.response=e,a.request=i,a.type=u,a}return n}(m(Error));function T(e){return new Promise((function(t,n){var r=new FileReader;r.onload=function(){t(r.result)},r.onerror=n,r.readAsText(e,\"GBK\")}))}function I(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;try{return JSON.parse(e)}catch(o){if(t)throw new N(n,\"JSON.parse fail\",e,r,\"ParseError\")}return e}function P(e,t,n){return new Promise((function(r,o){setTimeout((function(){o(new A(t||\"timeout of \".concat(e,\"ms exceeded\"),n,\"Timeout\"))}),e)}))}function L(e){return new Promise((function(t,n){e.cancelToken&&e.cancelToken.promise.then((function(e){n(e)}))}))}var D=Object.prototype.toString;function R(){var t;return\"undefined\"!==typeof e&&\"[object process]\"===D.call(e)&&(t=\"NODE\"),\"undefined\"!==typeof XMLHttpRequest&&(t=\"BROWSER\"),t}function F(e){return\"object\"===a(e)&&\"[object Array]\"===Object.prototype.toString.call(e)}function B(e){return\"undefined\"!==typeof URLSearchParams&&e instanceof URLSearchParams}function z(e){return\"object\"===a(e)&&\"[object Date]\"===Object.prototype.toString.call(e)}function U(e){return null!==e&&\"object\"===a(e)}function G(e,t){if(e)if(\"object\"!==a(e)&&(e=[e]),F(e))for(var n=0;n<e.length;n++)t.call(null,e[n],n,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}function V(e){return B(e)?Object(r[\"parse\"])(e.toString(),{strictNullHandling:!0}):\"string\"===typeof e?[e]:e}function W(e){return Object(r[\"stringify\"])(e,{arrayFormat:\"repeat\",strictNullHandling:!0})}function H(e,t){return i(i(i({},e),t),{},{headers:i(i({},e.headers),t.headers),params:i(i({},V(e.params)),V(t.params)),method:(t.method||e.method||\"get\").toLowerCase()})}var Y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.prefix,r=t.suffix;return n&&(e=\"\".concat(n).concat(e)),r&&(e=\"\".concat(e).concat(r)),{url:e,options:t}};function X(e,t){var n=t.method,r=void 0===n?\"get\":n;return\"get\"===r.toLowerCase()}function q(t,n){if(!t)return n();var r=t.req;r=void 0===r?{}:r;var o=r.options,i=void 0===o?{}:o,a=r.url,c=void 0===a?\"\":a,u=t.cache,s=t.responseInterceptors,l=i.timeout,f=void 0===l?0:l,d=i.timeoutMessage,h=i.__umiRequestCoreType__,p=void 0===h?\"normal\":h,v=i.useCache,g=void 0!==v&&v,m=i.method,y=void 0===m?\"get\":m,b=i.params,x=i.ttl,w=i.validateCache,O=void 0===w?X:w;if(\"normal\"!==p)return e&&Object({NODE_ENV:\"production\"}),n();var E=fetch;if(!E)throw new Error(\"Global fetch not exist!\");var S,j=\"BROWSER\"===R(),k=O(c,i)&&g&&j;if(k){var _=u.get({url:c,params:b,method:y});if(_)return _=_.clone(),_.useCache=!0,t.res=_,n()}return S=f>0?Promise.race([L(i),E(c,i),P(f,d,t.req)]):Promise.race([L(i),E(c,i)]),s.forEach((function(e){S=S.then((function(t){var n=\"function\"===typeof t.clone?t.clone():t;return e(n,i)}))})),S.then((function(e){if(k&&200===e.status){var r=e.clone();r.useCache=!0,u.set({url:c,params:b,method:y},r,x)}return t.res=e,n()}))}function K(e,t){var n;return t().then((function(){if(e){var t=e.res,r=void 0===t?{}:t,o=e.req,i=void 0===o?{}:o,a=i||{},c=a.options;c=void 0===c?{}:c;var u=c.responseType,s=void 0===u?\"json\":u,l=c.charset,f=void 0===l?\"utf8\":l,d=(c.getResponse,c.throwErrIfParseFail),h=void 0!==d&&d,p=c.parseResponse,v=void 0===p||p;if(v&&r&&r.clone){if(n=\"BROWSER\"===R()?r.clone():r,n.useCache=r.useCache||!1,\"gbk\"===f)try{return r.blob().then(T).then((function(e){return I(e,!1,n,i)}))}catch(g){throw new N(n,g.message,null,i,\"ParseError\")}else if(\"json\"===s)return r.text().then((function(e){return I(e,h,n,i)}));try{return r[s]()}catch(g){throw new N(n,\"responseType not support\",null,i,\"ParseError\")}}}})).then((function(t){if(e){e.res;var r=e.req,o=void 0===r?{}:r,i=o||{},a=i.options;a=void 0===a?{}:a;var c=a.getResponse,u=void 0!==c&&c;if(n){if(n.status>=200&&n.status<300)return u?void(e.res={data:t,response:n}):void(e.res=t);throw new N(n,\"http error\",t,o,\"HttpError\")}}})).catch((function(t){if(t instanceof A||t instanceof N)throw t;var n=e.req,r=e.res;throw t.request=t.request||n,t.response=t.response||r,t.type=t.type||t.name,t.data=t.data||void 0,t}))}function Z(e,t){if(!e)return t();var n=e.req;n=void 0===n?{}:n;var r=n.options,o=void 0===r?{}:r,a=o.method,c=void 0===a?\"get\":a;if(-1===[\"post\",\"put\",\"patch\",\"delete\"].indexOf(c.toLowerCase()))return t();var u=o.requestType,s=void 0===u?\"json\":u,l=o.data;if(l){var f=Object.prototype.toString.call(l);\"[object Object]\"===f||\"[object Array]\"===f?\"json\"===s?(o.headers=i({Accept:\"application/json\",\"Content-Type\":\"application/json;charset=UTF-8\"},o.headers),o.body=JSON.stringify(l)):\"form\"===s&&(o.headers=i({Accept:\"application/json\",\"Content-Type\":\"application/x-www-form-urlencoded;charset=UTF-8\"},o.headers),o.body=W(l)):(o.headers=i({Accept:\"application/json\"},o.headers),o.body=l)}return e.req.options=o,t()}function $(e,t){var n,r;if(e)if(t)n=t(e);else if(B(e))n=e.toString();else if(F(e))r=[],G(e,(function(e){null===e||\"undefined\"===typeof e?r.push(e):r.push(U(e)?JSON.stringify(e):e)})),n=W(r);else{r={},G(e,(function(e,t){var n=e;null===e||\"undefined\"===typeof e?r[t]=e:z(e)?n=e.toISOString():F(e)?n=e:U(e)&&(n=JSON.stringify(e)),r[t]=n}));var o=W(r);n=o}return n}function Q(e,t){if(!e)return t();var n=e.req;n=void 0===n?{}:n;var r=n.options,o=void 0===r?{}:r,i=o.paramsSerializer,a=o.params,c=e.req;c=void 0===c?{}:c;var u=c.url,s=void 0===u?\"\":u;o.method=o.method?o.method.toUpperCase():\"GET\",o.credentials=o.credentials||\"same-origin\";var l=$(a,i);if(e.req.originUrl=s,l){var f=-1!==s.indexOf(\"?\")?\"&\":\"?\";e.req.url=\"\".concat(s).concat(f).concat(l)}return e.req.options=o,t()}var J=[Z,Q,K],ee=[q];C.globalMiddlewares=J,C.defaultGlobalMiddlewaresLength=J.length,C.coreMiddlewares=ee,C.defaultCoreMiddlewaresLength=ee.length;var te=function(){function e(t){c(this,e),this.onion=new C([]),this.fetchIndex=0,this.mapCache=new M(t),this.initOptions=t,this.instanceRequestInterceptors=[],this.instanceResponseInterceptors=[]}return s(e,[{key:\"use\",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!1,core:!1};return this.onion.use(e,t),this}},{key:\"extendOptions\",value:function(e){this.initOptions=H(this.initOptions,e),this.mapCache.extendOptions(e)}},{key:\"dealRequestInterceptors\",value:function(t){var n=function(e,n){return e.then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.req.url=e.url||t.req.url,t.req.options=e.options||t.req.options,n(t.req.url,t.req.options)}))},r=[].concat(w(e.requestInterceptors),w(this.instanceRequestInterceptors));return r.reduce(n,Promise.resolve()).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.req.url=e.url||t.req.url,t.req.options=e.options||t.req.options,Promise.resolve()}))}},{key:\"request\",value:function(t,n){var r=this,o=this.onion,a={req:{url:t,options:i(i({},n),{},{url:t})},res:null,cache:this.mapCache,responseInterceptors:[].concat(w(e.responseInterceptors),w(this.instanceResponseInterceptors))};if(\"string\"!==typeof t)throw new Error(\"url MUST be a string\");return new Promise((function(e,t){r.dealRequestInterceptors(a).then((function(){return o.execute(a)})).then((function(){e(a.res)})).catch((function(n){var r=a.req.options.errorHandler;if(r)try{var o=r(n);e(o)}catch(i){t(i)}else t(n)}))}))}}],[{key:\"requestUse\",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!0};if(\"function\"!==typeof t)throw new TypeError(\"Interceptor must be function!\");n.global?e.requestInterceptors.push(t):this.instanceRequestInterceptors.push(t)}},{key:\"responseUse\",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!0};if(\"function\"!==typeof t)throw new TypeError(\"Interceptor must be function!\");n.global?e.responseInterceptors.push(t):this.instanceResponseInterceptors.push(t)}}]),e}();function ne(e){this.message=e}function re(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 ne(e),t(n.reason))}))}function oe(e){return!(!e||!e.__CANCEL__)}te.requestInterceptors=[Y],te.responseInterceptors=[],ne.prototype.toString=function(){return this.message?\"Cancel: \".concat(this.message):\"Cancel\"},ne.prototype.__CANCEL__=!0,re.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},re.source=function(){var e,t=new re((function(t){e=t}));return{token:t,cancel:e}};var ie=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new te(e),n=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=H(t.initOptions,n);return t.request(e,r)};n.use=t.use.bind(t),n.fetchIndex=t.fetchIndex,n.interceptors={request:{use:te.requestUse.bind(t)},response:{use:te.responseUse.bind(t)}};var r=[\"get\",\"post\",\"delete\",\"put\",\"patch\",\"head\",\"options\",\"rpc\"];return r.forEach((function(e){n[e]=function(t,r){return n(t,i(i({},r),{},{method:e}))}})),n.Cancel=ne,n.CancelToken=re,n.isCancel=oe,n.extendOptions=t.extendOptions.bind(t),n.middlewares={instance:t.onion.middlewares,defaultInstance:t.onion.defaultMiddlewares,global:C.globalMiddlewares,core:C.coreMiddlewares},n},ae=function(e){return ie(e)};ie({parseResponse:!1}),ie({})}).call(this,n(\"Q2Ig\"))},ZsH6:function(e,t,n){var r=n(\"I+eb\"),o=n(\"eDxR\"),i=n(\"glrk\"),a=n(\"4WOD\"),c=o.has,u=o.get,s=o.toKey,l=function(e,t,n){var r=c(e,t,n);if(r)return u(e,t,n);var o=a(t);return null!==o?l(e,o,n):void 0};r({target:\"Reflect\",stat:!0},{getMetadata:function(e,t){var n=arguments.length<3?void 0:s(arguments[2]);return l(e,i(t),n)}})},Zss7:function(e,t,n){var r;(function(o){var i=/^\\s+/,a=/\\s+$/,c=0,u=o.round,s=o.min,l=o.max,f=o.random;function d(e,t){if(e=e||\"\",t=t||{},e instanceof d)return e;if(!(this instanceof d))return new d(e,t);var n=h(e);this._originalInput=e,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=t.format||n.format,this._gradientType=t.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=c++}function h(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,c=!1;return\"string\"==typeof e&&(e=Z(e)),\"object\"==typeof e&&(K(e.r)&&K(e.g)&&K(e.b)?(t=p(e.r,e.g,e.b),a=!0,c=\"%\"===String(e.r).substr(-1)?\"prgb\":\"rgb\"):K(e.h)&&K(e.s)&&K(e.v)?(r=H(e.s),o=H(e.v),t=y(e.h,r,o),a=!0,c=\"hsv\"):K(e.h)&&K(e.s)&&K(e.l)&&(r=H(e.s),i=H(e.l),t=g(e.h,r,i),a=!0,c=\"hsl\"),e.hasOwnProperty(\"a\")&&(n=e.a)),n=F(n),{ok:a,format:e.format||c,r:s(255,l(t.r,0)),g:s(255,l(t.g,0)),b:s(255,l(t.b,0)),a:n}}function p(e,t,n){return{r:255*B(e,255),g:255*B(t,255),b:255*B(n,255)}}function v(e,t,n){e=B(e,255),t=B(t,255),n=B(n,255);var r,o,i=l(e,t,n),a=s(e,t,n),c=(i+a)/2;if(i==a)r=o=0;else{var u=i-a;switch(o=c>.5?u/(2-i-a):u/(i+a),i){case e:r=(t-n)/u+(t<n?6:0);break;case t:r=(n-e)/u+2;break;case n:r=(e-t)/u+4;break}r/=6}return{h:r,s:o,l:c}}function g(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=B(e,360),t=B(t,100),n=B(n,100),0===t)r=o=i=n;else{var c=n<.5?n*(1+t):n+t-n*t,u=2*n-c;r=a(u,c,e+1/3),o=a(u,c,e),i=a(u,c,e-1/3)}return{r:255*r,g:255*o,b:255*i}}function m(e,t,n){e=B(e,255),t=B(t,255),n=B(n,255);var r,o,i=l(e,t,n),a=s(e,t,n),c=i,u=i-a;if(o=0===i?0:u/i,i==a)r=0;else{switch(i){case e:r=(t-n)/u+(t<n?6:0);break;case t:r=(n-e)/u+2;break;case n:r=(e-t)/u+4;break}r/=6}return{h:r,s:o,v:c}}function y(e,t,n){e=6*B(e,360),t=B(t,100),n=B(n,100);var r=o.floor(e),i=e-r,a=n*(1-t),c=n*(1-i*t),u=n*(1-(1-i)*t),s=r%6,l=[n,c,a,a,u,n][s],f=[u,n,n,c,a,a][s],d=[a,a,u,n,n,c][s];return{r:255*l,g:255*f,b:255*d}}function b(e,t,n,r){var o=[W(u(e).toString(16)),W(u(t).toString(16)),W(u(n).toString(16))];return r&&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[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join(\"\")}function x(e,t,n,r,o){var i=[W(u(e).toString(16)),W(u(t).toString(16)),W(u(n).toString(16)),W(Y(r))];return o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join(\"\")}function w(e,t,n,r){var o=[W(Y(r)),W(u(e).toString(16)),W(u(t).toString(16)),W(u(n).toString(16))];return o.join(\"\")}function O(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s-=t/100,n.s=z(n.s),d(n)}function E(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.s+=t/100,n.s=z(n.s),d(n)}function S(e){return d(e).desaturate(100)}function j(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l+=t/100,n.l=z(n.l),d(n)}function k(e,t){t=0===t?0:t||10;var n=d(e).toRgb();return n.r=l(0,s(255,n.r-u(-t/100*255))),n.g=l(0,s(255,n.g-u(-t/100*255))),n.b=l(0,s(255,n.b-u(-t/100*255))),d(n)}function _(e,t){t=0===t?0:t||10;var n=d(e).toHsl();return n.l-=t/100,n.l=z(n.l),d(n)}function C(e,t){var n=d(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,d(n)}function M(e){var t=d(e).toHsl();return t.h=(t.h+180)%360,d(t)}function A(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+120)%360,s:t.s,l:t.l}),d({h:(n+240)%360,s:t.s,l:t.l})]}function N(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+90)%360,s:t.s,l:t.l}),d({h:(n+180)%360,s:t.s,l:t.l}),d({h:(n+270)%360,s:t.s,l:t.l})]}function T(e){var t=d(e).toHsl(),n=t.h;return[d(e),d({h:(n+72)%360,s:t.s,l:t.l}),d({h:(n+216)%360,s:t.s,l:t.l})]}function I(e,t,n){t=t||6,n=n||30;var r=d(e).toHsl(),o=360/n,i=[d(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(d(r));return i}function P(e,t){t=t||6;var n=d(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],c=1/t;while(t--)a.push(d({h:r,s:o,v:i})),i=(i+c)%1;return a}d.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 e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r,i,a,c=this.toRgb();return e=c.r/255,t=c.g/255,n=c.b/255,r=e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4),i=t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4),a=n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4),.2126*r+.7152*i+.0722*a},setAlpha:function(e){return this._a=F(e),this._roundA=u(100*this._a)/100,this},toHsv:function(){var e=m(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=m(this._r,this._g,this._b),t=u(360*e.h),n=u(100*e.s),r=u(100*e.v);return 1==this._a?\"hsv(\"+t+\", \"+n+\"%, \"+r+\"%)\":\"hsva(\"+t+\", \"+n+\"%, \"+r+\"%, \"+this._roundA+\")\"},toHsl:function(){var e=v(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=v(this._r,this._g,this._b),t=u(360*e.h),n=u(100*e.s),r=u(100*e.l);return 1==this._a?\"hsl(\"+t+\", \"+n+\"%, \"+r+\"%)\":\"hsla(\"+t+\", \"+n+\"%, \"+r+\"%, \"+this._roundA+\")\"},toHex:function(e){return b(this._r,this._g,this._b,e)},toHexString:function(e){return\"#\"+this.toHex(e)},toHex8:function(e){return x(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return\"#\"+this.toHex8(e)},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*B(this._r,255))+\"%\",g:u(100*B(this._g,255))+\"%\",b:u(100*B(this._b,255))+\"%\",a:this._a}},toPercentageRgbString:function(){return 1==this._a?\"rgb(\"+u(100*B(this._r,255))+\"%, \"+u(100*B(this._g,255))+\"%, \"+u(100*B(this._b,255))+\"%)\":\"rgba(\"+u(100*B(this._r,255))+\"%, \"+u(100*B(this._g,255))+\"%, \"+u(100*B(this._b,255))+\"%, \"+this._roundA+\")\"},toName:function(){return 0===this._a?\"transparent\":!(this._a<1)&&(D[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t=\"#\"+w(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?\"GradientType = 1, \":\"\";if(e){var o=d(e);n=\"#\"+w(o._r,o._g,o._b,o._a)}return\"progid:DXImageTransform.Microsoft.gradient(\"+r+\"startColorstr=\"+t+\",endColorstr=\"+n+\")\"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0,o=!t&&r&&(\"hex\"===e||\"hex6\"===e||\"hex3\"===e||\"hex4\"===e||\"hex8\"===e||\"name\"===e);return o?\"name\"===e&&0===this._a?this.toName():this.toRgbString():(\"rgb\"===e&&(n=this.toRgbString()),\"prgb\"===e&&(n=this.toPercentageRgbString()),\"hex\"!==e&&\"hex6\"!==e||(n=this.toHexString()),\"hex3\"===e&&(n=this.toHexString(!0)),\"hex4\"===e&&(n=this.toHex8String(!0)),\"hex8\"===e&&(n=this.toHex8String()),\"name\"===e&&(n=this.toName()),\"hsl\"===e&&(n=this.toHslString()),\"hsv\"===e&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return d(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(j,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(O,arguments)},saturate:function(){return this._applyModification(E,arguments)},greyscale:function(){return this._applyModification(S,arguments)},spin:function(){return this._applyModification(C,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(M,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(T,arguments)},triad:function(){return this._applyCombination(A,arguments)},tetrad:function(){return this._applyCombination(N,arguments)}},d.fromRatio=function(e,t){if(\"object\"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=\"a\"===r?e[r]:H(e[r]));e=n}return d(e,t)},d.equals=function(e,t){return!(!e||!t)&&d(e).toRgbString()==d(t).toRgbString()},d.random=function(){return d.fromRatio({r:f(),g:f(),b:f()})},d.mix=function(e,t,n){n=0===n?0:n||50;var r=d(e).toRgb(),o=d(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return d(a)},d.readability=function(e,t){var n=d(e),r=d(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},d.isReadable=function(e,t,n){var r,o,i=d.readability(e,t);switch(o=!1,r=$(n),r.level+r.size){case\"AAsmall\":case\"AAAlarge\":o=i>=4.5;break;case\"AAlarge\":o=i>=3;break;case\"AAAsmall\":o=i>=7;break}return o},d.mostReadable=function(e,t,n){var r,o,i,a,c=null,u=0;n=n||{},o=n.includeFallbackColors,i=n.level,a=n.size;for(var s=0;s<t.length;s++)r=d.readability(e,t[s]),r>u&&(u=r,c=d(t[s]));return d.isReadable(e,c,{level:i,size:a})||!o?c:(n.includeFallbackColors=!1,d.mostReadable(e,[\"#fff\",\"#000\"],n))};var L=d.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\"},D=d.hexNames=R(L);function R(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function F(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function B(e,t){G(e)&&(e=\"100%\");var n=V(e);return e=s(t,l(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function z(e){return s(1,l(0,e))}function U(e){return parseInt(e,16)}function G(e){return\"string\"==typeof e&&-1!=e.indexOf(\".\")&&1===parseFloat(e)}function V(e){return\"string\"===typeof e&&-1!=e.indexOf(\"%\")}function W(e){return 1==e.length?\"0\"+e:\"\"+e}function H(e){return e<=1&&(e=100*e+\"%\"),e}function Y(e){return o.round(255*parseFloat(e)).toString(16)}function X(e){return U(e)/255}var q=function(){var e=\"[-\\\\+]?\\\\d+%?\",t=\"[-\\\\+]?\\\\d*\\\\.\\\\d+%?\",n=\"(?:\"+t+\")|(?:\"+e+\")\",r=\"[\\\\s|\\\\(]+(\"+n+\")[,|\\\\s]+(\"+n+\")[,|\\\\s]+(\"+n+\")\\\\s*\\\\)?\",o=\"[\\\\s|\\\\(]+(\"+n+\")[,|\\\\s]+(\"+n+\")[,|\\\\s]+(\"+n+\")[,|\\\\s]+(\"+n+\")\\\\s*\\\\)?\";return{CSS_UNIT:new RegExp(n),rgb:new RegExp(\"rgb\"+r),rgba:new RegExp(\"rgba\"+o),hsl:new RegExp(\"hsl\"+r),hsla:new RegExp(\"hsla\"+o),hsv:new RegExp(\"hsv\"+r),hsva:new RegExp(\"hsva\"+o),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 K(e){return!!q.CSS_UNIT.exec(e)}function Z(e){e=e.replace(i,\"\").replace(a,\"\").toLowerCase();var t,n=!1;if(L[e])e=L[e],n=!0;else if(\"transparent\"==e)return{r:0,g:0,b:0,a:0,format:\"name\"};return(t=q.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=q.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=q.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=q.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=q.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=q.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=q.hex8.exec(e))?{r:U(t[1]),g:U(t[2]),b:U(t[3]),a:X(t[4]),format:n?\"name\":\"hex8\"}:(t=q.hex6.exec(e))?{r:U(t[1]),g:U(t[2]),b:U(t[3]),format:n?\"name\":\"hex\"}:(t=q.hex4.exec(e))?{r:U(t[1]+\"\"+t[1]),g:U(t[2]+\"\"+t[2]),b:U(t[3]+\"\"+t[3]),a:X(t[4]+\"\"+t[4]),format:n?\"name\":\"hex8\"}:!!(t=q.hex3.exec(e))&&{r:U(t[1]+\"\"+t[1]),g:U(t[2]+\"\"+t[2]),b:U(t[3]+\"\"+t[3]),format:n?\"name\":\"hex\"}}function $(e){var t,n;return e=e||{level:\"AA\",size:\"small\"},t=(e.level||\"AA\").toUpperCase(),n=(e.size||\"small\").toLowerCase(),\"AA\"!==t&&\"AAA\"!==t&&(t=\"AA\"),\"small\"!==n&&\"large\"!==n&&(n=\"small\"),{level:t,size:n}}e.exports?e.exports=d:(r=function(){return d}.call(t,n,t,e),void 0===r||(e.exports=r))})(Math)},ZvpZ:function(e,t,n){\"use strict\";var r=n(\"H4fg\"),o=n(\"wx14\"),i={locale:\"en_US\",today:\"Today\",now:\"Now\",backToToday:\"Back to today\",ok:\"OK\",clear:\"Clear\",month:\"Month\",year:\"Year\",timeSelect:\"select time\",dateSelect:\"select date\",weekSelect:\"Choose a week\",monthSelect:\"Choose a month\",yearSelect:\"Choose a year\",decadeSelect:\"Choose a decade\",yearFormat:\"YYYY\",dateFormat:\"M/D/YYYY\",dayFormat:\"D\",dateTimeFormat:\"M/D/YYYY HH:mm:ss\",monthBeforeYear:!0,previousMonth:\"Previous month (PageUp)\",nextMonth:\"Next month (PageDown)\",previousYear:\"Last year (Control + left)\",nextYear:\"Next year (Control + right)\",previousDecade:\"Last decade\",nextDecade:\"Next decade\",previousCentury:\"Last century\",nextCentury:\"Next century\"},a=i,c={placeholder:\"Select time\",rangePlaceholder:[\"Start time\",\"End time\"]},u=c,s={lang:Object(o[\"a\"])({placeholder:\"Select date\",yearPlaceholder:\"Select year\",quarterPlaceholder:\"Select quarter\",monthPlaceholder:\"Select month\",weekPlaceholder:\"Select week\",rangePlaceholder:[\"Start date\",\"End date\"],rangeYearPlaceholder:[\"Start year\",\"End year\"],rangeQuarterPlaceholder:[\"Start quarter\",\"End quarter\"],rangeMonthPlaceholder:[\"Start month\",\"End month\"],rangeWeekPlaceholder:[\"Start week\",\"End week\"]},a),timePickerLocale:Object(o[\"a\"])({},u)},l=s,f=l,d=\"${label} is not a valid ${type}\",h={locale:\"en\",Pagination:r[\"a\"],DatePicker:l,TimePicker:u,Calendar:f,global:{placeholder:\"Please select\"},Table:{filterTitle:\"Filter menu\",filterConfirm:\"OK\",filterReset:\"Reset\",filterEmptyText:\"No filters\",filterCheckall:\"Select all items\",filterSearchPlaceholder:\"Search in filters\",emptyText:\"No data\",selectAll:\"Select current page\",selectInvert:\"Invert current page\",selectNone:\"Clear all data\",selectionAll:\"Select all data\",sortTitle:\"Sort\",expand:\"Expand row\",collapse:\"Collapse row\",triggerDesc:\"Click to sort descending\",triggerAsc:\"Click to sort ascending\",cancelSort:\"Click to cancel sorting\"},Modal:{okText:\"OK\",cancelText:\"Cancel\",justOkText:\"OK\"},Popconfirm:{okText:\"OK\",cancelText:\"Cancel\"},Transfer:{titles:[\"\",\"\"],searchPlaceholder:\"Search here\",itemUnit:\"item\",itemsUnit:\"items\",remove:\"Remove\",selectCurrent:\"Select current page\",removeCurrent:\"Remove current page\",selectAll:\"Select all data\",removeAll:\"Remove all data\",selectInvert:\"Invert current page\"},Upload:{uploading:\"Uploading...\",removeFile:\"Remove file\",uploadError:\"Upload error\",previewFile:\"Preview file\",downloadFile:\"Download file\"},Empty:{description:\"No data\"},Icon:{icon:\"icon\"},Text:{edit:\"Edit\",copy:\"Copy\",copied:\"Copied\",expand:\"Expand\"},PageHeader:{back:\"Back\"},Form:{optional:\"(optional)\",defaultValidateMessages:{default:\"Field validation error for ${label}\",required:\"Please enter ${label}\",enum:\"${label} must be one of [${enum}]\",whitespace:\"${label} cannot be a blank character\",date:{format:\"${label} date format is invalid\",parse:\"${label} cannot be converted to a date\",invalid:\"${label} is an invalid date\"},types:{string:d,method:d,array:d,object:d,number:d,date:d,boolean:d,integer:d,float:d,regexp:d,email:d,url:d,hex:d},string:{len:\"${label} must be ${len} characters\",min:\"${label} must be at least ${min} characters\",max:\"${label} must be up to ${max} characters\",range:\"${label} must be between ${min}-${max} characters\"},number:{len:\"${label} must be equal to ${len}\",min:\"${label} must be minimum ${min}\",max:\"${label} must be maximum ${max}\",range:\"${label} must be between ${min}-${max}\"},array:{len:\"Must be ${len} ${label}\",min:\"At least ${min} ${label}\",max:\"At most ${max} ${label}\",range:\"The amount of ${label} must be between ${min}-${max}\"},pattern:{mismatch:\"${label} does not match the pattern ${pattern}\"}}},Image:{preview:\"Preview\"}};t[\"a\"]=h},ZxFD:function(e,t,n){\"use strict\";n.r(t),n.d(t,\"create\",(function(){return o})),n.d(t,\"clone\",(function(){return i})),n.d(t,\"fromValues\",(function(){return a})),n.d(t,\"copy\",(function(){return c})),n.d(t,\"set\",(function(){return u})),n.d(t,\"add\",(function(){return s})),n.d(t,\"subtract\",(function(){return l})),n.d(t,\"multiply\",(function(){return f})),n.d(t,\"divide\",(function(){return d})),n.d(t,\"ceil\",(function(){return h})),n.d(t,\"floor\",(function(){return p})),n.d(t,\"min\",(function(){return v})),n.d(t,\"max\",(function(){return g})),n.d(t,\"round\",(function(){return m})),n.d(t,\"scale\",(function(){return y})),n.d(t,\"scaleAndAdd\",(function(){return b})),n.d(t,\"distance\",(function(){return x})),n.d(t,\"squaredDistance\",(function(){return w})),n.d(t,\"length\",(function(){return O})),n.d(t,\"squaredLength\",(function(){return E})),n.d(t,\"negate\",(function(){return S})),n.d(t,\"inverse\",(function(){return j})),n.d(t,\"normalize\",(function(){return k})),n.d(t,\"dot\",(function(){return _})),n.d(t,\"cross\",(function(){return C})),n.d(t,\"lerp\",(function(){return M})),n.d(t,\"random\",(function(){return A})),n.d(t,\"transformMat2\",(function(){return N})),n.d(t,\"transformMat2d\",(function(){return T})),n.d(t,\"transformMat3\",(function(){return I})),n.d(t,\"transformMat4\",(function(){return P})),n.d(t,\"rotate\",(function(){return L})),n.d(t,\"angle\",(function(){return D})),n.d(t,\"zero\",(function(){return R})),n.d(t,\"str\",(function(){return F})),n.d(t,\"exactEquals\",(function(){return B})),n.d(t,\"equals\",(function(){return z})),n.d(t,\"len\",(function(){return U})),n.d(t,\"sub\",(function(){return G})),n.d(t,\"mul\",(function(){return V})),n.d(t,\"div\",(function(){return W})),n.d(t,\"dist\",(function(){return H})),n.d(t,\"sqrDist\",(function(){return Y})),n.d(t,\"sqrLen\",(function(){return X})),n.d(t,\"forEach\",(function(){return q}));var r=n(\"yU0y\");function o(){var e=new r[\"ARRAY_TYPE\"](2);return r[\"ARRAY_TYPE\"]!=Float32Array&&(e[0]=0,e[1]=0),e}function i(e){var t=new r[\"ARRAY_TYPE\"](2);return t[0]=e[0],t[1]=e[1],t}function a(e,t){var n=new r[\"ARRAY_TYPE\"](2);return n[0]=e,n[1]=t,n}function c(e,t){return e[0]=t[0],e[1]=t[1],e}function u(e,t,n){return e[0]=t,e[1]=n,e}function s(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function l(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function f(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e}function d(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e}function h(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e}function p(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e}function v(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function g(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}function m(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e}function y(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function b(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e}function x(e,t){var n=t[0]-e[0],r=t[1]-e[1];return Math.hypot(n,r)}function w(e,t){var n=t[0]-e[0],r=t[1]-e[1];return n*n+r*r}function O(e){var t=e[0],n=e[1];return Math.hypot(t,n)}function E(e){var t=e[0],n=e[1];return t*t+n*n}function S(e,t){return e[0]=-t[0],e[1]=-t[1],e}function j(e,t){return e[0]=1/t[0],e[1]=1/t[1],e}function k(e,t){var n=t[0],r=t[1],o=n*n+r*r;return o>0&&(o=1/Math.sqrt(o)),e[0]=t[0]*o,e[1]=t[1]*o,e}function _(e,t){return e[0]*t[0]+e[1]*t[1]}function C(e,t,n){var r=t[0]*n[1]-t[1]*n[0];return e[0]=e[1]=0,e[2]=r,e}function M(e,t,n,r){var o=t[0],i=t[1];return e[0]=o+r*(n[0]-o),e[1]=i+r*(n[1]-i),e}function A(e,t){t=t||1;var n=2*r[\"RANDOM\"]()*Math.PI;return e[0]=Math.cos(n)*t,e[1]=Math.sin(n)*t,e}function N(e,t,n){var r=t[0],o=t[1];return e[0]=n[0]*r+n[2]*o,e[1]=n[1]*r+n[3]*o,e}function T(e,t,n){var r=t[0],o=t[1];return e[0]=n[0]*r+n[2]*o+n[4],e[1]=n[1]*r+n[3]*o+n[5],e}function I(e,t,n){var r=t[0],o=t[1];return e[0]=n[0]*r+n[3]*o+n[6],e[1]=n[1]*r+n[4]*o+n[7],e}function P(e,t,n){var r=t[0],o=t[1];return e[0]=n[0]*r+n[4]*o+n[12],e[1]=n[1]*r+n[5]*o+n[13],e}function L(e,t,n,r){var o=t[0]-n[0],i=t[1]-n[1],a=Math.sin(r),c=Math.cos(r);return e[0]=o*c-i*a+n[0],e[1]=o*a+i*c+n[1],e}function D(e,t){var n=e[0],r=e[1],o=t[0],i=t[1],a=Math.sqrt(n*n+r*r)*Math.sqrt(o*o+i*i),c=a&&(n*o+r*i)/a;return Math.acos(Math.min(Math.max(c,-1),1))}function R(e){return e[0]=0,e[1]=0,e}function F(e){return\"vec2(\"+e[0]+\", \"+e[1]+\")\"}function B(e,t){return e[0]===t[0]&&e[1]===t[1]}function z(e,t){var n=e[0],o=e[1],i=t[0],a=t[1];return Math.abs(n-i)<=r[\"EPSILON\"]*Math.max(1,Math.abs(n),Math.abs(i))&&Math.abs(o-a)<=r[\"EPSILON\"]*Math.max(1,Math.abs(o),Math.abs(a))}var U=O,G=l,V=f,W=d,H=x,Y=w,X=E,q=function(){var e=o();return function(t,n,r,o,i,a){var c,u;for(n||(n=2),r||(r=0),u=o?Math.min(o*n+r,t.length):t.length,c=r;c<u;c+=n)e[0]=t[c],e[1]=t[c+1],i(e,e,a),t[c]=e[0],t[c+1]=e[1];return t}}()},a3WO:function(e,t,n){\"use strict\";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,\"a\",(function(){return r}))},\"a5/B\":function(e,t,n){var r=n(\"I+eb\");r({target:\"Math\",stat:!0},{umulh:function(e,t){var n=65535,r=+e,o=+t,i=r&n,a=o&n,c=r>>>16,u=o>>>16,s=(c*a>>>0)+(i*a>>>16);return c*u+(s>>>16)+((i*u>>>0)+(s&n)>>>16)}})},a57n:function(e,t,n){var r=n(\"dG/n\");r(\"search\")},aI7X:function(e,t,n){\"use strict\";var r=\"Function.prototype.bind called on incompatible \",o=Array.prototype.slice,i=Object.prototype.toString,a=\"[object Function]\";e.exports=function(e){var t=this;if(\"function\"!==typeof t||i.call(t)!==a)throw new TypeError(r+t);for(var n,c=o.call(arguments,1),u=function(){if(this instanceof n){var r=t.apply(this,c.concat(o.call(arguments)));return Object(r)===r?r:this}return t.apply(e,c.concat(o.call(arguments)))},s=Math.max(0,t.length-c.length),l=[],f=0;f<s;f++)l.push(\"$\"+f);if(n=Function(\"binder\",\"return function (\"+l.join(\",\")+\"){ return binder.apply(this,arguments); }\")(u),t.prototype){var d=function(){};d.prototype=t.prototype,n.prototype=new d,d.prototype=null}return n}},aSns:function(e,t,n){\"use strict\";var r=n(\"GrlX\"),o=n(\"uxXc\"),i=[].slice,a=[\"keyword\",\"gray\",\"hex\"],c={};Object.keys(o).forEach((function(e){c[i.call(o[e].labels).sort().join(\"\")]=e}));var u={};function s(e,t){if(!(this instanceof s))return new s(e,t);if(t&&t in a&&(t=null),t&&!(t in o))throw new Error(\"Unknown model: \"+t);var n,l;if(null==e)this.model=\"rgb\",this.color=[0,0,0],this.valpha=1;else if(e instanceof s)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;else if(\"string\"===typeof e){var f=r.get(e);if(null===f)throw new Error(\"Unable to parse color from string: \"+e);this.model=f.model,l=o[this.model].channels,this.color=f.value.slice(0,l),this.valpha=\"number\"===typeof f.value[l]?f.value[l]:1}else if(e.length){this.model=t||\"rgb\",l=o[this.model].channels;var d=i.call(e,0,l);this.color=v(d,l),this.valpha=\"number\"===typeof e[l]?e[l]:1}else if(\"number\"===typeof e)e&=16777215,this.model=\"rgb\",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;var h=Object.keys(e);\"alpha\"in e&&(h.splice(h.indexOf(\"alpha\"),1),this.valpha=\"number\"===typeof e.alpha?e.alpha:0);var p=h.sort().join(\"\");if(!(p in c))throw new Error(\"Unable to parse color from object: \"+JSON.stringify(e));this.model=c[p];var g=o[this.model].labels,m=[];for(n=0;n<g.length;n++)m.push(e[g[n]]);this.color=v(m)}if(u[this.model])for(l=o[this.model].channels,n=0;n<l;n++){var y=u[this.model][n];y&&(this.color[n]=y(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function l(e,t){return Number(e.toFixed(t))}function f(e){return function(t){return l(t,e)}}function d(e,t,n){return e=Array.isArray(e)?e:[e],e.forEach((function(e){(u[e]||(u[e]=[]))[t]=n})),e=e[0],function(r){var o;return arguments.length?(n&&(r=n(r)),o=this[e](),o.color[t]=r,o):(o=this[e]().color[t],n&&(o=n(o)),o)}}function h(e){return function(t){return Math.max(0,Math.min(e,t))}}function p(e){return Array.isArray(e)?e:[e]}function v(e,t){for(var n=0;n<t;n++)\"number\"!==typeof e[n]&&(e[n]=0);return e}s.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(e){var t=this.model in r.to?this:this.rgb();t=t.round(\"number\"===typeof e?e:1);var n=1===t.valpha?t.color:t.color.concat(this.valpha);return r.to[t.model](n)},percentString:function(e){var t=this.rgb().round(\"number\"===typeof e?e:1),n=1===t.valpha?t.color:t.color.concat(this.valpha);return r.to.rgb.percent(n)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var e={},t=o[this.model].channels,n=o[this.model].labels,r=0;r<t;r++)e[n[r]]=this.color[r];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray:function(){var e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject:function(){var e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round:function(e){return e=Math.max(e||0,0),new s(this.color.map(f(e)).concat(this.valpha),this.model)},alpha:function(e){return arguments.length?new s(this.color.concat(Math.max(0,Math.min(1,e))),this.model):this.valpha},red:d(\"rgb\",0,h(255)),green:d(\"rgb\",1,h(255)),blue:d(\"rgb\",2,h(255)),hue:d([\"hsl\",\"hsv\",\"hsl\",\"hwb\",\"hcg\"],0,(function(e){return(e%360+360)%360})),saturationl:d(\"hsl\",1,h(100)),lightness:d(\"hsl\",2,h(100)),saturationv:d(\"hsv\",1,h(100)),value:d(\"hsv\",2,h(100)),chroma:d(\"hcg\",1,h(100)),gray:d(\"hcg\",2,h(100)),white:d(\"hwb\",1,h(100)),wblack:d(\"hwb\",2,h(100)),cyan:d(\"cmyk\",0,h(100)),magenta:d(\"cmyk\",1,h(100)),yellow:d(\"cmyk\",2,h(100)),black:d(\"cmyk\",3,h(100)),x:d(\"xyz\",0,h(100)),y:d(\"xyz\",1,h(100)),z:d(\"xyz\",2,h(100)),l:d(\"lab\",0,h(100)),a:d(\"lab\",1),b:d(\"lab\",2),keyword:function(e){return arguments.length?new s(e):o[this.model].keyword(this.color)},hex:function(e){return arguments.length?new s(e):r.to.hex(this.rgb().round().color)},rgbNumber:function(){var e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity:function(){for(var e=this.rgb().color,t=[],n=0;n<e.length;n++){var r=e[n]/255;t[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?\"AAA\":t>=4.5?\"AA\":\"\"},isDark:function(){var e=this.rgb().color,t=(299*e[0]+587*e[1]+114*e[2])/1e3;return t<128},isLight:function(){return!this.isDark()},negate:function(){for(var e=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten:function(e){var t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken:function(e){var t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate:function(e){var t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate:function(e){var t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten:function(e){var t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken:function(e){var t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale:function(){var e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return s.rgb(t,t,t)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var t=this.hsl(),n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix:function(e,t){if(!e||!e.rgb)throw new Error('Argument to \"mix\" was not a Color instance, but rather an instance of '+typeof e);var n=e.rgb(),r=this.rgb(),o=void 0===t?.5:t,i=2*o-1,a=n.alpha()-r.alpha(),c=((i*a===-1?i:(i+a)/(1+i*a))+1)/2,u=1-c;return s.rgb(c*n.red()+u*r.red(),c*n.green()+u*r.green(),c*n.blue()+u*r.blue(),n.alpha()*o+r.alpha()*(1-o))}},Object.keys(o).forEach((function(e){if(-1===a.indexOf(e)){var t=o[e].channels;s.prototype[e]=function(){if(this.model===e)return new s(this);if(arguments.length)return new s(arguments,e);var n=\"number\"===typeof arguments[t]?t:this.valpha;return new s(p(o[this.model][e].raw(this.color)).concat(n),e)},s[e]=function(n){return\"number\"===typeof n&&(n=v(i.call(arguments),t)),new s(n,e)}}})),e.exports=s},adU4:function(e,t,n){var r=n(\"y1pI\"),o=Array.prototype,i=o.splice;function a(e){var t=this.__data__,n=r(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():i.call(t,n,1),--this.size,!0}e.exports=a},afO8:function(e,t,n){var r,o,i,a=n(\"f5p1\"),c=n(\"2oRo\"),u=n(\"hh1v\"),s=n(\"kRJp\"),l=n(\"UTVS\"),f=n(\"93I0\"),d=n(\"0BK2\"),h=c.WeakMap,p=function(e){return i(e)?o(e):r(e,{})},v=function(e){return function(t){var n;if(!u(t)||(n=o(t)).type!==e)throw TypeError(\"Incompatible receiver, \"+e+\" required\");return n}};if(a){var g=new h,m=g.get,y=g.has,b=g.set;r=function(e,t){return b.call(g,e,t),t},o=function(e){return m.call(g,e)||{}},i=function(e){return y.call(g,e)}}else{var x=f(\"state\");d[x]=!0,r=function(e,t){return s(e,x,t),t},o=function(e){return l(e,x)?e[x]:{}},i=function(e){return l(e,x)}}e.exports={set:r,get:o,has:i,enforce:p,getterFor:v}},apDx:function(e,t,n){var r=n(\"dG/n\");r(\"dispose\")},aqBw:function(e,t,n){(function(e,r){var o;(function(i){var a=t,c=(e&&e.exports,\"object\"==typeof r&&r);c.global!==c&&c.window;var u=function(e){this.message=e};u.prototype=new Error,u.prototype.name=\"InvalidCharacterError\";var s=function(e){throw new u(e)},l=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",f=/[\\t\\n\\f\\r ]/g,d=function(e){e=String(e).replace(f,\"\");var t=e.length;t%4==0&&(e=e.replace(/==?$/,\"\"),t=e.length),(t%4==1||/[^+a-zA-Z0-9/]/.test(e))&&s(\"Invalid character: the string to be decoded is not correctly encoded.\");var n,r,o=0,i=\"\",a=-1;while(++a<t)r=l.indexOf(e.charAt(a)),n=o%4?64*n+r:r,o++%4&&(i+=String.fromCharCode(255&n>>(-2*o&6)));return i},h=function(e){e=String(e),/[^\\0-\\xFF]/.test(e)&&s(\"The string to be encoded contains characters outside of the Latin1 range.\");var t,n,r,o,i=e.length%3,a=\"\",c=-1,u=e.length-i;while(++c<u)t=e.charCodeAt(c)<<16,n=e.charCodeAt(++c)<<8,r=e.charCodeAt(++c),o=t+n+r,a+=l.charAt(o>>18&63)+l.charAt(o>>12&63)+l.charAt(o>>6&63)+l.charAt(63&o);return 2==i?(t=e.charCodeAt(c)<<8,n=e.charCodeAt(++c),o=t+n,a+=l.charAt(o>>10)+l.charAt(o>>4&63)+l.charAt(o<<2&63)+\"=\"):1==i&&(o=e.charCodeAt(c),a+=l.charAt(o>>2)+l.charAt(o<<4&63)+\"==\"),a},p={encode:h,decode:d,version:\"1.0.0\"};o=function(){return p}.call(t,n,t,e),void 0===o||(e.exports=o)})()}).call(this,n(\"hOG+\")(e),n(\"IyRk\"))},auQ1:function(e,t,n){\"use strict\";e.exports=n(\"L8im\")},aztm:function(e,t,n){\"use strict\";n.r(t),n.d(t,\"matchRoutes\",(function(){return c})),n.d(t,\"renderRoutes\",(function(){return u}));var r=n(\"Ty5D\"),o=n(\"wx14\"),i=n(\"q1tI\"),a=n.n(i);function c(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var o=e.path?Object(r[\"i\"])(t,e):n.length?n[n.length-1].match:r[\"e\"].computeRootMatch(t);return o&&(n.push({route:e,match:o}),e.routes&&c(e.routes,t,n)),o})),n}function u(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?a.a.createElement(r[\"g\"],n,e.map((function(e,n){return a.a.createElement(r[\"d\"],{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render(Object(o[\"a\"])({},n,{},t,{route:e})):a.a.createElement(e.component,Object(o[\"a\"])({},n,t,{route:e}))}})}))):null}},b1O7:function(e,t,n){var r=n(\"g6v/\"),o=n(\"33Wh\"),i=n(\"/GqU\"),a=n(\"0eef\").f,c=function(e){return function(t){var n,c=i(t),u=o(c),s=u.length,l=0,f=[];while(s>l)n=u[l++],r&&!a.call(c,n)||f.push(e?[n,c[n]]:c[n]);return f}};e.exports={entries:c(!0),values:c(!1)}},b3aT:function(e,t,n){\"use strict\";function r(e,t){i(e)&&(e=\"100%\");var n=a(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t)),e)}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return\"string\"===typeof e&&-1!==e.indexOf(\".\")&&1===parseFloat(e)}function a(e){return\"string\"===typeof e&&-1!==e.indexOf(\"%\")}function c(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function u(e){return e<=1?\"\".concat(100*Number(e),\"%\"):e}function s(e){return 1===e.length?\"0\"+e:String(e)}n.d(t,\"a\",(function(){return r})),n.d(t,\"c\",(function(){return o})),n.d(t,\"b\",(function(){return c})),n.d(t,\"d\",(function(){return u})),n.d(t,\"e\",(function(){return s}))},b80T:function(e,t,n){var r=n(\"UNi/\"),o=n(\"03A+\"),i=n(\"Z0cm\"),a=n(\"DSRE\"),c=n(\"wJg7\"),u=n(\"c6wG\"),s=Object.prototype,l=s.hasOwnProperty;function f(e,t){var n=i(e),s=!n&&o(e),f=!n&&!s&&a(e),d=!n&&!s&&!f&&u(e),h=n||s||f||d,p=h?r(e.length,String):[],v=p.length;for(var g in e)!t&&!l.call(e,g)||h&&(\"length\"==g||f&&(\"offset\"==g||\"parent\"==g)||d&&(\"buffer\"==g||\"byteLength\"==g||\"byteOffset\"==g)||c(g,v))||p.push(g);return p}e.exports=f},b8AE:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(e,t){if(\"next\"!==e&&\"prev\"!==e)return t},o=function(e){e.prev.next=e.next,e.next.prev=e.prev,delete e.next,delete e.prev},i=function(){function e(){var e={};e.prev=e,e.next=e.prev,this.shortcut=e}return e.prototype.dequeue=function(){var e=this.shortcut,t=e.prev;if(t&&t!==e)return o(t),t},e.prototype.enqueue=function(e){var t=this.shortcut;e.prev&&e.next&&o(e),e.next=t.next,t.next.prev=e,t.next=e,e.prev=t},e.prototype.toString=function(){var e=[],t=this.shortcut,n=t.prev;while(n!==t)e.push(JSON.stringify(n,r)),n=null===n||void 0===n?void 0:n.prev;return\"[\".concat(e.join(\", \"),\"]\")},e}();t.default=i},bCY9:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(\"rlch\"),o=new r[\"b\"]({validKeys:[\"modifyClientRenderOpts\",\"patchRoutes\",\"rootContainer\",\"render\",\"onRouteChange\",\"__mfsu\",\"getInitialState\",\"initialStateConfig\",\"request\"]})},bFeb:function(e,t,n){var r=n(\"I+eb\"),o=n(\"2oRo\");r({global:!0},{globalThis:o})},bHM7:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(\"OXnU\"),o=function(e,t,n){var o=i(e),a=new r.Graph({compound:!0}).setGraph({root:o}).setDefaultNodeLabel((function(t){return e.node(t)}));return e.nodes().forEach((function(r){var i,c=e.node(r),u=e.parent(r);(c.rank===t||c.minRank<=t&&t<=c.maxRank)&&(a.setNode(r),a.setParent(r,u||o),null===(i=e[n](r))||void 0===i||i.forEach((function(t){var n=t.v===r?t.w:t.v,o=a.edgeFromArgs(n,r),i=void 0!==o?o.weight:0;a.setEdge(n,r,{weight:e.edge(t).weight+i})})),c.hasOwnProperty(\"minRank\")&&a.setNode(r,{borderLeft:c.borderLeft[t],borderRight:c.borderRight[t]}))})),a},i=function(e){var t;while(e.hasNode(t=\"_root\".concat(Math.random())));return t};t.default=o},bKJz:function(e,t,n){},bQjk:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"OLod\"))})(0,(function(e){return function(t){var n=e,r=n.lib,o=r.CipherParams,i=n.enc,a=i.Hex,c=n.format;c.Hex={stringify:function(e){return e.ciphertext.toString(a)},parse:function(e){var t=a.parse(e);return o.create({ciphertext:t})}}}(),e.format.Hex}))},bWFh:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"2oRo\"),i=n(\"lMq5\"),a=n(\"busE\"),c=n(\"8YOa\"),u=n(\"ImZN\"),s=n(\"GarU\"),l=n(\"hh1v\"),f=n(\"0Dky\"),d=n(\"HH4o\"),h=n(\"1E5z\"),p=n(\"cVYH\");e.exports=function(e,t,n){var v=-1!==e.indexOf(\"Map\"),g=-1!==e.indexOf(\"Weak\"),m=v?\"set\":\"add\",y=o[e],b=y&&y.prototype,x=y,w={},O=function(e){var t=b[e];a(b,e,\"add\"==e?function(e){return t.call(this,0===e?0:e),this}:\"delete\"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:\"get\"==e?function(e){return g&&!l(e)?void 0:t.call(this,0===e?0:e)}:\"has\"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,\"function\"!=typeof y||!(g||b.forEach&&!f((function(){(new y).entries().next()})))))x=n.getConstructor(t,e,v,m),c.REQUIRED=!0;else if(i(e,!0)){var E=new x,S=E[m](g?{}:-0,1)!=E,j=f((function(){E.has(1)})),k=d((function(e){new y(e)})),_=!g&&f((function(){var e=new y,t=5;while(t--)e[m](t,t);return!e.has(-0)}));k||(x=t((function(t,n){s(t,x,e);var r=p(new y,t,x);return void 0!=n&&u(n,r[m],r,v),r})),x.prototype=b,b.constructor=x),(j||_)&&(O(\"delete\"),O(\"has\"),v&&O(\"get\")),(_||S)&&O(m),g&&b.clear&&delete b.clear}return w[e]=x,r({global:!0,forced:x!=y},w),h(x,e),g||n.setStrong(x,e,v),x}},bXwC:function(e,t,n){},bZMm:function(e,t,n){\"use strict\";n.r(t),n.d(t,\"Headers\",(function(){return f})),n.d(t,\"Request\",(function(){return w})),n.d(t,\"Response\",(function(){return S})),n.d(t,\"DOMException\",(function(){return k})),n.d(t,\"fetch\",(function(){return _}));var r=\"undefined\"!==typeof globalThis&&globalThis||\"undefined\"!==typeof self&&self||\"undefined\"!==typeof r&&r,o={searchParams:\"URLSearchParams\"in r,iterable:\"Symbol\"in r&&\"iterator\"in Symbol,blob:\"FileReader\"in r&&\"Blob\"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:\"FormData\"in r,arrayBuffer:\"ArrayBuffer\"in r};function i(e){return e&&DataView.prototype.isPrototypeOf(e)}if(o.arrayBuffer)var a=[\"[object Int8Array]\",\"[object Uint8Array]\",\"[object Uint8ClampedArray]\",\"[object Int16Array]\",\"[object Uint16Array]\",\"[object Int32Array]\",\"[object Uint32Array]\",\"[object Float32Array]\",\"[object Float64Array]\"],c=ArrayBuffer.isView||function(e){return e&&a.indexOf(Object.prototype.toString.call(e))>-1};function u(e){if(\"string\"!==typeof e&&(e=String(e)),/[^a-z0-9\\-#$%&'*+.^_`|~!]/i.test(e)||\"\"===e)throw new TypeError('Invalid character in header field name: \"'+e+'\"');return e.toLowerCase()}function s(e){return\"string\"!==typeof e&&(e=String(e)),e}function l(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return o.iterable&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function d(e){if(e.bodyUsed)return Promise.reject(new TypeError(\"Already read\"));e.bodyUsed=!0}function h(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function p(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function v(e){var t=new FileReader,n=h(t);return t.readAsText(e),n}function g(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join(\"\")}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?\"string\"===typeof e?this._bodyText=e:o.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:o.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():o.arrayBuffer&&o.blob&&i(e)?(this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||c(e))?this._bodyArrayBuffer=m(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText=\"\",this.headers.get(\"content-type\")||(\"string\"===typeof e?this.headers.set(\"content-type\",\"text/plain;charset=UTF-8\"):this._bodyBlob&&this._bodyBlob.type?this.headers.set(\"content-type\",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set(\"content-type\",\"application/x-www-form-urlencoded;charset=UTF-8\"))},o.blob&&(this.blob=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error(\"could not read FormData body as blob\");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=d(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(p)}),this.text=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return v(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(g(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error(\"could not read FormData body as text\");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(O)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=u(e),t=s(t);var n=this.map[e];this.map[e]=n?n+\", \"+t:t},f.prototype[\"delete\"]=function(e){delete this.map[u(e)]},f.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},f.prototype.set=function(e,t){this.map[u(e)]=s(t)},f.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),l(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),l(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),l(e)},o.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);var b=[\"DELETE\",\"GET\",\"HEAD\",\"OPTIONS\",\"POST\",\"PUT\"];function x(e){var t=e.toUpperCase();return b.indexOf(t)>-1?t:e}function w(e,t){if(!(this instanceof w))throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.');t=t||{};var n=t.body;if(e instanceof w){if(e.bodyUsed)throw new TypeError(\"Already read\");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new f(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||\"same-origin\",!t.headers&&this.headers||(this.headers=new f(t.headers)),this.method=x(t.method||this.method||\"GET\"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,(\"GET\"===this.method||\"HEAD\"===this.method)&&n)throw new TypeError(\"Body not allowed for GET or HEAD requests\");if(this._initBody(n),(\"GET\"===this.method||\"HEAD\"===this.method)&&(\"no-store\"===t.cache||\"no-cache\"===t.cache)){var r=/([?&])_=[^&]*/;if(r.test(this.url))this.url=this.url.replace(r,\"$1_=\"+(new Date).getTime());else{var o=/\\?/;this.url+=(o.test(this.url)?\"&\":\"?\")+\"_=\"+(new Date).getTime()}}}function O(e){var t=new FormData;return e.trim().split(\"&\").forEach((function(e){if(e){var n=e.split(\"=\"),r=n.shift().replace(/\\+/g,\" \"),o=n.join(\"=\").replace(/\\+/g,\" \");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function E(e){var t=new f,n=e.replace(/\\r?\\n[\\t ]+/g,\" \");return n.split(\"\\r\").map((function(e){return 0===e.indexOf(\"\\n\")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(\":\"),r=n.shift().trim();if(r){var o=n.join(\":\").trim();t.append(r,o)}})),t}function S(e,t){if(!(this instanceof S))throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type=\"default\",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?\"\":\"\"+t.statusText,this.headers=new f(t.headers),this.url=t.url||\"\",this._initBody(e)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},y.call(w.prototype),y.call(S.prototype),S.prototype.clone=function(){return new S(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},S.error=function(){var e=new S(null,{status:0,statusText:\"\"});return e.type=\"error\",e};var j=[301,302,303,307,308];S.redirect=function(e,t){if(-1===j.indexOf(t))throw new RangeError(\"Invalid status code\");return new S(null,{status:t,headers:{location:e}})};var k=r.DOMException;try{new k}catch(C){k=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},k.prototype=Object.create(Error.prototype),k.prototype.constructor=k}function _(e,t){return new Promise((function(n,i){var a=new w(e,t);if(a.signal&&a.signal.aborted)return i(new k(\"Aborted\",\"AbortError\"));var c=new XMLHttpRequest;function u(){c.abort()}function l(e){try{return\"\"===e&&r.location.href?r.location.href:e}catch(t){return e}}c.onload=function(){var e={status:c.status,statusText:c.statusText,headers:E(c.getAllResponseHeaders()||\"\")};e.url=\"responseURL\"in c?c.responseURL:e.headers.get(\"X-Request-URL\");var t=\"response\"in c?c.response:c.responseText;setTimeout((function(){n(new S(t,e))}),0)},c.onerror=function(){setTimeout((function(){i(new TypeError(\"Network request failed\"))}),0)},c.ontimeout=function(){setTimeout((function(){i(new TypeError(\"Network request failed\"))}),0)},c.onabort=function(){setTimeout((function(){i(new k(\"Aborted\",\"AbortError\"))}),0)},c.open(a.method,l(a.url),!0),\"include\"===a.credentials?c.withCredentials=!0:\"omit\"===a.credentials&&(c.withCredentials=!1),\"responseType\"in c&&(o.blob?c.responseType=\"blob\":o.arrayBuffer&&a.headers.get(\"Content-Type\")&&-1!==a.headers.get(\"Content-Type\").indexOf(\"application/octet-stream\")&&(c.responseType=\"arraybuffer\")),!t||\"object\"!==typeof t.headers||t.headers instanceof f?a.headers.forEach((function(e,t){c.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){c.setRequestHeader(e,s(t.headers[e]))})),a.signal&&(a.signal.addEventListener(\"abort\",u),c.onreadystatechange=function(){4===c.readyState&&a.signal.removeEventListener(\"abort\",u)}),c.send(\"undefined\"===typeof a._bodyInit?null:a._bodyInit)}))}_.polyfill=!0,r.fetch||(r.fetch=_,r.Headers=f,r.Request=w,r.Response=S)},bdeN:function(e,t,n){var r=n(\"I+eb\"),o=n(\"eDxR\"),i=n(\"glrk\"),a=n(\"4WOD\"),c=o.has,u=o.toKey,s=function(e,t,n){var r=c(e,t,n);if(r)return!0;var o=a(t);return null!==o&&s(e,o,n)};r({target:\"Reflect\",stat:!0},{hasMetadata:function(e,t){var n=arguments.length<3?void 0:u(arguments[2]);return s(e,i(t),n)}})},bdgK:function(e,t,n){\"use strict\";(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__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),r=\"undefined\"!==typeof window&&\"undefined\"!==typeof document&&window.document===document,o=function(){return\"undefined\"!==typeof e&&e.Math===Math?e:\"undefined\"!==typeof self&&self.Math===Math?self:\"undefined\"!==typeof window&&window.Math===Math?window:Function(\"return this\")()}(),i=function(){return\"function\"===typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)}}(),a=2;function c(e,t){var n=!1,r=!1,o=0;function c(){n&&(n=!1,e()),r&&s()}function u(){i(c)}function s(){var e=Date.now();if(n){if(e-o<a)return;r=!0}else n=!0,r=!1,setTimeout(u,t);o=e}return s}var u=20,s=[\"top\",\"right\",\"bottom\",\"left\",\"width\",\"height\",\"size\",\"weight\"],l=\"undefined\"!==typeof MutationObserver,f=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=c(this.refresh.bind(this),u)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener(\"transitionend\",this.onTransitionEnd_),window.addEventListener(\"resize\",this.refresh),l?(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,r=s.some((function(e){return!!~n.indexOf(e)}));r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),d=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},h=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||o},p=S(0,0,0,0);function v(e){return parseFloat(e)||0}function g(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){var r=e[\"border-\"+n+\"-width\"];return t+v(r)}),0)}function m(e){for(var t=[\"top\",\"right\",\"bottom\",\"left\"],n={},r=0,o=t;r<o.length;r++){var i=o[r],a=e[\"padding-\"+i];n[i]=v(a)}return n}function y(e){var t=e.getBBox();return S(0,0,t.width,t.height)}function b(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=h(e).getComputedStyle(e),o=m(r),i=o.left+o.right,a=o.top+o.bottom,c=v(r.width),u=v(r.height);if(\"border-box\"===r.boxSizing&&(Math.round(c+i)!==t&&(c-=g(r,\"left\",\"right\")+i),Math.round(u+a)!==n&&(u-=g(r,\"top\",\"bottom\")+a)),!w(e)){var s=Math.round(c+i)-t,l=Math.round(u+a)-n;1!==Math.abs(s)&&(c-=s),1!==Math.abs(l)&&(u-=l)}return S(o.left,o.top,c,u)}var x=function(){return\"undefined\"!==typeof SVGGraphicsElement?function(e){return e instanceof h(e).SVGGraphicsElement}:function(e){return e instanceof h(e).SVGElement&&\"function\"===typeof e.getBBox}}();function w(e){return e===h(e).document.documentElement}function O(e){return r?x(e)?y(e):b(e):p}function E(e){var t=e.x,n=e.y,r=e.width,o=e.height,i=\"undefined\"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(i.prototype);return d(a,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),a}function S(e,t,n,r){return{x:e,y:t,width:n,height:r}}var j=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=S(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=O(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),k=function(){function e(e,t){var n=E(t);d(this,{target:e,contentRect:n})}return e}(),_=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,\"function\"!==typeof e)throw new TypeError(\"The callback provided as parameter 1 is not a function.\");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError(\"1 argument required, but only 0 present.\");if(\"undefined\"!==typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw new TypeError('parameter 1 is not of type \"Element\".');var t=this.observations_;t.has(e)||(t.set(e,new j(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError(\"1 argument required, but only 0 present.\");if(\"undefined\"!==typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw new TypeError('parameter 1 is not of type \"Element\".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new k(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),C=\"undefined\"!==typeof WeakMap?new WeakMap:new n,M=function(){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=f.getInstance(),r=new _(t,n,this);C.set(this,r)}return e}();[\"observe\",\"unobserve\",\"disconnect\"].forEach((function(e){M.prototype[e]=function(){var t;return(t=C.get(this))[e].apply(t,arguments)}}));var A=function(){return\"undefined\"!==typeof o.ResizeObserver?o.ResizeObserver:M}();t[\"a\"]=A}).call(this,n(\"IyRk\"))},bfL6:function(e,t,n){var r=n(\"mGKP\");function o(e,t){var n=\"undefined\"!==typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(!n){if(Array.isArray(e)||(n=r(e))||t&&e&&\"number\"===typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},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 a,c=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){u=!0,a=e},f:function(){try{c||null==n[\"return\"]||n[\"return\"]()}finally{if(u)throw a}}}}e.exports=o,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},bmMU:function(e,t){var n=\"undefined\"!==typeof Element,r=\"function\"===typeof Map,o=\"function\"===typeof Set,i=\"function\"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,t){if(e===t)return!0;if(e&&t&&\"object\"==typeof e&&\"object\"==typeof t){if(e.constructor!==t.constructor)return!1;var c,u,s,l;if(Array.isArray(e)){if(c=e.length,c!=t.length)return!1;for(u=c;0!==u--;)if(!a(e[u],t[u]))return!1;return!0}if(r&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;l=e.entries();while(!(u=l.next()).done)if(!t.has(u.value[0]))return!1;l=e.entries();while(!(u=l.next()).done)if(!a(u.value[1],t.get(u.value[0])))return!1;return!0}if(o&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;l=e.entries();while(!(u=l.next()).done)if(!t.has(u.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(c=e.length,c!=t.length)return!1;for(u=c;0!==u--;)if(e[u]!==t[u])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(s=Object.keys(e),c=s.length,c!==Object.keys(t).length)return!1;for(u=c;0!==u--;)if(!Object.prototype.hasOwnProperty.call(t,s[u]))return!1;if(n&&e instanceof Element)return!1;for(u=c;0!==u--;)if((\"_owner\"!==s[u]&&\"__v\"!==s[u]&&\"__o\"!==s[u]||!e.$$typeof)&&!a(e[s[u]],t[s[u]]))return!1;return!0}return e!==e&&t!==t}e.exports=function(e,t){try{return a(e,t)}catch(n){if((n.message||\"\").match(/stack|recursion/i))return console.warn(\"react-fast-compare cannot handle circular refs\"),!1;throw n}}},busE:function(e,t,n){var r=n(\"2oRo\"),o=n(\"kRJp\"),i=n(\"UTVS\"),a=n(\"zk60\"),c=n(\"iSVu\"),u=n(\"afO8\"),s=u.get,l=u.enforce,f=String(String).split(\"String\");(e.exports=function(e,t,n,c){var u=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,d=!!c&&!!c.noTargetGet;\"function\"==typeof n&&(\"string\"!=typeof t||i(n,\"name\")||o(n,\"name\",t),l(n).source=f.join(\"string\"==typeof t?t:\"\")),e!==r?(u?!d&&e[t]&&(s=!0):delete e[t],s?e[t]=n:o(e,t,n)):s?e[t]=n:a(t,n)})(Function.prototype,\"toString\",(function(){return\"function\"==typeof this&&s(this).source||c(this)}))},bw0O:function(e,t,n){\"use strict\";e.exports=n(\"mW11\")},\"c+Xe\":function(e,t,n){\"use strict\";n.d(t,\"b\",(function(){return a})),n.d(t,\"a\",(function(){return c})),n.d(t,\"d\",(function(){return u})),n.d(t,\"c\",(function(){return s}));var r=n(\"U8pU\"),o=n(\"TOwV\"),i=n(\"YrtM\");function a(e,t){\"function\"===typeof e?e(t):\"object\"===Object(r[\"a\"])(e)&&e&&\"current\"in e&&(e.current=t)}function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter((function(e){return e}));return r.length<=1?r[0]:function(e){t.forEach((function(t){a(t,e)}))}}function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Object(i[\"a\"])((function(){return c.apply(void 0,t)}),t,(function(e,t){return e.length===t.length&&e.every((function(e,n){return e===t[n]}))}))}function s(e){var t,n,r=Object(o[\"isMemo\"])(e)?e.type.type:e.type;return!(\"function\"===typeof r&&!(null===(t=r.prototype)||void 0===t?void 0:t.render))&&!(\"function\"===typeof e&&!(null===(n=e.prototype)||void 0===n?void 0:n.render))}},c0go:function(e,t,n){\"use strict\";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),i=0;i<r.length;i++){var a=r[i],c=e[a];(o?-1!==t.indexOf(a):t(a,c,e))&&(n[a]=c)}return n}},c162:function(e,t,n){\"use strict\";var r=n(\"67WC\"),o=n(\"gdVl\"),i=r.aTypedArray,a=r.exportTypedArrayMethod;a(\"fill\",(function(e){return o.apply(i(this),arguments)}))},c6wG:function(e,t,n){var r=n(\"dD9F\"),o=n(\"sEf8\"),i=n(\"mdPL\"),a=i&&i.isTypedArray,c=a?o(a):r;e.exports=c},c9m3:function(e,t,n){var r=n(\"RNIs\");r(\"flatMap\")},cDf5:function(e,t){function n(t){return e.exports=n=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},e.exports.__esModule=!0,e.exports[\"default\"]=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},cEnC:function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,\"__esModule\",{value:!0}),t.getLayoutByName=t.unRegisterLayout=t.registerLayout=void 0;var o=n(\"W8mN\"),i=n(\"8nGZ\"),a=new Map,c=function(e,t){if(a.get(e)&&console.warn(\"The layout with the name \".concat(e,\" exists already, it will be overridden\")),(0,i.isObject)(t)){var n=function(e){function n(n){var r=e.call(this)||this,o=r,i={},a=o.getDefaultCfg();return Object.assign(i,a,t,n),Object.keys(i).forEach((function(e){var t=i[e];o[e]=t})),r}return r(n,e),n}(o.Base);a.set(e,n)}else a.set(e,t);return a.get(e)};t.registerLayout=c;var u=function(e){a.has(e)&&a.delete(e)};t.unRegisterLayout=u;var s=function(e){return a.has(e)?a.get(e):null};t.getLayoutByName=s},cOPa:function(e,t,n){var r=n(\"I+eb\"),o=Math.min,i=Math.max;r({target:\"Math\",stat:!0},{clamp:function(e,t,n){return o(n,i(t,e))}})},cRxj:function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0}),t.RadialLayout=void 0;var i=n(\"8nGZ\"),a=n(\"W8mN\"),c=o(n(\"Pdwu\")),u=o(n(\"VAEr\"));function s(e){for(var t=e.length,n=e[0].length,r=[],o=0;o<t;o++){for(var i=[],a=0;a<n;a++)0!==e[o][a]?i.push(1/(e[o][a]*e[o][a])):i.push(0);r.push(i)}return r}function l(e,t){var n=-1;return e.forEach((function(e,r){e.id===t&&(n=r)})),n}function f(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var d=function(e){function t(t){var n=e.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(t),n}return r(t,e),t.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}},t.prototype.execute=function(){var e=this,t=e.nodes,n=e.edges||[];if(t&&0!==t.length){e.width||\"undefined\"===typeof window||(e.width=window.innerWidth),e.height||\"undefined\"===typeof window||(e.height=window.innerHeight),e.center||(e.center=[e.width/2,e.height/2]);var r=e.center;if(1===t.length)return t[0].x=r[0],t[0].y=r[1],void(e.onLayoutEnd&&e.onLayoutEnd());var o=e.linkDistance,a=null;if((0,i.isString)(e.focusNode)){for(var f=!1,d=0;d<t.length;d++)t[d].id===e.focusNode&&(a=t[d],e.focusNode=a,f=!0,d=t.length);f||(a=null)}else a=e.focusNode;a||(a=t[0],e.focusNode=a);var h=l(t,a.id);h<0&&(h=0),e.focusIndex=h;var p=(0,i.getAdjMatrix)({nodes:t,edges:n},!1),v=(0,i.floydWarshall)(p),g=e.maxToFocus(v,h);e.handleInfinity(v,h,g+1),e.distances=v;var m=v[h],y=e.width||500,b=e.height||500,x=y-r[0]>r[0]?r[0]:y-r[0],w=b-r[1]>r[1]?r[1]:b-r[1];0===x&&(x=y/2),0===w&&(w=b/2);var O=w>x?x:w,E=Math.max.apply(Math,m),S=[];m.forEach((function(t,n){e.unitRadius||(e.unitRadius=O/E),S[n]=t*e.unitRadius})),e.radii=S;var j=e.eIdealDisMatrix();e.eIdealDistances=j;var k=s(j);e.weights=k;var _=new c.default({linkDistance:o,distances:j}),C=_.layout();C.forEach((function(e){(0,i.isNaN)(e[0])&&(e[0]=Math.random()*o),(0,i.isNaN)(e[1])&&(e[1]=Math.random()*o)})),e.positions=C,C.forEach((function(e,n){t[n].x=e[0]+r[0],t[n].y=e[1]+r[1]})),C.forEach((function(e){e[0]-=C[h][0],e[1]-=C[h][1]})),e.run();var M,A=e.preventOverlap,N=e.nodeSize,T=e.strictRadial;if(A){var I,P=e.nodeSpacing;I=(0,i.isNumber)(P)?function(){return P}:(0,i.isFunction)(P)?P:function(){return 0},M=N?(0,i.isArray)(N)?function(e){var t=N[0]>N[1]?N[0]:N[1];return t+I(e)}:function(e){return N+I(e)}:function(e){if(e.size){if((0,i.isArray)(e.size)){var t=e.size[0]>e.size[1]?e.size[0]:e.size[1];return t+I(e)}if((0,i.isObject)(e.size)){t=e.size.width>e.size.height?e.size.width:e.size.height;return t+I(e)}return e.size+I(e)}return 10+I(e)};var L={nodes:t,nodeSizeFunc:M,adjMatrix:p,positions:C,radii:S,height:b,width:y,strictRadial:T,focusID:h,iterations:e.maxPreventOverlapIteration||200,k:C.length/4.5},D=new u.default(L);C=D.layout()}return C.forEach((function(e,n){t[n].x=e[0]+r[0],t[n].y=e[1]+r[1]})),e.onLayoutEnd&&e.onLayoutEnd(),{nodes:t,edges:n}}e.onLayoutEnd&&e.onLayoutEnd()},t.prototype.run=function(){for(var e=this,t=e.maxIteration,n=e.positions||[],r=e.weights||[],o=e.eIdealDistances||[],i=e.radii||[],a=0;a<=t;a++){var c=a/t;e.oneIteration(c,n,i,o,r)}},t.prototype.oneIteration=function(e,t,n,r,o){var i=this,a=1-e,c=i.focusIndex;t.forEach((function(i,u){var s=f(i,[0,0]),l=0===s?0:1/s;if(u!==c){var d=0,h=0,p=0;t.forEach((function(e,t){if(u!==t){var n=f(i,e),a=0===n?0:1/n,c=r[t][u];p+=o[u][t],d+=o[u][t]*(e[0]+c*(i[0]-e[0])*a),h+=o[u][t]*(e[1]+c*(i[1]-e[1])*a)}}));var v=0===n[u]?0:1/n[u];p*=a,p+=e*v*v,d*=a,d+=e*v*i[0]*l,i[0]=d/p,h*=a,h+=e*v*i[1]*l,i[1]=h/p}}))},t.prototype.eIdealDisMatrix=function(){var e=this,t=e.nodes;if(!t)return[];var n=e.distances,r=e.linkDistance,o=e.radii||[],a=e.unitRadius||50,c=[];return n&&n.forEach((function(n,u){var s=[];n.forEach((function(n,c){if(u===c)s.push(0);else if(o[u]===o[c])if(\"data\"===e.sortBy)s.push(n*(Math.abs(u-c)*e.sortStrength)/(o[u]/a));else if(e.sortBy){var l=t[u][e.sortBy]||0,f=t[c][e.sortBy]||0;(0,i.isString)(l)&&(l=l.charCodeAt(0)),(0,i.isString)(f)&&(f=f.charCodeAt(0)),s.push(n*(Math.abs(l-f)*e.sortStrength)/(o[u]/a))}else s.push(n*r/(o[u]/a));else{var d=(r+a)/2;s.push(n*d)}})),c.push(s)})),c},t.prototype.handleInfinity=function(e,t,n){for(var r=e.length,o=0;o<r;o++)if(e[t][o]===1/0){e[t][o]=n,e[o][t]=n;for(var i=0;i<r;i++)e[o][i]!==1/0&&e[t][i]===1/0&&(e[t][i]=n+e[o][i],e[i][t]=n+e[o][i])}for(o=0;o<r;o++)if(o!==t)for(i=0;i<r;i++)if(e[o][i]===1/0){var a=Math.abs(e[t][o]-e[t][i]);a=0===a?1:a,e[o][i]=a}},t.prototype.maxToFocus=function(e,t){for(var n=0,r=0;r<e[t].length;r++)e[t][r]!==1/0&&(n=e[t][r]>n?e[t][r]:n);return n},t.prototype.getType=function(){return\"radial\"},t}(a.Base);t.RadialLayout=d},cVYH:function(e,t,n){var r=n(\"hh1v\"),o=n(\"0rvr\");e.exports=function(e,t,n){var i,a;return o&&\"function\"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},cWIK:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.oneHot=t.getDistance=t.getAllKeyValueMap=t.default=void 0;var r=n(\"iTfj\"),o=n(\"XW+9\"),i=a(n(\"DGIe\"));function a(e){return e&&e.__esModule?e:{default:e}}var c=function(e,t,n){var o=[];(null===t||void 0===t?void 0:t.length)?o=t:(e.forEach((function(e){o=o.concat(Object.keys(e))})),o=(0,r.uniq)(o));var i={};return o.forEach((function(t){var o=[];e.forEach((function(e){void 0!==e[t]&&\"\"!==e[t]&&o.push(e[t])})),o.length&&!(null===n||void 0===n?void 0:n.includes(t))&&(i[t]=(0,r.uniq)(o))})),i};t.getAllKeyValueMap=c;var u=function(e,t,n){var r=c(e,t,n),o=[];if(!Object.keys(r).length)return o;var i=Object.values(r),a=i.every((function(e){return e.every((function(e){return\"number\"===typeof e}))}));return e.forEach((function(e,t){var n=[];Object.keys(r).forEach((function(t){var o=e[t],i=r[t],c=i.findIndex((function(e){return o===e})),u=[];if(a)u.push(o);else for(var s=0;s<i.length;s++)s===c?u.push(1):u.push(0);n=n.concat(u)})),o[t]=n})),o};t.oneHot=u;var s=function(e,t,n,r){void 0===n&&(n=o.DistanceType.EuclideanDistance);var a=0;switch(n){case o.DistanceType.EuclideanDistance:a=new i.default(e).euclideanDistance(new i.default(t));break;default:break}return a};t.getDistance=s;var l={getAllKeyValueMap:c,oneHot:u,getDistance:s};t.default=l},caoh:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(\"q1tI\"),o=r[\"createContext\"](!1),i=function(e){var t=e.children,n=e.disabled,i=r[\"useContext\"](o);return r[\"createElement\"](o.Provider,{value:n||i},t)};t[\"b\"]=o},cfiF:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"Cg3G\");r({target:\"WeakMap\",proto:!0,real:!0,forced:o},{deleteAll:function(){return i.apply(this,arguments)}})},ctDJ:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"0GbY\"),a=n(\"glrk\"),c=n(\"HAuM\"),u=n(\"A2ZE\"),s=n(\"SEBh\"),l=n(\"WGBp\"),f=n(\"ImZN\");r({target:\"Set\",proto:!0,real:!0,forced:o},{map:function(e){var t=a(this),n=l(t),r=u(e,arguments.length>1?arguments[1]:void 0,3),o=new(s(t,i(\"Set\"))),d=c(o.add);return f(n,(function(e){d.call(o,r(e,e,t))}),void 0,!1,!0),o}})},cv67:function(e,t,n){(function(t,r){e.exports=r(n(\"Ib8C\"))})(0,(function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,a=n.algo,c=[];(function(){for(var e=0;e<64;e++)c[e]=4294967296*t.abs(t.sin(e+1))|0})();var u=a.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=e[t+0],u=e[t+1],h=e[t+2],p=e[t+3],v=e[t+4],g=e[t+5],m=e[t+6],y=e[t+7],b=e[t+8],x=e[t+9],w=e[t+10],O=e[t+11],E=e[t+12],S=e[t+13],j=e[t+14],k=e[t+15],_=i[0],C=i[1],M=i[2],A=i[3];_=s(_,C,M,A,a,7,c[0]),A=s(A,_,C,M,u,12,c[1]),M=s(M,A,_,C,h,17,c[2]),C=s(C,M,A,_,p,22,c[3]),_=s(_,C,M,A,v,7,c[4]),A=s(A,_,C,M,g,12,c[5]),M=s(M,A,_,C,m,17,c[6]),C=s(C,M,A,_,y,22,c[7]),_=s(_,C,M,A,b,7,c[8]),A=s(A,_,C,M,x,12,c[9]),M=s(M,A,_,C,w,17,c[10]),C=s(C,M,A,_,O,22,c[11]),_=s(_,C,M,A,E,7,c[12]),A=s(A,_,C,M,S,12,c[13]),M=s(M,A,_,C,j,17,c[14]),C=s(C,M,A,_,k,22,c[15]),_=l(_,C,M,A,u,5,c[16]),A=l(A,_,C,M,m,9,c[17]),M=l(M,A,_,C,O,14,c[18]),C=l(C,M,A,_,a,20,c[19]),_=l(_,C,M,A,g,5,c[20]),A=l(A,_,C,M,w,9,c[21]),M=l(M,A,_,C,k,14,c[22]),C=l(C,M,A,_,v,20,c[23]),_=l(_,C,M,A,x,5,c[24]),A=l(A,_,C,M,j,9,c[25]),M=l(M,A,_,C,p,14,c[26]),C=l(C,M,A,_,b,20,c[27]),_=l(_,C,M,A,S,5,c[28]),A=l(A,_,C,M,h,9,c[29]),M=l(M,A,_,C,y,14,c[30]),C=l(C,M,A,_,E,20,c[31]),_=f(_,C,M,A,g,4,c[32]),A=f(A,_,C,M,b,11,c[33]),M=f(M,A,_,C,O,16,c[34]),C=f(C,M,A,_,j,23,c[35]),_=f(_,C,M,A,u,4,c[36]),A=f(A,_,C,M,v,11,c[37]),M=f(M,A,_,C,y,16,c[38]),C=f(C,M,A,_,w,23,c[39]),_=f(_,C,M,A,S,4,c[40]),A=f(A,_,C,M,a,11,c[41]),M=f(M,A,_,C,p,16,c[42]),C=f(C,M,A,_,m,23,c[43]),_=f(_,C,M,A,x,4,c[44]),A=f(A,_,C,M,E,11,c[45]),M=f(M,A,_,C,k,16,c[46]),C=f(C,M,A,_,h,23,c[47]),_=d(_,C,M,A,a,6,c[48]),A=d(A,_,C,M,y,10,c[49]),M=d(M,A,_,C,j,15,c[50]),C=d(C,M,A,_,g,21,c[51]),_=d(_,C,M,A,E,6,c[52]),A=d(A,_,C,M,p,10,c[53]),M=d(M,A,_,C,w,15,c[54]),C=d(C,M,A,_,u,21,c[55]),_=d(_,C,M,A,b,6,c[56]),A=d(A,_,C,M,k,10,c[57]),M=d(M,A,_,C,m,15,c[58]),C=d(C,M,A,_,S,21,c[59]),_=d(_,C,M,A,v,6,c[60]),A=d(A,_,C,M,O,10,c[61]),M=d(M,A,_,C,h,15,c[62]),C=d(C,M,A,_,x,21,c[63]),i[0]=i[0]+_|0,i[1]=i[1]+C|0,i[2]=i[2]+M|0,i[3]=i[3]+A|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;n[o>>>5]|=128<<24-o%32;var i=t.floor(r/4294967296),a=r;n[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(n.length+1),this._process();for(var c=this._hash,u=c.words,s=0;s<4;s++){var l=u[s];u[s]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return c},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function s(e,t,n,r,o,i,a){var c=e+(t&n|~t&r)+o+a;return(c<<i|c>>>32-i)+t}function l(e,t,n,r,o,i,a){var c=e+(t&r|n&~r)+o+a;return(c<<i|c>>>32-i)+t}function f(e,t,n,r,o,i,a){var c=e+(t^n^r)+o+a;return(c<<i|c>>>32-i)+t}function d(e,t,n,r,o,i,a){var c=e+(n^(t|~r))+o+a;return(c<<i|c>>>32-i)+t}n.MD5=i._createHelper(u),n.HmacMD5=i._createHmacHelper(u)}(Math),e.MD5}))},cvf0:function(e,t,n){\"use strict\";var r=n(\"67WC\").exportTypedArrayMethod,o=n(\"0Dky\"),i=n(\"2oRo\"),a=i.Uint8Array,c=a&&a.prototype||{},u=[].toString,s=[].join;o((function(){u.call({})}))&&(u=function(){return s.call(this)});var l=c.toString!=u;r(\"toString\",u,l)},d6cI:function(e,t){var n=1/0,r=Math.abs,o=Math.pow,i=Math.floor,a=Math.log,c=Math.LN2,u=function(e,t,u){var s,l,f,d=new Array(u),h=8*u-t-1,p=(1<<h)-1,v=p>>1,g=23===t?o(2,-24)-o(2,-77):0,m=e<0||0===e&&1/e<0?1:0,y=0;for(e=r(e),e!=e||e===n?(l=e!=e?1:0,s=p):(s=i(a(e)/c),e*(f=o(2,-s))<1&&(s--,f*=2),e+=s+v>=1?g/f:g*o(2,1-v),e*f>=2&&(s++,f/=2),s+v>=p?(l=0,s=p):s+v>=1?(l=(e*f-1)*o(2,t),s+=v):(l=e*o(2,v-1)*o(2,t),s=0));t>=8;d[y++]=255&l,l/=256,t-=8);for(s=s<<t|l,h+=t;h>0;d[y++]=255&s,s/=256,h-=8);return d[--y]|=128*m,d},s=function(e,t){var r,i=e.length,a=8*i-t-1,c=(1<<a)-1,u=c>>1,s=a-7,l=i-1,f=e[l--],d=127&f;for(f>>=7;s>0;d=256*d+e[l],l--,s-=8);for(r=d&(1<<-s)-1,d>>=-s,s+=t;s>0;r=256*r+e[l],l--,s-=8);if(0===d)d=1-u;else{if(d===c)return r?NaN:f?-n:n;r+=o(2,t),d-=u}return(f?-1:1)*r*o(2,d-t)};e.exports={pack:u,unpack:s}},\"dBg+\":function(e,t){t.f=Object.getOwnPropertySymbols},dD9F:function(e,t,n){var r=n(\"NykK\"),o=n(\"shjB\"),i=n(\"ExA7\"),a=\"[object Arguments]\",c=\"[object Array]\",u=\"[object Boolean]\",s=\"[object Date]\",l=\"[object Error]\",f=\"[object Function]\",d=\"[object Map]\",h=\"[object Number]\",p=\"[object Object]\",v=\"[object RegExp]\",g=\"[object Set]\",m=\"[object String]\",y=\"[object WeakMap]\",b=\"[object ArrayBuffer]\",x=\"[object DataView]\",w=\"[object Float32Array]\",O=\"[object Float64Array]\",E=\"[object Int8Array]\",S=\"[object Int16Array]\",j=\"[object Int32Array]\",k=\"[object Uint8Array]\",_=\"[object Uint8ClampedArray]\",C=\"[object Uint16Array]\",M=\"[object Uint32Array]\",A={};function N(e){return i(e)&&o(e.length)&&!!A[r(e)]}A[w]=A[O]=A[E]=A[S]=A[j]=A[k]=A[_]=A[C]=A[M]=!0,A[a]=A[c]=A[b]=A[u]=A[x]=A[s]=A[l]=A[f]=A[d]=A[h]=A[p]=A[v]=A[g]=A[m]=A[y]=!1,e.exports=N},dDrT:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(e,t){var n=e.nodes().filter((function(t){var n;return!(null===(n=e.children(t))||void 0===n?void 0:n.length)})),r=n.map((function(t){return e.node(t).rank})),o=Math.max.apply(Math,r),i=Array(o+1).fill([]);null===t||void 0===t||t.forEach((function(t){var n=e.node(t);n&&!(null===n||void 0===n?void 0:n.dummy)&&(isNaN(n.rank)||(n.fixorder=i[n.rank].length,i[n.rank].push(t)))}))};t.default=r},\"dG/n\":function(e,t,n){var r=n(\"Qo9l\"),o=n(\"UTVS\"),i=n(\"5Tg+\"),a=n(\"m/L8\").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},dI71:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(\"s4An\");function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Object(r[\"a\"])(e,t)}},dNT4:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"glrk\"),a=n(\"A2ZE\"),c=n(\"WGBp\"),u=n(\"ImZN\");r({target:\"Set\",proto:!0,real:!0,forced:o},{every:function(e){var t=i(this),n=c(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return!u(n,(function(e){if(!r(e,e,t))return u.stop()}),void 0,!1,!0).stopped}})},dOgj:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"2oRo\"),i=n(\"g6v/\"),a=n(\"iqeF\"),c=n(\"67WC\"),u=n(\"Yhre\"),s=n(\"GarU\"),l=n(\"XGwC\"),f=n(\"kRJp\"),d=n(\"UMSQ\"),h=n(\"CyXQ\"),p=n(\"GC2F\"),v=n(\"wE6v\"),g=n(\"UTVS\"),m=n(\"9d/t\"),y=n(\"hh1v\"),b=n(\"fHMY\"),x=n(\"0rvr\"),w=n(\"JBy8\").f,O=n(\"oHi+\"),E=n(\"tycR\").forEach,S=n(\"JiZb\"),j=n(\"m/L8\"),k=n(\"Bs8V\"),_=n(\"afO8\"),C=n(\"cVYH\"),M=_.get,A=_.set,N=j.f,T=k.f,I=Math.round,P=o.RangeError,L=u.ArrayBuffer,D=u.DataView,R=c.NATIVE_ARRAY_BUFFER_VIEWS,F=c.TYPED_ARRAY_TAG,B=c.TypedArray,z=c.TypedArrayPrototype,U=c.aTypedArrayConstructor,G=c.isTypedArray,V=\"BYTES_PER_ELEMENT\",W=\"Wrong length\",H=function(e,t){var n=0,r=t.length,o=new(U(e))(r);while(r>n)o[n]=t[n++];return o},Y=function(e,t){N(e,t,{get:function(){return M(this)[t]}})},X=function(e){var t;return e instanceof L||\"ArrayBuffer\"==(t=m(e))||\"SharedArrayBuffer\"==t},q=function(e,t){return G(e)&&\"symbol\"!=typeof t&&t in e&&String(+t)==String(t)},K=function(e,t){return q(e,t=v(t,!0))?l(2,e[t]):T(e,t)},Z=function(e,t,n){return!(q(e,t=v(t,!0))&&y(n)&&g(n,\"value\"))||g(n,\"get\")||g(n,\"set\")||n.configurable||g(n,\"writable\")&&!n.writable||g(n,\"enumerable\")&&!n.enumerable?N(e,t,n):(e[t]=n.value,e)};i?(R||(k.f=K,j.f=Z,Y(z,\"buffer\"),Y(z,\"byteOffset\"),Y(z,\"byteLength\"),Y(z,\"length\")),r({target:\"Object\",stat:!0,forced:!R},{getOwnPropertyDescriptor:K,defineProperty:Z}),e.exports=function(e,t,n){var i=e.match(/\\d+$/)[0]/8,c=e+(n?\"Clamped\":\"\")+\"Array\",u=\"get\"+e,l=\"set\"+e,v=o[c],g=v,m=g&&g.prototype,j={},k=function(e,t){var n=M(e);return n.view[u](t*i+n.byteOffset,!0)},_=function(e,t,r){var o=M(e);n&&(r=(r=I(r))<0?0:r>255?255:255&r),o.view[l](t*i+o.byteOffset,r,!0)},T=function(e,t){N(e,t,{get:function(){return k(this,t)},set:function(e){return _(this,t,e)},enumerable:!0})};R?a&&(g=t((function(e,t,n,r){return s(e,g,c),C(function(){return y(t)?X(t)?void 0!==r?new v(t,p(n,i),r):void 0!==n?new v(t,p(n,i)):new v(t):G(t)?H(g,t):O.call(g,t):new v(h(t))}(),e,g)})),x&&x(g,B),E(w(v),(function(e){e in g||f(g,e,v[e])})),g.prototype=m):(g=t((function(e,t,n,r){s(e,g,c);var o,a,u,l=0,f=0;if(y(t)){if(!X(t))return G(t)?H(g,t):O.call(g,t);o=t,f=p(n,i);var v=t.byteLength;if(void 0===r){if(v%i)throw P(W);if(a=v-f,a<0)throw P(W)}else if(a=d(r)*i,a+f>v)throw P(W);u=a/i}else u=h(t),a=u*i,o=new L(a);A(e,{buffer:o,byteOffset:f,byteLength:a,length:u,view:new D(o)});while(l<u)T(e,l++)})),x&&x(g,B),m=g.prototype=b(z)),m.constructor!==g&&f(m,\"constructor\",g),F&&f(m,F,c),j[c]=g,r({global:!0,forced:g!=v,sham:!R},j),V in g||f(g,V,i),V in m||f(m,V,i),S(c)}):e.exports=function(){}},dm2S:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(\"ODXe\"),o=n(\"q1tI\");function i(e){var t=o[\"useRef\"](!1),n=o[\"useState\"](e),i=Object(r[\"a\"])(n,2),a=i[0],c=i[1];function u(e,n){n&&t.current||c(e)}return o[\"useEffect\"]((function(){return t.current=!1,function(){t.current=!0}}),[]),[a,u]}},e0ae:function(e,t,n){\"use strict\";(function(e){n.d(t,\"a\",(function(){return p}));var r=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},o=function(){function e(e,t,n){this.name=e,this.version=t,this.os=n,this.type=\"browser\"}return e}(),i=function(){function t(t){this.version=t,this.type=\"node\",this.name=\"node\",this.os=e.platform}return t}(),a=function(){function e(e,t,n,r){this.name=e,this.version=t,this.os=n,this.bot=r,this.type=\"bot-device\"}return e}(),c=function(){function e(){this.type=\"bot\",this.bot=!0,this.name=\"bot\",this.version=null,this.os=null}return e}(),u=function(){function e(){this.type=\"react-native\",this.name=\"react-native\",this.version=null,this.os=null}return e}(),s=/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/,l=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\\ Jeeves\\/Teoma|ia_archiver)/,f=3,d=[[\"aol\",/AOLShield\\/([0-9\\._]+)/],[\"edge\",/Edge\\/([0-9\\._]+)/],[\"edge-ios\",/EdgiOS\\/([0-9\\._]+)/],[\"yandexbrowser\",/YaBrowser\\/([0-9\\._]+)/],[\"kakaotalk\",/KAKAOTALK\\s([0-9\\.]+)/],[\"samsung\",/SamsungBrowser\\/([0-9\\.]+)/],[\"silk\",/\\bSilk\\/([0-9._-]+)\\b/],[\"miui\",/MiuiBrowser\\/([0-9\\.]+)$/],[\"beaker\",/BeakerBrowser\\/([0-9\\.]+)/],[\"edge-chromium\",/EdgA?\\/([0-9\\.]+)/],[\"chromium-webview\",/(?!Chrom.*OPR)wv\\).*Chrom(?:e|ium)\\/([0-9\\.]+)(:?\\s|$)/],[\"chrome\",/(?!Chrom.*OPR)Chrom(?:e|ium)\\/([0-9\\.]+)(:?\\s|$)/],[\"phantomjs\",/PhantomJS\\/([0-9\\.]+)(:?\\s|$)/],[\"crios\",/CriOS\\/([0-9\\.]+)(:?\\s|$)/],[\"firefox\",/Firefox\\/([0-9\\.]+)(?:\\s|$)/],[\"fxios\",/FxiOS\\/([0-9\\.]+)/],[\"opera-mini\",/Opera Mini.*Version\\/([0-9\\.]+)/],[\"opera\",/Opera\\/([0-9\\.]+)(?:\\s|$)/],[\"opera\",/OPR\\/([0-9\\.]+)(:?\\s|$)/],[\"pie\",/^Microsoft Pocket Internet Explorer\\/(\\d+\\.\\d+)$/],[\"pie\",/^Mozilla\\/\\d\\.\\d+\\s\\(compatible;\\s(?:MSP?IE|MSInternet Explorer) (\\d+\\.\\d+);.*Windows CE.*\\)$/],[\"netfront\",/^Mozilla\\/\\d\\.\\d+.*NetFront\\/(\\d.\\d)/],[\"ie\",/Trident\\/7\\.0.*rv\\:([0-9\\.]+).*\\).*Gecko$/],[\"ie\",/MSIE\\s([0-9\\.]+);.*Trident\\/[4-7].0/],[\"ie\",/MSIE\\s(7\\.0)/],[\"bb10\",/BB10;\\sTouch.*Version\\/([0-9\\.]+)/],[\"android\",/Android\\s([0-9\\.]+)/],[\"ios\",/Version\\/([0-9\\._]+).*Mobile.*Safari.*/],[\"safari\",/Version\\/([0-9\\._]+).*Safari/],[\"facebook\",/FB[AS]V\\/([0-9\\.]+)/],[\"instagram\",/Instagram\\s([0-9\\.]+)/],[\"ios-webview\",/AppleWebKit\\/([0-9\\.]+).*Mobile/],[\"ios-webview\",/AppleWebKit\\/([0-9\\.]+).*Gecko\\)$/],[\"curl\",/^curl\\/([0-9\\.]+)$/],[\"searchbot\",s]],h=[[\"iOS\",/iP(hone|od|ad)/],[\"Android OS\",/Android/],[\"BlackBerry OS\",/BlackBerry|BB10/],[\"Windows Mobile\",/IEMobile/],[\"Amazon OS\",/Kindle/],[\"Windows 3.11\",/Win16/],[\"Windows 95\",/(Windows 95)|(Win95)|(Windows_95)/],[\"Windows 98\",/(Windows 98)|(Win98)/],[\"Windows 2000\",/(Windows NT 5.0)|(Windows 2000)/],[\"Windows XP\",/(Windows NT 5.1)|(Windows XP)/],[\"Windows Server 2003\",/(Windows NT 5.2)/],[\"Windows Vista\",/(Windows NT 6.0)/],[\"Windows 7\",/(Windows NT 6.1)/],[\"Windows 8\",/(Windows NT 6.2)/],[\"Windows 8.1\",/(Windows NT 6.3)/],[\"Windows 10\",/(Windows NT 10.0)/],[\"Windows ME\",/Windows ME/],[\"Windows CE\",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],[\"Open BSD\",/OpenBSD/],[\"Sun OS\",/SunOS/],[\"Chrome OS\",/CrOS/],[\"Linux\",/(Linux)|(X11)/],[\"Mac OS\",/(Mac_PowerPC)|(Macintosh)/],[\"QNX\",/QNX/],[\"BeOS\",/BeOS/],[\"OS/2\",/OS\\/2/]];function p(e){return e?g(e):\"undefined\"===typeof document&&\"undefined\"!==typeof navigator&&\"ReactNative\"===navigator.product?new u:\"undefined\"!==typeof navigator?g(navigator.userAgent):y()}function v(e){return\"\"!==e&&d.reduce((function(t,n){var r=n[0],o=n[1];if(t)return t;var i=o.exec(e);return!!i&&[r,i]}),!1)}function g(e){var t=v(e);if(!t)return null;var n=t[0],i=t[1];if(\"searchbot\"===n)return new c;var u=i[1]&&i[1].split(\".\").join(\"_\").split(\"_\").slice(0,3);u?u.length<f&&(u=r(r([],u,!0),b(f-u.length),!0)):u=[];var s=u.join(\".\"),d=m(e),h=l.exec(e);return h&&h[1]?new a(n,s,d,h[1]):new o(n,s,d)}function m(e){for(var t=0,n=h.length;t<n;t++){var r=h[t],o=r[0],i=r[1],a=i.exec(e);if(a)return o}return null}function y(){var t=\"undefined\"!==typeof e&&e.version;return t?new i(e.version.slice(1)):null}function b(e){for(var t=[],n=0;n<e;n++)t.push(\"0\");return t}}).call(this,n(\"Q2Ig\"))},e4Nc:function(e,t,n){var r=n(\"fGT3\"),o=n(\"k+1r\"),i=n(\"JHgL\"),a=n(\"pSRY\"),c=n(\"H8j4\");function u(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype[\"delete\"]=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,e.exports=u},e5cp:function(e,t,n){var r=n(\"fmRc\"),o=n(\"or5M\"),i=n(\"HDyB\"),a=n(\"seXi\"),c=n(\"QqLw\"),u=n(\"Z0cm\"),s=n(\"DSRE\"),l=n(\"c6wG\"),f=1,d=\"[object Arguments]\",h=\"[object Array]\",p=\"[object Object]\",v=Object.prototype,g=v.hasOwnProperty;function m(e,t,n,v,m,y){var b=u(e),x=u(t),w=b?h:c(e),O=x?h:c(t);w=w==d?p:w,O=O==d?p:O;var E=w==p,S=O==p,j=w==O;if(j&&s(e)){if(!s(t))return!1;b=!0,E=!1}if(j&&!E)return y||(y=new r),b||l(e)?o(e,t,n,v,m,y):i(e,t,w,n,v,m,y);if(!(n&f)){var k=E&&g.call(e,\"__wrapped__\"),_=S&&g.call(t,\"__wrapped__\");if(k||_){var C=k?e.value():e,M=_?t.value():t;return y||(y=new r),m(C,M,n,v,y)}}return!!j&&(y||(y=new r),a(e,t,n,v,m,y))}e.exports=m},e7zE:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"3y9D\"),n(\"WYAk\"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.Base,o=n.WordArray,i=t.algo,a=i.SHA1,c=i.HMAC,u=i.PBKDF2=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){var n=this.cfg,r=c.create(n.hasher,e),i=o.create(),a=o.create([1]),u=i.words,s=a.words,l=n.keySize,f=n.iterations;while(u.length<l){var d=r.update(t).finalize(a);r.reset();for(var h=d.words,p=h.length,v=d,g=1;g<f;g++){v=r.finalize(v),r.reset();for(var m=v.words,y=0;y<p;y++)h[y]^=m[y]}i.concat(d),s[0]++}return i.sigBytes=4*l,i}});t.PBKDF2=function(e,t,n){return u.create(n).compute(e,t)}}(),e.PBKDF2}))},\"eDl+\":function(e,t){e.exports=[\"constructor\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"toLocaleString\",\"toString\",\"valueOf\"]},eDxR:function(e,t,n){var r=n(\"Tskq\"),o=n(\"ENF9\"),i=n(\"VpIT\"),a=i(\"metadata\"),c=a.store||(a.store=new o),u=function(e,t,n){var o=c.get(e);if(!o){if(!n)return;c.set(e,o=new r)}var i=o.get(t);if(!i){if(!n)return;o.set(t,i=new r)}return i},s=function(e,t,n){var r=u(t,n,!1);return void 0!==r&&r.has(e)},l=function(e,t,n){var r=u(t,n,!1);return void 0===r?void 0:r.get(e)},f=function(e,t,n,r){u(n,r,!0).set(e,t)},d=function(e,t){var n=u(e,t,!1),r=[];return n&&n.forEach((function(e,t){r.push(t)})),r},h=function(e){return void 0===e||\"symbol\"==typeof e?e:String(e)};e.exports={store:c,getMap:u,has:s,get:l,set:f,keys:d,toKey:h}},eLGL:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(e){var t,n={},r=0,o=function(t){var i,a=r;null===(i=e.children(t))||void 0===i||i.forEach(o),n[t]={low:a,lim:r++}};return null===(t=e.children())||void 0===t||t.forEach(o),n},o=function(e,t,n,r){var o,i,a=[],c=[],u=Math.min(t[n].low,t[r].low),s=Math.max(t[n].lim,t[r].lim);o=n;do{o=e.parent(o),a.push(o)}while(o&&(t[o].low>u||s>t[o].lim));i=o,o=r;while(o&&o!==i)c.push(o),o=e.parent(o);return{lca:i,path:a.concat(c.reverse())}},i=function(e){var t,n=r(e);null===(t=e.graph().dummyChains)||void 0===t||t.forEach((function(t){var r,i,a=t,c=e.node(a),u=c.edgeObj;if(u){var s=o(e,n,u.v,u.w),l=s.path,f=s.lca,d=0,h=l[d],p=!0;while(a!==u.w){if(c=e.node(a),p){while(h!==f&&(null===(r=e.node(h))||void 0===r?void 0:r.maxRank)<c.rank)d++,h=l[d];h===f&&(p=!1)}if(!p){while(d<l.length-1&&(null===(i=e.node(l[d+1]))||void 0===i?void 0:i.minRank)<=c.rank)d++;h=l[d]}e.setParent(a,h),a=e.successors(a)[0]}}}))};t.default=i},eO0o:function(e,t,n){var r=n(\"I+eb\");r({target:\"Math\",stat:!0},{imulh:function(e,t){var n=65535,r=+e,o=+t,i=r&n,a=o&n,c=r>>16,u=o>>16,s=(c*a>>>0)+(i*a>>>16);return c*u+(s>>16)+((i*u>>>0)+(s&n)>>16)}})},eQiA:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.minBy=t.notime=t.time=t.partition=t.maxRank=t.addBorderNode=t.removeEmptyRanks=t.normalizeRanks=t.buildLayerMatrix=t.intersectRect=t.predecessorWeights=t.successorWeights=t.zipObject=t.asNonCompoundGraph=t.simplify=t.addDummyNode=void 0;var r=n(\"8nGZ\"),o=n(\"OXnU\"),i=function(e,t){return Number(e)-Number(t)},a=function(e,t,n,r){var o;do{o=\"\".concat(r).concat(Math.random())}while(e.hasNode(o));return n.dummy=t,e.setNode(o,n),o};t.addDummyNode=a;var c=function(e){var t=(new o.Graph).setGraph(e.graph());return e.nodes().forEach((function(n){t.setNode(n,e.node(n))})),e.edges().forEach((function(n){var r=t.edgeFromArgs(n.v,n.w)||{weight:0,minlen:1},o=e.edge(n);t.setEdge(n.v,n.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})})),t};t.simplify=c;var u=function(e){var t=new o.Graph({multigraph:e.isMultigraph()}).setGraph(e.graph());return e.nodes().forEach((function(n){var r;(null===(r=e.children(n))||void 0===r?void 0:r.length)||t.setNode(n,e.node(n))})),e.edges().forEach((function(n){t.setEdgeObj(n,e.edge(n))})),t};t.asNonCompoundGraph=u;var s=function(e,t){return null===e||void 0===e?void 0:e.reduce((function(e,n,r){return e[n]=t[r],e}),{})};t.zipObject=s;var l=function(e){var t={};return e.nodes().forEach((function(n){var r,o={};null===(r=e.outEdges(n))||void 0===r||r.forEach((function(t){var n;o[t.w]=(o[t.w]||0)+((null===(n=e.edge(t))||void 0===n?void 0:n.weight)||0)})),t[n]=o})),t};t.successorWeights=l;var f=function(e){var n=e.nodes(),r=n.map((function(t){var n,r={};return null===(n=e.inEdges(t))||void 0===n||n.forEach((function(t){r[t.v]=(r[t.v]||0)+e.edge(t).weight})),r}));return(0,t.zipObject)(n,r)};t.predecessorWeights=f;var d=function(e,t){var n,r,o=Number(e.x),i=Number(e.y),a=Number(t.x)-o,c=Number(t.y)-i,u=Number(e.width)/2,s=Number(e.height)/2;return a||c?(Math.abs(c)*u>Math.abs(a)*s?(c<0&&(s=-s),n=s*a/c,r=s):(a<0&&(u=-u),n=u,r=u*c/a),{x:o+n,y:i+r}):{x:0,y:0}};t.intersectRect=d;var h=function(e){for(var n=[],r=(0,t.maxRank)(e)+1,o=0;o<r;o++)n.push([]);e.nodes().forEach((function(t){var r=e.node(t),o=r.rank;void 0!==o&&n[o]&&n[o].push(t)}));for(o=0;o<r;o++)n[o]=n[o].sort((function(t,n){var r,o;return i(null===(r=e.node(t))||void 0===r?void 0:r.order,null===(o=e.node(n))||void 0===o?void 0:o.order)}));return n};t.buildLayerMatrix=h;var p=function(e){var t=e.nodes().filter((function(t){var n;return void 0!==(null===(n=e.node(t))||void 0===n?void 0:n.rank)})).map((function(t){return e.node(t).rank})),n=Math.min.apply(Math,t);e.nodes().forEach((function(t){var r=e.node(t);r.hasOwnProperty(\"rank\")&&n!==1/0&&(r.rank-=n)}))};t.normalizeRanks=p;var v=function(e){var t=e.nodes(),n=t.filter((function(t){var n;return void 0!==(null===(n=e.node(t))||void 0===n?void 0:n.rank)})).map((function(t){return e.node(t).rank})),r=Math.min.apply(Math,n),o=[];t.forEach((function(t){var n,i=((null===(n=e.node(t))||void 0===n?void 0:n.rank)||0)-r;o[i]||(o[i]=[]),o[i].push(t)}));for(var i=0,a=e.graph().nodeRankFactor||0,c=0;c<o.length;c++){var u=o[c];void 0===u?c%a!==0&&(i-=1):i&&(null===u||void 0===u||u.forEach((function(t){var n=e.node(t);n&&(n.rank=n.rank||0,n.rank+=i)})))}};t.removeEmptyRanks=v;var g=function(e,n,o,i){var a={width:0,height:0};return(0,r.isNumber)(o)&&(0,r.isNumber)(i)&&(a.rank=o,a.order=i),(0,t.addDummyNode)(e,\"border\",a,n)};t.addBorderNode=g;var m=function(e){var t;return e.nodes().forEach((function(n){var r,o=null===(r=e.node(n))||void 0===r?void 0:r.rank;void 0!==o&&(void 0===t||o>t)&&(t=o)})),t||(t=0),t};t.maxRank=m;var y=function(e,t){var n={lhs:[],rhs:[]};return null===e||void 0===e||e.forEach((function(e){t(e)?n.lhs.push(e):n.rhs.push(e)})),n};t.partition=y;var b=function(e,t){var n=Date.now();try{return t()}finally{console.log(\"\".concat(e,\" time: \").concat(Date.now()-n,\"ms\"))}};t.time=b;var x=function(e,t){return t()};t.notime=x;var w=function(e,t){return e.reduce((function(e,n){var r=t(e),o=t(n);return r>o?n:e}))};t.minBy=w},eRe6:function(e,t,n){\"use strict\";var r=n(\"xTJ+\");function o(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name=\"AxiosError\",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}r[\"a\"].inherits(o,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r[\"a\"].toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const i=o.prototype,a={};[\"ERR_BAD_OPTION_VALUE\",\"ERR_BAD_OPTION\",\"ECONNABORTED\",\"ETIMEDOUT\",\"ERR_NETWORK\",\"ERR_FR_TOO_MANY_REDIRECTS\",\"ERR_DEPRECATED\",\"ERR_BAD_RESPONSE\",\"ERR_BAD_REQUEST\",\"ERR_CANCELED\",\"ERR_NOT_SUPPORT\",\"ERR_INVALID_URL\"].forEach((e=>{a[e]={value:e}})),Object.defineProperties(o,a),Object.defineProperty(i,\"isAxiosError\",{value:!0}),o.from=(e,t,n,a,c,u)=>{const s=Object.create(i);return r[\"a\"].toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>\"isAxiosError\"!==e)),o.call(s,e.message,t,n,a,c),s.cause=e,s.name=e.name,u&&Object.assign(s,u),s},t[\"a\"]=o},\"eSf/\":function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var o=r(n(\"KLt6\")),i=r(n(\"XzOe\")),a=r(n(\"bHM7\")),c=r(n(\"73dj\")),u=r(n(\"uI0o\")),s=n(\"8nGZ\"),l=n(\"OXnU\"),f=n(\"eQiA\"),d=function(e){for(var t=(0,f.maxRank)(e),n=[],r=[],a=1;a<t+1;a++)n.push(a);for(a=t-1;a>-1;a--)r.push(a);var c=h(e,n,\"inEdges\"),u=h(e,r,\"outEdges\"),l=(0,o.default)(e);v(e,l);for(var d,g=Number.POSITIVE_INFINITY,m=(a=0,0);m<4;++a,++m){p(a%2?c:u,a%4>=2),l=(0,f.buildLayerMatrix)(e);var y=(0,i.default)(e,l);y<g&&(m=0,d=(0,s.clone)(l),g=y)}l=(0,o.default)(e),v(e,l);for(a=0,m=0;m<4;++a,++m){p(a%2?c:u,a%4>=2,!0),l=(0,f.buildLayerMatrix)(e);y=(0,i.default)(e,l);y<g&&(m=0,d=(0,s.clone)(l),g=y)}v(e,d)},h=function(e,t,n){return t.map((function(t){return(0,a.default)(e,t,n)}))},p=function(e,t,n){var r=new l.Graph;null===e||void 0===e||e.forEach((function(e){for(var o,i=e.graph().root,a=(0,u.default)(e,i,r,t,n),s=0;s<(null===(o=a.vs)||void 0===o?void 0:o.length);s++){var l=e.node(a.vs[s]);l&&(l.order=s)}(0,c.default)(e,r,a.vs)}))},v=function(e,t){null===t||void 0===t||t.forEach((function(t){null===t||void 0===t||t.forEach((function(t,n){e.node(t).order=n}))}))};t.default=d},ebwN:function(e,t,n){var r=n(\"Cwc5\"),o=n(\"Kz5y\"),i=r(o,\"Map\");e.exports=i},ekgI:function(e,t,n){var r=n(\"YESw\"),o=Object.prototype,i=o.hasOwnProperty;function a(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}e.exports=a},ewvW:function(e,t,n){var r=n(\"HYAF\");e.exports=function(e){return Object(r(e))}},f5p1:function(e,t,n){var r=n(\"2oRo\"),o=n(\"iSVu\"),i=r.WeakMap;e.exports=\"function\"===typeof i&&/native code/.test(o(i))},fGT3:function(e,t,n){var r=n(\"4kuk\"),o=n(\"Xi7e\"),i=n(\"ebwN\");function a(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}e.exports=a},fGbL:function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,\"__esModule\",{value:!0}),t.CircularLayout=void 0;var o=n(\"W8mN\"),i=n(\"8nGZ\");function a(e,t,n,r){e.forEach((function(t,n){e[n].children=[],e[n].parent=[]})),r?t.forEach((function(t){var r=(0,i.getEdgeTerminal)(t,\"source\"),o=(0,i.getEdgeTerminal)(t,\"target\"),a=0;r&&(a=n[r]);var c=0;o&&(c=n[o]);var u=e[a].children,s=e[c].parent;u.push(e[c].id),s.push(e[a].id)})):t.forEach((function(t){var r=(0,i.getEdgeTerminal)(t,\"source\"),o=(0,i.getEdgeTerminal)(t,\"target\"),a=0;r&&(a=n[r]);var c=0;o&&(c=n[o]);var u=e[a].children,s=e[c].children;u.push(e[c].id),s.push(e[a].id)}))}function c(e,t,n){for(var r=n.length,o=0;o<r;o++){var a=(0,i.getEdgeTerminal)(n[o],\"source\"),c=(0,i.getEdgeTerminal)(n[o],\"target\");if(e.id===a&&t.id===c||t.id===a&&e.id===c)return!0}return!1}function u(e,t){var n=e.degree,r=t.degree;return n<r?-1:n>r?1:0}var s=function(e){function t(t){var n=e.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(t),n}return r(t,e),t.prototype.getDefaultCfg=function(){return{radius:null,startRadius:null,endRadius:null,startAngle:0,endAngle:2*Math.PI,clockwise:!0,divisions:1,ordering:null,angleRatio:1}},t.prototype.execute=function(){var e,t=this,n=t.nodes,r=t.edges,o=n.length;if(0!==o){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 a=t.center;if(1===o)return n[0].x=a[0],n[0].y=a[1],void(t.onLayoutEnd&&t.onLayoutEnd());var c=t.radius,u=t.startRadius,s=t.endRadius,l=t.divisions,f=t.startAngle,d=t.endAngle,h=t.angleRatio,p=t.ordering,v=t.clockwise,g=t.nodeSpacing,m=t.nodeSize,y=(d-f)/o,b={};n.forEach((function(e,t){b[e.id]=t})),t.nodeMap=b;var x=(0,i.getDegree)(n.length,b,r);if(t.degrees=x,g){var w=(0,i.getFuncByUnknownType)(10,g),O=(0,i.getFuncByUnknownType)(10,m),E=-1/0;n.forEach((function(e){var t=O(e);E<t&&(E=t)}));var S=0;n.forEach((function(e,t){S+=0===t?E||10:(w(e)||0)+(E||10)})),c=S/(2*Math.PI)}else c||u||s?!u&&s?u=s:u&&!s&&(s=u):c=t.height>t.width?t.width/2:t.height/2;var j=y*h,k=[];k=\"topology\"===p?t.topologyOrdering():\"topology-directed\"===p?t.topologyOrdering(!0):\"degree\"===p?t.degreeOrdering():n;for(var _=Math.ceil(o/l),C=0;C<o;++C){var M=c;M||null===u||null===s||(M=u+C*(s-u)/(o-1)),M||(M=10+100*C/(o-1));var A=f+C%_*j+2*Math.PI/l*Math.floor(C/_);v||(A=d-C%_*j-2*Math.PI/l*Math.floor(C/_)),k[C].x=a[0]+Math.cos(A)*M,k[C].y=a[1]+Math.sin(A)*M,k[C].weight=x[C].all}return null===(e=t.onLayoutEnd)||void 0===e||e.call(t),{nodes:k,edges:this.edges}}t.onLayoutEnd&&t.onLayoutEnd()},t.prototype.topologyOrdering=function(e){void 0===e&&(e=!1);var t=this,n=t.degrees,r=t.edges,o=t.nodes,u=(0,i.clone)(o),s=t.nodeMap,l=[u[0]],f=[o[0]],d=[],h=o.length;d[0]=!0,a(u,r,s,e);var p=0;return u.forEach((function(e,t){if(0!==t)if(t!==h-1&&n[t].all===n[t+1].all&&!c(l[p],e,r)||d[t]){for(var i=l[p].children,a=!1,v=0;v<i.length;v++){var g=s[i[v]];if(n[g].all===n[t].all&&!d[g]){l.push(u[g]),f.push(o[s[u[g].id]]),d[g]=!0,a=!0;break}}var m=0;while(!a)if(d[m]||(l.push(u[m]),f.push(o[s[u[m].id]]),d[m]=!0,a=!0),m++,m===h)break}else l.push(e),f.push(o[s[e.id]]),d[t]=!0,p++})),f},t.prototype.degreeOrdering=function(){var e=this,t=e.nodes,n=[],r=e.degrees;return t.forEach((function(e,t){e.degree=r[t].all,n.push(e)})),n.sort(u),n},t.prototype.getType=function(){return\"circular\"},t}(o.Base);t.CircularLayout=s},fHMY:function(e,t,n){var r,o=n(\"glrk\"),i=n(\"N+g0\"),a=n(\"eDl+\"),c=n(\"0BK2\"),u=n(\"G+Rx\"),s=n(\"zBJ4\"),l=n(\"93I0\"),f=\">\",d=\"<\",h=\"prototype\",p=\"script\",v=l(\"IE_PROTO\"),g=function(){},m=function(e){return d+p+f+e+d+\"/\"+p+f},y=function(e){e.write(m(\"\")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=s(\"iframe\"),n=\"java\"+p+\":\";return t.style.display=\"none\",u.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(m(\"document.F=Object\")),e.close(),e.F},x=function(){try{r=document.domain&&new ActiveXObject(\"htmlfile\")}catch(t){}x=r?y(r):b();var e=a.length;while(e--)delete x[h][a[e]];return x()};c[v]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(g[h]=o(e),n=new g,g[h]=null,n[v]=e):n=x(),void 0===t?n:i(n,t)}},fN96:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"ZUd8\").charAt;r({target:\"String\",proto:!0},{at:function(e){return o(this,e)}})},fQop:function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)};Object.defineProperty(t,\"__esModule\",{value:!0}),t.ComboCombinedLayout=void 0;var i=n(\"OIgp\"),a=n(\"W8mN\"),c=n(\"8nGZ\"),u=n(\"zOyl\"),s=function(e){function t(t){var n=e.call(this)||this;return n.center=[0,0],n.nodes=[],n.edges=[],n.combos=[],n.comboEdges=[],n.comboPadding=10,n.comboTrees=[],n.updateCfg(t),n}return r(t,e),t.prototype.getDefaultCfg=function(){return{}},t.prototype.execute=function(){var e=this,t=e.nodes,n=e.center;if(t&&0!==t.length){if(1===t.length)return t[0].x=n[0],t[0].y=n[1],void(e.onLayoutEnd&&e.onLayoutEnd());e.initVals(),e.run(),e.onLayoutEnd&&e.onLayoutEnd()}else e.onLayoutEnd&&e.onLayoutEnd()},t.prototype.run=function(){var e,t=this,n=t.nodes,r=t.edges,a=t.combos,s=t.comboEdges,l=t.center,f={};n.forEach((function(e){f[e.id]=e}));var d={};a.forEach((function(e){d[e.id]=e}));var h=t.getInnerGraphs(f),p=[],v=[],g={},m=!0;this.comboTrees.forEach((function(e){var t=h[e.id],n=o(o({},e),{x:t.x||d[e.id].x,y:t.y||d[e.id].y,fx:t.fx||d[e.id].fx,fy:t.fy||d[e.id].fy,mass:t.mass||d[e.id].mass,size:t.size});v.push(n),isNaN(n.x)||0===n.x||isNaN(n.y)||0===n.y?(n.x=100*Math.random(),n.y=100*Math.random()):m=!1,p.push(e.id),(0,c.traverseTreeUp)(e,(function(t){return t.id!==e.id&&(g[t.id]=e.id),!0}))})),n.forEach((function(e){if(!e.comboId||!d[e.comboId]){var t=o({},e);v.push(t),isNaN(t.x)||0===t.x||isNaN(t.y)||0===t.y?(t.x=100*Math.random(),t.y=100*Math.random()):m=!1,p.push(e.id)}}));var y=[];if(r.concat(s).forEach((function(e){var t=g[e.source]||e.source,n=g[e.target]||e.target;t!==n&&p.includes(t)&&p.includes(n)&&y.push({source:t,target:n})})),null===v||void 0===v?void 0:v.length){if(1===v.length)v[0].x=l[0],v[0].y=l[1];else{var b={nodes:v,edges:y},x=this.outerLayout||new u.GForceLayout({gravity:1,factor:2,linkDistance:function(e,t,n){var r,o,i=(((null===(r=t.size)||void 0===r?void 0:r[0])||30)+((null===(o=n.size)||void 0===o?void 0:o[0])||30))/2;return Math.min(1.5*i,700)}}),w=null===(e=x.getType)||void 0===e?void 0:e.call(x);if(x.updateCfg({center:l,kg:5,preventOverlap:!0,animate:!1}),m&&i.FORCE_LAYOUT_TYPE_MAP[w]){var O=v.length<100?new u.MDSLayout:new u.GridLayout;O.layout(b)}x.layout(b)}v.forEach((function(e){var t=h[e.id];if(t)t.visited=!0,t.x=e.x,t.y=e.y,t.nodes.forEach((function(t){t.x+=e.x,t.y+=e.y}));else{var n=f[e.id];n&&(n.x=e.x,n.y=e.y)}}))}for(var E=Object.keys(h),S=function(e){var t=E[e],n=h[t];if(!n)return\"continue\";n.nodes.forEach((function(e){n.visited||(e.x+=n.x||0,e.y+=n.y||0),f[e.id]&&(f[e.id].x=e.x,f[e.id].y=e.y)})),d[t]&&(d[t].x=n.x,d[t].y=n.y)},j=E.length-1;j>=0;j--)S(j);return{nodes:n,edges:r,combos:a,comboEdges:s}},t.prototype.getInnerGraphs=function(e){var t=this,n=t.comboTrees,r=t.nodeSize,i=t.edges,a=t.comboPadding,s=t.spacing,l={},f=this.innerLayout||new u.ConcentricLayout({sortBy:\"id\"});return f.center=[0,0],f.preventOverlap=!0,f.nodeSpacing=s,(n||[]).forEach((function(t){(0,c.traverseTreeUp)(t,(function(t){var n,u=(null===a||void 0===a?void 0:a(t))||10;if((0,c.isArray)(u)&&(u=Math.max.apply(Math,u)),null===(n=t.children)||void 0===n?void 0:n.length){var s=t.children.map((function(t){if(\"combo\"===t.itemType)return l[t.id];var n=e[t.id]||{};return o(o({},n),t)})),d=s.map((function(e){return e.id})),h={nodes:s,edges:i.filter((function(e){return d.includes(e.source)&&d.includes(e.target)}))},p=1/0;s.forEach((function(e){var t;e.size||(e.size=(null===(t=l[e.id])||void 0===t?void 0:t.size)||(null===r||void 0===r?void 0:r(e))||[30,30]),(0,c.isNumber)(e.size)&&(e.size=[e.size,e.size]),p>e.size[0]&&(p=e.size[0]),p>e.size[1]&&(p=e.size[1])})),f.layout(h);var v=(0,c.findMinMaxNodeXY)(s),g=v.minX,m=v.minY,y=v.maxX,b=v.maxY,x=Math.max(y-g,b-m,p)+2*u;l[t.id]={id:t.id,nodes:s,size:[x,x]}}else if(\"combo\"===t.itemType){var w=u?[2*u,2*u]:[30,30];l[t.id]={id:t.id,nodes:[],size:w}}return!0}))})),l},t.prototype.initVals=function(){var e,t,n=this,r=n.nodeSize,o=n.spacing;if(t=(0,c.isNumber)(o)?function(){return o}:(0,c.isFunction)(o)?o:function(){return 0},this.spacing=t,r)if((0,c.isFunction)(r))e=function(e){var n=r(e),o=t(e);if((0,c.isArray)(e.size)){var i=e.size[0]>e.size[1]?e.size[0]:e.size[1];return(i+o)/2}return((n||10)+o)/2};else if((0,c.isArray)(r)){var i=r[0]>r[1]?r[0]:r[1],a=i/2;e=function(e){return a+t(e)/2}}else{var u=r/2;e=function(e){return u+t(e)/2}}else e=function(e){var n=t(e);if(e.size){if((0,c.isArray)(e.size)){var r=e.size[0]>e.size[1]?e.size[0]:e.size[1];return(r+n)/2}if((0,c.isObject)(e.size)){r=e.size.width>e.size.height?e.size.width:e.size.height;return(r+n)/2}return(e.size+n)/2}return 10+n/2};this.nodeSize=e;var s,l=n.comboPadding;s=(0,c.isNumber)(l)?function(){return l}:(0,c.isArray)(l)?function(){return Math.max.apply(null,l)}:(0,c.isFunction)(l)?l:function(){return 0},this.comboPadding=s},t.prototype.getType=function(){return\"comboCombined\"},t}(a.Base);t.ComboCombinedLayout=s},\"fR/l\":function(e,t,n){var r=n(\"CH3K\"),o=n(\"Z0cm\");function i(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}e.exports=i},fXLg:function(e,t,n){\"use strict\";var r=n(\"glrk\"),o=n(\"HAuM\");e.exports=function(){for(var e=r(this),t=o(e.add),n=0,i=arguments.length;n<i;n++)t.call(e,arguments[n]);return e}},fbvF:function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){\"use strict\";var e=function(e){return e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Float32Array||e instanceof Float64Array||e instanceof Uint8ClampedArray},t=function(e,t){for(var n=Object.keys(t),r=0;r<n.length;++r)e[n[r]]=t[n[r]];return e},n=\"\\n\";function r(e){return\"undefined\"!==typeof atob?atob(e):\"base64:\"+e}function o(e){var t=new Error(\"(regl) \"+e);throw console.error(t),t}function i(e,t){e||o(t)}function a(e){return e?\": \"+e:\"\"}function c(e,t,n){e in t||o(\"unknown parameter (\"+e+\")\"+a(n)+\". possible values: \"+Object.keys(t).join())}function u(t,n){e(t)||o(\"invalid parameter type\"+a(n)+\". must be a typed array\")}function s(e,t){switch(t){case\"number\":return\"number\"===typeof e;case\"object\":return\"object\"===typeof e;case\"string\":return\"string\"===typeof e;case\"boolean\":return\"boolean\"===typeof e;case\"function\":return\"function\"===typeof e;case\"undefined\":return\"undefined\"===typeof e;case\"symbol\":return\"symbol\"===typeof e}}function l(e,t,n){s(e,t)||o(\"invalid parameter type\"+a(n)+\". expected \"+t+\", got \"+typeof e)}function f(e,t){e>=0&&(0|e)===e||o(\"invalid parameter type, (\"+e+\")\"+a(t)+\". must be a nonnegative integer\")}function d(e,t,n){t.indexOf(e)<0&&o(\"invalid value\"+a(n)+\". must be one of: \"+t)}var h=[\"gl\",\"canvas\",\"container\",\"attributes\",\"pixelRatio\",\"extensions\",\"optionalExtensions\",\"profile\",\"onDone\"];function p(e){Object.keys(e).forEach((function(e){h.indexOf(e)<0&&o('invalid regl constructor argument \"'+e+'\". must be one of '+h)}))}function v(e,t){e+=\"\";while(e.length<t)e=\" \"+e;return e}function g(){this.name=\"unknown\",this.lines=[],this.index={},this.hasErrors=!1}function m(e,t){this.number=e,this.line=t,this.errors=[]}function y(e,t,n){this.file=e,this.line=t,this.message=n}function b(){var e=new Error,t=(e.stack||e).toString(),n=/compileProcedure.*\\n\\s*at.*\\((.*)\\)/.exec(t);if(n)return n[1];var r=/compileProcedure.*\\n\\s*at\\s+(.*)(\\n|$)/.exec(t);return r?r[1]:\"unknown\"}function x(){var e=new Error,t=(e.stack||e).toString(),n=/at REGLCommand.*\\n\\s+at.*\\((.*)\\)/.exec(t);if(n)return n[1];var r=/at REGLCommand.*\\n\\s+at\\s+(.*)\\n/.exec(t);return r?r[1]:\"unknown\"}function w(e,t){var n=e.split(\"\\n\"),o=1,i=0,a={unknown:new g,0:new g};a.unknown.name=a[0].name=t||b(),a.unknown.lines.push(new m(0,\"\"));for(var c=0;c<n.length;++c){var u=n[c],s=/^\\s*#\\s*(\\w+)\\s+(.+)\\s*$/.exec(u);if(s)switch(s[1]){case\"line\":var l=/(\\d+)(\\s+\\d+)?/.exec(s[2]);l&&(o=0|l[1],l[2]&&(i=0|l[2],i in a||(a[i]=new g)));break;case\"define\":var f=/SHADER_NAME(_B64)?\\s+(.*)$/.exec(s[2]);f&&(a[i].name=f[1]?r(f[2]):f[2]);break}a[i].lines.push(new m(o++,u))}return Object.keys(a).forEach((function(e){var t=a[e];t.lines.forEach((function(e){t.index[e.number]=e}))})),a}function O(e){var t=[];return e.split(\"\\n\").forEach((function(e){if(!(e.length<5)){var n=/^ERROR:\\s+(\\d+):(\\d+):\\s*(.*)$/.exec(e);n?t.push(new y(0|n[1],0|n[2],n[3].trim())):e.length>0&&t.push(new y(\"unknown\",0,e))}})),t}function E(e,t){t.forEach((function(t){var n=e[t.file];if(n){var r=n.index[t.line];if(r)return r.errors.push(t),void(n.hasErrors=!0)}e.unknown.hasErrors=!0,e.unknown.lines[0].errors.push(t)}))}function S(e,t,r,o,a){if(!e.getShaderParameter(t,e.COMPILE_STATUS)){var c=e.getShaderInfoLog(t),u=o===e.FRAGMENT_SHADER?\"fragment\":\"vertex\";N(r,\"string\",u+\" shader source must be a string\",a);var s=w(r,a),l=O(c);E(s,l),Object.keys(s).forEach((function(e){var t=s[e];if(t.hasErrors){var r=[\"\"],o=[\"\"];i(\"file number \"+e+\": \"+t.name+\"\\n\",\"color:red;text-decoration:underline;font-weight:bold\"),t.lines.forEach((function(e){if(e.errors.length>0){i(v(e.number,4)+\"|  \",\"background-color:yellow; font-weight:bold\"),i(e.line+n,\"color:red; background-color:yellow; font-weight:bold\");var t=0;e.errors.forEach((function(r){var o=r.message,a=/^\\s*'(.*)'\\s*:\\s*(.*)$/.exec(o);if(a){var c=a[1];switch(o=a[2],c){case\"assign\":c=\"=\";break}t=Math.max(e.line.indexOf(c,t),0)}else t=0;i(v(\"| \",6)),i(v(\"^^^\",t+3)+n,\"font-weight:bold\"),i(v(\"| \",6)),i(o+n,\"font-weight:bold\")})),i(v(\"| \",6)+n)}else i(v(e.number,4)+\"|  \"),i(e.line+n,\"color:red\")})),\"undefined\"===typeof document||window.chrome?console.log(r.join(\"\")):(o[0]=r.join(\"%c\"),console.log.apply(console,o))}function i(e,t){r.push(e),o.push(t||\"\")}})),i.raise(\"Error compiling \"+u+\" shader, \"+s[0].name)}}function j(e,t,r,o,a){if(!e.getProgramParameter(t,e.LINK_STATUS)){var c=e.getProgramInfoLog(t),u=w(r,a),s=w(o,a),l='Error linking program with vertex shader, \"'+s[0].name+'\", and fragment shader \"'+u[0].name+'\"';\"undefined\"!==typeof document?console.log(\"%c\"+l+n+\"%c\"+c,\"color:red;text-decoration:underline;font-weight:bold\",\"color:red\"):console.log(l+n+c),i.raise(l)}}function k(e){e._commandRef=b()}function _(e,t,n,r){function o(e){return e?r.id(e):0}function i(e,t){Object.keys(t).forEach((function(t){e[r.id(t)]=!0}))}k(e),e._fragId=o(e.static.frag),e._vertId=o(e.static.vert);var a=e._uniformSet={};i(a,t.static),i(a,t.dynamic);var c=e._attributeSet={};i(c,n.static),i(c,n.dynamic),e._hasCount=\"count\"in e.static||\"count\"in e.dynamic||\"elements\"in e.static||\"elements\"in e.dynamic}function C(e,t){var n=x();o(e+\" in command \"+(t||b())+(\"unknown\"===n?\"\":\" called from \"+n))}function M(e,t,n){e||C(t,n||b())}function A(e,t,n,r){e in t||C(\"unknown parameter (\"+e+\")\"+a(n)+\". possible values: \"+Object.keys(t).join(),r||b())}function N(e,t,n,r){s(e,t)||C(\"invalid parameter type\"+a(n)+\". expected \"+t+\", got \"+typeof e,r||b())}function T(e){e()}function I(e,t,n){e.texture?d(e.texture._texture.internalformat,t,\"unsupported texture format for attachment\"):d(e.renderbuffer._renderbuffer.format,n,\"unsupported renderbuffer format for attachment\")}var P=33071,L=9728,D=9984,R=9985,F=9986,B=9987,z=5120,U=5121,G=5122,V=5123,W=5124,H=5125,Y=5126,X=32819,q=32820,K=33635,Z=34042,$=36193,Q={};function J(e,t){return e===q||e===X||e===K?2:e===Z?4:Q[e]*t}function ee(e){return!(e&e-1)&&!!e}function te(e,t,n){var r,o=t.width,a=t.height,c=t.channels;i(o>0&&o<=n.maxTextureSize&&a>0&&a<=n.maxTextureSize,\"invalid texture shape\"),e.wrapS===P&&e.wrapT===P||i(ee(o)&&ee(a),\"incompatible wrap mode for texture, both width and height must be power of 2\"),1===t.mipmask?1!==o&&1!==a&&i(e.minFilter!==D&&e.minFilter!==F&&e.minFilter!==R&&e.minFilter!==B,\"min filter requires mipmap\"):(i(ee(o)&&ee(a),\"texture must be a square power of 2 to support mipmapping\"),i(t.mipmask===(o<<1)-1,\"missing or incomplete mipmap data\")),t.type===Y&&(n.extensions.indexOf(\"oes_texture_float_linear\")<0&&i(e.minFilter===L&&e.magFilter===L,\"filter not supported, must enable oes_texture_float_linear\"),i(!e.genMipmaps,\"mipmap generation not supported with float textures\"));var u=t.images;for(r=0;r<16;++r)if(u[r]){var s=o>>r,l=a>>r;i(t.mipmask&1<<r,\"missing mipmap data\");var f=u[r];if(i(f.width===s&&f.height===l,\"invalid shape for mip images\"),i(f.format===t.format&&f.internalformat===t.internalformat&&f.type===t.type,\"incompatible type for mip image\"),f.compressed);else if(f.data){var d=Math.ceil(J(f.type,c)*s/f.unpackAlignment)*f.unpackAlignment;i(f.data.byteLength===d*l,\"invalid data for image, buffer size is inconsistent with image format\")}else f.element||f.copy}else e.genMipmaps||i(0===(t.mipmask&1<<r),\"extra mipmap data\");t.compressed&&i(!e.genMipmaps,\"mipmap generation for compressed images not supported\")}function ne(e,t,n,r){var o=e.width,a=e.height,c=e.channels;i(o>0&&o<=r.maxTextureSize&&a>0&&a<=r.maxTextureSize,\"invalid texture shape\"),i(o===a,\"cube map must be square\"),i(t.wrapS===P&&t.wrapT===P,\"wrap mode not supported by cube map\");for(var u=0;u<n.length;++u){var s=n[u];i(s.width===o&&s.height===a,\"inconsistent cube map face shape\"),t.genMipmaps&&(i(!s.compressed,\"can not generate mipmap for compressed textures\"),i(1===s.mipmask,\"can not specify mipmaps and generate mipmaps\"));for(var l=s.images,f=0;f<16;++f){var d=l[f];if(d){var h=o>>f,p=a>>f;i(s.mipmask&1<<f,\"missing mipmap data\"),i(d.width===h&&d.height===p,\"invalid shape for mip images\"),i(d.format===e.format&&d.internalformat===e.internalformat&&d.type===e.type,\"incompatible type for mip image\"),d.compressed||(d.data?i(d.data.byteLength===h*p*Math.max(J(d.type,c),d.unpackAlignment),\"invalid data for image, buffer size is inconsistent with image format\"):d.element||d.copy)}}}}Q[z]=Q[U]=1,Q[G]=Q[V]=Q[$]=Q[K]=Q[X]=Q[q]=2,Q[W]=Q[H]=Q[Y]=Q[Z]=4;var re=t(i,{optional:T,raise:o,commandRaise:C,command:M,parameter:c,commandParameter:A,constructor:p,type:l,commandType:N,isTypedArray:u,nni:f,oneOf:d,shaderError:S,linkError:j,callSite:x,saveCommandRef:k,saveDrawInfo:_,framebufferFormat:I,guessCommand:b,texture2D:te,textureCube:ne}),oe=0,ie=0,ae=5,ce=6;function ue(e,t){this.id=oe++,this.type=e,this.data=t}function se(e){return e.replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g,'\\\\\"')}function le(e){if(0===e.length)return[];var t=e.charAt(0),n=e.charAt(e.length-1);if(e.length>1&&t===n&&('\"'===t||\"'\"===t))return['\"'+se(e.substr(1,e.length-2))+'\"'];var r=/\\[(false|true|null|\\d+|'[^']*'|\"[^\"]*\")\\]/.exec(e);if(r)return le(e.substr(0,r.index)).concat(le(r[1])).concat(le(e.substr(r.index+r[0].length)));var o=e.split(\".\");if(1===o.length)return['\"'+se(e)+'\"'];for(var i=[],a=0;a<o.length;++a)i=i.concat(le(o[a]));return i}function fe(e){return\"[\"+le(e).join(\"][\")+\"]\"}function de(e,t){return new ue(e,fe(t+\"\"))}function he(e){return\"function\"===typeof e&&!e._reglType||e instanceof ue}function pe(e,t){return\"function\"===typeof e?new ue(ie,e):\"number\"===typeof e||\"boolean\"===typeof e?new ue(ae,e):Array.isArray(e)?new ue(ce,e.map(((e,n)=>pe(e,t+\"[\"+n+\"]\")))):e instanceof ue?e:void re(!1,\"invalid option type in uniform \"+t)}var ve={DynamicVariable:ue,define:de,isDynamic:he,unbox:pe,accessor:fe},ge={next:\"function\"===typeof requestAnimationFrame?function(e){return requestAnimationFrame(e)}:function(e){return setTimeout(e,16)},cancel:\"function\"===typeof cancelAnimationFrame?function(e){return cancelAnimationFrame(e)}:clearTimeout},me=\"undefined\"!==typeof performance&&performance.now?function(){return performance.now()}:function(){return+new Date};function ye(){var e={\"\":0},t=[\"\"];return{id:function(n){var r=e[n];return r||(r=e[n]=t.length,t.push(n),r)},str:function(e){return t[e]}}}function be(e,n,r){var o,i=document.createElement(\"canvas\");function a(){var n=window.innerWidth,o=window.innerHeight;if(e!==document.body){var a=e.getBoundingClientRect();n=a.right-a.left,o=a.bottom-a.top}i.width=r*n,i.height=r*o,t(i.style,{width:n+\"px\",height:o+\"px\"})}function c(){o?o.disconnect():window.removeEventListener(\"resize\",a),e.removeChild(i)}return t(i.style,{border:0,margin:0,padding:0,top:0,left:0}),e.appendChild(i),e===document.body&&(i.style.position=\"absolute\",t(e.style,{margin:0,padding:0})),e!==document.body&&\"function\"===typeof ResizeObserver?(o=new ResizeObserver((function(){setTimeout(a)})),o.observe(e)):window.addEventListener(\"resize\",a,!1),a(),{canvas:i,onDestroy:c}}function xe(e,t){function n(n){try{return e.getContext(n,t)}catch(r){return null}}return n(\"webgl\")||n(\"experimental-webgl\")||n(\"webgl-experimental\")}function we(e){return\"string\"===typeof e.nodeName&&\"function\"===typeof e.appendChild&&\"function\"===typeof e.getBoundingClientRect}function Oe(e){return\"function\"===typeof e.drawArrays||\"function\"===typeof e.drawElements}function Ee(e){return\"string\"===typeof e?e.split():(re(Array.isArray(e),\"invalid extension array\"),e)}function Se(e){return\"string\"===typeof e?(re(\"undefined\"!==typeof document,\"not supported outside of DOM\"),document.querySelector(e)):e}function je(e){var t,n,r,o,i=e||{},a={},c=[],u=[],s=\"undefined\"===typeof window?1:window.devicePixelRatio,l=!1,f=function(e){e&&re.raise(e)},d=function(){};if(\"string\"===typeof i?(re(\"undefined\"!==typeof document,\"selector queries only supported in DOM enviroments\"),t=document.querySelector(i),re(t,\"invalid query string for element\")):\"object\"===typeof i?we(i)?t=i:Oe(i)?(o=i,r=o.canvas):(re.constructor(i),\"gl\"in i?o=i.gl:\"canvas\"in i?r=Se(i.canvas):\"container\"in i&&(n=Se(i.container)),\"attributes\"in i&&(a=i.attributes,re.type(a,\"object\",\"invalid context attributes\")),\"extensions\"in i&&(c=Ee(i.extensions)),\"optionalExtensions\"in i&&(u=Ee(i.optionalExtensions)),\"onDone\"in i&&(re.type(i.onDone,\"function\",\"invalid or missing onDone callback\"),f=i.onDone),\"profile\"in i&&(l=!!i.profile),\"pixelRatio\"in i&&(s=+i.pixelRatio,re(s>0,\"invalid pixel ratio\"))):re.raise(\"invalid arguments to regl\"),t&&(\"canvas\"===t.nodeName.toLowerCase()?r=t:n=t),!o){if(!r){re(\"undefined\"!==typeof document,\"must manually specify webgl context outside of DOM environments\");var h=be(n||document.body,f,s);if(!h)return null;r=h.canvas,d=h.onDestroy}void 0===a.premultipliedAlpha&&(a.premultipliedAlpha=!0),o=xe(r,a)}return o?{gl:o,canvas:r,container:n,extensions:c,optionalExtensions:u,pixelRatio:s,profile:l,onDone:f,onDestroy:d}:(d(),f(\"webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org\"),null)}function ke(e,t){var n={};function r(t){re.type(t,\"string\",\"extension name must be string\");var r,o=t.toLowerCase();try{r=n[o]=e.getExtension(o)}catch(i){}return!!r}for(var o=0;o<t.extensions.length;++o){var i=t.extensions[o];if(!r(i))return t.onDestroy(),t.onDone('\"'+i+'\" extension is not supported by the current WebGL context, try upgrading your system or a different browser'),null}return t.optionalExtensions.forEach(r),{extensions:n,restore:function(){Object.keys(n).forEach((function(e){if(n[e]&&!r(e))throw new Error(\"(regl): error restoring extension \"+e)}))}}}function _e(e,t){for(var n=Array(e),r=0;r<e;++r)n[r]=t(r);return n}var Ce=5120,Me=5121,Ae=5122,Ne=5123,Te=5124,Ie=5125,Pe=5126;function Le(e){for(var t=16;t<=1<<28;t*=16)if(e<=t)return t;return 0}function De(e){var t,n;return t=(e>65535)<<4,e>>>=t,n=(e>255)<<3,e>>>=n,t|=n,n=(e>15)<<2,e>>>=n,t|=n,n=(e>3)<<1,e>>>=n,t|=n,t|e>>1}function Re(){var e=_e(8,(function(){return[]}));function t(t){var n=Le(t),r=e[De(n)>>2];return r.length>0?r.pop():new ArrayBuffer(n)}function n(t){e[De(t.byteLength)>>2].push(t)}function r(e,n){var r=null;switch(e){case Ce:r=new Int8Array(t(n),0,n);break;case Me:r=new Uint8Array(t(n),0,n);break;case Ae:r=new Int16Array(t(2*n),0,n);break;case Ne:r=new Uint16Array(t(2*n),0,n);break;case Te:r=new Int32Array(t(4*n),0,n);break;case Ie:r=new Uint32Array(t(4*n),0,n);break;case Pe:r=new Float32Array(t(4*n),0,n);break;default:return null}return r.length!==n?r.subarray(0,n):r}function o(e){n(e.buffer)}return{alloc:t,free:n,allocType:r,freeType:o}}var Fe=Re();Fe.zero=Re();var Be=3408,ze=3410,Ue=3411,Ge=3412,Ve=3413,We=3414,He=3415,Ye=33901,Xe=33902,qe=3379,Ke=3386,Ze=34921,$e=36347,Qe=36348,Je=35661,et=35660,tt=34930,nt=36349,rt=34076,ot=34024,it=7936,at=7937,ct=7938,ut=35724,st=34047,lt=36063,ft=34852,dt=3553,ht=34067,pt=34069,vt=33984,gt=6408,mt=5126,yt=5121,bt=36160,xt=36053,wt=36064,Ot=16384,Et=function(e,t){var n=1;t.ext_texture_filter_anisotropic&&(n=e.getParameter(st));var r=1,o=1;t.webgl_draw_buffers&&(r=e.getParameter(ft),o=e.getParameter(lt));var i=!!t.oes_texture_float;if(i){var a=e.createTexture();e.bindTexture(dt,a),e.texImage2D(dt,0,gt,1,1,0,gt,mt,null);var c=e.createFramebuffer();if(e.bindFramebuffer(bt,c),e.framebufferTexture2D(bt,wt,dt,a,0),e.bindTexture(dt,null),e.checkFramebufferStatus(bt)!==xt)i=!1;else{e.viewport(0,0,1,1),e.clearColor(1,0,0,1),e.clear(Ot);var u=Fe.allocType(mt,4);e.readPixels(0,0,1,1,gt,mt,u),e.getError()?i=!1:(e.deleteFramebuffer(c),e.deleteTexture(a),i=1===u[0]),Fe.freeType(u)}}var s=\"undefined\"!==typeof navigator&&(/MSIE/.test(navigator.userAgent)||/Trident\\//.test(navigator.appVersion)||/Edge/.test(navigator.userAgent)),l=!0;if(!s){var f=e.createTexture(),d=Fe.allocType(yt,36);e.activeTexture(vt),e.bindTexture(ht,f),e.texImage2D(pt,0,gt,3,3,0,gt,yt,d),Fe.freeType(d),e.bindTexture(ht,null),e.deleteTexture(f),l=!e.getError()}return{colorBits:[e.getParameter(ze),e.getParameter(Ue),e.getParameter(Ge),e.getParameter(Ve)],depthBits:e.getParameter(We),stencilBits:e.getParameter(He),subpixelBits:e.getParameter(Be),extensions:Object.keys(t).filter((function(e){return!!t[e]})),maxAnisotropic:n,maxDrawbuffers:r,maxColorAttachments:o,pointSizeDims:e.getParameter(Ye),lineWidthDims:e.getParameter(Xe),maxViewportDims:e.getParameter(Ke),maxCombinedTextureUnits:e.getParameter(Je),maxCubeMapSize:e.getParameter(rt),maxRenderbufferSize:e.getParameter(ot),maxTextureUnits:e.getParameter(tt),maxTextureSize:e.getParameter(qe),maxAttributes:e.getParameter(Ze),maxVertexUniforms:e.getParameter($e),maxVertexTextureUnits:e.getParameter(et),maxVaryingVectors:e.getParameter(Qe),maxFragmentUniforms:e.getParameter(nt),glsl:e.getParameter(ut),renderer:e.getParameter(at),vendor:e.getParameter(it),version:e.getParameter(ct),readFloat:i,npotTextureCube:l}};function St(t){return!!t&&\"object\"===typeof t&&Array.isArray(t.shape)&&Array.isArray(t.stride)&&\"number\"===typeof t.offset&&t.shape.length===t.stride.length&&(Array.isArray(t.data)||e(t.data))}var jt=function(e){return Object.keys(e).map((function(t){return e[t]}))},kt={shape:Tt,flatten:Nt};function _t(e,t,n){for(var r=0;r<t;++r)n[r]=e[r]}function Ct(e,t,n,r){for(var o=0,i=0;i<t;++i)for(var a=e[i],c=0;c<n;++c)r[o++]=a[c]}function Mt(e,t,n,r,o,i){for(var a=i,c=0;c<t;++c)for(var u=e[c],s=0;s<n;++s)for(var l=u[s],f=0;f<r;++f)o[a++]=l[f]}function At(e,t,n,r,o){for(var i=1,a=n+1;a<t.length;++a)i*=t[a];var c=t[n];if(t.length-n===4){var u=t[n+1],s=t[n+2],l=t[n+3];for(a=0;a<c;++a)Mt(e[a],u,s,l,r,o),o+=i}else for(a=0;a<c;++a)At(e[a],t,n+1,r,o),o+=i}function Nt(e,t,n,r){var o=1;if(t.length)for(var i=0;i<t.length;++i)o*=t[i];else o=0;var a=r||Fe.allocType(n,o);switch(t.length){case 0:break;case 1:_t(e,t[0],a);break;case 2:Ct(e,t[0],t[1],a);break;case 3:Mt(e,t[0],t[1],t[2],a,0);break;default:At(e,t,0,a,0)}return a}function Tt(e){for(var t=[],n=e;n.length;n=n[0])t.push(n.length);return t}var It={\"[object Int8Array]\":5120,\"[object Int16Array]\":5122,\"[object Int32Array]\":5124,\"[object Uint8Array]\":5121,\"[object Uint8ClampedArray]\":5121,\"[object Uint16Array]\":5123,\"[object Uint32Array]\":5125,\"[object Float32Array]\":5126,\"[object Float64Array]\":5121,\"[object ArrayBuffer]\":5121},Pt=5120,Lt=5122,Dt=5124,Rt=5121,Ft=5123,Bt=5125,zt=5126,Ut=5126,Gt={int8:Pt,int16:Lt,int32:Dt,uint8:Rt,uint16:Ft,uint32:Bt,float:zt,float32:Ut},Vt=35048,Wt=35040,Ht={dynamic:Vt,stream:Wt,static:35044},Yt=kt.flatten,Xt=kt.shape,qt=35044,Kt=35040,Zt=5121,$t=5126,Qt=[];function Jt(e){return 0|It[Object.prototype.toString.call(e)]}function en(e,t){for(var n=0;n<t.length;++n)e[n]=t[n]}function tn(e,t,n,r,o,i,a){for(var c=0,u=0;u<n;++u)for(var s=0;s<r;++s)e[c++]=t[o*u+i*s+a]}function nn(t,n,r,o){var i=0,a={};function c(e){this.id=i++,this.buffer=t.createBuffer(),this.type=e,this.usage=qt,this.byteLength=0,this.dimension=1,this.dtype=Zt,this.persistentData=null,r.profile&&(this.stats={size:0})}c.prototype.bind=function(){t.bindBuffer(this.type,this.buffer)},c.prototype.destroy=function(){h(this)};var u=[];function s(e,t){var n=u.pop();return n||(n=new c(e)),n.bind(),d(n,t,Kt,0,1,!1),n}function l(e){u.push(e)}function f(e,n,r){e.byteLength=n.byteLength,t.bufferData(e.type,n,r)}function d(t,n,r,o,i,a){var c,u;if(t.usage=r,Array.isArray(n)){if(t.dtype=o||$t,n.length>0)if(Array.isArray(n[0])){c=Xt(n);for(var s=1,l=1;l<c.length;++l)s*=c[l];t.dimension=s,u=Yt(n,c,t.dtype),f(t,u,r),a?t.persistentData=u:Fe.freeType(u)}else if(\"number\"===typeof n[0]){t.dimension=i;var d=Fe.allocType(t.dtype,n.length);en(d,n),f(t,d,r),a?t.persistentData=d:Fe.freeType(d)}else e(n[0])?(t.dimension=n[0].length,t.dtype=o||Jt(n[0])||$t,u=Yt(n,[n.length,n[0].length],t.dtype),f(t,u,r),a?t.persistentData=u:Fe.freeType(u)):re.raise(\"invalid buffer data\")}else if(e(n))t.dtype=o||Jt(n),t.dimension=i,f(t,n,r),a&&(t.persistentData=new Uint8Array(new Uint8Array(n.buffer)));else if(St(n)){c=n.shape;var h=n.stride,p=n.offset,v=0,g=0,m=0,y=0;1===c.length?(v=c[0],g=1,m=h[0],y=0):2===c.length?(v=c[0],g=c[1],m=h[0],y=h[1]):re.raise(\"invalid shape\"),t.dtype=o||Jt(n.data)||$t,t.dimension=g;var b=Fe.allocType(t.dtype,v*g);tn(b,n.data,v,g,m,y,p),f(t,b,r),a?t.persistentData=b:Fe.freeType(b)}else n instanceof ArrayBuffer?(t.dtype=Zt,t.dimension=i,f(t,n,r),a&&(t.persistentData=new Uint8Array(new Uint8Array(n)))):re.raise(\"invalid buffer data\")}function h(e){n.bufferCount--,o(e);var r=e.buffer;re(r,\"buffer must not be deleted already\"),t.deleteBuffer(r),e.buffer=null,delete a[e.id]}function p(o,i,u,s){n.bufferCount++;var l=new c(i);function f(n){var o=qt,i=null,a=0,c=0,u=1;return Array.isArray(n)||e(n)||St(n)||n instanceof ArrayBuffer?i=n:\"number\"===typeof n?a=0|n:n&&(re.type(n,\"object\",\"buffer arguments must be an object, a number or an array\"),\"data\"in n&&(re(null===i||Array.isArray(i)||e(i)||St(i),\"invalid data for buffer\"),i=n.data),\"usage\"in n&&(re.parameter(n.usage,Ht,\"invalid buffer usage\"),o=Ht[n.usage]),\"type\"in n&&(re.parameter(n.type,Gt,\"invalid buffer type\"),c=Gt[n.type]),\"dimension\"in n&&(re.type(n.dimension,\"number\",\"invalid dimension\"),u=0|n.dimension),\"length\"in n&&(re.nni(a,\"buffer length must be a nonnegative integer\"),a=0|n.length)),l.bind(),i?d(l,i,o,c,u,s):(a&&t.bufferData(l.type,a,o),l.dtype=c||Zt,l.usage=o,l.dimension=u,l.byteLength=a),r.profile&&(l.stats.size=l.byteLength*Qt[l.dtype]),f}function p(e,n){re(n+e.byteLength<=l.byteLength,\"invalid buffer subdata call, buffer is too small.  Can't write data of size \"+e.byteLength+\" starting from offset \"+n+\" to a buffer of size \"+l.byteLength),t.bufferSubData(l.type,n,e)}function v(t,n){var r,o=0|(n||0);if(l.bind(),e(t)||t instanceof ArrayBuffer)p(t,o);else if(Array.isArray(t)){if(t.length>0)if(\"number\"===typeof t[0]){var i=Fe.allocType(l.dtype,t.length);en(i,t),p(i,o),Fe.freeType(i)}else if(Array.isArray(t[0])||e(t[0])){r=Xt(t);var a=Yt(t,r,l.dtype);p(a,o),Fe.freeType(a)}else re.raise(\"invalid buffer data\")}else if(St(t)){r=t.shape;var c=t.stride,u=0,s=0,d=0,h=0;1===r.length?(u=r[0],s=1,d=c[0],h=0):2===r.length?(u=r[0],s=r[1],d=c[0],h=c[1]):re.raise(\"invalid shape\");var v=Array.isArray(t.data)?l.dtype:Jt(t.data),g=Fe.allocType(v,u*s);tn(g,t.data,u,s,d,h,t.offset),p(g,o),Fe.freeType(g)}else re.raise(\"invalid data for buffer subdata\");return f}return a[l.id]=l,u||f(o),f._reglType=\"buffer\",f._buffer=l,f.subdata=v,r.profile&&(f.stats=l.stats),f.destroy=function(){h(l)},f}function v(){jt(a).forEach((function(e){e.buffer=t.createBuffer(),t.bindBuffer(e.type,e.buffer),t.bufferData(e.type,e.persistentData||e.byteLength,e.usage)}))}return r.profile&&(n.getTotalBufferSize=function(){var e=0;return Object.keys(a).forEach((function(t){e+=a[t].stats.size})),e}),{create:p,createStream:s,destroyStream:l,clear:function(){jt(a).forEach(h),u.forEach(h)},getBuffer:function(e){return e&&e._buffer instanceof c?e._buffer:null},restore:v,_initBuffer:d}}Qt[5120]=1,Qt[5122]=2,Qt[5124]=4,Qt[5121]=1,Qt[5123]=2,Qt[5125]=4,Qt[5126]=4;var rn=0,on=0,an=1,cn=1,un=4,sn=4,ln={points:rn,point:on,lines:an,line:cn,triangles:un,triangle:sn,\"line loop\":2,\"line strip\":3,\"triangle strip\":5,\"triangle fan\":6},fn=0,dn=1,hn=4,pn=5120,vn=5121,gn=5122,mn=5123,yn=5124,bn=5125,xn=34963,wn=35040,On=35044;function En(t,n,r,o){var i={},a=0,c={uint8:vn,uint16:mn};function u(e){this.id=a++,i[this.id]=this,this.buffer=e,this.primType=hn,this.vertCount=0,this.type=0}n.oes_element_index_uint&&(c.uint32=bn),u.prototype.bind=function(){this.buffer.bind()};var s=[];function l(e){var t=s.pop();return t||(t=new u(r.create(null,xn,!0,!1)._buffer)),d(t,e,wn,-1,-1,0,0),t}function f(e){s.push(e)}function d(o,i,a,c,u,s,l){var f;if(o.buffer.bind(),i){var d=l;l||e(i)&&(!St(i)||e(i.data))||(d=n.oes_element_index_uint?bn:mn),r._initBuffer(o.buffer,i,a,d,3)}else t.bufferData(xn,s,a),o.buffer.dtype=f||vn,o.buffer.usage=a,o.buffer.dimension=3,o.buffer.byteLength=s;if(f=l,!l){switch(o.buffer.dtype){case vn:case pn:f=vn;break;case mn:case gn:f=mn;break;case bn:case yn:f=bn;break;default:re.raise(\"unsupported type for element array\")}o.buffer.dtype=f}o.type=f,re(f!==bn||!!n.oes_element_index_uint,\"32 bit element buffers not supported, enable oes_element_index_uint first\");var h=u;h<0&&(h=o.buffer.byteLength,f===mn?h>>=1:f===bn&&(h>>=2)),o.vertCount=h;var p=c;if(c<0){p=hn;var v=o.buffer.dimension;1===v&&(p=fn),2===v&&(p=dn),3===v&&(p=hn)}o.primType=p}function h(e){o.elementsCount--,re(null!==e.buffer,\"must not double destroy elements\"),delete i[e.id],e.buffer.destroy(),e.buffer=null}function p(t,n){var i=r.create(null,xn,!0),a=new u(i._buffer);function s(t){if(t)if(\"number\"===typeof t)i(t),a.primType=hn,a.vertCount=0|t,a.type=vn;else{var n=null,r=On,o=-1,u=-1,l=0,f=0;Array.isArray(t)||e(t)||St(t)?n=t:(re.type(t,\"object\",\"invalid arguments for elements\"),\"data\"in t&&(n=t.data,re(Array.isArray(n)||e(n)||St(n),\"invalid data for element buffer\")),\"usage\"in t&&(re.parameter(t.usage,Ht,\"invalid element buffer usage\"),r=Ht[t.usage]),\"primitive\"in t&&(re.parameter(t.primitive,ln,\"invalid element buffer primitive\"),o=ln[t.primitive]),\"count\"in t&&(re(\"number\"===typeof t.count&&t.count>=0,\"invalid vertex count for elements\"),u=0|t.count),\"type\"in t&&(re.parameter(t.type,c,\"invalid buffer type\"),f=c[t.type]),\"length\"in t?l=0|t.length:(l=u,f===mn||f===gn?l*=2:f!==bn&&f!==yn||(l*=4))),d(a,n,r,o,u,l,f)}else i(),a.primType=hn,a.vertCount=0,a.type=vn;return s}return o.elementsCount++,s(t),s._reglType=\"elements\",s._elements=a,s.subdata=function(e,t){return i.subdata(e,t),s},s.destroy=function(){h(a)},s}return{create:p,createStream:l,destroyStream:f,getElements:function(e){return\"function\"===typeof e&&e._elements instanceof u?e._elements:null},clear:function(){jt(i).forEach(h)}}}var Sn=new Float32Array(1),jn=new Uint32Array(Sn.buffer),kn=5123;function _n(e){for(var t=Fe.allocType(kn,e.length),n=0;n<e.length;++n)if(isNaN(e[n]))t[n]=65535;else if(e[n]===1/0)t[n]=31744;else if(e[n]===-1/0)t[n]=64512;else{Sn[0]=e[n];var r=jn[0],o=r>>>31<<15,i=(r<<1>>>24)-127,a=r>>13&1023;if(i<-24)t[n]=o;else if(i<-14){var c=-14-i;t[n]=o+(a+1024>>c)}else t[n]=i>15?o+31744:o+(i+15<<10)+a}return t}function Cn(t){return Array.isArray(t)||e(t)}var Mn=function(e){return!(e&e-1)&&!!e},An=34467,Nn=3553,Tn=34067,In=34069,Pn=6408,Ln=6406,Dn=6407,Rn=6409,Fn=6410,Bn=32854,zn=32855,Un=36194,Gn=32819,Vn=32820,Wn=33635,Hn=34042,Yn=6402,Xn=34041,qn=35904,Kn=35906,Zn=36193,$n=33776,Qn=33777,Jn=33778,er=33779,tr=35986,nr=35987,rr=34798,or=35840,ir=35841,ar=35842,cr=35843,ur=36196,sr=5121,lr=5123,fr=5125,dr=5126,hr=10242,pr=10243,vr=10497,gr=33071,mr=33648,yr=10240,br=10241,xr=9728,wr=9729,Or=9984,Er=9985,Sr=9986,jr=9987,kr=33170,_r=4352,Cr=4353,Mr=4354,Ar=34046,Nr=3317,Tr=37440,Ir=37441,Pr=37443,Lr=37444,Dr=33984,Rr=[Or,Sr,Er,jr],Fr=[0,Rn,Fn,Dn,Pn],Br={};function zr(e){return\"[object \"+e+\"]\"}Br[Rn]=Br[Ln]=Br[Yn]=1,Br[Xn]=Br[Fn]=2,Br[Dn]=Br[qn]=3,Br[Pn]=Br[Kn]=4;var Ur=zr(\"HTMLCanvasElement\"),Gr=zr(\"OffscreenCanvas\"),Vr=zr(\"CanvasRenderingContext2D\"),Wr=zr(\"ImageBitmap\"),Hr=zr(\"HTMLImageElement\"),Yr=zr(\"HTMLVideoElement\"),Xr=Object.keys(It).concat([Ur,Gr,Vr,Wr,Hr,Yr]),qr=[];qr[sr]=1,qr[dr]=4,qr[Zn]=2,qr[lr]=2,qr[fr]=4;var Kr=[];function Zr(e){return Array.isArray(e)&&(0===e.length||\"number\"===typeof e[0])}function $r(e){if(!Array.isArray(e))return!1;var t=e.length;return!(0===t||!Cn(e[0]))}function Qr(e){return Object.prototype.toString.call(e)}function Jr(e){return Qr(e)===Ur}function eo(e){return Qr(e)===Gr}function to(e){return Qr(e)===Vr}function no(e){return Qr(e)===Wr}function ro(e){return Qr(e)===Hr}function oo(e){return Qr(e)===Yr}function io(e){if(!e)return!1;var t=Qr(e);return Xr.indexOf(t)>=0||(Zr(e)||$r(e)||St(e))}function ao(e){return 0|It[Object.prototype.toString.call(e)]}function co(e,t){var n=t.length;switch(e.type){case sr:case lr:case fr:case dr:var r=Fe.allocType(e.type,n);r.set(t),e.data=r;break;case Zn:e.data=_n(t);break;default:re.raise(\"unsupported texture type, must specify a typed array\")}}function uo(e,t){return Fe.allocType(e.type===Zn?dr:e.type,t)}function so(e,t){e.type===Zn?(e.data=_n(t),Fe.freeType(t)):e.data=t}function lo(e,t,n,r,o,i){for(var a=e.width,c=e.height,u=e.channels,s=a*c*u,l=uo(e,s),f=0,d=0;d<c;++d)for(var h=0;h<a;++h)for(var p=0;p<u;++p)l[f++]=t[n*h+r*d+o*p+i];so(e,l)}function fo(e,t,n,r,o,i){var a;if(a=\"undefined\"!==typeof Kr[e]?Kr[e]:Br[e]*qr[t],i&&(a*=6),o){var c=0,u=n;while(u>=1)c+=a*u*u,u/=2;return c}return a*n*r}function ho(n,r,o,i,a,c,u){var s={\"don't care\":_r,\"dont care\":_r,nice:Mr,fast:Cr},l={repeat:vr,clamp:gr,mirror:mr},f={nearest:xr,linear:wr},d=t({mipmap:jr,\"nearest mipmap nearest\":Or,\"linear mipmap nearest\":Er,\"nearest mipmap linear\":Sr,\"linear mipmap linear\":jr},f),h={none:0,browser:Lr},p={uint8:sr,rgba4:Gn,rgb565:Wn,\"rgb5 a1\":Vn},v={alpha:Ln,luminance:Rn,\"luminance alpha\":Fn,rgb:Dn,rgba:Pn,rgba4:Bn,\"rgb5 a1\":zn,rgb565:Un},g={};r.ext_srgb&&(v.srgb=qn,v.srgba=Kn),r.oes_texture_float&&(p.float32=p.float=dr),r.oes_texture_half_float&&(p[\"float16\"]=p[\"half float\"]=Zn),r.webgl_depth_texture&&(t(v,{depth:Yn,\"depth stencil\":Xn}),t(p,{uint16:lr,uint32:fr,\"depth stencil\":Hn})),r.webgl_compressed_texture_s3tc&&t(g,{\"rgb s3tc dxt1\":$n,\"rgba s3tc dxt1\":Qn,\"rgba s3tc dxt3\":Jn,\"rgba s3tc dxt5\":er}),r.webgl_compressed_texture_atc&&t(g,{\"rgb atc\":tr,\"rgba atc explicit alpha\":nr,\"rgba atc interpolated alpha\":rr}),r.webgl_compressed_texture_pvrtc&&t(g,{\"rgb pvrtc 4bppv1\":or,\"rgb pvrtc 2bppv1\":ir,\"rgba pvrtc 4bppv1\":ar,\"rgba pvrtc 2bppv1\":cr}),r.webgl_compressed_texture_etc1&&(g[\"rgb etc1\"]=ur);var m=Array.prototype.slice.call(n.getParameter(An));Object.keys(g).forEach((function(e){var t=g[e];m.indexOf(t)>=0&&(v[e]=t)}));var y=Object.keys(v);o.textureFormats=y;var b=[];Object.keys(v).forEach((function(e){var t=v[e];b[t]=e}));var x=[];Object.keys(p).forEach((function(e){var t=p[e];x[t]=e}));var w=[];Object.keys(f).forEach((function(e){var t=f[e];w[t]=e}));var O=[];Object.keys(d).forEach((function(e){var t=d[e];O[t]=e}));var E=[];Object.keys(l).forEach((function(e){var t=l[e];E[t]=e}));var S=y.reduce((function(e,t){var n=v[t];return n===Rn||n===Ln||n===Rn||n===Fn||n===Yn||n===Xn||r.ext_srgb&&(n===qn||n===Kn)?e[n]=n:n===zn||t.indexOf(\"rgba\")>=0?e[n]=Pn:e[n]=Dn,e}),{});function j(){this.internalformat=Pn,this.format=Pn,this.type=sr,this.compressed=!1,this.premultiplyAlpha=!1,this.flipY=!1,this.unpackAlignment=1,this.colorSpace=Lr,this.width=0,this.height=0,this.channels=0}function k(e,t){e.internalformat=t.internalformat,e.format=t.format,e.type=t.type,e.compressed=t.compressed,e.premultiplyAlpha=t.premultiplyAlpha,e.flipY=t.flipY,e.unpackAlignment=t.unpackAlignment,e.colorSpace=t.colorSpace,e.width=t.width,e.height=t.height,e.channels=t.channels}function _(e,t){if(\"object\"===typeof t&&t){if(\"premultiplyAlpha\"in t&&(re.type(t.premultiplyAlpha,\"boolean\",\"invalid premultiplyAlpha\"),e.premultiplyAlpha=t.premultiplyAlpha),\"flipY\"in t&&(re.type(t.flipY,\"boolean\",\"invalid texture flip\"),e.flipY=t.flipY),\"alignment\"in t&&(re.oneOf(t.alignment,[1,2,4,8],\"invalid texture unpack alignment\"),e.unpackAlignment=t.alignment),\"colorSpace\"in t&&(re.parameter(t.colorSpace,h,\"invalid colorSpace\"),e.colorSpace=h[t.colorSpace]),\"type\"in t){var n=t.type;re(r.oes_texture_float||!(\"float\"===n||\"float32\"===n),\"you must enable the OES_texture_float extension in order to use floating point textures.\"),re(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.\"),re(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.\"),re.parameter(n,p,\"invalid texture type\"),e.type=p[n]}var i=e.width,a=e.height,c=e.channels,u=!1;\"shape\"in t?(re(Array.isArray(t.shape)&&t.shape.length>=2,\"shape must be an array\"),i=t.shape[0],a=t.shape[1],3===t.shape.length&&(c=t.shape[2],re(c>0&&c<=4,\"invalid number of channels\"),u=!0),re(i>=0&&i<=o.maxTextureSize,\"invalid width\"),re(a>=0&&a<=o.maxTextureSize,\"invalid height\")):(\"radius\"in t&&(i=a=t.radius,re(i>=0&&i<=o.maxTextureSize,\"invalid radius\")),\"width\"in t&&(i=t.width,re(i>=0&&i<=o.maxTextureSize,\"invalid width\")),\"height\"in t&&(a=t.height,re(a>=0&&a<=o.maxTextureSize,\"invalid height\")),\"channels\"in t&&(c=t.channels,re(c>0&&c<=4,\"invalid number of channels\"),u=!0)),e.width=0|i,e.height=0|a,e.channels=0|c;var s=!1;if(\"format\"in t){var l=t.format;re(r.webgl_depth_texture||!(\"depth\"===l||\"depth stencil\"===l),\"you must enable the WEBGL_depth_texture extension in order to use depth/stencil textures.\"),re.parameter(l,v,\"invalid texture format\");var f=e.internalformat=v[l];e.format=S[f],l in p&&(\"type\"in t||(e.type=p[l])),l in g&&(e.compressed=!0),s=!0}!u&&s?e.channels=Br[e.format]:u&&!s?e.channels!==Fr[e.format]&&(e.format=e.internalformat=Fr[e.channels]):s&&u&&re(e.channels===Br[e.format],\"number of channels inconsistent with specified format\")}}function C(e){n.pixelStorei(Tr,e.flipY),n.pixelStorei(Ir,e.premultiplyAlpha),n.pixelStorei(Pr,e.colorSpace),n.pixelStorei(Nr,e.unpackAlignment)}function M(){j.call(this),this.xOffset=0,this.yOffset=0,this.data=null,this.needsFree=!1,this.element=null,this.needsCopy=!1}function A(t,n){var r=null;if(io(n)?r=n:n&&(re.type(n,\"object\",\"invalid pixel data type\"),_(t,n),\"x\"in n&&(t.xOffset=0|n.x),\"y\"in n&&(t.yOffset=0|n.y),io(n.data)&&(r=n.data)),re(!t.compressed||r instanceof Uint8Array,\"compressed texture data must be stored in a uint8array\"),n.copy){re(!r,\"can not specify copy and data field for the same texture\");var i=a.viewportWidth,c=a.viewportHeight;t.width=t.width||i-t.xOffset,t.height=t.height||c-t.yOffset,t.needsCopy=!0,re(t.xOffset>=0&&t.xOffset<i&&t.yOffset>=0&&t.yOffset<c&&t.width>0&&t.width<=i&&t.height>0&&t.height<=c,\"copy texture read out of bounds\")}else if(r){if(e(r))t.channels=t.channels||4,t.data=r,\"type\"in n||t.type!==sr||(t.type=ao(r));else if(Zr(r))t.channels=t.channels||4,co(t,r),t.alignment=1,t.needsFree=!0;else if(St(r)){var u=r.data;Array.isArray(u)||t.type!==sr||(t.type=ao(u));var s,l,f,d,h,p,v=r.shape,g=r.stride;3===v.length?(f=v[2],p=g[2]):(re(2===v.length,\"invalid ndarray pixel data, must be 2 or 3D\"),f=1,p=1),s=v[0],l=v[1],d=g[0],h=g[1],t.alignment=1,t.width=s,t.height=l,t.channels=f,t.format=t.internalformat=Fr[f],t.needsFree=!0,lo(t,u,d,h,p,r.offset)}else if(Jr(r)||eo(r)||to(r))Jr(r)||eo(r)?t.element=r:t.element=r.canvas,t.width=t.element.width,t.height=t.element.height,t.channels=4;else if(no(r))t.element=r,t.width=r.width,t.height=r.height,t.channels=4;else if(ro(r))t.element=r,t.width=r.naturalWidth,t.height=r.naturalHeight,t.channels=4;else if(oo(r))t.element=r,t.width=r.videoWidth,t.height=r.videoHeight,t.channels=4;else if($r(r)){var m=t.width||r[0].length,y=t.height||r.length,b=t.channels;b=Cn(r[0][0])?b||r[0][0].length:b||1;for(var x=kt.shape(r),w=1,O=0;O<x.length;++O)w*=x[O];var E=uo(t,w);kt.flatten(r,x,\"\",E),so(t,E),t.alignment=1,t.width=m,t.height=y,t.channels=b,t.format=t.internalformat=Fr[b],t.needsFree=!0}}else t.width=t.width||1,t.height=t.height||1,t.channels=t.channels||4;t.type===dr?re(o.extensions.indexOf(\"oes_texture_float\")>=0,\"oes_texture_float extension not enabled\"):t.type===Zn&&re(o.extensions.indexOf(\"oes_texture_half_float\")>=0,\"oes_texture_half_float extension not enabled\")}function N(e,t,r){var o=e.element,a=e.data,c=e.internalformat,u=e.format,s=e.type,l=e.width,f=e.height;C(e),o?n.texImage2D(t,r,u,u,s,o):e.compressed?n.compressedTexImage2D(t,r,c,l,f,0,a):e.needsCopy?(i(),n.copyTexImage2D(t,r,u,e.xOffset,e.yOffset,l,f,0)):n.texImage2D(t,r,u,l,f,0,u,s,a||null)}function T(e,t,r,o,a){var c=e.element,u=e.data,s=e.internalformat,l=e.format,f=e.type,d=e.width,h=e.height;C(e),c?n.texSubImage2D(t,a,r,o,l,f,c):e.compressed?n.compressedTexSubImage2D(t,a,r,o,s,d,h,u):e.needsCopy?(i(),n.copyTexSubImage2D(t,a,r,o,e.xOffset,e.yOffset,d,h)):n.texSubImage2D(t,a,r,o,d,h,l,f,u)}var I=[];function P(){return I.pop()||new M}function L(e){e.needsFree&&Fe.freeType(e.data),M.call(e),I.push(e)}function D(){j.call(this),this.genMipmaps=!1,this.mipmapHint=_r,this.mipmask=0,this.images=Array(16)}function R(e,t,n){var r=e.images[0]=P();e.mipmask=1,r.width=e.width=t,r.height=e.height=n,r.channels=e.channels=4}function F(e,t){var n=null;if(io(t))n=e.images[0]=P(),k(n,e),A(n,t),e.mipmask=1;else if(_(e,t),Array.isArray(t.mipmap))for(var r=t.mipmap,o=0;o<r.length;++o)n=e.images[o]=P(),k(n,e),n.width>>=o,n.height>>=o,A(n,r[o]),e.mipmask|=1<<o;else n=e.images[0]=P(),k(n,e),A(n,t),e.mipmask=1;k(e,e.images[0]),!e.compressed||e.internalformat!==$n&&e.internalformat!==Qn&&e.internalformat!==Jn&&e.internalformat!==er||re(e.width%4===0&&e.height%4===0,\"for compressed texture formats, mipmap level 0 must have width and height that are a multiple of 4\")}function B(e,t){for(var n=e.images,r=0;r<n.length;++r){if(!n[r])return;N(n[r],t,r)}}var z=[];function U(){var e=z.pop()||new D;j.call(e),e.mipmask=0;for(var t=0;t<16;++t)e.images[t]=null;return e}function G(e){for(var t=e.images,n=0;n<t.length;++n)t[n]&&L(t[n]),t[n]=null;z.push(e)}function V(){this.minFilter=xr,this.magFilter=xr,this.wrapS=gr,this.wrapT=gr,this.anisotropic=1,this.genMipmaps=!1,this.mipmapHint=_r}function W(e,t){if(\"min\"in t){var n=t.min;re.parameter(n,d),e.minFilter=d[n],Rr.indexOf(e.minFilter)>=0&&!(\"faces\"in t)&&(e.genMipmaps=!0)}if(\"mag\"in t){var r=t.mag;re.parameter(r,f),e.magFilter=f[r]}var i=e.wrapS,a=e.wrapT;if(\"wrap\"in t){var c=t.wrap;\"string\"===typeof c?(re.parameter(c,l),i=a=l[c]):Array.isArray(c)&&(re.parameter(c[0],l),re.parameter(c[1],l),i=l[c[0]],a=l[c[1]])}else{if(\"wrapS\"in t){var u=t.wrapS;re.parameter(u,l),i=l[u]}if(\"wrapT\"in t){var h=t.wrapT;re.parameter(h,l),a=l[h]}}if(e.wrapS=i,e.wrapT=a,\"anisotropic\"in t){var p=t.anisotropic;re(\"number\"===typeof p&&p>=1&&p<=o.maxAnisotropic,\"aniso samples must be between 1 and \"),e.anisotropic=t.anisotropic}if(\"mipmap\"in t){var v=!1;switch(typeof t.mipmap){case\"string\":re.parameter(t.mipmap,s,\"invalid mipmap hint\"),e.mipmapHint=s[t.mipmap],e.genMipmaps=!0,v=!0;break;case\"boolean\":v=e.genMipmaps=t.mipmap;break;case\"object\":re(Array.isArray(t.mipmap),\"invalid mipmap type\"),e.genMipmaps=!1,v=!0;break;default:re.raise(\"invalid mipmap type\")}v&&!(\"min\"in t)&&(e.minFilter=Or)}}function H(e,t){n.texParameteri(t,br,e.minFilter),n.texParameteri(t,yr,e.magFilter),n.texParameteri(t,hr,e.wrapS),n.texParameteri(t,pr,e.wrapT),r.ext_texture_filter_anisotropic&&n.texParameteri(t,Ar,e.anisotropic),e.genMipmaps&&(n.hint(kr,e.mipmapHint),n.generateMipmap(t))}var Y=0,X={},q=o.maxTextureUnits,K=Array(q).map((function(){return null}));function Z(e){j.call(this),this.mipmask=0,this.internalformat=Pn,this.id=Y++,this.refCount=1,this.target=e,this.texture=n.createTexture(),this.unit=-1,this.bindCount=0,this.texInfo=new V,u.profile&&(this.stats={size:0})}function $(e){n.activeTexture(Dr),n.bindTexture(e.target,e.texture)}function Q(){var e=K[0];e?n.bindTexture(e.target,e.texture):n.bindTexture(Nn,null)}function J(e){var t=e.texture;re(t,\"must not double destroy texture\");var r=e.unit,o=e.target;r>=0&&(n.activeTexture(Dr+r),n.bindTexture(o,null),K[r]=null),n.deleteTexture(t),e.texture=null,e.params=null,e.pixels=null,e.refCount=0,delete X[e.id],c.textureCount--}function ee(e,t){var r=new Z(Nn);function i(e,t){var n=r.texInfo;V.call(n);var a=U();return\"number\"===typeof e?R(a,0|e,\"number\"===typeof t?0|t:0|e):e?(re.type(e,\"object\",\"invalid arguments to regl.texture\"),W(n,e),F(a,e)):R(a,1,1),n.genMipmaps&&(a.mipmask=(a.width<<1)-1),r.mipmask=a.mipmask,k(r,a),re.texture2D(n,a,o),r.internalformat=a.internalformat,i.width=a.width,i.height=a.height,$(r),B(a,Nn),H(n,Nn),Q(),G(a),u.profile&&(r.stats.size=fo(r.internalformat,r.type,a.width,a.height,n.genMipmaps,!1)),i.format=b[r.internalformat],i.type=x[r.type],i.mag=w[n.magFilter],i.min=O[n.minFilter],i.wrapS=E[n.wrapS],i.wrapT=E[n.wrapT],i}function a(e,t,n,o){re(!!e,\"must specify image data\");var a=0|t,c=0|n,u=0|o,s=P();return k(s,r),s.width=0,s.height=0,A(s,e),s.width=s.width||(r.width>>u)-a,s.height=s.height||(r.height>>u)-c,re(r.type===s.type&&r.format===s.format&&r.internalformat===s.internalformat,\"incompatible format for texture.subimage\"),re(a>=0&&c>=0&&a+s.width<=r.width&&c+s.height<=r.height,\"texture.subimage write out of bounds\"),re(r.mipmask&1<<u,\"missing mipmap data\"),re(s.data||s.element||s.needsCopy,\"missing image data\"),$(r),T(s,Nn,a,c,u),Q(),L(s),i}function s(e,t){var o=0|e,a=0|t||o;if(o===r.width&&a===r.height)return i;i.width=r.width=o,i.height=r.height=a,$(r);for(var c=0;r.mipmask>>c;++c){var s=o>>c,l=a>>c;if(!s||!l)break;n.texImage2D(Nn,c,r.format,s,l,0,r.format,r.type,null)}return Q(),u.profile&&(r.stats.size=fo(r.internalformat,r.type,o,a,!1,!1)),i}return X[r.id]=r,c.textureCount++,i(e,t),i.subimage=a,i.resize=s,i._reglType=\"texture2d\",i._texture=r,u.profile&&(i.stats=r.stats),i.destroy=function(){r.decRef()},i}function te(e,t,r,i,a,s){var l=new Z(Tn);X[l.id]=l,c.cubeCount++;var f=new Array(6);function d(e,t,n,r,i,a){var c,s=l.texInfo;for(V.call(s),c=0;c<6;++c)f[c]=U();if(\"number\"!==typeof e&&e)if(\"object\"===typeof e)if(t)F(f[0],e),F(f[1],t),F(f[2],n),F(f[3],r),F(f[4],i),F(f[5],a);else if(W(s,e),_(l,e),\"faces\"in e){var h=e.faces;for(re(Array.isArray(h)&&6===h.length,\"cube faces must be a length 6 array\"),c=0;c<6;++c)re(\"object\"===typeof h[c]&&!!h[c],\"invalid input for cube map face\"),k(f[c],l),F(f[c],h[c])}else for(c=0;c<6;++c)F(f[c],e);else re.raise(\"invalid arguments to cube map\");else{var p=0|e||1;for(c=0;c<6;++c)R(f[c],p,p)}for(k(l,f[0]),o.npotTextureCube||re(Mn(l.width)&&Mn(l.height),\"your browser does not support non power or two texture dimensions\"),s.genMipmaps?l.mipmask=(f[0].width<<1)-1:l.mipmask=f[0].mipmask,re.textureCube(l,s,f,o),l.internalformat=f[0].internalformat,d.width=f[0].width,d.height=f[0].height,$(l),c=0;c<6;++c)B(f[c],In+c);for(H(s,Tn),Q(),u.profile&&(l.stats.size=fo(l.internalformat,l.type,d.width,d.height,s.genMipmaps,!0)),d.format=b[l.internalformat],d.type=x[l.type],d.mag=w[s.magFilter],d.min=O[s.minFilter],d.wrapS=E[s.wrapS],d.wrapT=E[s.wrapT],c=0;c<6;++c)G(f[c]);return d}function h(e,t,n,r,o){re(!!t,\"must specify image data\"),re(\"number\"===typeof e&&e===(0|e)&&e>=0&&e<6,\"invalid face\");var i=0|n,a=0|r,c=0|o,u=P();return k(u,l),u.width=0,u.height=0,A(u,t),u.width=u.width||(l.width>>c)-i,u.height=u.height||(l.height>>c)-a,re(l.type===u.type&&l.format===u.format&&l.internalformat===u.internalformat,\"incompatible format for texture.subimage\"),re(i>=0&&a>=0&&i+u.width<=l.width&&a+u.height<=l.height,\"texture.subimage write out of bounds\"),re(l.mipmask&1<<c,\"missing mipmap data\"),re(u.data||u.element||u.needsCopy,\"missing image data\"),$(l),T(u,In+e,i,a,c),Q(),L(u),d}function p(e){var t=0|e;if(t!==l.width){d.width=l.width=t,d.height=l.height=t,$(l);for(var r=0;r<6;++r)for(var o=0;l.mipmask>>o;++o)n.texImage2D(In+r,o,l.format,t>>o,t>>o,0,l.format,l.type,null);return Q(),u.profile&&(l.stats.size=fo(l.internalformat,l.type,d.width,d.height,!1,!0)),d}}return d(e,t,r,i,a,s),d.subimage=h,d.resize=p,d._reglType=\"textureCube\",d._texture=l,u.profile&&(d.stats=l.stats),d.destroy=function(){l.decRef()},d}function ne(){for(var e=0;e<q;++e)n.activeTexture(Dr+e),n.bindTexture(Nn,null),K[e]=null;jt(X).forEach(J),c.cubeCount=0,c.textureCount=0}function oe(){for(var e=0;e<q;++e){var t=K[e];t&&(t.bindCount=0,t.unit=-1,K[e]=null)}jt(X).forEach((function(e){e.texture=n.createTexture(),n.bindTexture(e.target,e.texture);for(var t=0;t<32;++t)if(0!==(e.mipmask&1<<t))if(e.target===Nn)n.texImage2D(Nn,t,e.internalformat,e.width>>t,e.height>>t,0,e.internalformat,e.type,null);else for(var r=0;r<6;++r)n.texImage2D(In+r,t,e.internalformat,e.width>>t,e.height>>t,0,e.internalformat,e.type,null);H(e.texInfo,e.target)}))}function ie(){for(var e=0;e<q;++e){var t=K[e];t&&(t.bindCount=0,t.unit=-1,K[e]=null),n.activeTexture(Dr+e),n.bindTexture(Nn,null),n.bindTexture(Tn,null)}}return t(Z.prototype,{bind:function(){var e=this;e.bindCount+=1;var t=e.unit;if(t<0){for(var r=0;r<q;++r){var o=K[r];if(o){if(o.bindCount>0)continue;o.unit=-1}K[r]=e,t=r;break}t>=q&&re.raise(\"insufficient number of texture units\"),u.profile&&c.maxTextureUnits<t+1&&(c.maxTextureUnits=t+1),e.unit=t,n.activeTexture(Dr+t),n.bindTexture(e.target,e.texture)}return t},unbind:function(){this.bindCount-=1},decRef:function(){--this.refCount<=0&&J(this)}}),u.profile&&(c.getTotalTextureSize=function(){var e=0;return Object.keys(X).forEach((function(t){e+=X[t].stats.size})),e}),{create2D:ee,createCube:te,clear:ne,getTexture:function(e){return null},restore:oe,refresh:ie}}Kr[Bn]=2,Kr[zn]=2,Kr[Un]=2,Kr[Xn]=4,Kr[$n]=.5,Kr[Qn]=.5,Kr[Jn]=1,Kr[er]=1,Kr[tr]=.5,Kr[nr]=1,Kr[rr]=1,Kr[or]=.5,Kr[ir]=.25,Kr[ar]=.5,Kr[cr]=.25,Kr[ur]=.5;var po=36161,vo=32854,go=32855,mo=36194,yo=33189,bo=36168,xo=34041,wo=35907,Oo=34836,Eo=34842,So=34843,jo=[];function ko(e,t,n){return jo[e]*t*n}jo[vo]=2,jo[go]=2,jo[mo]=2,jo[yo]=2,jo[bo]=1,jo[xo]=4,jo[wo]=4,jo[Oo]=16,jo[Eo]=8,jo[So]=6;var _o=function(e,t,n,r,o){var i={rgba4:vo,rgb565:mo,\"rgb5 a1\":go,depth:yo,stencil:bo,\"depth stencil\":xo};t.ext_srgb&&(i[\"srgba\"]=wo),t.ext_color_buffer_half_float&&(i[\"rgba16f\"]=Eo,i[\"rgb16f\"]=So),t.webgl_color_buffer_float&&(i[\"rgba32f\"]=Oo);var a=[];Object.keys(i).forEach((function(e){var t=i[e];a[t]=e}));var c=0,u={};function s(e){this.id=c++,this.refCount=1,this.renderbuffer=e,this.format=vo,this.width=0,this.height=0,o.profile&&(this.stats={size:0})}function l(t){var n=t.renderbuffer;re(n,\"must not double destroy renderbuffer\"),e.bindRenderbuffer(po,null),e.deleteRenderbuffer(n),t.renderbuffer=null,t.refCount=0,delete u[t.id],r.renderbufferCount--}function f(t,c){var l=new s(e.createRenderbuffer());function f(t,r){var c=0,u=0,s=vo;if(\"object\"===typeof t&&t){var d=t;if(\"shape\"in d){var h=d.shape;re(Array.isArray(h)&&h.length>=2,\"invalid renderbuffer shape\"),c=0|h[0],u=0|h[1]}else\"radius\"in d&&(c=u=0|d.radius),\"width\"in d&&(c=0|d.width),\"height\"in d&&(u=0|d.height);\"format\"in d&&(re.parameter(d.format,i,\"invalid renderbuffer format\"),s=i[d.format])}else\"number\"===typeof t?(c=0|t,u=\"number\"===typeof r?0|r:c):t?re.raise(\"invalid arguments to renderbuffer constructor\"):c=u=1;if(re(c>0&&u>0&&c<=n.maxRenderbufferSize&&u<=n.maxRenderbufferSize,\"invalid renderbuffer size\"),c!==l.width||u!==l.height||s!==l.format)return f.width=l.width=c,f.height=l.height=u,l.format=s,e.bindRenderbuffer(po,l.renderbuffer),e.renderbufferStorage(po,s,c,u),re(0===e.getError(),\"invalid render buffer format\"),o.profile&&(l.stats.size=ko(l.format,l.width,l.height)),f.format=a[l.format],f}function d(t,r){var i=0|t,a=0|r||i;return i===l.width&&a===l.height||(re(i>0&&a>0&&i<=n.maxRenderbufferSize&&a<=n.maxRenderbufferSize,\"invalid renderbuffer size\"),f.width=l.width=i,f.height=l.height=a,e.bindRenderbuffer(po,l.renderbuffer),e.renderbufferStorage(po,l.format,i,a),re(0===e.getError(),\"invalid render buffer format\"),o.profile&&(l.stats.size=ko(l.format,l.width,l.height))),f}return u[l.id]=l,r.renderbufferCount++,f(t,c),f.resize=d,f._reglType=\"renderbuffer\",f._renderbuffer=l,o.profile&&(f.stats=l.stats),f.destroy=function(){l.decRef()},f}function d(){jt(u).forEach((function(t){t.renderbuffer=e.createRenderbuffer(),e.bindRenderbuffer(po,t.renderbuffer),e.renderbufferStorage(po,t.format,t.width,t.height)})),e.bindRenderbuffer(po,null)}return s.prototype.decRef=function(){--this.refCount<=0&&l(this)},o.profile&&(r.getTotalRenderbufferSize=function(){var e=0;return Object.keys(u).forEach((function(t){e+=u[t].stats.size})),e}),{create:f,clear:function(){jt(u).forEach(l)},restore:d}},Co=36160,Mo=36161,Ao=3553,No=34069,To=36064,Io=36096,Po=36128,Lo=33306,Do=36053,Ro=36054,Fo=36055,Bo=36057,zo=36061,Uo=36193,Go=5121,Vo=5126,Wo=6407,Ho=6408,Yo=6402,Xo=[Wo,Ho],qo=[];qo[Ho]=4,qo[Wo]=3;var Ko=[];Ko[Go]=1,Ko[Vo]=4,Ko[Uo]=2;var Zo=32854,$o=32855,Qo=36194,Jo=33189,ei=36168,ti=34041,ni=35907,ri=34836,oi=34842,ii=34843,ai=[Zo,$o,Qo,ni,oi,ii,ri],ci={};function ui(e,n,r,o,i,a){var c={cur:null,next:null,dirty:!1,setFBO:null},u=[\"rgba\"],s=[\"rgba4\",\"rgb565\",\"rgb5 a1\"];n.ext_srgb&&s.push(\"srgba\"),n.ext_color_buffer_half_float&&s.push(\"rgba16f\",\"rgb16f\"),n.webgl_color_buffer_float&&s.push(\"rgba32f\");var l=[\"uint8\"];function f(e,t,n){this.target=e,this.texture=t,this.renderbuffer=n;var r=0,o=0;t?(r=t.width,o=t.height):n&&(r=n.width,o=n.height),this.width=r,this.height=o}function d(e){e&&(e.texture&&e.texture._texture.decRef(),e.renderbuffer&&e.renderbuffer._renderbuffer.decRef())}function h(e,t,n){if(e)if(e.texture){var r=e.texture._texture,o=Math.max(1,r.width),i=Math.max(1,r.height);re(o===t&&i===n,\"inconsistent width/height for supplied texture\"),r.refCount+=1}else{var a=e.renderbuffer._renderbuffer;re(a.width===t&&a.height===n,\"inconsistent width/height for renderbuffer\"),a.refCount+=1}}function p(t,n){n&&(n.texture?e.framebufferTexture2D(Co,t,n.target,n.texture._texture.texture,0):e.framebufferRenderbuffer(Co,t,Mo,n.renderbuffer._renderbuffer.renderbuffer))}function v(e){var t=Ao,n=null,r=null,o=e;\"object\"===typeof e&&(o=e.data,\"target\"in e&&(t=0|e.target)),re.type(o,\"function\",\"invalid attachment data\");var i=o._reglType;return\"texture2d\"===i?(n=o,re(t===Ao)):\"textureCube\"===i?(n=o,re(t>=No&&t<No+6,\"invalid cube map target\")):\"renderbuffer\"===i?(r=o,t=Mo):re.raise(\"invalid regl object for attachment\"),new f(t,n,r)}function g(e,t,n,r,a){if(n){var c=o.create2D({width:e,height:t,format:r,type:a});return c._texture.refCount=0,new f(Ao,c,null)}var u=i.create({width:e,height:t,format:r});return u._renderbuffer.refCount=0,new f(Mo,null,u)}function m(e){return e&&(e.texture||e.renderbuffer)}function y(e,t,n){e&&(e.texture?e.texture.resize(t,n):e.renderbuffer&&e.renderbuffer.resize(t,n),e.width=t,e.height=n)}n.oes_texture_half_float&&l.push(\"half float\",\"float16\"),n.oes_texture_float&&l.push(\"float\",\"float32\");var b=0,x={};function w(){this.id=b++,x[this.id]=this,this.framebuffer=e.createFramebuffer(),this.width=0,this.height=0,this.colorAttachments=[],this.depthAttachment=null,this.stencilAttachment=null,this.depthStencilAttachment=null}function O(e){e.colorAttachments.forEach(d),d(e.depthAttachment),d(e.stencilAttachment),d(e.depthStencilAttachment)}function E(t){var n=t.framebuffer;re(n,\"must not double destroy framebuffer\"),e.deleteFramebuffer(n),t.framebuffer=null,a.framebufferCount--,delete x[t.id]}function S(t){var n;e.bindFramebuffer(Co,t.framebuffer);var o=t.colorAttachments;for(n=0;n<o.length;++n)p(To+n,o[n]);for(n=o.length;n<r.maxColorAttachments;++n)e.framebufferTexture2D(Co,To+n,Ao,null,0);e.framebufferTexture2D(Co,Lo,Ao,null,0),e.framebufferTexture2D(Co,Io,Ao,null,0),e.framebufferTexture2D(Co,Po,Ao,null,0),p(Io,t.depthAttachment),p(Po,t.stencilAttachment),p(Lo,t.depthStencilAttachment);var i=e.checkFramebufferStatus(Co);e.isContextLost()||i===Do||re.raise(\"framebuffer configuration not supported, status = \"+ci[i]),e.bindFramebuffer(Co,c.next?c.next.framebuffer:null),c.cur=c.next,e.getError()}function j(e,o){var i=new w;function f(e,t){var o;re(c.next!==i,\"can not update framebuffer which is currently in use\");var a=0,d=0,p=!0,y=!0,b=null,x=!0,w=\"rgba\",E=\"uint8\",j=1,k=null,_=null,C=null,M=!1;if(\"number\"===typeof e)a=0|e,d=0|t||a;else if(e){re.type(e,\"object\",\"invalid arguments for framebuffer\");var A=e;if(\"shape\"in A){var N=A.shape;re(Array.isArray(N)&&N.length>=2,\"invalid shape for framebuffer\"),a=N[0],d=N[1]}else\"radius\"in A&&(a=d=A.radius),\"width\"in A&&(a=A.width),\"height\"in A&&(d=A.height);(\"color\"in A||\"colors\"in A)&&(b=A.color||A.colors,Array.isArray(b)&&re(1===b.length||n.webgl_draw_buffers,\"multiple render targets not supported\")),b||(\"colorCount\"in A&&(j=0|A.colorCount,re(j>0,\"invalid color buffer count\")),\"colorTexture\"in A&&(x=!!A.colorTexture,w=\"rgba4\"),\"colorType\"in A&&(E=A.colorType,x?(re(n.oes_texture_float||!(\"float\"===E||\"float32\"===E),\"you must enable OES_texture_float in order to use floating point framebuffer objects\"),re(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?(re(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||(re(n.webgl_color_buffer_float,\"you must enable WEBGL_color_buffer_float in order to use 32-bit floating point renderbuffers\"),w=\"rgba32f\"),re.oneOf(E,l,\"invalid color type\")),\"colorFormat\"in A&&(w=A.colorFormat,u.indexOf(w)>=0?x=!0:s.indexOf(w)>=0?x=!1:x?re.oneOf(A.colorFormat,u,\"invalid color format for texture\"):re.oneOf(A.colorFormat,s,\"invalid color format for renderbuffer\"))),(\"depthTexture\"in A||\"depthStencilTexture\"in A)&&(M=!(!A.depthTexture&&!A.depthStencilTexture),re(!M||n.webgl_depth_texture,\"webgl_depth_texture extension not supported\")),\"depth\"in A&&(\"boolean\"===typeof A.depth?p=A.depth:(k=A.depth,y=!1)),\"stencil\"in A&&(\"boolean\"===typeof A.stencil?y=A.stencil:(_=A.stencil,p=!1)),\"depthStencil\"in A&&(\"boolean\"===typeof A.depthStencil?p=y=A.depthStencil:(C=A.depthStencil,p=!1,y=!1))}else a=d=1;var T=null,I=null,P=null,L=null;if(Array.isArray(b))T=b.map(v);else if(b)T=[v(b)];else for(T=new Array(j),o=0;o<j;++o)T[o]=g(a,d,x,w,E);re(n.webgl_draw_buffers||T.length<=1,\"you must enable the WEBGL_draw_buffers extension in order to use multiple color buffers.\"),re(T.length<=r.maxColorAttachments,\"too many color attachments, not supported\"),a=a||T[0].width,d=d||T[0].height,k?I=v(k):p&&!y&&(I=g(a,d,M,\"depth\",\"uint32\")),_?P=v(_):y&&!p&&(P=g(a,d,!1,\"stencil\",\"uint8\")),C?L=v(C):!k&&!_&&y&&p&&(L=g(a,d,M,\"depth stencil\",\"depth stencil\")),re(!!k+!!_+!!C<=1,\"invalid framebuffer configuration, can specify exactly one depth/stencil attachment\");var D=null;for(o=0;o<T.length;++o)if(h(T[o],a,d),re(!T[o]||T[o].texture&&Xo.indexOf(T[o].texture._texture.format)>=0||T[o].renderbuffer&&ai.indexOf(T[o].renderbuffer._renderbuffer.format)>=0,\"framebuffer color attachment \"+o+\" is invalid\"),T[o]&&T[o].texture){var R=qo[T[o].texture._texture.format]*Ko[T[o].texture._texture.type];null===D?D=R:re(D===R,\"all color attachments much have the same number of bits per pixel.\")}return h(I,a,d),re(!I||I.texture&&I.texture._texture.format===Yo||I.renderbuffer&&I.renderbuffer._renderbuffer.format===Jo,\"invalid depth attachment for framebuffer object\"),h(P,a,d),re(!P||P.renderbuffer&&P.renderbuffer._renderbuffer.format===ei,\"invalid stencil attachment for framebuffer object\"),h(L,a,d),re(!L||L.texture&&L.texture._texture.format===ti||L.renderbuffer&&L.renderbuffer._renderbuffer.format===ti,\"invalid depth-stencil attachment for framebuffer object\"),O(i),i.width=a,i.height=d,i.colorAttachments=T,i.depthAttachment=I,i.stencilAttachment=P,i.depthStencilAttachment=L,f.color=T.map(m),f.depth=m(I),f.stencil=m(P),f.depthStencil=m(L),f.width=i.width,f.height=i.height,S(i),f}function d(e,t){re(c.next!==i,\"can not resize a framebuffer which is currently in use\");var n=Math.max(0|e,1),r=Math.max(0|t||n,1);if(n===i.width&&r===i.height)return f;for(var o=i.colorAttachments,a=0;a<o.length;++a)y(o[a],n,r);return y(i.depthAttachment,n,r),y(i.stencilAttachment,n,r),y(i.depthStencilAttachment,n,r),i.width=f.width=n,i.height=f.height=r,S(i),f}return a.framebufferCount++,f(e,o),t(f,{resize:d,_reglType:\"framebuffer\",_framebuffer:i,destroy:function(){E(i),O(i)},use:function(e){c.setFBO({framebuffer:f},e)}})}function k(e){var i=Array(6);function a(e){var r;re(i.indexOf(c.next)<0,\"can not update framebuffer which is currently in use\");var s,f={color:null},d=0,h=null,p=\"rgba\",v=\"uint8\",g=1;if(\"number\"===typeof e)d=0|e;else if(e){re.type(e,\"object\",\"invalid arguments for framebuffer\");var m=e;if(\"shape\"in m){var y=m.shape;re(Array.isArray(y)&&y.length>=2,\"invalid shape for framebuffer\"),re(y[0]===y[1],\"cube framebuffer must be square\"),d=y[0]}else\"radius\"in m&&(d=0|m.radius),\"width\"in m?(d=0|m.width,\"height\"in m&&re(m.height===d,\"must be square\")):\"height\"in m&&(d=0|m.height);(\"color\"in m||\"colors\"in m)&&(h=m.color||m.colors,Array.isArray(h)&&re(1===h.length||n.webgl_draw_buffers,\"multiple render targets not supported\")),h||(\"colorCount\"in m&&(g=0|m.colorCount,re(g>0,\"invalid color buffer count\")),\"colorType\"in m&&(re.oneOf(m.colorType,l,\"invalid color type\"),v=m.colorType),\"colorFormat\"in m&&(p=m.colorFormat,re.oneOf(m.colorFormat,u,\"invalid color format for texture\"))),\"depth\"in m&&(f.depth=m.depth),\"stencil\"in m&&(f.stencil=m.stencil),\"depthStencil\"in m&&(f.depthStencil=m.depthStencil)}else d=1;if(h)if(Array.isArray(h))for(s=[],r=0;r<h.length;++r)s[r]=h[r];else s=[h];else{s=Array(g);var b={radius:d,format:p,type:v};for(r=0;r<g;++r)s[r]=o.createCube(b)}for(f.color=Array(s.length),r=0;r<s.length;++r){var x=s[r];re(\"function\"===typeof x&&\"textureCube\"===x._reglType,\"invalid cube map\"),d=d||x.width,re(x.width===d&&x.height===d,\"invalid cube map shape\"),f.color[r]={target:No,data:s[r]}}for(r=0;r<6;++r){for(var w=0;w<s.length;++w)f.color[w].target=No+r;r>0&&(f.depth=i[0].depth,f.stencil=i[0].stencil,f.depthStencil=i[0].depthStencil),i[r]?i[r](f):i[r]=j(f)}return t(a,{width:d,height:d,color:s})}function s(e){var t,n=0|e;if(re(n>0&&n<=r.maxCubeMapSize,\"invalid radius for cube fbo\"),n===a.width)return a;var o=a.color;for(t=0;t<o.length;++t)o[t].resize(n);for(t=0;t<6;++t)i[t].resize(n);return a.width=a.height=n,a}return a(e),t(a,{faces:i,resize:s,_reglType:\"framebufferCube\",destroy:function(){i.forEach((function(e){e.destroy()}))}})}function _(){c.cur=null,c.next=null,c.dirty=!0,jt(x).forEach((function(t){t.framebuffer=e.createFramebuffer(),S(t)}))}return t(c,{getFramebuffer:function(e){if(\"function\"===typeof e&&\"framebuffer\"===e._reglType){var t=e._framebuffer;if(t instanceof w)return t}return null},create:j,createCube:k,clear:function(){jt(x).forEach(E)},restore:_})}ci[Do]=\"complete\",ci[Ro]=\"incomplete attachment\",ci[Bo]=\"incomplete dimensions\",ci[Fo]=\"incomplete, missing attachment\",ci[zo]=\"unsupported\";var si=5126,li=34962;function fi(){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=si,this.offset=0,this.stride=0,this.divisor=0}function di(t,n,r,o,i){for(var a=r.maxAttributes,c=new Array(a),u=0;u<a;++u)c[u]=new fi;var s=0,l={},f={Record:fi,scope:{},state:c,currentVAO:null,targetVAO:null,restore:h()?x:function(){},createVAO:w,getVAO:v,destroyBuffer:d,setVAO:h()?g:m,clear:h()?y:function(){}};function d(e){for(var n=0;n<c.length;++n){var r=c[n];r.buffer===e&&(t.disableVertexAttribArray(n),r.buffer=null)}}function h(){return n.oes_vertex_array_object}function p(){return n.angle_instanced_arrays}function v(e){return\"function\"===typeof e&&e._vao?e._vao:null}function g(e){if(e!==f.currentVAO){var t=h();e?t.bindVertexArrayOES(e.vao):t.bindVertexArrayOES(null),f.currentVAO=e}}function m(e){if(e!==f.currentVAO){if(e)e.bindAttrs();else for(var n=p(),r=0;r<c.length;++r){var o=c[r];o.buffer?(t.enableVertexAttribArray(r),t.vertexAttribPointer(r,o.size,o.type,o.normalized,o.stride,o.offfset),n&&o.divisor&&n.vertexAttribDivisorANGLE(r,o.divisor)):(t.disableVertexAttribArray(r),t.vertexAttrib4f(r,o.x,o.y,o.z,o.w))}f.currentVAO=e}}function y(){jt(l).forEach((function(e){e.destroy()}))}function b(){this.id=++s,this.attributes=[];var e=h();this.vao=e?e.createVertexArrayOES():null,l[this.id]=this,this.buffers=[]}function x(){var e=h();e&&jt(l).forEach((function(e){e.refresh()}))}function w(t){var r=new b;function c(t){re(Array.isArray(t),\"arguments to vertex array constructor must be an array\"),re(t.length<a,\"too many attributes\"),re(t.length>0,\"must specify at least one attribute\");var o={},u=r.attributes;u.length=t.length;for(var s=0;s<t.length;++s){var l,f=t[s],d=u[s]=new fi,h=f.data||f;if(Array.isArray(h)||e(h)||St(h))r.buffers[s]&&(l=r.buffers[s],e(h)&&l._buffer.byteLength>=h.byteLength?l.subdata(h):(l.destroy(),r.buffers[s]=null)),r.buffers[s]||(l=r.buffers[s]=i.create(f,li,!1,!0)),d.buffer=i.getBuffer(l),d.size=0|d.buffer.dimension,d.normalized=!1,d.type=d.buffer.dtype,d.offset=0,d.stride=0,d.divisor=0,d.state=1,o[s]=1;else i.getBuffer(f)?(d.buffer=i.getBuffer(f),d.size=0|d.buffer.dimension,d.normalized=!1,d.type=d.buffer.dtype,d.offset=0,d.stride=0,d.divisor=0,d.state=1):i.getBuffer(f.buffer)?(d.buffer=i.getBuffer(f.buffer),d.size=0|(+f.size||d.buffer.dimension),d.normalized=!!f.normalized||!1,\"type\"in f?(re.parameter(f.type,Gt,\"invalid buffer type\"),d.type=Gt[f.type]):d.type=d.buffer.dtype,d.offset=0|(f.offset||0),d.stride=0|(f.stride||0),d.divisor=0|(f.divisor||0),d.state=1,re(d.size>=1&&d.size<=4,\"size must be between 1 and 4\"),re(d.offset>=0,\"invalid offset\"),re(d.stride>=0&&d.stride<=255,\"stride must be between 0 and 255\"),re(d.divisor>=0,\"divisor must be positive\"),re(!d.divisor||!!n.angle_instanced_arrays,\"ANGLE_instanced_arrays must be enabled to use divisor\")):\"x\"in f?(re(s>0,\"first attribute must not be a constant\"),d.x=+f.x||0,d.y=+f.y||0,d.z=+f.z||0,d.w=+f.w||0,d.state=2):re(!1,\"invalid attribute spec for location \"+s)}for(var p=0;p<r.buffers.length;++p)!o[p]&&r.buffers[p]&&(r.buffers[p].destroy(),r.buffers[p]=null);return r.refresh(),c}return o.vaoCount+=1,c.destroy=function(){for(var e=0;e<r.buffers.length;++e)r.buffers[e]&&r.buffers[e].destroy();r.buffers.length=0,r.destroy()},c._vao=r,c._reglType=\"vao\",c(t)}return b.prototype.bindAttrs=function(){for(var e=p(),n=this.attributes,r=0;r<n.length;++r){var o=n[r];o.buffer?(t.enableVertexAttribArray(r),t.bindBuffer(li,o.buffer.buffer),t.vertexAttribPointer(r,o.size,o.type,o.normalized,o.stride,o.offset),e&&o.divisor&&e.vertexAttribDivisorANGLE(r,o.divisor)):(t.disableVertexAttribArray(r),t.vertexAttrib4f(r,o.x,o.y,o.z,o.w))}for(var i=n.length;i<a;++i)t.disableVertexAttribArray(i)},b.prototype.refresh=function(){var e=h();e&&(e.bindVertexArrayOES(this.vao),this.bindAttrs(),f.currentVAO=this)},b.prototype.destroy=function(){if(this.vao){var e=h();this===f.currentVAO&&(f.currentVAO=null,e.bindVertexArrayOES(null)),e.deleteVertexArrayOES(this.vao),this.vao=null}l[this.id]&&(delete l[this.id],o.vaoCount-=1)},f}var hi=35632,pi=35633,vi=35718,gi=35721;function mi(e,n,r,o){var i={},a={};function c(e,t,n,r){this.name=e,this.id=t,this.location=n,this.info=r}function u(e,t){for(var n=0;n<e.length;++n)if(e[n].id===t.id)return void(e[n].location=t.location);e.push(t)}function s(t,r,o){var c=t===hi?i:a,u=c[r];if(!u){var s=n.str(r);u=e.createShader(t),e.shaderSource(u,s),e.compileShader(u),re.shaderError(e,u,s,t,o),c[r]=u}return u}var l={},f=[],d=0;function h(e,t){this.id=d++,this.fragId=e,this.vertId=t,this.program=null,this.uniforms=[],this.attributes=[],this.refCount=1,o.profile&&(this.stats={uniformsCount:0,attributesCount:0})}function p(t,r,i){var a,l,f=s(hi,t.fragId),d=s(pi,t.vertId),h=t.program=e.createProgram();if(e.attachShader(h,f),e.attachShader(h,d),i)for(a=0;a<i.length;++a){var p=i[a];e.bindAttribLocation(h,p[0],p[1])}e.linkProgram(h),re.linkError(e,h,n.str(t.fragId),n.str(t.vertId),r);var v=e.getProgramParameter(h,vi);o.profile&&(t.stats.uniformsCount=v);var g=t.uniforms;for(a=0;a<v;++a)if(l=e.getActiveUniform(h,a),l)if(l.size>1)for(var m=0;m<l.size;++m){var y=l.name.replace(\"[0]\",\"[\"+m+\"]\");u(g,new c(y,n.id(y),e.getUniformLocation(h,y),l))}else u(g,new c(l.name,n.id(l.name),e.getUniformLocation(h,l.name),l));var b=e.getProgramParameter(h,gi);o.profile&&(t.stats.attributesCount=b);var x=t.attributes;for(a=0;a<b;++a)l=e.getActiveAttrib(h,a),l&&u(x,new c(l.name,n.id(l.name),e.getAttribLocation(h,l.name),l))}function v(){i={},a={};for(var e=0;e<f.length;++e)p(f[e],null,f[e].attributes.map((function(e){return[e.location,e.name]})))}return o.profile&&(r.getMaxUniformsCount=function(){var e=0;return f.forEach((function(t){t.stats.uniformsCount>e&&(e=t.stats.uniformsCount)})),e},r.getMaxAttributesCount=function(){var e=0;return f.forEach((function(t){t.stats.attributesCount>e&&(e=t.stats.attributesCount)})),e}),{clear:function(){var t=e.deleteShader.bind(e);jt(i).forEach(t),i={},jt(a).forEach(t),a={},f.forEach((function(t){e.deleteProgram(t.program)})),f.length=0,l={},r.shaderCount=0},program:function(n,o,c,u){re.command(n>=0,\"missing vertex shader\",c),re.command(o>=0,\"missing fragment shader\",c);var s=l[o];s||(s=l[o]={});var d=s[n];if(d&&(d.refCount++,!u))return d;var v=new h(o,n);return r.shaderCount++,p(v,c,u),d||(s[n]=v),f.push(v),t(v,{destroy:function(){if(v.refCount--,v.refCount<=0){e.deleteProgram(v.program);var t=f.indexOf(v);f.splice(t,1),r.shaderCount--}s[v.vertId].refCount<=0&&(e.deleteShader(a[v.vertId]),delete a[v.vertId],delete l[v.fragId][v.vertId]),Object.keys(l[v.fragId]).length||(e.deleteShader(i[v.fragId]),delete i[v.fragId],delete l[v.fragId])}})},restore:v,shader:s,frag:-1,vert:-1}}var yi=6408,bi=5121,xi=3333,wi=5126;function Oi(t,n,r,o,i,a,c){function u(u){var s;null===n.next?(re(i.preserveDrawingBuffer,'you must create a webgl context with \"preserveDrawingBuffer\":true in order to read pixels from the drawing buffer'),s=bi):(re(null!==n.next.colorAttachments[0].texture,\"You cannot read from a renderbuffer\"),s=n.next.colorAttachments[0].texture._texture.type,a.oes_texture_float?(re(s===bi||s===wi,\"Reading from a framebuffer is only allowed for the types 'uint8' and 'float'\"),s===wi&&re(c.readFloat,\"Reading 'float' values is not permitted in your browser. For a fallback, please see: https://www.npmjs.com/package/glsl-read-float\")):re(s===bi,\"Reading from a framebuffer is only allowed for the type 'uint8'\"));var l=0,f=0,d=o.framebufferWidth,h=o.framebufferHeight,p=null;e(u)?p=u:u&&(re.type(u,\"object\",\"invalid arguments to regl.read()\"),l=0|u.x,f=0|u.y,re(l>=0&&l<o.framebufferWidth,\"invalid x offset for regl.read\"),re(f>=0&&f<o.framebufferHeight,\"invalid y offset for regl.read\"),d=0|(u.width||o.framebufferWidth-l),h=0|(u.height||o.framebufferHeight-f),p=u.data||null),p&&(s===bi?re(p instanceof Uint8Array,\"buffer must be 'Uint8Array' when reading from a framebuffer of type 'uint8'\"):s===wi&&re(p instanceof Float32Array,\"buffer must be 'Float32Array' when reading from a framebuffer of type 'float'\")),re(d>0&&d+l<=o.framebufferWidth,\"invalid width for read pixels\"),re(h>0&&h+f<=o.framebufferHeight,\"invalid height for read pixels\"),r();var v=d*h*4;return p||(s===bi?p=new Uint8Array(v):s===wi&&(p=p||new Float32Array(v))),re.isTypedArray(p,\"data buffer for regl.read() must be a typedarray\"),re(p.byteLength>=v,\"data buffer for regl.read() too small\"),t.pixelStorei(xi,4),t.readPixels(l,f,d,h,yi,s,p),p}function s(e){var t;return n.setFBO({framebuffer:e.framebuffer},(function(){t=u(e)})),t}function l(e){return e&&\"framebuffer\"in e?s(e):u(e)}return l}function Ei(e){return Array.prototype.slice.call(e)}function Si(e){return Ei(e).join(\"\")}function ji(){var e=0,n=[],r=[];function o(t){for(var o=0;o<r.length;++o)if(r[o]===t)return n[o];var i=\"g\"+e++;return n.push(i),r.push(t),i}function i(){var n=[];function r(){n.push.apply(n,Ei(arguments))}var o=[];function i(){var t=\"v\"+e++;return o.push(t),arguments.length>0&&(n.push(t,\"=\"),n.push.apply(n,Ei(arguments)),n.push(\";\")),t}return t(r,{def:i,toString:function(){return Si([o.length>0?\"var \"+o.join(\",\")+\";\":\"\",Si(n)])}})}function a(){var e=i(),n=i(),r=e.toString,o=n.toString;function a(t,r){n(t,r,\"=\",e.def(t,r),\";\")}return t((function(){e.apply(e,Ei(arguments))}),{def:e.def,entry:e,exit:n,save:a,set:function(t,n,r){a(t,n),e(t,n,\"=\",r,\";\")},toString:function(){return r()+o()}})}function c(){var e=Si(arguments),n=a(),r=a(),o=n.toString,i=r.toString;return t(n,{then:function(){return n.apply(n,Ei(arguments)),this},else:function(){return r.apply(r,Ei(arguments)),this},toString:function(){var t=i();return t&&(t=\"else{\"+t+\"}\"),Si([\"if(\",e,\"){\",o(),\"}\",t])}})}var u=i(),s={};function l(e,n){var r=[];function o(){var e=\"a\"+r.length;return r.push(e),e}n=n||0;for(var i=0;i<n;++i)o();var c=a(),u=c.toString,l=s[e]=t(c,{arg:o,toString:function(){return Si([\"function(\",r.join(),\"){\",u(),\"}\"])}});return l}function f(){var e=['\"use strict\";',u,\"return {\"];Object.keys(s).forEach((function(t){e.push('\"',t,'\":',s[t].toString(),\",\")})),e.push(\"}\");var t=Si(e).replace(/;/g,\";\\n\").replace(/}/g,\"}\\n\").replace(/{/g,\"{\\n\"),o=Function.apply(null,n.concat(t));return o.apply(null,r)}return{global:u,link:o,block:i,proc:l,scope:a,cond:c,compile:f}}var ki=\"xyzw\".split(\"\"),_i=5121,Ci=1,Mi=2,Ai=0,Ni=1,Ti=2,Ii=3,Pi=4,Li=5,Di=6,Ri=\"dither\",Fi=\"blend.enable\",Bi=\"blend.color\",zi=\"blend.equation\",Ui=\"blend.func\",Gi=\"depth.enable\",Vi=\"depth.func\",Wi=\"depth.range\",Hi=\"depth.mask\",Yi=\"colorMask\",Xi=\"cull.enable\",qi=\"cull.face\",Ki=\"frontFace\",Zi=\"lineWidth\",$i=\"polygonOffset.enable\",Qi=\"polygonOffset.offset\",Ji=\"sample.alpha\",ea=\"sample.enable\",ta=\"sample.coverage\",na=\"stencil.enable\",ra=\"stencil.mask\",oa=\"stencil.func\",ia=\"stencil.opFront\",aa=\"stencil.opBack\",ca=\"scissor.enable\",ua=\"scissor.box\",sa=\"viewport\",la=\"profile\",fa=\"framebuffer\",da=\"vert\",ha=\"frag\",pa=\"elements\",va=\"primitive\",ga=\"count\",ma=\"offset\",ya=\"instances\",ba=\"vao\",xa=\"Width\",wa=\"Height\",Oa=fa+xa,Ea=fa+wa,Sa=sa+xa,ja=sa+wa,ka=\"drawingBuffer\",_a=ka+xa,Ca=ka+wa,Ma=[Ui,zi,oa,ia,aa,ta,sa,ua,Qi],Aa=34962,Na=34963,Ta=35632,Ia=35633,Pa=3553,La=34067,Da=2884,Ra=3042,Fa=3024,Ba=2960,za=2929,Ua=3089,Ga=32823,Va=32926,Wa=32928,Ha=5126,Ya=35664,Xa=35665,qa=35666,Ka=5124,Za=35667,$a=35668,Qa=35669,Ja=35670,ec=35671,tc=35672,nc=35673,rc=35674,oc=35675,ic=35676,ac=35678,cc=35680,uc=4,sc=1028,lc=1029,fc=2304,dc=2305,hc=32775,pc=32776,vc=519,gc=7680,mc=0,yc=1,bc=32774,xc=513,wc=36160,Oc=36064,Ec={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},Sc=[\"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\"],jc={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},kc={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,\"increment wrap\":34055,\"decrement wrap\":34056,invert:5386},_c={frag:Ta,vert:Ia},Cc={cw:fc,ccw:dc};function Mc(t){return Array.isArray(t)||e(t)||St(t)}function Ac(e){return e.sort((function(e,t){return e===sa?-1:t===sa?1:e<t?-1:1}))}function Nc(e,t,n,r){this.thisDep=e,this.contextDep=t,this.propDep=n,this.append=r}function Tc(e){return e&&!(e.thisDep||e.contextDep||e.propDep)}function Ic(e){return new Nc(!1,!1,!1,e)}function Pc(e,t){var n=e.type;if(n===Ai){var r=e.data.length;return new Nc(!0,r>=1,r>=2,t)}if(n===Pi){var o=e.data;return new Nc(o.thisDep,o.contextDep,o.propDep,t)}if(n===Li)return new Nc(!1,!1,!1,t);if(n===Di){for(var i=!1,a=!1,c=!1,u=0;u<e.data.length;++u){var s=e.data[u];if(s.type===Ni)c=!0;else if(s.type===Ti)a=!0;else if(s.type===Ii)i=!0;else if(s.type===Ai){i=!0;var l=s.data;l>=1&&(a=!0),l>=2&&(c=!0)}else s.type===Pi&&(i=i||s.data.thisDep,a=a||s.data.contextDep,c=c||s.data.propDep)}return new Nc(i,a,c,t)}return new Nc(n===Ii,n===Ti,n===Ni,t)}var Lc=new Nc(!1,!1,!1,(function(){}));function Dc(e,n,r,o,i,a,c,u,s,l,f,d,h,p,v){var g=l.Record,m={add:32774,subtract:32778,\"reverse subtract\":32779};r.ext_blend_minmax&&(m.min=hc,m.max=pc);var y=r.angle_instanced_arrays,b=r.webgl_draw_buffers,x={dirty:!0,profile:v.profile},w={},O=[],E={},S={};function j(e){return e.replace(\".\",\"_\")}function k(e,t,n){var r=j(e);O.push(e),w[r]=x[r]=!!n,E[r]=t}function _(e,t,n){var r=j(e);O.push(e),Array.isArray(n)?(x[r]=n.slice(),w[r]=n.slice()):x[r]=w[r]=n,S[r]=t}k(Ri,Fa),k(Fi,Ra),_(Bi,\"blendColor\",[0,0,0,0]),_(zi,\"blendEquationSeparate\",[bc,bc]),_(Ui,\"blendFuncSeparate\",[yc,mc,yc,mc]),k(Gi,za,!0),_(Vi,\"depthFunc\",xc),_(Wi,\"depthRange\",[0,1]),_(Hi,\"depthMask\",!0),_(Yi,Yi,[!0,!0,!0,!0]),k(Xi,Da),_(qi,\"cullFace\",lc),_(Ki,Ki,dc),_(Zi,Zi,1),k($i,Ga),_(Qi,\"polygonOffset\",[0,0]),k(Ji,Va),k(ea,Wa),_(ta,\"sampleCoverage\",[1,!1]),k(na,Ba),_(ra,\"stencilMask\",-1),_(oa,\"stencilFunc\",[vc,0,-1]),_(ia,\"stencilOpSeparate\",[sc,gc,gc,gc]),_(aa,\"stencilOpSeparate\",[lc,gc,gc,gc]),k(ca,Ua),_(ua,\"scissor\",[0,0,e.drawingBufferWidth,e.drawingBufferHeight]),_(sa,sa,[0,0,e.drawingBufferWidth,e.drawingBufferHeight]);var C={gl:e,context:h,strings:n,next:w,current:x,draw:d,elements:a,buffer:i,shader:f,attributes:l.state,vao:l,uniforms:s,framebuffer:u,extensions:r,timer:p,isBufferArgs:Mc},M={primTypes:ln,compareFuncs:jc,blendFuncs:Ec,blendEquations:m,stencilOps:kc,glTypes:Gt,orientationType:Cc};re.optional((function(){C.isArrayLike=Cn})),b&&(M.backBuffer=[lc],M.drawBuffer=_e(o.maxDrawbuffers,(function(e){return 0===e?[0]:_e(e,(function(e){return Oc+e}))})));var A=0;function N(){var e=ji(),t=e.link,r=e.global;e.id=A++,e.batchId=\"0\";var o=t(C),i=e.shared={props:\"a0\"};Object.keys(C).forEach((function(e){i[e]=r.def(o,\".\",e)})),re.optional((function(){e.CHECK=t(re),e.commandStr=re.guessCommand(),e.command=t(e.commandStr),e.assert=function(e,n,r){e(\"if(!(\",n,\"))\",this.CHECK,\".commandRaise(\",t(r),\",\",this.command,\");\")},M.invalidBlendCombinations=Sc}));var a=e.next={},c=e.current={};Object.keys(S).forEach((function(e){Array.isArray(x[e])&&(a[e]=r.def(i.next,\".\",e),c[e]=r.def(i.current,\".\",e))}));var u=e.constants={};Object.keys(M).forEach((function(e){u[e]=r.def(JSON.stringify(M[e]))})),e.invoke=function(n,r){switch(r.type){case Ai:var o=[\"this\",i.context,i.props,e.batchId];return n.def(t(r.data),\".call(\",o.slice(0,Math.max(r.data.length+1,4)),\")\");case Ni:return n.def(i.props,r.data);case Ti:return n.def(i.context,r.data);case Ii:return n.def(\"this\",r.data);case Pi:return r.data.append(e,n),r.data.ref;case Li:return r.data.toString();case Di:return r.data.map((function(t){return e.invoke(n,t)}))}},e.attribCache={};var s={};return e.scopeAttrib=function(e){var r=n.id(e);if(r in s)return s[r];var o=l.scope[r];o||(o=l.scope[r]=new g);var i=s[r]=t(o);return i},e}function T(e){var t,n=e.static,r=e.dynamic;if(la in n){var o=!!n[la];t=Ic((function(e,t){return o})),t.enable=o}else if(la in r){var i=r[la];t=Pc(i,(function(e,t){return e.invoke(t,i)}))}return t}function I(e,t){var n=e.static,r=e.dynamic;if(fa in n){var o=n[fa];return o?(o=u.getFramebuffer(o),re.command(o,\"invalid framebuffer object\"),Ic((function(e,t){var n=e.link(o),r=e.shared;t.set(r.framebuffer,\".next\",n);var i=r.context;return t.set(i,\".\"+Oa,n+\".width\"),t.set(i,\".\"+Ea,n+\".height\"),n}))):Ic((function(e,t){var n=e.shared;t.set(n.framebuffer,\".next\",\"null\");var r=n.context;return t.set(r,\".\"+Oa,r+\".\"+_a),t.set(r,\".\"+Ea,r+\".\"+Ca),\"null\"}))}if(fa in r){var i=r[fa];return Pc(i,(function(e,t){var n=e.invoke(t,i),r=e.shared,o=r.framebuffer,a=t.def(o,\".getFramebuffer(\",n,\")\");re.optional((function(){e.assert(t,\"!\"+n+\"||\"+a,\"invalid framebuffer object\")})),t.set(o,\".next\",a);var c=r.context;return t.set(c,\".\"+Oa,a+\"?\"+a+\".width:\"+c+\".\"+_a),t.set(c,\".\"+Ea,a+\"?\"+a+\".height:\"+c+\".\"+Ca),a}))}return null}function P(e,t,n){var r=e.static,o=e.dynamic;function i(e){if(e in r){var i=r[e];re.commandType(i,\"object\",\"invalid \"+e,n.commandStr);var a,c,u=!0,s=0|i.x,l=0|i.y;return\"width\"in i?(a=0|i.width,re.command(a>=0,\"invalid \"+e,n.commandStr)):u=!1,\"height\"in i?(c=0|i.height,re.command(c>=0,\"invalid \"+e,n.commandStr)):u=!1,new Nc(!u&&t&&t.thisDep,!u&&t&&t.contextDep,!u&&t&&t.propDep,(function(e,t){var n=e.shared.context,r=a;\"width\"in i||(r=t.def(n,\".\",Oa,\"-\",s));var o=c;return\"height\"in i||(o=t.def(n,\".\",Ea,\"-\",l)),[s,l,r,o]}))}if(e in o){var f=o[e],d=Pc(f,(function(t,n){var r=t.invoke(n,f);re.optional((function(){t.assert(n,r+\"&&typeof \"+r+'===\"object\"',\"invalid \"+e)}));var o=t.shared.context,i=n.def(r,\".x|0\"),a=n.def(r,\".y|0\"),c=n.def('\"width\" in ',r,\"?\",r,\".width|0:\",\"(\",o,\".\",Oa,\"-\",i,\")\"),u=n.def('\"height\" in ',r,\"?\",r,\".height|0:\",\"(\",o,\".\",Ea,\"-\",a,\")\");return re.optional((function(){t.assert(n,c+\">=0&&\"+u+\">=0\",\"invalid \"+e)})),[i,a,c,u]}));return t&&(d.thisDep=d.thisDep||t.thisDep,d.contextDep=d.contextDep||t.contextDep,d.propDep=d.propDep||t.propDep),d}return t?new Nc(t.thisDep,t.contextDep,t.propDep,(function(e,t){var n=e.shared.context;return[0,0,t.def(n,\".\",Oa),t.def(n,\".\",Ea)]})):null}var a=i(sa);if(a){var c=a;a=new Nc(a.thisDep,a.contextDep,a.propDep,(function(e,t){var n=c.append(e,t),r=e.shared.context;return t.set(r,\".\"+Sa,n[2]),t.set(r,\".\"+ja,n[3]),n}))}return{viewport:a,scissor_box:i(ua)}}function L(e,t){var n=e.static,r=\"string\"===typeof n[ha]&&\"string\"===typeof n[da];if(r){if(Object.keys(t.dynamic).length>0)return null;var o=t.static,i=Object.keys(o);if(i.length>0&&\"number\"===typeof o[i[0]]){for(var a=[],c=0;c<i.length;++c)re(\"number\"===typeof o[i[c]],\"must specify all vertex attribute locations when using vaos\"),a.push([0|o[i[c]],i[c]]);return a}}return null}function D(e,t,r){var o=e.static,i=e.dynamic;function a(e){if(e in o){var t=n.id(o[e]);re.optional((function(){f.shader(_c[e],t,re.guessCommand())}));var r=Ic((function(){return t}));return r.id=t,r}if(e in i){var a=i[e];return Pc(a,(function(t,n){var r=t.invoke(n,a),o=n.def(t.shared.strings,\".id(\",r,\")\");return re.optional((function(){n(t.shared.shader,\".shader(\",_c[e],\",\",o,\",\",t.command,\");\")})),o}))}return null}var c,u=a(ha),s=a(da),l=null;return Tc(u)&&Tc(s)?(l=f.program(s.id,u.id,null,r),c=Ic((function(e,t){return e.link(l)}))):c=new Nc(u&&u.thisDep||s&&s.thisDep,u&&u.contextDep||s&&s.contextDep,u&&u.propDep||s&&s.propDep,(function(e,t){var n,r,o=e.shared.shader;n=u?u.append(e,t):t.def(o,\".\",ha),r=s?s.append(e,t):t.def(o,\".\",da);var i=o+\".program(\"+r+\",\"+n;return re.optional((function(){i+=\",\"+e.command})),t.def(i+\")\")})),{frag:u,vert:s,progVar:c,program:l}}function R(e,t){var n=e.static,r=e.dynamic;function o(){if(pa in n){var e=n[pa];Mc(e)?e=a.getElements(a.create(e,!0)):e&&(e=a.getElements(e),re.command(e,\"invalid elements\",t.commandStr));var o=Ic((function(t,n){if(e){var r=t.link(e);return t.ELEMENTS=r,r}return t.ELEMENTS=null,null}));return o.value=e,o}if(pa in r){var i=r[pa];return Pc(i,(function(e,t){var n=e.shared,r=n.isBufferArgs,o=n.elements,a=e.invoke(t,i),c=t.def(\"null\"),u=t.def(r,\"(\",a,\")\"),s=e.cond(u).then(c,\"=\",o,\".createStream(\",a,\");\").else(c,\"=\",o,\".getElements(\",a,\");\");return re.optional((function(){e.assert(s.else,\"!\"+a+\"||\"+c,\"invalid elements\")})),t.entry(s),t.exit(e.cond(u).then(o,\".destroyStream(\",c,\");\")),e.ELEMENTS=c,c}))}return null}var i=o();function c(){if(va in n){var e=n[va];return re.commandParameter(e,ln,\"invalid primitve\",t.commandStr),Ic((function(t,n){return ln[e]}))}if(va in r){var o=r[va];return Pc(o,(function(e,t){var n=e.constants.primTypes,r=e.invoke(t,o);return re.optional((function(){e.assert(t,r+\" in \"+n,\"invalid primitive, must be one of \"+Object.keys(ln))})),t.def(n,\"[\",r,\"]\")}))}return i?Tc(i)?i.value?Ic((function(e,t){return t.def(e.ELEMENTS,\".primType\")})):Ic((function(){return uc})):new Nc(i.thisDep,i.contextDep,i.propDep,(function(e,t){var n=e.ELEMENTS;return t.def(n,\"?\",n,\".primType:\",uc)})):null}function u(e,o){if(e in n){var a=0|n[e];return re.command(!o||a>=0,\"invalid \"+e,t.commandStr),Ic((function(e,t){return o&&(e.OFFSET=a),a}))}if(e in r){var c=r[e];return Pc(c,(function(t,n){var r=t.invoke(n,c);return o&&(t.OFFSET=r,re.optional((function(){t.assert(n,r+\">=0\",\"invalid \"+e)}))),r}))}return o&&i?Ic((function(e,t){return e.OFFSET=\"0\",0})):null}var s=u(ma,!0);function l(){if(ga in n){var e=0|n[ga];return re.command(\"number\"===typeof e&&e>=0,\"invalid vertex count\",t.commandStr),Ic((function(){return e}))}if(ga in r){var o=r[ga];return Pc(o,(function(e,t){var n=e.invoke(t,o);return re.optional((function(){e.assert(t,\"typeof \"+n+'===\"number\"&&'+n+\">=0&&\"+n+\"===(\"+n+\"|0)\",\"invalid vertex count\")})),n}))}if(i){if(Tc(i)){if(i)return s?new Nc(s.thisDep,s.contextDep,s.propDep,(function(e,t){var n=t.def(e.ELEMENTS,\".vertCount-\",e.OFFSET);return re.optional((function(){e.assert(t,n+\">=0\",\"invalid vertex offset/element buffer too small\")})),n})):Ic((function(e,t){return t.def(e.ELEMENTS,\".vertCount\")}));var a=Ic((function(){return-1}));return re.optional((function(){a.MISSING=!0})),a}var c=new Nc(i.thisDep||s.thisDep,i.contextDep||s.contextDep,i.propDep||s.propDep,(function(e,t){var n=e.ELEMENTS;return e.OFFSET?t.def(n,\"?\",n,\".vertCount-\",e.OFFSET,\":-1\"):t.def(n,\"?\",n,\".vertCount:-1\")}));return re.optional((function(){c.DYNAMIC=!0})),c}return null}return{elements:i,primitive:c(),count:l(),instances:u(ya,!1),offset:s}}function F(e,t){var n=e.static,r=e.dynamic,i={};return O.forEach((function(e){var a=j(e);function c(t,o){if(e in n){var c=t(n[e]);i[a]=Ic((function(){return c}))}else if(e in r){var u=r[e];i[a]=Pc(u,(function(e,t){return o(e,t,e.invoke(t,u))}))}}switch(e){case Xi:case Fi:case Ri:case na:case Gi:case ca:case $i:case Ji:case ea:case Hi:return c((function(n){return re.commandType(n,\"boolean\",e,t.commandStr),n}),(function(t,n,r){return re.optional((function(){t.assert(n,\"typeof \"+r+'===\"boolean\"',\"invalid flag \"+e,t.commandStr)})),r}));case Vi:return c((function(n){return re.commandParameter(n,jc,\"invalid \"+e,t.commandStr),jc[n]}),(function(t,n,r){var o=t.constants.compareFuncs;return re.optional((function(){t.assert(n,r+\" in \"+o,\"invalid \"+e+\", must be one of \"+Object.keys(jc))})),n.def(o,\"[\",r,\"]\")}));case Wi:return c((function(e){return re.command(Cn(e)&&2===e.length&&\"number\"===typeof e[0]&&\"number\"===typeof e[1]&&e[0]<=e[1],\"depth range is 2d array\",t.commandStr),e}),(function(e,t,n){re.optional((function(){e.assert(t,e.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\")}));var r=t.def(\"+\",n,\"[0]\"),o=t.def(\"+\",n,\"[1]\");return[r,o]}));case Ui:return c((function(e){re.commandType(e,\"object\",\"blend.func\",t.commandStr);var n=\"srcRGB\"in e?e.srcRGB:e.src,r=\"srcAlpha\"in e?e.srcAlpha:e.src,o=\"dstRGB\"in e?e.dstRGB:e.dst,i=\"dstAlpha\"in e?e.dstAlpha:e.dst;return re.commandParameter(n,Ec,a+\".srcRGB\",t.commandStr),re.commandParameter(r,Ec,a+\".srcAlpha\",t.commandStr),re.commandParameter(o,Ec,a+\".dstRGB\",t.commandStr),re.commandParameter(i,Ec,a+\".dstAlpha\",t.commandStr),re.command(-1===Sc.indexOf(n+\", \"+o),\"unallowed blending combination (srcRGB, dstRGB) = (\"+n+\", \"+o+\")\",t.commandStr),[Ec[n],Ec[o],Ec[r],Ec[i]]}),(function(t,n,r){var o=t.constants.blendFuncs;function i(i,a){var c=n.def('\"',i,a,'\" in ',r,\"?\",r,\".\",i,a,\":\",r,\".\",i);return re.optional((function(){t.assert(n,c+\" in \"+o,\"invalid \"+e+\".\"+i+a+\", must be one of \"+Object.keys(Ec))})),c}re.optional((function(){t.assert(n,r+\"&&typeof \"+r+'===\"object\"',\"invalid blend func, must be an object\")}));var a=i(\"src\",\"RGB\"),c=i(\"dst\",\"RGB\");re.optional((function(){var e=t.constants.invalidBlendCombinations;t.assert(n,e+\".indexOf(\"+a+'+\", \"+'+c+\") === -1 \",\"unallowed blending combination for (srcRGB, dstRGB)\")}));var u=n.def(o,\"[\",a,\"]\"),s=n.def(o,\"[\",i(\"src\",\"Alpha\"),\"]\"),l=n.def(o,\"[\",c,\"]\"),f=n.def(o,\"[\",i(\"dst\",\"Alpha\"),\"]\");return[u,l,s,f]}));case zi:return c((function(n){return\"string\"===typeof n?(re.commandParameter(n,m,\"invalid \"+e,t.commandStr),[m[n],m[n]]):\"object\"===typeof n?(re.commandParameter(n.rgb,m,e+\".rgb\",t.commandStr),re.commandParameter(n.alpha,m,e+\".alpha\",t.commandStr),[m[n.rgb],m[n.alpha]]):void re.commandRaise(\"invalid blend.equation\",t.commandStr)}),(function(t,n,r){var o=t.constants.blendEquations,i=n.def(),a=n.def(),c=t.cond(\"typeof \",r,'===\"string\"');return re.optional((function(){function n(e,n,r){t.assert(e,r+\" in \"+o,\"invalid \"+n+\", must be one of \"+Object.keys(m))}n(c.then,e,r),t.assert(c.else,r+\"&&typeof \"+r+'===\"object\"',\"invalid \"+e),n(c.else,e+\".rgb\",r+\".rgb\"),n(c.else,e+\".alpha\",r+\".alpha\")})),c.then(i,\"=\",a,\"=\",o,\"[\",r,\"];\"),c.else(i,\"=\",o,\"[\",r,\".rgb];\",a,\"=\",o,\"[\",r,\".alpha];\"),n(c),[i,a]}));case Bi:return c((function(e){return re.command(Cn(e)&&4===e.length,\"blend.color must be a 4d array\",t.commandStr),_e(4,(function(t){return+e[t]}))}),(function(e,t,n){return re.optional((function(){e.assert(t,e.shared.isArrayLike+\"(\"+n+\")&&\"+n+\".length===4\",\"blend.color must be a 4d array\")})),_e(4,(function(e){return t.def(\"+\",n,\"[\",e,\"]\")}))}));case ra:return c((function(e){return re.commandType(e,\"number\",a,t.commandStr),0|e}),(function(e,t,n){return re.optional((function(){e.assert(t,\"typeof \"+n+'===\"number\"',\"invalid stencil.mask\")})),t.def(n,\"|0\")}));case oa:return c((function(n){re.commandType(n,\"object\",a,t.commandStr);var r=n.cmp||\"keep\",o=n.ref||0,i=\"mask\"in n?n.mask:-1;return re.commandParameter(r,jc,e+\".cmp\",t.commandStr),re.commandType(o,\"number\",e+\".ref\",t.commandStr),re.commandType(i,\"number\",e+\".mask\",t.commandStr),[jc[r],o,i]}),(function(e,t,n){var r=e.constants.compareFuncs;re.optional((function(){function o(){e.assert(t,Array.prototype.join.call(arguments,\"\"),\"invalid stencil.func\")}o(n+\"&&typeof \",n,'===\"object\"'),o('!(\"cmp\" in ',n,\")||(\",n,\".cmp in \",r,\")\")}));var o=t.def('\"cmp\" in ',n,\"?\",r,\"[\",n,\".cmp]\",\":\",gc),i=t.def(n,\".ref|0\"),a=t.def('\"mask\" in ',n,\"?\",n,\".mask|0:-1\");return[o,i,a]}));case ia:case aa:return c((function(n){re.commandType(n,\"object\",a,t.commandStr);var r=n.fail||\"keep\",o=n.zfail||\"keep\",i=n.zpass||\"keep\";return re.commandParameter(r,kc,e+\".fail\",t.commandStr),re.commandParameter(o,kc,e+\".zfail\",t.commandStr),re.commandParameter(i,kc,e+\".zpass\",t.commandStr),[e===aa?lc:sc,kc[r],kc[o],kc[i]]}),(function(t,n,r){var o=t.constants.stencilOps;function i(i){return re.optional((function(){t.assert(n,'!(\"'+i+'\" in '+r+\")||(\"+r+\".\"+i+\" in \"+o+\")\",\"invalid \"+e+\".\"+i+\", must be one of \"+Object.keys(kc))})),n.def('\"',i,'\" in ',r,\"?\",o,\"[\",r,\".\",i,\"]:\",gc)}return re.optional((function(){t.assert(n,r+\"&&typeof \"+r+'===\"object\"',\"invalid \"+e)})),[e===aa?lc:sc,i(\"fail\"),i(\"zfail\"),i(\"zpass\")]}));case Qi:return c((function(e){re.commandType(e,\"object\",a,t.commandStr);var n=0|e.factor,r=0|e.units;return re.commandType(n,\"number\",a+\".factor\",t.commandStr),re.commandType(r,\"number\",a+\".units\",t.commandStr),[n,r]}),(function(t,n,r){re.optional((function(){t.assert(n,r+\"&&typeof \"+r+'===\"object\"',\"invalid \"+e)}));var o=n.def(r,\".factor|0\"),i=n.def(r,\".units|0\");return[o,i]}));case qi:return c((function(e){var n=0;return\"front\"===e?n=sc:\"back\"===e&&(n=lc),re.command(!!n,a,t.commandStr),n}),(function(e,t,n){return re.optional((function(){e.assert(t,n+'===\"front\"||'+n+'===\"back\"',\"invalid cull.face\")})),t.def(n,'===\"front\"?',sc,\":\",lc)}));case Zi:return c((function(e){return re.command(\"number\"===typeof e&&e>=o.lineWidthDims[0]&&e<=o.lineWidthDims[1],\"invalid line width, must be a positive number between \"+o.lineWidthDims[0]+\" and \"+o.lineWidthDims[1],t.commandStr),e}),(function(e,t,n){return re.optional((function(){e.assert(t,\"typeof \"+n+'===\"number\"&&'+n+\">=\"+o.lineWidthDims[0]+\"&&\"+n+\"<=\"+o.lineWidthDims[1],\"invalid line width\")})),n}));case Ki:return c((function(e){return re.commandParameter(e,Cc,a,t.commandStr),Cc[e]}),(function(e,t,n){return re.optional((function(){e.assert(t,n+'===\"cw\"||'+n+'===\"ccw\"',\"invalid frontFace, must be one of cw,ccw\")})),t.def(n+'===\"cw\"?'+fc+\":\"+dc)}));case Yi:return c((function(e){return re.command(Cn(e)&&4===e.length,\"color.mask must be length 4 array\",t.commandStr),e.map((function(e){return!!e}))}),(function(e,t,n){return re.optional((function(){e.assert(t,e.shared.isArrayLike+\"(\"+n+\")&&\"+n+\".length===4\",\"invalid color.mask\")})),_e(4,(function(e){return\"!!\"+n+\"[\"+e+\"]\"}))}));case ta:return c((function(e){re.command(\"object\"===typeof e&&e,a,t.commandStr);var n=\"value\"in e?e.value:1,r=!!e.invert;return re.command(\"number\"===typeof n&&n>=0&&n<=1,\"sample.coverage.value must be a number between 0 and 1\",t.commandStr),[n,r]}),(function(e,t,n){re.optional((function(){e.assert(t,n+\"&&typeof \"+n+'===\"object\"',\"invalid sample.coverage\")}));var r=t.def('\"value\" in ',n,\"?+\",n,\".value:1\"),o=t.def(\"!!\",n,\".invert\");return[r,o]}))}})),i}function B(e,t){var n=e.static,r=e.dynamic,o={};return Object.keys(n).forEach((function(e){var r,i=n[e];if(\"number\"===typeof i||\"boolean\"===typeof i)r=Ic((function(){return i}));else if(\"function\"===typeof i){var a=i._reglType;\"texture2d\"===a||\"textureCube\"===a?r=Ic((function(e){return e.link(i)})):\"framebuffer\"===a||\"framebufferCube\"===a?(re.command(i.color.length>0,'missing color attachment for framebuffer sent to uniform \"'+e+'\"',t.commandStr),r=Ic((function(e){return e.link(i.color[0])}))):re.commandRaise('invalid data for uniform \"'+e+'\"',t.commandStr)}else Cn(i)?r=Ic((function(t){var n=t.global.def(\"[\",_e(i.length,(function(n){return re.command(\"number\"===typeof i[n]||\"boolean\"===typeof i[n],\"invalid uniform \"+e,t.commandStr),i[n]})),\"]\");return n})):re.commandRaise('invalid or missing data for uniform \"'+e+'\"',t.commandStr);r.value=i,o[e]=r})),Object.keys(r).forEach((function(e){var t=r[e];o[e]=Pc(t,(function(e,n){return e.invoke(n,t)}))})),o}function z(e,t){var r=e.static,o=e.dynamic,a={};return Object.keys(r).forEach((function(e){var o=r[e],c=n.id(e),u=new g;if(Mc(o))u.state=Ci,u.buffer=i.getBuffer(i.create(o,Aa,!1,!0)),u.type=0;else{var s=i.getBuffer(o);if(s)u.state=Ci,u.buffer=s,u.type=0;else if(re.command(\"object\"===typeof o&&o,\"invalid data for attribute \"+e,t.commandStr),\"constant\"in o){var l=o.constant;u.buffer=\"null\",u.state=Mi,\"number\"===typeof l?u.x=l:(re.command(Cn(l)&&l.length>0&&l.length<=4,\"invalid constant for attribute \"+e,t.commandStr),ki.forEach((function(e,t){t<l.length&&(u[e]=l[t])})))}else{s=Mc(o.buffer)?i.getBuffer(i.create(o.buffer,Aa,!1,!0)):i.getBuffer(o.buffer),re.command(!!s,'missing buffer for attribute \"'+e+'\"',t.commandStr);var f=0|o.offset;re.command(f>=0,'invalid offset for attribute \"'+e+'\"',t.commandStr);var d=0|o.stride;re.command(d>=0&&d<256,'invalid stride for attribute \"'+e+'\", must be integer betweeen [0, 255]',t.commandStr);var h=0|o.size;re.command(!(\"size\"in o)||h>0&&h<=4,'invalid size for attribute \"'+e+'\", must be 1,2,3,4',t.commandStr);var p=!!o.normalized,v=0;\"type\"in o&&(re.commandParameter(o.type,Gt,\"invalid type for attribute \"+e,t.commandStr),v=Gt[o.type]);var m=0|o.divisor;\"divisor\"in o&&(re.command(0===m||y,'cannot specify divisor for attribute \"'+e+'\", instancing not supported',t.commandStr),re.command(m>=0,'invalid divisor for attribute \"'+e+'\"',t.commandStr)),re.optional((function(){var n=t.commandStr,r=[\"buffer\",\"offset\",\"divisor\",\"normalized\",\"type\",\"size\",\"stride\"];Object.keys(o).forEach((function(t){re.command(r.indexOf(t)>=0,'unknown parameter \"'+t+'\" for attribute pointer \"'+e+'\" (valid parameters are '+r+\")\",n)}))})),u.buffer=s,u.state=Ci,u.size=h,u.normalized=p,u.type=v||s.dtype,u.offset=f,u.stride=d,u.divisor=m}}a[e]=Ic((function(e,t){var n=e.attribCache;if(c in n)return n[c];var r={isStream:!1};return Object.keys(u).forEach((function(e){r[e]=u[e]})),u.buffer&&(r.buffer=e.link(u.buffer),r.type=r.type||r.buffer+\".dtype\"),n[c]=r,r}))})),Object.keys(o).forEach((function(e){var t=o[e];function n(n,r){var o=n.invoke(r,t),i=n.shared,a=n.constants,c=i.isBufferArgs,u=i.buffer;re.optional((function(){n.assert(r,o+\"&&(typeof \"+o+'===\"object\"||typeof '+o+'===\"function\")&&('+c+\"(\"+o+\")||\"+u+\".getBuffer(\"+o+\")||\"+u+\".getBuffer(\"+o+\".buffer)||\"+c+\"(\"+o+'.buffer)||(\"constant\" in '+o+\"&&(typeof \"+o+'.constant===\"number\"||'+i.isArrayLike+\"(\"+o+\".constant))))\",'invalid dynamic attribute \"'+e+'\"')}));var s={isStream:r.def(!1)},l=new g;l.state=Ci,Object.keys(l).forEach((function(e){s[e]=r.def(\"\"+l[e])}));var f=s.buffer,d=s.type;function h(e){r(s[e],\"=\",o,\".\",e,\"|0;\")}return r(\"if(\",c,\"(\",o,\")){\",s.isStream,\"=true;\",f,\"=\",u,\".createStream(\",Aa,\",\",o,\");\",d,\"=\",f,\".dtype;\",\"}else{\",f,\"=\",u,\".getBuffer(\",o,\");\",\"if(\",f,\"){\",d,\"=\",f,\".dtype;\",'}else if(\"constant\" in ',o,\"){\",s.state,\"=\",Mi,\";\",\"if(typeof \"+o+'.constant === \"number\"){',s[ki[0]],\"=\",o,\".constant;\",ki.slice(1).map((function(e){return s[e]})).join(\"=\"),\"=0;\",\"}else{\",ki.map((function(e,t){return s[e]+\"=\"+o+\".constant.length>\"+t+\"?\"+o+\".constant[\"+t+\"]:0;\"})).join(\"\"),\"}}else{\",\"if(\",c,\"(\",o,\".buffer)){\",f,\"=\",u,\".createStream(\",Aa,\",\",o,\".buffer);\",\"}else{\",f,\"=\",u,\".getBuffer(\",o,\".buffer);\",\"}\",d,'=\"type\" in ',o,\"?\",a.glTypes,\"[\",o,\".type]:\",f,\".dtype;\",s.normalized,\"=!!\",o,\".normalized;\"),h(\"size\"),h(\"offset\"),h(\"stride\"),h(\"divisor\"),r(\"}}\"),r.exit(\"if(\",s.isStream,\"){\",u,\".destroyStream(\",f,\");\",\"}\"),s}a[e]=Pc(t,n)})),a}function U(e,t){var n=e.static,r=e.dynamic;if(ba in n){var o=n[ba];return null!==o&&null===l.getVAO(o)&&(o=l.createVAO(o)),Ic((function(e){return e.link(l.getVAO(o))}))}if(ba in r){var i=r[ba];return Pc(i,(function(e,t){var n=e.invoke(t,i);return t.def(e.shared.vao+\".getVAO(\"+n+\")\")}))}return null}function G(e){var t=e.static,n=e.dynamic,r={};return Object.keys(t).forEach((function(e){var n=t[e];r[e]=Ic((function(e,t){return\"number\"===typeof n||\"boolean\"===typeof n?\"\"+n:e.link(n)}))})),Object.keys(n).forEach((function(e){var t=n[e];r[e]=Pc(t,(function(e,n){return e.invoke(n,t)}))})),r}function V(e,t,n,o,i){var a=e.static,c=e.dynamic;re.optional((function(){var e=[fa,da,ha,pa,va,ma,ga,ya,la,ba].concat(O);function t(t){Object.keys(t).forEach((function(t){re.command(e.indexOf(t)>=0,'unknown parameter \"'+t+'\"',i.commandStr)}))}t(a),t(c)}));var u=L(e,t),s=I(e,i),f=P(e,s,i),d=R(e,i),h=F(e,i),p=D(e,i,u);function v(e){var t=f[e];t&&(h[e]=t)}v(sa),v(j(ua));var g=Object.keys(h).length>0,m={framebuffer:s,draw:d,shader:p,state:h,dirty:g,scopeVAO:null,drawVAO:null,useVAO:!1,attributes:{}};if(m.profile=T(e,i),m.uniforms=B(n,i),m.drawVAO=m.scopeVAO=U(e,i),!m.drawVAO&&p.program&&!u&&r.angle_instanced_arrays){var y=!0,b=p.program.attributes.map((function(e){var n=t.static[e];return y=y&&!!n,n}));if(y&&b.length>0){var x=l.getVAO(l.createVAO(b));m.drawVAO=new Nc(null,null,null,(function(e,t){return e.link(x)})),m.useVAO=!0}}return u?m.useVAO=!0:m.attributes=z(t,i),m.context=G(o,i),m}function W(e,t,n){var r=e.shared,o=r.context,i=e.scope();Object.keys(n).forEach((function(r){t.save(o,\".\"+r);var a=n[r],c=a.append(e,t);Array.isArray(c)?i(o,\".\",r,\"=[\",c.join(),\"];\"):i(o,\".\",r,\"=\",c,\";\")})),t(i)}function H(e,t,n,r){var o,i=e.shared,a=i.gl,c=i.framebuffer;b&&(o=t.def(i.extensions,\".webgl_draw_buffers\"));var u,s=e.constants,l=s.drawBuffer,f=s.backBuffer;u=n?n.append(e,t):t.def(c,\".next\"),r||t(\"if(\",u,\"!==\",c,\".cur){\"),t(\"if(\",u,\"){\",a,\".bindFramebuffer(\",wc,\",\",u,\".framebuffer);\"),b&&t(o,\".drawBuffersWEBGL(\",l,\"[\",u,\".colorAttachments.length]);\"),t(\"}else{\",a,\".bindFramebuffer(\",wc,\",null);\"),b&&t(o,\".drawBuffersWEBGL(\",f,\");\"),t(\"}\",c,\".cur=\",u,\";\"),r||t(\"}\")}function Y(e,t,n){var r=e.shared,o=r.gl,i=e.current,a=e.next,c=r.current,u=r.next,s=e.cond(c,\".dirty\");O.forEach((function(t){var r,l,f=j(t);if(!(f in n.state))if(f in a){r=a[f],l=i[f];var d=_e(x[f].length,(function(e){return s.def(r,\"[\",e,\"]\")}));s(e.cond(d.map((function(e,t){return e+\"!==\"+l+\"[\"+t+\"]\"})).join(\"||\")).then(o,\".\",S[f],\"(\",d,\");\",d.map((function(e,t){return l+\"[\"+t+\"]=\"+e})).join(\";\"),\";\"))}else{r=s.def(u,\".\",f);var h=e.cond(r,\"!==\",c,\".\",f);s(h),f in E?h(e.cond(r).then(o,\".enable(\",E[f],\");\").else(o,\".disable(\",E[f],\");\"),c,\".\",f,\"=\",r,\";\"):h(o,\".\",S[f],\"(\",r,\");\",c,\".\",f,\"=\",r,\";\")}})),0===Object.keys(n.state).length&&s(c,\".dirty=false;\"),t(s)}function X(e,t,n,r){var o=e.shared,i=e.current,a=o.current,c=o.gl;Ac(Object.keys(n)).forEach((function(o){var u=n[o];if(!r||r(u)){var s=u.append(e,t);if(E[o]){var l=E[o];Tc(u)?t(c,s?\".enable(\":\".disable(\",l,\");\"):t(e.cond(s).then(c,\".enable(\",l,\");\").else(c,\".disable(\",l,\");\")),t(a,\".\",o,\"=\",s,\";\")}else if(Cn(s)){var f=i[o];t(c,\".\",S[o],\"(\",s,\");\",s.map((function(e,t){return f+\"[\"+t+\"]=\"+e})).join(\";\"),\";\")}else t(c,\".\",S[o],\"(\",s,\");\",a,\".\",o,\"=\",s,\";\")}}))}function q(e,t){y&&(e.instancing=t.def(e.shared.extensions,\".angle_instanced_arrays\"))}function K(e,t,n,r,o){var i,a,c,u=e.shared,s=e.stats,l=u.current,f=u.timer,d=n.profile;function h(){return\"undefined\"===typeof performance?\"Date.now()\":\"performance.now()\"}function v(e){i=t.def(),e(i,\"=\",h(),\";\"),\"string\"===typeof o?e(s,\".count+=\",o,\";\"):e(s,\".count++;\"),p&&(r?(a=t.def(),e(a,\"=\",f,\".getNumPendingQueries();\")):e(f,\".beginQuery(\",s,\");\"))}function g(e){e(s,\".cpuTime+=\",h(),\"-\",i,\";\"),p&&(r?e(f,\".pushScopeStats(\",a,\",\",f,\".getNumPendingQueries(),\",s,\");\"):e(f,\".endQuery();\"))}function m(e){var n=t.def(l,\".profile\");t(l,\".profile=\",e,\";\"),t.exit(l,\".profile=\",n,\";\")}if(d){if(Tc(d))return void(d.enable?(v(t),g(t.exit),m(\"true\")):m(\"false\"));c=d.append(e,t),m(c)}else c=t.def(l,\".profile\");var y=e.block();v(y),t(\"if(\",c,\"){\",y,\"}\");var b=e.block();g(b),t.exit(\"if(\",c,\"){\",b,\"}\")}function Z(e,t,n,r,o){var i=e.shared;function a(e){switch(e){case Ya:case Za:case ec:return 2;case Xa:case $a:case tc:return 3;case qa:case Qa:case nc:return 4;default:return 1}}function c(n,r,o){var a=i.gl,c=t.def(n,\".location\"),u=t.def(i.attributes,\"[\",c,\"]\"),s=o.state,l=o.buffer,f=[o.x,o.y,o.z,o.w],d=[\"buffer\",\"normalized\",\"offset\",\"stride\"];function h(){t(\"if(!\",u,\".buffer){\",a,\".enableVertexAttribArray(\",c,\");}\");var n,i=o.type;if(n=o.size?t.def(o.size,\"||\",r):r,t(\"if(\",u,\".type!==\",i,\"||\",u,\".size!==\",n,\"||\",d.map((function(e){return u+\".\"+e+\"!==\"+o[e]})).join(\"||\"),\"){\",a,\".bindBuffer(\",Aa,\",\",l,\".buffer);\",a,\".vertexAttribPointer(\",[c,n,i,o.normalized,o.stride,o.offset],\");\",u,\".type=\",i,\";\",u,\".size=\",n,\";\",d.map((function(e){return u+\".\"+e+\"=\"+o[e]+\";\"})).join(\"\"),\"}\"),y){var s=o.divisor;t(\"if(\",u,\".divisor!==\",s,\"){\",e.instancing,\".vertexAttribDivisorANGLE(\",[c,s],\");\",u,\".divisor=\",s,\";}\")}}function p(){t(\"if(\",u,\".buffer){\",a,\".disableVertexAttribArray(\",c,\");\",u,\".buffer=null;\",\"}if(\",ki.map((function(e,t){return u+\".\"+e+\"!==\"+f[t]})).join(\"||\"),\"){\",a,\".vertexAttrib4f(\",c,\",\",f,\");\",ki.map((function(e,t){return u+\".\"+e+\"=\"+f[t]+\";\"})).join(\"\"),\"}\")}s===Ci?h():s===Mi?p():(t(\"if(\",s,\"===\",Ci,\"){\"),h(),t(\"}else{\"),p(),t(\"}\"))}r.forEach((function(r){var i,u=r.name,s=n.attributes[u];if(s){if(!o(s))return;i=s.append(e,t)}else{if(!o(Lc))return;var l=e.scopeAttrib(u);re.optional((function(){e.assert(t,l+\".state\",\"missing attribute \"+u)})),i={},Object.keys(new g).forEach((function(e){i[e]=t.def(l,\".\",e)}))}c(e.link(r),a(r.info.type),i)}))}function $(e,t,r,o,i){for(var a,c=e.shared,u=c.gl,s=0;s<o.length;++s){var l,f=o[s],d=f.name,h=f.info.type,p=r.uniforms[d],v=e.link(f),g=v+\".location\";if(p){if(!i(p))continue;if(Tc(p)){var m=p.value;if(re.command(null!==m&&\"undefined\"!==typeof m,'missing uniform \"'+d+'\"',e.commandStr),h===ac||h===cc){re.command(\"function\"===typeof m&&(h===ac&&(\"texture2d\"===m._reglType||\"framebuffer\"===m._reglType)||h===cc&&(\"textureCube\"===m._reglType||\"framebufferCube\"===m._reglType)),\"invalid texture for uniform \"+d,e.commandStr);var y=e.link(m._texture||m.color[0]._texture);t(u,\".uniform1i(\",g,\",\",y+\".bind());\"),t.exit(y,\".unbind();\")}else if(h===rc||h===oc||h===ic){re.optional((function(){re.command(Cn(m),\"invalid matrix for uniform \"+d,e.commandStr),re.command(h===rc&&4===m.length||h===oc&&9===m.length||h===ic&&16===m.length,\"invalid length for matrix uniform \"+d,e.commandStr)}));var b=e.global.def(\"new Float32Array([\"+Array.prototype.slice.call(m)+\"])\"),x=2;h===oc?x=3:h===ic&&(x=4),t(u,\".uniformMatrix\",x,\"fv(\",g,\",false,\",b,\");\")}else{switch(h){case Ha:re.commandType(m,\"number\",\"uniform \"+d,e.commandStr),a=\"1f\";break;case Ya:re.command(Cn(m)&&2===m.length,\"uniform \"+d,e.commandStr),a=\"2f\";break;case Xa:re.command(Cn(m)&&3===m.length,\"uniform \"+d,e.commandStr),a=\"3f\";break;case qa:re.command(Cn(m)&&4===m.length,\"uniform \"+d,e.commandStr),a=\"4f\";break;case Ja:re.commandType(m,\"boolean\",\"uniform \"+d,e.commandStr),a=\"1i\";break;case Ka:re.commandType(m,\"number\",\"uniform \"+d,e.commandStr),a=\"1i\";break;case ec:re.command(Cn(m)&&2===m.length,\"uniform \"+d,e.commandStr),a=\"2i\";break;case Za:re.command(Cn(m)&&2===m.length,\"uniform \"+d,e.commandStr),a=\"2i\";break;case tc:re.command(Cn(m)&&3===m.length,\"uniform \"+d,e.commandStr),a=\"3i\";break;case $a:re.command(Cn(m)&&3===m.length,\"uniform \"+d,e.commandStr),a=\"3i\";break;case nc:re.command(Cn(m)&&4===m.length,\"uniform \"+d,e.commandStr),a=\"4i\";break;case Qa:re.command(Cn(m)&&4===m.length,\"uniform \"+d,e.commandStr),a=\"4i\";break}t(u,\".uniform\",a,\"(\",g,\",\",Cn(m)?Array.prototype.slice.call(m):m,\");\")}continue}l=p.append(e,t)}else{if(!i(Lc))continue;l=t.def(c.uniforms,\"[\",n.id(d),\"]\")}h===ac?(re(!Array.isArray(l),\"must specify a scalar prop for textures\"),t(\"if(\",l,\"&&\",l,'._reglType===\"framebuffer\"){',l,\"=\",l,\".color[0];\",\"}\")):h===cc&&(re(!Array.isArray(l),\"must specify a scalar prop for cube maps\"),t(\"if(\",l,\"&&\",l,'._reglType===\"framebufferCube\"){',l,\"=\",l,\".color[0];\",\"}\")),re.optional((function(){function n(n,r){e.assert(t,n,'bad data or missing for uniform \"'+d+'\".  '+r)}function r(e){re(!Array.isArray(l),\"must not specify an array type for uniform\"),n(\"typeof \"+l+'===\"'+e+'\"',\"invalid type, expected \"+e)}function o(t,r){Array.isArray(l)?re(l.length===t,\"must have length \"+t):n(c.isArrayLike+\"(\"+l+\")&&\"+l+\".length===\"+t,\"invalid vector, should have length \"+t,e.commandStr)}function i(t){re(!Array.isArray(l),\"must not specify a value type\"),n(\"typeof \"+l+'===\"function\"&&'+l+'._reglType===\"texture'+(t===Pa?\"2d\":\"Cube\")+'\"',\"invalid texture type\",e.commandStr)}switch(h){case Ka:r(\"number\");break;case Za:o(2,\"number\");break;case $a:o(3,\"number\");break;case Qa:o(4,\"number\");break;case Ha:r(\"number\");break;case Ya:o(2,\"number\");break;case Xa:o(3,\"number\");break;case qa:o(4,\"number\");break;case Ja:r(\"boolean\");break;case ec:o(2,\"boolean\");break;case tc:o(3,\"boolean\");break;case nc:o(4,\"boolean\");break;case rc:o(4,\"number\");break;case oc:o(9,\"number\");break;case ic:o(16,\"number\");break;case ac:i(Pa);break;case cc:i(La);break}}));var w=1;switch(h){case ac:case cc:var O=t.def(l,\"._texture\");t(u,\".uniform1i(\",g,\",\",O,\".bind());\"),t.exit(O,\".unbind();\");continue;case Ka:case Ja:a=\"1i\";break;case Za:case ec:a=\"2i\",w=2;break;case $a:case tc:a=\"3i\",w=3;break;case Qa:case nc:a=\"4i\",w=4;break;case Ha:a=\"1f\";break;case Ya:a=\"2f\",w=2;break;case Xa:a=\"3f\",w=3;break;case qa:a=\"4f\",w=4;break;case rc:a=\"Matrix2fv\";break;case oc:a=\"Matrix3fv\";break;case ic:a=\"Matrix4fv\";break}if(t(u,\".uniform\",a,\"(\",g,\",\"),\"M\"===a.charAt(0)){var E=Math.pow(h-rc+2,2),S=e.global.def(\"new Float32Array(\",E,\")\");Array.isArray(l)?t(\"false,(\",_e(E,(function(e){return S+\"[\"+e+\"]=\"+l[e]})),\",\",S,\")\"):t(\"false,(Array.isArray(\",l,\")||\",l,\" instanceof Float32Array)?\",l,\":(\",_e(E,(function(e){return S+\"[\"+e+\"]=\"+l+\"[\"+e+\"]\"})),\",\",S,\")\")}else w>1?t(_e(w,(function(e){return Array.isArray(l)?l[e]:l+\"[\"+e+\"]\"}))):(re(!Array.isArray(l),\"uniform value must not be an array\"),t(l));t(\");\")}}function Q(e,t,n,r){var o=e.shared,i=o.gl,a=o.draw,c=r.draw;function u(){var o,u=c.elements,s=t;return u?((u.contextDep&&r.contextDynamic||u.propDep)&&(s=n),o=u.append(e,s)):o=s.def(a,\".\",pa),o&&s(\"if(\"+o+\")\"+i+\".bindBuffer(\"+Na+\",\"+o+\".buffer.buffer);\"),o}function s(){var o,i=c.count,u=t;return i?((i.contextDep&&r.contextDynamic||i.propDep)&&(u=n),o=i.append(e,u),re.optional((function(){i.MISSING&&e.assert(t,\"false\",\"missing vertex count\"),i.DYNAMIC&&e.assert(u,o+\">=0\",\"missing vertex count\")}))):(o=u.def(a,\".\",ga),re.optional((function(){e.assert(u,o+\">=0\",\"missing vertex count\")}))),o}var l=u();function f(o){var i=c[o];return i?i.contextDep&&r.contextDynamic||i.propDep?i.append(e,n):i.append(e,t):t.def(a,\".\",o)}var d,h,p=f(va),v=f(ma),g=s();if(\"number\"===typeof g){if(0===g)return}else n(\"if(\",g,\"){\"),n.exit(\"}\");y&&(d=f(ya),h=e.instancing);var m=l+\".type\",b=c.elements&&Tc(c.elements);function x(){function e(){n(h,\".drawElementsInstancedANGLE(\",[p,g,m,v+\"<<((\"+m+\"-\"+_i+\")>>1)\",d],\");\")}function t(){n(h,\".drawArraysInstancedANGLE(\",[p,v,g,d],\");\")}l?b?e():(n(\"if(\",l,\"){\"),e(),n(\"}else{\"),t(),n(\"}\")):t()}function w(){function e(){n(i+\".drawElements(\"+[p,g,m,v+\"<<((\"+m+\"-\"+_i+\")>>1)\"]+\");\")}function t(){n(i+\".drawArrays(\"+[p,v,g]+\");\")}l?b?e():(n(\"if(\",l,\"){\"),e(),n(\"}else{\"),t(),n(\"}\")):t()}y&&(\"number\"!==typeof d||d>=0)?\"string\"===typeof d?(n(\"if(\",d,\">0){\"),x(),n(\"}else if(\",d,\"<0){\"),w(),n(\"}\")):x():w()}function J(e,t,n,r,o){var i=N(),a=i.proc(\"body\",o);return re.optional((function(){i.commandStr=t.commandStr,i.command=i.link(t.commandStr)})),y&&(i.instancing=a.def(i.shared.extensions,\".angle_instanced_arrays\")),e(i,a,n,r),i.compile().body}function ee(e,t,n,r){q(e,t),n.useVAO?n.drawVAO?t(e.shared.vao,\".setVAO(\",n.drawVAO.append(e,t),\");\"):t(e.shared.vao,\".setVAO(\",e.shared.vao,\".targetVAO);\"):(t(e.shared.vao,\".setVAO(null);\"),Z(e,t,n,r.attributes,(function(){return!0}))),$(e,t,n,r.uniforms,(function(){return!0})),Q(e,t,t,n)}function te(e,t){var n=e.proc(\"draw\",1);q(e,n),W(e,n,t.context),H(e,n,t.framebuffer),Y(e,n,t),X(e,n,t.state),K(e,n,t,!1,!0);var r=t.shader.progVar.append(e,n);if(n(e.shared.gl,\".useProgram(\",r,\".program);\"),t.shader.program)ee(e,n,t,t.shader.program);else{n(e.shared.vao,\".setVAO(null);\");var o=e.global.def(\"{}\"),i=n.def(r,\".id\"),a=n.def(o,\"[\",i,\"]\");n(e.cond(a).then(a,\".call(this,a0);\").else(a,\"=\",o,\"[\",i,\"]=\",e.link((function(n){return J(ee,e,t,n,1)})),\"(\",r,\");\",a,\".call(this,a0);\"))}Object.keys(t.state).length>0&&n(e.shared.current,\".dirty=true;\")}function ne(e,t,n,r){function o(){return!0}e.batchId=\"a1\",q(e,t),Z(e,t,n,r.attributes,o),$(e,t,n,r.uniforms,o),Q(e,t,t,n)}function oe(e,t,n,r){q(e,t);var o=n.contextDep,i=t.def(),a=\"a0\",c=\"a1\",u=t.def();e.shared.props=u,e.batchId=i;var s=e.scope(),l=e.scope();function f(e){return e.contextDep&&o||e.propDep}function d(e){return!f(e)}if(t(s.entry,\"for(\",i,\"=0;\",i,\"<\",c,\";++\",i,\"){\",u,\"=\",a,\"[\",i,\"];\",l,\"}\",s.exit),n.needsContext&&W(e,l,n.context),n.needsFramebuffer&&H(e,l,n.framebuffer),X(e,l,n.state,f),n.profile&&f(n.profile)&&K(e,l,n,!1,!0),r)n.useVAO?n.drawVAO?f(n.drawVAO)?l(e.shared.vao,\".setVAO(\",n.drawVAO.append(e,l),\");\"):s(e.shared.vao,\".setVAO(\",n.drawVAO.append(e,s),\");\"):s(e.shared.vao,\".setVAO(\",e.shared.vao,\".targetVAO);\"):(s(e.shared.vao,\".setVAO(null);\"),Z(e,s,n,r.attributes,d),Z(e,l,n,r.attributes,f)),$(e,s,n,r.uniforms,d),$(e,l,n,r.uniforms,f),Q(e,s,l,n);else{var h=e.global.def(\"{}\"),p=n.shader.progVar.append(e,l),v=l.def(p,\".id\"),g=l.def(h,\"[\",v,\"]\");l(e.shared.gl,\".useProgram(\",p,\".program);\",\"if(!\",g,\"){\",g,\"=\",h,\"[\",v,\"]=\",e.link((function(t){return J(ne,e,n,t,2)})),\"(\",p,\");}\",g,\".call(this,a0[\",i,\"],\",i,\");\")}}function ie(e,t){var n=e.proc(\"batch\",2);e.batchId=\"0\",q(e,n);var r=!1,o=!0;Object.keys(t.context).forEach((function(e){r=r||t.context[e].propDep})),r||(W(e,n,t.context),o=!1);var i=t.framebuffer,a=!1;function c(e){return e.contextDep&&r||e.propDep}i?(i.propDep?r=a=!0:i.contextDep&&r&&(a=!0),a||H(e,n,i)):H(e,n,null),t.state.viewport&&t.state.viewport.propDep&&(r=!0),Y(e,n,t),X(e,n,t.state,(function(e){return!c(e)})),t.profile&&c(t.profile)||K(e,n,t,!1,\"a1\"),t.contextDep=r,t.needsContext=o,t.needsFramebuffer=a;var u=t.shader.progVar;if(u.contextDep&&r||u.propDep)oe(e,n,t,null);else{var s=u.append(e,n);if(n(e.shared.gl,\".useProgram(\",s,\".program);\"),t.shader.program)oe(e,n,t,t.shader.program);else{n(e.shared.vao,\".setVAO(null);\");var l=e.global.def(\"{}\"),f=n.def(s,\".id\"),d=n.def(l,\"[\",f,\"]\");n(e.cond(d).then(d,\".call(this,a0,a1);\").else(d,\"=\",l,\"[\",f,\"]=\",e.link((function(n){return J(oe,e,t,n,2)})),\"(\",s,\");\",d,\".call(this,a0,a1);\"))}}Object.keys(t.state).length>0&&n(e.shared.current,\".dirty=true;\")}function ae(e,t){var r=e.proc(\"scope\",3);e.batchId=\"a2\";var o=e.shared,i=o.current;function a(n){var i=t.shader[n];i&&r.set(o.shader,\".\"+n,i.append(e,r))}W(e,r,t.context),t.framebuffer&&t.framebuffer.append(e,r),Ac(Object.keys(t.state)).forEach((function(n){var i=t.state[n],a=i.append(e,r);Cn(a)?a.forEach((function(t,o){r.set(e.next[n],\"[\"+o+\"]\",t)})):r.set(o.next,\".\"+n,a)})),K(e,r,t,!0,!0),[pa,ma,ga,ya,va].forEach((function(n){var i=t.draw[n];i&&r.set(o.draw,\".\"+n,\"\"+i.append(e,r))})),Object.keys(t.uniforms).forEach((function(i){var a=t.uniforms[i].append(e,r);Array.isArray(a)&&(a=\"[\"+a.join()+\"]\"),r.set(o.uniforms,\"[\"+n.id(i)+\"]\",a)})),Object.keys(t.attributes).forEach((function(n){var o=t.attributes[n].append(e,r),i=e.scopeAttrib(n);Object.keys(new g).forEach((function(e){r.set(i,\".\"+e,o[e])}))})),t.scopeVAO&&r.set(o.vao,\".targetVAO\",t.scopeVAO.append(e,r)),a(da),a(ha),Object.keys(t.state).length>0&&(r(i,\".dirty=true;\"),r.exit(i,\".dirty=true;\")),r(\"a1(\",e.shared.context,\",a0,\",e.batchId,\");\")}function ce(e){if(\"object\"===typeof e&&!Cn(e)){for(var t=Object.keys(e),n=0;n<t.length;++n)if(ve.isDynamic(e[t[n]]))return!0;return!1}}function ue(e,t,n){var r=t.static[n];if(r&&ce(r)){var o=e.global,i=Object.keys(r),a=!1,c=!1,u=!1,s=e.global.def(\"{}\");i.forEach((function(t){var n=r[t];if(ve.isDynamic(n)){\"function\"===typeof n&&(n=r[t]=ve.unbox(n));var i=Pc(n,null);a=a||i.thisDep,u=u||i.propDep,c=c||i.contextDep}else{switch(o(s,\".\",t,\"=\"),typeof n){case\"number\":o(n);break;case\"string\":o('\"',n,'\"');break;case\"object\":Array.isArray(n)&&o(\"[\",n.join(),\"]\");break;default:o(e.link(n));break}o(\";\")}})),t.dynamic[n]=new ve.DynamicVariable(Pi,{thisDep:a,contextDep:c,propDep:u,ref:s,append:l}),delete t.static[n]}function l(e,t){i.forEach((function(n){var o=r[n];if(ve.isDynamic(o)){var i=e.invoke(t,o);t(s,\".\",n,\"=\",i,\";\")}}))}}function se(e,n,r,o,i){var a=N();a.stats=a.link(i),Object.keys(n.static).forEach((function(e){ue(a,n,e)})),Ma.forEach((function(t){ue(a,e,t)}));var c=V(e,n,r,o,a);return te(a,c),ae(a,c),ie(a,c),t(a.compile(),{destroy:function(){c.shader.program.destroy()}})}return{next:w,current:x,procs:function(){var e=N(),t=e.proc(\"poll\"),n=e.proc(\"refresh\"),i=e.block();t(i),n(i);var a,c=e.shared,u=c.gl,s=c.next,l=c.current;i(l,\".dirty=false;\"),H(e,t),H(e,n,null,!0),y&&(a=e.link(y)),r.oes_vertex_array_object&&n(e.link(r.oes_vertex_array_object),\".bindVertexArrayOES(null);\");for(var f=0;f<o.maxAttributes;++f){var d=n.def(c.attributes,\"[\",f,\"]\"),h=e.cond(d,\".buffer\");h.then(u,\".enableVertexAttribArray(\",f,\");\",u,\".bindBuffer(\",Aa,\",\",d,\".buffer.buffer);\",u,\".vertexAttribPointer(\",f,\",\",d,\".size,\",d,\".type,\",d,\".normalized,\",d,\".stride,\",d,\".offset);\").else(u,\".disableVertexAttribArray(\",f,\");\",u,\".vertexAttrib4f(\",f,\",\",d,\".x,\",d,\".y,\",d,\".z,\",d,\".w);\",d,\".buffer=null;\"),n(h),y&&n(a,\".vertexAttribDivisorANGLE(\",f,\",\",d,\".divisor);\")}return n(e.shared.vao,\".currentVAO=null;\",e.shared.vao,\".setVAO(\",e.shared.vao,\".targetVAO);\"),Object.keys(E).forEach((function(r){var o=E[r],a=i.def(s,\".\",r),c=e.block();c(\"if(\",a,\"){\",u,\".enable(\",o,\")}else{\",u,\".disable(\",o,\")}\",l,\".\",r,\"=\",a,\";\"),n(c),t(\"if(\",a,\"!==\",l,\".\",r,\"){\",c,\"}\")})),Object.keys(S).forEach((function(r){var o,a,c=S[r],f=x[r],d=e.block();if(d(u,\".\",c,\"(\"),Cn(f)){var h=f.length;o=e.global.def(s,\".\",r),a=e.global.def(l,\".\",r),d(_e(h,(function(e){return o+\"[\"+e+\"]\"})),\");\",_e(h,(function(e){return a+\"[\"+e+\"]=\"+o+\"[\"+e+\"];\"})).join(\"\")),t(\"if(\",_e(h,(function(e){return o+\"[\"+e+\"]!==\"+a+\"[\"+e+\"]\"})).join(\"||\"),\"){\",d,\"}\")}else o=i.def(s,\".\",r),a=i.def(l,\".\",r),d(o,\");\",l,\".\",r,\"=\",o,\";\"),t(\"if(\",o,\"!==\",a,\"){\",d,\"}\");n(d)})),e.compile()}(),compile:se}}function Rc(){return{vaoCount:0,bufferCount:0,elementsCount:0,framebufferCount:0,shaderCount:0,textureCount:0,cubeCount:0,renderbufferCount:0,maxTextureUnits:0}}var Fc=34918,Bc=34919,zc=35007,Uc=function(e,t){if(!t.ext_disjoint_timer_query)return null;var n=[];function r(){return n.pop()||t.ext_disjoint_timer_query.createQueryEXT()}function o(e){n.push(e)}var i=[];function a(e){var n=r();t.ext_disjoint_timer_query.beginQueryEXT(zc,n),i.push(n),h(i.length-1,i.length,e)}function c(){t.ext_disjoint_timer_query.endQueryEXT(zc)}function u(){this.startQueryIndex=-1,this.endQueryIndex=-1,this.sum=0,this.stats=null}var s=[];function l(){return s.pop()||new u}function f(e){s.push(e)}var d=[];function h(e,t,n){var r=l();r.startQueryIndex=e,r.endQueryIndex=t,r.sum=0,r.stats=n,d.push(r)}var p=[],v=[];function g(){var e,n,r=i.length;if(0!==r){v.length=Math.max(v.length,r+1),p.length=Math.max(p.length,r+1),p[0]=0,v[0]=0;var a=0;for(e=0,n=0;n<i.length;++n){var c=i[n];t.ext_disjoint_timer_query.getQueryObjectEXT(c,Bc)?(a+=t.ext_disjoint_timer_query.getQueryObjectEXT(c,Fc),o(c)):i[e++]=c,p[n+1]=a,v[n+1]=e}for(i.length=e,e=0,n=0;n<d.length;++n){var u=d[n],s=u.startQueryIndex,l=u.endQueryIndex;u.sum+=p[l]-p[s];var h=v[s],g=v[l];g===h?(u.stats.gpuTime+=u.sum/1e6,f(u)):(u.startQueryIndex=h,u.endQueryIndex=g,d[e++]=u)}d.length=e}}return{beginQuery:a,endQuery:c,pushScopeStats:h,update:g,getNumPendingQueries:function(){return i.length},clear:function(){n.push.apply(n,i);for(var e=0;e<n.length;e++)t.ext_disjoint_timer_query.deleteQueryEXT(n[e]);i.length=0,n.length=0},restore:function(){i.length=0,n.length=0}}},Gc=16384,Vc=256,Wc=1024,Hc=34962,Yc=\"webglcontextlost\",Xc=\"webglcontextrestored\",qc=1,Kc=2,Zc=3;function $c(e,t){for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}function Qc(e){var n=je(e);if(!n)return null;var r=n.gl,o=r.getContextAttributes(),i=r.isContextLost(),a=ke(r,n);if(!a)return null;var c=ye(),u=Rc(),s=a.extensions,l=Uc(r,s),f=me(),d=r.drawingBufferWidth,h=r.drawingBufferHeight,p={tick:0,time:0,viewportWidth:d,viewportHeight:h,framebufferWidth:d,framebufferHeight:h,drawingBufferWidth:d,drawingBufferHeight:h,pixelRatio:n.pixelRatio},v={},g={elements:null,primitive:4,count:-1,offset:0,instances:-1},m=Et(r,s),y=nn(r,u,n,x),b=di(r,s,m,u,y);function x(e){return b.destroyBuffer(e)}var w=En(r,s,y,u),O=mi(r,c,u,n),E=ho(r,s,m,(function(){k.procs.poll()}),p,u,n),S=_o(r,s,m,u,n),j=ui(r,s,m,E,S,u),k=Dc(r,c,s,m,y,w,E,j,v,b,O,g,p,l,n),_=Oi(r,j,k.procs.poll,p,o,s,m),C=k.next,M=r.canvas,A=[],N=[],T=[],I=[n.onDestroy],P=null;function L(){if(0===A.length)return l&&l.update(),void(P=null);P=ge.next(L),X();for(var e=A.length-1;e>=0;--e){var t=A[e];t&&t(p,null,0)}r.flush(),l&&l.update()}function D(){!P&&A.length>0&&(P=ge.next(L))}function R(){P&&(ge.cancel(L),P=null)}function F(e){e.preventDefault(),i=!0,R(),N.forEach((function(e){e()}))}function B(e){r.getError(),i=!1,a.restore(),O.restore(),y.restore(),E.restore(),S.restore(),j.restore(),b.restore(),l&&l.restore(),k.procs.refresh(),D(),T.forEach((function(e){e()}))}function z(){A.length=0,R(),M&&(M.removeEventListener(Yc,F),M.removeEventListener(Xc,B)),O.clear(),j.clear(),S.clear(),E.clear(),w.clear(),y.clear(),b.clear(),l&&l.clear(),I.forEach((function(e){e()}))}function U(e){function n(e){var n=t({},e);function r(e){if(e in n){var t=n[e];delete n[e],Object.keys(t).forEach((function(r){n[e+\".\"+r]=t[r]}))}}return delete n.uniforms,delete n.attributes,delete n.context,delete n.vao,\"stencil\"in n&&n.stencil.op&&(n.stencil.opBack=n.stencil.opFront=n.stencil.op,delete n.stencil.op),r(\"blend\"),r(\"depth\"),r(\"cull\"),r(\"stencil\"),r(\"polygonOffset\"),r(\"scissor\"),r(\"sample\"),\"vao\"in e&&(n.vao=e.vao),n}function r(e,t){var n={},r={};return Object.keys(e).forEach((function(o){var i=e[o];if(ve.isDynamic(i))r[o]=ve.unbox(i,o);else{if(t&&Array.isArray(i))for(var a=0;a<i.length;++a)if(ve.isDynamic(i[a]))return void(r[o]=ve.unbox(i,o));n[o]=i}})),{dynamic:r,static:n}}re(!!e,\"invalid args to regl({...})\"),re.type(e,\"object\",\"invalid args to regl({...})\");var o=r(e.context||{},!0),a=r(e.uniforms||{},!0),c=r(e.attributes||{},!1),u=r(n(e),!1),s={gpuTime:0,cpuTime:0,count:0},l=k.compile(u,c,a,o,s),f=l.draw,d=l.batch,h=l.scope,p=[];function v(e){while(p.length<e)p.push(null);return p}function g(e,t){var n;if(i&&re.raise(\"context lost\"),\"function\"===typeof e)return h.call(this,null,e,0);if(\"function\"===typeof t)if(\"number\"===typeof e)for(n=0;n<e;++n)h.call(this,null,t,n);else{if(!Array.isArray(e))return h.call(this,e,t,0);for(n=0;n<e.length;++n)h.call(this,e[n],t,n)}else if(\"number\"===typeof e){if(e>0)return d.call(this,v(0|e),0|e)}else{if(!Array.isArray(e))return f.call(this,e);if(e.length)return d.call(this,e,e.length)}}return t(g,{stats:s,destroy:function(){l.destroy()}})}M&&(M.addEventListener(Yc,F,!1),M.addEventListener(Xc,B,!1));var G=j.setFBO=U({framebuffer:ve.define.call(null,qc,\"framebuffer\")});function V(e,t){var n=0;k.procs.poll();var o=t.color;o&&(r.clearColor(+o[0]||0,+o[1]||0,+o[2]||0,+o[3]||0),n|=Gc),\"depth\"in t&&(r.clearDepth(+t.depth),n|=Vc),\"stencil\"in t&&(r.clearStencil(0|t.stencil),n|=Wc),re(!!n,\"called regl.clear with no buffer specified\"),r.clear(n)}function W(e){if(re(\"object\"===typeof e&&e,\"regl.clear() takes an object as input\"),\"framebuffer\"in e)if(e.framebuffer&&\"framebufferCube\"===e.framebuffer_reglType)for(var n=0;n<6;++n)G(t({framebuffer:e.framebuffer.faces[n]},e),V);else G(e,V);else V(null,e)}function H(e){function t(){var t=$c(A,e);function n(){var e=$c(A,n);A[e]=A[A.length-1],A.length-=1,A.length<=0&&R()}re(t>=0,\"cannot cancel a frame twice\"),A[t]=n}return re.type(e,\"function\",\"regl.frame() callback must be a function\"),A.push(e),D(),{cancel:t}}function Y(){var e=C.viewport,t=C.scissor_box;e[0]=e[1]=t[0]=t[1]=0,p.viewportWidth=p.framebufferWidth=p.drawingBufferWidth=e[2]=t[2]=r.drawingBufferWidth,p.viewportHeight=p.framebufferHeight=p.drawingBufferHeight=e[3]=t[3]=r.drawingBufferHeight}function X(){p.tick+=1,p.time=K(),Y(),k.procs.poll()}function q(){E.refresh(),Y(),k.procs.refresh(),l&&l.update()}function K(){return(me()-f)/1e3}function Z(e,t){var n;switch(re.type(t,\"function\",\"listener callback must be a function\"),e){case\"frame\":return H(t);case\"lost\":n=N;break;case\"restore\":n=T;break;case\"destroy\":n=I;break;default:re.raise(\"invalid event, must be one of frame,lost,restore,destroy\")}return n.push(t),{cancel:function(){for(var e=0;e<n.length;++e)if(n[e]===t)return n[e]=n[n.length-1],void n.pop()}}}q();var $=t(U,{clear:W,prop:ve.define.bind(null,qc),context:ve.define.bind(null,Kc),this:ve.define.bind(null,Zc),draw:U({}),buffer:function(e){return y.create(e,Hc,!1,!1)},elements:function(e){return w.create(e,!1)},texture:E.create2D,cube:E.createCube,renderbuffer:S.create,framebuffer:j.create,framebufferCube:j.createCube,vao:b.createVAO,attributes:o,frame:H,on:Z,limits:m,hasExtension:function(e){return m.extensions.indexOf(e.toLowerCase())>=0},read:_,destroy:z,_gl:r,_refresh:q,poll:function(){X(),l&&l.update()},now:K,stats:u});return n.onDone(null,$),$}return Qc}))},fdAy:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"ntOU\"),i=n(\"4WOD\"),a=n(\"0rvr\"),c=n(\"1E5z\"),u=n(\"kRJp\"),s=n(\"busE\"),l=n(\"tiKp\"),f=n(\"xDBR\"),d=n(\"P4y1\"),h=n(\"rpNk\"),p=h.IteratorPrototype,v=h.BUGGY_SAFARI_ITERATORS,g=l(\"iterator\"),m=\"keys\",y=\"values\",b=\"entries\",x=function(){return this};e.exports=function(e,t,n,l,h,w,O){o(n,t,l);var E,S,j,k=function(e){if(e===h&&N)return N;if(!v&&e in M)return M[e];switch(e){case m:return function(){return new n(this,e)};case y:return function(){return new n(this,e)};case b:return function(){return new n(this,e)}}return function(){return new n(this)}},_=t+\" Iterator\",C=!1,M=e.prototype,A=M[g]||M[\"@@iterator\"]||h&&M[h],N=!v&&A||k(h),T=\"Array\"==t&&M.entries||A;if(T&&(E=i(T.call(new e)),p!==Object.prototype&&E.next&&(f||i(E)===p||(a?a(E,p):\"function\"!=typeof E[g]&&u(E,g,x)),c(E,_,!0,!0),f&&(d[_]=x))),h==y&&A&&A.name!==y&&(C=!0,N=function(){return A.call(this)}),f&&!O||M[g]===N||u(M,g,N),d[t]=N,h)if(S={values:k(y),keys:w?N:k(m),entries:k(b)},O)for(j in S)(v||C||!(j in M))&&s(M,j,S[j]);else r({target:t,proto:!0,forced:v||C},S);return S}},fhKU:function(e,t,n){var r=n(\"2oRo\"),o=n(\"WKiH\").trim,i=n(\"WJkJ\"),a=r.parseFloat,c=1/a(i+\"-0\")!==-1/0;e.exports=c?function(e){var t=o(String(e)),n=a(t);return 0===n&&\"-\"==t.charAt(0)?-0:n}:a},fmRc:function(e,t,n){var r=n(\"Xi7e\"),o=n(\"77Zs\"),i=n(\"L8xA\"),a=n(\"gCq4\"),c=n(\"VaNO\"),u=n(\"0Cz8\");function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=o,s.prototype[\"delete\"]=i,s.prototype.get=a,s.prototype.has=c,s.prototype.set=u,e.exports=s},fsL8:function(e,t,n){var r=n(\"cDf5\")[\"default\"];function o(){\"use strict\";e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports[\"default\"]=e.exports;var t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},c=\"function\"==typeof Symbol?Symbol:{},u=c.iterator||\"@@iterator\",s=c.asyncIterator||\"@@asyncIterator\",l=c.toStringTag||\"@@toStringTag\";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},\"\")}catch(N){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),c=new C(r||[]);return a(i,\"_invoke\",{value:S(e,n,c)}),i}function h(e,t,n){try{return{type:\"normal\",arg:e.call(t,n)}}catch(N){return{type:\"throw\",arg:N}}}t.wrap=d;var p={};function v(){}function g(){}function m(){}var y={};f(y,u,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(M([])));x&&x!==n&&i.call(x,u)&&(y=x);var w=m.prototype=v.prototype=Object.create(y);function O(e){[\"next\",\"throw\",\"return\"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(o,a,c,u){var s=h(e[o],e,a);if(\"throw\"!==s.type){var l=s.arg,f=l.value;return f&&\"object\"==r(f)&&i.call(f,\"__await\")?t.resolve(f.__await).then((function(e){n(\"next\",e,c,u)}),(function(e){n(\"throw\",e,c,u)})):t.resolve(f).then((function(e){l.value=e,c(l)}),(function(e){return n(\"throw\",e,c,u)}))}u(s.arg)}var o;a(this,\"_invoke\",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function S(e,t,n){var r=\"suspendedStart\";return function(o,i){if(\"executing\"===r)throw new Error(\"Generator is already running\");if(\"completed\"===r){if(\"throw\"===o)throw i;return A()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=j(a,n);if(c){if(c===p)continue;return c}}if(\"next\"===n.method)n.sent=n._sent=n.arg;else if(\"throw\"===n.method){if(\"suspendedStart\"===r)throw r=\"completed\",n.arg;n.dispatchException(n.arg)}else\"return\"===n.method&&n.abrupt(\"return\",n.arg);r=\"executing\";var u=h(e,t,n);if(\"normal\"===u.type){if(r=n.done?\"completed\":\"suspendedYield\",u.arg===p)continue;return{value:u.arg,done:n.done}}\"throw\"===u.type&&(r=\"completed\",n.method=\"throw\",n.arg=u.arg)}}}function j(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,\"throw\"===t.method){if(e.iterator[\"return\"]&&(t.method=\"return\",t.arg=void 0,j(e,t),\"throw\"===t.method))return p;t.method=\"throw\",t.arg=new TypeError(\"The iterator does not provide a 'throw' method\")}return p}var r=h(n,e.iterator,t.arg);if(\"throw\"===r.type)return t.method=\"throw\",t.arg=r.arg,t.delegate=null,p;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,\"return\"!==t.method&&(t.method=\"next\",t.arg=void 0),t.delegate=null,p):o:(t.method=\"throw\",t.arg=new TypeError(\"iterator result is not an object\"),t.delegate=null,p)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type=\"normal\",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:\"root\"}],e.forEach(k,this),this.reset(!0)}function M(e){if(e){var t=e[u];if(t)return t.call(e);if(\"function\"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:A}}function A(){return{value:void 0,done:!0}}return g.prototype=m,a(w,\"constructor\",{value:m,configurable:!0}),a(m,\"constructor\",{value:g,configurable:!0}),g.displayName=f(m,l,\"GeneratorFunction\"),t.isGeneratorFunction=function(e){var t=\"function\"==typeof e&&e.constructor;return!!t&&(t===g||\"GeneratorFunction\"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,f(e,l,\"GeneratorFunction\")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},O(E.prototype),f(E.prototype,s,(function(){return this})),t.AsyncIterator=E,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new E(d(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(w),f(w,l,\"Generator\"),f(w,u,(function(){return this})),f(w,\"toString\",(function(){return\"[object Generator]\"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=M,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method=\"next\",this.arg=void 0,this.tryEntries.forEach(_),!e)for(var t in this)\"t\"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(\"throw\"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type=\"throw\",a.arg=e,t.next=n,r&&(t.method=\"next\",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if(\"root\"===o.tryLoc)return n(\"end\");if(o.tryLoc<=this.prev){var c=i.call(o,\"catchLoc\"),u=i.call(o,\"finallyLoc\");if(c&&u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!u)throw new Error(\"try statement without catch or finally\");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,\"finallyLoc\")&&this.prev<r.finallyLoc){var o=r;break}}o&&(\"break\"===e||\"continue\"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method=\"next\",this.next=o.finallyLoc,p):this.complete(a)},complete:function(e,t){if(\"throw\"===e.type)throw e.arg;return\"break\"===e.type||\"continue\"===e.type?this.next=e.arg:\"return\"===e.type?(this.rval=this.arg=e.arg,this.method=\"return\",this.next=\"end\"):\"normal\"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if(\"throw\"===r.type){var o=r.arg;_(n)}return o}}throw new Error(\"illegal catch attempt\")},delegateYield:function(e,t,n){return this.delegate={iterator:M(e),resultName:t,nextLoc:n},\"next\"===this.method&&(this.arg=void 0),p}},t}e.exports=o,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},ftKO:function(e,t){var n=\"__lodash_hash_undefined__\";function r(e){return this.__data__.set(e,n),this}e.exports=r},ftMj:function(e,t,n){var r=n(\"I+eb\"),o=n(\"glrk\"),i=n(\"hh1v\"),a=n(\"UTVS\"),c=n(\"0Dky\"),u=n(\"m/L8\"),s=n(\"Bs8V\"),l=n(\"4WOD\"),f=n(\"XGwC\");function d(e,t,n){var r,c,h=arguments.length<4?e:arguments[3],p=s.f(o(e),t);if(!p){if(i(c=l(e)))return d(c,t,n,h);p=f(0)}if(a(p,\"value\")){if(!1===p.writable||!i(h))return!1;if(r=s.f(h,t)){if(r.get||r.set||!1===r.writable)return!1;r.value=n,u.f(h,t,r)}else u.f(h,t,f(0,n));return!0}return void 0!==p.set&&(p.set.call(h,n),!0)}var h=c((function(){var e=u.f({},\"a\",{configurable:!0});return!1!==Reflect.set(l(e),\"a\",1,e)}));r({target:\"Reflect\",stat:!0,forced:h},{set:d})},\"fvN/\":function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var o=r(n(\"EjHI\"));function i(e,t){if(!e.nodes||0===e.nodes.length)return e;var n=t.width,r=t.height,i=t.nodeMinGap,a=1e4,c=1e4;e.nodes.forEach((function(e){var t=e.size[0]||50,n=e.size[1]||50;a=Math.min(t,a),c=Math.min(n,c)}));var u=new o.default;u.init(n,r,{CELL_H:c,CELL_W:a}),e.nodes.forEach((function(e){var t=u.occupyNearest(e);t&&(t.node={id:e.id,size:e.size},e.x=t.x,e.y=t.y,e.dx=t.dx,e.dy=t.dy)}));for(var s=0;s<e.nodes.length;s++){var l=e.nodes[s],f=u.findGridByNodeId(l.id);if(!f)throw new Error(\"can not find node cell\");var d=f.column,h=f.row;if(l.size[0]+i>a){for(var p=Math.ceil((l.size[0]+i)/a)-1,v=p,g=0;g<p;g++){var m=u.additionColumn.indexOf(d+g+1)>-1;if(!m||u.cells[d+g+1][h].node)break;v--}u.insertColumn(d,v)}if(l.size[1]+i>c){for(p=Math.ceil((l.size[1]+i)/c)-1,v=p,g=0;g<p;g++){m=u.additionRow.indexOf(h+g+1)>-1;if(!m||u.cells[d][h+g+1].node)break;v--}u.insertRow(h,v)}}for(s=0;s<u.columnNum;s++){var y=function(t){var n=u.cells[s][t];if(n.node){var r=e.nodes.find((function(e){var t;return e.id===(null===(t=null===n||void 0===n?void 0:n.node)||void 0===t?void 0:t.id)}));r&&(r.x=n.x+r.size[0]/2,r.y=n.y+r.size[1]/2)}};for(g=0;g<u.rowNum;g++)y(g)}}t.default=i},g629:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=function(){function e(e){this.count=e.length,this.parent={};for(var t=0,n=e;t<n.length;t++){var r=n[t];this.parent[r]=r}}return e.prototype.find=function(e){while(this.parent[e]!==e)e=this.parent[e];return e},e.prototype.union=function(e,t){var n=this.find(e),r=this.find(t);n!==r&&(n<r?(this.parent[t]!==t&&this.union(this.parent[t],e),this.parent[t]=this.parent[e]):(this.parent[e]!==e&&this.union(this.parent[e],t),this.parent[e]=this.parent[t]))},e.prototype.connected=function(e,t){return this.find(e)===this.find(t)},e}(),o=r;t.default=o},\"g6v/\":function(e,t,n){var r=n(\"0Dky\");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},gCq4:function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},gO8D:function(e,t,n){\"use strict\";n.r(t);var r=n(\"z6FA\");n.d(t,\"quadtree\",(function(){return r[\"a\"]}))},gOCb:function(e,t,n){var r=n(\"dG/n\");r(\"replace\")},gXIK:function(e,t,n){var r=n(\"dG/n\");r(\"toPrimitive\")},gYJb:function(e,t,n){var r=n(\"I+eb\"),o=n(\"p5mE\"),i=n(\"0GbY\"),a=n(\"fHMY\"),c=function(){var e=i(\"Object\",\"freeze\");return e?e(a(null)):a(null)};r({global:!0},{compositeKey:function(){return o.apply(Object,arguments).get(\"object\",c)}})},\"gb/T\":function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"OLod\"))})(0,(function(e){return e.mode.ECB=function(){var t=e.lib.BlockCipherMode.extend();return t.Encryptor=t.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),t.Decryptor=t.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),t}(),e.mode.ECB}))},gdVl:function(e,t,n){\"use strict\";var r=n(\"ewvW\"),o=n(\"I8vh\"),i=n(\"UMSQ\");e.exports=function(e){var t=r(this),n=i(t.length),a=arguments.length,c=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,s=void 0===u?n:o(u,n);while(s>c)t[c++]=e;return t}},gg6r:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"HAuM\"),i=n(\"8GlL\"),a=n(\"5mdu\"),c=n(\"ImZN\");r({target:\"Promise\",stat:!0},{allSettled:function(e){var t=this,n=i.f(t),r=n.resolve,u=n.reject,s=a((function(){var n=o(t.resolve),i=[],a=0,u=1;c(e,(function(e){var o=a++,c=!1;i.push(void 0),u++,n.call(t,e).then((function(e){c||(c=!0,i[o]={status:\"fulfilled\",value:e},--u||r(i))}),(function(e){c||(c=!0,i[o]={status:\"rejected\",reason:e},--u||r(i))}))})),--u||r(i)}));return s.error&&u(s.value),n.promise}})},glrk:function(e,t,n){var r=n(\"hh1v\");e.exports=function(e){if(!r(e))throw TypeError(String(e)+\" is not an object\");return e}},gsyx:function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,\"__esModule\",{value:!0}),t.MDSLayout=void 0;var o=n(\"tK6A\"),i=n(\"8nGZ\"),a=n(\"W8mN\"),c=function(e){function t(t){var n=e.call(this)||this;return n.center=[0,0],n.linkDistance=50,n.nodes=[],n.edges=[],n.onLayoutEnd=function(){},n.updateCfg(t),n}return r(t,e),t.prototype.getDefaultCfg=function(){return{center:[0,0],linkDistance:50}},t.prototype.execute=function(){var e=this,t=e.nodes,n=e.edges,r=void 0===n?[]:n,o=e.center;if(t&&0!==t.length){if(1===t.length)return t[0].x=o[0],t[0].y=o[1],void(e.onLayoutEnd&&e.onLayoutEnd());var a=e.linkDistance,c=(0,i.getAdjMatrix)({nodes:t,edges:r},!1),u=(0,i.floydWarshall)(c);e.handleInfinity(u);var s=(0,i.scaleMatrix)(u,a);e.scaledDistances=s;var l=e.runMDS();return e.positions=l,l.forEach((function(e,n){t[n].x=e[0]+o[0],t[n].y=e[1]+o[1]})),e.onLayoutEnd&&e.onLayoutEnd(),{nodes:t,edges:r}}e.onLayoutEnd&&e.onLayoutEnd()},t.prototype.runMDS=function(){var e=this,t=2,n=e.scaledDistances,r=o.Matrix.mul(o.Matrix.pow(n,2),-.5),i=r.mean(\"row\"),a=r.mean(\"column\"),c=r.mean();r.add(c).subRowVector(i).subColumnVector(a);var u=new o.SingularValueDecomposition(r),s=o.Matrix.sqrt(u.diagonalMatrix).diagonal();return u.leftSingularVectors.toJSON().map((function(e){return o.Matrix.mul([e],[s]).toJSON()[0].splice(0,t)}))},t.prototype.handleInfinity=function(e){var t=-999999;e.forEach((function(e){e.forEach((function(e){e!==1/0&&t<e&&(t=e)}))})),e.forEach((function(n,r){n.forEach((function(n,o){n===1/0&&(e[r][o]=t)}))}))},t.prototype.getType=function(){return\"mds\"},t}(a.Base);t.MDSLayout=c},gvgV:function(e,t,n){\"use strict\";var r=n(\"67WC\"),o=n(\"TWQb\").includes,i=r.aTypedArray,a=r.exportTypedArrayMethod;a(\"includes\",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},h0XC:function(e,t){function n(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}e.exports=n,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},hBjN:function(e,t,n){\"use strict\";var r=n(\"wE6v\"),o=n(\"m/L8\"),i=n(\"XGwC\");e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},hByQ:function(e,t,n){\"use strict\";var r=n(\"14Sl\"),o=n(\"glrk\"),i=n(\"HYAF\"),a=n(\"Ep9I\"),c=n(\"FMNM\");r(\"search\",1,(function(e,t,n){return[function(t){var n=i(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),u=String(this),s=i.lastIndex;a(s,0)||(i.lastIndex=0);var l=c(i,u);return a(i.lastIndex,s)||(i.lastIndex=s),null===l?-1:l.index}]}))},hDyC:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"DMt2\").end,i=n(\"mgyK\");r({target:\"String\",proto:!0,forced:i},{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},\"hKI/\":function(e,t,n){(function(t){var n=\"Expected a function\",r=NaN,o=\"[object Symbol]\",i=/^\\s+|\\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,s=parseInt,l=\"object\"==typeof t&&t&&t.Object===Object&&t,f=\"object\"==typeof self&&self&&self.Object===Object&&self,d=l||f||Function(\"return this\")(),h=Object.prototype,p=h.toString,v=Math.max,g=Math.min,m=function(){return d.Date.now()};function y(e,t,r){var o,i,a,c,u,s,l=0,f=!1,d=!1,h=!0;if(\"function\"!=typeof e)throw new TypeError(n);function p(t){var n=o,r=i;return o=i=void 0,l=t,c=e.apply(r,n),c}function y(e){return l=e,u=setTimeout(O,t),f?p(e):c}function b(e){var n=e-s,r=e-l,o=t-n;return d?g(o,a-r):o}function w(e){var n=e-s,r=e-l;return void 0===s||n>=t||n<0||d&&r>=a}function O(){var e=m();if(w(e))return S(e);u=setTimeout(O,b(e))}function S(e){return u=void 0,h&&o?p(e):(o=i=void 0,c)}function j(){void 0!==u&&clearTimeout(u),l=0,o=s=i=u=void 0}function k(){return void 0===u?c:S(m())}function _(){var e=m(),n=w(e);if(o=arguments,i=this,s=e,n){if(void 0===u)return y(s);if(d)return u=setTimeout(O,t),p(s)}return void 0===u&&(u=setTimeout(O,t)),c}return t=E(t)||0,x(r)&&(f=!!r.leading,d=\"maxWait\"in r,a=d?v(E(r.maxWait)||0,t):a,h=\"trailing\"in r?!!r.trailing:h),_.cancel=j,_.flush=k,_}function b(e,t,r){var o=!0,i=!0;if(\"function\"!=typeof e)throw new TypeError(n);return x(r)&&(o=\"leading\"in r?!!r.leading:o,i=\"trailing\"in r?!!r.trailing:i),y(e,t,{leading:o,maxWait:t,trailing:i})}function x(e){var t=typeof e;return!!e&&(\"object\"==t||\"function\"==t)}function w(e){return!!e&&\"object\"==typeof e}function O(e){return\"symbol\"==typeof e||w(e)&&p.call(e)==o}function E(e){if(\"number\"==typeof e)return e;if(O(e))return r;if(x(e)){var t=\"function\"==typeof e.valueOf?e.valueOf():e;e=x(t)?t+\"\":t}if(\"string\"!=typeof e)return 0===e?e:+e;e=e.replace(i,\"\");var n=c.test(e);return n||u.test(e)?s(e.slice(2),n?2:8):a.test(e)?r:+e}e.exports=b}).call(this,n(\"IyRk\"))},hMMk:function(e,t,n){var r=n(\"dOgj\");r(\"Uint16\",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},\"hOG+\":function(e,t){(function(t){e.exports=function(){var e={311:function(e){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}}},n={};function r(t){if(n[t])return n[t].exports;var o=n[t]={exports:{}},i=!0;try{e[t](o,o.exports,r),i=!1}finally{i&&delete n[t]}return o.exports}return r.ab=t+\"/\",r(311)}()}).call(this,\"/\")},hcok:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"0GbY\"),a=n(\"glrk\"),c=n(\"HAuM\"),u=n(\"SEBh\"),s=n(\"ImZN\");r({target:\"Set\",proto:!0,real:!0,forced:o},{difference:function(e){var t=a(this),n=new(u(t,i(\"Set\")))(t),r=c(n[\"delete\"]);return s(e,(function(e){r.call(n,e)})),n}})},hh1v:function(e,t){e.exports=function(e){return\"object\"===typeof e?null!==e:\"function\"===typeof e}},hi4r:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=a,t.detectStrongConnectComponents=t.detectConnectedComponents=void 0;var r=n(\"3P6T\"),o=function(e){for(var t=e.nodes,n=void 0===t?[]:t,o=e.edges,i=void 0===o?[]:o,a=[],c={},u=[],s=function e(t){u.push(t),c[t.id]=!0;for(var o=(0,r.getNeighbors)(t.id,i),a=function(t){var r=o[t];if(!c[r]){var i=n.filter((function(e){return e.id===r}));i.length>0&&e(i[0])}},s=0;s<o.length;++s)a(s)},l=0;l<n.length;l++){var f=n[l];if(!c[f.id]){s(f);var d=[];while(u.length>0)d.push(u.pop());a.push(d)}}return a};t.detectConnectedComponents=o;var i=function(e){for(var t=e.nodes,n=void 0===t?[]:t,o=e.edges,i=void 0===o?[]:o,a=[],c={},u={},s={},l=[],f=0,d=function e(t){u[t.id]=f,s[t.id]=f,f+=1,a.push(t),c[t.id]=!0;for(var o=(0,r.getNeighbors)(t.id,i,\"target\").filter((function(e){return n.map((function(e){return e.id})).indexOf(e)>-1})),d=function(r){var i=o[r];if(u[i]||0===u[i])c[i]&&(s[t.id]=Math.min(s[t.id],u[i]));else{var a=n.filter((function(e){return e.id===i}));a.length>0&&e(a[0]),s[t.id]=Math.min(s[t.id],s[i])}},h=0;h<o.length;h++)d(h);if(s[t.id]===u[t.id]){var p=[];while(a.length>0){var v=a.pop();if(c[v.id]=!1,p.push(v),v===t)break}p.length>0&&l.push(p)}},h=0,p=n;h<p.length;h++){var v=p[h];u[v.id]||0===u[v.id]||d(v)}return l};function a(e,t){return t?i(e):o(e)}t.detectStrongConnectComponents=i},\"hir/\":function(e,t,n){},hpyz:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.secondReg=t.dateReg=void 0;var r=/^(\\d{1,4})(-|\\/)(\\d{1,2})\\2(\\d{1,2})$/;t.secondReg=r;var o=/^(\\d{1,4})(-|\\/)(\\d{1,2})\\2(\\d{1,2}) (\\d{1,2}):(\\d{1,2}):(\\d{1,2})$/;t.dateReg=o},hx0n:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(){function e(e){this.body=null,this.quad=null,this.NW=null,this.NE=null,this.SW=null,this.SE=null,this.theta=.5,null!=e&&(this.quad=e)}return e.prototype.insert=function(t){null!=this.body?this._isExternal()?(this.quad&&(this.NW=new e(this.quad.NW()),this.NE=new e(this.quad.NE()),this.SW=new e(this.quad.SW()),this.SE=new e(this.quad.SE())),this._putBody(this.body),this._putBody(t),this.body=this.body.add(t)):(this.body=this.body.add(t),this._putBody(t)):this.body=t},e.prototype._putBody=function(e){this.quad&&(e.in(this.quad.NW())&&this.NW?this.NW.insert(e):e.in(this.quad.NE())&&this.NE?this.NE.insert(e):e.in(this.quad.SW())&&this.SW?this.SW.insert(e):e.in(this.quad.SE())&&this.SE&&this.SE.insert(e))},e.prototype._isExternal=function(){return null==this.NW&&null==this.NE&&null==this.SW&&null==this.SE},e.prototype.updateForce=function(e){if(null!=this.body&&e!==this.body)if(this._isExternal())e.addForce(this.body);else{var t=this.quad?this.quad.getLength():0,n=this.body.distanceTo(e);t/n<this.theta?e.addForce(this.body):(this.NW&&this.NW.updateForce(e),this.NE&&this.NE.updateForce(e),this.SW&&this.SW.updateForce(e),this.SE&&this.SE.updateForce(e))}},e}();t.default=r},i2N1:function(e,t,n){\"use strict\";e.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]}},i3If:function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o.apply(this,arguments)};Object.defineProperty(t,\"__esModule\",{value:!0}),t.Force2Layout=void 0;var i=n(\"W8mN\"),a=n(\"8nGZ\"),c=n(\"FbUP\"),u=function(e,t){var n;return n=e?(0,a.isNumber)(e)?function(t){return e}:e:function(e){return t||1},n},s=function(e){function t(t){var n=e.call(this)||this;n.maxIteration=1e3,n.workerEnabled=!1,n.edgeStrength=200,n.nodeStrength=1e3,n.coulombDisScale=.005,n.damping=.9,n.maxSpeed=500,n.minMovement=.4,n.interval=.02,n.factor=1,n.linkDistance=200,n.gravity=0,n.clusterNodeStrength=20,n.preventOverlap=!0,n.distanceThresholdMode=\"mean\",n.tick=function(){},n.nodes=[],n.edges=[],n.width=300,n.height=300,n.nodeMap={},n.nodeIdxMap={},n.judgingDistance=0,n.centripetalOptions={leaf:2,single:2,others:1,center:function(e){return{x:n.width/2,y:n.height/2}}};var r=t.getMass;return n.propsGetMass=r,n.updateCfg(t),n}return r(t,e),t.prototype.getCentripetalOptions=function(){var e,t=this,n=t.leafCluster,r=t.clustering,i=t.nodeClusterBy,c=t.nodes,u=t.nodeMap,s=t.clusterNodeStrength,l=function(e){return\"function\"===typeof s?s(e):s},f={};if(n){e=this.getSameTypeLeafMap()||{};var d=Array.from(new Set(null===c||void 0===c?void 0:c.map((function(e){return e[i]}))))||[];f={single:100,leaf:function(t,n,r){var o=e[t.id]||{},i=o.relativeLeafNodes,a=o.sameTypeLeafNodes;return(null===a||void 0===a?void 0:a.length)===(null===i||void 0===i?void 0:i.length)||1===(null===d||void 0===d?void 0:d.length)?1:l(t)},others:1,center:function(t,n,r){var o,i,c=((null===(o=t.data)||void 0===o?void 0:o.layout)||{}).degree;if(!c)return{x:100,y:100};if(1===c){var u=(e[t.id]||{}).sameTypeLeafNodes,s=void 0===u?[]:u;1===s.length?i=void 0:s.length>1&&(i=(0,a.getAvgNodePosition)(s))}else i=void 0;return{x:null===i||void 0===i?void 0:i.x,y:null===i||void 0===i?void 0:i.y}}}}if(r){e||(e=this.getSameTypeLeafMap());var h=Array.from(new Set(c.map((function(e,t){return e[i]})))).filter((function(e){return void 0!==e})),p={};h.forEach((function(e){var t=c.filter((function(t){return t[i]===e})).map((function(e){return u[e.id]}));p[e]=(0,a.getAvgNodePosition)(t)})),f={single:function(e){return l(e)},leaf:function(e){return l(e)},others:function(e){return l(e)},center:function(e,t,n){var r=p[e[i]];return{x:null===r||void 0===r?void 0:r.x,y:null===r||void 0===r?void 0:r.y}}}}this.centripetalOptions=o(o({},this.centripetalOptions),f);var v=this.centripetalOptions,g=v.leaf,m=v.single,y=v.others;g&&\"function\"!==typeof g&&(this.centripetalOptions.leaf=function(){return g}),m&&\"function\"!==typeof m&&(this.centripetalOptions.single=function(){return m}),y&&\"function\"!==typeof y&&(this.centripetalOptions.others=function(){return y})},t.prototype.updateCfg=function(e){e&&Object.assign(this,e)},t.prototype.getDefaultCfg=function(){return{maxIteration:500,gravity:10,enableTick:!0,animate:!0}},t.prototype.execute=function(){var e=this;e.stop();var t=e.nodes,n=e.edges,r=e.defSpringLen;if(e.judgingDistance=0,t&&0!==t.length){e.width||\"undefined\"===typeof window||(e.width=window.innerWidth),e.height||\"undefined\"===typeof window||(e.height=window.innerHeight),e.center||(e.center=[e.width/2,e.height/2]);var i=e.center;if(1===t.length)return t[0].x=i[0],t[0].y=i[1],void e.onLayoutEnd([o({},t[0])]);e.degreesMap=(0,a.getDegreeMap)(t,n),e.propsGetMass?e.getMass=e.propsGetMass:e.getMass=function(t){var n=1;(0,a.isNumber)(t.mass)&&(n=t.mass);var r=e.degreesMap[t.id].all;return!r||r<5?n:5*r*n};var c,s=e.nodeSize;if(e.preventOverlap){var l,f=e.nodeSpacing;l=(0,a.isNumber)(f)?function(){return f}:(0,a.isFunction)(f)?f:function(){return 0},c=s?(0,a.isArray)(s)?function(e){return Math.max(s[0],s[1])+l(e)}:function(e){return s+l(e)}:function(e){return e.size?(0,a.isArray)(e.size)?Math.max(e.size[0],e.size[1])+l(e):(0,a.isObject)(e.size)?Math.max(e.size.width,e.size.height)+l(e):e.size+l(e):10+l(e)}}e.nodeSize=c,e.linkDistance=u(e.linkDistance,1),e.nodeStrength=u(e.nodeStrength,1),e.edgeStrength=u(e.edgeStrength,1);var d={},h={};t.forEach((function(t,n){(0,a.isNumber)(t.x)||(t.x=Math.random()*e.width),(0,a.isNumber)(t.y)||(t.y=Math.random()*e.height);var r=e.degreesMap[t.id];d[t.id]=o(o({},t),{data:o(o({},t.data),{size:e.nodeSize(t)||30,layout:{inDegree:r.in,outDegree:r.out,degree:r.all,tDegree:r.in,sDegree:r.out,force:{mass:e.getMass(t),nodeStrength:e.nodeStrength(t)}}})}),h[t.id]=n})),e.nodeMap=d,e.nodeIdxMap=h,e.edgeInfos=[],null===n||void 0===n||n.forEach((function(t){var n=d[t.source],i=d[t.target];n&&i?e.edgeInfos.push({edgeStrength:e.edgeStrength(t),linkDistance:r?r(o(o({},t),{source:n,target:i}),n,i):e.linkDistance(t,n,i)||1+(s(n)+s(n)||0)/2}):elf.edgeInfos.push({})})),this.getCentripetalOptions(),e.onLayoutEnd=e.onLayoutEnd||function(){},e.run()}else e.onLayoutEnd([])},t.prototype.run=function(){var e=this,t=e.maxIteration,n=e.nodes,r=e.workerEnabled,o=e.minMovement,i=e.animate,a=e.nodeMap;if(n){var c=[];n.forEach((function(e,t){c[2*t]=0,c[2*t+1]=0}));var u=t,s=!i;if(r||s){for(var l=0;(e.judgingDistance>o||l<1)&&l<u;l++)l,e.runOneStep(l,c);e.onLayoutEnd(Object.values(a))}else{if(\"undefined\"===typeof window)return;var f=0;this.timeInterval=window.setInterval((function(){n&&(e.runOneStep(f,c),f++,(f>=u||e.judgingDistance<o)&&(e.onLayoutEnd(Object.values(a)),window.clearInterval(e.timeInterval)))}),0)}}},t.prototype.runOneStep=function(e,t){var n,r=this,o=r.nodes,i=r.edges,a=(r.nodeMap,r.monitor),c=[];if(null===o||void 0===o?void 0:o.length){r.calRepulsive(c),i&&r.calAttractive(c),r.calGravity(c);var u=r.interval;if(r.updateVelocity(c,t,u),r.updatePosition(t,u),null===(n=r.tick)||void 0===n||n.call(r),a){var s=this.calTotalEnergy(c);a({energy:s,nodes:o,edges:i,iterations:e})}}},t.prototype.calTotalEnergy=function(e){var t=this,n=t.nodes,r=t.nodeMap;if(!(null===n||void 0===n?void 0:n.length))return 0;var o=0;return n.forEach((function(t,n){var i=e[2*n],a=e[2*n+1],c=i*i+a*a,u=r[t.id].data.layout.force.mass,s=void 0===u?1:u;o+=s*c*.5})),o},t.prototype.calRepulsive=function(e){var t=this,n=t.nodes,r=t.nodeMap,o=t.factor,i=t.coulombDisScale;t.nodeSize;(0,c.forceNBody)(n,r,o,i*i,e)},t.prototype.calAttractive=function(e){var t=this,n=t.edges,r=t.nodeMap,o=t.nodeIdxMap,i=t.edgeInfos;t.nodeSize;n.forEach((function(t,n){var c=(0,a.getEdgeTerminal)(t,\"source\"),u=(0,a.getEdgeTerminal)(t,\"target\"),s=r[c],l=r[u];if(s&&l){var f=l.x-s.x,d=l.y-s.y;f||d||(f=.01*Math.random(),d=.01*Math.random());var h=Math.sqrt(f*f+d*d),p=f/h,v=d/h,g=i[n]||{},m=g.linkDistance,y=void 0===m?200:m,b=g.edgeStrength,x=void 0===b?200:b,w=y-h,O=w*x,E=s.data.layout.force.mass||1,S=l.data.layout.force.mass||1,j=1/E,k=1/S,_=p*O,C=v*O,M=2*o[c],A=2*o[u];e[M]-=_*j,e[M+1]-=C*j,e[A]+=_*k,e[A+1]+=C*k}}))},t.prototype.calGravity=function(e){var t,n=this,r=n.nodes,o=n.edges,i=void 0===o?[]:o,c=n.nodeMap,u=n.width,s=n.height,l=n.center,f=n.gravity,d=n.degreesMap,h=n.centripetalOptions;if(r)for(var p=r.length,v=0;v<p;v++){var g=2*v,m=c[r[v].id],y=m.data.layout.force.mass,b=void 0===y?1:y,x=0,w=0,O=f,E=d[m.id],S=E.in,j=E.out,k=E.all,_=null===(t=n.getCenter)||void 0===t?void 0:t.call(n,m,k);if(_){var C=_[0],M=_[1],A=_[2];x=m.x-C,w=m.y-M,O=A}else x=m.x-l[0],w=m.y-l[1];if(O&&(e[g]-=O*x/b,e[g+1]-=O*w/b),h){var N=h.leaf,T=h.single,I=h.others,P=h.center,L=(null===P||void 0===P?void 0:P(m,r,i,u,s))||{x:0,y:0,centerStrength:0},D=L.x,R=L.y,F=L.centerStrength;if(!(0,a.isNumber)(D)||!(0,a.isNumber)(R))continue;var B=(m.x-D)/b,z=(m.y-R)/b;if(F&&(e[g]-=F*B,e[g+1]-=F*z),0===k){var U=T(m);if(!U)continue;e[g]-=U*B,e[g+1]-=U*z;continue}if(0===S||0===j){var G=N(m,r,i);if(!G)continue;e[g]-=G*B,e[g+1]-=G*z;continue}var V=I(m);if(!V)continue;e[g]-=V*B,e[g+1]-=V*z}}},t.prototype.updateVelocity=function(e,t,n){var r=this,o=r.nodes,i=r.damping,a=r.maxSpeed;(null===o||void 0===o?void 0:o.length)&&o.forEach((function(r,o){var c=(t[2*o]+e[2*o]*n)*i||.01,u=(t[2*o+1]+e[2*o+1]*n)*i||.01,s=Math.sqrt(c*c+u*u);if(s>a){var l=a/s;c*=l,u*=l}t[2*o]=c,t[2*o+1]=u}))},t.prototype.updatePosition=function(e,t){var n=this,r=n.nodes,o=n.distanceThresholdMode,i=n.nodeMap;if(null===r||void 0===r?void 0:r.length){var c=0;\"max\"===o?n.judgingDistance=-1/0:\"min\"===o&&(n.judgingDistance=1/0),r.forEach((function(r,u){var s=i[r.id];if((0,a.isNumber)(r.fx)&&(0,a.isNumber)(r.fy))return r.x=r.fx,r.y=r.fy,s.x=r.x,void(s.y=r.y);var l=e[2*u]*t,f=e[2*u+1]*t;r.x+=l,r.y+=f,s.x=r.x,s.y=r.y;var d=Math.sqrt(l*l+f*f);switch(o){case\"max\":n.judgingDistance<d&&(n.judgingDistance=d);break;case\"min\":n.judgingDistance>d&&(n.judgingDistance=d);break;default:c+=d;break}})),o&&\"mean\"!==o||(n.judgingDistance=c/r.length)}else this.judgingDistance=0},t.prototype.stop=function(){this.timeInterval&&\"undefined\"!==typeof window&&window.clearInterval(this.timeInterval)},t.prototype.destroy=function(){var e=this;e.stop(),e.tick=null,e.nodes=null,e.edges=null,e.destroyed=!0},t.prototype.getType=function(){return\"force2\"},t.prototype.getSameTypeLeafMap=function(){var e=this,t=e.nodeClusterBy,n=e.nodes,r=e.edges,o=e.nodeMap,i=e.degreesMap;if(null===n||void 0===n?void 0:n.length){var c={};return n.forEach((function(e,n){var u=i[e.id].all;1===u&&(c[e.id]=(0,a.getCoreNodeAndRelativeLeafNodes)(\"leaf\",e,r,t,i,o))})),c}},t}(i.Base);t.Force2Layout=s},i4U9:function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},i8i4:function(e,t,n){\"use strict\";function r(){if(\"undefined\"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&\"function\"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(e){console.error(e)}}}r(),e.exports=n(\"yl30\")},iIM6:function(e,t,n){\"use strict\";var r=n(\"g6v/\"),o=n(\"RNIs\"),i=n(\"ewvW\"),a=n(\"UMSQ\"),c=n(\"m/L8\").f;r&&!(\"lastIndex\"in[])&&(c(Array.prototype,\"lastIndex\",{configurable:!0,get:function(){var e=i(this),t=a(e.length);return 0==t?0:t-1}}),o(\"lastIndex\"))},iNWh:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));var r={aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",beige:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"#ffebcd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",burlywood:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:\"#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#fff8dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgreen:\"#006400\",darkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",darkmagenta:\"#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorchid:\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen:\"#8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\",darkslategrey:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400d3\",deeppink:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:\"#696969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"#fffaf0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdcdc\",ghostwhite:\"#f8f8ff\",goldenrod:\"#daa520\",gold:\"#ffd700\",gray:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f\",grey:\"#808080\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indigo:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavenderblush:\"#fff0f5\",lavender:\"#e6e6fa\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",lightgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90ee90\",lightgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",lightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:\"#778899\",lightslategrey:\"#778899\",lightsteelblue:\"#b0c4de\",lightyellow:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0e6\",magenta:\"#ff00ff\",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:\"#ff0000\",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:\"#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen:\"#9acd32\"}},iSVu:function(e,t,n){var r=n(\"xs3f\"),o=Function.toString;\"function\"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},iTfj:function(e,t,n){\"use strict\";n.r(t),n.d(t,\"contains\",(function(){return a})),n.d(t,\"includes\",(function(){return a})),n.d(t,\"difference\",(function(){return l})),n.d(t,\"find\",(function(){return A})),n.d(t,\"findIndex\",(function(){return T})),n.d(t,\"firstValue\",(function(){return P})),n.d(t,\"flatten\",(function(){return D})),n.d(t,\"flattenDeep\",(function(){return F})),n.d(t,\"getRange\",(function(){return G})),n.d(t,\"pull\",(function(){return X})),n.d(t,\"pullAt\",(function(){return Z})),n.d(t,\"reduce\",(function(){return Q})),n.d(t,\"remove\",(function(){return ee})),n.d(t,\"sortBy\",(function(){return re})),n.d(t,\"union\",(function(){return ae})),n.d(t,\"uniq\",(function(){return oe})),n.d(t,\"valuesOfKey\",(function(){return ce})),n.d(t,\"head\",(function(){return ue})),n.d(t,\"last\",(function(){return se})),n.d(t,\"startsWith\",(function(){return fe})),n.d(t,\"endsWith\",(function(){return he})),n.d(t,\"filter\",(function(){return u})),n.d(t,\"every\",(function(){return ve})),n.d(t,\"some\",(function(){return me})),n.d(t,\"group\",(function(){return Oe})),n.d(t,\"groupBy\",(function(){return xe})),n.d(t,\"groupToMap\",(function(){return we})),n.d(t,\"getWrapBehavior\",(function(){return Se})),n.d(t,\"wrapBehavior\",(function(){return ke})),n.d(t,\"number2color\",(function(){return Me})),n.d(t,\"parseRadius\",(function(){return Ne})),n.d(t,\"clamp\",(function(){return Ie})),n.d(t,\"fixedBase\",(function(){return Le})),n.d(t,\"isDecimal\",(function(){return Be})),n.d(t,\"isEven\",(function(){return Ue})),n.d(t,\"isInteger\",(function(){return Ve})),n.d(t,\"isNegative\",(function(){return He})),n.d(t,\"isNumberEqual\",(function(){return Xe})),n.d(t,\"isOdd\",(function(){return Ke})),n.d(t,\"isPositive\",(function(){return $e})),n.d(t,\"max\",(function(){return B})),n.d(t,\"maxBy\",(function(){return Qe})),n.d(t,\"min\",(function(){return z})),n.d(t,\"minBy\",(function(){return Je})),n.d(t,\"mod\",(function(){return tt})),n.d(t,\"toDegree\",(function(){return ot})),n.d(t,\"toInteger\",(function(){return it})),n.d(t,\"toRadian\",(function(){return ut})),n.d(t,\"forIn\",(function(){return st})),n.d(t,\"has\",(function(){return lt})),n.d(t,\"hasKey\",(function(){return ft})),n.d(t,\"hasValue\",(function(){return pt})),n.d(t,\"keys\",(function(){return O})),n.d(t,\"isMatch\",(function(){return S})),n.d(t,\"values\",(function(){return ht})),n.d(t,\"lowerCase\",(function(){return mt})),n.d(t,\"lowerFirst\",(function(){return bt})),n.d(t,\"substitute\",(function(){return wt})),n.d(t,\"upperCase\",(function(){return Et})),n.d(t,\"upperFirst\",(function(){return jt})),n.d(t,\"getType\",(function(){return Ct})),n.d(t,\"isArguments\",(function(){return At})),n.d(t,\"isArray\",(function(){return m})),n.d(t,\"isArrayLike\",(function(){return o})),n.d(t,\"isBoolean\",(function(){return Tt})),n.d(t,\"isDate\",(function(){return Pt})),n.d(t,\"isError\",(function(){return Dt})),n.d(t,\"isFunction\",(function(){return p})),n.d(t,\"isFinite\",(function(){return Rt})),n.d(t,\"isNil\",(function(){return g})),n.d(t,\"isNull\",(function(){return Bt})),n.d(t,\"isNumber\",(function(){return Re})),n.d(t,\"isObject\",(function(){return y})),n.d(t,\"isObjectLike\",(function(){return k})),n.d(t,\"isPlainObject\",(function(){return C})),n.d(t,\"isPrototype\",(function(){return Gt})),n.d(t,\"isRegExp\",(function(){return Wt})),n.d(t,\"isString\",(function(){return te})),n.d(t,\"isType\",(function(){return h})),n.d(t,\"isUndefined\",(function(){return Yt})),n.d(t,\"isElement\",(function(){return qt})),n.d(t,\"requestAnimationFrame\",(function(){return Kt})),n.d(t,\"clearAnimationFrame\",(function(){return Zt})),n.d(t,\"augment\",(function(){return en})),n.d(t,\"clone\",(function(){return nn})),n.d(t,\"debounce\",(function(){return on})),n.d(t,\"memoize\",(function(){return an})),n.d(t,\"deepMix\",(function(){return ln})),n.d(t,\"each\",(function(){return x})),n.d(t,\"extend\",(function(){return dn})),n.d(t,\"indexOf\",(function(){return pn})),n.d(t,\"isEmpty\",(function(){return mn})),n.d(t,\"isEqual\",(function(){return bn})),n.d(t,\"isEqualWith\",(function(){return xn})),n.d(t,\"map\",(function(){return On})),n.d(t,\"mapValues\",(function(){return Sn})),n.d(t,\"mix\",(function(){return Qt})),n.d(t,\"assign\",(function(){return Qt})),n.d(t,\"get\",(function(){return jn})),n.d(t,\"set\",(function(){return kn})),n.d(t,\"pick\",(function(){return Cn})),n.d(t,\"omit\",(function(){return Mn})),n.d(t,\"throttle\",(function(){return An})),n.d(t,\"toArray\",(function(){return Nn})),n.d(t,\"toString\",(function(){return vt})),n.d(t,\"uniqueId\",(function(){return In})),n.d(t,\"noop\",(function(){return Pn})),n.d(t,\"identity\",(function(){return Ln})),n.d(t,\"size\",(function(){return Dn})),n.d(t,\"measureTextWidth\",(function(){return Bn})),n.d(t,\"getEllipsisText\",(function(){return zn})),n.d(t,\"Cache\",(function(){return Gn}));var r=function(e){return null!==e&&\"function\"!==typeof e&&isFinite(e.length)},o=r,i=function(e,t){return!!o(e)&&e.indexOf(t)>-1},a=i,c=function(e,t){if(!o(e))return e;for(var n=[],r=0;r<e.length;r++){var i=e[r];t(i,r)&&n.push(i)}return n},u=c,s=function(e,t){return void 0===t&&(t=[]),u(e,(function(e){return!a(t,e)}))},l=s,f={}.toString,d=function(e,t){return f.call(e)===\"[object \"+t+\"]\"},h=d,p=function(e){return h(e,\"Function\")},v=function(e){return null===e||void 0===e},g=v,m=function(e){return Array.isArray?Array.isArray(e):h(e,\"Array\")},y=function(e){var t=typeof e;return null!==e&&\"object\"===t||\"function\"===t};function b(e,t){var n;if(e)if(m(e)){for(var r=0,o=e.length;r<o;r++)if(n=t(e[r],r),!1===n)break}else if(y(e))for(var i in e)if(e.hasOwnProperty(i)&&(n=t(e[i],i),!1===n))break}var x=b,w=Object.keys?function(e){return Object.keys(e)}:function(e){var t=[];return x(e,(function(n,r){p(e)&&\"prototype\"===r||t.push(r)})),t},O=w;function E(e,t){var n=O(t),r=n.length;if(g(e))return!r;for(var o=0;o<r;o+=1){var i=n[o];if(t[i]!==e[i]||!(i in e))return!1}return!0}var S=E,j=function(e){return\"object\"===typeof e&&null!==e},k=j,_=function(e){if(!k(e)||!h(e,\"Object\"))return!1;if(null===Object.getPrototypeOf(e))return!0;var t=e;while(null!==Object.getPrototypeOf(t))t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t},C=_;function M(e,t){if(!m(e))return null;var n;if(p(t)&&(n=t),C(t)&&(n=function(e){return S(e,t)}),n)for(var r=0;r<e.length;r+=1)if(n(e[r]))return e[r];return null}var A=M;function N(e,t,n){void 0===n&&(n=0);for(var r=n;r<e.length;r++)if(t(e[r],r))return r;return-1}var T=N,I=function(e,t){for(var n=null,r=0;r<e.length;r++){var o=e[r],i=o[t];if(!g(i)){n=m(i)?i[0]:i;break}}return n},P=I,L=function(e){if(!m(e))return[];for(var t=[],n=0;n<e.length;n++)t=t.concat(e[n]);return t},D=L,R=function(e,t){if(void 0===t&&(t=[]),m(e))for(var n=0;n<e.length;n+=1)R(e[n],t);else t.push(e);return t},F=R,B=function(e){if(m(e))return e.reduce((function(e,t){return Math.max(e,t)}),e[0])},z=function(e){if(m(e))return e.reduce((function(e,t){return Math.min(e,t)}),e[0])},U=function(e){var t=e.filter((function(e){return!isNaN(e)}));if(!t.length)return{min:0,max:0};if(m(e[0])){for(var n=[],r=0;r<e.length;r++)n=n.concat(e[r]);t=n}var o=B(t),i=z(t);return{min:i,max:o}},G=U,V=Array.prototype,W=V.splice,H=V.indexOf,Y=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++){var o=t[r],i=-1;while((i=H.call(e,o))>-1)W.call(e,i,1)}return e},X=Y,q=Array.prototype.splice,K=function(e,t){if(!o(e))return[];var n=e?t.length:0,r=n-1;while(n--){var i=void 0,a=t[n];n!==r&&a===i||(i=a,q.call(e,a,1))}return e},Z=K,$=function(e,t,n){if(!m(e)&&!C(e))return e;var r=n;return x(e,(function(e,n){r=t(r,e,n)})),r},Q=$,J=function(e,t){var n=[];if(!o(e))return n;var r=-1,i=[],a=e.length;while(++r<a){var c=e[r];t(c,r,e)&&(n.push(c),i.push(r))}return Z(e,i),n},ee=J,te=function(e){return h(e,\"String\")};function ne(e,t){var n;if(p(t))n=function(e,n){return t(e)-t(n)};else{var r=[];te(t)?r.push(t):m(t)&&(r=t),n=function(e,t){for(var n=0;n<r.length;n+=1){var o=r[n];if(e[o]>t[o])return 1;if(e[o]<t[o])return-1}return 0}}return e.sort(n),e}var re=ne;function oe(e,t){void 0===t&&(t=new Map);var n=[];if(Array.isArray(e))for(var r=0,o=e.length;r<o;r++){var i=e[r];t.has(i)||(n.push(i),t.set(i,!0))}return n}var ie=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return oe([].concat.apply([],e))},ae=ie,ce=function(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=i[t];if(!g(a)){m(a)||(a=[a]);for(var c=0;c<a.length;c++){var u=a[c];r[u]||(n.push(u),r[u]=!0)}}}return n};function ue(e){if(o(e))return e[0]}function se(e){if(o(e)){var t=e;return t[t.length-1]}}function le(e,t){return!(!m(e)&&!te(e))&&e[0]===t}var fe=le;function de(e,t){return!(!m(e)&&!te(e))&&e[e.length-1]===t}var he=de,pe=function(e,t){for(var n=0;n<e.length;n++)if(!t(e[n],n))return!1;return!0},ve=pe,ge=function(e,t){for(var n=0;n<e.length;n++)if(t(e[n],n))return!0;return!1},me=ge,ye=Object.prototype.hasOwnProperty;function be(e,t){if(!t||!m(e))return{};for(var n,r={},o=p(t)?t:function(e){return e[t]},i=0;i<e.length;i++){var a=e[i];n=o(a),ye.call(r,n)?r[n].push(a):r[n]=[a]}return r}var xe=be;function we(e,t){if(!t)return{0:e};if(!p(t)){var n=m(t)?t:t.replace(/\\s+/g,\"\").split(\"*\");t=function(e){for(var t=\"_\",r=0,o=n.length;r<o;r++)t+=e[n[r]]&&e[n[r]].toString();return t}}return xe(e,t)}var Oe=function(e,t){if(!t)return[e];var n=we(e,t),r=[];for(var o in n)r.push(n[o]);return r};function Ee(e,t){return e[\"_wrap_\"+t]}var Se=Ee;function je(e,t){if(e[\"_wrap_\"+t])return e[\"_wrap_\"+t];var n=function(n){e[t](n)};return e[\"_wrap_\"+t]=n,n}var ke=je,_e={};function Ce(e){var t=_e[e];if(!t){for(var n=e.toString(16),r=n.length;r<6;r++)n=\"0\"+n;t=\"#\"+n,_e[e]=t}return t}var Me=Ce;function Ae(e){var t=0,n=0,r=0,o=0;return m(e)?1===e.length?t=n=r=o=e[0]:2===e.length?(t=r=e[0],n=o=e[1]):3===e.length?(t=e[0],n=o=e[1],r=e[2]):(t=e[0],n=e[1],r=e[2],o=e[3]):t=n=r=o=e,{r1:t,r2:n,r3:r,r4:o}}var Ne=Ae,Te=function(e,t,n){return e<t?t:e>n?n:e},Ie=Te,Pe=function(e,t){var n=t.toString(),r=n.indexOf(\".\");if(-1===r)return Math.round(e);var o=n.substr(r+1).length;return o>20&&(o=20),parseFloat(e.toFixed(o))},Le=Pe,De=function(e){return h(e,\"Number\")},Re=De,Fe=function(e){return Re(e)&&e%1!==0},Be=Fe,ze=function(e){return Re(e)&&e%2===0},Ue=ze,Ge=Number.isInteger?Number.isInteger:function(e){return Re(e)&&e%1===0},Ve=Ge,We=function(e){return Re(e)&&e<0},He=We,Ye=1e-5;function Xe(e,t,n){return void 0===n&&(n=Ye),Math.abs(e-t)<n}var qe=function(e){return Re(e)&&e%2!==0},Ke=qe,Ze=function(e){return Re(e)&&e>0},$e=Ze,Qe=function(e,t){if(m(e)){for(var n,r=-1/0,o=0;o<e.length;o++){var i=e[o],a=p(t)?t(i):i[t];a>r&&(n=i,r=a)}return n}},Je=function(e,t){if(m(e)){for(var n,r=1/0,o=0;o<e.length;o++){var i=e[o],a=p(t)?t(i):i[t];a<r&&(n=i,r=a)}return n}},et=function(e,t){return(e%t+t)%t},tt=et,nt=180/Math.PI,rt=function(e){return nt*e},ot=rt,it=parseInt,at=Math.PI/180,ct=function(e){return at*e},ut=ct,st=x,lt=function(e,t){return e.hasOwnProperty(t)},ft=lt,dt=Object.values?function(e){return Object.values(e)}:function(e){var t=[];return x(e,(function(n,r){p(e)&&\"prototype\"===r||t.push(n)})),t},ht=dt,pt=function(e,t){return a(ht(e),t)},vt=function(e){return g(e)?\"\":e.toString()},gt=function(e){return vt(e).toLowerCase()},mt=gt,yt=function(e){var t=vt(e);return t.charAt(0).toLowerCase()+t.substring(1)},bt=yt;function xt(e,t){return e&&t?e.replace(/\\\\?\\{([^{}]+)\\}/g,(function(e,n){return\"\\\\\"===e.charAt(0)?e.slice(1):void 0===t[n]?\"\":t[n]})):e}var wt=xt,Ot=function(e){return vt(e).toUpperCase()},Et=Ot,St=function(e){var t=vt(e);return t.charAt(0).toUpperCase()+t.substring(1)},jt=St,kt={}.toString,_t=function(e){return kt.call(e).replace(/^\\[object /,\"\").replace(/]$/,\"\")},Ct=_t,Mt=function(e){return h(e,\"Arguments\")},At=Mt,Nt=function(e){return h(e,\"Boolean\")},Tt=Nt,It=function(e){return h(e,\"Date\")},Pt=It,Lt=function(e){return h(e,\"Error\")},Dt=Lt,Rt=function(e){return Re(e)&&isFinite(e)},Ft=function(e){return null===e},Bt=Ft,zt=Object.prototype,Ut=function(e){var t=e&&e.constructor,n=\"function\"===typeof t&&t.prototype||zt;return e===n},Gt=Ut,Vt=function(e){return h(e,\"RegExp\")},Wt=Vt,Ht=function(e){return void 0===e},Yt=Ht,Xt=function(e){return e instanceof Element||e instanceof HTMLDocument},qt=Xt;function Kt(e){var t=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return setTimeout(e,16)};return t(e)}function Zt(e){var t=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout;t(e)}function $t(e,t){for(var n in t)t.hasOwnProperty(n)&&\"constructor\"!==n&&void 0!==t[n]&&(e[n]=t[n])}function Qt(e,t,n,r){return t&&$t(e,t),n&&$t(e,n),r&&$t(e,r),e}var Jt=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=1;r<e.length;r++){var o=e[r];p(o)&&(o=o.prototype),Qt(n.prototype,o)}},en=Jt,tn=function(e){if(\"object\"!==typeof e||null===e)return e;var t;if(m(e)){t=[];for(var n=0,r=e.length;n<r;n++)\"object\"===typeof e[n]&&null!=e[n]?t[n]=tn(e[n]):t[n]=e[n]}else for(var o in t={},e)\"object\"===typeof e[o]&&null!=e[o]?t[o]=tn(e[o]):t[o]=e[o];return t},nn=tn;function rn(e,t,n){var r;return function(){var o=this,i=arguments,a=function(){r=null,n||e.apply(o,i)},c=n&&!r;clearTimeout(r),r=setTimeout(a,t),c&&e.apply(o,i)}}var on=rn,an=function(e,t){if(!p(e))throw new TypeError(\"Expected a function\");var n=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var c=e.apply(this,r);return a.set(i,c),c};return n.cache=new Map,n},cn=5;function un(e,t,n,r){for(var o in n=n||0,r=r||cn,t)if(t.hasOwnProperty(o)){var i=t[o];null!==i&&C(i)?(C(e[o])||(e[o]={}),n<r?un(e[o],i,n+1,r):e[o]=t[o]):m(i)?(e[o]=[],e[o]=e[o].concat(i)):void 0!==i&&(e[o]=i)}}var sn=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r+=1)un(e,t[r]);return e},ln=sn,fn=function(e,t,n,r){p(t)||(n=t,t=e,e=function(){});var o=Object.create?function(e,t){return Object.create(e,{constructor:{value:t}})}:function(e,t){function n(){}n.prototype=e;var r=new n;return r.constructor=t,r},i=o(t.prototype,e);return e.prototype=Qt(i,e.prototype),e.superclass=o(t.prototype,t),Qt(i,n),Qt(e,r),e},dn=fn,hn=function(e,t){if(!o(e))return-1;var n=Array.prototype.indexOf;if(n)return n.call(e,t);for(var r=-1,i=0;i<e.length;i++)if(e[i]===t){r=i;break}return r},pn=hn,vn=Object.prototype.hasOwnProperty;function gn(e){if(g(e))return!0;if(o(e))return!e.length;var t=Ct(e);if(\"Map\"===t||\"Set\"===t)return!e.size;if(Gt(e))return!Object.keys(e).length;for(var n in e)if(vn.call(e,n))return!1;return!0}var mn=gn,yn=function(e,t){if(e===t)return!0;if(!e||!t)return!1;if(te(e)||te(t))return!1;if(o(e)||o(t)){if(e.length!==t.length)return!1;for(var n=!0,r=0;r<e.length;r++)if(n=yn(e[r],t[r]),!n)break;return n}if(k(e)||k(t)){var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(n=!0,r=0;r<i.length;r++)if(n=yn(e[i[r]],t[i[r]]),!n)break;return n}return!1},bn=yn,xn=function(e,t,n){return p(n)?!!n(e,t):bn(e,t)},wn=function(e,t){if(!o(e))return e;for(var n=[],r=0;r<e.length;r++){var i=e[r];n.push(t(i,r))}return n},On=wn,En=function(e){return e},Sn=function(e,t){void 0===t&&(t=En);var n={};return y(e)&&!g(e)&&Object.keys(e).forEach((function(r){n[r]=t(e[r],r)})),n},jn=function(e,t,n){var r=0,o=te(t)?t.split(\".\"):t;while(e&&r<o.length)e=e[o[r++]];return void 0===e||r<o.length?n:e},kn=function(e,t,n){var r=e,o=te(t)?t.split(\".\"):t;return o.forEach((function(e,t){t<o.length-1?(y(r[e])||(r[e]=Re(o[t+1])?[]:{}),r=r[e]):r[e]=n})),e},_n=Object.prototype.hasOwnProperty,Cn=function(e,t){if(null===e||!C(e))return{};var n={};return x(t,(function(t){_n.call(e,t)&&(n[t]=e[t])})),n},Mn=function(e,t){return Q(e,(function(e,n,r){return t.includes(r)||(e[r]=n),e}),{})},An=function(e,t,n){var r,o,i,a,c=0;n||(n={});var u=function(){c=!1===n.leading?0:Date.now(),r=null,a=e.apply(o,i),r||(o=i=null)},s=function(){var s=Date.now();c||!1!==n.leading||(c=s);var l=t-(s-c);return o=this,i=arguments,l<=0||l>t?(r&&(clearTimeout(r),r=null),c=s,a=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(u,l)),a};return s.cancel=function(){clearTimeout(r),c=0,r=o=i=null},s},Nn=function(e){return o(e)?Array.prototype.slice.call(e):[]},Tn={},In=function(e){return e=e||\"g\",Tn[e]?Tn[e]+=1:Tn[e]=1,e+Tn[e]},Pn=function(){},Ln=function(e){return e};function Dn(e){return g(e)?0:o(e)?e.length:Object.keys(e).length}var Rn,Fn=n(\"mrSG\"),Bn=an((function(e,t){void 0===t&&(t={});var n=t.fontSize,r=t.fontFamily,o=t.fontWeight,i=t.fontStyle,a=t.fontVariant;return Rn||(Rn=document.createElement(\"canvas\").getContext(\"2d\")),Rn.font=[i,a,o,n+\"px\",r].join(\" \"),Rn.measureText(te(e)?e:\"\").width}),(function(e,t){return void 0===t&&(t={}),Object(Fn[\"__spreadArrays\"])([e],ht(t)).join(\"\")})),zn=function(e,t,n,r){void 0===r&&(r=\"...\");var o,i,a=16,c=Bn(r,n),u=te(e)?e:vt(e),s=t,l=[];if(Bn(e,n)<=t)return e;while(1){if(o=u.substr(0,a),i=Bn(o,n),i+c>s&&i>s)break;if(l.push(o),s-=i,u=u.substr(a),!u)return l.join(\"\")}while(1){if(o=u.substr(0,1),i=Bn(o,n),i+c>s)break;if(l.push(o),s-=i,u=u.substr(1),!u)return l.join(\"\")}return\"\"+l.join(\"\")+r},Un=function(){function e(){this.map={}}return e.prototype.has=function(e){return void 0!==this.map[e]},e.prototype.get=function(e,t){var n=this.map[e];return void 0===n?t:n},e.prototype.set=function(e,t){this.map[e]=t},e.prototype.clear=function(){this.map={}},e.prototype.delete=function(e){delete this.map[e]},e.prototype.size=function(){return Object.keys(this.map).length},e}(),Gn=Un},ihrJ:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"ImZN\"),i=n(\"HAuM\");r({target:\"Map\",stat:!0},{groupBy:function(e,t){var n=new this;i(t);var r=i(n.has),a=i(n.get),c=i(n.set);return o(e,(function(e){var o=t(e);r.call(n,o)?a.call(n,o).push(e):c.call(n,o,[e])})),n}})},ilnZ:function(e,t,n){var r=n(\"dOgj\");r(\"Uint8\",(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},inlA:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"Bs8V\").f,i=n(\"UMSQ\"),a=n(\"WjRb\"),c=n(\"HYAF\"),u=n(\"qxPZ\"),s=n(\"xDBR\"),l=\"\".endsWith,f=Math.min,d=u(\"endsWith\"),h=!s&&!d&&!!function(){var e=o(String.prototype,\"endsWith\");return e&&!e.writable}();r({target:\"String\",proto:!0,forced:!h&&!d},{endsWith:function(e){var t=String(c(this));a(e);var n=arguments.length>1?arguments[1]:void 0,r=i(t.length),o=void 0===n?r:f(i(n),r),u=String(e);return l?l.call(t,u,o):t.slice(o-u.length,o)===u}})},iqWW:function(e,t,n){\"use strict\";var r=n(\"ZUd8\").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},iqeF:function(e,t,n){var r=n(\"2oRo\"),o=n(\"0Dky\"),i=n(\"HH4o\"),a=n(\"67WC\").NATIVE_ARRAY_BUFFER_VIEWS,c=r.ArrayBuffer,u=r.Int8Array;e.exports=!a||!o((function(){u(1)}))||!o((function(){new u(-1)}))||!i((function(e){new u,new u(null),new u(1.5),new u(e)}),!0)||o((function(){return 1!==new u(new c(2),1,void 0).length}))},iwkZ:function(e,t,n){var r=n(\"dOgj\");r(\"Int16\",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},\"j+VE\":function(e,t,n){n(\"bFeb\")},jN4g:function(e,t,n){\"use strict\";var r=n(\"VTBJ\"),o=n(\"q1tI\"),i={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z\"}}]},name:\"close-circle\",theme:\"filled\"},a=i,c=n(\"6VBw\"),u=function(e,t){return o[\"createElement\"](c[\"a\"],Object(r[\"a\"])(Object(r[\"a\"])({},e),{},{ref:t,icon:a}))};u.displayName=\"CloseCircleFilled\";t[\"a\"]=o[\"forwardRef\"](u)},jO9C:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"OLod\"))})(0,(function(e){return e.pad.Iso97971={pad:function(t,n){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,n)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971}))},jXQH:function(e,t,n){var r=n(\"TO8r\"),o=/^\\s+/;function i(e){return e?e.slice(0,r(e)+1).replace(o,\"\"):e}e.exports=i},\"k+1r\":function(e,t,n){var r=n(\"QkVE\");function o(e){var t=r(this,e)[\"delete\"](e);return this.size-=t?1:0,t}e.exports=o},\"k/Y0\":function(e,t,n){},k1fw:function(e,t,n){\"use strict\";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}n.d(t,\"a\",(function(){return i}))},kCNo:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.MESSAGE=t.ALGORITHM=void 0;var r={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\"};t.ALGORITHM=r;var o={SUCCESS:\"SUCCESS\",FAILURE:\"FAILURE\"};t.MESSAGE=o},kCkZ:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"8GlL\"),i=n(\"5mdu\");r({target:\"Promise\",stat:!0},{try:function(e){var t=o.f(this),n=i(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}})},kOOl:function(e,t){var n=0,r=Math.random();e.exports=function(e){return\"Symbol(\"+String(void 0===e?\"\":e)+\")_\"+(++n+r).toString(36)}},kQ6e:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.isArray=void 0,t.isArray=Array.isArray},kRJp:function(e,t,n){var r=n(\"g6v/\"),o=n(\"m/L8\"),i=n(\"XGwC\");e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},\"kVK+\":function(e,t){t.read=function(e,t,n,r,o){var i,a,c=8*o-r-1,u=(1<<c)-1,s=u>>1,l=-7,f=n?o-1:0,d=n?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-l)-1,h>>=-l,l+=c;l>0;i=256*i+e[t+f],f+=d,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===i)i=1-s;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=s}return(h?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,c,u,s=8*i-o-1,l=(1<<s)-1,f=l>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,p=r?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(c=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),t+=a+f>=1?d/u:d*Math.pow(2,1-f),t*u>=2&&(a++,u/=2),a+f>=l?(c=0,a=l):a+f>=1?(c=(t*u-1)*Math.pow(2,o),a+=f):(c=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+h]=255&c,h+=p,c/=256,o-=8);for(a=a<<o|c,s+=o;s>0;e[n+h]=255&a,h+=p,a/=256,s-=8);e[n+h-p]|=128*v}},kVRr:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.VACANT_NODE_LABEL=t.VACANT_NODE_ID=t.VACANT_GRAPH_ID=t.VACANT_EDGE_LABEL=t.VACANT_EDGE_ID=t.Node=t.Graph=t.Edge=t.AUTO_EDGE_ID=void 0;var r=-1;t.VACANT_EDGE_ID=r;var o=-1;t.VACANT_NODE_ID=o;var i=\"-1\";t.VACANT_EDGE_LABEL=i;var a=\"-1\";t.VACANT_NODE_LABEL=a;var c=-1;t.VACANT_GRAPH_ID=c;var u=\"-1\";t.AUTO_EDGE_ID=u;var s=function(){function e(e,t,n,a){void 0===e&&(e=r),void 0===t&&(t=o),void 0===n&&(n=o),void 0===a&&(a=i),this.id=e,this.from=t,this.to=n,this.label=a}return e}();t.Edge=s;var l=function(){function e(e,t){void 0===e&&(e=o),void 0===t&&(t=a),this.id=e,this.label=t,this.edges=[],this.edgeMap={}}return e.prototype.addEdge=function(e){this.edges.push(e),this.edgeMap[e.id]=e},e}();t.Node=l;var f=function(){function e(e,t,n){void 0===e&&(e=o),void 0===t&&(t=!0),void 0===n&&(n=!1),this.id=e,this.edgeIdAutoIncrease=t,this.edges=[],this.nodes=[],this.nodeMap={},this.edgeMap={},this.nodeLabelMap={},this.edgeLabelMap={},this.counter=0,this.directed=n}return e.prototype.getNodeNum=function(){return this.nodes.length},e.prototype.addNode=function(e,t){if(!this.nodeMap[e]){var n=new l(e,t);this.nodes.push(n),this.nodeMap[e]=n,this.nodeLabelMap[t]||(this.nodeLabelMap[t]=[]),this.nodeLabelMap[t].push(e)}},e.prototype.addEdge=function(e,t,n,r){if((this.edgeIdAutoIncrease||void 0===e)&&(e=this.counter++),!(this.nodeMap[t]&&this.nodeMap[n]&&this.nodeMap[n].edgeMap[e])){var o=new s(e,t,n,r);if(this.edges.push(o),this.edgeMap[e]=o,this.nodeMap[t].addEdge(o),this.edgeLabelMap[r]||(this.edgeLabelMap[r]=[]),this.edgeLabelMap[r].push(o),!this.directed){var i=new s(e,n,t,r);this.nodeMap[n].addEdge(i),this.edgeLabelMap[r].push(i)}}},e}();t.Graph=f},kekF:function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},kmMV:function(e,t,n){\"use strict\";var r=n(\"rW0t\"),o=n(\"n3/R\"),i=RegExp.prototype.exec,a=String.prototype.replace,c=i,u=function(){var e=/a/,t=/b*/g;return i.call(e,\"a\"),i.call(t,\"a\"),0!==e.lastIndex||0!==t.lastIndex}(),s=o.UNSUPPORTED_Y||o.BROKEN_CARET,l=void 0!==/()??/.exec(\"\")[1],f=u||l||s;f&&(c=function(e){var t,n,o,c,f=this,d=s&&f.sticky,h=r.call(f),p=f.source,v=0,g=e;return d&&(h=h.replace(\"y\",\"\"),-1===h.indexOf(\"g\")&&(h+=\"g\"),g=String(e).slice(f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&\"\\n\"!==e[f.lastIndex-1])&&(p=\"(?: \"+p+\")\",g=\" \"+g,v++),n=new RegExp(\"^(?:\"+p+\")\",h)),l&&(n=new RegExp(\"^\"+p+\"$(?!\\\\s)\",h)),u&&(t=f.lastIndex),o=i.call(d?n:f,g),d?o?(o.input=o.input.slice(v),o[0]=o[0].slice(v),o.index=f.lastIndex,f.lastIndex+=o[0].length):f.lastIndex=0:u&&o&&(f.lastIndex=f.global?o.index+o[0].length:t),l&&o&&o.length>1&&a.call(o[0],n,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(o[c]=void 0)})),o}),e.exports=c},knzT:function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0}),t.ERLayout=void 0;var i=n(\"W8mN\"),a=o(n(\"YJiH\")),c=function(e){function t(t){var n=e.call(this)||this;return n.width=300,n.height=300,n.nodeMinGap=50,n.onLayoutEnd=function(){},t&&n.updateCfg(t),n}return r(t,e),t.prototype.getDefaultCfg=function(){return{width:300,height:300,nodeMinGap:50}},t.prototype.execute=function(){var e=this,t=e.nodes,n=e.edges;return null===t||void 0===t||t.forEach((function(e){e.size||(e.size=[50,50])})),(0,a.default)({nodes:t,edges:n},{width:this.width,height:this.height,nodeMinGap:this.nodeMinGap}).then((function(){e.onLayoutEnd&&e.onLayoutEnd()}))},t.prototype.getType=function(){return\"er\"},t}(i.Base);t.ERLayout=c},\"l/vG\":function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"0GbY\"),a=n(\"glrk\"),c=n(\"HAuM\"),u=n(\"A2ZE\"),s=n(\"SEBh\"),l=n(\"Sssf\"),f=n(\"ImZN\");r({target:\"Map\",proto:!0,real:!0,forced:o},{filter:function(e){var t=a(this),n=l(t),r=u(e,arguments.length>1?arguments[1]:void 0,3),o=new(s(t,i(\"Map\"))),d=c(o.set);return f(n,(function(e,n){r(n,e,t)&&d.call(o,e,n)}),void 0,!0,!0),o}})},l4aY:function(e,t,n){\"use strict\";function r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);var n=t;while(n){if(n===e)return!0;n=n.parentNode}return!1}n.d(t,\"a\",(function(){return r}))},lEou:function(e,t,n){var r=n(\"dG/n\");r(\"toStringTag\")},lMq5:function(e,t,n){var r=n(\"0Dky\"),o=/#|\\.prototype\\./,i=function(e,t){var n=c[a(e)];return n==s||n!=u&&(\"function\"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,\".\").toLowerCase()},c=i.data={},u=i.NATIVE=\"N\",s=i.POLYFILL=\"P\";e.exports=i},lPiR:function(e,t,n){(function(t,r){e.exports=r(n(\"Ib8C\"))})(0,(function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,a=n.algo,c=[],u=[];(function(){function e(e){for(var n=t.sqrt(e),r=2;r<=n;r++)if(!(e%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}var r=2,o=0;while(o<64)e(r)&&(o<8&&(c[o]=n(t.pow(r,.5))),u[o]=n(t.pow(r,1/3)),o++),r++})();var s=[],l=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(c.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],c=n[4],l=n[5],f=n[6],d=n[7],h=0;h<64;h++){if(h<16)s[h]=0|e[t+h];else{var p=s[h-15],v=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,g=s[h-2],m=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;s[h]=v+s[h-7]+m+s[h-16]}var y=c&l^~c&f,b=r&o^r&i^o&i,x=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),w=(c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25),O=d+w+y+u[h]+s[h],E=x+b;d=f,f=l,l=c,c=a+O|0,a=i,i=o,o=r,r=O+E|0}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+a|0,n[4]=n[4]+c|0,n[5]=n[5]+l|0,n[6]=n[6]+f|0,n[7]=n[7]+d|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=t.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=i._createHelper(l),n.HmacSHA256=i._createHmacHelper(l)}(Math),e.SHA256}))},lSCD:function(e,t,n){var r=n(\"NykK\"),o=n(\"GoyQ\"),i=\"[object AsyncFunction]\",a=\"[object Function]\",c=\"[object GeneratorFunction]\",u=\"[object Proxy]\";function s(e){if(!o(e))return!1;var t=r(e);return t==a||t==c||t==i||t==u}e.exports=s},lSNA:function(e,t){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=n,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},lehK:function(e,t,n){var r=n(\"I+eb\");r({target:\"Math\",stat:!0},{iaddh:function(e,t,n,r){var o=e>>>0,i=t>>>0,a=n>>>0;return i+(r>>>0)+((o&a|(o|a)&~(o+a>>>0))>>>31)|0}})},liZ3:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=function(e,t){var n,r,i,a={};null===e||void 0===e||e.forEach((function(e,t){a[e.v]={i:t,indegree:0,in:[],out:[],vs:[e.v]};var n=a[e.v];void 0!==e.barycenter&&(n.barycenter=e.barycenter,n.weight=e.weight)})),null===(n=t.edges())||void 0===n||n.forEach((function(e){var t=a[e.v],n=a[e.w];void 0!==t&&void 0!==n&&(n.indegree++,t.out.push(a[e.w]))}));var c=null===(i=(r=Object.values(a)).filter)||void 0===i?void 0:i.call(r,(function(e){return!e.indegree}));return o(c)},o=function(e){var t,n,r=[],o=function(e){return function(t){t.merged||(void 0===t.barycenter||void 0===e.barycenter||t.barycenter>=e.barycenter)&&i(e,t)}},a=function(t){return function(n){n[\"in\"].push(t),0===--n.indegree&&e.push(n)}},c=function(){var i=e.pop();r.push(i),null===(t=i[\"in\"].reverse())||void 0===t||t.forEach((function(e){return o(i)(e)})),null===(n=i.out)||void 0===n||n.forEach((function(e){return a(i)(e)}))};while(null===e||void 0===e?void 0:e.length)c();var u=r.filter((function(e){return!e.merged})),s=[\"vs\",\"i\",\"barycenter\",\"weight\"];return u.map((function(e){var t={};return null===s||void 0===s||s.forEach((function(n){void 0!==e[n]&&(t[n]=e[n])})),t}))},i=function(e,t){var n,r=0,o=0;e.weight&&(r+=e.barycenter*e.weight,o+=e.weight),t.weight&&(r+=t.barycenter*t.weight,o+=t.weight),e.vs=null===(n=t.vs)||void 0===n?void 0:n.concat(e.vs),e.barycenter=r/o,e.weight=o,e.i=Math.min(t.i,e.i),t.merged=!0};t.default=r},ljhN:function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},lmH4:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"0GbY\"),a=n(\"glrk\"),c=n(\"HAuM\"),u=n(\"mh/w\"),s=n(\"ImZN\");r({target:\"Set\",proto:!0,real:!0,forced:o},{isSubsetOf:function(e){var t=u(this),n=a(e),r=n.has;return\"function\"!=typeof r&&(n=new(i(\"Set\"))(e),r=c(n.has)),!s(t,(function(e){if(!1===r.call(n,e))return s.stop()}),void 0,!1,!0).stopped}})},lnY3:function(e,t,n){},lwsE:function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}e.exports=n,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},\"m+aA\":function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(\"i8i4\"),o=n.n(r);function i(e){return e instanceof HTMLElement?e:o.a.findDOMNode(e)}},\"m/L8\":function(e,t,n){var r=n(\"g6v/\"),o=n(\"DPsx\"),i=n(\"glrk\"),a=n(\"wE6v\"),c=Object.defineProperty;t.f=r?c:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return c(e,t,n)}catch(r){}if(\"get\"in n||\"set\"in n)throw TypeError(\"Accessors not supported\");return\"value\"in n&&(e[t]=n.value),e}},m5Yo:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=n(\"mrSG\"),o=n(\"iTfj\"),i=n(\"3P6T\"),a=function(e,t,n){for(var r,o=1/0,i=0;i<t.length;i++){var a=t[i].id;!n[a]&&e[a]<=o&&(o=e[a],r=t[i])}return r},c=function(e,t,n,r){var o=e.nodes,c=void 0===o?[]:o,u=e.edges,l=void 0===u?[]:u,f=[],d={},h={},p={};c.forEach((function(e,n){var r=e.id;f.push(r),h[r]=1/0,r===t&&(h[r]=0)}));for(var v=c.length,g=function(e){var t=a(h,c,d),o=t.id;if(d[o]=!0,h[o]===1/0)return\"continue\";var u=[];u=n?(0,i.getOutEdgesNodeId)(o,l):(0,i.getEdgesByNodeId)(o,l),u.forEach((function(e){var n=e.target,i=e.source,a=n===o?i:n,c=r&&e[r]?e[r]:1;h[a]>h[t.id]+c?(h[a]=h[t.id]+c,p[a]=[t.id]):h[a]===h[t.id]+c&&p[a].push(t.id)}))},m=0;m<v;m++)g(m);p[t]=[t];var y={};for(var b in h)h[b]!==1/0&&s(t,b,p,y);var x={};for(var b in y)x[b]=y[b][0];return{length:h,path:x,allPath:y}},u=c;function s(e,t,n,i){if(e===t)return[e];if(i[t])return i[t];for(var a=[],c=0,u=n[t];c<u.length;c++){var l=u[c],f=s(e,l,n,i);if(!f)return;for(var d=0,h=f;d<h.length;d++){var p=h[d];(0,o.isArray)(p)?a.push((0,r.__spreadArray)((0,r.__spreadArray)([],p,!0),[t],!1)):a.push([p,t])}}return i[t]=a,i[t]}t.default=u},m92n:function(e,t,n){var r=n(\"glrk\");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(a){var i=e[\"return\"];throw void 0!==i&&r(i.call(e)),a}}},mGGf:function(e,t,n){\"use strict\";n(\"4mDm\");var r=n(\"I+eb\"),o=n(\"0GbY\"),i=n(\"DTth\"),a=n(\"busE\"),c=n(\"4syw\"),u=n(\"1E5z\"),s=n(\"ntOU\"),l=n(\"afO8\"),f=n(\"GarU\"),d=n(\"UTVS\"),h=n(\"A2ZE\"),p=n(\"9d/t\"),v=n(\"glrk\"),g=n(\"hh1v\"),m=n(\"fHMY\"),y=n(\"XGwC\"),b=n(\"mh/w\"),x=n(\"NaFW\"),w=n(\"tiKp\"),O=o(\"fetch\"),E=o(\"Headers\"),S=w(\"iterator\"),j=\"URLSearchParams\",k=j+\"Iterator\",_=l.set,C=l.getterFor(j),M=l.getterFor(k),A=/\\+/g,N=Array(4),T=function(e){return N[e-1]||(N[e-1]=RegExp(\"((?:%[\\\\da-f]{2}){\"+e+\"})\",\"gi\"))},I=function(e){try{return decodeURIComponent(e)}catch(t){return e}},P=function(e){var t=e.replace(A,\" \"),n=4;try{return decodeURIComponent(t)}catch(r){while(n)t=t.replace(T(n--),I);return t}},L=/[!'()~]|%20/g,D={\"!\":\"%21\",\"'\":\"%27\",\"(\":\"%28\",\")\":\"%29\",\"~\":\"%7E\",\"%20\":\"+\"},R=function(e){return D[e]},F=function(e){return encodeURIComponent(e).replace(L,R)},B=function(e,t){if(t){var n,r,o=t.split(\"&\"),i=0;while(i<o.length)n=o[i++],n.length&&(r=n.split(\"=\"),e.push({key:P(r.shift()),value:P(r.join(\"=\"))}))}},z=function(e){this.entries.length=0,B(this.entries,e)},U=function(e,t){if(e<t)throw TypeError(\"Not enough arguments\")},G=s((function(e,t){_(this,{type:k,iterator:b(C(e).entries),kind:t})}),\"Iterator\",(function(){var e=M(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value=\"keys\"===t?r.key:\"values\"===t?r.value:[r.key,r.value]),n})),V=function(){f(this,V,j);var e,t,n,r,o,i,a,c,u,s=arguments.length>0?arguments[0]:void 0,l=this,h=[];if(_(l,{type:j,entries:h,updateURL:function(){},updateSearchParams:z}),void 0!==s)if(g(s))if(e=x(s),\"function\"===typeof e){t=e.call(s),n=t.next;while(!(r=n.call(t)).done){if(o=b(v(r.value)),i=o.next,(a=i.call(o)).done||(c=i.call(o)).done||!i.call(o).done)throw TypeError(\"Expected sequence with length 2\");h.push({key:a.value+\"\",value:c.value+\"\"})}}else for(u in s)d(s,u)&&h.push({key:u,value:s[u]+\"\"});else B(h,\"string\"===typeof s?\"?\"===s.charAt(0)?s.slice(1):s:s+\"\")},W=V.prototype;c(W,{append:function(e,t){U(arguments.length,2);var n=C(this);n.entries.push({key:e+\"\",value:t+\"\"}),n.updateURL()},delete:function(e){U(arguments.length,1);var t=C(this),n=t.entries,r=e+\"\",o=0;while(o<n.length)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){U(arguments.length,1);for(var t=C(this).entries,n=e+\"\",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){U(arguments.length,1);for(var t=C(this).entries,n=e+\"\",r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){U(arguments.length,1);var t=C(this).entries,n=e+\"\",r=0;while(r<t.length)if(t[r++].key===n)return!0;return!1},set:function(e,t){U(arguments.length,1);for(var n,r=C(this),o=r.entries,i=!1,a=e+\"\",c=t+\"\",u=0;u<o.length;u++)n=o[u],n.key===a&&(i?o.splice(u--,1):(i=!0,n.value=c));i||o.push({key:a,value:c}),r.updateURL()},sort:function(){var e,t,n,r=C(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){var t,n=C(this).entries,r=h(e,arguments.length>1?arguments[1]:void 0,3),o=0;while(o<n.length)t=n[o++],r(t.value,t.key,this)},keys:function(){return new G(this,\"keys\")},values:function(){return new G(this,\"values\")},entries:function(){return new G(this,\"entries\")}},{enumerable:!0}),a(W,S,W.entries),a(W,\"toString\",(function(){var e,t=C(this).entries,n=[],r=0;while(r<t.length)e=t[r++],n.push(F(e.key)+\"=\"+F(e.value));return n.join(\"&\")}),{enumerable:!0}),u(V,j),r({global:!0,forced:!i},{URLSearchParams:V}),i||\"function\"!=typeof O||\"function\"!=typeof E||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,o=[e];return arguments.length>1&&(t=arguments[1],g(t)&&(n=t.body,p(n)===j&&(r=t.headers?new E(t.headers):new E,r.has(\"content-type\")||r.set(\"content-type\",\"application/x-www-form-urlencoded;charset=UTF-8\"),t=m(t,{body:y(0,String(n)),headers:y(0,r)}))),o.push(t)),O.apply(this,o)}}),e.exports={URLSearchParams:V,getState:C}},mGKP:function(e,t,n){var r=n(\"EdiO\");function o(e,t){if(e){if(\"string\"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===n&&e.constructor&&(n=e.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(e):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}e.exports=o,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},mOLT:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.findShortestPath=t.findAllPath=void 0;var r=i(n(\"m5Yo\")),o=n(\"3P6T\");function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t,n,o,i){var a=(0,r.default)(e,t,o,i),c=a.length,u=a.path,s=a.allPath;return{length:c[n],path:u[n],allPath:s[n]}};t.findShortestPath=a;var c=function(e,t,n,r){var i;if(t===n)return[[t]];var a=e.edges,c=void 0===a?[]:a,u=[t],s=(i={},i[t]=!0,i),l=[],f=[],d=r?(0,o.getNeighbors)(t,c,\"target\"):(0,o.getNeighbors)(t,c);l.push(d);while(u.length>0&&l.length>0){var h=l[l.length-1];if(h.length){var p=h.shift();if(p&&(u.push(p),s[p]=!0,d=r?(0,o.getNeighbors)(p,c,\"target\"):(0,o.getNeighbors)(p,c),l.push(d.filter((function(e){return!s[e]})))),u[u.length-1]===n){var v=u.map((function(e){return e}));f.push(v);g=u.pop();s[g]=!1,l.pop()}}else{var g=u.pop();s[g]=!1,l.pop()}}return f};t.findAllPath=c},mW11:function(e,t,n){\"use strict\";var r=n(\"MgzW\"),o=n(\"q1tI\");t.useSubscription=function(e){var t=e.getCurrentValue,n=e.subscribe,i=o.useState((function(){return{getCurrentValue:t,subscribe:n,value:t()}}));e=i[0];var a=i[1];return i=e.value,e.getCurrentValue===t&&e.subscribe===n||(i=t(),a({getCurrentValue:t,subscribe:n,value:i})),o.useDebugValue(i),o.useEffect((function(){function e(){if(!o){var e=t();a((function(o){return o.getCurrentValue!==t||o.subscribe!==n||o.value===e?o:r({},o,{value:e})}))}}var o=!1,i=n(e);return e(),function(){o=!0,i()}}),[t,n]),i}},ma9I:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"0Dky\"),i=n(\"6LWA\"),a=n(\"hh1v\"),c=n(\"ewvW\"),u=n(\"UMSQ\"),s=n(\"hBjN\"),l=n(\"ZfDv\"),f=n(\"Hd5f\"),d=n(\"tiKp\"),h=n(\"LQDL\"),p=d(\"isConcatSpreadable\"),v=9007199254740991,g=\"Maximum allowed index exceeded\",m=h>=51||!o((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),y=f(\"concat\"),b=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:i(e)},x=!m||!y;r({target:\"Array\",proto:!0,forced:x},{concat:function(e){var t,n,r,o,i,a=c(this),f=l(a,0),d=0;for(t=-1,r=arguments.length;t<r;t++)if(i=-1===t?a:arguments[t],b(i)){if(o=u(i.length),d+o>v)throw TypeError(g);for(n=0;n<o;n++,d++)n in i&&s(f,d,i[n])}else{if(d>=v)throw TypeError(g);s(f,d++,i)}return f.length=d,f}})},mdPL:function(e,t,n){(function(e){var r=n(\"WFqU\"),o=t&&!t.nodeType&&t,i=o&&\"object\"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o,c=a&&r.process,u=function(){try{var e=i&&i.require&&i.require(\"util\").types;return e||c&&c.binding&&c.binding(\"util\")}catch(t){}}();e.exports=u}).call(this,n(\"hOG+\")(e))},mgyK:function(e,t,n){var r=n(\"NC/Y\");e.exports=/Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(r)},\"mh/w\":function(e,t,n){var r=n(\"glrk\"),o=n(\"NaFW\");e.exports=function(e){var t=o(e);if(\"function\"!=typeof t)throw TypeError(String(e)+\" is not iterable\");return r(t.call(e))}},miQf:function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,\"__esModule\",{value:!0}),t.GridLayout=void 0;var o=n(\"8nGZ\"),i=n(\"W8mN\"),a=function(e){function t(t){var n=e.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(t),n}return r(t,e),t.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}},t.prototype.execute=function(){var e=this,t=e.nodes,n=e.edges,r=e.begin,i=t.length;if(0===i)return e.onLayoutEnd&&e.onLayoutEnd(),{nodes:t,edges:n};if(1===i)return t[0].x=r[0],t[0].y=r[1],e.onLayoutEnd&&e.onLayoutEnd(),{nodes:t,edges:n};var a=e.sortBy,c=e.width,u=e.height,s=e.condense,l=e.preventOverlapPadding,f=e.preventOverlap,d=e.nodeSpacing,h=e.nodeSize,p=[];t.forEach((function(e){p.push(e)}));var v={};if(p.forEach((function(e,t){v[e.id]=t})),(\"degree\"===a||!(0,o.isString)(a)||void 0===p[0][a])&&(a=\"degree\",(0,o.isNaN)(t[0].degree))){var g=(0,o.getDegree)(p.length,v,n);p.forEach((function(e,t){e.degree=g[t].all}))}p.sort((function(e,t){return t[a]-e[a]})),c||\"undefined\"===typeof window||(c=window.innerWidth),u||\"undefined\"===typeof window||(u=window.innerHeight);var m=e.rows,y=null!=e.cols?e.cols:e.columns;if(e.cells=i,null!=m&&null!=y?(e.rows=m,e.cols=y):null!=m&&null==y?(e.rows=m,e.cols=Math.ceil(e.cells/e.rows)):null==m&&null!=y?(e.cols=y,e.rows=Math.ceil(e.cells/e.cols)):(e.splits=Math.sqrt(e.cells*e.height/e.width),e.rows=Math.round(e.splits),e.cols=Math.round(e.width/e.height*e.splits)),e.rows=Math.max(e.rows,1),e.cols=Math.max(e.cols,1),e.cols*e.rows>e.cells){var b=e.small(),x=e.large();(b-1)*x>=e.cells?e.small(b-1):(x-1)*b>=e.cells&&e.large(x-1)}else while(e.cols*e.rows<e.cells){b=e.small(),x=e.large();(x+1)*b>=e.cells?e.large(x+1):e.small(b+1)}if(e.cellWidth=c/e.cols,e.cellHeight=u/e.rows,s&&(e.cellWidth=0,e.cellHeight=0),f||d){var w=(0,o.getFuncByUnknownType)(10,d),O=(0,o.getFuncByUnknownType)(30,h,!1);p.forEach((function(t){t.x&&t.y||(t.x=0,t.y=0);var n,r,i=O(t)||30;(0,o.isArray)(i)?(n=i[0],r=i[1]):(n=i,r=i);var a=void 0!==w?w(t):l,c=n+a,u=r+a;e.cellWidth=Math.max(e.cellWidth,c),e.cellHeight=Math.max(e.cellHeight,u)}))}e.cellUsed={},e.row=0,e.col=0,e.id2manPos={};for(var E=0;E<p.length;E++){var S=p[E],j=void 0;if(e.position&&(j=e.position(S)),j&&(void 0!==j.row||void 0!==j.col)){var k={row:j.row,col:j.col};if(void 0===k.col){k.col=0;while(e.used(k.row,k.col))k.col++}else if(void 0===k.row){k.row=0;while(e.used(k.row,k.col))k.row++}e.id2manPos[S.id]=k,e.use(k.row,k.col)}e.getPos(S)}return e.onLayoutEnd&&e.onLayoutEnd(),{edges:n,nodes:p}},t.prototype.small=function(e){var t,n=this,r=n.rows||5,o=n.cols||5;if(null==e)t=Math.min(r,o);else{var i=Math.min(r,o);i===n.rows?n.rows=e:n.cols=e}return t},t.prototype.large=function(e){var t,n=this,r=n.rows||5,o=n.cols||5;if(null==e)t=Math.max(r,o);else{var i=Math.max(r,o);i===n.rows?n.rows=e:n.cols=e}return t},t.prototype.used=function(e,t){var n=this;return n.cellUsed[\"c-\".concat(e,\"-\").concat(t)]||!1},t.prototype.use=function(e,t){var n=this;n.cellUsed[\"c-\".concat(e,\"-\").concat(t)]=!0},t.prototype.moveToNextCell=function(){var e=this,t=e.cols||5;e.col++,e.col>=t&&(e.col=0,e.row++)},t.prototype.getPos=function(e){var t,n,r=this,o=r.begin,i=r.cellWidth,a=r.cellHeight,c=r.id2manPos[e.id];if(c)t=c.col*i+i/2+o[0],n=c.row*a+a/2+o[1];else{while(r.used(r.row,r.col))r.moveToNextCell();t=r.col*i+i/2+o[0],n=r.row*a+a/2+o[1],r.use(r.row,r.col),r.moveToNextCell()}e.x=t,e.y=n},t.prototype.getType=function(){return\"grid\"},t}(i.Base);t.GridLayout=a},miYZ:function(e,t,n){\"use strict\";n.r(t);n(\"EFp3\"),n(\"bXwC\")},mrSG:function(e,t,n){\"use strict\";n.r(t),n.d(t,\"__extends\",(function(){return o})),n.d(t,\"__assign\",(function(){return i})),n.d(t,\"__rest\",(function(){return a})),n.d(t,\"__decorate\",(function(){return c})),n.d(t,\"__param\",(function(){return u})),n.d(t,\"__metadata\",(function(){return s})),n.d(t,\"__awaiter\",(function(){return l})),n.d(t,\"__generator\",(function(){return f})),n.d(t,\"__createBinding\",(function(){return d})),n.d(t,\"__exportStar\",(function(){return h})),n.d(t,\"__values\",(function(){return p})),n.d(t,\"__read\",(function(){return v})),n.d(t,\"__spread\",(function(){return g})),n.d(t,\"__spreadArrays\",(function(){return m})),n.d(t,\"__spreadArray\",(function(){return y})),n.d(t,\"__await\",(function(){return b})),n.d(t,\"__asyncGenerator\",(function(){return x})),n.d(t,\"__asyncDelegator\",(function(){return w})),n.d(t,\"__asyncValues\",(function(){return O})),n.d(t,\"__makeTemplateObject\",(function(){return E})),n.d(t,\"__importStar\",(function(){return j})),n.d(t,\"__importDefault\",(function(){return k})),n.d(t,\"__classPrivateFieldGet\",(function(){return _})),n.d(t,\"__classPrivateFieldSet\",(function(){return C})),n.d(t,\"__classPrivateFieldIn\",(function(){return M}));var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if(\"function\"!==typeof t&&null!==t)throw new TypeError(\"Class extends value \"+String(t)+\" is not a constructor or null\");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function c(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if(\"object\"===typeof Reflect&&\"function\"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function s(e,t){if(\"object\"===typeof Reflect&&\"function\"===typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function c(e){try{u(r[\"throw\"](e))}catch(t){i(t)}}function u(e){e.done?n(e.value):o(e.value).then(a,c)}u((r=r.apply(e,t||[])).next())}))}function f(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},\"function\"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(e){return function(t){return u([e,t])}}function u(c){if(n)throw new TypeError(\"Generator is already executing.\");while(i&&(i=0,c[0]&&(a=0)),a)try{if(n=1,r&&(o=2&c[0]?r[\"return\"]:c[0]?r[\"throw\"]||((o=r[\"return\"])&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(u){c=[6,u],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var d=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!(\"get\"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function h(e,t){for(var n in e)\"default\"===n||Object.prototype.hasOwnProperty.call(t,n)||d(t,e,n)}function p(e){var t=\"function\"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&\"number\"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?\"Object is not iterable.\":\"Symbol.iterator is not defined.\")}function v(e,t){var n=\"function\"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(r=i.next()).done)a.push(r.value)}catch(c){o={error:c}}finally{try{r&&!r.done&&(n=i[\"return\"])&&n.call(i)}finally{if(o)throw o.error}}return a}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function m(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,c=i.length;a<c;a++,o++)r[o]=i[a];return r}function y(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function x(e,t,n){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var r,o=n.apply(e,t||[]),i=[];return r={},a(\"next\"),a(\"throw\"),a(\"return\"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||c(e,t)}))})}function c(e,t){try{u(o[e](t))}catch(n){f(i[0][3],n)}}function u(e){e.value instanceof b?Promise.resolve(e.value.v).then(s,l):f(i[0][2],e)}function s(e){c(\"next\",e)}function l(e){c(\"throw\",e)}function f(e,t){e(t),i.shift(),i.length&&c(i[0][0],i[0][1])}}function w(e){var t,n;return t={},r(\"next\"),r(\"throw\",(function(e){throw e})),r(\"return\"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:b(e[r](t)),done:\"return\"===r}:o?o(t):t}:o}}function O(e){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=\"function\"===typeof p?p(e):e[Symbol.iterator](),t={},r(\"next\"),r(\"throw\"),r(\"return\"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){t=e[n](t),o(r,i,t.done,t.value)}))}}function o(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}}function E(e,t){return Object.defineProperty?Object.defineProperty(e,\"raw\",{value:t}):e.raw=t,e}var S=Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:!0,value:t})}:function(e,t){e[\"default\"]=t};function j(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)\"default\"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&d(t,e,n);return S(t,e),t}function k(e){return e&&e.__esModule?e:{default:e}}function _(e,t,n,r){if(\"a\"===n&&!r)throw new TypeError(\"Private accessor was defined without a getter\");if(\"function\"===typeof t?e!==t||!r:!t.has(e))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return\"m\"===n?r:\"a\"===n?r.call(e):r?r.value:t.get(e)}function C(e,t,n,r,o){if(\"m\"===r)throw new TypeError(\"Private method is not writable\");if(\"a\"===r&&!o)throw new TypeError(\"Private accessor was defined without a setter\");if(\"function\"===typeof t?e!==t||!o:!t.has(e))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return\"a\"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function M(e,t){if(null===t||\"object\"!==typeof t&&\"function\"!==typeof t)throw new TypeError(\"Cannot use 'in' operator on non-object\");return\"function\"===typeof e?t===e:e.has(t)}},\"n+fv\":function(e,t,n){\"use strict\";n.r(t),n.d(t,\"create\",(function(){return o})),n.d(t,\"clone\",(function(){return i})),n.d(t,\"length\",(function(){return a})),n.d(t,\"fromValues\",(function(){return c})),n.d(t,\"copy\",(function(){return u})),n.d(t,\"set\",(function(){return s})),n.d(t,\"add\",(function(){return l})),n.d(t,\"subtract\",(function(){return f})),n.d(t,\"multiply\",(function(){return d})),n.d(t,\"divide\",(function(){return h})),n.d(t,\"ceil\",(function(){return p})),n.d(t,\"floor\",(function(){return v})),n.d(t,\"min\",(function(){return g})),n.d(t,\"max\",(function(){return m})),n.d(t,\"round\",(function(){return y})),n.d(t,\"scale\",(function(){return b})),n.d(t,\"scaleAndAdd\",(function(){return x})),n.d(t,\"distance\",(function(){return w})),n.d(t,\"squaredDistance\",(function(){return O})),n.d(t,\"squaredLength\",(function(){return E})),n.d(t,\"negate\",(function(){return S})),n.d(t,\"inverse\",(function(){return j})),n.d(t,\"normalize\",(function(){return k})),n.d(t,\"dot\",(function(){return _})),n.d(t,\"cross\",(function(){return C})),n.d(t,\"lerp\",(function(){return M})),n.d(t,\"hermite\",(function(){return A})),n.d(t,\"bezier\",(function(){return N})),n.d(t,\"random\",(function(){return T})),n.d(t,\"transformMat4\",(function(){return I})),n.d(t,\"transformMat3\",(function(){return P})),n.d(t,\"transformQuat\",(function(){return L})),n.d(t,\"rotateX\",(function(){return D})),n.d(t,\"rotateY\",(function(){return R})),n.d(t,\"rotateZ\",(function(){return F})),n.d(t,\"angle\",(function(){return B})),n.d(t,\"zero\",(function(){return z})),n.d(t,\"str\",(function(){return U})),n.d(t,\"exactEquals\",(function(){return G})),n.d(t,\"equals\",(function(){return V})),n.d(t,\"sub\",(function(){return W})),n.d(t,\"mul\",(function(){return H})),n.d(t,\"div\",(function(){return Y})),n.d(t,\"dist\",(function(){return X})),n.d(t,\"sqrDist\",(function(){return q})),n.d(t,\"len\",(function(){return K})),n.d(t,\"sqrLen\",(function(){return Z})),n.d(t,\"forEach\",(function(){return $}));var r=n(\"yU0y\");function o(){var e=new r[\"ARRAY_TYPE\"](3);return r[\"ARRAY_TYPE\"]!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e}function i(e){var t=new r[\"ARRAY_TYPE\"](3);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function a(e){var t=e[0],n=e[1],r=e[2];return Math.hypot(t,n,r)}function c(e,t,n){var o=new r[\"ARRAY_TYPE\"](3);return o[0]=e,o[1]=t,o[2]=n,o}function u(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function s(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function l(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function f(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function d(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function h(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function p(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e}function v(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e}function g(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function m(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function y(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e}function b(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function x(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e}function w(e,t){var n=t[0]-e[0],r=t[1]-e[1],o=t[2]-e[2];return Math.hypot(n,r,o)}function O(e,t){var n=t[0]-e[0],r=t[1]-e[1],o=t[2]-e[2];return n*n+r*r+o*o}function E(e){var t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function S(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function j(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function k(e,t){var n=t[0],r=t[1],o=t[2],i=n*n+r*r+o*o;return i>0&&(i=1/Math.sqrt(i)),e[0]=t[0]*i,e[1]=t[1]*i,e[2]=t[2]*i,e}function _(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function C(e,t,n){var r=t[0],o=t[1],i=t[2],a=n[0],c=n[1],u=n[2];return e[0]=o*u-i*c,e[1]=i*a-r*u,e[2]=r*c-o*a,e}function M(e,t,n,r){var o=t[0],i=t[1],a=t[2];return e[0]=o+r*(n[0]-o),e[1]=i+r*(n[1]-i),e[2]=a+r*(n[2]-a),e}function A(e,t,n,r,o,i){var a=i*i,c=a*(2*i-3)+1,u=a*(i-2)+i,s=a*(i-1),l=a*(3-2*i);return e[0]=t[0]*c+n[0]*u+r[0]*s+o[0]*l,e[1]=t[1]*c+n[1]*u+r[1]*s+o[1]*l,e[2]=t[2]*c+n[2]*u+r[2]*s+o[2]*l,e}function N(e,t,n,r,o,i){var a=1-i,c=a*a,u=i*i,s=c*a,l=3*i*c,f=3*u*a,d=u*i;return e[0]=t[0]*s+n[0]*l+r[0]*f+o[0]*d,e[1]=t[1]*s+n[1]*l+r[1]*f+o[1]*d,e[2]=t[2]*s+n[2]*l+r[2]*f+o[2]*d,e}function T(e,t){t=t||1;var n=2*r[\"RANDOM\"]()*Math.PI,o=2*r[\"RANDOM\"]()-1,i=Math.sqrt(1-o*o)*t;return e[0]=Math.cos(n)*i,e[1]=Math.sin(n)*i,e[2]=o*t,e}function I(e,t,n){var r=t[0],o=t[1],i=t[2],a=n[3]*r+n[7]*o+n[11]*i+n[15];return a=a||1,e[0]=(n[0]*r+n[4]*o+n[8]*i+n[12])/a,e[1]=(n[1]*r+n[5]*o+n[9]*i+n[13])/a,e[2]=(n[2]*r+n[6]*o+n[10]*i+n[14])/a,e}function P(e,t,n){var r=t[0],o=t[1],i=t[2];return e[0]=r*n[0]+o*n[3]+i*n[6],e[1]=r*n[1]+o*n[4]+i*n[7],e[2]=r*n[2]+o*n[5]+i*n[8],e}function L(e,t,n){var r=n[0],o=n[1],i=n[2],a=n[3],c=t[0],u=t[1],s=t[2],l=o*s-i*u,f=i*c-r*s,d=r*u-o*c,h=o*d-i*f,p=i*l-r*d,v=r*f-o*l,g=2*a;return l*=g,f*=g,d*=g,h*=2,p*=2,v*=2,e[0]=c+l+h,e[1]=u+f+p,e[2]=s+d+v,e}function D(e,t,n,r){var o=[],i=[];return o[0]=t[0]-n[0],o[1]=t[1]-n[1],o[2]=t[2]-n[2],i[0]=o[0],i[1]=o[1]*Math.cos(r)-o[2]*Math.sin(r),i[2]=o[1]*Math.sin(r)+o[2]*Math.cos(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e}function R(e,t,n,r){var o=[],i=[];return o[0]=t[0]-n[0],o[1]=t[1]-n[1],o[2]=t[2]-n[2],i[0]=o[2]*Math.sin(r)+o[0]*Math.cos(r),i[1]=o[1],i[2]=o[2]*Math.cos(r)-o[0]*Math.sin(r),e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e}function F(e,t,n,r){var o=[],i=[];return o[0]=t[0]-n[0],o[1]=t[1]-n[1],o[2]=t[2]-n[2],i[0]=o[0]*Math.cos(r)-o[1]*Math.sin(r),i[1]=o[0]*Math.sin(r)+o[1]*Math.cos(r),i[2]=o[2],e[0]=i[0]+n[0],e[1]=i[1]+n[1],e[2]=i[2]+n[2],e}function B(e,t){var n=e[0],r=e[1],o=e[2],i=t[0],a=t[1],c=t[2],u=Math.sqrt(n*n+r*r+o*o),s=Math.sqrt(i*i+a*a+c*c),l=u*s,f=l&&_(e,t)/l;return Math.acos(Math.min(Math.max(f,-1),1))}function z(e){return e[0]=0,e[1]=0,e[2]=0,e}function U(e){return\"vec3(\"+e[0]+\", \"+e[1]+\", \"+e[2]+\")\"}function G(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function V(e,t){var n=e[0],o=e[1],i=e[2],a=t[0],c=t[1],u=t[2];return Math.abs(n-a)<=r[\"EPSILON\"]*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(o-c)<=r[\"EPSILON\"]*Math.max(1,Math.abs(o),Math.abs(c))&&Math.abs(i-u)<=r[\"EPSILON\"]*Math.max(1,Math.abs(i),Math.abs(u))}var W=f,H=d,Y=h,X=w,q=O,K=a,Z=E,$=function(){var e=o();return function(t,n,r,o,i,a){var c,u;for(n||(n=3),r||(r=0),u=o?Math.min(o*n+r,t.length):t.length,c=r;c<u;c+=n)e[0]=t[c],e[1]=t[c+1],e[2]=t[c+2],i(e,e,a),t[c]=e[0],t[c+1]=e[1],t[c+2]=e[2];return t}}()},\"n3/R\":function(e,t,n){\"use strict\";var r=n(\"0Dky\");function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o(\"a\",\"y\");return e.lastIndex=2,null!=e.exec(\"abcd\")})),t.BROKEN_CARET=r((function(){var e=o(\"^r\",\"gy\");return e.lastIndex=2,null!=e.exec(\"str\")}))},n5b4:function(e,t,n){var r=n(\"I+eb\"),o=n(\"2oRo\"),i=n(\"tXUg\"),a=n(\"xrYK\"),c=o.process,u=\"process\"==a(c);r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=u&&c.domain;i(t?t.bind(e):e)}})},n5pg:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"glrk\"),a=n(\"A2ZE\"),c=n(\"Sssf\"),u=n(\"ImZN\");r({target:\"Map\",proto:!0,real:!0,forced:o},{findKey:function(e){var t=i(this),n=c(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return u(n,(function(e,n){if(r(n,e,t))return u.stop(e)}),void 0,!0,!0).result}})},n7rY:function(e,t,n){\"use strict\";function r(e){return r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},r(e)}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var o=c(n(\"Jk7S\")),i=n(\"kCNo\");function a(e){if(\"function\"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||\"object\"!==r(e)&&\"function\"!==typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if(\"default\"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var u=i?Object.getOwnPropertyDescriptor(e,c):null;u&&(u.get||u.set)?Object.defineProperty(o,c,u):o[c]=e[c]}return o.default=e,n&&n.set(e,o),o}var u=\"undefined\"!==typeof self?self:{};u.onmessage=function(e){var t=e.data,n=t._algorithmType,r=t.data;if(n)if(\"function\"!==typeof o[n])u.postMessage({_algorithmType:i.MESSAGE.FAILURE});else{var a=o[n].apply(o,r);u.postMessage({_algorithmType:i.MESSAGE.SUCCESS,data:a})}};var s=null;t.default=s},nC8U:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=function(e,t){return e-t},o=function(){function e(e){void 0===e&&(e=r),this.compareFn=e,this.list=[]}return e.prototype.getLeft=function(e){return 2*e+1},e.prototype.getRight=function(e){return 2*e+2},e.prototype.getParent=function(e){return 0===e?null:Math.floor((e-1)/2)},e.prototype.isEmpty=function(){return this.list.length<=0},e.prototype.top=function(){return this.isEmpty()?void 0:this.list[0]},e.prototype.delMin=function(){var e=this.top(),t=this.list.pop();return this.list.length>0&&(this.list[0]=t,this.moveDown(0)),e},e.prototype.insert=function(e){if(null!==e){this.list.push(e);var t=this.list.length-1;return this.moveUp(t),!0}return!1},e.prototype.moveUp=function(e){var t=this.getParent(e);while(e&&e>0&&this.compareFn(this.list[t],this.list[e])>0){var n=this.list[t];this.list[t]=this.list[e],this.list[e]=n,e=t,t=this.getParent(e)}},e.prototype.moveDown=function(e){var t,n=e,r=this.getLeft(e),o=this.getRight(e),i=this.list.length;null!==r&&r<i&&this.compareFn(this.list[n],this.list[r])>0?n=r:null!==o&&o<i&&this.compareFn(this.list[n],this.list[o])>0&&(n=o),e!==n&&(t=[this.list[n],this.list[e]],this.list[e]=t[0],this.list[n]=t[1],this.moveDown(n))},e}(),i=o;t.default=i},nIe3:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"0GbY\"),a=n(\"glrk\"),c=n(\"HAuM\"),u=n(\"A2ZE\"),s=n(\"SEBh\"),l=n(\"Sssf\"),f=n(\"ImZN\");r({target:\"Map\",proto:!0,real:!0,forced:o},{mapKeys:function(e){var t=a(this),n=l(t),r=u(e,arguments.length>1?arguments[1]:void 0,3),o=new(s(t,i(\"Map\"))),d=c(o.set);return f(n,(function(e,n){d.call(o,r(n,e,t),n)}),void 0,!0,!0),o}})},nKUr:function(e,t,n){\"use strict\";e.exports=n(\"0x2o\")},nmnc:function(e,t,n){var r=n(\"Kz5y\"),o=r.Symbol;e.exports=o},nmq7:function(e,t,n){\"use strict\";var r=n(\"0jNN\"),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:\"utf-8\",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:\"&\",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(e){return e.replace(/&#(\\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&\"string\"===typeof e&&t.comma&&e.indexOf(\",\")>-1?e.split(\",\"):e},s=\"utf8=%26%2310003%3B\",l=\"utf8=%E2%9C%93\",f=function(e,t){var n,f={},d=t.ignoreQueryPrefix?e.replace(/^\\?/,\"\"):e,h=t.parameterLimit===1/0?void 0:t.parameterLimit,p=d.split(t.delimiter,h),v=-1,g=t.charset;if(t.charsetSentinel)for(n=0;n<p.length;++n)0===p[n].indexOf(\"utf8=\")&&(p[n]===l?g=\"utf-8\":p[n]===s&&(g=\"iso-8859-1\"),v=n,n=p.length);for(n=0;n<p.length;++n)if(n!==v){var m,y,b=p[n],x=b.indexOf(\"]=\"),w=-1===x?b.indexOf(\"=\"):x+1;-1===w?(m=t.decoder(b,a.decoder,g,\"key\"),y=t.strictNullHandling?null:\"\"):(m=t.decoder(b.slice(0,w),a.decoder,g,\"key\"),y=r.maybeMap(u(b.slice(w+1),t),(function(e){return t.decoder(e,a.decoder,g,\"value\")}))),y&&t.interpretNumericEntities&&\"iso-8859-1\"===g&&(y=c(y)),b.indexOf(\"[]=\")>-1&&(y=i(y)?[y]:y),o.call(f,m)?f[m]=r.combine(f[m],y):f[m]=y}return f},d=function(e,t,n,r){for(var o=r?t:u(t,n),i=e.length-1;i>=0;--i){var a,c=e[i];if(\"[]\"===c&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var s=\"[\"===c.charAt(0)&&\"]\"===c.charAt(c.length-1)?c.slice(1,-1):c,l=parseInt(s,10);n.parseArrays||\"\"!==s?!isNaN(l)&&c!==s&&String(l)===s&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[],a[l]=o):\"__proto__\"!==s&&(a[s]=o):a={0:o}}o=a}return o},h=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\\.([^.[]+)/g,\"[$1]\"):e,a=/(\\[[^[\\]]*])/,c=/(\\[[^[\\]]*])/g,u=n.depth>0&&a.exec(i),s=u?i.slice(0,u.index):i,l=[];if(s){if(!n.plainObjects&&o.call(Object.prototype,s)&&!n.allowPrototypes)return;l.push(s)}var f=0;while(n.depth>0&&null!==(u=c.exec(i))&&f<n.depth){if(f+=1,!n.plainObjects&&o.call(Object.prototype,u[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(u[1])}return u&&l.push(\"[\"+i.slice(u.index)+\"]\"),d(l,t,n,r)}},p=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&\"function\"!==typeof e.decoder)throw new TypeError(\"Decoder has to be a function.\");if(\"undefined\"!==typeof e.charset&&\"utf-8\"!==e.charset&&\"iso-8859-1\"!==e.charset)throw new TypeError(\"The charset option must be either utf-8, iso-8859-1, or undefined\");var t=\"undefined\"===typeof e.charset?a.charset:e.charset;return{allowDots:\"undefined\"===typeof e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:\"boolean\"===typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:\"boolean\"===typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:\"number\"===typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:\"boolean\"===typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:\"boolean\"===typeof e.comma?e.comma:a.comma,decoder:\"function\"===typeof e.decoder?e.decoder:a.decoder,delimiter:\"string\"===typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:\"number\"===typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:\"boolean\"===typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:\"number\"===typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:\"boolean\"===typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:\"boolean\"===typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}};e.exports=function(e,t){var n=p(t);if(\"\"===e||null===e||\"undefined\"===typeof e)return n.plainObjects?Object.create(null):{};for(var o=\"string\"===typeof e?f(e,n):e,i=n.plainObjects?Object.create(null):{},a=Object.keys(o),c=0;c<a.length;++c){var u=a[c],s=h(u,o[u],n,\"string\"===typeof e);i=r.merge(i,s,n)}return!0===n.allowSparse?i:r.compact(i)}},ntOU:function(e,t,n){\"use strict\";var r=n(\"rpNk\").IteratorPrototype,o=n(\"fHMY\"),i=n(\"XGwC\"),a=n(\"1E5z\"),c=n(\"P4y1\"),u=function(){return this};e.exports=function(e,t,n){var s=t+\" Iterator\";return e.prototype=o(r,{next:i(1,n)}),a(e,s,!1,!0),c[s]=u,e}},ny8l:function(e,t,n){var r=n(\"I+eb\");r({target:\"Math\",stat:!0},{signbit:function(e){return(e=+e)==e&&0==e?1/e==-1/0:e<0}})},o0o1:function(e,t,n){var r=n(\"fsL8\")();e.exports=r;try{regeneratorRuntime=r}catch(o){\"object\"===typeof globalThis?globalThis.regeneratorRuntime=r:Function(\"r\",\"regeneratorRuntime = r\")(r)}},\"oHi+\":function(e,t,n){var r=n(\"ewvW\"),o=n(\"UMSQ\"),i=n(\"NaFW\"),a=n(\"6VoE\"),c=n(\"A2ZE\"),u=n(\"67WC\").aTypedArrayConstructor;e.exports=function(e){var t,n,s,l,f,d,h=r(e),p=arguments.length,v=p>1?arguments[1]:void 0,g=void 0!==v,m=i(h);if(void 0!=m&&!a(m)){f=m.call(h),d=f.next,h=[];while(!(l=d.call(f)).done)h.push(l.value)}for(g&&p>2&&(v=c(v,arguments[2],2)),n=o(h.length),s=new(u(this))(n),t=0;n>t;t++)s[t]=g?v(h[t],t):h[t];return s}},oIFs:function(e,t,n){},oNNP:function(e,t,n){\"use strict\";var r=n(\"D3zA\");e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},oRuE:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"OLod\"))})(0,(function(e){return e.pad.Iso10126={pad:function(t,n){var r=4*n,o=r-t.sigBytes%r;t.concat(e.lib.WordArray.random(o-1)).concat(e.lib.WordArray.create([o<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126}))},oZYf:function(e,t,n){\"use strict\";n.r(t),n.d(t,\"World\",(function(){return Ne})),n.d(t,\"Kernel\",(function(){return H}));var r=n(\"yXPU\"),o=n.n(r),i=n(\"lSNA\"),a=n.n(i),c=n(\"lwsE\"),u=n.n(c),s=n(\"W8MJ\"),l=n.n(s),f=n(\"c6wG\"),d=n.n(f),h=n(\"UB5X\"),p=n.n(h),v=n(\"Z0cm\"),g=n.n(v),m=n(\"o0o1\"),y=n.n(m),b=1;function x(){return b++}var w;(function(e){e[e[\"DEPTH_BUFFER_BIT\"]=256]=\"DEPTH_BUFFER_BIT\",e[e[\"STENCIL_BUFFER_BIT\"]=1024]=\"STENCIL_BUFFER_BIT\",e[e[\"COLOR_BUFFER_BIT\"]=16384]=\"COLOR_BUFFER_BIT\",e[e[\"POINTS\"]=0]=\"POINTS\",e[e[\"LINES\"]=1]=\"LINES\",e[e[\"LINE_LOOP\"]=2]=\"LINE_LOOP\",e[e[\"LINE_STRIP\"]=3]=\"LINE_STRIP\",e[e[\"TRIANGLES\"]=4]=\"TRIANGLES\",e[e[\"TRIANGLE_STRIP\"]=5]=\"TRIANGLE_STRIP\",e[e[\"TRIANGLE_FAN\"]=6]=\"TRIANGLE_FAN\",e[e[\"ZERO\"]=0]=\"ZERO\",e[e[\"ONE\"]=1]=\"ONE\",e[e[\"SRC_COLOR\"]=768]=\"SRC_COLOR\",e[e[\"ONE_MINUS_SRC_COLOR\"]=769]=\"ONE_MINUS_SRC_COLOR\",e[e[\"SRC_ALPHA\"]=770]=\"SRC_ALPHA\",e[e[\"ONE_MINUS_SRC_ALPHA\"]=771]=\"ONE_MINUS_SRC_ALPHA\",e[e[\"DST_ALPHA\"]=772]=\"DST_ALPHA\",e[e[\"ONE_MINUS_DST_ALPHA\"]=773]=\"ONE_MINUS_DST_ALPHA\",e[e[\"DST_COLOR\"]=774]=\"DST_COLOR\",e[e[\"ONE_MINUS_DST_COLOR\"]=775]=\"ONE_MINUS_DST_COLOR\",e[e[\"SRC_ALPHA_SATURATE\"]=776]=\"SRC_ALPHA_SATURATE\",e[e[\"FUNC_ADD\"]=32774]=\"FUNC_ADD\",e[e[\"BLEND_EQUATION\"]=32777]=\"BLEND_EQUATION\",e[e[\"BLEND_EQUATION_RGB\"]=32777]=\"BLEND_EQUATION_RGB\",e[e[\"BLEND_EQUATION_ALPHA\"]=34877]=\"BLEND_EQUATION_ALPHA\",e[e[\"FUNC_SUBTRACT\"]=32778]=\"FUNC_SUBTRACT\",e[e[\"FUNC_REVERSE_SUBTRACT\"]=32779]=\"FUNC_REVERSE_SUBTRACT\",e[e[\"MAX_EXT\"]=32776]=\"MAX_EXT\",e[e[\"MIN_EXT\"]=32775]=\"MIN_EXT\",e[e[\"BLEND_DST_RGB\"]=32968]=\"BLEND_DST_RGB\",e[e[\"BLEND_SRC_RGB\"]=32969]=\"BLEND_SRC_RGB\",e[e[\"BLEND_DST_ALPHA\"]=32970]=\"BLEND_DST_ALPHA\",e[e[\"BLEND_SRC_ALPHA\"]=32971]=\"BLEND_SRC_ALPHA\",e[e[\"CONSTANT_COLOR\"]=32769]=\"CONSTANT_COLOR\",e[e[\"ONE_MINUS_CONSTANT_COLOR\"]=32770]=\"ONE_MINUS_CONSTANT_COLOR\",e[e[\"CONSTANT_ALPHA\"]=32771]=\"CONSTANT_ALPHA\",e[e[\"ONE_MINUS_CONSTANT_ALPHA\"]=32772]=\"ONE_MINUS_CONSTANT_ALPHA\",e[e[\"BLEND_COLOR\"]=32773]=\"BLEND_COLOR\",e[e[\"ARRAY_BUFFER\"]=34962]=\"ARRAY_BUFFER\",e[e[\"ELEMENT_ARRAY_BUFFER\"]=34963]=\"ELEMENT_ARRAY_BUFFER\",e[e[\"ARRAY_BUFFER_BINDING\"]=34964]=\"ARRAY_BUFFER_BINDING\",e[e[\"ELEMENT_ARRAY_BUFFER_BINDING\"]=34965]=\"ELEMENT_ARRAY_BUFFER_BINDING\",e[e[\"STREAM_DRAW\"]=35040]=\"STREAM_DRAW\",e[e[\"STATIC_DRAW\"]=35044]=\"STATIC_DRAW\",e[e[\"DYNAMIC_DRAW\"]=35048]=\"DYNAMIC_DRAW\",e[e[\"BUFFER_SIZE\"]=34660]=\"BUFFER_SIZE\",e[e[\"BUFFER_USAGE\"]=34661]=\"BUFFER_USAGE\",e[e[\"CURRENT_VERTEX_ATTRIB\"]=34342]=\"CURRENT_VERTEX_ATTRIB\",e[e[\"FRONT\"]=1028]=\"FRONT\",e[e[\"BACK\"]=1029]=\"BACK\",e[e[\"FRONT_AND_BACK\"]=1032]=\"FRONT_AND_BACK\",e[e[\"CULL_FACE\"]=2884]=\"CULL_FACE\",e[e[\"BLEND\"]=3042]=\"BLEND\",e[e[\"DITHER\"]=3024]=\"DITHER\",e[e[\"STENCIL_TEST\"]=2960]=\"STENCIL_TEST\",e[e[\"DEPTH_TEST\"]=2929]=\"DEPTH_TEST\",e[e[\"SCISSOR_TEST\"]=3089]=\"SCISSOR_TEST\",e[e[\"POLYGON_OFFSET_FILL\"]=32823]=\"POLYGON_OFFSET_FILL\",e[e[\"SAMPLE_ALPHA_TO_COVERAGE\"]=32926]=\"SAMPLE_ALPHA_TO_COVERAGE\",e[e[\"SAMPLE_COVERAGE\"]=32928]=\"SAMPLE_COVERAGE\",e[e[\"NO_ERROR\"]=0]=\"NO_ERROR\",e[e[\"INVALID_ENUM\"]=1280]=\"INVALID_ENUM\",e[e[\"INVALID_VALUE\"]=1281]=\"INVALID_VALUE\",e[e[\"INVALID_OPERATION\"]=1282]=\"INVALID_OPERATION\",e[e[\"OUT_OF_MEMORY\"]=1285]=\"OUT_OF_MEMORY\",e[e[\"CW\"]=2304]=\"CW\",e[e[\"CCW\"]=2305]=\"CCW\",e[e[\"LINE_WIDTH\"]=2849]=\"LINE_WIDTH\",e[e[\"ALIASED_POINT_SIZE_RANGE\"]=33901]=\"ALIASED_POINT_SIZE_RANGE\",e[e[\"ALIASED_LINE_WIDTH_RANGE\"]=33902]=\"ALIASED_LINE_WIDTH_RANGE\",e[e[\"CULL_FACE_MODE\"]=2885]=\"CULL_FACE_MODE\",e[e[\"FRONT_FACE\"]=2886]=\"FRONT_FACE\",e[e[\"DEPTH_RANGE\"]=2928]=\"DEPTH_RANGE\",e[e[\"DEPTH_WRITEMASK\"]=2930]=\"DEPTH_WRITEMASK\",e[e[\"DEPTH_CLEAR_VALUE\"]=2931]=\"DEPTH_CLEAR_VALUE\",e[e[\"DEPTH_FUNC\"]=2932]=\"DEPTH_FUNC\",e[e[\"STENCIL_CLEAR_VALUE\"]=2961]=\"STENCIL_CLEAR_VALUE\",e[e[\"STENCIL_FUNC\"]=2962]=\"STENCIL_FUNC\",e[e[\"STENCIL_FAIL\"]=2964]=\"STENCIL_FAIL\",e[e[\"STENCIL_PASS_DEPTH_FAIL\"]=2965]=\"STENCIL_PASS_DEPTH_FAIL\",e[e[\"STENCIL_PASS_DEPTH_PASS\"]=2966]=\"STENCIL_PASS_DEPTH_PASS\",e[e[\"STENCIL_REF\"]=2967]=\"STENCIL_REF\",e[e[\"STENCIL_VALUE_MASK\"]=2963]=\"STENCIL_VALUE_MASK\",e[e[\"STENCIL_WRITEMASK\"]=2968]=\"STENCIL_WRITEMASK\",e[e[\"STENCIL_BACK_FUNC\"]=34816]=\"STENCIL_BACK_FUNC\",e[e[\"STENCIL_BACK_FAIL\"]=34817]=\"STENCIL_BACK_FAIL\",e[e[\"STENCIL_BACK_PASS_DEPTH_FAIL\"]=34818]=\"STENCIL_BACK_PASS_DEPTH_FAIL\",e[e[\"STENCIL_BACK_PASS_DEPTH_PASS\"]=34819]=\"STENCIL_BACK_PASS_DEPTH_PASS\",e[e[\"STENCIL_BACK_REF\"]=36003]=\"STENCIL_BACK_REF\",e[e[\"STENCIL_BACK_VALUE_MASK\"]=36004]=\"STENCIL_BACK_VALUE_MASK\",e[e[\"STENCIL_BACK_WRITEMASK\"]=36005]=\"STENCIL_BACK_WRITEMASK\",e[e[\"VIEWPORT\"]=2978]=\"VIEWPORT\",e[e[\"SCISSOR_BOX\"]=3088]=\"SCISSOR_BOX\",e[e[\"COLOR_CLEAR_VALUE\"]=3106]=\"COLOR_CLEAR_VALUE\",e[e[\"COLOR_WRITEMASK\"]=3107]=\"COLOR_WRITEMASK\",e[e[\"UNPACK_ALIGNMENT\"]=3317]=\"UNPACK_ALIGNMENT\",e[e[\"PACK_ALIGNMENT\"]=3333]=\"PACK_ALIGNMENT\",e[e[\"MAX_TEXTURE_SIZE\"]=3379]=\"MAX_TEXTURE_SIZE\",e[e[\"MAX_VIEWPORT_DIMS\"]=3386]=\"MAX_VIEWPORT_DIMS\",e[e[\"SUBPIXEL_BITS\"]=3408]=\"SUBPIXEL_BITS\",e[e[\"RED_BITS\"]=3410]=\"RED_BITS\",e[e[\"GREEN_BITS\"]=3411]=\"GREEN_BITS\",e[e[\"BLUE_BITS\"]=3412]=\"BLUE_BITS\",e[e[\"ALPHA_BITS\"]=3413]=\"ALPHA_BITS\",e[e[\"DEPTH_BITS\"]=3414]=\"DEPTH_BITS\",e[e[\"STENCIL_BITS\"]=3415]=\"STENCIL_BITS\",e[e[\"POLYGON_OFFSET_UNITS\"]=10752]=\"POLYGON_OFFSET_UNITS\",e[e[\"POLYGON_OFFSET_FACTOR\"]=32824]=\"POLYGON_OFFSET_FACTOR\",e[e[\"TEXTURE_BINDING_2D\"]=32873]=\"TEXTURE_BINDING_2D\",e[e[\"SAMPLE_BUFFERS\"]=32936]=\"SAMPLE_BUFFERS\",e[e[\"SAMPLES\"]=32937]=\"SAMPLES\",e[e[\"SAMPLE_COVERAGE_VALUE\"]=32938]=\"SAMPLE_COVERAGE_VALUE\",e[e[\"SAMPLE_COVERAGE_INVERT\"]=32939]=\"SAMPLE_COVERAGE_INVERT\",e[e[\"COMPRESSED_TEXTURE_FORMATS\"]=34467]=\"COMPRESSED_TEXTURE_FORMATS\",e[e[\"DONT_CARE\"]=4352]=\"DONT_CARE\",e[e[\"FASTEST\"]=4353]=\"FASTEST\",e[e[\"NICEST\"]=4354]=\"NICEST\",e[e[\"GENERATE_MIPMAP_HINT\"]=33170]=\"GENERATE_MIPMAP_HINT\",e[e[\"BYTE\"]=5120]=\"BYTE\",e[e[\"UNSIGNED_BYTE\"]=5121]=\"UNSIGNED_BYTE\",e[e[\"SHORT\"]=5122]=\"SHORT\",e[e[\"UNSIGNED_SHORT\"]=5123]=\"UNSIGNED_SHORT\",e[e[\"INT\"]=5124]=\"INT\",e[e[\"UNSIGNED_INT\"]=5125]=\"UNSIGNED_INT\",e[e[\"FLOAT\"]=5126]=\"FLOAT\",e[e[\"DEPTH_COMPONENT\"]=6402]=\"DEPTH_COMPONENT\",e[e[\"ALPHA\"]=6406]=\"ALPHA\",e[e[\"RGB\"]=6407]=\"RGB\",e[e[\"RGBA\"]=6408]=\"RGBA\",e[e[\"LUMINANCE\"]=6409]=\"LUMINANCE\",e[e[\"LUMINANCE_ALPHA\"]=6410]=\"LUMINANCE_ALPHA\",e[e[\"UNSIGNED_SHORT_4_4_4_4\"]=32819]=\"UNSIGNED_SHORT_4_4_4_4\",e[e[\"UNSIGNED_SHORT_5_5_5_1\"]=32820]=\"UNSIGNED_SHORT_5_5_5_1\",e[e[\"UNSIGNED_SHORT_5_6_5\"]=33635]=\"UNSIGNED_SHORT_5_6_5\",e[e[\"FRAGMENT_SHADER\"]=35632]=\"FRAGMENT_SHADER\",e[e[\"VERTEX_SHADER\"]=35633]=\"VERTEX_SHADER\",e[e[\"MAX_VERTEX_ATTRIBS\"]=34921]=\"MAX_VERTEX_ATTRIBS\",e[e[\"MAX_VERTEX_UNIFORM_VECTORS\"]=36347]=\"MAX_VERTEX_UNIFORM_VECTORS\",e[e[\"MAX_VARYING_VECTORS\"]=36348]=\"MAX_VARYING_VECTORS\",e[e[\"MAX_COMBINED_TEXTURE_IMAGE_UNITS\"]=35661]=\"MAX_COMBINED_TEXTURE_IMAGE_UNITS\",e[e[\"MAX_VERTEX_TEXTURE_IMAGE_UNITS\"]=35660]=\"MAX_VERTEX_TEXTURE_IMAGE_UNITS\",e[e[\"MAX_TEXTURE_IMAGE_UNITS\"]=34930]=\"MAX_TEXTURE_IMAGE_UNITS\",e[e[\"MAX_FRAGMENT_UNIFORM_VECTORS\"]=36349]=\"MAX_FRAGMENT_UNIFORM_VECTORS\",e[e[\"SHADER_TYPE\"]=35663]=\"SHADER_TYPE\",e[e[\"DELETE_STATUS\"]=35712]=\"DELETE_STATUS\",e[e[\"LINK_STATUS\"]=35714]=\"LINK_STATUS\",e[e[\"VALIDATE_STATUS\"]=35715]=\"VALIDATE_STATUS\",e[e[\"ATTACHED_SHADERS\"]=35717]=\"ATTACHED_SHADERS\",e[e[\"ACTIVE_UNIFORMS\"]=35718]=\"ACTIVE_UNIFORMS\",e[e[\"ACTIVE_ATTRIBUTES\"]=35721]=\"ACTIVE_ATTRIBUTES\",e[e[\"SHADING_LANGUAGE_VERSION\"]=35724]=\"SHADING_LANGUAGE_VERSION\",e[e[\"CURRENT_PROGRAM\"]=35725]=\"CURRENT_PROGRAM\",e[e[\"NEVER\"]=512]=\"NEVER\",e[e[\"LESS\"]=513]=\"LESS\",e[e[\"EQUAL\"]=514]=\"EQUAL\",e[e[\"LEQUAL\"]=515]=\"LEQUAL\",e[e[\"GREATER\"]=516]=\"GREATER\",e[e[\"NOTEQUAL\"]=517]=\"NOTEQUAL\",e[e[\"GEQUAL\"]=518]=\"GEQUAL\",e[e[\"ALWAYS\"]=519]=\"ALWAYS\",e[e[\"KEEP\"]=7680]=\"KEEP\",e[e[\"REPLACE\"]=7681]=\"REPLACE\",e[e[\"INCR\"]=7682]=\"INCR\",e[e[\"DECR\"]=7683]=\"DECR\",e[e[\"INVERT\"]=5386]=\"INVERT\",e[e[\"INCR_WRAP\"]=34055]=\"INCR_WRAP\",e[e[\"DECR_WRAP\"]=34056]=\"DECR_WRAP\",e[e[\"VENDOR\"]=7936]=\"VENDOR\",e[e[\"RENDERER\"]=7937]=\"RENDERER\",e[e[\"VERSION\"]=7938]=\"VERSION\",e[e[\"NEAREST\"]=9728]=\"NEAREST\",e[e[\"LINEAR\"]=9729]=\"LINEAR\",e[e[\"NEAREST_MIPMAP_NEAREST\"]=9984]=\"NEAREST_MIPMAP_NEAREST\",e[e[\"LINEAR_MIPMAP_NEAREST\"]=9985]=\"LINEAR_MIPMAP_NEAREST\",e[e[\"NEAREST_MIPMAP_LINEAR\"]=9986]=\"NEAREST_MIPMAP_LINEAR\",e[e[\"LINEAR_MIPMAP_LINEAR\"]=9987]=\"LINEAR_MIPMAP_LINEAR\",e[e[\"TEXTURE_MAG_FILTER\"]=10240]=\"TEXTURE_MAG_FILTER\",e[e[\"TEXTURE_MIN_FILTER\"]=10241]=\"TEXTURE_MIN_FILTER\",e[e[\"TEXTURE_WRAP_S\"]=10242]=\"TEXTURE_WRAP_S\",e[e[\"TEXTURE_WRAP_T\"]=10243]=\"TEXTURE_WRAP_T\",e[e[\"TEXTURE_2D\"]=3553]=\"TEXTURE_2D\",e[e[\"TEXTURE\"]=5890]=\"TEXTURE\",e[e[\"TEXTURE_CUBE_MAP\"]=34067]=\"TEXTURE_CUBE_MAP\",e[e[\"TEXTURE_BINDING_CUBE_MAP\"]=34068]=\"TEXTURE_BINDING_CUBE_MAP\",e[e[\"TEXTURE_CUBE_MAP_POSITIVE_X\"]=34069]=\"TEXTURE_CUBE_MAP_POSITIVE_X\",e[e[\"TEXTURE_CUBE_MAP_NEGATIVE_X\"]=34070]=\"TEXTURE_CUBE_MAP_NEGATIVE_X\",e[e[\"TEXTURE_CUBE_MAP_POSITIVE_Y\"]=34071]=\"TEXTURE_CUBE_MAP_POSITIVE_Y\",e[e[\"TEXTURE_CUBE_MAP_NEGATIVE_Y\"]=34072]=\"TEXTURE_CUBE_MAP_NEGATIVE_Y\",e[e[\"TEXTURE_CUBE_MAP_POSITIVE_Z\"]=34073]=\"TEXTURE_CUBE_MAP_POSITIVE_Z\",e[e[\"TEXTURE_CUBE_MAP_NEGATIVE_Z\"]=34074]=\"TEXTURE_CUBE_MAP_NEGATIVE_Z\",e[e[\"MAX_CUBE_MAP_TEXTURE_SIZE\"]=34076]=\"MAX_CUBE_MAP_TEXTURE_SIZE\",e[e[\"TEXTURE0\"]=33984]=\"TEXTURE0\",e[e[\"TEXTURE1\"]=33985]=\"TEXTURE1\",e[e[\"TEXTURE2\"]=33986]=\"TEXTURE2\",e[e[\"TEXTURE3\"]=33987]=\"TEXTURE3\",e[e[\"TEXTURE4\"]=33988]=\"TEXTURE4\",e[e[\"TEXTURE5\"]=33989]=\"TEXTURE5\",e[e[\"TEXTURE6\"]=33990]=\"TEXTURE6\",e[e[\"TEXTURE7\"]=33991]=\"TEXTURE7\",e[e[\"TEXTURE8\"]=33992]=\"TEXTURE8\",e[e[\"TEXTURE9\"]=33993]=\"TEXTURE9\",e[e[\"TEXTURE10\"]=33994]=\"TEXTURE10\",e[e[\"TEXTURE11\"]=33995]=\"TEXTURE11\",e[e[\"TEXTURE12\"]=33996]=\"TEXTURE12\",e[e[\"TEXTURE13\"]=33997]=\"TEXTURE13\",e[e[\"TEXTURE14\"]=33998]=\"TEXTURE14\",e[e[\"TEXTURE15\"]=33999]=\"TEXTURE15\",e[e[\"TEXTURE16\"]=34e3]=\"TEXTURE16\",e[e[\"TEXTURE17\"]=34001]=\"TEXTURE17\",e[e[\"TEXTURE18\"]=34002]=\"TEXTURE18\",e[e[\"TEXTURE19\"]=34003]=\"TEXTURE19\",e[e[\"TEXTURE20\"]=34004]=\"TEXTURE20\",e[e[\"TEXTURE21\"]=34005]=\"TEXTURE21\",e[e[\"TEXTURE22\"]=34006]=\"TEXTURE22\",e[e[\"TEXTURE23\"]=34007]=\"TEXTURE23\",e[e[\"TEXTURE24\"]=34008]=\"TEXTURE24\",e[e[\"TEXTURE25\"]=34009]=\"TEXTURE25\",e[e[\"TEXTURE26\"]=34010]=\"TEXTURE26\",e[e[\"TEXTURE27\"]=34011]=\"TEXTURE27\",e[e[\"TEXTURE28\"]=34012]=\"TEXTURE28\",e[e[\"TEXTURE29\"]=34013]=\"TEXTURE29\",e[e[\"TEXTURE30\"]=34014]=\"TEXTURE30\",e[e[\"TEXTURE31\"]=34015]=\"TEXTURE31\",e[e[\"ACTIVE_TEXTURE\"]=34016]=\"ACTIVE_TEXTURE\",e[e[\"REPEAT\"]=10497]=\"REPEAT\",e[e[\"CLAMP_TO_EDGE\"]=33071]=\"CLAMP_TO_EDGE\",e[e[\"MIRRORED_REPEAT\"]=33648]=\"MIRRORED_REPEAT\",e[e[\"FLOAT_VEC2\"]=35664]=\"FLOAT_VEC2\",e[e[\"FLOAT_VEC3\"]=35665]=\"FLOAT_VEC3\",e[e[\"FLOAT_VEC4\"]=35666]=\"FLOAT_VEC4\",e[e[\"INT_VEC2\"]=35667]=\"INT_VEC2\",e[e[\"INT_VEC3\"]=35668]=\"INT_VEC3\",e[e[\"INT_VEC4\"]=35669]=\"INT_VEC4\",e[e[\"BOOL\"]=35670]=\"BOOL\",e[e[\"BOOL_VEC2\"]=35671]=\"BOOL_VEC2\",e[e[\"BOOL_VEC3\"]=35672]=\"BOOL_VEC3\",e[e[\"BOOL_VEC4\"]=35673]=\"BOOL_VEC4\",e[e[\"FLOAT_MAT2\"]=35674]=\"FLOAT_MAT2\",e[e[\"FLOAT_MAT3\"]=35675]=\"FLOAT_MAT3\",e[e[\"FLOAT_MAT4\"]=35676]=\"FLOAT_MAT4\",e[e[\"SAMPLER_2D\"]=35678]=\"SAMPLER_2D\",e[e[\"SAMPLER_CUBE\"]=35680]=\"SAMPLER_CUBE\",e[e[\"VERTEX_ATTRIB_ARRAY_ENABLED\"]=34338]=\"VERTEX_ATTRIB_ARRAY_ENABLED\",e[e[\"VERTEX_ATTRIB_ARRAY_SIZE\"]=34339]=\"VERTEX_ATTRIB_ARRAY_SIZE\",e[e[\"VERTEX_ATTRIB_ARRAY_STRIDE\"]=34340]=\"VERTEX_ATTRIB_ARRAY_STRIDE\",e[e[\"VERTEX_ATTRIB_ARRAY_TYPE\"]=34341]=\"VERTEX_ATTRIB_ARRAY_TYPE\",e[e[\"VERTEX_ATTRIB_ARRAY_NORMALIZED\"]=34922]=\"VERTEX_ATTRIB_ARRAY_NORMALIZED\",e[e[\"VERTEX_ATTRIB_ARRAY_POINTER\"]=34373]=\"VERTEX_ATTRIB_ARRAY_POINTER\",e[e[\"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING\"]=34975]=\"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING\",e[e[\"COMPILE_STATUS\"]=35713]=\"COMPILE_STATUS\",e[e[\"LOW_FLOAT\"]=36336]=\"LOW_FLOAT\",e[e[\"MEDIUM_FLOAT\"]=36337]=\"MEDIUM_FLOAT\",e[e[\"HIGH_FLOAT\"]=36338]=\"HIGH_FLOAT\",e[e[\"LOW_INT\"]=36339]=\"LOW_INT\",e[e[\"MEDIUM_INT\"]=36340]=\"MEDIUM_INT\",e[e[\"HIGH_INT\"]=36341]=\"HIGH_INT\",e[e[\"FRAMEBUFFER\"]=36160]=\"FRAMEBUFFER\",e[e[\"RENDERBUFFER\"]=36161]=\"RENDERBUFFER\",e[e[\"RGBA4\"]=32854]=\"RGBA4\",e[e[\"RGB5_A1\"]=32855]=\"RGB5_A1\",e[e[\"RGB565\"]=36194]=\"RGB565\",e[e[\"DEPTH_COMPONENT16\"]=33189]=\"DEPTH_COMPONENT16\",e[e[\"STENCIL_INDEX\"]=6401]=\"STENCIL_INDEX\",e[e[\"STENCIL_INDEX8\"]=36168]=\"STENCIL_INDEX8\",e[e[\"DEPTH_STENCIL\"]=34041]=\"DEPTH_STENCIL\",e[e[\"RENDERBUFFER_WIDTH\"]=36162]=\"RENDERBUFFER_WIDTH\",e[e[\"RENDERBUFFER_HEIGHT\"]=36163]=\"RENDERBUFFER_HEIGHT\",e[e[\"RENDERBUFFER_INTERNAL_FORMAT\"]=36164]=\"RENDERBUFFER_INTERNAL_FORMAT\",e[e[\"RENDERBUFFER_RED_SIZE\"]=36176]=\"RENDERBUFFER_RED_SIZE\",e[e[\"RENDERBUFFER_GREEN_SIZE\"]=36177]=\"RENDERBUFFER_GREEN_SIZE\",e[e[\"RENDERBUFFER_BLUE_SIZE\"]=36178]=\"RENDERBUFFER_BLUE_SIZE\",e[e[\"RENDERBUFFER_ALPHA_SIZE\"]=36179]=\"RENDERBUFFER_ALPHA_SIZE\",e[e[\"RENDERBUFFER_DEPTH_SIZE\"]=36180]=\"RENDERBUFFER_DEPTH_SIZE\",e[e[\"RENDERBUFFER_STENCIL_SIZE\"]=36181]=\"RENDERBUFFER_STENCIL_SIZE\",e[e[\"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE\"]=36048]=\"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE\",e[e[\"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME\"]=36049]=\"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME\",e[e[\"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL\"]=36050]=\"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL\",e[e[\"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE\"]=36051]=\"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE\",e[e[\"COLOR_ATTACHMENT0\"]=36064]=\"COLOR_ATTACHMENT0\",e[e[\"DEPTH_ATTACHMENT\"]=36096]=\"DEPTH_ATTACHMENT\",e[e[\"STENCIL_ATTACHMENT\"]=36128]=\"STENCIL_ATTACHMENT\",e[e[\"DEPTH_STENCIL_ATTACHMENT\"]=33306]=\"DEPTH_STENCIL_ATTACHMENT\",e[e[\"NONE\"]=0]=\"NONE\",e[e[\"FRAMEBUFFER_COMPLETE\"]=36053]=\"FRAMEBUFFER_COMPLETE\",e[e[\"FRAMEBUFFER_INCOMPLETE_ATTACHMENT\"]=36054]=\"FRAMEBUFFER_INCOMPLETE_ATTACHMENT\",e[e[\"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT\"]=36055]=\"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT\",e[e[\"FRAMEBUFFER_INCOMPLETE_DIMENSIONS\"]=36057]=\"FRAMEBUFFER_INCOMPLETE_DIMENSIONS\",e[e[\"FRAMEBUFFER_UNSUPPORTED\"]=36061]=\"FRAMEBUFFER_UNSUPPORTED\",e[e[\"FRAMEBUFFER_BINDING\"]=36006]=\"FRAMEBUFFER_BINDING\",e[e[\"RENDERBUFFER_BINDING\"]=36007]=\"RENDERBUFFER_BINDING\",e[e[\"MAX_RENDERBUFFER_SIZE\"]=34024]=\"MAX_RENDERBUFFER_SIZE\",e[e[\"INVALID_FRAMEBUFFER_OPERATION\"]=1286]=\"INVALID_FRAMEBUFFER_OPERATION\",e[e[\"UNPACK_FLIP_Y_WEBGL\"]=37440]=\"UNPACK_FLIP_Y_WEBGL\",e[e[\"UNPACK_PREMULTIPLY_ALPHA_WEBGL\"]=37441]=\"UNPACK_PREMULTIPLY_ALPHA_WEBGL\",e[e[\"CONTEXT_LOST_WEBGL\"]=37442]=\"CONTEXT_LOST_WEBGL\",e[e[\"UNPACK_COLORSPACE_CONVERSION_WEBGL\"]=37443]=\"UNPACK_COLORSPACE_CONVERSION_WEBGL\",e[e[\"BROWSER_DEFAULT_WEBGL\"]=37444]=\"BROWSER_DEFAULT_WEBGL\",e[e[\"COPY_SRC\"]=1]=\"COPY_SRC\",e[e[\"COPY_DST\"]=2]=\"COPY_DST\",e[e[\"SAMPLED\"]=4]=\"SAMPLED\",e[e[\"STORAGE\"]=8]=\"STORAGE\",e[e[\"RENDER_ATTACHMENT\"]=16]=\"RENDER_ATTACHMENT\"})(w||(w={}));var O,E,S,j,k=function(){function e(){u()(this,e),this.config=void 0}return l()(e,[{key:\"get\",value:function(){return this.config}},{key:\"set\",value:function(e){this.config=e}}]),e}();\"undefined\"!==typeof navigator&&/Version\\/[\\d\\.]+.*Safari/.test(navigator.userAgent);(function(e){e[\"Void\"]=\"Void\",e[\"Boolean\"]=\"Boolean\",e[\"Float\"]=\"Float\",e[\"Uint32\"]=\"Uint32\",e[\"Int32\"]=\"Int32\",e[\"Vector\"]=\"Vector\",e[\"Vector2Float\"]=\"vec2<f32>\",e[\"Vector3Float\"]=\"vec3<f32>\",e[\"Vector4Float\"]=\"vec4<f32>\",e[\"Vector2Boolean\"]=\"vec2<bool>\",e[\"Vector3Boolean\"]=\"vec3<bool>\",e[\"Vector4Boolean\"]=\"vec4<bool>\",e[\"Vector2Uint\"]=\"vec2<u32>\",e[\"Vector3Uint\"]=\"vec3<u32>\",e[\"Vector4Uint\"]=\"vec4<u32>\",e[\"Vector2Int\"]=\"vec2<i32>\",e[\"Vector3Int\"]=\"vec3<i32>\",e[\"Vector4Int\"]=\"vec4<i32>\",e[\"Matrix\"]=\"Matrix\",e[\"Matrix3x3Float\"]=\"mat3x3<f32>\",e[\"Matrix4x4Float\"]=\"mat4x4<i32>\",e[\"Struct\"]=\"Struct\",e[\"FloatArray\"]=\"Float[]\",e[\"Vector4FloatArray\"]=\"vec4<f32>[]\"})(O||(O={})),function(e){e[\"Program\"]=\"Program\",e[\"Identifier\"]=\"Identifier\",e[\"VariableDeclaration\"]=\"VariableDeclaration\",e[\"BlockStatement\"]=\"BlockStatement\",e[\"ReturnStatement\"]=\"ReturnStatement\",e[\"FunctionDeclaration\"]=\"FunctionDeclaration\",e[\"VariableDeclarator\"]=\"VariableDeclarator\",e[\"AssignmentExpression\"]=\"AssignmentExpression\",e[\"LogicalExpression\"]=\"LogicalExpression\",e[\"BinaryExpression\"]=\"BinaryExpression\",e[\"ArrayExpression\"]=\"ArrayExpression\",e[\"UnaryExpression\"]=\"UnaryExpression\",e[\"UpdateExpression\"]=\"UpdateExpression\",e[\"FunctionExpression\"]=\"FunctionExpression\",e[\"MemberExpression\"]=\"MemberExpression\",e[\"ConditionalExpression\"]=\"ConditionalExpression\",e[\"ExpressionStatement\"]=\"ExpressionStatement\",e[\"CallExpression\"]=\"CallExpression\",e[\"NumThreadStatement\"]=\"NumThreadStatement\",e[\"StorageStatement\"]=\"StorageStatement\",e[\"DoWhileStatement\"]=\"DoWhileStatement\",e[\"WhileStatement\"]=\"WhileStatement\",e[\"ForStatement\"]=\"ForStatement\",e[\"BreakStatement\"]=\"BreakStatement\",e[\"ContinueStatement\"]=\"ContinueStatement\",e[\"IfStatement\"]=\"IfStatement\",e[\"ImportedFunctionStatement\"]=\"ImportedFunctionStatement\"}(E||(E={})),function(e){e[\"Input\"]=\"Input\",e[\"Output\"]=\"Output\",e[\"Uniform\"]=\"Uniform\",e[\"Workgroup\"]=\"Workgroup\",e[\"UniformConstant\"]=\"UniformConstant\",e[\"Image\"]=\"Image\",e[\"StorageBuffer\"]=\"StorageBuffer\",e[\"Private\"]=\"Private\",e[\"Function\"]=\"Function\"}(S||(S={})),function(e){e[\"GLSL100\"]=\"GLSL100\",e[\"GLSL450\"]=\"GLSL450\",e[\"WGSL\"]=\"WGSL\"}(j||(j={}));var _=\"__DefineValuePlaceholder__\";function C(){if(\"undefined\"!==typeof document)return document.createElement(\"canvas\");throw new Error(\"Cannot create a canvas in this context\")}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var N,T,I,P,L,D,R,F,B,z,U,G,V,W,H=function(){function e(t,n){u()(this,e),this.engine=t,this.configService=n,this.model=void 0,this.dirty=!0,this.compiledBundle=void 0,this.initPromise=void 0}return l()(e,[{key:\"init\",value:function(){var e=this.configService.get(),t=e.canvas,n=e.engineOptions;this.initPromise=this.engine.init(A({canvas:t||C(),antialiasing:!1},n))}},{key:\"setBundle\",value:function(e){this.compiledBundle=JSON.parse(JSON.stringify(e))}},{key:\"setDispatch\",value:function(e){return this.compiledBundle.context&&(this.compiledBundle.context.dispatch=e),this}},{key:\"setMaxIteration\",value:function(e){return this.compiledBundle.context&&(this.compiledBundle.context.maxIteration=e),this}},{key:\"setBinding\",value:function(e,t){var n=this;if(\"string\"===typeof e){var r=p()(t)||d()(t)||g()(t);if(this.compiledBundle&&this.compiledBundle.context){var o=this.compiledBundle.context.defines.find((function(t){return t.name===e}));if(o)return o.value=t,this;var i=this.compiledBundle.context.uniforms.find((function(t){return t.name===e}));i&&(r?(i.data=t,i.isReferer=!1,i.storageClass===S.Uniform?this.model&&this.model.updateUniform(e,t):this.model&&this.model.updateBuffer(e,t)):(i.isReferer=!0,i.data=t))}}else Object.keys(e).forEach((function(t){n.setBinding(t,e[t])}));return this}},{key:\"execute\",value:function(){var e=o()(y.a.mark((function e(){var t,n,r=this,o=arguments;return y.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=o.length>0&&void 0!==o[0]?o[0]:1,!this.dirty){e.next=6;break}return this.compiledBundle.context&&(t>1?this.compiledBundle.context.maxIteration=t:this.compiledBundle.context.maxIteration++),e.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(e){var t=e.isReferer;return t})).forEach((function(e){var t=e.data,n=e.name;r.model.confirmInput(t.model,n)})),n=0;n<t;n++)this.model.run();return this.engine.endFrame(),e.abrupt(\"return\",this);case 12:case\"end\":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"getOutput\",value:function(){var e=o()(y.a.mark((function e(){return y.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt(\"return\",this.model.readData());case 1:case\"end\":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"compile\",value:function(){var e=o()(y.a.mark((function e(){var t,n,r;return y.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.initPromise;case 2:return t=A({},this.compiledBundle.context),n=this.engine.supportWebGPU?this.engine.useWGSL?j.WGSL:j.GLSL450:j.GLSL100,r=this.compiledBundle.shaders[n],t.defines.filter((function(e){return e.runtime})).forEach((function(e){var t=\"\".concat(_).concat(e.name);r=r.replace(t,\"\".concat(e.value))})),t.shader=r,t.uniforms.forEach((function(e){if(!e.data&&e.storageClass===S.StorageBuffer){var n=1;e.type===O.FloatArray?n=1:e.type===O.Vector4FloatArray&&(n=4),e.data=new Float32Array(t.output.length*n).fill(0)}})),this.compiledBundle.context=t,e.next=11,this.engine.createComputeModel(this.compiledBundle.context);case 11:this.model=e.sent;case 12:case\"end\":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}]),e}(),Y=n(\"fbvF\"),X=n.n(Y),q=function(){function e(t,n){u()(this,e),this.attribute=void 0,this.buffer=void 0;var r=n.buffer,o=n.offset,i=n.stride,a=n.normalized,c=n.size,s=n.divisor;this.buffer=r,this.attribute={buffer:r.get(),offset:o||0,stride:i||0,normalized:a||!1,divisor:s||0},c&&(this.attribute.size=c)}return l()(e,[{key:\"get\",value:function(){return this.attribute}},{key:\"updateBuffer\",value:function(e){this.buffer.subData(e)}},{key:\"destroy\",value:function(){this.buffer.destroy()}}]),e}(),K=(N={},a()(N,w.POINTS,\"points\"),a()(N,w.LINES,\"lines\"),a()(N,w.LINE_LOOP,\"line loop\"),a()(N,w.LINE_STRIP,\"line strip\"),a()(N,w.TRIANGLES,\"triangles\"),a()(N,w.TRIANGLE_FAN,\"triangle fan\"),a()(N,w.TRIANGLE_STRIP,\"triangle strip\"),N),Z=(T={},a()(T,w.STATIC_DRAW,\"static\"),a()(T,w.DYNAMIC_DRAW,\"dynamic\"),a()(T,w.STREAM_DRAW,\"stream\"),T),$=(I={},a()(I,w.BYTE,\"int8\"),a()(I,w.UNSIGNED_INT,\"int16\"),a()(I,w.INT,\"int32\"),a()(I,w.UNSIGNED_BYTE,\"uint8\"),a()(I,w.UNSIGNED_SHORT,\"uint16\"),a()(I,w.UNSIGNED_INT,\"uint32\"),a()(I,w.FLOAT,\"float\"),I),Q=(P={},a()(P,w.ALPHA,\"alpha\"),a()(P,w.LUMINANCE,\"luminance\"),a()(P,w.LUMINANCE_ALPHA,\"luminance alpha\"),a()(P,w.RGB,\"rgb\"),a()(P,w.RGBA,\"rgba\"),a()(P,w.RGBA4,\"rgba4\"),a()(P,w.RGB5_A1,\"rgb5 a1\"),a()(P,w.RGB565,\"rgb565\"),a()(P,w.DEPTH_COMPONENT,\"depth\"),a()(P,w.DEPTH_STENCIL,\"depth stencil\"),P),J=(L={},a()(L,w.DONT_CARE,\"dont care\"),a()(L,w.NICEST,\"nice\"),a()(L,w.FASTEST,\"fast\"),L),ee=(D={},a()(D,w.NEAREST,\"nearest\"),a()(D,w.LINEAR,\"linear\"),a()(D,w.LINEAR_MIPMAP_LINEAR,\"mipmap\"),a()(D,w.NEAREST_MIPMAP_LINEAR,\"nearest mipmap linear\"),a()(D,w.LINEAR_MIPMAP_NEAREST,\"linear mipmap nearest\"),a()(D,w.NEAREST_MIPMAP_NEAREST,\"nearest mipmap nearest\"),D),te=(R={},a()(R,w.REPEAT,\"repeat\"),a()(R,w.CLAMP_TO_EDGE,\"clamp\"),a()(R,w.MIRRORED_REPEAT,\"mirror\"),R),ne=(F={},a()(F,w.NONE,\"none\"),a()(F,w.BROWSER_DEFAULT_WEBGL,\"browser\"),F),re=(B={},a()(B,w.NEVER,\"never\"),a()(B,w.ALWAYS,\"always\"),a()(B,w.LESS,\"less\"),a()(B,w.LEQUAL,\"lequal\"),a()(B,w.GREATER,\"greater\"),a()(B,w.GEQUAL,\"gequal\"),a()(B,w.EQUAL,\"equal\"),a()(B,w.NOTEQUAL,\"notequal\"),B),oe=(z={},a()(z,w.FUNC_ADD,\"add\"),a()(z,w.MIN_EXT,\"min\"),a()(z,w.MAX_EXT,\"max\"),a()(z,w.FUNC_SUBTRACT,\"subtract\"),a()(z,w.FUNC_REVERSE_SUBTRACT,\"reverse subtract\"),z),ie=(U={},a()(U,w.ZERO,\"zero\"),a()(U,w.ONE,\"one\"),a()(U,w.SRC_COLOR,\"src color\"),a()(U,w.ONE_MINUS_SRC_COLOR,\"one minus src color\"),a()(U,w.SRC_ALPHA,\"src alpha\"),a()(U,w.ONE_MINUS_SRC_ALPHA,\"one minus src alpha\"),a()(U,w.DST_COLOR,\"dst color\"),a()(U,w.ONE_MINUS_DST_COLOR,\"one minus dst color\"),a()(U,w.DST_ALPHA,\"dst alpha\"),a()(U,w.ONE_MINUS_DST_ALPHA,\"one minus dst alpha\"),a()(U,w.CONSTANT_COLOR,\"constant color\"),a()(U,w.ONE_MINUS_CONSTANT_COLOR,\"one minus constant color\"),a()(U,w.CONSTANT_ALPHA,\"constant alpha\"),a()(U,w.ONE_MINUS_CONSTANT_ALPHA,\"one minus constant alpha\"),a()(U,w.SRC_ALPHA_SATURATE,\"src alpha saturate\"),U),ae=(G={},a()(G,w.NEVER,\"never\"),a()(G,w.ALWAYS,\"always\"),a()(G,w.LESS,\"less\"),a()(G,w.LEQUAL,\"lequal\"),a()(G,w.GREATER,\"greater\"),a()(G,w.GEQUAL,\"gequal\"),a()(G,w.EQUAL,\"equal\"),a()(G,w.NOTEQUAL,\"notequal\"),G),ce=(V={},a()(V,w.ZERO,\"zero\"),a()(V,w.KEEP,\"keep\"),a()(V,w.REPLACE,\"replace\"),a()(V,w.INVERT,\"invert\"),a()(V,w.INCR,\"increment\"),a()(V,w.DECR,\"decrement\"),a()(V,w.INCR_WRAP,\"increment wrap\"),a()(V,w.DECR_WRAP,\"decrement wrap\"),V),ue=(W={},a()(W,w.FRONT,\"front\"),a()(W,w.BACK,\"back\"),W),se=function(){function e(t,n){u()(this,e),this.buffer=void 0;var r=n.data,o=n.usage,i=n.type;this.buffer=t.buffer({data:r,usage:Z[o||w.STATIC_DRAW],type:$[i||w.UNSIGNED_BYTE]})}return l()(e,[{key:\"get\",value:function(){return this.buffer}},{key:\"destroy\",value:function(){}},{key:\"subData\",value:function(e){var t=e.data,n=e.offset;this.buffer.subdata(t,n)}}]),e}(),le=n(\"RIqP\"),fe=n.n(le);function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function he(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?de(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var pe=\"attribute vec3 a_Position;\\nattribute vec2 a_TexCoord;\\n\\nvarying vec2 v_TexCoord;\\n\\nvoid main() {\\n  gl_Position = vec4(a_Position, 1.0);\\n  v_TexCoord = a_TexCoord;\\n}\",ve=0,ge=!1,me=function(){function e(t,n){var r=this;u()(this,e),this.reGl=t,this.context=n,this.entity=x(),this.texFBO=void 0,this.computeCommand=void 0,this.textureCache={},this.outputTextureName=void 0,this.swapOutputTextureName=void 0,this.compiledPingpong=void 0,this.dynamicPingpong=void 0;var o={};this.context.uniforms.forEach((function(e){var t=e.name,n=e.type,i=e.data,a=e.isReferer,c=e.storageClass;if(c===S.StorageBuffer){if(a)r.textureCache[t]={data:void 0},o[\"\".concat(t,\"Size\")]=function(){return i.compiledBundle.context.output.textureSize};else{r.textureCache[t]=r.calcDataTexture(t,n,i);var u=r.textureCache[t],s=u.textureWidth,l=u.isOutput;o[\"\".concat(t,\"Size\")]=[s,s],l&&(r.outputTextureName=t,r.context.needPingpong&&(r.outputTextureName=\"\".concat(t,\"Output\"),r.textureCache[r.outputTextureName]=r.calcDataTexture(t,n,i)))}o[t]=function(){return ge&&console.log(\"[\".concat(r.entity,\"]: \").concat(t,\" \").concat(r.textureCache[t].id)),r.textureCache[t].texture}}else if(c===S.Uniform){if(i&&(Array.isArray(i)||d()(i))&&i.length>16)throw new Error(\"invalid data type \".concat(n));o[t]=function(){return e.data}}}));var i=this.getOuputDataTexture(),a=i.textureWidth,c=i.texelCount;o.u_OutputTextureSize=[a,a],o.u_OutputTexelCount=c,this.context.output.textureSize=[a,a];var s={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:o,vert:pe,primitive:\"triangle strip\",count:4};this.computeCommand=this.reGl(s)}return l()(e,[{key:\"run\",value:function(){var e=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(){e.computeCommand()})),ge&&console.log(\"[\".concat(this.entity,\"]: output \").concat(this.getOuputDataTexture().id))}},{key:\"readData\",value:function(){var e=o()(y.a.mark((function e(){var t,n,r,o,i,a,c,u,s=this;return y.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.reGl({framebuffer:this.texFBO})((function(){t=s.reGl.read()})),!t){e.next=6;break}if(n=this.getOuputDataTexture(),r=n.originalDataLength,o=n.elementsPerTexel,i=n.typedArrayConstructor,a=void 0===i?Float32Array:i,c=[],4!==o)for(u=0;u<t.length;u+=4)1===o?c.push(t[u]):2===o?c.push(t[u],t[u+1]):c.push(t[u],t[u+1],t[u+2]);else c=t;return e.abrupt(\"return\",new a(c.slice(0,r)));case 6:return e.abrupt(\"return\",new Float32Array);case 7:case\"end\":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:\"confirmInput\",value:function(e,t){var n;this.entity===e.entity?(this.dynamicPingpong=!0,n=this):n=e,this.textureCache[t].id=n.getOuputDataTexture().id,this.textureCache[t].texture=n.getOuputDataTexture().texture,ge&&console.log(\"[\".concat(this.entity,\"]: confirm input \").concat(t,\" from model \").concat(n.entity,\", \").concat(n.getOuputDataTexture().id))}},{key:\"updateUniform\",value:function(){}},{key:\"updateBuffer\",value:function(e,t){var n=this.context.uniforms.find((function(t){var n=t.name;return n===e}));if(n){var r=this.calcDataTexture(e,n.type,t),o=r.texture,i=r.data;this.textureCache[e].data=i,this.textureCache[e].texture=o}}},{key:\"destroy\",value:function(){}},{key:\"swap\",value:function(){if(this.swapOutputTextureName||this.createSwapOutputDataTexture(),this.compiledPingpong){var e=this.context.output.name;this.textureCache[e].id=this.getOuputDataTexture().id,this.textureCache[e].texture=this.getOuputDataTexture().texture}var t=this.outputTextureName;this.outputTextureName=this.swapOutputTextureName,this.swapOutputTextureName=t,ge&&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 e=this.cloneDataTexture(this.getOuputDataTexture());this.swapOutputTextureName=\"\".concat(this.entity,\"-swap\"),this.textureCache[this.swapOutputTextureName]=e}},{key:\"cloneDataTexture\",value:function(e){var t=e.data,n=e.textureWidth;return he(he({},e),{},{id:ve++,texture:this.reGl.texture({width:n,height:n,data:t,type:\"float\"})})}},{key:\"calcDataTexture\",value:function(e,t,n){var r=1;t===O.Vector4FloatArray&&(r=4);for(var o=[],i=0;i<n.length;i+=r)1===r?o.push(n[i],0,0,0):2===r?o.push(n[i],n[i+1],0,0):3===r?o.push(n[i],n[i+1],n[i+2],0):4===r&&o.push(n[i],n[i+1],n[i+2],n[i+3]);var a=n.length,c=Math.ceil(a/r),u=Math.ceil(Math.sqrt(c)),s=u*u;c<s&&o.push.apply(o,fe()(new Array(4*(s-c)).fill(0)));var l=this.reGl.texture({width:u,height:u,data:o,type:\"float\"});return{id:ve++,data:o,originalDataLength:a,typedArrayConstructor:d()(n)?n.constructor:void 0,textureWidth:u,texture:l,texelCount:c,elementsPerTexel:r,isOutput:e===this.context.output.name}}}]),e}(),ye=function(){function e(t,n){u()(this,e),this.elements=void 0;var r=n.data,o=n.usage,i=n.type,a=n.count;this.elements=t.elements({data:r,usage:Z[o||w.STATIC_DRAW],type:$[i||w.UNSIGNED_BYTE],count:a})}return l()(e,[{key:\"get\",value:function(){return this.elements}},{key:\"subData\",value:function(e){var t=e.data;this.elements.subdata(t)}},{key:\"destroy\",value:function(){this.elements.destroy()}}]),e}(),be=function(){function e(t,n){u()(this,e),this.framebuffer=void 0;var r=n.width,o=n.height,i=n.color,a=n.colors,c=(n.depth,n.stencil,{width:r,height:o});Array.isArray(a)&&(c.colors=a.map((function(e){return e.get()}))),i&&\"boolean\"!==typeof i&&(c.color=i.get()),this.framebuffer=t.framebuffer(c)}return l()(e,[{key:\"get\",value:function(){return this.framebuffer}},{key:\"destroy\",value:function(){this.framebuffer.destroy()}},{key:\"resize\",value:function(e){var t=e.width,n=e.height;this.framebuffer.resize(t,n)}}]),e}(),xe=n(\"cDf5\"),we=n.n(xe),Oe=n(\"YO3V\"),Ee=n.n(Oe);function Se(e){var t={};return Object.keys(e).forEach((function(n){je(n,e[n],t,\"\")})),t}function je(e,t,n,r){null===t||\"number\"===typeof t||\"boolean\"===typeof t||Array.isArray(t)&&\"number\"===typeof t[0]||d()(t)||\"\"===t||void 0!==t.resize?n[\"\".concat(r&&r+\".\").concat(e)]=t:(Ee()(t)&&Object.keys(t).forEach((function(o){je(o,t[o],n,\"\".concat(r&&r+\".\").concat(e))})),Array.isArray(t)&&t.forEach((function(t,o){Object.keys(t).forEach((function(i){je(i,t[i],n,\"\".concat(r&&r+\".\").concat(e,\"[\").concat(o,\"]\"))}))})))}function ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ke(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ce=function(){function e(t,n){u()(this,e),this.reGl=void 0,this.drawCommand=void 0,this.uniforms={},this.reGl=t;var r=n.vs,o=n.fs,i=n.defines,a=n.attributes,c=n.uniforms,s=n.primitive,l=n.count,f=n.elements,d=n.depth,h=n.blend,p=n.stencil,v=n.cull,g=n.instances,m=n.scissor,y=n.viewport,b={};c&&(this.uniforms=Se(c),Object.keys(c).forEach((function(e){b[e]=t.prop(e)})));var x={};Object.keys(a).forEach((function(e){x[e]=a[e].get()}));var O=i&&this.generateDefines(i)||\"\",E={attributes:x,frag:\"#ifdef GL_FRAGMENT_PRECISION_HIGH\\n  precision highp float;\\n#else\\n  precision mediump float;\\n#endif\\n\".concat(O,\"\\n\").concat(o),uniforms:b,vert:\"\\n\".concat(O,\"\\n\").concat(r),primitive:K[void 0===s?w.TRIANGLES:s]};g&&(E.instances=g),l&&(E.count=l),f&&(E.elements=f.get()),m&&(E.scissor=m),y&&(E.viewport=y),this.initDepthDrawParams({depth:d},E),this.initBlendDrawParams({blend:h},E),this.initStencilDrawParams({stencil:p},E),this.initCullDrawParams({cull:v},E),this.drawCommand=t(E)}return l()(e,[{key:\"addUniforms\",value:function(e){this.uniforms=_e(_e({},this.uniforms),Se(e))}},{key:\"draw\",value:function(e){var t=_e(_e({},this.uniforms),Se(e.uniforms||{})),n={};Object.keys(t).forEach((function(e){var r=we()(t[e]);\"boolean\"===r||\"number\"===r||Array.isArray(t[e])||t[e].BYTES_PER_ELEMENT?n[e]=t[e]:\"string\"===r||(n[e]=t[e].get())})),this.drawCommand(n)}},{key:\"destroy\",value:function(){}},{key:\"initDepthDrawParams\",value:function(e,t){var n=e.depth;n&&(t.depth={enable:void 0===n.enable||!!n.enable,mask:void 0===n.mask||!!n.mask,func:re[n.func||w.LESS],range:n.range||[0,1]})}},{key:\"initBlendDrawParams\",value:function(e,t){var n=e.blend;if(n){var r=n.enable,o=n.func,i=n.equation,a=n.color,c=void 0===a?[0,0,0,0]:a;t.blend={enable:!!r,func:{srcRGB:ie[o&&o.srcRGB||w.SRC_ALPHA],srcAlpha:ie[o&&o.srcAlpha||w.SRC_ALPHA],dstRGB:ie[o&&o.dstRGB||w.ONE_MINUS_SRC_ALPHA],dstAlpha:ie[o&&o.dstAlpha||w.ONE_MINUS_SRC_ALPHA]},equation:{rgb:oe[i&&i.rgb||w.FUNC_ADD],alpha:oe[i&&i.alpha||w.FUNC_ADD]},color:c}}}},{key:\"initStencilDrawParams\",value:function(e,t){var n=e.stencil;if(n){var r=n.enable,o=n.mask,i=void 0===o?-1:o,a=n.func,c=void 0===a?{cmp:w.ALWAYS,ref:0,mask:-1}:a,u=n.opFront,s=void 0===u?{fail:w.KEEP,zfail:w.KEEP,zpass:w.KEEP}:u,l=n.opBack,f=void 0===l?{fail:w.KEEP,zfail:w.KEEP,zpass:w.KEEP}:l;t.stencil={enable:!!r,mask:i,func:_e(_e({},c),{},{cmp:ae[c.cmp]}),opFront:{fail:ce[s.fail],zfail:ce[s.zfail],zpass:ce[s.zpass]},opBack:{fail:ce[f.fail],zfail:ce[f.zfail],zpass:ce[f.zpass]}}}}},{key:\"initCullDrawParams\",value:function(e,t){var n=e.cull;if(n){var r=n.enable,o=n.face,i=void 0===o?w.BACK:o;t.cull={enable:!!r,face:ue[i]}}}},{key:\"generateDefines\",value:function(e){return Object.keys(e).map((function(t){return\"#define \".concat(t,\" \").concat(Number(e[t]))})).join(\"\\n\")}}]),e}(),Me=function(){function e(t,n){u()(this,e),this.texture=void 0,this.width=void 0,this.height=void 0;var r=n.data,o=n.type,i=void 0===o?w.UNSIGNED_BYTE:o,a=n.width,c=n.height,s=n.flipY,l=void 0!==s&&s,f=n.format,d=void 0===f?w.RGBA:f,h=n.mipmap,p=void 0!==h&&h,v=n.wrapS,g=void 0===v?w.CLAMP_TO_EDGE:v,m=n.wrapT,y=void 0===m?w.CLAMP_TO_EDGE:m,b=n.aniso,x=void 0===b?0:b,O=n.alignment,E=void 0===O?1:O,S=n.premultiplyAlpha,j=void 0!==S&&S,k=n.mag,_=void 0===k?w.NEAREST:k,C=n.min,M=void 0===C?w.NEAREST:C,A=n.colorSpace,N=void 0===A?w.BROWSER_DEFAULT_WEBGL:A;this.width=a,this.height=c;var T={width:a,height:c,type:$[i],format:Q[d],wrapS:te[g],wrapT:te[y],mag:ee[_],min:ee[M],alignment:E,flipY:l,colorSpace:ne[N],premultiplyAlpha:j,aniso:x};r&&(T.data=r),\"number\"===typeof p?T.mipmap=J[p]:\"boolean\"===typeof p&&(T.mipmap=p),this.texture=t.texture(T)}return l()(e,[{key:\"get\",value:function(){return this.texture}},{key:\"update\",value:function(){this.texture._texture.bind()}},{key:\"resize\",value:function(e){var t=e.width,n=e.height;this.texture.resize(t,n),this.width=t,this.height=n}},{key:\"destroy\",value:function(){this.texture.destroy()}}]),e}(),Ae=function(){function e(){var t=this;u()(this,e),this.supportWebGPU=!1,this.useWGSL=!1,this.$canvas=void 0,this.gl=void 0,this.inited=void 0,this.createModel=function(){var e=o()(y.a.mark((function e(n){return y.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!n.uniforms){e.next=3;break}return e.next=3,Promise.all(Object.keys(n.uniforms).map(function(){var e=o()(y.a.mark((function e(t){var r;return y.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!n.uniforms[t]||void 0===n.uniforms[t].load){e.next=5;break}return e.next=3,n.uniforms[t].load();case 3:r=e.sent,n.uniforms[t]=r;case 5:case\"end\":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 3:return e.abrupt(\"return\",new Ce(t.gl,n));case 4:case\"end\":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.createAttribute=function(e){return new q(t.gl,e)},this.createBuffer=function(e){return new se(t.gl,e)},this.createElements=function(e){return new ye(t.gl,e)},this.createTexture2D=function(e){return new Me(t.gl,e)},this.createFramebuffer=function(e){return new be(t.gl,e)},this.useFramebuffer=function(e,n){t.gl({framebuffer:e?e.get():null})(n)},this.createComputeModel=function(){var e=o()(y.a.mark((function e(n){return y.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt(\"return\",new me(t.gl,n));case 1:case\"end\":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.clear=function(e){var n=e.color,r=e.depth,o=e.stencil,i=e.framebuffer,a=void 0===i?null:i,c={color:n,depth:r,stencil:o};c.framebuffer=null===a?a:a.get(),t.gl.clear(c)},this.setScissor=function(e){t.gl&&t.gl._gl&&(e.enable&&e.box?(t.gl._gl.enable(w.SCISSOR_TEST),t.gl._gl.scissor(e.box.x,e.box.y,e.box.width,e.box.height)):t.gl._gl.disable(w.SCISSOR_TEST),t.gl._refresh())},this.viewport=function(e){var n=e.x,r=e.y,o=e.width,i=e.height;t.gl&&t.gl._gl&&(t.gl._gl.viewport(n,r,o,i),t.gl._refresh())},this.readPixels=function(e){var n=e.framebuffer,r=e.x,o=e.y,i=e.width,a=e.height,c={x:r,y:o,width:i,height:a};return n&&(c.framebuffer=n.get()),t.gl.read(c)},this.getCanvas=function(){return t.$canvas},this.getGLContext=function(){return t.gl._gl},this.destroy=function(){t.gl&&(t.gl.destroy(),t.inited=!1)}}return l()(e,[{key:\"init\",value:function(){var e=o()(y.a.mark((function e(t){return y.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.inited){e.next=2;break}return e.abrupt(\"return\");case 2:return this.$canvas=t.canvas,e.next=5,new Promise((function(e,n){X()({canvas:t.canvas,attributes:{alpha:!0,antialias:t.antialias,premultipliedAlpha:!0},pixelRatio:1,extensions:[\"OES_element_index_uint\",\"OES_texture_float\",\"OES_standard_derivatives\",\"angle_instanced_arrays\"],optionalExtensions:[\"EXT_texture_filter_anisotropic\",\"EXT_blend_minmax\",\"WEBGL_depth_texture\"],profile:!0,onDone:function(t,r){!t&&r||n(t),e(r)}})}));case 5:this.gl=e.sent,this.inited=!0;case 7:case\"end\":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:\"isFloatSupported\",value:function(){return this.gl.limits.readFloat}},{key:\"beginFrame\",value:function(){}},{key:\"endFrame\",value:function(){}}]),e}(),Ne=function(){function e(){u()(this,e),this.engine=void 0,this.configService=new k}return l()(e,[{key:\"setConfig\",value:function(e){this.configService.set(e)}},{key:\"setEngine\",value:function(e){this.engine=e}},{key:\"createEntity\",value:function(){return x()}},{key:\"createKernel\",value:function(e){var t=new H(this.engine,this.configService);return\"string\"===typeof e?t.setBundle(JSON.parse(e)):t.setBundle(e),t.init(),t}},{key:\"destroy\",value:function(){this.engine.destroy()}}],[{key:\"create\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=new e;return n.setConfig(t),n.setEngine(new Ae),n}}]),e}()},ofBz:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"ntOU\"),i=n(\"HYAF\"),a=n(\"UMSQ\"),c=n(\"HAuM\"),u=n(\"glrk\"),s=n(\"xrYK\"),l=n(\"ROdP\"),f=n(\"rW0t\"),d=n(\"kRJp\"),h=n(\"0Dky\"),p=n(\"tiKp\"),v=n(\"SEBh\"),g=n(\"iqWW\"),m=n(\"afO8\"),y=n(\"xDBR\"),b=p(\"matchAll\"),x=\"RegExp String\",w=x+\" Iterator\",O=m.set,E=m.getterFor(w),S=RegExp.prototype,j=S.exec,k=\"\".matchAll,_=!!k&&!h((function(){\"a\".matchAll(/./)})),C=function(e,t){var n,r=e.exec;if(\"function\"==typeof r){if(n=r.call(e,t),\"object\"!=typeof n)throw TypeError(\"Incorrect exec result\");return n}return j.call(e,t)},M=o((function(e,t,n,r){O(this,{type:w,regexp:e,string:t,global:n,unicode:r,done:!1})}),x,(function(){var e=E(this);if(e.done)return{value:void 0,done:!0};var t=e.regexp,n=e.string,r=C(t,n);return null===r?{value:void 0,done:e.done=!0}:e.global?(\"\"==String(r[0])&&(t.lastIndex=g(n,a(t.lastIndex),e.unicode)),{value:r,done:!1}):(e.done=!0,{value:r,done:!1})})),A=function(e){var t,n,r,o,i,c,s=u(this),l=String(e);return t=v(s,RegExp),n=s.flags,void 0===n&&s instanceof RegExp&&!(\"flags\"in S)&&(n=f.call(s)),r=void 0===n?\"\":String(n),o=new t(t===RegExp?s.source:s,r),i=!!~r.indexOf(\"g\"),c=!!~r.indexOf(\"u\"),o.lastIndex=a(s.lastIndex),new M(o,l,i,c)};r({target:\"String\",proto:!0,forced:_},{matchAll:function(e){var t,n,r,o,a=i(this);if(null!=e){if(l(e)&&(t=String(i(\"flags\"in S?e.flags:f.call(e))),!~t.indexOf(\"g\")))throw TypeError(\"`.matchAll` does not allow non-global regexes\");if(_)return k.apply(a,arguments);if(r=e[b],void 0===r&&y&&\"RegExp\"==s(e)&&(r=A),null!=r)return c(r).call(e,a)}else if(_)return k.apply(a,arguments);return n=String(a),o=new RegExp(e,\"g\"),y?A.call(o,n):o[b](n)}}),y||b in S||d(S,b,A)},onlc:function(e,t,n){var r=n(\"t1N5\");function o(){for(var e={},t=Object.keys(r),n=t.length,o=0;o<n;o++)e[t[o]]={distance:-1,parent:null};return e}function i(e){var t=o(),n=[e];t[e].distance=0;while(n.length)for(var i=n.pop(),a=Object.keys(r[i]),c=a.length,u=0;u<c;u++){var s=a[u],l=t[s];-1===l.distance&&(l.distance=t[i].distance+1,l.parent=i,n.unshift(s))}return t}function a(e,t){return function(n){return t(e(n))}}function c(e,t){var n=[t[e].parent,e],o=r[t[e].parent][e],i=t[e].parent;while(t[i].parent)n.unshift(t[i].parent),o=a(r[t[i].parent][i],o),i=t[i].parent;return o.conversion=n,o}e.exports=function(e){for(var t=i(e),n={},r=Object.keys(t),o=r.length,a=0;a<o;a++){var u=r[a],s=t[u];null!==s.parent&&(n[u]=c(u,t))}return n}},or5M:function(e,t,n){var r=n(\"1hJj\"),o=n(\"QoRX\"),i=n(\"xYSL\"),a=1,c=2;function u(e,t,n,u,s,l){var f=n&a,d=e.length,h=t.length;if(d!=h&&!(f&&h>d))return!1;var p=l.get(e),v=l.get(t);if(p&&v)return p==t&&v==e;var g=-1,m=!0,y=n&c?new r:void 0;l.set(e,t),l.set(t,e);while(++g<d){var b=e[g],x=t[g];if(u)var w=f?u(x,b,g,t,e,l):u(b,x,g,e,t,l);if(void 0!==w){if(w)continue;m=!1;break}if(y){if(!o(t,(function(e,t){if(!i(y,t)&&(b===e||s(b,e,n,u,l)))return y.push(t)}))){m=!1;break}}else if(b!==x&&!s(b,x,n,u,l)){m=!1;break}}return l[\"delete\"](e),l[\"delete\"](t),m}e.exports=u},or9q:function(e,t,n){\"use strict\";var r=n(\"6LWA\"),o=n(\"UMSQ\"),i=n(\"A2ZE\"),a=function(e,t,n,c,u,s,l,f){var d,h=u,p=0,v=!!l&&i(l,f,3);while(p<c){if(p in n){if(d=v?v(n[p],p,t):n[p],s>0&&r(d))h=a(e,t,d,o(d.length),h,s-1)-1;else{if(h>=9007199254740991)throw TypeError(\"Exceed the acceptable array length\");e[h]=d}h++}p++}return h};e.exports=a},p532:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"/qmn\"),a=n(\"0Dky\"),c=n(\"0GbY\"),u=n(\"SEBh\"),s=n(\"zfnd\"),l=n(\"busE\"),f=!!i&&a((function(){i.prototype[\"finally\"].call({then:function(){}},(function(){}))}));r({target:\"Promise\",proto:!0,real:!0,forced:f},{finally:function(e){var t=u(this,c(\"Promise\")),n=\"function\"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}}),o||\"function\"!=typeof i||i.prototype[\"finally\"]||l(i.prototype,\"finally\",c(\"Promise\").prototype[\"finally\"])},p5mE:function(e,t,n){var r=n(\"Tskq\"),o=n(\"ENF9\"),i=n(\"fHMY\"),a=n(\"hh1v\"),c=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=i(null)};c.prototype.get=function(e,t){return this[e]||(this[e]=t())},c.prototype.next=function(e,t,n){var i=n?this.objectsByIndex[e]||(this.objectsByIndex[e]=new o):this.primitives||(this.primitives=new r),a=i.get(t);return a||i.set(t,a=new c),a};var u=new c;e.exports=function(){var e,t,n=u,r=arguments.length;for(e=0;e<r;e++)a(t=arguments[e])&&(n=n.next(e,t,!0));if(this===Object&&n===u)throw TypeError(\"Composite keys must contain a non-primitive component\");for(e=0;e<r;e++)a(t=arguments[e])||(n=n.next(e,t,!1));return n}},pA7S:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"ETIr\"),n(\"cv67\"),n(\"K3mO\"),n(\"OLod\"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=n.BlockCipher,i=t.algo,a=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],s=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],l=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],f=i.DES=o.extend({_doReset:function(){for(var e=this._key,t=e.words,n=[],r=0;r<56;r++){var o=a[r]-1;n[r]=t[o>>>5]>>>31-o%32&1}for(var i=this._subKeys=[],s=0;s<16;s++){var l=i[s]=[],f=u[s];for(r=0;r<24;r++)l[r/6|0]|=n[(c[r]-1+f)%28]<<31-r%6,l[4+(r/6|0)]|=n[28+(c[r+24]-1+f)%28]<<31-r%6;l[0]=l[0]<<1|l[0]>>>31;for(r=1;r<7;r++)l[r]=l[r]>>>4*(r-1)+3;l[7]=l[7]<<5|l[7]>>>27}var d=this._invSubKeys=[];for(r=0;r<16;r++)d[r]=i[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],d.call(this,4,252645135),d.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),d.call(this,1,1431655765);for(var r=0;r<16;r++){for(var o=n[r],i=this._lBlock,a=this._rBlock,c=0,u=0;u<8;u++)c|=s[u][((a^o[u])&l[u])>>>0];this._lBlock=a,this._rBlock=i^c}var f=this._lBlock;this._lBlock=this._rBlock,this._rBlock=f,d.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function h(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}t.DES=o._createHelper(f);var p=i.TripleDES=o.extend({_doReset:function(){var e=this._key,t=e.words;if(2!==t.length&&4!==t.length&&t.length<6)throw new Error(\"Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.\");var n=t.slice(0,2),o=t.length<4?t.slice(0,2):t.slice(2,4),i=t.length<6?t.slice(0,2):t.slice(4,6);this._des1=f.createEncryptor(r.create(n)),this._des2=f.createEncryptor(r.create(o)),this._des3=f.createEncryptor(r.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=o._createHelper(p)}(),e.TripleDES}))},pDQq:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"I8vh\"),i=n(\"ppGB\"),a=n(\"UMSQ\"),c=n(\"ewvW\"),u=n(\"ZfDv\"),s=n(\"hBjN\"),l=n(\"Hd5f\"),f=n(\"rkAj\"),d=l(\"splice\"),h=f(\"splice\",{ACCESSORS:!0,0:0,1:2}),p=Math.max,v=Math.min,g=9007199254740991,m=\"Maximum allowed length exceeded\";r({target:\"Array\",proto:!0,forced:!d||!h},{splice:function(e,t){var n,r,l,f,d,h,y=c(this),b=a(y.length),x=o(e,b),w=arguments.length;if(0===w?n=r=0:1===w?(n=0,r=b-x):(n=w-2,r=v(p(i(t),0),b-x)),b+n-r>g)throw TypeError(m);for(l=u(y,r),f=0;f<r;f++)d=x+f,d in y&&s(l,f,y[d]);if(l.length=r,n<r){for(f=x;f<b-r;f++)d=f+r,h=f+n,d in y?y[h]=y[d]:delete y[h];for(f=b;f>b-r+n;f--)delete y[f-1]}else if(n>r)for(f=b-r;f>x;f--)d=f+r-1,h=f+n-1,d in y?y[h]=y[d]:delete y[h];for(f=0;f<n;f++)y[f+x]=arguments[f+2];return y.length=b-r+n,l}})},\"pED+\":function(e,t,n){},pNMO:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"2oRo\"),i=n(\"0GbY\"),a=n(\"xDBR\"),c=n(\"g6v/\"),u=n(\"STAE\"),s=n(\"/b8u\"),l=n(\"0Dky\"),f=n(\"UTVS\"),d=n(\"6LWA\"),h=n(\"hh1v\"),p=n(\"glrk\"),v=n(\"ewvW\"),g=n(\"/GqU\"),m=n(\"wE6v\"),y=n(\"XGwC\"),b=n(\"fHMY\"),x=n(\"33Wh\"),w=n(\"JBy8\"),O=n(\"BX/b\"),E=n(\"dBg+\"),S=n(\"Bs8V\"),j=n(\"m/L8\"),k=n(\"0eef\"),_=n(\"kRJp\"),C=n(\"busE\"),M=n(\"VpIT\"),A=n(\"93I0\"),N=n(\"0BK2\"),T=n(\"kOOl\"),I=n(\"tiKp\"),P=n(\"5Tg+\"),L=n(\"dG/n\"),D=n(\"1E5z\"),R=n(\"afO8\"),F=n(\"tycR\").forEach,B=A(\"hidden\"),z=\"Symbol\",U=\"prototype\",G=I(\"toPrimitive\"),V=R.set,W=R.getterFor(z),H=Object[U],Y=o.Symbol,X=i(\"JSON\",\"stringify\"),q=S.f,K=j.f,Z=O.f,$=k.f,Q=M(\"symbols\"),J=M(\"op-symbols\"),ee=M(\"string-to-symbol-registry\"),te=M(\"symbol-to-string-registry\"),ne=M(\"wks\"),re=o.QObject,oe=!re||!re[U]||!re[U].findChild,ie=c&&l((function(){return 7!=b(K({},\"a\",{get:function(){return K(this,\"a\",{value:7}).a}})).a}))?function(e,t,n){var r=q(H,t);r&&delete H[t],K(e,t,n),r&&e!==H&&K(H,t,r)}:K,ae=function(e,t){var n=Q[e]=b(Y[U]);return V(n,{type:z,tag:e,description:t}),c||(n.description=t),n},ce=s?function(e){return\"symbol\"==typeof e}:function(e){return Object(e)instanceof Y},ue=function(e,t,n){e===H&&ue(J,t,n),p(e);var r=m(t,!0);return p(n),f(Q,r)?(n.enumerable?(f(e,B)&&e[B][r]&&(e[B][r]=!1),n=b(n,{enumerable:y(0,!1)})):(f(e,B)||K(e,B,y(1,{})),e[B][r]=!0),ie(e,r,n)):K(e,r,n)},se=function(e,t){p(e);var n=g(t),r=x(n).concat(pe(n));return F(r,(function(t){c&&!fe.call(n,t)||ue(e,t,n[t])})),e},le=function(e,t){return void 0===t?b(e):se(b(e),t)},fe=function(e){var t=m(e,!0),n=$.call(this,t);return!(this===H&&f(Q,t)&&!f(J,t))&&(!(n||!f(this,t)||!f(Q,t)||f(this,B)&&this[B][t])||n)},de=function(e,t){var n=g(e),r=m(t,!0);if(n!==H||!f(Q,r)||f(J,r)){var o=q(n,r);return!o||!f(Q,r)||f(n,B)&&n[B][r]||(o.enumerable=!0),o}},he=function(e){var t=Z(g(e)),n=[];return F(t,(function(e){f(Q,e)||f(N,e)||n.push(e)})),n},pe=function(e){var t=e===H,n=Z(t?J:g(e)),r=[];return F(n,(function(e){!f(Q,e)||t&&!f(H,e)||r.push(Q[e])})),r};if(u||(Y=function(){if(this instanceof Y)throw TypeError(\"Symbol is not a constructor\");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=T(e),n=function(e){this===H&&n.call(J,e),f(this,B)&&f(this[B],t)&&(this[B][t]=!1),ie(this,t,y(1,e))};return c&&oe&&ie(H,t,{configurable:!0,set:n}),ae(t,e)},C(Y[U],\"toString\",(function(){return W(this).tag})),C(Y,\"withoutSetter\",(function(e){return ae(T(e),e)})),k.f=fe,j.f=ue,S.f=de,w.f=O.f=he,E.f=pe,P.f=function(e){return ae(I(e),e)},c&&(K(Y[U],\"description\",{configurable:!0,get:function(){return W(this).description}}),a||C(H,\"propertyIsEnumerable\",fe,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:Y}),F(x(ne),(function(e){L(e)})),r({target:z,stat:!0,forced:!u},{for:function(e){var t=String(e);if(f(ee,t))return ee[t];var n=Y(t);return ee[t]=n,te[n]=t,n},keyFor:function(e){if(!ce(e))throw TypeError(e+\" is not a symbol\");if(f(te,e))return te[e]},useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),r({target:\"Object\",stat:!0,forced:!u,sham:!c},{create:le,defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:de}),r({target:\"Object\",stat:!0,forced:!u},{getOwnPropertyNames:he,getOwnPropertySymbols:pe}),r({target:\"Object\",stat:!0,forced:l((function(){E.f(1)}))},{getOwnPropertySymbols:function(e){return E.f(v(e))}}),X){var ve=!u||l((function(){var e=Y();return\"[null]\"!=X([e])||\"{}\"!=X({a:e})||\"{}\"!=X(Object(e))}));r({target:\"JSON\",stat:!0,forced:ve},{stringify:function(e,t,n){var r,o=[e],i=1;while(arguments.length>i)o.push(arguments[i++]);if(r=t,(h(t)||void 0!==e)&&!ce(e))return d(t)||(t=function(e,t){if(\"function\"==typeof r&&(t=r.call(this,e,t)),!ce(t))return t}),o[1]=t,X.apply(null,o)}})}Y[U][G]||_(Y[U],G,Y[U].valueOf),D(Y,z),N[B]=!0},pSRY:function(e,t,n){var r=n(\"QkVE\");function o(e){return r(this,e).has(e)}e.exports=o},pVnL:function(e,t){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports[\"default\"]=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},pevA:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"g6v/\"),i=n(\"JiZb\"),a=n(\"HAuM\"),c=n(\"glrk\"),u=n(\"hh1v\"),s=n(\"GarU\"),l=n(\"m/L8\").f,f=n(\"kRJp\"),d=n(\"4syw\"),h=n(\"mh/w\"),p=n(\"ImZN\"),v=n(\"RN6c\"),g=n(\"tiKp\"),m=n(\"afO8\"),y=g(\"observable\"),b=m.get,x=m.set,w=function(e){return null==e?void 0:a(e)},O=function(e){var t=e.cleanup;if(t){e.cleanup=void 0;try{t()}catch(n){v(n)}}},E=function(e){return void 0===e.observer},S=function(e,t){if(!o){e.closed=!0;var n=t.subscriptionObserver;n&&(n.closed=!0)}t.observer=void 0},j=function(e,t){var n,r=x(this,{cleanup:void 0,observer:c(e),subscriptionObserver:void 0});o||(this.closed=!1);try{(n=w(e.start))&&n.call(e,this)}catch(l){v(l)}if(!E(r)){var i=r.subscriptionObserver=new k(this);try{var u=t(i),s=u;null!=u&&(r.cleanup=\"function\"===typeof u.unsubscribe?function(){s.unsubscribe()}:a(u))}catch(l){return void i.error(l)}E(r)&&O(r)}};j.prototype=d({},{unsubscribe:function(){var e=b(this);E(e)||(S(this,e),O(e))}}),o&&l(j.prototype,\"closed\",{configurable:!0,get:function(){return E(b(this))}});var k=function(e){x(this,{subscription:e}),o||(this.closed=!1)};k.prototype=d({},{next:function(e){var t=b(b(this).subscription);if(!E(t)){var n=t.observer;try{var r=w(n.next);r&&r.call(n,e)}catch(o){v(o)}}},error:function(e){var t=b(this).subscription,n=b(t);if(!E(n)){var r=n.observer;S(t,n);try{var o=w(r.error);o?o.call(r,e):v(e)}catch(i){v(i)}O(n)}},complete:function(){var e=b(this).subscription,t=b(e);if(!E(t)){var n=t.observer;S(e,t);try{var r=w(n.complete);r&&r.call(n)}catch(o){v(o)}O(t)}}}),o&&l(k.prototype,\"closed\",{configurable:!0,get:function(){return E(b(b(this).subscription))}});var _=function(e){s(this,_,\"Observable\"),x(this,{subscriber:a(e)})};d(_.prototype,{subscribe:function(e){var t=arguments.length;return new j(\"function\"===typeof e?{next:e,error:t>1?arguments[1]:void 0,complete:t>2?arguments[2]:void 0}:u(e)?e:{},b(this).subscriber)}}),d(_,{from:function(e){var t=\"function\"===typeof this?this:_,n=w(c(e)[y]);if(n){var r=c(n.call(e));return r.constructor===t?r:new t((function(e){return r.subscribe(e)}))}var o=h(e);return new t((function(e){p(o,(function(t){if(e.next(t),e.closed)return p.stop()}),void 0,!1,!0),e.complete()}))},of:function(){var e=\"function\"===typeof this?this:_,t=arguments.length,n=new Array(t),r=0;while(r<t)n[r]=arguments[r++];return new e((function(e){for(var r=0;r<t;r++)if(e.next(n[r]),e.closed)return;e.complete()}))}}),f(_.prototype,y,(function(){return this})),r({global:!0},{Observable:_}),i(\"Observable\")},phjb:function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var o=n(\"Qy2L\"),i=n(\"75y8\"),a=r(n(\"R+vY\")),c=function(e){switch(e.graph().ranker){case\"network-simplex\":l(e);break;case\"tight-tree\":s(e);break;case\"longest-path\":u(e);break;default:s(e)}},u=o.longestPath,s=function(e){(0,o.longestPathWithLayer)(e),(0,i.feasibleTreeWithLayer)(e)},l=function(e){(0,a.default)(e)};t.default=c},pjDv:function(e,t,n){var r=n(\"I+eb\"),o=n(\"TfTi\"),i=n(\"HH4o\"),a=!i((function(e){Array.from(e)}));r({target:\"Array\",stat:!0,forced:a},{from:o})},pkCn:function(e,t,n){\"use strict\";var r=n(\"0Dky\");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},ppGB:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},pv2x:function(e,t,n){var r=n(\"I+eb\"),o=n(\"0GbY\"),i=n(\"HAuM\"),a=n(\"glrk\"),c=n(\"0Dky\"),u=o(\"Reflect\",\"apply\"),s=Function.apply,l=!c((function(){u((function(){}))}));r({target:\"Reflect\",stat:!0,forced:l},{apply:function(e,t,n){return i(e),a(n),u?u(e,t,n):s.call(e,t,n)}})},pwpV:function(e,t,n){},q1tI:function(e,t,n){\"use strict\";e.exports=n(\"viRO\")},qBft:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"OLod\"))})(0,(function(e){return e.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,r=4*t,o=r-n%r,i=n+o-1;e.clamp(),e.words[i>>>2]|=o<<24-i%4*8,e.sigBytes+=o},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923}))},qCM6:function(e,t,n){},qLMh:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(\"QyJ8\");function o(){o=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,i=\"function\"==typeof Symbol?Symbol:{},a=i.iterator||\"@@iterator\",c=i.asyncIterator||\"@@asyncIterator\",u=i.toStringTag||\"@@toStringTag\";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},\"\")}catch(C){s=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof h?t:h,i=Object.create(o.prototype),a=new j(r||[]);return i._invoke=function(e,t,n){var r=\"suspendedStart\";return function(o,i){if(\"executing\"===r)throw new Error(\"Generator is already running\");if(\"completed\"===r){if(\"throw\"===o)throw i;return _()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=O(a,n);if(c){if(c===d)continue;return c}}if(\"next\"===n.method)n.sent=n._sent=n.arg;else if(\"throw\"===n.method){if(\"suspendedStart\"===r)throw r=\"completed\",n.arg;n.dispatchException(n.arg)}else\"return\"===n.method&&n.abrupt(\"return\",n.arg);r=\"executing\";var u=f(e,t,n);if(\"normal\"===u.type){if(r=n.done?\"completed\":\"suspendedYield\",u.arg===d)continue;return{value:u.arg,done:n.done}}\"throw\"===u.type&&(r=\"completed\",n.method=\"throw\",n.arg=u.arg)}}}(e,n,a),i}function f(e,t,n){try{return{type:\"normal\",arg:e.call(t,n)}}catch(C){return{type:\"throw\",arg:C}}}e.wrap=l;var d={};function h(){}function p(){}function v(){}var g={};s(g,a,(function(){return this}));var m=Object.getPrototypeOf,y=m&&m(m(k([])));y&&y!==t&&n.call(y,a)&&(g=y);var b=v.prototype=h.prototype=Object.create(g);function x(e){[\"next\",\"throw\",\"return\"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function o(i,a,c,u){var s=f(e[i],e,a);if(\"throw\"!==s.type){var l=s.arg,d=l.value;return d&&\"object\"==Object(r[\"a\"])(d)&&n.call(d,\"__await\")?t.resolve(d.__await).then((function(e){o(\"next\",e,c,u)}),(function(e){o(\"throw\",e,c,u)})):t.resolve(d).then((function(e){l.value=e,c(l)}),(function(e){return o(\"throw\",e,c,u)}))}u(s.arg)}var i;this._invoke=function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}}function O(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,\"throw\"===t.method){if(e.iterator[\"return\"]&&(t.method=\"return\",t.arg=void 0,O(e,t),\"throw\"===t.method))return d;t.method=\"throw\",t.arg=new TypeError(\"The iterator does not provide a 'throw' method\")}return d}var r=f(n,e.iterator,t.arg);if(\"throw\"===r.type)return t.method=\"throw\",t.arg=r.arg,t.delegate=null,d;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,\"return\"!==t.method&&(t.method=\"next\",t.arg=void 0),t.delegate=null,d):o:(t.method=\"throw\",t.arg=new TypeError(\"iterator result is not an object\"),t.delegate=null,d)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type=\"normal\",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:\"root\"}],e.forEach(E,this),this.reset(!0)}function k(e){if(e){var t=e[a];if(t)return t.call(e);if(\"function\"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:_}}function _(){return{value:void 0,done:!0}}return p.prototype=v,s(b,\"constructor\",v),s(v,\"constructor\",p),p.displayName=s(v,u,\"GeneratorFunction\"),e.isGeneratorFunction=function(e){var t=\"function\"==typeof e&&e.constructor;return!!t&&(t===p||\"GeneratorFunction\"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,s(e,u,\"GeneratorFunction\")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},x(w.prototype),s(w.prototype,c,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new w(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(b),s(b,u,\"Generator\"),s(b,a,(function(){return this})),s(b,\"toString\",(function(){return\"[object Generator]\"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=k,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method=\"next\",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)\"t\"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(\"throw\"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type=\"throw\",a.arg=e,t.next=n,r&&(t.method=\"next\",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if(\"root\"===i.tryLoc)return r(\"end\");if(i.tryLoc<=this.prev){var c=n.call(i,\"catchLoc\"),u=n.call(i,\"finallyLoc\");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error(\"try statement without catch or finally\");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,\"finallyLoc\")&&this.prev<o.finallyLoc){var i=o;break}}i&&(\"break\"===e||\"continue\"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method=\"next\",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if(\"throw\"===e.type)throw e.arg;return\"break\"===e.type||\"continue\"===e.type?this.next=e.arg:\"return\"===e.type?(this.rval=this.arg=e.arg,this.method=\"return\",this.next=\"end\"):\"normal\"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if(\"throw\"===r.type){var o=r.arg;S(n)}return o}}throw new Error(\"illegal catch attempt\")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},\"next\"===this.method&&(this.arg=void 0),d}},e}},qM6L:function(e,t,n){(function(t,r){e.exports=r(n(\"Ib8C\"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=t.enc;o.Utf16=o.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o+=2){var i=t[o>>>2]>>>16-o%4*8&65535;r.push(String.fromCharCode(i))}return r.join(\"\")},parse:function(e){for(var t=e.length,n=[],o=0;o<t;o++)n[o>>>1]|=e.charCodeAt(o)<<16-o%2*16;return r.create(n,2*t)}};function i(e){return e<<8&4278255360|e>>>8&16711935}o.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o+=2){var a=i(t[o>>>2]>>>16-o%4*8&65535);r.push(String.fromCharCode(a))}return r.join(\"\")},parse:function(e){for(var t=e.length,n=[],o=0;o<t;o++)n[o>>>1]|=i(e.charCodeAt(o)<<16-o%2*16);return r.create(n,2*t)}}}(),e.enc.Utf16}))},qT12:function(e,t,n){\"use strict\";var r=\"function\"===typeof Symbol&&Symbol.for,o=r?Symbol.for(\"react.element\"):60103,i=r?Symbol.for(\"react.portal\"):60106,a=r?Symbol.for(\"react.fragment\"):60107,c=r?Symbol.for(\"react.strict_mode\"):60108,u=r?Symbol.for(\"react.profiler\"):60114,s=r?Symbol.for(\"react.provider\"):60109,l=r?Symbol.for(\"react.context\"):60110,f=r?Symbol.for(\"react.async_mode\"):60111,d=r?Symbol.for(\"react.concurrent_mode\"):60111,h=r?Symbol.for(\"react.forward_ref\"):60112,p=r?Symbol.for(\"react.suspense\"):60113,v=r?Symbol.for(\"react.suspense_list\"):60120,g=r?Symbol.for(\"react.memo\"):60115,m=r?Symbol.for(\"react.lazy\"):60116,y=r?Symbol.for(\"react.block\"):60121,b=r?Symbol.for(\"react.fundamental\"):60117,x=r?Symbol.for(\"react.responder\"):60118,w=r?Symbol.for(\"react.scope\"):60119;function O(e){if(\"object\"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type,e){case f:case d:case a:case u:case c:case p:return e;default:switch(e=e&&e.$$typeof,e){case l:case h:case m:case g:case s:return e;default:return t}}case i:return t}}}function E(e){return O(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=s,t.Element=o,t.ForwardRef=h,t.Fragment=a,t.Lazy=m,t.Memo=g,t.Portal=i,t.Profiler=u,t.StrictMode=c,t.Suspense=p,t.isAsyncMode=function(e){return E(e)||O(e)===f},t.isConcurrentMode=E,t.isContextConsumer=function(e){return O(e)===l},t.isContextProvider=function(e){return O(e)===s},t.isElement=function(e){return\"object\"===typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return O(e)===h},t.isFragment=function(e){return O(e)===a},t.isLazy=function(e){return O(e)===m},t.isMemo=function(e){return O(e)===g},t.isPortal=function(e){return O(e)===i},t.isProfiler=function(e){return O(e)===u},t.isStrictMode=function(e){return O(e)===c},t.isSuspense=function(e){return O(e)===p},t.isValidElementType=function(e){return\"string\"===typeof e||\"function\"===typeof e||e===a||e===d||e===u||e===c||e===p||e===v||\"object\"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===s||e.$$typeof===l||e.$$typeof===h||e.$$typeof===b||e.$$typeof===x||e.$$typeof===w||e.$$typeof===y)},t.typeOf=O},qY7S:function(e,t,n){\"use strict\";var r=n(\"HAuM\"),o=n(\"A2ZE\"),i=n(\"ImZN\");e.exports=function(e){var t,n,a,c,u=arguments.length,s=u>1?arguments[1]:void 0;return r(this),t=void 0!==s,t&&r(s),void 0==e?new this:(n=[],t?(a=0,c=o(s,u>2?arguments[2]:void 0,2),i(e,(function(e){n.push(c(e,a++))}))):i(e,n.push,n),new this(n))}},qYE9:function(e,t){e.exports=\"undefined\"!==typeof ArrayBuffer&&\"undefined\"!==typeof DataView},qZTm:function(e,t,n){var r=n(\"fR/l\"),o=n(\"MvSz\"),i=n(\"7GkX\");function a(e){return r(e,i,o)}e.exports=a},qaHo:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"glrk\"),a=n(\"A2ZE\"),c=n(\"WGBp\"),u=n(\"ImZN\");r({target:\"Set\",proto:!0,real:!0,forced:o},{some:function(e){var t=i(this),n=c(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return u(n,(function(e){if(r(e,e,t))return u.stop()}),void 0,!1,!0).stopped}})},qc1c:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"glrk\"),a=n(\"HAuM\"),c=n(\"ImZN\");r({target:\"Map\",proto:!0,real:!0,forced:o},{merge:function(e){var t=i(this),n=a(t.set),r=0;while(r<arguments.length)c(arguments[r++],n,t,!0);return t}})},qgGA:function(e,t,n){var r=n(\"I+eb\"),o=n(\"eDxR\"),i=n(\"glrk\"),a=o.toKey,c=o.set;r({target:\"Reflect\",stat:!0},{metadata:function(e,t){return function(n,r){c(e,t,i(n),a(r))}}})},qhky:function(e,t,n){\"use strict\";(function(e){var t=n(\"17x9\"),r=n.n(t),o=n(\"8+s/\"),i=n.n(o),a=n(\"bmMU\"),c=n.n(a),u=n(\"q1tI\"),s=n.n(u),l=n(\"MgzW\"),f=n.n(l),d={BODY:\"bodyAttributes\",HTML:\"htmlAttributes\",TITLE:\"titleAttributes\"},h={BASE:\"base\",BODY:\"body\",HEAD:\"head\",HTML:\"html\",LINK:\"link\",META:\"meta\",NOSCRIPT:\"noscript\",SCRIPT:\"script\",STYLE:\"style\",TITLE:\"title\"},p=(Object.keys(h).map((function(e){return h[e]})),{CHARSET:\"charset\",CSS_TEXT:\"cssText\",HREF:\"href\",HTTPEQUIV:\"http-equiv\",INNER_HTML:\"innerHTML\",ITEM_PROP:\"itemprop\",NAME:\"name\",PROPERTY:\"property\",REL:\"rel\",SRC:\"src\",TARGET:\"target\"}),v={accesskey:\"accessKey\",charset:\"charSet\",class:\"className\",contenteditable:\"contentEditable\",contextmenu:\"contextMenu\",\"http-equiv\":\"httpEquiv\",itemprop:\"itemProp\",tabindex:\"tabIndex\"},g={DEFAULT_TITLE:\"defaultTitle\",DEFER:\"defer\",ENCODE_SPECIAL_CHARACTERS:\"encodeSpecialCharacters\",ON_CHANGE_CLIENT_STATE:\"onChangeClientState\",TITLE_TEMPLATE:\"titleTemplate\"},m=Object.keys(v).reduce((function(e,t){return e[v[t]]=t,e}),{}),y=[h.NOSCRIPT,h.SCRIPT,h.STYLE],b=\"data-react-helmet\",x=\"function\"===typeof Symbol&&\"symbol\"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},w=function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")},O=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S=function(e,t){if(\"function\"!==typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},j=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},k=function(e,t){if(!e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!t||\"object\"!==typeof t&&\"function\"!==typeof t?e:t},_=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\").replace(/'/g,\"&#x27;\")},C=function(e){var t=I(e,h.TITLE),n=I(e,g.TITLE_TEMPLATE);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(\"\"):t}));var r=I(e,g.DEFAULT_TITLE);return t||r||void 0},M=function(e){return I(e,g.ON_CHANGE_CLIENT_STATE)||function(){}},A=function(e,t){return t.filter((function(t){return\"undefined\"!==typeof t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return E({},e,t)}),{})},N=function(e,t){return t.filter((function(e){return\"undefined\"!==typeof e[h.BASE]})).map((function(e){return e[h.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=r[o],a=i.toLowerCase();if(-1!==e.indexOf(a)&&n[a])return t.concat(n)}return t}),[])},T=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(\"undefined\"!==typeof t[e]&&B(\"Helmet: \"+e+' should be of type \"Array\". Instead found type \"'+x(t[e])+'\"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var o={};n.filter((function(e){for(var n=void 0,i=Object.keys(e),a=0;a<i.length;a++){var c=i[a],u=c.toLowerCase();-1===t.indexOf(u)||n===p.REL&&\"canonical\"===e[n].toLowerCase()||u===p.REL&&\"stylesheet\"===e[u].toLowerCase()||(n=u),-1===t.indexOf(c)||c!==p.INNER_HTML&&c!==p.CSS_TEXT&&c!==p.ITEM_PROP||(n=c)}if(!n||!e[n])return!1;var s=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][s]&&(o[n][s]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var i=Object.keys(o),a=0;a<i.length;a++){var c=i[a],u=f()({},r[c],o[c]);r[c]=u}return e}),[]).reverse()},I=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},P=function(e){return{baseTag:N([p.HREF,p.TARGET],e),bodyAttributes:A(d.BODY,e),defer:I(e,g.DEFER),encode:I(e,g.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:A(d.HTML,e),linkTags:T(h.LINK,[p.REL,p.HREF],e),metaTags:T(h.META,[p.NAME,p.CHARSET,p.HTTPEQUIV,p.PROPERTY,p.ITEM_PROP],e),noscriptTags:T(h.NOSCRIPT,[p.INNER_HTML],e),onChangeClientState:M(e),scriptTags:T(h.SCRIPT,[p.SRC,p.INNER_HTML],e),styleTags:T(h.STYLE,[p.CSS_TEXT],e),title:C(e),titleAttributes:A(d.TITLE,e)}},L=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout((function(){L(t)}),0)}}(),D=function(e){return clearTimeout(e)},R=\"undefined\"!==typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||L:e.requestAnimationFrame||L,F=\"undefined\"!==typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||D:e.cancelAnimationFrame||D,B=function(e){return console&&\"function\"===typeof console.warn&&console.warn(e)},z=null,U=function(e){z&&F(z),e.defer?z=R((function(){G(e,(function(){z=null}))})):(G(e),z=null)},G=function(e,t){var n=e.baseTag,r=e.bodyAttributes,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,c=e.noscriptTags,u=e.onChangeClientState,s=e.scriptTags,l=e.styleTags,f=e.title,d=e.titleAttributes;H(h.BODY,r),H(h.HTML,o),W(f,d);var p={baseTag:Y(h.BASE,n),linkTags:Y(h.LINK,i),metaTags:Y(h.META,a),noscriptTags:Y(h.NOSCRIPT,c),scriptTags:Y(h.SCRIPT,s),styleTags:Y(h.STYLE,l)},v={},g={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(v[e]=n),r.length&&(g[e]=p[e].oldTags)})),t&&t(),u(e,v,g)},V=function(e){return Array.isArray(e)?e.join(\"\"):e},W=function(e,t){\"undefined\"!==typeof e&&document.title!==e&&(document.title=V(e)),H(h.TITLE,t)},H=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(b),o=r?r.split(\",\"):[],i=[].concat(o),a=Object.keys(t),c=0;c<a.length;c++){var u=a[c],s=t[u]||\"\";n.getAttribute(u)!==s&&n.setAttribute(u,s),-1===o.indexOf(u)&&o.push(u);var l=i.indexOf(u);-1!==l&&i.splice(l,1)}for(var f=i.length-1;f>=0;f--)n.removeAttribute(i[f]);o.length===i.length?n.removeAttribute(b):n.getAttribute(b)!==a.join(\",\")&&n.setAttribute(b,a.join(\",\"))}},Y=function(e,t){var n=document.head||document.querySelector(h.HEAD),r=n.querySelectorAll(e+\"[\"+b+\"]\"),o=Array.prototype.slice.call(r),i=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===p.INNER_HTML)n.innerHTML=t.innerHTML;else if(r===p.CSS_TEXT)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var c=\"undefined\"===typeof t[r]?\"\":t[r];n.setAttribute(r,c)}n.setAttribute(b,\"true\"),o.some((function(e,t){return a=t,n.isEqualNode(e)}))?o.splice(a,1):i.push(n)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:i}},X=function(e){return Object.keys(e).reduce((function(t,n){var r=\"undefined\"!==typeof e[n]?n+'=\"'+e[n]+'\"':\"\"+n;return t?t+\" \"+r:r}),\"\")},q=function(e,t,n,r){var o=X(n),i=V(t);return o?\"<\"+e+\" \"+b+'=\"true\" '+o+\">\"+_(i,r)+\"</\"+e+\">\":\"<\"+e+\" \"+b+'=\"true\">'+_(i,r)+\"</\"+e+\">\"},K=function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===p.INNER_HTML||e===p.CSS_TEXT)})).reduce((function(e,t){var o=\"undefined\"===typeof r[t]?t:t+'=\"'+_(r[t],n)+'\"';return e?e+\" \"+o:o}),\"\"),i=r.innerHTML||r.cssText||\"\",a=-1===y.indexOf(e);return t+\"<\"+e+\" \"+b+'=\"true\" '+o+(a?\"/>\":\">\"+i+\"</\"+e+\">\")}),\"\")},Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[v[n]||n]=e[n],t}),t)},$=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[m[n]||n]=e[n],t}),t)},Q=function(e,t,n){var r,o=(r={key:t},r[b]=!0,r),i=Z(n,o);return[s.a.createElement(h.TITLE,i,t)]},J=function(e,t){return t.map((function(t,n){var r,o=(r={key:n},r[b]=!0,r);return Object.keys(t).forEach((function(e){var n=v[e]||e;if(n===p.INNER_HTML||n===p.CSS_TEXT){var r=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=t[e]})),s.a.createElement(e,o)}))},ee=function(e,t,n){switch(e){case h.TITLE:return{toComponent:function(){return Q(e,t.title,t.titleAttributes,n)},toString:function(){return q(e,t.title,t.titleAttributes,n)}};case d.BODY:case d.HTML:return{toComponent:function(){return Z(t)},toString:function(){return X(t)}};default:return{toComponent:function(){return J(e,t)},toString:function(){return K(e,t,n)}}}},te=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,c=e.noscriptTags,u=e.scriptTags,s=e.styleTags,l=e.title,f=void 0===l?\"\":l,p=e.titleAttributes;return{base:ee(h.BASE,t,r),bodyAttributes:ee(d.BODY,n,r),htmlAttributes:ee(d.HTML,o,r),link:ee(h.LINK,i,r),meta:ee(h.META,a,r),noscript:ee(h.NOSCRIPT,c,r),script:ee(h.SCRIPT,u,r),style:ee(h.STYLE,s,r),title:ee(h.TITLE,{title:f,titleAttributes:p},r)}},ne=function(e){var t,n;return n=t=function(t){function n(){return w(this,n),k(this,t.apply(this,arguments))}return S(n,t),n.prototype.shouldComponentUpdate=function(e){return!c()(this.props,e)},n.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case h.SCRIPT:case h.NOSCRIPT:return{innerHTML:t};case h.STYLE:return{cssText:t}}throw new Error(\"<\"+e.type+\" /> elements are self-closing and can not contain children. Refer to our API for more information.\")},n.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,o=e.newChildProps,i=e.nestedChildren;return E({},r,(t={},t[n.type]=[].concat(r[n.type]||[],[E({},o,this.mapNestedChildrenToProps(n,i))]),t))},n.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(r.type){case h.TITLE:return E({},o,(t={},t[r.type]=a,t.titleAttributes=E({},i),t));case h.BODY:return E({},o,{bodyAttributes:E({},i)});case h.HTML:return E({},o,{htmlAttributes:E({},i)})}return E({},o,(n={},n[r.type]=E({},i),n))},n.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=E({},t);return Object.keys(e).forEach((function(t){var r;n=E({},n,(r={},r[t]=e[t],r))})),n},n.prototype.warnOnInvalidChildren=function(e,t){return!0},n.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return s.a.Children.forEach(e,(function(e){if(e&&e.props){var o=e.props,i=o.children,a=j(o,[\"children\"]),c=$(a);switch(n.warnOnInvalidChildren(e,i),e.type){case h.LINK:case h.META:case h.NOSCRIPT:case h.SCRIPT:case h.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:c,nestedChildren:i});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:c,nestedChildren:i});break}}})),t=this.mapArrayTypeChildrenToProps(r,t),t},n.prototype.render=function(){var t=this.props,n=t.children,r=j(t,[\"children\"]),o=E({},r);return n&&(o=this.mapChildrenToProps(n,o)),s.a.createElement(e,o)},O(n,null,[{key:\"canUseDOM\",set:function(t){e.canUseDOM=t}}]),n}(s.a.Component),t.propTypes={base:r.a.object,bodyAttributes:r.a.object,children:r.a.oneOfType([r.a.arrayOf(r.a.node),r.a.node]),defaultTitle:r.a.string,defer:r.a.bool,encodeSpecialCharacters:r.a.bool,htmlAttributes:r.a.object,link:r.a.arrayOf(r.a.object),meta:r.a.arrayOf(r.a.object),noscript:r.a.arrayOf(r.a.object),onChangeClientState:r.a.func,script:r.a.arrayOf(r.a.object),style:r.a.arrayOf(r.a.object),title:r.a.string,titleAttributes:r.a.object,titleTemplate:r.a.string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=te({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:\"\",titleAttributes:{}})),t},n},re=function(){return null},oe=i()(P,U,te)(re),ie=ne(oe);ie.renderStatic=ie.rewind}).call(this,n(\"IyRk\"))},qsEr:function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,\"__esModule\",{value:!0}),t.GForceLayout=void 0;var o=n(\"W8mN\"),i=n(\"8nGZ\"),a=function(e,t){var n;return n=e?(0,i.isNumber)(e)?function(t){return e}:e:function(e){return t||1},n},c=function(e){function t(t){var n=e.call(this)||this;return n.maxIteration=500,n.workerEnabled=!1,n.edgeStrength=200,n.nodeStrength=1e3,n.coulombDisScale=.005,n.damping=.9,n.maxSpeed=1e3,n.minMovement=.5,n.interval=.02,n.factor=1,n.linkDistance=1,n.gravity=10,n.preventOverlap=!0,n.collideStrength=1,n.tick=function(){},n.nodes=[],n.edges=[],n.width=300,n.height=300,n.nodeMap={},n.nodeIdxMap={},n.animate=!0,n.updateCfg(t),n}return r(t,e),t.prototype.getDefaultCfg=function(){return{maxIteration:500,gravity:10,enableTick:!0,animate:!0}},t.prototype.execute=function(){var e,t,n=this,r=n.nodes;if(void 0!==n.timeInterval&&\"undefined\"!==typeof window&&window.clearInterval(n.timeInterval),r&&0!==r.length){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 o=n.center;if(1===r.length)return r[0].x=o[0],r[0].y=o[1],void(null===(t=n.onLayoutEnd)||void 0===t||t.call(n));var c={},u={};r.forEach((function(e,t){(0,i.isNumber)(e.x)||(e.x=Math.random()*n.width),(0,i.isNumber)(e.y)||(e.y=Math.random()*n.height),c[e.id]=e,u[e.id]=t})),n.nodeMap=c,n.nodeIdxMap=u,n.linkDistance=a(n.linkDistance,1),n.nodeStrength=a(n.nodeStrength,1),n.edgeStrength=a(n.edgeStrength,1);var s,l=n.nodeSize;if(n.preventOverlap){var f,d=n.nodeSpacing;f=(0,i.isNumber)(d)?function(){return d}:(0,i.isFunction)(d)?d:function(){return 0},s=l?(0,i.isArray)(l)?function(e){return Math.max(l[0],l[1])+f(e)}:function(e){return l+f(e)}:function(e){return e.size?(0,i.isArray)(e.size)?Math.max(e.size[0],e.size[1])+f(e):(0,i.isObject)(e.size)?Math.max(e.size.width,e.size.height)+f(e):e.size+f(e):10+f(e)}}n.nodeSize=s;var h=n.edges;n.degrees=(0,i.getDegree)(r.length,n.nodeIdxMap,h),n.getMass||(n.getMass=function(e){var t=e.mass||n.degrees[n.nodeIdxMap[e.id]].all||1;return t}),n.run()}else null===(e=n.onLayoutEnd)||void 0===e||e.call(n)},t.prototype.run=function(){var e,t=this,n=t.maxIteration,r=t.nodes,o=t.workerEnabled,i=t.minMovement,a=t.animate;if(r)if(o||!a){for(var c=0;c<n;c++){var u=t.runOneStep(c);if(t.reachMoveThreshold(r,u,i))break}null===(e=t.onLayoutEnd)||void 0===e||e.call(t)}else{if(\"undefined\"===typeof window)return;var s=0;this.timeInterval=window.setInterval((function(){var e,o;if(r){var a=t.runOneStep(s)||[];t.reachMoveThreshold(r,a,i)&&(null===(e=t.onLayoutEnd)||void 0===e||e.call(t),window.clearInterval(t.timeInterval)),s++,s>=n&&(null===(o=t.onLayoutEnd)||void 0===o||o.call(t),window.clearInterval(t.timeInterval))}}),0)}},t.prototype.reachMoveThreshold=function(e,t,n){var r=0;return e.forEach((function(e,n){var o=e.x-t[n].x,i=e.y-t[n].y;r+=Math.sqrt(o*o+i*i)})),r/=e.length,r<n},t.prototype.runOneStep=function(e){var t,n=this,r=n.nodes,o=n.edges,i=[],a=[];if(r){r.forEach((function(e,t){i[2*t]=0,i[2*t+1]=0,a[2*t]=0,a[2*t+1]=0})),n.calRepulsive(i,r),o&&n.calAttractive(i,o),n.calGravity(i,r);var c=Math.max(.02,n.interval-.002*e);n.updateVelocity(i,a,c,r);var u=[];return r.forEach((function(e){u.push({x:e.x,y:e.y})})),n.updatePosition(a,c,r),null===(t=n.tick)||void 0===t||t.call(n),u}},t.prototype.calRepulsive=function(e,t){var n=this,r=n.getMass,o=n.factor,i=n.coulombDisScale,a=n.preventOverlap,c=n.collideStrength,u=void 0===c?1:c,s=n.nodeStrength,l=n.nodeSize;t.forEach((function(n,c){var f=r?r(n):1;t.forEach((function(t,d){if(!(c>=d)){var h=n.x-t.x,p=n.y-t.y;0===h&&0===p&&(h=.01*Math.random(),p=.01*Math.random());var v=h*h+p*p,g=Math.sqrt(v),m=(g+.1)*i,y=h/g,b=p/g,x=.5*(s(n)+s(t))*o/(m*m),w=r?r(t):1;if(e[2*c]+=y*x,e[2*c+1]+=b*x,e[2*d]-=y*x,e[2*d+1]-=b*x,a&&(l(n)+l(t))/2>g){var O=u*(s(n)+s(t))*.5/v;e[2*c]+=y*O/f,e[2*c+1]+=b*O/f,e[2*d]-=y*O/w,e[2*d+1]-=b*O/w}}}))}))},t.prototype.calAttractive=function(e,t){var n=this,r=n.nodeMap,o=n.nodeIdxMap,a=n.linkDistance,c=n.edgeStrength,u=n.nodeSize,s=n.getMass;t.forEach((function(t,n){var l=(0,i.getEdgeTerminal)(t,\"source\"),f=(0,i.getEdgeTerminal)(t,\"target\"),d=r[l],h=r[f],p=h.x-d.x,v=h.y-d.y;0===p&&0===v&&(p=.01*Math.random(),v=.01*Math.random());var g=Math.sqrt(p*p+v*v),m=p/g,y=v/g,b=a(t,d,h)||1+(u(d)+u(h)||0)/2,x=b-g,w=x*c(t),O=o[l],E=o[f],S=s?s(d):1,j=s?s(h):1;e[2*O]-=m*w/S,e[2*O+1]-=y*w/S,e[2*E]+=m*w/j,e[2*E+1]+=y*w/j}))},t.prototype.calGravity=function(e,t){for(var n=this,r=n.center,o=n.gravity,a=n.degrees,c=t.length,u=0;u<c;u++){var s=t[u],l=s.x-r[0],f=s.y-r[1],d=o;if(n.getCenter){var h=n.getCenter(s,a[u].all);h&&(0,i.isNumber)(h[0])&&(0,i.isNumber)(h[1])&&(0,i.isNumber)(h[2])&&(l=s.x-h[0],f=s.y-h[1],d=h[2])}d&&(e[2*u]-=d*l,e[2*u+1]-=d*f)}},t.prototype.updateVelocity=function(e,t,n,r){var o=this,i=n*o.damping;r.forEach((function(n,r){var a=e[2*r]*i||.01,c=e[2*r+1]*i||.01,u=Math.sqrt(a*a+c*c);if(u>o.maxSpeed){var s=o.maxSpeed/u;a*=s,c*=s}t[2*r]=a,t[2*r+1]=c}))},t.prototype.updatePosition=function(e,t,n){n.forEach((function(n,r){if((0,i.isNumber)(n.fx)&&(0,i.isNumber)(n.fy))return n.x=n.fx,void(n.y=n.fy);var o=e[2*r]*t,a=e[2*r+1]*t;n.x+=o,n.y+=a}))},t.prototype.stop=function(){this.timeInterval&&\"undefined\"!==typeof window&&window.clearInterval(this.timeInterval)},t.prototype.destroy=function(){var e=this;e.stop(),e.tick=null,e.nodes=null,e.edges=null,e.destroyed=!0},t.prototype.getType=function(){return\"gForce\"},t}(o.Base);t.GForceLayout=c},qu8F:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"OLod\"))})(0,(function(e){return e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function n(e){if(255===(e>>24&255)){var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}function r(e){return 0===(e[0]=n(e[0]))&&(e[1]=n(e[1])),e}var o=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize,i=this._iv,a=this._counter;i&&(a=this._counter=i.slice(0),this._iv=void 0),r(a);var c=a.slice(0);n.encryptBlock(c,0);for(var u=0;u<o;u++)e[t+u]^=c[u]}});return t.Decryptor=o,t}(),e.mode.CTRGladman}))},qvIC:function(e,t,n){\"use strict\";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!(\"get\"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:!0,value:t})}:function(e,t){e[\"default\"]=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)\"default\"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,\"__esModule\",{value:!0});var a=i(n(\"Ckr6\")),c=n(\"8nGZ\");function u(){function e(e){return function(){return e}}var t,n=function(e){return e.cluster},r=e(1),o=e(-1),i=e(100),u=e(.1),s=[0,0],l=[],f={},d=[],h=100,p=100,v={none:{x:0,y:0}},g=[],m=\"force\",y=!0,b=.1;function x(e){if(!y)return x;t.tick(),k();for(var r=0,o=l.length,i=void 0,a=e*b;r<o;++r)i=l[r],i.vx+=(v[n(i)].x-i.x)*a,i.vy+=(v[n(i)].y-i.y)*a}function w(){l&&O()}function O(){if(l&&l.length){if(void 0===n(l[0]))throw Error(\"Couldnt find the grouping attribute for the nodes. Make sure to set it up with forceInABox.groupBy('clusterAttr') before calling .links()\");var e=E();t=a.forceSimulation(e.nodes).force(\"x\",a.forceX(h).strength(.1)).force(\"y\",a.forceY(p).strength(.1)).force(\"collide\",a.forceCollide((function(e){return e.r})).iterations(4)).force(\"charge\",a.forceManyBody().strength(o)).force(\"links\",a.forceLink(e.nodes.length?e.links:[]).distance(i).strength(u)),g=t.nodes(),k()}}function E(){var e=[],t=[],n={},r=[],o={},i=[];return o=S(l),i=j(d),r=Object.keys(o),r.forEach((function(t,r){var i=o[t];e.push({id:t,size:i.count,r:Math.sqrt(i.sumforceNodeSize/Math.PI)}),n[t]=r})),i.forEach((function(e){var r=(0,c.getEdgeTerminal)(e,\"source\"),o=(0,c.getEdgeTerminal)(e,\"target\"),i=n[r],a=n[o];void 0!==i&&void 0!==a&&t.push({source:i,target:a,count:e.count})})),{nodes:e,links:t}}function S(e){var t={};return e.forEach((function(e){var r=n(e);t[r]||(t[r]={count:0,sumforceNodeSize:0})})),e.forEach((function(e){var o=n(e),i=r(e),a=t[o];a.count=a.count+1,a.sumforceNodeSize=a.sumforceNodeSize+Math.PI*(i*i)*1.3,t[o]=a})),t}function j(e){var t={},n=[];e.forEach((function(e){var n=_(e),r=0;void 0!==t[n]&&(r=t[n]),r+=1,t[n]=r}));var r=Object.entries(t);return r.forEach((function(e){var t=e[0],r=e[1],o=t.split(\"~\")[0],i=t.split(\"~\")[1];void 0!==o&&void 0!==i&&n.push({source:o,target:i,count:r})})),n}function k(){return v={none:{x:0,y:0}},g.forEach((function(e){v[e.id]={x:e.x-s[0],y:e.y-s[1]}})),v}function _(e){var t=(0,c.getEdgeTerminal)(e,\"source\"),r=(0,c.getEdgeTerminal)(e,\"target\"),o=n(f[t]),i=n(f[r]);return o<=i?\"\".concat(o,\"~\").concat(i):\"\".concat(i,\"~\").concat(o)}function C(e){f={},e.forEach((function(e){f[e.id]=e}))}function M(e){return arguments.length?(m=e,w(),x):m}function A(e){return arguments.length?\"string\"===typeof e?(n=function(t){return t[e]},x):(n=e,x):n}function N(e){return arguments.length?(y=e,x):y}function T(e){return arguments.length?(b=e,x):b}function I(e){return arguments.length?(h=e,x):h}function P(e){return arguments.length?(p=e,x):p}function L(e){return arguments.length?(C(e||[]),l=e||[],x):l}function D(e){return arguments.length?(d=e||[],w(),x):d}function R(t){return arguments.length?(r=\"function\"===typeof t?t:e(+t),w(),x):r}function F(t){return arguments.length?(o=\"function\"===typeof t?t:e(+t),w(),x):o}function B(t){return arguments.length?(i=\"function\"===typeof t?t:e(+t),w(),x):i}function z(t){return arguments.length?(u=\"function\"===typeof t?t:e(+t),w(),x):u}function U(e){return arguments.length?(s=e,x):s}return x.initialize=function(e){l=e,w()},x.template=M,x.groupBy=A,x.enableGrouping=N,x.strength=T,x.centerX=I,x.centerY=P,x.nodes=L,x.links=D,x.forceNodeSize=R,x.nodeSize=x.forceNodeSize,x.forceCharge=F,x.forceLinkDistance=B,x.forceLinkStrength=z,x.offset=U,x.getFocis=k,x}t.default=u},qwGt:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(\"q1tI\"),o=n.n(r),i=o.a.createContext({})},qxPZ:function(e,t,n){var r=n(\"tiKp\"),o=r(\"match\");e.exports=function(e){var t=/./;try{\"/./\"[e](t)}catch(n){try{return t[o]=!1,\"/./\"[e](t)}catch(r){}}return!1}},rB9j:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"kmMV\");r({target:\"RegExp\",proto:!0,forced:/./.exec!==o},{exec:o})},rEGp:function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}e.exports=n},rKzb:function(e,t,n){\"use strict\";var r=n(\"4syw\"),o=n(\"8YOa\").getWeakData,i=n(\"glrk\"),a=n(\"hh1v\"),c=n(\"GarU\"),u=n(\"ImZN\"),s=n(\"tycR\"),l=n(\"UTVS\"),f=n(\"afO8\"),d=f.set,h=f.getterFor,p=s.find,v=s.findIndex,g=0,m=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},b=function(e,t){return p(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,s){var f=e((function(e,r){c(e,f,t),d(e,{type:t,id:g++,frozen:void 0}),void 0!=r&&u(r,e[s],e,n)})),p=h(t),v=function(e,t,n){var r=p(e),a=o(i(t),!0);return!0===a?m(r).set(t,n):a[r.id]=n,e};return r(f.prototype,{delete:function(e){var t=p(this);if(!a(e))return!1;var n=o(e);return!0===n?m(t)[\"delete\"](e):n&&l(n,t.id)&&delete n[t.id]},has:function(e){var t=p(this);if(!a(e))return!1;var n=o(e);return!0===n?m(t).has(e):n&&l(n,t.id)}}),r(f.prototype,n?{get:function(e){var t=p(this);if(a(e)){var n=o(e);return!0===n?m(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),f}}},rNhl:function(e,t,n){var r=n(\"I+eb\"),o=n(\"fhKU\");r({global:!0,forced:parseFloat!=o},{parseFloat:o})},rOQg:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"0Dky\"),i=n(\"Yhre\"),a=n(\"glrk\"),c=n(\"I8vh\"),u=n(\"UMSQ\"),s=n(\"SEBh\"),l=i.ArrayBuffer,f=i.DataView,d=l.prototype.slice,h=o((function(){return!new l(2).slice(1,void 0).byteLength}));r({target:\"ArrayBuffer\",proto:!0,unsafe:!0,forced:h},{slice:function(e,t){if(void 0!==d&&void 0===t)return d.call(a(this),e);var n=a(this).byteLength,r=c(e,n),o=c(void 0===t?n:t,n),i=new(s(this,l))(u(o-r)),h=new f(this),p=new f(i),v=0;while(r<o)p.setUint8(v++,h.getUint8(r++));return i}})},rSSe:function(e,t,n){},rW0t:function(e,t,n){\"use strict\";var r=n(\"glrk\");e.exports=function(){var e=r(this),t=\"\";return e.global&&(t+=\"g\"),e.ignoreCase&&(t+=\"i\"),e.multiline&&(t+=\"m\"),e.dotAll&&(t+=\"s\"),e.unicode&&(t+=\"u\"),e.sticky&&(t+=\"y\"),t}},rZ3M:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"HYAF\"),i=n(\"ROdP\"),a=n(\"rW0t\"),c=n(\"tiKp\"),u=n(\"xDBR\"),s=c(\"replace\"),l=RegExp.prototype;r({target:\"String\",proto:!0},{replaceAll:function e(t,n){var r,c,f,d,h,p,v,g,m,y=o(this);if(null!=t){if(r=i(t),r&&(c=String(o(\"flags\"in l?t.flags:a.call(t))),!~c.indexOf(\"g\")))throw TypeError(\"`.replaceAll` does not allow non-global regexes\");if(f=t[s],void 0!==f)return f.call(t,y,n);if(u&&r)return String(y).replace(t,n)}if(d=String(y),h=String(t),\"\"===h)return e.call(d,/(?:)/g,n);if(p=d.split(h),\"function\"!==typeof n)return p.join(String(n));for(v=p[0],g=v.length,m=1;m<p.length;m++)v+=String(n(h,g,d)),g+=h.length+p[m].length,v+=p[m];return v}})},raXR:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=n(\"iTfj\"),o=n(\"kVRr\"),i=function(){function e(e,t,n,r,i){this.fromNode=e,this.toNode=t,this.nodeEdgeNodeLabel={nodeLabel1:n||o.VACANT_NODE_LABEL,edgeLabel:r||o.VACANT_EDGE_LABEL,nodeLabel2:i||o.VACANT_NODE_LABEL}}return e.prototype.equalTo=function(e){return this.fromNode===e.formNode&&this.toNode===e.toNode&&this.nodeEdgeNodeLabel===e.nodeEdgeNodeLabel},e.prototype.notEqualTo=function(e){return!this.equalTo(e)},e}(),a=function(){function e(){this.rmpath=[],this.dfsEdgeList=[]}return e.prototype.equalTo=function(e){var t=this.dfsEdgeList.length,n=e.length;if(t!==n)return!1;for(var r=0;r<t;r++)if(this.dfsEdgeList[r]!==e[r])return!1;return!0},e.prototype.notEqualTo=function(e){return!this.equalTo(e)},e.prototype.pushBack=function(e,t,n,r,o){return this.dfsEdgeList.push(new i(e,t,n,r,o)),this.dfsEdgeList},e.prototype.toGraph=function(e,t){void 0===e&&(e=o.VACANT_GRAPH_ID),void 0===t&&(t=!1);var n=new o.Graph(e,!0,t);return this.dfsEdgeList.forEach((function(e){var t=e.fromNode,r=e.toNode,i=e.nodeEdgeNodeLabel,a=i.nodeLabel1,c=i.edgeLabel,u=i.nodeLabel2;a!==o.VACANT_NODE_LABEL&&n.addNode(t,a),u!==o.VACANT_NODE_LABEL&&n.addNode(r,u),a!==o.VACANT_NODE_LABEL&&u!==a&&n.addEdge(void 0,t,r,c)})),n},e.prototype.buildRmpath=function(){this.rmpath=[];for(var e=void 0,t=this.dfsEdgeList.length,n=t-1;n>=0;n--){var r=this.dfsEdgeList[n],o=r.fromNode,i=r.toNode;o<i&&(void 0===e||i===e)&&(this.rmpath.push(n),e=o)}return this.rmpath},e.prototype.getNodeNum=function(){var e={};return this.dfsEdgeList.forEach((function(t){e[t.fromNode]||(e[t.fromNode]=!0),e[t.toNode]||(e[t.toNode]=!0)})),Object.keys(e).length},e}(),c=function(){function e(e){if(this.his={},this.nodesUsed={},this.edgesUsed={},this.edges=[],e){while(e){var t=e.edge;this.edges.push(t),this.nodesUsed[t.from]=1,this.nodesUsed[t.to]=1,this.edgesUsed[t.id]=1,e=e.preNode}this.edges=this.edges.reverse()}}return e.prototype.hasNode=function(e){return 1===this.nodesUsed[e.id]},e.prototype.hasEdge=function(e){return 1===this.edgesUsed[e.id]},e}(),u=function(){function e(e){var t=e.graphs,n=e.minSupport,r=void 0===n?2:n,o=e.minNodeNum,i=void 0===o?1:o,c=e.maxNodeNum,u=void 0===c?4:c,s=e.top,l=void 0===s?10:s,f=e.directed,d=void 0!==f&&f,h=e.verbose,p=void 0!==h&&h;this.graphs=t,this.dfsCode=new a,this.support=0,this.frequentSize1Subgraphs=[],this.frequentSubgraphs=[],this.minSupport=r,this.top=l,this.directed=d,this.counter=0,this.maxNodeNum=u,this.minNodeNum=i,this.verbose=p,this.maxNodeNum<this.minNodeNum&&(this.maxNodeNum=this.minNodeNum),this.reportDF=[]}return e.prototype.findForwardRootEdges=function(e,t){var n=this,r=[],o=e.nodeMap;return t.edges.forEach((function(e){(n.directed||t.label<=o[e.to].label)&&r.push(e)})),r},e.prototype.findBackwardEdge=function(e,t,n,r){if(!this.directed&&t===n)return null;for(var o=e.nodeMap,i=o[n.to],a=i.edges,c=a.length,u=0;u<c;u++){var s=a[u];if(!r.hasEdge(s)&&s.to===t.from)if(this.directed){if(o[t.from].label<o[n.to].label||o[t.from].label===o[n.to].label&&t.label<=s.label)return s}else if(t.label<s.label||t.label===s.label&&o[t.to].label<=o[n.to].label)return s}return null},e.prototype.findForwardPureEdges=function(e,t,n,r){for(var o=[],i=t.to,a=e.nodeMap[i].edges,c=a.length,u=0;u<c;u++){var s=a[u],l=e.nodeMap[s.to];n<=l.label&&!r.hasNode(l)&&o.push(s)}return o},e.prototype.findForwardRmpathEdges=function(e,t,n,r){for(var o=[],i=e.nodeMap,a=i[t.to].label,c=i[t.from],u=c.edges,s=u.length,l=0;l<s;l++){var f=u[l],d=i[f.to].label;t.to===f.to||n>d||r.hasNode(i[f.to])||(t.label<f.label||t.label===f.label&&a<=d)&&o.push(f)}return o},e.prototype.getSupport=function(e){var t={};return e.forEach((function(e){t[e.graphId]||(t[e.graphId]=!0)})),Object.keys(t).length},e.prototype.findMinLabel=function(e){var t=void 0;return Object.keys(e).forEach((function(n){var r=e[n],o=r.nodeLabel1,i=r.edgeLabel,a=r.nodeLabel2;t?(o<t.nodeLabel1||o===t.nodeLabel1&&i<t.edgeLabel||o===t.nodeLabel1&&i===t.edgeLabel&&a<t.nodeLabel2)&&(t={nodeLabel1:o,edgeLabel:i,nodeLabel2:a}):t={nodeLabel1:o,edgeLabel:i,nodeLabel2:a}})),t},e.prototype.isMin=function(){var e=this,t=this.dfsCode;if(this.verbose&&console.log(\"isMin checking\",t),1===t.dfsEdgeList.length)return!0;var n=this.directed,r=t.toGraph(o.VACANT_GRAPH_ID,n),u=r.nodeMap,s=new a,l={};r.nodes.forEach((function(t){var n=e.findForwardRootEdges(r,t);n.forEach((function(e){var n=u[e.to],o=\"\".concat(t.label,\"-\").concat(e.label,\"-\").concat(n.label);l[o]||(l[o]={projected:[],nodeLabel1:t.label,edgeLabel:e.label,nodeLabel2:n.label});var i={graphId:r.id,edge:e,preNode:null};l[o].projected.push(i)}))}));var f=this.findMinLabel(l);if(f){s.dfsEdgeList.push(new i(0,1,f.nodeLabel1,f.edgeLabel,f.nodeLabel2));var d=function a(l){for(var f=s.buildRmpath(),d=s.dfsEdgeList[0].nodeEdgeNodeLabel.nodeLabel1,h=s.dfsEdgeList[f[0]].toNode,p={},v=!1,g=0,m=n?-1:0,y=function(t){if(v)return\"break\";l.forEach((function(n){var o=new c(n),i=e.findBackwardEdge(r,o.edges[f[t]],o.edges[f[0]],o);i&&(p[i.label]||(p[i.label]={projected:[],edgeLabel:i.label}),p[i.label].projected.push({graphId:r.id,edge:p,preNode:n}),g=s.dfsEdgeList[f[t]].fromNode,v=!0)}))},b=f.length-1;b>m;b--){var x=y(b);if(\"break\"===x)break}if(v){var w=e.findMinLabel(p);s.dfsEdgeList.push(new i(h,g,o.VACANT_NODE_LABEL,w.edgeLabel,o.VACANT_NODE_LABEL));var O=s.dfsEdgeList.length-1;return e.dfsCode.dfsEdgeList[O]===s.dfsEdgeList[O]&&a(p[w.edgeLabel].projected)}var E={};v=!1;var S=0;l.forEach((function(t){var n=new c(t),o=e.findForwardPureEdges(r,n.edges[f[0]],d,n);o.length>0&&(v=!0,S=h,o.forEach((function(e){var n=\"\".concat(e.label,\"-\").concat(u[e.to].label);E[n]||(E[n]={projected:[],edgeLabel:e.label,nodeLabel2:u[e.to].label}),E[n].projected.push({graphId:r.id,edge:e,preNode:t})})))}));var j=f.length,k=function(t){if(v)return\"break\";var n=f[t];l.forEach((function(t){var o=new c(t),i=e.findForwardRmpathEdges(r,o.edges[n],d,o);i.length>0&&(v=!0,S=s.dfsEdgeList[n].fromNode,i.forEach((function(e){var n=\"\".concat(e.label,\"-\").concat(u[e.to].label);E[n]||(E[n]={projected:[],edgeLabel:e.label,nodeLabel2:u[e.to].label}),E[n].projected.push({graphId:r.id,edge:e,preNode:t})})))}))};for(b=0;b<j;b++){var _=k(b);if(\"break\"===_)break}if(!v)return!0;var C=e.findMinLabel(E);s.dfsEdgeList.push(new i(S,h+1,o.VACANT_NODE_LABEL,C.edgeLabel,C.nodeLabel2));var M=s.dfsEdgeList.length-1;return t.dfsEdgeList[M]===s.dfsEdgeList[M]&&a(E[\"\".concat(C.edgeLabel,\"-\").concat(C.nodeLabel2)].projected)},h=\"\".concat(f.nodeLabel1,\"-\").concat(f.edgeLabel,\"-\").concat(f.nodeLabel2);return d(l[h].projected)}},e.prototype.report=function(){if(!(this.dfsCode.getNodeNum()<this.minNodeNum)){this.counter++;var e=this.dfsCode.toGraph(this.counter,this.directed);this.frequentSubgraphs.push((0,r.clone)(e))}},e.prototype.subGraphMining=function(e){var t=this,n=this.getSupport(e);if(!(n<this.minSupport)&&this.isMin()){this.report();var r=this.dfsCode.getNodeNum(),a=this.dfsCode.buildRmpath(),u=this.dfsCode.dfsEdgeList[a[0]].toNode,s=this.dfsCode.dfsEdgeList[0].nodeEdgeNodeLabel.nodeLabel1,l={},f={};e.forEach((function(e){for(var n=t.graphs[e.graphId],o=n.nodeMap,i=new c(e),d=a.length-1;d>=0;d--){var h=t.findBackwardEdge(n,i.edges[a[d]],i.edges[a[0]],i);if(h){var p=\"\".concat(t.dfsCode.dfsEdgeList[a[d]].fromNode,\"-\").concat(h.label);f[p]||(f[p]={projected:[],toNodeId:t.dfsCode.dfsEdgeList[a[d]].fromNode,edgeLabel:h.label}),f[p].projected.push({graphId:e.graphId,edge:h,preNode:e})}}if(!(r>=t.maxNodeNum)){var v=t.findForwardPureEdges(n,i.edges[a[0]],s,i);v.forEach((function(t){var n=\"\".concat(u,\"-\").concat(t.label,\"-\").concat(o[t.to].label);l[n]||(l[n]={projected:[],fromNodeId:u,edgeLabel:t.label,nodeLabel2:o[t.to].label}),l[n].projected.push({graphId:e.graphId,edge:t,preNode:e})}));var g=function(r){var c=t.findForwardRmpathEdges(n,i.edges[a[r]],s,i);c.forEach((function(n){var i=\"\".concat(t.dfsCode.dfsEdgeList[a[r]].fromNode,\"-\").concat(n.label,\"-\").concat(o[n.to].label);l[i]||(l[i]={projected:[],fromNodeId:t.dfsCode.dfsEdgeList[a[r]].fromNode,edgeLabel:n.label,nodeLabel2:o[n.to].label}),l[i].projected.push({graphId:e.graphId,edge:n,preNode:e})}))};for(d=0;d<a.length;d++)g(d)}})),Object.keys(f).forEach((function(e){var n=f[e],r=n.toNodeId,o=n.edgeLabel;t.dfsCode.dfsEdgeList.push(new i(u,r,\"-1\",o,\"-1\")),t.subGraphMining(f[e].projected),t.dfsCode.dfsEdgeList.pop()})),Object.keys(l).forEach((function(e){var n=l[e],r=n.fromNodeId,a=n.edgeLabel,c=n.nodeLabel2;t.dfsCode.dfsEdgeList.push(new i(r,u+1,o.VACANT_NODE_LABEL,a,c)),t.subGraphMining(l[e].projected),t.dfsCode.dfsEdgeList.pop()}))}},e.prototype.generate1EdgeFrequentSubGraphs=function(){var e=this.graphs,t=this.directed,n=this.minSupport,r=this.frequentSize1Subgraphs,o={},i={},a={},c={};return Object.keys(e).forEach((function(n){var r=e[n],u=r.nodeMap;r.nodes.forEach((function(e,r){var s=e.label,l=\"\".concat(n,\"-\").concat(s);if(!a[l]){var f=o[s]||0;f++,o[s]=f}a[l]={graphKey:n,label:s},e.edges.forEach((function(e){var r=s,o=u[e.to].label;if(!t&&r>o){var a=o;o=r,r=a}var l=e.label,f=\"\".concat(n,\"-\").concat(r,\"-\").concat(l,\"-\").concat(o),d=\"\".concat(r,\"-\").concat(l,\"-\").concat(o);if(!i[d]){var h=i[d]||0;h++,i[d]=h}c[f]={graphId:n,nodeLabel1:r,edgeLabel:l,nodeLabel2:o}}))}))})),Object.keys(o).forEach((function(e){var t=o[e];if(!(t<n)){var i={nodes:[],edges:[]};i.nodes.push({id:\"0\",label:e}),r.push(i)}})),r},e.prototype.run=function(){var e=this;if(this.frequentSize1Subgraphs=this.generate1EdgeFrequentSubGraphs(),!(this.maxNodeNum<2)){var t=this.graphs,n=(this.directed,{});Object.keys(t).forEach((function(r){var o=t[r],i=o.nodeMap;o.nodes.forEach((function(t){var a=e.findForwardRootEdges(o,t);a.forEach((function(e){var o=i[e.to],a=\"\".concat(t.label,\"-\").concat(e.label,\"-\").concat(o.label);n[a]||(n[a]={projected:[],nodeLabel1:t.label,edgeLabel:e.label,nodeLabel2:o.label});var c={graphId:r,edge:e,preNode:null};n[a].projected.push(c)}))}))})),Object.keys(n).forEach((function(t){var r=n[t],o=r.projected,a=r.nodeLabel1,c=r.edgeLabel,u=r.nodeLabel2;e.dfsCode.dfsEdgeList.push(new i(0,1,a,c,u)),e.subGraphMining(o),e.dfsCode.dfsEdgeList.pop()}))}},e}(),s=function(e,t,n,r){var i={};return Object.keys(e).forEach((function(a,c){var u=e[a],s=new o.Graph(c,!0,t),l={};u.nodes.forEach((function(e,t){s.addNode(t,e[n]),l[e.id]=t})),u.edges.forEach((function(e,t){var n=l[e.source],o=l[e.target];s.addEdge(-1,n,o,e[r])})),s&&s.getNodeNum()&&(i[s.id]=s)})),i},l=function(e,t,n){var r=[];return e.forEach((function(e){var o={nodes:[],edges:[]};e.nodes.forEach((function(e){var n;o.nodes.push((n={id:\"\".concat(e.id)},n[t]=e.label,n))})),e.edges.forEach((function(e){var t;o.edges.push((t={source:\"\".concat(e.from),target:\"\".concat(e.to)},t[n]=e.label,t))})),r.push(o)})),r},f=\"cluster\",d=function(e){var t=e.graphs,n=e.directed,r=void 0!==n&&n,o=e.nodeLabelProp,i=void 0===o?f:o,a=e.edgeLabelProp,c=void 0===a?f:a,d=s(t,r,i,c),h=e.minSupport,p=e.maxNodeNum,v=e.minNodeNum,g=e.verbose,m=e.top,y={graphs:d,minSupport:h,maxNodeNum:p,minNodeNum:v,top:m,verbose:g,directed:r},b=new u(y);b.run();var x=l(b.frequentSubgraphs,i,c);return x},h=d;t.default=h},rb3L:function(e,t,n){var r=n(\"I+eb\"),o=n(\"P940\");r({target:\"WeakSet\",stat:!0},{of:o})},rePB:function(e,t,n){\"use strict\";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,\"a\",(function(){return r}))},\"rhT+\":function(e,t){function n(e){if(\"undefined\"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e[\"@@iterator\"])return Array.from(e)}e.exports=n,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},rkAj:function(e,t,n){var r=n(\"g6v/\"),o=n(\"0Dky\"),i=n(\"UTVS\"),a=Object.defineProperty,c={},u=function(e){throw e};e.exports=function(e,t){if(i(c,e))return c[e];t||(t={});var n=[][e],s=!!i(t,\"ACCESSORS\")&&t.ACCESSORS,l=i(t,0)?t[0]:u,f=i(t,1)?t[1]:void 0;return c[e]=!!n&&!o((function(){if(s&&!r)return!0;var e={length:-1};s?a(e,1,{enumerable:!0,get:u}):e[1]=1,n.call(e,l,f)}))}},rlch:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return L})),n.d(t,\"b\",(function(){return F}));var r=n(\"q1tI\"),o=n(\"bw0O\");function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e){return c=\"function\"===typeof Symbol&&\"symbol\"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},c(e)}function u(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(s){return void n(s)}c.done?t(u):Promise.resolve(u).then(r,o)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,c,\"next\",e)}function c(e){u(i,r,o,a,c,\"throw\",e)}a(void 0)}))}}function l(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e){return v(e)||g(e)||m(e)||b()}function v(e){if(Array.isArray(e))return e}function g(e){if(\"undefined\"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e[\"@@iterator\"])return Array.from(e)}function m(e,t){if(e){if(\"string\"===typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===n&&e.constructor&&(n=e.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(e):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(){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 x(e,t){var n=\"undefined\"!==typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(!n){if(Array.isArray(e)||(n=m(e))||t&&e&&\"number\"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}var w=Object(r[\"createContext\"])(null),O=[],E=[],S=!1;function j(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function k(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var o=j(e[r]);o.loading?t.loading=!0:(t.loaded[r]=o.loaded,t.error=o.error),n.push(o.promise),o.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function _(e){return e&&e.__esModule?e.default:e}function C(e,t){return Object(r[\"createElement\"])(_(e),t)}function M(e,t){var n=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:C,webpack:null,modules:null},t),i=null;function a(){if(!i){var t=new A(e,n);i={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return i.promise()}if(\"undefined\"===typeof window&&O.push(a),!S&&\"undefined\"!==typeof window&&\"function\"===typeof n.webpack){var c=n.webpack();E.push((function(e){var t,n=x(c);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(-1!==e.indexOf(r))return a()}}catch(o){n.e(o)}finally{n.f()}}))}var u=function(e,t){a();var c=Object(r[\"useContext\"])(w),u=Object(o[\"useSubscription\"])(i);return Object(r[\"useImperativeHandle\"])(t,(function(){return{retry:i.retry}})),c&&Array.isArray(n.modules)&&n.modules.forEach((function(e){c(e)})),u.loading||u.error?Object(r[\"createElement\"])(n.loading,{isLoading:u.loading,pastDelay:u.pastDelay,timedOut:u.timedOut,error:u.error,retry:i.retry}):u.loaded?n.render(u.loaded,e):null},s=Object(r[\"forwardRef\"])(u);return s.preload=function(){return a()},s.displayName=\"LoadableComponent\",s}var A=function(){function e(t,n){l(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return d(e,[{key:\"promise\",value:function(){return this._res.promise}},{key:\"retry\",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&(\"number\"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),\"number\"===typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update(),e._clearTimeouts()})).catch((function(t){e._update(),e._clearTimeouts()})),this._update({})}},{key:\"_update\",value:function(e){this._state=a(a({},this._state),e),this._callbacks.forEach((function(e){return e()}))}},{key:\"_clearTimeouts\",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:\"getCurrentValue\",value:function(){return a(a({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading})}},{key:\"subscribe\",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function N(e){return M(j,e)}function T(e){if(\"function\"!==typeof e.render)throw new Error(\"LoadableMap requires a `render(loaded, props)` function\");return M(k,e)}function I(e,t){var n=[];while(e.length){var r=e.pop();n.push(r(t))}return Promise.all(n).then((function(){if(e.length)return I(e,t)}))}function P(e,t){if(!e)throw new Error(t)}N.Map=T,N.preloadAll=function(){return new Promise((function(e,t){I(O).then(e,t)}))},N.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return S=!0,t()};I(E,e).then(n,n)}))},\"undefined\"!==typeof window&&(window.__NEXT_PRELOADREADY=N.preloadReady);var L;function D(e){var t=e.fns,n=e.args;if(1===t.length)return t[0];var r=t.pop();return t.reduce((function(e,t){return function(){return t(e,n)}}),r)}function R(e){return!!e&&\"object\"===c(e)&&\"function\"===typeof e.then}(function(e){e[\"compose\"]=\"compose\",e[\"modify\"]=\"modify\",e[\"event\"]=\"event\"})(L||(L={}));var F=function(){function e(t){l(this,e),this.validKeys=void 0,this.hooks={},this.validKeys=(null===t||void 0===t?void 0:t.validKeys)||[]}return d(e,[{key:\"register\",value:function(e){var t=this;P(!!e.apply,\"register failed, plugin.apply must supplied\"),P(!!e.path,\"register failed, plugin.path must supplied\"),Object.keys(e.apply).forEach((function(n){P(t.validKeys.indexOf(n)>-1,\"register failed, invalid key \".concat(n,\" from plugin \").concat(e.path,\".\")),t.hooks[n]||(t.hooks[n]=[]),t.hooks[n]=t.hooks[n].concat(e.apply[n])}))}},{key:\"getHooks\",value:function(e){var t=e.split(\".\"),n=p(t),r=n[0],o=n.slice(1),i=this.hooks[r]||[];return o.length&&(i=i.map((function(e){try{var t,n=e,r=x(o);try{for(r.s();!(t=r.n()).done;){var i=t.value;n=n[i]}}catch(a){r.e(a)}finally{r.f()}return n}catch(c){return null}})).filter(Boolean)),i}},{key:\"applyPlugins\",value:function(e){var t=e.key,n=e.type,r=e.initialValue,o=e.args,i=e.async,u=this.getHooks(t)||[];switch(o&&P(\"object\"===c(o),\"applyPlugins failed, args must be plain object.\"),n){case L.modify:return i?u.reduce(function(){var e=s(regeneratorRuntime.mark((function e(n,r){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(P(\"function\"===typeof r||\"object\"===c(r)||R(r),\"applyPlugins failed, all hooks for key \".concat(t,\" must be function, plain object or Promise.\")),!R(n)){e.next=5;break}return e.next=4,n;case 4:n=e.sent;case 5:if(\"function\"!==typeof r){e.next=16;break}if(i=r(n,o),!R(i)){e.next=13;break}return e.next=10,i;case 10:return e.abrupt(\"return\",e.sent);case 13:return e.abrupt(\"return\",i);case 14:e.next=21;break;case 16:if(!R(r)){e.next=20;break}return e.next=19,r;case 19:r=e.sent;case 20:return e.abrupt(\"return\",a(a({},n),r));case 21:case\"end\":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),R(r)?r:Promise.resolve(r)):u.reduce((function(e,n){return P(\"function\"===typeof n||\"object\"===c(n),\"applyPlugins failed, all hooks for key \".concat(t,\" must be function or plain object.\")),\"function\"===typeof n?n(e,o):a(a({},e),n)}),r);case L.event:return u.forEach((function(e){P(\"function\"===typeof e,\"applyPlugins failed, all hooks for key \".concat(t,\" must be function.\")),e(o)}));case L.compose:return function(){return D({fns:u.concat(r),args:o})()}}}}]),e}()},rpNk:function(e,t,n){\"use strict\";var r,o,i,a=n(\"4WOD\"),c=n(\"kRJp\"),u=n(\"UTVS\"),s=n(\"tiKp\"),l=n(\"xDBR\"),f=s(\"iterator\"),d=!1,h=function(){return this};[].keys&&(i=[].keys(),\"next\"in i?(o=a(a(i)),o!==Object.prototype&&(r=o)):d=!0),void 0==r&&(r={}),l||u(r,f)||c(r,f,h),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},\"s+qY\":function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0})},s4An:function(e,t,n){\"use strict\";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,\"a\",(function(){return r}))},s5qe:function(e,t,n){\"use strict\";var r=n(\"2oRo\"),o=n(\"67WC\"),i=n(\"0Dky\"),a=r.Int8Array,c=o.aTypedArray,u=o.exportTypedArrayMethod,s=[].toLocaleString,l=[].slice,f=!!a&&i((function(){s.call(new a(1))})),d=i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])}));u(\"toLocaleString\",(function(){return s.apply(f?l.call(c(this)):c(this),arguments)}),d)},s9w0:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.aveMovementBundle=t.aveMovementCode=t.gForceBundle=t.gForceCode=void 0,t.gForceCode=\"\\nimport { globalInvocationID } from 'g-webgpu';\\n\\nconst MAX_EDGE_PER_VERTEX;\\nconst VERTEX_COUNT;\\nconst SHIFT_20 = 1048576;\\n\\n@numthreads(1, 1, 1)\\nclass GGForce {\\n  @in @out\\n  u_Data: vec4[];\\n\\n  @in\\n  u_damping: float;\\n  \\n  @in\\n  u_maxSpeed: float;\\n\\n  @in\\n  u_minMovement: float;\\n\\n  @in\\n  u_AveMovement: vec4[];\\n\\n  @in\\n  u_coulombDisScale: float;\\n\\n  @in\\n  u_factor: float;\\n\\n  @in\\n  u_NodeAttributeArray1: vec4[];\\n\\n  @in\\n  u_NodeAttributeArray2: vec4[];\\n\\n  @in\\n  u_interval: float;\\n\\n  unpack_float(packedValue: float): ivec2 {\\n    const packedIntValue = int(packedValue);\\n    const v0 = packedIntValue / SHIFT_20;\\n    return [v0, packedIntValue - v0 * SHIFT_20];\\n  }\\n\\n  calcRepulsive(i: int, currentNode: vec4): vec2 {\\n    let ax = 0, ay = 0;\\n    for (let j: int = 0; j < VERTEX_COUNT; j++) {\\n      if (i != j) {\\n        const nextNode = this.u_Data[j];\\n        const vx = currentNode[0] - nextNode[0];\\n        const vy = currentNode[1] - nextNode[1];\\n        const dist = sqrt(vx * vx + vy * vy) + 0.01;\\n        const n_dist = (dist + 0.1) * this.u_coulombDisScale;\\n        const direx = vx / dist;\\n        const direy = vy / dist;\\n        const attributesi = this.u_NodeAttributeArray1[i];\\n        const attributesj = this.u_NodeAttributeArray1[j];\\n        const massi = attributesi[0];\\n        const nodeStrengthi = attributesi[2];\\n        const nodeStrengthj = attributesj[2];\\n        const nodeStrength = (nodeStrengthi + nodeStrengthj) / 2;\\n        // const param = nodeStrength * this.u_factor / (n_dist * n_dist * massi);\\n        const param = nodeStrength * this.u_factor / (n_dist * n_dist);\\n        ax += direx * param;\\n        ay += direy * param;\\n      }\\n    }\\n    return [ax, ay];\\n  }\\n\\n  calcGravity(i: int, currentNode: vec4, attributes2: vec4): vec2 {\\n    // note: attributes2 = [centerX, centerY, gravity, 0]\\n\\n    const vx = currentNode[0] - attributes2[0];\\n    const vy = currentNode[1] - attributes2[1];\\n    \\n    const ax = vx * attributes2[2];\\n    const ay = vy * attributes2[2];\\n    \\n    return [ax, ay];\\n  }\\n\\n  calcAttractive(i: int, currentNode: vec4, attributes1: vec4): vec2 {\\n    // note: attributes1 = [mass, degree, nodeSterngth, 0]\\n\\n    const mass = attributes1[0];\\n    let ax = 0, ay = 0;\\n    // const arr_offset = int(floor(currentNode[2] + 0.5));\\n    // const length = int(floor(currentNode[3] + 0.5));\\n\\n    const compressed = this.unpack_float(currentNode[2]);\\n    const length = compressed[0];\\n    const arr_offset = compressed[1];\\n\\n    const node_buffer: vec4;\\n    for (let p: int = 0; p < MAX_EDGE_PER_VERTEX; p++) {\\n      if (p >= length) break;\\n      const arr_idx = arr_offset + 4 * p; // i \\u8282\\u70b9\\u7684\\u7b2c p \\u6761\\u8fb9\\u5f00\\u59cb\\u7684\\u5c0f\\u683c\\u5b50\\u4f4d\\u7f6e\\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)]; // \\u5927\\u683c\\u5b50\\uff0c\\u5927\\u683c\\u5b50\\u4f4d\\u7f6e=\\u5c0f\\u4e2a\\u5b50\\u4f4d\\u7f6e / 4\\uff0c\\n      }\\n\\n      let float_j: float = node_buffer[0];\\n\\n      const nextNode = this.u_Data[int(float_j)];\\n      const vx = nextNode[0] - currentNode[0];\\n      const vy = nextNode[1] - currentNode[1];\\n      const dist = sqrt(vx * vx + vy * vy) + 0.01;\\n      const direx = vx / dist;\\n      const direy = vy / dist;\\n      const edgeLength = node_buffer[1];\\n      const edgeStrength = node_buffer[2];\\n      const diff: float = edgeLength - dist;//edgeLength\\n      // const param = diff * this.u_stiffness / mass; //\\n      const param = diff * edgeStrength / mass; // \\n      ax -= direx * param;\\n      ay -= direy * param;\\n    }\\n    return [ax, ay];\\n  }\\n\\n  @main\\n  compute() {\\n    const i = globalInvocationID.x;\\n    const currentNode = this.u_Data[i];\\n    const movement = u_AveMovement[0];\\n    let ax = 0, ay = 0;\\n\\n    if (i >= VERTEX_COUNT || movement.x < u_minMovement) {\\n      this.u_Data[i] = currentNode;\\n      return;\\n    }\\n\\n    // \\u6bcf\\u4e2a\\u8282\\u70b9\\u5c5e\\u6027\\u5360\\u4e24\\u4e2a\\u6570\\u7ec4\\u4e2d\\u5404\\u4e00\\u683c\\n    // [mass, degree, nodeStrength, fx]\\n    const nodeAttributes1 = this.u_NodeAttributeArray1[i];\\n    // [centerX, centerY, centerGravity, fy]\\n    const nodeAttributes2 = this.u_NodeAttributeArray2[i];\\n\\n    // repulsive\\n    const repulsive = this.calcRepulsive(i, currentNode);\\n    ax += repulsive[0];\\n    ay += repulsive[1];\\n\\n    // attractive\\n    const attractive = this.calcAttractive(i, currentNode, nodeAttributes1);\\n    ax += attractive[0];\\n    ay += attractive[1];\\n\\n    // gravity\\n    const gravity = this.calcGravity(i, currentNode, nodeAttributes2);\\n    ax -= gravity[0];\\n    ay -= gravity[1];\\n\\n    // speed\\n    const param = this.u_interval * this.u_damping;\\n    let vx = ax * param;\\n    let vy = ay * param;\\n    const vlength = sqrt(vx * vx + vy * vy) + 0.0001;\\n    if (vlength > this.u_maxSpeed) {\\n      const param2 = this.u_maxSpeed / vlength;\\n      vx = param2 * vx;\\n      vy = param2 * vy;\\n    }\\n\\n    // move\\n    if (nodeAttributes1[3] != 0 && nodeAttributes2[3] != 0) {\\n      this.u_Data[i] = [\\n        nodeAttributes1[3],\\n        nodeAttributes2[3],\\n        currentNode[2],\\n        0\\n      ];\\n    } else {\\n      const distx = vx * this.u_interval;\\n      const disty = vy * this.u_interval;\\n      const distLength = sqrt(distx * distx + disty * disty);\\n      this.u_Data[i] = [\\n        currentNode[0] + distx,\\n        currentNode[1] + disty,\\n        currentNode[2],\\n        distLength\\n      ];\\n    }\\n    \\n    // the avarage move distance\\n    // need to share memory\\n    \\n  }\\n}\\n\",t.gForceBundle='{\"shaders\":{\"WGSL\":\"\",\"GLSL450\":\"\",\"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#define SHIFT_20 1048576.0\\\\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_damping;\\\\nuniform float u_maxSpeed;\\\\nuniform float u_minMovement;\\\\nuniform sampler2D u_AveMovement;\\\\nuniform vec2 u_AveMovementSize;\\\\nvec4 getDatau_AveMovement(vec2 address2D) {\\\\n  return vec4(texture2D(u_AveMovement, address2D).rgba);\\\\n}\\\\nvec4 getDatau_AveMovement(float address1D) {\\\\n  return getDatau_AveMovement(addrTranslation_1Dto2D(address1D, u_AveMovementSize));\\\\n}\\\\nvec4 getDatau_AveMovement(int address1D) {\\\\n  return getDatau_AveMovement(float(address1D));\\\\n}\\\\nuniform float u_coulombDisScale;\\\\nuniform float u_factor;\\\\nuniform sampler2D u_NodeAttributeArray1;\\\\nuniform vec2 u_NodeAttributeArray1Size;\\\\nvec4 getDatau_NodeAttributeArray1(vec2 address2D) {\\\\n  return vec4(texture2D(u_NodeAttributeArray1, address2D).rgba);\\\\n}\\\\nvec4 getDatau_NodeAttributeArray1(float address1D) {\\\\n  return getDatau_NodeAttributeArray1(addrTranslation_1Dto2D(address1D, u_NodeAttributeArray1Size));\\\\n}\\\\nvec4 getDatau_NodeAttributeArray1(int address1D) {\\\\n  return getDatau_NodeAttributeArray1(float(address1D));\\\\n}\\\\nuniform sampler2D u_NodeAttributeArray2;\\\\nuniform vec2 u_NodeAttributeArray2Size;\\\\nvec4 getDatau_NodeAttributeArray2(vec2 address2D) {\\\\n  return vec4(texture2D(u_NodeAttributeArray2, address2D).rgba);\\\\n}\\\\nvec4 getDatau_NodeAttributeArray2(float address1D) {\\\\n  return getDatau_NodeAttributeArray2(addrTranslation_1Dto2D(address1D, u_NodeAttributeArray2Size));\\\\n}\\\\nvec4 getDatau_NodeAttributeArray2(int address1D) {\\\\n  return getDatau_NodeAttributeArray2(float(address1D));\\\\n}\\\\nuniform float u_interval;\\\\nivec2 unpack_float(float packedValue) {\\\\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 packedIntValue = int(packedValue);\\\\nint v0 = packedIntValue / int(SHIFT_20);\\\\nreturn ivec2(v0, packedIntValue - (v0 * int(SHIFT_20)));}\\\\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 ax = 0.0;\\\\nfloat ay = 0.0;\\\\nfor (int j = 0; j < VERTEX_COUNT; j++) {if (i != j) {vec4 nextNode = getDatau_Data(j);\\\\nfloat vx = currentNode.x - nextNode.x;\\\\nfloat vy = currentNode.y - nextNode.y;\\\\nfloat dist = sqrt((vx * vx) + (vy * vy)) + 0.01;\\\\nfloat n_dist = (dist + 0.1) * u_coulombDisScale;\\\\nfloat direx = vx / dist;\\\\nfloat direy = vy / dist;\\\\nvec4 attributesi = getDatau_NodeAttributeArray1(i);\\\\nvec4 attributesj = getDatau_NodeAttributeArray1(j);\\\\nfloat massi = attributesi.x;\\\\nfloat nodeStrengthi = attributesi.z;\\\\nfloat nodeStrengthj = attributesj.z;\\\\nfloat nodeStrength = (nodeStrengthi + nodeStrengthj) / 2.0;\\\\nfloat param = (nodeStrength * u_factor) / (n_dist * n_dist);\\\\nax += direx * param;\\\\nay += direy * param;}}\\\\nreturn vec2(ax, ay);}\\\\nvec2 calcGravity(int i, vec4 currentNode, vec4 attributes2) {\\\\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 vx = currentNode.x - attributes2.x;\\\\nfloat vy = currentNode.y - attributes2.y;\\\\nfloat ax = vx * attributes2.z;\\\\nfloat ay = vy * attributes2.z;\\\\nreturn vec2(ax, ay);}\\\\nvec2 calcAttractive(int i, vec4 currentNode, vec4 attributes1) {\\\\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 mass = attributes1.x;\\\\nfloat ax = 0.0;\\\\nfloat ay = 0.0;\\\\nivec2 compressed = unpack_float(currentNode.z);\\\\nint length = compressed.x;\\\\nint arr_offset = compressed.y;\\\\nvec4 node_buffer;\\\\nfor (int p = 0; p < MAX_EDGE_PER_VERTEX; p++) {if (p >= length) {break;}\\\\nint arr_idx = arr_offset + (4 * 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 = node_buffer.x;\\\\nvec4 nextNode = getDatau_Data(int(float_j));\\\\nfloat vx = nextNode.x - currentNode.x;\\\\nfloat vy = nextNode.y - currentNode.y;\\\\nfloat dist = sqrt((vx * vx) + (vy * vy)) + 0.01;\\\\nfloat direx = vx / dist;\\\\nfloat direy = vy / dist;\\\\nfloat edgeLength = node_buffer.y;\\\\nfloat edgeStrength = node_buffer.z;\\\\nfloat diff = edgeLength - dist;\\\\nfloat param = (diff * edgeStrength) / mass;\\\\nax -= direx * param;\\\\nay -= direy * param;}\\\\nreturn vec2(ax, ay);}\\\\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);\\\\nvec4 movement = getDatau_AveMovement(0.0);\\\\nfloat ax = 0.0;\\\\nfloat ay = 0.0;\\\\nif ((i >= VERTEX_COUNT) || (movement.x < u_minMovement)) {gl_FragColor = vec4(currentNode);\\\\nreturn ;}\\\\nvec4 nodeAttributes1 = getDatau_NodeAttributeArray1(i);\\\\nvec4 nodeAttributes2 = getDatau_NodeAttributeArray2(i);\\\\nvec2 repulsive = calcRepulsive(i, currentNode);\\\\nax += repulsive.x;\\\\nay += repulsive.y;\\\\nvec2 attractive = calcAttractive(i, currentNode, nodeAttributes1);\\\\nax += attractive.x;\\\\nay += attractive.y;\\\\nvec2 gravity = calcGravity(i, currentNode, nodeAttributes2);\\\\nax -= gravity.x;\\\\nay -= gravity.y;\\\\nfloat param = u_interval * u_damping;\\\\nfloat vx = ax * param;\\\\nfloat vy = ay * param;\\\\nfloat vlength = sqrt((vx * vx) + (vy * vy)) + 0.0001;\\\\nif (vlength > u_maxSpeed) {float param2 = u_maxSpeed / vlength;\\\\nvx = param2 * vx;\\\\nvy = param2 * vy;}\\\\nif ((nodeAttributes1.w != 0.0) && (nodeAttributes2.w != 0.0)) {gl_FragColor = vec4(vec4(nodeAttributes1.w, nodeAttributes2.w, currentNode.z, 0.0));}else {float distx = vx * u_interval;\\\\nfloat disty = vy * u_interval;\\\\nfloat distLength = sqrt((distx * distx) + (disty * disty));\\\\ngl_FragColor = vec4(vec4(currentNode.x + distx, currentNode.y + disty, currentNode.z, distLength));}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},{\"name\":\"SHIFT_20\",\"type\":\"Float\",\"value\":1048576,\"runtime\":false}],\"uniforms\":[{\"name\":\"u_Data\",\"type\":\"vec4<f32>[]\",\"storageClass\":\"StorageBuffer\",\"readonly\":false,\"writeonly\":false,\"size\":[1,1]},{\"name\":\"u_damping\",\"type\":\"Float\",\"storageClass\":\"Uniform\",\"readonly\":true,\"writeonly\":false,\"size\":[1,1]},{\"name\":\"u_maxSpeed\",\"type\":\"Float\",\"storageClass\":\"Uniform\",\"readonly\":true,\"writeonly\":false,\"size\":[1,1]},{\"name\":\"u_minMovement\",\"type\":\"Float\",\"storageClass\":\"Uniform\",\"readonly\":true,\"writeonly\":false,\"size\":[1,1]},{\"name\":\"u_AveMovement\",\"type\":\"vec4<f32>[]\",\"storageClass\":\"StorageBuffer\",\"readonly\":true,\"writeonly\":false,\"size\":[1,1]},{\"name\":\"u_coulombDisScale\",\"type\":\"Float\",\"storageClass\":\"Uniform\",\"readonly\":true,\"writeonly\":false,\"size\":[1,1]},{\"name\":\"u_factor\",\"type\":\"Float\",\"storageClass\":\"Uniform\",\"readonly\":true,\"writeonly\":false,\"size\":[1,1]},{\"name\":\"u_NodeAttributeArray1\",\"type\":\"vec4<f32>[]\",\"storageClass\":\"StorageBuffer\",\"readonly\":true,\"writeonly\":false,\"size\":[1,1]},{\"name\":\"u_NodeAttributeArray2\",\"type\":\"vec4<f32>[]\",\"storageClass\":\"StorageBuffer\",\"readonly\":true,\"writeonly\":false,\"size\":[1,1]},{\"name\":\"u_interval\",\"type\":\"Float\",\"storageClass\":\"Uniform\",\"readonly\":true,\"writeonly\":false,\"size\":[1,1]}],\"globalDeclarations\":[],\"output\":{\"name\":\"u_Data\",\"size\":[1,1],\"length\":1},\"needPingpong\":true}}',t.aveMovementCode=\"\\nconst VERTEX_COUNT;\\n@numthreads(1, 1, 1)\\nclass CalcAveMovement {\\n  @in\\n  u_Data: vec4[];\\n  @in\\n  u_iter: float;\\n  @in @out\\n  u_AveMovement: vec4[];\\n  @main\\n  compute() {\\n    let movement = 0;\\n    for (let j: int = 0; j < VERTEX_COUNT; j++) {\\n      const vertex = this.u_Data[j];\\n      movement += vertex[3];\\n    }\\n    movement = movement / float(VERTEX_COUNT);\\n    this.u_AveMovement[0] = [movement, 0, 0, 0];\\n  }\\n}\\n\",t.aveMovementBundle='{\"shaders\":{\"WGSL\":\"\",\"GLSL450\":\"\",\"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\\\\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_iter;\\\\nuniform sampler2D u_AveMovement;\\\\nuniform vec2 u_AveMovementSize;\\\\nvec4 getDatau_AveMovement(vec2 address2D) {\\\\n  return vec4(texture2D(u_AveMovement, address2D).rgba);\\\\n}\\\\nvec4 getDatau_AveMovement(float address1D) {\\\\n  return getDatau_AveMovement(addrTranslation_1Dto2D(address1D, u_AveMovementSize));\\\\n}\\\\nvec4 getDatau_AveMovement(int address1D) {\\\\n  return getDatau_AveMovement(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;\\\\nfloat movement = 0.0;\\\\nfor (int j = 0; j < VERTEX_COUNT; j++) {vec4 vertex = getDatau_Data(j);\\\\nmovement += vertex.w;}\\\\nmovement = movement / float(VERTEX_COUNT);\\\\ngl_FragColor = vec4(vec4(movement, 0.0, 0.0, 0.0));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}],\"uniforms\":[{\"name\":\"u_Data\",\"type\":\"vec4<f32>[]\",\"storageClass\":\"StorageBuffer\",\"readonly\":true,\"writeonly\":false,\"size\":[1,1]},{\"name\":\"u_iter\",\"type\":\"Float\",\"storageClass\":\"Uniform\",\"readonly\":true,\"writeonly\":false,\"size\":[1,1]},{\"name\":\"u_AveMovement\",\"type\":\"vec4<f32>[]\",\"storageClass\":\"StorageBuffer\",\"readonly\":false,\"writeonly\":false,\"size\":[1,1]}],\"globalDeclarations\":[],\"output\":{\"name\":\"u_AveMovement\",\"size\":[1,1],\"length\":1},\"needPingpong\":true}}'},sEFX:function(e,t,n){\"use strict\";var r=n(\"AO7/\"),o=n(\"9d/t\");e.exports=r?{}.toString:function(){return\"[object \"+o(this)+\"]\"}},sEf8:function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},sEfC:function(e,t,n){var r=n(\"GoyQ\"),o=n(\"QIyF\"),i=n(\"tLB3\"),a=\"Expected a function\",c=Math.max,u=Math.min;function s(e,t,n){var s,l,f,d,h,p,v=0,g=!1,m=!1,y=!0;if(\"function\"!=typeof e)throw new TypeError(a);function b(t){var n=s,r=l;return s=l=void 0,v=t,d=e.apply(r,n),d}function x(e){return v=e,h=setTimeout(E,t),g?b(e):d}function w(e){var n=e-p,r=e-v,o=t-n;return m?u(o,f-r):o}function O(e){var n=e-p,r=e-v;return void 0===p||n>=t||n<0||m&&r>=f}function E(){var e=o();if(O(e))return S(e);h=setTimeout(E,w(e))}function S(e){return h=void 0,y&&s?b(e):(s=l=void 0,d)}function j(){void 0!==h&&clearTimeout(h),v=0,s=p=l=h=void 0}function k(){return void 0===h?d:S(o())}function _(){var e=o(),n=O(e);if(s=arguments,l=this,p=e,n){if(void 0===h)return x(p);if(m)return clearTimeout(h),h=setTimeout(E,t),b(p)}return void 0===h&&(h=setTimeout(E,t)),d}return t=i(t)||0,r(n)&&(g=!!n.leading,m=\"maxWait\"in n,f=m?c(i(n.maxWait)||0,t):f,y=\"trailing\"in n?!!n.trailing:y),_.cancel=j,_.flush=k,_}e.exports=s},sQ9d:function(e,t,n){var r=n(\"I+eb\"),o=n(\"eDxR\"),i=n(\"glrk\"),a=o.keys,c=o.toKey;r({target:\"Reflect\",stat:!0},{getOwnMetadataKeys:function(e){var t=arguments.length<2?void 0:c(arguments[1]);return a(i(e),t)}})},sUsD:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=n(\"iTfj\"),o=u(n(\"FscW\")),i=u(n(\"DGIe\")),a=n(\"J/St\"),c=n(\"cWIK\");function u(e){return e&&e.__esModule?e:{default:e}}var s=function(e,t,n,r){for(var o=t.length,i=2*r,a=0,c=0;c<o;c++)for(var u=e[c].clusterId,s=0;s<o;s++){var l=e[s].clusterId;if(u===l){var f=t[c][s]||0,d=n[c]||0,h=n[s]||0;a+=f-d*h/i}}return a*=1/i,a},l=function(e,t){void 0===e&&(e=[]);for(var n=e.length,r=new i.default([]),o=0;o<n;o++)r=r.add(new i.default(t[o]));var a=r.avg(n);a.normalize();var c=0;for(o=0;o<n;o++){var u=new i.default(t[o]),s=u.squareEuclideanDistance(a);c+=s}var l=[];e.forEach((function(){l.push([])}));for(o=0;o<n;o++){u=new i.default(t[o]);e[o][\"clusterInertial\"]=0;for(var f=0;f<n;f++)if(o!==f){var d=new i.default(t[f]);l[o][f]=u.squareEuclideanDistance(d),e[o][\"clusterInertial\"]+=l[o][f]}else l[o][f]=0}var h=0,p=2*n*c;for(o=0;o<n;o++){var v=e[o].clusterId;for(f=0;f<n;f++){var g=e[f].clusterId;if(o!==f&&v===g){var m=e[o].clusterInertial*e[f].clusterInertial/Math.pow(p,2)-l[o][f]/p;h+=m}}}return Number(h.toFixed(4))},f=function(e,t,n,i,u,f,d,h,p){void 0===t&&(t=!1),void 0===n&&(n=\"weight\"),void 0===i&&(i=1e-4),void 0===u&&(u=!1),void 0===f&&(f=void 0),void 0===d&&(d=[]),void 0===h&&(h=[\"id\"]),void 0===p&&(p=1);var v=e.nodes,g=void 0===v?[]:v,m=e.edges,y=void 0===m?[]:m,b=[];if(u){g.forEach((function(e,t){e.properties=e.properties||{},e.originIndex=t}));var x=[];g.every((function(e){return e.hasOwnProperty(\"nodeType\")}))&&(x=Array.from(new Set(g.map((function(e){return e.nodeType})))),g.forEach((function(e){e.properties.nodeType=x.findIndex((function(t){return t===e.nodeType}))})));var w=(0,a.getAllProperties)(g,f);b=(0,c.oneHot)(w,d,h)}var O=1,E={},S={};g.forEach((function(e,t){var n=String(O++);e.clusterId=n,E[n]={id:n,nodes:[e]},S[e.id]={node:e,idx:t}}));var j=(0,o.default)(e,t),k=[],_={},C=0;j.forEach((function(e,t){var n=0,r=g[t].id;_[r]={},e.forEach((function(e,t){if(e){n+=e;var o=g[t].id;_[r][o]=e,C+=e}})),k.push(n)})),C/=2;var M=1/0,A=1/0,N=0,T=[],I={};while(1){M=u&&g.every((function(e){return e.hasOwnProperty(\"properties\")}))?s(g,j,k,C)+l(g,b)*p:s(g,j,k,C),0===N&&(A=M,T=g,I=E);var P=M>0&&M>A&&M-A<i;if(M>A&&(T=g.map((function(e){return{node:e,clusterId:e.clusterId}})),I=(0,r.clone)(E),A=M),P||N>100)break;N++,Object.keys(E).forEach((function(e){var t=0;y.forEach((function(r){var o=r.source,i=r.target,a=S[o].node.clusterId,c=S[i].node.clusterId;(a===e&&c!==e||c===e&&a!==e)&&(t+=r[n]||1)})),E[e].sumTot=t})),g.forEach((function(e,t){var r,o=E[e.clusterId],i=0,a=k[t]/(2*C),c=0,s=o.nodes;s.forEach((function(e){var n=S[e.id].idx;c+=j[t][n]||0}));var f=c-o.sumTot*a,d=s.filter((function(t){return t.id!==e.id})),h=[];d.forEach((function(e,t){h[t]=b[e.originIndex]}));var v=l(d,b)*p,g=_[e.id];if(Object.keys(g).forEach((function(n){var o=S[n].node,c=o.clusterId;if(c!==e.clusterId){var s=E[c],d=s.nodes;if(d&&d.length){var h=0;d.forEach((function(e){var n=S[e.id].idx;h+=j[t][n]||0}));var g=h-s.sumTot*a,m=d.concat([e]),y=[];m.forEach((function(e,t){y[t]=b[e.originIndex]}));var x=l(m,b)*p,w=g-f;u&&(w=g+x-(f+v)),w>i&&(i=w,r=s)}}})),i>0){r.nodes.push(e);var m=e.clusterId;e.clusterId=r.id;var x=o.nodes.indexOf(e);o.nodes.splice(x,1);var w=0,O=0;y.forEach((function(e){var t=e.source,o=e.target,i=S[t].node.clusterId,a=S[o].node.clusterId;(i===r.id&&a!==r.id||a===r.id&&i!==r.id)&&(w+=e[n]||1),(i===m&&a!==m||a===m&&i!==m)&&(O+=e[n]||1)})),r.sumTot=w,o.sumTot=O}}))}var L={},D=0;Object.keys(I).forEach((function(e){var t=I[e];if(t.nodes&&t.nodes.length){var n=String(D+1);n!==e&&(t.id=n,t.nodes=t.nodes.map((function(e){return{id:e.id,clusterId:n}})),I[n]=t,L[e]=n,delete I[e],D++)}else delete I[e]})),T.forEach((function(e){var t=e.node,n=e.clusterId;t&&(t.clusterId=n,t.clusterId&&L[t.clusterId]&&(t.clusterId=L[t.clusterId]))}));var R=[],F={};y.forEach((function(e){var t=e.source,r=e.target,o=e[n]||1,i=S[t].node.clusterId,a=S[r].node.clusterId;if(i&&a){var c=\"\".concat(i,\"---\").concat(a);if(F[c])F[c].weight+=o,F[c].count++;else{var u={source:i,target:a,weight:o,count:1};F[c]=u,R.push(u)}}}));var B=[];return Object.keys(I).forEach((function(e){B.push(I[e])})),{clusters:B,clusterEdges:R}},d=f;t.default=d},seXi:function(e,t,n){var r=n(\"qZTm\"),o=1,i=Object.prototype,a=i.hasOwnProperty;function c(e,t,n,i,c,u){var s=n&o,l=r(e),f=l.length,d=r(t),h=d.length;if(f!=h&&!s)return!1;var p=f;while(p--){var v=l[p];if(!(s?v in t:a.call(t,v)))return!1}var g=u.get(e),m=u.get(t);if(g&&m)return g==t&&m==e;var y=!0;u.set(e,t),u.set(t,e);var b=s;while(++p<f){v=l[p];var x=e[v],w=t[v];if(i)var O=s?i(w,x,v,t,e,u):i(x,w,v,e,t,u);if(!(void 0===O?x===w||c(x,w,n,i,u):O)){y=!1;break}b||(b=\"constructor\"==v)}if(y&&!b){var E=e.constructor,S=t.constructor;E==S||!(\"constructor\"in e)||!(\"constructor\"in t)||\"function\"==typeof E&&E instanceof E&&\"function\"==typeof S&&S instanceof S||(y=!1)}return u[\"delete\"](e),u[\"delete\"](t),y}e.exports=c},shjB:function(e,t){var n=9007199254740991;function r(e){return\"number\"==typeof e&&e>-1&&e%1==0&&e<=n}e.exports=r},spTT:function(e,t,n){var r=n(\"I+eb\"),o=n(\"qY7S\");r({target:\"WeakSet\",stat:!0},{from:o})},sxOR:function(e,t,n){\"use strict\";var r=String.prototype.replace,o=/%20/g,i={RFC1738:\"RFC1738\",RFC3986:\"RFC3986\"};e.exports={default:i.RFC3986,formatters:{RFC1738:function(e){return r.call(e,o,\"+\")},RFC3986:function(e){return String(e)}},RFC1738:i.RFC1738,RFC3986:i.RFC3986}},t1N5:function(e,t,n){var r=n(\"i2N1\"),o={};for(var i in r)r.hasOwnProperty(i)&&(o[r[i]]=i);var a=e.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 c in a)if(a.hasOwnProperty(c)){if(!(\"channels\"in a[c]))throw new Error(\"missing channels property: \"+c);if(!(\"labels\"in a[c]))throw new Error(\"missing channel labels property: \"+c);if(a[c].labels.length!==a[c].channels)throw new Error(\"channel and label counts mismatch: \"+c);var u=a[c].channels,s=a[c].labels;delete a[c].channels,delete a[c].labels,Object.defineProperty(a[c],\"channels\",{value:u}),Object.defineProperty(a[c],\"labels\",{value:s})}function l(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}a.rgb.hsl=function(e){var t,n,r,o=e[0]/255,i=e[1]/255,a=e[2]/255,c=Math.min(o,i,a),u=Math.max(o,i,a),s=u-c;return u===c?t=0:o===u?t=(i-a)/s:i===u?t=2+(a-o)/s:a===u&&(t=4+(o-i)/s),t=Math.min(60*t,360),t<0&&(t+=360),r=(c+u)/2,n=u===c?0:r<=.5?s/(u+c):s/(2-u-c),[t,100*n,100*r]},a.rgb.hsv=function(e){var t,n,r,o,i,a=e[0]/255,c=e[1]/255,u=e[2]/255,s=Math.max(a,c,u),l=s-Math.min(a,c,u),f=function(e){return(s-e)/6/l+.5};return 0===l?o=i=0:(i=l/s,t=f(a),n=f(c),r=f(u),a===s?o=r-n:c===s?o=1/3+t-r:u===s&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*s]},a.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2],o=a.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,100*i,100*r]},a.rgb.cmyk=function(e){var t,n,r,o,i=e[0]/255,a=e[1]/255,c=e[2]/255;return o=Math.min(1-i,1-a,1-c),t=(1-i-o)/(1-o)||0,n=(1-a-o)/(1-o)||0,r=(1-c-o)/(1-o)||0,[100*t,100*n,100*r,100*o]},a.rgb.keyword=function(e){var t=o[e];if(t)return t;var n,i=1/0;for(var a in r)if(r.hasOwnProperty(a)){var c=r[a],u=l(e,c);u<i&&(i=u,n=a)}return n},a.keyword.rgb=function(e){return r[e]},a.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;var o=.4124*t+.3576*n+.1805*r,i=.2126*t+.7152*n+.0722*r,a=.0193*t+.1192*n+.9505*r;return[100*o,100*i,100*a]},a.rgb.lab=function(e){var t,n,r,o=a.rgb.xyz(e),i=o[0],c=o[1],u=o[2];return i/=95.047,c/=100,u/=108.883,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,c=c>.008856?Math.pow(c,1/3):7.787*c+16/116,u=u>.008856?Math.pow(u,1/3):7.787*u+16/116,t=116*c-16,n=500*(i-c),r=200*(c-u),[t,n,r]},a.hsl.rgb=function(e){var t,n,r,o,i,a=e[0]/360,c=e[1]/100,u=e[2]/100;if(0===c)return i=255*u,[i,i,i];n=u<.5?u*(1+c):u+c-u*c,t=2*u-n,o=[0,0,0];for(var s=0;s<3;s++)r=a+1/3*-(s-1),r<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[s]=255*i;return o},a.hsl.hsv=function(e){var t,n,r=e[0],o=e[1]/100,i=e[2]/100,a=o,c=Math.max(i,.01);return i*=2,o*=i<=1?i:2-i,a*=c<=1?c:2-c,n=(i+o)/2,t=0===i?2*a/(c+a):2*o/(i+o),[r,100*t,100*n]},a.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),a=255*r*(1-n),c=255*r*(1-n*i),u=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,u,a];case 1:return[c,r,a];case 2:return[a,r,u];case 3:return[a,c,r];case 4:return[u,a,r];case 5:return[r,a,c]}},a.hsv.hsl=function(e){var t,n,r,o=e[0],i=e[1]/100,a=e[2]/100,c=Math.max(a,.01);return r=(2-i)*a,t=(2-i)*c,n=i*c,n/=t<=1?t:2-t,n=n||0,r/=2,[o,100*n,100*r]},a.hwb.rgb=function(e){var t,n,r,o,i,a,c,u=e[0]/360,s=e[1]/100,l=e[2]/100,f=s+l;switch(f>1&&(s/=f,l/=f),t=Math.floor(6*u),n=1-l,r=6*u-t,0!==(1&t)&&(r=1-r),o=s+r*(n-s),t){default:case 6:case 0:i=n,a=o,c=s;break;case 1:i=o,a=n,c=s;break;case 2:i=s,a=n,c=o;break;case 3:i=s,a=o,c=n;break;case 4:i=o,a=s,c=n;break;case 5:i=n,a=s,c=o;break}return[255*i,255*a,255*c]},a.cmyk.rgb=function(e){var t,n,r,o=e[0]/100,i=e[1]/100,a=e[2]/100,c=e[3]/100;return t=1-Math.min(1,o*(1-c)+c),n=1-Math.min(1,i*(1-c)+c),r=1-Math.min(1,a*(1-c)+c),[255*t,255*n,255*r]},a.xyz.rgb=function(e){var t,n,r,o=e[0]/100,i=e[1]/100,a=e[2]/100;return t=3.2406*o+-1.5372*i+-.4986*a,n=-.9689*o+1.8758*i+.0415*a,r=.0557*o+-.204*i+1.057*a,t=t>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,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,t=Math.min(Math.max(0,t),1),n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),[255*t,255*n,255*r]},a.xyz.lab=function(e){var t,n,r,o=e[0],i=e[1],a=e[2];return o/=95.047,i/=100,a/=108.883,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,t=116*i-16,n=500*(o-i),r=200*(i-a),[t,n,r]},a.lab.xyz=function(e){var t,n,r,o=e[0],i=e[1],a=e[2];n=(o+16)/116,t=i/500+n,r=n-a/200;var c=Math.pow(n,3),u=Math.pow(t,3),s=Math.pow(r,3);return n=c>.008856?c:(n-16/116)/7.787,t=u>.008856?u:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},a.lab.lch=function(e){var t,n,r,o=e[0],i=e[1],a=e[2];return t=Math.atan2(a,i),n=360*t/2/Math.PI,n<0&&(n+=360),r=Math.sqrt(i*i+a*a),[o,r,n]},a.lch.lab=function(e){var t,n,r,o=e[0],i=e[1],a=e[2];return r=a/360*2*Math.PI,t=i*Math.cos(r),n=i*Math.sin(r),[o,t,n]},a.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],o=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(o=Math.round(o/50),0===o)return 30;var i=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(i+=60),i},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;var o=16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5);return o},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];var n=.5*(1+~~(e>50)),r=(1&t)*n*255,o=(t>>1&1)*n*255,i=(t>>2&1)*n*255;return[r,o,i]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;e-=16;var r=Math.floor(e/36)/5*255,o=Math.floor((n=e%36)/6)/5*255,i=n%6/5*255;return[r,o,i]},a.rgb.hex=function(e){var t=((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2])),n=t.toString(16).toUpperCase();return\"000000\".substring(n.length)+n},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split(\"\").map((function(e){return e+e})).join(\"\"));var r=parseInt(n,16),o=r>>16&255,i=r>>8&255,a=255&r;return[o,i,a]},a.rgb.hcg=function(e){var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,a=Math.max(Math.max(r,o),i),c=Math.min(Math.min(r,o),i),u=a-c;return t=u<1?c/(1-u):0,n=u<=0?0:a===r?(o-i)/u%6:a===o?2+(i-r)/u:4+(r-o)/u+4,n/=6,n%=1,[360*n,100*u,100*t]},a.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return r=n<.5?2*t*n:2*t*(1-n),r<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},a.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},a.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o=[0,0,0],i=t%1*6,a=i%1,c=1-a,u=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=a,o[2]=0;break;case 1:o[0]=c,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=a;break;case 3:o[0]=0,o[1]=c,o[2]=1;break;case 4:o[0]=a,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=c}return u=(1-n)*r,[255*(n*o[0]+u),255*(n*o[1]+u),255*(n*o[2]+u)]},a.hcg.hsv=function(e){var t=e[1]/100,n=e[2]/100,r=t+n*(1-t),o=0;return r>0&&(o=t/r),[e[0],100*o,100*r]},a.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100,r=n*(1-t)+.5*t,o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],100*o,100*r]},a.hcg.hwb=function(e){var t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],100*(r-t),100*(1-r)]},a.hwb.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1-n,o=r-t,i=0;return o<1&&(i=(r-o)/(1-o)),[e[0],100*o,100*i]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=(t<<16)+(t<<8)+t,r=n.toString(16).toUpperCase();return\"000000\".substring(r.length)+r},a.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},tB8F:function(e,t,n){\"use strict\";n.r(t);var r={};n.r(r),n.d(r,\"getInitialState\",(function(){return zt})),n.d(r,\"rootContainer\",(function(){return Gt}));var o={};n.r(o),n.d(o,\"rootContainer\",(function(){return Xt}));var i={};n.r(i),n.d(i,\"rootContainer\",(function(){return un}));n(\"pNMO\"),n(\"4Brf\"),n(\"tjZM\"),n(\"3I1R\"),n(\"7+kd\"),n(\"KhsS\"),n(\"gOCb\"),n(\"a57n\"),n(\"GXvd\"),n(\"I1Gw\"),n(\"gXIK\"),n(\"lEou\"),n(\"ma9I\"),n(\"TeQF\"),n(\"BIHw\"),n(\"XbcX\"),n(\"pjDv\"),n(\"yq1k\"),n(\"yXV3\"),n(\"4mDm\"),n(\"uqXc\"),n(\"2B1R\"),n(\"E9XD\"),n(\"9N29\"),n(\"Junv\"),n(\"+2oP\"),n(\"ToJy\"),n(\"94Xl\"),n(\"pDQq\"),n(\"QGkA\"),n(\"c9m3\"),n(\"wZ/5\"),n(\"rOQg\"),n(\"7+zs\"),n(\"tW5y\"),n(\"DEfu\"),n(\"Tskq\"),n(\"Uydy\"),n(\"QFcT\"),n(\"I9xj\"),n(\"w1rZ\"),n(\"JevA\"),n(\"toAj\"),n(\"zKZe\"),n(\"Eqjn\"),n(\"5xtp\"),n(\"T63A\"),n(\"wfmh\"),n(\"27RR\"),n(\"v5b1\"),n(\"W/eh\"),n(\"07d7\"),n(\"B6y2\"),n(\"rNhl\"),n(\"4l63\"),n(\"5s+n\"),n(\"p532\"),n(\"pv2x\"),n(\"SuFq\"),n(\"ftMj\"),n(\"TWNs\"),n(\"rB9j\"),n(\"U3f4\"),n(\"JfAA\"),n(\"YGK4\"),n(\"inlA\"),n(\"JTJg\"),n(\"Rm1S\"),n(\"hDyC\"),n(\"TZCg\"),n(\"UxlC\"),n(\"hByQ\"),n(\"EnZy\"),n(\"LKBx\"),n(\"SYor\"),n(\"HiXI\"),n(\"7ueG\"),n(\"z8NH\"),n(\"SpvK\"),n(\"/Yfv\"),n(\"iwkZ\"),n(\"FDzp\"),n(\"XMab\"),n(\"ilnZ\"),n(\"hMMk\"),n(\"+ywr\"),n(\"c162\"),n(\"IL/d\"),n(\"gvgV\"),n(\"YL0P\"),n(\"7JcK\"),n(\"PF2M\"),n(\"IZzc\"),n(\"s5qe\"),n(\"cvf0\"),n(\"ENF9\"),n(\"H+LF\"),n(\"66V8\"),n(\"iIM6\"),n(\"2tOg\"),n(\"gYJb\"),n(\"EDT/\"),n(\"j+VE\"),n(\"wgYD\"),n(\"R3/m\"),n(\"l/vG\"),n(\"0q/z\"),n(\"n5pg\"),n(\"zu+z\"),n(\"ihrJ\"),n(\"Q7Pz\"),n(\"unQa\"),n(\"Vnov\"),n(\"nIe3\"),n(\"CUyW\"),n(\"qc1c\"),n(\"5921\"),n(\"VOz1\"),n(\"Thag\"),n(\"9D6x\"),n(\"cOPa\"),n(\"vdRX\"),n(\"KrxN\"),n(\"SL6q\"),n(\"lehK\"),n(\"eO0o\"),n(\"NqR8\"),n(\"w7s6\"),n(\"uWhJ\"),n(\"WPzJ\"),n(\"NV22\"),n(\"ny8l\"),n(\"a5/B\"),n(\"vzwy\"),n(\"pevA\"),n(\"8go2\"),n(\"DrvE\"),n(\"kCkZ\"),n(\"++zV\"),n(\"Y4C7\"),n(\"ZsH6\"),n(\"vZi8\"),n(\"5r1n\"),n(\"sQ9d\"),n(\"bdeN\"),n(\"AwgR\"),n(\"qgGA\"),n(\"49+q\"),n(\"AVoK\"),n(\"hcok\"),n(\"dNT4\"),n(\"3uUd\"),n(\"tijO\"),n(\"1kQv\"),n(\"ZY7T\"),n(\"C1JJ\"),n(\"lmH4\"),n(\"Co1j\"),n(\"5JV0\"),n(\"ctDJ\"),n(\"8r4s\"),n(\"JwUS\"),n(\"qaHo\"),n(\"Si40\"),n(\"BGb9\"),n(\"fN96\"),n(\"UzNg\"),n(\"DhMN\"),n(\"rZ3M\"),n(\"apDx\"),n(\"4XaG\"),n(\"6V7H\"),n(\"cfiF\"),n(\"702D\"),n(\"TJ79\"),n(\"Z4nd\"),n(\"8STE\"),n(\"spTT\"),n(\"rb3L\"),n(\"FZtP\"),n(\"3bBZ\"),n(\"Ew+T\"),n(\"n5b4\"),n(\"Kz25\"),n(\"vxnP\"),n(\"mGGf\"),n(\"97ZR\");var a=n(\"bCY9\"),c=n(\"qLMh\"),u=n(\"PpiC\"),s=n(\"k1fw\"),l=(n(\"k/Y0\"),n(\"wEI+\")),f=n(\"9og8\"),d=n(\"q1tI\"),h=n.n(d),p=n(\"mrSG\"),v=\"3.3.6\";function g(e,t){return new Promise((function(n){return setTimeout(n,e,t)}))}function m(e,t){void 0===t&&(t=1/0);var n=window.requestIdleCallback;return n?new Promise((function(e){return n.call(window,(function(){return e()}),{timeout:t})})):g(Math.min(e,t))}function y(e){return e&&\"function\"===typeof e.then}function b(e,t){try{var n=e();y(n)?n.then((function(e){return t(!0,e)}),(function(e){return t(!1,e)})):t(!0,n)}catch(r){t(!1,r)}}function x(e,t,n){return void 0===n&&(n=16),Object(p[\"__awaiter\"])(this,void 0,void 0,(function(){var r,o,i;return Object(p[\"__generator\"])(this,(function(a){switch(a.label){case 0:r=Date.now(),o=0,a.label=1;case 1:return o<e.length?(t(e[o],o),i=Date.now(),i>=r+n?(r=i,[4,g(0)]):[3,3]):[3,4];case 2:a.sent(),a.label=3;case 3:return++o,[3,1];case 4:return[2]}}))}))}function w(e){e.then(void 0,(function(){}))}function O(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function E(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function S(e,t){return t%=64,32===t?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}function j(e,t){return t%=64,0===t?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function k(e,t){return[e[0]^t[0],e[1]^t[1]]}function _(e){return e=k(e,[0,e[0]>>>1]),e=E(e,[4283543511,3981806797]),e=k(e,[0,e[0]>>>1]),e=E(e,[3301882366,444984403]),e=k(e,[0,e[0]>>>1]),e}function C(e,t){e=e||\"\",t=t||0;var n,r=e.length%16,o=e.length-r,i=[0,t],a=[0,t],c=[0,0],u=[0,0],s=[2277735313,289559509],l=[1291169091,658871167];for(n=0;n<o;n+=16)c=[255&e.charCodeAt(n+4)|(255&e.charCodeAt(n+5))<<8|(255&e.charCodeAt(n+6))<<16|(255&e.charCodeAt(n+7))<<24,255&e.charCodeAt(n)|(255&e.charCodeAt(n+1))<<8|(255&e.charCodeAt(n+2))<<16|(255&e.charCodeAt(n+3))<<24],u=[255&e.charCodeAt(n+12)|(255&e.charCodeAt(n+13))<<8|(255&e.charCodeAt(n+14))<<16|(255&e.charCodeAt(n+15))<<24,255&e.charCodeAt(n+8)|(255&e.charCodeAt(n+9))<<8|(255&e.charCodeAt(n+10))<<16|(255&e.charCodeAt(n+11))<<24],c=E(c,s),c=S(c,31),c=E(c,l),i=k(i,c),i=S(i,27),i=O(i,a),i=O(E(i,[0,5]),[0,1390208809]),u=E(u,l),u=S(u,33),u=E(u,s),a=k(a,u),a=S(a,31),a=O(a,i),a=O(E(a,[0,5]),[0,944331445]);switch(c=[0,0],u=[0,0],r){case 15:u=k(u,j([0,e.charCodeAt(n+14)],48));case 14:u=k(u,j([0,e.charCodeAt(n+13)],40));case 13:u=k(u,j([0,e.charCodeAt(n+12)],32));case 12:u=k(u,j([0,e.charCodeAt(n+11)],24));case 11:u=k(u,j([0,e.charCodeAt(n+10)],16));case 10:u=k(u,j([0,e.charCodeAt(n+9)],8));case 9:u=k(u,[0,e.charCodeAt(n+8)]),u=E(u,l),u=S(u,33),u=E(u,s),a=k(a,u);case 8:c=k(c,j([0,e.charCodeAt(n+7)],56));case 7:c=k(c,j([0,e.charCodeAt(n+6)],48));case 6:c=k(c,j([0,e.charCodeAt(n+5)],40));case 5:c=k(c,j([0,e.charCodeAt(n+4)],32));case 4:c=k(c,j([0,e.charCodeAt(n+3)],24));case 3:c=k(c,j([0,e.charCodeAt(n+2)],16));case 2:c=k(c,j([0,e.charCodeAt(n+1)],8));case 1:c=k(c,[0,e.charCodeAt(n)]),c=E(c,s),c=S(c,31),c=E(c,l),i=k(i,c)}return i=k(i,[0,e.length]),a=k(a,[0,e.length]),i=O(i,a),a=O(a,i),i=_(i),a=_(a),i=O(i,a),a=O(a,i),(\"00000000\"+(i[0]>>>0).toString(16)).slice(-8)+(\"00000000\"+(i[1]>>>0).toString(16)).slice(-8)+(\"00000000\"+(a[0]>>>0).toString(16)).slice(-8)+(\"00000000\"+(a[1]>>>0).toString(16)).slice(-8)}function M(e){var t;return Object(p[\"__assign\"])({name:e.name,message:e.message,stack:null===(t=e.stack)||void 0===t?void 0:t.split(\"\\n\")},e)}function A(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}function N(e,t){return!A(e,t)}function T(e){return parseInt(e)}function I(e){return parseFloat(e)}function P(e,t){return\"number\"===typeof e&&isNaN(e)?t:e}function L(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function D(e,t){if(void 0===t&&(t=1),Math.abs(t)>=1)return Math.round(e/t)*t;var n=1/t;return Math.round(e*n)/n}function R(e){for(var t,n,r=\"Unexpected syntax '\"+e+\"'\",o=/^\\s*([a-z-]*)(.*)$/i.exec(e),i=o[1]||void 0,a={},c=/([.:#][\\w-]+|\\[.+?\\])/gi,u=function(e,t){a[e]=a[e]||[],a[e].push(t)};;){var s=c.exec(o[2]);if(!s)break;var l=s[0];switch(l[0]){case\".\":u(\"class\",l.slice(1));break;case\"#\":u(\"id\",l.slice(1));break;case\"[\":var f=/^\\[([\\w-]+)([~|^$*]?=(\"(.*?)\"|([\\w-]+)))?(\\s+[is])?\\]$/.exec(l);if(!f)throw new Error(r);u(f[1],null!==(n=null!==(t=f[4])&&void 0!==t?t:f[5])&&void 0!==n?n:\"\");break;default:throw new Error(r)}}return[i,a]}function F(e){return e&&\"object\"===typeof e&&\"message\"in e?e:{message:e}}function B(e){return\"function\"!==typeof e}function z(e,t){var n=new Promise((function(n){var r=Date.now();b(e.bind(null,t),(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=Date.now()-r;if(!e[0])return n((function(){return{error:F(e[1]),duration:o}}));var i=e[1];if(B(i))return n((function(){return{value:i,duration:o}}));n((function(){return new Promise((function(e){var t=Date.now();b(i,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=o+Date.now()-t;if(!n[0])return e({error:F(n[1]),duration:i});e({value:n[1],duration:i})}))}))}))}))}));return w(n),function(){return n.then((function(e){return e()}))}}function U(e,t,n){var r=Object.keys(e).filter((function(e){return N(n,e)})),o=Array(r.length);return x(r,(function(n,r){o[r]=z(e[n],t)})),function(){return Object(p[\"__awaiter\"])(this,void 0,void 0,(function(){var e,t,n,i,a,c,u;return Object(p[\"__generator\"])(this,(function(s){switch(s.label){case 0:for(e={},t=0,n=r;t<n.length;t++)i=n[t],e[i]=void 0;a=Array(r.length),c=function(){var t;return Object(p[\"__generator\"])(this,(function(n){switch(n.label){case 0:return t=!0,[4,x(r,(function(n,r){if(!a[r])if(o[r]){var i=o[r]().then((function(t){return e[n]=t}));w(i),a[r]=i}else t=!1}))];case 1:return n.sent(),t?[2,\"break\"]:[4,g(1)];case 2:return n.sent(),[2]}}))},s.label=1;case 1:return[5,c()];case 2:if(u=s.sent(),\"break\"===u)return[3,4];s.label=3;case 3:return[3,1];case 4:return[4,Promise.all(a)];case 5:return s.sent(),[2,e]}}))}))}}function G(){var e=window,t=navigator;return L([\"MSCSSMatrix\"in e,\"msSetImmediate\"in e,\"msIndexedDB\"in e,\"msMaxTouchPoints\"in t,\"msPointerEnabled\"in t])>=4}function V(){var e=window,t=navigator;return L([\"msWriteProfilerMark\"in e,\"MSStream\"in e,\"msLaunchUri\"in t,\"msSaveBlob\"in t])>=3&&!G()}function W(){var e=window,t=navigator;return L([\"webkitPersistentStorage\"in t,\"webkitTemporaryStorage\"in t,0===t.vendor.indexOf(\"Google\"),\"webkitResolveLocalFileSystemURL\"in e,\"BatteryManager\"in e,\"webkitMediaStream\"in e,\"webkitSpeechGrammar\"in e])>=5}function H(){var e=window,t=navigator;return L([\"ApplePayError\"in e,\"CSSPrimitiveValue\"in e,\"Counter\"in e,0===t.vendor.indexOf(\"Apple\"),\"getStorageUpdates\"in t,\"WebKitMediaKeys\"in e])>=4}function Y(){var e=window;return L([\"safari\"in e,!(\"DeviceMotionEvent\"in e),!(\"ongestureend\"in e),!(\"standalone\"in navigator)])>=3}function X(){var e,t,n=window;return L([\"buildID\"in navigator,\"MozAppearance\"in(null!==(t=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==t?t:{}),\"onmozfullscreenchange\"in n,\"mozInnerScreenX\"in n,\"CSSMozDocumentRule\"in n,\"CanvasCaptureMediaStream\"in n])>=4}function q(){var e=window;return L([!(\"MediaSettingsRange\"in e),\"RTCEncodedAudioFrame\"in e,\"\"+e.Intl===\"[object Intl]\",\"\"+e.Reflect===\"[object Reflect]\"])>=3}function K(){var e=window;return L([\"DOMRectList\"in e,\"RTCPeerConnectionIceEvent\"in e,\"SVGGeometryElement\"in e,\"ontransitioncancel\"in e])>=3}function Z(){if(\"iPad\"===navigator.platform)return!0;var e=screen,t=e.width/e.height;return L([\"MediaSource\"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}function $(){var e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function Q(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function J(){var e=W(),t=X();if(!e&&!t)return!1;var n=window;return L([\"onorientationchange\"in n,\"orientation\"in n,e&&!(\"SharedWorker\"in n),t&&/android/i.test(navigator.appVersion)])>=2}function ee(){var e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(te())return-1;var n=4500,r=5e3,o=new t(1,r,44100),i=o.createOscillator();i.type=\"triangle\",i.frequency.value=1e4;var a=o.createDynamicsCompressor();a.threshold.value=-50,a.knee.value=40,a.ratio.value=12,a.attack.value=0,a.release.value=.25,i.connect(a),a.connect(o.destination),i.start(0);var c=ne(o),u=c[0],s=c[1],l=u.then((function(e){return re(e.getChannelData(0).subarray(n))}),(function(e){if(\"timeout\"===e.name||\"suspended\"===e.name)return-3;throw e}));return w(l),function(){return s(),l}}function te(){return H()&&!Y()&&!K()}function ne(e){var t=3,n=500,r=500,o=5e3,i=function(){},a=new Promise((function(a,c){var u=!1,s=0,l=0;e.oncomplete=function(e){return a(e.renderedBuffer)};var f=function(){setTimeout((function(){return c(oe(\"timeout\"))}),Math.min(r,l+o-Date.now()))},d=function(){try{switch(e.startRendering(),e.state){case\"running\":l=Date.now(),u&&f();break;case\"suspended\":document.hidden||s++,u&&s>=t?c(oe(\"suspended\")):setTimeout(d,n);break}}catch(r){c(r)}};d(),i=function(){u||(u=!0,l>0&&f())}}));return[a,i]}function re(e){for(var t=0,n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}function oe(e){var t=new Error(e);return t.name=e,t}function ie(e,t,n){var r,o,i;return void 0===n&&(n=50),Object(p[\"__awaiter\"])(this,void 0,void 0,(function(){var a,c;return Object(p[\"__generator\"])(this,(function(u){switch(u.label){case 0:a=document,u.label=1;case 1:return a.body?[3,3]:[4,g(n)];case 2:return u.sent(),[3,1];case 3:c=a.createElement(\"iframe\"),u.label=4;case 4:return u.trys.push([4,,10,11]),[4,new Promise((function(e,n){var r=!1,o=function(){r=!0,e()},i=function(e){r=!0,n(e)};c.onload=o,c.onerror=i;var u=c.style;u.setProperty(\"display\",\"block\",\"important\"),u.position=\"absolute\",u.top=\"0\",u.left=\"0\",u.visibility=\"hidden\",t&&\"srcdoc\"in c?c.srcdoc=t:c.src=\"about:blank\",a.body.appendChild(c);var s=function(){var e,t;r||(\"complete\"===(null===(t=null===(e=c.contentWindow)||void 0===e?void 0:e.document)||void 0===t?void 0:t.readyState)?o():setTimeout(s,10))};s()}))];case 5:u.sent(),u.label=6;case 6:return(null===(o=null===(r=c.contentWindow)||void 0===r?void 0:r.document)||void 0===o?void 0:o.body)?[3,8]:[4,g(n)];case 7:return u.sent(),[3,6];case 8:return[4,e(c,c.contentWindow)];case 9:return[2,u.sent()];case 10:return null===(i=c.parentNode)||void 0===i||i.removeChild(c),[7];case 11:return[2]}}))}))}function ae(e){for(var t=R(e),n=t[0],r=t[1],o=document.createElement(null!==n&&void 0!==n?n:\"div\"),i=0,a=Object.keys(r);i<a.length;i++){var c=a[i],u=r[c].join(\" \");\"style\"===c?ce(o.style,u):o.setAttribute(c,u)}return o}function ce(e,t){for(var n=0,r=t.split(\";\");n<r.length;n++){var o=r[n],i=/^\\s*([\\w-]+)\\s*:\\s*(.+?)(\\s*!([\\w-]+))?\\s*$/.exec(o);if(i){var a=i[1],c=i[2],u=i[4];e.setProperty(a,c,u||\"\")}}}var ue=\"mmMwWLliI0O&1\",se=\"48px\",le=[\"monospace\",\"sans-serif\",\"serif\"],fe=[\"sans-serif-thin\",\"ARNO PRO\",\"Agency FB\",\"Arabic Typesetting\",\"Arial Unicode MS\",\"AvantGarde Bk BT\",\"BankGothic Md BT\",\"Batang\",\"Bitstream Vera Sans Mono\",\"Calibri\",\"Century\",\"Century Gothic\",\"Clarendon\",\"EUROSTILE\",\"Franklin Gothic\",\"Futura Bk BT\",\"Futura Md BT\",\"GOTHAM\",\"Gill Sans\",\"HELV\",\"Haettenschweiler\",\"Helvetica Neue\",\"Humanst521 BT\",\"Leelawadee\",\"Letter Gothic\",\"Levenim MT\",\"Lucida Bright\",\"Lucida Sans\",\"Menlo\",\"MS Mincho\",\"MS Outlook\",\"MS Reference Specialty\",\"MS UI Gothic\",\"MT Extra\",\"MYRIAD PRO\",\"Marlett\",\"Meiryo UI\",\"Microsoft Uighur\",\"Minion Pro\",\"Monotype Corsiva\",\"PMingLiU\",\"Pristina\",\"SCRIPTINA\",\"Segoe UI Light\",\"Serifa\",\"SimHei\",\"Small Fonts\",\"Staccato222 BT\",\"TRAJAN PRO\",\"Univers CE 55 Medium\",\"Vrinda\",\"ZWAdobeF\"];function de(){return ie((function(e,t){var n=t.document,r=n.body;r.style.fontSize=se;var o=n.createElement(\"div\"),i={},a={},c=function(e){var t=n.createElement(\"span\"),r=t.style;return r.position=\"absolute\",r.top=\"0\",r.left=\"0\",r.fontFamily=e,t.textContent=ue,o.appendChild(t),t},u=function(e,t){return c(\"'\"+e+\"',\"+t)},s=function(){return le.map(c)},l=function(){for(var e={},t=function(t){e[t]=le.map((function(e){return u(t,e)}))},n=0,r=fe;n<r.length;n++){var o=r[n];t(o)}return e},f=function(e){return le.some((function(t,n){return e[n].offsetWidth!==i[t]||e[n].offsetHeight!==a[t]}))},d=s(),h=l();r.appendChild(o);for(var p=0;p<le.length;p++)i[le[p]]=d[p].offsetWidth,a[le[p]]=d[p].offsetHeight;return fe.filter((function(e){return f(h[e])}))}))}function he(){var e=navigator.plugins;if(e){for(var t=[],n=0;n<e.length;++n){var r=e[n];if(r){for(var o=[],i=0;i<r.length;++i){var a=r[i];o.push({type:a.type,suffixes:a.suffixes})}t.push({name:r.name,description:r.description,mimeTypes:o})}}return t}}function pe(){var e,t,n=!1,r=ve(),o=r[0],i=r[1];if(ge(o,i)){n=me(i),ye(o,i);var a=xe(o),c=xe(o);a!==c?e=t=\"unstable\":(t=a,be(o,i),e=xe(o))}else e=t=\"\";return{winding:n,geometry:e,text:t}}function ve(){var e=document.createElement(\"canvas\");return e.width=1,e.height=1,[e,e.getContext(\"2d\")]}function ge(e,t){return!(!t||!e.toDataURL)}function me(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,\"evenodd\")}function ye(e,t){e.width=240,e.height=60,t.textBaseline=\"alphabetic\",t.fillStyle=\"#f60\",t.fillRect(100,1,62,20),t.fillStyle=\"#069\",t.font='11pt \"Times New Roman\"';var n=\"Cwm fjordbank gly \"+String.fromCharCode(55357,56835);t.fillText(n,2,15),t.fillStyle=\"rgba(102, 204, 0, 0.2)\",t.font=\"18pt Arial\",t.fillText(n,4,45)}function be(e,t){e.width=122,e.height=110,t.globalCompositeOperation=\"multiply\";for(var n=0,r=[[\"#f2f\",40,40],[\"#2ff\",80,40],[\"#ff2\",60,80]];n<r.length;n++){var o=r[n],i=o[0],a=o[1],c=o[2];t.fillStyle=i,t.beginPath(),t.arc(a,c,40,0,2*Math.PI,!0),t.closePath(),t.fill()}t.fillStyle=\"#f9c\",t.arc(60,60,60,0,2*Math.PI,!0),t.arc(60,60,20,0,2*Math.PI,!0),t.fill(\"evenodd\")}function xe(e){return e.toDataURL()}function we(){var e,t=navigator,n=0;void 0!==t.maxTouchPoints?n=T(t.maxTouchPoints):void 0!==t.msMaxTouchPoints&&(n=t.msMaxTouchPoints);try{document.createEvent(\"TouchEvent\"),e=!0}catch(o){e=!1}var r=\"ontouchstart\"in window;return{maxTouchPoints:n,touchEvent:e,touchStart:r}}function Oe(){return navigator.oscpu}function Ee(){var e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(void 0!==n&&t.push([n]),Array.isArray(e.languages))W()&&q()||t.push(e.languages);else if(\"string\"===typeof e.languages){var r=e.languages;r&&t.push(r.split(\",\"))}return t}function Se(){return window.screen.colorDepth}function je(){return P(I(navigator.deviceMemory),void 0)}function ke(){var e=screen,t=function(e){return P(T(e),null)},n=[t(e.width),t(e.height)];return n.sort().reverse(),n}var _e,Ce,Me=2500,Ae=10;function Ne(){if(void 0===Ce){var e=function(){var t=Pe();Le(t)?Ce=setTimeout(e,Me):(_e=t,Ce=void 0)};e()}}function Te(){var e=this;return Ne(),function(){return Object(p[\"__awaiter\"])(e,void 0,void 0,(function(){var e;return Object(p[\"__generator\"])(this,(function(t){switch(t.label){case 0:return e=Pe(),Le(e)?_e?[2,Object(p[\"__spreadArrays\"])(_e)]:$()?[4,Q()]:[3,2]:[3,2];case 1:t.sent(),e=Pe(),t.label=2;case 2:return Le(e)||(_e=e),[2,e]}}))}))}}function Ie(){var e=this,t=Te();return function(){return Object(p[\"__awaiter\"])(e,void 0,void 0,(function(){var e,n;return Object(p[\"__generator\"])(this,(function(r){switch(r.label){case 0:return[4,t()];case 1:return e=r.sent(),n=function(e){return null===e?null:D(e,Ae)},[2,[n(e[0]),n(e[1]),n(e[2]),n(e[3])]]}}))}))}}function Pe(){var e=screen;return[P(I(e.availTop),null),P(I(e.width)-I(e.availWidth)-P(I(e.availLeft),0),null),P(I(e.height)-I(e.availHeight)-P(I(e.availTop),0),null),P(I(e.availLeft),null)]}function Le(e){for(var t=0;t<4;++t)if(e[t])return!1;return!0}function De(){return P(T(navigator.hardwareConcurrency),void 0)}function Re(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t){var n=(new t).resolvedOptions().timeZone;if(n)return n}var r=-Fe();return\"UTC\"+(r>=0?\"+\":\"\")+Math.abs(r)}function Fe(){var e=(new Date).getFullYear();return Math.max(I(new Date(e,0,1).getTimezoneOffset()),I(new Date(e,6,1).getTimezoneOffset()))}function Be(){try{return!!window.sessionStorage}catch(e){return!0}}function ze(){try{return!!window.localStorage}catch(e){return!0}}function Ue(){if(!G()&&!V())try{return!!window.indexedDB}catch(e){return!0}}function Ge(){return!!window.openDatabase}function Ve(){return navigator.cpuClass}function We(){var e=navigator.platform;return\"MacIntel\"===e&&H()&&!Y()?Z()?\"iPad\":\"iPhone\":e}function He(){return navigator.vendor||\"\"}function Ye(){for(var e=[],t=0,n=[\"chrome\",\"safari\",\"__crWeb\",\"__gCrWeb\",\"yandex\",\"__yb\",\"__ybro\",\"__firefox__\",\"__edgeTrackingPreventionStatistics\",\"webkit\",\"oprt\",\"samsungAr\",\"ucweb\",\"UCShellJava\",\"puffinDevice\"];t<n.length;t++){var r=n[t],o=window[r];o&&\"object\"===typeof o&&e.push(r)}return e.sort()}function Xe(){var e=document;try{e.cookie=\"cookietest=1; SameSite=Strict;\";var t=-1!==e.cookie.indexOf(\"cookietest=\");return e.cookie=\"cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT\",t}catch(n){return!1}}function qe(){var e=atob;return{abpIndo:[\"#Iklan-Melayang\",\"#Kolom-Iklan-728\",\"#SidebarIklan-wrapper\",e(\"YVt0aXRsZT0iN25hZ2EgcG9rZXIiIGld\"),'[title=\"ALIENBOLA\" i]'],abpvn:[\"#quangcaomb\",e(\"Lmlvc0Fkc2lvc0Fkcy1sYXlvdXQ=\"),\".quangcao\",e(\"W2hyZWZePSJodHRwczovL3I4OC52bi8iXQ==\"),e(\"W2hyZWZePSJodHRwczovL3piZXQudm4vIl0=\")],adBlockFinland:[\".mainostila\",e(\"LnNwb25zb3JpdA==\"),\".ylamainos\",e(\"YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd\"),e(\"YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd\")],adBlockPersian:[\"#navbar_notice_50\",\".kadr\",'TABLE[width=\"140px\"]',\"#divAgahi\",e(\"I2FkMl9pbmxpbmU=\")],adBlockWarningRemoval:[\"#adblock-honeypot\",\".adblocker-root\",\".wp_adblock_detect\",e(\"LmhlYWRlci1ibG9ja2VkLWFk\"),e(\"I2FkX2Jsb2NrZXI=\")],adGuardAnnoyances:['amp-embed[type=\"zen\"]',\".hs-sosyal\",\"#cookieconsentdiv\",'div[class^=\"app_gdpr\"]',\".as-oil\"],adGuardBase:[\".BetterJsPopOverlay\",e(\"I2FkXzMwMFgyNTA=\"),e(\"I2Jhbm5lcmZsb2F0MjI=\"),e(\"I2FkLWJhbm5lcg==\"),e(\"I2NhbXBhaWduLWJhbm5lcg==\")],adGuardChinese:[e(\"LlppX2FkX2FfSA==\"),e(\"YVtocmVmKj0iL29kMDA1LmNvbSJd\"),e(\"YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd\"),\".qq_nr_lad\",\"#widget-quan\"],adGuardFrench:[e(\"I2Jsb2NrLXZpZXdzLWFkcy1zaWRlYmFyLWJsb2NrLWJsb2Nr\"),\"#pavePub\",e(\"LmFkLWRlc2t0b3AtcmVjdGFuZ2xl\"),\".mobile_adhesion\",\".widgetadv\"],adGuardGerman:[e(\"LmJhbm5lcml0ZW13ZXJidW5nX2hlYWRfMQ==\"),e(\"LmJveHN0YXJ0d2VyYnVuZw==\"),e(\"LndlcmJ1bmcz\"),e(\"YVtocmVmXj0iaHR0cDovL3d3dy5laXMuZGUvaW5kZXgucGh0bWw/cmVmaWQ9Il0=\"),e(\"YVtocmVmXj0iaHR0cHM6Ly93d3cudGlwaWNvLmNvbS8/YWZmaWxpYXRlSWQ9Il0=\")],adGuardJapanese:[\"#kauli_yad_1\",e(\"YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0=\"),e(\"Ll9wb3BJbl9pbmZpbml0ZV9hZA==\"),e(\"LmFkZ29vZ2xl\"),e(\"LmFkX3JlZ3VsYXIz\")],adGuardMobile:[e(\"YW1wLWF1dG8tYWRz\"),e(\"LmFtcF9hZA==\"),'amp-embed[type=\"24smi\"]',\"#mgid_iframe1\",e(\"I2FkX2ludmlld19hcmVh\")],adGuardRussian:[e(\"YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0=\"),e(\"LnJlY2xhbWE=\"),'div[id^=\"smi2adblock\"]',e(\"ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd\"),e(\"I2FkX3NxdWFyZQ==\")],adGuardSocial:[e(\"YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0=\"),e(\"YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0=\"),\".etsy-tweet\",\"#inlineShare\",\".popup-social\"],adGuardSpanishPortuguese:[\"#barraPublicidade\",\"#Publicidade\",\"#publiEspecial\",\"#queTooltip\",e(\"W2hyZWZePSJodHRwOi8vYWRzLmdsaXNwYS5jb20vIl0=\")],adGuardTrackingProtection:[\"#qoo-counter\",e(\"YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ==\"),e(\"YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0=\"),e(\"YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ==\"),\"#top100counter\"],adGuardTurkish:[\"#backkapat\",e(\"I3Jla2xhbWk=\"),e(\"YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0=\"),e(\"YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd\"),e(\"YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==\")],bulgarian:[e(\"dGQjZnJlZW5ldF90YWJsZV9hZHM=\"),\"#ea_intext_div\",\".lapni-pop-over\",\"#xenium_hot_offers\",e(\"I25ld0Fk\")],easyList:[e(\"I0FEX0NPTlRST0xfMjg=\"),e(\"LnNlY29uZC1wb3N0LWFkcy13cmFwcGVy\"),\".universalboxADVBOX03\",e(\"LmFkdmVydGlzZW1lbnQtNzI4eDkw\"),e(\"LnNxdWFyZV9hZHM=\")],easyListChina:[e(\"YVtocmVmKj0iLndlbnNpeHVldGFuZy5jb20vIl0=\"),e(\"LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ==\"),e(\"LmZyb250cGFnZUFkdk0=\"),\"#taotaole\",\"#aafoot.top_box\"],easyListCookie:[\"#AdaCompliance.app-notice\",\".text-center.rgpd\",\".panel--cookie\",\".js-cookies-andromeda\",\".elxtr-consent\"],easyListCzechSlovak:[\"#onlajny-stickers\",e(\"I3Jla2xhbW5pLWJveA==\"),e(\"LnJla2xhbWEtbWVnYWJvYXJk\"),\".sklik\",e(\"W2lkXj0ic2tsaWtSZWtsYW1hIl0=\")],easyListDutch:[e(\"I2FkdmVydGVudGll\"),e(\"I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw==\"),\".adstekst\",e(\"YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0=\"),\"#semilo-lrectangle\"],easyListGermany:[e(\"I0FkX1dpbjJkYXk=\"),e(\"I3dlcmJ1bmdzYm94MzAw\"),e(\"YVtocmVmXj0iaHR0cDovL3d3dy5yb3RsaWNodGthcnRlaS5jb20vP3NjPSJd\"),e(\"I3dlcmJ1bmdfd2lkZXNreXNjcmFwZXJfc2NyZWVu\"),e(\"YVtocmVmXj0iaHR0cDovL2xhbmRpbmcucGFya3BsYXR6a2FydGVpLmNvbS8/YWc9Il0=\")],easyListItaly:[e(\"LmJveF9hZHZfYW5udW5jaQ==\"),\".sb-box-pubbliredazionale\",e(\"YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd\"),e(\"YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd\"),e(\"YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==\")],easyListLithuania:[e(\"LnJla2xhbW9zX3RhcnBhcw==\"),e(\"LnJla2xhbW9zX251b3JvZG9z\"),e(\"aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd\"),e(\"aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd\"),e(\"aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd\")],estonian:[e(\"QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==\")],fanboyAnnoyances:[\"#feedback-tab\",\"#taboola-below-article\",\".feedburnerFeedBlock\",\".widget-feedburner-counter\",'[title=\"Subscribe to our blog\"]'],fanboyAntiFacebook:[\".util-bar-module-firefly-visible\"],fanboyEnhancedTrackers:[\".open.pushModal\",\"#issuem-leaky-paywall-articles-zero-remaining-nag\",\"#sovrn_container\",'div[class$=\"-hide\"][zoompage-fontsize][style=\"display: block;\"]',\".BlockNag__Card\"],fanboySocial:[\".td-tags-and-social-wrapper-box\",\".twitterContainer\",\".youtube-social\",'a[title^=\"Like us on Facebook\"]','img[alt^=\"Share on Digg\"]'],frellwitSwedish:[e(\"YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ==\"),e(\"YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ==\"),\"article.category-samarbete\",e(\"ZGl2LmhvbGlkQWRz\"),\"ul.adsmodern\"],greekAdBlock:[e(\"QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd\"),e(\"QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ==\"),e(\"QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd\"),\"DIV.agores300\",\"TABLE.advright\"],hungarian:[\"#cemp_doboz\",\".optimonk-iframe-container\",e(\"LmFkX19tYWlu\"),e(\"W2NsYXNzKj0iR29vZ2xlQWRzIl0=\"),\"#hirdetesek_box\"],iDontCareAboutCookies:['.alert-info[data-block-track*=\"CookieNotice\"]',\".ModuleTemplateCookieIndicator\",\".o--cookies--container\",\".cookie-msg-info-container\",\"#cookies-policy-sticky\"],icelandicAbp:[e(\"QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==\")],latvian:[e(\"YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0=\"),e(\"YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==\")],listKr:[e(\"YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0=\"),e(\"I2xpdmVyZUFkV3JhcHBlcg==\"),e(\"YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ==\"),e(\"aW5zLmZhc3R2aWV3LWFk\"),\".revenue_unit_item.dable\"],listeAr:[e(\"LmdlbWluaUxCMUFk\"),\".right-and-left-sponsers\",e(\"YVtocmVmKj0iLmFmbGFtLmluZm8iXQ==\"),e(\"YVtocmVmKj0iYm9vcmFxLm9yZyJd\"),e(\"YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd\")],listeFr:[e(\"YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ==\"),e(\"I2FkY29udGFpbmVyX3JlY2hlcmNoZQ==\"),e(\"YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0=\"),\".site-pub-interstitiel\",'div[id^=\"crt-\"][data-criteo-id]'],officialPolish:[\"#ceneo-placeholder-ceneo-12\",e(\"W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd\"),e(\"YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ==\"),e(\"YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ==\"),e(\"ZGl2I3NrYXBpZWNfYWQ=\")],ro:[e(\"YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd\"),'a[href^=\"/magazin/\"]',e(\"YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd\"),e(\"YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0=\"),e(\"YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd\")],ruAd:[e(\"YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd\"),e(\"YVtocmVmKj0iLy91dGltZy5ydS8iXQ==\"),e(\"YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0=\"),\"#pgeldiz\",\".yandex-rtb-block\"],thaiAds:[\"a[href*=macau-uta-popup]\",e(\"I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA==\"),e(\"LmFkczMwMHM=\"),\".bumq\",\".img-kosana\"],webAnnoyancesUltralist:[\"#mod-social-share-2\",\"#social-tools\",e(\"LmN0cGwtZnVsbGJhbm5lcg==\"),\".zergnet-recommend\",\".yt.btn-link.btn-md.btn\"]}}function Ke(e){var t=(void 0===e?{}:e).debug;return Object(p[\"__awaiter\"])(this,void 0,void 0,(function(){var e,n,r,o,i,a;return Object(p[\"__generator\"])(this,(function(c){switch(c.label){case 0:return Ze()?(e=qe(),n=Object.keys(e),r=(a=[]).concat.apply(a,n.map((function(t){return e[t]}))),[4,$e(r)]):[2,void 0];case 1:return o=c.sent(),t&&Je(e,o),i=n.filter((function(t){var n=e[t],r=L(n.map((function(e){return o[e]})));return r>.6*n.length})),i.sort(),[2,i]}}))}))}function Ze(){return H()||J()}function $e(e){var t;return Object(p[\"__awaiter\"])(this,void 0,void 0,(function(){var n,r,o,i,a,c,u;return Object(p[\"__generator\"])(this,(function(s){switch(s.label){case 0:for(n=document,r=n.createElement(\"div\"),o=new Array(e.length),i={},Qe(r),u=0;u<e.length;++u)a=ae(e[u]),c=n.createElement(\"div\"),Qe(c),c.appendChild(a),r.appendChild(c),o[u]=a;s.label=1;case 1:return n.body?[3,3]:[4,g(50)];case 2:return s.sent(),[3,1];case 3:n.body.appendChild(r);try{for(u=0;u<e.length;++u)o[u].offsetParent||(i[e[u]]=!0)}finally{null===(t=r.parentNode)||void 0===t||t.removeChild(r)}return[2,i]}}))}))}function Qe(e){e.style.setProperty(\"display\",\"block\",\"important\")}function Je(e,t){for(var n=\"DOM blockers debug:\\n```\",r=0,o=Object.keys(e);r<o.length;r++){var i=o[r];n+=\"\\n\"+i+\":\";for(var a=0,c=e[i];a<c.length;a++){var u=c[a];n+=\"\\n  \"+(t[u]?\"\\ud83d\\udeab\":\"\\u27a1\\ufe0f\")+\" \"+u}}console.log(n+\"\\n```\")}function et(){for(var e=0,t=[\"rec2020\",\"p3\",\"srgb\"];e<t.length;e++){var n=t[e];if(matchMedia(\"(color-gamut: \"+n+\")\").matches)return n}}function tt(){return!!nt(\"inverted\")||!nt(\"none\")&&void 0}function nt(e){return matchMedia(\"(inverted-colors: \"+e+\")\").matches}function rt(){return!!ot(\"active\")||!ot(\"none\")&&void 0}function ot(e){return matchMedia(\"(forced-colors: \"+e+\")\").matches}var it=100;function at(){if(matchMedia(\"(min-monochrome: 0)\").matches){for(var e=0;e<=it;++e)if(matchMedia(\"(max-monochrome: \"+e+\")\").matches)return e;throw new Error(\"Too high value\")}}function ct(){return ut(\"no-preference\")?0:ut(\"high\")||ut(\"more\")?1:ut(\"low\")||ut(\"less\")?-1:ut(\"forced\")?10:void 0}function ut(e){return matchMedia(\"(prefers-contrast: \"+e+\")\").matches}function st(){return!!lt(\"reduce\")||!lt(\"no-preference\")&&void 0}function lt(e){return matchMedia(\"(prefers-reduced-motion: \"+e+\")\").matches}function ft(){return!!dt(\"high\")||!dt(\"standard\")&&void 0}function dt(e){return matchMedia(\"(dynamic-range: \"+e+\")\").matches}var ht=Math,pt=function(){return 0};function vt(){var e=ht.acos||pt,t=ht.acosh||pt,n=ht.asin||pt,r=ht.asinh||pt,o=ht.atanh||pt,i=ht.atan||pt,a=ht.sin||pt,c=ht.sinh||pt,u=ht.cos||pt,s=ht.cosh||pt,l=ht.tan||pt,f=ht.tanh||pt,d=ht.exp||pt,h=ht.expm1||pt,p=ht.log1p||pt,v=function(e){return ht.pow(ht.PI,e)},g=function(e){return ht.log(e+ht.sqrt(e*e-1))},m=function(e){return ht.log(e+ht.sqrt(e*e+1))},y=function(e){return ht.log((1+e)/(1-e))/2},b=function(e){return ht.exp(e)-1/ht.exp(e)/2},x=function(e){return(ht.exp(e)+1/ht.exp(e))/2},w=function(e){return ht.exp(e)-1},O=function(e){return(ht.exp(2*e)-1)/(ht.exp(2*e)+1)},E=function(e){return ht.log(1+e)};return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:g(1e154),asin:n(.12312423423423424),asinh:r(1),asinhPf:m(1),atanh:o(.5),atanhPf:y(.5),atan:i(.5),sin:a(-1e300),sinh:c(1),sinhPf:b(1),cos:u(10.000000000123),cosh:s(1),coshPf:x(1),tan:l(-1e300),tanh:f(1),tanhPf:O(1),exp:d(1),expm1:h(1),expm1Pf:w(1),log1p:p(10),log1pPf:E(10),powPI:v(-100)}}var gt=\"mmMwWLliI0fiflO&1\",mt={default:[],apple:[{font:\"-apple-system-body\"}],serif:[{fontFamily:\"serif\"}],sans:[{fontFamily:\"sans-serif\"}],mono:[{fontFamily:\"monospace\"}],min:[{fontSize:\"1px\"}],system:[{fontFamily:\"system-ui\"}]};function yt(){return bt((function(e,t){for(var n={},r={},o=0,i=Object.keys(mt);o<i.length;o++){var a=i[o],c=mt[a],u=c[0],s=void 0===u?{}:u,l=c[1],f=void 0===l?gt:l,d=e.createElement(\"span\");d.textContent=f,d.style.whiteSpace=\"nowrap\";for(var h=0,p=Object.keys(s);h<p.length;h++){var v=p[h],g=s[v];void 0!==g&&(d.style[v]=g)}n[a]=d,t.appendChild(e.createElement(\"br\")),t.appendChild(d)}for(var m=0,y=Object.keys(mt);m<y.length;m++){a=y[m];r[a]=n[a].getBoundingClientRect().width}return r}))}function bt(e,t){return void 0===t&&(t=4e3),ie((function(n,r){var o=r.document,i=o.body,a=i.style;a.width=t+\"px\",a.webkitTextSizeAdjust=a.textSizeAdjust=\"none\",W()?i.style.zoom=\"\"+1/r.devicePixelRatio:H()&&(i.style.zoom=\"reset\");var c=o.createElement(\"div\");return c.textContent=Object(p[\"__spreadArrays\"])(Array(t/20<<0)).map((function(){return\"word\"})).join(\" \"),i.appendChild(c),e(o,i)}),'<!doctype html><html><head><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">')}var xt={fonts:de,domBlockers:Ke,fontPreferences:yt,audio:ee,screenFrame:Ie,osCpu:Oe,languages:Ee,colorDepth:Se,deviceMemory:je,screenResolution:ke,hardwareConcurrency:De,timezone:Re,sessionStorage:Be,localStorage:ze,indexedDB:Ue,openDatabase:Ge,cpuClass:Ve,platform:We,plugins:he,canvas:pe,touchSupport:we,vendor:He,vendorFlavors:Ye,cookiesEnabled:Xe,colorGamut:et,invertedColors:tt,forcedColors:rt,monochrome:at,contrast:ct,reducedMotion:st,hdr:ft,math:vt};function wt(e){return U(xt,e,[])}var Ot=\"$ if upgrade to Pro: https://fpjs.dev/pro\";function Et(e){var t=St(e),n=jt(t);return{score:t,comment:Ot.replace(/\\$/g,\"\"+n)}}function St(e){if(J())return.4;if(H())return Y()?.5:.3;var t=e.platform.value||\"\";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}function jt(e){return D(.99+.01*e,1e-4)}function kt(e){for(var t=\"\",n=0,r=Object.keys(e).sort();n<r.length;n++){var o=r[n],i=e[o],a=i.error?\"error\":JSON.stringify(i.value);t+=(t?\"|\":\"\")+o.replace(/([:|\\\\])/g,\"\\\\$1\")+\":\"+a}return t}function _t(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?M(t):t}),2)}function Ct(e){return C(kt(e))}function Mt(e){var t,n=Et(e);return{get visitorId(){return void 0===t&&(t=Ct(this.components)),t},set visitorId(e){t=e},confidence:n,components:e,version:v}}function At(e){return void 0===e&&(e=50),m(e,2*e)}function Nt(e,t){var n=Date.now();return{get:function(r){return Object(p[\"__awaiter\"])(this,void 0,void 0,(function(){var o,i,a;return Object(p[\"__generator\"])(this,(function(c){switch(c.label){case 0:return o=Date.now(),[4,e()];case 1:return i=c.sent(),a=Mt(i),(t||(null===r||void 0===r?void 0:r.debug))&&console.log(\"Copy the text below to get the debug data:\\n\\n```\\nversion: \"+a.version+\"\\nuserAgent: \"+navigator.userAgent+\"\\ntimeBetweenLoadAndGet: \"+(o-n)+\"\\nvisitorId: \"+a.visitorId+\"\\ncomponents: \"+_t(i)+\"\\n```\"),[2,a]}}))}))}}}function Tt(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open(\"get\",\"https://m1.openfpcdn.io/fingerprintjs/v\"+v+\"/npm-monitoring\",!0),e.send()}catch(t){console.error(t)}}function It(e){var t=void 0===e?{}:e,n=t.delayFallback,r=t.debug,o=t.monitoring,i=void 0===o||o;return Object(p[\"__awaiter\"])(this,void 0,void 0,(function(){var e;return Object(p[\"__generator\"])(this,(function(t){switch(t.label){case 0:return i&&Tt(),[4,At(n)];case 1:return t.sent(),e=wt({debug:r}),[2,Nt(e,r)]}}))}))}var Pt={load:It,hashComponents:Ct,componentsToDebugString:_t},Lt=n(\"SA0R\"),Dt=n.n(Lt),Rt=n(\"R1gS\"),Ft=n(\"nKUr\"),Bt=[\"canvas\"];function zt(){return Ut.apply(this,arguments)}function Ut(){return Ut=Object(f[\"a\"])(Object(c[\"a\"])().mark((function e(){var t,n,r,o,i,a,l;return Object(c[\"a\"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={url:\"\",type:\"https\",isReuest:!1,components:\"\"},n=Pt.load({monitoring:!1}),e.next=4,n;case 4:return r=e.sent,e.next=7,r.get();case 7:for(l in o=e.sent,i=Object(s[\"a\"])(Object(s[\"a\"])({},o.components),{},{useragent:{value:window.navigator.userAgent}}),i.canvas,a=Object(u[\"a\"])(i,Bt),a)Object.keys(i[l]).includes(\"duration\")&&delete i[l].duration;return t.components=a,Object(Rt[\"d\"])(),e.abrupt(\"return\",t);case 14:case\"end\":return e.stop()}}),e)}))),Ut.apply(this,arguments)}function Gt(e){return Object(Ft[\"jsx\"])(l[\"a\"],{locale:Dt.a,getPopupContainer:e=>document.body,children:e})}var Vt=n(\"9kvl\"),Wt=n(\"rlch\"),Ht=n(\"I5X1\");if(\"function\"!==typeof Ht[\"a\"])throw new Error(\"[plugin-initial-state]: useModel is not a function, @umijs/plugin-model is required.\");var Yt=e=>{var t=e.children,n=Object(d[\"useRef\"])(!1),r=Vt[\"b\"].applyPlugins({key:\"initialStateConfig\",type:Wt[\"a\"].modify,initialValue:{}})||{},o=Object(Ht[\"a\"])(\"@@initialState\")||{},i=o.loading,a=void 0!==i&&i;return Object(d[\"useEffect\"])((()=>{a||(n.current=!0)}),[a]),a&&!n.current?r.loading||null:t};function Xt(e){return h.a.createElement(Yt,null,e)}var qt=n(\"tJVT\"),Kt=e=>new Promise((t=>setTimeout(t,e||0)));function Zt(){return $t.apply(this,arguments)}function $t(){return $t=Object(f[\"a\"])(Object(c[\"a\"])().mark((function e(){return Object(c[\"a\"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,zt();case 2:return e.abrupt(\"return\",e.sent);case 3:case\"end\":return e.stop()}}),e)}))),$t.apply(this,arguments)}var Qt={initialState:void 0,loading:!0,error:void 0},Jt=()=>{var e=Object(d[\"useState\"])(Qt),t=Object(qt[\"a\"])(e,2),n=t[0],r=t[1],o=Object(d[\"useCallback\"])(Object(f[\"a\"])(Object(c[\"a\"])().mark((function e(){var t,n;return Object(c[\"a\"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r((e=>Object(s[\"a\"])(Object(s[\"a\"])({},e),{},{loading:!0,error:void 0}))),e.prev=1,t=()=>new Promise((e=>e(Zt()))),e.next=5,t();case 5:n=e.sent,r((e=>Object(s[\"a\"])(Object(s[\"a\"])({},e),{},{initialState:n,loading:!1}))),e.next=12;break;case 9:e.prev=9,e.t0=e[\"catch\"](1),r((t=>Object(s[\"a\"])(Object(s[\"a\"])({},t),{},{error:e.t0,loading:!1})));case 12:return e.next=14,Kt(10);case 14:case\"end\":return e.stop()}}),e,null,[[1,9]])}))),[]),i=Object(d[\"useCallback\"])(function(){var e=Object(f[\"a\"])(Object(c[\"a\"])().mark((function e(t){return Object(c[\"a\"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r((e=>\"function\"===typeof t?Object(s[\"a\"])(Object(s[\"a\"])({},e),{},{initialState:t(e.initialState),loading:!1}):Object(s[\"a\"])(Object(s[\"a\"])({},e),{},{initialState:t,loading:!1}))),e.next=3,Kt(10);case 3:case\"end\":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[]);return Object(d[\"useEffect\"])((()=>{o()}),[]),Object(s[\"a\"])(Object(s[\"a\"])({},n),{},{refresh:o,setInitialState:i})};class en{constructor(){this.callbacks={},this.data={},this.update=e=>{(this.callbacks[e]||[]).forEach((t=>{try{var n=this.data[e];t(n)}catch(r){t(void 0)}}))}}}var tn=e=>{var t=e.hook,n=e.onUpdate,r=e.namespace,o=Object(d[\"useRef\"])(n);o.current=n;var i,a=Object(d[\"useRef\"])(!1);try{i=t()}catch(c){console.error(\"plugin-model: Invoking '\".concat(r||\"unknown\",\"' model failed:\"),c)}return Object(d[\"useMemo\"])((()=>{o.current(i),a.current=!1}),[]),Object(d[\"useEffect\"])((()=>{a.current?o.current(i):a.current=!0})),Object(Ft[\"jsx\"])(Ft[\"Fragment\"],{})},nn=n(\"qwGt\"),rn={\"@@initialState\":Jt},on=new en,an=tn,cn=e=>{var t=e.children;return Object(Ft[\"jsxs\"])(nn[\"a\"].Provider,{value:on,children:[Object.entries(rn).map((e=>Object(Ft[\"jsx\"])(an,{namespace:e[0],hook:e[1],onUpdate:t=>{var n=e,r=Object(qt[\"a\"])(n,1),o=r[0];on.data[o]=t,on.update(o)}},e[0]))),t]})};function un(e){return h.a.createElement(cn,null,e)}a[\"a\"].register({apply:r,path:\"../../app.tsx\"}),a[\"a\"].register({apply:o,path:\"../plugin-initial-state/runtime\"}),a[\"a\"].register({apply:i,path:\"../plugin-model/runtime\"});var sn=n(\"FfOG\"),ln=n(\"zlVK\");function fn(){var e=[{path:\"/\",component:n(\"QeBL\").default,routes:[]}];return a[\"a\"].applyPlugins({key:\"patchRoutes\",type:Wt[\"a\"].event,args:{routes:e}}),e}var dn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a[\"a\"].applyPlugins({key:\"render\",type:Wt[\"a\"].compose,initialValue:()=>{var t=a[\"a\"].applyPlugins({key:\"modifyClientRenderOpts\",type:Wt[\"a\"].modify,initialValue:{routes:e.routes||fn(),plugin:a[\"a\"],history:Object(sn[\"a\"])(e.hot),isServer:Object({NODE_ENV:\"production\"}).__IS_SERVER,rootElement:\"google-site-search-root\",defaultTitle:\"\"}});return Object(ln[\"renderClient\"])(t)},args:e})},hn=dn();t[\"default\"]=hn();window.g_umi={version:\"3.5.35\"}},tJVT:function(e,t,n){\"use strict\";function r(e){if(Array.isArray(e))return e}function o(e,t){var n=null==e?null:\"undefined\"!==typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done);a=!0)if(i.push(r.value),t&&i.length===t)break}catch(u){c=!0,o=u}finally{try{a||null==n[\"return\"]||n[\"return\"]()}finally{if(c)throw o}}return i}}n.d(t,\"a\",(function(){return c}));var i=n(\"Qw5x\");function a(){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 c(e,t){return r(e)||o(e,t)||Object(i[\"a\"])(e,t)||a()}},tK6A:function(e,t,n){\"use strict\";n.r(t),n.d(t,\"AbstractMatrix\",(function(){return te})),n.d(t,\"default\",(function(){return oe})),n.d(t,\"Matrix\",(function(){return oe})),n.d(t,\"MatrixColumnView\",(function(){return ae})),n.d(t,\"MatrixColumnSelectionView\",(function(){return ce})),n.d(t,\"MatrixFlipColumnView\",(function(){return ue})),n.d(t,\"MatrixFlipRowView\",(function(){return se})),n.d(t,\"MatrixRowView\",(function(){return le})),n.d(t,\"MatrixRowSelectionView\",(function(){return fe})),n.d(t,\"MatrixSelectionView\",(function(){return de})),n.d(t,\"MatrixSubView\",(function(){return he})),n.d(t,\"MatrixTransposeView\",(function(){return pe})),n.d(t,\"wrap\",(function(){return me})),n.d(t,\"WrapperMatrix1D\",(function(){return ve})),n.d(t,\"WrapperMatrix2D\",(function(){return ge})),n.d(t,\"solve\",(function(){return Ee})),n.d(t,\"inverse\",(function(){return Oe})),n.d(t,\"determinant\",(function(){return Se})),n.d(t,\"linearDependencies\",(function(){return _e})),n.d(t,\"pseudoInverse\",(function(){return Ce})),n.d(t,\"covariance\",(function(){return Me})),n.d(t,\"correlation\",(function(){return Ae})),n.d(t,\"SingularValueDecomposition\",(function(){return we})),n.d(t,\"SVD\",(function(){return we})),n.d(t,\"EigenvalueDecomposition\",(function(){return Ne})),n.d(t,\"EVD\",(function(){return Ne})),n.d(t,\"CholeskyDecomposition\",(function(){return Re})),n.d(t,\"CHO\",(function(){return Re})),n.d(t,\"LuDecomposition\",(function(){return ye})),n.d(t,\"LU\",(function(){return ye})),n.d(t,\"QrDecomposition\",(function(){return xe})),n.d(t,\"QR\",(function(){return xe})),n.d(t,\"Nipals\",(function(){return Fe})),n.d(t,\"NIPALS\",(function(){return Fe}));var r=n(\"QyJ8\");function o(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function i(e,t){if(t&&(\"object\"===Object(r[\"a\"])(t)||\"function\"===typeof t))return t;if(void 0!==t)throw new TypeError(\"Derived constructors may only return object or undefined\");return o(e)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(e,t){if(\"function\"!==typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,\"prototype\",{writable:!1}),t&&a(e,t)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function s(){if(\"undefined\"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function l(e){var t=s();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return i(this,n)}}function f(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),Object.defineProperty(e,\"prototype\",{writable:!1}),e}const p=Object.prototype.toString;function v(e){return p.call(e).endsWith(\"Array]\")}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!v(e))throw new TypeError(\"input must be an array\");if(0===e.length)throw new TypeError(\"input must not be empty\");var n=t.fromIndex,r=void 0===n?0:n,o=t.toIndex,i=void 0===o?e.length:o;if(r<0||r>=e.length||!Number.isInteger(r))throw new Error(\"fromIndex must be a positive integer smaller than length\");if(i<=r||i>e.length||!Number.isInteger(i))throw new Error(\"toIndex must be an integer greater than fromIndex and at most equal to length\");for(var a=e[r],c=r+1;c<i;c++)e[c]>a&&(a=e[c]);return a}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!v(e))throw new TypeError(\"input must be an array\");if(0===e.length)throw new TypeError(\"input must not be empty\");var n=t.fromIndex,r=void 0===n?0:n,o=t.toIndex,i=void 0===o?e.length:o;if(r<0||r>=e.length||!Number.isInteger(r))throw new Error(\"fromIndex must be a positive integer smaller than length\");if(i<=r||i>e.length||!Number.isInteger(i))throw new Error(\"toIndex must be an integer greater than fromIndex and at most equal to length\");for(var a=e[r],c=r+1;c<i;c++)e[c]<a&&(a=e[c]);return a}function y(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!v(e))throw new TypeError(\"input must be an array\");if(0===e.length)throw new TypeError(\"input must not be empty\");if(void 0!==n.output){if(!v(n.output))throw new TypeError(\"output option must be an array if specified\");t=n.output}else t=new Array(e.length);var r=m(e),o=g(e);if(r===o)throw new RangeError(\"minimum and maximum input values are equal. Cannot rescale a constant array\");var i=n.min,a=void 0===i?n.autoMinMax?r:0:i,c=n.max,u=void 0===c?n.autoMinMax?o:1:c;if(a>=u)throw new RangeError(\"min option must be smaller than max option\");for(var s=(u-a)/(o-r),l=0;l<e.length;l++)t[l]=(e[l]-r)*s+a;return t}var b=\" \".repeat(2),x=\" \".repeat(4);function w(){return O(this)}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxRows,r=void 0===n?15:n,o=t.maxColumns,i=void 0===o?10:o,a=t.maxNumSize,c=void 0===a?8:a,u=t.padMinus,s=void 0===u?\"auto\":u;return\"\".concat(e.constructor.name,\" {\\n\").concat(b,\"[\\n\").concat(x).concat(E(e,r,i,c,s),\"\\n\").concat(b,\"]\\n\").concat(b,\"rows: \").concat(e.rows,\"\\n\").concat(b,\"columns: \").concat(e.columns,\"\\n}\")}function E(e,t,n,r,o){var i=e.rows,a=e.columns,c=Math.min(i,t),u=Math.min(a,n),s=[];if(\"auto\"===o){o=!1;e:for(var l=0;l<c;l++)for(var f=0;f<u;f++)if(e.get(l,f)<0){o=!0;break e}}for(var d=0;d<c;d++){for(var h=[],p=0;p<u;p++)h.push(S(e.get(d,p),r,o));s.push(\"\".concat(h.join(\" \")))}return u!==a&&(s[s.length-1]+=\" ... \".concat(a-n,\" more columns\")),c!==i&&s.push(\"... \".concat(i-t,\" more rows\")),s.join(\"\\n\".concat(x))}function S(e,t,n){return(e>=0&&n?\" \".concat(j(e,t-1)):j(e,t)).padEnd(t)}function j(e,t){var n=e.toString();if(n.length<=t)return n;var r=e.toFixed(t);if(r.length>t&&(r=e.toFixed(Math.max(0,t-(r.length-t)))),r.length<=t&&!r.startsWith(\"0.000\")&&!r.startsWith(\"-0.000\"))return r;var o=e.toExponential(t);return o.length>t&&(o=e.toExponential(Math.max(0,t-(o.length-t)))),o.slice(0)}function k(e,t){e.prototype.add=function(e){return\"number\"===typeof e?this.addS(e):this.addM(e)},e.prototype.addS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)+e);return this},e.prototype.addM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.set(n,r,this.get(n,r)+e.get(n,r));return this},e.add=function(e,n){var r=new t(e);return r.add(n)},e.prototype.sub=function(e){return\"number\"===typeof e?this.subS(e):this.subM(e)},e.prototype.subS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)-e);return this},e.prototype.subM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.set(n,r,this.get(n,r)-e.get(n,r));return this},e.sub=function(e,n){var r=new t(e);return r.sub(n)},e.prototype.subtract=e.prototype.sub,e.prototype.subtractS=e.prototype.subS,e.prototype.subtractM=e.prototype.subM,e.subtract=e.sub,e.prototype.mul=function(e){return\"number\"===typeof e?this.mulS(e):this.mulM(e)},e.prototype.mulS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)*e);return this},e.prototype.mulM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.set(n,r,this.get(n,r)*e.get(n,r));return this},e.mul=function(e,n){var r=new t(e);return r.mul(n)},e.prototype.multiply=e.prototype.mul,e.prototype.multiplyS=e.prototype.mulS,e.prototype.multiplyM=e.prototype.mulM,e.multiply=e.mul,e.prototype.div=function(e){return\"number\"===typeof e?this.divS(e):this.divM(e)},e.prototype.divS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)/e);return this},e.prototype.divM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.set(n,r,this.get(n,r)/e.get(n,r));return this},e.div=function(e,n){var r=new t(e);return r.div(n)},e.prototype.divide=e.prototype.div,e.prototype.divideS=e.prototype.divS,e.prototype.divideM=e.prototype.divM,e.divide=e.div,e.prototype.mod=function(e){return\"number\"===typeof e?this.modS(e):this.modM(e)},e.prototype.modS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)%e);return this},e.prototype.modM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.set(n,r,this.get(n,r)%e.get(n,r));return this},e.mod=function(e,n){var r=new t(e);return r.mod(n)},e.prototype.modulus=e.prototype.mod,e.prototype.modulusS=e.prototype.modS,e.prototype.modulusM=e.prototype.modM,e.modulus=e.mod,e.prototype.and=function(e){return\"number\"===typeof e?this.andS(e):this.andM(e)},e.prototype.andS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)&e);return this},e.prototype.andM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.set(n,r,this.get(n,r)&e.get(n,r));return this},e.and=function(e,n){var r=new t(e);return r.and(n)},e.prototype.or=function(e){return\"number\"===typeof e?this.orS(e):this.orM(e)},e.prototype.orS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)|e);return this},e.prototype.orM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.set(n,r,this.get(n,r)|e.get(n,r));return this},e.or=function(e,n){var r=new t(e);return r.or(n)},e.prototype.xor=function(e){return\"number\"===typeof e?this.xorS(e):this.xorM(e)},e.prototype.xorS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)^e);return this},e.prototype.xorM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.set(n,r,this.get(n,r)^e.get(n,r));return this},e.xor=function(e,n){var r=new t(e);return r.xor(n)},e.prototype.leftShift=function(e){return\"number\"===typeof e?this.leftShiftS(e):this.leftShiftM(e)},e.prototype.leftShiftS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)<<e);return this},e.prototype.leftShiftM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.set(n,r,this.get(n,r)<<e.get(n,r));return this},e.leftShift=function(e,n){var r=new t(e);return r.leftShift(n)},e.prototype.signPropagatingRightShift=function(e){return\"number\"===typeof e?this.signPropagatingRightShiftS(e):this.signPropagatingRightShiftM(e)},e.prototype.signPropagatingRightShiftS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)>>e);return this},e.prototype.signPropagatingRightShiftM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.set(n,r,this.get(n,r)>>e.get(n,r));return this},e.signPropagatingRightShift=function(e,n){var r=new t(e);return r.signPropagatingRightShift(n)},e.prototype.rightShift=function(e){return\"number\"===typeof e?this.rightShiftS(e):this.rightShiftM(e)},e.prototype.rightShiftS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)>>>e);return this},e.prototype.rightShiftM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.set(n,r,this.get(n,r)>>>e.get(n,r));return this},e.rightShift=function(e,n){var r=new t(e);return r.rightShift(n)},e.prototype.zeroFillRightShift=e.prototype.rightShift,e.prototype.zeroFillRightShiftS=e.prototype.rightShiftS,e.prototype.zeroFillRightShiftM=e.prototype.rightShiftM,e.zeroFillRightShift=e.rightShift,e.prototype.not=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,~this.get(e,t));return this},e.not=function(e){var n=new t(e);return n.not()},e.prototype.abs=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.abs(this.get(e,t)));return this},e.abs=function(e){var n=new t(e);return n.abs()},e.prototype.acos=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.acos(this.get(e,t)));return this},e.acos=function(e){var n=new t(e);return n.acos()},e.prototype.acosh=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.acosh(this.get(e,t)));return this},e.acosh=function(e){var n=new t(e);return n.acosh()},e.prototype.asin=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.asin(this.get(e,t)));return this},e.asin=function(e){var n=new t(e);return n.asin()},e.prototype.asinh=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.asinh(this.get(e,t)));return this},e.asinh=function(e){var n=new t(e);return n.asinh()},e.prototype.atan=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.atan(this.get(e,t)));return this},e.atan=function(e){var n=new t(e);return n.atan()},e.prototype.atanh=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.atanh(this.get(e,t)));return this},e.atanh=function(e){var n=new t(e);return n.atanh()},e.prototype.cbrt=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.cbrt(this.get(e,t)));return this},e.cbrt=function(e){var n=new t(e);return n.cbrt()},e.prototype.ceil=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.ceil(this.get(e,t)));return this},e.ceil=function(e){var n=new t(e);return n.ceil()},e.prototype.clz32=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.clz32(this.get(e,t)));return this},e.clz32=function(e){var n=new t(e);return n.clz32()},e.prototype.cos=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.cos(this.get(e,t)));return this},e.cos=function(e){var n=new t(e);return n.cos()},e.prototype.cosh=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.cosh(this.get(e,t)));return this},e.cosh=function(e){var n=new t(e);return n.cosh()},e.prototype.exp=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.exp(this.get(e,t)));return this},e.exp=function(e){var n=new t(e);return n.exp()},e.prototype.expm1=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.expm1(this.get(e,t)));return this},e.expm1=function(e){var n=new t(e);return n.expm1()},e.prototype.floor=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.floor(this.get(e,t)));return this},e.floor=function(e){var n=new t(e);return n.floor()},e.prototype.fround=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.fround(this.get(e,t)));return this},e.fround=function(e){var n=new t(e);return n.fround()},e.prototype.log=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.log(this.get(e,t)));return this},e.log=function(e){var n=new t(e);return n.log()},e.prototype.log1p=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.log1p(this.get(e,t)));return this},e.log1p=function(e){var n=new t(e);return n.log1p()},e.prototype.log10=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.log10(this.get(e,t)));return this},e.log10=function(e){var n=new t(e);return n.log10()},e.prototype.log2=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.log2(this.get(e,t)));return this},e.log2=function(e){var n=new t(e);return n.log2()},e.prototype.round=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.round(this.get(e,t)));return this},e.round=function(e){var n=new t(e);return n.round()},e.prototype.sign=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.sign(this.get(e,t)));return this},e.sign=function(e){var n=new t(e);return n.sign()},e.prototype.sin=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.sin(this.get(e,t)));return this},e.sin=function(e){var n=new t(e);return n.sin()},e.prototype.sinh=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.sinh(this.get(e,t)));return this},e.sinh=function(e){var n=new t(e);return n.sinh()},e.prototype.sqrt=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.sqrt(this.get(e,t)));return this},e.sqrt=function(e){var n=new t(e);return n.sqrt()},e.prototype.tan=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.tan(this.get(e,t)));return this},e.tan=function(e){var n=new t(e);return n.tan()},e.prototype.tanh=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.tanh(this.get(e,t)));return this},e.tanh=function(e){var n=new t(e);return n.tanh()},e.prototype.trunc=function(){for(var e=0;e<this.rows;e++)for(var t=0;t<this.columns;t++)this.set(e,t,Math.trunc(this.get(e,t)));return this},e.trunc=function(e){var n=new t(e);return n.trunc()},e.pow=function(e,n){var r=new t(e);return r.pow(n)},e.prototype.pow=function(e){return\"number\"===typeof e?this.powS(e):this.powM(e)},e.prototype.powS=function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,Math.pow(this.get(t,n),e));return this},e.prototype.powM=function(e){if(e=t.checkMatrix(e),this.rows!==e.rows||this.columns!==e.columns)throw new RangeError(\"Matrices dimensions must be equal\");for(var n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.set(n,r,Math.pow(this.get(n,r),e.get(n,r)));return this}}function _(e,t,n){var r=n?e.rows:e.rows-1;if(t<0||t>r)throw new RangeError(\"Row index out of range\")}function C(e,t,n){var r=n?e.columns:e.columns-1;if(t<0||t>r)throw new RangeError(\"Column index out of range\")}function M(e,t){if(t.to1DArray&&(t=t.to1DArray()),t.length!==e.columns)throw new RangeError(\"vector size must be the same as the number of columns\");return t}function A(e,t){if(t.to1DArray&&(t=t.to1DArray()),t.length!==e.rows)throw new RangeError(\"vector size must be the same as the number of rows\");return t}function N(e,t){if(!v(t))throw new TypeError(\"row indices must be an array\");for(var n=0;n<t.length;n++)if(t[n]<0||t[n]>=e.rows)throw new RangeError(\"row indices are out of range\")}function T(e,t){if(!v(t))throw new TypeError(\"column indices must be an array\");for(var n=0;n<t.length;n++)if(t[n]<0||t[n]>=e.columns)throw new RangeError(\"column indices are out of range\")}function I(e,t,n,r,o){if(5!==arguments.length)throw new RangeError(\"expected 4 arguments\");if(L(\"startRow\",t),L(\"endRow\",n),L(\"startColumn\",r),L(\"endColumn\",o),t>n||r>o||t<0||t>=e.rows||n<0||n>=e.rows||r<0||r>=e.columns||o<0||o>=e.columns)throw new RangeError(\"Submatrix indices are out of range\")}function P(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=0;r<e;r++)n.push(t);return n}function L(e,t){if(\"number\"!==typeof t)throw new TypeError(\"\".concat(e,\" must be a number\"))}function D(e){if(e.isEmpty())throw new Error(\"Empty matrix has no elements to index\")}function R(e){for(var t=P(e.rows),n=0;n<e.rows;++n)for(var r=0;r<e.columns;++r)t[n]+=e.get(n,r);return t}function F(e){for(var t=P(e.columns),n=0;n<e.rows;++n)for(var r=0;r<e.columns;++r)t[r]+=e.get(n,r);return t}function B(e){for(var t=0,n=0;n<e.rows;n++)for(var r=0;r<e.columns;r++)t+=e.get(n,r);return t}function z(e){for(var t=P(e.rows,1),n=0;n<e.rows;++n)for(var r=0;r<e.columns;++r)t[n]*=e.get(n,r);return t}function U(e){for(var t=P(e.columns,1),n=0;n<e.rows;++n)for(var r=0;r<e.columns;++r)t[r]*=e.get(n,r);return t}function G(e){for(var t=1,n=0;n<e.rows;n++)for(var r=0;r<e.columns;r++)t*=e.get(n,r);return t}function V(e,t,n){for(var r=e.rows,o=e.columns,i=[],a=0;a<r;a++){for(var c=0,u=0,s=0,l=0;l<o;l++)s=e.get(a,l)-n[a],c+=s,u+=s*s;t?i.push((u-c*c/o)/(o-1)):i.push((u-c*c/o)/o)}return i}function W(e,t,n){for(var r=e.rows,o=e.columns,i=[],a=0;a<o;a++){for(var c=0,u=0,s=0,l=0;l<r;l++)s=e.get(l,a)-n[a],c+=s,u+=s*s;t?i.push((u-c*c/r)/(r-1)):i.push((u-c*c/r)/r)}return i}function H(e,t,n){for(var r=e.rows,o=e.columns,i=r*o,a=0,c=0,u=0,s=0;s<r;s++)for(var l=0;l<o;l++)u=e.get(s,l)-n,a+=u,c+=u*u;return t?(c-a*a/i)/(i-1):(c-a*a/i)/i}function Y(e,t){for(var n=0;n<e.rows;n++)for(var r=0;r<e.columns;r++)e.set(n,r,e.get(n,r)-t[n])}function X(e,t){for(var n=0;n<e.rows;n++)for(var r=0;r<e.columns;r++)e.set(n,r,e.get(n,r)-t[r])}function q(e,t){for(var n=0;n<e.rows;n++)for(var r=0;r<e.columns;r++)e.set(n,r,e.get(n,r)-t)}function K(e){for(var t=[],n=0;n<e.rows;n++){for(var r=0,o=0;o<e.columns;o++)r+=Math.pow(e.get(n,o),2)/(e.columns-1);t.push(Math.sqrt(r))}return t}function Z(e,t){for(var n=0;n<e.rows;n++)for(var r=0;r<e.columns;r++)e.set(n,r,e.get(n,r)/t[n])}function $(e){for(var t=[],n=0;n<e.columns;n++){for(var r=0,o=0;o<e.rows;o++)r+=Math.pow(e.get(o,n),2)/(e.rows-1);t.push(Math.sqrt(r))}return t}function Q(e,t){for(var n=0;n<e.rows;n++)for(var r=0;r<e.columns;r++)e.set(n,r,e.get(n,r)/t[r])}function J(e){for(var t=e.size-1,n=0,r=0;r<e.columns;r++)for(var o=0;o<e.rows;o++)n+=Math.pow(e.get(o,r),2)/t;return Math.sqrt(n)}function ee(e,t){for(var n=0;n<e.rows;n++)for(var r=0;r<e.columns;r++)e.set(n,r,e.get(n,r)/t)}var te=function(){function e(){f(this,e)}return h(e,[{key:\"size\",get:function(){return this.rows*this.columns}},{key:\"apply\",value:function(e){if(\"function\"!==typeof e)throw new TypeError(\"callback must be a function\");for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)e.call(this,t,n);return this}},{key:\"to1DArray\",value:function(){for(var e=[],t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)e.push(this.get(t,n));return e}},{key:\"to2DArray\",value:function(){for(var e=[],t=0;t<this.rows;t++){e.push([]);for(var n=0;n<this.columns;n++)e[t].push(this.get(t,n))}return e}},{key:\"toJSON\",value:function(){return this.to2DArray()}},{key:\"isRowVector\",value:function(){return 1===this.rows}},{key:\"isColumnVector\",value:function(){return 1===this.columns}},{key:\"isVector\",value:function(){return 1===this.rows||1===this.columns}},{key:\"isSquare\",value:function(){return this.rows===this.columns}},{key:\"isEmpty\",value:function(){return 0===this.rows||0===this.columns}},{key:\"isSymmetric\",value:function(){if(this.isSquare()){for(var e=0;e<this.rows;e++)for(var t=0;t<=e;t++)if(this.get(e,t)!==this.get(t,e))return!1;return!0}return!1}},{key:\"isEchelonForm\",value:function(){var e=0,t=0,n=-1,r=!0,o=!1;while(e<this.rows&&r){t=0,o=!1;while(t<this.columns&&!1===o)0===this.get(e,t)?t++:1===this.get(e,t)&&t>n?(o=!0,n=t):(r=!1,o=!0);e++}return r}},{key:\"isReducedEchelonForm\",value:function(){var e=0,t=0,n=-1,r=!0,o=!1;while(e<this.rows&&r){t=0,o=!1;while(t<this.columns&&!1===o)0===this.get(e,t)?t++:1===this.get(e,t)&&t>n?(o=!0,n=t):(r=!1,o=!0);for(var i=t+1;i<this.rows;i++)0!==this.get(e,i)&&(r=!1);e++}return r}},{key:\"echelonForm\",value:function(){var e=this.clone(),t=0,n=0;while(t<e.rows&&n<e.columns){for(var r=t,o=t;o<e.rows;o++)e.get(o,n)>e.get(r,n)&&(r=o);if(0===e.get(r,n))n++;else{e.swapRows(t,r);for(var i=e.get(t,n),a=n;a<e.columns;a++)e.set(t,a,e.get(t,a)/i);for(var c=t+1;c<e.rows;c++){var u=e.get(c,n)/e.get(t,n);e.set(c,n,0);for(var s=n+1;s<e.columns;s++)e.set(c,s,e.get(c,s)-e.get(t,s)*u)}t++,n++}}return e}},{key:\"reducedEchelonForm\",value:function(){var e=this.echelonForm(),t=e.columns,n=e.rows,r=n-1;while(r>=0)if(0===e.maxRow(r))r--;else{var o=0,i=!1;while(o<n&&!1===i)1===e.get(r,o)?i=!0:o++;for(var a=0;a<r;a++)for(var c=e.get(a,o),u=o;u<t;u++){var s=e.get(a,u)-c*e.get(r,u);e.set(a,u,s)}r--}return e}},{key:\"set\",value:function(){throw new Error(\"set method is unimplemented\")}},{key:\"get\",value:function(){throw new Error(\"get method is unimplemented\")}},{key:\"repeat\",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(\"object\"!==typeof e)throw new TypeError(\"options must be an object\");var t=e.rows,n=void 0===t?1:t,r=e.columns,o=void 0===r?1:r;if(!Number.isInteger(n)||n<=0)throw new TypeError(\"rows must be a positive integer\");if(!Number.isInteger(o)||o<=0)throw new TypeError(\"columns must be a positive integer\");for(var i=new oe(this.rows*n,this.columns*o),a=0;a<n;a++)for(var c=0;c<o;c++)i.setSubMatrix(this,this.rows*a,this.columns*c);return i}},{key:\"fill\",value:function(e){for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,e);return this}},{key:\"neg\",value:function(){return this.mulS(-1)}},{key:\"getRow\",value:function(e){_(this,e);for(var t=[],n=0;n<this.columns;n++)t.push(this.get(e,n));return t}},{key:\"getRowVector\",value:function(e){return oe.rowVector(this.getRow(e))}},{key:\"setRow\",value:function(e,t){_(this,e),t=M(this,t);for(var n=0;n<this.columns;n++)this.set(e,n,t[n]);return this}},{key:\"swapRows\",value:function(e,t){_(this,e),_(this,t);for(var n=0;n<this.columns;n++){var r=this.get(e,n);this.set(e,n,this.get(t,n)),this.set(t,n,r)}return this}},{key:\"getColumn\",value:function(e){C(this,e);for(var t=[],n=0;n<this.rows;n++)t.push(this.get(n,e));return t}},{key:\"getColumnVector\",value:function(e){return oe.columnVector(this.getColumn(e))}},{key:\"setColumn\",value:function(e,t){C(this,e),t=A(this,t);for(var n=0;n<this.rows;n++)this.set(n,e,t[n]);return this}},{key:\"swapColumns\",value:function(e,t){C(this,e),C(this,t);for(var n=0;n<this.rows;n++){var r=this.get(n,e);this.set(n,e,this.get(n,t)),this.set(n,t,r)}return this}},{key:\"addRowVector\",value:function(e){e=M(this,e);for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)+e[n]);return this}},{key:\"subRowVector\",value:function(e){e=M(this,e);for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)-e[n]);return this}},{key:\"mulRowVector\",value:function(e){e=M(this,e);for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)*e[n]);return this}},{key:\"divRowVector\",value:function(e){e=M(this,e);for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)/e[n]);return this}},{key:\"addColumnVector\",value:function(e){e=A(this,e);for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)+e[t]);return this}},{key:\"subColumnVector\",value:function(e){e=A(this,e);for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)-e[t]);return this}},{key:\"mulColumnVector\",value:function(e){e=A(this,e);for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)*e[t]);return this}},{key:\"divColumnVector\",value:function(e){e=A(this,e);for(var t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)this.set(t,n,this.get(t,n)/e[t]);return this}},{key:\"mulRow\",value:function(e,t){_(this,e);for(var n=0;n<this.columns;n++)this.set(e,n,this.get(e,n)*t);return this}},{key:\"mulColumn\",value:function(e,t){C(this,e);for(var n=0;n<this.rows;n++)this.set(n,e,this.get(n,e)*t);return this}},{key:\"max\",value:function(e){if(this.isEmpty())return NaN;switch(e){case\"row\":for(var t=new Array(this.rows).fill(Number.NEGATIVE_INFINITY),n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.get(n,r)>t[n]&&(t[n]=this.get(n,r));return t;case\"column\":for(var o=new Array(this.columns).fill(Number.NEGATIVE_INFINITY),i=0;i<this.rows;i++)for(var a=0;a<this.columns;a++)this.get(i,a)>o[a]&&(o[a]=this.get(i,a));return o;case void 0:for(var c=this.get(0,0),u=0;u<this.rows;u++)for(var s=0;s<this.columns;s++)this.get(u,s)>c&&(c=this.get(u,s));return c;default:throw new Error(\"invalid option: \".concat(e))}}},{key:\"maxIndex\",value:function(){D(this);for(var e=this.get(0,0),t=[0,0],n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.get(n,r)>e&&(e=this.get(n,r),t[0]=n,t[1]=r);return t}},{key:\"min\",value:function(e){if(this.isEmpty())return NaN;switch(e){case\"row\":for(var t=new Array(this.rows).fill(Number.POSITIVE_INFINITY),n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.get(n,r)<t[n]&&(t[n]=this.get(n,r));return t;case\"column\":for(var o=new Array(this.columns).fill(Number.POSITIVE_INFINITY),i=0;i<this.rows;i++)for(var a=0;a<this.columns;a++)this.get(i,a)<o[a]&&(o[a]=this.get(i,a));return o;case void 0:for(var c=this.get(0,0),u=0;u<this.rows;u++)for(var s=0;s<this.columns;s++)this.get(u,s)<c&&(c=this.get(u,s));return c;default:throw new Error(\"invalid option: \".concat(e))}}},{key:\"minIndex\",value:function(){D(this);for(var e=this.get(0,0),t=[0,0],n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)this.get(n,r)<e&&(e=this.get(n,r),t[0]=n,t[1]=r);return t}},{key:\"maxRow\",value:function(e){if(_(this,e),this.isEmpty())return NaN;for(var t=this.get(e,0),n=1;n<this.columns;n++)this.get(e,n)>t&&(t=this.get(e,n));return t}},{key:\"maxRowIndex\",value:function(e){_(this,e),D(this);for(var t=this.get(e,0),n=[e,0],r=1;r<this.columns;r++)this.get(e,r)>t&&(t=this.get(e,r),n[1]=r);return n}},{key:\"minRow\",value:function(e){if(_(this,e),this.isEmpty())return NaN;for(var t=this.get(e,0),n=1;n<this.columns;n++)this.get(e,n)<t&&(t=this.get(e,n));return t}},{key:\"minRowIndex\",value:function(e){_(this,e),D(this);for(var t=this.get(e,0),n=[e,0],r=1;r<this.columns;r++)this.get(e,r)<t&&(t=this.get(e,r),n[1]=r);return n}},{key:\"maxColumn\",value:function(e){if(C(this,e),this.isEmpty())return NaN;for(var t=this.get(0,e),n=1;n<this.rows;n++)this.get(n,e)>t&&(t=this.get(n,e));return t}},{key:\"maxColumnIndex\",value:function(e){C(this,e),D(this);for(var t=this.get(0,e),n=[0,e],r=1;r<this.rows;r++)this.get(r,e)>t&&(t=this.get(r,e),n[0]=r);return n}},{key:\"minColumn\",value:function(e){if(C(this,e),this.isEmpty())return NaN;for(var t=this.get(0,e),n=1;n<this.rows;n++)this.get(n,e)<t&&(t=this.get(n,e));return t}},{key:\"minColumnIndex\",value:function(e){C(this,e),D(this);for(var t=this.get(0,e),n=[0,e],r=1;r<this.rows;r++)this.get(r,e)<t&&(t=this.get(r,e),n[0]=r);return n}},{key:\"diag\",value:function(){for(var e=Math.min(this.rows,this.columns),t=[],n=0;n<e;n++)t.push(this.get(n,n));return t}},{key:\"norm\",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\"frobenius\",t=0;if(\"max\"===e)return this.max();if(\"frobenius\"===e){for(var n=0;n<this.rows;n++)for(var r=0;r<this.columns;r++)t+=this.get(n,r)*this.get(n,r);return Math.sqrt(t)}throw new RangeError(\"unknown norm type: \".concat(e))}},{key:\"cumulativeSum\",value:function(){for(var e=0,t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)e+=this.get(t,n),this.set(t,n,e);return this}},{key:\"dot\",value:function(t){e.isMatrix(t)&&(t=t.to1DArray());var n=this.to1DArray();if(n.length!==t.length)throw new RangeError(\"vectors do not have the same size\");for(var r=0,o=0;o<n.length;o++)r+=n[o]*t[o];return r}},{key:\"mmul\",value:function(e){e=oe.checkMatrix(e);for(var t=this.rows,n=this.columns,r=e.columns,o=new oe(t,r),i=new Float64Array(n),a=0;a<r;a++){for(var c=0;c<n;c++)i[c]=e.get(c,a);for(var u=0;u<t;u++){for(var s=0,l=0;l<n;l++)s+=this.get(u,l)*i[l];o.set(u,a,s)}}return o}},{key:\"strassen2x2\",value:function(e){e=oe.checkMatrix(e);var t=new oe(2,2),n=this.get(0,0),r=e.get(0,0),o=this.get(0,1),i=e.get(0,1),a=this.get(1,0),c=e.get(1,0),u=this.get(1,1),s=e.get(1,1),l=(n+u)*(r+s),f=(a+u)*r,d=n*(i-s),h=u*(c-r),p=(n+o)*s,v=(a-n)*(r+i),g=(o-u)*(c+s),m=l+h-p+g,y=d+p,b=f+h,x=l-f+d+v;return t.set(0,0,m),t.set(0,1,y),t.set(1,0,b),t.set(1,1,x),t}},{key:\"strassen3x3\",value:function(e){e=oe.checkMatrix(e);var t=new oe(3,3),n=this.get(0,0),r=this.get(0,1),o=this.get(0,2),i=this.get(1,0),a=this.get(1,1),c=this.get(1,2),u=this.get(2,0),s=this.get(2,1),l=this.get(2,2),f=e.get(0,0),d=e.get(0,1),h=e.get(0,2),p=e.get(1,0),v=e.get(1,1),g=e.get(1,2),m=e.get(2,0),y=e.get(2,1),b=e.get(2,2),x=(n+r+o-i-a-s-l)*v,w=(n-i)*(-d+v),O=a*(-f+d+p-v-g-m+b),E=(-n+i+a)*(f-d+v),S=(i+a)*(-f+d),j=n*f,k=(-n+u+s)*(f-h+g),_=(-n+u)*(h-g),C=(u+s)*(-f+h),M=(n+r+o-a-c-u-s)*g,A=s*(-f+h+p-v-g-m+y),N=(-o+s+l)*(v+m-y),T=(o-l)*(v-y),I=o*m,P=(s+l)*(-m+y),L=(-o+a+c)*(g+m-b),D=(o-c)*(g-b),R=(a+c)*(-m+b),F=r*p,B=c*y,z=i*h,U=u*d,G=l*b,V=j+I+F,W=x+E+S+j+N+I+P,H=j+k+C+M+I+L+R,Y=w+O+E+j+I+L+D,X=w+E+S+j+B,q=I+L+D+R+z,K=j+k+_+A+N+T+I,Z=N+T+I+P+U,$=j+k+_+C+G;return t.set(0,0,V),t.set(0,1,W),t.set(0,2,H),t.set(1,0,Y),t.set(1,1,X),t.set(1,2,q),t.set(2,0,K),t.set(2,1,Z),t.set(2,2,$),t}},{key:\"mmulStrassen\",value:function(t){t=oe.checkMatrix(t);var n=this.clone(),r=n.rows,o=n.columns,i=t.rows,a=t.columns;function c(t,n,r){var o=t.rows,i=t.columns;if(o===n&&i===r)return t;var a=e.zeros(n,r);return a=a.setSubMatrix(t,0,0),a}o!==i&&console.warn(\"Multiplying \".concat(r,\" x \").concat(o,\" and \").concat(i,\" x \").concat(a,\" matrix: dimensions do not match.\"));var u=Math.max(r,i),s=Math.max(o,a);function l(t,n,r,o){if(r<=512||o<=512)return t.mmul(n);r%2===1&&o%2===1?(t=c(t,r+1,o+1),n=c(n,r+1,o+1)):r%2===1?(t=c(t,r+1,o),n=c(n,r+1,o)):o%2===1&&(t=c(t,r,o+1),n=c(n,r,o+1));var i=parseInt(t.rows/2,10),a=parseInt(t.columns/2,10),u=t.subMatrix(0,i-1,0,a-1),s=n.subMatrix(0,i-1,0,a-1),f=t.subMatrix(0,i-1,a,t.columns-1),d=n.subMatrix(0,i-1,a,n.columns-1),h=t.subMatrix(i,t.rows-1,0,a-1),p=n.subMatrix(i,n.rows-1,0,a-1),v=t.subMatrix(i,t.rows-1,a,t.columns-1),g=n.subMatrix(i,n.rows-1,a,n.columns-1),m=l(e.add(u,v),e.add(s,g),i,a),y=l(e.add(h,v),s,i,a),b=l(u,e.sub(d,g),i,a),x=l(v,e.sub(p,s),i,a),w=l(e.add(u,f),g,i,a),O=l(e.sub(h,u),e.add(s,d),i,a),E=l(e.sub(f,v),e.add(p,g),i,a),S=e.add(m,x);S.sub(w),S.add(E);var j=e.add(b,w),k=e.add(y,x),_=e.sub(m,y);_.add(b),_.add(O);var C=e.zeros(2*S.rows,2*S.columns);return C=C.setSubMatrix(S,0,0),C=C.setSubMatrix(j,S.rows,0),C=C.setSubMatrix(k,0,S.columns),C=C.setSubMatrix(_,S.rows,S.columns),C.subMatrix(0,r-1,0,o-1)}return n=c(n,u,s),t=c(t,u,s),l(n,t,u,s)}},{key:\"scaleRows\",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(\"object\"!==typeof e)throw new TypeError(\"options must be an object\");var t=e.min,n=void 0===t?0:t,r=e.max,o=void 0===r?1:r;if(!Number.isFinite(n))throw new TypeError(\"min must be a number\");if(!Number.isFinite(o))throw new TypeError(\"max must be a number\");if(n>=o)throw new RangeError(\"min must be smaller than max\");for(var i=new oe(this.rows,this.columns),a=0;a<this.rows;a++){var c=this.getRow(a);c.length>0&&y(c,{min:n,max:o,output:c}),i.setRow(a,c)}return i}},{key:\"scaleColumns\",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(\"object\"!==typeof e)throw new TypeError(\"options must be an object\");var t=e.min,n=void 0===t?0:t,r=e.max,o=void 0===r?1:r;if(!Number.isFinite(n))throw new TypeError(\"min must be a number\");if(!Number.isFinite(o))throw new TypeError(\"max must be a number\");if(n>=o)throw new RangeError(\"min must be smaller than max\");for(var i=new oe(this.rows,this.columns),a=0;a<this.columns;a++){var c=this.getColumn(a);c.length&&y(c,{min:n,max:o,output:c}),i.setColumn(a,c)}return i}},{key:\"flipRows\",value:function(){for(var e=Math.ceil(this.columns/2),t=0;t<this.rows;t++)for(var n=0;n<e;n++){var r=this.get(t,n),o=this.get(t,this.columns-1-n);this.set(t,n,o),this.set(t,this.columns-1-n,r)}return this}},{key:\"flipColumns\",value:function(){for(var e=Math.ceil(this.rows/2),t=0;t<this.columns;t++)for(var n=0;n<e;n++){var r=this.get(n,t),o=this.get(this.rows-1-n,t);this.set(n,t,o),this.set(this.rows-1-n,t,r)}return this}},{key:\"kroneckerProduct\",value:function(e){e=oe.checkMatrix(e);for(var t=this.rows,n=this.columns,r=e.rows,o=e.columns,i=new oe(t*r,n*o),a=0;a<t;a++)for(var c=0;c<n;c++)for(var u=0;u<r;u++)for(var s=0;s<o;s++)i.set(r*a+u,o*c+s,this.get(a,c)*e.get(u,s));return i}},{key:\"kroneckerSum\",value:function(e){if(e=oe.checkMatrix(e),!this.isSquare()||!e.isSquare())throw new Error(\"Kronecker Sum needs two Square Matrices\");var t=this.rows,n=e.rows,r=this.kroneckerProduct(oe.eye(n,n)),o=oe.eye(t,t).kroneckerProduct(e);return r.add(o)}},{key:\"transpose\",value:function(){for(var e=new oe(this.columns,this.rows),t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)e.set(n,t,this.get(t,n));return e}},{key:\"sortRows\",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ne,t=0;t<this.rows;t++)this.setRow(t,this.getRow(t).sort(e));return this}},{key:\"sortColumns\",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ne,t=0;t<this.columns;t++)this.setColumn(t,this.getColumn(t).sort(e));return this}},{key:\"subMatrix\",value:function(e,t,n,r){I(this,e,t,n,r);for(var o=new oe(t-e+1,r-n+1),i=e;i<=t;i++)for(var a=n;a<=r;a++)o.set(i-e,a-n,this.get(i,a));return o}},{key:\"subMatrixRow\",value:function(e,t,n){if(void 0===t&&(t=0),void 0===n&&(n=this.columns-1),t>n||t<0||t>=this.columns||n<0||n>=this.columns)throw new RangeError(\"Argument out of range\");for(var r=new oe(e.length,n-t+1),o=0;o<e.length;o++)for(var i=t;i<=n;i++){if(e[o]<0||e[o]>=this.rows)throw new RangeError(\"Row index out of range: \".concat(e[o]));r.set(o,i-t,this.get(e[o],i))}return r}},{key:\"subMatrixColumn\",value:function(e,t,n){if(void 0===t&&(t=0),void 0===n&&(n=this.rows-1),t>n||t<0||t>=this.rows||n<0||n>=this.rows)throw new RangeError(\"Argument out of range\");for(var r=new oe(n-t+1,e.length),o=0;o<e.length;o++)for(var i=t;i<=n;i++){if(e[o]<0||e[o]>=this.columns)throw new RangeError(\"Column index out of range: \".concat(e[o]));r.set(i-t,o,this.get(i,e[o]))}return r}},{key:\"setSubMatrix\",value:function(e,t,n){if(e=oe.checkMatrix(e),e.isEmpty())return this;var r=t+e.rows-1,o=n+e.columns-1;I(this,t,r,n,o);for(var i=0;i<e.rows;i++)for(var a=0;a<e.columns;a++)this.set(t+i,n+a,e.get(i,a));return this}},{key:\"selection\",value:function(e,t){N(this,e),T(this,t);for(var n=new oe(e.length,t.length),r=0;r<e.length;r++)for(var o=e[r],i=0;i<t.length;i++){var a=t[i];n.set(r,i,this.get(o,a))}return n}},{key:\"trace\",value:function(){for(var e=Math.min(this.rows,this.columns),t=0,n=0;n<e;n++)t+=this.get(n,n);return t}},{key:\"clone\",value:function(){for(var e=new oe(this.rows,this.columns),t=0;t<this.rows;t++)for(var n=0;n<this.columns;n++)e.set(t,n,this.get(t,n));return e}},{key:\"sum\",value:function(e){switch(e){case\"row\":return R(this);case\"column\":return F(this);case void 0:return B(this);default:throw new Error(\"invalid option: \".concat(e))}}},{key:\"product\",value:function(e){switch(e){case\"row\":return z(this);case\"column\":return U(this);case void 0:return G(this);default:throw new Error(\"invalid option: \".concat(e))}}},{key:\"mean\",value:function(e){var t=this.sum(e);switch(e){case\"row\":for(var n=0;n<this.rows;n++)t[n]/=this.columns;return t;case\"column\":for(var r=0;r<this.columns;r++)t[r]/=this.rows;return t;case void 0:return t/this.size;default:throw new Error(\"invalid option: \".concat(e))}}},{key:\"variance\",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(\"object\"===typeof e&&(t=e,e=void 0),\"object\"!==typeof t)throw new TypeError(\"options must be an object\");var n=t,r=n.unbiased,o=void 0===r||r,i=n.mean,a=void 0===i?this.mean(e):i;if(\"boolean\"!==typeof o)throw new TypeError(\"unbiased must be a boolean\");switch(e){case\"row\":if(!v(a))throw new TypeError(\"mean must be an array\");return V(this,o,a);case\"column\":if(!v(a))throw new TypeError(\"mean must be an array\");return W(this,o,a);case void 0:if(\"number\"!==typeof a)throw new TypeError(\"mean must be a number\");return H(this,o,a);default:throw new Error(\"invalid option: \".concat(e))}}},{key:\"standardDeviation\",value:function(e,t){\"object\"===typeof e&&(t=e,e=void 0);var n=this.variance(e,t);if(void 0===e)return Math.sqrt(n);for(var r=0;r<n.length;r++)n[r]=Math.sqrt(n[r]);return n}},{key:\"center\",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(\"object\"===typeof e&&(t=e,e=void 0),\"object\"!==typeof t)throw new TypeError(\"options must be an object\");var n=t,r=n.center,o=void 0===r?this.mean(e):r;switch(e){case\"row\":if(!v(o))throw new TypeError(\"center must be an array\");return Y(this,o),this;case\"column\":if(!v(o))throw new TypeError(\"center must be an array\");return X(this,o),this;case void 0:if(\"number\"!==typeof o)throw new TypeError(\"center must be a number\");return q(this,o),this;default:throw new Error(\"invalid option: \".concat(e))}}},{key:\"scale\",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(\"object\"===typeof e&&(t=e,e=void 0),\"object\"!==typeof t)throw new TypeError(\"options must be an object\");var n=t.scale;switch(e){case\"row\":if(void 0===n)n=K(this);else if(!v(n))throw new TypeError(\"scale must be an array\");return Z(this,n),this;case\"column\":if(void 0===n)n=$(this);else if(!v(n))throw new TypeError(\"scale must be an array\");return Q(this,n),this;case void 0:if(void 0===n)n=J(this);else if(\"number\"!==typeof n)throw new TypeError(\"scale must be a number\");return ee(this,n),this;default:throw new Error(\"invalid option: \".concat(e))}}},{key:\"toString\",value:function(e){return O(this,e)}}],[{key:\"from1DArray\",value:function(e,t,n){var r=e*t;if(r!==n.length)throw new RangeError(\"data length does not match given dimensions\");for(var o=new oe(e,t),i=0;i<e;i++)for(var a=0;a<t;a++)o.set(i,a,n[i*t+a]);return o}},{key:\"rowVector\",value:function(e){for(var t=new oe(1,e.length),n=0;n<e.length;n++)t.set(0,n,e[n]);return t}},{key:\"columnVector\",value:function(e){for(var t=new oe(e.length,1),n=0;n<e.length;n++)t.set(n,0,e[n]);return t}},{key:\"zeros\",value:function(e,t){return new oe(e,t)}},{key:\"ones\",value:function(e,t){return new oe(e,t).fill(1)}},{key:\"rand\",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(\"object\"!==typeof n)throw new TypeError(\"options must be an object\");for(var r=n.random,o=void 0===r?Math.random:r,i=new oe(e,t),a=0;a<e;a++)for(var c=0;c<t;c++)i.set(a,c,o());return i}},{key:\"randInt\",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(\"object\"!==typeof n)throw new TypeError(\"options must be an object\");var r=n.min,o=void 0===r?0:r,i=n.max,a=void 0===i?1e3:i,c=n.random,u=void 0===c?Math.random:c;if(!Number.isInteger(o))throw new TypeError(\"min must be an integer\");if(!Number.isInteger(a))throw new TypeError(\"max must be an integer\");if(o>=a)throw new RangeError(\"min must be smaller than max\");for(var s=a-o,l=new oe(e,t),f=0;f<e;f++)for(var d=0;d<t;d++){var h=o+Math.round(u()*s);l.set(f,d,h)}return l}},{key:\"eye\",value:function(e,t,n){void 0===t&&(t=e),void 0===n&&(n=1);for(var r=Math.min(e,t),o=this.zeros(e,t),i=0;i<r;i++)o.set(i,i,n);return o}},{key:\"diag\",value:function(e,t,n){var r=e.length;void 0===t&&(t=r),void 0===n&&(n=t);for(var o=Math.min(r,t,n),i=this.zeros(t,n),a=0;a<o;a++)i.set(a,a,e[a]);return i}},{key:\"min\",value:function(e,t){e=this.checkMatrix(e),t=this.checkMatrix(t);for(var n=e.rows,r=e.columns,o=new oe(n,r),i=0;i<n;i++)for(var a=0;a<r;a++)o.set(i,a,Math.min(e.get(i,a),t.get(i,a)));return o}},{key:\"max\",value:function(e,t){e=this.checkMatrix(e),t=this.checkMatrix(t);for(var n=e.rows,r=e.columns,o=new this(n,r),i=0;i<n;i++)for(var a=0;a<r;a++)o.set(i,a,Math.max(e.get(i,a),t.get(i,a)));return o}},{key:\"checkMatrix\",value:function(t){return e.isMatrix(t)?t:new oe(t)}},{key:\"isMatrix\",value:function(e){return null!=e&&\"Matrix\"===e.klass}}]),e}();function ne(e,t){return e-t}function re(e){return e.every((function(e){return\"number\"===typeof e}))}te.prototype.klass=\"Matrix\",\"undefined\"!==typeof Symbol&&(te.prototype[Symbol[\"for\"](\"nodejs.util.inspect.custom\")]=w),te.random=te.rand,te.randomInt=te.randInt,te.diagonal=te.diag,te.prototype.diagonal=te.prototype.diag,te.identity=te.eye,te.prototype.negate=te.prototype.neg,te.prototype.tensorProduct=te.prototype.kroneckerProduct;var oe=function(e){c(n,e);var t=l(n);function n(e,r){var o;if(f(this,n),o=t.call(this),n.isMatrix(e))return i(o,e.clone());if(Number.isInteger(e)&&e>=0){if(o.data=[],!(Number.isInteger(r)&&r>=0))throw new TypeError(\"nColumns must be a positive integer\");for(var a=0;a<e;a++)o.data.push(new Float64Array(r))}else{if(!v(e))throw new TypeError(\"First argument must be a positive number or an array\");var c=e;if(e=c.length,r=e?c[0].length:0,\"number\"!==typeof r)throw new TypeError(\"Data must be a 2D array with at least one element\");o.data=[];for(var u=0;u<e;u++){if(c[u].length!==r)throw new RangeError(\"Inconsistent array dimensions\");if(!re(c[u]))throw new TypeError(\"Input data contains non-numeric values\");o.data.push(Float64Array.from(c[u]))}}return o.rows=e,o.columns=r,o}return h(n,[{key:\"set\",value:function(e,t,n){return this.data[e][t]=n,this}},{key:\"get\",value:function(e,t){return this.data[e][t]}},{key:\"removeRow\",value:function(e){return _(this,e),this.data.splice(e,1),this.rows-=1,this}},{key:\"addRow\",value:function(e,t){return void 0===t&&(t=e,e=this.rows),_(this,e,!0),t=Float64Array.from(M(this,t)),this.data.splice(e,0,t),this.rows+=1,this}},{key:\"removeColumn\",value:function(e){C(this,e);for(var t=0;t<this.rows;t++){for(var n=new Float64Array(this.columns-1),r=0;r<e;r++)n[r]=this.data[t][r];for(var o=e+1;o<this.columns;o++)n[o-1]=this.data[t][o];this.data[t]=n}return this.columns-=1,this}},{key:\"addColumn\",value:function(e,t){\"undefined\"===typeof t&&(t=e,e=this.columns),C(this,e,!0),t=A(this,t);for(var n=0;n<this.rows;n++){for(var r=new Float64Array(this.columns+1),o=0;o<e;o++)r[o]=this.data[n][o];for(r[o++]=t[n];o<this.columns+1;o++)r[o]=this.data[n][o-1];this.data[n]=r}return this.columns+=1,this}}]),n}(te);k(te,oe);var ie=function(e){c(n,e);var t=l(n);function n(e,r,o){var i;return f(this,n),i=t.call(this),i.matrix=e,i.rows=r,i.columns=o,i}return h(n)}(te),ae=function(e){c(n,e);var t=l(n);function n(e,r){var o;return f(this,n),C(e,r),o=t.call(this,e,e.rows,1),o.column=r,o}return h(n,[{key:\"set\",value:function(e,t,n){return this.matrix.set(e,this.column,n),this}},{key:\"get\",value:function(e){return this.matrix.get(e,this.column)}}]),n}(ie),ce=function(e){c(n,e);var t=l(n);function n(e,r){var o;return f(this,n),T(e,r),o=t.call(this,e,e.rows,r.length),o.columnIndices=r,o}return h(n,[{key:\"set\",value:function(e,t,n){return this.matrix.set(e,this.columnIndices[t],n),this}},{key:\"get\",value:function(e,t){return this.matrix.get(e,this.columnIndices[t])}}]),n}(ie),ue=function(e){c(n,e);var t=l(n);function n(e){return f(this,n),t.call(this,e,e.rows,e.columns)}return h(n,[{key:\"set\",value:function(e,t,n){return this.matrix.set(e,this.columns-t-1,n),this}},{key:\"get\",value:function(e,t){return this.matrix.get(e,this.columns-t-1)}}]),n}(ie),se=function(e){c(n,e);var t=l(n);function n(e){return f(this,n),t.call(this,e,e.rows,e.columns)}return h(n,[{key:\"set\",value:function(e,t,n){return this.matrix.set(this.rows-e-1,t,n),this}},{key:\"get\",value:function(e,t){return this.matrix.get(this.rows-e-1,t)}}]),n}(ie),le=function(e){c(n,e);var t=l(n);function n(e,r){var o;return f(this,n),_(e,r),o=t.call(this,e,1,e.columns),o.row=r,o}return h(n,[{key:\"set\",value:function(e,t,n){return this.matrix.set(this.row,t,n),this}},{key:\"get\",value:function(e,t){return this.matrix.get(this.row,t)}}]),n}(ie),fe=function(e){c(n,e);var t=l(n);function n(e,r){var o;return f(this,n),N(e,r),o=t.call(this,e,r.length,e.columns),o.rowIndices=r,o}return h(n,[{key:\"set\",value:function(e,t,n){return this.matrix.set(this.rowIndices[e],t,n),this}},{key:\"get\",value:function(e,t){return this.matrix.get(this.rowIndices[e],t)}}]),n}(ie),de=function(e){c(n,e);var t=l(n);function n(e,r,o){var i;return f(this,n),N(e,r),T(e,o),i=t.call(this,e,r.length,o.length),i.rowIndices=r,i.columnIndices=o,i}return h(n,[{key:\"set\",value:function(e,t,n){return this.matrix.set(this.rowIndices[e],this.columnIndices[t],n),this}},{key:\"get\",value:function(e,t){return this.matrix.get(this.rowIndices[e],this.columnIndices[t])}}]),n}(ie),he=function(e){c(n,e);var t=l(n);function n(e,r,o,i,a){var c;return f(this,n),I(e,r,o,i,a),c=t.call(this,e,o-r+1,a-i+1),c.startRow=r,c.startColumn=i,c}return h(n,[{key:\"set\",value:function(e,t,n){return this.matrix.set(this.startRow+e,this.startColumn+t,n),this}},{key:\"get\",value:function(e,t){return this.matrix.get(this.startRow+e,this.startColumn+t)}}]),n}(ie),pe=function(e){c(n,e);var t=l(n);function n(e){return f(this,n),t.call(this,e,e.columns,e.rows)}return h(n,[{key:\"set\",value:function(e,t,n){return this.matrix.set(t,e,n),this}},{key:\"get\",value:function(e,t){return this.matrix.get(t,e)}}]),n}(ie),ve=function(e){c(n,e);var t=l(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};f(this,n);var i=o.rows,a=void 0===i?1:i;if(e.length%a!==0)throw new Error(\"the data length is not divisible by the number of rows\");return r=t.call(this),r.rows=a,r.columns=e.length/a,r.data=e,r}return h(n,[{key:\"set\",value:function(e,t,n){var r=this._calculateIndex(e,t);return this.data[r]=n,this}},{key:\"get\",value:function(e,t){var n=this._calculateIndex(e,t);return this.data[n]}},{key:\"_calculateIndex\",value:function(e,t){return e*this.columns+t}}]),n}(te),ge=function(e){c(n,e);var t=l(n);function n(e){var r;return f(this,n),r=t.call(this),r.data=e,r.rows=e.length,r.columns=e[0].length,r}return h(n,[{key:\"set\",value:function(e,t,n){return this.data[e][t]=n,this}},{key:\"get\",value:function(e,t){return this.data[e][t]}}]),n}(te);function me(e,t){if(v(e))return e[0]&&v(e[0])?new ge(e):new ve(e,t);throw new Error(\"the argument is not an array\")}var ye=function(){function e(t){f(this,e),t=ge.checkMatrix(t);var n,r,o,i,a,c,u,s,l,d=t.clone(),h=d.rows,p=d.columns,v=new Float64Array(h),g=1;for(n=0;n<h;n++)v[n]=n;for(s=new Float64Array(h),r=0;r<p;r++){for(n=0;n<h;n++)s[n]=d.get(n,r);for(n=0;n<h;n++){for(l=Math.min(n,r),a=0,o=0;o<l;o++)a+=d.get(n,o)*s[o];s[n]-=a,d.set(n,r,s[n])}for(i=r,n=r+1;n<h;n++)Math.abs(s[n])>Math.abs(s[i])&&(i=n);if(i!==r){for(o=0;o<p;o++)c=d.get(i,o),d.set(i,o,d.get(r,o)),d.set(r,o,c);u=v[i],v[i]=v[r],v[r]=u,g=-g}if(r<h&&0!==d.get(r,r))for(n=r+1;n<h;n++)d.set(n,r,d.get(n,r)/d.get(r,r))}this.LU=d,this.pivotVector=v,this.pivotSign=g}return h(e,[{key:\"isSingular\",value:function(){for(var e=this.LU,t=e.columns,n=0;n<t;n++)if(0===e.get(n,n))return!0;return!1}},{key:\"solve\",value:function(e){e=oe.checkMatrix(e);var t=this.LU,n=t.rows;if(n!==e.rows)throw new Error(\"Invalid matrix dimensions\");if(this.isSingular())throw new Error(\"LU matrix is singular\");var r,o,i,a=e.columns,c=e.subMatrixRow(this.pivotVector,0,a-1),u=t.columns;for(i=0;i<u;i++)for(r=i+1;r<u;r++)for(o=0;o<a;o++)c.set(r,o,c.get(r,o)-c.get(i,o)*t.get(r,i));for(i=u-1;i>=0;i--){for(o=0;o<a;o++)c.set(i,o,c.get(i,o)/t.get(i,i));for(r=0;r<i;r++)for(o=0;o<a;o++)c.set(r,o,c.get(r,o)-c.get(i,o)*t.get(r,i))}return c}},{key:\"determinant\",get:function(){var e=this.LU;if(!e.isSquare())throw new Error(\"Matrix must be square\");for(var t=this.pivotSign,n=e.columns,r=0;r<n;r++)t*=e.get(r,r);return t}},{key:\"lowerTriangularMatrix\",get:function(){for(var e=this.LU,t=e.rows,n=e.columns,r=new oe(t,n),o=0;o<t;o++)for(var i=0;i<n;i++)o>i?r.set(o,i,e.get(o,i)):o===i?r.set(o,i,1):r.set(o,i,0);return r}},{key:\"upperTriangularMatrix\",get:function(){for(var e=this.LU,t=e.rows,n=e.columns,r=new oe(t,n),o=0;o<t;o++)for(var i=0;i<n;i++)o<=i?r.set(o,i,e.get(o,i)):r.set(o,i,0);return r}},{key:\"pivotPermutationVector\",get:function(){return Array.from(this.pivotVector)}}]),e}();function be(e,t){var n=0;return Math.abs(e)>Math.abs(t)?(n=t/e,Math.abs(e)*Math.sqrt(1+n*n)):0!==t?(n=e/t,Math.abs(t)*Math.sqrt(1+n*n)):0}var xe=function(){function e(t){f(this,e),t=ge.checkMatrix(t);var n,r,o,i,a=t.clone(),c=t.rows,u=t.columns,s=new Float64Array(u);for(o=0;o<u;o++){var l=0;for(n=o;n<c;n++)l=be(l,a.get(n,o));if(0!==l){for(a.get(o,o)<0&&(l=-l),n=o;n<c;n++)a.set(n,o,a.get(n,o)/l);for(a.set(o,o,a.get(o,o)+1),r=o+1;r<u;r++){for(i=0,n=o;n<c;n++)i+=a.get(n,o)*a.get(n,r);for(i=-i/a.get(o,o),n=o;n<c;n++)a.set(n,r,a.get(n,r)+i*a.get(n,o))}}s[o]=-l}this.QR=a,this.Rdiag=s}return h(e,[{key:\"solve\",value:function(e){e=oe.checkMatrix(e);var t=this.QR,n=t.rows;if(e.rows!==n)throw new Error(\"Matrix row dimensions must agree\");if(!this.isFullRank())throw new Error(\"Matrix is rank deficient\");var r,o,i,a,c=e.columns,u=e.clone(),s=t.columns;for(i=0;i<s;i++)for(o=0;o<c;o++){for(a=0,r=i;r<n;r++)a+=t.get(r,i)*u.get(r,o);for(a=-a/t.get(i,i),r=i;r<n;r++)u.set(r,o,u.get(r,o)+a*t.get(r,i))}for(i=s-1;i>=0;i--){for(o=0;o<c;o++)u.set(i,o,u.get(i,o)/this.Rdiag[i]);for(r=0;r<i;r++)for(o=0;o<c;o++)u.set(r,o,u.get(r,o)-u.get(i,o)*t.get(r,i))}return u.subMatrix(0,s-1,0,c-1)}},{key:\"isFullRank\",value:function(){for(var e=this.QR.columns,t=0;t<e;t++)if(0===this.Rdiag[t])return!1;return!0}},{key:\"upperTriangularMatrix\",get:function(){var e,t,n=this.QR,r=n.columns,o=new oe(r,r);for(e=0;e<r;e++)for(t=0;t<r;t++)e<t?o.set(e,t,n.get(e,t)):e===t?o.set(e,t,this.Rdiag[e]):o.set(e,t,0);return o}},{key:\"orthogonalMatrix\",get:function(){var e,t,n,r,o=this.QR,i=o.rows,a=o.columns,c=new oe(i,a);for(n=a-1;n>=0;n--){for(e=0;e<i;e++)c.set(e,n,0);for(c.set(n,n,1),t=n;t<a;t++)if(0!==o.get(n,n)){for(r=0,e=n;e<i;e++)r+=o.get(e,n)*c.get(e,t);for(r=-r/o.get(n,n),e=n;e<i;e++)c.set(e,t,c.get(e,t)+r*o.get(e,n))}}return c}}]),e}(),we=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(f(this,e),t=ge.checkMatrix(t),t.isEmpty())throw new Error(\"Matrix must be non-empty\");var r,o=t.rows,i=t.columns,a=n.computeLeftSingularVectors,c=void 0===a||a,u=n.computeRightSingularVectors,s=void 0===u||u,l=n.autoTranspose,d=void 0!==l&&l,h=Boolean(c),p=Boolean(s),v=!1;if(o<i)if(d){r=t.transpose(),o=r.rows,i=r.columns,v=!0;var g=h;h=p,p=g}else r=t.clone(),console.warn(\"Computing SVD on a matrix with more columns than rows. Consider enabling autoTranspose\");else r=t.clone();for(var m=Math.min(o,i),y=Math.min(o+1,i),b=new Float64Array(y),x=new oe(o,m),w=new oe(i,i),O=new Float64Array(i),E=new Float64Array(o),S=new Float64Array(y),j=0;j<y;j++)S[j]=j;for(var k=Math.min(o-1,i),_=Math.max(0,Math.min(i-2,o)),C=Math.max(k,_),M=0;M<C;M++){if(M<k){b[M]=0;for(var A=M;A<o;A++)b[M]=be(b[M],r.get(A,M));if(0!==b[M]){r.get(M,M)<0&&(b[M]=-b[M]);for(var N=M;N<o;N++)r.set(N,M,r.get(N,M)/b[M]);r.set(M,M,r.get(M,M)+1)}b[M]=-b[M]}for(var T=M+1;T<i;T++){if(M<k&&0!==b[M]){for(var I=0,P=M;P<o;P++)I+=r.get(P,M)*r.get(P,T);I=-I/r.get(M,M);for(var L=M;L<o;L++)r.set(L,T,r.get(L,T)+I*r.get(L,M))}O[T]=r.get(M,T)}if(h&&M<k)for(var D=M;D<o;D++)x.set(D,M,r.get(D,M));if(M<_){O[M]=0;for(var R=M+1;R<i;R++)O[M]=be(O[M],O[R]);if(0!==O[M]){O[M+1]<0&&(O[M]=0-O[M]);for(var F=M+1;F<i;F++)O[F]/=O[M];O[M+1]+=1}if(O[M]=-O[M],M+1<o&&0!==O[M]){for(var B=M+1;B<o;B++)E[B]=0;for(var z=M+1;z<o;z++)for(var U=M+1;U<i;U++)E[z]+=O[U]*r.get(z,U);for(var G=M+1;G<i;G++)for(var V=-O[G]/O[M+1],W=M+1;W<o;W++)r.set(W,G,r.get(W,G)+V*E[W])}if(p)for(var H=M+1;H<i;H++)w.set(H,M,O[H])}}var Y=Math.min(i,o+1);if(k<i&&(b[k]=r.get(k,k)),o<Y&&(b[Y-1]=0),_+1<Y&&(O[_]=r.get(_,Y-1)),O[Y-1]=0,h){for(var X=k;X<m;X++){for(var q=0;q<o;q++)x.set(q,X,0);x.set(X,X,1)}for(var K=k-1;K>=0;K--)if(0!==b[K]){for(var Z=K+1;Z<m;Z++){for(var $=0,Q=K;Q<o;Q++)$+=x.get(Q,K)*x.get(Q,Z);$=-$/x.get(K,K);for(var J=K;J<o;J++)x.set(J,Z,x.get(J,Z)+$*x.get(J,K))}for(var ee=K;ee<o;ee++)x.set(ee,K,-x.get(ee,K));x.set(K,K,1+x.get(K,K));for(var te=0;te<K-1;te++)x.set(te,K,0)}else{for(var ne=0;ne<o;ne++)x.set(ne,K,0);x.set(K,K,1)}}if(p)for(var re=i-1;re>=0;re--){if(re<_&&0!==O[re])for(var ie=re+1;ie<i;ie++){for(var ae=0,ce=re+1;ce<i;ce++)ae+=w.get(ce,re)*w.get(ce,ie);ae=-ae/w.get(re+1,re);for(var ue=re+1;ue<i;ue++)w.set(ue,ie,w.get(ue,ie)+ae*w.get(ue,re))}for(var se=0;se<i;se++)w.set(se,re,0);w.set(re,re,1)}var le=Y-1,fe=Number.EPSILON;while(Y>0){var de=void 0,he=void 0;for(de=Y-2;de>=-1;de--){if(-1===de)break;var pe=Number.MIN_VALUE+fe*Math.abs(b[de]+Math.abs(b[de+1]));if(Math.abs(O[de])<=pe||Number.isNaN(O[de])){O[de]=0;break}}if(de===Y-2)he=4;else{var ve=void 0;for(ve=Y-1;ve>=de;ve--){if(ve===de)break;var me=(ve!==Y?Math.abs(O[ve]):0)+(ve!==de+1?Math.abs(O[ve-1]):0);if(Math.abs(b[ve])<=fe*me){b[ve]=0;break}}ve===de?he=3:ve===Y-1?he=1:(he=2,de=ve)}switch(de++,he){case 1:var ye=O[Y-2];O[Y-2]=0;for(var xe=Y-2;xe>=de;xe--){var we=be(b[xe],ye),Oe=b[xe]/we,Ee=ye/we;if(b[xe]=we,xe!==de&&(ye=-Ee*O[xe-1],O[xe-1]=Oe*O[xe-1]),p)for(var Se=0;Se<i;Se++)we=Oe*w.get(Se,xe)+Ee*w.get(Se,Y-1),w.set(Se,Y-1,-Ee*w.get(Se,xe)+Oe*w.get(Se,Y-1)),w.set(Se,xe,we)}break;case 2:var je=O[de-1];O[de-1]=0;for(var ke=de;ke<Y;ke++){var _e=be(b[ke],je),Ce=b[ke]/_e,Me=je/_e;if(b[ke]=_e,je=-Me*O[ke],O[ke]=Ce*O[ke],h)for(var Ae=0;Ae<o;Ae++)_e=Ce*x.get(Ae,ke)+Me*x.get(Ae,de-1),x.set(Ae,de-1,-Me*x.get(Ae,ke)+Ce*x.get(Ae,de-1)),x.set(Ae,ke,_e)}break;case 3:var Ne=Math.max(Math.abs(b[Y-1]),Math.abs(b[Y-2]),Math.abs(O[Y-2]),Math.abs(b[de]),Math.abs(O[de])),Te=b[Y-1]/Ne,Ie=b[Y-2]/Ne,Pe=O[Y-2]/Ne,Le=b[de]/Ne,De=O[de]/Ne,Re=((Ie+Te)*(Ie-Te)+Pe*Pe)/2,Fe=Te*Pe*(Te*Pe),Be=0;0===Re&&0===Fe||(Be=Re<0?0-Math.sqrt(Re*Re+Fe):Math.sqrt(Re*Re+Fe),Be=Fe/(Re+Be));for(var ze=(Le+Te)*(Le-Te)+Be,Ue=Le*De,Ge=de;Ge<Y-1;Ge++){var Ve=be(ze,Ue);0===Ve&&(Ve=Number.MIN_VALUE);var We=ze/Ve,He=Ue/Ve;if(Ge!==de&&(O[Ge-1]=Ve),ze=We*b[Ge]+He*O[Ge],O[Ge]=We*O[Ge]-He*b[Ge],Ue=He*b[Ge+1],b[Ge+1]=We*b[Ge+1],p)for(var Ye=0;Ye<i;Ye++)Ve=We*w.get(Ye,Ge)+He*w.get(Ye,Ge+1),w.set(Ye,Ge+1,-He*w.get(Ye,Ge)+We*w.get(Ye,Ge+1)),w.set(Ye,Ge,Ve);if(Ve=be(ze,Ue),0===Ve&&(Ve=Number.MIN_VALUE),We=ze/Ve,He=Ue/Ve,b[Ge]=Ve,ze=We*O[Ge]+He*b[Ge+1],b[Ge+1]=-He*O[Ge]+We*b[Ge+1],Ue=He*O[Ge+1],O[Ge+1]=We*O[Ge+1],h&&Ge<o-1)for(var Xe=0;Xe<o;Xe++)Ve=We*x.get(Xe,Ge)+He*x.get(Xe,Ge+1),x.set(Xe,Ge+1,-He*x.get(Xe,Ge)+We*x.get(Xe,Ge+1)),x.set(Xe,Ge,Ve)}O[Y-2]=ze,1;break;case 4:if(b[de]<=0&&(b[de]=b[de]<0?-b[de]:0,p))for(var qe=0;qe<=le;qe++)w.set(qe,de,-w.get(qe,de));while(de<le){if(b[de]>=b[de+1])break;var Ke=b[de];if(b[de]=b[de+1],b[de+1]=Ke,p&&de<i-1)for(var Ze=0;Ze<i;Ze++)Ke=w.get(Ze,de+1),w.set(Ze,de+1,w.get(Ze,de)),w.set(Ze,de,Ke);if(h&&de<o-1)for(var $e=0;$e<o;$e++)Ke=x.get($e,de+1),x.set($e,de+1,x.get($e,de)),x.set($e,de,Ke);de++}0,Y--;break}}if(v){var Qe=w;w=x,x=Qe}this.m=o,this.n=i,this.s=b,this.U=x,this.V=w}return h(e,[{key:\"solve\",value:function(e){for(var t=e,n=this.threshold,r=this.s.length,o=oe.zeros(r,r),i=0;i<r;i++)Math.abs(this.s[i])<=n?o.set(i,i,0):o.set(i,i,1/this.s[i]);for(var a=this.U,c=this.rightSingularVectors,u=c.mmul(o),s=c.rows,l=a.rows,f=oe.zeros(s,l),d=0;d<s;d++)for(var h=0;h<l;h++){for(var p=0,v=0;v<r;v++)p+=u.get(d,v)*a.get(h,v);f.set(d,h,p)}return f.mmul(t)}},{key:\"solveForDiagonal\",value:function(e){return this.solve(oe.diag(e))}},{key:\"inverse\",value:function(){for(var e=this.V,t=this.threshold,n=e.rows,r=e.columns,o=new oe(n,this.s.length),i=0;i<n;i++)for(var a=0;a<r;a++)Math.abs(this.s[a])>t&&o.set(i,a,e.get(i,a)/this.s[a]);for(var c=this.U,u=c.rows,s=c.columns,l=new oe(n,u),f=0;f<n;f++)for(var d=0;d<u;d++){for(var h=0,p=0;p<s;p++)h+=o.get(f,p)*c.get(d,p);l.set(f,d,h)}return l}},{key:\"condition\",get:function(){return this.s[0]/this.s[Math.min(this.m,this.n)-1]}},{key:\"norm2\",get:function(){return this.s[0]}},{key:\"rank\",get:function(){for(var e=Math.max(this.m,this.n)*this.s[0]*Number.EPSILON,t=0,n=this.s,r=0,o=n.length;r<o;r++)n[r]>e&&t++;return t}},{key:\"diagonal\",get:function(){return Array.from(this.s)}},{key:\"threshold\",get:function(){return Number.EPSILON/2*Math.max(this.m,this.n)*this.s[0]}},{key:\"leftSingularVectors\",get:function(){return this.U}},{key:\"rightSingularVectors\",get:function(){return this.V}},{key:\"diagonalMatrix\",get:function(){return oe.diag(this.s)}}]),e}();function Oe(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e=ge.checkMatrix(e),t?new we(e).inverse():Ee(e,oe.eye(e.rows))}function Ee(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e=ge.checkMatrix(e),t=ge.checkMatrix(t),n?new we(e).solve(t):e.isSquare()?new ye(e).solve(t):new xe(e).solve(t)}function Se(e){var t,n,r,o,i,a,c;if(e=oe.checkMatrix(e),e.isSquare())return 0===e.columns?1:2===e.columns?(t=e.get(0,0),n=e.get(0,1),r=e.get(1,0),o=e.get(1,1),t*o-n*r):3===e.columns?(i=new de(e,[1,2],[1,2]),a=new de(e,[1,2],[0,2]),c=new de(e,[1,2],[0,1]),t=e.get(0,0),n=e.get(0,1),r=e.get(0,2),t*Se(i)-n*Se(a)+r*Se(c)):new ye(e).determinant;throw Error(\"determinant can only be calculated for a square matrix\")}function je(e,t){for(var n=[],r=0;r<e;r++)r!==t&&n.push(r);return n}function ke(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1e-9,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1e-9;if(e>o)return new Array(t.rows+1).fill(0);for(var i=t.addRow(n,[0]),a=0;a<i.rows;a++)Math.abs(i.get(a,0))<r&&i.set(a,0,0);return i.to1DArray()}function _e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.thresholdValue,r=void 0===n?1e-9:n,o=t.thresholdError,i=void 0===o?1e-9:o;e=oe.checkMatrix(e);for(var a=e.rows,c=new oe(a,a),u=0;u<a;u++){var s=oe.columnVector(e.getRow(u)),l=e.subMatrixRow(je(a,u)).transpose(),f=new we(l),d=f.solve(s),h=oe.sub(s,l.mmul(d)).abs().max();c.setRow(u,ke(h,d,u,r,i))}return c}function Ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.EPSILON;if(e=oe.checkMatrix(e),e.isEmpty())return e.transpose();for(var n=new we(e,{autoTranspose:!0}),r=n.leftSingularVectors,o=n.rightSingularVectors,i=n.diagonal,a=0;a<i.length;a++)Math.abs(i[a])>t?i[a]=1/i[a]:i[a]=0;return o.mmul(oe.diag(i).mmul(r.transpose()))}function Me(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e=new oe(e);var r=!1;if(\"object\"!==typeof t||oe.isMatrix(t)||v(t)?t=new oe(t):(n=t,t=e,r=!0),e.rows!==t.rows)throw new TypeError(\"Both matrices must have the same number of rows\");var o=n,i=o.center,a=void 0===i||i;a&&(e=e.center(\"column\"),r||(t=t.center(\"column\")));for(var c=e.transpose().mmul(t),u=0;u<c.rows;u++)for(var s=0;s<c.columns;s++)c.set(u,s,c.get(u,s)*(1/(e.rows-1)));return c}function Ae(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e=new oe(e);var r=!1;if(\"object\"!==typeof t||oe.isMatrix(t)||v(t)?t=new oe(t):(n=t,t=e,r=!0),e.rows!==t.rows)throw new TypeError(\"Both matrices must have the same number of rows\");var o=n,i=o.center,a=void 0===i||i,c=o.scale,u=void 0===c||c;a&&(e.center(\"column\"),r||t.center(\"column\")),u&&(e.scale(\"column\"),r||t.scale(\"column\"));for(var s=e.standardDeviation(\"column\",{unbiased:!0}),l=r?s:t.standardDeviation(\"column\",{unbiased:!0}),f=e.transpose().mmul(t),d=0;d<f.rows;d++)for(var h=0;h<f.columns;h++)f.set(d,h,f.get(d,h)*(1/(s[d]*l[h]))*(1/(e.rows-1)));return f}var Ne=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};f(this,e);var r=n.assumeSymmetric,o=void 0!==r&&r;if(t=ge.checkMatrix(t),!t.isSquare())throw new Error(\"Matrix is not a square matrix\");if(t.isEmpty())throw new Error(\"Matrix must be non-empty\");var i,a,c=t.columns,u=new oe(c,c),s=new Float64Array(c),l=new Float64Array(c),d=t,h=!1;if(h=!!o||t.isSymmetric(),h){for(i=0;i<c;i++)for(a=0;a<c;a++)u.set(i,a,d.get(i,a));Te(c,l,s,u),Ie(c,l,s,u)}else{var p=new oe(c,c),v=new Float64Array(c);for(a=0;a<c;a++)for(i=0;i<c;i++)p.set(i,a,d.get(i,a));Pe(c,p,v,u),Le(c,l,s,u,p)}this.n=c,this.e=l,this.d=s,this.V=u}return h(e,[{key:\"realEigenvalues\",get:function(){return Array.from(this.d)}},{key:\"imaginaryEigenvalues\",get:function(){return Array.from(this.e)}},{key:\"eigenvectorMatrix\",get:function(){return this.V}},{key:\"diagonalMatrix\",get:function(){var e,t,n=this.n,r=this.e,o=this.d,i=new oe(n,n);for(e=0;e<n;e++){for(t=0;t<n;t++)i.set(e,t,0);i.set(e,e,o[e]),r[e]>0?i.set(e,e+1,r[e]):r[e]<0&&i.set(e,e-1,r[e])}return i}}]),e}();function Te(e,t,n,r){var o,i,a,c,u,s,l,f;for(u=0;u<e;u++)n[u]=r.get(e-1,u);for(c=e-1;c>0;c--){for(f=0,a=0,s=0;s<c;s++)f+=Math.abs(n[s]);if(0===f)for(t[c]=n[c-1],u=0;u<c;u++)n[u]=r.get(c-1,u),r.set(c,u,0),r.set(u,c,0);else{for(s=0;s<c;s++)n[s]/=f,a+=n[s]*n[s];for(o=n[c-1],i=Math.sqrt(a),o>0&&(i=-i),t[c]=f*i,a-=o*i,n[c-1]=o-i,u=0;u<c;u++)t[u]=0;for(u=0;u<c;u++){for(o=n[u],r.set(u,c,o),i=t[u]+r.get(u,u)*o,s=u+1;s<=c-1;s++)i+=r.get(s,u)*n[s],t[s]+=r.get(s,u)*o;t[u]=i}for(o=0,u=0;u<c;u++)t[u]/=a,o+=t[u]*n[u];for(l=o/(a+a),u=0;u<c;u++)t[u]-=l*n[u];for(u=0;u<c;u++){for(o=n[u],i=t[u],s=u;s<=c-1;s++)r.set(s,u,r.get(s,u)-(o*t[s]+i*n[s]));n[u]=r.get(c-1,u),r.set(c,u,0)}}n[c]=a}for(c=0;c<e-1;c++){if(r.set(e-1,c,r.get(c,c)),r.set(c,c,1),a=n[c+1],0!==a){for(s=0;s<=c;s++)n[s]=r.get(s,c+1)/a;for(u=0;u<=c;u++){for(i=0,s=0;s<=c;s++)i+=r.get(s,c+1)*r.get(s,u);for(s=0;s<=c;s++)r.set(s,u,r.get(s,u)-i*n[s])}}for(s=0;s<=c;s++)r.set(s,c+1,0)}for(u=0;u<e;u++)n[u]=r.get(e-1,u),r.set(e-1,u,0);r.set(e-1,e-1,1),t[0]=0}function Ie(e,t,n,r){var o,i,a,c,u,s,l,f,d,h,p,v,g,m,y,b;for(a=1;a<e;a++)t[a-1]=t[a];t[e-1]=0;var x=0,w=0,O=Number.EPSILON;for(s=0;s<e;s++){w=Math.max(w,Math.abs(n[s])+Math.abs(t[s])),l=s;while(l<e){if(Math.abs(t[l])<=O*w)break;l++}if(l>s){0;do{for(1,o=n[s],f=(n[s+1]-o)/(2*t[s]),d=be(f,1),f<0&&(d=-d),n[s]=t[s]/(f+d),n[s+1]=t[s]*(f+d),h=n[s+1],i=o-n[s],a=s+2;a<e;a++)n[a]-=i;for(x+=i,f=n[l],p=1,v=p,g=p,m=t[s+1],y=0,b=0,a=l-1;a>=s;a--)for(g=v,v=p,b=y,o=p*t[a],i=p*f,d=be(f,t[a]),t[a+1]=y*d,y=t[a]/d,p=f/d,f=p*n[a]-y*o,n[a+1]=i+y*(p*o+y*n[a]),u=0;u<e;u++)i=r.get(u,a+1),r.set(u,a+1,y*r.get(u,a)+p*i),r.set(u,a,p*r.get(u,a)-y*i);f=-y*b*g*m*t[s]/h,t[s]=y*f,n[s]=p*f}while(Math.abs(t[s])>O*w)}n[s]=n[s]+x,t[s]=0}for(a=0;a<e-1;a++){for(u=a,f=n[a],c=a+1;c<e;c++)n[c]<f&&(u=c,f=n[c]);if(u!==a)for(n[u]=n[a],n[a]=f,c=0;c<e;c++)f=r.get(c,a),r.set(c,a,r.get(c,u)),r.set(c,u,f)}}function Pe(e,t,n,r){var o,i,a,c,u,s,l,f=0,d=e-1;for(s=f+1;s<=d-1;s++){for(l=0,c=s;c<=d;c++)l+=Math.abs(t.get(c,s-1));if(0!==l){for(a=0,c=d;c>=s;c--)n[c]=t.get(c,s-1)/l,a+=n[c]*n[c];for(i=Math.sqrt(a),n[s]>0&&(i=-i),a-=n[s]*i,n[s]=n[s]-i,u=s;u<e;u++){for(o=0,c=d;c>=s;c--)o+=n[c]*t.get(c,u);for(o/=a,c=s;c<=d;c++)t.set(c,u,t.get(c,u)-o*n[c])}for(c=0;c<=d;c++){for(o=0,u=d;u>=s;u--)o+=n[u]*t.get(c,u);for(o/=a,u=s;u<=d;u++)t.set(c,u,t.get(c,u)-o*n[u])}n[s]=l*n[s],t.set(s,s-1,l*i)}}for(c=0;c<e;c++)for(u=0;u<e;u++)r.set(c,u,c===u?1:0);for(s=d-1;s>=f+1;s--)if(0!==t.get(s,s-1)){for(c=s+1;c<=d;c++)n[c]=t.get(c,s-1);for(u=s;u<=d;u++){for(i=0,c=s;c<=d;c++)i+=n[c]*r.get(c,u);for(i=i/n[s]/t.get(s,s-1),c=s;c<=d;c++)r.set(c,u,r.get(c,u)+i*n[c])}}}function Le(e,t,n,r,o){var i,a,c,u,s,l,f,d,h,p,v,g,m,y,b,x=e-1,w=0,O=e-1,E=Number.EPSILON,S=0,j=0,k=0,_=0,C=0,M=0,A=0,N=0;for(i=0;i<e;i++)for((i<w||i>O)&&(n[i]=o.get(i,i),t[i]=0),a=Math.max(i-1,0);a<e;a++)j+=Math.abs(o.get(i,a));while(x>=w){u=x;while(u>w){if(M=Math.abs(o.get(u-1,u-1))+Math.abs(o.get(u,u)),0===M&&(M=j),Math.abs(o.get(u,u-1))<E*M)break;u--}if(u===x)o.set(x,x,o.get(x,x)+S),n[x]=o.get(x,x),t[x]=0,x--,N=0;else if(u===x-1){if(f=o.get(x,x-1)*o.get(x-1,x),k=(o.get(x-1,x-1)-o.get(x,x))/2,_=k*k+f,A=Math.sqrt(Math.abs(_)),o.set(x,x,o.get(x,x)+S),o.set(x-1,x-1,o.get(x-1,x-1)+S),d=o.get(x,x),_>=0){for(A=k>=0?k+A:k-A,n[x-1]=d+A,n[x]=n[x-1],0!==A&&(n[x]=d-f/A),t[x-1]=0,t[x]=0,d=o.get(x,x-1),M=Math.abs(d)+Math.abs(A),k=d/M,_=A/M,C=Math.sqrt(k*k+_*_),k/=C,_/=C,a=x-1;a<e;a++)A=o.get(x-1,a),o.set(x-1,a,_*A+k*o.get(x,a)),o.set(x,a,_*o.get(x,a)-k*A);for(i=0;i<=x;i++)A=o.get(i,x-1),o.set(i,x-1,_*A+k*o.get(i,x)),o.set(i,x,_*o.get(i,x)-k*A);for(i=w;i<=O;i++)A=r.get(i,x-1),r.set(i,x-1,_*A+k*r.get(i,x)),r.set(i,x,_*r.get(i,x)-k*A)}else n[x-1]=d+k,n[x]=d+k,t[x-1]=A,t[x]=-A;x-=2,N=0}else{if(d=o.get(x,x),h=0,f=0,u<x&&(h=o.get(x-1,x-1),f=o.get(x,x-1)*o.get(x-1,x)),10===N){for(S+=d,i=w;i<=x;i++)o.set(i,i,o.get(i,i)-d);M=Math.abs(o.get(x,x-1))+Math.abs(o.get(x-1,x-2)),d=h=.75*M,f=-.4375*M*M}if(30===N&&(M=(h-d)/2,M=M*M+f,M>0)){for(M=Math.sqrt(M),h<d&&(M=-M),M=d-f/((h-d)/2+M),i=w;i<=x;i++)o.set(i,i,o.get(i,i)-M);S+=M,d=h=f=.964}N+=1,s=x-2;while(s>=u){if(A=o.get(s,s),C=d-A,M=h-A,k=(C*M-f)/o.get(s+1,s)+o.get(s,s+1),_=o.get(s+1,s+1)-A-C-M,C=o.get(s+2,s+1),M=Math.abs(k)+Math.abs(_)+Math.abs(C),k/=M,_/=M,C/=M,s===u)break;if(Math.abs(o.get(s,s-1))*(Math.abs(_)+Math.abs(C))<E*(Math.abs(k)*(Math.abs(o.get(s-1,s-1))+Math.abs(A)+Math.abs(o.get(s+1,s+1)))))break;s--}for(i=s+2;i<=x;i++)o.set(i,i-2,0),i>s+2&&o.set(i,i-3,0);for(c=s;c<=x-1;c++){if(y=c!==x-1,c!==s&&(k=o.get(c,c-1),_=o.get(c+1,c-1),C=y?o.get(c+2,c-1):0,d=Math.abs(k)+Math.abs(_)+Math.abs(C),0!==d&&(k/=d,_/=d,C/=d)),0===d)break;if(M=Math.sqrt(k*k+_*_+C*C),k<0&&(M=-M),0!==M){for(c!==s?o.set(c,c-1,-M*d):u!==s&&o.set(c,c-1,-o.get(c,c-1)),k+=M,d=k/M,h=_/M,A=C/M,_/=k,C/=k,a=c;a<e;a++)k=o.get(c,a)+_*o.get(c+1,a),y&&(k+=C*o.get(c+2,a),o.set(c+2,a,o.get(c+2,a)-k*A)),o.set(c,a,o.get(c,a)-k*d),o.set(c+1,a,o.get(c+1,a)-k*h);for(i=0;i<=Math.min(x,c+3);i++)k=d*o.get(i,c)+h*o.get(i,c+1),y&&(k+=A*o.get(i,c+2),o.set(i,c+2,o.get(i,c+2)-k*C)),o.set(i,c,o.get(i,c)-k),o.set(i,c+1,o.get(i,c+1)-k*_);for(i=w;i<=O;i++)k=d*r.get(i,c)+h*r.get(i,c+1),y&&(k+=A*r.get(i,c+2),r.set(i,c+2,r.get(i,c+2)-k*C)),r.set(i,c,r.get(i,c)-k),r.set(i,c+1,r.get(i,c+1)-k*_)}}}}if(0!==j){for(x=e-1;x>=0;x--)if(k=n[x],_=t[x],0===_)for(u=x,o.set(x,x,1),i=x-1;i>=0;i--){for(f=o.get(i,i)-k,C=0,a=u;a<=x;a++)C+=o.get(i,a)*o.get(a,x);if(t[i]<0)A=f,M=C;else if(u=i,0===t[i]?o.set(i,x,0!==f?-C/f:-C/(E*j)):(d=o.get(i,i+1),h=o.get(i+1,i),_=(n[i]-k)*(n[i]-k)+t[i]*t[i],l=(d*M-A*C)/_,o.set(i,x,l),o.set(i+1,x,Math.abs(d)>Math.abs(A)?(-C-f*l)/d:(-M-h*l)/A)),l=Math.abs(o.get(i,x)),E*l*l>1)for(a=i;a<=x;a++)o.set(a,x,o.get(a,x)/l)}else if(_<0)for(u=x-1,Math.abs(o.get(x,x-1))>Math.abs(o.get(x-1,x))?(o.set(x-1,x-1,_/o.get(x,x-1)),o.set(x-1,x,-(o.get(x,x)-k)/o.get(x,x-1))):(b=De(0,-o.get(x-1,x),o.get(x-1,x-1)-k,_),o.set(x-1,x-1,b[0]),o.set(x-1,x,b[1])),o.set(x,x-1,0),o.set(x,x,1),i=x-2;i>=0;i--){for(p=0,v=0,a=u;a<=x;a++)p+=o.get(i,a)*o.get(a,x-1),v+=o.get(i,a)*o.get(a,x);if(f=o.get(i,i)-k,t[i]<0)A=f,C=p,M=v;else if(u=i,0===t[i]?(b=De(-p,-v,f,_),o.set(i,x-1,b[0]),o.set(i,x,b[1])):(d=o.get(i,i+1),h=o.get(i+1,i),g=(n[i]-k)*(n[i]-k)+t[i]*t[i]-_*_,m=2*(n[i]-k)*_,0===g&&0===m&&(g=E*j*(Math.abs(f)+Math.abs(_)+Math.abs(d)+Math.abs(h)+Math.abs(A))),b=De(d*C-A*p+_*v,d*M-A*v-_*p,g,m),o.set(i,x-1,b[0]),o.set(i,x,b[1]),Math.abs(d)>Math.abs(A)+Math.abs(_)?(o.set(i+1,x-1,(-p-f*o.get(i,x-1)+_*o.get(i,x))/d),o.set(i+1,x,(-v-f*o.get(i,x)-_*o.get(i,x-1))/d)):(b=De(-C-h*o.get(i,x-1),-M-h*o.get(i,x),A,_),o.set(i+1,x-1,b[0]),o.set(i+1,x,b[1]))),l=Math.max(Math.abs(o.get(i,x-1)),Math.abs(o.get(i,x))),E*l*l>1)for(a=i;a<=x;a++)o.set(a,x-1,o.get(a,x-1)/l),o.set(a,x,o.get(a,x)/l)}for(i=0;i<e;i++)if(i<w||i>O)for(a=i;a<e;a++)r.set(i,a,o.get(i,a));for(a=e-1;a>=w;a--)for(i=w;i<=O;i++){for(A=0,c=w;c<=Math.min(a,O);c++)A+=r.get(i,c)*o.get(c,a);r.set(i,a,A)}}}function De(e,t,n,r){var o,i;return Math.abs(n)>Math.abs(r)?(o=r/n,i=n+o*r,[(e+o*t)/i,(t-o*e)/i]):(o=n/r,i=r+o*n,[(o*e+t)/i,(o*t-e)/i])}var Re=function(){function e(t){if(f(this,e),t=ge.checkMatrix(t),!t.isSymmetric())throw new Error(\"Matrix is not symmetric\");var n,r,o,i=t,a=i.rows,c=new oe(a,a),u=!0;for(r=0;r<a;r++){var s=0;for(o=0;o<r;o++){var l=0;for(n=0;n<o;n++)l+=c.get(o,n)*c.get(r,n);l=(i.get(r,o)-l)/c.get(o,o),c.set(r,o,l),s+=l*l}for(s=i.get(r,r)-s,u&=s>0,c.set(r,r,Math.sqrt(Math.max(s,0))),o=r+1;o<a;o++)c.set(r,o,0)}this.L=c,this.positiveDefinite=Boolean(u)}return h(e,[{key:\"isPositiveDefinite\",value:function(){return this.positiveDefinite}},{key:\"solve\",value:function(e){e=ge.checkMatrix(e);var t=this.L,n=t.rows;if(e.rows!==n)throw new Error(\"Matrix dimensions do not match\");if(!1===this.isPositiveDefinite())throw new Error(\"Matrix is not positive definite\");var r,o,i,a=e.columns,c=e.clone();for(i=0;i<n;i++)for(o=0;o<a;o++){for(r=0;r<i;r++)c.set(i,o,c.get(i,o)-c.get(r,o)*t.get(i,r));c.set(i,o,c.get(i,o)/t.get(i,i))}for(i=n-1;i>=0;i--)for(o=0;o<a;o++){for(r=i+1;r<n;r++)c.set(i,o,c.get(i,o)-c.get(r,o)*t.get(r,i));c.set(i,o,c.get(i,o)/t.get(i,i))}return c}},{key:\"lowerTriangularMatrix\",get:function(){return this.L}}]),e}(),Fe=h((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};f(this,e),t=ge.checkMatrix(t);var r,o=n.Y,i=n.scaleScores,a=void 0!==i&&i,c=n.maxIterations,u=void 0===c?1e3:c,s=n.terminationCriteria,l=void 0===s?1e-10:s;if(o){if(o=v(o)&&\"number\"===typeof o[0]?oe.columnVector(o):ge.checkMatrix(o),o.rows!==t.rows)throw new Error(\"Y should have the same number of rows as X\");r=o.getColumnVector(0)}else r=t.getColumnVector(0);for(var d,h,p,g,m=1,y=0;y<u&&m>l;y++)p=t.transpose().mmul(r).div(r.transpose().mmul(r).get(0,0)),p=p.div(p.norm()),d=t.mmul(p).div(p.transpose().mmul(p).get(0,0)),y>0&&(m=d.clone().sub(g).pow(2).sum()),g=d.clone(),o?(h=o.transpose().mmul(d).div(d.transpose().mmul(d).get(0,0)),h=h.div(h.norm()),r=o.mmul(h).div(h.transpose().mmul(h).get(0,0))):r=d;if(o){var b=t.transpose().mmul(d).div(d.transpose().mmul(d).get(0,0));b=b.div(b.norm());var x=t.clone().sub(d.clone().mmul(b.transpose())),w=r.transpose().mmul(d).div(d.transpose().mmul(d).get(0,0)),O=o.clone().sub(d.clone().mulS(w.get(0,0)).mmul(h.transpose()));this.t=d,this.p=b.transpose(),this.w=p.transpose(),this.q=h,this.u=r,this.s=d.transpose().mmul(d),this.xResidual=x,this.yResidual=O,this.betas=w}else this.w=p.transpose(),this.s=d.transpose().mmul(d).sqrt(),this.t=a?d.clone().div(this.s.get(0,0)):d,this.xResidual=t.sub(d.mmul(p.transpose()))}))},tLB3:function(e,t,n){var r=n(\"jXQH\"),o=n(\"GoyQ\"),i=n(\"/9aa\"),a=NaN,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt;function f(e){if(\"number\"==typeof e)return e;if(i(e))return a;if(o(e)){var t=\"function\"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+\"\":t}if(\"string\"!=typeof e)return 0===e?e:+e;e=r(e);var n=u.test(e);return n||s.test(e)?l(e.slice(2),n?2:8):c.test(e)?a:+e}e.exports=f},tMB7:function(e,t,n){var r=n(\"y1pI\");function o(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}e.exports=o},tW5y:function(e,t,n){\"use strict\";var r=n(\"hh1v\"),o=n(\"m/L8\"),i=n(\"4WOD\"),a=n(\"tiKp\"),c=a(\"hasInstance\"),u=Function.prototype;c in u||o.f(u,c,{value:function(e){if(\"function\"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;while(e=i(e))if(this.prototype===e)return!0;return!1}})},tXUg:function(e,t,n){var r,o,i,a,c,u,s,l,f=n(\"2oRo\"),d=n(\"Bs8V\").f,h=n(\"xrYK\"),p=n(\"LPSS\").set,v=n(\"HNyW\"),g=f.MutationObserver||f.WebKitMutationObserver,m=f.process,y=f.Promise,b=\"process\"==h(m),x=d(f,\"queueMicrotask\"),w=x&&x.value;w||(r=function(){var e,t;b&&(e=m.domain)&&e.exit();while(o){t=o.fn,o=o.next;try{t()}catch(n){throw o?a():i=void 0,n}}i=void 0,e&&e.enter()},b?a=function(){m.nextTick(r)}:g&&!v?(c=!0,u=document.createTextNode(\"\"),new g(r).observe(u,{characterData:!0}),a=function(){u.data=c=!c}):y&&y.resolve?(s=y.resolve(void 0),l=s.then,a=function(){l.call(s,r)}):a=function(){p.call(f,r)}),e.exports=w||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},tadb:function(e,t,n){var r=n(\"Cwc5\"),o=n(\"Kz5y\"),i=r(o,\"DataView\");e.exports=i},tiKp:function(e,t,n){var r=n(\"2oRo\"),o=n(\"VpIT\"),i=n(\"UTVS\"),a=n(\"kOOl\"),c=n(\"STAE\"),u=n(\"/b8u\"),s=o(\"wks\"),l=r.Symbol,f=u?l:l&&l.withoutSetter||a;e.exports=function(e){return i(s,e)||(c&&i(l,e)?s[e]=l[e]:s[e]=f(\"Symbol.\"+e)),s[e]}},tijO:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"glrk\"),a=n(\"A2ZE\"),c=n(\"WGBp\"),u=n(\"ImZN\");r({target:\"Set\",proto:!0,real:!0,forced:o},{find:function(e){var t=i(this),n=c(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return u(n,(function(e){if(r(e,e,t))return u.stop(e)}),void 0,!1,!0).result}})},tjZM:function(e,t,n){var r=n(\"dG/n\");r(\"asyncIterator\")},tjlA:function(e,t,n){\"use strict\";(function(e){var r=n(\"H7XF\"),o=n(\"kVK+\"),i=n(\"49sm\");function a(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&\"function\"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function c(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(e,t){if(c()<t)throw new RangeError(\"Invalid typed array length\");return s.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=s.prototype):(null===e&&(e=new s(t)),e.length=t),e}function s(e,t,n){if(!s.TYPED_ARRAY_SUPPORT&&!(this instanceof s))return new s(e,t,n);if(\"number\"===typeof e){if(\"string\"===typeof t)throw new Error(\"If encoding is specified then the first argument must be a string\");return h(this,e)}return l(this,e,t,n)}function l(e,t,n,r){if(\"number\"===typeof t)throw new TypeError('\"value\" argument must not be a number');return\"undefined\"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?g(e,t,n,r):\"string\"===typeof t?p(e,t,n):m(e,t)}function f(e){if(\"number\"!==typeof e)throw new TypeError('\"size\" argument must be a number');if(e<0)throw new RangeError('\"size\" argument must not be negative')}function d(e,t,n,r){return f(t),t<=0?u(e,t):void 0!==n?\"string\"===typeof r?u(e,t).fill(n,r):u(e,t).fill(n):u(e,t)}function h(e,t){if(f(t),e=u(e,t<0?0:0|y(t)),!s.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function p(e,t,n){if(\"string\"===typeof n&&\"\"!==n||(n=\"utf8\"),!s.isEncoding(n))throw new TypeError('\"encoding\" must be a valid string encoding');var r=0|x(t,n);e=u(e,r);var o=e.write(t,n);return o!==r&&(e=e.slice(0,o)),e}function v(e,t){var n=t.length<0?0:0|y(t.length);e=u(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function g(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError(\"'offset' is out of bounds\");if(t.byteLength<n+(r||0))throw new RangeError(\"'length' is out of bounds\");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),s.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=s.prototype):e=v(e,t),e}function m(e,t){if(s.isBuffer(t)){var n=0|y(t.length);return e=u(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if(\"undefined\"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||\"length\"in t)return\"number\"!==typeof t.length||te(t.length)?u(e,0):v(e,t);if(\"Buffer\"===t.type&&i(t.data))return v(e,t.data)}throw new TypeError(\"First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.\")}function y(e){if(e>=c())throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+c().toString(16)+\" bytes\");return 0|e}function b(e){return+e!=e&&(e=0),s.alloc(+e)}function x(e,t){if(s.isBuffer(e))return e.length;if(\"undefined\"!==typeof ArrayBuffer&&\"function\"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;\"string\"!==typeof e&&(e=\"\"+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case\"ascii\":case\"latin1\":case\"binary\":return n;case\"utf8\":case\"utf-8\":case void 0:return Z(e).length;case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return 2*n;case\"hex\":return n>>>1;case\"base64\":return J(e).length;default:if(r)return Z(e).length;t=(\"\"+t).toLowerCase(),r=!0}}function w(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return\"\";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return\"\";if(n>>>=0,t>>>=0,n<=t)return\"\";e||(e=\"utf8\");while(1)switch(e){case\"hex\":return R(this,t,n);case\"utf8\":case\"utf-8\":return T(this,t,n);case\"ascii\":return L(this,t,n);case\"latin1\":case\"binary\":return D(this,t,n);case\"base64\":return N(this,t,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return F(this,t,n);default:if(r)throw new TypeError(\"Unknown encoding: \"+e);e=(e+\"\").toLowerCase(),r=!0}}function O(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function E(e,t,n,r,o){if(0===e.length)return-1;if(\"string\"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if(\"string\"===typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:S(e,t,n,r,o);if(\"number\"===typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&\"function\"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):S(e,[t],n,r,o);throw new TypeError(\"val must be string, number or Buffer\")}function S(e,t,n,r,o){var i,a=1,c=e.length,u=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),\"ucs2\"===r||\"ucs-2\"===r||\"utf16le\"===r||\"utf-16le\"===r)){if(e.length<2||t.length<2)return-1;a=2,c/=2,u/=2,n/=2}function s(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=n;i<c;i++)if(s(e,i)===s(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===u)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(n+u>c&&(n=c-u),i=n;i>=0;i--){for(var f=!0,d=0;d<u;d++)if(s(e,i+d)!==s(t,d)){f=!1;break}if(f)return i}return-1}function j(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r),r>o&&(r=o)):r=o;var i=t.length;if(i%2!==0)throw new TypeError(\"Invalid hex string\");r>i/2&&(r=i/2);for(var a=0;a<r;++a){var c=parseInt(t.substr(2*a,2),16);if(isNaN(c))return a;e[n+a]=c}return a}function k(e,t,n,r){return ee(Z(t,e.length-n),e,n,r)}function _(e,t,n,r){return ee($(t),e,n,r)}function C(e,t,n,r){return _(e,t,n,r)}function M(e,t,n,r){return ee(J(t),e,n,r)}function A(e,t,n,r){return ee(Q(t,e.length-n),e,n,r)}function N(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function T(e,t,n){n=Math.min(e.length,n);var r=[],o=t;while(o<n){var i,a,c,u,s=e[o],l=null,f=s>239?4:s>223?3:s>191?2:1;if(o+f<=n)switch(f){case 1:s<128&&(l=s);break;case 2:i=e[o+1],128===(192&i)&&(u=(31&s)<<6|63&i,u>127&&(l=u));break;case 3:i=e[o+1],a=e[o+2],128===(192&i)&&128===(192&a)&&(u=(15&s)<<12|(63&i)<<6|63&a,u>2047&&(u<55296||u>57343)&&(l=u));break;case 4:i=e[o+1],a=e[o+2],c=e[o+3],128===(192&i)&&128===(192&a)&&128===(192&c)&&(u=(15&s)<<18|(63&i)<<12|(63&a)<<6|63&c,u>65535&&u<1114112&&(l=u))}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=f}return P(r)}t.Buffer=s,t.SlowBuffer=b,t.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:a(),t.kMaxLength=c(),s.poolSize=8192,s._augment=function(e){return e.__proto__=s.prototype,e},s.from=function(e,t,n){return l(null,e,t,n)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,\"undefined\"!==typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(e,t,n){return d(null,e,t,n)},s.allocUnsafe=function(e){return h(null,e)},s.allocUnsafeSlow=function(e){return h(null,e)},s.isBuffer=function(e){return!(null==e||!e._isBuffer)},s.compare=function(e,t){if(!s.isBuffer(e)||!s.isBuffer(t))throw new TypeError(\"Arguments must be Buffers\");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},s.isEncoding=function(e){switch(String(e).toLowerCase()){case\"hex\":case\"utf8\":case\"utf-8\":case\"ascii\":case\"latin1\":case\"binary\":case\"base64\":case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return!0;default:return!1}},s.concat=function(e,t){if(!i(e))throw new TypeError('\"list\" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=s.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(!s.isBuffer(a))throw new TypeError('\"list\" argument must be an Array of Buffers');a.copy(r,o),o+=a.length}return r},s.byteLength=x,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError(\"Buffer size must be a multiple of 16-bits\");for(var t=0;t<e;t+=2)O(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError(\"Buffer size must be a multiple of 32-bits\");for(var t=0;t<e;t+=4)O(this,t,t+3),O(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError(\"Buffer size must be a multiple of 64-bits\");for(var t=0;t<e;t+=8)O(this,t,t+7),O(this,t+1,t+6),O(this,t+2,t+5),O(this,t+3,t+4);return this},s.prototype.toString=function(){var e=0|this.length;return 0===e?\"\":0===arguments.length?T(this,0,e):w.apply(this,arguments)},s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError(\"Argument must be a Buffer\");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e=\"\",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString(\"hex\",0,n).match(/.{2}/g).join(\" \"),this.length>n&&(e+=\" ... \")),\"<Buffer \"+e+\">\"},s.prototype.compare=function(e,t,n,r,o){if(!s.isBuffer(e))throw new TypeError(\"Argument must be a Buffer\");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError(\"out of range index\");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var i=o-r,a=n-t,c=Math.min(i,a),u=this.slice(r,o),l=e.slice(t,n),f=0;f<c;++f)if(u[f]!==l[f]){i=u[f],a=l[f];break}return i<a?-1:a<i?1:0},s.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},s.prototype.indexOf=function(e,t,n){return E(this,e,t,n,!0)},s.prototype.lastIndexOf=function(e,t,n){return E(this,e,t,n,!1)},s.prototype.write=function(e,t,n,r){if(void 0===t)r=\"utf8\",n=this.length,t=0;else if(void 0===n&&\"string\"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error(\"Buffer.write(string, encoding, offset[, length]) is no longer supported\");t|=0,isFinite(n)?(n|=0,void 0===r&&(r=\"utf8\")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");r||(r=\"utf8\");for(var i=!1;;)switch(r){case\"hex\":return j(this,e,t,n);case\"utf8\":case\"utf-8\":return k(this,e,t,n);case\"ascii\":return _(this,e,t,n);case\"latin1\":case\"binary\":return C(this,e,t,n);case\"base64\":return M(this,e,t,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return A(this,e,t,n);default:if(i)throw new TypeError(\"Unknown encoding: \"+r);r=(\"\"+r).toLowerCase(),i=!0}},s.prototype.toJSON=function(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function P(e){var t=e.length;if(t<=I)return String.fromCharCode.apply(String,e);var n=\"\",r=0;while(r<t)n+=String.fromCharCode.apply(String,e.slice(r,r+=I));return n}function L(e,t,n){var r=\"\";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function D(e,t,n){var r=\"\";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function R(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o=\"\",i=t;i<n;++i)o+=K(e[i]);return o}function F(e,t,n){for(var r=e.slice(t,n),o=\"\",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function B(e,t,n){if(e%1!==0||e<0)throw new RangeError(\"offset is not uint\");if(e+t>n)throw new RangeError(\"Trying to access beyond buffer length\")}function z(e,t,n,r,o,i){if(!s.isBuffer(e))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('\"value\" argument is out of bounds');if(n+r>e.length)throw new RangeError(\"Index out of range\")}function U(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function G(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function V(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError(\"Index out of range\");if(n<0)throw new RangeError(\"Index out of range\")}function W(e,t,n,r,i){return i||V(e,t,n,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,n,r,23,4),n+4}function H(e,t,n,r,i){return i||V(e,t,n,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,n,r,52,8),n+8}s.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t<e&&(t=e),s.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=s.prototype;else{var o=t-e;n=new s(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e]}return n},s.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||B(e,t,this.length);var r=this[e],o=1,i=0;while(++i<t&&(o*=256))r+=this[e+i]*o;return r},s.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||B(e,t,this.length);var r=this[e+--t],o=1;while(t>0&&(o*=256))r+=this[e+--t]*o;return r},s.prototype.readUInt8=function(e,t){return t||B(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||B(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||B(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||B(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return t||B(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||B(e,t,this.length);var r=this[e],o=1,i=0;while(++i<t&&(o*=256))r+=this[e+i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||B(e,t,this.length);var r=t,o=1,i=this[e+--r];while(r>0&&(o*=256))i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},s.prototype.readInt8=function(e,t){return t||B(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},s.prototype.readInt16LE=function(e,t){t||B(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){t||B(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return t||B(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return t||B(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return t||B(e,4,this.length),o.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||B(e,4,this.length),o.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||B(e,8,this.length),o.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||B(e,8,this.length),o.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var o=Math.pow(2,8*n)-1;z(this,e,t,n,o,0)}var i=1,a=0;this[t]=255&e;while(++a<n&&(i*=256))this[t+a]=e/i&255;return t+n},s.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var o=Math.pow(2,8*n)-1;z(this,e,t,n,o,0)}var i=n-1,a=1;this[t+i]=255&e;while(--i>=0&&(a*=256))this[t+i]=e/a&255;return t+n},s.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):G(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):G(this,e,t,!1),t+4},s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);z(this,e,t,n,o-1,-o)}var i=0,a=1,c=0;this[t]=255&e;while(++i<n&&(a*=256))e<0&&0===c&&0!==this[t+i-1]&&(c=1),this[t+i]=(e/a>>0)-c&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);z(this,e,t,n,o-1,-o)}var i=n-1,a=1,c=0;this[t+i]=255&e;while(--i>=0&&(a*=256))e<0&&0===c&&0!==this[t+i+1]&&(c=1),this[t+i]=(e/a>>0)-c&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):G(this,e,t,!0),t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||z(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):G(this,e,t,!1),t+4},s.prototype.writeFloatLE=function(e,t,n){return W(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return W(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return H(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return H(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError(\"targetStart out of bounds\");if(n<0||n>=this.length)throw new RangeError(\"sourceStart out of bounds\");if(r<0)throw new RangeError(\"sourceEnd out of bounds\");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,i=r-n;if(this===e&&n<t&&t<r)for(o=i-1;o>=0;--o)e[o+t]=this[o+n];else if(i<1e3||!s.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},s.prototype.fill=function(e,t,n,r){if(\"string\"===typeof e){if(\"string\"===typeof t?(r=t,t=0,n=this.length):\"string\"===typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&\"string\"!==typeof r)throw new TypeError(\"encoding must be a string\");if(\"string\"===typeof r&&!s.isEncoding(r))throw new TypeError(\"Unknown encoding: \"+r)}else\"number\"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError(\"Out of range index\");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),\"number\"===typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=s.isBuffer(e)?e:Z(new s(e,r).toString()),c=a.length;for(i=0;i<n-t;++i)this[i+t]=a[i%c]}return this};var Y=/[^+\\/0-9A-Za-z-_]/g;function X(e){if(e=q(e).replace(Y,\"\"),e.length<2)return\"\";while(e.length%4!==0)e+=\"=\";return e}function q(e){return e.trim?e.trim():e.replace(/^\\s+|\\s+$/g,\"\")}function K(e){return e<16?\"0\"+e.toString(16):e.toString(16)}function Z(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error(\"Invalid code point\");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function $(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function Q(e,t){for(var n,r,o,i=[],a=0;a<e.length;++a){if((t-=2)<0)break;n=e.charCodeAt(a),r=n>>8,o=n%256,i.push(o),i.push(r)}return i}function J(e){return r.toByteArray(X(e))}function ee(e,t,n,r){for(var o=0;o<r;++o){if(o+n>=t.length||o>=e.length)break;t[o+n]=e[o]}return o}function te(e){return e!==e}}).call(this,n(\"IyRk\"))},toAj:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"ppGB\"),i=n(\"QIpd\"),a=n(\"EUja\"),c=n(\"0Dky\"),u=1..toFixed,s=Math.floor,l=function(e,t,n){return 0===t?n:t%2===1?l(e,t-1,n*e):l(e*e,t/2,n)},f=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},d=u&&(\"0.000\"!==8e-5.toFixed(3)||\"1\"!==.9.toFixed(0)||\"1.25\"!==1.255.toFixed(2)||\"1000000000000000128\"!==(0xde0b6b3a7640080).toFixed(0))||!c((function(){u.call({})}));r({target:\"Number\",proto:!0,forced:d},{toFixed:function(e){var t,n,r,c,u=i(this),d=o(e),h=[0,0,0,0,0,0],p=\"\",v=\"0\",g=function(e,t){var n=-1,r=t;while(++n<6)r+=e*h[n],h[n]=r%1e7,r=s(r/1e7)},m=function(e){var t=6,n=0;while(--t>=0)n+=h[t],h[t]=s(n/e),n=n%e*1e7},y=function(){var e=6,t=\"\";while(--e>=0)if(\"\"!==t||0===e||0!==h[e]){var n=String(h[e]);t=\"\"===t?n:t+a.call(\"0\",7-n.length)+n}return t};if(d<0||d>20)throw RangeError(\"Incorrect fraction digits\");if(u!=u)return\"NaN\";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(p=\"-\",u=-u),u>1e-21)if(t=f(u*l(2,69,1))-69,n=t<0?u*l(2,-t,1):u/l(2,t,1),n*=4503599627370496,t=52-t,t>0){g(0,n),r=d;while(r>=7)g(1e7,0),r-=7;g(l(10,r,1),0),r=t-1;while(r>=23)m(1<<23),r-=23;m(1<<r),g(1,1),m(2),v=y()}else g(0,n),g(1<<-t,0),v=y()+a.call(\"0\",d);return d>0?(c=v.length,v=p+(c<=d?\"0.\"+a.call(\"0\",d-c)+v:v.slice(0,c-d)+\".\"+v.slice(c-d))):v=p+v,v}})},tsqr:function(e,t,n){\"use strict\";n.r(t),n.d(t,\"getKeyThenIncreaseKey\",(function(){return z})),n.d(t,\"typeList\",(function(){return W})),n.d(t,\"attachTypeApi\",(function(){return K})),n.d(t,\"getInstance\",(function(){return Z}));var r=n(\"wx14\"),o=n(\"rePB\"),i=n(\"VTBJ\"),a=n(\"q1tI\"),c={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z\"}}]},name:\"check-circle\",theme:\"filled\"},u=c,s=n(\"6VBw\"),l=function(e,t){return a[\"createElement\"](s[\"a\"],Object(i[\"a\"])(Object(i[\"a\"])({},e),{},{ref:t,icon:u}))};l.displayName=\"CheckCircleFilled\";var f=a[\"forwardRef\"](l),d=n(\"jN4g\"),h={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z\"}}]},name:\"exclamation-circle\",theme:\"filled\"},p=h,v=function(e,t){return a[\"createElement\"](s[\"a\"],Object(i[\"a\"])(Object(i[\"a\"])({},e),{},{ref:t,icon:p}))};v.displayName=\"ExclamationCircleFilled\";var g=a[\"forwardRef\"](v),m={icon:{tag:\"svg\",attrs:{viewBox:\"64 64 896 896\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z\"}}]},name:\"info-circle\",theme:\"filled\"},y=m,b=function(e,t){return a[\"createElement\"](s[\"a\"],Object(i[\"a\"])(Object(i[\"a\"])({},e),{},{ref:t,icon:y}))};b.displayName=\"InfoCircleFilled\";var x,w=a[\"forwardRef\"](b),O=n(\"ye1Q\"),E=n(\"TSYQ\"),S=n.n(E),j=n(\"8tx+\"),k=n(\"wEI+\"),_=n(\"ODXe\"),C=n(\"8HVG\"),M=n(\"H84U\");function A(e,t){var n=function(){var n,o,i=null,c={add:function(e,t){null===i||void 0===i||i.component.add(e,t)}},u=Object(C[\"a\"])(c),s=Object(_[\"a\"])(u,2),l=s[0],f=s[1];function d(a){var c=a.prefixCls,u=n(\"message\",c),s=n(),f=a.key||z(),d=new Promise((function(n){var c=function(){return\"function\"===typeof a.onClose&&a.onClose(),n(!0)};e(Object(r[\"a\"])(Object(r[\"a\"])({},a),{prefixCls:u,rootPrefixCls:s,getPopupContainer:o}),(function(e){var n=e.prefixCls,o=e.instance;i=o,l(t(Object(r[\"a\"])(Object(r[\"a\"])({},a),{key:f,onClose:c}),n))}))})),h=function(){i&&i.removeNotice(f)};return h.then=function(e,t){return d.then(e,t)},h.promise=d,h}var h=a[\"useRef\"]({});return h.current.open=d,W.forEach((function(e){return K(h.current,e)})),[h.current,a[\"createElement\"](M[\"a\"],{key:\"holder\"},(function(e){return n=e.getPrefixCls,o=e.getPopupContainer,f}))]};return n}var N,T,I,P=3,L=1,D=\"\",R=\"move-up\",F=!1,B=!1;function z(){return L++}function U(e){void 0!==e.top&&(N=e.top,x=null),void 0!==e.duration&&(P=e.duration),void 0!==e.prefixCls&&(D=e.prefixCls),void 0!==e.getContainer&&(T=e.getContainer,x=null),void 0!==e.transitionName&&(R=e.transitionName,x=null,F=!0),void 0!==e.maxCount&&(I=e.maxCount,x=null),void 0!==e.rtl&&(B=e.rtl)}function G(e,t){var n=e.prefixCls,r=e.getPopupContainer,o=Object(k[\"b\"])(),i=o.getPrefixCls,a=o.getRootPrefixCls,c=o.getIconPrefixCls,u=i(\"message\",n||D),s=a(e.rootPrefixCls,u),l=c();if(x)t({prefixCls:u,rootPrefixCls:s,iconPrefixCls:l,instance:x});else{var f={prefixCls:u,transitionName:F?R:\"\".concat(s,\"-\").concat(R),style:{top:N},getContainer:T||r,maxCount:I};j[\"a\"].newInstance(f,(function(e){x?t({prefixCls:u,rootPrefixCls:s,iconPrefixCls:l,instance:x}):(x=e,t({prefixCls:u,rootPrefixCls:s,iconPrefixCls:l,instance:e}))}))}}var V={info:w,success:f,error:d[\"a\"],warning:g,loading:O[\"a\"]},W=Object.keys(V);function H(e,t,n){var r,i=void 0!==e.duration?e.duration:P,c=V[e.type],u=S()(\"\".concat(t,\"-custom-content\"),(r={},Object(o[\"a\"])(r,\"\".concat(t,\"-\").concat(e.type),e.type),Object(o[\"a\"])(r,\"\".concat(t,\"-rtl\"),!0===B),r));return{key:e.key,duration:i,style:e.style||{},className:e.className,content:a[\"createElement\"](k[\"a\"],{iconPrefixCls:n},a[\"createElement\"](\"div\",{className:u},e.icon||c&&a[\"createElement\"](c,null),a[\"createElement\"](\"span\",null,e.content))),onClose:e.onClose,onClick:e.onClick}}function Y(e){var t=e.key||z(),n=new Promise((function(n){var o=function(){return\"function\"===typeof e.onClose&&e.onClose(),n(!0)};G(e,(function(n){var i=n.prefixCls,a=n.iconPrefixCls,c=n.instance;c.notice(H(Object(r[\"a\"])(Object(r[\"a\"])({},e),{key:t,onClose:o}),i,a))}))})),o=function(){x&&x.removeNotice(t)};return o.then=function(e,t){return n.then(e,t)},o.promise=n,o}function X(e){return\"[object Object]\"===Object.prototype.toString.call(e)&&!!e.content}var q={open:Y,config:U,destroy:function(e){if(x)if(e){var t=x,n=t.removeNotice;n(e)}else{var r=x,o=r.destroy;o(),x=null}}};function K(e,t){e[t]=function(n,o,i){return X(n)?e.open(Object(r[\"a\"])(Object(r[\"a\"])({},n),{type:t})):(\"function\"===typeof o&&(i=o,o=void 0),e.open({content:n,duration:o,type:t,onClose:i}))}}W.forEach((function(e){return K(q,e)})),q.warn=q.warning,q.useMessage=A(G,H);var Z=function(){return null};t[\"default\"]=q},tycR:function(e,t,n){var r=n(\"A2ZE\"),o=n(\"RK3t\"),i=n(\"ewvW\"),a=n(\"UMSQ\"),c=n(\"ZfDv\"),u=[].push,s=function(e){var t=1==e,n=2==e,s=3==e,l=4==e,f=6==e,d=5==e||f;return function(h,p,v,g){for(var m,y,b=i(h),x=o(b),w=r(p,v,3),O=a(x.length),E=0,S=g||c,j=t?S(h,O):n?S(h,0):void 0;O>E;E++)if((d||E in x)&&(m=x[E],y=w(m,E,b),e))if(t)j[E]=y;else if(y)switch(e){case 3:return!0;case 5:return m;case 6:return E;case 2:u.call(j,m)}else if(l)return!1;return f?-1:s||l?l:j}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},u8Dt:function(e,t,n){var r=n(\"YESw\"),o=\"__lodash_hash_undefined__\",i=Object.prototype,a=i.hasOwnProperty;function c(e){var t=this.__data__;if(r){var n=t[e];return n===o?void 0:n}return a.call(t,e)?t[e]:void 0}e.exports=c},uGsb:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"MlIO\"),n(\"1uat\"))})(0,(function(e){return function(){var t=e,n=t.x64,r=n.Word,o=n.WordArray,i=t.algo,a=i.SHA512,c=i.SHA384=a.extend({_doReset:function(){this._hash=new o.init([new r.init(3418070365,3238371032),new r.init(1654270250,914150663),new r.init(2438529370,812702999),new r.init(355462360,4144912697),new r.init(1731405415,4290775857),new r.init(2394180231,1750603025),new r.init(3675008525,1694076839),new r.init(1203062813,3204075428)])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=16,e}});t.SHA384=a._createHelper(c),t.HmacSHA384=a._createHmacHelper(c)}(),e.SHA384}))},uGxW:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"OLod\"))})(0,(function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding}))},uI0o:function(e,t,n){\"use strict\";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0});var o=r(n(\"85Fp\")),i=r(n(\"liZ3\")),a=r(n(\"vSx6\")),c=function(e,t,n,r,l){var f,d,h,p,v=e.children(t),g=e.node(t),m=g?g.borderLeft:void 0,y=g?g.borderRight:void 0,b={};m&&(v=null===v||void 0===v?void 0:v.filter((function(e){return e!==m&&e!==y})));var x=(0,o.default)(e,v||[]);null===x||void 0===x||x.forEach((function(t){var o;if(null===(o=e.children(t.v))||void 0===o?void 0:o.length){var i=c(e,t.v,n,r);b[t.v]=i,i.hasOwnProperty(\"barycenter\")&&s(t,i)}}));var w=(0,i.default)(x,n);u(w,b),null===(f=w.filter((function(e){return e.vs.length>0})))||void 0===f||f.forEach((function(t){var n=e.node(t.vs[0]);n&&(t.fixorder=n.fixorder,t.order=n.order)}));var O=(0,a.default)(w,r,l);if(m&&(O.vs=[m,O.vs,y].flat(),null===(d=e.predecessors(m))||void 0===d?void 0:d.length)){var E=e.node((null===(h=e.predecessors(m))||void 0===h?void 0:h[0])||\"\"),S=e.node((null===(p=e.predecessors(y))||void 0===p?void 0:p[0])||\"\");O.hasOwnProperty(\"barycenter\")||(O.barycenter=0,O.weight=0),O.barycenter=(O.barycenter*O.weight+E.order+S.order)/(O.weight+2),O.weight+=2}return O},u=function(e,t){null===e||void 0===e||e.forEach((function(e){var n,r=null===(n=e.vs)||void 0===n?void 0:n.map((function(e){return t[e]?t[e].vs:e}));e.vs=r.flat()}))},s=function(e,t){void 0!==e.barycenter?(e.barycenter=(e.barycenter*e.weight+t.barycenter*t.weight)/(e.weight+t.weight),e.weight+=t.weight):(e.barycenter=t.barycenter,e.weight=t.weight)};t.default=c},uPr3:function(e,t){e.exports=function(e){return!(!e||\"string\"===typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&\"String\"!==e.constructor.name))}},uWhJ:function(e,t,n){var r=n(\"I+eb\"),o=Math.PI/180;r({target:\"Math\",stat:!0},{radians:function(e){return e*o}})},unQa:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"ImZN\"),i=n(\"HAuM\");r({target:\"Map\",stat:!0},{keyBy:function(e,t){var n=new this;i(t);var r=i(n.set);return o(e,(function(e){r.call(n,t(e),e)})),n}})},uqXc:function(e,t,n){var r=n(\"I+eb\"),o=n(\"5Yz+\");r({target:\"Array\",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},uxXc:function(e,t,n){var r=n(\"t1N5\"),o=n(\"onlc\"),i={},a=Object.keys(r);function c(e){var t=function(t){return void 0===t||null===t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return\"conversion\"in e&&(t.conversion=e.conversion),t}function u(e){var t=function(t){if(void 0===t||null===t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if(\"object\"===typeof n)for(var r=n.length,o=0;o<r;o++)n[o]=Math.round(n[o]);return n};return\"conversion\"in e&&(t.conversion=e.conversion),t}a.forEach((function(e){i[e]={},Object.defineProperty(i[e],\"channels\",{value:r[e].channels}),Object.defineProperty(i[e],\"labels\",{value:r[e].labels});var t=o(e),n=Object.keys(t);n.forEach((function(n){var r=t[n];i[e][n]=u(r),i[e][n].raw=c(r)}))})),e.exports=i},uy83:function(e,t,n){var r=n(\"0Dky\");e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},v5b1:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"g6v/\"),i=n(\"6x0u\"),a=n(\"ewvW\"),c=n(\"wE6v\"),u=n(\"4WOD\"),s=n(\"Bs8V\").f;o&&r({target:\"Object\",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),r=c(e,!0);do{if(t=s(n,r))return t.get}while(n=u(n))}})},vRGJ:function(e,t,n){var r=n(\"AqCL\");e.exports=y,e.exports.parse=i,e.exports.compile=a,e.exports.tokensToFunction=s,e.exports.tokensToRegExp=m;var o=new RegExp([\"(\\\\\\\\.)\",\"([\\\\/.])?(?:(?:\\\\:(\\\\w+)(?:\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))?|\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))([+*?])?|(\\\\*))\"].join(\"|\"),\"g\");function i(e,t){var n,r=[],i=0,a=0,c=\"\",u=t&&t.delimiter||\"/\";while(null!=(n=o.exec(e))){var s=n[0],d=n[1],h=n.index;if(c+=e.slice(a,h),a=h+s.length,d)c+=d[1];else{var p=e[a],v=n[2],g=n[3],m=n[4],y=n[5],b=n[6],x=n[7];c&&(r.push(c),c=\"\");var w=null!=v&&null!=p&&p!==v,O=\"+\"===b||\"*\"===b,E=\"?\"===b||\"*\"===b,S=n[2]||u,j=m||y;r.push({name:g||i++,prefix:v||\"\",delimiter:S,optional:E,repeat:O,partial:w,asterisk:!!x,pattern:j?f(j):x?\".*\":\"[^\"+l(S)+\"]+?\"})}}return a<e.length&&(c+=e.substr(a)),c&&r.push(c),r}function a(e,t){return s(i(e,t),t)}function c(e){return encodeURI(e).replace(/[\\/?#]/g,(function(e){return\"%\"+e.charCodeAt(0).toString(16).toUpperCase()}))}function u(e){return encodeURI(e).replace(/[?#]/g,(function(e){return\"%\"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)\"object\"===typeof e[o]&&(n[o]=new RegExp(\"^(?:\"+e[o].pattern+\")$\",h(t)));return function(t,o){for(var i=\"\",a=t||{},s=o||{},l=s.pretty?c:encodeURIComponent,f=0;f<e.length;f++){var d=e[f];if(\"string\"!==typeof d){var h,p=a[d.name];if(null==p){if(d.optional){d.partial&&(i+=d.prefix);continue}throw new TypeError('Expected \"'+d.name+'\" to be defined')}if(r(p)){if(!d.repeat)throw new TypeError('Expected \"'+d.name+'\" to not repeat, but received `'+JSON.stringify(p)+\"`\");if(0===p.length){if(d.optional)continue;throw new TypeError('Expected \"'+d.name+'\" to not be empty')}for(var v=0;v<p.length;v++){if(h=l(p[v]),!n[f].test(h))throw new TypeError('Expected all \"'+d.name+'\" to match \"'+d.pattern+'\", but received `'+JSON.stringify(h)+\"`\");i+=(0===v?d.prefix:d.delimiter)+h}}else{if(h=d.asterisk?u(p):l(p),!n[f].test(h))throw new TypeError('Expected \"'+d.name+'\" to match \"'+d.pattern+'\", but received \"'+h+'\"');i+=d.prefix+h}}else i+=d}return i}}function l(e){return e.replace(/([.+*?=^!:${}()[\\]|\\/\\\\])/g,\"\\\\$1\")}function f(e){return e.replace(/([=!:$\\/()])/g,\"\\\\$1\")}function d(e,t){return e.keys=t,e}function h(e){return e&&e.sensitive?\"\":\"i\"}function p(e,t){var n=e.source.match(/\\((?!\\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return d(e,t)}function v(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(y(e[o],t,n).source);var i=new RegExp(\"(?:\"+r.join(\"|\")+\")\",h(n));return d(i,t)}function g(e,t,n){return m(i(e,n),t,n)}function m(e,t,n){r(t)||(n=t||n,t=[]),n=n||{};for(var o=n.strict,i=!1!==n.end,a=\"\",c=0;c<e.length;c++){var u=e[c];if(\"string\"===typeof u)a+=l(u);else{var s=l(u.prefix),f=\"(?:\"+u.pattern+\")\";t.push(u),u.repeat&&(f+=\"(?:\"+s+f+\")*\"),f=u.optional?u.partial?s+\"(\"+f+\")?\":\"(?:\"+s+\"(\"+f+\"))?\":s+\"(\"+f+\")\",a+=f}}var p=l(n.delimiter||\"/\"),v=a.slice(-p.length)===p;return o||(a=(v?a.slice(0,-p.length):a)+\"(?:\"+p+\"(?=$))?\"),a+=i?\"$\":o&&v?\"\":\"(?=\"+p+\"|$)\",d(new RegExp(\"^\"+a,h(n)),t)}function y(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?p(e,t):r(e)?v(e,t,n):g(e,t,n)}},vSx6:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(\"eQiA\"),o=function(e,t,n){var o=(0,r.partition)(e,(function(e){return e.hasOwnProperty(\"fixorder\")&&!isNaN(e.fixorder)||e.hasOwnProperty(\"barycenter\")})),c=o.lhs,u=o.rhs.sort((function(e,t){return-e.i- -t.i})),s=[],l=0,f=0,d=0;null===c||void 0===c||c.sort(a(!!t,!!n)),d=i(s,u,d),null===c||void 0===c||c.forEach((function(e){var t;d+=null===(t=e.vs)||void 0===t?void 0:t.length,s.push(e.vs),l+=e.barycenter*e.weight,f+=e.weight,d=i(s,u,d)}));var h={vs:s.flat()};return f&&(h.barycenter=l/f,h.weight=f),h},i=function(e,t,n){var r,o=n;while(t.length&&(r=t[t.length-1]).i<=o)t.pop(),null===e||void 0===e||e.push(r.vs),o++;return o},a=function(e,t){return function(n,r){if(void 0!==n.fixorder&&void 0!==r.fixorder)return n.fixorder-r.fixorder;if(n.barycenter<r.barycenter)return-1;if(n.barycenter>r.barycenter)return 1;if(t&&void 0!==n.order&&void 0!==r.order){if(n.order<r.order)return-1;if(n.order>r.order)return 1}return e?r.i-n.i:n.i-r.i}};t.default=o},vZi8:function(e,t,n){var r=n(\"I+eb\"),o=n(\"YGK4\"),i=n(\"eDxR\"),a=n(\"glrk\"),c=n(\"4WOD\"),u=n(\"ImZN\"),s=i.keys,l=i.toKey,f=function(e){var t=[];return u(e,t.push,t),t},d=function(e,t){var n=s(e,t),r=c(e);if(null===r)return n;var i=d(r,t);return i.length?n.length?f(new o(n.concat(i))):i:n};r({target:\"Reflect\",stat:!0},{getMetadataKeys:function(e){var t=arguments.length<2?void 0:l(arguments[1]);return d(a(e),t)}})},vdRX:function(e,t,n){var r=n(\"I+eb\");r({target:\"Math\",stat:!0},{DEG_PER_RAD:Math.PI/180})},viRO:function(e,t,n){\"use strict\";var r=n(\"MgzW\"),o=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,c=60110,u=60112;t.Suspense=60113;var s=60115,l=60116;if(\"function\"===typeof Symbol&&Symbol.for){var f=Symbol.for;o=f(\"react.element\"),i=f(\"react.portal\"),t.Fragment=f(\"react.fragment\"),t.StrictMode=f(\"react.strict_mode\"),t.Profiler=f(\"react.profiler\"),a=f(\"react.provider\"),c=f(\"react.context\"),u=f(\"react.forward_ref\"),t.Suspense=f(\"react.suspense\"),s=f(\"react.memo\"),l=f(\"react.lazy\")}var d=\"function\"===typeof Symbol&&Symbol.iterator;function h(e){return null===e||\"object\"!==typeof e?null:(e=d&&e[d]||e[\"@@iterator\"],\"function\"===typeof e?e:null)}function p(e){for(var t=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+e,n=1;n<arguments.length;n++)t+=\"&args[]=\"+encodeURIComponent(arguments[n]);return\"Minified React error #\"+e+\"; visit \"+t+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function m(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||v}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||v}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if(\"object\"!==typeof e&&\"function\"!==typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,\"setState\")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,\"forceUpdate\")},y.prototype=m.prototype;var x=b.prototype=new y;x.constructor=b,r(x,m.prototype),x.isPureReactComponent=!0;var w={current:null},O=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,n){var r,i={},a=null,c=null;if(null!=t)for(r in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=\"\"+t.key),t)O.call(t,r)&&!E.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){for(var s=Array(u),l=0;l<u;l++)s[l]=arguments[l+2];i.children=s}if(e&&e.defaultProps)for(r in u=e.defaultProps,u)void 0===i[r]&&(i[r]=u[r]);return{$$typeof:o,type:e,key:a,ref:c,props:i,_owner:w.current}}function j(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function k(e){return\"object\"===typeof e&&null!==e&&e.$$typeof===o}function _(e){var t={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+e.replace(/[=:]/g,(function(e){return t[e]}))}var C=/\\/+/g;function M(e,t){return\"object\"===typeof e&&null!==e&&null!=e.key?_(\"\"+e.key):t.toString(36)}function A(e,t,n,r,a){var c=typeof e;\"undefined\"!==c&&\"boolean\"!==c||(e=null);var u=!1;if(null===e)u=!0;else switch(c){case\"string\":case\"number\":u=!0;break;case\"object\":switch(e.$$typeof){case o:case i:u=!0}}if(u)return u=e,a=a(u),e=\"\"===r?\".\"+M(u,0):r,Array.isArray(a)?(n=\"\",null!=e&&(n=e.replace(C,\"$&/\")+\"/\"),A(a,t,n,\"\",(function(e){return e}))):null!=a&&(k(a)&&(a=j(a,n+(!a.key||u&&u.key===a.key?\"\":(\"\"+a.key).replace(C,\"$&/\")+\"/\")+e)),t.push(a)),1;if(u=0,r=\"\"===r?\".\":r+\":\",Array.isArray(e))for(var s=0;s<e.length;s++){c=e[s];var l=r+M(c,s);u+=A(c,t,n,l,a)}else if(l=h(e),\"function\"===typeof l)for(e=l.call(e),s=0;!(c=e.next()).done;)c=c.value,l=r+M(c,s++),u+=A(c,t,n,l,a);else if(\"object\"===c)throw t=\"\"+e,Error(p(31,\"[object Object]\"===t?\"object with keys {\"+Object.keys(e).join(\", \")+\"}\":t));return u}function N(e,t,n){if(null==e)return e;var r=[],o=0;return A(e,r,\"\",\"\",(function(e){return t.call(n,e,o++)})),r}function T(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var I={current:null};function P(){var e=I.current;if(null===e)throw Error(p(321));return e}var L={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:N,forEach:function(e,t,n){N(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!k(e))throw Error(p(143));return e}},t.Component=m,t.PureComponent=b,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(p(267,e));var i=r({},e.props),a=e.key,c=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(c=t.ref,u=w.current),void 0!==t.key&&(a=\"\"+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)O.call(t,l)&&!E.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==s?s[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];i.children=s}return{$$typeof:o,type:e.type,key:a,ref:c,props:i,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),e={$$typeof:c,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=k,t.lazy=function(e){return{$$typeof:l,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:s,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return P().useCallback(e,t)},t.useContext=function(e,t){return P().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return P().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return P().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return P().useLayoutEffect(e,t)},t.useMemo=function(e,t){return P().useMemo(e,t)},t.useReducer=function(e,t,n){return P().useReducer(e,t,n)},t.useRef=function(e){return P().useRef(e)},t.useState=function(e){return P().useState(e)},t.version=\"17.0.2\"},vo4V:function(e,t,n){var r=n(\"90hW\"),o=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),u=i(2,127)*(2-c),s=i(2,-126),l=function(e){return e+1/a-1/a};e.exports=Math.fround||function(e){var t,n,i=o(e),f=r(e);return i<s?f*l(i/s/c)*s*c:(t=(1+c/a)*i,n=t-(t-i),n>u||n!=n?f*(1/0):f*n)}},voyM:function(e,t){e.exports=Math.scale||function(e,t,n,r,o){return 0===arguments.length||e!=e||t!=t||n!=n||r!=r||o!=o?NaN:e===1/0||e===-1/0?e:(e-t)*(o-r)/(n-t)+r}},vuIU:function(e,t,n){\"use strict\";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,\"prototype\",{writable:!1}),e}n.d(t,\"a\",(function(){return o}))},vxnP:function(e,t,n){\"use strict\";var r=n(\"I+eb\");r({target:\"URL\",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},vzwy:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"ppGB\"),i=n(\"wg0c\"),a=\"Invalid number representation\",c=\"Invalid radix\",u=/^[\\da-z]+$/;r({target:\"Number\",stat:!0},{fromString:function(e,t){var n,r,s=1;if(\"string\"!=typeof e)throw TypeError(a);if(!e.length)throw SyntaxError(a);if(\"-\"==e.charAt(0)&&(s=-1,e=e.slice(1),!e.length))throw SyntaxError(a);if(n=void 0===t?10:o(t),n<2||n>36)throw RangeError(c);if(!u.test(e)||(r=i(e,n)).toString(n)!==e)throw SyntaxError(a);return s*r}})},w1rZ:function(e,t,n){var r=n(\"I+eb\"),o=n(\"fhKU\");r({target:\"Number\",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},w7YG:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"ETIr\"),n(\"cv67\"),n(\"K3mO\"),n(\"OLod\"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.StreamCipher,o=t.algo,i=o.RC4=r.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],o=0;o<256;o++)r[o]=o;o=0;for(var i=0;o<256;o++){var a=o%n,c=t[a>>>2]>>>24-a%4*8&255;i=(i+r[o]+c)%256;var u=r[o];r[o]=r[i],r[i]=u}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var e=this._S,t=this._i,n=this._j,r=0,o=0;o<4;o++){t=(t+1)%256,n=(n+e[t])%256;var i=e[t];e[t]=e[n],e[n]=i,r|=e[(e[t]+e[n])%256]<<24-8*o}return this._i=t,this._j=n,r}t.RC4=r._createHelper(i);var c=o.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)a.call(this)}});t.RC4Drop=r._createHelper(c)}(),e.RC4}))},w7s6:function(e,t,n){var r=n(\"I+eb\");r({target:\"Math\",stat:!0},{RAD_PER_DEG:180/Math.PI})},wE6v:function(e,t,n){var r=n(\"hh1v\");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&\"function\"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if(\"function\"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&\"function\"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError(\"Can't convert object to primitive value\")}},\"wEI+\":function(e,t,n){\"use strict\";n.d(t,\"b\",(function(){return z}));var r=n(\"wx14\"),o=n(\"Pw59\"),i=n(\"85Yc\"),a=n(\"YrtM\"),c=n(\"q1tI\"),u=n(\"ZvpZ\"),s=Object(r[\"a\"])({},u[\"a\"].Modal);function l(e){s=e?Object(r[\"a\"])(Object(r[\"a\"])({},s),e):Object(r[\"a\"])({},u[\"a\"].Modal)}var f=n(\"YlG9\"),d=\"internalMark\",h=function(e){var t=e.locale,n=void 0===t?{}:t,o=e.children;e._ANT_MARK__;c[\"useEffect\"]((function(){return l(n&&n.Modal),function(){l()}}),[n]);var i=c[\"useMemo\"]((function(){return Object(r[\"a\"])(Object(r[\"a\"])({},n),{exist:!0})}),[n]);return c[\"createElement\"](f[\"a\"].Provider,{value:i},o)},p=h,v=n(\"YMnH\"),g=n(\"tsqr\"),m=n(\"TeRw\"),y=n(\"H84U\"),b=n(\"AJpP\"),x=n(\"FER5\"),w=n(\"iNWh\"),O=n(\"LuSS\"),E=n(\"b3aT\"),S=function(){function e(t,n){var r;if(void 0===t&&(t=\"\"),void 0===n&&(n={}),t instanceof e)return t;\"number\"===typeof t&&(t=Object(x[\"d\"])(t)),this.originalInput=t;var o=Object(O[\"a\"])(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(r=n.format)&&void 0!==r?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e,t,n,r=this.toRgb(),o=r.r/255,i=r.g/255,a=r.b/255;return e=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),t=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4),n=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4),.2126*e+.7152*t+.0722*n},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=Object(E[\"b\"])(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var e=Object(x[\"h\"])(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=Object(x[\"h\"])(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?\"hsv(\".concat(t,\", \").concat(n,\"%, \").concat(r,\"%)\"):\"hsva(\".concat(t,\", \").concat(n,\"%, \").concat(r,\"%, \").concat(this.roundA,\")\")},e.prototype.toHsl=function(){var e=Object(x[\"g\"])(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=Object(x[\"g\"])(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?\"hsl(\".concat(t,\", \").concat(n,\"%, \").concat(r,\"%)\"):\"hsla(\".concat(t,\", \").concat(n,\"%, \").concat(r,\"%, \").concat(this.roundA,\")\")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),Object(x[\"f\"])(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),\"#\"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),Object(x[\"j\"])(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),\"#\"+this.toHex8(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?\"rgb(\".concat(e,\", \").concat(t,\", \").concat(n,\")\"):\"rgba(\".concat(e,\", \").concat(t,\", \").concat(n,\", \").concat(this.roundA,\")\")},e.prototype.toPercentageRgb=function(){var e=function(e){return\"\".concat(Math.round(100*Object(E[\"a\"])(e,255)),\"%\")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*Object(E[\"a\"])(e,255))};return 1===this.a?\"rgb(\".concat(e(this.r),\"%, \").concat(e(this.g),\"%, \").concat(e(this.b),\"%)\"):\"rgba(\".concat(e(this.r),\"%, \").concat(e(this.g),\"%, \").concat(e(this.b),\"%, \").concat(this.roundA,\")\")},e.prototype.toName=function(){if(0===this.a)return\"transparent\";if(this.a<1)return!1;for(var e=\"#\"+Object(x[\"f\"])(this.r,this.g,this.b,!1),t=0,n=Object.entries(w[\"a\"]);t<n.length;t++){var r=n[t],o=r[0],i=r[1];if(e===i)return o}return!1},e.prototype.toString=function(e){var t=Boolean(e);e=null!==e&&void 0!==e?e:this.format;var n=!1,r=this.a<1&&this.a>=0,o=!t&&r&&(e.startsWith(\"hex\")||\"name\"===e);return o?\"name\"===e&&0===this.a?this.toName():this.toRgbString():(\"rgb\"===e&&(n=this.toRgbString()),\"prgb\"===e&&(n=this.toPercentageRgbString()),\"hex\"!==e&&\"hex6\"!==e||(n=this.toHexString()),\"hex3\"===e&&(n=this.toHexString(!0)),\"hex4\"===e&&(n=this.toHex8String(!0)),\"hex8\"===e&&(n=this.toHex8String()),\"name\"===e&&(n=this.toName()),\"hsl\"===e&&(n=this.toHslString()),\"hsv\"===e&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Object(E[\"c\"])(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Object(E[\"c\"])(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix(\"white\",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix(\"black\",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Object(E[\"c\"])(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Object(E[\"c\"])(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return new e(a)},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],c=1/t;while(t--)a.push(new e({h:r,s:o,v:i})),i=(i+c)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb();return new e({r:r.r+(n.r-r.r)*n.a,g:r.g+(n.g-r.g)*n.a,b:r.b+(n.b-r.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a<t;a++)o.push(new e({h:(r+a*i)%360,s:n.s,l:n.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();var j=n(\"MNnm\"),k=n(\"BU3w\"),_=\"-ant-\".concat(Date.now(),\"-\").concat(Math.random());function C(e,t){var n={},r=function(e,t){var n=e.clone();return n=(null===t||void 0===t?void 0:t(n))||n,n.toRgbString()},o=function(e,t){var o=new S(e),i=Object(b[\"a\"])(o.toRgbString());n[\"\".concat(t,\"-color\")]=r(o),n[\"\".concat(t,\"-color-disabled\")]=i[1],n[\"\".concat(t,\"-color-hover\")]=i[4],n[\"\".concat(t,\"-color-active\")]=i[6],n[\"\".concat(t,\"-color-outline\")]=o.clone().setAlpha(.2).toRgbString(),n[\"\".concat(t,\"-color-deprecated-bg\")]=i[0],n[\"\".concat(t,\"-color-deprecated-border\")]=i[2]};if(t.primaryColor){o(t.primaryColor,\"primary\");var i=new S(t.primaryColor),a=Object(b[\"a\"])(i.toRgbString());a.forEach((function(e,t){n[\"primary-\".concat(t+1)]=e})),n[\"primary-color-deprecated-l-35\"]=r(i,(function(e){return e.lighten(35)})),n[\"primary-color-deprecated-l-20\"]=r(i,(function(e){return e.lighten(20)})),n[\"primary-color-deprecated-t-20\"]=r(i,(function(e){return e.tint(20)})),n[\"primary-color-deprecated-t-50\"]=r(i,(function(e){return e.tint(50)})),n[\"primary-color-deprecated-f-12\"]=r(i,(function(e){return e.setAlpha(.12*e.getAlpha())}));var c=new S(a[0]);n[\"primary-color-active-deprecated-f-30\"]=r(c,(function(e){return e.setAlpha(.3*e.getAlpha())})),n[\"primary-color-active-deprecated-d-02\"]=r(c,(function(e){return e.darken(2)}))}t.successColor&&o(t.successColor,\"success\"),t.warningColor&&o(t.warningColor,\"warning\"),t.errorColor&&o(t.errorColor,\"error\"),t.infoColor&&o(t.infoColor,\"info\");var u=Object.keys(n).map((function(t){return\"--\".concat(e,\"-\").concat(t,\": \").concat(n[t],\";\")}));return\"\\n  :root {\\n    \".concat(u.join(\"\\n\"),\"\\n  }\\n  \").trim()}function M(e,t){var n=C(e,t);Object(j[\"a\"])()&&Object(k[\"b\"])(n,\"\".concat(_,\"-dynamic-theme\"))}var A,N,T=n(\"caoh\"),I=n(\"3Nzz\"),P=[\"getTargetContainer\",\"getPopupContainer\",\"renderEmpty\",\"pageHeader\",\"input\",\"pagination\",\"form\"],L=\"ant\",D=\"anticon\";function R(){return A||L}function F(){return N||D}var B=function(e){var t=e.prefixCls,n=e.iconPrefixCls,r=e.theme;void 0!==t&&(A=t),void 0!==n&&(N=n),r&&M(R(),r)},z=function(){return{getPrefixCls:function(e,t){return t||(e?\"\".concat(R(),\"-\").concat(e):R())},getIconPrefixCls:F,getRootPrefixCls:function(e,t){return e||(A||(t&&t.includes(\"-\")?t.replace(/^(.*)-[^-]*$/,\"$1\"):R()))}}},U=function(e){var t,n,s=e.children,l=e.csp,f=e.autoInsertSpaceInButton,h=e.form,v=e.locale,g=e.componentSize,m=e.direction,b=e.space,x=e.virtual,w=e.dropdownMatchSelectWidth,O=e.legacyLocale,E=e.parentContext,S=e.iconPrefixCls,j=e.componentDisabled,k=c[\"useCallback\"]((function(t,n){var r=e.prefixCls;if(n)return n;var o=r||E.getPrefixCls(\"\");return t?\"\".concat(o,\"-\").concat(t):o}),[E.getPrefixCls,e.prefixCls]),_=Object(r[\"a\"])(Object(r[\"a\"])({},E),{csp:l,autoInsertSpaceInButton:f,locale:v||O,direction:m,space:b,virtual:x,dropdownMatchSelectWidth:w,getPrefixCls:k});P.forEach((function(t){var n=e[t];n&&(_[t]=n)}));var C=Object(a[\"a\"])((function(){return _}),_,(function(e,t){var n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((function(n){return e[n]!==t[n]}))})),M=c[\"useMemo\"]((function(){return{prefixCls:S,csp:l}}),[S,l]),A=s,N={};return v&&(N=(null===(t=v.Form)||void 0===t?void 0:t.defaultValidateMessages)||(null===(n=u[\"a\"].Form)||void 0===n?void 0:n.defaultValidateMessages)||{}),h&&h.validateMessages&&(N=Object(r[\"a\"])(Object(r[\"a\"])({},N),h.validateMessages)),Object.keys(N).length>0&&(A=c[\"createElement\"](i[\"b\"],{validateMessages:N},s)),v&&(A=c[\"createElement\"](p,{locale:v,_ANT_MARK__:d},A)),(S||l)&&(A=c[\"createElement\"](o[\"a\"].Provider,{value:M},A)),g&&(A=c[\"createElement\"](I[\"a\"],{size:g},A)),void 0!==j&&(A=c[\"createElement\"](T[\"a\"],{disabled:j},A)),c[\"createElement\"](y[\"b\"].Provider,{value:C},A)},G=function(e){return c[\"useEffect\"]((function(){e.direction&&(g[\"default\"].config({rtl:\"rtl\"===e.direction}),m[\"default\"].config({rtl:\"rtl\"===e.direction}))}),[e.direction]),c[\"createElement\"](v[\"a\"],null,(function(t,n,o){return c[\"createElement\"](y[\"a\"],null,(function(t){return c[\"createElement\"](U,Object(r[\"a\"])({parentContext:t,legacyLocale:o},e))}))}))};G.ConfigContext=y[\"b\"],G.SizeContext=I[\"b\"],G.config=B;t[\"a\"]=G},\"wF/u\":function(e,t,n){var r=n(\"e5cp\"),o=n(\"ExA7\");function i(e,t,n,a,c){return e===t||(null==e||null==t||!o(e)&&!o(t)?e!==e&&t!==t:r(e,t,n,a,i,c))}e.exports=i},wJg7:function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\\d*)$/;function o(e,t){var o=typeof e;return t=null==t?n:t,!!t&&(\"number\"==o||\"symbol\"!=o&&r.test(e))&&e>-1&&e%1==0&&e<t}e.exports=o},wNIw:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=n(\"kCNo\"),o=i(n(\"n7rY\"));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new Promise((function(n,i){var a=new o.default;a.postMessage({_algorithmType:e,data:t}),a.onmessage=function(e){var t=e.data,o=t.data,c=t._algorithmType;r.MESSAGE.SUCCESS===c?n(o):i(),a.terminate()}}))}},c=a;t.default=c},\"wZ/5\":function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"2oRo\"),i=n(\"Yhre\"),a=n(\"JiZb\"),c=\"ArrayBuffer\",u=i[c],s=o[c];r({global:!0,forced:s!==u},{ArrayBuffer:u}),a(c)},wZgz:function(e,t,n){(function(t,r,o){e.exports=r(n(\"Ib8C\"),n(\"ETIr\"),n(\"cv67\"),n(\"K3mO\"),n(\"OLod\"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.BlockCipher,o=t.algo,i=[],a=[],c=[],u=[],s=[],l=[],f=[],d=[],h=[],p=[];(function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var o=r^r<<1^r<<2^r<<3^r<<4;o=o>>>8^255&o^99,i[n]=o,a[o]=n;var v=e[n],g=e[v],m=e[g],y=257*e[o]^16843008*o;c[n]=y<<24|y>>>8,u[n]=y<<16|y>>>16,s[n]=y<<8|y>>>24,l[n]=y;y=16843009*m^65537*g^257*v^16843008*n;f[o]=y<<24|y>>>8,d[o]=y<<16|y>>>16,h[o]=y<<8|y>>>24,p[o]=y,n?(n=v^e[e[e[m^v]]],r^=e[e[r]]):n=r=1}})();var v=[0,1,2,4,8,16,32,64,128,27,54],g=o.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=this._nRounds=n+6,o=4*(r+1),a=this._keySchedule=[],c=0;c<o;c++)c<n?a[c]=t[c]:(l=a[c-1],c%n?n>6&&c%n==4&&(l=i[l>>>24]<<24|i[l>>>16&255]<<16|i[l>>>8&255]<<8|i[255&l]):(l=l<<8|l>>>24,l=i[l>>>24]<<24|i[l>>>16&255]<<16|i[l>>>8&255]<<8|i[255&l],l^=v[c/n|0]<<24),a[c]=a[c-n]^l);for(var u=this._invKeySchedule=[],s=0;s<o;s++){c=o-s;if(s%4)var l=a[c];else l=a[c-4];u[s]=s<4||c<=4?l:f[i[l>>>24]]^d[i[l>>>16&255]]^h[i[l>>>8&255]]^p[i[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,c,u,s,l,i)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,f,d,h,p,a);n=e[t+1];e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,o,i,a,c){for(var u=this._nRounds,s=e[t]^n[0],l=e[t+1]^n[1],f=e[t+2]^n[2],d=e[t+3]^n[3],h=4,p=1;p<u;p++){var v=r[s>>>24]^o[l>>>16&255]^i[f>>>8&255]^a[255&d]^n[h++],g=r[l>>>24]^o[f>>>16&255]^i[d>>>8&255]^a[255&s]^n[h++],m=r[f>>>24]^o[d>>>16&255]^i[s>>>8&255]^a[255&l]^n[h++],y=r[d>>>24]^o[s>>>16&255]^i[l>>>8&255]^a[255&f]^n[h++];s=v,l=g,f=m,d=y}v=(c[s>>>24]<<24|c[l>>>16&255]<<16|c[f>>>8&255]<<8|c[255&d])^n[h++],g=(c[l>>>24]<<24|c[f>>>16&255]<<16|c[d>>>8&255]<<8|c[255&s])^n[h++],m=(c[f>>>24]<<24|c[d>>>16&255]<<16|c[s>>>8&255]<<8|c[255&l])^n[h++],y=(c[d>>>24]<<24|c[s>>>16&255]<<16|c[l>>>8&255]<<8|c[255&f])^n[h++];e[t]=v,e[t+1]=g,e[t+2]=m,e[t+3]=y},keySize:8});t.AES=r._createHelper(g)}(),e.AES}))},wbyO:function(e,t,n){(function(t,r){e.exports=r(n(\"Ib8C\"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=t.enc;o.Base64url={stringify:function(e,t=!0){var n=e.words,r=e.sigBytes,o=t?this._safe_map:this._map;e.clamp();for(var i=[],a=0;a<r;a+=3)for(var c=n[a>>>2]>>>24-a%4*8&255,u=n[a+1>>>2]>>>24-(a+1)%4*8&255,s=n[a+2>>>2]>>>24-(a+2)%4*8&255,l=c<<16|u<<8|s,f=0;f<4&&a+.75*f<r;f++)i.push(o.charAt(l>>>6*(3-f)&63));var d=o.charAt(64);if(d)while(i.length%4)i.push(d);return i.join(\"\")},parse:function(e,t=!0){var n=e.length,r=t?this._safe_map:this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var a=0;a<r.length;a++)o[r.charCodeAt(a)]=a}var c=r.charAt(64);if(c){var u=e.indexOf(c);-1!==u&&(n=u)}return i(e,n,o)},_map:\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\",_safe_map:\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_\"};function i(e,t,n){for(var o=[],i=0,a=0;a<t;a++)if(a%4){var c=n[e.charCodeAt(a-1)]<<a%4*2,u=n[e.charCodeAt(a)]>>>6-a%4*2,s=c|u;o[i>>>2]|=s<<24-i%4*8,i++}return r.create(o,i)}}(),e.enc.Base64url}))},wfmh:function(e,t,n){var r=n(\"I+eb\"),o=n(\"ImZN\"),i=n(\"hBjN\");r({target:\"Object\",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,n){i(t,e,n)}),void 0,!0),t}})},wg0c:function(e,t,n){var r=n(\"2oRo\"),o=n(\"WKiH\").trim,i=n(\"WJkJ\"),a=r.parseInt,c=/^[+-]?0[Xx]/,u=8!==a(i+\"08\")||22!==a(i+\"0x16\");e.exports=u?function(e,t){var n=o(String(e));return a(n,t>>>0||(c.test(n)?16:10))}:a},wgJM:function(e,t,n){\"use strict\";var r=function(e){return+setTimeout(e,16)},o=function(e){return clearTimeout(e)};\"undefined\"!==typeof window&&\"requestAnimationFrame\"in window&&(r=function(e){return window.requestAnimationFrame(e)},o=function(e){return window.cancelAnimationFrame(e)});var i=0,a=new Map;function c(e){a.delete(e)}var u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;i+=1;var n=i;function o(t){if(0===t)c(n),e();else{var i=r((function(){o(t-1)}));a.set(n,i)}}return o(t),n};u.cancel=function(e){var t=a.get(e);return c(t),o(t)},t[\"a\"]=u},wgYD:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"xDBR\"),i=n(\"Cg3G\");r({target:\"Map\",proto:!0,real:!0,forced:o},{deleteAll:function(){return i.apply(this,arguments)}})},wx14:function(e,t,n){\"use strict\";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,\"a\",(function(){return r}))},wyML:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(\"eQiA\"),o=function(e){var t,n=function(t){var r=e.children(t),o=e.node(t);if((null===r||void 0===r?void 0:r.length)&&r.forEach((function(e){return n(e)})),o.hasOwnProperty(\"minRank\")){o.borderLeft=[],o.borderRight=[];for(var a=o.minRank,c=o.maxRank+1;a<c;a+=1)i(e,\"borderLeft\",\"_bl\",t,o,a),i(e,\"borderRight\",\"_br\",t,o,a)}};null===(t=e.children())||void 0===t||t.forEach((function(e){return n(e)}))},i=function(e,t,n,o,i,a){var c={rank:a,borderType:t,width:0,height:0},u=i[t][a-1],s=(0,r.addDummyNode)(e,\"border\",c,n);i[t][a]=s,e.setParent(s,o),u&&e.setEdge(u,s,{weight:1})};t.default=o},\"x+rs\":function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,\"__esModule\",{value:!0}),t.ComboForceLayout=void 0;var o=n(\"W8mN\"),i=n(\"8nGZ\"),a=function(e){function t(t){var n=e.call(this)||this;return n.center=[0,0],n.maxIteration=100,n.gravity=10,n.comboGravity=10,n.linkDistance=10,n.alpha=1,n.alphaMin=.001,n.alphaDecay=1-Math.pow(n.alphaMin,1/300),n.alphaTarget=0,n.velocityDecay=.6,n.edgeStrength=.6,n.nodeStrength=30,n.preventOverlap=!1,n.preventNodeOverlap=!1,n.preventComboOverlap=!1,n.collideStrength=void 0,n.nodeCollideStrength=.5,n.comboCollideStrength=.5,n.comboSpacing=20,n.comboPadding=10,n.optimizeRangeFactor=1,n.onTick=function(){},n.onLayoutEnd=function(){},n.depthAttractiveForceScale=1,n.depthRepulsiveForceScale=2,n.nodes=[],n.edges=[],n.combos=[],n.comboTrees=[],n.width=300,n.height=300,n.bias=[],n.nodeMap={},n.oriComboMap={},n.indexMap={},n.comboMap={},n.previousLayouted=!1,n.updateCfg(t),n}return r(t,e),t.prototype.getDefaultCfg=function(){return{maxIteration:100,center:[0,0],gravity:10,speed:1,comboGravity:30,preventOverlap:!1,preventComboOverlap:!0,preventNodeOverlap:!0,nodeSpacing:void 0,collideStrength:void 0,nodeCollideStrength:.5,comboCollideStrength:.5,comboSpacing:20,comboPadding:10,edgeStrength:.6,nodeStrength:30,linkDistance:10}},t.prototype.execute=function(){var e=this,t=e.nodes,n=e.center;if(e.comboTree={id:\"comboTreeRoot\",depth:-1,children:e.comboTrees},t&&0!==t.length){if(1===t.length)return t[0].x=n[0],t[0].y=n[1],void(e.onLayoutEnd&&e.onLayoutEnd());e.initVals(),e.run(),e.onLayoutEnd&&e.onLayoutEnd()}else e.onLayoutEnd&&e.onLayoutEnd()},t.prototype.run=function(){var e=this,t=e.nodes,n=e.previousLayouted?e.maxIteration/5:e.maxIteration;e.width||\"undefined\"===typeof window||(e.width=window.innerWidth),e.height||\"undefined\"===typeof window||(e.height=window.innerHeight);var r=e.center,o=e.velocityDecay,a=e.comboMap;e.previousLayouted||e.initPos(a);for(var c=function(n){var r=[];t.forEach((function(e,t){r[t]={x:0,y:0}})),e.applyCalculate(r),e.applyComboCenterForce(r),t.forEach((function(e,t){(0,i.isNumber)(e.x)&&(0,i.isNumber)(e.y)&&(e.x+=r[t].x*o,e.y+=r[t].y*o)})),e.alpha+=(e.alphaTarget-e.alpha)*e.alphaDecay,e.onTick()},u=0;u<n;u++)c(u);var s=[0,0];t.forEach((function(e){(0,i.isNumber)(e.x)&&(0,i.isNumber)(e.y)&&(s[0]+=e.x,s[1]+=e.y)})),s[0]/=t.length,s[1]/=t.length;var l=[r[0]-s[0],r[1]-s[1]];t.forEach((function(e,t){(0,i.isNumber)(e.x)&&(0,i.isNumber)(e.y)&&(e.x+=l[0],e.y+=l[1])})),e.combos.forEach((function(e){var t=a[e.id];t&&t.empty&&(e.x=t.cx||e.x,e.y=t.cy||e.y)})),e.previousLayouted=!0},t.prototype.initVals=function(){var e=this,t=e.edges,n=e.nodes,r=e.combos,o={},a={},c={};n.forEach((function(e,t){a[e.id]=e,c[e.id]=t})),e.nodeMap=a,e.indexMap=c;var u={};r.forEach((function(e){u[e.id]=e})),e.oriComboMap=u,e.comboMap=e.getComboMap();var s=e.preventOverlap;e.preventComboOverlap=e.preventComboOverlap||s,e.preventNodeOverlap=e.preventNodeOverlap||s;var l=e.collideStrength;l&&(e.comboCollideStrength=l,e.nodeCollideStrength=l),e.comboCollideStrength=e.comboCollideStrength?e.comboCollideStrength:0,e.nodeCollideStrength=e.nodeCollideStrength?e.nodeCollideStrength:0;for(var f=0;f<t.length;++f){var d=(0,i.getEdgeTerminal)(t[f],\"source\"),h=(0,i.getEdgeTerminal)(t[f],\"target\");o[d]?o[d]++:o[d]=1,o[h]?o[h]++:o[h]=1}var p=[];for(f=0;f<t.length;++f){d=(0,i.getEdgeTerminal)(t[f],\"source\"),h=(0,i.getEdgeTerminal)(t[f],\"target\");p[f]=o[d]/(o[d]+o[h])}this.bias=p;var v,g,m=e.nodeSize,y=e.nodeSpacing;if(g=(0,i.isNumber)(y)?function(){return y}:(0,i.isFunction)(y)?y:function(){return 0},this.nodeSpacing=g,m)if((0,i.isFunction)(m))v=function(e){return m(e)};else if((0,i.isArray)(m)){var b=m[0]>m[1]?m[0]:m[1],x=b/2;v=function(e){return x}}else{var w=m/2;v=function(e){return w}}else v=function(e){if(e.size){if((0,i.isArray)(e.size)){var t=e.size[0]>e.size[1]?e.size[0]:e.size[1];return t/2}if((0,i.isObject)(e.size)){t=e.size.width>e.size.height?e.size.width:e.size.height;return t/2}return e.size/2}return 10};this.nodeSize=v;var O,E=e.comboSpacing;O=(0,i.isNumber)(E)?function(){return E}:(0,i.isFunction)(E)?E:function(){return 0},this.comboSpacing=O;var S,j=e.comboPadding;S=(0,i.isNumber)(j)?function(){return j}:(0,i.isArray)(j)?function(){return Math.max.apply(null,j)}:(0,i.isFunction)(j)?j:function(){return 0},this.comboPadding=S;var k,_=this.linkDistance;_||(_=10),k=(0,i.isNumber)(_)?function(e){return _}:_,this.linkDistance=k;var C,M=this.edgeStrength;M||(M=1),C=(0,i.isNumber)(M)?function(e){return M}:M,this.edgeStrength=C;var A,N=this.nodeStrength;N||(N=30),A=(0,i.isNumber)(N)?function(e){return N}:N,this.nodeStrength=A},t.prototype.initPos=function(e){var t=this,n=t.nodes;n.forEach((function(t,n){var r=t.comboId,o=e[r];r&&o?(t.x=o.cx+100/(n+1),t.y=o.cy+100/(n+1)):(t.x=100/(n+1),t.y=100/(n+1))}))},t.prototype.getComboMap=function(){var e=this,t=e.nodeMap,n=e.comboTrees,r=e.oriComboMap,o={};return(n||[]).forEach((function(n){var a=[];(0,i.traverseTreeUp)(n,(function(n){if(\"node\"===n.itemType)return!0;if(!r[n.id])return!0;if(void 0===o[n.id]){var c={id:n.id,name:n.id,cx:0,cy:0,count:0,depth:e.oriComboMap[n.id].depth||0,children:[]};o[n.id]=c}var u=n.children;u&&u.forEach((function(e){if(!o[e.id]&&!t[e.id])return!0;a.push(e)}));var s=o[n.id];if(s.cx=0,s.cy=0,0===a.length){s.empty=!0;var l=r[n.id];s.cx=l.x,s.cy=l.y}return a.forEach((function(e){if(s.count++,\"node\"!==e.itemType){var n=o[e.id];return(0,i.isNumber)(n.cx)&&(s.cx+=n.cx),void((0,i.isNumber)(n.cy)&&(s.cy+=n.cy))}var r=t[e.id];r&&((0,i.isNumber)(r.x)&&(s.cx+=r.x),(0,i.isNumber)(r.y)&&(s.cy+=r.y))})),s.cx/=s.count||1,s.cy/=s.count||1,s.children=a,!0}))})),o},t.prototype.applyComboCenterForce=function(e){var t=this,n=t.gravity,r=t.comboGravity||n,o=this.alpha,a=t.comboTrees,c=t.indexMap,u=t.nodeMap,s=t.comboMap;(a||[]).forEach((function(t){(0,i.traverseTreeUp)(t,(function(t){if(\"node\"===t.itemType)return!0;var n=s[t.id];if(!n)return!0;var a=s[t.id],l=(a.depth+1)/10*.5,f=a.cx,d=a.cy;return a.cx=0,a.cy=0,a.children.forEach((function(t){if(\"node\"!==t.itemType){var n=s[t.id];return n&&(0,i.isNumber)(n.cx)&&(a.cx+=n.cx),void(n&&(0,i.isNumber)(n.cy)&&(a.cy+=n.cy))}var h=u[t.id],p=h.x-f||.005,v=h.y-d||.005,g=Math.sqrt(p*p+v*v),m=c[h.id],y=r*o/g*l;e[m].x-=p*y,e[m].y-=v*y,(0,i.isNumber)(h.x)&&(a.cx+=h.x),(0,i.isNumber)(h.y)&&(a.cy+=h.y)})),a.cx/=a.count||1,a.cy/=a.count||1,!0}))}))},t.prototype.applyCalculate=function(e){var t=this,n=t.comboMap,r=t.nodes,o={};r.forEach((function(e,t){r.forEach((function(n,r){if(!(t<r)){var i=e.x-n.x||.005,a=e.y-n.y||.005,c=i*i+a*a,u=Math.sqrt(c);c<1&&(c=u),o[\"\".concat(e.id,\"-\").concat(n.id)]={vx:i,vy:a,vl2:c,vl:u},o[\"\".concat(n.id,\"-\").concat(e.id)]={vl2:c,vl:u,vx:-i,vy:-a}}}))})),t.updateComboSizes(n),t.calRepulsive(e,o),t.calAttractive(e,o);var i=t.preventComboOverlap;i&&t.comboNonOverlapping(e,n)},t.prototype.updateComboSizes=function(e){var t=this,n=t.comboTrees,r=t.nodeMap,o=t.nodeSize,a=t.comboSpacing,c=t.comboPadding;(n||[]).forEach((function(n){var u=[];(0,i.traverseTreeUp)(n,(function(n){if(\"node\"===n.itemType)return!0;var s=e[n.id];if(!s)return!1;var l=n.children;l&&l.forEach((function(t){(e[t.id]||r[t.id])&&u.push(t)})),s.minX=1/0,s.minY=1/0,s.maxX=-1/0,s.maxY=-1/0,u.forEach((function(e){if(\"node\"!==e.itemType)return!0;var t=r[e.id];if(!t)return!0;var n=o(t),i=t.x-n,a=t.y-n,c=t.x+n,u=t.y+n;s.minX>i&&(s.minX=i),s.minY>a&&(s.minY=a),s.maxX<c&&(s.maxX=c),s.maxY<u&&(s.maxY=u)}));var f=t.oriComboMap[n.id].size||10;(0,i.isArray)(f)&&(f=f[0]);var d=Math.max(s.maxX-s.minX,s.maxY-s.minY,f);return s.r=d/2+a(s)/2+c(s),!0}))}))},t.prototype.comboNonOverlapping=function(e,t){var n=this,r=n.comboTree,o=n.comboCollideStrength,a=n.indexMap,c=n.nodeMap;(0,i.traverseTreeUp)(r,(function(n){if(!t[n.id]&&!c[n.id]&&\"comboTreeRoot\"!==n.id)return!1;var r=n.children;return r&&r.length>1&&r.forEach((function(n,i){if(\"node\"===n.itemType)return!1;var u=t[n.id];u&&r.forEach((function(r,s){if(i<=s)return!1;if(\"node\"===r.itemType)return!1;var l=t[r.id];if(!l)return!1;var f=u.cx-l.cx||.005,d=u.cy-l.cy||.005,h=f*f+d*d,p=u.r||1,v=l.r||1,g=p+v,m=v*v,y=p*p;if(h<g*g){var b=n.children;if(!b||0===b.length)return!1;var x=r.children;if(!x||0===x.length)return!1;var w=Math.sqrt(h),O=(g-w)/w*o,E=f*O,S=d*O,j=m/(y+m),k=1-j;b.forEach((function(t){if(\"node\"!==t.itemType)return!1;if(c[t.id]){var n=a[t.id];x.forEach((function(t){if(\"node\"!==t.itemType)return!1;if(!c[t.id])return!1;var r=a[t.id];e[n].x+=E*j,e[n].y+=S*j,e[r].x-=E*k,e[r].y-=S*k}))}}))}}))})),!0}))},t.prototype.calRepulsive=function(e,t){var n=this,r=n.nodes,o=n.width*n.optimizeRangeFactor,i=n.nodeStrength,a=n.alpha,c=n.nodeCollideStrength,u=n.preventNodeOverlap,s=n.nodeSize,l=n.nodeSpacing,f=n.depthRepulsiveForceScale,d=n.center;r.forEach((function(h,p){if(h.x&&h.y){if(d){var v=n.gravity,g=h.x-d[0]||.005,m=h.y-d[1]||.005,y=Math.sqrt(g*g+m*m);e[p].x-=g*v*a/y,e[p].y-=m*v*a/y}r.forEach((function(n,r){if(p!==r&&n.x&&n.y){var d=t[\"\".concat(h.id,\"-\").concat(n.id)],v=d.vl2,g=d.vl;if(!(g>o)){var m=t[\"\".concat(h.id,\"-\").concat(n.id)],y=m.vx,b=m.vy,x=Math.log(Math.abs(n.depth-h.depth)/10)+1||1;x=x<1?1:x,n.comboId!==h.comboId&&(x+=1);var w=x?Math.pow(f,x):1,O=i(n)*a/v*w;if(e[p].x+=y*O,e[p].y+=b*O,p<r&&u){var E=s(h)+l(h)||1,S=s(n)+l(n)||1,j=E+S;if(v<j*j){var k=(j-g)/g*c,_=S*S,C=_/(E*E+_),M=y*k,A=b*k;e[p].x+=M*C,e[p].y+=A*C,C=1-C,e[r].x-=M*C,e[r].y-=A*C}}}}}))}}))},t.prototype.calAttractive=function(e,t){var n=this,r=n.edges,o=n.linkDistance,a=n.alpha,c=n.edgeStrength,u=n.bias,s=n.depthAttractiveForceScale;r.forEach((function(r,l){var f=(0,i.getEdgeTerminal)(r,\"source\"),d=(0,i.getEdgeTerminal)(r,\"target\");if(f&&d&&f!==d){var h=n.indexMap[f],p=n.indexMap[d],v=n.nodeMap[f],g=n.nodeMap[d];if(v&&g){var m=v.depth===g.depth?0:Math.log(Math.abs(v.depth-g.depth)/10);v.comboId===g.comboId&&(m/=2);var y=m?Math.pow(s,m):1;if(v.comboId!==g.comboId&&1===y?y=s/2:v.comboId===g.comboId&&(y=2),(0,i.isNumber)(g.x)&&(0,i.isNumber)(v.x)&&(0,i.isNumber)(g.y)&&(0,i.isNumber)(v.y)){var b=t[\"\".concat(d,\"-\").concat(f)],x=b.vl,w=b.vx,O=b.vy,E=(x-o(r))/x*a*c(r)*y,S=w*E,j=O*E,k=u[l];e[p].x-=S*k,e[p].y-=j*k,e[h].x+=S*(1-k),e[h].y+=j*(1-k)}}}}))},t.prototype.getType=function(){return\"comboForce\"},t}(o.Base);t.ComboForceLayout=a},\"x+uP\":function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(\"U8pU\");function o(){o=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a=\"function\"==typeof Symbol?Symbol:{},c=a.iterator||\"@@iterator\",u=a.asyncIterator||\"@@asyncIterator\",s=a.toStringTag||\"@@toStringTag\";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},\"\")}catch(A){l=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof p?t:p,a=Object.create(o.prototype),c=new _(r||[]);return i(a,\"_invoke\",{value:E(e,n,c)}),a}function d(e,t,n){try{return{type:\"normal\",arg:e.call(t,n)}}catch(A){return{type:\"throw\",arg:A}}}e.wrap=f;var h={};function p(){}function v(){}function g(){}var m={};l(m,c,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(C([])));b&&b!==t&&n.call(b,c)&&(m=b);var x=g.prototype=p.prototype=Object.create(m);function w(e){[\"next\",\"throw\",\"return\"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(i,a,c,u){var s=d(e[i],e,a);if(\"throw\"!==s.type){var l=s.arg,f=l.value;return f&&\"object\"==Object(r[\"a\"])(f)&&n.call(f,\"__await\")?t.resolve(f.__await).then((function(e){o(\"next\",e,c,u)}),(function(e){o(\"throw\",e,c,u)})):t.resolve(f).then((function(e){l.value=e,c(l)}),(function(e){return o(\"throw\",e,c,u)}))}u(s.arg)}var a;i(this,\"_invoke\",{value:function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function E(e,t,n){var r=\"suspendedStart\";return function(o,i){if(\"executing\"===r)throw new Error(\"Generator is already running\");if(\"completed\"===r){if(\"throw\"===o)throw i;return M()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=S(a,n);if(c){if(c===h)continue;return c}}if(\"next\"===n.method)n.sent=n._sent=n.arg;else if(\"throw\"===n.method){if(\"suspendedStart\"===r)throw r=\"completed\",n.arg;n.dispatchException(n.arg)}else\"return\"===n.method&&n.abrupt(\"return\",n.arg);r=\"executing\";var u=d(e,t,n);if(\"normal\"===u.type){if(r=n.done?\"completed\":\"suspendedYield\",u.arg===h)continue;return{value:u.arg,done:n.done}}\"throw\"===u.type&&(r=\"completed\",n.method=\"throw\",n.arg=u.arg)}}}function S(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,\"throw\"===t.method){if(e.iterator[\"return\"]&&(t.method=\"return\",t.arg=void 0,S(e,t),\"throw\"===t.method))return h;t.method=\"throw\",t.arg=new TypeError(\"The iterator does not provide a 'throw' method\")}return h}var r=d(n,e.iterator,t.arg);if(\"throw\"===r.type)return t.method=\"throw\",t.arg=r.arg,t.delegate=null,h;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,\"return\"!==t.method&&(t.method=\"next\",t.arg=void 0),t.delegate=null,h):o:(t.method=\"throw\",t.arg=new TypeError(\"iterator result is not an object\"),t.delegate=null,h)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type=\"normal\",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:\"root\"}],e.forEach(j,this),this.reset(!0)}function C(e){if(e){var t=e[c];if(t)return t.call(e);if(\"function\"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:M}}function M(){return{value:void 0,done:!0}}return v.prototype=g,i(x,\"constructor\",{value:g,configurable:!0}),i(g,\"constructor\",{value:v,configurable:!0}),v.displayName=l(g,s,\"GeneratorFunction\"),e.isGeneratorFunction=function(e){var t=\"function\"==typeof e&&e.constructor;return!!t&&(t===v||\"GeneratorFunction\"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,l(e,s,\"GeneratorFunction\")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},w(O.prototype),l(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(x),l(x,s,\"Generator\"),l(x,c,(function(){return this})),l(x,\"toString\",(function(){return\"[object Generator]\"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=C,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method=\"next\",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)\"t\"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(\"throw\"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type=\"throw\",a.arg=e,t.next=n,r&&(t.method=\"next\",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if(\"root\"===i.tryLoc)return r(\"end\");if(i.tryLoc<=this.prev){var c=n.call(i,\"catchLoc\"),u=n.call(i,\"finallyLoc\");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error(\"try statement without catch or finally\");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,\"finallyLoc\")&&this.prev<o.finallyLoc){var i=o;break}}i&&(\"break\"===e||\"continue\"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method=\"next\",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if(\"throw\"===e.type)throw e.arg;return\"break\"===e.type||\"continue\"===e.type?this.next=e.arg:\"return\"===e.type?(this.rval=this.arg=e.arg,this.method=\"return\",this.next=\"end\"):\"normal\"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if(\"throw\"===r.type){var o=r.arg;k(n)}return o}}throw new Error(\"illegal catch attempt\")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},\"next\"===this.method&&(this.arg=void 0),h}},e}},x54q:function(e,t,n){},xDBR:function(e,t){e.exports=!1},xQxM:function(e,t,n){\"use strict\";n.d(t,\"f\",(function(){return r})),n.d(t,\"c\",(function(){return o})),n.d(t,\"e\",(function(){return i})),n.d(t,\"b\",(function(){return a})),n.d(t,\"d\",(function(){return c})),n.d(t,\"a\",(function(){return u}));var r=e=>{localStorage.setItem(\"uid\",e)},o=()=>localStorage.getItem(\"uid\"),i=e=>{localStorage.setItem(\"domainsData\",e)},a=()=>localStorage.getItem(\"domainsData\"),c=e=>{localStorage.setItem(\"assetQueryData\",e)},u=()=>localStorage.getItem(\"assetQueryData\")},\"xTJ+\":function(e,t,n){\"use strict\";(function(e){var r=n(\"HSsa\");const{toString:o}=Object.prototype,{getPrototypeOf:i}=Object,a=(e=>t=>{const n=o.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),c=e=>(e=e.toLowerCase(),t=>a(t)===e),u=e=>t=>typeof t===e,{isArray:s}=Array,l=u(\"undefined\");function f(e){return null!==e&&!l(e)&&null!==e.constructor&&!l(e.constructor)&&v(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const d=c(\"ArrayBuffer\");function h(e){let t;return t=\"undefined\"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer),t}const p=u(\"string\"),v=u(\"function\"),g=u(\"number\"),m=e=>null!==e&&\"object\"===typeof e,y=e=>!0===e||!1===e,b=e=>{if(\"object\"!==a(e))return!1;const t=i(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},x=c(\"Date\"),w=c(\"File\"),O=c(\"Blob\"),E=c(\"FileList\"),S=e=>m(e)&&v(e.pipe),j=e=>{const t=\"[object FormData]\";return e&&(\"function\"===typeof FormData&&e instanceof FormData||o.call(e)===t||v(e.toString)&&e.toString()===t)},k=c(\"URLSearchParams\"),_=e=>e.trim?e.trim():e.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,\"\");function C(e,t,{allOwnKeys:n=!1}={}){if(null===e||\"undefined\"===typeof e)return;let r,o;if(\"object\"!==typeof e&&(e=[e]),s(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function M(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;while(o-- >0)if(r=n[o],t===r.toLowerCase())return r;return null}const A=\"undefined\"===typeof self?\"undefined\"===typeof e?void 0:e:self,N=e=>!l(e)&&e!==A;function T(){const{caseless:e}=N(this)&&this||{},t={},n=(n,r)=>{const o=e&&M(t,r)||r;b(t[o])&&b(n)?t[o]=T(t[o],n):b(n)?t[o]=T({},n):s(n)?t[o]=n.slice():t[o]=n};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&C(arguments[r],n);return t}const I=(e,t,n,{allOwnKeys:o}={})=>(C(t,((t,o)=>{n&&v(t)?e[o]=Object(r[\"a\"])(t,n):e[o]=t}),{allOwnKeys:o}),e),P=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),L=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,\"super\",{value:t.prototype}),n&&Object.assign(e.prototype,n)},D=(e,t,n,r)=>{let o,a,c;const u={};if(t=t||{},null==e)return t;do{o=Object.getOwnPropertyNames(e),a=o.length;while(a-- >0)c=o[a],r&&!r(c,e,t)||u[c]||(t[c]=e[c],u[c]=!0);e=!1!==n&&i(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},R=(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},F=e=>{if(!e)return null;if(s(e))return e;let t=e.length;if(!g(t))return null;const n=new Array(t);while(t-- >0)n[t]=e[t];return n},B=(e=>t=>e&&t instanceof e)(\"undefined\"!==typeof Uint8Array&&i(Uint8Array)),z=(e,t)=>{const n=e&&e[Symbol.iterator],r=n.call(e);let o;while((o=r.next())&&!o.done){const n=o.value;t.call(e,n[0],n[1])}},U=(e,t)=>{let n;const r=[];while(null!==(n=e.exec(t)))r.push(n);return r},G=c(\"HTMLFormElement\"),V=e=>e.toLowerCase().replace(/[_-\\s]([a-z\\d])(\\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),W=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),H=c(\"RegExp\"),Y=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};C(n,((n,o)=>{!1!==t(n,o,e)&&(r[o]=n)})),Object.defineProperties(e,r)},X=e=>{Y(e,((t,n)=>{if(v(e)&&-1!==[\"arguments\",\"caller\",\"callee\"].indexOf(n))return!1;const r=e[n];v(r)&&(t.enumerable=!1,\"writable\"in t?t.writable=!1:t.set||(t.set=()=>{throw Error(\"Can not rewrite read-only method '\"+n+\"'\")}))}))},q=(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return s(e)?r(e):r(String(e).split(t)),n},K=()=>{},Z=(e,t)=>(e=+e,Number.isFinite(e)?e:t),$=e=>{const t=new Array(10),n=(e,r)=>{if(m(e)){if(t.indexOf(e)>=0)return;if(!(\"toJSON\"in e)){t[r]=e;const o=s(e)?[]:{};return C(e,((e,t)=>{const i=n(e,r+1);!l(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)};t[\"a\"]={isArray:s,isArrayBuffer:d,isBuffer:f,isFormData:j,isArrayBufferView:h,isString:p,isNumber:g,isBoolean:y,isObject:m,isPlainObject:b,isUndefined:l,isDate:x,isFile:w,isBlob:O,isRegExp:H,isFunction:v,isStream:S,isURLSearchParams:k,isTypedArray:B,isFileList:E,forEach:C,merge:T,extend:I,trim:_,stripBOM:P,inherits:L,toFlatObject:D,kindOf:a,kindOfTest:c,endsWith:R,toArray:F,forEachEntry:z,matchAll:U,isHTMLForm:G,hasOwnProperty:W,hasOwnProp:W,reduceDescriptors:Y,freezeMethods:X,toObjectSet:q,toCamelCase:V,noop:K,toFiniteNumber:Z,findKey:M,global:A,isContextDefined:N,toJSONObject:$}}).call(this,n(\"IyRk\"))},xYSL:function(e,t){function n(e,t){return e.has(t)}e.exports=n},xrYK:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},xs3f:function(e,t,n){var r=n(\"2oRo\"),o=n(\"zk60\"),i=\"__core-js_shared__\",a=r[i]||o(i,{});e.exports=a},y1pI:function(e,t,n){var r=n(\"ljhN\");function o(e,t){var n=e.length;while(n--)if(r(e[n][0],t))return n;return-1}e.exports=o},y3dy:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=1200,o=800,i=1e7,a=10,c=3.141592653589793,u=1.5707963267948966,s=.375*c,l=.625*c,f=new Map,d=10,h=10,p=.8,v=.1,g=.5;function m(e,t,n){var r=e.x-e.size[0]/2,o=e.y-e.size[1]/2,i=e.x+e.size[0]/2,a=e.y+e.size[1]/2,c=t.x-t.size[0]/2,f=t.y-t.size[1]/2,d=t.x+t.size[0]/2,h=t.y+t.size[1]/2,p=e.x,v=e.y,g=t.x,m=t.y,y=g-p,b=Math.atan2(y,m-v),x=0,w=0,O=0,E=0;b>u?(w=o-h,x=c-i,O=parseFloat(w?(w/Math.cos(b)).toFixed(2):x.toFixed(2)),E=parseFloat(x?(x/Math.sin(b)).toFixed(2):w.toFixed(2))):0<b&&b<=u?(w=f-a,x=c-i,O=E=w>x?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=o-h,x=-(d-r),O=E=w>x?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(y)>(i-r)/2?r-d:y,O=E=w>x?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)),j=n;return n&&(j=s<S&&S<l),{distance:Math.abs(O<E?O:E),isHoriz:j}}function y(e,t){var n=f.get(e.id)||[],r=n.find((function(e){return e.source===t.id||e.target===t.id})),o=e.size[0]*e.size[1],c=t.size[0]*t.size[1],u=o>c?t:e,s=o>c?e:t,l=u.x-u.size[0]/2,d=u.y-u.size[1]/2,h=u.x+u.size[0]/2,p=u.y+u.size[1]/2,v=s.x-s.size[0]/2,g=s.y-s.size[1]/2,y=s.x+s.size[0]/2,b=s.y+s.size[1]/2,x=u.x,w=u.y,O=s.x,E=s.y,S=h>=v&&y>=l&&p>=g&&b>=d,j=0,k=0;if(S){k=Math.sqrt(Math.pow(O-x,2)+Math.pow(E-w,2));var _=l>v?l:v,C=d>g?d:g,M=h<y?h:y,A=p<b?p:b,N=M-_,T=A-C,I=N*T;0===k&&(k=1e-7),j=1*a/k*100+I,j*=i}else{var P=!1,L=m(u,s,P);k=L.distance,P=L.isHoriz,k<=a?j+=0!==k?r?a+1*i/k:a+i*a/k:i:(j+=k,r&&(j+=k*k))}return j}function b(e){for(var t=0,n=0;n<e.length;n++){var i=e[n];(i.x<0||i.y<0||i.x>r||i.y>o)&&(t+=1e12);for(var a=n+1;a<e.length;a++)t+=y(i,e[a])}return t}function x(e,t,n,r){var o=new Map;n.forEach((function(e,t){o.set(e.id,e)}));var i=r.filter((function(t){return t.source===e.id||t.target===e.id}))||[],a=[];i.forEach((function(t){var n=t.source===e.id?t.target:t.source,r=o.get(n);r&&a.push(r)}));for(var c=!0,u=0;u<a.length;u++){var s=a[u],l=180*Math.atan((e.y-s.y)/(s.x-e.y)),f=180*Math.atan((t.y-s.y)/(s.x-t.y)),d=l<30||l>150,h=f<30||f>150,p=l>70&&l<110,v=f>70&&f<110;if(d&&!h||l*f<0){c=!1;break}if(p&&!v||l*f<0){c=!1;break}if((s.x-e.x)*(s.x-t.x)<0){c=!1;break}if((s.y-e.y)*(s.y-t.y)<0){c=!1;break}}return c}function w(e,t){for(var n=!1,r=1,o=d*r,i=h*r,a=[o,-o,0,0],c=[0,0,i,-i],u=0;u<e.length;++u)for(var s=e[u],l=O(s,e),f=0;f<a.length;f++){var m=x(s,{x:s.x+a[f],y:s.y+c[f]},e,t);if(m){s.x+=a[f],s.y+=c[f];var y=O(s,e),w=Math.random();y<l||w<p&&w>v?(l=y,n=!0):(s.x-=a[f],s.y-=c[f])}}return p>v&&(p*=g),n?b(e):0}function O(e,t){var n=0;(e.x<0||e.y<0||e.x+e.size[0]+20>r||e.y+e.size[1]+20>o)&&(n+=1e12);for(var i=0;i<t.length;++i)e.id!==t[i].id&&(n+=y(e,t[i]));return n}function E(e,t){if(0===e.length)return{nodes:e,edges:t};e.forEach((function(e){var n=t.filter((function(t){return t.source===e.id||t.target===e.id}));f.set(e,n)})),e.sort((function(e,t){var n,r;return(null===(n=f.get(e.id))||void 0===n?void 0:n.length)-(null===(r=f.get(t.id))||void 0===r?void 0:r.length)}));var n=b(e),r=20,o=1,i=0,a=50,c=0;while(r>0){if(c++,c>=a)break;var u=w(e,t);0!==u&&(i=u),o=i-n,n=i,0===o?--r:r=20}return e.forEach((function(e){e.x=e.x-e.size[0]/2,e.y=e.y-e.size[1]/2})),{nodes:e,edges:t}}t.default=E},yGk4:function(e,t,n){var r=n(\"Cwc5\"),o=n(\"Kz5y\"),i=r(o,\"Set\");e.exports=i},yNLB:function(e,t,n){var r=n(\"0Dky\"),o=n(\"WJkJ\"),i=\"\\u200b\\x85\\u180e\";e.exports=function(e){return r((function(){return!!o[e]()||i[e]()!=i||o[e].name!==e}))}},yU0y:function(e,t,n){\"use strict\";n.r(t),n.d(t,\"EPSILON\",(function(){return r})),n.d(t,\"ARRAY_TYPE\",(function(){return o})),n.d(t,\"RANDOM\",(function(){return i})),n.d(t,\"setMatrixArrayType\",(function(){return a})),n.d(t,\"toRadian\",(function(){return u})),n.d(t,\"equals\",(function(){return s}));var r=1e-6,o=\"undefined\"!==typeof Float32Array?Float32Array:Array,i=Math.random;function a(e){o=e}var c=Math.PI/180;function u(e){return e*c}function s(e,t){return Math.abs(e-t)<=r*Math.max(1,Math.abs(e),Math.abs(t))}Math.hypot||(Math.hypot=function(){var e=0,t=arguments.length;while(t--)e+=arguments[t]*arguments[t];return Math.sqrt(e)})},yXPU:function(e,t){function n(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(s){return void n(s)}c.done?t(u):Promise.resolve(u).then(r,o)}function r(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function c(e){n(a,o,i,c,u,\"next\",e)}function u(e){n(a,o,i,c,u,\"throw\",e)}c(void 0)}))}}e.exports=r,e.exports.__esModule=!0,e.exports[\"default\"]=e.exports},yXV3:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"TWQb\").indexOf,i=n(\"pkCn\"),a=n(\"rkAj\"),c=[].indexOf,u=!!c&&1/[1].indexOf(1,-0)<0,s=i(\"indexOf\"),l=a(\"indexOf\",{ACCESSORS:!0,1:0});r({target:\"Array\",proto:!0,forced:u||!s||!l},{indexOf:function(e){return u?c.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},ye1Q:function(e,t,n){\"use strict\";var r=n(\"VTBJ\"),o=n(\"q1tI\"),i={icon:{tag:\"svg\",attrs:{viewBox:\"0 0 1024 1024\",focusable:\"false\"},children:[{tag:\"path\",attrs:{d:\"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z\"}}]},name:\"loading\",theme:\"outlined\"},a=i,c=n(\"6VBw\"),u=function(e,t){return o[\"createElement\"](c[\"a\"],Object(r[\"a\"])(Object(r[\"a\"])({},e),{},{ref:t,icon:a}))};u.displayName=\"LoadingOutlined\";t[\"a\"]=o[\"forwardRef\"](u)},yl30:function(e,t,n){\"use strict\";var r=n(\"q1tI\"),o=n(\"MgzW\"),i=n(\"QCnb\");function a(e){for(var t=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+e,n=1;n<arguments.length;n++)t+=\"&args[]=\"+encodeURIComponent(arguments[n]);return\"Minified React error #\"+e+\"; visit \"+t+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}if(!r)throw Error(a(227));var c=new Set,u={};function s(e,t){l(e,t),l(e+\"Capture\",t)}function l(e,t){for(u[e]=t,e=0;e<t.length;e++)c.add(t[e])}var f=!(\"undefined\"===typeof window||\"undefined\"===typeof window.document||\"undefined\"===typeof window.document.createElement),d=/^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$/,h=Object.prototype.hasOwnProperty,p={},v={};function g(e){return!!h.call(v,e)||!h.call(p,e)&&(d.test(e)?v[e]=!0:(p[e]=!0,!1))}function m(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case\"function\":case\"symbol\":return!0;case\"boolean\":return!r&&(null!==n?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),\"data-\"!==e&&\"aria-\"!==e));default:return!1}}function y(e,t,n,r){if(null===t||\"undefined\"===typeof t||m(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function b(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var x={};\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach((function(e){x[e]=new b(e,0,!1,e,null,!1,!1)})),[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach((function(e){var t=e[0];x[t]=new b(t,1,!1,e[1],null,!1,!1)})),[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach((function(e){x[e]=new b(e,2,!1,e.toLowerCase(),null,!1,!1)})),[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach((function(e){x[e]=new b(e,2,!1,e,null,!1,!1)})),\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach((function(e){x[e]=new b(e,3,!1,e.toLowerCase(),null,!1,!1)})),[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach((function(e){x[e]=new b(e,3,!0,e,null,!1,!1)})),[\"capture\",\"download\"].forEach((function(e){x[e]=new b(e,4,!1,e,null,!1,!1)})),[\"cols\",\"rows\",\"size\",\"span\"].forEach((function(e){x[e]=new b(e,6,!1,e,null,!1,!1)})),[\"rowSpan\",\"start\"].forEach((function(e){x[e]=new b(e,5,!1,e.toLowerCase(),null,!1,!1)}));var w=/[\\-:]([a-z])/g;function O(e){return e[1].toUpperCase()}function E(e,t,n,r){var o=x.hasOwnProperty(t)?x[t]:null,i=null!==o?0===o.type:!r&&(2<t.length&&(\"o\"===t[0]||\"O\"===t[0])&&(\"n\"===t[1]||\"N\"===t[1]));i||(y(t,n,o,r)&&(n=null),r||null===o?g(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,\"\"+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&\"\":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(o=o.type,n=3===o||4===o&&!0===n?\"\":\"\"+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach((function(e){var t=e.replace(w,O);x[t]=new b(t,1,!1,e,null,!1,!1)})),\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach((function(e){var t=e.replace(w,O);x[t]=new b(t,1,!1,e,\"http://www.w3.org/1999/xlink\",!1,!1)})),[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach((function(e){var t=e.replace(w,O);x[t]=new b(t,1,!1,e,\"http://www.w3.org/XML/1998/namespace\",!1,!1)})),[\"tabIndex\",\"crossOrigin\"].forEach((function(e){x[e]=new b(e,1,!1,e.toLowerCase(),null,!1,!1)})),x.xlinkHref=new b(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0,!1),[\"src\",\"href\",\"action\",\"formAction\"].forEach((function(e){x[e]=new b(e,1,!1,e.toLowerCase(),null,!0,!0)}));var S=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,j=60103,k=60106,_=60107,C=60108,M=60114,A=60109,N=60110,T=60112,I=60113,P=60120,L=60115,D=60116,R=60121,F=60128,B=60129,z=60130,U=60131;if(\"function\"===typeof Symbol&&Symbol.for){var G=Symbol.for;j=G(\"react.element\"),k=G(\"react.portal\"),_=G(\"react.fragment\"),C=G(\"react.strict_mode\"),M=G(\"react.profiler\"),A=G(\"react.provider\"),N=G(\"react.context\"),T=G(\"react.forward_ref\"),I=G(\"react.suspense\"),P=G(\"react.suspense_list\"),L=G(\"react.memo\"),D=G(\"react.lazy\"),R=G(\"react.block\"),G(\"react.scope\"),F=G(\"react.opaque.id\"),B=G(\"react.debug_trace_mode\"),z=G(\"react.offscreen\"),U=G(\"react.legacy_hidden\")}var V,W=\"function\"===typeof Symbol&&Symbol.iterator;function H(e){return null===e||\"object\"!==typeof e?null:(e=W&&e[W]||e[\"@@iterator\"],\"function\"===typeof e?e:null)}function Y(e){if(void 0===V)try{throw Error()}catch(n){var t=n.stack.trim().match(/\\n( *(at )?)/);V=t&&t[1]||\"\"}return\"\\n\"+V+e}var X=!1;function q(e,t){if(!e||X)return\"\";X=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,\"props\",{set:function(){throw Error()}}),\"object\"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&\"string\"===typeof u.stack){for(var o=u.stack.split(\"\\n\"),i=r.stack.split(\"\\n\"),a=o.length-1,c=i.length-1;1<=a&&0<=c&&o[a]!==i[c];)c--;for(;1<=a&&0<=c;a--,c--)if(o[a]!==i[c]){if(1!==a||1!==c)do{if(a--,c--,0>c||o[a]!==i[c])return\"\\n\"+o[a].replace(\" at new \",\" at \")}while(1<=a&&0<=c);break}}}finally{X=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:\"\")?Y(e):\"\"}function K(e){switch(e.tag){case 5:return Y(e.type);case 16:return Y(\"Lazy\");case 13:return Y(\"Suspense\");case 19:return Y(\"SuspenseList\");case 0:case 2:case 15:return e=q(e.type,!1),e;case 11:return e=q(e.type.render,!1),e;case 22:return e=q(e.type._render,!1),e;case 1:return e=q(e.type,!0),e;default:return\"\"}}function Z(e){if(null==e)return null;if(\"function\"===typeof e)return e.displayName||e.name||null;if(\"string\"===typeof e)return e;switch(e){case _:return\"Fragment\";case k:return\"Portal\";case M:return\"Profiler\";case C:return\"StrictMode\";case I:return\"Suspense\";case P:return\"SuspenseList\"}if(\"object\"===typeof e)switch(e.$$typeof){case N:return(e.displayName||\"Context\")+\".Consumer\";case A:return(e._context.displayName||\"Context\")+\".Provider\";case T:var t=e.render;return t=t.displayName||t.name||\"\",e.displayName||(\"\"!==t?\"ForwardRef(\"+t+\")\":\"ForwardRef\");case L:return Z(e.type);case R:return Z(e._render);case D:t=e._payload,e=e._init;try{return Z(e(t))}catch(n){}}return null}function $(e){switch(typeof e){case\"boolean\":case\"number\":case\"object\":case\"string\":case\"undefined\":return e;default:return\"\"}}function Q(e){var t=e.type;return(e=e.nodeName)&&\"input\"===e.toLowerCase()&&(\"checkbox\"===t||\"radio\"===t)}function J(e){var t=Q(e)?\"checked\":\"value\",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=\"\"+e[t];if(!e.hasOwnProperty(t)&&\"undefined\"!==typeof n&&\"function\"===typeof n.get&&\"function\"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=\"\"+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=\"\"+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ee(e){e._valueTracker||(e._valueTracker=J(e))}function te(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=\"\";return e&&(r=Q(e)?e.checked?\"true\":\"false\":e.value),e=r,e!==n&&(t.setValue(e),!0)}function ne(e){if(e=e||(\"undefined\"!==typeof document?document:void 0),\"undefined\"===typeof e)return null;try{return e.activeElement||e.body}catch(t){return e.body}}function re(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function oe(e,t){var n=null==t.defaultValue?\"\":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=$(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:\"checkbox\"===t.type||\"radio\"===t.type?null!=t.checked:null!=t.value}}function ie(e,t){t=t.checked,null!=t&&E(e,\"checked\",t,!1)}function ae(e,t){ie(e,t);var n=$(t.value),r=t.type;if(null!=n)\"number\"===r?(0===n&&\"\"===e.value||e.value!=n)&&(e.value=\"\"+n):e.value!==\"\"+n&&(e.value=\"\"+n);else if(\"submit\"===r||\"reset\"===r)return void e.removeAttribute(\"value\");t.hasOwnProperty(\"value\")?ue(e,t.type,n):t.hasOwnProperty(\"defaultValue\")&&ue(e,t.type,$(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ce(e,t,n){if(t.hasOwnProperty(\"value\")||t.hasOwnProperty(\"defaultValue\")){var r=t.type;if(!(\"submit\"!==r&&\"reset\"!==r||void 0!==t.value&&null!==t.value))return;t=\"\"+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,\"\"!==n&&(e.name=\"\"),e.defaultChecked=!!e._wrapperState.initialChecked,\"\"!==n&&(e.name=n)}function ue(e,t,n){\"number\"===t&&ne(e.ownerDocument)===e||(null==n?e.defaultValue=\"\"+e._wrapperState.initialValue:e.defaultValue!==\"\"+n&&(e.defaultValue=\"\"+n))}function se(e){var t=\"\";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}function le(e,t){return e=o({children:void 0},t),(t=se(t.children))&&(e.children=t),e}function fe(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t[\"$\"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty(\"$\"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=\"\"+$(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function de(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:\"\"+e._wrapperState.initialValue})}function he(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=\"\"),n=t}e._wrapperState={initialValue:$(n)}}function pe(e,t){var n=$(t.value),r=$(t.defaultValue);null!=n&&(n=\"\"+n,n!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=\"\"+r)}function ve(e){var t=e.textContent;t===e._wrapperState.initialValue&&\"\"!==t&&null!==t&&(e.value=t)}var ge={html:\"http://www.w3.org/1999/xhtml\",mathml:\"http://www.w3.org/1998/Math/MathML\",svg:\"http://www.w3.org/2000/svg\"};function me(e){switch(e){case\"svg\":return\"http://www.w3.org/2000/svg\";case\"math\":return\"http://www.w3.org/1998/Math/MathML\";default:return\"http://www.w3.org/1999/xhtml\"}}function ye(e,t){return null==e||\"http://www.w3.org/1999/xhtml\"===e?me(t):\"http://www.w3.org/2000/svg\"===e&&\"foreignObject\"===t?\"http://www.w3.org/1999/xhtml\":e}var be,xe=function(e){return\"undefined\"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n,r,o)}))}:e}((function(e,t){if(e.namespaceURI!==ge.svg||\"innerHTML\"in e)e.innerHTML=t;else{for(be=be||document.createElement(\"div\"),be.innerHTML=\"<svg>\"+t.valueOf().toString()+\"</svg>\",t=be.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function we(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Oe={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ee=[\"Webkit\",\"ms\",\"Moz\",\"O\"];function Se(e,t,n){return null==t||\"boolean\"===typeof t||\"\"===t?\"\":n||\"number\"!==typeof t||0===t||Oe.hasOwnProperty(e)&&Oe[e]?(\"\"+t).trim():t+\"px\"}function je(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf(\"--\"),o=Se(n,t[n],r);\"float\"===n&&(n=\"cssFloat\"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Oe).forEach((function(e){Ee.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Oe[t]=Oe[e]}))}));var ke=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function _e(e,t){if(t){if(ke[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if(\"object\"!==typeof t.dangerouslySetInnerHTML||!(\"__html\"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&\"object\"!==typeof t.style)throw Error(a(62))}}function Ce(e,t){if(-1===e.indexOf(\"-\"))return\"string\"===typeof t.is;switch(e){case\"annotation-xml\":case\"color-profile\":case\"font-face\":case\"font-face-src\":case\"font-face-uri\":case\"font-face-format\":case\"font-face-name\":case\"missing-glyph\":return!1;default:return!0}}function Me(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ae=null,Ne=null,Te=null;function Ie(e){if(e=ko(e)){if(\"function\"!==typeof Ae)throw Error(a(280));var t=e.stateNode;t&&(t=Co(t),Ae(e.stateNode,e.type,t))}}function Pe(e){Ne?Te?Te.push(e):Te=[e]:Ne=e}function Le(){if(Ne){var e=Ne,t=Te;if(Te=Ne=null,Ie(e),t)for(e=0;e<t.length;e++)Ie(t[e])}}function De(e,t){return e(t)}function Re(e,t,n,r,o){return e(t,n,r,o)}function Fe(){}var Be=De,ze=!1,Ue=!1;function Ge(){null===Ne&&null===Te||(Fe(),Le())}function Ve(e,t,n){if(Ue)return e(t,n);Ue=!0;try{return Be(e,t,n)}finally{Ue=!1,Ge()}}function We(e,t){var n=e.stateNode;if(null===n)return null;var r=Co(n);if(null===r)return null;n=r[t];e:switch(t){case\"onClick\":case\"onClickCapture\":case\"onDoubleClick\":case\"onDoubleClickCapture\":case\"onMouseDown\":case\"onMouseDownCapture\":case\"onMouseMove\":case\"onMouseMoveCapture\":case\"onMouseUp\":case\"onMouseUpCapture\":case\"onMouseEnter\":(r=!r.disabled)||(e=e.type,r=!(\"button\"===e||\"input\"===e||\"select\"===e||\"textarea\"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&\"function\"!==typeof n)throw Error(a(231,t,typeof n));return n}var He=!1;if(f)try{var Ye={};Object.defineProperty(Ye,\"passive\",{get:function(){He=!0}}),window.addEventListener(\"test\",Ye,Ye),window.removeEventListener(\"test\",Ye,Ye)}catch(Bs){He=!1}function Xe(e,t,n,r,o,i,a,c,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(l){this.onError(l)}}var qe=!1,Ke=null,Ze=!1,$e=null,Qe={onError:function(e){qe=!0,Ke=e}};function Je(e,t,n,r,o,i,a,c,u){qe=!1,Ke=null,Xe.apply(Qe,arguments)}function et(e,t,n,r,o,i,c,u,s){if(Je.apply(this,arguments),qe){if(!qe)throw Error(a(198));var l=Ke;qe=!1,Ke=null,Ze||(Ze=!0,$e=l)}}function tt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{t=e,0!==(1026&t.flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function nt(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(e=e.alternate,null!==e&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function rt(e){if(tt(e)!==e)throw Error(a(188))}function ot(e){var t=e.alternate;if(!t){if(t=tt(e),null===t)throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(r=o.return,null!==r){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return rt(o),e;if(i===r)return rt(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var c=!1,u=o.child;u;){if(u===n){c=!0,n=o,r=i;break}if(u===r){c=!0,r=o,n=i;break}u=u.sibling}if(!c){for(u=i.child;u;){if(u===n){c=!0,n=i,r=o;break}if(u===r){c=!0,r=i,n=o;break}u=u.sibling}if(!c)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}function it(e){if(e=ot(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function at(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var ct,ut,st,lt,ft=!1,dt=[],ht=null,pt=null,vt=null,gt=new Map,mt=new Map,yt=[],bt=\"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit\".split(\" \");function xt(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function wt(e,t){switch(e){case\"focusin\":case\"focusout\":ht=null;break;case\"dragenter\":case\"dragleave\":pt=null;break;case\"mouseover\":case\"mouseout\":vt=null;break;case\"pointerover\":case\"pointerout\":gt.delete(t.pointerId);break;case\"gotpointercapture\":case\"lostpointercapture\":mt.delete(t.pointerId)}}function Ot(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=xt(t,n,r,o,i),null!==t&&(t=ko(t),null!==t&&ut(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Et(e,t,n,r,o){switch(t){case\"focusin\":return ht=Ot(ht,e,t,n,r,o),!0;case\"dragenter\":return pt=Ot(pt,e,t,n,r,o),!0;case\"mouseover\":return vt=Ot(vt,e,t,n,r,o),!0;case\"pointerover\":var i=o.pointerId;return gt.set(i,Ot(gt.get(i)||null,e,t,n,r,o)),!0;case\"gotpointercapture\":return i=o.pointerId,mt.set(i,Ot(mt.get(i)||null,e,t,n,r,o)),!0}return!1}function St(e){var t=jo(e.target);if(null!==t){var n=tt(t);if(null!==n)if(t=n.tag,13===t){if(t=nt(n),null!==t)return e.blockedOn=t,void lt(e.lanePriority,(function(){i.unstable_runWithPriority(e.priority,(function(){st(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function jt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=fn(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return t=ko(n),null!==t&&ut(t),e.blockedOn=n,!1;t.shift()}return!0}function kt(e,t,n){jt(e)&&n.delete(t)}function _t(){for(ft=!1;0<dt.length;){var e=dt[0];if(null!==e.blockedOn){e=ko(e.blockedOn),null!==e&&ct(e);break}for(var t=e.targetContainers;0<t.length;){var n=fn(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&dt.shift()}null!==ht&&jt(ht)&&(ht=null),null!==pt&&jt(pt)&&(pt=null),null!==vt&&jt(vt)&&(vt=null),gt.forEach(kt),mt.forEach(kt)}function Ct(e,t){e.blockedOn===t&&(e.blockedOn=null,ft||(ft=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,_t)))}function Mt(e){function t(t){return Ct(t,e)}if(0<dt.length){Ct(dt[0],e);for(var n=1;n<dt.length;n++){var r=dt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==ht&&Ct(ht,e),null!==pt&&Ct(pt,e),null!==vt&&Ct(vt,e),gt.forEach(t),mt.forEach(t),n=0;n<yt.length;n++)r=yt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<yt.length&&(n=yt[0],null===n.blockedOn);)St(n),null===n.blockedOn&&yt.shift()}function At(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[\"Webkit\"+e]=\"webkit\"+t,n[\"Moz\"+e]=\"moz\"+t,n}var Nt={animationend:At(\"Animation\",\"AnimationEnd\"),animationiteration:At(\"Animation\",\"AnimationIteration\"),animationstart:At(\"Animation\",\"AnimationStart\"),transitionend:At(\"Transition\",\"TransitionEnd\")},Tt={},It={};function Pt(e){if(Tt[e])return Tt[e];if(!Nt[e])return e;var t,n=Nt[e];for(t in n)if(n.hasOwnProperty(t)&&t in It)return Tt[e]=n[t];return e}f&&(It=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete Nt.animationend.animation,delete Nt.animationiteration.animation,delete Nt.animationstart.animation),\"TransitionEvent\"in window||delete Nt.transitionend.transition);var Lt=Pt(\"animationend\"),Dt=Pt(\"animationiteration\"),Rt=Pt(\"animationstart\"),Ft=Pt(\"transitionend\"),Bt=new Map,zt=new Map,Ut=[\"abort\",\"abort\",Lt,\"animationEnd\",Dt,\"animationIteration\",Rt,\"animationStart\",\"canplay\",\"canPlay\",\"canplaythrough\",\"canPlayThrough\",\"durationchange\",\"durationChange\",\"emptied\",\"emptied\",\"encrypted\",\"encrypted\",\"ended\",\"ended\",\"error\",\"error\",\"gotpointercapture\",\"gotPointerCapture\",\"load\",\"load\",\"loadeddata\",\"loadedData\",\"loadedmetadata\",\"loadedMetadata\",\"loadstart\",\"loadStart\",\"lostpointercapture\",\"lostPointerCapture\",\"playing\",\"playing\",\"progress\",\"progress\",\"seeking\",\"seeking\",\"stalled\",\"stalled\",\"suspend\",\"suspend\",\"timeupdate\",\"timeUpdate\",Ft,\"transitionEnd\",\"waiting\",\"waiting\"];function Gt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o=\"on\"+(o[0].toUpperCase()+o.slice(1)),zt.set(r,t),Bt.set(r,o),s(o,[r])}}var Vt=i.unstable_now;Vt();var Wt=8;function Ht(e){if(0!==(1&e))return Wt=15,1;if(0!==(2&e))return Wt=14,2;if(0!==(4&e))return Wt=13,4;var t=24&e;return 0!==t?(Wt=12,t):0!==(32&e)?(Wt=11,32):(t=192&e,0!==t?(Wt=10,t):0!==(256&e)?(Wt=9,256):(t=3584&e,0!==t?(Wt=8,t):0!==(4096&e)?(Wt=7,4096):(t=4186112&e,0!==t?(Wt=6,t):(t=62914560&e,0!==t?(Wt=5,t):67108864&e?(Wt=4,67108864):0!==(134217728&e)?(Wt=3,134217728):(t=805306368&e,0!==t?(Wt=2,t):0!==(1073741824&e)?(Wt=1,1073741824):(Wt=8,e))))))}function Yt(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function Xt(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}function qt(e,t){var n=e.pendingLanes;if(0===n)return Wt=0;var r=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,c=e.pingedLanes;if(0!==i)r=i,o=Wt=15;else if(i=134217727&n,0!==i){var u=i&~a;0!==u?(r=Ht(u),o=Wt):(c&=i,0!==c&&(r=Ht(c),o=Wt))}else i=n&~a,0!==i?(r=Ht(i),o=Wt):0!==c&&(r=Ht(c),o=Wt);if(0===r)return 0;if(r=31-en(r),r=n&((0>r?0:1<<r)<<1)-1,0!==t&&t!==r&&0===(t&a)){if(Ht(t),o<=Wt)return t;Wt=o}if(t=e.entangledLanes,0!==t)for(e=e.entanglements,t&=r;0<t;)n=31-en(t),o=1<<n,r|=e[n],t&=~o;return r}function Kt(e){return e=-1073741825&e.pendingLanes,0!==e?e:1073741824&e?1073741824:0}function Zt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=$t(24&~t),0===e?Zt(10,t):e;case 10:return e=$t(192&~t),0===e?Zt(8,t):e;case 8:return e=$t(3584&~t),0===e&&(e=$t(4186112&~t),0===e&&(e=512)),e;case 2:return t=$t(805306368&~t),0===t&&(t=268435456),t}throw Error(a(358,e))}function $t(e){return e&-e}function Qt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Jt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,e=e.eventTimes,t=31-en(t),e[t]=n}var en=Math.clz32?Math.clz32:rn,tn=Math.log,nn=Math.LN2;function rn(e){return 0===e?32:31-(tn(e)/nn|0)|0}var on=i.unstable_UserBlockingPriority,an=i.unstable_runWithPriority,cn=!0;function un(e,t,n,r){ze||Fe();var o=ln,i=ze;ze=!0;try{Re(o,e,t,n,r)}finally{(ze=i)||Ge()}}function sn(e,t,n,r){an(on,ln.bind(null,e,t,n,r))}function ln(e,t,n,r){var o;if(cn)if((o=0===(4&t))&&0<dt.length&&-1<bt.indexOf(e))e=xt(null,e,t,n,r),dt.push(e);else{var i=fn(e,t,n,r);if(null===i)o&&wt(e,r);else{if(o){if(-1<bt.indexOf(e))return e=xt(i,e,t,n,r),void dt.push(e);if(Et(i,e,t,n,r))return;wt(e,r)}no(e,t,r,null,n)}}}function fn(e,t,n,r){var o=Me(r);if(o=jo(o),null!==o){var i=tt(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(o=nt(i),null!==o)return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return no(e,t,r,o,n),null}var dn=null,hn=null,pn=null;function vn(){if(pn)return pn;var e,t,n=hn,r=n.length,o=\"value\"in dn?dn.value:dn.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return pn=o.slice(e,1<t?1-t:void 0)}function gn(e){var t=e.keyCode;return\"charCode\"in e?(e=e.charCode,0===e&&13===t&&(e=13)):e=t,10===e&&(e=13),32<=e||13===e?e:0}function mn(){return!0}function yn(){return!1}function bn(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?mn:yn,this.isPropagationStopped=yn,this}return o(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():\"unknown\"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=mn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():\"unknown\"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=mn)},persist:function(){},isPersistent:mn}),t}var xn,wn,On,En={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Sn=bn(En),jn=o({},En,{view:0,detail:0}),kn=bn(jn),_n=o({},jn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return\"movementX\"in e?e.movementX:(e!==On&&(On&&\"mousemove\"===e.type?(xn=e.screenX-On.screenX,wn=e.screenY-On.screenY):wn=xn=0,On=e),xn)},movementY:function(e){return\"movementY\"in e?e.movementY:wn}}),Cn=bn(_n),Mn=o({},_n,{dataTransfer:0}),An=bn(Mn),Nn=o({},jn,{relatedTarget:0}),Tn=bn(Nn),In=o({},En,{animationName:0,elapsedTime:0,pseudoElement:0}),Pn=bn(In),Ln=o({},En,{clipboardData:function(e){return\"clipboardData\"in e?e.clipboardData:window.clipboardData}}),Dn=bn(Ln),Rn=o({},En,{data:0}),Fn=bn(Rn),Bn={Esc:\"Escape\",Spacebar:\" \",Left:\"ArrowLeft\",Up:\"ArrowUp\",Right:\"ArrowRight\",Down:\"ArrowDown\",Del:\"Delete\",Win:\"OS\",Menu:\"ContextMenu\",Apps:\"ContextMenu\",Scroll:\"ScrollLock\",MozPrintableKey:\"Unidentified\"},zn={8:\"Backspace\",9:\"Tab\",12:\"Clear\",13:\"Enter\",16:\"Shift\",17:\"Control\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Escape\",32:\" \",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"ArrowLeft\",38:\"ArrowUp\",39:\"ArrowRight\",40:\"ArrowDown\",45:\"Insert\",46:\"Delete\",112:\"F1\",113:\"F2\",114:\"F3\",115:\"F4\",116:\"F5\",117:\"F6\",118:\"F7\",119:\"F8\",120:\"F9\",121:\"F10\",122:\"F11\",123:\"F12\",144:\"NumLock\",145:\"ScrollLock\",224:\"Meta\"},Un={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"};function Gn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Un[e])&&!!t[e]}function Vn(){return Gn}var Wn=o({},jn,{key:function(e){if(e.key){var t=Bn[e.key]||e.key;if(\"Unidentified\"!==t)return t}return\"keypress\"===e.type?(e=gn(e),13===e?\"Enter\":String.fromCharCode(e)):\"keydown\"===e.type||\"keyup\"===e.type?zn[e.keyCode]||\"Unidentified\":\"\"},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vn,charCode:function(e){return\"keypress\"===e.type?gn(e):0},keyCode:function(e){return\"keydown\"===e.type||\"keyup\"===e.type?e.keyCode:0},which:function(e){return\"keypress\"===e.type?gn(e):\"keydown\"===e.type||\"keyup\"===e.type?e.keyCode:0}}),Hn=bn(Wn),Yn=o({},_n,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xn=bn(Yn),qn=o({},jn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vn}),Kn=bn(qn),Zn=o({},En,{propertyName:0,elapsedTime:0,pseudoElement:0}),$n=bn(Zn),Qn=o({},_n,{deltaX:function(e){return\"deltaX\"in e?e.deltaX:\"wheelDeltaX\"in e?-e.wheelDeltaX:0},deltaY:function(e){return\"deltaY\"in e?e.deltaY:\"wheelDeltaY\"in e?-e.wheelDeltaY:\"wheelDelta\"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Jn=bn(Qn),er=[9,13,27,32],tr=f&&\"CompositionEvent\"in window,nr=null;f&&\"documentMode\"in document&&(nr=document.documentMode);var rr=f&&\"TextEvent\"in window&&!nr,or=f&&(!tr||nr&&8<nr&&11>=nr),ir=String.fromCharCode(32),ar=!1;function cr(e,t){switch(e){case\"keyup\":return-1!==er.indexOf(t.keyCode);case\"keydown\":return 229!==t.keyCode;case\"keypress\":case\"mousedown\":case\"focusout\":return!0;default:return!1}}function ur(e){return e=e.detail,\"object\"===typeof e&&\"data\"in e?e.data:null}var sr=!1;function lr(e,t){switch(e){case\"compositionend\":return ur(t);case\"keypress\":return 32!==t.which?null:(ar=!0,ir);case\"textInput\":return e=t.data,e===ir&&ar?null:e;default:return null}}function fr(e,t){if(sr)return\"compositionend\"===e||!tr&&cr(e,t)?(e=vn(),pn=hn=dn=null,sr=!1,e):null;switch(e){case\"paste\":return null;case\"keypress\":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case\"compositionend\":return or&&\"ko\"!==t.locale?null:t.data;default:return null}}var dr={color:!0,date:!0,datetime:!0,\"datetime-local\":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return\"input\"===t?!!dr[e.type]:\"textarea\"===t}function pr(e,t,n,r){Pe(r),t=oo(t,\"onChange\"),0<t.length&&(n=new Sn(\"onChange\",\"change\",null,n,r),e.push({event:n,listeners:t}))}var vr=null,gr=null;function mr(e){Zr(e,0)}function yr(e){var t=_o(e);if(te(t))return e}function br(e,t){if(\"change\"===e)return t}var xr=!1;if(f){var wr;if(f){var Or=\"oninput\"in document;if(!Or){var Er=document.createElement(\"div\");Er.setAttribute(\"oninput\",\"return;\"),Or=\"function\"===typeof Er.oninput}wr=Or}else wr=!1;xr=wr&&(!document.documentMode||9<document.documentMode)}function Sr(){vr&&(vr.detachEvent(\"onpropertychange\",jr),gr=vr=null)}function jr(e){if(\"value\"===e.propertyName&&yr(gr)){var t=[];if(pr(t,gr,e,Me(e)),e=mr,ze)e(t);else{ze=!0;try{De(e,t)}finally{ze=!1,Ge()}}}}function kr(e,t,n){\"focusin\"===e?(Sr(),vr=t,gr=n,vr.attachEvent(\"onpropertychange\",jr)):\"focusout\"===e&&Sr()}function _r(e){if(\"selectionchange\"===e||\"keyup\"===e||\"keydown\"===e)return yr(gr)}function Cr(e,t){if(\"click\"===e)return yr(t)}function Mr(e,t){if(\"input\"===e||\"change\"===e)return yr(t)}function Ar(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t}var Nr=\"function\"===typeof Object.is?Object.is:Ar,Tr=Object.prototype.hasOwnProperty;function Ir(e,t){if(Nr(e,t))return!0;if(\"object\"!==typeof e||null===e||\"object\"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Tr.call(t,n[r])||!Nr(e[n[r]],t[n[r]]))return!1;return!0}function Pr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lr(e,t){var n,r=Pr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Pr(r)}}function Dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Dr(e,t.parentNode):\"contains\"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Rr(){for(var e=window,t=ne();t instanceof e.HTMLIFrameElement;){try{var n=\"string\"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;e=t.contentWindow,t=ne(e.document)}return t}function Fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(\"input\"===t&&(\"text\"===e.type||\"search\"===e.type||\"tel\"===e.type||\"url\"===e.type||\"password\"===e.type)||\"textarea\"===t||\"true\"===e.contentEditable)}var Br=f&&\"documentMode\"in document&&11>=document.documentMode,zr=null,Ur=null,Gr=null,Vr=!1;function Wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Vr||null==zr||zr!==ne(r)||(r=zr,\"selectionStart\"in r&&Fr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Gr&&Ir(Gr,r)||(Gr=r,r=oo(Ur,\"onSelect\"),0<r.length&&(t=new Sn(\"onSelect\",\"select\",null,t,n),e.push({event:t,listeners:r}),t.target=zr)))}Gt(\"cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange\".split(\" \"),0),Gt(\"drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel\".split(\" \"),1),Gt(Ut,2);for(var Hr=\"change selectionchange textInput compositionstart compositionend compositionupdate\".split(\" \"),Yr=0;Yr<Hr.length;Yr++)zt.set(Hr[Yr],0);l(\"onMouseEnter\",[\"mouseout\",\"mouseover\"]),l(\"onMouseLeave\",[\"mouseout\",\"mouseover\"]),l(\"onPointerEnter\",[\"pointerout\",\"pointerover\"]),l(\"onPointerLeave\",[\"pointerout\",\"pointerover\"]),s(\"onChange\",\"change click focusin focusout input keydown keyup selectionchange\".split(\" \")),s(\"onSelect\",\"focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange\".split(\" \")),s(\"onBeforeInput\",[\"compositionend\",\"keypress\",\"textInput\",\"paste\"]),s(\"onCompositionEnd\",\"compositionend focusout keydown keypress keyup mousedown\".split(\" \")),s(\"onCompositionStart\",\"compositionstart focusout keydown keypress keyup mousedown\".split(\" \")),s(\"onCompositionUpdate\",\"compositionupdate focusout keydown keypress keyup mousedown\".split(\" \"));var Xr=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),qr=new Set(\"cancel close invalid load scroll toggle\".split(\" \").concat(Xr));function Kr(e,t,n){var r=e.type||\"unknown-event\";e.currentTarget=n,et(r,t,void 0,e),e.currentTarget=null}function Zr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var c=r[a],u=c.instance,s=c.currentTarget;if(c=c.listener,u!==i&&o.isPropagationStopped())break e;Kr(o,c,s),i=u}else for(a=0;a<r.length;a++){if(c=r[a],u=c.instance,s=c.currentTarget,c=c.listener,u!==i&&o.isPropagationStopped())break e;Kr(o,c,s),i=u}}}if(Ze)throw e=$e,Ze=!1,$e=null,e}function $r(e,t){var n=Mo(t),r=e+\"__bubble\";n.has(r)||(to(t,e,2,!1),n.add(r))}var Qr=\"_reactListening\"+Math.random().toString(36).slice(2);function Jr(e){e[Qr]||(e[Qr]=!0,c.forEach((function(t){qr.has(t)||eo(t,!1,e,null),eo(t,!0,e,null)})))}function eo(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if(\"selectionchange\"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&qr.has(e)){if(\"scroll\"!==e)return;o|=2,i=r}var a=Mo(i),c=e+\"__\"+(t?\"capture\":\"bubble\");a.has(c)||(t&&(o|=4),to(i,e,o,t),a.add(c))}function to(e,t,n,r){var o=zt.get(t);switch(void 0===o?2:o){case 0:o=un;break;case 1:o=sn;break;default:o=ln}n=o.bind(null,t,n,e),o=void 0,!He||\"touchstart\"!==t&&\"touchmove\"!==t&&\"wheel\"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function no(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var c=r.stateNode.containerInfo;if(c===o||8===c.nodeType&&c.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var u=a.tag;if((3===u||4===u)&&(u=a.stateNode.containerInfo,u===o||8===u.nodeType&&u.parentNode===o))return;a=a.return}for(;null!==c;){if(a=jo(c),null===a)return;if(u=a.tag,5===u||6===u){r=i=a;continue e}c=c.parentNode}}r=r.return}Ve((function(){var r=i,o=Me(n),a=[];e:{var c=Bt.get(e);if(void 0!==c){var u=Sn,s=e;switch(e){case\"keypress\":if(0===gn(n))break e;case\"keydown\":case\"keyup\":u=Hn;break;case\"focusin\":s=\"focus\",u=Tn;break;case\"focusout\":s=\"blur\",u=Tn;break;case\"beforeblur\":case\"afterblur\":u=Tn;break;case\"click\":if(2===n.button)break e;case\"auxclick\":case\"dblclick\":case\"mousedown\":case\"mousemove\":case\"mouseup\":case\"mouseout\":case\"mouseover\":case\"contextmenu\":u=Cn;break;case\"drag\":case\"dragend\":case\"dragenter\":case\"dragexit\":case\"dragleave\":case\"dragover\":case\"dragstart\":case\"drop\":u=An;break;case\"touchcancel\":case\"touchend\":case\"touchmove\":case\"touchstart\":u=Kn;break;case Lt:case Dt:case Rt:u=Pn;break;case Ft:u=$n;break;case\"scroll\":u=kn;break;case\"wheel\":u=Jn;break;case\"copy\":case\"cut\":case\"paste\":u=Dn;break;case\"gotpointercapture\":case\"lostpointercapture\":case\"pointercancel\":case\"pointerdown\":case\"pointermove\":case\"pointerout\":case\"pointerover\":case\"pointerup\":u=Xn}var l=0!==(4&t),f=!l&&\"scroll\"===e,d=l?null!==c?c+\"Capture\":null:c;l=[];for(var h,p=r;null!==p;){h=p;var v=h.stateNode;if(5===h.tag&&null!==v&&(h=v,null!==d&&(v=We(p,d),null!=v&&l.push(ro(p,v,h)))),f)break;p=p.return}0<l.length&&(c=new u(c,s,null,n,o),a.push({event:c,listeners:l}))}}if(0===(7&t)){if(c=\"mouseover\"===e||\"pointerover\"===e,u=\"mouseout\"===e||\"pointerout\"===e,(!c||0!==(16&t)||!(s=n.relatedTarget||n.fromElement)||!jo(s)&&!s[Eo])&&(u||c)&&(c=o.window===o?o:(c=o.ownerDocument)?c.defaultView||c.parentWindow:window,u?(s=n.relatedTarget||n.toElement,u=r,s=s?jo(s):null,null!==s&&(f=tt(s),s!==f||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(l=Cn,v=\"onMouseLeave\",d=\"onMouseEnter\",p=\"mouse\",\"pointerout\"!==e&&\"pointerover\"!==e||(l=Xn,v=\"onPointerLeave\",d=\"onPointerEnter\",p=\"pointer\"),f=null==u?c:_o(u),h=null==s?c:_o(s),c=new l(v,p+\"leave\",u,n,o),c.target=f,c.relatedTarget=h,v=null,jo(o)===r&&(l=new l(d,p+\"enter\",s,n,o),l.target=h,l.relatedTarget=f,v=l),f=v,u&&s)e:{for(l=u,d=s,p=0,h=l;h;h=io(h))p++;for(h=0,v=d;v;v=io(v))h++;for(;0<p-h;)l=io(l),p--;for(;0<h-p;)d=io(d),h--;for(;p--;){if(l===d||null!==d&&l===d.alternate)break e;l=io(l),d=io(d)}l=null}else l=null;null!==u&&ao(a,c,u,l,!1),null!==s&&null!==f&&ao(a,f,s,l,!0)}if(c=r?_o(r):window,u=c.nodeName&&c.nodeName.toLowerCase(),\"select\"===u||\"input\"===u&&\"file\"===c.type)var g=br;else if(hr(c))if(xr)g=Mr;else{g=_r;var m=kr}else(u=c.nodeName)&&\"input\"===u.toLowerCase()&&(\"checkbox\"===c.type||\"radio\"===c.type)&&(g=Cr);switch(g&&(g=g(e,r))?pr(a,g,n,o):(m&&m(e,c,r),\"focusout\"===e&&(m=c._wrapperState)&&m.controlled&&\"number\"===c.type&&ue(c,\"number\",c.value)),m=r?_o(r):window,e){case\"focusin\":(hr(m)||\"true\"===m.contentEditable)&&(zr=m,Ur=r,Gr=null);break;case\"focusout\":Gr=Ur=zr=null;break;case\"mousedown\":Vr=!0;break;case\"contextmenu\":case\"mouseup\":case\"dragend\":Vr=!1,Wr(a,n,o);break;case\"selectionchange\":if(Br)break;case\"keydown\":case\"keyup\":Wr(a,n,o)}var y;if(tr)e:{switch(e){case\"compositionstart\":var b=\"onCompositionStart\";break e;case\"compositionend\":b=\"onCompositionEnd\";break e;case\"compositionupdate\":b=\"onCompositionUpdate\";break e}b=void 0}else sr?cr(e,n)&&(b=\"onCompositionEnd\"):\"keydown\"===e&&229===n.keyCode&&(b=\"onCompositionStart\");b&&(or&&\"ko\"!==n.locale&&(sr||\"onCompositionStart\"!==b?\"onCompositionEnd\"===b&&sr&&(y=vn()):(dn=o,hn=\"value\"in dn?dn.value:dn.textContent,sr=!0)),m=oo(r,b),0<m.length&&(b=new Fn(b,e,null,n,o),a.push({event:b,listeners:m}),y?b.data=y:(y=ur(n),null!==y&&(b.data=y)))),(y=rr?lr(e,n):fr(e,n))&&(r=oo(r,\"onBeforeInput\"),0<r.length&&(o=new Fn(\"onBeforeInput\",\"beforeinput\",null,n,o),a.push({event:o,listeners:r}),o.data=y))}Zr(a,t)}))}function ro(e,t,n){return{instance:e,listener:t,currentTarget:n}}function oo(e,t){for(var n=t+\"Capture\",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,i=We(e,n),null!=i&&r.unshift(ro(e,i,o)),i=We(e,t),null!=i&&r.push(ro(e,i,o))),e=e.return}return r}function io(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function ao(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var c=n,u=c.alternate,s=c.stateNode;if(null!==u&&u===r)break;5===c.tag&&null!==s&&(c=s,o?(u=We(n,i),null!=u&&a.unshift(ro(n,u,c))):o||(u=We(n,i),null!=u&&a.push(ro(n,u,c)))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function co(){}var uo=null,so=null;function lo(e,t){switch(e){case\"button\":case\"input\":case\"select\":case\"textarea\":return!!t.autoFocus}return!1}function fo(e,t){return\"textarea\"===e||\"option\"===e||\"noscript\"===e||\"string\"===typeof t.children||\"number\"===typeof t.children||\"object\"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ho=\"function\"===typeof setTimeout?setTimeout:void 0,po=\"function\"===typeof clearTimeout?clearTimeout:void 0;function vo(e){1===e.nodeType?e.textContent=\"\":9===e.nodeType&&(e=e.body,null!=e&&(e.textContent=\"\"))}function go(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function mo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(\"$\"===n||\"$!\"===n||\"$?\"===n){if(0===t)return e;t--}else\"/$\"===n&&t++}e=e.previousSibling}return null}var yo=0;function bo(e){return{$$typeof:F,toString:e,valueOf:e}}var xo=Math.random().toString(36).slice(2),wo=\"__reactFiber$\"+xo,Oo=\"__reactProps$\"+xo,Eo=\"__reactContainer$\"+xo,So=\"__reactEvents$\"+xo;function jo(e){var t=e[wo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Eo]||n[wo]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=mo(e);null!==e;){if(n=e[wo])return n;e=mo(e)}return t}e=n,n=e.parentNode}return null}function ko(e){return e=e[wo]||e[Eo],!e||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function _o(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Co(e){return e[Oo]||null}function Mo(e){var t=e[So];return void 0===t&&(t=e[So]=new Set),t}var Ao=[],No=-1;function To(e){return{current:e}}function Io(e){0>No||(e.current=Ao[No],Ao[No]=null,No--)}function Po(e,t){No++,Ao[No]=e.current,e.current=t}var Lo={},Do=To(Lo),Ro=To(!1),Fo=Lo;function Bo(e,t){var n=e.type.contextTypes;if(!n)return Lo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function zo(e){return e=e.childContextTypes,null!==e&&void 0!==e}function Uo(){Io(Ro),Io(Do)}function Go(e,t,n){if(Do.current!==Lo)throw Error(a(168));Po(Do,t),Po(Ro,n)}function Vo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,\"function\"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext(),r)if(!(i in e))throw Error(a(108,Z(t)||\"Unknown\",i));return o({},n,r)}function Wo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Lo,Fo=Do.current,Po(Do,e),Po(Ro,Ro.current),!0}function Ho(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Vo(e,t,Fo),r.__reactInternalMemoizedMergedChildContext=e,Io(Ro),Io(Do),Po(Do,e)):Io(Ro),Po(Ro,n)}var Yo=null,Xo=null,qo=i.unstable_runWithPriority,Ko=i.unstable_scheduleCallback,Zo=i.unstable_cancelCallback,$o=i.unstable_shouldYield,Qo=i.unstable_requestPaint,Jo=i.unstable_now,ei=i.unstable_getCurrentPriorityLevel,ti=i.unstable_ImmediatePriority,ni=i.unstable_UserBlockingPriority,ri=i.unstable_NormalPriority,oi=i.unstable_LowPriority,ii=i.unstable_IdlePriority,ai={},ci=void 0!==Qo?Qo:function(){},ui=null,si=null,li=!1,fi=Jo(),di=1e4>fi?Jo:function(){return Jo()-fi};function hi(){switch(ei()){case ti:return 99;case ni:return 98;case ri:return 97;case oi:return 96;case ii:return 95;default:throw Error(a(332))}}function pi(e){switch(e){case 99:return ti;case 98:return ni;case 97:return ri;case 96:return oi;case 95:return ii;default:throw Error(a(332))}}function vi(e,t){return e=pi(e),qo(e,t)}function gi(e,t,n){return e=pi(e),Ko(e,t,n)}function mi(){if(null!==si){var e=si;si=null,Zo(e)}yi()}function yi(){if(!li&&null!==ui){li=!0;var e=0;try{var t=ui;vi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),ui=null}catch(n){throw null!==ui&&(ui=ui.slice(e+1)),Ko(ti,mi),n}finally{li=!1}}}var bi=S.ReactCurrentBatchConfig;function xi(e,t){if(e&&e.defaultProps){for(var n in t=o({},t),e=e.defaultProps,e)void 0===t[n]&&(t[n]=e[n]);return t}return t}var wi=To(null),Oi=null,Ei=null,Si=null;function ji(){Si=Ei=Oi=null}function ki(e){var t=wi.current;Io(wi),e.type._context._currentValue=t}function _i(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function Ci(e,t){Oi=e,Si=Ei=null,e=e.dependencies,null!==e&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ic=!0),e.firstContext=null)}function Mi(e,t){if(Si!==e&&!1!==t&&0!==t)if(\"number\"===typeof t&&1073741823!==t||(Si=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Ei){if(null===Oi)throw Error(a(308));Ei=t,Oi.dependencies={lanes:0,firstContext:t,responders:null}}else Ei=Ei.next=t;return e._currentValue}var Ai=!1;function Ni(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function Ti(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ii(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Pi(e,t){if(e=e.updateQueue,null!==e){e=e.shared;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function Li(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,null!==n){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}e=n.lastBaseUpdate,null===e?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Di(e,t,n,r){var i=e.updateQueue;Ai=!1;var a=i.firstBaseUpdate,c=i.lastBaseUpdate,u=i.shared.pending;if(null!==u){i.shared.pending=null;var s=u,l=s.next;s.next=null,null===c?a=l:c.next=l,c=s;var f=e.alternate;if(null!==f){f=f.updateQueue;var d=f.lastBaseUpdate;d!==c&&(null===d?f.firstBaseUpdate=l:d.next=l,f.lastBaseUpdate=s)}}if(null!==a){d=i.baseState,c=0,f=l=s=null;do{u=a.lane;var h=a.eventTime;if((r&u)===u){null!==f&&(f=f.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var p=e,v=a;switch(u=t,h=n,v.tag){case 1:if(p=v.payload,\"function\"===typeof p){d=p.call(h,d,u);break e}d=p;break e;case 3:p.flags=-4097&p.flags|64;case 0:if(p=v.payload,u=\"function\"===typeof p?p.call(h,d,u):p,null===u||void 0===u)break e;d=o({},d,u);break e;case 2:Ai=!0}}null!==a.callback&&(e.flags|=32,u=i.effects,null===u?i.effects=[a]:u.push(a))}else h={eventTime:h,lane:u,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===f?(l=f=h,s=d):f=f.next=h,c|=u;if(a=a.next,null===a){if(u=i.shared.pending,null===u)break;a=u.next,u.next=null,i.lastBaseUpdate=u,i.shared.pending=null}}while(1);null===f&&(s=d),i.baseState=s,i.firstBaseUpdate=l,i.lastBaseUpdate=f,lu|=c,e.lanes=c,e.memoizedState=d}}function Ri(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,\"function\"!==typeof o)throw Error(a(191,o));o.call(r)}}}var Fi=(new r.Component).refs;function Bi(e,t,n,r){t=e.memoizedState,n=n(r,t),n=null===n||void 0===n?t:o({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var zi={isMounted:function(e){return!!(e=e._reactInternals)&&tt(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Lu(),o=Du(e),i=Ii(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),Pi(e,i),Ru(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Lu(),o=Du(e),i=Ii(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),Pi(e,i),Ru(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Lu(),r=Du(e),o=Ii(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),Pi(e,o),Ru(e,r,n)}};function Ui(e,t,n,r,o,i,a){return e=e.stateNode,\"function\"===typeof e.shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Ir(n,r)||!Ir(o,i))}function Gi(e,t,n){var r=!1,o=Lo,i=t.contextType;return\"object\"===typeof i&&null!==i?i=Mi(i):(o=zo(t)?Fo:Do.current,r=t.contextTypes,i=(r=null!==r&&void 0!==r)?Bo(e,o):Lo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=zi,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Vi(e,t,n,r){e=t.state,\"function\"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),\"function\"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&zi.enqueueReplaceState(t,t.state,null)}function Wi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Fi,Ni(e);var i=t.contextType;\"object\"===typeof i&&null!==i?o.context=Mi(i):(i=zo(t)?Fo:Do.current,o.context=Bo(e,i)),Di(e,n,o,r),o.state=e.memoizedState,i=t.getDerivedStateFromProps,\"function\"===typeof i&&(Bi(e,t,i,n),o.state=e.memoizedState),\"function\"===typeof t.getDerivedStateFromProps||\"function\"===typeof o.getSnapshotBeforeUpdate||\"function\"!==typeof o.UNSAFE_componentWillMount&&\"function\"!==typeof o.componentWillMount||(t=o.state,\"function\"===typeof o.componentWillMount&&o.componentWillMount(),\"function\"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&zi.enqueueReplaceState(o,o.state,null),Di(e,n,o,r),o.state=e.memoizedState),\"function\"===typeof o.componentDidMount&&(e.flags|=4)}var Hi=Array.isArray;function Yi(e,t,n){if(e=n.ref,null!==e&&\"function\"!==typeof e&&\"object\"!==typeof e){if(n._owner){if(n=n._owner,n){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=\"\"+e;return null!==t&&null!==t.ref&&\"function\"===typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===Fi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if(\"string\"!==typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Xi(e,t){if(\"textarea\"!==e.type)throw Error(a(31,\"[object Object]\"===Object.prototype.toString.call(t)?\"object with keys {\"+Object.keys(t).join(\", \")+\"}\":t))}function qi(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return e=ms(e,t),e.index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?(r=t.alternate,null!==r?(r=r.index,r<n?(t.flags=2,n):r):(t.flags=2,n)):n}function c(t){return e&&null===t.alternate&&(t.flags=2),t}function u(e,t,n,r){return null===t||6!==t.tag?(t=ws(n,e.mode,r),t.return=e,t):(t=o(t,n),t.return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?(r=o(t,n.props),r.ref=Yi(e,t,n),r.return=e,r):(r=ys(n.type,n.key,n.props,null,e.mode,r),r.ref=Yi(e,t,n),r.return=e,r)}function l(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Os(n,e.mode,r),t.return=e,t):(t=o(t,n.children||[]),t.return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?(t=bs(n,e.mode,r,i),t.return=e,t):(t=o(t,n),t.return=e,t)}function d(e,t,n){if(\"string\"===typeof t||\"number\"===typeof t)return t=ws(\"\"+t,e.mode,n),t.return=e,t;if(\"object\"===typeof t&&null!==t){switch(t.$$typeof){case j:return n=ys(t.type,t.key,t.props,null,e.mode,n),n.ref=Yi(e,null,t),n.return=e,n;case k:return t=Os(t,e.mode,n),t.return=e,t}if(Hi(t)||H(t))return t=bs(t,e.mode,n,null),t.return=e,t;Xi(e,t)}return null}function h(e,t,n,r){var o=null!==t?t.key:null;if(\"string\"===typeof n||\"number\"===typeof n)return null!==o?null:u(e,t,\"\"+n,r);if(\"object\"===typeof n&&null!==n){switch(n.$$typeof){case j:return n.key===o?n.type===_?f(e,t,n.props.children,r,o):s(e,t,n,r):null;case k:return n.key===o?l(e,t,n,r):null}if(Hi(n)||H(n))return null!==o?null:f(e,t,n,r,null);Xi(e,n)}return null}function p(e,t,n,r,o){if(\"string\"===typeof r||\"number\"===typeof r)return e=e.get(n)||null,u(t,e,\"\"+r,o);if(\"object\"===typeof r&&null!==r){switch(r.$$typeof){case j:return e=e.get(null===r.key?n:r.key)||null,r.type===_?f(t,e,r.props.children,o,r.key):s(t,e,r,o);case k:return e=e.get(null===r.key?n:r.key)||null,l(t,e,r,o)}if(Hi(r)||H(r))return e=e.get(n)||null,f(t,e,r,o,null);Xi(t,r)}return null}function v(o,a,c,u){for(var s=null,l=null,f=a,v=a=0,g=null;null!==f&&v<c.length;v++){f.index>v?(g=f,f=null):g=f.sibling;var m=h(o,f,c[v],u);if(null===m){null===f&&(f=g);break}e&&f&&null===m.alternate&&t(o,f),a=i(m,a,v),null===l?s=m:l.sibling=m,l=m,f=g}if(v===c.length)return n(o,f),s;if(null===f){for(;v<c.length;v++)f=d(o,c[v],u),null!==f&&(a=i(f,a,v),null===l?s=f:l.sibling=f,l=f);return s}for(f=r(o,f);v<c.length;v++)g=p(f,o,v,c[v],u),null!==g&&(e&&null!==g.alternate&&f.delete(null===g.key?v:g.key),a=i(g,a,v),null===l?s=g:l.sibling=g,l=g);return e&&f.forEach((function(e){return t(o,e)})),s}function g(o,c,u,s){var l=H(u);if(\"function\"!==typeof l)throw Error(a(150));if(u=l.call(u),null==u)throw Error(a(151));for(var f=l=null,v=c,g=c=0,m=null,y=u.next();null!==v&&!y.done;g++,y=u.next()){v.index>g?(m=v,v=null):m=v.sibling;var b=h(o,v,y.value,s);if(null===b){null===v&&(v=m);break}e&&v&&null===b.alternate&&t(o,v),c=i(b,c,g),null===f?l=b:f.sibling=b,f=b,v=m}if(y.done)return n(o,v),l;if(null===v){for(;!y.done;g++,y=u.next())y=d(o,y.value,s),null!==y&&(c=i(y,c,g),null===f?l=y:f.sibling=y,f=y);return l}for(v=r(o,v);!y.done;g++,y=u.next())y=p(v,o,g,y.value,s),null!==y&&(e&&null!==y.alternate&&v.delete(null===y.key?g:y.key),c=i(y,c,g),null===f?l=y:f.sibling=y,f=y);return e&&v.forEach((function(e){return t(o,e)})),l}return function(e,r,i,u){var s=\"object\"===typeof i&&null!==i&&i.type===_&&null===i.key;s&&(i=i.props.children);var l=\"object\"===typeof i&&null!==i;if(l)switch(i.$$typeof){case j:e:{for(l=i.key,s=r;null!==s;){if(s.key===l){switch(s.tag){case 7:if(i.type===_){n(e,s.sibling),r=o(s,i.props.children),r.return=e,e=r;break e}break;default:if(s.elementType===i.type){n(e,s.sibling),r=o(s,i.props),r.ref=Yi(e,s,i),r.return=e,e=r;break e}}n(e,s);break}t(e,s),s=s.sibling}i.type===_?(r=bs(i.props.children,e.mode,u,i.key),r.return=e,e=r):(u=ys(i.type,i.key,i.props,null,e.mode,u),u.ref=Yi(e,r,i),u.return=e,e=u)}return c(e);case k:e:{for(s=i.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),r=o(r,i.children||[]),r.return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}r=Os(i,e.mode,u),r.return=e,e=r}return c(e)}if(\"string\"===typeof i||\"number\"===typeof i)return i=\"\"+i,null!==r&&6===r.tag?(n(e,r.sibling),r=o(r,i),r.return=e,e=r):(n(e,r),r=ws(i,e.mode,u),r.return=e,e=r),c(e);if(Hi(i))return v(e,r,i,u);if(H(i))return g(e,r,i,u);if(l&&Xi(e,i),\"undefined\"===typeof i&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,Z(e.type)||\"Component\"))}return n(e,r)}}var Ki=qi(!0),Zi=qi(!1),$i={},Qi=To($i),Ji=To($i),ea=To($i);function ta(e){if(e===$i)throw Error(a(174));return e}function na(e,t){switch(Po(ea,t),Po(Ji,e),Po(Qi,$i),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ye(null,\"\");break;default:e=8===e?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ye(t,e)}Io(Qi),Po(Qi,t)}function ra(){Io(Qi),Io(Ji),Io(ea)}function oa(e){ta(ea.current);var t=ta(Qi.current),n=ye(t,e.type);t!==n&&(Po(Ji,e),Po(Qi,n))}function ia(e){Ji.current===e&&(Io(Qi),Io(Ji))}var aa=To(0);function ca(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(n=n.dehydrated,null===n||\"$?\"===n.data||\"$!\"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ua=null,sa=null,la=!1;function fa(e,t){var n=ps(5,null,null,0);n.elementType=\"DELETED\",n.type=\"DELETED\",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function da(e,t){switch(e.tag){case 5:var n=e.type;return t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,null!==t&&(e.stateNode=t,!0);case 6:return t=\"\"===e.pendingProps||3!==t.nodeType?null:t,null!==t&&(e.stateNode=t,!0);case 13:return!1;default:return!1}}function ha(e){if(la){var t=sa;if(t){var n=t;if(!da(e,t)){if(t=go(n.nextSibling),!t||!da(e,t))return e.flags=-1025&e.flags|2,la=!1,void(ua=e);fa(ua,n)}ua=e,sa=go(t.firstChild)}else e.flags=-1025&e.flags|2,la=!1,ua=e}}function pa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ua=e}function va(e){if(e!==ua)return!1;if(!la)return pa(e),la=!0,!1;var t=e.type;if(5!==e.tag||\"head\"!==t&&\"body\"!==t&&!fo(t,e.memoizedProps))for(t=sa;t;)fa(e,t),t=go(t.nextSibling);if(pa(e),13===e.tag){if(e=e.memoizedState,e=null!==e?e.dehydrated:null,!e)throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if(\"/$\"===n){if(0===t){sa=go(e.nextSibling);break e}t--}else\"$\"!==n&&\"$!\"!==n&&\"$?\"!==n||t++}e=e.nextSibling}sa=null}}else sa=ua?go(e.stateNode.nextSibling):null;return!0}function ga(){sa=ua=null,la=!1}var ma=[];function ya(){for(var e=0;e<ma.length;e++)ma[e]._workInProgressVersionPrimary=null;ma.length=0}var ba=S.ReactCurrentDispatcher,xa=S.ReactCurrentBatchConfig,wa=0,Oa=null,Ea=null,Sa=null,ja=!1,ka=!1;function _a(){throw Error(a(321))}function Ca(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Nr(e[n],t[n]))return!1;return!0}function Ma(e,t,n,r,o,i){if(wa=i,Oa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ba.current=null===e||null===e.memoizedState?tc:nc,e=n(r,o),ka){i=0;do{if(ka=!1,!(25>i))throw Error(a(301));i+=1,Sa=Ea=null,t.updateQueue=null,ba.current=rc,e=n(r,o)}while(ka)}if(ba.current=ec,t=null!==Ea&&null!==Ea.next,wa=0,Sa=Ea=Oa=null,ja=!1,t)throw Error(a(300));return e}function Aa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Sa?Oa.memoizedState=Sa=e:Sa=Sa.next=e,Sa}function Na(){if(null===Ea){var e=Oa.alternate;e=null!==e?e.memoizedState:null}else e=Ea.next;var t=null===Sa?Oa.memoizedState:Sa.next;if(null!==t)Sa=t,Ea=e;else{if(null===e)throw Error(a(310));Ea=e,e={memoizedState:Ea.memoizedState,baseState:Ea.baseState,baseQueue:Ea.baseQueue,queue:Ea.queue,next:null},null===Sa?Oa.memoizedState=Sa=e:Sa=Sa.next=e}return Sa}function Ta(e,t){return\"function\"===typeof t?t(e):t}function Ia(e){var t=Na(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Ea,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var c=o.next;o.next=i.next,i.next=c}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var u=c=i=null,s=o;do{var l=s.lane;if((wa&l)===l)null!==u&&(u=u.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var f={lane:l,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===u?(c=u=f,i=r):u=u.next=f,Oa.lanes|=l,lu|=l}s=s.next}while(null!==s&&s!==o);null===u?i=r:u.next=c,Nr(r,t.memoizedState)||(ic=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Pa(e){var t=Na(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var c=o=o.next;do{i=e(i,c.action),c=c.next}while(c!==o);Nr(i,t.memoizedState)||(ic=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function La(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(wa&e)===e)&&(t._workInProgressVersionPrimary=r,ma.push(t))),e)return n(t._source);throw ma.push(t),Error(a(350))}function Da(e,t,n,r){var o=nu;if(null===o)throw Error(a(349));var i=t._getVersion,c=i(t._source),u=ba.current,s=u.useState((function(){return La(o,t,n)})),l=s[1],f=s[0];s=Sa;var d=e.memoizedState,h=d.refs,p=h.getSnapshot,v=d.source;d=d.subscribe;var g=Oa;return e.memoizedState={refs:h,source:t,subscribe:r},u.useEffect((function(){h.getSnapshot=n,h.setSnapshot=l;var e=i(t._source);if(!Nr(c,e)){e=n(t._source),Nr(f,e)||(l(e),e=Du(g),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,a=e;0<a;){var u=31-en(a),s=1<<u;r[u]|=e,a&=~s}}}),[n,t,r]),u.useEffect((function(){return r(t._source,(function(){var e=h.getSnapshot,n=h.setSnapshot;try{n(e(t._source));var r=Du(g);o.mutableReadLanes|=r&o.pendingLanes}catch(i){n((function(){throw i}))}}))}),[t,r]),Nr(p,n)&&Nr(v,t)&&Nr(d,r)||(e={pending:null,dispatch:null,lastRenderedReducer:Ta,lastRenderedState:f},e.dispatch=l=Ja.bind(null,Oa,e),s.queue=e,s.baseQueue=null,f=La(o,t,n),s.memoizedState=s.baseState=f),f}function Ra(e,t,n){var r=Na();return Da(r,e,t,n)}function Fa(e){var t=Aa();return\"function\"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Ta,lastRenderedState:e},e=e.dispatch=Ja.bind(null,Oa,e),[t.memoizedState,e]}function Ba(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Oa.updateQueue,null===t?(t={lastEffect:null},Oa.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,null===n?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function za(e){var t=Aa();return e={current:e},t.memoizedState=e}function Ua(){return Na().memoizedState}function Ga(e,t,n,r){var o=Aa();Oa.flags|=e,o.memoizedState=Ba(1|t,n,void 0,void 0===r?null:r)}function Va(e,t,n,r){var o=Na();r=void 0===r?null:r;var i=void 0;if(null!==Ea){var a=Ea.memoizedState;if(i=a.destroy,null!==r&&Ca(r,a.deps))return void Ba(t,n,i,r)}Oa.flags|=e,o.memoizedState=Ba(1|t,n,i,r)}function Wa(e,t){return Ga(516,4,e,t)}function Ha(e,t){return Va(516,4,e,t)}function Ya(e,t){return Va(4,2,e,t)}function Xa(e,t){return\"function\"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function qa(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Va(4,2,Xa.bind(null,t,e),n)}function Ka(){}function Za(e,t){var n=Na();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ca(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function $a(e,t){var n=Na();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ca(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Qa(e,t){var n=hi();vi(98>n?98:n,(function(){e(!0)})),vi(97<n?97:n,(function(){var n=xa.transition;xa.transition=1;try{e(!1),t()}finally{xa.transition=n}}))}function Ja(e,t,n){var r=Lu(),o=Du(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===Oa||null!==a&&a===Oa)ka=ja=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&(a=t.lastRenderedReducer,null!==a))try{var c=t.lastRenderedState,u=a(c,n);if(i.eagerReducer=a,i.eagerState=u,Nr(u,c))return}catch(s){}Ru(e,o,r)}}var ec={readContext:Mi,useCallback:_a,useContext:_a,useEffect:_a,useImperativeHandle:_a,useLayoutEffect:_a,useMemo:_a,useReducer:_a,useRef:_a,useState:_a,useDebugValue:_a,useDeferredValue:_a,useTransition:_a,useMutableSource:_a,useOpaqueIdentifier:_a,unstable_isNewReconciler:!1},tc={readContext:Mi,useCallback:function(e,t){return Aa().memoizedState=[e,void 0===t?null:t],e},useContext:Mi,useEffect:Wa,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ga(4,2,Xa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ga(4,2,e,t)},useMemo:function(e,t){var n=Aa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Aa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=Ja.bind(null,Oa,e),[r.memoizedState,e]},useRef:za,useState:Fa,useDebugValue:Ka,useDeferredValue:function(e){var t=Fa(e),n=t[0],r=t[1];return Wa((function(){var t=xa.transition;xa.transition=1;try{r(e)}finally{xa.transition=t}}),[e]),n},useTransition:function(){var e=Fa(!1),t=e[0];return e=Qa.bind(null,e[1]),za(e),[e,t]},useMutableSource:function(e,t,n){var r=Aa();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},Da(r,e,t,n)},useOpaqueIdentifier:function(){if(la){var e=!1,t=bo((function(){throw e||(e=!0,n(\"r:\"+(yo++).toString(36))),Error(a(355))})),n=Fa(t)[1];return 0===(2&Oa.mode)&&(Oa.flags|=516,Ba(5,(function(){n(\"r:\"+(yo++).toString(36))}),void 0,null)),t}return t=\"r:\"+(yo++).toString(36),Fa(t),t},unstable_isNewReconciler:!1},nc={readContext:Mi,useCallback:Za,useContext:Mi,useEffect:Ha,useImperativeHandle:qa,useLayoutEffect:Ya,useMemo:$a,useReducer:Ia,useRef:Ua,useState:function(){return Ia(Ta)},useDebugValue:Ka,useDeferredValue:function(e){var t=Ia(Ta),n=t[0],r=t[1];return Ha((function(){var t=xa.transition;xa.transition=1;try{r(e)}finally{xa.transition=t}}),[e]),n},useTransition:function(){var e=Ia(Ta)[0];return[Ua().current,e]},useMutableSource:Ra,useOpaqueIdentifier:function(){return Ia(Ta)[0]},unstable_isNewReconciler:!1},rc={readContext:Mi,useCallback:Za,useContext:Mi,useEffect:Ha,useImperativeHandle:qa,useLayoutEffect:Ya,useMemo:$a,useReducer:Pa,useRef:Ua,useState:function(){return Pa(Ta)},useDebugValue:Ka,useDeferredValue:function(e){var t=Pa(Ta),n=t[0],r=t[1];return Ha((function(){var t=xa.transition;xa.transition=1;try{r(e)}finally{xa.transition=t}}),[e]),n},useTransition:function(){var e=Pa(Ta)[0];return[Ua().current,e]},useMutableSource:Ra,useOpaqueIdentifier:function(){return Pa(Ta)[0]},unstable_isNewReconciler:!1},oc=S.ReactCurrentOwner,ic=!1;function ac(e,t,n,r){t.child=null===e?Zi(t,null,n,r):Ki(t,e.child,n,r)}function cc(e,t,n,r,o){n=n.render;var i=t.ref;return Ci(t,o),r=Ma(e,t,n,r,i,o),null===e||ic?(t.flags|=1,ac(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,Cc(e,t,o))}function uc(e,t,n,r,o,i){if(null===e){var a=n.type;return\"function\"!==typeof a||vs(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?(e=ys(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,sc(e,t,a,r,o,i))}return a=e.child,0===(o&i)&&(o=a.memoizedProps,n=n.compare,n=null!==n?n:Ir,n(o,r)&&e.ref===t.ref)?Cc(e,t,i):(t.flags|=1,e=ms(a,r),e.ref=t.ref,e.return=t,t.child=e)}function sc(e,t,n,r,o,i){if(null!==e&&Ir(e.memoizedProps,r)&&e.ref===t.ref){if(ic=!1,0===(i&o))return t.lanes=e.lanes,Cc(e,t,i);0!==(16384&e.flags)&&(ic=!0)}return dc(e,t,n,r,i)}function lc(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if(\"hidden\"===r.mode||\"unstable-defer-without-hiding\"===r.mode)if(0===(4&t.mode))t.memoizedState={baseLanes:0},Yu(t,n);else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Yu(t,e),null;t.memoizedState={baseLanes:0},Yu(t,null!==i?i.baseLanes:n)}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Yu(t,r);return ac(e,t,o,n),t.child}function fc(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function dc(e,t,n,r,o){var i=zo(n)?Fo:Do.current;return i=Bo(t,i),Ci(t,o),n=Ma(e,t,n,r,i,o),null===e||ic?(t.flags|=1,ac(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,Cc(e,t,o))}function hc(e,t,n,r,o){if(zo(n)){var i=!0;Wo(t)}else i=!1;if(Ci(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Gi(t,n,r),Wi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,c=t.memoizedProps;a.props=c;var u=a.context,s=n.contextType;\"object\"===typeof s&&null!==s?s=Mi(s):(s=zo(n)?Fo:Do.current,s=Bo(t,s));var l=n.getDerivedStateFromProps,f=\"function\"===typeof l||\"function\"===typeof a.getSnapshotBeforeUpdate;f||\"function\"!==typeof a.UNSAFE_componentWillReceiveProps&&\"function\"!==typeof a.componentWillReceiveProps||(c!==r||u!==s)&&Vi(t,a,r,s),Ai=!1;var d=t.memoizedState;a.state=d,Di(t,r,a,o),u=t.memoizedState,c!==r||d!==u||Ro.current||Ai?(\"function\"===typeof l&&(Bi(t,n,l,r),u=t.memoizedState),(c=Ai||Ui(t,n,c,r,d,u,s))?(f||\"function\"!==typeof a.UNSAFE_componentWillMount&&\"function\"!==typeof a.componentWillMount||(\"function\"===typeof a.componentWillMount&&a.componentWillMount(),\"function\"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),\"function\"===typeof a.componentDidMount&&(t.flags|=4)):(\"function\"===typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=s,r=c):(\"function\"===typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,Ti(e,t),c=t.memoizedProps,s=t.type===t.elementType?c:xi(t.type,c),a.props=s,f=t.pendingProps,d=a.context,u=n.contextType,\"object\"===typeof u&&null!==u?u=Mi(u):(u=zo(n)?Fo:Do.current,u=Bo(t,u));var h=n.getDerivedStateFromProps;(l=\"function\"===typeof h||\"function\"===typeof a.getSnapshotBeforeUpdate)||\"function\"!==typeof a.UNSAFE_componentWillReceiveProps&&\"function\"!==typeof a.componentWillReceiveProps||(c!==f||d!==u)&&Vi(t,a,r,u),Ai=!1,d=t.memoizedState,a.state=d,Di(t,r,a,o);var p=t.memoizedState;c!==f||d!==p||Ro.current||Ai?(\"function\"===typeof h&&(Bi(t,n,h,r),p=t.memoizedState),(s=Ai||Ui(t,n,s,r,d,p,u))?(l||\"function\"!==typeof a.UNSAFE_componentWillUpdate&&\"function\"!==typeof a.componentWillUpdate||(\"function\"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,u),\"function\"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,u)),\"function\"===typeof a.componentDidUpdate&&(t.flags|=4),\"function\"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):(\"function\"!==typeof a.componentDidUpdate||c===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),\"function\"!==typeof a.getSnapshotBeforeUpdate||c===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=u,r=s):(\"function\"!==typeof a.componentDidUpdate||c===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),\"function\"!==typeof a.getSnapshotBeforeUpdate||c===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return pc(e,t,n,r,i,o)}function pc(e,t,n,r,o,i){fc(e,t);var a=0!==(64&t.flags);if(!r&&!a)return o&&Ho(t,n,!1),Cc(e,t,i);r=t.stateNode,oc.current=t;var c=a&&\"function\"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Ki(t,e.child,null,i),t.child=Ki(t,null,c,i)):ac(e,t,c,i),t.memoizedState=r.state,o&&Ho(t,n,!0),t.child}function vc(e){var t=e.stateNode;t.pendingContext?Go(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Go(e,t.context,!1),na(e,t.containerInfo)}var gc,mc,yc,bc,xc={dehydrated:null,retryLane:0};function wc(e,t,n){var r,o=t.pendingProps,i=aa.current,a=!1;return(r=0!==(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!==(2&i)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),Po(aa,1&i),null===e?(void 0!==o.fallback&&ha(t),e=o.children,i=o.fallback,a?(e=Oc(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=xc,e):\"number\"===typeof o.unstable_expectedLoadTime?(e=Oc(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=xc,t.lanes=33554432,e):(n=xs({mode:\"visible\",children:e},t.mode,n,null),n.return=t,t.child=n)):(e.memoizedState,a?(o=Sc(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=xc,o):(n=Ec(e,t,o.children,n),t.memoizedState=null,n))}function Oc(e,t,n,r){var o=e.mode,i=e.child;return t={mode:\"hidden\",children:t},0===(2&o)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=xs(t,o,0,null),n=bs(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function Ec(e,t,n,r){var o=e.child;return e=o.sibling,n=ms(o,{mode:\"visible\",children:n}),0===(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function Sc(e,t,n,r,o){var i=t.mode,a=e.child;e=a.sibling;var c={mode:\"hidden\",children:n};return 0===(2&i)&&t.child!==a?(n=t.child,n.childLanes=0,n.pendingProps=c,a=n.lastEffect,null!==a?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=ms(a,c),null!==e?r=ms(e,r):(r=bs(r,i,o,null),r.flags|=2),r.return=t,n.return=t,n.sibling=r,t.child=n,r}function jc(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),_i(e.return,t)}function kc(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function _c(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ac(e,t,r.children,n),r=aa.current,0!==(2&r))r=1&r|2,t.flags|=64;else{if(null!==e&&0!==(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&jc(e,n);else if(19===e.tag)jc(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Po(aa,r),0===(2&t.mode))t.memoizedState=null;else switch(o){case\"forwards\":for(n=t.child,o=null;null!==n;)e=n.alternate,null!==e&&null===ca(e)&&(o=n),n=n.sibling;n=o,null===n?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),kc(t,!1,o,n,i,t.lastEffect);break;case\"backwards\":for(n=null,o=t.child,t.child=null;null!==o;){if(e=o.alternate,null!==e&&null===ca(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}kc(t,!0,n,null,i,t.lastEffect);break;case\"together\":kc(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Cc(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),lu|=t.lanes,0!==(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(e=t.child,n=ms(e,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,n=n.sibling=ms(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}return null}function Mc(e,t){if(!la)switch(e.tailMode){case\"hidden\":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case\"collapsed\":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ac(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return zo(t.type)&&Uo(),null;case 3:return ra(),Io(Ro),Io(Do),ya(),r=t.stateNode,r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(va(t)?t.flags|=4:r.hydrate||(t.flags|=256)),mc(t),null;case 5:ia(t);var i=ta(ea.current);if(n=t.type,null!==e&&null!=t.stateNode)yc(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=ta(Qi.current),va(t)){r=t.stateNode,n=t.type;var c=t.memoizedProps;switch(r[wo]=t,r[Oo]=c,n){case\"dialog\":$r(\"cancel\",r),$r(\"close\",r);break;case\"iframe\":case\"object\":case\"embed\":$r(\"load\",r);break;case\"video\":case\"audio\":for(e=0;e<Xr.length;e++)$r(Xr[e],r);break;case\"source\":$r(\"error\",r);break;case\"img\":case\"image\":case\"link\":$r(\"error\",r),$r(\"load\",r);break;case\"details\":$r(\"toggle\",r);break;case\"input\":oe(r,c),$r(\"invalid\",r);break;case\"select\":r._wrapperState={wasMultiple:!!c.multiple},$r(\"invalid\",r);break;case\"textarea\":he(r,c),$r(\"invalid\",r)}for(var s in _e(n,c),e=null,c)c.hasOwnProperty(s)&&(i=c[s],\"children\"===s?\"string\"===typeof i?r.textContent!==i&&(e=[\"children\",i]):\"number\"===typeof i&&r.textContent!==\"\"+i&&(e=[\"children\",\"\"+i]):u.hasOwnProperty(s)&&null!=i&&\"onScroll\"===s&&$r(\"scroll\",r));switch(n){case\"input\":ee(r),ce(r,c,!0);break;case\"textarea\":ee(r),ve(r);break;case\"select\":case\"option\":break;default:\"function\"===typeof c.onClick&&(r.onclick=co)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(s=9===i.nodeType?i:i.ownerDocument,e===ge.html&&(e=me(n)),e===ge.html?\"script\"===n?(e=s.createElement(\"div\"),e.innerHTML=\"<script><\\/script>\",e=e.removeChild(e.firstChild)):\"string\"===typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),\"select\"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[wo]=t,e[Oo]=r,gc(e,t,!1,!1),t.stateNode=e,s=Ce(n,r),n){case\"dialog\":$r(\"cancel\",e),$r(\"close\",e),i=r;break;case\"iframe\":case\"object\":case\"embed\":$r(\"load\",e),i=r;break;case\"video\":case\"audio\":for(i=0;i<Xr.length;i++)$r(Xr[i],e);i=r;break;case\"source\":$r(\"error\",e),i=r;break;case\"img\":case\"image\":case\"link\":$r(\"error\",e),$r(\"load\",e),i=r;break;case\"details\":$r(\"toggle\",e),i=r;break;case\"input\":oe(e,r),i=re(e,r),$r(\"invalid\",e);break;case\"option\":i=le(e,r);break;case\"select\":e._wrapperState={wasMultiple:!!r.multiple},i=o({},r,{value:void 0}),$r(\"invalid\",e);break;case\"textarea\":he(e,r),i=de(e,r),$r(\"invalid\",e);break;default:i=r}_e(n,i);var l=i;for(c in l)if(l.hasOwnProperty(c)){var f=l[c];\"style\"===c?je(e,f):\"dangerouslySetInnerHTML\"===c?(f=f?f.__html:void 0,null!=f&&xe(e,f)):\"children\"===c?\"string\"===typeof f?(\"textarea\"!==n||\"\"!==f)&&we(e,f):\"number\"===typeof f&&we(e,\"\"+f):\"suppressContentEditableWarning\"!==c&&\"suppressHydrationWarning\"!==c&&\"autoFocus\"!==c&&(u.hasOwnProperty(c)?null!=f&&\"onScroll\"===c&&$r(\"scroll\",e):null!=f&&E(e,c,f,s))}switch(n){case\"input\":ee(e),ce(e,r,!1);break;case\"textarea\":ee(e),ve(e);break;case\"option\":null!=r.value&&e.setAttribute(\"value\",\"\"+$(r.value));break;case\"select\":e.multiple=!!r.multiple,c=r.value,null!=c?fe(e,!!r.multiple,c,!1):null!=r.defaultValue&&fe(e,!!r.multiple,r.defaultValue,!0);break;default:\"function\"===typeof i.onClick&&(e.onclick=co)}lo(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)bc(e,t,e.memoizedProps,r);else{if(\"string\"!==typeof r&&null===t.stateNode)throw Error(a(166));n=ta(ea.current),ta(Qi.current),va(t)?(r=t.stateNode,n=t.memoizedProps,r[wo]=t,r.nodeValue!==n&&(t.flags|=4)):(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r),r[wo]=t,t.stateNode=r)}return null;case 13:return Io(aa),r=t.memoizedState,0!==(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&va(t):n=null!==e.memoizedState,r&&!n&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&aa.current)?0===cu&&(cu=3):(0!==cu&&3!==cu||(cu=4),null===nu||0===(134217727&lu)&&0===(134217727&fu)||Uu(nu,ou))),(r||n)&&(t.flags|=4),null);case 4:return ra(),mc(t),null===e&&Jr(t.stateNode.containerInfo),null;case 10:return ki(t),null;case 17:return zo(t.type)&&Uo(),null;case 19:if(Io(aa),r=t.memoizedState,null===r)return null;if(c=0!==(64&t.flags),s=r.rendering,null===s)if(c)Mc(r,!1);else{if(0!==cu||null!==e&&0!==(64&e.flags))for(e=t.child;null!==e;){if(s=ca(e),null!==s){for(t.flags|=64,Mc(r,!1),c=s.updateQueue,null!==c&&(t.updateQueue=c,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)c=n,e=r,c.flags&=2,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null,s=c.alternate,null===s?(c.childLanes=0,c.lanes=e,c.child=null,c.memoizedProps=null,c.memoizedState=null,c.updateQueue=null,c.dependencies=null,c.stateNode=null):(c.childLanes=s.childLanes,c.lanes=s.lanes,c.child=s.child,c.memoizedProps=s.memoizedProps,c.memoizedState=s.memoizedState,c.updateQueue=s.updateQueue,c.type=s.type,e=s.dependencies,c.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Po(aa,1&aa.current|2),t.child}e=e.sibling}null!==r.tail&&di()>vu&&(t.flags|=64,c=!0,Mc(r,!1),t.lanes=33554432)}else{if(!c)if(e=ca(s),null!==e){if(t.flags|=64,c=!0,n=e.updateQueue,null!==n&&(t.updateQueue=n,t.flags|=4),Mc(r,!0),null===r.tail&&\"hidden\"===r.tailMode&&!s.alternate&&!la)return t=t.lastEffect=r.lastEffect,null!==t&&(t.nextEffect=null),null}else 2*di()-r.renderingStartTime>vu&&1073741824!==n&&(t.flags|=64,c=!0,Mc(r,!1),t.lanes=33554432);r.isBackwards?(s.sibling=t.child,t.child=s):(n=r.last,null!==n?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=di(),n.sibling=null,t=aa.current,Po(aa,c?1&t|2:1&t),n):null;case 23:case 24:return Xu(),null!==e&&null!==e.memoizedState!==(null!==t.memoizedState)&&\"unstable-defer-without-hiding\"!==r.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function Nc(e){switch(e.tag){case 1:zo(e.type)&&Uo();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(ra(),Io(Ro),Io(Do),ya(),t=e.flags,0!==(64&t))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return ia(e),null;case 13:return Io(aa),t=e.flags,4096&t?(e.flags=-4097&t|64,e):null;case 19:return Io(aa),null;case 4:return ra(),null;case 10:return ki(e),null;case 23:case 24:return Xu(),null;default:return null}}function Tc(e,t){try{var n=\"\",r=t;do{n+=K(r),r=r.return}while(r);var o=n}catch(i){o=\"\\nError generating stack: \"+i.message+\"\\n\"+i.stack}return{value:e,source:t,stack:o}}function Ic(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}gc=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},mc=function(){},yc=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,ta(Qi.current);var a,c=null;switch(n){case\"input\":i=re(e,i),r=re(e,r),c=[];break;case\"option\":i=le(e,i),r=le(e,r),c=[];break;case\"select\":i=o({},i,{value:void 0}),r=o({},r,{value:void 0}),c=[];break;case\"textarea\":i=de(e,i),r=de(e,r),c=[];break;default:\"function\"!==typeof i.onClick&&\"function\"===typeof r.onClick&&(e.onclick=co)}for(f in _e(n,r),n=null,i)if(!r.hasOwnProperty(f)&&i.hasOwnProperty(f)&&null!=i[f])if(\"style\"===f){var s=i[f];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]=\"\")}else\"dangerouslySetInnerHTML\"!==f&&\"children\"!==f&&\"suppressContentEditableWarning\"!==f&&\"suppressHydrationWarning\"!==f&&\"autoFocus\"!==f&&(u.hasOwnProperty(f)?c||(c=[]):(c=c||[]).push(f,null));for(f in r){var l=r[f];if(s=null!=i?i[f]:void 0,r.hasOwnProperty(f)&&l!==s&&(null!=l||null!=s))if(\"style\"===f)if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]=\"\");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(c||(c=[]),c.push(f,n)),n=l;else\"dangerouslySetInnerHTML\"===f?(l=l?l.__html:void 0,s=s?s.__html:void 0,null!=l&&s!==l&&(c=c||[]).push(f,l)):\"children\"===f?\"string\"!==typeof l&&\"number\"!==typeof l||(c=c||[]).push(f,\"\"+l):\"suppressContentEditableWarning\"!==f&&\"suppressHydrationWarning\"!==f&&(u.hasOwnProperty(f)?(null!=l&&\"onScroll\"===f&&$r(\"scroll\",e),c||s===l||(c=[])):\"object\"===typeof l&&null!==l&&l.$$typeof===F?l.toString():(c=c||[]).push(f,l))}n&&(c=c||[]).push(\"style\",n);var f=c;(t.updateQueue=f)&&(t.flags|=4)}},bc=function(e,t,n,r){n!==r&&(t.flags|=4)};var Pc=\"function\"===typeof WeakMap?WeakMap:Map;function Lc(e,t,n){n=Ii(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){bu||(bu=!0,xu=r),Ic(e,t)},n}function Dc(e,t,n){n=Ii(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(\"function\"===typeof r){var o=t.value;n.payload=function(){return Ic(e,t),r(o)}}var i=e.stateNode;return null!==i&&\"function\"===typeof i.componentDidCatch&&(n.callback=function(){\"function\"!==typeof r&&(null===wu?wu=new Set([this]):wu.add(this),Ic(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:\"\"})}),n}var Rc=\"function\"===typeof WeakSet?WeakSet:Set;function Fc(e){var t=e.ref;if(null!==t)if(\"function\"===typeof t)try{t(null)}catch(n){ls(e,n)}else t.current=null}function Bc(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?n:xi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&vo(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(a(163))}function zc(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(t=n.updateQueue,t=null!==t?t.lastEffect:null,null!==t){e=t=t.next;do{if(3===(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(t=n.updateQueue,t=null!==t?t.lastEffect:null,null!==t){e=t=t.next;do{var o=e;r=o.next,o=o.tag,0!==(4&o)&&0!==(1&o)&&(cs(n,e),as(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:xi(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=n.updateQueue,void(null!==t&&Ri(n,t,e));case 3:if(t=n.updateQueue,null!==t){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}Ri(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&lo(n.type,n.memoizedProps)&&e.focus());case 6:return;case 4:return;case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Mt(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(a(163))}function Uc(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)r=r.style,\"function\"===typeof r.setProperty?r.setProperty(\"display\",\"none\",\"important\"):r.display=\"none\";else{r=n.stateNode;var o=n.memoizedProps.style;o=void 0!==o&&null!==o&&o.hasOwnProperty(\"display\")?o.display:null,r.style.display=Se(\"display\",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?\"\":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Gc(e,t){if(Xo&&\"function\"===typeof Xo.onCommitFiberUnmount)try{Xo.onCommitFiberUnmount(Yo,t)}catch(i){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,null!==e&&(e=e.lastEffect,null!==e)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!==(4&r))cs(t,n);else{r=t;try{o()}catch(i){ls(r,i)}}n=n.next}while(n!==e)}break;case 1:if(Fc(t),e=t.stateNode,\"function\"===typeof e.componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(i){ls(t,i)}break;case 5:Fc(t);break;case 4:qc(e,t)}}function Vc(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Wc(e){return 5===e.tag||3===e.tag||4===e.tag}function Hc(e){e:{for(var t=e.return;null!==t;){if(Wc(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:t=t.containerInfo,r=!0;break;case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(we(t,\"\"),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Wc(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?Yc(e,n,t):Xc(e,n,t)}function Yc(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,null!==n&&void 0!==n||null!==t.onclick||(t.onclick=co));else if(4!==r&&(e=e.child,null!==e))for(Yc(e,t,n),e=e.sibling;null!==e;)Yc(e,t,n),e=e.sibling}function Xc(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(e=e.child,null!==e))for(Xc(e,t,n),e=e.sibling;null!==e;)Xc(e,t,n),e=e.sibling}function qc(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(a(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:n=n.containerInfo,r=!0;break e;case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var c=e,u=o,s=u;;)if(Gc(c,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===u)break e;for(;null===s.sibling;){if(null===s.return||s.return===u)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(c=n,u=o.stateNode,8===c.nodeType?c.parentNode.removeChild(u):c.removeChild(u)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(Gc(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;o=o.return,4===o.tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function Kc(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(n=null!==n?n.lastEffect:null,null!==n){var r=n=n.next;do{3===(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(n=t.stateNode,null!=n){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Oo]=r,\"input\"===e&&\"radio\"===r.type&&null!=r.name&&ie(n,r),Ce(e,o),t=Ce(e,r),o=0;o<i.length;o+=2){var c=i[o],u=i[o+1];\"style\"===c?je(n,u):\"dangerouslySetInnerHTML\"===c?xe(n,u):\"children\"===c?we(n,u):E(n,c,u,t)}switch(e){case\"input\":ae(n,r);break;case\"textarea\":pe(n,r);break;case\"select\":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,i=r.value,null!=i?fe(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?fe(n,!!r.multiple,r.defaultValue,!0):fe(n,!!r.multiple,r.multiple?[]:\"\",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return n=t.stateNode,void(n.hydrate&&(n.hydrate=!1,Mt(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(pu=di(),Uc(t.child,!0)),void Zc(t);case 19:return void Zc(t);case 17:return;case 23:case 24:return void Uc(t,null!==t.memoizedState)}throw Error(a(163))}function Zc(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Rc),t.forEach((function(t){var r=ds.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function $c(e,t){return null!==e&&(e=e.memoizedState,null===e||null!==e.dehydrated)&&(t=t.memoizedState,null!==t&&null===t.dehydrated)}var Qc=Math.ceil,Jc=S.ReactCurrentDispatcher,eu=S.ReactCurrentOwner,tu=0,nu=null,ru=null,ou=0,iu=0,au=To(0),cu=0,uu=null,su=0,lu=0,fu=0,du=0,hu=null,pu=0,vu=1/0;function gu(){vu=di()+500}var mu,yu=null,bu=!1,xu=null,wu=null,Ou=!1,Eu=null,Su=90,ju=[],ku=[],_u=null,Cu=0,Mu=null,Au=-1,Nu=0,Tu=0,Iu=null,Pu=!1;function Lu(){return 0!==(48&tu)?di():-1!==Au?Au:Au=di()}function Du(e){if(e=e.mode,0===(2&e))return 1;if(0===(4&e))return 99===hi()?1:2;if(0===Nu&&(Nu=su),0!==bi.transition){0!==Tu&&(Tu=null!==hu?hu.pendingLanes:0),e=Nu;var t=4186112&~Tu;return t&=-t,0===t&&(e=4186112&~e,t=e&-e,0===t&&(t=8192)),t}return e=hi(),0!==(4&tu)&&98===e?e=Zt(12,Nu):(e=Yt(e),e=Zt(e,Nu)),e}function Ru(e,t,n){if(50<Cu)throw Cu=0,Mu=null,Error(a(185));if(e=Fu(e,t),null===e)return null;Jt(e,t,n),e===nu&&(fu|=t,4===cu&&Uu(e,ou));var r=hi();1===t?0!==(8&tu)&&0===(48&tu)?Gu(e):(Bu(e,n),0===tu&&(gu(),mi())):(0===(4&tu)||98!==r&&99!==r||(null===_u?_u=new Set([e]):_u.add(e)),Bu(e,n)),hu=e}function Fu(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,n=e.alternate,null!==n&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function Bu(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var c=31-en(a),u=1<<c,s=i[c];if(-1===s){if(0===(u&r)||0!==(u&o)){s=t,Ht(u);var l=Wt;i[c]=10<=l?s+250:6<=l?s+5e3:-1}}else s<=t&&(e.expiredLanes|=u);a&=~u}if(r=qt(e,e===nu?ou:0),t=Wt,0===r)null!==n&&(n!==ai&&Zo(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==ai&&Zo(n)}15===t?(n=Gu.bind(null,e),null===ui?(ui=[n],si=Ko(ti,yi)):ui.push(n),n=ai):14===t?n=gi(99,Gu.bind(null,e)):(n=Xt(t),n=gi(n,zu.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function zu(e){if(Au=-1,Tu=Nu=0,0!==(48&tu))throw Error(a(327));var t=e.callbackNode;if(is()&&e.callbackNode!==t)return null;var n=qt(e,e===nu?ou:0);if(0===n)return null;var r=n,o=tu;tu|=16;var i=Zu();nu===e&&ou===r||(gu(),qu(e,r));do{try{Ju();break}catch(u){Ku(e,u)}}while(1);if(ji(),Jc.current=i,tu=o,null!==ru?r=0:(nu=null,ou=0,r=cu),0!==(su&fu))qu(e,0);else if(0!==r){if(2===r&&(tu|=64,e.hydrate&&(e.hydrate=!1,vo(e.containerInfo)),n=Kt(e),0!==n&&(r=$u(e,n))),1===r)throw t=uu,qu(e,0),Uu(e,n),Bu(e,di()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:ns(e);break;case 3:if(Uu(e,n),(62914560&n)===n&&(r=pu+500-di(),10<r)){if(0!==qt(e,0))break;if(o=e.suspendedLanes,(o&n)!==n){Lu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ho(ns.bind(null,e),r);break}ns(e);break;case 4:if(Uu(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var c=31-en(n);i=1<<c,c=r[c],c>o&&(o=c),n&=~i}if(n=o,n=di()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Qc(n/1960))-n,10<n){e.timeoutHandle=ho(ns.bind(null,e),n);break}ns(e);break;case 5:ns(e);break;default:throw Error(a(329))}}return Bu(e,di()),e.callbackNode===t?zu.bind(null,e):null}function Uu(e,t){for(t&=~du,t&=~fu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-en(t),r=1<<n;e[n]=-1,t&=~r}}function Gu(e){if(0!==(48&tu))throw Error(a(327));if(is(),e===nu&&0!==(e.expiredLanes&ou)){var t=ou,n=$u(e,t);0!==(su&fu)&&(t=qt(e,t),n=$u(e,t))}else t=qt(e,0),n=$u(e,t);if(0!==e.tag&&2===n&&(tu|=64,e.hydrate&&(e.hydrate=!1,vo(e.containerInfo)),t=Kt(e),0!==t&&(n=$u(e,t))),1===n)throw n=uu,qu(e,0),Uu(e,t),Bu(e,di()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,ns(e),Bu(e,di()),null}function Vu(){if(null!==_u){var e=_u;_u=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,Bu(e,di())}))}mi()}function Wu(e,t){var n=tu;tu|=1;try{return e(t)}finally{tu=n,0===tu&&(gu(),mi())}}function Hu(e,t){var n=tu;tu&=-2,tu|=8;try{return e(t)}finally{tu=n,0===tu&&(gu(),mi())}}function Yu(e,t){Po(au,iu),iu|=t,su|=t}function Xu(){iu=au.current,Io(au)}function qu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,po(n)),null!==ru)for(n=ru.return;null!==n;){var r=n;switch(r.tag){case 1:r=r.type.childContextTypes,null!==r&&void 0!==r&&Uo();break;case 3:ra(),Io(Ro),Io(Do),ya();break;case 5:ia(r);break;case 4:ra();break;case 13:Io(aa);break;case 19:Io(aa);break;case 10:ki(r);break;case 23:case 24:Xu()}n=n.return}nu=e,ru=ms(e.current,null),ou=iu=su=t,cu=0,uu=null,du=fu=lu=0}function Ku(e,t){do{var n=ru;try{if(ji(),ba.current=ec,ja){for(var r=Oa.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ja=!1}if(wa=0,Sa=Ea=Oa=null,ka=!1,eu.current=null,null===n||null===n.return){cu=1,uu=t,ru=null;break}e:{var i=e,a=n.return,c=n,u=t;if(t=ou,c.flags|=2048,c.firstEffect=c.lastEffect=null,null!==u&&\"object\"===typeof u&&\"function\"===typeof u.then){var s=u;if(0===(2&c.mode)){var l=c.alternate;l?(c.updateQueue=l.updateQueue,c.memoizedState=l.memoizedState,c.lanes=l.lanes):(c.updateQueue=null,c.memoizedState=null)}var f=0!==(1&aa.current),d=a;do{var h;if(h=13===d.tag){var p=d.memoizedState;if(null!==p)h=null!==p.dehydrated;else{var v=d.memoizedProps;h=void 0!==v.fallback&&(!0!==v.unstable_avoidThisFallback||!f)}}if(h){var g=d.updateQueue;if(null===g){var m=new Set;m.add(s),d.updateQueue=m}else g.add(s);if(0===(2&d.mode)){if(d.flags|=64,c.flags|=16384,c.flags&=-2981,1===c.tag)if(null===c.alternate)c.tag=17;else{var y=Ii(-1,1);y.tag=2,Pi(c,y)}c.lanes|=1;break e}u=void 0,c=t;var b=i.pingCache;if(null===b?(b=i.pingCache=new Pc,u=new Set,b.set(s,u)):(u=b.get(s),void 0===u&&(u=new Set,b.set(s,u))),!u.has(c)){u.add(c);var x=fs.bind(null,i,s,c);s.then(x,x)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);u=Error((Z(c.type)||\"A React component\")+\" suspended while rendering, but no fallback UI was specified.\\n\\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.\")}5!==cu&&(cu=2),u=Tc(u,c),d=a;do{switch(d.tag){case 3:i=u,d.flags|=4096,t&=-t,d.lanes|=t;var w=Lc(d,i,t);Li(d,w);break e;case 1:i=u;var O=d.type,E=d.stateNode;if(0===(64&d.flags)&&(\"function\"===typeof O.getDerivedStateFromError||null!==E&&\"function\"===typeof E.componentDidCatch&&(null===wu||!wu.has(E)))){d.flags|=4096,t&=-t,d.lanes|=t;var S=Dc(d,i,t);Li(d,S);break e}}d=d.return}while(null!==d)}ts(n)}catch(j){t=j,ru===n&&null!==n&&(ru=n=n.return);continue}break}while(1)}function Zu(){var e=Jc.current;return Jc.current=ec,null===e?ec:e}function $u(e,t){var n=tu;tu|=16;var r=Zu();nu===e&&ou===t||qu(e,t);do{try{Qu();break}catch(o){Ku(e,o)}}while(1);if(ji(),tu=n,Jc.current=r,null!==ru)throw Error(a(261));return nu=null,ou=0,cu}function Qu(){for(;null!==ru;)es(ru)}function Ju(){for(;null!==ru&&!$o();)es(ru)}function es(e){var t=mu(e.alternate,e,iu);e.memoizedProps=e.pendingProps,null===t?ts(e):ru=t,eu.current=null}function ts(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(2048&t.flags)){if(n=Ac(n,t,iu),null!==n)return void(ru=n);if(n=t,24!==n.tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&iu)||0===(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0===(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(n=Nc(t),null!==n)return n.flags&=2047,void(ru=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(t=t.sibling,null!==t)return void(ru=t);ru=t=e}while(null!==t);0===cu&&(cu=5)}function ns(e){var t=hi();return vi(99,rs.bind(null,e,t)),null}function rs(e,t){do{is()}while(null!==Eu);if(0!==(48&tu))throw Error(a(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var c=e.eventTimes,u=e.expirationTimes;0<i;){var s=31-en(i),l=1<<s;o[s]=0,c[s]=-1,u[s]=-1,i&=~l}if(null!==_u&&0===(24&r)&&_u.has(e)&&_u.delete(e),e===nu&&(ru=nu=null,ou=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=tu,tu|=32,eu.current=null,uo=cn,c=Rr(),Fr(c)){if(\"selectionStart\"in c)u={start:c.selectionStart,end:c.selectionEnd};else e:if(u=(u=c.ownerDocument)&&u.defaultView||window,(l=u.getSelection&&u.getSelection())&&0!==l.rangeCount){u=l.anchorNode,i=l.anchorOffset,s=l.focusNode,l=l.focusOffset;try{u.nodeType,s.nodeType}catch(k){u=null;break e}var f=0,d=-1,h=-1,p=0,v=0,g=c,m=null;t:for(;;){for(var y;;){if(g!==u||0!==i&&3!==g.nodeType||(d=f+i),g!==s||0!==l&&3!==g.nodeType||(h=f+l),3===g.nodeType&&(f+=g.nodeValue.length),null===(y=g.firstChild))break;m=g,g=y}for(;;){if(g===c)break t;if(m===u&&++p===i&&(d=f),m===s&&++v===l&&(h=f),null!==(y=g.nextSibling))break;g=m,m=g.parentNode}g=y}u=-1===d||-1===h?null:{start:d,end:h}}else u=null;u=u||{start:0,end:0}}else u=null;so={focusedElem:c,selectionRange:u},cn=!1,Iu=null,Pu=!1,yu=r;do{try{os()}catch(k){if(null===yu)throw Error(a(330));ls(yu,k),yu=yu.nextEffect}}while(null!==yu);Iu=null,yu=r;do{try{for(c=e;null!==yu;){var b=yu.flags;if(16&b&&we(yu.stateNode,\"\"),128&b){var x=yu.alternate;if(null!==x){var w=x.ref;null!==w&&(\"function\"===typeof w?w(null):w.current=null)}}switch(1038&b){case 2:Hc(yu),yu.flags&=-3;break;case 6:Hc(yu),yu.flags&=-3,Kc(yu.alternate,yu);break;case 1024:yu.flags&=-1025;break;case 1028:yu.flags&=-1025,Kc(yu.alternate,yu);break;case 4:Kc(yu.alternate,yu);break;case 8:u=yu,qc(c,u);var O=u.alternate;Vc(u),null!==O&&Vc(O)}yu=yu.nextEffect}}catch(k){if(null===yu)throw Error(a(330));ls(yu,k),yu=yu.nextEffect}}while(null!==yu);if(w=so,x=Rr(),b=w.focusedElem,c=w.selectionRange,x!==b&&b&&b.ownerDocument&&Dr(b.ownerDocument.documentElement,b)){null!==c&&Fr(b)&&(x=c.start,w=c.end,void 0===w&&(w=x),\"selectionStart\"in b?(b.selectionStart=x,b.selectionEnd=Math.min(w,b.value.length)):(w=(x=b.ownerDocument||document)&&x.defaultView||window,w.getSelection&&(w=w.getSelection(),u=b.textContent.length,O=Math.min(c.start,u),c=void 0===c.end?O:Math.min(c.end,u),!w.extend&&O>c&&(u=c,c=O,O=u),u=Lr(b,O),i=Lr(b,c),u&&i&&(1!==w.rangeCount||w.anchorNode!==u.node||w.anchorOffset!==u.offset||w.focusNode!==i.node||w.focusOffset!==i.offset)&&(x=x.createRange(),x.setStart(u.node,u.offset),w.removeAllRanges(),O>c?(w.addRange(x),w.extend(i.node,i.offset)):(x.setEnd(i.node,i.offset),w.addRange(x)))))),x=[];for(w=b;w=w.parentNode;)1===w.nodeType&&x.push({element:w,left:w.scrollLeft,top:w.scrollTop});for(\"function\"===typeof b.focus&&b.focus(),b=0;b<x.length;b++)w=x[b],w.element.scrollLeft=w.left,w.element.scrollTop=w.top}cn=!!uo,so=uo=null,e.current=n,yu=r;do{try{for(b=e;null!==yu;){var E=yu.flags;if(36&E&&zc(b,yu.alternate,yu),128&E){x=void 0;var S=yu.ref;if(null!==S){var j=yu.stateNode;switch(yu.tag){case 5:x=j;break;default:x=j}\"function\"===typeof S?S(x):S.current=x}}yu=yu.nextEffect}}catch(k){if(null===yu)throw Error(a(330));ls(yu,k),yu=yu.nextEffect}}while(null!==yu);yu=null,ci(),tu=o}else e.current=n;if(Ou)Ou=!1,Eu=e,Su=t;else for(yu=r;null!==yu;)t=yu.nextEffect,yu.nextEffect=null,8&yu.flags&&(E=yu,E.sibling=null,E.stateNode=null),yu=t;if(r=e.pendingLanes,0===r&&(wu=null),1===r?e===Mu?Cu++:(Cu=0,Mu=e):Cu=0,n=n.stateNode,Xo&&\"function\"===typeof Xo.onCommitFiberRoot)try{Xo.onCommitFiberRoot(Yo,n,void 0,64===(64&n.current.flags))}catch(k){}if(Bu(e,di()),bu)throw bu=!1,e=xu,xu=null,e;return 0!==(8&tu)||mi(),null}function os(){for(;null!==yu;){var e=yu.alternate;Pu||null===Iu||(0!==(8&yu.flags)?at(yu,Iu)&&(Pu=!0):13===yu.tag&&$c(e,yu)&&at(yu,Iu)&&(Pu=!0));var t=yu.flags;0!==(256&t)&&Bc(e,yu),0===(512&t)||Ou||(Ou=!0,gi(97,(function(){return is(),null}))),yu=yu.nextEffect}}function is(){if(90!==Su){var e=97<Su?97:Su;return Su=90,vi(e,us)}return!1}function as(e,t){ju.push(t,e),Ou||(Ou=!0,gi(97,(function(){return is(),null})))}function cs(e,t){ku.push(t,e),Ou||(Ou=!0,gi(97,(function(){return is(),null})))}function us(){if(null===Eu)return!1;var e=Eu;if(Eu=null,0!==(48&tu))throw Error(a(331));var t=tu;tu|=32;var n=ku;ku=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],c=o.destroy;if(o.destroy=void 0,\"function\"===typeof c)try{c()}catch(s){if(null===i)throw Error(a(330));ls(i,s)}}for(n=ju,ju=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var u=o.create;o.destroy=u()}catch(s){if(null===i)throw Error(a(330));ls(i,s)}}for(u=e.current.firstEffect;null!==u;)e=u.nextEffect,u.nextEffect=null,8&u.flags&&(u.sibling=null,u.stateNode=null),u=e;return tu=t,mi(),!0}function ss(e,t,n){t=Tc(n,t),t=Lc(e,t,1),Pi(e,t),t=Lu(),e=Fu(e,1),null!==e&&(Jt(e,1,t),Bu(e,t))}function ls(e,t){if(3===e.tag)ss(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){ss(n,e,t);break}if(1===n.tag){var r=n.stateNode;if(\"function\"===typeof n.type.getDerivedStateFromError||\"function\"===typeof r.componentDidCatch&&(null===wu||!wu.has(r))){e=Tc(t,e);var o=Dc(n,e,1);if(Pi(n,o),o=Lu(),n=Fu(n,1),null!==n)Jt(n,1,o),Bu(n,o);else if(\"function\"===typeof r.componentDidCatch&&(null===wu||!wu.has(r)))try{r.componentDidCatch(t,e)}catch(i){}break}}n=n.return}}function fs(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Lu(),e.pingedLanes|=e.suspendedLanes&n,nu===e&&(ou&n)===n&&(4===cu||3===cu&&(62914560&ou)===ou&&500>di()-pu?qu(e,0):du|=n),Bu(e,t)}function ds(e,t){var n=e.stateNode;null!==n&&n.delete(t),t=0,0===t&&(t=e.mode,0===(2&t)?t=1:0===(4&t)?t=99===hi()?1:2:(0===Nu&&(Nu=su),t=$t(62914560&~Nu),0===t&&(t=4194304))),n=Lu(),e=Fu(e,t),null!==e&&(Jt(e,t,n),Bu(e,n))}function hs(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function ps(e,t,n,r){return new hs(e,t,n,r)}function vs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function gs(e){if(\"function\"===typeof e)return vs(e)?1:0;if(void 0!==e&&null!==e){if(e=e.$$typeof,e===T)return 11;if(e===L)return 14}return 2}function ms(e,t){var n=e.alternate;return null===n?(n=ps(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ys(e,t,n,r,o,i){var c=2;if(r=e,\"function\"===typeof e)vs(e)&&(c=1);else if(\"string\"===typeof e)c=5;else e:switch(e){case _:return bs(n.children,o,i,t);case B:c=8,o|=16;break;case C:c=8,o|=1;break;case M:return e=ps(12,n,t,8|o),e.elementType=M,e.type=M,e.lanes=i,e;case I:return e=ps(13,n,t,o),e.type=I,e.elementType=I,e.lanes=i,e;case P:return e=ps(19,n,t,o),e.elementType=P,e.lanes=i,e;case z:return xs(n,o,i,t);case U:return e=ps(24,n,t,o),e.elementType=U,e.lanes=i,e;default:if(\"object\"===typeof e&&null!==e)switch(e.$$typeof){case A:c=10;break e;case N:c=9;break e;case T:c=11;break e;case L:c=14;break e;case D:c=16,r=null;break e;case R:c=22;break e}throw Error(a(130,null==e?e:typeof e,\"\"))}return t=ps(c,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function bs(e,t,n,r){return e=ps(7,e,r,t),e.lanes=n,e}function xs(e,t,n,r){return e=ps(23,e,r,t),e.elementType=z,e.lanes=n,e}function ws(e,t,n){return e=ps(6,e,null,t),e.lanes=n,e}function Os(e,t,n){return t=ps(4,null!==e.children?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Es(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Qt(0),this.expirationTimes=Qt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qt(0),this.mutableSourceEagerHydrationData=null}function Ss(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:\"\"+r,children:e,containerInfo:t,implementation:n}}function js(e,t,n,r){var o=t.current,i=Lu(),c=Du(o);e:if(n){n=n._reactInternals;t:{if(tt(n)!==n||1!==n.tag)throw Error(a(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(zo(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===n.tag){var s=n.type;if(zo(s)){n=Vo(n,s,u);break e}}n=u}else n=Lo;return null===t.context?t.context=n:t.pendingContext=n,t=Ii(i,c),t.payload={element:e},r=void 0===r?null:r,null!==r&&(t.callback=r),Pi(o,t),Ru(o,c,i),c}function ks(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function _s(e,t){if(e=e.memoizedState,null!==e&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Cs(e,t){_s(e,t),(e=e.alternate)&&_s(e,t)}function Ms(){return null}function As(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Es(e,t,null!=n&&!0===n.hydrate),t=ps(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,Ni(t),e[Eo]=n.current,Jr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){t=r[e];var o=t._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function Ns(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||\" react-mount-point-unstable \"!==e.nodeValue))}function Ts(e,t){if(t||(t=e?9===e.nodeType?e.documentElement:e.firstChild:null,t=!(!t||1!==t.nodeType||!t.hasAttribute(\"data-reactroot\"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new As(e,0,t?{hydrate:!0}:void 0)}function Is(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if(\"function\"===typeof o){var c=o;o=function(){var e=ks(a);c.call(e)}}js(t,a,e,o)}else{if(i=n._reactRootContainer=Ts(n,r),a=i._internalRoot,\"function\"===typeof o){var u=o;o=function(){var e=ks(a);u.call(e)}}Hu((function(){js(t,a,e,o)}))}return ks(a)}function Ps(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ns(t))throw Error(a(200));return Ss(e,t,null,n)}mu=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||Ro.current)ic=!0;else{if(0===(n&r)){switch(ic=!1,t.tag){case 3:vc(t),ga();break;case 5:oa(t);break;case 1:zo(t.type)&&Wo(t);break;case 4:na(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;Po(wi,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(n&t.child.childLanes)?wc(e,t,n):(Po(aa,1&aa.current),t=Cc(e,t,n),null!==t?t.sibling:null);Po(aa,1&aa.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(64&e.flags)){if(r)return _c(e,t,n);t.flags|=64}if(o=t.memoizedState,null!==o&&(o.rendering=null,o.tail=null,o.lastEffect=null),Po(aa,aa.current),r)break;return null;case 23:case 24:return t.lanes=0,lc(e,t,n)}return Cc(e,t,n)}ic=0!==(16384&e.flags)}else ic=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=Bo(t,Do.current),Ci(t,n),o=Ma(null,t,r,e,o,n),t.flags|=1,\"object\"===typeof o&&null!==o&&\"function\"===typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,zo(r)){var i=!0;Wo(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ni(t);var c=r.getDerivedStateFromProps;\"function\"===typeof c&&Bi(t,r,c,e),o.updater=zi,t.stateNode=o,o._reactInternals=t,Wi(t,r,e,n),t=pc(null,t,r,!0,i,n)}else t.tag=0,ac(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=o._init,o=i(o._payload),t.type=o,i=t.tag=gs(o),e=xi(o,e),i){case 0:t=dc(null,t,o,e,n);break e;case 1:t=hc(null,t,o,e,n);break e;case 11:t=cc(null,t,o,e,n);break e;case 14:t=uc(null,t,o,xi(o.type,e),r,n);break e}throw Error(a(306,o,\"\"))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:xi(r,o),dc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:xi(r,o),hc(e,t,r,o,n);case 3:if(vc(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=t.memoizedState,o=null!==o?o.element:null,Ti(e,t),Di(t,r,null,n),r=t.memoizedState.element,r===o)ga(),t=Cc(e,t,n);else{if(o=t.stateNode,(i=o.hydrate)&&(sa=go(t.stateNode.containerInfo.firstChild),ua=t,i=la=!0),i){if(e=o.mutableSourceEagerHydrationData,null!=e)for(o=0;o<e.length;o+=2)i=e[o],i._workInProgressVersionPrimary=e[o+1],ma.push(i);for(n=Zi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else ac(e,t,r,n),ga();t=t.child}return t;case 5:return oa(t),null===e&&ha(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,c=o.children,fo(r,o)?c=null:null!==i&&fo(r,i)&&(t.flags|=16),fc(e,t),ac(e,t,c,n),t.child;case 6:return null===e&&ha(t),null;case 13:return wc(e,t,n);case 4:return na(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ki(t,null,r,n):ac(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:xi(r,o),cc(e,t,r,o,n);case 7:return ac(e,t,t.pendingProps,n),t.child;case 8:return ac(e,t,t.pendingProps.children,n),t.child;case 12:return ac(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,c=t.memoizedProps,i=o.value;var u=t.type._context;if(Po(wi,u._currentValue),u._currentValue=i,null!==c)if(u=c.value,i=Nr(u,i)?0:0|(\"function\"===typeof r._calculateChangedBits?r._calculateChangedBits(u,i):1073741823),0===i){if(c.children===o.children&&!Ro.current){t=Cc(e,t,n);break e}}else for(u=t.child,null!==u&&(u.return=t);null!==u;){var s=u.dependencies;if(null!==s){c=u.child;for(var l=s.firstContext;null!==l;){if(l.context===r&&0!==(l.observedBits&i)){1===u.tag&&(l=Ii(-1,n&-n),l.tag=2,Pi(u,l)),u.lanes|=n,l=u.alternate,null!==l&&(l.lanes|=n),_i(u.return,n),s.lanes|=n;break}l=l.next}}else c=10===u.tag&&u.type===t.type?null:u.child;if(null!==c)c.return=u;else for(c=u;null!==c;){if(c===t){c=null;break}if(u=c.sibling,null!==u){u.return=c.return,c=u;break}c=c.return}u=c}ac(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,i=t.pendingProps,r=i.children,Ci(t,n),o=Mi(o,i.unstable_observedBits),r=r(o),t.flags|=1,ac(e,t,r,n),t.child;case 14:return o=t.type,i=xi(o,t.pendingProps),i=xi(o.type,i),uc(e,t,o,i,r,n);case 15:return sc(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:xi(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,zo(r)?(e=!0,Wo(t)):e=!1,Ci(t,n),Gi(t,r,o),Wi(t,r,o,n),pc(null,t,r,!0,e,n);case 19:return _c(e,t,n);case 23:return lc(e,t,n);case 24:return lc(e,t,n)}throw Error(a(156,t.tag))},As.prototype.render=function(e){js(e,this._internalRoot,null,null)},As.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;js(null,e,null,(function(){t[Eo]=null}))},ct=function(e){if(13===e.tag){var t=Lu();Ru(e,4,t),Cs(e,4)}},ut=function(e){if(13===e.tag){var t=Lu();Ru(e,67108864,t),Cs(e,67108864)}},st=function(e){if(13===e.tag){var t=Lu(),n=Du(e);Ru(e,n,t),Cs(e,n)}},lt=function(e,t){return t()},Ae=function(e,t,n){switch(t){case\"input\":if(ae(e,n),t=n.name,\"radio\"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(\"input[name=\"+JSON.stringify(\"\"+t)+'][type=\"radio\"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Co(r);if(!o)throw Error(a(90));te(r),ae(r,o)}}}break;case\"textarea\":pe(e,n);break;case\"select\":t=n.value,null!=t&&fe(e,!!n.multiple,t,!1)}},De=Wu,Re=function(e,t,n,r,o){var i=tu;tu|=4;try{return vi(98,e.bind(null,t,n,r,o))}finally{tu=i,0===tu&&(gu(),mi())}},Fe=function(){0===(49&tu)&&(Vu(),is())},Be=function(e,t){var n=tu;tu|=2;try{return e(t)}finally{tu=n,0===tu&&(gu(),mi())}};var Ls={Events:[ko,_o,Co,Pe,Le,is,{current:!1}]},Ds={findFiberByHostInstance:jo,bundleType:0,version:\"17.0.2\",rendererPackageName:\"react-dom\"},Rs={bundleType:Ds.bundleType,version:Ds.version,rendererPackageName:Ds.rendererPackageName,rendererConfig:Ds.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:S.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=it(e),null===e?null:e.stateNode},findFiberByHostInstance:Ds.findFiberByHostInstance||Ms,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(\"undefined\"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Fs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Fs.isDisabled&&Fs.supportsFiber)try{Yo=Fs.inject(Rs),Xo=Fs}catch(Bs){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ls,t.createPortal=Ps,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if(\"function\"===typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=it(t),e=null===e?null:e.stateNode,e},t.flushSync=function(e,t){var n=tu;if(0!==(48&n))return e(t);tu|=1;try{if(e)return vi(99,e.bind(null,t))}finally{tu=n,mi()}},t.hydrate=function(e,t,n){if(!Ns(t))throw Error(a(200));return Is(null,e,t,!0,n)},t.render=function(e,t,n){if(!Ns(t))throw Error(a(200));return Is(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Ns(e))throw Error(a(40));return!!e._reactRootContainer&&(Hu((function(){Is(null,null,e,!1,(function(){e._reactRootContainer=null,e[Eo]=null}))})),!0)},t.unstable_batchedUpdates=Wu,t.unstable_createPortal=function(e,t){return Ps(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ns(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return Is(e,t,n,!1,r)},t.version=\"17.0.2\"},yoRg:function(e,t,n){var r=n(\"UTVS\"),o=n(\"/GqU\"),i=n(\"TWQb\").indexOf,a=n(\"0BK2\");e.exports=function(e,t){var n,c=o(e),u=0,s=[];for(n in c)!r(a,n)&&r(c,n)&&s.push(n);while(t.length>u)r(c,n=t[u++])&&(~i(s,n)||s.push(n));return s}},yq1k:function(e,t,n){\"use strict\";var r=n(\"I+eb\"),o=n(\"TWQb\").includes,i=n(\"RNIs\"),a=n(\"rkAj\"),c=a(\"indexOf\",{ACCESSORS:!0,1:0});r({target:\"Array\",proto:!0,forced:!c},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(\"includes\")},z6FA:function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return w}));var r=function(e){const t=+this._x.call(null,e),n=+this._y.call(null,e);return o(this.cover(t,n),t,n,e)};function o(e,t,n,r){if(isNaN(t)||isNaN(n))return e;var o,i,a,c,u,s,l,f,d,h=e._root,p={data:r},v=e._x0,g=e._y0,m=e._x1,y=e._y1;if(!h)return e._root=p,e;while(h.length)if((s=t>=(i=(v+m)/2))?v=i:m=i,(l=n>=(a=(g+y)/2))?g=a:y=a,o=h,!(h=h[f=l<<1|s]))return o[f]=p,e;if(c=+e._x.call(null,h.data),u=+e._y.call(null,h.data),t===c&&n===u)return p.next=h,o?o[f]=p:e._root=p,e;do{o=o?o[f]=new Array(4):e._root=new Array(4),(s=t>=(i=(v+m)/2))?v=i:m=i,(l=n>=(a=(g+y)/2))?g=a:y=a}while((f=l<<1|s)===(d=(u>=a)<<1|c>=i));return o[d]=h,o[f]=p,e}function i(e){var t,n,r,i,a=e.length,c=new Array(a),u=new Array(a),s=1/0,l=1/0,f=-1/0,d=-1/0;for(n=0;n<a;++n)isNaN(r=+this._x.call(null,t=e[n]))||isNaN(i=+this._y.call(null,t))||(c[n]=r,u[n]=i,r<s&&(s=r),r>f&&(f=r),i<l&&(l=i),i>d&&(d=i));if(s>f||l>d)return this;for(this.cover(s,l).cover(f,d),n=0;n<a;++n)o(this,c[n],u[n],e[n]);return this}var a=function(e,t){if(isNaN(e=+e)||isNaN(t=+t))return this;var n=this._x0,r=this._y0,o=this._x1,i=this._y1;if(isNaN(n))o=(n=Math.floor(e))+1,i=(r=Math.floor(t))+1;else{var a,c,u=o-n||1,s=this._root;while(n>e||e>=o||r>t||t>=i)switch(c=(t<r)<<1|e<n,a=new Array(4),a[c]=s,s=a,u*=2,c){case 0:o=n+u,i=r+u;break;case 1:n=o-u,i=r+u;break;case 2:o=n+u,r=i-u;break;case 3:n=o-u,r=i-u;break}this._root&&this._root.length&&(this._root=s)}return this._x0=n,this._y0=r,this._x1=o,this._y1=i,this},c=function(){var e=[];return this.visit((function(t){if(!t.length)do{e.push(t.data)}while(t=t.next)})),e},u=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},s=function(e,t,n,r,o){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=o},l=function(e,t,n){var r,o,i,a,c,u,l,f=this._x0,d=this._y0,h=this._x1,p=this._y1,v=[],g=this._root;g&&v.push(new s(g,f,d,h,p)),null==n?n=1/0:(f=e-n,d=t-n,h=e+n,p=t+n,n*=n);while(u=v.pop())if(!(!(g=u.node)||(o=u.x0)>h||(i=u.y0)>p||(a=u.x1)<f||(c=u.y1)<d))if(g.length){var m=(o+a)/2,y=(i+c)/2;v.push(new s(g[3],m,y,a,c),new s(g[2],o,y,m,c),new s(g[1],m,i,a,y),new s(g[0],o,i,m,y)),(l=(t>=y)<<1|e>=m)&&(u=v[v.length-1],v[v.length-1]=v[v.length-1-l],v[v.length-1-l]=u)}else{var b=e-+this._x.call(null,g.data),x=t-+this._y.call(null,g.data),w=b*b+x*x;if(w<n){var O=Math.sqrt(n=w);f=e-O,d=t-O,h=e+O,p=t+O,r=g.data}}return r},f=function(e){if(isNaN(i=+this._x.call(null,e))||isNaN(a=+this._y.call(null,e)))return this;var t,n,r,o,i,a,c,u,s,l,f,d,h=this._root,p=this._x0,v=this._y0,g=this._x1,m=this._y1;if(!h)return this;if(h.length)while(1){if((s=i>=(c=(p+g)/2))?p=c:g=c,(l=a>=(u=(v+m)/2))?v=u:m=u,t=h,!(h=h[f=l<<1|s]))return this;if(!h.length)break;(t[f+1&3]||t[f+2&3]||t[f+3&3])&&(n=t,d=f)}while(h.data!==e)if(r=h,!(h=h.next))return this;return(o=h.next)&&delete h.next,r?(o?r.next=o:delete r.next,this):t?(o?t[f]=o:delete t[f],(h=t[0]||t[1]||t[2]||t[3])&&h===(t[3]||t[2]||t[1]||t[0])&&!h.length&&(n?n[d]=h:this._root=h),this):(this._root=o,this)};function d(e){for(var t=0,n=e.length;t<n;++t)this.remove(e[t]);return this}var h=function(){return this._root},p=function(){var e=0;return this.visit((function(t){if(!t.length)do{++e}while(t=t.next)})),e},v=function(e){var t,n,r,o,i,a,c=[],u=this._root;u&&c.push(new s(u,this._x0,this._y0,this._x1,this._y1));while(t=c.pop())if(!e(u=t.node,r=t.x0,o=t.y0,i=t.x1,a=t.y1)&&u.length){var l=(r+i)/2,f=(o+a)/2;(n=u[3])&&c.push(new s(n,l,f,i,a)),(n=u[2])&&c.push(new s(n,r,f,l,a)),(n=u[1])&&c.push(new s(n,l,o,i,f)),(n=u[0])&&c.push(new s(n,r,o,l,f))}return this},g=function(e){var t,n=[],r=[];this._root&&n.push(new s(this._root,this._x0,this._y0,this._x1,this._y1));while(t=n.pop()){var o=t.node;if(o.length){var i,a=t.x0,c=t.y0,u=t.x1,l=t.y1,f=(a+u)/2,d=(c+l)/2;(i=o[0])&&n.push(new s(i,a,c,f,d)),(i=o[1])&&n.push(new s(i,f,c,u,d)),(i=o[2])&&n.push(new s(i,a,d,f,l)),(i=o[3])&&n.push(new s(i,f,d,u,l))}r.push(t)}while(t=r.pop())e(t.node,t.x0,t.y0,t.x1,t.y1);return this};function m(e){return e[0]}var y=function(e){return arguments.length?(this._x=e,this):this._x};function b(e){return e[1]}var x=function(e){return arguments.length?(this._y=e,this):this._y};function w(e,t,n){var r=new O(null==t?m:t,null==n?b:n,NaN,NaN,NaN,NaN);return null==e?r:r.addAll(e)}function O(e,t,n,r,o,i){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=o,this._y1=i,this._root=void 0}function E(e){var t={data:e.data},n=t;while(e=e.next)n=n.next={data:e.data};return t}var S=w.prototype=O.prototype;S.copy=function(){var e,t,n=new O(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=E(r),n;e=[{source:r,target:n._root=new Array(4)}];while(r=e.pop())for(var o=0;o<4;++o)(t=r.source[o])&&(t.length?e.push({source:t,target:r.target[o]=new Array(4)}):r.target[o]=E(t));return n},S.add=r,S.addAll=i,S.cover=a,S.data=c,S.extent=u,S.find=l,S.remove=f,S.removeAll=d,S.root=h,S.size=p,S.visit=v,S.visitAfter=g,S.x=y,S.y=x},z8NH:function(e,t,n){var r=n(\"dOgj\");r(\"Float32\",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},zBJ4:function(e,t,n){var r=n(\"2oRo\"),o=n(\"hh1v\"),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},zKZe:function(e,t,n){var r=n(\"I+eb\"),o=n(\"YNrV\");r({target:\"Object\",stat:!0,forced:Object.assign!==o},{assign:o})},zLJh:function(e,t,n){\"use strict\";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,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=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!(\"get\"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:!0,value:t})}:function(e,t){e[\"default\"]=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)\"default\"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:!0}),t.ForceLayout=void 0;var u=a(n(\"Ckr6\")),s=c(n(\"qvIC\")),l=n(\"8nGZ\"),f=n(\"W8mN\"),d=n(\"OIgp\"),h=function(e){function t(t){var n=e.call(this)||this;return n.center=[0,0],n.nodeStrength=null,n.edgeStrength=null,n.preventOverlap=!1,n.clusterNodeStrength=null,n.clusterEdgeStrength=null,n.clusterEdgeDistance=null,n.clusterNodeSize=null,n.clusterFociStrength=null,n.linkDistance=50,n.alphaDecay=.028,n.alphaMin=.001,n.alpha=.3,n.collideStrength=1,n.workerEnabled=!1,n.tick=function(){},n.onLayoutEnd=function(){},n.ticking=void 0,t&&n.updateCfg(t),n}return r(t,e),t.prototype.getDefaultCfg=function(){return{center:[0,0],nodeStrength:null,edgeStrength:null,preventOverlap:!1,nodeSize:void 0,nodeSpacing:void 0,linkDistance:50,forceSimulation:null,alphaDecay:.028,alphaMin:.001,alpha:.3,collideStrength:1,clustering:!1,clusterNodeStrength:-1,clusterEdgeStrength:.1,clusterEdgeDistance:100,clusterFociStrength:.8,clusterNodeSize:10,tick:function(){},onLayoutEnd:function(){},workerEnabled:!1}},t.prototype.init=function(e){var t=this;t.nodes=e.nodes||[];var n=e.edges||[];t.edges=n.map((function(e){var t={},n=[\"targetNode\",\"sourceNode\",\"startPoint\",\"endPoint\"];return Object.keys(e).forEach((function(r){n.indexOf(r)>-1||(t[r]=e[r])})),t})),t.ticking=!1},t.prototype.execute=function(e){var t=this,n=t.nodes,r=t.edges;if(!t.ticking){var o=t.forceSimulation,i=t.alphaMin,a=t.alphaDecay,c=t.alpha;if(o){if(e)if(t.clustering&&t.clusterForce&&(t.clusterForce.nodes(n),t.clusterForce.links(r)),o.nodes(n),r&&t.edgeForce)t.edgeForce.links(r);else if(r&&!t.edgeForce){h=u.forceLink().id((function(e){return e.id})).links(r);t.edgeStrength&&h.strength(t.edgeStrength),t.linkDistance&&h.distance(t.linkDistance),t.edgeForce=h,o.force(\"link\",h)}t.preventOverlap&&t.overlapProcess(o),o.alpha(c).restart(),this.ticking=!0}else try{var l=u.forceManyBody();if(t.nodeStrength&&l.strength(t.nodeStrength),o=u.forceSimulation().nodes(n),t.clustering){var f=(0,s.default)();f.centerX(t.center[0]).centerY(t.center[1]).template(\"force\").strength(t.clusterFociStrength),r&&f.links(r),n&&f.nodes(n),f.forceLinkDistance(t.clusterEdgeDistance).forceLinkStrength(t.clusterEdgeStrength).forceCharge(t.clusterNodeStrength).forceNodeSize(t.clusterNodeSize),t.clusterForce=f,o.force(\"group\",f)}if(o.force(\"center\",u.forceCenter(t.center[0],t.center[1])).force(\"charge\",l).alpha(c).alphaDecay(a).alphaMin(i),t.preventOverlap&&t.overlapProcess(o),r){var h=u.forceLink().id((function(e){return e.id})).links(r);t.edgeStrength&&h.strength(t.edgeStrength),t.linkDistance&&h.distance(t.linkDistance),t.edgeForce=h,o.force(\"link\",h)}if(t.workerEnabled&&!v()&&(t.workerEnabled=!1,console.warn(\"workerEnabled option is only supported when running in web worker.\")),t.workerEnabled){o.stop();for(var g=p(o),m=1;m<=g;m++)o.tick(),postMessage({nodes:n,currentTick:m,totalTicks:g,type:d.LAYOUT_MESSAGE.TICK},void 0);t.ticking=!1}else o.on(\"tick\",(function(){t.tick()})).on(\"end\",(function(){t.ticking=!1,t.onLayoutEnd&&t.onLayoutEnd()})),t.ticking=!0;t.forceSimulation=o,t.ticking=!0}catch(y){t.ticking=!1,console.warn(y)}}},t.prototype.overlapProcess=function(e){var t,n,r=this,o=r.nodeSize,i=r.nodeSpacing,a=r.collideStrength;if(n=(0,l.isNumber)(i)?function(){return i}:(0,l.isFunction)(i)?i:function(){return 0},o)if((0,l.isFunction)(o))t=function(e){var t=o(e);return t+n(e)};else if((0,l.isArray)(o)){var c=o[0]>o[1]?o[0]:o[1],s=c/2;t=function(e){return s+n(e)}}else if((0,l.isNumber)(o)){var f=o/2;t=function(e){return f+n(e)}}else t=function(){return 10};else t=function(e){if(e.size){if((0,l.isArray)(e.size)){var t=e.size[0]>e.size[1]?e.size[0]:e.size[1];return t/2+n(e)}if((0,l.isObject)(e.size)){t=e.size.width>e.size.height?e.size.width:e.size.height;return t/2+n(e)}return e.size/2+n(e)}return 10+n(e)};e.force(\"collisionForce\",u.forceCollide(t).strength(a))},t.prototype.updateCfg=function(e){var t=this;t.ticking&&(t.forceSimulation.stop(),t.ticking=!1),t.forceSimulation=null,Object.assign(t,e)},t.prototype.destroy=function(){var e=this;e.ticking&&(e.forceSimulation.stop(),e.ticking=!1),e.nodes=null,e.edges=null,e.destroyed=!0},t}(f.Base);function p(e){var t=e.alphaMin(),n=e.alphaTarget(),r=e.alpha(),o=Math.log((t-n)/(r-n))/Math.log(1-e.alphaDecay()),i=Math.ceil(o);return i}function v(){return\"undefined\"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope}t.ForceLayout=h},zLVn:function(e,t,n){\"use strict\";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,\"a\",(function(){return r}))},zOyl:function(e,t,n){\"use strict\";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!(\"get\"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)\"default\"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,\"__esModule\",{value:!0}),t.ERLayout=t.ForceAtlas2Layout=t.ComboCombinedLayout=t.ComboForceLayout=t.GForceGPULayout=t.FruchtermanGPULayout=t.FruchtermanLayout=t.MDSLayout=t.ConcentricLayout=t.RadialLayout=t.DagreCompoundLayout=t.DagreLayout=t.CircularLayout=t.ForceLayout=t.Force2Layout=t.GForceLayout=t.RandomLayout=t.GridLayout=t.Layouts=t.Layout=void 0;var i=n(\"miQf\");Object.defineProperty(t,\"GridLayout\",{enumerable:!0,get:function(){return i.GridLayout}});var a=n(\"Tahl\");Object.defineProperty(t,\"RandomLayout\",{enumerable:!0,get:function(){return a.RandomLayout}});var c=n(\"qsEr\");Object.defineProperty(t,\"GForceLayout\",{enumerable:!0,get:function(){return c.GForceLayout}});var u=n(\"i3If\");Object.defineProperty(t,\"Force2Layout\",{enumerable:!0,get:function(){return u.Force2Layout}});var s=n(\"TRqC\");Object.defineProperty(t,\"ForceLayout\",{enumerable:!0,get:function(){return s.ForceLayout}});var l=n(\"fGbL\");Object.defineProperty(t,\"CircularLayout\",{enumerable:!0,get:function(){return l.CircularLayout}});var f=n(\"E9Ls\");Object.defineProperty(t,\"DagreLayout\",{enumerable:!0,get:function(){return f.DagreLayout}});var d=n(\"PA46\");Object.defineProperty(t,\"DagreCompoundLayout\",{enumerable:!0,get:function(){return d.DagreCompoundLayout}});var h=n(\"Y0u0\");Object.defineProperty(t,\"RadialLayout\",{enumerable:!0,get:function(){return h.RadialLayout}});var p=n(\"RVo0\");Object.defineProperty(t,\"ConcentricLayout\",{enumerable:!0,get:function(){return p.ConcentricLayout}});var v=n(\"gsyx\");Object.defineProperty(t,\"MDSLayout\",{enumerable:!0,get:function(){return v.MDSLayout}});var g=n(\"+pfl\");Object.defineProperty(t,\"FruchtermanLayout\",{enumerable:!0,get:function(){return g.FruchtermanLayout}});var m=n(\"B33U\");Object.defineProperty(t,\"FruchtermanGPULayout\",{enumerable:!0,get:function(){return m.FruchtermanGPULayout}});var y=n(\"A3YJ\");Object.defineProperty(t,\"GForceGPULayout\",{enumerable:!0,get:function(){return y.GForceGPULayout}});var b=n(\"x+rs\");Object.defineProperty(t,\"ComboForceLayout\",{enumerable:!0,get:function(){return b.ComboForceLayout}});var x=n(\"fQop\");Object.defineProperty(t,\"ComboCombinedLayout\",{enumerable:!0,get:function(){return x.ComboCombinedLayout}});var w=n(\"BxdF\");Object.defineProperty(t,\"ForceAtlas2Layout\",{enumerable:!0,get:function(){return w.ForceAtlas2Layout}});var O=n(\"knzT\");Object.defineProperty(t,\"ERLayout\",{enumerable:!0,get:function(){return O.ERLayout}});var E=n(\"Tirl\");Object.defineProperty(t,\"Layout\",{enumerable:!0,get:function(){return E.Layout}}),Object.defineProperty(t,\"Layouts\",{enumerable:!0,get:function(){return E.Layouts}}),o(n(\"s+qY\"),t)},zfnd:function(e,t,n){var r=n(\"glrk\"),o=n(\"hh1v\"),i=n(\"8GlL\");e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e),a=n.resolve;return a(t),n.promise}},zk60:function(e,t,n){var r=n(\"2oRo\"),o=n(\"kRJp\");e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},zlVK:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(\"Unfr\"),o=n(\"q1tI\"),i=n(\"i8i4\"),a=n(\"aztm\");function c(e){return e&&\"object\"===typeof e&&\"default\"in e?e:{default:e}}var u=c(o);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(s){return void n(s)}c.done?t(u):Promise.resolve(u).then(r,o)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){f(i,r,o,a,c,\"next\",e)}function c(e){f(i,r,o,a,c,\"throw\",e)}a(void 0)}))}}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function v(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function g(e,t){if(null==e)return{};var n,r,o=v(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function m(e,t){return y(e)||b(e,t)||x(e,t)||O()}function y(e){if(Array.isArray(e))return e}function b(e,t){var n=null==e?null:\"undefined\"!==typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done);a=!0)if(i.push(r.value),t&&i.length===t)break}catch(u){c=!0,o=u}finally{try{a||null==n[\"return\"]||n[\"return\"]()}finally{if(c)throw o}}return i}}function x(e,t){if(e){if(\"string\"===typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===n&&e.constructor&&(n=e.constructor.name),\"Map\"===n||\"Set\"===n?Array.from(e):\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function O(){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 E(e,t){var n=\"undefined\"!==typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(!n){if(Array.isArray(e)||(n=x(e))||t&&e&&\"number\"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function S(e){return u[\"default\"].createElement(r.__RouterContext.Consumer,null,(function(t){var n=e.location||t.location,o=e.computedMatch,i=l(l({},t),{},{location:n,match:o}),a=e.render;return u[\"default\"].createElement(r.__RouterContext.Provider,{value:i},i.match?a(l(l({},e.layoutProps),i)):null)}))}var j=[\"children\"];function k(e){return u[\"default\"].createElement(r.__RouterContext.Consumer,null,(function(t){var n,i=e.children,a=g(e,j),c=e.location||t.location,u=null;return o.Children.forEach(i,(function(e){if(null===u&&o.isValidElement(e)){n=e;var i=e.props.path||e.props.from;u=i?r.matchPath(c.pathname,l(l({},e.props),{},{path:i})):t.match}})),u?o.cloneElement(n,{location:c,computedMatch:u,layoutProps:a}):null}))}var _=[\"component\"];function C(e,t){e.component;var n=g(e,_),i=e.component;function a(a){var c=o.useState((function(){return window.g_initialProps})),s=m(c,2),f=s[0],h=s[1];return o.useEffect((function(){var o=function(){var o=d(regeneratorRuntime.mark((function o(){var c,u,s,f,d;return regeneratorRuntime.wrap((function(o){while(1)switch(o.prev=o.next){case 0:if(u=i,!i.preload){o.next=6;break}return o.next=4,i.preload();case 4:u=o.sent,u=u.default||u;case 6:if(s=l(l({isServer:!1,match:null===a||void 0===a?void 0:a.match,history:null===a||void 0===a?void 0:a.history,route:e},t.getInitialPropsCtx||{}),n),!(null===(c=u)||void 0===c?void 0:c.getInitialProps)){o.next=15;break}return o.next=10,t.plugin.applyPlugins({key:\"ssr.modifyGetInitialPropsCtx\",type:r.ApplyPluginsType.modify,initialValue:s,async:!0});case 10:return f=o.sent,o.next=13,u.getInitialProps(f||s);case 13:d=o.sent,h(d);case 15:case\"end\":return o.stop()}}),o)})));return function(){return o.apply(this,arguments)}}();window.g_initialProps||o()}),[window.location.pathname,window.location.search]),u[\"default\"].createElement(i,p({},a,f))}return a.wrapInitialPropsLoaded=!0,a.displayName=\"ComponentWithInitialPropsFetch\",a}function M(e){var t=e.route,n=e.opts,r=e.props,i=N(l(l({},n),{},{routes:t.routes||[],rootRoutes:n.rootRoutes}),{location:r.location}),a=t.component,c=t.wrappers;if(a){var s=n.isServer?{}:window.g_initialProps,f=l(l(l(l({},r),n.extraProps),n.pageInitialProps||s),{},{route:t,routes:n.rootRoutes}),d=u[\"default\"].createElement(a,f,i);if(c){var h=c.length-1;while(h>=0)d=o.createElement(c[h],f,d),h-=1}return d}return i}function A(e){var t,n,o,i=e.route,a=e.index,c=e.opts,s={key:i.key||a,exact:i.exact,strict:i.strict,sensitive:i.sensitive,path:i.path};return i.redirect?u[\"default\"].createElement(r.Redirect,p({},s,{from:i.path,to:i.redirect})):(!c.ssrProps||c.isServer||(null===(t=i.component)||void 0===t?void 0:t.wrapInitialPropsLoaded)||!(null===(n=i.component)||void 0===n?void 0:n.getInitialProps)&&!(null===(o=i.component)||void 0===o?void 0:o.preload)||(i.component=C(i,c)),u[\"default\"].createElement(S,p({},s,{render:function(e){return M({route:i,opts:c,props:e})}})))}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.routes?u[\"default\"].createElement(k,t,e.routes.map((function(t,n){return A({route:t,index:n,opts:l(l({},e),{},{rootRoutes:e.rootRoutes||e.routes})})}))):null}var T=[\"history\"];function I(e){var t=e.history,n=g(e,T);return o.useEffect((function(){function o(t,o){var i=a.matchRoutes(e.routes,t.pathname);\"undefined\"!==typeof document&&void 0!==n.defaultTitle&&(document.title=i.length&&i[i.length-1].route.title||n.defaultTitle||\"\"),e.plugin.applyPlugins({key:\"onRouteChange\",type:r.ApplyPluginsType.event,args:{routes:e.routes,matchedRoutes:i,location:t,action:o}})}return window.g_useSSR&&(window.g_initialProps=null),o(t.location,\"POP\"),t.listen(o)}),[t]),u[\"default\"].createElement(r.Router,{history:t},N(n))}function P(e){return e.plugin.applyPlugins({type:r.ApplyPluginsType.modify,key:\"rootContainer\",initialValue:u[\"default\"].createElement(I,{history:e.history,routes:e.routes,plugin:e.plugin,ssrProps:e.ssrProps,defaultTitle:e.defaultTitle}),args:{history:e.history,routes:e.routes,plugin:e.plugin}})}function L(e){return D.apply(this,arguments)}function D(){return D=d(regeneratorRuntime.mark((function e(t){var n,r,o,i,c,u,s,l,f=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=f.length>1&&void 0!==f[1]?f[1]:window.location.pathname,r=a.matchRoutes(t,n),o=E(r),e.prev=3,o.s();case 5:if((i=o.n()).done){e.next=19;break}if(u=i.value,s=u.route,\"string\"===typeof s.component||!(null===(c=s.component)||void 0===c?void 0:c.preload)){e.next=13;break}return e.next=11,s.component.preload();case 11:l=e.sent,s.component=l.default||l;case 13:if(!s.routes){e.next=17;break}return e.next=16,L(s.routes,n);case 16:s.routes=e.sent;case 17:e.next=5;break;case 19:e.next=24;break;case 21:e.prev=21,e.t0=e[\"catch\"](3),o.e(e.t0);case 24:return e.prev=24,o.f(),e.finish(24);case 27:return e.abrupt(\"return\",t);case 28:case\"end\":return e.stop()}}),e,null,[[3,21,24,27]])}))),D.apply(this,arguments)}function R(e){var t=P(e);if(!e.rootElement)return t;var n=\"string\"===typeof e.rootElement?document.getElementById(e.rootElement):e.rootElement,r=e.callback||function(){};window.g_useSSR?e.dynamicImport?L(e.routes).then((function(){i.hydrate(t,n,r)})):i.hydrate(t,n,r):i.render(t,n,r)}t.renderClient=R,t.renderRoutes=N},\"zu+z\":function(e,t,n){var r=n(\"I+eb\"),o=n(\"qY7S\");r({target:\"Map\",stat:!0},{from:o})}});"
  }
]